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:
@@ -3408,7 +3408,40 @@ INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074_jr_8017BE9C", func_8017D98
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074_jr_8017BE9C", func_8017DB04);
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074_jr_8017BE9C", func_8017DBA0);
|
||||
#include "common.h"
|
||||
|
||||
/* A-prop sibling of the byte-matched seed func_8017D840 (ov_SC01_077,
|
||||
* src/ov_SC01_077/ov_SC01_077_jr_8017AE2C.c). Same skeleton; the words that
|
||||
* differ are the per-overlay callback symbol, the eight init constants, and the
|
||||
* call order of func_8012A094 vs the callback. Symbol surface taken from
|
||||
* asm/ov_SC01_074/nonmatchings/ov_SC01_074_jr_8017BE9C/func_8017DBA0.s. */
|
||||
extern void func_8012A018(s32 a0, s32 a1);
|
||||
extern void func_8012A094(s32 a0);
|
||||
extern void func_8017DD1C(void*);
|
||||
extern u8 D_80126948[];
|
||||
extern s32 D_80126954;
|
||||
extern s32 D_8012695C;
|
||||
extern s16 D_80126968;
|
||||
extern s16 D_8012696A;
|
||||
extern s16 D_8012696C;
|
||||
extern s16 D_80126976;
|
||||
extern s16 D_80126978;
|
||||
extern s16 D_8012697A;
|
||||
|
||||
void func_8017DBA0(void) {
|
||||
D_80126954 = 0x12C;
|
||||
D_8012695C = 0x7D0;
|
||||
D_80126968 = 0x18E;
|
||||
D_8012696A = 0xDE0;
|
||||
D_8012696C = 0;
|
||||
D_80126976 = 0;
|
||||
D_80126978 = -0x19;
|
||||
D_8012697A = 0;
|
||||
func_8012A018(func_8017DD1C, 0);
|
||||
func_8012A094(&D_80126948);
|
||||
((s32 (*)(void *))func_8017DD1C)(&D_80126948);
|
||||
}
|
||||
|
||||
|
||||
INCLUDE_ASM("asm/ov_SC01_074/nonmatchings/ov_SC01_074_jr_8017BE9C", func_8017DC3C);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user