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>
28 lines
1.4 KiB
ArmAsm
28 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8003F058
|
|
/* 1A458 8003F058 3C038007 */ lui $v1, %hi(D_800773E0)
|
|
/* 1A45C 8003F05C 8C6373E0 */ lw $v1, %lo(D_800773E0)($v1)
|
|
/* 1A460 8003F060 3C05800B */ lui $a1, %hi(D_800B1D60)
|
|
/* 1A464 8003F064 24A51D60 */ addiu $a1, $a1, %lo(D_800B1D60)
|
|
/* 1A468 8003F068 00031080 */ sll $v0, $v1, 2
|
|
/* 1A46C 8003F06C 00431021 */ addu $v0, $v0, $v1
|
|
/* 1A470 8003F070 00021080 */ sll $v0, $v0, 2
|
|
/* 1A474 8003F074 00431023 */ subu $v0, $v0, $v1
|
|
/* 1A478 8003F078 000218C0 */ sll $v1, $v0, 3
|
|
/* 1A47C 8003F07C 00431021 */ addu $v0, $v0, $v1
|
|
/* 1A480 8003F080 000210C0 */ sll $v0, $v0, 3
|
|
/* 1A484 8003F084 00451021 */ addu $v0, $v0, $a1
|
|
/* 1A488 8003F088 C4400048 */ lwc1 $f0, 0x48($v0)
|
|
/* 1A48C 8003F08C 4600008D */ trunc.w.s $f2, $f0
|
|
/* 1A490 8003F090 E4820084 */ swc1 $f2, 0x84($a0)
|
|
/* 1A494 8003F094 C440004C */ lwc1 $f0, 0x4c($v0)
|
|
/* 1A498 8003F098 4600008D */ trunc.w.s $f2, $f0
|
|
/* 1A49C 8003F09C E4820088 */ swc1 $f2, 0x88($a0)
|
|
/* 1A4A0 8003F0A0 C4400050 */ lwc1 $f0, 0x50($v0)
|
|
/* 1A4A4 8003F0A4 4600008D */ trunc.w.s $f2, $f0
|
|
/* 1A4A8 8003F0A8 E482008C */ swc1 $f2, 0x8c($a0)
|
|
/* 1A4AC 8003F0AC 03E00008 */ jr $ra
|
|
/* 1A4B0 8003F0B0 24020002 */ addiu $v0, $zero, 2
|