chore(decomp): commit in-tree banked work before the serial lane

This commit is contained in:
Drew T
2026-08-25 19:37:45 -06:00
parent 07a167516d
commit 66236ca9b1
+33 -1
View File
@@ -6532,7 +6532,39 @@ void func_80189A00(s32 param_1) {
}
INCLUDE_ASM("asm/ov_SC02_000/nonmatchings/ov_SC02_000_jr_8018173C", func_80189A70);
typedef struct {
s16 start;
s16 end;
} Range_80189A70;
extern u8 D_8018F71C[];
extern s16 D_8018F71E;
extern u32 func_80189DB8(u32, u32);
void func_80189A70(s32 *a0)
{
s32 v;
s32 t;
s32 c;
Range_80189A70 range;
v = (s16)(*(u16 *)((s32)a0 + 0x100) -= 0x10);
if (v < 0) {
D_8018F71E = 1;
func_8012AD44(a0, 0);
return;
}
t = v << 8;
if (v >= 0x20) {
c = v | 0x202000;
} else {
c = v | ((v << 16) | t);
}
range.start = 0;
range.end = 0x50;
func_80189B1C(a0, &range, D_8018F71C, ((void * (*)(void))func_80189DB8)(a0, c));
}
#include "common.h"
#include "/home/musashi/bfm-decomp/src/shared/engine_core.h"