mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +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.5 KiB
ArmAsm
31 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80056A7C
|
|
/* 31E7C 80056A7C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 31E80 80056A80 00A0302D */ daddu $a2, $a1, $zero
|
|
/* 31E84 80056A84 308400FF */ andi $a0, $a0, 0xff
|
|
/* 31E88 80056A88 00041040 */ sll $v0, $a0, 1
|
|
/* 31E8C 80056A8C 00441021 */ addu $v0, $v0, $a0
|
|
/* 31E90 80056A90 3C038008 */ lui $v1, %hi(D_80078E24)
|
|
/* 31E94 80056A94 8C638E24 */ lw $v1, %lo(D_80078E24)($v1)
|
|
/* 31E98 80056A98 000210C0 */ sll $v0, $v0, 3
|
|
/* 31E9C 80056A9C AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 31EA0 80056AA0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 31EA4 80056AA4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 31EA8 80056AA8 8C700020 */ lw $s0, 0x20($v1)
|
|
/* 31EAC 80056AAC 30D100FF */ andi $s1, $a2, 0xff
|
|
/* 31EB0 80056AB0 02028021 */ addu $s0, $s0, $v0
|
|
/* 31EB4 80056AB4 8E040004 */ lw $a0, 4($s0)
|
|
/* 31EB8 80056AB8 0220282D */ daddu $a1, $s1, $zero
|
|
/* 31EBC 80056ABC 0C01633F */ jal func_80058CFC
|
|
/* 31EC0 80056AC0 A206000C */ sb $a2, 0xc($s0)
|
|
/* 31EC4 80056AC4 8E040008 */ lw $a0, 8($s0)
|
|
/* 31EC8 80056AC8 0C01633F */ jal func_80058CFC
|
|
/* 31ECC 80056ACC 0220282D */ daddu $a1, $s1, $zero
|
|
/* 31ED0 80056AD0 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 31ED4 80056AD4 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 31ED8 80056AD8 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 31EDC 80056ADC 03E00008 */ jr $ra
|
|
/* 31EE0 80056AE0 27BD0020 */ addiu $sp, $sp, 0x20
|