diff options
| author | Revo <projectrevotpp@hotmail.com> | 2020-10-17 20:38:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-17 20:38:44 -0400 |
| commit | 4965b8101131432139e8d2e9e309440ad2acbd2f (patch) | |
| tree | b7df34c2fac50f43424d4fa445d55f497bb05f85 /include | |
| parent | 4f5cdb01cb52848d0df73806b3af0d418c170f3d (diff) | |
| parent | 56705d67795228ff1368422aadb15741416e3596 (diff) | |
Merge pull request #148 from mparisi20/master
Decompile code_801DAA30.o
Diffstat (limited to 'include')
| -rw-r--r-- | include/code_801DAA30.h | 9 | ||||
| -rw-r--r-- | include/code_801DAAE0.h | 16 | ||||
| -rw-r--r-- | include/types.h | 2 | ||||
| -rw-r--r-- | include/unkStruct.h | 20 |
4 files changed, 47 insertions, 0 deletions
diff --git a/include/code_801DAA30.h b/include/code_801DAA30.h new file mode 100644 index 0000000..167f01c --- /dev/null +++ b/include/code_801DAA30.h @@ -0,0 +1,9 @@ +#ifndef POKEREVO_CODE_801DAA30_H
+#define POKEREVO_CODE_801DAA30_H
+
+void* operator new(size_t sz);
+void* operator new[](size_t sz);
+void operator delete(void* ptr);
+void operator delete[](void* ptr);
+
+#endif //POKEREVO_CODE_801DAA30_H
diff --git a/include/code_801DAAE0.h b/include/code_801DAAE0.h new file mode 100644 index 0000000..34bafa0 --- /dev/null +++ b/include/code_801DAAE0.h @@ -0,0 +1,16 @@ +#ifndef POKEREVO_CODE_801DAAE0_H
+#define POKEREVO_CODE_801DAAE0_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+BOOL func_801DAB28(void);
+void *func_801DAD64(size_t);
+void func_801DAEA4(void *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_CODE_801DAAE0_H
diff --git a/include/types.h b/include/types.h index 01c7fbf..7df137c 100644 --- a/include/types.h +++ b/include/types.h @@ -25,6 +25,8 @@ typedef volatile s64 vs64; typedef float f32; typedef volatile f32 vf32; +typedef unsigned long size_t; + typedef int BOOL; #define TRUE 1 #define FALSE 0 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
|
