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>
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_8011E1C4
|
|
/* B48C4 8011E1C4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* B48C8 8011E1C8 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* B48CC 8011E1CC 0080902D */ daddu $s2, $a0, $zero
|
|
/* B48D0 8011E1D0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* B48D4 8011E1D4 0000882D */ daddu $s1, $zero, $zero
|
|
/* B48D8 8011E1D8 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* B48DC 8011E1DC 0240802D */ daddu $s0, $s2, $zero
|
|
/* B48E0 8011E1E0 AFBF001C */ sw $ra, 0x1c($sp)
|
|
.L8011E1E4:
|
|
/* B48E4 8011E1E4 8E040004 */ lw $a0, 4($s0)
|
|
/* B48E8 8011E1E8 10800003 */ beqz $a0, .L8011E1F8
|
|
/* B48EC 8011E1EC 26310001 */ addiu $s1, $s1, 1
|
|
/* B48F0 8011E1F0 0C047871 */ jal func_8011E1C4
|
|
/* B48F4 8011E1F4 00000000 */ nop
|
|
.L8011E1F8:
|
|
/* B48F8 8011E1F8 2A220020 */ slti $v0, $s1, 0x20
|
|
/* B48FC 8011E1FC 1440FFF9 */ bnez $v0, .L8011E1E4
|
|
/* B4900 8011E200 26100004 */ addiu $s0, $s0, 4
|
|
/* B4904 8011E204 0C00AB4B */ jal heap_free
|
|
/* B4908 8011E208 0240202D */ daddu $a0, $s2, $zero
|
|
/* B490C 8011E20C 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* B4910 8011E210 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* B4914 8011E214 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* B4918 8011E218 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* B491C 8011E21C 03E00008 */ jr $ra
|
|
/* B4920 8011E220 27BD0020 */ addiu $sp, $sp, 0x20
|