mirror of
https://github.com/pmret/papermario.git
synced 2024-11-19 01:12:28 +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>
29 lines
1.3 KiB
ArmAsm
29 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8006CBA0
|
|
/* 47FA0 8006CBA0 C4840000 */ lwc1 $f4, ($a0)
|
|
/* 47FA4 8006CBA4 C4A60000 */ lwc1 $f6, ($a1)
|
|
/* 47FA8 8006CBA8 C4C80000 */ lwc1 $f8, ($a2)
|
|
/* 47FAC 8006CBAC 46042282 */ mul.s $f10, $f4, $f4
|
|
/* 47FB0 8006CBB0 3C083F80 */ lui $t0, 0x3f80
|
|
/* 47FB4 8006CBB4 46063402 */ mul.s $f16, $f6, $f6
|
|
/* 47FB8 8006CBB8 46105480 */ add.s $f18, $f10, $f16
|
|
/* 47FBC 8006CBBC 46084402 */ mul.s $f16, $f8, $f8
|
|
/* 47FC0 8006CBC0 46128280 */ add.s $f10, $f16, $f18
|
|
/* 47FC4 8006CBC4 44889000 */ mtc1 $t0, $f18
|
|
/* 47FC8 8006CBC8 46005404 */ sqrt.s $f16, $f10
|
|
/* 47FCC 8006CBCC 46109283 */ div.s $f10, $f18, $f16
|
|
/* 47FD0 8006CBD0 460A2402 */ mul.s $f16, $f4, $f10
|
|
/* 47FD4 8006CBD4 00000000 */ nop
|
|
/* 47FD8 8006CBD8 460A3482 */ mul.s $f18, $f6, $f10
|
|
/* 47FDC 8006CBDC 00000000 */ nop
|
|
/* 47FE0 8006CBE0 460A4102 */ mul.s $f4, $f8, $f10
|
|
/* 47FE4 8006CBE4 E4900000 */ swc1 $f16, ($a0)
|
|
/* 47FE8 8006CBE8 E4B20000 */ swc1 $f18, ($a1)
|
|
/* 47FEC 8006CBEC 03E00008 */ jr $ra
|
|
/* 47FF0 8006CBF0 E4C40000 */ swc1 $f4, ($a2)
|
|
/* 47FF4 8006CBF4 00000000 */ nop
|
|
/* 47FF8 8006CBF8 00000000 */ nop
|
|
/* 47FFC 8006CBFC 00000000 */ nop
|