mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-04 00:20:10 -04:00
feat(phase-31): worker gate — +1 fns x0 propagated (fleet 95.3%)
This commit is contained in:
@@ -30,7 +30,30 @@ INCLUDE_ASM("asm/md_MAIN_037/nonmatchings/md_MAIN_037", func_800CAF94);
|
||||
|
||||
INCLUDE_ASM("asm/md_MAIN_037/nonmatchings/md_MAIN_037", func_800CB014);
|
||||
|
||||
INCLUDE_ASM("asm/md_MAIN_037/nonmatchings/md_MAIN_037", func_800CB028);
|
||||
#include "common.h"
|
||||
|
||||
extern u8 D_80078EC1;
|
||||
extern void (*D_800CB634[])(void);
|
||||
extern void func_800CB358(void);
|
||||
|
||||
void func_800CB028(s32 a0) {
|
||||
u16 index;
|
||||
s16 value;
|
||||
|
||||
if (D_80078EC1 == 0x19) {
|
||||
index = *(u16 *)(a0 + 2);
|
||||
D_800CB634[index]();
|
||||
|
||||
value = *(s16 *)(a0 + 0xA);
|
||||
if (value < 0x401) {
|
||||
return;
|
||||
}
|
||||
((void (*)(s32))func_800CB358)(a0);
|
||||
} else {
|
||||
((void (*)(s32))func_800CB358)(a0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/md_MAIN_037/nonmatchings/md_MAIN_037", func_800CB09C);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user