mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 21:36:06 -04:00
feat(phase-31): worker gate — +1 fns x0 propagated (fleet 95.4%)
This commit is contained in:
@@ -4060,7 +4060,28 @@ void func_80186AE4(s32 self)
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC02_000/nonmatchings/ov_SC02_000_jr_8018173C", func_80186C44);
|
||||
#include "common.h"
|
||||
|
||||
extern void func_8012C1B8(void);
|
||||
extern void func_8012CAE4(void *a0);
|
||||
extern void func_8001C214(s32, s32);
|
||||
extern void func_8012A828(s32, void*);
|
||||
extern u8 D_801DCA30[];
|
||||
extern M2C_UNK D_8018AF28;
|
||||
|
||||
void func_80186C44(void *a0) {
|
||||
s32 v0 = ((s32 (*)(void *))func_8012C1B8)(a0);
|
||||
*(int *)((char *)a0 + 0x20) = v0;
|
||||
|
||||
if (v0 == 0) {
|
||||
func_8012CAE4(a0);
|
||||
} else {
|
||||
((void (*)(s32, u8 *))func_8001C214)(v0, D_801DCA30);
|
||||
((void (*)(void *, u8 *))func_8012A828)(a0, ((u8 *)&D_8018AF28));
|
||||
*(short *)((char *)a0 + 0x2) = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
extern void (*D_8018F3AC[])(void);
|
||||
|
||||
Reference in New Issue
Block a user