feat(decomp): worker gate — +1 fns x0 propagated (fleet 95.2%)

This commit is contained in:
Drew T
2026-08-13 17:08:01 -06:00
parent 934803b955
commit 969ac3bf7b
+17 -1
View File
@@ -2946,7 +2946,23 @@ void func_801853AC(void *a0) {
}
INCLUDE_ASM("asm/ov_SC03_097/nonmatchings/ov_SC03_097_jr_801851B8", func_8018545C);
#include "common.h"
typedef struct { s32 w[4]; } B16_local;
extern B16_local D_800A5EA8;
extern B16_local D_801A7350;
extern s32 D_800A5EB0;
extern s32 func_8004787C(s32 a0);
extern void func_80028620(s32 a0, void *a1);
void func_8018545C(void *a0) {
D_800A5EA8 = D_801A7350;
D_800A5EB0 = func_8004787C(*(s16 *)((s32)a0 + 0xFE)) * 6 / 4096 - 3;
*(u16 *)((s32)a0 + 0xFE) = (*(u16 *)((s32)a0 + 0xFE) + 0x71) & 0xFFF;
func_80028620(2, &D_800A5EA8);
}
/* §71 sibling-first: func_80185634 (same TU, already MATCHed) is the exact template.