From eae679684affe7bd9cd9d7ac0203041a05e81b4f Mon Sep 17 00:00:00 2001 From: Drew T <50529377+Druthulu@users.noreply.github.com> Date: Mon, 24 Aug 2026 19:28:29 -0600 Subject: [PATCH] =?UTF-8?q?feat(decomp):=20main=20lane=20m05abba=20?= =?UTF-8?q?=E2=80=94=202=20banked?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One clean whole-EXE rebuild verified the batch (gate_main), and main re-checked BYTE-IDENTICAL against config/check.us.sha before anything was credited. func_80039C5C func_8005E13C --- src/800.c | 4 +++- src/800c3.c | 26 +++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/800.c b/src/800.c index c6ccf160f..394bc9391 100644 --- a/src/800.c +++ b/src/800.c @@ -16027,7 +16027,9 @@ INCLUDE_ASM("asm/nonmatchings/800", func_80039308); INCLUDE_ASM("asm/nonmatchings/800", func_80039B20); -INCLUDE_ASM("asm/nonmatchings/800", func_80039C5C); +void func_80039C5C(s32 *param_1) { + *param_1 += 2; +} INCLUDE_ASM("asm/nonmatchings/800", func_80039C70); diff --git a/src/800c3.c b/src/800c3.c index 8212b7642..2f4f46e2a 100644 --- a/src/800c3.c +++ b/src/800c3.c @@ -257,7 +257,31 @@ s32 func_8005E0AC(void) { return 1; } -INCLUDE_ASM("asm/nonmatchings/800c3", func_8005E13C); + +extern s32 *D_800729C0; + +__asm__( + ".text\n" + ".align\t2\n" + ".globl\tfunc_8005E13C\n" + ".ent\tfunc_8005E13C\n" + "func_8005E13C:\n" + ".set\tnoreorder\n" + "lui $v1, %hi(D_800729C0)\n" + "lw $v1, %lo(D_800729C0)($v1)\n" + "nop\n" + "1:\n" + "lhu $v0, 4($v1)\n" + "nop\n" + "andi $v0, $v0, 0x2\n" + "beqz $v0, 1b\n" + "nop\n" + "jr $ra\n" + "nop\n" + ".set\treorder\n" + ".end\tfunc_8005E13C\n" + "nop\n" +); INCLUDE_ASM("asm/nonmatchings/800c3", SysEnqIntRP);