mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +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>
31 lines
1.4 KiB
ArmAsm
31 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8003A808
|
|
/* 15C08 8003A808 0000182D */ daddu $v1, $zero, $zero
|
|
/* 15C0C 8003A80C 3C06800A */ lui $a2, %hi(D_8009E9A0)
|
|
/* 15C10 8003A810 8CC6E9A0 */ lw $a2, %lo(D_8009E9A0)($a2)
|
|
.L8003A814:
|
|
/* 15C14 8003A814 8CC50000 */ lw $a1, ($a2)
|
|
/* 15C18 8003A818 50A00008 */ beql $a1, $zero, .L8003A83C
|
|
/* 15C1C 8003A81C 24630001 */ addiu $v1, $v1, 1
|
|
/* 15C20 8003A820 8CA20000 */ lw $v0, ($a1)
|
|
/* 15C24 8003A824 50400005 */ beql $v0, $zero, .L8003A83C
|
|
/* 15C28 8003A828 24630001 */ addiu $v1, $v1, 1
|
|
/* 15C2C 8003A82C 80A200A4 */ lb $v0, 0xa4($a1)
|
|
/* 15C30 8003A830 50440006 */ beql $v0, $a0, .L8003A84C
|
|
/* 15C34 8003A834 28630040 */ slti $v1, $v1, 0x40
|
|
/* 15C38 8003A838 24630001 */ addiu $v1, $v1, 1
|
|
.L8003A83C:
|
|
/* 15C3C 8003A83C 28620040 */ slti $v0, $v1, 0x40
|
|
/* 15C40 8003A840 1440FFF4 */ bnez $v0, .L8003A814
|
|
/* 15C44 8003A844 24C60004 */ addiu $a2, $a2, 4
|
|
/* 15C48 8003A848 28630040 */ slti $v1, $v1, 0x40
|
|
.L8003A84C:
|
|
/* 15C4C 8003A84C 10600002 */ beqz $v1, .L8003A858
|
|
/* 15C50 8003A850 0000102D */ daddu $v0, $zero, $zero
|
|
/* 15C54 8003A854 00A0102D */ daddu $v0, $a1, $zero
|
|
.L8003A858:
|
|
/* 15C58 8003A858 03E00008 */ jr $ra
|
|
/* 15C5C 8003A85C 00000000 */ nop
|