papermario/asm/nonmatchings/code_7997B0/func_802A1518_799CC8.s
Ethan Roseman 20a99f4037 OK
2021-02-03 15:40:16 +09:00

1069 lines
55 KiB
ArmAsm
Generated

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_799CC8
/* 799CC8 802A1518 27BDFF68 */ addiu $sp, $sp, -0x98
/* 799CCC 802A151C AFB50054 */ sw $s5, 0x54($sp)
/* 799CD0 802A1520 3C15800E */ lui $s5, %hi(gBattleStatus+0xD8)
/* 799CD4 802A1524 8EB5C148 */ lw $s5, %lo(gBattleStatus+0xD8)($s5)
/* 799CD8 802A1528 AFBE0060 */ sw $fp, 0x60($sp)
/* 799CDC 802A152C 0080F02D */ daddu $fp, $a0, $zero
/* 799CE0 802A1530 AFBF0064 */ sw $ra, 0x64($sp)
/* 799CE4 802A1534 AFB7005C */ sw $s7, 0x5c($sp)
/* 799CE8 802A1538 AFB60058 */ sw $s6, 0x58($sp)
/* 799CEC 802A153C AFB40050 */ sw $s4, 0x50($sp)
/* 799CF0 802A1540 AFB3004C */ sw $s3, 0x4c($sp)
/* 799CF4 802A1544 AFB20048 */ sw $s2, 0x48($sp)
/* 799CF8 802A1548 AFB10044 */ sw $s1, 0x44($sp)
/* 799CFC 802A154C AFB00040 */ sw $s0, 0x40($sp)
/* 799D00 802A1550 F7BE0090 */ sdc1 $f30, 0x90($sp)
/* 799D04 802A1554 F7BC0088 */ sdc1 $f28, 0x88($sp)
/* 799D08 802A1558 F7BA0080 */ sdc1 $f26, 0x80($sp)
/* 799D0C 802A155C F7B80078 */ sdc1 $f24, 0x78($sp)
/* 799D10 802A1560 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 799D14 802A1564 F7B40068 */ sdc1 $f20, 0x68($sp)
/* 799D18 802A1568 8FC2000C */ lw $v0, 0xc($fp)
/* 799D1C 802A156C 10A00007 */ beqz $a1, .L802A158C
/* 799D20 802A1570 26B1000C */ addiu $s1, $s5, 0xc
/* 799D24 802A1574 3C01802A */ lui $at, %hi(D_802A3838)
/* 799D28 802A1578 AC203838 */ sw $zero, %lo(D_802A3838)($at)
/* 799D2C 802A157C 0C0B1EAF */ jal get_variable
/* 799D30 802A1580 8C450000 */ lw $a1, ($v0)
/* 799D34 802A1584 AFC20078 */ sw $v0, 0x78($fp)
/* 799D38 802A1588 AFC00070 */ sw $zero, 0x70($fp)
.L802A158C:
/* 799D3C 802A158C 82A3040C */ lb $v1, 0x40c($s5)
/* 799D40 802A1590 24020001 */ addiu $v0, $zero, 1
/* 799D44 802A1594 14620040 */ bne $v1, $v0, .L802A1698
/* 799D48 802A1598 00000000 */ nop
/* 799D4C 802A159C 0C09A75B */ jal get_actor
/* 799D50 802A15A0 86A40428 */ lh $a0, 0x428($s5)
/* 799D54 802A15A4 0040802D */ daddu $s0, $v0, $zero
/* 799D58 802A15A8 1200039D */ beqz $s0, .L802A2420
/* 799D5C 802A15AC 24020002 */ addiu $v0, $zero, 2
/* 799D60 802A15B0 82A50426 */ lb $a1, 0x426($s5)
/* 799D64 802A15B4 0C099117 */ jal get_actor_part
/* 799D68 802A15B8 0200202D */ daddu $a0, $s0, $zero
/* 799D6C 802A15BC 86020150 */ lh $v0, 0x150($s0)
/* 799D70 802A15C0 C6000144 */ lwc1 $f0, 0x144($s0)
/* 799D74 802A15C4 8E030000 */ lw $v1, ($s0)
/* 799D78 802A15C8 44821000 */ mtc1 $v0, $f2
/* 799D7C 802A15CC 00000000 */ nop
/* 799D80 802A15D0 468010A0 */ cvt.s.w $f2, $f2
/* 799D84 802A15D4 30620800 */ andi $v0, $v1, 0x800
/* 799D88 802A15D8 1040000D */ beqz $v0, .L802A1610
/* 799D8C 802A15DC 46020700 */ add.s $f28, $f0, $f2
/* 799D90 802A15E0 86020152 */ lh $v0, 0x152($s0)
/* 799D94 802A15E4 C6000148 */ lwc1 $f0, 0x148($s0)
/* 799D98 802A15E8 44821000 */ mtc1 $v0, $f2
/* 799D9C 802A15EC 00000000 */ nop
/* 799DA0 802A15F0 468010A0 */ cvt.s.w $f2, $f2
/* 799DA4 802A15F4 92020191 */ lbu $v0, 0x191($s0)
/* 799DA8 802A15F8 46020000 */ add.s $f0, $f0, $f2
/* 799DAC 802A15FC 44821000 */ mtc1 $v0, $f2
/* 799DB0 802A1600 00000000 */ nop
/* 799DB4 802A1604 468010A0 */ cvt.s.w $f2, $f2
/* 799DB8 802A1608 080A859F */ j .L802A167C
/* 799DBC 802A160C 46020601 */ sub.s $f24, $f0, $f2
.L802A1610:
/* 799DC0 802A1610 30628000 */ andi $v0, $v1, 0x8000
/* 799DC4 802A1614 1440000D */ bnez $v0, .L802A164C
/* 799DC8 802A1618 00000000 */ nop
/* 799DCC 802A161C 86020152 */ lh $v0, 0x152($s0)
/* 799DD0 802A1620 C6000148 */ lwc1 $f0, 0x148($s0)
/* 799DD4 802A1624 44821000 */ mtc1 $v0, $f2
/* 799DD8 802A1628 00000000 */ nop
/* 799DDC 802A162C 468010A0 */ cvt.s.w $f2, $f2
/* 799DE0 802A1630 92020191 */ lbu $v0, 0x191($s0)
/* 799DE4 802A1634 46020000 */ add.s $f0, $f0, $f2
/* 799DE8 802A1638 44821000 */ mtc1 $v0, $f2
/* 799DEC 802A163C 00000000 */ nop
/* 799DF0 802A1640 468010A0 */ cvt.s.w $f2, $f2
/* 799DF4 802A1644 080A859F */ j .L802A167C
/* 799DF8 802A1648 46001600 */ add.s $f24, $f2, $f0
.L802A164C:
/* 799DFC 802A164C 86020152 */ lh $v0, 0x152($s0)
/* 799E00 802A1650 C6020148 */ lwc1 $f2, 0x148($s0)
/* 799E04 802A1654 44820000 */ mtc1 $v0, $f0
/* 799E08 802A1658 00000000 */ nop
/* 799E0C 802A165C 46800020 */ cvt.s.w $f0, $f0
/* 799E10 802A1660 92020191 */ lbu $v0, 0x191($s0)
/* 799E14 802A1664 46001080 */ add.s $f2, $f2, $f0
/* 799E18 802A1668 00021040 */ sll $v0, $v0, 1
/* 799E1C 802A166C 44820000 */ mtc1 $v0, $f0
/* 799E20 802A1670 00000000 */ nop
/* 799E24 802A1674 46800020 */ cvt.s.w $f0, $f0
/* 799E28 802A1678 46001600 */ add.s $f24, $f2, $f0
.L802A167C:
/* 799E2C 802A167C 86020154 */ lh $v0, 0x154($s0)
/* 799E30 802A1680 C602014C */ lwc1 $f2, 0x14c($s0)
/* 799E34 802A1684 44820000 */ mtc1 $v0, $f0
/* 799E38 802A1688 00000000 */ nop
/* 799E3C 802A168C 46800020 */ cvt.s.w $f0, $f0
/* 799E40 802A1690 080A85AB */ j .L802A16AC
/* 799E44 802A1694 46001680 */ add.s $f26, $f2, $f0
.L802A1698:
/* 799E48 802A1698 3C014280 */ lui $at, 0x4280
/* 799E4C 802A169C 4481E000 */ mtc1 $at, $f28
/* 799E50 802A16A0 3C0142A0 */ lui $at, 0x42a0
/* 799E54 802A16A4 4481C000 */ mtc1 $at, $f24
/* 799E58 802A16A8 4480D000 */ mtc1 $zero, $f26
.L802A16AC:
/* 799E5C 802A16AC 8FC30070 */ lw $v1, 0x70($fp)
/* 799E60 802A16B0 18600077 */ blez $v1, .L802A1890
/* 799E64 802A16B4 2862000A */ slti $v0, $v1, 0xa
/* 799E68 802A16B8 14400006 */ bnez $v0, .L802A16D4
/* 799E6C 802A16BC 0000902D */ daddu $s2, $zero, $zero
/* 799E70 802A16C0 2402000A */ addiu $v0, $zero, 0xa
/* 799E74 802A16C4 1062003B */ beq $v1, $v0, .L802A17B4
/* 799E78 802A16C8 2C620016 */ sltiu $v0, $v1, 0x16
/* 799E7C 802A16CC 080A8625 */ j .L802A1894
/* 799E80 802A16D0 00000000 */ nop
.L802A16D4:
/* 799E84 802A16D4 24160014 */ addiu $s6, $zero, 0x14
/* 799E88 802A16D8 2417000A */ addiu $s7, $zero, 0xa
/* 799E8C 802A16DC 3C13802A */ lui $s3, %hi(D_802A37F8)
/* 799E90 802A16E0 267337F8 */ addiu $s3, $s3, %lo(D_802A37F8)
/* 799E94 802A16E4 3C0141A0 */ lui $at, 0x41a0
/* 799E98 802A16E8 4481A000 */ mtc1 $at, $f20
/* 799E9C 802A16EC 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 799EA0 802A16F0 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 799EA4 802A16F4 3C013F80 */ lui $at, 0x3f80
/* 799EA8 802A16F8 4481B000 */ mtc1 $at, $f22
/* 799EAC 802A16FC 8C42000C */ lw $v0, 0xc($v0)
/* 799EB0 802A1700 2414005C */ addiu $s4, $zero, 0x5c
/* 799EB4 802A1704 AFA20028 */ sw $v0, 0x28($sp)
.L802A1708:
/* 799EB8 802A1708 8FC20078 */ lw $v0, 0x78($fp)
/* 799EBC 802A170C 14400003 */ bnez $v0, .L802A171C
/* 799EC0 802A1710 00121880 */ sll $v1, $s2, 2
/* 799EC4 802A1714 52400021 */ beql $s2, $zero, .L802A179C
/* 799EC8 802A1718 26730004 */ addiu $s3, $s3, 4
.L802A171C:
/* 799ECC 802A171C 8FA80028 */ lw $t0, 0x28($sp)
/* 799ED0 802A1720 8E620000 */ lw $v0, ($s3)
/* 799ED4 802A1724 10400004 */ beqz $v0, .L802A1738
/* 799ED8 802A1728 01148021 */ addu $s0, $t0, $s4
/* 799EDC 802A172C 2442FFFF */ addiu $v0, $v0, -1
/* 799EE0 802A1730 080A85E6 */ j .L802A1798
/* 799EE4 802A1734 AE620000 */ sw $v0, ($s3)
.L802A1738:
/* 799EE8 802A1738 3C08802A */ lui $t0, %hi(D_802A3514_79BCC4)
/* 799EEC 802A173C 25083514 */ addiu $t0, $t0, %lo(D_802A3514_79BCC4)
/* 799EF0 802A1740 00681021 */ addu $v0, $v1, $t0
/* 799EF4 802A1744 AE760000 */ sw $s6, ($s3)
/* 799EF8 802A1748 8C420000 */ lw $v0, ($v0)
/* 799EFC 802A174C 1C400009 */ bgtz $v0, .L802A1774
/* 799F00 802A1750 E7B40010 */ swc1 $f20, 0x10($sp)
/* 799F04 802A1754 E7B40014 */ swc1 $f20, 0x14($sp)
/* 799F08 802A1758 E7B60018 */ swc1 $f22, 0x18($sp)
/* 799F0C 802A175C AFB7001C */ sw $s7, 0x1c($sp)
/* 799F10 802A1760 AFB60020 */ sw $s6, 0x20($sp)
/* 799F14 802A1764 8E050010 */ lw $a1, 0x10($s0)
/* 799F18 802A1768 8E060014 */ lw $a2, 0x14($s0)
/* 799F1C 802A176C 080A85E4 */ j .L802A1790
/* 799F20 802A1770 8E070018 */ lw $a3, 0x18($s0)
.L802A1774:
/* 799F24 802A1774 E7B40014 */ swc1 $f20, 0x14($sp)
/* 799F28 802A1778 E7B60018 */ swc1 $f22, 0x18($sp)
/* 799F2C 802A177C AFB7001C */ sw $s7, 0x1c($sp)
/* 799F30 802A1780 AFB60020 */ sw $s6, 0x20($sp)
/* 799F34 802A1784 8E050004 */ lw $a1, 4($s0)
/* 799F38 802A1788 8E060008 */ lw $a2, 8($s0)
/* 799F3C 802A178C 8E07000C */ lw $a3, 0xc($s0)
.L802A1790:
/* 799F40 802A1790 0C01C8D4 */ jal func_80072350
/* 799F44 802A1794 24040004 */ addiu $a0, $zero, 4
.L802A1798:
/* 799F48 802A1798 26730004 */ addiu $s3, $s3, 4
.L802A179C:
/* 799F4C 802A179C 26520001 */ addiu $s2, $s2, 1
/* 799F50 802A17A0 2A420008 */ slti $v0, $s2, 8
/* 799F54 802A17A4 1440FFD8 */ bnez $v0, .L802A1708
/* 799F58 802A17A8 2694001C */ addiu $s4, $s4, 0x1c
/* 799F5C 802A17AC 080A8623 */ j .L802A188C
/* 799F60 802A17B0 00000000 */ nop
.L802A17B4:
/* 799F64 802A17B4 24160014 */ addiu $s6, $zero, 0x14
/* 799F68 802A17B8 2417000A */ addiu $s7, $zero, 0xa
/* 799F6C 802A17BC 3C13802A */ lui $s3, %hi(D_802A37F8)
/* 799F70 802A17C0 267337F8 */ addiu $s3, $s3, %lo(D_802A37F8)
/* 799F74 802A17C4 3C0141A0 */ lui $at, 0x41a0
/* 799F78 802A17C8 4481A000 */ mtc1 $at, $f20
/* 799F7C 802A17CC 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 799F80 802A17D0 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 799F84 802A17D4 3C013F80 */ lui $at, 0x3f80
/* 799F88 802A17D8 4481B000 */ mtc1 $at, $f22
/* 799F8C 802A17DC 8C42000C */ lw $v0, 0xc($v0)
/* 799F90 802A17E0 2414005C */ addiu $s4, $zero, 0x5c
/* 799F94 802A17E4 AFA20028 */ sw $v0, 0x28($sp)
.L802A17E8:
/* 799F98 802A17E8 8FC20078 */ lw $v0, 0x78($fp)
/* 799F9C 802A17EC 14400003 */ bnez $v0, .L802A17FC
/* 799FA0 802A17F0 00121880 */ sll $v1, $s2, 2
/* 799FA4 802A17F4 52400021 */ beql $s2, $zero, .L802A187C
/* 799FA8 802A17F8 26730004 */ addiu $s3, $s3, 4
.L802A17FC:
/* 799FAC 802A17FC 8FA80028 */ lw $t0, 0x28($sp)
/* 799FB0 802A1800 8E620000 */ lw $v0, ($s3)
/* 799FB4 802A1804 10400004 */ beqz $v0, .L802A1818
/* 799FB8 802A1808 01148021 */ addu $s0, $t0, $s4
/* 799FBC 802A180C 2442FFFF */ addiu $v0, $v0, -1
/* 799FC0 802A1810 080A861E */ j .L802A1878
/* 799FC4 802A1814 AE620000 */ sw $v0, ($s3)
.L802A1818:
/* 799FC8 802A1818 3C08802A */ lui $t0, %hi(D_802A3534_79BCE4)
/* 799FCC 802A181C 25083534 */ addiu $t0, $t0, %lo(D_802A3534_79BCE4)
/* 799FD0 802A1820 00681021 */ addu $v0, $v1, $t0
/* 799FD4 802A1824 AE760000 */ sw $s6, ($s3)
/* 799FD8 802A1828 8C420000 */ lw $v0, ($v0)
/* 799FDC 802A182C 1C400009 */ bgtz $v0, .L802A1854
/* 799FE0 802A1830 E7B40010 */ swc1 $f20, 0x10($sp)
/* 799FE4 802A1834 E7B40014 */ swc1 $f20, 0x14($sp)
/* 799FE8 802A1838 E7B60018 */ swc1 $f22, 0x18($sp)
/* 799FEC 802A183C AFB7001C */ sw $s7, 0x1c($sp)
/* 799FF0 802A1840 AFB60020 */ sw $s6, 0x20($sp)
/* 799FF4 802A1844 8E050010 */ lw $a1, 0x10($s0)
/* 799FF8 802A1848 8E060014 */ lw $a2, 0x14($s0)
/* 799FFC 802A184C 080A861C */ j .L802A1870
/* 79A000 802A1850 8E070018 */ lw $a3, 0x18($s0)
.L802A1854:
/* 79A004 802A1854 E7B40014 */ swc1 $f20, 0x14($sp)
/* 79A008 802A1858 E7B60018 */ swc1 $f22, 0x18($sp)
/* 79A00C 802A185C AFB7001C */ sw $s7, 0x1c($sp)
/* 79A010 802A1860 AFB60020 */ sw $s6, 0x20($sp)
/* 79A014 802A1864 8E050004 */ lw $a1, 4($s0)
/* 79A018 802A1868 8E060008 */ lw $a2, 8($s0)
/* 79A01C 802A186C 8E07000C */ lw $a3, 0xc($s0)
.L802A1870:
/* 79A020 802A1870 0C01C8D4 */ jal func_80072350
/* 79A024 802A1874 24040004 */ addiu $a0, $zero, 4
.L802A1878:
/* 79A028 802A1878 26730004 */ addiu $s3, $s3, 4
.L802A187C:
/* 79A02C 802A187C 26520001 */ addiu $s2, $s2, 1
/* 79A030 802A1880 2A420008 */ slti $v0, $s2, 8
/* 79A034 802A1884 1440FFD8 */ bnez $v0, .L802A17E8
/* 79A038 802A1888 2694001C */ addiu $s4, $s4, 0x1c
.L802A188C:
/* 79A03C 802A188C 8FC30070 */ lw $v1, 0x70($fp)
.L802A1890:
/* 79A040 802A1890 2C620016 */ sltiu $v0, $v1, 0x16
.L802A1894:
/* 79A044 802A1894 104002E1 */ beqz $v0, .L802A241C
/* 79A048 802A1898 00031080 */ sll $v0, $v1, 2
/* 79A04C 802A189C 3C01802A */ lui $at, %hi(jtbl_802A3790_79BF40)
/* 79A050 802A18A0 00220821 */ addu $at, $at, $v0
/* 79A054 802A18A4 8C223790 */ lw $v0, %lo(jtbl_802A3790_79BF40)($at)
/* 79A058 802A18A8 00400008 */ jr $v0
/* 79A05C 802A18AC 00000000 */ nop
glabel L802A18B0_79A060
/* 79A060 802A18B0 C6B40144 */ lwc1 $f20, 0x144($s5)
/* 79A064 802A18B4 C6BE014C */ lwc1 $f30, 0x14c($s5)
/* 79A068 802A18B8 92A20191 */ lbu $v0, 0x191($s5)
/* 79A06C 802A18BC C6A20148 */ lwc1 $f2, 0x148($s5)
/* 79A070 802A18C0 3C0141F0 */ lui $at, 0x41f0
/* 79A074 802A18C4 44812000 */ mtc1 $at, $f4
/* 79A078 802A18C8 44820000 */ mtc1 $v0, $f0
/* 79A07C 802A18CC 00000000 */ nop
/* 79A080 802A18D0 46800020 */ cvt.s.w $f0, $f0
/* 79A084 802A18D4 46001080 */ add.s $f2, $f2, $f0
/* 79A088 802A18D8 3C014316 */ lui $at, 0x4316
/* 79A08C 802A18DC 44810000 */ mtc1 $at, $f0
/* 79A090 802A18E0 E6340000 */ swc1 $f20, ($s1)
/* 79A094 802A18E4 46041580 */ add.s $f22, $f2, $f4
/* 79A098 802A18E8 E63E0008 */ swc1 $f30, 8($s1)
/* 79A09C 802A18EC E634000C */ swc1 $f20, 0xc($s1)
/* 79A0A0 802A18F0 4600B000 */ add.s $f0, $f22, $f0
/* 79A0A4 802A18F4 E63E0014 */ swc1 $f30, 0x14($s1)
/* 79A0A8 802A18F8 E6360010 */ swc1 $f22, 0x10($s1)
/* 79A0AC 802A18FC E6200004 */ swc1 $f0, 4($s1)
/* 79A0B0 802A1900 8FC20078 */ lw $v0, 0x78($fp)
/* 79A0B4 802A1904 54400008 */ bnel $v0, $zero, .L802A1928
/* 79A0B8 802A1908 24040001 */ addiu $a0, $zero, 1
/* 79A0BC 802A190C 4405A000 */ mfc1 $a1, $f20
/* 79A0C0 802A1910 4406B000 */ mfc1 $a2, $f22
/* 79A0C4 802A1914 4407F000 */ mfc1 $a3, $f30
/* 79A0C8 802A1918 3C013F80 */ lui $at, 0x3f80
/* 79A0CC 802A191C 44810000 */ mtc1 $at, $f0
/* 79A0D0 802A1920 080A864F */ j .L802A193C
/* 79A0D4 802A1924 0000202D */ daddu $a0, $zero, $zero
.L802A1928:
/* 79A0D8 802A1928 4405A000 */ mfc1 $a1, $f20
/* 79A0DC 802A192C 4406B000 */ mfc1 $a2, $f22
/* 79A0E0 802A1930 4407F000 */ mfc1 $a3, $f30
/* 79A0E4 802A1934 3C013F80 */ lui $at, 0x3f80
/* 79A0E8 802A1938 44810000 */ mtc1 $at, $f0
.L802A193C:
/* 79A0EC 802A193C AFA00014 */ sw $zero, 0x14($sp)
/* 79A0F0 802A1940 0C01C964 */ jal func_80072590
/* 79A0F4 802A1944 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79A0F8 802A1948 3C01802A */ lui $at, %hi(D_802A37F0)
/* 79A0FC 802A194C AC2237F0 */ sw $v0, %lo(D_802A37F0)($at)
/* 79A100 802A1950 3C014240 */ lui $at, 0x4240
/* 79A104 802A1954 44810000 */ mtc1 $at, $f0
/* 79A108 802A1958 3C03802A */ lui $v1, %hi(D_802A37F0)
/* 79A10C 802A195C 8C6337F0 */ lw $v1, %lo(D_802A37F0)($v1)
/* 79A110 802A1960 E620004C */ swc1 $f0, 0x4c($s1)
/* 79A114 802A1964 8C62000C */ lw $v0, 0xc($v1)
/* 79A118 802A1968 AC40003C */ sw $zero, 0x3c($v0)
/* 79A11C 802A196C 8C62000C */ lw $v0, 0xc($v1)
/* 79A120 802A1970 C620004C */ lwc1 $f0, 0x4c($s1)
/* 79A124 802A1974 E4400048 */ swc1 $f0, 0x48($v0)
/* 79A128 802A1978 8C62000C */ lw $v0, 0xc($v1)
/* 79A12C 802A197C 3C0141F0 */ lui $at, 0x41f0
/* 79A130 802A1980 44810000 */ mtc1 $at, $f0
/* 79A134 802A1984 AC400024 */ sw $zero, 0x24($v0)
/* 79A138 802A1988 8C62000C */ lw $v0, 0xc($v1)
/* 79A13C 802A198C 0000902D */ daddu $s2, $zero, $zero
/* 79A140 802A1990 E4400058 */ swc1 $f0, 0x58($v0)
/* 79A144 802A1994 8C62000C */ lw $v0, 0xc($v1)
/* 79A148 802A1998 3C0140A0 */ lui $at, 0x40a0
/* 79A14C 802A199C 44810000 */ mtc1 $at, $f0
/* 79A150 802A19A0 3C10802A */ lui $s0, %hi(D_802A37F8)
/* 79A154 802A19A4 261037F8 */ addiu $s0, $s0, %lo(D_802A37F8)
/* 79A158 802A19A8 E4400040 */ swc1 $f0, 0x40($v0)
.L802A19AC:
/* 79A15C 802A19AC 0C00A67F */ jal rand_int
/* 79A160 802A19B0 24040014 */ addiu $a0, $zero, 0x14
/* 79A164 802A19B4 AE020000 */ sw $v0, ($s0)
/* 79A168 802A19B8 26520001 */ addiu $s2, $s2, 1
/* 79A16C 802A19BC 2A420008 */ slti $v0, $s2, 8
/* 79A170 802A19C0 1440FFFA */ bnez $v0, .L802A19AC
/* 79A174 802A19C4 26100004 */ addiu $s0, $s0, 4
/* 79A178 802A19C8 8FC30078 */ lw $v1, 0x78($fp)
/* 79A17C 802A19CC 24020028 */ addiu $v0, $zero, 0x28
/* 79A180 802A19D0 14600004 */ bnez $v1, .L802A19E4
/* 79A184 802A19D4 AFC20074 */ sw $v0, 0x74($fp)
/* 79A188 802A19D8 3C048000 */ lui $a0, 0x8000
/* 79A18C 802A19DC 080A867B */ j .L802A19EC
/* 79A190 802A19E0 34840068 */ ori $a0, $a0, 0x68
.L802A19E4:
/* 79A194 802A19E4 3C048000 */ lui $a0, 0x8000
/* 79A198 802A19E8 34840069 */ ori $a0, $a0, 0x69
.L802A19EC:
/* 79A19C 802A19EC 0C05272D */ jal play_sound
/* 79A1A0 802A19F0 00000000 */ nop
/* 79A1A4 802A19F4 24020001 */ addiu $v0, $zero, 1
/* 79A1A8 802A19F8 080A8907 */ j .L802A241C
/* 79A1AC 802A19FC AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1A00_79A1B0
/* 79A1B0 802A1A00 C6200010 */ lwc1 $f0, 0x10($s1)
/* 79A1B4 802A1A04 C6240004 */ lwc1 $f4, 4($s1)
/* 79A1B8 802A1A08 46040001 */ sub.s $f0, $f0, $f4
/* 79A1BC 802A1A0C 3C014120 */ lui $at, 0x4120
/* 79A1C0 802A1A10 44811000 */ mtc1 $at, $f2
/* 79A1C4 802A1A14 3C03802A */ lui $v1, %hi(D_802A37F0)
/* 79A1C8 802A1A18 8C6337F0 */ lw $v1, %lo(D_802A37F0)($v1)
/* 79A1CC 802A1A1C 46020003 */ div.s $f0, $f0, $f2
/* 79A1D0 802A1A20 46002100 */ add.s $f4, $f4, $f0
/* 79A1D4 802A1A24 C6200000 */ lwc1 $f0, ($s1)
/* 79A1D8 802A1A28 E6240004 */ swc1 $f4, 4($s1)
/* 79A1DC 802A1A2C 8C62000C */ lw $v0, 0xc($v1)
/* 79A1E0 802A1A30 E440004C */ swc1 $f0, 0x4c($v0)
/* 79A1E4 802A1A34 8C62000C */ lw $v0, 0xc($v1)
/* 79A1E8 802A1A38 C6200004 */ lwc1 $f0, 4($s1)
/* 79A1EC 802A1A3C E4400050 */ swc1 $f0, 0x50($v0)
/* 79A1F0 802A1A40 8C62000C */ lw $v0, 0xc($v1)
/* 79A1F4 802A1A44 C6200008 */ lwc1 $f0, 8($s1)
/* 79A1F8 802A1A48 E4400054 */ swc1 $f0, 0x54($v0)
/* 79A1FC 802A1A4C 8C62000C */ lw $v0, 0xc($v1)
/* 79A200 802A1A50 AC40003C */ sw $zero, 0x3c($v0)
/* 79A204 802A1A54 8C62000C */ lw $v0, 0xc($v1)
/* 79A208 802A1A58 C620004C */ lwc1 $f0, 0x4c($s1)
/* 79A20C 802A1A5C E4400048 */ swc1 $f0, 0x48($v0)
/* 79A210 802A1A60 8C62000C */ lw $v0, 0xc($v1)
/* 79A214 802A1A64 AC400024 */ sw $zero, 0x24($v0)
/* 79A218 802A1A68 8FC20074 */ lw $v0, 0x74($fp)
/* 79A21C 802A1A6C 14400177 */ bnez $v0, .L802A204C
/* 79A220 802A1A70 2442FFFF */ addiu $v0, $v0, -1
/* 79A224 802A1A74 24020014 */ addiu $v0, $zero, 0x14
/* 79A228 802A1A78 AFC20074 */ sw $v0, 0x74($fp)
/* 79A22C 802A1A7C 24020002 */ addiu $v0, $zero, 2
/* 79A230 802A1A80 080A8907 */ j .L802A241C
/* 79A234 802A1A84 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1A88_79A238
/* 79A238 802A1A88 8FC20074 */ lw $v0, 0x74($fp)
/* 79A23C 802A1A8C 1440016F */ bnez $v0, .L802A204C
/* 79A240 802A1A90 2442FFFF */ addiu $v0, $v0, -1
/* 79A244 802A1A94 0C093903 */ jal func_8024E40C
/* 79A248 802A1A98 24040002 */ addiu $a0, $zero, 2
/* 79A24C 802A1A9C 0C093936 */ jal move_cam_over
/* 79A250 802A1AA0 2404000A */ addiu $a0, $zero, 0xa
/* 79A254 802A1AA4 2402000F */ addiu $v0, $zero, 0xf
/* 79A258 802A1AA8 AFC20074 */ sw $v0, 0x74($fp)
/* 79A25C 802A1AAC 24020003 */ addiu $v0, $zero, 3
/* 79A260 802A1AB0 080A8907 */ j .L802A241C
/* 79A264 802A1AB4 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1AB8_79A268
/* 79A268 802A1AB8 C624004C */ lwc1 $f4, 0x4c($s1)
/* 79A26C 802A1ABC 3C0141C0 */ lui $at, 0x41c0
/* 79A270 802A1AC0 44810000 */ mtc1 $at, $f0
/* 79A274 802A1AC4 00000000 */ nop
/* 79A278 802A1AC8 46040001 */ sub.s $f0, $f0, $f4
/* 79A27C 802A1ACC 3C013E00 */ lui $at, 0x3e00
/* 79A280 802A1AD0 44811000 */ mtc1 $at, $f2
/* 79A284 802A1AD4 00000000 */ nop
/* 79A288 802A1AD8 46020002 */ mul.s $f0, $f0, $f2
/* 79A28C 802A1ADC 00000000 */ nop
/* 79A290 802A1AE0 46002100 */ add.s $f4, $f4, $f0
/* 79A294 802A1AE4 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 79A298 802A1AE8 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 79A29C 802A1AEC E624004C */ swc1 $f4, 0x4c($s1)
/* 79A2A0 802A1AF0 8C42000C */ lw $v0, 0xc($v0)
/* 79A2A4 802A1AF4 E4440048 */ swc1 $f4, 0x48($v0)
/* 79A2A8 802A1AF8 8FC20074 */ lw $v0, 0x74($fp)
/* 79A2AC 802A1AFC 54400153 */ bnel $v0, $zero, .L802A204C
/* 79A2B0 802A1B00 2442FFFF */ addiu $v0, $v0, -1
/* 79A2B4 802A1B04 2403001E */ addiu $v1, $zero, 0x1e
/* 79A2B8 802A1B08 24120007 */ addiu $s2, $zero, 7
/* 79A2BC 802A1B0C 3C02802A */ lui $v0, %hi(D_802A3834)
/* 79A2C0 802A1B10 24423834 */ addiu $v0, $v0, %lo(D_802A3834)
/* 79A2C4 802A1B14 E63C000C */ swc1 $f28, 0xc($s1)
/* 79A2C8 802A1B18 E6380010 */ swc1 $f24, 0x10($s1)
/* 79A2CC 802A1B1C E63A0014 */ swc1 $f26, 0x14($s1)
.L802A1B20:
/* 79A2D0 802A1B20 AC430000 */ sw $v1, ($v0)
/* 79A2D4 802A1B24 2652FFFF */ addiu $s2, $s2, -1
/* 79A2D8 802A1B28 0641FFFD */ bgez $s2, .L802A1B20
/* 79A2DC 802A1B2C 2442FFFC */ addiu $v0, $v0, -4
/* 79A2E0 802A1B30 8FC20078 */ lw $v0, 0x78($fp)
/* 79A2E4 802A1B34 14400002 */ bnez $v0, .L802A1B40
/* 79A2E8 802A1B38 24040649 */ addiu $a0, $zero, 0x649
/* 79A2EC 802A1B3C 24040648 */ addiu $a0, $zero, 0x648
.L802A1B40:
/* 79A2F0 802A1B40 0C05272D */ jal play_sound
/* 79A2F4 802A1B44 00000000 */ nop
/* 79A2F8 802A1B48 24020004 */ addiu $v0, $zero, 4
/* 79A2FC 802A1B4C 080A8907 */ j .L802A241C
/* 79A300 802A1B50 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1B54_79A304
/* 79A304 802A1B54 C624004C */ lwc1 $f4, 0x4c($s1)
/* 79A308 802A1B58 3C014240 */ lui $at, 0x4240
/* 79A30C 802A1B5C 44811000 */ mtc1 $at, $f2
/* 79A310 802A1B60 00000000 */ nop
/* 79A314 802A1B64 46041081 */ sub.s $f2, $f2, $f4
/* 79A318 802A1B68 3C013E80 */ lui $at, 0x3e80
/* 79A31C 802A1B6C 44810000 */ mtc1 $at, $f0
/* 79A320 802A1B70 00000000 */ nop
/* 79A324 802A1B74 46001082 */ mul.s $f2, $f2, $f0
/* 79A328 802A1B78 00000000 */ nop
/* 79A32C 802A1B7C 0000B82D */ daddu $s7, $zero, $zero
/* 79A330 802A1B80 02E0902D */ daddu $s2, $s7, $zero
/* 79A334 802A1B84 3C13802A */ lui $s3, %hi(D_802A3818)
/* 79A338 802A1B88 26733818 */ addiu $s3, $s3, %lo(D_802A3818)
/* 79A33C 802A1B8C 0260A82D */ daddu $s5, $s3, $zero
/* 79A340 802A1B90 46022100 */ add.s $f4, $f4, $f2
/* 79A344 802A1B94 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 79A348 802A1B98 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 79A34C 802A1B9C 02E0A02D */ daddu $s4, $s7, $zero
/* 79A350 802A1BA0 E624004C */ swc1 $f4, 0x4c($s1)
/* 79A354 802A1BA4 8C42000C */ lw $v0, 0xc($v0)
/* 79A358 802A1BA8 3C10802A */ lui $s0, %hi(D_802A3514_79BCC4)
/* 79A35C 802A1BAC 26103514 */ addiu $s0, $s0, %lo(D_802A3514_79BCC4)
/* 79A360 802A1BB0 E4440048 */ swc1 $f4, 0x48($v0)
.L802A1BB4:
/* 79A364 802A1BB4 5240004F */ beql $s2, $zero, .L802A1CF4
/* 79A368 802A1BB8 26730004 */ addiu $s3, $s3, 4
/* 79A36C 802A1BBC 8E020000 */ lw $v0, ($s0)
/* 79A370 802A1BC0 04410013 */ bgez $v0, .L802A1C10
/* 79A374 802A1BC4 00000000 */ nop
/* 79A378 802A1BC8 C6340000 */ lwc1 $f20, ($s1)
/* 79A37C 802A1BCC C638000C */ lwc1 $f24, 0xc($s1)
/* 79A380 802A1BD0 C6360004 */ lwc1 $f22, 4($s1)
/* 79A384 802A1BD4 4614C181 */ sub.s $f6, $f24, $f20
/* 79A388 802A1BD8 C63C0010 */ lwc1 $f28, 0x10($s1)
/* 79A38C 802A1BDC C63E0008 */ lwc1 $f30, 8($s1)
/* 79A390 802A1BE0 4616E001 */ sub.s $f0, $f28, $f22
/* 79A394 802A1BE4 C63A0014 */ lwc1 $f26, 0x14($s1)
/* 79A398 802A1BE8 461ED081 */ sub.s $f2, $f26, $f30
/* 79A39C 802A1BEC 4606A180 */ add.s $f6, $f20, $f6
/* 79A3A0 802A1BF0 4600B106 */ mov.s $f4, $f22
/* 79A3A4 802A1BF4 46002100 */ add.s $f4, $f4, $f0
/* 79A3A8 802A1BF8 4600F006 */ mov.s $f0, $f30
/* 79A3AC 802A1BFC 46020000 */ add.s $f0, $f0, $f2
/* 79A3B0 802A1C00 E6260000 */ swc1 $f6, ($s1)
/* 79A3B4 802A1C04 E6240004 */ swc1 $f4, 4($s1)
/* 79A3B8 802A1C08 080A873C */ j .L802A1CF0
/* 79A3BC 802A1C0C E6200008 */ swc1 $f0, 8($s1)
.L802A1C10:
/* 79A3C0 802A1C10 10400004 */ beqz $v0, .L802A1C24
/* 79A3C4 802A1C14 24170001 */ addiu $s7, $zero, 1
/* 79A3C8 802A1C18 2442FFFF */ addiu $v0, $v0, -1
/* 79A3CC 802A1C1C 080A873C */ j .L802A1CF0
/* 79A3D0 802A1C20 AE020000 */ sw $v0, ($s0)
.L802A1C24:
/* 79A3D4 802A1C24 C6340000 */ lwc1 $f20, ($s1)
/* 79A3D8 802A1C28 C6360004 */ lwc1 $f22, 4($s1)
/* 79A3DC 802A1C2C C63E0008 */ lwc1 $f30, 8($s1)
/* 79A3E0 802A1C30 C638000C */ lwc1 $f24, 0xc($s1)
/* 79A3E4 802A1C34 C63C0010 */ lwc1 $f28, 0x10($s1)
/* 79A3E8 802A1C38 C63A0014 */ lwc1 $f26, 0x14($s1)
/* 79A3EC 802A1C3C 4600A306 */ mov.s $f12, $f20
/* 79A3F0 802A1C40 4406C000 */ mfc1 $a2, $f24
/* 79A3F4 802A1C44 4407D000 */ mfc1 $a3, $f26
/* 79A3F8 802A1C48 0C00A7B5 */ jal dist2D
/* 79A3FC 802A1C4C 4600F386 */ mov.s $f14, $f30
/* 79A400 802A1C50 02951021 */ addu $v0, $s4, $s5
/* 79A404 802A1C54 4614C101 */ sub.s $f4, $f24, $f20
/* 79A408 802A1C58 C4460000 */ lwc1 $f6, ($v0)
/* 79A40C 802A1C5C 468031A0 */ cvt.s.w $f6, $f6
/* 79A410 802A1C60 C6220000 */ lwc1 $f2, ($s1)
/* 79A414 802A1C64 46062103 */ div.s $f4, $f4, $f6
/* 79A418 802A1C68 46041080 */ add.s $f2, $f2, $f4
/* 79A41C 802A1C6C 4616E101 */ sub.s $f4, $f28, $f22
/* 79A420 802A1C70 E6220000 */ swc1 $f2, ($s1)
/* 79A424 802A1C74 C4460000 */ lwc1 $f6, ($v0)
/* 79A428 802A1C78 468031A0 */ cvt.s.w $f6, $f6
/* 79A42C 802A1C7C C6220004 */ lwc1 $f2, 4($s1)
/* 79A430 802A1C80 46062103 */ div.s $f4, $f4, $f6
/* 79A434 802A1C84 46041080 */ add.s $f2, $f2, $f4
/* 79A438 802A1C88 461ED101 */ sub.s $f4, $f26, $f30
/* 79A43C 802A1C8C E6220004 */ swc1 $f2, 4($s1)
/* 79A440 802A1C90 C4460000 */ lwc1 $f6, ($v0)
/* 79A444 802A1C94 468031A0 */ cvt.s.w $f6, $f6
/* 79A448 802A1C98 C6220008 */ lwc1 $f2, 8($s1)
/* 79A44C 802A1C9C 46062103 */ div.s $f4, $f4, $f6
/* 79A450 802A1CA0 46041080 */ add.s $f2, $f2, $f4
/* 79A454 802A1CA4 E6220008 */ swc1 $f2, 8($s1)
/* 79A458 802A1CA8 8C420000 */ lw $v0, ($v0)
/* 79A45C 802A1CAC 14570007 */ bne $v0, $s7, .L802A1CCC
/* 79A460 802A1CB0 46000106 */ mov.s $f4, $f0
/* 79A464 802A1CB4 2402FFFF */ addiu $v0, $zero, -1
/* 79A468 802A1CB8 AE020000 */ sw $v0, ($s0)
/* 79A46C 802A1CBC E6380000 */ swc1 $f24, ($s1)
/* 79A470 802A1CC0 E63C0004 */ swc1 $f28, 4($s1)
/* 79A474 802A1CC4 080A8739 */ j .L802A1CE4
/* 79A478 802A1CC8 E63A0008 */ swc1 $f26, 8($s1)
.L802A1CCC:
/* 79A47C 802A1CCC 3C014270 */ lui $at, 0x4270
/* 79A480 802A1CD0 44810000 */ mtc1 $at, $f0
/* 79A484 802A1CD4 C6220004 */ lwc1 $f2, 4($s1)
/* 79A488 802A1CD8 46002003 */ div.s $f0, $f4, $f0
/* 79A48C 802A1CDC 46001080 */ add.s $f2, $f2, $f0
/* 79A490 802A1CE0 E6220004 */ swc1 $f2, 4($s1)
.L802A1CE4:
/* 79A494 802A1CE4 8E620000 */ lw $v0, ($s3)
/* 79A498 802A1CE8 2442FFFF */ addiu $v0, $v0, -1
/* 79A49C 802A1CEC AE620000 */ sw $v0, ($s3)
.L802A1CF0:
/* 79A4A0 802A1CF0 26730004 */ addiu $s3, $s3, 4
.L802A1CF4:
/* 79A4A4 802A1CF4 26940004 */ addiu $s4, $s4, 4
/* 79A4A8 802A1CF8 26520001 */ addiu $s2, $s2, 1
/* 79A4AC 802A1CFC 2A420002 */ slti $v0, $s2, 2
/* 79A4B0 802A1D00 1440FFAC */ bnez $v0, .L802A1BB4
/* 79A4B4 802A1D04 26100004 */ addiu $s0, $s0, 4
/* 79A4B8 802A1D08 3C03802A */ lui $v1, %hi(D_802A37F0)
/* 79A4BC 802A1D0C 8C6337F0 */ lw $v1, %lo(D_802A37F0)($v1)
/* 79A4C0 802A1D10 C6200000 */ lwc1 $f0, ($s1)
/* 79A4C4 802A1D14 8C62000C */ lw $v0, 0xc($v1)
/* 79A4C8 802A1D18 E440004C */ swc1 $f0, 0x4c($v0)
/* 79A4CC 802A1D1C 8C62000C */ lw $v0, 0xc($v1)
/* 79A4D0 802A1D20 C6200004 */ lwc1 $f0, 4($s1)
/* 79A4D4 802A1D24 E4400050 */ swc1 $f0, 0x50($v0)
/* 79A4D8 802A1D28 8C62000C */ lw $v0, 0xc($v1)
/* 79A4DC 802A1D2C C6200008 */ lwc1 $f0, 8($s1)
/* 79A4E0 802A1D30 E4400054 */ swc1 $f0, 0x54($v0)
/* 79A4E4 802A1D34 8C62000C */ lw $v0, 0xc($v1)
/* 79A4E8 802A1D38 C6200000 */ lwc1 $f0, ($s1)
/* 79A4EC 802A1D3C E4400004 */ swc1 $f0, 4($v0)
/* 79A4F0 802A1D40 8C62000C */ lw $v0, 0xc($v1)
/* 79A4F4 802A1D44 AC400008 */ sw $zero, 8($v0)
/* 79A4F8 802A1D48 8C62000C */ lw $v0, 0xc($v1)
/* 79A4FC 802A1D4C C6200008 */ lwc1 $f0, 8($s1)
/* 79A500 802A1D50 16E001B2 */ bnez $s7, .L802A241C
/* 79A504 802A1D54 E440000C */ swc1 $f0, 0xc($v0)
/* 79A508 802A1D58 C620000C */ lwc1 $f0, 0xc($s1)
/* 79A50C 802A1D5C C6220010 */ lwc1 $f2, 0x10($s1)
/* 79A510 802A1D60 C6240014 */ lwc1 $f4, 0x14($s1)
/* 79A514 802A1D64 E6200000 */ swc1 $f0, ($s1)
/* 79A518 802A1D68 E6220004 */ swc1 $f2, 4($s1)
/* 79A51C 802A1D6C E6240008 */ swc1 $f4, 8($s1)
/* 79A520 802A1D70 8C62000C */ lw $v0, 0xc($v1)
/* 79A524 802A1D74 E440004C */ swc1 $f0, 0x4c($v0)
/* 79A528 802A1D78 8C62000C */ lw $v0, 0xc($v1)
/* 79A52C 802A1D7C C6200004 */ lwc1 $f0, 4($s1)
/* 79A530 802A1D80 E4400050 */ swc1 $f0, 0x50($v0)
/* 79A534 802A1D84 8C62000C */ lw $v0, 0xc($v1)
/* 79A538 802A1D88 C6200008 */ lwc1 $f0, 8($s1)
/* 79A53C 802A1D8C 0000902D */ daddu $s2, $zero, $zero
/* 79A540 802A1D90 E4400054 */ swc1 $f0, 0x54($v0)
/* 79A544 802A1D94 8C62000C */ lw $v0, 0xc($v1)
/* 79A548 802A1D98 C6200000 */ lwc1 $f0, ($s1)
/* 79A54C 802A1D9C 24070001 */ addiu $a3, $zero, 1
/* 79A550 802A1DA0 E4400004 */ swc1 $f0, 4($v0)
/* 79A554 802A1DA4 8C62000C */ lw $v0, 0xc($v1)
/* 79A558 802A1DA8 2406FFFD */ addiu $a2, $zero, -3
/* 79A55C 802A1DAC AC400008 */ sw $zero, 8($v0)
/* 79A560 802A1DB0 8C62000C */ lw $v0, 0xc($v1)
/* 79A564 802A1DB4 C6200008 */ lwc1 $f0, 8($s1)
/* 79A568 802A1DB8 3C05802A */ lui $a1, %hi(D_802A3514_79BCC4)
/* 79A56C 802A1DBC 24A53514 */ addiu $a1, $a1, %lo(D_802A3514_79BCC4)
/* 79A570 802A1DC0 E440000C */ swc1 $f0, 0xc($v0)
/* 79A574 802A1DC4 8C63000C */ lw $v1, 0xc($v1)
/* 79A578 802A1DC8 2404005C */ addiu $a0, $zero, 0x5c
/* 79A57C 802A1DCC AFA30028 */ sw $v1, 0x28($sp)
.L802A1DD0:
/* 79A580 802A1DD0 8FC20078 */ lw $v0, 0x78($fp)
/* 79A584 802A1DD4 14400003 */ bnez $v0, .L802A1DE4
/* 79A588 802A1DD8 00000000 */ nop
/* 79A58C 802A1DDC 52400008 */ beql $s2, $zero, .L802A1E00
/* 79A590 802A1DE0 24A50004 */ addiu $a1, $a1, 4
.L802A1DE4:
/* 79A594 802A1DE4 8FA80028 */ lw $t0, 0x28($sp)
/* 79A598 802A1DE8 ACA70000 */ sw $a3, ($a1)
/* 79A59C 802A1DEC 01048021 */ addu $s0, $t0, $a0
/* 79A5A0 802A1DF0 8E020000 */ lw $v0, ($s0)
/* 79A5A4 802A1DF4 00461024 */ and $v0, $v0, $a2
/* 79A5A8 802A1DF8 AE020000 */ sw $v0, ($s0)
/* 79A5AC 802A1DFC 24A50004 */ addiu $a1, $a1, 4
.L802A1E00:
/* 79A5B0 802A1E00 26520001 */ addiu $s2, $s2, 1
/* 79A5B4 802A1E04 2A420008 */ slti $v0, $s2, 8
/* 79A5B8 802A1E08 1440FFF1 */ bnez $v0, .L802A1DD0
/* 79A5BC 802A1E0C 2484001C */ addiu $a0, $a0, 0x1c
/* 79A5C0 802A1E10 0C093903 */ jal func_8024E40C
/* 79A5C4 802A1E14 24040003 */ addiu $a0, $zero, 3
/* 79A5C8 802A1E18 0C093936 */ jal move_cam_over
/* 79A5CC 802A1E1C 2404001E */ addiu $a0, $zero, 0x1e
/* 79A5D0 802A1E20 2402000F */ addiu $v0, $zero, 0xf
/* 79A5D4 802A1E24 AFC20074 */ sw $v0, 0x74($fp)
/* 79A5D8 802A1E28 24020005 */ addiu $v0, $zero, 5
/* 79A5DC 802A1E2C 080A8907 */ j .L802A241C
/* 79A5E0 802A1E30 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1E34_79A5E4
/* 79A5E4 802A1E34 8FC20074 */ lw $v0, 0x74($fp)
/* 79A5E8 802A1E38 14400084 */ bnez $v0, .L802A204C
/* 79A5EC 802A1E3C 2442FFFF */ addiu $v0, $v0, -1
/* 79A5F0 802A1E40 3C05802A */ lui $a1, %hi(D_802A37F0)
/* 79A5F4 802A1E44 8CA537F0 */ lw $a1, %lo(D_802A37F0)($a1)
/* 79A5F8 802A1E48 A6200064 */ sh $zero, 0x64($s1)
/* 79A5FC 802A1E4C 8CA2000C */ lw $v0, 0xc($a1)
/* 79A600 802A1E50 AC40003C */ sw $zero, 0x3c($v0)
/* 79A604 802A1E54 8CA2000C */ lw $v0, 0xc($a1)
/* 79A608 802A1E58 AC400024 */ sw $zero, 0x24($v0)
/* 79A60C 802A1E5C 8FC20078 */ lw $v0, 0x78($fp)
/* 79A610 802A1E60 1040000F */ beqz $v0, .L802A1EA0
/* 79A614 802A1E64 240400F0 */ addiu $a0, $zero, 0xf0
/* 79A618 802A1E68 8CA2000C */ lw $v0, 0xc($a1)
/* 79A61C 802A1E6C AC440018 */ sw $a0, 0x18($v0)
/* 79A620 802A1E70 8CA3000C */ lw $v1, 0xc($a1)
/* 79A624 802A1E74 24020050 */ addiu $v0, $zero, 0x50
/* 79A628 802A1E78 AC62001C */ sw $v0, 0x1c($v1)
/* 79A62C 802A1E7C 8CA3000C */ lw $v1, 0xc($a1)
/* 79A630 802A1E80 240200C8 */ addiu $v0, $zero, 0xc8
/* 79A634 802A1E84 AC620020 */ sw $v0, 0x20($v1)
/* 79A638 802A1E88 8CA2000C */ lw $v0, 0xc($a1)
/* 79A63C 802A1E8C AC440028 */ sw $a0, 0x28($v0)
/* 79A640 802A1E90 8CA2000C */ lw $v0, 0xc($a1)
/* 79A644 802A1E94 AC44002C */ sw $a0, 0x2c($v0)
/* 79A648 802A1E98 8CA2000C */ lw $v0, 0xc($a1)
/* 79A64C 802A1E9C AC440030 */ sw $a0, 0x30($v0)
.L802A1EA0:
/* 79A650 802A1EA0 3C04802A */ lui $a0, %hi(D_802A33A8_79BB58)
/* 79A654 802A1EA4 248433A8 */ addiu $a0, $a0, %lo(D_802A33A8_79BB58)
/* 79A658 802A1EA8 2405000A */ addiu $a1, $zero, 0xa
/* 79A65C 802A1EAC 0C0B0CF8 */ jal start_script
/* 79A660 802A1EB0 0000302D */ daddu $a2, $zero, $zero
/* 79A664 802A1EB4 C6200000 */ lwc1 $f0, ($s1)
/* 79A668 802A1EB8 3C013F00 */ lui $at, 0x3f00
/* 79A66C 802A1EBC 44811000 */ mtc1 $at, $f2
/* 79A670 802A1EC0 4600020D */ trunc.w.s $f8, $f0
/* 79A674 802A1EC4 E4480084 */ swc1 $f8, 0x84($v0)
/* 79A678 802A1EC8 C6200004 */ lwc1 $f0, 4($s1)
/* 79A67C 802A1ECC 46020002 */ mul.s $f0, $f0, $f2
/* 79A680 802A1ED0 00000000 */ nop
/* 79A684 802A1ED4 4600020D */ trunc.w.s $f8, $f0
/* 79A688 802A1ED8 E4480088 */ swc1 $f8, 0x88($v0)
/* 79A68C 802A1EDC C6200008 */ lwc1 $f0, 8($s1)
/* 79A690 802A1EE0 4600020D */ trunc.w.s $f8, $f0
/* 79A694 802A1EE4 E448008C */ swc1 $f8, 0x8c($v0)
/* 79A698 802A1EE8 8FC30078 */ lw $v1, 0x78($fp)
/* 79A69C 802A1EEC AC4300AC */ sw $v1, 0xac($v0)
/* 79A6A0 802A1EF0 0C05272D */ jal play_sound
/* 79A6A4 802A1EF4 2404024A */ addiu $a0, $zero, 0x24a
/* 79A6A8 802A1EF8 2402002D */ addiu $v0, $zero, 0x2d
/* 79A6AC 802A1EFC AFC20074 */ sw $v0, 0x74($fp)
/* 79A6B0 802A1F00 24020006 */ addiu $v0, $zero, 6
/* 79A6B4 802A1F04 080A8907 */ j .L802A241C
/* 79A6B8 802A1F08 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1F0C_79A6BC
/* 79A6BC 802A1F0C 96220064 */ lhu $v0, 0x64($s1)
/* 79A6C0 802A1F10 2442001E */ addiu $v0, $v0, 0x1e
/* 79A6C4 802A1F14 A6220064 */ sh $v0, 0x64($s1)
/* 79A6C8 802A1F18 00021400 */ sll $v0, $v0, 0x10
/* 79A6CC 802A1F1C 00021403 */ sra $v0, $v0, 0x10
/* 79A6D0 802A1F20 28420100 */ slti $v0, $v0, 0x100
/* 79A6D4 802A1F24 14400002 */ bnez $v0, .L802A1F30
/* 79A6D8 802A1F28 240200FF */ addiu $v0, $zero, 0xff
/* 79A6DC 802A1F2C A6220064 */ sh $v0, 0x64($s1)
.L802A1F30:
/* 79A6E0 802A1F30 3C04802A */ lui $a0, %hi(D_802A37F0)
/* 79A6E4 802A1F34 8C8437F0 */ lw $a0, %lo(D_802A37F0)($a0)
/* 79A6E8 802A1F38 86220064 */ lh $v0, 0x64($s1)
/* 79A6EC 802A1F3C 8C83000C */ lw $v1, 0xc($a0)
/* 79A6F0 802A1F40 AC62003C */ sw $v0, 0x3c($v1)
/* 79A6F4 802A1F44 8C83000C */ lw $v1, 0xc($a0)
/* 79A6F8 802A1F48 86220064 */ lh $v0, 0x64($s1)
/* 79A6FC 802A1F4C AC620024 */ sw $v0, 0x24($v1)
/* 79A700 802A1F50 8FC20074 */ lw $v0, 0x74($fp)
/* 79A704 802A1F54 1440003D */ bnez $v0, .L802A204C
/* 79A708 802A1F58 2442FFFF */ addiu $v0, $v0, -1
/* 79A70C 802A1F5C 8FC20078 */ lw $v0, 0x78($fp)
/* 79A710 802A1F60 24030001 */ addiu $v1, $zero, 1
/* 79A714 802A1F64 3C01802A */ lui $at, %hi(D_802A3838)
/* 79A718 802A1F68 AC233838 */ sw $v1, %lo(D_802A3838)($at)
/* 79A71C 802A1F6C 14400012 */ bnez $v0, .L802A1FB8
/* 79A720 802A1F70 2402000F */ addiu $v0, $zero, 0xf
/* 79A724 802A1F74 82A2040C */ lb $v0, 0x40c($s5)
/* 79A728 802A1F78 1443000F */ bne $v0, $v1, .L802A1FB8
/* 79A72C 802A1F7C 2402000F */ addiu $v0, $zero, 0xf
/* 79A730 802A1F80 86A40428 */ lh $a0, 0x428($s5)
/* 79A734 802A1F84 0C09A75B */ jal get_actor
/* 79A738 802A1F88 00000000 */ nop
/* 79A73C 802A1F8C 82A50426 */ lb $a1, 0x426($s5)
/* 79A740 802A1F90 0C099117 */ jal get_actor_part
/* 79A744 802A1F94 0040202D */ daddu $a0, $v0, $zero
/* 79A748 802A1F98 8C42007C */ lw $v0, 0x7c($v0)
/* 79A74C 802A1F9C 3C030008 */ lui $v1, 8
/* 79A750 802A1FA0 00431024 */ and $v0, $v0, $v1
/* 79A754 802A1FA4 10400003 */ beqz $v0, .L802A1FB4
/* 79A758 802A1FA8 24020014 */ addiu $v0, $zero, 0x14
/* 79A75C 802A1FAC 080A8907 */ j .L802A241C
/* 79A760 802A1FB0 AFC20070 */ sw $v0, 0x70($fp)
.L802A1FB4:
/* 79A764 802A1FB4 2402000F */ addiu $v0, $zero, 0xf
.L802A1FB8:
/* 79A768 802A1FB8 AFC20074 */ sw $v0, 0x74($fp)
/* 79A76C 802A1FBC 24020007 */ addiu $v0, $zero, 7
/* 79A770 802A1FC0 080A8907 */ j .L802A241C
/* 79A774 802A1FC4 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1FC8_79A778
/* 79A778 802A1FC8 8FC20074 */ lw $v0, 0x74($fp)
/* 79A77C 802A1FCC 1440001F */ bnez $v0, .L802A204C
/* 79A780 802A1FD0 2442FFFF */ addiu $v0, $v0, -1
/* 79A784 802A1FD4 2402000A */ addiu $v0, $zero, 0xa
/* 79A788 802A1FD8 AFC20074 */ sw $v0, 0x74($fp)
/* 79A78C 802A1FDC 24020008 */ addiu $v0, $zero, 8
/* 79A790 802A1FE0 080A8907 */ j .L802A241C
/* 79A794 802A1FE4 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A1FE8_79A798
/* 79A798 802A1FE8 96220064 */ lhu $v0, 0x64($s1)
/* 79A79C 802A1FEC 2442FFE2 */ addiu $v0, $v0, -0x1e
/* 79A7A0 802A1FF0 A6220064 */ sh $v0, 0x64($s1)
/* 79A7A4 802A1FF4 00021400 */ sll $v0, $v0, 0x10
/* 79A7A8 802A1FF8 04420001 */ bltzl $v0, .L802A2000
/* 79A7AC 802A1FFC A6200064 */ sh $zero, 0x64($s1)
.L802A2000:
/* 79A7B0 802A2000 3C04802A */ lui $a0, %hi(D_802A37F0)
/* 79A7B4 802A2004 8C8437F0 */ lw $a0, %lo(D_802A37F0)($a0)
/* 79A7B8 802A2008 86220064 */ lh $v0, 0x64($s1)
/* 79A7BC 802A200C 8C83000C */ lw $v1, 0xc($a0)
/* 79A7C0 802A2010 AC62003C */ sw $v0, 0x3c($v1)
/* 79A7C4 802A2014 8C83000C */ lw $v1, 0xc($a0)
/* 79A7C8 802A2018 86220064 */ lh $v0, 0x64($s1)
/* 79A7CC 802A201C AC620024 */ sw $v0, 0x24($v1)
/* 79A7D0 802A2020 8FC20074 */ lw $v0, 0x74($fp)
/* 79A7D4 802A2024 14400009 */ bnez $v0, .L802A204C
/* 79A7D8 802A2028 2442FFFF */ addiu $v0, $v0, -1
/* 79A7DC 802A202C 2402000A */ addiu $v0, $zero, 0xa
/* 79A7E0 802A2030 AFC20074 */ sw $v0, 0x74($fp)
/* 79A7E4 802A2034 24020009 */ addiu $v0, $zero, 9
/* 79A7E8 802A2038 080A8907 */ j .L802A241C
/* 79A7EC 802A203C AFC20070 */ sw $v0, 0x70($fp)
glabel L802A2040_79A7F0
/* 79A7F0 802A2040 8FC20074 */ lw $v0, 0x74($fp)
/* 79A7F4 802A2044 10400003 */ beqz $v0, .L802A2054
/* 79A7F8 802A2048 2442FFFF */ addiu $v0, $v0, -1
.L802A204C:
/* 79A7FC 802A204C 080A8907 */ j .L802A241C
/* 79A800 802A2050 AFC20074 */ sw $v0, 0x74($fp)
.L802A2054:
/* 79A804 802A2054 3C01432A */ lui $at, 0x432a
/* 79A808 802A2058 44810000 */ mtc1 $at, $f0
/* 79A80C 802A205C 24020014 */ addiu $v0, $zero, 0x14
/* 79A810 802A2060 4600C000 */ add.s $f0, $f24, $f0
/* 79A814 802A2064 E63C000C */ swc1 $f28, 0xc($s1)
/* 79A818 802A2068 E63A0014 */ swc1 $f26, 0x14($s1)
/* 79A81C 802A206C E6200010 */ swc1 $f0, 0x10($s1)
/* 79A820 802A2070 AFC20074 */ sw $v0, 0x74($fp)
/* 79A824 802A2074 2402000A */ addiu $v0, $zero, 0xa
/* 79A828 802A2078 080A8907 */ j .L802A241C
/* 79A82C 802A207C AFC20070 */ sw $v0, 0x70($fp)
glabel L802A2080_79A830
/* 79A830 802A2080 8FC20074 */ lw $v0, 0x74($fp)
/* 79A834 802A2084 10400010 */ beqz $v0, .L802A20C8
/* 79A838 802A2088 2442FFFF */ addiu $v0, $v0, -1
/* 79A83C 802A208C 1440000E */ bnez $v0, .L802A20C8
/* 79A840 802A2090 AFC20074 */ sw $v0, 0x74($fp)
/* 79A844 802A2094 8FC20078 */ lw $v0, 0x78($fp)
/* 79A848 802A2098 54400006 */ bnel $v0, $zero, .L802A20B4
/* 79A84C 802A209C 24040249 */ addiu $a0, $zero, 0x249
/* 79A850 802A20A0 24040248 */ addiu $a0, $zero, 0x248
/* 79A854 802A20A4 0C05269B */ jal func_80149A6C
/* 79A858 802A20A8 24050001 */ addiu $a1, $zero, 1
/* 79A85C 802A20AC 080A8830 */ j .L802A20C0
/* 79A860 802A20B0 24040648 */ addiu $a0, $zero, 0x648
.L802A20B4:
/* 79A864 802A20B4 0C05269B */ jal func_80149A6C
/* 79A868 802A20B8 24050001 */ addiu $a1, $zero, 1
/* 79A86C 802A20BC 24040649 */ addiu $a0, $zero, 0x649
.L802A20C0:
/* 79A870 802A20C0 0C05272D */ jal play_sound
/* 79A874 802A20C4 00000000 */ nop
.L802A20C8:
/* 79A878 802A20C8 0000B82D */ daddu $s7, $zero, $zero
/* 79A87C 802A20CC 02E0902D */ daddu $s2, $s7, $zero
/* 79A880 802A20D0 2405FFFF */ addiu $a1, $zero, -1
/* 79A884 802A20D4 3C03802A */ lui $v1, %hi(D_802A3534_79BCE4)
/* 79A888 802A20D8 24633534 */ addiu $v1, $v1, %lo(D_802A3534_79BCE4)
/* 79A88C 802A20DC 3C014120 */ lui $at, 0x4120
/* 79A890 802A20E0 44813000 */ mtc1 $at, $f6
/* 79A894 802A20E4 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 79A898 802A20E8 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 79A89C 802A20EC 3C013FF0 */ lui $at, 0x3ff0
/* 79A8A0 802A20F0 44812800 */ mtc1 $at, $f5
/* 79A8A4 802A20F4 44802000 */ mtc1 $zero, $f4
/* 79A8A8 802A20F8 8C42000C */ lw $v0, 0xc($v0)
/* 79A8AC 802A20FC 2404005C */ addiu $a0, $zero, 0x5c
/* 79A8B0 802A2100 AFA20028 */ sw $v0, 0x28($sp)
.L802A2104:
/* 79A8B4 802A2104 8FC20078 */ lw $v0, 0x78($fp)
/* 79A8B8 802A2108 14400003 */ bnez $v0, .L802A2118
/* 79A8BC 802A210C 00000000 */ nop
/* 79A8C0 802A2110 5240001C */ beql $s2, $zero, .L802A2184
/* 79A8C4 802A2114 24630004 */ addiu $v1, $v1, 4
.L802A2118:
/* 79A8C8 802A2118 8FA80028 */ lw $t0, 0x28($sp)
/* 79A8CC 802A211C 8C620000 */ lw $v0, ($v1)
/* 79A8D0 802A2120 04400017 */ bltz $v0, .L802A2180
/* 79A8D4 802A2124 01048021 */ addu $s0, $t0, $a0
/* 79A8D8 802A2128 10400004 */ beqz $v0, .L802A213C
/* 79A8DC 802A212C 24170001 */ addiu $s7, $zero, 1
/* 79A8E0 802A2130 2442FFFF */ addiu $v0, $v0, -1
/* 79A8E4 802A2134 080A8860 */ j .L802A2180
/* 79A8E8 802A2138 AC620000 */ sw $v0, ($v1)
.L802A213C:
/* 79A8EC 802A213C 8E020000 */ lw $v0, ($s0)
/* 79A8F0 802A2140 C6160014 */ lwc1 $f22, 0x14($s0)
/* 79A8F4 802A2144 34420002 */ ori $v0, $v0, 2
/* 79A8F8 802A2148 AE020000 */ sw $v0, ($s0)
/* 79A8FC 802A214C C6200010 */ lwc1 $f0, 0x10($s1)
/* 79A900 802A2150 46160001 */ sub.s $f0, $f0, $f22
/* 79A904 802A2154 46060003 */ div.s $f0, $f0, $f6
/* 79A908 802A2158 4600B000 */ add.s $f0, $f22, $f0
/* 79A90C 802A215C E6000014 */ swc1 $f0, 0x14($s0)
/* 79A910 802A2160 C6220010 */ lwc1 $f2, 0x10($s1)
/* 79A914 802A2164 46020001 */ sub.s $f0, $f0, $f2
/* 79A918 802A2168 46000005 */ abs.s $f0, $f0
/* 79A91C 802A216C 46000021 */ cvt.d.s $f0, $f0
/* 79A920 802A2170 4624003C */ c.lt.d $f0, $f4
/* 79A924 802A2174 00000000 */ nop
/* 79A928 802A2178 45030001 */ bc1tl .L802A2180
/* 79A92C 802A217C AC650000 */ sw $a1, ($v1)
.L802A2180:
/* 79A930 802A2180 24630004 */ addiu $v1, $v1, 4
.L802A2184:
/* 79A934 802A2184 26520001 */ addiu $s2, $s2, 1
/* 79A938 802A2188 2A420008 */ slti $v0, $s2, 8
/* 79A93C 802A218C 1440FFDD */ bnez $v0, .L802A2104
/* 79A940 802A2190 2484001C */ addiu $a0, $a0, 0x1c
/* 79A944 802A2194 080A88FB */ j .L802A23EC
/* 79A948 802A2198 00000000 */ nop
glabel L802A219C_79A94C
/* 79A94C 802A219C 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 79A950 802A21A0 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 79A954 802A21A4 2404000F */ addiu $a0, $zero, 0xf
/* 79A958 802A21A8 8C43000C */ lw $v1, 0xc($v0)
/* 79A95C 802A21AC 24120007 */ addiu $s2, $zero, 7
/* 79A960 802A21B0 AC60003C */ sw $zero, 0x3c($v1)
/* 79A964 802A21B4 8C42000C */ lw $v0, 0xc($v0)
/* 79A968 802A21B8 3C03802A */ lui $v1, %hi(D_802A3834)
/* 79A96C 802A21BC 24633834 */ addiu $v1, $v1, %lo(D_802A3834)
/* 79A970 802A21C0 AC400024 */ sw $zero, 0x24($v0)
.L802A21C4:
/* 79A974 802A21C4 AC640000 */ sw $a0, ($v1)
/* 79A978 802A21C8 2652FFFF */ addiu $s2, $s2, -1
/* 79A97C 802A21CC 0641FFFD */ bgez $s2, .L802A21C4
/* 79A980 802A21D0 2463FFFC */ addiu $v1, $v1, -4
/* 79A984 802A21D4 8FC20078 */ lw $v0, 0x78($fp)
/* 79A988 802A21D8 14400002 */ bnez $v0, .L802A21E4
/* 79A98C 802A21DC 24040249 */ addiu $a0, $zero, 0x249
/* 79A990 802A21E0 24040248 */ addiu $a0, $zero, 0x248
.L802A21E4:
/* 79A994 802A21E4 0C05269B */ jal func_80149A6C
/* 79A998 802A21E8 0000282D */ daddu $a1, $zero, $zero
/* 79A99C 802A21EC 24020015 */ addiu $v0, $zero, 0x15
/* 79A9A0 802A21F0 080A8907 */ j .L802A241C
/* 79A9A4 802A21F4 AFC20070 */ sw $v0, 0x70($fp)
glabel L802A21F8_79A9A8
/* 79A9A8 802A21F8 0000B82D */ daddu $s7, $zero, $zero
/* 79A9AC 802A21FC 02E0902D */ daddu $s2, $s7, $zero
/* 79A9B0 802A2200 3C13802A */ lui $s3, %hi(D_802A3818)
/* 79A9B4 802A2204 26733818 */ addiu $s3, $s3, %lo(D_802A3818)
/* 79A9B8 802A2208 02E0282D */ daddu $a1, $s7, $zero
/* 79A9BC 802A220C 24160008 */ addiu $s6, $zero, 8
/* 79A9C0 802A2210 24150004 */ addiu $s5, $zero, 4
/* 79A9C4 802A2214 3C03802A */ lui $v1, %hi(D_802A3554_79BD04)
/* 79A9C8 802A2218 24633554 */ addiu $v1, $v1, %lo(D_802A3554_79BD04)
/* 79A9CC 802A221C 0060A02D */ daddu $s4, $v1, $zero
/* 79A9D0 802A2220 3C02802A */ lui $v0, %hi(D_802A37F0)
/* 79A9D4 802A2224 8C4237F0 */ lw $v0, %lo(D_802A37F0)($v0)
/* 79A9D8 802A2228 3C11802A */ lui $s1, %hi(D_802A3514_79BCC4)
/* 79A9DC 802A222C 26313514 */ addiu $s1, $s1, %lo(D_802A3514_79BCC4)
/* 79A9E0 802A2230 8C42000C */ lw $v0, 0xc($v0)
/* 79A9E4 802A2234 2404005C */ addiu $a0, $zero, 0x5c
/* 79A9E8 802A2238 AFA20028 */ sw $v0, 0x28($sp)
.L802A223C:
/* 79A9EC 802A223C 8FC20078 */ lw $v0, 0x78($fp)
/* 79A9F0 802A2240 14400003 */ bnez $v0, .L802A2250
/* 79A9F4 802A2244 00000000 */ nop
/* 79A9F8 802A2248 5240005F */ beql $s2, $zero, .L802A23C8
/* 79A9FC 802A224C 26730004 */ addiu $s3, $s3, 4
.L802A2250:
/* 79AA00 802A2250 8FA80028 */ lw $t0, 0x28($sp)
/* 79AA04 802A2254 8E220000 */ lw $v0, ($s1)
/* 79AA08 802A2258 04410015 */ bgez $v0, .L802A22B0
/* 79AA0C 802A225C 01048021 */ addu $s0, $t0, $a0
/* 79AA10 802A2260 02A31021 */ addu $v0, $s5, $v1
/* 79AA14 802A2264 C6140010 */ lwc1 $f20, 0x10($s0)
/* 79AA18 802A2268 C6980000 */ lwc1 $f24, ($s4)
/* 79AA1C 802A226C C45C0000 */ lwc1 $f28, ($v0)
/* 79AA20 802A2270 02C31021 */ addu $v0, $s6, $v1
/* 79AA24 802A2274 4614C181 */ sub.s $f6, $f24, $f20
/* 79AA28 802A2278 C6160014 */ lwc1 $f22, 0x14($s0)
/* 79AA2C 802A227C C61E0018 */ lwc1 $f30, 0x18($s0)
/* 79AA30 802A2280 4616E001 */ sub.s $f0, $f28, $f22
/* 79AA34 802A2284 C45A0000 */ lwc1 $f26, ($v0)
/* 79AA38 802A2288 461ED081 */ sub.s $f2, $f26, $f30
/* 79AA3C 802A228C 4606A180 */ add.s $f6, $f20, $f6
/* 79AA40 802A2290 4600B106 */ mov.s $f4, $f22
/* 79AA44 802A2294 46002100 */ add.s $f4, $f4, $f0
/* 79AA48 802A2298 4600F006 */ mov.s $f0, $f30
/* 79AA4C 802A229C 46020000 */ add.s $f0, $f0, $f2
/* 79AA50 802A22A0 E6060010 */ swc1 $f6, 0x10($s0)
/* 79AA54 802A22A4 E6040014 */ swc1 $f4, 0x14($s0)
/* 79AA58 802A22A8 080A88F1 */ j .L802A23C4
/* 79AA5C 802A22AC E6000018 */ swc1 $f0, 0x18($s0)
.L802A22B0:
/* 79AA60 802A22B0 10400004 */ beqz $v0, .L802A22C4
/* 79AA64 802A22B4 24170001 */ addiu $s7, $zero, 1
/* 79AA68 802A22B8 2442FFFF */ addiu $v0, $v0, -1
/* 79AA6C 802A22BC 080A88F1 */ j .L802A23C4
/* 79AA70 802A22C0 AE220000 */ sw $v0, ($s1)
.L802A22C4:
/* 79AA74 802A22C4 C6140010 */ lwc1 $f20, 0x10($s0)
/* 79AA78 802A22C8 C6160014 */ lwc1 $f22, 0x14($s0)
/* 79AA7C 802A22CC C61E0018 */ lwc1 $f30, 0x18($s0)
/* 79AA80 802A22D0 8E020000 */ lw $v0, ($s0)
/* 79AA84 802A22D4 4600A306 */ mov.s $f12, $f20
/* 79AA88 802A22D8 34420002 */ ori $v0, $v0, 2
/* 79AA8C 802A22DC AE020000 */ sw $v0, ($s0)
/* 79AA90 802A22E0 02C31021 */ addu $v0, $s6, $v1
/* 79AA94 802A22E4 C45A0000 */ lwc1 $f26, ($v0)
/* 79AA98 802A22E8 02A31021 */ addu $v0, $s5, $v1
/* 79AA9C 802A22EC C6980000 */ lwc1 $f24, ($s4)
/* 79AAA0 802A22F0 C45C0000 */ lwc1 $f28, ($v0)
/* 79AAA4 802A22F4 4406C000 */ mfc1 $a2, $f24
/* 79AAA8 802A22F8 4407D000 */ mfc1 $a3, $f26
/* 79AAAC 802A22FC 4600F386 */ mov.s $f14, $f30
/* 79AAB0 802A2300 AFA30030 */ sw $v1, 0x30($sp)
/* 79AAB4 802A2304 AFA40034 */ sw $a0, 0x34($sp)
/* 79AAB8 802A2308 0C00A7B5 */ jal dist2D
/* 79AABC 802A230C AFA50038 */ sw $a1, 0x38($sp)
/* 79AAC0 802A2310 3C08802A */ lui $t0, %hi(D_802A3818)
/* 79AAC4 802A2314 25083818 */ addiu $t0, $t0, %lo(D_802A3818)
/* 79AAC8 802A2318 4614C101 */ sub.s $f4, $f24, $f20
/* 79AACC 802A231C 8FA50038 */ lw $a1, 0x38($sp)
/* 79AAD0 802A2320 C6020010 */ lwc1 $f2, 0x10($s0)
/* 79AAD4 802A2324 00A81021 */ addu $v0, $a1, $t0
/* 79AAD8 802A2328 C4460000 */ lwc1 $f6, ($v0)
/* 79AADC 802A232C 468031A0 */ cvt.s.w $f6, $f6
/* 79AAE0 802A2330 46062103 */ div.s $f4, $f4, $f6
/* 79AAE4 802A2334 46041080 */ add.s $f2, $f2, $f4
/* 79AAE8 802A2338 4616E101 */ sub.s $f4, $f28, $f22
/* 79AAEC 802A233C E6020010 */ swc1 $f2, 0x10($s0)
/* 79AAF0 802A2340 C4460000 */ lwc1 $f6, ($v0)
/* 79AAF4 802A2344 468031A0 */ cvt.s.w $f6, $f6
/* 79AAF8 802A2348 C6020014 */ lwc1 $f2, 0x14($s0)
/* 79AAFC 802A234C 46062103 */ div.s $f4, $f4, $f6
/* 79AB00 802A2350 46041080 */ add.s $f2, $f2, $f4
/* 79AB04 802A2354 461ED101 */ sub.s $f4, $f26, $f30
/* 79AB08 802A2358 E6020014 */ swc1 $f2, 0x14($s0)
/* 79AB0C 802A235C C4460000 */ lwc1 $f6, ($v0)
/* 79AB10 802A2360 468031A0 */ cvt.s.w $f6, $f6
/* 79AB14 802A2364 C6020018 */ lwc1 $f2, 0x18($s0)
/* 79AB18 802A2368 46062103 */ div.s $f4, $f4, $f6
/* 79AB1C 802A236C 46041080 */ add.s $f2, $f2, $f4
/* 79AB20 802A2370 E6020018 */ swc1 $f2, 0x18($s0)
/* 79AB24 802A2374 8C420000 */ lw $v0, ($v0)
/* 79AB28 802A2378 8FA30030 */ lw $v1, 0x30($sp)
/* 79AB2C 802A237C 8FA40034 */ lw $a0, 0x34($sp)
/* 79AB30 802A2380 14570007 */ bne $v0, $s7, .L802A23A0
/* 79AB34 802A2384 46000106 */ mov.s $f4, $f0
/* 79AB38 802A2388 2402FFFF */ addiu $v0, $zero, -1
/* 79AB3C 802A238C AE220000 */ sw $v0, ($s1)
/* 79AB40 802A2390 E6180010 */ swc1 $f24, 0x10($s0)
/* 79AB44 802A2394 E61C0014 */ swc1 $f28, 0x14($s0)
/* 79AB48 802A2398 080A88EE */ j .L802A23B8
/* 79AB4C 802A239C E61A0018 */ swc1 $f26, 0x18($s0)
.L802A23A0:
/* 79AB50 802A23A0 3C014270 */ lui $at, 0x4270
/* 79AB54 802A23A4 44810000 */ mtc1 $at, $f0
/* 79AB58 802A23A8 C6020014 */ lwc1 $f2, 0x14($s0)
/* 79AB5C 802A23AC 46002003 */ div.s $f0, $f4, $f0
/* 79AB60 802A23B0 46001080 */ add.s $f2, $f2, $f0
/* 79AB64 802A23B4 E6020014 */ swc1 $f2, 0x14($s0)
.L802A23B8:
/* 79AB68 802A23B8 8E620000 */ lw $v0, ($s3)
/* 79AB6C 802A23BC 2442FFFF */ addiu $v0, $v0, -1
/* 79AB70 802A23C0 AE620000 */ sw $v0, ($s3)
.L802A23C4:
/* 79AB74 802A23C4 26730004 */ addiu $s3, $s3, 4
.L802A23C8:
/* 79AB78 802A23C8 24A50004 */ addiu $a1, $a1, 4
/* 79AB7C 802A23CC 26D6000C */ addiu $s6, $s6, 0xc
/* 79AB80 802A23D0 26B5000C */ addiu $s5, $s5, 0xc
/* 79AB84 802A23D4 2694000C */ addiu $s4, $s4, 0xc
/* 79AB88 802A23D8 26310004 */ addiu $s1, $s1, 4
/* 79AB8C 802A23DC 26520001 */ addiu $s2, $s2, 1
/* 79AB90 802A23E0 2A420008 */ slti $v0, $s2, 8
/* 79AB94 802A23E4 1440FF95 */ bnez $v0, .L802A223C
/* 79AB98 802A23E8 2484001C */ addiu $a0, $a0, 0x1c
.L802A23EC:
/* 79AB9C 802A23EC 16E0000C */ bnez $s7, .L802A2420
/* 79ABA0 802A23F0 0000102D */ daddu $v0, $zero, $zero
/* 79ABA4 802A23F4 3C03802A */ lui $v1, %hi(D_802A37F0)
/* 79ABA8 802A23F8 8C6337F0 */ lw $v1, %lo(D_802A37F0)($v1)
/* 79ABAC 802A23FC 24020002 */ addiu $v0, $zero, 2
/* 79ABB0 802A2400 8C640000 */ lw $a0, ($v1)
/* 79ABB4 802A2404 0040282D */ daddu $a1, $v0, $zero
/* 79ABB8 802A2408 3C01802A */ lui $at, %hi(D_802A3838)
/* 79ABBC 802A240C AC253838 */ sw $a1, %lo(D_802A3838)($at)
/* 79ABC0 802A2410 34840010 */ ori $a0, $a0, 0x10
/* 79ABC4 802A2414 080A8908 */ j .L802A2420
/* 79ABC8 802A2418 AC640000 */ sw $a0, ($v1)
.L802A241C:
glabel L802A241C_79ABCC
/* 79ABCC 802A241C 0000102D */ daddu $v0, $zero, $zero
.L802A2420:
/* 79ABD0 802A2420 8FBF0064 */ lw $ra, 0x64($sp)
/* 79ABD4 802A2424 8FBE0060 */ lw $fp, 0x60($sp)
/* 79ABD8 802A2428 8FB7005C */ lw $s7, 0x5c($sp)
/* 79ABDC 802A242C 8FB60058 */ lw $s6, 0x58($sp)
/* 79ABE0 802A2430 8FB50054 */ lw $s5, 0x54($sp)
/* 79ABE4 802A2434 8FB40050 */ lw $s4, 0x50($sp)
/* 79ABE8 802A2438 8FB3004C */ lw $s3, 0x4c($sp)
/* 79ABEC 802A243C 8FB20048 */ lw $s2, 0x48($sp)
/* 79ABF0 802A2440 8FB10044 */ lw $s1, 0x44($sp)
/* 79ABF4 802A2444 8FB00040 */ lw $s0, 0x40($sp)
/* 79ABF8 802A2448 D7BE0090 */ ldc1 $f30, 0x90($sp)
/* 79ABFC 802A244C D7BC0088 */ ldc1 $f28, 0x88($sp)
/* 79AC00 802A2450 D7BA0080 */ ldc1 $f26, 0x80($sp)
/* 79AC04 802A2454 D7B80078 */ ldc1 $f24, 0x78($sp)
/* 79AC08 802A2458 D7B60070 */ ldc1 $f22, 0x70($sp)
/* 79AC0C 802A245C D7B40068 */ ldc1 $f20, 0x68($sp)
/* 79AC10 802A2460 03E00008 */ jr $ra
/* 79AC14 802A2464 27BD0098 */ addiu $sp, $sp, 0x98