summaryrefslogtreecommitdiff
path: root/src/code_0807CC3C.c
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-02-16 18:13:41 +0100
committerHenny022p <info@henny022.de>2021-02-16 18:13:41 +0100
commit6498e3d531fcd0edce42b2dcd66692544e2d96d3 (patch)
treee6a2da879e7817a2e53777423d672b5e85ad2f1a /src/code_0807CC3C.c
parent80f15cd75b893740db734d47c218737059a8fab9 (diff)
nonmatch sub_0807D1C4
Diffstat (limited to 'src/code_0807CC3C.c')
-rw-r--r--src/code_0807CC3C.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/code_0807CC3C.c b/src/code_0807CC3C.c
index ef470d10..f6e531b7 100644
--- a/src/code_0807CC3C.c
+++ b/src/code_0807CC3C.c
@@ -6,6 +6,7 @@
extern u8 gUnk_0811E514[];
extern u8 gUnk_0811E510[];
+extern u8 gUnk_0811E4BC[];
extern const char gUnk_0811E4B4[8];
// the type is just a guess based on size and the fact that these are around a lot in this file
extern ScriptExecutionContext gUnk_02022750;
@@ -25,6 +26,10 @@ extern u16 sub_080B18DC(u16, const char*);
void sub_0807DB88(ScriptExecutionContext* context, u32 unk1);
void sub_0807DAF0(Entity* entity, ScriptExecutionContext* context, u32 unk1);
+struct_0807D1C4* sub_0807D1C4(u32 param_1) {
+ return (struct_0807D1C4*)(gUnk_0811E4BC + param_1 * 0xc);
+}
+
// these three are basically the same and wrong by basically one instruction in the wrong place
NONMATCH("asm/non_matching/code_0807CC3C/sub_0807D1D8.inc", u32 sub_0807D1D8(u32 unk_1, const char* unk_2, u32 unk_3)) {
}