diff options
author | Max <mparisi@stevens.edu> | 2020-10-22 14:47:56 -0400 |
---|---|---|
committer | Max <mparisi@stevens.edu> | 2020-10-22 14:47:56 -0400 |
commit | e59582e0613910f8a47b0d6458975a5205d16d4e (patch) | |
tree | 8738887e457e1810630882b715783ed34a2838c5 /include/ctorStruct.h | |
parent | d777bee871875f336299c8863e06918ffe0d0b8d (diff) |
decompile code_801DB81C, and revamp the source file layout template and type naming convention. Rename unkStruct to ctorStruct
Diffstat (limited to 'include/ctorStruct.h')
-rw-r--r-- | include/ctorStruct.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/ctorStruct.h b/include/ctorStruct.h new file mode 100644 index 0000000..5c40e77 --- /dev/null +++ b/include/ctorStruct.h @@ -0,0 +1,17 @@ +#ifndef POKEREVO_CODE_CTORSTRUCT_H
+#define POKEREVO_CODE_CTORSTRUCT_H
+
+// Note: Many instances of this class appear in .sbss, and they are partially initialized
+// by the static initializers in .ctors
+
+struct ctorStruct
+{
+ u8 unk0;
+ u16 unk2;
+ u8 unk4;
+ u8 unk5;
+ ctorStruct(u8 p1, u16 p2, u8 p3)
+ : unk0(p1), unk2(p2), unk4(p3) { }
+};
+
+#endif //POKEREVO_CODE_CTORSTRUCT_H
|