From e449d4d44871365c68198b4715787499cbae544b Mon Sep 17 00:00:00 2001 From: Alex Bates Date: Wed, 10 Feb 2021 15:26:26 +0000 Subject: [PATCH] undefined syms --- include/variables.h | 4 ++++ src/world/actions.c | 2 +- undefined_syms.txt | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/variables.h b/include/variables.h index 62428efe76..13be5e2646 100644 --- a/include/variables.h +++ b/include/variables.h @@ -313,4 +313,8 @@ extern s32 D_802920E8[]; extern s32 D_80292110[]; extern s32 D_8028358C[]; +extern UNK_PTR D_800F7BE8; +extern UNK_PTR D_800F7BBC; +extern UNK_PTR D_800F7B94; + #endif diff --git a/src/world/actions.c b/src/world/actions.c index baee58aae7..76c269f709 100644 --- a/src/world/actions.c +++ b/src/world/actions.c @@ -31,7 +31,7 @@ s32 D_800F7B80[] = { 0x00000000, 0x00000000, 0x00000000, 0x00000000 }; // possib s32 D_800F7B90[] = { 0x00000000, 0x00390000, 0x00390002, 0x00390003, 0x00390004, 0x00390005, 0x00390008, 0x00390007, 0x00390013, 0x00390014, 0xFFFFFFFF, 0x005A0000, 0x005A0002, 0x005A0003, 0x005A0004, 0x005A0006, 0x005A0007, 0x005A0009, 0x005A000A, 0x005A000B, 0x005A001A, 0xFFFFFFFF, 0x00580000, 0x00580001, 0x00580002, 0x00580004, 0x00580005, 0x00580006, 0x00580007, 0x00580008, 0x00580009, 0x00580012, 0x00580014, 0x0058001B, 0xFFFFFFFF }; s32 D_800F7C1C[] = { 0x00580001, 0x00580004, 0x00580006, 0x00580008, 0x00580000 }; s32 D_800F7C30[] = { 0x0058001B, 0x00580001, 0x00580004, 0x00580006, 0x00580008, 0x00580000, 0x0058001B, 0x005A0003, 0x005A0006, 0x005A0009, 0x005A000B, 0x005A0000, 0x005A001A, 0x00390002, 0x00390003, 0x00390004, 0x00390005, 0x00390000, 0x00390014 }; -s32 D_800F7C7C[] = { 0x800F7BE8, 0x800F7BE8, 0x800F7BBC, 0x800F7B94 }; +void* D_800F7C7C[] = { &D_800F7BE8, &D_800F7BE8, &D_800F7BBC, &D_800F7B94 }; s32 D_800F7C8C[] = { // TODO: struct for dma table // TODO: ld addrs diff --git a/undefined_syms.txt b/undefined_syms.txt index 00f04c581f..a3a1af15d4 100644 --- a/undefined_syms.txt +++ b/undefined_syms.txt @@ -66,3 +66,6 @@ D_802920C0 = 0x802920C0; D_802920E8 = 0x802920E8; D_80292110 = 0x80292110; D_8028358C = 0x8028358C; +D_800F7BE8 = 0x800F7BE8; +D_800F7BBC = 0x800F7BBC; +D_800F7B94 = 0x800F7B94;