more 🐟

This commit is contained in:
Ethan Roseman 2020-10-18 18:16:42 -04:00
parent a15a282a08
commit fa589f28f1
54 changed files with 4310 additions and 9 deletions

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80246B2C_16C8E0
/* 17540C 80246B2C 03E00008 */ jr $ra
/* 175410 80246B30 00000000 */ nop

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel pause_cleanup_16C8E0
/* 172FE8 80244708 03E00008 */ jr $ra
/* 172FEC 8024470C 00000000 */ nop

View File

@ -54,8 +54,8 @@ glabel ActorSpeak
/* 1818D0 80252FF0 8E220000 */ lw $v0, ($s1)
/* 1818D4 80252FF4 3C01802A */ lui $at, %hi(gSpeakingActor)
/* 1818D8 80252FF8 AC31FA74 */ sw $s1, %lo(gSpeakingActor)($at)
/* 1818DC 80252FFC 3C01802A */ lui $at, 0x802a
/* 1818E0 80253000 AC32FA78 */ sw $s2, -0x588($at)
/* 1818DC 80252FFC 3C01802A */ lui $at, %hi(gSpeakingActorPart)
/* 1818E0 80253000 AC32FA78 */ sw $s2, %lo(gSpeakingActorPart)($at)
/* 1818E4 80253004 44831000 */ mtc1 $v1, $f2
/* 1818E8 80253008 00000000 */ nop
/* 1818EC 8025300C 468010A0 */ cvt.s.w $f2, $f2
@ -138,8 +138,8 @@ glabel ActorSpeak
/* 181A10 80253130 0000102D */ daddu $v0, $zero, $zero
/* 181A14 80253134 3C11802A */ lui $s1, %hi(gSpeakingActor)
/* 181A18 80253138 8E31FA74 */ lw $s1, %lo(gSpeakingActor)($s1)
/* 181A1C 8025313C 3C12802A */ lui $s2, 0x802a
/* 181A20 80253140 8E52FA78 */ lw $s2, -0x588($s2)
/* 181A1C 8025313C 3C12802A */ lui $s2, %hi(gSpeakingActorPart)
/* 181A20 80253140 8E52FA78 */ lw $s2, %lo(gSpeakingActorPart)($s2)
/* 181A24 80253144 86220150 */ lh $v0, 0x150($s1)
/* 181A28 80253148 C6200144 */ lwc1 $f0, 0x144($s1)
/* 181A2C 8025314C 44821000 */ mtc1 $v0, $f2

View File

@ -46,8 +46,8 @@ glabel EndActorSpeech
/* 181C50 80253370 8C84FA60 */ lw $a0, %lo(gSpeakingActorPrintCtx)($a0)
/* 181C54 80253374 3C01802A */ lui $at, %hi(gSpeakingActor)
/* 181C58 80253378 AC31FA74 */ sw $s1, %lo(gSpeakingActor)($at)
/* 181C5C 8025337C 3C01802A */ lui $at, 0x802a
/* 181C60 80253380 AC22FA78 */ sw $v0, -0x588($at)
/* 181C5C 8025337C 3C01802A */ lui $at, %hi(gSpeakingActorPart)
/* 181C60 80253380 AC22FA78 */ sw $v0, %lo(gSpeakingActorPart)($at)
/* 181C64 80253384 0C04971C */ jal close_message
/* 181C68 80253388 00000000 */ nop
/* 181C6C 8025338C 0C03A6D5 */ jal increment_status_menu_disabled
@ -58,8 +58,8 @@ glabel EndActorSpeech
/* 181C7C 8025339C 0000102D */ daddu $v0, $zero, $zero
/* 181C80 802533A0 3C11802A */ lui $s1, %hi(gSpeakingActor)
/* 181C84 802533A4 8E31FA74 */ lw $s1, %lo(gSpeakingActor)($s1)
/* 181C88 802533A8 3C12802A */ lui $s2, 0x802a
/* 181C8C 802533AC 8E52FA78 */ lw $s2, -0x588($s2)
/* 181C88 802533A8 3C12802A */ lui $s2, %hi(gSpeakingActorPart)
/* 181C8C 802533AC 8E52FA78 */ lw $s2, %lo(gSpeakingActorPart)($s2)
/* 181C90 802533B0 86220150 */ lh $v0, 0x150($s1)
/* 181C94 802533B4 C6200144 */ lwc1 $f0, 0x144($s1)
/* 181C98 802533B8 44821000 */ mtc1 $v0, $f2

View File

@ -0,0 +1,70 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00A8000
/* 3A70F0 E00A8000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 3A70F4 E00A8004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 3A70F8 E00A8008 4485A000 */ mtc1 $a1, $f20
/* 3A70FC E00A800C AFB1002C */ sw $s1, 0x2c($sp)
/* 3A7100 E00A8010 0080882D */ daddu $s1, $a0, $zero
/* 3A7104 E00A8014 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 3A7108 E00A8018 4486B000 */ mtc1 $a2, $f22
/* 3A710C E00A801C 27A40010 */ addiu $a0, $sp, 0x10
/* 3A7110 E00A8020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 3A7114 E00A8024 4487C000 */ mtc1 $a3, $f24
/* 3A7118 E00A8028 3C02E00B */ lui $v0, 0xe00b
/* 3A711C E00A802C 244280FC */ addiu $v0, $v0, -0x7f04
/* 3A7120 E00A8030 AFA20018 */ sw $v0, 0x18($sp)
/* 3A7124 E00A8034 3C02E00B */ lui $v0, 0xe00b
/* 3A7128 E00A8038 24428104 */ addiu $v0, $v0, -0x7efc
/* 3A712C E00A803C AFA2001C */ sw $v0, 0x1c($sp)
/* 3A7130 E00A8040 3C02E00B */ lui $v0, 0xe00b
/* 3A7134 E00A8044 244282D4 */ addiu $v0, $v0, -0x7d2c
/* 3A7138 E00A8048 AFA20020 */ sw $v0, 0x20($sp)
/* 3A713C E00A804C 24020054 */ addiu $v0, $zero, 0x54
/* 3A7140 E00A8050 AFBF0030 */ sw $ra, 0x30($sp)
/* 3A7144 E00A8054 AFB00028 */ sw $s0, 0x28($sp)
/* 3A7148 E00A8058 AFA00010 */ sw $zero, 0x10($sp)
/* 3A714C E00A805C AFA00024 */ sw $zero, 0x24($sp)
/* 3A7150 E00A8060 0C080124 */ jal func_E0200490
/* 3A7154 E00A8064 AFA20014 */ sw $v0, 0x14($sp)
/* 3A7158 E00A8068 2404010C */ addiu $a0, $zero, 0x10c
/* 3A715C E00A806C 24030001 */ addiu $v1, $zero, 1
/* 3A7160 E00A8070 0040802D */ daddu $s0, $v0, $zero
/* 3A7164 E00A8074 0C08012C */ jal func_E02004B0
/* 3A7168 E00A8078 AE030008 */ sw $v1, 8($s0)
/* 3A716C E00A807C 14400003 */ bnez $v0, .LE00A808C
/* 3A7170 E00A8080 AE02000C */ sw $v0, 0xc($s0)
.LE00A8084:
/* 3A7174 E00A8084 0802A021 */ j .LE00A8084
/* 3A7178 E00A8088 00000000 */ nop
.LE00A808C:
/* 3A717C E00A808C 0000202D */ daddu $a0, $zero, $zero
/* 3A7180 E00A8090 0040182D */ daddu $v1, $v0, $zero
/* 3A7184 E00A8094 44800000 */ mtc1 $zero, $f0
/* 3A7188 E00A8098 24020064 */ addiu $v0, $zero, 0x64
/* 3A718C E00A809C AC620004 */ sw $v0, 4($v1)
/* 3A7190 E00A80A0 240200FF */ addiu $v0, $zero, 0xff
/* 3A7194 E00A80A4 AC710000 */ sw $s1, ($v1)
/* 3A7198 E00A80A8 AC620018 */ sw $v0, 0x18($v1)
/* 3A719C E00A80AC E474000C */ swc1 $f20, 0xc($v1)
/* 3A71A0 E00A80B0 E4760010 */ swc1 $f22, 0x10($v1)
/* 3A71A4 E00A80B4 E4780014 */ swc1 $f24, 0x14($v1)
/* 3A71A8 E00A80B8 AC600008 */ sw $zero, 8($v1)
.LE00A80BC:
/* 3A71AC E00A80BC AC60001C */ sw $zero, 0x1c($v1)
/* 3A71B0 E00A80C0 E46000E4 */ swc1 $f0, 0xe4($v1)
/* 3A71B4 E00A80C4 E46000BC */ swc1 $f0, 0xbc($v1)
/* 3A71B8 E00A80C8 24840001 */ addiu $a0, $a0, 1
/* 3A71BC E00A80CC 2882000A */ slti $v0, $a0, 0xa
/* 3A71C0 E00A80D0 1440FFFA */ bnez $v0, .LE00A80BC
/* 3A71C4 E00A80D4 24630004 */ addiu $v1, $v1, 4
/* 3A71C8 E00A80D8 0200102D */ daddu $v0, $s0, $zero
/* 3A71CC E00A80DC 8FBF0030 */ lw $ra, 0x30($sp)
/* 3A71D0 E00A80E0 8FB1002C */ lw $s1, 0x2c($sp)
/* 3A71D4 E00A80E4 8FB00028 */ lw $s0, 0x28($sp)
/* 3A71D8 E00A80E8 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 3A71DC E00A80EC D7B60040 */ ldc1 $f22, 0x40($sp)
/* 3A71E0 E00A80F0 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 3A71E4 E00A80F4 03E00008 */ jr $ra
/* 3A71E8 E00A80F8 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_E00A80FC
/* 3A71EC E00A80FC 03E00008 */ jr $ra
/* 3A71F0 E00A8100 00000000 */ nop

View File

@ -0,0 +1,131 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00A8104
/* 3A71F4 E00A8104 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3A71F8 E00A8108 AFBF0020 */ sw $ra, 0x20($sp)
/* 3A71FC E00A810C AFB3001C */ sw $s3, 0x1c($sp)
/* 3A7200 E00A8110 AFB20018 */ sw $s2, 0x18($sp)
/* 3A7204 E00A8114 AFB10014 */ sw $s1, 0x14($sp)
/* 3A7208 E00A8118 AFB00010 */ sw $s0, 0x10($sp)
/* 3A720C E00A811C 8C830000 */ lw $v1, ($a0)
/* 3A7210 E00A8120 8C85000C */ lw $a1, 0xc($a0)
/* 3A7214 E00A8124 30620010 */ andi $v0, $v1, 0x10
/* 3A7218 E00A8128 10400005 */ beqz $v0, .LE00A8140
/* 3A721C E00A812C 2402FFEF */ addiu $v0, $zero, -0x11
/* 3A7220 E00A8130 00621024 */ and $v0, $v1, $v0
/* 3A7224 E00A8134 AC820000 */ sw $v0, ($a0)
/* 3A7228 E00A8138 2402001E */ addiu $v0, $zero, 0x1e
/* 3A722C E00A813C ACA20004 */ sw $v0, 4($a1)
.LE00A8140:
/* 3A7230 E00A8140 8CA30004 */ lw $v1, 4($a1)
/* 3A7234 E00A8144 28620064 */ slti $v0, $v1, 0x64
/* 3A7238 E00A8148 10400002 */ beqz $v0, .LE00A8154
/* 3A723C E00A814C 2462FFFF */ addiu $v0, $v1, -1
/* 3A7240 E00A8150 ACA20004 */ sw $v0, 4($a1)
.LE00A8154:
/* 3A7244 E00A8154 8CA20008 */ lw $v0, 8($a1)
/* 3A7248 E00A8158 8CA30004 */ lw $v1, 4($a1)
/* 3A724C E00A815C 24420001 */ addiu $v0, $v0, 1
/* 3A7250 E00A8160 04610005 */ bgez $v1, .LE00A8178
/* 3A7254 E00A8164 ACA20008 */ sw $v0, 8($a1)
/* 3A7258 E00A8168 0C080128 */ jal func_E02004A0
/* 3A725C E00A816C 00000000 */ nop
/* 3A7260 E00A8170 0802A0AE */ j .LE00A82B8
/* 3A7264 E00A8174 00000000 */ nop
.LE00A8178:
/* 3A7268 E00A8178 28620010 */ slti $v0, $v1, 0x10
/* 3A726C E00A817C 10400002 */ beqz $v0, .LE00A8188
/* 3A7270 E00A8180 00031100 */ sll $v0, $v1, 4
/* 3A7274 E00A8184 ACA20018 */ sw $v0, 0x18($a1)
.LE00A8188:
/* 3A7278 E00A8188 0000882D */ daddu $s1, $zero, $zero
/* 3A727C E00A818C 24120001 */ addiu $s2, $zero, 1
/* 3A7280 E00A8190 3C13E00B */ lui $s3, 0xe00b
/* 3A7284 E00A8194 26738690 */ addiu $s3, $s3, -0x7970
/* 3A7288 E00A8198 00A0802D */ daddu $s0, $a1, $zero
.LE00A819C:
/* 3A728C E00A819C 8E02001C */ lw $v0, 0x1c($s0)
/* 3A7290 E00A81A0 10400005 */ beqz $v0, .LE00A81B8
/* 3A7294 E00A81A4 00000000 */ nop
/* 3A7298 E00A81A8 1052001E */ beq $v0, $s2, .LE00A8224
/* 3A729C E00A81AC 00000000 */ nop
/* 3A72A0 E00A81B0 0802A0AA */ j .LE00A82A8
/* 3A72A4 E00A81B4 26100004 */ addiu $s0, $s0, 4
.LE00A81B8:
/* 3A72A8 E00A81B8 0C080138 */ jal func_E02004E0
/* 3A72AC E00A81BC 2404000A */ addiu $a0, $zero, 0xa
/* 3A72B0 E00A81C0 2403000A */ addiu $v1, $zero, 0xa
/* 3A72B4 E00A81C4 54430038 */ bnel $v0, $v1, .LE00A82A8
/* 3A72B8 E00A81C8 26100004 */ addiu $s0, $s0, 4
/* 3A72BC E00A81CC 24040001 */ addiu $a0, $zero, 1
/* 3A72C0 E00A81D0 0C080138 */ jal func_E02004E0
/* 3A72C4 E00A81D4 AE12001C */ sw $s2, 0x1c($s0)
/* 3A72C8 E00A81D8 24040032 */ addiu $a0, $zero, 0x32
/* 3A72CC E00A81DC AE020044 */ sw $v0, 0x44($s0)
/* 3A72D0 E00A81E0 0C080138 */ jal func_E02004E0
/* 3A72D4 E00A81E4 AE00006C */ sw $zero, 0x6c($s0)
/* 3A72D8 E00A81E8 3C01E00B */ lui $at, 0xe00b
/* 3A72DC E00A81EC D42086A0 */ ldc1 $f0, -0x7960($at)
/* 3A72E0 E00A81F0 44821000 */ mtc1 $v0, $f2
/* 3A72E4 E00A81F4 00000000 */ nop
/* 3A72E8 E00A81F8 468010A1 */ cvt.d.w $f2, $f2
/* 3A72EC E00A81FC 46201082 */ mul.d $f2, $f2, $f0
/* 3A72F0 E00A8200 00000000 */ nop
/* 3A72F4 E00A8204 3C013FE0 */ lui $at, 0x3fe0
/* 3A72F8 E00A8208 44810800 */ mtc1 $at, $f1
/* 3A72FC E00A820C 44800000 */ mtc1 $zero, $f0
/* 3A7300 E00A8210 00000000 */ nop
/* 3A7304 E00A8214 46201080 */ add.d $f2, $f2, $f0
/* 3A7308 E00A8218 462010A0 */ cvt.s.d $f2, $f2
/* 3A730C E00A821C 0802A0A9 */ j .LE00A82A4
/* 3A7310 E00A8220 E6020094 */ swc1 $f2, 0x94($s0)
.LE00A8224:
/* 3A7314 E00A8224 8E020044 */ lw $v0, 0x44($s0)
/* 3A7318 E00A8228 8E03006C */ lw $v1, 0x6c($s0)
/* 3A731C E00A822C 000210C0 */ sll $v0, $v0, 3
/* 3A7320 E00A8230 00532021 */ addu $a0, $v0, $s3
/* 3A7324 E00A8234 90820004 */ lbu $v0, 4($a0)
/* 3A7328 E00A8238 0062102A */ slt $v0, $v1, $v0
/* 3A732C E00A823C 14400003 */ bnez $v0, .LE00A824C
/* 3A7330 E00A8240 00031840 */ sll $v1, $v1, 1
/* 3A7334 E00A8244 0802A0A9 */ j .LE00A82A4
/* 3A7338 E00A8248 AE00001C */ sw $zero, 0x1c($s0)
.LE00A824C:
/* 3A733C E00A824C 8C820000 */ lw $v0, ($a0)
/* 3A7340 E00A8250 00621021 */ addu $v0, $v1, $v0
/* 3A7344 E00A8254 80420000 */ lb $v0, ($v0)
/* 3A7348 E00A8258 C6020094 */ lwc1 $f2, 0x94($s0)
/* 3A734C E00A825C 44820000 */ mtc1 $v0, $f0
/* 3A7350 E00A8260 00000000 */ nop
/* 3A7354 E00A8264 46800020 */ cvt.s.w $f0, $f0
/* 3A7358 E00A8268 46020002 */ mul.s $f0, $f0, $f2
/* 3A735C E00A826C 00000000 */ nop
/* 3A7360 E00A8270 E60000BC */ swc1 $f0, 0xbc($s0)
/* 3A7364 E00A8274 8C820000 */ lw $v0, ($a0)
/* 3A7368 E00A8278 00621821 */ addu $v1, $v1, $v0
/* 3A736C E00A827C 80620001 */ lb $v0, 1($v1)
/* 3A7370 E00A8280 44820000 */ mtc1 $v0, $f0
/* 3A7374 E00A8284 00000000 */ nop
/* 3A7378 E00A8288 46800020 */ cvt.s.w $f0, $f0
/* 3A737C E00A828C 46020002 */ mul.s $f0, $f0, $f2
/* 3A7380 E00A8290 00000000 */ nop
/* 3A7384 E00A8294 8E02006C */ lw $v0, 0x6c($s0)
/* 3A7388 E00A8298 24420001 */ addiu $v0, $v0, 1
/* 3A738C E00A829C AE02006C */ sw $v0, 0x6c($s0)
/* 3A7390 E00A82A0 E60000E4 */ swc1 $f0, 0xe4($s0)
.LE00A82A4:
/* 3A7394 E00A82A4 26100004 */ addiu $s0, $s0, 4
.LE00A82A8:
/* 3A7398 E00A82A8 26310001 */ addiu $s1, $s1, 1
/* 3A739C E00A82AC 2A22000A */ slti $v0, $s1, 0xa
/* 3A73A0 E00A82B0 1440FFBA */ bnez $v0, .LE00A819C
/* 3A73A4 E00A82B4 00000000 */ nop
.LE00A82B8:
/* 3A73A8 E00A82B8 8FBF0020 */ lw $ra, 0x20($sp)
/* 3A73AC E00A82BC 8FB3001C */ lw $s3, 0x1c($sp)
/* 3A73B0 E00A82C0 8FB20018 */ lw $s2, 0x18($sp)
/* 3A73B4 E00A82C4 8FB10014 */ lw $s1, 0x14($sp)
/* 3A73B8 E00A82C8 8FB00010 */ lw $s0, 0x10($sp)
/* 3A73BC E00A82CC 03E00008 */ jr $ra
/* 3A73C0 E00A82D0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00A82D4
/* 3A73C4 E00A82D4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3A73C8 E00A82D8 3C02E00B */ lui $v0, 0xe00b
/* 3A73CC E00A82DC 24428320 */ addiu $v0, $v0, -0x7ce0
/* 3A73D0 E00A82E0 AFA2001C */ sw $v0, 0x1c($sp)
/* 3A73D4 E00A82E4 2402002D */ addiu $v0, $zero, 0x2d
/* 3A73D8 E00A82E8 AFA40018 */ sw $a0, 0x18($sp)
/* 3A73DC E00A82EC 27A40010 */ addiu $a0, $sp, 0x10
/* 3A73E0 E00A82F0 AFBF0020 */ sw $ra, 0x20($sp)
/* 3A73E4 E00A82F4 AFA00014 */ sw $zero, 0x14($sp)
/* 3A73E8 E00A82F8 0C080120 */ jal func_E0200480
/* 3A73EC E00A82FC AFA20010 */ sw $v0, 0x10($sp)
/* 3A73F0 E00A8300 8C430000 */ lw $v1, ($v0)
/* 3A73F4 E00A8304 34630002 */ ori $v1, $v1, 2
/* 3A73F8 E00A8308 AC430000 */ sw $v1, ($v0)
/* 3A73FC E00A830C 8FBF0020 */ lw $ra, 0x20($sp)
/* 3A7400 E00A8310 03E00008 */ jr $ra
/* 3A7404 E00A8314 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_E00A8318
/* 3A7408 E00A8318 03E00008 */ jr $ra
/* 3A740C E00A831C 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_E00A8320
/* 3A7410 E00A8320 27BDFF40 */ addiu $sp, $sp, -0xc0
/* 3A7414 E00A8324 0080302D */ daddu $a2, $a0, $zero
/* 3A7418 E00A8328 3C07DB06 */ lui $a3, 0xdb06
/* 3A741C E00A832C 34E70024 */ ori $a3, $a3, 0x24
/* 3A7420 E00A8330 27A40018 */ addiu $a0, $sp, 0x18
/* 3A7424 E00A8334 AFB200A0 */ sw $s2, 0xa0($sp)
/* 3A7428 E00A8338 3C120001 */ lui $s2, 1
/* 3A742C E00A833C 36521630 */ ori $s2, $s2, 0x1630
/* 3A7430 E00A8340 AFB400A8 */ sw $s4, 0xa8($sp)
/* 3A7434 E00A8344 0000A02D */ daddu $s4, $zero, $zero
/* 3A7438 E00A8348 3C02800A */ lui $v0, 0x800a
/* 3A743C E00A834C 2442A674 */ addiu $v0, $v0, -0x598c
/* 3A7440 E00A8350 AFBE00B8 */ sw $fp, 0xb8($sp)
/* 3A7444 E00A8354 0040F02D */ daddu $fp, $v0, $zero
/* 3A7448 E00A8358 3C028007 */ lui $v0, 0x8007
/* 3A744C E00A835C 244241F0 */ addiu $v0, $v0, 0x41f0
/* 3A7450 E00A8360 AFB600B0 */ sw $s6, 0xb0($sp)
/* 3A7454 E00A8364 0040B02D */ daddu $s6, $v0, $zero
/* 3A7458 E00A8368 AFB700B4 */ sw $s7, 0xb4($sp)
/* 3A745C E00A836C 3C170001 */ lui $s7, 1
/* 3A7460 E00A8370 36F71630 */ ori $s7, $s7, 0x1630
/* 3A7464 E00A8374 3C02800A */ lui $v0, 0x800a
/* 3A7468 E00A8378 2442A66C */ addiu $v0, $v0, -0x5994
/* 3A746C E00A837C AFB500AC */ sw $s5, 0xac($sp)
/* 3A7470 E00A8380 0040A82D */ daddu $s5, $v0, $zero
/* 3A7474 E00A8384 AFBF00BC */ sw $ra, 0xbc($sp)
/* 3A7478 E00A8388 AFB300A4 */ sw $s3, 0xa4($sp)
/* 3A747C E00A838C AFB1009C */ sw $s1, 0x9c($sp)
/* 3A7480 E00A8390 AFB00098 */ sw $s0, 0x98($sp)
/* 3A7484 E00A8394 8C480000 */ lw $t0, ($v0)
/* 3A7488 E00A8398 3C02E700 */ lui $v0, 0xe700
/* 3A748C E00A839C 8CC5000C */ lw $a1, 0xc($a2)
/* 3A7490 E00A83A0 0100182D */ daddu $v1, $t0, $zero
/* 3A7494 E00A83A4 8CB00018 */ lw $s0, 0x18($a1)
/* 3A7498 E00A83A8 25080008 */ addiu $t0, $t0, 8
/* 3A749C E00A83AC AC620000 */ sw $v0, ($v1)
/* 3A74A0 E00A83B0 AC600004 */ sw $zero, 4($v1)
/* 3A74A4 E00A83B4 AD070000 */ sw $a3, ($t0)
/* 3A74A8 E00A83B8 8CC20010 */ lw $v0, 0x10($a2)
/* 3A74AC E00A83BC 00A0982D */ daddu $s3, $a1, $zero
/* 3A74B0 E00A83C0 AEA80000 */ sw $t0, ($s5)
/* 3A74B4 E00A83C4 8C42001C */ lw $v0, 0x1c($v0)
/* 3A74B8 E00A83C8 3C038000 */ lui $v1, 0x8000
/* 3A74BC E00A83CC 00431021 */ addu $v0, $v0, $v1
/* 3A74C0 E00A83D0 AD020004 */ sw $v0, 4($t0)
/* 3A74C4 E00A83D4 8E65000C */ lw $a1, 0xc($s3)
/* 3A74C8 E00A83D8 8E660010 */ lw $a2, 0x10($s3)
/* 3A74CC E00A83DC 8E670014 */ lw $a3, 0x14($s3)
/* 3A74D0 E00A83E0 25080008 */ addiu $t0, $t0, 8
/* 3A74D4 E00A83E4 0C080108 */ jal func_E0200420
/* 3A74D8 E00A83E8 AEA80000 */ sw $t0, ($s5)
/* 3A74DC E00A83EC 27B10058 */ addiu $s1, $sp, 0x58
/* 3A74E0 E00A83F0 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3A74E4 E00A83F4 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 3A74E8 E00A83F8 44800000 */ mtc1 $zero, $f0
/* 3A74EC E00A83FC 00031080 */ sll $v0, $v1, 2
/* 3A74F0 E00A8400 00431021 */ addu $v0, $v0, $v1
/* 3A74F4 E00A8404 00021080 */ sll $v0, $v0, 2
/* 3A74F8 E00A8408 00431023 */ subu $v0, $v0, $v1
/* 3A74FC E00A840C 000218C0 */ sll $v1, $v0, 3
/* 3A7500 E00A8410 00431021 */ addu $v0, $v0, $v1
/* 3A7504 E00A8414 000210C0 */ sll $v0, $v0, 3
/* 3A7508 E00A8418 44060000 */ mfc1 $a2, $f0
/* 3A750C E00A841C 3C01800B */ lui $at, 0x800b
/* 3A7510 E00A8420 00220821 */ addu $at, $at, $v0
/* 3A7514 E00A8424 C4201DEC */ lwc1 $f0, 0x1dec($at)
/* 3A7518 E00A8428 3C073F80 */ lui $a3, 0x3f80
/* 3A751C E00A842C 46000007 */ neg.s $f0, $f0
/* 3A7520 E00A8430 44050000 */ mfc1 $a1, $f0
/* 3A7524 E00A8434 0220202D */ daddu $a0, $s1, $zero
/* 3A7528 E00A8438 0C080104 */ jal func_E0200410
/* 3A752C E00A843C AFA60010 */ sw $a2, 0x10($sp)
/* 3A7530 E00A8440 0220202D */ daddu $a0, $s1, $zero
/* 3A7534 E00A8444 27A50018 */ addiu $a1, $sp, 0x18
/* 3A7538 E00A8448 0C080114 */ jal func_E0200450
/* 3A753C E00A844C 00A0302D */ daddu $a2, $a1, $zero
/* 3A7540 E00A8450 27A40018 */ addiu $a0, $sp, 0x18
/* 3A7544 E00A8454 96C50000 */ lhu $a1, ($s6)
/* 3A7548 E00A8458 8FC20000 */ lw $v0, ($fp)
/* 3A754C E00A845C 00052980 */ sll $a1, $a1, 6
/* 3A7550 E00A8460 00B22821 */ addu $a1, $a1, $s2
/* 3A7554 E00A8464 0C080118 */ jal func_E0200460
/* 3A7558 E00A8468 00452821 */ addu $a1, $v0, $a1
/* 3A755C E00A846C 3C03DA38 */ lui $v1, 0xda38
/* 3A7560 E00A8470 34630002 */ ori $v1, $v1, 2
/* 3A7564 E00A8474 321000FF */ andi $s0, $s0, 0xff
/* 3A7568 E00A8478 8EA40000 */ lw $a0, ($s5)
/* 3A756C E00A847C 96C20000 */ lhu $v0, ($s6)
/* 3A7570 E00A8480 0080282D */ daddu $a1, $a0, $zero
/* 3A7574 E00A8484 24840008 */ addiu $a0, $a0, 8
/* 3A7578 E00A8488 AEA40000 */ sw $a0, ($s5)
/* 3A757C E00A848C ACA30000 */ sw $v1, ($a1)
/* 3A7580 E00A8490 24430001 */ addiu $v1, $v0, 1
/* 3A7584 E00A8494 3042FFFF */ andi $v0, $v0, 0xffff
/* 3A7588 E00A8498 00021180 */ sll $v0, $v0, 6
/* 3A758C E00A849C A6C30000 */ sh $v1, ($s6)
/* 3A7590 E00A84A0 8FC30000 */ lw $v1, ($fp)
/* 3A7594 E00A84A4 00521021 */ addu $v0, $v0, $s2
/* 3A7598 E00A84A8 00621821 */ addu $v1, $v1, $v0
/* 3A759C E00A84AC 24820008 */ addiu $v0, $a0, 8
/* 3A75A0 E00A84B0 ACA30004 */ sw $v1, 4($a1)
/* 3A75A4 E00A84B4 AEA20000 */ sw $v0, ($s5)
/* 3A75A8 E00A84B8 3C02FA00 */ lui $v0, 0xfa00
/* 3A75AC E00A84BC AC820000 */ sw $v0, ($a0)
/* 3A75B0 E00A84C0 00101600 */ sll $v0, $s0, 0x18
/* 3A75B4 E00A84C4 00101C00 */ sll $v1, $s0, 0x10
/* 3A75B8 E00A84C8 00431025 */ or $v0, $v0, $v1
/* 3A75BC E00A84CC 00108200 */ sll $s0, $s0, 8
/* 3A75C0 E00A84D0 00501025 */ or $v0, $v0, $s0
/* 3A75C4 E00A84D4 344200FF */ ori $v0, $v0, 0xff
/* 3A75C8 E00A84D8 AC820004 */ sw $v0, 4($a0)
/* 3A75CC E00A84DC 24820010 */ addiu $v0, $a0, 0x10
/* 3A75D0 E00A84E0 AEA20000 */ sw $v0, ($s5)
/* 3A75D4 E00A84E4 3C02DE00 */ lui $v0, 0xde00
/* 3A75D8 E00A84E8 AC820008 */ sw $v0, 8($a0)
/* 3A75DC E00A84EC 3C020900 */ lui $v0, 0x900
/* 3A75E0 E00A84F0 24423110 */ addiu $v0, $v0, 0x3110
/* 3A75E4 E00A84F4 AC82000C */ sw $v0, 0xc($a0)
.LE00A84F8:
/* 3A75E8 E00A84F8 27A40018 */ addiu $a0, $sp, 0x18
/* 3A75EC E00A84FC 0000382D */ daddu $a3, $zero, $zero
/* 3A75F0 E00A8500 8E6500BC */ lw $a1, 0xbc($s3)
/* 3A75F4 E00A8504 8E6600E4 */ lw $a2, 0xe4($s3)
/* 3A75F8 E00A8508 26730004 */ addiu $s3, $s3, 4
/* 3A75FC E00A850C 00148080 */ sll $s0, $s4, 2
/* 3A7600 E00A8510 0C080108 */ jal func_E0200420
/* 3A7604 E00A8514 26940001 */ addiu $s4, $s4, 1
/* 3A7608 E00A8518 27A40018 */ addiu $a0, $sp, 0x18
/* 3A760C E00A851C 96C50000 */ lhu $a1, ($s6)
/* 3A7610 E00A8520 8FC20000 */ lw $v0, ($fp)
/* 3A7614 E00A8524 00052980 */ sll $a1, $a1, 6
/* 3A7618 E00A8528 00B72821 */ addu $a1, $a1, $s7
/* 3A761C E00A852C 0C080118 */ jal func_E0200460
/* 3A7620 E00A8530 00452821 */ addu $a1, $v0, $a1
/* 3A7624 E00A8534 3C06D838 */ lui $a2, 0xd838
/* 3A7628 E00A8538 8EA40000 */ lw $a0, ($s5)
/* 3A762C E00A853C 34C60002 */ ori $a2, $a2, 2
/* 3A7630 E00A8540 0080282D */ daddu $a1, $a0, $zero
/* 3A7634 E00A8544 24840008 */ addiu $a0, $a0, 8
/* 3A7638 E00A8548 AEA40000 */ sw $a0, ($s5)
/* 3A763C E00A854C 96C20000 */ lhu $v0, ($s6)
/* 3A7640 E00A8550 3C03DA38 */ lui $v1, 0xda38
/* 3A7644 E00A8554 ACA30000 */ sw $v1, ($a1)
/* 3A7648 E00A8558 24430001 */ addiu $v1, $v0, 1
/* 3A764C E00A855C 3042FFFF */ andi $v0, $v0, 0xffff
/* 3A7650 E00A8560 00021180 */ sll $v0, $v0, 6
/* 3A7654 E00A8564 A6C30000 */ sh $v1, ($s6)
/* 3A7658 E00A8568 8FC30000 */ lw $v1, ($fp)
/* 3A765C E00A856C 00571021 */ addu $v0, $v0, $s7
/* 3A7660 E00A8570 00621821 */ addu $v1, $v1, $v0
/* 3A7664 E00A8574 24820008 */ addiu $v0, $a0, 8
/* 3A7668 E00A8578 ACA30004 */ sw $v1, 4($a1)
/* 3A766C E00A857C AEA20000 */ sw $v0, ($s5)
/* 3A7670 E00A8580 3C02DE00 */ lui $v0, 0xde00
/* 3A7674 E00A8584 AC820000 */ sw $v0, ($a0)
/* 3A7678 E00A8588 24820010 */ addiu $v0, $a0, 0x10
/* 3A767C E00A858C 3C03E00B */ lui $v1, 0xe00b
/* 3A7680 E00A8590 00701821 */ addu $v1, $v1, $s0
/* 3A7684 E00A8594 8C638620 */ lw $v1, -0x79e0($v1)
/* 3A7688 E00A8598 24050040 */ addiu $a1, $zero, 0x40
/* 3A768C E00A859C AEA20000 */ sw $v0, ($s5)
/* 3A7690 E00A85A0 2A82000A */ slti $v0, $s4, 0xa
/* 3A7694 E00A85A4 AC860008 */ sw $a2, 8($a0)
/* 3A7698 E00A85A8 AC85000C */ sw $a1, 0xc($a0)
/* 3A769C E00A85AC 1440FFD2 */ bnez $v0, .LE00A84F8
/* 3A76A0 E00A85B0 AC830004 */ sw $v1, 4($a0)
/* 3A76A4 E00A85B4 3C04800A */ lui $a0, 0x800a
/* 3A76A8 E00A85B8 2484A66C */ addiu $a0, $a0, -0x5994
/* 3A76AC E00A85BC 8C820000 */ lw $v0, ($a0)
/* 3A76B0 E00A85C0 0040182D */ daddu $v1, $v0, $zero
/* 3A76B4 E00A85C4 24420008 */ addiu $v0, $v0, 8
/* 3A76B8 E00A85C8 AC820000 */ sw $v0, ($a0)
/* 3A76BC E00A85CC AC660000 */ sw $a2, ($v1)
/* 3A76C0 E00A85D0 AC650004 */ sw $a1, 4($v1)
/* 3A76C4 E00A85D4 24430008 */ addiu $v1, $v0, 8
/* 3A76C8 E00A85D8 AC830000 */ sw $v1, ($a0)
/* 3A76CC E00A85DC 3C03E700 */ lui $v1, 0xe700
/* 3A76D0 E00A85E0 AC430000 */ sw $v1, ($v0)
/* 3A76D4 E00A85E4 AC400004 */ sw $zero, 4($v0)
/* 3A76D8 E00A85E8 8FBF00BC */ lw $ra, 0xbc($sp)
/* 3A76DC E00A85EC 8FBE00B8 */ lw $fp, 0xb8($sp)
/* 3A76E0 E00A85F0 8FB700B4 */ lw $s7, 0xb4($sp)
/* 3A76E4 E00A85F4 8FB600B0 */ lw $s6, 0xb0($sp)
/* 3A76E8 E00A85F8 8FB500AC */ lw $s5, 0xac($sp)
/* 3A76EC E00A85FC 8FB400A8 */ lw $s4, 0xa8($sp)
/* 3A76F0 E00A8600 8FB300A4 */ lw $s3, 0xa4($sp)
/* 3A76F4 E00A8604 8FB200A0 */ lw $s2, 0xa0($sp)
/* 3A76F8 E00A8608 8FB1009C */ lw $s1, 0x9c($sp)
/* 3A76FC E00A860C 8FB00098 */ lw $s0, 0x98($sp)
/* 3A7700 E00A8610 03E00008 */ jr $ra
/* 3A7704 E00A8614 27BD00C0 */ addiu $sp, $sp, 0xc0
/* 3A7708 E00A8618 00000000 */ nop
/* 3A770C E00A861C 00000000 */ nop

View File

@ -0,0 +1,71 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AA000
/* 3AA920 E00AA000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 3AA924 E00AA004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 3AA928 E00AA008 4485A000 */ mtc1 $a1, $f20
/* 3AA92C E00AA00C AFB1002C */ sw $s1, 0x2c($sp)
/* 3AA930 E00AA010 0080882D */ daddu $s1, $a0, $zero
/* 3AA934 E00AA014 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 3AA938 E00AA018 4486B000 */ mtc1 $a2, $f22
/* 3AA93C E00AA01C 27A40010 */ addiu $a0, $sp, 0x10
/* 3AA940 E00AA020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 3AA944 E00AA024 4487C000 */ mtc1 $a3, $f24
/* 3AA948 E00AA028 3C02E00B */ lui $v0, 0xe00b
/* 3AA94C E00AA02C 2442A104 */ addiu $v0, $v0, -0x5efc
/* 3AA950 E00AA030 AFA20018 */ sw $v0, 0x18($sp)
/* 3AA954 E00AA034 3C02E00B */ lui $v0, 0xe00b
/* 3AA958 E00AA038 2442A10C */ addiu $v0, $v0, -0x5ef4
/* 3AA95C E00AA03C AFA2001C */ sw $v0, 0x1c($sp)
/* 3AA960 E00AA040 3C02E00B */ lui $v0, 0xe00b
/* 3AA964 E00AA044 2442A3C0 */ addiu $v0, $v0, -0x5c40
/* 3AA968 E00AA048 AFA20020 */ sw $v0, 0x20($sp)
/* 3AA96C E00AA04C 24020055 */ addiu $v0, $zero, 0x55
/* 3AA970 E00AA050 AFBF0030 */ sw $ra, 0x30($sp)
/* 3AA974 E00AA054 AFB00028 */ sw $s0, 0x28($sp)
/* 3AA978 E00AA058 AFA00010 */ sw $zero, 0x10($sp)
/* 3AA97C E00AA05C AFA00024 */ sw $zero, 0x24($sp)
/* 3AA980 E00AA060 0C080124 */ jal func_E0200490
/* 3AA984 E00AA064 AFA20014 */ sw $v0, 0x14($sp)
/* 3AA988 E00AA068 24040048 */ addiu $a0, $zero, 0x48
/* 3AA98C E00AA06C 24030001 */ addiu $v1, $zero, 1
/* 3AA990 E00AA070 0040802D */ daddu $s0, $v0, $zero
/* 3AA994 E00AA074 0C08012C */ jal func_E02004B0
/* 3AA998 E00AA078 AE030008 */ sw $v1, 8($s0)
/* 3AA99C E00AA07C 0040202D */ daddu $a0, $v0, $zero
/* 3AA9A0 E00AA080 14800003 */ bnez $a0, .LE00AA090
/* 3AA9A4 E00AA084 AE02000C */ sw $v0, 0xc($s0)
.LE00AA088:
/* 3AA9A8 E00AA088 0802A822 */ j .LE00AA088
/* 3AA9AC E00AA08C 00000000 */ nop
.LE00AA090:
/* 3AA9B0 E00AA090 0200102D */ daddu $v0, $s0, $zero
/* 3AA9B4 E00AA094 3C014248 */ lui $at, 0x4248
/* 3AA9B8 E00AA098 44810000 */ mtc1 $at, $f0
/* 3AA9BC E00AA09C 3C0141F0 */ lui $at, 0x41f0
/* 3AA9C0 E00AA0A0 44811000 */ mtc1 $at, $f2
/* 3AA9C4 E00AA0A4 240303E8 */ addiu $v1, $zero, 0x3e8
/* 3AA9C8 E00AA0A8 AC830004 */ sw $v1, 4($a0)
/* 3AA9CC E00AA0AC 240300FF */ addiu $v1, $zero, 0xff
/* 3AA9D0 E00AA0B0 AC910000 */ sw $s1, ($a0)
/* 3AA9D4 E00AA0B4 AC830024 */ sw $v1, 0x24($a0)
/* 3AA9D8 E00AA0B8 E494000C */ swc1 $f20, 0xc($a0)
/* 3AA9DC E00AA0BC E4940018 */ swc1 $f20, 0x18($a0)
/* 3AA9E0 E00AA0C0 E4960010 */ swc1 $f22, 0x10($a0)
/* 3AA9E4 E00AA0C4 E496001C */ swc1 $f22, 0x1c($a0)
/* 3AA9E8 E00AA0C8 E4980014 */ swc1 $f24, 0x14($a0)
/* 3AA9EC E00AA0CC E4980020 */ swc1 $f24, 0x20($a0)
/* 3AA9F0 E00AA0D0 AC800008 */ sw $zero, 8($a0)
/* 3AA9F4 E00AA0D4 AC80002C */ sw $zero, 0x2c($a0)
/* 3AA9F8 E00AA0D8 AC800030 */ sw $zero, 0x30($a0)
/* 3AA9FC E00AA0DC E4800034 */ swc1 $f0, 0x34($a0)
/* 3AAA00 E00AA0E0 E4820038 */ swc1 $f2, 0x38($a0)
/* 3AAA04 E00AA0E4 8FBF0030 */ lw $ra, 0x30($sp)
/* 3AAA08 E00AA0E8 8FB1002C */ lw $s1, 0x2c($sp)
/* 3AAA0C E00AA0EC 8FB00028 */ lw $s0, 0x28($sp)
/* 3AAA10 E00AA0F0 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 3AAA14 E00AA0F4 D7B60040 */ ldc1 $f22, 0x40($sp)
/* 3AAA18 E00AA0F8 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 3AAA1C E00AA0FC 03E00008 */ jr $ra
/* 3AAA20 E00AA100 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_E00AA104
/* 3AAA24 E00AA104 03E00008 */ jr $ra
/* 3AAA28 E00AA108 00000000 */ nop

View File

@ -0,0 +1,186 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AA10C
/* 3AAA2C E00AA10C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 3AAA30 E00AA110 AFBF0014 */ sw $ra, 0x14($sp)
/* 3AAA34 E00AA114 AFB00010 */ sw $s0, 0x10($sp)
/* 3AAA38 E00AA118 F7BA0030 */ sdc1 $f26, 0x30($sp)
/* 3AAA3C E00AA11C F7B80028 */ sdc1 $f24, 0x28($sp)
/* 3AAA40 E00AA120 F7B60020 */ sdc1 $f22, 0x20($sp)
/* 3AAA44 E00AA124 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 3AAA48 E00AA128 8C830000 */ lw $v1, ($a0)
/* 3AAA4C E00AA12C 8C90000C */ lw $s0, 0xc($a0)
/* 3AAA50 E00AA130 30620010 */ andi $v0, $v1, 0x10
/* 3AAA54 E00AA134 10400005 */ beqz $v0, .LE00AA14C
/* 3AAA58 E00AA138 2402FFEF */ addiu $v0, $zero, -0x11
/* 3AAA5C E00AA13C 00621024 */ and $v0, $v1, $v0
/* 3AAA60 E00AA140 AC820000 */ sw $v0, ($a0)
/* 3AAA64 E00AA144 24020384 */ addiu $v0, $zero, 0x384
/* 3AAA68 E00AA148 AE020004 */ sw $v0, 4($s0)
.LE00AA14C:
/* 3AAA6C E00AA14C 8E030004 */ lw $v1, 4($s0)
/* 3AAA70 E00AA150 286203E8 */ slti $v0, $v1, 0x3e8
/* 3AAA74 E00AA154 10400002 */ beqz $v0, .LE00AA160
/* 3AAA78 E00AA158 2462FFFF */ addiu $v0, $v1, -1
/* 3AAA7C E00AA15C AE020004 */ sw $v0, 4($s0)
.LE00AA160:
/* 3AAA80 E00AA160 8E020008 */ lw $v0, 8($s0)
/* 3AAA84 E00AA164 8E030004 */ lw $v1, 4($s0)
/* 3AAA88 E00AA168 24420001 */ addiu $v0, $v0, 1
/* 3AAA8C E00AA16C 04610005 */ bgez $v1, .LE00AA184
/* 3AAA90 E00AA170 AE020008 */ sw $v0, 8($s0)
/* 3AAA94 E00AA174 0C080128 */ jal func_E02004A0
/* 3AAA98 E00AA178 00000000 */ nop
/* 3AAA9C E00AA17C 0802A8E8 */ j .LE00AA3A0
/* 3AAAA0 E00AA180 00000000 */ nop
.LE00AA184:
/* 3AAAA4 E00AA184 28620010 */ slti $v0, $v1, 0x10
/* 3AAAA8 E00AA188 10400002 */ beqz $v0, .LE00AA194
/* 3AAAAC E00AA18C 00031100 */ sll $v0, $v1, 4
/* 3AAAB0 E00AA190 AE020024 */ sw $v0, 0x24($s0)
.LE00AA194:
/* 3AAAB4 E00AA194 8E020030 */ lw $v0, 0x30($s0)
/* 3AAAB8 E00AA198 2442FFFF */ addiu $v0, $v0, -1
/* 3AAABC E00AA19C 1C40006D */ bgtz $v0, .LE00AA354
/* 3AAAC0 E00AA1A0 AE020030 */ sw $v0, 0x30($s0)
/* 3AAAC4 E00AA1A4 0C080138 */ jal func_E02004E0
/* 3AAAC8 E00AA1A8 24040167 */ addiu $a0, $zero, 0x167
/* 3AAACC E00AA1AC 4482A000 */ mtc1 $v0, $f20
/* 3AAAD0 E00AA1B0 00000000 */ nop
/* 3AAAD4 E00AA1B4 4680A520 */ cvt.s.w $f20, $f20
/* 3AAAD8 E00AA1B8 0C080140 */ jal func_E0200500
/* 3AAADC E00AA1BC 4600A306 */ mov.s $f12, $f20
/* 3AAAE0 E00AA1C0 C6020034 */ lwc1 $f2, 0x34($s0)
/* 3AAAE4 E00AA1C4 46001082 */ mul.s $f2, $f2, $f0
/* 3AAAE8 E00AA1C8 00000000 */ nop
/* 3AAAEC E00AA1CC C6000038 */ lwc1 $f0, 0x38($s0)
/* 3AAAF0 E00AA1D0 C6180018 */ lwc1 $f24, 0x18($s0)
/* 3AAAF4 E00AA1D4 4600028D */ trunc.w.s $f10, $f0
/* 3AAAF8 E00AA1D8 44045000 */ mfc1 $a0, $f10
/* 3AAAFC E00AA1DC 0C080138 */ jal func_E02004E0
/* 3AAB00 E00AA1E0 4602C600 */ add.s $f24, $f24, $f2
/* 3AAB04 E00AA1E4 4600A306 */ mov.s $f12, $f20
/* 3AAB08 E00AA1E8 C616001C */ lwc1 $f22, 0x1c($s0)
/* 3AAB0C E00AA1EC 44820000 */ mtc1 $v0, $f0
/* 3AAB10 E00AA1F0 00000000 */ nop
/* 3AAB14 E00AA1F4 46800020 */ cvt.s.w $f0, $f0
/* 3AAB18 E00AA1F8 0C080144 */ jal func_E0200510
/* 3AAB1C E00AA1FC 4600B580 */ add.s $f22, $f22, $f0
/* 3AAB20 E00AA200 C6020034 */ lwc1 $f2, 0x34($s0)
/* 3AAB24 E00AA204 46001082 */ mul.s $f2, $f2, $f0
/* 3AAB28 E00AA208 00000000 */ nop
/* 3AAB2C E00AA20C C6140020 */ lwc1 $f20, 0x20($s0)
/* 3AAB30 E00AA210 24040064 */ addiu $a0, $zero, 0x64
/* 3AAB34 E00AA214 0C080138 */ jal func_E02004E0
/* 3AAB38 E00AA218 4602A500 */ add.s $f20, $f20, $f2
/* 3AAB3C E00AA21C C604000C */ lwc1 $f4, 0xc($s0)
/* 3AAB40 E00AA220 4604C601 */ sub.s $f24, $f24, $f4
/* 3AAB44 E00AA224 C6060010 */ lwc1 $f6, 0x10($s0)
/* 3AAB48 E00AA228 4606B581 */ sub.s $f22, $f22, $f6
/* 3AAB4C E00AA22C C6080014 */ lwc1 $f8, 0x14($s0)
/* 3AAB50 E00AA230 44801000 */ mtc1 $zero, $f2
/* 3AAB54 E00AA234 4608A501 */ sub.s $f20, $f20, $f8
/* 3AAB58 E00AA238 2442000A */ addiu $v0, $v0, 0xa
/* 3AAB5C E00AA23C 4602C032 */ c.eq.s $f24, $f2
/* 3AAB60 E00AA240 00000000 */ nop
/* 3AAB64 E00AA244 4500001E */ bc1f .LE00AA2C0
/* 3AAB68 E00AA248 AE020030 */ sw $v0, 0x30($s0)
/* 3AAB6C E00AA24C 4602B032 */ c.eq.s $f22, $f2
/* 3AAB70 E00AA250 00000000 */ nop
/* 3AAB74 E00AA254 4500001A */ bc1f .LE00AA2C0
/* 3AAB78 E00AA258 00000000 */ nop
/* 3AAB7C E00AA25C 4602A032 */ c.eq.s $f20, $f2
/* 3AAB80 E00AA260 00000000 */ nop
/* 3AAB84 E00AA264 45000016 */ bc1f .LE00AA2C0
/* 3AAB88 E00AA268 00000000 */ nop
/* 3AAB8C E00AA26C C6000018 */ lwc1 $f0, 0x18($s0)
/* 3AAB90 E00AA270 46040601 */ sub.s $f24, $f0, $f4
/* 3AAB94 E00AA274 C600001C */ lwc1 $f0, 0x1c($s0)
/* 3AAB98 E00AA278 46060581 */ sub.s $f22, $f0, $f6
/* 3AAB9C E00AA27C C6000020 */ lwc1 $f0, 0x20($s0)
/* 3AABA0 E00AA280 4602C032 */ c.eq.s $f24, $f2
/* 3AABA4 E00AA284 00000000 */ nop
/* 3AABA8 E00AA288 4500000D */ bc1f .LE00AA2C0
/* 3AABAC E00AA28C 46080501 */ sub.s $f20, $f0, $f8
/* 3AABB0 E00AA290 4602B032 */ c.eq.s $f22, $f2
/* 3AABB4 E00AA294 00000000 */ nop
/* 3AABB8 E00AA298 45000009 */ bc1f .LE00AA2C0
/* 3AABBC E00AA29C 00000000 */ nop
/* 3AABC0 E00AA2A0 4602A032 */ c.eq.s $f20, $f2
/* 3AABC4 E00AA2A4 00000000 */ nop
/* 3AABC8 E00AA2A8 45000005 */ bc1f .LE00AA2C0
/* 3AABCC E00AA2AC 00000000 */ nop
/* 3AABD0 E00AA2B0 3C013F80 */ lui $at, 0x3f80
/* 3AABD4 E00AA2B4 4481C000 */ mtc1 $at, $f24
/* 3AABD8 E00AA2B8 46001506 */ mov.s $f20, $f2
/* 3AABDC E00AA2BC 46001586 */ mov.s $f22, $f2
.LE00AA2C0:
/* 3AABE0 E00AA2C0 4618C002 */ mul.s $f0, $f24, $f24
/* 3AABE4 E00AA2C4 00000000 */ nop
/* 3AABE8 E00AA2C8 4616B082 */ mul.s $f2, $f22, $f22
/* 3AABEC E00AA2CC 00000000 */ nop
/* 3AABF0 E00AA2D0 4614A102 */ mul.s $f4, $f20, $f20
/* 3AABF4 E00AA2D4 00000000 */ nop
/* 3AABF8 E00AA2D8 46020000 */ add.s $f0, $f0, $f2
/* 3AABFC E00AA2DC 46040300 */ add.s $f12, $f0, $f4
/* 3AAC00 E00AA2E0 4480D000 */ mtc1 $zero, $f26
/* 3AAC04 E00AA2E4 00000000 */ nop
/* 3AAC08 E00AA2E8 461A6032 */ c.eq.s $f12, $f26
/* 3AAC0C E00AA2EC 00000000 */ nop
/* 3AAC10 E00AA2F0 45010007 */ bc1t .LE00AA310
/* 3AAC14 E00AA2F4 00000000 */ nop
/* 3AAC18 E00AA2F8 0C080154 */ jal func_E0200550
/* 3AAC1C E00AA2FC 00000000 */ nop
/* 3AAC20 E00AA300 3C013F80 */ lui $at, 0x3f80
/* 3AAC24 E00AA304 44811000 */ mtc1 $at, $f2
/* 3AAC28 E00AA308 00000000 */ nop
/* 3AAC2C E00AA30C 46001303 */ div.s $f12, $f2, $f0
.LE00AA310:
/* 3AAC30 E00AA310 460CC602 */ mul.s $f24, $f24, $f12
/* 3AAC34 E00AA314 00000000 */ nop
/* 3AAC38 E00AA318 460CA502 */ mul.s $f20, $f20, $f12
/* 3AAC3C E00AA31C 00000000 */ nop
/* 3AAC40 E00AA320 460CB582 */ mul.s $f22, $f22, $f12
/* 3AAC44 E00AA324 00000000 */ nop
/* 3AAC48 E00AA328 4600D306 */ mov.s $f12, $f26
/* 3AAC4C E00AA32C E618003C */ swc1 $f24, 0x3c($s0)
/* 3AAC50 E00AA330 4600C006 */ mov.s $f0, $f24
/* 3AAC54 E00AA334 4407A000 */ mfc1 $a3, $f20
/* 3AAC58 E00AA338 46000007 */ neg.s $f0, $f0
/* 3AAC5C E00AA33C 44060000 */ mfc1 $a2, $f0
/* 3AAC60 E00AA340 46006386 */ mov.s $f14, $f12
/* 3AAC64 E00AA344 E6160040 */ swc1 $f22, 0x40($s0)
/* 3AAC68 E00AA348 0C080148 */ jal func_E0200520
/* 3AAC6C E00AA34C E6140044 */ swc1 $f20, 0x44($s0)
/* 3AAC70 E00AA350 E6000028 */ swc1 $f0, 0x28($s0)
.LE00AA354:
/* 3AAC74 E00AA354 8E03002C */ lw $v1, 0x2c($s0)
/* 3AAC78 E00AA358 24620003 */ addiu $v0, $v1, 3
/* 3AAC7C E00AA35C AE02002C */ sw $v0, 0x2c($s0)
/* 3AAC80 E00AA360 2842001E */ slti $v0, $v0, 0x1e
/* 3AAC84 E00AA364 14400002 */ bnez $v0, .LE00AA370
/* 3AAC88 E00AA368 2462FFE5 */ addiu $v0, $v1, -0x1b
/* 3AAC8C E00AA36C AE02002C */ sw $v0, 0x2c($s0)
.LE00AA370:
/* 3AAC90 E00AA370 C606000C */ lwc1 $f6, 0xc($s0)
/* 3AAC94 E00AA374 C600003C */ lwc1 $f0, 0x3c($s0)
/* 3AAC98 E00AA378 C6040010 */ lwc1 $f4, 0x10($s0)
/* 3AAC9C E00AA37C 46003180 */ add.s $f6, $f6, $f0
/* 3AACA0 E00AA380 C6000040 */ lwc1 $f0, 0x40($s0)
/* 3AACA4 E00AA384 C6020014 */ lwc1 $f2, 0x14($s0)
/* 3AACA8 E00AA388 46002100 */ add.s $f4, $f4, $f0
/* 3AACAC E00AA38C C6000044 */ lwc1 $f0, 0x44($s0)
/* 3AACB0 E00AA390 46001080 */ add.s $f2, $f2, $f0
/* 3AACB4 E00AA394 E606000C */ swc1 $f6, 0xc($s0)
/* 3AACB8 E00AA398 E6040010 */ swc1 $f4, 0x10($s0)
/* 3AACBC E00AA39C E6020014 */ swc1 $f2, 0x14($s0)
.LE00AA3A0:
/* 3AACC0 E00AA3A0 8FBF0014 */ lw $ra, 0x14($sp)
/* 3AACC4 E00AA3A4 8FB00010 */ lw $s0, 0x10($sp)
/* 3AACC8 E00AA3A8 D7BA0030 */ ldc1 $f26, 0x30($sp)
/* 3AACCC E00AA3AC D7B80028 */ ldc1 $f24, 0x28($sp)
/* 3AACD0 E00AA3B0 D7B60020 */ ldc1 $f22, 0x20($sp)
/* 3AACD4 E00AA3B4 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 3AACD8 E00AA3B8 03E00008 */ jr $ra
/* 3AACDC E00AA3BC 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_E00AA3C0
/* 3AACE0 E00AA3C0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3AACE4 E00AA3C4 3C02E00B */ lui $v0, 0xe00b
/* 3AACE8 E00AA3C8 2442A404 */ addiu $v0, $v0, -0x5bfc
/* 3AACEC E00AA3CC AFA2001C */ sw $v0, 0x1c($sp)
/* 3AACF0 E00AA3D0 2402002D */ addiu $v0, $zero, 0x2d
/* 3AACF4 E00AA3D4 AFA40018 */ sw $a0, 0x18($sp)
/* 3AACF8 E00AA3D8 27A40010 */ addiu $a0, $sp, 0x10
/* 3AACFC E00AA3DC AFBF0020 */ sw $ra, 0x20($sp)
/* 3AAD00 E00AA3E0 AFA00014 */ sw $zero, 0x14($sp)
/* 3AAD04 E00AA3E4 0C080120 */ jal func_E0200480
/* 3AAD08 E00AA3E8 AFA20010 */ sw $v0, 0x10($sp)
/* 3AAD0C E00AA3EC 8C430000 */ lw $v1, ($v0)
/* 3AAD10 E00AA3F0 34630002 */ ori $v1, $v1, 2
/* 3AAD14 E00AA3F4 AC430000 */ sw $v1, ($v0)
/* 3AAD18 E00AA3F8 8FBF0020 */ lw $ra, 0x20($sp)
/* 3AAD1C E00AA3FC 03E00008 */ jr $ra
/* 3AAD20 E00AA400 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,179 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AA404
/* 3AAD24 E00AA404 27BDFF40 */ addiu $sp, $sp, -0xc0
/* 3AAD28 E00AA408 3C03DB06 */ lui $v1, 0xdb06
/* 3AAD2C E00AA40C AFB1009C */ sw $s1, 0x9c($sp)
/* 3AAD30 E00AA410 3C11800A */ lui $s1, 0x800a
/* 3AAD34 E00AA414 2631A66C */ addiu $s1, $s1, -0x5994
/* 3AAD38 E00AA418 34630024 */ ori $v1, $v1, 0x24
/* 3AAD3C E00AA41C AFB700B4 */ sw $s7, 0xb4($sp)
/* 3AAD40 E00AA420 3C17E700 */ lui $s7, 0xe700
/* 3AAD44 E00AA424 AFBF00B8 */ sw $ra, 0xb8($sp)
/* 3AAD48 E00AA428 AFB600B0 */ sw $s6, 0xb0($sp)
/* 3AAD4C E00AA42C AFB500AC */ sw $s5, 0xac($sp)
/* 3AAD50 E00AA430 AFB400A8 */ sw $s4, 0xa8($sp)
/* 3AAD54 E00AA434 AFB300A4 */ sw $s3, 0xa4($sp)
/* 3AAD58 E00AA438 AFB200A0 */ sw $s2, 0xa0($sp)
/* 3AAD5C E00AA43C AFB00098 */ sw $s0, 0x98($sp)
/* 3AAD60 E00AA440 8E250000 */ lw $a1, ($s1)
/* 3AAD64 E00AA444 8C93000C */ lw $s3, 0xc($a0)
/* 3AAD68 E00AA448 00A0102D */ daddu $v0, $a1, $zero
/* 3AAD6C E00AA44C 8E720024 */ lw $s2, 0x24($s3)
/* 3AAD70 E00AA450 8E750000 */ lw $s5, ($s3)
/* 3AAD74 E00AA454 24A50008 */ addiu $a1, $a1, 8
/* 3AAD78 E00AA458 AC570000 */ sw $s7, ($v0)
/* 3AAD7C E00AA45C AC400004 */ sw $zero, 4($v0)
/* 3AAD80 E00AA460 ACA30000 */ sw $v1, ($a1)
/* 3AAD84 E00AA464 8C820010 */ lw $v0, 0x10($a0)
/* 3AAD88 E00AA468 AE250000 */ sw $a1, ($s1)
/* 3AAD8C E00AA46C 8C42001C */ lw $v0, 0x1c($v0)
/* 3AAD90 E00AA470 3C038000 */ lui $v1, 0x8000
/* 3AAD94 E00AA474 00431021 */ addu $v0, $v0, $v1
/* 3AAD98 E00AA478 ACA20004 */ sw $v0, 4($a1)
/* 3AAD9C E00AA47C 8E62002C */ lw $v0, 0x2c($s3)
/* 3AADA0 E00AA480 24A50008 */ addiu $a1, $a1, 8
/* 3AADA4 E00AA484 AE250000 */ sw $a1, ($s1)
/* 3AADA8 E00AA488 3C01E00B */ lui $at, 0xe00b
/* 3AADAC E00AA48C 00220821 */ addu $at, $at, $v0
/* 3AADB0 E00AA490 8022A6EC */ lb $v0, -0x5914($at)
/* 3AADB4 E00AA494 3C013E99 */ lui $at, 0x3e99
/* 3AADB8 E00AA498 3421999A */ ori $at, $at, 0x999a
/* 3AADBC E00AA49C 44811000 */ mtc1 $at, $f2
/* 3AADC0 E00AA4A0 44820000 */ mtc1 $v0, $f0
/* 3AADC4 E00AA4A4 00000000 */ nop
/* 3AADC8 E00AA4A8 46800020 */ cvt.s.w $f0, $f0
/* 3AADCC E00AA4AC 46020002 */ mul.s $f0, $f0, $f2
/* 3AADD0 E00AA4B0 00000000 */ nop
/* 3AADD4 E00AA4B4 C6620010 */ lwc1 $f2, 0x10($s3)
/* 3AADD8 E00AA4B8 46001080 */ add.s $f2, $f2, $f0
/* 3AADDC E00AA4BC 8E65000C */ lw $a1, 0xc($s3)
/* 3AADE0 E00AA4C0 8E670014 */ lw $a3, 0x14($s3)
/* 3AADE4 E00AA4C4 44061000 */ mfc1 $a2, $f2
/* 3AADE8 E00AA4C8 0C080108 */ jal func_E0200420
/* 3AADEC E00AA4CC 27A40018 */ addiu $a0, $sp, 0x18
/* 3AADF0 E00AA4D0 3C160001 */ lui $s6, 1
/* 3AADF4 E00AA4D4 3C073F80 */ lui $a3, 0x3f80
/* 3AADF8 E00AA4D8 44800000 */ mtc1 $zero, $f0
/* 3AADFC E00AA4DC 27B00058 */ addiu $s0, $sp, 0x58
/* 3AAE00 E00AA4E0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 3AAE04 E00AA4E4 8E650028 */ lw $a1, 0x28($s3)
/* 3AAE08 E00AA4E8 44060000 */ mfc1 $a2, $f0
/* 3AAE0C E00AA4EC 0C080104 */ jal func_E0200410
/* 3AAE10 E00AA4F0 0200202D */ daddu $a0, $s0, $zero
/* 3AAE14 E00AA4F4 0200202D */ daddu $a0, $s0, $zero
/* 3AAE18 E00AA4F8 27A50018 */ addiu $a1, $sp, 0x18
/* 3AAE1C E00AA4FC 0C080114 */ jal func_E0200450
/* 3AAE20 E00AA500 00A0302D */ daddu $a2, $a1, $zero
/* 3AAE24 E00AA504 3C013CA3 */ lui $at, 0x3ca3
/* 3AAE28 E00AA508 3421D70A */ ori $at, $at, 0xd70a
/* 3AAE2C E00AA50C 44810000 */ mtc1 $at, $f0
/* 3AAE30 E00AA510 36D61630 */ ori $s6, $s6, 0x1630
/* 3AAE34 E00AA514 44050000 */ mfc1 $a1, $f0
/* 3AAE38 E00AA518 0200202D */ daddu $a0, $s0, $zero
/* 3AAE3C E00AA51C 00A0302D */ daddu $a2, $a1, $zero
/* 3AAE40 E00AA520 0C080110 */ jal func_E0200440
/* 3AAE44 E00AA524 00A0382D */ daddu $a3, $a1, $zero
/* 3AAE48 E00AA528 0200202D */ daddu $a0, $s0, $zero
/* 3AAE4C E00AA52C 27A50018 */ addiu $a1, $sp, 0x18
/* 3AAE50 E00AA530 0C080114 */ jal func_E0200450
/* 3AAE54 E00AA534 00A0302D */ daddu $a2, $a1, $zero
/* 3AAE58 E00AA538 27A40018 */ addiu $a0, $sp, 0x18
/* 3AAE5C E00AA53C 3C108007 */ lui $s0, 0x8007
/* 3AAE60 E00AA540 261041F0 */ addiu $s0, $s0, 0x41f0
/* 3AAE64 E00AA544 3C14800A */ lui $s4, 0x800a
/* 3AAE68 E00AA548 2694A674 */ addiu $s4, $s4, -0x598c
/* 3AAE6C E00AA54C 96050000 */ lhu $a1, ($s0)
/* 3AAE70 E00AA550 8E820000 */ lw $v0, ($s4)
/* 3AAE74 E00AA554 00052980 */ sll $a1, $a1, 6
/* 3AAE78 E00AA558 00B62821 */ addu $a1, $a1, $s6
/* 3AAE7C E00AA55C 0C080118 */ jal func_E0200460
/* 3AAE80 E00AA560 00452821 */ addu $a1, $v0, $a1
/* 3AAE84 E00AA564 3C03DA38 */ lui $v1, 0xda38
/* 3AAE88 E00AA568 34630002 */ ori $v1, $v1, 2
/* 3AAE8C E00AA56C 3C060100 */ lui $a2, 0x100
/* 3AAE90 E00AA570 34C6600C */ ori $a2, $a2, 0x600c
/* 3AAE94 E00AA574 3C07D838 */ lui $a3, 0xd838
/* 3AAE98 E00AA578 34E70002 */ ori $a3, $a3, 2
/* 3AAE9C E00AA57C 325200FF */ andi $s2, $s2, 0xff
/* 3AAEA0 E00AA580 0015A880 */ sll $s5, $s5, 2
/* 3AAEA4 E00AA584 8E240000 */ lw $a0, ($s1)
/* 3AAEA8 E00AA588 96020000 */ lhu $v0, ($s0)
/* 3AAEAC E00AA58C 0080282D */ daddu $a1, $a0, $zero
/* 3AAEB0 E00AA590 24840008 */ addiu $a0, $a0, 8
/* 3AAEB4 E00AA594 AE240000 */ sw $a0, ($s1)
/* 3AAEB8 E00AA598 ACA30000 */ sw $v1, ($a1)
/* 3AAEBC E00AA59C 24430001 */ addiu $v1, $v0, 1
/* 3AAEC0 E00AA5A0 3042FFFF */ andi $v0, $v0, 0xffff
/* 3AAEC4 E00AA5A4 00021180 */ sll $v0, $v0, 6
/* 3AAEC8 E00AA5A8 A6030000 */ sh $v1, ($s0)
/* 3AAECC E00AA5AC 8E830000 */ lw $v1, ($s4)
/* 3AAED0 E00AA5B0 00561021 */ addu $v0, $v0, $s6
/* 3AAED4 E00AA5B4 00621821 */ addu $v1, $v1, $v0
/* 3AAED8 E00AA5B8 24820008 */ addiu $v0, $a0, 8
/* 3AAEDC E00AA5BC ACA30004 */ sw $v1, 4($a1)
/* 3AAEE0 E00AA5C0 AE220000 */ sw $v0, ($s1)
/* 3AAEE4 E00AA5C4 3C02FA00 */ lui $v0, 0xfa00
/* 3AAEE8 E00AA5C8 AC820000 */ sw $v0, ($a0)
/* 3AAEEC E00AA5CC 00121600 */ sll $v0, $s2, 0x18
/* 3AAEF0 E00AA5D0 00121C00 */ sll $v1, $s2, 0x10
/* 3AAEF4 E00AA5D4 00431025 */ or $v0, $v0, $v1
/* 3AAEF8 E00AA5D8 00129200 */ sll $s2, $s2, 8
/* 3AAEFC E00AA5DC 00521025 */ or $v0, $v0, $s2
/* 3AAF00 E00AA5E0 344200FF */ ori $v0, $v0, 0xff
/* 3AAF04 E00AA5E4 AC820004 */ sw $v0, 4($a0)
/* 3AAF08 E00AA5E8 24820010 */ addiu $v0, $a0, 0x10
/* 3AAF0C E00AA5EC 3C03DE00 */ lui $v1, 0xde00
/* 3AAF10 E00AA5F0 AE220000 */ sw $v0, ($s1)
/* 3AAF14 E00AA5F4 3C020900 */ lui $v0, 0x900
/* 3AAF18 E00AA5F8 24423880 */ addiu $v0, $v0, 0x3880
/* 3AAF1C E00AA5FC AC82000C */ sw $v0, 0xc($a0)
/* 3AAF20 E00AA600 24820018 */ addiu $v0, $a0, 0x18
/* 3AAF24 E00AA604 AC830008 */ sw $v1, 8($a0)
/* 3AAF28 E00AA608 AE220000 */ sw $v0, ($s1)
/* 3AAF2C E00AA60C AC830010 */ sw $v1, 0x10($a0)
/* 3AAF30 E00AA610 3C05E00B */ lui $a1, 0xe00b
/* 3AAF34 E00AA614 00B52821 */ addu $a1, $a1, $s5
/* 3AAF38 E00AA618 8CA5A6C0 */ lw $a1, -0x5940($a1)
/* 3AAF3C E00AA61C 24820020 */ addiu $v0, $a0, 0x20
/* 3AAF40 E00AA620 AE220000 */ sw $v0, ($s1)
/* 3AAF44 E00AA624 24820028 */ addiu $v0, $a0, 0x28
/* 3AAF48 E00AA628 AC860018 */ sw $a2, 0x18($a0)
/* 3AAF4C E00AA62C AE220000 */ sw $v0, ($s1)
/* 3AAF50 E00AA630 24820030 */ addiu $v0, $a0, 0x30
/* 3AAF54 E00AA634 AE220000 */ sw $v0, ($s1)
/* 3AAF58 E00AA638 AC850014 */ sw $a1, 0x14($a0)
/* 3AAF5C E00AA63C 8E65002C */ lw $a1, 0x2c($s3)
/* 3AAF60 E00AA640 24820038 */ addiu $v0, $a0, 0x38
/* 3AAF64 E00AA644 AE220000 */ sw $v0, ($s1)
/* 3AAF68 E00AA648 3C020900 */ lui $v0, 0x900
/* 3AAF6C E00AA64C 24423DC8 */ addiu $v0, $v0, 0x3dc8
/* 3AAF70 E00AA650 AC820024 */ sw $v0, 0x24($a0)
/* 3AAF74 E00AA654 24020040 */ addiu $v0, $zero, 0x40
/* 3AAF78 E00AA658 AC830020 */ sw $v1, 0x20($a0)
/* 3AAF7C E00AA65C 3C030900 */ lui $v1, 0x900
/* 3AAF80 E00AA660 24632D40 */ addiu $v1, $v1, 0x2d40
/* 3AAF84 E00AA664 AC870028 */ sw $a3, 0x28($a0)
/* 3AAF88 E00AA668 AC82002C */ sw $v0, 0x2c($a0)
/* 3AAF8C E00AA66C AC970030 */ sw $s7, 0x30($a0)
/* 3AAF90 E00AA670 AC800034 */ sw $zero, 0x34($a0)
/* 3AAF94 E00AA674 00051040 */ sll $v0, $a1, 1
/* 3AAF98 E00AA678 00451021 */ addu $v0, $v0, $a1
/* 3AAF9C E00AA67C 00021140 */ sll $v0, $v0, 5
/* 3AAFA0 E00AA680 00431021 */ addu $v0, $v0, $v1
/* 3AAFA4 E00AA684 AC82001C */ sw $v0, 0x1c($a0)
/* 3AAFA8 E00AA688 8FBF00B8 */ lw $ra, 0xb8($sp)
/* 3AAFAC E00AA68C 8FB700B4 */ lw $s7, 0xb4($sp)
/* 3AAFB0 E00AA690 8FB600B0 */ lw $s6, 0xb0($sp)
/* 3AAFB4 E00AA694 8FB500AC */ lw $s5, 0xac($sp)
/* 3AAFB8 E00AA698 8FB400A8 */ lw $s4, 0xa8($sp)
/* 3AAFBC E00AA69C 8FB300A4 */ lw $s3, 0xa4($sp)
/* 3AAFC0 E00AA6A0 8FB200A0 */ lw $s2, 0xa0($sp)
/* 3AAFC4 E00AA6A4 8FB1009C */ lw $s1, 0x9c($sp)
/* 3AAFC8 E00AA6A8 8FB00098 */ lw $s0, 0x98($sp)
/* 3AAFCC E00AA6AC 03E00008 */ jr $ra
/* 3AAFD0 E00AA6B0 27BD00C0 */ addiu $sp, $sp, 0xc0
/* 3AAFD4 E00AA6B4 00000000 */ nop
/* 3AAFD8 E00AA6B8 00000000 */ nop
/* 3AAFDC E00AA6BC 00000000 */ nop

View File

@ -0,0 +1,77 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AC000
/* 3AEE20 E00AC000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 3AEE24 E00AC004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 3AEE28 E00AC008 4485A000 */ mtc1 $a1, $f20
/* 3AEE2C E00AC00C AFB1002C */ sw $s1, 0x2c($sp)
/* 3AEE30 E00AC010 0080882D */ daddu $s1, $a0, $zero
/* 3AEE34 E00AC014 F7B60040 */ sdc1 $f22, 0x40($sp)
/* 3AEE38 E00AC018 4486B000 */ mtc1 $a2, $f22
/* 3AEE3C E00AC01C 27A40010 */ addiu $a0, $sp, 0x10
/* 3AEE40 E00AC020 F7B80048 */ sdc1 $f24, 0x48($sp)
/* 3AEE44 E00AC024 4487C000 */ mtc1 $a3, $f24
/* 3AEE48 E00AC028 3C02E00B */ lui $v0, 0xe00b
/* 3AEE4C E00AC02C 2442C11C */ addiu $v0, $v0, -0x3ee4
/* 3AEE50 E00AC030 AFA20018 */ sw $v0, 0x18($sp)
/* 3AEE54 E00AC034 3C02E00B */ lui $v0, 0xe00b
/* 3AEE58 E00AC038 2442C124 */ addiu $v0, $v0, -0x3edc
/* 3AEE5C E00AC03C AFA2001C */ sw $v0, 0x1c($sp)
/* 3AEE60 E00AC040 3C02E00B */ lui $v0, 0xe00b
/* 3AEE64 E00AC044 2442C280 */ addiu $v0, $v0, -0x3d80
/* 3AEE68 E00AC048 AFA20020 */ sw $v0, 0x20($sp)
/* 3AEE6C E00AC04C 3C02E00B */ lui $v0, 0xe00b
/* 3AEE70 E00AC050 2442C288 */ addiu $v0, $v0, -0x3d78
/* 3AEE74 E00AC054 AFA20024 */ sw $v0, 0x24($sp)
/* 3AEE78 E00AC058 24020056 */ addiu $v0, $zero, 0x56
/* 3AEE7C E00AC05C AFBF0030 */ sw $ra, 0x30($sp)
/* 3AEE80 E00AC060 AFB00028 */ sw $s0, 0x28($sp)
/* 3AEE84 E00AC064 AFA00010 */ sw $zero, 0x10($sp)
/* 3AEE88 E00AC068 0C080124 */ jal func_E0200490
/* 3AEE8C E00AC06C AFA20014 */ sw $v0, 0x14($sp)
/* 3AEE90 E00AC070 24040044 */ addiu $a0, $zero, 0x44
/* 3AEE94 E00AC074 24030001 */ addiu $v1, $zero, 1
/* 3AEE98 E00AC078 0040802D */ daddu $s0, $v0, $zero
/* 3AEE9C E00AC07C 0C08012C */ jal func_E02004B0
/* 3AEEA0 E00AC080 AE030008 */ sw $v1, 8($s0)
/* 3AEEA4 E00AC084 0040202D */ daddu $a0, $v0, $zero
/* 3AEEA8 E00AC088 14800003 */ bnez $a0, .LE00AC098
/* 3AEEAC E00AC08C AE02000C */ sw $v0, 0xc($s0)
.LE00AC090:
/* 3AEEB0 E00AC090 0802B024 */ j .LE00AC090
/* 3AEEB4 E00AC094 00000000 */ nop
.LE00AC098:
/* 3AEEB8 E00AC098 AC910000 */ sw $s1, ($a0)
/* 3AEEBC E00AC09C E4940004 */ swc1 $f20, 4($a0)
/* 3AEEC0 E00AC0A0 E4960008 */ swc1 $f22, 8($a0)
/* 3AEEC4 E00AC0A4 E498000C */ swc1 $f24, 0xc($a0)
/* 3AEEC8 E00AC0A8 8FA20064 */ lw $v0, 0x64($sp)
/* 3AEECC E00AC0AC 3C03E00B */ lui $v1, 0xe00b
/* 3AEED0 E00AC0B0 2463C880 */ addiu $v1, $v1, -0x3780
/* 3AEED4 E00AC0B4 AC800018 */ sw $zero, 0x18($a0)
/* 3AEED8 E00AC0B8 AC820014 */ sw $v0, 0x14($a0)
/* 3AEEDC E00AC0BC C7A00060 */ lwc1 $f0, 0x60($sp)
/* 3AEEE0 E00AC0C0 240200FF */ addiu $v0, $zero, 0xff
/* 3AEEE4 E00AC0C4 AC820024 */ sw $v0, 0x24($a0)
/* 3AEEE8 E00AC0C8 001110C0 */ sll $v0, $s1, 3
/* 3AEEEC E00AC0CC 00431021 */ addu $v0, $v0, $v1
/* 3AEEF0 E00AC0D0 AC800028 */ sw $zero, 0x28($a0)
/* 3AEEF4 E00AC0D4 AC80002C */ sw $zero, 0x2c($a0)
/* 3AEEF8 E00AC0D8 AC800030 */ sw $zero, 0x30($a0)
/* 3AEEFC E00AC0DC AC800038 */ sw $zero, 0x38($a0)
/* 3AEF00 E00AC0E0 AC800034 */ sw $zero, 0x34($a0)
/* 3AEF04 E00AC0E4 E4800010 */ swc1 $f0, 0x10($a0)
/* 3AEF08 E00AC0E8 8C430000 */ lw $v1, ($v0)
/* 3AEF0C E00AC0EC AC83001C */ sw $v1, 0x1c($a0)
/* 3AEF10 E00AC0F0 8C430004 */ lw $v1, 4($v0)
/* 3AEF14 E00AC0F4 0200102D */ daddu $v0, $s0, $zero
/* 3AEF18 E00AC0F8 AC830020 */ sw $v1, 0x20($a0)
/* 3AEF1C E00AC0FC 8FBF0030 */ lw $ra, 0x30($sp)
/* 3AEF20 E00AC100 8FB1002C */ lw $s1, 0x2c($sp)
/* 3AEF24 E00AC104 8FB00028 */ lw $s0, 0x28($sp)
/* 3AEF28 E00AC108 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 3AEF2C E00AC10C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 3AEF30 E00AC110 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 3AEF34 E00AC114 03E00008 */ jr $ra
/* 3AEF38 E00AC118 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_E00AC11C
/* 3AEF3C E00AC11C 03E00008 */ jr $ra
/* 3AEF40 E00AC120 00000000 */ nop

View File

@ -0,0 +1,97 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AC124
/* 3AEF44 E00AC124 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3AEF48 E00AC128 AFBF0010 */ sw $ra, 0x10($sp)
/* 3AEF4C E00AC12C 8C85000C */ lw $a1, 0xc($a0)
/* 3AEF50 E00AC130 8CA20014 */ lw $v0, 0x14($a1)
/* 3AEF54 E00AC134 8CA60018 */ lw $a2, 0x18($a1)
/* 3AEF58 E00AC138 2442FFFF */ addiu $v0, $v0, -1
/* 3AEF5C E00AC13C ACA20014 */ sw $v0, 0x14($a1)
/* 3AEF60 E00AC140 0040182D */ daddu $v1, $v0, $zero
/* 3AEF64 E00AC144 24C20001 */ addiu $v0, $a2, 1
/* 3AEF68 E00AC148 04610005 */ bgez $v1, .LE00AC160
/* 3AEF6C E00AC14C ACA20018 */ sw $v0, 0x18($a1)
/* 3AEF70 E00AC150 0C080128 */ jal func_E02004A0
/* 3AEF74 E00AC154 00000000 */ nop
/* 3AEF78 E00AC158 0802B09D */ j .LE00AC274
/* 3AEF7C E00AC15C 00000000 */ nop
.LE00AC160:
/* 3AEF80 E00AC160 8CA3001C */ lw $v1, 0x1c($a1)
/* 3AEF84 E00AC164 24020001 */ addiu $v0, $zero, 1
/* 3AEF88 E00AC168 14620019 */ bne $v1, $v0, .LE00AC1D0
/* 3AEF8C E00AC16C 28C20021 */ slti $v0, $a2, 0x21
/* 3AEF90 E00AC170 10400019 */ beqz $v0, .LE00AC1D8
/* 3AEF94 E00AC174 00061040 */ sll $v0, $a2, 1
/* 3AEF98 E00AC178 3C03E00B */ lui $v1, 0xe00b
/* 3AEF9C E00AC17C 2463C83C */ addiu $v1, $v1, -0x37c4
/* 3AEFA0 E00AC180 00431021 */ addu $v0, $v0, $v1
/* 3AEFA4 E00AC184 90430000 */ lbu $v1, ($v0)
/* 3AEFA8 E00AC188 ACA30024 */ sw $v1, 0x24($a1)
/* 3AEFAC E00AC18C 90420001 */ lbu $v0, 1($v0)
/* 3AEFB0 E00AC190 3C01E00B */ lui $at, 0xe00b
/* 3AEFB4 E00AC194 D422C8D0 */ ldc1 $f2, -0x3730($at)
/* 3AEFB8 E00AC198 44820000 */ mtc1 $v0, $f0
/* 3AEFBC E00AC19C 00000000 */ nop
/* 3AEFC0 E00AC1A0 46800020 */ cvt.s.w $f0, $f0
/* 3AEFC4 E00AC1A4 46000021 */ cvt.d.s $f0, $f0
/* 3AEFC8 E00AC1A8 46220002 */ mul.d $f0, $f0, $f2
/* 3AEFCC E00AC1AC 00000000 */ nop
/* 3AEFD0 E00AC1B0 3C013F80 */ lui $at, 0x3f80
/* 3AEFD4 E00AC1B4 44812000 */ mtc1 $at, $f4
/* 3AEFD8 E00AC1B8 46200020 */ cvt.s.d $f0, $f0
/* 3AEFDC E00AC1BC 46002081 */ sub.s $f2, $f4, $f0
/* 3AEFE0 E00AC1C0 46041080 */ add.s $f2, $f2, $f4
/* 3AEFE4 E00AC1C4 E4A0002C */ swc1 $f0, 0x2c($a1)
/* 3AEFE8 E00AC1C8 0802B08F */ j .LE00AC23C
/* 3AEFEC E00AC1CC E4A20028 */ swc1 $f2, 0x28($a1)
.LE00AC1D0:
/* 3AEFF0 E00AC1D0 14400005 */ bnez $v0, .LE00AC1E8
/* 3AEFF4 E00AC1D4 00061040 */ sll $v0, $a2, 1
.LE00AC1D8:
/* 3AEFF8 E00AC1D8 ACA00024 */ sw $zero, 0x24($a1)
/* 3AEFFC E00AC1DC ACA00028 */ sw $zero, 0x28($a1)
/* 3AF000 E00AC1E0 0802B08F */ j .LE00AC23C
/* 3AF004 E00AC1E4 ACA0002C */ sw $zero, 0x2c($a1)
.LE00AC1E8:
/* 3AF008 E00AC1E8 3C03E00B */ lui $v1, 0xe00b
/* 3AF00C E00AC1EC 2463C7F8 */ addiu $v1, $v1, -0x3808
/* 3AF010 E00AC1F0 00431021 */ addu $v0, $v0, $v1
/* 3AF014 E00AC1F4 90430000 */ lbu $v1, ($v0)
/* 3AF018 E00AC1F8 ACA30024 */ sw $v1, 0x24($a1)
/* 3AF01C E00AC1FC 90420001 */ lbu $v0, 1($v0)
/* 3AF020 E00AC200 3C01E00B */ lui $at, 0xe00b
/* 3AF024 E00AC204 D422C8D8 */ ldc1 $f2, -0x3728($at)
/* 3AF028 E00AC208 44820000 */ mtc1 $v0, $f0
/* 3AF02C E00AC20C 00000000 */ nop
/* 3AF030 E00AC210 46800020 */ cvt.s.w $f0, $f0
/* 3AF034 E00AC214 46000021 */ cvt.d.s $f0, $f0
/* 3AF038 E00AC218 46220002 */ mul.d $f0, $f0, $f2
/* 3AF03C E00AC21C 00000000 */ nop
/* 3AF040 E00AC220 3C013F80 */ lui $at, 0x3f80
/* 3AF044 E00AC224 44812000 */ mtc1 $at, $f4
/* 3AF048 E00AC228 46200020 */ cvt.s.d $f0, $f0
/* 3AF04C E00AC22C 46002081 */ sub.s $f2, $f4, $f0
/* 3AF050 E00AC230 46041080 */ add.s $f2, $f2, $f4
/* 3AF054 E00AC234 E4A00028 */ swc1 $f0, 0x28($a1)
/* 3AF058 E00AC238 E4A2002C */ swc1 $f2, 0x2c($a1)
.LE00AC23C:
/* 3AF05C E00AC23C ACA0003C */ sw $zero, 0x3c($a1)
/* 3AF060 E00AC240 ACA00040 */ sw $zero, 0x40($a1)
/* 3AF064 E00AC244 C4A60004 */ lwc1 $f6, 4($a1)
/* 3AF068 E00AC248 C4A00030 */ lwc1 $f0, 0x30($a1)
/* 3AF06C E00AC24C C4A40008 */ lwc1 $f4, 8($a1)
/* 3AF070 E00AC250 46003180 */ add.s $f6, $f6, $f0
/* 3AF074 E00AC254 C4A00038 */ lwc1 $f0, 0x38($a1)
/* 3AF078 E00AC258 C4A2000C */ lwc1 $f2, 0xc($a1)
/* 3AF07C E00AC25C 46002100 */ add.s $f4, $f4, $f0
/* 3AF080 E00AC260 C4A00034 */ lwc1 $f0, 0x34($a1)
/* 3AF084 E00AC264 46001080 */ add.s $f2, $f2, $f0
/* 3AF088 E00AC268 E4A60004 */ swc1 $f6, 4($a1)
/* 3AF08C E00AC26C E4A40008 */ swc1 $f4, 8($a1)
/* 3AF090 E00AC270 E4A2000C */ swc1 $f2, 0xc($a1)
.LE00AC274:
/* 3AF094 E00AC274 8FBF0010 */ lw $ra, 0x10($sp)
/* 3AF098 E00AC278 03E00008 */ jr $ra
/* 3AF09C E00AC27C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AC280
/* 3AF0A0 E00AC280 03E00008 */ jr $ra
/* 3AF0A4 E00AC284 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_E00AC288
/* 3AF0A8 E00AC288 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3AF0AC E00AC28C AFBF0010 */ sw $ra, 0x10($sp)
/* 3AF0B0 E00AC290 0C02B0A9 */ jal func_E00AC2A4
/* 3AF0B4 E00AC294 00000000 */ nop
/* 3AF0B8 E00AC298 8FBF0010 */ lw $ra, 0x10($sp)
/* 3AF0BC E00AC29C 03E00008 */ jr $ra
/* 3AF0C0 E00AC2A0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,333 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AC2A4
/* 3AF0C4 E00AC2A4 27BDFF30 */ addiu $sp, $sp, -0xd0
/* 3AF0C8 E00AC2A8 0080482D */ daddu $t1, $a0, $zero
/* 3AF0CC E00AC2AC AFBF00C4 */ sw $ra, 0xc4($sp)
/* 3AF0D0 E00AC2B0 AFBE00C0 */ sw $fp, 0xc0($sp)
/* 3AF0D4 E00AC2B4 AFB700BC */ sw $s7, 0xbc($sp)
/* 3AF0D8 E00AC2B8 AFB600B8 */ sw $s6, 0xb8($sp)
/* 3AF0DC E00AC2BC AFB500B4 */ sw $s5, 0xb4($sp)
/* 3AF0E0 E00AC2C0 AFB400B0 */ sw $s4, 0xb0($sp)
/* 3AF0E4 E00AC2C4 AFB300AC */ sw $s3, 0xac($sp)
/* 3AF0E8 E00AC2C8 AFB200A8 */ sw $s2, 0xa8($sp)
/* 3AF0EC E00AC2CC AFB100A4 */ sw $s1, 0xa4($sp)
/* 3AF0F0 E00AC2D0 AFB000A0 */ sw $s0, 0xa0($sp)
/* 3AF0F4 E00AC2D4 F7B400C8 */ sdc1 $f20, 0xc8($sp)
/* 3AF0F8 E00AC2D8 8D34000C */ lw $s4, 0xc($t1)
/* 3AF0FC E00AC2DC 44801000 */ mtc1 $zero, $f2
/* 3AF100 E00AC2E0 C6800028 */ lwc1 $f0, 0x28($s4)
/* 3AF104 E00AC2E4 8E9E001C */ lw $fp, 0x1c($s4)
/* 3AF108 E00AC2E8 8E970020 */ lw $s7, 0x20($s4)
/* 3AF10C E00AC2EC 46020032 */ c.eq.s $f0, $f2
/* 3AF110 E00AC2F0 00000000 */ nop
/* 3AF114 E00AC2F4 4501011F */ bc1t .LE00AC774
/* 3AF118 E00AC2F8 00000000 */ nop
/* 3AF11C E00AC2FC C680002C */ lwc1 $f0, 0x2c($s4)
/* 3AF120 E00AC300 46020032 */ c.eq.s $f0, $f2
/* 3AF124 E00AC304 00000000 */ nop
/* 3AF128 E00AC308 4501011A */ bc1t .LE00AC774
/* 3AF12C E00AC30C 3C08DB06 */ lui $t0, 0xdb06
/* 3AF130 E00AC310 35080024 */ ori $t0, $t0, 0x24
/* 3AF134 E00AC314 3C13800A */ lui $s3, 0x800a
/* 3AF138 E00AC318 2673A66C */ addiu $s3, $s3, -0x5994
/* 3AF13C E00AC31C 3C02E700 */ lui $v0, 0xe700
/* 3AF140 E00AC320 8E660000 */ lw $a2, ($s3)
/* 3AF144 E00AC324 44051000 */ mfc1 $a1, $f2
/* 3AF148 E00AC328 00C0182D */ daddu $v1, $a2, $zero
/* 3AF14C E00AC32C 24C60008 */ addiu $a2, $a2, 8
/* 3AF150 E00AC330 AC620000 */ sw $v0, ($v1)
/* 3AF154 E00AC334 AC600004 */ sw $zero, 4($v1)
/* 3AF158 E00AC338 ACC80000 */ sw $t0, ($a2)
/* 3AF15C E00AC33C 8D220010 */ lw $v0, 0x10($t1)
/* 3AF160 E00AC340 3C088000 */ lui $t0, 0x8000
/* 3AF164 E00AC344 8C42001C */ lw $v0, 0x1c($v0)
/* 3AF168 E00AC348 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3AF16C E00AC34C 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 3AF170 E00AC350 00481021 */ addu $v0, $v0, $t0
/* 3AF174 E00AC354 ACC20004 */ sw $v0, 4($a2)
/* 3AF178 E00AC358 00031080 */ sll $v0, $v1, 2
/* 3AF17C E00AC35C 00431021 */ addu $v0, $v0, $v1
/* 3AF180 E00AC360 00021080 */ sll $v0, $v0, 2
/* 3AF184 E00AC364 00431023 */ subu $v0, $v0, $v1
/* 3AF188 E00AC368 000218C0 */ sll $v1, $v0, 3
/* 3AF18C E00AC36C 00431021 */ addu $v0, $v0, $v1
/* 3AF190 E00AC370 000210C0 */ sll $v0, $v0, 3
/* 3AF194 E00AC374 3C01800B */ lui $at, 0x800b
/* 3AF198 E00AC378 00220821 */ addu $at, $at, $v0
/* 3AF19C E00AC37C C4221DEC */ lwc1 $f2, 0x1dec($at)
/* 3AF1A0 E00AC380 C6800010 */ lwc1 $f0, 0x10($s4)
/* 3AF1A4 E00AC384 27A40020 */ addiu $a0, $sp, 0x20
/* 3AF1A8 E00AC388 E7A00010 */ swc1 $f0, 0x10($sp)
/* 3AF1AC E00AC38C C6800004 */ lwc1 $f0, 4($s4)
/* 3AF1B0 E00AC390 3C120001 */ lui $s2, 1
/* 3AF1B4 E00AC394 AE660000 */ sw $a2, ($s3)
/* 3AF1B8 E00AC398 24C60008 */ addiu $a2, $a2, 8
/* 3AF1BC E00AC39C E7A00014 */ swc1 $f0, 0x14($sp)
/* 3AF1C0 E00AC3A0 C6800008 */ lwc1 $f0, 8($s4)
/* 3AF1C4 E00AC3A4 46001087 */ neg.s $f2, $f2
/* 3AF1C8 E00AC3A8 AE660000 */ sw $a2, ($s3)
/* 3AF1CC E00AC3AC 44061000 */ mfc1 $a2, $f2
/* 3AF1D0 E00AC3B0 36521630 */ ori $s2, $s2, 0x1630
/* 3AF1D4 E00AC3B4 E7A00018 */ swc1 $f0, 0x18($sp)
/* 3AF1D8 E00AC3B8 C680000C */ lwc1 $f0, 0xc($s4)
/* 3AF1DC E00AC3BC 00A0382D */ daddu $a3, $a1, $zero
/* 3AF1E0 E00AC3C0 0C080180 */ jal func_E0200600
/* 3AF1E4 E00AC3C4 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3AF1E8 E00AC3C8 27A40020 */ addiu $a0, $sp, 0x20
/* 3AF1EC E00AC3CC 3C108007 */ lui $s0, 0x8007
/* 3AF1F0 E00AC3D0 261041F0 */ addiu $s0, $s0, 0x41f0
/* 3AF1F4 E00AC3D4 3C11800A */ lui $s1, 0x800a
/* 3AF1F8 E00AC3D8 2631A674 */ addiu $s1, $s1, -0x598c
/* 3AF1FC E00AC3DC 96050000 */ lhu $a1, ($s0)
/* 3AF200 E00AC3E0 8E220000 */ lw $v0, ($s1)
/* 3AF204 E00AC3E4 00052980 */ sll $a1, $a1, 6
/* 3AF208 E00AC3E8 00B22821 */ addu $a1, $a1, $s2
/* 3AF20C E00AC3EC 0C080118 */ jal func_E0200460
/* 3AF210 E00AC3F0 00452821 */ addu $a1, $v0, $a1
/* 3AF214 E00AC3F4 8E670000 */ lw $a3, ($s3)
/* 3AF218 E00AC3F8 00E0202D */ daddu $a0, $a3, $zero
/* 3AF21C E00AC3FC 24E70008 */ addiu $a3, $a3, 8
/* 3AF220 E00AC400 AE670000 */ sw $a3, ($s3)
/* 3AF224 E00AC404 96020000 */ lhu $v0, ($s0)
/* 3AF228 E00AC408 3C03DA38 */ lui $v1, 0xda38
/* 3AF22C E00AC40C AC830000 */ sw $v1, ($a0)
/* 3AF230 E00AC410 24430001 */ addiu $v1, $v0, 1
/* 3AF234 E00AC414 3042FFFF */ andi $v0, $v0, 0xffff
/* 3AF238 E00AC418 00021180 */ sll $v0, $v0, 6
/* 3AF23C E00AC41C A6030000 */ sh $v1, ($s0)
/* 3AF240 E00AC420 8E230000 */ lw $v1, ($s1)
/* 3AF244 E00AC424 00521021 */ addu $v0, $v0, $s2
/* 3AF248 E00AC428 00621821 */ addu $v1, $v1, $v0
/* 3AF24C E00AC42C AC830004 */ sw $v1, 4($a0)
/* 3AF250 E00AC430 8E830024 */ lw $v1, 0x24($s4)
/* 3AF254 E00AC434 240200FF */ addiu $v0, $zero, 0xff
/* 3AF258 E00AC438 54620011 */ bnel $v1, $v0, .LE00AC480
/* 3AF25C E00AC43C 3C05E200 */ lui $a1, 0xe200
/* 3AF260 E00AC440 3C04E200 */ lui $a0, 0xe200
/* 3AF264 E00AC444 3484001C */ ori $a0, $a0, 0x1c
/* 3AF268 E00AC448 3C030055 */ lui $v1, 0x55
/* 3AF26C E00AC44C 34631208 */ ori $v1, $v1, 0x1208
/* 3AF270 E00AC450 3C05FC12 */ lui $a1, 0xfc12
/* 3AF274 E00AC454 34A57E24 */ ori $a1, $a1, 0x7e24
/* 3AF278 E00AC458 24E20008 */ addiu $v0, $a3, 8
/* 3AF27C E00AC45C AE620000 */ sw $v0, ($s3)
/* 3AF280 E00AC460 24E20010 */ addiu $v0, $a3, 0x10
/* 3AF284 E00AC464 ACE40000 */ sw $a0, ($a3)
/* 3AF288 E00AC468 ACE30004 */ sw $v1, 4($a3)
/* 3AF28C E00AC46C AE620000 */ sw $v0, ($s3)
/* 3AF290 E00AC470 2402F3F9 */ addiu $v0, $zero, -0xc07
/* 3AF294 E00AC474 ACE50008 */ sw $a1, 8($a3)
/* 3AF298 E00AC478 0802B12F */ j .LE00AC4BC
/* 3AF29C E00AC47C ACE2000C */ sw $v0, 0xc($a3)
.LE00AC480:
/* 3AF2A0 E00AC480 34A5001C */ ori $a1, $a1, 0x1c
/* 3AF2A4 E00AC484 3C030050 */ lui $v1, 0x50
/* 3AF2A8 E00AC488 34634340 */ ori $v1, $v1, 0x4340
/* 3AF2AC E00AC48C 3C06FC12 */ lui $a2, 0xfc12
/* 3AF2B0 E00AC490 34C63224 */ ori $a2, $a2, 0x3224
/* 3AF2B4 E00AC494 3C04FF67 */ lui $a0, 0xff67
/* 3AF2B8 E00AC498 3484FFFF */ ori $a0, $a0, 0xffff
/* 3AF2BC E00AC49C 24E20008 */ addiu $v0, $a3, 8
/* 3AF2C0 E00AC4A0 AE620000 */ sw $v0, ($s3)
/* 3AF2C4 E00AC4A4 24E20010 */ addiu $v0, $a3, 0x10
/* 3AF2C8 E00AC4A8 ACE50000 */ sw $a1, ($a3)
/* 3AF2CC E00AC4AC ACE30004 */ sw $v1, 4($a3)
/* 3AF2D0 E00AC4B0 AE620000 */ sw $v0, ($s3)
/* 3AF2D4 E00AC4B4 ACE60008 */ sw $a2, 8($a3)
/* 3AF2D8 E00AC4B8 ACE4000C */ sw $a0, 0xc($a3)
.LE00AC4BC:
/* 3AF2DC E00AC4BC 27A40020 */ addiu $a0, $sp, 0x20
/* 3AF2E0 E00AC4C0 3C120001 */ lui $s2, 1
/* 3AF2E4 E00AC4C4 4480A000 */ mtc1 $zero, $f20
/* 3AF2E8 E00AC4C8 8E860040 */ lw $a2, 0x40($s4)
/* 3AF2EC E00AC4CC 4405A000 */ mfc1 $a1, $f20
/* 3AF2F0 E00AC4D0 4407A000 */ mfc1 $a3, $f20
/* 3AF2F4 E00AC4D4 0C080108 */ jal func_E0200420
/* 3AF2F8 E00AC4D8 36521630 */ ori $s2, $s2, 0x1630
/* 3AF2FC E00AC4DC 27B00060 */ addiu $s0, $sp, 0x60
/* 3AF300 E00AC4E0 8E850028 */ lw $a1, 0x28($s4)
/* 3AF304 E00AC4E4 8E86002C */ lw $a2, 0x2c($s4)
/* 3AF308 E00AC4E8 3C073F80 */ lui $a3, 0x3f80
/* 3AF30C E00AC4EC 0C080110 */ jal func_E0200440
/* 3AF310 E00AC4F0 0200202D */ daddu $a0, $s0, $zero
/* 3AF314 E00AC4F4 0200202D */ daddu $a0, $s0, $zero
/* 3AF318 E00AC4F8 27A50020 */ addiu $a1, $sp, 0x20
/* 3AF31C E00AC4FC 0C080114 */ jal func_E0200450
/* 3AF320 E00AC500 00A0302D */ daddu $a2, $a1, $zero
/* 3AF324 E00AC504 27A40020 */ addiu $a0, $sp, 0x20
/* 3AF328 E00AC508 3C108007 */ lui $s0, 0x8007
/* 3AF32C E00AC50C 261041F0 */ addiu $s0, $s0, 0x41f0
/* 3AF330 E00AC510 3C11800A */ lui $s1, 0x800a
/* 3AF334 E00AC514 2631A674 */ addiu $s1, $s1, -0x598c
/* 3AF338 E00AC518 96050000 */ lhu $a1, ($s0)
/* 3AF33C E00AC51C 8E220000 */ lw $v0, ($s1)
/* 3AF340 E00AC520 00052980 */ sll $a1, $a1, 6
/* 3AF344 E00AC524 00B22821 */ addu $a1, $a1, $s2
/* 3AF348 E00AC528 0C080118 */ jal func_E0200460
/* 3AF34C E00AC52C 00452821 */ addu $a1, $v0, $a1
/* 3AF350 E00AC530 3C09D838 */ lui $t1, 0xd838
/* 3AF354 E00AC534 35290002 */ ori $t1, $t1, 2
/* 3AF358 E00AC538 27A40020 */ addiu $a0, $sp, 0x20
/* 3AF35C E00AC53C 3C15800A */ lui $s5, 0x800a
/* 3AF360 E00AC540 26B5A66C */ addiu $s5, $s5, -0x5994
/* 3AF364 E00AC544 3C13DA38 */ lui $s3, 0xda38
/* 3AF368 E00AC548 3C16DE00 */ lui $s6, 0xde00
/* 3AF36C E00AC54C 8EA80000 */ lw $t0, ($s5)
/* 3AF370 E00AC550 4405A000 */ mfc1 $a1, $f20
/* 3AF374 E00AC554 0100302D */ daddu $a2, $t0, $zero
/* 3AF378 E00AC558 25080008 */ addiu $t0, $t0, 8
/* 3AF37C E00AC55C AEA80000 */ sw $t0, ($s5)
/* 3AF380 E00AC560 96020000 */ lhu $v0, ($s0)
/* 3AF384 E00AC564 00A0382D */ daddu $a3, $a1, $zero
/* 3AF388 E00AC568 ACD30000 */ sw $s3, ($a2)
/* 3AF38C E00AC56C 24430001 */ addiu $v1, $v0, 1
/* 3AF390 E00AC570 3042FFFF */ andi $v0, $v0, 0xffff
/* 3AF394 E00AC574 00021180 */ sll $v0, $v0, 6
/* 3AF398 E00AC578 A6030000 */ sh $v1, ($s0)
/* 3AF39C E00AC57C 8E230000 */ lw $v1, ($s1)
/* 3AF3A0 E00AC580 00521021 */ addu $v0, $v0, $s2
/* 3AF3A4 E00AC584 00621821 */ addu $v1, $v1, $v0
/* 3AF3A8 E00AC588 25020008 */ addiu $v0, $t0, 8
/* 3AF3AC E00AC58C ACC30004 */ sw $v1, 4($a2)
/* 3AF3B0 E00AC590 AEA20000 */ sw $v0, ($s5)
/* 3AF3B4 E00AC594 25020010 */ addiu $v0, $t0, 0x10
/* 3AF3B8 E00AC598 001E3080 */ sll $a2, $fp, 2
/* 3AF3BC E00AC59C AD160000 */ sw $s6, ($t0)
/* 3AF3C0 E00AC5A0 AEA20000 */ sw $v0, ($s5)
/* 3AF3C4 E00AC5A4 3C03E00B */ lui $v1, 0xe00b
/* 3AF3C8 E00AC5A8 00661821 */ addu $v1, $v1, $a2
/* 3AF3CC E00AC5AC 8C63C7B0 */ lw $v1, -0x3850($v1)
/* 3AF3D0 E00AC5B0 3C02FA00 */ lui $v0, 0xfa00
/* 3AF3D4 E00AC5B4 AD020008 */ sw $v0, 8($t0)
/* 3AF3D8 E00AC5B8 AD030004 */ sw $v1, 4($t0)
/* 3AF3DC E00AC5BC 92830027 */ lbu $v1, 0x27($s4)
/* 3AF3E0 E00AC5C0 25020018 */ addiu $v0, $t0, 0x18
/* 3AF3E4 E00AC5C4 AEA20000 */ sw $v0, ($s5)
/* 3AF3E8 E00AC5C8 AD160010 */ sw $s6, 0x10($t0)
/* 3AF3EC E00AC5CC AD03000C */ sw $v1, 0xc($t0)
/* 3AF3F0 E00AC5D0 3C03E00B */ lui $v1, 0xe00b
/* 3AF3F4 E00AC5D4 00661821 */ addu $v1, $v1, $a2
/* 3AF3F8 E00AC5D8 8C63C7BC */ lw $v1, -0x3844($v1)
/* 3AF3FC E00AC5DC 25020020 */ addiu $v0, $t0, 0x20
/* 3AF400 E00AC5E0 AEA20000 */ sw $v0, ($s5)
/* 3AF404 E00AC5E4 24020040 */ addiu $v0, $zero, 0x40
/* 3AF408 E00AC5E8 AD02001C */ sw $v0, 0x1c($t0)
/* 3AF40C E00AC5EC 3C020900 */ lui $v0, 0x900
/* 3AF410 E00AC5F0 244228E0 */ addiu $v0, $v0, 0x28e0
/* 3AF414 E00AC5F4 AD090018 */ sw $t1, 0x18($t0)
/* 3AF418 E00AC5F8 AD160020 */ sw $s6, 0x20($t0)
/* 3AF41C E00AC5FC AD020024 */ sw $v0, 0x24($t0)
/* 3AF420 E00AC600 AD030014 */ sw $v1, 0x14($t0)
/* 3AF424 E00AC604 8E86003C */ lw $a2, 0x3c($s4)
/* 3AF428 E00AC608 25080028 */ addiu $t0, $t0, 0x28
/* 3AF42C E00AC60C 0C080108 */ jal func_E0200420
/* 3AF430 E00AC610 AEA80000 */ sw $t0, ($s5)
/* 3AF434 E00AC614 27A40020 */ addiu $a0, $sp, 0x20
/* 3AF438 E00AC618 96050000 */ lhu $a1, ($s0)
/* 3AF43C E00AC61C 8E220000 */ lw $v0, ($s1)
/* 3AF440 E00AC620 00052980 */ sll $a1, $a1, 6
/* 3AF444 E00AC624 00B22821 */ addu $a1, $a1, $s2
/* 3AF448 E00AC628 0C080118 */ jal func_E0200460
/* 3AF44C E00AC62C 00452821 */ addu $a1, $v0, $a1
/* 3AF450 E00AC630 02E0302D */ daddu $a2, $s7, $zero
/* 3AF454 E00AC634 8EA50000 */ lw $a1, ($s5)
/* 3AF458 E00AC638 96020000 */ lhu $v0, ($s0)
/* 3AF45C E00AC63C 00A0202D */ daddu $a0, $a1, $zero
/* 3AF460 E00AC640 24A50008 */ addiu $a1, $a1, 8
/* 3AF464 E00AC644 24430001 */ addiu $v1, $v0, 1
/* 3AF468 E00AC648 3042FFFF */ andi $v0, $v0, 0xffff
/* 3AF46C E00AC64C 00021180 */ sll $v0, $v0, 6
/* 3AF470 E00AC650 AEA50000 */ sw $a1, ($s5)
/* 3AF474 E00AC654 AC930000 */ sw $s3, ($a0)
/* 3AF478 E00AC658 A6030000 */ sh $v1, ($s0)
/* 3AF47C E00AC65C 8E230000 */ lw $v1, ($s1)
/* 3AF480 E00AC660 00521021 */ addu $v0, $v0, $s2
/* 3AF484 E00AC664 00621821 */ addu $v1, $v1, $v0
/* 3AF488 E00AC668 06E10002 */ bgez $s7, .LE00AC674
/* 3AF48C E00AC66C AC830004 */ sw $v1, 4($a0)
/* 3AF490 E00AC670 00173023 */ negu $a2, $s7
.LE00AC674:
/* 3AF494 E00AC674 3C026666 */ lui $v0, 0x6666
/* 3AF498 E00AC678 34426667 */ ori $v0, $v0, 0x6667
/* 3AF49C E00AC67C 00C20018 */ mult $a2, $v0
/* 3AF4A0 E00AC680 24A20008 */ addiu $v0, $a1, 8
/* 3AF4A4 E00AC684 AEA20000 */ sw $v0, ($s5)
/* 3AF4A8 E00AC688 000617C3 */ sra $v0, $a2, 0x1f
/* 3AF4AC E00AC68C ACB60000 */ sw $s6, ($a1)
/* 3AF4B0 E00AC690 00005010 */ mfhi $t2
/* 3AF4B4 E00AC694 000A1883 */ sra $v1, $t2, 2
/* 3AF4B8 E00AC698 00621823 */ subu $v1, $v1, $v0
/* 3AF4BC E00AC69C 00031080 */ sll $v0, $v1, 2
/* 3AF4C0 E00AC6A0 00431021 */ addu $v0, $v0, $v1
/* 3AF4C4 E00AC6A4 00021040 */ sll $v0, $v0, 1
/* 3AF4C8 E00AC6A8 00C21023 */ subu $v0, $a2, $v0
/* 3AF4CC E00AC6AC 00021080 */ sll $v0, $v0, 2
/* 3AF4D0 E00AC6B0 3C03E00B */ lui $v1, 0xe00b
/* 3AF4D4 E00AC6B4 00621821 */ addu $v1, $v1, $v0
/* 3AF4D8 E00AC6B8 8C63C7C8 */ lw $v1, -0x3838($v1)
/* 3AF4DC E00AC6BC 24A20010 */ addiu $v0, $a1, 0x10
/* 3AF4E0 E00AC6C0 AEA20000 */ sw $v0, ($s5)
/* 3AF4E4 E00AC6C4 3C020900 */ lui $v0, 0x900
/* 3AF4E8 E00AC6C8 244228C0 */ addiu $v0, $v0, 0x28c0
/* 3AF4EC E00AC6CC ACA2000C */ sw $v0, 0xc($a1)
/* 3AF4F0 E00AC6D0 3C02E00B */ lui $v0, 0xe00b
/* 3AF4F4 E00AC6D4 2442C7C8 */ addiu $v0, $v0, -0x3838
/* 3AF4F8 E00AC6D8 ACB60008 */ sw $s6, 8($a1)
/* 3AF4FC E00AC6DC 06E00005 */ bltz $s7, .LE00AC6F4
/* 3AF500 E00AC6E0 ACA30004 */ sw $v1, 4($a1)
/* 3AF504 E00AC6E4 ACB60010 */ sw $s6, 0x10($a1)
/* 3AF508 E00AC6E8 8C43002C */ lw $v1, 0x2c($v0)
/* 3AF50C E00AC6EC 0802B1C0 */ j .LE00AC700
/* 3AF510 E00AC6F0 24A20018 */ addiu $v0, $a1, 0x18
.LE00AC6F4:
/* 3AF514 E00AC6F4 ACB60010 */ sw $s6, 0x10($a1)
/* 3AF518 E00AC6F8 8C430028 */ lw $v1, 0x28($v0)
/* 3AF51C E00AC6FC 24A20018 */ addiu $v0, $a1, 0x18
.LE00AC700:
/* 3AF520 E00AC700 AEA20000 */ sw $v0, ($s5)
/* 3AF524 E00AC704 ACA30014 */ sw $v1, 0x14($a1)
/* 3AF528 E00AC708 3C06D838 */ lui $a2, 0xd838
/* 3AF52C E00AC70C 3C04800A */ lui $a0, 0x800a
/* 3AF530 E00AC710 2484A66C */ addiu $a0, $a0, -0x5994
/* 3AF534 E00AC714 34C60002 */ ori $a2, $a2, 2
/* 3AF538 E00AC718 8C830000 */ lw $v1, ($a0)
/* 3AF53C E00AC71C 3C02DE00 */ lui $v0, 0xde00
/* 3AF540 E00AC720 0060282D */ daddu $a1, $v1, $zero
/* 3AF544 E00AC724 24630008 */ addiu $v1, $v1, 8
/* 3AF548 E00AC728 AC830000 */ sw $v1, ($a0)
/* 3AF54C E00AC72C ACA20000 */ sw $v0, ($a1)
/* 3AF550 E00AC730 3C020900 */ lui $v0, 0x900
/* 3AF554 E00AC734 244228A0 */ addiu $v0, $v0, 0x28a0
/* 3AF558 E00AC738 ACA20004 */ sw $v0, 4($a1)
/* 3AF55C E00AC73C 24620008 */ addiu $v0, $v1, 8
/* 3AF560 E00AC740 24050040 */ addiu $a1, $zero, 0x40
/* 3AF564 E00AC744 AC820000 */ sw $v0, ($a0)
/* 3AF568 E00AC748 24620010 */ addiu $v0, $v1, 0x10
/* 3AF56C E00AC74C AC660000 */ sw $a2, ($v1)
/* 3AF570 E00AC750 AC650004 */ sw $a1, 4($v1)
/* 3AF574 E00AC754 AC820000 */ sw $v0, ($a0)
/* 3AF578 E00AC758 24620018 */ addiu $v0, $v1, 0x18
/* 3AF57C E00AC75C AC660008 */ sw $a2, 8($v1)
/* 3AF580 E00AC760 AC65000C */ sw $a1, 0xc($v1)
/* 3AF584 E00AC764 AC820000 */ sw $v0, ($a0)
/* 3AF588 E00AC768 3C02E700 */ lui $v0, 0xe700
/* 3AF58C E00AC76C AC620010 */ sw $v0, 0x10($v1)
/* 3AF590 E00AC770 AC600014 */ sw $zero, 0x14($v1)
.LE00AC774:
/* 3AF594 E00AC774 8FBF00C4 */ lw $ra, 0xc4($sp)
/* 3AF598 E00AC778 8FBE00C0 */ lw $fp, 0xc0($sp)
/* 3AF59C E00AC77C 8FB700BC */ lw $s7, 0xbc($sp)
/* 3AF5A0 E00AC780 8FB600B8 */ lw $s6, 0xb8($sp)
/* 3AF5A4 E00AC784 8FB500B4 */ lw $s5, 0xb4($sp)
/* 3AF5A8 E00AC788 8FB400B0 */ lw $s4, 0xb0($sp)
/* 3AF5AC E00AC78C 8FB300AC */ lw $s3, 0xac($sp)
/* 3AF5B0 E00AC790 8FB200A8 */ lw $s2, 0xa8($sp)
/* 3AF5B4 E00AC794 8FB100A4 */ lw $s1, 0xa4($sp)
/* 3AF5B8 E00AC798 8FB000A0 */ lw $s0, 0xa0($sp)
/* 3AF5BC E00AC79C D7B400C8 */ ldc1 $f20, 0xc8($sp)
/* 3AF5C0 E00AC7A0 03E00008 */ jr $ra
/* 3AF5C4 E00AC7A4 27BD00D0 */ addiu $sp, $sp, 0xd0
/* 3AF5C8 E00AC7A8 00000000 */ nop
/* 3AF5CC E00AC7AC 00000000 */ nop

View File

@ -0,0 +1,119 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AE000
/* 3B2350 E00AE000 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 3B2354 E00AE004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 3B2358 E00AE008 4485A000 */ mtc1 $a1, $f20
/* 3B235C E00AE00C F7B60048 */ sdc1 $f22, 0x48($sp)
/* 3B2360 E00AE010 4486B000 */ mtc1 $a2, $f22
/* 3B2364 E00AE014 AFB30034 */ sw $s3, 0x34($sp)
/* 3B2368 E00AE018 0080982D */ daddu $s3, $a0, $zero
/* 3B236C E00AE01C F7B80050 */ sdc1 $f24, 0x50($sp)
/* 3B2370 E00AE020 4487C000 */ mtc1 $a3, $f24
/* 3B2374 E00AE024 27A40010 */ addiu $a0, $sp, 0x10
/* 3B2378 E00AE028 AFB20030 */ sw $s2, 0x30($sp)
/* 3B237C E00AE02C 8FB2006C */ lw $s2, 0x6c($sp)
/* 3B2380 E00AE030 3C02E00B */ lui $v0, 0xe00b
/* 3B2384 E00AE034 2442E1AC */ addiu $v0, $v0, -0x1e54
/* 3B2388 E00AE038 AFA20018 */ sw $v0, 0x18($sp)
/* 3B238C E00AE03C 3C02E00B */ lui $v0, 0xe00b
/* 3B2390 E00AE040 2442E1B4 */ addiu $v0, $v0, -0x1e4c
/* 3B2394 E00AE044 AFA2001C */ sw $v0, 0x1c($sp)
/* 3B2398 E00AE048 3C02E00B */ lui $v0, 0xe00b
/* 3B239C E00AE04C 2442E4FC */ addiu $v0, $v0, -0x1b04
/* 3B23A0 E00AE050 AFA20020 */ sw $v0, 0x20($sp)
/* 3B23A4 E00AE054 24020057 */ addiu $v0, $zero, 0x57
/* 3B23A8 E00AE058 AFBF0038 */ sw $ra, 0x38($sp)
/* 3B23AC E00AE05C AFB1002C */ sw $s1, 0x2c($sp)
/* 3B23B0 E00AE060 AFB00028 */ sw $s0, 0x28($sp)
/* 3B23B4 E00AE064 AFA00010 */ sw $zero, 0x10($sp)
/* 3B23B8 E00AE068 AFA00024 */ sw $zero, 0x24($sp)
/* 3B23BC E00AE06C 0C080124 */ jal func_E0200490
/* 3B23C0 E00AE070 AFA20014 */ sw $v0, 0x14($sp)
/* 3B23C4 E00AE074 240405D8 */ addiu $a0, $zero, 0x5d8
/* 3B23C8 E00AE078 24110016 */ addiu $s1, $zero, 0x16
/* 3B23CC E00AE07C 0040802D */ daddu $s0, $v0, $zero
/* 3B23D0 E00AE080 0C08012C */ jal func_E02004B0
/* 3B23D4 E00AE084 AE110008 */ sw $s1, 8($s0)
/* 3B23D8 E00AE088 0040202D */ daddu $a0, $v0, $zero
/* 3B23DC E00AE08C 14800003 */ bnez $a0, .LE00AE09C
/* 3B23E0 E00AE090 AE04000C */ sw $a0, 0xc($s0)
.LE00AE094:
/* 3B23E4 E00AE094 0802B825 */ j .LE00AE094
/* 3B23E8 E00AE098 00000000 */ nop
.LE00AE09C:
/* 3B23EC E00AE09C AC930000 */ sw $s3, ($a0)
/* 3B23F0 E00AE0A0 1E400004 */ bgtz $s2, .LE00AE0B4
/* 3B23F4 E00AE0A4 AC800014 */ sw $zero, 0x14($a0)
/* 3B23F8 E00AE0A8 240203E8 */ addiu $v0, $zero, 0x3e8
/* 3B23FC E00AE0AC 0802B82E */ j .LE00AE0B8
/* 3B2400 E00AE0B0 AC820010 */ sw $v0, 0x10($a0)
.LE00AE0B4:
/* 3B2404 E00AE0B4 AC920010 */ sw $s2, 0x10($a0)
.LE00AE0B8:
/* 3B2408 E00AE0B8 240300FF */ addiu $v1, $zero, 0xff
/* 3B240C E00AE0BC 240200E6 */ addiu $v0, $zero, 0xe6
/* 3B2410 E00AE0C0 AC800024 */ sw $zero, 0x24($a0)
/* 3B2414 E00AE0C4 E4940004 */ swc1 $f20, 4($a0)
/* 3B2418 E00AE0C8 E4960008 */ swc1 $f22, 8($a0)
/* 3B241C E00AE0CC E498000C */ swc1 $f24, 0xc($a0)
/* 3B2420 E00AE0D0 C7A00068 */ lwc1 $f0, 0x68($sp)
/* 3B2424 E00AE0D4 24060001 */ addiu $a2, $zero, 1
/* 3B2428 E00AE0D8 AC82001C */ sw $v0, 0x1c($a0)
/* 3B242C E00AE0DC 00D1102A */ slt $v0, $a2, $s1
/* 3B2430 E00AE0E0 AC830018 */ sw $v1, 0x18($a0)
/* 3B2434 E00AE0E4 AC800020 */ sw $zero, 0x20($a0)
/* 3B2438 E00AE0E8 AC830028 */ sw $v1, 0x28($a0)
/* 3B243C E00AE0EC AC83002C */ sw $v1, 0x2c($a0)
/* 3B2440 E00AE0F0 AC830030 */ sw $v1, 0x30($a0)
/* 3B2444 E00AE0F4 E4800038 */ swc1 $f0, 0x38($a0)
/* 3B2448 E00AE0F8 10400021 */ beqz $v0, .LE00AE180
/* 3B244C E00AE0FC 24840044 */ addiu $a0, $a0, 0x44
/* 3B2450 E00AE100 24080014 */ addiu $t0, $zero, 0x14
/* 3B2454 E00AE104 2627FFFF */ addiu $a3, $s1, -1
/* 3B2458 E00AE108 3C013F80 */ lui $at, 0x3f80
/* 3B245C E00AE10C 44811000 */ mtc1 $at, $f2
/* 3B2460 E00AE110 24840040 */ addiu $a0, $a0, 0x40
/* 3B2464 E00AE114 0000282D */ daddu $a1, $zero, $zero
.LE00AE118:
/* 3B2468 E00AE118 14E00002 */ bnez $a3, .LE00AE124
/* 3B246C E00AE11C 00A7001A */ div $zero, $a1, $a3
/* 3B2470 E00AE120 0007000D */ break 7
.LE00AE124:
/* 3B2474 E00AE124 2401FFFF */ addiu $at, $zero, -1
/* 3B2478 E00AE128 14E10004 */ bne $a3, $at, .LE00AE13C
/* 3B247C E00AE12C 3C018000 */ lui $at, 0x8000
/* 3B2480 E00AE130 14A10002 */ bne $a1, $at, .LE00AE13C
/* 3B2484 E00AE134 00000000 */ nop
/* 3B2488 E00AE138 0006000D */ break 6
.LE00AE13C:
/* 3B248C E00AE13C 00001812 */ mflo $v1
/* 3B2490 E00AE140 24A50168 */ addiu $a1, $a1, 0x168
/* 3B2494 E00AE144 30C2000F */ andi $v0, $a2, 0xf
/* 3B2498 E00AE148 24C60001 */ addiu $a2, $a2, 1
/* 3B249C E00AE14C AC820000 */ sw $v0, ($a0)
/* 3B24A0 E00AE150 00D1102A */ slt $v0, $a2, $s1
/* 3B24A4 E00AE154 AC88FFD0 */ sw $t0, -0x30($a0)
/* 3B24A8 E00AE158 AC80FFD4 */ sw $zero, -0x2c($a0)
/* 3B24AC E00AE15C AC80FFC4 */ sw $zero, -0x3c($a0)
/* 3B24B0 E00AE160 AC80FFC8 */ sw $zero, -0x38($a0)
/* 3B24B4 E00AE164 E482FFF4 */ swc1 $f2, -0xc($a0)
/* 3B24B8 E00AE168 44830000 */ mtc1 $v1, $f0
/* 3B24BC E00AE16C 00000000 */ nop
/* 3B24C0 E00AE170 46800020 */ cvt.s.w $f0, $f0
/* 3B24C4 E00AE174 E480FFFC */ swc1 $f0, -4($a0)
/* 3B24C8 E00AE178 1440FFE7 */ bnez $v0, .LE00AE118
/* 3B24CC E00AE17C 24840044 */ addiu $a0, $a0, 0x44
.LE00AE180:
/* 3B24D0 E00AE180 0200102D */ daddu $v0, $s0, $zero
/* 3B24D4 E00AE184 8FBF0038 */ lw $ra, 0x38($sp)
/* 3B24D8 E00AE188 8FB30034 */ lw $s3, 0x34($sp)
/* 3B24DC E00AE18C 8FB20030 */ lw $s2, 0x30($sp)
/* 3B24E0 E00AE190 8FB1002C */ lw $s1, 0x2c($sp)
/* 3B24E4 E00AE194 8FB00028 */ lw $s0, 0x28($sp)
/* 3B24E8 E00AE198 D7B80050 */ ldc1 $f24, 0x50($sp)
/* 3B24EC E00AE19C D7B60048 */ ldc1 $f22, 0x48($sp)
/* 3B24F0 E00AE1A0 D7B40040 */ ldc1 $f20, 0x40($sp)
/* 3B24F4 E00AE1A4 03E00008 */ jr $ra
/* 3B24F8 E00AE1A8 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_E00AE1AC
/* 3B24FC E00AE1AC 03E00008 */ jr $ra
/* 3B2500 E00AE1B0 00000000 */ nop

View File

@ -0,0 +1,232 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AE1B4
/* 3B2504 E00AE1B4 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 3B2508 E00AE1B8 AFB3001C */ sw $s3, 0x1c($sp)
/* 3B250C E00AE1BC 0080982D */ daddu $s3, $a0, $zero
/* 3B2510 E00AE1C0 AFBF0020 */ sw $ra, 0x20($sp)
/* 3B2514 E00AE1C4 AFB20018 */ sw $s2, 0x18($sp)
/* 3B2518 E00AE1C8 AFB10014 */ sw $s1, 0x14($sp)
/* 3B251C E00AE1CC AFB00010 */ sw $s0, 0x10($sp)
/* 3B2520 E00AE1D0 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 3B2524 E00AE1D4 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 3B2528 E00AE1D8 F7B80038 */ sdc1 $f24, 0x38($sp)
/* 3B252C E00AE1DC F7B60030 */ sdc1 $f22, 0x30($sp)
/* 3B2530 E00AE1E0 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 3B2534 E00AE1E4 8E630000 */ lw $v1, ($s3)
/* 3B2538 E00AE1E8 8E71000C */ lw $s1, 0xc($s3)
/* 3B253C E00AE1EC 30620010 */ andi $v0, $v1, 0x10
/* 3B2540 E00AE1F0 10400005 */ beqz $v0, .LE00AE208
/* 3B2544 E00AE1F4 2402FFEF */ addiu $v0, $zero, -0x11
/* 3B2548 E00AE1F8 00621024 */ and $v0, $v1, $v0
/* 3B254C E00AE1FC AE620000 */ sw $v0, ($s3)
/* 3B2550 E00AE200 24020010 */ addiu $v0, $zero, 0x10
/* 3B2554 E00AE204 AE220010 */ sw $v0, 0x10($s1)
.LE00AE208:
/* 3B2558 E00AE208 8E230010 */ lw $v1, 0x10($s1)
/* 3B255C E00AE20C 286203E8 */ slti $v0, $v1, 0x3e8
/* 3B2560 E00AE210 10400002 */ beqz $v0, .LE00AE21C
/* 3B2564 E00AE214 2462FFFF */ addiu $v0, $v1, -1
/* 3B2568 E00AE218 AE220010 */ sw $v0, 0x10($s1)
.LE00AE21C:
/* 3B256C E00AE21C 8E220014 */ lw $v0, 0x14($s1)
/* 3B2570 E00AE220 8E230010 */ lw $v1, 0x10($s1)
/* 3B2574 E00AE224 24440001 */ addiu $a0, $v0, 1
/* 3B2578 E00AE228 04610005 */ bgez $v1, .LE00AE240
/* 3B257C E00AE22C AE240014 */ sw $a0, 0x14($s1)
/* 3B2580 E00AE230 0C080128 */ jal func_E02004A0
/* 3B2584 E00AE234 0260202D */ daddu $a0, $s3, $zero
/* 3B2588 E00AE238 0802B933 */ j .LE00AE4CC
/* 3B258C E00AE23C 00000000 */ nop
.LE00AE240:
/* 3B2590 E00AE240 28620010 */ slti $v0, $v1, 0x10
/* 3B2594 E00AE244 10400002 */ beqz $v0, .LE00AE250
/* 3B2598 E00AE248 00031100 */ sll $v0, $v1, 4
/* 3B259C E00AE24C AE220024 */ sw $v0, 0x24($s1)
.LE00AE250:
/* 3B25A0 E00AE250 28820010 */ slti $v0, $a0, 0x10
/* 3B25A4 E00AE254 10400003 */ beqz $v0, .LE00AE264
/* 3B25A8 E00AE258 00041100 */ sll $v0, $a0, 4
/* 3B25AC E00AE25C 2442000F */ addiu $v0, $v0, 0xf
/* 3B25B0 E00AE260 AE220024 */ sw $v0, 0x24($s1)
.LE00AE264:
/* 3B25B4 E00AE264 8E620008 */ lw $v0, 8($s3)
/* 3B25B8 E00AE268 24120001 */ addiu $s2, $zero, 1
/* 3B25BC E00AE26C 0242102A */ slt $v0, $s2, $v0
/* 3B25C0 E00AE270 1040008B */ beqz $v0, .LE00AE4A0
/* 3B25C4 E00AE274 26310044 */ addiu $s1, $s1, 0x44
/* 3B25C8 E00AE278 4480E000 */ mtc1 $zero, $f28
/* 3B25CC E00AE27C 26300014 */ addiu $s0, $s1, 0x14
.LE00AE280:
/* 3B25D0 E00AE280 8E020000 */ lw $v0, ($s0)
/* 3B25D4 E00AE284 8E03FFFC */ lw $v1, -4($s0)
/* 3B25D8 E00AE288 0043102A */ slt $v0, $v0, $v1
/* 3B25DC E00AE28C 1440000E */ bnez $v0, .LE00AE2C8
/* 3B25E0 E00AE290 00000000 */ nop
/* 3B25E4 E00AE294 0C080138 */ jal func_E02004E0
/* 3B25E8 E00AE298 24040032 */ addiu $a0, $zero, 0x32
/* 3B25EC E00AE29C 24040168 */ addiu $a0, $zero, 0x168
/* 3B25F0 E00AE2A0 24420014 */ addiu $v0, $v0, 0x14
/* 3B25F4 E00AE2A4 AE02FFFC */ sw $v0, -4($s0)
/* 3B25F8 E00AE2A8 0C080138 */ jal func_E02004E0
/* 3B25FC E00AE2AC AE000000 */ sw $zero, ($s0)
/* 3B2600 E00AE2B0 44820000 */ mtc1 $v0, $f0
/* 3B2604 E00AE2B4 00000000 */ nop
/* 3B2608 E00AE2B8 46800020 */ cvt.s.w $f0, $f0
/* 3B260C E00AE2BC E6000028 */ swc1 $f0, 0x28($s0)
/* 3B2610 E00AE2C0 AE00FFF0 */ sw $zero, -0x10($s0)
/* 3B2614 E00AE2C4 AE00FFF4 */ sw $zero, -0xc($s0)
.LE00AE2C8:
/* 3B2618 E00AE2C8 0C080138 */ jal func_E02004E0
/* 3B261C E00AE2CC 24040064 */ addiu $a0, $zero, 0x64
/* 3B2620 E00AE2D0 28420033 */ slti $v0, $v0, 0x33
/* 3B2624 E00AE2D4 10400047 */ beqz $v0, .LE00AE3F4
/* 3B2628 E00AE2D8 00000000 */ nop
/* 3B262C E00AE2DC C618FFF0 */ lwc1 $f24, -0x10($s0)
/* 3B2630 E00AE2E0 C61AFFF4 */ lwc1 $f26, -0xc($s0)
/* 3B2634 E00AE2E4 0C080138 */ jal func_E02004E0
/* 3B2638 E00AE2E8 24040010 */ addiu $a0, $zero, 0x10
/* 3B263C E00AE2EC 2442FFF8 */ addiu $v0, $v0, -8
/* 3B2640 E00AE2F0 4482B000 */ mtc1 $v0, $f22
/* 3B2644 E00AE2F4 00000000 */ nop
/* 3B2648 E00AE2F8 4680B5A0 */ cvt.s.w $f22, $f22
/* 3B264C E00AE2FC 0C080138 */ jal func_E02004E0
/* 3B2650 E00AE300 24040010 */ addiu $a0, $zero, 0x10
/* 3B2654 E00AE304 2442FFF8 */ addiu $v0, $v0, -8
/* 3B2658 E00AE308 4482A000 */ mtc1 $v0, $f20
/* 3B265C E00AE30C 00000000 */ nop
/* 3B2660 E00AE310 4680A520 */ cvt.s.w $f20, $f20
/* 3B2664 E00AE314 26230088 */ addiu $v1, $s1, 0x88
/* 3B2668 E00AE318 26220044 */ addiu $v0, $s1, 0x44
/* 3B266C E00AE31C 26240084 */ addiu $a0, $s1, 0x84
.LE00AE320:
/* 3B2670 E00AE320 8C450000 */ lw $a1, ($v0)
/* 3B2674 E00AE324 8C480004 */ lw $t0, 4($v0)
/* 3B2678 E00AE328 8C490008 */ lw $t1, 8($v0)
/* 3B267C E00AE32C 8C4A000C */ lw $t2, 0xc($v0)
/* 3B2680 E00AE330 AC650000 */ sw $a1, ($v1)
/* 3B2684 E00AE334 AC680004 */ sw $t0, 4($v1)
/* 3B2688 E00AE338 AC690008 */ sw $t1, 8($v1)
/* 3B268C E00AE33C AC6A000C */ sw $t2, 0xc($v1)
/* 3B2690 E00AE340 24420010 */ addiu $v0, $v0, 0x10
/* 3B2694 E00AE344 1444FFF6 */ bne $v0, $a0, .LE00AE320
/* 3B2698 E00AE348 24630010 */ addiu $v1, $v1, 0x10
/* 3B269C E00AE34C 8C450000 */ lw $a1, ($v0)
/* 3B26A0 E00AE350 AC650000 */ sw $a1, ($v1)
/* 3B26A4 E00AE354 26230044 */ addiu $v1, $s1, 0x44
/* 3B26A8 E00AE358 0220102D */ daddu $v0, $s1, $zero
/* 3B26AC E00AE35C 26240040 */ addiu $a0, $s1, 0x40
.LE00AE360:
/* 3B26B0 E00AE360 8C450000 */ lw $a1, ($v0)
/* 3B26B4 E00AE364 8C480004 */ lw $t0, 4($v0)
/* 3B26B8 E00AE368 8C490008 */ lw $t1, 8($v0)
/* 3B26BC E00AE36C 8C4A000C */ lw $t2, 0xc($v0)
/* 3B26C0 E00AE370 AC650000 */ sw $a1, ($v1)
/* 3B26C4 E00AE374 AC680004 */ sw $t0, 4($v1)
/* 3B26C8 E00AE378 AC690008 */ sw $t1, 8($v1)
/* 3B26CC E00AE37C AC6A000C */ sw $t2, 0xc($v1)
/* 3B26D0 E00AE380 24420010 */ addiu $v0, $v0, 0x10
/* 3B26D4 E00AE384 1444FFF6 */ bne $v0, $a0, .LE00AE360
/* 3B26D8 E00AE388 24630010 */ addiu $v1, $v1, 0x10
/* 3B26DC E00AE38C 4600E306 */ mov.s $f12, $f28
/* 3B26E0 E00AE390 4600E386 */ mov.s $f14, $f28
/* 3B26E4 E00AE394 4616C080 */ add.s $f2, $f24, $f22
/* 3B26E8 E00AE398 4406B000 */ mfc1 $a2, $f22
/* 3B26EC E00AE39C 4407A000 */ mfc1 $a3, $f20
/* 3B26F0 E00AE3A0 4614D000 */ add.s $f0, $f26, $f20
/* 3B26F4 E00AE3A4 8C450000 */ lw $a1, ($v0)
/* 3B26F8 E00AE3A8 AC650000 */ sw $a1, ($v1)
/* 3B26FC E00AE3AC E602FFF0 */ swc1 $f2, -0x10($s0)
/* 3B2700 E00AE3B0 0C080148 */ jal func_E0200520
/* 3B2704 E00AE3B4 E600FFF4 */ swc1 $f0, -0xc($s0)
/* 3B2708 E00AE3B8 461CB032 */ c.eq.s $f22, $f28
/* 3B270C E00AE3BC 00000000 */ nop
/* 3B2710 E00AE3C0 45000005 */ bc1f .LE00AE3D8
/* 3B2714 E00AE3C4 E6000028 */ swc1 $f0, 0x28($s0)
/* 3B2718 E00AE3C8 461CA032 */ c.eq.s $f20, $f28
/* 3B271C E00AE3CC 00000000 */ nop
/* 3B2720 E00AE3D0 45030008 */ bc1tl .LE00AE3F4
/* 3B2724 E00AE3D4 E61C0020 */ swc1 $f28, 0x20($s0)
.LE00AE3D8:
/* 3B2728 E00AE3D8 4616B002 */ mul.s $f0, $f22, $f22
/* 3B272C E00AE3DC 00000000 */ nop
/* 3B2730 E00AE3E0 4614A302 */ mul.s $f12, $f20, $f20
/* 3B2734 E00AE3E4 00000000 */ nop
/* 3B2738 E00AE3E8 0C080154 */ jal func_E0200550
/* 3B273C E00AE3EC 460C0300 */ add.s $f12, $f0, $f12
/* 3B2740 E00AE3F0 E6000020 */ swc1 $f0, 0x20($s0)
.LE00AE3F4:
/* 3B2744 E00AE3F4 8E020000 */ lw $v0, ($s0)
/* 3B2748 E00AE3F8 00021840 */ sll $v1, $v0, 1
/* 3B274C E00AE3FC 00621821 */ addu $v1, $v1, $v0
/* 3B2750 E00AE400 00031100 */ sll $v0, $v1, 4
/* 3B2754 E00AE404 00431023 */ subu $v0, $v0, $v1
/* 3B2758 E00AE408 8E03FFFC */ lw $v1, -4($s0)
/* 3B275C E00AE40C 00021080 */ sll $v0, $v0, 2
/* 3B2760 E00AE410 14600002 */ bnez $v1, .LE00AE41C
/* 3B2764 E00AE414 0043001A */ div $zero, $v0, $v1
/* 3B2768 E00AE418 0007000D */ break 7
.LE00AE41C:
/* 3B276C E00AE41C 2401FFFF */ addiu $at, $zero, -1
/* 3B2770 E00AE420 14610004 */ bne $v1, $at, .LE00AE434
/* 3B2774 E00AE424 3C018000 */ lui $at, 0x8000
/* 3B2778 E00AE428 14410002 */ bne $v0, $at, .LE00AE434
/* 3B277C E00AE42C 00000000 */ nop
/* 3B2780 E00AE430 0006000D */ break 6
.LE00AE434:
/* 3B2784 E00AE434 00001012 */ mflo $v0
/* 3B2788 E00AE438 44826000 */ mtc1 $v0, $f12
/* 3B278C E00AE43C 00000000 */ nop
/* 3B2790 E00AE440 0C080140 */ jal func_E0200500
/* 3B2794 E00AE444 46806320 */ cvt.s.w $f12, $f12
/* 3B2798 E00AE448 3C014480 */ lui $at, 0x4480
/* 3B279C E00AE44C 44811000 */ mtc1 $at, $f2
/* 3B27A0 E00AE450 00000000 */ nop
/* 3B27A4 E00AE454 46020002 */ mul.s $f0, $f0, $f2
/* 3B27A8 E00AE458 00000000 */ nop
/* 3B27AC E00AE45C 4600010D */ trunc.w.s $f4, $f0
/* 3B27B0 E00AE460 44022000 */ mfc1 $v0, $f4
/* 3B27B4 E00AE464 00000000 */ nop
/* 3B27B8 E00AE468 AE020010 */ sw $v0, 0x10($s0)
/* 3B27BC E00AE46C 28420100 */ slti $v0, $v0, 0x100
/* 3B27C0 E00AE470 14400003 */ bnez $v0, .LE00AE480
/* 3B27C4 E00AE474 26520003 */ addiu $s2, $s2, 3
/* 3B27C8 E00AE478 240200FF */ addiu $v0, $zero, 0xff
/* 3B27CC E00AE47C AE020010 */ sw $v0, 0x10($s0)
.LE00AE480:
/* 3B27D0 E00AE480 8E020000 */ lw $v0, ($s0)
/* 3B27D4 E00AE484 263100CC */ addiu $s1, $s1, 0xcc
/* 3B27D8 E00AE488 24420001 */ addiu $v0, $v0, 1
/* 3B27DC E00AE48C AE020000 */ sw $v0, ($s0)
/* 3B27E0 E00AE490 8E620008 */ lw $v0, 8($s3)
/* 3B27E4 E00AE494 0242102A */ slt $v0, $s2, $v0
/* 3B27E8 E00AE498 1440FF79 */ bnez $v0, .LE00AE280
/* 3B27EC E00AE49C 261000CC */ addiu $s0, $s0, 0xcc
.LE00AE4A0:
/* 3B27F0 E00AE4A0 8E71000C */ lw $s1, 0xc($s3)
/* 3B27F4 E00AE4A4 0802B92F */ j .LE00AE4BC
/* 3B27F8 E00AE4A8 24120001 */ addiu $s2, $zero, 1
.LE00AE4AC:
/* 3B27FC E00AE4AC 0C080138 */ jal func_E02004E0
/* 3B2800 E00AE4B0 2404000F */ addiu $a0, $zero, 0xf
/* 3B2804 E00AE4B4 26520001 */ addiu $s2, $s2, 1
/* 3B2808 E00AE4B8 AE220040 */ sw $v0, 0x40($s1)
.LE00AE4BC:
/* 3B280C E00AE4BC 8E620008 */ lw $v0, 8($s3)
/* 3B2810 E00AE4C0 0242102A */ slt $v0, $s2, $v0
/* 3B2814 E00AE4C4 1440FFF9 */ bnez $v0, .LE00AE4AC
/* 3B2818 E00AE4C8 26310044 */ addiu $s1, $s1, 0x44
.LE00AE4CC:
/* 3B281C E00AE4CC 8FBF0020 */ lw $ra, 0x20($sp)
/* 3B2820 E00AE4D0 8FB3001C */ lw $s3, 0x1c($sp)
/* 3B2824 E00AE4D4 8FB20018 */ lw $s2, 0x18($sp)
/* 3B2828 E00AE4D8 8FB10014 */ lw $s1, 0x14($sp)
/* 3B282C E00AE4DC 8FB00010 */ lw $s0, 0x10($sp)
/* 3B2830 E00AE4E0 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 3B2834 E00AE4E4 D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 3B2838 E00AE4E8 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 3B283C E00AE4EC D7B60030 */ ldc1 $f22, 0x30($sp)
/* 3B2840 E00AE4F0 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 3B2844 E00AE4F4 03E00008 */ jr $ra
/* 3B2848 E00AE4F8 27BD0050 */ addiu $sp, $sp, 0x50

View File

@ -0,0 +1,22 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AE4FC
/* 3B284C E00AE4FC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3B2850 E00AE500 3C02E00B */ lui $v0, 0xe00b
/* 3B2854 E00AE504 2442E54C */ addiu $v0, $v0, -0x1ab4
/* 3B2858 E00AE508 AFA2001C */ sw $v0, 0x1c($sp)
/* 3B285C E00AE50C 2402000A */ addiu $v0, $zero, 0xa
/* 3B2860 E00AE510 AFA20014 */ sw $v0, 0x14($sp)
/* 3B2864 E00AE514 2402002D */ addiu $v0, $zero, 0x2d
/* 3B2868 E00AE518 AFA40018 */ sw $a0, 0x18($sp)
/* 3B286C E00AE51C 27A40010 */ addiu $a0, $sp, 0x10
/* 3B2870 E00AE520 AFBF0020 */ sw $ra, 0x20($sp)
/* 3B2874 E00AE524 0C080120 */ jal func_E0200480
/* 3B2878 E00AE528 AFA20010 */ sw $v0, 0x10($sp)
/* 3B287C E00AE52C 8C430000 */ lw $v1, ($v0)
/* 3B2880 E00AE530 34630002 */ ori $v1, $v1, 2
/* 3B2884 E00AE534 AC430000 */ sw $v1, ($v0)
/* 3B2888 E00AE538 8FBF0020 */ lw $ra, 0x20($sp)
/* 3B288C E00AE53C 03E00008 */ jr $ra
/* 3B2890 E00AE540 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_E00AE544
/* 3B2894 E00AE544 03E00008 */ jr $ra
/* 3B2898 E00AE548 00000000 */ nop

View File

@ -0,0 +1,323 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00AE54C
/* 3B289C E00AE54C 27BDFF18 */ addiu $sp, $sp, -0xe8
/* 3B28A0 E00AE550 3C06DB06 */ lui $a2, 0xdb06
/* 3B28A4 E00AE554 34C60024 */ ori $a2, $a2, 0x24
/* 3B28A8 E00AE558 AFB300BC */ sw $s3, 0xbc($sp)
/* 3B28AC E00AE55C 3C13800A */ lui $s3, 0x800a
/* 3B28B0 E00AE560 2673A66C */ addiu $s3, $s3, -0x5994
/* 3B28B4 E00AE564 AFBF00D4 */ sw $ra, 0xd4($sp)
/* 3B28B8 E00AE568 AFBE00D0 */ sw $fp, 0xd0($sp)
/* 3B28BC E00AE56C AFB700CC */ sw $s7, 0xcc($sp)
/* 3B28C0 E00AE570 AFB600C8 */ sw $s6, 0xc8($sp)
/* 3B28C4 E00AE574 AFB500C4 */ sw $s5, 0xc4($sp)
/* 3B28C8 E00AE578 AFB400C0 */ sw $s4, 0xc0($sp)
/* 3B28CC E00AE57C AFB200B8 */ sw $s2, 0xb8($sp)
/* 3B28D0 E00AE580 AFB100B4 */ sw $s1, 0xb4($sp)
/* 3B28D4 E00AE584 AFB000B0 */ sw $s0, 0xb0($sp)
/* 3B28D8 E00AE588 F7B600E0 */ sdc1 $f22, 0xe0($sp)
/* 3B28DC E00AE58C F7B400D8 */ sdc1 $f20, 0xd8($sp)
/* 3B28E0 E00AE590 AFA400E8 */ sw $a0, 0xe8($sp)
/* 3B28E4 E00AE594 8E650000 */ lw $a1, ($s3)
/* 3B28E8 E00AE598 8FA900E8 */ lw $t1, 0xe8($sp)
/* 3B28EC E00AE59C 00A0182D */ daddu $v1, $a1, $zero
/* 3B28F0 E00AE5A0 8D32000C */ lw $s2, 0xc($t1)
/* 3B28F4 E00AE5A4 24A50008 */ addiu $a1, $a1, 8
/* 3B28F8 E00AE5A8 AE650000 */ sw $a1, ($s3)
/* 3B28FC E00AE5AC 8E490014 */ lw $t1, 0x14($s2)
/* 3B2900 E00AE5B0 27A40018 */ addiu $a0, $sp, 0x18
/* 3B2904 E00AE5B4 AFA90098 */ sw $t1, 0x98($sp)
/* 3B2908 E00AE5B8 8E490024 */ lw $t1, 0x24($s2)
/* 3B290C E00AE5BC 3C110001 */ lui $s1, 1
/* 3B2910 E00AE5C0 AFA9009C */ sw $t1, 0x9c($sp)
/* 3B2914 E00AE5C4 8E5E0018 */ lw $fp, 0x18($s2)
/* 3B2918 E00AE5C8 8E49001C */ lw $t1, 0x1c($s2)
/* 3B291C E00AE5CC 36311630 */ ori $s1, $s1, 0x1630
/* 3B2920 E00AE5D0 AFA900A0 */ sw $t1, 0xa0($sp)
/* 3B2924 E00AE5D4 8E490020 */ lw $t1, 0x20($s2)
/* 3B2928 E00AE5D8 3C02E700 */ lui $v0, 0xe700
/* 3B292C E00AE5DC AFA900A4 */ sw $t1, 0xa4($sp)
/* 3B2930 E00AE5E0 AC620000 */ sw $v0, ($v1)
/* 3B2934 E00AE5E4 AC600004 */ sw $zero, 4($v1)
/* 3B2938 E00AE5E8 ACA60000 */ sw $a2, ($a1)
/* 3B293C E00AE5EC 8FA900E8 */ lw $t1, 0xe8($sp)
/* 3B2940 E00AE5F0 24150001 */ addiu $s5, $zero, 1
/* 3B2944 E00AE5F4 8D230010 */ lw $v1, 0x10($t1)
/* 3B2948 E00AE5F8 24A20008 */ addiu $v0, $a1, 8
/* 3B294C E00AE5FC AE620000 */ sw $v0, ($s3)
/* 3B2950 E00AE600 8C62001C */ lw $v0, 0x1c($v1)
/* 3B2954 E00AE604 3C038000 */ lui $v1, 0x8000
/* 3B2958 E00AE608 00431021 */ addu $v0, $v0, $v1
/* 3B295C E00AE60C 3C03800B */ lui $v1, %hi(gCameras)
/* 3B2960 E00AE610 24631D80 */ addiu $v1, $v1, %lo(gCameras)
/* 3B2964 E00AE614 ACA20004 */ sw $v0, 4($a1)
/* 3B2968 E00AE618 8E450004 */ lw $a1, 4($s2)
/* 3B296C E00AE61C 8E460008 */ lw $a2, 8($s2)
/* 3B2970 E00AE620 3C028007 */ lui $v0, %hi(gCurrentCameraID)
/* 3B2974 E00AE624 8C427410 */ lw $v0, %lo(gCurrentCameraID)($v0)
/* 3B2978 E00AE628 8E47000C */ lw $a3, 0xc($s2)
/* 3B297C E00AE62C 00028080 */ sll $s0, $v0, 2
/* 3B2980 E00AE630 02028021 */ addu $s0, $s0, $v0
/* 3B2984 E00AE634 00108080 */ sll $s0, $s0, 2
/* 3B2988 E00AE638 02028023 */ subu $s0, $s0, $v0
/* 3B298C E00AE63C 001010C0 */ sll $v0, $s0, 3
/* 3B2990 E00AE640 02028021 */ addu $s0, $s0, $v0
/* 3B2994 E00AE644 001080C0 */ sll $s0, $s0, 3
/* 3B2998 E00AE648 0C080108 */ jal func_E0200420
/* 3B299C E00AE64C 02038021 */ addu $s0, $s0, $v1
/* 3B29A0 E00AE650 27B40058 */ addiu $s4, $sp, 0x58
/* 3B29A4 E00AE654 8E450038 */ lw $a1, 0x38($s2)
/* 3B29A8 E00AE658 0280202D */ daddu $a0, $s4, $zero
/* 3B29AC E00AE65C 00A0302D */ daddu $a2, $a1, $zero
/* 3B29B0 E00AE660 0C080110 */ jal func_E0200440
/* 3B29B4 E00AE664 00A0382D */ daddu $a3, $a1, $zero
/* 3B29B8 E00AE668 0280202D */ daddu $a0, $s4, $zero
/* 3B29BC E00AE66C 27A50018 */ addiu $a1, $sp, 0x18
/* 3B29C0 E00AE670 0C080114 */ jal func_E0200450
/* 3B29C4 E00AE674 00A0302D */ daddu $a2, $a1, $zero
/* 3B29C8 E00AE678 27A40018 */ addiu $a0, $sp, 0x18
/* 3B29CC E00AE67C 3C168007 */ lui $s6, 0x8007
/* 3B29D0 E00AE680 26D641F0 */ addiu $s6, $s6, 0x41f0
/* 3B29D4 E00AE684 3C17800A */ lui $s7, 0x800a
/* 3B29D8 E00AE688 26F7A674 */ addiu $s7, $s7, -0x598c
/* 3B29DC E00AE68C 96C50000 */ lhu $a1, ($s6)
/* 3B29E0 E00AE690 8EE20000 */ lw $v0, ($s7)
/* 3B29E4 E00AE694 00052980 */ sll $a1, $a1, 6
/* 3B29E8 E00AE698 00B12821 */ addu $a1, $a1, $s1
/* 3B29EC E00AE69C 0C080118 */ jal func_E0200460
/* 3B29F0 E00AE6A0 00452821 */ addu $a1, $v0, $a1
/* 3B29F4 E00AE6A4 3C03DA38 */ lui $v1, 0xda38
/* 3B29F8 E00AE6A8 34630002 */ ori $v1, $v1, 2
/* 3B29FC E00AE6AC 3C06DA38 */ lui $a2, 0xda38
/* 3B2A00 E00AE6B0 00D53025 */ or $a2, $a2, $s5
/* 3B2A04 E00AE6B4 8E640000 */ lw $a0, ($s3)
/* 3B2A08 E00AE6B8 96C20000 */ lhu $v0, ($s6)
/* 3B2A0C E00AE6BC 0080282D */ daddu $a1, $a0, $zero
/* 3B2A10 E00AE6C0 24840008 */ addiu $a0, $a0, 8
/* 3B2A14 E00AE6C4 AE640000 */ sw $a0, ($s3)
/* 3B2A18 E00AE6C8 ACA30000 */ sw $v1, ($a1)
/* 3B2A1C E00AE6CC 00551821 */ addu $v1, $v0, $s5
/* 3B2A20 E00AE6D0 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B2A24 E00AE6D4 00021180 */ sll $v0, $v0, 6
/* 3B2A28 E00AE6D8 A6C30000 */ sh $v1, ($s6)
/* 3B2A2C E00AE6DC 8EE30000 */ lw $v1, ($s7)
/* 3B2A30 E00AE6E0 00511021 */ addu $v0, $v0, $s1
/* 3B2A34 E00AE6E4 00621821 */ addu $v1, $v1, $v0
/* 3B2A38 E00AE6E8 24820008 */ addiu $v0, $a0, 8
/* 3B2A3C E00AE6EC ACA30004 */ sw $v1, 4($a1)
/* 3B2A40 E00AE6F0 AE620000 */ sw $v0, ($s3)
/* 3B2A44 E00AE6F4 24820010 */ addiu $v0, $a0, 0x10
/* 3B2A48 E00AE6F8 AC860000 */ sw $a2, ($a0)
/* 3B2A4C E00AE6FC AE620000 */ sw $v0, ($s3)
/* 3B2A50 E00AE700 8E030204 */ lw $v1, 0x204($s0)
/* 3B2A54 E00AE704 3C02FB00 */ lui $v0, 0xfb00
/* 3B2A58 E00AE708 AC820008 */ sw $v0, 8($a0)
/* 3B2A5C E00AE70C AC830004 */ sw $v1, 4($a0)
/* 3B2A60 E00AE710 9243002B */ lbu $v1, 0x2b($s2)
/* 3B2A64 E00AE714 9245002F */ lbu $a1, 0x2f($s2)
/* 3B2A68 E00AE718 92460033 */ lbu $a2, 0x33($s2)
/* 3B2A6C E00AE71C 3C02DE00 */ lui $v0, 0xde00
/* 3B2A70 E00AE720 AC820010 */ sw $v0, 0x10($a0)
/* 3B2A74 E00AE724 3C020900 */ lui $v0, 0x900
/* 3B2A78 E00AE728 24421000 */ addiu $v0, $v0, 0x1000
/* 3B2A7C E00AE72C AC820014 */ sw $v0, 0x14($a0)
/* 3B2A80 E00AE730 00031E00 */ sll $v1, $v1, 0x18
/* 3B2A84 E00AE734 00052C00 */ sll $a1, $a1, 0x10
/* 3B2A88 E00AE738 00651825 */ or $v1, $v1, $a1
/* 3B2A8C E00AE73C 00063200 */ sll $a2, $a2, 8
/* 3B2A90 E00AE740 00661825 */ or $v1, $v1, $a2
/* 3B2A94 E00AE744 AC83000C */ sw $v1, 0xc($a0)
/* 3B2A98 E00AE748 8FA900E8 */ lw $t1, 0xe8($sp)
/* 3B2A9C E00AE74C 26520044 */ addiu $s2, $s2, 0x44
/* 3B2AA0 E00AE750 8D220008 */ lw $v0, 8($t1)
/* 3B2AA4 E00AE754 24840018 */ addiu $a0, $a0, 0x18
/* 3B2AA8 E00AE758 02A2102A */ slt $v0, $s5, $v0
/* 3B2AAC E00AE75C 10400098 */ beqz $v0, .LE00AE9C0
/* 3B2AB0 E00AE760 AE640000 */ sw $a0, ($s3)
/* 3B2AB4 E00AE764 0260882D */ daddu $s1, $s3, $zero
/* 3B2AB8 E00AE768 001E1E00 */ sll $v1, $fp, 0x18
/* 3B2ABC E00AE76C 0280982D */ daddu $s3, $s4, $zero
/* 3B2AC0 E00AE770 02C0B82D */ daddu $s7, $s6, $zero
/* 3B2AC4 E00AE774 3C140001 */ lui $s4, 1
/* 3B2AC8 E00AE778 36941630 */ ori $s4, $s4, 0x1630
/* 3B2ACC E00AE77C 3C1EF200 */ lui $fp, 0xf200
/* 3B2AD0 E00AE780 26500040 */ addiu $s0, $s2, 0x40
/* 3B2AD4 E00AE784 8FA900A0 */ lw $t1, 0xa0($sp)
/* 3B2AD8 E00AE788 4480A000 */ mtc1 $zero, $f20
/* 3B2ADC E00AE78C 3C013F80 */ lui $at, 0x3f80
/* 3B2AE0 E00AE790 4481B000 */ mtc1 $at, $f22
/* 3B2AE4 E00AE794 312200FF */ andi $v0, $t1, 0xff
/* 3B2AE8 E00AE798 00021400 */ sll $v0, $v0, 0x10
/* 3B2AEC E00AE79C 8FA900A4 */ lw $t1, 0xa4($sp)
/* 3B2AF0 E00AE7A0 00621825 */ or $v1, $v1, $v0
/* 3B2AF4 E00AE7A4 312200FF */ andi $v0, $t1, 0xff
/* 3B2AF8 E00AE7A8 00021200 */ sll $v0, $v0, 8
/* 3B2AFC E00AE7AC 8FA90098 */ lw $t1, 0x98($sp)
/* 3B2B00 E00AE7B0 00621825 */ or $v1, $v1, $v0
/* 3B2B04 E00AE7B4 AFA300A8 */ sw $v1, 0xa8($sp)
/* 3B2B08 E00AE7B8 02A91004 */ sllv $v0, $t1, $s5
/* 3B2B0C E00AE7BC 0049B021 */ addu $s6, $v0, $t1
/* 3B2B10 E00AE7C0 26C2001F */ addiu $v0, $s6, 0x1f
/* 3B2B14 E00AE7C4 00021080 */ sll $v0, $v0, 2
/* 3B2B18 E00AE7C8 30420FFF */ andi $v0, $v0, 0xfff
/* 3B2B1C E00AE7CC 00021300 */ sll $v0, $v0, 0xc
/* 3B2B20 E00AE7D0 AFA200AC */ sw $v0, 0xac($sp)
.LE00AE7D4:
/* 3B2B24 E00AE7D4 8E280000 */ lw $t0, ($s1)
/* 3B2B28 E00AE7D8 3C02FA00 */ lui $v0, 0xfa00
/* 3B2B2C E00AE7DC 0100282D */ daddu $a1, $t0, $zero
/* 3B2B30 E00AE7E0 ACA20000 */ sw $v0, ($a1)
/* 3B2B34 E00AE7E4 8E03FFE4 */ lw $v1, -0x1c($s0)
/* 3B2B38 E00AE7E8 8FA9009C */ lw $t1, 0x9c($sp)
/* 3B2B3C E00AE7EC 00690018 */ mult $v1, $t1
/* 3B2B40 E00AE7F0 00001812 */ mflo $v1
/* 3B2B44 E00AE7F4 3C028080 */ lui $v0, 0x8080
/* 3B2B48 E00AE7F8 34428081 */ ori $v0, $v0, 0x8081
/* 3B2B4C E00AE7FC 00620018 */ mult $v1, $v0
/* 3B2B50 E00AE800 27A40018 */ addiu $a0, $sp, 0x18
/* 3B2B54 E00AE804 4407A000 */ mfc1 $a3, $f20
/* 3B2B58 E00AE808 8FA900A8 */ lw $t1, 0xa8($sp)
/* 3B2B5C E00AE80C 00001010 */ mfhi $v0
/* 3B2B60 E00AE810 00431021 */ addu $v0, $v0, $v1
/* 3B2B64 E00AE814 000211C3 */ sra $v0, $v0, 7
/* 3B2B68 E00AE818 00031FC3 */ sra $v1, $v1, 0x1f
/* 3B2B6C E00AE81C 00431023 */ subu $v0, $v0, $v1
/* 3B2B70 E00AE820 304200FF */ andi $v0, $v0, 0xff
/* 3B2B74 E00AE824 01221025 */ or $v0, $t1, $v0
/* 3B2B78 E00AE828 ACA20004 */ sw $v0, 4($a1)
/* 3B2B7C E00AE82C 8E05FFC4 */ lw $a1, -0x3c($s0)
/* 3B2B80 E00AE830 8E06FFC8 */ lw $a2, -0x38($s0)
/* 3B2B84 E00AE834 25080008 */ addiu $t0, $t0, 8
/* 3B2B88 E00AE838 0C080108 */ jal func_E0200420
/* 3B2B8C E00AE83C AE280000 */ sw $t0, ($s1)
/* 3B2B90 E00AE840 E7B60010 */ swc1 $f22, 0x10($sp)
/* 3B2B94 E00AE844 8E05FFFC */ lw $a1, -4($s0)
/* 3B2B98 E00AE848 4406A000 */ mfc1 $a2, $f20
/* 3B2B9C E00AE84C 4407A000 */ mfc1 $a3, $f20
/* 3B2BA0 E00AE850 0C080104 */ jal func_E0200410
/* 3B2BA4 E00AE854 0260202D */ daddu $a0, $s3, $zero
/* 3B2BA8 E00AE858 0260202D */ daddu $a0, $s3, $zero
/* 3B2BAC E00AE85C 27A50018 */ addiu $a1, $sp, 0x18
/* 3B2BB0 E00AE860 0C080114 */ jal func_E0200450
/* 3B2BB4 E00AE864 00A0302D */ daddu $a2, $a1, $zero
/* 3B2BB8 E00AE868 C602FFF4 */ lwc1 $f2, -0xc($s0)
/* 3B2BBC E00AE86C 3C013D80 */ lui $at, 0x3d80
/* 3B2BC0 E00AE870 44810000 */ mtc1 $at, $f0
/* 3B2BC4 E00AE874 00000000 */ nop
/* 3B2BC8 E00AE878 46001082 */ mul.s $f2, $f2, $f0
/* 3B2BCC E00AE87C 00000000 */ nop
/* 3B2BD0 E00AE880 0260202D */ daddu $a0, $s3, $zero
/* 3B2BD4 E00AE884 44051000 */ mfc1 $a1, $f2
/* 3B2BD8 E00AE888 4407B000 */ mfc1 $a3, $f22
/* 3B2BDC E00AE88C 0C080110 */ jal func_E0200440
/* 3B2BE0 E00AE890 00A0302D */ daddu $a2, $a1, $zero
/* 3B2BE4 E00AE894 0260202D */ daddu $a0, $s3, $zero
/* 3B2BE8 E00AE898 27A50018 */ addiu $a1, $sp, 0x18
/* 3B2BEC E00AE89C 0C080114 */ jal func_E0200450
/* 3B2BF0 E00AE8A0 00A0302D */ daddu $a2, $a1, $zero
/* 3B2BF4 E00AE8A4 27A40018 */ addiu $a0, $sp, 0x18
/* 3B2BF8 E00AE8A8 96E50000 */ lhu $a1, ($s7)
/* 3B2BFC E00AE8AC 3C02800A */ lui $v0, 0x800a
/* 3B2C00 E00AE8B0 8C42A674 */ lw $v0, -0x598c($v0)
/* 3B2C04 E00AE8B4 00052980 */ sll $a1, $a1, 6
/* 3B2C08 E00AE8B8 00B42821 */ addu $a1, $a1, $s4
/* 3B2C0C E00AE8BC 0C080118 */ jal func_E0200460
/* 3B2C10 E00AE8C0 00452821 */ addu $a1, $v0, $a1
/* 3B2C14 E00AE8C4 3C060100 */ lui $a2, 0x100
/* 3B2C18 E00AE8C8 34C6007C */ ori $a2, $a2, 0x7c
/* 3B2C1C E00AE8CC 3C07D838 */ lui $a3, 0xd838
/* 3B2C20 E00AE8D0 8E240000 */ lw $a0, ($s1)
/* 3B2C24 E00AE8D4 34E70002 */ ori $a3, $a3, 2
/* 3B2C28 E00AE8D8 0080282D */ daddu $a1, $a0, $zero
/* 3B2C2C E00AE8DC 24840008 */ addiu $a0, $a0, 8
/* 3B2C30 E00AE8E0 AE240000 */ sw $a0, ($s1)
/* 3B2C34 E00AE8E4 96E20000 */ lhu $v0, ($s7)
/* 3B2C38 E00AE8E8 3C03DA38 */ lui $v1, 0xda38
/* 3B2C3C E00AE8EC ACA30000 */ sw $v1, ($a1)
/* 3B2C40 E00AE8F0 24430001 */ addiu $v1, $v0, 1
/* 3B2C44 E00AE8F4 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B2C48 E00AE8F8 00021180 */ sll $v0, $v0, 6
/* 3B2C4C E00AE8FC A6E30000 */ sh $v1, ($s7)
/* 3B2C50 E00AE900 3C03800A */ lui $v1, 0x800a
/* 3B2C54 E00AE904 8C63A674 */ lw $v1, -0x598c($v1)
/* 3B2C58 E00AE908 00541021 */ addu $v0, $v0, $s4
/* 3B2C5C E00AE90C 00621821 */ addu $v1, $v1, $v0
/* 3B2C60 E00AE910 24820008 */ addiu $v0, $a0, 8
/* 3B2C64 E00AE914 ACA30004 */ sw $v1, 4($a1)
/* 3B2C68 E00AE918 AE220000 */ sw $v0, ($s1)
/* 3B2C6C E00AE91C 24820010 */ addiu $v0, $a0, 0x10
/* 3B2C70 E00AE920 AE220000 */ sw $v0, ($s1)
/* 3B2C74 E00AE924 24820018 */ addiu $v0, $a0, 0x18
/* 3B2C78 E00AE928 AE220000 */ sw $v0, ($s1)
/* 3B2C7C E00AE92C 8E020000 */ lw $v0, ($s0)
/* 3B2C80 E00AE930 24830020 */ addiu $v1, $a0, 0x20
/* 3B2C84 E00AE934 AE230000 */ sw $v1, ($s1)
/* 3B2C88 E00AE938 00021180 */ sll $v0, $v0, 6
/* 3B2C8C E00AE93C 30420FFF */ andi $v0, $v0, 0xfff
/* 3B2C90 E00AE940 00021300 */ sll $v0, $v0, 0xc
/* 3B2C94 E00AE944 005E1025 */ or $v0, $v0, $fp
/* 3B2C98 E00AE948 AC820000 */ sw $v0, ($a0)
/* 3B2C9C E00AE94C 00161080 */ sll $v0, $s6, 2
/* 3B2CA0 E00AE950 30420FFF */ andi $v0, $v0, 0xfff
/* 3B2CA4 E00AE954 00021300 */ sll $v0, $v0, 0xc
/* 3B2CA8 E00AE958 8E030000 */ lw $v1, ($s0)
/* 3B2CAC E00AE95C 005E1025 */ or $v0, $v0, $fp
/* 3B2CB0 E00AE960 AC820008 */ sw $v0, 8($a0)
/* 3B2CB4 E00AE964 8FA900AC */ lw $t1, 0xac($sp)
/* 3B2CB8 E00AE968 3C02DE00 */ lui $v0, 0xde00
/* 3B2CBC E00AE96C AC820010 */ sw $v0, 0x10($a0)
/* 3B2CC0 E00AE970 3C020900 */ lui $v0, 0x900
/* 3B2CC4 E00AE974 244210F8 */ addiu $v0, $v0, 0x10f8
/* 3B2CC8 E00AE978 AC820014 */ sw $v0, 0x14($a0)
/* 3B2CCC E00AE97C 24020040 */ addiu $v0, $zero, 0x40
/* 3B2CD0 E00AE980 AC870018 */ sw $a3, 0x18($a0)
/* 3B2CD4 E00AE984 AC82001C */ sw $v0, 0x1c($a0)
/* 3B2CD8 E00AE988 01263025 */ or $a2, $t1, $a2
/* 3B2CDC E00AE98C 00031980 */ sll $v1, $v1, 6
/* 3B2CE0 E00AE990 3463003C */ ori $v1, $v1, 0x3c
/* 3B2CE4 E00AE994 30630FFF */ andi $v1, $v1, 0xfff
/* 3B2CE8 E00AE998 00031B00 */ sll $v1, $v1, 0xc
/* 3B2CEC E00AE99C 3463007C */ ori $v1, $v1, 0x7c
/* 3B2CF0 E00AE9A0 AC86000C */ sw $a2, 0xc($a0)
/* 3B2CF4 E00AE9A4 AC830004 */ sw $v1, 4($a0)
/* 3B2CF8 E00AE9A8 8FA900E8 */ lw $t1, 0xe8($sp)
/* 3B2CFC E00AE9AC 26B50001 */ addiu $s5, $s5, 1
/* 3B2D00 E00AE9B0 8D220008 */ lw $v0, 8($t1)
/* 3B2D04 E00AE9B4 02A2102A */ slt $v0, $s5, $v0
/* 3B2D08 E00AE9B8 1440FF86 */ bnez $v0, .LE00AE7D4
/* 3B2D0C E00AE9BC 26100044 */ addiu $s0, $s0, 0x44
.LE00AE9C0:
/* 3B2D10 E00AE9C0 3C05E200 */ lui $a1, 0xe200
/* 3B2D14 E00AE9C4 34A51E01 */ ori $a1, $a1, 0x1e01
/* 3B2D18 E00AE9C8 3C06D838 */ lui $a2, 0xd838
/* 3B2D1C E00AE9CC 3C04800A */ lui $a0, 0x800a
/* 3B2D20 E00AE9D0 2484A66C */ addiu $a0, $a0, -0x5994
/* 3B2D24 E00AE9D4 8C820000 */ lw $v0, ($a0)
/* 3B2D28 E00AE9D8 34C60002 */ ori $a2, $a2, 2
/* 3B2D2C E00AE9DC 0040182D */ daddu $v1, $v0, $zero
/* 3B2D30 E00AE9E0 24420008 */ addiu $v0, $v0, 8
/* 3B2D34 E00AE9E4 AC820000 */ sw $v0, ($a0)
/* 3B2D38 E00AE9E8 AC650000 */ sw $a1, ($v1)
/* 3B2D3C E00AE9EC AC600004 */ sw $zero, 4($v1)
/* 3B2D40 E00AE9F0 24430008 */ addiu $v1, $v0, 8
/* 3B2D44 E00AE9F4 AC830000 */ sw $v1, ($a0)
/* 3B2D48 E00AE9F8 24030040 */ addiu $v1, $zero, 0x40
/* 3B2D4C E00AE9FC AC460000 */ sw $a2, ($v0)
/* 3B2D50 E00AEA00 AC430004 */ sw $v1, 4($v0)
/* 3B2D54 E00AEA04 8FBF00D4 */ lw $ra, 0xd4($sp)
/* 3B2D58 E00AEA08 8FBE00D0 */ lw $fp, 0xd0($sp)
/* 3B2D5C E00AEA0C 8FB700CC */ lw $s7, 0xcc($sp)
/* 3B2D60 E00AEA10 8FB600C8 */ lw $s6, 0xc8($sp)
/* 3B2D64 E00AEA14 8FB500C4 */ lw $s5, 0xc4($sp)
/* 3B2D68 E00AEA18 8FB400C0 */ lw $s4, 0xc0($sp)
/* 3B2D6C E00AEA1C 8FB300BC */ lw $s3, 0xbc($sp)
/* 3B2D70 E00AEA20 8FB200B8 */ lw $s2, 0xb8($sp)
/* 3B2D74 E00AEA24 8FB100B4 */ lw $s1, 0xb4($sp)
/* 3B2D78 E00AEA28 8FB000B0 */ lw $s0, 0xb0($sp)
/* 3B2D7C E00AEA2C D7B600E0 */ ldc1 $f22, 0xe0($sp)
/* 3B2D80 E00AEA30 D7B400D8 */ ldc1 $f20, 0xd8($sp)
/* 3B2D84 E00AEA34 03E00008 */ jr $ra
/* 3B2D88 E00AEA38 27BD00E8 */ addiu $sp, $sp, 0xe8
/* 3B2D8C E00AEA3C 00000000 */ nop

View File

@ -0,0 +1,79 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B0000
/* 3B3EB0 E00B0000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 3B3EB4 E00B0004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 3B3EB8 E00B0008 4485A000 */ mtc1 $a1, $f20
/* 3B3EBC E00B000C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 3B3EC0 E00B0010 4486B000 */ mtc1 $a2, $f22
/* 3B3EC4 E00B0014 AFB20030 */ sw $s2, 0x30($sp)
/* 3B3EC8 E00B0018 0080902D */ daddu $s2, $a0, $zero
/* 3B3ECC E00B001C F7B80048 */ sdc1 $f24, 0x48($sp)
/* 3B3ED0 E00B0020 4487C000 */ mtc1 $a3, $f24
/* 3B3ED4 E00B0024 27A40010 */ addiu $a0, $sp, 0x10
/* 3B3ED8 E00B0028 AFB1002C */ sw $s1, 0x2c($sp)
/* 3B3EDC E00B002C 8FB10064 */ lw $s1, 0x64($sp)
/* 3B3EE0 E00B0030 3C02E00B */ lui $v0, 0xe00b
/* 3B3EE4 E00B0034 2442011C */ addiu $v0, $v0, 0x11c
/* 3B3EE8 E00B0038 AFA20018 */ sw $v0, 0x18($sp)
/* 3B3EEC E00B003C 3C02E00B */ lui $v0, 0xe00b
/* 3B3EF0 E00B0040 24420124 */ addiu $v0, $v0, 0x124
/* 3B3EF4 E00B0044 AFA2001C */ sw $v0, 0x1c($sp)
/* 3B3EF8 E00B0048 3C02E00B */ lui $v0, 0xe00b
/* 3B3EFC E00B004C 244201F8 */ addiu $v0, $v0, 0x1f8
/* 3B3F00 E00B0050 AFA20020 */ sw $v0, 0x20($sp)
/* 3B3F04 E00B0054 24020058 */ addiu $v0, $zero, 0x58
/* 3B3F08 E00B0058 AFBF0034 */ sw $ra, 0x34($sp)
/* 3B3F0C E00B005C AFB00028 */ sw $s0, 0x28($sp)
/* 3B3F10 E00B0060 AFA00010 */ sw $zero, 0x10($sp)
/* 3B3F14 E00B0064 AFA00024 */ sw $zero, 0x24($sp)
/* 3B3F18 E00B0068 0C080124 */ jal func_E0200490
/* 3B3F1C E00B006C AFA20014 */ sw $v0, 0x14($sp)
/* 3B3F20 E00B0070 24040034 */ addiu $a0, $zero, 0x34
/* 3B3F24 E00B0074 24030001 */ addiu $v1, $zero, 1
/* 3B3F28 E00B0078 0040802D */ daddu $s0, $v0, $zero
/* 3B3F2C E00B007C 0C08012C */ jal func_E02004B0
/* 3B3F30 E00B0080 AE030008 */ sw $v1, 8($s0)
/* 3B3F34 E00B0084 0040202D */ daddu $a0, $v0, $zero
/* 3B3F38 E00B0088 14800003 */ bnez $a0, .LE00B0098
/* 3B3F3C E00B008C AE02000C */ sw $v0, 0xc($s0)
.LE00B0090:
/* 3B3F40 E00B0090 0802C024 */ j .LE00B0090
/* 3B3F44 E00B0094 00000000 */ nop
.LE00B0098:
/* 3B3F48 E00B0098 AC920000 */ sw $s2, ($a0)
/* 3B3F4C E00B009C 1E200004 */ bgtz $s1, .LE00B00B0
/* 3B3F50 E00B00A0 AC800014 */ sw $zero, 0x14($a0)
/* 3B3F54 E00B00A4 240203E8 */ addiu $v0, $zero, 0x3e8
/* 3B3F58 E00B00A8 0802C02D */ j .LE00B00B4
/* 3B3F5C E00B00AC AC820010 */ sw $v0, 0x10($a0)
.LE00B00B0:
/* 3B3F60 E00B00B0 AC910010 */ sw $s1, 0x10($a0)
.LE00B00B4:
/* 3B3F64 E00B00B4 240300FF */ addiu $v1, $zero, 0xff
/* 3B3F68 E00B00B8 AC830024 */ sw $v1, 0x24($a0)
/* 3B3F6C E00B00BC E4940004 */ swc1 $f20, 4($a0)
/* 3B3F70 E00B00C0 E4960008 */ swc1 $f22, 8($a0)
/* 3B3F74 E00B00C4 E498000C */ swc1 $f24, 0xc($a0)
/* 3B3F78 E00B00C8 C7A00060 */ lwc1 $f0, 0x60($sp)
/* 3B3F7C E00B00CC 0200102D */ daddu $v0, $s0, $zero
/* 3B3F80 E00B00D0 AC830018 */ sw $v1, 0x18($a0)
/* 3B3F84 E00B00D4 240300E6 */ addiu $v1, $zero, 0xe6
/* 3B3F88 E00B00D8 AC83001C */ sw $v1, 0x1c($a0)
/* 3B3F8C E00B00DC E4800028 */ swc1 $f0, 0x28($a0)
/* 3B3F90 E00B00E0 3C013F80 */ lui $at, 0x3f80
/* 3B3F94 E00B00E4 44810000 */ mtc1 $at, $f0
/* 3B3F98 E00B00E8 24030032 */ addiu $v1, $zero, 0x32
/* 3B3F9C E00B00EC AC830020 */ sw $v1, 0x20($a0)
/* 3B3FA0 E00B00F0 AC800030 */ sw $zero, 0x30($a0)
/* 3B3FA4 E00B00F4 E480002C */ swc1 $f0, 0x2c($a0)
/* 3B3FA8 E00B00F8 8FBF0034 */ lw $ra, 0x34($sp)
/* 3B3FAC E00B00FC 8FB20030 */ lw $s2, 0x30($sp)
/* 3B3FB0 E00B0100 8FB1002C */ lw $s1, 0x2c($sp)
/* 3B3FB4 E00B0104 8FB00028 */ lw $s0, 0x28($sp)
/* 3B3FB8 E00B0108 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 3B3FBC E00B010C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 3B3FC0 E00B0110 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 3B3FC4 E00B0114 03E00008 */ jr $ra
/* 3B3FC8 E00B0118 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_E00B011C
/* 3B3FCC E00B011C 03E00008 */ jr $ra
/* 3B3FD0 E00B0120 00000000 */ nop

View File

@ -0,0 +1,63 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B0124
/* 3B3FD4 E00B0124 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3B3FD8 E00B0128 AFBF0010 */ sw $ra, 0x10($sp)
/* 3B3FDC E00B012C 8C850000 */ lw $a1, ($a0)
/* 3B3FE0 E00B0130 8C83000C */ lw $v1, 0xc($a0)
/* 3B3FE4 E00B0134 30A20010 */ andi $v0, $a1, 0x10
/* 3B3FE8 E00B0138 10400005 */ beqz $v0, .LE00B0150
/* 3B3FEC E00B013C 2402FFEF */ addiu $v0, $zero, -0x11
/* 3B3FF0 E00B0140 00A21024 */ and $v0, $a1, $v0
/* 3B3FF4 E00B0144 AC820000 */ sw $v0, ($a0)
/* 3B3FF8 E00B0148 24020010 */ addiu $v0, $zero, 0x10
/* 3B3FFC E00B014C AC620010 */ sw $v0, 0x10($v1)
.LE00B0150:
/* 3B4000 E00B0150 8C650010 */ lw $a1, 0x10($v1)
/* 3B4004 E00B0154 28A203E8 */ slti $v0, $a1, 0x3e8
/* 3B4008 E00B0158 10400002 */ beqz $v0, .LE00B0164
/* 3B400C E00B015C 24A2FFFF */ addiu $v0, $a1, -1
/* 3B4010 E00B0160 AC620010 */ sw $v0, 0x10($v1)
.LE00B0164:
/* 3B4014 E00B0164 8C620014 */ lw $v0, 0x14($v1)
/* 3B4018 E00B0168 8C660010 */ lw $a2, 0x10($v1)
/* 3B401C E00B016C 24450001 */ addiu $a1, $v0, 1
/* 3B4020 E00B0170 04C10005 */ bgez $a2, .LE00B0188
/* 3B4024 E00B0174 AC650014 */ sw $a1, 0x14($v1)
/* 3B4028 E00B0178 0C080128 */ jal func_E02004A0
/* 3B402C E00B017C 00000000 */ nop
/* 3B4030 E00B0180 0802C07B */ j .LE00B01EC
/* 3B4034 E00B0184 00000000 */ nop
.LE00B0188:
/* 3B4038 E00B0188 28C40008 */ slti $a0, $a2, 8
/* 3B403C E00B018C 1080000E */ beqz $a0, .LE00B01C8
/* 3B4040 E00B0190 24020008 */ addiu $v0, $zero, 8
/* 3B4044 E00B0194 00461023 */ subu $v0, $v0, $a2
/* 3B4048 E00B0198 3C01E00B */ lui $at, 0xe00b
/* 3B404C E00B019C D42007E0 */ ldc1 $f0, 0x7e0($at)
/* 3B4050 E00B01A0 44821000 */ mtc1 $v0, $f2
/* 3B4054 E00B01A4 00000000 */ nop
/* 3B4058 E00B01A8 468010A1 */ cvt.d.w $f2, $f2
/* 3B405C E00B01AC 46201082 */ mul.d $f2, $f2, $f0
/* 3B4060 E00B01B0 00000000 */ nop
/* 3B4064 E00B01B4 C460002C */ lwc1 $f0, 0x2c($v1)
/* 3B4068 E00B01B8 46000021 */ cvt.d.s $f0, $f0
/* 3B406C E00B01BC 46220000 */ add.d $f0, $f0, $f2
/* 3B4070 E00B01C0 46200020 */ cvt.s.d $f0, $f0
/* 3B4074 E00B01C4 E460002C */ swc1 $f0, 0x2c($v1)
.LE00B01C8:
/* 3B4078 E00B01C8 28A20010 */ slti $v0, $a1, 0x10
/* 3B407C E00B01CC 10400003 */ beqz $v0, .LE00B01DC
/* 3B4080 E00B01D0 00051100 */ sll $v0, $a1, 4
/* 3B4084 E00B01D4 2442000F */ addiu $v0, $v0, 0xf
/* 3B4088 E00B01D8 AC620024 */ sw $v0, 0x24($v1)
.LE00B01DC:
/* 3B408C E00B01DC 10800003 */ beqz $a0, .LE00B01EC
/* 3B4090 E00B01E0 00061140 */ sll $v0, $a2, 5
/* 3B4094 E00B01E4 2442001F */ addiu $v0, $v0, 0x1f
/* 3B4098 E00B01E8 AC620024 */ sw $v0, 0x24($v1)
.LE00B01EC:
/* 3B409C E00B01EC 8FBF0010 */ lw $ra, 0x10($sp)
/* 3B40A0 E00B01F0 03E00008 */ jr $ra
/* 3B40A4 E00B01F4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,19 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B01F8
/* 3B40A8 E00B01F8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3B40AC E00B01FC 3C02E00B */ lui $v0, 0xe00b
/* 3B40B0 E00B0200 24420234 */ addiu $v0, $v0, 0x234
/* 3B40B4 E00B0204 AFA2001C */ sw $v0, 0x1c($sp)
/* 3B40B8 E00B0208 2402000A */ addiu $v0, $zero, 0xa
/* 3B40BC E00B020C AFA20014 */ sw $v0, 0x14($sp)
/* 3B40C0 E00B0210 2402002D */ addiu $v0, $zero, 0x2d
/* 3B40C4 E00B0214 AFA40018 */ sw $a0, 0x18($sp)
/* 3B40C8 E00B0218 27A40010 */ addiu $a0, $sp, 0x10
/* 3B40CC E00B021C AFBF0020 */ sw $ra, 0x20($sp)
/* 3B40D0 E00B0220 0C080120 */ jal func_E0200480
/* 3B40D4 E00B0224 AFA20010 */ sw $v0, 0x10($sp)
/* 3B40D8 E00B0228 8FBF0020 */ lw $ra, 0x20($sp)
/* 3B40DC E00B022C 03E00008 */ jr $ra
/* 3B40E0 E00B0230 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,372 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B0234
/* 3B40E4 E00B0234 27BDFF10 */ addiu $sp, $sp, -0xf0
/* 3B40E8 E00B0238 0080402D */ daddu $t0, $a0, $zero
/* 3B40EC E00B023C 3C09DB06 */ lui $t1, 0xdb06
/* 3B40F0 E00B0240 35290024 */ ori $t1, $t1, 0x24
/* 3B40F4 E00B0244 27A40020 */ addiu $a0, $sp, 0x20
/* 3B40F8 E00B0248 AFB000B0 */ sw $s0, 0xb0($sp)
/* 3B40FC E00B024C 3C100001 */ lui $s0, 1
/* 3B4100 E00B0250 36101630 */ ori $s0, $s0, 0x1630
/* 3B4104 E00B0254 AFB100B4 */ sw $s1, 0xb4($sp)
/* 3B4108 E00B0258 0000882D */ daddu $s1, $zero, $zero
/* 3B410C E00B025C AFB400C0 */ sw $s4, 0xc0($sp)
/* 3B4110 E00B0260 27B40060 */ addiu $s4, $sp, 0x60
/* 3B4114 E00B0264 3C028007 */ lui $v0, 0x8007
/* 3B4118 E00B0268 244241F0 */ addiu $v0, $v0, 0x41f0
/* 3B411C E00B026C AFB500C4 */ sw $s5, 0xc4($sp)
/* 3B4120 E00B0270 0040A82D */ daddu $s5, $v0, $zero
/* 3B4124 E00B0274 3C02800A */ lui $v0, 0x800a
/* 3B4128 E00B0278 2442A66C */ addiu $v0, $v0, -0x5994
/* 3B412C E00B027C AFB200B8 */ sw $s2, 0xb8($sp)
/* 3B4130 E00B0280 0040902D */ daddu $s2, $v0, $zero
/* 3B4134 E00B0284 3C02E700 */ lui $v0, 0xe700
/* 3B4138 E00B0288 AFBF00D4 */ sw $ra, 0xd4($sp)
/* 3B413C E00B028C AFBE00D0 */ sw $fp, 0xd0($sp)
/* 3B4140 E00B0290 AFB700CC */ sw $s7, 0xcc($sp)
/* 3B4144 E00B0294 AFB600C8 */ sw $s6, 0xc8($sp)
/* 3B4148 E00B0298 AFB300BC */ sw $s3, 0xbc($sp)
/* 3B414C E00B029C F7B800E8 */ sdc1 $f24, 0xe8($sp)
/* 3B4150 E00B02A0 F7B600E0 */ sdc1 $f22, 0xe0($sp)
/* 3B4154 E00B02A4 F7B400D8 */ sdc1 $f20, 0xd8($sp)
/* 3B4158 E00B02A8 8E460000 */ lw $a2, ($s2)
/* 3B415C E00B02AC 44800000 */ mtc1 $zero, $f0
/* 3B4160 E00B02B0 8D13000C */ lw $s3, 0xc($t0)
/* 3B4164 E00B02B4 3C013F80 */ lui $at, 0x3f80
/* 3B4168 E00B02B8 4481C000 */ mtc1 $at, $f24
/* 3B416C E00B02BC 44050000 */ mfc1 $a1, $f0
/* 3B4170 E00B02C0 8E6A0014 */ lw $t2, 0x14($s3)
/* 3B4174 E00B02C4 00C0182D */ daddu $v1, $a2, $zero
/* 3B4178 E00B02C8 AFAA00A0 */ sw $t2, 0xa0($sp)
/* 3B417C E00B02CC 8E6A0024 */ lw $t2, 0x24($s3)
/* 3B4180 E00B02D0 4485A000 */ mtc1 $a1, $f20
/* 3B4184 E00B02D4 24C60008 */ addiu $a2, $a2, 8
/* 3B4188 E00B02D8 AFAA00A4 */ sw $t2, 0xa4($sp)
/* 3B418C E00B02DC AC620000 */ sw $v0, ($v1)
/* 3B4190 E00B02E0 AC600004 */ sw $zero, 4($v1)
/* 3B4194 E00B02E4 ACC90000 */ sw $t1, ($a2)
/* 3B4198 E00B02E8 8D020010 */ lw $v0, 0x10($t0)
/* 3B419C E00B02EC 3C088000 */ lui $t0, 0x8000
/* 3B41A0 E00B02F0 8C42001C */ lw $v0, 0x1c($v0)
/* 3B41A4 E00B02F4 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3B41A8 E00B02F8 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 3B41AC E00B02FC 00481021 */ addu $v0, $v0, $t0
/* 3B41B0 E00B0300 ACC20004 */ sw $v0, 4($a2)
/* 3B41B4 E00B0304 00031080 */ sll $v0, $v1, 2
/* 3B41B8 E00B0308 00431021 */ addu $v0, $v0, $v1
/* 3B41BC E00B030C 00021080 */ sll $v0, $v0, 2
/* 3B41C0 E00B0310 00431023 */ subu $v0, $v0, $v1
/* 3B41C4 E00B0314 000218C0 */ sll $v1, $v0, 3
/* 3B41C8 E00B0318 00431021 */ addu $v0, $v0, $v1
/* 3B41CC E00B031C 000210C0 */ sll $v0, $v0, 3
/* 3B41D0 E00B0320 3C01800B */ lui $at, 0x800b
/* 3B41D4 E00B0324 00220821 */ addu $at, $at, $v0
/* 3B41D8 E00B0328 C4221DEC */ lwc1 $f2, 0x1dec($at)
/* 3B41DC E00B032C C6600028 */ lwc1 $f0, 0x28($s3)
/* 3B41E0 E00B0330 3C1E0001 */ lui $fp, 1
/* 3B41E4 E00B0334 E7A00010 */ swc1 $f0, 0x10($sp)
/* 3B41E8 E00B0338 C6600004 */ lwc1 $f0, 4($s3)
/* 3B41EC E00B033C 37DE1630 */ ori $fp, $fp, 0x1630
/* 3B41F0 E00B0340 AE460000 */ sw $a2, ($s2)
/* 3B41F4 E00B0344 24C60008 */ addiu $a2, $a2, 8
/* 3B41F8 E00B0348 E7A00014 */ swc1 $f0, 0x14($sp)
/* 3B41FC E00B034C C6600008 */ lwc1 $f0, 8($s3)
/* 3B4200 E00B0350 46001087 */ neg.s $f2, $f2
/* 3B4204 E00B0354 AE460000 */ sw $a2, ($s2)
/* 3B4208 E00B0358 44061000 */ mfc1 $a2, $f2
/* 3B420C E00B035C 2416005A */ addiu $s6, $zero, 0x5a
/* 3B4210 E00B0360 E7A00018 */ swc1 $f0, 0x18($sp)
/* 3B4214 E00B0364 C660000C */ lwc1 $f0, 0xc($s3)
/* 3B4218 E00B0368 00A0382D */ daddu $a3, $a1, $zero
/* 3B421C E00B036C 0C080180 */ jal func_E0200600
/* 3B4220 E00B0370 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 3B4224 E00B0374 27A40020 */ addiu $a0, $sp, 0x20
/* 3B4228 E00B0378 96A50000 */ lhu $a1, ($s5)
/* 3B422C E00B037C 3C02800A */ lui $v0, 0x800a
/* 3B4230 E00B0380 8C42A674 */ lw $v0, -0x598c($v0)
/* 3B4234 E00B0384 00052980 */ sll $a1, $a1, 6
/* 3B4238 E00B0388 00B02821 */ addu $a1, $a1, $s0
/* 3B423C E00B038C 0C080118 */ jal func_E0200460
/* 3B4240 E00B0390 00452821 */ addu $a1, $v0, $a1
/* 3B4244 E00B0394 3C06DA38 */ lui $a2, 0xda38
/* 3B4248 E00B0398 8E440000 */ lw $a0, ($s2)
/* 3B424C E00B039C 34C60002 */ ori $a2, $a2, 2
/* 3B4250 E00B03A0 0080282D */ daddu $a1, $a0, $zero
/* 3B4254 E00B03A4 24840008 */ addiu $a0, $a0, 8
/* 3B4258 E00B03A8 24820008 */ addiu $v0, $a0, 8
/* 3B425C E00B03AC 0040B82D */ daddu $s7, $v0, $zero
/* 3B4260 E00B03B0 96A20000 */ lhu $v0, ($s5)
/* 3B4264 E00B03B4 24830010 */ addiu $v1, $a0, 0x10
/* 3B4268 E00B03B8 AFA300A8 */ sw $v1, 0xa8($sp)
/* 3B426C E00B03BC AE440000 */ sw $a0, ($s2)
/* 3B4270 E00B03C0 ACA60000 */ sw $a2, ($a1)
/* 3B4274 E00B03C4 24430001 */ addiu $v1, $v0, 1
/* 3B4278 E00B03C8 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B427C E00B03CC 00021180 */ sll $v0, $v0, 6
/* 3B4280 E00B03D0 A6A30000 */ sh $v1, ($s5)
/* 3B4284 E00B03D4 3C03800A */ lui $v1, 0x800a
/* 3B4288 E00B03D8 8C63A674 */ lw $v1, -0x598c($v1)
/* 3B428C E00B03DC 00501021 */ addu $v0, $v0, $s0
/* 3B4290 E00B03E0 00621821 */ addu $v1, $v1, $v0
/* 3B4294 E00B03E4 3C02DE00 */ lui $v0, 0xde00
/* 3B4298 E00B03E8 ACA30004 */ sw $v1, 4($a1)
/* 3B429C E00B03EC AE570000 */ sw $s7, ($s2)
/* 3B42A0 E00B03F0 AC820000 */ sw $v0, ($a0)
/* 3B42A4 E00B03F4 3C020900 */ lui $v0, 0x900
/* 3B42A8 E00B03F8 24420000 */ addiu $v0, $v0, 0
/* 3B42AC E00B03FC AC820004 */ sw $v0, 4($a0)
/* 3B42B0 E00B0400 8FAA00A8 */ lw $t2, 0xa8($sp)
/* 3B42B4 E00B0404 4600C586 */ mov.s $f22, $f24
/* 3B42B8 E00B0408 AE4A0000 */ sw $t2, ($s2)
.LE00B040C:
/* 3B42BC E00B040C 27A40020 */ addiu $a0, $sp, 0x20
/* 3B42C0 E00B0410 44962000 */ mtc1 $s6, $f4
/* 3B42C4 E00B0414 00000000 */ nop
/* 3B42C8 E00B0418 46802120 */ cvt.s.w $f4, $f4
/* 3B42CC E00B041C 26D60048 */ addiu $s6, $s6, 0x48
/* 3B42D0 E00B0420 44052000 */ mfc1 $a1, $f4
/* 3B42D4 E00B0424 4406A000 */ mfc1 $a2, $f20
/* 3B42D8 E00B0428 4407A000 */ mfc1 $a3, $f20
/* 3B42DC E00B042C 26310001 */ addiu $s1, $s1, 1
/* 3B42E0 E00B0430 0C080104 */ jal func_E0200410
/* 3B42E4 E00B0434 E7B60010 */ swc1 $f22, 0x10($sp)
/* 3B42E8 E00B0438 4405B000 */ mfc1 $a1, $f22
/* 3B42EC E00B043C 4406C000 */ mfc1 $a2, $f24
/* 3B42F0 E00B0440 4407B000 */ mfc1 $a3, $f22
/* 3B42F4 E00B0444 0C080110 */ jal func_E0200440
/* 3B42F8 E00B0448 0280202D */ daddu $a0, $s4, $zero
/* 3B42FC E00B044C 0280202D */ daddu $a0, $s4, $zero
/* 3B4300 E00B0450 27A50020 */ addiu $a1, $sp, 0x20
/* 3B4304 E00B0454 0C080114 */ jal func_E0200450
/* 3B4308 E00B0458 00A0302D */ daddu $a2, $a1, $zero
/* 3B430C E00B045C 4405A000 */ mfc1 $a1, $f20
/* 3B4310 E00B0460 4406A000 */ mfc1 $a2, $f20
/* 3B4314 E00B0464 4407A000 */ mfc1 $a3, $f20
/* 3B4318 E00B0468 3C0141F0 */ lui $at, 0x41f0
/* 3B431C E00B046C 44810000 */ mtc1 $at, $f0
/* 3B4320 E00B0470 0280202D */ daddu $a0, $s4, $zero
/* 3B4324 E00B0474 E7B60010 */ swc1 $f22, 0x10($sp)
/* 3B4328 E00B0478 E7B40018 */ swc1 $f20, 0x18($sp)
/* 3B432C E00B047C E7B4001C */ swc1 $f20, 0x1c($sp)
/* 3B4330 E00B0480 0C080180 */ jal func_E0200600
/* 3B4334 E00B0484 E7A00014 */ swc1 $f0, 0x14($sp)
/* 3B4338 E00B0488 0280202D */ daddu $a0, $s4, $zero
/* 3B433C E00B048C 27A50020 */ addiu $a1, $sp, 0x20
/* 3B4340 E00B0490 0C080114 */ jal func_E0200450
/* 3B4344 E00B0494 00A0302D */ daddu $a2, $a1, $zero
/* 3B4348 E00B0498 27A40020 */ addiu $a0, $sp, 0x20
/* 3B434C E00B049C 96A50000 */ lhu $a1, ($s5)
/* 3B4350 E00B04A0 3C02800A */ lui $v0, 0x800a
/* 3B4354 E00B04A4 8C42A674 */ lw $v0, -0x598c($v0)
/* 3B4358 E00B04A8 00052980 */ sll $a1, $a1, 6
/* 3B435C E00B04AC 00BE2821 */ addu $a1, $a1, $fp
/* 3B4360 E00B04B0 0C080118 */ jal func_E0200460
/* 3B4364 E00B04B4 00452821 */ addu $a1, $v0, $a1
/* 3B4368 E00B04B8 3C06D838 */ lui $a2, 0xd838
/* 3B436C E00B04BC 8E440000 */ lw $a0, ($s2)
/* 3B4370 E00B04C0 34C60002 */ ori $a2, $a2, 2
/* 3B4374 E00B04C4 0080282D */ daddu $a1, $a0, $zero
/* 3B4378 E00B04C8 24840008 */ addiu $a0, $a0, 8
/* 3B437C E00B04CC AE440000 */ sw $a0, ($s2)
/* 3B4380 E00B04D0 96A20000 */ lhu $v0, ($s5)
/* 3B4384 E00B04D4 3C03DA38 */ lui $v1, 0xda38
/* 3B4388 E00B04D8 ACA30000 */ sw $v1, ($a1)
/* 3B438C E00B04DC 24430001 */ addiu $v1, $v0, 1
/* 3B4390 E00B04E0 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B4394 E00B04E4 00021180 */ sll $v0, $v0, 6
/* 3B4398 E00B04E8 A6A30000 */ sh $v1, ($s5)
/* 3B439C E00B04EC 3C03800A */ lui $v1, 0x800a
/* 3B43A0 E00B04F0 8C63A674 */ lw $v1, -0x598c($v1)
/* 3B43A4 E00B04F4 005E1021 */ addu $v0, $v0, $fp
/* 3B43A8 E00B04F8 00621821 */ addu $v1, $v1, $v0
/* 3B43AC E00B04FC 24820008 */ addiu $v0, $a0, 8
/* 3B43B0 E00B0500 ACA30004 */ sw $v1, 4($a1)
/* 3B43B4 E00B0504 AE420000 */ sw $v0, ($s2)
/* 3B43B8 E00B0508 3C02DE00 */ lui $v0, 0xde00
/* 3B43BC E00B050C AC820000 */ sw $v0, ($a0)
/* 3B43C0 E00B0510 3C020900 */ lui $v0, 0x900
/* 3B43C4 E00B0514 244200C8 */ addiu $v0, $v0, 0xc8
/* 3B43C8 E00B0518 AC820004 */ sw $v0, 4($a0)
/* 3B43CC E00B051C 24820010 */ addiu $v0, $a0, 0x10
/* 3B43D0 E00B0520 AE420000 */ sw $v0, ($s2)
/* 3B43D4 E00B0524 24020040 */ addiu $v0, $zero, 0x40
/* 3B43D8 E00B0528 AC82000C */ sw $v0, 0xc($a0)
/* 3B43DC E00B052C 2A220005 */ slti $v0, $s1, 5
/* 3B43E0 E00B0530 1440FFB6 */ bnez $v0, .LE00B040C
/* 3B43E4 E00B0534 AC860008 */ sw $a2, 8($a0)
/* 3B43E8 E00B0538 3C07800A */ lui $a3, 0x800a
/* 3B43EC E00B053C 24E7A66C */ addiu $a3, $a3, -0x5994
/* 3B43F0 E00B0540 0000882D */ daddu $s1, $zero, $zero
/* 3B43F4 E00B0544 8CE40000 */ lw $a0, ($a3)
/* 3B43F8 E00B0548 3C02DF00 */ lui $v0, 0xdf00
/* 3B43FC E00B054C 0080182D */ daddu $v1, $a0, $zero
/* 3B4400 E00B0550 24840008 */ addiu $a0, $a0, 8
/* 3B4404 E00B0554 ACE40000 */ sw $a0, ($a3)
/* 3B4408 E00B0558 AC620000 */ sw $v0, ($v1)
/* 3B440C E00B055C 3C02DE01 */ lui $v0, 0xde01
/* 3B4410 E00B0560 AC600004 */ sw $zero, 4($v1)
/* 3B4414 E00B0564 AEE20000 */ sw $v0, ($s7)
/* 3B4418 E00B0568 24820008 */ addiu $v0, $a0, 8
/* 3B441C E00B056C AEE40004 */ sw $a0, 4($s7)
/* 3B4420 E00B0570 ACE20000 */ sw $v0, ($a3)
/* 3B4424 E00B0574 3C02FA00 */ lui $v0, 0xfa00
/* 3B4428 E00B0578 AC820000 */ sw $v0, ($a0)
/* 3B442C E00B057C 9262001B */ lbu $v0, 0x1b($s3)
/* 3B4430 E00B0580 9265001F */ lbu $a1, 0x1f($s3)
/* 3B4434 E00B0584 92660023 */ lbu $a2, 0x23($s3)
/* 3B4438 E00B0588 3C03FB00 */ lui $v1, 0xfb00
/* 3B443C E00B058C AC830008 */ sw $v1, 8($a0)
/* 3B4440 E00B0590 2403FF00 */ addiu $v1, $zero, -0x100
/* 3B4444 E00B0594 AC83000C */ sw $v1, 0xc($a0)
/* 3B4448 E00B0598 8FAA00A4 */ lw $t2, 0xa4($sp)
/* 3B444C E00B059C 00021600 */ sll $v0, $v0, 0x18
/* 3B4450 E00B05A0 00052C00 */ sll $a1, $a1, 0x10
/* 3B4454 E00B05A4 00451025 */ or $v0, $v0, $a1
/* 3B4458 E00B05A8 00063200 */ sll $a2, $a2, 8
/* 3B445C E00B05AC 00461025 */ or $v0, $v0, $a2
/* 3B4460 E00B05B0 314300FF */ andi $v1, $t2, 0xff
/* 3B4464 E00B05B4 00431025 */ or $v0, $v0, $v1
/* 3B4468 E00B05B8 AC820004 */ sw $v0, 4($a0)
/* 3B446C E00B05BC 8E660030 */ lw $a2, 0x30($s3)
/* 3B4470 E00B05C0 24840010 */ addiu $a0, $a0, 0x10
/* 3B4474 E00B05C4 24C20001 */ addiu $v0, $a2, 1
/* 3B4478 E00B05C8 18400065 */ blez $v0, .LE00B0760
/* 3B447C E00B05CC ACE40000 */ sw $a0, ($a3)
/* 3B4480 E00B05D0 8FAA00A0 */ lw $t2, 0xa0($sp)
/* 3B4484 E00B05D4 000AB8C0 */ sll $s7, $t2, 3
/* 3B4488 E00B05D8 3C16800A */ lui $s6, 0x800a
/* 3B448C E00B05DC 26D6A674 */ addiu $s6, $s6, -0x598c
/* 3B4490 E00B05E0 3C158007 */ lui $s5, 0x8007
/* 3B4494 E00B05E4 26B541F0 */ addiu $s5, $s5, 0x41f0
/* 3B4498 E00B05E8 3C140001 */ lui $s4, 1
/* 3B449C E00B05EC 36941630 */ ori $s4, $s4, 0x1630
/* 3B44A0 E00B05F0 00E0902D */ daddu $s2, $a3, $zero
.LE00B05F4:
/* 3B44A4 E00B05F4 00111840 */ sll $v1, $s1, 1
/* 3B44A8 E00B05F8 00711821 */ addu $v1, $v1, $s1
/* 3B44AC E00B05FC 00031100 */ sll $v0, $v1, 4
/* 3B44B0 E00B0600 00431023 */ subu $v0, $v0, $v1
/* 3B44B4 E00B0604 00021080 */ sll $v0, $v0, 2
/* 3B44B8 E00B0608 24C30001 */ addiu $v1, $a2, 1
/* 3B44BC E00B060C 14600002 */ bnez $v1, .LE00B0618
/* 3B44C0 E00B0610 0043001A */ div $zero, $v0, $v1
/* 3B44C4 E00B0614 0007000D */ break 7
.LE00B0618:
/* 3B44C8 E00B0618 2401FFFF */ addiu $at, $zero, -1
/* 3B44CC E00B061C 14610004 */ bne $v1, $at, .LE00B0630
/* 3B44D0 E00B0620 3C018000 */ lui $at, 0x8000
/* 3B44D4 E00B0624 14410002 */ bne $v0, $at, .LE00B0630
/* 3B44D8 E00B0628 00000000 */ nop
/* 3B44DC E00B062C 0006000D */ break 6
.LE00B0630:
/* 3B44E0 E00B0630 00001012 */ mflo $v0
/* 3B44E4 E00B0634 02E21021 */ addu $v0, $s7, $v0
/* 3B44E8 E00B0638 44826000 */ mtc1 $v0, $f12
/* 3B44EC E00B063C 00000000 */ nop
/* 3B44F0 E00B0640 46806320 */ cvt.s.w $f12, $f12
/* 3B44F4 E00B0644 0C080144 */ jal func_E0200510
/* 3B44F8 E00B0648 26300001 */ addiu $s0, $s1, 1
/* 3B44FC E00B064C 46000021 */ cvt.d.s $f0, $f0
/* 3B4500 E00B0650 3C01E00B */ lui $at, 0xe00b
/* 3B4504 E00B0654 D42207E8 */ ldc1 $f2, 0x7e8($at)
/* 3B4508 E00B0658 001110C0 */ sll $v0, $s1, 3
/* 3B450C E00B065C 46220002 */ mul.d $f0, $f0, $f2
/* 3B4510 E00B0660 00000000 */ nop
/* 3B4514 E00B0664 00511021 */ addu $v0, $v0, $s1
/* 3B4518 E00B0668 00021080 */ sll $v0, $v0, 2
/* 3B451C E00B066C 44822000 */ mtc1 $v0, $f4
/* 3B4520 E00B0670 00000000 */ nop
/* 3B4524 E00B0674 46802120 */ cvt.s.w $f4, $f4
/* 3B4528 E00B0678 4405A000 */ mfc1 $a1, $f20
/* 3B452C E00B067C 4406A000 */ mfc1 $a2, $f20
/* 3B4530 E00B0680 44901000 */ mtc1 $s0, $f2
/* 3B4534 E00B0684 00000000 */ nop
/* 3B4538 E00B0688 468010A0 */ cvt.s.w $f2, $f2
/* 3B453C E00B068C 460010A1 */ cvt.d.s $f2, $f2
/* 3B4540 E00B0690 46201080 */ add.d $f2, $f2, $f0
/* 3B4544 E00B0694 44072000 */ mfc1 $a3, $f4
/* 3B4548 E00B0698 C660002C */ lwc1 $f0, 0x2c($s3)
/* 3B454C E00B069C 462010A0 */ cvt.s.d $f2, $f2
/* 3B4550 E00B06A0 46001082 */ mul.s $f2, $f2, $f0
/* 3B4554 E00B06A4 00000000 */ nop
/* 3B4558 E00B06A8 27A40020 */ addiu $a0, $sp, 0x20
/* 3B455C E00B06AC E7B40014 */ swc1 $f20, 0x14($sp)
/* 3B4560 E00B06B0 E7B40018 */ swc1 $f20, 0x18($sp)
/* 3B4564 E00B06B4 E7B4001C */ swc1 $f20, 0x1c($sp)
/* 3B4568 E00B06B8 0C080180 */ jal func_E0200600
/* 3B456C E00B06BC E7A20010 */ swc1 $f2, 0x10($sp)
/* 3B4570 E00B06C0 27A40020 */ addiu $a0, $sp, 0x20
/* 3B4574 E00B06C4 96A50000 */ lhu $a1, ($s5)
/* 3B4578 E00B06C8 8EC20000 */ lw $v0, ($s6)
/* 3B457C E00B06CC 00052980 */ sll $a1, $a1, 6
/* 3B4580 E00B06D0 00B42821 */ addu $a1, $a1, $s4
/* 3B4584 E00B06D4 0C080118 */ jal func_E0200460
/* 3B4588 E00B06D8 00452821 */ addu $a1, $v0, $a1
/* 3B458C E00B06DC 3C07D838 */ lui $a3, 0xd838
/* 3B4590 E00B06E0 34E70002 */ ori $a3, $a3, 2
/* 3B4594 E00B06E4 3C02DA38 */ lui $v0, 0xda38
/* 3B4598 E00B06E8 0200882D */ daddu $s1, $s0, $zero
/* 3B459C E00B06EC 8E440000 */ lw $a0, ($s2)
/* 3B45A0 E00B06F0 96A50000 */ lhu $a1, ($s5)
/* 3B45A4 E00B06F4 0080302D */ daddu $a2, $a0, $zero
/* 3B45A8 E00B06F8 24840008 */ addiu $a0, $a0, 8
/* 3B45AC E00B06FC ACC20000 */ sw $v0, ($a2)
/* 3B45B0 E00B0700 30A2FFFF */ andi $v0, $a1, 0xffff
/* 3B45B4 E00B0704 00021180 */ sll $v0, $v0, 6
/* 3B45B8 E00B0708 00541021 */ addu $v0, $v0, $s4
/* 3B45BC E00B070C 8EC30000 */ lw $v1, ($s6)
/* 3B45C0 E00B0710 24A50001 */ addiu $a1, $a1, 1
/* 3B45C4 E00B0714 00621821 */ addu $v1, $v1, $v0
/* 3B45C8 E00B0718 3C02DE00 */ lui $v0, 0xde00
/* 3B45CC E00B071C ACC30004 */ sw $v1, 4($a2)
/* 3B45D0 E00B0720 AC820000 */ sw $v0, ($a0)
/* 3B45D4 E00B0724 8FAA00A8 */ lw $t2, 0xa8($sp)
/* 3B45D8 E00B0728 24020040 */ addiu $v0, $zero, 0x40
/* 3B45DC E00B072C AC870008 */ sw $a3, 8($a0)
/* 3B45E0 E00B0730 AC82000C */ sw $v0, 0xc($a0)
/* 3B45E4 E00B0734 AC8A0004 */ sw $t2, 4($a0)
/* 3B45E8 E00B0738 8E660030 */ lw $a2, 0x30($s3)
/* 3B45EC E00B073C 24820008 */ addiu $v0, $a0, 8
/* 3B45F0 E00B0740 AE440000 */ sw $a0, ($s2)
/* 3B45F4 E00B0744 24840010 */ addiu $a0, $a0, 0x10
/* 3B45F8 E00B0748 A6A50000 */ sh $a1, ($s5)
/* 3B45FC E00B074C AE420000 */ sw $v0, ($s2)
/* 3B4600 E00B0750 24C20001 */ addiu $v0, $a2, 1
/* 3B4604 E00B0754 0222102A */ slt $v0, $s1, $v0
/* 3B4608 E00B0758 1440FFA6 */ bnez $v0, .LE00B05F4
/* 3B460C E00B075C AE440000 */ sw $a0, ($s2)
.LE00B0760:
/* 3B4610 E00B0760 3C03D838 */ lui $v1, 0xd838
/* 3B4614 E00B0764 3C04800A */ lui $a0, 0x800a
/* 3B4618 E00B0768 2484A66C */ addiu $a0, $a0, -0x5994
/* 3B461C E00B076C 8C820000 */ lw $v0, ($a0)
/* 3B4620 E00B0770 34630002 */ ori $v1, $v1, 2
/* 3B4624 E00B0774 0040282D */ daddu $a1, $v0, $zero
/* 3B4628 E00B0778 24420008 */ addiu $v0, $v0, 8
/* 3B462C E00B077C AC820000 */ sw $v0, ($a0)
/* 3B4630 E00B0780 ACA30000 */ sw $v1, ($a1)
/* 3B4634 E00B0784 24030040 */ addiu $v1, $zero, 0x40
/* 3B4638 E00B0788 ACA30004 */ sw $v1, 4($a1)
/* 3B463C E00B078C 24430008 */ addiu $v1, $v0, 8
/* 3B4640 E00B0790 AC830000 */ sw $v1, ($a0)
/* 3B4644 E00B0794 3C03E700 */ lui $v1, 0xe700
/* 3B4648 E00B0798 AC430000 */ sw $v1, ($v0)
/* 3B464C E00B079C AC400004 */ sw $zero, 4($v0)
/* 3B4650 E00B07A0 8FBF00D4 */ lw $ra, 0xd4($sp)
/* 3B4654 E00B07A4 8FBE00D0 */ lw $fp, 0xd0($sp)
/* 3B4658 E00B07A8 8FB700CC */ lw $s7, 0xcc($sp)
/* 3B465C E00B07AC 8FB600C8 */ lw $s6, 0xc8($sp)
/* 3B4660 E00B07B0 8FB500C4 */ lw $s5, 0xc4($sp)
/* 3B4664 E00B07B4 8FB400C0 */ lw $s4, 0xc0($sp)
/* 3B4668 E00B07B8 8FB300BC */ lw $s3, 0xbc($sp)
/* 3B466C E00B07BC 8FB200B8 */ lw $s2, 0xb8($sp)
/* 3B4670 E00B07C0 8FB100B4 */ lw $s1, 0xb4($sp)
/* 3B4674 E00B07C4 8FB000B0 */ lw $s0, 0xb0($sp)
/* 3B4678 E00B07C8 D7B800E8 */ ldc1 $f24, 0xe8($sp)
/* 3B467C E00B07CC D7B600E0 */ ldc1 $f22, 0xe0($sp)
/* 3B4680 E00B07D0 D7B400D8 */ ldc1 $f20, 0xd8($sp)
/* 3B4684 E00B07D4 03E00008 */ jr $ra
/* 3B4688 E00B07D8 27BD00F0 */ addiu $sp, $sp, 0xf0
/* 3B468C E00B07DC 00000000 */ nop

View File

@ -0,0 +1,83 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B8000
/* 3B7B80 E00B8000 27BDFFB0 */ addiu $sp, $sp, -0x50
/* 3B7B84 E00B8004 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 3B7B88 E00B8008 4485A000 */ mtc1 $a1, $f20
/* 3B7B8C E00B800C F7B60040 */ sdc1 $f22, 0x40($sp)
/* 3B7B90 E00B8010 4486B000 */ mtc1 $a2, $f22
/* 3B7B94 E00B8014 AFB20030 */ sw $s2, 0x30($sp)
/* 3B7B98 E00B8018 0080902D */ daddu $s2, $a0, $zero
/* 3B7B9C E00B801C F7B80048 */ sdc1 $f24, 0x48($sp)
/* 3B7BA0 E00B8020 4487C000 */ mtc1 $a3, $f24
/* 3B7BA4 E00B8024 27A40010 */ addiu $a0, $sp, 0x10
/* 3B7BA8 E00B8028 AFB1002C */ sw $s1, 0x2c($sp)
/* 3B7BAC E00B802C 8FB10064 */ lw $s1, 0x64($sp)
/* 3B7BB0 E00B8030 3C02E00C */ lui $v0, 0xe00c
/* 3B7BB4 E00B8034 2442812C */ addiu $v0, $v0, -0x7ed4
/* 3B7BB8 E00B8038 AFA20018 */ sw $v0, 0x18($sp)
/* 3B7BBC E00B803C 3C02E00C */ lui $v0, 0xe00c
/* 3B7BC0 E00B8040 24428134 */ addiu $v0, $v0, -0x7ecc
/* 3B7BC4 E00B8044 AFA2001C */ sw $v0, 0x1c($sp)
/* 3B7BC8 E00B8048 3C02E00C */ lui $v0, 0xe00c
/* 3B7BCC E00B804C 244281B8 */ addiu $v0, $v0, -0x7e48
/* 3B7BD0 E00B8050 AFA20020 */ sw $v0, 0x20($sp)
/* 3B7BD4 E00B8054 2402005C */ addiu $v0, $zero, 0x5c
/* 3B7BD8 E00B8058 AFBF0034 */ sw $ra, 0x34($sp)
/* 3B7BDC E00B805C AFB00028 */ sw $s0, 0x28($sp)
/* 3B7BE0 E00B8060 AFA00010 */ sw $zero, 0x10($sp)
/* 3B7BE4 E00B8064 AFA00024 */ sw $zero, 0x24($sp)
/* 3B7BE8 E00B8068 0C080124 */ jal func_E0200490
/* 3B7BEC E00B806C AFA20014 */ sw $v0, 0x14($sp)
/* 3B7BF0 E00B8070 24040044 */ addiu $a0, $zero, 0x44
/* 3B7BF4 E00B8074 24030001 */ addiu $v1, $zero, 1
/* 3B7BF8 E00B8078 0040802D */ daddu $s0, $v0, $zero
/* 3B7BFC E00B807C 0C08012C */ jal func_E02004B0
/* 3B7C00 E00B8080 AE030008 */ sw $v1, 8($s0)
/* 3B7C04 E00B8084 0040282D */ daddu $a1, $v0, $zero
/* 3B7C08 E00B8088 14A00003 */ bnez $a1, .LE00B8098
/* 3B7C0C E00B808C AE02000C */ sw $v0, 0xc($s0)
.LE00B8090:
/* 3B7C10 E00B8090 0802E024 */ j .LE00B8090
/* 3B7C14 E00B8094 00000000 */ nop
.LE00B8098:
/* 3B7C18 E00B8098 ACB20000 */ sw $s2, ($a1)
/* 3B7C1C E00B809C 1E200004 */ bgtz $s1, .LE00B80B0
/* 3B7C20 E00B80A0 ACA00014 */ sw $zero, 0x14($a1)
/* 3B7C24 E00B80A4 240203E8 */ addiu $v0, $zero, 0x3e8
/* 3B7C28 E00B80A8 0802E02D */ j .LE00B80B4
/* 3B7C2C E00B80AC ACA20010 */ sw $v0, 0x10($a1)
.LE00B80B0:
/* 3B7C30 E00B80B0 ACB10010 */ sw $s1, 0x10($a1)
.LE00B80B4:
/* 3B7C34 E00B80B4 0200102D */ daddu $v0, $s0, $zero
/* 3B7C38 E00B80B8 240400FF */ addiu $a0, $zero, 0xff
/* 3B7C3C E00B80BC ACA40024 */ sw $a0, 0x24($a1)
/* 3B7C40 E00B80C0 E4B40004 */ swc1 $f20, 4($a1)
/* 3B7C44 E00B80C4 E4B60008 */ swc1 $f22, 8($a1)
/* 3B7C48 E00B80C8 E4B8000C */ swc1 $f24, 0xc($a1)
/* 3B7C4C E00B80CC C7A00060 */ lwc1 $f0, 0x60($sp)
/* 3B7C50 E00B80D0 24030046 */ addiu $v1, $zero, 0x46
/* 3B7C54 E00B80D4 ACA30018 */ sw $v1, 0x18($a1)
/* 3B7C58 E00B80D8 E4A00034 */ swc1 $f0, 0x34($a1)
/* 3B7C5C E00B80DC 3C013F80 */ lui $at, 0x3f80
/* 3B7C60 E00B80E0 44810000 */ mtc1 $at, $f0
/* 3B7C64 E00B80E4 240300B4 */ addiu $v1, $zero, 0xb4
/* 3B7C68 E00B80E8 ACA3001C */ sw $v1, 0x1c($a1)
/* 3B7C6C E00B80EC ACA40020 */ sw $a0, 0x20($a1)
/* 3B7C70 E00B80F0 ACA40028 */ sw $a0, 0x28($a1)
/* 3B7C74 E00B80F4 ACA4002C */ sw $a0, 0x2c($a1)
/* 3B7C78 E00B80F8 ACA40030 */ sw $a0, 0x30($a1)
/* 3B7C7C E00B80FC ACA00038 */ sw $zero, 0x38($a1)
/* 3B7C80 E00B8100 E4A0003C */ swc1 $f0, 0x3c($a1)
/* 3B7C84 E00B8104 E4A00040 */ swc1 $f0, 0x40($a1)
/* 3B7C88 E00B8108 8FBF0034 */ lw $ra, 0x34($sp)
/* 3B7C8C E00B810C 8FB20030 */ lw $s2, 0x30($sp)
/* 3B7C90 E00B8110 8FB1002C */ lw $s1, 0x2c($sp)
/* 3B7C94 E00B8114 8FB00028 */ lw $s0, 0x28($sp)
/* 3B7C98 E00B8118 D7B80048 */ ldc1 $f24, 0x48($sp)
/* 3B7C9C E00B811C D7B60040 */ ldc1 $f22, 0x40($sp)
/* 3B7CA0 E00B8120 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 3B7CA4 E00B8124 03E00008 */ jr $ra
/* 3B7CA8 E00B8128 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_E00B812C
/* 3B7CAC E00B812C 03E00008 */ jr $ra
/* 3B7CB0 E00B8130 00000000 */ nop

View File

@ -0,0 +1,41 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B8134
/* 3B7CB4 E00B8134 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3B7CB8 E00B8138 AFBF0010 */ sw $ra, 0x10($sp)
/* 3B7CBC E00B813C 8C830000 */ lw $v1, ($a0)
/* 3B7CC0 E00B8140 8C86000C */ lw $a2, 0xc($a0)
/* 3B7CC4 E00B8144 30620010 */ andi $v0, $v1, 0x10
/* 3B7CC8 E00B8148 10400005 */ beqz $v0, .LE00B8160
/* 3B7CCC E00B814C 2402FFEF */ addiu $v0, $zero, -0x11
/* 3B7CD0 E00B8150 00621024 */ and $v0, $v1, $v0
/* 3B7CD4 E00B8154 AC820000 */ sw $v0, ($a0)
/* 3B7CD8 E00B8158 24020010 */ addiu $v0, $zero, 0x10
/* 3B7CDC E00B815C ACC20010 */ sw $v0, 0x10($a2)
.LE00B8160:
/* 3B7CE0 E00B8160 8CC30010 */ lw $v1, 0x10($a2)
/* 3B7CE4 E00B8164 286203E8 */ slti $v0, $v1, 0x3e8
/* 3B7CE8 E00B8168 10400002 */ beqz $v0, .LE00B8174
/* 3B7CEC E00B816C 2462FFFF */ addiu $v0, $v1, -1
/* 3B7CF0 E00B8170 ACC20010 */ sw $v0, 0x10($a2)
.LE00B8174:
/* 3B7CF4 E00B8174 8CC20014 */ lw $v0, 0x14($a2)
/* 3B7CF8 E00B8178 8CC30010 */ lw $v1, 0x10($a2)
/* 3B7CFC E00B817C 24450001 */ addiu $a1, $v0, 1
/* 3B7D00 E00B8180 04610005 */ bgez $v1, .LE00B8198
/* 3B7D04 E00B8184 ACC50014 */ sw $a1, 0x14($a2)
/* 3B7D08 E00B8188 0C080128 */ jal func_E02004A0
/* 3B7D0C E00B818C 00000000 */ nop
/* 3B7D10 E00B8190 0802E06B */ j .LE00B81AC
/* 3B7D14 E00B8194 00000000 */ nop
.LE00B8198:
/* 3B7D18 E00B8198 28A20008 */ slti $v0, $a1, 8
/* 3B7D1C E00B819C 10400003 */ beqz $v0, .LE00B81AC
/* 3B7D20 E00B81A0 00051140 */ sll $v0, $a1, 5
/* 3B7D24 E00B81A4 2442001F */ addiu $v0, $v0, 0x1f
/* 3B7D28 E00B81A8 ACC20024 */ sw $v0, 0x24($a2)
.LE00B81AC:
/* 3B7D2C E00B81AC 8FBF0010 */ lw $ra, 0x10($sp)
/* 3B7D30 E00B81B0 03E00008 */ jr $ra
/* 3B7D34 E00B81B4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,22 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B81B8
/* 3B7D38 E00B81B8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3B7D3C E00B81BC 3C02E00C */ lui $v0, 0xe00c
/* 3B7D40 E00B81C0 24428208 */ addiu $v0, $v0, -0x7df8
/* 3B7D44 E00B81C4 AFA2001C */ sw $v0, 0x1c($sp)
/* 3B7D48 E00B81C8 2402000A */ addiu $v0, $zero, 0xa
/* 3B7D4C E00B81CC AFA20014 */ sw $v0, 0x14($sp)
/* 3B7D50 E00B81D0 2402002D */ addiu $v0, $zero, 0x2d
/* 3B7D54 E00B81D4 AFA40018 */ sw $a0, 0x18($sp)
/* 3B7D58 E00B81D8 27A40010 */ addiu $a0, $sp, 0x10
/* 3B7D5C E00B81DC AFBF0020 */ sw $ra, 0x20($sp)
/* 3B7D60 E00B81E0 0C080120 */ jal func_E0200480
/* 3B7D64 E00B81E4 AFA20010 */ sw $v0, 0x10($sp)
/* 3B7D68 E00B81E8 8C430000 */ lw $v1, ($v0)
/* 3B7D6C E00B81EC 34630002 */ ori $v1, $v1, 2
/* 3B7D70 E00B81F0 AC430000 */ sw $v1, ($v0)
/* 3B7D74 E00B81F4 8FBF0020 */ lw $ra, 0x20($sp)
/* 3B7D78 E00B81F8 03E00008 */ jr $ra
/* 3B7D7C E00B81FC 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_E00B8200
/* 3B7D80 E00B8200 03E00008 */ jr $ra
/* 3B7D84 E00B8204 00000000 */ nop

View File

@ -0,0 +1,456 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00B8208
/* 3B7D88 E00B8208 27BDFEF8 */ addiu $sp, $sp, -0x108
/* 3B7D8C E00B820C 0080302D */ daddu $a2, $a0, $zero
/* 3B7D90 E00B8210 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 3B7D94 E00B8214 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 3B7D98 E00B8218 3C04800B */ lui $a0, %hi(gCameras)
/* 3B7D9C E00B821C 24841D80 */ addiu $a0, $a0, %lo(gCameras)
/* 3B7DA0 E00B8220 AFBF00EC */ sw $ra, 0xec($sp)
/* 3B7DA4 E00B8224 AFBE00E8 */ sw $fp, 0xe8($sp)
/* 3B7DA8 E00B8228 AFB700E4 */ sw $s7, 0xe4($sp)
/* 3B7DAC E00B822C AFB600E0 */ sw $s6, 0xe0($sp)
/* 3B7DB0 E00B8230 AFB500DC */ sw $s5, 0xdc($sp)
/* 3B7DB4 E00B8234 AFB400D8 */ sw $s4, 0xd8($sp)
/* 3B7DB8 E00B8238 AFB300D4 */ sw $s3, 0xd4($sp)
/* 3B7DBC E00B823C AFB200D0 */ sw $s2, 0xd0($sp)
/* 3B7DC0 E00B8240 AFB100CC */ sw $s1, 0xcc($sp)
/* 3B7DC4 E00B8244 AFB000C8 */ sw $s0, 0xc8($sp)
/* 3B7DC8 E00B8248 F7B80100 */ sdc1 $f24, 0x100($sp)
/* 3B7DCC E00B824C F7B600F8 */ sdc1 $f22, 0xf8($sp)
/* 3B7DD0 E00B8250 F7B400F0 */ sdc1 $f20, 0xf0($sp)
/* 3B7DD4 E00B8254 8CD3000C */ lw $s3, 0xc($a2)
/* 3B7DD8 E00B8258 00031080 */ sll $v0, $v1, 2
/* 3B7DDC E00B825C 00431021 */ addu $v0, $v0, $v1
/* 3B7DE0 E00B8260 00021080 */ sll $v0, $v0, 2
/* 3B7DE4 E00B8264 00431023 */ subu $v0, $v0, $v1
/* 3B7DE8 E00B8268 000218C0 */ sll $v1, $v0, 3
/* 3B7DEC E00B826C 00431021 */ addu $v0, $v0, $v1
/* 3B7DF0 E00B8270 8E7E0014 */ lw $fp, 0x14($s3)
/* 3B7DF4 E00B8274 8E6A0010 */ lw $t2, 0x10($s3)
/* 3B7DF8 E00B8278 000210C0 */ sll $v0, $v0, 3
/* 3B7DFC E00B827C AFAA0098 */ sw $t2, 0x98($sp)
/* 3B7E00 E00B8280 8E6A0024 */ lw $t2, 0x24($s3)
/* 3B7E04 E00B8284 0044B821 */ addu $s7, $v0, $a0
/* 3B7E08 E00B8288 AFAA00A0 */ sw $t2, 0xa0($sp)
/* 3B7E0C E00B828C 8E6A0018 */ lw $t2, 0x18($s3)
/* 3B7E10 E00B8290 8E620000 */ lw $v0, ($s3)
/* 3B7E14 E00B8294 AFAA00A4 */ sw $t2, 0xa4($sp)
/* 3B7E18 E00B8298 8E6A001C */ lw $t2, 0x1c($s3)
/* 3B7E1C E00B829C AFAA00A8 */ sw $t2, 0xa8($sp)
/* 3B7E20 E00B82A0 8E6A0020 */ lw $t2, 0x20($s3)
/* 3B7E24 E00B82A4 14400007 */ bnez $v0, .LE00B82C4
/* 3B7E28 E00B82A8 AFAA00AC */ sw $t2, 0xac($sp)
/* 3B7E2C E00B82AC 240A0003 */ addiu $t2, $zero, 3
/* 3B7E30 E00B82B0 AFAA00B0 */ sw $t2, 0xb0($sp)
/* 3B7E34 E00B82B4 3C0AE00C */ lui $t2, 0xe00c
/* 3B7E38 E00B82B8 254A8900 */ addiu $t2, $t2, -0x7700
/* 3B7E3C E00B82BC 0802E0B6 */ j .LE00B82D8
/* 3B7E40 E00B82C0 24160014 */ addiu $s6, $zero, 0x14
.LE00B82C4:
/* 3B7E44 E00B82C4 2416000B */ addiu $s6, $zero, 0xb
/* 3B7E48 E00B82C8 240A0003 */ addiu $t2, $zero, 3
/* 3B7E4C E00B82CC AFAA00B0 */ sw $t2, 0xb0($sp)
/* 3B7E50 E00B82D0 3C0AE00C */ lui $t2, 0xe00c
/* 3B7E54 E00B82D4 254A8B58 */ addiu $t2, $t2, -0x74a8
.LE00B82D8:
/* 3B7E58 E00B82D8 AFAA00B4 */ sw $t2, 0xb4($sp)
/* 3B7E5C E00B82DC 3C05DB06 */ lui $a1, 0xdb06
/* 3B7E60 E00B82E0 34A50024 */ ori $a1, $a1, 0x24
/* 3B7E64 E00B82E4 27A40018 */ addiu $a0, $sp, 0x18
/* 3B7E68 E00B82E8 3C14800A */ lui $s4, 0x800a
/* 3B7E6C E00B82EC 2694A66C */ addiu $s4, $s4, -0x5994
/* 3B7E70 E00B82F0 3C120001 */ lui $s2, 1
/* 3B7E74 E00B82F4 8E880000 */ lw $t0, ($s4)
/* 3B7E78 E00B82F8 3C02E700 */ lui $v0, 0xe700
/* 3B7E7C E00B82FC 0100182D */ daddu $v1, $t0, $zero
/* 3B7E80 E00B8300 25080008 */ addiu $t0, $t0, 8
/* 3B7E84 E00B8304 AC620000 */ sw $v0, ($v1)
/* 3B7E88 E00B8308 AC600004 */ sw $zero, 4($v1)
/* 3B7E8C E00B830C AD050000 */ sw $a1, ($t0)
/* 3B7E90 E00B8310 8CC20010 */ lw $v0, 0x10($a2)
/* 3B7E94 E00B8314 36521630 */ ori $s2, $s2, 0x1630
/* 3B7E98 E00B8318 AE880000 */ sw $t0, ($s4)
/* 3B7E9C E00B831C 8C42001C */ lw $v0, 0x1c($v0)
/* 3B7EA0 E00B8320 3C038000 */ lui $v1, 0x8000
/* 3B7EA4 E00B8324 00431021 */ addu $v0, $v0, $v1
/* 3B7EA8 E00B8328 AD020004 */ sw $v0, 4($t0)
/* 3B7EAC E00B832C 8E650004 */ lw $a1, 4($s3)
/* 3B7EB0 E00B8330 8E660008 */ lw $a2, 8($s3)
/* 3B7EB4 E00B8334 8E67000C */ lw $a3, 0xc($s3)
/* 3B7EB8 E00B8338 25080008 */ addiu $t0, $t0, 8
/* 3B7EBC E00B833C 0C080108 */ jal func_E0200420
/* 3B7EC0 E00B8340 AE880000 */ sw $t0, ($s4)
/* 3B7EC4 E00B8344 27B50058 */ addiu $s5, $sp, 0x58
/* 3B7EC8 E00B8348 8E650034 */ lw $a1, 0x34($s3)
/* 3B7ECC E00B834C 02A0202D */ daddu $a0, $s5, $zero
/* 3B7ED0 E00B8350 00A0302D */ daddu $a2, $a1, $zero
/* 3B7ED4 E00B8354 0C080110 */ jal func_E0200440
/* 3B7ED8 E00B8358 00A0382D */ daddu $a3, $a1, $zero
/* 3B7EDC E00B835C 02A0202D */ daddu $a0, $s5, $zero
/* 3B7EE0 E00B8360 27A50018 */ addiu $a1, $sp, 0x18
/* 3B7EE4 E00B8364 0C080114 */ jal func_E0200450
/* 3B7EE8 E00B8368 00A0302D */ daddu $a2, $a1, $zero
/* 3B7EEC E00B836C 27A40018 */ addiu $a0, $sp, 0x18
/* 3B7EF0 E00B8370 3C108007 */ lui $s0, 0x8007
/* 3B7EF4 E00B8374 261041F0 */ addiu $s0, $s0, 0x41f0
/* 3B7EF8 E00B8378 3C11800A */ lui $s1, 0x800a
/* 3B7EFC E00B837C 2631A674 */ addiu $s1, $s1, -0x598c
/* 3B7F00 E00B8380 96050000 */ lhu $a1, ($s0)
/* 3B7F04 E00B8384 8E220000 */ lw $v0, ($s1)
/* 3B7F08 E00B8388 00052980 */ sll $a1, $a1, 6
/* 3B7F0C E00B838C 00B22821 */ addu $a1, $a1, $s2
/* 3B7F10 E00B8390 0C080118 */ jal func_E0200460
/* 3B7F14 E00B8394 00452821 */ addu $a1, $v0, $a1
/* 3B7F18 E00B8398 3C03DA38 */ lui $v1, 0xda38
/* 3B7F1C E00B839C 34630002 */ ori $v1, $v1, 2
/* 3B7F20 E00B83A0 3C09DA38 */ lui $t1, 0xda38
/* 3B7F24 E00B83A4 35290001 */ ori $t1, $t1, 1
/* 3B7F28 E00B83A8 27A40018 */ addiu $a0, $sp, 0x18
/* 3B7F2C E00B83AC 4480B000 */ mtc1 $zero, $f22
/* 3B7F30 E00B83B0 8E880000 */ lw $t0, ($s4)
/* 3B7F34 E00B83B4 96020000 */ lhu $v0, ($s0)
/* 3B7F38 E00B83B8 3C013F80 */ lui $at, 0x3f80
/* 3B7F3C E00B83BC 4481A000 */ mtc1 $at, $f20
/* 3B7F40 E00B83C0 0100282D */ daddu $a1, $t0, $zero
/* 3B7F44 E00B83C4 25080008 */ addiu $t0, $t0, 8
/* 3B7F48 E00B83C8 AE880000 */ sw $t0, ($s4)
/* 3B7F4C E00B83CC ACA30000 */ sw $v1, ($a1)
/* 3B7F50 E00B83D0 24430001 */ addiu $v1, $v0, 1
/* 3B7F54 E00B83D4 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B7F58 E00B83D8 00021180 */ sll $v0, $v0, 6
/* 3B7F5C E00B83DC 4406B000 */ mfc1 $a2, $f22
/* 3B7F60 E00B83E0 00521021 */ addu $v0, $v0, $s2
/* 3B7F64 E00B83E4 A6030000 */ sh $v1, ($s0)
/* 3B7F68 E00B83E8 8E230000 */ lw $v1, ($s1)
/* 3B7F6C E00B83EC 4407B000 */ mfc1 $a3, $f22
/* 3B7F70 E00B83F0 00621821 */ addu $v1, $v1, $v0
/* 3B7F74 E00B83F4 25020008 */ addiu $v0, $t0, 8
/* 3B7F78 E00B83F8 ACA30004 */ sw $v1, 4($a1)
/* 3B7F7C E00B83FC AE820000 */ sw $v0, ($s4)
/* 3B7F80 E00B8400 AD090000 */ sw $t1, ($t0)
/* 3B7F84 E00B8404 8EE30204 */ lw $v1, 0x204($s7)
/* 3B7F88 E00B8408 3C17DE00 */ lui $s7, 0xde00
/* 3B7F8C E00B840C 3C020900 */ lui $v0, 0x900
/* 3B7F90 E00B8410 24420280 */ addiu $v0, $v0, 0x280
/* 3B7F94 E00B8414 AD170008 */ sw $s7, 8($t0)
/* 3B7F98 E00B8418 AD02000C */ sw $v0, 0xc($t0)
/* 3B7F9C E00B841C AD030004 */ sw $v1, 4($t0)
/* 3B7FA0 E00B8420 E7B40010 */ swc1 $f20, 0x10($sp)
/* 3B7FA4 E00B8424 8E650038 */ lw $a1, 0x38($s3)
/* 3B7FA8 E00B8428 25080010 */ addiu $t0, $t0, 0x10
/* 3B7FAC E00B842C 0C080104 */ jal func_E0200410
/* 3B7FB0 E00B8430 AE880000 */ sw $t0, ($s4)
/* 3B7FB4 E00B8434 8E65003C */ lw $a1, 0x3c($s3)
/* 3B7FB8 E00B8438 8E660040 */ lw $a2, 0x40($s3)
/* 3B7FBC E00B843C 4407A000 */ mfc1 $a3, $f20
/* 3B7FC0 E00B8440 0C080110 */ jal func_E0200440
/* 3B7FC4 E00B8444 02A0202D */ daddu $a0, $s5, $zero
/* 3B7FC8 E00B8448 02A0202D */ daddu $a0, $s5, $zero
/* 3B7FCC E00B844C 27A50018 */ addiu $a1, $sp, 0x18
/* 3B7FD0 E00B8450 0C080114 */ jal func_E0200450
/* 3B7FD4 E00B8454 00A0302D */ daddu $a2, $a1, $zero
/* 3B7FD8 E00B8458 27A40018 */ addiu $a0, $sp, 0x18
/* 3B7FDC E00B845C 96050000 */ lhu $a1, ($s0)
/* 3B7FE0 E00B8460 8E220000 */ lw $v0, ($s1)
/* 3B7FE4 E00B8464 00052980 */ sll $a1, $a1, 6
/* 3B7FE8 E00B8468 00B22821 */ addu $a1, $a1, $s2
/* 3B7FEC E00B846C 0C080118 */ jal func_E0200460
/* 3B7FF0 E00B8470 00452821 */ addu $a1, $v0, $a1
/* 3B7FF4 E00B8474 8E850000 */ lw $a1, ($s4)
/* 3B7FF8 E00B8478 00A0202D */ daddu $a0, $a1, $zero
/* 3B7FFC E00B847C 24A50008 */ addiu $a1, $a1, 8
/* 3B8000 E00B8480 AE850000 */ sw $a1, ($s4)
/* 3B8004 E00B8484 96020000 */ lhu $v0, ($s0)
/* 3B8008 E00B8488 3C03DA38 */ lui $v1, 0xda38
/* 3B800C E00B848C AC830000 */ sw $v1, ($a0)
/* 3B8010 E00B8490 24430001 */ addiu $v1, $v0, 1
/* 3B8014 E00B8494 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B8018 E00B8498 00021180 */ sll $v0, $v0, 6
/* 3B801C E00B849C A6030000 */ sh $v1, ($s0)
/* 3B8020 E00B84A0 8E230000 */ lw $v1, ($s1)
/* 3B8024 E00B84A4 00521021 */ addu $v0, $v0, $s2
/* 3B8028 E00B84A8 00621821 */ addu $v1, $v1, $v0
/* 3B802C E00B84AC 24A20008 */ addiu $v0, $a1, 8
/* 3B8030 E00B84B0 AC830004 */ sw $v1, 4($a0)
/* 3B8034 E00B84B4 AE820000 */ sw $v0, ($s4)
/* 3B8038 E00B84B8 3C02FB00 */ lui $v0, 0xfb00
/* 3B803C E00B84BC ACA20000 */ sw $v0, ($a1)
/* 3B8040 E00B84C0 9262002B */ lbu $v0, 0x2b($s3)
/* 3B8044 E00B84C4 9264002F */ lbu $a0, 0x2f($s3)
/* 3B8048 E00B84C8 92630033 */ lbu $v1, 0x33($s3)
/* 3B804C E00B84CC 8FAA00A0 */ lw $t2, 0xa0($sp)
/* 3B8050 E00B84D0 00021600 */ sll $v0, $v0, 0x18
/* 3B8054 E00B84D4 00042400 */ sll $a0, $a0, 0x10
/* 3B8058 E00B84D8 00441025 */ or $v0, $v0, $a0
/* 3B805C E00B84DC 00031A00 */ sll $v1, $v1, 8
/* 3B8060 E00B84E0 00431025 */ or $v0, $v0, $v1
/* 3B8064 E00B84E4 314400FF */ andi $a0, $t2, 0xff
/* 3B8068 E00B84E8 00441025 */ or $v0, $v0, $a0
/* 3B806C E00B84EC ACA20004 */ sw $v0, 4($a1)
/* 3B8070 E00B84F0 8FAA009C */ lw $t2, 0x9c($sp)
/* 3B8074 E00B84F4 25420001 */ addiu $v0, $t2, 1
/* 3B8078 E00B84F8 8FAA0098 */ lw $t2, 0x98($sp)
/* 3B807C E00B84FC 02C21023 */ subu $v0, $s6, $v0
/* 3B8080 E00B8500 0142102A */ slt $v0, $t2, $v0
/* 3B8084 E00B8504 14400018 */ bnez $v0, .LE00B8568
/* 3B8088 E00B8508 00161042 */ srl $v0, $s6, 1
/* 3B808C E00B850C 24A20010 */ addiu $v0, $a1, 0x10
/* 3B8090 E00B8510 AE820000 */ sw $v0, ($s4)
/* 3B8094 E00B8514 3C02FA00 */ lui $v0, 0xfa00
/* 3B8098 E00B8518 ACA20008 */ sw $v0, 8($a1)
/* 3B809C E00B851C 8FAA00A4 */ lw $t2, 0xa4($sp)
/* 3B80A0 E00B8520 000A1E00 */ sll $v1, $t2, 0x18
/* 3B80A4 E00B8524 8FAA00A8 */ lw $t2, 0xa8($sp)
/* 3B80A8 E00B8528 314200FF */ andi $v0, $t2, 0xff
/* 3B80AC E00B852C 00021400 */ sll $v0, $v0, 0x10
/* 3B80B0 E00B8530 8FAA00AC */ lw $t2, 0xac($sp)
/* 3B80B4 E00B8534 00621825 */ or $v1, $v1, $v0
/* 3B80B8 E00B8538 314200FF */ andi $v0, $t2, 0xff
/* 3B80BC E00B853C 00021200 */ sll $v0, $v0, 8
/* 3B80C0 E00B8540 00621825 */ or $v1, $v1, $v0
/* 3B80C4 E00B8544 00641825 */ or $v1, $v1, $a0
/* 3B80C8 E00B8548 24A20018 */ addiu $v0, $a1, 0x18
/* 3B80CC E00B854C ACA3000C */ sw $v1, 0xc($a1)
/* 3B80D0 E00B8550 AE820000 */ sw $v0, ($s4)
/* 3B80D4 E00B8554 3C020900 */ lui $v0, 0x900
/* 3B80D8 E00B8558 24420348 */ addiu $v0, $v0, 0x348
/* 3B80DC E00B855C ACB70010 */ sw $s7, 0x10($a1)
/* 3B80E0 E00B8560 ACA20014 */ sw $v0, 0x14($a1)
/* 3B80E4 E00B8564 00161042 */ srl $v0, $s6, 1
.LE00B8568:
/* 3B80E8 E00B8568 184000BF */ blez $v0, .LE00B8868
/* 3B80EC E00B856C 0000B82D */ daddu $s7, $zero, $zero
/* 3B80F0 E00B8570 001E1080 */ sll $v0, $fp, 2
/* 3B80F4 E00B8574 4600B506 */ mov.s $f20, $f22
/* 3B80F8 E00B8578 3C01E00C */ lui $at, 0xe00c
/* 3B80FC E00B857C D4368CD0 */ ldc1 $f22, -0x7330($at)
/* 3B8100 E00B8580 005E1021 */ addu $v0, $v0, $fp
/* 3B8104 E00B8584 AFA200BC */ sw $v0, 0xbc($sp)
/* 3B8108 E00B8588 AFBE00C4 */ sw $fp, 0xc4($sp)
.LE00B858C:
/* 3B810C E00B858C 8FAA00B0 */ lw $t2, 0xb0($sp)
/* 3B8110 E00B8590 114000AE */ beqz $t2, .LE00B884C
/* 3B8114 E00B8594 0000902D */ daddu $s2, $zero, $zero
/* 3B8118 E00B8598 3C1E0001 */ lui $fp, 1
/* 3B811C E00B859C 37DE1630 */ ori $fp, $fp, 0x1630
/* 3B8120 E00B85A0 3C14800A */ lui $s4, 0x800a
/* 3B8124 E00B85A4 2694A66C */ addiu $s4, $s4, -0x5994
/* 3B8128 E00B85A8 8FAA00C4 */ lw $t2, 0xc4($sp)
/* 3B812C E00B85AC 0240982D */ daddu $s3, $s2, $zero
/* 3B8130 E00B85B0 AFAA00B8 */ sw $t2, 0xb8($sp)
/* 3B8134 E00B85B4 8FAA00A4 */ lw $t2, 0xa4($sp)
/* 3B8138 E00B85B8 3C013F80 */ lui $at, 0x3f80
/* 3B813C E00B85BC 4481C000 */ mtc1 $at, $f24
/* 3B8140 E00B85C0 000A5600 */ sll $t2, $t2, 0x18
/* 3B8144 E00B85C4 AFAA00C0 */ sw $t2, 0xc0($sp)
.LE00B85C8:
/* 3B8148 E00B85C8 8FAA00B8 */ lw $t2, 0xb8($sp)
/* 3B814C E00B85CC 16C00002 */ bnez $s6, .LE00B85D8
/* 3B8150 E00B85D0 0156001A */ div $zero, $t2, $s6
/* 3B8154 E00B85D4 0007000D */ break 7
.LE00B85D8:
/* 3B8158 E00B85D8 2401FFFF */ addiu $at, $zero, -1
/* 3B815C E00B85DC 16C10004 */ bne $s6, $at, .LE00B85F0
/* 3B8160 E00B85E0 3C018000 */ lui $at, 0x8000
/* 3B8164 E00B85E4 15410002 */ bne $t2, $at, .LE00B85F0
/* 3B8168 E00B85E8 00000000 */ nop
/* 3B816C E00B85EC 0006000D */ break 6
.LE00B85F0:
/* 3B8170 E00B85F0 00001810 */ mfhi $v1
/* 3B8174 E00B85F4 00131080 */ sll $v0, $s3, 2
/* 3B8178 E00B85F8 00531021 */ addu $v0, $v0, $s3
/* 3B817C E00B85FC 8FAA00B4 */ lw $t2, 0xb4($sp)
/* 3B8180 E00B8600 00021040 */ sll $v0, $v0, 1
/* 3B8184 E00B8604 01422821 */ addu $a1, $t2, $v0
/* 3B8188 E00B8608 8FAA00BC */ lw $t2, 0xbc($sp)
/* 3B818C E00B860C 0143102A */ slt $v0, $t2, $v1
/* 3B8190 E00B8610 14400089 */ bnez $v0, .LE00B8838
/* 3B8194 E00B8614 24620001 */ addiu $v0, $v1, 1
/* 3B8198 E00B8618 8FAA0098 */ lw $t2, 0x98($sp)
/* 3B819C E00B861C 02C21023 */ subu $v0, $s6, $v0
/* 3B81A0 E00B8620 0142102A */ slt $v0, $t2, $v0
/* 3B81A4 E00B8624 14400084 */ bnez $v0, .LE00B8838
/* 3B81A8 E00B8628 00038080 */ sll $s0, $v1, 2
/* 3B81AC E00B862C 02038021 */ addu $s0, $s0, $v1
/* 3B81B0 E00B8630 00108040 */ sll $s0, $s0, 1
/* 3B81B4 E00B8634 02058821 */ addu $s1, $s0, $a1
/* 3B81B8 E00B8638 82220001 */ lb $v0, 1($s1)
/* 3B81BC E00B863C 3C014120 */ lui $at, 0x4120
/* 3B81C0 E00B8640 44811000 */ mtc1 $at, $f2
/* 3B81C4 E00B8644 4407A000 */ mfc1 $a3, $f20
/* 3B81C8 E00B8648 44820000 */ mtc1 $v0, $f0
/* 3B81CC E00B864C 00000000 */ nop
/* 3B81D0 E00B8650 46800020 */ cvt.s.w $f0, $f0
/* 3B81D4 E00B8654 82220000 */ lb $v0, ($s1)
/* 3B81D8 E00B8658 46020000 */ add.s $f0, $f0, $f2
/* 3B81DC E00B865C 44822000 */ mtc1 $v0, $f4
/* 3B81E0 E00B8660 00000000 */ nop
/* 3B81E4 E00B8664 46802120 */ cvt.s.w $f4, $f4
/* 3B81E8 E00B8668 44052000 */ mfc1 $a1, $f4
/* 3B81EC E00B866C 44060000 */ mfc1 $a2, $f0
/* 3B81F0 E00B8670 0C080108 */ jal func_E0200420
/* 3B81F4 E00B8674 27A40018 */ addiu $a0, $sp, 0x18
/* 3B81F8 E00B8678 8FAA00B4 */ lw $t2, 0xb4($sp)
/* 3B81FC E00B867C 020A8021 */ addu $s0, $s0, $t2
/* 3B8200 E00B8680 86020002 */ lh $v0, 2($s0)
/* 3B8204 E00B8684 44821000 */ mtc1 $v0, $f2
/* 3B8208 E00B8688 00000000 */ nop
/* 3B820C E00B868C 468010A0 */ cvt.s.w $f2, $f2
/* 3B8210 E00B8690 460010A1 */ cvt.d.s $f2, $f2
/* 3B8214 E00B8694 46361082 */ mul.d $f2, $f2, $f22
/* 3B8218 E00B8698 00000000 */ nop
/* 3B821C E00B869C 86020004 */ lh $v0, 4($s0)
/* 3B8220 E00B86A0 44820000 */ mtc1 $v0, $f0
/* 3B8224 E00B86A4 00000000 */ nop
/* 3B8228 E00B86A8 46800020 */ cvt.s.w $f0, $f0
/* 3B822C E00B86AC 46000021 */ cvt.d.s $f0, $f0
/* 3B8230 E00B86B0 46360002 */ mul.d $f0, $f0, $f22
/* 3B8234 E00B86B4 00000000 */ nop
/* 3B8238 E00B86B8 4407C000 */ mfc1 $a3, $f24
/* 3B823C E00B86BC 462010A0 */ cvt.s.d $f2, $f2
/* 3B8240 E00B86C0 44051000 */ mfc1 $a1, $f2
/* 3B8244 E00B86C4 46200020 */ cvt.s.d $f0, $f0
/* 3B8248 E00B86C8 44060000 */ mfc1 $a2, $f0
/* 3B824C E00B86CC 0C080110 */ jal func_E0200440
/* 3B8250 E00B86D0 02A0202D */ daddu $a0, $s5, $zero
/* 3B8254 E00B86D4 02A0202D */ daddu $a0, $s5, $zero
/* 3B8258 E00B86D8 27A50018 */ addiu $a1, $sp, 0x18
/* 3B825C E00B86DC 0C080114 */ jal func_E0200450
/* 3B8260 E00B86E0 00A0302D */ daddu $a2, $a1, $zero
/* 3B8264 E00B86E4 86220006 */ lh $v0, 6($s1)
/* 3B8268 E00B86E8 3C0AE00C */ lui $t2, 0xe00c
/* 3B826C E00B86EC 254A8CA4 */ addiu $t2, $t2, -0x735c
/* 3B8270 E00B86F0 44821000 */ mtc1 $v0, $f2
/* 3B8274 E00B86F4 00000000 */ nop
/* 3B8278 E00B86F8 468010A0 */ cvt.s.w $f2, $f2
/* 3B827C E00B86FC 02571021 */ addu $v0, $s2, $s7
/* 3B8280 E00B8700 30420007 */ andi $v0, $v0, 7
/* 3B8284 E00B8704 00021080 */ sll $v0, $v0, 2
/* 3B8288 E00B8708 004A1021 */ addu $v0, $v0, $t2
/* 3B828C E00B870C C4400000 */ lwc1 $f0, ($v0)
/* 3B8290 E00B8710 46800020 */ cvt.s.w $f0, $f0
/* 3B8294 E00B8714 46001080 */ add.s $f2, $f2, $f0
/* 3B8298 E00B8718 4406A000 */ mfc1 $a2, $f20
/* 3B829C E00B871C 4407A000 */ mfc1 $a3, $f20
/* 3B82A0 E00B8720 44051000 */ mfc1 $a1, $f2
/* 3B82A4 E00B8724 02A0202D */ daddu $a0, $s5, $zero
/* 3B82A8 E00B8728 0C080104 */ jal func_E0200410
/* 3B82AC E00B872C E7B80010 */ swc1 $f24, 0x10($sp)
/* 3B82B0 E00B8730 02A0202D */ daddu $a0, $s5, $zero
/* 3B82B4 E00B8734 27A50018 */ addiu $a1, $sp, 0x18
/* 3B82B8 E00B8738 0C080114 */ jal func_E0200450
/* 3B82BC E00B873C 00A0302D */ daddu $a2, $a1, $zero
/* 3B82C0 E00B8740 27A40018 */ addiu $a0, $sp, 0x18
/* 3B82C4 E00B8744 3C058007 */ lui $a1, 0x8007
/* 3B82C8 E00B8748 94A541F0 */ lhu $a1, 0x41f0($a1)
/* 3B82CC E00B874C 3C02800A */ lui $v0, 0x800a
/* 3B82D0 E00B8750 8C42A674 */ lw $v0, -0x598c($v0)
/* 3B82D4 E00B8754 00052980 */ sll $a1, $a1, 6
/* 3B82D8 E00B8758 00BE2821 */ addu $a1, $a1, $fp
/* 3B82DC E00B875C 0C080118 */ jal func_E0200460
/* 3B82E0 E00B8760 00452821 */ addu $a1, $v0, $a1
/* 3B82E4 E00B8764 3C06D838 */ lui $a2, 0xd838
/* 3B82E8 E00B8768 8E840000 */ lw $a0, ($s4)
/* 3B82EC E00B876C 34C60002 */ ori $a2, $a2, 2
/* 3B82F0 E00B8770 0080282D */ daddu $a1, $a0, $zero
/* 3B82F4 E00B8774 24840008 */ addiu $a0, $a0, 8
/* 3B82F8 E00B8778 AE840000 */ sw $a0, ($s4)
/* 3B82FC E00B877C 3C028007 */ lui $v0, 0x8007
/* 3B8300 E00B8780 944241F0 */ lhu $v0, 0x41f0($v0)
/* 3B8304 E00B8784 3C03DA38 */ lui $v1, 0xda38
/* 3B8308 E00B8788 ACA30000 */ sw $v1, ($a1)
/* 3B830C E00B878C 24430001 */ addiu $v1, $v0, 1
/* 3B8310 E00B8790 3042FFFF */ andi $v0, $v0, 0xffff
/* 3B8314 E00B8794 00021180 */ sll $v0, $v0, 6
/* 3B8318 E00B8798 3C018007 */ lui $at, 0x8007
/* 3B831C E00B879C A42341F0 */ sh $v1, 0x41f0($at)
/* 3B8320 E00B87A0 3C03800A */ lui $v1, 0x800a
/* 3B8324 E00B87A4 8C63A674 */ lw $v1, -0x598c($v1)
/* 3B8328 E00B87A8 005E1021 */ addu $v0, $v0, $fp
/* 3B832C E00B87AC 00621821 */ addu $v1, $v1, $v0
/* 3B8330 E00B87B0 24820008 */ addiu $v0, $a0, 8
/* 3B8334 E00B87B4 ACA30004 */ sw $v1, 4($a1)
/* 3B8338 E00B87B8 AE820000 */ sw $v0, ($s4)
/* 3B833C E00B87BC 3C02FA00 */ lui $v0, 0xfa00
/* 3B8340 E00B87C0 AC820000 */ sw $v0, ($a0)
/* 3B8344 E00B87C4 92050008 */ lbu $a1, 8($s0)
/* 3B8348 E00B87C8 24820010 */ addiu $v0, $a0, 0x10
/* 3B834C E00B87CC AE820000 */ sw $v0, ($s4)
/* 3B8350 E00B87D0 3C02DE00 */ lui $v0, 0xde00
/* 3B8354 E00B87D4 AC820008 */ sw $v0, 8($a0)
/* 3B8358 E00B87D8 3C020900 */ lui $v0, 0x900
/* 3B835C E00B87DC 24420328 */ addiu $v0, $v0, 0x328
/* 3B8360 E00B87E0 AC82000C */ sw $v0, 0xc($a0)
/* 3B8364 E00B87E4 24820018 */ addiu $v0, $a0, 0x18
/* 3B8368 E00B87E8 AE820000 */ sw $v0, ($s4)
/* 3B836C E00B87EC 24020040 */ addiu $v0, $zero, 0x40
/* 3B8370 E00B87F0 AC860010 */ sw $a2, 0x10($a0)
/* 3B8374 E00B87F4 AC820014 */ sw $v0, 0x14($a0)
/* 3B8378 E00B87F8 8FAA00A8 */ lw $t2, 0xa8($sp)
/* 3B837C E00B87FC 314300FF */ andi $v1, $t2, 0xff
/* 3B8380 E00B8800 8FAA00A0 */ lw $t2, 0xa0($sp)
/* 3B8384 E00B8804 01450018 */ mult $t2, $a1
/* 3B8388 E00B8808 8FAA00C0 */ lw $t2, 0xc0($sp)
/* 3B838C E00B880C 00031C00 */ sll $v1, $v1, 0x10
/* 3B8390 E00B8810 01431825 */ or $v1, $t2, $v1
/* 3B8394 E00B8814 8FAA00AC */ lw $t2, 0xac($sp)
/* 3B8398 E00B8818 314200FF */ andi $v0, $t2, 0xff
/* 3B839C E00B881C 00021200 */ sll $v0, $v0, 8
/* 3B83A0 E00B8820 00621825 */ or $v1, $v1, $v0
/* 3B83A4 E00B8824 00005012 */ mflo $t2
/* 3B83A8 E00B8828 000A1203 */ sra $v0, $t2, 8
/* 3B83AC E00B882C 304200FF */ andi $v0, $v0, 0xff
/* 3B83B0 E00B8830 00621825 */ or $v1, $v1, $v0
/* 3B83B4 E00B8834 AC830004 */ sw $v1, 4($a0)
.LE00B8838:
/* 3B83B8 E00B8838 8FAA00B0 */ lw $t2, 0xb0($sp)
/* 3B83BC E00B883C 26520001 */ addiu $s2, $s2, 1
/* 3B83C0 E00B8840 024A102A */ slt $v0, $s2, $t2
/* 3B83C4 E00B8844 1440FF60 */ bnez $v0, .LE00B85C8
/* 3B83C8 E00B8848 02769821 */ addu $s3, $s3, $s6
.LE00B884C:
/* 3B83CC E00B884C 26F70001 */ addiu $s7, $s7, 1
/* 3B83D0 E00B8850 00161042 */ srl $v0, $s6, 1
/* 3B83D4 E00B8854 8FAA00C4 */ lw $t2, 0xc4($sp)
/* 3B83D8 E00B8858 02E2102A */ slt $v0, $s7, $v0
/* 3B83DC E00B885C 254A0002 */ addiu $t2, $t2, 2
/* 3B83E0 E00B8860 1440FF4A */ bnez $v0, .LE00B858C
/* 3B83E4 E00B8864 AFAA00C4 */ sw $t2, 0xc4($sp)
.LE00B8868:
/* 3B83E8 E00B8868 3C06D838 */ lui $a2, 0xd838
/* 3B83EC E00B886C 3C04800A */ lui $a0, 0x800a
/* 3B83F0 E00B8870 2484A66C */ addiu $a0, $a0, -0x5994
/* 3B83F4 E00B8874 34C60002 */ ori $a2, $a2, 2
/* 3B83F8 E00B8878 8C820000 */ lw $v0, ($a0)
/* 3B83FC E00B887C 24050040 */ addiu $a1, $zero, 0x40
/* 3B8400 E00B8880 0040182D */ daddu $v1, $v0, $zero
/* 3B8404 E00B8884 24420008 */ addiu $v0, $v0, 8
/* 3B8408 E00B8888 AC820000 */ sw $v0, ($a0)
/* 3B840C E00B888C AC660000 */ sw $a2, ($v1)
/* 3B8410 E00B8890 AC650004 */ sw $a1, 4($v1)
/* 3B8414 E00B8894 24430008 */ addiu $v1, $v0, 8
/* 3B8418 E00B8898 AC830000 */ sw $v1, ($a0)
/* 3B841C E00B889C 24430010 */ addiu $v1, $v0, 0x10
/* 3B8420 E00B88A0 AC460000 */ sw $a2, ($v0)
/* 3B8424 E00B88A4 AC450004 */ sw $a1, 4($v0)
/* 3B8428 E00B88A8 AC830000 */ sw $v1, ($a0)
/* 3B842C E00B88AC 3C03E700 */ lui $v1, 0xe700
/* 3B8430 E00B88B0 AC430008 */ sw $v1, 8($v0)
/* 3B8434 E00B88B4 AC40000C */ sw $zero, 0xc($v0)
/* 3B8438 E00B88B8 8FBF00EC */ lw $ra, 0xec($sp)
/* 3B843C E00B88BC 8FBE00E8 */ lw $fp, 0xe8($sp)
/* 3B8440 E00B88C0 8FB700E4 */ lw $s7, 0xe4($sp)
/* 3B8444 E00B88C4 8FB600E0 */ lw $s6, 0xe0($sp)
/* 3B8448 E00B88C8 8FB500DC */ lw $s5, 0xdc($sp)
/* 3B844C E00B88CC 8FB400D8 */ lw $s4, 0xd8($sp)
/* 3B8450 E00B88D0 8FB300D4 */ lw $s3, 0xd4($sp)
/* 3B8454 E00B88D4 8FB200D0 */ lw $s2, 0xd0($sp)
/* 3B8458 E00B88D8 8FB100CC */ lw $s1, 0xcc($sp)
/* 3B845C E00B88DC 8FB000C8 */ lw $s0, 0xc8($sp)
/* 3B8460 E00B88E0 D7B80100 */ ldc1 $f24, 0x100($sp)
/* 3B8464 E00B88E4 D7B600F8 */ ldc1 $f22, 0xf8($sp)
/* 3B8468 E00B88E8 D7B400F0 */ ldc1 $f20, 0xf0($sp)
/* 3B846C E00B88EC 03E00008 */ jr $ra

View File

@ -0,0 +1,126 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00BC000
/* 3BA030 E00BC000 27BDFF90 */ addiu $sp, $sp, -0x70
/* 3BA034 E00BC004 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 3BA038 E00BC008 4485A000 */ mtc1 $a1, $f20
/* 3BA03C E00BC00C F7B60048 */ sdc1 $f22, 0x48($sp)
/* 3BA040 E00BC010 4486B000 */ mtc1 $a2, $f22
/* 3BA044 E00BC014 F7B80050 */ sdc1 $f24, 0x50($sp)
/* 3BA048 E00BC018 4487C000 */ mtc1 $a3, $f24
/* 3BA04C E00BC01C F7BA0058 */ sdc1 $f26, 0x58($sp)
/* 3BA050 E00BC020 C7BA0080 */ lwc1 $f26, 0x80($sp)
/* 3BA054 E00BC024 F7BC0060 */ sdc1 $f28, 0x60($sp)
/* 3BA058 E00BC028 C7BC0084 */ lwc1 $f28, 0x84($sp)
/* 3BA05C E00BC02C AFB30034 */ sw $s3, 0x34($sp)
/* 3BA060 E00BC030 0080982D */ daddu $s3, $a0, $zero
/* 3BA064 E00BC034 F7BE0068 */ sdc1 $f30, 0x68($sp)
/* 3BA068 E00BC038 C7BE0088 */ lwc1 $f30, 0x88($sp)
/* 3BA06C E00BC03C 27A40010 */ addiu $a0, $sp, 0x10
/* 3BA070 E00BC040 AFB1002C */ sw $s1, 0x2c($sp)
/* 3BA074 E00BC044 8FB10090 */ lw $s1, 0x90($sp)
/* 3BA078 E00BC048 3C02E00C */ lui $v0, 0xe00c
/* 3BA07C E00BC04C 2442C1D0 */ addiu $v0, $v0, -0x3e30
/* 3BA080 E00BC050 AFA20018 */ sw $v0, 0x18($sp)
/* 3BA084 E00BC054 3C02E00C */ lui $v0, 0xe00c
/* 3BA088 E00BC058 2442C238 */ addiu $v0, $v0, -0x3dc8
/* 3BA08C E00BC05C AFA2001C */ sw $v0, 0x1c($sp)
/* 3BA090 E00BC060 3C02E00C */ lui $v0, 0xe00c
/* 3BA094 E00BC064 2442C2E8 */ addiu $v0, $v0, -0x3d18
/* 3BA098 E00BC068 AFA20020 */ sw $v0, 0x20($sp)
/* 3BA09C E00BC06C 2402005E */ addiu $v0, $zero, 0x5e
/* 3BA0A0 E00BC070 AFBF0038 */ sw $ra, 0x38($sp)
/* 3BA0A4 E00BC074 AFB20030 */ sw $s2, 0x30($sp)
/* 3BA0A8 E00BC078 AFB00028 */ sw $s0, 0x28($sp)
/* 3BA0AC E00BC07C AFA00010 */ sw $zero, 0x10($sp)
/* 3BA0B0 E00BC080 AFA00024 */ sw $zero, 0x24($sp)
/* 3BA0B4 E00BC084 0C080124 */ jal func_E0200490
/* 3BA0B8 E00BC088 AFA20014 */ sw $v0, 0x14($sp)
/* 3BA0BC E00BC08C 24040118 */ addiu $a0, $zero, 0x118
/* 3BA0C0 E00BC090 24030001 */ addiu $v1, $zero, 1
/* 3BA0C4 E00BC094 0040902D */ daddu $s2, $v0, $zero
/* 3BA0C8 E00BC098 0C08012C */ jal func_E02004B0
/* 3BA0CC E00BC09C AE430008 */ sw $v1, 8($s2)
/* 3BA0D0 E00BC0A0 0040802D */ daddu $s0, $v0, $zero
/* 3BA0D4 E00BC0A4 16000003 */ bnez $s0, .LE00BC0B4
/* 3BA0D8 E00BC0A8 AE42000C */ sw $v0, 0xc($s2)
.LE00BC0AC:
/* 3BA0DC E00BC0AC 0802F02B */ j .LE00BC0AC
/* 3BA0E0 E00BC0B0 00000000 */ nop
.LE00BC0B4:
/* 3BA0E4 E00BC0B4 AE130000 */ sw $s3, ($s0)
/* 3BA0E8 E00BC0B8 1E200004 */ bgtz $s1, .LE00BC0CC
/* 3BA0EC E00BC0BC AE00002C */ sw $zero, 0x2c($s0)
/* 3BA0F0 E00BC0C0 240203E8 */ addiu $v0, $zero, 0x3e8
/* 3BA0F4 E00BC0C4 0802F034 */ j .LE00BC0D0
/* 3BA0F8 E00BC0C8 AE020028 */ sw $v0, 0x28($s0)
.LE00BC0CC:
/* 3BA0FC E00BC0CC AE110028 */ sw $s1, 0x28($s0)
.LE00BC0D0:
/* 3BA100 E00BC0D0 461AA081 */ sub.s $f2, $f20, $f26
/* 3BA104 E00BC0D4 46021082 */ mul.s $f2, $f2, $f2
/* 3BA108 E00BC0D8 00000000 */ nop
/* 3BA10C E00BC0DC 461CB101 */ sub.s $f4, $f22, $f28
/* 3BA110 E00BC0E0 46042102 */ mul.s $f4, $f4, $f4
/* 3BA114 E00BC0E4 00000000 */ nop
/* 3BA118 E00BC0E8 241100FF */ addiu $s1, $zero, 0xff
/* 3BA11C E00BC0EC AE11003C */ sw $s1, 0x3c($s0)
/* 3BA120 E00BC0F0 E6140010 */ swc1 $f20, 0x10($s0)
/* 3BA124 E00BC0F4 E6160014 */ swc1 $f22, 0x14($s0)
/* 3BA128 E00BC0F8 461EC001 */ sub.s $f0, $f24, $f30
/* 3BA12C E00BC0FC E6180018 */ swc1 $f24, 0x18($s0)
/* 3BA130 E00BC100 E61A001C */ swc1 $f26, 0x1c($s0)
/* 3BA134 E00BC104 46000002 */ mul.s $f0, $f0, $f0
/* 3BA138 E00BC108 00000000 */ nop
/* 3BA13C E00BC10C E61C0020 */ swc1 $f28, 0x20($s0)
/* 3BA140 E00BC110 E61E0024 */ swc1 $f30, 0x24($s0)
/* 3BA144 E00BC114 E6140004 */ swc1 $f20, 4($s0)
/* 3BA148 E00BC118 E6160008 */ swc1 $f22, 8($s0)
/* 3BA14C E00BC11C 46041080 */ add.s $f2, $f2, $f4
/* 3BA150 E00BC120 E618000C */ swc1 $f24, 0xc($s0)
/* 3BA154 E00BC124 44802000 */ mtc1 $zero, $f4
/* 3BA158 E00BC128 46001300 */ add.s $f12, $f2, $f0
/* 3BA15C E00BC12C C7A0008C */ lwc1 $f0, 0x8c($sp)
/* 3BA160 E00BC130 46046032 */ c.eq.s $f12, $f4
/* 3BA164 E00BC134 00000000 */ nop
/* 3BA168 E00BC138 45000003 */ bc1f .LE00BC148
/* 3BA16C E00BC13C E600004C */ swc1 $f0, 0x4c($s0)
/* 3BA170 E00BC140 0802F067 */ j .LE00BC19C
/* 3BA174 E00BC144 0000102D */ daddu $v0, $zero, $zero
.LE00BC148:
/* 3BA178 E00BC148 0C080154 */ jal func_E0200550
/* 3BA17C E00BC14C 00000000 */ nop
/* 3BA180 E00BC150 24040167 */ addiu $a0, $zero, 0x167
/* 3BA184 E00BC154 46000021 */ cvt.d.s $f0, $f0
/* 3BA188 E00BC158 3C01E00C */ lui $at, 0xe00c
/* 3BA18C E00BC15C D422CE50 */ ldc1 $f2, -0x31b0($at)
/* 3BA190 E00BC160 240200DC */ addiu $v0, $zero, 0xdc
/* 3BA194 E00BC164 46220002 */ mul.d $f0, $f0, $f2
/* 3BA198 E00BC168 00000000 */ nop
/* 3BA19C E00BC16C AE020034 */ sw $v0, 0x34($s0)
/* 3BA1A0 E00BC170 24020014 */ addiu $v0, $zero, 0x14
/* 3BA1A4 E00BC174 AE110030 */ sw $s1, 0x30($s0)
/* 3BA1A8 E00BC178 AE020038 */ sw $v0, 0x38($s0)
/* 3BA1AC E00BC17C AE110040 */ sw $s1, 0x40($s0)
/* 3BA1B0 E00BC180 AE110044 */ sw $s1, 0x44($s0)
/* 3BA1B4 E00BC184 AE110048 */ sw $s1, 0x48($s0)
/* 3BA1B8 E00BC188 46200020 */ cvt.s.d $f0, $f0
/* 3BA1BC E00BC18C 0C080138 */ jal func_E02004E0
/* 3BA1C0 E00BC190 E6000114 */ swc1 $f0, 0x114($s0)
/* 3BA1C4 E00BC194 AE020110 */ sw $v0, 0x110($s0)
/* 3BA1C8 E00BC198 0240102D */ daddu $v0, $s2, $zero
.LE00BC19C:
/* 3BA1CC E00BC19C 8FBF0038 */ lw $ra, 0x38($sp)
/* 3BA1D0 E00BC1A0 8FB30034 */ lw $s3, 0x34($sp)
/* 3BA1D4 E00BC1A4 8FB20030 */ lw $s2, 0x30($sp)
/* 3BA1D8 E00BC1A8 8FB1002C */ lw $s1, 0x2c($sp)
/* 3BA1DC E00BC1AC 8FB00028 */ lw $s0, 0x28($sp)
/* 3BA1E0 E00BC1B0 D7BE0068 */ ldc1 $f30, 0x68($sp)
/* 3BA1E4 E00BC1B4 D7BC0060 */ ldc1 $f28, 0x60($sp)
/* 3BA1E8 E00BC1B8 D7BA0058 */ ldc1 $f26, 0x58($sp)
/* 3BA1EC E00BC1BC D7B80050 */ ldc1 $f24, 0x50($sp)
/* 3BA1F0 E00BC1C0 D7B60048 */ ldc1 $f22, 0x48($sp)
/* 3BA1F4 E00BC1C4 D7B40040 */ ldc1 $f20, 0x40($sp)
/* 3BA1F8 E00BC1C8 03E00008 */ jr $ra
/* 3BA1FC E00BC1CC 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_E00BC1D0
/* 3BA200 E00BC1D0 03E00008 */ jr $ra
/* 3BA204 E00BC1D4 00000000 */ nop

View File

@ -0,0 +1,28 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00BC1D8
/* 3BA208 E00BC1D8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 3BA20C E00BC1DC F7B40018 */ sdc1 $f20, 0x18($sp)
/* 3BA210 E00BC1E0 46006506 */ mov.s $f20, $f12
/* 3BA214 E00BC1E4 4600A08D */ trunc.w.s $f2, $f20
/* 3BA218 E00BC1E8 44041000 */ mfc1 $a0, $f2
/* 3BA21C E00BC1EC AFBF0010 */ sw $ra, 0x10($sp)
/* 3BA220 E00BC1F0 0C080138 */ jal func_E02004E0
/* 3BA224 E00BC1F4 00000000 */ nop
/* 3BA228 E00BC1F8 3C013FE0 */ lui $at, 0x3fe0
/* 3BA22C E00BC1FC 44810800 */ mtc1 $at, $f1
/* 3BA230 E00BC200 44800000 */ mtc1 $zero, $f0
/* 3BA234 E00BC204 4600A521 */ cvt.d.s $f20, $f20
/* 3BA238 E00BC208 4620A502 */ mul.d $f20, $f20, $f0
/* 3BA23C E00BC20C 00000000 */ nop
/* 3BA240 E00BC210 44820000 */ mtc1 $v0, $f0
/* 3BA244 E00BC214 00000000 */ nop
/* 3BA248 E00BC218 46800020 */ cvt.s.w $f0, $f0
/* 3BA24C E00BC21C 46000021 */ cvt.d.s $f0, $f0
/* 3BA250 E00BC220 46340001 */ sub.d $f0, $f0, $f20
/* 3BA254 E00BC224 8FBF0010 */ lw $ra, 0x10($sp)
/* 3BA258 E00BC228 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 3BA25C E00BC22C 46200020 */ cvt.s.d $f0, $f0
/* 3BA260 E00BC230 03E00008 */ jr $ra
/* 3BA264 E00BC234 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,53 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00BC238
/* 3BA268 E00BC238 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3BA26C E00BC23C AFBF0010 */ sw $ra, 0x10($sp)
/* 3BA270 E00BC240 8C830000 */ lw $v1, ($a0)
/* 3BA274 E00BC244 8C86000C */ lw $a2, 0xc($a0)
/* 3BA278 E00BC248 30620010 */ andi $v0, $v1, 0x10
/* 3BA27C E00BC24C 8CC70000 */ lw $a3, ($a2)
/* 3BA280 E00BC250 10400005 */ beqz $v0, .LE00BC268
/* 3BA284 E00BC254 2402FFEF */ addiu $v0, $zero, -0x11
/* 3BA288 E00BC258 00621024 */ and $v0, $v1, $v0
/* 3BA28C E00BC25C AC820000 */ sw $v0, ($a0)
/* 3BA290 E00BC260 24020010 */ addiu $v0, $zero, 0x10
/* 3BA294 E00BC264 ACC20028 */ sw $v0, 0x28($a2)
.LE00BC268:
/* 3BA298 E00BC268 8CC30028 */ lw $v1, 0x28($a2)
/* 3BA29C E00BC26C 286203E8 */ slti $v0, $v1, 0x3e8
/* 3BA2A0 E00BC270 10400002 */ beqz $v0, .LE00BC27C
/* 3BA2A4 E00BC274 2462FFFF */ addiu $v0, $v1, -1
/* 3BA2A8 E00BC278 ACC20028 */ sw $v0, 0x28($a2)
.LE00BC27C:
/* 3BA2AC E00BC27C 8CC2002C */ lw $v0, 0x2c($a2)
/* 3BA2B0 E00BC280 8CC30028 */ lw $v1, 0x28($a2)
/* 3BA2B4 E00BC284 24450001 */ addiu $a1, $v0, 1
/* 3BA2B8 E00BC288 04610005 */ bgez $v1, .LE00BC2A0
/* 3BA2BC E00BC28C ACC5002C */ sw $a1, 0x2c($a2)
/* 3BA2C0 E00BC290 0C080128 */ jal func_E02004A0
/* 3BA2C4 E00BC294 00000000 */ nop
/* 3BA2C8 E00BC298 0802F0B7 */ j .LE00BC2DC
/* 3BA2CC E00BC29C 00000000 */ nop
.LE00BC2A0:
/* 3BA2D0 E00BC2A0 24020002 */ addiu $v0, $zero, 2
/* 3BA2D4 E00BC2A4 14E20002 */ bne $a3, $v0, .LE00BC2B0
/* 3BA2D8 E00BC2A8 28A2000B */ slti $v0, $a1, 0xb
/* 3BA2DC E00BC2AC 28A20028 */ slti $v0, $a1, 0x28
.LE00BC2B0:
/* 3BA2E0 E00BC2B0 1440000A */ bnez $v0, .LE00BC2DC
/* 3BA2E4 E00BC2B4 00000000 */ nop
/* 3BA2E8 E00BC2B8 3C013FE0 */ lui $at, 0x3fe0
/* 3BA2EC E00BC2BC 44811800 */ mtc1 $at, $f3
/* 3BA2F0 E00BC2C0 44801000 */ mtc1 $zero, $f2
/* 3BA2F4 E00BC2C4 C4C0003C */ lwc1 $f0, 0x3c($a2)
/* 3BA2F8 E00BC2C8 46800021 */ cvt.d.w $f0, $f0
/* 3BA2FC E00BC2CC 46220002 */ mul.d $f0, $f0, $f2
/* 3BA300 E00BC2D0 00000000 */ nop
/* 3BA304 E00BC2D4 4620010D */ trunc.w.d $f4, $f0
/* 3BA308 E00BC2D8 E4C4003C */ swc1 $f4, 0x3c($a2)
.LE00BC2DC:
/* 3BA30C E00BC2DC 8FBF0010 */ lw $ra, 0x10($sp)
/* 3BA310 E00BC2E0 03E00008 */ jr $ra
/* 3BA314 E00BC2E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,39 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00BC2E8
/* 3BA318 E00BC2E8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 3BA31C E00BC2EC AFBF0020 */ sw $ra, 0x20($sp)
/* 3BA320 E00BC2F0 8C85000C */ lw $a1, 0xc($a0)
/* 3BA324 E00BC2F4 3C02E00C */ lui $v0, 0xe00c
/* 3BA328 E00BC2F8 2442C374 */ addiu $v0, $v0, -0x3c8c
/* 3BA32C E00BC2FC AFA2001C */ sw $v0, 0x1c($sp)
/* 3BA330 E00BC300 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 3BA334 E00BC304 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 3BA338 E00BC308 AFA40018 */ sw $a0, 0x18($sp)
/* 3BA33C E00BC30C 80430070 */ lb $v1, 0x70($v0)
/* 3BA340 E00BC310 24020001 */ addiu $v0, $zero, 1
/* 3BA344 E00BC314 1462000A */ bne $v1, $v0, .LE00BC340
/* 3BA348 E00BC318 27A40010 */ addiu $a0, $sp, 0x10
/* 3BA34C E00BC31C C4A0000C */ lwc1 $f0, 0xc($a1)
/* 3BA350 E00BC320 3C01447A */ lui $at, 0x447a
/* 3BA354 E00BC324 44811000 */ mtc1 $at, $f2
/* 3BA358 E00BC328 00000000 */ nop
/* 3BA35C E00BC32C 46020000 */ add.s $f0, $f0, $f2
/* 3BA360 E00BC330 4600010D */ trunc.w.s $f4, $f0
/* 3BA364 E00BC334 E7A40014 */ swc1 $f4, 0x14($sp)
/* 3BA368 E00BC338 0802F0D3 */ j .LE00BC34C
/* 3BA36C E00BC33C 2402002D */ addiu $v0, $zero, 0x2d
.LE00BC340:
/* 3BA370 E00BC340 2402000A */ addiu $v0, $zero, 0xa
/* 3BA374 E00BC344 AFA20014 */ sw $v0, 0x14($sp)
/* 3BA378 E00BC348 2402002D */ addiu $v0, $zero, 0x2d
.LE00BC34C:
/* 3BA37C E00BC34C 0C080120 */ jal func_E0200480
/* 3BA380 E00BC350 AC820000 */ sw $v0, ($a0)
/* 3BA384 E00BC354 8C430000 */ lw $v1, ($v0)
/* 3BA388 E00BC358 34630002 */ ori $v1, $v1, 2
/* 3BA38C E00BC35C AC430000 */ sw $v1, ($v0)
/* 3BA390 E00BC360 8FBF0020 */ lw $ra, 0x20($sp)
/* 3BA394 E00BC364 03E00008 */ jr $ra
/* 3BA398 E00BC368 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_E00BC36C
/* 3BA39C E00BC36C 03E00008 */ jr $ra
/* 3BA3A0 E00BC370 00000000 */ nop

View File

@ -0,0 +1,577 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_E00BC374
/* 3BA3A4 E00BC374 27BDFF08 */ addiu $sp, $sp, -0xf8
/* 3BA3A8 E00BC378 0080482D */ daddu $t1, $a0, $zero
/* 3BA3AC E00BC37C 3C0ADB06 */ lui $t2, 0xdb06
/* 3BA3B0 E00BC380 354A0024 */ ori $t2, $t2, 0x24
/* 3BA3B4 E00BC384 27A40010 */ addiu $a0, $sp, 0x10
/* 3BA3B8 E00BC388 AFB400B0 */ sw $s4, 0xb0($sp)
/* 3BA3BC E00BC38C 3C140001 */ lui $s4, 1
/* 3BA3C0 E00BC390 36941630 */ ori $s4, $s4, 0x1630
/* 3BA3C4 E00BC394 AFB100A4 */ sw $s1, 0xa4($sp)
/* 3BA3C8 E00BC398 3C11800A */ lui $s1, 0x800a
/* 3BA3CC E00BC39C 2631A66C */ addiu $s1, $s1, -0x5994
/* 3BA3D0 E00BC3A0 3C013DCC */ lui $at, 0x3dcc
/* 3BA3D4 E00BC3A4 3421CCCD */ ori $at, $at, 0xcccd
/* 3BA3D8 E00BC3A8 44810000 */ mtc1 $at, $f0
/* 3BA3DC E00BC3AC 3C02E700 */ lui $v0, 0xe700
/* 3BA3E0 E00BC3B0 AFBF00C4 */ sw $ra, 0xc4($sp)
/* 3BA3E4 E00BC3B4 AFBE00C0 */ sw $fp, 0xc0($sp)
/* 3BA3E8 E00BC3B8 AFB700BC */ sw $s7, 0xbc($sp)
/* 3BA3EC E00BC3BC AFB600B8 */ sw $s6, 0xb8($sp)
/* 3BA3F0 E00BC3C0 AFB500B4 */ sw $s5, 0xb4($sp)
/* 3BA3F4 E00BC3C4 AFB300AC */ sw $s3, 0xac($sp)
/* 3BA3F8 E00BC3C8 AFB200A8 */ sw $s2, 0xa8($sp)
/* 3BA3FC E00BC3CC AFB000A0 */ sw $s0, 0xa0($sp)
/* 3BA400 E00BC3D0 F7BE00F0 */ sdc1 $f30, 0xf0($sp)
/* 3BA404 E00BC3D4 F7BC00E8 */ sdc1 $f28, 0xe8($sp)
/* 3BA408 E00BC3D8 F7BA00E0 */ sdc1 $f26, 0xe0($sp)
/* 3BA40C E00BC3DC F7B800D8 */ sdc1 $f24, 0xd8($sp)
/* 3BA410 E00BC3E0 F7B600D0 */ sdc1 $f22, 0xd0($sp)
/* 3BA414 E00BC3E4 F7B400C8 */ sdc1 $f20, 0xc8($sp)
/* 3BA418 E00BC3E8 8E280000 */ lw $t0, ($s1)
/* 3BA41C E00BC3EC 8D35000C */ lw $s5, 0xc($t1)
/* 3BA420 E00BC3F0 0100182D */ daddu $v1, $t0, $zero
/* 3BA424 E00BC3F4 44050000 */ mfc1 $a1, $f0
/* 3BA428 E00BC3F8 25080008 */ addiu $t0, $t0, 8
/* 3BA42C E00BC3FC AE280000 */ sw $t0, ($s1)
/* 3BA430 E00BC400 8EB7002C */ lw $s7, 0x2c($s5)
/* 3BA434 E00BC404 8EB3003C */ lw $s3, 0x3c($s5)
/* 3BA438 E00BC408 8EB60000 */ lw $s6, ($s5)
/* 3BA43C E00BC40C C6B0004C */ lwc1 $f16, 0x4c($s5)
/* 3BA440 E00BC410 00A0302D */ daddu $a2, $a1, $zero
/* 3BA444 E00BC414 00A0382D */ daddu $a3, $a1, $zero
/* 3BA448 E00BC418 E7B00094 */ swc1 $f16, 0x94($sp)
/* 3BA44C E00BC41C AC620000 */ sw $v0, ($v1)
/* 3BA450 E00BC420 AC600004 */ sw $zero, 4($v1)
/* 3BA454 E00BC424 AD0A0000 */ sw $t2, ($t0)
/* 3BA458 E00BC428 8D230010 */ lw $v1, 0x10($t1)
/* 3BA45C E00BC42C 25020008 */ addiu $v0, $t0, 8
/* 3BA460 E00BC430 AE220000 */ sw $v0, ($s1)
/* 3BA464 E00BC434 8C62001C */ lw $v0, 0x1c($v1)
/* 3BA468 E00BC438 3C038000 */ lui $v1, 0x8000
/* 3BA46C E00BC43C 00431021 */ addu $v0, $v0, $v1
/* 3BA470 E00BC440 0C080110 */ jal func_E0200440
/* 3BA474 E00BC444 AD020004 */ sw $v0, 4($t0)
/* 3BA478 E00BC448 27A40010 */ addiu $a0, $sp, 0x10
/* 3BA47C E00BC44C 3C108007 */ lui $s0, 0x8007
/* 3BA480 E00BC450 261041F0 */ addiu $s0, $s0, 0x41f0
/* 3BA484 E00BC454 3C12800A */ lui $s2, 0x800a
/* 3BA488 E00BC458 2652A674 */ addiu $s2, $s2, -0x598c
/* 3BA48C E00BC45C 96050000 */ lhu $a1, ($s0)
/* 3BA490 E00BC460 8E420000 */ lw $v0, ($s2)
/* 3BA494 E00BC464 00052980 */ sll $a1, $a1, 6
/* 3BA498 E00BC468 00B42821 */ addu $a1, $a1, $s4
/* 3BA49C E00BC46C 0C080118 */ jal func_E0200460
/* 3BA4A0 E00BC470 00452821 */ addu $a1, $v0, $a1
/* 3BA4A4 E00BC474 3C03DA38 */ lui $v1, 0xda38
/* 3BA4A8 E00BC478 34630002 */ ori $v1, $v1, 2
/* 3BA4AC E00BC47C 327300FF */ andi $s3, $s3, 0xff
/* 3BA4B0 E00BC480 8E260000 */ lw $a2, ($s1)
/* 3BA4B4 E00BC484 96020000 */ lhu $v0, ($s0)
/* 3BA4B8 E00BC488 00C0202D */ daddu $a0, $a2, $zero
/* 3BA4BC E00BC48C 24C60008 */ addiu $a2, $a2, 8
/* 3BA4C0 E00BC490 AE260000 */ sw $a2, ($s1)
/* 3BA4C4 E00BC494 AC830000 */ sw $v1, ($a0)
/* 3BA4C8 E00BC498 24430001 */ addiu $v1, $v0, 1
/* 3BA4CC E00BC49C 3042FFFF */ andi $v0, $v0, 0xffff
/* 3BA4D0 E00BC4A0 00021180 */ sll $v0, $v0, 6
/* 3BA4D4 E00BC4A4 A6030000 */ sh $v1, ($s0)
/* 3BA4D8 E00BC4A8 8E430000 */ lw $v1, ($s2)
/* 3BA4DC E00BC4AC 00541021 */ addu $v0, $v0, $s4
/* 3BA4E0 E00BC4B0 00621821 */ addu $v1, $v1, $v0
/* 3BA4E4 E00BC4B4 24C20008 */ addiu $v0, $a2, 8
/* 3BA4E8 E00BC4B8 AC830004 */ sw $v1, 4($a0)
/* 3BA4EC E00BC4BC AE220000 */ sw $v0, ($s1)
/* 3BA4F0 E00BC4C0 3C02FA00 */ lui $v0, 0xfa00
/* 3BA4F4 E00BC4C4 ACC20000 */ sw $v0, ($a2)
/* 3BA4F8 E00BC4C8 92A20033 */ lbu $v0, 0x33($s5)
/* 3BA4FC E00BC4CC 92A40037 */ lbu $a0, 0x37($s5)
/* 3BA500 E00BC4D0 92A5003B */ lbu $a1, 0x3b($s5)
/* 3BA504 E00BC4D4 24C30010 */ addiu $v1, $a2, 0x10
/* 3BA508 E00BC4D8 AE230000 */ sw $v1, ($s1)
/* 3BA50C E00BC4DC 3C03FB00 */ lui $v1, 0xfb00
/* 3BA510 E00BC4E0 ACC30008 */ sw $v1, 8($a2)
/* 3BA514 E00BC4E4 00021600 */ sll $v0, $v0, 0x18
/* 3BA518 E00BC4E8 00042400 */ sll $a0, $a0, 0x10
/* 3BA51C E00BC4EC 00441025 */ or $v0, $v0, $a0
/* 3BA520 E00BC4F0 00052A00 */ sll $a1, $a1, 8
/* 3BA524 E00BC4F4 00451025 */ or $v0, $v0, $a1
/* 3BA528 E00BC4F8 00531025 */ or $v0, $v0, $s3
/* 3BA52C E00BC4FC ACC20004 */ sw $v0, 4($a2)
/* 3BA530 E00BC500 92A20043 */ lbu $v0, 0x43($s5)
/* 3BA534 E00BC504 92A40047 */ lbu $a0, 0x47($s5)
/* 3BA538 E00BC508 92A5004B */ lbu $a1, 0x4b($s5)
/* 3BA53C E00BC50C 24C30018 */ addiu $v1, $a2, 0x18
/* 3BA540 E00BC510 AE230000 */ sw $v1, ($s1)
/* 3BA544 E00BC514 3C03DE00 */ lui $v1, 0xde00
/* 3BA548 E00BC518 ACC30010 */ sw $v1, 0x10($a2)
/* 3BA54C E00BC51C 3C030900 */ lui $v1, 0x900
/* 3BA550 E00BC520 24631000 */ addiu $v1, $v1, 0x1000
/* 3BA554 E00BC524 ACC30014 */ sw $v1, 0x14($a2)
/* 3BA558 E00BC528 00021600 */ sll $v0, $v0, 0x18
/* 3BA55C E00BC52C 00042400 */ sll $a0, $a0, 0x10
/* 3BA560 E00BC530 00441025 */ or $v0, $v0, $a0
/* 3BA564 E00BC534 00052A00 */ sll $a1, $a1, 8
/* 3BA568 E00BC538 00451025 */ or $v0, $v0, $a1
/* 3BA56C E00BC53C 34420080 */ ori $v0, $v0, 0x80
/* 3BA570 E00BC540 ACC2000C */ sw $v0, 0xc($a2)
/* 3BA574 E00BC544 24020002 */ addiu $v0, $zero, 2
/* 3BA578 E00BC548 12C20011 */ beq $s6, $v0, .LE00BC590
/* 3BA57C E00BC54C 26E4FFFF */ addiu $a0, $s7, -1
/* 3BA580 E00BC550 2882000B */ slti $v0, $a0, 0xb
/* 3BA584 E00BC554 10400009 */ beqz $v0, .LE00BC57C
/* 3BA588 E00BC558 00161080 */ sll $v0, $s6, 2
/* 3BA58C E00BC55C 00041840 */ sll $v1, $a0, 1
/* 3BA590 E00BC560 00641821 */ addu $v1, $v1, $a0
/* 3BA594 E00BC564 3C01E00C */ lui $at, 0xe00c
/* 3BA598 E00BC568 00220821 */ addu $at, $at, $v0
/* 3BA59C E00BC56C 8C22CE40 */ lw $v0, -0x31c0($at)
/* 3BA5A0 E00BC570 000318C0 */ sll $v1, $v1, 3
/* 3BA5A4 E00BC574 0802F184 */ j .LE00BC610
/* 3BA5A8 E00BC578 00439021 */ addu $s2, $v0, $v1
.LE00BC57C:
/* 3BA5AC E00BC57C 3C01E00C */ lui $at, 0xe00c
/* 3BA5B0 E00BC580 00220821 */ addu $at, $at, $v0
/* 3BA5B4 E00BC584 8C22CE40 */ lw $v0, -0x31c0($at)
/* 3BA5B8 E00BC588 0802F184 */ j .LE00BC610
/* 3BA5BC E00BC58C 245200F0 */ addiu $s2, $v0, 0xf0
.LE00BC590:
/* 3BA5C0 E00BC590 28820008 */ slti $v0, $a0, 8
/* 3BA5C4 E00BC594 10400007 */ beqz $v0, .LE00BC5B4
/* 3BA5C8 E00BC598 00041040 */ sll $v0, $a0, 1
/* 3BA5CC E00BC59C 00441021 */ addu $v0, $v0, $a0
/* 3BA5D0 E00BC5A0 3C03E00C */ lui $v1, 0xe00c
/* 3BA5D4 E00BC5A4 8C63CE40 */ lw $v1, -0x31c0($v1)
/* 3BA5D8 E00BC5A8 000210C0 */ sll $v0, $v0, 3
/* 3BA5DC E00BC5AC 0802F184 */ j .LE00BC610
/* 3BA5E0 E00BC5B0 00629021 */ addu $s2, $v1, $v0
.LE00BC5B4:
/* 3BA5E4 E00BC5B4 28820024 */ slti $v0, $a0, 0x24
/* 3BA5E8 E00BC5B8 10400012 */ beqz $v0, .LE00BC604
/* 3BA5EC E00BC5BC 3C022AAA */ lui $v0, 0x2aaa
/* 3BA5F0 E00BC5C0 3442AAAB */ ori $v0, $v0, 0xaaab
/* 3BA5F4 E00BC5C4 00820018 */ mult $a0, $v0
/* 3BA5F8 E00BC5C8 00041FC3 */ sra $v1, $a0, 0x1f
/* 3BA5FC E00BC5CC 00007010 */ mfhi $t6
/* 3BA600 E00BC5D0 01C31823 */ subu $v1, $t6, $v1
/* 3BA604 E00BC5D4 00031040 */ sll $v0, $v1, 1
/* 3BA608 E00BC5D8 00431021 */ addu $v0, $v0, $v1
/* 3BA60C E00BC5DC 00021040 */ sll $v0, $v0, 1
/* 3BA610 E00BC5E0 00821023 */ subu $v0, $a0, $v0
/* 3BA614 E00BC5E4 00021840 */ sll $v1, $v0, 1
/* 3BA618 E00BC5E8 00621821 */ addu $v1, $v1, $v0
/* 3BA61C E00BC5EC 000318C0 */ sll $v1, $v1, 3
/* 3BA620 E00BC5F0 3C02E00C */ lui $v0, 0xe00c
/* 3BA624 E00BC5F4 8C42CE40 */ lw $v0, -0x31c0($v0)
/* 3BA628 E00BC5F8 24630030 */ addiu $v1, $v1, 0x30
/* 3BA62C E00BC5FC 0802F184 */ j .LE00BC610
/* 3BA630 E00BC600 00439021 */ addu $s2, $v0, $v1
.LE00BC604:
/* 3BA634 E00BC604 3C02E00C */ lui $v0, 0xe00c
/* 3BA638 E00BC608 8C42CE40 */ lw $v0, -0x31c0($v0)
/* 3BA63C E00BC60C 245200F0 */ addiu $s2, $v0, 0xf0
.LE00BC610:
/* 3BA640 E00BC610 0000982D */ daddu $s3, $zero, $zero
/* 3BA644 E00BC614 02A0882D */ daddu $s1, $s5, $zero
/* 3BA648 E00BC618 3C013DBA */ lui $at, 0x3dba
/* 3BA64C E00BC61C 34212E8C */ ori $at, $at, 0x2e8c
/* 3BA650 E00BC620 4481F000 */ mtc1 $at, $f30
.LE00BC624:
/* 3BA654 E00BC624 3C058888 */ lui $a1, 0x8888
/* 3BA658 E00BC628 34A58889 */ ori $a1, $a1, 0x8889
/* 3BA65C E00BC62C 02771823 */ subu $v1, $s3, $s7
/* 3BA660 E00BC630 00031080 */ sll $v0, $v1, 2
/* 3BA664 E00BC634 00431021 */ addu $v0, $v0, $v1
/* 3BA668 E00BC638 8EA40110 */ lw $a0, 0x110($s5)
/* 3BA66C E00BC63C 00021040 */ sll $v0, $v0, 1
/* 3BA670 E00BC640 00822021 */ addu $a0, $a0, $v0
/* 3BA674 E00BC644 00850018 */ mult $a0, $a1
/* 3BA678 E00BC648 C6B8001C */ lwc1 $f24, 0x1c($s5)
/* 3BA67C E00BC64C C6A00010 */ lwc1 $f0, 0x10($s5)
/* 3BA680 E00BC650 4600C601 */ sub.s $f24, $f24, $f0
/* 3BA684 E00BC654 461EC602 */ mul.s $f24, $f24, $f30
/* 3BA688 E00BC658 00000000 */ nop
/* 3BA68C E00BC65C C6B60020 */ lwc1 $f22, 0x20($s5)
/* 3BA690 E00BC660 C6A00014 */ lwc1 $f0, 0x14($s5)
/* 3BA694 E00BC664 4600B581 */ sub.s $f22, $f22, $f0
/* 3BA698 E00BC668 461EB582 */ mul.s $f22, $f22, $f30
/* 3BA69C E00BC66C 00000000 */ nop
/* 3BA6A0 E00BC670 02538021 */ addu $s0, $s2, $s3
/* 3BA6A4 E00BC674 000417C3 */ sra $v0, $a0, 0x1f
/* 3BA6A8 E00BC678 00007010 */ mfhi $t6
/* 3BA6AC E00BC67C 01C41821 */ addu $v1, $t6, $a0
/* 3BA6B0 E00BC680 00031983 */ sra $v1, $v1, 6
/* 3BA6B4 E00BC684 00621823 */ subu $v1, $v1, $v0
/* 3BA6B8 E00BC688 00031100 */ sll $v0, $v1, 4
/* 3BA6BC E00BC68C 00431023 */ subu $v0, $v0, $v1
/* 3BA6C0 E00BC690 000210C0 */ sll $v0, $v0, 3
/* 3BA6C4 E00BC694 00822023 */ subu $a0, $a0, $v0
/* 3BA6C8 E00BC698 2484FFC4 */ addiu $a0, $a0, -0x3c
/* 3BA6CC E00BC69C 4484E000 */ mtc1 $a0, $f28
/* 3BA6D0 E00BC6A0 00000000 */ nop
/* 3BA6D4 E00BC6A4 4680E720 */ cvt.s.w $f28, $f28
/* 3BA6D8 E00BC6A8 92020000 */ lbu $v0, ($s0)
/* 3BA6DC E00BC6AC 4482D000 */ mtc1 $v0, $f26
/* 3BA6E0 E00BC6B0 00000000 */ nop
/* 3BA6E4 E00BC6B4 4680D6A0 */ cvt.s.w $f26, $f26
/* 3BA6E8 E00BC6B8 0C080140 */ jal func_E0200500
/* 3BA6EC E00BC6BC 4600E306 */ mov.s $f12, $f28
/* 3BA6F0 E00BC6C0 461A0502 */ mul.s $f20, $f0, $f26
/* 3BA6F4 E00BC6C4 00000000 */ nop
/* 3BA6F8 E00BC6C8 3C01E00C */ lui $at, 0xe00c
/* 3BA6FC E00BC6CC D430CE58 */ ldc1 $f16, -0x31a8($at)
/* 3BA700 E00BC6D0 4600A521 */ cvt.d.s $f20, $f20
/* 3BA704 E00BC6D4 4630A502 */ mul.d $f20, $f20, $f16
/* 3BA708 E00BC6D8 00000000 */ nop
/* 3BA70C E00BC6DC 4600E306 */ mov.s $f12, $f28
/* 3BA710 E00BC6E0 0C080144 */ jal func_E0200510
/* 3BA714 E00BC6E4 4620A520 */ cvt.s.d $f20, $f20
/* 3BA718 E00BC6E8 461A0002 */ mul.s $f0, $f0, $f26
/* 3BA71C E00BC6EC 00000000 */ nop
/* 3BA720 E00BC6F0 3C01E00C */ lui $at, 0xe00c
/* 3BA724 E00BC6F4 D430CE60 */ ldc1 $f16, -0x31a0($at)
/* 3BA728 E00BC6F8 46000021 */ cvt.d.s $f0, $f0
/* 3BA72C E00BC6FC 46300002 */ mul.d $f0, $f0, $f16
/* 3BA730 E00BC700 00000000 */ nop
/* 3BA734 E00BC704 4614B182 */ mul.s $f6, $f22, $f20
/* 3BA738 E00BC708 00000000 */ nop
/* 3BA73C E00BC70C C6A2001C */ lwc1 $f2, 0x1c($s5)
/* 3BA740 E00BC710 C6A40010 */ lwc1 $f4, 0x10($s5)
/* 3BA744 E00BC714 46041081 */ sub.s $f2, $f2, $f4
/* 3BA748 E00BC718 44935000 */ mtc1 $s3, $f10
/* 3BA74C E00BC71C 00000000 */ nop
/* 3BA750 E00BC720 468052A0 */ cvt.s.w $f10, $f10
/* 3BA754 E00BC724 460A1082 */ mul.s $f2, $f2, $f10
/* 3BA758 E00BC728 00000000 */ nop
/* 3BA75C E00BC72C 461E1082 */ mul.s $f2, $f2, $f30
/* 3BA760 E00BC730 00000000 */ nop
/* 3BA764 E00BC734 46200020 */ cvt.s.d $f0, $f0
/* 3BA768 E00BC738 4600C202 */ mul.s $f8, $f24, $f0
/* 3BA76C E00BC73C 00000000 */ nop
/* 3BA770 E00BC740 4614C602 */ mul.s $f24, $f24, $f20
/* 3BA774 E00BC744 00000000 */ nop
/* 3BA778 E00BC748 46022100 */ add.s $f4, $f4, $f2
/* 3BA77C E00BC74C 46064201 */ sub.s $f8, $f8, $f6
/* 3BA780 E00BC750 46082100 */ add.s $f4, $f4, $f8
/* 3BA784 E00BC754 4600B582 */ mul.s $f22, $f22, $f0
/* 3BA788 E00BC758 00000000 */ nop
/* 3BA78C E00BC75C E6240050 */ swc1 $f4, 0x50($s1)
/* 3BA790 E00BC760 C6A20020 */ lwc1 $f2, 0x20($s5)
/* 3BA794 E00BC764 C6A40014 */ lwc1 $f4, 0x14($s5)
/* 3BA798 E00BC768 46041081 */ sub.s $f2, $f2, $f4
/* 3BA79C E00BC76C 460A1082 */ mul.s $f2, $f2, $f10
/* 3BA7A0 E00BC770 00000000 */ nop
/* 3BA7A4 E00BC774 461E1082 */ mul.s $f2, $f2, $f30
/* 3BA7A8 E00BC778 00000000 */ nop
/* 3BA7AC E00BC77C 4616C600 */ add.s $f24, $f24, $f22
/* 3BA7B0 E00BC780 46022100 */ add.s $f4, $f4, $f2
/* 3BA7B4 E00BC784 46182100 */ add.s $f4, $f4, $f24
/* 3BA7B8 E00BC788 E6240080 */ swc1 $f4, 0x80($s1)
/* 3BA7BC E00BC78C C6A00024 */ lwc1 $f0, 0x24($s5)
/* 3BA7C0 E00BC790 C6A20018 */ lwc1 $f2, 0x18($s5)
/* 3BA7C4 E00BC794 46020001 */ sub.s $f0, $f0, $f2
/* 3BA7C8 E00BC798 460A0002 */ mul.s $f0, $f0, $f10
/* 3BA7CC E00BC79C 00000000 */ nop
/* 3BA7D0 E00BC7A0 461E0002 */ mul.s $f0, $f0, $f30
/* 3BA7D4 E00BC7A4 00000000 */ nop
/* 3BA7D8 E00BC7A8 46001080 */ add.s $f2, $f2, $f0
/* 3BA7DC E00BC7AC 44808000 */ mtc1 $zero, $f16
/* 3BA7E0 E00BC7B0 00000000 */ nop
/* 3BA7E4 E00BC7B4 46101080 */ add.s $f2, $f2, $f16
/* 3BA7E8 E00BC7B8 E62200B0 */ swc1 $f2, 0xb0($s1)
/* 3BA7EC E00BC7BC 9202000C */ lbu $v0, 0xc($s0)
/* 3BA7F0 E00BC7C0 3C01E00C */ lui $at, 0xe00c
/* 3BA7F4 E00BC7C4 D422CE68 */ ldc1 $f2, -0x3198($at)
/* 3BA7F8 E00BC7C8 44820000 */ mtc1 $v0, $f0
/* 3BA7FC E00BC7CC 00000000 */ nop
/* 3BA800 E00BC7D0 46800020 */ cvt.s.w $f0, $f0
/* 3BA804 E00BC7D4 46000021 */ cvt.d.s $f0, $f0
/* 3BA808 E00BC7D8 46220002 */ mul.d $f0, $f0, $f2
/* 3BA80C E00BC7DC 00000000 */ nop
/* 3BA810 E00BC7E0 26730001 */ addiu $s3, $s3, 1
/* 3BA814 E00BC7E4 2A62000C */ slti $v0, $s3, 0xc
/* 3BA818 E00BC7E8 46200020 */ cvt.s.d $f0, $f0
/* 3BA81C E00BC7EC E62000E0 */ swc1 $f0, 0xe0($s1)
/* 3BA820 E00BC7F0 1440FF8C */ bnez $v0, .LE00BC624
/* 3BA824 E00BC7F4 26310004 */ addiu $s1, $s1, 4
/* 3BA828 E00BC7F8 0000982D */ daddu $s3, $zero, $zero
/* 3BA82C E00BC7FC 0260F02D */ daddu $fp, $s3, $zero
/* 3BA830 E00BC800 0260B82D */ daddu $s7, $s3, $zero
/* 3BA834 E00BC804 0260B02D */ daddu $s6, $s3, $zero
/* 3BA838 E00BC808 02A0902D */ daddu $s2, $s5, $zero
/* 3BA83C E00BC80C 46008706 */ mov.s $f28, $f16
/* 3BA840 E00BC810 3C04800A */ lui $a0, 0x800a
/* 3BA844 E00BC814 2484A66C */ addiu $a0, $a0, -0x5994
/* 3BA848 E00BC818 3C0143B4 */ lui $at, 0x43b4
/* 3BA84C E00BC81C 4481F000 */ mtc1 $at, $f30
/* 3BA850 E00BC820 3C02DE01 */ lui $v0, 0xde01
/* 3BA854 E00BC824 AFA00098 */ sw $zero, 0x98($sp)
/* 3BA858 E00BC828 8C830000 */ lw $v1, ($a0)
/* 3BA85C E00BC82C 3C014120 */ lui $at, 0x4120
/* 3BA860 E00BC830 4481D000 */ mtc1 $at, $f26
/* 3BA864 E00BC834 246E0008 */ addiu $t6, $v1, 8
/* 3BA868 E00BC838 01C0A02D */ daddu $s4, $t6, $zero
/* 3BA86C E00BC83C 24710016 */ addiu $s1, $v1, 0x16
/* 3BA870 E00BC840 AFAE0090 */ sw $t6, 0x90($sp)
/* 3BA874 E00BC844 AC620000 */ sw $v0, ($v1)
/* 3BA878 E00BC848 24620188 */ addiu $v0, $v1, 0x188
/* 3BA87C E00BC84C AC620004 */ sw $v0, 4($v1)
/* 3BA880 E00BC850 AC820000 */ sw $v0, ($a0)
.LE00BC854:
/* 3BA884 E00BC854 1660000D */ bnez $s3, .LE00BC88C
/* 3BA888 E00BC858 2402000B */ addiu $v0, $zero, 0xb
/* 3BA88C E00BC85C 3C014100 */ lui $at, 0x4100
/* 3BA890 E00BC860 4481C000 */ mtc1 $at, $f24
/* 3BA894 E00BC864 C6AC0084 */ lwc1 $f12, 0x84($s5)
/* 3BA898 E00BC868 8EA60080 */ lw $a2, 0x80($s5)
/* 3BA89C E00BC86C C6A00050 */ lwc1 $f0, 0x50($s5)
/* 3BA8A0 E00BC870 C6AE0054 */ lwc1 $f14, 0x54($s5)
/* 3BA8A4 E00BC874 46000007 */ neg.s $f0, $f0
/* 3BA8A8 E00BC878 44070000 */ mfc1 $a3, $f0
/* 3BA8AC E00BC87C 0C080148 */ jal func_E0200520
/* 3BA8B0 E00BC880 46007387 */ neg.s $f14, $f14
/* 3BA8B4 E00BC884 0802F25B */ j .LE00BC96C
/* 3BA8B8 E00BC888 46000587 */ neg.s $f22, $f0
.LE00BC88C:
/* 3BA8BC E00BC88C 3C014100 */ lui $at, 0x4100
/* 3BA8C0 E00BC890 4481C000 */ mtc1 $at, $f24
/* 3BA8C4 E00BC894 16620005 */ bne $s3, $v0, .LE00BC8AC
/* 3BA8C8 E00BC898 26620001 */ addiu $v0, $s3, 1
/* 3BA8CC E00BC89C 3C01C2B4 */ lui $at, 0xc2b4
/* 3BA8D0 E00BC8A0 4481B000 */ mtc1 $at, $f22
/* 3BA8D4 E00BC8A4 0802F25B */ j .LE00BC96C
/* 3BA8D8 E00BC8A8 00000000 */ nop
.LE00BC8AC:
/* 3BA8DC E00BC8AC 00021080 */ sll $v0, $v0, 2
/* 3BA8E0 E00BC8B0 02A21021 */ addu $v0, $s5, $v0
/* 3BA8E4 E00BC8B4 C44C0080 */ lwc1 $f12, 0x80($v0)
/* 3BA8E8 E00BC8B8 8E460080 */ lw $a2, 0x80($s2)
/* 3BA8EC E00BC8BC C6400050 */ lwc1 $f0, 0x50($s2)
/* 3BA8F0 E00BC8C0 C44E0050 */ lwc1 $f14, 0x50($v0)
/* 3BA8F4 E00BC8C4 46000007 */ neg.s $f0, $f0
/* 3BA8F8 E00BC8C8 44070000 */ mfc1 $a3, $f0
/* 3BA8FC E00BC8CC 0C080148 */ jal func_E0200520
/* 3BA900 E00BC8D0 46007387 */ neg.s $f14, $f14
/* 3BA904 E00BC8D4 2662FFFF */ addiu $v0, $s3, -1
/* 3BA908 E00BC8D8 00021080 */ sll $v0, $v0, 2
/* 3BA90C E00BC8DC 02A21021 */ addu $v0, $s5, $v0
/* 3BA910 E00BC8E0 C64C0080 */ lwc1 $f12, 0x80($s2)
/* 3BA914 E00BC8E4 8C460080 */ lw $a2, 0x80($v0)
/* 3BA918 E00BC8E8 46000507 */ neg.s $f20, $f0
/* 3BA91C E00BC8EC C4400050 */ lwc1 $f0, 0x50($v0)
/* 3BA920 E00BC8F0 C64E0050 */ lwc1 $f14, 0x50($s2)
/* 3BA924 E00BC8F4 46000007 */ neg.s $f0, $f0
/* 3BA928 E00BC8F8 44070000 */ mfc1 $a3, $f0
/* 3BA92C E00BC8FC 0C080148 */ jal func_E0200520
/* 3BA930 E00BC900 46007387 */ neg.s $f14, $f14
/* 3BA934 E00BC904 46000087 */ neg.s $f2, $f0
/* 3BA938 E00BC908 46141101 */ sub.s $f4, $f2, $f20
/* 3BA93C E00BC90C 3C014334 */ lui $at, 0x4334
/* 3BA940 E00BC910 44810000 */ mtc1 $at, $f0
/* 3BA944 E00BC914 00000000 */ nop
/* 3BA948 E00BC918 4604003C */ c.lt.s $f0, $f4
/* 3BA94C E00BC91C 00000000 */ nop
/* 3BA950 E00BC920 45000003 */ bc1f .LE00BC930
/* 3BA954 E00BC924 00000000 */ nop
/* 3BA958 E00BC928 0802F253 */ j .LE00BC94C
/* 3BA95C E00BC92C 461EA500 */ add.s $f20, $f20, $f30
.LE00BC930:
/* 3BA960 E00BC930 3C01C334 */ lui $at, 0xc334
/* 3BA964 E00BC934 44810000 */ mtc1 $at, $f0
/* 3BA968 E00BC938 00000000 */ nop
/* 3BA96C E00BC93C 4600203C */ c.lt.s $f4, $f0
/* 3BA970 E00BC940 00000000 */ nop
/* 3BA974 E00BC944 45030001 */ bc1tl .LE00BC94C
/* 3BA978 E00BC948 461E1080 */ add.s $f2, $f2, $f30
.LE00BC94C:
/* 3BA97C E00BC94C 4602A580 */ add.s $f22, $f20, $f2
/* 3BA980 E00BC950 3C013FE0 */ lui $at, 0x3fe0
/* 3BA984 E00BC954 44810800 */ mtc1 $at, $f1
/* 3BA988 E00BC958 44800000 */ mtc1 $zero, $f0
/* 3BA98C E00BC95C 4600B0A1 */ cvt.d.s $f2, $f22
/* 3BA990 E00BC960 46201082 */ mul.d $f2, $f2, $f0
/* 3BA994 E00BC964 00000000 */ nop
/* 3BA998 E00BC968 462015A0 */ cvt.s.d $f22, $f2
.LE00BC96C:
/* 3BA99C E00BC96C C64000E0 */ lwc1 $f0, 0xe0($s2)
/* 3BA9A0 E00BC970 C7B00094 */ lwc1 $f16, 0x94($sp)
/* 3BA9A4 E00BC974 46008002 */ mul.s $f0, $f16, $f0
/* 3BA9A8 E00BC978 00000000 */ nop
/* 3BA9AC E00BC97C 4600B306 */ mov.s $f12, $f22
/* 3BA9B0 E00BC980 8FAE0098 */ lw $t6, 0x98($sp)
/* 3BA9B4 E00BC984 4600C602 */ mul.s $f24, $f24, $f0
/* 3BA9B8 E00BC988 00000000 */ nop
/* 3BA9BC E00BC98C 24100080 */ addiu $s0, $zero, 0x80
/* 3BA9C0 E00BC990 020E8023 */ subu $s0, $s0, $t6
/* 3BA9C4 E00BC994 0C080140 */ jal func_E0200500
/* 3BA9C8 E00BC998 00108140 */ sll $s0, $s0, 5
/* 3BA9CC E00BC99C 4600C502 */ mul.s $f20, $f24, $f0
/* 3BA9D0 E00BC9A0 00000000 */ nop
/* 3BA9D4 E00BC9A4 0C080144 */ jal func_E0200510
/* 3BA9D8 E00BC9A8 4600B306 */ mov.s $f12, $f22
/* 3BA9DC E00BC9AC C6420050 */ lwc1 $f2, 0x50($s2)
/* 3BA9E0 E00BC9B0 46141080 */ add.s $f2, $f2, $f20
/* 3BA9E4 E00BC9B4 461A1082 */ mul.s $f2, $f2, $f26
/* 3BA9E8 E00BC9B8 00000000 */ nop
/* 3BA9EC E00BC9BC 4600C002 */ mul.s $f0, $f24, $f0
/* 3BA9F0 E00BC9C0 00000000 */ nop
/* 3BA9F4 E00BC9C4 4600140D */ trunc.w.s $f16, $f2
/* 3BA9F8 E00BC9C8 44028000 */ mfc1 $v0, $f16
/* 3BA9FC E00BC9CC 00000000 */ nop
/* 3BAA00 E00BC9D0 A6820000 */ sh $v0, ($s4)
/* 3BAA04 E00BC9D4 C6420080 */ lwc1 $f2, 0x80($s2)
/* 3BAA08 E00BC9D8 46001080 */ add.s $f2, $f2, $f0
/* 3BAA0C E00BC9DC 461A1082 */ mul.s $f2, $f2, $f26
/* 3BAA10 E00BC9E0 00000000 */ nop
/* 3BAA14 E00BC9E4 4600140D */ trunc.w.s $f16, $f2
/* 3BAA18 E00BC9E8 44028000 */ mfc1 $v0, $f16
/* 3BAA1C E00BC9EC 00000000 */ nop
/* 3BAA20 E00BC9F0 A622FFF4 */ sh $v0, -0xc($s1)
/* 3BAA24 E00BC9F4 C64200B0 */ lwc1 $f2, 0xb0($s2)
/* 3BAA28 E00BC9F8 461C1080 */ add.s $f2, $f2, $f28
/* 3BAA2C E00BC9FC A630FFFA */ sh $s0, -6($s1)
/* 3BAA30 E00BCA00 461A1082 */ mul.s $f2, $f2, $f26
/* 3BAA34 E00BCA04 00000000 */ nop
/* 3BAA38 E00BCA08 A620FFFC */ sh $zero, -4($s1)
/* 3BAA3C E00BCA0C A236FFFE */ sb $s6, -2($s1)
/* 3BAA40 E00BCA10 A237FFFF */ sb $s7, -1($s1)
/* 3BAA44 E00BCA14 A23E0000 */ sb $fp, ($s1)
/* 3BAA48 E00BCA18 4600140D */ trunc.w.s $f16, $f2
/* 3BAA4C E00BCA1C 44028000 */ mfc1 $v0, $f16
/* 3BAA50 E00BCA20 00000000 */ nop
/* 3BAA54 E00BCA24 A622FFF6 */ sh $v0, -0xa($s1)
/* 3BAA58 E00BCA28 C6420050 */ lwc1 $f2, 0x50($s2)
/* 3BAA5C E00BCA2C 46141081 */ sub.s $f2, $f2, $f20
/* 3BAA60 E00BCA30 461A1082 */ mul.s $f2, $f2, $f26
/* 3BAA64 E00BCA34 00000000 */ nop
/* 3BAA68 E00BCA38 26940010 */ addiu $s4, $s4, 0x10
/* 3BAA6C E00BCA3C 4600140D */ trunc.w.s $f16, $f2
/* 3BAA70 E00BCA40 44028000 */ mfc1 $v0, $f16
/* 3BAA74 E00BCA44 00000000 */ nop
/* 3BAA78 E00BCA48 A6820000 */ sh $v0, ($s4)
/* 3BAA7C E00BCA4C C6420080 */ lwc1 $f2, 0x80($s2)
/* 3BAA80 E00BCA50 46001081 */ sub.s $f2, $f2, $f0
/* 3BAA84 E00BCA54 26730001 */ addiu $s3, $s3, 1
/* 3BAA88 E00BCA58 461A1082 */ mul.s $f2, $f2, $f26
/* 3BAA8C E00BCA5C 00000000 */ nop
/* 3BAA90 E00BCA60 8FAE0098 */ lw $t6, 0x98($sp)
/* 3BAA94 E00BCA64 26310010 */ addiu $s1, $s1, 0x10
/* 3BAA98 E00BCA68 25CE000C */ addiu $t6, $t6, 0xc
/* 3BAA9C E00BCA6C AFAE0098 */ sw $t6, 0x98($sp)
/* 3BAAA0 E00BCA70 4600140D */ trunc.w.s $f16, $f2
/* 3BAAA4 E00BCA74 44028000 */ mfc1 $v0, $f16
/* 3BAAA8 E00BCA78 00000000 */ nop
/* 3BAAAC E00BCA7C A622FFF4 */ sh $v0, -0xc($s1)
/* 3BAAB0 E00BCA80 C64000B0 */ lwc1 $f0, 0xb0($s2)
/* 3BAAB4 E00BCA84 26940010 */ addiu $s4, $s4, 0x10
/* 3BAAB8 E00BCA88 A23E0000 */ sb $fp, ($s1)
/* 3BAABC E00BCA8C 27DE001E */ addiu $fp, $fp, 0x1e
/* 3BAAC0 E00BCA90 A237FFFF */ sb $s7, -1($s1)
/* 3BAAC4 E00BCA94 26F70078 */ addiu $s7, $s7, 0x78
/* 3BAAC8 E00BCA98 461C0000 */ add.s $f0, $f0, $f28
/* 3BAACC E00BCA9C A236FFFE */ sb $s6, -2($s1)
/* 3BAAD0 E00BCAA0 26D60032 */ addiu $s6, $s6, 0x32
/* 3BAAD4 E00BCAA4 461A0002 */ mul.s $f0, $f0, $f26
/* 3BAAD8 E00BCAA8 00000000 */ nop
/* 3BAADC E00BCAAC 26520004 */ addiu $s2, $s2, 4
/* 3BAAE0 E00BCAB0 24020400 */ addiu $v0, $zero, 0x400
/* 3BAAE4 E00BCAB4 A630FFFA */ sh $s0, -6($s1)
/* 3BAAE8 E00BCAB8 A622FFFC */ sh $v0, -4($s1)
/* 3BAAEC E00BCABC 4600040D */ trunc.w.s $f16, $f0
/* 3BAAF0 E00BCAC0 44028000 */ mfc1 $v0, $f16
/* 3BAAF4 E00BCAC4 00000000 */ nop
/* 3BAAF8 E00BCAC8 A622FFF6 */ sh $v0, -0xa($s1)
/* 3BAAFC E00BCACC 2A62000C */ slti $v0, $s3, 0xc
/* 3BAB00 E00BCAD0 1440FF60 */ bnez $v0, .LE00BC854
/* 3BAB04 E00BCAD4 26310010 */ addiu $s1, $s1, 0x10
/* 3BAB08 E00BCAD8 0260382D */ daddu $a3, $s3, $zero
/* 3BAB0C E00BCADC 3C08D9DF */ lui $t0, 0xd9df
/* 3BAB10 E00BCAE0 3508FFFF */ ori $t0, $t0, 0xffff
/* 3BAB14 E00BCAE4 3C09800A */ lui $t1, 0x800a
/* 3BAB18 E00BCAE8 2529A66C */ addiu $t1, $t1, -0x5994
/* 3BAB1C E00BCAEC 00071040 */ sll $v0, $a3, 1
/* 3BAB20 E00BCAF0 0000982D */ daddu $s3, $zero, $zero
/* 3BAB24 E00BCAF4 304400FF */ andi $a0, $v0, 0xff
/* 3BAB28 E00BCAF8 00042300 */ sll $a0, $a0, 0xc
/* 3BAB2C E00BCAFC 3042007F */ andi $v0, $v0, 0x7f
/* 3BAB30 E00BCB00 00021040 */ sll $v0, $v0, 1
/* 3BAB34 E00BCB04 3C030100 */ lui $v1, 0x100
/* 3BAB38 E00BCB08 00431025 */ or $v0, $v0, $v1
/* 3BAB3C E00BCB0C 00822025 */ or $a0, $a0, $v0
/* 3BAB40 E00BCB10 8D250000 */ lw $a1, ($t1)
/* 3BAB44 E00BCB14 24EBFFFF */ addiu $t3, $a3, -1
/* 3BAB48 E00BCB18 00A0302D */ daddu $a2, $a1, $zero
/* 3BAB4C E00BCB1C 24A50008 */ addiu $a1, $a1, 8
/* 3BAB50 E00BCB20 AD250000 */ sw $a1, ($t1)
/* 3BAB54 E00BCB24 ACC40000 */ sw $a0, ($a2)
/* 3BAB58 E00BCB28 8FAE0090 */ lw $t6, 0x90($sp)
/* 3BAB5C E00BCB2C 24A20008 */ addiu $v0, $a1, 8
/* 3BAB60 E00BCB30 ACCE0004 */ sw $t6, 4($a2)
/* 3BAB64 E00BCB34 AD220000 */ sw $v0, ($t1)
/* 3BAB68 E00BCB38 ACA80000 */ sw $t0, ($a1)
/* 3BAB6C E00BCB3C 1960001E */ blez $t3, .LE00BCBB8
/* 3BAB70 E00BCB40 ACA00004 */ sw $zero, 4($a1)
/* 3BAB74 E00BCB44 0120602D */ daddu $t4, $t1, $zero
/* 3BAB78 E00BCB48 3C0D0600 */ lui $t5, 0x600
/* 3BAB7C E00BCB4C 240A0006 */ addiu $t2, $zero, 6
/* 3BAB80 E00BCB50 24090004 */ addiu $t1, $zero, 4
/* 3BAB84 E00BCB54 24080002 */ addiu $t0, $zero, 2
.LE00BCB58:
/* 3BAB88 E00BCB58 314700FF */ andi $a3, $t2, 0xff
/* 3BAB8C E00BCB5C 254A0004 */ addiu $t2, $t2, 4
/* 3BAB90 E00BCB60 312500FF */ andi $a1, $t1, 0xff
/* 3BAB94 E00BCB64 25290004 */ addiu $t1, $t1, 4
/* 3BAB98 E00BCB68 310400FF */ andi $a0, $t0, 0xff
/* 3BAB9C E00BCB6C 25080004 */ addiu $t0, $t0, 4
/* 3BABA0 E00BCB70 00131280 */ sll $v0, $s3, 0xa
/* 3BABA4 E00BCB74 26730001 */ addiu $s3, $s3, 1
/* 3BABA8 E00BCB78 00042400 */ sll $a0, $a0, 0x10
/* 3BABAC E00BCB7C 3042FC00 */ andi $v0, $v0, 0xfc00
/* 3BABB0 E00BCB80 00821025 */ or $v0, $a0, $v0
/* 3BABB4 E00BCB84 00451025 */ or $v0, $v0, $a1
/* 3BABB8 E00BCB88 004D1025 */ or $v0, $v0, $t5
/* 3BABBC E00BCB8C 00052A00 */ sll $a1, $a1, 8
/* 3BABC0 E00BCB90 00852025 */ or $a0, $a0, $a1
/* 3BABC4 E00BCB94 8D830000 */ lw $v1, ($t4)
/* 3BABC8 E00BCB98 00872025 */ or $a0, $a0, $a3
/* 3BABCC E00BCB9C 0060302D */ daddu $a2, $v1, $zero
/* 3BABD0 E00BCBA0 24630008 */ addiu $v1, $v1, 8
/* 3BABD4 E00BCBA4 AD830000 */ sw $v1, ($t4)
/* 3BABD8 E00BCBA8 ACC20000 */ sw $v0, ($a2)
/* 3BABDC E00BCBAC 026B102A */ slt $v0, $s3, $t3
/* 3BABE0 E00BCBB0 1440FFE9 */ bnez $v0, .LE00BCB58
/* 3BABE4 E00BCBB4 ACC40004 */ sw $a0, 4($a2)
.LE00BCBB8:
/* 3BABE8 E00BCBB8 3C05D838 */ lui $a1, 0xd838
/* 3BABEC E00BCBBC 3C03800A */ lui $v1, 0x800a
/* 3BABF0 E00BCBC0 2463A66C */ addiu $v1, $v1, -0x5994
/* 3BABF4 E00BCBC4 8C620000 */ lw $v0, ($v1)
/* 3BABF8 E00BCBC8 34A50002 */ ori $a1, $a1, 2
/* 3BABFC E00BCBCC 0040202D */ daddu $a0, $v0, $zero
/* 3BAC00 E00BCBD0 24420008 */ addiu $v0, $v0, 8
/* 3BAC04 E00BCBD4 AC620000 */ sw $v0, ($v1)
/* 3BAC08 E00BCBD8 24020040 */ addiu $v0, $zero, 0x40
/* 3BAC0C E00BCBDC AC850000 */ sw $a1, ($a0)
/* 3BAC10 E00BCBE0 AC820004 */ sw $v0, 4($a0)
/* 3BAC14 E00BCBE4 8FBF00C4 */ lw $ra, 0xc4($sp)
/* 3BAC18 E00BCBE8 8FBE00C0 */ lw $fp, 0xc0($sp)
/* 3BAC1C E00BCBEC 8FB700BC */ lw $s7, 0xbc($sp)
/* 3BAC20 E00BCBF0 8FB600B8 */ lw $s6, 0xb8($sp)
/* 3BAC24 E00BCBF4 8FB500B4 */ lw $s5, 0xb4($sp)
/* 3BAC28 E00BCBF8 8FB400B0 */ lw $s4, 0xb0($sp)
/* 3BAC2C E00BCBFC 8FB300AC */ lw $s3, 0xac($sp)
/* 3BAC30 E00BCC00 8FB200A8 */ lw $s2, 0xa8($sp)
/* 3BAC34 E00BCC04 8FB100A4 */ lw $s1, 0xa4($sp)
/* 3BAC38 E00BCC08 8FB000A0 */ lw $s0, 0xa0($sp)
/* 3BAC3C E00BCC0C D7BE00F0 */ ldc1 $f30, 0xf0($sp)
/* 3BAC40 E00BCC10 D7BC00E8 */ ldc1 $f28, 0xe8($sp)
/* 3BAC44 E00BCC14 D7BA00E0 */ ldc1 $f26, 0xe0($sp)
/* 3BAC48 E00BCC18 D7B800D8 */ ldc1 $f24, 0xd8($sp)
/* 3BAC4C E00BCC1C D7B600D0 */ ldc1 $f22, 0xd0($sp)
/* 3BAC50 E00BCC20 D7B400C8 */ ldc1 $f20, 0xc8($sp)
/* 3BAC54 E00BCC24 03E00008 */ jr $ra
/* 3BAC58 E00BCC28 27BD00F8 */ addiu $sp, $sp, 0xf8
/* 3BAC5C E00BCC2C 00000000 */ nop

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802B7000_E21870
/* E21870 802B7000 3C048011 */ lui $a0, %hi(D_8010EBB0)
/* E21874 802B7004 2484EBB0 */ addiu $a0, $a0, %lo(D_8010EBB0)
/* E21878 802B7008 3C038011 */ lui $v1, %hi(gPlayerActionState)
/* E2187C 802B700C 8063F07C */ lb $v1, %lo(gPlayerActionState)($v1)
/* E21880 802B7010 2402001F */ addiu $v0, $zero, 0x1f
/* E21884 802B7014 1062000B */ beq $v1, $v0, .L802B7044
/* E21888 802B7018 24020001 */ addiu $v0, $zero, 1
/* E2188C 802B701C 80830000 */ lb $v1, ($a0)
/* E21890 802B7020 14620006 */ bne $v1, $v0, .L802B703C
/* E21894 802B7024 24020009 */ addiu $v0, $zero, 9
/* E21898 802B7028 80830003 */ lb $v1, 3($a0)
/* E2189C 802B702C 10620005 */ beq $v1, $v0, .L802B7044
/* E218A0 802B7030 24020004 */ addiu $v0, $zero, 4
/* E218A4 802B7034 10620003 */ beq $v1, $v0, .L802B7044
/* E218A8 802B7038 00000000 */ nop
.L802B703C:
/* E218AC 802B703C 03E00008 */ jr $ra
/* E218B0 802B7040 0000102D */ daddu $v0, $zero, $zero
.L802B7044:
/* E218B4 802B7044 03E00008 */ jr $ra
/* E218B8 802B7048 24020001 */ addiu $v0, $zero, 1

13
src/code_3A70F0.c Normal file
View File

@ -0,0 +1,13 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3A70F0", func_E00A8000);
INCLUDE_ASM(s32, "code_3A70F0", func_E00A80FC);
INCLUDE_ASM(s32, "code_3A70F0", func_E00A8104);
INCLUDE_ASM(s32, "code_3A70F0", func_E00A82D4);
INCLUDE_ASM(s32, "code_3A70F0", func_E00A8318);
INCLUDE_ASM(s32, "code_3A70F0", func_E00A8320);

11
src/code_3AA920.c Normal file
View File

@ -0,0 +1,11 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3AA920", func_E00AA000);
INCLUDE_ASM(s32, "code_3AA920", func_E00AA104);
INCLUDE_ASM(s32, "code_3AA920", func_E00AA10C);
INCLUDE_ASM(s32, "code_3AA920", func_E00AA3C0);
INCLUDE_ASM(s32, "code_3AA920", func_E00AA404);

13
src/code_3AEE20.c Normal file
View File

@ -0,0 +1,13 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3AEE20", func_E00AC000);
INCLUDE_ASM(s32, "code_3AEE20", func_E00AC11C);
INCLUDE_ASM(s32, "code_3AEE20", func_E00AC124);
INCLUDE_ASM(s32, "code_3AEE20", func_E00AC280);
INCLUDE_ASM(s32, "code_3AEE20", func_E00AC288);
INCLUDE_ASM(s32, "code_3AEE20", func_E00AC2A4);

13
src/code_3B2350.c Normal file
View File

@ -0,0 +1,13 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3B2350", func_E00AE000);
INCLUDE_ASM(s32, "code_3B2350", func_E00AE1AC);
INCLUDE_ASM(s32, "code_3B2350", func_E00AE1B4);
INCLUDE_ASM(s32, "code_3B2350", func_E00AE4FC);
INCLUDE_ASM(s32, "code_3B2350", func_E00AE544);
INCLUDE_ASM(s32, "code_3B2350", func_E00AE54C);

11
src/code_3B3EB0.c Normal file
View File

@ -0,0 +1,11 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3B3EB0", func_E00B0000);
INCLUDE_ASM(s32, "code_3B3EB0", func_E00B011C);
INCLUDE_ASM(s32, "code_3B3EB0", func_E00B0124);
INCLUDE_ASM(s32, "code_3B3EB0", func_E00B01F8);
INCLUDE_ASM(s32, "code_3B3EB0", func_E00B0234);

13
src/code_3B7B80.c Normal file
View File

@ -0,0 +1,13 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3B7B80", func_E00B8000);
INCLUDE_ASM(s32, "code_3B7B80", func_E00B812C);
INCLUDE_ASM(s32, "code_3B7B80", func_E00B8134);
INCLUDE_ASM(s32, "code_3B7B80", func_E00B81B8);
INCLUDE_ASM(s32, "code_3B7B80", func_E00B8200);
INCLUDE_ASM(s32, "code_3B7B80", func_E00B8208);

15
src/code_3BA030.c Normal file
View File

@ -0,0 +1,15 @@
#include "common.h"
INCLUDE_ASM(s32, "code_3BA030", func_E00BC000);
INCLUDE_ASM(s32, "code_3BA030", func_E00BC1D0);
INCLUDE_ASM(s32, "code_3BA030", func_E00BC1D8);
INCLUDE_ASM(s32, "code_3BA030", func_E00BC238);
INCLUDE_ASM(s32, "code_3BA030", func_E00BC2E8);
INCLUDE_ASM(s32, "code_3BA030", func_E00BC36C);
INCLUDE_ASM(s32, "code_3BA030", func_E00BC374);

View File

@ -835,6 +835,61 @@ segments:
- [0x3A37E0, "c"]
- [0x3a42b0, "bin"]
- [0x3A4320, "bin"]
- name: code
type: code
start: 0x3A70F0
vram: 0xE00A8000
files:
- [0x3A70F0, "c"]
- [0x3A7710, "bin"]
- [0x3A77A0, "bin"] # split further
- name: code
type: code
start: 0x3AA920
vram: 0xE00AA000
files:
- [0x3AA920, "c"]
- [0x3AAFE0, "bin"]
- [0x3AB030, "bin"] # todo split this further
- name: code
type: code
start: 0x3AEE20
vram: 0xE00AC000
files:
- [0x3AEE20, "c"]
- [0x3AF5D0, "bin"]
- [0x3AF700, "bin"] # todo split this further
- name: code
type: code
start: 0x3B2350
vram: 0xE00AE000
files:
- [0x3B2350, "c"]
- [0x3B2D90, "bin"] # todo split this further
- name: code
type: code
start: 0x3B3EB0
vram: 0xE00B0000
files:
- [0x3B3EB0, "c"]
- [0x3B4690, "bin"]
- [0x3B46A0, "bin"] # todo split this further
- name: code
type: code
start: 0x3B7B80
vram: 0xE00B8000
files:
- [0x3B7B80, "c"]
- [0x3B8470, "bin"]
- [0x3B8860, "bin"] # todo split this further
- name: code
type: code
start: 0x3BA030
vram: 0xE00BC000
files:
- [0x3BA030, "c"]
- [0x3BAC60, "bin"]
- [0x3BAEA0, "bin"] # todo split this further ADD STUFF AFTER HERE
- name: code
type: code
start: 0x415D90
@ -858,7 +913,7 @@ segments:
vram: 0x802B7000
files:
- [0xe20eb0, "c", "code_e20eb0"]
- [0xE215C0, "bin"]
- [0xE215C0, "bin"]
- name: code
type: code
start: 0xE21870