papermario/asm/nonmatchings/code_a5dd0_len_114e0/func_8011C32C.s

1323 lines
63 KiB
ArmAsm
Raw Normal View History

2020-08-04 08:49:11 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.include "include/macro.inc"
glabel func_8011C32C
/* 0B2A2C 8011C32C 27BDFF68 */ addiu $sp, $sp, -0x98
/* 0B2A30 8011C330 AFB40058 */ sw $s4, 0x58($sp)
/* 0B2A34 8011C334 00A0A02D */ daddu $s4, $a1, $zero
/* 0B2A38 8011C338 AFB00048 */ sw $s0, 0x48($sp)
/* 0B2A3C 8011C33C 00C0802D */ daddu $s0, $a2, $zero
/* 0B2A40 8011C340 AFB5005C */ sw $s5, 0x5c($sp)
/* 0B2A44 8011C344 00E0A82D */ daddu $s5, $a3, $zero
/* 0B2A48 8011C348 AFBF0060 */ sw $ra, 0x60($sp)
/* 0B2A4C 8011C34C AFB30054 */ sw $s3, 0x54($sp)
/* 0B2A50 8011C350 AFB20050 */ sw $s2, 0x50($sp)
/* 0B2A54 8011C354 AFB1004C */ sw $s1, 0x4c($sp)
/* 0B2A58 8011C358 F7BE0090 */ sdc1 $f30, 0x90($sp)
/* 0B2A5C 8011C35C F7BC0088 */ sdc1 $f28, 0x88($sp)
/* 0B2A60 8011C360 F7BA0080 */ sdc1 $f26, 0x80($sp)
/* 0B2A64 8011C364 F7B80078 */ sdc1 $f24, 0x78($sp)
/* 0B2A68 8011C368 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 0B2A6C 8011C36C F7B40068 */ sdc1 $f20, 0x68($sp)
/* 0B2A70 8011C370 0C046C04 */ jal get_model_list_index_from_tree_index
/* 0B2A74 8011C374 3084FFFF */ andi $a0, $a0, 0xffff
/* 0B2A78 8011C378 0C046B4C */ jal get_model_from_list_index
/* 0B2A7C 8011C37C 0040202D */ daddu $a0, $v0, $zero
/* 0B2A80 8011C380 8C420008 */ lw $v0, 8($v0)
/* 0B2A84 8011C384 240600DF */ addiu $a2, $zero, 0xdf
/* 0B2A88 8011C388 8C420004 */ lw $v0, 4($v0)
/* 0B2A8C 8011C38C 24050001 */ addiu $a1, $zero, 1
/* 0B2A90 8011C390 8C420000 */ lw $v0, ($v0)
.L8011C394:
/* 0B2A94 8011C394 90430000 */ lbu $v1, ($v0)
/* 0B2A98 8011C398 10660004 */ beq $v1, $a2, .L8011C3AC
/* 0B2A9C 8011C39C 8C440004 */ lw $a0, 4($v0)
/* 0B2AA0 8011C3A0 1465FFFC */ bne $v1, $a1, .L8011C394
/* 0B2AA4 8011C3A4 24420008 */ addiu $v0, $v0, 8
/* 0B2AA8 8011C3A8 AFA4001C */ sw $a0, 0x1c($sp)
.L8011C3AC:
/* 0B2AAC 8011C3AC 8FA2001C */ lw $v0, 0x1c($sp)
/* 0B2AB0 8011C3B0 84430000 */ lh $v1, ($v0)
/* 0B2AB4 8011C3B4 84440010 */ lh $a0, 0x10($v0)
/* 0B2AB8 8011C3B8 44838000 */ mtc1 $v1, $f16
/* 0B2ABC 8011C3BC 00000000 */ nop
/* 0B2AC0 8011C3C0 46808420 */ cvt.s.w $f16, $f16
/* 0B2AC4 8011C3C4 44842000 */ mtc1 $a0, $f4
/* 0B2AC8 8011C3C8 00000000 */ nop
/* 0B2ACC 8011C3CC 46802120 */ cvt.s.w $f4, $f4
/* 0B2AD0 8011C3D0 46048032 */ c.eq.s $f16, $f4
/* 0B2AD4 8011C3D4 84430004 */ lh $v1, 4($v0)
/* 0B2AD8 8011C3D8 84440008 */ lh $a0, 8($v0)
/* 0B2ADC 8011C3DC 44839000 */ mtc1 $v1, $f18
/* 0B2AE0 8011C3E0 00000000 */ nop
/* 0B2AE4 8011C3E4 468094A0 */ cvt.s.w $f18, $f18
/* 0B2AE8 8011C3E8 4484A000 */ mtc1 $a0, $f20
/* 0B2AEC 8011C3EC 00000000 */ nop
/* 0B2AF0 8011C3F0 4680A520 */ cvt.s.w $f20, $f20
/* 0B2AF4 8011C3F4 8443000A */ lh $v1, 0xa($v0)
/* 0B2AF8 8011C3F8 84440014 */ lh $a0, 0x14($v0)
/* 0B2AFC 8011C3FC 4483B000 */ mtc1 $v1, $f22
/* 0B2B00 8011C400 00000000 */ nop
/* 0B2B04 8011C404 4680B5A0 */ cvt.s.w $f22, $f22
/* 0B2B08 8011C408 44845000 */ mtc1 $a0, $f10
/* 0B2B0C 8011C40C 00000000 */ nop
/* 0B2B10 8011C410 468052A0 */ cvt.s.w $f10, $f10
/* 0B2B14 8011C414 E7B60038 */ swc1 $f22, 0x38($sp)
/* 0B2B18 8011C418 84430018 */ lh $v1, 0x18($v0)
/* 0B2B1C 8011C41C 8444001A */ lh $a0, 0x1a($v0)
/* 0B2B20 8011C420 44830000 */ mtc1 $v1, $f0
/* 0B2B24 8011C424 00000000 */ nop
/* 0B2B28 8011C428 46800020 */ cvt.s.w $f0, $f0
/* 0B2B2C 8011C42C 4484E000 */ mtc1 $a0, $f28
/* 0B2B30 8011C430 00000000 */ nop
/* 0B2B34 8011C434 4680E720 */ cvt.s.w $f28, $f28
/* 0B2B38 8011C438 E7BC0024 */ swc1 $f28, 0x24($sp)
/* 0B2B3C 8011C43C 84430020 */ lh $v1, 0x20($v0)
/* 0B2B40 8011C440 84440024 */ lh $a0, 0x24($v0)
/* 0B2B44 8011C444 4483C000 */ mtc1 $v1, $f24
/* 0B2B48 8011C448 00000000 */ nop
/* 0B2B4C 8011C44C 4680C620 */ cvt.s.w $f24, $f24
/* 0B2B50 8011C450 44843000 */ mtc1 $a0, $f6
/* 0B2B54 8011C454 00000000 */ nop
/* 0B2B58 8011C458 468031A0 */ cvt.s.w $f6, $f6
/* 0B2B5C 8011C45C 84430028 */ lh $v1, 0x28($v0)
/* 0B2B60 8011C460 8444002A */ lh $a0, 0x2a($v0)
/* 0B2B64 8011C464 4483D000 */ mtc1 $v1, $f26
/* 0B2B68 8011C468 00000000 */ nop
/* 0B2B6C 8011C46C 4680D6A0 */ cvt.s.w $f26, $f26
/* 0B2B70 8011C470 4484B000 */ mtc1 $a0, $f22
/* 0B2B74 8011C474 00000000 */ nop
/* 0B2B78 8011C478 4680B5A0 */ cvt.s.w $f22, $f22
/* 0B2B7C 8011C47C E7B60028 */ swc1 $f22, 0x28($sp)
/* 0B2B80 8011C480 9053000C */ lbu $s3, 0xc($v0)
/* 0B2B84 8011C484 9052000D */ lbu $s2, 0xd($v0)
/* 0B2B88 8011C488 9051000E */ lbu $s1, 0xe($v0)
/* 0B2B8C 8011C48C 4503002E */ bc1tl .L8011C548
/* 0B2B90 8011C490 46069081 */ sub.s $f2, $f18, $f6
/* 0B2B94 8011C494 46188081 */ sub.s $f2, $f16, $f24
/* 0B2B98 8011C498 46048381 */ sub.s $f14, $f16, $f4
/* 0B2B9C 8011C49C 4600A201 */ sub.s $f8, $f20, $f0
/* 0B2BA0 8011C4A0 460E1083 */ div.s $f2, $f2, $f14
/* 0B2BA4 8011C4A4 46081002 */ mul.s $f0, $f2, $f8
/* 0B2BA8 8011C4A8 00000000 */ nop
/* 0B2BAC 8011C4AC 460A9301 */ sub.s $f12, $f18, $f10
/* 0B2BB0 8011C4B0 460C1282 */ mul.s $f10, $f2, $f12
/* 0B2BB4 8011C4B4 00000000 */ nop
/* 0B2BB8 8011C4B8 461AA101 */ sub.s $f4, $f20, $f26
/* 0B2BBC 8011C4BC 46069181 */ sub.s $f6, $f18, $f6
/* 0B2BC0 8011C4C0 46040001 */ sub.s $f0, $f0, $f4
/* 0B2BC4 8011C4C4 46065281 */ sub.s $f10, $f10, $f6
/* 0B2BC8 8011C4C8 460A0003 */ div.s $f0, $f0, $f10
/* 0B2BCC 8011C4CC E7A00040 */ swc1 $f0, 0x40($sp)
/* 0B2BD0 8011C4D0 46006002 */ mul.s $f0, $f12, $f0
/* 0B2BD4 8011C4D4 00000000 */ nop
/* 0B2BD8 8011C4D8 C7B60038 */ lwc1 $f22, 0x38($sp)
/* 0B2BDC 8011C4DC 461CB101 */ sub.s $f4, $f22, $f28
/* 0B2BE0 8011C4E0 46041082 */ mul.s $f2, $f2, $f4
/* 0B2BE4 8011C4E4 00000000 */ nop
/* 0B2BE8 8011C4E8 46004201 */ sub.s $f8, $f8, $f0
/* 0B2BEC 8011C4EC 460E4783 */ div.s $f30, $f8, $f14
/* 0B2BF0 8011C4F0 4610F182 */ mul.s $f6, $f30, $f16
/* 0B2BF4 8011C4F4 00000000 */ nop
/* 0B2BF8 8011C4F8 C7BC0028 */ lwc1 $f28, 0x28($sp)
/* 0B2BFC 8011C4FC 461CB001 */ sub.s $f0, $f22, $f28
/* 0B2C00 8011C500 C7B60040 */ lwc1 $f22, 0x40($sp)
/* 0B2C04 8011C504 4612B202 */ mul.s $f8, $f22, $f18
/* 0B2C08 8011C508 00000000 */ nop
/* 0B2C0C 8011C50C 46001081 */ sub.s $f2, $f2, $f0
/* 0B2C10 8011C510 460A1683 */ div.s $f26, $f2, $f10
/* 0B2C14 8011C514 461A6302 */ mul.s $f12, $f12, $f26
/* 0B2C18 8011C518 00000000 */ nop
/* 0B2C1C 8011C51C 4612D082 */ mul.s $f2, $f26, $f18
/* 0B2C20 8011C520 00000000 */ nop
/* 0B2C24 8011C524 460C2101 */ sub.s $f4, $f4, $f12
/* 0B2C28 8011C528 460E2603 */ div.s $f24, $f4, $f14
/* 0B2C2C 8011C52C 4610C002 */ mul.s $f0, $f24, $f16
/* 0B2C30 8011C530 00000000 */ nop
/* 0B2C34 8011C534 4606A181 */ sub.s $f6, $f20, $f6
/* 0B2C38 8011C538 46083181 */ sub.s $f6, $f6, $f8
/* 0B2C3C 8011C53C C7BC0038 */ lwc1 $f28, 0x38($sp)
/* 0B2C40 8011C540 0804717C */ j .L8011C5F0
/* 0B2C44 8011C544 4600E001 */ sub.s $f0, $f28, $f0
.L8011C548:
/* 0B2C48 8011C548 460A9381 */ sub.s $f14, $f18, $f10
/* 0B2C4C 8011C54C 4600A201 */ sub.s $f8, $f20, $f0
/* 0B2C50 8011C550 460E1083 */ div.s $f2, $f2, $f14
/* 0B2C54 8011C554 46081002 */ mul.s $f0, $f2, $f8
/* 0B2C58 8011C558 00000000 */ nop
/* 0B2C5C 8011C55C 46048301 */ sub.s $f12, $f16, $f4
/* 0B2C60 8011C560 460C1282 */ mul.s $f10, $f2, $f12
/* 0B2C64 8011C564 00000000 */ nop
/* 0B2C68 8011C568 461AA101 */ sub.s $f4, $f20, $f26
/* 0B2C6C 8011C56C 46188181 */ sub.s $f6, $f16, $f24
/* 0B2C70 8011C570 46040001 */ sub.s $f0, $f0, $f4
/* 0B2C74 8011C574 46065281 */ sub.s $f10, $f10, $f6
/* 0B2C78 8011C578 460A0783 */ div.s $f30, $f0, $f10
/* 0B2C7C 8011C57C 461E6002 */ mul.s $f0, $f12, $f30
/* 0B2C80 8011C580 00000000 */ nop
/* 0B2C84 8011C584 4610F182 */ mul.s $f6, $f30, $f16
/* 0B2C88 8011C588 00000000 */ nop
/* 0B2C8C 8011C58C C7B60038 */ lwc1 $f22, 0x38($sp)
/* 0B2C90 8011C590 C7BC0024 */ lwc1 $f28, 0x24($sp)
/* 0B2C94 8011C594 461CB101 */ sub.s $f4, $f22, $f28
/* 0B2C98 8011C598 46041082 */ mul.s $f2, $f2, $f4
/* 0B2C9C 8011C59C 00000000 */ nop
/* 0B2CA0 8011C5A0 46004201 */ sub.s $f8, $f8, $f0
/* 0B2CA4 8011C5A4 460E4203 */ div.s $f8, $f8, $f14
/* 0B2CA8 8011C5A8 E7A80040 */ swc1 $f8, 0x40($sp)
/* 0B2CAC 8011C5AC 46124202 */ mul.s $f8, $f8, $f18
/* 0B2CB0 8011C5B0 00000000 */ nop
/* 0B2CB4 8011C5B4 C7BC0028 */ lwc1 $f28, 0x28($sp)
/* 0B2CB8 8011C5B8 461CB001 */ sub.s $f0, $f22, $f28
/* 0B2CBC 8011C5BC 46001081 */ sub.s $f2, $f2, $f0
/* 0B2CC0 8011C5C0 460A1603 */ div.s $f24, $f2, $f10
/* 0B2CC4 8011C5C4 46186302 */ mul.s $f12, $f12, $f24
/* 0B2CC8 8011C5C8 00000000 */ nop
/* 0B2CCC 8011C5CC 4610C002 */ mul.s $f0, $f24, $f16
/* 0B2CD0 8011C5D0 00000000 */ nop
/* 0B2CD4 8011C5D4 460C2101 */ sub.s $f4, $f4, $f12
/* 0B2CD8 8011C5D8 460E2683 */ div.s $f26, $f4, $f14
/* 0B2CDC 8011C5DC 4612D082 */ mul.s $f2, $f26, $f18
/* 0B2CE0 8011C5E0 00000000 */ nop
/* 0B2CE4 8011C5E4 4606A181 */ sub.s $f6, $f20, $f6
/* 0B2CE8 8011C5E8 46083181 */ sub.s $f6, $f6, $f8
/* 0B2CEC 8011C5EC 4600B001 */ sub.s $f0, $f22, $f0
.L8011C5F0:
/* 0B2CF0 8011C5F0 E7A6002C */ swc1 $f6, 0x2c($sp)
/* 0B2CF4 8011C5F4 46020501 */ sub.s $f20, $f0, $f2
/* 0B2CF8 8011C5F8 0280202D */ daddu $a0, $s4, $zero
/* 0B2CFC 8011C5FC 27A50018 */ addiu $a1, $sp, 0x18
/* 0B2D00 8011C600 27A6001C */ addiu $a2, $sp, 0x1c
/* 0B2D04 8011C604 27A70020 */ addiu $a3, $sp, 0x20
/* 0B2D08 8011C608 0C04700A */ jal func_8011C028
/* 0B2D0C 8011C60C AFB50010 */ sw $s5, 0x10($sp)
/* 0B2D10 8011C610 8FA20018 */ lw $v0, 0x18($sp)
/* 0B2D14 8011C614 1840006E */ blez $v0, .L8011C7D0
/* 0B2D18 8011C618 0000282D */ daddu $a1, $zero, $zero
/* 0B2D1C 8011C61C 44809000 */ mtc1 $zero, $f18
/* 0B2D20 8011C620 3C013FE0 */ lui $at, 0x3fe0
/* 0B2D24 8011C624 44818800 */ mtc1 $at, $f17
/* 0B2D28 8011C628 44808000 */ mtc1 $zero, $f16
.L8011C62C:
/* 0B2D2C 8011C62C 8FA3001C */ lw $v1, 0x1c($sp)
/* 0B2D30 8011C630 84620000 */ lh $v0, ($v1)
/* 0B2D34 8011C634 44823000 */ mtc1 $v0, $f6
/* 0B2D38 8011C638 00000000 */ nop
/* 0B2D3C 8011C63C 468031A0 */ cvt.s.w $f6, $f6
/* 0B2D40 8011C640 84620002 */ lh $v0, 2($v1)
/* 0B2D44 8011C644 84630004 */ lh $v1, 4($v1)
/* 0B2D48 8011C648 44827000 */ mtc1 $v0, $f14
/* 0B2D4C 8011C64C 00000000 */ nop
/* 0B2D50 8011C650 468073A0 */ cvt.s.w $f14, $f14
/* 0B2D54 8011C654 44836000 */ mtc1 $v1, $f12
/* 0B2D58 8011C658 00000000 */ nop
/* 0B2D5C 8011C65C 46806320 */ cvt.s.w $f12, $f12
/* 0B2D60 8011C660 1200001C */ beqz $s0, .L8011C6D4
/* 0B2D64 8011C664 46003286 */ mov.s $f10, $f6
/* 0B2D68 8011C668 C6040000 */ lwc1 $f4, ($s0)
/* 0B2D6C 8011C66C 46062102 */ mul.s $f4, $f4, $f6
/* 0B2D70 8011C670 00000000 */ nop
/* 0B2D74 8011C674 C60A0010 */ lwc1 $f10, 0x10($s0)
/* 0B2D78 8011C678 460E5282 */ mul.s $f10, $f10, $f14
/* 0B2D7C 8011C67C 00000000 */ nop
/* 0B2D80 8011C680 C6000020 */ lwc1 $f0, 0x20($s0)
/* 0B2D84 8011C684 460C0002 */ mul.s $f0, $f0, $f12
/* 0B2D88 8011C688 00000000 */ nop
/* 0B2D8C 8011C68C C6020008 */ lwc1 $f2, 8($s0)
/* 0B2D90 8011C690 46061082 */ mul.s $f2, $f2, $f6
/* 0B2D94 8011C694 00000000 */ nop
/* 0B2D98 8011C698 C6080018 */ lwc1 $f8, 0x18($s0)
/* 0B2D9C 8011C69C 460E4202 */ mul.s $f8, $f8, $f14
/* 0B2DA0 8011C6A0 00000000 */ nop
/* 0B2DA4 8011C6A4 C6060028 */ lwc1 $f6, 0x28($s0)
/* 0B2DA8 8011C6A8 460C3182 */ mul.s $f6, $f6, $f12
/* 0B2DAC 8011C6AC 00000000 */ nop
/* 0B2DB0 8011C6B0 460A2100 */ add.s $f4, $f4, $f10
/* 0B2DB4 8011C6B4 46081080 */ add.s $f2, $f2, $f8
/* 0B2DB8 8011C6B8 46002100 */ add.s $f4, $f4, $f0
/* 0B2DBC 8011C6BC 46061080 */ add.s $f2, $f2, $f6
/* 0B2DC0 8011C6C0 C6000030 */ lwc1 $f0, 0x30($s0)
/* 0B2DC4 8011C6C4 46002280 */ add.s $f10, $f4, $f0
/* 0B2DC8 8011C6C8 C6000038 */ lwc1 $f0, 0x38($s0)
/* 0B2DCC 8011C6CC 080471B6 */ j .L8011C6D8
/* 0B2DD0 8011C6D0 46001180 */ add.s $f6, $f2, $f0
.L8011C6D4:
/* 0B2DD4 8011C6D4 46006186 */ mov.s $f6, $f12
.L8011C6D8:
/* 0B2DD8 8011C6D8 460AF002 */ mul.s $f0, $f30, $f10
/* 0B2DDC 8011C6DC 00000000 */ nop
/* 0B2DE0 8011C6E0 460AC082 */ mul.s $f2, $f24, $f10
/* 0B2DE4 8011C6E4 00000000 */ nop
/* 0B2DE8 8011C6E8 C7B60040 */ lwc1 $f22, 0x40($sp)
/* 0B2DEC 8011C6EC 4606B102 */ mul.s $f4, $f22, $f6
/* 0B2DF0 8011C6F0 00000000 */ nop
/* 0B2DF4 8011C6F4 4606D182 */ mul.s $f6, $f26, $f6
/* 0B2DF8 8011C6F8 00000000 */ nop
/* 0B2DFC 8011C6FC 46040000 */ add.s $f0, $f0, $f4
/* 0B2E00 8011C700 46061080 */ add.s $f2, $f2, $f6
/* 0B2E04 8011C704 C7BC002C */ lwc1 $f28, 0x2c($sp)
/* 0B2E08 8011C708 461C0100 */ add.s $f4, $f0, $f28
/* 0B2E0C 8011C70C 4612203C */ c.lt.s $f4, $f18
/* 0B2E10 8011C710 00000000 */ nop
/* 0B2E14 8011C714 45000004 */ bc1f .L8011C728
/* 0B2E18 8011C718 46141080 */ add.s $f2, $f2, $f20
/* 0B2E1C 8011C71C 46002021 */ cvt.d.s $f0, $f4
/* 0B2E20 8011C720 080471D0 */ j .L8011C740
/* 0B2E24 8011C724 46300001 */ sub.d $f0, $f0, $f16
.L8011C728:
/* 0B2E28 8011C728 4604903C */ c.lt.s $f18, $f4
/* 0B2E2C 8011C72C 00000000 */ nop
/* 0B2E30 8011C730 45000004 */ bc1f .L8011C744
/* 0B2E34 8011C734 00000000 */ nop
/* 0B2E38 8011C738 46002021 */ cvt.d.s $f0, $f4
/* 0B2E3C 8011C73C 46300000 */ add.d $f0, $f0, $f16
.L8011C740:
/* 0B2E40 8011C740 46200120 */ cvt.s.d $f4, $f0
.L8011C744:
/* 0B2E44 8011C744 4612103C */ c.lt.s $f2, $f18
/* 0B2E48 8011C748 00000000 */ nop
/* 0B2E4C 8011C74C 45000004 */ bc1f .L8011C760
/* 0B2E50 8011C750 00000000 */ nop
/* 0B2E54 8011C754 46001021 */ cvt.d.s $f0, $f2
/* 0B2E58 8011C758 080471DE */ j .L8011C778
/* 0B2E5C 8011C75C 46300001 */ sub.d $f0, $f0, $f16
.L8011C760:
/* 0B2E60 8011C760 4602903C */ c.lt.s $f18, $f2
/* 0B2E64 8011C764 00000000 */ nop
/* 0B2E68 8011C768 45000004 */ bc1f .L8011C77C
/* 0B2E6C 8011C76C 00000000 */ nop
/* 0B2E70 8011C770 46001021 */ cvt.d.s $f0, $f2
/* 0B2E74 8011C774 46300000 */ add.d $f0, $f0, $f16
.L8011C778:
/* 0B2E78 8011C778 462000A0 */ cvt.s.d $f2, $f0
.L8011C77C:
/* 0B2E7C 8011C77C 8FA3001C */ lw $v1, 0x1c($sp)
/* 0B2E80 8011C780 4600258D */ trunc.w.s $f22, $f4
/* 0B2E84 8011C784 4402B000 */ mfc1 $v0, $f22
/* 0B2E88 8011C788 00000000 */ nop
/* 0B2E8C 8011C78C A4620008 */ sh $v0, 8($v1)
/* 0B2E90 8011C790 A073000C */ sb $s3, 0xc($v1)
/* 0B2E94 8011C794 8FA4001C */ lw $a0, 0x1c($sp)
/* 0B2E98 8011C798 4600158D */ trunc.w.s $f22, $f2
/* 0B2E9C 8011C79C 4402B000 */ mfc1 $v0, $f22
/* 0B2EA0 8011C7A0 00000000 */ nop
/* 0B2EA4 8011C7A4 A462000A */ sh $v0, 0xa($v1)
/* 0B2EA8 8011C7A8 A092000D */ sb $s2, 0xd($a0)
/* 0B2EAC 8011C7AC 8FA2001C */ lw $v0, 0x1c($sp)
/* 0B2EB0 8011C7B0 24A50001 */ addiu $a1, $a1, 1
/* 0B2EB4 8011C7B4 A051000E */ sb $s1, 0xe($v0)
/* 0B2EB8 8011C7B8 8FA2001C */ lw $v0, 0x1c($sp)
/* 0B2EBC 8011C7BC 8FA30018 */ lw $v1, 0x18($sp)
/* 0B2EC0 8011C7C0 24420010 */ addiu $v0, $v0, 0x10
/* 0B2EC4 8011C7C4 00A3182A */ slt $v1, $a1, $v1
/* 0B2EC8 8011C7C8 1460FF98 */ bnez $v1, .L8011C62C
/* 0B2ECC 8011C7CC AFA2001C */ sw $v0, 0x1c($sp)
.L8011C7D0:
/* 0B2ED0 8011C7D0 8FBF0060 */ lw $ra, 0x60($sp)
/* 0B2ED4 8011C7D4 8FB5005C */ lw $s5, 0x5c($sp)
/* 0B2ED8 8011C7D8 8FB40058 */ lw $s4, 0x58($sp)
/* 0B2EDC 8011C7DC 8FB30054 */ lw $s3, 0x54($sp)
/* 0B2EE0 8011C7E0 8FB20050 */ lw $s2, 0x50($sp)
/* 0B2EE4 8011C7E4 8FB1004C */ lw $s1, 0x4c($sp)
/* 0B2EE8 8011C7E8 8FB00048 */ lw $s0, 0x48($sp)
/* 0B2EEC 8011C7EC D7BE0090 */ ldc1 $f30, 0x90($sp)
/* 0B2EF0 8011C7F0 D7BC0088 */ ldc1 $f28, 0x88($sp)
/* 0B2EF4 8011C7F4 D7BA0080 */ ldc1 $f26, 0x80($sp)
/* 0B2EF8 8011C7F8 D7B80078 */ ldc1 $f24, 0x78($sp)
/* 0B2EFC 8011C7FC D7B60070 */ ldc1 $f22, 0x70($sp)
/* 0B2F00 8011C800 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 0B2F04 8011C804 03E00008 */ jr $ra
/* 0B2F08 8011C808 27BD0098 */ addiu $sp, $sp, 0x98
/* 0B2F0C 8011C80C 27BDFF88 */ addiu $sp, $sp, -0x78
/* 0B2F10 8011C810 AFB00040 */ sw $s0, 0x40($sp)
/* 0B2F14 8011C814 00C0802D */ daddu $s0, $a2, $zero
/* 0B2F18 8011C818 AFB10044 */ sw $s1, 0x44($sp)
/* 0B2F1C 8011C81C 00E0882D */ daddu $s1, $a3, $zero
/* 0B2F20 8011C820 3C038007 */ lui $v1, 0x8007
/* 0B2F24 8011C824 8C637410 */ lw $v1, 0x7410($v1)
/* 0B2F28 8011C828 3084FFFF */ andi $a0, $a0, 0xffff
/* 0B2F2C 8011C82C AFA5007C */ sw $a1, 0x7c($sp)
/* 0B2F30 8011C830 3C05800B */ lui $a1, 0x800b
/* 0B2F34 8011C834 24A51D80 */ addiu $a1, $a1, 0x1d80
/* 0B2F38 8011C838 AFBF0064 */ sw $ra, 0x64($sp)
/* 0B2F3C 8011C83C AFBE0060 */ sw $fp, 0x60($sp)
/* 0B2F40 8011C840 AFB7005C */ sw $s7, 0x5c($sp)
/* 0B2F44 8011C844 AFB60058 */ sw $s6, 0x58($sp)
/* 0B2F48 8011C848 AFB50054 */ sw $s5, 0x54($sp)
/* 0B2F4C 8011C84C AFB40050 */ sw $s4, 0x50($sp)
/* 0B2F50 8011C850 AFB3004C */ sw $s3, 0x4c($sp)
/* 0B2F54 8011C854 AFB20048 */ sw $s2, 0x48($sp)
/* 0B2F58 8011C858 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 0B2F5C 8011C85C F7B40068 */ sdc1 $f20, 0x68($sp)
/* 0B2F60 8011C860 00031080 */ sll $v0, $v1, 2
/* 0B2F64 8011C864 00431021 */ addu $v0, $v0, $v1
/* 0B2F68 8011C868 00021080 */ sll $v0, $v0, 2
/* 0B2F6C 8011C86C 00431023 */ subu $v0, $v0, $v1
/* 0B2F70 8011C870 000218C0 */ sll $v1, $v0, 3
/* 0B2F74 8011C874 00431021 */ addu $v0, $v0, $v1
/* 0B2F78 8011C878 000210C0 */ sll $v0, $v0, 3
/* 0B2F7C 8011C87C 0C046C04 */ jal get_model_list_index_from_tree_index
/* 0B2F80 8011C880 0045F021 */ addu $fp, $v0, $a1
/* 0B2F84 8011C884 0C046B4C */ jal get_model_from_list_index
/* 0B2F88 8011C888 0040202D */ daddu $a0, $v0, $zero
/* 0B2F8C 8011C88C 8FA8007C */ lw $t0, 0x7c($sp)
/* 0B2F90 8011C890 0040182D */ daddu $v1, $v0, $zero
/* 0B2F94 8011C894 29020010 */ slti $v0, $t0, 0x10
/* 0B2F98 8011C898 104001B9 */ beqz $v0, .L8011CF80
/* 0B2F9C 8011C89C 27A20028 */ addiu $v0, $sp, 0x28
/* 0B2FA0 8011C8A0 3C013F80 */ lui $at, 0x3f80
/* 0B2FA4 8011C8A4 4481A000 */ mtc1 $at, $f20
/* 0B2FA8 8011C8A8 AFA20014 */ sw $v0, 0x14($sp)
/* 0B2FAC 8011C8AC 27A2002C */ addiu $v0, $sp, 0x2c
/* 0B2FB0 8011C8B0 AFA20018 */ sw $v0, 0x18($sp)
/* 0B2FB4 8011C8B4 27A20030 */ addiu $v0, $sp, 0x30
/* 0B2FB8 8011C8B8 AFA2001C */ sw $v0, 0x1c($sp)
/* 0B2FBC 8011C8BC 27A20034 */ addiu $v0, $sp, 0x34
/* 0B2FC0 8011C8C0 AFA20020 */ sw $v0, 0x20($sp)
/* 0B2FC4 8011C8C4 E7B40010 */ swc1 $f20, 0x10($sp)
/* 0B2FC8 8011C8C8 8C650098 */ lw $a1, 0x98($v1)
/* 0B2FCC 8011C8CC 8C66009C */ lw $a2, 0x9c($v1)
/* 0B2FD0 8011C8D0 8C6700A0 */ lw $a3, 0xa0($v1)
/* 0B2FD4 8011C8D4 0C00A588 */ jal transform_point
/* 0B2FD8 8011C8D8 27C400D4 */ addiu $a0, $fp, 0xd4
/* 0B2FDC 8011C8DC C7A00034 */ lwc1 $f0, 0x34($sp)
/* 0B2FE0 8011C8E0 44809000 */ mtc1 $zero, $f18
/* 0B2FE4 8011C8E4 00000000 */ nop
/* 0B2FE8 8011C8E8 46120032 */ c.eq.s $f0, $f18
/* 0B2FEC 8011C8EC 00000000 */ nop
/* 0B2FF0 8011C8F0 45000004 */ bc1f .L8011C904
/* 0B2FF4 8011C8F4 24020001 */ addiu $v0, $zero, 1
/* 0B2FF8 8011C8F8 E6120000 */ swc1 $f18, ($s0)
/* 0B2FFC 8011C8FC 080473E1 */ j .L8011CF84
/* 0B3000 8011C900 E6320000 */ swc1 $f18, ($s1)
.L8011C904:
/* 0B3004 8011C904 C7AC0030 */ lwc1 $f12, 0x30($sp)
/* 0B3008 8011C908 4600A383 */ div.s $f14, $f20, $f0
/* 0B300C 8011C90C 460E6302 */ mul.s $f12, $f12, $f14
/* 0B3010 8011C910 00000000 */ nop
/* 0B3014 8011C914 46146080 */ add.s $f2, $f12, $f20
/* 0B3018 8011C918 3C013FE0 */ lui $at, 0x3fe0
/* 0B301C 8011C91C 44814800 */ mtc1 $at, $f9
/* 0B3020 8011C920 44804000 */ mtc1 $zero, $f8
/* 0B3024 8011C924 460010A1 */ cvt.d.s $f2, $f2
/* 0B3028 8011C928 46281082 */ mul.d $f2, $f2, $f8
/* 0B302C 8011C92C 00000000 */ nop
/* 0B3030 8011C930 C7B00028 */ lwc1 $f16, 0x28($sp)
/* 0B3034 8011C934 460E8402 */ mul.s $f16, $f16, $f14
/* 0B3038 8011C938 00000000 */ nop
/* 0B303C 8011C93C 87C2000A */ lh $v0, 0xa($fp)
/* 0B3040 8011C940 44820000 */ mtc1 $v0, $f0
/* 0B3044 8011C944 00000000 */ nop
/* 0B3048 8011C948 46800020 */ cvt.s.w $f0, $f0
/* 0B304C 8011C94C 46008102 */ mul.s $f4, $f16, $f0
/* 0B3050 8011C950 00000000 */ nop
/* 0B3054 8011C954 46002100 */ add.s $f4, $f4, $f0
/* 0B3058 8011C958 46002121 */ cvt.d.s $f4, $f4
/* 0B305C 8011C95C 46282102 */ mul.d $f4, $f4, $f8
/* 0B3060 8011C960 00000000 */ nop
/* 0B3064 8011C964 C7A6002C */ lwc1 $f6, 0x2c($sp)
/* 0B3068 8011C968 46007007 */ neg.s $f0, $f14
/* 0B306C 8011C96C 46003182 */ mul.s $f6, $f6, $f0
/* 0B3070 8011C970 00000000 */ nop
/* 0B3074 8011C974 87C2000C */ lh $v0, 0xc($fp)
/* 0B3078 8011C978 44825000 */ mtc1 $v0, $f10
/* 0B307C 8011C97C 00000000 */ nop
/* 0B3080 8011C980 468052A0 */ cvt.s.w $f10, $f10
/* 0B3084 8011C984 460A3002 */ mul.s $f0, $f6, $f10
/* 0B3088 8011C988 00000000 */ nop
/* 0B308C 8011C98C E7AE0034 */ swc1 $f14, 0x34($sp)
/* 0B3090 8011C990 E7B00028 */ swc1 $f16, 0x28($sp)
/* 0B3094 8011C994 E7AC0030 */ swc1 $f12, 0x30($sp)
/* 0B3098 8011C998 460A0000 */ add.s $f0, $f0, $f10
/* 0B309C 8011C99C E7A6002C */ swc1 $f6, 0x2c($sp)
/* 0B30A0 8011C9A0 462010A0 */ cvt.s.d $f2, $f2
/* 0B30A4 8011C9A4 46000021 */ cvt.d.s $f0, $f0
/* 0B30A8 8011C9A8 46280002 */ mul.d $f0, $f0, $f8
/* 0B30AC 8011C9AC 00000000 */ nop
/* 0B30B0 8011C9B0 E7A20030 */ swc1 $f2, 0x30($sp)
/* 0B30B4 8011C9B4 87C2000E */ lh $v0, 0xe($fp)
/* 0B30B8 8011C9B8 44821000 */ mtc1 $v0, $f2
/* 0B30BC 8011C9BC 00000000 */ nop
/* 0B30C0 8011C9C0 468010A0 */ cvt.s.w $f2, $f2
/* 0B30C4 8011C9C4 46202120 */ cvt.s.d $f4, $f4
/* 0B30C8 8011C9C8 E7A40028 */ swc1 $f4, 0x28($sp)
/* 0B30CC 8011C9CC 87C20010 */ lh $v0, 0x10($fp)
/* 0B30D0 8011C9D0 46022100 */ add.s $f4, $f4, $f2
/* 0B30D4 8011C9D4 44821000 */ mtc1 $v0, $f2
/* 0B30D8 8011C9D8 00000000 */ nop
/* 0B30DC 8011C9DC 468010A0 */ cvt.s.w $f2, $f2
/* 0B30E0 8011C9E0 4600258D */ trunc.w.s $f22, $f4
/* 0B30E4 8011C9E4 4402B000 */ mfc1 $v0, $f22
/* 0B30E8 8011C9E8 E7A40028 */ swc1 $f4, 0x28($sp)
/* 0B30EC 8011C9EC 46200020 */ cvt.s.d $f0, $f0
/* 0B30F0 8011C9F0 46020080 */ add.s $f2, $f0, $f2
/* 0B30F4 8011C9F4 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 0B30F8 8011C9F8 44820000 */ mtc1 $v0, $f0
/* 0B30FC 8011C9FC 00000000 */ nop
/* 0B3100 8011CA00 46800020 */ cvt.s.w $f0, $f0
/* 0B3104 8011CA04 E7A2002C */ swc1 $f2, 0x2c($sp)
/* 0B3108 8011CA08 E6000000 */ swc1 $f0, ($s0)
/* 0B310C 8011CA0C C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 0B3110 8011CA10 4600058D */ trunc.w.s $f22, $f0
/* 0B3114 8011CA14 4402B000 */ mfc1 $v0, $f22
/* 0B3118 8011CA18 00000000 */ nop
/* 0B311C 8011CA1C 44820000 */ mtc1 $v0, $f0
/* 0B3120 8011CA20 00000000 */ nop
/* 0B3124 8011CA24 46800020 */ cvt.s.w $f0, $f0
/* 0B3128 8011CA28 E6200000 */ swc1 $f0, ($s1)
/* 0B312C 8011CA2C 8FA8007C */ lw $t0, 0x7c($sp)
/* 0B3130 8011CA30 05010008 */ bgez $t0, .L8011CA54
/* 0B3134 8011CA34 00000000 */ nop
/* 0B3138 8011CA38 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 0B313C 8011CA3C 4600903C */ c.lt.s $f18, $f0
/* 0B3140 8011CA40 00000000 */ nop
/* 0B3144 8011CA44 4501014F */ bc1t .L8011CF84
/* 0B3148 8011CA48 0000102D */ daddu $v0, $zero, $zero
/* 0B314C 8011CA4C 080473E1 */ j .L8011CF84
/* 0B3150 8011CA50 24020001 */ addiu $v0, $zero, 1
.L8011CA54:
/* 0B3154 8011CA54 C7A40028 */ lwc1 $f4, 0x28($sp)
/* 0B3158 8011CA58 4604903E */ c.le.s $f18, $f4
/* 0B315C 8011CA5C 00000000 */ nop
/* 0B3160 8011CA60 45000140 */ bc1f .L8011CF64
/* 0B3164 8011CA64 00000000 */ nop
/* 0B3168 8011CA68 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 0B316C 8011CA6C 4602903E */ c.le.s $f18, $f2
/* 0B3170 8011CA70 00000000 */ nop
/* 0B3174 8011CA74 4500013B */ bc1f .L8011CF64
/* 0B3178 8011CA78 00000000 */ nop
/* 0B317C 8011CA7C 3C0143A0 */ lui $at, 0x43a0
/* 0B3180 8011CA80 44810000 */ mtc1 $at, $f0
/* 0B3184 8011CA84 00000000 */ nop
/* 0B3188 8011CA88 4600203C */ c.lt.s $f4, $f0
/* 0B318C 8011CA8C 00000000 */ nop
/* 0B3190 8011CA90 45000134 */ bc1f .L8011CF64
/* 0B3194 8011CA94 00000000 */ nop
/* 0B3198 8011CA98 3C014370 */ lui $at, 0x4370
/* 0B319C 8011CA9C 44810000 */ mtc1 $at, $f0
/* 0B31A0 8011CAA0 00000000 */ nop
/* 0B31A4 8011CAA4 4600103C */ c.lt.s $f2, $f0
/* 0B31A8 8011CAA8 00000000 */ nop
/* 0B31AC 8011CAAC 4500012D */ bc1f .L8011CF64
/* 0B31B0 8011CAB0 3C05FD10 */ lui $a1, 0xfd10
/* 0B31B4 8011CAB4 3C11800A */ lui $s1, 0x800a
/* 0B31B8 8011CAB8 2631A66C */ addiu $s1, $s1, -0x5994
/* 0B31BC 8011CABC 34A5013F */ ori $a1, $a1, 0x13f
/* 0B31C0 8011CAC0 4600158D */ trunc.w.s $f22, $f2
/* 0B31C4 8011CAC4 4402B000 */ mfc1 $v0, $f22
/* 0B31C8 8011CAC8 00000000 */ nop
/* 0B31CC 8011CACC 00022080 */ sll $a0, $v0, 2
/* 0B31D0 8011CAD0 00822021 */ addu $a0, $a0, $v0
/* 0B31D4 8011CAD4 000421C0 */ sll $a0, $a0, 7
/* 0B31D8 8011CAD8 3C13E700 */ lui $s3, 0xe700
/* 0B31DC 8011CADC 8E320000 */ lw $s2, ($s1)
/* 0B31E0 8011CAE0 3C02800A */ lui $v0, 0x800a
/* 0B31E4 8011CAE4 8C42A5DC */ lw $v0, -0x5a24($v0)
/* 0B31E8 8011CAE8 0240182D */ daddu $v1, $s2, $zero
/* 0B31EC 8011CAEC 26520008 */ addiu $s2, $s2, 8
/* 0B31F0 8011CAF0 00442021 */ addu $a0, $v0, $a0
/* 0B31F4 8011CAF4 26420008 */ addiu $v0, $s2, 8
/* 0B31F8 8011CAF8 AE320000 */ sw $s2, ($s1)
/* 0B31FC 8011CAFC AC730000 */ sw $s3, ($v1)
/* 0B3200 8011CB00 AC600004 */ sw $zero, 4($v1)
/* 0B3204 8011CB04 AE220000 */ sw $v0, ($s1)
/* 0B3208 8011CB08 0C0187A4 */ jal osVirtualToPhysical
/* 0B320C 8011CB0C AE450000 */ sw $a1, ($s2)
/* 0B3210 8011CB10 3C06F510 */ lui $a2, 0xf510
/* 0B3214 8011CB14 34C60200 */ ori $a2, $a2, 0x200
/* 0B3218 8011CB18 3C030700 */ lui $v1, 0x700
/* 0B321C 8011CB1C 34630090 */ ori $v1, $v1, 0x90
/* 0B3220 8011CB20 3C18FF10 */ lui $t8, 0xff10
/* 0B3224 8011CB24 3718013F */ ori $t8, $t8, 0x13f
/* 0B3228 8011CB28 3C07E300 */ lui $a3, 0xe300
/* 0B322C 8011CB2C 34E70A01 */ ori $a3, $a3, 0xa01
/* 0B3230 8011CB30 3C0AE200 */ lui $t2, 0xe200
/* 0B3234 8011CB34 354A001C */ ori $t2, $t2, 0x1c
/* 0B3238 8011CB38 3C080F0A */ lui $t0, 0xf0a
/* 0B323C 8011CB3C 35084000 */ ori $t0, $t0, 0x4000
/* 0B3240 8011CB40 3C0BFCFF */ lui $t3, 0xfcff
/* 0B3244 8011CB44 356BFFFF */ ori $t3, $t3, 0xffff
/* 0B3248 8011CB48 3C09FFFC */ lui $t1, 0xfffc
/* 0B324C 8011CB4C 3529F279 */ ori $t1, $t1, 0xf279
/* 0B3250 8011CB50 3C0CE300 */ lui $t4, 0xe300
/* 0B3254 8011CB54 358C1201 */ ori $t4, $t4, 0x1201
/* 0B3258 8011CB58 3C0DE300 */ lui $t5, 0xe300
/* 0B325C 8011CB5C 35AD0C00 */ ori $t5, $t5, 0xc00
/* 0B3260 8011CB60 3C0ED700 */ lui $t6, 0xd700
/* 0B3264 8011CB64 35CE0002 */ ori $t6, $t6, 2
/* 0B3268 8011CB68 3C0FE300 */ lui $t7, 0xe300
/* 0B326C 8011CB6C 35EF1001 */ ori $t7, $t7, 0x1001
/* 0B3270 8011CB70 3C15E300 */ lui $s5, 0xe300
/* 0B3274 8011CB74 36B50D01 */ ori $s5, $s5, 0xd01
/* 0B3278 8011CB78 3C16E300 */ lui $s6, 0xe300
/* 0B327C 8011CB7C 36D60F00 */ ori $s6, $s6, 0xf00
/* 0B3280 8011CB80 3C17E401 */ lui $s7, 0xe401
/* 0B3284 8011CB84 36F70004 */ ori $s7, $s7, 4
/* 0B3288 8011CB88 3C190400 */ lui $t9, 0x400
/* 0B328C 8011CB8C AFA80038 */ sw $t0, 0x38($sp)
/* 0B3290 8011CB90 8E300000 */ lw $s0, ($s1)
/* 0B3294 8011CB94 3C148015 */ lui $s4, 0x8015
/* 0B3298 8011CB98 26943380 */ addiu $s4, $s4, 0x3380
/* 0B329C 8011CB9C AE420004 */ sw $v0, 4($s2)
/* 0B32A0 8011CBA0 3C12ED00 */ lui $s2, 0xed00
/* 0B32A4 8011CBA4 0200102D */ daddu $v0, $s0, $zero
/* 0B32A8 8011CBA8 26100008 */ addiu $s0, $s0, 8
/* 0B32AC 8011CBAC AE300000 */ sw $s0, ($s1)
/* 0B32B0 8011CBB0 AC460000 */ sw $a2, ($v0)
/* 0B32B4 8011CBB4 AC430004 */ sw $v1, 4($v0)
/* 0B32B8 8011CBB8 26020008 */ addiu $v0, $s0, 8
/* 0B32BC 8011CBBC AE220000 */ sw $v0, ($s1)
/* 0B32C0 8011CBC0 3C02E600 */ lui $v0, 0xe600
/* 0B32C4 8011CBC4 AE020000 */ sw $v0, ($s0)
/* 0B32C8 8011CBC8 AE000004 */ sw $zero, 4($s0)
/* 0B32CC 8011CBCC C7A00028 */ lwc1 $f0, 0x28($sp)
/* 0B32D0 8011CBD0 26020010 */ addiu $v0, $s0, 0x10
/* 0B32D4 8011CBD4 AE220000 */ sw $v0, ($s1)
/* 0B32D8 8011CBD8 3C02F400 */ lui $v0, 0xf400
/* 0B32DC 8011CBDC 4600058D */ trunc.w.s $f22, $f0
/* 0B32E0 8011CBE0 4405B000 */ mfc1 $a1, $f22
/* 0B32E4 8011CBE4 00000000 */ nop
/* 0B32E8 8011CBE8 00052080 */ sll $a0, $a1, 2
/* 0B32EC 8011CBEC 30840FFF */ andi $a0, $a0, 0xfff
/* 0B32F0 8011CBF0 00042300 */ sll $a0, $a0, 0xc
/* 0B32F4 8011CBF4 00821025 */ or $v0, $a0, $v0
/* 0B32F8 8011CBF8 24A30003 */ addiu $v1, $a1, 3
/* 0B32FC 8011CBFC 00031880 */ sll $v1, $v1, 2
/* 0B3300 8011CC00 30630FFF */ andi $v1, $v1, 0xfff
/* 0B3304 8011CC04 00031B00 */ sll $v1, $v1, 0xc
/* 0B3308 8011CC08 AE020008 */ sw $v0, 8($s0)
/* 0B330C 8011CC0C 3C020700 */ lui $v0, 0x700
/* 0B3310 8011CC10 00621025 */ or $v0, $v1, $v0
/* 0B3314 8011CC14 AE02000C */ sw $v0, 0xc($s0)
/* 0B3318 8011CC18 26020018 */ addiu $v0, $s0, 0x18
/* 0B331C 8011CC1C AE220000 */ sw $v0, ($s1)
/* 0B3320 8011CC20 26020020 */ addiu $v0, $s0, 0x20
/* 0B3324 8011CC24 AE130010 */ sw $s3, 0x10($s0)
/* 0B3328 8011CC28 AE000014 */ sw $zero, 0x14($s0)
/* 0B332C 8011CC2C AE220000 */ sw $v0, ($s1)
/* 0B3330 8011CC30 24020090 */ addiu $v0, $zero, 0x90
/* 0B3334 8011CC34 AE02001C */ sw $v0, 0x1c($s0)
/* 0B3338 8011CC38 26020028 */ addiu $v0, $s0, 0x28
/* 0B333C 8011CC3C AE060018 */ sw $a2, 0x18($s0)
/* 0B3340 8011CC40 AE220000 */ sw $v0, ($s1)
/* 0B3344 8011CC44 3C02F200 */ lui $v0, 0xf200
/* 0B3348 8011CC48 00822025 */ or $a0, $a0, $v0
/* 0B334C 8011CC4C 26020030 */ addiu $v0, $s0, 0x30
/* 0B3350 8011CC50 AE040020 */ sw $a0, 0x20($s0)
/* 0B3354 8011CC54 AE030024 */ sw $v1, 0x24($s0)
/* 0B3358 8011CC58 AE220000 */ sw $v0, ($s1)
/* 0B335C 8011CC5C 26020038 */ addiu $v0, $s0, 0x38
/* 0B3360 8011CC60 AE130028 */ sw $s3, 0x28($s0)
/* 0B3364 8011CC64 AE00002C */ sw $zero, 0x2c($s0)
/* 0B3368 8011CC68 AE220000 */ sw $v0, ($s1)
/* 0B336C 8011CC6C 26020040 */ addiu $v0, $s0, 0x40
/* 0B3370 8011CC70 AE180030 */ sw $t8, 0x30($s0)
/* 0B3374 8011CC74 AE140034 */ sw $s4, 0x34($s0)
/* 0B3378 8011CC78 AE220000 */ sw $v0, ($s1)
/* 0B337C 8011CC7C 26020048 */ addiu $v0, $s0, 0x48
/* 0B3380 8011CC80 AE130038 */ sw $s3, 0x38($s0)
/* 0B3384 8011CC84 AE00003C */ sw $zero, 0x3c($s0)
/* 0B3388 8011CC88 AE220000 */ sw $v0, ($s1)
/* 0B338C 8011CC8C 26020050 */ addiu $v0, $s0, 0x50
/* 0B3390 8011CC90 AE070040 */ sw $a3, 0x40($s0)
/* 0B3394 8011CC94 AE000044 */ sw $zero, 0x44($s0)
/* 0B3398 8011CC98 AE220000 */ sw $v0, ($s1)
/* 0B339C 8011CC9C AE0A0048 */ sw $t2, 0x48($s0)
/* 0B33A0 8011CCA0 8FA80038 */ lw $t0, 0x38($sp)
/* 0B33A4 8011CCA4 26020058 */ addiu $v0, $s0, 0x58
/* 0B33A8 8011CCA8 AE08004C */ sw $t0, 0x4c($s0)
/* 0B33AC 8011CCAC AE220000 */ sw $v0, ($s1)
/* 0B33B0 8011CCB0 26020060 */ addiu $v0, $s0, 0x60
/* 0B33B4 8011CCB4 AE0B0050 */ sw $t3, 0x50($s0)
/* 0B33B8 8011CCB8 AE090054 */ sw $t1, 0x54($s0)
/* 0B33BC 8011CCBC AE220000 */ sw $v0, ($s1)
/* 0B33C0 8011CCC0 26020068 */ addiu $v0, $s0, 0x68
/* 0B33C4 8011CCC4 AE0C0058 */ sw $t4, 0x58($s0)
/* 0B33C8 8011CCC8 AE00005C */ sw $zero, 0x5c($s0)
/* 0B33CC 8011CCCC AE220000 */ sw $v0, ($s1)
/* 0B33D0 8011CCD0 26020070 */ addiu $v0, $s0, 0x70
/* 0B33D4 8011CCD4 AE0D0060 */ sw $t5, 0x60($s0)
/* 0B33D8 8011CCD8 AE000064 */ sw $zero, 0x64($s0)
/* 0B33DC 8011CCDC AE220000 */ sw $v0, ($s1)
/* 0B33E0 8011CCE0 2402FFFF */ addiu $v0, $zero, -1
/* 0B33E4 8011CCE4 AE02006C */ sw $v0, 0x6c($s0)
/* 0B33E8 8011CCE8 26020078 */ addiu $v0, $s0, 0x78
/* 0B33EC 8011CCEC AE0E0068 */ sw $t6, 0x68($s0)
/* 0B33F0 8011CCF0 AE220000 */ sw $v0, ($s1)
/* 0B33F4 8011CCF4 26020080 */ addiu $v0, $s0, 0x80
/* 0B33F8 8011CCF8 AE0F0070 */ sw $t7, 0x70($s0)
/* 0B33FC 8011CCFC AE000074 */ sw $zero, 0x74($s0)
/* 0B3400 8011CD00 AE220000 */ sw $v0, ($s1)
/* 0B3404 8011CD04 26020088 */ addiu $v0, $s0, 0x88
/* 0B3408 8011CD08 AE150078 */ sw $s5, 0x78($s0)
/* 0B340C 8011CD0C AE00007C */ sw $zero, 0x7c($s0)
/* 0B3410 8011CD10 AE220000 */ sw $v0, ($s1)
/* 0B3414 8011CD14 26020090 */ addiu $v0, $s0, 0x90
/* 0B3418 8011CD18 AE160080 */ sw $s6, 0x80($s0)
/* 0B341C 8011CD1C AE000084 */ sw $zero, 0x84($s0)
/* 0B3420 8011CD20 AE220000 */ sw $v0, ($s1)
/* 0B3424 8011CD24 26020098 */ addiu $v0, $s0, 0x98
/* 0B3428 8011CD28 AE220000 */ sw $v0, ($s1)
/* 0B342C 8011CD2C AE170090 */ sw $s7, 0x90($s0)
/* 0B3430 8011CD30 8FA8007C */ lw $t0, 0x7c($sp)
/* 0B3434 8011CD34 3C014080 */ lui $at, 0x4080
/* 0B3438 8011CD38 4481A000 */ mtc1 $at, $f20
/* 0B343C 8011CD3C 00081080 */ sll $v0, $t0, 2
/* 0B3440 8011CD40 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3444 8011CD44 00021300 */ sll $v0, $v0, 0xc
/* 0B3448 8011CD48 AE020094 */ sw $v0, 0x94($s0)
/* 0B344C 8011CD4C 260200A0 */ addiu $v0, $s0, 0xa0
/* 0B3450 8011CD50 AE220000 */ sw $v0, ($s1)
/* 0B3454 8011CD54 3C02E100 */ lui $v0, 0xe100
/* 0B3458 8011CD58 AE020098 */ sw $v0, 0x98($s0)
/* 0B345C 8011CD5C C7A0007C */ lwc1 $f0, 0x7c($sp)
/* 0B3460 8011CD60 46800020 */ cvt.s.w $f0, $f0
/* 0B3464 8011CD64 46140002 */ mul.s $f0, $f0, $f20
/* 0B3468 8011CD68 00000000 */ nop
/* 0B346C 8011CD6C 00052D40 */ sll $a1, $a1, 0x15
/* 0B3470 8011CD70 260200A8 */ addiu $v0, $s0, 0xa8
/* 0B3474 8011CD74 AE05009C */ sw $a1, 0x9c($s0)
/* 0B3478 8011CD78 AE220000 */ sw $v0, ($s1)
/* 0B347C 8011CD7C 4600058D */ trunc.w.s $f22, $f0
/* 0B3480 8011CD80 4402B000 */ mfc1 $v0, $f22
/* 0B3484 8011CD84 8FA8007C */ lw $t0, 0x7c($sp)
/* 0B3488 8011CD88 37390400 */ ori $t9, $t9, 0x400
/* 0B348C 8011CD8C 25030001 */ addiu $v1, $t0, 1
/* 0B3490 8011CD90 44830000 */ mtc1 $v1, $f0
/* 0B3494 8011CD94 00000000 */ nop
/* 0B3498 8011CD98 46800020 */ cvt.s.w $f0, $f0
/* 0B349C 8011CD9C 46140002 */ mul.s $f0, $f0, $f20
/* 0B34A0 8011CDA0 00000000 */ nop
/* 0B34A4 8011CDA4 30420FFF */ andi $v0, $v0, 0xfff
/* 0B34A8 8011CDA8 00021300 */ sll $v0, $v0, 0xc
/* 0B34AC 8011CDAC 00521025 */ or $v0, $v0, $s2
/* 0B34B0 8011CDB0 AE020088 */ sw $v0, 0x88($s0)
/* 0B34B4 8011CDB4 4600058D */ trunc.w.s $f22, $f0
/* 0B34B8 8011CDB8 4402B000 */ mfc1 $v0, $f22
/* 0B34BC 8011CDBC 00000000 */ nop
/* 0B34C0 8011CDC0 30420FFF */ andi $v0, $v0, 0xfff
/* 0B34C4 8011CDC4 00021300 */ sll $v0, $v0, 0xc
/* 0B34C8 8011CDC8 34420004 */ ori $v0, $v0, 4
/* 0B34CC 8011CDCC AE02008C */ sw $v0, 0x8c($s0)
/* 0B34D0 8011CDD0 3C02F100 */ lui $v0, 0xf100
/* 0B34D4 8011CDD4 AE0200A0 */ sw $v0, 0xa0($s0)
/* 0B34D8 8011CDD8 3C04800A */ lui $a0, 0x800a
/* 0B34DC 8011CDDC 8C84A64C */ lw $a0, -0x59b4($a0)
/* 0B34E0 8011CDE0 260200B0 */ addiu $v0, $s0, 0xb0
/* 0B34E4 8011CDE4 AE1900A4 */ sw $t9, 0xa4($s0)
/* 0B34E8 8011CDE8 AE220000 */ sw $v0, ($s1)
/* 0B34EC 8011CDEC 260200B8 */ addiu $v0, $s0, 0xb8
/* 0B34F0 8011CDF0 AE1300A8 */ sw $s3, 0xa8($s0)
/* 0B34F4 8011CDF4 AE0000AC */ sw $zero, 0xac($s0)
/* 0B34F8 8011CDF8 AE220000 */ sw $v0, ($s1)
/* 0B34FC 8011CDFC 0C0187A4 */ jal osVirtualToPhysical
/* 0B3500 8011CE00 AE1800B0 */ sw $t8, 0xb0($s0)
/* 0B3504 8011CE04 8E240000 */ lw $a0, ($s1)
/* 0B3508 8011CE08 AE0200B4 */ sw $v0, 0xb4($s0)
/* 0B350C 8011CE0C 0080102D */ daddu $v0, $a0, $zero
/* 0B3510 8011CE10 AC530000 */ sw $s3, ($v0)
/* 0B3514 8011CE14 AC400004 */ sw $zero, 4($v0)
/* 0B3518 8011CE18 87C2000E */ lh $v0, 0xe($fp)
/* 0B351C 8011CE1C 44820000 */ mtc1 $v0, $f0
/* 0B3520 8011CE20 00000000 */ nop
/* 0B3524 8011CE24 46800020 */ cvt.s.w $f0, $f0
/* 0B3528 8011CE28 46140002 */ mul.s $f0, $f0, $f20
/* 0B352C 8011CE2C 00000000 */ nop
/* 0B3530 8011CE30 87C20010 */ lh $v0, 0x10($fp)
/* 0B3534 8011CE34 44821000 */ mtc1 $v0, $f2
/* 0B3538 8011CE38 00000000 */ nop
/* 0B353C 8011CE3C 468010A0 */ cvt.s.w $f2, $f2
/* 0B3540 8011CE40 46141082 */ mul.s $f2, $f2, $f20
/* 0B3544 8011CE44 00000000 */ nop
/* 0B3548 8011CE48 24840008 */ addiu $a0, $a0, 8
/* 0B354C 8011CE4C 4600058D */ trunc.w.s $f22, $f0
/* 0B3550 8011CE50 4403B000 */ mfc1 $v1, $f22
/* 0B3554 8011CE54 00000000 */ nop
/* 0B3558 8011CE58 30630FFF */ andi $v1, $v1, 0xfff
/* 0B355C 8011CE5C 00031B00 */ sll $v1, $v1, 0xc
/* 0B3560 8011CE60 4600158D */ trunc.w.s $f22, $f2
/* 0B3564 8011CE64 4402B000 */ mfc1 $v0, $f22
/* 0B3568 8011CE68 00000000 */ nop
/* 0B356C 8011CE6C 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3570 8011CE70 00521025 */ or $v0, $v0, $s2
/* 0B3574 8011CE74 00621825 */ or $v1, $v1, $v0
/* 0B3578 8011CE78 AC830000 */ sw $v1, ($a0)
/* 0B357C 8011CE7C 87C2000E */ lh $v0, 0xe($fp)
/* 0B3580 8011CE80 87C3000A */ lh $v1, 0xa($fp)
/* 0B3584 8011CE84 00431021 */ addu $v0, $v0, $v1
/* 0B3588 8011CE88 44821000 */ mtc1 $v0, $f2
/* 0B358C 8011CE8C 00000000 */ nop
/* 0B3590 8011CE90 468010A0 */ cvt.s.w $f2, $f2
/* 0B3594 8011CE94 46141082 */ mul.s $f2, $f2, $f20
/* 0B3598 8011CE98 00000000 */ nop
/* 0B359C 8011CE9C 87C20010 */ lh $v0, 0x10($fp)
/* 0B35A0 8011CEA0 87C3000C */ lh $v1, 0xc($fp)
/* 0B35A4 8011CEA4 00431021 */ addu $v0, $v0, $v1
/* 0B35A8 8011CEA8 44820000 */ mtc1 $v0, $f0
/* 0B35AC 8011CEAC 00000000 */ nop
/* 0B35B0 8011CEB0 46800020 */ cvt.s.w $f0, $f0
/* 0B35B4 8011CEB4 46140002 */ mul.s $f0, $f0, $f20
/* 0B35B8 8011CEB8 00000000 */ nop
/* 0B35BC 8011CEBC AE240000 */ sw $a0, ($s1)
/* 0B35C0 8011CEC0 4600158D */ trunc.w.s $f22, $f2
/* 0B35C4 8011CEC4 4402B000 */ mfc1 $v0, $f22
/* 0B35C8 8011CEC8 00000000 */ nop
/* 0B35CC 8011CECC 30420FFF */ andi $v0, $v0, 0xfff
/* 0B35D0 8011CED0 00021300 */ sll $v0, $v0, 0xc
/* 0B35D4 8011CED4 4600058D */ trunc.w.s $f22, $f0
/* 0B35D8 8011CED8 4403B000 */ mfc1 $v1, $f22
/* 0B35DC 8011CEDC 00000000 */ nop
/* 0B35E0 8011CEE0 30630FFF */ andi $v1, $v1, 0xfff
/* 0B35E4 8011CEE4 00431025 */ or $v0, $v0, $v1
/* 0B35E8 8011CEE8 AC820004 */ sw $v0, 4($a0)
/* 0B35EC 8011CEEC 8FA8007C */ lw $t0, 0x7c($sp)
/* 0B35F0 8011CEF0 3C0146FF */ lui $at, 0x46ff
/* 0B35F4 8011CEF4 34218000 */ ori $at, $at, 0x8000
/* 0B35F8 8011CEF8 44810000 */ mtc1 $at, $f0
/* 0B35FC 8011CEFC 00081040 */ sll $v0, $t0, 1
/* 0B3600 8011CF00 00541021 */ addu $v0, $v0, $s4
/* 0B3604 8011CF04 94420000 */ lhu $v0, ($v0)
/* 0B3608 8011CF08 24840008 */ addiu $a0, $a0, 8
/* 0B360C 8011CF0C AE240000 */ sw $a0, ($s1)
/* 0B3610 8011CF10 3C048015 */ lui $a0, 0x8015
/* 0B3614 8011CF14 2484B7A8 */ addiu $a0, $a0, -0x4858
/* 0B3618 8011CF18 C7A20030 */ lwc1 $f2, 0x30($sp)
/* 0B361C 8011CF1C 00021B42 */ srl $v1, $v0, 0xd
/* 0B3620 8011CF20 30421FFF */ andi $v0, $v0, 0x1fff
/* 0B3624 8011CF24 00021082 */ srl $v0, $v0, 2
/* 0B3628 8011CF28 000318C0 */ sll $v1, $v1, 3
/* 0B362C 8011CF2C 00641821 */ addu $v1, $v1, $a0
/* 0B3630 8011CF30 46001082 */ mul.s $f2, $f2, $f0
/* 0B3634 8011CF34 00000000 */ nop
/* 0B3638 8011CF38 8C640000 */ lw $a0, ($v1)
/* 0B363C 8011CF3C 8C630004 */ lw $v1, 4($v1)
/* 0B3640 8011CF40 00821004 */ sllv $v0, $v0, $a0
/* 0B3644 8011CF44 00431021 */ addu $v0, $v0, $v1
/* 0B3648 8011CF48 000210C2 */ srl $v0, $v0, 3
/* 0B364C 8011CF4C 4600158D */ trunc.w.s $f22, $f2
/* 0B3650 8011CF50 4403B000 */ mfc1 $v1, $f22
/* 0B3654 8011CF54 00000000 */ nop
/* 0B3658 8011CF58 0043102B */ sltu $v0, $v0, $v1
/* 0B365C 8011CF5C 14400009 */ bnez $v0, .L8011CF84
/* 0B3660 8011CF60 0000102D */ daddu $v0, $zero, $zero
.L8011CF64:
/* 0B3664 8011CF64 C7A20030 */ lwc1 $f2, 0x30($sp)
/* 0B3668 8011CF68 44800000 */ mtc1 $zero, $f0
/* 0B366C 8011CF6C 00000000 */ nop
/* 0B3670 8011CF70 4602003C */ c.lt.s $f0, $f2
/* 0B3674 8011CF74 00000000 */ nop
/* 0B3678 8011CF78 45010002 */ bc1t .L8011CF84
/* 0B367C 8011CF7C 24020001 */ addiu $v0, $zero, 1
.L8011CF80:
/* 0B3680 8011CF80 0000102D */ daddu $v0, $zero, $zero
.L8011CF84:
/* 0B3684 8011CF84 8FBF0064 */ lw $ra, 0x64($sp)
/* 0B3688 8011CF88 8FBE0060 */ lw $fp, 0x60($sp)
/* 0B368C 8011CF8C 8FB7005C */ lw $s7, 0x5c($sp)
/* 0B3690 8011CF90 8FB60058 */ lw $s6, 0x58($sp)
/* 0B3694 8011CF94 8FB50054 */ lw $s5, 0x54($sp)
/* 0B3698 8011CF98 8FB40050 */ lw $s4, 0x50($sp)
/* 0B369C 8011CF9C 8FB3004C */ lw $s3, 0x4c($sp)
/* 0B36A0 8011CFA0 8FB20048 */ lw $s2, 0x48($sp)
/* 0B36A4 8011CFA4 8FB10044 */ lw $s1, 0x44($sp)
/* 0B36A8 8011CFA8 8FB00040 */ lw $s0, 0x40($sp)
/* 0B36AC 8011CFAC D7B60070 */ ldc1 $f22, 0x70($sp)
/* 0B36B0 8011CFB0 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 0B36B4 8011CFB4 03E00008 */ jr $ra
/* 0B36B8 8011CFB8 27BD0078 */ addiu $sp, $sp, 0x78
/* 0B36BC 8011CFBC 44860000 */ mtc1 $a2, $f0
/* 0B36C0 8011CFC0 3C038007 */ lui $v1, 0x8007
/* 0B36C4 8011CFC4 8C637410 */ lw $v1, 0x7410($v1)
/* 0B36C8 8011CFC8 27BDFF88 */ addiu $sp, $sp, -0x78
/* 0B36CC 8011CFCC AFB00040 */ sw $s0, 0x40($sp)
/* 0B36D0 8011CFD0 8FB00088 */ lw $s0, 0x88($sp)
/* 0B36D4 8011CFD4 AFB10044 */ sw $s1, 0x44($sp)
/* 0B36D8 8011CFD8 8FB1008C */ lw $s1, 0x8c($sp)
/* 0B36DC 8011CFDC 3C04800B */ lui $a0, 0x800b
/* 0B36E0 8011CFE0 24841D80 */ addiu $a0, $a0, 0x1d80
/* 0B36E4 8011CFE4 AFBF0064 */ sw $ra, 0x64($sp)
/* 0B36E8 8011CFE8 AFBE0060 */ sw $fp, 0x60($sp)
/* 0B36EC 8011CFEC AFB7005C */ sw $s7, 0x5c($sp)
/* 0B36F0 8011CFF0 AFB60058 */ sw $s6, 0x58($sp)
/* 0B36F4 8011CFF4 AFB50054 */ sw $s5, 0x54($sp)
/* 0B36F8 8011CFF8 AFB40050 */ sw $s4, 0x50($sp)
/* 0B36FC 8011CFFC AFB3004C */ sw $s3, 0x4c($sp)
/* 0B3700 8011D000 AFB20048 */ sw $s2, 0x48($sp)
/* 0B3704 8011D004 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 0B3708 8011D008 F7B40068 */ sdc1 $f20, 0x68($sp)
/* 0B370C 8011D00C 00031080 */ sll $v0, $v1, 2
/* 0B3710 8011D010 00431021 */ addu $v0, $v0, $v1
/* 0B3714 8011D014 00021080 */ sll $v0, $v0, 2
/* 0B3718 8011D018 00431023 */ subu $v0, $v0, $v1
/* 0B371C 8011D01C 000218C0 */ sll $v1, $v0, 3
/* 0B3720 8011D020 00431021 */ addu $v0, $v0, $v1
/* 0B3724 8011D024 000210C0 */ sll $v0, $v0, 3
/* 0B3728 8011D028 0044F021 */ addu $fp, $v0, $a0
/* 0B372C 8011D02C 28E20010 */ slti $v0, $a3, 0x10
/* 0B3730 8011D030 104001AF */ beqz $v0, .L8011D6F0
/* 0B3734 8011D034 AFA70084 */ sw $a3, 0x84($sp)
/* 0B3738 8011D038 27C400D4 */ addiu $a0, $fp, 0xd4
/* 0B373C 8011D03C 3C013F80 */ lui $at, 0x3f80
/* 0B3740 8011D040 4481A000 */ mtc1 $at, $f20
/* 0B3744 8011D044 44056000 */ mfc1 $a1, $f12
/* 0B3748 8011D048 44067000 */ mfc1 $a2, $f14
/* 0B374C 8011D04C 44070000 */ mfc1 $a3, $f0
/* 0B3750 8011D050 27A20028 */ addiu $v0, $sp, 0x28
/* 0B3754 8011D054 AFA20014 */ sw $v0, 0x14($sp)
/* 0B3758 8011D058 27A2002C */ addiu $v0, $sp, 0x2c
/* 0B375C 8011D05C AFA20018 */ sw $v0, 0x18($sp)
/* 0B3760 8011D060 27A20030 */ addiu $v0, $sp, 0x30
/* 0B3764 8011D064 AFA2001C */ sw $v0, 0x1c($sp)
/* 0B3768 8011D068 27A20034 */ addiu $v0, $sp, 0x34
/* 0B376C 8011D06C AFA20020 */ sw $v0, 0x20($sp)
/* 0B3770 8011D070 0C00A588 */ jal transform_point
/* 0B3774 8011D074 E7B40010 */ swc1 $f20, 0x10($sp)
/* 0B3778 8011D078 C7A00034 */ lwc1 $f0, 0x34($sp)
/* 0B377C 8011D07C 44809000 */ mtc1 $zero, $f18
/* 0B3780 8011D080 00000000 */ nop
/* 0B3784 8011D084 46120032 */ c.eq.s $f0, $f18
/* 0B3788 8011D088 00000000 */ nop
/* 0B378C 8011D08C 45000004 */ bc1f .L8011D0A0
/* 0B3790 8011D090 24020001 */ addiu $v0, $zero, 1
/* 0B3794 8011D094 E6120000 */ swc1 $f18, ($s0)
/* 0B3798 8011D098 080475BD */ j .L8011D6F4
/* 0B379C 8011D09C E6320000 */ swc1 $f18, ($s1)
.L8011D0A0:
/* 0B37A0 8011D0A0 C7AC0030 */ lwc1 $f12, 0x30($sp)
/* 0B37A4 8011D0A4 4600A383 */ div.s $f14, $f20, $f0
/* 0B37A8 8011D0A8 460E6302 */ mul.s $f12, $f12, $f14
/* 0B37AC 8011D0AC 00000000 */ nop
/* 0B37B0 8011D0B0 46146080 */ add.s $f2, $f12, $f20
/* 0B37B4 8011D0B4 3C013FE0 */ lui $at, 0x3fe0
/* 0B37B8 8011D0B8 44814800 */ mtc1 $at, $f9
/* 0B37BC 8011D0BC 44804000 */ mtc1 $zero, $f8
/* 0B37C0 8011D0C0 460010A1 */ cvt.d.s $f2, $f2
/* 0B37C4 8011D0C4 46281082 */ mul.d $f2, $f2, $f8
/* 0B37C8 8011D0C8 00000000 */ nop
/* 0B37CC 8011D0CC C7B00028 */ lwc1 $f16, 0x28($sp)
/* 0B37D0 8011D0D0 460E8402 */ mul.s $f16, $f16, $f14
/* 0B37D4 8011D0D4 00000000 */ nop
/* 0B37D8 8011D0D8 87C2000A */ lh $v0, 0xa($fp)
/* 0B37DC 8011D0DC 44820000 */ mtc1 $v0, $f0
/* 0B37E0 8011D0E0 00000000 */ nop
/* 0B37E4 8011D0E4 46800020 */ cvt.s.w $f0, $f0
/* 0B37E8 8011D0E8 46008102 */ mul.s $f4, $f16, $f0
/* 0B37EC 8011D0EC 00000000 */ nop
/* 0B37F0 8011D0F0 46002100 */ add.s $f4, $f4, $f0
/* 0B37F4 8011D0F4 46002121 */ cvt.d.s $f4, $f4
/* 0B37F8 8011D0F8 46282102 */ mul.d $f4, $f4, $f8
/* 0B37FC 8011D0FC 00000000 */ nop
/* 0B3800 8011D100 C7A6002C */ lwc1 $f6, 0x2c($sp)
/* 0B3804 8011D104 46007007 */ neg.s $f0, $f14
/* 0B3808 8011D108 46003182 */ mul.s $f6, $f6, $f0
/* 0B380C 8011D10C 00000000 */ nop
/* 0B3810 8011D110 87C2000C */ lh $v0, 0xc($fp)
/* 0B3814 8011D114 44825000 */ mtc1 $v0, $f10
/* 0B3818 8011D118 00000000 */ nop
/* 0B381C 8011D11C 468052A0 */ cvt.s.w $f10, $f10
/* 0B3820 8011D120 460A3002 */ mul.s $f0, $f6, $f10
/* 0B3824 8011D124 00000000 */ nop
/* 0B3828 8011D128 E7AE0034 */ swc1 $f14, 0x34($sp)
/* 0B382C 8011D12C E7B00028 */ swc1 $f16, 0x28($sp)
/* 0B3830 8011D130 E7AC0030 */ swc1 $f12, 0x30($sp)
/* 0B3834 8011D134 460A0000 */ add.s $f0, $f0, $f10
/* 0B3838 8011D138 E7A6002C */ swc1 $f6, 0x2c($sp)
/* 0B383C 8011D13C 462010A0 */ cvt.s.d $f2, $f2
/* 0B3840 8011D140 46000021 */ cvt.d.s $f0, $f0
/* 0B3844 8011D144 46280002 */ mul.d $f0, $f0, $f8
/* 0B3848 8011D148 00000000 */ nop
/* 0B384C 8011D14C E7A20030 */ swc1 $f2, 0x30($sp)
/* 0B3850 8011D150 87C2000E */ lh $v0, 0xe($fp)
/* 0B3854 8011D154 44821000 */ mtc1 $v0, $f2
/* 0B3858 8011D158 00000000 */ nop
/* 0B385C 8011D15C 468010A0 */ cvt.s.w $f2, $f2
/* 0B3860 8011D160 46202120 */ cvt.s.d $f4, $f4
/* 0B3864 8011D164 E7A40028 */ swc1 $f4, 0x28($sp)
/* 0B3868 8011D168 87C20010 */ lh $v0, 0x10($fp)
/* 0B386C 8011D16C 46022100 */ add.s $f4, $f4, $f2
/* 0B3870 8011D170 44821000 */ mtc1 $v0, $f2
/* 0B3874 8011D174 00000000 */ nop
/* 0B3878 8011D178 468010A0 */ cvt.s.w $f2, $f2
/* 0B387C 8011D17C 46200020 */ cvt.s.d $f0, $f0
/* 0B3880 8011D180 46020080 */ add.s $f2, $f0, $f2
/* 0B3884 8011D184 E7A40028 */ swc1 $f4, 0x28($sp)
/* 0B3888 8011D188 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 0B388C 8011D18C E7A2002C */ swc1 $f2, 0x2c($sp)
/* 0B3890 8011D190 E6040000 */ swc1 $f4, ($s0)
/* 0B3894 8011D194 C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 0B3898 8011D198 E6200000 */ swc1 $f0, ($s1)
/* 0B389C 8011D19C 8FA80084 */ lw $t0, 0x84($sp)
/* 0B38A0 8011D1A0 05010005 */ bgez $t0, .L8011D1B8
/* 0B38A4 8011D1A4 24020001 */ addiu $v0, $zero, 1
/* 0B38A8 8011D1A8 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 0B38AC 8011D1AC 4600903C */ c.lt.s $f18, $f0
/* 0B38B0 8011D1B0 080475BA */ j .L8011D6E8
/* 0B38B4 8011D1B4 00000000 */ nop
.L8011D1B8:
/* 0B38B8 8011D1B8 C7A40028 */ lwc1 $f4, 0x28($sp)
/* 0B38BC 8011D1BC 4604903E */ c.le.s $f18, $f4
/* 0B38C0 8011D1C0 00000000 */ nop
/* 0B38C4 8011D1C4 45000143 */ bc1f .L8011D6D4
/* 0B38C8 8011D1C8 00000000 */ nop
/* 0B38CC 8011D1CC C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 0B38D0 8011D1D0 4602903E */ c.le.s $f18, $f2
/* 0B38D4 8011D1D4 00000000 */ nop
/* 0B38D8 8011D1D8 4500013E */ bc1f .L8011D6D4
/* 0B38DC 8011D1DC 00000000 */ nop
/* 0B38E0 8011D1E0 3C0143A0 */ lui $at, 0x43a0
/* 0B38E4 8011D1E4 44810000 */ mtc1 $at, $f0
/* 0B38E8 8011D1E8 00000000 */ nop
/* 0B38EC 8011D1EC 4600203C */ c.lt.s $f4, $f0
/* 0B38F0 8011D1F0 00000000 */ nop
/* 0B38F4 8011D1F4 45000137 */ bc1f .L8011D6D4
/* 0B38F8 8011D1F8 00000000 */ nop
/* 0B38FC 8011D1FC 3C014370 */ lui $at, 0x4370
/* 0B3900 8011D200 44810000 */ mtc1 $at, $f0
/* 0B3904 8011D204 00000000 */ nop
/* 0B3908 8011D208 4600103C */ c.lt.s $f2, $f0
/* 0B390C 8011D20C 00000000 */ nop
/* 0B3910 8011D210 45000130 */ bc1f .L8011D6D4
/* 0B3914 8011D214 3C05FD10 */ lui $a1, 0xfd10
/* 0B3918 8011D218 3C11800A */ lui $s1, 0x800a
/* 0B391C 8011D21C 2631A66C */ addiu $s1, $s1, -0x5994
/* 0B3920 8011D220 34A5013F */ ori $a1, $a1, 0x13f
/* 0B3924 8011D224 4600158D */ trunc.w.s $f22, $f2
/* 0B3928 8011D228 4402B000 */ mfc1 $v0, $f22
/* 0B392C 8011D22C 00000000 */ nop
/* 0B3930 8011D230 00022080 */ sll $a0, $v0, 2
/* 0B3934 8011D234 00822021 */ addu $a0, $a0, $v0
/* 0B3938 8011D238 000421C0 */ sll $a0, $a0, 7
/* 0B393C 8011D23C 3C13E700 */ lui $s3, 0xe700
/* 0B3940 8011D240 8E320000 */ lw $s2, ($s1)
/* 0B3944 8011D244 3C02800A */ lui $v0, 0x800a
/* 0B3948 8011D248 8C42A5DC */ lw $v0, -0x5a24($v0)
/* 0B394C 8011D24C 0240182D */ daddu $v1, $s2, $zero
/* 0B3950 8011D250 26520008 */ addiu $s2, $s2, 8
/* 0B3954 8011D254 00442021 */ addu $a0, $v0, $a0
/* 0B3958 8011D258 26420008 */ addiu $v0, $s2, 8
/* 0B395C 8011D25C AE320000 */ sw $s2, ($s1)
/* 0B3960 8011D260 AC730000 */ sw $s3, ($v1)
/* 0B3964 8011D264 AC600004 */ sw $zero, 4($v1)
/* 0B3968 8011D268 AE220000 */ sw $v0, ($s1)
/* 0B396C 8011D26C 0C0187A4 */ jal osVirtualToPhysical
/* 0B3970 8011D270 AE450000 */ sw $a1, ($s2)
/* 0B3974 8011D274 3C06F510 */ lui $a2, 0xf510
/* 0B3978 8011D278 34C60200 */ ori $a2, $a2, 0x200
/* 0B397C 8011D27C 3C030700 */ lui $v1, 0x700
/* 0B3980 8011D280 34630090 */ ori $v1, $v1, 0x90
/* 0B3984 8011D284 3C18FF10 */ lui $t8, 0xff10
/* 0B3988 8011D288 3718013F */ ori $t8, $t8, 0x13f
/* 0B398C 8011D28C 3C07E300 */ lui $a3, 0xe300
/* 0B3990 8011D290 34E70A01 */ ori $a3, $a3, 0xa01
/* 0B3994 8011D294 3C0AE200 */ lui $t2, 0xe200
/* 0B3998 8011D298 354A001C */ ori $t2, $t2, 0x1c
/* 0B399C 8011D29C 3C080F0A */ lui $t0, 0xf0a
/* 0B39A0 8011D2A0 35084000 */ ori $t0, $t0, 0x4000
/* 0B39A4 8011D2A4 3C0BFCFF */ lui $t3, 0xfcff
/* 0B39A8 8011D2A8 356BFFFF */ ori $t3, $t3, 0xffff
/* 0B39AC 8011D2AC 3C09FFFC */ lui $t1, 0xfffc
/* 0B39B0 8011D2B0 3529F279 */ ori $t1, $t1, 0xf279
/* 0B39B4 8011D2B4 3C0CE300 */ lui $t4, 0xe300
/* 0B39B8 8011D2B8 358C1201 */ ori $t4, $t4, 0x1201
/* 0B39BC 8011D2BC 3C0DE300 */ lui $t5, 0xe300
/* 0B39C0 8011D2C0 35AD0C00 */ ori $t5, $t5, 0xc00
/* 0B39C4 8011D2C4 3C0ED700 */ lui $t6, 0xd700
/* 0B39C8 8011D2C8 35CE0002 */ ori $t6, $t6, 2
/* 0B39CC 8011D2CC 3C0FE300 */ lui $t7, 0xe300
/* 0B39D0 8011D2D0 35EF1001 */ ori $t7, $t7, 0x1001
/* 0B39D4 8011D2D4 3C15E300 */ lui $s5, 0xe300
/* 0B39D8 8011D2D8 36B50D01 */ ori $s5, $s5, 0xd01
/* 0B39DC 8011D2DC 3C16E300 */ lui $s6, 0xe300
/* 0B39E0 8011D2E0 36D60F00 */ ori $s6, $s6, 0xf00
/* 0B39E4 8011D2E4 3C17E400 */ lui $s7, 0xe400
/* 0B39E8 8011D2E8 36F70004 */ ori $s7, $s7, 4
/* 0B39EC 8011D2EC 3C190400 */ lui $t9, 0x400
/* 0B39F0 8011D2F0 AFA80038 */ sw $t0, 0x38($sp)
/* 0B39F4 8011D2F4 8E300000 */ lw $s0, ($s1)
/* 0B39F8 8011D2F8 3C148015 */ lui $s4, 0x8015
/* 0B39FC 8011D2FC 26943380 */ addiu $s4, $s4, 0x3380
/* 0B3A00 8011D300 AE420004 */ sw $v0, 4($s2)
/* 0B3A04 8011D304 3C12ED00 */ lui $s2, 0xed00
/* 0B3A08 8011D308 37390400 */ ori $t9, $t9, 0x400
/* 0B3A0C 8011D30C 0200102D */ daddu $v0, $s0, $zero
/* 0B3A10 8011D310 26100008 */ addiu $s0, $s0, 8
/* 0B3A14 8011D314 AE300000 */ sw $s0, ($s1)
/* 0B3A18 8011D318 AC460000 */ sw $a2, ($v0)
/* 0B3A1C 8011D31C AC430004 */ sw $v1, 4($v0)
/* 0B3A20 8011D320 26020008 */ addiu $v0, $s0, 8
/* 0B3A24 8011D324 AE220000 */ sw $v0, ($s1)
/* 0B3A28 8011D328 3C02E600 */ lui $v0, 0xe600
/* 0B3A2C 8011D32C AE020000 */ sw $v0, ($s0)
/* 0B3A30 8011D330 AE000004 */ sw $zero, 4($s0)
/* 0B3A34 8011D334 C7A00028 */ lwc1 $f0, 0x28($sp)
/* 0B3A38 8011D338 26020010 */ addiu $v0, $s0, 0x10
/* 0B3A3C 8011D33C AE220000 */ sw $v0, ($s1)
/* 0B3A40 8011D340 3C02F400 */ lui $v0, 0xf400
/* 0B3A44 8011D344 4600058D */ trunc.w.s $f22, $f0
/* 0B3A48 8011D348 4405B000 */ mfc1 $a1, $f22
/* 0B3A4C 8011D34C 00000000 */ nop
/* 0B3A50 8011D350 00052080 */ sll $a0, $a1, 2
/* 0B3A54 8011D354 30840FFF */ andi $a0, $a0, 0xfff
/* 0B3A58 8011D358 00042300 */ sll $a0, $a0, 0xc
/* 0B3A5C 8011D35C 00821025 */ or $v0, $a0, $v0
/* 0B3A60 8011D360 24A30003 */ addiu $v1, $a1, 3
/* 0B3A64 8011D364 00031880 */ sll $v1, $v1, 2
/* 0B3A68 8011D368 30630FFF */ andi $v1, $v1, 0xfff
/* 0B3A6C 8011D36C 00031B00 */ sll $v1, $v1, 0xc
/* 0B3A70 8011D370 AE020008 */ sw $v0, 8($s0)
/* 0B3A74 8011D374 3C020700 */ lui $v0, 0x700
/* 0B3A78 8011D378 00621025 */ or $v0, $v1, $v0
/* 0B3A7C 8011D37C AE02000C */ sw $v0, 0xc($s0)
/* 0B3A80 8011D380 26020018 */ addiu $v0, $s0, 0x18
/* 0B3A84 8011D384 AE220000 */ sw $v0, ($s1)
/* 0B3A88 8011D388 26020020 */ addiu $v0, $s0, 0x20
/* 0B3A8C 8011D38C AE130010 */ sw $s3, 0x10($s0)
/* 0B3A90 8011D390 AE000014 */ sw $zero, 0x14($s0)
/* 0B3A94 8011D394 AE220000 */ sw $v0, ($s1)
/* 0B3A98 8011D398 24020090 */ addiu $v0, $zero, 0x90
/* 0B3A9C 8011D39C AE02001C */ sw $v0, 0x1c($s0)
/* 0B3AA0 8011D3A0 26020028 */ addiu $v0, $s0, 0x28
/* 0B3AA4 8011D3A4 AE060018 */ sw $a2, 0x18($s0)
/* 0B3AA8 8011D3A8 AE220000 */ sw $v0, ($s1)
/* 0B3AAC 8011D3AC 3C02F200 */ lui $v0, 0xf200
/* 0B3AB0 8011D3B0 00822025 */ or $a0, $a0, $v0
/* 0B3AB4 8011D3B4 26020030 */ addiu $v0, $s0, 0x30
/* 0B3AB8 8011D3B8 AE040020 */ sw $a0, 0x20($s0)
/* 0B3ABC 8011D3BC AE030024 */ sw $v1, 0x24($s0)
/* 0B3AC0 8011D3C0 AE220000 */ sw $v0, ($s1)
/* 0B3AC4 8011D3C4 26020038 */ addiu $v0, $s0, 0x38
/* 0B3AC8 8011D3C8 AE130028 */ sw $s3, 0x28($s0)
/* 0B3ACC 8011D3CC AE00002C */ sw $zero, 0x2c($s0)
/* 0B3AD0 8011D3D0 AE220000 */ sw $v0, ($s1)
/* 0B3AD4 8011D3D4 26020040 */ addiu $v0, $s0, 0x40
/* 0B3AD8 8011D3D8 AE180030 */ sw $t8, 0x30($s0)
/* 0B3ADC 8011D3DC AE140034 */ sw $s4, 0x34($s0)
/* 0B3AE0 8011D3E0 AE220000 */ sw $v0, ($s1)
/* 0B3AE4 8011D3E4 26020048 */ addiu $v0, $s0, 0x48
/* 0B3AE8 8011D3E8 AE130038 */ sw $s3, 0x38($s0)
/* 0B3AEC 8011D3EC AE00003C */ sw $zero, 0x3c($s0)
/* 0B3AF0 8011D3F0 AE220000 */ sw $v0, ($s1)
/* 0B3AF4 8011D3F4 26020050 */ addiu $v0, $s0, 0x50
/* 0B3AF8 8011D3F8 AE070040 */ sw $a3, 0x40($s0)
/* 0B3AFC 8011D3FC AE000044 */ sw $zero, 0x44($s0)
/* 0B3B00 8011D400 AE220000 */ sw $v0, ($s1)
/* 0B3B04 8011D404 AE0A0048 */ sw $t2, 0x48($s0)
/* 0B3B08 8011D408 8FA80038 */ lw $t0, 0x38($sp)
/* 0B3B0C 8011D40C 26020058 */ addiu $v0, $s0, 0x58
/* 0B3B10 8011D410 AE08004C */ sw $t0, 0x4c($s0)
/* 0B3B14 8011D414 AE220000 */ sw $v0, ($s1)
/* 0B3B18 8011D418 26020060 */ addiu $v0, $s0, 0x60
/* 0B3B1C 8011D41C AE0B0050 */ sw $t3, 0x50($s0)
/* 0B3B20 8011D420 AE090054 */ sw $t1, 0x54($s0)
/* 0B3B24 8011D424 AE220000 */ sw $v0, ($s1)
/* 0B3B28 8011D428 26020068 */ addiu $v0, $s0, 0x68
/* 0B3B2C 8011D42C AE0C0058 */ sw $t4, 0x58($s0)
/* 0B3B30 8011D430 AE00005C */ sw $zero, 0x5c($s0)
/* 0B3B34 8011D434 AE220000 */ sw $v0, ($s1)
/* 0B3B38 8011D438 26020070 */ addiu $v0, $s0, 0x70
/* 0B3B3C 8011D43C AE0D0060 */ sw $t5, 0x60($s0)
/* 0B3B40 8011D440 AE000064 */ sw $zero, 0x64($s0)
/* 0B3B44 8011D444 AE220000 */ sw $v0, ($s1)
/* 0B3B48 8011D448 2402FFFF */ addiu $v0, $zero, -1
/* 0B3B4C 8011D44C AE02006C */ sw $v0, 0x6c($s0)
/* 0B3B50 8011D450 26020078 */ addiu $v0, $s0, 0x78
/* 0B3B54 8011D454 AE0E0068 */ sw $t6, 0x68($s0)
/* 0B3B58 8011D458 AE220000 */ sw $v0, ($s1)
/* 0B3B5C 8011D45C 26020080 */ addiu $v0, $s0, 0x80
/* 0B3B60 8011D460 AE0F0070 */ sw $t7, 0x70($s0)
/* 0B3B64 8011D464 AE000074 */ sw $zero, 0x74($s0)
/* 0B3B68 8011D468 AE220000 */ sw $v0, ($s1)
/* 0B3B6C 8011D46C 26020088 */ addiu $v0, $s0, 0x88
/* 0B3B70 8011D470 AE150078 */ sw $s5, 0x78($s0)
/* 0B3B74 8011D474 AE00007C */ sw $zero, 0x7c($s0)
/* 0B3B78 8011D478 AE220000 */ sw $v0, ($s1)
/* 0B3B7C 8011D47C 26020090 */ addiu $v0, $s0, 0x90
/* 0B3B80 8011D480 AE160080 */ sw $s6, 0x80($s0)
/* 0B3B84 8011D484 AE000084 */ sw $zero, 0x84($s0)
/* 0B3B88 8011D488 AE220000 */ sw $v0, ($s1)
/* 0B3B8C 8011D48C 26020098 */ addiu $v0, $s0, 0x98
/* 0B3B90 8011D490 AE220000 */ sw $v0, ($s1)
/* 0B3B94 8011D494 8FA80084 */ lw $t0, 0x84($sp)
/* 0B3B98 8011D498 3C014080 */ lui $at, 0x4080
/* 0B3B9C 8011D49C 4481A000 */ mtc1 $at, $f20
/* 0B3BA0 8011D4A0 25030001 */ addiu $v1, $t0, 1
/* 0B3BA4 8011D4A4 00031080 */ sll $v0, $v1, 2
/* 0B3BA8 8011D4A8 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3BAC 8011D4AC 00021300 */ sll $v0, $v0, 0xc
/* 0B3BB0 8011D4B0 00571025 */ or $v0, $v0, $s7
/* 0B3BB4 8011D4B4 AE020090 */ sw $v0, 0x90($s0)
/* 0B3BB8 8011D4B8 00081080 */ sll $v0, $t0, 2
/* 0B3BBC 8011D4BC 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3BC0 8011D4C0 00021300 */ sll $v0, $v0, 0xc
/* 0B3BC4 8011D4C4 AE020094 */ sw $v0, 0x94($s0)
/* 0B3BC8 8011D4C8 260200A0 */ addiu $v0, $s0, 0xa0
/* 0B3BCC 8011D4CC AE220000 */ sw $v0, ($s1)
/* 0B3BD0 8011D4D0 3C02E100 */ lui $v0, 0xe100
/* 0B3BD4 8011D4D4 AE020098 */ sw $v0, 0x98($s0)
/* 0B3BD8 8011D4D8 C7A00084 */ lwc1 $f0, 0x84($sp)
/* 0B3BDC 8011D4DC 46800020 */ cvt.s.w $f0, $f0
/* 0B3BE0 8011D4E0 46140002 */ mul.s $f0, $f0, $f20
/* 0B3BE4 8011D4E4 00000000 */ nop
/* 0B3BE8 8011D4E8 00052D40 */ sll $a1, $a1, 0x15
/* 0B3BEC 8011D4EC 260200A8 */ addiu $v0, $s0, 0xa8
/* 0B3BF0 8011D4F0 AE05009C */ sw $a1, 0x9c($s0)
/* 0B3BF4 8011D4F4 AE220000 */ sw $v0, ($s1)
/* 0B3BF8 8011D4F8 4600058D */ trunc.w.s $f22, $f0
/* 0B3BFC 8011D4FC 4402B000 */ mfc1 $v0, $f22
/* 0B3C00 8011D500 44830000 */ mtc1 $v1, $f0
/* 0B3C04 8011D504 00000000 */ nop
/* 0B3C08 8011D508 46800020 */ cvt.s.w $f0, $f0
/* 0B3C0C 8011D50C 46140002 */ mul.s $f0, $f0, $f20
/* 0B3C10 8011D510 00000000 */ nop
/* 0B3C14 8011D514 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3C18 8011D518 00021300 */ sll $v0, $v0, 0xc
/* 0B3C1C 8011D51C 00521025 */ or $v0, $v0, $s2
/* 0B3C20 8011D520 AE020088 */ sw $v0, 0x88($s0)
/* 0B3C24 8011D524 4600058D */ trunc.w.s $f22, $f0
/* 0B3C28 8011D528 4402B000 */ mfc1 $v0, $f22
/* 0B3C2C 8011D52C 00000000 */ nop
/* 0B3C30 8011D530 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3C34 8011D534 00021300 */ sll $v0, $v0, 0xc
/* 0B3C38 8011D538 34420004 */ ori $v0, $v0, 4
/* 0B3C3C 8011D53C AE02008C */ sw $v0, 0x8c($s0)
/* 0B3C40 8011D540 3C02F100 */ lui $v0, 0xf100
/* 0B3C44 8011D544 AE0200A0 */ sw $v0, 0xa0($s0)
/* 0B3C48 8011D548 3C04800A */ lui $a0, 0x800a
/* 0B3C4C 8011D54C 8C84A64C */ lw $a0, -0x59b4($a0)
/* 0B3C50 8011D550 260200B0 */ addiu $v0, $s0, 0xb0
/* 0B3C54 8011D554 AE1900A4 */ sw $t9, 0xa4($s0)
/* 0B3C58 8011D558 AE220000 */ sw $v0, ($s1)
/* 0B3C5C 8011D55C 260200B8 */ addiu $v0, $s0, 0xb8
/* 0B3C60 8011D560 AE1300A8 */ sw $s3, 0xa8($s0)
/* 0B3C64 8011D564 AE0000AC */ sw $zero, 0xac($s0)
/* 0B3C68 8011D568 AE220000 */ sw $v0, ($s1)
/* 0B3C6C 8011D56C 0C0187A4 */ jal osVirtualToPhysical
/* 0B3C70 8011D570 AE1800B0 */ sw $t8, 0xb0($s0)
/* 0B3C74 8011D574 8E240000 */ lw $a0, ($s1)
/* 0B3C78 8011D578 AE0200B4 */ sw $v0, 0xb4($s0)
/* 0B3C7C 8011D57C 0080102D */ daddu $v0, $a0, $zero
/* 0B3C80 8011D580 AC530000 */ sw $s3, ($v0)
/* 0B3C84 8011D584 AC400004 */ sw $zero, 4($v0)
/* 0B3C88 8011D588 87C2000E */ lh $v0, 0xe($fp)
/* 0B3C8C 8011D58C 44820000 */ mtc1 $v0, $f0
/* 0B3C90 8011D590 00000000 */ nop
/* 0B3C94 8011D594 46800020 */ cvt.s.w $f0, $f0
/* 0B3C98 8011D598 46140002 */ mul.s $f0, $f0, $f20
/* 0B3C9C 8011D59C 00000000 */ nop
/* 0B3CA0 8011D5A0 87C20010 */ lh $v0, 0x10($fp)
/* 0B3CA4 8011D5A4 44821000 */ mtc1 $v0, $f2
/* 0B3CA8 8011D5A8 00000000 */ nop
/* 0B3CAC 8011D5AC 468010A0 */ cvt.s.w $f2, $f2
/* 0B3CB0 8011D5B0 46141082 */ mul.s $f2, $f2, $f20
/* 0B3CB4 8011D5B4 00000000 */ nop
/* 0B3CB8 8011D5B8 24840008 */ addiu $a0, $a0, 8
/* 0B3CBC 8011D5BC 4600058D */ trunc.w.s $f22, $f0
/* 0B3CC0 8011D5C0 4403B000 */ mfc1 $v1, $f22
/* 0B3CC4 8011D5C4 00000000 */ nop
/* 0B3CC8 8011D5C8 30630FFF */ andi $v1, $v1, 0xfff
/* 0B3CCC 8011D5CC 00031B00 */ sll $v1, $v1, 0xc
/* 0B3CD0 8011D5D0 4600158D */ trunc.w.s $f22, $f2
/* 0B3CD4 8011D5D4 4402B000 */ mfc1 $v0, $f22
/* 0B3CD8 8011D5D8 00000000 */ nop
/* 0B3CDC 8011D5DC 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3CE0 8011D5E0 00521025 */ or $v0, $v0, $s2
/* 0B3CE4 8011D5E4 00621825 */ or $v1, $v1, $v0
/* 0B3CE8 8011D5E8 AC830000 */ sw $v1, ($a0)
/* 0B3CEC 8011D5EC 87C2000E */ lh $v0, 0xe($fp)
/* 0B3CF0 8011D5F0 87C3000A */ lh $v1, 0xa($fp)
/* 0B3CF4 8011D5F4 00431021 */ addu $v0, $v0, $v1
/* 0B3CF8 8011D5F8 44821000 */ mtc1 $v0, $f2
/* 0B3CFC 8011D5FC 00000000 */ nop
/* 0B3D00 8011D600 468010A0 */ cvt.s.w $f2, $f2
/* 0B3D04 8011D604 46141082 */ mul.s $f2, $f2, $f20
/* 0B3D08 8011D608 00000000 */ nop
/* 0B3D0C 8011D60C 87C20010 */ lh $v0, 0x10($fp)
/* 0B3D10 8011D610 87C3000C */ lh $v1, 0xc($fp)
/* 0B3D14 8011D614 00431021 */ addu $v0, $v0, $v1
/* 0B3D18 8011D618 44820000 */ mtc1 $v0, $f0
/* 0B3D1C 8011D61C 00000000 */ nop
/* 0B3D20 8011D620 46800020 */ cvt.s.w $f0, $f0
/* 0B3D24 8011D624 46140002 */ mul.s $f0, $f0, $f20
/* 0B3D28 8011D628 00000000 */ nop
/* 0B3D2C 8011D62C AE240000 */ sw $a0, ($s1)
/* 0B3D30 8011D630 4600158D */ trunc.w.s $f22, $f2
/* 0B3D34 8011D634 4402B000 */ mfc1 $v0, $f22
/* 0B3D38 8011D638 00000000 */ nop
/* 0B3D3C 8011D63C 30420FFF */ andi $v0, $v0, 0xfff
/* 0B3D40 8011D640 00021300 */ sll $v0, $v0, 0xc
/* 0B3D44 8011D644 4600058D */ trunc.w.s $f22, $f0
/* 0B3D48 8011D648 4403B000 */ mfc1 $v1, $f22
/* 0B3D4C 8011D64C 00000000 */ nop
/* 0B3D50 8011D650 30630FFF */ andi $v1, $v1, 0xfff
/* 0B3D54 8011D654 00431025 */ or $v0, $v0, $v1
/* 0B3D58 8011D658 AC820004 */ sw $v0, 4($a0)
/* 0B3D5C 8011D65C 8FA80084 */ lw $t0, 0x84($sp)
/* 0B3D60 8011D660 3C0146FF */ lui $at, 0x46ff
/* 0B3D64 8011D664 34218000 */ ori $at, $at, 0x8000
/* 0B3D68 8011D668 44810000 */ mtc1 $at, $f0
/* 0B3D6C 8011D66C 00081040 */ sll $v0, $t0, 1
/* 0B3D70 8011D670 00541021 */ addu $v0, $v0, $s4
/* 0B3D74 8011D674 94420000 */ lhu $v0, ($v0)
/* 0B3D78 8011D678 24840008 */ addiu $a0, $a0, 8
/* 0B3D7C 8011D67C AE240000 */ sw $a0, ($s1)
/* 0B3D80 8011D680 3C048015 */ lui $a0, 0x8015
/* 0B3D84 8011D684 2484B7A8 */ addiu $a0, $a0, -0x4858
/* 0B3D88 8011D688 C7A20030 */ lwc1 $f2, 0x30($sp)
/* 0B3D8C 8011D68C 00021B42 */ srl $v1, $v0, 0xd
/* 0B3D90 8011D690 30421FFF */ andi $v0, $v0, 0x1fff
/* 0B3D94 8011D694 00021082 */ srl $v0, $v0, 2
/* 0B3D98 8011D698 000318C0 */ sll $v1, $v1, 3
/* 0B3D9C 8011D69C 00641821 */ addu $v1, $v1, $a0
/* 0B3DA0 8011D6A0 46001082 */ mul.s $f2, $f2, $f0
/* 0B3DA4 8011D6A4 00000000 */ nop
/* 0B3DA8 8011D6A8 8C640000 */ lw $a0, ($v1)
/* 0B3DAC 8011D6AC 8C630004 */ lw $v1, 4($v1)
/* 0B3DB0 8011D6B0 00821004 */ sllv $v0, $v0, $a0
/* 0B3DB4 8011D6B4 00431021 */ addu $v0, $v0, $v1
/* 0B3DB8 8011D6B8 000210C2 */ srl $v0, $v0, 3
/* 0B3DBC 8011D6BC 4600158D */ trunc.w.s $f22, $f2
/* 0B3DC0 8011D6C0 4403B000 */ mfc1 $v1, $f22
/* 0B3DC4 8011D6C4 00000000 */ nop
/* 0B3DC8 8011D6C8 0043102B */ sltu $v0, $v0, $v1
/* 0B3DCC 8011D6CC 14400009 */ bnez $v0, .L8011D6F4
/* 0B3DD0 8011D6D0 0000102D */ daddu $v0, $zero, $zero
.L8011D6D4:
/* 0B3DD4 8011D6D4 C7A20030 */ lwc1 $f2, 0x30($sp)
/* 0B3DD8 8011D6D8 44800000 */ mtc1 $zero, $f0
/* 0B3DDC 8011D6DC 24020001 */ addiu $v0, $zero, 1
/* 0B3DE0 8011D6E0 4602003C */ c.lt.s $f0, $f2
/* 0B3DE4 8011D6E4 00000000 */ nop
.L8011D6E8:
/* 0B3DE8 8011D6E8 45010002 */ bc1t .L8011D6F4
/* 0B3DEC 8011D6EC 00000000 */ nop
.L8011D6F0:
/* 0B3DF0 8011D6F0 0000102D */ daddu $v0, $zero, $zero
.L8011D6F4:
/* 0B3DF4 8011D6F4 8FBF0064 */ lw $ra, 0x64($sp)
/* 0B3DF8 8011D6F8 8FBE0060 */ lw $fp, 0x60($sp)
/* 0B3DFC 8011D6FC 8FB7005C */ lw $s7, 0x5c($sp)
/* 0B3E00 8011D700 8FB60058 */ lw $s6, 0x58($sp)
/* 0B3E04 8011D704 8FB50054 */ lw $s5, 0x54($sp)
/* 0B3E08 8011D708 8FB40050 */ lw $s4, 0x50($sp)
/* 0B3E0C 8011D70C 8FB3004C */ lw $s3, 0x4c($sp)
/* 0B3E10 8011D710 8FB20048 */ lw $s2, 0x48($sp)
/* 0B3E14 8011D714 8FB10044 */ lw $s1, 0x44($sp)
/* 0B3E18 8011D718 8FB00040 */ lw $s0, 0x40($sp)
/* 0B3E1C 8011D71C D7B60070 */ ldc1 $f22, 0x70($sp)
/* 0B3E20 8011D720 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 0B3E24 8011D724 03E00008 */ jr $ra
/* 0B3E28 8011D728 27BD0078 */ addiu $sp, $sp, 0x78