mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 13:33:34 -04:00
feat(decomp): worker gate — +1 fns x0 propagated (fleet 95.2%)
This commit is contained in:
@@ -4457,7 +4457,20 @@ void func_8017F1C8(s32 a0) {
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC02_035/nonmatchings/ov_SC02_035_jr_8017BEBC", func_8017F2A0);
|
||||
extern void (*D_80198DE0[])(void);
|
||||
extern void func_8012C0EC(void *a0);
|
||||
|
||||
void func_8017F2A0(void *a0) {
|
||||
D_80198DE0[*(u16 *)((s32)a0 + 0x2)]();
|
||||
if (*(u16 *)((s32)a0 + 0x0) != 0) {
|
||||
void *ptr = *(void **)((s32)a0 + 0x20);
|
||||
*(u16 *)((s32)ptr + 0x2C) |= 0x10;
|
||||
if (!(*(u16 *)((s32)a0 + 0x70) & 0x20)) {
|
||||
func_8012C0EC(a0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user