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>
35 lines
1.6 KiB
ArmAsm
35 lines
1.6 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800673B0
|
|
/* 427B0 800673B0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 427B4 800673B4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 427B8 800673B8 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 427BC 800673BC 0C01ACD0 */ jal func_8006B340
|
|
/* 427C0 800673C0 00808021 */ addu $s0, $a0, $zero
|
|
/* 427C4 800673C4 321000FF */ andi $s0, $s0, 0xff
|
|
/* 427C8 800673C8 12000006 */ beqz $s0, .L800673E4
|
|
/* 427CC 800673CC 00402021 */ addu $a0, $v0, $zero
|
|
/* 427D0 800673D0 3C038009 */ lui $v1, %hi(D_80095964)
|
|
/* 427D4 800673D4 8C635964 */ lw $v1, %lo(D_80095964)($v1)
|
|
/* 427D8 800673D8 94620000 */ lhu $v0, ($v1)
|
|
/* 427DC 800673DC 08019CFD */ j .L800673F4
|
|
/* 427E0 800673E0 34420040 */ ori $v0, $v0, 0x40
|
|
.L800673E4:
|
|
/* 427E4 800673E4 3C038009 */ lui $v1, %hi(D_80095964)
|
|
/* 427E8 800673E8 8C635964 */ lw $v1, %lo(D_80095964)($v1)
|
|
/* 427EC 800673EC 94620000 */ lhu $v0, ($v1)
|
|
/* 427F0 800673F0 3042FFBF */ andi $v0, $v0, 0xffbf
|
|
.L800673F4:
|
|
/* 427F4 800673F4 0C01ACEC */ jal func_8006B3B0
|
|
/* 427F8 800673F8 A4620000 */ sh $v0, ($v1)
|
|
/* 427FC 800673FC 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 42800 80067400 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 42804 80067404 03E00008 */ jr $ra
|
|
/* 42808 80067408 27BD0018 */ addiu $sp, $sp, 0x18
|
|
/* 4280C 8006740C 00000000 */ nop
|
|
/* 42810 80067410 00000000 */ nop
|
|
/* 42814 80067414 00000000 */ nop
|
|
/* 42818 80067418 00000000 */ nop
|
|
/* 4281C 8006741C 00000000 */ nop
|