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>
38 lines
1.7 KiB
ArmAsm
38 lines
1.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8011E0DC
|
|
/* B47DC 8011E0DC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* B47E0 8011E0E0 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* B47E4 8011E0E4 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* B47E8 8011E0E8 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* B47EC 8011E0EC AFB00010 */ sw $s0, 0x10($sp)
|
|
/* B47F0 8011E0F0 848200F6 */ lh $v0, 0xf6($a0)
|
|
/* B47F4 8011E0F4 00A0902D */ daddu $s2, $a1, $zero
|
|
/* B47F8 8011E0F8 14520003 */ bne $v0, $s2, .L8011E108
|
|
/* B47FC 8011E0FC 0000882D */ daddu $s1, $zero, $zero
|
|
/* B4800 8011E100 0804784E */ j .L8011E138
|
|
/* B4804 8011E104 0080102D */ daddu $v0, $a0, $zero
|
|
.L8011E108:
|
|
/* B4808 8011E108 0080802D */ daddu $s0, $a0, $zero
|
|
.L8011E10C:
|
|
/* B480C 8011E10C 8E040004 */ lw $a0, 4($s0)
|
|
/* B4810 8011E110 50800005 */ beql $a0, $zero, .L8011E128
|
|
/* B4814 8011E114 26310001 */ addiu $s1, $s1, 1
|
|
/* B4818 8011E118 0C047837 */ jal func_8011E0DC
|
|
/* B481C 8011E11C 0240282D */ daddu $a1, $s2, $zero
|
|
/* B4820 8011E120 14400005 */ bnez $v0, .L8011E138
|
|
/* B4824 8011E124 26310001 */ addiu $s1, $s1, 1
|
|
.L8011E128:
|
|
/* B4828 8011E128 2A220020 */ slti $v0, $s1, 0x20
|
|
/* B482C 8011E12C 1440FFF7 */ bnez $v0, .L8011E10C
|
|
/* B4830 8011E130 26100004 */ addiu $s0, $s0, 4
|
|
/* B4834 8011E134 0000102D */ daddu $v0, $zero, $zero
|
|
.L8011E138:
|
|
/* B4838 8011E138 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* B483C 8011E13C 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* B4840 8011E140 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* B4844 8011E144 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* B4848 8011E148 03E00008 */ jr $ra
|
|
/* B484C 8011E14C 27BD0020 */ addiu $sp, $sp, 0x20
|