mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 15:03:25 +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>
32 lines
1.5 KiB
ArmAsm
32 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8011D82C
|
|
/* B3F2C 8011D82C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* B3F30 8011D830 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* B3F34 8011D834 3C118015 */ lui $s1, %hi(gCurrentModelListPtr)
|
|
/* B3F38 8011D838 8E3112CC */ lw $s1, %lo(gCurrentModelListPtr)($s1)
|
|
/* B3F3C 8011D83C AFB20018 */ sw $s2, 0x18($sp)
|
|
/* B3F40 8011D840 0080902D */ daddu $s2, $a0, $zero
|
|
/* B3F44 8011D844 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* B3F48 8011D848 0000802D */ daddu $s0, $zero, $zero
|
|
/* B3F4C 8011D84C AFBF001C */ sw $ra, 0x1c($sp)
|
|
.L8011D850:
|
|
/* B3F50 8011D850 8E240000 */ lw $a0, ($s1)
|
|
/* B3F54 8011D854 50800005 */ beql $a0, $zero, .L8011D86C
|
|
/* B3F58 8011D858 26100001 */ addiu $s0, $s0, 1
|
|
/* B3F5C 8011D85C 2405FFFF */ addiu $a1, $zero, -1
|
|
/* B3F60 8011D860 0C046F1F */ jal func_8011BC7C
|
|
/* B3F64 8011D864 0240302D */ daddu $a2, $s2, $zero
|
|
/* B3F68 8011D868 26100001 */ addiu $s0, $s0, 1
|
|
.L8011D86C:
|
|
/* B3F6C 8011D86C 2A020100 */ slti $v0, $s0, 0x100
|
|
/* B3F70 8011D870 1440FFF7 */ bnez $v0, .L8011D850
|
|
/* B3F74 8011D874 26310004 */ addiu $s1, $s1, 4
|
|
/* B3F78 8011D878 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* B3F7C 8011D87C 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* B3F80 8011D880 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* B3F84 8011D884 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* B3F88 8011D888 03E00008 */ jr $ra
|
|
/* B3F8C 8011D88C 27BD0020 */ addiu $sp, $sp, 0x20
|