From cf188406f006750ec7206e3dd2a6818c767729eb Mon Sep 17 00:00:00 2001 From: tgsm Date: Fri, 30 Apr 2021 04:30:27 -0400 Subject: Fix a bunch of function signatures A bunch of functions were thought to be returning/taking in an unk_204639c but they actually return/take an unksavstruct80. This fixes that, and also changes a couple of struct members, so this might be useful for scrcmd. --- include/script.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/script.h') diff --git a/include/script.h b/include/script.h index 9a7270c2..bb237523 100644 --- a/include/script.h +++ b/include/script.h @@ -28,7 +28,8 @@ struct UnkSavStruct80 u8 padding[0x8]; u32 unk08; struct SaveBlock2 *saveBlock2; //0xC - u8 padding2[0xC]; + struct UnkStruct_0204639C *unk10; + u8 padding2[0x8]; u32 *mapId; //0x1C u8 padding3[0x18]; u32 unk38; -- cgit v1.2.3 From fead56db333c9eb3024ad4483c26a11a66ffe9f1 Mon Sep 17 00:00:00 2001 From: tgsm Date: Wed, 5 May 2021 14:10:45 -0400 Subject: Decompile unk_0208890C --- include/script.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/script.h') diff --git a/include/script.h b/include/script.h index bb237523..cb41889d 100644 --- a/include/script.h +++ b/include/script.h @@ -37,7 +37,9 @@ struct UnkSavStruct80 u32 unk60; u8 padding5[0x14]; u32 unk78; - u8 padding6[0x2C]; + u8 padding6[0x1C]; + void *unk98; + u8 padding7[0xC]; struct UnkStruct_02046444 * unkA8; }; -- cgit v1.2.3