mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +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>
37 lines
1.8 KiB
ArmAsm
37 lines
1.8 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800459C0
|
|
/* 20DC0 800459C0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 20DC4 800459C4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 20DC8 800459C8 0080802D */ daddu $s0, $a0, $zero
|
|
/* 20DCC 800459CC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 20DD0 800459D0 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 20DD4 800459D4 0C011652 */ jal func_80045948
|
|
/* 20DD8 800459D8 00A0882D */ daddu $s1, $a1, $zero
|
|
/* 20DDC 800459DC 0040182D */ daddu $v1, $v0, $zero
|
|
/* 20DE0 800459E0 10600011 */ beqz $v1, .L80045A28
|
|
/* 20DE4 800459E4 00000000 */ nop
|
|
/* 20DE8 800459E8 3C028004 */ lui $v0, %hi(func_80045A3C)
|
|
/* 20DEC 800459EC 24425A3C */ addiu $v0, $v0, %lo(func_80045A3C)
|
|
/* 20DF0 800459F0 AC620004 */ sw $v0, 4($v1)
|
|
/* 20DF4 800459F4 3C028004 */ lui $v0, %hi(func_80045B5C)
|
|
/* 20DF8 800459F8 24425B5C */ addiu $v0, $v0, %lo(func_80045B5C)
|
|
/* 20DFC 800459FC AC62000C */ sw $v0, 0xc($v1)
|
|
/* 20E00 80045A00 24020001 */ addiu $v0, $zero, 1
|
|
/* 20E04 80045A04 A0620017 */ sb $v0, 0x17($v1)
|
|
/* 20E08 80045A08 24020001 */ addiu $v0, $zero, 1
|
|
/* 20E0C 80045A0C AC600000 */ sw $zero, ($v1)
|
|
/* 20E10 80045A10 AC600008 */ sw $zero, 8($v1)
|
|
/* 20E14 80045A14 A4700012 */ sh $s0, 0x12($v1)
|
|
/* 20E18 80045A18 A4710014 */ sh $s1, 0x14($v1)
|
|
/* 20E1C 80045A1C A0600016 */ sb $zero, 0x16($v1)
|
|
/* 20E20 80045A20 3C01800A */ lui $at, %hi(D_8009ED50)
|
|
/* 20E24 80045A24 AC22ED50 */ sw $v0, %lo(D_8009ED50)($at)
|
|
.L80045A28:
|
|
/* 20E28 80045A28 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 20E2C 80045A2C 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 20E30 80045A30 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 20E34 80045A34 03E00008 */ jr $ra
|
|
/* 20E38 80045A38 27BD0020 */ addiu $sp, $sp, 0x20
|