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_80240080_ED42A0
|
|
/* ED42A0 80240080 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* ED42A4 80240084 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* ED42A8 80240088 3C108024 */ lui $s0, %hi(D_80241DA0_ED5FC0)
|
|
/* ED42AC 8024008C 26101DA0 */ addiu $s0, $s0, %lo(D_80241DA0_ED5FC0)
|
|
/* ED42B0 80240090 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* ED42B4 80240094 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* ED42B8 80240098 8E020000 */ lw $v0, ($s0)
|
|
/* ED42BC 8024009C 14400010 */ bnez $v0, .L802400E0
|
|
/* ED42C0 802400A0 0080882D */ daddu $s1, $a0, $zero
|
|
/* ED42C4 802400A4 0C00AFF5 */ jal func_8002BFD4
|
|
/* ED42C8 802400A8 24040040 */ addiu $a0, $zero, 0x40
|
|
/* ED42CC 802400AC AE020000 */ sw $v0, ($s0)
|
|
/* ED42D0 802400B0 0000182D */ daddu $v1, $zero, $zero
|
|
/* ED42D4 802400B4 0040282D */ daddu $a1, $v0, $zero
|
|
/* ED42D8 802400B8 0220202D */ daddu $a0, $s1, $zero
|
|
.L802400BC:
|
|
/* ED42DC 802400BC 8C820084 */ lw $v0, 0x84($a0)
|
|
/* ED42E0 802400C0 24840004 */ addiu $a0, $a0, 4
|
|
/* ED42E4 802400C4 24630001 */ addiu $v1, $v1, 1
|
|
/* ED42E8 802400C8 ACA20000 */ sw $v0, ($a1)
|
|
/* ED42EC 802400CC 28620010 */ slti $v0, $v1, 0x10
|
|
/* ED42F0 802400D0 1440FFFA */ bnez $v0, .L802400BC
|
|
/* ED42F4 802400D4 24A50004 */ addiu $a1, $a1, 4
|
|
/* ED42F8 802400D8 08090047 */ j .L8024011C
|
|
/* ED42FC 802400DC 00000000 */ nop
|
|
.L802400E0:
|
|
/* ED4300 802400E0 0000182D */ daddu $v1, $zero, $zero
|
|
/* ED4304 802400E4 0040282D */ daddu $a1, $v0, $zero
|
|
/* ED4308 802400E8 0220202D */ daddu $a0, $s1, $zero
|
|
.L802400EC:
|
|
/* ED430C 802400EC 8CA20000 */ lw $v0, ($a1)
|
|
/* ED4310 802400F0 24A50004 */ addiu $a1, $a1, 4
|
|
/* ED4314 802400F4 24630001 */ addiu $v1, $v1, 1
|
|
/* ED4318 802400F8 AC820084 */ sw $v0, 0x84($a0)
|
|
/* ED431C 802400FC 28620010 */ slti $v0, $v1, 0x10
|
|
/* ED4320 80240100 1440FFFA */ bnez $v0, .L802400EC
|
|
/* ED4324 80240104 24840004 */ addiu $a0, $a0, 4
|
|
/* ED4328 80240108 3C108024 */ lui $s0, %hi(D_80241DA0_ED5FC0)
|
|
/* ED432C 8024010C 26101DA0 */ addiu $s0, $s0, %lo(D_80241DA0_ED5FC0)
|
|
/* ED4330 80240110 0C00B007 */ jal func_8002C01C
|
|
/* ED4334 80240114 8E040000 */ lw $a0, ($s0)
|
|
/* ED4338 80240118 AE000000 */ sw $zero, ($s0)
|
|
.L8024011C:
|
|
/* ED433C 8024011C 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* ED4340 80240120 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* ED4344 80240124 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* ED4348 80240128 24020002 */ addiu $v0, $zero, 2
|
|
/* ED434C 8024012C 03E00008 */ jr $ra
|
|
/* ED4350 80240130 27BD0020 */ addiu $sp, $sp, 0x20
|