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>
93 lines
4.9 KiB
ArmAsm
93 lines
4.9 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80067B00
|
|
/* 42F00 80067B00 27BDFFB8 */ addiu $sp, $sp, -0x48
|
|
/* 42F04 80067B04 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 42F08 80067B08 00808021 */ addu $s0, $a0, $zero
|
|
/* 42F0C 80067B0C 27A40050 */ addiu $a0, $sp, 0x50
|
|
/* 42F10 80067B10 F7B40018 */ sdc1 $f20, 0x18($sp)
|
|
/* 42F14 80067B14 4485A000 */ mtc1 $a1, $f20
|
|
/* 42F18 80067B18 27A50054 */ addiu $a1, $sp, 0x54
|
|
/* 42F1C 80067B1C AFA60050 */ sw $a2, 0x50($sp)
|
|
/* 42F20 80067B20 27A60058 */ addiu $a2, $sp, 0x58
|
|
/* 42F24 80067B24 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 42F28 80067B28 F7BE0040 */ sdc1 $f30, 0x40($sp)
|
|
/* 42F2C 80067B2C F7BC0038 */ sdc1 $f28, 0x38($sp)
|
|
/* 42F30 80067B30 F7BA0030 */ sdc1 $f26, 0x30($sp)
|
|
/* 42F34 80067B34 F7B80028 */ sdc1 $f24, 0x28($sp)
|
|
/* 42F38 80067B38 F7B60020 */ sdc1 $f22, 0x20($sp)
|
|
/* 42F3C 80067B3C 0C01B2E8 */ jal func_8006CBA0
|
|
/* 42F40 80067B40 AFA70054 */ sw $a3, 0x54($sp)
|
|
/* 42F44 80067B44 3C018009 */ lui $at, %hi(D_80095850)
|
|
/* 42F48 80067B48 C4205850 */ lwc1 $f0, %lo(D_80095850)($at)
|
|
/* 42F4C 80067B4C 4600A502 */ mul.s $f20, $f20, $f0
|
|
/* 42F50 80067B50 0C00A84B */ jal func_8002A12C
|
|
/* 42F54 80067B54 4600A306 */ mov.s $f12, $f20
|
|
/* 42F58 80067B58 4600A306 */ mov.s $f12, $f20
|
|
/* 42F5C 80067B5C 0C00A864 */ jal func_8002A190
|
|
/* 42F60 80067B60 46000786 */ mov.s $f30, $f0
|
|
/* 42F64 80067B64 C7A20050 */ lwc1 $f2, 0x50($sp)
|
|
/* 42F68 80067B68 C7B60054 */ lwc1 $f22, 0x54($sp)
|
|
/* 42F6C 80067B6C 46161702 */ mul.s $f28, $f2, $f22
|
|
/* 42F70 80067B70 C7B40058 */ lwc1 $f20, 0x58($sp)
|
|
/* 42F74 80067B74 4614B582 */ mul.s $f22, $f22, $f20
|
|
/* 42F78 80067B78 3C013F80 */ lui $at, 0x3f80
|
|
/* 42F7C 80067B7C 4481D000 */ mtc1 $at, $f26
|
|
/* 42F80 80067B80 4602A502 */ mul.s $f20, $f20, $f2
|
|
/* 42F84 80067B84 46000606 */ mov.s $f24, $f0
|
|
/* 42F88 80067B88 4618D301 */ sub.s $f12, $f26, $f24
|
|
/* 42F8C 80067B8C 460CE702 */ mul.s $f28, $f28, $f12
|
|
/* 42F90 80067B90 00000000 */ nop
|
|
/* 42F94 80067B94 460CB582 */ mul.s $f22, $f22, $f12
|
|
/* 42F98 80067B98 00000000 */ nop
|
|
/* 42F9C 80067B9C 460CA502 */ mul.s $f20, $f20, $f12
|
|
/* 42FA0 80067BA0 0C019D20 */ jal func_80067480
|
|
/* 42FA4 80067BA4 02002021 */ addu $a0, $s0, $zero
|
|
/* 42FA8 80067BA8 C7A20050 */ lwc1 $f2, 0x50($sp)
|
|
/* 42FAC 80067BAC 46021302 */ mul.s $f12, $f2, $f2
|
|
/* 42FB0 80067BB0 460CD001 */ sub.s $f0, $f26, $f12
|
|
/* 42FB4 80067BB4 4600C002 */ mul.s $f0, $f24, $f0
|
|
/* 42FB8 80067BB8 C7A40054 */ lwc1 $f4, 0x54($sp)
|
|
/* 42FBC 80067BBC C7A80058 */ lwc1 $f8, 0x58($sp)
|
|
/* 42FC0 80067BC0 46006000 */ add.s $f0, $f12, $f0
|
|
/* 42FC4 80067BC4 461E2102 */ mul.s $f4, $f4, $f30
|
|
/* 42FC8 80067BC8 E6000000 */ swc1 $f0, ($s0)
|
|
/* 42FCC 80067BCC C7A00054 */ lwc1 $f0, 0x54($sp)
|
|
/* 42FD0 80067BD0 46000302 */ mul.s $f12, $f0, $f0
|
|
/* 42FD4 80067BD4 00000000 */ nop
|
|
/* 42FD8 80067BD8 461E1082 */ mul.s $f2, $f2, $f30
|
|
/* 42FDC 80067BDC 460CD181 */ sub.s $f6, $f26, $f12
|
|
/* 42FE0 80067BE0 4604A000 */ add.s $f0, $f20, $f4
|
|
/* 42FE4 80067BE4 4606C182 */ mul.s $f6, $f24, $f6
|
|
/* 42FE8 80067BE8 4602B281 */ sub.s $f10, $f22, $f2
|
|
/* 42FEC 80067BEC E6000020 */ swc1 $f0, 0x20($s0)
|
|
/* 42FF0 80067BF0 C7A00058 */ lwc1 $f0, 0x58($sp)
|
|
/* 42FF4 80067BF4 46066180 */ add.s $f6, $f12, $f6
|
|
/* 42FF8 80067BF8 46000302 */ mul.s $f12, $f0, $f0
|
|
/* 42FFC 80067BFC 4602B580 */ add.s $f22, $f22, $f2
|
|
/* 43000 80067C00 4604A501 */ sub.s $f20, $f20, $f4
|
|
/* 43004 80067C04 461E4202 */ mul.s $f8, $f8, $f30
|
|
/* 43008 80067C08 460CD681 */ sub.s $f26, $f26, $f12
|
|
/* 4300C 80067C0C 4608E001 */ sub.s $f0, $f28, $f8
|
|
/* 43010 80067C10 461AC602 */ mul.s $f24, $f24, $f26
|
|
/* 43014 80067C14 4608E700 */ add.s $f28, $f28, $f8
|
|
/* 43018 80067C18 E60A0024 */ swc1 $f10, 0x24($s0)
|
|
/* 4301C 80067C1C E6160018 */ swc1 $f22, 0x18($s0)
|
|
/* 43020 80067C20 E6140008 */ swc1 $f20, 8($s0)
|
|
/* 43024 80067C24 46186600 */ add.s $f24, $f12, $f24
|
|
/* 43028 80067C28 E61C0004 */ swc1 $f28, 4($s0)
|
|
/* 4302C 80067C2C E6000010 */ swc1 $f0, 0x10($s0)
|
|
/* 43030 80067C30 E6060014 */ swc1 $f6, 0x14($s0)
|
|
/* 43034 80067C34 E6180028 */ swc1 $f24, 0x28($s0)
|
|
/* 43038 80067C38 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 4303C 80067C3C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 43040 80067C40 D7BE0040 */ ldc1 $f30, 0x40($sp)
|
|
/* 43044 80067C44 D7BC0038 */ ldc1 $f28, 0x38($sp)
|
|
/* 43048 80067C48 D7BA0030 */ ldc1 $f26, 0x30($sp)
|
|
/* 4304C 80067C4C D7B80028 */ ldc1 $f24, 0x28($sp)
|
|
/* 43050 80067C50 D7B60020 */ ldc1 $f22, 0x20($sp)
|
|
/* 43054 80067C54 D7B40018 */ ldc1 $f20, 0x18($sp)
|
|
/* 43058 80067C58 03E00008 */ jr $ra
|
|
/* 4305C 80067C5C 27BD0048 */ addiu $sp, $sp, 0x48
|