mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-29 07:10:32 -04:00
feat(phase-31): worker gate — +1 fns x0 propagated (fleet 95.3%)
This commit is contained in:
@@ -3332,7 +3332,34 @@ INCLUDE_ASM("asm/ov_SC03_126/nonmatchings/ov_SC03_126_jr_8017D5C0", func_8017EA1
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_126/nonmatchings/ov_SC03_126_jr_8017D5C0", func_8017EA78);
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_126/nonmatchings/ov_SC03_126_jr_8017D5C0", func_8017EACC);
|
||||
#include "common.h"
|
||||
|
||||
extern s32 func_8017EC2C(s32 a0);
|
||||
extern s32 func_801399F0(s32 a0);
|
||||
extern void func_80139914(s32 a0);
|
||||
extern s32 func_8013767C(s32 a0);
|
||||
extern s32 func_80171990(u8 *a0);
|
||||
extern u8 D_80183080[];
|
||||
|
||||
void func_8017EACC(s32 *a0) {
|
||||
s32 *s0 = a0;
|
||||
s32 result;
|
||||
u16 temp;
|
||||
|
||||
func_8017EC2C((s32)a0);
|
||||
|
||||
if ((*(u16 *)((char *)s0 + 0xB8) & 0x8000) != 0) {
|
||||
if (func_801399F0(s0[0x198 / 4]) != 0) {
|
||||
func_80139914(s0[0x198 / 4]);
|
||||
result = func_8013767C((s32)D_80183080);
|
||||
temp = *(u16 *)((char *)s0 + 0xBA);
|
||||
s0[0x198 / 4] = result;
|
||||
*(u16 *)((char *)s0 + 0xB8) = temp;
|
||||
func_80171990((u8 *)s0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_126/nonmatchings/ov_SC03_126_jr_8017D5C0", func_8017EB4C);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user