summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-08-08 19:40:13 +0200
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-08-08 19:40:13 +0200
commit7ab3252bf751152c746f1f395105d919ffd35600 (patch)
treee41c29adb3c12aefaa30d53222afcffdb402b5ed /include
parent38f3650189f8989aed91618745aa74029fa60247 (diff)
decompile unk_02008AA4.s
Diffstat (limited to 'include')
-rw-r--r--include/unk_02008AA4.h55
-rw-r--r--include/unk_0200BB14.h29
2 files changed, 74 insertions, 10 deletions
diff --git a/include/unk_02008AA4.h b/include/unk_02008AA4.h
new file mode 100644
index 00000000..448a7101
--- /dev/null
+++ b/include/unk_02008AA4.h
@@ -0,0 +1,55 @@
+#ifndef POKEDIAMOND_UNK_02008AA4_H
+#define POKEDIAMOND_UNK_02008AA4_H
+
+#include "global.h"
+#include "unk_0200BB14.h"
+
+struct UnkStruct_02008AA4_1
+{
+ struct UnkStruct_0200BB14_sub *unk00;
+ s32 unk04;
+};
+
+struct UnkStruct_02008AA4_2
+{
+ s32 unk00;
+ s32 unk04;
+ s32 unk08;
+ s32 unk0C;
+ s32 unk10;
+ s32 unk14;
+ u32 unk18;
+ u32 unk1C;
+};
+
+void FUN_02008AA4(struct UnkStruct_0200BB14_sub *param0,
+ s32 param1,
+ s32 param2,
+ s32 param3,
+ s32 param4,
+ s32 param5,
+ s32 param6,
+ u32 param7,
+ u32 param8,
+ u32 param9,
+ u32 param10,
+ u32 param11,
+ u32 param12,
+ u32 param13,
+ u32 param14);
+struct UnkStruct_02008AA4_1 *FUN_02008BE0(struct UnkStruct_02008AA4_2 *param0,
+ u32 param1,
+ u32 param2,
+ u32 param3,
+ u32 param4,
+ u32 param5,
+ u32 param6,
+ u32 param7);
+void FUN_02008C80(struct UnkStruct_02008AA4_1 *param0);
+u32 FUN_02008C9C(u32 param0, void *param1, u32 param2);
+void FUN_02008D04(u32 param0, u32 param1, u32 param2);
+void FUN_02008D24(u32 param0, u32 param1, u32 param2);
+void FUN_02008D44(u32 param0, u32 param1);
+void FUN_02008DDC(u32 param0);
+
+#endif // POKEDIAMOND_UNK_02008AA4_H
diff --git a/include/unk_0200BB14.h b/include/unk_0200BB14.h
index a252fd93..04c6dcb0 100644
--- a/include/unk_0200BB14.h
+++ b/include/unk_0200BB14.h
@@ -15,7 +15,7 @@ struct UnkStruct_0200BB14_1
struct UnkStruct_0200BB14_2
{
u32 unk00;
- u32 unk04;
+ struct UnkStruct_02008AA4_1 *unk04;
u32 *unk08;
u32 unk0c[6];
u32 *unk24[6];
@@ -41,7 +41,16 @@ struct UnkStruct_0200BB14_3
struct UnkStruct_0200BB14_sub
{
- u8 unk00[0x24];
+ u32 unk00;
+ u32 unk04;
+ u32 unk08;
+ u32 unk0C;
+ u32 unk10;
+ u32 unk14;
+ u32 unk18;
+ u32 unk1C;
+ u8 unk20;
+ u8 unk21[0x3];
};
struct UnkStruct_0200BB14_4
@@ -134,13 +143,13 @@ u8 FUN_0200C0DC(u32 param0,
u32 param7,
u32 param8,
s32 param9);
-u32 FUN_0200C124(u32 *param0,
+BOOL FUN_0200C124(u32 *param0,
struct UnkStruct_0200BB14_2 *param1,
u32 param2,
u32 param3,
u32 param4,
s32 param5);
-u32 FUN_0200C13C(u32 *param0,
+BOOL FUN_0200C13C(u32 *param0,
struct UnkStruct_0200BB14_2 *param1,
u32 param2,
u32 param3,
@@ -150,10 +159,10 @@ struct UnkStruct_0200BB14_5 *FUN_0200C154(
struct UnkStruct_0200BB14_1 *param0, struct UnkStruct_0200BB14_2 *param1, u32 *param2);
u32 FUN_0200C334(u32 *param0, u32 param1);
u32 FUN_0200C344(u32 *param0, u32 param1, u32 param2);
-u32 FUN_0200C358(struct UnkStruct_0200BB14_2 *param0, u32 param1);
-u32 FUN_0200C368(struct UnkStruct_0200BB14_2 *param0, u32 param1);
-u32 FUN_0200C378(struct UnkStruct_0200BB14_2 *param0, u32 param1);
-u32 FUN_0200C388(struct UnkStruct_0200BB14_2 *param0, u32 param1);
+BOOL FUN_0200C358(struct UnkStruct_0200BB14_2 *param0, u32 param1);
+BOOL FUN_0200C368(struct UnkStruct_0200BB14_2 *param0, u32 param1);
+BOOL FUN_0200C378(struct UnkStruct_0200BB14_2 *param0, u32 param1);
+BOOL FUN_0200C388(struct UnkStruct_0200BB14_2 *param0, u32 param1);
void FUN_0200C398(struct UnkStruct_0200BB14_1 *param0, struct UnkStruct_0200BB14_2 *param1);
void FUN_0200C3DC(u32 *param0);
BOOL FUN_0200C404(u32 *param0,
@@ -204,8 +213,8 @@ void FUN_0200C720(u32 param0, u32 param1, u32 param2, u32 param3);
void FUN_0200C750(u32 *param0, u32 param1, u32 param2, u32 param3);
void FUN_0200C75C(u32 param0, u16 *param1, u16 *param2);
void FUN_0200C7A0(u32 *param0, u16 *param1, u16 *param2);
-void FUN_0200C7AC(u32 param0, u16 *param1, u16 *param2, u32 param3);
-void FUN_0200C7F0(u32 *param0, u16 *param1, u16 *param2, u32 param3);
+void FUN_0200C7AC(u32 param0, u16 *param1, u16 *param2, s32 param3);
+void FUN_0200C7F0(u32 *param0, u16 *param1, u16 *param2, s32 param3);
void FUN_0200C7FC(u32 param0, u16 *param1, u16 *param2);
void FUN_0200C82C(u32 *param0, u16 *param1, u16 *param2);
void FUN_0200C838(u32 param0, u32 param1);