mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
3315d6010f
* all non-world rodata migrated * data disasm * kinda working * updated yaml * bloop * linker header * configure 2.0 * bin * mass rename to remove code_ * pause rename * battle partner stuff * whew * more renames * more renames * more renaming * it builds! * updates * remove main prefix * one more thing * crc, yay0 * .data, .rodata, .bss * img * dead_atan2 * it buildsgit add -A * split battle/partner/6FAD10 * rm &s on sleepy_sheep syms * sha1sum ninja rule description * OK but commented out PaperMarioMapFS and PaperMarioNpcSprites * uncomment * fix mapfs * match func_8003CFB4 * . * clean up and name npc_iter_no_op * npc.c * enable cc warnings * name npc_find_near * use singular options.asset_path * smores * cc_dsl only when needed * kinda fix configure for splat refactor2 * ok! * new msg format * remove old msg format docs * slight bug fixes, splat adjustment * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "cfc140bb76" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "cfc140bb76" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "85349befcd" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "85349befcd" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * Update symbol addrs * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "a44631e194" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "a44631e194" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Alex Bates <hi@imalex.xyz>
33 lines
1.4 KiB
ArmAsm
33 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8003A7AC
|
|
/* 15BAC 8003A7AC 0000282D */ daddu $a1, $zero, $zero
|
|
/* 15BB0 8003A7B0 3C06800A */ lui $a2, %hi(D_8009E9A0)
|
|
/* 15BB4 8003A7B4 8CC6E9A0 */ lw $a2, %lo(D_8009E9A0)($a2)
|
|
.L8003A7B8:
|
|
/* 15BB8 8003A7B8 8CC30000 */ lw $v1, ($a2)
|
|
/* 15BBC 8003A7BC 50600008 */ beql $v1, $zero, .L8003A7E0
|
|
/* 15BC0 8003A7C0 24A50001 */ addiu $a1, $a1, 1
|
|
/* 15BC4 8003A7C4 8C620000 */ lw $v0, ($v1)
|
|
/* 15BC8 8003A7C8 50400005 */ beql $v0, $zero, .L8003A7E0
|
|
/* 15BCC 8003A7CC 24A50001 */ addiu $a1, $a1, 1
|
|
/* 15BD0 8003A7D0 806200A4 */ lb $v0, 0xa4($v1)
|
|
/* 15BD4 8003A7D4 10440006 */ beq $v0, $a0, .L8003A7F0
|
|
/* 15BD8 8003A7D8 28A20040 */ slti $v0, $a1, 0x40
|
|
/* 15BDC 8003A7DC 24A50001 */ addiu $a1, $a1, 1
|
|
.L8003A7E0:
|
|
/* 15BE0 8003A7E0 28A20040 */ slti $v0, $a1, 0x40
|
|
/* 15BE4 8003A7E4 1440FFF4 */ bnez $v0, .L8003A7B8
|
|
/* 15BE8 8003A7E8 24C60004 */ addiu $a2, $a2, 4
|
|
/* 15BEC 8003A7EC 28A20040 */ slti $v0, $a1, 0x40
|
|
.L8003A7F0:
|
|
/* 15BF0 8003A7F0 14400003 */ bnez $v0, .L8003A800
|
|
/* 15BF4 8003A7F4 00000000 */ nop
|
|
.L8003A7F8:
|
|
/* 15BF8 8003A7F8 0800E9FE */ j .L8003A7F8
|
|
/* 15BFC 8003A7FC 00000000 */ nop
|
|
.L8003A800:
|
|
/* 15C00 8003A800 03E00008 */ jr $ra
|
|
/* 15C04 8003A804 0060102D */ daddu $v0, $v1, $zero
|