feat(phase-31): worker gate — +1 fns x0 propagated (fleet 95.3%)

This commit is contained in:
Drew T
2026-08-14 21:25:22 -06:00
parent 0d71ee33ea
commit f9f97f7c4c
+24 -1
View File
@@ -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);