Effect C files

This commit is contained in:
Ethan Roseman 2021-01-07 19:43:17 +09:00
parent 13eb4bea88
commit 6148a26ab4
434 changed files with 47149 additions and 3310 deletions

View File

@ -0,0 +1,158 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0014000
/* 32E490 E0014000 27BDFF90 */ addiu $sp, $sp, -0x70
/* 32E494 E0014004 F7BA0058 */ sdc1 $f26, 0x58($sp)
/* 32E498 E0014008 46006686 */ mov.s $f26, $f12
/* 32E49C E001400C F7BC0060 */ sdc1 $f28, 0x60($sp)
/* 32E4A0 E0014010 46007706 */ mov.s $f28, $f14
/* 32E4A4 E0014014 27A40010 */ addiu $a0, $sp, 0x10
/* 32E4A8 E0014018 F7BE0068 */ sdc1 $f30, 0x68($sp)
/* 32E4AC E001401C 4486F000 */ mtc1 $a2, $f30
/* 32E4B0 E0014020 3C02E001 */ lui $v0, %hi(D_E0014258)
/* 32E4B4 E0014024 24424258 */ addiu $v0, $v0, %lo(D_E0014258)
/* 32E4B8 E0014028 AFA20018 */ sw $v0, 0x18($sp)
/* 32E4BC E001402C 3C02E001 */ lui $v0, %hi(D_E0014260)
/* 32E4C0 E0014030 24424260 */ addiu $v0, $v0, %lo(D_E0014260)
/* 32E4C4 E0014034 AFA2001C */ sw $v0, 0x1c($sp)
/* 32E4C8 E0014038 3C02E001 */ lui $v0, %hi(D_E001449C)
/* 32E4CC E001403C 2442449C */ addiu $v0, $v0, %lo(D_E001449C)
/* 32E4D0 E0014040 AFA20020 */ sw $v0, 0x20($sp)
/* 32E4D4 E0014044 2402000A */ addiu $v0, $zero, 0xa
/* 32E4D8 E0014048 AFBF003C */ sw $ra, 0x3c($sp)
/* 32E4DC E001404C AFB40038 */ sw $s4, 0x38($sp)
/* 32E4E0 E0014050 AFB30034 */ sw $s3, 0x34($sp)
/* 32E4E4 E0014054 AFB20030 */ sw $s2, 0x30($sp)
/* 32E4E8 E0014058 AFB1002C */ sw $s1, 0x2c($sp)
/* 32E4EC E001405C AFB00028 */ sw $s0, 0x28($sp)
/* 32E4F0 E0014060 F7B80050 */ sdc1 $f24, 0x50($sp)
/* 32E4F4 E0014064 F7B60048 */ sdc1 $f22, 0x48($sp)
/* 32E4F8 E0014068 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 32E4FC E001406C AFA7007C */ sw $a3, 0x7c($sp)
/* 32E500 E0014070 AFA00010 */ sw $zero, 0x10($sp)
/* 32E504 E0014074 AFA00024 */ sw $zero, 0x24($sp)
/* 32E508 E0014078 0C080124 */ jal func_E0200490
/* 32E50C E001407C AFA20014 */ sw $v0, 0x14($sp)
/* 32E510 E0014080 24040260 */ addiu $a0, $zero, 0x260
/* 32E514 E0014084 24140008 */ addiu $s4, $zero, 8
/* 32E518 E0014088 0040802D */ daddu $s0, $v0, $zero
/* 32E51C E001408C 0C08012C */ jal func_E02004B0
/* 32E520 E0014090 AE140008 */ sw $s4, 8($s0)
/* 32E524 E0014094 0040882D */ daddu $s1, $v0, $zero
/* 32E528 E0014098 16200003 */ bnez $s1, .LE00140A8
/* 32E52C E001409C AE11000C */ sw $s1, 0xc($s0)
.LE00140A0:
/* 32E530 E00140A0 08005028 */ j .LE00140A0
/* 32E534 E00140A4 00000000 */ nop
.LE00140A8:
/* 32E538 E00140A8 0220202D */ daddu $a0, $s1, $zero
/* 32E53C E00140AC 00142880 */ sll $a1, $s4, 2
/* 32E540 E00140B0 00B42821 */ addu $a1, $a1, $s4
/* 32E544 E00140B4 00052880 */ sll $a1, $a1, 2
/* 32E548 E00140B8 00B42823 */ subu $a1, $a1, $s4
/* 32E54C E00140BC 0C080130 */ jal func_E02004C0
/* 32E550 E00140C0 00052880 */ sll $a1, $a1, 2
/* 32E554 E00140C4 12800056 */ beqz $s4, .LE0014220
/* 32E558 E00140C8 0000902D */ daddu $s2, $zero, $zero
/* 32E55C E00140CC 26300048 */ addiu $s0, $s1, 0x48
/* 32E560 E00140D0 0240982D */ daddu $s3, $s2, $zero
/* 32E564 E00140D4 3C013F80 */ lui $at, 0x3f80
/* 32E568 E00140D8 4481C000 */ mtc1 $at, $f24
/* 32E56C E00140DC 3C01E001 */ lui $at, %hi(D_E0014780)
/* 32E570 E00140E0 D4364780 */ ldc1 $f22, %lo(D_E0014780)($at)
.LE00140E4:
/* 32E574 E00140E4 2404000A */ addiu $a0, $zero, 0xa
/* 32E578 E00140E8 24020001 */ addiu $v0, $zero, 1
/* 32E57C E00140EC AE220000 */ sw $v0, ($s1)
/* 32E580 E00140F0 240200FF */ addiu $v0, $zero, 0xff
/* 32E584 E00140F4 AE00FFF8 */ sw $zero, -8($s0)
/* 32E588 E00140F8 E61AFFC4 */ swc1 $f26, -0x3c($s0)
/* 32E58C E00140FC E61CFFC8 */ swc1 $f28, -0x38($s0)
/* 32E590 E0014100 E61EFFCC */ swc1 $f30, -0x34($s0)
/* 32E594 E0014104 E618FFD0 */ swc1 $f24, -0x30($s0)
/* 32E598 E0014108 E618FFD4 */ swc1 $f24, -0x2c($s0)
/* 32E59C E001410C E618FFD8 */ swc1 $f24, -0x28($s0)
/* 32E5A0 E0014110 0C080138 */ jal func_E02004E0
/* 32E5A4 E0014114 A202FFC0 */ sb $v0, -0x40($s0)
/* 32E5A8 E0014118 44820000 */ mtc1 $v0, $f0
/* 32E5AC E001411C 00000000 */ nop
/* 32E5B0 E0014120 46800021 */ cvt.d.w $f0, $f0
/* 32E5B4 E0014124 46360002 */ mul.d $f0, $f0, $f22
/* 32E5B8 E0014128 00000000 */ nop
/* 32E5BC E001412C 3C013FF0 */ lui $at, 0x3ff0
/* 32E5C0 E0014130 44811800 */ mtc1 $at, $f3
/* 32E5C4 E0014134 44801000 */ mtc1 $zero, $f2
/* 32E5C8 E0014138 00000000 */ nop
/* 32E5CC E001413C 46220000 */ add.d $f0, $f0, $f2
/* 32E5D0 E0014140 2404000A */ addiu $a0, $zero, 0xa
/* 32E5D4 E0014144 46200020 */ cvt.s.d $f0, $f0
/* 32E5D8 E0014148 0C080138 */ jal func_E02004E0
/* 32E5DC E001414C E600FFDC */ swc1 $f0, -0x24($s0)
/* 32E5E0 E0014150 44820000 */ mtc1 $v0, $f0
/* 32E5E4 E0014154 00000000 */ nop
/* 32E5E8 E0014158 46800021 */ cvt.d.w $f0, $f0
/* 32E5EC E001415C 46360002 */ mul.d $f0, $f0, $f22
/* 32E5F0 E0014160 00000000 */ nop
/* 32E5F4 E0014164 3C01E001 */ lui $at, %hi(D_E0014788)
/* 32E5F8 E0014168 D4224788 */ ldc1 $f2, %lo(D_E0014788)($at)
/* 32E5FC E001416C 26520001 */ addiu $s2, $s2, 1
/* 32E600 E0014170 46220000 */ add.d $f0, $f0, $f2
/* 32E604 E0014174 2631004C */ addiu $s1, $s1, 0x4c
/* 32E608 E0014178 2404003C */ addiu $a0, $zero, 0x3c
/* 32E60C E001417C 46200020 */ cvt.s.d $f0, $f0
/* 32E610 E0014180 0C080000 */ jal func_E0200000
/* 32E614 E0014184 E600FFE0 */ swc1 $f0, -0x20($s0)
/* 32E618 E0014188 44936000 */ mtc1 $s3, $f12
/* 32E61C E001418C 00000000 */ nop
/* 32E620 E0014190 46806320 */ cvt.s.w $f12, $f12
/* 32E624 E0014194 2673002D */ addiu $s3, $s3, 0x2d
/* 32E628 E0014198 C7A8007C */ lwc1 $f8, 0x7c($sp)
/* 32E62C E001419C 44820000 */ mtc1 $v0, $f0
/* 32E630 E00141A0 00000000 */ nop
/* 32E634 E00141A4 46800020 */ cvt.s.w $f0, $f0
/* 32E638 E00141A8 E600FFE4 */ swc1 $f0, -0x1c($s0)
/* 32E63C E00141AC 3C013F00 */ lui $at, 0x3f00
/* 32E640 E00141B0 44810000 */ mtc1 $at, $f0
/* 32E644 E00141B4 3C01BCA3 */ lui $at, 0xbca3
/* 32E648 E00141B8 3421D70A */ ori $at, $at, 0xd70a
/* 32E64C E00141BC 44811000 */ mtc1 $at, $f2
/* 32E650 E00141C0 3C013851 */ lui $at, 0x3851
/* 32E654 E00141C4 3421B717 */ ori $at, $at, 0xb717
/* 32E658 E00141C8 44812000 */ mtc1 $at, $f4
/* 32E65C E00141CC 3C01C079 */ lui $at, 0xc079
/* 32E660 E00141D0 3421999A */ ori $at, $at, 0x999a
/* 32E664 E00141D4 44813000 */ mtc1 $at, $f6
/* 32E668 E00141D8 2402001E */ addiu $v0, $zero, 0x1e
/* 32E66C E00141DC A602FFBE */ sh $v0, -0x42($s0)
/* 32E670 E00141E0 460C4300 */ add.s $f12, $f8, $f12
/* 32E674 E00141E4 E600FFEC */ swc1 $f0, -0x14($s0)
/* 32E678 E00141E8 E602FFF0 */ swc1 $f2, -0x10($s0)
/* 32E67C E00141EC E604FFF4 */ swc1 $f4, -0xc($s0)
/* 32E680 E00141F0 0C08013C */ jal func_E02004F0
/* 32E684 E00141F4 E606FFE8 */ swc1 $f6, -0x18($s0)
/* 32E688 E00141F8 46000506 */ mov.s $f20, $f0
/* 32E68C E00141FC 0C080140 */ jal func_E0200500
/* 32E690 E0014200 4600A306 */ mov.s $f12, $f20
/* 32E694 E0014204 4600A306 */ mov.s $f12, $f20
/* 32E698 E0014208 0C080144 */ jal func_E0200510
/* 32E69C E001420C E600FFFC */ swc1 $f0, -4($s0)
/* 32E6A0 E0014210 E6000000 */ swc1 $f0, ($s0)
/* 32E6A4 E0014214 0254102A */ slt $v0, $s2, $s4
/* 32E6A8 E0014218 1440FFB2 */ bnez $v0, .LE00140E4
/* 32E6AC E001421C 2610004C */ addiu $s0, $s0, 0x4c
.LE0014220:
/* 32E6B0 E0014220 8FBF003C */ lw $ra, 0x3c($sp)
/* 32E6B4 E0014224 8FB40038 */ lw $s4, 0x38($sp)
/* 32E6B8 E0014228 8FB30034 */ lw $s3, 0x34($sp)
/* 32E6BC E001422C 8FB20030 */ lw $s2, 0x30($sp)
/* 32E6C0 E0014230 8FB1002C */ lw $s1, 0x2c($sp)
/* 32E6C4 E0014234 8FB00028 */ lw $s0, 0x28($sp)
/* 32E6C8 E0014238 D7BE0068 */ ldc1 $f30, 0x68($sp)
/* 32E6CC E001423C D7BC0060 */ ldc1 $f28, 0x60($sp)
/* 32E6D0 E0014240 D7BA0058 */ ldc1 $f26, 0x58($sp)
/* 32E6D4 E0014244 D7B80050 */ ldc1 $f24, 0x50($sp)
/* 32E6D8 E0014248 D7B60048 */ ldc1 $f22, 0x48($sp)
/* 32E6DC E001424C D7B40040 */ ldc1 $f20, 0x40($sp)
/* 32E6E0 E0014250 03E00008 */ jr $ra
/* 32E6E4 E0014254 27BD0070 */ addiu $sp, $sp, 0x70

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0014258
/* 32E6E8 E0014258 03E00008 */ jr $ra
/* 32E6EC E001425C 00000000 */ nop

View File

@ -0,0 +1,154 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0014260
/* 32E6F0 E0014260 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 32E6F4 E0014264 AFB40020 */ sw $s4, 0x20($sp)
/* 32E6F8 E0014268 0080A02D */ daddu $s4, $a0, $zero
/* 32E6FC E001426C AFB3001C */ sw $s3, 0x1c($sp)
/* 32E700 E0014270 0000982D */ daddu $s3, $zero, $zero
/* 32E704 E0014274 AFB20018 */ sw $s2, 0x18($sp)
/* 32E708 E0014278 AFBF0024 */ sw $ra, 0x24($sp)
/* 32E70C E001427C AFB10014 */ sw $s1, 0x14($sp)
/* 32E710 E0014280 AFB00010 */ sw $s0, 0x10($sp)
/* 32E714 E0014284 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 32E718 E0014288 8E820008 */ lw $v0, 8($s4)
/* 32E71C E001428C 8E91000C */ lw $s1, 0xc($s4)
/* 32E720 E0014290 18400075 */ blez $v0, .LE0014468
/* 32E724 E0014294 0260902D */ daddu $s2, $s3, $zero
/* 32E728 E0014298 3C01E001 */ lui $at, %hi(D_E0014790)
/* 32E72C E001429C D4344790 */ ldc1 $f20, %lo(D_E0014790)($at)
/* 32E730 E00142A0 26300008 */ addiu $s0, $s1, 8
.LE00142A4:
/* 32E734 E00142A4 8E220000 */ lw $v0, ($s1)
/* 32E738 E00142A8 5040006A */ beql $v0, $zero, .LE0014454
/* 32E73C E00142AC 26730001 */ addiu $s3, $s3, 1
/* 32E740 E00142B0 9602FFFE */ lhu $v0, -2($s0)
/* 32E744 E00142B4 2442FFFF */ addiu $v0, $v0, -1
/* 32E748 E00142B8 A602FFFE */ sh $v0, -2($s0)
/* 32E74C E00142BC 00021400 */ sll $v0, $v0, 0x10
/* 32E750 E00142C0 1C400003 */ bgtz $v0, .LE00142D0
/* 32E754 E00142C4 00000000 */ nop
/* 32E758 E00142C8 08005114 */ j .LE0014450
/* 32E75C E00142CC AE200000 */ sw $zero, ($s1)
.LE00142D0:
/* 32E760 E00142D0 C6000024 */ lwc1 $f0, 0x24($s0)
/* 32E764 E00142D4 3C014140 */ lui $at, 0x4140
/* 32E768 E00142D8 44816000 */ mtc1 $at, $f12
/* 32E76C E00142DC 0C08013C */ jal func_E02004F0
/* 32E770 E00142E0 460C0300 */ add.s $f12, $f0, $f12
/* 32E774 E00142E4 46000306 */ mov.s $f12, $f0
/* 32E778 E00142E8 0C080140 */ jal func_E0200500
/* 32E77C E00142EC E60C0024 */ swc1 $f12, 0x24($s0)
/* 32E780 E00142F0 46000021 */ cvt.d.s $f0, $f0
/* 32E784 E00142F4 46340002 */ mul.d $f0, $f0, $f20
/* 32E788 E00142F8 00000000 */ nop
/* 32E78C E00142FC C602001C */ lwc1 $f2, 0x1c($s0)
/* 32E790 E0014300 460010A1 */ cvt.d.s $f2, $f2
/* 32E794 E0014304 46201080 */ add.d $f2, $f2, $f0
/* 32E798 E0014308 C60C0024 */ lwc1 $f12, 0x24($s0)
/* 32E79C E001430C 462010A0 */ cvt.s.d $f2, $f2
/* 32E7A0 E0014310 0C080144 */ jal func_E0200510
/* 32E7A4 E0014314 E6020010 */ swc1 $f2, 0x10($s0)
/* 32E7A8 E0014318 46000021 */ cvt.d.s $f0, $f0
/* 32E7AC E001431C 46340002 */ mul.d $f0, $f0, $f20
/* 32E7B0 E0014320 00000000 */ nop
/* 32E7B4 E0014324 C6040028 */ lwc1 $f4, 0x28($s0)
/* 32E7B8 E0014328 3C01E001 */ lui $at, %hi(D_E0014798)
/* 32E7BC E001432C D4224798 */ ldc1 $f2, %lo(D_E0014798)($at)
/* 32E7C0 E0014330 46002121 */ cvt.d.s $f4, $f4
/* 32E7C4 E0014334 46222102 */ mul.d $f4, $f4, $f2
/* 32E7C8 E0014338 00000000 */ nop
/* 32E7CC E001433C C608001C */ lwc1 $f8, 0x1c($s0)
/* 32E7D0 E0014340 3C01401E */ lui $at, 0x401e
/* 32E7D4 E0014344 44817800 */ mtc1 $at, $f15
/* 32E7D8 E0014348 44807000 */ mtc1 $zero, $f14
/* 32E7DC E001434C 46004221 */ cvt.d.s $f8, $f8
/* 32E7E0 E0014350 46287381 */ sub.d $f14, $f14, $f8
/* 32E7E4 E0014354 3C01E001 */ lui $at, %hi(D_E00147A0)
/* 32E7E8 E0014358 D42247A0 */ ldc1 $f2, %lo(D_E00147A0)($at)
/* 32E7EC E001435C 46227382 */ mul.d $f14, $f14, $f2
/* 32E7F0 E0014360 00000000 */ nop
/* 32E7F4 E0014364 C60C0020 */ lwc1 $f12, 0x20($s0)
/* 32E7F8 E0014368 3C01E001 */ lui $at, %hi(D_E00147A8)
/* 32E7FC E001436C D42247A8 */ ldc1 $f2, %lo(D_E00147A8)($at)
/* 32E800 E0014370 46006321 */ cvt.d.s $f12, $f12
/* 32E804 E0014374 46226302 */ mul.d $f12, $f12, $f2
/* 32E808 E0014378 00000000 */ nop
/* 32E80C E001437C C612003C */ lwc1 $f18, 0x3c($s0)
/* 32E810 E0014380 46202120 */ cvt.s.d $f4, $f4
/* 32E814 E0014384 46122482 */ mul.s $f18, $f4, $f18
/* 32E818 E0014388 00000000 */ nop
/* 32E81C E001438C C6020040 */ lwc1 $f2, 0x40($s0)
/* 32E820 E0014390 24120001 */ addiu $s2, $zero, 1
/* 32E824 E0014394 E6040028 */ swc1 $f4, 0x28($s0)
/* 32E828 E0014398 46002406 */ mov.s $f16, $f4
/* 32E82C E001439C 46028402 */ mul.s $f16, $f16, $f2
/* 32E830 E00143A0 00000000 */ nop
/* 32E834 E00143A4 C60A0030 */ lwc1 $f10, 0x30($s0)
/* 32E838 E00143A8 C606002C */ lwc1 $f6, 0x2c($s0)
/* 32E83C E00143AC C6020034 */ lwc1 $f2, 0x34($s0)
/* 32E840 E00143B0 8602FFFE */ lh $v0, -2($s0)
/* 32E844 E00143B4 46025280 */ add.s $f10, $f10, $f2
/* 32E848 E00143B8 C6020020 */ lwc1 $f2, 0x20($s0)
/* 32E84C E00143BC 2842000A */ slti $v0, $v0, 0xa
/* 32E850 E00143C0 460010A1 */ cvt.d.s $f2, $f2
/* 32E854 E00143C4 46201080 */ add.d $f2, $f2, $f0
/* 32E858 E00143C8 C6040008 */ lwc1 $f4, 8($s0)
/* 32E85C E00143CC C600000C */ lwc1 $f0, 0xc($s0)
/* 32E860 E00143D0 462E4200 */ add.d $f8, $f8, $f14
/* 32E864 E00143D4 46206320 */ cvt.s.d $f12, $f12
/* 32E868 E00143D8 E60A0030 */ swc1 $f10, 0x30($s0)
/* 32E86C E00143DC E60C0020 */ swc1 $f12, 0x20($s0)
/* 32E870 E00143E0 460A3180 */ add.s $f6, $f6, $f10
/* 32E874 E00143E4 462010A0 */ cvt.s.d $f2, $f2
/* 32E878 E00143E8 46204220 */ cvt.s.d $f8, $f8
/* 32E87C E00143EC 46100000 */ add.s $f0, $f0, $f16
/* 32E880 E00143F0 E6020014 */ swc1 $f2, 0x14($s0)
/* 32E884 E00143F4 C6020004 */ lwc1 $f2, 4($s0)
/* 32E888 E00143F8 46062100 */ add.s $f4, $f4, $f6
/* 32E88C E00143FC E608001C */ swc1 $f8, 0x1c($s0)
/* 32E890 E0014400 E606002C */ swc1 $f6, 0x2c($s0)
/* 32E894 E0014404 46121080 */ add.s $f2, $f2, $f18
/* 32E898 E0014408 E600000C */ swc1 $f0, 0xc($s0)
/* 32E89C E001440C E6040008 */ swc1 $f4, 8($s0)
/* 32E8A0 E0014410 10400008 */ beqz $v0, .LE0014434
/* 32E8A4 E0014414 E6020004 */ swc1 $f2, 4($s0)
/* 32E8A8 E0014418 3C01E001 */ lui $at, %hi(D_E00147B0)
/* 32E8AC E001441C D42247B0 */ ldc1 $f2, %lo(D_E00147B0)($at)
/* 32E8B0 E0014420 46006021 */ cvt.d.s $f0, $f12
/* 32E8B4 E0014424 46220002 */ mul.d $f0, $f0, $f2
/* 32E8B8 E0014428 00000000 */ nop
/* 32E8BC E001442C 46200020 */ cvt.s.d $f0, $f0
/* 32E8C0 E0014430 E6000020 */ swc1 $f0, 0x20($s0)
.LE0014434:
/* 32E8C4 E0014434 8602FFFE */ lh $v0, -2($s0)
/* 32E8C8 E0014438 2842000F */ slti $v0, $v0, 0xf
/* 32E8CC E001443C 50400005 */ beql $v0, $zero, .LE0014454
/* 32E8D0 E0014440 26730001 */ addiu $s3, $s3, 1
/* 32E8D4 E0014444 92020000 */ lbu $v0, ($s0)
/* 32E8D8 E0014448 2442FFF0 */ addiu $v0, $v0, -0x10
/* 32E8DC E001444C A2020000 */ sb $v0, ($s0)
.LE0014450:
/* 32E8E0 E0014450 26730001 */ addiu $s3, $s3, 1
.LE0014454:
/* 32E8E4 E0014454 2610004C */ addiu $s0, $s0, 0x4c
/* 32E8E8 E0014458 8E820008 */ lw $v0, 8($s4)
/* 32E8EC E001445C 0262102A */ slt $v0, $s3, $v0
/* 32E8F0 E0014460 1440FF90 */ bnez $v0, .LE00142A4
/* 32E8F4 E0014464 2631004C */ addiu $s1, $s1, 0x4c
.LE0014468:
/* 32E8F8 E0014468 16400003 */ bnez $s2, .LE0014478
/* 32E8FC E001446C 00000000 */ nop
/* 32E900 E0014470 0C080128 */ jal func_E02004A0
/* 32E904 E0014474 0280202D */ daddu $a0, $s4, $zero
.LE0014478:
/* 32E908 E0014478 8FBF0024 */ lw $ra, 0x24($sp)
/* 32E90C E001447C 8FB40020 */ lw $s4, 0x20($sp)
/* 32E910 E0014480 8FB3001C */ lw $s3, 0x1c($sp)
/* 32E914 E0014484 8FB20018 */ lw $s2, 0x18($sp)
/* 32E918 E0014488 8FB10014 */ lw $s1, 0x14($sp)
/* 32E91C E001448C 8FB00010 */ lw $s0, 0x10($sp)
/* 32E920 E0014490 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 32E924 E0014494 03E00008 */ jr $ra
/* 32E928 E0014498 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001449C
/* 32E92C E001449C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 32E930 E00144A0 3C02E001 */ lui $v0, %hi(D_E00144E0)
/* 32E934 E00144A4 244244E0 */ addiu $v0, $v0, %lo(D_E00144E0)
/* 32E938 E00144A8 AFA2001C */ sw $v0, 0x1c($sp)
/* 32E93C E00144AC 24020028 */ addiu $v0, $zero, 0x28
/* 32E940 E00144B0 AFA40018 */ sw $a0, 0x18($sp)
/* 32E944 E00144B4 27A40010 */ addiu $a0, $sp, 0x10
/* 32E948 E00144B8 AFBF0020 */ sw $ra, 0x20($sp)
/* 32E94C E00144BC AFA00014 */ sw $zero, 0x14($sp)
/* 32E950 E00144C0 0C080120 */ jal func_E0200480
/* 32E954 E00144C4 AFA20010 */ sw $v0, 0x10($sp)
/* 32E958 E00144C8 8C430000 */ lw $v1, ($v0)
/* 32E95C E00144CC 34630002 */ ori $v1, $v1, 2
/* 32E960 E00144D0 AC430000 */ sw $v1, ($v0)
/* 32E964 E00144D4 8FBF0020 */ lw $ra, 0x20($sp)
/* 32E968 E00144D8 03E00008 */ jr $ra
/* 32E96C E00144DC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,175 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00144E0
/* 32E970 E00144E0 27BDFF30 */ addiu $sp, $sp, -0xd0
/* 32E974 E00144E4 AFB600B8 */ sw $s6, 0xb8($sp)
/* 32E978 E00144E8 0080B02D */ daddu $s6, $a0, $zero
/* 32E97C E00144EC 3C05DB06 */ lui $a1, 0xdb06
/* 32E980 E00144F0 34A50024 */ ori $a1, $a1, 0x24
/* 32E984 E00144F4 AFB200A8 */ sw $s2, 0xa8($sp)
/* 32E988 E00144F8 0000902D */ daddu $s2, $zero, $zero
/* 32E98C E00144FC 3C06800A */ lui $a2, %hi(D_8009A66C)
/* 32E990 E0014500 24C6A66C */ addiu $a2, $a2, %lo(D_8009A66C)
/* 32E994 E0014504 3C02E700 */ lui $v0, 0xe700
/* 32E998 E0014508 AFBF00C4 */ sw $ra, 0xc4($sp)
/* 32E99C E001450C AFBE00C0 */ sw $fp, 0xc0($sp)
/* 32E9A0 E0014510 AFB700BC */ sw $s7, 0xbc($sp)
/* 32E9A4 E0014514 AFB500B4 */ sw $s5, 0xb4($sp)
/* 32E9A8 E0014518 AFB400B0 */ sw $s4, 0xb0($sp)
/* 32E9AC E001451C AFB300AC */ sw $s3, 0xac($sp)
/* 32E9B0 E0014520 AFB100A4 */ sw $s1, 0xa4($sp)
/* 32E9B4 E0014524 AFB000A0 */ sw $s0, 0xa0($sp)
/* 32E9B8 E0014528 F7B400C8 */ sdc1 $f20, 0xc8($sp)
/* 32E9BC E001452C 8CC30000 */ lw $v1, ($a2)
/* 32E9C0 E0014530 8ED1000C */ lw $s1, 0xc($s6)
/* 32E9C4 E0014534 0060202D */ daddu $a0, $v1, $zero
/* 32E9C8 E0014538 24630008 */ addiu $v1, $v1, 8
/* 32E9CC E001453C ACC30000 */ sw $v1, ($a2)
/* 32E9D0 E0014540 AC820000 */ sw $v0, ($a0)
/* 32E9D4 E0014544 AC800004 */ sw $zero, 4($a0)
/* 32E9D8 E0014548 AC650000 */ sw $a1, ($v1)
/* 32E9DC E001454C 8EC40010 */ lw $a0, 0x10($s6)
/* 32E9E0 E0014550 24620008 */ addiu $v0, $v1, 8
/* 32E9E4 E0014554 ACC20000 */ sw $v0, ($a2)
/* 32E9E8 E0014558 8C84001C */ lw $a0, 0x1c($a0)
/* 32E9EC E001455C 3C02DE00 */ lui $v0, 0xde00
/* 32E9F0 E0014560 AC620008 */ sw $v0, 8($v1)
/* 32E9F4 E0014564 3C020900 */ lui $v0, 0x900
/* 32E9F8 E0014568 244200E0 */ addiu $v0, $v0, 0xe0
/* 32E9FC E001456C AC62000C */ sw $v0, 0xc($v1)
/* 32EA00 E0014570 3C028000 */ lui $v0, 0x8000
/* 32EA04 E0014574 00822021 */ addu $a0, $a0, $v0
/* 32EA08 E0014578 AC640004 */ sw $a0, 4($v1)
/* 32EA0C E001457C 8EC20008 */ lw $v0, 8($s6)
/* 32EA10 E0014580 24630010 */ addiu $v1, $v1, 0x10
/* 32EA14 E0014584 18400066 */ blez $v0, .LE0014720
/* 32EA18 E0014588 ACC30000 */ sw $v1, ($a2)
/* 32EA1C E001458C 4480A000 */ mtc1 $zero, $f20
/* 32EA20 E0014590 27B50060 */ addiu $s5, $sp, 0x60
/* 32EA24 E0014594 3C1E800A */ lui $fp, %hi(D_8009A674)
/* 32EA28 E0014598 27DEA674 */ addiu $fp, $fp, %lo(D_8009A674)
/* 32EA2C E001459C 3C178007 */ lui $s7, %hi(D_800741F0)
/* 32EA30 E00145A0 26F741F0 */ addiu $s7, $s7, %lo(D_800741F0)
/* 32EA34 E00145A4 3C140001 */ lui $s4, 1
/* 32EA38 E00145A8 36941630 */ ori $s4, $s4, 0x1630
/* 32EA3C E00145AC 00C0982D */ daddu $s3, $a2, $zero
/* 32EA40 E00145B0 26300008 */ addiu $s0, $s1, 8
.LE00145B4:
/* 32EA44 E00145B4 8E220000 */ lw $v0, ($s1)
/* 32EA48 E00145B8 50400054 */ beql $v0, $zero, .LE001470C
/* 32EA4C E00145BC 26520001 */ addiu $s2, $s2, 1
/* 32EA50 E00145C0 3C09800B */ lui $t1, %hi(gCameras)
/* 32EA54 E00145C4 25291D80 */ addiu $t1, $t1, %lo(gCameras)
/* 32EA58 E00145C8 4405A000 */ mfc1 $a1, $f20
/* 32EA5C E00145CC 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 32EA60 E00145D0 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 32EA64 E00145D4 4407A000 */ mfc1 $a3, $f20
/* 32EA68 E00145D8 3C013F80 */ lui $at, 0x3f80
/* 32EA6C E00145DC 44810000 */ mtc1 $at, $f0
/* 32EA70 E00145E0 00031080 */ sll $v0, $v1, 2
/* 32EA74 E00145E4 00431021 */ addu $v0, $v0, $v1
/* 32EA78 E00145E8 00021080 */ sll $v0, $v0, 2
/* 32EA7C E00145EC 00431023 */ subu $v0, $v0, $v1
/* 32EA80 E00145F0 000218C0 */ sll $v1, $v0, 3
/* 32EA84 E00145F4 00431021 */ addu $v0, $v0, $v1
/* 32EA88 E00145F8 000210C0 */ sll $v0, $v0, 3
/* 32EA8C E00145FC 00491021 */ addu $v0, $v0, $t1
/* 32EA90 E0014600 C442006C */ lwc1 $f2, 0x6c($v0)
/* 32EA94 E0014604 E7A00010 */ swc1 $f0, 0x10($sp)
/* 32EA98 E0014608 C6000004 */ lwc1 $f0, 4($s0)
/* 32EA9C E001460C 46001087 */ neg.s $f2, $f2
/* 32EAA0 E0014610 E7A00014 */ swc1 $f0, 0x14($sp)
/* 32EAA4 E0014614 C6000008 */ lwc1 $f0, 8($s0)
/* 32EAA8 E0014618 44061000 */ mfc1 $a2, $f2
/* 32EAAC E001461C E7A00018 */ swc1 $f0, 0x18($sp)
/* 32EAB0 E0014620 C600000C */ lwc1 $f0, 0xc($s0)
/* 32EAB4 E0014624 27A40020 */ addiu $a0, $sp, 0x20
/* 32EAB8 E0014628 0C080180 */ jal func_E0200600
/* 32EABC E001462C E7A0001C */ swc1 $f0, 0x1c($sp)
/* 32EAC0 E0014630 8E050010 */ lw $a1, 0x10($s0)
/* 32EAC4 E0014634 8E060014 */ lw $a2, 0x14($s0)
/* 32EAC8 E0014638 8E070018 */ lw $a3, 0x18($s0)
/* 32EACC E001463C 0C080110 */ jal func_E0200440
/* 32EAD0 E0014640 02A0202D */ daddu $a0, $s5, $zero
/* 32EAD4 E0014644 02A0202D */ daddu $a0, $s5, $zero
/* 32EAD8 E0014648 27A50020 */ addiu $a1, $sp, 0x20
/* 32EADC E001464C 0C080114 */ jal func_E0200450
/* 32EAE0 E0014650 00A0302D */ daddu $a2, $a1, $zero
/* 32EAE4 E0014654 27A40020 */ addiu $a0, $sp, 0x20
/* 32EAE8 E0014658 96E50000 */ lhu $a1, ($s7)
/* 32EAEC E001465C 8FC20000 */ lw $v0, ($fp)
/* 32EAF0 E0014660 00052980 */ sll $a1, $a1, 6
/* 32EAF4 E0014664 00B42821 */ addu $a1, $a1, $s4
/* 32EAF8 E0014668 0C080118 */ jal func_E0200460
/* 32EAFC E001466C 00452821 */ addu $a1, $v0, $a1
/* 32EB00 E0014670 3C077060 */ lui $a3, 0x7060
/* 32EB04 E0014674 34E71800 */ ori $a3, $a3, 0x1800
/* 32EB08 E0014678 3C08D838 */ lui $t0, 0xd838
/* 32EB0C E001467C 35080002 */ ori $t0, $t0, 2
/* 32EB10 E0014680 8E640000 */ lw $a0, ($s3)
/* 32EB14 E0014684 3C02FA00 */ lui $v0, 0xfa00
/* 32EB18 E0014688 0080302D */ daddu $a2, $a0, $zero
/* 32EB1C E001468C 24840008 */ addiu $a0, $a0, 8
/* 32EB20 E0014690 AE640000 */ sw $a0, ($s3)
/* 32EB24 E0014694 ACC20000 */ sw $v0, ($a2)
/* 32EB28 E0014698 92050000 */ lbu $a1, ($s0)
/* 32EB2C E001469C 96E30000 */ lhu $v1, ($s7)
/* 32EB30 E00146A0 24820008 */ addiu $v0, $a0, 8
/* 32EB34 E00146A4 AE620000 */ sw $v0, ($s3)
/* 32EB38 E00146A8 24620001 */ addiu $v0, $v1, 1
/* 32EB3C E00146AC A6E20000 */ sh $v0, ($s7)
/* 32EB40 E00146B0 24820010 */ addiu $v0, $a0, 0x10
/* 32EB44 E00146B4 AE620000 */ sw $v0, ($s3)
/* 32EB48 E00146B8 24820018 */ addiu $v0, $a0, 0x18
/* 32EB4C E00146BC 00A72825 */ or $a1, $a1, $a3
/* 32EB50 E00146C0 AE620000 */ sw $v0, ($s3)
/* 32EB54 E00146C4 3C02DA38 */ lui $v0, 0xda38
/* 32EB58 E00146C8 3063FFFF */ andi $v1, $v1, 0xffff
/* 32EB5C E00146CC 00031980 */ sll $v1, $v1, 6
/* 32EB60 E00146D0 ACC50004 */ sw $a1, 4($a2)
/* 32EB64 E00146D4 AC820000 */ sw $v0, ($a0)
/* 32EB68 E00146D8 8FC20000 */ lw $v0, ($fp)
/* 32EB6C E00146DC 00741821 */ addu $v1, $v1, $s4
/* 32EB70 E00146E0 AC880010 */ sw $t0, 0x10($a0)
/* 32EB74 E00146E4 00431021 */ addu $v0, $v0, $v1
/* 32EB78 E00146E8 AC820004 */ sw $v0, 4($a0)
/* 32EB7C E00146EC 3C02DE00 */ lui $v0, 0xde00
/* 32EB80 E00146F0 AC820008 */ sw $v0, 8($a0)
/* 32EB84 E00146F4 3C020900 */ lui $v0, 0x900
/* 32EB88 E00146F8 244201B8 */ addiu $v0, $v0, 0x1b8
/* 32EB8C E00146FC AC82000C */ sw $v0, 0xc($a0)
/* 32EB90 E0014700 24020040 */ addiu $v0, $zero, 0x40
/* 32EB94 E0014704 AC820014 */ sw $v0, 0x14($a0)
/* 32EB98 E0014708 26520001 */ addiu $s2, $s2, 1
.LE001470C:
/* 32EB9C E001470C 2610004C */ addiu $s0, $s0, 0x4c
/* 32EBA0 E0014710 8EC20008 */ lw $v0, 8($s6)
/* 32EBA4 E0014714 0242102A */ slt $v0, $s2, $v0
/* 32EBA8 E0014718 1440FFA6 */ bnez $v0, .LE00145B4
/* 32EBAC E001471C 2631004C */ addiu $s1, $s1, 0x4c
.LE0014720:
/* 32EBB0 E0014720 3C03800A */ lui $v1, %hi(D_8009A66C)
/* 32EBB4 E0014724 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
/* 32EBB8 E0014728 8C620000 */ lw $v0, ($v1)
/* 32EBBC E001472C 0040202D */ daddu $a0, $v0, $zero
/* 32EBC0 E0014730 24420008 */ addiu $v0, $v0, 8
/* 32EBC4 E0014734 AC620000 */ sw $v0, ($v1)
/* 32EBC8 E0014738 3C02E700 */ lui $v0, 0xe700
/* 32EBCC E001473C AC820000 */ sw $v0, ($a0)
/* 32EBD0 E0014740 AC800004 */ sw $zero, 4($a0)
/* 32EBD4 E0014744 8FBF00C4 */ lw $ra, 0xc4($sp)
/* 32EBD8 E0014748 8FBE00C0 */ lw $fp, 0xc0($sp)
/* 32EBDC E001474C 8FB700BC */ lw $s7, 0xbc($sp)
/* 32EBE0 E0014750 8FB600B8 */ lw $s6, 0xb8($sp)
/* 32EBE4 E0014754 8FB500B4 */ lw $s5, 0xb4($sp)
/* 32EBE8 E0014758 8FB400B0 */ lw $s4, 0xb0($sp)
/* 32EBEC E001475C 8FB300AC */ lw $s3, 0xac($sp)
/* 32EBF0 E0014760 8FB200A8 */ lw $s2, 0xa8($sp)
/* 32EBF4 E0014764 8FB100A4 */ lw $s1, 0xa4($sp)
/* 32EBF8 E0014768 8FB000A0 */ lw $s0, 0xa0($sp)
/* 32EBFC E001476C D7B400C8 */ ldc1 $f20, 0xc8($sp)
/* 32EC00 E0014770 03E00008 */ jr $ra
/* 32EC04 E0014774 27BD00D0 */ addiu $sp, $sp, 0xd0
/* 32EC08 E0014778 00000000 */ nop
/* 32EC0C E001477C 00000000 */ nop

View File

@ -0,0 +1,144 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0016000
/* 32EE30 E0016000 27BDFF90 */ addiu $sp, $sp, -0x70
/* 32EE34 E0016004 F7B80058 */ sdc1 $f24, 0x58($sp)
/* 32EE38 E0016008 4485C000 */ mtc1 $a1, $f24
/* 32EE3C E001600C AFB5003C */ sw $s5, 0x3c($sp)
/* 32EE40 E0016010 0080A82D */ daddu $s5, $a0, $zero
/* 32EE44 E0016014 F7BA0060 */ sdc1 $f26, 0x60($sp)
/* 32EE48 E0016018 4486D000 */ mtc1 $a2, $f26
/* 32EE4C E001601C 27A40010 */ addiu $a0, $sp, 0x10
/* 32EE50 E0016020 F7BC0068 */ sdc1 $f28, 0x68($sp)
/* 32EE54 E0016024 4487E000 */ mtc1 $a3, $f28
/* 32EE58 E0016028 3C02E001 */ lui $v0, %hi(D_E0016220)
/* 32EE5C E001602C 24426220 */ addiu $v0, $v0, %lo(D_E0016220)
/* 32EE60 E0016030 AFA20018 */ sw $v0, 0x18($sp)
/* 32EE64 E0016034 3C02E001 */ lui $v0, %hi(D_E0016228)
/* 32EE68 E0016038 24426228 */ addiu $v0, $v0, %lo(D_E0016228)
/* 32EE6C E001603C AFA2001C */ sw $v0, 0x1c($sp)
/* 32EE70 E0016040 3C02E001 */ lui $v0, %hi(D_E0016410)
/* 32EE74 E0016044 24426410 */ addiu $v0, $v0, %lo(D_E0016410)
/* 32EE78 E0016048 AFA20020 */ sw $v0, 0x20($sp)
/* 32EE7C E001604C 2402000B */ addiu $v0, $zero, 0xb
/* 32EE80 E0016050 AFBF0044 */ sw $ra, 0x44($sp)
/* 32EE84 E0016054 AFB60040 */ sw $s6, 0x40($sp)
/* 32EE88 E0016058 AFB40038 */ sw $s4, 0x38($sp)
/* 32EE8C E001605C AFB30034 */ sw $s3, 0x34($sp)
/* 32EE90 E0016060 AFB20030 */ sw $s2, 0x30($sp)
/* 32EE94 E0016064 AFB1002C */ sw $s1, 0x2c($sp)
/* 32EE98 E0016068 AFB00028 */ sw $s0, 0x28($sp)
/* 32EE9C E001606C F7B60050 */ sdc1 $f22, 0x50($sp)
/* 32EEA0 E0016070 F7B40048 */ sdc1 $f20, 0x48($sp)
/* 32EEA4 E0016074 AFA00010 */ sw $zero, 0x10($sp)
/* 32EEA8 E0016078 AFA00024 */ sw $zero, 0x24($sp)
/* 32EEAC E001607C 0C080124 */ jal func_E0200490
/* 32EEB0 E0016080 AFA20014 */ sw $v0, 0x14($sp)
/* 32EEB4 E0016084 24040050 */ addiu $a0, $zero, 0x50
/* 32EEB8 E0016088 24130001 */ addiu $s3, $zero, 1
/* 32EEBC E001608C 0040802D */ daddu $s0, $v0, $zero
/* 32EEC0 E0016090 0C08012C */ jal func_E02004B0
/* 32EEC4 E0016094 AE130008 */ sw $s3, 8($s0)
/* 32EEC8 E0016098 0040882D */ daddu $s1, $v0, $zero
/* 32EECC E001609C 16200003 */ bnez $s1, .LE00160AC
/* 32EED0 E00160A0 AE11000C */ sw $s1, 0xc($s0)
.LE00160A4:
/* 32EED4 E00160A4 08005829 */ j .LE00160A4
/* 32EED8 E00160A8 00000000 */ nop
.LE00160AC:
/* 32EEDC E00160AC 0220202D */ daddu $a0, $s1, $zero
/* 32EEE0 E00160B0 00132880 */ sll $a1, $s3, 2
/* 32EEE4 E00160B4 00B32821 */ addu $a1, $a1, $s3
/* 32EEE8 E00160B8 0C080130 */ jal func_E02004C0
/* 32EEEC E00160BC 00052900 */ sll $a1, $a1, 4
/* 32EEF0 E00160C0 0000902D */ daddu $s2, $zero, $zero
/* 32EEF4 E00160C4 0253102A */ slt $v0, $s2, $s3
/* 32EEF8 E00160C8 10400046 */ beqz $v0, .LE00161E4
/* 32EEFC E00160CC 24160001 */ addiu $s6, $zero, 1
/* 32EF00 E00160D0 241400FF */ addiu $s4, $zero, 0xff
/* 32EF04 E00160D4 26300008 */ addiu $s0, $s1, 8
/* 32EF08 E00160D8 3C013F80 */ lui $at, 0x3f80
/* 32EF0C E00160DC 4481B000 */ mtc1 $at, $f22
/* 32EF10 E00160E0 3C01E001 */ lui $at, %hi(D_E0016720)
/* 32EF14 E00160E4 D4346720 */ ldc1 $f20, %lo(D_E0016720)($at)
.LE00160E8:
/* 32EF18 E00160E8 2404000A */ addiu $a0, $zero, 0xa
/* 32EF1C E00160EC AE360000 */ sw $s6, ($s1)
/* 32EF20 E00160F0 A615FFFC */ sh $s5, -4($s0)
/* 32EF24 E00160F4 AE000038 */ sw $zero, 0x38($s0)
/* 32EF28 E00160F8 AE00003C */ sw $zero, 0x3c($s0)
/* 32EF2C E00160FC E6180004 */ swc1 $f24, 4($s0)
/* 32EF30 E0016100 E61A0008 */ swc1 $f26, 8($s0)
/* 32EF34 E0016104 E61C000C */ swc1 $f28, 0xc($s0)
/* 32EF38 E0016108 E6160014 */ swc1 $f22, 0x14($s0)
/* 32EF3C E001610C E6160018 */ swc1 $f22, 0x18($s0)
/* 32EF40 E0016110 E616001C */ swc1 $f22, 0x1c($s0)
/* 32EF44 E0016114 0C080138 */ jal func_E02004E0
/* 32EF48 E0016118 A2140000 */ sb $s4, ($s0)
/* 32EF4C E001611C 44820000 */ mtc1 $v0, $f0
/* 32EF50 E0016120 00000000 */ nop
/* 32EF54 E0016124 46800021 */ cvt.d.w $f0, $f0
/* 32EF58 E0016128 46340002 */ mul.d $f0, $f0, $f20
/* 32EF5C E001612C 00000000 */ nop
/* 32EF60 E0016130 3C01E001 */ lui $at, %hi(D_E0016728)
/* 32EF64 E0016134 D4226728 */ ldc1 $f2, %lo(D_E0016728)($at)
/* 32EF68 E0016138 46220000 */ add.d $f0, $f0, $f2
/* 32EF6C E001613C 2404000A */ addiu $a0, $zero, 0xa
/* 32EF70 E0016140 46200020 */ cvt.s.d $f0, $f0
/* 32EF74 E0016144 0C080138 */ jal func_E02004E0
/* 32EF78 E0016148 E6000020 */ swc1 $f0, 0x20($s0)
/* 32EF7C E001614C 44820000 */ mtc1 $v0, $f0
/* 32EF80 E0016150 00000000 */ nop
/* 32EF84 E0016154 46800021 */ cvt.d.w $f0, $f0
/* 32EF88 E0016158 46340002 */ mul.d $f0, $f0, $f20
/* 32EF8C E001615C 00000000 */ nop
/* 32EF90 E0016160 3C013FF8 */ lui $at, 0x3ff8
/* 32EF94 E0016164 44811800 */ mtc1 $at, $f3
/* 32EF98 E0016168 44801000 */ mtc1 $zero, $f2
/* 32EF9C E001616C 26520001 */ addiu $s2, $s2, 1
/* 32EFA0 E0016170 46220000 */ add.d $f0, $f0, $f2
/* 32EFA4 E0016174 26310050 */ addiu $s1, $s1, 0x50
/* 32EFA8 E0016178 2404003C */ addiu $a0, $zero, 0x3c
/* 32EFAC E001617C 46200020 */ cvt.s.d $f0, $f0
/* 32EFB0 E0016180 0C080000 */ jal func_E0200000
/* 32EFB4 E0016184 E6000024 */ swc1 $f0, 0x24($s0)
/* 32EFB8 E0016188 24040168 */ addiu $a0, $zero, 0x168
/* 32EFBC E001618C 44820000 */ mtc1 $v0, $f0
/* 32EFC0 E0016190 00000000 */ nop
/* 32EFC4 E0016194 46800020 */ cvt.s.w $f0, $f0
/* 32EFC8 E0016198 E6000028 */ swc1 $f0, 0x28($s0)
/* 32EFCC E001619C 3C014000 */ lui $at, 0x4000
/* 32EFD0 E00161A0 44810000 */ mtc1 $at, $f0
/* 32EFD4 E00161A4 3C01BF00 */ lui $at, 0xbf00
/* 32EFD8 E00161A8 44811000 */ mtc1 $at, $f2
/* 32EFDC E00161AC 2402000F */ addiu $v0, $zero, 0xf
/* 32EFE0 E00161B0 A615FFFC */ sh $s5, -4($s0)
/* 32EFE4 E00161B4 A602FFFE */ sh $v0, -2($s0)
/* 32EFE8 E00161B8 E6000030 */ swc1 $f0, 0x30($s0)
/* 32EFEC E00161BC 0C080000 */ jal func_E0200000
/* 32EFF0 E00161C0 E6020034 */ swc1 $f2, 0x34($s0)
/* 32EFF4 E00161C4 44820000 */ mtc1 $v0, $f0
/* 32EFF8 E00161C8 00000000 */ nop
/* 32EFFC E00161CC 46800020 */ cvt.s.w $f0, $f0
/* 32F000 E00161D0 E6000010 */ swc1 $f0, 0x10($s0)
/* 32F004 E00161D4 A2140000 */ sb $s4, ($s0)
/* 32F008 E00161D8 0253102A */ slt $v0, $s2, $s3
/* 32F00C E00161DC 1440FFC2 */ bnez $v0, .LE00160E8
/* 32F010 E00161E0 26100050 */ addiu $s0, $s0, 0x50
.LE00161E4:
/* 32F014 E00161E4 8FBF0044 */ lw $ra, 0x44($sp)
/* 32F018 E00161E8 8FB60040 */ lw $s6, 0x40($sp)
/* 32F01C E00161EC 8FB5003C */ lw $s5, 0x3c($sp)
/* 32F020 E00161F0 8FB40038 */ lw $s4, 0x38($sp)
/* 32F024 E00161F4 8FB30034 */ lw $s3, 0x34($sp)
/* 32F028 E00161F8 8FB20030 */ lw $s2, 0x30($sp)
/* 32F02C E00161FC 8FB1002C */ lw $s1, 0x2c($sp)
/* 32F030 E0016200 8FB00028 */ lw $s0, 0x28($sp)
/* 32F034 E0016204 D7BC0068 */ ldc1 $f28, 0x68($sp)
/* 32F038 E0016208 D7BA0060 */ ldc1 $f26, 0x60($sp)
/* 32F03C E001620C D7B80058 */ ldc1 $f24, 0x58($sp)
/* 32F040 E0016210 D7B60050 */ ldc1 $f22, 0x50($sp)
/* 32F044 E0016214 D7B40048 */ ldc1 $f20, 0x48($sp)
/* 32F048 E0016218 03E00008 */ jr $ra
/* 32F04C E001621C 27BD0070 */ addiu $sp, $sp, 0x70

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0016220
/* 32F050 E0016220 03E00008 */ jr $ra
/* 32F054 E0016224 00000000 */ nop

View File

@ -0,0 +1,133 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0016228
/* 32F058 E0016228 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 32F05C E001622C AFB40020 */ sw $s4, 0x20($sp)
/* 32F060 E0016230 0080A02D */ daddu $s4, $a0, $zero
/* 32F064 E0016234 AFB20018 */ sw $s2, 0x18($sp)
/* 32F068 E0016238 0000902D */ daddu $s2, $zero, $zero
/* 32F06C E001623C AFB3001C */ sw $s3, 0x1c($sp)
/* 32F070 E0016240 AFBF0024 */ sw $ra, 0x24($sp)
/* 32F074 E0016244 AFB10014 */ sw $s1, 0x14($sp)
/* 32F078 E0016248 AFB00010 */ sw $s0, 0x10($sp)
/* 32F07C E001624C F7B60030 */ sdc1 $f22, 0x30($sp)
/* 32F080 E0016250 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 32F084 E0016254 8E820008 */ lw $v0, 8($s4)
/* 32F088 E0016258 8E91000C */ lw $s1, 0xc($s4)
/* 32F08C E001625C 1840005E */ blez $v0, .LE00163D8
/* 32F090 E0016260 0240982D */ daddu $s3, $s2, $zero
/* 32F094 E0016264 26300038 */ addiu $s0, $s1, 0x38
/* 32F098 E0016268 3C01E001 */ lui $at, %hi(D_E0016730)
/* 32F09C E001626C D4346730 */ ldc1 $f20, %lo(D_E0016730)($at)
/* 32F0A0 E0016270 4480B000 */ mtc1 $zero, $f22
.LE0016274:
/* 32F0A4 E0016274 8E220000 */ lw $v0, ($s1)
/* 32F0A8 E0016278 50400052 */ beql $v0, $zero, .LE00163C4
/* 32F0AC E001627C 26520001 */ addiu $s2, $s2, 1
/* 32F0B0 E0016280 9602FFCE */ lhu $v0, -0x32($s0)
/* 32F0B4 E0016284 2442FFFF */ addiu $v0, $v0, -1
/* 32F0B8 E0016288 A602FFCE */ sh $v0, -0x32($s0)
/* 32F0BC E001628C 00021400 */ sll $v0, $v0, 0x10
/* 32F0C0 E0016290 1C400003 */ bgtz $v0, .LE00162A0
/* 32F0C4 E0016294 00000000 */ nop
/* 32F0C8 E0016298 080058F0 */ j .LE00163C0
/* 32F0CC E001629C AE200000 */ sw $zero, ($s1)
.LE00162A0:
/* 32F0D0 E00162A0 C600FFF8 */ lwc1 $f0, -8($s0)
/* 32F0D4 E00162A4 3C014140 */ lui $at, 0x4140
/* 32F0D8 E00162A8 44816000 */ mtc1 $at, $f12
/* 32F0DC E00162AC 0C08013C */ jal func_E02004F0
/* 32F0E0 E00162B0 460C0300 */ add.s $f12, $f0, $f12
/* 32F0E4 E00162B4 46000306 */ mov.s $f12, $f0
/* 32F0E8 E00162B8 0C080140 */ jal func_E0200500
/* 32F0EC E00162BC E60CFFF8 */ swc1 $f12, -8($s0)
/* 32F0F0 E00162C0 46000021 */ cvt.d.s $f0, $f0
/* 32F0F4 E00162C4 46340002 */ mul.d $f0, $f0, $f20
/* 32F0F8 E00162C8 00000000 */ nop
/* 32F0FC E00162CC C602FFF0 */ lwc1 $f2, -0x10($s0)
/* 32F100 E00162D0 460010A1 */ cvt.d.s $f2, $f2
/* 32F104 E00162D4 46201080 */ add.d $f2, $f2, $f0
/* 32F108 E00162D8 C60CFFF8 */ lwc1 $f12, -8($s0)
/* 32F10C E00162DC 462010A0 */ cvt.s.d $f2, $f2
/* 32F110 E00162E0 0C080144 */ jal func_E0200510
/* 32F114 E00162E4 E602FFE4 */ swc1 $f2, -0x1c($s0)
/* 32F118 E00162E8 46000021 */ cvt.d.s $f0, $f0
/* 32F11C E00162EC 46340002 */ mul.d $f0, $f0, $f20
/* 32F120 E00162F0 00000000 */ nop
/* 32F124 E00162F4 C602FFF4 */ lwc1 $f2, -0xc($s0)
/* 32F128 E00162F8 460010A1 */ cvt.d.s $f2, $f2
/* 32F12C E00162FC 46201080 */ add.d $f2, $f2, $f0
/* 32F130 E0016300 24130001 */ addiu $s3, $zero, 1
/* 32F134 E0016304 9602FFCC */ lhu $v0, -0x34($s0)
/* 32F138 E0016308 462010A0 */ cvt.s.d $f2, $f2
/* 32F13C E001630C 1440000B */ bnez $v0, .LE001633C
/* 32F140 E0016310 E602FFE8 */ swc1 $f2, -0x18($s0)
/* 32F144 E0016314 24030005 */ addiu $v1, $zero, 5
/* 32F148 E0016318 8602FFCE */ lh $v0, -0x32($s0)
/* 32F14C E001631C 14430007 */ bne $v0, $v1, .LE001633C
/* 32F150 E0016320 9604FFCE */ lhu $a0, -0x32($s0)
/* 32F154 E0016324 3C028011 */ lui $v0, %hi(gPlayerActionState)
/* 32F158 E0016328 8042F07C */ lb $v0, %lo(gPlayerActionState)($v0)
/* 32F15C E001632C 14400003 */ bnez $v0, .LE001633C
/* 32F160 E0016330 00931021 */ addu $v0, $a0, $s3
/* 32F164 E0016334 080058FA */ j .LE00163E8
/* 32F168 E0016338 A602FFCE */ sh $v0, -0x32($s0)
.LE001633C:
/* 32F16C E001633C C604FFF4 */ lwc1 $f4, -0xc($s0)
/* 32F170 E0016340 3C01E001 */ lui $at, %hi(D_E0016738)
/* 32F174 E0016344 D4206738 */ ldc1 $f0, %lo(D_E0016738)($at)
/* 32F178 E0016348 46002121 */ cvt.d.s $f4, $f4
/* 32F17C E001634C 46202102 */ mul.d $f4, $f4, $f0
/* 32F180 E0016350 00000000 */ nop
/* 32F184 E0016354 9202FFD0 */ lbu $v0, -0x30($s0)
/* 32F188 E0016358 C6080004 */ lwc1 $f8, 4($s0)
/* 32F18C E001635C C6020008 */ lwc1 $f2, 8($s0)
/* 32F190 E0016360 C6060000 */ lwc1 $f6, ($s0)
/* 32F194 E0016364 2442FFF1 */ addiu $v0, $v0, -0xf
/* 32F198 E0016368 46024200 */ add.s $f8, $f8, $f2
/* 32F19C E001636C C600FFF0 */ lwc1 $f0, -0x10($s0)
/* 32F1A0 E0016370 3C01E001 */ lui $at, %hi(D_E0016740)
/* 32F1A4 E0016374 D4226740 */ ldc1 $f2, %lo(D_E0016740)($at)
/* 32F1A8 E0016378 46000021 */ cvt.d.s $f0, $f0
/* 32F1AC E001637C 46220000 */ add.d $f0, $f0, $f2
/* 32F1B0 E0016380 A202FFD0 */ sb $v0, -0x30($s0)
/* 32F1B4 E0016384 C602FFD8 */ lwc1 $f2, -0x28($s0)
/* 32F1B8 E0016388 46083180 */ add.s $f6, $f6, $f8
/* 32F1BC E001638C E6080004 */ swc1 $f8, 4($s0)
/* 32F1C0 E0016390 46200020 */ cvt.s.d $f0, $f0
/* 32F1C4 E0016394 E600FFF0 */ swc1 $f0, -0x10($s0)
/* 32F1C8 E0016398 46061080 */ add.s $f2, $f2, $f6
/* 32F1CC E001639C E6060000 */ swc1 $f6, ($s0)
/* 32F1D0 E00163A0 46003006 */ mov.s $f0, $f6
/* 32F1D4 E00163A4 4616003C */ c.lt.s $f0, $f22
/* 32F1D8 E00163A8 E602FFD8 */ swc1 $f2, -0x28($s0)
/* 32F1DC E00163AC 46202120 */ cvt.s.d $f4, $f4
/* 32F1E0 E00163B0 45000003 */ bc1f .LE00163C0
/* 32F1E4 E00163B4 E604FFF4 */ swc1 $f4, -0xc($s0)
/* 32F1E8 E00163B8 E6160004 */ swc1 $f22, 4($s0)
/* 32F1EC E00163BC E6160000 */ swc1 $f22, ($s0)
.LE00163C0:
/* 32F1F0 E00163C0 26520001 */ addiu $s2, $s2, 1
.LE00163C4:
/* 32F1F4 E00163C4 26100050 */ addiu $s0, $s0, 0x50
/* 32F1F8 E00163C8 8E820008 */ lw $v0, 8($s4)
/* 32F1FC E00163CC 0242102A */ slt $v0, $s2, $v0
/* 32F200 E00163D0 1440FFA8 */ bnez $v0, .LE0016274
/* 32F204 E00163D4 26310050 */ addiu $s1, $s1, 0x50
.LE00163D8:
/* 32F208 E00163D8 16600003 */ bnez $s3, .LE00163E8
/* 32F20C E00163DC 00000000 */ nop
/* 32F210 E00163E0 0C080128 */ jal func_E02004A0
/* 32F214 E00163E4 0280202D */ daddu $a0, $s4, $zero
.LE00163E8:
/* 32F218 E00163E8 8FBF0024 */ lw $ra, 0x24($sp)
/* 32F21C E00163EC 8FB40020 */ lw $s4, 0x20($sp)
/* 32F220 E00163F0 8FB3001C */ lw $s3, 0x1c($sp)
/* 32F224 E00163F4 8FB20018 */ lw $s2, 0x18($sp)
/* 32F228 E00163F8 8FB10014 */ lw $s1, 0x14($sp)
/* 32F22C E00163FC 8FB00010 */ lw $s0, 0x10($sp)
/* 32F230 E0016400 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 32F234 E0016404 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 32F238 E0016408 03E00008 */ jr $ra
/* 32F23C E001640C 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0016410
/* 32F240 E0016410 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 32F244 E0016414 3C02E001 */ lui $v0, %hi(D_E0016454)
/* 32F248 E0016418 24426454 */ addiu $v0, $v0, %lo(D_E0016454)
/* 32F24C E001641C AFA2001C */ sw $v0, 0x1c($sp)
/* 32F250 E0016420 24020028 */ addiu $v0, $zero, 0x28
/* 32F254 E0016424 AFA40018 */ sw $a0, 0x18($sp)
/* 32F258 E0016428 27A40010 */ addiu $a0, $sp, 0x10
/* 32F25C E001642C AFBF0020 */ sw $ra, 0x20($sp)
/* 32F260 E0016430 AFA00014 */ sw $zero, 0x14($sp)
/* 32F264 E0016434 0C080120 */ jal func_E0200480
/* 32F268 E0016438 AFA20010 */ sw $v0, 0x10($sp)
/* 32F26C E001643C 8C430000 */ lw $v1, ($v0)
/* 32F270 E0016440 34630002 */ ori $v1, $v1, 2
/* 32F274 E0016444 AC430000 */ sw $v1, ($v0)
/* 32F278 E0016448 8FBF0020 */ lw $ra, 0x20($sp)
/* 32F27C E001644C 03E00008 */ jr $ra
/* 32F280 E0016450 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,186 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0016454
/* 32F284 E0016454 27BDFF28 */ addiu $sp, $sp, -0xd8
/* 32F288 E0016458 AFB600B8 */ sw $s6, 0xb8($sp)
/* 32F28C E001645C 0080B02D */ daddu $s6, $a0, $zero
/* 32F290 E0016460 3C05DB06 */ lui $a1, 0xdb06
/* 32F294 E0016464 34A50024 */ ori $a1, $a1, 0x24
/* 32F298 E0016468 AFB300AC */ sw $s3, 0xac($sp)
/* 32F29C E001646C 0000982D */ daddu $s3, $zero, $zero
/* 32F2A0 E0016470 3C06800A */ lui $a2, %hi(D_8009A66C)
/* 32F2A4 E0016474 24C6A66C */ addiu $a2, $a2, %lo(D_8009A66C)
/* 32F2A8 E0016478 3C02E700 */ lui $v0, 0xe700
/* 32F2AC E001647C AFBF00C4 */ sw $ra, 0xc4($sp)
/* 32F2B0 E0016480 AFBE00C0 */ sw $fp, 0xc0($sp)
/* 32F2B4 E0016484 AFB700BC */ sw $s7, 0xbc($sp)
/* 32F2B8 E0016488 AFB500B4 */ sw $s5, 0xb4($sp)
/* 32F2BC E001648C AFB400B0 */ sw $s4, 0xb0($sp)
/* 32F2C0 E0016490 AFB200A8 */ sw $s2, 0xa8($sp)
/* 32F2C4 E0016494 AFB100A4 */ sw $s1, 0xa4($sp)
/* 32F2C8 E0016498 AFB000A0 */ sw $s0, 0xa0($sp)
/* 32F2CC E001649C F7B600D0 */ sdc1 $f22, 0xd0($sp)
/* 32F2D0 E00164A0 F7B400C8 */ sdc1 $f20, 0xc8($sp)
/* 32F2D4 E00164A4 8CC30000 */ lw $v1, ($a2)
/* 32F2D8 E00164A8 8ED2000C */ lw $s2, 0xc($s6)
/* 32F2DC E00164AC 0060202D */ daddu $a0, $v1, $zero
/* 32F2E0 E00164B0 24630008 */ addiu $v1, $v1, 8
/* 32F2E4 E00164B4 ACC30000 */ sw $v1, ($a2)
/* 32F2E8 E00164B8 AC820000 */ sw $v0, ($a0)
/* 32F2EC E00164BC AC800004 */ sw $zero, 4($a0)
/* 32F2F0 E00164C0 AC650000 */ sw $a1, ($v1)
/* 32F2F4 E00164C4 8EC40010 */ lw $a0, 0x10($s6)
/* 32F2F8 E00164C8 24620008 */ addiu $v0, $v1, 8
/* 32F2FC E00164CC ACC20000 */ sw $v0, ($a2)
/* 32F300 E00164D0 8C84001C */ lw $a0, 0x1c($a0)
/* 32F304 E00164D4 3C02DE00 */ lui $v0, 0xde00
/* 32F308 E00164D8 AC620008 */ sw $v0, 8($v1)
/* 32F30C E00164DC 3C020900 */ lui $v0, 0x900
/* 32F310 E00164E0 244200E0 */ addiu $v0, $v0, 0xe0
/* 32F314 E00164E4 AC62000C */ sw $v0, 0xc($v1)
/* 32F318 E00164E8 3C028000 */ lui $v0, 0x8000
/* 32F31C E00164EC 00822021 */ addu $a0, $a0, $v0
/* 32F320 E00164F0 AC640004 */ sw $a0, 4($v1)
/* 32F324 E00164F4 8EC20008 */ lw $v0, 8($s6)
/* 32F328 E00164F8 24630010 */ addiu $v1, $v1, 0x10
/* 32F32C E00164FC 18400070 */ blez $v0, .LE00166C0
/* 32F330 E0016500 ACC30000 */ sw $v1, ($a2)
/* 32F334 E0016504 27B10060 */ addiu $s1, $sp, 0x60
/* 32F338 E0016508 3C1E800A */ lui $fp, %hi(D_8009A674)
/* 32F33C E001650C 27DEA674 */ addiu $fp, $fp, %lo(D_8009A674)
/* 32F340 E0016510 3C178007 */ lui $s7, %hi(D_800741F0)
/* 32F344 E0016514 26F741F0 */ addiu $s7, $s7, %lo(D_800741F0)
/* 32F348 E0016518 3C150001 */ lui $s5, 1
/* 32F34C E001651C 36B51630 */ ori $s5, $s5, 0x1630
/* 32F350 E0016520 00C0A02D */ daddu $s4, $a2, $zero
/* 32F354 E0016524 26500008 */ addiu $s0, $s2, 8
/* 32F358 E0016528 4480A000 */ mtc1 $zero, $f20
/* 32F35C E001652C 3C013F80 */ lui $at, 0x3f80
/* 32F360 E0016530 4481B000 */ mtc1 $at, $f22
.LE0016534:
/* 32F364 E0016534 8E420000 */ lw $v0, ($s2)
/* 32F368 E0016538 5040005C */ beql $v0, $zero, .LE00166AC
/* 32F36C E001653C 26730001 */ addiu $s3, $s3, 1
/* 32F370 E0016540 3C09800B */ lui $t1, %hi(gCameras)
/* 32F374 E0016544 25291D80 */ addiu $t1, $t1, %lo(gCameras)
/* 32F378 E0016548 4405A000 */ mfc1 $a1, $f20
/* 32F37C E001654C 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 32F380 E0016550 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 32F384 E0016554 4407A000 */ mfc1 $a3, $f20
/* 32F388 E0016558 00031080 */ sll $v0, $v1, 2
/* 32F38C E001655C 00431021 */ addu $v0, $v0, $v1
/* 32F390 E0016560 00021080 */ sll $v0, $v0, 2
/* 32F394 E0016564 00431023 */ subu $v0, $v0, $v1
/* 32F398 E0016568 000218C0 */ sll $v1, $v0, 3
/* 32F39C E001656C 00431021 */ addu $v0, $v0, $v1
/* 32F3A0 E0016570 000210C0 */ sll $v0, $v0, 3
/* 32F3A4 E0016574 00491021 */ addu $v0, $v0, $t1
/* 32F3A8 E0016578 C442006C */ lwc1 $f2, 0x6c($v0)
/* 32F3AC E001657C E7B60010 */ swc1 $f22, 0x10($sp)
/* 32F3B0 E0016580 C6000004 */ lwc1 $f0, 4($s0)
/* 32F3B4 E0016584 46001087 */ neg.s $f2, $f2
/* 32F3B8 E0016588 E7A00014 */ swc1 $f0, 0x14($sp)
/* 32F3BC E001658C C6000008 */ lwc1 $f0, 8($s0)
/* 32F3C0 E0016590 44061000 */ mfc1 $a2, $f2
/* 32F3C4 E0016594 E7A00018 */ swc1 $f0, 0x18($sp)
/* 32F3C8 E0016598 C600000C */ lwc1 $f0, 0xc($s0)
/* 32F3CC E001659C 27A40020 */ addiu $a0, $sp, 0x20
/* 32F3D0 E00165A0 0C080180 */ jal func_E0200600
/* 32F3D4 E00165A4 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 32F3D8 E00165A8 8E050014 */ lw $a1, 0x14($s0)
/* 32F3DC E00165AC 8E060018 */ lw $a2, 0x18($s0)
/* 32F3E0 E00165B0 8E07001C */ lw $a3, 0x1c($s0)
/* 32F3E4 E00165B4 0C080110 */ jal func_E0200440
/* 32F3E8 E00165B8 0220202D */ daddu $a0, $s1, $zero
/* 32F3EC E00165BC 0220202D */ daddu $a0, $s1, $zero
/* 32F3F0 E00165C0 27A50020 */ addiu $a1, $sp, 0x20
/* 32F3F4 E00165C4 0C080114 */ jal func_E0200450
/* 32F3F8 E00165C8 00A0302D */ daddu $a2, $a1, $zero
/* 32F3FC E00165CC E7B60010 */ swc1 $f22, 0x10($sp)
/* 32F400 E00165D0 8E050010 */ lw $a1, 0x10($s0)
/* 32F404 E00165D4 4406A000 */ mfc1 $a2, $f20
/* 32F408 E00165D8 4407A000 */ mfc1 $a3, $f20
/* 32F40C E00165DC 0C080104 */ jal func_E0200410
/* 32F410 E00165E0 0220202D */ daddu $a0, $s1, $zero
/* 32F414 E00165E4 0220202D */ daddu $a0, $s1, $zero
/* 32F418 E00165E8 27A50020 */ addiu $a1, $sp, 0x20
/* 32F41C E00165EC 0C080114 */ jal func_E0200450
/* 32F420 E00165F0 00A0302D */ daddu $a2, $a1, $zero
/* 32F424 E00165F4 27A40020 */ addiu $a0, $sp, 0x20
/* 32F428 E00165F8 96E50000 */ lhu $a1, ($s7)
/* 32F42C E00165FC 8FC20000 */ lw $v0, ($fp)
/* 32F430 E0016600 00052980 */ sll $a1, $a1, 6
/* 32F434 E0016604 00B52821 */ addu $a1, $a1, $s5
/* 32F438 E0016608 0C080118 */ jal func_E0200460
/* 32F43C E001660C 00452821 */ addu $a1, $v0, $a1
/* 32F440 E0016610 3C077060 */ lui $a3, 0x7060
/* 32F444 E0016614 34E71800 */ ori $a3, $a3, 0x1800
/* 32F448 E0016618 3C08D838 */ lui $t0, 0xd838
/* 32F44C E001661C 35080002 */ ori $t0, $t0, 2
/* 32F450 E0016620 8E840000 */ lw $a0, ($s4)
/* 32F454 E0016624 3C02FA00 */ lui $v0, 0xfa00
/* 32F458 E0016628 0080302D */ daddu $a2, $a0, $zero
/* 32F45C E001662C 24840008 */ addiu $a0, $a0, 8
/* 32F460 E0016630 AE840000 */ sw $a0, ($s4)
/* 32F464 E0016634 ACC20000 */ sw $v0, ($a2)
/* 32F468 E0016638 92050000 */ lbu $a1, ($s0)
/* 32F46C E001663C 96E30000 */ lhu $v1, ($s7)
/* 32F470 E0016640 24820008 */ addiu $v0, $a0, 8
/* 32F474 E0016644 AE820000 */ sw $v0, ($s4)
/* 32F478 E0016648 24620001 */ addiu $v0, $v1, 1
/* 32F47C E001664C A6E20000 */ sh $v0, ($s7)
/* 32F480 E0016650 24820010 */ addiu $v0, $a0, 0x10
/* 32F484 E0016654 AE820000 */ sw $v0, ($s4)
/* 32F488 E0016658 24820018 */ addiu $v0, $a0, 0x18
/* 32F48C E001665C 00A72825 */ or $a1, $a1, $a3
/* 32F490 E0016660 AE820000 */ sw $v0, ($s4)
/* 32F494 E0016664 3C02DA38 */ lui $v0, 0xda38
/* 32F498 E0016668 3063FFFF */ andi $v1, $v1, 0xffff
/* 32F49C E001666C 00031980 */ sll $v1, $v1, 6
/* 32F4A0 E0016670 ACC50004 */ sw $a1, 4($a2)
/* 32F4A4 E0016674 AC820000 */ sw $v0, ($a0)
/* 32F4A8 E0016678 8FC20000 */ lw $v0, ($fp)
/* 32F4AC E001667C 00751821 */ addu $v1, $v1, $s5
/* 32F4B0 E0016680 AC880010 */ sw $t0, 0x10($a0)
/* 32F4B4 E0016684 00431021 */ addu $v0, $v0, $v1
/* 32F4B8 E0016688 AC820004 */ sw $v0, 4($a0)
/* 32F4BC E001668C 3C02DE00 */ lui $v0, 0xde00
/* 32F4C0 E0016690 AC820008 */ sw $v0, 8($a0)
/* 32F4C4 E0016694 3C020900 */ lui $v0, 0x900
/* 32F4C8 E0016698 244201B8 */ addiu $v0, $v0, 0x1b8
/* 32F4CC E001669C AC82000C */ sw $v0, 0xc($a0)
/* 32F4D0 E00166A0 24020040 */ addiu $v0, $zero, 0x40
/* 32F4D4 E00166A4 AC820014 */ sw $v0, 0x14($a0)
/* 32F4D8 E00166A8 26730001 */ addiu $s3, $s3, 1
.LE00166AC:
/* 32F4DC E00166AC 26100050 */ addiu $s0, $s0, 0x50
/* 32F4E0 E00166B0 8EC20008 */ lw $v0, 8($s6)
/* 32F4E4 E00166B4 0262102A */ slt $v0, $s3, $v0
/* 32F4E8 E00166B8 1440FF9E */ bnez $v0, .LE0016534
/* 32F4EC E00166BC 26520050 */ addiu $s2, $s2, 0x50
.LE00166C0:
/* 32F4F0 E00166C0 3C03800A */ lui $v1, %hi(D_8009A66C)
/* 32F4F4 E00166C4 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
/* 32F4F8 E00166C8 8C620000 */ lw $v0, ($v1)
/* 32F4FC E00166CC 0040202D */ daddu $a0, $v0, $zero
/* 32F500 E00166D0 24420008 */ addiu $v0, $v0, 8
/* 32F504 E00166D4 AC620000 */ sw $v0, ($v1)
/* 32F508 E00166D8 3C02E700 */ lui $v0, 0xe700
/* 32F50C E00166DC AC820000 */ sw $v0, ($a0)
/* 32F510 E00166E0 AC800004 */ sw $zero, 4($a0)
/* 32F514 E00166E4 8FBF00C4 */ lw $ra, 0xc4($sp)
/* 32F518 E00166E8 8FBE00C0 */ lw $fp, 0xc0($sp)
/* 32F51C E00166EC 8FB700BC */ lw $s7, 0xbc($sp)
/* 32F520 E00166F0 8FB600B8 */ lw $s6, 0xb8($sp)
/* 32F524 E00166F4 8FB500B4 */ lw $s5, 0xb4($sp)
/* 32F528 E00166F8 8FB400B0 */ lw $s4, 0xb0($sp)
/* 32F52C E00166FC 8FB300AC */ lw $s3, 0xac($sp)
/* 32F530 E0016700 8FB200A8 */ lw $s2, 0xa8($sp)
/* 32F534 E0016704 8FB100A4 */ lw $s1, 0xa4($sp)
/* 32F538 E0016708 8FB000A0 */ lw $s0, 0xa0($sp)
/* 32F53C E001670C D7B600D0 */ ldc1 $f22, 0xd0($sp)
/* 32F540 E0016710 D7B400C8 */ ldc1 $f20, 0xc8($sp)
/* 32F544 E0016714 03E00008 */ jr $ra
/* 32F548 E0016718 27BD00D8 */ addiu $sp, $sp, 0xd8
/* 32F54C E001671C 00000000 */ nop

View File

@ -0,0 +1,145 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001A000
/* 32FE30 E001A000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 32FE34 E001A004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 32FE38 E001A008 4485A000 */ mtc1 $a1, $f20
/* 32FE3C E001A00C F7B80048 */ sdc1 $f24, 0x48($sp)
/* 32FE40 E001A010 4486C000 */ mtc1 $a2, $f24
/* 32FE44 E001A014 AFB1002C */ sw $s1, 0x2c($sp)
/* 32FE48 E001A018 0080882D */ daddu $s1, $a0, $zero
/* 32FE4C E001A01C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 32FE50 E001A020 4487B000 */ mtc1 $a3, $f22
/* 32FE54 E001A024 27A40010 */ addiu $a0, $sp, 0x10
/* 32FE58 E001A028 AFB20030 */ sw $s2, 0x30($sp)
/* 32FE5C E001A02C 8FB20060 */ lw $s2, 0x60($sp)
/* 32FE60 E001A030 3C02E002 */ lui $v0, %hi(D_E001A21C)
/* 32FE64 E001A034 2442A21C */ addiu $v0, $v0, %lo(D_E001A21C)
/* 32FE68 E001A038 AFA20018 */ sw $v0, 0x18($sp)
/* 32FE6C E001A03C 3C02E002 */ lui $v0, %hi(D_E001A224)
/* 32FE70 E001A040 2442A224 */ addiu $v0, $v0, %lo(D_E001A224)
/* 32FE74 E001A044 AFA2001C */ sw $v0, 0x1c($sp)
/* 32FE78 E001A048 3C02E002 */ lui $v0, %hi(D_E001A3FC)
/* 32FE7C E001A04C 2442A3FC */ addiu $v0, $v0, %lo(D_E001A3FC)
/* 32FE80 E001A050 AFA20020 */ sw $v0, 0x20($sp)
/* 32FE84 E001A054 2402000D */ addiu $v0, $zero, 0xd
/* 32FE88 E001A058 AFBF0034 */ sw $ra, 0x34($sp)
/* 32FE8C E001A05C AFB00028 */ sw $s0, 0x28($sp)
/* 32FE90 E001A060 AFA00010 */ sw $zero, 0x10($sp)
/* 32FE94 E001A064 AFA00024 */ sw $zero, 0x24($sp)
/* 32FE98 E001A068 0C080124 */ jal func_E0200490
/* 32FE9C E001A06C AFA20014 */ sw $v0, 0x14($sp)
/* 32FEA0 E001A070 24040048 */ addiu $a0, $zero, 0x48
/* 32FEA4 E001A074 24030001 */ addiu $v1, $zero, 1
/* 32FEA8 E001A078 0040802D */ daddu $s0, $v0, $zero
/* 32FEAC E001A07C 0C08012C */ jal func_E02004B0
/* 32FEB0 E001A080 AE030008 */ sw $v1, 8($s0)
/* 32FEB4 E001A084 AE02000C */ sw $v0, 0xc($s0)
/* 32FEB8 E001A088 0040802D */ daddu $s0, $v0, $zero
/* 32FEBC E001A08C 56000003 */ bnel $s0, $zero, .LE001A09C
/* 32FEC0 E001A090 AE110000 */ sw $s1, ($s0)
.LE001A094:
/* 32FEC4 E001A094 08006825 */ j .LE001A094
/* 32FEC8 E001A098 00000000 */ nop
.LE001A09C:
/* 32FECC E001A09C 3C014120 */ lui $at, 0x4120
/* 32FED0 E001A0A0 44813000 */ mtc1 $at, $f6
/* 32FED4 E001A0A4 E6140004 */ swc1 $f20, 4($s0)
/* 32FED8 E001A0A8 E616000C */ swc1 $f22, 0xc($s0)
/* 32FEDC E001A0AC AE000010 */ sw $zero, 0x10($s0)
/* 32FEE0 E001A0B0 4606C000 */ add.s $f0, $f24, $f6
/* 32FEE4 E001A0B4 AE000014 */ sw $zero, 0x14($s0)
/* 32FEE8 E001A0B8 AE000018 */ sw $zero, 0x18($s0)
/* 32FEEC E001A0BC 16200018 */ bnez $s1, .LE001A120
/* 32FEF0 E001A0C0 E6000008 */ swc1 $f0, 8($s0)
/* 32FEF4 E001A0C4 3C013DF5 */ lui $at, 0x3df5
/* 32FEF8 E001A0C8 3421C28F */ ori $at, $at, 0xc28f
/* 32FEFC E001A0CC 44810000 */ mtc1 $at, $f0
/* 32FF00 E001A0D0 3C01BC79 */ lui $at, 0xbc79
/* 32FF04 E001A0D4 3421096C */ ori $at, $at, 0x96c
/* 32FF08 E001A0D8 44811000 */ mtc1 $at, $f2
/* 32FF0C E001A0DC 3C014040 */ lui $at, 0x4040
/* 32FF10 E001A0E0 44812000 */ mtc1 $at, $f4
/* 32FF14 E001A0E4 3C02E002 */ lui $v0, %hi(D_E001A610)
/* 32FF18 E001A0E8 8C42A610 */ lw $v0, %lo(D_E001A610)($v0)
/* 32FF1C E001A0EC AE000018 */ sw $zero, 0x18($s0)
/* 32FF20 E001A0F0 AE000024 */ sw $zero, 0x24($s0)
/* 32FF24 E001A0F4 AE000028 */ sw $zero, 0x28($s0)
/* 32FF28 E001A0F8 E600001C */ swc1 $f0, 0x1c($s0)
/* 32FF2C E001A0FC E6020020 */ swc1 $f2, 0x20($s0)
/* 32FF30 E001A100 10400004 */ beqz $v0, .LE001A114
/* 32FF34 E001A104 E604002C */ swc1 $f4, 0x2c($s0)
/* 32FF38 E001A108 3C01C120 */ lui $at, 0xc120
/* 32FF3C E001A10C 44813000 */ mtc1 $at, $f6
/* 32FF40 E001A110 00000000 */ nop
.LE001A114:
/* 32FF44 E001A114 E6060030 */ swc1 $f6, 0x30($s0)
/* 32FF48 E001A118 08006876 */ j .LE001A1D8
/* 32FF4C E001A11C AE120034 */ sw $s2, 0x34($s0)
.LE001A120:
/* 32FF50 E001A120 3C013DF5 */ lui $at, 0x3df5
/* 32FF54 E001A124 3421C28F */ ori $at, $at, 0xc28f
/* 32FF58 E001A128 44810000 */ mtc1 $at, $f0
/* 32FF5C E001A12C 3C01BC79 */ lui $at, 0xbc79
/* 32FF60 E001A130 3421096C */ ori $at, $at, 0x96c
/* 32FF64 E001A134 44811000 */ mtc1 $at, $f2
/* 32FF68 E001A138 24040001 */ addiu $a0, $zero, 1
/* 32FF6C E001A13C E600001C */ swc1 $f0, 0x1c($s0)
/* 32FF70 E001A140 0C080138 */ jal func_E02004E0
/* 32FF74 E001A144 E6020020 */ swc1 $f2, 0x20($s0)
/* 32FF78 E001A148 24040168 */ addiu $a0, $zero, 0x168
/* 32FF7C E001A14C 00021900 */ sll $v1, $v0, 4
/* 32FF80 E001A150 00621823 */ subu $v1, $v1, $v0
/* 32FF84 E001A154 00031840 */ sll $v1, $v1, 1
/* 32FF88 E001A158 2463FFF1 */ addiu $v1, $v1, -0xf
/* 32FF8C E001A15C 44830000 */ mtc1 $v1, $f0
/* 32FF90 E001A160 00000000 */ nop
/* 32FF94 E001A164 46800020 */ cvt.s.w $f0, $f0
/* 32FF98 E001A168 0C080138 */ jal func_E02004E0
/* 32FF9C E001A16C E6000024 */ swc1 $f0, 0x24($s0)
/* 32FFA0 E001A170 24040001 */ addiu $a0, $zero, 1
/* 32FFA4 E001A174 44820000 */ mtc1 $v0, $f0
/* 32FFA8 E001A178 00000000 */ nop
/* 32FFAC E001A17C 46800020 */ cvt.s.w $f0, $f0
/* 32FFB0 E001A180 E6000028 */ swc1 $f0, 0x28($s0)
/* 32FFB4 E001A184 0C080138 */ jal func_E02004E0
/* 32FFB8 E001A188 AE00002C */ sw $zero, 0x2c($s0)
/* 32FFBC E001A18C 2404000A */ addiu $a0, $zero, 0xa
/* 32FFC0 E001A190 000210C0 */ sll $v0, $v0, 3
/* 32FFC4 E001A194 2442FFFC */ addiu $v0, $v0, -4
/* 32FFC8 E001A198 44820000 */ mtc1 $v0, $f0
/* 32FFCC E001A19C 00000000 */ nop
/* 32FFD0 E001A1A0 46800020 */ cvt.s.w $f0, $f0
/* 32FFD4 E001A1A4 E6000030 */ swc1 $f0, 0x30($s0)
/* 32FFD8 E001A1A8 AE120034 */ sw $s2, 0x34($s0)
/* 32FFDC E001A1AC 0C080138 */ jal func_E02004E0
/* 32FFE0 E001A1B0 AE000038 */ sw $zero, 0x38($s0)
/* 32FFE4 E001A1B4 24040014 */ addiu $a0, $zero, 0x14
/* 32FFE8 E001A1B8 0C080138 */ jal func_E02004E0
/* 32FFEC E001A1BC AE020044 */ sw $v0, 0x44($s0)
/* 32FFF0 E001A1C0 24040001 */ addiu $a0, $zero, 1
/* 32FFF4 E001A1C4 0C080138 */ jal func_E02004E0
/* 32FFF8 E001A1C8 AE020040 */ sw $v0, 0x40($s0)
/* 32FFFC E001A1CC 00021040 */ sll $v0, $v0, 1
/* 330000 E001A1D0 2442FFFF */ addiu $v0, $v0, -1
/* 330004 E001A1D4 AE02003C */ sw $v0, 0x3c($s0)
.LE001A1D8:
/* 330008 E001A1D8 3C03E002 */ lui $v1, %hi(D_E001A610)
/* 33000C E001A1DC 2463A610 */ addiu $v1, $v1, %lo(D_E001A610)
/* 330010 E001A1E0 8C620000 */ lw $v0, ($v1)
/* 330014 E001A1E4 24420001 */ addiu $v0, $v0, 1
/* 330018 E001A1E8 AC620000 */ sw $v0, ($v1)
/* 33001C E001A1EC 28420002 */ slti $v0, $v0, 2
/* 330020 E001A1F0 50400001 */ beql $v0, $zero, .LE001A1F8
/* 330024 E001A1F4 AC600000 */ sw $zero, ($v1)
.LE001A1F8:
/* 330028 E001A1F8 8FBF0034 */ lw $ra, 0x34($sp)
/* 33002C E001A1FC 8FB20030 */ lw $s2, 0x30($sp)
/* 330030 E001A200 8FB1002C */ lw $s1, 0x2c($sp)
/* 330034 E001A204 8FB00028 */ lw $s0, 0x28($sp)
/* 330038 E001A208 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 33003C E001A20C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 330040 E001A210 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 330044 E001A214 03E00008 */ jr $ra
/* 330048 E001A218 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001A21C
/* 33004C E001A21C 03E00008 */ jr $ra
/* 330050 E001A220 00000000 */ nop

View File

@ -0,0 +1,130 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001A224
/* 330054 E001A224 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 330058 E001A228 AFBF0010 */ sw $ra, 0x10($sp)
/* 33005C E001A22C 8C85000C */ lw $a1, 0xc($a0)
/* 330060 E001A230 8CA20034 */ lw $v0, 0x34($a1)
/* 330064 E001A234 8CA60000 */ lw $a2, ($a1)
/* 330068 E001A238 28420096 */ slti $v0, $v0, 0x96
/* 33006C E001A23C 10400039 */ beqz $v0, .LE001A324
/* 330070 E001A240 00000000 */ nop
/* 330074 E001A244 C4A00010 */ lwc1 $f0, 0x10($a1)
/* 330078 E001A248 3C01E002 */ lui $at, %hi(D_E001A620)
/* 33007C E001A24C D422A620 */ ldc1 $f2, %lo(D_E001A620)($at)
/* 330080 E001A250 C4A6000C */ lwc1 $f6, 0xc($a1)
/* 330084 E001A254 46000021 */ cvt.d.s $f0, $f0
/* 330088 E001A258 46220001 */ sub.d $f0, $f0, $f2
/* 33008C E001A25C C4A20018 */ lwc1 $f2, 0x18($a1)
/* 330090 E001A260 C4A40024 */ lwc1 $f4, 0x24($a1)
/* 330094 E001A264 46023180 */ add.s $f6, $f6, $f2
/* 330098 E001A268 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 33009C E001A26C 46022100 */ add.s $f4, $f4, $f2
/* 3300A0 E001A270 C4A20004 */ lwc1 $f2, 4($a1)
/* 3300A4 E001A274 46200020 */ cvt.s.d $f0, $f0
/* 3300A8 E001A278 E4A00010 */ swc1 $f0, 0x10($a1)
/* 3300AC E001A27C 46001080 */ add.s $f2, $f2, $f0
/* 3300B0 E001A280 E4A6000C */ swc1 $f6, 0xc($a1)
/* 3300B4 E001A284 E4A40024 */ swc1 $f4, 0x24($a1)
/* 3300B8 E001A288 14C00018 */ bnez $a2, .LE001A2EC
/* 3300BC E001A28C E4A20004 */ swc1 $f2, 4($a1)
/* 3300C0 E001A290 3C014120 */ lui $at, 0x4120
/* 3300C4 E001A294 44811000 */ mtc1 $at, $f2
/* 3300C8 E001A298 00000000 */ nop
/* 3300CC E001A29C 4602203C */ c.lt.s $f4, $f2
/* 3300D0 E001A2A0 00000000 */ nop
/* 3300D4 E001A2A4 45000005 */ bc1f .LE001A2BC
/* 3300D8 E001A2A8 00000000 */ nop
/* 3300DC E001A2AC C4A0002C */ lwc1 $f0, 0x2c($a1)
/* 3300E0 E001A2B0 E4A20024 */ swc1 $f2, 0x24($a1)
/* 3300E4 E001A2B4 46000007 */ neg.s $f0, $f0
/* 3300E8 E001A2B8 E4A0002C */ swc1 $f0, 0x2c($a1)
.LE001A2BC:
/* 3300EC E001A2BC C4A00024 */ lwc1 $f0, 0x24($a1)
/* 3300F0 E001A2C0 3C014234 */ lui $at, 0x4234
/* 3300F4 E001A2C4 44811000 */ mtc1 $at, $f2
/* 3300F8 E001A2C8 00000000 */ nop
/* 3300FC E001A2CC 4600103C */ c.lt.s $f2, $f0
/* 330100 E001A2D0 00000000 */ nop
/* 330104 E001A2D4 45000005 */ bc1f .LE001A2EC
/* 330108 E001A2D8 00000000 */ nop
/* 33010C E001A2DC C4A0002C */ lwc1 $f0, 0x2c($a1)
/* 330110 E001A2E0 E4A20024 */ swc1 $f2, 0x24($a1)
/* 330114 E001A2E4 46000007 */ neg.s $f0, $f0
/* 330118 E001A2E8 E4A0002C */ swc1 $f0, 0x2c($a1)
.LE001A2EC:
/* 33011C E001A2EC C4A00028 */ lwc1 $f0, 0x28($a1)
/* 330120 E001A2F0 C4A20030 */ lwc1 $f2, 0x30($a1)
/* 330124 E001A2F4 46020000 */ add.s $f0, $f0, $f2
/* 330128 E001A2F8 14C00006 */ bnez $a2, .LE001A314
/* 33012C E001A2FC E4A00028 */ swc1 $f0, 0x28($a1)
/* 330130 E001A300 3C013FB3 */ lui $at, 0x3fb3
/* 330134 E001A304 34213333 */ ori $at, $at, 0x3333
/* 330138 E001A308 44810000 */ mtc1 $at, $f0
/* 33013C E001A30C 080068DC */ j .LE001A370
/* 330140 E001A310 E4A00014 */ swc1 $f0, 0x14($a1)
.LE001A314:
/* 330144 E001A314 3C013F80 */ lui $at, 0x3f80
/* 330148 E001A318 44810000 */ mtc1 $at, $f0
/* 33014C E001A31C 080068DC */ j .LE001A370
/* 330150 E001A320 E4A00014 */ swc1 $f0, 0x14($a1)
.LE001A324:
/* 330154 E001A324 C4A00020 */ lwc1 $f0, 0x20($a1)
/* 330158 E001A328 3C01E002 */ lui $at, %hi(D_E001A628)
/* 33015C E001A32C D422A628 */ ldc1 $f2, %lo(D_E001A628)($at)
/* 330160 E001A330 46000021 */ cvt.d.s $f0, $f0
/* 330164 E001A334 46220000 */ add.d $f0, $f0, $f2
/* 330168 E001A338 C4A4001C */ lwc1 $f4, 0x1c($a1)
/* 33016C E001A33C 46200020 */ cvt.s.d $f0, $f0
/* 330170 E001A340 46002100 */ add.s $f4, $f4, $f0
/* 330174 E001A344 C4A20014 */ lwc1 $f2, 0x14($a1)
/* 330178 E001A348 3C013F80 */ lui $at, 0x3f80
/* 33017C E001A34C 44813000 */ mtc1 $at, $f6
/* 330180 E001A350 46041080 */ add.s $f2, $f2, $f4
/* 330184 E001A354 E4A00020 */ swc1 $f0, 0x20($a1)
/* 330188 E001A358 E4A4001C */ swc1 $f4, 0x1c($a1)
/* 33018C E001A35C 4602303C */ c.lt.s $f6, $f2
/* 330190 E001A360 00000000 */ nop
/* 330194 E001A364 45000002 */ bc1f .LE001A370
/* 330198 E001A368 E4A20014 */ swc1 $f2, 0x14($a1)
/* 33019C E001A36C E4A60014 */ swc1 $f6, 0x14($a1)
.LE001A370:
/* 3301A0 E001A370 24020001 */ addiu $v0, $zero, 1
/* 3301A4 E001A374 14C20010 */ bne $a2, $v0, .LE001A3B8
/* 3301A8 E001A378 00000000 */ nop
/* 3301AC E001A37C 8CA20040 */ lw $v0, 0x40($a1)
/* 3301B0 E001A380 8CA3003C */ lw $v1, 0x3c($a1)
/* 3301B4 E001A384 00431821 */ addu $v1, $v0, $v1
/* 3301B8 E001A388 28620014 */ slti $v0, $v1, 0x14
/* 3301BC E001A38C 14400006 */ bnez $v0, .LE001A3A8
/* 3301C0 E001A390 ACA30040 */ sw $v1, 0x40($a1)
/* 3301C4 E001A394 24020014 */ addiu $v0, $zero, 0x14
/* 3301C8 E001A398 ACA20040 */ sw $v0, 0x40($a1)
/* 3301CC E001A39C 2402FFFF */ addiu $v0, $zero, -1
/* 3301D0 E001A3A0 080068EE */ j .LE001A3B8
/* 3301D4 E001A3A4 ACA2003C */ sw $v0, 0x3c($a1)
.LE001A3A8:
/* 3301D8 E001A3A8 1C600003 */ bgtz $v1, .LE001A3B8
/* 3301DC E001A3AC 00000000 */ nop
/* 3301E0 E001A3B0 ACA00040 */ sw $zero, 0x40($a1)
/* 3301E4 E001A3B4 ACA6003C */ sw $a2, 0x3c($a1)
.LE001A3B8:
/* 3301E8 E001A3B8 C4A00008 */ lwc1 $f0, 8($a1)
/* 3301EC E001A3BC 8CA20034 */ lw $v0, 0x34($a1)
/* 3301F0 E001A3C0 C4A20014 */ lwc1 $f2, 0x14($a1)
/* 3301F4 E001A3C4 2442FFFF */ addiu $v0, $v0, -1
/* 3301F8 E001A3C8 46020000 */ add.s $f0, $f0, $f2
/* 3301FC E001A3CC ACA20034 */ sw $v0, 0x34($a1)
/* 330200 E001A3D0 8CA20038 */ lw $v0, 0x38($a1)
/* 330204 E001A3D4 8CA30034 */ lw $v1, 0x34($a1)
/* 330208 E001A3D8 24420001 */ addiu $v0, $v0, 1
/* 33020C E001A3DC ACA20038 */ sw $v0, 0x38($a1)
/* 330210 E001A3E0 04610003 */ bgez $v1, .LE001A3F0
/* 330214 E001A3E4 E4A00008 */ swc1 $f0, 8($a1)
/* 330218 E001A3E8 0C080128 */ jal func_E02004A0
/* 33021C E001A3EC 00000000 */ nop
.LE001A3F0:
/* 330220 E001A3F0 8FBF0010 */ lw $ra, 0x10($sp)
/* 330224 E001A3F4 03E00008 */ jr $ra
/* 330228 E001A3F8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001A3FC
/* 33022C E001A3FC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 330230 E001A400 3C02E002 */ lui $v0, %hi(D_E001A440)
/* 330234 E001A404 2442A440 */ addiu $v0, $v0, %lo(D_E001A440)
/* 330238 E001A408 AFA2001C */ sw $v0, 0x1c($sp)
/* 33023C E001A40C 2402002D */ addiu $v0, $zero, 0x2d
/* 330240 E001A410 AFA40018 */ sw $a0, 0x18($sp)
/* 330244 E001A414 27A40010 */ addiu $a0, $sp, 0x10
/* 330248 E001A418 AFBF0020 */ sw $ra, 0x20($sp)
/* 33024C E001A41C AFA00014 */ sw $zero, 0x14($sp)
/* 330250 E001A420 0C080120 */ jal func_E0200480
/* 330254 E001A424 AFA20010 */ sw $v0, 0x10($sp)
/* 330258 E001A428 8C430000 */ lw $v1, ($v0)
/* 33025C E001A42C 34630002 */ ori $v1, $v1, 2
/* 330260 E001A430 AC430000 */ sw $v1, ($v0)
/* 330264 E001A434 8FBF0020 */ lw $ra, 0x20($sp)
/* 330268 E001A438 03E00008 */ jr $ra
/* 33026C E001A43C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,122 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001A440
/* 330270 E001A440 27BDFF40 */ addiu $sp, $sp, -0xc0
/* 330274 E001A444 0080382D */ daddu $a3, $a0, $zero
/* 330278 E001A448 3C08DB06 */ lui $t0, 0xdb06
/* 33027C E001A44C 35080024 */ ori $t0, $t0, 0x24
/* 330280 E001A450 AFB400B8 */ sw $s4, 0xb8($sp)
/* 330284 E001A454 3C14800A */ lui $s4, %hi(D_8009A66C)
/* 330288 E001A458 2694A66C */ addiu $s4, $s4, %lo(D_8009A66C)
/* 33028C E001A45C 27A40020 */ addiu $a0, $sp, 0x20
/* 330290 E001A460 3C02E700 */ lui $v0, 0xe700
/* 330294 E001A464 AFBF00BC */ sw $ra, 0xbc($sp)
/* 330298 E001A468 AFB300B4 */ sw $s3, 0xb4($sp)
/* 33029C E001A46C AFB200B0 */ sw $s2, 0xb0($sp)
/* 3302A0 E001A470 AFB100AC */ sw $s1, 0xac($sp)
/* 3302A4 E001A474 AFB000A8 */ sw $s0, 0xa8($sp)
/* 3302A8 E001A478 8E830000 */ lw $v1, ($s4)
/* 3302AC E001A47C 8CE6000C */ lw $a2, 0xc($a3)
/* 3302B0 E001A480 0060282D */ daddu $a1, $v1, $zero
/* 3302B4 E001A484 24630008 */ addiu $v1, $v1, 8
/* 3302B8 E001A488 ACA20000 */ sw $v0, ($a1)
/* 3302BC E001A48C ACA00004 */ sw $zero, 4($a1)
/* 3302C0 E001A490 AC680000 */ sw $t0, ($v1)
/* 3302C4 E001A494 8CE20010 */ lw $v0, 0x10($a3)
/* 3302C8 E001A498 3C013F80 */ lui $at, 0x3f80
/* 3302CC E001A49C 44810000 */ mtc1 $at, $f0
/* 3302D0 E001A4A0 8C42001C */ lw $v0, 0x1c($v0)
/* 3302D4 E001A4A4 3C058000 */ lui $a1, 0x8000
/* 3302D8 E001A4A8 00451021 */ addu $v0, $v0, $a1
/* 3302DC E001A4AC AC620004 */ sw $v0, 4($v1)
/* 3302E0 E001A4B0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 3302E4 E001A4B4 C4C00004 */ lwc1 $f0, 4($a2)
/* 3302E8 E001A4B8 3C120001 */ lui $s2, 1
/* 3302EC E001A4BC E7A00014 */ swc1 $f0, 0x14($sp)
/* 3302F0 E001A4C0 C4C00008 */ lwc1 $f0, 8($a2)
/* 3302F4 E001A4C4 36521630 */ ori $s2, $s2, 0x1630
/* 3302F8 E001A4C8 E7A00018 */ swc1 $f0, 0x18($sp)
/* 3302FC E001A4CC C4C0000C */ lwc1 $f0, 0xc($a2)
/* 330300 E001A4D0 0000382D */ daddu $a3, $zero, $zero
/* 330304 E001A4D4 AE830000 */ sw $v1, ($s4)
/* 330308 E001A4D8 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 33030C E001A4DC 8CC50024 */ lw $a1, 0x24($a2)
/* 330310 E001A4E0 8CC60028 */ lw $a2, 0x28($a2)
/* 330314 E001A4E4 24630008 */ addiu $v1, $v1, 8
/* 330318 E001A4E8 0C080180 */ jal func_E0200600
/* 33031C E001A4EC AE830000 */ sw $v1, ($s4)
/* 330320 E001A4F0 27A40020 */ addiu $a0, $sp, 0x20
/* 330324 E001A4F4 3C108007 */ lui $s0, %hi(D_800741F0)
/* 330328 E001A4F8 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 33032C E001A4FC 3C11800A */ lui $s1, %hi(D_8009A674)
/* 330330 E001A500 2631A674 */ addiu $s1, $s1, %lo(D_8009A674)
/* 330334 E001A504 96050000 */ lhu $a1, ($s0)
/* 330338 E001A508 8E220000 */ lw $v0, ($s1)
/* 33033C E001A50C 00052980 */ sll $a1, $a1, 6
/* 330340 E001A510 00B22821 */ addu $a1, $a1, $s2
/* 330344 E001A514 0C080118 */ jal func_E0200460
/* 330348 E001A518 00452821 */ addu $a1, $v0, $a1
/* 33034C E001A51C 8E820000 */ lw $v0, ($s4)
/* 330350 E001A520 241300FF */ addiu $s3, $zero, 0xff
/* 330354 E001A524 A3B300A1 */ sb $s3, 0xa1($sp)
/* 330358 E001A528 0040282D */ daddu $a1, $v0, $zero
/* 33035C E001A52C 24420008 */ addiu $v0, $v0, 8
/* 330360 E001A530 AE820000 */ sw $v0, ($s4)
/* 330364 E001A534 96020000 */ lhu $v0, ($s0)
/* 330368 E001A538 3C03DA38 */ lui $v1, 0xda38
/* 33036C E001A53C ACA30000 */ sw $v1, ($a1)
/* 330370 E001A540 24430001 */ addiu $v1, $v0, 1
/* 330374 E001A544 3042FFFF */ andi $v0, $v0, 0xffff
/* 330378 E001A548 00021180 */ sll $v0, $v0, 6
/* 33037C E001A54C 00521021 */ addu $v0, $v0, $s2
/* 330380 E001A550 A6030000 */ sh $v1, ($s0)
/* 330384 E001A554 8E230000 */ lw $v1, ($s1)
/* 330388 E001A558 3C048015 */ lui $a0, %hi(D_801512F0)
/* 33038C E001A55C 8C8412F0 */ lw $a0, %lo(D_801512F0)($a0)
/* 330390 E001A560 00621821 */ addu $v1, $v1, $v0
/* 330394 E001A564 ACA30004 */ sw $v1, 4($a1)
/* 330398 E001A568 90830000 */ lbu $v1, ($a0)
/* 33039C E001A56C 24020001 */ addiu $v0, $zero, 1
/* 3303A0 E001A570 14620007 */ bne $v1, $v0, .LE001A590
/* 3303A4 E001A574 27A400A0 */ addiu $a0, $sp, 0xa0
/* 3303A8 E001A578 0080282D */ daddu $a1, $a0, $zero
/* 3303AC E001A57C 0080302D */ daddu $a2, $a0, $zero
/* 3303B0 E001A580 0C08019C */ jal func_E0200670
/* 3303B4 E001A584 27A700A1 */ addiu $a3, $sp, 0xa1
/* 3303B8 E001A588 93A200A1 */ lbu $v0, 0xa1($sp)
/* 3303BC E001A58C 02629823 */ subu $s3, $s3, $v0
.LE001A590:
/* 3303C0 E001A590 12600016 */ beqz $s3, .LE001A5EC
/* 3303C4 E001A594 3C05D838 */ lui $a1, 0xd838
/* 3303C8 E001A598 34A50002 */ ori $a1, $a1, 2
/* 3303CC E001A59C 8E830000 */ lw $v1, ($s4)
/* 3303D0 E001A5A0 3C02FA00 */ lui $v0, 0xfa00
/* 3303D4 E001A5A4 0060202D */ daddu $a0, $v1, $zero
/* 3303D8 E001A5A8 24630008 */ addiu $v1, $v1, 8
/* 3303DC E001A5AC AE830000 */ sw $v1, ($s4)
/* 3303E0 E001A5B0 AC820000 */ sw $v0, ($a0)
/* 3303E4 E001A5B4 326200FF */ andi $v0, $s3, 0xff
/* 3303E8 E001A5B8 AC820004 */ sw $v0, 4($a0)
/* 3303EC E001A5BC 24620008 */ addiu $v0, $v1, 8
/* 3303F0 E001A5C0 AE820000 */ sw $v0, ($s4)
/* 3303F4 E001A5C4 3C02DE00 */ lui $v0, 0xde00
/* 3303F8 E001A5C8 AC620000 */ sw $v0, ($v1)
/* 3303FC E001A5CC 3C020900 */ lui $v0, 0x900
/* 330400 E001A5D0 244202F0 */ addiu $v0, $v0, 0x2f0
/* 330404 E001A5D4 AC620004 */ sw $v0, 4($v1)
/* 330408 E001A5D8 24620010 */ addiu $v0, $v1, 0x10
/* 33040C E001A5DC AE820000 */ sw $v0, ($s4)
/* 330410 E001A5E0 24020040 */ addiu $v0, $zero, 0x40
/* 330414 E001A5E4 AC650008 */ sw $a1, 8($v1)
/* 330418 E001A5E8 AC62000C */ sw $v0, 0xc($v1)
.LE001A5EC:
/* 33041C E001A5EC 8FBF00BC */ lw $ra, 0xbc($sp)
/* 330420 E001A5F0 8FB400B8 */ lw $s4, 0xb8($sp)
/* 330424 E001A5F4 8FB300B4 */ lw $s3, 0xb4($sp)
/* 330428 E001A5F8 8FB200B0 */ lw $s2, 0xb0($sp)
/* 33042C E001A5FC 8FB100AC */ lw $s1, 0xac($sp)
/* 330430 E001A600 8FB000A8 */ lw $s0, 0xa8($sp)
/* 330434 E001A604 03E00008 */ jr $ra
/* 330438 E001A608 27BD00C0 */ addiu $sp, $sp, 0xc0
/* 33043C E001A60C 00000000 */ nop

View File

@ -0,0 +1,80 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001C000
/* 330910 E001C000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 330914 E001C004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 330918 E001C008 46006506 */ mov.s $f20, $f12
/* 33091C E001C00C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 330920 E001C010 46007586 */ mov.s $f22, $f14
/* 330924 E001C014 AFB1002C */ sw $s1, 0x2c($sp)
/* 330928 E001C018 00E0882D */ daddu $s1, $a3, $zero
/* 33092C E001C01C 27A40010 */ addiu $a0, $sp, 0x10
/* 330930 E001C020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 330934 E001C024 4486C000 */ mtc1 $a2, $f24
/* 330938 E001C028 3C02E002 */ lui $v0, %hi(D_E001C120)
/* 33093C E001C02C 2442C120 */ addiu $v0, $v0, %lo(D_E001C120)
/* 330940 E001C030 AFA20018 */ sw $v0, 0x18($sp)
/* 330944 E001C034 3C02E002 */ lui $v0, %hi(D_E001C128)
/* 330948 E001C038 2442C128 */ addiu $v0, $v0, %lo(D_E001C128)
/* 33094C E001C03C AFA2001C */ sw $v0, 0x1c($sp)
/* 330950 E001C040 3C02E002 */ lui $v0, %hi(D_E001C200)
/* 330954 E001C044 2442C200 */ addiu $v0, $v0, %lo(D_E001C200)
/* 330958 E001C048 AFA20020 */ sw $v0, 0x20($sp)
/* 33095C E001C04C 2402000E */ addiu $v0, $zero, 0xe
/* 330960 E001C050 AFBF0030 */ sw $ra, 0x30($sp)
/* 330964 E001C054 AFB00028 */ sw $s0, 0x28($sp)
/* 330968 E001C058 AFA00010 */ sw $zero, 0x10($sp)
/* 33096C E001C05C AFA00024 */ sw $zero, 0x24($sp)
/* 330970 E001C060 0C080124 */ jal func_E0200490
/* 330974 E001C064 AFA20014 */ sw $v0, 0x14($sp)
/* 330978 E001C068 2404002C */ addiu $a0, $zero, 0x2c
/* 33097C E001C06C 24030001 */ addiu $v1, $zero, 1
/* 330980 E001C070 0040802D */ daddu $s0, $v0, $zero
/* 330984 E001C074 0C08012C */ jal func_E02004B0
/* 330988 E001C078 AE030008 */ sw $v1, 8($s0)
/* 33098C E001C07C 14400003 */ bnez $v0, .LE001C08C
/* 330990 E001C080 AE02000C */ sw $v0, 0xc($s0)
.LE001C084:
/* 330994 E001C084 08007021 */ j .LE001C084
/* 330998 E001C088 00000000 */ nop
.LE001C08C:
/* 33099C E001C08C 3C04E002 */ lui $a0, %hi(D_E001C5E0)
/* 3309A0 E001C090 2484C5E0 */ addiu $a0, $a0, %lo(D_E001C5E0)
/* 3309A4 E001C094 3C014120 */ lui $at, 0x4120
/* 3309A8 E001C098 44812000 */ mtc1 $at, $f4
/* 3309AC E001C09C 3C01C040 */ lui $at, 0xc040
/* 3309B0 E001C0A0 44810000 */ mtc1 $at, $f0
/* 3309B4 E001C0A4 3C014040 */ lui $at, 0x4040
/* 3309B8 E001C0A8 44811000 */ mtc1 $at, $f2
/* 3309BC E001C0AC 8C830000 */ lw $v1, ($a0)
/* 3309C0 E001C0B0 E4540000 */ swc1 $f20, ($v0)
/* 3309C4 E001C0B4 E4560004 */ swc1 $f22, 4($v0)
/* 3309C8 E001C0B8 E4580008 */ swc1 $f24, 8($v0)
/* 3309CC E001C0BC AC40000C */ sw $zero, 0xc($v0)
/* 3309D0 E001C0C0 AC400014 */ sw $zero, 0x14($v0)
/* 3309D4 E001C0C4 AC400018 */ sw $zero, 0x18($v0)
/* 3309D8 E001C0C8 AC40001C */ sw $zero, 0x1c($v0)
/* 3309DC E001C0CC E4400010 */ swc1 $f0, 0x10($v0)
/* 3309E0 E001C0D0 10600004 */ beqz $v1, .LE001C0E4
/* 3309E4 E001C0D4 E4420020 */ swc1 $f2, 0x20($v0)
/* 3309E8 E001C0D8 3C01C120 */ lui $at, 0xc120
/* 3309EC E001C0DC 44812000 */ mtc1 $at, $f4
/* 3309F0 E001C0E0 00000000 */ nop
.LE001C0E4:
/* 3309F4 E001C0E4 E4440024 */ swc1 $f4, 0x24($v0)
/* 3309F8 E001C0E8 AC510028 */ sw $s1, 0x28($v0)
/* 3309FC E001C0EC 24620001 */ addiu $v0, $v1, 1
/* 330A00 E001C0F0 AC820000 */ sw $v0, ($a0)
/* 330A04 E001C0F4 28420002 */ slti $v0, $v0, 2
/* 330A08 E001C0F8 50400001 */ beql $v0, $zero, .LE001C100
/* 330A0C E001C0FC AC800000 */ sw $zero, ($a0)
.LE001C100:
/* 330A10 E001C100 8FBF0030 */ lw $ra, 0x30($sp)
/* 330A14 E001C104 8FB1002C */ lw $s1, 0x2c($sp)
/* 330A18 E001C108 8FB00028 */ lw $s0, 0x28($sp)
/* 330A1C E001C10C D7B80048 */ ldc1 $f24, 0x48($sp)
/* 330A20 E001C110 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 330A24 E001C114 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 330A28 E001C118 03E00008 */ jr $ra
/* 330A2C E001C11C 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001C120
/* 330A30 E001C120 03E00008 */ jr $ra
/* 330A34 E001C124 00000000 */ nop

View File

@ -0,0 +1,62 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001C128
/* 330A38 E001C128 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 330A3C E001C12C AFBF0010 */ sw $ra, 0x10($sp)
/* 330A40 E001C130 8C83000C */ lw $v1, 0xc($a0)
/* 330A44 E001C134 8C620028 */ lw $v0, 0x28($v1)
/* 330A48 E001C138 2442FFFF */ addiu $v0, $v0, -1
/* 330A4C E001C13C 04410005 */ bgez $v0, .LE001C154
/* 330A50 E001C140 AC620028 */ sw $v0, 0x28($v1)
/* 330A54 E001C144 0C080128 */ jal func_E02004A0
/* 330A58 E001C148 00000000 */ nop
/* 330A5C E001C14C 0800707D */ j .LE001C1F4
/* 330A60 E001C150 00000000 */ nop
.LE001C154:
/* 330A64 E001C154 C4680000 */ lwc1 $f8, ($v1)
/* 330A68 E001C158 C460000C */ lwc1 $f0, 0xc($v1)
/* 330A6C E001C15C C4660004 */ lwc1 $f6, 4($v1)
/* 330A70 E001C160 46004200 */ add.s $f8, $f8, $f0
/* 330A74 E001C164 C4600010 */ lwc1 $f0, 0x10($v1)
/* 330A78 E001C168 C4640018 */ lwc1 $f4, 0x18($v1)
/* 330A7C E001C16C 46003180 */ add.s $f6, $f6, $f0
/* 330A80 E001C170 C4600020 */ lwc1 $f0, 0x20($v1)
/* 330A84 E001C174 C4620014 */ lwc1 $f2, 0x14($v1)
/* 330A88 E001C178 46002100 */ add.s $f4, $f4, $f0
/* 330A8C E001C17C C4600008 */ lwc1 $f0, 8($v1)
/* 330A90 E001C180 3C014120 */ lui $at, 0x4120
/* 330A94 E001C184 44815000 */ mtc1 $at, $f10
/* 330A98 E001C188 46020000 */ add.s $f0, $f0, $f2
/* 330A9C E001C18C E4680000 */ swc1 $f8, ($v1)
/* 330AA0 E001C190 E4660004 */ swc1 $f6, 4($v1)
/* 330AA4 E001C194 460A203C */ c.lt.s $f4, $f10
/* 330AA8 E001C198 E4640018 */ swc1 $f4, 0x18($v1)
/* 330AAC E001C19C 45000005 */ bc1f .LE001C1B4
/* 330AB0 E001C1A0 E4600008 */ swc1 $f0, 8($v1)
/* 330AB4 E001C1A4 C4600020 */ lwc1 $f0, 0x20($v1)
/* 330AB8 E001C1A8 E46A0018 */ swc1 $f10, 0x18($v1)
/* 330ABC E001C1AC 46000007 */ neg.s $f0, $f0
/* 330AC0 E001C1B0 E4600020 */ swc1 $f0, 0x20($v1)
.LE001C1B4:
/* 330AC4 E001C1B4 C4600018 */ lwc1 $f0, 0x18($v1)
/* 330AC8 E001C1B8 3C014234 */ lui $at, 0x4234
/* 330ACC E001C1BC 44811000 */ mtc1 $at, $f2
/* 330AD0 E001C1C0 00000000 */ nop
/* 330AD4 E001C1C4 4600103C */ c.lt.s $f2, $f0
/* 330AD8 E001C1C8 00000000 */ nop
/* 330ADC E001C1CC 45000005 */ bc1f .LE001C1E4
/* 330AE0 E001C1D0 00000000 */ nop
/* 330AE4 E001C1D4 C4600020 */ lwc1 $f0, 0x20($v1)
/* 330AE8 E001C1D8 E4620018 */ swc1 $f2, 0x18($v1)
/* 330AEC E001C1DC 46000007 */ neg.s $f0, $f0
/* 330AF0 E001C1E0 E4600020 */ swc1 $f0, 0x20($v1)
.LE001C1E4:
/* 330AF4 E001C1E4 C460001C */ lwc1 $f0, 0x1c($v1)
/* 330AF8 E001C1E8 C4620024 */ lwc1 $f2, 0x24($v1)
/* 330AFC E001C1EC 46020000 */ add.s $f0, $f0, $f2
/* 330B00 E001C1F0 E460001C */ swc1 $f0, 0x1c($v1)
.LE001C1F4:
/* 330B04 E001C1F4 8FBF0010 */ lw $ra, 0x10($sp)
/* 330B08 E001C1F8 03E00008 */ jr $ra
/* 330B0C E001C1FC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,77 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001C200
/* 330B10 E001C200 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 330B14 E001C204 0080282D */ daddu $a1, $a0, $zero
/* 330B18 E001C208 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 330B1C E001C20C 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 330B20 E001C210 AFBF0020 */ sw $ra, 0x20($sp)
/* 330B24 E001C214 8CA2000C */ lw $v0, 0xc($a1)
/* 330B28 E001C218 C4640028 */ lwc1 $f4, 0x28($v1)
/* 330B2C E001C21C C4420000 */ lwc1 $f2, ($v0)
/* 330B30 E001C220 46041001 */ sub.s $f0, $f2, $f4
/* 330B34 E001C224 3C014348 */ lui $at, 0x4348
/* 330B38 E001C228 44813000 */ mtc1 $at, $f6
/* 330B3C E001C22C 00000000 */ nop
/* 330B40 E001C230 4600303C */ c.lt.s $f6, $f0
/* 330B44 E001C234 00000000 */ nop
/* 330B48 E001C238 45000005 */ bc1f .LE001C250
/* 330B4C E001C23C 27A40010 */ addiu $a0, $sp, 0x10
/* 330B50 E001C240 3C0143C8 */ lui $at, 0x43c8
/* 330B54 E001C244 44810000 */ mtc1 $at, $f0
/* 330B58 E001C248 0800709D */ j .LE001C274
/* 330B5C E001C24C 46001001 */ sub.s $f0, $f2, $f0
.LE001C250:
/* 330B60 E001C250 46022001 */ sub.s $f0, $f4, $f2
/* 330B64 E001C254 4600303C */ c.lt.s $f6, $f0
/* 330B68 E001C258 00000000 */ nop
/* 330B6C E001C25C 45000006 */ bc1f .LE001C278
/* 330B70 E001C260 00000000 */ nop
/* 330B74 E001C264 3C0143C8 */ lui $at, 0x43c8
/* 330B78 E001C268 44810000 */ mtc1 $at, $f0
/* 330B7C E001C26C 00000000 */ nop
/* 330B80 E001C270 46001000 */ add.s $f0, $f2, $f0
.LE001C274:
/* 330B84 E001C274 E4400000 */ swc1 $f0, ($v0)
.LE001C278:
/* 330B88 E001C278 C4420008 */ lwc1 $f2, 8($v0)
/* 330B8C E001C27C C4640030 */ lwc1 $f4, 0x30($v1)
/* 330B90 E001C280 46041001 */ sub.s $f0, $f2, $f4
/* 330B94 E001C284 3C014348 */ lui $at, 0x4348
/* 330B98 E001C288 44813000 */ mtc1 $at, $f6
/* 330B9C E001C28C 00000000 */ nop
/* 330BA0 E001C290 4600303C */ c.lt.s $f6, $f0
/* 330BA4 E001C294 00000000 */ nop
/* 330BA8 E001C298 45020005 */ bc1fl .LE001C2B0
/* 330BAC E001C29C 46022001 */ sub.s $f0, $f4, $f2
/* 330BB0 E001C2A0 3C0143C8 */ lui $at, 0x43c8
/* 330BB4 E001C2A4 44810000 */ mtc1 $at, $f0
/* 330BB8 E001C2A8 080070B4 */ j .LE001C2D0
/* 330BBC E001C2AC 46001001 */ sub.s $f0, $f2, $f0
.LE001C2B0:
/* 330BC0 E001C2B0 4600303C */ c.lt.s $f6, $f0
/* 330BC4 E001C2B4 00000000 */ nop
/* 330BC8 E001C2B8 45000006 */ bc1f .LE001C2D4
/* 330BCC E001C2BC 00000000 */ nop
/* 330BD0 E001C2C0 3C0143C8 */ lui $at, 0x43c8
/* 330BD4 E001C2C4 44810000 */ mtc1 $at, $f0
/* 330BD8 E001C2C8 00000000 */ nop
/* 330BDC E001C2CC 46001000 */ add.s $f0, $f2, $f0
.LE001C2D0:
/* 330BE0 E001C2D0 E4400008 */ swc1 $f0, 8($v0)
.LE001C2D4:
/* 330BE4 E001C2D4 3C02E002 */ lui $v0, %hi(D_E001C30C)
/* 330BE8 E001C2D8 2442C30C */ addiu $v0, $v0, %lo(D_E001C30C)
/* 330BEC E001C2DC AC82000C */ sw $v0, 0xc($a0)
/* 330BF0 E001C2E0 2402002D */ addiu $v0, $zero, 0x2d
/* 330BF4 E001C2E4 AC850008 */ sw $a1, 8($a0)
/* 330BF8 E001C2E8 AC800004 */ sw $zero, 4($a0)
/* 330BFC E001C2EC 0C080120 */ jal func_E0200480
/* 330C00 E001C2F0 AC820000 */ sw $v0, ($a0)
/* 330C04 E001C2F4 8C430000 */ lw $v1, ($v0)
/* 330C08 E001C2F8 34630002 */ ori $v1, $v1, 2
/* 330C0C E001C2FC AC430000 */ sw $v1, ($v0)
/* 330C10 E001C300 8FBF0020 */ lw $ra, 0x20($sp)
/* 330C14 E001C304 03E00008 */ jr $ra
/* 330C18 E001C308 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,185 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E001C30C
/* 330C1C E001C30C 27BDFE70 */ addiu $sp, $sp, -0x190
/* 330C20 E001C310 0080302D */ daddu $a2, $a0, $zero
/* 330C24 E001C314 3C07DB06 */ lui $a3, 0xdb06
/* 330C28 E001C318 34E70024 */ ori $a3, $a3, 0x24
/* 330C2C E001C31C 27A40018 */ addiu $a0, $sp, 0x18
/* 330C30 E001C320 AFB70174 */ sw $s7, 0x174($sp)
/* 330C34 E001C324 3C170001 */ lui $s7, 1
/* 330C38 E001C328 AFB1015C */ sw $s1, 0x15c($sp)
/* 330C3C E001C32C 3C11800A */ lui $s1, %hi(D_8009A66C)
/* 330C40 E001C330 2631A66C */ addiu $s1, $s1, %lo(D_8009A66C)
/* 330C44 E001C334 AFBF017C */ sw $ra, 0x17c($sp)
/* 330C48 E001C338 AFBE0178 */ sw $fp, 0x178($sp)
/* 330C4C E001C33C AFB60170 */ sw $s6, 0x170($sp)
/* 330C50 E001C340 AFB5016C */ sw $s5, 0x16c($sp)
/* 330C54 E001C344 AFB40168 */ sw $s4, 0x168($sp)
/* 330C58 E001C348 AFB30164 */ sw $s3, 0x164($sp)
/* 330C5C E001C34C AFB20160 */ sw $s2, 0x160($sp)
/* 330C60 E001C350 AFB00158 */ sw $s0, 0x158($sp)
/* 330C64 E001C354 F7B60188 */ sdc1 $f22, 0x188($sp)
/* 330C68 E001C358 F7B40180 */ sdc1 $f20, 0x180($sp)
/* 330C6C E001C35C 8E230000 */ lw $v1, ($s1)
/* 330C70 E001C360 36F71630 */ ori $s7, $s7, 0x1630
/* 330C74 E001C364 0060282D */ daddu $a1, $v1, $zero
/* 330C78 E001C368 24630008 */ addiu $v1, $v1, 8
/* 330C7C E001C36C AE230000 */ sw $v1, ($s1)
/* 330C80 E001C370 8CD6000C */ lw $s6, 0xc($a2)
/* 330C84 E001C374 3C02E700 */ lui $v0, 0xe700
/* 330C88 E001C378 ACA20000 */ sw $v0, ($a1)
/* 330C8C E001C37C ACA00004 */ sw $zero, 4($a1)
/* 330C90 E001C380 AC670000 */ sw $a3, ($v1)
/* 330C94 E001C384 8CC50010 */ lw $a1, 0x10($a2)
/* 330C98 E001C388 24620008 */ addiu $v0, $v1, 8
/* 330C9C E001C38C AE220000 */ sw $v0, ($s1)
/* 330CA0 E001C390 3C020900 */ lui $v0, 0x900
/* 330CA4 E001C394 24420900 */ addiu $v0, $v0, 0x900
/* 330CA8 E001C398 8CA5001C */ lw $a1, 0x1c($a1)
/* 330CAC E001C39C 3C0ADE00 */ lui $t2, 0xde00
/* 330CB0 E001C3A0 AC62000C */ sw $v0, 0xc($v1)
/* 330CB4 E001C3A4 3C028000 */ lui $v0, 0x8000
/* 330CB8 E001C3A8 AC6A0008 */ sw $t2, 8($v1)
/* 330CBC E001C3AC 00A22821 */ addu $a1, $a1, $v0
/* 330CC0 E001C3B0 AC650004 */ sw $a1, 4($v1)
/* 330CC4 E001C3B4 8EC50000 */ lw $a1, ($s6)
/* 330CC8 E001C3B8 8EC60004 */ lw $a2, 4($s6)
/* 330CCC E001C3BC 8EC70008 */ lw $a3, 8($s6)
/* 330CD0 E001C3C0 24630010 */ addiu $v1, $v1, 0x10
/* 330CD4 E001C3C4 0C080108 */ jal func_E0200420
/* 330CD8 E001C3C8 AE230000 */ sw $v1, ($s1)
/* 330CDC E001C3CC 27B000D8 */ addiu $s0, $sp, 0xd8
/* 330CE0 E001C3D0 4480A000 */ mtc1 $zero, $f20
/* 330CE4 E001C3D4 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 330CE8 E001C3D8 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 330CEC E001C3DC 3C013F80 */ lui $at, 0x3f80
/* 330CF0 E001C3E0 4481B000 */ mtc1 $at, $f22
/* 330CF4 E001C3E4 00031080 */ sll $v0, $v1, 2
/* 330CF8 E001C3E8 00431021 */ addu $v0, $v0, $v1
/* 330CFC E001C3EC 00021080 */ sll $v0, $v0, 2
/* 330D00 E001C3F0 00431023 */ subu $v0, $v0, $v1
/* 330D04 E001C3F4 000218C0 */ sll $v1, $v0, 3
/* 330D08 E001C3F8 00431021 */ addu $v0, $v0, $v1
/* 330D0C E001C3FC 000210C0 */ sll $v0, $v0, 3
/* 330D10 E001C400 4406A000 */ mfc1 $a2, $f20
/* 330D14 E001C404 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 330D18 E001C408 00220821 */ addu $at, $at, $v0
/* 330D1C E001C40C C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 330D20 E001C410 4407B000 */ mfc1 $a3, $f22
/* 330D24 E001C414 46000007 */ neg.s $f0, $f0
/* 330D28 E001C418 44050000 */ mfc1 $a1, $f0
/* 330D2C E001C41C 0200202D */ daddu $a0, $s0, $zero
/* 330D30 E001C420 0C080104 */ jal func_E0200410
/* 330D34 E001C424 E7B40010 */ swc1 $f20, 0x10($sp)
/* 330D38 E001C428 0200202D */ daddu $a0, $s0, $zero
/* 330D3C E001C42C 27A50018 */ addiu $a1, $sp, 0x18
/* 330D40 E001C430 27B40118 */ addiu $s4, $sp, 0x118
/* 330D44 E001C434 0C080114 */ jal func_E0200450
/* 330D48 E001C438 0280302D */ daddu $a2, $s4, $zero
/* 330D4C E001C43C 0280202D */ daddu $a0, $s4, $zero
/* 330D50 E001C440 3C128007 */ lui $s2, %hi(D_800741F0)
/* 330D54 E001C444 265241F0 */ addiu $s2, $s2, %lo(D_800741F0)
/* 330D58 E001C448 3C15800A */ lui $s5, %hi(D_8009A674)
/* 330D5C E001C44C 26B5A674 */ addiu $s5, $s5, %lo(D_8009A674)
/* 330D60 E001C450 96450000 */ lhu $a1, ($s2)
/* 330D64 E001C454 8EA20000 */ lw $v0, ($s5)
/* 330D68 E001C458 00052980 */ sll $a1, $a1, 6
/* 330D6C E001C45C 00B72821 */ addu $a1, $a1, $s7
/* 330D70 E001C460 0C080118 */ jal func_E0200460
/* 330D74 E001C464 00452821 */ addu $a1, $v0, $a1
/* 330D78 E001C468 3C1EDA38 */ lui $fp, 0xda38
/* 330D7C E001C46C 27B30058 */ addiu $s3, $sp, 0x58
/* 330D80 E001C470 8E280000 */ lw $t0, ($s1)
/* 330D84 E001C474 4406B000 */ mfc1 $a2, $f22
/* 330D88 E001C478 4407A000 */ mfc1 $a3, $f20
/* 330D8C E001C47C 96490000 */ lhu $t1, ($s2)
/* 330D90 E001C480 0100202D */ daddu $a0, $t0, $zero
/* 330D94 E001C484 25080008 */ addiu $t0, $t0, 8
/* 330D98 E001C488 3122FFFF */ andi $v0, $t1, 0xffff
/* 330D9C E001C48C 00021180 */ sll $v0, $v0, 6
/* 330DA0 E001C490 00571021 */ addu $v0, $v0, $s7
/* 330DA4 E001C494 AC9E0000 */ sw $fp, ($a0)
/* 330DA8 E001C498 8EA30000 */ lw $v1, ($s5)
/* 330DAC E001C49C 25290001 */ addiu $t1, $t1, 1
/* 330DB0 E001C4A0 00621821 */ addu $v1, $v1, $v0
/* 330DB4 E001C4A4 3C02FA00 */ lui $v0, 0xfa00
/* 330DB8 E001C4A8 AC830004 */ sw $v1, 4($a0)
/* 330DBC E001C4AC AD020000 */ sw $v0, ($t0)
/* 330DC0 E001C4B0 240200FF */ addiu $v0, $zero, 0xff
/* 330DC4 E001C4B4 AD020004 */ sw $v0, 4($t0)
/* 330DC8 E001C4B8 E7B40010 */ swc1 $f20, 0x10($sp)
/* 330DCC E001C4BC 8EC50018 */ lw $a1, 0x18($s6)
/* 330DD0 E001C4C0 0260202D */ daddu $a0, $s3, $zero
/* 330DD4 E001C4C4 AE280000 */ sw $t0, ($s1)
/* 330DD8 E001C4C8 25080008 */ addiu $t0, $t0, 8
/* 330DDC E001C4CC A6490000 */ sh $t1, ($s2)
/* 330DE0 E001C4D0 0C080104 */ jal func_E0200410
/* 330DE4 E001C4D4 AE280000 */ sw $t0, ($s1)
/* 330DE8 E001C4D8 27B00098 */ addiu $s0, $sp, 0x98
/* 330DEC E001C4DC E7B40010 */ swc1 $f20, 0x10($sp)
/* 330DF0 E001C4E0 8EC5001C */ lw $a1, 0x1c($s6)
/* 330DF4 E001C4E4 4406A000 */ mfc1 $a2, $f20
/* 330DF8 E001C4E8 4407B000 */ mfc1 $a3, $f22
/* 330DFC E001C4EC 0C080104 */ jal func_E0200410
/* 330E00 E001C4F0 0200202D */ daddu $a0, $s0, $zero
/* 330E04 E001C4F4 0260202D */ daddu $a0, $s3, $zero
/* 330E08 E001C4F8 0200282D */ daddu $a1, $s0, $zero
/* 330E0C E001C4FC 0C080114 */ jal func_E0200450
/* 330E10 E001C500 0280302D */ daddu $a2, $s4, $zero
/* 330E14 E001C504 0280202D */ daddu $a0, $s4, $zero
/* 330E18 E001C508 96450000 */ lhu $a1, ($s2)
/* 330E1C E001C50C 8EA20000 */ lw $v0, ($s5)
/* 330E20 E001C510 00052980 */ sll $a1, $a1, 6
/* 330E24 E001C514 00B72821 */ addu $a1, $a1, $s7
/* 330E28 E001C518 0C080118 */ jal func_E0200460
/* 330E2C E001C51C 00452821 */ addu $a1, $v0, $a1
/* 330E30 E001C520 3C06D838 */ lui $a2, 0xd838
/* 330E34 E001C524 34C60002 */ ori $a2, $a2, 2
/* 330E38 E001C528 8E240000 */ lw $a0, ($s1)
/* 330E3C E001C52C 96420000 */ lhu $v0, ($s2)
/* 330E40 E001C530 0080282D */ daddu $a1, $a0, $zero
/* 330E44 E001C534 24840008 */ addiu $a0, $a0, 8
/* 330E48 E001C538 24430001 */ addiu $v1, $v0, 1
/* 330E4C E001C53C 3042FFFF */ andi $v0, $v0, 0xffff
/* 330E50 E001C540 00021180 */ sll $v0, $v0, 6
/* 330E54 E001C544 AE240000 */ sw $a0, ($s1)
/* 330E58 E001C548 ACBE0000 */ sw $fp, ($a1)
/* 330E5C E001C54C A6430000 */ sh $v1, ($s2)
/* 330E60 E001C550 8EA30000 */ lw $v1, ($s5)
/* 330E64 E001C554 00571021 */ addu $v0, $v0, $s7
/* 330E68 E001C558 00621821 */ addu $v1, $v1, $v0
/* 330E6C E001C55C 24820008 */ addiu $v0, $a0, 8
/* 330E70 E001C560 ACA30004 */ sw $v1, 4($a1)
/* 330E74 E001C564 3C0ADE00 */ lui $t2, 0xde00
/* 330E78 E001C568 AE220000 */ sw $v0, ($s1)
/* 330E7C E001C56C 3C020900 */ lui $v0, 0x900
/* 330E80 E001C570 244209E8 */ addiu $v0, $v0, 0x9e8
/* 330E84 E001C574 AC820004 */ sw $v0, 4($a0)
/* 330E88 E001C578 24820010 */ addiu $v0, $a0, 0x10
/* 330E8C E001C57C 24030040 */ addiu $v1, $zero, 0x40
/* 330E90 E001C580 AC8A0000 */ sw $t2, ($a0)
/* 330E94 E001C584 AE220000 */ sw $v0, ($s1)
/* 330E98 E001C588 24820018 */ addiu $v0, $a0, 0x18
/* 330E9C E001C58C AC860008 */ sw $a2, 8($a0)
/* 330EA0 E001C590 AC83000C */ sw $v1, 0xc($a0)
/* 330EA4 E001C594 AE220000 */ sw $v0, ($s1)
/* 330EA8 E001C598 AC860010 */ sw $a2, 0x10($a0)
/* 330EAC E001C59C AC830014 */ sw $v1, 0x14($a0)
/* 330EB0 E001C5A0 8FBF017C */ lw $ra, 0x17c($sp)
/* 330EB4 E001C5A4 8FBE0178 */ lw $fp, 0x178($sp)
/* 330EB8 E001C5A8 8FB70174 */ lw $s7, 0x174($sp)
/* 330EBC E001C5AC 8FB60170 */ lw $s6, 0x170($sp)
/* 330EC0 E001C5B0 8FB5016C */ lw $s5, 0x16c($sp)
/* 330EC4 E001C5B4 8FB40168 */ lw $s4, 0x168($sp)
/* 330EC8 E001C5B8 8FB30164 */ lw $s3, 0x164($sp)
/* 330ECC E001C5BC 8FB20160 */ lw $s2, 0x160($sp)
/* 330ED0 E001C5C0 8FB1015C */ lw $s1, 0x15c($sp)
/* 330ED4 E001C5C4 8FB00158 */ lw $s0, 0x158($sp)
/* 330ED8 E001C5C8 D7B60188 */ ldc1 $f22, 0x188($sp)
/* 330EDC E001C5CC D7B40180 */ ldc1 $f20, 0x180($sp)
/* 330EE0 E001C5D0 03E00008 */ jr $ra
/* 330EE4 E001C5D4 27BD0190 */ addiu $sp, $sp, 0x190
/* 330EE8 E001C5D8 00000000 */ nop
/* 330EEC E001C5DC 00000000 */ nop

View File

@ -0,0 +1,280 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0038000
/* 34DD20 E0038000 27BDFF38 */ addiu $sp, $sp, -0xc8
/* 34DD24 E0038004 F7BE00C0 */ sdc1 $f30, 0xc0($sp)
/* 34DD28 E0038008 4485F000 */ mtc1 $a1, $f30
/* 34DD2C E003800C F7B600A0 */ sdc1 $f22, 0xa0($sp)
/* 34DD30 E0038010 4480B000 */ mtc1 $zero, $f22
/* 34DD34 E0038014 3C013F80 */ lui $at, 0x3f80
/* 34DD38 E0038018 44816000 */ mtc1 $at, $f12
/* 34DD3C E003801C F7B800A8 */ sdc1 $f24, 0xa8($sp)
/* 34DD40 E0038020 3C01BF80 */ lui $at, 0xbf80
/* 34DD44 E0038024 4481C000 */ mtc1 $at, $f24
/* 34DD48 E0038028 AFBF0094 */ sw $ra, 0x94($sp)
/* 34DD4C E003802C AFBE0090 */ sw $fp, 0x90($sp)
/* 34DD50 E0038030 AFB7008C */ sw $s7, 0x8c($sp)
/* 34DD54 E0038034 AFB60088 */ sw $s6, 0x88($sp)
/* 34DD58 E0038038 AFB50084 */ sw $s5, 0x84($sp)
/* 34DD5C E003803C AFB40080 */ sw $s4, 0x80($sp)
/* 34DD60 E0038040 AFB3007C */ sw $s3, 0x7c($sp)
/* 34DD64 E0038044 AFB20078 */ sw $s2, 0x78($sp)
/* 34DD68 E0038048 AFB10074 */ sw $s1, 0x74($sp)
/* 34DD6C E003804C AFB00070 */ sw $s0, 0x70($sp)
/* 34DD70 E0038050 F7BC00B8 */ sdc1 $f28, 0xb8($sp)
/* 34DD74 E0038054 F7BA00B0 */ sdc1 $f26, 0xb0($sp)
/* 34DD78 E0038058 F7B40098 */ sdc1 $f20, 0x98($sp)
/* 34DD7C E003805C AFA400C8 */ sw $a0, 0xc8($sp)
/* 34DD80 E0038060 AFA600D0 */ sw $a2, 0xd0($sp)
/* 34DD84 E0038064 AFA700D4 */ sw $a3, 0xd4($sp)
/* 34DD88 E0038068 0C080154 */ jal func_E0200550
/* 34DD8C E003806C 46006706 */ mov.s $f28, $f12
/* 34DD90 E0038070 4600C303 */ div.s $f12, $f24, $f0
/* 34DD94 E0038074 46166682 */ mul.s $f26, $f12, $f22
/* 34DD98 E0038078 00000000 */ nop
/* 34DD9C E003807C 4600B506 */ mov.s $f20, $f22
/* 34DDA0 E0038080 27B00018 */ addiu $s0, $sp, 0x18
/* 34DDA4 E0038084 24150005 */ addiu $s5, $zero, 5
/* 34DDA8 E0038088 4600D586 */ mov.s $f22, $f26
/* 34DDAC E003808C 4614B032 */ c.eq.s $f22, $f20
/* 34DDB0 E0038090 00000000 */ nop
/* 34DDB4 E0038094 45010005 */ bc1t .LE00380AC
/* 34DDB8 E0038098 46006607 */ neg.s $f24, $f12
/* 34DDBC E003809C 46166003 */ div.s $f0, $f12, $f22
/* 34DDC0 E00380A0 4600E086 */ mov.s $f2, $f28
/* 34DDC4 E00380A4 0800E036 */ j .LE00380D8
/* 34DDC8 E00380A8 4600A106 */ mov.s $f4, $f20
.LE00380AC:
/* 34DDCC E00380AC 4614C032 */ c.eq.s $f24, $f20
/* 34DDD0 E00380B0 00000000 */ nop
/* 34DDD4 E00380B4 45010005 */ bc1t .LE00380CC
/* 34DDD8 E00380B8 4600B007 */ neg.s $f0, $f22
/* 34DDDC E00380BC 46180083 */ div.s $f2, $f0, $f24
/* 34DDE0 E00380C0 4600E006 */ mov.s $f0, $f28
/* 34DDE4 E00380C4 0800E036 */ j .LE00380D8
/* 34DDE8 E00380C8 4600A106 */ mov.s $f4, $f20
.LE00380CC:
/* 34DDEC E00380CC 46160103 */ div.s $f4, $f0, $f22
/* 34DDF0 E00380D0 4600A086 */ mov.s $f2, $f20
/* 34DDF4 E00380D4 4600E006 */ mov.s $f0, $f28
.LE00380D8:
/* 34DDF8 E00380D8 46000002 */ mul.s $f0, $f0, $f0
/* 34DDFC E00380DC 00000000 */ nop
/* 34DE00 E00380E0 46021082 */ mul.s $f2, $f2, $f2
/* 34DE04 E00380E4 00000000 */ nop
/* 34DE08 E00380E8 46042102 */ mul.s $f4, $f4, $f4
/* 34DE0C E00380EC 00000000 */ nop
/* 34DE10 E00380F0 46020000 */ add.s $f0, $f0, $f2
/* 34DE14 E00380F4 46040300 */ add.s $f12, $f0, $f4
/* 34DE18 E00380F8 44800000 */ mtc1 $zero, $f0
/* 34DE1C E00380FC 00000000 */ nop
/* 34DE20 E0038100 46006032 */ c.eq.s $f12, $f0
/* 34DE24 E0038104 00000000 */ nop
/* 34DE28 E0038108 450100B2 */ bc1t .LE00383D4
/* 34DE2C E003810C 00000000 */ nop
/* 34DE30 E0038110 0C080154 */ jal func_E0200550
/* 34DE34 E0038114 00000000 */ nop
/* 34DE38 E0038118 0200202D */ daddu $a0, $s0, $zero
/* 34DE3C E003811C 3C014190 */ lui $at, 0x4190
/* 34DE40 E0038120 44810000 */ mtc1 $at, $f0
/* 34DE44 E0038124 3C02E004 */ lui $v0, %hi(D_E003841C)
/* 34DE48 E0038128 2442841C */ addiu $v0, $v0, %lo(D_E003841C)
/* 34DE4C E003812C AC820008 */ sw $v0, 8($a0)
/* 34DE50 E0038130 4600D682 */ mul.s $f26, $f26, $f0
/* 34DE54 E0038134 00000000 */ nop
/* 34DE58 E0038138 3C02E004 */ lui $v0, %hi(D_E0038424)
/* 34DE5C E003813C 24428424 */ addiu $v0, $v0, %lo(D_E0038424)
/* 34DE60 E0038140 AC82000C */ sw $v0, 0xc($a0)
/* 34DE64 E0038144 3C02E004 */ lui $v0, %hi(D_E0038704)
/* 34DE68 E0038148 24428704 */ addiu $v0, $v0, %lo(D_E0038704)
/* 34DE6C E003814C AC820010 */ sw $v0, 0x10($a0)
/* 34DE70 E0038150 4600C602 */ mul.s $f24, $f24, $f0
/* 34DE74 E0038154 00000000 */ nop
/* 34DE78 E0038158 2402001C */ addiu $v0, $zero, 0x1c
/* 34DE7C E003815C AC800000 */ sw $zero, ($a0)
/* 34DE80 E0038160 AC800014 */ sw $zero, 0x14($a0)
/* 34DE84 E0038164 4600B582 */ mul.s $f22, $f22, $f0
/* 34DE88 E0038168 00000000 */ nop
/* 34DE8C E003816C 0C080124 */ jal func_E0200490
/* 34DE90 E0038170 AC820004 */ sw $v0, 4($a0)
/* 34DE94 E0038174 00152040 */ sll $a0, $s5, 1
/* 34DE98 E0038178 00952021 */ addu $a0, $a0, $s5
/* 34DE9C E003817C 00042100 */ sll $a0, $a0, 4
/* 34DEA0 E0038180 0040802D */ daddu $s0, $v0, $zero
/* 34DEA4 E0038184 0C08012C */ jal func_E02004B0
/* 34DEA8 E0038188 AE150008 */ sw $s5, 8($s0)
/* 34DEAC E003818C 0040902D */ daddu $s2, $v0, $zero
/* 34DEB0 E0038190 16400003 */ bnez $s2, .LE00381A0
/* 34DEB4 E0038194 AE12000C */ sw $s2, 0xc($s0)
.LE0038198:
/* 34DEB8 E0038198 0800E066 */ j .LE0038198
/* 34DEBC E003819C 00000000 */ nop
.LE00381A0:
/* 34DEC0 E00381A0 12A0008C */ beqz $s5, .LE00383D4
/* 34DEC4 E00381A4 0000A02D */ daddu $s4, $zero, $zero
/* 34DEC8 E00381A8 3C17800B */ lui $s7, %hi(gCameras)
/* 34DECC E00381AC 26F71D80 */ addiu $s7, $s7, %lo(gCameras)
/* 34DED0 E00381B0 3C168007 */ lui $s6, %hi(gCurrentCameraID)
/* 34DED4 E00381B4 26D67410 */ addiu $s6, $s6, %lo(gCurrentCameraID)
/* 34DED8 E00381B8 27BE0030 */ addiu $fp, $sp, 0x30
/* 34DEDC E00381BC 26B3FFFF */ addiu $s3, $s5, -1
/* 34DEE0 E00381C0 3C01E004 */ lui $at, %hi(D_E0038A20)
/* 34DEE4 E00381C4 D43C8A20 */ ldc1 $f28, %lo(D_E0038A20)($at)
/* 34DEE8 E00381C8 26500024 */ addiu $s0, $s2, 0x24
/* 34DEEC E00381CC 0280882D */ daddu $s1, $s4, $zero
.LE00381D0:
/* 34DEF0 E00381D0 8EC30000 */ lw $v1, ($s6)
/* 34DEF4 E00381D4 8FA800C8 */ lw $t0, 0xc8($sp)
/* 34DEF8 E00381D8 00031080 */ sll $v0, $v1, 2
/* 34DEFC E00381DC 00431021 */ addu $v0, $v0, $v1
/* 34DF00 E00381E0 00021080 */ sll $v0, $v0, 2
/* 34DF04 E00381E4 00431023 */ subu $v0, $v0, $v1
/* 34DF08 E00381E8 000218C0 */ sll $v1, $v0, 3
/* 34DF0C E00381EC 00431021 */ addu $v0, $v0, $v1
/* 34DF10 E00381F0 AE480000 */ sw $t0, ($s2)
/* 34DF14 E00381F4 E61EFFE0 */ swc1 $f30, -0x20($s0)
/* 34DF18 E00381F8 C7A600D0 */ lwc1 $f6, 0xd0($sp)
/* 34DF1C E00381FC 000210C0 */ sll $v0, $v0, 3
/* 34DF20 E0038200 E606FFE4 */ swc1 $f6, -0x1c($s0)
/* 34DF24 E0038204 C7A600D4 */ lwc1 $f6, 0xd4($sp)
/* 34DF28 E0038208 00571021 */ addu $v0, $v0, $s7
/* 34DF2C E003820C E606FFE8 */ swc1 $f6, -0x18($s0)
/* 34DF30 E0038210 0C080140 */ jal func_E0200500
/* 34DF34 E0038214 C44C006C */ lwc1 $f12, 0x6c($v0)
/* 34DF38 E0038218 8EC30000 */ lw $v1, ($s6)
/* 34DF3C E003821C 00031080 */ sll $v0, $v1, 2
/* 34DF40 E0038220 00431021 */ addu $v0, $v0, $v1
/* 34DF44 E0038224 00021080 */ sll $v0, $v0, 2
/* 34DF48 E0038228 00431023 */ subu $v0, $v0, $v1
/* 34DF4C E003822C 000218C0 */ sll $v1, $v0, 3
/* 34DF50 E0038230 00431021 */ addu $v0, $v0, $v1
/* 34DF54 E0038234 000210C0 */ sll $v0, $v0, 3
/* 34DF58 E0038238 00571021 */ addu $v0, $v0, $s7
/* 34DF5C E003823C C44C006C */ lwc1 $f12, 0x6c($v0)
/* 34DF60 E0038240 0C080144 */ jal func_E0200510
/* 34DF64 E0038244 46000506 */ mov.s $f20, $f0
/* 34DF68 E0038248 24020001 */ addiu $v0, $zero, 1
/* 34DF6C E003824C 12A20011 */ beq $s5, $v0, .LE0038294
/* 34DF70 E0038250 46000007 */ neg.s $f0, $f0
/* 34DF74 E0038254 16600002 */ bnez $s3, .LE0038260
/* 34DF78 E0038258 0233001A */ div $zero, $s1, $s3
/* 34DF7C E003825C 0007000D */ break 7
.LE0038260:
/* 34DF80 E0038260 2401FFFF */ addiu $at, $zero, -1
/* 34DF84 E0038264 16610004 */ bne $s3, $at, .LE0038278
/* 34DF88 E0038268 3C018000 */ lui $at, 0x8000
/* 34DF8C E003826C 16210002 */ bne $s1, $at, .LE0038278
/* 34DF90 E0038270 00000000 */ nop
/* 34DF94 E0038274 0006000D */ break 6
.LE0038278:
/* 34DF98 E0038278 00001012 */ mflo $v0
/* 34DF9C E003827C 2442FFCE */ addiu $v0, $v0, -0x32
/* 34DFA0 E0038280 44821000 */ mtc1 $v0, $f2
/* 34DFA4 E0038284 00000000 */ nop
/* 34DFA8 E0038288 468010A0 */ cvt.s.w $f2, $f2
/* 34DFAC E003828C 0800E0A7 */ j .LE003829C
/* 34DFB0 E0038290 03C0202D */ daddu $a0, $fp, $zero
.LE0038294:
/* 34DFB4 E0038294 44801000 */ mtc1 $zero, $f2
/* 34DFB8 E0038298 03C0202D */ daddu $a0, $fp, $zero
.LE003829C:
/* 34DFBC E003829C 44051000 */ mfc1 $a1, $f2
/* 34DFC0 E00382A0 4406A000 */ mfc1 $a2, $f20
/* 34DFC4 E00382A4 0000382D */ daddu $a3, $zero, $zero
/* 34DFC8 E00382A8 0C080104 */ jal func_E0200410
/* 34DFCC E00382AC E7A00010 */ swc1 $f0, 0x10($sp)
/* 34DFD0 E00382B0 16600002 */ bnez $s3, .LE00382BC
/* 34DFD4 E00382B4 0233001A */ div $zero, $s1, $s3
/* 34DFD8 E00382B8 0007000D */ break 7
.LE00382BC:
/* 34DFDC E00382BC 2401FFFF */ addiu $at, $zero, -1
/* 34DFE0 E00382C0 16610004 */ bne $s3, $at, .LE00382D4
/* 34DFE4 E00382C4 3C018000 */ lui $at, 0x8000
/* 34DFE8 E00382C8 16210002 */ bne $s1, $at, .LE00382D4
/* 34DFEC E00382CC 00000000 */ nop
/* 34DFF0 E00382D0 0006000D */ break 6
.LE00382D4:
/* 34DFF4 E00382D4 00001812 */ mflo $v1
/* 34DFF8 E00382D8 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 34DFFC E00382DC 461A0002 */ mul.s $f0, $f0, $f26
/* 34E000 E00382E0 00000000 */ nop
/* 34E004 E00382E4 C7A40040 */ lwc1 $f4, 0x40($sp)
/* 34E008 E00382E8 46182102 */ mul.s $f4, $f4, $f24
/* 34E00C E00382EC 00000000 */ nop
/* 34E010 E00382F0 C7A20050 */ lwc1 $f2, 0x50($sp)
/* 34E014 E00382F4 46161082 */ mul.s $f2, $f2, $f22
/* 34E018 E00382F8 00000000 */ nop
/* 34E01C E00382FC 46040000 */ add.s $f0, $f0, $f4
/* 34E020 E0038300 46020000 */ add.s $f0, $f0, $f2
/* 34E024 E0038304 46000021 */ cvt.d.s $f0, $f0
/* 34E028 E0038308 463C0002 */ mul.d $f0, $f0, $f28
/* 34E02C E003830C 00000000 */ nop
/* 34E030 E0038310 46200020 */ cvt.s.d $f0, $f0
/* 34E034 E0038314 E600FFEC */ swc1 $f0, -0x14($s0)
/* 34E038 E0038318 C7A00034 */ lwc1 $f0, 0x34($sp)
/* 34E03C E003831C 461A0002 */ mul.s $f0, $f0, $f26
/* 34E040 E0038320 00000000 */ nop
/* 34E044 E0038324 C7A40044 */ lwc1 $f4, 0x44($sp)
/* 34E048 E0038328 46182102 */ mul.s $f4, $f4, $f24
/* 34E04C E003832C 00000000 */ nop
/* 34E050 E0038330 C7A20054 */ lwc1 $f2, 0x54($sp)
/* 34E054 E0038334 46161082 */ mul.s $f2, $f2, $f22
/* 34E058 E0038338 00000000 */ nop
/* 34E05C E003833C 46040000 */ add.s $f0, $f0, $f4
/* 34E060 E0038340 46020000 */ add.s $f0, $f0, $f2
/* 34E064 E0038344 E600FFF0 */ swc1 $f0, -0x10($s0)
/* 34E068 E0038348 C7A00038 */ lwc1 $f0, 0x38($sp)
/* 34E06C E003834C 461A0002 */ mul.s $f0, $f0, $f26
/* 34E070 E0038350 00000000 */ nop
/* 34E074 E0038354 C7A20048 */ lwc1 $f2, 0x48($sp)
/* 34E078 E0038358 46181082 */ mul.s $f2, $f2, $f24
/* 34E07C E003835C 00000000 */ nop
/* 34E080 E0038360 C7A40058 */ lwc1 $f4, 0x58($sp)
/* 34E084 E0038364 46162102 */ mul.s $f4, $f4, $f22
/* 34E088 E0038368 00000000 */ nop
/* 34E08C E003836C 26940001 */ addiu $s4, $s4, 1
/* 34E090 E0038370 26520030 */ addiu $s2, $s2, 0x30
/* 34E094 E0038374 26310064 */ addiu $s1, $s1, 0x64
/* 34E098 E0038378 46020000 */ add.s $f0, $f0, $f2
/* 34E09C E003837C 24020032 */ addiu $v0, $zero, 0x32
/* 34E0A0 E0038380 3C013F00 */ lui $at, 0x3f00
/* 34E0A4 E0038384 44811000 */ mtc1 $at, $f2
/* 34E0A8 E0038388 46040000 */ add.s $f0, $f0, $f4
/* 34E0AC E003838C E602FFFC */ swc1 $f2, -4($s0)
/* 34E0B0 E0038390 8FA800D8 */ lw $t0, 0xd8($sp)
/* 34E0B4 E0038394 46000021 */ cvt.d.s $f0, $f0
/* 34E0B8 E0038398 463C0002 */ mul.d $f0, $f0, $f28
/* 34E0BC E003839C 00000000 */ nop
/* 34E0C0 E00383A0 AE000008 */ sw $zero, 8($s0)
/* 34E0C4 E00383A4 AE000000 */ sw $zero, ($s0)
/* 34E0C8 E00383A8 AE080004 */ sw $t0, 4($s0)
/* 34E0CC E00383AC 00431023 */ subu $v0, $v0, $v1
/* 34E0D0 E00383B0 44821000 */ mtc1 $v0, $f2
/* 34E0D4 E00383B4 00000000 */ nop
/* 34E0D8 E00383B8 468010A0 */ cvt.s.w $f2, $f2
/* 34E0DC E00383BC 0295102A */ slt $v0, $s4, $s5
/* 34E0E0 E00383C0 E602FFF8 */ swc1 $f2, -8($s0)
/* 34E0E4 E00383C4 46200020 */ cvt.s.d $f0, $f0
/* 34E0E8 E00383C8 E600FFF4 */ swc1 $f0, -0xc($s0)
/* 34E0EC E00383CC 1440FF80 */ bnez $v0, .LE00381D0
/* 34E0F0 E00383D0 26100030 */ addiu $s0, $s0, 0x30
.LE00383D4:
/* 34E0F4 E00383D4 8FBF0094 */ lw $ra, 0x94($sp)
/* 34E0F8 E00383D8 8FBE0090 */ lw $fp, 0x90($sp)
/* 34E0FC E00383DC 8FB7008C */ lw $s7, 0x8c($sp)
/* 34E100 E00383E0 8FB60088 */ lw $s6, 0x88($sp)
/* 34E104 E00383E4 8FB50084 */ lw $s5, 0x84($sp)
/* 34E108 E00383E8 8FB40080 */ lw $s4, 0x80($sp)
/* 34E10C E00383EC 8FB3007C */ lw $s3, 0x7c($sp)
/* 34E110 E00383F0 8FB20078 */ lw $s2, 0x78($sp)
/* 34E114 E00383F4 8FB10074 */ lw $s1, 0x74($sp)
/* 34E118 E00383F8 8FB00070 */ lw $s0, 0x70($sp)
/* 34E11C E00383FC D7BE00C0 */ ldc1 $f30, 0xc0($sp)
/* 34E120 E0038400 D7BC00B8 */ ldc1 $f28, 0xb8($sp)
/* 34E124 E0038404 D7BA00B0 */ ldc1 $f26, 0xb0($sp)
/* 34E128 E0038408 D7B800A8 */ ldc1 $f24, 0xa8($sp)
/* 34E12C E003840C D7B600A0 */ ldc1 $f22, 0xa0($sp)
/* 34E130 E0038410 D7B40098 */ ldc1 $f20, 0x98($sp)
/* 34E134 E0038414 03E00008 */ jr $ra
/* 34E138 E0038418 27BD00C8 */ addiu $sp, $sp, 0xc8

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E003841C
/* 34E13C E003841C 03E00008 */ jr $ra
/* 34E140 E0038420 00000000 */ nop

View File

@ -0,0 +1,193 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0038424
/* 34E144 E0038424 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 34E148 E0038428 AFB40020 */ sw $s4, 0x20($sp)
/* 34E14C E003842C 0080A02D */ daddu $s4, $a0, $zero
/* 34E150 E0038430 AFBF0028 */ sw $ra, 0x28($sp)
/* 34E154 E0038434 AFB50024 */ sw $s5, 0x24($sp)
/* 34E158 E0038438 AFB3001C */ sw $s3, 0x1c($sp)
/* 34E15C E003843C AFB20018 */ sw $s2, 0x18($sp)
/* 34E160 E0038440 AFB10014 */ sw $s1, 0x14($sp)
/* 34E164 E0038444 AFB00010 */ sw $s0, 0x10($sp)
/* 34E168 E0038448 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 34E16C E003844C F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 34E170 E0038450 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 34E174 E0038454 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 34E178 E0038458 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 34E17C E003845C 8E83000C */ lw $v1, 0xc($s4)
/* 34E180 E0038460 8C620028 */ lw $v0, 0x28($v1)
/* 34E184 E0038464 2442FFFF */ addiu $v0, $v0, -1
/* 34E188 E0038468 AC620028 */ sw $v0, 0x28($v1)
/* 34E18C E003846C 8C62002C */ lw $v0, 0x2c($v1)
/* 34E190 E0038470 8C640028 */ lw $a0, 0x28($v1)
/* 34E194 E0038474 24450001 */ addiu $a1, $v0, 1
/* 34E198 E0038478 04810005 */ bgez $a0, .LE0038490
/* 34E19C E003847C AC65002C */ sw $a1, 0x2c($v1)
/* 34E1A0 E0038480 0C080128 */ jal func_E02004A0
/* 34E1A4 E0038484 0280202D */ daddu $a0, $s4, $zero
/* 34E1A8 E0038488 0800E1B3 */ j .LE00386CC
/* 34E1AC E003848C 00000000 */ nop
.LE0038490:
/* 34E1B0 E0038490 0000882D */ daddu $s1, $zero, $zero
/* 34E1B4 E0038494 0080982D */ daddu $s3, $a0, $zero
/* 34E1B8 E0038498 8E820008 */ lw $v0, 8($s4)
/* 34E1BC E003849C 1840008B */ blez $v0, .LE00386CC
/* 34E1C0 E00384A0 00A0902D */ daddu $s2, $a1, $zero
/* 34E1C4 E00384A4 241500FF */ addiu $s5, $zero, 0xff
/* 34E1C8 E00384A8 2470000C */ addiu $s0, $v1, 0xc
/* 34E1CC E00384AC 3C01E004 */ lui $at, %hi(D_E0038A28)
/* 34E1D0 E00384B0 D4388A28 */ ldc1 $f24, %lo(D_E0038A28)($at)
/* 34E1D4 E00384B4 3C0141F0 */ lui $at, 0x41f0
/* 34E1D8 E00384B8 4481D000 */ mtc1 $at, $f26
/* 34E1DC E00384BC 3C014040 */ lui $at, 0x4040
/* 34E1E0 E00384C0 4481E000 */ mtc1 $at, $f28
/* 34E1E4 E00384C4 3C01E004 */ lui $at, %hi(D_E0038A30)
/* 34E1E8 E00384C8 D4368A30 */ ldc1 $f22, %lo(D_E0038A30)($at)
.LE00384CC:
/* 34E1EC E00384CC 2A620006 */ slti $v0, $s3, 6
/* 34E1F0 E00384D0 14400037 */ bnez $v0, .LE00385B0
/* 34E1F4 E00384D4 2A620005 */ slti $v0, $s3, 5
/* 34E1F8 E00384D8 C6020004 */ lwc1 $f2, 4($s0)
/* 34E1FC E00384DC 460010A1 */ cvt.d.s $f2, $f2
/* 34E200 E00384E0 46381082 */ mul.d $f2, $f2, $f24
/* 34E204 E00384E4 00000000 */ nop
/* 34E208 E00384E8 C6000008 */ lwc1 $f0, 8($s0)
/* 34E20C E00384EC 46000021 */ cvt.d.s $f0, $f0
/* 34E210 E00384F0 46380002 */ mul.d $f0, $f0, $f24
/* 34E214 E00384F4 00000000 */ nop
/* 34E218 E00384F8 C604000C */ lwc1 $f4, 0xc($s0)
/* 34E21C E00384FC 46002121 */ cvt.d.s $f4, $f4
/* 34E220 E0038500 46382102 */ mul.d $f4, $f4, $f24
/* 34E224 E0038504 00000000 */ nop
/* 34E228 E0038508 8E030018 */ lw $v1, 0x18($s0)
/* 34E22C E003850C 3C01E004 */ lui $at, %hi(D_E0038A38)
/* 34E230 E0038510 D4268A38 */ ldc1 $f6, %lo(D_E0038A38)($at)
/* 34E234 E0038514 02A31023 */ subu $v0, $s5, $v1
/* 34E238 E0038518 44824000 */ mtc1 $v0, $f8
/* 34E23C E003851C 00000000 */ nop
/* 34E240 E0038520 46804221 */ cvt.d.w $f8, $f8
/* 34E244 E0038524 46264202 */ mul.d $f8, $f8, $f6
/* 34E248 E0038528 00000000 */ nop
/* 34E24C E003852C 462010A0 */ cvt.s.d $f2, $f2
/* 34E250 E0038530 46200020 */ cvt.s.d $f0, $f0
/* 34E254 E0038534 E6000008 */ swc1 $f0, 8($s0)
/* 34E258 E0038538 44830000 */ mtc1 $v1, $f0
/* 34E25C E003853C 00000000 */ nop
/* 34E260 E0038540 46800021 */ cvt.d.w $f0, $f0
/* 34E264 E0038544 46202120 */ cvt.s.d $f4, $f4
/* 34E268 E0038548 46280000 */ add.d $f0, $f0, $f8
/* 34E26C E003854C E6020004 */ swc1 $f2, 4($s0)
/* 34E270 E0038550 E604000C */ swc1 $f4, 0xc($s0)
/* 34E274 E0038554 4620028D */ trunc.w.d $f10, $f0
/* 34E278 E0038558 44035000 */ mfc1 $v1, $f10
/* 34E27C E003855C 00000000 */ nop
/* 34E280 E0038560 000317C2 */ srl $v0, $v1, 0x1f
/* 34E284 E0038564 00621021 */ addu $v0, $v1, $v0
/* 34E288 E0038568 00021043 */ sra $v0, $v0, 1
/* 34E28C E003856C 44826000 */ mtc1 $v0, $f12
/* 34E290 E0038570 00000000 */ nop
/* 34E294 E0038574 46806320 */ cvt.s.w $f12, $f12
/* 34E298 E0038578 0C080140 */ jal func_E0200500
/* 34E29C E003857C AE030018 */ sw $v1, 0x18($s0)
/* 34E2A0 E0038580 44926000 */ mtc1 $s2, $f12
/* 34E2A4 E0038584 00000000 */ nop
/* 34E2A8 E0038588 46806320 */ cvt.s.w $f12, $f12
/* 34E2AC E003858C 461A6302 */ mul.s $f12, $f12, $f26
/* 34E2B0 E0038590 00000000 */ nop
/* 34E2B4 E0038594 0C080140 */ jal func_E0200500
/* 34E2B8 E0038598 46000506 */ mov.s $f20, $f0
/* 34E2BC E003859C 461CA502 */ mul.s $f20, $f20, $f28
/* 34E2C0 E00385A0 00000000 */ nop
/* 34E2C4 E00385A4 4600A500 */ add.s $f20, $f20, $f0
/* 34E2C8 E00385A8 E6140014 */ swc1 $f20, 0x14($s0)
/* 34E2CC E00385AC 2A620005 */ slti $v0, $s3, 5
.LE00385B0:
/* 34E2D0 E00385B0 10400035 */ beqz $v0, .LE0038688
/* 34E2D4 E00385B4 00000000 */ nop
/* 34E2D8 E00385B8 3C01E004 */ lui $at, %hi(D_E0038A40)
/* 34E2DC E00385BC D4208A40 */ ldc1 $f0, %lo(D_E0038A40)($at)
/* 34E2E0 E00385C0 C6060018 */ lwc1 $f6, 0x18($s0)
/* 34E2E4 E00385C4 468031A1 */ cvt.d.w $f6, $f6
/* 34E2E8 E00385C8 46203182 */ mul.d $f6, $f6, $f0
/* 34E2EC E00385CC 00000000 */ nop
/* 34E2F0 E00385D0 C6040004 */ lwc1 $f4, 4($s0)
/* 34E2F4 E00385D4 46002121 */ cvt.d.s $f4, $f4
/* 34E2F8 E00385D8 46362102 */ mul.d $f4, $f4, $f22
/* 34E2FC E00385DC 00000000 */ nop
/* 34E300 E00385E0 C602000C */ lwc1 $f2, 0xc($s0)
/* 34E304 E00385E4 460010A1 */ cvt.d.s $f2, $f2
/* 34E308 E00385E8 46361082 */ mul.d $f2, $f2, $f22
/* 34E30C E00385EC 00000000 */ nop
/* 34E310 E00385F0 C6000008 */ lwc1 $f0, 8($s0)
/* 34E314 E00385F4 46000021 */ cvt.d.s $f0, $f0
/* 34E318 E00385F8 46360002 */ mul.d $f0, $f0, $f22
/* 34E31C E00385FC 00000000 */ nop
/* 34E320 E0038600 4620328D */ trunc.w.d $f10, $f6
/* 34E324 E0038604 E60A0018 */ swc1 $f10, 0x18($s0)
/* 34E328 E0038608 46202120 */ cvt.s.d $f4, $f4
/* 34E32C E003860C 8E030018 */ lw $v1, 0x18($s0)
/* 34E330 E0038610 462010A0 */ cvt.s.d $f2, $f2
/* 34E334 E0038614 E6040004 */ swc1 $f4, 4($s0)
/* 34E338 E0038618 E602000C */ swc1 $f2, 0xc($s0)
/* 34E33C E003861C 46200020 */ cvt.s.d $f0, $f0
/* 34E340 E0038620 000317C2 */ srl $v0, $v1, 0x1f
/* 34E344 E0038624 00621821 */ addu $v1, $v1, $v0
/* 34E348 E0038628 00031843 */ sra $v1, $v1, 1
/* 34E34C E003862C 44836000 */ mtc1 $v1, $f12
/* 34E350 E0038630 00000000 */ nop
/* 34E354 E0038634 46806320 */ cvt.s.w $f12, $f12
/* 34E358 E0038638 0C080140 */ jal func_E0200500
/* 34E35C E003863C E6000008 */ swc1 $f0, 8($s0)
/* 34E360 E0038640 44926000 */ mtc1 $s2, $f12
/* 34E364 E0038644 00000000 */ nop
/* 34E368 E0038648 46806320 */ cvt.s.w $f12, $f12
/* 34E36C E003864C 461A6302 */ mul.s $f12, $f12, $f26
/* 34E370 E0038650 00000000 */ nop
/* 34E374 E0038654 0C080140 */ jal func_E0200500
/* 34E378 E0038658 46000506 */ mov.s $f20, $f0
/* 34E37C E003865C 461CA502 */ mul.s $f20, $f20, $f28
/* 34E380 E0038660 00000000 */ nop
/* 34E384 E0038664 8E020018 */ lw $v0, 0x18($s0)
/* 34E388 E0038668 02A21023 */ subu $v0, $s5, $v0
/* 34E38C E003866C 4600A500 */ add.s $f20, $f20, $f0
/* 34E390 E0038670 44820000 */ mtc1 $v0, $f0
/* 34E394 E0038674 00000000 */ nop
/* 34E398 E0038678 46800020 */ cvt.s.w $f0, $f0
/* 34E39C E003867C 461A0003 */ div.s $f0, $f0, $f26
/* 34E3A0 E0038680 4600A500 */ add.s $f20, $f20, $f0
/* 34E3A4 E0038684 E6140014 */ swc1 $f20, 0x14($s0)
.LE0038688:
/* 34E3A8 E0038688 C606FFF8 */ lwc1 $f6, -8($s0)
/* 34E3AC E003868C C6000004 */ lwc1 $f0, 4($s0)
/* 34E3B0 E0038690 C604FFFC */ lwc1 $f4, -4($s0)
/* 34E3B4 E0038694 46003180 */ add.s $f6, $f6, $f0
/* 34E3B8 E0038698 C6000008 */ lwc1 $f0, 8($s0)
/* 34E3BC E003869C C602000C */ lwc1 $f2, 0xc($s0)
/* 34E3C0 E00386A0 46002100 */ add.s $f4, $f4, $f0
/* 34E3C4 E00386A4 C6000000 */ lwc1 $f0, ($s0)
/* 34E3C8 E00386A8 26310001 */ addiu $s1, $s1, 1
/* 34E3CC E00386AC 46020000 */ add.s $f0, $f0, $f2
/* 34E3D0 E00386B0 E606FFF8 */ swc1 $f6, -8($s0)
/* 34E3D4 E00386B4 E604FFFC */ swc1 $f4, -4($s0)
/* 34E3D8 E00386B8 E6000000 */ swc1 $f0, ($s0)
/* 34E3DC E00386BC 8E820008 */ lw $v0, 8($s4)
/* 34E3E0 E00386C0 0222102A */ slt $v0, $s1, $v0
/* 34E3E4 E00386C4 1440FF81 */ bnez $v0, .LE00384CC
/* 34E3E8 E00386C8 26100030 */ addiu $s0, $s0, 0x30
.LE00386CC:
/* 34E3EC E00386CC 8FBF0028 */ lw $ra, 0x28($sp)
/* 34E3F0 E00386D0 8FB50024 */ lw $s5, 0x24($sp)
/* 34E3F4 E00386D4 8FB40020 */ lw $s4, 0x20($sp)
/* 34E3F8 E00386D8 8FB3001C */ lw $s3, 0x1c($sp)
/* 34E3FC E00386DC 8FB20018 */ lw $s2, 0x18($sp)
/* 34E400 E00386E0 8FB10014 */ lw $s1, 0x14($sp)
/* 34E404 E00386E4 8FB00010 */ lw $s0, 0x10($sp)
/* 34E408 E00386E8 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 34E40C E00386EC D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 34E410 E00386F0 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 34E414 E00386F4 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 34E418 E00386F8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 34E41C E00386FC 03E00008 */ jr $ra
/* 34E420 E0038700 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0038704
/* 34E424 E0038704 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 34E428 E0038708 3C02E004 */ lui $v0, %hi(D_E0038748)
/* 34E42C E003870C 24428748 */ addiu $v0, $v0, %lo(D_E0038748)
/* 34E430 E0038710 AFA2001C */ sw $v0, 0x1c($sp)
/* 34E434 E0038714 2402002D */ addiu $v0, $zero, 0x2d
/* 34E438 E0038718 AFA40018 */ sw $a0, 0x18($sp)
/* 34E43C E003871C 27A40010 */ addiu $a0, $sp, 0x10
/* 34E440 E0038720 AFBF0020 */ sw $ra, 0x20($sp)
/* 34E444 E0038724 AFA00014 */ sw $zero, 0x14($sp)
/* 34E448 E0038728 0C080120 */ jal func_E0200480
/* 34E44C E003872C AFA20010 */ sw $v0, 0x10($sp)
/* 34E450 E0038730 8C430000 */ lw $v1, ($v0)
/* 34E454 E0038734 34630002 */ ori $v1, $v1, 2
/* 34E458 E0038738 AC430000 */ sw $v1, ($v0)
/* 34E45C E003873C 8FBF0020 */ lw $ra, 0x20($sp)
/* 34E460 E0038740 03E00008 */ jr $ra
/* 34E464 E0038744 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,176 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0038748
/* 34E468 E0038748 27BDFF30 */ addiu $sp, $sp, -0xd0
/* 34E46C E003874C AFB700B4 */ sw $s7, 0xb4($sp)
/* 34E470 E0038750 0080B82D */ daddu $s7, $a0, $zero
/* 34E474 E0038754 3C02DB06 */ lui $v0, 0xdb06
/* 34E478 E0038758 3C06800A */ lui $a2, %hi(D_8009A66C)
/* 34E47C E003875C 24C6A66C */ addiu $a2, $a2, %lo(D_8009A66C)
/* 34E480 E0038760 34420024 */ ori $v0, $v0, 0x24
/* 34E484 E0038764 AFBF00BC */ sw $ra, 0xbc($sp)
/* 34E488 E0038768 AFBE00B8 */ sw $fp, 0xb8($sp)
/* 34E48C E003876C AFB600B0 */ sw $s6, 0xb0($sp)
/* 34E490 E0038770 AFB500AC */ sw $s5, 0xac($sp)
/* 34E494 E0038774 AFB400A8 */ sw $s4, 0xa8($sp)
/* 34E498 E0038778 AFB300A4 */ sw $s3, 0xa4($sp)
/* 34E49C E003877C AFB200A0 */ sw $s2, 0xa0($sp)
/* 34E4A0 E0038780 AFB1009C */ sw $s1, 0x9c($sp)
/* 34E4A4 E0038784 AFB00098 */ sw $s0, 0x98($sp)
/* 34E4A8 E0038788 F7B600C8 */ sdc1 $f22, 0xc8($sp)
/* 34E4AC E003878C F7B400C0 */ sdc1 $f20, 0xc0($sp)
/* 34E4B0 E0038790 8CC40000 */ lw $a0, ($a2)
/* 34E4B4 E0038794 8EE7000C */ lw $a3, 0xc($s7)
/* 34E4B8 E0038798 0080282D */ daddu $a1, $a0, $zero
/* 34E4BC E003879C 24840008 */ addiu $a0, $a0, 8
/* 34E4C0 E00387A0 ACC40000 */ sw $a0, ($a2)
/* 34E4C4 E00387A4 ACA20000 */ sw $v0, ($a1)
/* 34E4C8 E00387A8 24820008 */ addiu $v0, $a0, 8
/* 34E4CC E00387AC ACC20000 */ sw $v0, ($a2)
/* 34E4D0 E00387B0 8EE30010 */ lw $v1, 0x10($s7)
/* 34E4D4 E00387B4 24820010 */ addiu $v0, $a0, 0x10
/* 34E4D8 E00387B8 ACC20000 */ sw $v0, ($a2)
/* 34E4DC E00387BC 8C62001C */ lw $v0, 0x1c($v1)
/* 34E4E0 E00387C0 3C038000 */ lui $v1, 0x8000
/* 34E4E4 E00387C4 00431021 */ addu $v0, $v0, $v1
/* 34E4E8 E00387C8 ACA20004 */ sw $v0, 4($a1)
/* 34E4EC E00387CC 3C02DE00 */ lui $v0, 0xde00
/* 34E4F0 E00387D0 AC820000 */ sw $v0, ($a0)
/* 34E4F4 E00387D4 3C020900 */ lui $v0, 0x900
/* 34E4F8 E00387D8 24420440 */ addiu $v0, $v0, 0x440
/* 34E4FC E00387DC AC820004 */ sw $v0, 4($a0)
/* 34E500 E00387E0 3C02FA00 */ lui $v0, 0xfa00
/* 34E504 E00387E4 AC820008 */ sw $v0, 8($a0)
/* 34E508 E00387E8 90E20027 */ lbu $v0, 0x27($a3)
/* 34E50C E00387EC 2403FF00 */ addiu $v1, $zero, -0x100
/* 34E510 E00387F0 00431025 */ or $v0, $v0, $v1
/* 34E514 E00387F4 AC82000C */ sw $v0, 0xc($a0)
/* 34E518 E00387F8 8EE20008 */ lw $v0, 8($s7)
/* 34E51C E00387FC 1840006B */ blez $v0, .LE00389AC
/* 34E520 E0038800 0000902D */ daddu $s2, $zero, $zero
/* 34E524 E0038804 27B10058 */ addiu $s1, $sp, 0x58
/* 34E528 E0038808 3C1E800B */ lui $fp, %hi(gCameras)
/* 34E52C E003880C 27DE1D80 */ addiu $fp, $fp, %lo(gCameras)
/* 34E530 E0038810 3C16800A */ lui $s6, %hi(D_8009A674)
/* 34E534 E0038814 26D6A674 */ addiu $s6, $s6, %lo(D_8009A674)
/* 34E538 E0038818 3C158007 */ lui $s5, %hi(D_800741F0)
/* 34E53C E003881C 26B541F0 */ addiu $s5, $s5, %lo(D_800741F0)
/* 34E540 E0038820 3C140001 */ lui $s4, 1
/* 34E544 E0038824 36941630 */ ori $s4, $s4, 0x1630
/* 34E548 E0038828 00C0982D */ daddu $s3, $a2, $zero
/* 34E54C E003882C 24F00020 */ addiu $s0, $a3, 0x20
/* 34E550 E0038830 4480A000 */ mtc1 $zero, $f20
/* 34E554 E0038834 3C013F80 */ lui $at, 0x3f80
/* 34E558 E0038838 4481B000 */ mtc1 $at, $f22
.LE003883C:
/* 34E55C E003883C 27A40018 */ addiu $a0, $sp, 0x18
/* 34E560 E0038840 8E05FFE4 */ lw $a1, -0x1c($s0)
/* 34E564 E0038844 8E06FFE8 */ lw $a2, -0x18($s0)
/* 34E568 E0038848 8E07FFEC */ lw $a3, -0x14($s0)
/* 34E56C E003884C 0C080108 */ jal func_E0200420
/* 34E570 E0038850 26520001 */ addiu $s2, $s2, 1
/* 34E574 E0038854 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 34E578 E0038858 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 34E57C E003885C 4406A000 */ mfc1 $a2, $f20
/* 34E580 E0038860 00031080 */ sll $v0, $v1, 2
/* 34E584 E0038864 00431021 */ addu $v0, $v0, $v1
/* 34E588 E0038868 00021080 */ sll $v0, $v0, 2
/* 34E58C E003886C 00431023 */ subu $v0, $v0, $v1
/* 34E590 E0038870 000218C0 */ sll $v1, $v0, 3
/* 34E594 E0038874 00431021 */ addu $v0, $v0, $v1
/* 34E598 E0038878 000210C0 */ sll $v0, $v0, 3
/* 34E59C E003887C 005E1021 */ addu $v0, $v0, $fp
/* 34E5A0 E0038880 C440006C */ lwc1 $f0, 0x6c($v0)
/* 34E5A4 E0038884 4407B000 */ mfc1 $a3, $f22
/* 34E5A8 E0038888 46000007 */ neg.s $f0, $f0
/* 34E5AC E003888C 44050000 */ mfc1 $a1, $f0
/* 34E5B0 E0038890 0220202D */ daddu $a0, $s1, $zero
/* 34E5B4 E0038894 0C080104 */ jal func_E0200410
/* 34E5B8 E0038898 E7B40010 */ swc1 $f20, 0x10($sp)
/* 34E5BC E003889C 0220202D */ daddu $a0, $s1, $zero
/* 34E5C0 E00388A0 27A50018 */ addiu $a1, $sp, 0x18
/* 34E5C4 E00388A4 0C080114 */ jal func_E0200450
/* 34E5C8 E00388A8 00A0302D */ daddu $a2, $a1, $zero
/* 34E5CC E00388AC E7B60010 */ swc1 $f22, 0x10($sp)
/* 34E5D0 E00388B0 8E05FFFC */ lw $a1, -4($s0)
/* 34E5D4 E00388B4 4406A000 */ mfc1 $a2, $f20
/* 34E5D8 E00388B8 4407A000 */ mfc1 $a3, $f20
/* 34E5DC E00388BC 0C080104 */ jal func_E0200410
/* 34E5E0 E00388C0 0220202D */ daddu $a0, $s1, $zero
/* 34E5E4 E00388C4 0220202D */ daddu $a0, $s1, $zero
/* 34E5E8 E00388C8 27A50018 */ addiu $a1, $sp, 0x18
/* 34E5EC E00388CC 0C080114 */ jal func_E0200450
/* 34E5F0 E00388D0 00A0302D */ daddu $a2, $a1, $zero
/* 34E5F4 E00388D4 0220202D */ daddu $a0, $s1, $zero
/* 34E5F8 E00388D8 8E050000 */ lw $a1, ($s0)
/* 34E5FC E00388DC 26100030 */ addiu $s0, $s0, 0x30
/* 34E600 E00388E0 4407B000 */ mfc1 $a3, $f22
/* 34E604 E00388E4 0C080110 */ jal func_E0200440
/* 34E608 E00388E8 00A0302D */ daddu $a2, $a1, $zero
/* 34E60C E00388EC 0220202D */ daddu $a0, $s1, $zero
/* 34E610 E00388F0 27A50018 */ addiu $a1, $sp, 0x18
/* 34E614 E00388F4 0C080114 */ jal func_E0200450
/* 34E618 E00388F8 00A0302D */ daddu $a2, $a1, $zero
/* 34E61C E00388FC 27A40018 */ addiu $a0, $sp, 0x18
/* 34E620 E0038900 96A50000 */ lhu $a1, ($s5)
/* 34E624 E0038904 8EC20000 */ lw $v0, ($s6)
/* 34E628 E0038908 00052980 */ sll $a1, $a1, 6
/* 34E62C E003890C 00B42821 */ addu $a1, $a1, $s4
/* 34E630 E0038910 0C080118 */ jal func_E0200460
/* 34E634 E0038914 00452821 */ addu $a1, $v0, $a1
/* 34E638 E0038918 3C05D838 */ lui $a1, 0xd838
/* 34E63C E003891C 34A50002 */ ori $a1, $a1, 2
/* 34E640 E0038920 8E640000 */ lw $a0, ($s3)
/* 34E644 E0038924 3C02E700 */ lui $v0, 0xe700
/* 34E648 E0038928 0080182D */ daddu $v1, $a0, $zero
/* 34E64C E003892C 24840008 */ addiu $a0, $a0, 8
/* 34E650 E0038930 AE640000 */ sw $a0, ($s3)
/* 34E654 E0038934 AC620000 */ sw $v0, ($v1)
/* 34E658 E0038938 24820008 */ addiu $v0, $a0, 8
/* 34E65C E003893C AC600004 */ sw $zero, 4($v1)
/* 34E660 E0038940 AE620000 */ sw $v0, ($s3)
/* 34E664 E0038944 96A20000 */ lhu $v0, ($s5)
/* 34E668 E0038948 3C03DA38 */ lui $v1, 0xda38
/* 34E66C E003894C AC830000 */ sw $v1, ($a0)
/* 34E670 E0038950 24430001 */ addiu $v1, $v0, 1
/* 34E674 E0038954 3042FFFF */ andi $v0, $v0, 0xffff
/* 34E678 E0038958 00021180 */ sll $v0, $v0, 6
/* 34E67C E003895C A6A30000 */ sh $v1, ($s5)
/* 34E680 E0038960 8EC30000 */ lw $v1, ($s6)
/* 34E684 E0038964 00541021 */ addu $v0, $v0, $s4
/* 34E688 E0038968 00621821 */ addu $v1, $v1, $v0
/* 34E68C E003896C 24820010 */ addiu $v0, $a0, 0x10
/* 34E690 E0038970 AC830004 */ sw $v1, 4($a0)
/* 34E694 E0038974 AE620000 */ sw $v0, ($s3)
/* 34E698 E0038978 3C02DE00 */ lui $v0, 0xde00
/* 34E69C E003897C AC820008 */ sw $v0, 8($a0)
/* 34E6A0 E0038980 3C020900 */ lui $v0, 0x900
/* 34E6A4 E0038984 244204E8 */ addiu $v0, $v0, 0x4e8
/* 34E6A8 E0038988 AC82000C */ sw $v0, 0xc($a0)
/* 34E6AC E003898C 24020040 */ addiu $v0, $zero, 0x40
/* 34E6B0 E0038990 AC850010 */ sw $a1, 0x10($a0)
/* 34E6B4 E0038994 AC820014 */ sw $v0, 0x14($a0)
/* 34E6B8 E0038998 8EE20008 */ lw $v0, 8($s7)
/* 34E6BC E003899C 24840018 */ addiu $a0, $a0, 0x18
/* 34E6C0 E00389A0 0242102A */ slt $v0, $s2, $v0
/* 34E6C4 E00389A4 1440FFA5 */ bnez $v0, .LE003883C
/* 34E6C8 E00389A8 AE640000 */ sw $a0, ($s3)
.LE00389AC:
/* 34E6CC E00389AC 8FBF00BC */ lw $ra, 0xbc($sp)
/* 34E6D0 E00389B0 8FBE00B8 */ lw $fp, 0xb8($sp)
/* 34E6D4 E00389B4 8FB700B4 */ lw $s7, 0xb4($sp)
/* 34E6D8 E00389B8 8FB600B0 */ lw $s6, 0xb0($sp)
/* 34E6DC E00389BC 8FB500AC */ lw $s5, 0xac($sp)
/* 34E6E0 E00389C0 8FB400A8 */ lw $s4, 0xa8($sp)
/* 34E6E4 E00389C4 8FB300A4 */ lw $s3, 0xa4($sp)
/* 34E6E8 E00389C8 8FB200A0 */ lw $s2, 0xa0($sp)
/* 34E6EC E00389CC 8FB1009C */ lw $s1, 0x9c($sp)
/* 34E6F0 E00389D0 8FB00098 */ lw $s0, 0x98($sp)
/* 34E6F4 E00389D4 D7B600C8 */ ldc1 $f22, 0xc8($sp)
/* 34E6F8 E00389D8 D7B400C0 */ ldc1 $f20, 0xc0($sp)
/* 34E6FC E00389DC 03E00008 */ jr $ra
/* 34E700 E00389E0 27BD00D0 */ addiu $sp, $sp, 0xd0
/* 34E704 E00389E4 00000000 */ nop
/* 34E708 E00389E8 00000000 */ nop
/* 34E70C E00389EC 00000000 */ nop

View File

@ -0,0 +1,90 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0040000
/* 353300 E0040000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 353304 E0040004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 353308 E0040008 4485A000 */ mtc1 $a1, $f20
/* 35330C E004000C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 353310 E0040010 4486B000 */ mtc1 $a2, $f22
/* 353314 E0040014 AFB00028 */ sw $s0, 0x28($sp)
/* 353318 E0040018 0080802D */ daddu $s0, $a0, $zero
/* 35331C E004001C F7B80048 */ sdc1 $f24, 0x48($sp)
/* 353320 E0040020 4487C000 */ mtc1 $a3, $f24
/* 353324 E0040024 27A40010 */ addiu $a0, $sp, 0x10
/* 353328 E0040028 AFB20030 */ sw $s2, 0x30($sp)
/* 35332C E004002C 8FB20064 */ lw $s2, 0x64($sp)
/* 353330 E0040030 2A020004 */ slti $v0, $s0, 4
/* 353334 E0040034 AFBF0034 */ sw $ra, 0x34($sp)
/* 353338 E0040038 14400002 */ bnez $v0, .LE0040044
/* 35333C E004003C AFB1002C */ sw $s1, 0x2c($sp)
/* 353340 E0040040 24100003 */ addiu $s0, $zero, 3
.LE0040044:
/* 353344 E0040044 3C02E004 */ lui $v0, %hi(D_E0040148)
/* 353348 E0040048 24420148 */ addiu $v0, $v0, %lo(D_E0040148)
/* 35334C E004004C AFA20018 */ sw $v0, 0x18($sp)
/* 353350 E0040050 3C02E004 */ lui $v0, %hi(D_E0040150)
/* 353354 E0040054 24420150 */ addiu $v0, $v0, %lo(D_E0040150)
/* 353358 E0040058 AFA2001C */ sw $v0, 0x1c($sp)
/* 35335C E004005C 3C02E004 */ lui $v0, %hi(D_E0040210)
/* 353360 E0040060 24420210 */ addiu $v0, $v0, %lo(D_E0040210)
/* 353364 E0040064 AFA20020 */ sw $v0, 0x20($sp)
/* 353368 E0040068 24020020 */ addiu $v0, $zero, 0x20
/* 35336C E004006C AFA00010 */ sw $zero, 0x10($sp)
/* 353370 E0040070 AFA00024 */ sw $zero, 0x24($sp)
/* 353374 E0040074 0C080124 */ jal func_E0200490
/* 353378 E0040078 AFA20014 */ sw $v0, 0x14($sp)
/* 35337C E004007C 24040034 */ addiu $a0, $zero, 0x34
/* 353380 E0040080 0040882D */ daddu $s1, $v0, $zero
/* 353384 E0040084 24020001 */ addiu $v0, $zero, 1
/* 353388 E0040088 0C08012C */ jal func_E02004B0
/* 35338C E004008C AE220008 */ sw $v0, 8($s1)
/* 353390 E0040090 0040182D */ daddu $v1, $v0, $zero
/* 353394 E0040094 14600003 */ bnez $v1, .LE00400A4
/* 353398 E0040098 AE22000C */ sw $v0, 0xc($s1)
.LE004009C:
/* 35339C E004009C 08010027 */ j .LE004009C
/* 3533A0 E00400A0 00000000 */ nop
.LE00400A4:
/* 3533A4 E00400A4 00101100 */ sll $v0, $s0, 4
/* 3533A8 E00400A8 AC700000 */ sw $s0, ($v1)
/* 3533AC E00400AC AC600018 */ sw $zero, 0x18($v1)
/* 3533B0 E00400B0 E4740004 */ swc1 $f20, 4($v1)
/* 3533B4 E00400B4 E4760008 */ swc1 $f22, 8($v1)
/* 3533B8 E00400B8 E478000C */ swc1 $f24, 0xc($v1)
/* 3533BC E00400BC 3C01E004 */ lui $at, %hi(D_E0040848)
/* 3533C0 E00400C0 00220821 */ addu $at, $at, $v0
/* 3533C4 E00400C4 90220848 */ lbu $v0, %lo(D_E0040848)($at)
/* 3533C8 E00400C8 C7A00060 */ lwc1 $f0, 0x60($sp)
/* 3533CC E00400CC 44821000 */ mtc1 $v0, $f2
/* 3533D0 E00400D0 00000000 */ nop
/* 3533D4 E00400D4 468010A0 */ cvt.s.w $f2, $f2
/* 3533D8 E00400D8 46020002 */ mul.s $f0, $f0, $f2
/* 3533DC E00400DC 00000000 */ nop
/* 3533E0 E00400E0 3C01E004 */ lui $at, %hi(D_E0040890)
/* 3533E4 E00400E4 D4220890 */ ldc1 $f2, %lo(D_E0040890)($at)
/* 3533E8 E00400E8 46000021 */ cvt.d.s $f0, $f0
/* 3533EC E00400EC 46220002 */ mul.d $f0, $f0, $f2
/* 3533F0 E00400F0 00000000 */ nop
/* 3533F4 E00400F4 3C013F80 */ lui $at, 0x3f80
/* 3533F8 E00400F8 44811000 */ mtc1 $at, $f2
/* 3533FC E00400FC AC60001C */ sw $zero, 0x1c($v1)
/* 353400 E0040100 AC600024 */ sw $zero, 0x24($v1)
/* 353404 E0040104 AC600020 */ sw $zero, 0x20($v1)
/* 353408 E0040108 E4620030 */ swc1 $f2, 0x30($v1)
/* 35340C E004010C E462002C */ swc1 $f2, 0x2c($v1)
/* 353410 E0040110 E4620028 */ swc1 $f2, 0x28($v1)
/* 353414 E0040114 46200020 */ cvt.s.d $f0, $f0
/* 353418 E0040118 12400002 */ beqz $s2, .LE0040124
/* 35341C E004011C E4600010 */ swc1 $f0, 0x10($v1)
/* 353420 E0040120 AE510000 */ sw $s1, ($s2)
.LE0040124:
/* 353424 E0040124 8FBF0034 */ lw $ra, 0x34($sp)
/* 353428 E0040128 8FB20030 */ lw $s2, 0x30($sp)
/* 35342C E004012C 8FB1002C */ lw $s1, 0x2c($sp)
/* 353430 E0040130 8FB00028 */ lw $s0, 0x28($sp)
/* 353434 E0040134 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 353438 E0040138 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 35343C E004013C D7B40038 */ ldc1 $f20, 0x38($sp)
/* 353440 E0040140 03E00008 */ jr $ra
/* 353444 E0040144 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0040148
/* 353448 E0040148 03E00008 */ jr $ra
/* 35344C E004014C 00000000 */ nop

View File

@ -0,0 +1,58 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0040150
/* 353450 E0040150 8C820008 */ lw $v0, 8($a0)
/* 353454 E0040154 8C83000C */ lw $v1, 0xc($a0)
/* 353458 E0040158 1840002B */ blez $v0, .LE0040208
/* 35345C E004015C 0000282D */ daddu $a1, $zero, $zero
/* 353460 E0040160 24630024 */ addiu $v1, $v1, 0x24
/* 353464 E0040164 3C014280 */ lui $at, 0x4280
/* 353468 E0040168 44813000 */ mtc1 $at, $f6
/* 35346C E004016C 44804000 */ mtc1 $zero, $f8
/* 353470 E0040170 3C014300 */ lui $at, 0x4300
/* 353474 E0040174 44812000 */ mtc1 $at, $f4
.LE0040178:
/* 353478 E0040178 C462FFF8 */ lwc1 $f2, -8($v1)
/* 35347C E004017C C460FFFC */ lwc1 $f0, -4($v1)
/* 353480 E0040180 46001000 */ add.s $f0, $f2, $f0
/* 353484 E0040184 4600303C */ c.lt.s $f6, $f0
/* 353488 E0040188 00000000 */ nop
/* 35348C E004018C 45000003 */ bc1f .LE004019C
/* 353490 E0040190 E460FFF8 */ swc1 $f0, -8($v1)
/* 353494 E0040194 46060001 */ sub.s $f0, $f0, $f6
/* 353498 E0040198 E460FFF8 */ swc1 $f0, -8($v1)
.LE004019C:
/* 35349C E004019C C460FFF8 */ lwc1 $f0, -8($v1)
/* 3534A0 E00401A0 4608003C */ c.lt.s $f0, $f8
/* 3534A4 E00401A4 00000000 */ nop
/* 3534A8 E00401A8 45000003 */ bc1f .LE00401B8
/* 3534AC E00401AC 00000000 */ nop
/* 3534B0 E00401B0 46060000 */ add.s $f0, $f0, $f6
/* 3534B4 E00401B4 E460FFF8 */ swc1 $f0, -8($v1)
.LE00401B8:
/* 3534B8 E00401B8 C4620000 */ lwc1 $f2, ($v1)
/* 3534BC E00401BC C4600004 */ lwc1 $f0, 4($v1)
/* 3534C0 E00401C0 46001000 */ add.s $f0, $f2, $f0
/* 3534C4 E00401C4 4600203C */ c.lt.s $f4, $f0
/* 3534C8 E00401C8 00000000 */ nop
/* 3534CC E00401CC 45000003 */ bc1f .LE00401DC
/* 3534D0 E00401D0 E4600000 */ swc1 $f0, ($v1)
/* 3534D4 E00401D4 46040001 */ sub.s $f0, $f0, $f4
/* 3534D8 E00401D8 E4600000 */ swc1 $f0, ($v1)
.LE00401DC:
/* 3534DC E00401DC C4600000 */ lwc1 $f0, ($v1)
/* 3534E0 E00401E0 4608003C */ c.lt.s $f0, $f8
/* 3534E4 E00401E4 00000000 */ nop
/* 3534E8 E00401E8 45000003 */ bc1f .LE00401F8
/* 3534EC E00401EC 24A50001 */ addiu $a1, $a1, 1
/* 3534F0 E00401F0 46040000 */ add.s $f0, $f0, $f4
/* 3534F4 E00401F4 E4600000 */ swc1 $f0, ($v1)
.LE00401F8:
/* 3534F8 E00401F8 8C820008 */ lw $v0, 8($a0)
/* 3534FC E00401FC 00A2102A */ slt $v0, $a1, $v0
/* 353500 E0040200 1440FFDD */ bnez $v0, .LE0040178
/* 353504 E0040204 24630034 */ addiu $v1, $v1, 0x34
.LE0040208:
/* 353508 E0040208 03E00008 */ jr $ra
/* 35350C E004020C 00000000 */ nop

View File

@ -0,0 +1,85 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0040210
/* 353510 E0040210 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 353514 E0040214 AFB1004C */ sw $s1, 0x4c($sp)
/* 353518 E0040218 0080882D */ daddu $s1, $a0, $zero
/* 35351C E004021C AFBF0050 */ sw $ra, 0x50($sp)
/* 353520 E0040220 AFB00048 */ sw $s0, 0x48($sp)
/* 353524 E0040224 8E27000C */ lw $a3, 0xc($s1)
/* 353528 E0040228 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 35352C E004022C 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 353530 E0040230 3C013F80 */ lui $at, 0x3f80
/* 353534 E0040234 44810000 */ mtc1 $at, $f0
/* 353538 E0040238 27A20038 */ addiu $v0, $sp, 0x38
/* 35353C E004023C AFA20014 */ sw $v0, 0x14($sp)
/* 353540 E0040240 27A2003C */ addiu $v0, $sp, 0x3c
/* 353544 E0040244 AFA20018 */ sw $v0, 0x18($sp)
/* 353548 E0040248 27A20040 */ addiu $v0, $sp, 0x40
/* 35354C E004024C AFA2001C */ sw $v0, 0x1c($sp)
/* 353550 E0040250 27A20044 */ addiu $v0, $sp, 0x44
/* 353554 E0040254 AFA20020 */ sw $v0, 0x20($sp)
/* 353558 E0040258 00032080 */ sll $a0, $v1, 2
/* 35355C E004025C 00832021 */ addu $a0, $a0, $v1
/* 353560 E0040260 00042080 */ sll $a0, $a0, 2
/* 353564 E0040264 00832023 */ subu $a0, $a0, $v1
/* 353568 E0040268 000410C0 */ sll $v0, $a0, 3
/* 35356C E004026C 00822021 */ addu $a0, $a0, $v0
/* 353570 E0040270 000420C0 */ sll $a0, $a0, 3
/* 353574 E0040274 3C02800B */ lui $v0, %hi(D_800B1E54)
/* 353578 E0040278 24421E54 */ addiu $v0, $v0, %lo(D_800B1E54)
/* 35357C E004027C E7A00010 */ swc1 $f0, 0x10($sp)
/* 353580 E0040280 8CE50004 */ lw $a1, 4($a3)
/* 353584 E0040284 8CE60008 */ lw $a2, 8($a3)
/* 353588 E0040288 8CE7000C */ lw $a3, 0xc($a3)
/* 35358C E004028C 0C080168 */ jal func_E02005A0
/* 353590 E0040290 00822021 */ addu $a0, $a0, $v0
/* 353594 E0040294 C7A00040 */ lwc1 $f0, 0x40($sp)
/* 353598 E0040298 3C01459C */ lui $at, 0x459c
/* 35359C E004029C 34214000 */ ori $at, $at, 0x4000
/* 3535A0 E00402A0 44811000 */ mtc1 $at, $f2
/* 3535A4 E00402A4 00000000 */ nop
/* 3535A8 E00402A8 46020000 */ add.s $f0, $f0, $f2
/* 3535AC E00402AC 4600010D */ trunc.w.s $f4, $f0
/* 3535B0 E00402B0 44032000 */ mfc1 $v1, $f4
/* 3535B4 E00402B4 00000000 */ nop
/* 3535B8 E00402B8 04610003 */ bgez $v1, .LE00402C8
/* 3535BC E00402BC 27B00028 */ addiu $s0, $sp, 0x28
/* 3535C0 E00402C0 080100B5 */ j .LE00402D4
/* 3535C4 E00402C4 0000182D */ daddu $v1, $zero, $zero
.LE00402C8:
/* 3535C8 E00402C8 28622711 */ slti $v0, $v1, 0x2711
/* 3535CC E00402CC 50400001 */ beql $v0, $zero, .LE00402D4
/* 3535D0 E00402D0 24032710 */ addiu $v1, $zero, 0x2710
.LE00402D4:
/* 3535D4 E00402D4 C7A20044 */ lwc1 $f2, 0x44($sp)
/* 3535D8 E00402D8 3C01E004 */ lui $at, %hi(D_E0040898)
/* 3535DC E00402DC D4200898 */ ldc1 $f0, %lo(D_E0040898)($at)
/* 3535E0 E00402E0 460010A1 */ cvt.d.s $f2, $f2
/* 3535E4 E00402E4 4620103C */ c.lt.d $f2, $f0
/* 3535E8 E00402E8 00000000 */ nop
/* 3535EC E00402EC 45000008 */ bc1f .LE0040310
/* 3535F0 E00402F0 0200202D */ daddu $a0, $s0, $zero
/* 3535F4 E00402F4 3C01E004 */ lui $at, %hi(D_E00408A0)
/* 3535F8 E00402F8 D42008A0 */ ldc1 $f0, %lo(D_E00408A0)($at)
/* 3535FC E00402FC 4622003C */ c.lt.d $f0, $f2
/* 353600 E0040300 00000000 */ nop
/* 353604 E0040304 45030002 */ bc1tl .LE0040310
/* 353608 E0040308 0000182D */ daddu $v1, $zero, $zero
/* 35360C E004030C 0200202D */ daddu $a0, $s0, $zero
.LE0040310:
/* 353610 E0040310 3C02E004 */ lui $v0, %hi(D_E0040348)
/* 353614 E0040314 24420348 */ addiu $v0, $v0, %lo(D_E0040348)
/* 353618 E0040318 AC82000C */ sw $v0, 0xc($a0)
/* 35361C E004031C 00031023 */ negu $v0, $v1
/* 353620 E0040320 AC820004 */ sw $v0, 4($a0)
/* 353624 E0040324 24020011 */ addiu $v0, $zero, 0x11
/* 353628 E0040328 AC910008 */ sw $s1, 8($a0)
/* 35362C E004032C 0C080120 */ jal func_E0200480
/* 353630 E0040330 AC820000 */ sw $v0, ($a0)
/* 353634 E0040334 8FBF0050 */ lw $ra, 0x50($sp)
/* 353638 E0040338 8FB1004C */ lw $s1, 0x4c($sp)
/* 35363C E004033C 8FB00048 */ lw $s0, 0x48($sp)
/* 353640 E0040340 03E00008 */ jr $ra
/* 353644 E0040344 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -0,0 +1,323 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0040348
/* 353648 E0040348 27BDFF08 */ addiu $sp, $sp, -0xf8
/* 35364C E004034C 3C03DB06 */ lui $v1, 0xdb06
/* 353650 E0040350 AFB400E8 */ sw $s4, 0xe8($sp)
/* 353654 E0040354 3C14800A */ lui $s4, %hi(D_8009A66C)
/* 353658 E0040358 2694A66C */ addiu $s4, $s4, %lo(D_8009A66C)
/* 35365C E004035C 34630024 */ ori $v1, $v1, 0x24
/* 353660 E0040360 AFB600F0 */ sw $s6, 0xf0($sp)
/* 353664 E0040364 3C16E700 */ lui $s6, 0xe700
/* 353668 E0040368 3C0B8000 */ lui $t3, 0x8000
/* 35366C E004036C AFBF00F4 */ sw $ra, 0xf4($sp)
/* 353670 E0040370 AFB500EC */ sw $s5, 0xec($sp)
/* 353674 E0040374 AFB300E4 */ sw $s3, 0xe4($sp)
/* 353678 E0040378 AFB200E0 */ sw $s2, 0xe0($sp)
/* 35367C E004037C AFB100DC */ sw $s1, 0xdc($sp)
/* 353680 E0040380 AFB000D8 */ sw $s0, 0xd8($sp)
/* 353684 E0040384 8E870000 */ lw $a3, ($s4)
/* 353688 E0040388 8C92000C */ lw $s2, 0xc($a0)
/* 35368C E004038C 3C014080 */ lui $at, 0x4080
/* 353690 E0040390 44812000 */ mtc1 $at, $f4
/* 353694 E0040394 00E0102D */ daddu $v0, $a3, $zero
/* 353698 E0040398 24E70008 */ addiu $a3, $a3, 8
/* 35369C E004039C AE870000 */ sw $a3, ($s4)
/* 3536A0 E00403A0 8E4C0000 */ lw $t4, ($s2)
/* 3536A4 E00403A4 C640001C */ lwc1 $f0, 0x1c($s2)
/* 3536A8 E00403A8 C6420024 */ lwc1 $f2, 0x24($s2)
/* 3536AC E00403AC 3C108007 */ lui $s0, %hi(gCurrentCameraID)
/* 3536B0 E00403B0 26107410 */ addiu $s0, $s0, %lo(gCurrentCameraID)
/* 3536B4 E00403B4 AC560000 */ sw $s6, ($v0)
/* 3536B8 E00403B8 AC400004 */ sw $zero, 4($v0)
/* 3536BC E00403BC ACE30000 */ sw $v1, ($a3)
/* 3536C0 E00403C0 8C830010 */ lw $v1, 0x10($a0)
/* 3536C4 E00403C4 24E20008 */ addiu $v0, $a3, 8
/* 3536C8 E00403C8 AE820000 */ sw $v0, ($s4)
/* 3536CC E00403CC 46040002 */ mul.s $f0, $f0, $f4
/* 3536D0 E00403D0 00000000 */ nop
/* 3536D4 E00403D4 8C62001C */ lw $v0, 0x1c($v1)
/* 3536D8 E00403D8 3C15800B */ lui $s5, %hi(gCameras)
/* 3536DC E00403DC 26B51D80 */ addiu $s5, $s5, %lo(gCameras)
/* 3536E0 E00403E0 004B1021 */ addu $v0, $v0, $t3
/* 3536E4 E00403E4 ACE20004 */ sw $v0, 4($a3)
/* 3536E8 E00403E8 8E030000 */ lw $v1, ($s0)
/* 3536EC E00403EC 46041082 */ mul.s $f2, $f2, $f4
/* 3536F0 E00403F0 00000000 */ nop
/* 3536F4 E00403F4 00031080 */ sll $v0, $v1, 2
/* 3536F8 E00403F8 00431021 */ addu $v0, $v0, $v1
/* 3536FC E00403FC 00021080 */ sll $v0, $v0, 2
/* 353700 E0040400 00431023 */ subu $v0, $v0, $v1
/* 353704 E0040404 000218C0 */ sll $v1, $v0, 3
/* 353708 E0040408 00431021 */ addu $v0, $v0, $v1
/* 35370C E004040C 000210C0 */ sll $v0, $v0, 3
/* 353710 E0040410 00554021 */ addu $t0, $v0, $s5
/* 353714 E0040414 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 353718 E0040418 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 35371C E004041C 3C04E004 */ lui $a0, %hi(D_E0040880)
/* 353720 E0040420 24840880 */ addiu $a0, $a0, %lo(D_E0040880)
/* 353724 E0040424 94430134 */ lhu $v1, 0x134($v0)
/* 353728 E0040428 8C820000 */ lw $v0, ($a0)
/* 35372C E004042C 4600018D */ trunc.w.s $f6, $f0
/* 353730 E0040430 440A3000 */ mfc1 $t2, $f6
/* 353734 E0040434 4600118D */ trunc.w.s $f6, $f2
/* 353738 E0040438 44093000 */ mfc1 $t1, $f6
/* 35373C E004043C 1043005F */ beq $v0, $v1, .LE00405BC
/* 353740 E0040440 24E20010 */ addiu $v0, $a3, 0x10
/* 353744 E0040444 3C06FF10 */ lui $a2, 0xff10
/* 353748 E0040448 34C6013F */ ori $a2, $a2, 0x13f
/* 35374C E004044C 3C05DE00 */ lui $a1, 0xde00
/* 353750 E0040450 AC830000 */ sw $v1, ($a0)
/* 353754 E0040454 AE820000 */ sw $v0, ($s4)
/* 353758 E0040458 3C020900 */ lui $v0, 0x900
/* 35375C E004045C 24420918 */ addiu $v0, $v0, 0x918
/* 353760 E0040460 31430FFF */ andi $v1, $t2, 0xfff
/* 353764 E0040464 00031B00 */ sll $v1, $v1, 0xc
/* 353768 E0040468 ACE2000C */ sw $v0, 0xc($a3)
/* 35376C E004046C 31220FFF */ andi $v0, $t1, 0xfff
/* 353770 E0040470 3C04F200 */ lui $a0, 0xf200
/* 353774 E0040474 00441025 */ or $v0, $v0, $a0
/* 353778 E0040478 00621825 */ or $v1, $v1, $v0
/* 35377C E004047C 25420080 */ addiu $v0, $t2, 0x80
/* 353780 E0040480 30420FFF */ andi $v0, $v0, 0xfff
/* 353784 E0040484 00021300 */ sll $v0, $v0, 0xc
/* 353788 E0040488 ACE30010 */ sw $v1, 0x10($a3)
/* 35378C E004048C 25230100 */ addiu $v1, $t1, 0x100
/* 353790 E0040490 30630FFF */ andi $v1, $v1, 0xfff
/* 353794 E0040494 3C040100 */ lui $a0, 0x100
/* 353798 E0040498 00641825 */ or $v1, $v1, $a0
/* 35379C E004049C 00431025 */ or $v0, $v0, $v1
/* 3537A0 E00404A0 ACE20014 */ sw $v0, 0x14($a3)
/* 3537A4 E00404A4 3C020900 */ lui $v0, 0x900
/* 3537A8 E00404A8 244209E0 */ addiu $v0, $v0, 0x9e0
/* 3537AC E00404AC 3C03800A */ lui $v1, %hi(D_8009A64C)
/* 3537B0 E00404B0 8C63A64C */ lw $v1, %lo(D_8009A64C)($v1)
/* 3537B4 E00404B4 3C04ED00 */ lui $a0, 0xed00
/* 3537B8 E00404B8 ACE50008 */ sw $a1, 8($a3)
/* 3537BC E00404BC ACE50018 */ sw $a1, 0x18($a3)
/* 3537C0 E00404C0 ACE2001C */ sw $v0, 0x1c($a3)
/* 3537C4 E00404C4 ACE60020 */ sw $a2, 0x20($a3)
/* 3537C8 E00404C8 006B1821 */ addu $v1, $v1, $t3
/* 3537CC E00404CC ACE30024 */ sw $v1, 0x24($a3)
/* 3537D0 E00404D0 8502000E */ lh $v0, 0xe($t0)
/* 3537D4 E00404D4 24E30018 */ addiu $v1, $a3, 0x18
/* 3537D8 E00404D8 44821000 */ mtc1 $v0, $f2
/* 3537DC E00404DC 00000000 */ nop
/* 3537E0 E00404E0 468010A0 */ cvt.s.w $f2, $f2
/* 3537E4 E00404E4 46041082 */ mul.s $f2, $f2, $f4
/* 3537E8 E00404E8 00000000 */ nop
/* 3537EC E00404EC AE830000 */ sw $v1, ($s4)
/* 3537F0 E00404F0 85020010 */ lh $v0, 0x10($t0)
/* 3537F4 E00404F4 24E30020 */ addiu $v1, $a3, 0x20
/* 3537F8 E00404F8 44820000 */ mtc1 $v0, $f0
/* 3537FC E00404FC 00000000 */ nop
/* 353800 E0040500 46800020 */ cvt.s.w $f0, $f0
/* 353804 E0040504 46040002 */ mul.s $f0, $f0, $f4
/* 353808 E0040508 00000000 */ nop
/* 35380C E004050C AE830000 */ sw $v1, ($s4)
/* 353810 E0040510 4600118D */ trunc.w.s $f6, $f2
/* 353814 E0040514 44023000 */ mfc1 $v0, $f6
/* 353818 E0040518 00000000 */ nop
/* 35381C E004051C 30420FFF */ andi $v0, $v0, 0xfff
/* 353820 E0040520 00021300 */ sll $v0, $v0, 0xc
/* 353824 E0040524 4600018D */ trunc.w.s $f6, $f0
/* 353828 E0040528 44033000 */ mfc1 $v1, $f6
/* 35382C E004052C 00000000 */ nop
/* 353830 E0040530 30630FFF */ andi $v1, $v1, 0xfff
/* 353834 E0040534 00641825 */ or $v1, $v1, $a0
/* 353838 E0040538 00431025 */ or $v0, $v0, $v1
/* 35383C E004053C ACE20028 */ sw $v0, 0x28($a3)
/* 353840 E0040540 8503000E */ lh $v1, 0xe($t0)
/* 353844 E0040544 8504000A */ lh $a0, 0xa($t0)
/* 353848 E0040548 24E20028 */ addiu $v0, $a3, 0x28
/* 35384C E004054C AE820000 */ sw $v0, ($s4)
/* 353850 E0040550 85020010 */ lh $v0, 0x10($t0)
/* 353854 E0040554 00641821 */ addu $v1, $v1, $a0
/* 353858 E0040558 44831000 */ mtc1 $v1, $f2
/* 35385C E004055C 00000000 */ nop
/* 353860 E0040560 468010A0 */ cvt.s.w $f2, $f2
/* 353864 E0040564 46041082 */ mul.s $f2, $f2, $f4
/* 353868 E0040568 00000000 */ nop
/* 35386C E004056C 8503000C */ lh $v1, 0xc($t0)
/* 353870 E0040570 24E40030 */ addiu $a0, $a3, 0x30
/* 353874 E0040574 00431021 */ addu $v0, $v0, $v1
/* 353878 E0040578 44820000 */ mtc1 $v0, $f0
/* 35387C E004057C 00000000 */ nop
/* 353880 E0040580 46800020 */ cvt.s.w $f0, $f0
/* 353884 E0040584 46040002 */ mul.s $f0, $f0, $f4
/* 353888 E0040588 00000000 */ nop
/* 35388C E004058C AE840000 */ sw $a0, ($s4)
/* 353890 E0040590 4600118D */ trunc.w.s $f6, $f2
/* 353894 E0040594 44023000 */ mfc1 $v0, $f6
/* 353898 E0040598 00000000 */ nop
/* 35389C E004059C 30420FFF */ andi $v0, $v0, 0xfff
/* 3538A0 E00405A0 00021300 */ sll $v0, $v0, 0xc
/* 3538A4 E00405A4 4600018D */ trunc.w.s $f6, $f0
/* 3538A8 E00405A8 44033000 */ mfc1 $v1, $f6
/* 3538AC E00405AC 00000000 */ nop
/* 3538B0 E00405B0 30630FFF */ andi $v1, $v1, 0xfff
/* 3538B4 E00405B4 00431025 */ or $v0, $v0, $v1
/* 3538B8 E00405B8 ACE2002C */ sw $v0, 0x2c($a3)
.LE00405BC:
/* 3538BC E00405BC 3C13DE00 */ lui $s3, 0xde00
/* 3538C0 E00405C0 3C02E004 */ lui $v0, %hi(D_E0040840)
/* 3538C4 E00405C4 24420840 */ addiu $v0, $v0, %lo(D_E0040840)
/* 3538C8 E00405C8 000C3100 */ sll $a2, $t4, 4
/* 3538CC E00405CC 8E850000 */ lw $a1, ($s4)
/* 3538D0 E00405D0 00C23021 */ addu $a2, $a2, $v0
/* 3538D4 E00405D4 00A0202D */ daddu $a0, $a1, $zero
/* 3538D8 E00405D8 24A50008 */ addiu $a1, $a1, 8
/* 3538DC E00405DC AE850000 */ sw $a1, ($s4)
/* 3538E0 E00405E0 AC930000 */ sw $s3, ($a0)
/* 3538E4 E00405E4 8CC3000C */ lw $v1, 0xc($a2)
/* 3538E8 E00405E8 24A20008 */ addiu $v0, $a1, 8
/* 3538EC E00405EC AE820000 */ sw $v0, ($s4)
/* 3538F0 E00405F0 3C02EB00 */ lui $v0, 0xeb00
/* 3538F4 E00405F4 AC830004 */ sw $v1, 4($a0)
/* 3538F8 E00405F8 ACA20000 */ sw $v0, ($a1)
/* 3538FC E00405FC 90C30003 */ lbu $v1, 3($a2)
/* 353900 E0040600 90C40000 */ lbu $a0, ($a2)
/* 353904 E0040604 24A20010 */ addiu $v0, $a1, 0x10
/* 353908 E0040608 AE820000 */ sw $v0, ($s4)
/* 35390C E004060C 3C02EA00 */ lui $v0, 0xea00
/* 353910 E0040610 ACA20008 */ sw $v0, 8($a1)
/* 353914 E0040614 00031A00 */ sll $v1, $v1, 8
/* 353918 E0040618 00641825 */ or $v1, $v1, $a0
/* 35391C E004061C ACA30004 */ sw $v1, 4($a1)
/* 353920 E0040620 90C40003 */ lbu $a0, 3($a2)
/* 353924 E0040624 90C30001 */ lbu $v1, 1($a2)
/* 353928 E0040628 90C70002 */ lbu $a3, 2($a2)
/* 35392C E004062C 24A20018 */ addiu $v0, $a1, 0x18
/* 353930 E0040630 AE820000 */ sw $v0, ($s4)
/* 353934 E0040634 3C02FA00 */ lui $v0, 0xfa00
/* 353938 E0040638 ACA20010 */ sw $v0, 0x10($a1)
/* 35393C E004063C 00041600 */ sll $v0, $a0, 0x18
/* 353940 E0040640 00031C00 */ sll $v1, $v1, 0x10
/* 353944 E0040644 00431025 */ or $v0, $v0, $v1
/* 353948 E0040648 00042200 */ sll $a0, $a0, 8
/* 35394C E004064C 00441025 */ or $v0, $v0, $a0
/* 353950 E0040650 00471025 */ or $v0, $v0, $a3
/* 353954 E0040654 ACA2000C */ sw $v0, 0xc($a1)
/* 353958 E0040658 90C40007 */ lbu $a0, 7($a2)
/* 35395C E004065C 24A20020 */ addiu $v0, $a1, 0x20
/* 353960 E0040660 AE820000 */ sw $v0, ($s4)
/* 353964 E0040664 3C02FB00 */ lui $v0, 0xfb00
/* 353968 E0040668 ACA20018 */ sw $v0, 0x18($a1)
/* 35396C E004066C 00041600 */ sll $v0, $a0, 0x18
/* 353970 E0040670 00041C00 */ sll $v1, $a0, 0x10
/* 353974 E0040674 00431025 */ or $v0, $v0, $v1
/* 353978 E0040678 00042200 */ sll $a0, $a0, 8
/* 35397C E004067C 00441025 */ or $v0, $v0, $a0
/* 353980 E0040680 ACA20014 */ sw $v0, 0x14($a1)
/* 353984 E0040684 90C20004 */ lbu $v0, 4($a2)
/* 353988 E0040688 90C40005 */ lbu $a0, 5($a2)
/* 35398C E004068C 90C30006 */ lbu $v1, 6($a2)
/* 353990 E0040690 00021600 */ sll $v0, $v0, 0x18
/* 353994 E0040694 00042400 */ sll $a0, $a0, 0x10
/* 353998 E0040698 00441025 */ or $v0, $v0, $a0
/* 35399C E004069C 00031A00 */ sll $v1, $v1, 8
/* 3539A0 E00406A0 00431025 */ or $v0, $v0, $v1
/* 3539A4 E00406A4 ACA2001C */ sw $v0, 0x1c($a1)
/* 3539A8 E00406A8 8E450004 */ lw $a1, 4($s2)
/* 3539AC E00406AC 8E460008 */ lw $a2, 8($s2)
/* 3539B0 E00406B0 8E47000C */ lw $a3, 0xc($s2)
/* 3539B4 E00406B4 0C080108 */ jal func_E0200420
/* 3539B8 E00406B8 27A40018 */ addiu $a0, $sp, 0x18
/* 3539BC E00406BC 27B10058 */ addiu $s1, $sp, 0x58
/* 3539C0 E00406C0 8E030000 */ lw $v1, ($s0)
/* 3539C4 E00406C4 44800000 */ mtc1 $zero, $f0
/* 3539C8 E00406C8 00031080 */ sll $v0, $v1, 2
/* 3539CC E00406CC 00431021 */ addu $v0, $v0, $v1
/* 3539D0 E00406D0 00021080 */ sll $v0, $v0, 2
/* 3539D4 E00406D4 00431023 */ subu $v0, $v0, $v1
/* 3539D8 E00406D8 000218C0 */ sll $v1, $v0, 3
/* 3539DC E00406DC 00431021 */ addu $v0, $v0, $v1
/* 3539E0 E00406E0 000210C0 */ sll $v0, $v0, 3
/* 3539E4 E00406E4 00551021 */ addu $v0, $v0, $s5
/* 3539E8 E00406E8 44060000 */ mfc1 $a2, $f0
/* 3539EC E00406EC C440006C */ lwc1 $f0, 0x6c($v0)
/* 3539F0 E00406F0 3C073F80 */ lui $a3, 0x3f80
/* 3539F4 E00406F4 46000007 */ neg.s $f0, $f0
/* 3539F8 E00406F8 44050000 */ mfc1 $a1, $f0
/* 3539FC E00406FC 0220202D */ daddu $a0, $s1, $zero
/* 353A00 E0040700 0C080104 */ jal func_E0200410
/* 353A04 E0040704 AFA60010 */ sw $a2, 0x10($sp)
/* 353A08 E0040708 0220202D */ daddu $a0, $s1, $zero
/* 353A0C E004070C 27A50018 */ addiu $a1, $sp, 0x18
/* 353A10 E0040710 27B00098 */ addiu $s0, $sp, 0x98
/* 353A14 E0040714 0C080114 */ jal func_E0200450
/* 353A18 E0040718 0200302D */ daddu $a2, $s0, $zero
/* 353A1C E004071C C6420010 */ lwc1 $f2, 0x10($s2)
/* 353A20 E0040720 C6400030 */ lwc1 $f0, 0x30($s2)
/* 353A24 E0040724 46001002 */ mul.s $f0, $f2, $f0
/* 353A28 E0040728 00000000 */ nop
/* 353A2C E004072C 44050000 */ mfc1 $a1, $f0
/* 353A30 E0040730 C640002C */ lwc1 $f0, 0x2c($s2)
/* 353A34 E0040734 46001002 */ mul.s $f0, $f2, $f0
/* 353A38 E0040738 00000000 */ nop
/* 353A3C E004073C 0220202D */ daddu $a0, $s1, $zero
/* 353A40 E0040740 44071000 */ mfc1 $a3, $f2
/* 353A44 E0040744 3C120001 */ lui $s2, 1
/* 353A48 E0040748 44060000 */ mfc1 $a2, $f0
/* 353A4C E004074C 0C080110 */ jal func_E0200440
/* 353A50 E0040750 36521630 */ ori $s2, $s2, 0x1630
/* 353A54 E0040754 0220202D */ daddu $a0, $s1, $zero
/* 353A58 E0040758 0200282D */ daddu $a1, $s0, $zero
/* 353A5C E004075C 0C080114 */ jal func_E0200450
/* 353A60 E0040760 0200302D */ daddu $a2, $s0, $zero
/* 353A64 E0040764 0200202D */ daddu $a0, $s0, $zero
/* 353A68 E0040768 3C108007 */ lui $s0, %hi(D_800741F0)
/* 353A6C E004076C 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 353A70 E0040770 3C11800A */ lui $s1, %hi(D_8009A674)
/* 353A74 E0040774 2631A674 */ addiu $s1, $s1, %lo(D_8009A674)
/* 353A78 E0040778 96050000 */ lhu $a1, ($s0)
/* 353A7C E004077C 8E220000 */ lw $v0, ($s1)
/* 353A80 E0040780 00052980 */ sll $a1, $a1, 6
/* 353A84 E0040784 00B22821 */ addu $a1, $a1, $s2
/* 353A88 E0040788 0C080118 */ jal func_E0200460
/* 353A8C E004078C 00452821 */ addu $a1, $v0, $a1
/* 353A90 E0040790 3C06D838 */ lui $a2, 0xd838
/* 353A94 E0040794 8E840000 */ lw $a0, ($s4)
/* 353A98 E0040798 34C60002 */ ori $a2, $a2, 2
/* 353A9C E004079C 0080282D */ daddu $a1, $a0, $zero
/* 353AA0 E00407A0 24840008 */ addiu $a0, $a0, 8
/* 353AA4 E00407A4 AE840000 */ sw $a0, ($s4)
/* 353AA8 E00407A8 96020000 */ lhu $v0, ($s0)
/* 353AAC E00407AC 3C03DA38 */ lui $v1, 0xda38
/* 353AB0 E00407B0 ACA30000 */ sw $v1, ($a1)
/* 353AB4 E00407B4 24430001 */ addiu $v1, $v0, 1
/* 353AB8 E00407B8 3042FFFF */ andi $v0, $v0, 0xffff
/* 353ABC E00407BC 00021180 */ sll $v0, $v0, 6
/* 353AC0 E00407C0 A6030000 */ sh $v1, ($s0)
/* 353AC4 E00407C4 8E230000 */ lw $v1, ($s1)
/* 353AC8 E00407C8 00521021 */ addu $v0, $v0, $s2
/* 353ACC E00407CC 00621821 */ addu $v1, $v1, $v0
/* 353AD0 E00407D0 24820008 */ addiu $v0, $a0, 8
/* 353AD4 E00407D4 ACA30004 */ sw $v1, 4($a1)
/* 353AD8 E00407D8 AE820000 */ sw $v0, ($s4)
/* 353ADC E00407DC 3C020900 */ lui $v0, 0x900
/* 353AE0 E00407E0 244208F8 */ addiu $v0, $v0, 0x8f8
/* 353AE4 E00407E4 AC820004 */ sw $v0, 4($a0)
/* 353AE8 E00407E8 24820010 */ addiu $v0, $a0, 0x10
/* 353AEC E00407EC AC930000 */ sw $s3, ($a0)
/* 353AF0 E00407F0 AE820000 */ sw $v0, ($s4)
/* 353AF4 E00407F4 24020040 */ addiu $v0, $zero, 0x40
/* 353AF8 E00407F8 AC82000C */ sw $v0, 0xc($a0)
/* 353AFC E00407FC 24820018 */ addiu $v0, $a0, 0x18
/* 353B00 E0040800 AC860008 */ sw $a2, 8($a0)
/* 353B04 E0040804 AE820000 */ sw $v0, ($s4)
/* 353B08 E0040808 AC960010 */ sw $s6, 0x10($a0)
/* 353B0C E004080C AC800014 */ sw $zero, 0x14($a0)
/* 353B10 E0040810 8FBF00F4 */ lw $ra, 0xf4($sp)
/* 353B14 E0040814 8FB600F0 */ lw $s6, 0xf0($sp)
/* 353B18 E0040818 8FB500EC */ lw $s5, 0xec($sp)
/* 353B1C E004081C 8FB400E8 */ lw $s4, 0xe8($sp)
/* 353B20 E0040820 8FB300E4 */ lw $s3, 0xe4($sp)
/* 353B24 E0040824 8FB200E0 */ lw $s2, 0xe0($sp)
/* 353B28 E0040828 8FB100DC */ lw $s1, 0xdc($sp)
/* 353B2C E004082C 8FB000D8 */ lw $s0, 0xd8($sp)
/* 353B30 E0040830 03E00008 */ jr $ra
/* 353B34 E0040834 27BD00F8 */ addiu $sp, $sp, 0xf8
/* 353B38 E0040838 00000000 */ nop
/* 353B3C E004083C 00000000 */ nop

View File

@ -0,0 +1,147 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0042000
/* 3547A0 E0042000 27BDFF50 */ addiu $sp, $sp, -0xb0
/* 3547A4 E0042004 F7BE00A8 */ sdc1 $f30, 0xa8($sp)
/* 3547A8 E0042008 4485F000 */ mtc1 $a1, $f30
/* 3547AC E004200C AFB30074 */ sw $s3, 0x74($sp)
/* 3547B0 E0042010 8FB300C8 */ lw $s3, 0xc8($sp)
/* 3547B4 E0042014 AFB40078 */ sw $s4, 0x78($sp)
/* 3547B8 E0042018 0080A02D */ daddu $s4, $a0, $zero
/* 3547BC E004201C F7BC00A0 */ sdc1 $f28, 0xa0($sp)
/* 3547C0 E0042020 C7BC00C0 */ lwc1 $f28, 0xc0($sp)
/* 3547C4 E0042024 27A40010 */ addiu $a0, $sp, 0x10
/* 3547C8 E0042028 AFBF007C */ sw $ra, 0x7c($sp)
/* 3547CC E004202C AFB20070 */ sw $s2, 0x70($sp)
/* 3547D0 E0042030 AFB1006C */ sw $s1, 0x6c($sp)
/* 3547D4 E0042034 AFB00068 */ sw $s0, 0x68($sp)
/* 3547D8 E0042038 F7BA0098 */ sdc1 $f26, 0x98($sp)
/* 3547DC E004203C F7B80090 */ sdc1 $f24, 0x90($sp)
/* 3547E0 E0042040 F7B60088 */ sdc1 $f22, 0x88($sp)
/* 3547E4 E0042044 F7B40080 */ sdc1 $f20, 0x80($sp)
/* 3547E8 E0042048 AFA600B8 */ sw $a2, 0xb8($sp)
/* 3547EC E004204C 12600069 */ beqz $s3, .LE00421F4
/* 3547F0 E0042050 AFA700BC */ sw $a3, 0xbc($sp)
/* 3547F4 E0042054 26730001 */ addiu $s3, $s3, 1
/* 3547F8 E0042058 3C02E004 */ lui $v0, %hi(D_E004222C)
/* 3547FC E004205C 2442222C */ addiu $v0, $v0, %lo(D_E004222C)
/* 354800 E0042060 AFA20018 */ sw $v0, 0x18($sp)
/* 354804 E0042064 3C02E004 */ lui $v0, %hi(D_E0042234)
/* 354808 E0042068 24422234 */ addiu $v0, $v0, %lo(D_E0042234)
/* 35480C E004206C AFA2001C */ sw $v0, 0x1c($sp)
/* 354810 E0042070 3C02E004 */ lui $v0, %hi(D_E0042374)
/* 354814 E0042074 24422374 */ addiu $v0, $v0, %lo(D_E0042374)
/* 354818 E0042078 AFA20020 */ sw $v0, 0x20($sp)
/* 35481C E004207C 24020021 */ addiu $v0, $zero, 0x21
/* 354820 E0042080 AFA00010 */ sw $zero, 0x10($sp)
/* 354824 E0042084 AFA00024 */ sw $zero, 0x24($sp)
/* 354828 E0042088 0C080124 */ jal func_E0200490
/* 35482C E004208C AFA20014 */ sw $v0, 0x14($sp)
/* 354830 E0042090 001320C0 */ sll $a0, $s3, 3
/* 354834 E0042094 00932023 */ subu $a0, $a0, $s3
/* 354838 E0042098 000420C0 */ sll $a0, $a0, 3
/* 35483C E004209C 0040802D */ daddu $s0, $v0, $zero
/* 354840 E00420A0 0C08012C */ jal func_E02004B0
/* 354844 E00420A4 AE130008 */ sw $s3, 8($s0)
/* 354848 E00420A8 0040882D */ daddu $s1, $v0, $zero
/* 35484C E00420AC 16200003 */ bnez $s1, .LE00420BC
/* 354850 E00420B0 AE11000C */ sw $s1, 0xc($s0)
.LE00420B4:
/* 354854 E00420B4 0801082D */ j .LE00420B4
/* 354858 E00420B8 00000000 */ nop
.LE00420BC:
/* 35485C E00420BC AE340000 */ sw $s4, ($s1)
/* 354860 E00420C0 E63E0004 */ swc1 $f30, 4($s1)
/* 354864 E00420C4 C7A200B8 */ lwc1 $f2, 0xb8($sp)
/* 354868 E00420C8 2402001E */ addiu $v0, $zero, 0x1e
/* 35486C E00420CC E6220008 */ swc1 $f2, 8($s1)
/* 354870 E00420D0 C7A200BC */ lwc1 $f2, 0xbc($sp)
/* 354874 E00420D4 24120001 */ addiu $s2, $zero, 1
/* 354878 E00420D8 AE220030 */ sw $v0, 0x30($s1)
/* 35487C E00420DC 240200FF */ addiu $v0, $zero, 0xff
/* 354880 E00420E0 AE22002C */ sw $v0, 0x2c($s1)
/* 354884 E00420E4 0253102A */ slt $v0, $s2, $s3
/* 354888 E00420E8 AE200034 */ sw $zero, 0x34($s1)
/* 35488C E00420EC E622000C */ swc1 $f2, 0xc($s1)
/* 354890 E00420F0 10400040 */ beqz $v0, .LE00421F4
/* 354894 E00420F4 26310038 */ addiu $s1, $s1, 0x38
/* 354898 E00420F8 26300024 */ addiu $s0, $s1, 0x24
/* 35489C E00420FC 3C014024 */ lui $at, 0x4024
/* 3548A0 E0042100 4481D800 */ mtc1 $at, $f27
/* 3548A4 E0042104 4480D000 */ mtc1 $zero, $f26
.LE0042108:
/* 3548A8 E0042108 0C080138 */ jal func_E02004E0
/* 3548AC E004210C 2404000A */ addiu $a0, $zero, 0xa
/* 3548B0 E0042110 32440002 */ andi $a0, $s2, 2
/* 3548B4 E0042114 00121FC2 */ srl $v1, $s2, 0x1f
/* 3548B8 E0042118 02431821 */ addu $v1, $s2, $v1
/* 3548BC E004211C 00031843 */ sra $v1, $v1, 1
/* 3548C0 E0042120 00830018 */ mult $a0, $v1
/* 3548C4 E0042124 3C013E80 */ lui $at, 0x3e80
/* 3548C8 E0042128 44811000 */ mtc1 $at, $f2
/* 3548CC E004212C 4482A000 */ mtc1 $v0, $f20
/* 3548D0 E0042130 00000000 */ nop
/* 3548D4 E0042134 4680A520 */ cvt.s.w $f20, $f20
/* 3548D8 E0042138 4602A502 */ mul.s $f20, $f20, $f2
/* 3548DC E004213C 00000000 */ nop
/* 3548E0 E0042140 AE340000 */ sw $s4, ($s1)
/* 3548E4 E0042144 E61EFFE0 */ swc1 $f30, -0x20($s0)
/* 3548E8 E0042148 C7A200C4 */ lwc1 $f2, 0xc4($sp)
/* 3548EC E004214C 00004012 */ mflo $t0
/* 3548F0 E0042150 00081080 */ sll $v0, $t0, 2
/* 3548F4 E0042154 4482C000 */ mtc1 $v0, $f24
/* 3548F8 E0042158 00000000 */ nop
/* 3548FC E004215C 4680C620 */ cvt.s.w $f24, $f24
/* 354900 E0042160 46181600 */ add.s $f24, $f2, $f24
/* 354904 E0042164 C7A200B8 */ lwc1 $f2, 0xb8($sp)
/* 354908 E0042168 E602FFE4 */ swc1 $f2, -0x1c($s0)
/* 35490C E004216C C7A200BC */ lwc1 $f2, 0xbc($sp)
/* 354910 E0042170 E602FFE8 */ swc1 $f2, -0x18($s0)
/* 354914 E0042174 3C0140A0 */ lui $at, 0x40a0
/* 354918 E0042178 44811000 */ mtc1 $at, $f2
/* 35491C E004217C 4600C306 */ mov.s $f12, $f24
/* 354920 E0042180 0C080144 */ jal func_E0200510
/* 354924 E0042184 4602A500 */ add.s $f20, $f20, $f2
/* 354928 E0042188 4600E306 */ mov.s $f12, $f28
/* 35492C E004218C 0C080140 */ jal func_E0200500
/* 354930 E0042190 46000586 */ mov.s $f22, $f0
/* 354934 E0042194 4600B582 */ mul.s $f22, $f22, $f0
/* 354938 E0042198 00000000 */ nop
/* 35493C E004219C 26520001 */ addiu $s2, $s2, 1
/* 354940 E00421A0 26310038 */ addiu $s1, $s1, 0x38
/* 354944 E00421A4 4600C306 */ mov.s $f12, $f24
/* 354948 E00421A8 0C080140 */ jal func_E0200500
/* 35494C E00421AC E616FFEC */ swc1 $f22, -0x14($s0)
/* 354950 E00421B0 4600C306 */ mov.s $f12, $f24
/* 354954 E00421B4 0C080144 */ jal func_E0200510
/* 354958 E00421B8 E600FFF0 */ swc1 $f0, -0x10($s0)
/* 35495C E00421BC 4600E306 */ mov.s $f12, $f28
/* 354960 E00421C0 0C080144 */ jal func_E0200510
/* 354964 E00421C4 46000586 */ mov.s $f22, $f0
/* 354968 E00421C8 E6140004 */ swc1 $f20, 4($s0)
/* 35496C E00421CC 4600A521 */ cvt.d.s $f20, $f20
/* 354970 E00421D0 4600B582 */ mul.s $f22, $f22, $f0
/* 354974 E00421D4 00000000 */ nop
/* 354978 E00421D8 463AA503 */ div.d $f20, $f20, $f26
/* 35497C E00421DC 4620A520 */ cvt.s.d $f20, $f20
/* 354980 E00421E0 0253102A */ slt $v0, $s2, $s3
/* 354984 E00421E4 E6140000 */ swc1 $f20, ($s0)
/* 354988 E00421E8 E616FFF4 */ swc1 $f22, -0xc($s0)
/* 35498C E00421EC 1440FFC6 */ bnez $v0, .LE0042108
/* 354990 E00421F0 26100038 */ addiu $s0, $s0, 0x38
.LE00421F4:
/* 354994 E00421F4 8FBF007C */ lw $ra, 0x7c($sp)
/* 354998 E00421F8 8FB40078 */ lw $s4, 0x78($sp)
/* 35499C E00421FC 8FB30074 */ lw $s3, 0x74($sp)
/* 3549A0 E0042200 8FB20070 */ lw $s2, 0x70($sp)
/* 3549A4 E0042204 8FB1006C */ lw $s1, 0x6c($sp)
/* 3549A8 E0042208 8FB00068 */ lw $s0, 0x68($sp)
/* 3549AC E004220C D7BE00A8 */ ldc1 $f30, 0xa8($sp)
/* 3549B0 E0042210 D7BC00A0 */ ldc1 $f28, 0xa0($sp)
/* 3549B4 E0042214 D7BA0098 */ ldc1 $f26, 0x98($sp)
/* 3549B8 E0042218 D7B80090 */ ldc1 $f24, 0x90($sp)
/* 3549BC E004221C D7B60088 */ ldc1 $f22, 0x88($sp)
/* 3549C0 E0042220 D7B40080 */ ldc1 $f20, 0x80($sp)
/* 3549C4 E0042224 03E00008 */ jr $ra
/* 3549C8 E0042228 27BD00B0 */ addiu $sp, $sp, 0xb0

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E004222C
/* 3549CC E004222C 03E00008 */ jr $ra
/* 3549D0 E0042230 00000000 */ nop

View File

@ -0,0 +1,89 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0042234
/* 3549D4 E0042234 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3549D8 E0042238 AFBF0010 */ sw $ra, 0x10($sp)
/* 3549DC E004223C 8C83000C */ lw $v1, 0xc($a0)
/* 3549E0 E0042240 8C620030 */ lw $v0, 0x30($v1)
/* 3549E4 E0042244 2442FFFF */ addiu $v0, $v0, -1
/* 3549E8 E0042248 AC620030 */ sw $v0, 0x30($v1)
/* 3549EC E004224C 8C620034 */ lw $v0, 0x34($v1)
/* 3549F0 E0042250 8C650030 */ lw $a1, 0x30($v1)
/* 3549F4 E0042254 24420001 */ addiu $v0, $v0, 1
/* 3549F8 E0042258 04A10005 */ bgez $a1, .LE0042270
/* 3549FC E004225C AC620034 */ sw $v0, 0x34($v1)
/* 354A00 E0042260 0C080128 */ jal func_E02004A0
/* 354A04 E0042264 00000000 */ nop
/* 354A08 E0042268 080108DA */ j .LE0042368
/* 354A0C E004226C 00000000 */ nop
.LE0042270:
/* 354A10 E0042270 28A6000A */ slti $a2, $a1, 0xa
/* 354A14 E0042274 10C00009 */ beqz $a2, .LE004229C
/* 354A18 E0042278 00000000 */ nop
/* 354A1C E004227C 3C01E004 */ lui $at, %hi(D_E00427B0)
/* 354A20 E0042280 D42227B0 */ ldc1 $f2, %lo(D_E00427B0)($at)
/* 354A24 E0042284 C460002C */ lwc1 $f0, 0x2c($v1)
/* 354A28 E0042288 46800021 */ cvt.d.w $f0, $f0
/* 354A2C E004228C 46220002 */ mul.d $f0, $f0, $f2
/* 354A30 E0042290 00000000 */ nop
/* 354A34 E0042294 4620040D */ trunc.w.d $f16, $f0
/* 354A38 E0042298 E470002C */ swc1 $f16, 0x2c($v1)
.LE004229C:
/* 354A3C E004229C 8C820008 */ lw $v0, 8($a0)
/* 354A40 E00422A0 24050001 */ addiu $a1, $zero, 1
/* 354A44 E00422A4 00A2102A */ slt $v0, $a1, $v0
/* 354A48 E00422A8 1040002F */ beqz $v0, .LE0042368
/* 354A4C E00422AC 24630038 */ addiu $v1, $v1, 0x38
/* 354A50 E00422B0 24630024 */ addiu $v1, $v1, 0x24
/* 354A54 E00422B4 3C01E004 */ lui $at, %hi(D_E00427B8)
/* 354A58 E00422B8 D42E27B8 */ ldc1 $f14, %lo(D_E00427B8)($at)
/* 354A5C E00422BC 3C014024 */ lui $at, 0x4024
/* 354A60 E00422C0 44816800 */ mtc1 $at, $f13
/* 354A64 E00422C4 44806000 */ mtc1 $zero, $f12
.LE00422C8:
/* 354A68 E00422C8 C4660004 */ lwc1 $f6, 4($v1)
/* 354A6C E00422CC 460031A1 */ cvt.d.s $f6, $f6
/* 354A70 E00422D0 462E3182 */ mul.d $f6, $f6, $f14
/* 354A74 E00422D4 00000000 */ nop
/* 354A78 E00422D8 C4620004 */ lwc1 $f2, 4($v1)
/* 354A7C E00422DC C460FFEC */ lwc1 $f0, -0x14($v1)
/* 354A80 E00422E0 46001082 */ mul.s $f2, $f2, $f0
/* 354A84 E00422E4 00000000 */ nop
/* 354A88 E00422E8 C46A0004 */ lwc1 $f10, 4($v1)
/* 354A8C E00422EC C460FFF0 */ lwc1 $f0, -0x10($v1)
/* 354A90 E00422F0 46005282 */ mul.s $f10, $f10, $f0
/* 354A94 E00422F4 00000000 */ nop
/* 354A98 E00422F8 C4680004 */ lwc1 $f8, 4($v1)
/* 354A9C E00422FC C460FFF4 */ lwc1 $f0, -0xc($v1)
/* 354AA0 E0042300 46004202 */ mul.s $f8, $f8, $f0
/* 354AA4 E0042304 00000000 */ nop
/* 354AA8 E0042308 C464FFE0 */ lwc1 $f4, -0x20($v1)
/* 354AAC E004230C 46022100 */ add.s $f4, $f4, $f2
/* 354AB0 E0042310 C462FFE4 */ lwc1 $f2, -0x1c($v1)
/* 354AB4 E0042314 460A1080 */ add.s $f2, $f2, $f10
/* 354AB8 E0042318 C460FFE8 */ lwc1 $f0, -0x18($v1)
/* 354ABC E004231C 46080000 */ add.s $f0, $f0, $f8
/* 354AC0 E0042320 E464FFE0 */ swc1 $f4, -0x20($v1)
/* 354AC4 E0042324 E462FFE4 */ swc1 $f2, -0x1c($v1)
/* 354AC8 E0042328 E460FFE8 */ swc1 $f0, -0x18($v1)
/* 354ACC E004232C 46203020 */ cvt.s.d $f0, $f6
/* 354AD0 E0042330 10C00008 */ beqz $a2, .LE0042354
/* 354AD4 E0042334 E4600004 */ swc1 $f0, 4($v1)
/* 354AD8 E0042338 46000021 */ cvt.d.s $f0, $f0
/* 354ADC E004233C C4620000 */ lwc1 $f2, ($v1)
/* 354AE0 E0042340 462C0003 */ div.d $f0, $f0, $f12
/* 354AE4 E0042344 460010A1 */ cvt.d.s $f2, $f2
/* 354AE8 E0042348 46201080 */ add.d $f2, $f2, $f0
/* 354AEC E004234C 462010A0 */ cvt.s.d $f2, $f2
/* 354AF0 E0042350 E4620000 */ swc1 $f2, ($v1)
.LE0042354:
/* 354AF4 E0042354 24A50001 */ addiu $a1, $a1, 1
/* 354AF8 E0042358 8C820008 */ lw $v0, 8($a0)
/* 354AFC E004235C 00A2102A */ slt $v0, $a1, $v0
/* 354B00 E0042360 1440FFD9 */ bnez $v0, .LE00422C8
/* 354B04 E0042364 24630038 */ addiu $v1, $v1, 0x38
.LE0042368:
/* 354B08 E0042368 8FBF0010 */ lw $ra, 0x10($sp)
/* 354B0C E004236C 03E00008 */ jr $ra
/* 354B10 E0042370 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0042374
/* 354B14 E0042374 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 354B18 E0042378 3C02E004 */ lui $v0, %hi(D_E00423B8)
/* 354B1C E004237C 244223B8 */ addiu $v0, $v0, %lo(D_E00423B8)
/* 354B20 E0042380 AFA2001C */ sw $v0, 0x1c($sp)
/* 354B24 E0042384 2402002D */ addiu $v0, $zero, 0x2d
/* 354B28 E0042388 AFA40018 */ sw $a0, 0x18($sp)
/* 354B2C E004238C 27A40010 */ addiu $a0, $sp, 0x10
/* 354B30 E0042390 AFBF0020 */ sw $ra, 0x20($sp)
/* 354B34 E0042394 AFA00014 */ sw $zero, 0x14($sp)
/* 354B38 E0042398 0C080120 */ jal func_E0200480
/* 354B3C E004239C AFA20010 */ sw $v0, 0x10($sp)
/* 354B40 E00423A0 8C430000 */ lw $v1, ($v0)
/* 354B44 E00423A4 34630002 */ ori $v1, $v1, 2
/* 354B48 E00423A8 AC430000 */ sw $v1, ($v0)
/* 354B4C E00423AC 8FBF0020 */ lw $ra, 0x20($sp)
/* 354B50 E00423B0 03E00008 */ jr $ra
/* 354B54 E00423B4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,248 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00423B8
/* 354B58 E00423B8 27BDFF28 */ addiu $sp, $sp, -0xd8
/* 354B5C E00423BC 3C05DB06 */ lui $a1, 0xdb06
/* 354B60 E00423C0 34A50024 */ ori $a1, $a1, 0x24
/* 354B64 E00423C4 3C0638E3 */ lui $a2, 0x38e3
/* 354B68 E00423C8 34C68E39 */ ori $a2, $a2, 0x8e39
/* 354B6C E00423CC 3C08800A */ lui $t0, %hi(D_8009A66C)
/* 354B70 E00423D0 2508A66C */ addiu $t0, $t0, %lo(D_8009A66C)
/* 354B74 E00423D4 3C02E700 */ lui $v0, 0xe700
/* 354B78 E00423D8 AFBF00C4 */ sw $ra, 0xc4($sp)
/* 354B7C E00423DC AFBE00C0 */ sw $fp, 0xc0($sp)
/* 354B80 E00423E0 AFB700BC */ sw $s7, 0xbc($sp)
/* 354B84 E00423E4 AFB600B8 */ sw $s6, 0xb8($sp)
/* 354B88 E00423E8 AFB500B4 */ sw $s5, 0xb4($sp)
/* 354B8C E00423EC AFB400B0 */ sw $s4, 0xb0($sp)
/* 354B90 E00423F0 AFB300AC */ sw $s3, 0xac($sp)
/* 354B94 E00423F4 AFB200A8 */ sw $s2, 0xa8($sp)
/* 354B98 E00423F8 AFB100A4 */ sw $s1, 0xa4($sp)
/* 354B9C E00423FC AFB000A0 */ sw $s0, 0xa0($sp)
/* 354BA0 E0042400 F7B600D0 */ sdc1 $f22, 0xd0($sp)
/* 354BA4 E0042404 F7B400C8 */ sdc1 $f20, 0xc8($sp)
/* 354BA8 E0042408 AFA400D8 */ sw $a0, 0xd8($sp)
/* 354BAC E004240C 8D040000 */ lw $a0, ($t0)
/* 354BB0 E0042410 8FA900D8 */ lw $t1, 0xd8($sp)
/* 354BB4 E0042414 0080182D */ daddu $v1, $a0, $zero
/* 354BB8 E0042418 8D27000C */ lw $a3, 0xc($t1)
/* 354BBC E004241C 24840008 */ addiu $a0, $a0, 8
/* 354BC0 E0042420 AC620000 */ sw $v0, ($v1)
/* 354BC4 E0042424 AC600004 */ sw $zero, 4($v1)
/* 354BC8 E0042428 AC850000 */ sw $a1, ($a0)
/* 354BCC E004242C 8D220010 */ lw $v0, 0x10($t1)
/* 354BD0 E0042430 24150001 */ addiu $s5, $zero, 1
/* 354BD4 E0042434 AD040000 */ sw $a0, ($t0)
/* 354BD8 E0042438 8C43001C */ lw $v1, 0x1c($v0)
/* 354BDC E004243C 3C02DE00 */ lui $v0, 0xde00
/* 354BE0 E0042440 AC820008 */ sw $v0, 8($a0)
/* 354BE4 E0042444 3C020900 */ lui $v0, 0x900
/* 354BE8 E0042448 244204C0 */ addiu $v0, $v0, 0x4c0
/* 354BEC E004244C AC82000C */ sw $v0, 0xc($a0)
/* 354BF0 E0042450 3C028000 */ lui $v0, 0x8000
/* 354BF4 E0042454 00621821 */ addu $v1, $v1, $v0
/* 354BF8 E0042458 AC830004 */ sw $v1, 4($a0)
/* 354BFC E004245C 24830008 */ addiu $v1, $a0, 8
/* 354C00 E0042460 8CE20034 */ lw $v0, 0x34($a3)
/* 354C04 E0042464 24840010 */ addiu $a0, $a0, 0x10
/* 354C08 E0042468 AD030000 */ sw $v1, ($t0)
/* 354C0C E004246C 2442FFFF */ addiu $v0, $v0, -1
/* 354C10 E0042470 02A21804 */ sllv $v1, $v0, $s5
/* 354C14 E0042474 00629821 */ addu $s3, $v1, $v0
/* 354C18 E0042478 02660018 */ mult $s3, $a2
/* 354C1C E004247C AD040000 */ sw $a0, ($t0)
/* 354C20 E0042480 8CE9002C */ lw $t1, 0x2c($a3)
/* 354C24 E0042484 001317C3 */ sra $v0, $s3, 0x1f
/* 354C28 E0042488 AFA90098 */ sw $t1, 0x98($sp)
/* 354C2C E004248C 00004810 */ mfhi $t1
/* 354C30 E0042490 000918C3 */ sra $v1, $t1, 3
/* 354C34 E0042494 00621823 */ subu $v1, $v1, $v0
/* 354C38 E0042498 000310C0 */ sll $v0, $v1, 3
/* 354C3C E004249C 00431021 */ addu $v0, $v0, $v1
/* 354C40 E00424A0 00021080 */ sll $v0, $v0, 2
/* 354C44 E00424A4 8FA900D8 */ lw $t1, 0xd8($sp)
/* 354C48 E00424A8 02629823 */ subu $s3, $s3, $v0
/* 354C4C E00424AC 8D220008 */ lw $v0, 8($t1)
/* 354C50 E00424B0 02A2102A */ slt $v0, $s5, $v0
/* 354C54 E00424B4 104000A1 */ beqz $v0, .LE004273C
/* 354C58 E00424B8 24E70038 */ addiu $a3, $a3, 0x38
/* 354C5C E00424BC 0100A02D */ daddu $s4, $t0, $zero
/* 354C60 E00424C0 3C1E38E3 */ lui $fp, 0x38e3
/* 354C64 E00424C4 37DE8E39 */ ori $fp, $fp, 0x8e39
/* 354C68 E00424C8 27B20058 */ addiu $s2, $sp, 0x58
/* 354C6C E00424CC 3C090001 */ lui $t1, 1
/* 354C70 E00424D0 35291630 */ ori $t1, $t1, 0x1630
/* 354C74 E00424D4 24F00024 */ addiu $s0, $a3, 0x24
/* 354C78 E00424D8 24170005 */ addiu $s7, $zero, 5
/* 354C7C E00424DC 24160004 */ addiu $s6, $zero, 4
/* 354C80 E00424E0 4480B000 */ mtc1 $zero, $f22
/* 354C84 E00424E4 3C013F80 */ lui $at, 0x3f80
/* 354C88 E00424E8 4481A000 */ mtc1 $at, $f20
/* 354C8C E00424EC 26710003 */ addiu $s1, $s3, 3
/* 354C90 E00424F0 AFA9009C */ sw $t1, 0x9c($sp)
.LE00424F4:
/* 354C94 E00424F4 27A40018 */ addiu $a0, $sp, 0x18
/* 354C98 E00424F8 02773821 */ addu $a3, $s3, $s7
/* 354C9C E00424FC 26F70003 */ addiu $s7, $s7, 3
/* 354CA0 E0042500 02763021 */ addu $a2, $s3, $s6
/* 354CA4 E0042504 26D60003 */ addiu $s6, $s6, 3
/* 354CA8 E0042508 26B50001 */ addiu $s5, $s5, 1
/* 354CAC E004250C 8E820000 */ lw $v0, ($s4)
/* 354CB0 E0042510 023E0018 */ mult $s1, $fp
/* 354CB4 E0042514 0040402D */ daddu $t0, $v0, $zero
/* 354CB8 E0042518 24420008 */ addiu $v0, $v0, 8
/* 354CBC E004251C AE820000 */ sw $v0, ($s4)
/* 354CC0 E0042520 3C02FA00 */ lui $v0, 0xfa00
/* 354CC4 E0042524 AD020000 */ sw $v0, ($t0)
/* 354CC8 E0042528 001117C3 */ sra $v0, $s1, 0x1f
/* 354CCC E004252C 00004810 */ mfhi $t1
/* 354CD0 E0042530 000918C3 */ sra $v1, $t1, 3
/* 354CD4 E0042534 00621823 */ subu $v1, $v1, $v0
/* 354CD8 E0042538 000328C0 */ sll $a1, $v1, 3
/* 354CDC E004253C 00A32821 */ addu $a1, $a1, $v1
/* 354CE0 E0042540 00052880 */ sll $a1, $a1, 2
/* 354CE4 E0042544 02252823 */ subu $a1, $s1, $a1
/* 354CE8 E0042548 3C09E004 */ lui $t1, %hi(D_E0042780)
/* 354CEC E004254C 25292780 */ addiu $t1, $t1, %lo(D_E0042780)
/* 354CF0 E0042550 00DE0018 */ mult $a2, $fp
/* 354CF4 E0042554 00A92821 */ addu $a1, $a1, $t1
/* 354CF8 E0042558 90A50000 */ lbu $a1, ($a1)
/* 354CFC E004255C 000617C3 */ sra $v0, $a2, 0x1f
/* 354D00 E0042560 00052E00 */ sll $a1, $a1, 0x18
/* 354D04 E0042564 00004810 */ mfhi $t1
/* 354D08 E0042568 000918C3 */ sra $v1, $t1, 3
/* 354D0C E004256C 00621823 */ subu $v1, $v1, $v0
/* 354D10 E0042570 000310C0 */ sll $v0, $v1, 3
/* 354D14 E0042574 00431021 */ addu $v0, $v0, $v1
/* 354D18 E0042578 00021080 */ sll $v0, $v0, 2
/* 354D1C E004257C 00C23023 */ subu $a2, $a2, $v0
/* 354D20 E0042580 3C09E004 */ lui $t1, %hi(D_E0042780)
/* 354D24 E0042584 25292780 */ addiu $t1, $t1, %lo(D_E0042780)
/* 354D28 E0042588 00C93021 */ addu $a2, $a2, $t1
/* 354D2C E004258C 00FE0018 */ mult $a3, $fp
/* 354D30 E0042590 90C60000 */ lbu $a2, ($a2)
/* 354D34 E0042594 000717C3 */ sra $v0, $a3, 0x1f
/* 354D38 E0042598 00063400 */ sll $a2, $a2, 0x10
/* 354D3C E004259C 00A62825 */ or $a1, $a1, $a2
/* 354D40 E00425A0 00004810 */ mfhi $t1
/* 354D44 E00425A4 000918C3 */ sra $v1, $t1, 3
/* 354D48 E00425A8 00621823 */ subu $v1, $v1, $v0
/* 354D4C E00425AC 000310C0 */ sll $v0, $v1, 3
/* 354D50 E00425B0 00431021 */ addu $v0, $v0, $v1
/* 354D54 E00425B4 00021080 */ sll $v0, $v0, 2
/* 354D58 E00425B8 00E23823 */ subu $a3, $a3, $v0
/* 354D5C E00425BC 3C09E004 */ lui $t1, %hi(D_E0042780)
/* 354D60 E00425C0 25292780 */ addiu $t1, $t1, %lo(D_E0042780)
/* 354D64 E00425C4 00E93821 */ addu $a3, $a3, $t1
/* 354D68 E00425C8 90E20000 */ lbu $v0, ($a3)
/* 354D6C E00425CC 8FA90098 */ lw $t1, 0x98($sp)
/* 354D70 E00425D0 00021200 */ sll $v0, $v0, 8
/* 354D74 E00425D4 00A22825 */ or $a1, $a1, $v0
/* 354D78 E00425D8 312200FF */ andi $v0, $t1, 0xff
/* 354D7C E00425DC 00A22825 */ or $a1, $a1, $v0
/* 354D80 E00425E0 AD050004 */ sw $a1, 4($t0)
/* 354D84 E00425E4 8E05FFE0 */ lw $a1, -0x20($s0)
/* 354D88 E00425E8 8E06FFE4 */ lw $a2, -0x1c($s0)
/* 354D8C E00425EC 8E07FFE8 */ lw $a3, -0x18($s0)
/* 354D90 E00425F0 0C080108 */ jal func_E0200420
/* 354D94 E00425F4 26310003 */ addiu $s1, $s1, 3
/* 354D98 E00425F8 3C09800B */ lui $t1, %hi(gCameras)
/* 354D9C E00425FC 25291D80 */ addiu $t1, $t1, %lo(gCameras)
/* 354DA0 E0042600 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 354DA4 E0042604 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 354DA8 E0042608 4406B000 */ mfc1 $a2, $f22
/* 354DAC E004260C 00031080 */ sll $v0, $v1, 2
/* 354DB0 E0042610 00431021 */ addu $v0, $v0, $v1
/* 354DB4 E0042614 00021080 */ sll $v0, $v0, 2
/* 354DB8 E0042618 00431023 */ subu $v0, $v0, $v1
/* 354DBC E004261C 000218C0 */ sll $v1, $v0, 3
/* 354DC0 E0042620 00431021 */ addu $v0, $v0, $v1
/* 354DC4 E0042624 000210C0 */ sll $v0, $v0, 3
/* 354DC8 E0042628 00491021 */ addu $v0, $v0, $t1
/* 354DCC E004262C C440006C */ lwc1 $f0, 0x6c($v0)
/* 354DD0 E0042630 4407A000 */ mfc1 $a3, $f20
/* 354DD4 E0042634 46000007 */ neg.s $f0, $f0
/* 354DD8 E0042638 44050000 */ mfc1 $a1, $f0
/* 354DDC E004263C 0240202D */ daddu $a0, $s2, $zero
/* 354DE0 E0042640 0C080104 */ jal func_E0200410
/* 354DE4 E0042644 E7B60010 */ swc1 $f22, 0x10($sp)
/* 354DE8 E0042648 0240202D */ daddu $a0, $s2, $zero
/* 354DEC E004264C 27A50018 */ addiu $a1, $sp, 0x18
/* 354DF0 E0042650 0C080114 */ jal func_E0200450
/* 354DF4 E0042654 00A0302D */ daddu $a2, $a1, $zero
/* 354DF8 E0042658 0240202D */ daddu $a0, $s2, $zero
/* 354DFC E004265C 8E050000 */ lw $a1, ($s0)
/* 354E00 E0042660 4407A000 */ mfc1 $a3, $f20
/* 354E04 E0042664 0C080110 */ jal func_E0200440
/* 354E08 E0042668 00A0302D */ daddu $a2, $a1, $zero
/* 354E0C E004266C 0240202D */ daddu $a0, $s2, $zero
/* 354E10 E0042670 27A50018 */ addiu $a1, $sp, 0x18
/* 354E14 E0042674 0C080114 */ jal func_E0200450
/* 354E18 E0042678 00A0302D */ daddu $a2, $a1, $zero
/* 354E1C E004267C 27A40018 */ addiu $a0, $sp, 0x18
/* 354E20 E0042680 3C058007 */ lui $a1, %hi(D_800741F0)
/* 354E24 E0042684 94A541F0 */ lhu $a1, %lo(D_800741F0)($a1)
/* 354E28 E0042688 3C02800A */ lui $v0, %hi(D_8009A674)
/* 354E2C E004268C 8C42A674 */ lw $v0, %lo(D_8009A674)($v0)
/* 354E30 E0042690 8FA9009C */ lw $t1, 0x9c($sp)
/* 354E34 E0042694 00052980 */ sll $a1, $a1, 6
/* 354E38 E0042698 00A92821 */ addu $a1, $a1, $t1
/* 354E3C E004269C 0C080118 */ jal func_E0200460
/* 354E40 E00426A0 00452821 */ addu $a1, $v0, $a1
/* 354E44 E00426A4 3C06D838 */ lui $a2, 0xd838
/* 354E48 E00426A8 8E840000 */ lw $a0, ($s4)
/* 354E4C E00426AC 34C60002 */ ori $a2, $a2, 2
/* 354E50 E00426B0 0080282D */ daddu $a1, $a0, $zero
/* 354E54 E00426B4 24840008 */ addiu $a0, $a0, 8
/* 354E58 E00426B8 AE840000 */ sw $a0, ($s4)
/* 354E5C E00426BC 3C028007 */ lui $v0, %hi(D_800741F0)
/* 354E60 E00426C0 944241F0 */ lhu $v0, %lo(D_800741F0)($v0)
/* 354E64 E00426C4 3C03DA38 */ lui $v1, 0xda38
/* 354E68 E00426C8 ACA30000 */ sw $v1, ($a1)
/* 354E6C E00426CC 8FA9009C */ lw $t1, 0x9c($sp)
/* 354E70 E00426D0 24430001 */ addiu $v1, $v0, 1
/* 354E74 E00426D4 3042FFFF */ andi $v0, $v0, 0xffff
/* 354E78 E00426D8 00021180 */ sll $v0, $v0, 6
/* 354E7C E00426DC 3C018007 */ lui $at, %hi(D_800741F0)
/* 354E80 E00426E0 A42341F0 */ sh $v1, %lo(D_800741F0)($at)
/* 354E84 E00426E4 3C03800A */ lui $v1, %hi(D_8009A674)
/* 354E88 E00426E8 8C63A674 */ lw $v1, %lo(D_8009A674)($v1)
/* 354E8C E00426EC 00491021 */ addu $v0, $v0, $t1
/* 354E90 E00426F0 00621821 */ addu $v1, $v1, $v0
/* 354E94 E00426F4 24820008 */ addiu $v0, $a0, 8
/* 354E98 E00426F8 ACA30004 */ sw $v1, 4($a1)
/* 354E9C E00426FC AE820000 */ sw $v0, ($s4)
/* 354EA0 E0042700 3C02DE00 */ lui $v0, 0xde00
/* 354EA4 E0042704 3C090900 */ lui $t1, 0x900
/* 354EA8 E0042708 252905E0 */ addiu $t1, $t1, 0x5e0
/* 354EAC E004270C AC820000 */ sw $v0, ($a0)
/* 354EB0 E0042710 24020040 */ addiu $v0, $zero, 0x40
/* 354EB4 E0042714 AC890004 */ sw $t1, 4($a0)
/* 354EB8 E0042718 AC860008 */ sw $a2, 8($a0)
/* 354EBC E004271C AC82000C */ sw $v0, 0xc($a0)
/* 354EC0 E0042720 8FA900D8 */ lw $t1, 0xd8($sp)
/* 354EC4 E0042724 26100038 */ addiu $s0, $s0, 0x38
/* 354EC8 E0042728 8D220008 */ lw $v0, 8($t1)
/* 354ECC E004272C 24840010 */ addiu $a0, $a0, 0x10
/* 354ED0 E0042730 02A2102A */ slt $v0, $s5, $v0
/* 354ED4 E0042734 1440FF6F */ bnez $v0, .LE00424F4
/* 354ED8 E0042738 AE840000 */ sw $a0, ($s4)
.LE004273C:
/* 354EDC E004273C 8FBF00C4 */ lw $ra, 0xc4($sp)
/* 354EE0 E0042740 8FBE00C0 */ lw $fp, 0xc0($sp)
/* 354EE4 E0042744 8FB700BC */ lw $s7, 0xbc($sp)
/* 354EE8 E0042748 8FB600B8 */ lw $s6, 0xb8($sp)
/* 354EEC E004274C 8FB500B4 */ lw $s5, 0xb4($sp)
/* 354EF0 E0042750 8FB400B0 */ lw $s4, 0xb0($sp)
/* 354EF4 E0042754 8FB300AC */ lw $s3, 0xac($sp)
/* 354EF8 E0042758 8FB200A8 */ lw $s2, 0xa8($sp)
/* 354EFC E004275C 8FB100A4 */ lw $s1, 0xa4($sp)
/* 354F00 E0042760 8FB000A0 */ lw $s0, 0xa0($sp)
/* 354F04 E0042764 D7B600D0 */ ldc1 $f22, 0xd0($sp)
/* 354F08 E0042768 D7B400C8 */ ldc1 $f20, 0xc8($sp)
/* 354F0C E004276C 03E00008 */ jr $ra
/* 354F10 E0042770 27BD00D8 */ addiu $sp, $sp, 0xd8
/* 354F14 E0042774 00000000 */ nop
/* 354F18 E0042778 00000000 */ nop
/* 354F1C E004277C 00000000 */ nop

View File

@ -0,0 +1,140 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E004C000
/* 359F20 E004C000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 359F24 E004C004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 359F28 E004C008 4485A000 */ mtc1 $a1, $f20
/* 359F2C E004C00C AFB1002C */ sw $s1, 0x2c($sp)
/* 359F30 E004C010 0080882D */ daddu $s1, $a0, $zero
/* 359F34 E004C014 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 359F38 E004C018 4486B000 */ mtc1 $a2, $f22
/* 359F3C E004C01C 27A40010 */ addiu $a0, $sp, 0x10
/* 359F40 E004C020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 359F44 E004C024 4487C000 */ mtc1 $a3, $f24
/* 359F48 E004C028 3C02E005 */ lui $v0, %hi(D_E004C204)
/* 359F4C E004C02C 2442C204 */ addiu $v0, $v0, %lo(D_E004C204)
/* 359F50 E004C030 AFA20018 */ sw $v0, 0x18($sp)
/* 359F54 E004C034 3C02E005 */ lui $v0, %hi(D_E004C20C)
/* 359F58 E004C038 2442C20C */ addiu $v0, $v0, %lo(D_E004C20C)
/* 359F5C E004C03C AFA2001C */ sw $v0, 0x1c($sp)
/* 359F60 E004C040 3C02E005 */ lui $v0, %hi(D_E004C364)
/* 359F64 E004C044 2442C364 */ addiu $v0, $v0, %lo(D_E004C364)
/* 359F68 E004C048 AFA20020 */ sw $v0, 0x20($sp)
/* 359F6C E004C04C 24020026 */ addiu $v0, $zero, 0x26
/* 359F70 E004C050 AFBF0030 */ sw $ra, 0x30($sp)
/* 359F74 E004C054 AFB00028 */ sw $s0, 0x28($sp)
/* 359F78 E004C058 AFA00010 */ sw $zero, 0x10($sp)
/* 359F7C E004C05C AFA00024 */ sw $zero, 0x24($sp)
/* 359F80 E004C060 0C080124 */ jal func_E0200490
/* 359F84 E004C064 AFA20014 */ sw $v0, 0x14($sp)
/* 359F88 E004C068 24040034 */ addiu $a0, $zero, 0x34
/* 359F8C E004C06C 24030001 */ addiu $v1, $zero, 1
/* 359F90 E004C070 0040802D */ daddu $s0, $v0, $zero
/* 359F94 E004C074 0C08012C */ jal func_E02004B0
/* 359F98 E004C078 AE030008 */ sw $v1, 8($s0)
/* 359F9C E004C07C AE02000C */ sw $v0, 0xc($s0)
/* 359FA0 E004C080 0040802D */ daddu $s0, $v0, $zero
/* 359FA4 E004C084 16000003 */ bnez $s0, .LE004C094
/* 359FA8 E004C088 24040006 */ addiu $a0, $zero, 6
.LE004C08C:
/* 359FAC E004C08C 08013023 */ j .LE004C08C
/* 359FB0 E004C090 00000000 */ nop
.LE004C094:
/* 359FB4 E004C094 24020040 */ addiu $v0, $zero, 0x40
/* 359FB8 E004C098 AE110000 */ sw $s1, ($s0)
/* 359FBC E004C09C E6140004 */ swc1 $f20, 4($s0)
/* 359FC0 E004C0A0 E6160008 */ swc1 $f22, 8($s0)
/* 359FC4 E004C0A4 E618000C */ swc1 $f24, 0xc($s0)
/* 359FC8 E004C0A8 AE000010 */ sw $zero, 0x10($s0)
/* 359FCC E004C0AC AE020018 */ sw $v0, 0x18($s0)
/* 359FD0 E004C0B0 AE000014 */ sw $zero, 0x14($s0)
/* 359FD4 E004C0B4 0C080138 */ jal func_E02004E0
/* 359FD8 E004C0B8 AE00001C */ sw $zero, 0x1c($s0)
/* 359FDC E004C0BC 12200006 */ beqz $s1, .LE004C0D8
/* 359FE0 E004C0C0 AE020020 */ sw $v0, 0x20($s0)
/* 359FE4 E004C0C4 24020001 */ addiu $v0, $zero, 1
/* 359FE8 E004C0C8 1222000A */ beq $s1, $v0, .LE004C0F4
/* 359FEC E004C0CC 00000000 */ nop
/* 359FF0 E004C0D0 08013059 */ j .LE004C164
/* 359FF4 E004C0D4 00000000 */ nop
.LE004C0D8:
/* 359FF8 E004C0D8 3C013F80 */ lui $at, 0x3f80
/* 359FFC E004C0DC 44810000 */ mtc1 $at, $f0
/* 35A000 E004C0E0 AE000024 */ sw $zero, 0x24($s0)
/* 35A004 E004C0E4 AE00002C */ sw $zero, 0x2c($s0)
/* 35A008 E004C0E8 E6000028 */ swc1 $f0, 0x28($s0)
/* 35A00C E004C0EC 08013079 */ j .LE004C1E4
/* 35A010 E004C0F0 E6000030 */ swc1 $f0, 0x30($s0)
.LE004C0F4:
/* 35A014 E004C0F4 0C080138 */ jal func_E02004E0
/* 35A018 E004C0F8 2404000A */ addiu $a0, $zero, 0xa
/* 35A01C E004C0FC 3C01E005 */ lui $at, %hi(D_E004C6A0)
/* 35A020 E004C100 D434C6A0 */ ldc1 $f20, %lo(D_E004C6A0)($at)
/* 35A024 E004C104 44820000 */ mtc1 $v0, $f0
/* 35A028 E004C108 00000000 */ nop
/* 35A02C E004C10C 46800021 */ cvt.d.w $f0, $f0
/* 35A030 E004C110 46340002 */ mul.d $f0, $f0, $f20
/* 35A034 E004C114 00000000 */ nop
/* 35A038 E004C118 3C01C014 */ lui $at, 0xc014
/* 35A03C E004C11C 44811800 */ mtc1 $at, $f3
/* 35A040 E004C120 44801000 */ mtc1 $zero, $f2
/* 35A044 E004C124 00000000 */ nop
/* 35A048 E004C128 46220000 */ add.d $f0, $f0, $f2
/* 35A04C E004C12C 2404000A */ addiu $a0, $zero, 0xa
/* 35A050 E004C130 46200020 */ cvt.s.d $f0, $f0
/* 35A054 E004C134 0C080138 */ jal func_E02004E0
/* 35A058 E004C138 E6000024 */ swc1 $f0, 0x24($s0)
/* 35A05C E004C13C 44820000 */ mtc1 $v0, $f0
/* 35A060 E004C140 00000000 */ nop
/* 35A064 E004C144 46800021 */ cvt.d.w $f0, $f0
/* 35A068 E004C148 46340002 */ mul.d $f0, $f0, $f20
/* 35A06C E004C14C 00000000 */ nop
/* 35A070 E004C150 3C013FE0 */ lui $at, 0x3fe0
/* 35A074 E004C154 44811800 */ mtc1 $at, $f3
/* 35A078 E004C158 44801000 */ mtc1 $zero, $f2
/* 35A07C E004C15C 08013075 */ j .LE004C1D4
/* 35A080 E004C160 46220000 */ add.d $f0, $f0, $f2
.LE004C164:
/* 35A084 E004C164 0C080138 */ jal func_E02004E0
/* 35A088 E004C168 2404000A */ addiu $a0, $zero, 0xa
/* 35A08C E004C16C 3C01E005 */ lui $at, %hi(D_E004C6A8)
/* 35A090 E004C170 D434C6A8 */ ldc1 $f20, %lo(D_E004C6A8)($at)
/* 35A094 E004C174 44821000 */ mtc1 $v0, $f2
/* 35A098 E004C178 00000000 */ nop
/* 35A09C E004C17C 468010A1 */ cvt.d.w $f2, $f2
/* 35A0A0 E004C180 46341082 */ mul.d $f2, $f2, $f20
/* 35A0A4 E004C184 00000000 */ nop
/* 35A0A8 E004C188 3C014014 */ lui $at, 0x4014
/* 35A0AC E004C18C 44810800 */ mtc1 $at, $f1
/* 35A0B0 E004C190 44800000 */ mtc1 $zero, $f0
/* 35A0B4 E004C194 00000000 */ nop
/* 35A0B8 E004C198 46220001 */ sub.d $f0, $f0, $f2
/* 35A0BC E004C19C 2404000A */ addiu $a0, $zero, 0xa
/* 35A0C0 E004C1A0 46200020 */ cvt.s.d $f0, $f0
/* 35A0C4 E004C1A4 0C080138 */ jal func_E02004E0
/* 35A0C8 E004C1A8 E6000024 */ swc1 $f0, 0x24($s0)
/* 35A0CC E004C1AC 44820000 */ mtc1 $v0, $f0
/* 35A0D0 E004C1B0 00000000 */ nop
/* 35A0D4 E004C1B4 46800021 */ cvt.d.w $f0, $f0
/* 35A0D8 E004C1B8 46340002 */ mul.d $f0, $f0, $f20
/* 35A0DC E004C1BC 00000000 */ nop
/* 35A0E0 E004C1C0 3C013FF0 */ lui $at, 0x3ff0
/* 35A0E4 E004C1C4 44811800 */ mtc1 $at, $f3
/* 35A0E8 E004C1C8 44801000 */ mtc1 $zero, $f2
/* 35A0EC E004C1CC 00000000 */ nop
/* 35A0F0 E004C1D0 46220000 */ add.d $f0, $f0, $f2
.LE004C1D4:
/* 35A0F4 E004C1D4 AE00002C */ sw $zero, 0x2c($s0)
/* 35A0F8 E004C1D8 AE000030 */ sw $zero, 0x30($s0)
/* 35A0FC E004C1DC 46200020 */ cvt.s.d $f0, $f0
/* 35A100 E004C1E0 E6000028 */ swc1 $f0, 0x28($s0)
.LE004C1E4:
/* 35A104 E004C1E4 8FBF0030 */ lw $ra, 0x30($sp)
/* 35A108 E004C1E8 8FB1002C */ lw $s1, 0x2c($sp)
/* 35A10C E004C1EC 8FB00028 */ lw $s0, 0x28($sp)
/* 35A110 E004C1F0 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 35A114 E004C1F4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 35A118 E004C1F8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 35A11C E004C1FC 03E00008 */ jr $ra
/* 35A120 E004C200 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E004C204
/* 35A124 E004C204 03E00008 */ jr $ra
/* 35A128 E004C208 00000000 */ nop

View File

@ -0,0 +1,94 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E004C20C
/* 35A12C E004C20C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 35A130 E004C210 AFBF0010 */ sw $ra, 0x10($sp)
/* 35A134 E004C214 8C85000C */ lw $a1, 0xc($a0)
/* 35A138 E004C218 8CA20018 */ lw $v0, 0x18($a1)
/* 35A13C E004C21C 2442FFFF */ addiu $v0, $v0, -1
/* 35A140 E004C220 ACA20018 */ sw $v0, 0x18($a1)
/* 35A144 E004C224 8CA2001C */ lw $v0, 0x1c($a1)
/* 35A148 E004C228 8CA60018 */ lw $a2, 0x18($a1)
/* 35A14C E004C22C 24420001 */ addiu $v0, $v0, 1
/* 35A150 E004C230 04C10005 */ bgez $a2, .LE004C248
/* 35A154 E004C234 ACA2001C */ sw $v0, 0x1c($a1)
/* 35A158 E004C238 0C080128 */ jal func_E02004A0
/* 35A15C E004C23C 00000000 */ nop
/* 35A160 E004C240 080130D6 */ j .LE004C358
/* 35A164 E004C244 00000000 */ nop
.LE004C248:
/* 35A168 E004C248 28C20006 */ slti $v0, $a2, 6
/* 35A16C E004C24C 1440001E */ bnez $v0, .LE004C2C8
/* 35A170 E004C250 28C2000A */ slti $v0, $a2, 0xa
/* 35A174 E004C254 240200FF */ addiu $v0, $zero, 0xff
/* 35A178 E004C258 8CA30014 */ lw $v1, 0x14($a1)
/* 35A17C E004C25C 3C01E005 */ lui $at, %hi(D_E004C6B0)
/* 35A180 E004C260 D424C6B0 */ ldc1 $f4, %lo(D_E004C6B0)($at)
/* 35A184 E004C264 00431023 */ subu $v0, $v0, $v1
/* 35A188 E004C268 44823000 */ mtc1 $v0, $f6
/* 35A18C E004C26C 00000000 */ nop
/* 35A190 E004C270 468031A1 */ cvt.d.w $f6, $f6
/* 35A194 E004C274 46243182 */ mul.d $f6, $f6, $f4
/* 35A198 E004C278 00000000 */ nop
/* 35A19C E004C27C C4A20010 */ lwc1 $f2, 0x10($a1)
/* 35A1A0 E004C280 3C013F80 */ lui $at, 0x3f80
/* 35A1A4 E004C284 44810000 */ mtc1 $at, $f0
/* 35A1A8 E004C288 00000000 */ nop
/* 35A1AC E004C28C 46020001 */ sub.s $f0, $f0, $f2
/* 35A1B0 E004C290 46000021 */ cvt.d.s $f0, $f0
/* 35A1B4 E004C294 46240002 */ mul.d $f0, $f0, $f4
/* 35A1B8 E004C298 00000000 */ nop
/* 35A1BC E004C29C 44832000 */ mtc1 $v1, $f4
/* 35A1C0 E004C2A0 00000000 */ nop
/* 35A1C4 E004C2A4 46802121 */ cvt.d.w $f4, $f4
/* 35A1C8 E004C2A8 46262100 */ add.d $f4, $f4, $f6
/* 35A1CC E004C2AC 460010A1 */ cvt.d.s $f2, $f2
/* 35A1D0 E004C2B0 46201080 */ add.d $f2, $f2, $f0
/* 35A1D4 E004C2B4 4620238D */ trunc.w.d $f14, $f4
/* 35A1D8 E004C2B8 E4AE0014 */ swc1 $f14, 0x14($a1)
/* 35A1DC E004C2BC 462010A0 */ cvt.s.d $f2, $f2
/* 35A1E0 E004C2C0 E4A20010 */ swc1 $f2, 0x10($a1)
/* 35A1E4 E004C2C4 28C2000A */ slti $v0, $a2, 0xa
.LE004C2C8:
/* 35A1E8 E004C2C8 10400005 */ beqz $v0, .LE004C2E0
/* 35A1EC E004C2CC 00061040 */ sll $v0, $a2, 1
/* 35A1F0 E004C2D0 00461021 */ addu $v0, $v0, $a2
/* 35A1F4 E004C2D4 000210C0 */ sll $v0, $v0, 3
/* 35A1F8 E004C2D8 00461021 */ addu $v0, $v0, $a2
/* 35A1FC E004C2DC ACA20014 */ sw $v0, 0x14($a1)
.LE004C2E0:
/* 35A200 E004C2E0 C4A60024 */ lwc1 $f6, 0x24($a1)
/* 35A204 E004C2E4 C4A4002C */ lwc1 $f4, 0x2c($a1)
/* 35A208 E004C2E8 46062101 */ sub.s $f4, $f4, $f6
/* 35A20C E004C2EC 3C01E005 */ lui $at, %hi(D_E004C6B8)
/* 35A210 E004C2F0 D428C6B8 */ ldc1 $f8, %lo(D_E004C6B8)($at)
/* 35A214 E004C2F4 46002121 */ cvt.d.s $f4, $f4
/* 35A218 E004C2F8 46282102 */ mul.d $f4, $f4, $f8
/* 35A21C E004C2FC 00000000 */ nop
/* 35A220 E004C300 C4A20028 */ lwc1 $f2, 0x28($a1)
/* 35A224 E004C304 C4A00030 */ lwc1 $f0, 0x30($a1)
/* 35A228 E004C308 46020001 */ sub.s $f0, $f0, $f2
/* 35A22C E004C30C 46000021 */ cvt.d.s $f0, $f0
/* 35A230 E004C310 46280002 */ mul.d $f0, $f0, $f8
/* 35A234 E004C314 00000000 */ nop
/* 35A238 E004C318 C4AA0004 */ lwc1 $f10, 4($a1)
/* 35A23C E004C31C 46003206 */ mov.s $f8, $f6
/* 35A240 E004C320 46085280 */ add.s $f10, $f10, $f8
/* 35A244 E004C324 C4AC0008 */ lwc1 $f12, 8($a1)
/* 35A248 E004C328 46001206 */ mov.s $f8, $f2
/* 35A24C E004C32C 46086300 */ add.s $f12, $f12, $f8
/* 35A250 E004C330 460031A1 */ cvt.d.s $f6, $f6
/* 35A254 E004C334 46243180 */ add.d $f6, $f6, $f4
/* 35A258 E004C338 460010A1 */ cvt.d.s $f2, $f2
/* 35A25C E004C33C E4AA0004 */ swc1 $f10, 4($a1)
/* 35A260 E004C340 46201080 */ add.d $f2, $f2, $f0
/* 35A264 E004C344 E4AC0008 */ swc1 $f12, 8($a1)
/* 35A268 E004C348 462031A0 */ cvt.s.d $f6, $f6
/* 35A26C E004C34C 462010A0 */ cvt.s.d $f2, $f2
/* 35A270 E004C350 E4A60024 */ swc1 $f6, 0x24($a1)
/* 35A274 E004C354 E4A20028 */ swc1 $f2, 0x28($a1)
.LE004C358:
/* 35A278 E004C358 8FBF0010 */ lw $ra, 0x10($sp)
/* 35A27C E004C35C 03E00008 */ jr $ra
/* 35A280 E004C360 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E004C364
/* 35A284 E004C364 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 35A288 E004C368 3C02E005 */ lui $v0, %hi(D_E004C3A8)
/* 35A28C E004C36C 2442C3A8 */ addiu $v0, $v0, %lo(D_E004C3A8)
/* 35A290 E004C370 AFA2001C */ sw $v0, 0x1c($sp)
/* 35A294 E004C374 2402002D */ addiu $v0, $zero, 0x2d
/* 35A298 E004C378 AFA40018 */ sw $a0, 0x18($sp)
/* 35A29C E004C37C 27A40010 */ addiu $a0, $sp, 0x10
/* 35A2A0 E004C380 AFBF0020 */ sw $ra, 0x20($sp)
/* 35A2A4 E004C384 AFA00014 */ sw $zero, 0x14($sp)
/* 35A2A8 E004C388 0C080120 */ jal func_E0200480
/* 35A2AC E004C38C AFA20010 */ sw $v0, 0x10($sp)
/* 35A2B0 E004C390 8C430000 */ lw $v1, ($v0)
/* 35A2B4 E004C394 34630002 */ ori $v1, $v1, 2
/* 35A2B8 E004C398 AC430000 */ sw $v1, ($v0)
/* 35A2BC E004C39C 8FBF0020 */ lw $ra, 0x20($sp)
/* 35A2C0 E004C3A0 03E00008 */ jr $ra
/* 35A2C4 E004C3A4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,178 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E004C3A8
/* 35A2C8 E004C3A8 27BDFF40 */ addiu $sp, $sp, -0xc0
/* 35A2CC E004C3AC 0080182D */ daddu $v1, $a0, $zero
/* 35A2D0 E004C3B0 3C0838E3 */ lui $t0, 0x38e3
/* 35A2D4 E004C3B4 35088E39 */ ori $t0, $t0, 0x8e39
/* 35A2D8 E004C3B8 3C05DB06 */ lui $a1, 0xdb06
/* 35A2DC E004C3BC 34A50024 */ ori $a1, $a1, 0x24
/* 35A2E0 E004C3C0 27A40018 */ addiu $a0, $sp, 0x18
/* 35A2E4 E004C3C4 AFB500AC */ sw $s5, 0xac($sp)
/* 35A2E8 E004C3C8 3C150001 */ lui $s5, 1
/* 35A2EC E004C3CC AFB200A0 */ sw $s2, 0xa0($sp)
/* 35A2F0 E004C3D0 3C12800A */ lui $s2, %hi(D_8009A66C)
/* 35A2F4 E004C3D4 2652A66C */ addiu $s2, $s2, %lo(D_8009A66C)
/* 35A2F8 E004C3D8 AFB600B0 */ sw $s6, 0xb0($sp)
/* 35A2FC E004C3DC 3C16E700 */ lui $s6, 0xe700
/* 35A300 E004C3E0 AFBF00B4 */ sw $ra, 0xb4($sp)
/* 35A304 E004C3E4 AFB400A8 */ sw $s4, 0xa8($sp)
/* 35A308 E004C3E8 AFB300A4 */ sw $s3, 0xa4($sp)
/* 35A30C E004C3EC AFB1009C */ sw $s1, 0x9c($sp)
/* 35A310 E004C3F0 AFB00098 */ sw $s0, 0x98($sp)
/* 35A314 E004C3F4 F7B400B8 */ sdc1 $f20, 0xb8($sp)
/* 35A318 E004C3F8 8E460000 */ lw $a2, ($s2)
/* 35A31C E004C3FC 8C71000C */ lw $s1, 0xc($v1)
/* 35A320 E004C400 00C0102D */ daddu $v0, $a2, $zero
/* 35A324 E004C404 24C60008 */ addiu $a2, $a2, 8
/* 35A328 E004C408 AE460000 */ sw $a2, ($s2)
/* 35A32C E004C40C 8E27001C */ lw $a3, 0x1c($s1)
/* 35A330 E004C410 8E330020 */ lw $s3, 0x20($s1)
/* 35A334 E004C414 3C14DE00 */ lui $s4, 0xde00
/* 35A338 E004C418 AC560000 */ sw $s6, ($v0)
/* 35A33C E004C41C AC400004 */ sw $zero, 4($v0)
/* 35A340 E004C420 24C20008 */ addiu $v0, $a2, 8
/* 35A344 E004C424 AE420000 */ sw $v0, ($s2)
/* 35A348 E004C428 24C20010 */ addiu $v0, $a2, 0x10
/* 35A34C E004C42C ACC50000 */ sw $a1, ($a2)
/* 35A350 E004C430 AE420000 */ sw $v0, ($s2)
/* 35A354 E004C434 8C630010 */ lw $v1, 0x10($v1)
/* 35A358 E004C438 24C20018 */ addiu $v0, $a2, 0x18
/* 35A35C E004C43C AE420000 */ sw $v0, ($s2)
/* 35A360 E004C440 3C020900 */ lui $v0, 0x900
/* 35A364 E004C444 24420FC0 */ addiu $v0, $v0, 0xfc0
/* 35A368 E004C448 00072840 */ sll $a1, $a3, 1
/* 35A36C E004C44C 8C63001C */ lw $v1, 0x1c($v1)
/* 35A370 E004C450 00A72821 */ addu $a1, $a1, $a3
/* 35A374 E004C454 ACC2000C */ sw $v0, 0xc($a2)
/* 35A378 E004C458 3C02FA00 */ lui $v0, 0xfa00
/* 35A37C E004C45C ACC20010 */ sw $v0, 0x10($a2)
/* 35A380 E004C460 3C028000 */ lui $v0, 0x8000
/* 35A384 E004C464 00A80018 */ mult $a1, $t0
/* 35A388 E004C468 ACD40008 */ sw $s4, 8($a2)
/* 35A38C E004C46C 00621821 */ addu $v1, $v1, $v0
/* 35A390 E004C470 000517C3 */ sra $v0, $a1, 0x1f
/* 35A394 E004C474 ACC30004 */ sw $v1, 4($a2)
/* 35A398 E004C478 00004810 */ mfhi $t1
/* 35A39C E004C47C 000918C3 */ sra $v1, $t1, 3
/* 35A3A0 E004C480 00621823 */ subu $v1, $v1, $v0
/* 35A3A4 E004C484 000310C0 */ sll $v0, $v1, 3
/* 35A3A8 E004C488 00431021 */ addu $v0, $v0, $v1
/* 35A3AC E004C48C 00021080 */ sll $v0, $v0, 2
/* 35A3B0 E004C490 00A22823 */ subu $a1, $a1, $v0
/* 35A3B4 E004C494 3C02E005 */ lui $v0, %hi(D_E004C67C)
/* 35A3B8 E004C498 00451021 */ addu $v0, $v0, $a1
/* 35A3BC E004C49C 9042C67C */ lbu $v0, %lo(D_E004C67C)($v0)
/* 35A3C0 E004C4A0 3C03E005 */ lui $v1, %hi(D_E004C67D)
/* 35A3C4 E004C4A4 00651821 */ addu $v1, $v1, $a1
/* 35A3C8 E004C4A8 9063C67D */ lbu $v1, %lo(D_E004C67D)($v1)
/* 35A3CC E004C4AC 3C01E005 */ lui $at, %hi(D_E004C67E)
/* 35A3D0 E004C4B0 00250821 */ addu $at, $at, $a1
/* 35A3D4 E004C4B4 9025C67E */ lbu $a1, %lo(D_E004C67E)($at)
/* 35A3D8 E004C4B8 00021600 */ sll $v0, $v0, 0x18
/* 35A3DC E004C4BC 00031C00 */ sll $v1, $v1, 0x10
/* 35A3E0 E004C4C0 00431025 */ or $v0, $v0, $v1
/* 35A3E4 E004C4C4 00052A00 */ sll $a1, $a1, 8
/* 35A3E8 E004C4C8 92230017 */ lbu $v1, 0x17($s1)
/* 35A3EC E004C4CC 00451025 */ or $v0, $v0, $a1
/* 35A3F0 E004C4D0 00431025 */ or $v0, $v0, $v1
/* 35A3F4 E004C4D4 ACC20014 */ sw $v0, 0x14($a2)
/* 35A3F8 E004C4D8 8E250004 */ lw $a1, 4($s1)
/* 35A3FC E004C4DC 8E260008 */ lw $a2, 8($s1)
/* 35A400 E004C4E0 8E27000C */ lw $a3, 0xc($s1)
/* 35A404 E004C4E4 4480A000 */ mtc1 $zero, $f20
/* 35A408 E004C4E8 0C080108 */ jal func_E0200420
/* 35A40C E004C4EC 36B51630 */ ori $s5, $s5, 0x1630
/* 35A410 E004C4F0 27B00058 */ addiu $s0, $sp, 0x58
/* 35A414 E004C4F4 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 35A418 E004C4F8 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 35A41C E004C4FC 4406A000 */ mfc1 $a2, $f20
/* 35A420 E004C500 00031080 */ sll $v0, $v1, 2
/* 35A424 E004C504 00431021 */ addu $v0, $v0, $v1
/* 35A428 E004C508 00021080 */ sll $v0, $v0, 2
/* 35A42C E004C50C 00431023 */ subu $v0, $v0, $v1
/* 35A430 E004C510 000218C0 */ sll $v1, $v0, 3
/* 35A434 E004C514 00431021 */ addu $v0, $v0, $v1
/* 35A438 E004C518 000210C0 */ sll $v0, $v0, 3
/* 35A43C E004C51C 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 35A440 E004C520 00220821 */ addu $at, $at, $v0
/* 35A444 E004C524 C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 35A448 E004C528 3C073F80 */ lui $a3, 0x3f80
/* 35A44C E004C52C 46000007 */ neg.s $f0, $f0
/* 35A450 E004C530 44050000 */ mfc1 $a1, $f0
/* 35A454 E004C534 0200202D */ daddu $a0, $s0, $zero
/* 35A458 E004C538 0C080104 */ jal func_E0200410
/* 35A45C E004C53C E7B40010 */ swc1 $f20, 0x10($sp)
/* 35A460 E004C540 0200202D */ daddu $a0, $s0, $zero
/* 35A464 E004C544 27A50018 */ addiu $a1, $sp, 0x18
/* 35A468 E004C548 0C080114 */ jal func_E0200450
/* 35A46C E004C54C 00A0302D */ daddu $a2, $a1, $zero
/* 35A470 E004C550 0200202D */ daddu $a0, $s0, $zero
/* 35A474 E004C554 8E250010 */ lw $a1, 0x10($s1)
/* 35A478 E004C558 4407A000 */ mfc1 $a3, $f20
/* 35A47C E004C55C 0C080110 */ jal func_E0200440
/* 35A480 E004C560 00A0302D */ daddu $a2, $a1, $zero
/* 35A484 E004C564 0200202D */ daddu $a0, $s0, $zero
/* 35A488 E004C568 27A50018 */ addiu $a1, $sp, 0x18
/* 35A48C E004C56C 0C080114 */ jal func_E0200450
/* 35A490 E004C570 00A0302D */ daddu $a2, $a1, $zero
/* 35A494 E004C574 27A40018 */ addiu $a0, $sp, 0x18
/* 35A498 E004C578 3C108007 */ lui $s0, %hi(D_800741F0)
/* 35A49C E004C57C 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 35A4A0 E004C580 3C11800A */ lui $s1, %hi(D_8009A674)
/* 35A4A4 E004C584 2631A674 */ addiu $s1, $s1, %lo(D_8009A674)
/* 35A4A8 E004C588 96050000 */ lhu $a1, ($s0)
/* 35A4AC E004C58C 8E220000 */ lw $v0, ($s1)
/* 35A4B0 E004C590 00052980 */ sll $a1, $a1, 6
/* 35A4B4 E004C594 00B52821 */ addu $a1, $a1, $s5
/* 35A4B8 E004C598 0C080118 */ jal func_E0200460
/* 35A4BC E004C59C 00452821 */ addu $a1, $v0, $a1
/* 35A4C0 E004C5A0 3C06D838 */ lui $a2, 0xd838
/* 35A4C4 E004C5A4 34C60002 */ ori $a2, $a2, 2
/* 35A4C8 E004C5A8 8E440000 */ lw $a0, ($s2)
/* 35A4CC E004C5AC 3C03DA38 */ lui $v1, 0xda38
/* 35A4D0 E004C5B0 0080282D */ daddu $a1, $a0, $zero
/* 35A4D4 E004C5B4 24840008 */ addiu $a0, $a0, 8
/* 35A4D8 E004C5B8 AE440000 */ sw $a0, ($s2)
/* 35A4DC E004C5BC 96020000 */ lhu $v0, ($s0)
/* 35A4E0 E004C5C0 00139880 */ sll $s3, $s3, 2
/* 35A4E4 E004C5C4 ACA30000 */ sw $v1, ($a1)
/* 35A4E8 E004C5C8 24430001 */ addiu $v1, $v0, 1
/* 35A4EC E004C5CC 3042FFFF */ andi $v0, $v0, 0xffff
/* 35A4F0 E004C5D0 00021180 */ sll $v0, $v0, 6
/* 35A4F4 E004C5D4 A6030000 */ sh $v1, ($s0)
/* 35A4F8 E004C5D8 8E230000 */ lw $v1, ($s1)
/* 35A4FC E004C5DC 00551021 */ addu $v0, $v0, $s5
/* 35A500 E004C5E0 00621821 */ addu $v1, $v1, $v0
/* 35A504 E004C5E4 24820008 */ addiu $v0, $a0, 8
/* 35A508 E004C5E8 ACA30004 */ sw $v1, 4($a1)
/* 35A50C E004C5EC AE420000 */ sw $v0, ($s2)
/* 35A510 E004C5F0 AC940000 */ sw $s4, ($a0)
/* 35A514 E004C5F4 3C03E005 */ lui $v1, %hi(D_E004C660)
/* 35A518 E004C5F8 00731821 */ addu $v1, $v1, $s3
/* 35A51C E004C5FC 8C63C660 */ lw $v1, %lo(D_E004C660)($v1)
/* 35A520 E004C600 24820010 */ addiu $v0, $a0, 0x10
/* 35A524 E004C604 AE420000 */ sw $v0, ($s2)
/* 35A528 E004C608 24020040 */ addiu $v0, $zero, 0x40
/* 35A52C E004C60C AC82000C */ sw $v0, 0xc($a0)
/* 35A530 E004C610 24820018 */ addiu $v0, $a0, 0x18
/* 35A534 E004C614 AC860008 */ sw $a2, 8($a0)
/* 35A538 E004C618 AE420000 */ sw $v0, ($s2)
/* 35A53C E004C61C AC960010 */ sw $s6, 0x10($a0)
/* 35A540 E004C620 AC800014 */ sw $zero, 0x14($a0)
/* 35A544 E004C624 AC830004 */ sw $v1, 4($a0)
/* 35A548 E004C628 8FBF00B4 */ lw $ra, 0xb4($sp)
/* 35A54C E004C62C 8FB600B0 */ lw $s6, 0xb0($sp)
/* 35A550 E004C630 8FB500AC */ lw $s5, 0xac($sp)
/* 35A554 E004C634 8FB400A8 */ lw $s4, 0xa8($sp)
/* 35A558 E004C638 8FB300A4 */ lw $s3, 0xa4($sp)
/* 35A55C E004C63C 8FB200A0 */ lw $s2, 0xa0($sp)
/* 35A560 E004C640 8FB1009C */ lw $s1, 0x9c($sp)
/* 35A564 E004C644 8FB00098 */ lw $s0, 0x98($sp)
/* 35A568 E004C648 D7B400B8 */ ldc1 $f20, 0xb8($sp)
/* 35A56C E004C64C 03E00008 */ jr $ra
/* 35A570 E004C650 27BD00C0 */ addiu $sp, $sp, 0xc0
/* 35A574 E004C654 00000000 */ nop
/* 35A578 E004C658 00000000 */ nop
/* 35A57C E004C65C 00000000 */ nop

View File

@ -0,0 +1,64 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0052000
/* 35CA80 E0052000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 35CA84 E0052004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 35CA88 E0052008 4485A000 */ mtc1 $a1, $f20
/* 35CA8C E005200C AFB1002C */ sw $s1, 0x2c($sp)
/* 35CA90 E0052010 0080882D */ daddu $s1, $a0, $zero
/* 35CA94 E0052014 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 35CA98 E0052018 4486B000 */ mtc1 $a2, $f22
/* 35CA9C E005201C 27A40010 */ addiu $a0, $sp, 0x10
/* 35CAA0 E0052020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 35CAA4 E0052024 4487C000 */ mtc1 $a3, $f24
/* 35CAA8 E0052028 3C02E005 */ lui $v0, %hi(D_E00520E8)
/* 35CAAC E005202C 244220E8 */ addiu $v0, $v0, %lo(D_E00520E8)
/* 35CAB0 E0052030 AFA20018 */ sw $v0, 0x18($sp)
/* 35CAB4 E0052034 3C02E005 */ lui $v0, %hi(D_E00520F0)
/* 35CAB8 E0052038 244220F0 */ addiu $v0, $v0, %lo(D_E00520F0)
/* 35CABC E005203C AFA2001C */ sw $v0, 0x1c($sp)
/* 35CAC0 E0052040 3C02E005 */ lui $v0, %hi(D_E005241C)
/* 35CAC4 E0052044 2442241C */ addiu $v0, $v0, %lo(D_E005241C)
/* 35CAC8 E0052048 AFA20020 */ sw $v0, 0x20($sp)
/* 35CACC E005204C 24020029 */ addiu $v0, $zero, 0x29
/* 35CAD0 E0052050 AFBF0030 */ sw $ra, 0x30($sp)
/* 35CAD4 E0052054 AFB00028 */ sw $s0, 0x28($sp)
/* 35CAD8 E0052058 AFA00010 */ sw $zero, 0x10($sp)
/* 35CADC E005205C AFA00024 */ sw $zero, 0x24($sp)
/* 35CAE0 E0052060 0C080124 */ jal func_E0200490
/* 35CAE4 E0052064 AFA20014 */ sw $v0, 0x14($sp)
/* 35CAE8 E0052068 240400CC */ addiu $a0, $zero, 0xcc
/* 35CAEC E005206C 24030001 */ addiu $v1, $zero, 1
/* 35CAF0 E0052070 0040802D */ daddu $s0, $v0, $zero
/* 35CAF4 E0052074 0C08012C */ jal func_E02004B0
/* 35CAF8 E0052078 AE030008 */ sw $v1, 8($s0)
/* 35CAFC E005207C 0040182D */ daddu $v1, $v0, $zero
/* 35CB00 E0052080 14600003 */ bnez $v1, .LE0052090
/* 35CB04 E0052084 AE02000C */ sw $v0, 0xc($s0)
.LE0052088:
/* 35CB08 E0052088 08014822 */ j .LE0052088
/* 35CB0C E005208C 00000000 */ nop
.LE0052090:
/* 35CB10 E0052090 AC710000 */ sw $s1, ($v1)
/* 35CB14 E0052094 E4740004 */ swc1 $f20, 4($v1)
/* 35CB18 E0052098 E4760008 */ swc1 $f22, 8($v1)
/* 35CB1C E005209C E478000C */ swc1 $f24, 0xc($v1)
/* 35CB20 E00520A0 C7A00064 */ lwc1 $f0, 0x64($sp)
/* 35CB24 E00520A4 24020064 */ addiu $v0, $zero, 0x64
/* 35CB28 E00520A8 AC62001C */ sw $v0, 0x1c($v1)
/* 35CB2C E00520AC E4600010 */ swc1 $f0, 0x10($v1)
/* 35CB30 E00520B0 C7A00060 */ lwc1 $f0, 0x60($sp)
/* 35CB34 E00520B4 AC600018 */ sw $zero, 0x18($v1)
/* 35CB38 E00520B8 AC600020 */ sw $zero, 0x20($v1)
/* 35CB3C E00520BC E4600014 */ swc1 $f0, 0x14($v1)
/* 35CB40 E00520C0 8FA20068 */ lw $v0, 0x68($sp)
/* 35CB44 E00520C4 AC500000 */ sw $s0, ($v0)
/* 35CB48 E00520C8 8FBF0030 */ lw $ra, 0x30($sp)
/* 35CB4C E00520CC 8FB1002C */ lw $s1, 0x2c($sp)
/* 35CB50 E00520D0 8FB00028 */ lw $s0, 0x28($sp)
/* 35CB54 E00520D4 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 35CB58 E00520D8 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 35CB5C E00520DC D7B40038 */ ldc1 $f20, 0x38($sp)
/* 35CB60 E00520E0 03E00008 */ jr $ra
/* 35CB64 E00520E4 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00520E8
/* 35CB68 E00520E8 03E00008 */ jr $ra
/* 35CB6C E00520EC 00000000 */ nop

View File

@ -0,0 +1,214 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00520F0
/* 35CB70 E00520F0 27BDFF98 */ addiu $sp, $sp, -0x68
/* 35CB74 E00520F4 AFBF0030 */ sw $ra, 0x30($sp)
/* 35CB78 E00520F8 AFB7002C */ sw $s7, 0x2c($sp)
/* 35CB7C E00520FC AFB60028 */ sw $s6, 0x28($sp)
/* 35CB80 E0052100 AFB50024 */ sw $s5, 0x24($sp)
/* 35CB84 E0052104 AFB40020 */ sw $s4, 0x20($sp)
/* 35CB88 E0052108 AFB3001C */ sw $s3, 0x1c($sp)
/* 35CB8C E005210C AFB20018 */ sw $s2, 0x18($sp)
/* 35CB90 E0052110 AFB10014 */ sw $s1, 0x14($sp)
/* 35CB94 E0052114 AFB00010 */ sw $s0, 0x10($sp)
/* 35CB98 E0052118 F7BE0060 */ sdc1 $f30, 0x60($sp)
/* 35CB9C E005211C F7BC0058 */ sdc1 $f28, 0x58($sp)
/* 35CBA0 E0052120 F7BA0050 */ sdc1 $f26, 0x50($sp)
/* 35CBA4 E0052124 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 35CBA8 E0052128 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 35CBAC E005212C F7B40038 */ sdc1 $f20, 0x38($sp)
/* 35CBB0 E0052130 8C90000C */ lw $s0, 0xc($a0)
/* 35CBB4 E0052134 8E03001C */ lw $v1, 0x1c($s0)
/* 35CBB8 E0052138 28620064 */ slti $v0, $v1, 0x64
/* 35CBBC E005213C 10400003 */ beqz $v0, .LE005214C
/* 35CBC0 E0052140 26130024 */ addiu $s3, $s0, 0x24
/* 35CBC4 E0052144 2462FFFF */ addiu $v0, $v1, -1
/* 35CBC8 E0052148 AE02001C */ sw $v0, 0x1c($s0)
.LE005214C:
/* 35CBCC E005214C 3C030004 */ lui $v1, 4
/* 35CBD0 E0052150 8E020020 */ lw $v0, 0x20($s0)
/* 35CBD4 E0052154 3463F1A0 */ ori $v1, $v1, 0xf1a0
/* 35CBD8 E0052158 24420001 */ addiu $v0, $v0, 1
/* 35CBDC E005215C 0062182A */ slt $v1, $v1, $v0
/* 35CBE0 E0052160 10600003 */ beqz $v1, .LE0052170
/* 35CBE4 E0052164 AE020020 */ sw $v0, 0x20($s0)
/* 35CBE8 E0052168 24020100 */ addiu $v0, $zero, 0x100
/* 35CBEC E005216C AE020020 */ sw $v0, 0x20($s0)
.LE0052170:
/* 35CBF0 E0052170 8E03001C */ lw $v1, 0x1c($s0)
/* 35CBF4 E0052174 04610005 */ bgez $v1, .LE005218C
/* 35CBF8 E0052178 0060B82D */ daddu $s7, $v1, $zero
/* 35CBFC E005217C 0C080128 */ jal func_E02004A0
/* 35CC00 E0052180 00000000 */ nop
/* 35CC04 E0052184 080148F6 */ j .LE00523D8
/* 35CC08 E0052188 00000000 */ nop
.LE005218C:
/* 35CC0C E005218C C6020014 */ lwc1 $f2, 0x14($s0)
/* 35CC10 E0052190 C6140018 */ lwc1 $f20, 0x18($s0)
/* 35CC14 E0052194 46141081 */ sub.s $f2, $f2, $f20
/* 35CC18 E0052198 3C013DCC */ lui $at, 0x3dcc
/* 35CC1C E005219C 3421CCCD */ ori $at, $at, 0xcccd
/* 35CC20 E00521A0 44810000 */ mtc1 $at, $f0
/* 35CC24 E00521A4 00000000 */ nop
/* 35CC28 E00521A8 46001082 */ mul.s $f2, $f2, $f0
/* 35CC2C E00521AC 00000000 */ nop
/* 35CC30 E00521B0 8E160020 */ lw $s6, 0x20($s0)
/* 35CC34 E00521B4 00161040 */ sll $v0, $s6, 1
/* 35CC38 E00521B8 4602A500 */ add.s $f20, $f20, $f2
/* 35CC3C E00521BC 00561021 */ addu $v0, $v0, $s6
/* 35CC40 E00521C0 44826000 */ mtc1 $v0, $f12
/* 35CC44 E00521C4 00000000 */ nop
/* 35CC48 E00521C8 46806320 */ cvt.s.w $f12, $f12
/* 35CC4C E00521CC 0C080140 */ jal func_E0200500
/* 35CC50 E00521D0 E6140018 */ swc1 $f20, 0x18($s0)
/* 35CC54 E00521D4 4600A002 */ mul.s $f0, $f20, $f0
/* 35CC58 E00521D8 00000000 */ nop
/* 35CC5C E00521DC 3C01E005 */ lui $at, %hi(D_E0052A80)
/* 35CC60 E00521E0 D4222A80 */ ldc1 $f2, %lo(D_E0052A80)($at)
/* 35CC64 E00521E4 46000021 */ cvt.d.s $f0, $f0
/* 35CC68 E00521E8 46220002 */ mul.d $f0, $f0, $f2
/* 35CC6C E00521EC 00000000 */ nop
/* 35CC70 E00521F0 0000902D */ daddu $s2, $zero, $zero
/* 35CC74 E00521F4 26110028 */ addiu $s1, $s0, 0x28
/* 35CC78 E00521F8 0240A82D */ daddu $s5, $s2, $zero
/* 35CC7C E00521FC 0240A02D */ daddu $s4, $s2, $zero
/* 35CC80 E0052200 4600A521 */ cvt.d.s $f20, $f20
/* 35CC84 E0052204 3C014000 */ lui $at, 0x4000
/* 35CC88 E0052208 4481F800 */ mtc1 $at, $f31
/* 35CC8C E005220C 4480F000 */ mtc1 $zero, $f30
/* 35CC90 E0052210 4620A500 */ add.d $f20, $f20, $f0
/* 35CC94 E0052214 3C013FF8 */ lui $at, 0x3ff8
/* 35CC98 E0052218 4481E800 */ mtc1 $at, $f29
/* 35CC9C E005221C 4480E000 */ mtc1 $zero, $f28
/* 35CCA0 E0052220 46201686 */ mov.d $f26, $f2
/* 35CCA4 E0052224 4620A620 */ cvt.s.d $f24, $f20
.LE0052228:
/* 35CCA8 E0052228 3C0143B4 */ lui $at, 0x43b4
/* 35CCAC E005222C 4481A000 */ mtc1 $at, $f20
/* 35CCB0 E0052230 4492B000 */ mtc1 $s2, $f22
/* 35CCB4 E0052234 00000000 */ nop
/* 35CCB8 E0052238 4680B5A0 */ cvt.s.w $f22, $f22
/* 35CCBC E005223C 4614B502 */ mul.s $f20, $f22, $f20
/* 35CCC0 E0052240 00000000 */ nop
/* 35CCC4 E0052244 3C0141A8 */ lui $at, 0x41a8
/* 35CCC8 E0052248 44810000 */ mtc1 $at, $f0
/* 35CCCC E005224C 3C014188 */ lui $at, 0x4188
/* 35CCD0 E0052250 44811000 */ mtc1 $at, $f2
/* 35CCD4 E0052254 4600A503 */ div.s $f20, $f20, $f0
/* 35CCD8 E0052258 4602A500 */ add.s $f20, $f20, $f2
/* 35CCDC E005225C 0C080140 */ jal func_E0200500
/* 35CCE0 E0052260 4600A306 */ mov.s $f12, $f20
/* 35CCE4 E0052264 4600C002 */ mul.s $f0, $f24, $f0
/* 35CCE8 E0052268 00000000 */ nop
/* 35CCEC E005226C 4600A306 */ mov.s $f12, $f20
/* 35CCF0 E0052270 0C080144 */ jal func_E0200510
/* 35CCF4 E0052274 E6600000 */ swc1 $f0, ($s3)
/* 35CCF8 E0052278 4600C087 */ neg.s $f2, $f24
/* 35CCFC E005227C 46001082 */ mul.s $f2, $f2, $f0
/* 35CD00 E0052280 00000000 */ nop
/* 35CD04 E0052284 44946000 */ mtc1 $s4, $f12
/* 35CD08 E0052288 00000000 */ nop
/* 35CD0C E005228C 46806320 */ cvt.s.w $f12, $f12
/* 35CD10 E0052290 0C080140 */ jal func_E0200500
/* 35CD14 E0052294 E6220000 */ swc1 $f2, ($s1)
/* 35CD18 E0052298 46000021 */ cvt.d.s $f0, $f0
/* 35CD1C E005229C 463A0002 */ mul.d $f0, $f0, $f26
/* 35CD20 E00522A0 00000000 */ nop
/* 35CD24 E00522A4 463E0000 */ add.d $f0, $f0, $f30
/* 35CD28 E00522A8 4496A000 */ mtc1 $s6, $f20
/* 35CD2C E00522AC 00000000 */ nop
/* 35CD30 E00522B0 4680A520 */ cvt.s.w $f20, $f20
/* 35CD34 E00522B4 4600A521 */ cvt.d.s $f20, $f20
/* 35CD38 E00522B8 4620A002 */ mul.d $f0, $f20, $f0
/* 35CD3C E00522BC 00000000 */ nop
/* 35CD40 E00522C0 3C0140A0 */ lui $at, 0x40a0
/* 35CD44 E00522C4 44811000 */ mtc1 $at, $f2
/* 35CD48 E00522C8 00000000 */ nop
/* 35CD4C E00522CC 4602B580 */ add.s $f22, $f22, $f2
/* 35CD50 E00522D0 3C0141F0 */ lui $at, 0x41f0
/* 35CD54 E00522D4 44811000 */ mtc1 $at, $f2
/* 35CD58 E00522D8 00000000 */ nop
/* 35CD5C E00522DC 4602B082 */ mul.s $f2, $f22, $f2
/* 35CD60 E00522E0 00000000 */ nop
/* 35CD64 E00522E4 460010A1 */ cvt.d.s $f2, $f2
/* 35CD68 E00522E8 46220000 */ add.d $f0, $f0, $f2
/* 35CD6C E00522EC 0C080140 */ jal func_E0200500
/* 35CD70 E00522F0 46200320 */ cvt.s.d $f12, $f0
/* 35CD74 E00522F4 46000021 */ cvt.d.s $f0, $f0
/* 35CD78 E00522F8 463C0002 */ mul.d $f0, $f0, $f28
/* 35CD7C E00522FC 00000000 */ nop
/* 35CD80 E0052300 C6620000 */ lwc1 $f2, ($s3)
/* 35CD84 E0052304 460010A1 */ cvt.d.s $f2, $f2
/* 35CD88 E0052308 46201080 */ add.d $f2, $f2, $f0
/* 35CD8C E005230C 44956000 */ mtc1 $s5, $f12
/* 35CD90 E0052310 00000000 */ nop
/* 35CD94 E0052314 46806320 */ cvt.s.w $f12, $f12
/* 35CD98 E0052318 462010A0 */ cvt.s.d $f2, $f2
/* 35CD9C E005231C 0C080144 */ jal func_E0200510
/* 35CDA0 E0052320 E6620000 */ swc1 $f2, ($s3)
/* 35CDA4 E0052324 46000021 */ cvt.d.s $f0, $f0
/* 35CDA8 E0052328 463A0002 */ mul.d $f0, $f0, $f26
/* 35CDAC E005232C 00000000 */ nop
/* 35CDB0 E0052330 463E0000 */ add.d $f0, $f0, $f30
/* 35CDB4 E0052334 4620A502 */ mul.d $f20, $f20, $f0
/* 35CDB8 E0052338 00000000 */ nop
/* 35CDBC E005233C 3C014248 */ lui $at, 0x4248
/* 35CDC0 E0052340 44810000 */ mtc1 $at, $f0
/* 35CDC4 E0052344 00000000 */ nop
/* 35CDC8 E0052348 4600B582 */ mul.s $f22, $f22, $f0
/* 35CDCC E005234C 00000000 */ nop
/* 35CDD0 E0052350 4600B5A1 */ cvt.d.s $f22, $f22
/* 35CDD4 E0052354 4636A500 */ add.d $f20, $f20, $f22
/* 35CDD8 E0052358 0C080144 */ jal func_E0200510
/* 35CDDC E005235C 4620A320 */ cvt.s.d $f12, $f20
/* 35CDE0 E0052360 46000021 */ cvt.d.s $f0, $f0
/* 35CDE4 E0052364 463C0002 */ mul.d $f0, $f0, $f28
/* 35CDE8 E0052368 00000000 */ nop
/* 35CDEC E005236C 26520001 */ addiu $s2, $s2, 1
/* 35CDF0 E0052370 26940035 */ addiu $s4, $s4, 0x35
/* 35CDF4 E0052374 C6220000 */ lwc1 $f2, ($s1)
/* 35CDF8 E0052378 26B50024 */ addiu $s5, $s5, 0x24
/* 35CDFC E005237C 460010A1 */ cvt.d.s $f2, $f2
/* 35CE00 E0052380 46201080 */ add.d $f2, $f2, $f0
/* 35CE04 E0052384 26730008 */ addiu $s3, $s3, 8
/* 35CE08 E0052388 2A420014 */ slti $v0, $s2, 0x14
/* 35CE0C E005238C 462010A0 */ cvt.s.d $f2, $f2
/* 35CE10 E0052390 E6220000 */ swc1 $f2, ($s1)
/* 35CE14 E0052394 1440FFA4 */ bnez $v0, .LE0052228
/* 35CE18 E0052398 26310008 */ addiu $s1, $s1, 8
/* 35CE1C E005239C 2AE20064 */ slti $v0, $s7, 0x64
/* 35CE20 E00523A0 10400006 */ beqz $v0, .LE00523BC
/* 35CE24 E00523A4 AE0000C4 */ sw $zero, 0xc4($s0)
/* 35CE28 E00523A8 C60000C8 */ lwc1 $f0, 0xc8($s0)
/* 35CE2C E00523AC 3C013F80 */ lui $at, 0x3f80
/* 35CE30 E00523B0 44811000 */ mtc1 $at, $f2
/* 35CE34 E00523B4 080148F5 */ j .LE00523D4
/* 35CE38 E00523B8 46020000 */ add.s $f0, $f0, $f2
.LE00523BC:
/* 35CE3C E00523BC 3C01E005 */ lui $at, %hi(D_E0052A88)
/* 35CE40 E00523C0 D4222A88 */ ldc1 $f2, %lo(D_E0052A88)($at)
/* 35CE44 E00523C4 4600C021 */ cvt.d.s $f0, $f24
/* 35CE48 E00523C8 46220002 */ mul.d $f0, $f0, $f2
/* 35CE4C E00523CC 00000000 */ nop
/* 35CE50 E00523D0 46200020 */ cvt.s.d $f0, $f0
.LE00523D4:
/* 35CE54 E00523D4 E60000C8 */ swc1 $f0, 0xc8($s0)
.LE00523D8:
/* 35CE58 E00523D8 8FBF0030 */ lw $ra, 0x30($sp)
/* 35CE5C E00523DC 8FB7002C */ lw $s7, 0x2c($sp)
/* 35CE60 E00523E0 8FB60028 */ lw $s6, 0x28($sp)
/* 35CE64 E00523E4 8FB50024 */ lw $s5, 0x24($sp)
/* 35CE68 E00523E8 8FB40020 */ lw $s4, 0x20($sp)
/* 35CE6C E00523EC 8FB3001C */ lw $s3, 0x1c($sp)
/* 35CE70 E00523F0 8FB20018 */ lw $s2, 0x18($sp)
/* 35CE74 E00523F4 8FB10014 */ lw $s1, 0x14($sp)
/* 35CE78 E00523F8 8FB00010 */ lw $s0, 0x10($sp)
/* 35CE7C E00523FC D7BE0060 */ ldc1 $f30, 0x60($sp)
/* 35CE80 E0052400 D7BC0058 */ ldc1 $f28, 0x58($sp)
/* 35CE84 E0052404 D7BA0050 */ ldc1 $f26, 0x50($sp)
/* 35CE88 E0052408 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 35CE8C E005240C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 35CE90 E0052410 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 35CE94 E0052414 03E00008 */ jr $ra
/* 35CE98 E0052418 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005241C
/* 35CE9C E005241C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 35CEA0 E0052420 3C02E005 */ lui $v0, %hi(D_E0052460)
/* 35CEA4 E0052424 24422460 */ addiu $v0, $v0, %lo(D_E0052460)
/* 35CEA8 E0052428 AFA2001C */ sw $v0, 0x1c($sp)
/* 35CEAC E005242C 2402002D */ addiu $v0, $zero, 0x2d
/* 35CEB0 E0052430 AFA40018 */ sw $a0, 0x18($sp)
/* 35CEB4 E0052434 27A40010 */ addiu $a0, $sp, 0x10
/* 35CEB8 E0052438 AFBF0020 */ sw $ra, 0x20($sp)
/* 35CEBC E005243C AFA00014 */ sw $zero, 0x14($sp)
/* 35CEC0 E0052440 0C080120 */ jal func_E0200480
/* 35CEC4 E0052444 AFA20010 */ sw $v0, 0x10($sp)
/* 35CEC8 E0052448 8C430000 */ lw $v1, ($v0)
/* 35CECC E005244C 34630002 */ ori $v1, $v1, 2
/* 35CED0 E0052450 AC430000 */ sw $v1, ($v0)
/* 35CED4 E0052454 8FBF0020 */ lw $ra, 0x20($sp)
/* 35CED8 E0052458 03E00008 */ jr $ra
/* 35CEDC E005245C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,364 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0052460
/* 35CEE0 E0052460 27BDFF28 */ addiu $sp, $sp, -0xd8
/* 35CEE4 E0052464 3C05DB06 */ lui $a1, 0xdb06
/* 35CEE8 E0052468 3C07800A */ lui $a3, %hi(D_8009A66C)
/* 35CEEC E005246C 24E7A66C */ addiu $a3, $a3, %lo(D_8009A66C)
/* 35CEF0 E0052470 34A50024 */ ori $a1, $a1, 0x24
/* 35CEF4 E0052474 3C02E700 */ lui $v0, 0xe700
/* 35CEF8 E0052478 AFBF00C4 */ sw $ra, 0xc4($sp)
/* 35CEFC E005247C AFBE00C0 */ sw $fp, 0xc0($sp)
/* 35CF00 E0052480 AFB700BC */ sw $s7, 0xbc($sp)
/* 35CF04 E0052484 AFB600B8 */ sw $s6, 0xb8($sp)
/* 35CF08 E0052488 AFB500B4 */ sw $s5, 0xb4($sp)
/* 35CF0C E005248C AFB400B0 */ sw $s4, 0xb0($sp)
/* 35CF10 E0052490 AFB300AC */ sw $s3, 0xac($sp)
/* 35CF14 E0052494 AFB200A8 */ sw $s2, 0xa8($sp)
/* 35CF18 E0052498 AFB100A4 */ sw $s1, 0xa4($sp)
/* 35CF1C E005249C AFB000A0 */ sw $s0, 0xa0($sp)
/* 35CF20 E00524A0 F7B600D0 */ sdc1 $f22, 0xd0($sp)
/* 35CF24 E00524A4 F7B400C8 */ sdc1 $f20, 0xc8($sp)
/* 35CF28 E00524A8 8CE60000 */ lw $a2, ($a3)
/* 35CF2C E00524AC 8C88000C */ lw $t0, 0xc($a0)
/* 35CF30 E00524B0 00C0182D */ daddu $v1, $a2, $zero
/* 35CF34 E00524B4 24C60008 */ addiu $a2, $a2, 8
/* 35CF38 E00524B8 AC620000 */ sw $v0, ($v1)
/* 35CF3C E00524BC AC600004 */ sw $zero, 4($v1)
/* 35CF40 E00524C0 ACC50000 */ sw $a1, ($a2)
/* 35CF44 E00524C4 8C820010 */ lw $v0, 0x10($a0)
/* 35CF48 E00524C8 ACE60000 */ sw $a2, ($a3)
/* 35CF4C E00524CC 8C42001C */ lw $v0, 0x1c($v0)
/* 35CF50 E00524D0 3C038000 */ lui $v1, 0x8000
/* 35CF54 E00524D4 00431021 */ addu $v0, $v0, $v1
/* 35CF58 E00524D8 ACC20004 */ sw $v0, 4($a2)
/* 35CF5C E00524DC 8D0A001C */ lw $t2, 0x1c($t0)
/* 35CF60 E00524E0 24C20008 */ addiu $v0, $a2, 8
/* 35CF64 E00524E4 AFAA0098 */ sw $t2, 0x98($sp)
/* 35CF68 E00524E8 15400009 */ bnez $t2, .LE0052510
/* 35CF6C E00524EC ACE20000 */ sw $v0, ($a3)
/* 35CF70 E00524F0 24C20010 */ addiu $v0, $a2, 0x10
/* 35CF74 E00524F4 ACE20000 */ sw $v0, ($a3)
/* 35CF78 E00524F8 3C02DE00 */ lui $v0, 0xde00
/* 35CF7C E00524FC ACC20008 */ sw $v0, 8($a2)
/* 35CF80 E0052500 3C020900 */ lui $v0, 0x900
/* 35CF84 E0052504 24420440 */ addiu $v0, $v0, 0x440
/* 35CF88 E0052508 08014955 */ j .LE0052554
/* 35CF8C E005250C ACC2000C */ sw $v0, 0xc($a2)
.LE0052510:
/* 35CF90 E0052510 8FAA0098 */ lw $t2, 0x98($sp)
/* 35CF94 E0052514 24020001 */ addiu $v0, $zero, 1
/* 35CF98 E0052518 15420008 */ bne $t2, $v0, .LE005253C
/* 35CF9C E005251C 24C20010 */ addiu $v0, $a2, 0x10
/* 35CFA0 E0052520 ACE20000 */ sw $v0, ($a3)
/* 35CFA4 E0052524 3C02DE00 */ lui $v0, 0xde00
/* 35CFA8 E0052528 ACC20008 */ sw $v0, 8($a2)
/* 35CFAC E005252C 3C020900 */ lui $v0, 0x900
/* 35CFB0 E0052530 24420390 */ addiu $v0, $v0, 0x390
/* 35CFB4 E0052534 08014955 */ j .LE0052554
/* 35CFB8 E0052538 ACC2000C */ sw $v0, 0xc($a2)
.LE005253C:
/* 35CFBC E005253C ACE20000 */ sw $v0, ($a3)
/* 35CFC0 E0052540 3C02DE00 */ lui $v0, 0xde00
/* 35CFC4 E0052544 ACC20008 */ sw $v0, 8($a2)
/* 35CFC8 E0052548 3C020900 */ lui $v0, 0x900
/* 35CFCC E005254C 244202E0 */ addiu $v0, $v0, 0x2e0
/* 35CFD0 E0052550 ACC2000C */ sw $v0, 0xc($a2)
.LE0052554:
/* 35CFD4 E0052554 27A40018 */ addiu $a0, $sp, 0x18
/* 35CFD8 E0052558 3C120001 */ lui $s2, 1
/* 35CFDC E005255C 36521630 */ ori $s2, $s2, 0x1630
/* 35CFE0 E0052560 0000982D */ daddu $s3, $zero, $zero
/* 35CFE4 E0052564 3C02800A */ lui $v0, %hi(D_8009A674)
/* 35CFE8 E0052568 2442A674 */ addiu $v0, $v0, %lo(D_8009A674)
/* 35CFEC E005256C 0040B82D */ daddu $s7, $v0, $zero
/* 35CFF0 E0052570 3C028007 */ lui $v0, %hi(D_800741F0)
/* 35CFF4 E0052574 244241F0 */ addiu $v0, $v0, %lo(D_800741F0)
/* 35CFF8 E0052578 0040B02D */ daddu $s6, $v0, $zero
/* 35CFFC E005257C 3C1E0001 */ lui $fp, 1
/* 35D000 E0052580 37DE1630 */ ori $fp, $fp, 0x1630
/* 35D004 E0052584 3C02800A */ lui $v0, %hi(D_8009A66C)
/* 35D008 E0052588 2442A66C */ addiu $v0, $v0, %lo(D_8009A66C)
/* 35D00C E005258C 0040A82D */ daddu $s5, $v0, $zero
/* 35D010 E0052590 8D050004 */ lw $a1, 4($t0)
/* 35D014 E0052594 8D060008 */ lw $a2, 8($t0)
/* 35D018 E0052598 8D07000C */ lw $a3, 0xc($t0)
/* 35D01C E005259C 0C080108 */ jal func_E0200420
/* 35D020 E00525A0 0100A02D */ daddu $s4, $t0, $zero
/* 35D024 E00525A4 27A40018 */ addiu $a0, $sp, 0x18
/* 35D028 E00525A8 96C50000 */ lhu $a1, ($s6)
/* 35D02C E00525AC 8EE20000 */ lw $v0, ($s7)
/* 35D030 E00525B0 00052980 */ sll $a1, $a1, 6
/* 35D034 E00525B4 00B22821 */ addu $a1, $a1, $s2
/* 35D038 E00525B8 0C080118 */ jal func_E0200460
/* 35D03C E00525BC 00452821 */ addu $a1, $v0, $a1
/* 35D040 E00525C0 3C02DA38 */ lui $v0, 0xda38
/* 35D044 E00525C4 34420002 */ ori $v0, $v0, 2
/* 35D048 E00525C8 3C050100 */ lui $a1, 0x100
/* 35D04C E00525CC 34A51002 */ ori $a1, $a1, 0x1002
/* 35D050 E00525D0 3C110900 */ lui $s1, 0x900
/* 35D054 E00525D4 26310190 */ addiu $s1, $s1, 0x190
/* 35D058 E00525D8 4480A000 */ mtc1 $zero, $f20
/* 35D05C E00525DC 8EA80000 */ lw $t0, ($s5)
/* 35D060 E00525E0 96C90000 */ lhu $t1, ($s6)
/* 35D064 E00525E4 3C013F80 */ lui $at, 0x3f80
/* 35D068 E00525E8 4481B000 */ mtc1 $at, $f22
/* 35D06C E00525EC 0100202D */ daddu $a0, $t0, $zero
/* 35D070 E00525F0 25080008 */ addiu $t0, $t0, 8
/* 35D074 E00525F4 AC820000 */ sw $v0, ($a0)
/* 35D078 E00525F8 3122FFFF */ andi $v0, $t1, 0xffff
/* 35D07C E00525FC 00021180 */ sll $v0, $v0, 6
/* 35D080 E0052600 00521021 */ addu $v0, $v0, $s2
/* 35D084 E0052604 25290001 */ addiu $t1, $t1, 1
/* 35D088 E0052608 4406A000 */ mfc1 $a2, $f20
/* 35D08C E005260C 8EE30000 */ lw $v1, ($s7)
/* 35D090 E0052610 4407A000 */ mfc1 $a3, $f20
/* 35D094 E0052614 00621821 */ addu $v1, $v1, $v0
/* 35D098 E0052618 AC830004 */ sw $v1, 4($a0)
/* 35D09C E005261C AD050000 */ sw $a1, ($t0)
/* 35D0A0 E0052620 AD110004 */ sw $s1, 4($t0)
/* 35D0A4 E0052624 E7B60010 */ swc1 $f22, 0x10($sp)
/* 35D0A8 E0052628 8E850010 */ lw $a1, 0x10($s4)
/* 35D0AC E005262C 27A40018 */ addiu $a0, $sp, 0x18
/* 35D0B0 E0052630 AEA80000 */ sw $t0, ($s5)
/* 35D0B4 E0052634 25080008 */ addiu $t0, $t0, 8
/* 35D0B8 E0052638 A6C90000 */ sh $t1, ($s6)
/* 35D0BC E005263C 0C080104 */ jal func_E0200410
/* 35D0C0 E0052640 AEA80000 */ sw $t0, ($s5)
/* 35D0C4 E0052644 27A40018 */ addiu $a0, $sp, 0x18
/* 35D0C8 E0052648 96C50000 */ lhu $a1, ($s6)
/* 35D0CC E005264C 8EE20000 */ lw $v0, ($s7)
/* 35D0D0 E0052650 00052980 */ sll $a1, $a1, 6
/* 35D0D4 E0052654 00B22821 */ addu $a1, $a1, $s2
/* 35D0D8 E0052658 0C080118 */ jal func_E0200460
/* 35D0DC E005265C 00452821 */ addu $a1, $v0, $a1
/* 35D0E0 E0052660 3C03DA38 */ lui $v1, 0xda38
/* 35D0E4 E0052664 34630001 */ ori $v1, $v1, 1
/* 35D0E8 E0052668 27A40018 */ addiu $a0, $sp, 0x18
/* 35D0EC E005266C 8EA20000 */ lw $v0, ($s5)
/* 35D0F0 E0052670 4406A000 */ mfc1 $a2, $f20
/* 35D0F4 E0052674 96C80000 */ lhu $t0, ($s6)
/* 35D0F8 E0052678 0040482D */ daddu $t1, $v0, $zero
/* 35D0FC E005267C 24420008 */ addiu $v0, $v0, 8
/* 35D100 E0052680 AEA20000 */ sw $v0, ($s5)
/* 35D104 E0052684 AD230000 */ sw $v1, ($t1)
/* 35D108 E0052688 3103FFFF */ andi $v1, $t0, 0xffff
/* 35D10C E005268C 00031980 */ sll $v1, $v1, 6
/* 35D110 E0052690 00721821 */ addu $v1, $v1, $s2
/* 35D114 E0052694 8EE20000 */ lw $v0, ($s7)
/* 35D118 E0052698 3C058007 */ lui $a1, %hi(gCurrentCameraID)
/* 35D11C E005269C 8CA57410 */ lw $a1, %lo(gCurrentCameraID)($a1)
/* 35D120 E00526A0 00431021 */ addu $v0, $v0, $v1
/* 35D124 E00526A4 AD220004 */ sw $v0, 4($t1)
/* 35D128 E00526A8 00051080 */ sll $v0, $a1, 2
/* 35D12C E00526AC 00451021 */ addu $v0, $v0, $a1
/* 35D130 E00526B0 00021080 */ sll $v0, $v0, 2
/* 35D134 E00526B4 00451023 */ subu $v0, $v0, $a1
/* 35D138 E00526B8 000218C0 */ sll $v1, $v0, 3
/* 35D13C E00526BC 00431021 */ addu $v0, $v0, $v1
/* 35D140 E00526C0 000210C0 */ sll $v0, $v0, 3
/* 35D144 E00526C4 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 35D148 E00526C8 00220821 */ addu $at, $at, $v0
/* 35D14C E00526CC C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 35D150 E00526D0 4407B000 */ mfc1 $a3, $f22
/* 35D154 E00526D4 46000007 */ neg.s $f0, $f0
/* 35D158 E00526D8 44050000 */ mfc1 $a1, $f0
/* 35D15C E00526DC 25080001 */ addiu $t0, $t0, 1
/* 35D160 E00526E0 A6C80000 */ sh $t0, ($s6)
/* 35D164 E00526E4 0C080104 */ jal func_E0200410
/* 35D168 E00526E8 E7B40010 */ swc1 $f20, 0x10($sp)
/* 35D16C E00526EC 27B00058 */ addiu $s0, $sp, 0x58
/* 35D170 E00526F0 8E8500C4 */ lw $a1, 0xc4($s4)
/* 35D174 E00526F4 8E8600C8 */ lw $a2, 0xc8($s4)
/* 35D178 E00526F8 4407A000 */ mfc1 $a3, $f20
/* 35D17C E00526FC 0C080108 */ jal func_E0200420
/* 35D180 E0052700 0200202D */ daddu $a0, $s0, $zero
/* 35D184 E0052704 0200202D */ daddu $a0, $s0, $zero
/* 35D188 E0052708 27A50018 */ addiu $a1, $sp, 0x18
/* 35D18C E005270C 0C080114 */ jal func_E0200450
/* 35D190 E0052710 00A0302D */ daddu $a2, $a1, $zero
/* 35D194 E0052714 27A40018 */ addiu $a0, $sp, 0x18
/* 35D198 E0052718 96C50000 */ lhu $a1, ($s6)
/* 35D19C E005271C 8EE20000 */ lw $v0, ($s7)
/* 35D1A0 E0052720 00052980 */ sll $a1, $a1, 6
/* 35D1A4 E0052724 00B22821 */ addu $a1, $a1, $s2
/* 35D1A8 E0052728 0C080118 */ jal func_E0200460
/* 35D1AC E005272C 00452821 */ addu $a1, $v0, $a1
/* 35D1B0 E0052730 3C060100 */ lui $a2, 0x100
/* 35D1B4 E0052734 34C61004 */ ori $a2, $a2, 0x1004
/* 35D1B8 E0052738 8EA40000 */ lw $a0, ($s5)
/* 35D1BC E005273C 3C03DA38 */ lui $v1, 0xda38
/* 35D1C0 E0052740 0080282D */ daddu $a1, $a0, $zero
/* 35D1C4 E0052744 24840008 */ addiu $a0, $a0, 8
/* 35D1C8 E0052748 AEA40000 */ sw $a0, ($s5)
/* 35D1CC E005274C 96C20000 */ lhu $v0, ($s6)
/* 35D1D0 E0052750 2631FFF0 */ addiu $s1, $s1, -0x10
/* 35D1D4 E0052754 ACA30000 */ sw $v1, ($a1)
/* 35D1D8 E0052758 24430001 */ addiu $v1, $v0, 1
/* 35D1DC E005275C 3042FFFF */ andi $v0, $v0, 0xffff
/* 35D1E0 E0052760 00021180 */ sll $v0, $v0, 6
/* 35D1E4 E0052764 A6C30000 */ sh $v1, ($s6)
/* 35D1E8 E0052768 8EE30000 */ lw $v1, ($s7)
/* 35D1EC E005276C 00521021 */ addu $v0, $v0, $s2
/* 35D1F0 E0052770 00621821 */ addu $v1, $v1, $v0
/* 35D1F4 E0052774 24820008 */ addiu $v0, $a0, 8
/* 35D1F8 E0052778 ACA30004 */ sw $v1, 4($a1)
/* 35D1FC E005277C AEA20000 */ sw $v0, ($s5)
/* 35D200 E0052780 AC860000 */ sw $a2, ($a0)
/* 35D204 E0052784 AC910004 */ sw $s1, 4($a0)
.LE0052788:
/* 35D208 E0052788 27A40018 */ addiu $a0, $sp, 0x18
/* 35D20C E005278C 0000382D */ daddu $a3, $zero, $zero
/* 35D210 E0052790 8E850024 */ lw $a1, 0x24($s4)
/* 35D214 E0052794 8E860028 */ lw $a2, 0x28($s4)
/* 35D218 E0052798 0C080108 */ jal func_E0200420
/* 35D21C E005279C 26940008 */ addiu $s4, $s4, 8
/* 35D220 E00527A0 27A40018 */ addiu $a0, $sp, 0x18
/* 35D224 E00527A4 96C50000 */ lhu $a1, ($s6)
/* 35D228 E00527A8 8EE20000 */ lw $v0, ($s7)
/* 35D22C E00527AC 00052980 */ sll $a1, $a1, 6
/* 35D230 E00527B0 00BE2821 */ addu $a1, $a1, $fp
/* 35D234 E00527B4 0C080118 */ jal func_E0200460
/* 35D238 E00527B8 00452821 */ addu $a1, $v0, $a1
/* 35D23C E00527BC 3C080100 */ lui $t0, 0x100
/* 35D240 E00527C0 35081000 */ ori $t0, $t0, 0x1000
/* 35D244 E00527C4 3C09D838 */ lui $t1, 0xd838
/* 35D248 E00527C8 35290002 */ ori $t1, $t1, 2
/* 35D24C E00527CC 26640003 */ addiu $a0, $s3, 3
/* 35D250 E00527D0 00133100 */ sll $a2, $s3, 4
/* 35D254 E00527D4 26730001 */ addiu $s3, $s3, 1
/* 35D258 E00527D8 3C03DA38 */ lui $v1, 0xda38
/* 35D25C E00527DC 3084007F */ andi $a0, $a0, 0x7f
/* 35D260 E00527E0 8EA50000 */ lw $a1, ($s5)
/* 35D264 E00527E4 00042040 */ sll $a0, $a0, 1
/* 35D268 E00527E8 00A0382D */ daddu $a3, $a1, $zero
/* 35D26C E00527EC 24A50008 */ addiu $a1, $a1, 8
/* 35D270 E00527F0 AEA50000 */ sw $a1, ($s5)
/* 35D274 E00527F4 96C20000 */ lhu $v0, ($s6)
/* 35D278 E00527F8 00882025 */ or $a0, $a0, $t0
/* 35D27C E00527FC ACE30000 */ sw $v1, ($a3)
/* 35D280 E0052800 24430001 */ addiu $v1, $v0, 1
/* 35D284 E0052804 3042FFFF */ andi $v0, $v0, 0xffff
/* 35D288 E0052808 00021180 */ sll $v0, $v0, 6
/* 35D28C E005280C A6C30000 */ sh $v1, ($s6)
/* 35D290 E0052810 8EE30000 */ lw $v1, ($s7)
/* 35D294 E0052814 005E1021 */ addu $v0, $v0, $fp
/* 35D298 E0052818 00621821 */ addu $v1, $v1, $v0
/* 35D29C E005281C 24A20008 */ addiu $v0, $a1, 8
/* 35D2A0 E0052820 ACE30004 */ sw $v1, 4($a3)
/* 35D2A4 E0052824 AEA20000 */ sw $v0, ($s5)
/* 35D2A8 E0052828 3C020900 */ lui $v0, 0x900
/* 35D2AC E005282C 244201A0 */ addiu $v0, $v0, 0x1a0
/* 35D2B0 E0052830 00C23021 */ addu $a2, $a2, $v0
/* 35D2B4 E0052834 24A20010 */ addiu $v0, $a1, 0x10
/* 35D2B8 E0052838 24030040 */ addiu $v1, $zero, 0x40
/* 35D2BC E005283C ACA40000 */ sw $a0, ($a1)
/* 35D2C0 E0052840 ACA60004 */ sw $a2, 4($a1)
/* 35D2C4 E0052844 AEA20000 */ sw $v0, ($s5)
/* 35D2C8 E0052848 2A620014 */ slti $v0, $s3, 0x14
/* 35D2CC E005284C ACA90008 */ sw $t1, 8($a1)
/* 35D2D0 E0052850 1440FFCD */ bnez $v0, .LE0052788
/* 35D2D4 E0052854 ACA3000C */ sw $v1, 0xc($a1)
/* 35D2D8 E0052858 3C06800A */ lui $a2, %hi(D_8009A66C)
/* 35D2DC E005285C 24C6A66C */ addiu $a2, $a2, %lo(D_8009A66C)
/* 35D2E0 E0052860 8CC50000 */ lw $a1, ($a2)
/* 35D2E4 E0052864 00A0102D */ daddu $v0, $a1, $zero
/* 35D2E8 E0052868 24A50008 */ addiu $a1, $a1, 8
/* 35D2EC E005286C ACC50000 */ sw $a1, ($a2)
/* 35D2F0 E0052870 AC490000 */ sw $t1, ($v0)
/* 35D2F4 E0052874 AC430004 */ sw $v1, 4($v0)
/* 35D2F8 E0052878 24A20008 */ addiu $v0, $a1, 8
/* 35D2FC E005287C ACC20000 */ sw $v0, ($a2)
/* 35D300 E0052880 ACA90000 */ sw $t1, ($a1)
/* 35D304 E0052884 ACA30004 */ sw $v1, 4($a1)
/* 35D308 E0052888 8FAA0098 */ lw $t2, 0x98($sp)
/* 35D30C E005288C 29420064 */ slti $v0, $t2, 0x64
/* 35D310 E0052890 1040001F */ beqz $v0, .LE0052910
/* 35D314 E0052894 3C03052A */ lui $v1, 0x52a
/* 35D318 E0052898 34630402 */ ori $v1, $v1, 0x402
/* 35D31C E005289C 0000982D */ daddu $s3, $zero, $zero
/* 35D320 E00528A0 00C0402D */ daddu $t0, $a2, $zero
/* 35D324 E00528A4 3C090500 */ lui $t1, 0x500
/* 35D328 E00528A8 35290002 */ ori $t1, $t1, 2
/* 35D32C E00528AC 24070006 */ addiu $a3, $zero, 6
/* 35D330 E00528B0 24060004 */ addiu $a2, $zero, 4
/* 35D334 E00528B4 24A20010 */ addiu $v0, $a1, 0x10
/* 35D338 E00528B8 AD020000 */ sw $v0, ($t0)
/* 35D33C E00528BC ACA30008 */ sw $v1, 8($a1)
/* 35D340 E00528C0 ACA0000C */ sw $zero, 0xc($a1)
.LE00528C4:
/* 35D344 E00528C4 30E400FF */ andi $a0, $a3, 0xff
/* 35D348 E00528C8 24E70002 */ addiu $a3, $a3, 2
/* 35D34C E00528CC 30C300FF */ andi $v1, $a2, 0xff
/* 35D350 E00528D0 24C60002 */ addiu $a2, $a2, 2
/* 35D354 E00528D4 26730001 */ addiu $s3, $s3, 1
/* 35D358 E00528D8 00031C00 */ sll $v1, $v1, 0x10
/* 35D35C E00528DC 00042200 */ sll $a0, $a0, 8
/* 35D360 E00528E0 00641825 */ or $v1, $v1, $a0
/* 35D364 E00528E4 8D020000 */ lw $v0, ($t0)
/* 35D368 E00528E8 00691825 */ or $v1, $v1, $t1
/* 35D36C E00528EC 0040282D */ daddu $a1, $v0, $zero
/* 35D370 E00528F0 24420008 */ addiu $v0, $v0, 8
/* 35D374 E00528F4 AD020000 */ sw $v0, ($t0)
/* 35D378 E00528F8 2A620013 */ slti $v0, $s3, 0x13
/* 35D37C E00528FC ACA30000 */ sw $v1, ($a1)
/* 35D380 E0052900 1440FFF0 */ bnez $v0, .LE00528C4
/* 35D384 E0052904 ACA00004 */ sw $zero, 4($a1)
/* 35D388 E0052908 08014A67 */ j .LE005299C
/* 35D38C E005290C 00000000 */ nop
.LE0052910:
/* 35D390 E0052910 3C030500 */ lui $v1, 0x500
/* 35D394 E0052914 34630204 */ ori $v1, $v1, 0x204
/* 35D398 E0052918 3C040500 */ lui $a0, 0x500
/* 35D39C E005291C 34842A02 */ ori $a0, $a0, 0x2a02
/* 35D3A0 E0052920 0000982D */ daddu $s3, $zero, $zero
/* 35D3A4 E0052924 00C0402D */ daddu $t0, $a2, $zero
/* 35D3A8 E0052928 3C090500 */ lui $t1, 0x500
/* 35D3AC E005292C 35290002 */ ori $t1, $t1, 2
/* 35D3B0 E0052930 24070006 */ addiu $a3, $zero, 6
/* 35D3B4 E0052934 24060004 */ addiu $a2, $zero, 4
/* 35D3B8 E0052938 24A20010 */ addiu $v0, $a1, 0x10
/* 35D3BC E005293C AD020000 */ sw $v0, ($t0)
/* 35D3C0 E0052940 24A20018 */ addiu $v0, $a1, 0x18
/* 35D3C4 E0052944 ACA30008 */ sw $v1, 8($a1)
/* 35D3C8 E0052948 ACA0000C */ sw $zero, 0xc($a1)
/* 35D3CC E005294C AD020000 */ sw $v0, ($t0)
/* 35D3D0 E0052950 ACA40010 */ sw $a0, 0x10($a1)
/* 35D3D4 E0052954 ACA00014 */ sw $zero, 0x14($a1)
.LE0052958:
/* 35D3D8 E0052958 30E400FF */ andi $a0, $a3, 0xff
/* 35D3DC E005295C 24E70002 */ addiu $a3, $a3, 2
/* 35D3E0 E0052960 30C300FF */ andi $v1, $a2, 0xff
/* 35D3E4 E0052964 24C60002 */ addiu $a2, $a2, 2
/* 35D3E8 E0052968 26730001 */ addiu $s3, $s3, 1
/* 35D3EC E005296C 00031C00 */ sll $v1, $v1, 0x10
/* 35D3F0 E0052970 00042200 */ sll $a0, $a0, 8
/* 35D3F4 E0052974 00641825 */ or $v1, $v1, $a0
/* 35D3F8 E0052978 8D020000 */ lw $v0, ($t0)
/* 35D3FC E005297C 00691825 */ or $v1, $v1, $t1
/* 35D400 E0052980 0040282D */ daddu $a1, $v0, $zero
/* 35D404 E0052984 24420008 */ addiu $v0, $v0, 8
/* 35D408 E0052988 AD020000 */ sw $v0, ($t0)
/* 35D40C E005298C 2A620013 */ slti $v0, $s3, 0x13
/* 35D410 E0052990 ACA30000 */ sw $v1, ($a1)
/* 35D414 E0052994 1440FFF0 */ bnez $v0, .LE0052958
/* 35D418 E0052998 ACA00004 */ sw $zero, 4($a1)
.LE005299C:
/* 35D41C E005299C 8FBF00C4 */ lw $ra, 0xc4($sp)
/* 35D420 E00529A0 8FBE00C0 */ lw $fp, 0xc0($sp)
/* 35D424 E00529A4 8FB700BC */ lw $s7, 0xbc($sp)
/* 35D428 E00529A8 8FB600B8 */ lw $s6, 0xb8($sp)
/* 35D42C E00529AC 8FB500B4 */ lw $s5, 0xb4($sp)
/* 35D430 E00529B0 8FB400B0 */ lw $s4, 0xb0($sp)
/* 35D434 E00529B4 8FB300AC */ lw $s3, 0xac($sp)
/* 35D438 E00529B8 8FB200A8 */ lw $s2, 0xa8($sp)
/* 35D43C E00529BC 8FB100A4 */ lw $s1, 0xa4($sp)
/* 35D440 E00529C0 8FB000A0 */ lw $s0, 0xa0($sp)
/* 35D444 E00529C4 D7B600D0 */ ldc1 $f22, 0xd0($sp)
/* 35D448 E00529C8 D7B400C8 */ ldc1 $f20, 0xc8($sp)
/* 35D44C E00529CC 03E00008 */ jr $ra
/* 35D450 E00529D0 27BD00D8 */ addiu $sp, $sp, 0xd8
/* 35D454 E00529D4 00000000 */ nop
/* 35D458 E00529D8 00000000 */ nop
/* 35D45C E00529DC 00000000 */ nop

View File

@ -0,0 +1,208 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0056000
/* 35DA00 E0056000 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 35DA04 E0056004 F7B40048 */ sdc1 $f20, 0x48($sp)
/* 35DA08 E0056008 4485A000 */ mtc1 $a1, $f20
/* 35DA0C E005600C AFB5003C */ sw $s5, 0x3c($sp)
/* 35DA10 E0056010 0080A82D */ daddu $s5, $a0, $zero
/* 35DA14 E0056014 F7B60050 */ sdc1 $f22, 0x50($sp)
/* 35DA18 E0056018 4486B000 */ mtc1 $a2, $f22
/* 35DA1C E005601C 27A40010 */ addiu $a0, $sp, 0x10
/* 35DA20 E0056020 F7B80058 */ sdc1 $f24, 0x58($sp)
/* 35DA24 E0056024 4487C000 */ mtc1 $a3, $f24
/* 35DA28 E0056028 3C02E005 */ lui $v0, %hi(D_E0056304)
/* 35DA2C E005602C 24426304 */ addiu $v0, $v0, %lo(D_E0056304)
/* 35DA30 E0056030 AFA20018 */ sw $v0, 0x18($sp)
/* 35DA34 E0056034 3C02E005 */ lui $v0, %hi(D_E005630C)
/* 35DA38 E0056038 2442630C */ addiu $v0, $v0, %lo(D_E005630C)
/* 35DA3C E005603C AFA2001C */ sw $v0, 0x1c($sp)
/* 35DA40 E0056040 3C02E005 */ lui $v0, %hi(D_E0056B8C)
/* 35DA44 E0056044 24426B8C */ addiu $v0, $v0, %lo(D_E0056B8C)
/* 35DA48 E0056048 AFA20020 */ sw $v0, 0x20($sp)
/* 35DA4C E005604C 2402002B */ addiu $v0, $zero, 0x2b
/* 35DA50 E0056050 AFBF0044 */ sw $ra, 0x44($sp)
/* 35DA54 E0056054 AFB60040 */ sw $s6, 0x40($sp)
/* 35DA58 E0056058 AFB40038 */ sw $s4, 0x38($sp)
/* 35DA5C E005605C AFB30034 */ sw $s3, 0x34($sp)
/* 35DA60 E0056060 AFB20030 */ sw $s2, 0x30($sp)
/* 35DA64 E0056064 AFB1002C */ sw $s1, 0x2c($sp)
/* 35DA68 E0056068 AFB00028 */ sw $s0, 0x28($sp)
/* 35DA6C E005606C AFA00010 */ sw $zero, 0x10($sp)
/* 35DA70 E0056070 AFA00024 */ sw $zero, 0x24($sp)
/* 35DA74 E0056074 0C080124 */ jal func_E0200490
/* 35DA78 E0056078 AFA20014 */ sw $v0, 0x14($sp)
/* 35DA7C E005607C 2404012C */ addiu $a0, $zero, 0x12c
/* 35DA80 E0056080 24160005 */ addiu $s6, $zero, 5
/* 35DA84 E0056084 0040802D */ daddu $s0, $v0, $zero
/* 35DA88 E0056088 0C08012C */ jal func_E02004B0
/* 35DA8C E005608C AE160008 */ sw $s6, 8($s0)
/* 35DA90 E0056090 0040182D */ daddu $v1, $v0, $zero
/* 35DA94 E0056094 14600003 */ bnez $v1, .LE00560A4
/* 35DA98 E0056098 AE03000C */ sw $v1, 0xc($s0)
.LE005609C:
/* 35DA9C E005609C 08015827 */ j .LE005609C
/* 35DAA0 E00560A0 00000000 */ nop
.LE00560A4:
/* 35DAA4 E00560A4 24020064 */ addiu $v0, $zero, 0x64
/* 35DAA8 E00560A8 AC750000 */ sw $s5, ($v1)
/* 35DAAC E00560AC E4740004 */ swc1 $f20, 4($v1)
/* 35DAB0 E00560B0 E4760008 */ swc1 $f22, 8($v1)
/* 35DAB4 E00560B4 E478000C */ swc1 $f24, 0xc($v1)
/* 35DAB8 E00560B8 AC620028 */ sw $v0, 0x28($v1)
/* 35DABC E00560BC AC60002C */ sw $zero, 0x2c($v1)
/* 35DAC0 E00560C0 AC600024 */ sw $zero, 0x24($v1)
/* 35DAC4 E00560C4 24140001 */ addiu $s4, $zero, 1
/* 35DAC8 E00560C8 0296102A */ slt $v0, $s4, $s6
/* 35DACC E00560CC 10400080 */ beqz $v0, .LE00562D0
/* 35DAD0 E00560D0 2463003C */ addiu $v1, $v1, 0x3c
/* 35DAD4 E00560D4 24730014 */ addiu $s3, $v1, 0x14
/* 35DAD8 E00560D8 3C01E005 */ lui $at, %hi(D_E0056EA0)
/* 35DADC E00560DC D4346EA0 */ ldc1 $f20, %lo(D_E0056EA0)($at)
/* 35DAE0 E00560E0 3C01E005 */ lui $at, %hi(D_E0056EA8)
/* 35DAE4 E00560E4 D4386EA8 */ ldc1 $f24, %lo(D_E0056EA8)($at)
/* 35DAE8 E00560E8 3C01E005 */ lui $at, %hi(D_E0056EB0)
/* 35DAEC E00560EC D4366EB0 */ ldc1 $f22, %lo(D_E0056EB0)($at)
.LE00560F0:
/* 35DAF0 E00560F0 0C080000 */ jal func_E0200000
/* 35DAF4 E00560F4 24040032 */ addiu $a0, $zero, 0x32
/* 35DAF8 E00560F8 24040014 */ addiu $a0, $zero, 0x14
/* 35DAFC E00560FC 0C080000 */ jal func_E0200000
/* 35DB00 E0056100 0040802D */ daddu $s0, $v0, $zero
/* 35DB04 E0056104 24040168 */ addiu $a0, $zero, 0x168
/* 35DB08 E0056108 0C080000 */ jal func_E0200000
/* 35DB0C E005610C 0040882D */ daddu $s1, $v0, $zero
/* 35DB10 E0056110 24040064 */ addiu $a0, $zero, 0x64
/* 35DB14 E0056114 0C080000 */ jal func_E0200000
/* 35DB18 E0056118 0040902D */ daddu $s2, $v0, $zero
/* 35DB1C E005611C 2610004B */ addiu $s0, $s0, 0x4b
/* 35DB20 E0056120 44900000 */ mtc1 $s0, $f0
/* 35DB24 E0056124 00000000 */ nop
/* 35DB28 E0056128 46800020 */ cvt.s.w $f0, $f0
/* 35DB2C E005612C 26310046 */ addiu $s1, $s1, 0x46
/* 35DB30 E0056130 E660FFF0 */ swc1 $f0, -0x10($s3)
/* 35DB34 E0056134 44910000 */ mtc1 $s1, $f0
/* 35DB38 E0056138 00000000 */ nop
/* 35DB3C E005613C 46800020 */ cvt.s.w $f0, $f0
/* 35DB40 E0056140 E660FFF4 */ swc1 $f0, -0xc($s3)
/* 35DB44 E0056144 44920000 */ mtc1 $s2, $f0
/* 35DB48 E0056148 00000000 */ nop
/* 35DB4C E005614C 46800020 */ cvt.s.w $f0, $f0
/* 35DB50 E0056150 24030168 */ addiu $v1, $zero, 0x168
/* 35DB54 E0056154 00721823 */ subu $v1, $v1, $s2
/* 35DB58 E0056158 E6600004 */ swc1 $f0, 4($s3)
/* 35DB5C E005615C 44830000 */ mtc1 $v1, $f0
/* 35DB60 E0056160 00000000 */ nop
/* 35DB64 E0056164 46800020 */ cvt.s.w $f0, $f0
/* 35DB68 E0056168 0040182D */ daddu $v1, $v0, $zero
/* 35DB6C E005616C 24020001 */ addiu $v0, $zero, 1
/* 35DB70 E0056170 AE60FFF8 */ sw $zero, -8($s3)
/* 35DB74 E0056174 12A20019 */ beq $s5, $v0, .LE00561DC
/* 35DB78 E0056178 E660000C */ swc1 $f0, 0xc($s3)
/* 35DB7C E005617C 2AA20002 */ slti $v0, $s5, 2
/* 35DB80 E0056180 10400005 */ beqz $v0, .LE0056198
/* 35DB84 E0056184 24020002 */ addiu $v0, $zero, 2
/* 35DB88 E0056188 52A00007 */ beql $s5, $zero, .LE00561A8
/* 35DB8C E005618C AE60FFFC */ sw $zero, -4($s3)
/* 35DB90 E0056190 080158B1 */ j .LE00562C4
/* 35DB94 E0056194 26940001 */ addiu $s4, $s4, 1
.LE0056198:
/* 35DB98 E0056198 12A20023 */ beq $s5, $v0, .LE0056228
/* 35DB9C E005619C 2404000A */ addiu $a0, $zero, 0xa
/* 35DBA0 E00561A0 080158B1 */ j .LE00562C4
/* 35DBA4 E00561A4 26940001 */ addiu $s4, $s4, 1
.LE00561A8:
/* 35DBA8 E00561A8 44830000 */ mtc1 $v1, $f0
/* 35DBAC E00561AC 00000000 */ nop
/* 35DBB0 E00561B0 46800020 */ cvt.s.w $f0, $f0
/* 35DBB4 E00561B4 46000021 */ cvt.d.s $f0, $f0
/* 35DBB8 E00561B8 46340002 */ mul.d $f0, $f0, $f20
/* 35DBBC E00561BC 00000000 */ nop
/* 35DBC0 E00561C0 3C01C040 */ lui $at, 0xc040
/* 35DBC4 E00561C4 44811000 */ mtc1 $at, $f2
/* 35DBC8 E00561C8 3C014040 */ lui $at, 0x4040
/* 35DBCC E00561CC 44812000 */ mtc1 $at, $f4
/* 35DBD0 E00561D0 AE600000 */ sw $zero, ($s3)
/* 35DBD4 E00561D4 08015885 */ j .LE0056214
/* 35DBD8 E00561D8 AE600020 */ sw $zero, 0x20($s3)
.LE00561DC:
/* 35DBDC E00561DC 44830000 */ mtc1 $v1, $f0
/* 35DBE0 E00561E0 00000000 */ nop
/* 35DBE4 E00561E4 46800020 */ cvt.s.w $f0, $f0
/* 35DBE8 E00561E8 46000021 */ cvt.d.s $f0, $f0
/* 35DBEC E00561EC 46340002 */ mul.d $f0, $f0, $f20
/* 35DBF0 E00561F0 00000000 */ nop
/* 35DBF4 E00561F4 3C01C0C0 */ lui $at, 0xc0c0
/* 35DBF8 E00561F8 44811000 */ mtc1 $at, $f2
/* 35DBFC E00561FC 3C0140C0 */ lui $at, 0x40c0
/* 35DC00 E0056200 44812000 */ mtc1 $at, $f4
/* 35DC04 E0056204 AE60FFFC */ sw $zero, -4($s3)
/* 35DC08 E0056208 AE600000 */ sw $zero, ($s3)
/* 35DC0C E005620C AE600020 */ sw $zero, 0x20($s3)
/* 35DC10 E0056210 46200000 */ add.d $f0, $f0, $f0
.LE0056214:
/* 35DC14 E0056214 E662001C */ swc1 $f2, 0x1c($s3)
/* 35DC18 E0056218 E6640024 */ swc1 $f4, 0x24($s3)
/* 35DC1C E005621C 46200020 */ cvt.s.d $f0, $f0
/* 35DC20 E0056220 080158B0 */ j .LE00562C0
/* 35DC24 E0056224 E6600008 */ swc1 $f0, 8($s3)
.LE0056228:
/* 35DC28 E0056228 44830000 */ mtc1 $v1, $f0
/* 35DC2C E005622C 00000000 */ nop
/* 35DC30 E0056230 46800020 */ cvt.s.w $f0, $f0
/* 35DC34 E0056234 46000021 */ cvt.d.s $f0, $f0
/* 35DC38 E0056238 46340002 */ mul.d $f0, $f0, $f20
/* 35DC3C E005623C 00000000 */ nop
/* 35DC40 E0056240 46200000 */ add.d $f0, $f0, $f0
/* 35DC44 E0056244 46200020 */ cvt.s.d $f0, $f0
/* 35DC48 E0056248 0C080138 */ jal func_E02004E0
/* 35DC4C E005624C E6600008 */ swc1 $f0, 8($s3)
/* 35DC50 E0056250 44821000 */ mtc1 $v0, $f2
/* 35DC54 E0056254 00000000 */ nop
/* 35DC58 E0056258 468010A1 */ cvt.d.w $f2, $f2
/* 35DC5C E005625C 46381082 */ mul.d $f2, $f2, $f24
/* 35DC60 E0056260 00000000 */ nop
/* 35DC64 E0056264 46361080 */ add.d $f2, $f2, $f22
/* 35DC68 E0056268 C660FFF0 */ lwc1 $f0, -0x10($s3)
/* 35DC6C E005626C 46000007 */ neg.s $f0, $f0
/* 35DC70 E0056270 46000021 */ cvt.d.s $f0, $f0
/* 35DC74 E0056274 46220002 */ mul.d $f0, $f0, $f2
/* 35DC78 E0056278 00000000 */ nop
/* 35DC7C E005627C 2404000A */ addiu $a0, $zero, 0xa
/* 35DC80 E0056280 46200020 */ cvt.s.d $f0, $f0
/* 35DC84 E0056284 0C080138 */ jal func_E02004E0
/* 35DC88 E0056288 E660FFFC */ swc1 $f0, -4($s3)
/* 35DC8C E005628C 44821000 */ mtc1 $v0, $f2
/* 35DC90 E0056290 00000000 */ nop
/* 35DC94 E0056294 468010A1 */ cvt.d.w $f2, $f2
/* 35DC98 E0056298 46381082 */ mul.d $f2, $f2, $f24
/* 35DC9C E005629C 00000000 */ nop
/* 35DCA0 E00562A0 46361080 */ add.d $f2, $f2, $f22
/* 35DCA4 E00562A4 C660FFF4 */ lwc1 $f0, -0xc($s3)
/* 35DCA8 E00562A8 46000007 */ neg.s $f0, $f0
/* 35DCAC E00562AC 46000021 */ cvt.d.s $f0, $f0
/* 35DCB0 E00562B0 46220002 */ mul.d $f0, $f0, $f2
/* 35DCB4 E00562B4 00000000 */ nop
/* 35DCB8 E00562B8 46200020 */ cvt.s.d $f0, $f0
/* 35DCBC E00562BC E6600000 */ swc1 $f0, ($s3)
.LE00562C0:
/* 35DCC0 E00562C0 26940001 */ addiu $s4, $s4, 1
.LE00562C4:
/* 35DCC4 E00562C4 0296102A */ slt $v0, $s4, $s6
/* 35DCC8 E00562C8 1440FF89 */ bnez $v0, .LE00560F0
/* 35DCCC E00562CC 2673003C */ addiu $s3, $s3, 0x3c
.LE00562D0:
/* 35DCD0 E00562D0 8FBF0044 */ lw $ra, 0x44($sp)
/* 35DCD4 E00562D4 8FB60040 */ lw $s6, 0x40($sp)
/* 35DCD8 E00562D8 8FB5003C */ lw $s5, 0x3c($sp)
/* 35DCDC E00562DC 8FB40038 */ lw $s4, 0x38($sp)
/* 35DCE0 E00562E0 8FB30034 */ lw $s3, 0x34($sp)
/* 35DCE4 E00562E4 8FB20030 */ lw $s2, 0x30($sp)
/* 35DCE8 E00562E8 8FB1002C */ lw $s1, 0x2c($sp)
/* 35DCEC E00562EC 8FB00028 */ lw $s0, 0x28($sp)
/* 35DCF0 E00562F0 D7B80058 */ ldc1 $f24, 0x58($sp)
/* 35DCF4 E00562F4 D7B60050 */ ldc1 $f22, 0x50($sp)
/* 35DCF8 E00562F8 D7B40048 */ ldc1 $f20, 0x48($sp)
/* 35DCFC E00562FC 03E00008 */ jr $ra
/* 35DD00 E0056300 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0056304
/* 35DD04 E0056304 03E00008 */ jr $ra
/* 35DD08 E0056308 00000000 */ nop

View File

@ -0,0 +1,581 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005630C
/* 35DD0C E005630C 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 35DD10 E0056310 AFB40020 */ sw $s4, 0x20($sp)
/* 35DD14 E0056314 0080A02D */ daddu $s4, $a0, $zero
/* 35DD18 E0056318 AFBF0024 */ sw $ra, 0x24($sp)
/* 35DD1C E005631C AFB3001C */ sw $s3, 0x1c($sp)
/* 35DD20 E0056320 AFB20018 */ sw $s2, 0x18($sp)
/* 35DD24 E0056324 AFB10014 */ sw $s1, 0x14($sp)
/* 35DD28 E0056328 AFB00010 */ sw $s0, 0x10($sp)
/* 35DD2C E005632C F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 35DD30 E0056330 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 35DD34 E0056334 F7B80038 */ sdc1 $f24, 0x38($sp)
/* 35DD38 E0056338 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 35DD3C E005633C F7B40028 */ sdc1 $f20, 0x28($sp)
/* 35DD40 E0056340 8E84000C */ lw $a0, 0xc($s4)
/* 35DD44 E0056344 8C820028 */ lw $v0, 0x28($a0)
/* 35DD48 E0056348 8C85002C */ lw $a1, 0x2c($a0)
/* 35DD4C E005634C 2442FFFF */ addiu $v0, $v0, -1
/* 35DD50 E0056350 AC820028 */ sw $v0, 0x28($a0)
/* 35DD54 E0056354 0040302D */ daddu $a2, $v0, $zero
/* 35DD58 E0056358 24A20001 */ addiu $v0, $a1, 1
/* 35DD5C E005635C 04C10005 */ bgez $a2, .LE0056374
/* 35DD60 E0056360 AC82002C */ sw $v0, 0x2c($a0)
/* 35DD64 E0056364 0C080128 */ jal func_E02004A0
/* 35DD68 E0056368 0280202D */ daddu $a0, $s4, $zero
/* 35DD6C E005636C 08015AD6 */ j .LE0056B58
/* 35DD70 E0056370 00000000 */ nop
.LE0056374:
/* 35DD74 E0056374 8C930000 */ lw $s3, ($a0)
/* 35DD78 E0056378 2842000A */ slti $v0, $v0, 0xa
/* 35DD7C E005637C 10400010 */ beqz $v0, .LE00563C0
/* 35DD80 E0056380 240200FF */ addiu $v0, $zero, 0xff
/* 35DD84 E0056384 8C830024 */ lw $v1, 0x24($a0)
/* 35DD88 E0056388 3C01E005 */ lui $at, %hi(D_E0056EB8)
/* 35DD8C E005638C D4206EB8 */ ldc1 $f0, %lo(D_E0056EB8)($at)
/* 35DD90 E0056390 00431023 */ subu $v0, $v0, $v1
/* 35DD94 E0056394 44821000 */ mtc1 $v0, $f2
/* 35DD98 E0056398 00000000 */ nop
/* 35DD9C E005639C 468010A1 */ cvt.d.w $f2, $f2
/* 35DDA0 E00563A0 46201082 */ mul.d $f2, $f2, $f0
/* 35DDA4 E00563A4 00000000 */ nop
/* 35DDA8 E00563A8 44830000 */ mtc1 $v1, $f0
/* 35DDAC E00563AC 00000000 */ nop
/* 35DDB0 E00563B0 46800021 */ cvt.d.w $f0, $f0
/* 35DDB4 E00563B4 46220000 */ add.d $f0, $f0, $f2
/* 35DDB8 E00563B8 4620028D */ trunc.w.d $f10, $f0
/* 35DDBC E00563BC E48A0024 */ swc1 $f10, 0x24($a0)
.LE00563C0:
/* 35DDC0 E00563C0 28C2000A */ slti $v0, $a2, 0xa
/* 35DDC4 E00563C4 10400009 */ beqz $v0, .LE00563EC
/* 35DDC8 E00563C8 24020001 */ addiu $v0, $zero, 1
/* 35DDCC E00563CC 3C01E005 */ lui $at, %hi(D_E0056EC0)
/* 35DDD0 E00563D0 D4226EC0 */ ldc1 $f2, %lo(D_E0056EC0)($at)
/* 35DDD4 E00563D4 C4800024 */ lwc1 $f0, 0x24($a0)
/* 35DDD8 E00563D8 46800021 */ cvt.d.w $f0, $f0
/* 35DDDC E00563DC 46220002 */ mul.d $f0, $f0, $f2
/* 35DDE0 E00563E0 00000000 */ nop
/* 35DDE4 E00563E4 4620028D */ trunc.w.d $f10, $f0
/* 35DDE8 E00563E8 E48A0024 */ swc1 $f10, 0x24($a0)
.LE00563EC:
/* 35DDEC E00563EC 126200E6 */ beq $s3, $v0, .LE0056788
/* 35DDF0 E00563F0 2484003C */ addiu $a0, $a0, 0x3c
/* 35DDF4 E00563F4 2A620002 */ slti $v0, $s3, 2
/* 35DDF8 E00563F8 50400005 */ beql $v0, $zero, .LE0056410
/* 35DDFC E00563FC 24020002 */ addiu $v0, $zero, 2
/* 35DE00 E0056400 12600007 */ beqz $s3, .LE0056420
/* 35DE04 E0056404 24120001 */ addiu $s2, $zero, 1
/* 35DE08 E0056408 08015AD6 */ j .LE0056B58
/* 35DE0C E005640C 00000000 */ nop
.LE0056410:
/* 35DE10 E0056410 1262019E */ beq $s3, $v0, .LE0056A8C
/* 35DE14 E0056414 24120001 */ addiu $s2, $zero, 1
/* 35DE18 E0056418 08015AD6 */ j .LE0056B58
/* 35DE1C E005641C 00000000 */ nop
.LE0056420:
/* 35DE20 E0056420 8E820008 */ lw $v0, 8($s4)
/* 35DE24 E0056424 0242102A */ slt $v0, $s2, $v0
/* 35DE28 E0056428 104001CB */ beqz $v0, .LE0056B58
/* 35DE2C E005642C 2490000C */ addiu $s0, $a0, 0xc
/* 35DE30 E0056430 24B10015 */ addiu $s1, $a1, 0x15
/* 35DE34 E0056434 3C01BD4C */ lui $at, 0xbd4c
/* 35DE38 E0056438 3421CCCD */ ori $at, $at, 0xcccd
/* 35DE3C E005643C 4481E000 */ mtc1 $at, $f28
/* 35DE40 E0056440 3C014120 */ lui $at, 0x4120
/* 35DE44 E0056444 4481D000 */ mtc1 $at, $f26
/* 35DE48 E0056448 3C01E005 */ lui $at, %hi(D_E0056EC8)
/* 35DE4C E005644C D4346EC8 */ ldc1 $f20, %lo(D_E0056EC8)($at)
/* 35DE50 E0056450 4480C000 */ mtc1 $zero, $f24
/* 35DE54 E0056454 3C01E005 */ lui $at, %hi(D_E0056ED0)
/* 35DE58 E0056458 D4366ED0 */ ldc1 $f22, %lo(D_E0056ED0)($at)
.LE005645C:
/* 35DE5C E005645C C60C000C */ lwc1 $f12, 0xc($s0)
/* 35DE60 E0056460 0C080140 */ jal func_E0200500
/* 35DE64 E0056464 460C6300 */ add.s $f12, $f12, $f12
/* 35DE68 E0056468 3C01E005 */ lui $at, %hi(D_E0056ED8)
/* 35DE6C E005646C D4226ED8 */ ldc1 $f2, %lo(D_E0056ED8)($at)
/* 35DE70 E0056470 46000021 */ cvt.d.s $f0, $f0
/* 35DE74 E0056474 46220002 */ mul.d $f0, $f0, $f2
/* 35DE78 E0056478 00000000 */ nop
/* 35DE7C E005647C C6020008 */ lwc1 $f2, 8($s0)
/* 35DE80 E0056480 461C1080 */ add.s $f2, $f2, $f28
/* 35DE84 E0056484 C6040004 */ lwc1 $f4, 4($s0)
/* 35DE88 E0056488 46200020 */ cvt.s.d $f0, $f0
/* 35DE8C E005648C 46002000 */ add.s $f0, $f4, $f0
/* 35DE90 E0056490 E6020008 */ swc1 $f2, 8($s0)
/* 35DE94 E0056494 16600019 */ bnez $s3, .LE00564FC
/* 35DE98 E0056498 E6000004 */ swc1 $f0, 4($s0)
/* 35DE9C E005649C 3C01E005 */ lui $at, %hi(D_E0056EE0)
/* 35DEA0 E00564A0 D4226EE0 */ ldc1 $f2, %lo(D_E0056EE0)($at)
/* 35DEA4 E00564A4 46000021 */ cvt.d.s $f0, $f0
/* 35DEA8 E00564A8 46220002 */ mul.d $f0, $f0, $f2
/* 35DEAC E00564AC 00000000 */ nop
/* 35DEB0 E00564B0 C60C000C */ lwc1 $f12, 0xc($s0)
/* 35DEB4 E00564B4 46200020 */ cvt.s.d $f0, $f0
/* 35DEB8 E00564B8 0C080140 */ jal func_E0200500
/* 35DEBC E00564BC E6000004 */ swc1 $f0, 4($s0)
/* 35DEC0 E00564C0 3C01E005 */ lui $at, %hi(D_E0056EE8)
/* 35DEC4 E00564C4 D4226EE8 */ ldc1 $f2, %lo(D_E0056EE8)($at)
/* 35DEC8 E00564C8 46000021 */ cvt.d.s $f0, $f0
/* 35DECC E00564CC 46220002 */ mul.d $f0, $f0, $f2
/* 35DED0 E00564D0 00000000 */ nop
/* 35DED4 E00564D4 3C01E005 */ lui $at, %hi(D_E0056EF0)
/* 35DED8 E00564D8 D4246EF0 */ ldc1 $f4, %lo(D_E0056EF0)($at)
/* 35DEDC E00564DC C6020008 */ lwc1 $f2, 8($s0)
/* 35DEE0 E00564E0 46240000 */ add.d $f0, $f0, $f4
/* 35DEE4 E00564E4 460010A1 */ cvt.d.s $f2, $f2
/* 35DEE8 E00564E8 46201082 */ mul.d $f2, $f2, $f0
/* 35DEEC E00564EC 00000000 */ nop
/* 35DEF0 E00564F0 462010A0 */ cvt.s.d $f2, $f2
/* 35DEF4 E00564F4 0801594A */ j .LE0056528
/* 35DEF8 E00564F8 E6020008 */ swc1 $f2, 8($s0)
.LE00564FC:
/* 35DEFC E00564FC C6000004 */ lwc1 $f0, 4($s0)
/* 35DF00 E0056500 3C01E005 */ lui $at, %hi(D_E0056EF8)
/* 35DF04 E0056504 D4226EF8 */ ldc1 $f2, %lo(D_E0056EF8)($at)
/* 35DF08 E0056508 46000021 */ cvt.d.s $f0, $f0
/* 35DF0C E005650C 46220002 */ mul.d $f0, $f0, $f2
/* 35DF10 E0056510 00000000 */ nop
/* 35DF14 E0056514 C6020008 */ lwc1 $f2, 8($s0)
/* 35DF18 E0056518 461C1080 */ add.s $f2, $f2, $f28
/* 35DF1C E005651C E6020008 */ swc1 $f2, 8($s0)
/* 35DF20 E0056520 46200020 */ cvt.s.d $f0, $f0
/* 35DF24 E0056524 E6000004 */ swc1 $f0, 4($s0)
.LE0056528:
/* 35DF28 E0056528 24040032 */ addiu $a0, $zero, 0x32
/* 35DF2C E005652C 0C080011 */ jal func_E0200044
/* 35DF30 E0056530 0220282D */ daddu $a1, $s1, $zero
/* 35DF34 E0056534 2442FFE7 */ addiu $v0, $v0, -0x19
/* 35DF38 E0056538 C60C0010 */ lwc1 $f12, 0x10($s0)
/* 35DF3C E005653C 44820000 */ mtc1 $v0, $f0
/* 35DF40 E0056540 00000000 */ nop
/* 35DF44 E0056544 46800020 */ cvt.s.w $f0, $f0
/* 35DF48 E0056548 46006300 */ add.s $f12, $f12, $f0
/* 35DF4C E005654C 0C080140 */ jal func_E0200500
/* 35DF50 E0056550 E60C0010 */ swc1 $f12, 0x10($s0)
/* 35DF54 E0056554 C60C0010 */ lwc1 $f12, 0x10($s0)
/* 35DF58 E0056558 3C013FE0 */ lui $at, 0x3fe0
/* 35DF5C E005655C 44811800 */ mtc1 $at, $f3
/* 35DF60 E0056560 44801000 */ mtc1 $zero, $f2
/* 35DF64 E0056564 46006321 */ cvt.d.s $f12, $f12
/* 35DF68 E0056568 46226302 */ mul.d $f12, $f12, $f2
/* 35DF6C E005656C 00000000 */ nop
/* 35DF70 E0056570 461A0002 */ mul.s $f0, $f0, $f26
/* 35DF74 E0056574 00000000 */ nop
/* 35DF78 E0056578 C602000C */ lwc1 $f2, 0xc($s0)
/* 35DF7C E005657C 46001080 */ add.s $f2, $f2, $f0
/* 35DF80 E0056580 E602000C */ swc1 $f2, 0xc($s0)
/* 35DF84 E0056584 0C080144 */ jal func_E0200510
/* 35DF88 E0056588 46206320 */ cvt.s.d $f12, $f12
/* 35DF8C E005658C 461A0002 */ mul.s $f0, $f0, $f26
/* 35DF90 E0056590 00000000 */ nop
/* 35DF94 E0056594 C606FFF8 */ lwc1 $f6, -8($s0)
/* 35DF98 E0056598 C6020004 */ lwc1 $f2, 4($s0)
/* 35DF9C E005659C C604FFFC */ lwc1 $f4, -4($s0)
/* 35DFA0 E00565A0 46023180 */ add.s $f6, $f6, $f2
/* 35DFA4 E00565A4 C6020008 */ lwc1 $f2, 8($s0)
/* 35DFA8 E00565A8 46022100 */ add.s $f4, $f4, $f2
/* 35DFAC E00565AC C6020014 */ lwc1 $f2, 0x14($s0)
/* 35DFB0 E00565B0 3C0141F0 */ lui $at, 0x41f0
/* 35DFB4 E00565B4 44814000 */ mtc1 $at, $f8
/* 35DFB8 E00565B8 46001080 */ add.s $f2, $f2, $f0
/* 35DFBC E00565BC E606FFF8 */ swc1 $f6, -8($s0)
/* 35DFC0 E00565C0 E604FFFC */ swc1 $f4, -4($s0)
/* 35DFC4 E00565C4 4608203C */ c.lt.s $f4, $f8
/* 35DFC8 E00565C8 00000000 */ nop
/* 35DFCC E00565CC 45000032 */ bc1f .LE0056698
/* 35DFD0 E00565D0 E6020014 */ swc1 $f2, 0x14($s0)
/* 35DFD4 E00565D4 3C01C348 */ lui $at, 0xc348
/* 35DFD8 E00565D8 44810000 */ mtc1 $at, $f0
/* 35DFDC E00565DC 46003086 */ mov.s $f2, $f6
/* 35DFE0 E00565E0 4602003C */ c.lt.s $f0, $f2
/* 35DFE4 E00565E4 00000000 */ nop
/* 35DFE8 E00565E8 45000005 */ bc1f .LE0056600
/* 35DFEC E00565EC 00000000 */ nop
/* 35DFF0 E00565F0 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35DFF4 E00565F4 46000021 */ cvt.d.s $f0, $f0
/* 35DFF8 E00565F8 08015983 */ j .LE005660C
/* 35DFFC E00565FC 46340001 */ sub.d $f0, $f0, $f20
.LE0056600:
/* 35E000 E0056600 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E004 E0056604 46000021 */ cvt.d.s $f0, $f0
/* 35E008 E0056608 46340000 */ add.d $f0, $f0, $f20
.LE005660C:
/* 35E00C E005660C 46200020 */ cvt.s.d $f0, $f0
/* 35E010 E0056610 E6000024 */ swc1 $f0, 0x24($s0)
/* 35E014 E0056614 C6000000 */ lwc1 $f0, ($s0)
/* 35E018 E0056618 4600C03C */ c.lt.s $f24, $f0
/* 35E01C E005661C 00000000 */ nop
/* 35E020 E0056620 45000005 */ bc1f .LE0056638
/* 35E024 E0056624 00000000 */ nop
/* 35E028 E0056628 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E02C E005662C 46000021 */ cvt.d.s $f0, $f0
/* 35E030 E0056630 08015991 */ j .LE0056644
/* 35E034 E0056634 46340001 */ sub.d $f0, $f0, $f20
.LE0056638:
/* 35E038 E0056638 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E03C E005663C 46000021 */ cvt.d.s $f0, $f0
/* 35E040 E0056640 46340000 */ add.d $f0, $f0, $f20
.LE0056644:
/* 35E044 E0056644 46200020 */ cvt.s.d $f0, $f0
/* 35E048 E0056648 E600002C */ swc1 $f0, 0x2c($s0)
/* 35E04C E005664C C6040024 */ lwc1 $f4, 0x24($s0)
/* 35E050 E0056650 46002121 */ cvt.d.s $f4, $f4
/* 35E054 E0056654 46362102 */ mul.d $f4, $f4, $f22
/* 35E058 E0056658 00000000 */ nop
/* 35E05C E005665C C602002C */ lwc1 $f2, 0x2c($s0)
/* 35E060 E0056660 460010A1 */ cvt.d.s $f2, $f2
/* 35E064 E0056664 46361082 */ mul.d $f2, $f2, $f22
/* 35E068 E0056668 00000000 */ nop
/* 35E06C E005666C C6000008 */ lwc1 $f0, 8($s0)
/* 35E070 E0056670 46000021 */ cvt.d.s $f0, $f0
/* 35E074 E0056674 46360002 */ mul.d $f0, $f0, $f22
/* 35E078 E0056678 00000000 */ nop
/* 35E07C E005667C 46202120 */ cvt.s.d $f4, $f4
/* 35E080 E0056680 462010A0 */ cvt.s.d $f2, $f2
/* 35E084 E0056684 46200020 */ cvt.s.d $f0, $f0
/* 35E088 E0056688 E6040024 */ swc1 $f4, 0x24($s0)
/* 35E08C E005668C E602002C */ swc1 $f2, 0x2c($s0)
/* 35E090 E0056690 080159CE */ j .LE0056738
/* 35E094 E0056694 E6000008 */ swc1 $f0, 8($s0)
.LE0056698:
/* 35E098 E0056698 C600FFF8 */ lwc1 $f0, -8($s0)
/* 35E09C E005669C 4600C03C */ c.lt.s $f24, $f0
/* 35E0A0 E00566A0 00000000 */ nop
/* 35E0A4 E00566A4 45000005 */ bc1f .LE00566BC
/* 35E0A8 E00566A8 00000000 */ nop
/* 35E0AC E00566AC C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E0B0 E00566B0 46000021 */ cvt.d.s $f0, $f0
/* 35E0B4 E00566B4 080159B2 */ j .LE00566C8
/* 35E0B8 E00566B8 46340001 */ sub.d $f0, $f0, $f20
.LE00566BC:
/* 35E0BC E00566BC C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E0C0 E00566C0 46000021 */ cvt.d.s $f0, $f0
/* 35E0C4 E00566C4 46340000 */ add.d $f0, $f0, $f20
.LE00566C8:
/* 35E0C8 E00566C8 46200020 */ cvt.s.d $f0, $f0
/* 35E0CC E00566CC E6000024 */ swc1 $f0, 0x24($s0)
/* 35E0D0 E00566D0 C6000000 */ lwc1 $f0, ($s0)
/* 35E0D4 E00566D4 4600C03C */ c.lt.s $f24, $f0
/* 35E0D8 E00566D8 00000000 */ nop
/* 35E0DC E00566DC 45000005 */ bc1f .LE00566F4
/* 35E0E0 E00566E0 00000000 */ nop
/* 35E0E4 E00566E4 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E0E8 E00566E8 46000021 */ cvt.d.s $f0, $f0
/* 35E0EC E00566EC 080159C0 */ j .LE0056700
/* 35E0F0 E00566F0 46340001 */ sub.d $f0, $f0, $f20
.LE00566F4:
/* 35E0F4 E00566F4 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E0F8 E00566F8 46000021 */ cvt.d.s $f0, $f0
/* 35E0FC E00566FC 46340000 */ add.d $f0, $f0, $f20
.LE0056700:
/* 35E100 E0056700 46200020 */ cvt.s.d $f0, $f0
/* 35E104 E0056704 E600002C */ swc1 $f0, 0x2c($s0)
/* 35E108 E0056708 C6020024 */ lwc1 $f2, 0x24($s0)
/* 35E10C E005670C 460010A1 */ cvt.d.s $f2, $f2
/* 35E110 E0056710 46361082 */ mul.d $f2, $f2, $f22
/* 35E114 E0056714 00000000 */ nop
/* 35E118 E0056718 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E11C E005671C 46000021 */ cvt.d.s $f0, $f0
/* 35E120 E0056720 46360002 */ mul.d $f0, $f0, $f22
/* 35E124 E0056724 00000000 */ nop
/* 35E128 E0056728 462010A0 */ cvt.s.d $f2, $f2
/* 35E12C E005672C 46200020 */ cvt.s.d $f0, $f0
/* 35E130 E0056730 E6020024 */ swc1 $f2, 0x24($s0)
/* 35E134 E0056734 E600002C */ swc1 $f0, 0x2c($s0)
.LE0056738:
/* 35E138 E0056738 26310014 */ addiu $s1, $s1, 0x14
/* 35E13C E005673C C606FFF8 */ lwc1 $f6, -8($s0)
/* 35E140 E0056740 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E144 E0056744 C604FFFC */ lwc1 $f4, -4($s0)
/* 35E148 E0056748 46003180 */ add.s $f6, $f6, $f0
/* 35E14C E005674C C6000028 */ lwc1 $f0, 0x28($s0)
/* 35E150 E0056750 C602002C */ lwc1 $f2, 0x2c($s0)
/* 35E154 E0056754 46002100 */ add.s $f4, $f4, $f0
/* 35E158 E0056758 C6000000 */ lwc1 $f0, ($s0)
/* 35E15C E005675C 26520001 */ addiu $s2, $s2, 1
/* 35E160 E0056760 46020000 */ add.s $f0, $f0, $f2
/* 35E164 E0056764 E606FFF8 */ swc1 $f6, -8($s0)
/* 35E168 E0056768 E604FFFC */ swc1 $f4, -4($s0)
/* 35E16C E005676C E6000000 */ swc1 $f0, ($s0)
/* 35E170 E0056770 8E820008 */ lw $v0, 8($s4)
/* 35E174 E0056774 0242102A */ slt $v0, $s2, $v0
/* 35E178 E0056778 1440FF38 */ bnez $v0, .LE005645C
/* 35E17C E005677C 2610003C */ addiu $s0, $s0, 0x3c
/* 35E180 E0056780 08015AD6 */ j .LE0056B58
/* 35E184 E0056784 00000000 */ nop
.LE0056788:
/* 35E188 E0056788 8E820008 */ lw $v0, 8($s4)
/* 35E18C E005678C 24120001 */ addiu $s2, $zero, 1
/* 35E190 E0056790 0242102A */ slt $v0, $s2, $v0
/* 35E194 E0056794 104000F0 */ beqz $v0, .LE0056B58
/* 35E198 E0056798 2490000C */ addiu $s0, $a0, 0xc
/* 35E19C E005679C 24B10015 */ addiu $s1, $a1, 0x15
/* 35E1A0 E00567A0 3C01BD4C */ lui $at, 0xbd4c
/* 35E1A4 E00567A4 3421CCCD */ ori $at, $at, 0xcccd
/* 35E1A8 E00567A8 4481E000 */ mtc1 $at, $f28
/* 35E1AC E00567AC 3C014120 */ lui $at, 0x4120
/* 35E1B0 E00567B0 4481D000 */ mtc1 $at, $f26
/* 35E1B4 E00567B4 3C01E005 */ lui $at, %hi(D_E0056F00)
/* 35E1B8 E00567B8 D4346F00 */ ldc1 $f20, %lo(D_E0056F00)($at)
/* 35E1BC E00567BC 4480C000 */ mtc1 $zero, $f24
/* 35E1C0 E00567C0 3C01E005 */ lui $at, %hi(D_E0056F08)
/* 35E1C4 E00567C4 D4366F08 */ ldc1 $f22, %lo(D_E0056F08)($at)
.LE00567C8:
/* 35E1C8 E00567C8 C60C000C */ lwc1 $f12, 0xc($s0)
/* 35E1CC E00567CC 0C080140 */ jal func_E0200500
/* 35E1D0 E00567D0 460C6300 */ add.s $f12, $f12, $f12
/* 35E1D4 E00567D4 3C01E005 */ lui $at, %hi(D_E0056F10)
/* 35E1D8 E00567D8 D4226F10 */ ldc1 $f2, %lo(D_E0056F10)($at)
/* 35E1DC E00567DC 46000021 */ cvt.d.s $f0, $f0
/* 35E1E0 E00567E0 46220002 */ mul.d $f0, $f0, $f2
/* 35E1E4 E00567E4 00000000 */ nop
/* 35E1E8 E00567E8 46200000 */ add.d $f0, $f0, $f0
/* 35E1EC E00567EC C6020004 */ lwc1 $f2, 4($s0)
/* 35E1F0 E00567F0 46200020 */ cvt.s.d $f0, $f0
/* 35E1F4 E00567F4 46001080 */ add.s $f2, $f2, $f0
/* 35E1F8 E00567F8 3C01E005 */ lui $at, %hi(D_E0056F18)
/* 35E1FC E00567FC D4206F18 */ ldc1 $f0, %lo(D_E0056F18)($at)
/* 35E200 E0056800 E6020004 */ swc1 $f2, 4($s0)
/* 35E204 E0056804 460010A1 */ cvt.d.s $f2, $f2
/* 35E208 E0056808 46201082 */ mul.d $f2, $f2, $f0
/* 35E20C E005680C 00000000 */ nop
/* 35E210 E0056810 C6000008 */ lwc1 $f0, 8($s0)
/* 35E214 E0056814 461C0000 */ add.s $f0, $f0, $f28
/* 35E218 E0056818 E6000008 */ swc1 $f0, 8($s0)
/* 35E21C E005681C 461C0000 */ add.s $f0, $f0, $f28
/* 35E220 E0056820 24040032 */ addiu $a0, $zero, 0x32
/* 35E224 E0056824 0220282D */ daddu $a1, $s1, $zero
/* 35E228 E0056828 E6000008 */ swc1 $f0, 8($s0)
/* 35E22C E005682C 462010A0 */ cvt.s.d $f2, $f2
/* 35E230 E0056830 0C080011 */ jal func_E0200044
/* 35E234 E0056834 E6020004 */ swc1 $f2, 4($s0)
/* 35E238 E0056838 2442FFE7 */ addiu $v0, $v0, -0x19
/* 35E23C E005683C C60C0010 */ lwc1 $f12, 0x10($s0)
/* 35E240 E0056840 44820000 */ mtc1 $v0, $f0
/* 35E244 E0056844 00000000 */ nop
/* 35E248 E0056848 46800020 */ cvt.s.w $f0, $f0
/* 35E24C E005684C 46006300 */ add.s $f12, $f12, $f0
/* 35E250 E0056850 0C080140 */ jal func_E0200500
/* 35E254 E0056854 E60C0010 */ swc1 $f12, 0x10($s0)
/* 35E258 E0056858 C60C0010 */ lwc1 $f12, 0x10($s0)
/* 35E25C E005685C 3C013FE0 */ lui $at, 0x3fe0
/* 35E260 E0056860 44811800 */ mtc1 $at, $f3
/* 35E264 E0056864 44801000 */ mtc1 $zero, $f2
/* 35E268 E0056868 46006321 */ cvt.d.s $f12, $f12
/* 35E26C E005686C 46226302 */ mul.d $f12, $f12, $f2
/* 35E270 E0056870 00000000 */ nop
/* 35E274 E0056874 461A0002 */ mul.s $f0, $f0, $f26
/* 35E278 E0056878 00000000 */ nop
/* 35E27C E005687C C602000C */ lwc1 $f2, 0xc($s0)
/* 35E280 E0056880 46001080 */ add.s $f2, $f2, $f0
/* 35E284 E0056884 E602000C */ swc1 $f2, 0xc($s0)
/* 35E288 E0056888 0C080144 */ jal func_E0200510
/* 35E28C E005688C 46206320 */ cvt.s.d $f12, $f12
/* 35E290 E0056890 461A0002 */ mul.s $f0, $f0, $f26
/* 35E294 E0056894 00000000 */ nop
/* 35E298 E0056898 C606FFF8 */ lwc1 $f6, -8($s0)
/* 35E29C E005689C C6020004 */ lwc1 $f2, 4($s0)
/* 35E2A0 E00568A0 C604FFFC */ lwc1 $f4, -4($s0)
/* 35E2A4 E00568A4 46023180 */ add.s $f6, $f6, $f2
/* 35E2A8 E00568A8 C6020008 */ lwc1 $f2, 8($s0)
/* 35E2AC E00568AC 46022100 */ add.s $f4, $f4, $f2
/* 35E2B0 E00568B0 C6020014 */ lwc1 $f2, 0x14($s0)
/* 35E2B4 E00568B4 3C0141F0 */ lui $at, 0x41f0
/* 35E2B8 E00568B8 44814000 */ mtc1 $at, $f8
/* 35E2BC E00568BC 46001080 */ add.s $f2, $f2, $f0
/* 35E2C0 E00568C0 E606FFF8 */ swc1 $f6, -8($s0)
/* 35E2C4 E00568C4 E604FFFC */ swc1 $f4, -4($s0)
/* 35E2C8 E00568C8 4608203C */ c.lt.s $f4, $f8
/* 35E2CC E00568CC 00000000 */ nop
/* 35E2D0 E00568D0 45000032 */ bc1f .LE005699C
/* 35E2D4 E00568D4 E6020014 */ swc1 $f2, 0x14($s0)
/* 35E2D8 E00568D8 3C01C348 */ lui $at, 0xc348
/* 35E2DC E00568DC 44810000 */ mtc1 $at, $f0
/* 35E2E0 E00568E0 46003086 */ mov.s $f2, $f6
/* 35E2E4 E00568E4 4602003C */ c.lt.s $f0, $f2
/* 35E2E8 E00568E8 00000000 */ nop
/* 35E2EC E00568EC 45000005 */ bc1f .LE0056904
/* 35E2F0 E00568F0 00000000 */ nop
/* 35E2F4 E00568F4 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E2F8 E00568F8 46000021 */ cvt.d.s $f0, $f0
/* 35E2FC E00568FC 08015A44 */ j .LE0056910
/* 35E300 E0056900 46340001 */ sub.d $f0, $f0, $f20
.LE0056904:
/* 35E304 E0056904 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E308 E0056908 46000021 */ cvt.d.s $f0, $f0
/* 35E30C E005690C 46340000 */ add.d $f0, $f0, $f20
.LE0056910:
/* 35E310 E0056910 46200020 */ cvt.s.d $f0, $f0
/* 35E314 E0056914 E6000024 */ swc1 $f0, 0x24($s0)
/* 35E318 E0056918 C6000000 */ lwc1 $f0, ($s0)
/* 35E31C E005691C 4600C03C */ c.lt.s $f24, $f0
/* 35E320 E0056920 00000000 */ nop
/* 35E324 E0056924 45000005 */ bc1f .LE005693C
/* 35E328 E0056928 00000000 */ nop
/* 35E32C E005692C C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E330 E0056930 46000021 */ cvt.d.s $f0, $f0
/* 35E334 E0056934 08015A52 */ j .LE0056948
/* 35E338 E0056938 46340001 */ sub.d $f0, $f0, $f20
.LE005693C:
/* 35E33C E005693C C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E340 E0056940 46000021 */ cvt.d.s $f0, $f0
/* 35E344 E0056944 46340000 */ add.d $f0, $f0, $f20
.LE0056948:
/* 35E348 E0056948 46200020 */ cvt.s.d $f0, $f0
/* 35E34C E005694C E600002C */ swc1 $f0, 0x2c($s0)
/* 35E350 E0056950 C6040024 */ lwc1 $f4, 0x24($s0)
/* 35E354 E0056954 46002121 */ cvt.d.s $f4, $f4
/* 35E358 E0056958 46362102 */ mul.d $f4, $f4, $f22
/* 35E35C E005695C 00000000 */ nop
/* 35E360 E0056960 C602002C */ lwc1 $f2, 0x2c($s0)
/* 35E364 E0056964 460010A1 */ cvt.d.s $f2, $f2
/* 35E368 E0056968 46361082 */ mul.d $f2, $f2, $f22
/* 35E36C E005696C 00000000 */ nop
/* 35E370 E0056970 C6000008 */ lwc1 $f0, 8($s0)
/* 35E374 E0056974 46000021 */ cvt.d.s $f0, $f0
/* 35E378 E0056978 46360002 */ mul.d $f0, $f0, $f22
/* 35E37C E005697C 00000000 */ nop
/* 35E380 E0056980 46202120 */ cvt.s.d $f4, $f4
/* 35E384 E0056984 462010A0 */ cvt.s.d $f2, $f2
/* 35E388 E0056988 46200020 */ cvt.s.d $f0, $f0
/* 35E38C E005698C E6040024 */ swc1 $f4, 0x24($s0)
/* 35E390 E0056990 E602002C */ swc1 $f2, 0x2c($s0)
/* 35E394 E0056994 08015A8F */ j .LE0056A3C
/* 35E398 E0056998 E6000008 */ swc1 $f0, 8($s0)
.LE005699C:
/* 35E39C E005699C C600FFF8 */ lwc1 $f0, -8($s0)
/* 35E3A0 E00569A0 4600C03C */ c.lt.s $f24, $f0
/* 35E3A4 E00569A4 00000000 */ nop
/* 35E3A8 E00569A8 45000005 */ bc1f .LE00569C0
/* 35E3AC E00569AC 00000000 */ nop
/* 35E3B0 E00569B0 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E3B4 E00569B4 46000021 */ cvt.d.s $f0, $f0
/* 35E3B8 E00569B8 08015A73 */ j .LE00569CC
/* 35E3BC E00569BC 46340001 */ sub.d $f0, $f0, $f20
.LE00569C0:
/* 35E3C0 E00569C0 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E3C4 E00569C4 46000021 */ cvt.d.s $f0, $f0
/* 35E3C8 E00569C8 46340000 */ add.d $f0, $f0, $f20
.LE00569CC:
/* 35E3CC E00569CC 46200020 */ cvt.s.d $f0, $f0
/* 35E3D0 E00569D0 E6000024 */ swc1 $f0, 0x24($s0)
/* 35E3D4 E00569D4 C6000000 */ lwc1 $f0, ($s0)
/* 35E3D8 E00569D8 4600C03C */ c.lt.s $f24, $f0
/* 35E3DC E00569DC 00000000 */ nop
/* 35E3E0 E00569E0 45000005 */ bc1f .LE00569F8
/* 35E3E4 E00569E4 00000000 */ nop
/* 35E3E8 E00569E8 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E3EC E00569EC 46000021 */ cvt.d.s $f0, $f0
/* 35E3F0 E00569F0 08015A81 */ j .LE0056A04
/* 35E3F4 E00569F4 46340001 */ sub.d $f0, $f0, $f20
.LE00569F8:
/* 35E3F8 E00569F8 C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E3FC E00569FC 46000021 */ cvt.d.s $f0, $f0
/* 35E400 E0056A00 46340000 */ add.d $f0, $f0, $f20
.LE0056A04:
/* 35E404 E0056A04 46200020 */ cvt.s.d $f0, $f0
/* 35E408 E0056A08 E600002C */ swc1 $f0, 0x2c($s0)
/* 35E40C E0056A0C C6020024 */ lwc1 $f2, 0x24($s0)
/* 35E410 E0056A10 460010A1 */ cvt.d.s $f2, $f2
/* 35E414 E0056A14 46361082 */ mul.d $f2, $f2, $f22
/* 35E418 E0056A18 00000000 */ nop
/* 35E41C E0056A1C C600002C */ lwc1 $f0, 0x2c($s0)
/* 35E420 E0056A20 46000021 */ cvt.d.s $f0, $f0
/* 35E424 E0056A24 46360002 */ mul.d $f0, $f0, $f22
/* 35E428 E0056A28 00000000 */ nop
/* 35E42C E0056A2C 462010A0 */ cvt.s.d $f2, $f2
/* 35E430 E0056A30 46200020 */ cvt.s.d $f0, $f0
/* 35E434 E0056A34 E6020024 */ swc1 $f2, 0x24($s0)
/* 35E438 E0056A38 E600002C */ swc1 $f0, 0x2c($s0)
.LE0056A3C:
/* 35E43C E0056A3C 26310014 */ addiu $s1, $s1, 0x14
/* 35E440 E0056A40 C606FFF8 */ lwc1 $f6, -8($s0)
/* 35E444 E0056A44 C6000024 */ lwc1 $f0, 0x24($s0)
/* 35E448 E0056A48 C604FFFC */ lwc1 $f4, -4($s0)
/* 35E44C E0056A4C 46003180 */ add.s $f6, $f6, $f0
/* 35E450 E0056A50 C6000028 */ lwc1 $f0, 0x28($s0)
/* 35E454 E0056A54 C602002C */ lwc1 $f2, 0x2c($s0)
/* 35E458 E0056A58 46002100 */ add.s $f4, $f4, $f0
/* 35E45C E0056A5C C6000000 */ lwc1 $f0, ($s0)
/* 35E460 E0056A60 26520001 */ addiu $s2, $s2, 1
/* 35E464 E0056A64 46020000 */ add.s $f0, $f0, $f2
/* 35E468 E0056A68 E606FFF8 */ swc1 $f6, -8($s0)
/* 35E46C E0056A6C E604FFFC */ swc1 $f4, -4($s0)
/* 35E470 E0056A70 E6000000 */ swc1 $f0, ($s0)
/* 35E474 E0056A74 8E820008 */ lw $v0, 8($s4)
/* 35E478 E0056A78 0242102A */ slt $v0, $s2, $v0
/* 35E47C E0056A7C 1440FF52 */ bnez $v0, .LE00567C8
/* 35E480 E0056A80 2610003C */ addiu $s0, $s0, 0x3c
/* 35E484 E0056A84 08015AD6 */ j .LE0056B58
/* 35E488 E0056A88 00000000 */ nop
.LE0056A8C:
/* 35E48C E0056A8C 8E820008 */ lw $v0, 8($s4)
/* 35E490 E0056A90 0242102A */ slt $v0, $s2, $v0
/* 35E494 E0056A94 10400030 */ beqz $v0, .LE0056B58
/* 35E498 E0056A98 24900008 */ addiu $s0, $a0, 8
/* 35E49C E0056A9C 24B10015 */ addiu $s1, $a1, 0x15
/* 35E4A0 E0056AA0 3C014120 */ lui $at, 0x4120
/* 35E4A4 E0056AA4 4481A000 */ mtc1 $at, $f20
/* 35E4A8 E0056AA8 3C013FE0 */ lui $at, 0x3fe0
/* 35E4AC E0056AAC 4481B800 */ mtc1 $at, $f23
/* 35E4B0 E0056AB0 4480B000 */ mtc1 $zero, $f22
.LE0056AB4:
/* 35E4B4 E0056AB4 24040032 */ addiu $a0, $zero, 0x32
/* 35E4B8 E0056AB8 0C080011 */ jal func_E0200044
/* 35E4BC E0056ABC 0220282D */ daddu $a1, $s1, $zero
/* 35E4C0 E0056AC0 2442FFE7 */ addiu $v0, $v0, -0x19
/* 35E4C4 E0056AC4 C60C0014 */ lwc1 $f12, 0x14($s0)
/* 35E4C8 E0056AC8 44820000 */ mtc1 $v0, $f0
/* 35E4CC E0056ACC 00000000 */ nop
/* 35E4D0 E0056AD0 46800020 */ cvt.s.w $f0, $f0
/* 35E4D4 E0056AD4 46006300 */ add.s $f12, $f12, $f0
/* 35E4D8 E0056AD8 0C080140 */ jal func_E0200500
/* 35E4DC E0056ADC E60C0014 */ swc1 $f12, 0x14($s0)
/* 35E4E0 E0056AE0 C60C0014 */ lwc1 $f12, 0x14($s0)
/* 35E4E4 E0056AE4 46006321 */ cvt.d.s $f12, $f12
/* 35E4E8 E0056AE8 46366302 */ mul.d $f12, $f12, $f22
/* 35E4EC E0056AEC 00000000 */ nop
/* 35E4F0 E0056AF0 46140002 */ mul.s $f0, $f0, $f20
/* 35E4F4 E0056AF4 00000000 */ nop
/* 35E4F8 E0056AF8 C6020010 */ lwc1 $f2, 0x10($s0)
/* 35E4FC E0056AFC 46001080 */ add.s $f2, $f2, $f0
/* 35E500 E0056B00 E6020010 */ swc1 $f2, 0x10($s0)
/* 35E504 E0056B04 0C080144 */ jal func_E0200510
/* 35E508 E0056B08 46206320 */ cvt.s.d $f12, $f12
/* 35E50C E0056B0C 46140002 */ mul.s $f0, $f0, $f20
/* 35E510 E0056B10 00000000 */ nop
/* 35E514 E0056B14 C606FFFC */ lwc1 $f6, -4($s0)
/* 35E518 E0056B18 C6020008 */ lwc1 $f2, 8($s0)
/* 35E51C E0056B1C C6040000 */ lwc1 $f4, ($s0)
/* 35E520 E0056B20 46023180 */ add.s $f6, $f6, $f2
/* 35E524 E0056B24 C602000C */ lwc1 $f2, 0xc($s0)
/* 35E528 E0056B28 26310014 */ addiu $s1, $s1, 0x14
/* 35E52C E0056B2C 46022100 */ add.s $f4, $f4, $f2
/* 35E530 E0056B30 C6020018 */ lwc1 $f2, 0x18($s0)
/* 35E534 E0056B34 26520001 */ addiu $s2, $s2, 1
/* 35E538 E0056B38 46001080 */ add.s $f2, $f2, $f0
/* 35E53C E0056B3C E606FFFC */ swc1 $f6, -4($s0)
/* 35E540 E0056B40 E6040000 */ swc1 $f4, ($s0)
/* 35E544 E0056B44 E6020018 */ swc1 $f2, 0x18($s0)
/* 35E548 E0056B48 8E820008 */ lw $v0, 8($s4)
/* 35E54C E0056B4C 0242102A */ slt $v0, $s2, $v0
/* 35E550 E0056B50 1440FFD8 */ bnez $v0, .LE0056AB4
/* 35E554 E0056B54 2610003C */ addiu $s0, $s0, 0x3c
.LE0056B58:
/* 35E558 E0056B58 8FBF0024 */ lw $ra, 0x24($sp)
/* 35E55C E0056B5C 8FB40020 */ lw $s4, 0x20($sp)
/* 35E560 E0056B60 8FB3001C */ lw $s3, 0x1c($sp)
/* 35E564 E0056B64 8FB20018 */ lw $s2, 0x18($sp)
/* 35E568 E0056B68 8FB10014 */ lw $s1, 0x14($sp)
/* 35E56C E0056B6C 8FB00010 */ lw $s0, 0x10($sp)
/* 35E570 E0056B70 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 35E574 E0056B74 D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 35E578 E0056B78 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 35E57C E0056B7C D7B60030 */ ldc1 $f22, 0x30($sp)
/* 35E580 E0056B80 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 35E584 E0056B84 03E00008 */ jr $ra
/* 35E588 E0056B88 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0056B8C
/* 35E58C E0056B8C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 35E590 E0056B90 3C02E005 */ lui $v0, %hi(D_E0056BD0)
/* 35E594 E0056B94 24426BD0 */ addiu $v0, $v0, %lo(D_E0056BD0)
/* 35E598 E0056B98 AFA2001C */ sw $v0, 0x1c($sp)
/* 35E59C E0056B9C 2402002D */ addiu $v0, $zero, 0x2d
/* 35E5A0 E0056BA0 AFA40018 */ sw $a0, 0x18($sp)
/* 35E5A4 E0056BA4 27A40010 */ addiu $a0, $sp, 0x10
/* 35E5A8 E0056BA8 AFBF0020 */ sw $ra, 0x20($sp)
/* 35E5AC E0056BAC AFA00014 */ sw $zero, 0x14($sp)
/* 35E5B0 E0056BB0 0C080120 */ jal func_E0200480
/* 35E5B4 E0056BB4 AFA20010 */ sw $v0, 0x10($sp)
/* 35E5B8 E0056BB8 8C430000 */ lw $v1, ($v0)
/* 35E5BC E0056BBC 34630002 */ ori $v1, $v1, 2
/* 35E5C0 E0056BC0 AC430000 */ sw $v1, ($v0)
/* 35E5C4 E0056BC4 8FBF0020 */ lw $ra, 0x20($sp)
/* 35E5C8 E0056BC8 03E00008 */ jr $ra
/* 35E5CC E0056BCC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,187 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0056BD0
/* 35E5D0 E0056BD0 27BDFEF0 */ addiu $sp, $sp, -0x110
/* 35E5D4 E0056BD4 AFBE00F8 */ sw $fp, 0xf8($sp)
/* 35E5D8 E0056BD8 0080F02D */ daddu $fp, $a0, $zero
/* 35E5DC E0056BDC AFBF00FC */ sw $ra, 0xfc($sp)
/* 35E5E0 E0056BE0 AFB700F4 */ sw $s7, 0xf4($sp)
/* 35E5E4 E0056BE4 AFB600F0 */ sw $s6, 0xf0($sp)
/* 35E5E8 E0056BE8 AFB500EC */ sw $s5, 0xec($sp)
/* 35E5EC E0056BEC AFB400E8 */ sw $s4, 0xe8($sp)
/* 35E5F0 E0056BF0 AFB300E4 */ sw $s3, 0xe4($sp)
/* 35E5F4 E0056BF4 AFB200E0 */ sw $s2, 0xe0($sp)
/* 35E5F8 E0056BF8 AFB100DC */ sw $s1, 0xdc($sp)
/* 35E5FC E0056BFC AFB000D8 */ sw $s0, 0xd8($sp)
/* 35E600 E0056C00 F7B60108 */ sdc1 $f22, 0x108($sp)
/* 35E604 E0056C04 F7B40100 */ sdc1 $f20, 0x100($sp)
/* 35E608 E0056C08 8FD0000C */ lw $s0, 0xc($fp)
/* 35E60C E0056C0C 8E020000 */ lw $v0, ($s0)
/* 35E610 E0056C10 3C170900 */ lui $s7, 0x900
/* 35E614 E0056C14 26F71280 */ addiu $s7, $s7, 0x1280
/* 35E618 E0056C18 14400003 */ bnez $v0, .LE0056C28
/* 35E61C E0056C1C 3C02DB06 */ lui $v0, 0xdb06
/* 35E620 E0056C20 3C170900 */ lui $s7, 0x900
/* 35E624 E0056C24 26F71258 */ addiu $s7, $s7, 0x1258
.LE0056C28:
/* 35E628 E0056C28 34420024 */ ori $v0, $v0, 0x24
/* 35E62C E0056C2C 3C061464 */ lui $a2, 0x1464
/* 35E630 E0056C30 3C13800A */ lui $s3, %hi(D_8009A66C)
/* 35E634 E0056C34 2673A66C */ addiu $s3, $s3, %lo(D_8009A66C)
/* 35E638 E0056C38 8E650000 */ lw $a1, ($s3)
/* 35E63C E0056C3C 34C61400 */ ori $a2, $a2, 0x1400
/* 35E640 E0056C40 00A0202D */ daddu $a0, $a1, $zero
/* 35E644 E0056C44 24A50008 */ addiu $a1, $a1, 8
/* 35E648 E0056C48 AE650000 */ sw $a1, ($s3)
/* 35E64C E0056C4C AC820000 */ sw $v0, ($a0)
/* 35E650 E0056C50 24A20008 */ addiu $v0, $a1, 8
/* 35E654 E0056C54 AE620000 */ sw $v0, ($s3)
/* 35E658 E0056C58 8FC30010 */ lw $v1, 0x10($fp)
/* 35E65C E0056C5C 24A20010 */ addiu $v0, $a1, 0x10
/* 35E660 E0056C60 AE620000 */ sw $v0, ($s3)
/* 35E664 E0056C64 8C62001C */ lw $v0, 0x1c($v1)
/* 35E668 E0056C68 3C038000 */ lui $v1, 0x8000
/* 35E66C E0056C6C 00431021 */ addu $v0, $v0, $v1
/* 35E670 E0056C70 AC820004 */ sw $v0, 4($a0)
/* 35E674 E0056C74 3C02DE00 */ lui $v0, 0xde00
/* 35E678 E0056C78 ACA20000 */ sw $v0, ($a1)
/* 35E67C E0056C7C 3C020900 */ lui $v0, 0x900
/* 35E680 E0056C80 24421180 */ addiu $v0, $v0, 0x1180
/* 35E684 E0056C84 ACA20004 */ sw $v0, 4($a1)
/* 35E688 E0056C88 3C02FA00 */ lui $v0, 0xfa00
/* 35E68C E0056C8C ACA20008 */ sw $v0, 8($a1)
/* 35E690 E0056C90 92020027 */ lbu $v0, 0x27($s0)
/* 35E694 E0056C94 24120001 */ addiu $s2, $zero, 1
/* 35E698 E0056C98 00461025 */ or $v0, $v0, $a2
/* 35E69C E0056C9C ACA2000C */ sw $v0, 0xc($a1)
/* 35E6A0 E0056CA0 8E050004 */ lw $a1, 4($s0)
/* 35E6A4 E0056CA4 8E060008 */ lw $a2, 8($s0)
/* 35E6A8 E0056CA8 8E07000C */ lw $a3, 0xc($s0)
/* 35E6AC E0056CAC 0C080108 */ jal func_E0200420
/* 35E6B0 E0056CB0 27A40018 */ addiu $a0, $sp, 0x18
/* 35E6B4 E0056CB4 27B10058 */ addiu $s1, $sp, 0x58
/* 35E6B8 E0056CB8 4480A000 */ mtc1 $zero, $f20
/* 35E6BC E0056CBC 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 35E6C0 E0056CC0 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 35E6C4 E0056CC4 3C013F80 */ lui $at, 0x3f80
/* 35E6C8 E0056CC8 4481B000 */ mtc1 $at, $f22
/* 35E6CC E0056CCC 00031080 */ sll $v0, $v1, 2
/* 35E6D0 E0056CD0 00431021 */ addu $v0, $v0, $v1
/* 35E6D4 E0056CD4 00021080 */ sll $v0, $v0, 2
/* 35E6D8 E0056CD8 00431023 */ subu $v0, $v0, $v1
/* 35E6DC E0056CDC 000218C0 */ sll $v1, $v0, 3
/* 35E6E0 E0056CE0 00431021 */ addu $v0, $v0, $v1
/* 35E6E4 E0056CE4 000210C0 */ sll $v0, $v0, 3
/* 35E6E8 E0056CE8 4406A000 */ mfc1 $a2, $f20
/* 35E6EC E0056CEC 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 35E6F0 E0056CF0 00220821 */ addu $at, $at, $v0
/* 35E6F4 E0056CF4 C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 35E6F8 E0056CF8 4407B000 */ mfc1 $a3, $f22
/* 35E6FC E0056CFC 46000007 */ neg.s $f0, $f0
/* 35E700 E0056D00 44050000 */ mfc1 $a1, $f0
/* 35E704 E0056D04 0220202D */ daddu $a0, $s1, $zero
/* 35E708 E0056D08 0C080104 */ jal func_E0200410
/* 35E70C E0056D0C E7B40010 */ swc1 $f20, 0x10($sp)
/* 35E710 E0056D10 0220202D */ daddu $a0, $s1, $zero
/* 35E714 E0056D14 27A50018 */ addiu $a1, $sp, 0x18
/* 35E718 E0056D18 0C080114 */ jal func_E0200450
/* 35E71C E0056D1C 27A60098 */ addiu $a2, $sp, 0x98
/* 35E720 E0056D20 8FC20008 */ lw $v0, 8($fp)
/* 35E724 E0056D24 0242102A */ slt $v0, $s2, $v0
/* 35E728 E0056D28 1040004C */ beqz $v0, .LE0056E5C
/* 35E72C E0056D2C 2610003C */ addiu $s0, $s0, 0x3c
/* 35E730 E0056D30 3C16800A */ lui $s6, %hi(D_8009A674)
/* 35E734 E0056D34 26D6A674 */ addiu $s6, $s6, %lo(D_8009A674)
/* 35E738 E0056D38 3C158007 */ lui $s5, %hi(D_800741F0)
/* 35E73C E0056D3C 26B541F0 */ addiu $s5, $s5, %lo(D_800741F0)
/* 35E740 E0056D40 3C140001 */ lui $s4, 1
/* 35E744 E0056D44 36941630 */ ori $s4, $s4, 0x1630
/* 35E748 E0056D48 26100020 */ addiu $s0, $s0, 0x20
.LE0056D4C:
/* 35E74C E0056D4C 0220202D */ daddu $a0, $s1, $zero
/* 35E750 E0056D50 8E05FFE4 */ lw $a1, -0x1c($s0)
/* 35E754 E0056D54 8E06FFE8 */ lw $a2, -0x18($s0)
/* 35E758 E0056D58 8E07FFEC */ lw $a3, -0x14($s0)
/* 35E75C E0056D5C 0C080108 */ jal func_E0200420
/* 35E760 E0056D60 26520001 */ addiu $s2, $s2, 1
/* 35E764 E0056D64 0220202D */ daddu $a0, $s1, $zero
/* 35E768 E0056D68 27A50098 */ addiu $a1, $sp, 0x98
/* 35E76C E0056D6C 0C080114 */ jal func_E0200450
/* 35E770 E0056D70 27A60018 */ addiu $a2, $sp, 0x18
/* 35E774 E0056D74 E7B60010 */ swc1 $f22, 0x10($sp)
/* 35E778 E0056D78 8E05FFF8 */ lw $a1, -8($s0)
/* 35E77C E0056D7C 4406A000 */ mfc1 $a2, $f20
/* 35E780 E0056D80 4407A000 */ mfc1 $a3, $f20
/* 35E784 E0056D84 0C080104 */ jal func_E0200410
/* 35E788 E0056D88 0220202D */ daddu $a0, $s1, $zero
/* 35E78C E0056D8C 0220202D */ daddu $a0, $s1, $zero
/* 35E790 E0056D90 27A50018 */ addiu $a1, $sp, 0x18
/* 35E794 E0056D94 0C080114 */ jal func_E0200450
/* 35E798 E0056D98 00A0302D */ daddu $a2, $a1, $zero
/* 35E79C E0056D9C 0220202D */ daddu $a0, $s1, $zero
/* 35E7A0 E0056DA0 E7B40010 */ swc1 $f20, 0x10($sp)
/* 35E7A4 E0056DA4 8E050000 */ lw $a1, ($s0)
/* 35E7A8 E0056DA8 4406A000 */ mfc1 $a2, $f20
/* 35E7AC E0056DAC 4407B000 */ mfc1 $a3, $f22
/* 35E7B0 E0056DB0 0C080104 */ jal func_E0200410
/* 35E7B4 E0056DB4 2610003C */ addiu $s0, $s0, 0x3c
/* 35E7B8 E0056DB8 0220202D */ daddu $a0, $s1, $zero
/* 35E7BC E0056DBC 27A50018 */ addiu $a1, $sp, 0x18
/* 35E7C0 E0056DC0 0C080114 */ jal func_E0200450
/* 35E7C4 E0056DC4 00A0302D */ daddu $a2, $a1, $zero
/* 35E7C8 E0056DC8 27A40018 */ addiu $a0, $sp, 0x18
/* 35E7CC E0056DCC 96A50000 */ lhu $a1, ($s5)
/* 35E7D0 E0056DD0 8EC20000 */ lw $v0, ($s6)
/* 35E7D4 E0056DD4 00052980 */ sll $a1, $a1, 6
/* 35E7D8 E0056DD8 00B42821 */ addu $a1, $a1, $s4
/* 35E7DC E0056DDC 0C080118 */ jal func_E0200460
/* 35E7E0 E0056DE0 00452821 */ addu $a1, $v0, $a1
/* 35E7E4 E0056DE4 3C06D838 */ lui $a2, 0xd838
/* 35E7E8 E0056DE8 8E640000 */ lw $a0, ($s3)
/* 35E7EC E0056DEC 34C60002 */ ori $a2, $a2, 2
/* 35E7F0 E0056DF0 0080282D */ daddu $a1, $a0, $zero
/* 35E7F4 E0056DF4 24840008 */ addiu $a0, $a0, 8
/* 35E7F8 E0056DF8 AE640000 */ sw $a0, ($s3)
/* 35E7FC E0056DFC 96A20000 */ lhu $v0, ($s5)
/* 35E800 E0056E00 3C03DA38 */ lui $v1, 0xda38
/* 35E804 E0056E04 ACA30000 */ sw $v1, ($a1)
/* 35E808 E0056E08 24430001 */ addiu $v1, $v0, 1
/* 35E80C E0056E0C 3042FFFF */ andi $v0, $v0, 0xffff
/* 35E810 E0056E10 00021180 */ sll $v0, $v0, 6
/* 35E814 E0056E14 A6A30000 */ sh $v1, ($s5)
/* 35E818 E0056E18 8EC30000 */ lw $v1, ($s6)
/* 35E81C E0056E1C 00541021 */ addu $v0, $v0, $s4
/* 35E820 E0056E20 00621821 */ addu $v1, $v1, $v0
/* 35E824 E0056E24 24820008 */ addiu $v0, $a0, 8
/* 35E828 E0056E28 ACA30004 */ sw $v1, 4($a1)
/* 35E82C E0056E2C AE620000 */ sw $v0, ($s3)
/* 35E830 E0056E30 3C02DE00 */ lui $v0, 0xde00
/* 35E834 E0056E34 AC820000 */ sw $v0, ($a0)
/* 35E838 E0056E38 24020040 */ addiu $v0, $zero, 0x40
/* 35E83C E0056E3C AC970004 */ sw $s7, 4($a0)
/* 35E840 E0056E40 AC860008 */ sw $a2, 8($a0)
/* 35E844 E0056E44 AC82000C */ sw $v0, 0xc($a0)
/* 35E848 E0056E48 8FC20008 */ lw $v0, 8($fp)
/* 35E84C E0056E4C 24840010 */ addiu $a0, $a0, 0x10
/* 35E850 E0056E50 0242102A */ slt $v0, $s2, $v0
/* 35E854 E0056E54 1440FFBD */ bnez $v0, .LE0056D4C
/* 35E858 E0056E58 AE640000 */ sw $a0, ($s3)
.LE0056E5C:
/* 35E85C E0056E5C 8FBF00FC */ lw $ra, 0xfc($sp)
/* 35E860 E0056E60 8FBE00F8 */ lw $fp, 0xf8($sp)
/* 35E864 E0056E64 8FB700F4 */ lw $s7, 0xf4($sp)
/* 35E868 E0056E68 8FB600F0 */ lw $s6, 0xf0($sp)
/* 35E86C E0056E6C 8FB500EC */ lw $s5, 0xec($sp)
/* 35E870 E0056E70 8FB400E8 */ lw $s4, 0xe8($sp)
/* 35E874 E0056E74 8FB300E4 */ lw $s3, 0xe4($sp)
/* 35E878 E0056E78 8FB200E0 */ lw $s2, 0xe0($sp)
/* 35E87C E0056E7C 8FB100DC */ lw $s1, 0xdc($sp)
/* 35E880 E0056E80 8FB000D8 */ lw $s0, 0xd8($sp)
/* 35E884 E0056E84 D7B60108 */ ldc1 $f22, 0x108($sp)
/* 35E888 E0056E88 D7B40100 */ ldc1 $f20, 0x100($sp)
/* 35E88C E0056E8C 03E00008 */ jr $ra
/* 35E890 E0056E90 27BD0110 */ addiu $sp, $sp, 0x110
/* 35E894 E0056E94 00000000 */ nop
/* 35E898 E0056E98 00000000 */ nop
/* 35E89C E0056E9C 00000000 */ nop

View File

@ -0,0 +1,115 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0058000
/* 35E920 E0058000 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 35E924 E0058004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 35E928 E0058008 4485A000 */ mtc1 $a1, $f20
/* 35E92C E005800C AFB1002C */ sw $s1, 0x2c($sp)
/* 35E930 E0058010 0080882D */ daddu $s1, $a0, $zero
/* 35E934 E0058014 F7B60048 */ sdc1 $f22, 0x48($sp)
/* 35E938 E0058018 4486B000 */ mtc1 $a2, $f22
/* 35E93C E005801C 27A40010 */ addiu $a0, $sp, 0x10
/* 35E940 E0058020 F7B80050 */ sdc1 $f24, 0x50($sp)
/* 35E944 E0058024 4487C000 */ mtc1 $a3, $f24
/* 35E948 E0058028 3C02E006 */ lui $v0, %hi(D_E00581AC)
/* 35E94C E005802C 244281AC */ addiu $v0, $v0, %lo(D_E00581AC)
/* 35E950 E0058030 AFA20018 */ sw $v0, 0x18($sp)
/* 35E954 E0058034 3C02E006 */ lui $v0, %hi(D_E00581B4)
/* 35E958 E0058038 244281B4 */ addiu $v0, $v0, %lo(D_E00581B4)
/* 35E95C E005803C AFA2001C */ sw $v0, 0x1c($sp)
/* 35E960 E0058040 3C02E006 */ lui $v0, %hi(D_E0058490)
/* 35E964 E0058044 24428490 */ addiu $v0, $v0, %lo(D_E0058490)
/* 35E968 E0058048 AFA20020 */ sw $v0, 0x20($sp)
/* 35E96C E005804C 2402002C */ addiu $v0, $zero, 0x2c
/* 35E970 E0058050 AFBF0038 */ sw $ra, 0x38($sp)
/* 35E974 E0058054 AFB30034 */ sw $s3, 0x34($sp)
/* 35E978 E0058058 AFB20030 */ sw $s2, 0x30($sp)
/* 35E97C E005805C AFB00028 */ sw $s0, 0x28($sp)
/* 35E980 E0058060 AFA00010 */ sw $zero, 0x10($sp)
/* 35E984 E0058064 AFA00024 */ sw $zero, 0x24($sp)
/* 35E988 E0058068 0C080124 */ jal func_E0200490
/* 35E98C E005806C AFA20014 */ sw $v0, 0x14($sp)
/* 35E990 E0058070 24040104 */ addiu $a0, $zero, 0x104
/* 35E994 E0058074 24120005 */ addiu $s2, $zero, 5
/* 35E998 E0058078 0040802D */ daddu $s0, $v0, $zero
/* 35E99C E005807C 0C08012C */ jal func_E02004B0
/* 35E9A0 E0058080 AE120008 */ sw $s2, 8($s0)
/* 35E9A4 E0058084 0040182D */ daddu $v1, $v0, $zero
/* 35E9A8 E0058088 14600003 */ bnez $v1, .LE0058098
/* 35E9AC E005808C AE03000C */ sw $v1, 0xc($s0)
.LE0058090:
/* 35E9B0 E0058090 08016024 */ j .LE0058090
/* 35E9B4 E0058094 00000000 */ nop
.LE0058098:
/* 35E9B8 E0058098 24020064 */ addiu $v0, $zero, 0x64
/* 35E9BC E005809C AC710000 */ sw $s1, ($v1)
/* 35E9C0 E00580A0 E4740004 */ swc1 $f20, 4($v1)
/* 35E9C4 E00580A4 E4760008 */ swc1 $f22, 8($v1)
/* 35E9C8 E00580A8 E478000C */ swc1 $f24, 0xc($v1)
/* 35E9CC E00580AC AC620028 */ sw $v0, 0x28($v1)
/* 35E9D0 E00580B0 AC60002C */ sw $zero, 0x2c($v1)
/* 35E9D4 E00580B4 AC600024 */ sw $zero, 0x24($v1)
/* 35E9D8 E00580B8 24110001 */ addiu $s1, $zero, 1
/* 35E9DC E00580BC 0232102A */ slt $v0, $s1, $s2
/* 35E9E0 E00580C0 10400030 */ beqz $v0, .LE0058184
/* 35E9E4 E00580C4 24630034 */ addiu $v1, $v1, 0x34
/* 35E9E8 E00580C8 3C136666 */ lui $s3, 0x6666
/* 35E9EC E00580CC 36736667 */ ori $s3, $s3, 0x6667
/* 35E9F0 E00580D0 24700014 */ addiu $s0, $v1, 0x14
.LE00580D4:
/* 35E9F4 E00580D4 0C080138 */ jal func_E02004E0
/* 35E9F8 E00580D8 2404001E */ addiu $a0, $zero, 0x1e
/* 35E9FC E00580DC 2404001E */ addiu $a0, $zero, 0x1e
/* 35EA00 E00580E0 2442FFF1 */ addiu $v0, $v0, -0xf
/* 35EA04 E00580E4 44820000 */ mtc1 $v0, $f0
/* 35EA08 E00580E8 00000000 */ nop
/* 35EA0C E00580EC 46800020 */ cvt.s.w $f0, $f0
/* 35EA10 E00580F0 E600FFF0 */ swc1 $f0, -0x10($s0)
/* 35EA14 E00580F4 0C080138 */ jal func_E02004E0
/* 35EA18 E00580F8 AE00FFF4 */ sw $zero, -0xc($s0)
/* 35EA1C E00580FC 24040168 */ addiu $a0, $zero, 0x168
/* 35EA20 E0058100 2442FFF1 */ addiu $v0, $v0, -0xf
/* 35EA24 E0058104 44820000 */ mtc1 $v0, $f0
/* 35EA28 E0058108 00000000 */ nop
/* 35EA2C E005810C 46800020 */ cvt.s.w $f0, $f0
/* 35EA30 E0058110 0C080138 */ jal func_E02004E0
/* 35EA34 E0058114 E600FFF8 */ swc1 $f0, -8($s0)
/* 35EA38 E0058118 24040168 */ addiu $a0, $zero, 0x168
/* 35EA3C E005811C 44820000 */ mtc1 $v0, $f0
/* 35EA40 E0058120 00000000 */ nop
/* 35EA44 E0058124 46800020 */ cvt.s.w $f0, $f0
/* 35EA48 E0058128 0C080138 */ jal func_E02004E0
/* 35EA4C E005812C E6000004 */ swc1 $f0, 4($s0)
/* 35EA50 E0058130 24040064 */ addiu $a0, $zero, 0x64
/* 35EA54 E0058134 44820000 */ mtc1 $v0, $f0
/* 35EA58 E0058138 00000000 */ nop
/* 35EA5C E005813C 46800020 */ cvt.s.w $f0, $f0
/* 35EA60 E0058140 0C080138 */ jal func_E02004E0
/* 35EA64 E0058144 E600000C */ swc1 $f0, 0xc($s0)
/* 35EA68 E0058148 00530018 */ mult $v0, $s3
/* 35EA6C E005814C 26310001 */ addiu $s1, $s1, 1
/* 35EA70 E0058150 000217C3 */ sra $v0, $v0, 0x1f
/* 35EA74 E0058154 AE00FFFC */ sw $zero, -4($s0)
/* 35EA78 E0058158 AE000000 */ sw $zero, ($s0)
/* 35EA7C E005815C 00004010 */ mfhi $t0
/* 35EA80 E0058160 00081883 */ sra $v1, $t0, 2
/* 35EA84 E0058164 00621823 */ subu $v1, $v1, $v0
/* 35EA88 E0058168 44830000 */ mtc1 $v1, $f0
/* 35EA8C E005816C 00000000 */ nop
/* 35EA90 E0058170 46800020 */ cvt.s.w $f0, $f0
/* 35EA94 E0058174 E6000008 */ swc1 $f0, 8($s0)
/* 35EA98 E0058178 0232102A */ slt $v0, $s1, $s2
/* 35EA9C E005817C 1440FFD5 */ bnez $v0, .LE00580D4
/* 35EAA0 E0058180 26100034 */ addiu $s0, $s0, 0x34
.LE0058184:
/* 35EAA4 E0058184 8FBF0038 */ lw $ra, 0x38($sp)
/* 35EAA8 E0058188 8FB30034 */ lw $s3, 0x34($sp)
/* 35EAAC E005818C 8FB20030 */ lw $s2, 0x30($sp)
/* 35EAB0 E0058190 8FB1002C */ lw $s1, 0x2c($sp)
/* 35EAB4 E0058194 8FB00028 */ lw $s0, 0x28($sp)
/* 35EAB8 E0058198 D7B80050 */ ldc1 $f24, 0x50($sp)
/* 35EABC E005819C D7B60048 */ ldc1 $f22, 0x48($sp)
/* 35EAC0 E00581A0 D7B40040 */ ldc1 $f20, 0x40($sp)
/* 35EAC4 E00581A4 03E00008 */ jr $ra
/* 35EAC8 E00581A8 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00581AC
/* 35EACC E00581AC 03E00008 */ jr $ra
/* 35EAD0 E00581B0 00000000 */ nop

View File

@ -0,0 +1,197 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00581B4
/* 35EAD4 E00581B4 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 35EAD8 E00581B8 AFB3001C */ sw $s3, 0x1c($sp)
/* 35EADC E00581BC 0080982D */ daddu $s3, $a0, $zero
/* 35EAE0 E00581C0 AFBF0020 */ sw $ra, 0x20($sp)
/* 35EAE4 E00581C4 AFB20018 */ sw $s2, 0x18($sp)
/* 35EAE8 E00581C8 AFB10014 */ sw $s1, 0x14($sp)
/* 35EAEC E00581CC AFB00010 */ sw $s0, 0x10($sp)
/* 35EAF0 E00581D0 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 35EAF4 E00581D4 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 35EAF8 E00581D8 8E65000C */ lw $a1, 0xc($s3)
/* 35EAFC E00581DC 8CA2002C */ lw $v0, 0x2c($a1)
/* 35EB00 E00581E0 8CB20000 */ lw $s2, ($a1)
/* 35EB04 E00581E4 2442FFFB */ addiu $v0, $v0, -5
/* 35EB08 E00581E8 2C42000A */ sltiu $v0, $v0, 0xa
/* 35EB0C E00581EC 10400007 */ beqz $v0, .LE005820C
/* 35EB10 E00581F0 3C020004 */ lui $v0, 4
/* 35EB14 E00581F4 16400006 */ bnez $s2, .LE0058210
/* 35EB18 E00581F8 3442F1A0 */ ori $v0, $v0, 0xf1a0
/* 35EB1C E00581FC 3C028011 */ lui $v0, %hi(gPlayerActionState)
/* 35EB20 E0058200 8042F07C */ lb $v0, %lo(gPlayerActionState)($v0)
/* 35EB24 E0058204 10400099 */ beqz $v0, .LE005846C
/* 35EB28 E0058208 3C020004 */ lui $v0, 4
.LE005820C:
/* 35EB2C E005820C 3442F1A0 */ ori $v0, $v0, 0xf1a0
.LE0058210:
/* 35EB30 E0058210 8CA30028 */ lw $v1, 0x28($a1)
/* 35EB34 E0058214 8CA4002C */ lw $a0, 0x2c($a1)
/* 35EB38 E0058218 2463FFFF */ addiu $v1, $v1, -1
/* 35EB3C E005821C 24840001 */ addiu $a0, $a0, 1
/* 35EB40 E0058220 0044102A */ slt $v0, $v0, $a0
/* 35EB44 E0058224 ACA30028 */ sw $v1, 0x28($a1)
/* 35EB48 E0058228 10400003 */ beqz $v0, .LE0058238
/* 35EB4C E005822C ACA4002C */ sw $a0, 0x2c($a1)
/* 35EB50 E0058230 24020100 */ addiu $v0, $zero, 0x100
/* 35EB54 E0058234 ACA2002C */ sw $v0, 0x2c($a1)
.LE0058238:
/* 35EB58 E0058238 8CA40028 */ lw $a0, 0x28($a1)
/* 35EB5C E005823C 04810005 */ bgez $a0, .LE0058254
/* 35EB60 E0058240 00000000 */ nop
/* 35EB64 E0058244 0C080128 */ jal func_E02004A0
/* 35EB68 E0058248 0260202D */ daddu $a0, $s3, $zero
/* 35EB6C E005824C 0801611B */ j .LE005846C
/* 35EB70 E0058250 00000000 */ nop
.LE0058254:
/* 35EB74 E0058254 8CA2002C */ lw $v0, 0x2c($a1)
/* 35EB78 E0058258 2842000A */ slti $v0, $v0, 0xa
/* 35EB7C E005825C 10400010 */ beqz $v0, .LE00582A0
/* 35EB80 E0058260 240200FF */ addiu $v0, $zero, 0xff
/* 35EB84 E0058264 8CA30024 */ lw $v1, 0x24($a1)
/* 35EB88 E0058268 3C01E006 */ lui $at, %hi(D_E0058780)
/* 35EB8C E005826C D4208780 */ ldc1 $f0, %lo(D_E0058780)($at)
/* 35EB90 E0058270 00431023 */ subu $v0, $v0, $v1
/* 35EB94 E0058274 44821000 */ mtc1 $v0, $f2
/* 35EB98 E0058278 00000000 */ nop
/* 35EB9C E005827C 468010A1 */ cvt.d.w $f2, $f2
/* 35EBA0 E0058280 46201082 */ mul.d $f2, $f2, $f0
/* 35EBA4 E0058284 00000000 */ nop
/* 35EBA8 E0058288 44830000 */ mtc1 $v1, $f0
/* 35EBAC E005828C 00000000 */ nop
/* 35EBB0 E0058290 46800021 */ cvt.d.w $f0, $f0
/* 35EBB4 E0058294 46220000 */ add.d $f0, $f0, $f2
/* 35EBB8 E0058298 4620020D */ trunc.w.d $f8, $f0
/* 35EBBC E005829C E4A80024 */ swc1 $f8, 0x24($a1)
.LE00582A0:
/* 35EBC0 E00582A0 2882000A */ slti $v0, $a0, 0xa
/* 35EBC4 E00582A4 10400009 */ beqz $v0, .LE00582CC
/* 35EBC8 E00582A8 00000000 */ nop
/* 35EBCC E00582AC 3C01E006 */ lui $at, %hi(D_E0058788)
/* 35EBD0 E00582B0 D4228788 */ ldc1 $f2, %lo(D_E0058788)($at)
/* 35EBD4 E00582B4 C4A00024 */ lwc1 $f0, 0x24($a1)
/* 35EBD8 E00582B8 46800021 */ cvt.d.w $f0, $f0
/* 35EBDC E00582BC 46220002 */ mul.d $f0, $f0, $f2
/* 35EBE0 E00582C0 00000000 */ nop
/* 35EBE4 E00582C4 4620020D */ trunc.w.d $f8, $f0
/* 35EBE8 E00582C8 E4A80024 */ swc1 $f8, 0x24($a1)
.LE00582CC:
/* 35EBEC E00582CC 8E620008 */ lw $v0, 8($s3)
/* 35EBF0 E00582D0 24110001 */ addiu $s1, $zero, 1
/* 35EBF4 E00582D4 0222102A */ slt $v0, $s1, $v0
/* 35EBF8 E00582D8 10400064 */ beqz $v0, .LE005846C
/* 35EBFC E00582DC 24A50034 */ addiu $a1, $a1, 0x34
/* 35EC00 E00582E0 24B00008 */ addiu $s0, $a1, 8
/* 35EC04 E00582E4 3C01BD4C */ lui $at, 0xbd4c
/* 35EC08 E00582E8 3421CCCD */ ori $at, $at, 0xcccd
/* 35EC0C E00582EC 4481B000 */ mtc1 $at, $f22
/* 35EC10 E00582F0 3C014120 */ lui $at, 0x4120
/* 35EC14 E00582F4 4481A000 */ mtc1 $at, $f20
.LE00582F8:
/* 35EC18 E00582F8 C60C0010 */ lwc1 $f12, 0x10($s0)
/* 35EC1C E00582FC 0C080140 */ jal func_E0200500
/* 35EC20 E0058300 460C6300 */ add.s $f12, $f12, $f12
/* 35EC24 E0058304 3C01E006 */ lui $at, %hi(D_E0058790)
/* 35EC28 E0058308 D4228790 */ ldc1 $f2, %lo(D_E0058790)($at)
/* 35EC2C E005830C 46000021 */ cvt.d.s $f0, $f0
/* 35EC30 E0058310 46220002 */ mul.d $f0, $f0, $f2
/* 35EC34 E0058314 00000000 */ nop
/* 35EC38 E0058318 C602000C */ lwc1 $f2, 0xc($s0)
/* 35EC3C E005831C 46161080 */ add.s $f2, $f2, $f22
/* 35EC40 E0058320 C6040008 */ lwc1 $f4, 8($s0)
/* 35EC44 E0058324 46200020 */ cvt.s.d $f0, $f0
/* 35EC48 E0058328 46002000 */ add.s $f0, $f4, $f0
/* 35EC4C E005832C E602000C */ swc1 $f2, 0xc($s0)
/* 35EC50 E0058330 16400019 */ bnez $s2, .LE0058398
/* 35EC54 E0058334 E6000008 */ swc1 $f0, 8($s0)
/* 35EC58 E0058338 3C01E006 */ lui $at, %hi(D_E0058798)
/* 35EC5C E005833C D4228798 */ ldc1 $f2, %lo(D_E0058798)($at)
/* 35EC60 E0058340 46000021 */ cvt.d.s $f0, $f0
/* 35EC64 E0058344 46220002 */ mul.d $f0, $f0, $f2
/* 35EC68 E0058348 00000000 */ nop
/* 35EC6C E005834C C60C0010 */ lwc1 $f12, 0x10($s0)
/* 35EC70 E0058350 46200020 */ cvt.s.d $f0, $f0
/* 35EC74 E0058354 0C080140 */ jal func_E0200500
/* 35EC78 E0058358 E6000008 */ swc1 $f0, 8($s0)
/* 35EC7C E005835C 3C01E006 */ lui $at, %hi(D_E00587A0)
/* 35EC80 E0058360 D42287A0 */ ldc1 $f2, %lo(D_E00587A0)($at)
/* 35EC84 E0058364 46000021 */ cvt.d.s $f0, $f0
/* 35EC88 E0058368 46220002 */ mul.d $f0, $f0, $f2
/* 35EC8C E005836C 00000000 */ nop
/* 35EC90 E0058370 3C01E006 */ lui $at, %hi(D_E00587A8)
/* 35EC94 E0058374 D42487A8 */ ldc1 $f4, %lo(D_E00587A8)($at)
/* 35EC98 E0058378 C602000C */ lwc1 $f2, 0xc($s0)
/* 35EC9C E005837C 46240000 */ add.d $f0, $f0, $f4
/* 35ECA0 E0058380 460010A1 */ cvt.d.s $f2, $f2
/* 35ECA4 E0058384 46201082 */ mul.d $f2, $f2, $f0
/* 35ECA8 E0058388 00000000 */ nop
/* 35ECAC E005838C 462010A0 */ cvt.s.d $f2, $f2
/* 35ECB0 E0058390 080160F1 */ j .LE00583C4
/* 35ECB4 E0058394 E602000C */ swc1 $f2, 0xc($s0)
.LE0058398:
/* 35ECB8 E0058398 C6000008 */ lwc1 $f0, 8($s0)
/* 35ECBC E005839C 3C01E006 */ lui $at, %hi(D_E00587B0)
/* 35ECC0 E00583A0 D42287B0 */ ldc1 $f2, %lo(D_E00587B0)($at)
/* 35ECC4 E00583A4 46000021 */ cvt.d.s $f0, $f0
/* 35ECC8 E00583A8 46220002 */ mul.d $f0, $f0, $f2
/* 35ECCC E00583AC 00000000 */ nop
/* 35ECD0 E00583B0 C602000C */ lwc1 $f2, 0xc($s0)
/* 35ECD4 E00583B4 46161080 */ add.s $f2, $f2, $f22
/* 35ECD8 E00583B8 E602000C */ swc1 $f2, 0xc($s0)
/* 35ECDC E00583BC 46200020 */ cvt.s.d $f0, $f0
/* 35ECE0 E00583C0 E6000008 */ swc1 $f0, 8($s0)
.LE00583C4:
/* 35ECE4 E00583C4 0C080138 */ jal func_E02004E0
/* 35ECE8 E00583C8 24040032 */ addiu $a0, $zero, 0x32
/* 35ECEC E00583CC 3C0141C8 */ lui $at, 0x41c8
/* 35ECF0 E00583D0 44811000 */ mtc1 $at, $f2
/* 35ECF4 E00583D4 44820000 */ mtc1 $v0, $f0
/* 35ECF8 E00583D8 00000000 */ nop
/* 35ECFC E00583DC 46800020 */ cvt.s.w $f0, $f0
/* 35ED00 E00583E0 46020001 */ sub.s $f0, $f0, $f2
/* 35ED04 E00583E4 C60C0014 */ lwc1 $f12, 0x14($s0)
/* 35ED08 E00583E8 46006300 */ add.s $f12, $f12, $f0
/* 35ED0C E00583EC 0C080140 */ jal func_E0200500
/* 35ED10 E00583F0 E60C0014 */ swc1 $f12, 0x14($s0)
/* 35ED14 E00583F4 46140002 */ mul.s $f0, $f0, $f20
/* 35ED18 E00583F8 00000000 */ nop
/* 35ED1C E00583FC C6020014 */ lwc1 $f2, 0x14($s0)
/* 35ED20 E0058400 3C013F00 */ lui $at, 0x3f00
/* 35ED24 E0058404 44816000 */ mtc1 $at, $f12
/* 35ED28 E0058408 00000000 */ nop
/* 35ED2C E005840C 460C1302 */ mul.s $f12, $f2, $f12
/* 35ED30 E0058410 00000000 */ nop
/* 35ED34 E0058414 C6020010 */ lwc1 $f2, 0x10($s0)
/* 35ED38 E0058418 46001080 */ add.s $f2, $f2, $f0
/* 35ED3C E005841C 0C080144 */ jal func_E0200510
/* 35ED40 E0058420 E6020010 */ swc1 $f2, 0x10($s0)
/* 35ED44 E0058424 46140002 */ mul.s $f0, $f0, $f20
/* 35ED48 E0058428 00000000 */ nop
/* 35ED4C E005842C C606FFFC */ lwc1 $f6, -4($s0)
/* 35ED50 E0058430 C6020008 */ lwc1 $f2, 8($s0)
/* 35ED54 E0058434 C6040000 */ lwc1 $f4, ($s0)
/* 35ED58 E0058438 46023180 */ add.s $f6, $f6, $f2
/* 35ED5C E005843C C602000C */ lwc1 $f2, 0xc($s0)
/* 35ED60 E0058440 46022100 */ add.s $f4, $f4, $f2
/* 35ED64 E0058444 C6020018 */ lwc1 $f2, 0x18($s0)
/* 35ED68 E0058448 26310001 */ addiu $s1, $s1, 1
/* 35ED6C E005844C 46001080 */ add.s $f2, $f2, $f0
/* 35ED70 E0058450 E606FFFC */ swc1 $f6, -4($s0)
/* 35ED74 E0058454 E6040000 */ swc1 $f4, ($s0)
/* 35ED78 E0058458 E6020018 */ swc1 $f2, 0x18($s0)
/* 35ED7C E005845C 8E620008 */ lw $v0, 8($s3)
/* 35ED80 E0058460 0222102A */ slt $v0, $s1, $v0
/* 35ED84 E0058464 1440FFA4 */ bnez $v0, .LE00582F8
/* 35ED88 E0058468 26100034 */ addiu $s0, $s0, 0x34
.LE005846C:
/* 35ED8C E005846C 8FBF0020 */ lw $ra, 0x20($sp)
/* 35ED90 E0058470 8FB3001C */ lw $s3, 0x1c($sp)
/* 35ED94 E0058474 8FB20018 */ lw $s2, 0x18($sp)
/* 35ED98 E0058478 8FB10014 */ lw $s1, 0x14($sp)
/* 35ED9C E005847C 8FB00010 */ lw $s0, 0x10($sp)
/* 35EDA0 E0058480 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 35EDA4 E0058484 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 35EDA8 E0058488 03E00008 */ jr $ra
/* 35EDAC E005848C 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0058490
/* 35EDB0 E0058490 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 35EDB4 E0058494 3C02E006 */ lui $v0, %hi(D_E00584D4)
/* 35EDB8 E0058498 244284D4 */ addiu $v0, $v0, %lo(D_E00584D4)
/* 35EDBC E005849C AFA2001C */ sw $v0, 0x1c($sp)
/* 35EDC0 E00584A0 2402002D */ addiu $v0, $zero, 0x2d
/* 35EDC4 E00584A4 AFA40018 */ sw $a0, 0x18($sp)
/* 35EDC8 E00584A8 27A40010 */ addiu $a0, $sp, 0x10
/* 35EDCC E00584AC AFBF0020 */ sw $ra, 0x20($sp)
/* 35EDD0 E00584B0 AFA00014 */ sw $zero, 0x14($sp)
/* 35EDD4 E00584B4 0C080120 */ jal func_E0200480
/* 35EDD8 E00584B8 AFA20010 */ sw $v0, 0x10($sp)
/* 35EDDC E00584BC 8C430000 */ lw $v1, ($v0)
/* 35EDE0 E00584C0 34630002 */ ori $v1, $v1, 2
/* 35EDE4 E00584C4 AC430000 */ sw $v1, ($v0)
/* 35EDE8 E00584C8 8FBF0020 */ lw $ra, 0x20($sp)
/* 35EDEC E00584CC 03E00008 */ jr $ra
/* 35EDF0 E00584D0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,177 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00584D4
/* 35EDF4 E00584D4 27BDFEF0 */ addiu $sp, $sp, -0x110
/* 35EDF8 E00584D8 AFB700F4 */ sw $s7, 0xf4($sp)
/* 35EDFC E00584DC 0080B82D */ daddu $s7, $a0, $zero
/* 35EE00 E00584E0 3C02DB06 */ lui $v0, 0xdb06
/* 35EE04 E00584E4 34420024 */ ori $v0, $v0, 0x24
/* 35EE08 E00584E8 3C061464 */ lui $a2, 0x1464
/* 35EE0C E00584EC 34C61400 */ ori $a2, $a2, 0x1400
/* 35EE10 E00584F0 AFB300E4 */ sw $s3, 0xe4($sp)
/* 35EE14 E00584F4 3C13800A */ lui $s3, %hi(D_8009A66C)
/* 35EE18 E00584F8 2673A66C */ addiu $s3, $s3, %lo(D_8009A66C)
/* 35EE1C E00584FC AFBF00F8 */ sw $ra, 0xf8($sp)
/* 35EE20 E0058500 AFB600F0 */ sw $s6, 0xf0($sp)
/* 35EE24 E0058504 AFB500EC */ sw $s5, 0xec($sp)
/* 35EE28 E0058508 AFB400E8 */ sw $s4, 0xe8($sp)
/* 35EE2C E005850C AFB200E0 */ sw $s2, 0xe0($sp)
/* 35EE30 E0058510 AFB100DC */ sw $s1, 0xdc($sp)
/* 35EE34 E0058514 AFB000D8 */ sw $s0, 0xd8($sp)
/* 35EE38 E0058518 F7B60108 */ sdc1 $f22, 0x108($sp)
/* 35EE3C E005851C F7B40100 */ sdc1 $f20, 0x100($sp)
/* 35EE40 E0058520 8E650000 */ lw $a1, ($s3)
/* 35EE44 E0058524 8EF0000C */ lw $s0, 0xc($s7)
/* 35EE48 E0058528 00A0202D */ daddu $a0, $a1, $zero
/* 35EE4C E005852C 24A50008 */ addiu $a1, $a1, 8
/* 35EE50 E0058530 AE650000 */ sw $a1, ($s3)
/* 35EE54 E0058534 AC820000 */ sw $v0, ($a0)
/* 35EE58 E0058538 24A20008 */ addiu $v0, $a1, 8
/* 35EE5C E005853C AE620000 */ sw $v0, ($s3)
/* 35EE60 E0058540 8EE30010 */ lw $v1, 0x10($s7)
/* 35EE64 E0058544 24A20010 */ addiu $v0, $a1, 0x10
/* 35EE68 E0058548 AE620000 */ sw $v0, ($s3)
/* 35EE6C E005854C 8C62001C */ lw $v0, 0x1c($v1)
/* 35EE70 E0058550 3C038000 */ lui $v1, 0x8000
/* 35EE74 E0058554 00431021 */ addu $v0, $v0, $v1
/* 35EE78 E0058558 AC820004 */ sw $v0, 4($a0)
/* 35EE7C E005855C 3C02DE00 */ lui $v0, 0xde00
/* 35EE80 E0058560 ACA20000 */ sw $v0, ($a1)
/* 35EE84 E0058564 3C020900 */ lui $v0, 0x900
/* 35EE88 E0058568 24421100 */ addiu $v0, $v0, 0x1100
/* 35EE8C E005856C ACA20004 */ sw $v0, 4($a1)
/* 35EE90 E0058570 3C02FA00 */ lui $v0, 0xfa00
/* 35EE94 E0058574 ACA20008 */ sw $v0, 8($a1)
/* 35EE98 E0058578 92020027 */ lbu $v0, 0x27($s0)
/* 35EE9C E005857C 24120001 */ addiu $s2, $zero, 1
/* 35EEA0 E0058580 00461025 */ or $v0, $v0, $a2
/* 35EEA4 E0058584 ACA2000C */ sw $v0, 0xc($a1)
/* 35EEA8 E0058588 8E050004 */ lw $a1, 4($s0)
/* 35EEAC E005858C 8E060008 */ lw $a2, 8($s0)
/* 35EEB0 E0058590 8E07000C */ lw $a3, 0xc($s0)
/* 35EEB4 E0058594 0C080108 */ jal func_E0200420
/* 35EEB8 E0058598 27A40018 */ addiu $a0, $sp, 0x18
/* 35EEBC E005859C 27B10058 */ addiu $s1, $sp, 0x58
/* 35EEC0 E00585A0 4480A000 */ mtc1 $zero, $f20
/* 35EEC4 E00585A4 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 35EEC8 E00585A8 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 35EECC E00585AC 3C013F80 */ lui $at, 0x3f80
/* 35EED0 E00585B0 4481B000 */ mtc1 $at, $f22
/* 35EED4 E00585B4 00031080 */ sll $v0, $v1, 2
/* 35EED8 E00585B8 00431021 */ addu $v0, $v0, $v1
/* 35EEDC E00585BC 00021080 */ sll $v0, $v0, 2
/* 35EEE0 E00585C0 00431023 */ subu $v0, $v0, $v1
/* 35EEE4 E00585C4 000218C0 */ sll $v1, $v0, 3
/* 35EEE8 E00585C8 00431021 */ addu $v0, $v0, $v1
/* 35EEEC E00585CC 000210C0 */ sll $v0, $v0, 3
/* 35EEF0 E00585D0 4406A000 */ mfc1 $a2, $f20
/* 35EEF4 E00585D4 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 35EEF8 E00585D8 00220821 */ addu $at, $at, $v0
/* 35EEFC E00585DC C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 35EF00 E00585E0 4407B000 */ mfc1 $a3, $f22
/* 35EF04 E00585E4 46000007 */ neg.s $f0, $f0
/* 35EF08 E00585E8 44050000 */ mfc1 $a1, $f0
/* 35EF0C E00585EC 0220202D */ daddu $a0, $s1, $zero
/* 35EF10 E00585F0 0C080104 */ jal func_E0200410
/* 35EF14 E00585F4 E7B40010 */ swc1 $f20, 0x10($sp)
/* 35EF18 E00585F8 0220202D */ daddu $a0, $s1, $zero
/* 35EF1C E00585FC 27A50018 */ addiu $a1, $sp, 0x18
/* 35EF20 E0058600 0C080114 */ jal func_E0200450
/* 35EF24 E0058604 27A60098 */ addiu $a2, $sp, 0x98
/* 35EF28 E0058608 8EE20008 */ lw $v0, 8($s7)
/* 35EF2C E005860C 0242102A */ slt $v0, $s2, $v0
/* 35EF30 E0058610 1040004E */ beqz $v0, .LE005874C
/* 35EF34 E0058614 26100034 */ addiu $s0, $s0, 0x34
/* 35EF38 E0058618 3C16800A */ lui $s6, %hi(D_8009A674)
/* 35EF3C E005861C 26D6A674 */ addiu $s6, $s6, %lo(D_8009A674)
/* 35EF40 E0058620 3C158007 */ lui $s5, %hi(D_800741F0)
/* 35EF44 E0058624 26B541F0 */ addiu $s5, $s5, %lo(D_800741F0)
/* 35EF48 E0058628 3C140001 */ lui $s4, 1
/* 35EF4C E005862C 36941630 */ ori $s4, $s4, 0x1630
/* 35EF50 E0058630 26100020 */ addiu $s0, $s0, 0x20
.LE0058634:
/* 35EF54 E0058634 0220202D */ daddu $a0, $s1, $zero
/* 35EF58 E0058638 8E05FFE4 */ lw $a1, -0x1c($s0)
/* 35EF5C E005863C 8E06FFE8 */ lw $a2, -0x18($s0)
/* 35EF60 E0058640 8E07FFEC */ lw $a3, -0x14($s0)
/* 35EF64 E0058644 0C080108 */ jal func_E0200420
/* 35EF68 E0058648 26520001 */ addiu $s2, $s2, 1
/* 35EF6C E005864C 0220202D */ daddu $a0, $s1, $zero
/* 35EF70 E0058650 27A50098 */ addiu $a1, $sp, 0x98
/* 35EF74 E0058654 0C080114 */ jal func_E0200450
/* 35EF78 E0058658 27A60018 */ addiu $a2, $sp, 0x18
/* 35EF7C E005865C E7B60010 */ swc1 $f22, 0x10($sp)
/* 35EF80 E0058660 8E05FFF8 */ lw $a1, -8($s0)
/* 35EF84 E0058664 4406A000 */ mfc1 $a2, $f20
/* 35EF88 E0058668 4407A000 */ mfc1 $a3, $f20
/* 35EF8C E005866C 0C080104 */ jal func_E0200410
/* 35EF90 E0058670 0220202D */ daddu $a0, $s1, $zero
/* 35EF94 E0058674 0220202D */ daddu $a0, $s1, $zero
/* 35EF98 E0058678 27A50018 */ addiu $a1, $sp, 0x18
/* 35EF9C E005867C 0C080114 */ jal func_E0200450
/* 35EFA0 E0058680 00A0302D */ daddu $a2, $a1, $zero
/* 35EFA4 E0058684 0220202D */ daddu $a0, $s1, $zero
/* 35EFA8 E0058688 E7B40010 */ swc1 $f20, 0x10($sp)
/* 35EFAC E005868C 8E050000 */ lw $a1, ($s0)
/* 35EFB0 E0058690 4406A000 */ mfc1 $a2, $f20
/* 35EFB4 E0058694 4407B000 */ mfc1 $a3, $f22
/* 35EFB8 E0058698 0C080104 */ jal func_E0200410
/* 35EFBC E005869C 26100034 */ addiu $s0, $s0, 0x34
/* 35EFC0 E00586A0 0220202D */ daddu $a0, $s1, $zero
/* 35EFC4 E00586A4 27A50018 */ addiu $a1, $sp, 0x18
/* 35EFC8 E00586A8 0C080114 */ jal func_E0200450
/* 35EFCC E00586AC 00A0302D */ daddu $a2, $a1, $zero
/* 35EFD0 E00586B0 27A40018 */ addiu $a0, $sp, 0x18
/* 35EFD4 E00586B4 96A50000 */ lhu $a1, ($s5)
/* 35EFD8 E00586B8 8EC20000 */ lw $v0, ($s6)
/* 35EFDC E00586BC 00052980 */ sll $a1, $a1, 6
/* 35EFE0 E00586C0 00B42821 */ addu $a1, $a1, $s4
/* 35EFE4 E00586C4 0C080118 */ jal func_E0200460
/* 35EFE8 E00586C8 00452821 */ addu $a1, $v0, $a1
/* 35EFEC E00586CC 3C06D838 */ lui $a2, 0xd838
/* 35EFF0 E00586D0 8E640000 */ lw $a0, ($s3)
/* 35EFF4 E00586D4 34C60002 */ ori $a2, $a2, 2
/* 35EFF8 E00586D8 0080282D */ daddu $a1, $a0, $zero
/* 35EFFC E00586DC 24840008 */ addiu $a0, $a0, 8
/* 35F000 E00586E0 AE640000 */ sw $a0, ($s3)
/* 35F004 E00586E4 96A20000 */ lhu $v0, ($s5)
/* 35F008 E00586E8 3C03DA38 */ lui $v1, 0xda38
/* 35F00C E00586EC ACA30000 */ sw $v1, ($a1)
/* 35F010 E00586F0 24430001 */ addiu $v1, $v0, 1
/* 35F014 E00586F4 3042FFFF */ andi $v0, $v0, 0xffff
/* 35F018 E00586F8 00021180 */ sll $v0, $v0, 6
/* 35F01C E00586FC A6A30000 */ sh $v1, ($s5)
/* 35F020 E0058700 8EC30000 */ lw $v1, ($s6)
/* 35F024 E0058704 00541021 */ addu $v0, $v0, $s4
/* 35F028 E0058708 00621821 */ addu $v1, $v1, $v0
/* 35F02C E005870C 24820008 */ addiu $v0, $a0, 8
/* 35F030 E0058710 ACA30004 */ sw $v1, 4($a1)
/* 35F034 E0058714 AE620000 */ sw $v0, ($s3)
/* 35F038 E0058718 3C02DE00 */ lui $v0, 0xde00
/* 35F03C E005871C AC820000 */ sw $v0, ($a0)
/* 35F040 E0058720 3C020900 */ lui $v0, 0x900
/* 35F044 E0058724 244211B0 */ addiu $v0, $v0, 0x11b0
/* 35F048 E0058728 AC820004 */ sw $v0, 4($a0)
/* 35F04C E005872C 24020040 */ addiu $v0, $zero, 0x40
/* 35F050 E0058730 AC860008 */ sw $a2, 8($a0)
/* 35F054 E0058734 AC82000C */ sw $v0, 0xc($a0)
/* 35F058 E0058738 8EE20008 */ lw $v0, 8($s7)
/* 35F05C E005873C 24840010 */ addiu $a0, $a0, 0x10
/* 35F060 E0058740 0242102A */ slt $v0, $s2, $v0
/* 35F064 E0058744 1440FFBB */ bnez $v0, .LE0058634
/* 35F068 E0058748 AE640000 */ sw $a0, ($s3)
.LE005874C:
/* 35F06C E005874C 8FBF00F8 */ lw $ra, 0xf8($sp)
/* 35F070 E0058750 8FB700F4 */ lw $s7, 0xf4($sp)
/* 35F074 E0058754 8FB600F0 */ lw $s6, 0xf0($sp)
/* 35F078 E0058758 8FB500EC */ lw $s5, 0xec($sp)
/* 35F07C E005875C 8FB400E8 */ lw $s4, 0xe8($sp)
/* 35F080 E0058760 8FB300E4 */ lw $s3, 0xe4($sp)
/* 35F084 E0058764 8FB200E0 */ lw $s2, 0xe0($sp)
/* 35F088 E0058768 8FB100DC */ lw $s1, 0xdc($sp)
/* 35F08C E005876C 8FB000D8 */ lw $s0, 0xd8($sp)
/* 35F090 E0058770 D7B60108 */ ldc1 $f22, 0x108($sp)
/* 35F094 E0058774 D7B40100 */ ldc1 $f20, 0x100($sp)
/* 35F098 E0058778 03E00008 */ jr $ra
/* 35F09C E005877C 27BD0110 */ addiu $sp, $sp, 0x110

View File

@ -0,0 +1,102 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005C000
/* 360F40 E005C000 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 360F44 E005C004 F7B40048 */ sdc1 $f20, 0x48($sp)
/* 360F48 E005C008 4485A000 */ mtc1 $a1, $f20
/* 360F4C E005C00C F7B60050 */ sdc1 $f22, 0x50($sp)
/* 360F50 E005C010 4486B000 */ mtc1 $a2, $f22
/* 360F54 E005C014 AFB5003C */ sw $s5, 0x3c($sp)
/* 360F58 E005C018 0080A82D */ daddu $s5, $a0, $zero
/* 360F5C E005C01C F7B80058 */ sdc1 $f24, 0x58($sp)
/* 360F60 E005C020 4487C000 */ mtc1 $a3, $f24
/* 360F64 E005C024 27A40010 */ addiu $a0, $sp, 0x10
/* 360F68 E005C028 AFB40038 */ sw $s4, 0x38($sp)
/* 360F6C E005C02C 8FB40074 */ lw $s4, 0x74($sp)
/* 360F70 E005C030 3C02E006 */ lui $v0, %hi(D_E005C178)
/* 360F74 E005C034 2442C178 */ addiu $v0, $v0, %lo(D_E005C178)
/* 360F78 E005C038 AFA20018 */ sw $v0, 0x18($sp)
/* 360F7C E005C03C 3C02E006 */ lui $v0, %hi(D_E005C180)
/* 360F80 E005C040 2442C180 */ addiu $v0, $v0, %lo(D_E005C180)
/* 360F84 E005C044 AFA2001C */ sw $v0, 0x1c($sp)
/* 360F88 E005C048 3C02E006 */ lui $v0, %hi(D_E005C2B4)
/* 360F8C E005C04C 2442C2B4 */ addiu $v0, $v0, %lo(D_E005C2B4)
/* 360F90 E005C050 AFA20020 */ sw $v0, 0x20($sp)
/* 360F94 E005C054 2402002E */ addiu $v0, $zero, 0x2e
/* 360F98 E005C058 AFBF0040 */ sw $ra, 0x40($sp)
/* 360F9C E005C05C AFB30034 */ sw $s3, 0x34($sp)
/* 360FA0 E005C060 AFB20030 */ sw $s2, 0x30($sp)
/* 360FA4 E005C064 AFB1002C */ sw $s1, 0x2c($sp)
/* 360FA8 E005C068 AFB00028 */ sw $s0, 0x28($sp)
/* 360FAC E005C06C AFA00010 */ sw $zero, 0x10($sp)
/* 360FB0 E005C070 AFA00024 */ sw $zero, 0x24($sp)
/* 360FB4 E005C074 0C080124 */ jal func_E0200490
/* 360FB8 E005C078 AFA20014 */ sw $v0, 0x14($sp)
/* 360FBC E005C07C 24040068 */ addiu $a0, $zero, 0x68
/* 360FC0 E005C080 24130002 */ addiu $s3, $zero, 2
/* 360FC4 E005C084 0040802D */ daddu $s0, $v0, $zero
/* 360FC8 E005C088 0C08012C */ jal func_E02004B0
/* 360FCC E005C08C AE130008 */ sw $s3, 8($s0)
/* 360FD0 E005C090 0040882D */ daddu $s1, $v0, $zero
/* 360FD4 E005C094 16200003 */ bnez $s1, .LE005C0A4
/* 360FD8 E005C098 AE11000C */ sw $s1, 0xc($s0)
.LE005C09C:
/* 360FDC E005C09C 08017027 */ j .LE005C09C
/* 360FE0 E005C0A0 00000000 */ nop
.LE005C0A4:
/* 360FE4 E005C0A4 0220202D */ daddu $a0, $s1, $zero
/* 360FE8 E005C0A8 00132840 */ sll $a1, $s3, 1
/* 360FEC E005C0AC 00B32821 */ addu $a1, $a1, $s3
/* 360FF0 E005C0B0 00052880 */ sll $a1, $a1, 2
/* 360FF4 E005C0B4 00B32821 */ addu $a1, $a1, $s3
/* 360FF8 E005C0B8 0C080130 */ jal func_E02004C0
/* 360FFC E005C0BC 00052880 */ sll $a1, $a1, 2
/* 361000 E005C0C0 24120001 */ addiu $s2, $zero, 1
/* 361004 E005C0C4 3C014120 */ lui $at, 0x4120
/* 361008 E005C0C8 44810000 */ mtc1 $at, $f0
/* 36100C E005C0CC 3C0141F0 */ lui $at, 0x41f0
/* 361010 E005C0D0 44811000 */ mtc1 $at, $f2
/* 361014 E005C0D4 0253102A */ slt $v0, $s2, $s3
/* 361018 E005C0D8 AE340024 */ sw $s4, 0x24($s1)
/* 36101C E005C0DC AE200028 */ sw $zero, 0x28($s1)
/* 361020 E005C0E0 AE34002C */ sw $s4, 0x2c($s1)
/* 361024 E005C0E4 AE200030 */ sw $zero, 0x30($s1)
/* 361028 E005C0E8 A6350000 */ sh $s5, ($s1)
/* 36102C E005C0EC E6340004 */ swc1 $f20, 4($s1)
/* 361030 E005C0F0 E6360008 */ swc1 $f22, 8($s1)
/* 361034 E005C0F4 E638000C */ swc1 $f24, 0xc($s1)
/* 361038 E005C0F8 E620001C */ swc1 $f0, 0x1c($s1)
/* 36103C E005C0FC E6220020 */ swc1 $f2, 0x20($s1)
/* 361040 E005C100 10400011 */ beqz $v0, .LE005C148
/* 361044 E005C104 26310034 */ addiu $s1, $s1, 0x34
/* 361048 E005C108 4480A000 */ mtc1 $zero, $f20
/* 36104C E005C10C 26300018 */ addiu $s0, $s1, 0x18
.LE005C110:
/* 361050 E005C110 4600A306 */ mov.s $f12, $f20
/* 361054 E005C114 E614FFEC */ swc1 $f20, -0x14($s0)
/* 361058 E005C118 E614FFF0 */ swc1 $f20, -0x10($s0)
/* 36105C E005C11C 0C080140 */ jal func_E0200500
/* 361060 E005C120 E614FFF4 */ swc1 $f20, -0xc($s0)
/* 361064 E005C124 4600A306 */ mov.s $f12, $f20
/* 361068 E005C128 E600FFF8 */ swc1 $f0, -8($s0)
/* 36106C E005C12C 0C080144 */ jal func_E0200510
/* 361070 E005C130 E614FFFC */ swc1 $f20, -4($s0)
/* 361074 E005C134 26520001 */ addiu $s2, $s2, 1
/* 361078 E005C138 E6000000 */ swc1 $f0, ($s0)
/* 36107C E005C13C 0253102A */ slt $v0, $s2, $s3
/* 361080 E005C140 1440FFF3 */ bnez $v0, .LE005C110
/* 361084 E005C144 26100034 */ addiu $s0, $s0, 0x34
.LE005C148:
/* 361088 E005C148 8FBF0040 */ lw $ra, 0x40($sp)
/* 36108C E005C14C 8FB5003C */ lw $s5, 0x3c($sp)
/* 361090 E005C150 8FB40038 */ lw $s4, 0x38($sp)
/* 361094 E005C154 8FB30034 */ lw $s3, 0x34($sp)
/* 361098 E005C158 8FB20030 */ lw $s2, 0x30($sp)
/* 36109C E005C15C 8FB1002C */ lw $s1, 0x2c($sp)
/* 3610A0 E005C160 8FB00028 */ lw $s0, 0x28($sp)
/* 3610A4 E005C164 D7B80058 */ ldc1 $f24, 0x58($sp)
/* 3610A8 E005C168 D7B60050 */ ldc1 $f22, 0x50($sp)
/* 3610AC E005C16C D7B40048 */ ldc1 $f20, 0x48($sp)
/* 3610B0 E005C170 03E00008 */ jr $ra
/* 3610B4 E005C174 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005C178
/* 3610B8 E005C178 03E00008 */ jr $ra
/* 3610BC E005C17C 00000000 */ nop

View File

@ -0,0 +1,84 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005C180
/* 3610C0 E005C180 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3610C4 E005C184 AFBF0010 */ sw $ra, 0x10($sp)
/* 3610C8 E005C188 8C85000C */ lw $a1, 0xc($a0)
/* 3610CC E005C18C 3C0140E0 */ lui $at, 0x40e0
/* 3610D0 E005C190 44810000 */ mtc1 $at, $f0
/* 3610D4 E005C194 8CA20028 */ lw $v0, 0x28($a1)
/* 3610D8 E005C198 8CA30024 */ lw $v1, 0x24($a1)
/* 3610DC E005C19C 44821000 */ mtc1 $v0, $f2
/* 3610E0 E005C1A0 00000000 */ nop
/* 3610E4 E005C1A4 468010A0 */ cvt.s.w $f2, $f2
/* 3610E8 E005C1A8 24420001 */ addiu $v0, $v0, 1
/* 3610EC E005C1AC 46001082 */ mul.s $f2, $f2, $f0
/* 3610F0 E005C1B0 00000000 */ nop
/* 3610F4 E005C1B4 2463FFFF */ addiu $v1, $v1, -1
/* 3610F8 E005C1B8 C4A0002C */ lwc1 $f0, 0x2c($a1)
/* 3610FC E005C1BC 46800020 */ cvt.s.w $f0, $f0
/* 361100 E005C1C0 ACA20028 */ sw $v0, 0x28($a1)
/* 361104 E005C1C4 ACA30024 */ sw $v1, 0x24($a1)
/* 361108 E005C1C8 46001083 */ div.s $f2, $f2, $f0
/* 36110C E005C1CC 04610005 */ bgez $v1, .LE005C1E4
/* 361110 E005C1D0 E4A20030 */ swc1 $f2, 0x30($a1)
/* 361114 E005C1D4 0C080128 */ jal func_E02004A0
/* 361118 E005C1D8 00000000 */ nop
/* 36111C E005C1DC 080170AA */ j .LE005C2A8
/* 361120 E005C1E0 00000000 */ nop
.LE005C1E4:
/* 361124 E005C1E4 C4A2001C */ lwc1 $f2, 0x1c($a1)
/* 361128 E005C1E8 C4A00020 */ lwc1 $f0, 0x20($a1)
/* 36112C E005C1EC 46020001 */ sub.s $f0, $f0, $f2
/* 361130 E005C1F0 3C01E006 */ lui $at, %hi(D_E005C710)
/* 361134 E005C1F4 D424C710 */ ldc1 $f4, %lo(D_E005C710)($at)
/* 361138 E005C1F8 46000021 */ cvt.d.s $f0, $f0
/* 36113C E005C1FC 46240002 */ mul.d $f0, $f0, $f4
/* 361140 E005C200 00000000 */ nop
/* 361144 E005C204 460010A1 */ cvt.d.s $f2, $f2
/* 361148 E005C208 46201080 */ add.d $f2, $f2, $f0
/* 36114C E005C20C 24060001 */ addiu $a2, $zero, 1
/* 361150 E005C210 462010A0 */ cvt.s.d $f2, $f2
/* 361154 E005C214 E4A2001C */ swc1 $f2, 0x1c($a1)
/* 361158 E005C218 24A50034 */ addiu $a1, $a1, 0x34
/* 36115C E005C21C 8C820008 */ lw $v0, 8($a0)
/* 361160 E005C220 00C2102A */ slt $v0, $a2, $v0
/* 361164 E005C224 10400020 */ beqz $v0, .LE005C2A8
/* 361168 E005C228 46001206 */ mov.s $f8, $f2
/* 36116C E005C22C 24A3000C */ addiu $v1, $a1, 0xc
/* 361170 E005C230 3C01E006 */ lui $at, %hi(D_E005C718)
/* 361174 E005C234 D42CC718 */ ldc1 $f12, %lo(D_E005C718)($at)
/* 361178 E005C238 3C01E006 */ lui $at, %hi(D_E005C720)
/* 36117C E005C23C D42AC720 */ ldc1 $f10, %lo(D_E005C720)($at)
.LE005C240:
/* 361180 E005C240 C4600008 */ lwc1 $f0, 8($v1)
/* 361184 E005C244 46000021 */ cvt.d.s $f0, $f0
/* 361188 E005C248 462C0000 */ add.d $f0, $f0, $f12
/* 36118C E005C24C 46200020 */ cvt.s.d $f0, $f0
/* 361190 E005C250 46000021 */ cvt.d.s $f0, $f0
/* 361194 E005C254 462A0002 */ mul.d $f0, $f0, $f10
/* 361198 E005C258 00000000 */ nop
/* 36119C E005C25C C4660004 */ lwc1 $f6, 4($v1)
/* 3611A0 E005C260 46064182 */ mul.s $f6, $f8, $f6
/* 3611A4 E005C264 00000000 */ nop
/* 3611A8 E005C268 C464000C */ lwc1 $f4, 0xc($v1)
/* 3611AC E005C26C 46044102 */ mul.s $f4, $f8, $f4
/* 3611B0 E005C270 00000000 */ nop
/* 3611B4 E005C274 46200020 */ cvt.s.d $f0, $f0
/* 3611B8 E005C278 E4600008 */ swc1 $f0, 8($v1)
/* 3611BC E005C27C C460FFFC */ lwc1 $f0, -4($v1)
/* 3611C0 E005C280 C4620008 */ lwc1 $f2, 8($v1)
/* 3611C4 E005C284 24C60001 */ addiu $a2, $a2, 1
/* 3611C8 E005C288 46020000 */ add.s $f0, $f0, $f2
/* 3611CC E005C28C E466FFF8 */ swc1 $f6, -8($v1)
/* 3611D0 E005C290 E4640000 */ swc1 $f4, ($v1)
/* 3611D4 E005C294 E460FFFC */ swc1 $f0, -4($v1)
/* 3611D8 E005C298 8C820008 */ lw $v0, 8($a0)
/* 3611DC E005C29C 00C2102A */ slt $v0, $a2, $v0
/* 3611E0 E005C2A0 1440FFE7 */ bnez $v0, .LE005C240
/* 3611E4 E005C2A4 24630034 */ addiu $v1, $v1, 0x34
.LE005C2A8:
/* 3611E8 E005C2A8 8FBF0010 */ lw $ra, 0x10($sp)
/* 3611EC E005C2AC 03E00008 */ jr $ra
/* 3611F0 E005C2B0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005C2B4
/* 3611F4 E005C2B4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3611F8 E005C2B8 3C02E006 */ lui $v0, %hi(D_E005C2F8)
/* 3611FC E005C2BC 2442C2F8 */ addiu $v0, $v0, %lo(D_E005C2F8)
/* 361200 E005C2C0 AFA2001C */ sw $v0, 0x1c($sp)
/* 361204 E005C2C4 24020028 */ addiu $v0, $zero, 0x28
/* 361208 E005C2C8 AFA40018 */ sw $a0, 0x18($sp)
/* 36120C E005C2CC 27A40010 */ addiu $a0, $sp, 0x10
/* 361210 E005C2D0 AFBF0020 */ sw $ra, 0x20($sp)
/* 361214 E005C2D4 AFA00014 */ sw $zero, 0x14($sp)
/* 361218 E005C2D8 0C080120 */ jal func_E0200480
/* 36121C E005C2DC AFA20010 */ sw $v0, 0x10($sp)
/* 361220 E005C2E0 8C430000 */ lw $v1, ($v0)
/* 361224 E005C2E4 34630002 */ ori $v1, $v1, 2
/* 361228 E005C2E8 AC430000 */ sw $v1, ($v0)
/* 36122C E005C2EC 8FBF0020 */ lw $ra, 0x20($sp)
/* 361230 E005C2F0 03E00008 */ jr $ra
/* 361234 E005C2F4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,266 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005C2F8
/* 361238 E005C2F8 27BDFEF8 */ addiu $sp, $sp, -0x108
/* 36123C E005C2FC AFBE0100 */ sw $fp, 0x100($sp)
/* 361240 E005C300 0080F02D */ daddu $fp, $a0, $zero
/* 361244 E005C304 3C08DB06 */ lui $t0, 0xdb06
/* 361248 E005C308 35080024 */ ori $t0, $t0, 0x24
/* 36124C E005C30C 27A40018 */ addiu $a0, $sp, 0x18
/* 361250 E005C310 AFB500F4 */ sw $s5, 0xf4($sp)
/* 361254 E005C314 3C150001 */ lui $s5, 1
/* 361258 E005C318 AFB700FC */ sw $s7, 0xfc($sp)
/* 36125C E005C31C 3C17800A */ lui $s7, %hi(D_8009A66C)
/* 361260 E005C320 26F7A66C */ addiu $s7, $s7, %lo(D_8009A66C)
/* 361264 E005C324 AFBF0104 */ sw $ra, 0x104($sp)
/* 361268 E005C328 AFB600F8 */ sw $s6, 0xf8($sp)
/* 36126C E005C32C AFB400F0 */ sw $s4, 0xf0($sp)
/* 361270 E005C330 AFB300EC */ sw $s3, 0xec($sp)
/* 361274 E005C334 AFB200E8 */ sw $s2, 0xe8($sp)
/* 361278 E005C338 AFB100E4 */ sw $s1, 0xe4($sp)
/* 36127C E005C33C AFB000E0 */ sw $s0, 0xe0($sp)
/* 361280 E005C340 8EE50000 */ lw $a1, ($s7)
/* 361284 E005C344 8FD6000C */ lw $s6, 0xc($fp)
/* 361288 E005C348 00A0302D */ daddu $a2, $a1, $zero
/* 36128C E005C34C 24A50008 */ addiu $a1, $a1, 8
/* 361290 E005C350 AEE50000 */ sw $a1, ($s7)
/* 361294 E005C354 96C30000 */ lhu $v1, ($s6)
/* 361298 E005C358 24A20008 */ addiu $v0, $a1, 8
/* 36129C E005C35C AEE20000 */ sw $v0, ($s7)
/* 3612A0 E005C360 C6C20030 */ lwc1 $f2, 0x30($s6)
/* 3612A4 E005C364 00031880 */ sll $v1, $v1, 2
/* 3612A8 E005C368 3C09E006 */ lui $t1, %hi(D_E005C700)
/* 3612AC E005C36C 01234821 */ addu $t1, $t1, $v1
/* 3612B0 E005C370 8D29C700 */ lw $t1, %lo(D_E005C700)($t1)
/* 3612B4 E005C374 36B51630 */ ori $s5, $s5, 0x1630
/* 3612B8 E005C378 AFA900D8 */ sw $t1, 0xd8($sp)
/* 3612BC E005C37C 3C07E006 */ lui $a3, %hi(D_E005C704)
/* 3612C0 E005C380 00E33821 */ addu $a3, $a3, $v1
/* 3612C4 E005C384 8CE7C704 */ lw $a3, %lo(D_E005C704)($a3)
/* 3612C8 E005C388 3C02E700 */ lui $v0, 0xe700
/* 3612CC E005C38C ACC20000 */ sw $v0, ($a2)
/* 3612D0 E005C390 ACC00004 */ sw $zero, 4($a2)
/* 3612D4 E005C394 ACA80000 */ sw $t0, ($a1)
/* 3612D8 E005C398 8FC30010 */ lw $v1, 0x10($fp)
/* 3612DC E005C39C 24A20010 */ addiu $v0, $a1, 0x10
/* 3612E0 E005C3A0 AEE20000 */ sw $v0, ($s7)
/* 3612E4 E005C3A4 3C02DE00 */ lui $v0, 0xde00
/* 3612E8 E005C3A8 4600110D */ trunc.w.s $f4, $f2
/* 3612EC E005C3AC 44132000 */ mfc1 $s3, $f4
/* 3612F0 E005C3B0 00000000 */ nop
/* 3612F4 E005C3B4 44930000 */ mtc1 $s3, $f0
/* 3612F8 E005C3B8 00000000 */ nop
/* 3612FC E005C3BC 46800020 */ cvt.s.w $f0, $f0
/* 361300 E005C3C0 3A740006 */ xori $s4, $s3, 6
/* 361304 E005C3C4 46001081 */ sub.s $f2, $f2, $f0
/* 361308 E005C3C8 3C014380 */ lui $at, 0x4380
/* 36130C E005C3CC 44810000 */ mtc1 $at, $f0
/* 361310 E005C3D0 8C63001C */ lw $v1, 0x1c($v1)
/* 361314 E005C3D4 ACA20008 */ sw $v0, 8($a1)
/* 361318 E005C3D8 3C028000 */ lui $v0, 0x8000
/* 36131C E005C3DC ACA7000C */ sw $a3, 0xc($a1)
/* 361320 E005C3E0 00621821 */ addu $v1, $v1, $v0
/* 361324 E005C3E4 46001082 */ mul.s $f2, $f2, $f0
/* 361328 E005C3E8 00000000 */ nop
/* 36132C E005C3EC ACA30004 */ sw $v1, 4($a1)
/* 361330 E005C3F0 8EC50004 */ lw $a1, 4($s6)
/* 361334 E005C3F4 8EC60008 */ lw $a2, 8($s6)
/* 361338 E005C3F8 8EC7000C */ lw $a3, 0xc($s6)
/* 36133C E005C3FC 4600110D */ trunc.w.s $f4, $f2
/* 361340 E005C400 44122000 */ mfc1 $s2, $f4
/* 361344 E005C404 0C080108 */ jal func_E0200420
/* 361348 E005C408 2E940001 */ sltiu $s4, $s4, 1
/* 36134C E005C40C 27B00058 */ addiu $s0, $sp, 0x58
/* 361350 E005C410 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 361354 E005C414 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 361358 E005C418 44800000 */ mtc1 $zero, $f0
/* 36135C E005C41C 00031080 */ sll $v0, $v1, 2
/* 361360 E005C420 00431021 */ addu $v0, $v0, $v1
/* 361364 E005C424 00021080 */ sll $v0, $v0, 2
/* 361368 E005C428 00431023 */ subu $v0, $v0, $v1
/* 36136C E005C42C 000218C0 */ sll $v1, $v0, 3
/* 361370 E005C430 00431021 */ addu $v0, $v0, $v1
/* 361374 E005C434 000210C0 */ sll $v0, $v0, 3
/* 361378 E005C438 44060000 */ mfc1 $a2, $f0
/* 36137C E005C43C 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 361380 E005C440 00220821 */ addu $at, $at, $v0
/* 361384 E005C444 C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 361388 E005C448 3C073F80 */ lui $a3, 0x3f80
/* 36138C E005C44C 46000007 */ neg.s $f0, $f0
/* 361390 E005C450 44050000 */ mfc1 $a1, $f0
/* 361394 E005C454 0200202D */ daddu $a0, $s0, $zero
/* 361398 E005C458 0C080104 */ jal func_E0200410
/* 36139C E005C45C AFA60010 */ sw $a2, 0x10($sp)
/* 3613A0 E005C460 0200202D */ daddu $a0, $s0, $zero
/* 3613A4 E005C464 27A50018 */ addiu $a1, $sp, 0x18
/* 3613A8 E005C468 27B00098 */ addiu $s0, $sp, 0x98
/* 3613AC E005C46C 0C080114 */ jal func_E0200450
/* 3613B0 E005C470 0200302D */ daddu $a2, $s0, $zero
/* 3613B4 E005C474 0200202D */ daddu $a0, $s0, $zero
/* 3613B8 E005C478 3C108007 */ lui $s0, %hi(D_800741F0)
/* 3613BC E005C47C 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 3613C0 E005C480 3C11800A */ lui $s1, %hi(D_8009A674)
/* 3613C4 E005C484 2631A674 */ addiu $s1, $s1, %lo(D_8009A674)
/* 3613C8 E005C488 96050000 */ lhu $a1, ($s0)
/* 3613CC E005C48C 8E220000 */ lw $v0, ($s1)
/* 3613D0 E005C490 00052980 */ sll $a1, $a1, 6
/* 3613D4 E005C494 00B52821 */ addu $a1, $a1, $s5
/* 3613D8 E005C498 0C080118 */ jal func_E0200460
/* 3613DC E005C49C 00452821 */ addu $a1, $v0, $a1
/* 3613E0 E005C4A0 3C05E6DE */ lui $a1, 0xe6de
/* 3613E4 E005C4A4 34A5DE82 */ ori $a1, $a1, 0xde82
/* 3613E8 E005C4A8 8EE60000 */ lw $a2, ($s7)
/* 3613EC E005C4AC 3C03DA38 */ lui $v1, 0xda38
/* 3613F0 E005C4B0 00C0202D */ daddu $a0, $a2, $zero
/* 3613F4 E005C4B4 24C60008 */ addiu $a2, $a2, 8
/* 3613F8 E005C4B8 AEE60000 */ sw $a2, ($s7)
/* 3613FC E005C4BC 96020000 */ lhu $v0, ($s0)
/* 361400 E005C4C0 325200FF */ andi $s2, $s2, 0xff
/* 361404 E005C4C4 AC830000 */ sw $v1, ($a0)
/* 361408 E005C4C8 24430001 */ addiu $v1, $v0, 1
/* 36140C E005C4CC 3042FFFF */ andi $v0, $v0, 0xffff
/* 361410 E005C4D0 00021180 */ sll $v0, $v0, 6
/* 361414 E005C4D4 A6030000 */ sh $v1, ($s0)
/* 361418 E005C4D8 8E230000 */ lw $v1, ($s1)
/* 36141C E005C4DC 00551021 */ addu $v0, $v0, $s5
/* 361420 E005C4E0 00621821 */ addu $v1, $v1, $v0
/* 361424 E005C4E4 24C20008 */ addiu $v0, $a2, 8
/* 361428 E005C4E8 AC830004 */ sw $v1, 4($a0)
/* 36142C E005C4EC AEE20000 */ sw $v0, ($s7)
/* 361430 E005C4F0 3C02FA00 */ lui $v0, 0xfa00
/* 361434 E005C4F4 ACC20000 */ sw $v0, ($a2)
/* 361438 E005C4F8 24C20010 */ addiu $v0, $a2, 0x10
/* 36143C E005C4FC ACC50004 */ sw $a1, 4($a2)
/* 361440 E005C500 AEE20000 */ sw $v0, ($s7)
/* 361444 E005C504 3C02FB00 */ lui $v0, 0xfb00
/* 361448 E005C508 ACC20008 */ sw $v0, 8($a2)
/* 36144C E005C50C 24C20018 */ addiu $v0, $a2, 0x18
/* 361450 E005C510 ACD2000C */ sw $s2, 0xc($a2)
/* 361454 E005C514 AEE20000 */ sw $v0, ($s7)
/* 361458 E005C518 001311C0 */ sll $v0, $s3, 7
/* 36145C E005C51C 30420FFF */ andi $v0, $v0, 0xfff
/* 361460 E005C520 00021300 */ sll $v0, $v0, 0xc
/* 361464 E005C524 3C04F200 */ lui $a0, 0xf200
/* 361468 E005C528 00441025 */ or $v0, $v0, $a0
/* 36146C E005C52C 00139940 */ sll $s3, $s3, 5
/* 361470 E005C530 ACC20010 */ sw $v0, 0x10($a2)
/* 361474 E005C534 26620020 */ addiu $v0, $s3, 0x20
/* 361478 E005C538 00021080 */ sll $v0, $v0, 2
/* 36147C E005C53C 30420FFF */ andi $v0, $v0, 0xfff
/* 361480 E005C540 00022B00 */ sll $a1, $v0, 0xc
/* 361484 E005C544 34A20080 */ ori $v0, $a1, 0x80
/* 361488 E005C548 1280000F */ beqz $s4, .LE005C588
/* 36148C E005C54C ACC20014 */ sw $v0, 0x14($a2)
/* 361490 E005C550 0080182D */ daddu $v1, $a0, $zero
/* 361494 E005C554 34630080 */ ori $v1, $v1, 0x80
/* 361498 E005C558 3C040100 */ lui $a0, 0x100
/* 36149C E005C55C 34840100 */ ori $a0, $a0, 0x100
/* 3614A0 E005C560 24C20020 */ addiu $v0, $a2, 0x20
/* 3614A4 E005C564 00A31825 */ or $v1, $a1, $v1
/* 3614A8 E005C568 AEE20000 */ sw $v0, ($s7)
/* 3614AC E005C56C 26620040 */ addiu $v0, $s3, 0x40
/* 3614B0 E005C570 00021080 */ sll $v0, $v0, 2
/* 3614B4 E005C574 30420FFF */ andi $v0, $v0, 0xfff
/* 3614B8 E005C578 00021300 */ sll $v0, $v0, 0xc
/* 3614BC E005C57C 00441025 */ or $v0, $v0, $a0
/* 3614C0 E005C580 0801716D */ j .LE005C5B4
/* 3614C4 E005C584 ACC30018 */ sw $v1, 0x18($a2)
.LE005C588:
/* 3614C8 E005C588 3C030100 */ lui $v1, 0x100
/* 3614CC E005C58C 34630080 */ ori $v1, $v1, 0x80
/* 3614D0 E005C590 24C20020 */ addiu $v0, $a2, 0x20
/* 3614D4 E005C594 AEE20000 */ sw $v0, ($s7)
/* 3614D8 E005C598 00A41025 */ or $v0, $a1, $a0
/* 3614DC E005C59C ACC20018 */ sw $v0, 0x18($a2)
/* 3614E0 E005C5A0 26620040 */ addiu $v0, $s3, 0x40
/* 3614E4 E005C5A4 00021080 */ sll $v0, $v0, 2
/* 3614E8 E005C5A8 30420FFF */ andi $v0, $v0, 0xfff
/* 3614EC E005C5AC 00021300 */ sll $v0, $v0, 0xc
/* 3614F0 E005C5B0 00431025 */ or $v0, $v0, $v1
.LE005C5B4:
/* 3614F4 E005C5B4 ACC2001C */ sw $v0, 0x1c($a2)
/* 3614F8 E005C5B8 8FC20008 */ lw $v0, 8($fp)
/* 3614FC E005C5BC 24110001 */ addiu $s1, $zero, 1
/* 361500 E005C5C0 0222102A */ slt $v0, $s1, $v0
/* 361504 E005C5C4 10400037 */ beqz $v0, .LE005C6A4
/* 361508 E005C5C8 26D60034 */ addiu $s6, $s6, 0x34
/* 36150C E005C5CC 3C15800A */ lui $s5, %hi(D_8009A674)
/* 361510 E005C5D0 26B5A674 */ addiu $s5, $s5, %lo(D_8009A674)
/* 361514 E005C5D4 3C148007 */ lui $s4, %hi(D_800741F0)
/* 361518 E005C5D8 269441F0 */ addiu $s4, $s4, %lo(D_800741F0)
/* 36151C E005C5DC 3C130001 */ lui $s3, 1
/* 361520 E005C5E0 36731630 */ ori $s3, $s3, 0x1630
/* 361524 E005C5E4 3C12800A */ lui $s2, %hi(D_8009A66C)
/* 361528 E005C5E8 2652A66C */ addiu $s2, $s2, %lo(D_8009A66C)
/* 36152C E005C5EC 26D0000C */ addiu $s0, $s6, 0xc
.LE005C5F0:
/* 361530 E005C5F0 27A40018 */ addiu $a0, $sp, 0x18
/* 361534 E005C5F4 26310001 */ addiu $s1, $s1, 1
/* 361538 E005C5F8 8E05FFF8 */ lw $a1, -8($s0)
/* 36153C E005C5FC 8E06FFFC */ lw $a2, -4($s0)
/* 361540 E005C600 8E070000 */ lw $a3, ($s0)
/* 361544 E005C604 0C080108 */ jal func_E0200420
/* 361548 E005C608 26100034 */ addiu $s0, $s0, 0x34
/* 36154C E005C60C 27A40018 */ addiu $a0, $sp, 0x18
/* 361550 E005C610 96850000 */ lhu $a1, ($s4)
/* 361554 E005C614 8EA20000 */ lw $v0, ($s5)
/* 361558 E005C618 00052980 */ sll $a1, $a1, 6
/* 36155C E005C61C 00B32821 */ addu $a1, $a1, $s3
/* 361560 E005C620 0C080118 */ jal func_E0200460
/* 361564 E005C624 00452821 */ addu $a1, $v0, $a1
/* 361568 E005C628 3C06D838 */ lui $a2, 0xd838
/* 36156C E005C62C 8E440000 */ lw $a0, ($s2)
/* 361570 E005C630 34C60002 */ ori $a2, $a2, 2
/* 361574 E005C634 0080282D */ daddu $a1, $a0, $zero
/* 361578 E005C638 24840008 */ addiu $a0, $a0, 8
/* 36157C E005C63C AE440000 */ sw $a0, ($s2)
/* 361580 E005C640 96820000 */ lhu $v0, ($s4)
/* 361584 E005C644 3C03DA38 */ lui $v1, 0xda38
/* 361588 E005C648 ACA30000 */ sw $v1, ($a1)
/* 36158C E005C64C 24430001 */ addiu $v1, $v0, 1
/* 361590 E005C650 3042FFFF */ andi $v0, $v0, 0xffff
/* 361594 E005C654 00021180 */ sll $v0, $v0, 6
/* 361598 E005C658 A6830000 */ sh $v1, ($s4)
/* 36159C E005C65C 8EA30000 */ lw $v1, ($s5)
/* 3615A0 E005C660 00531021 */ addu $v0, $v0, $s3
/* 3615A4 E005C664 00621821 */ addu $v1, $v1, $v0
/* 3615A8 E005C668 24820008 */ addiu $v0, $a0, 8
/* 3615AC E005C66C ACA30004 */ sw $v1, 4($a1)
/* 3615B0 E005C670 AE420000 */ sw $v0, ($s2)
/* 3615B4 E005C674 3C02DE00 */ lui $v0, 0xde00
/* 3615B8 E005C678 AC820000 */ sw $v0, ($a0)
/* 3615BC E005C67C 8FA900D8 */ lw $t1, 0xd8($sp)
/* 3615C0 E005C680 24020040 */ addiu $v0, $zero, 0x40
/* 3615C4 E005C684 AC860008 */ sw $a2, 8($a0)
/* 3615C8 E005C688 AC82000C */ sw $v0, 0xc($a0)
/* 3615CC E005C68C AC890004 */ sw $t1, 4($a0)
/* 3615D0 E005C690 8FC20008 */ lw $v0, 8($fp)
/* 3615D4 E005C694 24840010 */ addiu $a0, $a0, 0x10
/* 3615D8 E005C698 0222102A */ slt $v0, $s1, $v0
/* 3615DC E005C69C 1440FFD4 */ bnez $v0, .LE005C5F0
/* 3615E0 E005C6A0 AE440000 */ sw $a0, ($s2)
.LE005C6A4:
/* 3615E4 E005C6A4 3C05D838 */ lui $a1, 0xd838
/* 3615E8 E005C6A8 3C03800A */ lui $v1, %hi(D_8009A66C)
/* 3615EC E005C6AC 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
/* 3615F0 E005C6B0 8C620000 */ lw $v0, ($v1)
/* 3615F4 E005C6B4 34A50002 */ ori $a1, $a1, 2
/* 3615F8 E005C6B8 0040202D */ daddu $a0, $v0, $zero
/* 3615FC E005C6BC 24420008 */ addiu $v0, $v0, 8
/* 361600 E005C6C0 AC620000 */ sw $v0, ($v1)
/* 361604 E005C6C4 24020040 */ addiu $v0, $zero, 0x40
/* 361608 E005C6C8 AC850000 */ sw $a1, ($a0)
/* 36160C E005C6CC AC820004 */ sw $v0, 4($a0)
/* 361610 E005C6D0 8FBF0104 */ lw $ra, 0x104($sp)
/* 361614 E005C6D4 8FBE0100 */ lw $fp, 0x100($sp)
/* 361618 E005C6D8 8FB700FC */ lw $s7, 0xfc($sp)
/* 36161C E005C6DC 8FB600F8 */ lw $s6, 0xf8($sp)
/* 361620 E005C6E0 8FB500F4 */ lw $s5, 0xf4($sp)
/* 361624 E005C6E4 8FB400F0 */ lw $s4, 0xf0($sp)
/* 361628 E005C6E8 8FB300EC */ lw $s3, 0xec($sp)
/* 36162C E005C6EC 8FB200E8 */ lw $s2, 0xe8($sp)
/* 361630 E005C6F0 8FB100E4 */ lw $s1, 0xe4($sp)
/* 361634 E005C6F4 8FB000E0 */ lw $s0, 0xe0($sp)
/* 361638 E005C6F8 03E00008 */ jr $ra
/* 36163C E005C6FC 27BD0108 */ addiu $sp, $sp, 0x108

View File

@ -0,0 +1,118 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005E000
/* 3625C0 E005E000 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 3625C4 E005E004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 3625C8 E005E008 4485A000 */ mtc1 $a1, $f20
/* 3625CC E005E00C F7B60048 */ sdc1 $f22, 0x48($sp)
/* 3625D0 E005E010 4486B000 */ mtc1 $a2, $f22
/* 3625D4 E005E014 AFB30034 */ sw $s3, 0x34($sp)
/* 3625D8 E005E018 0080982D */ daddu $s3, $a0, $zero
/* 3625DC E005E01C F7B80050 */ sdc1 $f24, 0x50($sp)
/* 3625E0 E005E020 4487C000 */ mtc1 $a3, $f24
/* 3625E4 E005E024 27A40010 */ addiu $a0, $sp, 0x10
/* 3625E8 E005E028 AFB1002C */ sw $s1, 0x2c($sp)
/* 3625EC E005E02C 8FB1006C */ lw $s1, 0x6c($sp)
/* 3625F0 E005E030 3C02E006 */ lui $v0, %hi(D_E005E1B0)
/* 3625F4 E005E034 2442E1B0 */ addiu $v0, $v0, %lo(D_E005E1B0)
/* 3625F8 E005E038 AFA20018 */ sw $v0, 0x18($sp)
/* 3625FC E005E03C 3C02E006 */ lui $v0, %hi(D_E005E1B8)
/* 362600 E005E040 2442E1B8 */ addiu $v0, $v0, %lo(D_E005E1B8)
/* 362604 E005E044 AFA2001C */ sw $v0, 0x1c($sp)
/* 362608 E005E048 3C02E006 */ lui $v0, %hi(D_E005E310)
/* 36260C E005E04C 2442E310 */ addiu $v0, $v0, %lo(D_E005E310)
/* 362610 E005E050 AFA20020 */ sw $v0, 0x20($sp)
/* 362614 E005E054 3C02E006 */ lui $v0, %hi(D_E005E318)
/* 362618 E005E058 2442E318 */ addiu $v0, $v0, %lo(D_E005E318)
/* 36261C E005E05C AFA20024 */ sw $v0, 0x24($sp)
/* 362620 E005E060 2402002F */ addiu $v0, $zero, 0x2f
/* 362624 E005E064 AFBF0038 */ sw $ra, 0x38($sp)
/* 362628 E005E068 AFB20030 */ sw $s2, 0x30($sp)
/* 36262C E005E06C AFB00028 */ sw $s0, 0x28($sp)
/* 362630 E005E070 AFA00010 */ sw $zero, 0x10($sp)
/* 362634 E005E074 AFA20014 */ sw $v0, 0x14($sp)
/* 362638 E005E078 0C080124 */ jal func_E0200490
/* 36263C E005E07C 26310001 */ addiu $s1, $s1, 1
/* 362640 E005E080 00112040 */ sll $a0, $s1, 1
/* 362644 E005E084 00912021 */ addu $a0, $a0, $s1
/* 362648 E005E088 00042080 */ sll $a0, $a0, 2
/* 36264C E005E08C 00912023 */ subu $a0, $a0, $s1
/* 362650 E005E090 00042080 */ sll $a0, $a0, 2
/* 362654 E005E094 0040902D */ daddu $s2, $v0, $zero
/* 362658 E005E098 0C08012C */ jal func_E02004B0
/* 36265C E005E09C AE510008 */ sw $s1, 8($s2)
/* 362660 E005E0A0 0040802D */ daddu $s0, $v0, $zero
/* 362664 E005E0A4 16000003 */ bnez $s0, .LE005E0B4
/* 362668 E005E0A8 AE50000C */ sw $s0, 0xc($s2)
.LE005E0AC:
/* 36266C E005E0AC 0801782B */ j .LE005E0AC
/* 362670 E005E0B0 00000000 */ nop
.LE005E0B4:
/* 362674 E005E0B4 0200202D */ daddu $a0, $s0, $zero
/* 362678 E005E0B8 00112840 */ sll $a1, $s1, 1
/* 36267C E005E0BC 00B12821 */ addu $a1, $a1, $s1
/* 362680 E005E0C0 00052880 */ sll $a1, $a1, 2
/* 362684 E005E0C4 00B12823 */ subu $a1, $a1, $s1
/* 362688 E005E0C8 0C080130 */ jal func_E02004C0
/* 36268C E005E0CC 00052880 */ sll $a1, $a1, 2
/* 362690 E005E0D0 24020001 */ addiu $v0, $zero, 1
/* 362694 E005E0D4 AE130000 */ sw $s3, ($s0)
/* 362698 E005E0D8 E6140004 */ swc1 $f20, 4($s0)
/* 36269C E005E0DC E6160008 */ swc1 $f22, 8($s0)
/* 3626A0 E005E0E0 E618000C */ swc1 $f24, 0xc($s0)
/* 3626A4 E005E0E4 AE000010 */ sw $zero, 0x10($s0)
/* 3626A8 E005E0E8 AE000024 */ sw $zero, 0x24($s0)
/* 3626AC E005E0EC C7A00068 */ lwc1 $f0, 0x68($sp)
/* 3626B0 E005E0F0 0040302D */ daddu $a2, $v0, $zero
/* 3626B4 E005E0F4 AE020028 */ sw $v0, 0x28($s0)
/* 3626B8 E005E0F8 00D1102A */ slt $v0, $a2, $s1
/* 3626BC E005E0FC E6000014 */ swc1 $f0, 0x14($s0)
/* 3626C0 E005E100 1040001F */ beqz $v0, .LE005E180
/* 3626C4 E005E104 2610002C */ addiu $s0, $s0, 0x2c
/* 3626C8 E005E108 2627FFFF */ addiu $a3, $s1, -1
/* 3626CC E005E10C 3C0141A0 */ lui $at, 0x41a0
/* 3626D0 E005E110 44811000 */ mtc1 $at, $f2
/* 3626D4 E005E114 26040024 */ addiu $a0, $s0, 0x24
/* 3626D8 E005E118 0000282D */ daddu $a1, $zero, $zero
.LE005E11C:
/* 3626DC E005E11C 14E00002 */ bnez $a3, .LE005E128
/* 3626E0 E005E120 00A7001A */ div $zero, $a1, $a3
/* 3626E4 E005E124 0007000D */ break 7
.LE005E128:
/* 3626E8 E005E128 2401FFFF */ addiu $at, $zero, -1
/* 3626EC E005E12C 14E10004 */ bne $a3, $at, .LE005E140
/* 3626F0 E005E130 3C018000 */ lui $at, 0x8000
/* 3626F4 E005E134 14A10002 */ bne $a1, $at, .LE005E140
/* 3626F8 E005E138 00000000 */ nop
/* 3626FC E005E13C 0006000D */ break 6
.LE005E140:
/* 362700 E005E140 00001812 */ mflo $v1
/* 362704 E005E144 24A50168 */ addiu $a1, $a1, 0x168
/* 362708 E005E148 24C60001 */ addiu $a2, $a2, 1
/* 36270C E005E14C 00D1102A */ slt $v0, $a2, $s1
/* 362710 E005E150 AC80FFE0 */ sw $zero, -0x20($a0)
/* 362714 E005E154 AC80FFE4 */ sw $zero, -0x1c($a0)
/* 362718 E005E158 AC80FFE8 */ sw $zero, -0x18($a0)
/* 36271C E005E15C E482FFF8 */ swc1 $f2, -8($a0)
/* 362720 E005E160 AC80FFFC */ sw $zero, -4($a0)
/* 362724 E005E164 44830000 */ mtc1 $v1, $f0
/* 362728 E005E168 00000000 */ nop
/* 36272C E005E16C 46800020 */ cvt.s.w $f0, $f0
/* 362730 E005E170 E480FFF4 */ swc1 $f0, -0xc($a0)
/* 362734 E005E174 AC830000 */ sw $v1, ($a0)
/* 362738 E005E178 1440FFE8 */ bnez $v0, .LE005E11C
/* 36273C E005E17C 2484002C */ addiu $a0, $a0, 0x2c
.LE005E180:
/* 362740 E005E180 8FA20070 */ lw $v0, 0x70($sp)
/* 362744 E005E184 AC520000 */ sw $s2, ($v0)
/* 362748 E005E188 8FBF0038 */ lw $ra, 0x38($sp)
/* 36274C E005E18C 8FB30034 */ lw $s3, 0x34($sp)
/* 362750 E005E190 8FB20030 */ lw $s2, 0x30($sp)
/* 362754 E005E194 8FB1002C */ lw $s1, 0x2c($sp)
/* 362758 E005E198 8FB00028 */ lw $s0, 0x28($sp)
/* 36275C E005E19C D7B80050 */ ldc1 $f24, 0x50($sp)
/* 362760 E005E1A0 D7B60048 */ ldc1 $f22, 0x48($sp)
/* 362764 E005E1A4 D7B40040 */ ldc1 $f20, 0x40($sp)
/* 362768 E005E1A8 03E00008 */ jr $ra
/* 36276C E005E1AC 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005E1B0
/* 362770 E005E1B0 03E00008 */ jr $ra
/* 362774 E005E1B4 00000000 */ nop

View File

@ -0,0 +1,93 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005E1B8
/* 362778 E005E1B8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 36277C E005E1BC AFB20018 */ sw $s2, 0x18($sp)
/* 362780 E005E1C0 0080902D */ daddu $s2, $a0, $zero
/* 362784 E005E1C4 AFBF001C */ sw $ra, 0x1c($sp)
/* 362788 E005E1C8 AFB10014 */ sw $s1, 0x14($sp)
/* 36278C E005E1CC AFB00010 */ sw $s0, 0x10($sp)
/* 362790 E005E1D0 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 362794 E005E1D4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 362798 E005E1D8 8E43000C */ lw $v1, 0xc($s2)
/* 36279C E005E1DC 8C620028 */ lw $v0, 0x28($v1)
/* 3627A0 E005E1E0 10400043 */ beqz $v0, .LE005E2F0
/* 3627A4 E005E1E4 24110001 */ addiu $s1, $zero, 1
/* 3627A8 E005E1E8 C4620010 */ lwc1 $f2, 0x10($v1)
/* 3627AC E005E1EC C4600014 */ lwc1 $f0, 0x14($v1)
/* 3627B0 E005E1F0 46020001 */ sub.s $f0, $f0, $f2
/* 3627B4 E005E1F4 3C01E006 */ lui $at, %hi(D_E005E680)
/* 3627B8 E005E1F8 D424E680 */ ldc1 $f4, %lo(D_E005E680)($at)
/* 3627BC E005E1FC 46000021 */ cvt.d.s $f0, $f0
/* 3627C0 E005E200 46240002 */ mul.d $f0, $f0, $f4
/* 3627C4 E005E204 00000000 */ nop
/* 3627C8 E005E208 8C620024 */ lw $v0, 0x24($v1)
/* 3627CC E005E20C 460010A1 */ cvt.d.s $f2, $f2
/* 3627D0 E005E210 46201080 */ add.d $f2, $f2, $f0
/* 3627D4 E005E214 00511021 */ addu $v0, $v0, $s1
/* 3627D8 E005E218 AC620024 */ sw $v0, 0x24($v1)
/* 3627DC E005E21C 462010A0 */ cvt.s.d $f2, $f2
/* 3627E0 E005E220 E4620010 */ swc1 $f2, 0x10($v1)
/* 3627E4 E005E224 2463002C */ addiu $v1, $v1, 0x2c
/* 3627E8 E005E228 8E420008 */ lw $v0, 8($s2)
/* 3627EC E005E22C 0222102A */ slt $v0, $s1, $v0
/* 3627F0 E005E230 1040002F */ beqz $v0, .LE005E2F0
/* 3627F4 E005E234 46001586 */ mov.s $f22, $f2
/* 3627F8 E005E238 24700024 */ addiu $s0, $v1, 0x24
.LE005E23C:
/* 3627FC E005E23C C60C0000 */ lwc1 $f12, ($s0)
/* 362800 E005E240 0C080140 */ jal func_E0200500
/* 362804 E005E244 46806320 */ cvt.s.w $f12, $f12
/* 362808 E005E248 4600B002 */ mul.s $f0, $f22, $f0
/* 36280C E005E24C 00000000 */ nop
/* 362810 E005E250 C60C0000 */ lwc1 $f12, ($s0)
/* 362814 E005E254 46806320 */ cvt.s.w $f12, $f12
/* 362818 E005E258 0C080144 */ jal func_E0200510
/* 36281C E005E25C E600FFE0 */ swc1 $f0, -0x20($s0)
/* 362820 E005E260 C60CFFFC */ lwc1 $f12, -4($s0)
/* 362824 E005E264 0C080144 */ jal func_E0200510
/* 362828 E005E268 46000506 */ mov.s $f20, $f0
/* 36282C E005E26C 4614B502 */ mul.s $f20, $f22, $f20
/* 362830 E005E270 00000000 */ nop
/* 362834 E005E274 4600A502 */ mul.s $f20, $f20, $f0
/* 362838 E005E278 00000000 */ nop
/* 36283C E005E27C C60C0000 */ lwc1 $f12, ($s0)
/* 362840 E005E280 46806320 */ cvt.s.w $f12, $f12
/* 362844 E005E284 0C080144 */ jal func_E0200510
/* 362848 E005E288 E614FFE8 */ swc1 $f20, -0x18($s0)
/* 36284C E005E28C C60CFFFC */ lwc1 $f12, -4($s0)
/* 362850 E005E290 0C080140 */ jal func_E0200500
/* 362854 E005E294 46000506 */ mov.s $f20, $f0
/* 362858 E005E298 4614B502 */ mul.s $f20, $f22, $f20
/* 36285C E005E29C 00000000 */ nop
/* 362860 E005E2A0 C602FFF8 */ lwc1 $f2, -8($s0)
/* 362864 E005E2A4 8E030000 */ lw $v1, ($s0)
/* 362868 E005E2A8 4600A502 */ mul.s $f20, $f20, $f0
/* 36286C E005E2AC 00000000 */ nop
/* 362870 E005E2B0 AE00FFFC */ sw $zero, -4($s0)
/* 362874 E005E2B4 C600FFF4 */ lwc1 $f0, -0xc($s0)
/* 362878 E005E2B8 24620010 */ addiu $v0, $v1, 0x10
/* 36287C E005E2BC 46020000 */ add.s $f0, $f0, $f2
/* 362880 E005E2C0 AE020000 */ sw $v0, ($s0)
/* 362884 E005E2C4 28420169 */ slti $v0, $v0, 0x169
/* 362888 E005E2C8 E600FFF4 */ swc1 $f0, -0xc($s0)
/* 36288C E005E2CC 14400003 */ bnez $v0, .LE005E2DC
/* 362890 E005E2D0 E614FFE4 */ swc1 $f20, -0x1c($s0)
/* 362894 E005E2D4 2462FEA8 */ addiu $v0, $v1, -0x158
/* 362898 E005E2D8 AE020000 */ sw $v0, ($s0)
.LE005E2DC:
/* 36289C E005E2DC 26310001 */ addiu $s1, $s1, 1
/* 3628A0 E005E2E0 8E420008 */ lw $v0, 8($s2)
/* 3628A4 E005E2E4 0222102A */ slt $v0, $s1, $v0
/* 3628A8 E005E2E8 1440FFD4 */ bnez $v0, .LE005E23C
/* 3628AC E005E2EC 2610002C */ addiu $s0, $s0, 0x2c
.LE005E2F0:
/* 3628B0 E005E2F0 8FBF001C */ lw $ra, 0x1c($sp)
/* 3628B4 E005E2F4 8FB20018 */ lw $s2, 0x18($sp)
/* 3628B8 E005E2F8 8FB10014 */ lw $s1, 0x14($sp)
/* 3628BC E005E2FC 8FB00010 */ lw $s0, 0x10($sp)
/* 3628C0 E005E300 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 3628C4 E005E304 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 3628C8 E005E308 03E00008 */ jr $ra
/* 3628CC E005E30C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005E310
/* 3628D0 E005E310 03E00008 */ jr $ra
/* 3628D4 E005E314 00000000 */ nop

View File

@ -0,0 +1,11 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005E318
/* 3628D8 E005E318 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3628DC E005E31C AFBF0010 */ sw $ra, 0x10($sp)
/* 3628E0 E005E320 0C0178CD */ jal func_E005E334
/* 3628E4 E005E324 00000000 */ nop
/* 3628E8 E005E328 8FBF0010 */ lw $ra, 0x10($sp)
/* 3628EC E005E32C 03E00008 */ jr $ra
/* 3628F0 E005E330 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,214 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E005E334
/* 3628F4 E005E334 27BDFEF0 */ addiu $sp, $sp, -0x110
/* 3628F8 E005E338 AFBF0104 */ sw $ra, 0x104($sp)
/* 3628FC E005E33C AFBE0100 */ sw $fp, 0x100($sp)
/* 362900 E005E340 AFB700FC */ sw $s7, 0xfc($sp)
/* 362904 E005E344 AFB600F8 */ sw $s6, 0xf8($sp)
/* 362908 E005E348 AFB500F4 */ sw $s5, 0xf4($sp)
/* 36290C E005E34C AFB400F0 */ sw $s4, 0xf0($sp)
/* 362910 E005E350 AFB300EC */ sw $s3, 0xec($sp)
/* 362914 E005E354 AFB200E8 */ sw $s2, 0xe8($sp)
/* 362918 E005E358 AFB100E4 */ sw $s1, 0xe4($sp)
/* 36291C E005E35C AFB000E0 */ sw $s0, 0xe0($sp)
/* 362920 E005E360 F7B40108 */ sdc1 $f20, 0x108($sp)
/* 362924 E005E364 AFA40110 */ sw $a0, 0x110($sp)
/* 362928 E005E368 8C92000C */ lw $s2, 0xc($a0)
/* 36292C E005E36C 8E420028 */ lw $v0, 0x28($s2)
/* 362930 E005E370 104000B2 */ beqz $v0, .LE005E63C
/* 362934 E005E374 3C07DB06 */ lui $a3, 0xdb06
/* 362938 E005E378 34E70024 */ ori $a3, $a3, 0x24
/* 36293C E005E37C 27A40018 */ addiu $a0, $sp, 0x18
/* 362940 E005E380 3C110001 */ lui $s1, 1
/* 362944 E005E384 3C16800A */ lui $s6, %hi(D_8009A66C)
/* 362948 E005E388 26D6A66C */ addiu $s6, $s6, %lo(D_8009A66C)
/* 36294C E005E38C 8EC30000 */ lw $v1, ($s6)
/* 362950 E005E390 36311630 */ ori $s1, $s1, 0x1630
/* 362954 E005E394 0060282D */ daddu $a1, $v1, $zero
/* 362958 E005E398 24630008 */ addiu $v1, $v1, 8
/* 36295C E005E39C AEC30000 */ sw $v1, ($s6)
/* 362960 E005E3A0 3C08E006 */ lui $t0, %hi(D_E005E670)
/* 362964 E005E3A4 8D08E670 */ lw $t0, %lo(D_E005E670)($t0)
/* 362968 E005E3A8 3C06E006 */ lui $a2, %hi(D_E005E674)
/* 36296C E005E3AC 8CC6E674 */ lw $a2, %lo(D_E005E674)($a2)
/* 362970 E005E3B0 3C02E700 */ lui $v0, 0xe700
/* 362974 E005E3B4 AFA800D8 */ sw $t0, 0xd8($sp)
/* 362978 E005E3B8 ACA20000 */ sw $v0, ($a1)
/* 36297C E005E3BC 24620008 */ addiu $v0, $v1, 8
/* 362980 E005E3C0 ACA00004 */ sw $zero, 4($a1)
/* 362984 E005E3C4 AEC20000 */ sw $v0, ($s6)
/* 362988 E005E3C8 AC670000 */ sw $a3, ($v1)
/* 36298C E005E3CC 8FA80110 */ lw $t0, 0x110($sp)
/* 362990 E005E3D0 8D050010 */ lw $a1, 0x10($t0)
/* 362994 E005E3D4 24620010 */ addiu $v0, $v1, 0x10
/* 362998 E005E3D8 AEC20000 */ sw $v0, ($s6)
/* 36299C E005E3DC 8CA5001C */ lw $a1, 0x1c($a1)
/* 3629A0 E005E3E0 3C02DE00 */ lui $v0, 0xde00
/* 3629A4 E005E3E4 AC620008 */ sw $v0, 8($v1)
/* 3629A8 E005E3E8 3C028000 */ lui $v0, 0x8000
/* 3629AC E005E3EC AC66000C */ sw $a2, 0xc($v1)
/* 3629B0 E005E3F0 00A22821 */ addu $a1, $a1, $v0
/* 3629B4 E005E3F4 AC650004 */ sw $a1, 4($v1)
/* 3629B8 E005E3F8 8E450004 */ lw $a1, 4($s2)
/* 3629BC E005E3FC 8E460008 */ lw $a2, 8($s2)
/* 3629C0 E005E400 8E47000C */ lw $a3, 0xc($s2)
/* 3629C4 E005E404 4480A000 */ mtc1 $zero, $f20
/* 3629C8 E005E408 0C080108 */ jal func_E0200420
/* 3629CC E005E40C 24140001 */ addiu $s4, $zero, 1
/* 3629D0 E005E410 27B30058 */ addiu $s3, $sp, 0x58
/* 3629D4 E005E414 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3629D8 E005E418 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 3629DC E005E41C 4406A000 */ mfc1 $a2, $f20
/* 3629E0 E005E420 00031080 */ sll $v0, $v1, 2
/* 3629E4 E005E424 00431021 */ addu $v0, $v0, $v1
/* 3629E8 E005E428 00021080 */ sll $v0, $v0, 2
/* 3629EC E005E42C 00431023 */ subu $v0, $v0, $v1
/* 3629F0 E005E430 000218C0 */ sll $v1, $v0, 3
/* 3629F4 E005E434 00431021 */ addu $v0, $v0, $v1
/* 3629F8 E005E438 000210C0 */ sll $v0, $v0, 3
/* 3629FC E005E43C 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 362A00 E005E440 00220821 */ addu $at, $at, $v0
/* 362A04 E005E444 C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 362A08 E005E448 3C073F80 */ lui $a3, 0x3f80
/* 362A0C E005E44C 46000007 */ neg.s $f0, $f0
/* 362A10 E005E450 44050000 */ mfc1 $a1, $f0
/* 362A14 E005E454 0260202D */ daddu $a0, $s3, $zero
/* 362A18 E005E458 0C080104 */ jal func_E0200410
/* 362A1C E005E45C E7B40010 */ swc1 $f20, 0x10($sp)
/* 362A20 E005E460 0260202D */ daddu $a0, $s3, $zero
/* 362A24 E005E464 27A50018 */ addiu $a1, $sp, 0x18
/* 362A28 E005E468 27B00098 */ addiu $s0, $sp, 0x98
/* 362A2C E005E46C 0C080114 */ jal func_E0200450
/* 362A30 E005E470 0200302D */ daddu $a2, $s0, $zero
/* 362A34 E005E474 0200202D */ daddu $a0, $s0, $zero
/* 362A38 E005E478 3C108007 */ lui $s0, %hi(D_800741F0)
/* 362A3C E005E47C 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 362A40 E005E480 3C17800A */ lui $s7, %hi(D_8009A674)
/* 362A44 E005E484 26F7A674 */ addiu $s7, $s7, %lo(D_8009A674)
/* 362A48 E005E488 96050000 */ lhu $a1, ($s0)
/* 362A4C E005E48C 8EE20000 */ lw $v0, ($s7)
/* 362A50 E005E490 00052980 */ sll $a1, $a1, 6
/* 362A54 E005E494 00B12821 */ addu $a1, $a1, $s1
/* 362A58 E005E498 0C080118 */ jal func_E0200460
/* 362A5C E005E49C 00452821 */ addu $a1, $v0, $a1
/* 362A60 E005E4A0 3C06DCDC */ lui $a2, 0xdcdc
/* 362A64 E005E4A4 8EC40000 */ lw $a0, ($s6)
/* 362A68 E005E4A8 34C628FF */ ori $a2, $a2, 0x28ff
/* 362A6C E005E4AC 0080282D */ daddu $a1, $a0, $zero
/* 362A70 E005E4B0 24840008 */ addiu $a0, $a0, 8
/* 362A74 E005E4B4 AEC40000 */ sw $a0, ($s6)
/* 362A78 E005E4B8 96020000 */ lhu $v0, ($s0)
/* 362A7C E005E4BC 3C03DA38 */ lui $v1, 0xda38
/* 362A80 E005E4C0 ACA30000 */ sw $v1, ($a1)
/* 362A84 E005E4C4 00541821 */ addu $v1, $v0, $s4
/* 362A88 E005E4C8 3042FFFF */ andi $v0, $v0, 0xffff
/* 362A8C E005E4CC 00021180 */ sll $v0, $v0, 6
/* 362A90 E005E4D0 A6030000 */ sh $v1, ($s0)
/* 362A94 E005E4D4 8EE30000 */ lw $v1, ($s7)
/* 362A98 E005E4D8 00511021 */ addu $v0, $v0, $s1
/* 362A9C E005E4DC 00621821 */ addu $v1, $v1, $v0
/* 362AA0 E005E4E0 3C02FA00 */ lui $v0, 0xfa00
/* 362AA4 E005E4E4 ACA30004 */ sw $v1, 4($a1)
/* 362AA8 E005E4E8 AC820000 */ sw $v0, ($a0)
/* 362AAC E005E4EC AC860004 */ sw $a2, 4($a0)
/* 362AB0 E005E4F0 8FA80110 */ lw $t0, 0x110($sp)
/* 362AB4 E005E4F4 2652002C */ addiu $s2, $s2, 0x2c
/* 362AB8 E005E4F8 8D020008 */ lw $v0, 8($t0)
/* 362ABC E005E4FC 24840008 */ addiu $a0, $a0, 8
/* 362AC0 E005E500 0282102A */ slt $v0, $s4, $v0
/* 362AC4 E005E504 10400042 */ beqz $v0, .LE005E610
/* 362AC8 E005E508 AEC40000 */ sw $a0, ($s6)
/* 362ACC E005E50C 0260A82D */ daddu $s5, $s3, $zero
/* 362AD0 E005E510 02E0F02D */ daddu $fp, $s7, $zero
/* 362AD4 E005E514 0200B82D */ daddu $s7, $s0, $zero
/* 362AD8 E005E518 3C130001 */ lui $s3, 1
/* 362ADC E005E51C 36731630 */ ori $s3, $s3, 0x1630
/* 362AE0 E005E520 02C0882D */ daddu $s1, $s6, $zero
/* 362AE4 E005E524 26500018 */ addiu $s0, $s2, 0x18
.LE005E528:
/* 362AE8 E005E528 8E05FFEC */ lw $a1, -0x14($s0)
/* 362AEC E005E52C 8E06FFF0 */ lw $a2, -0x10($s0)
/* 362AF0 E005E530 8E07FFF4 */ lw $a3, -0xc($s0)
/* 362AF4 E005E534 0C080108 */ jal func_E0200420
/* 362AF8 E005E538 27A40018 */ addiu $a0, $sp, 0x18
/* 362AFC E005E53C 4406A000 */ mfc1 $a2, $f20
/* 362B00 E005E540 4407A000 */ mfc1 $a3, $f20
/* 362B04 E005E544 3C013F80 */ lui $at, 0x3f80
/* 362B08 E005E548 44810000 */ mtc1 $at, $f0
/* 362B0C E005E54C 26940001 */ addiu $s4, $s4, 1
/* 362B10 E005E550 E7A00010 */ swc1 $f0, 0x10($sp)
/* 362B14 E005E554 8E050000 */ lw $a1, ($s0)
/* 362B18 E005E558 0C080104 */ jal func_E0200410
/* 362B1C E005E55C 02A0202D */ daddu $a0, $s5, $zero
/* 362B20 E005E560 02A0202D */ daddu $a0, $s5, $zero
/* 362B24 E005E564 27A50018 */ addiu $a1, $sp, 0x18
/* 362B28 E005E568 0C080114 */ jal func_E0200450
/* 362B2C E005E56C 00A0302D */ daddu $a2, $a1, $zero
/* 362B30 E005E570 27A40018 */ addiu $a0, $sp, 0x18
/* 362B34 E005E574 96E50000 */ lhu $a1, ($s7)
/* 362B38 E005E578 8FC20000 */ lw $v0, ($fp)
/* 362B3C E005E57C 00052980 */ sll $a1, $a1, 6
/* 362B40 E005E580 00B32821 */ addu $a1, $a1, $s3
/* 362B44 E005E584 0C080118 */ jal func_E0200460
/* 362B48 E005E588 00452821 */ addu $a1, $v0, $a1
/* 362B4C E005E58C 3C06D838 */ lui $a2, 0xd838
/* 362B50 E005E590 8E240000 */ lw $a0, ($s1)
/* 362B54 E005E594 34C60002 */ ori $a2, $a2, 2
/* 362B58 E005E598 0080282D */ daddu $a1, $a0, $zero
/* 362B5C E005E59C 24840008 */ addiu $a0, $a0, 8
/* 362B60 E005E5A0 AE240000 */ sw $a0, ($s1)
/* 362B64 E005E5A4 96E20000 */ lhu $v0, ($s7)
/* 362B68 E005E5A8 3C03DA38 */ lui $v1, 0xda38
/* 362B6C E005E5AC ACA30000 */ sw $v1, ($a1)
/* 362B70 E005E5B0 24430001 */ addiu $v1, $v0, 1
/* 362B74 E005E5B4 3042FFFF */ andi $v0, $v0, 0xffff
/* 362B78 E005E5B8 00021180 */ sll $v0, $v0, 6
/* 362B7C E005E5BC A6E30000 */ sh $v1, ($s7)
/* 362B80 E005E5C0 8FC30000 */ lw $v1, ($fp)
/* 362B84 E005E5C4 00531021 */ addu $v0, $v0, $s3
/* 362B88 E005E5C8 00621821 */ addu $v1, $v1, $v0
/* 362B8C E005E5CC 24820008 */ addiu $v0, $a0, 8
/* 362B90 E005E5D0 ACA30004 */ sw $v1, 4($a1)
/* 362B94 E005E5D4 AE220000 */ sw $v0, ($s1)
/* 362B98 E005E5D8 3C02DE00 */ lui $v0, 0xde00
/* 362B9C E005E5DC AC820000 */ sw $v0, ($a0)
/* 362BA0 E005E5E0 8FA800D8 */ lw $t0, 0xd8($sp)
/* 362BA4 E005E5E4 24020040 */ addiu $v0, $zero, 0x40
/* 362BA8 E005E5E8 AC860008 */ sw $a2, 8($a0)
/* 362BAC E005E5EC AC82000C */ sw $v0, 0xc($a0)
/* 362BB0 E005E5F0 AC880004 */ sw $t0, 4($a0)
/* 362BB4 E005E5F4 8FA80110 */ lw $t0, 0x110($sp)
/* 362BB8 E005E5F8 2610002C */ addiu $s0, $s0, 0x2c
/* 362BBC E005E5FC 8D020008 */ lw $v0, 8($t0)
/* 362BC0 E005E600 24840010 */ addiu $a0, $a0, 0x10
/* 362BC4 E005E604 0282102A */ slt $v0, $s4, $v0
/* 362BC8 E005E608 1440FFC7 */ bnez $v0, .LE005E528
/* 362BCC E005E60C AE240000 */ sw $a0, ($s1)
.LE005E610:
/* 362BD0 E005E610 3C05D838 */ lui $a1, 0xd838
/* 362BD4 E005E614 3C03800A */ lui $v1, %hi(D_8009A66C)
/* 362BD8 E005E618 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
/* 362BDC E005E61C 8C620000 */ lw $v0, ($v1)
/* 362BE0 E005E620 34A50002 */ ori $a1, $a1, 2
/* 362BE4 E005E624 0040202D */ daddu $a0, $v0, $zero
/* 362BE8 E005E628 24420008 */ addiu $v0, $v0, 8
/* 362BEC E005E62C AC620000 */ sw $v0, ($v1)
/* 362BF0 E005E630 24020040 */ addiu $v0, $zero, 0x40
/* 362BF4 E005E634 AC850000 */ sw $a1, ($a0)
/* 362BF8 E005E638 AC820004 */ sw $v0, 4($a0)
.LE005E63C:
/* 362BFC E005E63C 8FBF0104 */ lw $ra, 0x104($sp)
/* 362C00 E005E640 8FBE0100 */ lw $fp, 0x100($sp)
/* 362C04 E005E644 8FB700FC */ lw $s7, 0xfc($sp)
/* 362C08 E005E648 8FB600F8 */ lw $s6, 0xf8($sp)
/* 362C0C E005E64C 8FB500F4 */ lw $s5, 0xf4($sp)
/* 362C10 E005E650 8FB400F0 */ lw $s4, 0xf0($sp)
/* 362C14 E005E654 8FB300EC */ lw $s3, 0xec($sp)
/* 362C18 E005E658 8FB200E8 */ lw $s2, 0xe8($sp)
/* 362C1C E005E65C 8FB100E4 */ lw $s1, 0xe4($sp)
/* 362C20 E005E660 8FB000E0 */ lw $s0, 0xe0($sp)
/* 362C24 E005E664 D7B40108 */ ldc1 $f20, 0x108($sp)
/* 362C28 E005E668 03E00008 */ jr $ra
/* 362C2C E005E66C 27BD0110 */ addiu $sp, $sp, 0x110

View File

@ -0,0 +1,126 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0060000
/* 363160 E0060000 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 363164 E0060004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 363168 E0060008 4485A000 */ mtc1 $a1, $f20
/* 36316C E006000C AFB20030 */ sw $s2, 0x30($sp)
/* 363170 E0060010 0080902D */ daddu $s2, $a0, $zero
/* 363174 E0060014 F7B60048 */ sdc1 $f22, 0x48($sp)
/* 363178 E0060018 4486B000 */ mtc1 $a2, $f22
/* 36317C E006001C 27A40010 */ addiu $a0, $sp, 0x10
/* 363180 E0060020 F7B80050 */ sdc1 $f24, 0x50($sp)
/* 363184 E0060024 4487C000 */ mtc1 $a3, $f24
/* 363188 E0060028 3C02E006 */ lui $v0, %hi(D_E00601D8)
/* 36318C E006002C 244201D8 */ addiu $v0, $v0, %lo(D_E00601D8)
/* 363190 E0060030 AFA20018 */ sw $v0, 0x18($sp)
/* 363194 E0060034 3C02E006 */ lui $v0, %hi(D_E00601E0)
/* 363198 E0060038 244201E0 */ addiu $v0, $v0, %lo(D_E00601E0)
/* 36319C E006003C AFA2001C */ sw $v0, 0x1c($sp)
/* 3631A0 E0060040 3C02E006 */ lui $v0, %hi(D_E006040C)
/* 3631A4 E0060044 2442040C */ addiu $v0, $v0, %lo(D_E006040C)
/* 3631A8 E0060048 AFA20020 */ sw $v0, 0x20($sp)
/* 3631AC E006004C 24020030 */ addiu $v0, $zero, 0x30
/* 3631B0 E0060050 AFBF003C */ sw $ra, 0x3c($sp)
/* 3631B4 E0060054 AFB40038 */ sw $s4, 0x38($sp)
/* 3631B8 E0060058 AFB30034 */ sw $s3, 0x34($sp)
/* 3631BC E006005C AFB1002C */ sw $s1, 0x2c($sp)
/* 3631C0 E0060060 AFB00028 */ sw $s0, 0x28($sp)
/* 3631C4 E0060064 AFA00010 */ sw $zero, 0x10($sp)
/* 3631C8 E0060068 AFA00024 */ sw $zero, 0x24($sp)
/* 3631CC E006006C 0C080124 */ jal func_E0200490
/* 3631D0 E0060070 AFA20014 */ sw $v0, 0x14($sp)
/* 3631D4 E0060074 240401B0 */ addiu $a0, $zero, 0x1b0
/* 3631D8 E0060078 24130009 */ addiu $s3, $zero, 9
/* 3631DC E006007C 0040802D */ daddu $s0, $v0, $zero
/* 3631E0 E0060080 0C08012C */ jal func_E02004B0
/* 3631E4 E0060084 AE130008 */ sw $s3, 8($s0)
/* 3631E8 E0060088 0040882D */ daddu $s1, $v0, $zero
/* 3631EC E006008C 16200003 */ bnez $s1, .LE006009C
/* 3631F0 E0060090 AE11000C */ sw $s1, 0xc($s0)
.LE0060094:
/* 3631F4 E0060094 08018025 */ j .LE0060094
/* 3631F8 E0060098 00000000 */ nop
.LE006009C:
/* 3631FC E006009C 0220202D */ daddu $a0, $s1, $zero
/* 363200 E00600A0 00132840 */ sll $a1, $s3, 1
/* 363204 E00600A4 00B32821 */ addu $a1, $a1, $s3
/* 363208 E00600A8 0C080130 */ jal func_E02004C0
/* 36320C E00600AC 00052900 */ sll $a1, $a1, 4
/* 363210 E00600B0 2402001E */ addiu $v0, $zero, 0x1e
/* 363214 E00600B4 AE320000 */ sw $s2, ($s1)
/* 363218 E00600B8 E6340004 */ swc1 $f20, 4($s1)
/* 36321C E00600BC E6360008 */ swc1 $f22, 8($s1)
/* 363220 E00600C0 E638000C */ swc1 $f24, 0xc($s1)
/* 363224 E00600C4 AE220028 */ sw $v0, 0x28($s1)
/* 363228 E00600C8 AE20002C */ sw $zero, 0x2c($s1)
/* 36322C E00600CC AE200024 */ sw $zero, 0x24($s1)
/* 363230 E00600D0 24120001 */ addiu $s2, $zero, 1
/* 363234 E00600D4 0253102A */ slt $v0, $s2, $s3
/* 363238 E00600D8 10400034 */ beqz $v0, .LE00601AC
/* 36323C E00600DC 26310030 */ addiu $s1, $s1, 0x30
/* 363240 E00600E0 3C146666 */ lui $s4, 0x6666
/* 363244 E00600E4 36946667 */ ori $s4, $s4, 0x6667
/* 363248 E00600E8 26300014 */ addiu $s0, $s1, 0x14
/* 36324C E00600EC 3C014120 */ lui $at, 0x4120
/* 363250 E00600F0 4481B000 */ mtc1 $at, $f22
/* 363254 E00600F4 3C014000 */ lui $at, 0x4000
/* 363258 E00600F8 4481A000 */ mtc1 $at, $f20
.LE00600FC:
/* 36325C E00600FC 0C080000 */ jal func_E0200000
/* 363260 E0060100 2404000A */ addiu $a0, $zero, 0xa
/* 363264 E0060104 2404000A */ addiu $a0, $zero, 0xa
/* 363268 E0060108 2442FFFB */ addiu $v0, $v0, -5
/* 36326C E006010C 44820000 */ mtc1 $v0, $f0
/* 363270 E0060110 00000000 */ nop
/* 363274 E0060114 46800020 */ cvt.s.w $f0, $f0
/* 363278 E0060118 0C080000 */ jal func_E0200000
/* 36327C E006011C E600FFF0 */ swc1 $f0, -0x10($s0)
/* 363280 E0060120 24040168 */ addiu $a0, $zero, 0x168
/* 363284 E0060124 24420005 */ addiu $v0, $v0, 5
/* 363288 E0060128 44820000 */ mtc1 $v0, $f0
/* 36328C E006012C 00000000 */ nop
/* 363290 E0060130 46800020 */ cvt.s.w $f0, $f0
/* 363294 E0060134 E600FFF4 */ swc1 $f0, -0xc($s0)
/* 363298 E0060138 0C080000 */ jal func_E0200000
/* 36329C E006013C E616FFF8 */ swc1 $f22, -8($s0)
/* 3632A0 E0060140 24040168 */ addiu $a0, $zero, 0x168
/* 3632A4 E0060144 44820000 */ mtc1 $v0, $f0
/* 3632A8 E0060148 00000000 */ nop
/* 3632AC E006014C 46800020 */ cvt.s.w $f0, $f0
/* 3632B0 E0060150 0C080000 */ jal func_E0200000
/* 3632B4 E0060154 E6000004 */ swc1 $f0, 4($s0)
/* 3632B8 E0060158 24040064 */ addiu $a0, $zero, 0x64
/* 3632BC E006015C 44820000 */ mtc1 $v0, $f0
/* 3632C0 E0060160 00000000 */ nop
/* 3632C4 E0060164 46800020 */ cvt.s.w $f0, $f0
/* 3632C8 E0060168 0C080000 */ jal func_E0200000
/* 3632CC E006016C E600000C */ swc1 $f0, 0xc($s0)
/* 3632D0 E0060170 00540018 */ mult $v0, $s4
/* 3632D4 E0060174 26520001 */ addiu $s2, $s2, 1
/* 3632D8 E0060178 000217C3 */ sra $v0, $v0, 0x1f
/* 3632DC E006017C AE00FFFC */ sw $zero, -4($s0)
/* 3632E0 E0060180 E6140000 */ swc1 $f20, ($s0)
/* 3632E4 E0060184 00004010 */ mfhi $t0
/* 3632E8 E0060188 00081883 */ sra $v1, $t0, 2
/* 3632EC E006018C 00621823 */ subu $v1, $v1, $v0
/* 3632F0 E0060190 44830000 */ mtc1 $v1, $f0
/* 3632F4 E0060194 00000000 */ nop
/* 3632F8 E0060198 46800020 */ cvt.s.w $f0, $f0
/* 3632FC E006019C E6000008 */ swc1 $f0, 8($s0)
/* 363300 E00601A0 0253102A */ slt $v0, $s2, $s3
/* 363304 E00601A4 1440FFD5 */ bnez $v0, .LE00600FC
/* 363308 E00601A8 26100030 */ addiu $s0, $s0, 0x30
.LE00601AC:
/* 36330C E00601AC 8FBF003C */ lw $ra, 0x3c($sp)
/* 363310 E00601B0 8FB40038 */ lw $s4, 0x38($sp)
/* 363314 E00601B4 8FB30034 */ lw $s3, 0x34($sp)
/* 363318 E00601B8 8FB20030 */ lw $s2, 0x30($sp)
/* 36331C E00601BC 8FB1002C */ lw $s1, 0x2c($sp)
/* 363320 E00601C0 8FB00028 */ lw $s0, 0x28($sp)
/* 363324 E00601C4 D7B80050 */ ldc1 $f24, 0x50($sp)
/* 363328 E00601C8 D7B60048 */ ldc1 $f22, 0x48($sp)
/* 36332C E00601CC D7B40040 */ ldc1 $f20, 0x40($sp)
/* 363330 E00601D0 03E00008 */ jr $ra
/* 363334 E00601D4 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00601D8
/* 363338 E00601D8 03E00008 */ jr $ra
/* 36333C E00601DC 00000000 */ nop

View File

@ -0,0 +1,148 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00601E0
/* 363340 E00601E0 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 363344 E00601E4 AFB3001C */ sw $s3, 0x1c($sp)
/* 363348 E00601E8 0080982D */ daddu $s3, $a0, $zero
/* 36334C E00601EC AFBF0020 */ sw $ra, 0x20($sp)
/* 363350 E00601F0 AFB20018 */ sw $s2, 0x18($sp)
/* 363354 E00601F4 AFB10014 */ sw $s1, 0x14($sp)
/* 363358 E00601F8 AFB00010 */ sw $s0, 0x10($sp)
/* 36335C E00601FC F7B60030 */ sdc1 $f22, 0x30($sp)
/* 363360 E0060200 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 363364 E0060204 8E64000C */ lw $a0, 0xc($s3)
/* 363368 E0060208 8C820028 */ lw $v0, 0x28($a0)
/* 36336C E006020C 2442FFFF */ addiu $v0, $v0, -1
/* 363370 E0060210 AC820028 */ sw $v0, 0x28($a0)
/* 363374 E0060214 8C82002C */ lw $v0, 0x2c($a0)
/* 363378 E0060218 8C850028 */ lw $a1, 0x28($a0)
/* 36337C E006021C 24420001 */ addiu $v0, $v0, 1
/* 363380 E0060220 04A10005 */ bgez $a1, .LE0060238
/* 363384 E0060224 AC82002C */ sw $v0, 0x2c($a0)
/* 363388 E0060228 0C080128 */ jal func_E02004A0
/* 36338C E006022C 0260202D */ daddu $a0, $s3, $zero
/* 363390 E0060230 080180FA */ j .LE00603E8
/* 363394 E0060234 00000000 */ nop
.LE0060238:
/* 363398 E0060238 2842000A */ slti $v0, $v0, 0xa
/* 36339C E006023C 10400011 */ beqz $v0, .LE0060284
/* 3633A0 E0060240 00A0302D */ daddu $a2, $a1, $zero
/* 3633A4 E0060244 240200FF */ addiu $v0, $zero, 0xff
/* 3633A8 E0060248 8C830024 */ lw $v1, 0x24($a0)
/* 3633AC E006024C 3C01E006 */ lui $at, %hi(D_E0060740)
/* 3633B0 E0060250 D4200740 */ ldc1 $f0, %lo(D_E0060740)($at)
/* 3633B4 E0060254 00431023 */ subu $v0, $v0, $v1
/* 3633B8 E0060258 44821000 */ mtc1 $v0, $f2
/* 3633BC E006025C 00000000 */ nop
/* 3633C0 E0060260 468010A1 */ cvt.d.w $f2, $f2
/* 3633C4 E0060264 46201082 */ mul.d $f2, $f2, $f0
/* 3633C8 E0060268 00000000 */ nop
/* 3633CC E006026C 44830000 */ mtc1 $v1, $f0
/* 3633D0 E0060270 00000000 */ nop
/* 3633D4 E0060274 46800021 */ cvt.d.w $f0, $f0
/* 3633D8 E0060278 46220000 */ add.d $f0, $f0, $f2
/* 3633DC E006027C 4620020D */ trunc.w.d $f8, $f0
/* 3633E0 E0060280 E4880024 */ swc1 $f8, 0x24($a0)
.LE0060284:
/* 3633E4 E0060284 28C2000A */ slti $v0, $a2, 0xa
/* 3633E8 E0060288 10400009 */ beqz $v0, .LE00602B0
/* 3633EC E006028C 00000000 */ nop
/* 3633F0 E0060290 3C01E006 */ lui $at, %hi(D_E0060748)
/* 3633F4 E0060294 D4220748 */ ldc1 $f2, %lo(D_E0060748)($at)
/* 3633F8 E0060298 C4800024 */ lwc1 $f0, 0x24($a0)
/* 3633FC E006029C 46800021 */ cvt.d.w $f0, $f0
/* 363400 E00602A0 46220002 */ mul.d $f0, $f0, $f2
/* 363404 E00602A4 00000000 */ nop
/* 363408 E00602A8 4620020D */ trunc.w.d $f8, $f0
/* 36340C E00602AC E4880024 */ swc1 $f8, 0x24($a0)
.LE00602B0:
/* 363410 E00602B0 8E620008 */ lw $v0, 8($s3)
/* 363414 E00602B4 24110001 */ addiu $s1, $zero, 1
/* 363418 E00602B8 0222102A */ slt $v0, $s1, $v0
/* 36341C E00602BC 1040004A */ beqz $v0, .LE00603E8
/* 363420 E00602C0 24840030 */ addiu $a0, $a0, 0x30
/* 363424 E00602C4 24900008 */ addiu $s0, $a0, 8
/* 363428 E00602C8 24B20014 */ addiu $s2, $a1, 0x14
/* 36342C E00602CC 3C01BD4C */ lui $at, 0xbd4c
/* 363430 E00602D0 3421CCCD */ ori $at, $at, 0xcccd
/* 363434 E00602D4 4481B000 */ mtc1 $at, $f22
/* 363438 E00602D8 3C014120 */ lui $at, 0x4120
/* 36343C E00602DC 4481A000 */ mtc1 $at, $f20
.LE00602E0:
/* 363440 E00602E0 C60C0010 */ lwc1 $f12, 0x10($s0)
/* 363444 E00602E4 0C080140 */ jal func_E0200500
/* 363448 E00602E8 460C6300 */ add.s $f12, $f12, $f12
/* 36344C E00602EC 3C01E006 */ lui $at, %hi(D_E0060750)
/* 363450 E00602F0 D4220750 */ ldc1 $f2, %lo(D_E0060750)($at)
/* 363454 E00602F4 46000021 */ cvt.d.s $f0, $f0
/* 363458 E00602F8 46220002 */ mul.d $f0, $f0, $f2
/* 36345C E00602FC 00000000 */ nop
/* 363460 E0060300 C6020008 */ lwc1 $f2, 8($s0)
/* 363464 E0060304 46200020 */ cvt.s.d $f0, $f0
/* 363468 E0060308 46001080 */ add.s $f2, $f2, $f0
/* 36346C E006030C 3C01E006 */ lui $at, %hi(D_E0060758)
/* 363470 E0060310 D4200758 */ ldc1 $f0, %lo(D_E0060758)($at)
/* 363474 E0060314 E6020008 */ swc1 $f2, 8($s0)
/* 363478 E0060318 460010A1 */ cvt.d.s $f2, $f2
/* 36347C E006031C 46201082 */ mul.d $f2, $f2, $f0
/* 363480 E0060320 00000000 */ nop
/* 363484 E0060324 C600000C */ lwc1 $f0, 0xc($s0)
/* 363488 E0060328 46160000 */ add.s $f0, $f0, $f22
/* 36348C E006032C E600000C */ swc1 $f0, 0xc($s0)
/* 363490 E0060330 46160000 */ add.s $f0, $f0, $f22
/* 363494 E0060334 24040032 */ addiu $a0, $zero, 0x32
/* 363498 E0060338 0240282D */ daddu $a1, $s2, $zero
/* 36349C E006033C E600000C */ swc1 $f0, 0xc($s0)
/* 3634A0 E0060340 462010A0 */ cvt.s.d $f2, $f2
/* 3634A4 E0060344 0C080011 */ jal func_E0200044
/* 3634A8 E0060348 E6020008 */ swc1 $f2, 8($s0)
/* 3634AC E006034C 2442FFE7 */ addiu $v0, $v0, -0x19
/* 3634B0 E0060350 C60C0014 */ lwc1 $f12, 0x14($s0)
/* 3634B4 E0060354 44820000 */ mtc1 $v0, $f0
/* 3634B8 E0060358 00000000 */ nop
/* 3634BC E006035C 46800020 */ cvt.s.w $f0, $f0
/* 3634C0 E0060360 46006300 */ add.s $f12, $f12, $f0
/* 3634C4 E0060364 0C080140 */ jal func_E0200500
/* 3634C8 E0060368 E60C0014 */ swc1 $f12, 0x14($s0)
/* 3634CC E006036C 46140002 */ mul.s $f0, $f0, $f20
/* 3634D0 E0060370 00000000 */ nop
/* 3634D4 E0060374 C6020014 */ lwc1 $f2, 0x14($s0)
/* 3634D8 E0060378 3C013F00 */ lui $at, 0x3f00
/* 3634DC E006037C 44816000 */ mtc1 $at, $f12
/* 3634E0 E0060380 00000000 */ nop
/* 3634E4 E0060384 460C1302 */ mul.s $f12, $f2, $f12
/* 3634E8 E0060388 00000000 */ nop
/* 3634EC E006038C C6020010 */ lwc1 $f2, 0x10($s0)
/* 3634F0 E0060390 46001080 */ add.s $f2, $f2, $f0
/* 3634F4 E0060394 0C080144 */ jal func_E0200510
/* 3634F8 E0060398 E6020010 */ swc1 $f2, 0x10($s0)
/* 3634FC E006039C 46140002 */ mul.s $f0, $f0, $f20
/* 363500 E00603A0 00000000 */ nop
/* 363504 E00603A4 C606FFFC */ lwc1 $f6, -4($s0)
/* 363508 E00603A8 C6020008 */ lwc1 $f2, 8($s0)
/* 36350C E00603AC C6040000 */ lwc1 $f4, ($s0)
/* 363510 E00603B0 46023180 */ add.s $f6, $f6, $f2
/* 363514 E00603B4 C602000C */ lwc1 $f2, 0xc($s0)
/* 363518 E00603B8 26310001 */ addiu $s1, $s1, 1
/* 36351C E00603BC 46022100 */ add.s $f4, $f4, $f2
/* 363520 E00603C0 C6020018 */ lwc1 $f2, 0x18($s0)
/* 363524 E00603C4 26520014 */ addiu $s2, $s2, 0x14
/* 363528 E00603C8 46001080 */ add.s $f2, $f2, $f0
/* 36352C E00603CC E606FFFC */ swc1 $f6, -4($s0)
/* 363530 E00603D0 E6040000 */ swc1 $f4, ($s0)
/* 363534 E00603D4 E6020018 */ swc1 $f2, 0x18($s0)
/* 363538 E00603D8 8E620008 */ lw $v0, 8($s3)
/* 36353C E00603DC 0222102A */ slt $v0, $s1, $v0
/* 363540 E00603E0 1440FFBF */ bnez $v0, .LE00602E0
/* 363544 E00603E4 26100030 */ addiu $s0, $s0, 0x30
.LE00603E8:
/* 363548 E00603E8 8FBF0020 */ lw $ra, 0x20($sp)
/* 36354C E00603EC 8FB3001C */ lw $s3, 0x1c($sp)
/* 363550 E00603F0 8FB20018 */ lw $s2, 0x18($sp)
/* 363554 E00603F4 8FB10014 */ lw $s1, 0x14($sp)
/* 363558 E00603F8 8FB00010 */ lw $s0, 0x10($sp)
/* 36355C E00603FC D7B60030 */ ldc1 $f22, 0x30($sp)
/* 363560 E0060400 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 363564 E0060404 03E00008 */ jr $ra
/* 363568 E0060408 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E006040C
/* 36356C E006040C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 363570 E0060410 3C02E006 */ lui $v0, %hi(D_E0060450)
/* 363574 E0060414 24420450 */ addiu $v0, $v0, %lo(D_E0060450)
/* 363578 E0060418 AFA2001C */ sw $v0, 0x1c($sp)
/* 36357C E006041C 2402002D */ addiu $v0, $zero, 0x2d
/* 363580 E0060420 AFA40018 */ sw $a0, 0x18($sp)
/* 363584 E0060424 27A40010 */ addiu $a0, $sp, 0x10
/* 363588 E0060428 AFBF0020 */ sw $ra, 0x20($sp)
/* 36358C E006042C AFA00014 */ sw $zero, 0x14($sp)
/* 363590 E0060430 0C080120 */ jal func_E0200480
/* 363594 E0060434 AFA20010 */ sw $v0, 0x10($sp)
/* 363598 E0060438 8C430000 */ lw $v1, ($v0)
/* 36359C E006043C 34630002 */ ori $v1, $v1, 2
/* 3635A0 E0060440 AC430000 */ sw $v1, ($v0)
/* 3635A4 E0060444 8FBF0020 */ lw $ra, 0x20($sp)
/* 3635A8 E0060448 03E00008 */ jr $ra
/* 3635AC E006044C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,191 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0060450
/* 3635B0 E0060450 27BDFEF0 */ addiu $sp, $sp, -0x110
/* 3635B4 E0060454 3C02DB06 */ lui $v0, 0xdb06
/* 3635B8 E0060458 34420024 */ ori $v0, $v0, 0x24
/* 3635BC E006045C AFB400E8 */ sw $s4, 0xe8($sp)
/* 3635C0 E0060460 3C14800A */ lui $s4, %hi(D_8009A66C)
/* 3635C4 E0060464 2694A66C */ addiu $s4, $s4, %lo(D_8009A66C)
/* 3635C8 E0060468 AFBF00FC */ sw $ra, 0xfc($sp)
/* 3635CC E006046C AFBE00F8 */ sw $fp, 0xf8($sp)
/* 3635D0 E0060470 AFB700F4 */ sw $s7, 0xf4($sp)
/* 3635D4 E0060474 AFB600F0 */ sw $s6, 0xf0($sp)
/* 3635D8 E0060478 AFB500EC */ sw $s5, 0xec($sp)
/* 3635DC E006047C AFB300E4 */ sw $s3, 0xe4($sp)
/* 3635E0 E0060480 AFB200E0 */ sw $s2, 0xe0($sp)
/* 3635E4 E0060484 AFB100DC */ sw $s1, 0xdc($sp)
/* 3635E8 E0060488 AFB000D8 */ sw $s0, 0xd8($sp)
/* 3635EC E006048C F7B60108 */ sdc1 $f22, 0x108($sp)
/* 3635F0 E0060490 F7B40100 */ sdc1 $f20, 0x100($sp)
/* 3635F4 E0060494 AFA40110 */ sw $a0, 0x110($sp)
/* 3635F8 E0060498 8E850000 */ lw $a1, ($s4)
/* 3635FC E006049C 8C90000C */ lw $s0, 0xc($a0)
/* 363600 E00604A0 3C06E006 */ lui $a2, %hi(D_E0060738)
/* 363604 E00604A4 8CC60738 */ lw $a2, %lo(D_E0060738)($a2)
/* 363608 E00604A8 00A0202D */ daddu $a0, $a1, $zero
/* 36360C E00604AC 24A50008 */ addiu $a1, $a1, 8
/* 363610 E00604B0 AE850000 */ sw $a1, ($s4)
/* 363614 E00604B4 AC820000 */ sw $v0, ($a0)
/* 363618 E00604B8 24A20008 */ addiu $v0, $a1, 8
/* 36361C E00604BC AE820000 */ sw $v0, ($s4)
/* 363620 E00604C0 8FA80110 */ lw $t0, 0x110($sp)
/* 363624 E00604C4 3C071464 */ lui $a3, 0x1464
/* 363628 E00604C8 8D030010 */ lw $v1, 0x10($t0)
/* 36362C E00604CC 24A20010 */ addiu $v0, $a1, 0x10
/* 363630 E00604D0 AE820000 */ sw $v0, ($s4)
/* 363634 E00604D4 8C62001C */ lw $v0, 0x1c($v1)
/* 363638 E00604D8 3C038000 */ lui $v1, 0x8000
/* 36363C E00604DC 00431021 */ addu $v0, $v0, $v1
/* 363640 E00604E0 AC820004 */ sw $v0, 4($a0)
/* 363644 E00604E4 3C02DE00 */ lui $v0, 0xde00
/* 363648 E00604E8 ACA20000 */ sw $v0, ($a1)
/* 36364C E00604EC 3C02FA00 */ lui $v0, 0xfa00
/* 363650 E00604F0 ACA60004 */ sw $a2, 4($a1)
/* 363654 E00604F4 ACA20008 */ sw $v0, 8($a1)
/* 363658 E00604F8 92020027 */ lbu $v0, 0x27($s0)
/* 36365C E00604FC 34E71400 */ ori $a3, $a3, 0x1400
/* 363660 E0060500 00471025 */ or $v0, $v0, $a3
/* 363664 E0060504 ACA2000C */ sw $v0, 0xc($a1)
/* 363668 E0060508 8E050004 */ lw $a1, 4($s0)
/* 36366C E006050C 8E060008 */ lw $a2, 8($s0)
/* 363670 E0060510 8E07000C */ lw $a3, 0xc($s0)
/* 363674 E0060514 0C080108 */ jal func_E0200420
/* 363678 E0060518 27A40018 */ addiu $a0, $sp, 0x18
/* 36367C E006051C 27B10058 */ addiu $s1, $sp, 0x58
/* 363680 E0060520 4480A000 */ mtc1 $zero, $f20
/* 363684 E0060524 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 363688 E0060528 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 36368C E006052C 3C013F80 */ lui $at, 0x3f80
/* 363690 E0060530 4481B000 */ mtc1 $at, $f22
/* 363694 E0060534 00031080 */ sll $v0, $v1, 2
/* 363698 E0060538 00431021 */ addu $v0, $v0, $v1
/* 36369C E006053C 00021080 */ sll $v0, $v0, 2
/* 3636A0 E0060540 00431023 */ subu $v0, $v0, $v1
/* 3636A4 E0060544 000218C0 */ sll $v1, $v0, 3
/* 3636A8 E0060548 00431021 */ addu $v0, $v0, $v1
/* 3636AC E006054C 000210C0 */ sll $v0, $v0, 3
/* 3636B0 E0060550 4406A000 */ mfc1 $a2, $f20
/* 3636B4 E0060554 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 3636B8 E0060558 00220821 */ addu $at, $at, $v0
/* 3636BC E006055C C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 3636C0 E0060560 4407B000 */ mfc1 $a3, $f22
/* 3636C4 E0060564 46000007 */ neg.s $f0, $f0
/* 3636C8 E0060568 44050000 */ mfc1 $a1, $f0
/* 3636CC E006056C 0220202D */ daddu $a0, $s1, $zero
/* 3636D0 E0060570 0C080104 */ jal func_E0200410
/* 3636D4 E0060574 E7B40010 */ swc1 $f20, 0x10($sp)
/* 3636D8 E0060578 0220202D */ daddu $a0, $s1, $zero
/* 3636DC E006057C 27A50018 */ addiu $a1, $sp, 0x18
/* 3636E0 E0060580 0C080114 */ jal func_E0200450
/* 3636E4 E0060584 27A60098 */ addiu $a2, $sp, 0x98
/* 3636E8 E0060588 8FA80110 */ lw $t0, 0x110($sp)
/* 3636EC E006058C 24130001 */ addiu $s3, $zero, 1
/* 3636F0 E0060590 8D020008 */ lw $v0, 8($t0)
/* 3636F4 E0060594 0262102A */ slt $v0, $s3, $v0
/* 3636F8 E0060598 10400056 */ beqz $v0, .LE00606F4
/* 3636FC E006059C 26100030 */ addiu $s0, $s0, 0x30
/* 363700 E00605A0 0220902D */ daddu $s2, $s1, $zero
/* 363704 E00605A4 3C1E800A */ lui $fp, %hi(D_8009A674)
/* 363708 E00605A8 27DEA674 */ addiu $fp, $fp, %lo(D_8009A674)
/* 36370C E00605AC 3C178007 */ lui $s7, %hi(D_800741F0)
/* 363710 E00605B0 26F741F0 */ addiu $s7, $s7, %lo(D_800741F0)
/* 363714 E00605B4 3C160001 */ lui $s6, 1
/* 363718 E00605B8 36D61630 */ ori $s6, $s6, 0x1630
/* 36371C E00605BC 26110020 */ addiu $s1, $s0, 0x20
.LE00605C0:
/* 363720 E00605C0 32700001 */ andi $s0, $s3, 1
/* 363724 E00605C4 00101080 */ sll $v0, $s0, 2
/* 363728 E00605C8 3C08E006 */ lui $t0, %hi(D_E0060730)
/* 36372C E00605CC 25080730 */ addiu $t0, $t0, %lo(D_E0060730)
/* 363730 E00605D0 00481021 */ addu $v0, $v0, $t0
/* 363734 E00605D4 8E25FFE4 */ lw $a1, -0x1c($s1)
/* 363738 E00605D8 8E26FFE8 */ lw $a2, -0x18($s1)
/* 36373C E00605DC 8E27FFEC */ lw $a3, -0x14($s1)
/* 363740 E00605E0 8C550000 */ lw $s5, ($v0)
/* 363744 E00605E4 0C080108 */ jal func_E0200420
/* 363748 E00605E8 0240202D */ daddu $a0, $s2, $zero
/* 36374C E00605EC 0240202D */ daddu $a0, $s2, $zero
/* 363750 E00605F0 27A50098 */ addiu $a1, $sp, 0x98
/* 363754 E00605F4 0C080114 */ jal func_E0200450
/* 363758 E00605F8 27A60018 */ addiu $a2, $sp, 0x18
/* 36375C E00605FC 56000016 */ bnel $s0, $zero, .LE0060658
/* 363760 E0060600 27A40018 */ addiu $a0, $sp, 0x18
/* 363764 E0060604 E7B60010 */ swc1 $f22, 0x10($sp)
/* 363768 E0060608 8E25FFF8 */ lw $a1, -8($s1)
/* 36376C E006060C 4406A000 */ mfc1 $a2, $f20
/* 363770 E0060610 4407A000 */ mfc1 $a3, $f20
/* 363774 E0060614 0C080104 */ jal func_E0200410
/* 363778 E0060618 0240202D */ daddu $a0, $s2, $zero
/* 36377C E006061C 0240202D */ daddu $a0, $s2, $zero
/* 363780 E0060620 27A50018 */ addiu $a1, $sp, 0x18
/* 363784 E0060624 0C080114 */ jal func_E0200450
/* 363788 E0060628 00A0302D */ daddu $a2, $a1, $zero
/* 36378C E006062C E7B40010 */ swc1 $f20, 0x10($sp)
/* 363790 E0060630 8E250000 */ lw $a1, ($s1)
/* 363794 E0060634 4406A000 */ mfc1 $a2, $f20
/* 363798 E0060638 4407B000 */ mfc1 $a3, $f22
/* 36379C E006063C 0C080104 */ jal func_E0200410
/* 3637A0 E0060640 0240202D */ daddu $a0, $s2, $zero
/* 3637A4 E0060644 0240202D */ daddu $a0, $s2, $zero
/* 3637A8 E0060648 27A50018 */ addiu $a1, $sp, 0x18
/* 3637AC E006064C 0C080114 */ jal func_E0200450
/* 3637B0 E0060650 00A0302D */ daddu $a2, $a1, $zero
/* 3637B4 E0060654 27A40018 */ addiu $a0, $sp, 0x18
.LE0060658:
/* 3637B8 E0060658 26730001 */ addiu $s3, $s3, 1
/* 3637BC E006065C 96E50000 */ lhu $a1, ($s7)
/* 3637C0 E0060660 8FC20000 */ lw $v0, ($fp)
/* 3637C4 E0060664 00052980 */ sll $a1, $a1, 6
/* 3637C8 E0060668 00B62821 */ addu $a1, $a1, $s6
/* 3637CC E006066C 0C080118 */ jal func_E0200460
/* 3637D0 E0060670 00452821 */ addu $a1, $v0, $a1
/* 3637D4 E0060674 3C06D838 */ lui $a2, 0xd838
/* 3637D8 E0060678 8E840000 */ lw $a0, ($s4)
/* 3637DC E006067C 34C60002 */ ori $a2, $a2, 2
/* 3637E0 E0060680 0080282D */ daddu $a1, $a0, $zero
/* 3637E4 E0060684 24840008 */ addiu $a0, $a0, 8
/* 3637E8 E0060688 AE840000 */ sw $a0, ($s4)
/* 3637EC E006068C 96E20000 */ lhu $v0, ($s7)
/* 3637F0 E0060690 3C03DA38 */ lui $v1, 0xda38
/* 3637F4 E0060694 ACA30000 */ sw $v1, ($a1)
/* 3637F8 E0060698 24430001 */ addiu $v1, $v0, 1
/* 3637FC E006069C 3042FFFF */ andi $v0, $v0, 0xffff
/* 363800 E00606A0 00021180 */ sll $v0, $v0, 6
/* 363804 E00606A4 A6E30000 */ sh $v1, ($s7)
/* 363808 E00606A8 8FC30000 */ lw $v1, ($fp)
/* 36380C E00606AC 00561021 */ addu $v0, $v0, $s6
/* 363810 E00606B0 00621821 */ addu $v1, $v1, $v0
/* 363814 E00606B4 24820008 */ addiu $v0, $a0, 8
/* 363818 E00606B8 ACA30004 */ sw $v1, 4($a1)
/* 36381C E00606BC AE820000 */ sw $v0, ($s4)
/* 363820 E00606C0 3C02DE00 */ lui $v0, 0xde00
/* 363824 E00606C4 AC820000 */ sw $v0, ($a0)
/* 363828 E00606C8 24020040 */ addiu $v0, $zero, 0x40
/* 36382C E00606CC AC950004 */ sw $s5, 4($a0)
/* 363830 E00606D0 AC860008 */ sw $a2, 8($a0)
/* 363834 E00606D4 AC82000C */ sw $v0, 0xc($a0)
/* 363838 E00606D8 8FA80110 */ lw $t0, 0x110($sp)
/* 36383C E00606DC 26310030 */ addiu $s1, $s1, 0x30
/* 363840 E00606E0 8D020008 */ lw $v0, 8($t0)
/* 363844 E00606E4 24840010 */ addiu $a0, $a0, 0x10
/* 363848 E00606E8 0262102A */ slt $v0, $s3, $v0
/* 36384C E00606EC 1440FFB4 */ bnez $v0, .LE00605C0
/* 363850 E00606F0 AE840000 */ sw $a0, ($s4)
.LE00606F4:
/* 363854 E00606F4 8FBF00FC */ lw $ra, 0xfc($sp)
/* 363858 E00606F8 8FBE00F8 */ lw $fp, 0xf8($sp)
/* 36385C E00606FC 8FB700F4 */ lw $s7, 0xf4($sp)
/* 363860 E0060700 8FB600F0 */ lw $s6, 0xf0($sp)
/* 363864 E0060704 8FB500EC */ lw $s5, 0xec($sp)
/* 363868 E0060708 8FB400E8 */ lw $s4, 0xe8($sp)
/* 36386C E006070C 8FB300E4 */ lw $s3, 0xe4($sp)
/* 363870 E0060710 8FB200E0 */ lw $s2, 0xe0($sp)
/* 363874 E0060714 8FB100DC */ lw $s1, 0xdc($sp)
/* 363878 E0060718 8FB000D8 */ lw $s0, 0xd8($sp)
/* 36387C E006071C D7B60108 */ ldc1 $f22, 0x108($sp)
/* 363880 E0060720 D7B40100 */ ldc1 $f20, 0x100($sp)
/* 363884 E0060724 03E00008 */ jr $ra
/* 363888 E0060728 27BD0110 */ addiu $sp, $sp, 0x110
/* 36388C E006072C 00000000 */ nop

View File

@ -0,0 +1,146 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0062000
/* 364300 E0062000 27BDFF90 */ addiu $sp, $sp, -0x70
/* 364304 E0062004 F7B40048 */ sdc1 $f20, 0x48($sp)
/* 364308 E0062008 4485A000 */ mtc1 $a1, $f20
/* 36430C E006200C AFB1002C */ sw $s1, 0x2c($sp)
/* 364310 E0062010 0080882D */ daddu $s1, $a0, $zero
/* 364314 E0062014 F7B60050 */ sdc1 $f22, 0x50($sp)
/* 364318 E0062018 4486B000 */ mtc1 $a2, $f22
/* 36431C E006201C 27A40010 */ addiu $a0, $sp, 0x10
/* 364320 E0062020 F7B80058 */ sdc1 $f24, 0x58($sp)
/* 364324 E0062024 4487C000 */ mtc1 $a3, $f24
/* 364328 E0062028 3C02E006 */ lui $v0, %hi(D_E0062218)
/* 36432C E006202C 24422218 */ addiu $v0, $v0, %lo(D_E0062218)
/* 364330 E0062030 AFA20018 */ sw $v0, 0x18($sp)
/* 364334 E0062034 3C02E006 */ lui $v0, %hi(D_E0062220)
/* 364338 E0062038 24422220 */ addiu $v0, $v0, %lo(D_E0062220)
/* 36433C E006203C AFA2001C */ sw $v0, 0x1c($sp)
/* 364340 E0062040 3C02E006 */ lui $v0, %hi(D_E00624A8)
/* 364344 E0062044 244224A8 */ addiu $v0, $v0, %lo(D_E00624A8)
/* 364348 E0062048 AFA20020 */ sw $v0, 0x20($sp)
/* 36434C E006204C 24020031 */ addiu $v0, $zero, 0x31
/* 364350 E0062050 AFBF0040 */ sw $ra, 0x40($sp)
/* 364354 E0062054 AFB5003C */ sw $s5, 0x3c($sp)
/* 364358 E0062058 AFB40038 */ sw $s4, 0x38($sp)
/* 36435C E006205C AFB30034 */ sw $s3, 0x34($sp)
/* 364360 E0062060 AFB20030 */ sw $s2, 0x30($sp)
/* 364364 E0062064 AFB00028 */ sw $s0, 0x28($sp)
/* 364368 E0062068 F7BC0068 */ sdc1 $f28, 0x68($sp)
/* 36436C E006206C F7BA0060 */ sdc1 $f26, 0x60($sp)
/* 364370 E0062070 AFA00010 */ sw $zero, 0x10($sp)
/* 364374 E0062074 AFA00024 */ sw $zero, 0x24($sp)
/* 364378 E0062078 0C080124 */ jal func_E0200490
/* 36437C E006207C AFA20014 */ sw $v0, 0x14($sp)
/* 364380 E0062080 24040200 */ addiu $a0, $zero, 0x200
/* 364384 E0062084 24150008 */ addiu $s5, $zero, 8
/* 364388 E0062088 0040A02D */ daddu $s4, $v0, $zero
/* 36438C E006208C 0C08012C */ jal func_E02004B0
/* 364390 E0062090 AE950008 */ sw $s5, 8($s4)
/* 364394 E0062094 0040802D */ daddu $s0, $v0, $zero
/* 364398 E0062098 16000003 */ bnez $s0, .LE00620A8
/* 36439C E006209C AE90000C */ sw $s0, 0xc($s4)
.LE00620A0:
/* 3643A0 E00620A0 08018828 */ j .LE00620A0
/* 3643A4 E00620A4 00000000 */ nop
.LE00620A8:
/* 3643A8 E00620A8 0200202D */ daddu $a0, $s0, $zero
/* 3643AC E00620AC 0C080130 */ jal func_E02004C0
/* 3643B0 E00620B0 00152980 */ sll $a1, $s5, 6
/* 3643B4 E00620B4 2402001E */ addiu $v0, $zero, 0x1e
/* 3643B8 E00620B8 AE020024 */ sw $v0, 0x24($s0)
/* 3643BC E00620BC 240200FF */ addiu $v0, $zero, 0xff
/* 3643C0 E00620C0 AE000028 */ sw $zero, 0x28($s0)
/* 3643C4 E00620C4 A6110000 */ sh $s1, ($s0)
/* 3643C8 E00620C8 E6140004 */ swc1 $f20, 4($s0)
/* 3643CC E00620CC E6160008 */ swc1 $f22, 8($s0)
/* 3643D0 E00620D0 E618000C */ swc1 $f24, 0xc($s0)
/* 3643D4 E00620D4 16200009 */ bnez $s1, .LE00620FC
/* 3643D8 E00620D8 AE020034 */ sw $v0, 0x34($s0)
/* 3643DC E00620DC 24020014 */ addiu $v0, $zero, 0x14
/* 3643E0 E00620E0 A202003B */ sb $v0, 0x3b($s0)
/* 3643E4 E00620E4 A2020038 */ sb $v0, 0x38($s0)
/* 3643E8 E00620E8 24020015 */ addiu $v0, $zero, 0x15
/* 3643EC E00620EC A202003C */ sb $v0, 0x3c($s0)
/* 3643F0 E00620F0 A2020039 */ sb $v0, 0x39($s0)
/* 3643F4 E00620F4 08018846 */ j .LE0062118
/* 3643F8 E00620F8 240200F2 */ addiu $v0, $zero, 0xf2
.LE00620FC:
/* 3643FC E00620FC 240200C8 */ addiu $v0, $zero, 0xc8
/* 364400 E0062100 A202003B */ sb $v0, 0x3b($s0)
/* 364404 E0062104 A2020038 */ sb $v0, 0x38($s0)
/* 364408 E0062108 24020015 */ addiu $v0, $zero, 0x15
/* 36440C E006210C A202003C */ sb $v0, 0x3c($s0)
/* 364410 E0062110 A2020039 */ sb $v0, 0x39($s0)
/* 364414 E0062114 240200D4 */ addiu $v0, $zero, 0xd4
.LE0062118:
/* 364418 E0062118 A202003D */ sb $v0, 0x3d($s0)
/* 36441C E006211C A202003A */ sb $v0, 0x3a($s0)
/* 364420 E0062120 24120001 */ addiu $s2, $zero, 1
/* 364424 E0062124 0255102A */ slt $v0, $s2, $s5
/* 364428 E0062128 1040002C */ beqz $v0, .LE00621DC
/* 36442C E006212C 26100040 */ addiu $s0, $s0, 0x40
/* 364430 E0062130 26B3FFFF */ addiu $s3, $s5, -1
/* 364434 E0062134 2610002C */ addiu $s0, $s0, 0x2c
/* 364438 E0062138 0000882D */ daddu $s1, $zero, $zero
/* 36443C E006213C 3C013F80 */ lui $at, 0x3f80
/* 364440 E0062140 4481E000 */ mtc1 $at, $f28
/* 364444 E0062144 3C0142B4 */ lui $at, 0x42b4
/* 364448 E0062148 4481D000 */ mtc1 $at, $f26
/* 36444C E006214C 3C013DCC */ lui $at, 0x3dcc
/* 364450 E0062150 3421CCCD */ ori $at, $at, 0xcccd
/* 364454 E0062154 4481C000 */ mtc1 $at, $f24
.LE0062158:
/* 364458 E0062158 16600002 */ bnez $s3, .LE0062164
/* 36445C E006215C 0233001A */ div $zero, $s1, $s3
/* 364460 E0062160 0007000D */ break 7
.LE0062164:
/* 364464 E0062164 2401FFFF */ addiu $at, $zero, -1
/* 364468 E0062168 16610004 */ bne $s3, $at, .LE006217C
/* 36446C E006216C 3C018000 */ lui $at, 0x8000
/* 364470 E0062170 16210002 */ bne $s1, $at, .LE006217C
/* 364474 E0062174 00000000 */ nop
/* 364478 E0062178 0006000D */ break 6
.LE006217C:
/* 36447C E006217C 00001012 */ mflo $v0
/* 364480 E0062180 4482B000 */ mtc1 $v0, $f22
/* 364484 E0062184 00000000 */ nop
/* 364488 E0062188 4680B5A0 */ cvt.s.w $f22, $f22
/* 36448C E006218C 461AB500 */ add.s $f20, $f22, $f26
/* 364490 E0062190 26310168 */ addiu $s1, $s1, 0x168
/* 364494 E0062194 26520001 */ addiu $s2, $s2, 1
/* 364498 E0062198 0C080144 */ jal func_E0200510
/* 36449C E006219C 4600A306 */ mov.s $f12, $f20
/* 3644A0 E00621A0 4600A306 */ mov.s $f12, $f20
/* 3644A4 E00621A4 0C080140 */ jal func_E0200500
/* 3644A8 E00621A8 E600FFD8 */ swc1 $f0, -0x28($s0)
/* 3644AC E00621AC E600FFDC */ swc1 $f0, -0x24($s0)
/* 3644B0 E00621B0 AE00FFE0 */ sw $zero, -0x20($s0)
/* 3644B4 E00621B4 AE00FFE4 */ sw $zero, -0x1c($s0)
/* 3644B8 E00621B8 AE00FFE8 */ sw $zero, -0x18($s0)
/* 3644BC E00621BC AE00FFEC */ sw $zero, -0x14($s0)
/* 3644C0 E00621C0 E618FFF0 */ swc1 $f24, -0x10($s0)
/* 3644C4 E00621C4 E618FFF4 */ swc1 $f24, -0xc($s0)
/* 3644C8 E00621C8 E61C0004 */ swc1 $f28, 4($s0)
/* 3644CC E00621CC E6160000 */ swc1 $f22, ($s0)
/* 3644D0 E00621D0 0255102A */ slt $v0, $s2, $s5
/* 3644D4 E00621D4 1440FFE0 */ bnez $v0, .LE0062158
/* 3644D8 E00621D8 26100040 */ addiu $s0, $s0, 0x40
.LE00621DC:
/* 3644DC E00621DC 0280102D */ daddu $v0, $s4, $zero
/* 3644E0 E00621E0 8FBF0040 */ lw $ra, 0x40($sp)
/* 3644E4 E00621E4 8FB5003C */ lw $s5, 0x3c($sp)
/* 3644E8 E00621E8 8FB40038 */ lw $s4, 0x38($sp)
/* 3644EC E00621EC 8FB30034 */ lw $s3, 0x34($sp)
/* 3644F0 E00621F0 8FB20030 */ lw $s2, 0x30($sp)
/* 3644F4 E00621F4 8FB1002C */ lw $s1, 0x2c($sp)
/* 3644F8 E00621F8 8FB00028 */ lw $s0, 0x28($sp)
/* 3644FC E00621FC D7BC0068 */ ldc1 $f28, 0x68($sp)
/* 364500 E0062200 D7BA0060 */ ldc1 $f26, 0x60($sp)
/* 364504 E0062204 D7B80058 */ ldc1 $f24, 0x58($sp)
/* 364508 E0062208 D7B60050 */ ldc1 $f22, 0x50($sp)
/* 36450C E006220C D7B40048 */ ldc1 $f20, 0x48($sp)
/* 364510 E0062210 03E00008 */ jr $ra
/* 364514 E0062214 27BD0070 */ addiu $sp, $sp, 0x70

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0062218
/* 364518 E0062218 03E00008 */ jr $ra
/* 36451C E006221C 00000000 */ nop

View File

@ -0,0 +1,172 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0062220
/* 364520 E0062220 27BDFFC0 */ addiu $sp, $sp, -0x40
/* 364524 E0062224 AFB3001C */ sw $s3, 0x1c($sp)
/* 364528 E0062228 0080982D */ daddu $s3, $a0, $zero
/* 36452C E006222C AFBF0020 */ sw $ra, 0x20($sp)
/* 364530 E0062230 AFB20018 */ sw $s2, 0x18($sp)
/* 364534 E0062234 AFB10014 */ sw $s1, 0x14($sp)
/* 364538 E0062238 AFB00010 */ sw $s0, 0x10($sp)
/* 36453C E006223C F7B80038 */ sdc1 $f24, 0x38($sp)
/* 364540 E0062240 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 364544 E0062244 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 364548 E0062248 8E64000C */ lw $a0, 0xc($s3)
/* 36454C E006224C 8C820028 */ lw $v0, 0x28($a0)
/* 364550 E0062250 8C830024 */ lw $v1, 0x24($a0)
/* 364554 E0062254 24420001 */ addiu $v0, $v0, 1
/* 364558 E0062258 2463FFFF */ addiu $v1, $v1, -1
/* 36455C E006225C AC820028 */ sw $v0, 0x28($a0)
/* 364560 E0062260 04610005 */ bgez $v1, .LE0062278
/* 364564 E0062264 AC830024 */ sw $v1, 0x24($a0)
/* 364568 E0062268 0C080128 */ jal func_E02004A0
/* 36456C E006226C 0260202D */ daddu $a0, $s3, $zero
/* 364570 E0062270 08018920 */ j .LE0062480
/* 364574 E0062274 00000000 */ nop
.LE0062278:
/* 364578 E0062278 8C920028 */ lw $s2, 0x28($a0)
/* 36457C E006227C 2A42000B */ slti $v0, $s2, 0xb
/* 364580 E0062280 14400009 */ bnez $v0, .LE00622A8
/* 364584 E0062284 00000000 */ nop
/* 364588 E0062288 3C01E006 */ lui $at, %hi(D_E00628D0)
/* 36458C E006228C D42228D0 */ ldc1 $f2, %lo(D_E00628D0)($at)
/* 364590 E0062290 C4800034 */ lwc1 $f0, 0x34($a0)
/* 364594 E0062294 46800021 */ cvt.d.w $f0, $f0
/* 364598 E0062298 46220002 */ mul.d $f0, $f0, $f2
/* 36459C E006229C 00000000 */ nop
/* 3645A0 E00622A0 4620038D */ trunc.w.d $f14, $f0
/* 3645A4 E00622A4 E48E0034 */ swc1 $f14, 0x34($a0)
.LE00622A8:
/* 3645A8 E00622A8 8E620008 */ lw $v0, 8($s3)
/* 3645AC E00622AC 24110001 */ addiu $s1, $zero, 1
/* 3645B0 E00622B0 0222102A */ slt $v0, $s1, $v0
/* 3645B4 E00622B4 10400072 */ beqz $v0, .LE0062480
/* 3645B8 E00622B8 24840040 */ addiu $a0, $a0, 0x40
/* 3645BC E00622BC 24900008 */ addiu $s0, $a0, 8
/* 3645C0 E00622C0 3C01E006 */ lui $at, %hi(D_E00628D8)
/* 3645C4 E00622C4 D43428D8 */ ldc1 $f20, %lo(D_E00628D8)($at)
/* 3645C8 E00622C8 3C01E006 */ lui $at, %hi(D_E00628E0)
/* 3645CC E00622CC D43628E0 */ ldc1 $f22, %lo(D_E00628E0)($at)
/* 3645D0 E00622D0 3C0142B4 */ lui $at, 0x42b4
/* 3645D4 E00622D4 4481C000 */ mtc1 $at, $f24
.LE00622D8:
/* 3645D8 E00622D8 2A42000B */ slti $v0, $s2, 0xb
/* 3645DC E00622DC 1440002B */ bnez $v0, .LE006238C
/* 3645E0 E00622E0 2A42000A */ slti $v0, $s2, 0xa
/* 3645E4 E00622E4 C60A0014 */ lwc1 $f10, 0x14($s0)
/* 3645E8 E00622E8 3C013FF0 */ lui $at, 0x3ff0
/* 3645EC E00622EC 44816800 */ mtc1 $at, $f13
/* 3645F0 E00622F0 44806000 */ mtc1 $zero, $f12
/* 3645F4 E00622F4 460052A1 */ cvt.d.s $f10, $f10
/* 3645F8 E00622F8 462A6301 */ sub.d $f12, $f12, $f10
/* 3645FC E00622FC 46346302 */ mul.d $f12, $f12, $f20
/* 364600 E0062300 00000000 */ nop
/* 364604 E0062304 C6080018 */ lwc1 $f8, 0x18($s0)
/* 364608 E0062308 3C014019 */ lui $at, 0x4019
/* 36460C E006230C 3421999A */ ori $at, $at, 0x999a
/* 364610 E0062310 44812000 */ mtc1 $at, $f4
/* 364614 E0062314 00000000 */ nop
/* 364618 E0062318 46082101 */ sub.s $f4, $f4, $f8
/* 36461C E006231C 46002121 */ cvt.d.s $f4, $f4
/* 364620 E0062320 46342102 */ mul.d $f4, $f4, $f20
/* 364624 E0062324 00000000 */ nop
/* 364628 E0062328 C6060028 */ lwc1 $f6, 0x28($s0)
/* 36462C E006232C 3C0142C8 */ lui $at, 0x42c8
/* 364630 E0062330 44811000 */ mtc1 $at, $f2
/* 364634 E0062334 00000000 */ nop
/* 364638 E0062338 46061081 */ sub.s $f2, $f2, $f6
/* 36463C E006233C 3C01E006 */ lui $at, %hi(D_E00628E8)
/* 364640 E0062340 D42028E8 */ ldc1 $f0, %lo(D_E00628E8)($at)
/* 364644 E0062344 460010A1 */ cvt.d.s $f2, $f2
/* 364648 E0062348 46201082 */ mul.d $f2, $f2, $f0
/* 36464C E006234C 00000000 */ nop
/* 364650 E0062350 3C01E006 */ lui $at, %hi(D_E00628F0)
/* 364654 E0062354 D42028F0 */ ldc1 $f0, %lo(D_E00628F0)($at)
/* 364658 E0062358 46201082 */ mul.d $f2, $f2, $f0
/* 36465C E006235C 00000000 */ nop
/* 364660 E0062360 462C5280 */ add.d $f10, $f10, $f12
/* 364664 E0062364 46004221 */ cvt.d.s $f8, $f8
/* 364668 E0062368 46244200 */ add.d $f8, $f8, $f4
/* 36466C E006236C 460031A1 */ cvt.d.s $f6, $f6
/* 364670 E0062370 462052A0 */ cvt.s.d $f10, $f10
/* 364674 E0062374 46204220 */ cvt.s.d $f8, $f8
/* 364678 E0062378 46223180 */ add.d $f6, $f6, $f2
/* 36467C E006237C E60A0014 */ swc1 $f10, 0x14($s0)
/* 364680 E0062380 E6080018 */ swc1 $f8, 0x18($s0)
/* 364684 E0062384 462031A0 */ cvt.s.d $f6, $f6
/* 364688 E0062388 E6060028 */ swc1 $f6, 0x28($s0)
.LE006238C:
/* 36468C E006238C 10400029 */ beqz $v0, .LE0062434
/* 364690 E0062390 00000000 */ nop
/* 364694 E0062394 C60C0014 */ lwc1 $f12, 0x14($s0)
/* 364698 E0062398 3C0140E0 */ lui $at, 0x40e0
/* 36469C E006239C 44814000 */ mtc1 $at, $f8
/* 3646A0 E00623A0 00000000 */ nop
/* 3646A4 E00623A4 460C4201 */ sub.s $f8, $f8, $f12
/* 3646A8 E00623A8 46004221 */ cvt.d.s $f8, $f8
/* 3646AC E00623AC 46364202 */ mul.d $f8, $f8, $f22
/* 3646B0 E00623B0 00000000 */ nop
/* 3646B4 E00623B4 C60A0018 */ lwc1 $f10, 0x18($s0)
/* 3646B8 E00623B8 3C013F80 */ lui $at, 0x3f80
/* 3646BC E00623BC 44812000 */ mtc1 $at, $f4
/* 3646C0 E00623C0 00000000 */ nop
/* 3646C4 E00623C4 460A2101 */ sub.s $f4, $f4, $f10
/* 3646C8 E00623C8 46002121 */ cvt.d.s $f4, $f4
/* 3646CC E00623CC 46342102 */ mul.d $f4, $f4, $f20
/* 3646D0 E00623D0 00000000 */ nop
/* 3646D4 E00623D4 C6060028 */ lwc1 $f6, 0x28($s0)
/* 3646D8 E00623D8 3C014120 */ lui $at, 0x4120
/* 3646DC E00623DC 44811000 */ mtc1 $at, $f2
/* 3646E0 E00623E0 00000000 */ nop
/* 3646E4 E00623E4 46061081 */ sub.s $f2, $f2, $f6
/* 3646E8 E00623E8 460010A1 */ cvt.d.s $f2, $f2
/* 3646EC E00623EC 46361082 */ mul.d $f2, $f2, $f22
/* 3646F0 E00623F0 00000000 */ nop
/* 3646F4 E00623F4 3C01E006 */ lui $at, %hi(D_E00628F8)
/* 3646F8 E00623F8 D42028F8 */ ldc1 $f0, %lo(D_E00628F8)($at)
/* 3646FC E00623FC 46201082 */ mul.d $f2, $f2, $f0
/* 364700 E0062400 00000000 */ nop
/* 364704 E0062404 46006321 */ cvt.d.s $f12, $f12
/* 364708 E0062408 46286300 */ add.d $f12, $f12, $f8
/* 36470C E006240C 460052A1 */ cvt.d.s $f10, $f10
/* 364710 E0062410 46245280 */ add.d $f10, $f10, $f4
/* 364714 E0062414 460031A1 */ cvt.d.s $f6, $f6
/* 364718 E0062418 46206320 */ cvt.s.d $f12, $f12
/* 36471C E006241C 462052A0 */ cvt.s.d $f10, $f10
/* 364720 E0062420 46223180 */ add.d $f6, $f6, $f2
/* 364724 E0062424 E60C0014 */ swc1 $f12, 0x14($s0)
/* 364728 E0062428 E60A0018 */ swc1 $f10, 0x18($s0)
/* 36472C E006242C 462031A0 */ cvt.s.d $f6, $f6
/* 364730 E0062430 E6060028 */ swc1 $f6, 0x28($s0)
.LE0062434:
/* 364734 E0062434 C60C0024 */ lwc1 $f12, 0x24($s0)
/* 364738 E0062438 0C080144 */ jal func_E0200510
/* 36473C E006243C 46186300 */ add.s $f12, $f12, $f24
/* 364740 E0062440 C6020028 */ lwc1 $f2, 0x28($s0)
/* 364744 E0062444 46020002 */ mul.s $f0, $f0, $f2
/* 364748 E0062448 00000000 */ nop
/* 36474C E006244C C60C0024 */ lwc1 $f12, 0x24($s0)
/* 364750 E0062450 46186300 */ add.s $f12, $f12, $f24
/* 364754 E0062454 0C080140 */ jal func_E0200500
/* 364758 E0062458 E600FFFC */ swc1 $f0, -4($s0)
/* 36475C E006245C C6020028 */ lwc1 $f2, 0x28($s0)
/* 364760 E0062460 46020002 */ mul.s $f0, $f0, $f2
/* 364764 E0062464 00000000 */ nop
/* 364768 E0062468 26310001 */ addiu $s1, $s1, 1
/* 36476C E006246C E6000000 */ swc1 $f0, ($s0)
/* 364770 E0062470 8E620008 */ lw $v0, 8($s3)
/* 364774 E0062474 0222102A */ slt $v0, $s1, $v0
/* 364778 E0062478 1440FF97 */ bnez $v0, .LE00622D8
/* 36477C E006247C 26100040 */ addiu $s0, $s0, 0x40
.LE0062480:
/* 364780 E0062480 8FBF0020 */ lw $ra, 0x20($sp)
/* 364784 E0062484 8FB3001C */ lw $s3, 0x1c($sp)
/* 364788 E0062488 8FB20018 */ lw $s2, 0x18($sp)
/* 36478C E006248C 8FB10014 */ lw $s1, 0x14($sp)
/* 364790 E0062490 8FB00010 */ lw $s0, 0x10($sp)
/* 364794 E0062494 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 364798 E0062498 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 36479C E006249C D7B40028 */ ldc1 $f20, 0x28($sp)
/* 3647A0 E00624A0 03E00008 */ jr $ra
/* 3647A4 E00624A4 27BD0040 */ addiu $sp, $sp, 0x40

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00624A8
/* 3647A8 E00624A8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3647AC E00624AC 3C02E006 */ lui $v0, %hi(D_E00624EC)
/* 3647B0 E00624B0 244224EC */ addiu $v0, $v0, %lo(D_E00624EC)
/* 3647B4 E00624B4 AFA2001C */ sw $v0, 0x1c($sp)
/* 3647B8 E00624B8 24020028 */ addiu $v0, $zero, 0x28
/* 3647BC E00624BC AFA40018 */ sw $a0, 0x18($sp)
/* 3647C0 E00624C0 27A40010 */ addiu $a0, $sp, 0x10
/* 3647C4 E00624C4 AFBF0020 */ sw $ra, 0x20($sp)
/* 3647C8 E00624C8 AFA00014 */ sw $zero, 0x14($sp)
/* 3647CC E00624CC 0C080120 */ jal func_E0200480
/* 3647D0 E00624D0 AFA20010 */ sw $v0, 0x10($sp)
/* 3647D4 E00624D4 8C430000 */ lw $v1, ($v0)
/* 3647D8 E00624D8 34630002 */ ori $v1, $v1, 2
/* 3647DC E00624DC AC430000 */ sw $v1, ($v0)
/* 3647E0 E00624E0 8FBF0020 */ lw $ra, 0x20($sp)
/* 3647E4 E00624E4 03E00008 */ jr $ra
/* 3647E8 E00624E8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,251 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00624EC
/* 3647EC E00624EC 27BDFEE0 */ addiu $sp, $sp, -0x120
/* 3647F0 E00624F0 AFBE0100 */ sw $fp, 0x100($sp)
/* 3647F4 E00624F4 0080F02D */ daddu $fp, $a0, $zero
/* 3647F8 E00624F8 3C07DB06 */ lui $a3, 0xdb06
/* 3647FC E00624FC 34E70024 */ ori $a3, $a3, 0x24
/* 364800 E0062500 27A40018 */ addiu $a0, $sp, 0x18
/* 364804 E0062504 AFB100E4 */ sw $s1, 0xe4($sp)
/* 364808 E0062508 3C110001 */ lui $s1, 1
/* 36480C E006250C 36311630 */ ori $s1, $s1, 0x1630
/* 364810 E0062510 AFB300EC */ sw $s3, 0xec($sp)
/* 364814 E0062514 3C13800A */ lui $s3, %hi(D_8009A66C)
/* 364818 E0062518 2673A66C */ addiu $s3, $s3, %lo(D_8009A66C)
/* 36481C E006251C AFBF0104 */ sw $ra, 0x104($sp)
/* 364820 E0062520 AFB700FC */ sw $s7, 0xfc($sp)
/* 364824 E0062524 AFB600F8 */ sw $s6, 0xf8($sp)
/* 364828 E0062528 AFB500F4 */ sw $s5, 0xf4($sp)
/* 36482C E006252C AFB400F0 */ sw $s4, 0xf0($sp)
/* 364830 E0062530 AFB200E8 */ sw $s2, 0xe8($sp)
/* 364834 E0062534 AFB000E0 */ sw $s0, 0xe0($sp)
/* 364838 E0062538 F7B80118 */ sdc1 $f24, 0x118($sp)
/* 36483C E006253C F7B60110 */ sdc1 $f22, 0x110($sp)
/* 364840 E0062540 F7B40108 */ sdc1 $f20, 0x108($sp)
/* 364844 E0062544 8E630000 */ lw $v1, ($s3)
/* 364848 E0062548 8FD2000C */ lw $s2, 0xc($fp)
/* 36484C E006254C 0060282D */ daddu $a1, $v1, $zero
/* 364850 E0062550 24630008 */ addiu $v1, $v1, 8
/* 364854 E0062554 AE630000 */ sw $v1, ($s3)
/* 364858 E0062558 3C08E006 */ lui $t0, %hi(D_E00628C0)
/* 36485C E006255C 8D0828C0 */ lw $t0, %lo(D_E00628C0)($t0)
/* 364860 E0062560 3C06E006 */ lui $a2, %hi(D_E00628C4)
/* 364864 E0062564 8CC628C4 */ lw $a2, %lo(D_E00628C4)($a2)
/* 364868 E0062568 3C02E700 */ lui $v0, 0xe700
/* 36486C E006256C AFA800D8 */ sw $t0, 0xd8($sp)
/* 364870 E0062570 ACA20000 */ sw $v0, ($a1)
/* 364874 E0062574 ACA00004 */ sw $zero, 4($a1)
/* 364878 E0062578 AC670000 */ sw $a3, ($v1)
/* 36487C E006257C 8FC50010 */ lw $a1, 0x10($fp)
/* 364880 E0062580 24620008 */ addiu $v0, $v1, 8
/* 364884 E0062584 AE620000 */ sw $v0, ($s3)
/* 364888 E0062588 8CA5001C */ lw $a1, 0x1c($a1)
/* 36488C E006258C 3C02DE00 */ lui $v0, 0xde00
/* 364890 E0062590 AC620008 */ sw $v0, 8($v1)
/* 364894 E0062594 3C028000 */ lui $v0, 0x8000
/* 364898 E0062598 AC66000C */ sw $a2, 0xc($v1)
/* 36489C E006259C 00A22821 */ addu $a1, $a1, $v0
/* 3648A0 E00625A0 AC650004 */ sw $a1, 4($v1)
/* 3648A4 E00625A4 8E450004 */ lw $a1, 4($s2)
/* 3648A8 E00625A8 8E460008 */ lw $a2, 8($s2)
/* 3648AC E00625AC 8E47000C */ lw $a3, 0xc($s2)
/* 3648B0 E00625B0 24630010 */ addiu $v1, $v1, 0x10
/* 3648B4 E00625B4 0C080108 */ jal func_E0200420
/* 3648B8 E00625B8 AE630000 */ sw $v1, ($s3)
/* 3648BC E00625BC 27B50058 */ addiu $s5, $sp, 0x58
/* 3648C0 E00625C0 4480A000 */ mtc1 $zero, $f20
/* 3648C4 E00625C4 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3648C8 E00625C8 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 3648CC E00625CC 3C013F80 */ lui $at, 0x3f80
/* 3648D0 E00625D0 4481C000 */ mtc1 $at, $f24
/* 3648D4 E00625D4 00031080 */ sll $v0, $v1, 2
/* 3648D8 E00625D8 00431021 */ addu $v0, $v0, $v1
/* 3648DC E00625DC 00021080 */ sll $v0, $v0, 2
/* 3648E0 E00625E0 00431023 */ subu $v0, $v0, $v1
/* 3648E4 E00625E4 000218C0 */ sll $v1, $v0, 3
/* 3648E8 E00625E8 00431021 */ addu $v0, $v0, $v1
/* 3648EC E00625EC 000210C0 */ sll $v0, $v0, 3
/* 3648F0 E00625F0 4406A000 */ mfc1 $a2, $f20
/* 3648F4 E00625F4 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 3648F8 E00625F8 00220821 */ addu $at, $at, $v0
/* 3648FC E00625FC C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 364900 E0062600 4407C000 */ mfc1 $a3, $f24
/* 364904 E0062604 46000007 */ neg.s $f0, $f0
/* 364908 E0062608 44050000 */ mfc1 $a1, $f0
/* 36490C E006260C 02A0202D */ daddu $a0, $s5, $zero
/* 364910 E0062610 0C080104 */ jal func_E0200410
/* 364914 E0062614 E7B40010 */ swc1 $f20, 0x10($sp)
/* 364918 E0062618 02A0202D */ daddu $a0, $s5, $zero
/* 36491C E006261C 27A50018 */ addiu $a1, $sp, 0x18
/* 364920 E0062620 27B00098 */ addiu $s0, $sp, 0x98
/* 364924 E0062624 0C080114 */ jal func_E0200450
/* 364928 E0062628 0200302D */ daddu $a2, $s0, $zero
/* 36492C E006262C 0200202D */ daddu $a0, $s0, $zero
/* 364930 E0062630 3C108007 */ lui $s0, %hi(D_800741F0)
/* 364934 E0062634 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 364938 E0062638 3C16800A */ lui $s6, %hi(D_8009A674)
/* 36493C E006263C 26D6A674 */ addiu $s6, $s6, %lo(D_8009A674)
/* 364940 E0062640 96050000 */ lhu $a1, ($s0)
/* 364944 E0062644 8EC20000 */ lw $v0, ($s6)
/* 364948 E0062648 00052980 */ sll $a1, $a1, 6
/* 36494C E006264C 00B12821 */ addu $a1, $a1, $s1
/* 364950 E0062650 0C080118 */ jal func_E0200460
/* 364954 E0062654 00452821 */ addu $a1, $v0, $a1
/* 364958 E0062658 8E660000 */ lw $a2, ($s3)
/* 36495C E006265C 24140001 */ addiu $s4, $zero, 1
/* 364960 E0062660 00C0202D */ daddu $a0, $a2, $zero
/* 364964 E0062664 24C60008 */ addiu $a2, $a2, 8
/* 364968 E0062668 AE660000 */ sw $a2, ($s3)
/* 36496C E006266C 96020000 */ lhu $v0, ($s0)
/* 364970 E0062670 3C03DA38 */ lui $v1, 0xda38
/* 364974 E0062674 AC830000 */ sw $v1, ($a0)
/* 364978 E0062678 00541821 */ addu $v1, $v0, $s4
/* 36497C E006267C 3042FFFF */ andi $v0, $v0, 0xffff
/* 364980 E0062680 00021180 */ sll $v0, $v0, 6
/* 364984 E0062684 A6030000 */ sh $v1, ($s0)
/* 364988 E0062688 8EC30000 */ lw $v1, ($s6)
/* 36498C E006268C 00511021 */ addu $v0, $v0, $s1
/* 364990 E0062690 00621821 */ addu $v1, $v1, $v0
/* 364994 E0062694 24C20008 */ addiu $v0, $a2, 8
/* 364998 E0062698 AC830004 */ sw $v1, 4($a0)
/* 36499C E006269C AE620000 */ sw $v0, ($s3)
/* 3649A0 E00626A0 3C02FA00 */ lui $v0, 0xfa00
/* 3649A4 E00626A4 ACC20000 */ sw $v0, ($a2)
/* 3649A8 E00626A8 92420038 */ lbu $v0, 0x38($s2)
/* 3649AC E00626AC 92440039 */ lbu $a0, 0x39($s2)
/* 3649B0 E00626B0 9245003A */ lbu $a1, 0x3a($s2)
/* 3649B4 E00626B4 92470037 */ lbu $a3, 0x37($s2)
/* 3649B8 E00626B8 24C30010 */ addiu $v1, $a2, 0x10
/* 3649BC E00626BC AE630000 */ sw $v1, ($s3)
/* 3649C0 E00626C0 3C03FB00 */ lui $v1, 0xfb00
/* 3649C4 E00626C4 ACC30008 */ sw $v1, 8($a2)
/* 3649C8 E00626C8 00021600 */ sll $v0, $v0, 0x18
/* 3649CC E00626CC 00042400 */ sll $a0, $a0, 0x10
/* 3649D0 E00626D0 00441025 */ or $v0, $v0, $a0
/* 3649D4 E00626D4 00052A00 */ sll $a1, $a1, 8
/* 3649D8 E00626D8 00451025 */ or $v0, $v0, $a1
/* 3649DC E00626DC 00471025 */ or $v0, $v0, $a3
/* 3649E0 E00626E0 ACC20004 */ sw $v0, 4($a2)
/* 3649E4 E00626E4 9242003B */ lbu $v0, 0x3b($s2)
/* 3649E8 E00626E8 9244003C */ lbu $a0, 0x3c($s2)
/* 3649EC E00626EC 9243003D */ lbu $v1, 0x3d($s2)
/* 3649F0 E00626F0 00021600 */ sll $v0, $v0, 0x18
/* 3649F4 E00626F4 00042400 */ sll $a0, $a0, 0x10
/* 3649F8 E00626F8 00441025 */ or $v0, $v0, $a0
/* 3649FC E00626FC 00031A00 */ sll $v1, $v1, 8
/* 364A00 E0062700 00431025 */ or $v0, $v0, $v1
/* 364A04 E0062704 ACC2000C */ sw $v0, 0xc($a2)
/* 364A08 E0062708 8FC20008 */ lw $v0, 8($fp)
/* 364A0C E006270C 0282102A */ slt $v0, $s4, $v0
/* 364A10 E0062710 10400049 */ beqz $v0, .LE0062838
/* 364A14 E0062714 26520040 */ addiu $s2, $s2, 0x40
/* 364A18 E0062718 02A0882D */ daddu $s1, $s5, $zero
/* 364A1C E006271C 4600A586 */ mov.s $f22, $f20
/* 364A20 E0062720 4600C506 */ mov.s $f20, $f24
/* 364A24 E0062724 02C0B82D */ daddu $s7, $s6, $zero
/* 364A28 E0062728 0200B02D */ daddu $s6, $s0, $zero
/* 364A2C E006272C 3C150001 */ lui $s5, 1
/* 364A30 E0062730 36B51630 */ ori $s5, $s5, 0x1630
/* 364A34 E0062734 2650001C */ addiu $s0, $s2, 0x1c
.LE0062738:
/* 364A38 E0062738 27A40018 */ addiu $a0, $sp, 0x18
/* 364A3C E006273C 8E05FFE8 */ lw $a1, -0x18($s0)
/* 364A40 E0062740 8E06FFEC */ lw $a2, -0x14($s0)
/* 364A44 E0062744 8E07FFF0 */ lw $a3, -0x10($s0)
/* 364A48 E0062748 0C080108 */ jal func_E0200420
/* 364A4C E006274C 26940001 */ addiu $s4, $s4, 1
/* 364A50 E0062750 E7B40010 */ swc1 $f20, 0x10($sp)
/* 364A54 E0062754 8E050010 */ lw $a1, 0x10($s0)
/* 364A58 E0062758 4406B000 */ mfc1 $a2, $f22
/* 364A5C E006275C 4407B000 */ mfc1 $a3, $f22
/* 364A60 E0062760 0C080104 */ jal func_E0200410
/* 364A64 E0062764 0220202D */ daddu $a0, $s1, $zero
/* 364A68 E0062768 0220202D */ daddu $a0, $s1, $zero
/* 364A6C E006276C 27A50018 */ addiu $a1, $sp, 0x18
/* 364A70 E0062770 0C080114 */ jal func_E0200450
/* 364A74 E0062774 00A0302D */ daddu $a2, $a1, $zero
/* 364A78 E0062778 0220202D */ daddu $a0, $s1, $zero
/* 364A7C E006277C 8E050004 */ lw $a1, 4($s0)
/* 364A80 E0062780 8E060000 */ lw $a2, ($s0)
/* 364A84 E0062784 4407A000 */ mfc1 $a3, $f20
/* 364A88 E0062788 0C080110 */ jal func_E0200440
/* 364A8C E006278C 26100040 */ addiu $s0, $s0, 0x40
/* 364A90 E0062790 0220202D */ daddu $a0, $s1, $zero
/* 364A94 E0062794 27A50018 */ addiu $a1, $sp, 0x18
/* 364A98 E0062798 0C080114 */ jal func_E0200450
/* 364A9C E006279C 00A0302D */ daddu $a2, $a1, $zero
/* 364AA0 E00627A0 27A40018 */ addiu $a0, $sp, 0x18
/* 364AA4 E00627A4 96C50000 */ lhu $a1, ($s6)
/* 364AA8 E00627A8 8EE20000 */ lw $v0, ($s7)
/* 364AAC E00627AC 00052980 */ sll $a1, $a1, 6
/* 364AB0 E00627B0 00B52821 */ addu $a1, $a1, $s5
/* 364AB4 E00627B4 0C080118 */ jal func_E0200460
/* 364AB8 E00627B8 00452821 */ addu $a1, $v0, $a1
/* 364ABC E00627BC 3C06D838 */ lui $a2, 0xd838
/* 364AC0 E00627C0 8E640000 */ lw $a0, ($s3)
/* 364AC4 E00627C4 34C60002 */ ori $a2, $a2, 2
/* 364AC8 E00627C8 0080282D */ daddu $a1, $a0, $zero
/* 364ACC E00627CC 24840008 */ addiu $a0, $a0, 8
/* 364AD0 E00627D0 AE640000 */ sw $a0, ($s3)
/* 364AD4 E00627D4 96C20000 */ lhu $v0, ($s6)
/* 364AD8 E00627D8 3C03DA38 */ lui $v1, 0xda38
/* 364ADC E00627DC ACA30000 */ sw $v1, ($a1)
/* 364AE0 E00627E0 24430001 */ addiu $v1, $v0, 1
/* 364AE4 E00627E4 3042FFFF */ andi $v0, $v0, 0xffff
/* 364AE8 E00627E8 00021180 */ sll $v0, $v0, 6
/* 364AEC E00627EC A6C30000 */ sh $v1, ($s6)
/* 364AF0 E00627F0 8EE30000 */ lw $v1, ($s7)
/* 364AF4 E00627F4 00551021 */ addu $v0, $v0, $s5
/* 364AF8 E00627F8 00621821 */ addu $v1, $v1, $v0
/* 364AFC E00627FC 24820008 */ addiu $v0, $a0, 8
/* 364B00 E0062800 ACA30004 */ sw $v1, 4($a1)
/* 364B04 E0062804 AE620000 */ sw $v0, ($s3)
/* 364B08 E0062808 3C02DE00 */ lui $v0, 0xde00
/* 364B0C E006280C AC820000 */ sw $v0, ($a0)
/* 364B10 E0062810 8FA800D8 */ lw $t0, 0xd8($sp)
/* 364B14 E0062814 24020040 */ addiu $v0, $zero, 0x40
/* 364B18 E0062818 AC860008 */ sw $a2, 8($a0)
/* 364B1C E006281C AC82000C */ sw $v0, 0xc($a0)
/* 364B20 E0062820 AC880004 */ sw $t0, 4($a0)
/* 364B24 E0062824 8FC20008 */ lw $v0, 8($fp)
/* 364B28 E0062828 24840010 */ addiu $a0, $a0, 0x10
/* 364B2C E006282C 0282102A */ slt $v0, $s4, $v0
/* 364B30 E0062830 1440FFC1 */ bnez $v0, .LE0062738
/* 364B34 E0062834 AE640000 */ sw $a0, ($s3)
.LE0062838:
/* 364B38 E0062838 3C03D838 */ lui $v1, 0xd838
/* 364B3C E006283C 3C04800A */ lui $a0, %hi(D_8009A66C)
/* 364B40 E0062840 2484A66C */ addiu $a0, $a0, %lo(D_8009A66C)
/* 364B44 E0062844 8C820000 */ lw $v0, ($a0)
/* 364B48 E0062848 34630002 */ ori $v1, $v1, 2
/* 364B4C E006284C 0040282D */ daddu $a1, $v0, $zero
/* 364B50 E0062850 24420008 */ addiu $v0, $v0, 8
/* 364B54 E0062854 AC820000 */ sw $v0, ($a0)
/* 364B58 E0062858 ACA30000 */ sw $v1, ($a1)
/* 364B5C E006285C 24030040 */ addiu $v1, $zero, 0x40
/* 364B60 E0062860 ACA30004 */ sw $v1, 4($a1)
/* 364B64 E0062864 24430008 */ addiu $v1, $v0, 8
/* 364B68 E0062868 AC830000 */ sw $v1, ($a0)
/* 364B6C E006286C 3C03E700 */ lui $v1, 0xe700
/* 364B70 E0062870 AC430000 */ sw $v1, ($v0)
/* 364B74 E0062874 AC400004 */ sw $zero, 4($v0)
/* 364B78 E0062878 8FBF0104 */ lw $ra, 0x104($sp)
/* 364B7C E006287C 8FBE0100 */ lw $fp, 0x100($sp)
/* 364B80 E0062880 8FB700FC */ lw $s7, 0xfc($sp)
/* 364B84 E0062884 8FB600F8 */ lw $s6, 0xf8($sp)
/* 364B88 E0062888 8FB500F4 */ lw $s5, 0xf4($sp)
/* 364B8C E006288C 8FB400F0 */ lw $s4, 0xf0($sp)
/* 364B90 E0062890 8FB300EC */ lw $s3, 0xec($sp)
/* 364B94 E0062894 8FB200E8 */ lw $s2, 0xe8($sp)
/* 364B98 E0062898 8FB100E4 */ lw $s1, 0xe4($sp)
/* 364B9C E006289C 8FB000E0 */ lw $s0, 0xe0($sp)
/* 364BA0 E00628A0 D7B80118 */ ldc1 $f24, 0x118($sp)
/* 364BA4 E00628A4 D7B60110 */ ldc1 $f22, 0x110($sp)
/* 364BA8 E00628A8 D7B40108 */ ldc1 $f20, 0x108($sp)
/* 364BAC E00628AC 03E00008 */ jr $ra
/* 364BB0 E00628B0 27BD0120 */ addiu $sp, $sp, 0x120
/* 364BB4 E00628B4 00000000 */ nop
/* 364BB8 E00628B8 00000000 */ nop
/* 364BBC E00628BC 00000000 */ nop

View File

@ -0,0 +1,112 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0064000
/* 364F10 E0064000 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 364F14 E0064004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 364F18 E0064008 4485A000 */ mtc1 $a1, $f20
/* 364F1C E006400C F7B60048 */ sdc1 $f22, 0x48($sp)
/* 364F20 E0064010 4486B000 */ mtc1 $a2, $f22
/* 364F24 E0064014 F7B80050 */ sdc1 $f24, 0x50($sp)
/* 364F28 E0064018 4487C000 */ mtc1 $a3, $f24
/* 364F2C E006401C AFB30034 */ sw $s3, 0x34($sp)
/* 364F30 E0064020 0080982D */ daddu $s3, $a0, $zero
/* 364F34 E0064024 AFB1002C */ sw $s1, 0x2c($sp)
/* 364F38 E0064028 24110001 */ addiu $s1, $zero, 1
/* 364F3C E006402C F7BA0058 */ sdc1 $f26, 0x58($sp)
/* 364F40 E0064030 C7BA0070 */ lwc1 $f26, 0x70($sp)
/* 364F44 E0064034 27A40010 */ addiu $a0, $sp, 0x10
/* 364F48 E0064038 AFBF0038 */ sw $ra, 0x38($sp)
/* 364F4C E006403C AFB20030 */ sw $s2, 0x30($sp)
/* 364F50 E0064040 16600002 */ bnez $s3, .LE006404C
/* 364F54 E0064044 AFB00028 */ sw $s0, 0x28($sp)
/* 364F58 E0064048 24110004 */ addiu $s1, $zero, 4
.LE006404C:
/* 364F5C E006404C 26310001 */ addiu $s1, $s1, 1
/* 364F60 E0064050 3C02E006 */ lui $v0, %hi(D_E006419C)
/* 364F64 E0064054 2442419C */ addiu $v0, $v0, %lo(D_E006419C)
/* 364F68 E0064058 AFA00010 */ sw $zero, 0x10($sp)
/* 364F6C E006405C AC820008 */ sw $v0, 8($a0)
/* 364F70 E0064060 3C02E006 */ lui $v0, %hi(D_E00641A4)
/* 364F74 E0064064 244241A4 */ addiu $v0, $v0, %lo(D_E00641A4)
/* 364F78 E0064068 AC82000C */ sw $v0, 0xc($a0)
/* 364F7C E006406C 3C02E006 */ lui $v0, %hi(D_E00643DC)
/* 364F80 E0064070 244243DC */ addiu $v0, $v0, %lo(D_E00643DC)
/* 364F84 E0064074 AC820010 */ sw $v0, 0x10($a0)
/* 364F88 E0064078 24020032 */ addiu $v0, $zero, 0x32
/* 364F8C E006407C AC800014 */ sw $zero, 0x14($a0)
/* 364F90 E0064080 0C080124 */ jal func_E0200490
/* 364F94 E0064084 AC820004 */ sw $v0, 4($a0)
/* 364F98 E0064088 00112040 */ sll $a0, $s1, 1
/* 364F9C E006408C 00912021 */ addu $a0, $a0, $s1
/* 364FA0 E0064090 00042080 */ sll $a0, $a0, 2
/* 364FA4 E0064094 00912023 */ subu $a0, $a0, $s1
/* 364FA8 E0064098 000420C0 */ sll $a0, $a0, 3
/* 364FAC E006409C 0040902D */ daddu $s2, $v0, $zero
/* 364FB0 E00640A0 0C08012C */ jal func_E02004B0
/* 364FB4 E00640A4 AE510008 */ sw $s1, 8($s2)
/* 364FB8 E00640A8 0040802D */ daddu $s0, $v0, $zero
/* 364FBC E00640AC 16000003 */ bnez $s0, .LE00640BC
/* 364FC0 E00640B0 AE50000C */ sw $s0, 0xc($s2)
.LE00640B4:
/* 364FC4 E00640B4 0801902D */ j .LE00640B4
/* 364FC8 E00640B8 00000000 */ nop
.LE00640BC:
/* 364FCC E00640BC 0200202D */ daddu $a0, $s0, $zero
/* 364FD0 E00640C0 00112840 */ sll $a1, $s1, 1
/* 364FD4 E00640C4 00B12821 */ addu $a1, $a1, $s1
/* 364FD8 E00640C8 00052880 */ sll $a1, $a1, 2
/* 364FDC E00640CC 00B12823 */ subu $a1, $a1, $s1
/* 364FE0 E00640D0 0C080130 */ jal func_E02004C0
/* 364FE4 E00640D4 000528C0 */ sll $a1, $a1, 3
/* 364FE8 E00640D8 2402003C */ addiu $v0, $zero, 0x3c
/* 364FEC E00640DC 240300FF */ addiu $v1, $zero, 0xff
/* 364FF0 E00640E0 AE020028 */ sw $v0, 0x28($s0)
/* 364FF4 E00640E4 2402007A */ addiu $v0, $zero, 0x7a
/* 364FF8 E00640E8 A2020052 */ sb $v0, 0x52($s0)
/* 364FFC E00640EC 240200F0 */ addiu $v0, $zero, 0xf0
/* 365000 E00640F0 A2020053 */ sb $v0, 0x53($s0)
/* 365004 E00640F4 240200FA */ addiu $v0, $zero, 0xfa
/* 365008 E00640F8 AE00002C */ sw $zero, 0x2c($s0)
/* 36500C E00640FC A6130000 */ sh $s3, ($s0)
/* 365010 E0064100 E6140004 */ swc1 $f20, 4($s0)
/* 365014 E0064104 E6160008 */ swc1 $f22, 8($s0)
/* 365018 E0064108 E618000C */ swc1 $f24, 0xc($s0)
/* 36501C E006410C AE030038 */ sw $v1, 0x38($s0)
/* 365020 E0064110 A2000050 */ sb $zero, 0x50($s0)
/* 365024 E0064114 A2030051 */ sb $v1, 0x51($s0)
/* 365028 E0064118 A2030054 */ sb $v1, 0x54($s0)
/* 36502C E006411C A2020055 */ sb $v0, 0x55($s0)
/* 365030 E0064120 24030001 */ addiu $v1, $zero, 1
/* 365034 E0064124 0071102A */ slt $v0, $v1, $s1
/* 365038 E0064128 10400010 */ beqz $v0, .LE006416C
/* 36503C E006412C 26100058 */ addiu $s0, $s0, 0x58
/* 365040 E0064130 26040030 */ addiu $a0, $s0, 0x30
/* 365044 E0064134 2406001E */ addiu $a2, $zero, 0x1e
/* 365048 E0064138 2405FFFF */ addiu $a1, $zero, -1
.LE006413C:
/* 36504C E006413C 44860000 */ mtc1 $a2, $f0
/* 365050 E0064140 00000000 */ nop
/* 365054 E0064144 46800020 */ cvt.s.w $f0, $f0
/* 365058 E0064148 24C6001E */ addiu $a2, $a2, 0x1e
/* 36505C E006414C AC85001C */ sw $a1, 0x1c($a0)
/* 365060 E0064150 24A5FFFC */ addiu $a1, $a1, -4
/* 365064 E0064154 24630001 */ addiu $v1, $v1, 1
/* 365068 E0064158 E49A0004 */ swc1 $f26, 4($a0)
/* 36506C E006415C E4800000 */ swc1 $f0, ($a0)
/* 365070 E0064160 0071102A */ slt $v0, $v1, $s1
/* 365074 E0064164 1440FFF5 */ bnez $v0, .LE006413C
/* 365078 E0064168 24840058 */ addiu $a0, $a0, 0x58
.LE006416C:
/* 36507C E006416C 0240102D */ daddu $v0, $s2, $zero
/* 365080 E0064170 8FBF0038 */ lw $ra, 0x38($sp)
/* 365084 E0064174 8FB30034 */ lw $s3, 0x34($sp)
/* 365088 E0064178 8FB20030 */ lw $s2, 0x30($sp)
/* 36508C E006417C 8FB1002C */ lw $s1, 0x2c($sp)
/* 365090 E0064180 8FB00028 */ lw $s0, 0x28($sp)
/* 365094 E0064184 D7BA0058 */ ldc1 $f26, 0x58($sp)
/* 365098 E0064188 D7B80050 */ ldc1 $f24, 0x50($sp)
/* 36509C E006418C D7B60048 */ ldc1 $f22, 0x48($sp)
/* 3650A0 E0064190 D7B40040 */ ldc1 $f20, 0x40($sp)
/* 3650A4 E0064194 03E00008 */ jr $ra
/* 3650A8 E0064198 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E006419C
/* 3650AC E006419C 03E00008 */ jr $ra
/* 3650B0 E00641A0 00000000 */ nop

View File

@ -0,0 +1,152 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00641A4
/* 3650B4 E00641A4 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 3650B8 E00641A8 AFB20018 */ sw $s2, 0x18($sp)
/* 3650BC E00641AC 0080902D */ daddu $s2, $a0, $zero
/* 3650C0 E00641B0 AFBF001C */ sw $ra, 0x1c($sp)
/* 3650C4 E00641B4 AFB10014 */ sw $s1, 0x14($sp)
/* 3650C8 E00641B8 AFB00010 */ sw $s0, 0x10($sp)
/* 3650CC E00641BC F7BC0040 */ sdc1 $f28, 0x40($sp)
/* 3650D0 E00641C0 F7BA0038 */ sdc1 $f26, 0x38($sp)
/* 3650D4 E00641C4 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 3650D8 E00641C8 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 3650DC E00641CC F7B40020 */ sdc1 $f20, 0x20($sp)
/* 3650E0 E00641D0 8E44000C */ lw $a0, 0xc($s2)
/* 3650E4 E00641D4 8C82002C */ lw $v0, 0x2c($a0)
/* 3650E8 E00641D8 8C830028 */ lw $v1, 0x28($a0)
/* 3650EC E00641DC 24420001 */ addiu $v0, $v0, 1
/* 3650F0 E00641E0 2463FFFF */ addiu $v1, $v1, -1
/* 3650F4 E00641E4 AC82002C */ sw $v0, 0x2c($a0)
/* 3650F8 E00641E8 04610005 */ bgez $v1, .LE0064200
/* 3650FC E00641EC AC830028 */ sw $v1, 0x28($a0)
/* 365100 E00641F0 0C080128 */ jal func_E02004A0
/* 365104 E00641F4 0240202D */ daddu $a0, $s2, $zero
/* 365108 E00641F8 080190EC */ j .LE00643B0
/* 36510C E00641FC 00000000 */ nop
.LE0064200:
/* 365110 E0064200 8C82002C */ lw $v0, 0x2c($a0)
/* 365114 E0064204 28420008 */ slti $v0, $v0, 8
/* 365118 E0064208 14400009 */ bnez $v0, .LE0064230
/* 36511C E006420C 00000000 */ nop
/* 365120 E0064210 3C01E006 */ lui $at, %hi(D_E0064A70)
/* 365124 E0064214 D4224A70 */ ldc1 $f2, %lo(D_E0064A70)($at)
/* 365128 E0064218 C4800038 */ lwc1 $f0, 0x38($a0)
/* 36512C E006421C 46800021 */ cvt.d.w $f0, $f0
/* 365130 E0064220 46220002 */ mul.d $f0, $f0, $f2
/* 365134 E0064224 00000000 */ nop
/* 365138 E0064228 4620038D */ trunc.w.d $f14, $f0
/* 36513C E006422C E48E0038 */ swc1 $f14, 0x38($a0)
.LE0064230:
/* 365140 E0064230 8E420008 */ lw $v0, 8($s2)
/* 365144 E0064234 24110001 */ addiu $s1, $zero, 1
/* 365148 E0064238 0222102A */ slt $v0, $s1, $v0
/* 36514C E006423C 1040005C */ beqz $v0, .LE00643B0
/* 365150 E0064240 24840058 */ addiu $a0, $a0, 0x58
/* 365154 E0064244 2490003C */ addiu $s0, $a0, 0x3c
/* 365158 E0064248 3C013FE0 */ lui $at, 0x3fe0
/* 36515C E006424C 4481C800 */ mtc1 $at, $f25
/* 365160 E0064250 4480C000 */ mtc1 $zero, $f24
/* 365164 E0064254 3C014200 */ lui $at, 0x4200
/* 365168 E0064258 4481B000 */ mtc1 $at, $f22
/* 36516C E006425C 3C013F00 */ lui $at, 0x3f00
/* 365170 E0064260 4481E000 */ mtc1 $at, $f28
/* 365174 E0064264 3C01E006 */ lui $at, %hi(D_E0064A78)
/* 365178 E0064268 D4344A78 */ ldc1 $f20, %lo(D_E0064A78)($at)
/* 36517C E006426C 3C014300 */ lui $at, 0x4300
/* 365180 E0064270 4481D000 */ mtc1 $at, $f26
.LE0064274:
/* 365184 E0064274 8E020010 */ lw $v0, 0x10($s0)
/* 365188 E0064278 24420001 */ addiu $v0, $v0, 1
/* 36518C E006427C 04400047 */ bltz $v0, .LE006439C
/* 365190 E0064280 AE020010 */ sw $v0, 0x10($s0)
/* 365194 E0064284 1440001D */ bnez $v0, .LE00642FC
/* 365198 E0064288 00000000 */ nop
/* 36519C E006428C C60CFFF8 */ lwc1 $f12, -8($s0)
/* 3651A0 E0064290 AE00FFC8 */ sw $zero, -0x38($s0)
/* 3651A4 E0064294 AE00FFCC */ sw $zero, -0x34($s0)
/* 3651A8 E0064298 0C080140 */ jal func_E0200500
/* 3651AC E006429C AE00FFD0 */ sw $zero, -0x30($s0)
/* 3651B0 E00642A0 46000007 */ neg.s $f0, $f0
/* 3651B4 E00642A4 46000021 */ cvt.d.s $f0, $f0
/* 3651B8 E00642A8 46380002 */ mul.d $f0, $f0, $f24
/* 3651BC E00642AC 00000000 */ nop
/* 3651C0 E00642B0 C60CFFF8 */ lwc1 $f12, -8($s0)
/* 3651C4 E00642B4 46200020 */ cvt.s.d $f0, $f0
/* 3651C8 E00642B8 0C080144 */ jal func_E0200510
/* 3651CC E00642BC E600FFD4 */ swc1 $f0, -0x2c($s0)
/* 3651D0 E00642C0 46000021 */ cvt.d.s $f0, $f0
/* 3651D4 E00642C4 3C014120 */ lui $at, 0x4120
/* 3651D8 E00642C8 44811000 */ mtc1 $at, $f2
/* 3651DC E00642CC 46380002 */ mul.d $f0, $f0, $f24
/* 3651E0 E00642D0 00000000 */ nop
/* 3651E4 E00642D4 AE00FFDC */ sw $zero, -0x24($s0)
/* 3651E8 E00642D8 E6160000 */ swc1 $f22, ($s0)
/* 3651EC E00642DC E6160004 */ swc1 $f22, 4($s0)
/* 3651F0 E00642E0 E616000C */ swc1 $f22, 0xc($s0)
/* 3651F4 E00642E4 E61CFFE0 */ swc1 $f28, -0x20($s0)
/* 3651F8 E00642E8 E61CFFE8 */ swc1 $f28, -0x18($s0)
/* 3651FC E00642EC E6160008 */ swc1 $f22, 8($s0)
/* 365200 E00642F0 E602FFE4 */ swc1 $f2, -0x1c($s0)
/* 365204 E00642F4 46200020 */ cvt.s.d $f0, $f0
/* 365208 E00642F8 E600FFD8 */ swc1 $f0, -0x28($s0)
.LE00642FC:
/* 36520C E00642FC C6060004 */ lwc1 $f6, 4($s0)
/* 365210 E0064300 3C01E006 */ lui $at, %hi(D_E0064A80)
/* 365214 E0064304 D4204A80 */ ldc1 $f0, %lo(D_E0064A80)($at)
/* 365218 E0064308 460031A1 */ cvt.d.s $f6, $f6
/* 36521C E006430C 46203182 */ mul.d $f6, $f6, $f0
/* 365220 E0064310 00000000 */ nop
/* 365224 E0064314 C604FFE4 */ lwc1 $f4, -0x1c($s0)
/* 365228 E0064318 3C01E006 */ lui $at, %hi(D_E0064A88)
/* 36522C E006431C D42A4A88 */ ldc1 $f10, %lo(D_E0064A88)($at)
/* 365230 E0064320 46002121 */ cvt.d.s $f4, $f4
/* 365234 E0064324 46245281 */ sub.d $f10, $f10, $f4
/* 365238 E0064328 46345282 */ mul.d $f10, $f10, $f20
/* 36523C E006432C 00000000 */ nop
/* 365240 E0064330 C6020004 */ lwc1 $f2, 4($s0)
/* 365244 E0064334 C6000000 */ lwc1 $f0, ($s0)
/* 365248 E0064338 46020000 */ add.s $f0, $f0, $f2
/* 36524C E006433C C602FFE0 */ lwc1 $f2, -0x20($s0)
/* 365250 E0064340 C6080008 */ lwc1 $f8, 8($s0)
/* 365254 E0064344 460010A1 */ cvt.d.s $f2, $f2
/* 365258 E0064348 46341080 */ add.d $f2, $f2, $f20
/* 36525C E006434C E6000000 */ swc1 $f0, ($s0)
/* 365260 E0064350 C600000C */ lwc1 $f0, 0xc($s0)
/* 365264 E0064354 46004200 */ add.s $f8, $f8, $f0
/* 365268 E0064358 C600FFE8 */ lwc1 $f0, -0x18($s0)
/* 36526C E006435C 462010A0 */ cvt.s.d $f2, $f2
/* 365270 E0064360 46000021 */ cvt.d.s $f0, $f0
/* 365274 E0064364 46340000 */ add.d $f0, $f0, $f20
/* 365278 E0064368 E602FFE0 */ swc1 $f2, -0x20($s0)
/* 36527C E006436C E6080008 */ swc1 $f8, 8($s0)
/* 365280 E0064370 46200020 */ cvt.s.d $f0, $f0
/* 365284 E0064374 E600FFE8 */ swc1 $f0, -0x18($s0)
/* 365288 E0064378 C6000000 */ lwc1 $f0, ($s0)
/* 36528C E006437C 462A2100 */ add.d $f4, $f4, $f10
/* 365290 E0064380 462031A0 */ cvt.s.d $f6, $f6
/* 365294 E0064384 E6060004 */ swc1 $f6, 4($s0)
/* 365298 E0064388 4600D03C */ c.lt.s $f26, $f0
/* 36529C E006438C 46202120 */ cvt.s.d $f4, $f4
/* 3652A0 E0064390 45000002 */ bc1f .LE006439C
/* 3652A4 E0064394 E604FFE4 */ swc1 $f4, -0x1c($s0)
/* 3652A8 E0064398 E61A0000 */ swc1 $f26, ($s0)
.LE006439C:
/* 3652AC E006439C 26310001 */ addiu $s1, $s1, 1
/* 3652B0 E00643A0 8E420008 */ lw $v0, 8($s2)
/* 3652B4 E00643A4 0222102A */ slt $v0, $s1, $v0
/* 3652B8 E00643A8 1440FFB2 */ bnez $v0, .LE0064274
/* 3652BC E00643AC 26100058 */ addiu $s0, $s0, 0x58
.LE00643B0:
/* 3652C0 E00643B0 8FBF001C */ lw $ra, 0x1c($sp)
/* 3652C4 E00643B4 8FB20018 */ lw $s2, 0x18($sp)
/* 3652C8 E00643B8 8FB10014 */ lw $s1, 0x14($sp)
/* 3652CC E00643BC 8FB00010 */ lw $s0, 0x10($sp)
/* 3652D0 E00643C0 D7BC0040 */ ldc1 $f28, 0x40($sp)
/* 3652D4 E00643C4 D7BA0038 */ ldc1 $f26, 0x38($sp)
/* 3652D8 E00643C8 D7B80030 */ ldc1 $f24, 0x30($sp)
/* 3652DC E00643CC D7B60028 */ ldc1 $f22, 0x28($sp)
/* 3652E0 E00643D0 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 3652E4 E00643D4 03E00008 */ jr $ra
/* 3652E8 E00643D8 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -0,0 +1,18 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00643DC
/* 3652EC E00643DC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3652F0 E00643E0 3C02E006 */ lui $v0, %hi(D_E0064414)
/* 3652F4 E00643E4 24424414 */ addiu $v0, $v0, %lo(D_E0064414)
/* 3652F8 E00643E8 AFA2001C */ sw $v0, 0x1c($sp)
/* 3652FC E00643EC 24020028 */ addiu $v0, $zero, 0x28
/* 365300 E00643F0 AFA40018 */ sw $a0, 0x18($sp)
/* 365304 E00643F4 27A40010 */ addiu $a0, $sp, 0x10
/* 365308 E00643F8 AFBF0020 */ sw $ra, 0x20($sp)
/* 36530C E00643FC AFA00014 */ sw $zero, 0x14($sp)
/* 365310 E0064400 0C080120 */ jal func_E0200480
/* 365314 E0064404 AFA20010 */ sw $v0, 0x10($sp)
/* 365318 E0064408 8FBF0020 */ lw $ra, 0x20($sp)
/* 36531C E006440C 03E00008 */ jr $ra
/* 365320 E0064410 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,410 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0064414
/* 365324 E0064414 27BDFEE8 */ addiu $sp, $sp, -0x118
/* 365328 E0064418 AFB300E4 */ sw $s3, 0xe4($sp)
/* 36532C E006441C 3C13800A */ lui $s3, %hi(D_8009A66C)
/* 365330 E0064420 2673A66C */ addiu $s3, $s3, %lo(D_8009A66C)
/* 365334 E0064424 AFBF00FC */ sw $ra, 0xfc($sp)
/* 365338 E0064428 AFBE00F8 */ sw $fp, 0xf8($sp)
/* 36533C E006442C AFB700F4 */ sw $s7, 0xf4($sp)
/* 365340 E0064430 AFB600F0 */ sw $s6, 0xf0($sp)
/* 365344 E0064434 AFB500EC */ sw $s5, 0xec($sp)
/* 365348 E0064438 AFB400E8 */ sw $s4, 0xe8($sp)
/* 36534C E006443C AFB200E0 */ sw $s2, 0xe0($sp)
/* 365350 E0064440 AFB100DC */ sw $s1, 0xdc($sp)
/* 365354 E0064444 AFB000D8 */ sw $s0, 0xd8($sp)
/* 365358 E0064448 F7B80110 */ sdc1 $f24, 0x110($sp)
/* 36535C E006444C F7B60108 */ sdc1 $f22, 0x108($sp)
/* 365360 E0064450 F7B40100 */ sdc1 $f20, 0x100($sp)
/* 365364 E0064454 AFA40118 */ sw $a0, 0x118($sp)
/* 365368 E0064458 8E680000 */ lw $t0, ($s3)
/* 36536C E006445C 8FAD0118 */ lw $t5, 0x118($sp)
/* 365370 E0064460 4480A000 */ mtc1 $zero, $f20
/* 365374 E0064464 3C013F80 */ lui $at, 0x3f80
/* 365378 E0064468 4481C000 */ mtc1 $at, $f24
/* 36537C E006446C 8DB1000C */ lw $s1, 0xc($t5)
/* 365380 E0064470 4405A000 */ mfc1 $a1, $f20
/* 365384 E0064474 96220000 */ lhu $v0, ($s1)
/* 365388 E0064478 922D0050 */ lbu $t5, 0x50($s1)
/* 36538C E006447C 00021080 */ sll $v0, $v0, 2
/* 365390 E0064480 3C09E006 */ lui $t1, %hi(D_E0064A60)
/* 365394 E0064484 01224821 */ addu $t1, $t1, $v0
/* 365398 E0064488 8D294A60 */ lw $t1, %lo(D_E0064A60)($t1)
/* 36539C E006448C 3C06DB06 */ lui $a2, 0xdb06
/* 3653A0 E0064490 AFAD00A4 */ sw $t5, 0xa4($sp)
/* 3653A4 E0064494 922D0051 */ lbu $t5, 0x51($s1)
/* 3653A8 E0064498 34C60024 */ ori $a2, $a2, 0x24
/* 3653AC E006449C AFAD00A8 */ sw $t5, 0xa8($sp)
/* 3653B0 E00644A0 922D0052 */ lbu $t5, 0x52($s1)
/* 3653B4 E00644A4 27A40020 */ addiu $a0, $sp, 0x20
/* 3653B8 E00644A8 AFAD00AC */ sw $t5, 0xac($sp)
/* 3653BC E00644AC 922D0053 */ lbu $t5, 0x53($s1)
/* 3653C0 E00644B0 0100182D */ daddu $v1, $t0, $zero
/* 3653C4 E00644B4 AFAD00B0 */ sw $t5, 0xb0($sp)
/* 3653C8 E00644B8 922D0054 */ lbu $t5, 0x54($s1)
/* 3653CC E00644BC 25080008 */ addiu $t0, $t0, 8
/* 3653D0 E00644C0 AFAD00B4 */ sw $t5, 0xb4($sp)
/* 3653D4 E00644C4 922D0055 */ lbu $t5, 0x55($s1)
/* 3653D8 E00644C8 3C02E700 */ lui $v0, 0xe700
/* 3653DC E00644CC AFAD00B8 */ sw $t5, 0xb8($sp)
/* 3653E0 E00644D0 AC620000 */ sw $v0, ($v1)
/* 3653E4 E00644D4 AC600004 */ sw $zero, 4($v1)
/* 3653E8 E00644D8 AD060000 */ sw $a2, ($t0)
/* 3653EC E00644DC 8FAD0118 */ lw $t5, 0x118($sp)
/* 3653F0 E00644E0 4407A000 */ mfc1 $a3, $f20
/* 3653F4 E00644E4 8DA20010 */ lw $v0, 0x10($t5)
/* 3653F8 E00644E8 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3653FC E00644EC 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 365400 E00644F0 8C46001C */ lw $a2, 0x1c($v0)
/* 365404 E00644F4 3C02DE00 */ lui $v0, 0xde00
/* 365408 E00644F8 AD020008 */ sw $v0, 8($t0)
/* 36540C E00644FC 3C028000 */ lui $v0, 0x8000
/* 365410 E0064500 AD09000C */ sw $t1, 0xc($t0)
/* 365414 E0064504 00C23021 */ addu $a2, $a2, $v0
/* 365418 E0064508 00031080 */ sll $v0, $v1, 2
/* 36541C E006450C 00431021 */ addu $v0, $v0, $v1
/* 365420 E0064510 00021080 */ sll $v0, $v0, 2
/* 365424 E0064514 00431023 */ subu $v0, $v0, $v1
/* 365428 E0064518 000218C0 */ sll $v1, $v0, 3
/* 36542C E006451C 00431021 */ addu $v0, $v0, $v1
/* 365430 E0064520 000210C0 */ sll $v0, $v0, 3
/* 365434 E0064524 AD060004 */ sw $a2, 4($t0)
/* 365438 E0064528 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 36543C E006452C 00220821 */ addu $at, $at, $v0
/* 365440 E0064530 C4221DEC */ lwc1 $f2, %lo(D_800B1DEC)($at)
/* 365444 E0064534 3C100001 */ lui $s0, 1
/* 365448 E0064538 AE680000 */ sw $t0, ($s3)
/* 36544C E006453C E7B80010 */ swc1 $f24, 0x10($sp)
/* 365450 E0064540 C6200004 */ lwc1 $f0, 4($s1)
/* 365454 E0064544 25020008 */ addiu $v0, $t0, 8
/* 365458 E0064548 AE620000 */ sw $v0, ($s3)
/* 36545C E006454C 46001087 */ neg.s $f2, $f2
/* 365460 E0064550 E7A00014 */ swc1 $f0, 0x14($sp)
/* 365464 E0064554 C6200008 */ lwc1 $f0, 8($s1)
/* 365468 E0064558 44061000 */ mfc1 $a2, $f2
/* 36546C E006455C 25080010 */ addiu $t0, $t0, 0x10
/* 365470 E0064560 AE680000 */ sw $t0, ($s3)
/* 365474 E0064564 E7A00018 */ swc1 $f0, 0x18($sp)
/* 365478 E0064568 C620000C */ lwc1 $f0, 0xc($s1)
/* 36547C E006456C 36101630 */ ori $s0, $s0, 0x1630
/* 365480 E0064570 0C080180 */ jal func_E0200600
/* 365484 E0064574 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 365488 E0064578 27A40020 */ addiu $a0, $sp, 0x20
/* 36548C E006457C 3C158007 */ lui $s5, %hi(D_800741F0)
/* 365490 E0064580 26B541F0 */ addiu $s5, $s5, %lo(D_800741F0)
/* 365494 E0064584 3C16800A */ lui $s6, %hi(D_8009A674)
/* 365498 E0064588 26D6A674 */ addiu $s6, $s6, %lo(D_8009A674)
/* 36549C E006458C 96A50000 */ lhu $a1, ($s5)
/* 3654A0 E0064590 8EC20000 */ lw $v0, ($s6)
/* 3654A4 E0064594 00052980 */ sll $a1, $a1, 6
/* 3654A8 E0064598 00B02821 */ addu $a1, $a1, $s0
/* 3654AC E006459C 0C080118 */ jal func_E0200460
/* 3654B0 E00645A0 00452821 */ addu $a1, $v0, $a1
/* 3654B4 E00645A4 24140001 */ addiu $s4, $zero, 1
/* 3654B8 E00645A8 3C02DA38 */ lui $v0, 0xda38
/* 3654BC E00645AC 8E650000 */ lw $a1, ($s3)
/* 3654C0 E00645B0 96A40000 */ lhu $a0, ($s5)
/* 3654C4 E00645B4 00A0302D */ daddu $a2, $a1, $zero
/* 3654C8 E00645B8 24A50008 */ addiu $a1, $a1, 8
/* 3654CC E00645BC ACC20000 */ sw $v0, ($a2)
/* 3654D0 E00645C0 3082FFFF */ andi $v0, $a0, 0xffff
/* 3654D4 E00645C4 00021180 */ sll $v0, $v0, 6
/* 3654D8 E00645C8 00501021 */ addu $v0, $v0, $s0
/* 3654DC E00645CC 00942021 */ addu $a0, $a0, $s4
/* 3654E0 E00645D0 8EC30000 */ lw $v1, ($s6)
/* 3654E4 E00645D4 00A0B82D */ daddu $s7, $a1, $zero
/* 3654E8 E00645D8 00621821 */ addu $v1, $v1, $v0
/* 3654EC E00645DC ACC30004 */ sw $v1, 4($a2)
/* 3654F0 E00645E0 8E2D0038 */ lw $t5, 0x38($s1)
/* 3654F4 E00645E4 26E30008 */ addiu $v1, $s7, 8
/* 3654F8 E00645E8 AFAD00A0 */ sw $t5, 0xa0($sp)
/* 3654FC E00645EC AE650000 */ sw $a1, ($s3)
/* 365500 E00645F0 A6A40000 */ sh $a0, ($s5)
/* 365504 E00645F4 AE630000 */ sw $v1, ($s3)
/* 365508 E00645F8 8FAD00A4 */ lw $t5, 0xa4($sp)
/* 36550C E00645FC AFAD00BC */ sw $t5, 0xbc($sp)
/* 365510 E0064600 8FAD00A8 */ lw $t5, 0xa8($sp)
/* 365514 E0064604 AFAD00C0 */ sw $t5, 0xc0($sp)
/* 365518 E0064608 8FAD00AC */ lw $t5, 0xac($sp)
/* 36551C E006460C AFAD00C4 */ sw $t5, 0xc4($sp)
/* 365520 E0064610 8FAD00B0 */ lw $t5, 0xb0($sp)
/* 365524 E0064614 AFAD00C8 */ sw $t5, 0xc8($sp)
/* 365528 E0064618 8FAD00B4 */ lw $t5, 0xb4($sp)
/* 36552C E006461C AFAD00CC */ sw $t5, 0xcc($sp)
/* 365530 E0064620 8FAD00B8 */ lw $t5, 0xb8($sp)
/* 365534 E0064624 AFAD00D0 */ sw $t5, 0xd0($sp)
/* 365538 E0064628 8FAD0118 */ lw $t5, 0x118($sp)
/* 36553C E006462C 8DA20008 */ lw $v0, 8($t5)
/* 365540 E0064630 26310058 */ addiu $s1, $s1, 0x58
/* 365544 E0064634 0282102A */ slt $v0, $s4, $v0
/* 365548 E0064638 10400090 */ beqz $v0, .LE006487C
/* 36554C E006463C AFA300D4 */ sw $v1, 0xd4($sp)
/* 365550 E0064640 27B20060 */ addiu $s2, $sp, 0x60
/* 365554 E0064644 4600A586 */ mov.s $f22, $f20
/* 365558 E0064648 3C01E006 */ lui $at, %hi(D_E0064A90)
/* 36555C E006464C D4344A90 */ ldc1 $f20, %lo(D_E0064A90)($at)
/* 365560 E0064650 02A0B02D */ daddu $s6, $s5, $zero
/* 365564 E0064654 3C150001 */ lui $s5, 1
/* 365568 E0064658 36B51630 */ ori $s5, $s5, 0x1630
/* 36556C E006465C 3C1EF200 */ lui $fp, 0xf200
/* 365570 E0064660 26300044 */ addiu $s0, $s1, 0x44
.LE0064664:
/* 365574 E0064664 8E020008 */ lw $v0, 8($s0)
/* 365578 E0064668 0440007E */ bltz $v0, .LE0064864
/* 36557C E006466C 00000000 */ nop
/* 365580 E0064670 8E05FFC0 */ lw $a1, -0x40($s0)
/* 365584 E0064674 8E06FFC4 */ lw $a2, -0x3c($s0)
/* 365588 E0064678 8E07FFC8 */ lw $a3, -0x38($s0)
/* 36558C E006467C 0C080108 */ jal func_E0200420
/* 365590 E0064680 27A40020 */ addiu $a0, $sp, 0x20
/* 365594 E0064684 E7B80010 */ swc1 $f24, 0x10($sp)
/* 365598 E0064688 8E05FFF0 */ lw $a1, -0x10($s0)
/* 36559C E006468C 4406B000 */ mfc1 $a2, $f22
/* 3655A0 E0064690 4407B000 */ mfc1 $a3, $f22
/* 3655A4 E0064694 0C080104 */ jal func_E0200410
/* 3655A8 E0064698 0240202D */ daddu $a0, $s2, $zero
/* 3655AC E006469C 0240202D */ daddu $a0, $s2, $zero
/* 3655B0 E00646A0 27A50020 */ addiu $a1, $sp, 0x20
/* 3655B4 E00646A4 0C080114 */ jal func_E0200450
/* 3655B8 E00646A8 00A0302D */ daddu $a2, $a1, $zero
/* 3655BC E00646AC C604FFD8 */ lwc1 $f4, -0x28($s0)
/* 3655C0 E00646B0 46002121 */ cvt.d.s $f4, $f4
/* 3655C4 E00646B4 46342102 */ mul.d $f4, $f4, $f20
/* 3655C8 E00646B8 00000000 */ nop
/* 3655CC E00646BC C602FFDC */ lwc1 $f2, -0x24($s0)
/* 3655D0 E00646C0 460010A1 */ cvt.d.s $f2, $f2
/* 3655D4 E00646C4 46341082 */ mul.d $f2, $f2, $f20
/* 3655D8 E00646C8 00000000 */ nop
/* 3655DC E00646CC C600FFE0 */ lwc1 $f0, -0x20($s0)
/* 3655E0 E00646D0 46000021 */ cvt.d.s $f0, $f0
/* 3655E4 E00646D4 46340002 */ mul.d $f0, $f0, $f20
/* 3655E8 E00646D8 00000000 */ nop
/* 3655EC E00646DC 46202120 */ cvt.s.d $f4, $f4
/* 3655F0 E00646E0 462010A0 */ cvt.s.d $f2, $f2
/* 3655F4 E00646E4 46200020 */ cvt.s.d $f0, $f0
/* 3655F8 E00646E8 44052000 */ mfc1 $a1, $f4
/* 3655FC E00646EC 44061000 */ mfc1 $a2, $f2
/* 365600 E00646F0 44070000 */ mfc1 $a3, $f0
/* 365604 E00646F4 0C080110 */ jal func_E0200440
/* 365608 E00646F8 0240202D */ daddu $a0, $s2, $zero
/* 36560C E00646FC 0240202D */ daddu $a0, $s2, $zero
/* 365610 E0064700 27A50020 */ addiu $a1, $sp, 0x20
/* 365614 E0064704 0C080114 */ jal func_E0200450
/* 365618 E0064708 00A0302D */ daddu $a2, $a1, $zero
/* 36561C E006470C E7B60010 */ swc1 $f22, 0x10($sp)
/* 365620 E0064710 8E05FFEC */ lw $a1, -0x14($s0)
/* 365624 E0064714 4406B000 */ mfc1 $a2, $f22
/* 365628 E0064718 4407C000 */ mfc1 $a3, $f24
/* 36562C E006471C 0C080104 */ jal func_E0200410
/* 365630 E0064720 0240202D */ daddu $a0, $s2, $zero
/* 365634 E0064724 0240202D */ daddu $a0, $s2, $zero
/* 365638 E0064728 27A50020 */ addiu $a1, $sp, 0x20
/* 36563C E006472C 0C080114 */ jal func_E0200450
/* 365640 E0064730 00A0302D */ daddu $a2, $a1, $zero
/* 365644 E0064734 27A40020 */ addiu $a0, $sp, 0x20
/* 365648 E0064738 96C50000 */ lhu $a1, ($s6)
/* 36564C E006473C 3C02800A */ lui $v0, %hi(D_8009A674)
/* 365650 E0064740 8C42A674 */ lw $v0, %lo(D_8009A674)($v0)
/* 365654 E0064744 00052980 */ sll $a1, $a1, 6
/* 365658 E0064748 00B52821 */ addu $a1, $a1, $s5
/* 36565C E006474C 0C080118 */ jal func_E0200460
/* 365660 E0064750 00452821 */ addu $a1, $v0, $a1
/* 365664 E0064754 3C06000F */ lui $a2, 0xf
/* 365668 E0064758 34C6C000 */ ori $a2, $a2, 0xc000
/* 36566C E006475C 3C080107 */ lui $t0, 0x107
/* 365670 E0064760 3508C000 */ ori $t0, $t0, 0xc000
/* 365674 E0064764 3C07D838 */ lui $a3, 0xd838
/* 365678 E0064768 34E70002 */ ori $a3, $a3, 2
/* 36567C E006476C 8E630000 */ lw $v1, ($s3)
/* 365680 E0064770 C600FFF8 */ lwc1 $f0, -8($s0)
/* 365684 E0064774 0060282D */ daddu $a1, $v1, $zero
/* 365688 E0064778 24630008 */ addiu $v1, $v1, 8
/* 36568C E006477C 4600018D */ trunc.w.s $f6, $f0
/* 365690 E0064780 44023000 */ mfc1 $v0, $f6
/* 365694 E0064784 00000000 */ nop
/* 365698 E0064788 30420FFF */ andi $v0, $v0, 0xfff
/* 36569C E006478C 005E1025 */ or $v0, $v0, $fp
/* 3656A0 E0064790 AE630000 */ sw $v1, ($s3)
/* 3656A4 E0064794 ACA20000 */ sw $v0, ($a1)
/* 3656A8 E0064798 24620008 */ addiu $v0, $v1, 8
/* 3656AC E006479C AE620000 */ sw $v0, ($s3)
/* 3656B0 E00647A0 96C40000 */ lhu $a0, ($s6)
/* 3656B4 E00647A4 24620010 */ addiu $v0, $v1, 0x10
/* 3656B8 E00647A8 AE620000 */ sw $v0, ($s3)
/* 3656BC E00647AC 24820001 */ addiu $v0, $a0, 1
/* 3656C0 E00647B0 A6C20000 */ sh $v0, ($s6)
/* 3656C4 E00647B4 24620018 */ addiu $v0, $v1, 0x18
/* 3656C8 E00647B8 3084FFFF */ andi $a0, $a0, 0xffff
/* 3656CC E00647BC 00042180 */ sll $a0, $a0, 6
/* 3656D0 E00647C0 C600FFF8 */ lwc1 $f0, -8($s0)
/* 3656D4 E00647C4 00952021 */ addu $a0, $a0, $s5
/* 3656D8 E00647C8 AE620000 */ sw $v0, ($s3)
/* 3656DC E00647CC 4600018D */ trunc.w.s $f6, $f0
/* 3656E0 E00647D0 44023000 */ mfc1 $v0, $f6
/* 3656E4 E00647D4 00000000 */ nop
/* 3656E8 E00647D8 2442007C */ addiu $v0, $v0, 0x7c
/* 3656EC E00647DC 30420FFF */ andi $v0, $v0, 0xfff
/* 3656F0 E00647E0 00461025 */ or $v0, $v0, $a2
/* 3656F4 E00647E4 ACA20004 */ sw $v0, 4($a1)
/* 3656F8 E00647E8 C6000000 */ lwc1 $f0, ($s0)
/* 3656FC E00647EC 24620020 */ addiu $v0, $v1, 0x20
/* 365700 E00647F0 AE620000 */ sw $v0, ($s3)
/* 365704 E00647F4 4600018D */ trunc.w.s $f6, $f0
/* 365708 E00647F8 44023000 */ mfc1 $v0, $f6
/* 36570C E00647FC 00000000 */ nop
/* 365710 E0064800 30420FFF */ andi $v0, $v0, 0xfff
/* 365714 E0064804 005E1025 */ or $v0, $v0, $fp
/* 365718 E0064808 AC620000 */ sw $v0, ($v1)
/* 36571C E006480C C6000000 */ lwc1 $f0, ($s0)
/* 365720 E0064810 3C02DA38 */ lui $v0, 0xda38
/* 365724 E0064814 AC620008 */ sw $v0, 8($v1)
/* 365728 E0064818 3C02800A */ lui $v0, %hi(D_8009A674)
/* 36572C E006481C 8C42A674 */ lw $v0, %lo(D_8009A674)($v0)
/* 365730 E0064820 3C0D0900 */ lui $t5, 0x900
/* 365734 E0064824 25AD0540 */ addiu $t5, $t5, 0x540
/* 365738 E0064828 AC6D0014 */ sw $t5, 0x14($v1)
/* 36573C E006482C AC670018 */ sw $a3, 0x18($v1)
/* 365740 E0064830 00441021 */ addu $v0, $v0, $a0
/* 365744 E0064834 AC62000C */ sw $v0, 0xc($v1)
/* 365748 E0064838 3C02DE00 */ lui $v0, 0xde00
/* 36574C E006483C AC620010 */ sw $v0, 0x10($v1)
/* 365750 E0064840 24020040 */ addiu $v0, $zero, 0x40
/* 365754 E0064844 AC62001C */ sw $v0, 0x1c($v1)
/* 365758 E0064848 4600018D */ trunc.w.s $f6, $f0
/* 36575C E006484C 44023000 */ mfc1 $v0, $f6
/* 365760 E0064850 00000000 */ nop
/* 365764 E0064854 2442007C */ addiu $v0, $v0, 0x7c
/* 365768 E0064858 30420FFF */ andi $v0, $v0, 0xfff
/* 36576C E006485C 00481025 */ or $v0, $v0, $t0
/* 365770 E0064860 AC620004 */ sw $v0, 4($v1)
.LE0064864:
/* 365774 E0064864 8FAD0118 */ lw $t5, 0x118($sp)
/* 365778 E0064868 26940001 */ addiu $s4, $s4, 1
/* 36577C E006486C 8DA20008 */ lw $v0, 8($t5)
/* 365780 E0064870 0282102A */ slt $v0, $s4, $v0
/* 365784 E0064874 1440FF7B */ bnez $v0, .LE0064664
/* 365788 E0064878 26100058 */ addiu $s0, $s0, 0x58
.LE006487C:
/* 36578C E006487C 3C0AD9FF */ lui $t2, 0xd9ff
/* 365790 E0064880 354AF9FF */ ori $t2, $t2, 0xf9ff
/* 365794 E0064884 3C05800A */ lui $a1, %hi(D_8009A66C)
/* 365798 E0064888 24A5A66C */ addiu $a1, $a1, %lo(D_8009A66C)
/* 36579C E006488C 3C02DF00 */ lui $v0, 0xdf00
/* 3657A0 E0064890 8CA30000 */ lw $v1, ($a1)
/* 3657A4 E0064894 3C09FA00 */ lui $t1, 0xfa00
/* 3657A8 E0064898 0060202D */ daddu $a0, $v1, $zero
/* 3657AC E006489C 24630008 */ addiu $v1, $v1, 8
/* 3657B0 E00648A0 ACA30000 */ sw $v1, ($a1)
/* 3657B4 E00648A4 AC820000 */ sw $v0, ($a0)
/* 3657B8 E00648A8 3C02DE01 */ lui $v0, 0xde01
/* 3657BC E00648AC AC800004 */ sw $zero, 4($a0)
/* 3657C0 E00648B0 AEE20000 */ sw $v0, ($s7)
/* 3657C4 E00648B4 24620008 */ addiu $v0, $v1, 8
/* 3657C8 E00648B8 AEE30004 */ sw $v1, 4($s7)
/* 3657CC E00648BC ACA20000 */ sw $v0, ($a1)
/* 3657D0 E00648C0 AC690000 */ sw $t1, ($v1)
/* 3657D4 E00648C4 8FAD00BC */ lw $t5, 0xbc($sp)
/* 3657D8 E00648C8 3C0BD9FF */ lui $t3, 0xd9ff
/* 3657DC E00648CC 000D1600 */ sll $v0, $t5, 0x18
/* 3657E0 E00648D0 8FAD00C0 */ lw $t5, 0xc0($sp)
/* 3657E4 E00648D4 3C07FB00 */ lui $a3, 0xfb00
/* 3657E8 E00648D8 000D2400 */ sll $a0, $t5, 0x10
/* 3657EC E00648DC 8FAD00C4 */ lw $t5, 0xc4($sp)
/* 3657F0 E00648E0 00441025 */ or $v0, $v0, $a0
/* 3657F4 E00648E4 000D2200 */ sll $a0, $t5, 8
/* 3657F8 E00648E8 8FAD00A0 */ lw $t5, 0xa0($sp)
/* 3657FC E00648EC 00441025 */ or $v0, $v0, $a0
/* 365800 E00648F0 31A800FF */ andi $t0, $t5, 0xff
/* 365804 E00648F4 00481025 */ or $v0, $v0, $t0
/* 365808 E00648F8 AC620004 */ sw $v0, 4($v1)
/* 36580C E00648FC 24620010 */ addiu $v0, $v1, 0x10
/* 365810 E0064900 ACA20000 */ sw $v0, ($a1)
/* 365814 E0064904 AC670008 */ sw $a3, 8($v1)
/* 365818 E0064908 8FAD00C8 */ lw $t5, 0xc8($sp)
/* 36581C E006490C 356BFFFF */ ori $t3, $t3, 0xffff
/* 365820 E0064910 000D1600 */ sll $v0, $t5, 0x18
/* 365824 E0064914 8FAD00CC */ lw $t5, 0xcc($sp)
/* 365828 E0064918 3C06DE00 */ lui $a2, 0xde00
/* 36582C E006491C 000D2400 */ sll $a0, $t5, 0x10
/* 365830 E0064920 8FAD00D0 */ lw $t5, 0xd0($sp)
/* 365834 E0064924 00441025 */ or $v0, $v0, $a0
/* 365838 E0064928 000D2200 */ sll $a0, $t5, 8
/* 36583C E006492C 00441025 */ or $v0, $v0, $a0
/* 365840 E0064930 AC62000C */ sw $v0, 0xc($v1)
/* 365844 E0064934 24620018 */ addiu $v0, $v1, 0x18
/* 365848 E0064938 ACA20000 */ sw $v0, ($a1)
/* 36584C E006493C 24620020 */ addiu $v0, $v1, 0x20
/* 365850 E0064940 AC6A0010 */ sw $t2, 0x10($v1)
/* 365854 E0064944 AC600014 */ sw $zero, 0x14($v1)
/* 365858 E0064948 ACA20000 */ sw $v0, ($a1)
/* 36585C E006494C 24020200 */ addiu $v0, $zero, 0x200
/* 365860 E0064950 AC62001C */ sw $v0, 0x1c($v1)
/* 365864 E0064954 24620028 */ addiu $v0, $v1, 0x28
/* 365868 E0064958 AC6B0018 */ sw $t3, 0x18($v1)
/* 36586C E006495C ACA20000 */ sw $v0, ($a1)
/* 365870 E0064960 AC660020 */ sw $a2, 0x20($v1)
/* 365874 E0064964 8FAD00D4 */ lw $t5, 0xd4($sp)
/* 365878 E0064968 24620030 */ addiu $v0, $v1, 0x30
/* 36587C E006496C AC6D0024 */ sw $t5, 0x24($v1)
/* 365880 E0064970 ACA20000 */ sw $v0, ($a1)
/* 365884 E0064974 AC690028 */ sw $t1, 0x28($v1)
/* 365888 E0064978 8FAD00A4 */ lw $t5, 0xa4($sp)
/* 36588C E006497C 000D1600 */ sll $v0, $t5, 0x18
/* 365890 E0064980 8FAD00A8 */ lw $t5, 0xa8($sp)
/* 365894 E0064984 000D2400 */ sll $a0, $t5, 0x10
/* 365898 E0064988 8FAD00AC */ lw $t5, 0xac($sp)
/* 36589C E006498C 00441025 */ or $v0, $v0, $a0
/* 3658A0 E0064990 000D2200 */ sll $a0, $t5, 8
/* 3658A4 E0064994 00441025 */ or $v0, $v0, $a0
/* 3658A8 E0064998 00481025 */ or $v0, $v0, $t0
/* 3658AC E006499C AC62002C */ sw $v0, 0x2c($v1)
/* 3658B0 E00649A0 24620038 */ addiu $v0, $v1, 0x38
/* 3658B4 E00649A4 ACA20000 */ sw $v0, ($a1)
/* 3658B8 E00649A8 AC670030 */ sw $a3, 0x30($v1)
/* 3658BC E00649AC 8FAD00B0 */ lw $t5, 0xb0($sp)
/* 3658C0 E00649B0 3C0CD838 */ lui $t4, 0xd838
/* 3658C4 E00649B4 000D1600 */ sll $v0, $t5, 0x18
/* 3658C8 E00649B8 8FAD00B4 */ lw $t5, 0xb4($sp)
/* 3658CC E00649BC 358C0002 */ ori $t4, $t4, 2
/* 3658D0 E00649C0 000D2400 */ sll $a0, $t5, 0x10
/* 3658D4 E00649C4 8FAD00B8 */ lw $t5, 0xb8($sp)
/* 3658D8 E00649C8 00441025 */ or $v0, $v0, $a0
/* 3658DC E00649CC 000D2200 */ sll $a0, $t5, 8
/* 3658E0 E00649D0 00441025 */ or $v0, $v0, $a0
/* 3658E4 E00649D4 AC620034 */ sw $v0, 0x34($v1)
/* 3658E8 E00649D8 24620040 */ addiu $v0, $v1, 0x40
/* 3658EC E00649DC ACA20000 */ sw $v0, ($a1)
/* 3658F0 E00649E0 24620048 */ addiu $v0, $v1, 0x48
/* 3658F4 E00649E4 AC6A0038 */ sw $t2, 0x38($v1)
/* 3658F8 E00649E8 AC60003C */ sw $zero, 0x3c($v1)
/* 3658FC E00649EC ACA20000 */ sw $v0, ($a1)
/* 365900 E00649F0 24020400 */ addiu $v0, $zero, 0x400
/* 365904 E00649F4 AC620044 */ sw $v0, 0x44($v1)
/* 365908 E00649F8 24620050 */ addiu $v0, $v1, 0x50
/* 36590C E00649FC AC6B0040 */ sw $t3, 0x40($v1)
/* 365910 E0064A00 ACA20000 */ sw $v0, ($a1)
/* 365914 E0064A04 AC660048 */ sw $a2, 0x48($v1)
/* 365918 E0064A08 8FAD00D4 */ lw $t5, 0xd4($sp)
/* 36591C E0064A0C 24620058 */ addiu $v0, $v1, 0x58
/* 365920 E0064A10 AC6D004C */ sw $t5, 0x4c($v1)
/* 365924 E0064A14 ACA20000 */ sw $v0, ($a1)
/* 365928 E0064A18 24020040 */ addiu $v0, $zero, 0x40
/* 36592C E0064A1C AC6C0050 */ sw $t4, 0x50($v1)
/* 365930 E0064A20 AC620054 */ sw $v0, 0x54($v1)
/* 365934 E0064A24 8FBF00FC */ lw $ra, 0xfc($sp)
/* 365938 E0064A28 8FBE00F8 */ lw $fp, 0xf8($sp)
/* 36593C E0064A2C 8FB700F4 */ lw $s7, 0xf4($sp)
/* 365940 E0064A30 8FB600F0 */ lw $s6, 0xf0($sp)
/* 365944 E0064A34 8FB500EC */ lw $s5, 0xec($sp)
/* 365948 E0064A38 8FB400E8 */ lw $s4, 0xe8($sp)
/* 36594C E0064A3C 8FB300E4 */ lw $s3, 0xe4($sp)
/* 365950 E0064A40 8FB200E0 */ lw $s2, 0xe0($sp)
/* 365954 E0064A44 8FB100DC */ lw $s1, 0xdc($sp)
/* 365958 E0064A48 8FB000D8 */ lw $s0, 0xd8($sp)
/* 36595C E0064A4C D7B80110 */ ldc1 $f24, 0x110($sp)
/* 365960 E0064A50 D7B60108 */ ldc1 $f22, 0x108($sp)
/* 365964 E0064A54 D7B40100 */ ldc1 $f20, 0x100($sp)
/* 365968 E0064A58 03E00008 */ jr $ra
/* 36596C E0064A5C 27BD0118 */ addiu $sp, $sp, 0x118

View File

@ -0,0 +1,333 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007A000
/* 37C540 E007A000 27BDFF40 */ addiu $sp, $sp, -0xc0
/* 37C544 E007A004 F7B60098 */ sdc1 $f22, 0x98($sp)
/* 37C548 E007A008 C7B600D0 */ lwc1 $f22, 0xd0($sp)
/* 37C54C E007A00C F7B800A0 */ sdc1 $f24, 0xa0($sp)
/* 37C550 E007A010 C7B800D4 */ lwc1 $f24, 0xd4($sp)
/* 37C554 E007A014 F7BA00A8 */ sdc1 $f26, 0xa8($sp)
/* 37C558 E007A018 C7BA00D8 */ lwc1 $f26, 0xd8($sp)
/* 37C55C E007A01C AFB20080 */ sw $s2, 0x80($sp)
/* 37C560 E007A020 8FB200DC */ lw $s2, 0xdc($sp)
/* 37C564 E007A024 AFB1007C */ sw $s1, 0x7c($sp)
/* 37C568 E007A028 0080882D */ daddu $s1, $a0, $zero
/* 37C56C E007A02C AFB00078 */ sw $s0, 0x78($sp)
/* 37C570 E007A030 27B00018 */ addiu $s0, $sp, 0x18
/* 37C574 E007A034 AFBF008C */ sw $ra, 0x8c($sp)
/* 37C578 E007A038 AFB40088 */ sw $s4, 0x88($sp)
/* 37C57C E007A03C AFB30084 */ sw $s3, 0x84($sp)
/* 37C580 E007A040 F7BE00B8 */ sdc1 $f30, 0xb8($sp)
/* 37C584 E007A044 F7BC00B0 */ sdc1 $f28, 0xb0($sp)
/* 37C588 E007A048 F7B40090 */ sdc1 $f20, 0x90($sp)
/* 37C58C E007A04C AFA500C4 */ sw $a1, 0xc4($sp)
/* 37C590 E007A050 AFA600C8 */ sw $a2, 0xc8($sp)
/* 37C594 E007A054 1240011D */ beqz $s2, .LE007A4CC
/* 37C598 E007A058 AFA700CC */ sw $a3, 0xcc($sp)
/* 37C59C E007A05C 4616B002 */ mul.s $f0, $f22, $f22
/* 37C5A0 E007A060 00000000 */ nop
/* 37C5A4 E007A064 4618C082 */ mul.s $f2, $f24, $f24
/* 37C5A8 E007A068 00000000 */ nop
/* 37C5AC E007A06C 461AD102 */ mul.s $f4, $f26, $f26
/* 37C5B0 E007A070 00000000 */ nop
/* 37C5B4 E007A074 46020000 */ add.s $f0, $f0, $f2
/* 37C5B8 E007A078 46040300 */ add.s $f12, $f0, $f4
/* 37C5BC E007A07C 4480A000 */ mtc1 $zero, $f20
/* 37C5C0 E007A080 00000000 */ nop
/* 37C5C4 E007A084 46146032 */ c.eq.s $f12, $f20
/* 37C5C8 E007A088 00000000 */ nop
/* 37C5CC E007A08C 4501010F */ bc1t .LE007A4CC
/* 37C5D0 E007A090 26520001 */ addiu $s2, $s2, 1
/* 37C5D4 E007A094 0C080154 */ jal func_E0200550
/* 37C5D8 E007A098 00000000 */ nop
/* 37C5DC E007A09C 3C01BF80 */ lui $at, 0xbf80
/* 37C5E0 E007A0A0 44811000 */ mtc1 $at, $f2
/* 37C5E4 E007A0A4 00000000 */ nop
/* 37C5E8 E007A0A8 46001303 */ div.s $f12, $f2, $f0
/* 37C5EC E007A0AC 460CB582 */ mul.s $f22, $f22, $f12
/* 37C5F0 E007A0B0 00000000 */ nop
/* 37C5F4 E007A0B4 460CC602 */ mul.s $f24, $f24, $f12
/* 37C5F8 E007A0B8 00000000 */ nop
/* 37C5FC E007A0BC 460CD682 */ mul.s $f26, $f26, $f12
/* 37C600 E007A0C0 00000000 */ nop
/* 37C604 E007A0C4 4614B032 */ c.eq.s $f22, $f20
/* 37C608 E007A0C8 00000000 */ nop
/* 37C60C E007A0CC 45010007 */ bc1t .LE007A0EC
/* 37C610 E007A0D0 4600A706 */ mov.s $f28, $f20
/* 37C614 E007A0D4 4600C007 */ neg.s $f0, $f24
/* 37C618 E007A0D8 46160783 */ div.s $f30, $f0, $f22
/* 37C61C E007A0DC 3C013F80 */ lui $at, 0x3f80
/* 37C620 E007A0E0 44817000 */ mtc1 $at, $f14
/* 37C624 E007A0E4 0801E849 */ j .LE007A124
/* 37C628 E007A0E8 E7AE0070 */ swc1 $f14, 0x70($sp)
.LE007A0EC:
/* 37C62C E007A0EC 4614C032 */ c.eq.s $f24, $f20
/* 37C630 E007A0F0 00000000 */ nop
/* 37C634 E007A0F4 45010007 */ bc1t .LE007A114
/* 37C638 E007A0F8 4600B007 */ neg.s $f0, $f22
/* 37C63C E007A0FC 46180003 */ div.s $f0, $f0, $f24
/* 37C640 E007A100 3C013F80 */ lui $at, 0x3f80
/* 37C644 E007A104 4481F000 */ mtc1 $at, $f30
/* 37C648 E007A108 4600A706 */ mov.s $f28, $f20
/* 37C64C E007A10C 0801E849 */ j .LE007A124
/* 37C650 E007A110 E7A00070 */ swc1 $f0, 0x70($sp)
.LE007A114:
/* 37C654 E007A114 3C013F80 */ lui $at, 0x3f80
/* 37C658 E007A118 4481F000 */ mtc1 $at, $f30
/* 37C65C E007A11C 461A0703 */ div.s $f28, $f0, $f26
/* 37C660 E007A120 E7B40070 */ swc1 $f20, 0x70($sp)
.LE007A124:
/* 37C664 E007A124 461EF002 */ mul.s $f0, $f30, $f30
/* 37C668 E007A128 00000000 */ nop
/* 37C66C E007A12C 461CE102 */ mul.s $f4, $f28, $f28
/* 37C670 E007A130 00000000 */ nop
/* 37C674 E007A134 C7B00070 */ lwc1 $f16, 0x70($sp)
/* 37C678 E007A138 46008386 */ mov.s $f14, $f16
/* 37C67C E007A13C 460E8082 */ mul.s $f2, $f16, $f14
/* 37C680 E007A140 00000000 */ nop
/* 37C684 E007A144 46020000 */ add.s $f0, $f0, $f2
/* 37C688 E007A148 46040300 */ add.s $f12, $f0, $f4
/* 37C68C E007A14C 44800000 */ mtc1 $zero, $f0
/* 37C690 E007A150 00000000 */ nop
/* 37C694 E007A154 46006032 */ c.eq.s $f12, $f0
/* 37C698 E007A158 00000000 */ nop
/* 37C69C E007A15C 450100DB */ bc1t .LE007A4CC
/* 37C6A0 E007A160 00000000 */ nop
/* 37C6A4 E007A164 0C080154 */ jal func_E0200550
/* 37C6A8 E007A168 00000000 */ nop
/* 37C6AC E007A16C 3C013F80 */ lui $at, 0x3f80
/* 37C6B0 E007A170 44811000 */ mtc1 $at, $f2
/* 37C6B4 E007A174 00000000 */ nop
/* 37C6B8 E007A178 46001303 */ div.s $f12, $f2, $f0
/* 37C6BC E007A17C 460CF782 */ mul.s $f30, $f30, $f12
/* 37C6C0 E007A180 00000000 */ nop
/* 37C6C4 E007A184 C7B00070 */ lwc1 $f16, 0x70($sp)
/* 37C6C8 E007A188 460C8402 */ mul.s $f16, $f16, $f12
/* 37C6CC E007A18C 00000000 */ nop
/* 37C6D0 E007A190 460CE702 */ mul.s $f28, $f28, $f12
/* 37C6D4 E007A194 00000000 */ nop
/* 37C6D8 E007A198 3C014100 */ lui $at, 0x4100
/* 37C6DC E007A19C 44810000 */ mtc1 $at, $f0
/* 37C6E0 E007A1A0 00000000 */ nop
/* 37C6E4 E007A1A4 4600B582 */ mul.s $f22, $f22, $f0
/* 37C6E8 E007A1A8 00000000 */ nop
/* 37C6EC E007A1AC 4600C602 */ mul.s $f24, $f24, $f0
/* 37C6F0 E007A1B0 00000000 */ nop
/* 37C6F4 E007A1B4 4600D682 */ mul.s $f26, $f26, $f0
/* 37C6F8 E007A1B8 00000000 */ nop
/* 37C6FC E007A1BC 4600F782 */ mul.s $f30, $f30, $f0
/* 37C700 E007A1C0 00000000 */ nop
/* 37C704 E007A1C4 0200202D */ daddu $a0, $s0, $zero
/* 37C708 E007A1C8 3C02E008 */ lui $v0, %hi(D_E007A504)
/* 37C70C E007A1CC 2442A504 */ addiu $v0, $v0, %lo(D_E007A504)
/* 37C710 E007A1D0 AC820008 */ sw $v0, 8($a0)
/* 37C714 E007A1D4 46008402 */ mul.s $f16, $f16, $f0
/* 37C718 E007A1D8 00000000 */ nop
/* 37C71C E007A1DC 3C02E008 */ lui $v0, %hi(D_E007A50C)
/* 37C720 E007A1E0 2442A50C */ addiu $v0, $v0, %lo(D_E007A50C)
/* 37C724 E007A1E4 AC82000C */ sw $v0, 0xc($a0)
/* 37C728 E007A1E8 3C02E008 */ lui $v0, %hi(D_E007A840)
/* 37C72C E007A1EC 2442A840 */ addiu $v0, $v0, %lo(D_E007A840)
/* 37C730 E007A1F0 AC800000 */ sw $zero, ($a0)
/* 37C734 E007A1F4 4600E702 */ mul.s $f28, $f28, $f0
/* 37C738 E007A1F8 00000000 */ nop
/* 37C73C E007A1FC E7B00070 */ swc1 $f16, 0x70($sp)
/* 37C740 E007A200 AC820010 */ sw $v0, 0x10($a0)
/* 37C744 E007A204 2402003D */ addiu $v0, $zero, 0x3d
/* 37C748 E007A208 AC800014 */ sw $zero, 0x14($a0)
/* 37C74C E007A20C 0C080124 */ jal func_E0200490
/* 37C750 E007A210 AC820004 */ sw $v0, 4($a0)
/* 37C754 E007A214 00122040 */ sll $a0, $s2, 1
/* 37C758 E007A218 00922021 */ addu $a0, $a0, $s2
/* 37C75C E007A21C 00042080 */ sll $a0, $a0, 2
/* 37C760 E007A220 00922021 */ addu $a0, $a0, $s2
/* 37C764 E007A224 000420C0 */ sll $a0, $a0, 3
/* 37C768 E007A228 0040A02D */ daddu $s4, $v0, $zero
/* 37C76C E007A22C 0C08012C */ jal func_E02004B0
/* 37C770 E007A230 AE920008 */ sw $s2, 8($s4)
/* 37C774 E007A234 0040182D */ daddu $v1, $v0, $zero
/* 37C778 E007A238 14600003 */ bnez $v1, .LE007A248
/* 37C77C E007A23C AE83000C */ sw $v1, 0xc($s4)
.LE007A240:
/* 37C780 E007A240 0801E890 */ j .LE007A240
/* 37C784 E007A244 00000000 */ nop
.LE007A248:
/* 37C788 E007A248 AC600004 */ sw $zero, 4($v1)
/* 37C78C E007A24C AC710000 */ sw $s1, ($v1)
/* 37C790 E007A250 C7AE00C4 */ lwc1 $f14, 0xc4($sp)
/* 37C794 E007A254 E46E0008 */ swc1 $f14, 8($v1)
/* 37C798 E007A258 C7B000C8 */ lwc1 $f16, 0xc8($sp)
/* 37C79C E007A25C 2402000A */ addiu $v0, $zero, 0xa
/* 37C7A0 E007A260 E470000C */ swc1 $f16, 0xc($v1)
/* 37C7A4 E007A264 C7AE00CC */ lwc1 $f14, 0xcc($sp)
/* 37C7A8 E007A268 24110001 */ addiu $s1, $zero, 1
/* 37C7AC E007A26C E46E0010 */ swc1 $f14, 0x10($v1)
/* 37C7B0 E007A270 AC62005C */ sw $v0, 0x5c($v1)
/* 37C7B4 E007A274 AC600060 */ sw $zero, 0x60($v1)
/* 37C7B8 E007A278 0232102A */ slt $v0, $s1, $s2
/* 37C7BC E007A27C 10400091 */ beqz $v0, .LE007A4C4
/* 37C7C0 E007A280 24630068 */ addiu $v1, $v1, 0x68
/* 37C7C4 E007A284 2470005C */ addiu $s0, $v1, 0x5c
/* 37C7C8 E007A288 24130048 */ addiu $s3, $zero, 0x48
/* 37C7CC E007A28C 3C014010 */ lui $at, 0x4010
/* 37C7D0 E007A290 4481A800 */ mtc1 $at, $f21
/* 37C7D4 E007A294 4480A000 */ mtc1 $zero, $f20
.LE007A298:
/* 37C7D8 E007A298 44938000 */ mtc1 $s3, $f16
/* 37C7DC E007A29C 00000000 */ nop
/* 37C7E0 E007A2A0 46808420 */ cvt.s.w $f16, $f16
/* 37C7E4 E007A2A4 4406B000 */ mfc1 $a2, $f22
/* 37C7E8 E007A2A8 4407C000 */ mfc1 $a3, $f24
/* 37C7EC E007A2AC 44058000 */ mfc1 $a1, $f16
/* 37C7F0 E007A2B0 27A40030 */ addiu $a0, $sp, 0x30
/* 37C7F4 E007A2B4 AE00FFAC */ sw $zero, -0x54($s0)
/* 37C7F8 E007A2B8 AE00FFB0 */ sw $zero, -0x50($s0)
/* 37C7FC E007A2BC AE00FFB4 */ sw $zero, -0x4c($s0)
/* 37C800 E007A2C0 0C080104 */ jal func_E0200410
/* 37C804 E007A2C4 E7BA0010 */ swc1 $f26, 0x10($sp)
/* 37C808 E007A2C8 3C01E008 */ lui $at, %hi(D_E007AC00)
/* 37C80C E007A2CC D42EAC00 */ ldc1 $f14, %lo(D_E007AC00)($at)
/* 37C810 E007A2D0 4600B107 */ neg.s $f4, $f22
/* 37C814 E007A2D4 46002121 */ cvt.d.s $f4, $f4
/* 37C818 E007A2D8 462E2102 */ mul.d $f4, $f4, $f14
/* 37C81C E007A2DC 00000000 */ nop
/* 37C820 E007A2E0 4600C087 */ neg.s $f2, $f24
/* 37C824 E007A2E4 460010A1 */ cvt.d.s $f2, $f2
/* 37C828 E007A2E8 462E1082 */ mul.d $f2, $f2, $f14
/* 37C82C E007A2EC 00000000 */ nop
/* 37C830 E007A2F0 4600D007 */ neg.s $f0, $f26
/* 37C834 E007A2F4 46000021 */ cvt.d.s $f0, $f0
/* 37C838 E007A2F8 462E0002 */ mul.d $f0, $f0, $f14
/* 37C83C E007A2FC 00000000 */ nop
/* 37C840 E007A300 46342102 */ mul.d $f4, $f4, $f20
/* 37C844 E007A304 00000000 */ nop
/* 37C848 E007A308 46341082 */ mul.d $f2, $f2, $f20
/* 37C84C E007A30C 00000000 */ nop
/* 37C850 E007A310 4616B180 */ add.s $f6, $f22, $f22
/* 37C854 E007A314 4618C200 */ add.s $f8, $f24, $f24
/* 37C858 E007A318 461AD280 */ add.s $f10, $f26, $f26
/* 37C85C E007A31C E606FFC4 */ swc1 $f6, -0x3c($s0)
/* 37C860 E007A320 46340002 */ mul.d $f0, $f0, $f20
/* 37C864 E007A324 00000000 */ nop
/* 37C868 E007A328 E606FFB8 */ swc1 $f6, -0x48($s0)
/* 37C86C E007A32C E608FFC8 */ swc1 $f8, -0x38($s0)
/* 37C870 E007A330 E608FFBC */ swc1 $f8, -0x44($s0)
/* 37C874 E007A334 E60AFFCC */ swc1 $f10, -0x34($s0)
/* 37C878 E007A338 E60AFFC0 */ swc1 $f10, -0x40($s0)
/* 37C87C E007A33C 46202120 */ cvt.s.d $f4, $f4
/* 37C880 E007A340 462010A0 */ cvt.s.d $f2, $f2
/* 37C884 E007A344 46200020 */ cvt.s.d $f0, $f0
/* 37C888 E007A348 E604FFDC */ swc1 $f4, -0x24($s0)
/* 37C88C E007A34C E602FFE0 */ swc1 $f2, -0x20($s0)
/* 37C890 E007A350 E600FFE4 */ swc1 $f0, -0x1c($s0)
/* 37C894 E007A354 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 37C898 E007A358 461E0002 */ mul.s $f0, $f0, $f30
/* 37C89C E007A35C 00000000 */ nop
/* 37C8A0 E007A360 C7A40040 */ lwc1 $f4, 0x40($sp)
/* 37C8A4 E007A364 C7B00070 */ lwc1 $f16, 0x70($sp)
/* 37C8A8 E007A368 46102102 */ mul.s $f4, $f4, $f16
/* 37C8AC E007A36C 00000000 */ nop
/* 37C8B0 E007A370 C7A20050 */ lwc1 $f2, 0x50($sp)
/* 37C8B4 E007A374 461C1082 */ mul.s $f2, $f2, $f28
/* 37C8B8 E007A378 00000000 */ nop
/* 37C8BC E007A37C 46040000 */ add.s $f0, $f0, $f4
/* 37C8C0 E007A380 46020000 */ add.s $f0, $f0, $f2
/* 37C8C4 E007A384 3C01E008 */ lui $at, %hi(D_E007AC08)
/* 37C8C8 E007A388 D42EAC08 */ ldc1 $f14, %lo(D_E007AC08)($at)
/* 37C8CC E007A38C 46000021 */ cvt.d.s $f0, $f0
/* 37C8D0 E007A390 462E0002 */ mul.d $f0, $f0, $f14
/* 37C8D4 E007A394 00000000 */ nop
/* 37C8D8 E007A398 46340002 */ mul.d $f0, $f0, $f20
/* 37C8DC E007A39C 00000000 */ nop
/* 37C8E0 E007A3A0 46200020 */ cvt.s.d $f0, $f0
/* 37C8E4 E007A3A4 E600FFD0 */ swc1 $f0, -0x30($s0)
/* 37C8E8 E007A3A8 C7A00034 */ lwc1 $f0, 0x34($sp)
/* 37C8EC E007A3AC 461E0002 */ mul.s $f0, $f0, $f30
/* 37C8F0 E007A3B0 00000000 */ nop
/* 37C8F4 E007A3B4 C7A40044 */ lwc1 $f4, 0x44($sp)
/* 37C8F8 E007A3B8 46102102 */ mul.s $f4, $f4, $f16
/* 37C8FC E007A3BC 00000000 */ nop
/* 37C900 E007A3C0 C7A20054 */ lwc1 $f2, 0x54($sp)
/* 37C904 E007A3C4 461C1082 */ mul.s $f2, $f2, $f28
/* 37C908 E007A3C8 00000000 */ nop
/* 37C90C E007A3CC 46040000 */ add.s $f0, $f0, $f4
/* 37C910 E007A3D0 46020000 */ add.s $f0, $f0, $f2
/* 37C914 E007A3D4 46000021 */ cvt.d.s $f0, $f0
/* 37C918 E007A3D8 462E0002 */ mul.d $f0, $f0, $f14
/* 37C91C E007A3DC 00000000 */ nop
/* 37C920 E007A3E0 46340002 */ mul.d $f0, $f0, $f20
/* 37C924 E007A3E4 00000000 */ nop
/* 37C928 E007A3E8 46200020 */ cvt.s.d $f0, $f0
/* 37C92C E007A3EC E600FFD4 */ swc1 $f0, -0x2c($s0)
/* 37C930 E007A3F0 C7A00038 */ lwc1 $f0, 0x38($sp)
/* 37C934 E007A3F4 461E0002 */ mul.s $f0, $f0, $f30
/* 37C938 E007A3F8 00000000 */ nop
/* 37C93C E007A3FC C7A40048 */ lwc1 $f4, 0x48($sp)
/* 37C940 E007A400 46102102 */ mul.s $f4, $f4, $f16
/* 37C944 E007A404 00000000 */ nop
/* 37C948 E007A408 C7A20058 */ lwc1 $f2, 0x58($sp)
/* 37C94C E007A40C 461C1082 */ mul.s $f2, $f2, $f28
/* 37C950 E007A410 00000000 */ nop
/* 37C954 E007A414 46040000 */ add.s $f0, $f0, $f4
/* 37C958 E007A418 46020000 */ add.s $f0, $f0, $f2
/* 37C95C E007A41C 46000021 */ cvt.d.s $f0, $f0
/* 37C960 E007A420 462E0002 */ mul.d $f0, $f0, $f14
/* 37C964 E007A424 00000000 */ nop
/* 37C968 E007A428 26730048 */ addiu $s3, $s3, 0x48
/* 37C96C E007A42C 46340002 */ mul.d $f0, $f0, $f20
/* 37C970 E007A430 00000000 */ nop
/* 37C974 E007A434 3C0141A0 */ lui $at, 0x41a0
/* 37C978 E007A438 44813000 */ mtc1 $at, $f6
/* 37C97C E007A43C 3C014080 */ lui $at, 0x4080
/* 37C980 E007A440 44812000 */ mtc1 $at, $f4
/* 37C984 E007A444 3C013F00 */ lui $at, 0x3f00
/* 37C988 E007A448 44811000 */ mtc1 $at, $f2
/* 37C98C E007A44C 24040168 */ addiu $a0, $zero, 0x168
/* 37C990 E007A450 E606FFF4 */ swc1 $f6, -0xc($s0)
/* 37C994 E007A454 E604FFEC */ swc1 $f4, -0x14($s0)
/* 37C998 E007A458 E602FFE8 */ swc1 $f2, -0x18($s0)
/* 37C99C E007A45C 46200020 */ cvt.s.d $f0, $f0
/* 37C9A0 E007A460 0C080000 */ jal func_E0200000
/* 37C9A4 E007A464 E600FFD8 */ swc1 $f0, -0x28($s0)
/* 37C9A8 E007A468 3C046666 */ lui $a0, 0x6666
/* 37C9AC E007A46C 34846667 */ ori $a0, $a0, 0x6667
/* 37C9B0 E007A470 2623FFFF */ addiu $v1, $s1, -1
/* 37C9B4 E007A474 26310001 */ addiu $s1, $s1, 1
/* 37C9B8 E007A478 44820000 */ mtc1 $v0, $f0
/* 37C9BC E007A47C 00000000 */ nop
/* 37C9C0 E007A480 46800020 */ cvt.s.w $f0, $f0
/* 37C9C4 E007A484 240200FF */ addiu $v0, $zero, 0xff
/* 37C9C8 E007A488 AE02FFFC */ sw $v0, -4($s0)
/* 37C9CC E007A48C 2402000A */ addiu $v0, $zero, 0xa
/* 37C9D0 E007A490 00640018 */ mult $v1, $a0
/* 37C9D4 E007A494 00031FC3 */ sra $v1, $v1, 0x1f
/* 37C9D8 E007A498 E600FFF8 */ swc1 $f0, -8($s0)
/* 37C9DC E007A49C E600FFF0 */ swc1 $f0, -0x10($s0)
/* 37C9E0 E007A4A0 AE020000 */ sw $v0, ($s0)
/* 37C9E4 E007A4A4 00004010 */ mfhi $t0
/* 37C9E8 E007A4A8 00081043 */ sra $v0, $t0, 1
/* 37C9EC E007A4AC 00431023 */ subu $v0, $v0, $v1
/* 37C9F0 E007A4B0 00021040 */ sll $v0, $v0, 1
/* 37C9F4 E007A4B4 AE020008 */ sw $v0, 8($s0)
/* 37C9F8 E007A4B8 0232102A */ slt $v0, $s1, $s2
/* 37C9FC E007A4BC 1440FF76 */ bnez $v0, .LE007A298
/* 37CA00 E007A4C0 26100068 */ addiu $s0, $s0, 0x68
.LE007A4C4:
/* 37CA04 E007A4C4 8FA200E0 */ lw $v0, 0xe0($sp)
/* 37CA08 E007A4C8 AC540000 */ sw $s4, ($v0)
.LE007A4CC:
/* 37CA0C E007A4CC 8FBF008C */ lw $ra, 0x8c($sp)
/* 37CA10 E007A4D0 8FB40088 */ lw $s4, 0x88($sp)
/* 37CA14 E007A4D4 8FB30084 */ lw $s3, 0x84($sp)
/* 37CA18 E007A4D8 8FB20080 */ lw $s2, 0x80($sp)
/* 37CA1C E007A4DC 8FB1007C */ lw $s1, 0x7c($sp)
/* 37CA20 E007A4E0 8FB00078 */ lw $s0, 0x78($sp)
/* 37CA24 E007A4E4 D7BE00B8 */ ldc1 $f30, 0xb8($sp)
/* 37CA28 E007A4E8 D7BC00B0 */ ldc1 $f28, 0xb0($sp)
/* 37CA2C E007A4EC D7BA00A8 */ ldc1 $f26, 0xa8($sp)
/* 37CA30 E007A4F0 D7B800A0 */ ldc1 $f24, 0xa0($sp)
/* 37CA34 E007A4F4 D7B60098 */ ldc1 $f22, 0x98($sp)
/* 37CA38 E007A4F8 D7B40090 */ ldc1 $f20, 0x90($sp)
/* 37CA3C E007A4FC 03E00008 */ jr $ra
/* 37CA40 E007A500 27BD00C0 */ addiu $sp, $sp, 0xc0

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007A504
/* 37CA44 E007A504 03E00008 */ jr $ra
/* 37CA48 E007A508 00000000 */ nop

View File

@ -0,0 +1,220 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007A50C
/* 37CA4C E007A50C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 37CA50 E007A510 AFBF0010 */ sw $ra, 0x10($sp)
/* 37CA54 E007A514 8C85000C */ lw $a1, 0xc($a0)
/* 37CA58 E007A518 8CA2005C */ lw $v0, 0x5c($a1)
/* 37CA5C E007A51C 8CA30060 */ lw $v1, 0x60($a1)
/* 37CA60 E007A520 8CA70004 */ lw $a3, 4($a1)
/* 37CA64 E007A524 2442FFFF */ addiu $v0, $v0, -1
/* 37CA68 E007A528 24630001 */ addiu $v1, $v1, 1
/* 37CA6C E007A52C ACA2005C */ sw $v0, 0x5c($a1)
/* 37CA70 E007A530 04410008 */ bgez $v0, .LE007A554
/* 37CA74 E007A534 ACA30060 */ sw $v1, 0x60($a1)
/* 37CA78 E007A538 24020002 */ addiu $v0, $zero, 2
/* 37CA7C E007A53C 14E20005 */ bne $a3, $v0, .LE007A554
/* 37CA80 E007A540 00000000 */ nop
/* 37CA84 E007A544 0C080128 */ jal func_E02004A0
/* 37CA88 E007A548 00000000 */ nop
/* 37CA8C E007A54C 0801EA0D */ j .LE007A834
/* 37CA90 E007A550 00000000 */ nop
.LE007A554:
/* 37CA94 E007A554 8CA8005C */ lw $t0, 0x5c($a1)
/* 37CA98 E007A558 8C820008 */ lw $v0, 8($a0)
/* 37CA9C E007A55C 24060001 */ addiu $a2, $zero, 1
/* 37CAA0 E007A560 00C2102A */ slt $v0, $a2, $v0
/* 37CAA4 E007A564 104000AE */ beqz $v0, .LE007A820
/* 37CAA8 E007A568 24A50068 */ addiu $a1, $a1, 0x68
/* 37CAAC E007A56C 24A3004C */ addiu $v1, $a1, 0x4c
/* 37CAB0 E007A570 3C01E008 */ lui $at, %hi(D_E007AC10)
/* 37CAB4 E007A574 D430AC10 */ ldc1 $f16, %lo(D_E007AC10)($at)
/* 37CAB8 E007A578 3C01E008 */ lui $at, %hi(D_E007AC18)
/* 37CABC E007A57C D42EAC18 */ ldc1 $f14, %lo(D_E007AC18)($at)
.LE007A580:
/* 37CAC0 E007A580 8C620018 */ lw $v0, 0x18($v1)
/* 37CAC4 E007A584 18400003 */ blez $v0, .LE007A594
/* 37CAC8 E007A588 2442FFFF */ addiu $v0, $v0, -1
/* 37CACC E007A58C 1C40009F */ bgtz $v0, .LE007A80C
/* 37CAD0 E007A590 AC620018 */ sw $v0, 0x18($v1)
.LE007A594:
/* 37CAD4 E007A594 8C620010 */ lw $v0, 0x10($v1)
/* 37CAD8 E007A598 2442FFFF */ addiu $v0, $v0, -1
/* 37CADC E007A59C 0040282D */ daddu $a1, $v0, $zero
/* 37CAE0 E007A5A0 04A10024 */ bgez $a1, .LE007A634
/* 37CAE4 E007A5A4 AC650010 */ sw $a1, 0x10($v1)
/* 37CAE8 E007A5A8 54E0001B */ bnel $a3, $zero, .LE007A618
/* 37CAEC E007A5AC AC60FFBC */ sw $zero, -0x44($v1)
/* 37CAF0 E007A5B0 24050009 */ addiu $a1, $zero, 9
/* 37CAF4 E007A5B4 C460FFD4 */ lwc1 $f0, -0x2c($v1)
/* 37CAF8 E007A5B8 C462FFD8 */ lwc1 $f2, -0x28($v1)
/* 37CAFC E007A5BC C464FFDC */ lwc1 $f4, -0x24($v1)
/* 37CB00 E007A5C0 3C013F00 */ lui $at, 0x3f00
/* 37CB04 E007A5C4 44813000 */ mtc1 $at, $f6
/* 37CB08 E007A5C8 3C014080 */ lui $at, 0x4080
/* 37CB0C E007A5CC 44814000 */ mtc1 $at, $f8
/* 37CB10 E007A5D0 3C0141A0 */ lui $at, 0x41a0
/* 37CB14 E007A5D4 44815000 */ mtc1 $at, $f10
/* 37CB18 E007A5D8 C46C0008 */ lwc1 $f12, 8($v1)
/* 37CB1C E007A5DC 240200FF */ addiu $v0, $zero, 0xff
/* 37CB20 E007A5E0 AC62000C */ sw $v0, 0xc($v1)
/* 37CB24 E007A5E4 00A0102D */ daddu $v0, $a1, $zero
/* 37CB28 E007A5E8 AC60FFBC */ sw $zero, -0x44($v1)
/* 37CB2C E007A5EC AC60FFC0 */ sw $zero, -0x40($v1)
/* 37CB30 E007A5F0 AC60FFC4 */ sw $zero, -0x3c($v1)
/* 37CB34 E007A5F4 AC620010 */ sw $v0, 0x10($v1)
/* 37CB38 E007A5F8 E460FFC8 */ swc1 $f0, -0x38($v1)
/* 37CB3C E007A5FC E462FFCC */ swc1 $f2, -0x34($v1)
/* 37CB40 E007A600 E464FFD0 */ swc1 $f4, -0x30($v1)
/* 37CB44 E007A604 E466FFF8 */ swc1 $f6, -8($v1)
/* 37CB48 E007A608 E468FFFC */ swc1 $f8, -4($v1)
/* 37CB4C E007A60C E46A0004 */ swc1 $f10, 4($v1)
/* 37CB50 E007A610 0801E98D */ j .LE007A634
/* 37CB54 E007A614 E46C0000 */ swc1 $f12, ($v1)
.LE007A618:
/* 37CB58 E007A618 AC60FFC0 */ sw $zero, -0x40($v1)
/* 37CB5C E007A61C AC60FFC4 */ sw $zero, -0x3c($v1)
/* 37CB60 E007A620 AC60FFC8 */ sw $zero, -0x38($v1)
/* 37CB64 E007A624 AC60FFCC */ sw $zero, -0x34($v1)
/* 37CB68 E007A628 AC60FFD0 */ sw $zero, -0x30($v1)
/* 37CB6C E007A62C AC60000C */ sw $zero, 0xc($v1)
/* 37CB70 E007A630 AC600010 */ sw $zero, 0x10($v1)
.LE007A634:
/* 37CB74 E007A634 24A2FFFC */ addiu $v0, $a1, -4
/* 37CB78 E007A638 2C420003 */ sltiu $v0, $v0, 3
/* 37CB7C E007A63C 1040000D */ beqz $v0, .LE007A674
/* 37CB80 E007A640 28A20008 */ slti $v0, $a1, 8
/* 37CB84 E007A644 C466FFC8 */ lwc1 $f6, -0x38($v1)
/* 37CB88 E007A648 C460FFE0 */ lwc1 $f0, -0x20($v1)
/* 37CB8C E007A64C C464FFCC */ lwc1 $f4, -0x34($v1)
/* 37CB90 E007A650 46003180 */ add.s $f6, $f6, $f0
/* 37CB94 E007A654 C460FFE4 */ lwc1 $f0, -0x1c($v1)
/* 37CB98 E007A658 C462FFD0 */ lwc1 $f2, -0x30($v1)
/* 37CB9C E007A65C 46002100 */ add.s $f4, $f4, $f0
/* 37CBA0 E007A660 C460FFE8 */ lwc1 $f0, -0x18($v1)
/* 37CBA4 E007A664 46001080 */ add.s $f2, $f2, $f0
/* 37CBA8 E007A668 E466FFC8 */ swc1 $f6, -0x38($v1)
/* 37CBAC E007A66C E464FFCC */ swc1 $f4, -0x34($v1)
/* 37CBB0 E007A670 E462FFD0 */ swc1 $f2, -0x30($v1)
.LE007A674:
/* 37CBB4 E007A674 10400023 */ beqz $v0, .LE007A704
/* 37CBB8 E007A678 00000000 */ nop
/* 37CBBC E007A67C C468FFF8 */ lwc1 $f8, -8($v1)
/* 37CBC0 E007A680 3C014008 */ lui $at, 0x4008
/* 37CBC4 E007A684 44813800 */ mtc1 $at, $f7
/* 37CBC8 E007A688 44803000 */ mtc1 $zero, $f6
/* 37CBCC E007A68C 46004221 */ cvt.d.s $f8, $f8
/* 37CBD0 E007A690 46283181 */ sub.d $f6, $f6, $f8
/* 37CBD4 E007A694 46303182 */ mul.d $f6, $f6, $f16
/* 37CBD8 E007A698 00000000 */ nop
/* 37CBDC E007A69C 3C014020 */ lui $at, 0x4020
/* 37CBE0 E007A6A0 44810800 */ mtc1 $at, $f1
/* 37CBE4 E007A6A4 44800000 */ mtc1 $zero, $f0
/* 37CBE8 E007A6A8 00000000 */ nop
/* 37CBEC E007A6AC 46203182 */ mul.d $f6, $f6, $f0
/* 37CBF0 E007A6B0 00000000 */ nop
/* 37CBF4 E007A6B4 C464FFFC */ lwc1 $f4, -4($v1)
/* 37CBF8 E007A6B8 3C013FE0 */ lui $at, 0x3fe0
/* 37CBFC E007A6BC 44810800 */ mtc1 $at, $f1
/* 37CC00 E007A6C0 44800000 */ mtc1 $zero, $f0
/* 37CC04 E007A6C4 46002121 */ cvt.d.s $f4, $f4
/* 37CC08 E007A6C8 46240001 */ sub.d $f0, $f0, $f4
/* 37CC0C E007A6CC 46300002 */ mul.d $f0, $f0, $f16
/* 37CC10 E007A6D0 00000000 */ nop
/* 37CC14 E007A6D4 3C014018 */ lui $at, 0x4018
/* 37CC18 E007A6D8 44811800 */ mtc1 $at, $f3
/* 37CC1C E007A6DC 44801000 */ mtc1 $zero, $f2
/* 37CC20 E007A6E0 00000000 */ nop
/* 37CC24 E007A6E4 46220002 */ mul.d $f0, $f0, $f2
/* 37CC28 E007A6E8 00000000 */ nop
/* 37CC2C E007A6EC 46264200 */ add.d $f8, $f8, $f6
/* 37CC30 E007A6F0 46202100 */ add.d $f4, $f4, $f0
/* 37CC34 E007A6F4 46204220 */ cvt.s.d $f8, $f8
/* 37CC38 E007A6F8 E468FFF8 */ swc1 $f8, -8($v1)
/* 37CC3C E007A6FC 46202120 */ cvt.s.d $f4, $f4
/* 37CC40 E007A700 E464FFFC */ swc1 $f4, -4($v1)
.LE007A704:
/* 37CC44 E007A704 C466FFC8 */ lwc1 $f6, -0x38($v1)
/* 37CC48 E007A708 C460FFEC */ lwc1 $f0, -0x14($v1)
/* 37CC4C E007A70C C462FFCC */ lwc1 $f2, -0x34($v1)
/* 37CC50 E007A710 46003180 */ add.s $f6, $f6, $f0
/* 37CC54 E007A714 C460FFF0 */ lwc1 $f0, -0x10($v1)
/* 37CC58 E007A718 C464FFD0 */ lwc1 $f4, -0x30($v1)
/* 37CC5C E007A71C 46001080 */ add.s $f2, $f2, $f0
/* 37CC60 E007A720 C460FFF4 */ lwc1 $f0, -0xc($v1)
/* 37CC64 E007A724 46002100 */ add.s $f4, $f4, $f0
/* 37CC68 E007A728 44800000 */ mtc1 $zero, $f0
/* 37CC6C E007A72C E466FFC8 */ swc1 $f6, -0x38($v1)
/* 37CC70 E007A730 4600103C */ c.lt.s $f2, $f0
/* 37CC74 E007A734 E462FFCC */ swc1 $f2, -0x34($v1)
/* 37CC78 E007A738 45000024 */ bc1f .LE007A7CC
/* 37CC7C E007A73C E464FFD0 */ swc1 $f4, -0x30($v1)
/* 37CC80 E007A740 460031A1 */ cvt.d.s $f6, $f6
/* 37CC84 E007A744 462E3182 */ mul.d $f6, $f6, $f14
/* 37CC88 E007A748 00000000 */ nop
/* 37CC8C E007A74C C4680004 */ lwc1 $f8, 4($v1)
/* 37CC90 E007A750 3C01E008 */ lui $at, %hi(D_E007AC20)
/* 37CC94 E007A754 D420AC20 */ ldc1 $f0, %lo(D_E007AC20)($at)
/* 37CC98 E007A758 46004221 */ cvt.d.s $f8, $f8
/* 37CC9C E007A75C 46204202 */ mul.d $f8, $f8, $f0
/* 37CCA0 E007A760 00000000 */ nop
/* 37CCA4 E007A764 46001106 */ mov.s $f4, $f2
/* 37CCA8 E007A768 3C01E008 */ lui $at, %hi(D_E007AC28)
/* 37CCAC E007A76C D420AC28 */ ldc1 $f0, %lo(D_E007AC28)($at)
/* 37CCB0 E007A770 46002121 */ cvt.d.s $f4, $f4
/* 37CCB4 E007A774 46202102 */ mul.d $f4, $f4, $f0
/* 37CCB8 E007A778 00000000 */ nop
/* 37CCBC E007A77C 3C01E008 */ lui $at, %hi(D_E007AC30)
/* 37CCC0 E007A780 D420AC30 */ ldc1 $f0, %lo(D_E007AC30)($at)
/* 37CCC4 E007A784 C462000C */ lwc1 $f2, 0xc($v1)
/* 37CCC8 E007A788 468010A1 */ cvt.d.w $f2, $f2
/* 37CCCC E007A78C 46201082 */ mul.d $f2, $f2, $f0
/* 37CCD0 E007A790 00000000 */ nop
/* 37CCD4 E007A794 C460FFD0 */ lwc1 $f0, -0x30($v1)
/* 37CCD8 E007A798 46000021 */ cvt.d.s $f0, $f0
/* 37CCDC E007A79C 462E0002 */ mul.d $f0, $f0, $f14
/* 37CCE0 E007A7A0 00000000 */ nop
/* 37CCE4 E007A7A4 462031A0 */ cvt.s.d $f6, $f6
/* 37CCE8 E007A7A8 E466FFC8 */ swc1 $f6, -0x38($v1)
/* 37CCEC E007A7AC 46204220 */ cvt.s.d $f8, $f8
/* 37CCF0 E007A7B0 E4680004 */ swc1 $f8, 4($v1)
/* 37CCF4 E007A7B4 46202120 */ cvt.s.d $f4, $f4
/* 37CCF8 E007A7B8 E464FFCC */ swc1 $f4, -0x34($v1)
/* 37CCFC E007A7BC 4620148D */ trunc.w.d $f18, $f2
/* 37CD00 E007A7C0 E472000C */ swc1 $f18, 0xc($v1)
/* 37CD04 E007A7C4 46200020 */ cvt.s.d $f0, $f0
/* 37CD08 E007A7C8 E460FFD0 */ swc1 $f0, -0x30($v1)
.LE007A7CC:
/* 37CD0C E007A7CC C468FFBC */ lwc1 $f8, -0x44($v1)
/* 37CD10 E007A7D0 C460FFC8 */ lwc1 $f0, -0x38($v1)
/* 37CD14 E007A7D4 C466FFC0 */ lwc1 $f6, -0x40($v1)
/* 37CD18 E007A7D8 46004200 */ add.s $f8, $f8, $f0
/* 37CD1C E007A7DC C460FFCC */ lwc1 $f0, -0x34($v1)
/* 37CD20 E007A7E0 C464FFC4 */ lwc1 $f4, -0x3c($v1)
/* 37CD24 E007A7E4 46003180 */ add.s $f6, $f6, $f0
/* 37CD28 E007A7E8 C460FFD0 */ lwc1 $f0, -0x30($v1)
/* 37CD2C E007A7EC C4620004 */ lwc1 $f2, 4($v1)
/* 37CD30 E007A7F0 46002100 */ add.s $f4, $f4, $f0
/* 37CD34 E007A7F4 C4600000 */ lwc1 $f0, ($v1)
/* 37CD38 E007A7F8 E468FFBC */ swc1 $f8, -0x44($v1)
/* 37CD3C E007A7FC 46020000 */ add.s $f0, $f0, $f2
/* 37CD40 E007A800 E466FFC0 */ swc1 $f6, -0x40($v1)
/* 37CD44 E007A804 E464FFC4 */ swc1 $f4, -0x3c($v1)
/* 37CD48 E007A808 E4600000 */ swc1 $f0, ($v1)
.LE007A80C:
/* 37CD4C E007A80C 24C60001 */ addiu $a2, $a2, 1
/* 37CD50 E007A810 8C820008 */ lw $v0, 8($a0)
/* 37CD54 E007A814 00C2102A */ slt $v0, $a2, $v0
/* 37CD58 E007A818 1440FF59 */ bnez $v0, .LE007A580
/* 37CD5C E007A81C 24630068 */ addiu $v1, $v1, 0x68
.LE007A820:
/* 37CD60 E007A820 05010004 */ bgez $t0, .LE007A834
/* 37CD64 E007A824 2402000A */ addiu $v0, $zero, 0xa
/* 37CD68 E007A828 8C85000C */ lw $a1, 0xc($a0)
/* 37CD6C E007A82C ACA2005C */ sw $v0, 0x5c($a1)
/* 37CD70 E007A830 ACA00060 */ sw $zero, 0x60($a1)
.LE007A834:
/* 37CD74 E007A834 8FBF0010 */ lw $ra, 0x10($sp)
/* 37CD78 E007A838 03E00008 */ jr $ra
/* 37CD7C E007A83C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007A840
/* 37CD80 E007A840 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 37CD84 E007A844 3C02E008 */ lui $v0, %hi(D_E007A88C)
/* 37CD88 E007A848 2442A88C */ addiu $v0, $v0, %lo(D_E007A88C)
/* 37CD8C E007A84C AFA2001C */ sw $v0, 0x1c($sp)
/* 37CD90 E007A850 2402002D */ addiu $v0, $zero, 0x2d
/* 37CD94 E007A854 AFA40018 */ sw $a0, 0x18($sp)
/* 37CD98 E007A858 27A40010 */ addiu $a0, $sp, 0x10
/* 37CD9C E007A85C AFBF0020 */ sw $ra, 0x20($sp)
/* 37CDA0 E007A860 AFA00014 */ sw $zero, 0x14($sp)
/* 37CDA4 E007A864 0C080120 */ jal func_E0200480
/* 37CDA8 E007A868 AFA20010 */ sw $v0, 0x10($sp)
/* 37CDAC E007A86C 8C430000 */ lw $v1, ($v0)
/* 37CDB0 E007A870 34630002 */ ori $v1, $v1, 2
/* 37CDB4 E007A874 AC430000 */ sw $v1, ($v0)
/* 37CDB8 E007A878 8FBF0020 */ lw $ra, 0x20($sp)
/* 37CDBC E007A87C 03E00008 */ jr $ra
/* 37CDC0 E007A880 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007A884
/* 37CDC4 E007A884 03E00008 */ jr $ra
/* 37CDC8 E007A888 00000000 */ nop

View File

@ -0,0 +1,227 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007A88C
/* 37CDCC E007A88C 27BDFF30 */ addiu $sp, $sp, -0xd0
/* 37CDD0 E007A890 AFBE00B8 */ sw $fp, 0xb8($sp)
/* 37CDD4 E007A894 0080F02D */ daddu $fp, $a0, $zero
/* 37CDD8 E007A898 3C06DB06 */ lui $a2, 0xdb06
/* 37CDDC E007A89C 34C60024 */ ori $a2, $a2, 0x24
/* 37CDE0 E007A8A0 27A40018 */ addiu $a0, $sp, 0x18
/* 37CDE4 E007A8A4 AFB00098 */ sw $s0, 0x98($sp)
/* 37CDE8 E007A8A8 3C100001 */ lui $s0, 1
/* 37CDEC E007A8AC 36101630 */ ori $s0, $s0, 0x1630
/* 37CDF0 E007A8B0 AFB500AC */ sw $s5, 0xac($sp)
/* 37CDF4 E007A8B4 24150001 */ addiu $s5, $zero, 1
/* 37CDF8 E007A8B8 AFB1009C */ sw $s1, 0x9c($sp)
/* 37CDFC E007A8BC 3C11800A */ lui $s1, %hi(D_8009A66C)
/* 37CE00 E007A8C0 2631A66C */ addiu $s1, $s1, %lo(D_8009A66C)
/* 37CE04 E007A8C4 3C02E700 */ lui $v0, 0xe700
/* 37CE08 E007A8C8 AFBF00BC */ sw $ra, 0xbc($sp)
/* 37CE0C E007A8CC AFB700B4 */ sw $s7, 0xb4($sp)
/* 37CE10 E007A8D0 AFB600B0 */ sw $s6, 0xb0($sp)
/* 37CE14 E007A8D4 AFB400A8 */ sw $s4, 0xa8($sp)
/* 37CE18 E007A8D8 AFB300A4 */ sw $s3, 0xa4($sp)
/* 37CE1C E007A8DC AFB200A0 */ sw $s2, 0xa0($sp)
/* 37CE20 E007A8E0 F7B600C8 */ sdc1 $f22, 0xc8($sp)
/* 37CE24 E007A8E4 F7B400C0 */ sdc1 $f20, 0xc0($sp)
/* 37CE28 E007A8E8 8E230000 */ lw $v1, ($s1)
/* 37CE2C E007A8EC 8FD2000C */ lw $s2, 0xc($fp)
/* 37CE30 E007A8F0 0060282D */ daddu $a1, $v1, $zero
/* 37CE34 E007A8F4 24630008 */ addiu $v1, $v1, 8
/* 37CE38 E007A8F8 AE230000 */ sw $v1, ($s1)
/* 37CE3C E007A8FC ACA20000 */ sw $v0, ($a1)
/* 37CE40 E007A900 24620008 */ addiu $v0, $v1, 8
/* 37CE44 E007A904 ACA00004 */ sw $zero, 4($a1)
/* 37CE48 E007A908 AE220000 */ sw $v0, ($s1)
/* 37CE4C E007A90C AC660000 */ sw $a2, ($v1)
/* 37CE50 E007A910 8FC50010 */ lw $a1, 0x10($fp)
/* 37CE54 E007A914 24620010 */ addiu $v0, $v1, 0x10
/* 37CE58 E007A918 AE220000 */ sw $v0, ($s1)
/* 37CE5C E007A91C 8CA5001C */ lw $a1, 0x1c($a1)
/* 37CE60 E007A920 3C02DE00 */ lui $v0, 0xde00
/* 37CE64 E007A924 AC620008 */ sw $v0, 8($v1)
/* 37CE68 E007A928 3C020900 */ lui $v0, 0x900
/* 37CE6C E007A92C 24420240 */ addiu $v0, $v0, 0x240
/* 37CE70 E007A930 AC62000C */ sw $v0, 0xc($v1)
/* 37CE74 E007A934 3C028000 */ lui $v0, 0x8000
/* 37CE78 E007A938 00A22821 */ addu $a1, $a1, $v0
/* 37CE7C E007A93C AC650004 */ sw $a1, 4($v1)
/* 37CE80 E007A940 8E450008 */ lw $a1, 8($s2)
/* 37CE84 E007A944 8E46000C */ lw $a2, 0xc($s2)
/* 37CE88 E007A948 8E470010 */ lw $a3, 0x10($s2)
/* 37CE8C E007A94C 0C080108 */ jal func_E0200420
/* 37CE90 E007A950 26520068 */ addiu $s2, $s2, 0x68
/* 37CE94 E007A954 27A40018 */ addiu $a0, $sp, 0x18
/* 37CE98 E007A958 3C148007 */ lui $s4, %hi(D_800741F0)
/* 37CE9C E007A95C 269441F0 */ addiu $s4, $s4, %lo(D_800741F0)
/* 37CEA0 E007A960 3C16800A */ lui $s6, %hi(D_8009A674)
/* 37CEA4 E007A964 26D6A674 */ addiu $s6, $s6, %lo(D_8009A674)
/* 37CEA8 E007A968 96850000 */ lhu $a1, ($s4)
/* 37CEAC E007A96C 8EC20000 */ lw $v0, ($s6)
/* 37CEB0 E007A970 00052980 */ sll $a1, $a1, 6
/* 37CEB4 E007A974 00B02821 */ addu $a1, $a1, $s0
/* 37CEB8 E007A978 0C080118 */ jal func_E0200460
/* 37CEBC E007A97C 00452821 */ addu $a1, $v0, $a1
/* 37CEC0 E007A980 3C03DA38 */ lui $v1, 0xda38
/* 37CEC4 E007A984 34630002 */ ori $v1, $v1, 2
/* 37CEC8 E007A988 8E220000 */ lw $v0, ($s1)
/* 37CECC E007A98C 96840000 */ lhu $a0, ($s4)
/* 37CED0 E007A990 0040282D */ daddu $a1, $v0, $zero
/* 37CED4 E007A994 24420008 */ addiu $v0, $v0, 8
/* 37CED8 E007A998 AE220000 */ sw $v0, ($s1)
/* 37CEDC E007A99C 3082FFFF */ andi $v0, $a0, 0xffff
/* 37CEE0 E007A9A0 00021180 */ sll $v0, $v0, 6
/* 37CEE4 E007A9A4 ACA30000 */ sw $v1, ($a1)
/* 37CEE8 E007A9A8 8EC30000 */ lw $v1, ($s6)
/* 37CEEC E007A9AC 00501021 */ addu $v0, $v0, $s0
/* 37CEF0 E007A9B0 00621821 */ addu $v1, $v1, $v0
/* 37CEF4 E007A9B4 ACA30004 */ sw $v1, 4($a1)
/* 37CEF8 E007A9B8 8FC20008 */ lw $v0, 8($fp)
/* 37CEFC E007A9BC 00952021 */ addu $a0, $a0, $s5
/* 37CF00 E007A9C0 02A2102A */ slt $v0, $s5, $v0
/* 37CF04 E007A9C4 1040006F */ beqz $v0, .LE007AB84
/* 37CF08 E007A9C8 A6840000 */ sh $a0, ($s4)
/* 37CF0C E007A9CC 0220982D */ daddu $s3, $s1, $zero
/* 37CF10 E007A9D0 27B10058 */ addiu $s1, $sp, 0x58
/* 37CF14 E007A9D4 02C0B82D */ daddu $s7, $s6, $zero
/* 37CF18 E007A9D8 0280B02D */ daddu $s6, $s4, $zero
/* 37CF1C E007A9DC 3C140001 */ lui $s4, 1
/* 37CF20 E007A9E0 36941630 */ ori $s4, $s4, 0x1630
/* 37CF24 E007A9E4 2650004C */ addiu $s0, $s2, 0x4c
/* 37CF28 E007A9E8 4480A000 */ mtc1 $zero, $f20
/* 37CF2C E007A9EC 3C013F80 */ lui $at, 0x3f80
/* 37CF30 E007A9F0 4481B000 */ mtc1 $at, $f22
.LE007A9F4:
/* 37CF34 E007A9F4 3C05C8FF */ lui $a1, 0xc8ff
/* 37CF38 E007A9F8 8E620000 */ lw $v0, ($s3)
/* 37CF3C E007A9FC 34A5FF00 */ ori $a1, $a1, 0xff00
/* 37CF40 E007AA00 0040182D */ daddu $v1, $v0, $zero
/* 37CF44 E007AA04 24420008 */ addiu $v0, $v0, 8
/* 37CF48 E007AA08 AE620000 */ sw $v0, ($s3)
/* 37CF4C E007AA0C 3C02FA00 */ lui $v0, 0xfa00
/* 37CF50 E007AA10 AC620000 */ sw $v0, ($v1)
/* 37CF54 E007AA14 9202000F */ lbu $v0, 0xf($s0)
/* 37CF58 E007AA18 27A40018 */ addiu $a0, $sp, 0x18
/* 37CF5C E007AA1C 00451025 */ or $v0, $v0, $a1
/* 37CF60 E007AA20 AC620004 */ sw $v0, 4($v1)
/* 37CF64 E007AA24 8E05FFBC */ lw $a1, -0x44($s0)
/* 37CF68 E007AA28 8E06FFC0 */ lw $a2, -0x40($s0)
/* 37CF6C E007AA2C 8E07FFC4 */ lw $a3, -0x3c($s0)
/* 37CF70 E007AA30 0C080108 */ jal func_E0200420
/* 37CF74 E007AA34 26B50001 */ addiu $s5, $s5, 1
/* 37CF78 E007AA38 3C08800B */ lui $t0, %hi(gCameras)
/* 37CF7C E007AA3C 25081D80 */ addiu $t0, $t0, %lo(gCameras)
/* 37CF80 E007AA40 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 37CF84 E007AA44 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 37CF88 E007AA48 4406A000 */ mfc1 $a2, $f20
/* 37CF8C E007AA4C 00031080 */ sll $v0, $v1, 2
/* 37CF90 E007AA50 00431021 */ addu $v0, $v0, $v1
/* 37CF94 E007AA54 00021080 */ sll $v0, $v0, 2
/* 37CF98 E007AA58 00431023 */ subu $v0, $v0, $v1
/* 37CF9C E007AA5C 000218C0 */ sll $v1, $v0, 3
/* 37CFA0 E007AA60 00431021 */ addu $v0, $v0, $v1
/* 37CFA4 E007AA64 000210C0 */ sll $v0, $v0, 3
/* 37CFA8 E007AA68 00481021 */ addu $v0, $v0, $t0
/* 37CFAC E007AA6C C440006C */ lwc1 $f0, 0x6c($v0)
/* 37CFB0 E007AA70 4407B000 */ mfc1 $a3, $f22
/* 37CFB4 E007AA74 46000007 */ neg.s $f0, $f0
/* 37CFB8 E007AA78 44050000 */ mfc1 $a1, $f0
/* 37CFBC E007AA7C 0220202D */ daddu $a0, $s1, $zero
/* 37CFC0 E007AA80 0C080104 */ jal func_E0200410
/* 37CFC4 E007AA84 E7B40010 */ swc1 $f20, 0x10($sp)
/* 37CFC8 E007AA88 0220202D */ daddu $a0, $s1, $zero
/* 37CFCC E007AA8C 27A50018 */ addiu $a1, $sp, 0x18
/* 37CFD0 E007AA90 0C080114 */ jal func_E0200450
/* 37CFD4 E007AA94 00A0302D */ daddu $a2, $a1, $zero
/* 37CFD8 E007AA98 0220202D */ daddu $a0, $s1, $zero
/* 37CFDC E007AA9C 8E05FFF8 */ lw $a1, -8($s0)
/* 37CFE0 E007AAA0 8E06FFFC */ lw $a2, -4($s0)
/* 37CFE4 E007AAA4 0C080110 */ jal func_E0200440
/* 37CFE8 E007AAA8 00A0382D */ daddu $a3, $a1, $zero
/* 37CFEC E007AAAC 0220202D */ daddu $a0, $s1, $zero
/* 37CFF0 E007AAB0 27A50018 */ addiu $a1, $sp, 0x18
/* 37CFF4 E007AAB4 0C080114 */ jal func_E0200450
/* 37CFF8 E007AAB8 00A0302D */ daddu $a2, $a1, $zero
/* 37CFFC E007AABC 0220202D */ daddu $a0, $s1, $zero
/* 37D000 E007AAC0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 37D004 E007AAC4 8E050000 */ lw $a1, ($s0)
/* 37D008 E007AAC8 4406A000 */ mfc1 $a2, $f20
/* 37D00C E007AACC 4407A000 */ mfc1 $a3, $f20
/* 37D010 E007AAD0 0C080104 */ jal func_E0200410
/* 37D014 E007AAD4 26100068 */ addiu $s0, $s0, 0x68
/* 37D018 E007AAD8 0220202D */ daddu $a0, $s1, $zero
/* 37D01C E007AADC 27A50018 */ addiu $a1, $sp, 0x18
/* 37D020 E007AAE0 0C080114 */ jal func_E0200450
/* 37D024 E007AAE4 00A0302D */ daddu $a2, $a1, $zero
/* 37D028 E007AAE8 27A40018 */ addiu $a0, $sp, 0x18
/* 37D02C E007AAEC 96C50000 */ lhu $a1, ($s6)
/* 37D030 E007AAF0 8EE20000 */ lw $v0, ($s7)
/* 37D034 E007AAF4 00052980 */ sll $a1, $a1, 6
/* 37D038 E007AAF8 00B42821 */ addu $a1, $a1, $s4
/* 37D03C E007AAFC 0C080118 */ jal func_E0200460
/* 37D040 E007AB00 00452821 */ addu $a1, $v0, $a1
/* 37D044 E007AB04 3C06D838 */ lui $a2, 0xd838
/* 37D048 E007AB08 8E640000 */ lw $a0, ($s3)
/* 37D04C E007AB0C 34C60002 */ ori $a2, $a2, 2
/* 37D050 E007AB10 0080282D */ daddu $a1, $a0, $zero
/* 37D054 E007AB14 24840008 */ addiu $a0, $a0, 8
/* 37D058 E007AB18 AE640000 */ sw $a0, ($s3)
/* 37D05C E007AB1C 96C20000 */ lhu $v0, ($s6)
/* 37D060 E007AB20 3C03DA38 */ lui $v1, 0xda38
/* 37D064 E007AB24 ACA30000 */ sw $v1, ($a1)
/* 37D068 E007AB28 24430001 */ addiu $v1, $v0, 1
/* 37D06C E007AB2C 3042FFFF */ andi $v0, $v0, 0xffff
/* 37D070 E007AB30 00021180 */ sll $v0, $v0, 6
/* 37D074 E007AB34 A6C30000 */ sh $v1, ($s6)
/* 37D078 E007AB38 8EE30000 */ lw $v1, ($s7)
/* 37D07C E007AB3C 00541021 */ addu $v0, $v0, $s4
/* 37D080 E007AB40 00621821 */ addu $v1, $v1, $v0
/* 37D084 E007AB44 24820008 */ addiu $v0, $a0, 8
/* 37D088 E007AB48 ACA30004 */ sw $v1, 4($a1)
/* 37D08C E007AB4C AE620000 */ sw $v0, ($s3)
/* 37D090 E007AB50 3C02DE00 */ lui $v0, 0xde00
/* 37D094 E007AB54 AC820000 */ sw $v0, ($a0)
/* 37D098 E007AB58 3C020900 */ lui $v0, 0x900
/* 37D09C E007AB5C 244202E8 */ addiu $v0, $v0, 0x2e8
/* 37D0A0 E007AB60 AC820004 */ sw $v0, 4($a0)
/* 37D0A4 E007AB64 24020040 */ addiu $v0, $zero, 0x40
/* 37D0A8 E007AB68 AC860008 */ sw $a2, 8($a0)
/* 37D0AC E007AB6C AC82000C */ sw $v0, 0xc($a0)
/* 37D0B0 E007AB70 8FC20008 */ lw $v0, 8($fp)
/* 37D0B4 E007AB74 24840010 */ addiu $a0, $a0, 0x10
/* 37D0B8 E007AB78 02A2102A */ slt $v0, $s5, $v0
/* 37D0BC E007AB7C 1440FF9D */ bnez $v0, .LE007A9F4
/* 37D0C0 E007AB80 AE640000 */ sw $a0, ($s3)
.LE007AB84:
/* 37D0C4 E007AB84 3C03D838 */ lui $v1, 0xd838
/* 37D0C8 E007AB88 3C04800A */ lui $a0, %hi(D_8009A66C)
/* 37D0CC E007AB8C 2484A66C */ addiu $a0, $a0, %lo(D_8009A66C)
/* 37D0D0 E007AB90 8C820000 */ lw $v0, ($a0)
/* 37D0D4 E007AB94 34630002 */ ori $v1, $v1, 2
/* 37D0D8 E007AB98 0040282D */ daddu $a1, $v0, $zero
/* 37D0DC E007AB9C 24420008 */ addiu $v0, $v0, 8
/* 37D0E0 E007ABA0 AC820000 */ sw $v0, ($a0)
/* 37D0E4 E007ABA4 ACA30000 */ sw $v1, ($a1)
/* 37D0E8 E007ABA8 24030040 */ addiu $v1, $zero, 0x40
/* 37D0EC E007ABAC ACA30004 */ sw $v1, 4($a1)
/* 37D0F0 E007ABB0 24430008 */ addiu $v1, $v0, 8
/* 37D0F4 E007ABB4 AC830000 */ sw $v1, ($a0)
/* 37D0F8 E007ABB8 3C03E700 */ lui $v1, 0xe700
/* 37D0FC E007ABBC AC430000 */ sw $v1, ($v0)
/* 37D100 E007ABC0 AC400004 */ sw $zero, 4($v0)
/* 37D104 E007ABC4 8FBF00BC */ lw $ra, 0xbc($sp)
/* 37D108 E007ABC8 8FBE00B8 */ lw $fp, 0xb8($sp)
/* 37D10C E007ABCC 8FB700B4 */ lw $s7, 0xb4($sp)
/* 37D110 E007ABD0 8FB600B0 */ lw $s6, 0xb0($sp)
/* 37D114 E007ABD4 8FB500AC */ lw $s5, 0xac($sp)
/* 37D118 E007ABD8 8FB400A8 */ lw $s4, 0xa8($sp)
/* 37D11C E007ABDC 8FB300A4 */ lw $s3, 0xa4($sp)
/* 37D120 E007ABE0 8FB200A0 */ lw $s2, 0xa0($sp)
/* 37D124 E007ABE4 8FB1009C */ lw $s1, 0x9c($sp)
/* 37D128 E007ABE8 8FB00098 */ lw $s0, 0x98($sp)
/* 37D12C E007ABEC D7B600C8 */ ldc1 $f22, 0xc8($sp)
/* 37D130 E007ABF0 D7B400C0 */ ldc1 $f20, 0xc0($sp)
/* 37D134 E007ABF4 03E00008 */ jr $ra
/* 37D138 E007ABF8 27BD00D0 */ addiu $sp, $sp, 0xd0
/* 37D13C E007ABFC 00000000 */ nop

View File

@ -0,0 +1,82 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007C000
/* 37D490 E007C000 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 37D494 E007C004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 37D498 E007C008 4485A000 */ mtc1 $a1, $f20
/* 37D49C E007C00C F7B60048 */ sdc1 $f22, 0x48($sp)
/* 37D4A0 E007C010 4486B000 */ mtc1 $a2, $f22
/* 37D4A4 E007C014 AFB30034 */ sw $s3, 0x34($sp)
/* 37D4A8 E007C018 0080982D */ daddu $s3, $a0, $zero
/* 37D4AC E007C01C F7B80050 */ sdc1 $f24, 0x50($sp)
/* 37D4B0 E007C020 4487C000 */ mtc1 $a3, $f24
/* 37D4B4 E007C024 27A40010 */ addiu $a0, $sp, 0x10
/* 37D4B8 E007C028 AFB20030 */ sw $s2, 0x30($sp)
/* 37D4BC E007C02C 8FB2006C */ lw $s2, 0x6c($sp)
/* 37D4C0 E007C030 3C02E008 */ lui $v0, %hi(D_E007C128)
/* 37D4C4 E007C034 2442C128 */ addiu $v0, $v0, %lo(D_E007C128)
/* 37D4C8 E007C038 AFA20018 */ sw $v0, 0x18($sp)
/* 37D4CC E007C03C 3C02E008 */ lui $v0, %hi(D_E007C130)
/* 37D4D0 E007C040 2442C130 */ addiu $v0, $v0, %lo(D_E007C130)
/* 37D4D4 E007C044 AFA2001C */ sw $v0, 0x1c($sp)
/* 37D4D8 E007C048 3C02E008 */ lui $v0, %hi(D_E007C1B0)
/* 37D4DC E007C04C 2442C1B0 */ addiu $v0, $v0, %lo(D_E007C1B0)
/* 37D4E0 E007C050 AFA20020 */ sw $v0, 0x20($sp)
/* 37D4E4 E007C054 2402003E */ addiu $v0, $zero, 0x3e
/* 37D4E8 E007C058 AFBF0038 */ sw $ra, 0x38($sp)
/* 37D4EC E007C05C AFB1002C */ sw $s1, 0x2c($sp)
/* 37D4F0 E007C060 AFB00028 */ sw $s0, 0x28($sp)
/* 37D4F4 E007C064 AFA00010 */ sw $zero, 0x10($sp)
/* 37D4F8 E007C068 AFA00024 */ sw $zero, 0x24($sp)
/* 37D4FC E007C06C 0C080124 */ jal func_E0200490
/* 37D500 E007C070 AFA20014 */ sw $v0, 0x14($sp)
/* 37D504 E007C074 2404002C */ addiu $a0, $zero, 0x2c
/* 37D508 E007C078 24110001 */ addiu $s1, $zero, 1
/* 37D50C E007C07C 0040802D */ daddu $s0, $v0, $zero
/* 37D510 E007C080 0C08012C */ jal func_E02004B0
/* 37D514 E007C084 AE110008 */ sw $s1, 8($s0)
/* 37D518 E007C088 AE02000C */ sw $v0, 0xc($s0)
/* 37D51C E007C08C 0040802D */ daddu $s0, $v0, $zero
/* 37D520 E007C090 16000003 */ bnez $s0, .LE007C0A0
/* 37D524 E007C094 0200202D */ daddu $a0, $s0, $zero
.LE007C098:
/* 37D528 E007C098 0801F026 */ j .LE007C098
/* 37D52C E007C09C 00000000 */ nop
.LE007C0A0:
/* 37D530 E007C0A0 00112840 */ sll $a1, $s1, 1
/* 37D534 E007C0A4 00B12821 */ addu $a1, $a1, $s1
/* 37D538 E007C0A8 00052880 */ sll $a1, $a1, 2
/* 37D53C E007C0AC 00B12823 */ subu $a1, $a1, $s1
/* 37D540 E007C0B0 0C080130 */ jal func_E02004C0
/* 37D544 E007C0B4 00052880 */ sll $a1, $a1, 2
/* 37D548 E007C0B8 AE120014 */ sw $s2, 0x14($s0)
/* 37D54C E007C0BC AE000018 */ sw $zero, 0x18($s0)
/* 37D550 E007C0C0 AE12001C */ sw $s2, 0x1c($s0)
/* 37D554 E007C0C4 AE000020 */ sw $zero, 0x20($s0)
/* 37D558 E007C0C8 A6130000 */ sh $s3, ($s0)
/* 37D55C E007C0CC E6140004 */ swc1 $f20, 4($s0)
/* 37D560 E007C0D0 E6160008 */ swc1 $f22, 8($s0)
/* 37D564 E007C0D4 E618000C */ swc1 $f24, 0xc($s0)
/* 37D568 E007C0D8 C7A00068 */ lwc1 $f0, 0x68($sp)
/* 37D56C E007C0DC AE000024 */ sw $zero, 0x24($s0)
/* 37D570 E007C0E0 16600003 */ bnez $s3, .LE007C0F0
/* 37D574 E007C0E4 E6000010 */ swc1 $f0, 0x10($s0)
/* 37D578 E007C0E8 0801F040 */ j .LE007C100
/* 37D57C E007C0EC AE000028 */ sw $zero, 0x28($s0)
.LE007C0F0:
/* 37D580 E007C0F0 3C014220 */ lui $at, 0x4220
/* 37D584 E007C0F4 44810000 */ mtc1 $at, $f0
/* 37D588 E007C0F8 00000000 */ nop
/* 37D58C E007C0FC E6000028 */ swc1 $f0, 0x28($s0)
.LE007C100:
/* 37D590 E007C100 8FBF0038 */ lw $ra, 0x38($sp)
/* 37D594 E007C104 8FB30034 */ lw $s3, 0x34($sp)
/* 37D598 E007C108 8FB20030 */ lw $s2, 0x30($sp)
/* 37D59C E007C10C 8FB1002C */ lw $s1, 0x2c($sp)
/* 37D5A0 E007C110 8FB00028 */ lw $s0, 0x28($sp)
/* 37D5A4 E007C114 D7B80050 */ ldc1 $f24, 0x50($sp)
/* 37D5A8 E007C118 D7B60048 */ ldc1 $f22, 0x48($sp)
/* 37D5AC E007C11C D7B40040 */ ldc1 $f20, 0x40($sp)
/* 37D5B0 E007C120 03E00008 */ jr $ra
/* 37D5B4 E007C124 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007C128
/* 37D5B8 E007C128 03E00008 */ jr $ra
/* 37D5BC E007C12C 00000000 */ nop

View File

@ -0,0 +1,38 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007C130
/* 37D5C0 E007C130 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 37D5C4 E007C134 AFBF0010 */ sw $ra, 0x10($sp)
/* 37D5C8 E007C138 8C85000C */ lw $a1, 0xc($a0)
/* 37D5CC E007C13C 3C014110 */ lui $at, 0x4110
/* 37D5D0 E007C140 44810000 */ mtc1 $at, $f0
/* 37D5D4 E007C144 8CA20018 */ lw $v0, 0x18($a1)
/* 37D5D8 E007C148 8CA30014 */ lw $v1, 0x14($a1)
/* 37D5DC E007C14C 44821000 */ mtc1 $v0, $f2
/* 37D5E0 E007C150 00000000 */ nop
/* 37D5E4 E007C154 468010A0 */ cvt.s.w $f2, $f2
/* 37D5E8 E007C158 24420001 */ addiu $v0, $v0, 1
/* 37D5EC E007C15C 46001082 */ mul.s $f2, $f2, $f0
/* 37D5F0 E007C160 00000000 */ nop
/* 37D5F4 E007C164 2463FFFF */ addiu $v1, $v1, -1
/* 37D5F8 E007C168 C4A0001C */ lwc1 $f0, 0x1c($a1)
/* 37D5FC E007C16C 46800020 */ cvt.s.w $f0, $f0
/* 37D600 E007C170 ACA20018 */ sw $v0, 0x18($a1)
/* 37D604 E007C174 ACA30014 */ sw $v1, 0x14($a1)
/* 37D608 E007C178 46001083 */ div.s $f2, $f2, $f0
/* 37D60C E007C17C 04610005 */ bgez $v1, .LE007C194
/* 37D610 E007C180 E4A20020 */ swc1 $f2, 0x20($a1)
/* 37D614 E007C184 0C080128 */ jal func_E02004A0
/* 37D618 E007C188 00000000 */ nop
/* 37D61C E007C18C 0801F069 */ j .LE007C1A4
/* 37D620 E007C190 00000000 */ nop
.LE007C194:
/* 37D624 E007C194 C4A00024 */ lwc1 $f0, 0x24($a1)
/* 37D628 E007C198 C4A20028 */ lwc1 $f2, 0x28($a1)
/* 37D62C E007C19C 46020000 */ add.s $f0, $f0, $f2
/* 37D630 E007C1A0 E4A00024 */ swc1 $f0, 0x24($a1)
.LE007C1A4:
/* 37D634 E007C1A4 8FBF0010 */ lw $ra, 0x10($sp)
/* 37D638 E007C1A8 03E00008 */ jr $ra
/* 37D63C E007C1AC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007C1B0
/* 37D640 E007C1B0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 37D644 E007C1B4 3C02E008 */ lui $v0, %hi(D_E007C1F4)
/* 37D648 E007C1B8 2442C1F4 */ addiu $v0, $v0, %lo(D_E007C1F4)
/* 37D64C E007C1BC AFA2001C */ sw $v0, 0x1c($sp)
/* 37D650 E007C1C0 24020028 */ addiu $v0, $zero, 0x28
/* 37D654 E007C1C4 AFA40018 */ sw $a0, 0x18($sp)
/* 37D658 E007C1C8 27A40010 */ addiu $a0, $sp, 0x10
/* 37D65C E007C1CC AFBF0020 */ sw $ra, 0x20($sp)
/* 37D660 E007C1D0 AFA00014 */ sw $zero, 0x14($sp)
/* 37D664 E007C1D4 0C080120 */ jal func_E0200480
/* 37D668 E007C1D8 AFA20010 */ sw $v0, 0x10($sp)
/* 37D66C E007C1DC 8C430000 */ lw $v1, ($v0)
/* 37D670 E007C1E0 34630002 */ ori $v1, $v1, 2
/* 37D674 E007C1E4 AC430000 */ sw $v1, ($v0)
/* 37D678 E007C1E8 8FBF0020 */ lw $ra, 0x20($sp)
/* 37D67C E007C1EC 03E00008 */ jr $ra
/* 37D680 E007C1F0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,205 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E007C1F4
/* 37D684 E007C1F4 27BDFEF0 */ addiu $sp, $sp, -0x110
/* 37D688 E007C1F8 0080302D */ daddu $a2, $a0, $zero
/* 37D68C E007C1FC 3C07DB06 */ lui $a3, 0xdb06
/* 37D690 E007C200 34E70024 */ ori $a3, $a3, 0x24
/* 37D694 E007C204 27A40018 */ addiu $a0, $sp, 0x18
/* 37D698 E007C208 AFB300E4 */ sw $s3, 0xe4($sp)
/* 37D69C E007C20C 3C130001 */ lui $s3, 1
/* 37D6A0 E007C210 AFB400E8 */ sw $s4, 0xe8($sp)
/* 37D6A4 E007C214 3C14800A */ lui $s4, %hi(D_8009A66C)
/* 37D6A8 E007C218 2694A66C */ addiu $s4, $s4, %lo(D_8009A66C)
/* 37D6AC E007C21C AFBF00F0 */ sw $ra, 0xf0($sp)
/* 37D6B0 E007C220 AFB500EC */ sw $s5, 0xec($sp)
/* 37D6B4 E007C224 AFB200E0 */ sw $s2, 0xe0($sp)
/* 37D6B8 E007C228 AFB100DC */ sw $s1, 0xdc($sp)
/* 37D6BC E007C22C AFB000D8 */ sw $s0, 0xd8($sp)
/* 37D6C0 E007C230 F7B80108 */ sdc1 $f24, 0x108($sp)
/* 37D6C4 E007C234 F7B60100 */ sdc1 $f22, 0x100($sp)
/* 37D6C8 E007C238 F7B400F8 */ sdc1 $f20, 0xf8($sp)
/* 37D6CC E007C23C 8E830000 */ lw $v1, ($s4)
/* 37D6D0 E007C240 8CD1000C */ lw $s1, 0xc($a2)
/* 37D6D4 E007C244 3C014380 */ lui $at, 0x4380
/* 37D6D8 E007C248 4481C000 */ mtc1 $at, $f24
/* 37D6DC E007C24C 0060282D */ daddu $a1, $v1, $zero
/* 37D6E0 E007C250 24630008 */ addiu $v1, $v1, 8
/* 37D6E4 E007C254 AE830000 */ sw $v1, ($s4)
/* 37D6E8 E007C258 C6220020 */ lwc1 $f2, 0x20($s1)
/* 37D6EC E007C25C 3C02E700 */ lui $v0, 0xe700
/* 37D6F0 E007C260 ACA20000 */ sw $v0, ($a1)
/* 37D6F4 E007C264 24620008 */ addiu $v0, $v1, 8
/* 37D6F8 E007C268 ACA00004 */ sw $zero, 4($a1)
/* 37D6FC E007C26C AE820000 */ sw $v0, ($s4)
/* 37D700 E007C270 24620010 */ addiu $v0, $v1, 0x10
/* 37D704 E007C274 AC670000 */ sw $a3, ($v1)
/* 37D708 E007C278 AE820000 */ sw $v0, ($s4)
/* 37D70C E007C27C 24620018 */ addiu $v0, $v1, 0x18
/* 37D710 E007C280 8CC50010 */ lw $a1, 0x10($a2)
/* 37D714 E007C284 3C06DE00 */ lui $a2, 0xde00
/* 37D718 E007C288 AE820000 */ sw $v0, ($s4)
/* 37D71C E007C28C 8CA5001C */ lw $a1, 0x1c($a1)
/* 37D720 E007C290 3C020900 */ lui $v0, 0x900
/* 37D724 E007C294 24421300 */ addiu $v0, $v0, 0x1300
/* 37D728 E007C298 AC62000C */ sw $v0, 0xc($v1)
/* 37D72C E007C29C 3C028000 */ lui $v0, 0x8000
/* 37D730 E007C2A0 AC660008 */ sw $a2, 8($v1)
/* 37D734 E007C2A4 AC660010 */ sw $a2, 0x10($v1)
/* 37D738 E007C2A8 00A22821 */ addu $a1, $a1, $v0
/* 37D73C E007C2AC 4600110D */ trunc.w.s $f4, $f2
/* 37D740 E007C2B0 44022000 */ mfc1 $v0, $f4
/* 37D744 E007C2B4 00000000 */ nop
/* 37D748 E007C2B8 44820000 */ mtc1 $v0, $f0
/* 37D74C E007C2BC 00000000 */ nop
/* 37D750 E007C2C0 46800020 */ cvt.s.w $f0, $f0
/* 37D754 E007C2C4 00021080 */ sll $v0, $v0, 2
/* 37D758 E007C2C8 46001081 */ sub.s $f2, $f2, $f0
/* 37D75C E007C2CC AC650004 */ sw $a1, 4($v1)
/* 37D760 E007C2D0 3C01E008 */ lui $at, %hi(D_E007C510)
/* 37D764 E007C2D4 00220821 */ addu $at, $at, $v0
/* 37D768 E007C2D8 8C22C510 */ lw $v0, %lo(D_E007C510)($at)
/* 37D76C E007C2DC 46181082 */ mul.s $f2, $f2, $f24
/* 37D770 E007C2E0 00000000 */ nop
/* 37D774 E007C2E4 AC620014 */ sw $v0, 0x14($v1)
/* 37D778 E007C2E8 8E250004 */ lw $a1, 4($s1)
/* 37D77C E007C2EC 8E260008 */ lw $a2, 8($s1)
/* 37D780 E007C2F0 8E27000C */ lw $a3, 0xc($s1)
/* 37D784 E007C2F4 4600110D */ trunc.w.s $f4, $f2
/* 37D788 E007C2F8 44152000 */ mfc1 $s5, $f4
/* 37D78C E007C2FC 0C080108 */ jal func_E0200420
/* 37D790 E007C300 36731630 */ ori $s3, $s3, 0x1630
/* 37D794 E007C304 27B00058 */ addiu $s0, $sp, 0x58
/* 37D798 E007C308 4480B000 */ mtc1 $zero, $f22
/* 37D79C E007C30C 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 37D7A0 E007C310 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 37D7A4 E007C314 3C013F80 */ lui $at, 0x3f80
/* 37D7A8 E007C318 4481A000 */ mtc1 $at, $f20
/* 37D7AC E007C31C 00031080 */ sll $v0, $v1, 2
/* 37D7B0 E007C320 00431021 */ addu $v0, $v0, $v1
/* 37D7B4 E007C324 00021080 */ sll $v0, $v0, 2
/* 37D7B8 E007C328 00431023 */ subu $v0, $v0, $v1
/* 37D7BC E007C32C 000218C0 */ sll $v1, $v0, 3
/* 37D7C0 E007C330 00431021 */ addu $v0, $v0, $v1
/* 37D7C4 E007C334 000210C0 */ sll $v0, $v0, 3
/* 37D7C8 E007C338 4406B000 */ mfc1 $a2, $f22
/* 37D7CC E007C33C 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 37D7D0 E007C340 00220821 */ addu $at, $at, $v0
/* 37D7D4 E007C344 C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 37D7D8 E007C348 4407A000 */ mfc1 $a3, $f20
/* 37D7DC E007C34C 46000007 */ neg.s $f0, $f0
/* 37D7E0 E007C350 44050000 */ mfc1 $a1, $f0
/* 37D7E4 E007C354 0200202D */ daddu $a0, $s0, $zero
/* 37D7E8 E007C358 0C080104 */ jal func_E0200410
/* 37D7EC E007C35C E7B60010 */ swc1 $f22, 0x10($sp)
/* 37D7F0 E007C360 0200202D */ daddu $a0, $s0, $zero
/* 37D7F4 E007C364 27A50018 */ addiu $a1, $sp, 0x18
/* 37D7F8 E007C368 27B00098 */ addiu $s0, $sp, 0x98
/* 37D7FC E007C36C 0C080114 */ jal func_E0200450
/* 37D800 E007C370 0200302D */ daddu $a2, $s0, $zero
/* 37D804 E007C374 27A40018 */ addiu $a0, $sp, 0x18
/* 37D808 E007C378 8E250010 */ lw $a1, 0x10($s1)
/* 37D80C E007C37C 4407A000 */ mfc1 $a3, $f20
/* 37D810 E007C380 0C080110 */ jal func_E0200440
/* 37D814 E007C384 00A0302D */ daddu $a2, $a1, $zero
/* 37D818 E007C388 27A40018 */ addiu $a0, $sp, 0x18
/* 37D81C E007C38C 0200282D */ daddu $a1, $s0, $zero
/* 37D820 E007C390 0C080114 */ jal func_E0200450
/* 37D824 E007C394 0200302D */ daddu $a2, $s0, $zero
/* 37D828 E007C398 4406B000 */ mfc1 $a2, $f22
/* 37D82C E007C39C 27A40018 */ addiu $a0, $sp, 0x18
/* 37D830 E007C3A0 E7B40010 */ swc1 $f20, 0x10($sp)
/* 37D834 E007C3A4 8E250024 */ lw $a1, 0x24($s1)
/* 37D838 E007C3A8 0C080104 */ jal func_E0200410
/* 37D83C E007C3AC 00C0382D */ daddu $a3, $a2, $zero
/* 37D840 E007C3B0 27A40018 */ addiu $a0, $sp, 0x18
/* 37D844 E007C3B4 0200282D */ daddu $a1, $s0, $zero
/* 37D848 E007C3B8 0C080114 */ jal func_E0200450
/* 37D84C E007C3BC 0200302D */ daddu $a2, $s0, $zero
/* 37D850 E007C3C0 0200202D */ daddu $a0, $s0, $zero
/* 37D854 E007C3C4 3C108007 */ lui $s0, %hi(D_800741F0)
/* 37D858 E007C3C8 261041F0 */ addiu $s0, $s0, %lo(D_800741F0)
/* 37D85C E007C3CC 3C12800A */ lui $s2, %hi(D_8009A674)
/* 37D860 E007C3D0 2652A674 */ addiu $s2, $s2, %lo(D_8009A674)
/* 37D864 E007C3D4 96050000 */ lhu $a1, ($s0)
/* 37D868 E007C3D8 8E420000 */ lw $v0, ($s2)
/* 37D86C E007C3DC 00052980 */ sll $a1, $a1, 6
/* 37D870 E007C3E0 00B32821 */ addu $a1, $a1, $s3
/* 37D874 E007C3E4 0C080118 */ jal func_E0200460
/* 37D878 E007C3E8 00452821 */ addu $a1, $v0, $a1
/* 37D87C E007C3EC 8E850000 */ lw $a1, ($s4)
/* 37D880 E007C3F0 3C014080 */ lui $at, 0x4080
/* 37D884 E007C3F4 44810000 */ mtc1 $at, $f0
/* 37D888 E007C3F8 00A0202D */ daddu $a0, $a1, $zero
/* 37D88C E007C3FC 24A50008 */ addiu $a1, $a1, 8
/* 37D890 E007C400 AE850000 */ sw $a1, ($s4)
/* 37D894 E007C404 96020000 */ lhu $v0, ($s0)
/* 37D898 E007C408 3C03DA38 */ lui $v1, 0xda38
/* 37D89C E007C40C AC830000 */ sw $v1, ($a0)
/* 37D8A0 E007C410 24430001 */ addiu $v1, $v0, 1
/* 37D8A4 E007C414 3042FFFF */ andi $v0, $v0, 0xffff
/* 37D8A8 E007C418 00021180 */ sll $v0, $v0, 6
/* 37D8AC E007C41C A6030000 */ sh $v1, ($s0)
/* 37D8B0 E007C420 8E430000 */ lw $v1, ($s2)
/* 37D8B4 E007C424 00531021 */ addu $v0, $v0, $s3
/* 37D8B8 E007C428 00621821 */ addu $v1, $v1, $v0
/* 37D8BC E007C42C AC830004 */ sw $v1, 4($a0)
/* 37D8C0 E007C430 C6220020 */ lwc1 $f2, 0x20($s1)
/* 37D8C4 E007C434 4602003C */ c.lt.s $f0, $f2
/* 37D8C8 E007C438 00000000 */ nop
/* 37D8CC E007C43C 45000006 */ bc1f .LE007C458
/* 37D8D0 E007C440 24A20008 */ addiu $v0, $a1, 8
/* 37D8D4 E007C444 AE820000 */ sw $v0, ($s4)
/* 37D8D8 E007C448 3C02FA00 */ lui $v0, 0xfa00
/* 37D8DC E007C44C ACA20000 */ sw $v0, ($a1)
/* 37D8E0 E007C450 0801F11A */ j .LE007C468
/* 37D8E4 E007C454 2402FF7F */ addiu $v0, $zero, -0x81
.LE007C458:
/* 37D8E8 E007C458 AE820000 */ sw $v0, ($s4)
/* 37D8EC E007C45C 3C02FA00 */ lui $v0, 0xfa00
/* 37D8F0 E007C460 ACA20000 */ sw $v0, ($a1)
/* 37D8F4 E007C464 2402807F */ addiu $v0, $zero, -0x7f81
.LE007C468:
/* 37D8F8 E007C468 ACA20004 */ sw $v0, 4($a1)
/* 37D8FC E007C46C 3C07D838 */ lui $a3, 0xd838
/* 37D900 E007C470 3C05800A */ lui $a1, %hi(D_8009A66C)
/* 37D904 E007C474 24A5A66C */ addiu $a1, $a1, %lo(D_8009A66C)
/* 37D908 E007C478 34E70002 */ ori $a3, $a3, 2
/* 37D90C E007C47C 3C02FB00 */ lui $v0, 0xfb00
/* 37D910 E007C480 8CA40000 */ lw $a0, ($a1)
/* 37D914 E007C484 24038B00 */ addiu $v1, $zero, -0x7500
/* 37D918 E007C488 0080302D */ daddu $a2, $a0, $zero
/* 37D91C E007C48C 24840008 */ addiu $a0, $a0, 8
/* 37D920 E007C490 ACA40000 */ sw $a0, ($a1)
/* 37D924 E007C494 ACC20000 */ sw $v0, ($a2)
/* 37D928 E007C498 32A200FF */ andi $v0, $s5, 0xff
/* 37D92C E007C49C 00431025 */ or $v0, $v0, $v1
/* 37D930 E007C4A0 ACC20004 */ sw $v0, 4($a2)
/* 37D934 E007C4A4 24820008 */ addiu $v0, $a0, 8
/* 37D938 E007C4A8 ACA20000 */ sw $v0, ($a1)
/* 37D93C E007C4AC 3C02DE00 */ lui $v0, 0xde00
/* 37D940 E007C4B0 AC820000 */ sw $v0, ($a0)
/* 37D944 E007C4B4 3C020900 */ lui $v0, 0x900
/* 37D948 E007C4B8 244217B0 */ addiu $v0, $v0, 0x17b0
/* 37D94C E007C4BC AC820004 */ sw $v0, 4($a0)
/* 37D950 E007C4C0 24820010 */ addiu $v0, $a0, 0x10
/* 37D954 E007C4C4 ACA20000 */ sw $v0, ($a1)
/* 37D958 E007C4C8 24020040 */ addiu $v0, $zero, 0x40
/* 37D95C E007C4CC AC870008 */ sw $a3, 8($a0)
/* 37D960 E007C4D0 AC82000C */ sw $v0, 0xc($a0)
/* 37D964 E007C4D4 8FBF00F0 */ lw $ra, 0xf0($sp)
/* 37D968 E007C4D8 8FB500EC */ lw $s5, 0xec($sp)
/* 37D96C E007C4DC 8FB400E8 */ lw $s4, 0xe8($sp)
/* 37D970 E007C4E0 8FB300E4 */ lw $s3, 0xe4($sp)
/* 37D974 E007C4E4 8FB200E0 */ lw $s2, 0xe0($sp)
/* 37D978 E007C4E8 8FB100DC */ lw $s1, 0xdc($sp)
/* 37D97C E007C4EC 8FB000D8 */ lw $s0, 0xd8($sp)
/* 37D980 E007C4F0 D7B80108 */ ldc1 $f24, 0x108($sp)
/* 37D984 E007C4F4 D7B60100 */ ldc1 $f22, 0x100($sp)
/* 37D988 E007C4F8 D7B400F8 */ ldc1 $f20, 0xf8($sp)
/* 37D98C E007C4FC 03E00008 */ jr $ra
/* 37D990 E007C500 27BD0110 */ addiu $sp, $sp, 0x110
/* 37D994 E007C504 00000000 */ nop
/* 37D998 E007C508 00000000 */ nop
/* 37D99C E007C50C 00000000 */ nop

View File

@ -0,0 +1,266 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E008C000
/* 38DE00 E008C000 27BDFF90 */ addiu $sp, $sp, -0x70
/* 38DE04 E008C004 AFB00038 */ sw $s0, 0x38($sp)
/* 38DE08 E008C008 00E0802D */ daddu $s0, $a3, $zero
/* 38DE0C E008C00C AFA40070 */ sw $a0, 0x70($sp)
/* 38DE10 E008C010 27A40010 */ addiu $a0, $sp, 0x10
/* 38DE14 E008C014 F7B40060 */ sdc1 $f20, 0x60($sp)
/* 38DE18 E008C018 4486A000 */ mtc1 $a2, $f20
/* 38DE1C E008C01C 3C02E009 */ lui $v0, %hi(D_E008C3F4)
/* 38DE20 E008C020 2442C3F4 */ addiu $v0, $v0, %lo(D_E008C3F4)
/* 38DE24 E008C024 AFA20018 */ sw $v0, 0x18($sp)
/* 38DE28 E008C028 3C02E009 */ lui $v0, %hi(D_E008C3FC)
/* 38DE2C E008C02C 2442C3FC */ addiu $v0, $v0, %lo(D_E008C3FC)
/* 38DE30 E008C030 AFA2001C */ sw $v0, 0x1c($sp)
/* 38DE34 E008C034 3C02E009 */ lui $v0, %hi(D_E008C6B8)
/* 38DE38 E008C038 2442C6B8 */ addiu $v0, $v0, %lo(D_E008C6B8)
/* 38DE3C E008C03C AFA20020 */ sw $v0, 0x20($sp)
/* 38DE40 E008C040 24020046 */ addiu $v0, $zero, 0x46
/* 38DE44 E008C044 AFBF005C */ sw $ra, 0x5c($sp)
/* 38DE48 E008C048 AFBE0058 */ sw $fp, 0x58($sp)
/* 38DE4C E008C04C AFB70054 */ sw $s7, 0x54($sp)
/* 38DE50 E008C050 AFB60050 */ sw $s6, 0x50($sp)
/* 38DE54 E008C054 AFB5004C */ sw $s5, 0x4c($sp)
/* 38DE58 E008C058 AFB40048 */ sw $s4, 0x48($sp)
/* 38DE5C E008C05C AFB30044 */ sw $s3, 0x44($sp)
/* 38DE60 E008C060 AFB20040 */ sw $s2, 0x40($sp)
/* 38DE64 E008C064 AFB1003C */ sw $s1, 0x3c($sp)
/* 38DE68 E008C068 F7B60068 */ sdc1 $f22, 0x68($sp)
/* 38DE6C E008C06C AFA50074 */ sw $a1, 0x74($sp)
/* 38DE70 E008C070 AFA00010 */ sw $zero, 0x10($sp)
/* 38DE74 E008C074 AFA00024 */ sw $zero, 0x24($sp)
/* 38DE78 E008C078 0C080124 */ jal func_E0200490
/* 38DE7C E008C07C AFA20014 */ sw $v0, 0x14($sp)
/* 38DE80 E008C080 24040168 */ addiu $a0, $zero, 0x168
/* 38DE84 E008C084 AFA20028 */ sw $v0, 0x28($sp)
/* 38DE88 E008C088 24080005 */ addiu $t0, $zero, 5
/* 38DE8C E008C08C 0C08012C */ jal func_E02004B0
/* 38DE90 E008C090 AC480008 */ sw $t0, 8($v0)
/* 38DE94 E008C094 8FA90028 */ lw $t1, 0x28($sp)
/* 38DE98 E008C098 0040202D */ daddu $a0, $v0, $zero
/* 38DE9C E008C09C 14800003 */ bnez $a0, .LE008C0AC
/* 38DEA0 E008C0A0 AD24000C */ sw $a0, 0xc($t1)
.LE008C0A4:
/* 38DEA4 E008C0A4 08023029 */ j .LE008C0A4
/* 38DEA8 E008C0A8 00000000 */ nop
.LE008C0AC:
/* 38DEAC E008C0AC 4600A0A1 */ cvt.d.s $f2, $f20
/* 38DEB0 E008C0B0 24110001 */ addiu $s1, $zero, 1
/* 38DEB4 E008C0B4 3C01E009 */ lui $at, %hi(D_E008CB20)
/* 38DEB8 E008C0B8 D420CB20 */ ldc1 $f0, %lo(D_E008CB20)($at)
/* 38DEBC E008C0BC 8FA80070 */ lw $t0, 0x70($sp)
/* 38DEC0 E008C0C0 46201082 */ mul.d $f2, $f2, $f0
/* 38DEC4 E008C0C4 00000000 */ nop
/* 38DEC8 E008C0C8 AC880000 */ sw $t0, ($a0)
/* 38DECC E008C0CC 8FA90074 */ lw $t1, 0x74($sp)
/* 38DED0 E008C0D0 2A220005 */ slti $v0, $s1, 5
/* 38DED4 E008C0D4 AC900020 */ sw $s0, 0x20($a0)
/* 38DED8 E008C0D8 AC900024 */ sw $s0, 0x24($a0)
/* 38DEDC E008C0DC AC80001C */ sw $zero, 0x1c($a0)
/* 38DEE0 E008C0E0 AC800028 */ sw $zero, 0x28($a0)
/* 38DEE4 E008C0E4 AC890004 */ sw $t1, 4($a0)
/* 38DEE8 E008C0E8 462010A0 */ cvt.s.d $f2, $f2
/* 38DEEC E008C0EC E4820014 */ swc1 $f2, 0x14($a0)
/* 38DEF0 E008C0F0 E4820018 */ swc1 $f2, 0x18($a0)
/* 38DEF4 E008C0F4 104000B0 */ beqz $v0, .LE008C3B8
/* 38DEF8 E008C0F8 24840048 */ addiu $a0, $a0, 0x48
/* 38DEFC E008C0FC 3C03E009 */ lui $v1, %hi(D_E008CB28)
/* 38DF00 E008C100 2463CB28 */ addiu $v1, $v1, %lo(D_E008CB28)
/* 38DF04 E008C104 00081080 */ sll $v0, $t0, 2
/* 38DF08 E008C108 00431021 */ addu $v0, $v0, $v1
/* 38DF0C E008C10C 24080005 */ addiu $t0, $zero, 5
/* 38DF10 E008C110 2517FFFF */ addiu $s7, $t0, -1
/* 38DF14 E008C114 3C03E009 */ lui $v1, %hi(D_E008CB48)
/* 38DF18 E008C118 2463CB48 */ addiu $v1, $v1, %lo(D_E008CB48)
/* 38DF1C E008C11C 24900046 */ addiu $s0, $a0, 0x46
/* 38DF20 E008C120 24160026 */ addiu $s6, $zero, 0x26
/* 38DF24 E008C124 0000A02D */ daddu $s4, $zero, $zero
/* 38DF28 E008C128 24150019 */ addiu $s5, $zero, 0x19
/* 38DF2C E008C12C 24130078 */ addiu $s3, $zero, 0x78
/* 38DF30 E008C130 8FA90070 */ lw $t1, 0x70($sp)
/* 38DF34 E008C134 3C013F80 */ lui $at, 0x3f80
/* 38DF38 E008C138 4481B000 */ mtc1 $at, $f22
/* 38DF3C E008C13C 3C013FE0 */ lui $at, 0x3fe0
/* 38DF40 E008C140 4481A800 */ mtc1 $at, $f21
/* 38DF44 E008C144 4480A000 */ mtc1 $zero, $f20
/* 38DF48 E008C148 2412000B */ addiu $s2, $zero, 0xb
/* 38DF4C E008C14C AFA2002C */ sw $v0, 0x2c($sp)
/* 38DF50 E008C150 253EFFFE */ addiu $fp, $t1, -2
/* 38DF54 E008C154 001E1080 */ sll $v0, $fp, 2
/* 38DF58 E008C158 00431021 */ addu $v0, $v0, $v1
/* 38DF5C E008C15C AFA20030 */ sw $v0, 0x30($sp)
.LE008C160:
/* 38DF60 E008C160 8FA80070 */ lw $t0, 0x70($sp)
/* 38DF64 E008C164 2D020008 */ sltiu $v0, $t0, 8
/* 38DF68 E008C168 50400030 */ beql $v0, $zero, .LE008C22C
/* 38DF6C E008C16C AE00FFC2 */ sw $zero, -0x3e($s0)
/* 38DF70 E008C170 8FA9002C */ lw $t1, 0x2c($sp)
/* 38DF74 E008C174 8D220000 */ lw $v0, ($t1)
/* 38DF78 E008C178 00400008 */ jr $v0
/* 38DF7C E008C17C 00000000 */ nop
/* 38DF80 E008C180 3C014270 */ lui $at, 0x4270
/* 38DF84 E008C184 44811000 */ mtc1 $at, $f2
/* 38DF88 E008C188 44920000 */ mtc1 $s2, $f0
/* 38DF8C E008C18C 00000000 */ nop
/* 38DF90 E008C190 46800020 */ cvt.s.w $f0, $f0
/* 38DF94 E008C194 E600FFC6 */ swc1 $f0, -0x3a($s0)
/* 38DF98 E008C198 44930000 */ mtc1 $s3, $f0
/* 38DF9C E008C19C 00000000 */ nop
/* 38DFA0 E008C1A0 46800020 */ cvt.s.w $f0, $f0
/* 38DFA4 E008C1A4 AE00FFC2 */ sw $zero, -0x3e($s0)
/* 38DFA8 E008C1A8 AE00FFCA */ sw $zero, -0x36($s0)
/* 38DFAC E008C1AC AE00FFF2 */ sw $zero, -0xe($s0)
/* 38DFB0 E008C1B0 AE00FFFA */ sw $zero, -6($s0)
/* 38DFB4 E008C1B4 AE00FFE6 */ sw $zero, -0x1a($s0)
/* 38DFB8 E008C1B8 E600FFEA */ swc1 $f0, -0x16($s0)
/* 38DFBC E008C1BC AE00FFEE */ sw $zero, -0x12($s0)
/* 38DFC0 E008C1C0 E616FFCE */ swc1 $f22, -0x32($s0)
/* 38DFC4 E008C1C4 080230CC */ j .LE008C330
/* 38DFC8 E008C1C8 E602FFF6 */ swc1 $f2, -0xa($s0)
/* 38DFCC E008C1CC 44920000 */ mtc1 $s2, $f0
/* 38DFD0 E008C1D0 00000000 */ nop
/* 38DFD4 E008C1D4 46800020 */ cvt.s.w $f0, $f0
/* 38DFD8 E008C1D8 E600FFC6 */ swc1 $f0, -0x3a($s0)
/* 38DFDC E008C1DC 44930000 */ mtc1 $s3, $f0
/* 38DFE0 E008C1E0 00000000 */ nop
/* 38DFE4 E008C1E4 46800020 */ cvt.s.w $f0, $f0
/* 38DFE8 E008C1E8 240800FF */ addiu $t0, $zero, 0xff
/* 38DFEC E008C1EC 3C01C270 */ lui $at, 0xc270
/* 38DFF0 E008C1F0 44811000 */ mtc1 $at, $f2
/* 38DFF4 E008C1F4 0100482D */ daddu $t1, $t0, $zero
/* 38DFF8 E008C1F8 AE00FFC2 */ sw $zero, -0x3e($s0)
/* 38DFFC E008C1FC AE00FFCA */ sw $zero, -0x36($s0)
/* 38E000 E008C200 AE00FFF2 */ sw $zero, -0xe($s0)
/* 38E004 E008C204 AE00FFFA */ sw $zero, -6($s0)
/* 38E008 E008C208 AE00FFE6 */ sw $zero, -0x1a($s0)
/* 38E00C E008C20C E600FFEA */ swc1 $f0, -0x16($s0)
/* 38E010 E008C210 AE00FFEE */ sw $zero, -0x12($s0)
/* 38E014 E008C214 E616FFCE */ swc1 $f22, -0x32($s0)
/* 38E018 E008C218 A2080000 */ sb $t0, ($s0)
/* 38E01C E008C21C A209FFFF */ sb $t1, -1($s0)
/* 38E020 E008C220 A208FFFE */ sb $t0, -2($s0)
/* 38E024 E008C224 080230CC */ j .LE008C330
/* 38E028 E008C228 E602FFF6 */ swc1 $f2, -0xa($s0)
.LE008C22C:
/* 38E02C E008C22C 8FA90074 */ lw $t1, 0x74($sp)
/* 38E030 E008C230 852200B0 */ lh $v0, 0xb0($t1)
/* 38E034 E008C234 44820000 */ mtc1 $v0, $f0
/* 38E038 E008C238 00000000 */ nop
/* 38E03C E008C23C 46800021 */ cvt.d.w $f0, $f0
/* 38E040 E008C240 46340002 */ mul.d $f0, $f0, $f20
/* 38E044 E008C244 00000000 */ nop
/* 38E048 E008C248 24040001 */ addiu $a0, $zero, 1
/* 38E04C E008C24C AE00FFCA */ sw $zero, -0x36($s0)
/* 38E050 E008C250 46200020 */ cvt.s.d $f0, $f0
/* 38E054 E008C254 0C080000 */ jal func_E0200000
/* 38E058 E008C258 E600FFC6 */ swc1 $f0, -0x3a($s0)
/* 38E05C E008C25C 24040001 */ addiu $a0, $zero, 1
/* 38E060 E008C260 000210C0 */ sll $v0, $v0, 3
/* 38E064 E008C264 2442FFFC */ addiu $v0, $v0, -4
/* 38E068 E008C268 44820000 */ mtc1 $v0, $f0
/* 38E06C E008C26C 00000000 */ nop
/* 38E070 E008C270 46800020 */ cvt.s.w $f0, $f0
/* 38E074 E008C274 E600FFF2 */ swc1 $f0, -0xe($s0)
/* 38E078 E008C278 0C080000 */ jal func_E0200000
/* 38E07C E008C27C AE00FFF6 */ sw $zero, -0xa($s0)
/* 38E080 E008C280 16E00002 */ bnez $s7, .LE008C28C
/* 38E084 E008C284 0297001A */ div $zero, $s4, $s7
/* 38E088 E008C288 0007000D */ break 7
.LE008C28C:
/* 38E08C E008C28C 2401FFFF */ addiu $at, $zero, -1
/* 38E090 E008C290 16E10004 */ bne $s7, $at, .LE008C2A4
/* 38E094 E008C294 3C018000 */ lui $at, 0x8000
/* 38E098 E008C298 16810002 */ bne $s4, $at, .LE008C2A4
/* 38E09C E008C29C 00000000 */ nop
/* 38E0A0 E008C2A0 0006000D */ break 6
.LE008C2A4:
/* 38E0A4 E008C2A4 00002012 */ mflo $a0
/* 38E0A8 E008C2A8 000210C0 */ sll $v0, $v0, 3
/* 38E0AC E008C2AC 2623FFFF */ addiu $v1, $s1, -1
/* 38E0B0 E008C2B0 44830000 */ mtc1 $v1, $f0
/* 38E0B4 E008C2B4 00000000 */ nop
/* 38E0B8 E008C2B8 46800020 */ cvt.s.w $f0, $f0
/* 38E0BC E008C2BC 44971000 */ mtc1 $s7, $f2
/* 38E0C0 E008C2C0 00000000 */ nop
/* 38E0C4 E008C2C4 468010A0 */ cvt.s.w $f2, $f2
/* 38E0C8 E008C2C8 46020003 */ div.s $f0, $f0, $f2
/* 38E0CC E008C2CC 46000021 */ cvt.d.s $f0, $f0
/* 38E0D0 E008C2D0 46340002 */ mul.d $f0, $f0, $f20
/* 38E0D4 E008C2D4 00000000 */ nop
/* 38E0D8 E008C2D8 2442FFFC */ addiu $v0, $v0, -4
/* 38E0DC E008C2DC 44821000 */ mtc1 $v0, $f2
/* 38E0E0 E008C2E0 00000000 */ nop
/* 38E0E4 E008C2E4 468010A0 */ cvt.s.w $f2, $f2
/* 38E0E8 E008C2E8 E602FFFA */ swc1 $f2, -6($s0)
/* 38E0EC E008C2EC 44951000 */ mtc1 $s5, $f2
/* 38E0F0 E008C2F0 00000000 */ nop
/* 38E0F4 E008C2F4 468010A0 */ cvt.s.w $f2, $f2
/* 38E0F8 E008C2F8 24020168 */ addiu $v0, $zero, 0x168
/* 38E0FC E008C2FC 00561023 */ subu $v0, $v0, $s6
/* 38E100 E008C300 E602FFE6 */ swc1 $f2, -0x1a($s0)
/* 38E104 E008C304 46340000 */ add.d $f0, $f0, $f20
/* 38E108 E008C308 44821000 */ mtc1 $v0, $f2
/* 38E10C E008C30C 00000000 */ nop
/* 38E110 E008C310 468010A0 */ cvt.s.w $f2, $f2
/* 38E114 E008C314 E602FFEE */ swc1 $f2, -0x12($s0)
/* 38E118 E008C318 46200020 */ cvt.s.d $f0, $f0
/* 38E11C E008C31C E600FFCE */ swc1 $f0, -0x32($s0)
/* 38E120 E008C320 44840000 */ mtc1 $a0, $f0
/* 38E124 E008C324 00000000 */ nop
/* 38E128 E008C328 46800020 */ cvt.s.w $f0, $f0
/* 38E12C E008C32C E600FFEA */ swc1 $f0, -0x16($s0)
.LE008C330:
/* 38E130 E008C330 2FC20006 */ sltiu $v0, $fp, 6
/* 38E134 E008C334 1040000B */ beqz $v0, .LE008C364
/* 38E138 E008C338 0000182D */ daddu $v1, $zero, $zero
/* 38E13C E008C33C 8FA80030 */ lw $t0, 0x30($sp)
/* 38E140 E008C340 8D020000 */ lw $v0, ($t0)
/* 38E144 E008C344 00400008 */ jr $v0
/* 38E148 E008C348 00000000 */ nop
/* 38E14C E008C34C 080230D9 */ j .LE008C364
/* 38E150 E008C350 24030001 */ addiu $v1, $zero, 1
/* 38E154 E008C354 080230D9 */ j .LE008C364
/* 38E158 E008C358 24030002 */ addiu $v1, $zero, 2
/* 38E15C E008C35C 32220001 */ andi $v0, $s1, 1
/* 38E160 E008C360 24430001 */ addiu $v1, $v0, 1
.LE008C364:
/* 38E164 E008C364 26D60026 */ addiu $s6, $s6, 0x26
/* 38E168 E008C368 26940168 */ addiu $s4, $s4, 0x168
/* 38E16C E008C36C 26B50019 */ addiu $s5, $s5, 0x19
/* 38E170 E008C370 3C02E009 */ lui $v0, %hi(D_E008CB14)
/* 38E174 E008C374 00431021 */ addu $v0, $v0, $v1
/* 38E178 E008C378 9042CB14 */ lbu $v0, %lo(D_E008CB14)($v0)
/* 38E17C E008C37C 26730078 */ addiu $s3, $s3, 0x78
/* 38E180 E008C380 A202FFFE */ sb $v0, -2($s0)
/* 38E184 E008C384 3C02E009 */ lui $v0, %hi(D_E008CB18)
/* 38E188 E008C388 00431021 */ addu $v0, $v0, $v1
/* 38E18C E008C38C 9042CB18 */ lbu $v0, %lo(D_E008CB18)($v0)
/* 38E190 E008C390 26520007 */ addiu $s2, $s2, 7
/* 38E194 E008C394 A202FFFF */ sb $v0, -1($s0)
/* 38E198 E008C398 3C02E009 */ lui $v0, %hi(D_E008CB1C)
/* 38E19C E008C39C 00431021 */ addu $v0, $v0, $v1
/* 38E1A0 E008C3A0 9042CB1C */ lbu $v0, %lo(D_E008CB1C)($v0)
/* 38E1A4 E008C3A4 26310001 */ addiu $s1, $s1, 1
/* 38E1A8 E008C3A8 A2020000 */ sb $v0, ($s0)
/* 38E1AC E008C3AC 2A220005 */ slti $v0, $s1, 5
/* 38E1B0 E008C3B0 1440FF6B */ bnez $v0, .LE008C160
/* 38E1B4 E008C3B4 26100048 */ addiu $s0, $s0, 0x48
.LE008C3B8:
/* 38E1B8 E008C3B8 8FA20028 */ lw $v0, 0x28($sp)
/* 38E1BC E008C3BC 8FBF005C */ lw $ra, 0x5c($sp)
/* 38E1C0 E008C3C0 8FBE0058 */ lw $fp, 0x58($sp)
/* 38E1C4 E008C3C4 8FB70054 */ lw $s7, 0x54($sp)
/* 38E1C8 E008C3C8 8FB60050 */ lw $s6, 0x50($sp)
/* 38E1CC E008C3CC 8FB5004C */ lw $s5, 0x4c($sp)
/* 38E1D0 E008C3D0 8FB40048 */ lw $s4, 0x48($sp)
/* 38E1D4 E008C3D4 8FB30044 */ lw $s3, 0x44($sp)
/* 38E1D8 E008C3D8 8FB20040 */ lw $s2, 0x40($sp)
/* 38E1DC E008C3DC 8FB1003C */ lw $s1, 0x3c($sp)
/* 38E1E0 E008C3E0 8FB00038 */ lw $s0, 0x38($sp)
/* 38E1E4 E008C3E4 D7B60068 */ ldc1 $f22, 0x68($sp)
/* 38E1E8 E008C3E8 D7B40060 */ ldc1 $f20, 0x60($sp)
/* 38E1EC E008C3EC 03E00008 */ jr $ra
/* 38E1F0 E008C3F0 27BD0070 */ addiu $sp, $sp, 0x70

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E008C3F4
/* 38E1F4 E008C3F4 03E00008 */ jr $ra
/* 38E1F8 E008C3F8 00000000 */ nop

View File

@ -0,0 +1,191 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E008C3FC
/* 38E1FC E008C3FC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 38E200 E008C400 AFBF0010 */ sw $ra, 0x10($sp)
/* 38E204 E008C404 8C85000C */ lw $a1, 0xc($a0)
/* 38E208 E008C408 8CA20024 */ lw $v0, 0x24($a1)
/* 38E20C E008C40C 2442FFFF */ addiu $v0, $v0, -1
/* 38E210 E008C410 ACA20024 */ sw $v0, 0x24($a1)
/* 38E214 E008C414 8CA20028 */ lw $v0, 0x28($a1)
/* 38E218 E008C418 8CA30024 */ lw $v1, 0x24($a1)
/* 38E21C E008C41C 24420001 */ addiu $v0, $v0, 1
/* 38E220 E008C420 04610005 */ bgez $v1, .LE008C438
/* 38E224 E008C424 ACA20028 */ sw $v0, 0x28($a1)
/* 38E228 E008C428 0C080128 */ jal func_E02004A0
/* 38E22C E008C42C 00000000 */ nop
/* 38E230 E008C430 080231AB */ j .LE008C6AC
/* 38E234 E008C434 00000000 */ nop
.LE008C438:
/* 38E238 E008C438 8CA80000 */ lw $t0, ($a1)
/* 38E23C E008C43C 24020008 */ addiu $v0, $zero, 8
/* 38E240 E008C440 15020025 */ bne $t0, $v0, .LE008C4D8
/* 38E244 E008C444 0060382D */ daddu $a3, $v1, $zero
/* 38E248 E008C448 28E20006 */ slti $v0, $a3, 6
/* 38E24C E008C44C 14400010 */ bnez $v0, .LE008C490
/* 38E250 E008C450 240200FF */ addiu $v0, $zero, 0xff
/* 38E254 E008C454 8CA3001C */ lw $v1, 0x1c($a1)
/* 38E258 E008C458 3C01E009 */ lui $at, %hi(D_E008CB60)
/* 38E25C E008C45C D420CB60 */ ldc1 $f0, %lo(D_E008CB60)($at)
/* 38E260 E008C460 00431023 */ subu $v0, $v0, $v1
/* 38E264 E008C464 44821000 */ mtc1 $v0, $f2
/* 38E268 E008C468 00000000 */ nop
/* 38E26C E008C46C 468010A1 */ cvt.d.w $f2, $f2
/* 38E270 E008C470 46201082 */ mul.d $f2, $f2, $f0
/* 38E274 E008C474 00000000 */ nop
/* 38E278 E008C478 44830000 */ mtc1 $v1, $f0
/* 38E27C E008C47C 00000000 */ nop
/* 38E280 E008C480 46800021 */ cvt.d.w $f0, $f0
/* 38E284 E008C484 46220000 */ add.d $f0, $f0, $f2
/* 38E288 E008C488 4620040D */ trunc.w.d $f16, $f0
/* 38E28C E008C48C E4B0001C */ swc1 $f16, 0x1c($a1)
.LE008C490:
/* 38E290 E008C490 C4A00018 */ lwc1 $f0, 0x18($a1)
/* 38E294 E008C494 44871000 */ mtc1 $a3, $f2
/* 38E298 E008C498 00000000 */ nop
/* 38E29C E008C49C 468010A0 */ cvt.s.w $f2, $f2
/* 38E2A0 E008C4A0 46020002 */ mul.s $f0, $f0, $f2
/* 38E2A4 E008C4A4 00000000 */ nop
/* 38E2A8 E008C4A8 28E2000A */ slti $v0, $a3, 0xa
/* 38E2AC E008C4AC C4A20020 */ lwc1 $f2, 0x20($a1)
/* 38E2B0 E008C4B0 468010A0 */ cvt.s.w $f2, $f2
/* 38E2B4 E008C4B4 46020003 */ div.s $f0, $f0, $f2
/* 38E2B8 E008C4B8 10400032 */ beqz $v0, .LE008C584
/* 38E2BC E008C4BC E4A00014 */ swc1 $f0, 0x14($a1)
/* 38E2C0 E008C4C0 00071040 */ sll $v0, $a3, 1
/* 38E2C4 E008C4C4 00471021 */ addu $v0, $v0, $a3
/* 38E2C8 E008C4C8 000210C0 */ sll $v0, $v0, 3
/* 38E2CC E008C4CC 00471021 */ addu $v0, $v0, $a3
/* 38E2D0 E008C4D0 08023161 */ j .LE008C584
/* 38E2D4 E008C4D4 ACA2001C */ sw $v0, 0x1c($a1)
.LE008C4D8:
/* 38E2D8 E008C4D8 28E20006 */ slti $v0, $a3, 6
/* 38E2DC E008C4DC 14400012 */ bnez $v0, .LE008C528
/* 38E2E0 E008C4E0 28E2000A */ slti $v0, $a3, 0xa
/* 38E2E4 E008C4E4 24020064 */ addiu $v0, $zero, 0x64
/* 38E2E8 E008C4E8 8CA3001C */ lw $v1, 0x1c($a1)
/* 38E2EC E008C4EC 3C01E009 */ lui $at, %hi(D_E008CB68)
/* 38E2F0 E008C4F0 D420CB68 */ ldc1 $f0, %lo(D_E008CB68)($at)
/* 38E2F4 E008C4F4 00431023 */ subu $v0, $v0, $v1
/* 38E2F8 E008C4F8 44821000 */ mtc1 $v0, $f2
/* 38E2FC E008C4FC 00000000 */ nop
/* 38E300 E008C500 468010A1 */ cvt.d.w $f2, $f2
/* 38E304 E008C504 46201082 */ mul.d $f2, $f2, $f0
/* 38E308 E008C508 00000000 */ nop
/* 38E30C E008C50C 44830000 */ mtc1 $v1, $f0
/* 38E310 E008C510 00000000 */ nop
/* 38E314 E008C514 46800021 */ cvt.d.w $f0, $f0
/* 38E318 E008C518 46220000 */ add.d $f0, $f0, $f2
/* 38E31C E008C51C 4620040D */ trunc.w.d $f16, $f0
/* 38E320 E008C520 E4B0001C */ swc1 $f16, 0x1c($a1)
/* 38E324 E008C524 28E2000A */ slti $v0, $a3, 0xa
.LE008C528:
/* 38E328 E008C528 10400016 */ beqz $v0, .LE008C584
/* 38E32C E008C52C 00000000 */ nop
/* 38E330 E008C530 3C01E009 */ lui $at, %hi(D_E008CB70)
/* 38E334 E008C534 D420CB70 */ ldc1 $f0, %lo(D_E008CB70)($at)
/* 38E338 E008C538 C4A6001C */ lwc1 $f6, 0x1c($a1)
/* 38E33C E008C53C 468031A1 */ cvt.d.w $f6, $f6
/* 38E340 E008C540 46203182 */ mul.d $f6, $f6, $f0
/* 38E344 E008C544 00000000 */ nop
/* 38E348 E008C548 C4A00018 */ lwc1 $f0, 0x18($a1)
/* 38E34C E008C54C 46000000 */ add.s $f0, $f0, $f0
/* 38E350 E008C550 C4A20014 */ lwc1 $f2, 0x14($a1)
/* 38E354 E008C554 46020001 */ sub.s $f0, $f0, $f2
/* 38E358 E008C558 3C01E009 */ lui $at, %hi(D_E008CB78)
/* 38E35C E008C55C D424CB78 */ ldc1 $f4, %lo(D_E008CB78)($at)
/* 38E360 E008C560 46000021 */ cvt.d.s $f0, $f0
/* 38E364 E008C564 46240002 */ mul.d $f0, $f0, $f4
/* 38E368 E008C568 00000000 */ nop
/* 38E36C E008C56C 460010A1 */ cvt.d.s $f2, $f2
/* 38E370 E008C570 46201080 */ add.d $f2, $f2, $f0
/* 38E374 E008C574 4620340D */ trunc.w.d $f16, $f6
/* 38E378 E008C578 E4B0001C */ swc1 $f16, 0x1c($a1)
/* 38E37C E008C57C 462010A0 */ cvt.s.d $f2, $f2
/* 38E380 E008C580 E4A20014 */ swc1 $f2, 0x14($a1)
.LE008C584:
/* 38E384 E008C584 8CA20004 */ lw $v0, 4($a1)
/* 38E388 E008C588 C4400028 */ lwc1 $f0, 0x28($v0)
/* 38E38C E008C58C E4A00008 */ swc1 $f0, 8($a1)
/* 38E390 E008C590 C440002C */ lwc1 $f0, 0x2c($v0)
/* 38E394 E008C594 E4A0000C */ swc1 $f0, 0xc($a1)
/* 38E398 E008C598 C4400030 */ lwc1 $f0, 0x30($v0)
/* 38E39C E008C59C 24060001 */ addiu $a2, $zero, 1
/* 38E3A0 E008C5A0 E4A00010 */ swc1 $f0, 0x10($a1)
/* 38E3A4 E008C5A4 8C820008 */ lw $v0, 8($a0)
/* 38E3A8 E008C5A8 00C2102A */ slt $v0, $a2, $v0
/* 38E3AC E008C5AC 1040003F */ beqz $v0, .LE008C6AC
/* 38E3B0 E008C5B0 24A50048 */ addiu $a1, $a1, 0x48
/* 38E3B4 E008C5B4 240A0008 */ addiu $t2, $zero, 8
/* 38E3B8 E008C5B8 28E9000A */ slti $t1, $a3, 0xa
/* 38E3BC E008C5BC 24A30030 */ addiu $v1, $a1, 0x30
/* 38E3C0 E008C5C0 3C014220 */ lui $at, 0x4220
/* 38E3C4 E008C5C4 44817000 */ mtc1 $at, $f14
/* 38E3C8 E008C5C8 3C01E009 */ lui $at, %hi(D_E008CB80)
/* 38E3CC E008C5CC D428CB80 */ ldc1 $f8, %lo(D_E008CB80)($at)
/* 38E3D0 E008C5D0 3C01C220 */ lui $at, 0xc220
/* 38E3D4 E008C5D4 44816000 */ mtc1 $at, $f12
/* 38E3D8 E008C5D8 3C014120 */ lui $at, 0x4120
/* 38E3DC E008C5DC 44815000 */ mtc1 $at, $f10
.LE008C5E0:
/* 38E3E0 E008C5E0 150A001C */ bne $t0, $t2, .LE008C654
/* 38E3E4 E008C5E4 30C20001 */ andi $v0, $a2, 1
/* 38E3E8 E008C5E8 10400004 */ beqz $v0, .LE008C5FC
/* 38E3EC E008C5EC 00000000 */ nop
/* 38E3F0 E008C5F0 C460000C */ lwc1 $f0, 0xc($v1)
/* 38E3F4 E008C5F4 08023181 */ j .LE008C604
/* 38E3F8 E008C5F8 46007081 */ sub.s $f2, $f14, $f0
.LE008C5FC:
/* 38E3FC E008C5FC C460000C */ lwc1 $f0, 0xc($v1)
/* 38E400 E008C600 46006081 */ sub.s $f2, $f12, $f0
.LE008C604:
/* 38E404 E008C604 460010A1 */ cvt.d.s $f2, $f2
/* 38E408 E008C608 46281082 */ mul.d $f2, $f2, $f8
/* 38E40C E008C60C 00000000 */ nop
/* 38E410 E008C610 46000021 */ cvt.d.s $f0, $f0
/* 38E414 E008C614 46220000 */ add.d $f0, $f0, $f2
/* 38E418 E008C618 46200020 */ cvt.s.d $f0, $f0
/* 38E41C E008C61C E460000C */ swc1 $f0, 0xc($v1)
/* 38E420 E008C620 C466FFFC */ lwc1 $f6, -4($v1)
/* 38E424 E008C624 C4600008 */ lwc1 $f0, 8($v1)
/* 38E428 E008C628 C4640000 */ lwc1 $f4, ($v1)
/* 38E42C E008C62C 46003180 */ add.s $f6, $f6, $f0
/* 38E430 E008C630 C460000C */ lwc1 $f0, 0xc($v1)
/* 38E434 E008C634 C4620004 */ lwc1 $f2, 4($v1)
/* 38E438 E008C638 46002100 */ add.s $f4, $f4, $f0
/* 38E43C E008C63C C4600010 */ lwc1 $f0, 0x10($v1)
/* 38E440 E008C640 46001080 */ add.s $f2, $f2, $f0
/* 38E444 E008C644 E466FFFC */ swc1 $f6, -4($v1)
/* 38E448 E008C648 E4640000 */ swc1 $f4, ($v1)
/* 38E44C E008C64C 080231A6 */ j .LE008C698
/* 38E450 E008C650 E4620004 */ swc1 $f2, 4($v1)
.LE008C654:
/* 38E454 E008C654 1120000C */ beqz $t1, .LE008C688
/* 38E458 E008C658 00000000 */ nop
/* 38E45C E008C65C C460000C */ lwc1 $f0, 0xc($v1)
/* 38E460 E008C660 44871000 */ mtc1 $a3, $f2
/* 38E464 E008C664 00000000 */ nop
/* 38E468 E008C668 468010A0 */ cvt.s.w $f2, $f2
/* 38E46C E008C66C 46020002 */ mul.s $f0, $f0, $f2
/* 38E470 E008C670 00000000 */ nop
/* 38E474 E008C674 C4620000 */ lwc1 $f2, ($v1)
/* 38E478 E008C678 460A0003 */ div.s $f0, $f0, $f10
/* 38E47C E008C67C 46001080 */ add.s $f2, $f2, $f0
/* 38E480 E008C680 080231A6 */ j .LE008C698
/* 38E484 E008C684 E4620000 */ swc1 $f2, ($v1)
.LE008C688:
/* 38E488 E008C688 C4600000 */ lwc1 $f0, ($v1)
/* 38E48C E008C68C C462000C */ lwc1 $f2, 0xc($v1)
/* 38E490 E008C690 46020000 */ add.s $f0, $f0, $f2
/* 38E494 E008C694 E4600000 */ swc1 $f0, ($v1)
.LE008C698:
/* 38E498 E008C698 24C60001 */ addiu $a2, $a2, 1
/* 38E49C E008C69C 8C820008 */ lw $v0, 8($a0)
/* 38E4A0 E008C6A0 00C2102A */ slt $v0, $a2, $v0
/* 38E4A4 E008C6A4 1440FFCE */ bnez $v0, .LE008C5E0
/* 38E4A8 E008C6A8 24630048 */ addiu $v1, $v1, 0x48
.LE008C6AC:
/* 38E4AC E008C6AC 8FBF0010 */ lw $ra, 0x10($sp)
/* 38E4B0 E008C6B0 03E00008 */ jr $ra
/* 38E4B4 E008C6B4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E008C6B8
/* 38E4B8 E008C6B8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 38E4BC E008C6BC 3C02E009 */ lui $v0, %hi(D_E008C6FC)
/* 38E4C0 E008C6C0 2442C6FC */ addiu $v0, $v0, %lo(D_E008C6FC)
/* 38E4C4 E008C6C4 AFA2001C */ sw $v0, 0x1c($sp)
/* 38E4C8 E008C6C8 2402002D */ addiu $v0, $zero, 0x2d
/* 38E4CC E008C6CC AFA40018 */ sw $a0, 0x18($sp)
/* 38E4D0 E008C6D0 27A40010 */ addiu $a0, $sp, 0x10
/* 38E4D4 E008C6D4 AFBF0020 */ sw $ra, 0x20($sp)
/* 38E4D8 E008C6D8 AFA00014 */ sw $zero, 0x14($sp)
/* 38E4DC E008C6DC 0C080120 */ jal func_E0200480
/* 38E4E0 E008C6E0 AFA20010 */ sw $v0, 0x10($sp)
/* 38E4E4 E008C6E4 8C430000 */ lw $v1, ($v0)
/* 38E4E8 E008C6E8 34630002 */ ori $v1, $v1, 2
/* 38E4EC E008C6EC AC430000 */ sw $v1, ($v0)
/* 38E4F0 E008C6F0 8FBF0020 */ lw $ra, 0x20($sp)
/* 38E4F4 E008C6F4 03E00008 */ jr $ra
/* 38E4F8 E008C6F8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,261 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E008C6FC
/* 38E4FC E008C6FC 27BDFF10 */ addiu $sp, $sp, -0xf0
/* 38E500 E008C700 AFBE00C8 */ sw $fp, 0xc8($sp)
/* 38E504 E008C704 0080F02D */ daddu $fp, $a0, $zero
/* 38E508 E008C708 3C06DB06 */ lui $a2, 0xdb06
/* 38E50C E008C70C 34C60024 */ ori $a2, $a2, 0x24
/* 38E510 E008C710 27A40020 */ addiu $a0, $sp, 0x20
/* 38E514 E008C714 AFB000A8 */ sw $s0, 0xa8($sp)
/* 38E518 E008C718 3C100001 */ lui $s0, 1
/* 38E51C E008C71C 36101630 */ ori $s0, $s0, 0x1630
/* 38E520 E008C720 AFB300B4 */ sw $s3, 0xb4($sp)
/* 38E524 E008C724 3C13800A */ lui $s3, %hi(D_8009A66C)
/* 38E528 E008C728 2673A66C */ addiu $s3, $s3, %lo(D_8009A66C)
/* 38E52C E008C72C AFBF00CC */ sw $ra, 0xcc($sp)
/* 38E530 E008C730 AFB700C4 */ sw $s7, 0xc4($sp)
/* 38E534 E008C734 AFB600C0 */ sw $s6, 0xc0($sp)
/* 38E538 E008C738 AFB500BC */ sw $s5, 0xbc($sp)
/* 38E53C E008C73C AFB400B8 */ sw $s4, 0xb8($sp)
/* 38E540 E008C740 AFB200B0 */ sw $s2, 0xb0($sp)
/* 38E544 E008C744 AFB100AC */ sw $s1, 0xac($sp)
/* 38E548 E008C748 F7BA00E8 */ sdc1 $f26, 0xe8($sp)
/* 38E54C E008C74C F7B800E0 */ sdc1 $f24, 0xe0($sp)
/* 38E550 E008C750 F7B600D8 */ sdc1 $f22, 0xd8($sp)
/* 38E554 E008C754 F7B400D0 */ sdc1 $f20, 0xd0($sp)
/* 38E558 E008C758 8E630000 */ lw $v1, ($s3)
/* 38E55C E008C75C 8FD1000C */ lw $s1, 0xc($fp)
/* 38E560 E008C760 0060282D */ daddu $a1, $v1, $zero
/* 38E564 E008C764 24630008 */ addiu $v1, $v1, 8
/* 38E568 E008C768 AE630000 */ sw $v1, ($s3)
/* 38E56C E008C76C 8E28001C */ lw $t0, 0x1c($s1)
/* 38E570 E008C770 AFA800A4 */ sw $t0, 0xa4($sp)
/* 38E574 E008C774 C6380014 */ lwc1 $f24, 0x14($s1)
/* 38E578 E008C778 C6360018 */ lwc1 $f22, 0x18($s1)
/* 38E57C E008C77C 8E280000 */ lw $t0, ($s1)
/* 38E580 E008C780 3C02E700 */ lui $v0, 0xe700
/* 38E584 E008C784 AFA800A0 */ sw $t0, 0xa0($sp)
/* 38E588 E008C788 ACA20000 */ sw $v0, ($a1)
/* 38E58C E008C78C 24620008 */ addiu $v0, $v1, 8
/* 38E590 E008C790 ACA00004 */ sw $zero, 4($a1)
/* 38E594 E008C794 AE620000 */ sw $v0, ($s3)
/* 38E598 E008C798 AC660000 */ sw $a2, ($v1)
/* 38E59C E008C79C 8FC50010 */ lw $a1, 0x10($fp)
/* 38E5A0 E008C7A0 24620010 */ addiu $v0, $v1, 0x10
/* 38E5A4 E008C7A4 AE620000 */ sw $v0, ($s3)
/* 38E5A8 E008C7A8 8CA5001C */ lw $a1, 0x1c($a1)
/* 38E5AC E008C7AC 3C02DE00 */ lui $v0, 0xde00
/* 38E5B0 E008C7B0 AC620008 */ sw $v0, 8($v1)
/* 38E5B4 E008C7B4 3C020900 */ lui $v0, 0x900
/* 38E5B8 E008C7B8 24420420 */ addiu $v0, $v0, 0x420
/* 38E5BC E008C7BC AC62000C */ sw $v0, 0xc($v1)
/* 38E5C0 E008C7C0 3C028000 */ lui $v0, 0x8000
/* 38E5C4 E008C7C4 00A22821 */ addu $a1, $a1, $v0
/* 38E5C8 E008C7C8 AC650004 */ sw $a1, 4($v1)
/* 38E5CC E008C7CC 8E250008 */ lw $a1, 8($s1)
/* 38E5D0 E008C7D0 8E26000C */ lw $a2, 0xc($s1)
/* 38E5D4 E008C7D4 8E270010 */ lw $a3, 0x10($s1)
/* 38E5D8 E008C7D8 4480A000 */ mtc1 $zero, $f20
/* 38E5DC E008C7DC 0C080108 */ jal func_E0200420
/* 38E5E0 E008C7E0 24160001 */ addiu $s6, $zero, 1
/* 38E5E4 E008C7E4 27B20060 */ addiu $s2, $sp, 0x60
/* 38E5E8 E008C7E8 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 38E5EC E008C7EC 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 38E5F0 E008C7F0 4406A000 */ mfc1 $a2, $f20
/* 38E5F4 E008C7F4 00031080 */ sll $v0, $v1, 2
/* 38E5F8 E008C7F8 00431021 */ addu $v0, $v0, $v1
/* 38E5FC E008C7FC 00021080 */ sll $v0, $v0, 2
/* 38E600 E008C800 00431023 */ subu $v0, $v0, $v1
/* 38E604 E008C804 000218C0 */ sll $v1, $v0, 3
/* 38E608 E008C808 00431021 */ addu $v0, $v0, $v1
/* 38E60C E008C80C 000210C0 */ sll $v0, $v0, 3
/* 38E610 E008C810 3C01800B */ lui $at, %hi(D_800B1DEC)
/* 38E614 E008C814 00220821 */ addu $at, $at, $v0
/* 38E618 E008C818 C4201DEC */ lwc1 $f0, %lo(D_800B1DEC)($at)
/* 38E61C E008C81C 3C073F80 */ lui $a3, 0x3f80
/* 38E620 E008C820 46000007 */ neg.s $f0, $f0
/* 38E624 E008C824 44050000 */ mfc1 $a1, $f0
/* 38E628 E008C828 0240202D */ daddu $a0, $s2, $zero
/* 38E62C E008C82C 0C080104 */ jal func_E0200410
/* 38E630 E008C830 E7B40010 */ swc1 $f20, 0x10($sp)
/* 38E634 E008C834 0240202D */ daddu $a0, $s2, $zero
/* 38E638 E008C838 27A50020 */ addiu $a1, $sp, 0x20
/* 38E63C E008C83C 0C080114 */ jal func_E0200450
/* 38E640 E008C840 00A0302D */ daddu $a2, $a1, $zero
/* 38E644 E008C844 27A40020 */ addiu $a0, $sp, 0x20
/* 38E648 E008C848 3C148007 */ lui $s4, %hi(D_800741F0)
/* 38E64C E008C84C 269441F0 */ addiu $s4, $s4, %lo(D_800741F0)
/* 38E650 E008C850 3C15800A */ lui $s5, %hi(D_8009A674)
/* 38E654 E008C854 26B5A674 */ addiu $s5, $s5, %lo(D_8009A674)
/* 38E658 E008C858 96850000 */ lhu $a1, ($s4)
/* 38E65C E008C85C 8EA20000 */ lw $v0, ($s5)
/* 38E660 E008C860 00052980 */ sll $a1, $a1, 6
/* 38E664 E008C864 00B02821 */ addu $a1, $a1, $s0
/* 38E668 E008C868 0C080118 */ jal func_E0200460
/* 38E66C E008C86C 00452821 */ addu $a1, $v0, $a1
/* 38E670 E008C870 8E620000 */ lw $v0, ($s3)
/* 38E674 E008C874 26310048 */ addiu $s1, $s1, 0x48
/* 38E678 E008C878 0040282D */ daddu $a1, $v0, $zero
/* 38E67C E008C87C 24420008 */ addiu $v0, $v0, 8
/* 38E680 E008C880 AE620000 */ sw $v0, ($s3)
/* 38E684 E008C884 96840000 */ lhu $a0, ($s4)
/* 38E688 E008C888 3C02DA38 */ lui $v0, 0xda38
/* 38E68C E008C88C ACA20000 */ sw $v0, ($a1)
/* 38E690 E008C890 8EA30000 */ lw $v1, ($s5)
/* 38E694 E008C894 3082FFFF */ andi $v0, $a0, 0xffff
/* 38E698 E008C898 00021180 */ sll $v0, $v0, 6
/* 38E69C E008C89C 00501021 */ addu $v0, $v0, $s0
/* 38E6A0 E008C8A0 00621821 */ addu $v1, $v1, $v0
/* 38E6A4 E008C8A4 ACA30004 */ sw $v1, 4($a1)
/* 38E6A8 E008C8A8 8FC20008 */ lw $v0, 8($fp)
/* 38E6AC E008C8AC 00962021 */ addu $a0, $a0, $s6
/* 38E6B0 E008C8B0 02C2102A */ slt $v0, $s6, $v0
/* 38E6B4 E008C8B4 10400073 */ beqz $v0, .LE008CA84
/* 38E6B8 E008C8B8 A6840000 */ sh $a0, ($s4)
/* 38E6BC E008C8BC 3C014040 */ lui $at, 0x4040
/* 38E6C0 E008C8C0 4481D000 */ mtc1 $at, $f26
/* 38E6C4 E008C8C4 02A0B82D */ daddu $s7, $s5, $zero
/* 38E6C8 E008C8C8 0280A82D */ daddu $s5, $s4, $zero
/* 38E6CC E008C8CC 3C140001 */ lui $s4, 1
/* 38E6D0 E008C8D0 36941630 */ ori $s4, $s4, 0x1630
/* 38E6D4 E008C8D4 26300046 */ addiu $s0, $s1, 0x46
.LE008C8D8:
/* 38E6D8 E008C8D8 C600FFCE */ lwc1 $f0, -0x32($s0)
/* 38E6DC E008C8DC 4600C002 */ mul.s $f0, $f24, $f0
/* 38E6E0 E008C8E0 00000000 */ nop
/* 38E6E4 E008C8E4 4406A000 */ mfc1 $a2, $f20
/* 38E6E8 E008C8E8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 38E6EC E008C8EC C600FFC2 */ lwc1 $f0, -0x3e($s0)
/* 38E6F0 E008C8F0 E7A00014 */ swc1 $f0, 0x14($sp)
/* 38E6F4 E008C8F4 C600FFC6 */ lwc1 $f0, -0x3a($s0)
/* 38E6F8 E008C8F8 E7A00018 */ swc1 $f0, 0x18($sp)
/* 38E6FC E008C8FC C600FFCA */ lwc1 $f0, -0x36($s0)
/* 38E700 E008C900 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 38E704 E008C904 8E05FFE6 */ lw $a1, -0x1a($s0)
/* 38E708 E008C908 8E07FFEE */ lw $a3, -0x12($s0)
/* 38E70C E008C90C 0C080180 */ jal func_E0200600
/* 38E710 E008C910 27A40020 */ addiu $a0, $sp, 0x20
/* 38E714 E008C914 E7B40010 */ swc1 $f20, 0x10($sp)
/* 38E718 E008C918 8E05FFEA */ lw $a1, -0x16($s0)
/* 38E71C E008C91C 4406A000 */ mfc1 $a2, $f20
/* 38E720 E008C920 3C073F80 */ lui $a3, 0x3f80
/* 38E724 E008C924 0C080104 */ jal func_E0200410
/* 38E728 E008C928 0240202D */ daddu $a0, $s2, $zero
/* 38E72C E008C92C 0240202D */ daddu $a0, $s2, $zero
/* 38E730 E008C930 27A50020 */ addiu $a1, $sp, 0x20
/* 38E734 E008C934 0C080114 */ jal func_E0200450
/* 38E738 E008C938 00A0302D */ daddu $a2, $a1, $zero
/* 38E73C E008C93C 8FA800A0 */ lw $t0, 0xa0($sp)
/* 38E740 E008C940 29020008 */ slti $v0, $t0, 8
/* 38E744 E008C944 1040000B */ beqz $v0, .LE008C974
/* 38E748 E008C948 00000000 */ nop
/* 38E74C E008C94C 4616C001 */ sub.s $f0, $f24, $f22
/* 38E750 E008C950 461A0002 */ mul.s $f0, $f0, $f26
/* 38E754 E008C954 00000000 */ nop
/* 38E758 E008C958 46160003 */ div.s $f0, $f0, $f22
/* 38E75C E008C95C 4600D001 */ sub.s $f0, $f26, $f0
/* 38E760 E008C960 4406A000 */ mfc1 $a2, $f20
/* 38E764 E008C964 4407A000 */ mfc1 $a3, $f20
/* 38E768 E008C968 44050000 */ mfc1 $a1, $f0
/* 38E76C E008C96C 08023260 */ j .LE008C980
/* 38E770 E008C970 00000000 */ nop
.LE008C974:
/* 38E774 E008C974 3C054000 */ lui $a1, 0x4000
/* 38E778 E008C978 4406A000 */ mfc1 $a2, $f20
/* 38E77C E008C97C 4407A000 */ mfc1 $a3, $f20
.LE008C980:
/* 38E780 E008C980 0C080108 */ jal func_E0200420
/* 38E784 E008C984 0240202D */ daddu $a0, $s2, $zero
/* 38E788 E008C988 0240202D */ daddu $a0, $s2, $zero
/* 38E78C E008C98C 27A50020 */ addiu $a1, $sp, 0x20
/* 38E790 E008C990 0C080114 */ jal func_E0200450
/* 38E794 E008C994 00A0302D */ daddu $a2, $a1, $zero
/* 38E798 E008C998 27A40020 */ addiu $a0, $sp, 0x20
/* 38E79C E008C99C 26D60001 */ addiu $s6, $s6, 1
/* 38E7A0 E008C9A0 8E630000 */ lw $v1, ($s3)
/* 38E7A4 E008C9A4 96A50000 */ lhu $a1, ($s5)
/* 38E7A8 E008C9A8 8EE20000 */ lw $v0, ($s7)
/* 38E7AC E008C9AC 0060382D */ daddu $a3, $v1, $zero
/* 38E7B0 E008C9B0 24630008 */ addiu $v1, $v1, 8
/* 38E7B4 E008C9B4 00052980 */ sll $a1, $a1, 6
/* 38E7B8 E008C9B8 00B42821 */ addu $a1, $a1, $s4
/* 38E7BC E008C9BC 00452821 */ addu $a1, $v0, $a1
/* 38E7C0 E008C9C0 3C02FA00 */ lui $v0, 0xfa00
/* 38E7C4 E008C9C4 AE630000 */ sw $v1, ($s3)
/* 38E7C8 E008C9C8 ACE20000 */ sw $v0, ($a3)
/* 38E7CC E008C9CC 9203FFFE */ lbu $v1, -2($s0)
/* 38E7D0 E008C9D0 9202FFFF */ lbu $v0, -1($s0)
/* 38E7D4 E008C9D4 92060000 */ lbu $a2, ($s0)
/* 38E7D8 E008C9D8 26100048 */ addiu $s0, $s0, 0x48
/* 38E7DC E008C9DC 8FA800A4 */ lw $t0, 0xa4($sp)
/* 38E7E0 E008C9E0 00031E00 */ sll $v1, $v1, 0x18
/* 38E7E4 E008C9E4 00021400 */ sll $v0, $v0, 0x10
/* 38E7E8 E008C9E8 00621825 */ or $v1, $v1, $v0
/* 38E7EC E008C9EC 00063200 */ sll $a2, $a2, 8
/* 38E7F0 E008C9F0 00661825 */ or $v1, $v1, $a2
/* 38E7F4 E008C9F4 310200FF */ andi $v0, $t0, 0xff
/* 38E7F8 E008C9F8 00621825 */ or $v1, $v1, $v0
/* 38E7FC E008C9FC 0C080118 */ jal func_E0200460
/* 38E800 E008CA00 ACE30004 */ sw $v1, 4($a3)
/* 38E804 E008CA04 3C06D838 */ lui $a2, 0xd838
/* 38E808 E008CA08 8E640000 */ lw $a0, ($s3)
/* 38E80C E008CA0C 34C60002 */ ori $a2, $a2, 2
/* 38E810 E008CA10 0080282D */ daddu $a1, $a0, $zero
/* 38E814 E008CA14 24840008 */ addiu $a0, $a0, 8
/* 38E818 E008CA18 AE640000 */ sw $a0, ($s3)
/* 38E81C E008CA1C 96A20000 */ lhu $v0, ($s5)
/* 38E820 E008CA20 3C03DA38 */ lui $v1, 0xda38
/* 38E824 E008CA24 ACA30000 */ sw $v1, ($a1)
/* 38E828 E008CA28 24430001 */ addiu $v1, $v0, 1
/* 38E82C E008CA2C 3042FFFF */ andi $v0, $v0, 0xffff
/* 38E830 E008CA30 00021180 */ sll $v0, $v0, 6
/* 38E834 E008CA34 A6A30000 */ sh $v1, ($s5)
/* 38E838 E008CA38 8EE30000 */ lw $v1, ($s7)
/* 38E83C E008CA3C 00541021 */ addu $v0, $v0, $s4
/* 38E840 E008CA40 00621821 */ addu $v1, $v1, $v0
/* 38E844 E008CA44 24820008 */ addiu $v0, $a0, 8
/* 38E848 E008CA48 ACA30004 */ sw $v1, 4($a1)
/* 38E84C E008CA4C AE620000 */ sw $v0, ($s3)
/* 38E850 E008CA50 3C02DE00 */ lui $v0, 0xde00
/* 38E854 E008CA54 AC820000 */ sw $v0, ($a0)
/* 38E858 E008CA58 3C020900 */ lui $v0, 0x900
/* 38E85C E008CA5C 244203A0 */ addiu $v0, $v0, 0x3a0
/* 38E860 E008CA60 AC820004 */ sw $v0, 4($a0)
/* 38E864 E008CA64 24020040 */ addiu $v0, $zero, 0x40
/* 38E868 E008CA68 AC860008 */ sw $a2, 8($a0)
/* 38E86C E008CA6C AC82000C */ sw $v0, 0xc($a0)
/* 38E870 E008CA70 8FC20008 */ lw $v0, 8($fp)
/* 38E874 E008CA74 24840010 */ addiu $a0, $a0, 0x10
/* 38E878 E008CA78 02C2102A */ slt $v0, $s6, $v0
/* 38E87C E008CA7C 1440FF96 */ bnez $v0, .LE008C8D8
/* 38E880 E008CA80 AE640000 */ sw $a0, ($s3)
.LE008CA84:
/* 38E884 E008CA84 3C05D838 */ lui $a1, 0xd838
/* 38E888 E008CA88 3C03800A */ lui $v1, %hi(D_8009A66C)
/* 38E88C E008CA8C 2463A66C */ addiu $v1, $v1, %lo(D_8009A66C)
/* 38E890 E008CA90 8C620000 */ lw $v0, ($v1)
/* 38E894 E008CA94 34A50002 */ ori $a1, $a1, 2
/* 38E898 E008CA98 0040202D */ daddu $a0, $v0, $zero
/* 38E89C E008CA9C 24420008 */ addiu $v0, $v0, 8
/* 38E8A0 E008CAA0 AC620000 */ sw $v0, ($v1)
/* 38E8A4 E008CAA4 24020040 */ addiu $v0, $zero, 0x40
/* 38E8A8 E008CAA8 AC850000 */ sw $a1, ($a0)
/* 38E8AC E008CAAC AC820004 */ sw $v0, 4($a0)
/* 38E8B0 E008CAB0 8FBF00CC */ lw $ra, 0xcc($sp)
/* 38E8B4 E008CAB4 8FBE00C8 */ lw $fp, 0xc8($sp)
/* 38E8B8 E008CAB8 8FB700C4 */ lw $s7, 0xc4($sp)
/* 38E8BC E008CABC 8FB600C0 */ lw $s6, 0xc0($sp)
/* 38E8C0 E008CAC0 8FB500BC */ lw $s5, 0xbc($sp)
/* 38E8C4 E008CAC4 8FB400B8 */ lw $s4, 0xb8($sp)
/* 38E8C8 E008CAC8 8FB300B4 */ lw $s3, 0xb4($sp)
/* 38E8CC E008CACC 8FB200B0 */ lw $s2, 0xb0($sp)
/* 38E8D0 E008CAD0 8FB100AC */ lw $s1, 0xac($sp)
/* 38E8D4 E008CAD4 8FB000A8 */ lw $s0, 0xa8($sp)
/* 38E8D8 E008CAD8 D7BA00E8 */ ldc1 $f26, 0xe8($sp)
/* 38E8DC E008CADC D7B800E0 */ ldc1 $f24, 0xe0($sp)
/* 38E8E0 E008CAE0 D7B600D8 */ ldc1 $f22, 0xd8($sp)
/* 38E8E4 E008CAE4 D7B400D0 */ ldc1 $f20, 0xd0($sp)
/* 38E8E8 E008CAE8 03E00008 */ jr $ra
/* 38E8EC E008CAEC 27BD00F0 */ addiu $sp, $sp, 0xf0

View File

@ -0,0 +1,65 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E0096000
/* 394280 E0096000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 394284 E0096004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 394288 E0096008 4485A000 */ mtc1 $a1, $f20
/* 39428C E009600C AFB1002C */ sw $s1, 0x2c($sp)
/* 394290 E0096010 0080882D */ daddu $s1, $a0, $zero
/* 394294 E0096014 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 394298 E0096018 4486B000 */ mtc1 $a2, $f22
/* 39429C E009601C 27A40010 */ addiu $a0, $sp, 0x10
/* 3942A0 E0096020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 3942A4 E0096024 4487C000 */ mtc1 $a3, $f24
/* 3942A8 E0096028 3C02E009 */ lui $v0, %hi(D_E00960EC)
/* 3942AC E009602C 244260EC */ addiu $v0, $v0, %lo(D_E00960EC)
/* 3942B0 E0096030 AFA20018 */ sw $v0, 0x18($sp)
/* 3942B4 E0096034 3C02E009 */ lui $v0, %hi(D_E00960F4)
/* 3942B8 E0096038 244260F4 */ addiu $v0, $v0, %lo(D_E00960F4)
/* 3942BC E009603C AFA2001C */ sw $v0, 0x1c($sp)
/* 3942C0 E0096040 3C02E009 */ lui $v0, %hi(D_E0096178)
/* 3942C4 E0096044 24426178 */ addiu $v0, $v0, %lo(D_E0096178)
/* 3942C8 E0096048 AFA20020 */ sw $v0, 0x20($sp)
/* 3942CC E009604C 2402004B */ addiu $v0, $zero, 0x4b
/* 3942D0 E0096050 AFBF0030 */ sw $ra, 0x30($sp)
/* 3942D4 E0096054 AFB00028 */ sw $s0, 0x28($sp)
/* 3942D8 E0096058 AFA00010 */ sw $zero, 0x10($sp)
/* 3942DC E009605C AFA00024 */ sw $zero, 0x24($sp)
/* 3942E0 E0096060 0C080124 */ jal func_E0200490
/* 3942E4 E0096064 AFA20014 */ sw $v0, 0x14($sp)
/* 3942E8 E0096068 24040024 */ addiu $a0, $zero, 0x24
/* 3942EC E009606C 24030001 */ addiu $v1, $zero, 1
/* 3942F0 E0096070 0040802D */ daddu $s0, $v0, $zero
/* 3942F4 E0096074 0C08012C */ jal func_E02004B0
/* 3942F8 E0096078 AE030008 */ sw $v1, 8($s0)
/* 3942FC E009607C 0040202D */ daddu $a0, $v0, $zero
/* 394300 E0096080 14800003 */ bnez $a0, .LE0096090
/* 394304 E0096084 AE02000C */ sw $v0, 0xc($s0)
.LE0096088:
/* 394308 E0096088 08025822 */ j .LE0096088
/* 39430C E009608C 00000000 */ nop
.LE0096090:
/* 394310 E0096090 3C013F2B */ lui $at, 0x3f2b
/* 394314 E0096094 3421851F */ ori $at, $at, 0x851f
/* 394318 E0096098 44810000 */ mtc1 $at, $f0
/* 39431C E009609C AC910000 */ sw $s1, ($a0)
/* 394320 E00960A0 E4940004 */ swc1 $f20, 4($a0)
/* 394324 E00960A4 E4960008 */ swc1 $f22, 8($a0)
/* 394328 E00960A8 E498000C */ swc1 $f24, 0xc($a0)
/* 39432C E00960AC AC800010 */ sw $zero, 0x10($a0)
/* 394330 E00960B0 8FA30064 */ lw $v1, 0x64($sp)
/* 394334 E00960B4 AC800020 */ sw $zero, 0x20($a0)
/* 394338 E00960B8 AC83001C */ sw $v1, 0x1c($a0)
/* 39433C E00960BC C7A20060 */ lwc1 $f2, 0x60($sp)
/* 394340 E00960C0 0200102D */ daddu $v0, $s0, $zero
/* 394344 E00960C4 E4800018 */ swc1 $f0, 0x18($a0)
/* 394348 E00960C8 E4820014 */ swc1 $f2, 0x14($a0)
/* 39434C E00960CC 8FBF0030 */ lw $ra, 0x30($sp)
/* 394350 E00960D0 8FB1002C */ lw $s1, 0x2c($sp)
/* 394354 E00960D4 8FB00028 */ lw $s0, 0x28($sp)
/* 394358 E00960D8 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 39435C E00960DC D7B60040 */ ldc1 $f22, 0x40($sp)
/* 394360 E00960E0 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 394364 E00960E4 03E00008 */ jr $ra
/* 394368 E00960E8 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00960EC
/* 39436C E00960EC 03E00008 */ jr $ra
/* 394370 E00960F0 00000000 */ nop

View File

@ -0,0 +1,40 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00960F4
/* 394374 E00960F4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 394378 E00960F8 AFBF0010 */ sw $ra, 0x10($sp)
/* 39437C E00960FC 8C85000C */ lw $a1, 0xc($a0)
/* 394380 E0096100 8CA2001C */ lw $v0, 0x1c($a1)
/* 394384 E0096104 2442FFFF */ addiu $v0, $v0, -1
/* 394388 E0096108 ACA2001C */ sw $v0, 0x1c($a1)
/* 39438C E009610C 8CA20020 */ lw $v0, 0x20($a1)
/* 394390 E0096110 8CA3001C */ lw $v1, 0x1c($a1)
/* 394394 E0096114 24420001 */ addiu $v0, $v0, 1
/* 394398 E0096118 04610005 */ bgez $v1, .LE0096130
/* 39439C E009611C ACA20020 */ sw $v0, 0x20($a1)
/* 3943A0 E0096120 0C080128 */ jal func_E02004A0
/* 3943A4 E0096124 00000000 */ nop
/* 3943A8 E0096128 0802585B */ j .LE009616C
/* 3943AC E009612C 00000000 */ nop
.LE0096130:
/* 3943B0 E0096130 C4A00010 */ lwc1 $f0, 0x10($a1)
/* 3943B4 E0096134 C4A20014 */ lwc1 $f2, 0x14($a1)
/* 3943B8 E0096138 46020000 */ add.s $f0, $f0, $f2
/* 3943BC E009613C 3C014000 */ lui $at, 0x4000
/* 3943C0 E0096140 44811000 */ mtc1 $at, $f2
/* 3943C4 E0096144 00000000 */ nop
/* 3943C8 E0096148 4600103C */ c.lt.s $f2, $f0
/* 3943CC E009614C 00000000 */ nop
/* 3943D0 E0096150 45000002 */ bc1f .LE009615C
/* 3943D4 E0096154 E4A00010 */ swc1 $f0, 0x10($a1)
/* 3943D8 E0096158 E4A20010 */ swc1 $f2, 0x10($a1)
.LE009615C:
/* 3943DC E009615C C4A00008 */ lwc1 $f0, 8($a1)
/* 3943E0 E0096160 C4A20010 */ lwc1 $f2, 0x10($a1)
/* 3943E4 E0096164 46020000 */ add.s $f0, $f0, $f2
/* 3943E8 E0096168 E4A00008 */ swc1 $f0, 8($a1)
.LE009616C:
/* 3943EC E009616C 8FBF0010 */ lw $ra, 0x10($sp)
/* 3943F0 E0096170 03E00008 */ jr $ra
/* 3943F4 E0096174 27BD0018 */ addiu $sp, $sp, 0x18

Some files were not shown because too many files have changed in this diff Show More