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>
101 lines
5.3 KiB
ArmAsm
101 lines
5.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80067C60
|
|
/* 43060 80067C60 27BDFF58 */ addiu $sp, $sp, -0xa8
|
|
/* 43064 80067C64 C7A000B8 */ lwc1 $f0, 0xb8($sp)
|
|
/* 43068 80067C68 AFB1006C */ sw $s1, 0x6c($sp)
|
|
/* 4306C 80067C6C 00808821 */ addu $s1, $a0, $zero
|
|
/* 43070 80067C70 27A40058 */ addiu $a0, $sp, 0x58
|
|
/* 43074 80067C74 F7B40078 */ sdc1 $f20, 0x78($sp)
|
|
/* 43078 80067C78 4485A000 */ mtc1 $a1, $f20
|
|
/* 4307C 80067C7C 27A5005C */ addiu $a1, $sp, 0x5c
|
|
/* 43080 80067C80 AFA60058 */ sw $a2, 0x58($sp)
|
|
/* 43084 80067C84 27A60060 */ addiu $a2, $sp, 0x60
|
|
/* 43088 80067C88 AFBF0070 */ sw $ra, 0x70($sp)
|
|
/* 4308C 80067C8C AFB00068 */ sw $s0, 0x68($sp)
|
|
/* 43090 80067C90 F7BE00A0 */ sdc1 $f30, 0xa0($sp)
|
|
/* 43094 80067C94 F7BC0098 */ sdc1 $f28, 0x98($sp)
|
|
/* 43098 80067C98 F7BA0090 */ sdc1 $f26, 0x90($sp)
|
|
/* 4309C 80067C9C F7B80088 */ sdc1 $f24, 0x88($sp)
|
|
/* 430A0 80067CA0 F7B60080 */ sdc1 $f22, 0x80($sp)
|
|
/* 430A4 80067CA4 AFA7005C */ sw $a3, 0x5c($sp)
|
|
/* 430A8 80067CA8 0C01B2E8 */ jal func_8006CBA0
|
|
/* 430AC 80067CAC E7A00060 */ swc1 $f0, 0x60($sp)
|
|
/* 430B0 80067CB0 3C018009 */ lui $at, %hi(D_80095850)
|
|
/* 430B4 80067CB4 C4205850 */ lwc1 $f0, %lo(D_80095850)($at)
|
|
/* 430B8 80067CB8 4600A502 */ mul.s $f20, $f20, $f0
|
|
/* 430BC 80067CBC 0C00A84B */ jal func_8002A12C
|
|
/* 430C0 80067CC0 4600A306 */ mov.s $f12, $f20
|
|
/* 430C4 80067CC4 4600A306 */ mov.s $f12, $f20
|
|
/* 430C8 80067CC8 0C00A864 */ jal func_8002A190
|
|
/* 430CC 80067CCC 46000786 */ mov.s $f30, $f0
|
|
/* 430D0 80067CD0 C7A20058 */ lwc1 $f2, 0x58($sp)
|
|
/* 430D4 80067CD4 C7B6005C */ lwc1 $f22, 0x5c($sp)
|
|
/* 430D8 80067CD8 46161702 */ mul.s $f28, $f2, $f22
|
|
/* 430DC 80067CDC C7B40060 */ lwc1 $f20, 0x60($sp)
|
|
/* 430E0 80067CE0 4614B582 */ mul.s $f22, $f22, $f20
|
|
/* 430E4 80067CE4 3C013F80 */ lui $at, 0x3f80
|
|
/* 430E8 80067CE8 4481D000 */ mtc1 $at, $f26
|
|
/* 430EC 80067CEC 4602A502 */ mul.s $f20, $f20, $f2
|
|
/* 430F0 80067CF0 46000606 */ mov.s $f24, $f0
|
|
/* 430F4 80067CF4 4618D301 */ sub.s $f12, $f26, $f24
|
|
/* 430F8 80067CF8 460CE702 */ mul.s $f28, $f28, $f12
|
|
/* 430FC 80067CFC 00000000 */ nop
|
|
/* 43100 80067D00 460CB582 */ mul.s $f22, $f22, $f12
|
|
/* 43104 80067D04 00000000 */ nop
|
|
/* 43108 80067D08 460CA502 */ mul.s $f20, $f20, $f12
|
|
/* 4310C 80067D0C 27B00010 */ addiu $s0, $sp, 0x10
|
|
/* 43110 80067D10 0C019D20 */ jal func_80067480
|
|
/* 43114 80067D14 02002021 */ addu $a0, $s0, $zero
|
|
/* 43118 80067D18 C7A00058 */ lwc1 $f0, 0x58($sp)
|
|
/* 4311C 80067D1C 46000302 */ mul.s $f12, $f0, $f0
|
|
/* 43120 80067D20 460CD181 */ sub.s $f6, $f26, $f12
|
|
/* 43124 80067D24 4606C182 */ mul.s $f6, $f24, $f6
|
|
/* 43128 80067D28 C7A2005C */ lwc1 $f2, 0x5c($sp)
|
|
/* 4312C 80067D2C 46066180 */ add.s $f6, $f12, $f6
|
|
/* 43130 80067D30 46021302 */ mul.s $f12, $f2, $f2
|
|
/* 43134 80067D34 00000000 */ nop
|
|
/* 43138 80067D38 461E0002 */ mul.s $f0, $f0, $f30
|
|
/* 4313C 80067D3C 460CD101 */ sub.s $f4, $f26, $f12
|
|
/* 43140 80067D40 4604C102 */ mul.s $f4, $f24, $f4
|
|
/* 43144 80067D44 4600B281 */ sub.s $f10, $f22, $f0
|
|
/* 43148 80067D48 461E1082 */ mul.s $f2, $f2, $f30
|
|
/* 4314C 80067D4C 4600B580 */ add.s $f22, $f22, $f0
|
|
/* 43150 80067D50 C7A00060 */ lwc1 $f0, 0x60($sp)
|
|
/* 43154 80067D54 46046100 */ add.s $f4, $f12, $f4
|
|
/* 43158 80067D58 46000302 */ mul.s $f12, $f0, $f0
|
|
/* 4315C 80067D5C 4602A200 */ add.s $f8, $f20, $f2
|
|
/* 43160 80067D60 4602A501 */ sub.s $f20, $f20, $f2
|
|
/* 43164 80067D64 461E0002 */ mul.s $f0, $f0, $f30
|
|
/* 43168 80067D68 460CD681 */ sub.s $f26, $f26, $f12
|
|
/* 4316C 80067D6C 02002021 */ addu $a0, $s0, $zero
|
|
/* 43170 80067D70 02202821 */ addu $a1, $s1, $zero
|
|
/* 43174 80067D74 4600E081 */ sub.s $f2, $f28, $f0
|
|
/* 43178 80067D78 461AC602 */ mul.s $f24, $f24, $f26
|
|
/* 4317C 80067D7C E7AA0034 */ swc1 $f10, 0x34($sp)
|
|
/* 43180 80067D80 E7B60028 */ swc1 $f22, 0x28($sp)
|
|
/* 43184 80067D84 4600E700 */ add.s $f28, $f28, $f0
|
|
/* 43188 80067D88 E7A60010 */ swc1 $f6, 0x10($sp)
|
|
/* 4318C 80067D8C E7A80030 */ swc1 $f8, 0x30($sp)
|
|
/* 43190 80067D90 E7B40018 */ swc1 $f20, 0x18($sp)
|
|
/* 43194 80067D94 46186600 */ add.s $f24, $f12, $f24
|
|
/* 43198 80067D98 E7A40024 */ swc1 $f4, 0x24($sp)
|
|
/* 4319C 80067D9C E7A20020 */ swc1 $f2, 0x20($sp)
|
|
/* 431A0 80067DA0 E7BC0014 */ swc1 $f28, 0x14($sp)
|
|
/* 431A4 80067DA4 0C019D38 */ jal func_800674E0
|
|
/* 431A8 80067DA8 E7B80038 */ swc1 $f24, 0x38($sp)
|
|
/* 431AC 80067DAC 8FBF0070 */ lw $ra, 0x70($sp)
|
|
/* 431B0 80067DB0 8FB1006C */ lw $s1, 0x6c($sp)
|
|
/* 431B4 80067DB4 8FB00068 */ lw $s0, 0x68($sp)
|
|
/* 431B8 80067DB8 D7BE00A0 */ ldc1 $f30, 0xa0($sp)
|
|
/* 431BC 80067DBC D7BC0098 */ ldc1 $f28, 0x98($sp)
|
|
/* 431C0 80067DC0 D7BA0090 */ ldc1 $f26, 0x90($sp)
|
|
/* 431C4 80067DC4 D7B80088 */ ldc1 $f24, 0x88($sp)
|
|
/* 431C8 80067DC8 D7B60080 */ ldc1 $f22, 0x80($sp)
|
|
/* 431CC 80067DCC D7B40078 */ ldc1 $f20, 0x78($sp)
|
|
/* 431D0 80067DD0 03E00008 */ jr $ra
|
|
/* 431D4 80067DD4 27BD00A8 */ addiu $sp, $sp, 0xa8
|
|
/* 431D8 80067DD8 00000000 */ nop
|
|
/* 431DC 80067DDC 00000000 */ nop
|