From 4fd8048c3cc36065e15faee67e50365dead51784 Mon Sep 17 00:00:00 2001 From: octorock <79596758+octorock@users.noreply.github.com> Date: Sun, 10 Apr 2022 23:42:14 +0200 Subject: Decompile some functions --- include/common.h | 5 ++++- include/player.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 4a899e72..57d98ede 100644 --- a/include/common.h +++ b/include/common.h @@ -20,7 +20,10 @@ extern Input gInput; /**< Input instance. */ typedef struct { u8 evt_type; u8 entity_idx; - u8 _2[6]; + u8 _2; + u8 _3; + u16 _4; + u16 _6; u16 x; u16 y; u16 _c; diff --git a/include/player.h b/include/player.h index 0f5bc077..da70d4d1 100644 --- a/include/player.h +++ b/include/player.h @@ -376,7 +376,7 @@ void sub_08077728(u32); void PutAwayItems(void); void sub_08079E58(s32 speed, u32 direction); void RespawnPlayer(void); -u32 GetSurfaceCalcType(Entity*, u32, u32); +u32 GetSurfaceCalcType(Entity*, s32, s32); void UpdatePlayerMovement(void); void EnablePlayerDraw(Entity*); void sub_080797EC(void); -- cgit v1.2.3