From 9bb5d14820c06cd0122d4884638ec05131bd7489 Mon Sep 17 00:00:00 2001 From: Drew T <50529377+Druthulu@users.noreply.github.com> Date: Tue, 25 Aug 2026 20:23:41 -0600 Subject: [PATCH] chore(decomp): commit in-tree banked work before the serial lane --- src/ov_SC04_018/ov_SC04_018_jr_80188E1C.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/ov_SC04_018/ov_SC04_018_jr_80188E1C.c b/src/ov_SC04_018/ov_SC04_018_jr_80188E1C.c index db6603c8f..b7e160984 100644 --- a/src/ov_SC04_018/ov_SC04_018_jr_80188E1C.c +++ b/src/ov_SC04_018/ov_SC04_018_jr_80188E1C.c @@ -4890,7 +4890,22 @@ void func_8018B730(void *a0) { } -INCLUDE_ASM("asm/ov_SC04_018/nonmatchings/ov_SC04_018_jr_80188E1C", func_8018B798); +extern s32 func_80184BAC(s32 arg0, s32 arg1); +extern u8 D_80078EBA; + +void func_8018B798(void *a0) { + s32 v0; + *(s32 *)(*(s32 *)((s32)a0 + 0xCC) + 0xB0) = 2; + if (D_80078EBA == 3) { + v0 = 0; + } else { + v0 = func_80184BAC(7, 0x13) != 0; + } + if (v0 != 0) { + *(u16 *)((char *)a0 + 2) = 1; + } +} + #include "common.h"