diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/GSfilterModule.h | 24 | ||||
-rw-r--r-- | include/gUnkClass20.h | 30 |
2 files changed, 54 insertions, 0 deletions
diff --git a/include/GSfilterModule.h b/include/GSfilterModule.h new file mode 100644 index 0000000..6b9af03 --- /dev/null +++ b/include/GSfilterModule.h @@ -0,0 +1,24 @@ +#ifndef POKEREVO_GSFILTERMODULE_H
+#define POKEREVO_GSFILTERMODULE_H
+
+#include "gUnkClass20.h"
+
+struct GSfilterModule
+{
+ u8 unk0[0x10]; // pad
+ u32 unk10;
+ u8 unk14[0x3D8]; // pad
+ gUnkClass20* unk3EC; // pointer to array
+ gUnkClass21* unk3F0;
+ u8 unk3F4[0x18]; // pad
+ u8 unk40C; // counter
+};
+
+extern "C"
+{
+extern GSfilterModule* lbl_8063F410;
+// TODO: member function
+gUnkClass20* func_801FB80C(GSfilterModule*);
+}
+
+#endif //POKEREVO_GSFILTERMODULE_H
diff --git a/include/gUnkClass20.h b/include/gUnkClass20.h new file mode 100644 index 0000000..141aff8 --- /dev/null +++ b/include/gUnkClass20.h @@ -0,0 +1,30 @@ +#ifndef POKEREVO_GUNKCLASS20_H
+#define POKEREVO_GUNKCLASS20_H
+
+// size == 0x4
+struct gUnkClass21
+{
+ u8 unk0;
+ u8 unk1;
+ u8 unk2;
+ u8 unk3;
+};
+
+// size == 0x8
+struct gUnkClass20
+{
+ u8 unk0; // index into an array of gUnkClass21.
+ // id?
+ u8 unk1; // func_801FB80C returns first instance where this is 0.
+ // "allocated" flag?
+ u8 unk2;
+ u8 unk3;
+ u32 unk4;
+
+ gUnkClass20* func_801E0810(u32 p2, u8 p3, u8 p4);
+ void func_801E0904();
+ void func_801E0978(gUnkClass21* p2) const;
+ void func_801E09DC(gUnkClass21* p2) const;
+};
+
+#endif //POKEREVO_GUNKCLASS20_H
|