mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +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>
26 lines
1.2 KiB
ArmAsm
26 lines
1.2 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_801451D4
|
|
/* DB8D4 801451D4 2402F7FF */ addiu $v0, $zero, -0x801
|
|
/* DB8D8 801451D8 00822024 */ and $a0, $a0, $v0
|
|
/* DB8DC 801451DC 00042080 */ sll $a0, $a0, 2
|
|
/* DB8E0 801451E0 3C030001 */ lui $v1, 1
|
|
/* DB8E4 801451E4 3C028015 */ lui $v0, %hi(D_80157960)
|
|
/* DB8E8 801451E8 8C427960 */ lw $v0, %lo(D_80157960)($v0)
|
|
/* DB8EC 801451EC 44850000 */ mtc1 $a1, $f0
|
|
/* DB8F0 801451F0 00822021 */ addu $a0, $a0, $v0
|
|
/* DB8F4 801451F4 8C840000 */ lw $a0, ($a0)
|
|
/* DB8F8 801451F8 44861000 */ mtc1 $a2, $f2
|
|
/* DB8FC 801451FC 8C820000 */ lw $v0, ($a0)
|
|
/* DB900 80145200 44872000 */ mtc1 $a3, $f4
|
|
/* DB904 80145204 00431024 */ and $v0, $v0, $v1
|
|
/* DB908 80145208 10400004 */ beqz $v0, .L8014521C
|
|
/* DB90C 8014520C 8C83001C */ lw $v1, 0x1c($a0)
|
|
/* DB910 80145210 E460001C */ swc1 $f0, 0x1c($v1)
|
|
/* DB914 80145214 E4620020 */ swc1 $f2, 0x20($v1)
|
|
/* DB918 80145218 E4640024 */ swc1 $f4, 0x24($v1)
|
|
.L8014521C:
|
|
/* DB91C 8014521C 03E00008 */ jr $ra
|
|
/* DB920 80145220 00000000 */ nop
|