mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-03 08:07:25 -04:00
feat(decomp): worker gate — +2 fns x0 propagated (fleet 95.2%)
This commit is contained in:
@@ -3625,7 +3625,20 @@ s32 func_801817BC(s32 a0) {
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_119/nonmatchings/ov_SC03_119_jr_8017FB84", func_801817FC);
|
||||
s32 func_801817FC(u8 *a0) {
|
||||
if (--(*(s32 *)(a0 + 0x28)) == -1) {
|
||||
func_8002D4C8(0x1C, 0);
|
||||
func_8001BFD0();
|
||||
func_8002D4C8(0x1D, 0);
|
||||
if ((func_80029178(0xB8) & 0xFF) == 0) {
|
||||
func_800D0C48(1);
|
||||
}
|
||||
func_800D1E28();
|
||||
*(u8 *)(a0 + 0x15) += 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
extern s32 func_800D1EBC(void);
|
||||
void func_8018188C(void) {
|
||||
@@ -3911,7 +3924,20 @@ INCLUDE_ASM("asm/ov_SC03_119/nonmatchings/ov_SC03_119_jr_8017FB84", func_80182BC
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_119/nonmatchings/ov_SC03_119_jr_8017FB84", func_80182C34);
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_119/nonmatchings/ov_SC03_119_jr_8017FB84", func_80182CC4);
|
||||
extern int func_80178970(void);
|
||||
extern void func_80182714(int a0);
|
||||
extern int func_801827A0(int a0, void *a1);
|
||||
extern void func_801824A0(int a0);
|
||||
extern char D_8018DE60[];
|
||||
void func_80182CC4(int param_1)
|
||||
{
|
||||
((void (*)(void))func_80178970)();
|
||||
func_80182714(param_1);
|
||||
if (func_801827A0(param_1, (void *)&D_8018DE60) != 0) {
|
||||
func_801824A0(param_1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC03_119/nonmatchings/ov_SC03_119_jr_8017FB84", func_80182D14);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user