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>
24 lines
1.1 KiB
ArmAsm
24 lines
1.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8011D7E4
|
|
/* B3EE4 8011D7E4 3C030002 */ lui $v1, 2
|
|
/* B3EE8 8011D7E8 3C028015 */ lui $v0, %hi(D_80153368)
|
|
/* B3EEC 8011D7EC 8C423368 */ lw $v0, %lo(D_80153368)($v0)
|
|
/* B3EF0 8011D7F0 3C058015 */ lui $a1, %hi(D_8014B748)
|
|
/* B3EF4 8011D7F4 8CA5B748 */ lw $a1, %lo(D_8014B748)($a1)
|
|
/* B3EF8 8011D7F8 34638000 */ ori $v1, $v1, 0x8000
|
|
/* B3EFC 8011D7FC 00451023 */ subu $v0, $v0, $a1
|
|
/* B3F00 8011D800 2442003F */ addiu $v0, $v0, 0x3f
|
|
/* B3F04 8011D804 00021182 */ srl $v0, $v0, 6
|
|
/* B3F08 8011D808 00021180 */ sll $v0, $v0, 6
|
|
/* B3F0C 8011D80C 00822021 */ addu $a0, $a0, $v0
|
|
/* B3F10 8011D810 0064182B */ sltu $v1, $v1, $a0
|
|
/* B3F14 8011D814 10600003 */ beqz $v1, .L8011D824
|
|
/* B3F18 8011D818 00A21021 */ addu $v0, $a1, $v0
|
|
/* B3F1C 8011D81C 03E00008 */ jr $ra
|
|
/* B3F20 8011D820 0000102D */ daddu $v0, $zero, $zero
|
|
.L8011D824:
|
|
/* B3F24 8011D824 03E00008 */ jr $ra
|
|
/* B3F28 8011D828 00000000 */ nop
|