summaryrefslogtreecommitdiff
path: root/include/unkStruct.h
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-10-17 20:38:44 -0400
committerGitHub <noreply@github.com>2020-10-17 20:38:44 -0400
commit4965b8101131432139e8d2e9e309440ad2acbd2f (patch)
treeb7df34c2fac50f43424d4fa445d55f497bb05f85 /include/unkStruct.h
parent4f5cdb01cb52848d0df73806b3af0d418c170f3d (diff)
parent56705d67795228ff1368422aadb15741416e3596 (diff)
Merge pull request #148 from mparisi20/master
Decompile code_801DAA30.o
Diffstat (limited to 'include/unkStruct.h')
-rw-r--r--include/unkStruct.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/unkStruct.h b/include/unkStruct.h
new file mode 100644
index 0000000..73d3cfc
--- /dev/null
+++ b/include/unkStruct.h
@@ -0,0 +1,20 @@
+#ifndef POKEREVO_CODE_UNKSTRUCT_H
+#define POKEREVO_CODE_UNKSTRUCT_H
+
+// Note: Many instances of this class appear in .sbss, and they are partially initialized
+// by the static initializers in .ctors
+
+class unkStruct
+{
+ u8 unk0;
+ u16 unk2;
+ u8 unk4;
+ u8 unk5;
+ u8 unk6;
+ u8 unk7;
+public:
+ unkStruct(u8 p1, u16 p2, u8 p3)
+ : unk0(p1), unk2(p2), unk4(p3) { }
+};
+
+#endif //POKEREVO_CODE_UNKSTRUCT_H