a few changes

This commit is contained in:
Ethan Roseman 2020-09-23 23:16:13 -04:00
parent 196abe7db2
commit e5de7baa7f
3952 changed files with 312699 additions and 321696 deletions

1448
asm/boot.s

File diff suppressed because it is too large Load Diff

View File

@ -1,32 +1,29 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel entry_point glabel entry_point
/* 001000 80025C00 3C08800A */ lui $t0, 0x800a /* 1000 80025C00 3C08800A */ lui $t0, 0x800a
/* 001004 80025C04 2508A5B0 */ addiu $t0, $t0, -0x5a50 /* 1004 80025C04 2508A5B0 */ addiu $t0, $t0, -0x5a50
/* 001008 80025C08 3C090004 */ lui $t1, 4 /* 1008 80025C08 3C090004 */ lui $t1, 4
/* 00100C 80025C0C 25291F50 */ addiu $t1, $t1, 0x1f50 /* 100C 80025C0C 25291F50 */ addiu $t1, $t1, 0x1f50
.L80025C10: .L80025C10:
/* 001010 80025C10 AD000000 */ sw $zero, ($t0) /* 1010 80025C10 AD000000 */ sw $zero, ($t0)
/* 001014 80025C14 AD000004 */ sw $zero, 4($t0) /* 1014 80025C14 AD000004 */ sw $zero, 4($t0)
/* 001018 80025C18 21080008 */ addi $t0, $t0, 8 /* 1018 80025C18 21080008 */ addi $t0, $t0, 8
/* 00101C 80025C1C 2129FFF8 */ addi $t1, $t1, -8 /* 101C 80025C1C 2129FFF8 */ addi $t1, $t1, -8
/* 001020 80025C20 1520FFFB */ bnez $t1, .L80025C10 /* 1020 80025C20 1520FFFB */ bnez $t1, .L80025C10
/* 001024 80025C24 00000000 */ nop /* 1024 80025C24 00000000 */ nop
/* 001028 80025C28 3C1D800B */ lui $sp, 0x800b /* 1028 80025C28 3C1D800B */ lui $sp, 0x800b
/* 00102C 80025C2C 27BD6590 */ addiu $sp, $sp, 0x6590 /* 102C 80025C2C 27BD6590 */ addiu $sp, $sp, 0x6590
/* 001030 80025C30 3C0A8006 */ lui $t2, 0x8006 /* 1030 80025C30 3C0A8006 */ lui $t2, 0x8006
/* 001034 80025C34 254AE8B0 */ addiu $t2, $t2, -0x1750 /* 1034 80025C34 254AE8B0 */ addiu $t2, $t2, -0x1750
/* 001038 80025C38 01400008 */ jr $t2 /* 1038 80025C38 01400008 */ jr $t2
/* 00103C 80025C3C 00000000 */ nop /* 103C 80025C3C 00000000 */ nop
/* 001040 80025C40 00000000 */ nop /* 1040 80025C40 00000000 */ nop
/* 001044 80025C44 00000000 */ nop /* 1044 80025C44 00000000 */ nop
/* 001048 80025C48 00000000 */ nop /* 1048 80025C48 00000000 */ nop
/* 00104C 80025C4C 00000000 */ nop /* 104C 80025C4C 00000000 */ nop
/* 001050 80025C50 00000000 */ nop /* 1050 80025C50 00000000 */ nop
/* 001054 80025C54 00000000 */ nop /* 1054 80025C54 00000000 */ nop
/* 001058 80025C58 00000000 */ nop /* 1058 80025C58 00000000 */ nop
/* 00105C 80025C5C 00000000 */ nop /* 105C 80025C5C 00000000 */ nop

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802DEAA0 glabel func_802DEAA0
/* 101B90 802DEAA0 00C0102D */ daddu $v0, $a2, $zero /* 101B90 802DEAA0 00C0102D */ daddu $v0, $a2, $zero
/* 101B94 802DEAA4 24C60010 */ addiu $a2, $a2, 0x10 /* 101B94 802DEAA4 24C60010 */ addiu $a2, $a2, 0x10
@ -28,12 +27,9 @@ glabel func_802DEAA0
/* 101BE0 802DEAF0 00471021 */ addu $v0, $v0, $a3 /* 101BE0 802DEAF0 00471021 */ addu $v0, $v0, $a3
/* 101BE4 802DEAF4 080B7AB4 */ j .L802DEAD0 /* 101BE4 802DEAF4 080B7AB4 */ j .L802DEAD0
/* 101BE8 802DEAF8 AC620000 */ sw $v0, ($v1) /* 101BE8 802DEAF8 AC620000 */ sw $v0, ($v1)
.L802DEAFC: .L802DEAFC:
/* 101BEC 802DEAFC 080B7AAF */ j .L802DEABC /* 101BEC 802DEAFC 080B7AAF */ j .L802DEABC
/* 101BF0 802DEB00 24C60004 */ addiu $a2, $a2, 4 /* 101BF0 802DEB00 24C60004 */ addiu $a2, $a2, 4
.L802DEB04: .L802DEB04:
/* 101BF4 802DEB04 03E00008 */ jr $ra /* 101BF4 802DEB04 03E00008 */ jr $ra
/* 101BF8 802DEB08 00000000 */ nop /* 101BF8 802DEB08 00000000 */ nop

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802DED60 glabel func_802DED60
/* 101E50 802DED60 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 101E50 802DED60 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 101E54 802DED64 AFB10014 */ sw $s1, 0x14($sp) /* 101E54 802DED64 AFB10014 */ sw $s1, 0x14($sp)
@ -85,4 +84,3 @@ glabel func_802DED60
/* 101F84 802DEE94 8FB00010 */ lw $s0, 0x10($sp) /* 101F84 802DEE94 8FB00010 */ lw $s0, 0x10($sp)
/* 101F88 802DEE98 03E00008 */ jr $ra /* 101F88 802DEE98 03E00008 */ jr $ra
/* 101F8C 802DEE9C 27BD0020 */ addiu $sp, $sp, 0x20 /* 101F8C 802DEE9C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802DEEA0 glabel func_802DEEA0
/* 101F90 802DEEA0 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 101F90 802DEEA0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 101F94 802DEEA4 0080382D */ daddu $a3, $a0, $zero /* 101F94 802DEEA4 0080382D */ daddu $a3, $a0, $zero
@ -30,7 +29,6 @@ glabel func_802DEEA0
/* 101FEC 802DEEFC 8C62000C */ lw $v0, 0xc($v1) /* 101FEC 802DEEFC 8C62000C */ lw $v0, 0xc($v1)
/* 101FF0 802DEF00 080B7BE9 */ j .L802DEFA4 /* 101FF0 802DEF00 080B7BE9 */ j .L802DEFA4
/* 101FF4 802DEF04 AC690000 */ sw $t1, ($v1) /* 101FF4 802DEF04 AC690000 */ sw $t1, ($v1)
.L802DEF08: .L802DEF08:
/* 101FF8 802DEF08 52080001 */ beql $s0, $t0, .L802DEF10 /* 101FF8 802DEF08 52080001 */ beql $s0, $t0, .L802DEF10
/* 101FFC 802DEF0C 0080802D */ daddu $s0, $a0, $zero /* 101FFC 802DEF0C 0080802D */ daddu $s0, $a0, $zero
@ -74,7 +72,6 @@ glabel func_802DEEA0
/* 102084 802DEF94 8E02000C */ lw $v0, 0xc($s0) /* 102084 802DEF94 8E02000C */ lw $v0, 0xc($s0)
/* 102088 802DEF98 080B7BE9 */ j .L802DEFA4 /* 102088 802DEF98 080B7BE9 */ j .L802DEFA4
/* 10208C 802DEF9C 00000000 */ nop /* 10208C 802DEF9C 00000000 */ nop
.L802DEFA0: .L802DEFA0:
/* 102090 802DEFA0 0000102D */ daddu $v0, $zero, $zero /* 102090 802DEFA0 0000102D */ daddu $v0, $zero, $zero
.L802DEFA4: .L802DEFA4:
@ -82,4 +79,3 @@ glabel func_802DEEA0
/* 102098 802DEFA8 8FB00010 */ lw $s0, 0x10($sp) /* 102098 802DEFA8 8FB00010 */ lw $s0, 0x10($sp)
/* 10209C 802DEFAC 03E00008 */ jr $ra /* 10209C 802DEFAC 03E00008 */ jr $ra
/* 1020A0 802DEFB0 27BD0018 */ addiu $sp, $sp, 0x18 /* 1020A0 802DEFB0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802DEFB4 glabel func_802DEFB4
/* 1020A4 802DEFB4 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 1020A4 802DEFB4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1020A8 802DEFB8 AFBF0010 */ sw $ra, 0x10($sp) /* 1020A8 802DEFB8 AFBF0010 */ sw $ra, 0x10($sp)
@ -28,4 +27,3 @@ glabel func_802DEFB4
/* 1020F0 802DF000 8FBF0010 */ lw $ra, 0x10($sp) /* 1020F0 802DF000 8FBF0010 */ lw $ra, 0x10($sp)
/* 1020F4 802DF004 03E00008 */ jr $ra /* 1020F4 802DF004 03E00008 */ jr $ra
/* 1020F8 802DF008 27BD0018 */ addiu $sp, $sp, 0x18 /* 1020F8 802DF008 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802DF00C glabel func_802DF00C
/* 1020FC 802DF00C 27BDFE30 */ addiu $sp, $sp, -0x1d0 /* 1020FC 802DF00C 27BDFE30 */ addiu $sp, $sp, -0x1d0
/* 102100 802DF010 AFB601C0 */ sw $s6, 0x1c0($sp) /* 102100 802DF010 AFB601C0 */ sw $s6, 0x1c0($sp)
@ -38,7 +37,6 @@ glabel func_802DF00C
/* 102174 802DF084 02C21021 */ addu $v0, $s6, $v0 /* 102174 802DF084 02C21021 */ addu $v0, $s6, $v0
/* 102178 802DF088 080B7C5C */ j .L802DF170 /* 102178 802DF088 080B7C5C */ j .L802DF170
/* 10217C 802DF08C 8C480010 */ lw $t0, 0x10($v0) /* 10217C 802DF08C 8C480010 */ lw $t0, 0x10($v0)
.L802DF090: .L802DF090:
/* 102180 802DF090 94620004 */ lhu $v0, 4($v1) /* 102180 802DF090 94620004 */ lhu $v0, 4($v1)
/* 102184 802DF094 8C660000 */ lw $a2, ($v1) /* 102184 802DF094 8C660000 */ lw $a2, ($v1)
@ -71,7 +69,6 @@ glabel func_802DF00C
/* 1021EC 802DF0FC 24C60002 */ addiu $a2, $a2, 2 /* 1021EC 802DF0FC 24C60002 */ addiu $a2, $a2, 2
/* 1021F0 802DF100 080B7C5A */ j .L802DF168 /* 1021F0 802DF100 080B7C5A */ j .L802DF168
/* 1021F4 802DF104 00000000 */ nop /* 1021F4 802DF104 00000000 */ nop
.L802DF108: .L802DF108:
/* 1021F8 802DF108 108E0017 */ beq $a0, $t6, .L802DF168 /* 1021F8 802DF108 108E0017 */ beq $a0, $t6, .L802DF168
/* 1021FC 802DF10C 28826001 */ slti $v0, $a0, 0x6001 /* 1021FC 802DF10C 28826001 */ slti $v0, $a0, 0x6001
@ -81,13 +78,11 @@ glabel func_802DF00C
/* 10220C 802DF11C 24C60002 */ addiu $a2, $a2, 2 /* 10220C 802DF11C 24C60002 */ addiu $a2, $a2, 2
/* 102210 802DF120 080B7C5A */ j .L802DF168 /* 102210 802DF120 080B7C5A */ j .L802DF168
/* 102214 802DF124 00000000 */ nop /* 102214 802DF124 00000000 */ nop
.L802DF128: .L802DF128:
/* 102218 802DF128 508B000E */ beql $a0, $t3, .L802DF164 /* 102218 802DF128 508B000E */ beql $a0, $t3, .L802DF164
/* 10221C 802DF12C 24C60002 */ addiu $a2, $a2, 2 /* 10221C 802DF12C 24C60002 */ addiu $a2, $a2, 2
/* 102220 802DF130 080B7C5A */ j .L802DF168 /* 102220 802DF130 080B7C5A */ j .L802DF168
/* 102224 802DF134 00000000 */ nop /* 102224 802DF134 00000000 */ nop
.L802DF138: .L802DF138:
/* 102228 802DF138 30E400FF */ andi $a0, $a3, 0xff /* 102228 802DF138 30E400FF */ andi $a0, $a3, 0xff
/* 10222C 802DF13C 28820064 */ slti $v0, $a0, 0x64 /* 10222C 802DF13C 28820064 */ slti $v0, $a0, 0x64
@ -96,7 +91,6 @@ glabel func_802DF00C
/* 102238 802DF148 01221021 */ addu $v0, $t1, $v0 /* 102238 802DF148 01221021 */ addu $v0, $t1, $v0
/* 10223C 802DF14C 080B7C5A */ j .L802DF168 /* 10223C 802DF14C 080B7C5A */ j .L802DF168
/* 102240 802DF150 AC4A0000 */ sw $t2, ($v0) /* 102240 802DF150 AC4A0000 */ sw $t2, ($v0)
.L802DF154: .L802DF154:
/* 102244 802DF154 2463FFFF */ addiu $v1, $v1, -1 /* 102244 802DF154 2463FFFF */ addiu $v1, $v1, -1
.L802DF158: .L802DF158:
@ -169,7 +163,6 @@ glabel func_802DF00C
/* 10232C 802DF23C 26730004 */ addiu $s3, $s3, 4 /* 10232C 802DF23C 26730004 */ addiu $s3, $s3, 4
/* 102330 802DF240 080B7C93 */ j .L802DF24C /* 102330 802DF240 080B7C93 */ j .L802DF24C
/* 102334 802DF244 ACC50000 */ sw $a1, ($a2) /* 102334 802DF244 ACC50000 */ sw $a1, ($a2)
.L802DF248: .L802DF248:
/* 102338 802DF248 ACD50000 */ sw $s5, ($a2) /* 102338 802DF248 ACD50000 */ sw $s5, ($a2)
.L802DF24C: .L802DF24C:
@ -211,4 +204,3 @@ glabel func_802DF00C
/* 1023BC 802DF2CC 8FB001A8 */ lw $s0, 0x1a8($sp) /* 1023BC 802DF2CC 8FB001A8 */ lw $s0, 0x1a8($sp)
/* 1023C0 802DF2D0 03E00008 */ jr $ra /* 1023C0 802DF2D0 03E00008 */ jr $ra
/* 1023C4 802DF2D4 27BD01D0 */ addiu $sp, $sp, 0x1d0 /* 1023C4 802DF2D4 27BD01D0 */ addiu $sp, $sp, 0x1d0

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802DF2D8 glabel func_802DF2D8
/* 1023C8 802DF2D8 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 1023C8 802DF2D8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1023CC 802DF2DC AFB00010 */ sw $s0, 0x10($sp) /* 1023CC 802DF2DC AFB00010 */ sw $s0, 0x10($sp)
@ -52,7 +51,4 @@ glabel func_802DF2D8
/* 102470 802DF380 00C0102D */ daddu $v0, $a2, $zero /* 102470 802DF380 00C0102D */ daddu $v0, $a2, $zero
/* 102474 802DF384 03E00008 */ jr $ra /* 102474 802DF384 03E00008 */ jr $ra
/* 102478 802DF388 27BD0020 */ addiu $sp, $sp, 0x20 /* 102478 802DF388 27BD0020 */ addiu $sp, $sp, 0x20
/* 10247C 802DF38C 00000000 */ nop /* 10247C 802DF38C 00000000 */ nop

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel load_sprite glabel load_sprite
/* 101BFC 802DEB0C 27BDFFD0 */ addiu $sp, $sp, -0x30 /* 101BFC 802DEB0C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 101C00 802DEB10 AFB50024 */ sw $s5, 0x24($sp) /* 101C00 802DEB10 AFB50024 */ sw $s5, 0x24($sp)
@ -20,7 +19,6 @@ glabel load_sprite
/* 101C34 802DEB44 8E730C64 */ lw $s3, 0xc64($s3) /* 101C34 802DEB44 8E730C64 */ lw $s3, 0xc64($s3)
/* 101C38 802DEB48 080B7AD7 */ j .L802DEB5C /* 101C38 802DEB48 080B7AD7 */ j .L802DEB5C
/* 101C3C 802DEB4C 00152080 */ sll $a0, $s5, 2 /* 101C3C 802DEB4C 00152080 */ sll $a0, $s5, 2
.L802DEB50: .L802DEB50:
/* 101C40 802DEB50 3C13802E */ lui $s3, 0x802e /* 101C40 802DEB50 3C13802E */ lui $s3, 0x802e
/* 101C44 802DEB54 8E730C68 */ lw $s3, 0xc68($s3) /* 101C44 802DEB54 8E730C68 */ lw $s3, 0xc68($s3)
@ -55,7 +53,6 @@ glabel load_sprite
/* 101CB4 802DEBC4 00000000 */ nop /* 101CB4 802DEBC4 00000000 */ nop
/* 101CB8 802DEBC8 080B7AFA */ j .L802DEBE8 /* 101CB8 802DEBC8 080B7AFA */ j .L802DEBE8
/* 101CBC 802DEBCC 0040882D */ daddu $s1, $v0, $zero /* 101CBC 802DEBCC 0040882D */ daddu $s1, $v0, $zero
.L802DEBD0: .L802DEBD0:
/* 101CC0 802DEBD0 8CA50000 */ lw $a1, ($a1) /* 101CC0 802DEBD0 8CA50000 */ lw $a1, ($a1)
/* 101CC4 802DEBD4 3C048035 */ lui $a0, 0x8035 /* 101CC4 802DEBD4 3C048035 */ lui $a0, 0x8035
@ -86,7 +83,6 @@ glabel load_sprite
/* 101D20 802DEC30 00621821 */ addu $v1, $v1, $v0 /* 101D20 802DEC30 00621821 */ addu $v1, $v1, $v0
/* 101D24 802DEC34 080B7B05 */ j .L802DEC14 /* 101D24 802DEC34 080B7B05 */ j .L802DEC14
/* 101D28 802DEC38 ACA30000 */ sw $v1, ($a1) /* 101D28 802DEC38 ACA30000 */ sw $v1, ($a1)
.L802DEC3C: .L802DEC3C:
/* 101D2C 802DEC3C 1280002D */ beqz $s4, .L802DECF4 /* 101D2C 802DEC3C 1280002D */ beqz $s4, .L802DECF4
/* 101D30 802DEC40 00151880 */ sll $v1, $s5, 2 /* 101D30 802DEC40 00151880 */ sll $v1, $s5, 2
@ -149,7 +145,6 @@ glabel load_sprite
/* 101E08 802DED18 AC650000 */ sw $a1, ($v1) /* 101E08 802DED18 AC650000 */ sw $a1, ($v1)
/* 101E0C 802DED1C 080B7B43 */ j .L802DED0C /* 101E0C 802DED1C 080B7B43 */ j .L802DED0C
/* 101E10 802DED20 24630004 */ addiu $v1, $v1, 4 /* 101E10 802DED20 24630004 */ addiu $v1, $v1, 4
.L802DED24: .L802DED24:
/* 101E14 802DED24 0000202D */ daddu $a0, $zero, $zero /* 101E14 802DED24 0000202D */ daddu $a0, $zero, $zero
/* 101E18 802DED28 0080282D */ daddu $a1, $a0, $zero /* 101E18 802DED28 0080282D */ daddu $a1, $a0, $zero
@ -166,4 +161,3 @@ glabel load_sprite
/* 101E44 802DED54 8FB00010 */ lw $s0, 0x10($sp) /* 101E44 802DED54 8FB00010 */ lw $s0, 0x10($sp)
/* 101E48 802DED58 03E00008 */ jr $ra /* 101E48 802DED58 03E00008 */ jr $ra
/* 101E4C 802DED5C 27BD0030 */ addiu $sp, $sp, 0x30 /* 101E4C 802DED5C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,12 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_shadow_callback
/* 102610 802E0D90 3C013DCC */ lui $at, 0x3dcc
/* 102614 802E0D94 3421CCCD */ ori $at, $at, 0xcccd
/* 102618 802E0D98 44810000 */ mtc1 $at, $f0
/* 10261C 802E0D9C 00000000 */ nop
/* 102620 802E0DA0 E480001C */ swc1 $f0, 0x1c($a0)
/* 102624 802E0DA4 E4800020 */ swc1 $f0, 0x20($a0)
/* 102628 802E0DA8 03E00008 */ jr $ra
/* 10262C 802E0DAC E4800024 */ swc1 $f0, 0x24($a0)

View File

@ -0,0 +1,41 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel entity_init_BlueSwitch
/* 103C00 802E2380 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 103C04 802E2384 AFB00010 */ sw $s0, 0x10($sp)
/* 103C08 802E2388 0080802D */ daddu $s0, $a0, $zero
/* 103C0C 802E238C AFBF0018 */ sw $ra, 0x18($sp)
/* 103C10 802E2390 AFB10014 */ sw $s1, 0x14($sp)
/* 103C14 802E2394 0C0B88D3 */ jal func_802E234C
/* 103C18 802E2398 8E110040 */ lw $s1, 0x40($s0)
/* 103C1C 802E239C 3C038016 */ lui $v1, 0x8016
/* 103C20 802E23A0 8C63C7D0 */ lw $v1, -0x3830($v1)
/* 103C24 802E23A4 24020002 */ addiu $v0, $zero, 2
/* 103C28 802E23A8 14620005 */ bne $v1, $v0, .L802E23C0
/* 103C2C 802E23AC 24020001 */ addiu $v0, $zero, 1
/* 103C30 802E23B0 3C01802F */ lui $at, 0x802f
/* 103C34 802E23B4 AC30B3A0 */ sw $s0, -0x4c60($at)
/* 103C38 802E23B8 080B88FD */ j .L802E23F4
/* 103C3C 802E23BC 00000000 */ nop
.L802E23C0:
/* 103C40 802E23C0 1462000A */ bne $v1, $v0, .L802E23EC
/* 103C44 802E23C4 00000000 */ nop
/* 103C48 802E23C8 3C02802F */ lui $v0, 0x802f
/* 103C4C 802E23CC 8C42B3A0 */ lw $v0, -0x4c60($v0)
/* 103C50 802E23D0 10400008 */ beqz $v0, .L802E23F4
/* 103C54 802E23D4 00000000 */ nop
/* 103C58 802E23D8 AE220028 */ sw $v0, 0x28($s1)
/* 103C5C 802E23DC 8E020000 */ lw $v0, ($s0)
/* 103C60 802E23E0 34420001 */ ori $v0, $v0, 1
/* 103C64 802E23E4 080B88FD */ j .L802E23F4
/* 103C68 802E23E8 AE020000 */ sw $v0, ($s0)
.L802E23EC:
/* 103C6C 802E23EC 3C01802F */ lui $at, 0x802f
/* 103C70 802E23F0 AC20B3A0 */ sw $zero, -0x4c60($at)
.L802E23F4:
/* 103C74 802E23F4 8FBF0018 */ lw $ra, 0x18($sp)
/* 103C78 802E23F8 8FB10014 */ lw $s1, 0x14($sp)
/* 103C7C 802E23FC 8FB00010 */ lw $s0, 0x10($sp)
/* 103C80 802E2400 03E00008 */ jr $ra
/* 103C84 802E2404 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,22 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel entity_init_HugeBlueSwitch
/* 103C88 802E2408 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 103C8C 802E240C AFB00010 */ sw $s0, 0x10($sp)
/* 103C90 802E2410 AFBF0014 */ sw $ra, 0x14($sp)
/* 103C94 802E2414 0C0B88D3 */ jal func_802E234C
/* 103C98 802E2418 0080802D */ daddu $s0, $a0, $zero
/* 103C9C 802E241C 3C014040 */ lui $at, 0x4040
/* 103CA0 802E2420 44810000 */ mtc1 $at, $f0
/* 103CA4 802E2424 8E020040 */ lw $v0, 0x40($s0)
/* 103CA8 802E2428 E6000054 */ swc1 $f0, 0x54($s0)
/* 103CAC 802E242C E6000058 */ swc1 $f0, 0x58($s0)
/* 103CB0 802E2430 E600005C */ swc1 $f0, 0x5c($s0)
/* 103CB4 802E2434 E4400014 */ swc1 $f0, 0x14($v0)
/* 103CB8 802E2438 E4400018 */ swc1 $f0, 0x18($v0)
/* 103CBC 802E243C E440001C */ swc1 $f0, 0x1c($v0)
/* 103CC0 802E2440 8FBF0014 */ lw $ra, 0x14($sp)
/* 103CC4 802E2444 8FB00010 */ lw $s0, 0x10($sp)
/* 103CC8 802E2448 03E00008 */ jr $ra
/* 103CCC 802E244C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E0D90
/* 102610 802E0D90 3C013DCC */ lui $at, 0x3dcc
/* 102614 802E0D94 3421CCCD */ ori $at, $at, 0xcccd
/* 102618 802E0D98 44810000 */ mtc1 $at, $f0
/* 10261C 802E0D9C 00000000 */ nop
/* 102620 802E0DA0 E480001C */ swc1 $f0, 0x1c($a0)
/* 102624 802E0DA4 E4800020 */ swc1 $f0, 0x20($a0)
/* 102628 802E0DA8 03E00008 */ jr $ra
/* 10262C 802E0DAC E4800024 */ swc1 $f0, 0x24($a0)

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E0DB0 glabel func_802E0DB0
/* 102630 802E0DB0 90820006 */ lbu $v0, 6($a0) /* 102630 802E0DB0 90820006 */ lbu $v0, 6($a0)
/* 102634 802E0DB4 30420004 */ andi $v0, $v0, 4 /* 102634 802E0DB4 30420004 */ andi $v0, $v0, 4
@ -16,4 +15,3 @@ glabel func_802E0DB0
.L802E0DD8: .L802E0DD8:
/* 102658 802E0DD8 03E00008 */ jr $ra /* 102658 802E0DD8 03E00008 */ jr $ra
/* 10265C 802E0DDC 00000000 */ nop /* 10265C 802E0DDC 00000000 */ nop

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E0DE0 glabel func_802E0DE0
/* 102660 802E0DE0 27BDFF28 */ addiu $sp, $sp, -0xd8 /* 102660 802E0DE0 27BDFF28 */ addiu $sp, $sp, -0xd8
/* 102664 802E0DE4 AFB000A8 */ sw $s0, 0xa8($sp) /* 102664 802E0DE4 AFB000A8 */ sw $s0, 0xa8($sp)
@ -200,50 +199,3 @@ glabel func_802E0DE0
/* 102968 802E10E8 D7B400D0 */ ldc1 $f20, 0xd0($sp) /* 102968 802E10E8 D7B400D0 */ ldc1 $f20, 0xd0($sp)
/* 10296C 802E10EC 03E00008 */ jr $ra /* 10296C 802E10EC 03E00008 */ jr $ra
/* 102970 802E10F0 27BD00D8 */ addiu $sp, $sp, 0xd8 /* 102970 802E10F0 27BD00D8 */ addiu $sp, $sp, 0xd8
/* 102974 802E10F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 102978 802E10F8 AFB10014 */ sw $s1, 0x14($sp)
/* 10297C 802E10FC 0080882D */ daddu $s1, $a0, $zero
/* 102980 802E1100 AFBF0018 */ sw $ra, 0x18($sp)
/* 102984 802E1104 AFB00010 */ sw $s0, 0x10($sp)
/* 102988 802E1108 8E300040 */ lw $s0, 0x40($s1)
/* 10298C 802E110C 86020004 */ lh $v0, 4($s0)
/* 102990 802E1110 24420006 */ addiu $v0, $v0, 6
/* 102994 802E1114 44826000 */ mtc1 $v0, $f12
/* 102998 802E1118 00000000 */ nop
/* 10299C 802E111C 0C00A6C9 */ jal clamp_angle
/* 1029A0 802E1120 46806320 */ cvt.s.w $f12, $f12
/* 1029A4 802E1124 4600008D */ trunc.w.s $f2, $f0
/* 1029A8 802E1128 44021000 */ mfc1 $v0, $f2
/* 1029AC 802E112C 0220202D */ daddu $a0, $s1, $zero
/* 1029B0 802E1130 0C0B8D94 */ jal func_802E3650
/* 1029B4 802E1134 A6020004 */ sh $v0, 4($s0)
/* 1029B8 802E1138 8FBF0018 */ lw $ra, 0x18($sp)
/* 1029BC 802E113C 8FB10014 */ lw $s1, 0x14($sp)
/* 1029C0 802E1140 8FB00010 */ lw $s0, 0x10($sp)
/* 1029C4 802E1144 03E00008 */ jr $ra
/* 1029C8 802E1148 27BD0020 */ addiu $sp, $sp, 0x20
/* 1029CC 802E114C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1029D0 802E1150 AFBF0010 */ sw $ra, 0x10($sp)
/* 1029D4 802E1154 0C009C22 */ jal func_80027088
/* 1029D8 802E1158 24040001 */ addiu $a0, $zero, 1
/* 1029DC 802E115C 0C03805E */ jal func_800E0178
/* 1029E0 802E1160 00000000 */ nop
/* 1029E4 802E1164 3C02800F */ lui $v0, 0x800f
/* 1029E8 802E1168 8C427B30 */ lw $v0, 0x7b30($v0)
/* 1029EC 802E116C AC400054 */ sw $zero, 0x54($v0)
/* 1029F0 802E1170 8FBF0010 */ lw $ra, 0x10($sp)
/* 1029F4 802E1174 03E00008 */ jr $ra
/* 1029F8 802E1178 27BD0018 */ addiu $sp, $sp, 0x18
/* 1029FC 802E117C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102A00 802E1180 AFBF0010 */ sw $ra, 0x10($sp)
/* 102A04 802E1184 0C009C22 */ jal func_80027088
/* 102A08 802E1188 0000202D */ daddu $a0, $zero, $zero
/* 102A0C 802E118C 0C038069 */ jal func_800E01A4
/* 102A10 802E1190 00000000 */ nop
/* 102A14 802E1194 8FBF0010 */ lw $ra, 0x10($sp)
/* 102A18 802E1198 03E00008 */ jr $ra
/* 102A1C 802E119C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E10F4
/* 102974 802E10F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 102978 802E10F8 AFB10014 */ sw $s1, 0x14($sp)
/* 10297C 802E10FC 0080882D */ daddu $s1, $a0, $zero
/* 102980 802E1100 AFBF0018 */ sw $ra, 0x18($sp)
/* 102984 802E1104 AFB00010 */ sw $s0, 0x10($sp)
/* 102988 802E1108 8E300040 */ lw $s0, 0x40($s1)
/* 10298C 802E110C 86020004 */ lh $v0, 4($s0)
/* 102990 802E1110 24420006 */ addiu $v0, $v0, 6
/* 102994 802E1114 44826000 */ mtc1 $v0, $f12
/* 102998 802E1118 00000000 */ nop
/* 10299C 802E111C 0C00A6C9 */ jal clamp_angle
/* 1029A0 802E1120 46806320 */ cvt.s.w $f12, $f12
/* 1029A4 802E1124 4600008D */ trunc.w.s $f2, $f0
/* 1029A8 802E1128 44021000 */ mfc1 $v0, $f2
/* 1029AC 802E112C 0220202D */ daddu $a0, $s1, $zero
/* 1029B0 802E1130 0C0B8D94 */ jal func_802E3650
/* 1029B4 802E1134 A6020004 */ sh $v0, 4($s0)
/* 1029B8 802E1138 8FBF0018 */ lw $ra, 0x18($sp)
/* 1029BC 802E113C 8FB10014 */ lw $s1, 0x14($sp)
/* 1029C0 802E1140 8FB00010 */ lw $s0, 0x10($sp)
/* 1029C4 802E1144 03E00008 */ jr $ra
/* 1029C8 802E1148 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E114C
/* 1029CC 802E114C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1029D0 802E1150 AFBF0010 */ sw $ra, 0x10($sp)
/* 1029D4 802E1154 0C009C22 */ jal func_80027088
/* 1029D8 802E1158 24040001 */ addiu $a0, $zero, 1
/* 1029DC 802E115C 0C03805E */ jal disable_player_input
/* 1029E0 802E1160 00000000 */ nop
/* 1029E4 802E1164 3C02800F */ lui $v0, 0x800f
/* 1029E8 802E1168 8C427B30 */ lw $v0, 0x7b30($v0)
/* 1029EC 802E116C AC400054 */ sw $zero, 0x54($v0)
/* 1029F0 802E1170 8FBF0010 */ lw $ra, 0x10($sp)
/* 1029F4 802E1174 03E00008 */ jr $ra
/* 1029F8 802E1178 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,13 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E117C
/* 1029FC 802E117C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102A00 802E1180 AFBF0010 */ sw $ra, 0x10($sp)
/* 102A04 802E1184 0C009C22 */ jal func_80027088
/* 102A08 802E1188 0000202D */ daddu $a0, $zero, $zero
/* 102A0C 802E118C 0C038069 */ jal enable_player_input
/* 102A10 802E1190 00000000 */ nop
/* 102A14 802E1194 8FBF0010 */ lw $ra, 0x10($sp)
/* 102A18 802E1198 03E00008 */ jr $ra
/* 102A1C 802E119C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -21,7 +21,6 @@ glabel func_802E1204
/* 102AC4 802E1244 34845BDF */ ori $a0, $a0, 0x5bdf /* 102AC4 802E1244 34845BDF */ ori $a0, $a0, 0x5bdf
/* 102AC8 802E1248 080B8498 */ j .L802E1260 /* 102AC8 802E1248 080B8498 */ j .L802E1260
/* 102ACC 802E124C 00000000 */ nop /* 102ACC 802E124C 00000000 */ nop
.L802E1250: .L802E1250:
/* 102AD0 802E1250 0C043F5A */ jal func_8010FD68 /* 102AD0 802E1250 0C043F5A */ jal func_8010FD68
/* 102AD4 802E1254 0200202D */ daddu $a0, $s0, $zero /* 102AD4 802E1254 0200202D */ daddu $a0, $s0, $zero
@ -32,205 +31,3 @@ glabel func_802E1204
/* 102AE4 802E1264 8FB00010 */ lw $s0, 0x10($sp) /* 102AE4 802E1264 8FB00010 */ lw $s0, 0x10($sp)
/* 102AE8 802E1268 03E00008 */ jr $ra /* 102AE8 802E1268 03E00008 */ jr $ra
/* 102AEC 802E126C 27BD0018 */ addiu $sp, $sp, 0x18 /* 102AEC 802E126C 27BD0018 */ addiu $sp, $sp, 0x18
/* 102AF0 802E1270 3C02802F */ lui $v0, 0x802f
/* 102AF4 802E1274 8C42B390 */ lw $v0, -0x4c70($v0)
/* 102AF8 802E1278 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102AFC 802E127C 10400003 */ beqz $v0, .L802E128C
/* 102B00 802E1280 AFBF0010 */ sw $ra, 0x10($sp)
/* 102B04 802E1284 0C043F5A */ jal func_8010FD68
/* 102B08 802E1288 00000000 */ nop
.L802E128C:
/* 102B0C 802E128C 8FBF0010 */ lw $ra, 0x10($sp)
/* 102B10 802E1290 03E00008 */ jr $ra
/* 102B14 802E1294 27BD0018 */ addiu $sp, $sp, 0x18
/* 102B18 802E1298 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102B1C 802E129C 3C04001D */ lui $a0, 0x1d
/* 102B20 802E12A0 34840004 */ ori $a0, $a0, 4
/* 102B24 802E12A4 3C05802F */ lui $a1, 0x802f
/* 102B28 802E12A8 24A5B394 */ addiu $a1, $a1, -0x4c6c
/* 102B2C 802E12AC AFB00010 */ sw $s0, 0x10($sp)
/* 102B30 802E12B0 3C10802F */ lui $s0, 0x802f
/* 102B34 802E12B4 2610B390 */ addiu $s0, $s0, -0x4c70
/* 102B38 802E12B8 AFBF0014 */ sw $ra, 0x14($sp)
/* 102B3C 802E12BC AE000000 */ sw $zero, ($s0)
/* 102B40 802E12C0 0C049640 */ jal load_string
/* 102B44 802E12C4 ACA00000 */ sw $zero, ($a1)
/* 102B48 802E12C8 3C04001E */ lui $a0, 0x1e
/* 102B4C 802E12CC 3484000A */ ori $a0, $a0, 0xa
/* 102B50 802E12D0 3C01802F */ lui $at, 0x802f
/* 102B54 802E12D4 AC22B39C */ sw $v0, -0x4c64($at)
/* 102B58 802E12D8 0C049640 */ jal load_string
/* 102B5C 802E12DC 0200282D */ daddu $a1, $s0, $zero
/* 102B60 802E12E0 8FBF0014 */ lw $ra, 0x14($sp)
/* 102B64 802E12E4 8FB00010 */ lw $s0, 0x10($sp)
/* 102B68 802E12E8 3C01802F */ lui $at, 0x802f
/* 102B6C 802E12EC AC22B398 */ sw $v0, -0x4c68($at)
/* 102B70 802E12F0 03E00008 */ jr $ra
/* 102B74 802E12F4 27BD0018 */ addiu $sp, $sp, 0x18
/* 102B78 802E12F8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102B7C 802E12FC 3C04001D */ lui $a0, 0x1d
/* 102B80 802E1300 3C05802F */ lui $a1, 0x802f
/* 102B84 802E1304 8CA5B39C */ lw $a1, -0x4c64($a1)
/* 102B88 802E1308 AFBF0010 */ sw $ra, 0x10($sp)
/* 102B8C 802E130C 0C04969A */ jal load_message_to_printer
/* 102B90 802E1310 34840005 */ ori $a0, $a0, 5
/* 102B94 802E1314 0C05272D */ jal play_sound
/* 102B98 802E1318 24040010 */ addiu $a0, $zero, 0x10
/* 102B9C 802E131C 8FBF0010 */ lw $ra, 0x10($sp)
/* 102BA0 802E1320 03E00008 */ jr $ra
/* 102BA4 802E1324 27BD0018 */ addiu $sp, $sp, 0x18
/* 102BA8 802E1328 3C02802F */ lui $v0, 0x802f
/* 102BAC 802E132C 8C42B394 */ lw $v0, -0x4c6c($v0)
/* 102BB0 802E1330 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102BB4 802E1334 10400003 */ beqz $v0, .L802E1344
/* 102BB8 802E1338 AFBF0010 */ sw $ra, 0x10($sp)
/* 102BBC 802E133C 0C043F5A */ jal func_8010FD68
/* 102BC0 802E1340 00000000 */ nop
.L802E1344:
/* 102BC4 802E1344 8FBF0010 */ lw $ra, 0x10($sp)
/* 102BC8 802E1348 03E00008 */ jr $ra
/* 102BCC 802E134C 27BD0018 */ addiu $sp, $sp, 0x18
/* 102BD0 802E1350 3C02802F */ lui $v0, 0x802f
/* 102BD4 802E1354 8C42B390 */ lw $v0, -0x4c70($v0)
/* 102BD8 802E1358 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102BDC 802E135C 10400013 */ beqz $v0, .L802E13AC
/* 102BE0 802E1360 AFBF0010 */ sw $ra, 0x10($sp)
/* 102BE4 802E1364 3C02802F */ lui $v0, 0x802f
/* 102BE8 802E1368 8C42B398 */ lw $v0, -0x4c68($v0)
/* 102BEC 802E136C 904304E8 */ lbu $v1, 0x4e8($v0)
/* 102BF0 802E1370 24020001 */ addiu $v0, $zero, 1
/* 102BF4 802E1374 14620007 */ bne $v1, $v0, .L802E1394
/* 102BF8 802E1378 00000000 */ nop
/* 102BFC 802E137C 3C05802F */ lui $a1, 0x802f
/* 102C00 802E1380 24A599DC */ addiu $a1, $a1, -0x6624
/* 102C04 802E1384 0C043EF0 */ jal func_8010FBC0
/* 102C08 802E1388 00000000 */ nop
/* 102C0C 802E138C 080B84E7 */ j .L802E139C
/* 102C10 802E1390 00000000 */ nop
.L802E1394:
/* 102C14 802E1394 0C043F5A */ jal func_8010FD68
/* 102C18 802E1398 00000000 */ nop
.L802E139C:
/* 102C1C 802E139C 3C04802F */ lui $a0, 0x802f
/* 102C20 802E13A0 8C84B39C */ lw $a0, -0x4c64($a0)
/* 102C24 802E13A4 0C04971C */ jal close_message
/* 102C28 802E13A8 00000000 */ nop
.L802E13AC:
/* 102C2C 802E13AC 8FBF0010 */ lw $ra, 0x10($sp)
/* 102C30 802E13B0 03E00008 */ jr $ra
/* 102C34 802E13B4 27BD0018 */ addiu $sp, $sp, 0x18
/* 102C38 802E13B8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 102C3C 802E13BC AFB00010 */ sw $s0, 0x10($sp)
/* 102C40 802E13C0 0080802D */ daddu $s0, $a0, $zero
/* 102C44 802E13C4 AFBF0018 */ sw $ra, 0x18($sp)
/* 102C48 802E13C8 AFB10014 */ sw $s1, 0x14($sp)
/* 102C4C 802E13CC 0C0B8DB9 */ jal func_802E36E4
/* 102C50 802E13D0 8E110040 */ lw $s1, 0x40($s0)
/* 102C54 802E13D4 3C02802E */ lui $v0, 0x802e
/* 102C58 802E13D8 24420DE0 */ addiu $v0, $v0, 0xde0
/* 102C5C 802E13DC AE02003C */ sw $v0, 0x3c($s0)
/* 102C60 802E13E0 24020008 */ addiu $v0, $zero, 8
/* 102C64 802E13E4 A6220004 */ sh $v0, 4($s1)
/* 102C68 802E13E8 8FBF0018 */ lw $ra, 0x18($sp)
/* 102C6C 802E13EC 8FB10014 */ lw $s1, 0x14($sp)
/* 102C70 802E13F0 8FB00010 */ lw $s0, 0x10($sp)
/* 102C74 802E13F4 03E00008 */ jr $ra
/* 102C78 802E13F8 27BD0020 */ addiu $sp, $sp, 0x20
/* 102C7C 802E13FC 00000000 */ nop
/* 102C80 802E1400 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102C84 802E1404 AFBF0014 */ sw $ra, 0x14($sp)
/* 102C88 802E1408 AFB00010 */ sw $s0, 0x10($sp)
/* 102C8C 802E140C 90820006 */ lbu $v0, 6($a0)
/* 102C90 802E1410 8C900040 */ lw $s0, 0x40($a0)
/* 102C94 802E1414 30420001 */ andi $v0, $v0, 1
/* 102C98 802E1418 1040000D */ beqz $v0, .L802E1450
/* 102C9C 802E141C 00000000 */ nop
/* 102CA0 802E1420 3C028011 */ lui $v0, 0x8011
/* 102CA4 802E1424 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 102CA8 802E1428 804300B4 */ lb $v1, 0xb4($v0)
/* 102CAC 802E142C 2402000E */ addiu $v0, $zero, 0xe
/* 102CB0 802E1430 10620003 */ beq $v1, $v0, .L802E1440
/* 102CB4 802E1434 24020010 */ addiu $v0, $zero, 0x10
/* 102CB8 802E1438 14620005 */ bne $v1, $v0, .L802E1450
/* 102CBC 802E143C 00000000 */ nop
.L802E1440:
/* 102CC0 802E1440 0C043F5A */ jal func_8010FD68
/* 102CC4 802E1444 00000000 */ nop
/* 102CC8 802E1448 24020008 */ addiu $v0, $zero, 8
/* 102CCC 802E144C A6020022 */ sh $v0, 0x22($s0)
.L802E1450:
/* 102CD0 802E1450 8FBF0014 */ lw $ra, 0x14($sp)
/* 102CD4 802E1454 8FB00010 */ lw $s0, 0x10($sp)
/* 102CD8 802E1458 03E00008 */ jr $ra
/* 102CDC 802E145C 27BD0018 */ addiu $sp, $sp, 0x18
/* 102CE0 802E1460 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 102CE4 802E1464 AFB10014 */ sw $s1, 0x14($sp)
/* 102CE8 802E1468 0080882D */ daddu $s1, $a0, $zero
/* 102CEC 802E146C AFBF0018 */ sw $ra, 0x18($sp)
/* 102CF0 802E1470 AFB00010 */ sw $s0, 0x10($sp)
/* 102CF4 802E1474 8E300040 */ lw $s0, 0x40($s1)
/* 102CF8 802E1478 96020022 */ lhu $v0, 0x22($s0)
/* 102CFC 802E147C 2443FFFF */ addiu $v1, $v0, -1
/* 102D00 802E1480 3042FFFF */ andi $v0, $v0, 0xffff
/* 102D04 802E1484 10400009 */ beqz $v0, .L802E14AC
/* 102D08 802E1488 A6030022 */ sh $v1, 0x22($s0)
/* 102D0C 802E148C C620004C */ lwc1 $f0, 0x4c($s1)
/* 102D10 802E1490 3C01802F */ lui $at, 0x802f
/* 102D14 802E1494 D422B000 */ ldc1 $f2, -0x5000($at)
/* 102D18 802E1498 46000021 */ cvt.d.s $f0, $f0
/* 102D1C 802E149C 46220001 */ sub.d $f0, $f0, $f2
/* 102D20 802E14A0 46200020 */ cvt.s.d $f0, $f0
/* 102D24 802E14A4 080B8531 */ j .L802E14C4
/* 102D28 802E14A8 E620004C */ swc1 $f0, 0x4c($s1)
.L802E14AC:
/* 102D2C 802E14AC 0C04419E */ jal func_80110678
/* 102D30 802E14B0 0220202D */ daddu $a0, $s1, $zero
/* 102D34 802E14B4 0C043F5A */ jal func_8010FD68
/* 102D38 802E14B8 0220202D */ daddu $a0, $s1, $zero
/* 102D3C 802E14BC 24020008 */ addiu $v0, $zero, 8
/* 102D40 802E14C0 A6020022 */ sh $v0, 0x22($s0)
.L802E14C4:
/* 102D44 802E14C4 8FBF0018 */ lw $ra, 0x18($sp)
/* 102D48 802E14C8 8FB10014 */ lw $s1, 0x14($sp)
/* 102D4C 802E14CC 8FB00010 */ lw $s0, 0x10($sp)
/* 102D50 802E14D0 03E00008 */ jr $ra
/* 102D54 802E14D4 27BD0020 */ addiu $sp, $sp, 0x20
/* 102D58 802E14D8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102D5C 802E14DC AFBF0014 */ sw $ra, 0x14($sp)
/* 102D60 802E14E0 AFB00010 */ sw $s0, 0x10($sp)
/* 102D64 802E14E4 8C900040 */ lw $s0, 0x40($a0)
/* 102D68 802E14E8 96020022 */ lhu $v0, 0x22($s0)
/* 102D6C 802E14EC 2443FFFF */ addiu $v1, $v0, -1
/* 102D70 802E14F0 3042FFFF */ andi $v0, $v0, 0xffff
/* 102D74 802E14F4 10400009 */ beqz $v0, .L802E151C
/* 102D78 802E14F8 A6030022 */ sh $v1, 0x22($s0)
/* 102D7C 802E14FC C480004C */ lwc1 $f0, 0x4c($a0)
/* 102D80 802E1500 3C01802F */ lui $at, 0x802f
/* 102D84 802E1504 D422B008 */ ldc1 $f2, -0x4ff8($at)
/* 102D88 802E1508 46000021 */ cvt.d.s $f0, $f0
/* 102D8C 802E150C 46220000 */ add.d $f0, $f0, $f2
/* 102D90 802E1510 46200020 */ cvt.s.d $f0, $f0
/* 102D94 802E1514 080B854B */ j .L802E152C
/* 102D98 802E1518 E480004C */ swc1 $f0, 0x4c($a0)
.L802E151C:
/* 102D9C 802E151C 0C043F5A */ jal func_8010FD68
/* 102DA0 802E1520 00000000 */ nop
/* 102DA4 802E1524 24020008 */ addiu $v0, $zero, 8
/* 102DA8 802E1528 A6020022 */ sh $v0, 0x22($s0)
.L802E152C:
/* 102DAC 802E152C 8FBF0014 */ lw $ra, 0x14($sp)
/* 102DB0 802E1530 8FB00010 */ lw $s0, 0x10($sp)
/* 102DB4 802E1534 03E00008 */ jr $ra
/* 102DB8 802E1538 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1270
/* 102AF0 802E1270 3C02802F */ lui $v0, 0x802f
/* 102AF4 802E1274 8C42B390 */ lw $v0, -0x4c70($v0)
/* 102AF8 802E1278 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102AFC 802E127C 10400003 */ beqz $v0, .L802E128C
/* 102B00 802E1280 AFBF0010 */ sw $ra, 0x10($sp)
/* 102B04 802E1284 0C043F5A */ jal func_8010FD68
/* 102B08 802E1288 00000000 */ nop
.L802E128C:
/* 102B0C 802E128C 8FBF0010 */ lw $ra, 0x10($sp)
/* 102B10 802E1290 03E00008 */ jr $ra
/* 102B14 802E1294 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,28 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1298
/* 102B18 802E1298 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102B1C 802E129C 3C04001D */ lui $a0, 0x1d
/* 102B20 802E12A0 34840004 */ ori $a0, $a0, 4
/* 102B24 802E12A4 3C05802F */ lui $a1, 0x802f
/* 102B28 802E12A8 24A5B394 */ addiu $a1, $a1, -0x4c6c
/* 102B2C 802E12AC AFB00010 */ sw $s0, 0x10($sp)
/* 102B30 802E12B0 3C10802F */ lui $s0, 0x802f
/* 102B34 802E12B4 2610B390 */ addiu $s0, $s0, -0x4c70
/* 102B38 802E12B8 AFBF0014 */ sw $ra, 0x14($sp)
/* 102B3C 802E12BC AE000000 */ sw $zero, ($s0)
/* 102B40 802E12C0 0C049640 */ jal load_string
/* 102B44 802E12C4 ACA00000 */ sw $zero, ($a1)
/* 102B48 802E12C8 3C04001E */ lui $a0, 0x1e
/* 102B4C 802E12CC 3484000A */ ori $a0, $a0, 0xa
/* 102B50 802E12D0 3C01802F */ lui $at, 0x802f
/* 102B54 802E12D4 AC22B39C */ sw $v0, -0x4c64($at)
/* 102B58 802E12D8 0C049640 */ jal load_string
/* 102B5C 802E12DC 0200282D */ daddu $a1, $s0, $zero
/* 102B60 802E12E0 8FBF0014 */ lw $ra, 0x14($sp)
/* 102B64 802E12E4 8FB00010 */ lw $s0, 0x10($sp)
/* 102B68 802E12E8 3C01802F */ lui $at, 0x802f
/* 102B6C 802E12EC AC22B398 */ sw $v0, -0x4c68($at)
/* 102B70 802E12F0 03E00008 */ jr $ra
/* 102B74 802E12F4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E12F8
/* 102B78 802E12F8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102B7C 802E12FC 3C04001D */ lui $a0, 0x1d
/* 102B80 802E1300 3C05802F */ lui $a1, 0x802f
/* 102B84 802E1304 8CA5B39C */ lw $a1, -0x4c64($a1)
/* 102B88 802E1308 AFBF0010 */ sw $ra, 0x10($sp)
/* 102B8C 802E130C 0C04969A */ jal load_message_to_printer
/* 102B90 802E1310 34840005 */ ori $a0, $a0, 5
/* 102B94 802E1314 0C05272D */ jal play_sound
/* 102B98 802E1318 24040010 */ addiu $a0, $zero, 0x10
/* 102B9C 802E131C 8FBF0010 */ lw $ra, 0x10($sp)
/* 102BA0 802E1320 03E00008 */ jr $ra
/* 102BA4 802E1324 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,15 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1328
/* 102BA8 802E1328 3C02802F */ lui $v0, 0x802f
/* 102BAC 802E132C 8C42B394 */ lw $v0, -0x4c6c($v0)
/* 102BB0 802E1330 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102BB4 802E1334 10400003 */ beqz $v0, .L802E1344
/* 102BB8 802E1338 AFBF0010 */ sw $ra, 0x10($sp)
/* 102BBC 802E133C 0C043F5A */ jal func_8010FD68
/* 102BC0 802E1340 00000000 */ nop
.L802E1344:
/* 102BC4 802E1344 8FBF0010 */ lw $ra, 0x10($sp)
/* 102BC8 802E1348 03E00008 */ jr $ra
/* 102BCC 802E134C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,33 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1350
/* 102BD0 802E1350 3C02802F */ lui $v0, 0x802f
/* 102BD4 802E1354 8C42B390 */ lw $v0, -0x4c70($v0)
/* 102BD8 802E1358 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102BDC 802E135C 10400013 */ beqz $v0, .L802E13AC
/* 102BE0 802E1360 AFBF0010 */ sw $ra, 0x10($sp)
/* 102BE4 802E1364 3C02802F */ lui $v0, 0x802f
/* 102BE8 802E1368 8C42B398 */ lw $v0, -0x4c68($v0)
/* 102BEC 802E136C 904304E8 */ lbu $v1, 0x4e8($v0)
/* 102BF0 802E1370 24020001 */ addiu $v0, $zero, 1
/* 102BF4 802E1374 14620007 */ bne $v1, $v0, .L802E1394
/* 102BF8 802E1378 00000000 */ nop
/* 102BFC 802E137C 3C05802F */ lui $a1, 0x802f
/* 102C00 802E1380 24A599DC */ addiu $a1, $a1, -0x6624
/* 102C04 802E1384 0C043EF0 */ jal func_8010FBC0
/* 102C08 802E1388 00000000 */ nop
/* 102C0C 802E138C 080B84E7 */ j .L802E139C
/* 102C10 802E1390 00000000 */ nop
.L802E1394:
/* 102C14 802E1394 0C043F5A */ jal func_8010FD68
/* 102C18 802E1398 00000000 */ nop
.L802E139C:
/* 102C1C 802E139C 3C04802F */ lui $a0, 0x802f
/* 102C20 802E13A0 8C84B39C */ lw $a0, -0x4c64($a0)
/* 102C24 802E13A4 0C04971C */ jal close_message
/* 102C28 802E13A8 00000000 */ nop
.L802E13AC:
/* 102C2C 802E13AC 8FBF0010 */ lw $ra, 0x10($sp)
/* 102C30 802E13B0 03E00008 */ jr $ra
/* 102C34 802E13B4 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_802E13B8
/* 102C38 802E13B8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 102C3C 802E13BC AFB00010 */ sw $s0, 0x10($sp)
/* 102C40 802E13C0 0080802D */ daddu $s0, $a0, $zero
/* 102C44 802E13C4 AFBF0018 */ sw $ra, 0x18($sp)
/* 102C48 802E13C8 AFB10014 */ sw $s1, 0x14($sp)
/* 102C4C 802E13CC 0C0B8DB9 */ jal entity_init_Hammer23Block_normal
/* 102C50 802E13D0 8E110040 */ lw $s1, 0x40($s0)
/* 102C54 802E13D4 3C02802E */ lui $v0, 0x802e
/* 102C58 802E13D8 24420DE0 */ addiu $v0, $v0, 0xde0
/* 102C5C 802E13DC AE02003C */ sw $v0, 0x3c($s0)
/* 102C60 802E13E0 24020008 */ addiu $v0, $zero, 8
/* 102C64 802E13E4 A6220004 */ sh $v0, 4($s1)
/* 102C68 802E13E8 8FBF0018 */ lw $ra, 0x18($sp)
/* 102C6C 802E13EC 8FB10014 */ lw $s1, 0x14($sp)
/* 102C70 802E13F0 8FB00010 */ lw $s0, 0x10($sp)
/* 102C74 802E13F4 03E00008 */ jr $ra
/* 102C78 802E13F8 27BD0020 */ addiu $sp, $sp, 0x20
/* 102C7C 802E13FC 00000000 */ nop

View File

@ -0,0 +1,30 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1400
/* 102C80 802E1400 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102C84 802E1404 AFBF0014 */ sw $ra, 0x14($sp)
/* 102C88 802E1408 AFB00010 */ sw $s0, 0x10($sp)
/* 102C8C 802E140C 90820006 */ lbu $v0, 6($a0)
/* 102C90 802E1410 8C900040 */ lw $s0, 0x40($a0)
/* 102C94 802E1414 30420001 */ andi $v0, $v0, 1
/* 102C98 802E1418 1040000D */ beqz $v0, .L802E1450
/* 102C9C 802E141C 00000000 */ nop
/* 102CA0 802E1420 3C028011 */ lui $v0, 0x8011
/* 102CA4 802E1424 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 102CA8 802E1428 804300B4 */ lb $v1, 0xb4($v0)
/* 102CAC 802E142C 2402000E */ addiu $v0, $zero, 0xe
/* 102CB0 802E1430 10620003 */ beq $v1, $v0, .L802E1440
/* 102CB4 802E1434 24020010 */ addiu $v0, $zero, 0x10
/* 102CB8 802E1438 14620005 */ bne $v1, $v0, .L802E1450
/* 102CBC 802E143C 00000000 */ nop
.L802E1440:
/* 102CC0 802E1440 0C043F5A */ jal func_8010FD68
/* 102CC4 802E1444 00000000 */ nop
/* 102CC8 802E1448 24020008 */ addiu $v0, $zero, 8
/* 102CCC 802E144C A6020022 */ sh $v0, 0x22($s0)
.L802E1450:
/* 102CD0 802E1450 8FBF0014 */ lw $ra, 0x14($sp)
/* 102CD4 802E1454 8FB00010 */ lw $s0, 0x10($sp)
/* 102CD8 802E1458 03E00008 */ jr $ra
/* 102CDC 802E145C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,36 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1460
/* 102CE0 802E1460 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 102CE4 802E1464 AFB10014 */ sw $s1, 0x14($sp)
/* 102CE8 802E1468 0080882D */ daddu $s1, $a0, $zero
/* 102CEC 802E146C AFBF0018 */ sw $ra, 0x18($sp)
/* 102CF0 802E1470 AFB00010 */ sw $s0, 0x10($sp)
/* 102CF4 802E1474 8E300040 */ lw $s0, 0x40($s1)
/* 102CF8 802E1478 96020022 */ lhu $v0, 0x22($s0)
/* 102CFC 802E147C 2443FFFF */ addiu $v1, $v0, -1
/* 102D00 802E1480 3042FFFF */ andi $v0, $v0, 0xffff
/* 102D04 802E1484 10400009 */ beqz $v0, .L802E14AC
/* 102D08 802E1488 A6030022 */ sh $v1, 0x22($s0)
/* 102D0C 802E148C C620004C */ lwc1 $f0, 0x4c($s1)
/* 102D10 802E1490 3C01802F */ lui $at, 0x802f
/* 102D14 802E1494 D422B000 */ ldc1 $f2, -0x5000($at)
/* 102D18 802E1498 46000021 */ cvt.d.s $f0, $f0
/* 102D1C 802E149C 46220001 */ sub.d $f0, $f0, $f2
/* 102D20 802E14A0 46200020 */ cvt.s.d $f0, $f0
/* 102D24 802E14A4 080B8531 */ j .L802E14C4
/* 102D28 802E14A8 E620004C */ swc1 $f0, 0x4c($s1)
.L802E14AC:
/* 102D2C 802E14AC 0C04419E */ jal func_80110678
/* 102D30 802E14B0 0220202D */ daddu $a0, $s1, $zero
/* 102D34 802E14B4 0C043F5A */ jal func_8010FD68
/* 102D38 802E14B8 0220202D */ daddu $a0, $s1, $zero
/* 102D3C 802E14BC 24020008 */ addiu $v0, $zero, 8
/* 102D40 802E14C0 A6020022 */ sh $v0, 0x22($s0)
.L802E14C4:
/* 102D44 802E14C4 8FBF0018 */ lw $ra, 0x18($sp)
/* 102D48 802E14C8 8FB10014 */ lw $s1, 0x14($sp)
/* 102D4C 802E14CC 8FB00010 */ lw $s0, 0x10($sp)
/* 102D50 802E14D0 03E00008 */ jr $ra
/* 102D54 802E14D4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,31 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E14D8
/* 102D58 802E14D8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102D5C 802E14DC AFBF0014 */ sw $ra, 0x14($sp)
/* 102D60 802E14E0 AFB00010 */ sw $s0, 0x10($sp)
/* 102D64 802E14E4 8C900040 */ lw $s0, 0x40($a0)
/* 102D68 802E14E8 96020022 */ lhu $v0, 0x22($s0)
/* 102D6C 802E14EC 2443FFFF */ addiu $v1, $v0, -1
/* 102D70 802E14F0 3042FFFF */ andi $v0, $v0, 0xffff
/* 102D74 802E14F4 10400009 */ beqz $v0, .L802E151C
/* 102D78 802E14F8 A6030022 */ sh $v1, 0x22($s0)
/* 102D7C 802E14FC C480004C */ lwc1 $f0, 0x4c($a0)
/* 102D80 802E1500 3C01802F */ lui $at, 0x802f
/* 102D84 802E1504 D422B008 */ ldc1 $f2, -0x4ff8($at)
/* 102D88 802E1508 46000021 */ cvt.d.s $f0, $f0
/* 102D8C 802E150C 46220000 */ add.d $f0, $f0, $f2
/* 102D90 802E1510 46200020 */ cvt.s.d $f0, $f0
/* 102D94 802E1514 080B854B */ j .L802E152C
/* 102D98 802E1518 E480004C */ swc1 $f0, 0x4c($a0)
.L802E151C:
/* 102D9C 802E151C 0C043F5A */ jal func_8010FD68
/* 102DA0 802E1520 00000000 */ nop
/* 102DA4 802E1524 24020008 */ addiu $v0, $zero, 8
/* 102DA8 802E1528 A6020022 */ sh $v0, 0x22($s0)
.L802E152C:
/* 102DAC 802E152C 8FBF0014 */ lw $ra, 0x14($sp)
/* 102DB0 802E1530 8FB00010 */ lw $s0, 0x10($sp)
/* 102DB4 802E1534 03E00008 */ jr $ra
/* 102DB8 802E1538 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E153C glabel func_802E153C
/* 102DBC 802E153C 27BDFFC0 */ addiu $sp, $sp, -0x40 /* 102DBC 802E153C 27BDFFC0 */ addiu $sp, $sp, -0x40
/* 102DC0 802E1540 AFB00030 */ sw $s0, 0x30($sp) /* 102DC0 802E1540 AFB00030 */ sw $s0, 0x30($sp)
@ -58,916 +57,3 @@ glabel func_802E153C
/* 102E88 802E1608 8FB00030 */ lw $s0, 0x30($sp) /* 102E88 802E1608 8FB00030 */ lw $s0, 0x30($sp)
/* 102E8C 802E160C 03E00008 */ jr $ra /* 102E8C 802E160C 03E00008 */ jr $ra
/* 102E90 802E1610 27BD0040 */ addiu $sp, $sp, 0x40 /* 102E90 802E1610 27BD0040 */ addiu $sp, $sp, 0x40
/* 102E94 802E1614 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102E98 802E1618 AFBF0010 */ sw $ra, 0x10($sp)
/* 102E9C 802E161C 90820006 */ lbu $v0, 6($a0)
/* 102EA0 802E1620 30420001 */ andi $v0, $v0, 1
/* 102EA4 802E1624 1040000B */ beqz $v0, .L802E1654
/* 102EA8 802E1628 00000000 */ nop
/* 102EAC 802E162C 3C028011 */ lui $v0, 0x8011
/* 102EB0 802E1630 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 102EB4 802E1634 804300B4 */ lb $v1, 0xb4($v0)
/* 102EB8 802E1638 2402000E */ addiu $v0, $zero, 0xe
/* 102EBC 802E163C 10620003 */ beq $v1, $v0, .L802E164C
/* 102EC0 802E1640 24020010 */ addiu $v0, $zero, 0x10
/* 102EC4 802E1644 14620003 */ bne $v1, $v0, .L802E1654
/* 102EC8 802E1648 00000000 */ nop
.L802E164C:
/* 102ECC 802E164C 0C043F5A */ jal func_8010FD68
/* 102ED0 802E1650 00000000 */ nop
.L802E1654:
/* 102ED4 802E1654 8FBF0010 */ lw $ra, 0x10($sp)
/* 102ED8 802E1658 03E00008 */ jr $ra
/* 102EDC 802E165C 27BD0018 */ addiu $sp, $sp, 0x18
/* 102EE0 802E1660 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 102EE4 802E1664 AFB00010 */ sw $s0, 0x10($sp)
/* 102EE8 802E1668 0080802D */ daddu $s0, $a0, $zero
/* 102EEC 802E166C AFBF0020 */ sw $ra, 0x20($sp)
/* 102EF0 802E1670 AFB3001C */ sw $s3, 0x1c($sp)
/* 102EF4 802E1674 AFB20018 */ sw $s2, 0x18($sp)
/* 102EF8 802E1678 AFB10014 */ sw $s1, 0x14($sp)
/* 102EFC 802E167C 0C0B854F */ jal func_802E153C
/* 102F00 802E1680 8E130040 */ lw $s3, 0x40($s0)
/* 102F04 802E1684 3C118011 */ lui $s1, 0x8011
/* 102F08 802E1688 2631EFC8 */ addiu $s1, $s1, -0x1038
/* 102F0C 802E168C 92020006 */ lbu $v0, 6($s0)
/* 102F10 802E1690 3C128011 */ lui $s2, 0x8011
/* 102F14 802E1694 2652EBB0 */ addiu $s2, $s2, -0x1450
/* 102F18 802E1698 30420040 */ andi $v0, $v0, 0x40
/* 102F1C 802E169C 1040000A */ beqz $v0, .L802E16C8
/* 102F20 802E16A0 24020012 */ addiu $v0, $zero, 0x12
/* 102F24 802E16A4 822300B4 */ lb $v1, 0xb4($s1)
/* 102F28 802E16A8 14620009 */ bne $v1, $v0, .L802E16D0
/* 102F2C 802E16AC 2402000D */ addiu $v0, $zero, 0xd
/* 102F30 802E16B0 3C028011 */ lui $v0, 0x8011
/* 102F34 802E16B4 8042F291 */ lb $v0, -0xd6f($v0)
/* 102F38 802E16B8 0440001A */ bltz $v0, .L802E1724
/* 102F3C 802E16BC 00000000 */ nop
/* 102F40 802E16C0 080B85C2 */ j .L802E1708
/* 102F44 802E16C4 00000000 */ nop
.L802E16C8:
/* 102F48 802E16C8 822300B4 */ lb $v1, 0xb4($s1)
/* 102F4C 802E16CC 2402000D */ addiu $v0, $zero, 0xd
.L802E16D0:
/* 102F50 802E16D0 10620014 */ beq $v1, $v0, .L802E1724
/* 102F54 802E16D4 24020004 */ addiu $v0, $zero, 4
/* 102F58 802E16D8 82430003 */ lb $v1, 3($s2)
/* 102F5C 802E16DC 14620004 */ bne $v1, $v0, .L802E16F0
/* 102F60 802E16E0 00000000 */ nop
/* 102F64 802E16E4 82420000 */ lb $v0, ($s2)
/* 102F68 802E16E8 1440000E */ bnez $v0, .L802E1724
/* 102F6C 802E16EC 00000000 */ nop
.L802E16F0:
/* 102F70 802E16F0 92030006 */ lbu $v1, 6($s0)
/* 102F74 802E16F4 30620001 */ andi $v0, $v1, 1
/* 102F78 802E16F8 14400003 */ bnez $v0, .L802E1708
/* 102F7C 802E16FC 30620080 */ andi $v0, $v1, 0x80
/* 102F80 802E1700 10400008 */ beqz $v0, .L802E1724
/* 102F84 802E1704 00000000 */ nop
.L802E1708:
/* 102F88 802E1708 0C043F5A */ jal func_8010FD68
/* 102F8C 802E170C 0200202D */ daddu $a0, $s0, $zero
/* 102F90 802E1710 8E640028 */ lw $a0, 0x28($s3)
/* 102F94 802E1714 10800003 */ beqz $a0, .L802E1724
/* 102F98 802E1718 00000000 */ nop
/* 102F9C 802E171C 0C043F5A */ jal func_8010FD68
/* 102FA0 802E1720 00000000 */ nop
.L802E1724:
/* 102FA4 802E1724 8FBF0020 */ lw $ra, 0x20($sp)
/* 102FA8 802E1728 8FB3001C */ lw $s3, 0x1c($sp)
/* 102FAC 802E172C 8FB20018 */ lw $s2, 0x18($sp)
/* 102FB0 802E1730 8FB10014 */ lw $s1, 0x14($sp)
/* 102FB4 802E1734 8FB00010 */ lw $s0, 0x10($sp)
/* 102FB8 802E1738 03E00008 */ jr $ra
/* 102FBC 802E173C 27BD0028 */ addiu $sp, $sp, 0x28
/* 102FC0 802E1740 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102FC4 802E1744 AFBF0010 */ sw $ra, 0x10($sp)
/* 102FC8 802E1748 90820006 */ lbu $v0, 6($a0)
/* 102FCC 802E174C 30420001 */ andi $v0, $v0, 1
/* 102FD0 802E1750 14400003 */ bnez $v0, .L802E1760
/* 102FD4 802E1754 00000000 */ nop
/* 102FD8 802E1758 0C043F5A */ jal func_8010FD68
/* 102FDC 802E175C 00000000 */ nop
.L802E1760:
/* 102FE0 802E1760 8FBF0010 */ lw $ra, 0x10($sp)
/* 102FE4 802E1764 03E00008 */ jr $ra
/* 102FE8 802E1768 27BD0018 */ addiu $sp, $sp, 0x18
/* 102FEC 802E176C 8C820040 */ lw $v0, 0x40($a0)
/* 102FF0 802E1770 3C013F80 */ lui $at, 0x3f80
/* 102FF4 802E1774 44810000 */ mtc1 $at, $f0
/* 102FF8 802E1778 3C013DCC */ lui $at, 0x3dcc
/* 102FFC 802E177C 3421CCCD */ ori $at, $at, 0xcccd
/* 103000 802E1780 44811000 */ mtc1 $at, $f2
/* 103004 802E1784 3C01BDCC */ lui $at, 0xbdcc
/* 103008 802E1788 3421CCCD */ ori $at, $at, 0xcccd
/* 10300C 802E178C 44812000 */ mtc1 $at, $f4
/* 103010 802E1790 E4400000 */ swc1 $f0, ($v0)
/* 103014 802E1794 E4420004 */ swc1 $f2, 4($v0)
/* 103018 802E1798 E4440008 */ swc1 $f4, 8($v0)
/* 10301C 802E179C A0400010 */ sb $zero, 0x10($v0)
/* 103020 802E17A0 03E00008 */ jr $ra
/* 103024 802E17A4 A0400011 */ sb $zero, 0x11($v0)
/* 103028 802E17A8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 10302C 802E17AC AFB10014 */ sw $s1, 0x14($sp)
/* 103030 802E17B0 0080882D */ daddu $s1, $a0, $zero
/* 103034 802E17B4 AFBF001C */ sw $ra, 0x1c($sp)
/* 103038 802E17B8 AFB20018 */ sw $s2, 0x18($sp)
/* 10303C 802E17BC AFB00010 */ sw $s0, 0x10($sp)
/* 103040 802E17C0 8E300040 */ lw $s0, 0x40($s1)
/* 103044 802E17C4 82030010 */ lb $v1, 0x10($s0)
/* 103048 802E17C8 2C620006 */ sltiu $v0, $v1, 6
/* 10304C 802E17CC 104000D3 */ beqz $v0, .L802E1B1C
/* 103050 802E17D0 0000902D */ daddu $s2, $zero, $zero
/* 103054 802E17D4 00031080 */ sll $v0, $v1, 2
/* 103058 802E17D8 3C01802F */ lui $at, 0x802f
/* 10305C 802E17DC 00220821 */ addu $at, $at, $v0
/* 103060 802E17E0 8C22B010 */ lw $v0, -0x4ff0($at)
/* 103064 802E17E4 00400008 */ jr $v0
/* 103068 802E17E8 00000000 */ nop
/* 10306C 802E17EC C602001C */ lwc1 $f2, 0x1c($s0)
/* 103070 802E17F0 3C01802F */ lui $at, 0x802f
/* 103074 802E17F4 D420B028 */ ldc1 $f0, -0x4fd8($at)
/* 103078 802E17F8 460010A1 */ cvt.d.s $f2, $f2
/* 10307C 802E17FC 46201082 */ mul.d $f2, $f2, $f0
/* 103080 802E1800 00000000 */ nop
/* 103084 802E1804 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103088 802E1808 462011A0 */ cvt.s.d $f6, $f2
/* 10308C 802E180C 46060000 */ add.s $f0, $f0, $f6
/* 103090 802E1810 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103094 802E1814 46020001 */ sub.s $f0, $f0, $f2
/* 103098 802E1818 3C013FD0 */ lui $at, 0x3fd0
/* 10309C 802E181C 44811800 */ mtc1 $at, $f3
/* 1030A0 802E1820 44801000 */ mtc1 $zero, $f2
/* 1030A4 802E1824 46000021 */ cvt.d.s $f0, $f0
/* 1030A8 802E1828 46220002 */ mul.d $f0, $f0, $f2
/* 1030AC 802E182C 00000000 */ nop
/* 1030B0 802E1830 3C01802F */ lui $at, 0x802f
/* 1030B4 802E1834 D422B030 */ ldc1 $f2, -0x4fd0($at)
/* 1030B8 802E1838 46200120 */ cvt.s.d $f4, $f0
/* 1030BC 802E183C 46002021 */ cvt.d.s $f0, $f4
/* 1030C0 802E1840 4622003C */ c.lt.d $f0, $f2
/* 1030C4 802E1844 00000000 */ nop
/* 1030C8 802E1848 45000004 */ bc1f .L802E185C
/* 1030CC 802E184C 00000000 */ nop
/* 1030D0 802E1850 3C013C23 */ lui $at, 0x3c23
/* 1030D4 802E1854 3421D70A */ ori $at, $at, 0xd70a
/* 1030D8 802E1858 44812000 */ mtc1 $at, $f4
.L802E185C:
/* 1030DC 802E185C C6000004 */ lwc1 $f0, 4($s0)
/* 1030E0 802E1860 46040000 */ add.s $f0, $f0, $f4
/* 1030E4 802E1864 E6000004 */ swc1 $f0, 4($s0)
/* 1030E8 802E1868 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1030EC 802E186C 46001080 */ add.s $f2, $f2, $f0
/* 1030F0 802E1870 E6220054 */ swc1 $f2, 0x54($s1)
/* 1030F4 802E1874 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1030F8 802E1878 46060000 */ add.s $f0, $f0, $f6
/* 1030FC 802E187C 4602003E */ c.le.s $f0, $f2
/* 103100 802E1880 00000000 */ nop
/* 103104 802E1884 450000A5 */ bc1f .L802E1B1C
/* 103108 802E1888 00000000 */ nop
/* 10310C 802E188C 080B86C1 */ j .L802E1B04
/* 103110 802E1890 00000000 */ nop
/* 103114 802E1894 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103118 802E1898 3C01802F */ lui $at, 0x802f
/* 10311C 802E189C D420B038 */ ldc1 $f0, -0x4fc8($at)
/* 103120 802E18A0 460010A1 */ cvt.d.s $f2, $f2
/* 103124 802E18A4 46201082 */ mul.d $f2, $f2, $f0
/* 103128 802E18A8 00000000 */ nop
/* 10312C 802E18AC C6000014 */ lwc1 $f0, 0x14($s0)
/* 103130 802E18B0 462011A0 */ cvt.s.d $f6, $f2
/* 103134 802E18B4 46060000 */ add.s $f0, $f0, $f6
/* 103138 802E18B8 C6220054 */ lwc1 $f2, 0x54($s1)
/* 10313C 802E18BC 46020001 */ sub.s $f0, $f0, $f2
/* 103140 802E18C0 3C014018 */ lui $at, 0x4018
/* 103144 802E18C4 44811800 */ mtc1 $at, $f3
/* 103148 802E18C8 44801000 */ mtc1 $zero, $f2
/* 10314C 802E18CC 46000021 */ cvt.d.s $f0, $f0
/* 103150 802E18D0 46220003 */ div.d $f0, $f0, $f2
/* 103154 802E18D4 46200120 */ cvt.s.d $f4, $f0
/* 103158 802E18D8 3C01802F */ lui $at, 0x802f
/* 10315C 802E18DC D422B040 */ ldc1 $f2, -0x4fc0($at)
/* 103160 802E18E0 46002021 */ cvt.d.s $f0, $f4
/* 103164 802E18E4 4620103C */ c.lt.d $f2, $f0
/* 103168 802E18E8 00000000 */ nop
/* 10316C 802E18EC 45000004 */ bc1f .L802E1900
/* 103170 802E18F0 00000000 */ nop
/* 103174 802E18F4 3C01BC23 */ lui $at, 0xbc23
/* 103178 802E18F8 3421D70A */ ori $at, $at, 0xd70a
/* 10317C 802E18FC 44812000 */ mtc1 $at, $f4
.L802E1900:
/* 103180 802E1900 C6000004 */ lwc1 $f0, 4($s0)
/* 103184 802E1904 46040000 */ add.s $f0, $f0, $f4
/* 103188 802E1908 E6000004 */ swc1 $f0, 4($s0)
/* 10318C 802E190C C6220054 */ lwc1 $f2, 0x54($s1)
/* 103190 802E1910 46001080 */ add.s $f2, $f2, $f0
/* 103194 802E1914 E6220054 */ swc1 $f2, 0x54($s1)
/* 103198 802E1918 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10319C 802E191C 46060000 */ add.s $f0, $f0, $f6
/* 1031A0 802E1920 4600103E */ c.le.s $f2, $f0
/* 1031A4 802E1924 00000000 */ nop
/* 1031A8 802E1928 4500007C */ bc1f .L802E1B1C
/* 1031AC 802E192C 00000000 */ nop
/* 1031B0 802E1930 080B86C1 */ j .L802E1B04
/* 1031B4 802E1934 00000000 */ nop
/* 1031B8 802E1938 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1031BC 802E193C 3C01802F */ lui $at, 0x802f
/* 1031C0 802E1940 D420B048 */ ldc1 $f0, -0x4fb8($at)
/* 1031C4 802E1944 460010A1 */ cvt.d.s $f2, $f2
/* 1031C8 802E1948 46201082 */ mul.d $f2, $f2, $f0
/* 1031CC 802E194C 00000000 */ nop
/* 1031D0 802E1950 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1031D4 802E1954 462011A0 */ cvt.s.d $f6, $f2
/* 1031D8 802E1958 46060000 */ add.s $f0, $f0, $f6
/* 1031DC 802E195C C6220054 */ lwc1 $f2, 0x54($s1)
/* 1031E0 802E1960 46020001 */ sub.s $f0, $f0, $f2
/* 1031E4 802E1964 3C013FD0 */ lui $at, 0x3fd0
/* 1031E8 802E1968 44811800 */ mtc1 $at, $f3
/* 1031EC 802E196C 44801000 */ mtc1 $zero, $f2
/* 1031F0 802E1970 46000021 */ cvt.d.s $f0, $f0
/* 1031F4 802E1974 46220002 */ mul.d $f0, $f0, $f2
/* 1031F8 802E1978 00000000 */ nop
/* 1031FC 802E197C 3C01802F */ lui $at, 0x802f
/* 103200 802E1980 D422B050 */ ldc1 $f2, -0x4fb0($at)
/* 103204 802E1984 46200120 */ cvt.s.d $f4, $f0
/* 103208 802E1988 46002021 */ cvt.d.s $f0, $f4
/* 10320C 802E198C 4622003C */ c.lt.d $f0, $f2
/* 103210 802E1990 00000000 */ nop
/* 103214 802E1994 45000004 */ bc1f .L802E19A8
/* 103218 802E1998 00000000 */ nop
/* 10321C 802E199C 3C013C23 */ lui $at, 0x3c23
/* 103220 802E19A0 3421D70A */ ori $at, $at, 0xd70a
/* 103224 802E19A4 44812000 */ mtc1 $at, $f4
.L802E19A8:
/* 103228 802E19A8 C6000004 */ lwc1 $f0, 4($s0)
/* 10322C 802E19AC 46040000 */ add.s $f0, $f0, $f4
/* 103230 802E19B0 E6000004 */ swc1 $f0, 4($s0)
/* 103234 802E19B4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103238 802E19B8 46001080 */ add.s $f2, $f2, $f0
/* 10323C 802E19BC E6220054 */ swc1 $f2, 0x54($s1)
/* 103240 802E19C0 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103244 802E19C4 46060000 */ add.s $f0, $f0, $f6
/* 103248 802E19C8 4602003E */ c.le.s $f0, $f2
/* 10324C 802E19CC 00000000 */ nop
/* 103250 802E19D0 45000052 */ bc1f .L802E1B1C
/* 103254 802E19D4 00000000 */ nop
/* 103258 802E19D8 080B86C1 */ j .L802E1B04
/* 10325C 802E19DC 00000000 */ nop
/* 103260 802E19E0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103264 802E19E4 3C01802F */ lui $at, 0x802f
/* 103268 802E19E8 D420B058 */ ldc1 $f0, -0x4fa8($at)
/* 10326C 802E19EC 460010A1 */ cvt.d.s $f2, $f2
/* 103270 802E19F0 46201082 */ mul.d $f2, $f2, $f0
/* 103274 802E19F4 00000000 */ nop
/* 103278 802E19F8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10327C 802E19FC 462011A0 */ cvt.s.d $f6, $f2
/* 103280 802E1A00 46060000 */ add.s $f0, $f0, $f6
/* 103284 802E1A04 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103288 802E1A08 46020001 */ sub.s $f0, $f0, $f2
/* 10328C 802E1A0C 3C014018 */ lui $at, 0x4018
/* 103290 802E1A10 44811800 */ mtc1 $at, $f3
/* 103294 802E1A14 44801000 */ mtc1 $zero, $f2
/* 103298 802E1A18 46000021 */ cvt.d.s $f0, $f0
/* 10329C 802E1A1C 46220003 */ div.d $f0, $f0, $f2
/* 1032A0 802E1A20 46200120 */ cvt.s.d $f4, $f0
/* 1032A4 802E1A24 3C01802F */ lui $at, 0x802f
/* 1032A8 802E1A28 D422B060 */ ldc1 $f2, -0x4fa0($at)
/* 1032AC 802E1A2C 46002021 */ cvt.d.s $f0, $f4
/* 1032B0 802E1A30 4620103C */ c.lt.d $f2, $f0
/* 1032B4 802E1A34 00000000 */ nop
/* 1032B8 802E1A38 45000004 */ bc1f .L802E1A4C
/* 1032BC 802E1A3C 00000000 */ nop
/* 1032C0 802E1A40 3C01BC23 */ lui $at, 0xbc23
/* 1032C4 802E1A44 3421D70A */ ori $at, $at, 0xd70a
/* 1032C8 802E1A48 44812000 */ mtc1 $at, $f4
.L802E1A4C:
/* 1032CC 802E1A4C C6000004 */ lwc1 $f0, 4($s0)
/* 1032D0 802E1A50 46040000 */ add.s $f0, $f0, $f4
/* 1032D4 802E1A54 E6000004 */ swc1 $f0, 4($s0)
/* 1032D8 802E1A58 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1032DC 802E1A5C 46001080 */ add.s $f2, $f2, $f0
/* 1032E0 802E1A60 E6220054 */ swc1 $f2, 0x54($s1)
/* 1032E4 802E1A64 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1032E8 802E1A68 46060000 */ add.s $f0, $f0, $f6
/* 1032EC 802E1A6C 4600103E */ c.le.s $f2, $f0
/* 1032F0 802E1A70 00000000 */ nop
/* 1032F4 802E1A74 45000029 */ bc1f .L802E1B1C
/* 1032F8 802E1A78 00000000 */ nop
/* 1032FC 802E1A7C 080B86C1 */ j .L802E1B04
/* 103300 802E1A80 00000000 */ nop
/* 103304 802E1A84 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103308 802E1A88 C6220054 */ lwc1 $f2, 0x54($s1)
/* 10330C 802E1A8C 46020001 */ sub.s $f0, $f0, $f2
/* 103310 802E1A90 3C013FD0 */ lui $at, 0x3fd0
/* 103314 802E1A94 44811800 */ mtc1 $at, $f3
/* 103318 802E1A98 44801000 */ mtc1 $zero, $f2
/* 10331C 802E1A9C 46000021 */ cvt.d.s $f0, $f0
/* 103320 802E1AA0 46220002 */ mul.d $f0, $f0, $f2
/* 103324 802E1AA4 00000000 */ nop
/* 103328 802E1AA8 3C01802F */ lui $at, 0x802f
/* 10332C 802E1AAC D422B068 */ ldc1 $f2, -0x4f98($at)
/* 103330 802E1AB0 46200120 */ cvt.s.d $f4, $f0
/* 103334 802E1AB4 46002021 */ cvt.d.s $f0, $f4
/* 103338 802E1AB8 4622003C */ c.lt.d $f0, $f2
/* 10333C 802E1ABC 00000000 */ nop
/* 103340 802E1AC0 45000004 */ bc1f .L802E1AD4
/* 103344 802E1AC4 00000000 */ nop
/* 103348 802E1AC8 3C013C23 */ lui $at, 0x3c23
/* 10334C 802E1ACC 3421D70A */ ori $at, $at, 0xd70a
/* 103350 802E1AD0 44812000 */ mtc1 $at, $f4
.L802E1AD4:
/* 103354 802E1AD4 C6000004 */ lwc1 $f0, 4($s0)
/* 103358 802E1AD8 46040000 */ add.s $f0, $f0, $f4
/* 10335C 802E1ADC E6000004 */ swc1 $f0, 4($s0)
/* 103360 802E1AE0 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103364 802E1AE4 46001080 */ add.s $f2, $f2, $f0
/* 103368 802E1AE8 E6220054 */ swc1 $f2, 0x54($s1)
/* 10336C 802E1AEC C6000014 */ lwc1 $f0, 0x14($s0)
/* 103370 802E1AF0 4602003E */ c.le.s $f0, $f2
/* 103374 802E1AF4 00000000 */ nop
/* 103378 802E1AF8 45000008 */ bc1f .L802E1B1C
/* 10337C 802E1AFC 00000000 */ nop
/* 103380 802E1B00 E6200054 */ swc1 $f0, 0x54($s1)
.L802E1B04:
/* 103384 802E1B04 92020010 */ lbu $v0, 0x10($s0)
/* 103388 802E1B08 AE000004 */ sw $zero, 4($s0)
/* 10338C 802E1B0C 24420001 */ addiu $v0, $v0, 1
/* 103390 802E1B10 080B86C7 */ j .L802E1B1C
/* 103394 802E1B14 A2020010 */ sb $v0, 0x10($s0)
/* 103398 802E1B18 26520001 */ addiu $s2, $s2, 1
.L802E1B1C:
/* 10339C 802E1B1C C6200054 */ lwc1 $f0, 0x54($s1)
/* 1033A0 802E1B20 E620005C */ swc1 $f0, 0x5c($s1)
/* 1033A4 802E1B24 82030011 */ lb $v1, 0x11($s0)
/* 1033A8 802E1B28 2C620006 */ sltiu $v0, $v1, 6
/* 1033AC 802E1B2C 104000D0 */ beqz $v0, .L802E1E70
/* 1033B0 802E1B30 00031080 */ sll $v0, $v1, 2
/* 1033B4 802E1B34 3C01802F */ lui $at, 0x802f
/* 1033B8 802E1B38 00220821 */ addu $at, $at, $v0
/* 1033BC 802E1B3C 8C22B070 */ lw $v0, -0x4f90($at)
/* 1033C0 802E1B40 00400008 */ jr $v0
/* 1033C4 802E1B44 00000000 */ nop
/* 1033C8 802E1B48 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1033CC 802E1B4C 3C01BFE0 */ lui $at, 0xbfe0
/* 1033D0 802E1B50 44810800 */ mtc1 $at, $f1
/* 1033D4 802E1B54 44800000 */ mtc1 $zero, $f0
/* 1033D8 802E1B58 460010A1 */ cvt.d.s $f2, $f2
/* 1033DC 802E1B5C 46201082 */ mul.d $f2, $f2, $f0
/* 1033E0 802E1B60 00000000 */ nop
/* 1033E4 802E1B64 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1033E8 802E1B68 462011A0 */ cvt.s.d $f6, $f2
/* 1033EC 802E1B6C 46060000 */ add.s $f0, $f0, $f6
/* 1033F0 802E1B70 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1033F4 802E1B74 46020001 */ sub.s $f0, $f0, $f2
/* 1033F8 802E1B78 3C014014 */ lui $at, 0x4014
/* 1033FC 802E1B7C 44811800 */ mtc1 $at, $f3
/* 103400 802E1B80 44801000 */ mtc1 $zero, $f2
/* 103404 802E1B84 46000021 */ cvt.d.s $f0, $f0
/* 103408 802E1B88 46220003 */ div.d $f0, $f0, $f2
/* 10340C 802E1B8C 46200120 */ cvt.s.d $f4, $f0
/* 103410 802E1B90 3C01802F */ lui $at, 0x802f
/* 103414 802E1B94 D422B088 */ ldc1 $f2, -0x4f78($at)
/* 103418 802E1B98 46002021 */ cvt.d.s $f0, $f4
/* 10341C 802E1B9C 4620103C */ c.lt.d $f2, $f0
/* 103420 802E1BA0 00000000 */ nop
/* 103424 802E1BA4 45000004 */ bc1f .L802E1BB8
/* 103428 802E1BA8 00000000 */ nop
/* 10342C 802E1BAC 3C01BC23 */ lui $at, 0xbc23
/* 103430 802E1BB0 3421D70A */ ori $at, $at, 0xd70a
/* 103434 802E1BB4 44812000 */ mtc1 $at, $f4
.L802E1BB8:
/* 103438 802E1BB8 C6000008 */ lwc1 $f0, 8($s0)
/* 10343C 802E1BBC 46040000 */ add.s $f0, $f0, $f4
/* 103440 802E1BC0 E6000008 */ swc1 $f0, 8($s0)
/* 103444 802E1BC4 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103448 802E1BC8 46001080 */ add.s $f2, $f2, $f0
/* 10344C 802E1BCC E6220058 */ swc1 $f2, 0x58($s1)
/* 103450 802E1BD0 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103454 802E1BD4 46060000 */ add.s $f0, $f0, $f6
/* 103458 802E1BD8 4600103E */ c.le.s $f2, $f0
/* 10345C 802E1BDC 00000000 */ nop
/* 103460 802E1BE0 450000A3 */ bc1f .L802E1E70
/* 103464 802E1BE4 00000000 */ nop
/* 103468 802E1BE8 080B8796 */ j .L802E1E58
/* 10346C 802E1BEC 00000000 */ nop
/* 103470 802E1BF0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103474 802E1BF4 3C01802F */ lui $at, 0x802f
/* 103478 802E1BF8 D420B090 */ ldc1 $f0, -0x4f70($at)
/* 10347C 802E1BFC 460010A1 */ cvt.d.s $f2, $f2
/* 103480 802E1C00 46201082 */ mul.d $f2, $f2, $f0
/* 103484 802E1C04 00000000 */ nop
/* 103488 802E1C08 C6000018 */ lwc1 $f0, 0x18($s0)
/* 10348C 802E1C0C 462011A0 */ cvt.s.d $f6, $f2
/* 103490 802E1C10 46060000 */ add.s $f0, $f0, $f6
/* 103494 802E1C14 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103498 802E1C18 46020001 */ sub.s $f0, $f0, $f2
/* 10349C 802E1C1C 3C014024 */ lui $at, 0x4024
/* 1034A0 802E1C20 44811800 */ mtc1 $at, $f3
/* 1034A4 802E1C24 44801000 */ mtc1 $zero, $f2
/* 1034A8 802E1C28 46000021 */ cvt.d.s $f0, $f0
/* 1034AC 802E1C2C 46220003 */ div.d $f0, $f0, $f2
/* 1034B0 802E1C30 46200120 */ cvt.s.d $f4, $f0
/* 1034B4 802E1C34 3C01802F */ lui $at, 0x802f
/* 1034B8 802E1C38 D422B098 */ ldc1 $f2, -0x4f68($at)
/* 1034BC 802E1C3C 46002021 */ cvt.d.s $f0, $f4
/* 1034C0 802E1C40 4622003C */ c.lt.d $f0, $f2
/* 1034C4 802E1C44 00000000 */ nop
/* 1034C8 802E1C48 45000004 */ bc1f .L802E1C5C
/* 1034CC 802E1C4C 00000000 */ nop
/* 1034D0 802E1C50 3C013C23 */ lui $at, 0x3c23
/* 1034D4 802E1C54 3421D70A */ ori $at, $at, 0xd70a
/* 1034D8 802E1C58 44812000 */ mtc1 $at, $f4
.L802E1C5C:
/* 1034DC 802E1C5C C6000008 */ lwc1 $f0, 8($s0)
/* 1034E0 802E1C60 46040000 */ add.s $f0, $f0, $f4
/* 1034E4 802E1C64 E6000008 */ swc1 $f0, 8($s0)
/* 1034E8 802E1C68 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1034EC 802E1C6C 46001080 */ add.s $f2, $f2, $f0
/* 1034F0 802E1C70 E6220058 */ swc1 $f2, 0x58($s1)
/* 1034F4 802E1C74 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1034F8 802E1C78 46060000 */ add.s $f0, $f0, $f6
/* 1034FC 802E1C7C 4602003E */ c.le.s $f0, $f2
/* 103500 802E1C80 00000000 */ nop
/* 103504 802E1C84 4500007A */ bc1f .L802E1E70
/* 103508 802E1C88 00000000 */ nop
/* 10350C 802E1C8C 080B8796 */ j .L802E1E58
/* 103510 802E1C90 00000000 */ nop
/* 103514 802E1C94 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103518 802E1C98 3C01802F */ lui $at, 0x802f
/* 10351C 802E1C9C D420B0A0 */ ldc1 $f0, -0x4f60($at)
/* 103520 802E1CA0 460010A1 */ cvt.d.s $f2, $f2
/* 103524 802E1CA4 46201082 */ mul.d $f2, $f2, $f0
/* 103528 802E1CA8 00000000 */ nop
/* 10352C 802E1CAC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103530 802E1CB0 462011A0 */ cvt.s.d $f6, $f2
/* 103534 802E1CB4 46060000 */ add.s $f0, $f0, $f6
/* 103538 802E1CB8 C6220058 */ lwc1 $f2, 0x58($s1)
/* 10353C 802E1CBC 46020001 */ sub.s $f0, $f0, $f2
/* 103540 802E1CC0 3C014014 */ lui $at, 0x4014
/* 103544 802E1CC4 44811800 */ mtc1 $at, $f3
/* 103548 802E1CC8 44801000 */ mtc1 $zero, $f2
/* 10354C 802E1CCC 46000021 */ cvt.d.s $f0, $f0
/* 103550 802E1CD0 46220003 */ div.d $f0, $f0, $f2
/* 103554 802E1CD4 46200120 */ cvt.s.d $f4, $f0
/* 103558 802E1CD8 3C01802F */ lui $at, 0x802f
/* 10355C 802E1CDC D422B0A8 */ ldc1 $f2, -0x4f58($at)
/* 103560 802E1CE0 46002021 */ cvt.d.s $f0, $f4
/* 103564 802E1CE4 4620103C */ c.lt.d $f2, $f0
/* 103568 802E1CE8 00000000 */ nop
/* 10356C 802E1CEC 45000004 */ bc1f .L802E1D00
/* 103570 802E1CF0 00000000 */ nop
/* 103574 802E1CF4 3C01BC23 */ lui $at, 0xbc23
/* 103578 802E1CF8 3421D70A */ ori $at, $at, 0xd70a
/* 10357C 802E1CFC 44812000 */ mtc1 $at, $f4
.L802E1D00:
/* 103580 802E1D00 C6000008 */ lwc1 $f0, 8($s0)
/* 103584 802E1D04 46040000 */ add.s $f0, $f0, $f4
/* 103588 802E1D08 E6000008 */ swc1 $f0, 8($s0)
/* 10358C 802E1D0C C6220058 */ lwc1 $f2, 0x58($s1)
/* 103590 802E1D10 46001080 */ add.s $f2, $f2, $f0
/* 103594 802E1D14 E6220058 */ swc1 $f2, 0x58($s1)
/* 103598 802E1D18 C6000018 */ lwc1 $f0, 0x18($s0)
/* 10359C 802E1D1C 46060000 */ add.s $f0, $f0, $f6
/* 1035A0 802E1D20 4600103E */ c.le.s $f2, $f0
/* 1035A4 802E1D24 00000000 */ nop
/* 1035A8 802E1D28 45000051 */ bc1f .L802E1E70
/* 1035AC 802E1D2C 00000000 */ nop
/* 1035B0 802E1D30 080B8796 */ j .L802E1E58
/* 1035B4 802E1D34 00000000 */ nop
/* 1035B8 802E1D38 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1035BC 802E1D3C 44800000 */ mtc1 $zero, $f0
/* 1035C0 802E1D40 44800800 */ mtc1 $zero, $f1
/* 1035C4 802E1D44 460010A1 */ cvt.d.s $f2, $f2
/* 1035C8 802E1D48 46201082 */ mul.d $f2, $f2, $f0
/* 1035CC 802E1D4C 00000000 */ nop
/* 1035D0 802E1D50 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1035D4 802E1D54 462011A0 */ cvt.s.d $f6, $f2
/* 1035D8 802E1D58 46060000 */ add.s $f0, $f0, $f6
/* 1035DC 802E1D5C C6220058 */ lwc1 $f2, 0x58($s1)
/* 1035E0 802E1D60 46020001 */ sub.s $f0, $f0, $f2
/* 1035E4 802E1D64 3C014024 */ lui $at, 0x4024
/* 1035E8 802E1D68 44811800 */ mtc1 $at, $f3
/* 1035EC 802E1D6C 44801000 */ mtc1 $zero, $f2
/* 1035F0 802E1D70 46000021 */ cvt.d.s $f0, $f0
/* 1035F4 802E1D74 46220003 */ div.d $f0, $f0, $f2
/* 1035F8 802E1D78 46200120 */ cvt.s.d $f4, $f0
/* 1035FC 802E1D7C 3C01802F */ lui $at, 0x802f
/* 103600 802E1D80 D422B0B0 */ ldc1 $f2, -0x4f50($at)
/* 103604 802E1D84 46002021 */ cvt.d.s $f0, $f4
/* 103608 802E1D88 4622003C */ c.lt.d $f0, $f2
/* 10360C 802E1D8C 00000000 */ nop
/* 103610 802E1D90 45000004 */ bc1f .L802E1DA4
/* 103614 802E1D94 00000000 */ nop
/* 103618 802E1D98 3C013C23 */ lui $at, 0x3c23
/* 10361C 802E1D9C 3421D70A */ ori $at, $at, 0xd70a
/* 103620 802E1DA0 44812000 */ mtc1 $at, $f4
.L802E1DA4:
/* 103624 802E1DA4 C6000008 */ lwc1 $f0, 8($s0)
/* 103628 802E1DA8 46040000 */ add.s $f0, $f0, $f4
/* 10362C 802E1DAC E6000008 */ swc1 $f0, 8($s0)
/* 103630 802E1DB0 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103634 802E1DB4 46001080 */ add.s $f2, $f2, $f0
/* 103638 802E1DB8 E6220058 */ swc1 $f2, 0x58($s1)
/* 10363C 802E1DBC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103640 802E1DC0 46060000 */ add.s $f0, $f0, $f6
/* 103644 802E1DC4 4602003E */ c.le.s $f0, $f2
/* 103648 802E1DC8 00000000 */ nop
/* 10364C 802E1DCC 45000028 */ bc1f .L802E1E70
/* 103650 802E1DD0 00000000 */ nop
/* 103654 802E1DD4 080B8796 */ j .L802E1E58
/* 103658 802E1DD8 00000000 */ nop
/* 10365C 802E1DDC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103660 802E1DE0 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103664 802E1DE4 46020001 */ sub.s $f0, $f0, $f2
/* 103668 802E1DE8 3C014014 */ lui $at, 0x4014
/* 10366C 802E1DEC 44811800 */ mtc1 $at, $f3
/* 103670 802E1DF0 44801000 */ mtc1 $zero, $f2
/* 103674 802E1DF4 46000021 */ cvt.d.s $f0, $f0
/* 103678 802E1DF8 46220003 */ div.d $f0, $f0, $f2
/* 10367C 802E1DFC 46200120 */ cvt.s.d $f4, $f0
/* 103680 802E1E00 3C01802F */ lui $at, 0x802f
/* 103684 802E1E04 D422B0B8 */ ldc1 $f2, -0x4f48($at)
/* 103688 802E1E08 46002021 */ cvt.d.s $f0, $f4
/* 10368C 802E1E0C 4620103C */ c.lt.d $f2, $f0
/* 103690 802E1E10 00000000 */ nop
/* 103694 802E1E14 45000004 */ bc1f .L802E1E28
/* 103698 802E1E18 00000000 */ nop
/* 10369C 802E1E1C 3C01BC23 */ lui $at, 0xbc23
/* 1036A0 802E1E20 3421D70A */ ori $at, $at, 0xd70a
/* 1036A4 802E1E24 44812000 */ mtc1 $at, $f4
.L802E1E28:
/* 1036A8 802E1E28 C6000008 */ lwc1 $f0, 8($s0)
/* 1036AC 802E1E2C 46040000 */ add.s $f0, $f0, $f4
/* 1036B0 802E1E30 E6000008 */ swc1 $f0, 8($s0)
/* 1036B4 802E1E34 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1036B8 802E1E38 46001080 */ add.s $f2, $f2, $f0
/* 1036BC 802E1E3C E6220058 */ swc1 $f2, 0x58($s1)
/* 1036C0 802E1E40 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1036C4 802E1E44 4600103E */ c.le.s $f2, $f0
/* 1036C8 802E1E48 00000000 */ nop
/* 1036CC 802E1E4C 45000008 */ bc1f .L802E1E70
/* 1036D0 802E1E50 00000000 */ nop
/* 1036D4 802E1E54 E6200058 */ swc1 $f0, 0x58($s1)
.L802E1E58:
/* 1036D8 802E1E58 92020011 */ lbu $v0, 0x11($s0)
/* 1036DC 802E1E5C AE000008 */ sw $zero, 8($s0)
/* 1036E0 802E1E60 24420001 */ addiu $v0, $v0, 1
/* 1036E4 802E1E64 080B879C */ j .L802E1E70
/* 1036E8 802E1E68 A2020011 */ sb $v0, 0x11($s0)
/* 1036EC 802E1E6C 26520001 */ addiu $s2, $s2, 1
.L802E1E70:
/* 1036F0 802E1E70 0C0B854F */ jal func_802E153C
/* 1036F4 802E1E74 0220202D */ daddu $a0, $s1, $zero
/* 1036F8 802E1E78 24020002 */ addiu $v0, $zero, 2
/* 1036FC 802E1E7C 16420004 */ bne $s2, $v0, .L802E1E90
/* 103700 802E1E80 0220202D */ daddu $a0, $s1, $zero
/* 103704 802E1E84 A2000010 */ sb $zero, 0x10($s0)
/* 103708 802E1E88 0C043F5A */ jal func_8010FD68
/* 10370C 802E1E8C A2000011 */ sb $zero, 0x11($s0)
.L802E1E90:
/* 103710 802E1E90 8FBF001C */ lw $ra, 0x1c($sp)
/* 103714 802E1E94 8FB20018 */ lw $s2, 0x18($sp)
/* 103718 802E1E98 8FB10014 */ lw $s1, 0x14($sp)
/* 10371C 802E1E9C 8FB00010 */ lw $s0, 0x10($sp)
/* 103720 802E1EA0 03E00008 */ jr $ra
/* 103724 802E1EA4 27BD0020 */ addiu $sp, $sp, 0x20
/* 103728 802E1EA8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10372C 802E1EAC AFB00010 */ sw $s0, 0x10($sp)
/* 103730 802E1EB0 0080802D */ daddu $s0, $a0, $zero
/* 103734 802E1EB4 AFBF0014 */ sw $ra, 0x14($sp)
/* 103738 802E1EB8 8E020040 */ lw $v0, 0x40($s0)
/* 10373C 802E1EBC 0C051568 */ jal set_area_flag
/* 103740 802E1EC0 94440020 */ lhu $a0, 0x20($v0)
/* 103744 802E1EC4 0C04419E */ jal func_80110678
/* 103748 802E1EC8 0200202D */ daddu $a0, $s0, $zero
/* 10374C 802E1ECC 8FBF0014 */ lw $ra, 0x14($sp)
/* 103750 802E1ED0 8FB00010 */ lw $s0, 0x10($sp)
/* 103754 802E1ED4 03E00008 */ jr $ra
/* 103758 802E1ED8 27BD0018 */ addiu $sp, $sp, 0x18
/* 10375C 802E1EDC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 103760 802E1EE0 AFB1001C */ sw $s1, 0x1c($sp)
/* 103764 802E1EE4 0080882D */ daddu $s1, $a0, $zero
/* 103768 802E1EE8 AFBF0024 */ sw $ra, 0x24($sp)
/* 10376C 802E1EEC AFB20020 */ sw $s2, 0x20($sp)
/* 103770 802E1EF0 AFB00018 */ sw $s0, 0x18($sp)
/* 103774 802E1EF4 8E300040 */ lw $s0, 0x40($s1)
/* 103778 802E1EF8 82030010 */ lb $v1, 0x10($s0)
/* 10377C 802E1EFC 2C620005 */ sltiu $v0, $v1, 5
/* 103780 802E1F00 10400087 */ beqz $v0, .L802E2120
/* 103784 802E1F04 0000902D */ daddu $s2, $zero, $zero
/* 103788 802E1F08 00031080 */ sll $v0, $v1, 2
/* 10378C 802E1F0C 3C01802F */ lui $at, 0x802f
/* 103790 802E1F10 00220821 */ addu $at, $at, $v0
/* 103794 802E1F14 8C22B0C0 */ lw $v0, -0x4f40($at)
/* 103798 802E1F18 00400008 */ jr $v0
/* 10379C 802E1F1C 00000000 */ nop
/* 1037A0 802E1F20 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1037A4 802E1F24 3C01802F */ lui $at, 0x802f
/* 1037A8 802E1F28 D420B0D8 */ ldc1 $f0, -0x4f28($at)
/* 1037AC 802E1F2C 460010A1 */ cvt.d.s $f2, $f2
/* 1037B0 802E1F30 46201082 */ mul.d $f2, $f2, $f0
/* 1037B4 802E1F34 00000000 */ nop
/* 1037B8 802E1F38 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1037BC 802E1F3C 462011A0 */ cvt.s.d $f6, $f2
/* 1037C0 802E1F40 46060000 */ add.s $f0, $f0, $f6
/* 1037C4 802E1F44 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1037C8 802E1F48 46020001 */ sub.s $f0, $f0, $f2
/* 1037CC 802E1F4C 3C013FD0 */ lui $at, 0x3fd0
/* 1037D0 802E1F50 44811800 */ mtc1 $at, $f3
/* 1037D4 802E1F54 44801000 */ mtc1 $zero, $f2
/* 1037D8 802E1F58 46000021 */ cvt.d.s $f0, $f0
/* 1037DC 802E1F5C 46220002 */ mul.d $f0, $f0, $f2
/* 1037E0 802E1F60 00000000 */ nop
/* 1037E4 802E1F64 3C01802F */ lui $at, 0x802f
/* 1037E8 802E1F68 D422B0E0 */ ldc1 $f2, -0x4f20($at)
/* 1037EC 802E1F6C 46200120 */ cvt.s.d $f4, $f0
/* 1037F0 802E1F70 46002021 */ cvt.d.s $f0, $f4
/* 1037F4 802E1F74 4622003C */ c.lt.d $f0, $f2
/* 1037F8 802E1F78 00000000 */ nop
/* 1037FC 802E1F7C 45000004 */ bc1f .L802E1F90
/* 103800 802E1F80 00000000 */ nop
/* 103804 802E1F84 3C013C23 */ lui $at, 0x3c23
/* 103808 802E1F88 3421D70A */ ori $at, $at, 0xd70a
/* 10380C 802E1F8C 44812000 */ mtc1 $at, $f4
.L802E1F90:
/* 103810 802E1F90 C6000004 */ lwc1 $f0, 4($s0)
/* 103814 802E1F94 46040000 */ add.s $f0, $f0, $f4
/* 103818 802E1F98 E6000004 */ swc1 $f0, 4($s0)
/* 10381C 802E1F9C C6220054 */ lwc1 $f2, 0x54($s1)
/* 103820 802E1FA0 46001080 */ add.s $f2, $f2, $f0
/* 103824 802E1FA4 E6220054 */ swc1 $f2, 0x54($s1)
/* 103828 802E1FA8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10382C 802E1FAC 46060000 */ add.s $f0, $f0, $f6
/* 103830 802E1FB0 4602003E */ c.le.s $f0, $f2
/* 103834 802E1FB4 080B8840 */ j .L802E2100
/* 103838 802E1FB8 00000000 */ nop
/* 10383C 802E1FBC C602001C */ lwc1 $f2, 0x1c($s0)
/* 103840 802E1FC0 3C01802F */ lui $at, 0x802f
/* 103844 802E1FC4 D420B0E8 */ ldc1 $f0, -0x4f18($at)
/* 103848 802E1FC8 080B881F */ j .L802E207C
/* 10384C 802E1FCC 460010A1 */ cvt.d.s $f2, $f2
/* 103850 802E1FD0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103854 802E1FD4 3C01802F */ lui $at, 0x802f
/* 103858 802E1FD8 D420B0F0 */ ldc1 $f0, -0x4f10($at)
/* 10385C 802E1FDC 460010A1 */ cvt.d.s $f2, $f2
/* 103860 802E1FE0 46201082 */ mul.d $f2, $f2, $f0
/* 103864 802E1FE4 00000000 */ nop
/* 103868 802E1FE8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10386C 802E1FEC 462011A0 */ cvt.s.d $f6, $f2
/* 103870 802E1FF0 46060000 */ add.s $f0, $f0, $f6
/* 103874 802E1FF4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103878 802E1FF8 46020001 */ sub.s $f0, $f0, $f2
/* 10387C 802E1FFC 3C013FD0 */ lui $at, 0x3fd0
/* 103880 802E2000 44811800 */ mtc1 $at, $f3
/* 103884 802E2004 44801000 */ mtc1 $zero, $f2
/* 103888 802E2008 46000021 */ cvt.d.s $f0, $f0
/* 10388C 802E200C 46220002 */ mul.d $f0, $f0, $f2
/* 103890 802E2010 00000000 */ nop
/* 103894 802E2014 3C01802F */ lui $at, 0x802f
/* 103898 802E2018 D422B0F8 */ ldc1 $f2, -0x4f08($at)
/* 10389C 802E201C 46200120 */ cvt.s.d $f4, $f0
/* 1038A0 802E2020 46002021 */ cvt.d.s $f0, $f4
/* 1038A4 802E2024 4622003C */ c.lt.d $f0, $f2
/* 1038A8 802E2028 00000000 */ nop
/* 1038AC 802E202C 45000004 */ bc1f .L802E2040
/* 1038B0 802E2030 00000000 */ nop
/* 1038B4 802E2034 3C013C23 */ lui $at, 0x3c23
/* 1038B8 802E2038 3421D70A */ ori $at, $at, 0xd70a
/* 1038BC 802E203C 44812000 */ mtc1 $at, $f4
.L802E2040:
/* 1038C0 802E2040 C6000004 */ lwc1 $f0, 4($s0)
/* 1038C4 802E2044 46040000 */ add.s $f0, $f0, $f4
/* 1038C8 802E2048 E6000004 */ swc1 $f0, 4($s0)
/* 1038CC 802E204C C6220054 */ lwc1 $f2, 0x54($s1)
/* 1038D0 802E2050 46001080 */ add.s $f2, $f2, $f0
/* 1038D4 802E2054 E6220054 */ swc1 $f2, 0x54($s1)
/* 1038D8 802E2058 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1038DC 802E205C 46060000 */ add.s $f0, $f0, $f6
/* 1038E0 802E2060 4602003E */ c.le.s $f0, $f2
/* 1038E4 802E2064 080B8840 */ j .L802E2100
/* 1038E8 802E2068 00000000 */ nop
/* 1038EC 802E206C C602001C */ lwc1 $f2, 0x1c($s0)
/* 1038F0 802E2070 3C01802F */ lui $at, 0x802f
/* 1038F4 802E2074 D420B100 */ ldc1 $f0, -0x4f00($at)
/* 1038F8 802E2078 460010A1 */ cvt.d.s $f2, $f2
.L802E207C:
/* 1038FC 802E207C 46201082 */ mul.d $f2, $f2, $f0
/* 103900 802E2080 00000000 */ nop
/* 103904 802E2084 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103908 802E2088 462011A0 */ cvt.s.d $f6, $f2
/* 10390C 802E208C 46060000 */ add.s $f0, $f0, $f6
/* 103910 802E2090 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103914 802E2094 46020001 */ sub.s $f0, $f0, $f2
/* 103918 802E2098 3C014018 */ lui $at, 0x4018
/* 10391C 802E209C 44811800 */ mtc1 $at, $f3
/* 103920 802E20A0 44801000 */ mtc1 $zero, $f2
/* 103924 802E20A4 46000021 */ cvt.d.s $f0, $f0
/* 103928 802E20A8 46220003 */ div.d $f0, $f0, $f2
/* 10392C 802E20AC 46200120 */ cvt.s.d $f4, $f0
/* 103930 802E20B0 3C01802F */ lui $at, 0x802f
/* 103934 802E20B4 D422B108 */ ldc1 $f2, -0x4ef8($at)
/* 103938 802E20B8 46002021 */ cvt.d.s $f0, $f4
/* 10393C 802E20BC 4620103C */ c.lt.d $f2, $f0
/* 103940 802E20C0 00000000 */ nop
/* 103944 802E20C4 45000004 */ bc1f .L802E20D8
/* 103948 802E20C8 00000000 */ nop
/* 10394C 802E20CC 3C01BC23 */ lui $at, 0xbc23
/* 103950 802E20D0 3421D70A */ ori $at, $at, 0xd70a
/* 103954 802E20D4 44812000 */ mtc1 $at, $f4
.L802E20D8:
/* 103958 802E20D8 C6000004 */ lwc1 $f0, 4($s0)
/* 10395C 802E20DC 46040000 */ add.s $f0, $f0, $f4
/* 103960 802E20E0 E6000004 */ swc1 $f0, 4($s0)
/* 103964 802E20E4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103968 802E20E8 46001080 */ add.s $f2, $f2, $f0
/* 10396C 802E20EC E6220054 */ swc1 $f2, 0x54($s1)
/* 103970 802E20F0 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103974 802E20F4 46060000 */ add.s $f0, $f0, $f6
/* 103978 802E20F8 4600103E */ c.le.s $f2, $f0
/* 10397C 802E20FC 00000000 */ nop
.L802E2100:
/* 103980 802E2100 45000007 */ bc1f .L802E2120
/* 103984 802E2104 00000000 */ nop
/* 103988 802E2108 92020010 */ lbu $v0, 0x10($s0)
/* 10398C 802E210C AE000004 */ sw $zero, 4($s0)
/* 103990 802E2110 24420001 */ addiu $v0, $v0, 1
/* 103994 802E2114 080B8848 */ j .L802E2120
/* 103998 802E2118 A2020010 */ sb $v0, 0x10($s0)
/* 10399C 802E211C 26520001 */ addiu $s2, $s2, 1
.L802E2120:
/* 1039A0 802E2120 C6200054 */ lwc1 $f0, 0x54($s1)
/* 1039A4 802E2124 E620005C */ swc1 $f0, 0x5c($s1)
/* 1039A8 802E2128 82030011 */ lb $v1, 0x11($s0)
/* 1039AC 802E212C 24020001 */ addiu $v0, $zero, 1
/* 1039B0 802E2130 10620013 */ beq $v1, $v0, .L802E2180
/* 1039B4 802E2134 28620002 */ slti $v0, $v1, 2
/* 1039B8 802E2138 10400005 */ beqz $v0, .L802E2150
/* 1039BC 802E213C 24020002 */ addiu $v0, $zero, 2
/* 1039C0 802E2140 10600009 */ beqz $v1, .L802E2168
/* 1039C4 802E2144 00000000 */ nop
/* 1039C8 802E2148 080B88B1 */ j .L802E22C4
/* 1039CC 802E214C 00000000 */ nop
.L802E2150:
/* 1039D0 802E2150 10620031 */ beq $v1, $v0, .L802E2218
/* 1039D4 802E2154 24020003 */ addiu $v0, $zero, 3
/* 1039D8 802E2158 5062005A */ beql $v1, $v0, .L802E22C4
/* 1039DC 802E215C 26520001 */ addiu $s2, $s2, 1
/* 1039E0 802E2160 080B88B1 */ j .L802E22C4
/* 1039E4 802E2164 00000000 */ nop
.L802E2168:
/* 1039E8 802E2168 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1039EC 802E216C 3C01BFE0 */ lui $at, 0xbfe0
/* 1039F0 802E2170 44810800 */ mtc1 $at, $f1
/* 1039F4 802E2174 44800000 */ mtc1 $zero, $f0
/* 1039F8 802E2178 080B888A */ j .L802E2228
/* 1039FC 802E217C 460010A1 */ cvt.d.s $f2, $f2
.L802E2180:
/* 103A00 802E2180 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103A04 802E2184 3C01802F */ lui $at, 0x802f
/* 103A08 802E2188 D420B110 */ ldc1 $f0, -0x4ef0($at)
/* 103A0C 802E218C 460010A1 */ cvt.d.s $f2, $f2
/* 103A10 802E2190 46201082 */ mul.d $f2, $f2, $f0
/* 103A14 802E2194 00000000 */ nop
/* 103A18 802E2198 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103A1C 802E219C 462011A0 */ cvt.s.d $f6, $f2
/* 103A20 802E21A0 46060000 */ add.s $f0, $f0, $f6
/* 103A24 802E21A4 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103A28 802E21A8 46020001 */ sub.s $f0, $f0, $f2
/* 103A2C 802E21AC 3C014024 */ lui $at, 0x4024
/* 103A30 802E21B0 44811800 */ mtc1 $at, $f3
/* 103A34 802E21B4 44801000 */ mtc1 $zero, $f2
/* 103A38 802E21B8 46000021 */ cvt.d.s $f0, $f0
/* 103A3C 802E21BC 46220003 */ div.d $f0, $f0, $f2
/* 103A40 802E21C0 46200120 */ cvt.s.d $f4, $f0
/* 103A44 802E21C4 3C01802F */ lui $at, 0x802f
/* 103A48 802E21C8 D422B118 */ ldc1 $f2, -0x4ee8($at)
/* 103A4C 802E21CC 46002021 */ cvt.d.s $f0, $f4
/* 103A50 802E21D0 4622003C */ c.lt.d $f0, $f2
/* 103A54 802E21D4 00000000 */ nop
/* 103A58 802E21D8 45000004 */ bc1f .L802E21EC
/* 103A5C 802E21DC 00000000 */ nop
/* 103A60 802E21E0 3C013C23 */ lui $at, 0x3c23
/* 103A64 802E21E4 3421D70A */ ori $at, $at, 0xd70a
/* 103A68 802E21E8 44812000 */ mtc1 $at, $f4
.L802E21EC:
/* 103A6C 802E21EC C6000008 */ lwc1 $f0, 8($s0)
/* 103A70 802E21F0 46040000 */ add.s $f0, $f0, $f4
/* 103A74 802E21F4 E6000008 */ swc1 $f0, 8($s0)
/* 103A78 802E21F8 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103A7C 802E21FC 46001080 */ add.s $f2, $f2, $f0
/* 103A80 802E2200 E6220058 */ swc1 $f2, 0x58($s1)
/* 103A84 802E2204 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103A88 802E2208 46060000 */ add.s $f0, $f0, $f6
/* 103A8C 802E220C 4602003E */ c.le.s $f0, $f2
/* 103A90 802E2210 080B88AB */ j .L802E22AC
/* 103A94 802E2214 00000000 */ nop
.L802E2218:
/* 103A98 802E2218 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103A9C 802E221C 3C01802F */ lui $at, 0x802f
/* 103AA0 802E2220 D420B120 */ ldc1 $f0, -0x4ee0($at)
/* 103AA4 802E2224 460010A1 */ cvt.d.s $f2, $f2
.L802E2228:
/* 103AA8 802E2228 46201082 */ mul.d $f2, $f2, $f0
/* 103AAC 802E222C 00000000 */ nop
/* 103AB0 802E2230 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103AB4 802E2234 462011A0 */ cvt.s.d $f6, $f2
/* 103AB8 802E2238 46060000 */ add.s $f0, $f0, $f6
/* 103ABC 802E223C C6220058 */ lwc1 $f2, 0x58($s1)
/* 103AC0 802E2240 46020001 */ sub.s $f0, $f0, $f2
/* 103AC4 802E2244 3C014014 */ lui $at, 0x4014
/* 103AC8 802E2248 44811800 */ mtc1 $at, $f3
/* 103ACC 802E224C 44801000 */ mtc1 $zero, $f2
/* 103AD0 802E2250 46000021 */ cvt.d.s $f0, $f0
/* 103AD4 802E2254 46220003 */ div.d $f0, $f0, $f2
/* 103AD8 802E2258 46200120 */ cvt.s.d $f4, $f0
/* 103ADC 802E225C 3C01802F */ lui $at, 0x802f
/* 103AE0 802E2260 D422B128 */ ldc1 $f2, -0x4ed8($at)
/* 103AE4 802E2264 46002021 */ cvt.d.s $f0, $f4
/* 103AE8 802E2268 4620103C */ c.lt.d $f2, $f0
/* 103AEC 802E226C 00000000 */ nop
/* 103AF0 802E2270 45000004 */ bc1f .L802E2284
/* 103AF4 802E2274 00000000 */ nop
/* 103AF8 802E2278 3C01BC23 */ lui $at, 0xbc23
/* 103AFC 802E227C 3421D70A */ ori $at, $at, 0xd70a
/* 103B00 802E2280 44812000 */ mtc1 $at, $f4
.L802E2284:
/* 103B04 802E2284 C6000008 */ lwc1 $f0, 8($s0)
/* 103B08 802E2288 46040000 */ add.s $f0, $f0, $f4
/* 103B0C 802E228C E6000008 */ swc1 $f0, 8($s0)
/* 103B10 802E2290 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103B14 802E2294 46001080 */ add.s $f2, $f2, $f0
/* 103B18 802E2298 E6220058 */ swc1 $f2, 0x58($s1)
/* 103B1C 802E229C C6000018 */ lwc1 $f0, 0x18($s0)
/* 103B20 802E22A0 46060000 */ add.s $f0, $f0, $f6
/* 103B24 802E22A4 4600103E */ c.le.s $f2, $f0
/* 103B28 802E22A8 00000000 */ nop
.L802E22AC:
/* 103B2C 802E22AC 45000005 */ bc1f .L802E22C4
/* 103B30 802E22B0 00000000 */ nop
/* 103B34 802E22B4 92020011 */ lbu $v0, 0x11($s0)
/* 103B38 802E22B8 AE000008 */ sw $zero, 8($s0)
/* 103B3C 802E22BC 24420001 */ addiu $v0, $v0, 1
/* 103B40 802E22C0 A2020011 */ sb $v0, 0x11($s0)
.L802E22C4:
/* 103B44 802E22C4 0C0B854F */ jal func_802E153C
/* 103B48 802E22C8 0220202D */ daddu $a0, $s1, $zero
/* 103B4C 802E22CC 24020002 */ addiu $v0, $zero, 2
/* 103B50 802E22D0 16420004 */ bne $s2, $v0, .L802E22E4
/* 103B54 802E22D4 0220202D */ daddu $a0, $s1, $zero
/* 103B58 802E22D8 A2000010 */ sb $zero, 0x10($s0)
/* 103B5C 802E22DC 0C043F5A */ jal func_8010FD68
/* 103B60 802E22E0 A2000011 */ sb $zero, 0x11($s0)
.L802E22E4:
/* 103B64 802E22E4 96020024 */ lhu $v0, 0x24($s0)
/* 103B68 802E22E8 2403000A */ addiu $v1, $zero, 0xa
/* 103B6C 802E22EC 24420001 */ addiu $v0, $v0, 1
/* 103B70 802E22F0 A6020024 */ sh $v0, 0x24($s0)
/* 103B74 802E22F4 00021400 */ sll $v0, $v0, 0x10
/* 103B78 802E22F8 00021403 */ sra $v0, $v0, 0x10
/* 103B7C 802E22FC 1443000D */ bne $v0, $v1, .L802E2334
/* 103B80 802E2300 00000000 */ nop
/* 103B84 802E2304 8E020028 */ lw $v0, 0x28($s0)
/* 103B88 802E2308 1440000A */ bnez $v0, .L802E2334
/* 103B8C 802E230C 2402003C */ addiu $v0, $zero, 0x3c
/* 103B90 802E2310 3C013F80 */ lui $at, 0x3f80
/* 103B94 802E2314 44810000 */ mtc1 $at, $f0
/* 103B98 802E2318 AFA20014 */ sw $v0, 0x14($sp)
/* 103B9C 802E231C E7A00010 */ swc1 $f0, 0x10($sp)
/* 103BA0 802E2320 8E250048 */ lw $a1, 0x48($s1)
/* 103BA4 802E2324 8E26004C */ lw $a2, 0x4c($s1)
/* 103BA8 802E2328 8E270050 */ lw $a3, 0x50($s1)
/* 103BAC 802E232C 0C01C88C */ jal func_80072230
/* 103BB0 802E2330 0000202D */ daddu $a0, $zero, $zero
.L802E2334:
/* 103BB4 802E2334 8FBF0024 */ lw $ra, 0x24($sp)
/* 103BB8 802E2338 8FB20020 */ lw $s2, 0x20($sp)
/* 103BBC 802E233C 8FB1001C */ lw $s1, 0x1c($sp)
/* 103BC0 802E2340 8FB00018 */ lw $s0, 0x18($sp)
/* 103BC4 802E2344 03E00008 */ jr $ra
/* 103BC8 802E2348 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,25 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1614
/* 102E94 802E1614 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102E98 802E1618 AFBF0010 */ sw $ra, 0x10($sp)
/* 102E9C 802E161C 90820006 */ lbu $v0, 6($a0)
/* 102EA0 802E1620 30420001 */ andi $v0, $v0, 1
/* 102EA4 802E1624 1040000B */ beqz $v0, .L802E1654
/* 102EA8 802E1628 00000000 */ nop
/* 102EAC 802E162C 3C028011 */ lui $v0, 0x8011
/* 102EB0 802E1630 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 102EB4 802E1634 804300B4 */ lb $v1, 0xb4($v0)
/* 102EB8 802E1638 2402000E */ addiu $v0, $zero, 0xe
/* 102EBC 802E163C 10620003 */ beq $v1, $v0, .L802E164C
/* 102EC0 802E1640 24020010 */ addiu $v0, $zero, 0x10
/* 102EC4 802E1644 14620003 */ bne $v1, $v0, .L802E1654
/* 102EC8 802E1648 00000000 */ nop
.L802E164C:
/* 102ECC 802E164C 0C043F5A */ jal func_8010FD68
/* 102ED0 802E1650 00000000 */ nop
.L802E1654:
/* 102ED4 802E1654 8FBF0010 */ lw $ra, 0x10($sp)
/* 102ED8 802E1658 03E00008 */ jr $ra
/* 102EDC 802E165C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,65 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1660
/* 102EE0 802E1660 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 102EE4 802E1664 AFB00010 */ sw $s0, 0x10($sp)
/* 102EE8 802E1668 0080802D */ daddu $s0, $a0, $zero
/* 102EEC 802E166C AFBF0020 */ sw $ra, 0x20($sp)
/* 102EF0 802E1670 AFB3001C */ sw $s3, 0x1c($sp)
/* 102EF4 802E1674 AFB20018 */ sw $s2, 0x18($sp)
/* 102EF8 802E1678 AFB10014 */ sw $s1, 0x14($sp)
/* 102EFC 802E167C 0C0B854F */ jal func_802E153C
/* 102F00 802E1680 8E130040 */ lw $s3, 0x40($s0)
/* 102F04 802E1684 3C118011 */ lui $s1, 0x8011
/* 102F08 802E1688 2631EFC8 */ addiu $s1, $s1, -0x1038
/* 102F0C 802E168C 92020006 */ lbu $v0, 6($s0)
/* 102F10 802E1690 3C128011 */ lui $s2, 0x8011
/* 102F14 802E1694 2652EBB0 */ addiu $s2, $s2, -0x1450
/* 102F18 802E1698 30420040 */ andi $v0, $v0, 0x40
/* 102F1C 802E169C 1040000A */ beqz $v0, .L802E16C8
/* 102F20 802E16A0 24020012 */ addiu $v0, $zero, 0x12
/* 102F24 802E16A4 822300B4 */ lb $v1, 0xb4($s1)
/* 102F28 802E16A8 14620009 */ bne $v1, $v0, .L802E16D0
/* 102F2C 802E16AC 2402000D */ addiu $v0, $zero, 0xd
/* 102F30 802E16B0 3C028011 */ lui $v0, 0x8011
/* 102F34 802E16B4 8042F291 */ lb $v0, -0xd6f($v0)
/* 102F38 802E16B8 0440001A */ bltz $v0, .L802E1724
/* 102F3C 802E16BC 00000000 */ nop
/* 102F40 802E16C0 080B85C2 */ j .L802E1708
/* 102F44 802E16C4 00000000 */ nop
.L802E16C8:
/* 102F48 802E16C8 822300B4 */ lb $v1, 0xb4($s1)
/* 102F4C 802E16CC 2402000D */ addiu $v0, $zero, 0xd
.L802E16D0:
/* 102F50 802E16D0 10620014 */ beq $v1, $v0, .L802E1724
/* 102F54 802E16D4 24020004 */ addiu $v0, $zero, 4
/* 102F58 802E16D8 82430003 */ lb $v1, 3($s2)
/* 102F5C 802E16DC 14620004 */ bne $v1, $v0, .L802E16F0
/* 102F60 802E16E0 00000000 */ nop
/* 102F64 802E16E4 82420000 */ lb $v0, ($s2)
/* 102F68 802E16E8 1440000E */ bnez $v0, .L802E1724
/* 102F6C 802E16EC 00000000 */ nop
.L802E16F0:
/* 102F70 802E16F0 92030006 */ lbu $v1, 6($s0)
/* 102F74 802E16F4 30620001 */ andi $v0, $v1, 1
/* 102F78 802E16F8 14400003 */ bnez $v0, .L802E1708
/* 102F7C 802E16FC 30620080 */ andi $v0, $v1, 0x80
/* 102F80 802E1700 10400008 */ beqz $v0, .L802E1724
/* 102F84 802E1704 00000000 */ nop
.L802E1708:
/* 102F88 802E1708 0C043F5A */ jal func_8010FD68
/* 102F8C 802E170C 0200202D */ daddu $a0, $s0, $zero
/* 102F90 802E1710 8E640028 */ lw $a0, 0x28($s3)
/* 102F94 802E1714 10800003 */ beqz $a0, .L802E1724
/* 102F98 802E1718 00000000 */ nop
/* 102F9C 802E171C 0C043F5A */ jal func_8010FD68
/* 102FA0 802E1720 00000000 */ nop
.L802E1724:
/* 102FA4 802E1724 8FBF0020 */ lw $ra, 0x20($sp)
/* 102FA8 802E1728 8FB3001C */ lw $s3, 0x1c($sp)
/* 102FAC 802E172C 8FB20018 */ lw $s2, 0x18($sp)
/* 102FB0 802E1730 8FB10014 */ lw $s1, 0x14($sp)
/* 102FB4 802E1734 8FB00010 */ lw $s0, 0x10($sp)
/* 102FB8 802E1738 03E00008 */ jr $ra
/* 102FBC 802E173C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1740
/* 102FC0 802E1740 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 102FC4 802E1744 AFBF0010 */ sw $ra, 0x10($sp)
/* 102FC8 802E1748 90820006 */ lbu $v0, 6($a0)
/* 102FCC 802E174C 30420001 */ andi $v0, $v0, 1
/* 102FD0 802E1750 14400003 */ bnez $v0, .L802E1760
/* 102FD4 802E1754 00000000 */ nop
/* 102FD8 802E1758 0C043F5A */ jal func_8010FD68
/* 102FDC 802E175C 00000000 */ nop
.L802E1760:
/* 102FE0 802E1760 8FBF0010 */ lw $ra, 0x10($sp)
/* 102FE4 802E1764 03E00008 */ jr $ra
/* 102FE8 802E1768 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_802E176C
/* 102FEC 802E176C 8C820040 */ lw $v0, 0x40($a0)
/* 102FF0 802E1770 3C013F80 */ lui $at, 0x3f80
/* 102FF4 802E1774 44810000 */ mtc1 $at, $f0
/* 102FF8 802E1778 3C013DCC */ lui $at, 0x3dcc
/* 102FFC 802E177C 3421CCCD */ ori $at, $at, 0xcccd
/* 103000 802E1780 44811000 */ mtc1 $at, $f2
/* 103004 802E1784 3C01BDCC */ lui $at, 0xbdcc
/* 103008 802E1788 3421CCCD */ ori $at, $at, 0xcccd
/* 10300C 802E178C 44812000 */ mtc1 $at, $f4
/* 103010 802E1790 E4400000 */ swc1 $f0, ($v0)
/* 103014 802E1794 E4420004 */ swc1 $f2, 4($v0)
/* 103018 802E1798 E4440008 */ swc1 $f4, 8($v0)
/* 10301C 802E179C A0400010 */ sb $zero, 0x10($v0)
/* 103020 802E17A0 03E00008 */ jr $ra
/* 103024 802E17A4 A0400011 */ sb $zero, 0x11($v0)

View File

@ -0,0 +1,467 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E17A8
/* 103028 802E17A8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 10302C 802E17AC AFB10014 */ sw $s1, 0x14($sp)
/* 103030 802E17B0 0080882D */ daddu $s1, $a0, $zero
/* 103034 802E17B4 AFBF001C */ sw $ra, 0x1c($sp)
/* 103038 802E17B8 AFB20018 */ sw $s2, 0x18($sp)
/* 10303C 802E17BC AFB00010 */ sw $s0, 0x10($sp)
/* 103040 802E17C0 8E300040 */ lw $s0, 0x40($s1)
/* 103044 802E17C4 82030010 */ lb $v1, 0x10($s0)
/* 103048 802E17C8 2C620006 */ sltiu $v0, $v1, 6
/* 10304C 802E17CC 104000D3 */ beqz $v0, .L802E1B1C
/* 103050 802E17D0 0000902D */ daddu $s2, $zero, $zero
/* 103054 802E17D4 00031080 */ sll $v0, $v1, 2
/* 103058 802E17D8 3C01802F */ lui $at, 0x802f
/* 10305C 802E17DC 00220821 */ addu $at, $at, $v0
/* 103060 802E17E0 8C22B010 */ lw $v0, -0x4ff0($at)
/* 103064 802E17E4 00400008 */ jr $v0
/* 103068 802E17E8 00000000 */ nop
/* 10306C 802E17EC C602001C */ lwc1 $f2, 0x1c($s0)
/* 103070 802E17F0 3C01802F */ lui $at, 0x802f
/* 103074 802E17F4 D420B028 */ ldc1 $f0, -0x4fd8($at)
/* 103078 802E17F8 460010A1 */ cvt.d.s $f2, $f2
/* 10307C 802E17FC 46201082 */ mul.d $f2, $f2, $f0
/* 103080 802E1800 00000000 */ nop
/* 103084 802E1804 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103088 802E1808 462011A0 */ cvt.s.d $f6, $f2
/* 10308C 802E180C 46060000 */ add.s $f0, $f0, $f6
/* 103090 802E1810 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103094 802E1814 46020001 */ sub.s $f0, $f0, $f2
/* 103098 802E1818 3C013FD0 */ lui $at, 0x3fd0
/* 10309C 802E181C 44811800 */ mtc1 $at, $f3
/* 1030A0 802E1820 44801000 */ mtc1 $zero, $f2
/* 1030A4 802E1824 46000021 */ cvt.d.s $f0, $f0
/* 1030A8 802E1828 46220002 */ mul.d $f0, $f0, $f2
/* 1030AC 802E182C 00000000 */ nop
/* 1030B0 802E1830 3C01802F */ lui $at, 0x802f
/* 1030B4 802E1834 D422B030 */ ldc1 $f2, -0x4fd0($at)
/* 1030B8 802E1838 46200120 */ cvt.s.d $f4, $f0
/* 1030BC 802E183C 46002021 */ cvt.d.s $f0, $f4
/* 1030C0 802E1840 4622003C */ c.lt.d $f0, $f2
/* 1030C4 802E1844 00000000 */ nop
/* 1030C8 802E1848 45000004 */ bc1f .L802E185C
/* 1030CC 802E184C 00000000 */ nop
/* 1030D0 802E1850 3C013C23 */ lui $at, 0x3c23
/* 1030D4 802E1854 3421D70A */ ori $at, $at, 0xd70a
/* 1030D8 802E1858 44812000 */ mtc1 $at, $f4
.L802E185C:
/* 1030DC 802E185C C6000004 */ lwc1 $f0, 4($s0)
/* 1030E0 802E1860 46040000 */ add.s $f0, $f0, $f4
/* 1030E4 802E1864 E6000004 */ swc1 $f0, 4($s0)
/* 1030E8 802E1868 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1030EC 802E186C 46001080 */ add.s $f2, $f2, $f0
/* 1030F0 802E1870 E6220054 */ swc1 $f2, 0x54($s1)
/* 1030F4 802E1874 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1030F8 802E1878 46060000 */ add.s $f0, $f0, $f6
/* 1030FC 802E187C 4602003E */ c.le.s $f0, $f2
/* 103100 802E1880 00000000 */ nop
/* 103104 802E1884 450000A5 */ bc1f .L802E1B1C
/* 103108 802E1888 00000000 */ nop
/* 10310C 802E188C 080B86C1 */ j .L802E1B04
/* 103110 802E1890 00000000 */ nop
/* 103114 802E1894 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103118 802E1898 3C01802F */ lui $at, 0x802f
/* 10311C 802E189C D420B038 */ ldc1 $f0, -0x4fc8($at)
/* 103120 802E18A0 460010A1 */ cvt.d.s $f2, $f2
/* 103124 802E18A4 46201082 */ mul.d $f2, $f2, $f0
/* 103128 802E18A8 00000000 */ nop
/* 10312C 802E18AC C6000014 */ lwc1 $f0, 0x14($s0)
/* 103130 802E18B0 462011A0 */ cvt.s.d $f6, $f2
/* 103134 802E18B4 46060000 */ add.s $f0, $f0, $f6
/* 103138 802E18B8 C6220054 */ lwc1 $f2, 0x54($s1)
/* 10313C 802E18BC 46020001 */ sub.s $f0, $f0, $f2
/* 103140 802E18C0 3C014018 */ lui $at, 0x4018
/* 103144 802E18C4 44811800 */ mtc1 $at, $f3
/* 103148 802E18C8 44801000 */ mtc1 $zero, $f2
/* 10314C 802E18CC 46000021 */ cvt.d.s $f0, $f0
/* 103150 802E18D0 46220003 */ div.d $f0, $f0, $f2
/* 103154 802E18D4 46200120 */ cvt.s.d $f4, $f0
/* 103158 802E18D8 3C01802F */ lui $at, 0x802f
/* 10315C 802E18DC D422B040 */ ldc1 $f2, -0x4fc0($at)
/* 103160 802E18E0 46002021 */ cvt.d.s $f0, $f4
/* 103164 802E18E4 4620103C */ c.lt.d $f2, $f0
/* 103168 802E18E8 00000000 */ nop
/* 10316C 802E18EC 45000004 */ bc1f .L802E1900
/* 103170 802E18F0 00000000 */ nop
/* 103174 802E18F4 3C01BC23 */ lui $at, 0xbc23
/* 103178 802E18F8 3421D70A */ ori $at, $at, 0xd70a
/* 10317C 802E18FC 44812000 */ mtc1 $at, $f4
.L802E1900:
/* 103180 802E1900 C6000004 */ lwc1 $f0, 4($s0)
/* 103184 802E1904 46040000 */ add.s $f0, $f0, $f4
/* 103188 802E1908 E6000004 */ swc1 $f0, 4($s0)
/* 10318C 802E190C C6220054 */ lwc1 $f2, 0x54($s1)
/* 103190 802E1910 46001080 */ add.s $f2, $f2, $f0
/* 103194 802E1914 E6220054 */ swc1 $f2, 0x54($s1)
/* 103198 802E1918 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10319C 802E191C 46060000 */ add.s $f0, $f0, $f6
/* 1031A0 802E1920 4600103E */ c.le.s $f2, $f0
/* 1031A4 802E1924 00000000 */ nop
/* 1031A8 802E1928 4500007C */ bc1f .L802E1B1C
/* 1031AC 802E192C 00000000 */ nop
/* 1031B0 802E1930 080B86C1 */ j .L802E1B04
/* 1031B4 802E1934 00000000 */ nop
/* 1031B8 802E1938 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1031BC 802E193C 3C01802F */ lui $at, 0x802f
/* 1031C0 802E1940 D420B048 */ ldc1 $f0, -0x4fb8($at)
/* 1031C4 802E1944 460010A1 */ cvt.d.s $f2, $f2
/* 1031C8 802E1948 46201082 */ mul.d $f2, $f2, $f0
/* 1031CC 802E194C 00000000 */ nop
/* 1031D0 802E1950 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1031D4 802E1954 462011A0 */ cvt.s.d $f6, $f2
/* 1031D8 802E1958 46060000 */ add.s $f0, $f0, $f6
/* 1031DC 802E195C C6220054 */ lwc1 $f2, 0x54($s1)
/* 1031E0 802E1960 46020001 */ sub.s $f0, $f0, $f2
/* 1031E4 802E1964 3C013FD0 */ lui $at, 0x3fd0
/* 1031E8 802E1968 44811800 */ mtc1 $at, $f3
/* 1031EC 802E196C 44801000 */ mtc1 $zero, $f2
/* 1031F0 802E1970 46000021 */ cvt.d.s $f0, $f0
/* 1031F4 802E1974 46220002 */ mul.d $f0, $f0, $f2
/* 1031F8 802E1978 00000000 */ nop
/* 1031FC 802E197C 3C01802F */ lui $at, 0x802f
/* 103200 802E1980 D422B050 */ ldc1 $f2, -0x4fb0($at)
/* 103204 802E1984 46200120 */ cvt.s.d $f4, $f0
/* 103208 802E1988 46002021 */ cvt.d.s $f0, $f4
/* 10320C 802E198C 4622003C */ c.lt.d $f0, $f2
/* 103210 802E1990 00000000 */ nop
/* 103214 802E1994 45000004 */ bc1f .L802E19A8
/* 103218 802E1998 00000000 */ nop
/* 10321C 802E199C 3C013C23 */ lui $at, 0x3c23
/* 103220 802E19A0 3421D70A */ ori $at, $at, 0xd70a
/* 103224 802E19A4 44812000 */ mtc1 $at, $f4
.L802E19A8:
/* 103228 802E19A8 C6000004 */ lwc1 $f0, 4($s0)
/* 10322C 802E19AC 46040000 */ add.s $f0, $f0, $f4
/* 103230 802E19B0 E6000004 */ swc1 $f0, 4($s0)
/* 103234 802E19B4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103238 802E19B8 46001080 */ add.s $f2, $f2, $f0
/* 10323C 802E19BC E6220054 */ swc1 $f2, 0x54($s1)
/* 103240 802E19C0 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103244 802E19C4 46060000 */ add.s $f0, $f0, $f6
/* 103248 802E19C8 4602003E */ c.le.s $f0, $f2
/* 10324C 802E19CC 00000000 */ nop
/* 103250 802E19D0 45000052 */ bc1f .L802E1B1C
/* 103254 802E19D4 00000000 */ nop
/* 103258 802E19D8 080B86C1 */ j .L802E1B04
/* 10325C 802E19DC 00000000 */ nop
/* 103260 802E19E0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103264 802E19E4 3C01802F */ lui $at, 0x802f
/* 103268 802E19E8 D420B058 */ ldc1 $f0, -0x4fa8($at)
/* 10326C 802E19EC 460010A1 */ cvt.d.s $f2, $f2
/* 103270 802E19F0 46201082 */ mul.d $f2, $f2, $f0
/* 103274 802E19F4 00000000 */ nop
/* 103278 802E19F8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10327C 802E19FC 462011A0 */ cvt.s.d $f6, $f2
/* 103280 802E1A00 46060000 */ add.s $f0, $f0, $f6
/* 103284 802E1A04 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103288 802E1A08 46020001 */ sub.s $f0, $f0, $f2
/* 10328C 802E1A0C 3C014018 */ lui $at, 0x4018
/* 103290 802E1A10 44811800 */ mtc1 $at, $f3
/* 103294 802E1A14 44801000 */ mtc1 $zero, $f2
/* 103298 802E1A18 46000021 */ cvt.d.s $f0, $f0
/* 10329C 802E1A1C 46220003 */ div.d $f0, $f0, $f2
/* 1032A0 802E1A20 46200120 */ cvt.s.d $f4, $f0
/* 1032A4 802E1A24 3C01802F */ lui $at, 0x802f
/* 1032A8 802E1A28 D422B060 */ ldc1 $f2, -0x4fa0($at)
/* 1032AC 802E1A2C 46002021 */ cvt.d.s $f0, $f4
/* 1032B0 802E1A30 4620103C */ c.lt.d $f2, $f0
/* 1032B4 802E1A34 00000000 */ nop
/* 1032B8 802E1A38 45000004 */ bc1f .L802E1A4C
/* 1032BC 802E1A3C 00000000 */ nop
/* 1032C0 802E1A40 3C01BC23 */ lui $at, 0xbc23
/* 1032C4 802E1A44 3421D70A */ ori $at, $at, 0xd70a
/* 1032C8 802E1A48 44812000 */ mtc1 $at, $f4
.L802E1A4C:
/* 1032CC 802E1A4C C6000004 */ lwc1 $f0, 4($s0)
/* 1032D0 802E1A50 46040000 */ add.s $f0, $f0, $f4
/* 1032D4 802E1A54 E6000004 */ swc1 $f0, 4($s0)
/* 1032D8 802E1A58 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1032DC 802E1A5C 46001080 */ add.s $f2, $f2, $f0
/* 1032E0 802E1A60 E6220054 */ swc1 $f2, 0x54($s1)
/* 1032E4 802E1A64 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1032E8 802E1A68 46060000 */ add.s $f0, $f0, $f6
/* 1032EC 802E1A6C 4600103E */ c.le.s $f2, $f0
/* 1032F0 802E1A70 00000000 */ nop
/* 1032F4 802E1A74 45000029 */ bc1f .L802E1B1C
/* 1032F8 802E1A78 00000000 */ nop
/* 1032FC 802E1A7C 080B86C1 */ j .L802E1B04
/* 103300 802E1A80 00000000 */ nop
/* 103304 802E1A84 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103308 802E1A88 C6220054 */ lwc1 $f2, 0x54($s1)
/* 10330C 802E1A8C 46020001 */ sub.s $f0, $f0, $f2
/* 103310 802E1A90 3C013FD0 */ lui $at, 0x3fd0
/* 103314 802E1A94 44811800 */ mtc1 $at, $f3
/* 103318 802E1A98 44801000 */ mtc1 $zero, $f2
/* 10331C 802E1A9C 46000021 */ cvt.d.s $f0, $f0
/* 103320 802E1AA0 46220002 */ mul.d $f0, $f0, $f2
/* 103324 802E1AA4 00000000 */ nop
/* 103328 802E1AA8 3C01802F */ lui $at, 0x802f
/* 10332C 802E1AAC D422B068 */ ldc1 $f2, -0x4f98($at)
/* 103330 802E1AB0 46200120 */ cvt.s.d $f4, $f0
/* 103334 802E1AB4 46002021 */ cvt.d.s $f0, $f4
/* 103338 802E1AB8 4622003C */ c.lt.d $f0, $f2
/* 10333C 802E1ABC 00000000 */ nop
/* 103340 802E1AC0 45000004 */ bc1f .L802E1AD4
/* 103344 802E1AC4 00000000 */ nop
/* 103348 802E1AC8 3C013C23 */ lui $at, 0x3c23
/* 10334C 802E1ACC 3421D70A */ ori $at, $at, 0xd70a
/* 103350 802E1AD0 44812000 */ mtc1 $at, $f4
.L802E1AD4:
/* 103354 802E1AD4 C6000004 */ lwc1 $f0, 4($s0)
/* 103358 802E1AD8 46040000 */ add.s $f0, $f0, $f4
/* 10335C 802E1ADC E6000004 */ swc1 $f0, 4($s0)
/* 103360 802E1AE0 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103364 802E1AE4 46001080 */ add.s $f2, $f2, $f0
/* 103368 802E1AE8 E6220054 */ swc1 $f2, 0x54($s1)
/* 10336C 802E1AEC C6000014 */ lwc1 $f0, 0x14($s0)
/* 103370 802E1AF0 4602003E */ c.le.s $f0, $f2
/* 103374 802E1AF4 00000000 */ nop
/* 103378 802E1AF8 45000008 */ bc1f .L802E1B1C
/* 10337C 802E1AFC 00000000 */ nop
/* 103380 802E1B00 E6200054 */ swc1 $f0, 0x54($s1)
.L802E1B04:
/* 103384 802E1B04 92020010 */ lbu $v0, 0x10($s0)
/* 103388 802E1B08 AE000004 */ sw $zero, 4($s0)
/* 10338C 802E1B0C 24420001 */ addiu $v0, $v0, 1
/* 103390 802E1B10 080B86C7 */ j .L802E1B1C
/* 103394 802E1B14 A2020010 */ sb $v0, 0x10($s0)
/* 103398 802E1B18 26520001 */ addiu $s2, $s2, 1
.L802E1B1C:
/* 10339C 802E1B1C C6200054 */ lwc1 $f0, 0x54($s1)
/* 1033A0 802E1B20 E620005C */ swc1 $f0, 0x5c($s1)
/* 1033A4 802E1B24 82030011 */ lb $v1, 0x11($s0)
/* 1033A8 802E1B28 2C620006 */ sltiu $v0, $v1, 6
/* 1033AC 802E1B2C 104000D0 */ beqz $v0, .L802E1E70
/* 1033B0 802E1B30 00031080 */ sll $v0, $v1, 2
/* 1033B4 802E1B34 3C01802F */ lui $at, 0x802f
/* 1033B8 802E1B38 00220821 */ addu $at, $at, $v0
/* 1033BC 802E1B3C 8C22B070 */ lw $v0, -0x4f90($at)
/* 1033C0 802E1B40 00400008 */ jr $v0
/* 1033C4 802E1B44 00000000 */ nop
/* 1033C8 802E1B48 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1033CC 802E1B4C 3C01BFE0 */ lui $at, 0xbfe0
/* 1033D0 802E1B50 44810800 */ mtc1 $at, $f1
/* 1033D4 802E1B54 44800000 */ mtc1 $zero, $f0
/* 1033D8 802E1B58 460010A1 */ cvt.d.s $f2, $f2
/* 1033DC 802E1B5C 46201082 */ mul.d $f2, $f2, $f0
/* 1033E0 802E1B60 00000000 */ nop
/* 1033E4 802E1B64 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1033E8 802E1B68 462011A0 */ cvt.s.d $f6, $f2
/* 1033EC 802E1B6C 46060000 */ add.s $f0, $f0, $f6
/* 1033F0 802E1B70 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1033F4 802E1B74 46020001 */ sub.s $f0, $f0, $f2
/* 1033F8 802E1B78 3C014014 */ lui $at, 0x4014
/* 1033FC 802E1B7C 44811800 */ mtc1 $at, $f3
/* 103400 802E1B80 44801000 */ mtc1 $zero, $f2
/* 103404 802E1B84 46000021 */ cvt.d.s $f0, $f0
/* 103408 802E1B88 46220003 */ div.d $f0, $f0, $f2
/* 10340C 802E1B8C 46200120 */ cvt.s.d $f4, $f0
/* 103410 802E1B90 3C01802F */ lui $at, 0x802f
/* 103414 802E1B94 D422B088 */ ldc1 $f2, -0x4f78($at)
/* 103418 802E1B98 46002021 */ cvt.d.s $f0, $f4
/* 10341C 802E1B9C 4620103C */ c.lt.d $f2, $f0
/* 103420 802E1BA0 00000000 */ nop
/* 103424 802E1BA4 45000004 */ bc1f .L802E1BB8
/* 103428 802E1BA8 00000000 */ nop
/* 10342C 802E1BAC 3C01BC23 */ lui $at, 0xbc23
/* 103430 802E1BB0 3421D70A */ ori $at, $at, 0xd70a
/* 103434 802E1BB4 44812000 */ mtc1 $at, $f4
.L802E1BB8:
/* 103438 802E1BB8 C6000008 */ lwc1 $f0, 8($s0)
/* 10343C 802E1BBC 46040000 */ add.s $f0, $f0, $f4
/* 103440 802E1BC0 E6000008 */ swc1 $f0, 8($s0)
/* 103444 802E1BC4 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103448 802E1BC8 46001080 */ add.s $f2, $f2, $f0
/* 10344C 802E1BCC E6220058 */ swc1 $f2, 0x58($s1)
/* 103450 802E1BD0 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103454 802E1BD4 46060000 */ add.s $f0, $f0, $f6
/* 103458 802E1BD8 4600103E */ c.le.s $f2, $f0
/* 10345C 802E1BDC 00000000 */ nop
/* 103460 802E1BE0 450000A3 */ bc1f .L802E1E70
/* 103464 802E1BE4 00000000 */ nop
/* 103468 802E1BE8 080B8796 */ j .L802E1E58
/* 10346C 802E1BEC 00000000 */ nop
/* 103470 802E1BF0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103474 802E1BF4 3C01802F */ lui $at, 0x802f
/* 103478 802E1BF8 D420B090 */ ldc1 $f0, -0x4f70($at)
/* 10347C 802E1BFC 460010A1 */ cvt.d.s $f2, $f2
/* 103480 802E1C00 46201082 */ mul.d $f2, $f2, $f0
/* 103484 802E1C04 00000000 */ nop
/* 103488 802E1C08 C6000018 */ lwc1 $f0, 0x18($s0)
/* 10348C 802E1C0C 462011A0 */ cvt.s.d $f6, $f2
/* 103490 802E1C10 46060000 */ add.s $f0, $f0, $f6
/* 103494 802E1C14 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103498 802E1C18 46020001 */ sub.s $f0, $f0, $f2
/* 10349C 802E1C1C 3C014024 */ lui $at, 0x4024
/* 1034A0 802E1C20 44811800 */ mtc1 $at, $f3
/* 1034A4 802E1C24 44801000 */ mtc1 $zero, $f2
/* 1034A8 802E1C28 46000021 */ cvt.d.s $f0, $f0
/* 1034AC 802E1C2C 46220003 */ div.d $f0, $f0, $f2
/* 1034B0 802E1C30 46200120 */ cvt.s.d $f4, $f0
/* 1034B4 802E1C34 3C01802F */ lui $at, 0x802f
/* 1034B8 802E1C38 D422B098 */ ldc1 $f2, -0x4f68($at)
/* 1034BC 802E1C3C 46002021 */ cvt.d.s $f0, $f4
/* 1034C0 802E1C40 4622003C */ c.lt.d $f0, $f2
/* 1034C4 802E1C44 00000000 */ nop
/* 1034C8 802E1C48 45000004 */ bc1f .L802E1C5C
/* 1034CC 802E1C4C 00000000 */ nop
/* 1034D0 802E1C50 3C013C23 */ lui $at, 0x3c23
/* 1034D4 802E1C54 3421D70A */ ori $at, $at, 0xd70a
/* 1034D8 802E1C58 44812000 */ mtc1 $at, $f4
.L802E1C5C:
/* 1034DC 802E1C5C C6000008 */ lwc1 $f0, 8($s0)
/* 1034E0 802E1C60 46040000 */ add.s $f0, $f0, $f4
/* 1034E4 802E1C64 E6000008 */ swc1 $f0, 8($s0)
/* 1034E8 802E1C68 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1034EC 802E1C6C 46001080 */ add.s $f2, $f2, $f0
/* 1034F0 802E1C70 E6220058 */ swc1 $f2, 0x58($s1)
/* 1034F4 802E1C74 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1034F8 802E1C78 46060000 */ add.s $f0, $f0, $f6
/* 1034FC 802E1C7C 4602003E */ c.le.s $f0, $f2
/* 103500 802E1C80 00000000 */ nop
/* 103504 802E1C84 4500007A */ bc1f .L802E1E70
/* 103508 802E1C88 00000000 */ nop
/* 10350C 802E1C8C 080B8796 */ j .L802E1E58
/* 103510 802E1C90 00000000 */ nop
/* 103514 802E1C94 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103518 802E1C98 3C01802F */ lui $at, 0x802f
/* 10351C 802E1C9C D420B0A0 */ ldc1 $f0, -0x4f60($at)
/* 103520 802E1CA0 460010A1 */ cvt.d.s $f2, $f2
/* 103524 802E1CA4 46201082 */ mul.d $f2, $f2, $f0
/* 103528 802E1CA8 00000000 */ nop
/* 10352C 802E1CAC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103530 802E1CB0 462011A0 */ cvt.s.d $f6, $f2
/* 103534 802E1CB4 46060000 */ add.s $f0, $f0, $f6
/* 103538 802E1CB8 C6220058 */ lwc1 $f2, 0x58($s1)
/* 10353C 802E1CBC 46020001 */ sub.s $f0, $f0, $f2
/* 103540 802E1CC0 3C014014 */ lui $at, 0x4014
/* 103544 802E1CC4 44811800 */ mtc1 $at, $f3
/* 103548 802E1CC8 44801000 */ mtc1 $zero, $f2
/* 10354C 802E1CCC 46000021 */ cvt.d.s $f0, $f0
/* 103550 802E1CD0 46220003 */ div.d $f0, $f0, $f2
/* 103554 802E1CD4 46200120 */ cvt.s.d $f4, $f0
/* 103558 802E1CD8 3C01802F */ lui $at, 0x802f
/* 10355C 802E1CDC D422B0A8 */ ldc1 $f2, -0x4f58($at)
/* 103560 802E1CE0 46002021 */ cvt.d.s $f0, $f4
/* 103564 802E1CE4 4620103C */ c.lt.d $f2, $f0
/* 103568 802E1CE8 00000000 */ nop
/* 10356C 802E1CEC 45000004 */ bc1f .L802E1D00
/* 103570 802E1CF0 00000000 */ nop
/* 103574 802E1CF4 3C01BC23 */ lui $at, 0xbc23
/* 103578 802E1CF8 3421D70A */ ori $at, $at, 0xd70a
/* 10357C 802E1CFC 44812000 */ mtc1 $at, $f4
.L802E1D00:
/* 103580 802E1D00 C6000008 */ lwc1 $f0, 8($s0)
/* 103584 802E1D04 46040000 */ add.s $f0, $f0, $f4
/* 103588 802E1D08 E6000008 */ swc1 $f0, 8($s0)
/* 10358C 802E1D0C C6220058 */ lwc1 $f2, 0x58($s1)
/* 103590 802E1D10 46001080 */ add.s $f2, $f2, $f0
/* 103594 802E1D14 E6220058 */ swc1 $f2, 0x58($s1)
/* 103598 802E1D18 C6000018 */ lwc1 $f0, 0x18($s0)
/* 10359C 802E1D1C 46060000 */ add.s $f0, $f0, $f6
/* 1035A0 802E1D20 4600103E */ c.le.s $f2, $f0
/* 1035A4 802E1D24 00000000 */ nop
/* 1035A8 802E1D28 45000051 */ bc1f .L802E1E70
/* 1035AC 802E1D2C 00000000 */ nop
/* 1035B0 802E1D30 080B8796 */ j .L802E1E58
/* 1035B4 802E1D34 00000000 */ nop
/* 1035B8 802E1D38 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1035BC 802E1D3C 44800000 */ mtc1 $zero, $f0
/* 1035C0 802E1D40 44800800 */ mtc1 $zero, $f1
/* 1035C4 802E1D44 460010A1 */ cvt.d.s $f2, $f2
/* 1035C8 802E1D48 46201082 */ mul.d $f2, $f2, $f0
/* 1035CC 802E1D4C 00000000 */ nop
/* 1035D0 802E1D50 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1035D4 802E1D54 462011A0 */ cvt.s.d $f6, $f2
/* 1035D8 802E1D58 46060000 */ add.s $f0, $f0, $f6
/* 1035DC 802E1D5C C6220058 */ lwc1 $f2, 0x58($s1)
/* 1035E0 802E1D60 46020001 */ sub.s $f0, $f0, $f2
/* 1035E4 802E1D64 3C014024 */ lui $at, 0x4024
/* 1035E8 802E1D68 44811800 */ mtc1 $at, $f3
/* 1035EC 802E1D6C 44801000 */ mtc1 $zero, $f2
/* 1035F0 802E1D70 46000021 */ cvt.d.s $f0, $f0
/* 1035F4 802E1D74 46220003 */ div.d $f0, $f0, $f2
/* 1035F8 802E1D78 46200120 */ cvt.s.d $f4, $f0
/* 1035FC 802E1D7C 3C01802F */ lui $at, 0x802f
/* 103600 802E1D80 D422B0B0 */ ldc1 $f2, -0x4f50($at)
/* 103604 802E1D84 46002021 */ cvt.d.s $f0, $f4
/* 103608 802E1D88 4622003C */ c.lt.d $f0, $f2
/* 10360C 802E1D8C 00000000 */ nop
/* 103610 802E1D90 45000004 */ bc1f .L802E1DA4
/* 103614 802E1D94 00000000 */ nop
/* 103618 802E1D98 3C013C23 */ lui $at, 0x3c23
/* 10361C 802E1D9C 3421D70A */ ori $at, $at, 0xd70a
/* 103620 802E1DA0 44812000 */ mtc1 $at, $f4
.L802E1DA4:
/* 103624 802E1DA4 C6000008 */ lwc1 $f0, 8($s0)
/* 103628 802E1DA8 46040000 */ add.s $f0, $f0, $f4
/* 10362C 802E1DAC E6000008 */ swc1 $f0, 8($s0)
/* 103630 802E1DB0 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103634 802E1DB4 46001080 */ add.s $f2, $f2, $f0
/* 103638 802E1DB8 E6220058 */ swc1 $f2, 0x58($s1)
/* 10363C 802E1DBC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103640 802E1DC0 46060000 */ add.s $f0, $f0, $f6
/* 103644 802E1DC4 4602003E */ c.le.s $f0, $f2
/* 103648 802E1DC8 00000000 */ nop
/* 10364C 802E1DCC 45000028 */ bc1f .L802E1E70
/* 103650 802E1DD0 00000000 */ nop
/* 103654 802E1DD4 080B8796 */ j .L802E1E58
/* 103658 802E1DD8 00000000 */ nop
/* 10365C 802E1DDC C6000018 */ lwc1 $f0, 0x18($s0)
/* 103660 802E1DE0 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103664 802E1DE4 46020001 */ sub.s $f0, $f0, $f2
/* 103668 802E1DE8 3C014014 */ lui $at, 0x4014
/* 10366C 802E1DEC 44811800 */ mtc1 $at, $f3
/* 103670 802E1DF0 44801000 */ mtc1 $zero, $f2
/* 103674 802E1DF4 46000021 */ cvt.d.s $f0, $f0
/* 103678 802E1DF8 46220003 */ div.d $f0, $f0, $f2
/* 10367C 802E1DFC 46200120 */ cvt.s.d $f4, $f0
/* 103680 802E1E00 3C01802F */ lui $at, 0x802f
/* 103684 802E1E04 D422B0B8 */ ldc1 $f2, -0x4f48($at)
/* 103688 802E1E08 46002021 */ cvt.d.s $f0, $f4
/* 10368C 802E1E0C 4620103C */ c.lt.d $f2, $f0
/* 103690 802E1E10 00000000 */ nop
/* 103694 802E1E14 45000004 */ bc1f .L802E1E28
/* 103698 802E1E18 00000000 */ nop
/* 10369C 802E1E1C 3C01BC23 */ lui $at, 0xbc23
/* 1036A0 802E1E20 3421D70A */ ori $at, $at, 0xd70a
/* 1036A4 802E1E24 44812000 */ mtc1 $at, $f4
.L802E1E28:
/* 1036A8 802E1E28 C6000008 */ lwc1 $f0, 8($s0)
/* 1036AC 802E1E2C 46040000 */ add.s $f0, $f0, $f4
/* 1036B0 802E1E30 E6000008 */ swc1 $f0, 8($s0)
/* 1036B4 802E1E34 C6220058 */ lwc1 $f2, 0x58($s1)
/* 1036B8 802E1E38 46001080 */ add.s $f2, $f2, $f0
/* 1036BC 802E1E3C E6220058 */ swc1 $f2, 0x58($s1)
/* 1036C0 802E1E40 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1036C4 802E1E44 4600103E */ c.le.s $f2, $f0
/* 1036C8 802E1E48 00000000 */ nop
/* 1036CC 802E1E4C 45000008 */ bc1f .L802E1E70
/* 1036D0 802E1E50 00000000 */ nop
/* 1036D4 802E1E54 E6200058 */ swc1 $f0, 0x58($s1)
.L802E1E58:
/* 1036D8 802E1E58 92020011 */ lbu $v0, 0x11($s0)
/* 1036DC 802E1E5C AE000008 */ sw $zero, 8($s0)
/* 1036E0 802E1E60 24420001 */ addiu $v0, $v0, 1
/* 1036E4 802E1E64 080B879C */ j .L802E1E70
/* 1036E8 802E1E68 A2020011 */ sb $v0, 0x11($s0)
/* 1036EC 802E1E6C 26520001 */ addiu $s2, $s2, 1
.L802E1E70:
/* 1036F0 802E1E70 0C0B854F */ jal func_802E153C
/* 1036F4 802E1E74 0220202D */ daddu $a0, $s1, $zero
/* 1036F8 802E1E78 24020002 */ addiu $v0, $zero, 2
/* 1036FC 802E1E7C 16420004 */ bne $s2, $v0, .L802E1E90
/* 103700 802E1E80 0220202D */ daddu $a0, $s1, $zero
/* 103704 802E1E84 A2000010 */ sb $zero, 0x10($s0)
/* 103708 802E1E88 0C043F5A */ jal func_8010FD68
/* 10370C 802E1E8C A2000011 */ sb $zero, 0x11($s0)
.L802E1E90:
/* 103710 802E1E90 8FBF001C */ lw $ra, 0x1c($sp)
/* 103714 802E1E94 8FB20018 */ lw $s2, 0x18($sp)
/* 103718 802E1E98 8FB10014 */ lw $s1, 0x14($sp)
/* 10371C 802E1E9C 8FB00010 */ lw $s0, 0x10($sp)
/* 103720 802E1EA0 03E00008 */ jr $ra
/* 103724 802E1EA4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,17 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1EA8
/* 103728 802E1EA8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10372C 802E1EAC AFB00010 */ sw $s0, 0x10($sp)
/* 103730 802E1EB0 0080802D */ daddu $s0, $a0, $zero
/* 103734 802E1EB4 AFBF0014 */ sw $ra, 0x14($sp)
/* 103738 802E1EB8 8E020040 */ lw $v0, 0x40($s0)
/* 10373C 802E1EBC 0C051568 */ jal set_area_flag
/* 103740 802E1EC0 94440020 */ lhu $a0, 0x20($v0)
/* 103744 802E1EC4 0C04419E */ jal func_80110678
/* 103748 802E1EC8 0200202D */ daddu $a0, $s0, $zero
/* 10374C 802E1ECC 8FBF0014 */ lw $ra, 0x14($sp)
/* 103750 802E1ED0 8FB00010 */ lw $s0, 0x10($sp)
/* 103754 802E1ED4 03E00008 */ jr $ra
/* 103758 802E1ED8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,305 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E1EDC
/* 10375C 802E1EDC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 103760 802E1EE0 AFB1001C */ sw $s1, 0x1c($sp)
/* 103764 802E1EE4 0080882D */ daddu $s1, $a0, $zero
/* 103768 802E1EE8 AFBF0024 */ sw $ra, 0x24($sp)
/* 10376C 802E1EEC AFB20020 */ sw $s2, 0x20($sp)
/* 103770 802E1EF0 AFB00018 */ sw $s0, 0x18($sp)
/* 103774 802E1EF4 8E300040 */ lw $s0, 0x40($s1)
/* 103778 802E1EF8 82030010 */ lb $v1, 0x10($s0)
/* 10377C 802E1EFC 2C620005 */ sltiu $v0, $v1, 5
/* 103780 802E1F00 10400087 */ beqz $v0, .L802E2120
/* 103784 802E1F04 0000902D */ daddu $s2, $zero, $zero
/* 103788 802E1F08 00031080 */ sll $v0, $v1, 2
/* 10378C 802E1F0C 3C01802F */ lui $at, 0x802f
/* 103790 802E1F10 00220821 */ addu $at, $at, $v0
/* 103794 802E1F14 8C22B0C0 */ lw $v0, -0x4f40($at)
/* 103798 802E1F18 00400008 */ jr $v0
/* 10379C 802E1F1C 00000000 */ nop
/* 1037A0 802E1F20 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1037A4 802E1F24 3C01802F */ lui $at, 0x802f
/* 1037A8 802E1F28 D420B0D8 */ ldc1 $f0, -0x4f28($at)
/* 1037AC 802E1F2C 460010A1 */ cvt.d.s $f2, $f2
/* 1037B0 802E1F30 46201082 */ mul.d $f2, $f2, $f0
/* 1037B4 802E1F34 00000000 */ nop
/* 1037B8 802E1F38 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1037BC 802E1F3C 462011A0 */ cvt.s.d $f6, $f2
/* 1037C0 802E1F40 46060000 */ add.s $f0, $f0, $f6
/* 1037C4 802E1F44 C6220054 */ lwc1 $f2, 0x54($s1)
/* 1037C8 802E1F48 46020001 */ sub.s $f0, $f0, $f2
/* 1037CC 802E1F4C 3C013FD0 */ lui $at, 0x3fd0
/* 1037D0 802E1F50 44811800 */ mtc1 $at, $f3
/* 1037D4 802E1F54 44801000 */ mtc1 $zero, $f2
/* 1037D8 802E1F58 46000021 */ cvt.d.s $f0, $f0
/* 1037DC 802E1F5C 46220002 */ mul.d $f0, $f0, $f2
/* 1037E0 802E1F60 00000000 */ nop
/* 1037E4 802E1F64 3C01802F */ lui $at, 0x802f
/* 1037E8 802E1F68 D422B0E0 */ ldc1 $f2, -0x4f20($at)
/* 1037EC 802E1F6C 46200120 */ cvt.s.d $f4, $f0
/* 1037F0 802E1F70 46002021 */ cvt.d.s $f0, $f4
/* 1037F4 802E1F74 4622003C */ c.lt.d $f0, $f2
/* 1037F8 802E1F78 00000000 */ nop
/* 1037FC 802E1F7C 45000004 */ bc1f .L802E1F90
/* 103800 802E1F80 00000000 */ nop
/* 103804 802E1F84 3C013C23 */ lui $at, 0x3c23
/* 103808 802E1F88 3421D70A */ ori $at, $at, 0xd70a
/* 10380C 802E1F8C 44812000 */ mtc1 $at, $f4
.L802E1F90:
/* 103810 802E1F90 C6000004 */ lwc1 $f0, 4($s0)
/* 103814 802E1F94 46040000 */ add.s $f0, $f0, $f4
/* 103818 802E1F98 E6000004 */ swc1 $f0, 4($s0)
/* 10381C 802E1F9C C6220054 */ lwc1 $f2, 0x54($s1)
/* 103820 802E1FA0 46001080 */ add.s $f2, $f2, $f0
/* 103824 802E1FA4 E6220054 */ swc1 $f2, 0x54($s1)
/* 103828 802E1FA8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10382C 802E1FAC 46060000 */ add.s $f0, $f0, $f6
/* 103830 802E1FB0 4602003E */ c.le.s $f0, $f2
/* 103834 802E1FB4 080B8840 */ j .L802E2100
/* 103838 802E1FB8 00000000 */ nop
/* 10383C 802E1FBC C602001C */ lwc1 $f2, 0x1c($s0)
/* 103840 802E1FC0 3C01802F */ lui $at, 0x802f
/* 103844 802E1FC4 D420B0E8 */ ldc1 $f0, -0x4f18($at)
/* 103848 802E1FC8 080B881F */ j .L802E207C
/* 10384C 802E1FCC 460010A1 */ cvt.d.s $f2, $f2
/* 103850 802E1FD0 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103854 802E1FD4 3C01802F */ lui $at, 0x802f
/* 103858 802E1FD8 D420B0F0 */ ldc1 $f0, -0x4f10($at)
/* 10385C 802E1FDC 460010A1 */ cvt.d.s $f2, $f2
/* 103860 802E1FE0 46201082 */ mul.d $f2, $f2, $f0
/* 103864 802E1FE4 00000000 */ nop
/* 103868 802E1FE8 C6000014 */ lwc1 $f0, 0x14($s0)
/* 10386C 802E1FEC 462011A0 */ cvt.s.d $f6, $f2
/* 103870 802E1FF0 46060000 */ add.s $f0, $f0, $f6
/* 103874 802E1FF4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103878 802E1FF8 46020001 */ sub.s $f0, $f0, $f2
/* 10387C 802E1FFC 3C013FD0 */ lui $at, 0x3fd0
/* 103880 802E2000 44811800 */ mtc1 $at, $f3
/* 103884 802E2004 44801000 */ mtc1 $zero, $f2
/* 103888 802E2008 46000021 */ cvt.d.s $f0, $f0
/* 10388C 802E200C 46220002 */ mul.d $f0, $f0, $f2
/* 103890 802E2010 00000000 */ nop
/* 103894 802E2014 3C01802F */ lui $at, 0x802f
/* 103898 802E2018 D422B0F8 */ ldc1 $f2, -0x4f08($at)
/* 10389C 802E201C 46200120 */ cvt.s.d $f4, $f0
/* 1038A0 802E2020 46002021 */ cvt.d.s $f0, $f4
/* 1038A4 802E2024 4622003C */ c.lt.d $f0, $f2
/* 1038A8 802E2028 00000000 */ nop
/* 1038AC 802E202C 45000004 */ bc1f .L802E2040
/* 1038B0 802E2030 00000000 */ nop
/* 1038B4 802E2034 3C013C23 */ lui $at, 0x3c23
/* 1038B8 802E2038 3421D70A */ ori $at, $at, 0xd70a
/* 1038BC 802E203C 44812000 */ mtc1 $at, $f4
.L802E2040:
/* 1038C0 802E2040 C6000004 */ lwc1 $f0, 4($s0)
/* 1038C4 802E2044 46040000 */ add.s $f0, $f0, $f4
/* 1038C8 802E2048 E6000004 */ swc1 $f0, 4($s0)
/* 1038CC 802E204C C6220054 */ lwc1 $f2, 0x54($s1)
/* 1038D0 802E2050 46001080 */ add.s $f2, $f2, $f0
/* 1038D4 802E2054 E6220054 */ swc1 $f2, 0x54($s1)
/* 1038D8 802E2058 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1038DC 802E205C 46060000 */ add.s $f0, $f0, $f6
/* 1038E0 802E2060 4602003E */ c.le.s $f0, $f2
/* 1038E4 802E2064 080B8840 */ j .L802E2100
/* 1038E8 802E2068 00000000 */ nop
/* 1038EC 802E206C C602001C */ lwc1 $f2, 0x1c($s0)
/* 1038F0 802E2070 3C01802F */ lui $at, 0x802f
/* 1038F4 802E2074 D420B100 */ ldc1 $f0, -0x4f00($at)
/* 1038F8 802E2078 460010A1 */ cvt.d.s $f2, $f2
.L802E207C:
/* 1038FC 802E207C 46201082 */ mul.d $f2, $f2, $f0
/* 103900 802E2080 00000000 */ nop
/* 103904 802E2084 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103908 802E2088 462011A0 */ cvt.s.d $f6, $f2
/* 10390C 802E208C 46060000 */ add.s $f0, $f0, $f6
/* 103910 802E2090 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103914 802E2094 46020001 */ sub.s $f0, $f0, $f2
/* 103918 802E2098 3C014018 */ lui $at, 0x4018
/* 10391C 802E209C 44811800 */ mtc1 $at, $f3
/* 103920 802E20A0 44801000 */ mtc1 $zero, $f2
/* 103924 802E20A4 46000021 */ cvt.d.s $f0, $f0
/* 103928 802E20A8 46220003 */ div.d $f0, $f0, $f2
/* 10392C 802E20AC 46200120 */ cvt.s.d $f4, $f0
/* 103930 802E20B0 3C01802F */ lui $at, 0x802f
/* 103934 802E20B4 D422B108 */ ldc1 $f2, -0x4ef8($at)
/* 103938 802E20B8 46002021 */ cvt.d.s $f0, $f4
/* 10393C 802E20BC 4620103C */ c.lt.d $f2, $f0
/* 103940 802E20C0 00000000 */ nop
/* 103944 802E20C4 45000004 */ bc1f .L802E20D8
/* 103948 802E20C8 00000000 */ nop
/* 10394C 802E20CC 3C01BC23 */ lui $at, 0xbc23
/* 103950 802E20D0 3421D70A */ ori $at, $at, 0xd70a
/* 103954 802E20D4 44812000 */ mtc1 $at, $f4
.L802E20D8:
/* 103958 802E20D8 C6000004 */ lwc1 $f0, 4($s0)
/* 10395C 802E20DC 46040000 */ add.s $f0, $f0, $f4
/* 103960 802E20E0 E6000004 */ swc1 $f0, 4($s0)
/* 103964 802E20E4 C6220054 */ lwc1 $f2, 0x54($s1)
/* 103968 802E20E8 46001080 */ add.s $f2, $f2, $f0
/* 10396C 802E20EC E6220054 */ swc1 $f2, 0x54($s1)
/* 103970 802E20F0 C6000014 */ lwc1 $f0, 0x14($s0)
/* 103974 802E20F4 46060000 */ add.s $f0, $f0, $f6
/* 103978 802E20F8 4600103E */ c.le.s $f2, $f0
/* 10397C 802E20FC 00000000 */ nop
.L802E2100:
/* 103980 802E2100 45000007 */ bc1f .L802E2120
/* 103984 802E2104 00000000 */ nop
/* 103988 802E2108 92020010 */ lbu $v0, 0x10($s0)
/* 10398C 802E210C AE000004 */ sw $zero, 4($s0)
/* 103990 802E2110 24420001 */ addiu $v0, $v0, 1
/* 103994 802E2114 080B8848 */ j .L802E2120
/* 103998 802E2118 A2020010 */ sb $v0, 0x10($s0)
/* 10399C 802E211C 26520001 */ addiu $s2, $s2, 1
.L802E2120:
/* 1039A0 802E2120 C6200054 */ lwc1 $f0, 0x54($s1)
/* 1039A4 802E2124 E620005C */ swc1 $f0, 0x5c($s1)
/* 1039A8 802E2128 82030011 */ lb $v1, 0x11($s0)
/* 1039AC 802E212C 24020001 */ addiu $v0, $zero, 1
/* 1039B0 802E2130 10620013 */ beq $v1, $v0, .L802E2180
/* 1039B4 802E2134 28620002 */ slti $v0, $v1, 2
/* 1039B8 802E2138 10400005 */ beqz $v0, .L802E2150
/* 1039BC 802E213C 24020002 */ addiu $v0, $zero, 2
/* 1039C0 802E2140 10600009 */ beqz $v1, .L802E2168
/* 1039C4 802E2144 00000000 */ nop
/* 1039C8 802E2148 080B88B1 */ j .L802E22C4
/* 1039CC 802E214C 00000000 */ nop
.L802E2150:
/* 1039D0 802E2150 10620031 */ beq $v1, $v0, .L802E2218
/* 1039D4 802E2154 24020003 */ addiu $v0, $zero, 3
/* 1039D8 802E2158 5062005A */ beql $v1, $v0, .L802E22C4
/* 1039DC 802E215C 26520001 */ addiu $s2, $s2, 1
/* 1039E0 802E2160 080B88B1 */ j .L802E22C4
/* 1039E4 802E2164 00000000 */ nop
.L802E2168:
/* 1039E8 802E2168 C602001C */ lwc1 $f2, 0x1c($s0)
/* 1039EC 802E216C 3C01BFE0 */ lui $at, 0xbfe0
/* 1039F0 802E2170 44810800 */ mtc1 $at, $f1
/* 1039F4 802E2174 44800000 */ mtc1 $zero, $f0
/* 1039F8 802E2178 080B888A */ j .L802E2228
/* 1039FC 802E217C 460010A1 */ cvt.d.s $f2, $f2
.L802E2180:
/* 103A00 802E2180 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103A04 802E2184 3C01802F */ lui $at, 0x802f
/* 103A08 802E2188 D420B110 */ ldc1 $f0, -0x4ef0($at)
/* 103A0C 802E218C 460010A1 */ cvt.d.s $f2, $f2
/* 103A10 802E2190 46201082 */ mul.d $f2, $f2, $f0
/* 103A14 802E2194 00000000 */ nop
/* 103A18 802E2198 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103A1C 802E219C 462011A0 */ cvt.s.d $f6, $f2
/* 103A20 802E21A0 46060000 */ add.s $f0, $f0, $f6
/* 103A24 802E21A4 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103A28 802E21A8 46020001 */ sub.s $f0, $f0, $f2
/* 103A2C 802E21AC 3C014024 */ lui $at, 0x4024
/* 103A30 802E21B0 44811800 */ mtc1 $at, $f3
/* 103A34 802E21B4 44801000 */ mtc1 $zero, $f2
/* 103A38 802E21B8 46000021 */ cvt.d.s $f0, $f0
/* 103A3C 802E21BC 46220003 */ div.d $f0, $f0, $f2
/* 103A40 802E21C0 46200120 */ cvt.s.d $f4, $f0
/* 103A44 802E21C4 3C01802F */ lui $at, 0x802f
/* 103A48 802E21C8 D422B118 */ ldc1 $f2, -0x4ee8($at)
/* 103A4C 802E21CC 46002021 */ cvt.d.s $f0, $f4
/* 103A50 802E21D0 4622003C */ c.lt.d $f0, $f2
/* 103A54 802E21D4 00000000 */ nop
/* 103A58 802E21D8 45000004 */ bc1f .L802E21EC
/* 103A5C 802E21DC 00000000 */ nop
/* 103A60 802E21E0 3C013C23 */ lui $at, 0x3c23
/* 103A64 802E21E4 3421D70A */ ori $at, $at, 0xd70a
/* 103A68 802E21E8 44812000 */ mtc1 $at, $f4
.L802E21EC:
/* 103A6C 802E21EC C6000008 */ lwc1 $f0, 8($s0)
/* 103A70 802E21F0 46040000 */ add.s $f0, $f0, $f4
/* 103A74 802E21F4 E6000008 */ swc1 $f0, 8($s0)
/* 103A78 802E21F8 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103A7C 802E21FC 46001080 */ add.s $f2, $f2, $f0
/* 103A80 802E2200 E6220058 */ swc1 $f2, 0x58($s1)
/* 103A84 802E2204 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103A88 802E2208 46060000 */ add.s $f0, $f0, $f6
/* 103A8C 802E220C 4602003E */ c.le.s $f0, $f2
/* 103A90 802E2210 080B88AB */ j .L802E22AC
/* 103A94 802E2214 00000000 */ nop
.L802E2218:
/* 103A98 802E2218 C602001C */ lwc1 $f2, 0x1c($s0)
/* 103A9C 802E221C 3C01802F */ lui $at, 0x802f
/* 103AA0 802E2220 D420B120 */ ldc1 $f0, -0x4ee0($at)
/* 103AA4 802E2224 460010A1 */ cvt.d.s $f2, $f2
.L802E2228:
/* 103AA8 802E2228 46201082 */ mul.d $f2, $f2, $f0
/* 103AAC 802E222C 00000000 */ nop
/* 103AB0 802E2230 C6000018 */ lwc1 $f0, 0x18($s0)
/* 103AB4 802E2234 462011A0 */ cvt.s.d $f6, $f2
/* 103AB8 802E2238 46060000 */ add.s $f0, $f0, $f6
/* 103ABC 802E223C C6220058 */ lwc1 $f2, 0x58($s1)
/* 103AC0 802E2240 46020001 */ sub.s $f0, $f0, $f2
/* 103AC4 802E2244 3C014014 */ lui $at, 0x4014
/* 103AC8 802E2248 44811800 */ mtc1 $at, $f3
/* 103ACC 802E224C 44801000 */ mtc1 $zero, $f2
/* 103AD0 802E2250 46000021 */ cvt.d.s $f0, $f0
/* 103AD4 802E2254 46220003 */ div.d $f0, $f0, $f2
/* 103AD8 802E2258 46200120 */ cvt.s.d $f4, $f0
/* 103ADC 802E225C 3C01802F */ lui $at, 0x802f
/* 103AE0 802E2260 D422B128 */ ldc1 $f2, -0x4ed8($at)
/* 103AE4 802E2264 46002021 */ cvt.d.s $f0, $f4
/* 103AE8 802E2268 4620103C */ c.lt.d $f2, $f0
/* 103AEC 802E226C 00000000 */ nop
/* 103AF0 802E2270 45000004 */ bc1f .L802E2284
/* 103AF4 802E2274 00000000 */ nop
/* 103AF8 802E2278 3C01BC23 */ lui $at, 0xbc23
/* 103AFC 802E227C 3421D70A */ ori $at, $at, 0xd70a
/* 103B00 802E2280 44812000 */ mtc1 $at, $f4
.L802E2284:
/* 103B04 802E2284 C6000008 */ lwc1 $f0, 8($s0)
/* 103B08 802E2288 46040000 */ add.s $f0, $f0, $f4
/* 103B0C 802E228C E6000008 */ swc1 $f0, 8($s0)
/* 103B10 802E2290 C6220058 */ lwc1 $f2, 0x58($s1)
/* 103B14 802E2294 46001080 */ add.s $f2, $f2, $f0
/* 103B18 802E2298 E6220058 */ swc1 $f2, 0x58($s1)
/* 103B1C 802E229C C6000018 */ lwc1 $f0, 0x18($s0)
/* 103B20 802E22A0 46060000 */ add.s $f0, $f0, $f6
/* 103B24 802E22A4 4600103E */ c.le.s $f2, $f0
/* 103B28 802E22A8 00000000 */ nop
.L802E22AC:
/* 103B2C 802E22AC 45000005 */ bc1f .L802E22C4
/* 103B30 802E22B0 00000000 */ nop
/* 103B34 802E22B4 92020011 */ lbu $v0, 0x11($s0)
/* 103B38 802E22B8 AE000008 */ sw $zero, 8($s0)
/* 103B3C 802E22BC 24420001 */ addiu $v0, $v0, 1
/* 103B40 802E22C0 A2020011 */ sb $v0, 0x11($s0)
.L802E22C4:
/* 103B44 802E22C4 0C0B854F */ jal func_802E153C
/* 103B48 802E22C8 0220202D */ daddu $a0, $s1, $zero
/* 103B4C 802E22CC 24020002 */ addiu $v0, $zero, 2
/* 103B50 802E22D0 16420004 */ bne $s2, $v0, .L802E22E4
/* 103B54 802E22D4 0220202D */ daddu $a0, $s1, $zero
/* 103B58 802E22D8 A2000010 */ sb $zero, 0x10($s0)
/* 103B5C 802E22DC 0C043F5A */ jal func_8010FD68
/* 103B60 802E22E0 A2000011 */ sb $zero, 0x11($s0)
.L802E22E4:
/* 103B64 802E22E4 96020024 */ lhu $v0, 0x24($s0)
/* 103B68 802E22E8 2403000A */ addiu $v1, $zero, 0xa
/* 103B6C 802E22EC 24420001 */ addiu $v0, $v0, 1
/* 103B70 802E22F0 A6020024 */ sh $v0, 0x24($s0)
/* 103B74 802E22F4 00021400 */ sll $v0, $v0, 0x10
/* 103B78 802E22F8 00021403 */ sra $v0, $v0, 0x10
/* 103B7C 802E22FC 1443000D */ bne $v0, $v1, .L802E2334
/* 103B80 802E2300 00000000 */ nop
/* 103B84 802E2304 8E020028 */ lw $v0, 0x28($s0)
/* 103B88 802E2308 1440000A */ bnez $v0, .L802E2334
/* 103B8C 802E230C 2402003C */ addiu $v0, $zero, 0x3c
/* 103B90 802E2310 3C013F80 */ lui $at, 0x3f80
/* 103B94 802E2314 44810000 */ mtc1 $at, $f0
/* 103B98 802E2318 AFA20014 */ sw $v0, 0x14($sp)
/* 103B9C 802E231C E7A00010 */ swc1 $f0, 0x10($sp)
/* 103BA0 802E2320 8E250048 */ lw $a1, 0x48($s1)
/* 103BA4 802E2324 8E26004C */ lw $a2, 0x4c($s1)
/* 103BA8 802E2328 8E270050 */ lw $a3, 0x50($s1)
/* 103BAC 802E232C 0C01C88C */ jal func_80072230
/* 103BB0 802E2330 0000202D */ daddu $a0, $zero, $zero
.L802E2334:
/* 103BB4 802E2334 8FBF0024 */ lw $ra, 0x24($sp)
/* 103BB8 802E2338 8FB20020 */ lw $s2, 0x20($sp)
/* 103BBC 802E233C 8FB1001C */ lw $s1, 0x1c($sp)
/* 103BC0 802E2340 8FB00018 */ lw $s0, 0x18($sp)
/* 103BC4 802E2344 03E00008 */ jr $ra
/* 103BC8 802E2348 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E234C glabel func_802E234C
/* 103BCC 802E234C 3C058011 */ lui $a1, 0x8011 /* 103BCC 802E234C 3C058011 */ lui $a1, 0x8011
/* 103BD0 802E2350 24A5EFC8 */ addiu $a1, $a1, -0x1038 /* 103BD0 802E2350 24A5EFC8 */ addiu $a1, $a1, -0x1038
@ -16,71 +15,3 @@ glabel func_802E234C
/* 103BF4 802E2374 E4600018 */ swc1 $f0, 0x18($v1) /* 103BF4 802E2374 E4600018 */ swc1 $f0, 0x18($v1)
/* 103BF8 802E2378 03E00008 */ jr $ra /* 103BF8 802E2378 03E00008 */ jr $ra
/* 103BFC 802E237C E460001C */ swc1 $f0, 0x1c($v1) /* 103BFC 802E237C E460001C */ swc1 $f0, 0x1c($v1)
/* 103C00 802E2380 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 103C04 802E2384 AFB00010 */ sw $s0, 0x10($sp)
/* 103C08 802E2388 0080802D */ daddu $s0, $a0, $zero
/* 103C0C 802E238C AFBF0018 */ sw $ra, 0x18($sp)
/* 103C10 802E2390 AFB10014 */ sw $s1, 0x14($sp)
/* 103C14 802E2394 0C0B88D3 */ jal func_802E234C
/* 103C18 802E2398 8E110040 */ lw $s1, 0x40($s0)
/* 103C1C 802E239C 3C038016 */ lui $v1, 0x8016
/* 103C20 802E23A0 8C63C7D0 */ lw $v1, -0x3830($v1)
/* 103C24 802E23A4 24020002 */ addiu $v0, $zero, 2
/* 103C28 802E23A8 14620005 */ bne $v1, $v0, .L802E23C0
/* 103C2C 802E23AC 24020001 */ addiu $v0, $zero, 1
/* 103C30 802E23B0 3C01802F */ lui $at, 0x802f
/* 103C34 802E23B4 AC30B3A0 */ sw $s0, -0x4c60($at)
/* 103C38 802E23B8 080B88FD */ j .L802E23F4
/* 103C3C 802E23BC 00000000 */ nop
.L802E23C0:
/* 103C40 802E23C0 1462000A */ bne $v1, $v0, .L802E23EC
/* 103C44 802E23C4 00000000 */ nop
/* 103C48 802E23C8 3C02802F */ lui $v0, 0x802f
/* 103C4C 802E23CC 8C42B3A0 */ lw $v0, -0x4c60($v0)
/* 103C50 802E23D0 10400008 */ beqz $v0, .L802E23F4
/* 103C54 802E23D4 00000000 */ nop
/* 103C58 802E23D8 AE220028 */ sw $v0, 0x28($s1)
/* 103C5C 802E23DC 8E020000 */ lw $v0, ($s0)
/* 103C60 802E23E0 34420001 */ ori $v0, $v0, 1
/* 103C64 802E23E4 080B88FD */ j .L802E23F4
/* 103C68 802E23E8 AE020000 */ sw $v0, ($s0)
.L802E23EC:
/* 103C6C 802E23EC 3C01802F */ lui $at, 0x802f
/* 103C70 802E23F0 AC20B3A0 */ sw $zero, -0x4c60($at)
.L802E23F4:
/* 103C74 802E23F4 8FBF0018 */ lw $ra, 0x18($sp)
/* 103C78 802E23F8 8FB10014 */ lw $s1, 0x14($sp)
/* 103C7C 802E23FC 8FB00010 */ lw $s0, 0x10($sp)
/* 103C80 802E2400 03E00008 */ jr $ra
/* 103C84 802E2404 27BD0020 */ addiu $sp, $sp, 0x20
/* 103C88 802E2408 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 103C8C 802E240C AFB00010 */ sw $s0, 0x10($sp)
/* 103C90 802E2410 AFBF0014 */ sw $ra, 0x14($sp)
/* 103C94 802E2414 0C0B88D3 */ jal func_802E234C
/* 103C98 802E2418 0080802D */ daddu $s0, $a0, $zero
/* 103C9C 802E241C 3C014040 */ lui $at, 0x4040
/* 103CA0 802E2420 44810000 */ mtc1 $at, $f0
/* 103CA4 802E2424 8E020040 */ lw $v0, 0x40($s0)
/* 103CA8 802E2428 E6000054 */ swc1 $f0, 0x54($s0)
/* 103CAC 802E242C E6000058 */ swc1 $f0, 0x58($s0)
/* 103CB0 802E2430 E600005C */ swc1 $f0, 0x5c($s0)
/* 103CB4 802E2434 E4400014 */ swc1 $f0, 0x14($v0)
/* 103CB8 802E2438 E4400018 */ swc1 $f0, 0x18($v0)
/* 103CBC 802E243C E440001C */ swc1 $f0, 0x1c($v0)
/* 103CC0 802E2440 8FBF0014 */ lw $ra, 0x14($sp)
/* 103CC4 802E2444 8FB00010 */ lw $s0, 0x10($sp)
/* 103CC8 802E2448 03E00008 */ jr $ra
/* 103CCC 802E244C 27BD0018 */ addiu $sp, $sp, 0x18
/* 103CD0 802E2450 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 103CD4 802E2454 AFBF0010 */ sw $ra, 0x10($sp)
/* 103CD8 802E2458 0C0B8D94 */ jal func_802E3650
/* 103CDC 802E245C 00000000 */ nop
/* 103CE0 802E2460 8FBF0010 */ lw $ra, 0x10($sp)
/* 103CE4 802E2464 03E00008 */ jr $ra
/* 103CE8 802E2468 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,11 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E2450
/* 103CD0 802E2450 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 103CD4 802E2454 AFBF0010 */ sw $ra, 0x10($sp)
/* 103CD8 802E2458 0C0B8D94 */ jal func_802E3650
/* 103CDC 802E245C 00000000 */ nop
/* 103CE0 802E2460 8FBF0010 */ lw $ra, 0x10($sp)
/* 103CE4 802E2464 03E00008 */ jr $ra
/* 103CE8 802E2468 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E246C glabel func_802E246C
/* 103CEC 802E246C 27BDFF40 */ addiu $sp, $sp, -0xc0 /* 103CEC 802E246C 27BDFF40 */ addiu $sp, $sp, -0xc0
/* 103CF0 802E2470 AFB500A4 */ sw $s5, 0xa4($sp) /* 103CF0 802E2470 AFB500A4 */ sw $s5, 0xa4($sp)
@ -77,7 +76,6 @@ glabel func_802E246C
/* 103E00 802E2580 4481A000 */ mtc1 $at, $f20 /* 103E00 802E2580 4481A000 */ mtc1 $at, $f20
/* 103E04 802E2584 080B8968 */ j .L802E25A0 /* 103E04 802E2584 080B8968 */ j .L802E25A0
/* 103E08 802E2588 34420001 */ ori $v0, $v0, 1 /* 103E08 802E2588 34420001 */ ori $v0, $v0, 1
.L802E258C: .L802E258C:
/* 103E0C 802E258C 96620000 */ lhu $v0, ($s3) /* 103E0C 802E258C 96620000 */ lhu $v0, ($s3)
/* 103E10 802E2590 3C014109 */ lui $at, 0x4109 /* 103E10 802E2590 3C014109 */ lui $at, 0x4109
@ -125,724 +123,3 @@ glabel func_802E246C
/* 103EB0 802E2630 D7B400B8 */ ldc1 $f20, 0xb8($sp) /* 103EB0 802E2630 D7B400B8 */ ldc1 $f20, 0xb8($sp)
/* 103EB4 802E2634 03E00008 */ jr $ra /* 103EB4 802E2634 03E00008 */ jr $ra
/* 103EB8 802E2638 27BD00C0 */ addiu $sp, $sp, 0xc0 /* 103EB8 802E2638 27BD00C0 */ addiu $sp, $sp, 0xc0
/* 103EBC 802E263C 27BDFF68 */ addiu $sp, $sp, -0x98
/* 103EC0 802E2640 F7B80078 */ sdc1 $f24, 0x78($sp)
/* 103EC4 802E2644 4480C000 */ mtc1 $zero, $f24
/* 103EC8 802E2648 F7BC0088 */ sdc1 $f28, 0x88($sp)
/* 103ECC 802E264C 3C01802F */ lui $at, 0x802f
/* 103ED0 802E2650 D43CB138 */ ldc1 $f28, -0x4ec8($at)
/* 103ED4 802E2654 AFB40050 */ sw $s4, 0x50($sp)
/* 103ED8 802E2658 0000A02D */ daddu $s4, $zero, $zero
/* 103EDC 802E265C F7BE0090 */ sdc1 $f30, 0x90($sp)
/* 103EE0 802E2660 3C014F00 */ lui $at, 0x4f00
/* 103EE4 802E2664 4481F000 */ mtc1 $at, $f30
/* 103EE8 802E2668 27A80020 */ addiu $t0, $sp, 0x20
/* 103EEC 802E266C AFBE0060 */ sw $fp, 0x60($sp)
/* 103EF0 802E2670 27BE0024 */ addiu $fp, $sp, 0x24
/* 103EF4 802E2674 AFB7005C */ sw $s7, 0x5c($sp)
/* 103EF8 802E2678 27B70028 */ addiu $s7, $sp, 0x28
/* 103EFC 802E267C AFB60058 */ sw $s6, 0x58($sp)
/* 103F00 802E2680 27B6002C */ addiu $s6, $sp, 0x2c
/* 103F04 802E2684 AFB50054 */ sw $s5, 0x54($sp)
/* 103F08 802E2688 27B50030 */ addiu $s5, $sp, 0x30
/* 103F0C 802E268C AFBF0064 */ sw $ra, 0x64($sp)
/* 103F10 802E2690 AFB3004C */ sw $s3, 0x4c($sp)
/* 103F14 802E2694 AFB20048 */ sw $s2, 0x48($sp)
/* 103F18 802E2698 AFB10044 */ sw $s1, 0x44($sp)
/* 103F1C 802E269C AFB00040 */ sw $s0, 0x40($sp)
/* 103F20 802E26A0 F7BA0080 */ sdc1 $f26, 0x80($sp)
/* 103F24 802E26A4 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 103F28 802E26A8 F7B40068 */ sdc1 $f20, 0x68($sp)
/* 103F2C 802E26AC AFA40098 */ sw $a0, 0x98($sp)
/* 103F30 802E26B0 AFA80038 */ sw $t0, 0x38($sp)
/* 103F34 802E26B4 8C920040 */ lw $s2, 0x40($a0)
/* 103F38 802E26B8 4600C686 */ mov.s $f26, $f24
/* 103F3C 802E26BC 4600C586 */ mov.s $f22, $f24
/* 103F40 802E26C0 0240882D */ daddu $s1, $s2, $zero
/* 103F44 802E26C4 0240802D */ daddu $s0, $s2, $zero
/* 103F48 802E26C8 0240982D */ daddu $s3, $s2, $zero
.L802E26CC:
/* 103F4C 802E26CC 24020001 */ addiu $v0, $zero, 1
/* 103F50 802E26D0 82230040 */ lb $v1, 0x40($s1)
/* 103F54 802E26D4 92240040 */ lbu $a0, 0x40($s1)
/* 103F58 802E26D8 1062001D */ beq $v1, $v0, .L802E2750
/* 103F5C 802E26DC 28620002 */ slti $v0, $v1, 2
/* 103F60 802E26E0 50400005 */ beql $v0, $zero, .L802E26F8
/* 103F64 802E26E4 24020002 */ addiu $v0, $zero, 2
/* 103F68 802E26E8 10600009 */ beqz $v1, .L802E2710
/* 103F6C 802E26EC 00000000 */ nop
/* 103F70 802E26F0 080B89F7 */ j .L802E27DC
/* 103F74 802E26F4 00000000 */ nop
.L802E26F8:
/* 103F78 802E26F8 10620021 */ beq $v1, $v0, .L802E2780
/* 103F7C 802E26FC 24020003 */ addiu $v0, $zero, 3
/* 103F80 802E2700 1062002E */ beq $v1, $v0, .L802E27BC
/* 103F84 802E2704 00000000 */ nop
/* 103F88 802E2708 080B89F7 */ j .L802E27DC
/* 103F8C 802E270C 00000000 */ nop
.L802E2710:
/* 103F90 802E2710 96620000 */ lhu $v0, ($s3)
/* 103F94 802E2714 3C014019 */ lui $at, 0x4019
/* 103F98 802E2718 3421999A */ ori $at, $at, 0x999a
/* 103F9C 802E271C 4481B000 */ mtc1 $at, $f22
/* 103FA0 802E2720 30420001 */ andi $v0, $v0, 1
/* 103FA4 802E2724 10400003 */ beqz $v0, .L802E2734
/* 103FA8 802E2728 00000000 */ nop
/* 103FAC 802E272C 3C013FC0 */ lui $at, 0x3fc0
/* 103FB0 802E2730 4481B000 */ mtc1 $at, $f22
.L802E2734:
/* 103FB4 802E2734 82220059 */ lb $v0, 0x59($s1)
/* 103FB8 802E2738 3C0140C0 */ lui $at, 0x40c0
/* 103FBC 802E273C 4481D000 */ mtc1 $at, $f26
/* 103FC0 802E2740 4482C000 */ mtc1 $v0, $f24
/* 103FC4 802E2744 00000000 */ nop
/* 103FC8 802E2748 080B89F7 */ j .L802E27DC
/* 103FCC 802E274C 4680C620 */ cvt.s.w $f24, $f24
.L802E2750:
/* 103FD0 802E2750 3C013F99 */ lui $at, 0x3f99
/* 103FD4 802E2754 3421999A */ ori $at, $at, 0x999a
/* 103FD8 802E2758 4481B000 */ mtc1 $at, $f22
/* 103FDC 802E275C 92220059 */ lbu $v0, 0x59($s1)
/* 103FE0 802E2760 3C014040 */ lui $at, 0x4040
/* 103FE4 802E2764 4481D000 */ mtc1 $at, $f26
/* 103FE8 802E2768 00021600 */ sll $v0, $v0, 0x18
/* 103FEC 802E276C 00021683 */ sra $v0, $v0, 0x1a
/* 103FF0 802E2770 4482C000 */ mtc1 $v0, $f24
/* 103FF4 802E2774 00000000 */ nop
/* 103FF8 802E2778 080B89F7 */ j .L802E27DC
/* 103FFC 802E277C 4680C620 */ cvt.s.w $f24, $f24
.L802E2780:
/* 104000 802E2780 3C013F80 */ lui $at, 0x3f80
/* 104004 802E2784 4481B000 */ mtc1 $at, $f22
/* 104008 802E2788 92220059 */ lbu $v0, 0x59($s1)
/* 10400C 802E278C 3C014000 */ lui $at, 0x4000
/* 104010 802E2790 4481D000 */ mtc1 $at, $f26
/* 104014 802E2794 8643003C */ lh $v1, 0x3c($s2)
/* 104018 802E2798 00021600 */ sll $v0, $v0, 0x18
/* 10401C 802E279C 00021683 */ sra $v0, $v0, 0x1a
/* 104020 802E27A0 4482C000 */ mtc1 $v0, $f24
/* 104024 802E27A4 00000000 */ nop
/* 104028 802E27A8 4680C620 */ cvt.s.w $f24, $f24
/* 10402C 802E27AC 1460000B */ bnez $v1, .L802E27DC
/* 104030 802E27B0 24820001 */ addiu $v0, $a0, 1
/* 104034 802E27B4 080B89F7 */ j .L802E27DC
/* 104038 802E27B8 A2220040 */ sb $v0, 0x40($s1)
.L802E27BC:
/* 10403C 802E27BC C6000124 */ lwc1 $f0, 0x124($s0)
/* 104040 802E27C0 3C01802F */ lui $at, 0x802f
/* 104044 802E27C4 D422B140 */ ldc1 $f2, -0x4ec0($at)
/* 104048 802E27C8 46000021 */ cvt.d.s $f0, $f0
/* 10404C 802E27CC 46220001 */ sub.d $f0, $f0, $f2
/* 104050 802E27D0 46200020 */ cvt.s.d $f0, $f0
/* 104054 802E27D4 080B8ABF */ j .L802E2AFC
/* 104058 802E27D8 E6000124 */ swc1 $f0, 0x124($s0)
.L802E27DC:
/* 10405C 802E27DC C60001EC */ lwc1 $f0, 0x1ec($s0)
/* 104060 802E27E0 3C01802F */ lui $at, 0x802f
/* 104064 802E27E4 D422B148 */ ldc1 $f2, -0x4eb8($at)
/* 104068 802E27E8 46000021 */ cvt.d.s $f0, $f0
/* 10406C 802E27EC 46220001 */ sub.d $f0, $f0, $f2
/* 104070 802E27F0 3C01802F */ lui $at, 0x802f
/* 104074 802E27F4 D424B150 */ ldc1 $f4, -0x4eb0($at)
/* 104078 802E27F8 46200020 */ cvt.s.d $f0, $f0
/* 10407C 802E27FC 460000A1 */ cvt.d.s $f2, $f0
/* 104080 802E2800 4624103C */ c.lt.d $f2, $f4
/* 104084 802E2804 00000000 */ nop
/* 104088 802E2808 45000006 */ bc1f .L802E2824
/* 10408C 802E280C E60001EC */ swc1 $f0, 0x1ec($s0)
/* 104090 802E2810 3C01C143 */ lui $at, 0xc143
/* 104094 802E2814 34213333 */ ori $at, $at, 0x3333
/* 104098 802E2818 44810000 */ mtc1 $at, $f0
/* 10409C 802E281C 00000000 */ nop
/* 1040A0 802E2820 E60001EC */ swc1 $f0, 0x1ec($s0)
.L802E2824:
/* 1040A4 802E2824 C6000124 */ lwc1 $f0, 0x124($s0)
/* 1040A8 802E2828 C60201EC */ lwc1 $f2, 0x1ec($s0)
/* 1040AC 802E282C 46020000 */ add.s $f0, $f0, $f2
/* 1040B0 802E2830 E6000124 */ swc1 $f0, 0x124($s0)
/* 1040B4 802E2834 92220072 */ lbu $v0, 0x72($s1)
/* 1040B8 802E2838 4482A000 */ mtc1 $v0, $f20
/* 1040BC 802E283C 00000000 */ nop
/* 1040C0 802E2840 4680A521 */ cvt.d.w $f20, $f20
/* 1040C4 802E2844 463CA502 */ mul.d $f20, $f20, $f28
/* 1040C8 802E2848 00000000 */ nop
/* 1040CC 802E284C 3C013F70 */ lui $at, 0x3f70
/* 1040D0 802E2850 44814800 */ mtc1 $at, $f9
/* 1040D4 802E2854 44804000 */ mtc1 $zero, $f8
/* 1040D8 802E2858 00000000 */ nop
/* 1040DC 802E285C 4628A502 */ mul.d $f20, $f20, $f8
/* 1040E0 802E2860 00000000 */ nop
/* 1040E4 802E2864 3C0140C9 */ lui $at, 0x40c9
/* 1040E8 802E2868 34210FD0 */ ori $at, $at, 0xfd0
/* 1040EC 802E286C 44816000 */ mtc1 $at, $f12
/* 1040F0 802E2870 4620A520 */ cvt.s.d $f20, $f20
/* 1040F4 802E2874 460CA302 */ mul.s $f12, $f20, $f12
/* 1040F8 802E2878 00000000 */ nop
/* 1040FC 802E287C 03C0302D */ daddu $a2, $fp, $zero
/* 104100 802E2880 3C0143B4 */ lui $at, 0x43b4
/* 104104 802E2884 44810000 */ mtc1 $at, $f0
/* 104108 802E2888 8FA50038 */ lw $a1, 0x38($sp)
/* 10410C 802E288C 0C00A82D */ jal sin_cos_rad
/* 104110 802E2890 46006303 */ div.s $f12, $f12, $f0
/* 104114 802E2894 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 104118 802E2898 4600B002 */ mul.s $f0, $f22, $f0
/* 10411C 802E289C 00000000 */ nop
/* 104120 802E28A0 C7A20024 */ lwc1 $f2, 0x24($sp)
/* 104124 802E28A4 4602B082 */ mul.s $f2, $f22, $f2
/* 104128 802E28A8 00000000 */ nop
/* 10412C 802E28AC C60400C0 */ lwc1 $f4, 0xc0($s0)
/* 104130 802E28B0 46002100 */ add.s $f4, $f4, $f0
/* 104134 802E28B4 C6000188 */ lwc1 $f0, 0x188($s0)
/* 104138 802E28B8 46020000 */ add.s $f0, $f0, $f2
/* 10413C 802E28BC 3C040004 */ lui $a0, 4
/* 104140 802E28C0 02E0282D */ daddu $a1, $s7, $zero
/* 104144 802E28C4 E6000188 */ swc1 $f0, 0x188($s0)
/* 104148 802E28C8 C6000124 */ lwc1 $f0, 0x124($s0)
/* 10414C 802E28CC C6020188 */ lwc1 $f2, 0x188($s0)
/* 104150 802E28D0 02C0302D */ daddu $a2, $s6, $zero
/* 104154 802E28D4 E60400C0 */ swc1 $f4, 0xc0($s0)
/* 104158 802E28D8 E7A40028 */ swc1 $f4, 0x28($sp)
/* 10415C 802E28DC E7A0002C */ swc1 $f0, 0x2c($sp)
/* 104160 802E28E0 E7A20030 */ swc1 $f2, 0x30($sp)
/* 104164 802E28E4 3C014100 */ lui $at, 0x4100
/* 104168 802E28E8 44814000 */ mtc1 $at, $f8
/* 10416C 802E28EC 02A0382D */ daddu $a3, $s5, $zero
/* 104170 802E28F0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 104174 802E28F4 E7B40014 */ swc1 $f20, 0x14($sp)
/* 104178 802E28F8 E7A80018 */ swc1 $f8, 0x18($sp)
/* 10417C 802E28FC 0C0376B9 */ jal func_800DDAE4
/* 104180 802E2900 E7A8001C */ swc1 $f8, 0x1c($sp)
/* 104184 802E2904 1040002D */ beqz $v0, .L802E29BC
/* 104188 802E2908 03C0302D */ daddu $a2, $fp, $zero
/* 10418C 802E290C C7A00028 */ lwc1 $f0, 0x28($sp)
/* 104190 802E2910 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 104194 802E2914 C7A40030 */ lwc1 $f4, 0x30($sp)
/* 104198 802E2918 E60000C0 */ swc1 $f0, 0xc0($s0)
/* 10419C 802E291C E6020124 */ swc1 $f2, 0x124($s0)
/* 1041A0 802E2920 E6040188 */ swc1 $f4, 0x188($s0)
/* 1041A4 802E2924 92220072 */ lbu $v0, 0x72($s1)
/* 1041A8 802E2928 24420080 */ addiu $v0, $v0, 0x80
/* 1041AC 802E292C A2220072 */ sb $v0, 0x72($s1)
/* 1041B0 802E2930 304200FF */ andi $v0, $v0, 0xff
/* 1041B4 802E2934 44826000 */ mtc1 $v0, $f12
/* 1041B8 802E2938 00000000 */ nop
/* 1041BC 802E293C 46806321 */ cvt.d.w $f12, $f12
/* 1041C0 802E2940 463C6302 */ mul.d $f12, $f12, $f28
/* 1041C4 802E2944 00000000 */ nop
/* 1041C8 802E2948 3C013F70 */ lui $at, 0x3f70
/* 1041CC 802E294C 44814800 */ mtc1 $at, $f9
/* 1041D0 802E2950 44804000 */ mtc1 $zero, $f8
/* 1041D4 802E2954 00000000 */ nop
/* 1041D8 802E2958 46286302 */ mul.d $f12, $f12, $f8
/* 1041DC 802E295C 00000000 */ nop
/* 1041E0 802E2960 3C01802F */ lui $at, 0x802f
/* 1041E4 802E2964 D420B158 */ ldc1 $f0, -0x4ea8($at)
/* 1041E8 802E2968 46206302 */ mul.d $f12, $f12, $f0
/* 1041EC 802E296C 00000000 */ nop
/* 1041F0 802E2970 8FA50038 */ lw $a1, 0x38($sp)
/* 1041F4 802E2974 463C6303 */ div.d $f12, $f12, $f28
/* 1041F8 802E2978 0C00A82D */ jal sin_cos_rad
/* 1041FC 802E297C 46206320 */ cvt.s.d $f12, $f12
/* 104200 802E2980 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 104204 802E2984 3C014100 */ lui $at, 0x4100
/* 104208 802E2988 4481B000 */ mtc1 $at, $f22
/* 10420C 802E298C 00000000 */ nop
/* 104210 802E2990 46160002 */ mul.s $f0, $f0, $f22
/* 104214 802E2994 00000000 */ nop
/* 104218 802E2998 C7A40024 */ lwc1 $f4, 0x24($sp)
/* 10421C 802E299C 46162102 */ mul.s $f4, $f4, $f22
/* 104220 802E29A0 00000000 */ nop
/* 104224 802E29A4 C60200C0 */ lwc1 $f2, 0xc0($s0)
/* 104228 802E29A8 46001080 */ add.s $f2, $f2, $f0
/* 10422C 802E29AC C6000188 */ lwc1 $f0, 0x188($s0)
/* 104230 802E29B0 46040000 */ add.s $f0, $f0, $f4
/* 104234 802E29B4 E60200C0 */ swc1 $f2, 0xc0($s0)
/* 104238 802E29B8 E6000188 */ swc1 $f0, 0x188($s0)
.L802E29BC:
/* 10423C 802E29BC 3C040004 */ lui $a0, 4
/* 104240 802E29C0 02E0282D */ daddu $a1, $s7, $zero
/* 104244 802E29C4 02C0302D */ daddu $a2, $s6, $zero
/* 104248 802E29C8 02A0382D */ daddu $a3, $s5, $zero
/* 10424C 802E29CC 27A20034 */ addiu $v0, $sp, 0x34
/* 104250 802E29D0 C60200C0 */ lwc1 $f2, 0xc0($s0)
/* 104254 802E29D4 C6040124 */ lwc1 $f4, 0x124($s0)
/* 104258 802E29D8 C60001EC */ lwc1 $f0, 0x1ec($s0)
/* 10425C 802E29DC C6060188 */ lwc1 $f6, 0x188($s0)
/* 104260 802E29E0 46000005 */ abs.s $f0, $f0
/* 104264 802E29E4 E7A20028 */ swc1 $f2, 0x28($sp)
/* 104268 802E29E8 E7A4002C */ swc1 $f4, 0x2c($sp)
/* 10426C 802E29EC E7A60030 */ swc1 $f6, 0x30($sp)
/* 104270 802E29F0 E7A00034 */ swc1 $f0, 0x34($sp)
/* 104274 802E29F4 0C0372DF */ jal func_800DCB7C
/* 104278 802E29F8 AFA20010 */ sw $v0, 0x10($sp)
/* 10427C 802E29FC 1440000B */ bnez $v0, .L802E2A2C
/* 104280 802E2A00 00000000 */ nop
/* 104284 802E2A04 C6400038 */ lwc1 $f0, 0x38($s2)
/* 104288 802E2A08 3C014348 */ lui $at, 0x4348
/* 10428C 802E2A0C 44811000 */ mtc1 $at, $f2
/* 104290 802E2A10 00000000 */ nop
/* 104294 802E2A14 46020001 */ sub.s $f0, $f0, $f2
/* 104298 802E2A18 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 10429C 802E2A1C 4600103C */ c.lt.s $f2, $f0
/* 1042A0 802E2A20 00000000 */ nop
/* 1042A4 802E2A24 4500000F */ bc1f .L802E2A64
/* 1042A8 802E2A28 00000000 */ nop
.L802E2A2C:
/* 1042AC 802E2A2C 92220040 */ lbu $v0, 0x40($s1)
/* 1042B0 802E2A30 24420001 */ addiu $v0, $v0, 1
/* 1042B4 802E2A34 A2220040 */ sb $v0, 0x40($s1)
/* 1042B8 802E2A38 C60201EC */ lwc1 $f2, 0x1ec($s0)
/* 1042BC 802E2A3C 3C013F99 */ lui $at, 0x3f99
/* 1042C0 802E2A40 3421999A */ ori $at, $at, 0x999a
/* 1042C4 802E2A44 44810000 */ mtc1 $at, $f0
/* 1042C8 802E2A48 46001085 */ abs.s $f2, $f2
/* 1042CC 802E2A4C 46001082 */ mul.s $f2, $f2, $f0
/* 1042D0 802E2A50 00000000 */ nop
/* 1042D4 802E2A54 C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 1042D8 802E2A58 46020000 */ add.s $f0, $f0, $f2
/* 1042DC 802E2A5C E61A01EC */ swc1 $f26, 0x1ec($s0)
/* 1042E0 802E2A60 E6000124 */ swc1 $f0, 0x124($s0)
.L802E2A64:
/* 1042E4 802E2A64 9222008B */ lbu $v0, 0x8b($s1)
/* 1042E8 802E2A68 44820000 */ mtc1 $v0, $f0
/* 1042EC 802E2A6C 00000000 */ nop
/* 1042F0 802E2A70 46800020 */ cvt.s.w $f0, $f0
/* 1042F4 802E2A74 46180000 */ add.s $f0, $f0, $f24
/* 1042F8 802E2A78 4600F03E */ c.le.s $f30, $f0
/* 1042FC 802E2A7C 00000000 */ nop
/* 104300 802E2A80 45010005 */ bc1t .L802E2A98
/* 104304 802E2A84 2623008B */ addiu $v1, $s1, 0x8b
/* 104308 802E2A88 4600020D */ trunc.w.s $f8, $f0
/* 10430C 802E2A8C 44024000 */ mfc1 $v0, $f8
/* 104310 802E2A90 080B8AAC */ j .L802E2AB0
/* 104314 802E2A94 A0620000 */ sb $v0, ($v1)
.L802E2A98:
/* 104318 802E2A98 461E0001 */ sub.s $f0, $f0, $f30
/* 10431C 802E2A9C 4600020D */ trunc.w.s $f8, $f0
/* 104320 802E2AA0 44024000 */ mfc1 $v0, $f8
/* 104324 802E2AA4 3C088000 */ lui $t0, 0x8000
/* 104328 802E2AA8 00481025 */ or $v0, $v0, $t0
/* 10432C 802E2AAC A0620000 */ sb $v0, ($v1)
.L802E2AB0:
/* 104330 802E2AB0 922200A4 */ lbu $v0, 0xa4($s1)
/* 104334 802E2AB4 44820000 */ mtc1 $v0, $f0
/* 104338 802E2AB8 00000000 */ nop
/* 10433C 802E2ABC 46800020 */ cvt.s.w $f0, $f0
/* 104340 802E2AC0 46180001 */ sub.s $f0, $f0, $f24
/* 104344 802E2AC4 4600F03E */ c.le.s $f30, $f0
/* 104348 802E2AC8 00000000 */ nop
/* 10434C 802E2ACC 45010005 */ bc1t .L802E2AE4
/* 104350 802E2AD0 262300A4 */ addiu $v1, $s1, 0xa4
/* 104354 802E2AD4 4600020D */ trunc.w.s $f8, $f0
/* 104358 802E2AD8 44024000 */ mfc1 $v0, $f8
/* 10435C 802E2ADC 080B8ABF */ j .L802E2AFC
/* 104360 802E2AE0 A0620000 */ sb $v0, ($v1)
.L802E2AE4:
/* 104364 802E2AE4 461E0001 */ sub.s $f0, $f0, $f30
/* 104368 802E2AE8 4600020D */ trunc.w.s $f8, $f0
/* 10436C 802E2AEC 44024000 */ mfc1 $v0, $f8
/* 104370 802E2AF0 3C088000 */ lui $t0, 0x8000
/* 104374 802E2AF4 00481025 */ or $v0, $v0, $t0
/* 104378 802E2AF8 A0620000 */ sb $v0, ($v1)
.L802E2AFC:
/* 10437C 802E2AFC 26310001 */ addiu $s1, $s1, 1
/* 104380 802E2B00 26100004 */ addiu $s0, $s0, 4
/* 104384 802E2B04 26940001 */ addiu $s4, $s4, 1
/* 104388 802E2B08 2A820018 */ slti $v0, $s4, 0x18
/* 10438C 802E2B0C 1440FEEF */ bnez $v0, .L802E26CC
/* 104390 802E2B10 26730002 */ addiu $s3, $s3, 2
/* 104394 802E2B14 9642003E */ lhu $v0, 0x3e($s2)
/* 104398 802E2B18 24420001 */ addiu $v0, $v0, 1
/* 10439C 802E2B1C A642003E */ sh $v0, 0x3e($s2)
/* 1043A0 802E2B20 00021400 */ sll $v0, $v0, 0x10
/* 1043A4 802E2B24 00021403 */ sra $v0, $v0, 0x10
/* 1043A8 802E2B28 2842000A */ slti $v0, $v0, 0xa
/* 1043AC 802E2B2C 1440000B */ bnez $v0, .L802E2B5C
/* 1043B0 802E2B30 2403000A */ addiu $v1, $zero, 0xa
/* 1043B4 802E2B34 9642003C */ lhu $v0, 0x3c($s2)
/* 1043B8 802E2B38 A643003E */ sh $v1, 0x3e($s2)
/* 1043BC 802E2B3C 2442FFF8 */ addiu $v0, $v0, -8
/* 1043C0 802E2B40 A642003C */ sh $v0, 0x3c($s2)
/* 1043C4 802E2B44 00021400 */ sll $v0, $v0, 0x10
/* 1043C8 802E2B48 1C400004 */ bgtz $v0, .L802E2B5C
/* 1043CC 802E2B4C 00000000 */ nop
/* 1043D0 802E2B50 A640003C */ sh $zero, 0x3c($s2)
/* 1043D4 802E2B54 0C043F5A */ jal func_8010FD68
/* 1043D8 802E2B58 8FA40098 */ lw $a0, 0x98($sp)
.L802E2B5C:
/* 1043DC 802E2B5C 8FBF0064 */ lw $ra, 0x64($sp)
/* 1043E0 802E2B60 8FBE0060 */ lw $fp, 0x60($sp)
/* 1043E4 802E2B64 8FB7005C */ lw $s7, 0x5c($sp)
/* 1043E8 802E2B68 8FB60058 */ lw $s6, 0x58($sp)
/* 1043EC 802E2B6C 8FB50054 */ lw $s5, 0x54($sp)
/* 1043F0 802E2B70 8FB40050 */ lw $s4, 0x50($sp)
/* 1043F4 802E2B74 8FB3004C */ lw $s3, 0x4c($sp)
/* 1043F8 802E2B78 8FB20048 */ lw $s2, 0x48($sp)
/* 1043FC 802E2B7C 8FB10044 */ lw $s1, 0x44($sp)
/* 104400 802E2B80 8FB00040 */ lw $s0, 0x40($sp)
/* 104404 802E2B84 D7BE0090 */ ldc1 $f30, 0x90($sp)
/* 104408 802E2B88 D7BC0088 */ ldc1 $f28, 0x88($sp)
/* 10440C 802E2B8C D7BA0080 */ ldc1 $f26, 0x80($sp)
/* 104410 802E2B90 D7B80078 */ ldc1 $f24, 0x78($sp)
/* 104414 802E2B94 D7B60070 */ ldc1 $f22, 0x70($sp)
/* 104418 802E2B98 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 10441C 802E2B9C 03E00008 */ jr $ra
/* 104420 802E2BA0 27BD0098 */ addiu $sp, $sp, 0x98
/* 104424 802E2BA4 27BDFE80 */ addiu $sp, $sp, -0x180
/* 104428 802E2BA8 AFB20130 */ sw $s2, 0x130($sp)
/* 10442C 802E2BAC 3C12800A */ lui $s2, 0x800a
/* 104430 802E2BB0 8E52A66C */ lw $s2, -0x5994($s2)
/* 104434 802E2BB4 F7BA0168 */ sdc1 $f26, 0x168($sp)
/* 104438 802E2BB8 3C0143B4 */ lui $at, 0x43b4
/* 10443C 802E2BBC 4481D000 */ mtc1 $at, $f26
/* 104440 802E2BC0 AFB70144 */ sw $s7, 0x144($sp)
/* 104444 802E2BC4 0000B82D */ daddu $s7, $zero, $zero
/* 104448 802E2BC8 F7B80160 */ sdc1 $f24, 0x160($sp)
/* 10444C 802E2BCC 3C013B80 */ lui $at, 0x3b80
/* 104450 802E2BD0 4481C000 */ mtc1 $at, $f24
/* 104454 802E2BD4 27A80098 */ addiu $t0, $sp, 0x98
/* 104458 802E2BD8 AFB60140 */ sw $s6, 0x140($sp)
/* 10445C 802E2BDC 27B600D8 */ addiu $s6, $sp, 0xd8
/* 104460 802E2BE0 AFB5013C */ sw $s5, 0x13c($sp)
/* 104464 802E2BE4 27B50058 */ addiu $s5, $sp, 0x58
/* 104468 802E2BE8 AFA80120 */ sw $t0, 0x120($sp)
/* 10446C 802E2BEC 3C080001 */ lui $t0, 1
/* 104470 802E2BF0 F7B60158 */ sdc1 $f22, 0x158($sp)
/* 104474 802E2BF4 3C013F80 */ lui $at, 0x3f80
/* 104478 802E2BF8 4481B000 */ mtc1 $at, $f22
/* 10447C 802E2BFC 35081630 */ ori $t0, $t0, 0x1630
/* 104480 802E2C00 AFBF014C */ sw $ra, 0x14c($sp)
/* 104484 802E2C04 AFBE0148 */ sw $fp, 0x148($sp)
/* 104488 802E2C08 AFB40138 */ sw $s4, 0x138($sp)
/* 10448C 802E2C0C AFB30134 */ sw $s3, 0x134($sp)
/* 104490 802E2C10 AFB1012C */ sw $s1, 0x12c($sp)
/* 104494 802E2C14 AFB00128 */ sw $s0, 0x128($sp)
/* 104498 802E2C18 F7BE0178 */ sdc1 $f30, 0x178($sp)
/* 10449C 802E2C1C F7BC0170 */ sdc1 $f28, 0x170($sp)
/* 1044A0 802E2C20 F7B40150 */ sdc1 $f20, 0x150($sp)
/* 1044A4 802E2C24 0C04417A */ jal get_entity_by_index
/* 1044A8 802E2C28 AFA80124 */ sw $t0, 0x124($sp)
/* 1044AC 802E2C2C AFA2011C */ sw $v0, 0x11c($sp)
/* 1044B0 802E2C30 8C540040 */ lw $s4, 0x40($v0)
/* 1044B4 802E2C34 4480A000 */ mtc1 $zero, $f20
/* 1044B8 802E2C38 C4400048 */ lwc1 $f0, 0x48($v0)
/* 1044BC 802E2C3C 0280982D */ daddu $s3, $s4, $zero
/* 1044C0 802E2C40 2651FFFC */ addiu $s1, $s2, -4
/* 1044C4 802E2C44 46000007 */ neg.s $f0, $f0
/* 1044C8 802E2C48 E7A00118 */ swc1 $f0, 0x118($sp)
/* 1044CC 802E2C4C C440004C */ lwc1 $f0, 0x4c($v0)
/* 1044D0 802E2C50 C4420050 */ lwc1 $f2, 0x50($v0)
/* 1044D4 802E2C54 8E9E0034 */ lw $fp, 0x34($s4)
/* 1044D8 802E2C58 46000787 */ neg.s $f30, $f0
/* 1044DC 802E2C5C 46001707 */ neg.s $f28, $f2
.L802E2C60:
/* 1044E0 802E2C60 8683003C */ lh $v1, 0x3c($s4)
/* 1044E4 802E2C64 240200FF */ addiu $v0, $zero, 0xff
/* 1044E8 802E2C68 1462000F */ bne $v1, $v0, .L802E2CA8
/* 1044EC 802E2C6C 26310008 */ addiu $s1, $s1, 8
/* 1044F0 802E2C70 3C03E200 */ lui $v1, 0xe200
/* 1044F4 802E2C74 3463001C */ ori $v1, $v1, 0x1c
/* 1044F8 802E2C78 3C020055 */ lui $v0, 0x55
/* 1044FC 802E2C7C 34422078 */ ori $v0, $v0, 0x2078
/* 104500 802E2C80 AE23FFFC */ sw $v1, -4($s1)
/* 104504 802E2C84 AE220000 */ sw $v0, ($s1)
/* 104508 802E2C88 26310008 */ addiu $s1, $s1, 8
/* 10450C 802E2C8C 26520010 */ addiu $s2, $s2, 0x10
/* 104510 802E2C90 3C03FC12 */ lui $v1, 0xfc12
/* 104514 802E2C94 34631824 */ ori $v1, $v1, 0x1824
/* 104518 802E2C98 3C02FF33 */ lui $v0, 0xff33
/* 10451C 802E2C9C 3442FFFF */ ori $v0, $v0, 0xffff
/* 104520 802E2CA0 080B8B35 */ j .L802E2CD4
/* 104524 802E2CA4 AE23FFFC */ sw $v1, -4($s1)
.L802E2CA8:
/* 104528 802E2CA8 3C03FCFF */ lui $v1, 0xfcff
/* 10452C 802E2CAC 3463C3FF */ ori $v1, $v1, 0xc3ff
/* 104530 802E2CB0 3C02FF30 */ lui $v0, 0xff30
/* 104534 802E2CB4 3442FE7F */ ori $v0, $v0, 0xfe7f
/* 104538 802E2CB8 AE23FFFC */ sw $v1, -4($s1)
/* 10453C 802E2CBC AE220000 */ sw $v0, ($s1)
/* 104540 802E2CC0 26310008 */ addiu $s1, $s1, 8
/* 104544 802E2CC4 3C02FA00 */ lui $v0, 0xfa00
/* 104548 802E2CC8 AE22FFFC */ sw $v0, -4($s1)
/* 10454C 802E2CCC 9282003D */ lbu $v0, 0x3d($s4)
/* 104550 802E2CD0 26520010 */ addiu $s2, $s2, 0x10
.L802E2CD4:
/* 104554 802E2CD4 AE220000 */ sw $v0, ($s1)
/* 104558 802E2CD8 8FA50118 */ lw $a1, 0x118($sp)
/* 10455C 802E2CDC 4406F000 */ mfc1 $a2, $f30
/* 104560 802E2CE0 4407E000 */ mfc1 $a3, $f28
/* 104564 802E2CE4 0C019E40 */ jal guTranslateF
/* 104568 802E2CE8 27A40018 */ addiu $a0, $sp, 0x18
/* 10456C 802E2CEC 02978021 */ addu $s0, $s4, $s7
/* 104570 802E2CF0 9202008B */ lbu $v0, 0x8b($s0)
/* 104574 802E2CF4 44820000 */ mtc1 $v0, $f0
/* 104578 802E2CF8 00000000 */ nop
/* 10457C 802E2CFC 46800020 */ cvt.s.w $f0, $f0
/* 104580 802E2D00 461A0002 */ mul.s $f0, $f0, $f26
/* 104584 802E2D04 00000000 */ nop
/* 104588 802E2D08 46180002 */ mul.s $f0, $f0, $f24
/* 10458C 802E2D0C 00000000 */ nop
/* 104590 802E2D10 4406B000 */ mfc1 $a2, $f22
/* 104594 802E2D14 4407A000 */ mfc1 $a3, $f20
/* 104598 802E2D18 8FA40120 */ lw $a0, 0x120($sp)
/* 10459C 802E2D1C 44050000 */ mfc1 $a1, $f0
/* 1045A0 802E2D20 0C019EC8 */ jal guRotateF
/* 1045A4 802E2D24 E7B40010 */ swc1 $f20, 0x10($sp)
/* 1045A8 802E2D28 920200A4 */ lbu $v0, 0xa4($s0)
/* 1045AC 802E2D2C 44820000 */ mtc1 $v0, $f0
/* 1045B0 802E2D30 00000000 */ nop
/* 1045B4 802E2D34 46800020 */ cvt.s.w $f0, $f0
/* 1045B8 802E2D38 461A0002 */ mul.s $f0, $f0, $f26
/* 1045BC 802E2D3C 00000000 */ nop
/* 1045C0 802E2D40 26310008 */ addiu $s1, $s1, 8
/* 1045C4 802E2D44 46180002 */ mul.s $f0, $f0, $f24
/* 1045C8 802E2D48 00000000 */ nop
/* 1045CC 802E2D4C 26520018 */ addiu $s2, $s2, 0x18
/* 1045D0 802E2D50 26F70001 */ addiu $s7, $s7, 1
/* 1045D4 802E2D54 4406A000 */ mfc1 $a2, $f20
/* 1045D8 802E2D58 4407B000 */ mfc1 $a3, $f22
/* 1045DC 802E2D5C 44050000 */ mfc1 $a1, $f0
/* 1045E0 802E2D60 02C0202D */ daddu $a0, $s6, $zero
/* 1045E4 802E2D64 0C019EC8 */ jal guRotateF
/* 1045E8 802E2D68 E7B40010 */ swc1 $f20, 0x10($sp)
/* 1045EC 802E2D6C 02C0282D */ daddu $a1, $s6, $zero
/* 1045F0 802E2D70 8FA40120 */ lw $a0, 0x120($sp)
/* 1045F4 802E2D74 0C019D80 */ jal guMtxCatF
/* 1045F8 802E2D78 02C0302D */ daddu $a2, $s6, $zero
/* 1045FC 802E2D7C 02C0202D */ daddu $a0, $s6, $zero
/* 104600 802E2D80 27A50018 */ addiu $a1, $sp, 0x18
/* 104604 802E2D84 0C019D80 */ jal guMtxCatF
/* 104608 802E2D88 00A0302D */ daddu $a2, $a1, $zero
/* 10460C 802E2D8C 02A0202D */ daddu $a0, $s5, $zero
/* 104610 802E2D90 8E6500C0 */ lw $a1, 0xc0($s3)
/* 104614 802E2D94 8E660124 */ lw $a2, 0x124($s3)
/* 104618 802E2D98 8E670188 */ lw $a3, 0x188($s3)
/* 10461C 802E2D9C 0C019E40 */ jal guTranslateF
/* 104620 802E2DA0 26730004 */ addiu $s3, $s3, 4
/* 104624 802E2DA4 27A40018 */ addiu $a0, $sp, 0x18
/* 104628 802E2DA8 02A0282D */ daddu $a1, $s5, $zero
/* 10462C 802E2DAC 0C019D80 */ jal guMtxCatF
/* 104630 802E2DB0 02A0302D */ daddu $a2, $s5, $zero
/* 104634 802E2DB4 02A0202D */ daddu $a0, $s5, $zero
/* 104638 802E2DB8 3C058007 */ lui $a1, 0x8007
/* 10463C 802E2DBC 94A541F0 */ lhu $a1, 0x41f0($a1)
/* 104640 802E2DC0 3C02800A */ lui $v0, 0x800a
/* 104644 802E2DC4 8C42A674 */ lw $v0, -0x598c($v0)
/* 104648 802E2DC8 8FA80124 */ lw $t0, 0x124($sp)
/* 10464C 802E2DCC 00052980 */ sll $a1, $a1, 6
/* 104650 802E2DD0 00A82821 */ addu $a1, $a1, $t0
/* 104654 802E2DD4 0C019D40 */ jal guMtxF2L
/* 104658 802E2DD8 00452821 */ addu $a1, $v0, $a1
/* 10465C 802E2DDC 3C05D838 */ lui $a1, 0xd838
/* 104660 802E2DE0 34A50002 */ ori $a1, $a1, 2
/* 104664 802E2DE4 3C028007 */ lui $v0, 0x8007
/* 104668 802E2DE8 944241F0 */ lhu $v0, 0x41f0($v0)
/* 10466C 802E2DEC 3C03DA38 */ lui $v1, 0xda38
/* 104670 802E2DF0 AE23FFFC */ sw $v1, -4($s1)
/* 104674 802E2DF4 8FA80124 */ lw $t0, 0x124($sp)
/* 104678 802E2DF8 24430001 */ addiu $v1, $v0, 1
/* 10467C 802E2DFC 3042FFFF */ andi $v0, $v0, 0xffff
/* 104680 802E2E00 00021180 */ sll $v0, $v0, 6
/* 104684 802E2E04 3C018007 */ lui $at, 0x8007
/* 104688 802E2E08 A42341F0 */ sh $v1, 0x41f0($at)
/* 10468C 802E2E0C 3C03800A */ lui $v1, 0x800a
/* 104690 802E2E10 8C63A674 */ lw $v1, -0x598c($v1)
/* 104694 802E2E14 00481021 */ addu $v0, $v0, $t0
/* 104698 802E2E18 00621821 */ addu $v1, $v1, $v0
/* 10469C 802E2E1C AE230000 */ sw $v1, ($s1)
/* 1046A0 802E2E20 97C40002 */ lhu $a0, 2($fp)
/* 1046A4 802E2E24 27DE0004 */ addiu $fp, $fp, 4
/* 1046A8 802E2E28 8FA8011C */ lw $t0, 0x11c($sp)
/* 1046AC 802E2E2C 26310008 */ addiu $s1, $s1, 8
/* 1046B0 802E2E30 8D030044 */ lw $v1, 0x44($t0)
/* 1046B4 802E2E34 3C02DE00 */ lui $v0, 0xde00
/* 1046B8 802E2E38 AE22FFFC */ sw $v0, -4($s1)
/* 1046BC 802E2E3C 24020040 */ addiu $v0, $zero, 0x40
/* 1046C0 802E2E40 00641821 */ addu $v1, $v1, $a0
/* 1046C4 802E2E44 AE230000 */ sw $v1, ($s1)
/* 1046C8 802E2E48 26310008 */ addiu $s1, $s1, 8
/* 1046CC 802E2E4C AE220000 */ sw $v0, ($s1)
/* 1046D0 802E2E50 2AE20018 */ slti $v0, $s7, 0x18
/* 1046D4 802E2E54 1440FF82 */ bnez $v0, .L802E2C60
/* 1046D8 802E2E58 AE25FFFC */ sw $a1, -4($s1)
/* 1046DC 802E2E5C 8FBF014C */ lw $ra, 0x14c($sp)
/* 1046E0 802E2E60 8FBE0148 */ lw $fp, 0x148($sp)
/* 1046E4 802E2E64 8FB70144 */ lw $s7, 0x144($sp)
/* 1046E8 802E2E68 8FB60140 */ lw $s6, 0x140($sp)
/* 1046EC 802E2E6C 8FB5013C */ lw $s5, 0x13c($sp)
/* 1046F0 802E2E70 8FB40138 */ lw $s4, 0x138($sp)
/* 1046F4 802E2E74 8FB30134 */ lw $s3, 0x134($sp)
/* 1046F8 802E2E78 3C01800A */ lui $at, 0x800a
/* 1046FC 802E2E7C AC32A66C */ sw $s2, -0x5994($at)
/* 104700 802E2E80 8FB20130 */ lw $s2, 0x130($sp)
/* 104704 802E2E84 8FB1012C */ lw $s1, 0x12c($sp)
/* 104708 802E2E88 8FB00128 */ lw $s0, 0x128($sp)
/* 10470C 802E2E8C D7BE0178 */ ldc1 $f30, 0x178($sp)
/* 104710 802E2E90 D7BC0170 */ ldc1 $f28, 0x170($sp)
/* 104714 802E2E94 D7BA0168 */ ldc1 $f26, 0x168($sp)
/* 104718 802E2E98 D7B80160 */ ldc1 $f24, 0x160($sp)
/* 10471C 802E2E9C D7B60158 */ ldc1 $f22, 0x158($sp)
/* 104720 802E2EA0 D7B40150 */ ldc1 $f20, 0x150($sp)
/* 104724 802E2EA4 03E00008 */ jr $ra
/* 104728 802E2EA8 27BD0180 */ addiu $sp, $sp, 0x180
/* 10472C 802E2EAC 00000000 */ nop
/* 104730 802E2EB0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 104734 802E2EB4 AFB1001C */ sw $s1, 0x1c($sp)
/* 104738 802E2EB8 0080882D */ daddu $s1, $a0, $zero
/* 10473C 802E2EBC AFBF0024 */ sw $ra, 0x24($sp)
/* 104740 802E2EC0 AFB20020 */ sw $s2, 0x20($sp)
/* 104744 802E2EC4 AFB00018 */ sw $s0, 0x18($sp)
/* 104748 802E2EC8 8E220040 */ lw $v0, 0x40($s1)
/* 10474C 802E2ECC C620004C */ lwc1 $f0, 0x4c($s1)
/* 104750 802E2ED0 0000802D */ daddu $s0, $zero, $zero
/* 104754 802E2ED4 E4400038 */ swc1 $f0, 0x38($v0)
/* 104758 802E2ED8 92240004 */ lbu $a0, 4($s1)
/* 10475C 802E2EDC 0C0441A9 */ jal func_801106A4
/* 104760 802E2EE0 0200902D */ daddu $s2, $s0, $zero
/* 104764 802E2EE4 0040182D */ daddu $v1, $v0, $zero
/* 104768 802E2EE8 2462FFE8 */ addiu $v0, $v1, -0x18
/* 10476C 802E2EEC 2C420003 */ sltiu $v0, $v0, 3
/* 104770 802E2EF0 10400007 */ beqz $v0, .L802E2F10
/* 104774 802E2EF4 2463FFF3 */ addiu $v1, $v1, -0xd
/* 104778 802E2EF8 3C013F00 */ lui $at, 0x3f00
/* 10477C 802E2EFC 44810000 */ mtc1 $at, $f0
/* 104780 802E2F00 00000000 */ nop
/* 104784 802E2F04 E6200054 */ swc1 $f0, 0x54($s1)
/* 104788 802E2F08 E6200058 */ swc1 $f0, 0x58($s1)
/* 10478C 802E2F0C E620005C */ swc1 $f0, 0x5c($s1)
.L802E2F10:
/* 104790 802E2F10 2C62000E */ sltiu $v0, $v1, 0xe
/* 104794 802E2F14 10400023 */ beqz $v0, .L802E2FA4
/* 104798 802E2F18 00031080 */ sll $v0, $v1, 2
/* 10479C 802E2F1C 3C01802F */ lui $at, 0x802f
/* 1047A0 802E2F20 00220821 */ addu $at, $at, $v0
/* 1047A4 802E2F24 8C22B160 */ lw $v0, -0x4ea0($at)
/* 1047A8 802E2F28 00400008 */ jr $v0
/* 1047AC 802E2F2C 00000000 */ nop
/* 1047B0 802E2F30 3C120A00 */ lui $s2, 0xa00
/* 1047B4 802E2F34 265231E0 */ addiu $s2, $s2, 0x31e0
/* 1047B8 802E2F38 3C100A00 */ lui $s0, 0xa00
/* 1047BC 802E2F3C 26101508 */ addiu $s0, $s0, 0x1508
/* 1047C0 802E2F40 080B8BE9 */ j .L802E2FA4
/* 1047C4 802E2F44 00000000 */ nop
/* 1047C8 802E2F48 3C120A00 */ lui $s2, 0xa00
/* 1047CC 802E2F4C 265231B0 */ addiu $s2, $s2, 0x31b0
/* 1047D0 802E2F50 3C100A00 */ lui $s0, 0xa00
/* 1047D4 802E2F54 261014D8 */ addiu $s0, $s0, 0x14d8
/* 1047D8 802E2F58 080B8BE9 */ j .L802E2FA4
/* 1047DC 802E2F5C 00000000 */ nop
/* 1047E0 802E2F60 3C120A00 */ lui $s2, 0xa00
/* 1047E4 802E2F64 26522F78 */ addiu $s2, $s2, 0x2f78
/* 1047E8 802E2F68 3C100A00 */ lui $s0, 0xa00
/* 1047EC 802E2F6C 26101218 */ addiu $s0, $s0, 0x1218
/* 1047F0 802E2F70 080B8BE9 */ j .L802E2FA4
/* 1047F4 802E2F74 00000000 */ nop
/* 1047F8 802E2F78 24040158 */ addiu $a0, $zero, 0x158
/* 1047FC 802E2F7C C6200050 */ lwc1 $f0, 0x50($s1)
/* 104800 802E2F80 3C120A00 */ lui $s2, 0xa00
/* 104804 802E2F84 26523F70 */ addiu $s2, $s2, 0x3f70
/* 104808 802E2F88 E7A00010 */ swc1 $f0, 0x10($sp)
/* 10480C 802E2F8C 8E260048 */ lw $a2, 0x48($s1)
/* 104810 802E2F90 8E27004C */ lw $a3, 0x4c($s1)
/* 104814 802E2F94 3C100A00 */ lui $s0, 0xa00
/* 104818 802E2F98 26102318 */ addiu $s0, $s0, 0x2318
/* 10481C 802E2F9C 0C052757 */ jal play_sound_at_position
/* 104820 802E2FA0 0000282D */ daddu $a1, $zero, $zero
.L802E2FA4:
/* 104824 802E2FA4 12000004 */ beqz $s0, .L802E2FB8
/* 104828 802E2FA8 0220202D */ daddu $a0, $s1, $zero
/* 10482C 802E2FAC 0240282D */ daddu $a1, $s2, $zero
/* 104830 802E2FB0 0C0B891B */ jal func_802E246C
/* 104834 802E2FB4 0200302D */ daddu $a2, $s0, $zero
.L802E2FB8:
/* 104838 802E2FB8 8FBF0024 */ lw $ra, 0x24($sp)
/* 10483C 802E2FBC 8FB20020 */ lw $s2, 0x20($sp)
/* 104840 802E2FC0 8FB1001C */ lw $s1, 0x1c($sp)
/* 104844 802E2FC4 8FB00018 */ lw $s0, 0x18($sp)
/* 104848 802E2FC8 03E00008 */ jr $ra
/* 10484C 802E2FCC 27BD0028 */ addiu $sp, $sp, 0x28
/* 104850 802E2FD0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 104854 802E2FD4 AFB1001C */ sw $s1, 0x1c($sp)
/* 104858 802E2FD8 0080882D */ daddu $s1, $a0, $zero
/* 10485C 802E2FDC AFBF0020 */ sw $ra, 0x20($sp)
/* 104860 802E2FE0 AFB00018 */ sw $s0, 0x18($sp)
/* 104864 802E2FE4 92240004 */ lbu $a0, 4($s1)
/* 104868 802E2FE8 0C0441A9 */ jal func_801106A4
/* 10486C 802E2FEC 0000802D */ daddu $s0, $zero, $zero
/* 104870 802E2FF0 2443FFF3 */ addiu $v1, $v0, -0xd
/* 104874 802E2FF4 2C62000E */ sltiu $v0, $v1, 0xe
/* 104878 802E2FF8 1040001A */ beqz $v0, .L802E3064
/* 10487C 802E2FFC 00031080 */ sll $v0, $v1, 2
/* 104880 802E3000 3C01802F */ lui $at, 0x802f
/* 104884 802E3004 00220821 */ addu $at, $at, $v0
/* 104888 802E3008 8C22B198 */ lw $v0, -0x4e68($at)
/* 10488C 802E300C 00400008 */ jr $v0
/* 104890 802E3010 00000000 */ nop
/* 104894 802E3014 3C10802F */ lui $s0, 0x802f
/* 104898 802E3018 080B8C19 */ j .L802E3064
/* 10489C 802E301C 26109C8C */ addiu $s0, $s0, -0x6374
/* 1048A0 802E3020 3C10802F */ lui $s0, 0x802f
/* 1048A4 802E3024 080B8C19 */ j .L802E3064
/* 1048A8 802E3028 26109CF8 */ addiu $s0, $s0, -0x6308
/* 1048AC 802E302C 3C10802F */ lui $s0, 0x802f
/* 1048B0 802E3030 080B8C19 */ j .L802E3064
/* 1048B4 802E3034 26109CB0 */ addiu $s0, $s0, -0x6350
/* 1048B8 802E3038 3C10802F */ lui $s0, 0x802f
/* 1048BC 802E303C 080B8C19 */ j .L802E3064
/* 1048C0 802E3040 26109D1C */ addiu $s0, $s0, -0x62e4
/* 1048C4 802E3044 3C10802F */ lui $s0, 0x802f
/* 1048C8 802E3048 080B8C19 */ j .L802E3064
/* 1048CC 802E304C 26109CD4 */ addiu $s0, $s0, -0x632c
/* 1048D0 802E3050 3C10802F */ lui $s0, 0x802f
/* 1048D4 802E3054 080B8C19 */ j .L802E3064
/* 1048D8 802E3058 26109D40 */ addiu $s0, $s0, -0x62c0
/* 1048DC 802E305C 3C10802F */ lui $s0, 0x802f
/* 1048E0 802E3060 26109D64 */ addiu $s0, $s0, -0x629c
.L802E3064:
/* 1048E4 802E3064 1200000E */ beqz $s0, .L802E30A0
/* 1048E8 802E3068 0200202D */ daddu $a0, $s0, $zero
/* 1048EC 802E306C C6200048 */ lwc1 $f0, 0x48($s1)
/* 1048F0 802E3070 C622004C */ lwc1 $f2, 0x4c($s1)
/* 1048F4 802E3074 C6240050 */ lwc1 $f4, 0x50($s1)
/* 1048F8 802E3078 3C028000 */ lui $v0, 0x8000
/* 1048FC 802E307C AFA00010 */ sw $zero, 0x10($sp)
/* 104900 802E3080 4600018D */ trunc.w.s $f6, $f0
/* 104904 802E3084 44053000 */ mfc1 $a1, $f6
/* 104908 802E3088 4600118D */ trunc.w.s $f6, $f2
/* 10490C 802E308C 44063000 */ mfc1 $a2, $f6
/* 104910 802E3090 4600218D */ trunc.w.s $f6, $f4
/* 104914 802E3094 44073000 */ mfc1 $a3, $f6
/* 104918 802E3098 0C044631 */ jal create_entity
/* 10491C 802E309C AFA20014 */ sw $v0, 0x14($sp)
.L802E30A0:
/* 104920 802E30A0 8FBF0020 */ lw $ra, 0x20($sp)
/* 104924 802E30A4 8FB1001C */ lw $s1, 0x1c($sp)
/* 104928 802E30A8 8FB00018 */ lw $s0, 0x18($sp)
/* 10492C 802E30AC 03E00008 */ jr $ra
/* 104930 802E30B0 27BD0028 */ addiu $sp, $sp, 0x28
/* 104934 802E30B4 00000000 */ nop
/* 104938 802E30B8 00000000 */ nop
/* 10493C 802E30BC 00000000 */ nop

View File

@ -0,0 +1,367 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E263C
/* 103EBC 802E263C 27BDFF68 */ addiu $sp, $sp, -0x98
/* 103EC0 802E2640 F7B80078 */ sdc1 $f24, 0x78($sp)
/* 103EC4 802E2644 4480C000 */ mtc1 $zero, $f24
/* 103EC8 802E2648 F7BC0088 */ sdc1 $f28, 0x88($sp)
/* 103ECC 802E264C 3C01802F */ lui $at, 0x802f
/* 103ED0 802E2650 D43CB138 */ ldc1 $f28, -0x4ec8($at)
/* 103ED4 802E2654 AFB40050 */ sw $s4, 0x50($sp)
/* 103ED8 802E2658 0000A02D */ daddu $s4, $zero, $zero
/* 103EDC 802E265C F7BE0090 */ sdc1 $f30, 0x90($sp)
/* 103EE0 802E2660 3C014F00 */ lui $at, 0x4f00
/* 103EE4 802E2664 4481F000 */ mtc1 $at, $f30
/* 103EE8 802E2668 27A80020 */ addiu $t0, $sp, 0x20
/* 103EEC 802E266C AFBE0060 */ sw $fp, 0x60($sp)
/* 103EF0 802E2670 27BE0024 */ addiu $fp, $sp, 0x24
/* 103EF4 802E2674 AFB7005C */ sw $s7, 0x5c($sp)
/* 103EF8 802E2678 27B70028 */ addiu $s7, $sp, 0x28
/* 103EFC 802E267C AFB60058 */ sw $s6, 0x58($sp)
/* 103F00 802E2680 27B6002C */ addiu $s6, $sp, 0x2c
/* 103F04 802E2684 AFB50054 */ sw $s5, 0x54($sp)
/* 103F08 802E2688 27B50030 */ addiu $s5, $sp, 0x30
/* 103F0C 802E268C AFBF0064 */ sw $ra, 0x64($sp)
/* 103F10 802E2690 AFB3004C */ sw $s3, 0x4c($sp)
/* 103F14 802E2694 AFB20048 */ sw $s2, 0x48($sp)
/* 103F18 802E2698 AFB10044 */ sw $s1, 0x44($sp)
/* 103F1C 802E269C AFB00040 */ sw $s0, 0x40($sp)
/* 103F20 802E26A0 F7BA0080 */ sdc1 $f26, 0x80($sp)
/* 103F24 802E26A4 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 103F28 802E26A8 F7B40068 */ sdc1 $f20, 0x68($sp)
/* 103F2C 802E26AC AFA40098 */ sw $a0, 0x98($sp)
/* 103F30 802E26B0 AFA80038 */ sw $t0, 0x38($sp)
/* 103F34 802E26B4 8C920040 */ lw $s2, 0x40($a0)
/* 103F38 802E26B8 4600C686 */ mov.s $f26, $f24
/* 103F3C 802E26BC 4600C586 */ mov.s $f22, $f24
/* 103F40 802E26C0 0240882D */ daddu $s1, $s2, $zero
/* 103F44 802E26C4 0240802D */ daddu $s0, $s2, $zero
/* 103F48 802E26C8 0240982D */ daddu $s3, $s2, $zero
.L802E26CC:
/* 103F4C 802E26CC 24020001 */ addiu $v0, $zero, 1
/* 103F50 802E26D0 82230040 */ lb $v1, 0x40($s1)
/* 103F54 802E26D4 92240040 */ lbu $a0, 0x40($s1)
/* 103F58 802E26D8 1062001D */ beq $v1, $v0, .L802E2750
/* 103F5C 802E26DC 28620002 */ slti $v0, $v1, 2
/* 103F60 802E26E0 50400005 */ beql $v0, $zero, .L802E26F8
/* 103F64 802E26E4 24020002 */ addiu $v0, $zero, 2
/* 103F68 802E26E8 10600009 */ beqz $v1, .L802E2710
/* 103F6C 802E26EC 00000000 */ nop
/* 103F70 802E26F0 080B89F7 */ j .L802E27DC
/* 103F74 802E26F4 00000000 */ nop
.L802E26F8:
/* 103F78 802E26F8 10620021 */ beq $v1, $v0, .L802E2780
/* 103F7C 802E26FC 24020003 */ addiu $v0, $zero, 3
/* 103F80 802E2700 1062002E */ beq $v1, $v0, .L802E27BC
/* 103F84 802E2704 00000000 */ nop
/* 103F88 802E2708 080B89F7 */ j .L802E27DC
/* 103F8C 802E270C 00000000 */ nop
.L802E2710:
/* 103F90 802E2710 96620000 */ lhu $v0, ($s3)
/* 103F94 802E2714 3C014019 */ lui $at, 0x4019
/* 103F98 802E2718 3421999A */ ori $at, $at, 0x999a
/* 103F9C 802E271C 4481B000 */ mtc1 $at, $f22
/* 103FA0 802E2720 30420001 */ andi $v0, $v0, 1
/* 103FA4 802E2724 10400003 */ beqz $v0, .L802E2734
/* 103FA8 802E2728 00000000 */ nop
/* 103FAC 802E272C 3C013FC0 */ lui $at, 0x3fc0
/* 103FB0 802E2730 4481B000 */ mtc1 $at, $f22
.L802E2734:
/* 103FB4 802E2734 82220059 */ lb $v0, 0x59($s1)
/* 103FB8 802E2738 3C0140C0 */ lui $at, 0x40c0
/* 103FBC 802E273C 4481D000 */ mtc1 $at, $f26
/* 103FC0 802E2740 4482C000 */ mtc1 $v0, $f24
/* 103FC4 802E2744 00000000 */ nop
/* 103FC8 802E2748 080B89F7 */ j .L802E27DC
/* 103FCC 802E274C 4680C620 */ cvt.s.w $f24, $f24
.L802E2750:
/* 103FD0 802E2750 3C013F99 */ lui $at, 0x3f99
/* 103FD4 802E2754 3421999A */ ori $at, $at, 0x999a
/* 103FD8 802E2758 4481B000 */ mtc1 $at, $f22
/* 103FDC 802E275C 92220059 */ lbu $v0, 0x59($s1)
/* 103FE0 802E2760 3C014040 */ lui $at, 0x4040
/* 103FE4 802E2764 4481D000 */ mtc1 $at, $f26
/* 103FE8 802E2768 00021600 */ sll $v0, $v0, 0x18
/* 103FEC 802E276C 00021683 */ sra $v0, $v0, 0x1a
/* 103FF0 802E2770 4482C000 */ mtc1 $v0, $f24
/* 103FF4 802E2774 00000000 */ nop
/* 103FF8 802E2778 080B89F7 */ j .L802E27DC
/* 103FFC 802E277C 4680C620 */ cvt.s.w $f24, $f24
.L802E2780:
/* 104000 802E2780 3C013F80 */ lui $at, 0x3f80
/* 104004 802E2784 4481B000 */ mtc1 $at, $f22
/* 104008 802E2788 92220059 */ lbu $v0, 0x59($s1)
/* 10400C 802E278C 3C014000 */ lui $at, 0x4000
/* 104010 802E2790 4481D000 */ mtc1 $at, $f26
/* 104014 802E2794 8643003C */ lh $v1, 0x3c($s2)
/* 104018 802E2798 00021600 */ sll $v0, $v0, 0x18
/* 10401C 802E279C 00021683 */ sra $v0, $v0, 0x1a
/* 104020 802E27A0 4482C000 */ mtc1 $v0, $f24
/* 104024 802E27A4 00000000 */ nop
/* 104028 802E27A8 4680C620 */ cvt.s.w $f24, $f24
/* 10402C 802E27AC 1460000B */ bnez $v1, .L802E27DC
/* 104030 802E27B0 24820001 */ addiu $v0, $a0, 1
/* 104034 802E27B4 080B89F7 */ j .L802E27DC
/* 104038 802E27B8 A2220040 */ sb $v0, 0x40($s1)
.L802E27BC:
/* 10403C 802E27BC C6000124 */ lwc1 $f0, 0x124($s0)
/* 104040 802E27C0 3C01802F */ lui $at, 0x802f
/* 104044 802E27C4 D422B140 */ ldc1 $f2, -0x4ec0($at)
/* 104048 802E27C8 46000021 */ cvt.d.s $f0, $f0
/* 10404C 802E27CC 46220001 */ sub.d $f0, $f0, $f2
/* 104050 802E27D0 46200020 */ cvt.s.d $f0, $f0
/* 104054 802E27D4 080B8ABF */ j .L802E2AFC
/* 104058 802E27D8 E6000124 */ swc1 $f0, 0x124($s0)
.L802E27DC:
/* 10405C 802E27DC C60001EC */ lwc1 $f0, 0x1ec($s0)
/* 104060 802E27E0 3C01802F */ lui $at, 0x802f
/* 104064 802E27E4 D422B148 */ ldc1 $f2, -0x4eb8($at)
/* 104068 802E27E8 46000021 */ cvt.d.s $f0, $f0
/* 10406C 802E27EC 46220001 */ sub.d $f0, $f0, $f2
/* 104070 802E27F0 3C01802F */ lui $at, 0x802f
/* 104074 802E27F4 D424B150 */ ldc1 $f4, -0x4eb0($at)
/* 104078 802E27F8 46200020 */ cvt.s.d $f0, $f0
/* 10407C 802E27FC 460000A1 */ cvt.d.s $f2, $f0
/* 104080 802E2800 4624103C */ c.lt.d $f2, $f4
/* 104084 802E2804 00000000 */ nop
/* 104088 802E2808 45000006 */ bc1f .L802E2824
/* 10408C 802E280C E60001EC */ swc1 $f0, 0x1ec($s0)
/* 104090 802E2810 3C01C143 */ lui $at, 0xc143
/* 104094 802E2814 34213333 */ ori $at, $at, 0x3333
/* 104098 802E2818 44810000 */ mtc1 $at, $f0
/* 10409C 802E281C 00000000 */ nop
/* 1040A0 802E2820 E60001EC */ swc1 $f0, 0x1ec($s0)
.L802E2824:
/* 1040A4 802E2824 C6000124 */ lwc1 $f0, 0x124($s0)
/* 1040A8 802E2828 C60201EC */ lwc1 $f2, 0x1ec($s0)
/* 1040AC 802E282C 46020000 */ add.s $f0, $f0, $f2
/* 1040B0 802E2830 E6000124 */ swc1 $f0, 0x124($s0)
/* 1040B4 802E2834 92220072 */ lbu $v0, 0x72($s1)
/* 1040B8 802E2838 4482A000 */ mtc1 $v0, $f20
/* 1040BC 802E283C 00000000 */ nop
/* 1040C0 802E2840 4680A521 */ cvt.d.w $f20, $f20
/* 1040C4 802E2844 463CA502 */ mul.d $f20, $f20, $f28
/* 1040C8 802E2848 00000000 */ nop
/* 1040CC 802E284C 3C013F70 */ lui $at, 0x3f70
/* 1040D0 802E2850 44814800 */ mtc1 $at, $f9
/* 1040D4 802E2854 44804000 */ mtc1 $zero, $f8
/* 1040D8 802E2858 00000000 */ nop
/* 1040DC 802E285C 4628A502 */ mul.d $f20, $f20, $f8
/* 1040E0 802E2860 00000000 */ nop
/* 1040E4 802E2864 3C0140C9 */ lui $at, 0x40c9
/* 1040E8 802E2868 34210FD0 */ ori $at, $at, 0xfd0
/* 1040EC 802E286C 44816000 */ mtc1 $at, $f12
/* 1040F0 802E2870 4620A520 */ cvt.s.d $f20, $f20
/* 1040F4 802E2874 460CA302 */ mul.s $f12, $f20, $f12
/* 1040F8 802E2878 00000000 */ nop
/* 1040FC 802E287C 03C0302D */ daddu $a2, $fp, $zero
/* 104100 802E2880 3C0143B4 */ lui $at, 0x43b4
/* 104104 802E2884 44810000 */ mtc1 $at, $f0
/* 104108 802E2888 8FA50038 */ lw $a1, 0x38($sp)
/* 10410C 802E288C 0C00A82D */ jal sin_cos_rad
/* 104110 802E2890 46006303 */ div.s $f12, $f12, $f0
/* 104114 802E2894 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 104118 802E2898 4600B002 */ mul.s $f0, $f22, $f0
/* 10411C 802E289C 00000000 */ nop
/* 104120 802E28A0 C7A20024 */ lwc1 $f2, 0x24($sp)
/* 104124 802E28A4 4602B082 */ mul.s $f2, $f22, $f2
/* 104128 802E28A8 00000000 */ nop
/* 10412C 802E28AC C60400C0 */ lwc1 $f4, 0xc0($s0)
/* 104130 802E28B0 46002100 */ add.s $f4, $f4, $f0
/* 104134 802E28B4 C6000188 */ lwc1 $f0, 0x188($s0)
/* 104138 802E28B8 46020000 */ add.s $f0, $f0, $f2
/* 10413C 802E28BC 3C040004 */ lui $a0, 4
/* 104140 802E28C0 02E0282D */ daddu $a1, $s7, $zero
/* 104144 802E28C4 E6000188 */ swc1 $f0, 0x188($s0)
/* 104148 802E28C8 C6000124 */ lwc1 $f0, 0x124($s0)
/* 10414C 802E28CC C6020188 */ lwc1 $f2, 0x188($s0)
/* 104150 802E28D0 02C0302D */ daddu $a2, $s6, $zero
/* 104154 802E28D4 E60400C0 */ swc1 $f4, 0xc0($s0)
/* 104158 802E28D8 E7A40028 */ swc1 $f4, 0x28($sp)
/* 10415C 802E28DC E7A0002C */ swc1 $f0, 0x2c($sp)
/* 104160 802E28E0 E7A20030 */ swc1 $f2, 0x30($sp)
/* 104164 802E28E4 3C014100 */ lui $at, 0x4100
/* 104168 802E28E8 44814000 */ mtc1 $at, $f8
/* 10416C 802E28EC 02A0382D */ daddu $a3, $s5, $zero
/* 104170 802E28F0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 104174 802E28F4 E7B40014 */ swc1 $f20, 0x14($sp)
/* 104178 802E28F8 E7A80018 */ swc1 $f8, 0x18($sp)
/* 10417C 802E28FC 0C0376B9 */ jal func_800DDAE4
/* 104180 802E2900 E7A8001C */ swc1 $f8, 0x1c($sp)
/* 104184 802E2904 1040002D */ beqz $v0, .L802E29BC
/* 104188 802E2908 03C0302D */ daddu $a2, $fp, $zero
/* 10418C 802E290C C7A00028 */ lwc1 $f0, 0x28($sp)
/* 104190 802E2910 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 104194 802E2914 C7A40030 */ lwc1 $f4, 0x30($sp)
/* 104198 802E2918 E60000C0 */ swc1 $f0, 0xc0($s0)
/* 10419C 802E291C E6020124 */ swc1 $f2, 0x124($s0)
/* 1041A0 802E2920 E6040188 */ swc1 $f4, 0x188($s0)
/* 1041A4 802E2924 92220072 */ lbu $v0, 0x72($s1)
/* 1041A8 802E2928 24420080 */ addiu $v0, $v0, 0x80
/* 1041AC 802E292C A2220072 */ sb $v0, 0x72($s1)
/* 1041B0 802E2930 304200FF */ andi $v0, $v0, 0xff
/* 1041B4 802E2934 44826000 */ mtc1 $v0, $f12
/* 1041B8 802E2938 00000000 */ nop
/* 1041BC 802E293C 46806321 */ cvt.d.w $f12, $f12
/* 1041C0 802E2940 463C6302 */ mul.d $f12, $f12, $f28
/* 1041C4 802E2944 00000000 */ nop
/* 1041C8 802E2948 3C013F70 */ lui $at, 0x3f70
/* 1041CC 802E294C 44814800 */ mtc1 $at, $f9
/* 1041D0 802E2950 44804000 */ mtc1 $zero, $f8
/* 1041D4 802E2954 00000000 */ nop
/* 1041D8 802E2958 46286302 */ mul.d $f12, $f12, $f8
/* 1041DC 802E295C 00000000 */ nop
/* 1041E0 802E2960 3C01802F */ lui $at, 0x802f
/* 1041E4 802E2964 D420B158 */ ldc1 $f0, -0x4ea8($at)
/* 1041E8 802E2968 46206302 */ mul.d $f12, $f12, $f0
/* 1041EC 802E296C 00000000 */ nop
/* 1041F0 802E2970 8FA50038 */ lw $a1, 0x38($sp)
/* 1041F4 802E2974 463C6303 */ div.d $f12, $f12, $f28
/* 1041F8 802E2978 0C00A82D */ jal sin_cos_rad
/* 1041FC 802E297C 46206320 */ cvt.s.d $f12, $f12
/* 104200 802E2980 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 104204 802E2984 3C014100 */ lui $at, 0x4100
/* 104208 802E2988 4481B000 */ mtc1 $at, $f22
/* 10420C 802E298C 00000000 */ nop
/* 104210 802E2990 46160002 */ mul.s $f0, $f0, $f22
/* 104214 802E2994 00000000 */ nop
/* 104218 802E2998 C7A40024 */ lwc1 $f4, 0x24($sp)
/* 10421C 802E299C 46162102 */ mul.s $f4, $f4, $f22
/* 104220 802E29A0 00000000 */ nop
/* 104224 802E29A4 C60200C0 */ lwc1 $f2, 0xc0($s0)
/* 104228 802E29A8 46001080 */ add.s $f2, $f2, $f0
/* 10422C 802E29AC C6000188 */ lwc1 $f0, 0x188($s0)
/* 104230 802E29B0 46040000 */ add.s $f0, $f0, $f4
/* 104234 802E29B4 E60200C0 */ swc1 $f2, 0xc0($s0)
/* 104238 802E29B8 E6000188 */ swc1 $f0, 0x188($s0)
.L802E29BC:
/* 10423C 802E29BC 3C040004 */ lui $a0, 4
/* 104240 802E29C0 02E0282D */ daddu $a1, $s7, $zero
/* 104244 802E29C4 02C0302D */ daddu $a2, $s6, $zero
/* 104248 802E29C8 02A0382D */ daddu $a3, $s5, $zero
/* 10424C 802E29CC 27A20034 */ addiu $v0, $sp, 0x34
/* 104250 802E29D0 C60200C0 */ lwc1 $f2, 0xc0($s0)
/* 104254 802E29D4 C6040124 */ lwc1 $f4, 0x124($s0)
/* 104258 802E29D8 C60001EC */ lwc1 $f0, 0x1ec($s0)
/* 10425C 802E29DC C6060188 */ lwc1 $f6, 0x188($s0)
/* 104260 802E29E0 46000005 */ abs.s $f0, $f0
/* 104264 802E29E4 E7A20028 */ swc1 $f2, 0x28($sp)
/* 104268 802E29E8 E7A4002C */ swc1 $f4, 0x2c($sp)
/* 10426C 802E29EC E7A60030 */ swc1 $f6, 0x30($sp)
/* 104270 802E29F0 E7A00034 */ swc1 $f0, 0x34($sp)
/* 104274 802E29F4 0C0372DF */ jal func_800DCB7C
/* 104278 802E29F8 AFA20010 */ sw $v0, 0x10($sp)
/* 10427C 802E29FC 1440000B */ bnez $v0, .L802E2A2C
/* 104280 802E2A00 00000000 */ nop
/* 104284 802E2A04 C6400038 */ lwc1 $f0, 0x38($s2)
/* 104288 802E2A08 3C014348 */ lui $at, 0x4348
/* 10428C 802E2A0C 44811000 */ mtc1 $at, $f2
/* 104290 802E2A10 00000000 */ nop
/* 104294 802E2A14 46020001 */ sub.s $f0, $f0, $f2
/* 104298 802E2A18 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 10429C 802E2A1C 4600103C */ c.lt.s $f2, $f0
/* 1042A0 802E2A20 00000000 */ nop
/* 1042A4 802E2A24 4500000F */ bc1f .L802E2A64
/* 1042A8 802E2A28 00000000 */ nop
.L802E2A2C:
/* 1042AC 802E2A2C 92220040 */ lbu $v0, 0x40($s1)
/* 1042B0 802E2A30 24420001 */ addiu $v0, $v0, 1
/* 1042B4 802E2A34 A2220040 */ sb $v0, 0x40($s1)
/* 1042B8 802E2A38 C60201EC */ lwc1 $f2, 0x1ec($s0)
/* 1042BC 802E2A3C 3C013F99 */ lui $at, 0x3f99
/* 1042C0 802E2A40 3421999A */ ori $at, $at, 0x999a
/* 1042C4 802E2A44 44810000 */ mtc1 $at, $f0
/* 1042C8 802E2A48 46001085 */ abs.s $f2, $f2
/* 1042CC 802E2A4C 46001082 */ mul.s $f2, $f2, $f0
/* 1042D0 802E2A50 00000000 */ nop
/* 1042D4 802E2A54 C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 1042D8 802E2A58 46020000 */ add.s $f0, $f0, $f2
/* 1042DC 802E2A5C E61A01EC */ swc1 $f26, 0x1ec($s0)
/* 1042E0 802E2A60 E6000124 */ swc1 $f0, 0x124($s0)
.L802E2A64:
/* 1042E4 802E2A64 9222008B */ lbu $v0, 0x8b($s1)
/* 1042E8 802E2A68 44820000 */ mtc1 $v0, $f0
/* 1042EC 802E2A6C 00000000 */ nop
/* 1042F0 802E2A70 46800020 */ cvt.s.w $f0, $f0
/* 1042F4 802E2A74 46180000 */ add.s $f0, $f0, $f24
/* 1042F8 802E2A78 4600F03E */ c.le.s $f30, $f0
/* 1042FC 802E2A7C 00000000 */ nop
/* 104300 802E2A80 45010005 */ bc1t .L802E2A98
/* 104304 802E2A84 2623008B */ addiu $v1, $s1, 0x8b
/* 104308 802E2A88 4600020D */ trunc.w.s $f8, $f0
/* 10430C 802E2A8C 44024000 */ mfc1 $v0, $f8
/* 104310 802E2A90 080B8AAC */ j .L802E2AB0
/* 104314 802E2A94 A0620000 */ sb $v0, ($v1)
.L802E2A98:
/* 104318 802E2A98 461E0001 */ sub.s $f0, $f0, $f30
/* 10431C 802E2A9C 4600020D */ trunc.w.s $f8, $f0
/* 104320 802E2AA0 44024000 */ mfc1 $v0, $f8
/* 104324 802E2AA4 3C088000 */ lui $t0, 0x8000
/* 104328 802E2AA8 00481025 */ or $v0, $v0, $t0
/* 10432C 802E2AAC A0620000 */ sb $v0, ($v1)
.L802E2AB0:
/* 104330 802E2AB0 922200A4 */ lbu $v0, 0xa4($s1)
/* 104334 802E2AB4 44820000 */ mtc1 $v0, $f0
/* 104338 802E2AB8 00000000 */ nop
/* 10433C 802E2ABC 46800020 */ cvt.s.w $f0, $f0
/* 104340 802E2AC0 46180001 */ sub.s $f0, $f0, $f24
/* 104344 802E2AC4 4600F03E */ c.le.s $f30, $f0
/* 104348 802E2AC8 00000000 */ nop
/* 10434C 802E2ACC 45010005 */ bc1t .L802E2AE4
/* 104350 802E2AD0 262300A4 */ addiu $v1, $s1, 0xa4
/* 104354 802E2AD4 4600020D */ trunc.w.s $f8, $f0
/* 104358 802E2AD8 44024000 */ mfc1 $v0, $f8
/* 10435C 802E2ADC 080B8ABF */ j .L802E2AFC
/* 104360 802E2AE0 A0620000 */ sb $v0, ($v1)
.L802E2AE4:
/* 104364 802E2AE4 461E0001 */ sub.s $f0, $f0, $f30
/* 104368 802E2AE8 4600020D */ trunc.w.s $f8, $f0
/* 10436C 802E2AEC 44024000 */ mfc1 $v0, $f8
/* 104370 802E2AF0 3C088000 */ lui $t0, 0x8000
/* 104374 802E2AF4 00481025 */ or $v0, $v0, $t0
/* 104378 802E2AF8 A0620000 */ sb $v0, ($v1)
.L802E2AFC:
/* 10437C 802E2AFC 26310001 */ addiu $s1, $s1, 1
/* 104380 802E2B00 26100004 */ addiu $s0, $s0, 4
/* 104384 802E2B04 26940001 */ addiu $s4, $s4, 1
/* 104388 802E2B08 2A820018 */ slti $v0, $s4, 0x18
/* 10438C 802E2B0C 1440FEEF */ bnez $v0, .L802E26CC
/* 104390 802E2B10 26730002 */ addiu $s3, $s3, 2
/* 104394 802E2B14 9642003E */ lhu $v0, 0x3e($s2)
/* 104398 802E2B18 24420001 */ addiu $v0, $v0, 1
/* 10439C 802E2B1C A642003E */ sh $v0, 0x3e($s2)
/* 1043A0 802E2B20 00021400 */ sll $v0, $v0, 0x10
/* 1043A4 802E2B24 00021403 */ sra $v0, $v0, 0x10
/* 1043A8 802E2B28 2842000A */ slti $v0, $v0, 0xa
/* 1043AC 802E2B2C 1440000B */ bnez $v0, .L802E2B5C
/* 1043B0 802E2B30 2403000A */ addiu $v1, $zero, 0xa
/* 1043B4 802E2B34 9642003C */ lhu $v0, 0x3c($s2)
/* 1043B8 802E2B38 A643003E */ sh $v1, 0x3e($s2)
/* 1043BC 802E2B3C 2442FFF8 */ addiu $v0, $v0, -8
/* 1043C0 802E2B40 A642003C */ sh $v0, 0x3c($s2)
/* 1043C4 802E2B44 00021400 */ sll $v0, $v0, 0x10
/* 1043C8 802E2B48 1C400004 */ bgtz $v0, .L802E2B5C
/* 1043CC 802E2B4C 00000000 */ nop
/* 1043D0 802E2B50 A640003C */ sh $zero, 0x3c($s2)
/* 1043D4 802E2B54 0C043F5A */ jal func_8010FD68
/* 1043D8 802E2B58 8FA40098 */ lw $a0, 0x98($sp)
.L802E2B5C:
/* 1043DC 802E2B5C 8FBF0064 */ lw $ra, 0x64($sp)
/* 1043E0 802E2B60 8FBE0060 */ lw $fp, 0x60($sp)
/* 1043E4 802E2B64 8FB7005C */ lw $s7, 0x5c($sp)
/* 1043E8 802E2B68 8FB60058 */ lw $s6, 0x58($sp)
/* 1043EC 802E2B6C 8FB50054 */ lw $s5, 0x54($sp)
/* 1043F0 802E2B70 8FB40050 */ lw $s4, 0x50($sp)
/* 1043F4 802E2B74 8FB3004C */ lw $s3, 0x4c($sp)
/* 1043F8 802E2B78 8FB20048 */ lw $s2, 0x48($sp)
/* 1043FC 802E2B7C 8FB10044 */ lw $s1, 0x44($sp)
/* 104400 802E2B80 8FB00040 */ lw $s0, 0x40($sp)
/* 104404 802E2B84 D7BE0090 */ ldc1 $f30, 0x90($sp)
/* 104408 802E2B88 D7BC0088 */ ldc1 $f28, 0x88($sp)
/* 10440C 802E2B8C D7BA0080 */ ldc1 $f26, 0x80($sp)
/* 104410 802E2B90 D7B80078 */ ldc1 $f24, 0x78($sp)
/* 104414 802E2B94 D7B60070 */ ldc1 $f22, 0x70($sp)
/* 104418 802E2B98 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 10441C 802E2B9C 03E00008 */ jr $ra
/* 104420 802E2BA0 27BD0098 */ addiu $sp, $sp, 0x98

View File

@ -0,0 +1,202 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E2BA4
/* 104424 802E2BA4 27BDFE80 */ addiu $sp, $sp, -0x180
/* 104428 802E2BA8 AFB20130 */ sw $s2, 0x130($sp)
/* 10442C 802E2BAC 3C12800A */ lui $s2, 0x800a
/* 104430 802E2BB0 8E52A66C */ lw $s2, -0x5994($s2)
/* 104434 802E2BB4 F7BA0168 */ sdc1 $f26, 0x168($sp)
/* 104438 802E2BB8 3C0143B4 */ lui $at, 0x43b4
/* 10443C 802E2BBC 4481D000 */ mtc1 $at, $f26
/* 104440 802E2BC0 AFB70144 */ sw $s7, 0x144($sp)
/* 104444 802E2BC4 0000B82D */ daddu $s7, $zero, $zero
/* 104448 802E2BC8 F7B80160 */ sdc1 $f24, 0x160($sp)
/* 10444C 802E2BCC 3C013B80 */ lui $at, 0x3b80
/* 104450 802E2BD0 4481C000 */ mtc1 $at, $f24
/* 104454 802E2BD4 27A80098 */ addiu $t0, $sp, 0x98
/* 104458 802E2BD8 AFB60140 */ sw $s6, 0x140($sp)
/* 10445C 802E2BDC 27B600D8 */ addiu $s6, $sp, 0xd8
/* 104460 802E2BE0 AFB5013C */ sw $s5, 0x13c($sp)
/* 104464 802E2BE4 27B50058 */ addiu $s5, $sp, 0x58
/* 104468 802E2BE8 AFA80120 */ sw $t0, 0x120($sp)
/* 10446C 802E2BEC 3C080001 */ lui $t0, 1
/* 104470 802E2BF0 F7B60158 */ sdc1 $f22, 0x158($sp)
/* 104474 802E2BF4 3C013F80 */ lui $at, 0x3f80
/* 104478 802E2BF8 4481B000 */ mtc1 $at, $f22
/* 10447C 802E2BFC 35081630 */ ori $t0, $t0, 0x1630
/* 104480 802E2C00 AFBF014C */ sw $ra, 0x14c($sp)
/* 104484 802E2C04 AFBE0148 */ sw $fp, 0x148($sp)
/* 104488 802E2C08 AFB40138 */ sw $s4, 0x138($sp)
/* 10448C 802E2C0C AFB30134 */ sw $s3, 0x134($sp)
/* 104490 802E2C10 AFB1012C */ sw $s1, 0x12c($sp)
/* 104494 802E2C14 AFB00128 */ sw $s0, 0x128($sp)
/* 104498 802E2C18 F7BE0178 */ sdc1 $f30, 0x178($sp)
/* 10449C 802E2C1C F7BC0170 */ sdc1 $f28, 0x170($sp)
/* 1044A0 802E2C20 F7B40150 */ sdc1 $f20, 0x150($sp)
/* 1044A4 802E2C24 0C04417A */ jal get_entity_by_index
/* 1044A8 802E2C28 AFA80124 */ sw $t0, 0x124($sp)
/* 1044AC 802E2C2C AFA2011C */ sw $v0, 0x11c($sp)
/* 1044B0 802E2C30 8C540040 */ lw $s4, 0x40($v0)
/* 1044B4 802E2C34 4480A000 */ mtc1 $zero, $f20
/* 1044B8 802E2C38 C4400048 */ lwc1 $f0, 0x48($v0)
/* 1044BC 802E2C3C 0280982D */ daddu $s3, $s4, $zero
/* 1044C0 802E2C40 2651FFFC */ addiu $s1, $s2, -4
/* 1044C4 802E2C44 46000007 */ neg.s $f0, $f0
/* 1044C8 802E2C48 E7A00118 */ swc1 $f0, 0x118($sp)
/* 1044CC 802E2C4C C440004C */ lwc1 $f0, 0x4c($v0)
/* 1044D0 802E2C50 C4420050 */ lwc1 $f2, 0x50($v0)
/* 1044D4 802E2C54 8E9E0034 */ lw $fp, 0x34($s4)
/* 1044D8 802E2C58 46000787 */ neg.s $f30, $f0
/* 1044DC 802E2C5C 46001707 */ neg.s $f28, $f2
.L802E2C60:
/* 1044E0 802E2C60 8683003C */ lh $v1, 0x3c($s4)
/* 1044E4 802E2C64 240200FF */ addiu $v0, $zero, 0xff
/* 1044E8 802E2C68 1462000F */ bne $v1, $v0, .L802E2CA8
/* 1044EC 802E2C6C 26310008 */ addiu $s1, $s1, 8
/* 1044F0 802E2C70 3C03E200 */ lui $v1, 0xe200
/* 1044F4 802E2C74 3463001C */ ori $v1, $v1, 0x1c
/* 1044F8 802E2C78 3C020055 */ lui $v0, 0x55
/* 1044FC 802E2C7C 34422078 */ ori $v0, $v0, 0x2078
/* 104500 802E2C80 AE23FFFC */ sw $v1, -4($s1)
/* 104504 802E2C84 AE220000 */ sw $v0, ($s1)
/* 104508 802E2C88 26310008 */ addiu $s1, $s1, 8
/* 10450C 802E2C8C 26520010 */ addiu $s2, $s2, 0x10
/* 104510 802E2C90 3C03FC12 */ lui $v1, 0xfc12
/* 104514 802E2C94 34631824 */ ori $v1, $v1, 0x1824
/* 104518 802E2C98 3C02FF33 */ lui $v0, 0xff33
/* 10451C 802E2C9C 3442FFFF */ ori $v0, $v0, 0xffff
/* 104520 802E2CA0 080B8B35 */ j .L802E2CD4
/* 104524 802E2CA4 AE23FFFC */ sw $v1, -4($s1)
.L802E2CA8:
/* 104528 802E2CA8 3C03FCFF */ lui $v1, 0xfcff
/* 10452C 802E2CAC 3463C3FF */ ori $v1, $v1, 0xc3ff
/* 104530 802E2CB0 3C02FF30 */ lui $v0, 0xff30
/* 104534 802E2CB4 3442FE7F */ ori $v0, $v0, 0xfe7f
/* 104538 802E2CB8 AE23FFFC */ sw $v1, -4($s1)
/* 10453C 802E2CBC AE220000 */ sw $v0, ($s1)
/* 104540 802E2CC0 26310008 */ addiu $s1, $s1, 8
/* 104544 802E2CC4 3C02FA00 */ lui $v0, 0xfa00
/* 104548 802E2CC8 AE22FFFC */ sw $v0, -4($s1)
/* 10454C 802E2CCC 9282003D */ lbu $v0, 0x3d($s4)
/* 104550 802E2CD0 26520010 */ addiu $s2, $s2, 0x10
.L802E2CD4:
/* 104554 802E2CD4 AE220000 */ sw $v0, ($s1)
/* 104558 802E2CD8 8FA50118 */ lw $a1, 0x118($sp)
/* 10455C 802E2CDC 4406F000 */ mfc1 $a2, $f30
/* 104560 802E2CE0 4407E000 */ mfc1 $a3, $f28
/* 104564 802E2CE4 0C019E40 */ jal guTranslateF
/* 104568 802E2CE8 27A40018 */ addiu $a0, $sp, 0x18
/* 10456C 802E2CEC 02978021 */ addu $s0, $s4, $s7
/* 104570 802E2CF0 9202008B */ lbu $v0, 0x8b($s0)
/* 104574 802E2CF4 44820000 */ mtc1 $v0, $f0
/* 104578 802E2CF8 00000000 */ nop
/* 10457C 802E2CFC 46800020 */ cvt.s.w $f0, $f0
/* 104580 802E2D00 461A0002 */ mul.s $f0, $f0, $f26
/* 104584 802E2D04 00000000 */ nop
/* 104588 802E2D08 46180002 */ mul.s $f0, $f0, $f24
/* 10458C 802E2D0C 00000000 */ nop
/* 104590 802E2D10 4406B000 */ mfc1 $a2, $f22
/* 104594 802E2D14 4407A000 */ mfc1 $a3, $f20
/* 104598 802E2D18 8FA40120 */ lw $a0, 0x120($sp)
/* 10459C 802E2D1C 44050000 */ mfc1 $a1, $f0
/* 1045A0 802E2D20 0C019EC8 */ jal guRotateF
/* 1045A4 802E2D24 E7B40010 */ swc1 $f20, 0x10($sp)
/* 1045A8 802E2D28 920200A4 */ lbu $v0, 0xa4($s0)
/* 1045AC 802E2D2C 44820000 */ mtc1 $v0, $f0
/* 1045B0 802E2D30 00000000 */ nop
/* 1045B4 802E2D34 46800020 */ cvt.s.w $f0, $f0
/* 1045B8 802E2D38 461A0002 */ mul.s $f0, $f0, $f26
/* 1045BC 802E2D3C 00000000 */ nop
/* 1045C0 802E2D40 26310008 */ addiu $s1, $s1, 8
/* 1045C4 802E2D44 46180002 */ mul.s $f0, $f0, $f24
/* 1045C8 802E2D48 00000000 */ nop
/* 1045CC 802E2D4C 26520018 */ addiu $s2, $s2, 0x18
/* 1045D0 802E2D50 26F70001 */ addiu $s7, $s7, 1
/* 1045D4 802E2D54 4406A000 */ mfc1 $a2, $f20
/* 1045D8 802E2D58 4407B000 */ mfc1 $a3, $f22
/* 1045DC 802E2D5C 44050000 */ mfc1 $a1, $f0
/* 1045E0 802E2D60 02C0202D */ daddu $a0, $s6, $zero
/* 1045E4 802E2D64 0C019EC8 */ jal guRotateF
/* 1045E8 802E2D68 E7B40010 */ swc1 $f20, 0x10($sp)
/* 1045EC 802E2D6C 02C0282D */ daddu $a1, $s6, $zero
/* 1045F0 802E2D70 8FA40120 */ lw $a0, 0x120($sp)
/* 1045F4 802E2D74 0C019D80 */ jal guMtxCatF
/* 1045F8 802E2D78 02C0302D */ daddu $a2, $s6, $zero
/* 1045FC 802E2D7C 02C0202D */ daddu $a0, $s6, $zero
/* 104600 802E2D80 27A50018 */ addiu $a1, $sp, 0x18
/* 104604 802E2D84 0C019D80 */ jal guMtxCatF
/* 104608 802E2D88 00A0302D */ daddu $a2, $a1, $zero
/* 10460C 802E2D8C 02A0202D */ daddu $a0, $s5, $zero
/* 104610 802E2D90 8E6500C0 */ lw $a1, 0xc0($s3)
/* 104614 802E2D94 8E660124 */ lw $a2, 0x124($s3)
/* 104618 802E2D98 8E670188 */ lw $a3, 0x188($s3)
/* 10461C 802E2D9C 0C019E40 */ jal guTranslateF
/* 104620 802E2DA0 26730004 */ addiu $s3, $s3, 4
/* 104624 802E2DA4 27A40018 */ addiu $a0, $sp, 0x18
/* 104628 802E2DA8 02A0282D */ daddu $a1, $s5, $zero
/* 10462C 802E2DAC 0C019D80 */ jal guMtxCatF
/* 104630 802E2DB0 02A0302D */ daddu $a2, $s5, $zero
/* 104634 802E2DB4 02A0202D */ daddu $a0, $s5, $zero
/* 104638 802E2DB8 3C058007 */ lui $a1, 0x8007
/* 10463C 802E2DBC 94A541F0 */ lhu $a1, 0x41f0($a1)
/* 104640 802E2DC0 3C02800A */ lui $v0, 0x800a
/* 104644 802E2DC4 8C42A674 */ lw $v0, -0x598c($v0)
/* 104648 802E2DC8 8FA80124 */ lw $t0, 0x124($sp)
/* 10464C 802E2DCC 00052980 */ sll $a1, $a1, 6
/* 104650 802E2DD0 00A82821 */ addu $a1, $a1, $t0
/* 104654 802E2DD4 0C019D40 */ jal guMtxF2L
/* 104658 802E2DD8 00452821 */ addu $a1, $v0, $a1
/* 10465C 802E2DDC 3C05D838 */ lui $a1, 0xd838
/* 104660 802E2DE0 34A50002 */ ori $a1, $a1, 2
/* 104664 802E2DE4 3C028007 */ lui $v0, 0x8007
/* 104668 802E2DE8 944241F0 */ lhu $v0, 0x41f0($v0)
/* 10466C 802E2DEC 3C03DA38 */ lui $v1, 0xda38
/* 104670 802E2DF0 AE23FFFC */ sw $v1, -4($s1)
/* 104674 802E2DF4 8FA80124 */ lw $t0, 0x124($sp)
/* 104678 802E2DF8 24430001 */ addiu $v1, $v0, 1
/* 10467C 802E2DFC 3042FFFF */ andi $v0, $v0, 0xffff
/* 104680 802E2E00 00021180 */ sll $v0, $v0, 6
/* 104684 802E2E04 3C018007 */ lui $at, 0x8007
/* 104688 802E2E08 A42341F0 */ sh $v1, 0x41f0($at)
/* 10468C 802E2E0C 3C03800A */ lui $v1, 0x800a
/* 104690 802E2E10 8C63A674 */ lw $v1, -0x598c($v1)
/* 104694 802E2E14 00481021 */ addu $v0, $v0, $t0
/* 104698 802E2E18 00621821 */ addu $v1, $v1, $v0
/* 10469C 802E2E1C AE230000 */ sw $v1, ($s1)
/* 1046A0 802E2E20 97C40002 */ lhu $a0, 2($fp)
/* 1046A4 802E2E24 27DE0004 */ addiu $fp, $fp, 4
/* 1046A8 802E2E28 8FA8011C */ lw $t0, 0x11c($sp)
/* 1046AC 802E2E2C 26310008 */ addiu $s1, $s1, 8
/* 1046B0 802E2E30 8D030044 */ lw $v1, 0x44($t0)
/* 1046B4 802E2E34 3C02DE00 */ lui $v0, 0xde00
/* 1046B8 802E2E38 AE22FFFC */ sw $v0, -4($s1)
/* 1046BC 802E2E3C 24020040 */ addiu $v0, $zero, 0x40
/* 1046C0 802E2E40 00641821 */ addu $v1, $v1, $a0
/* 1046C4 802E2E44 AE230000 */ sw $v1, ($s1)
/* 1046C8 802E2E48 26310008 */ addiu $s1, $s1, 8
/* 1046CC 802E2E4C AE220000 */ sw $v0, ($s1)
/* 1046D0 802E2E50 2AE20018 */ slti $v0, $s7, 0x18
/* 1046D4 802E2E54 1440FF82 */ bnez $v0, .L802E2C60
/* 1046D8 802E2E58 AE25FFFC */ sw $a1, -4($s1)
/* 1046DC 802E2E5C 8FBF014C */ lw $ra, 0x14c($sp)
/* 1046E0 802E2E60 8FBE0148 */ lw $fp, 0x148($sp)
/* 1046E4 802E2E64 8FB70144 */ lw $s7, 0x144($sp)
/* 1046E8 802E2E68 8FB60140 */ lw $s6, 0x140($sp)
/* 1046EC 802E2E6C 8FB5013C */ lw $s5, 0x13c($sp)
/* 1046F0 802E2E70 8FB40138 */ lw $s4, 0x138($sp)
/* 1046F4 802E2E74 8FB30134 */ lw $s3, 0x134($sp)
/* 1046F8 802E2E78 3C01800A */ lui $at, 0x800a
/* 1046FC 802E2E7C AC32A66C */ sw $s2, -0x5994($at)
/* 104700 802E2E80 8FB20130 */ lw $s2, 0x130($sp)
/* 104704 802E2E84 8FB1012C */ lw $s1, 0x12c($sp)
/* 104708 802E2E88 8FB00128 */ lw $s0, 0x128($sp)
/* 10470C 802E2E8C D7BE0178 */ ldc1 $f30, 0x178($sp)
/* 104710 802E2E90 D7BC0170 */ ldc1 $f28, 0x170($sp)
/* 104714 802E2E94 D7BA0168 */ ldc1 $f26, 0x168($sp)
/* 104718 802E2E98 D7B80160 */ ldc1 $f24, 0x160($sp)
/* 10471C 802E2E9C D7B60158 */ ldc1 $f22, 0x158($sp)
/* 104720 802E2EA0 D7B40150 */ ldc1 $f20, 0x150($sp)
/* 104724 802E2EA4 03E00008 */ jr $ra
/* 104728 802E2EA8 27BD0180 */ addiu $sp, $sp, 0x180
/* 10472C 802E2EAC 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_802E2EB0
/* 104730 802E2EB0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 104734 802E2EB4 AFB1001C */ sw $s1, 0x1c($sp)
/* 104738 802E2EB8 0080882D */ daddu $s1, $a0, $zero
/* 10473C 802E2EBC AFBF0024 */ sw $ra, 0x24($sp)
/* 104740 802E2EC0 AFB20020 */ sw $s2, 0x20($sp)
/* 104744 802E2EC4 AFB00018 */ sw $s0, 0x18($sp)
/* 104748 802E2EC8 8E220040 */ lw $v0, 0x40($s1)
/* 10474C 802E2ECC C620004C */ lwc1 $f0, 0x4c($s1)
/* 104750 802E2ED0 0000802D */ daddu $s0, $zero, $zero
/* 104754 802E2ED4 E4400038 */ swc1 $f0, 0x38($v0)
/* 104758 802E2ED8 92240004 */ lbu $a0, 4($s1)
/* 10475C 802E2EDC 0C0441A9 */ jal get_entity_type
/* 104760 802E2EE0 0200902D */ daddu $s2, $s0, $zero
/* 104764 802E2EE4 0040182D */ daddu $v1, $v0, $zero
/* 104768 802E2EE8 2462FFE8 */ addiu $v0, $v1, -0x18
/* 10476C 802E2EEC 2C420003 */ sltiu $v0, $v0, 3
/* 104770 802E2EF0 10400007 */ beqz $v0, .L802E2F10
/* 104774 802E2EF4 2463FFF3 */ addiu $v1, $v1, -0xd
/* 104778 802E2EF8 3C013F00 */ lui $at, 0x3f00
/* 10477C 802E2EFC 44810000 */ mtc1 $at, $f0
/* 104780 802E2F00 00000000 */ nop
/* 104784 802E2F04 E6200054 */ swc1 $f0, 0x54($s1)
/* 104788 802E2F08 E6200058 */ swc1 $f0, 0x58($s1)
/* 10478C 802E2F0C E620005C */ swc1 $f0, 0x5c($s1)
.L802E2F10:
/* 104790 802E2F10 2C62000E */ sltiu $v0, $v1, 0xe
/* 104794 802E2F14 10400023 */ beqz $v0, .L802E2FA4
/* 104798 802E2F18 00031080 */ sll $v0, $v1, 2
/* 10479C 802E2F1C 3C01802F */ lui $at, 0x802f
/* 1047A0 802E2F20 00220821 */ addu $at, $at, $v0
/* 1047A4 802E2F24 8C22B160 */ lw $v0, -0x4ea0($at)
/* 1047A8 802E2F28 00400008 */ jr $v0
/* 1047AC 802E2F2C 00000000 */ nop
/* 1047B0 802E2F30 3C120A00 */ lui $s2, 0xa00
/* 1047B4 802E2F34 265231E0 */ addiu $s2, $s2, 0x31e0
/* 1047B8 802E2F38 3C100A00 */ lui $s0, 0xa00
/* 1047BC 802E2F3C 26101508 */ addiu $s0, $s0, 0x1508
/* 1047C0 802E2F40 080B8BE9 */ j .L802E2FA4
/* 1047C4 802E2F44 00000000 */ nop
/* 1047C8 802E2F48 3C120A00 */ lui $s2, 0xa00
/* 1047CC 802E2F4C 265231B0 */ addiu $s2, $s2, 0x31b0
/* 1047D0 802E2F50 3C100A00 */ lui $s0, 0xa00
/* 1047D4 802E2F54 261014D8 */ addiu $s0, $s0, 0x14d8
/* 1047D8 802E2F58 080B8BE9 */ j .L802E2FA4
/* 1047DC 802E2F5C 00000000 */ nop
/* 1047E0 802E2F60 3C120A00 */ lui $s2, 0xa00
/* 1047E4 802E2F64 26522F78 */ addiu $s2, $s2, 0x2f78
/* 1047E8 802E2F68 3C100A00 */ lui $s0, 0xa00
/* 1047EC 802E2F6C 26101218 */ addiu $s0, $s0, 0x1218
/* 1047F0 802E2F70 080B8BE9 */ j .L802E2FA4
/* 1047F4 802E2F74 00000000 */ nop
/* 1047F8 802E2F78 24040158 */ addiu $a0, $zero, 0x158
/* 1047FC 802E2F7C C6200050 */ lwc1 $f0, 0x50($s1)
/* 104800 802E2F80 3C120A00 */ lui $s2, 0xa00
/* 104804 802E2F84 26523F70 */ addiu $s2, $s2, 0x3f70
/* 104808 802E2F88 E7A00010 */ swc1 $f0, 0x10($sp)
/* 10480C 802E2F8C 8E260048 */ lw $a2, 0x48($s1)
/* 104810 802E2F90 8E27004C */ lw $a3, 0x4c($s1)
/* 104814 802E2F94 3C100A00 */ lui $s0, 0xa00
/* 104818 802E2F98 26102318 */ addiu $s0, $s0, 0x2318
/* 10481C 802E2F9C 0C052757 */ jal play_sound_at_position
/* 104820 802E2FA0 0000282D */ daddu $a1, $zero, $zero
.L802E2FA4:
/* 104824 802E2FA4 12000004 */ beqz $s0, .L802E2FB8
/* 104828 802E2FA8 0220202D */ daddu $a0, $s1, $zero
/* 10482C 802E2FAC 0240282D */ daddu $a1, $s2, $zero
/* 104830 802E2FB0 0C0B891B */ jal func_802E246C
/* 104834 802E2FB4 0200302D */ daddu $a2, $s0, $zero
.L802E2FB8:
/* 104838 802E2FB8 8FBF0024 */ lw $ra, 0x24($sp)
/* 10483C 802E2FBC 8FB20020 */ lw $s2, 0x20($sp)
/* 104840 802E2FC0 8FB1001C */ lw $s1, 0x1c($sp)
/* 104844 802E2FC4 8FB00018 */ lw $s0, 0x18($sp)
/* 104848 802E2FC8 03E00008 */ jr $ra
/* 10484C 802E2FCC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,66 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E2FD0
/* 104850 802E2FD0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 104854 802E2FD4 AFB1001C */ sw $s1, 0x1c($sp)
/* 104858 802E2FD8 0080882D */ daddu $s1, $a0, $zero
/* 10485C 802E2FDC AFBF0020 */ sw $ra, 0x20($sp)
/* 104860 802E2FE0 AFB00018 */ sw $s0, 0x18($sp)
/* 104864 802E2FE4 92240004 */ lbu $a0, 4($s1)
/* 104868 802E2FE8 0C0441A9 */ jal get_entity_type
/* 10486C 802E2FEC 0000802D */ daddu $s0, $zero, $zero
/* 104870 802E2FF0 2443FFF3 */ addiu $v1, $v0, -0xd
/* 104874 802E2FF4 2C62000E */ sltiu $v0, $v1, 0xe
/* 104878 802E2FF8 1040001A */ beqz $v0, .L802E3064
/* 10487C 802E2FFC 00031080 */ sll $v0, $v1, 2
/* 104880 802E3000 3C01802F */ lui $at, 0x802f
/* 104884 802E3004 00220821 */ addu $at, $at, $v0
/* 104888 802E3008 8C22B198 */ lw $v0, -0x4e68($at)
/* 10488C 802E300C 00400008 */ jr $v0
/* 104890 802E3010 00000000 */ nop
/* 104894 802E3014 3C10802F */ lui $s0, 0x802f
/* 104898 802E3018 080B8C19 */ j .L802E3064
/* 10489C 802E301C 26109C8C */ addiu $s0, $s0, -0x6374
/* 1048A0 802E3020 3C10802F */ lui $s0, 0x802f
/* 1048A4 802E3024 080B8C19 */ j .L802E3064
/* 1048A8 802E3028 26109CF8 */ addiu $s0, $s0, -0x6308
/* 1048AC 802E302C 3C10802F */ lui $s0, 0x802f
/* 1048B0 802E3030 080B8C19 */ j .L802E3064
/* 1048B4 802E3034 26109CB0 */ addiu $s0, $s0, -0x6350
/* 1048B8 802E3038 3C10802F */ lui $s0, 0x802f
/* 1048BC 802E303C 080B8C19 */ j .L802E3064
/* 1048C0 802E3040 26109D1C */ addiu $s0, $s0, -0x62e4
/* 1048C4 802E3044 3C10802F */ lui $s0, 0x802f
/* 1048C8 802E3048 080B8C19 */ j .L802E3064
/* 1048CC 802E304C 26109CD4 */ addiu $s0, $s0, -0x632c
/* 1048D0 802E3050 3C10802F */ lui $s0, 0x802f
/* 1048D4 802E3054 080B8C19 */ j .L802E3064
/* 1048D8 802E3058 26109D40 */ addiu $s0, $s0, -0x62c0
/* 1048DC 802E305C 3C10802F */ lui $s0, 0x802f
/* 1048E0 802E3060 26109D64 */ addiu $s0, $s0, -0x629c
.L802E3064:
/* 1048E4 802E3064 1200000E */ beqz $s0, .L802E30A0
/* 1048E8 802E3068 0200202D */ daddu $a0, $s0, $zero
/* 1048EC 802E306C C6200048 */ lwc1 $f0, 0x48($s1)
/* 1048F0 802E3070 C622004C */ lwc1 $f2, 0x4c($s1)
/* 1048F4 802E3074 C6240050 */ lwc1 $f4, 0x50($s1)
/* 1048F8 802E3078 3C028000 */ lui $v0, 0x8000
/* 1048FC 802E307C AFA00010 */ sw $zero, 0x10($sp)
/* 104900 802E3080 4600018D */ trunc.w.s $f6, $f0
/* 104904 802E3084 44053000 */ mfc1 $a1, $f6
/* 104908 802E3088 4600118D */ trunc.w.s $f6, $f2
/* 10490C 802E308C 44063000 */ mfc1 $a2, $f6
/* 104910 802E3090 4600218D */ trunc.w.s $f6, $f4
/* 104914 802E3094 44073000 */ mfc1 $a3, $f6
/* 104918 802E3098 0C044631 */ jal create_entity
/* 10491C 802E309C AFA20014 */ sw $v0, 0x14($sp)
.L802E30A0:
/* 104920 802E30A0 8FBF0020 */ lw $ra, 0x20($sp)
/* 104924 802E30A4 8FB1001C */ lw $s1, 0x1c($sp)
/* 104928 802E30A8 8FB00018 */ lw $s0, 0x18($sp)
/* 10492C 802E30AC 03E00008 */ jr $ra
/* 104930 802E30B0 27BD0028 */ addiu $sp, $sp, 0x28
/* 104934 802E30B4 00000000 */ nop
/* 104938 802E30B8 00000000 */ nop
/* 10493C 802E30BC 00000000 */ nop

View File

@ -0,0 +1,26 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035000
/* 10400 80035000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10404 80035004 AFB00010 */ sw $s0, 0x10($sp)
/* 10408 80035008 3C10800A */ lui $s0, 0x800a
/* 1040C 8003500C 26100932 */ addiu $s0, $s0, 0x932
/* 10410 80035010 AFBF0014 */ sw $ra, 0x14($sp)
/* 10414 80035014 3C01800A */ lui $at, 0x800a
/* 10418 80035018 A0200931 */ sb $zero, 0x931($at)
/* 1041C 8003501C 0C03805E */ jal disable_player_input
/* 10420 80035020 A6000000 */ sh $zero, ($s0)
/* 10424 80035024 0C009C22 */ jal func_80027088
/* 10428 80035028 24040002 */ addiu $a0, $zero, 2
/* 1042C 8003502C 86020000 */ lh $v0, ($s0)
/* 10430 80035030 44820000 */ mtc1 $v0, $f0
/* 10434 80035034 00000000 */ nop
/* 10438 80035038 46800020 */ cvt.s.w $f0, $f0
/* 1043C 8003503C 44050000 */ mfc1 $a1, $f0
/* 10440 80035040 0C04DF62 */ jal func_80137D88
/* 10444 80035044 0000202D */ daddu $a0, $zero, $zero
/* 10448 80035048 8FBF0014 */ lw $ra, 0x14($sp)
/* 1044C 8003504C 8FB00010 */ lw $s0, 0x10($sp)
/* 10450 80035050 03E00008 */ jr $ra
/* 10454 80035054 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,28 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035000_2
/* 010400 80035000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 010404 80035004 AFB00010 */ sw $s0, 0x10($sp)
/* 010408 80035008 3C10800A */ lui $s0, 0x800a
/* 01040C 8003500C 26100932 */ addiu $s0, $s0, 0x932
/* 010410 80035010 AFBF0014 */ sw $ra, 0x14($sp)
/* 010414 80035014 3C01800A */ lui $at, 0x800a
/* 010418 80035018 A0200931 */ sb $zero, 0x931($at)
/* 01041C 8003501C 0C03805E */ jal func_800E0178
/* 010420 80035020 A6000000 */ sh $zero, ($s0)
/* 010424 80035024 0C009C22 */ jal func_80027088
/* 010428 80035028 24040002 */ addiu $a0, $zero, 2
/* 01042C 8003502C 86020000 */ lh $v0, ($s0)
/* 010430 80035030 44820000 */ mtc1 $v0, $f0
/* 010434 80035034 00000000 */ nop
/* 010438 80035038 46800020 */ cvt.s.w $f0, $f0
/* 01043C 8003503C 44050000 */ mfc1 $a1, $f0
/* 010440 80035040 0C04DF62 */ jal func_80137D88
/* 010444 80035044 0000202D */ daddu $a0, $zero, $zero
/* 010448 80035048 8FBF0014 */ lw $ra, 0x14($sp)
/* 01044C 8003504C 8FB00010 */ lw $s0, 0x10($sp)
/* 010450 80035050 03E00008 */ jr $ra
/* 010454 80035054 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,96 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035058
/* 10458 80035058 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 1045C 8003505C AFBF001C */ sw $ra, 0x1c($sp)
/* 10460 80035060 AFB00018 */ sw $s0, 0x18($sp)
/* 10464 80035064 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 10468 80035068 3C01800A */ lui $at, 0x800a
/* 1046C 8003506C A0200931 */ sb $zero, 0x931($at)
/* 10470 80035070 3C01800A */ lui $at, 0x800a
/* 10474 80035074 A4200932 */ sh $zero, 0x932($at)
/* 10478 80035078 0C03805E */ jal disable_player_input
/* 1047C 8003507C 00000000 */ nop
/* 10480 80035080 0C009C22 */ jal func_80027088
/* 10484 80035084 24040002 */ addiu $a0, $zero, 2
/* 10488 80035088 0C00AB00 */ jal general_heap_create
/* 1048C 8003508C 00000000 */ nop
/* 10490 80035090 0000202D */ daddu $a0, $zero, $zero
/* 10494 80035094 0C0514BA */ jal func_801452E8
/* 10498 80035098 0080282D */ daddu $a1, $a0, $zero
/* 1049C 8003509C 0C050440 */ jal func_80141100
/* 104A0 800350A0 00000000 */ nop
/* 104A4 800350A4 0000202D */ daddu $a0, $zero, $zero
/* 104A8 800350A8 0080282D */ daddu $a1, $a0, $zero
/* 104AC 800350AC 0C045709 */ jal load_model_textures
/* 104B0 800350B0 0080302D */ daddu $a2, $a0, $zero
/* 104B4 800350B4 0000202D */ daddu $a0, $zero, $zero
/* 104B8 800350B8 2405000C */ addiu $a1, $zero, 0xc
/* 104BC 800350BC 2406001C */ addiu $a2, $zero, 0x1c
/* 104C0 800350C0 3C10800B */ lui $s0, 0x800b
/* 104C4 800350C4 26101D80 */ addiu $s0, $s0, 0x1d80
/* 104C8 800350C8 24020006 */ addiu $v0, $zero, 6
/* 104CC 800350CC A6020004 */ sh $v0, 4($s0)
/* 104D0 800350D0 24020001 */ addiu $v0, $zero, 1
/* 104D4 800350D4 A6020006 */ sh $v0, 6($s0)
/* 104D8 800350D8 24020010 */ addiu $v0, $zero, 0x10
/* 104DC 800350DC A6020012 */ sh $v0, 0x12($s0)
/* 104E0 800350E0 24021000 */ addiu $v0, $zero, 0x1000
/* 104E4 800350E4 A6020014 */ sh $v0, 0x14($s0)
/* 104E8 800350E8 96020000 */ lhu $v0, ($s0)
/* 104EC 800350EC 240300B8 */ addiu $v1, $zero, 0xb8
/* 104F0 800350F0 AFA30010 */ sw $v1, 0x10($sp)
/* 104F4 800350F4 96030AB0 */ lhu $v1, 0xab0($s0)
/* 104F8 800350F8 3C0141C8 */ lui $at, 0x41c8
/* 104FC 800350FC 4481A000 */ mtc1 $at, $f20
/* 10500 80035100 34420002 */ ori $v0, $v0, 2
/* 10504 80035104 A6020000 */ sh $v0, ($s0)
/* 10508 80035108 96020558 */ lhu $v0, 0x558($s0)
/* 1050C 8003510C 24070128 */ addiu $a3, $zero, 0x128
/* 10510 80035110 3C018007 */ lui $at, 0x8007
/* 10514 80035114 AC207410 */ sw $zero, 0x7410($at)
/* 10518 80035118 34420002 */ ori $v0, $v0, 2
/* 1051C 8003511C A6020558 */ sh $v0, 0x558($s0)
/* 10520 80035120 96021008 */ lhu $v0, 0x1008($s0)
/* 10524 80035124 34630002 */ ori $v1, $v1, 2
/* 10528 80035128 A6030AB0 */ sh $v1, 0xab0($s0)
/* 1052C 8003512C E6140018 */ swc1 $f20, 0x18($s0)
/* 10530 80035130 34420002 */ ori $v0, $v0, 2
/* 10534 80035134 0C00B8C5 */ jal set_cam_viewport
/* 10538 80035138 A6021008 */ sh $v0, 0x1008($s0)
/* 1053C 8003513C 24020028 */ addiu $v0, $zero, 0x28
/* 10540 80035140 A602001E */ sh $v0, 0x1e($s0)
/* 10544 80035144 24020064 */ addiu $v0, $zero, 0x64
/* 10548 80035148 3C0143FA */ lui $at, 0x43fa
/* 1054C 8003514C 44810000 */ mtc1 $at, $f0
/* 10550 80035150 3C01447A */ lui $at, 0x447a
/* 10554 80035154 44811000 */ mtc1 $at, $f2
/* 10558 80035158 3C0144BB */ lui $at, 0x44bb
/* 1055C 8003515C 34218000 */ ori $at, $at, 0x8000
/* 10560 80035160 44812000 */ mtc1 $at, $f4
/* 10564 80035164 3C014316 */ lui $at, 0x4316
/* 10568 80035168 44813000 */ mtc1 $at, $f6
/* 1056C 8003516C 3C04800A */ lui $a0, 0x800a
/* 10570 80035170 2484A650 */ addiu $a0, $a0, -0x59b0
/* 10574 80035174 A600002C */ sh $zero, 0x2c($s0)
/* 10578 80035178 A600002E */ sh $zero, 0x2e($s0)
/* 1057C 8003517C A6000030 */ sh $zero, 0x30($s0)
/* 10580 80035180 E6140054 */ swc1 $f20, 0x54($s0)
/* 10584 80035184 E6140058 */ swc1 $f20, 0x58($s0)
/* 10588 80035188 A600001C */ sh $zero, 0x1c($s0)
/* 1058C 8003518C A6020020 */ sh $v0, 0x20($s0)
/* 10590 80035190 A6000022 */ sh $zero, 0x22($s0)
/* 10594 80035194 E600003C */ swc1 $f0, 0x3c($s0)
/* 10598 80035198 E6020040 */ swc1 $f2, 0x40($s0)
/* 1059C 8003519C E6040044 */ swc1 $f4, 0x44($s0)
/* 105A0 800351A0 E606005C */ swc1 $f6, 0x5c($s0)
/* 105A4 800351A4 8C820000 */ lw $v0, ($a0)
/* 105A8 800351A8 3C030001 */ lui $v1, 1
/* 105AC 800351AC 00431025 */ or $v0, $v0, $v1
/* 105B0 800351B0 AC820000 */ sw $v0, ($a0)
/* 105B4 800351B4 8FBF001C */ lw $ra, 0x1c($sp)
/* 105B8 800351B8 8FB00018 */ lw $s0, 0x18($sp)
/* 105BC 800351BC D7B40020 */ ldc1 $f20, 0x20($sp)
/* 105C0 800351C0 03E00008 */ jr $ra
/* 105C4 800351C4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,98 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035058_2
/* 010458 80035058 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 01045C 8003505C AFBF001C */ sw $ra, 0x1c($sp)
/* 010460 80035060 AFB00018 */ sw $s0, 0x18($sp)
/* 010464 80035064 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 010468 80035068 3C01800A */ lui $at, 0x800a
/* 01046C 8003506C A0200931 */ sb $zero, 0x931($at)
/* 010470 80035070 3C01800A */ lui $at, 0x800a
/* 010474 80035074 A4200932 */ sh $zero, 0x932($at)
/* 010478 80035078 0C03805E */ jal func_800E0178
/* 01047C 8003507C 00000000 */ nop
/* 010480 80035080 0C009C22 */ jal func_80027088
/* 010484 80035084 24040002 */ addiu $a0, $zero, 2
/* 010488 80035088 0C00AB00 */ jal general_heap_create
/* 01048C 8003508C 00000000 */ nop
/* 010490 80035090 0000202D */ daddu $a0, $zero, $zero
/* 010494 80035094 0C0514BA */ jal func_801452E8
/* 010498 80035098 0080282D */ daddu $a1, $a0, $zero
/* 01049C 8003509C 0C050440 */ jal func_80141100
/* 0104A0 800350A0 00000000 */ nop
/* 0104A4 800350A4 0000202D */ daddu $a0, $zero, $zero
/* 0104A8 800350A8 0080282D */ daddu $a1, $a0, $zero
/* 0104AC 800350AC 0C045709 */ jal load_model_textures
/* 0104B0 800350B0 0080302D */ daddu $a2, $a0, $zero
/* 0104B4 800350B4 0000202D */ daddu $a0, $zero, $zero
/* 0104B8 800350B8 2405000C */ addiu $a1, $zero, 0xc
/* 0104BC 800350BC 2406001C */ addiu $a2, $zero, 0x1c
/* 0104C0 800350C0 3C10800B */ lui $s0, 0x800b
/* 0104C4 800350C4 26101D80 */ addiu $s0, $s0, 0x1d80
/* 0104C8 800350C8 24020006 */ addiu $v0, $zero, 6
/* 0104CC 800350CC A6020004 */ sh $v0, 4($s0)
/* 0104D0 800350D0 24020001 */ addiu $v0, $zero, 1
/* 0104D4 800350D4 A6020006 */ sh $v0, 6($s0)
/* 0104D8 800350D8 24020010 */ addiu $v0, $zero, 0x10
/* 0104DC 800350DC A6020012 */ sh $v0, 0x12($s0)
/* 0104E0 800350E0 24021000 */ addiu $v0, $zero, 0x1000
/* 0104E4 800350E4 A6020014 */ sh $v0, 0x14($s0)
/* 0104E8 800350E8 96020000 */ lhu $v0, ($s0)
/* 0104EC 800350EC 240300B8 */ addiu $v1, $zero, 0xb8
/* 0104F0 800350F0 AFA30010 */ sw $v1, 0x10($sp)
/* 0104F4 800350F4 96030AB0 */ lhu $v1, 0xab0($s0)
/* 0104F8 800350F8 3C0141C8 */ lui $at, 0x41c8
/* 0104FC 800350FC 4481A000 */ mtc1 $at, $f20
/* 010500 80035100 34420002 */ ori $v0, $v0, 2
/* 010504 80035104 A6020000 */ sh $v0, ($s0)
/* 010508 80035108 96020558 */ lhu $v0, 0x558($s0)
/* 01050C 8003510C 24070128 */ addiu $a3, $zero, 0x128
/* 010510 80035110 3C018007 */ lui $at, 0x8007
/* 010514 80035114 AC207410 */ sw $zero, 0x7410($at)
/* 010518 80035118 34420002 */ ori $v0, $v0, 2
/* 01051C 8003511C A6020558 */ sh $v0, 0x558($s0)
/* 010520 80035120 96021008 */ lhu $v0, 0x1008($s0)
/* 010524 80035124 34630002 */ ori $v1, $v1, 2
/* 010528 80035128 A6030AB0 */ sh $v1, 0xab0($s0)
/* 01052C 8003512C E6140018 */ swc1 $f20, 0x18($s0)
/* 010530 80035130 34420002 */ ori $v0, $v0, 2
/* 010534 80035134 0C00B8C5 */ jal set_cam_viewport
/* 010538 80035138 A6021008 */ sh $v0, 0x1008($s0)
/* 01053C 8003513C 24020028 */ addiu $v0, $zero, 0x28
/* 010540 80035140 A602001E */ sh $v0, 0x1e($s0)
/* 010544 80035144 24020064 */ addiu $v0, $zero, 0x64
/* 010548 80035148 3C0143FA */ lui $at, 0x43fa
/* 01054C 8003514C 44810000 */ mtc1 $at, $f0
/* 010550 80035150 3C01447A */ lui $at, 0x447a
/* 010554 80035154 44811000 */ mtc1 $at, $f2
/* 010558 80035158 3C0144BB */ lui $at, 0x44bb
/* 01055C 8003515C 34218000 */ ori $at, $at, 0x8000
/* 010560 80035160 44812000 */ mtc1 $at, $f4
/* 010564 80035164 3C014316 */ lui $at, 0x4316
/* 010568 80035168 44813000 */ mtc1 $at, $f6
/* 01056C 8003516C 3C04800A */ lui $a0, 0x800a
/* 010570 80035170 2484A650 */ addiu $a0, $a0, -0x59b0
/* 010574 80035174 A600002C */ sh $zero, 0x2c($s0)
/* 010578 80035178 A600002E */ sh $zero, 0x2e($s0)
/* 01057C 8003517C A6000030 */ sh $zero, 0x30($s0)
/* 010580 80035180 E6140054 */ swc1 $f20, 0x54($s0)
/* 010584 80035184 E6140058 */ swc1 $f20, 0x58($s0)
/* 010588 80035188 A600001C */ sh $zero, 0x1c($s0)
/* 01058C 8003518C A6020020 */ sh $v0, 0x20($s0)
/* 010590 80035190 A6000022 */ sh $zero, 0x22($s0)
/* 010594 80035194 E600003C */ swc1 $f0, 0x3c($s0)
/* 010598 80035198 E6020040 */ swc1 $f2, 0x40($s0)
/* 01059C 8003519C E6040044 */ swc1 $f4, 0x44($s0)
/* 0105A0 800351A0 E606005C */ swc1 $f6, 0x5c($s0)
/* 0105A4 800351A4 8C820000 */ lw $v0, ($a0)
/* 0105A8 800351A8 3C030001 */ lui $v1, 1
/* 0105AC 800351AC 00431025 */ or $v0, $v0, $v1
/* 0105B0 800351B0 AC820000 */ sw $v0, ($a0)
/* 0105B4 800351B4 8FBF001C */ lw $ra, 0x1c($sp)
/* 0105B8 800351B8 8FB00018 */ lw $s0, 0x18($sp)
/* 0105BC 800351BC D7B40020 */ ldc1 $f20, 0x20($sp)
/* 0105C0 800351C0 03E00008 */ jr $ra
/* 0105C4 800351C4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,217 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800351C8
/* 105C8 800351C8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 105CC 800351CC AFB10014 */ sw $s1, 0x14($sp)
/* 105D0 800351D0 3C11800A */ lui $s1, 0x800a
/* 105D4 800351D4 26310931 */ addiu $s1, $s1, 0x931
/* 105D8 800351D8 AFBF0020 */ sw $ra, 0x20($sp)
/* 105DC 800351DC AFB3001C */ sw $s3, 0x1c($sp)
/* 105E0 800351E0 AFB20018 */ sw $s2, 0x18($sp)
/* 105E4 800351E4 AFB00010 */ sw $s0, 0x10($sp)
/* 105E8 800351E8 82230000 */ lb $v1, ($s1)
/* 105EC 800351EC 24120001 */ addiu $s2, $zero, 1
/* 105F0 800351F0 10720030 */ beq $v1, $s2, .L800352B4
/* 105F4 800351F4 28620002 */ slti $v0, $v1, 2
/* 105F8 800351F8 10400005 */ beqz $v0, .L80035210
/* 105FC 800351FC 24130002 */ addiu $s3, $zero, 2
/* 10600 80035200 10600009 */ beqz $v1, .L80035228
/* 10604 80035204 00000000 */ nop
/* 10608 80035208 0800D534 */ j .L800354D0
/* 1060C 8003520C 00000000 */ nop
.L80035210:
/* 10610 80035210 10730033 */ beq $v1, $s3, .L800352E0
/* 10614 80035214 24020003 */ addiu $v0, $zero, 3
/* 10618 80035218 10620055 */ beq $v1, $v0, .L80035370
/* 1061C 8003521C 00000000 */ nop
/* 10620 80035220 0800D534 */ j .L800354D0
/* 10624 80035224 00000000 */ nop
.L80035228:
/* 10628 80035228 0C037DD0 */ jal update_player
/* 1062C 8003522C 00000000 */ nop
/* 10630 80035230 0C00E64C */ jal update_npcs
/* 10634 80035234 00000000 */ nop
/* 10638 80035238 0C00F949 */ jal func_8003E524
/* 1063C 8003523C 00000000 */ nop
/* 10640 80035240 0C016754 */ jal func_80059D50
/* 10644 80035244 00000000 */ nop
/* 10648 80035248 3C10800A */ lui $s0, 0x800a
/* 1064C 8003524C 26100932 */ addiu $s0, $s0, 0x932
/* 10650 80035250 86020000 */ lh $v0, ($s0)
/* 10654 80035254 96030000 */ lhu $v1, ($s0)
/* 10658 80035258 284200FF */ slti $v0, $v0, 0xff
/* 1065C 8003525C 10400013 */ beqz $v0, .L800352AC
/* 10660 80035260 24620014 */ addiu $v0, $v1, 0x14
/* 10664 80035264 A6020000 */ sh $v0, ($s0)
/* 10668 80035268 00021400 */ sll $v0, $v0, 0x10
/* 1066C 8003526C 00021403 */ sra $v0, $v0, 0x10
/* 10670 80035270 28420100 */ slti $v0, $v0, 0x100
/* 10674 80035274 14400002 */ bnez $v0, .L80035280
/* 10678 80035278 240200FF */ addiu $v0, $zero, 0xff
/* 1067C 8003527C A6020000 */ sh $v0, ($s0)
.L80035280:
/* 10680 80035280 86020000 */ lh $v0, ($s0)
/* 10684 80035284 44820000 */ mtc1 $v0, $f0
/* 10688 80035288 00000000 */ nop
/* 1068C 8003528C 46800020 */ cvt.s.w $f0, $f0
/* 10690 80035290 44050000 */ mfc1 $a1, $f0
/* 10694 80035294 0C04DF62 */ jal func_80137D88
/* 10698 80035298 0000202D */ daddu $a0, $zero, $zero
/* 1069C 8003529C 86030000 */ lh $v1, ($s0)
/* 106A0 800352A0 240200FF */ addiu $v0, $zero, 0xff
/* 106A4 800352A4 1462008A */ bne $v1, $v0, .L800354D0
/* 106A8 800352A8 00000000 */ nop
.L800352AC:
/* 106AC 800352AC 0800D534 */ j .L800354D0
/* 106B0 800352B0 A2320000 */ sb $s2, ($s1)
.L800352B4:
/* 106B4 800352B4 24020005 */ addiu $v0, $zero, 5
/* 106B8 800352B8 3C04800A */ lui $a0, 0x800a
/* 106BC 800352BC 2484A650 */ addiu $a0, $a0, -0x59b0
/* 106C0 800352C0 3C01800A */ lui $at, 0x800a
/* 106C4 800352C4 A0220930 */ sb $v0, 0x930($at)
/* 106C8 800352C8 8C820000 */ lw $v0, ($a0)
/* 106CC 800352CC 24030002 */ addiu $v1, $zero, 2
/* 106D0 800352D0 A2230000 */ sb $v1, ($s1)
/* 106D4 800352D4 34420008 */ ori $v0, $v0, 8
/* 106D8 800352D8 0800D534 */ j .L800354D0
/* 106DC 800352DC AC820000 */ sw $v0, ($a0)
.L800352E0:
/* 106E0 800352E0 3C10800A */ lui $s0, 0x800a
/* 106E4 800352E4 26100930 */ addiu $s0, $s0, 0x930
/* 106E8 800352E8 92020000 */ lbu $v0, ($s0)
/* 106EC 800352EC 2442FFFF */ addiu $v0, $v0, -1
/* 106F0 800352F0 A2020000 */ sb $v0, ($s0)
/* 106F4 800352F4 00021600 */ sll $v0, $v0, 0x18
/* 106F8 800352F8 14400075 */ bnez $v0, .L800354D0
/* 106FC 800352FC 00000000 */ nop
/* 10700 80035300 3C048007 */ lui $a0, 0x8007
/* 10704 80035304 24847980 */ addiu $a0, $a0, 0x7980
/* 10708 80035308 0C017CBC */ jal nuGfxSetCfb
/* 1070C 8003530C 24050002 */ addiu $a1, $zero, 2
/* 10710 80035310 3C02800A */ lui $v0, 0x800a
/* 10714 80035314 8C42A658 */ lw $v0, -0x59a8($v0)
/* 10718 80035318 8C430008 */ lw $v1, 8($v0)
/* 1071C 8003531C 3C02800A */ lui $v0, 0x800a
/* 10720 80035320 8C42A64C */ lw $v0, -0x59b4($v0)
/* 10724 80035324 14620008 */ bne $v1, $v0, .L80035348
/* 10728 80035328 24040003 */ addiu $a0, $zero, 3
/* 1072C 8003532C 3C02800A */ lui $v0, 0x800a
/* 10730 80035330 2442A650 */ addiu $v0, $v0, -0x59b0
/* 10734 80035334 8C430000 */ lw $v1, ($v0)
/* 10738 80035338 2404FFF7 */ addiu $a0, $zero, -9
/* 1073C 8003533C 00641824 */ and $v1, $v1, $a0
/* 10740 80035340 0800D534 */ j .L800354D0
/* 10744 80035344 AC430000 */ sw $v1, ($v0)
.L80035348:
/* 10748 80035348 3C02800A */ lui $v0, 0x800a
/* 1074C 8003534C 2442A650 */ addiu $v0, $v0, -0x59b0
/* 10750 80035350 8C430000 */ lw $v1, ($v0)
/* 10754 80035354 34630008 */ ori $v1, $v1, 8
/* 10758 80035358 0C051FB1 */ jal func_80147EC4
/* 1075C 8003535C AC430000 */ sw $v1, ($v0)
/* 10760 80035360 24020003 */ addiu $v0, $zero, 3
/* 10764 80035364 A2120000 */ sb $s2, ($s0)
/* 10768 80035368 0800D534 */ j .L800354D0
/* 1076C 8003536C A2220000 */ sb $v0, ($s1)
.L80035370:
/* 10770 80035370 3C10800A */ lui $s0, 0x800a
/* 10774 80035374 26100930 */ addiu $s0, $s0, 0x930
/* 10778 80035378 82020000 */ lb $v0, ($s0)
/* 1077C 8003537C 92030000 */ lbu $v1, ($s0)
/* 10780 80035380 04400042 */ bltz $v0, .L8003548C
/* 10784 80035384 2462FFFF */ addiu $v0, $v1, -1
/* 10788 80035388 A2020000 */ sb $v0, ($s0)
/* 1078C 8003538C 00021600 */ sll $v0, $v0, 0x18
/* 10790 80035390 1440003B */ bnez $v0, .L80035480
/* 10794 80035394 2402FFFF */ addiu $v0, $zero, -1
/* 10798 80035398 0C05260E */ jal func_80149838
/* 1079C 8003539C A2020000 */ sb $v0, ($s0)
/* 107A0 800353A0 0C00EC6A */ jal func_8003B1A8
/* 107A4 800353A4 00000000 */ nop
/* 107A8 800353A8 3C028007 */ lui $v0, 0x8007
/* 107AC 800353AC 8C42419C */ lw $v0, 0x419c($v0)
/* 107B0 800353B0 0C016BA8 */ jal allocate_hit_tables
/* 107B4 800353B4 A0530070 */ sb $s3, 0x70($v0)
/* 107B8 800353B8 0C00AB28 */ jal battle_heap_create
/* 107BC 800353BC 00000000 */ nop
/* 107C0 800353C0 0C05259C */ jal func_80149670
/* 107C4 800353C4 0000202D */ daddu $a0, $zero, $zero
/* 107C8 800353C8 0C0B763E */ jal func_802DD8F8
/* 107CC 800353CC 0000202D */ daddu $a0, $zero, $zero
/* 107D0 800353D0 0C045751 */ jal clear_model_data
/* 107D4 800353D4 00000000 */ nop
/* 107D8 800353D8 0C052010 */ jal func_80148040
/* 107DC 800353DC 00000000 */ nop
/* 107E0 800353E0 0C05177E */ jal func_80145DF8
/* 107E4 800353E4 00000000 */ nop
/* 107E8 800353E8 0C0482EC */ jal clear_virtual_models
/* 107EC 800353EC 00000000 */ nop
/* 107F0 800353F0 0C047889 */ jal func_8011E224
/* 107F4 800353F4 00000000 */ nop
/* 107F8 800353F8 0C048C2E */ jal clear_dynamic_entity_list
/* 107FC 800353FC 00000000 */ nop
/* 10800 80035400 3C048020 */ lui $a0, 0x8020
/* 10804 80035404 24840000 */ addiu $a0, $a0, 0
/* 10808 80035408 0C0514BA */ jal func_801452E8
/* 1080C 8003540C 3C050002 */ lui $a1, 2
/* 10810 80035410 0C050440 */ jal func_80141100
/* 10814 80035414 00000000 */ nop
/* 10818 80035418 0C03A6EC */ jal reset_status_menu
/* 1081C 8003541C 00000000 */ nop
/* 10820 80035420 0C04C3FC */ jal clear_item_entity_data
/* 10824 80035424 00000000 */ nop
/* 10828 80035428 0C0B0C77 */ jal clear_script_list
/* 1082C 8003542C 00000000 */ nop
/* 10830 80035430 0C00E12F */ jal clear_npcs
/* 10834 80035434 00000000 */ nop
/* 10838 80035438 0C04432E */ jal clear_entity_data
/* 1083C 8003543C 0000202D */ daddu $a0, $zero, $zero
/* 10840 80035440 0C0515A0 */ jal clear_trigger_data
/* 10844 80035444 00000000 */ nop
/* 10848 80035448 3C048007 */ lui $a0, 0x8007
/* 1084C 8003544C 0C018038 */ jal nuPiReadRomOverlay
/* 10850 80035450 2484798C */ addiu $a0, $a0, 0x798c
/* 10854 80035454 0C091238 */ jal func_802448E0
/* 10858 80035458 24040001 */ addiu $a0, $zero, 1
/* 1085C 8003545C 240400FF */ addiu $a0, $zero, 0xff
/* 10860 80035460 3C06800A */ lui $a2, 0x800a
/* 10864 80035464 24C6A650 */ addiu $a2, $a2, -0x59b0
/* 10868 80035468 2403FFF7 */ addiu $v1, $zero, -9
/* 1086C 8003546C 8CC20000 */ lw $v0, ($a2)
/* 10870 80035470 3C05437F */ lui $a1, 0x437f
/* 10874 80035474 00431024 */ and $v0, $v0, $v1
/* 10878 80035478 0C04DF62 */ jal func_80137D88
/* 1087C 8003547C ACC20000 */ sw $v0, ($a2)
.L80035480:
/* 10880 80035480 82020000 */ lb $v0, ($s0)
/* 10884 80035484 04410012 */ bgez $v0, .L800354D0
/* 10888 80035488 00000000 */ nop
.L8003548C:
/* 1088C 8003548C 0C090C68 */ jal func_802431A0
/* 10890 80035490 00000000 */ nop
/* 10894 80035494 3C03800A */ lui $v1, 0x800a
/* 10898 80035498 24630932 */ addiu $v1, $v1, 0x932
/* 1089C 8003549C 94620000 */ lhu $v0, ($v1)
/* 108A0 800354A0 2442FFEC */ addiu $v0, $v0, -0x14
/* 108A4 800354A4 A4620000 */ sh $v0, ($v1)
/* 108A8 800354A8 00021400 */ sll $v0, $v0, 0x10
/* 108AC 800354AC 04420001 */ bltzl $v0, .L800354B4
/* 108B0 800354B0 A4600000 */ sh $zero, ($v1)
.L800354B4:
/* 108B4 800354B4 84620000 */ lh $v0, ($v1)
/* 108B8 800354B8 44820000 */ mtc1 $v0, $f0
/* 108BC 800354BC 00000000 */ nop
/* 108C0 800354C0 46800020 */ cvt.s.w $f0, $f0
/* 108C4 800354C4 44050000 */ mfc1 $a1, $f0
/* 108C8 800354C8 0C04DF62 */ jal func_80137D88
/* 108CC 800354CC 0000202D */ daddu $a0, $zero, $zero
.L800354D0:
/* 108D0 800354D0 8FBF0020 */ lw $ra, 0x20($sp)
/* 108D4 800354D4 8FB3001C */ lw $s3, 0x1c($sp)
/* 108D8 800354D8 8FB20018 */ lw $s2, 0x18($sp)
/* 108DC 800354DC 8FB10014 */ lw $s1, 0x14($sp)
/* 108E0 800354E0 8FB00010 */ lw $s0, 0x10($sp)
/* 108E4 800354E4 03E00008 */ jr $ra
/* 108E8 800354E8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,225 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800351C8_2
/* 0105C8 800351C8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 0105CC 800351CC AFB10014 */ sw $s1, 0x14($sp)
/* 0105D0 800351D0 3C11800A */ lui $s1, 0x800a
/* 0105D4 800351D4 26310931 */ addiu $s1, $s1, 0x931
/* 0105D8 800351D8 AFBF0020 */ sw $ra, 0x20($sp)
/* 0105DC 800351DC AFB3001C */ sw $s3, 0x1c($sp)
/* 0105E0 800351E0 AFB20018 */ sw $s2, 0x18($sp)
/* 0105E4 800351E4 AFB00010 */ sw $s0, 0x10($sp)
/* 0105E8 800351E8 82230000 */ lb $v1, ($s1)
/* 0105EC 800351EC 24120001 */ addiu $s2, $zero, 1
/* 0105F0 800351F0 10720030 */ beq $v1, $s2, .L800352B4
/* 0105F4 800351F4 28620002 */ slti $v0, $v1, 2
/* 0105F8 800351F8 10400005 */ beqz $v0, .L80035210
/* 0105FC 800351FC 24130002 */ addiu $s3, $zero, 2
/* 010600 80035200 10600009 */ beqz $v1, .L80035228
/* 010604 80035204 00000000 */ nop
/* 010608 80035208 0800D534 */ j .L800354D0
/* 01060C 8003520C 00000000 */ nop
.L80035210:
/* 010610 80035210 10730033 */ beq $v1, $s3, .L800352E0
/* 010614 80035214 24020003 */ addiu $v0, $zero, 3
/* 010618 80035218 10620055 */ beq $v1, $v0, .L80035370
/* 01061C 8003521C 00000000 */ nop
/* 010620 80035220 0800D534 */ j .L800354D0
/* 010624 80035224 00000000 */ nop
.L80035228:
/* 010628 80035228 0C037DD0 */ jal func_800DF740
/* 01062C 8003522C 00000000 */ nop
/* 010630 80035230 0C00E64C */ jal func_80039930
/* 010634 80035234 00000000 */ nop
/* 010638 80035238 0C00F949 */ jal func_8003E524
/* 01063C 8003523C 00000000 */ nop
/* 010640 80035240 0C016754 */ jal func_80059D50
/* 010644 80035244 00000000 */ nop
/* 010648 80035248 3C10800A */ lui $s0, 0x800a
/* 01064C 8003524C 26100932 */ addiu $s0, $s0, 0x932
/* 010650 80035250 86020000 */ lh $v0, ($s0)
/* 010654 80035254 96030000 */ lhu $v1, ($s0)
/* 010658 80035258 284200FF */ slti $v0, $v0, 0xff
/* 01065C 8003525C 10400013 */ beqz $v0, .L800352AC
/* 010660 80035260 24620014 */ addiu $v0, $v1, 0x14
/* 010664 80035264 A6020000 */ sh $v0, ($s0)
/* 010668 80035268 00021400 */ sll $v0, $v0, 0x10
/* 01066C 8003526C 00021403 */ sra $v0, $v0, 0x10
/* 010670 80035270 28420100 */ slti $v0, $v0, 0x100
/* 010674 80035274 14400002 */ bnez $v0, .L80035280
/* 010678 80035278 240200FF */ addiu $v0, $zero, 0xff
/* 01067C 8003527C A6020000 */ sh $v0, ($s0)
.L80035280:
/* 010680 80035280 86020000 */ lh $v0, ($s0)
/* 010684 80035284 44820000 */ mtc1 $v0, $f0
/* 010688 80035288 00000000 */ nop
/* 01068C 8003528C 46800020 */ cvt.s.w $f0, $f0
/* 010690 80035290 44050000 */ mfc1 $a1, $f0
/* 010694 80035294 0C04DF62 */ jal func_80137D88
/* 010698 80035298 0000202D */ daddu $a0, $zero, $zero
/* 01069C 8003529C 86030000 */ lh $v1, ($s0)
/* 0106A0 800352A0 240200FF */ addiu $v0, $zero, 0xff
/* 0106A4 800352A4 1462008A */ bne $v1, $v0, .L800354D0
/* 0106A8 800352A8 00000000 */ nop
.L800352AC:
/* 0106AC 800352AC 0800D534 */ j .L800354D0
/* 0106B0 800352B0 A2320000 */ sb $s2, ($s1)
.L800352B4:
/* 0106B4 800352B4 24020005 */ addiu $v0, $zero, 5
/* 0106B8 800352B8 3C04800A */ lui $a0, 0x800a
/* 0106BC 800352BC 2484A650 */ addiu $a0, $a0, -0x59b0
/* 0106C0 800352C0 3C01800A */ lui $at, 0x800a
/* 0106C4 800352C4 A0220930 */ sb $v0, 0x930($at)
/* 0106C8 800352C8 8C820000 */ lw $v0, ($a0)
/* 0106CC 800352CC 24030002 */ addiu $v1, $zero, 2
/* 0106D0 800352D0 A2230000 */ sb $v1, ($s1)
/* 0106D4 800352D4 34420008 */ ori $v0, $v0, 8
/* 0106D8 800352D8 0800D534 */ j .L800354D0
/* 0106DC 800352DC AC820000 */ sw $v0, ($a0)
.L800352E0:
/* 0106E0 800352E0 3C10800A */ lui $s0, 0x800a
/* 0106E4 800352E4 26100930 */ addiu $s0, $s0, 0x930
/* 0106E8 800352E8 92020000 */ lbu $v0, ($s0)
/* 0106EC 800352EC 2442FFFF */ addiu $v0, $v0, -1
/* 0106F0 800352F0 A2020000 */ sb $v0, ($s0)
/* 0106F4 800352F4 00021600 */ sll $v0, $v0, 0x18
/* 0106F8 800352F8 14400075 */ bnez $v0, .L800354D0
/* 0106FC 800352FC 00000000 */ nop
/* 010700 80035300 3C048007 */ lui $a0, 0x8007
/* 010704 80035304 24847980 */ addiu $a0, $a0, 0x7980
/* 010708 80035308 0C017CBC */ jal nuGfxSetCfb
/* 01070C 8003530C 24050002 */ addiu $a1, $zero, 2
/* 010710 80035310 3C02800A */ lui $v0, 0x800a
/* 010714 80035314 8C42A658 */ lw $v0, -0x59a8($v0)
/* 010718 80035318 8C430008 */ lw $v1, 8($v0)
/* 01071C 8003531C 3C02800A */ lui $v0, 0x800a
/* 010720 80035320 8C42A64C */ lw $v0, -0x59b4($v0)
/* 010724 80035324 14620008 */ bne $v1, $v0, .L80035348
/* 010728 80035328 24040003 */ addiu $a0, $zero, 3
/* 01072C 8003532C 3C02800A */ lui $v0, 0x800a
/* 010730 80035330 2442A650 */ addiu $v0, $v0, -0x59b0
/* 010734 80035334 8C430000 */ lw $v1, ($v0)
/* 010738 80035338 2404FFF7 */ addiu $a0, $zero, -9
/* 01073C 8003533C 00641824 */ and $v1, $v1, $a0
/* 010740 80035340 0800D534 */ j .L800354D0
/* 010744 80035344 AC430000 */ sw $v1, ($v0)
.L80035348:
/* 010748 80035348 3C02800A */ lui $v0, 0x800a
/* 01074C 8003534C 2442A650 */ addiu $v0, $v0, -0x59b0
/* 010750 80035350 8C430000 */ lw $v1, ($v0)
/* 010754 80035354 34630008 */ ori $v1, $v1, 8
/* 010758 80035358 0C051FB1 */ jal func_80147EC4
/* 01075C 8003535C AC430000 */ sw $v1, ($v0)
/* 010760 80035360 24020003 */ addiu $v0, $zero, 3
/* 010764 80035364 A2120000 */ sb $s2, ($s0)
/* 010768 80035368 0800D534 */ j .L800354D0
/* 01076C 8003536C A2220000 */ sb $v0, ($s1)
.L80035370:
/* 010770 80035370 3C10800A */ lui $s0, 0x800a
/* 010774 80035374 26100930 */ addiu $s0, $s0, 0x930
/* 010778 80035378 82020000 */ lb $v0, ($s0)
/* 01077C 8003537C 92030000 */ lbu $v1, ($s0)
/* 010780 80035380 04400042 */ bltz $v0, .L8003548C
/* 010784 80035384 2462FFFF */ addiu $v0, $v1, -1
/* 010788 80035388 A2020000 */ sb $v0, ($s0)
/* 01078C 8003538C 00021600 */ sll $v0, $v0, 0x18
/* 010790 80035390 1440003B */ bnez $v0, .L80035480
/* 010794 80035394 2402FFFF */ addiu $v0, $zero, -1
/* 010798 80035398 0C05260E */ jal func_80149838
/* 01079C 8003539C A2020000 */ sb $v0, ($s0)
/* 0107A0 800353A0 0C00EC6A */ jal func_8003B1A8
/* 0107A4 800353A4 00000000 */ nop
/* 0107A8 800353A8 3C028007 */ lui $v0, 0x8007
/* 0107AC 800353AC 8C42419C */ lw $v0, 0x419c($v0)
/* 0107B0 800353B0 0C016BA8 */ jal allocate_hit_tables
/* 0107B4 800353B4 A0530070 */ sb $s3, 0x70($v0)
/* 0107B8 800353B8 0C00AB28 */ jal battle_heap_create
/* 0107BC 800353BC 00000000 */ nop
/* 0107C0 800353C0 0C05259C */ jal func_80149670
/* 0107C4 800353C4 0000202D */ daddu $a0, $zero, $zero
/* 0107C8 800353C8 0C0B763E */ jal func_802DD8F8
/* 0107CC 800353CC 0000202D */ daddu $a0, $zero, $zero
/* 0107D0 800353D0 0C045751 */ jal clear_model_data
/* 0107D4 800353D4 00000000 */ nop
/* 0107D8 800353D8 0C052010 */ jal func_80148040
/* 0107DC 800353DC 00000000 */ nop
/* 0107E0 800353E0 0C05177E */ jal func_80145DF8
/* 0107E4 800353E4 00000000 */ nop
/* 0107E8 800353E8 0C0482EC */ jal func_80120BB0
/* 0107EC 800353EC 00000000 */ nop
/* 0107F0 800353F0 0C047889 */ jal func_8011E224
/* 0107F4 800353F4 00000000 */ nop
/* 0107F8 800353F8 0C048C2E */ jal func_801230B8
/* 0107FC 800353FC 00000000 */ nop
/* 010800 80035400 3C048020 */ lui $a0, 0x8020
/* 010804 80035404 24840000 */ addiu $a0, $a0, 0
/* 010808 80035408 0C0514BA */ jal func_801452E8
/* 01080C 8003540C 3C050002 */ lui $a1, 2
/* 010810 80035410 0C050440 */ jal func_80141100
/* 010814 80035414 00000000 */ nop
/* 010818 80035418 0C03A6EC */ jal reset_status_menu
/* 01081C 8003541C 00000000 */ nop
/* 010820 80035420 0C04C3FC */ jal clear_item_entity_data
/* 010824 80035424 00000000 */ nop
/* 010828 80035428 0C0B0C77 */ jal clear_script_list
/* 01082C 8003542C 00000000 */ nop
/* 010830 80035430 0C00E12F */ jal func_800384BC
/* 010834 80035434 00000000 */ nop
/* 010838 80035438 0C04432E */ jal func_80110CB8
/* 01083C 8003543C 0000202D */ daddu $a0, $zero, $zero
/* 010840 80035440 0C0515A0 */ jal clear_trigger_data
/* 010844 80035444 00000000 */ nop
/* 010848 80035448 3C048007 */ lui $a0, 0x8007
/* 01084C 8003544C 0C018038 */ jal nuPiReadRomOverlay
/* 010850 80035450 2484798C */ addiu $a0, $a0, 0x798c
/* 010854 80035454 0C091238 */ jal func_802448E0
/* 010858 80035458 24040001 */ addiu $a0, $zero, 1
/* 01085C 8003545C 240400FF */ addiu $a0, $zero, 0xff
/* 010860 80035460 3C06800A */ lui $a2, 0x800a
/* 010864 80035464 24C6A650 */ addiu $a2, $a2, -0x59b0
/* 010868 80035468 2403FFF7 */ addiu $v1, $zero, -9
/* 01086C 8003546C 8CC20000 */ lw $v0, ($a2)
/* 010870 80035470 3C05437F */ lui $a1, 0x437f
/* 010874 80035474 00431024 */ and $v0, $v0, $v1
/* 010878 80035478 0C04DF62 */ jal func_80137D88
/* 01087C 8003547C ACC20000 */ sw $v0, ($a2)
.L80035480:
/* 010880 80035480 82020000 */ lb $v0, ($s0)
/* 010884 80035484 04410012 */ bgez $v0, .L800354D0
/* 010888 80035488 00000000 */ nop
.L8003548C:
/* 01088C 8003548C 0C090C68 */ jal func_802431A0
/* 010890 80035490 00000000 */ nop
/* 010894 80035494 3C03800A */ lui $v1, 0x800a
/* 010898 80035498 24630932 */ addiu $v1, $v1, 0x932
/* 01089C 8003549C 94620000 */ lhu $v0, ($v1)
/* 0108A0 800354A0 2442FFEC */ addiu $v0, $v0, -0x14
/* 0108A4 800354A4 A4620000 */ sh $v0, ($v1)
/* 0108A8 800354A8 00021400 */ sll $v0, $v0, 0x10
/* 0108AC 800354AC 04420001 */ bltzl $v0, .L800354B4
/* 0108B0 800354B0 A4600000 */ sh $zero, ($v1)
.L800354B4:
/* 0108B4 800354B4 84620000 */ lh $v0, ($v1)
/* 0108B8 800354B8 44820000 */ mtc1 $v0, $f0
/* 0108BC 800354BC 00000000 */ nop
/* 0108C0 800354C0 46800020 */ cvt.s.w $f0, $f0
/* 0108C4 800354C4 44050000 */ mfc1 $a1, $f0
/* 0108C8 800354C8 0C04DF62 */ jal func_80137D88
/* 0108CC 800354CC 0000202D */ daddu $a0, $zero, $zero
.L800354D0:
/* 0108D0 800354D0 8FBF0020 */ lw $ra, 0x20($sp)
/* 0108D4 800354D4 8FB3001C */ lw $s3, 0x1c($sp)
/* 0108D8 800354D8 8FB20018 */ lw $s2, 0x18($sp)
/* 0108DC 800354DC 8FB10014 */ lw $s1, 0x14($sp)
/* 0108E0 800354E0 8FB00010 */ lw $s0, 0x10($sp)
/* 0108E4 800354E4 03E00008 */ jr $ra
/* 0108E8 800354E8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,64 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800354EC
/* 108EC 800354EC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 108F0 800354F0 AFB10014 */ sw $s1, 0x14($sp)
/* 108F4 800354F4 3C11800A */ lui $s1, 0x800a
/* 108F8 800354F8 26310931 */ addiu $s1, $s1, 0x931
/* 108FC 800354FC AFBF0018 */ sw $ra, 0x18($sp)
/* 10900 80035500 AFB00010 */ sw $s0, 0x10($sp)
/* 10904 80035504 82300000 */ lb $s0, ($s1)
/* 10908 80035508 24030001 */ addiu $v1, $zero, 1
/* 1090C 8003550C 1203000B */ beq $s0, $v1, .L8003553C
/* 10910 80035510 2A020002 */ slti $v0, $s0, 2
/* 10914 80035514 50400005 */ beql $v0, $zero, .L8003552C
/* 10918 80035518 24020002 */ addiu $v0, $zero, 2
/* 1091C 8003551C 52000024 */ beql $s0, $zero, .L800355B0
/* 10920 80035520 A2230000 */ sb $v1, ($s1)
/* 10924 80035524 0800D56C */ j .L800355B0
/* 10928 80035528 00000000 */ nop
.L8003552C:
/* 1092C 8003552C 1202000A */ beq $s0, $v0, .L80035558
/* 10930 80035530 00000000 */ nop
/* 10934 80035534 0800D56C */ j .L800355B0
/* 10938 80035538 00000000 */ nop
.L8003553C:
/* 1093C 8003553C 0C051FB1 */ jal func_80147EC4
/* 10940 80035540 24040003 */ addiu $a0, $zero, 3
/* 10944 80035544 24020002 */ addiu $v0, $zero, 2
/* 10948 80035548 3C01800A */ lui $at, 0x800a
/* 1094C 8003554C A0300930 */ sb $s0, 0x930($at)
/* 10950 80035550 0800D56C */ j .L800355B0
/* 10954 80035554 A2220000 */ sb $v0, ($s1)
.L80035558:
/* 10958 80035558 3C10800A */ lui $s0, 0x800a
/* 1095C 8003555C 26100930 */ addiu $s0, $s0, 0x930
/* 10960 80035560 82020000 */ lb $v0, ($s0)
/* 10964 80035564 92030000 */ lbu $v1, ($s0)
/* 10968 80035568 0440000F */ bltz $v0, .L800355A8
/* 1096C 8003556C 2462FFFF */ addiu $v0, $v1, -1
/* 10970 80035570 A2020000 */ sb $v0, ($s0)
/* 10974 80035574 00021600 */ sll $v0, $v0, 0x18
/* 10978 80035578 14400008 */ bnez $v0, .L8003559C
/* 1097C 8003557C 2402FFFF */ addiu $v0, $zero, -1
/* 10980 80035580 0C00AB28 */ jal battle_heap_create
/* 10984 80035584 A2020000 */ sb $v0, ($s0)
/* 10988 80035588 3C048007 */ lui $a0, 0x8007
/* 1098C 8003558C 0C018038 */ jal nuPiReadRomOverlay
/* 10990 80035590 2484798C */ addiu $a0, $a0, 0x798c
/* 10994 80035594 0C091238 */ jal func_802448E0
/* 10998 80035598 0000202D */ daddu $a0, $zero, $zero
.L8003559C:
/* 1099C 8003559C 82020000 */ lb $v0, ($s0)
/* 109A0 800355A0 04410003 */ bgez $v0, .L800355B0
/* 109A4 800355A4 00000000 */ nop
.L800355A8:
/* 109A8 800355A8 0C090C68 */ jal func_802431A0
/* 109AC 800355AC 00000000 */ nop
.L800355B0:
/* 109B0 800355B0 8FBF0018 */ lw $ra, 0x18($sp)
/* 109B4 800355B4 8FB10014 */ lw $s1, 0x14($sp)
/* 109B8 800355B8 8FB00010 */ lw $s0, 0x10($sp)
/* 109BC 800355BC 03E00008 */ jr $ra
/* 109C0 800355C0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,69 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800354EC_2
/* 0108EC 800354EC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 0108F0 800354F0 AFB10014 */ sw $s1, 0x14($sp)
/* 0108F4 800354F4 3C11800A */ lui $s1, 0x800a
/* 0108F8 800354F8 26310931 */ addiu $s1, $s1, 0x931
/* 0108FC 800354FC AFBF0018 */ sw $ra, 0x18($sp)
/* 010900 80035500 AFB00010 */ sw $s0, 0x10($sp)
/* 010904 80035504 82300000 */ lb $s0, ($s1)
/* 010908 80035508 24030001 */ addiu $v1, $zero, 1
/* 01090C 8003550C 1203000B */ beq $s0, $v1, .L8003553C
/* 010910 80035510 2A020002 */ slti $v0, $s0, 2
/* 010914 80035514 50400005 */ beql $v0, $zero, .L8003552C
/* 010918 80035518 24020002 */ addiu $v0, $zero, 2
/* 01091C 8003551C 52000024 */ beql $s0, $zero, .L800355B0
/* 010920 80035520 A2230000 */ sb $v1, ($s1)
/* 010924 80035524 0800D56C */ j .L800355B0
/* 010928 80035528 00000000 */ nop
.L8003552C:
/* 01092C 8003552C 1202000A */ beq $s0, $v0, .L80035558
/* 010930 80035530 00000000 */ nop
/* 010934 80035534 0800D56C */ j .L800355B0
/* 010938 80035538 00000000 */ nop
.L8003553C:
/* 01093C 8003553C 0C051FB1 */ jal func_80147EC4
/* 010940 80035540 24040003 */ addiu $a0, $zero, 3
/* 010944 80035544 24020002 */ addiu $v0, $zero, 2
/* 010948 80035548 3C01800A */ lui $at, 0x800a
/* 01094C 8003554C A0300930 */ sb $s0, 0x930($at)
/* 010950 80035550 0800D56C */ j .L800355B0
/* 010954 80035554 A2220000 */ sb $v0, ($s1)
.L80035558:
/* 010958 80035558 3C10800A */ lui $s0, 0x800a
/* 01095C 8003555C 26100930 */ addiu $s0, $s0, 0x930
/* 010960 80035560 82020000 */ lb $v0, ($s0)
/* 010964 80035564 92030000 */ lbu $v1, ($s0)
/* 010968 80035568 0440000F */ bltz $v0, .L800355A8
/* 01096C 8003556C 2462FFFF */ addiu $v0, $v1, -1
/* 010970 80035570 A2020000 */ sb $v0, ($s0)
/* 010974 80035574 00021600 */ sll $v0, $v0, 0x18
/* 010978 80035578 14400008 */ bnez $v0, .L8003559C
/* 01097C 8003557C 2402FFFF */ addiu $v0, $zero, -1
/* 010980 80035580 0C00AB28 */ jal battle_heap_create
/* 010984 80035584 A2020000 */ sb $v0, ($s0)
/* 010988 80035588 3C048007 */ lui $a0, 0x8007
/* 01098C 8003558C 0C018038 */ jal nuPiReadRomOverlay
/* 010990 80035590 2484798C */ addiu $a0, $a0, 0x798c
/* 010994 80035594 0C091238 */ jal func_802448E0
/* 010998 80035598 0000202D */ daddu $a0, $zero, $zero
.L8003559C:
/* 01099C 8003559C 82020000 */ lb $v0, ($s0)
/* 0109A0 800355A0 04410003 */ bgez $v0, .L800355B0
/* 0109A4 800355A4 00000000 */ nop
.L800355A8:
/* 0109A8 800355A8 0C090C68 */ jal func_802431A0
/* 0109AC 800355AC 00000000 */ nop
.L800355B0:
/* 0109B0 800355B0 8FBF0018 */ lw $ra, 0x18($sp)
/* 0109B4 800355B4 8FB10014 */ lw $s1, 0x14($sp)
/* 0109B8 800355B8 8FB00010 */ lw $s0, 0x10($sp)
/* 0109BC 800355BC 03E00008 */ jr $ra
/* 0109C0 800355C0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800355C4
/* 109C4 800355C4 03E00008 */ jr $ra
/* 109C8 800355C8 00000000 */ nop

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800355C4_2
/* 0109C4 800355C4 03E00008 */ jr $ra
/* 0109C8 800355C8 00000000 */ nop

View File

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

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800355CC_2
/* 0109CC 800355CC 03E00008 */ jr $ra
/* 0109D0 800355D0 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_800355D4
/* 109D4 800355D4 3C05800A */ lui $a1, 0x800a
/* 109D8 800355D8 84A50932 */ lh $a1, 0x932($a1)
/* 109DC 800355DC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 109E0 800355E0 18A00009 */ blez $a1, .L80035608
/* 109E4 800355E4 AFBF0010 */ sw $ra, 0x10($sp)
/* 109E8 800355E8 44850000 */ mtc1 $a1, $f0
/* 109EC 800355EC 00000000 */ nop
/* 109F0 800355F0 46800020 */ cvt.s.w $f0, $f0
/* 109F4 800355F4 44050000 */ mfc1 $a1, $f0
/* 109F8 800355F8 3C01800A */ lui $at, 0x800a
/* 109FC 800355FC A0200931 */ sb $zero, 0x931($at)
/* 10A00 80035600 0800D58A */ j .L80035628
/* 10A04 80035604 0000202D */ daddu $a0, $zero, $zero
.L80035608:
/* 10A08 80035608 24020001 */ addiu $v0, $zero, 1
/* 10A0C 8003560C 44850000 */ mtc1 $a1, $f0
/* 10A10 80035610 00000000 */ nop
/* 10A14 80035614 46800020 */ cvt.s.w $f0, $f0
/* 10A18 80035618 44050000 */ mfc1 $a1, $f0
/* 10A1C 8003561C 0000202D */ daddu $a0, $zero, $zero
/* 10A20 80035620 3C01800A */ lui $at, 0x800a
/* 10A24 80035624 A0220931 */ sb $v0, 0x931($at)
.L80035628:
/* 10A28 80035628 0C04DF62 */ jal func_80137D88
/* 10A2C 8003562C 00000000 */ nop
/* 10A30 80035630 24020001 */ addiu $v0, $zero, 1
/* 10A34 80035634 3C04800A */ lui $a0, 0x800a
/* 10A38 80035638 2484A650 */ addiu $a0, $a0, -0x59b0
/* 10A3C 8003563C 3C01800A */ lui $at, 0x800a
/* 10A40 80035640 A0220930 */ sb $v0, 0x930($at)
/* 10A44 80035644 8C820000 */ lw $v0, ($a0)
/* 10A48 80035648 2403FFBF */ addiu $v1, $zero, -0x41
/* 10A4C 8003564C 00431024 */ and $v0, $v0, $v1
/* 10A50 80035650 AC820000 */ sw $v0, ($a0)
/* 10A54 80035654 8FBF0010 */ lw $ra, 0x10($sp)
/* 10A58 80035658 03E00008 */ jr $ra
/* 10A5C 8003565C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800355D4_2
/* 0109D4 800355D4 3C05800A */ lui $a1, 0x800a
/* 0109D8 800355D8 84A50932 */ lh $a1, 0x932($a1)
/* 0109DC 800355DC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0109E0 800355E0 18A00009 */ blez $a1, .L80035608
/* 0109E4 800355E4 AFBF0010 */ sw $ra, 0x10($sp)
/* 0109E8 800355E8 44850000 */ mtc1 $a1, $f0
/* 0109EC 800355EC 00000000 */ nop
/* 0109F0 800355F0 46800020 */ cvt.s.w $f0, $f0
/* 0109F4 800355F4 44050000 */ mfc1 $a1, $f0
/* 0109F8 800355F8 3C01800A */ lui $at, 0x800a
/* 0109FC 800355FC A0200931 */ sb $zero, 0x931($at)
/* 010A00 80035600 0800D58A */ j .L80035628
/* 010A04 80035604 0000202D */ daddu $a0, $zero, $zero
.L80035608:
/* 010A08 80035608 24020001 */ addiu $v0, $zero, 1
/* 010A0C 8003560C 44850000 */ mtc1 $a1, $f0
/* 010A10 80035610 00000000 */ nop
/* 010A14 80035614 46800020 */ cvt.s.w $f0, $f0
/* 010A18 80035618 44050000 */ mfc1 $a1, $f0
/* 010A1C 8003561C 0000202D */ daddu $a0, $zero, $zero
/* 010A20 80035620 3C01800A */ lui $at, 0x800a
/* 010A24 80035624 A0220931 */ sb $v0, 0x931($at)
.L80035628:
/* 010A28 80035628 0C04DF62 */ jal func_80137D88
/* 010A2C 8003562C 00000000 */ nop
/* 010A30 80035630 24020001 */ addiu $v0, $zero, 1
/* 010A34 80035634 3C04800A */ lui $a0, 0x800a
/* 010A38 80035638 2484A650 */ addiu $a0, $a0, -0x59b0
/* 010A3C 8003563C 3C01800A */ lui $at, 0x800a
/* 010A40 80035640 A0220930 */ sb $v0, 0x930($at)
/* 010A44 80035644 8C820000 */ lw $v0, ($a0)
/* 010A48 80035648 2403FFBF */ addiu $v1, $zero, -0x41
/* 010A4C 8003564C 00431024 */ and $v0, $v0, $v1
/* 010A50 80035650 AC820000 */ sw $v0, ($a0)
/* 010A54 80035654 8FBF0010 */ lw $ra, 0x10($sp)
/* 010A58 80035658 03E00008 */ jr $ra
/* 010A5C 8003565C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,47 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035660
/* 10A60 80035660 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 10A64 80035664 AFBF0018 */ sw $ra, 0x18($sp)
/* 10A68 80035668 3C01800A */ lui $at, 0x800a
/* 10A6C 8003566C A0200931 */ sb $zero, 0x931($at)
/* 10A70 80035670 3C01800A */ lui $at, 0x800a
/* 10A74 80035674 A4200932 */ sh $zero, 0x932($at)
/* 10A78 80035678 3C01800A */ lui $at, 0x800a
/* 10A7C 8003567C A0200930 */ sb $zero, 0x930($at)
/* 10A80 80035680 0C0912F1 */ jal func_80244BC4
/* 10A84 80035684 00000000 */ nop
/* 10A88 80035688 14400005 */ bnez $v0, .L800356A0
/* 10A8C 8003568C 00000000 */ nop
/* 10A90 80035690 0C04E0A8 */ jal set_map_transition_effect
/* 10A94 80035694 24040007 */ addiu $a0, $zero, 7
/* 10A98 80035698 0800D5B8 */ j .L800356E0
/* 10A9C 8003569C 00000000 */ nop
.L800356A0:
/* 10AA0 800356A0 0C04E0A8 */ jal set_map_transition_effect
/* 10AA4 800356A4 24040008 */ addiu $a0, $zero, 8
/* 10AA8 800356A8 3C06FFFE */ lui $a2, 0xfffe
/* 10AAC 800356AC 34C6FFFF */ ori $a2, $a2, 0xffff
/* 10AB0 800356B0 0000202D */ daddu $a0, $zero, $zero
/* 10AB4 800356B4 3C05800A */ lui $a1, 0x800a
/* 10AB8 800356B8 24A5A650 */ addiu $a1, $a1, -0x59b0
/* 10ABC 800356BC 24030008 */ addiu $v1, $zero, 8
/* 10AC0 800356C0 8CA20000 */ lw $v0, ($a1)
/* 10AC4 800356C4 240703E8 */ addiu $a3, $zero, 0x3e8
/* 10AC8 800356C8 AFA30010 */ sw $v1, 0x10($sp)
/* 10ACC 800356CC 00461024 */ and $v0, $v0, $a2
/* 10AD0 800356D0 ACA20000 */ sw $v0, ($a1)
/* 10AD4 800356D4 2405FFFF */ addiu $a1, $zero, -1
/* 10AD8 800356D8 0C052A46 */ jal set_music_track
/* 10ADC 800356DC 0080302D */ daddu $a2, $a0, $zero
.L800356E0:
/* 10AE0 800356E0 3C02800A */ lui $v0, 0x800a
/* 10AE4 800356E4 2442A650 */ addiu $v0, $v0, -0x59b0
/* 10AE8 800356E8 8C430000 */ lw $v1, ($v0)
/* 10AEC 800356EC 2404FFBF */ addiu $a0, $zero, -0x41
/* 10AF0 800356F0 00641824 */ and $v1, $v1, $a0
/* 10AF4 800356F4 AC430000 */ sw $v1, ($v0)
/* 10AF8 800356F8 8FBF0018 */ lw $ra, 0x18($sp)
/* 10AFC 800356FC 03E00008 */ jr $ra
/* 10B00 80035700 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,50 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035660_2
/* 010A60 80035660 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 010A64 80035664 AFBF0018 */ sw $ra, 0x18($sp)
/* 010A68 80035668 3C01800A */ lui $at, 0x800a
/* 010A6C 8003566C A0200931 */ sb $zero, 0x931($at)
/* 010A70 80035670 3C01800A */ lui $at, 0x800a
/* 010A74 80035674 A4200932 */ sh $zero, 0x932($at)
/* 010A78 80035678 3C01800A */ lui $at, 0x800a
/* 010A7C 8003567C A0200930 */ sb $zero, 0x930($at)
/* 010A80 80035680 0C0912F1 */ jal func_80244BC4
/* 010A84 80035684 00000000 */ nop
/* 010A88 80035688 14400005 */ bnez $v0, .L800356A0
/* 010A8C 8003568C 00000000 */ nop
/* 010A90 80035690 0C04E0A8 */ jal set_map_transition_effect
/* 010A94 80035694 24040007 */ addiu $a0, $zero, 7
/* 010A98 80035698 0800D5B8 */ j .L800356E0
/* 010A9C 8003569C 00000000 */ nop
.L800356A0:
/* 010AA0 800356A0 0C04E0A8 */ jal set_map_transition_effect
/* 010AA4 800356A4 24040008 */ addiu $a0, $zero, 8
/* 010AA8 800356A8 3C06FFFE */ lui $a2, 0xfffe
/* 010AAC 800356AC 34C6FFFF */ ori $a2, $a2, 0xffff
/* 010AB0 800356B0 0000202D */ daddu $a0, $zero, $zero
/* 010AB4 800356B4 3C05800A */ lui $a1, 0x800a
/* 010AB8 800356B8 24A5A650 */ addiu $a1, $a1, -0x59b0
/* 010ABC 800356BC 24030008 */ addiu $v1, $zero, 8
/* 010AC0 800356C0 8CA20000 */ lw $v0, ($a1)
/* 010AC4 800356C4 240703E8 */ addiu $a3, $zero, 0x3e8
/* 010AC8 800356C8 AFA30010 */ sw $v1, 0x10($sp)
/* 010ACC 800356CC 00461024 */ and $v0, $v0, $a2
/* 010AD0 800356D0 ACA20000 */ sw $v0, ($a1)
/* 010AD4 800356D4 2405FFFF */ addiu $a1, $zero, -1
/* 010AD8 800356D8 0C052A46 */ jal set_music_track
/* 010ADC 800356DC 0080302D */ daddu $a2, $a0, $zero
.L800356E0:
/* 010AE0 800356E0 3C02800A */ lui $v0, 0x800a
/* 010AE4 800356E4 2442A650 */ addiu $v0, $v0, -0x59b0
/* 010AE8 800356E8 8C430000 */ lw $v1, ($v0)
/* 010AEC 800356EC 2404FFBF */ addiu $a0, $zero, -0x41
/* 010AF0 800356F0 00641824 */ and $v1, $v1, $a0
/* 010AF4 800356F4 AC430000 */ sw $v1, ($v0)
/* 010AF8 800356F8 8FBF0018 */ lw $ra, 0x18($sp)
/* 010AFC 800356FC 03E00008 */ jr $ra
/* 010B00 80035700 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,297 +1,289 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_80035704 glabel func_80035704
/* 010B04 80035704 3C03800A */ lui $v1, 0x800a /* 10B04 80035704 3C03800A */ lui $v1, 0x800a
/* 010B08 80035708 80630931 */ lb $v1, 0x931($v1) /* 10B08 80035708 80630931 */ lb $v1, 0x931($v1)
/* 010B0C 8003570C 27BDFFD8 */ addiu $sp, $sp, -0x28 /* 10B0C 8003570C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 010B10 80035710 AFBF0024 */ sw $ra, 0x24($sp) /* 10B10 80035710 AFBF0024 */ sw $ra, 0x24($sp)
/* 010B14 80035714 AFB20020 */ sw $s2, 0x20($sp) /* 10B14 80035714 AFB20020 */ sw $s2, 0x20($sp)
/* 010B18 80035718 AFB1001C */ sw $s1, 0x1c($sp) /* 10B18 80035718 AFB1001C */ sw $s1, 0x1c($sp)
/* 010B1C 8003571C 2C620005 */ sltiu $v0, $v1, 5 /* 10B1C 8003571C 2C620005 */ sltiu $v0, $v1, 5
/* 010B20 80035720 10400101 */ beqz $v0, .L80035B28 /* 10B20 80035720 10400101 */ beqz $v0, .L80035B28
/* 010B24 80035724 AFB00018 */ sw $s0, 0x18($sp) /* 10B24 80035724 AFB00018 */ sw $s0, 0x18($sp)
/* 010B28 80035728 00031080 */ sll $v0, $v1, 2 /* 10B28 80035728 00031080 */ sll $v0, $v1, 2
/* 010B2C 8003572C 3C01800A */ lui $at, 0x800a /* 10B2C 8003572C 3C01800A */ lui $at, 0x800a
/* 010B30 80035730 00220821 */ addu $at, $at, $v0 /* 10B30 80035730 00220821 */ addu $at, $at, $v0
/* 010B34 80035734 8C2282E8 */ lw $v0, -0x7d18($at) /* 10B34 80035734 8C2282E8 */ lw $v0, -0x7d18($at)
/* 010B38 80035738 00400008 */ jr $v0 /* 10B38 80035738 00400008 */ jr $v0
/* 010B3C 8003573C 00000000 */ nop /* 10B3C 8003573C 00000000 */ nop
/* 010B40 80035740 3C10800A */ lui $s0, 0x800a /* 10B40 80035740 3C10800A */ lui $s0, 0x800a
/* 010B44 80035744 26100932 */ addiu $s0, $s0, 0x932 /* 10B44 80035744 26100932 */ addiu $s0, $s0, 0x932
/* 010B48 80035748 86020000 */ lh $v0, ($s0) /* 10B48 80035748 86020000 */ lh $v0, ($s0)
/* 010B4C 8003574C 96030000 */ lhu $v1, ($s0) /* 10B4C 8003574C 96030000 */ lhu $v1, ($s0)
/* 010B50 80035750 1040000F */ beqz $v0, .L80035790 /* 10B50 80035750 1040000F */ beqz $v0, .L80035790
/* 010B54 80035754 2462FFEC */ addiu $v0, $v1, -0x14 /* 10B54 80035754 2462FFEC */ addiu $v0, $v1, -0x14
/* 010B58 80035758 A6020000 */ sh $v0, ($s0) /* 10B58 80035758 A6020000 */ sh $v0, ($s0)
/* 010B5C 8003575C 00021400 */ sll $v0, $v0, 0x10 /* 10B5C 8003575C 00021400 */ sll $v0, $v0, 0x10
/* 010B60 80035760 04420001 */ bltzl $v0, .L80035768 /* 10B60 80035760 04420001 */ bltzl $v0, .L80035768
/* 010B64 80035764 A6000000 */ sh $zero, ($s0) /* 10B64 80035764 A6000000 */ sh $zero, ($s0)
.L80035768: .L80035768:
/* 010B68 80035768 86020000 */ lh $v0, ($s0) /* 10B68 80035768 86020000 */ lh $v0, ($s0)
/* 010B6C 8003576C 44820000 */ mtc1 $v0, $f0 /* 10B6C 8003576C 44820000 */ mtc1 $v0, $f0
/* 010B70 80035770 00000000 */ nop /* 10B70 80035770 00000000 */ nop
/* 010B74 80035774 46800020 */ cvt.s.w $f0, $f0 /* 10B74 80035774 46800020 */ cvt.s.w $f0, $f0
/* 010B78 80035778 44050000 */ mfc1 $a1, $f0 /* 10B78 80035778 44050000 */ mfc1 $a1, $f0
/* 010B7C 8003577C 0C04DF62 */ jal func_80137D88 /* 10B7C 8003577C 0C04DF62 */ jal func_80137D88
/* 010B80 80035780 0000202D */ daddu $a0, $zero, $zero /* 10B80 80035780 0000202D */ daddu $a0, $zero, $zero
/* 010B84 80035784 86020000 */ lh $v0, ($s0) /* 10B84 80035784 86020000 */ lh $v0, ($s0)
/* 010B88 80035788 144000E7 */ bnez $v0, .L80035B28 /* 10B88 80035788 144000E7 */ bnez $v0, .L80035B28
/* 010B8C 8003578C 00000000 */ nop /* 10B8C 8003578C 00000000 */ nop
.L80035790: .L80035790:
/* 010B90 80035790 24020001 */ addiu $v0, $zero, 1 /* 10B90 80035790 24020001 */ addiu $v0, $zero, 1
/* 010B94 80035794 3C01800A */ lui $at, 0x800a /* 10B94 80035794 3C01800A */ lui $at, 0x800a
/* 010B98 80035798 A0220931 */ sb $v0, 0x931($at) /* 10B98 80035798 A0220931 */ sb $v0, 0x931($at)
/* 010B9C 8003579C 0800D6CA */ j .L80035B28 /* 10B9C 8003579C 0800D6CA */ j .L80035B28
/* 010BA0 800357A0 00000000 */ nop /* 10BA0 800357A0 00000000 */ nop
/* 10BA4 800357A4 3C10800A */ lui $s0, 0x800a
/* 010BA4 800357A4 3C10800A */ lui $s0, 0x800a /* 10BA8 800357A8 26100932 */ addiu $s0, $s0, 0x932
/* 010BA8 800357A8 26100932 */ addiu $s0, $s0, 0x932 /* 10BAC 800357AC 241100FF */ addiu $s1, $zero, 0xff
/* 010BAC 800357AC 241100FF */ addiu $s1, $zero, 0xff /* 10BB0 800357B0 86020000 */ lh $v0, ($s0)
/* 010BB0 800357B0 86020000 */ lh $v0, ($s0) /* 10BB4 800357B4 96030000 */ lhu $v1, ($s0)
/* 010BB4 800357B4 96030000 */ lhu $v1, ($s0) /* 10BB8 800357B8 10510011 */ beq $v0, $s1, .L80035800
/* 010BB8 800357B8 10510011 */ beq $v0, $s1, .L80035800 /* 10BBC 800357BC 24620014 */ addiu $v0, $v1, 0x14
/* 010BBC 800357BC 24620014 */ addiu $v0, $v1, 0x14 /* 10BC0 800357C0 A6020000 */ sh $v0, ($s0)
/* 010BC0 800357C0 A6020000 */ sh $v0, ($s0) /* 10BC4 800357C4 00021400 */ sll $v0, $v0, 0x10
/* 010BC4 800357C4 00021400 */ sll $v0, $v0, 0x10 /* 10BC8 800357C8 00021403 */ sra $v0, $v0, 0x10
/* 010BC8 800357C8 00021403 */ sra $v0, $v0, 0x10 /* 10BCC 800357CC 28420100 */ slti $v0, $v0, 0x100
/* 010BCC 800357CC 28420100 */ slti $v0, $v0, 0x100 /* 10BD0 800357D0 50400001 */ beql $v0, $zero, .L800357D8
/* 010BD0 800357D0 50400001 */ beql $v0, $zero, .L800357D8 /* 10BD4 800357D4 A6110000 */ sh $s1, ($s0)
/* 010BD4 800357D4 A6110000 */ sh $s1, ($s0)
.L800357D8: .L800357D8:
/* 010BD8 800357D8 86020000 */ lh $v0, ($s0) /* 10BD8 800357D8 86020000 */ lh $v0, ($s0)
/* 010BDC 800357DC 44820000 */ mtc1 $v0, $f0 /* 10BDC 800357DC 44820000 */ mtc1 $v0, $f0
/* 010BE0 800357E0 00000000 */ nop /* 10BE0 800357E0 00000000 */ nop
/* 010BE4 800357E4 46800020 */ cvt.s.w $f0, $f0 /* 10BE4 800357E4 46800020 */ cvt.s.w $f0, $f0
/* 010BE8 800357E8 44050000 */ mfc1 $a1, $f0 /* 10BE8 800357E8 44050000 */ mfc1 $a1, $f0
/* 010BEC 800357EC 0C04DF62 */ jal func_80137D88 /* 10BEC 800357EC 0C04DF62 */ jal func_80137D88
/* 010BF0 800357F0 0000202D */ daddu $a0, $zero, $zero /* 10BF0 800357F0 0000202D */ daddu $a0, $zero, $zero
/* 010BF4 800357F4 86020000 */ lh $v0, ($s0) /* 10BF4 800357F4 86020000 */ lh $v0, ($s0)
/* 010BF8 800357F8 145100CB */ bne $v0, $s1, .L80035B28 /* 10BF8 800357F8 145100CB */ bne $v0, $s1, .L80035B28
/* 010BFC 800357FC 00000000 */ nop /* 10BFC 800357FC 00000000 */ nop
.L80035800: .L80035800:
/* 010C00 80035800 24020002 */ addiu $v0, $zero, 2 /* 10C00 80035800 24020002 */ addiu $v0, $zero, 2
/* 010C04 80035804 3C01800A */ lui $at, 0x800a /* 10C04 80035804 3C01800A */ lui $at, 0x800a
/* 010C08 80035808 A0220931 */ sb $v0, 0x931($at) /* 10C08 80035808 A0220931 */ sb $v0, 0x931($at)
/* 010C0C 8003580C 0800D6CA */ j .L80035B28 /* 10C0C 8003580C 0800D6CA */ j .L80035B28
/* 010C10 80035810 00000000 */ nop /* 10C10 80035810 00000000 */ nop
/* 10C14 80035814 3C06800A */ lui $a2, 0x800a
/* 010C14 80035814 3C06800A */ lui $a2, 0x800a /* 10C18 80035818 24C60930 */ addiu $a2, $a2, 0x930
/* 010C18 80035818 24C60930 */ addiu $a2, $a2, 0x930 /* 10C1C 8003581C 80C30000 */ lb $v1, ($a2)
/* 010C1C 8003581C 80C30000 */ lb $v1, ($a2) /* 10C20 80035820 24020003 */ addiu $v0, $zero, 3
/* 010C20 80035820 24020003 */ addiu $v0, $zero, 3 /* 10C24 80035824 14620006 */ bne $v1, $v0, .L80035840
/* 010C24 80035824 14620006 */ bne $v1, $v0, .L80035840 /* 10C28 80035828 00000000 */ nop
/* 010C28 80035828 00000000 */ nop /* 10C2C 8003582C 3C03800A */ lui $v1, 0x800a
/* 010C2C 8003582C 3C03800A */ lui $v1, 0x800a /* 10C30 80035830 2463A650 */ addiu $v1, $v1, -0x59b0
/* 010C30 80035830 2463A650 */ addiu $v1, $v1, -0x59b0 /* 10C34 80035834 8C620000 */ lw $v0, ($v1)
/* 010C34 80035834 8C620000 */ lw $v0, ($v1) /* 10C38 80035838 34420008 */ ori $v0, $v0, 8
/* 010C38 80035838 34420008 */ ori $v0, $v0, 8 /* 10C3C 8003583C AC620000 */ sw $v0, ($v1)
/* 010C3C 8003583C AC620000 */ sw $v0, ($v1)
.L80035840: .L80035840:
/* 010C40 80035840 80C20000 */ lb $v0, ($a2) /* 10C40 80035840 80C20000 */ lb $v0, ($a2)
/* 010C44 80035844 90C30000 */ lbu $v1, ($a2) /* 10C44 80035844 90C30000 */ lbu $v1, ($a2)
/* 010C48 80035848 044000B7 */ bltz $v0, .L80035B28 /* 10C48 80035848 044000B7 */ bltz $v0, .L80035B28
/* 010C4C 8003584C 2462FFFF */ addiu $v0, $v1, -1 /* 10C4C 8003584C 2462FFFF */ addiu $v0, $v1, -1
/* 010C50 80035850 A0C20000 */ sb $v0, ($a2) /* 10C50 80035850 A0C20000 */ sb $v0, ($a2)
/* 010C54 80035854 00021600 */ sll $v0, $v0, 0x18 /* 10C54 80035854 00021600 */ sll $v0, $v0, 0x18
/* 010C58 80035858 14400067 */ bnez $v0, .L800359F8 /* 10C58 80035858 14400067 */ bnez $v0, .L800359F8
/* 010C5C 8003585C 24050003 */ addiu $a1, $zero, 3 /* 10C5C 8003585C 24050003 */ addiu $a1, $zero, 3
/* 010C60 80035860 3C048007 */ lui $a0, 0x8007 /* 10C60 80035860 3C048007 */ lui $a0, 0x8007
/* 010C64 80035864 24847980 */ addiu $a0, $a0, 0x7980 /* 10C64 80035864 24847980 */ addiu $a0, $a0, 0x7980
/* 010C68 80035868 2402FFFF */ addiu $v0, $zero, -1 /* 10C68 80035868 2402FFFF */ addiu $v0, $zero, -1
/* 010C6C 8003586C 0C017CBC */ jal nuGfxSetCfb /* 10C6C 8003586C 0C017CBC */ jal nuGfxSetCfb
/* 010C70 80035870 A0C20000 */ sb $v0, ($a2) /* 10C70 80035870 A0C20000 */ sb $v0, ($a2)
/* 010C74 80035874 0C0912C0 */ jal func_80244B00 /* 10C74 80035874 0C0912C0 */ jal func_80244B00
/* 010C78 80035878 00000000 */ nop /* 10C78 80035878 00000000 */ nop
/* 010C7C 8003587C 3C04800A */ lui $a0, 0x800a /* 10C7C 8003587C 3C04800A */ lui $a0, 0x800a
/* 010C80 80035880 2484A650 */ addiu $a0, $a0, -0x59b0 /* 10C80 80035880 2484A650 */ addiu $a0, $a0, -0x59b0
/* 010C84 80035884 8C820000 */ lw $v0, ($a0) /* 10C84 80035884 8C820000 */ lw $v0, ($a0)
/* 010C88 80035888 2403FFF7 */ addiu $v1, $zero, -9 /* 10C88 80035888 2403FFF7 */ addiu $v1, $zero, -9
/* 010C8C 8003588C 00431024 */ and $v0, $v0, $v1 /* 10C8C 8003588C 00431024 */ and $v0, $v0, $v1
/* 010C90 80035890 0C016AFA */ jal get_current_map_header /* 10C90 80035890 0C016AFA */ jal get_current_map_header
/* 010C94 80035894 AC820000 */ sw $v0, ($a0) /* 10C94 80035894 AC820000 */ sw $v0, ($a0)
/* 010C98 80035898 3C108007 */ lui $s0, 0x8007 /* 10C98 80035898 3C108007 */ lui $s0, 0x8007
/* 010C9C 8003589C 2610419C */ addiu $s0, $s0, 0x419c /* 10C9C 8003589C 2610419C */ addiu $s0, $s0, 0x419c
/* 010CA0 800358A0 8E040000 */ lw $a0, ($s0) /* 10CA0 800358A0 8E040000 */ lw $a0, ($s0)
/* 010CA4 800358A4 84830086 */ lh $v1, 0x86($a0) /* 10CA4 800358A4 84830086 */ lh $v1, 0x86($a0)
/* 010CA8 800358A8 00031900 */ sll $v1, $v1, 4 /* 10CA8 800358A8 00031900 */ sll $v1, $v1, 4
/* 010CAC 800358AC 3C058009 */ lui $a1, 0x8009 /* 10CAC 800358AC 3C058009 */ lui $a1, 0x8009
/* 010CB0 800358B0 00A32821 */ addu $a1, $a1, $v1 /* 10CB0 800358B0 00A32821 */ addu $a1, $a1, $v1
/* 010CB4 800358B4 8CA534F4 */ lw $a1, 0x34f4($a1) /* 10CB4 800358B4 8CA534F4 */ lw $a1, 0x34f4($a1)
/* 010CB8 800358B8 8483008C */ lh $v1, 0x8c($a0) /* 10CB8 800358B8 8483008C */ lh $v1, 0x8c($a0)
/* 010CBC 800358BC 0040902D */ daddu $s2, $v0, $zero /* 10CBC 800358BC 0040902D */ daddu $s2, $v0, $zero
/* 010CC0 800358C0 A0800070 */ sb $zero, 0x70($a0) /* 10CC0 800358C0 A0800070 */ sb $zero, 0x70($a0)
/* 010CC4 800358C4 00031940 */ sll $v1, $v1, 5 /* 10CC4 800358C4 00031940 */ sll $v1, $v1, 5
/* 010CC8 800358C8 0C016BE1 */ jal func_8005AF84 /* 10CC8 800358C8 0C016BE1 */ jal func_8005AF84
/* 010CCC 800358CC 00A38821 */ addu $s1, $a1, $v1 /* 10CCC 800358CC 00A38821 */ addu $s1, $a1, $v1
/* 010CD0 800358D0 0C00AB37 */ jal func_8002ACDC /* 10CD0 800358D0 0C00AB37 */ jal func_8002ACDC
/* 010CD4 800358D4 00000000 */ nop /* 10CD4 800358D4 00000000 */ nop
/* 010CD8 800358D8 0C05259C */ jal func_80149670 /* 10CD8 800358D8 0C05259C */ jal func_80149670
/* 010CDC 800358DC 24040001 */ addiu $a0, $zero, 1 /* 10CDC 800358DC 24040001 */ addiu $a0, $zero, 1
/* 010CE0 800358E0 8E020000 */ lw $v0, ($s0) /* 10CE0 800358E0 8E020000 */ lw $v0, ($s0)
/* 010CE4 800358E4 0C0B763E */ jal func_802DD8F8 /* 10CE4 800358E4 0C0B763E */ jal func_802DD8F8
/* 010CE8 800358E8 80440084 */ lb $a0, 0x84($v0) /* 10CE8 800358E8 80440084 */ lb $a0, 0x84($v0)
/* 010CEC 800358EC 0C0457FA */ jal init_model_data /* 10CEC 800358EC 0C0457FA */ jal init_model_data
/* 010CF0 800358F0 00000000 */ nop /* 10CF0 800358F0 00000000 */ nop
/* 010CF4 800358F4 0C05203C */ jal func_801480F0 /* 10CF4 800358F4 0C05203C */ jal func_801480F0
/* 010CF8 800358F8 00000000 */ nop /* 10CF8 800358F8 00000000 */ nop
/* 010CFC 800358FC 0C048316 */ jal func_80120C58 /* 10CFC 800358FC 0C048316 */ jal init_virtual_models
/* 010D00 80035900 00000000 */ nop /* 10D00 80035900 00000000 */ nop
/* 010D04 80035904 0C0478C4 */ jal func_8011E310 /* 10D04 80035904 0C0478C4 */ jal func_8011E310
/* 010D08 80035908 00000000 */ nop /* 10D08 80035908 00000000 */ nop
/* 010D0C 8003590C 0C048C45 */ jal func_80123114 /* 10D0C 8003590C 0C048C45 */ jal init_dynamic_entity_list
/* 010D10 80035910 00000000 */ nop /* 10D10 80035910 00000000 */ nop
/* 010D14 80035914 0000202D */ daddu $a0, $zero, $zero /* 10D14 80035914 0000202D */ daddu $a0, $zero, $zero
/* 010D18 80035918 0C0514BA */ jal func_801452E8 /* 10D18 80035918 0C0514BA */ jal func_801452E8
/* 010D1C 8003591C 0080282D */ daddu $a1, $a0, $zero /* 10D1C 8003591C 0080282D */ daddu $a1, $a0, $zero
/* 010D20 80035920 0C0504C0 */ jal init_menu_icon_list /* 10D20 80035920 0C0504C0 */ jal init_menu_icon_list
/* 010D24 80035924 00000000 */ nop /* 10D24 80035924 00000000 */ nop
/* 010D28 80035928 0C04C433 */ jal init_item_entity_list /* 10D28 80035928 0C04C433 */ jal init_item_entity_list
/* 010D2C 8003592C 00000000 */ nop /* 10D2C 8003592C 00000000 */ nop
/* 010D30 80035930 0C0B0CBB */ jal init_script_list /* 10D30 80035930 0C0B0CBB */ jal init_script_list
/* 010D34 80035934 00000000 */ nop /* 10D34 80035934 00000000 */ nop
/* 010D38 80035938 0C00E14B */ jal init_npc_list /* 10D38 80035938 0C00E14B */ jal init_npc_list
/* 010D3C 8003593C 00000000 */ nop /* 10D3C 8003593C 00000000 */ nop
/* 010D40 80035940 0C044396 */ jal func_80110E58 /* 10D40 80035940 0C044396 */ jal func_80110E58
/* 010D44 80035944 00000000 */ nop /* 10D44 80035944 00000000 */ nop
/* 010D48 80035948 0C0515CA */ jal init_trigger_list /* 10D48 80035948 0C0515CA */ jal init_trigger_list
/* 010D4C 8003594C 00000000 */ nop /* 10D4C 8003594C 00000000 */ nop
/* 010D50 80035950 3C04800E */ lui $a0, 0x800e /* 10D50 80035950 3C04800E */ lui $a0, 0x800e
/* 010D54 80035954 24849230 */ addiu $a0, $a0, -0x6dd0 /* 10D54 80035954 24849230 */ addiu $a0, $a0, -0x6dd0
/* 010D58 80035958 0C016B3A */ jal load_asset_by_name /* 10D58 80035958 0C016B3A */ jal load_asset_by_name
/* 010D5C 8003595C 27A50010 */ addiu $a1, $sp, 0x10 /* 10D5C 8003595C 27A50010 */ addiu $a1, $sp, 0x10
/* 010D60 80035960 0040802D */ daddu $s0, $v0, $zero /* 10D60 80035960 0040802D */ daddu $s0, $v0, $zero
/* 010D64 80035964 3C058021 */ lui $a1, 0x8021 /* 10D64 80035964 3C058021 */ lui $a1, 0x8021
/* 010D68 80035968 24A50000 */ addiu $a1, $a1, 0 /* 10D68 80035968 24A50000 */ addiu $a1, $a1, 0
/* 010D6C 8003596C 0C01BB7C */ jal decode_yay0 /* 10D6C 8003596C 0C01BB7C */ jal decode_yay0
/* 010D70 80035970 0200202D */ daddu $a0, $s0, $zero /* 10D70 80035970 0200202D */ daddu $a0, $s0, $zero
/* 010D74 80035974 0C00AB1E */ jal general_heap_free /* 10D74 80035974 0C00AB1E */ jal general_heap_free
/* 010D78 80035978 0200202D */ daddu $a0, $s0, $zero /* 10D78 80035978 0200202D */ daddu $a0, $s0, $zero
/* 010D7C 8003597C 0C016BE5 */ jal initialize_collision /* 10D7C 8003597C 0C016BE5 */ jal initialize_collision
/* 010D80 80035980 00000000 */ nop /* 10D80 80035980 00000000 */ nop
/* 010D84 80035984 0C016C16 */ jal load_collision /* 10D84 80035984 0C016C16 */ jal load_collision
/* 010D88 80035988 00000000 */ nop /* 10D88 80035988 00000000 */ nop
/* 010D8C 8003598C 8E240008 */ lw $a0, 8($s1) /* 10D8C 8003598C 8E240008 */ lw $a0, 8($s1)
/* 010D90 80035990 10800004 */ beqz $a0, .L800359A4 /* 10D90 80035990 10800004 */ beqz $a0, .L800359A4
/* 010D94 80035994 00000000 */ nop /* 10D94 80035994 00000000 */ nop
/* 010D98 80035998 8E25000C */ lw $a1, 0xc($s1) /* 10D98 80035998 8E25000C */ lw $a1, 0xc($s1)
/* 010D9C 8003599C 0C00A5CF */ jal dma_copy /* 10D9C 8003599C 0C00A5CF */ jal dma_copy
/* 010DA0 800359A0 8E260010 */ lw $a2, 0x10($s1) /* 10DA0 800359A0 8E260010 */ lw $a2, 0x10($s1)
.L800359A4: .L800359A4:
/* 010DA4 800359A4 0C05175C */ jal load_map_bg /* 10DA4 800359A4 0C05175C */ jal load_map_bg
/* 010DA8 800359A8 8E240014 */ lw $a0, 0x14($s1) /* 10DA8 800359A8 8E240014 */ lw $a0, 0x14($s1)
/* 010DAC 800359AC 8E440038 */ lw $a0, 0x38($s2) /* 10DAC 800359AC 8E440038 */ lw $a0, 0x38($s2)
/* 010DB0 800359B0 50800005 */ beql $a0, $zero, .L800359C8 /* 10DB0 800359B0 50800005 */ beql $a0, $zero, .L800359C8
/* 010DB4 800359B4 24040128 */ addiu $a0, $zero, 0x128 /* 10DB4 800359B4 24040128 */ addiu $a0, $zero, 0x128
/* 010DB8 800359B8 0C05178A */ jal read_background_size /* 10DB8 800359B8 0C05178A */ jal read_background_size
/* 010DBC 800359BC 00000000 */ nop /* 10DBC 800359BC 00000000 */ nop
/* 010DC0 800359C0 0800D676 */ j .L800359D8 /* 10DC0 800359C0 0800D676 */ j .L800359D8
/* 010DC4 800359C4 00000000 */ nop /* 10DC4 800359C4 00000000 */ nop
.L800359C8: .L800359C8:
/* 010DC8 800359C8 240500C8 */ addiu $a1, $zero, 0xc8 /* 10DC8 800359C8 240500C8 */ addiu $a1, $zero, 0xc8
/* 010DCC 800359CC 2406000C */ addiu $a2, $zero, 0xc /* 10DCC 800359CC 2406000C */ addiu $a2, $zero, 0xc
/* 010DD0 800359D0 0C05179C */ jal set_background_size /* 10DD0 800359D0 0C05179C */ jal set_background_size
/* 010DD4 800359D4 24070014 */ addiu $a3, $zero, 0x14 /* 10DD4 800359D4 24070014 */ addiu $a3, $zero, 0x14
.L800359D8: .L800359D8:
/* 010DD8 800359D8 0C04584B */ jal calculate_model_sizes /* 10DD8 800359D8 0C04584B */ jal calculate_model_sizes
/* 010DDC 800359DC 00000000 */ nop /* 10DDC 800359DC 00000000 */ nop
/* 010DE0 800359E0 0C00EC6C */ jal func_8003B1B0 /* 10DE0 800359E0 0C00EC6C */ jal func_8003B1B0
/* 010DE4 800359E4 00000000 */ nop /* 10DE4 800359E4 00000000 */ nop
/* 010DE8 800359E8 0C03A631 */ jal status_menu_disable_ignore_changes /* 10DE8 800359E8 0C03A631 */ jal func_800E98C4
/* 010DEC 800359EC 00000000 */ nop /* 10DEC 800359EC 00000000 */ nop
/* 010DF0 800359F0 0C009C22 */ jal func_80027088 /* 10DF0 800359F0 0C009C22 */ jal func_80027088
/* 010DF4 800359F4 24040001 */ addiu $a0, $zero, 1 /* 10DF4 800359F4 24040001 */ addiu $a0, $zero, 1
.L800359F8: .L800359F8:
/* 010DF8 800359F8 0C051FB1 */ jal func_80147EC4 /* 10DF8 800359F8 0C051FB1 */ jal func_80147EC4
/* 010DFC 800359FC 0000202D */ daddu $a0, $zero, $zero /* 10DFC 800359FC 0000202D */ daddu $a0, $zero, $zero
/* 010E00 80035A00 24020003 */ addiu $v0, $zero, 3 /* 10E00 80035A00 24020003 */ addiu $v0, $zero, 3
/* 010E04 80035A04 3C01800A */ lui $at, 0x800a /* 10E04 80035A04 3C01800A */ lui $at, 0x800a
/* 010E08 80035A08 A0220931 */ sb $v0, 0x931($at) /* 10E08 80035A08 A0220931 */ sb $v0, 0x931($at)
/* 010E0C 80035A0C 0C037DD0 */ jal func_800DF740 /* 10E0C 80035A0C 0C037DD0 */ jal update_player
/* 010E10 80035A10 00000000 */ nop /* 10E10 80035A10 00000000 */ nop
/* 010E14 80035A14 0C00E64C */ jal func_80039930 /* 10E14 80035A14 0C00E64C */ jal update_npcs
/* 010E18 80035A18 00000000 */ nop /* 10E18 80035A18 00000000 */ nop
/* 010E1C 80035A1C 0C00F949 */ jal func_8003E524 /* 10E1C 80035A1C 0C00F949 */ jal func_8003E524
/* 010E20 80035A20 00000000 */ nop /* 10E20 80035A20 00000000 */ nop
/* 010E24 80035A24 0C016754 */ jal func_80059D50 /* 10E24 80035A24 0C016754 */ jal func_80059D50
/* 010E28 80035A28 00000000 */ nop /* 10E28 80035A28 00000000 */ nop
/* 010E2C 80035A2C 3C03800A */ lui $v1, 0x800a /* 10E2C 80035A2C 3C03800A */ lui $v1, 0x800a
/* 010E30 80035A30 24630932 */ addiu $v1, $v1, 0x932 /* 10E30 80035A30 24630932 */ addiu $v1, $v1, 0x932
/* 010E34 80035A34 94620000 */ lhu $v0, ($v1) /* 10E34 80035A34 94620000 */ lhu $v0, ($v1)
/* 010E38 80035A38 2442FFEC */ addiu $v0, $v0, -0x14 /* 10E38 80035A38 2442FFEC */ addiu $v0, $v0, -0x14
/* 010E3C 80035A3C A4620000 */ sh $v0, ($v1) /* 10E3C 80035A3C A4620000 */ sh $v0, ($v1)
/* 010E40 80035A40 00021400 */ sll $v0, $v0, 0x10 /* 10E40 80035A40 00021400 */ sll $v0, $v0, 0x10
/* 010E44 80035A44 04420001 */ bltzl $v0, .L80035A4C /* 10E44 80035A44 04420001 */ bltzl $v0, .L80035A4C
/* 010E48 80035A48 A4600000 */ sh $zero, ($v1) /* 10E48 80035A48 A4600000 */ sh $zero, ($v1)
.L80035A4C: .L80035A4C:
/* 010E4C 80035A4C 84620000 */ lh $v0, ($v1) /* 10E4C 80035A4C 84620000 */ lh $v0, ($v1)
/* 010E50 80035A50 44820000 */ mtc1 $v0, $f0 /* 10E50 80035A50 44820000 */ mtc1 $v0, $f0
/* 010E54 80035A54 00000000 */ nop /* 10E54 80035A54 00000000 */ nop
/* 010E58 80035A58 46800020 */ cvt.s.w $f0, $f0 /* 10E58 80035A58 46800020 */ cvt.s.w $f0, $f0
/* 010E5C 80035A5C 44050000 */ mfc1 $a1, $f0 /* 10E5C 80035A5C 44050000 */ mfc1 $a1, $f0
/* 010E60 80035A60 0800D6C8 */ j .L80035B20 /* 10E60 80035A60 0800D6C8 */ j .L80035B20
/* 010E64 80035A64 0000202D */ daddu $a0, $zero, $zero /* 10E64 80035A64 0000202D */ daddu $a0, $zero, $zero
/* 10E68 80035A68 0C037DD0 */ jal update_player
/* 010E68 80035A68 0C037DD0 */ jal func_800DF740 /* 10E6C 80035A6C 00000000 */ nop
/* 010E6C 80035A6C 00000000 */ nop /* 10E70 80035A70 0C00E64C */ jal update_npcs
/* 010E70 80035A70 0C00E64C */ jal func_80039930 /* 10E74 80035A74 00000000 */ nop
/* 010E74 80035A74 00000000 */ nop /* 10E78 80035A78 0C00F949 */ jal func_8003E524
/* 010E78 80035A78 0C00F949 */ jal func_8003E524 /* 10E7C 80035A7C 00000000 */ nop
/* 010E7C 80035A7C 00000000 */ nop /* 10E80 80035A80 0C016754 */ jal func_80059D50
/* 010E80 80035A80 0C016754 */ jal func_80059D50 /* 10E84 80035A84 00000000 */ nop
/* 010E84 80035A84 00000000 */ nop /* 10E88 80035A88 3C04800A */ lui $a0, 0x800a
/* 010E88 80035A88 3C04800A */ lui $a0, 0x800a /* 10E8C 80035A8C 24840932 */ addiu $a0, $a0, 0x932
/* 010E8C 80035A8C 24840932 */ addiu $a0, $a0, 0x932 /* 10E90 80035A90 84820000 */ lh $v0, ($a0)
/* 010E90 80035A90 84820000 */ lh $v0, ($a0) /* 10E94 80035A94 94830000 */ lhu $v1, ($a0)
/* 010E94 80035A94 94830000 */ lhu $v1, ($a0) /* 10E98 80035A98 14400006 */ bnez $v0, .L80035AB4
/* 010E98 80035A98 14400006 */ bnez $v0, .L80035AB4 /* 10E9C 80035A9C 2462FFEC */ addiu $v0, $v1, -0x14
/* 010E9C 80035A9C 2462FFEC */ addiu $v0, $v1, -0x14 /* 10EA0 80035AA0 24020004 */ addiu $v0, $zero, 4
/* 010EA0 80035AA0 24020004 */ addiu $v0, $zero, 4 /* 10EA4 80035AA4 3C01800A */ lui $at, 0x800a
/* 010EA4 80035AA4 3C01800A */ lui $at, 0x800a /* 10EA8 80035AA8 A0220931 */ sb $v0, 0x931($at)
/* 010EA8 80035AA8 A0220931 */ sb $v0, 0x931($at) /* 10EAC 80035AAC 0800D6CA */ j .L80035B28
/* 010EAC 80035AAC 0800D6CA */ j .L80035B28 /* 10EB0 80035AB0 00000000 */ nop
/* 010EB0 80035AB0 00000000 */ nop
.L80035AB4: .L80035AB4:
/* 010EB4 80035AB4 A4820000 */ sh $v0, ($a0) /* 10EB4 80035AB4 A4820000 */ sh $v0, ($a0)
/* 010EB8 80035AB8 00021400 */ sll $v0, $v0, 0x10 /* 10EB8 80035AB8 00021400 */ sll $v0, $v0, 0x10
/* 010EBC 80035ABC 04420001 */ bltzl $v0, .L80035AC4 /* 10EBC 80035ABC 04420001 */ bltzl $v0, .L80035AC4
/* 010EC0 80035AC0 A4800000 */ sh $zero, ($a0) /* 10EC0 80035AC0 A4800000 */ sh $zero, ($a0)
.L80035AC4: .L80035AC4:
/* 010EC4 80035AC4 84820000 */ lh $v0, ($a0) /* 10EC4 80035AC4 84820000 */ lh $v0, ($a0)
/* 010EC8 80035AC8 44820000 */ mtc1 $v0, $f0 /* 10EC8 80035AC8 44820000 */ mtc1 $v0, $f0
/* 010ECC 80035ACC 00000000 */ nop /* 10ECC 80035ACC 00000000 */ nop
/* 010ED0 80035AD0 46800020 */ cvt.s.w $f0, $f0 /* 10ED0 80035AD0 46800020 */ cvt.s.w $f0, $f0
/* 010ED4 80035AD4 44050000 */ mfc1 $a1, $f0 /* 10ED4 80035AD4 44050000 */ mfc1 $a1, $f0
/* 010ED8 80035AD8 0800D6C8 */ j .L80035B20 /* 10ED8 80035AD8 0800D6C8 */ j .L80035B20
/* 010EDC 80035ADC 0000202D */ daddu $a0, $zero, $zero /* 10EDC 80035ADC 0000202D */ daddu $a0, $zero, $zero
/* 10EE0 80035AE0 0C009C22 */ jal func_80027088
/* 010EE0 80035AE0 0C009C22 */ jal func_80027088 /* 10EE4 80035AE4 0000202D */ daddu $a0, $zero, $zero
/* 010EE4 80035AE4 0000202D */ daddu $a0, $zero, $zero /* 10EE8 80035AE8 0C037DD0 */ jal update_player
/* 010EE8 80035AE8 0C037DD0 */ jal func_800DF740 /* 10EEC 80035AEC 00000000 */ nop
/* 010EEC 80035AEC 00000000 */ nop /* 10EF0 80035AF0 0C00E64C */ jal update_npcs
/* 010EF0 80035AF0 0C00E64C */ jal func_80039930 /* 10EF4 80035AF4 00000000 */ nop
/* 010EF4 80035AF4 00000000 */ nop /* 10EF8 80035AF8 0C00F949 */ jal func_8003E524
/* 010EF8 80035AF8 0C00F949 */ jal func_8003E524 /* 10EFC 80035AFC 00000000 */ nop
/* 010EFC 80035AFC 00000000 */ nop /* 10F00 80035B00 0C016754 */ jal func_80059D50
/* 010F00 80035B00 0C016754 */ jal func_80059D50 /* 10F04 80035B04 00000000 */ nop
/* 010F04 80035B04 00000000 */ nop /* 10F08 80035B08 0C038069 */ jal enable_player_input
/* 010F08 80035B08 0C038069 */ jal func_800E01A4 /* 10F0C 80035B0C 00000000 */ nop
/* 010F0C 80035B0C 00000000 */ nop /* 10F10 80035B10 0C00CD3C */ jal set_game_mode
/* 010F10 80035B10 0C00CD3C */ jal set_game_mode /* 10F14 80035B14 24040004 */ addiu $a0, $zero, 4
/* 010F14 80035B14 24040004 */ addiu $a0, $zero, 4 /* 10F18 80035B18 3C05BF80 */ lui $a1, 0xbf80
/* 010F18 80035B18 3C05BF80 */ lui $a1, 0xbf80 /* 10F1C 80035B1C 240400FF */ addiu $a0, $zero, 0xff
/* 010F1C 80035B1C 240400FF */ addiu $a0, $zero, 0xff
.L80035B20: .L80035B20:
/* 010F20 80035B20 0C04DF62 */ jal func_80137D88 /* 10F20 80035B20 0C04DF62 */ jal func_80137D88
/* 010F24 80035B24 00000000 */ nop /* 10F24 80035B24 00000000 */ nop
.L80035B28: .L80035B28:
/* 010F28 80035B28 8FBF0024 */ lw $ra, 0x24($sp) /* 10F28 80035B28 8FBF0024 */ lw $ra, 0x24($sp)
/* 010F2C 80035B2C 8FB20020 */ lw $s2, 0x20($sp) /* 10F2C 80035B2C 8FB20020 */ lw $s2, 0x20($sp)
/* 010F30 80035B30 8FB1001C */ lw $s1, 0x1c($sp) /* 10F30 80035B30 8FB1001C */ lw $s1, 0x1c($sp)
/* 010F34 80035B34 8FB00018 */ lw $s0, 0x18($sp) /* 10F34 80035B34 8FB00018 */ lw $s0, 0x18($sp)
/* 010F38 80035B38 03E00008 */ jr $ra /* 10F38 80035B38 03E00008 */ jr $ra
/* 010F3C 80035B3C 27BD0028 */ addiu $sp, $sp, 0x28 /* 10F3C 80035B3C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,130 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035B40
/* 10F40 80035B40 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10F44 80035B44 AFBF0014 */ sw $ra, 0x14($sp)
/* 10F48 80035B48 0C0912F1 */ jal func_80244BC4
/* 10F4C 80035B4C AFB00010 */ sw $s0, 0x10($sp)
/* 10F50 80035B50 3C03800A */ lui $v1, 0x800a
/* 10F54 80035B54 80630931 */ lb $v1, 0x931($v1)
/* 10F58 80035B58 0040802D */ daddu $s0, $v0, $zero
/* 10F5C 80035B5C 2C620007 */ sltiu $v0, $v1, 7
/* 10F60 80035B60 10400069 */ beqz $v0, .L80035D08
/* 10F64 80035B64 00031080 */ sll $v0, $v1, 2
/* 10F68 80035B68 3C01800A */ lui $at, 0x800a
/* 10F6C 80035B6C 00220821 */ addu $at, $at, $v0
/* 10F70 80035B70 8C228300 */ lw $v0, -0x7d00($at)
/* 10F74 80035B74 00400008 */ jr $v0
/* 10F78 80035B78 00000000 */ nop
/* 10F7C 80035B7C 0000282D */ daddu $a1, $zero, $zero
/* 10F80 80035B80 2404002C */ addiu $a0, $zero, 0x2c
/* 10F84 80035B84 0080382D */ daddu $a3, $a0, $zero
/* 10F88 80035B88 2406FFFF */ addiu $a2, $zero, -1
/* 10F8C 80035B8C 3C038016 */ lui $v1, 0x8016
/* 10F90 80035B90 2463A2D0 */ addiu $v1, $v1, -0x5d30
.L80035B94:
/* 10F94 80035B94 80620003 */ lb $v0, 3($v1)
/* 10F98 80035B98 10470003 */ beq $v0, $a3, .L80035BA8
/* 10F9C 80035B9C 00000000 */ nop
/* 10FA0 80035BA0 54460005 */ bnel $v0, $a2, .L80035BB8
/* 10FA4 80035BA4 24840001 */ addiu $a0, $a0, 1
.L80035BA8:
/* 10FA8 80035BA8 90620000 */ lbu $v0, ($v1)
/* 10FAC 80035BAC 30420008 */ andi $v0, $v0, 8
/* 10FB0 80035BB0 00A22821 */ addu $a1, $a1, $v0
/* 10FB4 80035BB4 24840001 */ addiu $a0, $a0, 1
.L80035BB8:
/* 10FB8 80035BB8 28820040 */ slti $v0, $a0, 0x40
/* 10FBC 80035BBC 1440FFF5 */ bnez $v0, .L80035B94
/* 10FC0 80035BC0 24630020 */ addiu $v1, $v1, 0x20
/* 10FC4 80035BC4 14A00050 */ bnez $a1, .L80035D08
/* 10FC8 80035BC8 24020001 */ addiu $v0, $zero, 1
/* 10FCC 80035BCC 3C01800A */ lui $at, 0x800a
/* 10FD0 80035BD0 A0220931 */ sb $v0, 0x931($at)
/* 10FD4 80035BD4 0800D742 */ j .L80035D08
/* 10FD8 80035BD8 00000000 */ nop
/* 10FDC 80035BDC 12000008 */ beqz $s0, .L80035C00
/* 10FE0 80035BE0 24020002 */ addiu $v0, $zero, 2
/* 10FE4 80035BE4 3C04800A */ lui $a0, 0x800a
/* 10FE8 80035BE8 24840932 */ addiu $a0, $a0, 0x932
/* 10FEC 80035BEC 0C04E0AB */ jal func_801382AC
/* 10FF0 80035BF0 00000000 */ nop
/* 10FF4 80035BF4 00021400 */ sll $v0, $v0, 0x10
/* 10FF8 80035BF8 10400043 */ beqz $v0, .L80035D08
/* 10FFC 80035BFC 24020002 */ addiu $v0, $zero, 2
.L80035C00:
/* 11000 80035C00 3C01800A */ lui $at, 0x800a
/* 11004 80035C04 A0220931 */ sb $v0, 0x931($at)
/* 11008 80035C08 0800D742 */ j .L80035D08
/* 1100C 80035C0C 00000000 */ nop
/* 11010 80035C10 0C0912C0 */ jal func_80244B00
/* 11014 80035C14 00000000 */ nop
/* 11018 80035C18 0C051FB1 */ jal func_80147EC4
/* 1101C 80035C1C 0000202D */ daddu $a0, $zero, $zero
/* 11020 80035C20 24020003 */ addiu $v0, $zero, 3
/* 11024 80035C24 3C01800A */ lui $at, 0x800a
/* 11028 80035C28 A0220931 */ sb $v0, 0x931($at)
/* 1102C 80035C2C 0C009C22 */ jal func_80027088
/* 11030 80035C30 0000202D */ daddu $a0, $zero, $zero
/* 11034 80035C34 1600000B */ bnez $s0, .L80035C64
/* 11038 80035C38 2402000A */ addiu $v0, $zero, 0xa
/* 1103C 80035C3C 0C00CD3C */ jal set_game_mode
/* 11040 80035C40 24040002 */ addiu $a0, $zero, 2
/* 11044 80035C44 3C04FFFE */ lui $a0, 0xfffe
/* 11048 80035C48 3C03800A */ lui $v1, 0x800a
/* 1104C 80035C4C 2463A650 */ addiu $v1, $v1, -0x59b0
/* 11050 80035C50 8C620000 */ lw $v0, ($v1)
/* 11054 80035C54 3484FFFF */ ori $a0, $a0, 0xffff
/* 11058 80035C58 00441024 */ and $v0, $v0, $a0
/* 1105C 80035C5C 0800D742 */ j .L80035D08
/* 11060 80035C60 AC620000 */ sw $v0, ($v1)
.L80035C64:
/* 11064 80035C64 3C01800A */ lui $at, 0x800a
/* 11068 80035C68 A0220930 */ sb $v0, 0x930($at)
/* 1106C 80035C6C 24020004 */ addiu $v0, $zero, 4
/* 11070 80035C70 3C01800A */ lui $at, 0x800a
/* 11074 80035C74 A0220931 */ sb $v0, 0x931($at)
/* 11078 80035C78 0800D742 */ j .L80035D08
/* 1107C 80035C7C 00000000 */ nop
/* 11080 80035C80 3C10800A */ lui $s0, 0x800a
/* 11084 80035C84 26100930 */ addiu $s0, $s0, 0x930
/* 11088 80035C88 82020000 */ lb $v0, ($s0)
/* 1108C 80035C8C 92030000 */ lbu $v1, ($s0)
/* 11090 80035C90 18400003 */ blez $v0, .L80035CA0
/* 11094 80035C94 2462FFFF */ addiu $v0, $v1, -1
/* 11098 80035C98 0800D742 */ j .L80035D08
/* 1109C 80035C9C A2020000 */ sb $v0, ($s0)
.L80035CA0:
/* 110A0 80035CA0 3C014000 */ lui $at, 0x4000
/* 110A4 80035CA4 44816000 */ mtc1 $at, $f12
/* 110A8 80035CA8 0C00AFB7 */ jal set_curtain_scale_goal
/* 110AC 80035CAC 00000000 */ nop
/* 110B0 80035CB0 2402000A */ addiu $v0, $zero, 0xa
/* 110B4 80035CB4 A2020000 */ sb $v0, ($s0)
/* 110B8 80035CB8 24020005 */ addiu $v0, $zero, 5
/* 110BC 80035CBC 3C01800A */ lui $at, 0x800a
/* 110C0 80035CC0 A0220931 */ sb $v0, 0x931($at)
/* 110C4 80035CC4 0800D742 */ j .L80035D08
/* 110C8 80035CC8 00000000 */ nop
/* 110CC 80035CCC 3C04800A */ lui $a0, 0x800a
/* 110D0 80035CD0 24840930 */ addiu $a0, $a0, 0x930
/* 110D4 80035CD4 80820000 */ lb $v0, ($a0)
/* 110D8 80035CD8 90830000 */ lbu $v1, ($a0)
/* 110DC 80035CDC 18400003 */ blez $v0, .L80035CEC
/* 110E0 80035CE0 2462FFFF */ addiu $v0, $v1, -1
/* 110E4 80035CE4 0800D742 */ j .L80035D08
/* 110E8 80035CE8 A0820000 */ sb $v0, ($a0)
.L80035CEC:
/* 110EC 80035CEC 24020006 */ addiu $v0, $zero, 6
/* 110F0 80035CF0 3C01800A */ lui $at, 0x800a
/* 110F4 80035CF4 A0220931 */ sb $v0, 0x931($at)
/* 110F8 80035CF8 0800D742 */ j .L80035D08
/* 110FC 80035CFC 00000000 */ nop
/* 11100 80035D00 0C00CD3C */ jal set_game_mode
/* 11104 80035D04 24040007 */ addiu $a0, $zero, 7
.L80035D08:
/* 11108 80035D08 8FBF0014 */ lw $ra, 0x14($sp)
/* 1110C 80035D0C 8FB00010 */ lw $s0, 0x10($sp)
/* 11110 80035D10 03E00008 */ jr $ra
/* 11114 80035D14 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,140 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035B40_2
/* 010F40 80035B40 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 010F44 80035B44 AFBF0014 */ sw $ra, 0x14($sp)
/* 010F48 80035B48 0C0912F1 */ jal func_80244BC4
/* 010F4C 80035B4C AFB00010 */ sw $s0, 0x10($sp)
/* 010F50 80035B50 3C03800A */ lui $v1, 0x800a
/* 010F54 80035B54 80630931 */ lb $v1, 0x931($v1)
/* 010F58 80035B58 0040802D */ daddu $s0, $v0, $zero
/* 010F5C 80035B5C 2C620007 */ sltiu $v0, $v1, 7
/* 010F60 80035B60 10400069 */ beqz $v0, .L80035D08
/* 010F64 80035B64 00031080 */ sll $v0, $v1, 2
/* 010F68 80035B68 3C01800A */ lui $at, 0x800a
/* 010F6C 80035B6C 00220821 */ addu $at, $at, $v0
/* 010F70 80035B70 8C228300 */ lw $v0, -0x7d00($at)
/* 010F74 80035B74 00400008 */ jr $v0
/* 010F78 80035B78 00000000 */ nop
/* 010F7C 80035B7C 0000282D */ daddu $a1, $zero, $zero
/* 010F80 80035B80 2404002C */ addiu $a0, $zero, 0x2c
/* 010F84 80035B84 0080382D */ daddu $a3, $a0, $zero
/* 010F88 80035B88 2406FFFF */ addiu $a2, $zero, -1
/* 010F8C 80035B8C 3C038016 */ lui $v1, 0x8016
/* 010F90 80035B90 2463A2D0 */ addiu $v1, $v1, -0x5d30
.L80035B94:
/* 010F94 80035B94 80620003 */ lb $v0, 3($v1)
/* 010F98 80035B98 10470003 */ beq $v0, $a3, .L80035BA8
/* 010F9C 80035B9C 00000000 */ nop
/* 010FA0 80035BA0 54460005 */ bnel $v0, $a2, .L80035BB8
/* 010FA4 80035BA4 24840001 */ addiu $a0, $a0, 1
.L80035BA8:
/* 010FA8 80035BA8 90620000 */ lbu $v0, ($v1)
/* 010FAC 80035BAC 30420008 */ andi $v0, $v0, 8
/* 010FB0 80035BB0 00A22821 */ addu $a1, $a1, $v0
/* 010FB4 80035BB4 24840001 */ addiu $a0, $a0, 1
.L80035BB8:
/* 010FB8 80035BB8 28820040 */ slti $v0, $a0, 0x40
/* 010FBC 80035BBC 1440FFF5 */ bnez $v0, .L80035B94
/* 010FC0 80035BC0 24630020 */ addiu $v1, $v1, 0x20
/* 010FC4 80035BC4 14A00050 */ bnez $a1, .L80035D08
/* 010FC8 80035BC8 24020001 */ addiu $v0, $zero, 1
/* 010FCC 80035BCC 3C01800A */ lui $at, 0x800a
/* 010FD0 80035BD0 A0220931 */ sb $v0, 0x931($at)
/* 010FD4 80035BD4 0800D742 */ j .L80035D08
/* 010FD8 80035BD8 00000000 */ nop
/* 010FDC 80035BDC 12000008 */ beqz $s0, .L80035C00
/* 010FE0 80035BE0 24020002 */ addiu $v0, $zero, 2
/* 010FE4 80035BE4 3C04800A */ lui $a0, 0x800a
/* 010FE8 80035BE8 24840932 */ addiu $a0, $a0, 0x932
/* 010FEC 80035BEC 0C04E0AB */ jal func_801382AC
/* 010FF0 80035BF0 00000000 */ nop
/* 010FF4 80035BF4 00021400 */ sll $v0, $v0, 0x10
/* 010FF8 80035BF8 10400043 */ beqz $v0, .L80035D08
/* 010FFC 80035BFC 24020002 */ addiu $v0, $zero, 2
.L80035C00:
/* 011000 80035C00 3C01800A */ lui $at, 0x800a
/* 011004 80035C04 A0220931 */ sb $v0, 0x931($at)
/* 011008 80035C08 0800D742 */ j .L80035D08
/* 01100C 80035C0C 00000000 */ nop
/* 011010 80035C10 0C0912C0 */ jal func_80244B00
/* 011014 80035C14 00000000 */ nop
/* 011018 80035C18 0C051FB1 */ jal func_80147EC4
/* 01101C 80035C1C 0000202D */ daddu $a0, $zero, $zero
/* 011020 80035C20 24020003 */ addiu $v0, $zero, 3
/* 011024 80035C24 3C01800A */ lui $at, 0x800a
/* 011028 80035C28 A0220931 */ sb $v0, 0x931($at)
/* 01102C 80035C2C 0C009C22 */ jal func_80027088
/* 011030 80035C30 0000202D */ daddu $a0, $zero, $zero
/* 011034 80035C34 1600000B */ bnez $s0, .L80035C64
/* 011038 80035C38 2402000A */ addiu $v0, $zero, 0xa
/* 01103C 80035C3C 0C00CD3C */ jal set_game_mode
/* 011040 80035C40 24040002 */ addiu $a0, $zero, 2
/* 011044 80035C44 3C04FFFE */ lui $a0, 0xfffe
/* 011048 80035C48 3C03800A */ lui $v1, 0x800a
/* 01104C 80035C4C 2463A650 */ addiu $v1, $v1, -0x59b0
/* 011050 80035C50 8C620000 */ lw $v0, ($v1)
/* 011054 80035C54 3484FFFF */ ori $a0, $a0, 0xffff
/* 011058 80035C58 00441024 */ and $v0, $v0, $a0
/* 01105C 80035C5C 0800D742 */ j .L80035D08
/* 011060 80035C60 AC620000 */ sw $v0, ($v1)
.L80035C64:
/* 011064 80035C64 3C01800A */ lui $at, 0x800a
/* 011068 80035C68 A0220930 */ sb $v0, 0x930($at)
/* 01106C 80035C6C 24020004 */ addiu $v0, $zero, 4
/* 011070 80035C70 3C01800A */ lui $at, 0x800a
/* 011074 80035C74 A0220931 */ sb $v0, 0x931($at)
/* 011078 80035C78 0800D742 */ j .L80035D08
/* 01107C 80035C7C 00000000 */ nop
/* 011080 80035C80 3C10800A */ lui $s0, 0x800a
/* 011084 80035C84 26100930 */ addiu $s0, $s0, 0x930
/* 011088 80035C88 82020000 */ lb $v0, ($s0)
/* 01108C 80035C8C 92030000 */ lbu $v1, ($s0)
/* 011090 80035C90 18400003 */ blez $v0, .L80035CA0
/* 011094 80035C94 2462FFFF */ addiu $v0, $v1, -1
/* 011098 80035C98 0800D742 */ j .L80035D08
/* 01109C 80035C9C A2020000 */ sb $v0, ($s0)
.L80035CA0:
/* 0110A0 80035CA0 3C014000 */ lui $at, 0x4000
/* 0110A4 80035CA4 44816000 */ mtc1 $at, $f12
/* 0110A8 80035CA8 0C00AFB7 */ jal func_8002BEDC
/* 0110AC 80035CAC 00000000 */ nop
/* 0110B0 80035CB0 2402000A */ addiu $v0, $zero, 0xa
/* 0110B4 80035CB4 A2020000 */ sb $v0, ($s0)
/* 0110B8 80035CB8 24020005 */ addiu $v0, $zero, 5
/* 0110BC 80035CBC 3C01800A */ lui $at, 0x800a
/* 0110C0 80035CC0 A0220931 */ sb $v0, 0x931($at)
/* 0110C4 80035CC4 0800D742 */ j .L80035D08
/* 0110C8 80035CC8 00000000 */ nop
/* 0110CC 80035CCC 3C04800A */ lui $a0, 0x800a
/* 0110D0 80035CD0 24840930 */ addiu $a0, $a0, 0x930
/* 0110D4 80035CD4 80820000 */ lb $v0, ($a0)
/* 0110D8 80035CD8 90830000 */ lbu $v1, ($a0)
/* 0110DC 80035CDC 18400003 */ blez $v0, .L80035CEC
/* 0110E0 80035CE0 2462FFFF */ addiu $v0, $v1, -1
/* 0110E4 80035CE4 0800D742 */ j .L80035D08
/* 0110E8 80035CE8 A0820000 */ sb $v0, ($a0)
.L80035CEC:
/* 0110EC 80035CEC 24020006 */ addiu $v0, $zero, 6
/* 0110F0 80035CF0 3C01800A */ lui $at, 0x800a
/* 0110F4 80035CF4 A0220931 */ sb $v0, 0x931($at)
/* 0110F8 80035CF8 0800D742 */ j .L80035D08
/* 0110FC 80035CFC 00000000 */ nop
/* 011100 80035D00 0C00CD3C */ jal set_game_mode
/* 011104 80035D04 24040007 */ addiu $a0, $zero, 7
.L80035D08:
/* 011108 80035D08 8FBF0014 */ lw $ra, 0x14($sp)
/* 01110C 80035D0C 8FB00010 */ lw $s0, 0x10($sp)
/* 011110 80035D10 03E00008 */ jr $ra
/* 011114 80035D14 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_80035D18
/* 11118 80035D18 03E00008 */ jr $ra
/* 1111C 80035D1C 00000000 */ nop

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035D18_2
/* 011118 80035D18 03E00008 */ jr $ra
/* 01111C 80035D1C 00000000 */ nop

View File

@ -0,0 +1,8 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035D20
/* 11120 80035D20 03E00008 */ jr $ra
/* 11124 80035D24 00000000 */ nop
/* 11128 80035D28 00000000 */ nop
/* 1112C 80035D2C 00000000 */ nop

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035D20_2
/* 011120 80035D20 03E00008 */ jr $ra
/* 011124 80035D24 00000000 */ nop
/* 011128 80035D28 00000000 */ nop
/* 01112C 80035D2C 00000000 */ nop

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel entity_init_Hammer1Block_normal
/* 105680 802E3E00 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105684 802E3E04 AFB00010 */ sw $s0, 0x10($sp)
/* 105688 802E3E08 AFBF0014 */ sw $ra, 0x14($sp)
/* 10568C 802E3E0C 0C0B8DB9 */ jal entity_init_Hammer23Block_normal
/* 105690 802E3E10 0080802D */ daddu $s0, $a0, $zero
/* 105694 802E3E14 3C02802E */ lui $v0, 0x802e
/* 105698 802E3E18 244230C0 */ addiu $v0, $v0, 0x30c0
/* 10569C 802E3E1C AE02003C */ sw $v0, 0x3c($s0)
/* 1056A0 802E3E20 8FBF0014 */ lw $ra, 0x14($sp)
/* 1056A4 802E3E24 8FB00010 */ lw $s0, 0x10($sp)
/* 1056A8 802E3E28 03E00008 */ jr $ra
/* 1056AC 802E3E2C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel entity_init_Hammer23Block_normal
/* 104F64 802E36E4 8C820040 */ lw $v0, 0x40($a0)
/* 104F68 802E36E8 2403FFFF */ addiu $v1, $zero, -1
/* 104F6C 802E36EC A4430010 */ sh $v1, 0x10($v0)
/* 104F70 802E36F0 C480004C */ lwc1 $f0, 0x4c($a0)
/* 104F74 802E36F4 3C05FFDF */ lui $a1, 0xffdf
/* 104F78 802E36F8 A443000E */ sh $v1, 0xe($v0)
/* 104F7C 802E36FC E4400014 */ swc1 $f0, 0x14($v0)
/* 104F80 802E3700 8C820000 */ lw $v0, ($a0)
/* 104F84 802E3704 34A5FFFF */ ori $a1, $a1, 0xffff
/* 104F88 802E3708 00451024 */ and $v0, $v0, $a1
/* 104F8C 802E370C 03E00008 */ jr $ra
/* 104F90 802E3710 AC820000 */ sw $v0, ($a0)

View File

@ -0,0 +1,24 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel entity_init_HammerBlock_small
/* 1056B0 802E3E30 2403FFFF */ addiu $v1, $zero, -1
/* 1056B4 802E3E34 8C820040 */ lw $v0, 0x40($a0)
/* 1056B8 802E3E38 3C05FFDF */ lui $a1, 0xffdf
/* 1056BC 802E3E3C A4430010 */ sh $v1, 0x10($v0)
/* 1056C0 802E3E40 C480004C */ lwc1 $f0, 0x4c($a0)
/* 1056C4 802E3E44 34A5FFFF */ ori $a1, $a1, 0xffff
/* 1056C8 802E3E48 A443000E */ sh $v1, 0xe($v0)
/* 1056CC 802E3E4C E4400014 */ swc1 $f0, 0x14($v0)
/* 1056D0 802E3E50 8C820000 */ lw $v0, ($a0)
/* 1056D4 802E3E54 3C013F00 */ lui $at, 0x3f00
/* 1056D8 802E3E58 44810000 */ mtc1 $at, $f0
/* 1056DC 802E3E5C 00451024 */ and $v0, $v0, $a1
/* 1056E0 802E3E60 E4800054 */ swc1 $f0, 0x54($a0)
/* 1056E4 802E3E64 E4800058 */ swc1 $f0, 0x58($a0)
/* 1056E8 802E3E68 E480005C */ swc1 $f0, 0x5c($a0)
/* 1056EC 802E3E6C 03E00008 */ jr $ra
/* 1056F0 802E3E70 AC820000 */ sw $v0, ($a0)
/* 1056F4 802E3E74 00000000 */ nop
/* 1056F8 802E3E78 00000000 */ nop
/* 1056FC 802E3E7C 00000000 */ nop

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E30C0 glabel func_802E30C0
/* 104940 802E30C0 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 104940 802E30C0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 104944 802E30C4 AFB00010 */ sw $s0, 0x10($sp) /* 104944 802E30C4 AFB00010 */ sw $s0, 0x10($sp)
@ -43,7 +42,6 @@ glabel func_802E30C0
/* 1049D4 802E3154 ACA60004 */ sw $a2, 4($a1) /* 1049D4 802E3154 ACA60004 */ sw $a2, 4($a1)
/* 1049D8 802E3158 080B8C65 */ j .L802E3194 /* 1049D8 802E3158 080B8C65 */ j .L802E3194
/* 1049DC 802E315C AC640000 */ sw $a0, ($v1) /* 1049DC 802E315C AC640000 */ sw $a0, ($v1)
.L802E3160: .L802E3160:
/* 1049E0 802E3160 0200202D */ daddu $a0, $s0, $zero /* 1049E0 802E3160 0200202D */ daddu $a0, $s0, $zero
/* 1049E4 802E3164 26100008 */ addiu $s0, $s0, 8 /* 1049E4 802E3164 26100008 */ addiu $s0, $s0, 8
@ -66,125 +64,3 @@ glabel func_802E30C0
/* 104A24 802E31A4 8FB00010 */ lw $s0, 0x10($sp) /* 104A24 802E31A4 8FB00010 */ lw $s0, 0x10($sp)
/* 104A28 802E31A8 03E00008 */ jr $ra /* 104A28 802E31A8 03E00008 */ jr $ra
/* 104A2C 802E31AC 27BD0018 */ addiu $sp, $sp, 0x18 /* 104A2C 802E31AC 27BD0018 */ addiu $sp, $sp, 0x18
/* 104A30 802E31B0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 104A34 802E31B4 3C013F80 */ lui $at, 0x3f80
/* 104A38 802E31B8 44810000 */ mtc1 $at, $f0
/* 104A3C 802E31BC 2402003C */ addiu $v0, $zero, 0x3c
/* 104A40 802E31C0 AFBF0018 */ sw $ra, 0x18($sp)
/* 104A44 802E31C4 AFA20014 */ sw $v0, 0x14($sp)
/* 104A48 802E31C8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 104A4C 802E31CC 8C850048 */ lw $a1, 0x48($a0)
/* 104A50 802E31D0 8C86004C */ lw $a2, 0x4c($a0)
/* 104A54 802E31D4 8C870050 */ lw $a3, 0x50($a0)
/* 104A58 802E31D8 0C01C88C */ jal func_80072230
/* 104A5C 802E31DC 0000202D */ daddu $a0, $zero, $zero
/* 104A60 802E31E0 8FBF0018 */ lw $ra, 0x18($sp)
/* 104A64 802E31E4 03E00008 */ jr $ra
/* 104A68 802E31E8 27BD0020 */ addiu $sp, $sp, 0x20
/* 104A6C 802E31EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 104A70 802E31F0 AFB00010 */ sw $s0, 0x10($sp)
/* 104A74 802E31F4 0080802D */ daddu $s0, $a0, $zero
/* 104A78 802E31F8 AFBF0014 */ sw $ra, 0x14($sp)
/* 104A7C 802E31FC 0C0441A9 */ jal func_801106A4
/* 104A80 802E3200 92040004 */ lbu $a0, 4($s0)
/* 104A84 802E3204 2442FFE8 */ addiu $v0, $v0, -0x18
/* 104A88 802E3208 2C420003 */ sltiu $v0, $v0, 3
/* 104A8C 802E320C 1040000D */ beqz $v0, .L802E3244
/* 104A90 802E3210 00000000 */ nop
/* 104A94 802E3214 3C013E6B */ lui $at, 0x3e6b
/* 104A98 802E3218 3421851F */ ori $at, $at, 0x851f
/* 104A9C 802E321C 44810000 */ mtc1 $at, $f0
/* 104AA0 802E3220 3C014190 */ lui $at, 0x4190
/* 104AA4 802E3224 44811000 */ mtc1 $at, $f2
/* 104AA8 802E3228 E6000058 */ swc1 $f0, 0x58($s0)
/* 104AAC 802E322C C600004C */ lwc1 $f0, 0x4c($s0)
/* 104AB0 802E3230 3C013F85 */ lui $at, 0x3f85
/* 104AB4 802E3234 34211EB8 */ ori $at, $at, 0x1eb8
/* 104AB8 802E3238 44812000 */ mtc1 $at, $f4
/* 104ABC 802E323C 080B8C9C */ j .L802E3270
/* 104AC0 802E3240 46020000 */ add.s $f0, $f0, $f2
.L802E3244:
/* 104AC4 802E3244 3C013EEB */ lui $at, 0x3eeb
/* 104AC8 802E3248 3421851F */ ori $at, $at, 0x851f
/* 104ACC 802E324C 44810000 */ mtc1 $at, $f0
/* 104AD0 802E3250 3C014190 */ lui $at, 0x4190
/* 104AD4 802E3254 44811000 */ mtc1 $at, $f2
/* 104AD8 802E3258 E6000058 */ swc1 $f0, 0x58($s0)
/* 104ADC 802E325C C600004C */ lwc1 $f0, 0x4c($s0)
/* 104AE0 802E3260 3C014005 */ lui $at, 0x4005
/* 104AE4 802E3264 34211EB8 */ ori $at, $at, 0x1eb8
/* 104AE8 802E3268 44812000 */ mtc1 $at, $f4
/* 104AEC 802E326C 46020000 */ add.s $f0, $f0, $f2
.L802E3270:
/* 104AF0 802E3270 E6040054 */ swc1 $f4, 0x54($s0)
/* 104AF4 802E3274 E604005C */ swc1 $f4, 0x5c($s0)
/* 104AF8 802E3278 E600004C */ swc1 $f0, 0x4c($s0)
/* 104AFC 802E327C 8FBF0014 */ lw $ra, 0x14($sp)
/* 104B00 802E3280 8FB00010 */ lw $s0, 0x10($sp)
/* 104B04 802E3284 03E00008 */ jr $ra
/* 104B08 802E3288 27BD0018 */ addiu $sp, $sp, 0x18
/* 104B0C 802E328C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 104B10 802E3290 AFB00010 */ sw $s0, 0x10($sp)
/* 104B14 802E3294 0080802D */ daddu $s0, $a0, $zero
/* 104B18 802E3298 AFBF0014 */ sw $ra, 0x14($sp)
/* 104B1C 802E329C 0C0441A9 */ jal func_801106A4
/* 104B20 802E32A0 92040004 */ lbu $a0, 4($s0)
/* 104B24 802E32A4 2442FFE8 */ addiu $v0, $v0, -0x18
/* 104B28 802E32A8 2C420003 */ sltiu $v0, $v0, 3
/* 104B2C 802E32AC 10400012 */ beqz $v0, .L802E32F8
/* 104B30 802E32B0 00000000 */ nop
/* 104B34 802E32B4 C6000054 */ lwc1 $f0, 0x54($s0)
/* 104B38 802E32B8 3C01802F */ lui $at, 0x802f
/* 104B3C 802E32BC D424B1D0 */ ldc1 $f4, -0x4e30($at)
/* 104B40 802E32C0 C602005C */ lwc1 $f2, 0x5c($s0)
/* 104B44 802E32C4 46000021 */ cvt.d.s $f0, $f0
/* 104B48 802E32C8 46240001 */ sub.d $f0, $f0, $f4
/* 104B4C 802E32CC 3C014040 */ lui $at, 0x4040
/* 104B50 802E32D0 44813000 */ mtc1 $at, $f6
/* 104B54 802E32D4 460010A1 */ cvt.d.s $f2, $f2
/* 104B58 802E32D8 46241081 */ sub.d $f2, $f2, $f4
/* 104B5C 802E32DC 46200020 */ cvt.s.d $f0, $f0
/* 104B60 802E32E0 E6000054 */ swc1 $f0, 0x54($s0)
/* 104B64 802E32E4 C6000058 */ lwc1 $f0, 0x58($s0)
/* 104B68 802E32E8 3C01802F */ lui $at, 0x802f
/* 104B6C 802E32EC D424B1D8 */ ldc1 $f4, -0x4e28($at)
/* 104B70 802E32F0 080B8CCE */ j .L802E3338
/* 104B74 802E32F4 46000021 */ cvt.d.s $f0, $f0
.L802E32F8:
/* 104B78 802E32F8 C6000054 */ lwc1 $f0, 0x54($s0)
/* 104B7C 802E32FC 3C01802F */ lui $at, 0x802f
/* 104B80 802E3300 D424B1E0 */ ldc1 $f4, -0x4e20($at)
/* 104B84 802E3304 C602005C */ lwc1 $f2, 0x5c($s0)
/* 104B88 802E3308 46000021 */ cvt.d.s $f0, $f0
/* 104B8C 802E330C 46240001 */ sub.d $f0, $f0, $f4
/* 104B90 802E3310 3C014040 */ lui $at, 0x4040
/* 104B94 802E3314 44813000 */ mtc1 $at, $f6
/* 104B98 802E3318 460010A1 */ cvt.d.s $f2, $f2
/* 104B9C 802E331C 46241081 */ sub.d $f2, $f2, $f4
/* 104BA0 802E3320 46200020 */ cvt.s.d $f0, $f0
/* 104BA4 802E3324 E6000054 */ swc1 $f0, 0x54($s0)
/* 104BA8 802E3328 C6000058 */ lwc1 $f0, 0x58($s0)
/* 104BAC 802E332C 3C01802F */ lui $at, 0x802f
/* 104BB0 802E3330 D424B1E8 */ ldc1 $f4, -0x4e18($at)
/* 104BB4 802E3334 46000021 */ cvt.d.s $f0, $f0
.L802E3338:
/* 104BB8 802E3338 46240000 */ add.d $f0, $f0, $f4
/* 104BBC 802E333C C604004C */ lwc1 $f4, 0x4c($s0)
/* 104BC0 802E3340 462010A0 */ cvt.s.d $f2, $f2
/* 104BC4 802E3344 E602005C */ swc1 $f2, 0x5c($s0)
/* 104BC8 802E3348 46062101 */ sub.s $f4, $f4, $f6
/* 104BCC 802E334C 46200020 */ cvt.s.d $f0, $f0
/* 104BD0 802E3350 E6000058 */ swc1 $f0, 0x58($s0)
/* 104BD4 802E3354 E604004C */ swc1 $f4, 0x4c($s0)
/* 104BD8 802E3358 0C0B8D94 */ jal func_802E3650
/* 104BDC 802E335C 0200202D */ daddu $a0, $s0, $zero
/* 104BE0 802E3360 8FBF0014 */ lw $ra, 0x14($sp)
/* 104BE4 802E3364 8FB00010 */ lw $s0, 0x10($sp)
/* 104BE8 802E3368 03E00008 */ jr $ra
/* 104BEC 802E336C 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_802E31B0
/* 104A30 802E31B0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 104A34 802E31B4 3C013F80 */ lui $at, 0x3f80
/* 104A38 802E31B8 44810000 */ mtc1 $at, $f0
/* 104A3C 802E31BC 2402003C */ addiu $v0, $zero, 0x3c
/* 104A40 802E31C0 AFBF0018 */ sw $ra, 0x18($sp)
/* 104A44 802E31C4 AFA20014 */ sw $v0, 0x14($sp)
/* 104A48 802E31C8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 104A4C 802E31CC 8C850048 */ lw $a1, 0x48($a0)
/* 104A50 802E31D0 8C86004C */ lw $a2, 0x4c($a0)
/* 104A54 802E31D4 8C870050 */ lw $a3, 0x50($a0)
/* 104A58 802E31D8 0C01C88C */ jal func_80072230
/* 104A5C 802E31DC 0000202D */ daddu $a0, $zero, $zero
/* 104A60 802E31E0 8FBF0018 */ lw $ra, 0x18($sp)
/* 104A64 802E31E4 03E00008 */ jr $ra
/* 104A68 802E31E8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,46 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E31EC
/* 104A6C 802E31EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 104A70 802E31F0 AFB00010 */ sw $s0, 0x10($sp)
/* 104A74 802E31F4 0080802D */ daddu $s0, $a0, $zero
/* 104A78 802E31F8 AFBF0014 */ sw $ra, 0x14($sp)
/* 104A7C 802E31FC 0C0441A9 */ jal get_entity_type
/* 104A80 802E3200 92040004 */ lbu $a0, 4($s0)
/* 104A84 802E3204 2442FFE8 */ addiu $v0, $v0, -0x18
/* 104A88 802E3208 2C420003 */ sltiu $v0, $v0, 3
/* 104A8C 802E320C 1040000D */ beqz $v0, .L802E3244
/* 104A90 802E3210 00000000 */ nop
/* 104A94 802E3214 3C013E6B */ lui $at, 0x3e6b
/* 104A98 802E3218 3421851F */ ori $at, $at, 0x851f
/* 104A9C 802E321C 44810000 */ mtc1 $at, $f0
/* 104AA0 802E3220 3C014190 */ lui $at, 0x4190
/* 104AA4 802E3224 44811000 */ mtc1 $at, $f2
/* 104AA8 802E3228 E6000058 */ swc1 $f0, 0x58($s0)
/* 104AAC 802E322C C600004C */ lwc1 $f0, 0x4c($s0)
/* 104AB0 802E3230 3C013F85 */ lui $at, 0x3f85
/* 104AB4 802E3234 34211EB8 */ ori $at, $at, 0x1eb8
/* 104AB8 802E3238 44812000 */ mtc1 $at, $f4
/* 104ABC 802E323C 080B8C9C */ j .L802E3270
/* 104AC0 802E3240 46020000 */ add.s $f0, $f0, $f2
.L802E3244:
/* 104AC4 802E3244 3C013EEB */ lui $at, 0x3eeb
/* 104AC8 802E3248 3421851F */ ori $at, $at, 0x851f
/* 104ACC 802E324C 44810000 */ mtc1 $at, $f0
/* 104AD0 802E3250 3C014190 */ lui $at, 0x4190
/* 104AD4 802E3254 44811000 */ mtc1 $at, $f2
/* 104AD8 802E3258 E6000058 */ swc1 $f0, 0x58($s0)
/* 104ADC 802E325C C600004C */ lwc1 $f0, 0x4c($s0)
/* 104AE0 802E3260 3C014005 */ lui $at, 0x4005
/* 104AE4 802E3264 34211EB8 */ ori $at, $at, 0x1eb8
/* 104AE8 802E3268 44812000 */ mtc1 $at, $f4
/* 104AEC 802E326C 46020000 */ add.s $f0, $f0, $f2
.L802E3270:
/* 104AF0 802E3270 E6040054 */ swc1 $f4, 0x54($s0)
/* 104AF4 802E3274 E604005C */ swc1 $f4, 0x5c($s0)
/* 104AF8 802E3278 E600004C */ swc1 $f0, 0x4c($s0)
/* 104AFC 802E327C 8FBF0014 */ lw $ra, 0x14($sp)
/* 104B00 802E3280 8FB00010 */ lw $s0, 0x10($sp)
/* 104B04 802E3284 03E00008 */ jr $ra
/* 104B08 802E3288 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,63 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E328C
/* 104B0C 802E328C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 104B10 802E3290 AFB00010 */ sw $s0, 0x10($sp)
/* 104B14 802E3294 0080802D */ daddu $s0, $a0, $zero
/* 104B18 802E3298 AFBF0014 */ sw $ra, 0x14($sp)
/* 104B1C 802E329C 0C0441A9 */ jal get_entity_type
/* 104B20 802E32A0 92040004 */ lbu $a0, 4($s0)
/* 104B24 802E32A4 2442FFE8 */ addiu $v0, $v0, -0x18
/* 104B28 802E32A8 2C420003 */ sltiu $v0, $v0, 3
/* 104B2C 802E32AC 10400012 */ beqz $v0, .L802E32F8
/* 104B30 802E32B0 00000000 */ nop
/* 104B34 802E32B4 C6000054 */ lwc1 $f0, 0x54($s0)
/* 104B38 802E32B8 3C01802F */ lui $at, 0x802f
/* 104B3C 802E32BC D424B1D0 */ ldc1 $f4, -0x4e30($at)
/* 104B40 802E32C0 C602005C */ lwc1 $f2, 0x5c($s0)
/* 104B44 802E32C4 46000021 */ cvt.d.s $f0, $f0
/* 104B48 802E32C8 46240001 */ sub.d $f0, $f0, $f4
/* 104B4C 802E32CC 3C014040 */ lui $at, 0x4040
/* 104B50 802E32D0 44813000 */ mtc1 $at, $f6
/* 104B54 802E32D4 460010A1 */ cvt.d.s $f2, $f2
/* 104B58 802E32D8 46241081 */ sub.d $f2, $f2, $f4
/* 104B5C 802E32DC 46200020 */ cvt.s.d $f0, $f0
/* 104B60 802E32E0 E6000054 */ swc1 $f0, 0x54($s0)
/* 104B64 802E32E4 C6000058 */ lwc1 $f0, 0x58($s0)
/* 104B68 802E32E8 3C01802F */ lui $at, 0x802f
/* 104B6C 802E32EC D424B1D8 */ ldc1 $f4, -0x4e28($at)
/* 104B70 802E32F0 080B8CCE */ j .L802E3338
/* 104B74 802E32F4 46000021 */ cvt.d.s $f0, $f0
.L802E32F8:
/* 104B78 802E32F8 C6000054 */ lwc1 $f0, 0x54($s0)
/* 104B7C 802E32FC 3C01802F */ lui $at, 0x802f
/* 104B80 802E3300 D424B1E0 */ ldc1 $f4, -0x4e20($at)
/* 104B84 802E3304 C602005C */ lwc1 $f2, 0x5c($s0)
/* 104B88 802E3308 46000021 */ cvt.d.s $f0, $f0
/* 104B8C 802E330C 46240001 */ sub.d $f0, $f0, $f4
/* 104B90 802E3310 3C014040 */ lui $at, 0x4040
/* 104B94 802E3314 44813000 */ mtc1 $at, $f6
/* 104B98 802E3318 460010A1 */ cvt.d.s $f2, $f2
/* 104B9C 802E331C 46241081 */ sub.d $f2, $f2, $f4
/* 104BA0 802E3320 46200020 */ cvt.s.d $f0, $f0
/* 104BA4 802E3324 E6000054 */ swc1 $f0, 0x54($s0)
/* 104BA8 802E3328 C6000058 */ lwc1 $f0, 0x58($s0)
/* 104BAC 802E332C 3C01802F */ lui $at, 0x802f
/* 104BB0 802E3330 D424B1E8 */ ldc1 $f4, -0x4e18($at)
/* 104BB4 802E3334 46000021 */ cvt.d.s $f0, $f0
.L802E3338:
/* 104BB8 802E3338 46240000 */ add.d $f0, $f0, $f4
/* 104BBC 802E333C C604004C */ lwc1 $f4, 0x4c($s0)
/* 104BC0 802E3340 462010A0 */ cvt.s.d $f2, $f2
/* 104BC4 802E3344 E602005C */ swc1 $f2, 0x5c($s0)
/* 104BC8 802E3348 46062101 */ sub.s $f4, $f4, $f6
/* 104BCC 802E334C 46200020 */ cvt.s.d $f0, $f0
/* 104BD0 802E3350 E6000058 */ swc1 $f0, 0x58($s0)
/* 104BD4 802E3354 E604004C */ swc1 $f4, 0x4c($s0)
/* 104BD8 802E3358 0C0B8D94 */ jal func_802E3650
/* 104BDC 802E335C 0200202D */ daddu $a0, $s0, $zero
/* 104BE0 802E3360 8FBF0014 */ lw $ra, 0x14($sp)
/* 104BE4 802E3364 8FB00010 */ lw $s0, 0x10($sp)
/* 104BE8 802E3368 03E00008 */ jr $ra
/* 104BEC 802E336C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E3370 glabel func_802E3370
/* 104BF0 802E3370 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 104BF0 802E3370 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 104BF4 802E3374 AFB00010 */ sw $s0, 0x10($sp) /* 104BF4 802E3374 AFB00010 */ sw $s0, 0x10($sp)
@ -18,7 +17,6 @@ glabel func_802E3370
/* 104C20 802E33A0 00A0902D */ daddu $s2, $a1, $zero /* 104C20 802E33A0 00A0902D */ daddu $s2, $a1, $zero
/* 104C24 802E33A4 080B8D29 */ j .L802E34A4 /* 104C24 802E33A4 080B8D29 */ j .L802E34A4
/* 104C28 802E33A8 3C03FFDF */ lui $v1, 0xffdf /* 104C28 802E33A8 3C03FFDF */ lui $v1, 0xffdf
.L802E33AC: .L802E33AC:
/* 104C2C 802E33AC 8624000E */ lh $a0, 0xe($s1) /* 104C2C 802E33AC 8624000E */ lh $a0, 0xe($s1)
/* 104C30 802E33B0 9623000E */ lhu $v1, 0xe($s1) /* 104C30 802E33B0 9623000E */ lhu $v1, 0xe($s1)
@ -46,7 +44,6 @@ glabel func_802E3370
/* 104C88 802E3408 44811000 */ mtc1 $at, $f2 /* 104C88 802E3408 44811000 */ mtc1 $at, $f2
/* 104C8C 802E340C 080B8D08 */ j .L802E3420 /* 104C8C 802E340C 080B8D08 */ j .L802E3420
/* 104C90 802E3410 00000000 */ nop /* 104C90 802E3410 00000000 */ nop
.L802E3414: .L802E3414:
/* 104C94 802E3414 3C013E00 */ lui $at, 0x3e00 /* 104C94 802E3414 3C013E00 */ lui $at, 0x3e00
/* 104C98 802E3418 44810000 */ mtc1 $at, $f0 /* 104C98 802E3418 44810000 */ mtc1 $at, $f0
@ -93,7 +90,6 @@ glabel func_802E3370
/* 104D2C 802E34AC 00431024 */ and $v0, $v0, $v1 /* 104D2C 802E34AC 00431024 */ and $v0, $v0, $v1
/* 104D30 802E34B0 080B8D8E */ j .L802E3638 /* 104D30 802E34B0 080B8D8E */ j .L802E3638
/* 104D34 802E34B4 AE020000 */ sw $v0, ($s0) /* 104D34 802E34B4 AE020000 */ sw $v0, ($s0)
.L802E34B8: .L802E34B8:
/* 104D38 802E34B8 92020006 */ lbu $v0, 6($s0) /* 104D38 802E34B8 92020006 */ lbu $v0, 6($s0)
/* 104D3C 802E34BC 30420004 */ andi $v0, $v0, 4 /* 104D3C 802E34BC 30420004 */ andi $v0, $v0, 4
@ -118,7 +114,6 @@ glabel func_802E3370
/* 104D88 802E3508 00000000 */ nop /* 104D88 802E3508 00000000 */ nop
/* 104D8C 802E350C 080B8D4B */ j .L802E352C /* 104D8C 802E350C 080B8D4B */ j .L802E352C
/* 104D90 802E3510 468010A0 */ cvt.s.w $f2, $f2 /* 104D90 802E3510 468010A0 */ cvt.s.w $f2, $f2
.L802E3514: .L802E3514:
/* 104D94 802E3514 0C044181 */ jal get_shadow_by_index /* 104D94 802E3514 0C044181 */ jal get_shadow_by_index
/* 104D98 802E3518 86040016 */ lh $a0, 0x16($s0) /* 104D98 802E3518 86040016 */ lh $a0, 0x16($s0)
@ -157,7 +152,6 @@ glabel func_802E3370
/* 104E14 802E3594 44811000 */ mtc1 $at, $f2 /* 104E14 802E3594 44811000 */ mtc1 $at, $f2
/* 104E18 802E3598 080B8D6B */ j .L802E35AC /* 104E18 802E3598 080B8D6B */ j .L802E35AC
/* 104E1C 802E359C 00000000 */ nop /* 104E1C 802E359C 00000000 */ nop
.L802E35A0: .L802E35A0:
/* 104E20 802E35A0 3C013E00 */ lui $at, 0x3e00 /* 104E20 802E35A0 3C013E00 */ lui $at, 0x3e00
/* 104E24 802E35A4 44810000 */ mtc1 $at, $f0 /* 104E24 802E35A4 44810000 */ mtc1 $at, $f0
@ -208,4 +202,3 @@ glabel func_802E3370
/* 104EC4 802E3644 8FB00010 */ lw $s0, 0x10($sp) /* 104EC4 802E3644 8FB00010 */ lw $s0, 0x10($sp)
/* 104EC8 802E3648 03E00008 */ jr $ra /* 104EC8 802E3648 03E00008 */ jr $ra
/* 104ECC 802E364C 27BD0020 */ addiu $sp, $sp, 0x20 /* 104ECC 802E364C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E3650 glabel func_802E3650
/* 104ED0 802E3650 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 104ED0 802E3650 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 104ED4 802E3654 AFB00010 */ sw $s0, 0x10($sp) /* 104ED4 802E3654 AFB00010 */ sw $s0, 0x10($sp)
@ -42,4 +41,3 @@ glabel func_802E3650
/* 104F58 802E36D8 8FB00010 */ lw $s0, 0x10($sp) /* 104F58 802E36D8 8FB00010 */ lw $s0, 0x10($sp)
/* 104F5C 802E36DC 03E00008 */ jr $ra /* 104F5C 802E36DC 03E00008 */ jr $ra
/* 104F60 802E36E0 27BD0020 */ addiu $sp, $sp, 0x20 /* 104F60 802E36E0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,218 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E36E4
/* 104F64 802E36E4 8C820040 */ lw $v0, 0x40($a0)
/* 104F68 802E36E8 2403FFFF */ addiu $v1, $zero, -1
/* 104F6C 802E36EC A4430010 */ sh $v1, 0x10($v0)
/* 104F70 802E36F0 C480004C */ lwc1 $f0, 0x4c($a0)
/* 104F74 802E36F4 3C05FFDF */ lui $a1, 0xffdf
/* 104F78 802E36F8 A443000E */ sh $v1, 0xe($v0)
/* 104F7C 802E36FC E4400014 */ swc1 $f0, 0x14($v0)
/* 104F80 802E3700 8C820000 */ lw $v0, ($a0)
/* 104F84 802E3704 34A5FFFF */ ori $a1, $a1, 0xffff
/* 104F88 802E3708 00451024 */ and $v0, $v0, $a1
/* 104F8C 802E370C 03E00008 */ jr $ra
/* 104F90 802E3710 AC820000 */ sw $v0, ($a0)
/* 104F94 802E3714 8C820040 */ lw $v0, 0x40($a0)
/* 104F98 802E3718 3C0142B4 */ lui $at, 0x42b4
/* 104F9C 802E371C 44810000 */ mtc1 $at, $f0
/* 104FA0 802E3720 03E00008 */ jr $ra
/* 104FA4 802E3724 E4400018 */ swc1 $f0, 0x18($v0)
/* 104FA8 802E3728 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 104FAC 802E372C AFB10014 */ sw $s1, 0x14($sp)
/* 104FB0 802E3730 0080882D */ daddu $s1, $a0, $zero
/* 104FB4 802E3734 AFBF0018 */ sw $ra, 0x18($sp)
/* 104FB8 802E3738 AFB00010 */ sw $s0, 0x10($sp)
/* 104FBC 802E373C F7B40020 */ sdc1 $f20, 0x20($sp)
/* 104FC0 802E3740 0C0B8E80 */ jal func_802E3A00
/* 104FC4 802E3744 8E300040 */ lw $s0, 0x40($s1)
/* 104FC8 802E3748 3C0140C9 */ lui $at, 0x40c9
/* 104FCC 802E374C 34210FD0 */ ori $at, $at, 0xfd0
/* 104FD0 802E3750 44810000 */ mtc1 $at, $f0
/* 104FD4 802E3754 C60C0018 */ lwc1 $f12, 0x18($s0)
/* 104FD8 802E3758 46006302 */ mul.s $f12, $f12, $f0
/* 104FDC 802E375C 00000000 */ nop
/* 104FE0 802E3760 C634004C */ lwc1 $f20, 0x4c($s1)
/* 104FE4 802E3764 3C0143B4 */ lui $at, 0x43b4
/* 104FE8 802E3768 44810000 */ mtc1 $at, $f0
/* 104FEC 802E376C 4600A521 */ cvt.d.s $f20, $f20
/* 104FF0 802E3770 0C00A85B */ jal sin_rad
/* 104FF4 802E3774 46006303 */ div.s $f12, $f12, $f0
/* 104FF8 802E3778 46000021 */ cvt.d.s $f0, $f0
/* 104FFC 802E377C 46200000 */ add.d $f0, $f0, $f0
/* 105000 802E3780 4620A500 */ add.d $f20, $f20, $f0
/* 105004 802E3784 3C014270 */ lui $at, 0x4270
/* 105008 802E3788 44810000 */ mtc1 $at, $f0
/* 10500C 802E378C 4620A520 */ cvt.s.d $f20, $f20
/* 105010 802E3790 E634004C */ swc1 $f20, 0x4c($s1)
/* 105014 802E3794 C6020018 */ lwc1 $f2, 0x18($s0)
/* 105018 802E3798 46001300 */ add.s $f12, $f2, $f0
/* 10501C 802E379C 3C0143E1 */ lui $at, 0x43e1
/* 105020 802E37A0 44810000 */ mtc1 $at, $f0
/* 105024 802E37A4 00000000 */ nop
/* 105028 802E37A8 460C003C */ c.lt.s $f0, $f12
/* 10502C 802E37AC 00000000 */ nop
/* 105030 802E37B0 45000006 */ bc1f .L802E37CC
/* 105034 802E37B4 E60C0018 */ swc1 $f12, 0x18($s0)
/* 105038 802E37B8 0C00A6C9 */ jal clamp_angle
/* 10503C 802E37BC 00000000 */ nop
/* 105040 802E37C0 E6000018 */ swc1 $f0, 0x18($s0)
/* 105044 802E37C4 0C043F5A */ jal func_8010FD68
/* 105048 802E37C8 0220202D */ daddu $a0, $s1, $zero
.L802E37CC:
/* 10504C 802E37CC 8FBF0018 */ lw $ra, 0x18($sp)
/* 105050 802E37D0 8FB10014 */ lw $s1, 0x14($sp)
/* 105054 802E37D4 8FB00010 */ lw $s0, 0x10($sp)
/* 105058 802E37D8 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 10505C 802E37DC 03E00008 */ jr $ra
/* 105060 802E37E0 27BD0028 */ addiu $sp, $sp, 0x28
/* 105064 802E37E4 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 105068 802E37E8 AFB10014 */ sw $s1, 0x14($sp)
/* 10506C 802E37EC 0080882D */ daddu $s1, $a0, $zero
/* 105070 802E37F0 AFBF0018 */ sw $ra, 0x18($sp)
/* 105074 802E37F4 AFB00010 */ sw $s0, 0x10($sp)
/* 105078 802E37F8 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 10507C 802E37FC F7B40020 */ sdc1 $f20, 0x20($sp)
/* 105080 802E3800 0C0B8E80 */ jal func_802E3A00
/* 105084 802E3804 8E300040 */ lw $s0, 0x40($s1)
/* 105088 802E3808 3C0140C9 */ lui $at, 0x40c9
/* 10508C 802E380C 34210FD0 */ ori $at, $at, 0xfd0
/* 105090 802E3810 44810000 */ mtc1 $at, $f0
/* 105094 802E3814 C60C0018 */ lwc1 $f12, 0x18($s0)
/* 105098 802E3818 46006302 */ mul.s $f12, $f12, $f0
/* 10509C 802E381C 00000000 */ nop
/* 1050A0 802E3820 C634004C */ lwc1 $f20, 0x4c($s1)
/* 1050A4 802E3824 3C0143B4 */ lui $at, 0x43b4
/* 1050A8 802E3828 4481B000 */ mtc1 $at, $f22
/* 1050AC 802E382C 4600A521 */ cvt.d.s $f20, $f20
/* 1050B0 802E3830 0C00A85B */ jal sin_rad
/* 1050B4 802E3834 46166303 */ div.s $f12, $f12, $f22
/* 1050B8 802E3838 46000021 */ cvt.d.s $f0, $f0
/* 1050BC 802E383C 4620A500 */ add.d $f20, $f20, $f0
/* 1050C0 802E3840 3C014270 */ lui $at, 0x4270
/* 1050C4 802E3844 44811000 */ mtc1 $at, $f2
/* 1050C8 802E3848 4620A520 */ cvt.s.d $f20, $f20
/* 1050CC 802E384C E634004C */ swc1 $f20, 0x4c($s1)
/* 1050D0 802E3850 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1050D4 802E3854 46020000 */ add.s $f0, $f0, $f2
/* 1050D8 802E3858 4600B03E */ c.le.s $f22, $f0
/* 1050DC 802E385C 00000000 */ nop
/* 1050E0 802E3860 45000006 */ bc1f .L802E387C
/* 1050E4 802E3864 E6000018 */ swc1 $f0, 0x18($s0)
/* 1050E8 802E3868 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1050EC 802E386C 0220202D */ daddu $a0, $s1, $zero
/* 1050F0 802E3870 AE000018 */ sw $zero, 0x18($s0)
/* 1050F4 802E3874 0C043F5A */ jal func_8010FD68
/* 1050F8 802E3878 E480004C */ swc1 $f0, 0x4c($a0)
.L802E387C:
/* 1050FC 802E387C 8FBF0018 */ lw $ra, 0x18($sp)
/* 105100 802E3880 8FB10014 */ lw $s1, 0x14($sp)
/* 105104 802E3884 8FB00010 */ lw $s0, 0x10($sp)
/* 105108 802E3888 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 10510C 802E388C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 105110 802E3890 03E00008 */ jr $ra
/* 105114 802E3894 27BD0030 */ addiu $sp, $sp, 0x30
/* 105118 802E3898 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10511C 802E389C AFB00010 */ sw $s0, 0x10($sp)
/* 105120 802E38A0 AFBF0014 */ sw $ra, 0x14($sp)
/* 105124 802E38A4 0C0B8DB9 */ jal func_802E36E4
/* 105128 802E38A8 0080802D */ daddu $s0, $a0, $zero
/* 10512C 802E38AC 8E030040 */ lw $v1, 0x40($s0)
/* 105130 802E38B0 2402000A */ addiu $v0, $zero, 0xa
/* 105134 802E38B4 A4620004 */ sh $v0, 4($v1)
/* 105138 802E38B8 2402007B */ addiu $v0, $zero, 0x7b
/* 10513C 802E38BC A4620006 */ sh $v0, 6($v1)
/* 105140 802E38C0 3402FFFF */ ori $v0, $zero, 0xffff
/* 105144 802E38C4 A462000A */ sh $v0, 0xa($v1)
/* 105148 802E38C8 8FBF0014 */ lw $ra, 0x14($sp)
/* 10514C 802E38CC 8FB00010 */ lw $s0, 0x10($sp)
/* 105150 802E38D0 03E00008 */ jr $ra
/* 105154 802E38D4 27BD0018 */ addiu $sp, $sp, 0x18
/* 105158 802E38D8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 10515C 802E38DC AFB1001C */ sw $s1, 0x1c($sp)
/* 105160 802E38E0 0080882D */ daddu $s1, $a0, $zero
/* 105164 802E38E4 AFBF0020 */ sw $ra, 0x20($sp)
/* 105168 802E38E8 AFB00018 */ sw $s0, 0x18($sp)
/* 10516C 802E38EC 8E300040 */ lw $s0, 0x40($s1)
/* 105170 802E38F0 86030004 */ lh $v1, 4($s0)
/* 105174 802E38F4 18600018 */ blez $v1, .L802E3958
/* 105178 802E38F8 2402000A */ addiu $v0, $zero, 0xa
/* 10517C 802E38FC 14620004 */ bne $v1, $v0, .L802E3910
/* 105180 802E3900 24030014 */ addiu $v1, $zero, 0x14
/* 105184 802E3904 9602000A */ lhu $v0, 0xa($s0)
/* 105188 802E3908 080B8E45 */ j .L802E3914
/* 10518C 802E390C 24030015 */ addiu $v1, $zero, 0x15
.L802E3910:
/* 105190 802E3910 0000102D */ daddu $v0, $zero, $zero
.L802E3914:
/* 105194 802E3914 C620004C */ lwc1 $f0, 0x4c($s1)
/* 105198 802E3918 3C01403C */ lui $at, 0x403c
/* 10519C 802E391C 44811800 */ mtc1 $at, $f3
/* 1051A0 802E3920 44801000 */ mtc1 $zero, $f2
/* 1051A4 802E3924 AFA30010 */ sw $v1, 0x10($sp)
/* 1051A8 802E3928 AFA20014 */ sw $v0, 0x14($sp)
/* 1051AC 802E392C 46000021 */ cvt.d.s $f0, $f0
/* 1051B0 802E3930 46220000 */ add.d $f0, $f0, $f2
/* 1051B4 802E3934 8E250048 */ lw $a1, 0x48($s1)
/* 1051B8 802E3938 8E270050 */ lw $a3, 0x50($s1)
/* 1051BC 802E393C 46200020 */ cvt.s.d $f0, $f0
/* 1051C0 802E3940 44060000 */ mfc1 $a2, $f0
/* 1051C4 802E3944 0C04C6A5 */ jal make_item_entity_nodelay
/* 1051C8 802E3948 24040157 */ addiu $a0, $zero, 0x157
/* 1051CC 802E394C 96020004 */ lhu $v0, 4($s0)
/* 1051D0 802E3950 2442FFFF */ addiu $v0, $v0, -1
/* 1051D4 802E3954 A6020004 */ sh $v0, 4($s0)
.L802E3958:
/* 1051D8 802E3958 86020004 */ lh $v0, 4($s0)
/* 1051DC 802E395C 10400004 */ beqz $v0, .L802E3970
/* 1051E0 802E3960 00000000 */ nop
/* 1051E4 802E3964 86020006 */ lh $v0, 6($s0)
/* 1051E8 802E3968 14400020 */ bnez $v0, .L802E39EC
/* 1051EC 802E396C 00000000 */ nop
.L802E3970:
/* 1051F0 802E3970 3C04802F */ lui $a0, 0x802f
/* 1051F4 802E3974 2484A07C */ addiu $a0, $a0, -0x5f84
/* 1051F8 802E3978 24020001 */ addiu $v0, $zero, 1
/* 1051FC 802E397C A2020003 */ sb $v0, 3($s0)
/* 105200 802E3980 C6220048 */ lwc1 $f2, 0x48($s1)
/* 105204 802E3984 C624004C */ lwc1 $f4, 0x4c($s1)
/* 105208 802E3988 C6260050 */ lwc1 $f6, 0x50($s1)
/* 10520C 802E398C C6200064 */ lwc1 $f0, 0x64($s1)
/* 105210 802E3990 3C028000 */ lui $v0, 0x8000
/* 105214 802E3994 AFA20014 */ sw $v0, 0x14($sp)
/* 105218 802E3998 4600020D */ trunc.w.s $f8, $f0
/* 10521C 802E399C E7A80010 */ swc1 $f8, 0x10($sp)
/* 105220 802E39A0 4600120D */ trunc.w.s $f8, $f2
/* 105224 802E39A4 44054000 */ mfc1 $a1, $f8
/* 105228 802E39A8 4600220D */ trunc.w.s $f8, $f4
/* 10522C 802E39AC 44064000 */ mfc1 $a2, $f8
/* 105230 802E39B0 4600320D */ trunc.w.s $f8, $f6
/* 105234 802E39B4 44074000 */ mfc1 $a3, $f8
/* 105238 802E39B8 0C044631 */ jal create_entity
/* 10523C 802E39BC 00000000 */ nop
/* 105240 802E39C0 0C04417A */ jal get_entity_by_index
/* 105244 802E39C4 0040202D */ daddu $a0, $v0, $zero
/* 105248 802E39C8 3C05802F */ lui $a1, 0x802f
/* 10524C 802E39CC 24A59E54 */ addiu $a1, $a1, -0x61ac
/* 105250 802E39D0 0C043EF0 */ jal func_8010FBC0
/* 105254 802E39D4 0040202D */ daddu $a0, $v0, $zero
/* 105258 802E39D8 3C032000 */ lui $v1, 0x2000
/* 10525C 802E39DC 8E220000 */ lw $v0, ($s1)
/* 105260 802E39E0 34630020 */ ori $v1, $v1, 0x20
/* 105264 802E39E4 00431025 */ or $v0, $v0, $v1
/* 105268 802E39E8 AE220000 */ sw $v0, ($s1)
.L802E39EC:
/* 10526C 802E39EC 8FBF0020 */ lw $ra, 0x20($sp)
/* 105270 802E39F0 8FB1001C */ lw $s1, 0x1c($sp)
/* 105274 802E39F4 8FB00018 */ lw $s0, 0x18($sp)
/* 105278 802E39F8 03E00008 */ jr $ra
/* 10527C 802E39FC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,9 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3714
/* 104F94 802E3714 8C820040 */ lw $v0, 0x40($a0)
/* 104F98 802E3718 3C0142B4 */ lui $at, 0x42b4
/* 104F9C 802E371C 44810000 */ mtc1 $at, $f0
/* 104FA0 802E3720 03E00008 */ jr $ra
/* 104FA4 802E3724 E4400018 */ swc1 $f0, 0x18($v0)

View File

@ -0,0 +1,52 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3728
/* 104FA8 802E3728 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 104FAC 802E372C AFB10014 */ sw $s1, 0x14($sp)
/* 104FB0 802E3730 0080882D */ daddu $s1, $a0, $zero
/* 104FB4 802E3734 AFBF0018 */ sw $ra, 0x18($sp)
/* 104FB8 802E3738 AFB00010 */ sw $s0, 0x10($sp)
/* 104FBC 802E373C F7B40020 */ sdc1 $f20, 0x20($sp)
/* 104FC0 802E3740 0C0B8E80 */ jal func_802E3A00
/* 104FC4 802E3744 8E300040 */ lw $s0, 0x40($s1)
/* 104FC8 802E3748 3C0140C9 */ lui $at, 0x40c9
/* 104FCC 802E374C 34210FD0 */ ori $at, $at, 0xfd0
/* 104FD0 802E3750 44810000 */ mtc1 $at, $f0
/* 104FD4 802E3754 C60C0018 */ lwc1 $f12, 0x18($s0)
/* 104FD8 802E3758 46006302 */ mul.s $f12, $f12, $f0
/* 104FDC 802E375C 00000000 */ nop
/* 104FE0 802E3760 C634004C */ lwc1 $f20, 0x4c($s1)
/* 104FE4 802E3764 3C0143B4 */ lui $at, 0x43b4
/* 104FE8 802E3768 44810000 */ mtc1 $at, $f0
/* 104FEC 802E376C 4600A521 */ cvt.d.s $f20, $f20
/* 104FF0 802E3770 0C00A85B */ jal sin_rad
/* 104FF4 802E3774 46006303 */ div.s $f12, $f12, $f0
/* 104FF8 802E3778 46000021 */ cvt.d.s $f0, $f0
/* 104FFC 802E377C 46200000 */ add.d $f0, $f0, $f0
/* 105000 802E3780 4620A500 */ add.d $f20, $f20, $f0
/* 105004 802E3784 3C014270 */ lui $at, 0x4270
/* 105008 802E3788 44810000 */ mtc1 $at, $f0
/* 10500C 802E378C 4620A520 */ cvt.s.d $f20, $f20
/* 105010 802E3790 E634004C */ swc1 $f20, 0x4c($s1)
/* 105014 802E3794 C6020018 */ lwc1 $f2, 0x18($s0)
/* 105018 802E3798 46001300 */ add.s $f12, $f2, $f0
/* 10501C 802E379C 3C0143E1 */ lui $at, 0x43e1
/* 105020 802E37A0 44810000 */ mtc1 $at, $f0
/* 105024 802E37A4 00000000 */ nop
/* 105028 802E37A8 460C003C */ c.lt.s $f0, $f12
/* 10502C 802E37AC 00000000 */ nop
/* 105030 802E37B0 45000006 */ bc1f .L802E37CC
/* 105034 802E37B4 E60C0018 */ swc1 $f12, 0x18($s0)
/* 105038 802E37B8 0C00A6C9 */ jal clamp_angle
/* 10503C 802E37BC 00000000 */ nop
/* 105040 802E37C0 E6000018 */ swc1 $f0, 0x18($s0)
/* 105044 802E37C4 0C043F5A */ jal func_8010FD68
/* 105048 802E37C8 0220202D */ daddu $a0, $s1, $zero
.L802E37CC:
/* 10504C 802E37CC 8FBF0018 */ lw $ra, 0x18($sp)
/* 105050 802E37D0 8FB10014 */ lw $s1, 0x14($sp)
/* 105054 802E37D4 8FB00010 */ lw $s0, 0x10($sp)
/* 105058 802E37D8 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 10505C 802E37DC 03E00008 */ jr $ra
/* 105060 802E37E0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,50 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E37E4
/* 105064 802E37E4 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 105068 802E37E8 AFB10014 */ sw $s1, 0x14($sp)
/* 10506C 802E37EC 0080882D */ daddu $s1, $a0, $zero
/* 105070 802E37F0 AFBF0018 */ sw $ra, 0x18($sp)
/* 105074 802E37F4 AFB00010 */ sw $s0, 0x10($sp)
/* 105078 802E37F8 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 10507C 802E37FC F7B40020 */ sdc1 $f20, 0x20($sp)
/* 105080 802E3800 0C0B8E80 */ jal func_802E3A00
/* 105084 802E3804 8E300040 */ lw $s0, 0x40($s1)
/* 105088 802E3808 3C0140C9 */ lui $at, 0x40c9
/* 10508C 802E380C 34210FD0 */ ori $at, $at, 0xfd0
/* 105090 802E3810 44810000 */ mtc1 $at, $f0
/* 105094 802E3814 C60C0018 */ lwc1 $f12, 0x18($s0)
/* 105098 802E3818 46006302 */ mul.s $f12, $f12, $f0
/* 10509C 802E381C 00000000 */ nop
/* 1050A0 802E3820 C634004C */ lwc1 $f20, 0x4c($s1)
/* 1050A4 802E3824 3C0143B4 */ lui $at, 0x43b4
/* 1050A8 802E3828 4481B000 */ mtc1 $at, $f22
/* 1050AC 802E382C 4600A521 */ cvt.d.s $f20, $f20
/* 1050B0 802E3830 0C00A85B */ jal sin_rad
/* 1050B4 802E3834 46166303 */ div.s $f12, $f12, $f22
/* 1050B8 802E3838 46000021 */ cvt.d.s $f0, $f0
/* 1050BC 802E383C 4620A500 */ add.d $f20, $f20, $f0
/* 1050C0 802E3840 3C014270 */ lui $at, 0x4270
/* 1050C4 802E3844 44811000 */ mtc1 $at, $f2
/* 1050C8 802E3848 4620A520 */ cvt.s.d $f20, $f20
/* 1050CC 802E384C E634004C */ swc1 $f20, 0x4c($s1)
/* 1050D0 802E3850 C6000018 */ lwc1 $f0, 0x18($s0)
/* 1050D4 802E3854 46020000 */ add.s $f0, $f0, $f2
/* 1050D8 802E3858 4600B03E */ c.le.s $f22, $f0
/* 1050DC 802E385C 00000000 */ nop
/* 1050E0 802E3860 45000006 */ bc1f .L802E387C
/* 1050E4 802E3864 E6000018 */ swc1 $f0, 0x18($s0)
/* 1050E8 802E3868 C6000014 */ lwc1 $f0, 0x14($s0)
/* 1050EC 802E386C 0220202D */ daddu $a0, $s1, $zero
/* 1050F0 802E3870 AE000018 */ sw $zero, 0x18($s0)
/* 1050F4 802E3874 0C043F5A */ jal func_8010FD68
/* 1050F8 802E3878 E480004C */ swc1 $f0, 0x4c($a0)
.L802E387C:
/* 1050FC 802E387C 8FBF0018 */ lw $ra, 0x18($sp)
/* 105100 802E3880 8FB10014 */ lw $s1, 0x14($sp)
/* 105104 802E3884 8FB00010 */ lw $s0, 0x10($sp)
/* 105108 802E3888 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 10510C 802E388C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 105110 802E3890 03E00008 */ jr $ra
/* 105114 802E3894 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,20 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3898
/* 105118 802E3898 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10511C 802E389C AFB00010 */ sw $s0, 0x10($sp)
/* 105120 802E38A0 AFBF0014 */ sw $ra, 0x14($sp)
/* 105124 802E38A4 0C0B8DB9 */ jal entity_init_Hammer23Block_normal
/* 105128 802E38A8 0080802D */ daddu $s0, $a0, $zero
/* 10512C 802E38AC 8E030040 */ lw $v1, 0x40($s0)
/* 105130 802E38B0 2402000A */ addiu $v0, $zero, 0xa
/* 105134 802E38B4 A4620004 */ sh $v0, 4($v1)
/* 105138 802E38B8 2402007B */ addiu $v0, $zero, 0x7b
/* 10513C 802E38BC A4620006 */ sh $v0, 6($v1)
/* 105140 802E38C0 3402FFFF */ ori $v0, $zero, 0xffff
/* 105144 802E38C4 A462000A */ sh $v0, 0xa($v1)
/* 105148 802E38C8 8FBF0014 */ lw $ra, 0x14($sp)
/* 10514C 802E38CC 8FB00010 */ lw $s0, 0x10($sp)
/* 105150 802E38D0 03E00008 */ jr $ra
/* 105154 802E38D4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,83 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E38D8
/* 105158 802E38D8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 10515C 802E38DC AFB1001C */ sw $s1, 0x1c($sp)
/* 105160 802E38E0 0080882D */ daddu $s1, $a0, $zero
/* 105164 802E38E4 AFBF0020 */ sw $ra, 0x20($sp)
/* 105168 802E38E8 AFB00018 */ sw $s0, 0x18($sp)
/* 10516C 802E38EC 8E300040 */ lw $s0, 0x40($s1)
/* 105170 802E38F0 86030004 */ lh $v1, 4($s0)
/* 105174 802E38F4 18600018 */ blez $v1, .L802E3958
/* 105178 802E38F8 2402000A */ addiu $v0, $zero, 0xa
/* 10517C 802E38FC 14620004 */ bne $v1, $v0, .L802E3910
/* 105180 802E3900 24030014 */ addiu $v1, $zero, 0x14
/* 105184 802E3904 9602000A */ lhu $v0, 0xa($s0)
/* 105188 802E3908 080B8E45 */ j .L802E3914
/* 10518C 802E390C 24030015 */ addiu $v1, $zero, 0x15
.L802E3910:
/* 105190 802E3910 0000102D */ daddu $v0, $zero, $zero
.L802E3914:
/* 105194 802E3914 C620004C */ lwc1 $f0, 0x4c($s1)
/* 105198 802E3918 3C01403C */ lui $at, 0x403c
/* 10519C 802E391C 44811800 */ mtc1 $at, $f3
/* 1051A0 802E3920 44801000 */ mtc1 $zero, $f2
/* 1051A4 802E3924 AFA30010 */ sw $v1, 0x10($sp)
/* 1051A8 802E3928 AFA20014 */ sw $v0, 0x14($sp)
/* 1051AC 802E392C 46000021 */ cvt.d.s $f0, $f0
/* 1051B0 802E3930 46220000 */ add.d $f0, $f0, $f2
/* 1051B4 802E3934 8E250048 */ lw $a1, 0x48($s1)
/* 1051B8 802E3938 8E270050 */ lw $a3, 0x50($s1)
/* 1051BC 802E393C 46200020 */ cvt.s.d $f0, $f0
/* 1051C0 802E3940 44060000 */ mfc1 $a2, $f0
/* 1051C4 802E3944 0C04C6A5 */ jal make_item_entity_nodelay
/* 1051C8 802E3948 24040157 */ addiu $a0, $zero, 0x157
/* 1051CC 802E394C 96020004 */ lhu $v0, 4($s0)
/* 1051D0 802E3950 2442FFFF */ addiu $v0, $v0, -1
/* 1051D4 802E3954 A6020004 */ sh $v0, 4($s0)
.L802E3958:
/* 1051D8 802E3958 86020004 */ lh $v0, 4($s0)
/* 1051DC 802E395C 10400004 */ beqz $v0, .L802E3970
/* 1051E0 802E3960 00000000 */ nop
/* 1051E4 802E3964 86020006 */ lh $v0, 6($s0)
/* 1051E8 802E3968 14400020 */ bnez $v0, .L802E39EC
/* 1051EC 802E396C 00000000 */ nop
.L802E3970:
/* 1051F0 802E3970 3C04802F */ lui $a0, 0x802f
/* 1051F4 802E3974 2484A07C */ addiu $a0, $a0, -0x5f84
/* 1051F8 802E3978 24020001 */ addiu $v0, $zero, 1
/* 1051FC 802E397C A2020003 */ sb $v0, 3($s0)
/* 105200 802E3980 C6220048 */ lwc1 $f2, 0x48($s1)
/* 105204 802E3984 C624004C */ lwc1 $f4, 0x4c($s1)
/* 105208 802E3988 C6260050 */ lwc1 $f6, 0x50($s1)
/* 10520C 802E398C C6200064 */ lwc1 $f0, 0x64($s1)
/* 105210 802E3990 3C028000 */ lui $v0, 0x8000
/* 105214 802E3994 AFA20014 */ sw $v0, 0x14($sp)
/* 105218 802E3998 4600020D */ trunc.w.s $f8, $f0
/* 10521C 802E399C E7A80010 */ swc1 $f8, 0x10($sp)
/* 105220 802E39A0 4600120D */ trunc.w.s $f8, $f2
/* 105224 802E39A4 44054000 */ mfc1 $a1, $f8
/* 105228 802E39A8 4600220D */ trunc.w.s $f8, $f4
/* 10522C 802E39AC 44064000 */ mfc1 $a2, $f8
/* 105230 802E39B0 4600320D */ trunc.w.s $f8, $f6
/* 105234 802E39B4 44074000 */ mfc1 $a3, $f8
/* 105238 802E39B8 0C044631 */ jal create_entity
/* 10523C 802E39BC 00000000 */ nop
/* 105240 802E39C0 0C04417A */ jal get_entity_by_index
/* 105244 802E39C4 0040202D */ daddu $a0, $v0, $zero
/* 105248 802E39C8 3C05802F */ lui $a1, 0x802f
/* 10524C 802E39CC 24A59E54 */ addiu $a1, $a1, -0x61ac
/* 105250 802E39D0 0C043EF0 */ jal func_8010FBC0
/* 105254 802E39D4 0040202D */ daddu $a0, $v0, $zero
/* 105258 802E39D8 3C032000 */ lui $v1, 0x2000
/* 10525C 802E39DC 8E220000 */ lw $v0, ($s1)
/* 105260 802E39E0 34630020 */ ori $v1, $v1, 0x20
/* 105264 802E39E4 00431025 */ or $v0, $v0, $v1
/* 105268 802E39E8 AE220000 */ sw $v0, ($s1)
.L802E39EC:
/* 10526C 802E39EC 8FBF0020 */ lw $ra, 0x20($sp)
/* 105270 802E39F0 8FB1001C */ lw $s1, 0x1c($sp)
/* 105274 802E39F4 8FB00018 */ lw $s0, 0x18($sp)
/* 105278 802E39F8 03E00008 */ jr $ra
/* 10527C 802E39FC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E3A00 glabel func_802E3A00
/* 105280 802E3A00 2403000E */ addiu $v1, $zero, 0xe /* 105280 802E3A00 2403000E */ addiu $v1, $zero, 0xe
/* 105284 802E3A04 9082000A */ lbu $v0, 0xa($a0) /* 105284 802E3A04 9082000A */ lbu $v0, 0xa($a0)
@ -22,310 +21,3 @@ glabel func_802E3A00
.L802E3A40: .L802E3A40:
/* 1052C0 802E3A40 03E00008 */ jr $ra /* 1052C0 802E3A40 03E00008 */ jr $ra
/* 1052C4 802E3A44 00000000 */ nop /* 1052C4 802E3A44 00000000 */ nop
/* 1052C8 802E3A48 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 1052CC 802E3A4C AFB00018 */ sw $s0, 0x18($sp)
/* 1052D0 802E3A50 0080802D */ daddu $s0, $a0, $zero
/* 1052D4 802E3A54 AFBF0020 */ sw $ra, 0x20($sp)
/* 1052D8 802E3A58 AFB1001C */ sw $s1, 0x1c($sp)
/* 1052DC 802E3A5C 92020006 */ lbu $v0, 6($s0)
/* 1052E0 802E3A60 8E110040 */ lw $s1, 0x40($s0)
/* 1052E4 802E3A64 30420080 */ andi $v0, $v0, 0x80
/* 1052E8 802E3A68 10400005 */ beqz $v0, .L802E3A80
/* 1052EC 802E3A6C 00000000 */ nop
/* 1052F0 802E3A70 0C043F5A */ jal func_8010FD68
/* 1052F4 802E3A74 00000000 */ nop
/* 1052F8 802E3A78 080B8EBD */ j .L802E3AF4
/* 1052FC 802E3A7C 00000000 */ nop
.L802E3A80:
/* 105300 802E3A80 0C0B8E80 */ jal func_802E3A00
/* 105304 802E3A84 0200202D */ daddu $a0, $s0, $zero
/* 105308 802E3A88 0C0B8D94 */ jal func_802E3650
/* 10530C 802E3A8C 0200202D */ daddu $a0, $s0, $zero
/* 105310 802E3A90 82220003 */ lb $v0, 3($s1)
/* 105314 802E3A94 10400017 */ beqz $v0, .L802E3AF4
/* 105318 802E3A98 3C028000 */ lui $v0, 0x8000
/* 10531C 802E3A9C 3C04802F */ lui $a0, 0x802f
/* 105320 802E3AA0 2484A07C */ addiu $a0, $a0, -0x5f84
/* 105324 802E3AA4 C6020048 */ lwc1 $f2, 0x48($s0)
/* 105328 802E3AA8 C604004C */ lwc1 $f4, 0x4c($s0)
/* 10532C 802E3AAC C6060050 */ lwc1 $f6, 0x50($s0)
/* 105330 802E3AB0 C6000064 */ lwc1 $f0, 0x64($s0)
/* 105334 802E3AB4 AFA20014 */ sw $v0, 0x14($sp)
/* 105338 802E3AB8 4600020D */ trunc.w.s $f8, $f0
/* 10533C 802E3ABC E7A80010 */ swc1 $f8, 0x10($sp)
/* 105340 802E3AC0 4600120D */ trunc.w.s $f8, $f2
/* 105344 802E3AC4 44054000 */ mfc1 $a1, $f8
/* 105348 802E3AC8 4600220D */ trunc.w.s $f8, $f4
/* 10534C 802E3ACC 44064000 */ mfc1 $a2, $f8
/* 105350 802E3AD0 4600320D */ trunc.w.s $f8, $f6
/* 105354 802E3AD4 44074000 */ mfc1 $a3, $f8
/* 105358 802E3AD8 0C044631 */ jal create_entity
/* 10535C 802E3ADC 00000000 */ nop
/* 105360 802E3AE0 3C032000 */ lui $v1, 0x2000
/* 105364 802E3AE4 8E020000 */ lw $v0, ($s0)
/* 105368 802E3AE8 34630020 */ ori $v1, $v1, 0x20
/* 10536C 802E3AEC 00431025 */ or $v0, $v0, $v1
/* 105370 802E3AF0 AE020000 */ sw $v0, ($s0)
.L802E3AF4:
/* 105374 802E3AF4 8FBF0020 */ lw $ra, 0x20($sp)
/* 105378 802E3AF8 8FB1001C */ lw $s1, 0x1c($sp)
/* 10537C 802E3AFC 8FB00018 */ lw $s0, 0x18($sp)
/* 105380 802E3B00 03E00008 */ jr $ra
/* 105384 802E3B04 27BD0028 */ addiu $sp, $sp, 0x28
/* 105388 802E3B08 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 10538C 802E3B0C AFB00018 */ sw $s0, 0x18($sp)
/* 105390 802E3B10 0080802D */ daddu $s0, $a0, $zero
/* 105394 802E3B14 AFBF001C */ sw $ra, 0x1c($sp)
/* 105398 802E3B18 8E040040 */ lw $a0, 0x40($s0)
/* 10539C 802E3B1C 9483000A */ lhu $v1, 0xa($a0)
/* 1053A0 802E3B20 3402FFFF */ ori $v0, $zero, 0xffff
/* 1053A4 802E3B24 1062001B */ beq $v1, $v0, .L802E3B94
/* 1053A8 802E3B28 00000000 */ nop
/* 1053AC 802E3B2C 0C05152F */ jal get_global_flag
/* 1053B0 802E3B30 0060202D */ daddu $a0, $v1, $zero
/* 1053B4 802E3B34 10400017 */ beqz $v0, .L802E3B94
/* 1053B8 802E3B38 3C028000 */ lui $v0, 0x8000
/* 1053BC 802E3B3C 3C04802F */ lui $a0, 0x802f
/* 1053C0 802E3B40 2484A07C */ addiu $a0, $a0, -0x5f84
/* 1053C4 802E3B44 C6020048 */ lwc1 $f2, 0x48($s0)
/* 1053C8 802E3B48 C604004C */ lwc1 $f4, 0x4c($s0)
/* 1053CC 802E3B4C C6060050 */ lwc1 $f6, 0x50($s0)
/* 1053D0 802E3B50 C6000064 */ lwc1 $f0, 0x64($s0)
/* 1053D4 802E3B54 AFA20014 */ sw $v0, 0x14($sp)
/* 1053D8 802E3B58 4600020D */ trunc.w.s $f8, $f0
/* 1053DC 802E3B5C E7A80010 */ swc1 $f8, 0x10($sp)
/* 1053E0 802E3B60 4600120D */ trunc.w.s $f8, $f2
/* 1053E4 802E3B64 44054000 */ mfc1 $a1, $f8
/* 1053E8 802E3B68 4600220D */ trunc.w.s $f8, $f4
/* 1053EC 802E3B6C 44064000 */ mfc1 $a2, $f8
/* 1053F0 802E3B70 4600320D */ trunc.w.s $f8, $f6
/* 1053F4 802E3B74 44074000 */ mfc1 $a3, $f8
/* 1053F8 802E3B78 0C044631 */ jal create_entity
/* 1053FC 802E3B7C 00000000 */ nop
/* 105400 802E3B80 3C032000 */ lui $v1, 0x2000
/* 105404 802E3B84 8E020000 */ lw $v0, ($s0)
/* 105408 802E3B88 34630020 */ ori $v1, $v1, 0x20
/* 10540C 802E3B8C 00431025 */ or $v0, $v0, $v1
/* 105410 802E3B90 AE020000 */ sw $v0, ($s0)
.L802E3B94:
/* 105414 802E3B94 8FBF001C */ lw $ra, 0x1c($sp)
/* 105418 802E3B98 8FB00018 */ lw $s0, 0x18($sp)
/* 10541C 802E3B9C 03E00008 */ jr $ra
/* 105420 802E3BA0 27BD0020 */ addiu $sp, $sp, 0x20
/* 105424 802E3BA4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 105428 802E3BA8 AFB1001C */ sw $s1, 0x1c($sp)
/* 10542C 802E3BAC 0080882D */ daddu $s1, $a0, $zero
/* 105430 802E3BB0 AFBF0024 */ sw $ra, 0x24($sp)
/* 105434 802E3BB4 AFB20020 */ sw $s2, 0x20($sp)
/* 105438 802E3BB8 AFB00018 */ sw $s0, 0x18($sp)
/* 10543C 802E3BBC 9222000B */ lbu $v0, 0xb($s1)
/* 105440 802E3BC0 3C128011 */ lui $s2, 0x8011
/* 105444 802E3BC4 2652EFC8 */ addiu $s2, $s2, -0x1038
/* 105448 802E3BC8 14400005 */ bnez $v0, .L802E3BE0
/* 10544C 802E3BCC 00000000 */ nop
/* 105450 802E3BD0 92220006 */ lbu $v0, 6($s1)
/* 105454 802E3BD4 30420001 */ andi $v0, $v0, 1
/* 105458 802E3BD8 14400083 */ bnez $v0, .L802E3DE8
/* 10545C 802E3BDC 0000102D */ daddu $v0, $zero, $zero
.L802E3BE0:
/* 105460 802E3BE0 92230006 */ lbu $v1, 6($s1)
/* 105464 802E3BE4 30620004 */ andi $v0, $v1, 4
/* 105468 802E3BE8 10400016 */ beqz $v0, .L802E3C44
/* 10546C 802E3BEC 30620080 */ andi $v0, $v1, 0x80
/* 105470 802E3BF0 92240004 */ lbu $a0, 4($s1)
/* 105474 802E3BF4 0C0441A9 */ jal func_801106A4
/* 105478 802E3BF8 00000000 */ nop
/* 10547C 802E3BFC 0040182D */ daddu $v1, $v0, $zero
/* 105480 802E3C00 2402000C */ addiu $v0, $zero, 0xc
/* 105484 802E3C04 10620019 */ beq $v1, $v0, .L802E3C6C
/* 105488 802E3C08 0062102A */ slt $v0, $v1, $v0
/* 10548C 802E3C0C 14400005 */ bnez $v0, .L802E3C24
/* 105490 802E3C10 2862001B */ slti $v0, $v1, 0x1b
/* 105494 802E3C14 10400003 */ beqz $v0, .L802E3C24
/* 105498 802E3C18 28620015 */ slti $v0, $v1, 0x15
/* 10549C 802E3C1C 10400072 */ beqz $v0, .L802E3DE8
/* 1054A0 802E3C20 0000102D */ daddu $v0, $zero, $zero
.L802E3C24:
/* 1054A4 802E3C24 8E420000 */ lw $v0, ($s2)
/* 1054A8 802E3C28 30420002 */ andi $v0, $v0, 2
/* 1054AC 802E3C2C 1040006E */ beqz $v0, .L802E3DE8
/* 1054B0 802E3C30 24020001 */ addiu $v0, $zero, 1
.L802E3C34:
/* 1054B4 802E3C34 0C043F5A */ jal func_8010FD68
/* 1054B8 802E3C38 0220202D */ daddu $a0, $s1, $zero
/* 1054BC 802E3C3C 080B8F7A */ j .L802E3DE8
/* 1054C0 802E3C40 24020001 */ addiu $v0, $zero, 1
.L802E3C44:
/* 1054C4 802E3C44 1440FFFB */ bnez $v0, .L802E3C34
/* 1054C8 802E3C48 30620001 */ andi $v0, $v1, 1
/* 1054CC 802E3C4C 1040000F */ beqz $v0, .L802E3C8C
/* 1054D0 802E3C50 0000802D */ daddu $s0, $zero, $zero
/* 1054D4 802E3C54 824300B4 */ lb $v1, 0xb4($s2)
/* 1054D8 802E3C58 2402000D */ addiu $v0, $zero, 0xd
/* 1054DC 802E3C5C 10620003 */ beq $v1, $v0, .L802E3C6C
/* 1054E0 802E3C60 2402000F */ addiu $v0, $zero, 0xf
/* 1054E4 802E3C64 14620003 */ bne $v1, $v0, .L802E3C74
/* 1054E8 802E3C68 2402000E */ addiu $v0, $zero, 0xe
.L802E3C6C:
/* 1054EC 802E3C6C 080B8F7A */ j .L802E3DE8
/* 1054F0 802E3C70 0000102D */ daddu $v0, $zero, $zero
.L802E3C74:
/* 1054F4 802E3C74 10620003 */ beq $v1, $v0, .L802E3C84
/* 1054F8 802E3C78 24020010 */ addiu $v0, $zero, 0x10
/* 1054FC 802E3C7C 1462005A */ bne $v1, $v0, .L802E3DE8
/* 105500 802E3C80 24020001 */ addiu $v0, $zero, 1
.L802E3C84:
/* 105504 802E3C84 080B8F2A */ j .L802E3CA8
/* 105508 802E3C88 24100001 */ addiu $s0, $zero, 1
.L802E3C8C:
/* 10550C 802E3C8C 30620040 */ andi $v0, $v1, 0x40
/* 105510 802E3C90 10400054 */ beqz $v0, .L802E3DE4
/* 105514 802E3C94 3C030100 */ lui $v1, 0x100
/* 105518 802E3C98 8E420000 */ lw $v0, ($s2)
/* 10551C 802E3C9C 00431024 */ and $v0, $v0, $v1
/* 105520 802E3CA0 10400051 */ beqz $v0, .L802E3DE8
/* 105524 802E3CA4 24020001 */ addiu $v0, $zero, 1
.L802E3CA8:
/* 105528 802E3CA8 92240004 */ lbu $a0, 4($s1)
/* 10552C 802E3CAC 0C0441A9 */ jal func_801106A4
/* 105530 802E3CB0 00000000 */ nop
/* 105534 802E3CB4 2443FFF5 */ addiu $v1, $v0, -0xb
/* 105538 802E3CB8 2C620015 */ sltiu $v0, $v1, 0x15
/* 10553C 802E3CBC 10400049 */ beqz $v0, .L802E3DE4
/* 105540 802E3CC0 00031080 */ sll $v0, $v1, 2
/* 105544 802E3CC4 3C01802F */ lui $at, 0x802f
/* 105548 802E3CC8 00220821 */ addu $at, $at, $v0
/* 10554C 802E3CCC 8C22B210 */ lw $v0, -0x4df0($at)
/* 105550 802E3CD0 00400008 */ jr $v0
/* 105554 802E3CD4 00000000 */ nop
/* 105558 802E3CD8 12000007 */ beqz $s0, .L802E3CF8
/* 10555C 802E3CDC 00000000 */ nop
/* 105560 802E3CE0 3C028011 */ lui $v0, 0x8011
/* 105564 802E3CE4 8042F290 */ lb $v0, -0xd70($v0)
/* 105568 802E3CE8 58400007 */ blezl $v0, .L802E3D08
/* 10556C 802E3CEC 0000802D */ daddu $s0, $zero, $zero
/* 105570 802E3CF0 080B8F42 */ j .L802E3D08
/* 105574 802E3CF4 00000000 */ nop
.L802E3CF8:
/* 105578 802E3CF8 3C028011 */ lui $v0, 0x8011
/* 10557C 802E3CFC 8042F291 */ lb $v0, -0xd6f($v0)
/* 105580 802E3D00 04430001 */ bgezl $v0, .L802E3D08
/* 105584 802E3D04 24100001 */ addiu $s0, $zero, 1
.L802E3D08:
/* 105588 802E3D08 12000037 */ beqz $s0, .L802E3DE8
/* 10558C 802E3D0C 24020001 */ addiu $v0, $zero, 1
/* 105590 802E3D10 3C05802F */ lui $a1, 0x802f
/* 105594 802E3D14 24A59E80 */ addiu $a1, $a1, -0x6180
/* 105598 802E3D18 0C043EF0 */ jal func_8010FBC0
/* 10559C 802E3D1C 0220202D */ daddu $a0, $s1, $zero
/* 1055A0 802E3D20 C6200050 */ lwc1 $f0, 0x50($s1)
/* 1055A4 802E3D24 080B8F6C */ j .L802E3DB0
/* 1055A8 802E3D28 2404014F */ addiu $a0, $zero, 0x14f
/* 1055AC 802E3D2C 12000008 */ beqz $s0, .L802E3D50
/* 1055B0 802E3D30 00000000 */ nop
/* 1055B4 802E3D34 3C028011 */ lui $v0, 0x8011
/* 1055B8 802E3D38 8042F290 */ lb $v0, -0xd70($v0)
/* 1055BC 802E3D3C 28420002 */ slti $v0, $v0, 2
/* 1055C0 802E3D40 54400007 */ bnel $v0, $zero, .L802E3D60
/* 1055C4 802E3D44 0000802D */ daddu $s0, $zero, $zero
/* 1055C8 802E3D48 080B8F58 */ j .L802E3D60
/* 1055CC 802E3D4C 00000000 */ nop
.L802E3D50:
/* 1055D0 802E3D50 3C028011 */ lui $v0, 0x8011
/* 1055D4 802E3D54 8042F291 */ lb $v0, -0xd6f($v0)
/* 1055D8 802E3D58 5C400001 */ bgtzl $v0, .L802E3D60
/* 1055DC 802E3D5C 24100001 */ addiu $s0, $zero, 1
.L802E3D60:
/* 1055E0 802E3D60 12000021 */ beqz $s0, .L802E3DE8
/* 1055E4 802E3D64 24020001 */ addiu $v0, $zero, 1
/* 1055E8 802E3D68 3C05802F */ lui $a1, 0x802f
/* 1055EC 802E3D6C 24A59E80 */ addiu $a1, $a1, -0x6180
/* 1055F0 802E3D70 0C043EF0 */ jal func_8010FBC0
/* 1055F4 802E3D74 0220202D */ daddu $a0, $s1, $zero
/* 1055F8 802E3D78 C6200050 */ lwc1 $f0, 0x50($s1)
/* 1055FC 802E3D7C 080B8F6C */ j .L802E3DB0
/* 105600 802E3D80 24040150 */ addiu $a0, $zero, 0x150
/* 105604 802E3D84 3C028011 */ lui $v0, 0x8011
/* 105608 802E3D88 8042F291 */ lb $v0, -0xd6f($v0)
/* 10560C 802E3D8C 28420002 */ slti $v0, $v0, 2
/* 105610 802E3D90 14400015 */ bnez $v0, .L802E3DE8
/* 105614 802E3D94 24020001 */ addiu $v0, $zero, 1
/* 105618 802E3D98 3C05802F */ lui $a1, 0x802f
/* 10561C 802E3D9C 24A59E80 */ addiu $a1, $a1, -0x6180
/* 105620 802E3DA0 0C043EF0 */ jal func_8010FBC0
/* 105624 802E3DA4 0220202D */ daddu $a0, $s1, $zero
/* 105628 802E3DA8 C6200050 */ lwc1 $f0, 0x50($s1)
/* 10562C 802E3DAC 24040151 */ addiu $a0, $zero, 0x151
.L802E3DB0:
/* 105630 802E3DB0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 105634 802E3DB4 8E260048 */ lw $a2, 0x48($s1)
/* 105638 802E3DB8 8E27004C */ lw $a3, 0x4c($s1)
/* 10563C 802E3DBC 0C052757 */ jal play_sound_at_position
/* 105640 802E3DC0 0000282D */ daddu $a1, $zero, $zero
/* 105644 802E3DC4 080B8F7A */ j .L802E3DE8
/* 105648 802E3DC8 24020001 */ addiu $v0, $zero, 1
/* 10564C 802E3DCC 0C04419E */ jal func_80110678
/* 105650 802E3DD0 0220202D */ daddu $a0, $s1, $zero
/* 105654 802E3DD4 080B8F0D */ j .L802E3C34
/* 105658 802E3DD8 00000000 */ nop
/* 10565C 802E3DDC 0C04419E */ jal func_80110678
/* 105660 802E3DE0 0220202D */ daddu $a0, $s1, $zero
.L802E3DE4:
/* 105664 802E3DE4 24020001 */ addiu $v0, $zero, 1
.L802E3DE8:
/* 105668 802E3DE8 8FBF0024 */ lw $ra, 0x24($sp)
/* 10566C 802E3DEC 8FB20020 */ lw $s2, 0x20($sp)
/* 105670 802E3DF0 8FB1001C */ lw $s1, 0x1c($sp)
/* 105674 802E3DF4 8FB00018 */ lw $s0, 0x18($sp)
/* 105678 802E3DF8 03E00008 */ jr $ra
/* 10567C 802E3DFC 27BD0028 */ addiu $sp, $sp, 0x28
/* 105680 802E3E00 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105684 802E3E04 AFB00010 */ sw $s0, 0x10($sp)
/* 105688 802E3E08 AFBF0014 */ sw $ra, 0x14($sp)
/* 10568C 802E3E0C 0C0B8DB9 */ jal func_802E36E4
/* 105690 802E3E10 0080802D */ daddu $s0, $a0, $zero
/* 105694 802E3E14 3C02802E */ lui $v0, 0x802e
/* 105698 802E3E18 244230C0 */ addiu $v0, $v0, 0x30c0
/* 10569C 802E3E1C AE02003C */ sw $v0, 0x3c($s0)
/* 1056A0 802E3E20 8FBF0014 */ lw $ra, 0x14($sp)
/* 1056A4 802E3E24 8FB00010 */ lw $s0, 0x10($sp)
/* 1056A8 802E3E28 03E00008 */ jr $ra
/* 1056AC 802E3E2C 27BD0018 */ addiu $sp, $sp, 0x18
/* 1056B0 802E3E30 2403FFFF */ addiu $v1, $zero, -1
/* 1056B4 802E3E34 8C820040 */ lw $v0, 0x40($a0)
/* 1056B8 802E3E38 3C05FFDF */ lui $a1, 0xffdf
/* 1056BC 802E3E3C A4430010 */ sh $v1, 0x10($v0)
/* 1056C0 802E3E40 C480004C */ lwc1 $f0, 0x4c($a0)
/* 1056C4 802E3E44 34A5FFFF */ ori $a1, $a1, 0xffff
/* 1056C8 802E3E48 A443000E */ sh $v1, 0xe($v0)
/* 1056CC 802E3E4C E4400014 */ swc1 $f0, 0x14($v0)
/* 1056D0 802E3E50 8C820000 */ lw $v0, ($a0)
/* 1056D4 802E3E54 3C013F00 */ lui $at, 0x3f00
/* 1056D8 802E3E58 44810000 */ mtc1 $at, $f0
/* 1056DC 802E3E5C 00451024 */ and $v0, $v0, $a1
/* 1056E0 802E3E60 E4800054 */ swc1 $f0, 0x54($a0)
/* 1056E4 802E3E64 E4800058 */ swc1 $f0, 0x58($a0)
/* 1056E8 802E3E68 E480005C */ swc1 $f0, 0x5c($a0)
/* 1056EC 802E3E6C 03E00008 */ jr $ra
/* 1056F0 802E3E70 AC820000 */ sw $v0, ($a0)
/* 1056F4 802E3E74 00000000 */ nop
/* 1056F8 802E3E78 00000000 */ nop
/* 1056FC 802E3E7C 00000000 */ nop

View File

@ -0,0 +1,54 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3A48
/* 1052C8 802E3A48 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 1052CC 802E3A4C AFB00018 */ sw $s0, 0x18($sp)
/* 1052D0 802E3A50 0080802D */ daddu $s0, $a0, $zero
/* 1052D4 802E3A54 AFBF0020 */ sw $ra, 0x20($sp)
/* 1052D8 802E3A58 AFB1001C */ sw $s1, 0x1c($sp)
/* 1052DC 802E3A5C 92020006 */ lbu $v0, 6($s0)
/* 1052E0 802E3A60 8E110040 */ lw $s1, 0x40($s0)
/* 1052E4 802E3A64 30420080 */ andi $v0, $v0, 0x80
/* 1052E8 802E3A68 10400005 */ beqz $v0, .L802E3A80
/* 1052EC 802E3A6C 00000000 */ nop
/* 1052F0 802E3A70 0C043F5A */ jal func_8010FD68
/* 1052F4 802E3A74 00000000 */ nop
/* 1052F8 802E3A78 080B8EBD */ j .L802E3AF4
/* 1052FC 802E3A7C 00000000 */ nop
.L802E3A80:
/* 105300 802E3A80 0C0B8E80 */ jal func_802E3A00
/* 105304 802E3A84 0200202D */ daddu $a0, $s0, $zero
/* 105308 802E3A88 0C0B8D94 */ jal func_802E3650
/* 10530C 802E3A8C 0200202D */ daddu $a0, $s0, $zero
/* 105310 802E3A90 82220003 */ lb $v0, 3($s1)
/* 105314 802E3A94 10400017 */ beqz $v0, .L802E3AF4
/* 105318 802E3A98 3C028000 */ lui $v0, 0x8000
/* 10531C 802E3A9C 3C04802F */ lui $a0, 0x802f
/* 105320 802E3AA0 2484A07C */ addiu $a0, $a0, -0x5f84
/* 105324 802E3AA4 C6020048 */ lwc1 $f2, 0x48($s0)
/* 105328 802E3AA8 C604004C */ lwc1 $f4, 0x4c($s0)
/* 10532C 802E3AAC C6060050 */ lwc1 $f6, 0x50($s0)
/* 105330 802E3AB0 C6000064 */ lwc1 $f0, 0x64($s0)
/* 105334 802E3AB4 AFA20014 */ sw $v0, 0x14($sp)
/* 105338 802E3AB8 4600020D */ trunc.w.s $f8, $f0
/* 10533C 802E3ABC E7A80010 */ swc1 $f8, 0x10($sp)
/* 105340 802E3AC0 4600120D */ trunc.w.s $f8, $f2
/* 105344 802E3AC4 44054000 */ mfc1 $a1, $f8
/* 105348 802E3AC8 4600220D */ trunc.w.s $f8, $f4
/* 10534C 802E3ACC 44064000 */ mfc1 $a2, $f8
/* 105350 802E3AD0 4600320D */ trunc.w.s $f8, $f6
/* 105354 802E3AD4 44074000 */ mfc1 $a3, $f8
/* 105358 802E3AD8 0C044631 */ jal create_entity
/* 10535C 802E3ADC 00000000 */ nop
/* 105360 802E3AE0 3C032000 */ lui $v1, 0x2000
/* 105364 802E3AE4 8E020000 */ lw $v0, ($s0)
/* 105368 802E3AE8 34630020 */ ori $v1, $v1, 0x20
/* 10536C 802E3AEC 00431025 */ or $v0, $v0, $v1
/* 105370 802E3AF0 AE020000 */ sw $v0, ($s0)
.L802E3AF4:
/* 105374 802E3AF4 8FBF0020 */ lw $ra, 0x20($sp)
/* 105378 802E3AF8 8FB1001C */ lw $s1, 0x1c($sp)
/* 10537C 802E3AFC 8FB00018 */ lw $s0, 0x18($sp)
/* 105380 802E3B00 03E00008 */ jr $ra
/* 105384 802E3B04 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,44 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3B08
/* 105388 802E3B08 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 10538C 802E3B0C AFB00018 */ sw $s0, 0x18($sp)
/* 105390 802E3B10 0080802D */ daddu $s0, $a0, $zero
/* 105394 802E3B14 AFBF001C */ sw $ra, 0x1c($sp)
/* 105398 802E3B18 8E040040 */ lw $a0, 0x40($s0)
/* 10539C 802E3B1C 9483000A */ lhu $v1, 0xa($a0)
/* 1053A0 802E3B20 3402FFFF */ ori $v0, $zero, 0xffff
/* 1053A4 802E3B24 1062001B */ beq $v1, $v0, .L802E3B94
/* 1053A8 802E3B28 00000000 */ nop
/* 1053AC 802E3B2C 0C05152F */ jal get_global_flag
/* 1053B0 802E3B30 0060202D */ daddu $a0, $v1, $zero
/* 1053B4 802E3B34 10400017 */ beqz $v0, .L802E3B94
/* 1053B8 802E3B38 3C028000 */ lui $v0, 0x8000
/* 1053BC 802E3B3C 3C04802F */ lui $a0, 0x802f
/* 1053C0 802E3B40 2484A07C */ addiu $a0, $a0, -0x5f84
/* 1053C4 802E3B44 C6020048 */ lwc1 $f2, 0x48($s0)
/* 1053C8 802E3B48 C604004C */ lwc1 $f4, 0x4c($s0)
/* 1053CC 802E3B4C C6060050 */ lwc1 $f6, 0x50($s0)
/* 1053D0 802E3B50 C6000064 */ lwc1 $f0, 0x64($s0)
/* 1053D4 802E3B54 AFA20014 */ sw $v0, 0x14($sp)
/* 1053D8 802E3B58 4600020D */ trunc.w.s $f8, $f0
/* 1053DC 802E3B5C E7A80010 */ swc1 $f8, 0x10($sp)
/* 1053E0 802E3B60 4600120D */ trunc.w.s $f8, $f2
/* 1053E4 802E3B64 44054000 */ mfc1 $a1, $f8
/* 1053E8 802E3B68 4600220D */ trunc.w.s $f8, $f4
/* 1053EC 802E3B6C 44064000 */ mfc1 $a2, $f8
/* 1053F0 802E3B70 4600320D */ trunc.w.s $f8, $f6
/* 1053F4 802E3B74 44074000 */ mfc1 $a3, $f8
/* 1053F8 802E3B78 0C044631 */ jal create_entity
/* 1053FC 802E3B7C 00000000 */ nop
/* 105400 802E3B80 3C032000 */ lui $v1, 0x2000
/* 105404 802E3B84 8E020000 */ lw $v0, ($s0)
/* 105408 802E3B88 34630020 */ ori $v1, $v1, 0x20
/* 10540C 802E3B8C 00431025 */ or $v0, $v0, $v1
/* 105410 802E3B90 AE020000 */ sw $v0, ($s0)
.L802E3B94:
/* 105414 802E3B94 8FBF001C */ lw $ra, 0x1c($sp)
/* 105418 802E3B98 8FB00018 */ lw $s0, 0x18($sp)
/* 10541C 802E3B9C 03E00008 */ jr $ra
/* 105420 802E3BA0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,171 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3BA4
/* 105424 802E3BA4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 105428 802E3BA8 AFB1001C */ sw $s1, 0x1c($sp)
/* 10542C 802E3BAC 0080882D */ daddu $s1, $a0, $zero
/* 105430 802E3BB0 AFBF0024 */ sw $ra, 0x24($sp)
/* 105434 802E3BB4 AFB20020 */ sw $s2, 0x20($sp)
/* 105438 802E3BB8 AFB00018 */ sw $s0, 0x18($sp)
/* 10543C 802E3BBC 9222000B */ lbu $v0, 0xb($s1)
/* 105440 802E3BC0 3C128011 */ lui $s2, 0x8011
/* 105444 802E3BC4 2652EFC8 */ addiu $s2, $s2, -0x1038
/* 105448 802E3BC8 14400005 */ bnez $v0, .L802E3BE0
/* 10544C 802E3BCC 00000000 */ nop
/* 105450 802E3BD0 92220006 */ lbu $v0, 6($s1)
/* 105454 802E3BD4 30420001 */ andi $v0, $v0, 1
/* 105458 802E3BD8 14400083 */ bnez $v0, .L802E3DE8
/* 10545C 802E3BDC 0000102D */ daddu $v0, $zero, $zero
.L802E3BE0:
/* 105460 802E3BE0 92230006 */ lbu $v1, 6($s1)
/* 105464 802E3BE4 30620004 */ andi $v0, $v1, 4
/* 105468 802E3BE8 10400016 */ beqz $v0, .L802E3C44
/* 10546C 802E3BEC 30620080 */ andi $v0, $v1, 0x80
/* 105470 802E3BF0 92240004 */ lbu $a0, 4($s1)
/* 105474 802E3BF4 0C0441A9 */ jal get_entity_type
/* 105478 802E3BF8 00000000 */ nop
/* 10547C 802E3BFC 0040182D */ daddu $v1, $v0, $zero
/* 105480 802E3C00 2402000C */ addiu $v0, $zero, 0xc
/* 105484 802E3C04 10620019 */ beq $v1, $v0, .L802E3C6C
/* 105488 802E3C08 0062102A */ slt $v0, $v1, $v0
/* 10548C 802E3C0C 14400005 */ bnez $v0, .L802E3C24
/* 105490 802E3C10 2862001B */ slti $v0, $v1, 0x1b
/* 105494 802E3C14 10400003 */ beqz $v0, .L802E3C24
/* 105498 802E3C18 28620015 */ slti $v0, $v1, 0x15
/* 10549C 802E3C1C 10400072 */ beqz $v0, .L802E3DE8
/* 1054A0 802E3C20 0000102D */ daddu $v0, $zero, $zero
.L802E3C24:
/* 1054A4 802E3C24 8E420000 */ lw $v0, ($s2)
/* 1054A8 802E3C28 30420002 */ andi $v0, $v0, 2
/* 1054AC 802E3C2C 1040006E */ beqz $v0, .L802E3DE8
/* 1054B0 802E3C30 24020001 */ addiu $v0, $zero, 1
.L802E3C34:
/* 1054B4 802E3C34 0C043F5A */ jal func_8010FD68
/* 1054B8 802E3C38 0220202D */ daddu $a0, $s1, $zero
/* 1054BC 802E3C3C 080B8F7A */ j .L802E3DE8
/* 1054C0 802E3C40 24020001 */ addiu $v0, $zero, 1
.L802E3C44:
/* 1054C4 802E3C44 1440FFFB */ bnez $v0, .L802E3C34
/* 1054C8 802E3C48 30620001 */ andi $v0, $v1, 1
/* 1054CC 802E3C4C 1040000F */ beqz $v0, .L802E3C8C
/* 1054D0 802E3C50 0000802D */ daddu $s0, $zero, $zero
/* 1054D4 802E3C54 824300B4 */ lb $v1, 0xb4($s2)
/* 1054D8 802E3C58 2402000D */ addiu $v0, $zero, 0xd
/* 1054DC 802E3C5C 10620003 */ beq $v1, $v0, .L802E3C6C
/* 1054E0 802E3C60 2402000F */ addiu $v0, $zero, 0xf
/* 1054E4 802E3C64 14620003 */ bne $v1, $v0, .L802E3C74
/* 1054E8 802E3C68 2402000E */ addiu $v0, $zero, 0xe
.L802E3C6C:
/* 1054EC 802E3C6C 080B8F7A */ j .L802E3DE8
/* 1054F0 802E3C70 0000102D */ daddu $v0, $zero, $zero
.L802E3C74:
/* 1054F4 802E3C74 10620003 */ beq $v1, $v0, .L802E3C84
/* 1054F8 802E3C78 24020010 */ addiu $v0, $zero, 0x10
/* 1054FC 802E3C7C 1462005A */ bne $v1, $v0, .L802E3DE8
/* 105500 802E3C80 24020001 */ addiu $v0, $zero, 1
.L802E3C84:
/* 105504 802E3C84 080B8F2A */ j .L802E3CA8
/* 105508 802E3C88 24100001 */ addiu $s0, $zero, 1
.L802E3C8C:
/* 10550C 802E3C8C 30620040 */ andi $v0, $v1, 0x40
/* 105510 802E3C90 10400054 */ beqz $v0, .L802E3DE4
/* 105514 802E3C94 3C030100 */ lui $v1, 0x100
/* 105518 802E3C98 8E420000 */ lw $v0, ($s2)
/* 10551C 802E3C9C 00431024 */ and $v0, $v0, $v1
/* 105520 802E3CA0 10400051 */ beqz $v0, .L802E3DE8
/* 105524 802E3CA4 24020001 */ addiu $v0, $zero, 1
.L802E3CA8:
/* 105528 802E3CA8 92240004 */ lbu $a0, 4($s1)
/* 10552C 802E3CAC 0C0441A9 */ jal get_entity_type
/* 105530 802E3CB0 00000000 */ nop
/* 105534 802E3CB4 2443FFF5 */ addiu $v1, $v0, -0xb
/* 105538 802E3CB8 2C620015 */ sltiu $v0, $v1, 0x15
/* 10553C 802E3CBC 10400049 */ beqz $v0, .L802E3DE4
/* 105540 802E3CC0 00031080 */ sll $v0, $v1, 2
/* 105544 802E3CC4 3C01802F */ lui $at, 0x802f
/* 105548 802E3CC8 00220821 */ addu $at, $at, $v0
/* 10554C 802E3CCC 8C22B210 */ lw $v0, -0x4df0($at)
/* 105550 802E3CD0 00400008 */ jr $v0
/* 105554 802E3CD4 00000000 */ nop
/* 105558 802E3CD8 12000007 */ beqz $s0, .L802E3CF8
/* 10555C 802E3CDC 00000000 */ nop
/* 105560 802E3CE0 3C028011 */ lui $v0, 0x8011
/* 105564 802E3CE4 8042F290 */ lb $v0, -0xd70($v0)
/* 105568 802E3CE8 58400007 */ blezl $v0, .L802E3D08
/* 10556C 802E3CEC 0000802D */ daddu $s0, $zero, $zero
/* 105570 802E3CF0 080B8F42 */ j .L802E3D08
/* 105574 802E3CF4 00000000 */ nop
.L802E3CF8:
/* 105578 802E3CF8 3C028011 */ lui $v0, 0x8011
/* 10557C 802E3CFC 8042F291 */ lb $v0, -0xd6f($v0)
/* 105580 802E3D00 04430001 */ bgezl $v0, .L802E3D08
/* 105584 802E3D04 24100001 */ addiu $s0, $zero, 1
.L802E3D08:
/* 105588 802E3D08 12000037 */ beqz $s0, .L802E3DE8
/* 10558C 802E3D0C 24020001 */ addiu $v0, $zero, 1
/* 105590 802E3D10 3C05802F */ lui $a1, 0x802f
/* 105594 802E3D14 24A59E80 */ addiu $a1, $a1, -0x6180
/* 105598 802E3D18 0C043EF0 */ jal func_8010FBC0
/* 10559C 802E3D1C 0220202D */ daddu $a0, $s1, $zero
/* 1055A0 802E3D20 C6200050 */ lwc1 $f0, 0x50($s1)
/* 1055A4 802E3D24 080B8F6C */ j .L802E3DB0
/* 1055A8 802E3D28 2404014F */ addiu $a0, $zero, 0x14f
/* 1055AC 802E3D2C 12000008 */ beqz $s0, .L802E3D50
/* 1055B0 802E3D30 00000000 */ nop
/* 1055B4 802E3D34 3C028011 */ lui $v0, 0x8011
/* 1055B8 802E3D38 8042F290 */ lb $v0, -0xd70($v0)
/* 1055BC 802E3D3C 28420002 */ slti $v0, $v0, 2
/* 1055C0 802E3D40 54400007 */ bnel $v0, $zero, .L802E3D60
/* 1055C4 802E3D44 0000802D */ daddu $s0, $zero, $zero
/* 1055C8 802E3D48 080B8F58 */ j .L802E3D60
/* 1055CC 802E3D4C 00000000 */ nop
.L802E3D50:
/* 1055D0 802E3D50 3C028011 */ lui $v0, 0x8011
/* 1055D4 802E3D54 8042F291 */ lb $v0, -0xd6f($v0)
/* 1055D8 802E3D58 5C400001 */ bgtzl $v0, .L802E3D60
/* 1055DC 802E3D5C 24100001 */ addiu $s0, $zero, 1
.L802E3D60:
/* 1055E0 802E3D60 12000021 */ beqz $s0, .L802E3DE8
/* 1055E4 802E3D64 24020001 */ addiu $v0, $zero, 1
/* 1055E8 802E3D68 3C05802F */ lui $a1, 0x802f
/* 1055EC 802E3D6C 24A59E80 */ addiu $a1, $a1, -0x6180
/* 1055F0 802E3D70 0C043EF0 */ jal func_8010FBC0
/* 1055F4 802E3D74 0220202D */ daddu $a0, $s1, $zero
/* 1055F8 802E3D78 C6200050 */ lwc1 $f0, 0x50($s1)
/* 1055FC 802E3D7C 080B8F6C */ j .L802E3DB0
/* 105600 802E3D80 24040150 */ addiu $a0, $zero, 0x150
/* 105604 802E3D84 3C028011 */ lui $v0, 0x8011
/* 105608 802E3D88 8042F291 */ lb $v0, -0xd6f($v0)
/* 10560C 802E3D8C 28420002 */ slti $v0, $v0, 2
/* 105610 802E3D90 14400015 */ bnez $v0, .L802E3DE8
/* 105614 802E3D94 24020001 */ addiu $v0, $zero, 1
/* 105618 802E3D98 3C05802F */ lui $a1, 0x802f
/* 10561C 802E3D9C 24A59E80 */ addiu $a1, $a1, -0x6180
/* 105620 802E3DA0 0C043EF0 */ jal func_8010FBC0
/* 105624 802E3DA4 0220202D */ daddu $a0, $s1, $zero
/* 105628 802E3DA8 C6200050 */ lwc1 $f0, 0x50($s1)
/* 10562C 802E3DAC 24040151 */ addiu $a0, $zero, 0x151
.L802E3DB0:
/* 105630 802E3DB0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 105634 802E3DB4 8E260048 */ lw $a2, 0x48($s1)
/* 105638 802E3DB8 8E27004C */ lw $a3, 0x4c($s1)
/* 10563C 802E3DBC 0C052757 */ jal play_sound_at_position
/* 105640 802E3DC0 0000282D */ daddu $a1, $zero, $zero
/* 105644 802E3DC4 080B8F7A */ j .L802E3DE8
/* 105648 802E3DC8 24020001 */ addiu $v0, $zero, 1
/* 10564C 802E3DCC 0C04419E */ jal func_80110678
/* 105650 802E3DD0 0220202D */ daddu $a0, $s1, $zero
/* 105654 802E3DD4 080B8F0D */ j .L802E3C34
/* 105658 802E3DD8 00000000 */ nop
/* 10565C 802E3DDC 0C04419E */ jal func_80110678
/* 105660 802E3DE0 0220202D */ daddu $a0, $s1, $zero
.L802E3DE4:
/* 105664 802E3DE4 24020001 */ addiu $v0, $zero, 1
.L802E3DE8:
/* 105668 802E3DE8 8FBF0024 */ lw $ra, 0x24($sp)
/* 10566C 802E3DEC 8FB20020 */ lw $s2, 0x20($sp)
/* 105670 802E3DF0 8FB1001C */ lw $s1, 0x1c($sp)
/* 105674 802E3DF4 8FB00018 */ lw $s0, 0x18($sp)
/* 105678 802E3DF8 03E00008 */ jr $ra
/* 10567C 802E3DFC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,7 +1,6 @@
.set noat # allow manual use of $at .set noat # allow manual use of $at
.set noreorder # don't insert nops after branches .set noreorder # don't insert nops after branches
glabel func_802E3E80 glabel func_802E3E80
/* 105700 802E3E80 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 105700 802E3E80 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105704 802E3E84 AFBF0010 */ sw $ra, 0x10($sp) /* 105704 802E3E84 AFBF0010 */ sw $ra, 0x10($sp)
@ -10,546 +9,3 @@ glabel func_802E3E80
/* 105710 802E3E90 8FBF0010 */ lw $ra, 0x10($sp) /* 105710 802E3E90 8FBF0010 */ lw $ra, 0x10($sp)
/* 105714 802E3E94 03E00008 */ jr $ra /* 105714 802E3E94 03E00008 */ jr $ra
/* 105718 802E3E98 27BD0018 */ addiu $sp, $sp, 0x18 /* 105718 802E3E98 27BD0018 */ addiu $sp, $sp, 0x18
/* 10571C 802E3E9C 3C028011 */ lui $v0, 0x8011
/* 105720 802E3EA0 8C42EFCC */ lw $v0, -0x1034($v0)
/* 105724 802E3EA4 9083000B */ lbu $v1, 0xb($a0)
/* 105728 802E3EA8 30420001 */ andi $v0, $v0, 1
/* 10572C 802E3EAC 50400007 */ beql $v0, $zero, .L802E3ECC
/* 105730 802E3EB0 2463FFE0 */ addiu $v1, $v1, -0x20
/* 105734 802E3EB4 24630020 */ addiu $v1, $v1, 0x20
/* 105738 802E3EB8 286200C1 */ slti $v0, $v1, 0xc1
/* 10573C 802E3EBC 50400005 */ beql $v0, $zero, .L802E3ED4
/* 105740 802E3EC0 240300C0 */ addiu $v1, $zero, 0xc0
/* 105744 802E3EC4 03E00008 */ jr $ra
/* 105748 802E3EC8 A083000B */ sb $v1, 0xb($a0)
.L802E3ECC:
/* 10574C 802E3ECC 58600001 */ blezl $v1, .L802E3ED4
/* 105750 802E3ED0 0000182D */ daddu $v1, $zero, $zero
.L802E3ED4:
/* 105754 802E3ED4 A083000B */ sb $v1, 0xb($a0)
/* 105758 802E3ED8 03E00008 */ jr $ra
/* 10575C 802E3EDC 00000000 */ nop
/* 105760 802E3EE0 9082000B */ lbu $v0, 0xb($a0)
/* 105764 802E3EE4 2C4200FF */ sltiu $v0, $v0, 0xff
/* 105768 802E3EE8 10400006 */ beqz $v0, .L802E3F04
/* 10576C 802E3EEC 2483000B */ addiu $v1, $a0, 0xb
/* 105770 802E3EF0 9084000B */ lbu $a0, 0xb($a0)
/* 105774 802E3EF4 14800002 */ bnez $a0, .L802E3F00
/* 105778 802E3EF8 24820020 */ addiu $v0, $a0, 0x20
/* 10577C 802E3EFC 2482001F */ addiu $v0, $a0, 0x1f
.L802E3F00:
/* 105780 802E3F00 A0620000 */ sb $v0, ($v1)
.L802E3F04:
/* 105784 802E3F04 03E00008 */ jr $ra
/* 105788 802E3F08 00000000 */ nop
/* 10578C 802E3F0C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 105790 802E3F10 AFB00020 */ sw $s0, 0x20($sp)
/* 105794 802E3F14 0080802D */ daddu $s0, $a0, $zero
/* 105798 802E3F18 AFBF002C */ sw $ra, 0x2c($sp)
/* 10579C 802E3F1C AFB20028 */ sw $s2, 0x28($sp)
/* 1057A0 802E3F20 AFB10024 */ sw $s1, 0x24($sp)
/* 1057A4 802E3F24 8E110040 */ lw $s1, 0x40($s0)
/* 1057A8 802E3F28 86220010 */ lh $v0, 0x10($s1)
/* 1057AC 802E3F2C 1040003E */ beqz $v0, .L802E4028
/* 1057B0 802E3F30 3C120010 */ lui $s2, 0x10
/* 1057B4 802E3F34 8E020000 */ lw $v0, ($s0)
/* 1057B8 802E3F38 00521024 */ and $v0, $v0, $s2
/* 1057BC 802E3F3C 1440003A */ bnez $v0, .L802E4028
/* 1057C0 802E3F40 00000000 */ nop
/* 1057C4 802E3F44 0C03951B */ jal func_800E546C
/* 1057C8 802E3F48 00000000 */ nop
/* 1057CC 802E3F4C 8E020000 */ lw $v0, ($s0)
/* 1057D0 802E3F50 4600010D */ trunc.w.s $f4, $f0
/* 1057D4 802E3F54 44032000 */ mfc1 $v1, $f4
/* 1057D8 802E3F58 00521025 */ or $v0, $v0, $s2
/* 1057DC 802E3F5C AE020000 */ sw $v0, ($s0)
/* 1057E0 802E3F60 86240010 */ lh $a0, 0x10($s1)
/* 1057E4 802E3F64 24020157 */ addiu $v0, $zero, 0x157
/* 1057E8 802E3F68 54820013 */ bnel $a0, $v0, .L802E3FB8
/* 1057EC 802E3F6C 24630168 */ addiu $v1, $v1, 0x168
/* 1057F0 802E3F70 C602004C */ lwc1 $f2, 0x4c($s0)
/* 1057F4 802E3F74 24020015 */ addiu $v0, $zero, 0x15
/* 1057F8 802E3F78 AFA20010 */ sw $v0, 0x10($sp)
/* 1057FC 802E3F7C AFA00014 */ sw $zero, 0x14($sp)
/* 105800 802E3F80 AFA30018 */ sw $v1, 0x18($sp)
/* 105804 802E3F84 9622000A */ lhu $v0, 0xa($s1)
/* 105808 802E3F88 3C01403C */ lui $at, 0x403c
/* 10580C 802E3F8C 44810800 */ mtc1 $at, $f1
/* 105810 802E3F90 44800000 */ mtc1 $zero, $f0
/* 105814 802E3F94 460010A1 */ cvt.d.s $f2, $f2
/* 105818 802E3F98 46201080 */ add.d $f2, $f2, $f0
/* 10581C 802E3F9C AFA2001C */ sw $v0, 0x1c($sp)
/* 105820 802E3FA0 8E050048 */ lw $a1, 0x48($s0)
/* 105824 802E3FA4 8E070050 */ lw $a3, 0x50($s0)
/* 105828 802E3FA8 462010A0 */ cvt.s.d $f2, $f2
/* 10582C 802E3FAC 44061000 */ mfc1 $a2, $f2
/* 105830 802E3FB0 080B9008 */ j .L802E4020
/* 105834 802E3FB4 24040157 */ addiu $a0, $zero, 0x157
.L802E3FB8:
/* 105838 802E3FB8 26050048 */ addiu $a1, $s0, 0x48
/* 10583C 802E3FBC 00041140 */ sll $v0, $a0, 5
/* 105840 802E3FC0 C600004C */ lwc1 $f0, 0x4c($s0)
/* 105844 802E3FC4 3C014034 */ lui $at, 0x4034
/* 105848 802E3FC8 44811800 */ mtc1 $at, $f3
/* 10584C 802E3FCC 44801000 */ mtc1 $zero, $f2
/* 105850 802E3FD0 3C018008 */ lui $at, 0x8008
/* 105854 802E3FD4 00220821 */ addu $at, $at, $v0
/* 105858 802E3FD8 942278F8 */ lhu $v0, 0x78f8($at)
/* 10585C 802E3FDC 46000021 */ cvt.d.s $f0, $f0
/* 105860 802E3FE0 46220000 */ add.d $f0, $f0, $f2
/* 105864 802E3FE4 26070050 */ addiu $a3, $s0, 0x50
/* 105868 802E3FE8 30420040 */ andi $v0, $v0, 0x40
/* 10586C 802E3FEC 10400003 */ beqz $v0, .L802E3FFC
/* 105870 802E3FF0 46200020 */ cvt.s.d $f0, $f0
/* 105874 802E3FF4 080B9000 */ j .L802E4000
/* 105878 802E3FF8 2402000B */ addiu $v0, $zero, 0xb
.L802E3FFC:
/* 10587C 802E3FFC 2402000A */ addiu $v0, $zero, 0xa
.L802E4000:
/* 105880 802E4000 AFA20010 */ sw $v0, 0x10($sp)
/* 105884 802E4004 AFA00014 */ sw $zero, 0x14($sp)
/* 105888 802E4008 AFA30018 */ sw $v1, 0x18($sp)
/* 10588C 802E400C 9622000A */ lhu $v0, 0xa($s1)
/* 105890 802E4010 44060000 */ mfc1 $a2, $f0
/* 105894 802E4014 AFA2001C */ sw $v0, 0x1c($sp)
/* 105898 802E4018 8CA50000 */ lw $a1, ($a1)
/* 10589C 802E401C 8CE70000 */ lw $a3, ($a3)
.L802E4020:
/* 1058A0 802E4020 0C04C4FD */ jal make_item_entity
/* 1058A4 802E4024 00000000 */ nop
.L802E4028:
/* 1058A8 802E4028 8FBF002C */ lw $ra, 0x2c($sp)
/* 1058AC 802E402C 8FB20028 */ lw $s2, 0x28($sp)
/* 1058B0 802E4030 8FB10024 */ lw $s1, 0x24($sp)
/* 1058B4 802E4034 8FB00020 */ lw $s0, 0x20($sp)
/* 1058B8 802E4038 03E00008 */ jr $ra
/* 1058BC 802E403C 27BD0030 */ addiu $sp, $sp, 0x30
/* 1058C0 802E4040 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1058C4 802E4044 AFBF0010 */ sw $ra, 0x10($sp)
/* 1058C8 802E4048 0C04419E */ jal func_80110678
/* 1058CC 802E404C 00000000 */ nop
/* 1058D0 802E4050 8FBF0010 */ lw $ra, 0x10($sp)
/* 1058D4 802E4054 03E00008 */ jr $ra
/* 1058D8 802E4058 27BD0018 */ addiu $sp, $sp, 0x18
/* 1058DC 802E405C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1058E0 802E4060 3C013F80 */ lui $at, 0x3f80
/* 1058E4 802E4064 44810000 */ mtc1 $at, $f0
/* 1058E8 802E4068 2402003C */ addiu $v0, $zero, 0x3c
/* 1058EC 802E406C AFBF0018 */ sw $ra, 0x18($sp)
/* 1058F0 802E4070 AFA20014 */ sw $v0, 0x14($sp)
/* 1058F4 802E4074 E7A00010 */ swc1 $f0, 0x10($sp)
/* 1058F8 802E4078 8C850048 */ lw $a1, 0x48($a0)
/* 1058FC 802E407C 8C86004C */ lw $a2, 0x4c($a0)
/* 105900 802E4080 8C870050 */ lw $a3, 0x50($a0)
/* 105904 802E4084 0C01C88C */ jal func_80072230
/* 105908 802E4088 0000202D */ daddu $a0, $zero, $zero
/* 10590C 802E408C 8FBF0018 */ lw $ra, 0x18($sp)
/* 105910 802E4090 3C01802F */ lui $at, 0x802f
/* 105914 802E4094 AC22B3B0 */ sw $v0, -0x4c50($at)
/* 105918 802E4098 03E00008 */ jr $ra
/* 10591C 802E409C 27BD0020 */ addiu $sp, $sp, 0x20
/* 105920 802E40A0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105924 802E40A4 AFB00010 */ sw $s0, 0x10($sp)
/* 105928 802E40A8 0080802D */ daddu $s0, $a0, $zero
/* 10592C 802E40AC AFBF0014 */ sw $ra, 0x14($sp)
/* 105930 802E40B0 0C0441A9 */ jal func_801106A4
/* 105934 802E40B4 92040004 */ lbu $a0, 4($s0)
/* 105938 802E40B8 0040182D */ daddu $v1, $v0, $zero
/* 10593C 802E40BC 24020012 */ addiu $v0, $zero, 0x12
/* 105940 802E40C0 10620003 */ beq $v1, $v0, .L802E40D0
/* 105944 802E40C4 24020014 */ addiu $v0, $zero, 0x14
/* 105948 802E40C8 14620006 */ bne $v1, $v0, .L802E40E4
/* 10594C 802E40CC 00000000 */ nop
.L802E40D0:
/* 105950 802E40D0 86040014 */ lh $a0, 0x14($s0)
/* 105954 802E40D4 3C050000 */ lui $a1, 0
/* 105958 802E40D8 24A50094 */ addiu $a1, $a1, 0x94
/* 10595C 802E40DC 080B903C */ j .L802E40F0
/* 105960 802E40E0 00000000 */ nop
.L802E40E4:
/* 105964 802E40E4 86040014 */ lh $a0, 0x14($s0)
/* 105968 802E40E8 3C050000 */ lui $a1, 0
/* 10596C 802E40EC 24A50094 */ addiu $a1, $a1, 0x94
.L802E40F0:
/* 105970 802E40F0 0C048052 */ jal play_model_animation
/* 105974 802E40F4 00000000 */ nop
/* 105978 802E40F8 8FBF0014 */ lw $ra, 0x14($sp)
/* 10597C 802E40FC 8FB00010 */ lw $s0, 0x10($sp)
/* 105980 802E4100 03E00008 */ jr $ra
/* 105984 802E4104 27BD0018 */ addiu $sp, $sp, 0x18
/* 105988 802E4108 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10598C 802E410C AFBF0014 */ sw $ra, 0x14($sp)
/* 105990 802E4110 AFB00010 */ sw $s0, 0x10($sp)
/* 105994 802E4114 8C820040 */ lw $v0, 0x40($a0)
/* 105998 802E4118 84440012 */ lh $a0, 0x12($v0)
/* 10599C 802E411C 0C04417A */ jal get_entity_by_index
/* 1059A0 802E4120 2410FFFE */ addiu $s0, $zero, -2
/* 1059A4 802E4124 8C430000 */ lw $v1, ($v0)
/* 1059A8 802E4128 84440016 */ lh $a0, 0x16($v0)
/* 1059AC 802E412C 00701824 */ and $v1, $v1, $s0
/* 1059B0 802E4130 0C044181 */ jal get_shadow_by_index
/* 1059B4 802E4134 AC430000 */ sw $v1, ($v0)
/* 1059B8 802E4138 8C430000 */ lw $v1, ($v0)
/* 1059BC 802E413C 00701824 */ and $v1, $v1, $s0
/* 1059C0 802E4140 AC430000 */ sw $v1, ($v0)
/* 1059C4 802E4144 8FBF0014 */ lw $ra, 0x14($sp)
/* 1059C8 802E4148 8FB00010 */ lw $s0, 0x10($sp)
/* 1059CC 802E414C 03E00008 */ jr $ra
/* 1059D0 802E4150 27BD0018 */ addiu $sp, $sp, 0x18
/* 1059D4 802E4154 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1059D8 802E4158 AFB00018 */ sw $s0, 0x18($sp)
/* 1059DC 802E415C 0080802D */ daddu $s0, $a0, $zero
/* 1059E0 802E4160 AFBF001C */ sw $ra, 0x1c($sp)
/* 1059E4 802E4164 8E040040 */ lw $a0, 0x40($s0)
/* 1059E8 802E4168 9483000A */ lhu $v1, 0xa($a0)
/* 1059EC 802E416C 3402FFFF */ ori $v0, $zero, 0xffff
/* 1059F0 802E4170 10620024 */ beq $v1, $v0, .L802E4204
/* 1059F4 802E4174 00000000 */ nop
/* 1059F8 802E4178 0C05152F */ jal get_global_flag
/* 1059FC 802E417C 0060202D */ daddu $a0, $v1, $zero
/* 105A00 802E4180 10400020 */ beqz $v0, .L802E4204
/* 105A04 802E4184 00000000 */ nop
/* 105A08 802E4188 0C0441A9 */ jal func_801106A4
/* 105A0C 802E418C 92040004 */ lbu $a0, 4($s0)
/* 105A10 802E4190 3C04802F */ lui $a0, 0x802f
/* 105A14 802E4194 2484A0A0 */ addiu $a0, $a0, -0x5f60
/* 105A18 802E4198 24030014 */ addiu $v1, $zero, 0x14
/* 105A1C 802E419C 10430003 */ beq $v0, $v1, .L802E41AC
/* 105A20 802E41A0 00000000 */ nop
/* 105A24 802E41A4 3C04802F */ lui $a0, 0x802f
/* 105A28 802E41A8 2484A07C */ addiu $a0, $a0, -0x5f84
.L802E41AC:
/* 105A2C 802E41AC C6020048 */ lwc1 $f2, 0x48($s0)
/* 105A30 802E41B0 C604004C */ lwc1 $f4, 0x4c($s0)
/* 105A34 802E41B4 C6060050 */ lwc1 $f6, 0x50($s0)
/* 105A38 802E41B8 C6000064 */ lwc1 $f0, 0x64($s0)
/* 105A3C 802E41BC 3C028000 */ lui $v0, 0x8000
/* 105A40 802E41C0 AFA20014 */ sw $v0, 0x14($sp)
/* 105A44 802E41C4 4600020D */ trunc.w.s $f8, $f0
/* 105A48 802E41C8 E7A80010 */ swc1 $f8, 0x10($sp)
/* 105A4C 802E41CC 4600120D */ trunc.w.s $f8, $f2
/* 105A50 802E41D0 44054000 */ mfc1 $a1, $f8
/* 105A54 802E41D4 4600220D */ trunc.w.s $f8, $f4
/* 105A58 802E41D8 44064000 */ mfc1 $a2, $f8
/* 105A5C 802E41DC 4600320D */ trunc.w.s $f8, $f6
/* 105A60 802E41E0 44074000 */ mfc1 $a3, $f8
/* 105A64 802E41E4 0C044631 */ jal create_entity
/* 105A68 802E41E8 00000000 */ nop
/* 105A6C 802E41EC 3C05802F */ lui $a1, 0x802f
/* 105A70 802E41F0 24A5A310 */ addiu $a1, $a1, -0x5cf0
/* 105A74 802E41F4 0C043EF0 */ jal func_8010FBC0
/* 105A78 802E41F8 0200202D */ daddu $a0, $s0, $zero
/* 105A7C 802E41FC 080B9083 */ j .L802E420C
/* 105A80 802E4200 00000000 */ nop
.L802E4204:
/* 105A84 802E4204 0C043F5A */ jal func_8010FD68
/* 105A88 802E4208 0200202D */ daddu $a0, $s0, $zero
.L802E420C:
/* 105A8C 802E420C 8FBF001C */ lw $ra, 0x1c($sp)
/* 105A90 802E4210 8FB00018 */ lw $s0, 0x18($sp)
/* 105A94 802E4214 03E00008 */ jr $ra
/* 105A98 802E4218 27BD0020 */ addiu $sp, $sp, 0x20
/* 105A9C 802E421C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 105AA0 802E4220 AFB1001C */ sw $s1, 0x1c($sp)
/* 105AA4 802E4224 0080882D */ daddu $s1, $a0, $zero
/* 105AA8 802E4228 AFBF0024 */ sw $ra, 0x24($sp)
/* 105AAC 802E422C AFB20020 */ sw $s2, 0x20($sp)
/* 105AB0 802E4230 AFB00018 */ sw $s0, 0x18($sp)
/* 105AB4 802E4234 0C0441A9 */ jal func_801106A4
/* 105AB8 802E4238 92240004 */ lbu $a0, 4($s1)
/* 105ABC 802E423C 3C04802F */ lui $a0, 0x802f
/* 105AC0 802E4240 2484A07C */ addiu $a0, $a0, -0x5f84
/* 105AC4 802E4244 0040182D */ daddu $v1, $v0, $zero
/* 105AC8 802E4248 28620015 */ slti $v0, $v1, 0x15
/* 105ACC 802E424C 10400005 */ beqz $v0, .L802E4264
/* 105AD0 802E4250 28620012 */ slti $v0, $v1, 0x12
/* 105AD4 802E4254 14400003 */ bnez $v0, .L802E4264
/* 105AD8 802E4258 00000000 */ nop
/* 105ADC 802E425C 3C04802F */ lui $a0, 0x802f
/* 105AE0 802E4260 2484A0A0 */ addiu $a0, $a0, -0x5f60
.L802E4264:
/* 105AE4 802E4264 C6220048 */ lwc1 $f2, 0x48($s1)
/* 105AE8 802E4268 C624004C */ lwc1 $f4, 0x4c($s1)
/* 105AEC 802E426C C6260050 */ lwc1 $f6, 0x50($s1)
/* 105AF0 802E4270 C6200064 */ lwc1 $f0, 0x64($s1)
/* 105AF4 802E4274 3C028000 */ lui $v0, 0x8000
/* 105AF8 802E4278 AFA20014 */ sw $v0, 0x14($sp)
/* 105AFC 802E427C 4600020D */ trunc.w.s $f8, $f0
/* 105B00 802E4280 E7A80010 */ swc1 $f8, 0x10($sp)
/* 105B04 802E4284 4600120D */ trunc.w.s $f8, $f2
/* 105B08 802E4288 44054000 */ mfc1 $a1, $f8
/* 105B0C 802E428C 4600220D */ trunc.w.s $f8, $f4
/* 105B10 802E4290 44064000 */ mfc1 $a2, $f8
/* 105B14 802E4294 4600320D */ trunc.w.s $f8, $f6
/* 105B18 802E4298 44074000 */ mfc1 $a3, $f8
/* 105B1C 802E429C 0C044631 */ jal create_entity
/* 105B20 802E42A0 00000000 */ nop
/* 105B24 802E42A4 0040902D */ daddu $s2, $v0, $zero
/* 105B28 802E42A8 0C04417A */ jal get_entity_by_index
/* 105B2C 802E42AC 0240202D */ daddu $a0, $s2, $zero
/* 105B30 802E42B0 0040802D */ daddu $s0, $v0, $zero
/* 105B34 802E42B4 8E020000 */ lw $v0, ($s0)
/* 105B38 802E42B8 34430001 */ ori $v1, $v0, 1
/* 105B3C 802E42BC AE030000 */ sw $v1, ($s0)
/* 105B40 802E42C0 8E220000 */ lw $v0, ($s1)
/* 105B44 802E42C4 3C040004 */ lui $a0, 4
/* 105B48 802E42C8 00441024 */ and $v0, $v0, $a0
/* 105B4C 802E42CC 10400002 */ beqz $v0, .L802E42D8
/* 105B50 802E42D0 00641025 */ or $v0, $v1, $a0
/* 105B54 802E42D4 AE020000 */ sw $v0, ($s0)
.L802E42D8:
/* 105B58 802E42D8 8E220000 */ lw $v0, ($s1)
/* 105B5C 802E42DC 30420004 */ andi $v0, $v0, 4
/* 105B60 802E42E0 10400004 */ beqz $v0, .L802E42F4
/* 105B64 802E42E4 00000000 */ nop
/* 105B68 802E42E8 8E020000 */ lw $v0, ($s0)
/* 105B6C 802E42EC 34420004 */ ori $v0, $v0, 4
/* 105B70 802E42F0 AE020000 */ sw $v0, ($s0)
.L802E42F4:
/* 105B74 802E42F4 0C044181 */ jal get_shadow_by_index
/* 105B78 802E42F8 86040016 */ lh $a0, 0x16($s0)
/* 105B7C 802E42FC 0040282D */ daddu $a1, $v0, $zero
/* 105B80 802E4300 3C020040 */ lui $v0, 0x40
/* 105B84 802E4304 34420001 */ ori $v0, $v0, 1
/* 105B88 802E4308 8CA30000 */ lw $v1, ($a1)
/* 105B8C 802E430C 0220202D */ daddu $a0, $s1, $zero
/* 105B90 802E4310 00621825 */ or $v1, $v1, $v0
/* 105B94 802E4314 0C044AC8 */ jal func_80112B20
/* 105B98 802E4318 ACA30000 */ sw $v1, ($a1)
/* 105B9C 802E431C 92240004 */ lbu $a0, 4($s1)
/* 105BA0 802E4320 0C0441A9 */ jal func_801106A4
/* 105BA4 802E4324 0040802D */ daddu $s0, $v0, $zero
/* 105BA8 802E4328 0040182D */ daddu $v1, $v0, $zero
/* 105BAC 802E432C 24020012 */ addiu $v0, $zero, 0x12
/* 105BB0 802E4330 10620003 */ beq $v1, $v0, .L802E4340
/* 105BB4 802E4334 24020014 */ addiu $v0, $zero, 0x14
/* 105BB8 802E4338 14620005 */ bne $v1, $v0, .L802E4350
/* 105BBC 802E433C 00000000 */ nop
.L802E4340:
/* 105BC0 802E4340 3C04802F */ lui $a0, 0x802f
/* 105BC4 802E4344 2484A660 */ addiu $a0, $a0, -0x59a0
/* 105BC8 802E4348 080B90DA */ j .L802E4368
/* 105BCC 802E434C 00000000 */ nop
.L802E4350:
/* 105BD0 802E4350 3C04802F */ lui $a0, 0x802f
/* 105BD4 802E4354 2484A63C */ addiu $a0, $a0, -0x59c4
/* 105BD8 802E4358 12000003 */ beqz $s0, .L802E4368
/* 105BDC 802E435C 00000000 */ nop
/* 105BE0 802E4360 3C04802F */ lui $a0, 0x802f
/* 105BE4 802E4364 2484A618 */ addiu $a0, $a0, -0x59e8
.L802E4368:
/* 105BE8 802E4368 C6220048 */ lwc1 $f2, 0x48($s1)
/* 105BEC 802E436C C624004C */ lwc1 $f4, 0x4c($s1)
/* 105BF0 802E4370 C6260050 */ lwc1 $f6, 0x50($s1)
/* 105BF4 802E4374 C6200064 */ lwc1 $f0, 0x64($s1)
/* 105BF8 802E4378 3C028000 */ lui $v0, 0x8000
/* 105BFC 802E437C AFA20014 */ sw $v0, 0x14($sp)
/* 105C00 802E4380 4600020D */ trunc.w.s $f8, $f0
/* 105C04 802E4384 E7A80010 */ swc1 $f8, 0x10($sp)
/* 105C08 802E4388 4600120D */ trunc.w.s $f8, $f2
/* 105C0C 802E438C 44054000 */ mfc1 $a1, $f8
/* 105C10 802E4390 4600220D */ trunc.w.s $f8, $f4
/* 105C14 802E4394 44064000 */ mfc1 $a2, $f8
/* 105C18 802E4398 4600320D */ trunc.w.s $f8, $f6
/* 105C1C 802E439C 44074000 */ mfc1 $a3, $f8
/* 105C20 802E43A0 0C044631 */ jal create_entity
/* 105C24 802E43A4 00000000 */ nop
/* 105C28 802E43A8 0C04417A */ jal get_entity_by_index
/* 105C2C 802E43AC 0040202D */ daddu $a0, $v0, $zero
/* 105C30 802E43B0 9223000B */ lbu $v1, 0xb($s1)
/* 105C34 802E43B4 0040802D */ daddu $s0, $v0, $zero
/* 105C38 802E43B8 A203000B */ sb $v1, 0xb($s0)
/* 105C3C 802E43BC 8E220000 */ lw $v0, ($s1)
/* 105C40 802E43C0 30420001 */ andi $v0, $v0, 1
/* 105C44 802E43C4 14400005 */ bnez $v0, .L802E43DC
/* 105C48 802E43C8 24020020 */ addiu $v0, $zero, 0x20
/* 105C4C 802E43CC 9222000B */ lbu $v0, 0xb($s1)
/* 105C50 802E43D0 2C4200FF */ sltiu $v0, $v0, 0xff
/* 105C54 802E43D4 10400002 */ beqz $v0, .L802E43E0
/* 105C58 802E43D8 24020020 */ addiu $v0, $zero, 0x20
.L802E43DC:
/* 105C5C 802E43DC A202000B */ sb $v0, 0xb($s0)
.L802E43E0:
/* 105C60 802E43E0 8E220000 */ lw $v0, ($s1)
/* 105C64 802E43E4 3C030004 */ lui $v1, 4
/* 105C68 802E43E8 00431024 */ and $v0, $v0, $v1
/* 105C6C 802E43EC 10400004 */ beqz $v0, .L802E4400
/* 105C70 802E43F0 00000000 */ nop
/* 105C74 802E43F4 8E020000 */ lw $v0, ($s0)
/* 105C78 802E43F8 00431025 */ or $v0, $v0, $v1
/* 105C7C 802E43FC AE020000 */ sw $v0, ($s0)
.L802E4400:
/* 105C80 802E4400 8E020040 */ lw $v0, 0x40($s0)
/* 105C84 802E4404 A4520012 */ sh $s2, 0x12($v0)
/* 105C88 802E4408 8E220000 */ lw $v0, ($s1)
/* 105C8C 802E440C 30420004 */ andi $v0, $v0, 4
/* 105C90 802E4410 10400004 */ beqz $v0, .L802E4424
/* 105C94 802E4414 2403FEFF */ addiu $v1, $zero, -0x101
/* 105C98 802E4418 8E020000 */ lw $v0, ($s0)
/* 105C9C 802E441C 34420004 */ ori $v0, $v0, 4
/* 105CA0 802E4420 AE020000 */ sw $v0, ($s0)
.L802E4424:
/* 105CA4 802E4424 8E220000 */ lw $v0, ($s1)
/* 105CA8 802E4428 86240016 */ lh $a0, 0x16($s1)
/* 105CAC 802E442C 00431024 */ and $v0, $v0, $v1
/* 105CB0 802E4430 0C044181 */ jal get_shadow_by_index
/* 105CB4 802E4434 AE220000 */ sw $v0, ($s1)
/* 105CB8 802E4438 0040282D */ daddu $a1, $v0, $zero
/* 105CBC 802E443C 3C031000 */ lui $v1, 0x1000
/* 105CC0 802E4440 8CA20000 */ lw $v0, ($a1)
/* 105CC4 802E4444 34630001 */ ori $v1, $v1, 1
/* 105CC8 802E4448 00431025 */ or $v0, $v0, $v1
/* 105CCC 802E444C ACA20000 */ sw $v0, ($a1)
/* 105CD0 802E4450 0C044181 */ jal get_shadow_by_index
/* 105CD4 802E4454 86040016 */ lh $a0, 0x16($s0)
/* 105CD8 802E4458 0040282D */ daddu $a1, $v0, $zero
/* 105CDC 802E445C 8CA20000 */ lw $v0, ($a1)
/* 105CE0 802E4460 3C030040 */ lui $v1, 0x40
/* 105CE4 802E4464 00431025 */ or $v0, $v0, $v1
/* 105CE8 802E4468 ACA20000 */ sw $v0, ($a1)
/* 105CEC 802E446C 8FBF0024 */ lw $ra, 0x24($sp)
/* 105CF0 802E4470 8FB20020 */ lw $s2, 0x20($sp)
/* 105CF4 802E4474 8FB1001C */ lw $s1, 0x1c($sp)
/* 105CF8 802E4478 8FB00018 */ lw $s0, 0x18($sp)
/* 105CFC 802E447C 03E00008 */ jr $ra
/* 105D00 802E4480 27BD0028 */ addiu $sp, $sp, 0x28
/* 105D04 802E4484 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105D08 802E4488 0080182D */ daddu $v1, $a0, $zero
/* 105D0C 802E448C 2405FEFF */ addiu $a1, $zero, -0x101
/* 105D10 802E4490 AFBF0010 */ sw $ra, 0x10($sp)
/* 105D14 802E4494 8C620000 */ lw $v0, ($v1)
/* 105D18 802E4498 84640016 */ lh $a0, 0x16($v1)
/* 105D1C 802E449C 34420001 */ ori $v0, $v0, 1
/* 105D20 802E44A0 00451024 */ and $v0, $v0, $a1
/* 105D24 802E44A4 0C044181 */ jal get_shadow_by_index
/* 105D28 802E44A8 AC620000 */ sw $v0, ($v1)
/* 105D2C 802E44AC 3C041000 */ lui $a0, 0x1000
/* 105D30 802E44B0 8C430000 */ lw $v1, ($v0)
/* 105D34 802E44B4 34840001 */ ori $a0, $a0, 1
/* 105D38 802E44B8 00641825 */ or $v1, $v1, $a0
/* 105D3C 802E44BC AC430000 */ sw $v1, ($v0)
/* 105D40 802E44C0 8FBF0010 */ lw $ra, 0x10($sp)
/* 105D44 802E44C4 03E00008 */ jr $ra
/* 105D48 802E44C8 27BD0018 */ addiu $sp, $sp, 0x18
/* 105D4C 802E44CC 0080282D */ daddu $a1, $a0, $zero
/* 105D50 802E44D0 8CA20028 */ lw $v0, 0x28($a1)
/* 105D54 802E44D4 14400003 */ bnez $v0, .L802E44E4
/* 105D58 802E44D8 24020001 */ addiu $v0, $zero, 1
/* 105D5C 802E44DC 03E00008 */ jr $ra
/* 105D60 802E44E0 0000102D */ daddu $v0, $zero, $zero
.L802E44E4:
/* 105D64 802E44E4 8CA30000 */ lw $v1, ($a1)
/* 105D68 802E44E8 3C040100 */ lui $a0, 0x100
/* 105D6C 802E44EC 00641825 */ or $v1, $v1, $a0
/* 105D70 802E44F0 03E00008 */ jr $ra
/* 105D74 802E44F4 ACA30000 */ sw $v1, ($a1)
/* 105D78 802E44F8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105D7C 802E44FC AFBF0010 */ sw $ra, 0x10($sp)
/* 105D80 802E4500 0C03805E */ jal func_800E0178
/* 105D84 802E4504 00000000 */ nop
/* 105D88 802E4508 3C028011 */ lui $v0, 0x8011
/* 105D8C 802E450C 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 105D90 802E4510 8C430000 */ lw $v1, ($v0)
/* 105D94 802E4514 3C040080 */ lui $a0, 0x80
/* 105D98 802E4518 AC400054 */ sw $zero, 0x54($v0)
/* 105D9C 802E451C 00641825 */ or $v1, $v1, $a0
/* 105DA0 802E4520 24040008 */ addiu $a0, $zero, 8
/* 105DA4 802E4524 0C039769 */ jal set_action_state
/* 105DA8 802E4528 AC430000 */ sw $v1, ($v0)
/* 105DAC 802E452C 0C038C1B */ jal func_800E306C
/* 105DB0 802E4530 00000000 */ nop
/* 105DB4 802E4534 8FBF0010 */ lw $ra, 0x10($sp)
/* 105DB8 802E4538 03E00008 */ jr $ra
/* 105DBC 802E453C 27BD0018 */ addiu $sp, $sp, 0x18
/* 105DC0 802E4540 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105DC4 802E4544 AFBF0010 */ sw $ra, 0x10($sp)
/* 105DC8 802E4548 0C038069 */ jal func_800E01A4
/* 105DCC 802E454C 00000000 */ nop
/* 105DD0 802E4550 8FBF0010 */ lw $ra, 0x10($sp)
/* 105DD4 802E4554 03E00008 */ jr $ra
/* 105DD8 802E4558 27BD0018 */ addiu $sp, $sp, 0x18
/* 105DDC 802E455C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105DE0 802E4560 AFB00010 */ sw $s0, 0x10($sp)
/* 105DE4 802E4564 3C10800A */ lui $s0, 0x800a
/* 105DE8 802E4568 8E10A66C */ lw $s0, -0x5994($s0)
/* 105DEC 802E456C AFBF0014 */ sw $ra, 0x14($sp)
/* 105DF0 802E4570 0C04417A */ jal get_entity_by_index
/* 105DF4 802E4574 00000000 */ nop
/* 105DF8 802E4578 3C04E300 */ lui $a0, 0xe300
/* 105DFC 802E457C 34841001 */ ori $a0, $a0, 0x1001
/* 105E00 802E4580 3C05D700 */ lui $a1, 0xd700
/* 105E04 802E4584 34A50002 */ ori $a1, $a1, 2
/* 105E08 802E4588 0200182D */ daddu $v1, $s0, $zero
/* 105E0C 802E458C 26100008 */ addiu $s0, $s0, 8
/* 105E10 802E4590 AC640000 */ sw $a0, ($v1)
/* 105E14 802E4594 0200202D */ daddu $a0, $s0, $zero
/* 105E18 802E4598 AC600004 */ sw $zero, 4($v1)
/* 105E1C 802E459C 2403FFFF */ addiu $v1, $zero, -1
/* 105E20 802E45A0 AC850000 */ sw $a1, ($a0)
/* 105E24 802E45A4 0040282D */ daddu $a1, $v0, $zero
/* 105E28 802E45A8 AC830004 */ sw $v1, 4($a0)
/* 105E2C 802E45AC 90A2000B */ lbu $v0, 0xb($a1)
/* 105E30 802E45B0 2C4200FF */ sltiu $v0, $v0, 0xff
/* 105E34 802E45B4 14400011 */ bnez $v0, .L802E45FC
/* 105E38 802E45B8 26100008 */ addiu $s0, $s0, 8
/* 105E3C 802E45BC 0200282D */ daddu $a1, $s0, $zero
/* 105E40 802E45C0 26100008 */ addiu $s0, $s0, 8
/* 105E44 802E45C4 3C07E200 */ lui $a3, 0xe200
/* 105E48 802E45C8 34E7001C */ ori $a3, $a3, 0x1c
/* 105E4C 802E45CC 3C060055 */ lui $a2, 0x55
/* 105E50 802E45D0 34C62078 */ ori $a2, $a2, 0x2078
/* 105E54 802E45D4 0200182D */ daddu $v1, $s0, $zero
/* 105E58 802E45D8 26100008 */ addiu $s0, $s0, 8
/* 105E5C 802E45DC 3C04FC12 */ lui $a0, 0xfc12
/* 105E60 802E45E0 34841824 */ ori $a0, $a0, 0x1824
/* 105E64 802E45E4 3C02FF33 */ lui $v0, 0xff33
/* 105E68 802E45E8 3442FFFF */ ori $v0, $v0, 0xffff
/* 105E6C 802E45EC ACA70000 */ sw $a3, ($a1)
/* 105E70 802E45F0 ACA60004 */ sw $a2, 4($a1)
/* 105E74 802E45F4 080B918C */ j .L802E4630
/* 105E78 802E45F8 AC640000 */ sw $a0, ($v1)
.L802E45FC:
/* 105E7C 802E45FC 0200202D */ daddu $a0, $s0, $zero
/* 105E80 802E4600 26100008 */ addiu $s0, $s0, 8
/* 105E84 802E4604 3C03FCFF */ lui $v1, 0xfcff
/* 105E88 802E4608 3463B3FF */ ori $v1, $v1, 0xb3ff
/* 105E8C 802E460C 3C02FF2C */ lui $v0, 0xff2c
/* 105E90 802E4610 3442FE7F */ ori $v0, $v0, 0xfe7f
/* 105E94 802E4614 AC830000 */ sw $v1, ($a0)
/* 105E98 802E4618 0200182D */ daddu $v1, $s0, $zero
/* 105E9C 802E461C AC820004 */ sw $v0, 4($a0)
/* 105EA0 802E4620 3C02FA00 */ lui $v0, 0xfa00
/* 105EA4 802E4624 AC620000 */ sw $v0, ($v1)
/* 105EA8 802E4628 90A2000B */ lbu $v0, 0xb($a1)
/* 105EAC 802E462C 26100008 */ addiu $s0, $s0, 8
.L802E4630:
/* 105EB0 802E4630 AC620004 */ sw $v0, 4($v1)
/* 105EB4 802E4634 8FBF0014 */ lw $ra, 0x14($sp)
/* 105EB8 802E4638 3C01800A */ lui $at, 0x800a
/* 105EBC 802E463C AC30A66C */ sw $s0, -0x5994($at)
/* 105EC0 802E4640 8FB00010 */ lw $s0, 0x10($sp)
/* 105EC4 802E4644 03E00008 */ jr $ra
/* 105EC8 802E4648 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,23 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3E9C
/* 10571C 802E3E9C 3C028011 */ lui $v0, 0x8011
/* 105720 802E3EA0 8C42EFCC */ lw $v0, -0x1034($v0)
/* 105724 802E3EA4 9083000B */ lbu $v1, 0xb($a0)
/* 105728 802E3EA8 30420001 */ andi $v0, $v0, 1
/* 10572C 802E3EAC 50400007 */ beql $v0, $zero, .L802E3ECC
/* 105730 802E3EB0 2463FFE0 */ addiu $v1, $v1, -0x20
/* 105734 802E3EB4 24630020 */ addiu $v1, $v1, 0x20
/* 105738 802E3EB8 286200C1 */ slti $v0, $v1, 0xc1
/* 10573C 802E3EBC 50400005 */ beql $v0, $zero, .L802E3ED4
/* 105740 802E3EC0 240300C0 */ addiu $v1, $zero, 0xc0
/* 105744 802E3EC4 03E00008 */ jr $ra
/* 105748 802E3EC8 A083000B */ sb $v1, 0xb($a0)
.L802E3ECC:
/* 10574C 802E3ECC 58600001 */ blezl $v1, .L802E3ED4
/* 105750 802E3ED0 0000182D */ daddu $v1, $zero, $zero
.L802E3ED4:
/* 105754 802E3ED4 A083000B */ sb $v1, 0xb($a0)
/* 105758 802E3ED8 03E00008 */ jr $ra
/* 10575C 802E3EDC 00000000 */ nop

View File

@ -0,0 +1,17 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3EE0
/* 105760 802E3EE0 9082000B */ lbu $v0, 0xb($a0)
/* 105764 802E3EE4 2C4200FF */ sltiu $v0, $v0, 0xff
/* 105768 802E3EE8 10400006 */ beqz $v0, .L802E3F04
/* 10576C 802E3EEC 2483000B */ addiu $v1, $a0, 0xb
/* 105770 802E3EF0 9084000B */ lbu $a0, 0xb($a0)
/* 105774 802E3EF4 14800002 */ bnez $a0, .L802E3F00
/* 105778 802E3EF8 24820020 */ addiu $v0, $a0, 0x20
/* 10577C 802E3EFC 2482001F */ addiu $v0, $a0, 0x1f
.L802E3F00:
/* 105780 802E3F00 A0620000 */ sb $v0, ($v1)
.L802E3F04:
/* 105784 802E3F04 03E00008 */ jr $ra
/* 105788 802E3F08 00000000 */ nop

View File

@ -0,0 +1,86 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E3F0C
/* 10578C 802E3F0C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 105790 802E3F10 AFB00020 */ sw $s0, 0x20($sp)
/* 105794 802E3F14 0080802D */ daddu $s0, $a0, $zero
/* 105798 802E3F18 AFBF002C */ sw $ra, 0x2c($sp)
/* 10579C 802E3F1C AFB20028 */ sw $s2, 0x28($sp)
/* 1057A0 802E3F20 AFB10024 */ sw $s1, 0x24($sp)
/* 1057A4 802E3F24 8E110040 */ lw $s1, 0x40($s0)
/* 1057A8 802E3F28 86220010 */ lh $v0, 0x10($s1)
/* 1057AC 802E3F2C 1040003E */ beqz $v0, .L802E4028
/* 1057B0 802E3F30 3C120010 */ lui $s2, 0x10
/* 1057B4 802E3F34 8E020000 */ lw $v0, ($s0)
/* 1057B8 802E3F38 00521024 */ and $v0, $v0, $s2
/* 1057BC 802E3F3C 1440003A */ bnez $v0, .L802E4028
/* 1057C0 802E3F40 00000000 */ nop
/* 1057C4 802E3F44 0C03951B */ jal func_800E546C
/* 1057C8 802E3F48 00000000 */ nop
/* 1057CC 802E3F4C 8E020000 */ lw $v0, ($s0)
/* 1057D0 802E3F50 4600010D */ trunc.w.s $f4, $f0
/* 1057D4 802E3F54 44032000 */ mfc1 $v1, $f4
/* 1057D8 802E3F58 00521025 */ or $v0, $v0, $s2
/* 1057DC 802E3F5C AE020000 */ sw $v0, ($s0)
/* 1057E0 802E3F60 86240010 */ lh $a0, 0x10($s1)
/* 1057E4 802E3F64 24020157 */ addiu $v0, $zero, 0x157
/* 1057E8 802E3F68 54820013 */ bnel $a0, $v0, .L802E3FB8
/* 1057EC 802E3F6C 24630168 */ addiu $v1, $v1, 0x168
/* 1057F0 802E3F70 C602004C */ lwc1 $f2, 0x4c($s0)
/* 1057F4 802E3F74 24020015 */ addiu $v0, $zero, 0x15
/* 1057F8 802E3F78 AFA20010 */ sw $v0, 0x10($sp)
/* 1057FC 802E3F7C AFA00014 */ sw $zero, 0x14($sp)
/* 105800 802E3F80 AFA30018 */ sw $v1, 0x18($sp)
/* 105804 802E3F84 9622000A */ lhu $v0, 0xa($s1)
/* 105808 802E3F88 3C01403C */ lui $at, 0x403c
/* 10580C 802E3F8C 44810800 */ mtc1 $at, $f1
/* 105810 802E3F90 44800000 */ mtc1 $zero, $f0
/* 105814 802E3F94 460010A1 */ cvt.d.s $f2, $f2
/* 105818 802E3F98 46201080 */ add.d $f2, $f2, $f0
/* 10581C 802E3F9C AFA2001C */ sw $v0, 0x1c($sp)
/* 105820 802E3FA0 8E050048 */ lw $a1, 0x48($s0)
/* 105824 802E3FA4 8E070050 */ lw $a3, 0x50($s0)
/* 105828 802E3FA8 462010A0 */ cvt.s.d $f2, $f2
/* 10582C 802E3FAC 44061000 */ mfc1 $a2, $f2
/* 105830 802E3FB0 080B9008 */ j .L802E4020
/* 105834 802E3FB4 24040157 */ addiu $a0, $zero, 0x157
.L802E3FB8:
/* 105838 802E3FB8 26050048 */ addiu $a1, $s0, 0x48
/* 10583C 802E3FBC 00041140 */ sll $v0, $a0, 5
/* 105840 802E3FC0 C600004C */ lwc1 $f0, 0x4c($s0)
/* 105844 802E3FC4 3C014034 */ lui $at, 0x4034
/* 105848 802E3FC8 44811800 */ mtc1 $at, $f3
/* 10584C 802E3FCC 44801000 */ mtc1 $zero, $f2
/* 105850 802E3FD0 3C018008 */ lui $at, 0x8008
/* 105854 802E3FD4 00220821 */ addu $at, $at, $v0
/* 105858 802E3FD8 942278F8 */ lhu $v0, 0x78f8($at)
/* 10585C 802E3FDC 46000021 */ cvt.d.s $f0, $f0
/* 105860 802E3FE0 46220000 */ add.d $f0, $f0, $f2
/* 105864 802E3FE4 26070050 */ addiu $a3, $s0, 0x50
/* 105868 802E3FE8 30420040 */ andi $v0, $v0, 0x40
/* 10586C 802E3FEC 10400003 */ beqz $v0, .L802E3FFC
/* 105870 802E3FF0 46200020 */ cvt.s.d $f0, $f0
/* 105874 802E3FF4 080B9000 */ j .L802E4000
/* 105878 802E3FF8 2402000B */ addiu $v0, $zero, 0xb
.L802E3FFC:
/* 10587C 802E3FFC 2402000A */ addiu $v0, $zero, 0xa
.L802E4000:
/* 105880 802E4000 AFA20010 */ sw $v0, 0x10($sp)
/* 105884 802E4004 AFA00014 */ sw $zero, 0x14($sp)
/* 105888 802E4008 AFA30018 */ sw $v1, 0x18($sp)
/* 10588C 802E400C 9622000A */ lhu $v0, 0xa($s1)
/* 105890 802E4010 44060000 */ mfc1 $a2, $f0
/* 105894 802E4014 AFA2001C */ sw $v0, 0x1c($sp)
/* 105898 802E4018 8CA50000 */ lw $a1, ($a1)
/* 10589C 802E401C 8CE70000 */ lw $a3, ($a3)
.L802E4020:
/* 1058A0 802E4020 0C04C4FD */ jal make_item_entity
/* 1058A4 802E4024 00000000 */ nop
.L802E4028:
/* 1058A8 802E4028 8FBF002C */ lw $ra, 0x2c($sp)
/* 1058AC 802E402C 8FB20028 */ lw $s2, 0x28($sp)
/* 1058B0 802E4030 8FB10024 */ lw $s1, 0x24($sp)
/* 1058B4 802E4034 8FB00020 */ lw $s0, 0x20($sp)
/* 1058B8 802E4038 03E00008 */ jr $ra
/* 1058BC 802E403C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -0,0 +1,11 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E4040
/* 1058C0 802E4040 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1058C4 802E4044 AFBF0010 */ sw $ra, 0x10($sp)
/* 1058C8 802E4048 0C04419E */ jal func_80110678
/* 1058CC 802E404C 00000000 */ nop
/* 1058D0 802E4050 8FBF0010 */ lw $ra, 0x10($sp)
/* 1058D4 802E4054 03E00008 */ jr $ra
/* 1058D8 802E4058 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,21 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E405C
/* 1058DC 802E405C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1058E0 802E4060 3C013F80 */ lui $at, 0x3f80
/* 1058E4 802E4064 44810000 */ mtc1 $at, $f0
/* 1058E8 802E4068 2402003C */ addiu $v0, $zero, 0x3c
/* 1058EC 802E406C AFBF0018 */ sw $ra, 0x18($sp)
/* 1058F0 802E4070 AFA20014 */ sw $v0, 0x14($sp)
/* 1058F4 802E4074 E7A00010 */ swc1 $f0, 0x10($sp)
/* 1058F8 802E4078 8C850048 */ lw $a1, 0x48($a0)
/* 1058FC 802E407C 8C86004C */ lw $a2, 0x4c($a0)
/* 105900 802E4080 8C870050 */ lw $a3, 0x50($a0)
/* 105904 802E4084 0C01C88C */ jal func_80072230
/* 105908 802E4088 0000202D */ daddu $a0, $zero, $zero
/* 10590C 802E408C 8FBF0018 */ lw $ra, 0x18($sp)
/* 105910 802E4090 3C01802F */ lui $at, 0x802f
/* 105914 802E4094 AC22B3B0 */ sw $v0, -0x4c50($at)
/* 105918 802E4098 03E00008 */ jr $ra
/* 10591C 802E409C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,33 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E40A0
/* 105920 802E40A0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105924 802E40A4 AFB00010 */ sw $s0, 0x10($sp)
/* 105928 802E40A8 0080802D */ daddu $s0, $a0, $zero
/* 10592C 802E40AC AFBF0014 */ sw $ra, 0x14($sp)
/* 105930 802E40B0 0C0441A9 */ jal get_entity_type
/* 105934 802E40B4 92040004 */ lbu $a0, 4($s0)
/* 105938 802E40B8 0040182D */ daddu $v1, $v0, $zero
/* 10593C 802E40BC 24020012 */ addiu $v0, $zero, 0x12
/* 105940 802E40C0 10620003 */ beq $v1, $v0, .L802E40D0
/* 105944 802E40C4 24020014 */ addiu $v0, $zero, 0x14
/* 105948 802E40C8 14620006 */ bne $v1, $v0, .L802E40E4
/* 10594C 802E40CC 00000000 */ nop
.L802E40D0:
/* 105950 802E40D0 86040014 */ lh $a0, 0x14($s0)
/* 105954 802E40D4 3C050000 */ lui $a1, 0
/* 105958 802E40D8 24A50094 */ addiu $a1, $a1, 0x94
/* 10595C 802E40DC 080B903C */ j .L802E40F0
/* 105960 802E40E0 00000000 */ nop
.L802E40E4:
/* 105964 802E40E4 86040014 */ lh $a0, 0x14($s0)
/* 105968 802E40E8 3C050000 */ lui $a1, 0
/* 10596C 802E40EC 24A50094 */ addiu $a1, $a1, 0x94
.L802E40F0:
/* 105970 802E40F0 0C048052 */ jal play_model_animation
/* 105974 802E40F4 00000000 */ nop
/* 105978 802E40F8 8FBF0014 */ lw $ra, 0x14($sp)
/* 10597C 802E40FC 8FB00010 */ lw $s0, 0x10($sp)
/* 105980 802E4100 03E00008 */ jr $ra
/* 105984 802E4104 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,23 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E4108
/* 105988 802E4108 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 10598C 802E410C AFBF0014 */ sw $ra, 0x14($sp)
/* 105990 802E4110 AFB00010 */ sw $s0, 0x10($sp)
/* 105994 802E4114 8C820040 */ lw $v0, 0x40($a0)
/* 105998 802E4118 84440012 */ lh $a0, 0x12($v0)
/* 10599C 802E411C 0C04417A */ jal get_entity_by_index
/* 1059A0 802E4120 2410FFFE */ addiu $s0, $zero, -2
/* 1059A4 802E4124 8C430000 */ lw $v1, ($v0)
/* 1059A8 802E4128 84440016 */ lh $a0, 0x16($v0)
/* 1059AC 802E412C 00701824 */ and $v1, $v1, $s0
/* 1059B0 802E4130 0C044181 */ jal get_shadow_by_index
/* 1059B4 802E4134 AC430000 */ sw $v1, ($v0)
/* 1059B8 802E4138 8C430000 */ lw $v1, ($v0)
/* 1059BC 802E413C 00701824 */ and $v1, $v1, $s0
/* 1059C0 802E4140 AC430000 */ sw $v1, ($v0)
/* 1059C4 802E4144 8FBF0014 */ lw $ra, 0x14($sp)
/* 1059C8 802E4148 8FB00010 */ lw $s0, 0x10($sp)
/* 1059CC 802E414C 03E00008 */ jr $ra
/* 1059D0 802E4150 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,57 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E4154
/* 1059D4 802E4154 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1059D8 802E4158 AFB00018 */ sw $s0, 0x18($sp)
/* 1059DC 802E415C 0080802D */ daddu $s0, $a0, $zero
/* 1059E0 802E4160 AFBF001C */ sw $ra, 0x1c($sp)
/* 1059E4 802E4164 8E040040 */ lw $a0, 0x40($s0)
/* 1059E8 802E4168 9483000A */ lhu $v1, 0xa($a0)
/* 1059EC 802E416C 3402FFFF */ ori $v0, $zero, 0xffff
/* 1059F0 802E4170 10620024 */ beq $v1, $v0, .L802E4204
/* 1059F4 802E4174 00000000 */ nop
/* 1059F8 802E4178 0C05152F */ jal get_global_flag
/* 1059FC 802E417C 0060202D */ daddu $a0, $v1, $zero
/* 105A00 802E4180 10400020 */ beqz $v0, .L802E4204
/* 105A04 802E4184 00000000 */ nop
/* 105A08 802E4188 0C0441A9 */ jal get_entity_type
/* 105A0C 802E418C 92040004 */ lbu $a0, 4($s0)
/* 105A10 802E4190 3C04802F */ lui $a0, 0x802f
/* 105A14 802E4194 2484A0A0 */ addiu $a0, $a0, -0x5f60
/* 105A18 802E4198 24030014 */ addiu $v1, $zero, 0x14
/* 105A1C 802E419C 10430003 */ beq $v0, $v1, .L802E41AC
/* 105A20 802E41A0 00000000 */ nop
/* 105A24 802E41A4 3C04802F */ lui $a0, 0x802f
/* 105A28 802E41A8 2484A07C */ addiu $a0, $a0, -0x5f84
.L802E41AC:
/* 105A2C 802E41AC C6020048 */ lwc1 $f2, 0x48($s0)
/* 105A30 802E41B0 C604004C */ lwc1 $f4, 0x4c($s0)
/* 105A34 802E41B4 C6060050 */ lwc1 $f6, 0x50($s0)
/* 105A38 802E41B8 C6000064 */ lwc1 $f0, 0x64($s0)
/* 105A3C 802E41BC 3C028000 */ lui $v0, 0x8000
/* 105A40 802E41C0 AFA20014 */ sw $v0, 0x14($sp)
/* 105A44 802E41C4 4600020D */ trunc.w.s $f8, $f0
/* 105A48 802E41C8 E7A80010 */ swc1 $f8, 0x10($sp)
/* 105A4C 802E41CC 4600120D */ trunc.w.s $f8, $f2
/* 105A50 802E41D0 44054000 */ mfc1 $a1, $f8
/* 105A54 802E41D4 4600220D */ trunc.w.s $f8, $f4
/* 105A58 802E41D8 44064000 */ mfc1 $a2, $f8
/* 105A5C 802E41DC 4600320D */ trunc.w.s $f8, $f6
/* 105A60 802E41E0 44074000 */ mfc1 $a3, $f8
/* 105A64 802E41E4 0C044631 */ jal create_entity
/* 105A68 802E41E8 00000000 */ nop
/* 105A6C 802E41EC 3C05802F */ lui $a1, 0x802f
/* 105A70 802E41F0 24A5A310 */ addiu $a1, $a1, -0x5cf0
/* 105A74 802E41F4 0C043EF0 */ jal func_8010FBC0
/* 105A78 802E41F8 0200202D */ daddu $a0, $s0, $zero
/* 105A7C 802E41FC 080B9083 */ j .L802E420C
/* 105A80 802E4200 00000000 */ nop
.L802E4204:
/* 105A84 802E4204 0C043F5A */ jal func_8010FD68
/* 105A88 802E4208 0200202D */ daddu $a0, $s0, $zero
.L802E420C:
/* 105A8C 802E420C 8FBF001C */ lw $ra, 0x1c($sp)
/* 105A90 802E4210 8FB00018 */ lw $s0, 0x18($sp)
/* 105A94 802E4214 03E00008 */ jr $ra
/* 105A98 802E4218 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -0,0 +1,168 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E421C
/* 105A9C 802E421C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 105AA0 802E4220 AFB1001C */ sw $s1, 0x1c($sp)
/* 105AA4 802E4224 0080882D */ daddu $s1, $a0, $zero
/* 105AA8 802E4228 AFBF0024 */ sw $ra, 0x24($sp)
/* 105AAC 802E422C AFB20020 */ sw $s2, 0x20($sp)
/* 105AB0 802E4230 AFB00018 */ sw $s0, 0x18($sp)
/* 105AB4 802E4234 0C0441A9 */ jal get_entity_type
/* 105AB8 802E4238 92240004 */ lbu $a0, 4($s1)
/* 105ABC 802E423C 3C04802F */ lui $a0, 0x802f
/* 105AC0 802E4240 2484A07C */ addiu $a0, $a0, -0x5f84
/* 105AC4 802E4244 0040182D */ daddu $v1, $v0, $zero
/* 105AC8 802E4248 28620015 */ slti $v0, $v1, 0x15
/* 105ACC 802E424C 10400005 */ beqz $v0, .L802E4264
/* 105AD0 802E4250 28620012 */ slti $v0, $v1, 0x12
/* 105AD4 802E4254 14400003 */ bnez $v0, .L802E4264
/* 105AD8 802E4258 00000000 */ nop
/* 105ADC 802E425C 3C04802F */ lui $a0, 0x802f
/* 105AE0 802E4260 2484A0A0 */ addiu $a0, $a0, -0x5f60
.L802E4264:
/* 105AE4 802E4264 C6220048 */ lwc1 $f2, 0x48($s1)
/* 105AE8 802E4268 C624004C */ lwc1 $f4, 0x4c($s1)
/* 105AEC 802E426C C6260050 */ lwc1 $f6, 0x50($s1)
/* 105AF0 802E4270 C6200064 */ lwc1 $f0, 0x64($s1)
/* 105AF4 802E4274 3C028000 */ lui $v0, 0x8000
/* 105AF8 802E4278 AFA20014 */ sw $v0, 0x14($sp)
/* 105AFC 802E427C 4600020D */ trunc.w.s $f8, $f0
/* 105B00 802E4280 E7A80010 */ swc1 $f8, 0x10($sp)
/* 105B04 802E4284 4600120D */ trunc.w.s $f8, $f2
/* 105B08 802E4288 44054000 */ mfc1 $a1, $f8
/* 105B0C 802E428C 4600220D */ trunc.w.s $f8, $f4
/* 105B10 802E4290 44064000 */ mfc1 $a2, $f8
/* 105B14 802E4294 4600320D */ trunc.w.s $f8, $f6
/* 105B18 802E4298 44074000 */ mfc1 $a3, $f8
/* 105B1C 802E429C 0C044631 */ jal create_entity
/* 105B20 802E42A0 00000000 */ nop
/* 105B24 802E42A4 0040902D */ daddu $s2, $v0, $zero
/* 105B28 802E42A8 0C04417A */ jal get_entity_by_index
/* 105B2C 802E42AC 0240202D */ daddu $a0, $s2, $zero
/* 105B30 802E42B0 0040802D */ daddu $s0, $v0, $zero
/* 105B34 802E42B4 8E020000 */ lw $v0, ($s0)
/* 105B38 802E42B8 34430001 */ ori $v1, $v0, 1
/* 105B3C 802E42BC AE030000 */ sw $v1, ($s0)
/* 105B40 802E42C0 8E220000 */ lw $v0, ($s1)
/* 105B44 802E42C4 3C040004 */ lui $a0, 4
/* 105B48 802E42C8 00441024 */ and $v0, $v0, $a0
/* 105B4C 802E42CC 10400002 */ beqz $v0, .L802E42D8
/* 105B50 802E42D0 00641025 */ or $v0, $v1, $a0
/* 105B54 802E42D4 AE020000 */ sw $v0, ($s0)
.L802E42D8:
/* 105B58 802E42D8 8E220000 */ lw $v0, ($s1)
/* 105B5C 802E42DC 30420004 */ andi $v0, $v0, 4
/* 105B60 802E42E0 10400004 */ beqz $v0, .L802E42F4
/* 105B64 802E42E4 00000000 */ nop
/* 105B68 802E42E8 8E020000 */ lw $v0, ($s0)
/* 105B6C 802E42EC 34420004 */ ori $v0, $v0, 4
/* 105B70 802E42F0 AE020000 */ sw $v0, ($s0)
.L802E42F4:
/* 105B74 802E42F4 0C044181 */ jal get_shadow_by_index
/* 105B78 802E42F8 86040016 */ lh $a0, 0x16($s0)
/* 105B7C 802E42FC 0040282D */ daddu $a1, $v0, $zero
/* 105B80 802E4300 3C020040 */ lui $v0, 0x40
/* 105B84 802E4304 34420001 */ ori $v0, $v0, 1
/* 105B88 802E4308 8CA30000 */ lw $v1, ($a1)
/* 105B8C 802E430C 0220202D */ daddu $a0, $s1, $zero
/* 105B90 802E4310 00621825 */ or $v1, $v1, $v0
/* 105B94 802E4314 0C044AC8 */ jal func_80112B20
/* 105B98 802E4318 ACA30000 */ sw $v1, ($a1)
/* 105B9C 802E431C 92240004 */ lbu $a0, 4($s1)
/* 105BA0 802E4320 0C0441A9 */ jal get_entity_type
/* 105BA4 802E4324 0040802D */ daddu $s0, $v0, $zero
/* 105BA8 802E4328 0040182D */ daddu $v1, $v0, $zero
/* 105BAC 802E432C 24020012 */ addiu $v0, $zero, 0x12
/* 105BB0 802E4330 10620003 */ beq $v1, $v0, .L802E4340
/* 105BB4 802E4334 24020014 */ addiu $v0, $zero, 0x14
/* 105BB8 802E4338 14620005 */ bne $v1, $v0, .L802E4350
/* 105BBC 802E433C 00000000 */ nop
.L802E4340:
/* 105BC0 802E4340 3C04802F */ lui $a0, 0x802f
/* 105BC4 802E4344 2484A660 */ addiu $a0, $a0, -0x59a0
/* 105BC8 802E4348 080B90DA */ j .L802E4368
/* 105BCC 802E434C 00000000 */ nop
.L802E4350:
/* 105BD0 802E4350 3C04802F */ lui $a0, 0x802f
/* 105BD4 802E4354 2484A63C */ addiu $a0, $a0, -0x59c4
/* 105BD8 802E4358 12000003 */ beqz $s0, .L802E4368
/* 105BDC 802E435C 00000000 */ nop
/* 105BE0 802E4360 3C04802F */ lui $a0, 0x802f
/* 105BE4 802E4364 2484A618 */ addiu $a0, $a0, -0x59e8
.L802E4368:
/* 105BE8 802E4368 C6220048 */ lwc1 $f2, 0x48($s1)
/* 105BEC 802E436C C624004C */ lwc1 $f4, 0x4c($s1)
/* 105BF0 802E4370 C6260050 */ lwc1 $f6, 0x50($s1)
/* 105BF4 802E4374 C6200064 */ lwc1 $f0, 0x64($s1)
/* 105BF8 802E4378 3C028000 */ lui $v0, 0x8000
/* 105BFC 802E437C AFA20014 */ sw $v0, 0x14($sp)
/* 105C00 802E4380 4600020D */ trunc.w.s $f8, $f0
/* 105C04 802E4384 E7A80010 */ swc1 $f8, 0x10($sp)
/* 105C08 802E4388 4600120D */ trunc.w.s $f8, $f2
/* 105C0C 802E438C 44054000 */ mfc1 $a1, $f8
/* 105C10 802E4390 4600220D */ trunc.w.s $f8, $f4
/* 105C14 802E4394 44064000 */ mfc1 $a2, $f8
/* 105C18 802E4398 4600320D */ trunc.w.s $f8, $f6
/* 105C1C 802E439C 44074000 */ mfc1 $a3, $f8
/* 105C20 802E43A0 0C044631 */ jal create_entity
/* 105C24 802E43A4 00000000 */ nop
/* 105C28 802E43A8 0C04417A */ jal get_entity_by_index
/* 105C2C 802E43AC 0040202D */ daddu $a0, $v0, $zero
/* 105C30 802E43B0 9223000B */ lbu $v1, 0xb($s1)
/* 105C34 802E43B4 0040802D */ daddu $s0, $v0, $zero
/* 105C38 802E43B8 A203000B */ sb $v1, 0xb($s0)
/* 105C3C 802E43BC 8E220000 */ lw $v0, ($s1)
/* 105C40 802E43C0 30420001 */ andi $v0, $v0, 1
/* 105C44 802E43C4 14400005 */ bnez $v0, .L802E43DC
/* 105C48 802E43C8 24020020 */ addiu $v0, $zero, 0x20
/* 105C4C 802E43CC 9222000B */ lbu $v0, 0xb($s1)
/* 105C50 802E43D0 2C4200FF */ sltiu $v0, $v0, 0xff
/* 105C54 802E43D4 10400002 */ beqz $v0, .L802E43E0
/* 105C58 802E43D8 24020020 */ addiu $v0, $zero, 0x20
.L802E43DC:
/* 105C5C 802E43DC A202000B */ sb $v0, 0xb($s0)
.L802E43E0:
/* 105C60 802E43E0 8E220000 */ lw $v0, ($s1)
/* 105C64 802E43E4 3C030004 */ lui $v1, 4
/* 105C68 802E43E8 00431024 */ and $v0, $v0, $v1
/* 105C6C 802E43EC 10400004 */ beqz $v0, .L802E4400
/* 105C70 802E43F0 00000000 */ nop
/* 105C74 802E43F4 8E020000 */ lw $v0, ($s0)
/* 105C78 802E43F8 00431025 */ or $v0, $v0, $v1
/* 105C7C 802E43FC AE020000 */ sw $v0, ($s0)
.L802E4400:
/* 105C80 802E4400 8E020040 */ lw $v0, 0x40($s0)
/* 105C84 802E4404 A4520012 */ sh $s2, 0x12($v0)
/* 105C88 802E4408 8E220000 */ lw $v0, ($s1)
/* 105C8C 802E440C 30420004 */ andi $v0, $v0, 4
/* 105C90 802E4410 10400004 */ beqz $v0, .L802E4424
/* 105C94 802E4414 2403FEFF */ addiu $v1, $zero, -0x101
/* 105C98 802E4418 8E020000 */ lw $v0, ($s0)
/* 105C9C 802E441C 34420004 */ ori $v0, $v0, 4
/* 105CA0 802E4420 AE020000 */ sw $v0, ($s0)
.L802E4424:
/* 105CA4 802E4424 8E220000 */ lw $v0, ($s1)
/* 105CA8 802E4428 86240016 */ lh $a0, 0x16($s1)
/* 105CAC 802E442C 00431024 */ and $v0, $v0, $v1
/* 105CB0 802E4430 0C044181 */ jal get_shadow_by_index
/* 105CB4 802E4434 AE220000 */ sw $v0, ($s1)
/* 105CB8 802E4438 0040282D */ daddu $a1, $v0, $zero
/* 105CBC 802E443C 3C031000 */ lui $v1, 0x1000
/* 105CC0 802E4440 8CA20000 */ lw $v0, ($a1)
/* 105CC4 802E4444 34630001 */ ori $v1, $v1, 1
/* 105CC8 802E4448 00431025 */ or $v0, $v0, $v1
/* 105CCC 802E444C ACA20000 */ sw $v0, ($a1)
/* 105CD0 802E4450 0C044181 */ jal get_shadow_by_index
/* 105CD4 802E4454 86040016 */ lh $a0, 0x16($s0)
/* 105CD8 802E4458 0040282D */ daddu $a1, $v0, $zero
/* 105CDC 802E445C 8CA20000 */ lw $v0, ($a1)
/* 105CE0 802E4460 3C030040 */ lui $v1, 0x40
/* 105CE4 802E4464 00431025 */ or $v0, $v0, $v1
/* 105CE8 802E4468 ACA20000 */ sw $v0, ($a1)
/* 105CEC 802E446C 8FBF0024 */ lw $ra, 0x24($sp)
/* 105CF0 802E4470 8FB20020 */ lw $s2, 0x20($sp)
/* 105CF4 802E4474 8FB1001C */ lw $s1, 0x1c($sp)
/* 105CF8 802E4478 8FB00018 */ lw $s0, 0x18($sp)
/* 105CFC 802E447C 03E00008 */ jr $ra
/* 105D00 802E4480 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -0,0 +1,22 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E4484
/* 105D04 802E4484 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105D08 802E4488 0080182D */ daddu $v1, $a0, $zero
/* 105D0C 802E448C 2405FEFF */ addiu $a1, $zero, -0x101
/* 105D10 802E4490 AFBF0010 */ sw $ra, 0x10($sp)
/* 105D14 802E4494 8C620000 */ lw $v0, ($v1)
/* 105D18 802E4498 84640016 */ lh $a0, 0x16($v1)
/* 105D1C 802E449C 34420001 */ ori $v0, $v0, 1
/* 105D20 802E44A0 00451024 */ and $v0, $v0, $a1
/* 105D24 802E44A4 0C044181 */ jal get_shadow_by_index
/* 105D28 802E44A8 AC620000 */ sw $v0, ($v1)
/* 105D2C 802E44AC 3C041000 */ lui $a0, 0x1000
/* 105D30 802E44B0 8C430000 */ lw $v1, ($v0)
/* 105D34 802E44B4 34840001 */ ori $a0, $a0, 1
/* 105D38 802E44B8 00641825 */ or $v1, $v1, $a0
/* 105D3C 802E44BC AC430000 */ sw $v1, ($v0)
/* 105D40 802E44C0 8FBF0010 */ lw $ra, 0x10($sp)
/* 105D44 802E44C4 03E00008 */ jr $ra
/* 105D48 802E44C8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,16 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E44CC
/* 105D4C 802E44CC 0080282D */ daddu $a1, $a0, $zero
/* 105D50 802E44D0 8CA20028 */ lw $v0, 0x28($a1)
/* 105D54 802E44D4 14400003 */ bnez $v0, .L802E44E4
/* 105D58 802E44D8 24020001 */ addiu $v0, $zero, 1
/* 105D5C 802E44DC 03E00008 */ jr $ra
/* 105D60 802E44E0 0000102D */ daddu $v0, $zero, $zero
.L802E44E4:
/* 105D64 802E44E4 8CA30000 */ lw $v1, ($a1)
/* 105D68 802E44E8 3C040100 */ lui $a0, 0x100
/* 105D6C 802E44EC 00641825 */ or $v1, $v1, $a0
/* 105D70 802E44F0 03E00008 */ jr $ra
/* 105D74 802E44F4 ACA30000 */ sw $v1, ($a1)

View File

@ -0,0 +1,22 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E44F8
/* 105D78 802E44F8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105D7C 802E44FC AFBF0010 */ sw $ra, 0x10($sp)
/* 105D80 802E4500 0C03805E */ jal disable_player_input
/* 105D84 802E4504 00000000 */ nop
/* 105D88 802E4508 3C028011 */ lui $v0, 0x8011
/* 105D8C 802E450C 2442EFC8 */ addiu $v0, $v0, -0x1038
/* 105D90 802E4510 8C430000 */ lw $v1, ($v0)
/* 105D94 802E4514 3C040080 */ lui $a0, 0x80
/* 105D98 802E4518 AC400054 */ sw $zero, 0x54($v0)
/* 105D9C 802E451C 00641825 */ or $v1, $v1, $a0
/* 105DA0 802E4520 24040008 */ addiu $a0, $zero, 8
/* 105DA4 802E4524 0C039769 */ jal set_action_state
/* 105DA8 802E4528 AC430000 */ sw $v1, ($v0)
/* 105DAC 802E452C 0C038C1B */ jal gravity_use_fall_parms
/* 105DB0 802E4530 00000000 */ nop
/* 105DB4 802E4534 8FBF0010 */ lw $ra, 0x10($sp)
/* 105DB8 802E4538 03E00008 */ jr $ra
/* 105DBC 802E453C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,11 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E4540
/* 105DC0 802E4540 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105DC4 802E4544 AFBF0010 */ sw $ra, 0x10($sp)
/* 105DC8 802E4548 0C038069 */ jal enable_player_input
/* 105DCC 802E454C 00000000 */ nop
/* 105DD0 802E4550 8FBF0010 */ lw $ra, 0x10($sp)
/* 105DD4 802E4554 03E00008 */ jr $ra
/* 105DD8 802E4558 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -0,0 +1,66 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802E455C
/* 105DDC 802E455C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 105DE0 802E4560 AFB00010 */ sw $s0, 0x10($sp)
/* 105DE4 802E4564 3C10800A */ lui $s0, 0x800a
/* 105DE8 802E4568 8E10A66C */ lw $s0, -0x5994($s0)
/* 105DEC 802E456C AFBF0014 */ sw $ra, 0x14($sp)
/* 105DF0 802E4570 0C04417A */ jal get_entity_by_index
/* 105DF4 802E4574 00000000 */ nop
/* 105DF8 802E4578 3C04E300 */ lui $a0, 0xe300
/* 105DFC 802E457C 34841001 */ ori $a0, $a0, 0x1001
/* 105E00 802E4580 3C05D700 */ lui $a1, 0xd700
/* 105E04 802E4584 34A50002 */ ori $a1, $a1, 2
/* 105E08 802E4588 0200182D */ daddu $v1, $s0, $zero
/* 105E0C 802E458C 26100008 */ addiu $s0, $s0, 8
/* 105E10 802E4590 AC640000 */ sw $a0, ($v1)
/* 105E14 802E4594 0200202D */ daddu $a0, $s0, $zero
/* 105E18 802E4598 AC600004 */ sw $zero, 4($v1)
/* 105E1C 802E459C 2403FFFF */ addiu $v1, $zero, -1
/* 105E20 802E45A0 AC850000 */ sw $a1, ($a0)
/* 105E24 802E45A4 0040282D */ daddu $a1, $v0, $zero
/* 105E28 802E45A8 AC830004 */ sw $v1, 4($a0)
/* 105E2C 802E45AC 90A2000B */ lbu $v0, 0xb($a1)
/* 105E30 802E45B0 2C4200FF */ sltiu $v0, $v0, 0xff
/* 105E34 802E45B4 14400011 */ bnez $v0, .L802E45FC
/* 105E38 802E45B8 26100008 */ addiu $s0, $s0, 8
/* 105E3C 802E45BC 0200282D */ daddu $a1, $s0, $zero
/* 105E40 802E45C0 26100008 */ addiu $s0, $s0, 8
/* 105E44 802E45C4 3C07E200 */ lui $a3, 0xe200
/* 105E48 802E45C8 34E7001C */ ori $a3, $a3, 0x1c
/* 105E4C 802E45CC 3C060055 */ lui $a2, 0x55
/* 105E50 802E45D0 34C62078 */ ori $a2, $a2, 0x2078
/* 105E54 802E45D4 0200182D */ daddu $v1, $s0, $zero
/* 105E58 802E45D8 26100008 */ addiu $s0, $s0, 8
/* 105E5C 802E45DC 3C04FC12 */ lui $a0, 0xfc12
/* 105E60 802E45E0 34841824 */ ori $a0, $a0, 0x1824
/* 105E64 802E45E4 3C02FF33 */ lui $v0, 0xff33
/* 105E68 802E45E8 3442FFFF */ ori $v0, $v0, 0xffff
/* 105E6C 802E45EC ACA70000 */ sw $a3, ($a1)
/* 105E70 802E45F0 ACA60004 */ sw $a2, 4($a1)
/* 105E74 802E45F4 080B918C */ j .L802E4630
/* 105E78 802E45F8 AC640000 */ sw $a0, ($v1)
.L802E45FC:
/* 105E7C 802E45FC 0200202D */ daddu $a0, $s0, $zero
/* 105E80 802E4600 26100008 */ addiu $s0, $s0, 8
/* 105E84 802E4604 3C03FCFF */ lui $v1, 0xfcff
/* 105E88 802E4608 3463B3FF */ ori $v1, $v1, 0xb3ff
/* 105E8C 802E460C 3C02FF2C */ lui $v0, 0xff2c
/* 105E90 802E4610 3442FE7F */ ori $v0, $v0, 0xfe7f
/* 105E94 802E4614 AC830000 */ sw $v1, ($a0)
/* 105E98 802E4618 0200182D */ daddu $v1, $s0, $zero
/* 105E9C 802E461C AC820004 */ sw $v0, 4($a0)
/* 105EA0 802E4620 3C02FA00 */ lui $v0, 0xfa00
/* 105EA4 802E4624 AC620000 */ sw $v0, ($v1)
/* 105EA8 802E4628 90A2000B */ lbu $v0, 0xb($a1)
/* 105EAC 802E462C 26100008 */ addiu $s0, $s0, 8
.L802E4630:
/* 105EB0 802E4630 AC620004 */ sw $v0, 4($v1)
/* 105EB4 802E4634 8FBF0014 */ lw $ra, 0x14($sp)
/* 105EB8 802E4638 3C01800A */ lui $at, 0x800a
/* 105EBC 802E463C AC30A66C */ sw $s0, -0x5994($at)
/* 105EC0 802E4640 8FB00010 */ lw $s0, 0x10($sp)
/* 105EC4 802E4644 03E00008 */ jr $ra
/* 105EC8 802E4648 27BD0018 */ addiu $sp, $sp, 0x18

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