summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMegaIDK <125525714+MegaIDK@users.noreply.github.com>2023-09-02 13:29:30 -0300
committerGitHub <noreply@github.com>2023-09-02 09:29:30 -0700
commit61cf267a89bebd588ef68d37d00ca3ca93838293 (patch)
treef4f6be0cb9724c084f94a3daf424acaf4730ba89 /include
parentc6f75799390c185e5a06cedd7c7296e735b22c81 (diff)
ovl_Kamakura_Npc0 OK (#82)
* ovl_Kamakura_Npc0 OK * fixed warnings * fun names * suggestions * removed useless variable * change back from bool to s32 * forgor protopye
Diffstat (limited to 'include')
-rw-r--r--include/m_common_data.h59
-rw-r--r--include/unknown_structs.h12
2 files changed, 45 insertions, 26 deletions
diff --git a/include/m_common_data.h b/include/m_common_data.h
index c9c6bb7..20ffd95 100644
--- a/include/m_common_data.h
+++ b/include/m_common_data.h
@@ -43,27 +43,42 @@ typedef UNK_RET (*CommonData_unk_1004C_unk_EC)(struct Game_Play_unk_0110*, s16,
typedef UNK_RET (*CommonData_unk_1004C_unk_F0)(struct Game_Play_unk_0110*, struct Actor*);
typedef s32 (*CommonData_unk_1004C_unk_F4)(struct Game_Play_unk_0110*, struct Actor*);
+typedef UNK_RET (*CommonData_unk_1004C_unk_118)(struct Actor*);
+
typedef struct CommonData_unk_1004C {
- /* 0x00 */ UNK_TYPE1 unk_00[0x4];
- /* 0x04 */ CommonData_unk_1004C_unk_04 unk_04;
- /* 0x08 */ CommonData_unk_1004C_unk_08 unk_08;
- /* 0x0C */ CommonData_unk_1004C_unk_0C unk_0C;
- /* 0x10 */ CommonData_unk_1004C_unk_10 unk_10;
- /* 0x14 */ CommonData_unk_1004C_unk_14 unk_14;
- /* 0x18 */ UNK_TYPE1 unk_18[0xA4];
- /* 0xBC */ CommonData_unk_1004C_unk_BC unk_BC;
- /* 0xC0 */ CommonData_unk_1004C_unk_C0 unk_C0;
- /* 0xC4 */ CommonData_unk_1004C_unk_C4 unk_C4;
- /* 0xC8 */ CommonData_unk_1004C_unk_C8 unk_C8;
- /* 0xCC */ CommonData_unk_1004C_unk_CC unk_CC;
- /* 0xD0 */ CommonData_unk_1004C_unk_D0 unk_D0;
- /* 0xD4 */ UNK_TYPE1 unk_D4[0x10];
- /* 0xE4 */ CommonData_unk_1004C_unk_E4 unk_E4;
- /* 0xE8 */ UNK_TYPE1 unk_E8[0x4];
- /* 0xEC */ CommonData_unk_1004C_unk_EC unk_EC;
- /* 0xF0 */ CommonData_unk_1004C_unk_F0 unk_F0;
- /* 0xF4 */ CommonData_unk_1004C_unk_F4 unk_F4;
-} CommonData_unk_1004C; // size >= 0xF8
+ /* 0x000 */ UNK_TYPE1 unk_00[0x4];
+ /* 0x004 */ CommonData_unk_1004C_unk_04 unk_04;
+ /* 0x008 */ CommonData_unk_1004C_unk_08 unk_08;
+ /* 0x00C */ CommonData_unk_1004C_unk_0C unk_0C;
+ /* 0x010 */ CommonData_unk_1004C_unk_10 unk_10;
+ /* 0x014 */ CommonData_unk_1004C_unk_14 unk_14;
+ /* 0x018 */ UNK_TYPE1 unk_18[0xA4];
+ /* 0x0BC */ CommonData_unk_1004C_unk_BC unk_BC;
+ /* 0x0C0 */ CommonData_unk_1004C_unk_C0 unk_C0;
+ /* 0x0C4 */ CommonData_unk_1004C_unk_C4 unk_C4;
+ /* 0x0C8 */ CommonData_unk_1004C_unk_C8 unk_C8;
+ /* 0x0CC */ CommonData_unk_1004C_unk_CC unk_CC;
+ /* 0x0D0 */ CommonData_unk_1004C_unk_D0 unk_D0;
+ /* 0x0D4 */ UNK_TYPE1 unk_D4[0x10];
+ /* 0x0E4 */ CommonData_unk_1004C_unk_E4 unk_E4;
+ /* 0x0E8 */ UNK_TYPE1 unk_E8[0x4];
+ /* 0x0EC */ CommonData_unk_1004C_unk_EC unk_EC;
+ /* 0x0F0 */ CommonData_unk_1004C_unk_F0 unk_F0;
+ /* 0x0F4 */ CommonData_unk_1004C_unk_F4 unk_F4;
+ /* 0x0F8 */ UNK_TYPE1 unk_F8[0x20];
+ /* 0x118 */ CommonData_unk_1004C_unk_118 unk_118;
+} CommonData_unk_1004C; // size >= 0x11C
+
+typedef UNK_RET (*CommonData_unk_10078_unk_00)(UNK_TYPE);
+typedef UNK_RET (*CommonData_unk_10078_unk_04)(UNK_TYPE);
+typedef UNK_RET (*CommonData_unk_10078_unk_08)(UNK_TYPE);
+
+
+typedef struct CommonData_unk_10078 {
+ /* 0x00 */ CommonData_unk_10078_unk_00 unk_00;
+ /* 0x04 */ CommonData_unk_10078_unk_04 unk_04;
+ /* 0x08 */ CommonData_unk_10078_unk_08 unk_08;
+} CommonData_unk_10078; // size >= 0xC
typedef UNK_RET (*CommonData_unk_10098_unk_4)(struct ActorOverlay*, size_t);
typedef UNK_RET (*CommonData_unk_10098_unk_8)(void);
@@ -161,7 +176,9 @@ typedef struct CommonData {
/* 0x10004 */ s32 unk_10004; // named "last_scene_no" in AC GCN decomp
/* 0x10008 */ UNK_TYPE1 unk_10008[0x44];
/* 0x1004C */ CommonData_unk_1004C *unk_1004C;
- /* 0x10050 */ UNK_TYPE1 unk_10050[0x48];
+ /* 0x10050 */ UNK_TYPE1 unk_10050[0x28];
+ /* 0x10078 */ CommonData_unk_10078 *unk_10078;
+ /* 0x1007C */ UNK_TYPE1 unk_1007C[0x1C];
/* 0x10098 */ CommonData_unk_10098 *unk_10098;
/* 0x1009C */ UNK_TYPE1 unk_1009C[0x48];
/* 0x100E4 */ CommonData_100E4_Func* unk_100E4;
diff --git a/include/unknown_structs.h b/include/unknown_structs.h
index 37c8a3d..3249db9 100644
--- a/include/unknown_structs.h
+++ b/include/unknown_structs.h
@@ -34,10 +34,12 @@ typedef struct Game_Play_unk_0110 {
} Game_Play_unk_0110; // size = 0x54
typedef struct struct_809AEFA4 {
- /* 0x0 */ UNK_PTR unk_0;
- /* 0x0 */ UNK_PTR unk_4;
- /* 0x0 */ UNK_TYPE unk_8;
- /* 0x0 */ UNK_TYPE unk_C;
-} struct_809AEFA4; // size >= 0x10
+ /* 0x00 */ UNK_PTR unk_0;
+ /* 0x04 */ UNK_PTR unk_4;
+ /* 0x08 */ UNK_TYPE unk_8;
+ /* 0x0C */ UNK_PTR unk_C;
+ /* 0x10 */ UNK_PTR unk_10;
+ /* 0x14 */ UNK_PTR unk_14;
+} struct_809AEFA4; // size >= 0x18
#endif