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>
54 lines
2.7 KiB
ArmAsm
54 lines
2.7 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8024267C_EA2F7C
|
|
/* EA2F7C 8024267C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* EA2F80 80242680 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* EA2F84 80242684 3C108024 */ lui $s0, %hi(D_80244154_EA4A54)
|
|
/* EA2F88 80242688 26104154 */ addiu $s0, $s0, %lo(D_80244154_EA4A54)
|
|
/* EA2F8C 8024268C AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* EA2F90 80242690 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* EA2F94 80242694 8E020000 */ lw $v0, ($s0)
|
|
/* EA2F98 80242698 14400010 */ bnez $v0, .L802426DC
|
|
/* EA2F9C 8024269C 0080882D */ daddu $s1, $a0, $zero
|
|
/* EA2FA0 802426A0 0C00AFF5 */ jal func_8002BFD4
|
|
/* EA2FA4 802426A4 24040040 */ addiu $a0, $zero, 0x40
|
|
/* EA2FA8 802426A8 AE020000 */ sw $v0, ($s0)
|
|
/* EA2FAC 802426AC 0000182D */ daddu $v1, $zero, $zero
|
|
/* EA2FB0 802426B0 0040282D */ daddu $a1, $v0, $zero
|
|
/* EA2FB4 802426B4 0220202D */ daddu $a0, $s1, $zero
|
|
.L802426B8:
|
|
/* EA2FB8 802426B8 8C820084 */ lw $v0, 0x84($a0)
|
|
/* EA2FBC 802426BC 24840004 */ addiu $a0, $a0, 4
|
|
/* EA2FC0 802426C0 24630001 */ addiu $v1, $v1, 1
|
|
/* EA2FC4 802426C4 ACA20000 */ sw $v0, ($a1)
|
|
/* EA2FC8 802426C8 28620010 */ slti $v0, $v1, 0x10
|
|
/* EA2FCC 802426CC 1440FFFA */ bnez $v0, .L802426B8
|
|
/* EA2FD0 802426D0 24A50004 */ addiu $a1, $a1, 4
|
|
/* EA2FD4 802426D4 080909C6 */ j .L80242718
|
|
/* EA2FD8 802426D8 00000000 */ nop
|
|
.L802426DC:
|
|
/* EA2FDC 802426DC 0000182D */ daddu $v1, $zero, $zero
|
|
/* EA2FE0 802426E0 0040282D */ daddu $a1, $v0, $zero
|
|
/* EA2FE4 802426E4 0220202D */ daddu $a0, $s1, $zero
|
|
.L802426E8:
|
|
/* EA2FE8 802426E8 8CA20000 */ lw $v0, ($a1)
|
|
/* EA2FEC 802426EC 24A50004 */ addiu $a1, $a1, 4
|
|
/* EA2FF0 802426F0 24630001 */ addiu $v1, $v1, 1
|
|
/* EA2FF4 802426F4 AC820084 */ sw $v0, 0x84($a0)
|
|
/* EA2FF8 802426F8 28620010 */ slti $v0, $v1, 0x10
|
|
/* EA2FFC 802426FC 1440FFFA */ bnez $v0, .L802426E8
|
|
/* EA3000 80242700 24840004 */ addiu $a0, $a0, 4
|
|
/* EA3004 80242704 3C108024 */ lui $s0, %hi(D_80244154_EA4A54)
|
|
/* EA3008 80242708 26104154 */ addiu $s0, $s0, %lo(D_80244154_EA4A54)
|
|
/* EA300C 8024270C 0C00B007 */ jal func_8002C01C
|
|
/* EA3010 80242710 8E040000 */ lw $a0, ($s0)
|
|
/* EA3014 80242714 AE000000 */ sw $zero, ($s0)
|
|
.L80242718:
|
|
/* EA3018 80242718 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* EA301C 8024271C 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* EA3020 80242720 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* EA3024 80242724 24020002 */ addiu $v0, $zero, 2
|
|
/* EA3028 80242728 03E00008 */ jr $ra
|
|
/* EA302C 8024272C 27BD0020 */ addiu $sp, $sp, 0x20
|