All but one function matched code_8001F980 (#368)

Signed-off-by: Taggerung <tyler.taggerung@email.com>
This commit is contained in:
Tyler McGavran 2023-08-12 17:34:30 -04:00 committed by GitHub
parent 569bafc48b
commit 119b7121bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 317 additions and 4476 deletions

View File

@ -1,339 +0,0 @@
glabel func_80020000
/* 020C00 80020000 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 020C04 80020004 AFBF0024 */ sw $ra, 0x24($sp)
/* 020C08 80020008 AFB20020 */ sw $s2, 0x20($sp)
/* 020C0C 8002000C AFB1001C */ sw $s1, 0x1c($sp)
/* 020C10 80020010 AFB00018 */ sw $s0, 0x18($sp)
/* 020C14 80020014 AFA50064 */ sw $a1, 0x64($sp)
/* 020C18 80020018 AFA60068 */ sw $a2, 0x68($sp)
/* 020C1C 8002001C AFA7006C */ sw $a3, 0x6c($sp)
/* 020C20 80020020 94980000 */ lhu $t8, ($a0)
/* 020C24 80020024 00078600 */ sll $s0, $a3, 0x18
/* 020C28 80020028 00069600 */ sll $s2, $a2, 0x18
/* 020C2C 8002002C 00127603 */ sra $t6, $s2, 0x18
/* 020C30 80020030 00107E03 */ sra $t7, $s0, 0x18
/* 020C34 80020034 34018000 */ li $at, 32768
/* 020C38 80020038 33198000 */ andi $t9, $t8, 0x8000
/* 020C3C 8002003C 01E08025 */ move $s0, $t7
/* 020C40 80020040 01C09025 */ move $s2, $t6
/* 020C44 80020044 17210131 */ bne $t9, $at, .L8002050C
/* 020C48 80020048 00808825 */ move $s1, $a0
/* 020C4C 8002004C 000F3600 */ sll $a2, $t7, 0x18
/* 020C50 80020050 00065603 */ sra $t2, $a2, 0x18
/* 020C54 80020054 0C007E79 */ jal func_8001F9E4
/* 020C58 80020058 01403025 */ move $a2, $t2
/* 020C5C 8002005C 00105880 */ sll $t3, $s0, 2
/* 020C60 80020060 AFAB0038 */ sw $t3, 0x38($sp)
/* 020C64 80020064 962E0002 */ lhu $t6, 2($s1)
/* 020C68 80020068 240D0002 */ li $t5, 2
/* 020C6C 8002006C 016D1004 */ sllv $v0, $t5, $t3
/* 020C70 80020070 01C27824 */ and $t7, $t6, $v0
/* 020C74 80020074 544F0021 */ bnel $v0, $t7, .L800200FC
/* 020C78 80020078 27A4004C */ addiu $a0, $sp, 0x4c
/* 020C7C 8002007C 96380000 */ lhu $t8, ($s1)
/* 020C80 80020080 02202025 */ move $a0, $s1
/* 020C84 80020084 8FA50064 */ lw $a1, 0x64($sp)
/* 020C88 80020088 33192000 */ andi $t9, $t8, 0x2000
/* 020C8C 8002008C 1720000D */ bnez $t9, .L800200C4
/* 020C90 80020090 00103600 */ sll $a2, $s0, 0x18
/* 020C94 80020094 00103600 */ sll $a2, $s0, 0x18
/* 020C98 80020098 00123E00 */ sll $a3, $s2, 0x18
/* 020C9C 8002009C 00075E03 */ sra $t3, $a3, 0x18
/* 020CA0 800200A0 00065603 */ sra $t2, $a2, 0x18
/* 020CA4 800200A4 01403025 */ move $a2, $t2
/* 020CA8 800200A8 01603825 */ move $a3, $t3
/* 020CAC 800200AC 02202025 */ move $a0, $s1
/* 020CB0 800200B0 8FA50064 */ lw $a1, 0x64($sp)
/* 020CB4 800200B4 0C00A4D3 */ jal func_8002934C
/* 020CB8 800200B8 AFA20034 */ sw $v0, 0x34($sp)
/* 020CBC 800200BC 1000000E */ b .L800200F8
/* 020CC0 800200C0 8FA20034 */ lw $v0, 0x34($sp)
.L800200C4:
/* 020CC4 800200C4 00123E00 */ sll $a3, $s2, 0x18
/* 020CC8 800200C8 00076603 */ sra $t4, $a3, 0x18
/* 020CCC 800200CC 00066E03 */ sra $t5, $a2, 0x18
/* 020CD0 800200D0 01A03025 */ move $a2, $t5
/* 020CD4 800200D4 01803825 */ move $a3, $t4
/* 020CD8 800200D8 0C00A4D3 */ jal func_8002934C
/* 020CDC 800200DC AFA20034 */ sw $v0, 0x34($sp)
/* 020CE0 800200E0 8FA20034 */ lw $v0, 0x34($sp)
/* 020CE4 800200E4 00107040 */ sll $t6, $s0, 1
/* 020CE8 800200E8 A62000C4 */ sh $zero, 0xc4($s1)
/* 020CEC 800200EC A6200206 */ sh $zero, 0x206($s1)
/* 020CF0 800200F0 022E7821 */ addu $t7, $s1, $t6
/* 020CF4 800200F4 A5E00050 */ sh $zero, 0x50($t7)
.L800200F8:
/* 020CF8 800200F8 27A4004C */ addiu $a0, $sp, 0x4c
.L800200FC:
/* 020CFC 800200FC 27A50048 */ addiu $a1, $sp, 0x48
/* 020D00 80020100 0C007E60 */ jal func_8001F980
/* 020D04 80020104 AFA20034 */ sw $v0, 0x34($sp)
/* 020D08 80020108 8FA20034 */ lw $v0, 0x34($sp)
/* 020D0C 8002010C 96230002 */ lhu $v1, 2($s1)
/* 020D10 80020110 8FB90038 */ lw $t9, 0x38($sp)
/* 020D14 80020114 240A0001 */ li $t2, 1
/* 020D18 80020118 0062C024 */ and $t8, $v1, $v0
/* 020D1C 8002011C 145800FB */ bne $v0, $t8, .L8002050C
/* 020D20 80020120 032A1004 */ sllv $v0, $t2, $t9
/* 020D24 80020124 00625824 */ and $t3, $v1, $v0
/* 020D28 80020128 144B00F8 */ bne $v0, $t3, .L8002050C
/* 020D2C 8002012C 3C0D8016 */ lui $t5, %hi(D_80165570) # $t5, 0x8016
/* 020D30 80020130 3C0F8016 */ lui $t7, %hi(D_80165572) # $t7, 0x8016
/* 020D34 80020134 85EF5572 */ lh $t7, %lo(D_80165572)($t7)
/* 020D38 80020138 85AD5570 */ lh $t5, %lo(D_80165570)($t5)
/* 020D3C 8002013C 8FAC004C */ lw $t4, 0x4c($sp)
/* 020D40 80020140 8FB80048 */ lw $t8, 0x48($sp)
/* 020D44 80020144 0010C840 */ sll $t9, $s0, 1
/* 020D48 80020148 01AC7021 */ addu $t6, $t5, $t4
/* 020D4C 8002014C 01F85021 */ addu $t2, $t7, $t8
/* 020D50 80020150 448A3000 */ mtc1 $t2, $f6
/* 020D54 80020154 448E2000 */ mtc1 $t6, $f4
/* 020D58 80020158 02394021 */ addu $t0, $s1, $t9
/* 020D5C 8002015C 468031A0 */ cvt.s.w $f6, $f6
/* 020D60 80020160 AFA80038 */ sw $t0, 0x38($sp)
/* 020D64 80020164 02202025 */ move $a0, $s1
/* 020D68 80020168 8FA50064 */ lw $a1, 0x64($sp)
/* 020D6C 8002016C 46802120 */ cvt.s.w $f4, $f4
/* 020D70 80020170 44073000 */ mfc1 $a3, $f6
/* 020D74 80020174 44062000 */ mfc1 $a2, $f4
/* 020D78 80020178 0C007EC3 */ jal func_8001FB0C
/* 020D7C 8002017C 00000000 */ nop
/* 020D80 80020180 24090001 */ li $t1, 1
/* 020D84 80020184 01225826 */ xor $t3, $t1, $v0
/* 020D88 80020188 2D6B0001 */ sltiu $t3, $t3, 1
/* 020D8C 8002018C 316DFFFF */ andi $t5, $t3, 0xffff
/* 020D90 80020190 11A00037 */ beqz $t5, .L80020270
/* 020D94 80020194 8FA80038 */ lw $t0, 0x38($sp)
/* 020D98 80020198 3C07800E */ lui $a3, %hi(D_800DDB58) # $a3, 0x800e
/* 020D9C 8002019C 24E7DB58 */ addiu $a3, %lo(D_800DDB58) # addiu $a3, $a3, -0x24a8
/* 020DA0 800201A0 8CE20000 */ lw $v0, ($a3)
/* 020DA4 800201A4 3C018016 */ lui $at, %hi(D_80164AB0) # 0x8016
/* 020DA8 800201A8 00121840 */ sll $v1, $s2, 1
/* 020DAC 800201AC 00022840 */ sll $a1, $v0, 1
/* 020DB0 800201B0 00250821 */ addu $at, $at, $a1
/* 020DB4 800201B4 A4324AB0 */ sh $s2, %lo(D_80164AB0)($at) # 0x4ab0
/* 020DB8 800201B8 3C018016 */ lui $at, %hi(D_80164AC0) # 0x8016
/* 020DBC 800201BC 00250821 */ addu $at, $at, $a1
/* 020DC0 800201C0 A4304AC0 */ sh $s0, %lo(D_80164AC0)($at) # 0x4ac0
/* 020DC4 800201C4 3C018016 */ lui $at, %hi(D_80164AD0) # 0x8016
/* 020DC8 800201C8 00026080 */ sll $t4, $v0, 2
/* 020DCC 800201CC 002C0821 */ addu $at, $at, $t4
/* 020DD0 800201D0 AC314AD0 */ sw $s1, %lo(D_80164AD0)($at) # 0x4ad0
/* 020DD4 800201D4 00107900 */ sll $t7, $s0, 4
/* 020DD8 800201D8 01E3C021 */ addu $t8, $t7, $v1
/* 020DDC 800201DC 3C018016 */ lui $at, %hi(D_80165190) # 0x8016
/* 020DE0 800201E0 244E0001 */ addiu $t6, $v0, 1
/* 020DE4 800201E4 ACEE0000 */ sw $t6, ($a3)
/* 020DE8 800201E8 00380821 */ addu $at, $at, $t8
/* 020DEC 800201EC A4205190 */ sh $zero, %lo(D_80165190)($at) # 0x5190
/* 020DF0 800201F0 950A0244 */ lhu $t2, 0x244($t0)
/* 020DF4 800201F4 0010C900 */ sll $t9, $s0, 4
/* 020DF8 800201F8 03235821 */ addu $t3, $t9, $v1
/* 020DFC 800201FC 3C018016 */ lui $at, %hi(D_801650D0) # 0x8016
/* 020E00 80020200 002B0821 */ addu $at, $at, $t3
/* 020E04 80020204 A42A50D0 */ sh $t2, %lo(D_801650D0)($at) # 0x50d0
/* 020E08 80020208 950D024C */ lhu $t5, 0x24c($t0)
/* 020E0C 8002020C 00106100 */ sll $t4, $s0, 4
/* 020E10 80020210 01837021 */ addu $t6, $t4, $v1
/* 020E14 80020214 3C018016 */ lui $at, %hi(D_80165110) # 0x8016
/* 020E18 80020218 002E0821 */ addu $at, $at, $t6
/* 020E1C 8002021C A42D5110 */ sh $t5, %lo(D_80165110)($at) # 0x5110
/* 020E20 80020220 862F00A8 */ lh $t7, 0xa8($s1)
/* 020E24 80020224 0010C100 */ sll $t8, $s0, 4
/* 020E28 80020228 0303C821 */ addu $t9, $t8, $v1
/* 020E2C 8002022C 3C018016 */ lui $at, %hi(D_80165150) # 0x8016
/* 020E30 80020230 3C0C8016 */ lui $t4, %hi(D_801651D0) # $t4, 0x8016
/* 020E34 80020234 00105100 */ sll $t2, $s0, 4
/* 020E38 80020238 00390821 */ addu $at, $at, $t9
/* 020E3C 8002023C 01435821 */ addu $t3, $t2, $v1
/* 020E40 80020240 258C51D0 */ addiu $t4, %lo(D_801651D0) # addiu $t4, $t4, 0x51d0
/* 020E44 80020244 016C2021 */ addu $a0, $t3, $t4
/* 020E48 80020248 A42F5150 */ sh $t7, %lo(D_80165150)($at) # 0x5150
/* 020E4C 8002024C 848D0000 */ lh $t5, ($a0)
/* 020E50 80020250 24010002 */ li $at, 2
/* 020E54 80020254 25AE0001 */ addiu $t6, $t5, 1
/* 020E58 80020258 A48E0000 */ sh $t6, ($a0)
/* 020E5C 8002025C 84980000 */ lh $t8, ($a0)
/* 020E60 80020260 570100AB */ bnel $t8, $at, .L80020510
/* 020E64 80020264 8FBF0024 */ lw $ra, 0x24($sp)
/* 020E68 80020268 100000A8 */ b .L8002050C
/* 020E6C 8002026C A4800000 */ sh $zero, ($a0)
.L80020270:
/* 020E70 80020270 3C0F8016 */ lui $t7, %hi(D_80165574) # $t7, 0x8016
/* 020E74 80020274 85EF5574 */ lh $t7, %lo(D_80165574)($t7)
/* 020E78 80020278 8FB9004C */ lw $t9, 0x4c($sp)
/* 020E7C 8002027C 3C0B8016 */ lui $t3, %hi(D_80165576) # $t3, 0x8016
/* 020E80 80020280 856B5576 */ lh $t3, %lo(D_80165576)($t3)
/* 020E84 80020284 01F95021 */ addu $t2, $t7, $t9
/* 020E88 80020288 448A4000 */ mtc1 $t2, $f8
/* 020E8C 8002028C 448B5000 */ mtc1 $t3, $f10
/* 020E90 80020290 02202025 */ move $a0, $s1
/* 020E94 80020294 46804220 */ cvt.s.w $f8, $f8
/* 020E98 80020298 8FA50064 */ lw $a1, 0x64($sp)
/* 020E9C 8002029C AFA80038 */ sw $t0, 0x38($sp)
/* 020EA0 800202A0 468052A0 */ cvt.s.w $f10, $f10
/* 020EA4 800202A4 44064000 */ mfc1 $a2, $f8
/* 020EA8 800202A8 44075000 */ mfc1 $a3, $f10
/* 020EAC 800202AC 0C007EC3 */ jal func_8001FB0C
/* 020EB0 800202B0 00000000 */ nop
/* 020EB4 800202B4 24090001 */ li $t1, 1
/* 020EB8 800202B8 01226026 */ xor $t4, $t1, $v0
/* 020EBC 800202BC 2D8C0001 */ sltiu $t4, $t4, 1
/* 020EC0 800202C0 318DFFFF */ andi $t5, $t4, 0xffff
/* 020EC4 800202C4 11A0004E */ beqz $t5, .L80020400
/* 020EC8 800202C8 8FA80038 */ lw $t0, 0x38($sp)
/* 020ECC 800202CC 3C18800E */ lui $t8, %hi(D_800DDB50)
/* 020ED0 800202D0 0312C021 */ addu $t8, $t8, $s2
/* 020ED4 800202D4 3C0E800E */ lui $t6, %hi(sRenderingFramebuffer) # $t6, 0x800e
/* 020ED8 800202D8 95CEC560 */ lhu $t6, %lo(sRenderingFramebuffer)($t6)
/* 020EDC 800202DC 8318DB50 */ lb $t8, %lo(D_800DDB50)($t8)
/* 020EE0 800202E0 00121840 */ sll $v1, $s2, 1
/* 020EE4 800202E4 00107900 */ sll $t7, $s0, 4
/* 020EE8 800202E8 11D80010 */ beq $t6, $t8, .L8002032C
/* 020EEC 800202EC 01E3C821 */ addu $t9, $t7, $v1
/* 020EF0 800202F0 3C0A8016 */ lui $t2, %hi(D_801650D0) # 0x8016
/* 020EF4 800202F4 01595021 */ addu $t2, $t2, $t9
/* 020EF8 800202F8 854A50D0 */ lh $t2, %lo(D_801650D0)($t2) # 0x50d0
/* 020EFC 800202FC 950B0244 */ lhu $t3, 0x244($t0)
/* 020F00 80020300 014B1023 */ subu $v0, $t2, $t3
/* 020F04 80020304 28410014 */ slti $at, $v0, 0x14
/* 020F08 80020308 10200008 */ beqz $at, .L8002032C
/* 020F0C 8002030C 2841FFED */ slti $at, $v0, -0x13
/* 020F10 80020310 14200006 */ bnez $at, .L8002032C
/* 020F14 80020314 00106100 */ sll $t4, $s0, 4
/* 020F18 80020318 01836821 */ addu $t5, $t4, $v1
/* 020F1C 8002031C 3C0E8016 */ lui $t6, %hi(D_80165190) # 0x8016
/* 020F20 80020320 01CD7021 */ addu $t6, $t6, $t5
/* 020F24 80020324 85CE5190 */ lh $t6, %lo(D_80165190)($t6) # 0x5190($t6)
/* 020F28 80020328 152E0078 */ bne $t1, $t6, .L8002050C
.L8002032C:
/* 020F2C 8002032C 3C07800E */ lui $a3, %hi(D_800DDB58) # $a3, 0x800e
/* 020F30 80020330 24E7DB58 */ addiu $a3, %lo(D_800DDB58) # addiu $a3, $a3, -0x24a8
/* 020F34 80020334 8CE20000 */ lw $v0, ($a3)
/* 020F38 80020338 3C018016 */ lui $at, %hi(D_80164AB0) # 0x8016
/* 020F3C 8002033C 00121840 */ sll $v1, $s2, 1
/* 020F40 80020340 00022840 */ sll $a1, $v0, 1
/* 020F44 80020344 00250821 */ addu $at, $at, $a1
/* 020F48 80020348 A4324AB0 */ sh $s2, %lo(D_80164AB0)($at) # 0x4ab0($at)
/* 020F4C 8002034C 3C018016 */ lui $at, %hi(D_80164AC0) # 0x8016
/* 020F50 80020350 00250821 */ addu $at, $at, $a1
/* 020F54 80020354 A4304AC0 */ sh $s0, %lo(D_80164AC0)($at) # 0x4ac0($at)
/* 020F58 80020358 3C018016 */ lui $at, %hi(D_80164AD0) # 0x8016
/* 020F5C 8002035C 0002C080 */ sll $t8, $v0, 2
/* 020F60 80020360 00380821 */ addu $at, $at, $t8
/* 020F64 80020364 AC314AD0 */ sw $s1, %lo(D_80164AD0)($at) # 0x4ad0($at)
/* 020F68 80020368 244F0001 */ addiu $t7, $v0, 1
/* 020F6C 8002036C ACEF0000 */ sw $t7, ($a3)
/* 020F70 80020370 95190244 */ lhu $t9, 0x244($t0)
/* 020F74 80020374 00105100 */ sll $t2, $s0, 4
/* 020F78 80020378 01435821 */ addu $t3, $t2, $v1
/* 020F7C 8002037C 3C018016 */ lui $at, %hi(D_801650D0) # 0x8016
/* 020F80 80020380 002B0821 */ addu $at, $at, $t3
/* 020F84 80020384 A43950D0 */ sh $t9, %lo(D_801650D0)($at) # 0x50d0($at)
/* 020F88 80020388 950C024C */ lhu $t4, 0x24c($t0)
/* 020F8C 8002038C 00106900 */ sll $t5, $s0, 4
/* 020F90 80020390 01A37021 */ addu $t6, $t5, $v1
/* 020F94 80020394 3C018016 */ lui $at, %hi(D_80165110) # 0x8016
/* 020F98 80020398 002E0821 */ addu $at, $at, $t6
/* 020F9C 8002039C A42C5110 */ sh $t4, %lo(D_80165110)($at) # 0x5110($at)
/* 020FA0 800203A0 863800A8 */ lh $t8, 0xa8($s1)
/* 020FA4 800203A4 00107900 */ sll $t7, $s0, 4
/* 020FA8 800203A8 01E35021 */ addu $t2, $t7, $v1
/* 020FAC 800203AC 3C018016 */ lui $at, %hi(D_80165150) # 0x8016
/* 020FB0 800203B0 002A0821 */ addu $at, $at, $t2
/* 020FB4 800203B4 0010C900 */ sll $t9, $s0, 4
/* 020FB8 800203B8 A4385150 */ sh $t8, %lo(D_80165150)($at) # 0x5150($at)
/* 020FBC 800203BC 3C018016 */ lui $at, %hi(D_80165190) # 0x8016
/* 020FC0 800203C0 03235821 */ addu $t3, $t9, $v1
/* 020FC4 800203C4 3C0E8016 */ lui $t6, %hi(D_801651D0) # $t6, 0x8016
/* 020FC8 800203C8 002B0821 */ addu $at, $at, $t3
/* 020FCC 800203CC 25CE51D0 */ addiu $t6, %lo(D_801651D0) # addiu $t6, $t6, 0x51d0
/* 020FD0 800203D0 01A36021 */ addu $t4, $t5, $v1
/* 020FD4 800203D4 A4205190 */ sh $zero, %lo(D_80165190)($at) # 0x5190($at)
/* 020FD8 800203D8 018E2021 */ addu $a0, $t4, $t6
/* 020FDC 800203DC 848F0000 */ lh $t7, ($a0)
/* 020FE0 800203E0 24010002 */ li $at, 2
/* 020FE4 800203E4 25F80001 */ addiu $t8, $t7, 1
/* 020FE8 800203E8 A4980000 */ sh $t8, ($a0)
/* 020FEC 800203EC 848A0000 */ lh $t2, ($a0)
/* 020FF0 800203F0 55410047 */ bnel $t2, $at, .L80020510
/* 020FF4 800203F4 8FBF0024 */ lw $ra, 0x24($sp)
/* 020FF8 800203F8 10000044 */ b .L8002050C
/* 020FFC 800203FC A4800000 */ sh $zero, ($a0)
.L80020400:
/* 021000 80020400 00121840 */ sll $v1, $s2, 1
/* 021004 80020404 0010C900 */ sll $t9, $s0, 4
/* 021008 80020408 3C0D8016 */ lui $t5, %hi(D_801650D0) # $t5, 0x8016
/* 02100C 8002040C 25AD50D0 */ addiu $t5, %lo(D_801650D0) # addiu $t5, $t5, 0x50d0
/* 021010 80020410 03235821 */ addu $t3, $t9, $v1
/* 021014 80020414 016D3021 */ addu $a2, $t3, $t5
/* 021018 80020418 84CC0000 */ lh $t4, ($a2)
/* 02101C 8002041C 950E0244 */ lhu $t6, 0x244($t0)
/* 021020 80020420 3C07800E */ lui $a3, %hi(D_800DDB58) # $a3, 0x800e
/* 021024 80020424 24E7DB58 */ addiu $a3, %lo(D_800DDB58) # addiu $a3, $a3, -0x24a8
/* 021028 80020428 018E1023 */ subu $v0, $t4, $t6
/* 02102C 8002042C 28410014 */ slti $at, $v0, 0x14
/* 021030 80020430 1020000A */ beqz $at, .L8002045C
/* 021034 80020434 00107100 */ sll $t6, $s0, 4
/* 021038 80020438 2841FFED */ slti $at, $v0, -0x13
/* 02103C 8002043C 14200007 */ bnez $at, .L8002045C
/* 021040 80020440 00107900 */ sll $t7, $s0, 4
/* 021044 80020444 01E3C021 */ addu $t8, $t7, $v1
/* 021048 80020448 3C0A8016 */ lui $t2, %hi(D_80165190) # 0x8016
/* 02104C 8002044C 01585021 */ addu $t2, $t2, $t8
/* 021050 80020450 854A5190 */ lh $t2, %lo(D_80165190)($t2) # 0x5190
/* 021054 80020454 552A002E */ bnel $t1, $t2, .L80020510
/* 021058 80020458 8FBF0024 */ lw $ra, 0x24($sp)
.L8002045C:
/* 02105C 8002045C 8CE20000 */ lw $v0, ($a3)
/* 021060 80020460 3C018016 */ lui $at, %hi(D_80164AB0) # 0x8016
/* 021064 80020464 01C37821 */ addu $t7, $t6, $v1
/* 021068 80020468 00022840 */ sll $a1, $v0, 1
/* 02106C 8002046C 00250821 */ addu $at, $at, $a1
/* 021070 80020470 A4324AB0 */ sh $s2, %lo(D_80164AB0)($at) # 0x4ab0
/* 021074 80020474 3C018016 */ lui $at, %hi(D_80164AC0) # 0x8016
/* 021078 80020478 00250821 */ addu $at, $at, $a1
/* 02107C 8002047C A4304AC0 */ sh $s0, %lo(D_80164AC0)($at) # 0x4ac0
/* 021080 80020480 3C018016 */ lui $at, %hi(D_80164AD0) # 0x8016
/* 021084 80020484 0002C880 */ sll $t9, $v0, 2
/* 021088 80020488 00390821 */ addu $at, $at, $t9
/* 02108C 8002048C AC314AD0 */ sw $s1, %lo(D_80164AD0)($at) # 0x4ad0
/* 021090 80020490 244B0001 */ addiu $t3, $v0, 1
/* 021094 80020494 ACEB0000 */ sw $t3, ($a3)
/* 021098 80020498 950D0244 */ lhu $t5, 0x244($t0)
/* 02109C 8002049C 3C018016 */ lui $at, %hi(D_80165110) # 0x8016
/* 0210A0 800204A0 002F0821 */ addu $at, $at, $t7
/* 0210A4 800204A4 A4CD0000 */ sh $t5, ($a2)
/* 0210A8 800204A8 950C024C */ lhu $t4, 0x24c($t0)
/* 0210AC 800204AC 00105100 */ sll $t2, $s0, 4
/* 0210B0 800204B0 0143C821 */ addu $t9, $t2, $v1
/* 0210B4 800204B4 A42C5110 */ sh $t4, %lo(D_80165110)($at) # 0x5110
/* 0210B8 800204B8 863800A8 */ lh $t8, 0xa8($s1)
/* 0210BC 800204BC 3C018016 */ lui $at, %hi(D_80165150) # 0x8016
/* 0210C0 800204C0 00390821 */ addu $at, $at, $t9
/* 0210C4 800204C4 00105900 */ sll $t3, $s0, 4
/* 0210C8 800204C8 A4385150 */ sh $t8, %lo(D_80165150)($at) # 0x5150
/* 0210CC 800204CC 3C018016 */ lui $at, %hi(D_80165190) # 0x8016
/* 0210D0 800204D0 01636821 */ addu $t5, $t3, $v1
/* 0210D4 800204D4 3C0F8016 */ lui $t7, %hi(D_801651D0) # $t7, 0x8016
/* 0210D8 800204D8 002D0821 */ addu $at, $at, $t5
/* 0210DC 800204DC 25EF51D0 */ addiu $t7, %lo(D_801651D0) # addiu $t7, $t7, 0x51d0
/* 0210E0 800204E0 01C36021 */ addu $t4, $t6, $v1
/* 0210E4 800204E4 A4205190 */ sh $zero, %lo(D_80165190)($at) # 0x5190
/* 0210E8 800204E8 018F2021 */ addu $a0, $t4, $t7
/* 0210EC 800204EC 848A0000 */ lh $t2, ($a0)
/* 0210F0 800204F0 24010002 */ li $at, 2
/* 0210F4 800204F4 25580001 */ addiu $t8, $t2, 1
/* 0210F8 800204F8 A4980000 */ sh $t8, ($a0)
/* 0210FC 800204FC 84990000 */ lh $t9, ($a0)
/* 021100 80020500 57210003 */ bnel $t9, $at, .L80020510
/* 021104 80020504 8FBF0024 */ lw $ra, 0x24($sp)
/* 021108 80020508 A4800000 */ sh $zero, ($a0)
.L8002050C:
/* 02110C 8002050C 8FBF0024 */ lw $ra, 0x24($sp)
.L80020510:
/* 021110 80020510 8FB00018 */ lw $s0, 0x18($sp)
/* 021114 80020514 8FB1001C */ lw $s1, 0x1c($sp)
/* 021118 80020518 8FB20020 */ lw $s2, 0x20($sp)
/* 02111C 8002051C 03E00008 */ jr $ra
/* 021120 80020520 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -1,222 +0,0 @@
glabel func_8002088C
/* 02148C 8002088C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 021490 80020890 3C038016 */ lui $v1, %hi(D_80164AC0) # $v1, 0x8016
/* 021494 80020894 84634AC0 */ lh $v1, %lo(D_80164AC0)($v1)
/* 021498 80020898 3C028016 */ lui $v0, %hi(D_80164AB0) # $v0, 0x8016
/* 02149C 8002089C 84424AB0 */ lh $v0, %lo(D_80164AB0)($v0)
/* 0214A0 800208A0 AFB3002C */ sw $s3, 0x2c($sp)
/* 0214A4 800208A4 3C138016 */ lui $s3, %hi(D_801651D0) # $s3, 0x8016
/* 0214A8 800208A8 267351D0 */ addiu $s3, %lo(D_801651D0) # addiu $s3, $s3, 0x51d0
/* 0214AC 800208AC 0003C900 */ sll $t9, $v1, 4
/* 0214B0 800208B0 02794821 */ addu $t1, $s3, $t9
/* 0214B4 800208B4 00033600 */ sll $a2, $v1, 0x18
/* 0214B8 800208B8 00025040 */ sll $t2, $v0, 1
/* 0214BC 800208BC AFBF0044 */ sw $ra, 0x44($sp)
/* 0214C0 800208C0 AFBE0040 */ sw $fp, 0x40($sp)
/* 0214C4 800208C4 AFB7003C */ sw $s7, 0x3c($sp)
/* 0214C8 800208C8 AFB60038 */ sw $s6, 0x38($sp)
/* 0214CC 800208CC AFB50034 */ sw $s5, 0x34($sp)
/* 0214D0 800208D0 AFB40030 */ sw $s4, 0x30($sp)
/* 0214D4 800208D4 AFB20028 */ sw $s2, 0x28($sp)
/* 0214D8 800208D8 AFB10024 */ sw $s1, 0x24($sp)
/* 0214DC 800208DC AFB00020 */ sw $s0, 0x20($sp)
/* 0214E0 800208E0 012A5821 */ addu $t3, $t1, $t2
/* 0214E4 800208E4 00067E03 */ sra $t7, $a2, 0x18
/* 0214E8 800208E8 856C0000 */ lh $t4, ($t3)
/* 0214EC 800208EC 000F3E00 */ sll $a3, $t7, 0x18
/* 0214F0 800208F0 00022E00 */ sll $a1, $v0, 0x18
/* 0214F4 800208F4 00057603 */ sra $t6, $a1, 0x18
/* 0214F8 800208F8 0007C603 */ sra $t8, $a3, 0x18
/* 0214FC 800208FC 3C048016 */ lui $a0, %hi(D_80164AD0) # $a0, 0x8016
/* 021500 80020900 8C844AD0 */ lw $a0, %lo(D_80164AD0)($a0)
/* 021504 80020904 03003825 */ move $a3, $t8
/* 021508 80020908 01C02825 */ move $a1, $t6
/* 02150C 8002090C 01E03025 */ move $a2, $t7
/* 021510 80020910 0C009D58 */ jal func_80027560
/* 021514 80020914 AFAC0010 */ sw $t4, 0x10($sp)
/* 021518 80020918 3C04800E */ lui $a0, %hi(gPlayerOneCopy) # $a0, 0x800e
/* 02151C 8002091C 8C84C4FC */ lw $a0, %lo(gPlayerOneCopy)($a0)
/* 021520 80020920 00002825 */ move $a1, $zero
/* 021524 80020924 0C01B98D */ jal func_8006E634
/* 021528 80020928 24060001 */ li $a2, 1
/* 02152C 8002092C 3C04800E */ lui $a0, %hi(gPlayerTwo) # $a0, 0x800e
/* 021530 80020930 8C84C4E0 */ lw $a0, %lo(gPlayerTwo)($a0)
/* 021534 80020934 24050001 */ li $a1, 1
/* 021538 80020938 0C01B98D */ jal func_8006E634
/* 02153C 8002093C 24060001 */ li $a2, 1
/* 021540 80020940 3C04800E */ lui $a0, %hi(gPlayerThree) # $a0, 0x800e
/* 021544 80020944 8C84C4E4 */ lw $a0, %lo(gPlayerThree)($a0)
/* 021548 80020948 24050002 */ li $a1, 2
/* 02154C 8002094C 0C01B98D */ jal func_8006E634
/* 021550 80020950 24060001 */ li $a2, 1
/* 021554 80020954 3C04800E */ lui $a0, %hi(gPlayerFour) # $a0, 0x800e
/* 021558 80020958 8C84C4E8 */ lw $a0, %lo(gPlayerFour)($a0)
/* 02155C 8002095C 24050003 */ li $a1, 3
/* 021560 80020960 0C01B98D */ jal func_8006E634
/* 021564 80020964 24060001 */ li $a2, 1
/* 021568 80020968 3C0D800E */ lui $t5, %hi(gActiveScreenMode) # $t5, 0x800e
/* 02156C 8002096C 8DADC52C */ lw $t5, %lo(gActiveScreenMode)($t5)
/* 021570 80020970 24010003 */ li $at, 3
/* 021574 80020974 3C04800E */ lui $a0, %hi(gPlayerFive) # $a0, 0x800e
/* 021578 80020978 11A10013 */ beq $t5, $at, .L800209C8
/* 02157C 8002097C 24050004 */ li $a1, 4
/* 021580 80020980 8C84C4EC */ lw $a0, %lo(gPlayerFive)($a0)
/* 021584 80020984 0C01B98D */ jal func_8006E634
/* 021588 80020988 24060001 */ li $a2, 1
/* 02158C 8002098C 3C04800E */ lui $a0, %hi(gPlayerSix) # $a0, 0x800e
/* 021590 80020990 8C84C4F0 */ lw $a0, %lo(gPlayerSix)($a0)
/* 021594 80020994 24050005 */ li $a1, 5
/* 021598 80020998 0C01B98D */ jal func_8006E634
/* 02159C 8002099C 24060001 */ li $a2, 1
/* 0215A0 800209A0 3C04800E */ lui $a0, %hi(gPlayerSeven) # $a0, 0x800e
/* 0215A4 800209A4 8C84C4F4 */ lw $a0, %lo(gPlayerSeven)($a0)
/* 0215A8 800209A8 24050006 */ li $a1, 6
/* 0215AC 800209AC 0C01B98D */ jal func_8006E634
/* 0215B0 800209B0 24060001 */ li $a2, 1
/* 0215B4 800209B4 3C04800E */ lui $a0, %hi(gPlayerEight) # $a0, 0x800e
/* 0215B8 800209B8 8C84C4F8 */ lw $a0, %lo(gPlayerEight)($a0)
/* 0215BC 800209BC 24050007 */ li $a1, 7
/* 0215C0 800209C0 0C01B98D */ jal func_8006E634
/* 0215C4 800209C4 24060001 */ li $a2, 1
.L800209C8:
/* 0215C8 800209C8 3C148015 */ lui $s4, %hi(gDmaMesgQueue) # $s4, 0x8015
/* 0215CC 800209CC 3C158015 */ lui $s5, %hi(gMainReceivedMesg) # $s5, 0x8015
/* 0215D0 800209D0 26B5F098 */ addiu $s5, %lo(gMainReceivedMesg) # addiu $s5, $s5, -0xf68
/* 0215D4 800209D4 2694EF58 */ addiu $s4, %lo(gDmaMesgQueue) # addiu $s4, $s4, -0x10a8
/* 0215D8 800209D8 02802025 */ move $a0, $s4
/* 0215DC 800209DC 02A02825 */ move $a1, $s5
/* 0215E0 800209E0 0C0335D4 */ jal osRecvMesg
/* 0215E4 800209E4 24060001 */ li $a2, 1
/* 0215E8 800209E8 3C16800E */ lui $s6, %hi(D_800DDB58) # $s6, 0x800e
/* 0215EC 800209EC 26D6DB58 */ addiu $s6, %lo(D_800DDB58) # addiu $s6, $s6, -0x24a8
/* 0215F0 800209F0 8EC20000 */ lw $v0, ($s6)
/* 0215F4 800209F4 24100001 */ li $s0, 1
/* 0215F8 800209F8 241E0920 */ li $fp, 2336
/* 0215FC 800209FC 28410002 */ slti $at, $v0, 2
/* 021600 80020A00 14200049 */ bnez $at, .L80020B28
/* 021604 80020A04 3C17802E */ lui $s7, %hi(D_802DFB80) # $s7, 0x802e
/* 021608 80020A08 26F7FB80 */ addiu $s7, %lo(D_802DFB80) # addiu $s7, $s7, -0x480
.L80020A0C:
/* 02160C 80020A0C 3C198016 */ lui $t9, %hi(D_80164AC0) # $t9, 0x8016
/* 021610 80020A10 27394AC0 */ addiu $t9, %lo(D_80164AC0) # addiu $t9, $t9, 0x4ac0
/* 021614 80020A14 00101040 */ sll $v0, $s0, 1
/* 021618 80020A18 3C0F8016 */ lui $t7, %hi(D_80164AB0) # $t7, 0x8016
/* 02161C 80020A1C 25EF4AB0 */ addiu $t7, %lo(D_80164AB0) # addiu $t7, $t7, 0x4ab0
/* 021620 80020A20 00599021 */ addu $s2, $v0, $t9
/* 021624 80020A24 86480000 */ lh $t0, ($s2)
/* 021628 80020A28 004F8821 */ addu $s1, $v0, $t7
/* 02162C 80020A2C 86230000 */ lh $v1, ($s1)
/* 021630 80020A30 00107080 */ sll $t6, $s0, 2
/* 021634 80020A34 3C048016 */ lui $a0, %hi(D_80164AD0) # 0x8016
/* 021638 80020A38 00085900 */ sll $t3, $t0, 4
/* 02163C 80020A3C 026B6021 */ addu $t4, $s3, $t3
/* 021640 80020A40 008E2021 */ addu $a0, $a0, $t6
/* 021644 80020A44 00083600 */ sll $a2, $t0, 0x18
/* 021648 80020A48 00036840 */ sll $t5, $v1, 1
/* 02164C 80020A4C 018D7021 */ addu $t6, $t4, $t5
/* 021650 80020A50 00064E03 */ sra $t1, $a2, 0x18
/* 021654 80020A54 85CF0000 */ lh $t7, ($t6)
/* 021658 80020A58 00093E00 */ sll $a3, $t1, 0x18
/* 02165C 80020A5C 00032E00 */ sll $a1, $v1, 0x18
/* 021660 80020A60 0005C603 */ sra $t8, $a1, 0x18
/* 021664 80020A64 00075603 */ sra $t2, $a3, 0x18
/* 021668 80020A68 01403825 */ move $a3, $t2
/* 02166C 80020A6C 03002825 */ move $a1, $t8
/* 021670 80020A70 01203025 */ move $a2, $t1
/* 021674 80020A74 8C844AD0 */ lw $a0, %lo(D_80164AD0)($a0) # 0x4ad0
/* 021678 80020A78 0C009D58 */ jal func_80027560
/* 02167C 80020A7C AFAF0010 */ sw $t7, 0x10($sp)
/* 021680 80020A80 8642FFFE */ lh $v0, -2($s2)
/* 021684 80020A84 8623FFFE */ lh $v1, -2($s1)
/* 021688 80020A88 0002C100 */ sll $t8, $v0, 4
/* 02168C 80020A8C 0278C821 */ addu $t9, $s3, $t8
/* 021690 80020A90 00034840 */ sll $t1, $v1, 1
/* 021694 80020A94 03295021 */ addu $t2, $t9, $t1
/* 021698 80020A98 85460000 */ lh $a2, ($t2)
/* 02169C 80020A9C 007E0019 */ multu $v1, $fp
/* 0216A0 80020AA0 000268C0 */ sll $t5, $v0, 3
/* 0216A4 80020AA4 000658C0 */ sll $t3, $a2, 3
/* 0216A8 80020AA8 01665821 */ addu $t3, $t3, $a2
/* 0216AC 80020AAC 000B58C0 */ sll $t3, $t3, 3
/* 0216B0 80020AB0 01A26821 */ addu $t5, $t5, $v0
/* 0216B4 80020AB4 000D68C0 */ sll $t5, $t5, 3
/* 0216B8 80020AB8 01665821 */ addu $t3, $t3, $a2
/* 0216BC 80020ABC 000B5A40 */ sll $t3, $t3, 9
/* 0216C0 80020AC0 01A26821 */ addu $t5, $t5, $v0
/* 0216C4 80020AC4 000D6A00 */ sll $t5, $t5, 8
/* 0216C8 80020AC8 02EB6021 */ addu $t4, $s7, $t3
/* 0216CC 80020ACC 018D7021 */ addu $t6, $t4, $t5
/* 0216D0 80020AD0 0002CBC0 */ sll $t9, $v0, 0xf
/* 0216D4 80020AD4 0006C400 */ sll $t8, $a2, 0x10
/* 0216D8 80020AD8 03194821 */ addu $t1, $t8, $t9
/* 0216DC 80020ADC 3C0C802C */ lui $t4, %hi(D_802BFB80) # $t4, 0x802c
/* 0216E0 80020AE0 00035300 */ sll $t2, $v1, 0xc
/* 0216E4 80020AE4 012A5821 */ addu $t3, $t1, $t2
/* 0216E8 80020AE8 258CFB80 */ addiu $t4, %lo(D_802BFB80) # addiu $t4, $t4, -0x480
/* 0216EC 80020AEC 00007812 */ mflo $t7
/* 0216F0 80020AF0 01CF2021 */ addu $a0, $t6, $t7
/* 0216F4 80020AF4 0C010034 */ jal mio0decode
/* 0216F8 80020AF8 016C2821 */ addu $a1, $t3, $t4
/* 0216FC 80020AFC 02802025 */ move $a0, $s4
/* 021700 80020B00 02A02825 */ move $a1, $s5
/* 021704 80020B04 0C0335D4 */ jal osRecvMesg
/* 021708 80020B08 24060001 */ li $a2, 1
/* 02170C 80020B0C 8EC20000 */ lw $v0, ($s6)
/* 021710 80020B10 26100001 */ addiu $s0, $s0, 1
/* 021714 80020B14 00106C00 */ sll $t5, $s0, 0x10
/* 021718 80020B18 000D8403 */ sra $s0, $t5, 0x10
/* 02171C 80020B1C 0202082A */ slt $at, $s0, $v0
/* 021720 80020B20 1420FFBA */ bnez $at, .L80020A0C
/* 021724 80020B24 00000000 */ nop
.L80020B28:
/* 021728 80020B28 00023840 */ sll $a3, $v0, 1
/* 02172C 80020B2C 3C038016 */ lui $v1, %hi(D_80164ABE) # 0x8016
/* 021730 80020B30 00671821 */ addu $v1, $v1, $a3
/* 021734 80020B34 3C068016 */ lui $a2, %hi(D_80164AAE) # 0x8016
/* 021738 80020B38 84634ABE */ lh $v1, %lo(D_80164ABE)($v1) # 0x4abe
/* 02173C 80020B3C 00C73021 */ addu $a2, $a2, $a3
/* 021740 80020B40 84C64AAE */ lh $a2, %lo(D_80164AAE)($a2) # 0x4aae
/* 021744 80020B44 00037900 */ sll $t7, $v1, 4
/* 021748 80020B48 026FC021 */ addu $t8, $s3, $t7
/* 02174C 80020B4C 0006C840 */ sll $t9, $a2, 1
/* 021750 80020B50 03194821 */ addu $t1, $t8, $t9
/* 021754 80020B54 85280000 */ lh $t0, ($t1)
/* 021758 80020B58 241E0920 */ li $fp, 2336
/* 02175C 80020B5C 00DE0019 */ multu $a2, $fp
/* 021760 80020B60 000850C0 */ sll $t2, $t0, 3
/* 021764 80020B64 000360C0 */ sll $t4, $v1, 3
/* 021768 80020B68 01485021 */ addu $t2, $t2, $t0
/* 02176C 80020B6C 000A50C0 */ sll $t2, $t2, 3
/* 021770 80020B70 01836021 */ addu $t4, $t4, $v1
/* 021774 80020B74 3C17802E */ lui $s7, %hi(D_802DFB80) # $s7, 0x802e
/* 021778 80020B78 000C60C0 */ sll $t4, $t4, 3
/* 02177C 80020B7C 01485021 */ addu $t2, $t2, $t0
/* 021780 80020B80 26F7FB80 */ addiu $s7, %lo(D_802DFB80) # addiu $s7, $s7, -0x480
/* 021784 80020B84 000A5240 */ sll $t2, $t2, 9
/* 021788 80020B88 01836021 */ addu $t4, $t4, $v1
/* 02178C 80020B8C 000C6200 */ sll $t4, $t4, 8
/* 021790 80020B90 02EA5821 */ addu $t3, $s7, $t2
/* 021794 80020B94 016C6821 */ addu $t5, $t3, $t4
/* 021798 80020B98 0003C3C0 */ sll $t8, $v1, 0xf
/* 02179C 80020B9C 00087C00 */ sll $t7, $t0, 0x10
/* 0217A0 80020BA0 01F8C821 */ addu $t9, $t7, $t8
/* 0217A4 80020BA4 3C0B802C */ lui $t3, %hi(D_802BFB80) # $t3, 0x802c
/* 0217A8 80020BA8 00064B00 */ sll $t1, $a2, 0xc
/* 0217AC 80020BAC 03295021 */ addu $t2, $t9, $t1
/* 0217B0 80020BB0 256BFB80 */ addiu $t3, %lo(D_802BFB80) # addiu $t3, $t3, -0x480
/* 0217B4 80020BB4 00007012 */ mflo $t6
/* 0217B8 80020BB8 01AE2021 */ addu $a0, $t5, $t6
/* 0217BC 80020BBC 0C010034 */ jal mio0decode
/* 0217C0 80020BC0 014B2821 */ addu $a1, $t2, $t3
/* 0217C4 80020BC4 8FBF0044 */ lw $ra, 0x44($sp)
/* 0217C8 80020BC8 8FB00020 */ lw $s0, 0x20($sp)
/* 0217CC 80020BCC 8FB10024 */ lw $s1, 0x24($sp)
/* 0217D0 80020BD0 8FB20028 */ lw $s2, 0x28($sp)
/* 0217D4 80020BD4 8FB3002C */ lw $s3, 0x2c($sp)
/* 0217D8 80020BD8 8FB40030 */ lw $s4, 0x30($sp)
/* 0217DC 80020BDC 8FB50034 */ lw $s5, 0x34($sp)
/* 0217E0 80020BE0 8FB60038 */ lw $s6, 0x38($sp)
/* 0217E4 80020BE4 8FB7003C */ lw $s7, 0x3c($sp)
/* 0217E8 80020BE8 8FBE0040 */ lw $fp, 0x40($sp)
/* 0217EC 80020BEC 03E00008 */ jr $ra
/* 0217F0 80020BF0 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,205 +0,0 @@
glabel func_80020BF4
/* 0217F4 80020BF4 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 0217F8 80020BF8 3C038016 */ lui $v1, %hi(D_80164AB0) # $v1, 0x8016
/* 0217FC 80020BFC 3C028016 */ lui $v0, %hi(D_80164AC0) # $v0, 0x8016
/* 021800 80020C00 84424AC0 */ lh $v0, %lo(D_80164AC0)($v0)
/* 021804 80020C04 84634AB0 */ lh $v1, %lo(D_80164AB0)($v1)
/* 021808 80020C08 AFB3002C */ sw $s3, 0x2c($sp)
/* 02180C 80020C0C 3C138016 */ lui $s3, %hi(D_801651D0) # $s3, 0x8016
/* 021810 80020C10 267351D0 */ addiu $s3, %lo(D_801651D0) # addiu $s3, $s3, 0x51d0
/* 021814 80020C14 00025100 */ sll $t2, $v0, 4
/* 021818 80020C18 24650004 */ addiu $a1, $v1, 4
/* 02181C 80020C1C 00057600 */ sll $t6, $a1, 0x18
/* 021820 80020C20 026A5821 */ addu $t3, $s3, $t2
/* 021824 80020C24 00036040 */ sll $t4, $v1, 1
/* 021828 80020C28 AFBF0044 */ sw $ra, 0x44($sp)
/* 02182C 80020C2C AFBE0040 */ sw $fp, 0x40($sp)
/* 021830 80020C30 AFB7003C */ sw $s7, 0x3c($sp)
/* 021834 80020C34 AFB60038 */ sw $s6, 0x38($sp)
/* 021838 80020C38 AFB50034 */ sw $s5, 0x34($sp)
/* 02183C 80020C3C AFB40030 */ sw $s4, 0x30($sp)
/* 021840 80020C40 AFB20028 */ sw $s2, 0x28($sp)
/* 021844 80020C44 AFB10024 */ sw $s1, 0x24($sp)
/* 021848 80020C48 AFB00020 */ sw $s0, 0x20($sp)
/* 02184C 80020C4C 016C6821 */ addu $t5, $t3, $t4
/* 021850 80020C50 000E2E03 */ sra $a1, $t6, 0x18
/* 021854 80020C54 85AE0000 */ lh $t6, ($t5)
/* 021858 80020C58 00023600 */ sll $a2, $v0, 0x18
/* 02185C 80020C5C 2447FFFE */ addiu $a3, $v0, -2
/* 021860 80020C60 0007CE00 */ sll $t9, $a3, 0x18
/* 021864 80020C64 0006C603 */ sra $t8, $a2, 0x18
/* 021868 80020C68 3C048016 */ lui $a0, %hi(D_80164AD0) # $a0, 0x8016
/* 02186C 80020C6C 8C844AD0 */ lw $a0, %lo(D_80164AD0)($a0)
/* 021870 80020C70 03003025 */ move $a2, $t8
/* 021874 80020C74 00193E03 */ sra $a3, $t9, 0x18
/* 021878 80020C78 0C009D58 */ jal func_80027560
/* 02187C 80020C7C AFAE0010 */ sw $t6, 0x10($sp)
/* 021880 80020C80 3C04800E */ lui $a0, %hi(gPlayerOneCopy) # $a0, 0x800e
/* 021884 80020C84 8C84C4FC */ lw $a0, %lo(gPlayerOneCopy)($a0)
/* 021888 80020C88 00002825 */ move $a1, $zero
/* 02188C 80020C8C 0C01B9AF */ jal func_8006E6BC
/* 021890 80020C90 24060002 */ li $a2, 2
/* 021894 80020C94 3C04800E */ lui $a0, %hi(gPlayerTwo) # $a0, 0x800e
/* 021898 80020C98 8C84C4E0 */ lw $a0, %lo(gPlayerTwo)($a0)
/* 02189C 80020C9C 24050001 */ li $a1, 1
/* 0218A0 80020CA0 0C01B9AF */ jal func_8006E6BC
/* 0218A4 80020CA4 24060002 */ li $a2, 2
/* 0218A8 80020CA8 3C04800E */ lui $a0, %hi(gPlayerThree) # $a0, 0x800e
/* 0218AC 80020CAC 8C84C4E4 */ lw $a0, %lo(gPlayerThree)($a0)
/* 0218B0 80020CB0 24050002 */ li $a1, 2
/* 0218B4 80020CB4 0C01B9AF */ jal func_8006E6BC
/* 0218B8 80020CB8 24060002 */ li $a2, 2
/* 0218BC 80020CBC 3C04800E */ lui $a0, %hi(gPlayerFour) # $a0, 0x800e
/* 0218C0 80020CC0 8C84C4E8 */ lw $a0, %lo(gPlayerFour)($a0)
/* 0218C4 80020CC4 24050003 */ li $a1, 3
/* 0218C8 80020CC8 0C01B9AF */ jal func_8006E6BC
/* 0218CC 80020CCC 24060002 */ li $a2, 2
/* 0218D0 80020CD0 3C148015 */ lui $s4, %hi(gDmaMesgQueue) # $s4, 0x8015
/* 0218D4 80020CD4 3C158015 */ lui $s5, %hi(gMainReceivedMesg) # $s5, 0x8015
/* 0218D8 80020CD8 26B5F098 */ addiu $s5, %lo(gMainReceivedMesg) # addiu $s5, $s5, -0xf68
/* 0218DC 80020CDC 2694EF58 */ addiu $s4, %lo(gDmaMesgQueue) # addiu $s4, $s4, -0x10a8
/* 0218E0 80020CE0 02802025 */ move $a0, $s4
/* 0218E4 80020CE4 02A02825 */ move $a1, $s5
/* 0218E8 80020CE8 0C0335D4 */ jal osRecvMesg
/* 0218EC 80020CEC 24060001 */ li $a2, 1
/* 0218F0 80020CF0 3C16800E */ lui $s6, %hi(D_800DDB58) # $s6, 0x800e
/* 0218F4 80020CF4 26D6DB58 */ addiu $s6, %lo(D_800DDB58) # addiu $s6, $s6, -0x24a8
/* 0218F8 80020CF8 8EC20000 */ lw $v0, ($s6)
/* 0218FC 80020CFC 24100001 */ li $s0, 1
/* 021900 80020D00 241E0920 */ li $fp, 2336
/* 021904 80020D04 28410002 */ slti $at, $v0, 2
/* 021908 80020D08 1420004D */ bnez $at, .L80020E40
/* 02190C 80020D0C 3C17802E */ lui $s7, %hi(D_802DFB80) # $s7, 0x802e
/* 021910 80020D10 26F7FB80 */ addiu $s7, %lo(D_802DFB80) # addiu $s7, $s7, -0x480
.L80020D14:
/* 021914 80020D14 3C188016 */ lui $t8, %hi(D_80164AB0) # $t8, 0x8016
/* 021918 80020D18 27184AB0 */ addiu $t8, %lo(D_80164AB0) # addiu $t8, $t8, 0x4ab0
/* 02191C 80020D1C 00101840 */ sll $v1, $s0, 1
/* 021920 80020D20 3C0A8016 */ lui $t2, %hi(D_80164AC0) # $t2, 0x8016
/* 021924 80020D24 254A4AC0 */ addiu $t2, %lo(D_80164AC0) # addiu $t2, $t2, 0x4ac0
/* 021928 80020D28 00788821 */ addu $s1, $v1, $t8
/* 02192C 80020D2C 86280000 */ lh $t0, ($s1)
/* 021930 80020D30 006A9021 */ addu $s2, $v1, $t2
/* 021934 80020D34 86420000 */ lh $v0, ($s2)
/* 021938 80020D38 00107880 */ sll $t7, $s0, 2
/* 02193C 80020D3C 3C048016 */ lui $a0, %hi(D_80164AD0) # 0x8016
/* 021940 80020D40 25050004 */ addiu $a1, $t0, 4
/* 021944 80020D44 0005CE00 */ sll $t9, $a1, 0x18
/* 021948 80020D48 008F2021 */ addu $a0, $a0, $t7
/* 02194C 80020D4C 00027100 */ sll $t6, $v0, 4
/* 021950 80020D50 026E7821 */ addu $t7, $s3, $t6
/* 021954 80020D54 00192E03 */ sra $a1, $t9, 0x18
/* 021958 80020D58 0008C040 */ sll $t8, $t0, 1
/* 02195C 80020D5C 01F8C821 */ addu $t9, $t7, $t8
/* 021960 80020D60 87290000 */ lh $t1, ($t9)
/* 021964 80020D64 00023600 */ sll $a2, $v0, 0x18
/* 021968 80020D68 2447FFFE */ addiu $a3, $v0, -2
/* 02196C 80020D6C 00076600 */ sll $t4, $a3, 0x18
/* 021970 80020D70 00065E03 */ sra $t3, $a2, 0x18
/* 021974 80020D74 01603025 */ move $a2, $t3
/* 021978 80020D78 000C3E03 */ sra $a3, $t4, 0x18
/* 02197C 80020D7C 8C844AD0 */ lw $a0, %lo(D_80164AD0)($a0) # 0x4ad0
/* 021980 80020D80 0C009D58 */ jal func_80027560
/* 021984 80020D84 AFA90010 */ sw $t1, 0x10($sp)
/* 021988 80020D88 8642FFFE */ lh $v0, -2($s2)
/* 02198C 80020D8C 8623FFFE */ lh $v1, -2($s1)
/* 021990 80020D90 3C01FFFF */ lui $at, (0xFFFF4000 >> 16) # lui $at, 0xffff
/* 021994 80020D94 00025100 */ sll $t2, $v0, 4
/* 021998 80020D98 026A5821 */ addu $t3, $s3, $t2
/* 02199C 80020D9C 00036040 */ sll $t4, $v1, 1
/* 0219A0 80020DA0 016C6821 */ addu $t5, $t3, $t4
/* 0219A4 80020DA4 85A60000 */ lh $a2, ($t5)
/* 0219A8 80020DA8 007E0019 */ multu $v1, $fp
/* 0219AC 80020DAC 0002C0C0 */ sll $t8, $v0, 3
/* 0219B0 80020DB0 000670C0 */ sll $t6, $a2, 3
/* 0219B4 80020DB4 01C67021 */ addu $t6, $t6, $a2
/* 0219B8 80020DB8 000E70C0 */ sll $t6, $t6, 3
/* 0219BC 80020DBC 0302C021 */ addu $t8, $t8, $v0
/* 0219C0 80020DC0 0018C0C0 */ sll $t8, $t8, 3
/* 0219C4 80020DC4 01C67021 */ addu $t6, $t6, $a2
/* 0219C8 80020DC8 000E7240 */ sll $t6, $t6, 9
/* 0219CC 80020DCC 0302C021 */ addu $t8, $t8, $v0
/* 0219D0 80020DD0 0018C200 */ sll $t8, $t8, 8
/* 0219D4 80020DD4 02EE7821 */ addu $t7, $s7, $t6
/* 0219D8 80020DD8 01F8C821 */ addu $t9, $t7, $t8
/* 0219DC 80020DDC 00025BC0 */ sll $t3, $v0, 0xf
/* 0219E0 80020DE0 00065400 */ sll $t2, $a2, 0x10
/* 0219E4 80020DE4 014B6021 */ addu $t4, $t2, $t3
/* 0219E8 80020DE8 00036B00 */ sll $t5, $v1, 0xc
/* 0219EC 80020DEC 018D7021 */ addu $t6, $t4, $t5
/* 0219F0 80020DF0 3C18802C */ lui $t8, %hi(D_802BFB80) # $t8, 0x802c
/* 0219F4 80020DF4 00004812 */ mflo $t1
/* 0219F8 80020DF8 34214000 */ ori $at, (0xFFFF4000 & 0xFFFF) # ori $at, $at, 0x4000
/* 0219FC 80020DFC 01C17821 */ addu $t7, $t6, $at
/* 021A00 80020E00 03292021 */ addu $a0, $t9, $t1
/* 021A04 80020E04 2718FB80 */ addiu $t8, %lo(D_802BFB80) # addiu $t8, $t8, -0x480
/* 021A08 80020E08 01F82821 */ addu $a1, $t7, $t8
/* 021A0C 80020E0C 0C010034 */ jal mio0decode
/* 021A10 80020E10 24849280 */ addiu $a0, $a0, -0x6d80
/* 021A14 80020E14 02802025 */ move $a0, $s4
/* 021A18 80020E18 02A02825 */ move $a1, $s5
/* 021A1C 80020E1C 0C0335D4 */ jal osRecvMesg
/* 021A20 80020E20 24060001 */ li $a2, 1
/* 021A24 80020E24 8EC20000 */ lw $v0, ($s6)
/* 021A28 80020E28 26100001 */ addiu $s0, $s0, 1
/* 021A2C 80020E2C 0010CC00 */ sll $t9, $s0, 0x10
/* 021A30 80020E30 00198403 */ sra $s0, $t9, 0x10
/* 021A34 80020E34 0202082A */ slt $at, $s0, $v0
/* 021A38 80020E38 1420FFB6 */ bnez $at, .L80020D14
/* 021A3C 80020E3C 00000000 */ nop
.L80020E40:
/* 021A40 80020E40 00023840 */ sll $a3, $v0, 1
/* 021A44 80020E44 3C038016 */ lui $v1, %hi(D_80164ABE) # 0x8016
/* 021A48 80020E48 00671821 */ addu $v1, $v1, $a3
/* 021A4C 80020E4C 3C068016 */ lui $a2, %hi(D_80164AAE) # 0x8016
/* 021A50 80020E50 84634ABE */ lh $v1, %lo(D_80164ABE)($v1) # 0x4abe
/* 021A54 80020E54 00C73021 */ addu $a2, $a2, $a3
/* 021A58 80020E58 84C64AAE */ lh $a2, %lo(D_80164AAE)($a2) # 0x4aae
/* 021A5C 80020E5C 00035100 */ sll $t2, $v1, 4
/* 021A60 80020E60 026A5821 */ addu $t3, $s3, $t2
/* 021A64 80020E64 00066040 */ sll $t4, $a2, 1
/* 021A68 80020E68 016C6821 */ addu $t5, $t3, $t4
/* 021A6C 80020E6C 85A80000 */ lh $t0, ($t5)
/* 021A70 80020E70 241E0920 */ li $fp, 2336
/* 021A74 80020E74 00DE0019 */ multu $a2, $fp
/* 021A78 80020E78 000870C0 */ sll $t6, $t0, 3
/* 021A7C 80020E7C 0003C0C0 */ sll $t8, $v1, 3
/* 021A80 80020E80 01C87021 */ addu $t6, $t6, $t0
/* 021A84 80020E84 000E70C0 */ sll $t6, $t6, 3
/* 021A88 80020E88 0303C021 */ addu $t8, $t8, $v1
/* 021A8C 80020E8C 3C17802E */ lui $s7, %hi(D_802DFB80) # $s7, 0x802e
/* 021A90 80020E90 0018C0C0 */ sll $t8, $t8, 3
/* 021A94 80020E94 01C87021 */ addu $t6, $t6, $t0
/* 021A98 80020E98 26F7FB80 */ addiu $s7, %lo(D_802DFB80) # addiu $s7, $s7, -0x480
/* 021A9C 80020E9C 000E7240 */ sll $t6, $t6, 9
/* 021AA0 80020EA0 0303C021 */ addu $t8, $t8, $v1
/* 021AA4 80020EA4 0018C200 */ sll $t8, $t8, 8
/* 021AA8 80020EA8 02EE7821 */ addu $t7, $s7, $t6
/* 021AAC 80020EAC 01F8C821 */ addu $t9, $t7, $t8
/* 021AB0 80020EB0 00035BC0 */ sll $t3, $v1, 0xf
/* 021AB4 80020EB4 00085400 */ sll $t2, $t0, 0x10
/* 021AB8 80020EB8 014B6021 */ addu $t4, $t2, $t3
/* 021ABC 80020EBC 3C01FFFF */ lui $at, (0xFFFF4000 >> 16) # lui $at, 0xffff
/* 021AC0 80020EC0 00066B00 */ sll $t5, $a2, 0xc
/* 021AC4 80020EC4 018D7021 */ addu $t6, $t4, $t5
/* 021AC8 80020EC8 34214000 */ ori $at, (0xFFFF4000 & 0xFFFF) # ori $at, $at, 0x4000
/* 021ACC 80020ECC 3C18802C */ lui $t8, %hi(D_802BFB80) # $t8, 0x802c
/* 021AD0 80020ED0 00004812 */ mflo $t1
/* 021AD4 80020ED4 03292021 */ addu $a0, $t9, $t1
/* 021AD8 80020ED8 2718FB80 */ addiu $t8, %lo(D_802BFB80) # addiu $t8, $t8, -0x480
/* 021ADC 80020EDC 01C17821 */ addu $t7, $t6, $at
/* 021AE0 80020EE0 01F82821 */ addu $a1, $t7, $t8
/* 021AE4 80020EE4 0C010034 */ jal mio0decode
/* 021AE8 80020EE8 24849280 */ addiu $a0, $a0, -0x6d80
/* 021AEC 80020EEC 8FBF0044 */ lw $ra, 0x44($sp)
/* 021AF0 80020EF0 8FB00020 */ lw $s0, 0x20($sp)
/* 021AF4 80020EF4 8FB10024 */ lw $s1, 0x24($sp)
/* 021AF8 80020EF8 8FB20028 */ lw $s2, 0x28($sp)
/* 021AFC 80020EFC 8FB3002C */ lw $s3, 0x2c($sp)
/* 021B00 80020F00 8FB40030 */ lw $s4, 0x30($sp)
/* 021B04 80020F04 8FB50034 */ lw $s5, 0x34($sp)
/* 021B08 80020F08 8FB60038 */ lw $s6, 0x38($sp)
/* 021B0C 80020F0C 8FB7003C */ lw $s7, 0x3c($sp)
/* 021B10 80020F10 8FBE0040 */ lw $fp, 0x40($sp)
/* 021B14 80020F14 03E00008 */ jr $ra
/* 021B18 80020F18 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,205 +0,0 @@
glabel func_80020F1C
/* 021B1C 80020F1C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 021B20 80020F20 3C038016 */ lui $v1, %hi(D_80164AB0) # $v1, 0x8016
/* 021B24 80020F24 3C028016 */ lui $v0, %hi(D_80164AC0) # $v0, 0x8016
/* 021B28 80020F28 84424AC0 */ lh $v0, %lo(D_80164AC0)($v0)
/* 021B2C 80020F2C 84634AB0 */ lh $v1, %lo(D_80164AB0)($v1)
/* 021B30 80020F30 AFB3002C */ sw $s3, 0x2c($sp)
/* 021B34 80020F34 3C138016 */ lui $s3, %hi(D_801651D0) # $s3, 0x8016
/* 021B38 80020F38 267351D0 */ addiu $s3, %lo(D_801651D0) # addiu $s3, $s3, 0x51d0
/* 021B3C 80020F3C 00025100 */ sll $t2, $v0, 4
/* 021B40 80020F40 24650004 */ addiu $a1, $v1, 4
/* 021B44 80020F44 00057600 */ sll $t6, $a1, 0x18
/* 021B48 80020F48 026A5821 */ addu $t3, $s3, $t2
/* 021B4C 80020F4C 00036040 */ sll $t4, $v1, 1
/* 021B50 80020F50 AFBF0044 */ sw $ra, 0x44($sp)
/* 021B54 80020F54 AFBE0040 */ sw $fp, 0x40($sp)
/* 021B58 80020F58 AFB7003C */ sw $s7, 0x3c($sp)
/* 021B5C 80020F5C AFB60038 */ sw $s6, 0x38($sp)
/* 021B60 80020F60 AFB50034 */ sw $s5, 0x34($sp)
/* 021B64 80020F64 AFB40030 */ sw $s4, 0x30($sp)
/* 021B68 80020F68 AFB20028 */ sw $s2, 0x28($sp)
/* 021B6C 80020F6C AFB10024 */ sw $s1, 0x24($sp)
/* 021B70 80020F70 AFB00020 */ sw $s0, 0x20($sp)
/* 021B74 80020F74 016C6821 */ addu $t5, $t3, $t4
/* 021B78 80020F78 000E2E03 */ sra $a1, $t6, 0x18
/* 021B7C 80020F7C 85AE0000 */ lh $t6, ($t5)
/* 021B80 80020F80 00023600 */ sll $a2, $v0, 0x18
/* 021B84 80020F84 2447FFFE */ addiu $a3, $v0, -2
/* 021B88 80020F88 0007CE00 */ sll $t9, $a3, 0x18
/* 021B8C 80020F8C 0006C603 */ sra $t8, $a2, 0x18
/* 021B90 80020F90 3C048016 */ lui $a0, %hi(D_80164AD0) # $a0, 0x8016
/* 021B94 80020F94 8C844AD0 */ lw $a0, %lo(D_80164AD0)($a0)
/* 021B98 80020F98 03003025 */ move $a2, $t8
/* 021B9C 80020F9C 00193E03 */ sra $a3, $t9, 0x18
/* 021BA0 80020FA0 0C009D58 */ jal func_80027560
/* 021BA4 80020FA4 AFAE0010 */ sw $t6, 0x10($sp)
/* 021BA8 80020FA8 3C04800E */ lui $a0, %hi(gPlayerOneCopy) # $a0, 0x800e
/* 021BAC 80020FAC 8C84C4FC */ lw $a0, %lo(gPlayerOneCopy)($a0)
/* 021BB0 80020FB0 00002825 */ move $a1, $zero
/* 021BB4 80020FB4 0C01B9D1 */ jal func_8006E744
/* 021BB8 80020FB8 24060003 */ li $a2, 3
/* 021BBC 80020FBC 3C04800E */ lui $a0, %hi(gPlayerTwo) # $a0, 0x800e
/* 021BC0 80020FC0 8C84C4E0 */ lw $a0, %lo(gPlayerTwo)($a0)
/* 021BC4 80020FC4 24050001 */ li $a1, 1
/* 021BC8 80020FC8 0C01B9D1 */ jal func_8006E744
/* 021BCC 80020FCC 24060003 */ li $a2, 3
/* 021BD0 80020FD0 3C04800E */ lui $a0, %hi(gPlayerThree) # $a0, 0x800e
/* 021BD4 80020FD4 8C84C4E4 */ lw $a0, %lo(gPlayerThree)($a0)
/* 021BD8 80020FD8 24050002 */ li $a1, 2
/* 021BDC 80020FDC 0C01B9D1 */ jal func_8006E744
/* 021BE0 80020FE0 24060003 */ li $a2, 3
/* 021BE4 80020FE4 3C04800E */ lui $a0, %hi(gPlayerFour) # $a0, 0x800e
/* 021BE8 80020FE8 8C84C4E8 */ lw $a0, %lo(gPlayerFour)($a0)
/* 021BEC 80020FEC 24050003 */ li $a1, 3
/* 021BF0 80020FF0 0C01B9D1 */ jal func_8006E744
/* 021BF4 80020FF4 24060003 */ li $a2, 3
/* 021BF8 80020FF8 3C148015 */ lui $s4, %hi(gDmaMesgQueue) # $s4, 0x8015
/* 021BFC 80020FFC 3C158015 */ lui $s5, %hi(gMainReceivedMesg) # $s5, 0x8015
/* 021C00 80021000 26B5F098 */ addiu $s5, %lo(gMainReceivedMesg) # addiu $s5, $s5, -0xf68
/* 021C04 80021004 2694EF58 */ addiu $s4, %lo(gDmaMesgQueue) # addiu $s4, $s4, -0x10a8
/* 021C08 80021008 02802025 */ move $a0, $s4
/* 021C0C 8002100C 02A02825 */ move $a1, $s5
/* 021C10 80021010 0C0335D4 */ jal osRecvMesg
/* 021C14 80021014 24060001 */ li $a2, 1
/* 021C18 80021018 3C16800E */ lui $s6, %hi(D_800DDB58) # $s6, 0x800e
/* 021C1C 8002101C 26D6DB58 */ addiu $s6, %lo(D_800DDB58) # addiu $s6, $s6, -0x24a8
/* 021C20 80021020 8EC20000 */ lw $v0, ($s6)
/* 021C24 80021024 24100001 */ li $s0, 1
/* 021C28 80021028 241E0920 */ li $fp, 2336
/* 021C2C 8002102C 28410002 */ slti $at, $v0, 2
/* 021C30 80021030 1420004D */ bnez $at, .L80021168
/* 021C34 80021034 3C17802E */ lui $s7, %hi(D_802DFB80) # $s7, 0x802e
/* 021C38 80021038 26F7FB80 */ addiu $s7, %lo(D_802DFB80) # addiu $s7, $s7, -0x480
.L8002103C:
/* 021C3C 8002103C 3C188016 */ lui $t8, %hi(D_80164AB0) # $t8, 0x8016
/* 021C40 80021040 27184AB0 */ addiu $t8, %lo(D_80164AB0) # addiu $t8, $t8, 0x4ab0
/* 021C44 80021044 00101840 */ sll $v1, $s0, 1
/* 021C48 80021048 3C0A8016 */ lui $t2, %hi(D_80164AC0) # $t2, 0x8016
/* 021C4C 8002104C 254A4AC0 */ addiu $t2, %lo(D_80164AC0) # addiu $t2, $t2, 0x4ac0
/* 021C50 80021050 00788821 */ addu $s1, $v1, $t8
/* 021C54 80021054 86280000 */ lh $t0, ($s1)
/* 021C58 80021058 006A9021 */ addu $s2, $v1, $t2
/* 021C5C 8002105C 86420000 */ lh $v0, ($s2)
/* 021C60 80021060 00107880 */ sll $t7, $s0, 2
/* 021C64 80021064 3C048016 */ lui $a0, %hi(D_80164AD0) # 0x8016
/* 021C68 80021068 25050004 */ addiu $a1, $t0, 4
/* 021C6C 8002106C 0005CE00 */ sll $t9, $a1, 0x18
/* 021C70 80021070 008F2021 */ addu $a0, $a0, $t7
/* 021C74 80021074 00027100 */ sll $t6, $v0, 4
/* 021C78 80021078 026E7821 */ addu $t7, $s3, $t6
/* 021C7C 8002107C 00192E03 */ sra $a1, $t9, 0x18
/* 021C80 80021080 0008C040 */ sll $t8, $t0, 1
/* 021C84 80021084 01F8C821 */ addu $t9, $t7, $t8
/* 021C88 80021088 87290000 */ lh $t1, ($t9)
/* 021C8C 8002108C 00023600 */ sll $a2, $v0, 0x18
/* 021C90 80021090 2447FFFE */ addiu $a3, $v0, -2
/* 021C94 80021094 00076600 */ sll $t4, $a3, 0x18
/* 021C98 80021098 00065E03 */ sra $t3, $a2, 0x18
/* 021C9C 8002109C 01603025 */ move $a2, $t3
/* 021CA0 800210A0 000C3E03 */ sra $a3, $t4, 0x18
/* 021CA4 800210A4 8C844AD0 */ lw $a0, %lo(D_80164AD0)($a0) # 0x4ad0
/* 021CA8 800210A8 0C009D58 */ jal func_80027560
/* 021CAC 800210AC AFA90010 */ sw $t1, 0x10($sp)
/* 021CB0 800210B0 8642FFFE */ lh $v0, -2($s2)
/* 021CB4 800210B4 8623FFFE */ lh $v1, -2($s1)
/* 021CB8 800210B8 3C01FFFF */ lui $at, (0xFFFF4000 >> 16) # lui $at, 0xffff
/* 021CBC 800210BC 00025100 */ sll $t2, $v0, 4
/* 021CC0 800210C0 026A5821 */ addu $t3, $s3, $t2
/* 021CC4 800210C4 00036040 */ sll $t4, $v1, 1
/* 021CC8 800210C8 016C6821 */ addu $t5, $t3, $t4
/* 021CCC 800210CC 85A60000 */ lh $a2, ($t5)
/* 021CD0 800210D0 007E0019 */ multu $v1, $fp
/* 021CD4 800210D4 0002C0C0 */ sll $t8, $v0, 3
/* 021CD8 800210D8 000670C0 */ sll $t6, $a2, 3
/* 021CDC 800210DC 01C67021 */ addu $t6, $t6, $a2
/* 021CE0 800210E0 000E70C0 */ sll $t6, $t6, 3
/* 021CE4 800210E4 0302C021 */ addu $t8, $t8, $v0
/* 021CE8 800210E8 0018C0C0 */ sll $t8, $t8, 3
/* 021CEC 800210EC 01C67021 */ addu $t6, $t6, $a2
/* 021CF0 800210F0 000E7240 */ sll $t6, $t6, 9
/* 021CF4 800210F4 0302C021 */ addu $t8, $t8, $v0
/* 021CF8 800210F8 0018C200 */ sll $t8, $t8, 8
/* 021CFC 800210FC 02EE7821 */ addu $t7, $s7, $t6
/* 021D00 80021100 01F8C821 */ addu $t9, $t7, $t8
/* 021D04 80021104 00025BC0 */ sll $t3, $v0, 0xf
/* 021D08 80021108 00065400 */ sll $t2, $a2, 0x10
/* 021D0C 8002110C 014B6021 */ addu $t4, $t2, $t3
/* 021D10 80021110 00036B00 */ sll $t5, $v1, 0xc
/* 021D14 80021114 018D7021 */ addu $t6, $t4, $t5
/* 021D18 80021118 3C18802C */ lui $t8, %hi(D_802BFB80) # $t8, 0x802c
/* 021D1C 8002111C 00004812 */ mflo $t1
/* 021D20 80021120 34214000 */ ori $at, (0xFFFF4000 & 0xFFFF) # ori $at, $at, 0x4000
/* 021D24 80021124 01C17821 */ addu $t7, $t6, $at
/* 021D28 80021128 03292021 */ addu $a0, $t9, $t1
/* 021D2C 8002112C 2718FB80 */ addiu $t8, %lo(D_802BFB80) # addiu $t8, $t8, -0x480
/* 021D30 80021130 01F82821 */ addu $a1, $t7, $t8
/* 021D34 80021134 0C010034 */ jal mio0decode
/* 021D38 80021138 24849280 */ addiu $a0, $a0, -0x6d80
/* 021D3C 8002113C 02802025 */ move $a0, $s4
/* 021D40 80021140 02A02825 */ move $a1, $s5
/* 021D44 80021144 0C0335D4 */ jal osRecvMesg
/* 021D48 80021148 24060001 */ li $a2, 1
/* 021D4C 8002114C 8EC20000 */ lw $v0, ($s6)
/* 021D50 80021150 26100001 */ addiu $s0, $s0, 1
/* 021D54 80021154 0010CC00 */ sll $t9, $s0, 0x10
/* 021D58 80021158 00198403 */ sra $s0, $t9, 0x10
/* 021D5C 8002115C 0202082A */ slt $at, $s0, $v0
/* 021D60 80021160 1420FFB6 */ bnez $at, .L8002103C
/* 021D64 80021164 00000000 */ nop
.L80021168:
/* 021D68 80021168 00023840 */ sll $a3, $v0, 1
/* 021D6C 8002116C 3C038016 */ lui $v1, %hi(D_80164ABE) # 0x8016
/* 021D70 80021170 00671821 */ addu $v1, $v1, $a3
/* 021D74 80021174 3C068016 */ lui $a2, %hi(D_80164AAE) # 0x8016
/* 021D78 80021178 84634ABE */ lh $v1, %lo(D_80164ABE)($v1) # 0x4abe
/* 021D7C 8002117C 00C73021 */ addu $a2, $a2, $a3
/* 021D80 80021180 84C64AAE */ lh $a2, %lo(D_80164AAE)($a2) # 0x4aae
/* 021D84 80021184 00035100 */ sll $t2, $v1, 4
/* 021D88 80021188 026A5821 */ addu $t3, $s3, $t2
/* 021D8C 8002118C 00066040 */ sll $t4, $a2, 1
/* 021D90 80021190 016C6821 */ addu $t5, $t3, $t4
/* 021D94 80021194 85A80000 */ lh $t0, ($t5)
/* 021D98 80021198 241E0920 */ li $fp, 2336
/* 021D9C 8002119C 00DE0019 */ multu $a2, $fp
/* 021DA0 800211A0 000870C0 */ sll $t6, $t0, 3
/* 021DA4 800211A4 0003C0C0 */ sll $t8, $v1, 3
/* 021DA8 800211A8 01C87021 */ addu $t6, $t6, $t0
/* 021DAC 800211AC 000E70C0 */ sll $t6, $t6, 3
/* 021DB0 800211B0 0303C021 */ addu $t8, $t8, $v1
/* 021DB4 800211B4 3C17802E */ lui $s7, %hi(D_802DFB80) # $s7, 0x802e
/* 021DB8 800211B8 0018C0C0 */ sll $t8, $t8, 3
/* 021DBC 800211BC 01C87021 */ addu $t6, $t6, $t0
/* 021DC0 800211C0 26F7FB80 */ addiu $s7, %lo(D_802DFB80) # addiu $s7, $s7, -0x480
/* 021DC4 800211C4 000E7240 */ sll $t6, $t6, 9
/* 021DC8 800211C8 0303C021 */ addu $t8, $t8, $v1
/* 021DCC 800211CC 0018C200 */ sll $t8, $t8, 8
/* 021DD0 800211D0 02EE7821 */ addu $t7, $s7, $t6
/* 021DD4 800211D4 01F8C821 */ addu $t9, $t7, $t8
/* 021DD8 800211D8 00035BC0 */ sll $t3, $v1, 0xf
/* 021DDC 800211DC 00085400 */ sll $t2, $t0, 0x10
/* 021DE0 800211E0 014B6021 */ addu $t4, $t2, $t3
/* 021DE4 800211E4 3C01FFFF */ lui $at, (0xFFFF4000 >> 16) # lui $at, 0xffff
/* 021DE8 800211E8 00066B00 */ sll $t5, $a2, 0xc
/* 021DEC 800211EC 018D7021 */ addu $t6, $t4, $t5
/* 021DF0 800211F0 34214000 */ ori $at, (0xFFFF4000 & 0xFFFF) # ori $at, $at, 0x4000
/* 021DF4 800211F4 3C18802C */ lui $t8, %hi(D_802BFB80) # $t8, 0x802c
/* 021DF8 800211F8 00004812 */ mflo $t1
/* 021DFC 800211FC 03292021 */ addu $a0, $t9, $t1
/* 021E00 80021200 2718FB80 */ addiu $t8, %lo(D_802BFB80) # addiu $t8, $t8, -0x480
/* 021E04 80021204 01C17821 */ addu $t7, $t6, $at
/* 021E08 80021208 01F82821 */ addu $a1, $t7, $t8
/* 021E0C 8002120C 0C010034 */ jal mio0decode
/* 021E10 80021210 24849280 */ addiu $a0, $a0, -0x6d80
/* 021E14 80021214 8FBF0044 */ lw $ra, 0x44($sp)
/* 021E18 80021218 8FB00020 */ lw $s0, 0x20($sp)
/* 021E1C 8002121C 8FB10024 */ lw $s1, 0x24($sp)
/* 021E20 80021220 8FB20028 */ lw $s2, 0x28($sp)
/* 021E24 80021224 8FB3002C */ lw $s3, 0x2c($sp)
/* 021E28 80021228 8FB40030 */ lw $s4, 0x30($sp)
/* 021E2C 8002122C 8FB50034 */ lw $s5, 0x34($sp)
/* 021E30 80021230 8FB60038 */ lw $s6, 0x38($sp)
/* 021E34 80021234 8FB7003C */ lw $s7, 0x3c($sp)
/* 021E38 80021238 8FBE0040 */ lw $fp, 0x40($sp)
/* 021E3C 8002123C 03E00008 */ jr $ra
/* 021E40 80021240 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,926 +0,0 @@
.section .late_rodata
glabel D_800ED6D0
.double 0.8
.section .text
glabel func_800248D0
/* 0254D0 800248D0 27BDFE18 */ addiu $sp, $sp, -0x1e8
/* 0254D4 800248D4 AFBF0034 */ sw $ra, 0x34($sp)
/* 0254D8 800248D8 AFB20030 */ sw $s2, 0x30($sp)
/* 0254DC 800248DC AFB1002C */ sw $s1, 0x2c($sp)
/* 0254E0 800248E0 AFB00028 */ sw $s0, 0x28($sp)
/* 0254E4 800248E4 AFA501EC */ sw $a1, 0x1ec($sp)
/* 0254E8 800248E8 AFA601F0 */ sw $a2, 0x1f0($sp)
/* 0254EC 800248EC AFA701F4 */ sw $a3, 0x1f4($sp)
/* 0254F0 800248F0 84980044 */ lh $t8, 0x44($a0)
/* 0254F4 800248F4 00068E00 */ sll $s1, $a2, 0x18
/* 0254F8 800248F8 00059600 */ sll $s2, $a1, 0x18
/* 0254FC 800248FC 00127603 */ sra $t6, $s2, 0x18
/* 025500 80024900 00117E03 */ sra $t7, $s1, 0x18
/* 025504 80024904 33192000 */ andi $t9, $t8, 0x2000
/* 025508 80024908 01E08825 */ move $s1, $t7
/* 02550C 8002490C 01C09025 */ move $s2, $t6
/* 025510 80024910 1320002C */ beqz $t9, .L800249C4
/* 025514 80024914 00808025 */ move $s0, $a0
/* 025518 80024918 000F7040 */ sll $t6, $t7, 1
/* 02551C 8002491C A7A0014C */ sh $zero, 0x14c($sp)
/* 025520 80024920 008E1021 */ addu $v0, $a0, $t6
/* 025524 80024924 844F0048 */ lh $t7, 0x48($v0)
/* 025528 80024928 3C013FC0 */ li $at, 0x3FC00000 # 1.500000
/* 02552C 8002492C 44800000 */ mtc1 $zero, $f0
/* 025530 80024930 44812000 */ mtc1 $at, $f4
/* 025534 80024934 A7A00150 */ sh $zero, 0x150($sp)
/* 025538 80024938 A7AF014E */ sh $t7, 0x14e($sp)
/* 02553C 8002493C E7A00014 */ swc1 $f0, 0x14($sp)
/* 025540 80024940 E7A40010 */ swc1 $f4, 0x10($sp)
/* 025544 80024944 84580048 */ lh $t8, 0x48($v0)
/* 025548 80024948 44070000 */ mfc1 $a3, $f0
/* 02554C 8002494C 27A40148 */ addiu $a0, $sp, 0x148
/* 025550 80024950 0018C823 */ negu $t9, $t8
/* 025554 80024954 AFB90018 */ sw $t9, 0x18($sp)
/* 025558 80024958 844E0050 */ lh $t6, 0x50($v0)
/* 02555C 8002495C 27A50144 */ addiu $a1, $sp, 0x144
/* 025560 80024960 27A60140 */ addiu $a2, $sp, 0x140
/* 025564 80024964 0C018AC6 */ jal func_80062B18
/* 025568 80024968 AFAE001C */ sw $t6, 0x1c($sp)
/* 02556C 8002496C C6060018 */ lwc1 $f6, 0x18($s0)
/* 025570 80024970 C6080070 */ lwc1 $f8, 0x70($s0)
/* 025574 80024974 C7B20144 */ lwc1 $f18, 0x144($sp)
/* 025578 80024978 3C014000 */ li $at, 0x40000000 # 2.000000
/* 02557C 8002497C 46083281 */ sub.s $f10, $f6, $f8
/* 025580 80024980 44803000 */ mtc1 $zero, $f6
/* 025584 80024984 44813800 */ mtc1 $at, $f7
/* 025588 80024988 46009121 */ cvt.d.s $f4, $f18
/* 02558C 8002498C 46005421 */ cvt.d.s $f16, $f10
/* 025590 80024990 46262201 */ sub.d $f8, $f4, $f6
/* 025594 80024994 C7A60148 */ lwc1 $f6, 0x148($sp)
/* 025598 80024998 46288280 */ add.d $f10, $f16, $f8
/* 02559C 8002499C 462054A0 */ cvt.s.d $f18, $f10
/* 0255A0 800249A0 C7AA0140 */ lwc1 $f10, 0x140($sp)
/* 0255A4 800249A4 E7B20158 */ swc1 $f18, 0x158($sp)
/* 0255A8 800249A8 C6040014 */ lwc1 $f4, 0x14($s0)
/* 0255AC 800249AC 46062400 */ add.s $f16, $f4, $f6
/* 0255B0 800249B0 E7B00154 */ swc1 $f16, 0x154($sp)
/* 0255B4 800249B4 C608001C */ lwc1 $f8, 0x1c($s0)
/* 0255B8 800249B8 460A4480 */ add.s $f18, $f8, $f10
/* 0255BC 800249BC 1000007A */ b .L80024BA8
/* 0255C0 800249C0 E7B2015C */ swc1 $f18, 0x15c($sp)
.L800249C4:
/* 0255C4 800249C4 00117840 */ sll $t7, $s1, 1
/* 0255C8 800249C8 020F1021 */ addu $v0, $s0, $t7
/* 0255CC 800249CC 84590048 */ lh $t9, 0x48($v0)
/* 0255D0 800249D0 8618002E */ lh $t8, 0x2e($s0)
/* 0255D4 800249D4 860F00C0 */ lh $t7, 0xc0($s0)
/* 0255D8 800249D8 AFA20044 */ sw $v0, 0x44($sp)
/* 0255DC 800249DC 03197021 */ addu $t6, $t8, $t9
/* 0255E0 800249E0 01CFC821 */ addu $t9, $t6, $t7
/* 0255E4 800249E4 0C0AE006 */ jal sins
/* 0255E8 800249E8 3324FFFF */ andi $a0, $t9, 0xffff
/* 0255EC 800249EC 8FA20044 */ lw $v0, 0x44($sp)
/* 0255F0 800249F0 24010008 */ li $at, 8
/* 0255F4 800249F4 3C198016 */ lui $t9, %hi(cameras+0x24) # 0x8016
/* 0255F8 800249F8 844E00CC */ lh $t6, 0xcc($v0)
/* 0255FC 800249FC 448E2000 */ mtc1 $t6, $f4
/* 025600 80024A00 8E0E00BC */ lw $t6, 0xbc($s0)
/* 025604 80024A04 468021A0 */ cvt.s.w $f6, $f4
/* 025608 80024A08 31CF0008 */ andi $t7, $t6, 8
/* 02560C 80024A0C 46060402 */ mul.s $f16, $f0, $f6
/* 025610 80024A10 4600820D */ trunc.w.s $f8, $f16
/* 025614 80024A14 44034000 */ mfc1 $v1, $f8
/* 025618 80024A18 00000000 */ nop
/* 02561C 80024A1C 0003C400 */ sll $t8, $v1, 0x10
/* 025620 80024A20 15E1000B */ bne $t7, $at, .L80024A50
/* 025624 80024A24 00181C03 */ sra $v1, $t8, 0x10
/* 025628 80024A28 0011C080 */ sll $t8, $s1, 2
/* 02562C 80024A2C 0311C023 */ subu $t8, $t8, $s1
/* 025630 80024A30 0018C0C0 */ sll $t8, $t8, 3
/* 025634 80024A34 0311C023 */ subu $t8, $t8, $s1
/* 025638 80024A38 0018C0C0 */ sll $t8, $t8, 3
/* 02563C 80024A3C 0338C821 */ addu $t9, $t9, $t8
/* 025640 80024A40 87394714 */ lh $t9, %lo(cameras+0x24)($t9) # 0x4714
/* 025644 80024A44 272EC000 */ addiu $t6, $t9, -0x4000
/* 025648 80024A48 1000000B */ b .L80024A78
/* 02564C 80024A4C A7AE014C */ sh $t6, 0x14c($sp)
.L80024A50:
/* 025650 80024A50 00037823 */ negu $t7, $v1
/* 025654 80024A54 448F5000 */ mtc1 $t7, $f10
/* 025658 80024A58 3C01800F */ lui $at, %hi(D_800ED6D0)
/* 02565C 80024A5C D424D6D0 */ ldc1 $f4, %lo(D_800ED6D0)($at)
/* 025660 80024A60 468054A1 */ cvt.d.w $f18, $f10
/* 025664 80024A64 46249182 */ mul.d $f6, $f18, $f4
/* 025668 80024A68 4620340D */ trunc.w.d $f16, $f6
/* 02566C 80024A6C 44198000 */ mfc1 $t9, $f16
/* 025670 80024A70 00000000 */ nop
/* 025674 80024A74 A7B9014C */ sh $t9, 0x14c($sp)
.L80024A78:
/* 025678 80024A78 844E0048 */ lh $t6, 0x48($v0)
/* 02567C 80024A7C 3C010400 */ lui $at, 0x400
/* 025680 80024A80 A7AE014E */ sh $t6, 0x14e($sp)
/* 025684 80024A84 844F0050 */ lh $t7, 0x50($v0)
/* 025688 80024A88 A7AF0150 */ sh $t7, 0x150($sp)
/* 02568C 80024A8C 8E1800BC */ lw $t8, 0xbc($s0)
/* 025690 80024A90 0301C824 */ and $t9, $t8, $at
/* 025694 80024A94 1721001E */ bne $t9, $at, .L80024B10
/* 025698 80024A98 3C014100 */ li $at, 0x41000000 # 8.000000
/* 02569C 80024A9C 44800000 */ mtc1 $zero, $f0
/* 0256A0 80024AA0 44814000 */ mtc1 $at, $f8
/* 0256A4 80024AA4 27A40148 */ addiu $a0, $sp, 0x148
/* 0256A8 80024AA8 E7A00014 */ swc1 $f0, 0x14($sp)
/* 0256AC 80024AAC E7A80010 */ swc1 $f8, 0x10($sp)
/* 0256B0 80024AB0 844E0048 */ lh $t6, 0x48($v0)
/* 0256B4 80024AB4 44070000 */ mfc1 $a3, $f0
/* 0256B8 80024AB8 27A50144 */ addiu $a1, $sp, 0x144
/* 0256BC 80024ABC 000E7823 */ negu $t7, $t6
/* 0256C0 80024AC0 AFAF0018 */ sw $t7, 0x18($sp)
/* 0256C4 80024AC4 84580050 */ lh $t8, 0x50($v0)
/* 0256C8 80024AC8 27A60140 */ addiu $a2, $sp, 0x140
/* 0256CC 80024ACC 0C018AC6 */ jal func_80062B18
/* 0256D0 80024AD0 AFB8001C */ sw $t8, 0x1c($sp)
/* 0256D4 80024AD4 C60A0018 */ lwc1 $f10, 0x18($s0)
/* 0256D8 80024AD8 C6120070 */ lwc1 $f18, 0x70($s0)
/* 0256DC 80024ADC C6060108 */ lwc1 $f6, 0x108($s0)
/* 0256E0 80024AE0 46125101 */ sub.s $f4, $f10, $f18
/* 0256E4 80024AE4 C7AA0148 */ lwc1 $f10, 0x148($sp)
/* 0256E8 80024AE8 46062400 */ add.s $f16, $f4, $f6
/* 0256EC 80024AEC C7A60140 */ lwc1 $f6, 0x140($sp)
/* 0256F0 80024AF0 E7B00158 */ swc1 $f16, 0x158($sp)
/* 0256F4 80024AF4 C6080014 */ lwc1 $f8, 0x14($s0)
/* 0256F8 80024AF8 460A4480 */ add.s $f18, $f8, $f10
/* 0256FC 80024AFC E7B20154 */ swc1 $f18, 0x154($sp)
/* 025700 80024B00 C604001C */ lwc1 $f4, 0x1c($s0)
/* 025704 80024B04 46062400 */ add.s $f16, $f4, $f6
/* 025708 80024B08 10000027 */ b .L80024BA8
/* 02570C 80024B0C E7B0015C */ swc1 $f16, 0x15c($sp)
.L80024B10:
/* 025710 80024B10 3C013FC0 */ li $at, 0x3FC00000 # 1.500000
/* 025714 80024B14 44800000 */ mtc1 $zero, $f0
/* 025718 80024B18 44814000 */ mtc1 $at, $f8
/* 02571C 80024B1C 27A40148 */ addiu $a0, $sp, 0x148
/* 025720 80024B20 E7A00014 */ swc1 $f0, 0x14($sp)
/* 025724 80024B24 E7A80010 */ swc1 $f8, 0x10($sp)
/* 025728 80024B28 84590048 */ lh $t9, 0x48($v0)
/* 02572C 80024B2C 44070000 */ mfc1 $a3, $f0
/* 025730 80024B30 27A50144 */ addiu $a1, $sp, 0x144
/* 025734 80024B34 00197023 */ negu $t6, $t9
/* 025738 80024B38 AFAE0018 */ sw $t6, 0x18($sp)
/* 02573C 80024B3C 844F0050 */ lh $t7, 0x50($v0)
/* 025740 80024B40 27A60140 */ addiu $a2, $sp, 0x140
/* 025744 80024B44 0C018AC6 */ jal func_80062B18
/* 025748 80024B48 AFAF001C */ sw $t7, 0x1c($sp)
/* 02574C 80024B4C C60A0018 */ lwc1 $f10, 0x18($s0)
/* 025750 80024B50 C6120070 */ lwc1 $f18, 0x70($s0)
/* 025754 80024B54 C6060108 */ lwc1 $f6, 0x108($s0)
/* 025758 80024B58 3C014000 */ li $at, 0x40000000 # 2.000000
/* 02575C 80024B5C 46125101 */ sub.s $f4, $f10, $f18
/* 025760 80024B60 C7AA0144 */ lwc1 $f10, 0x144($sp)
/* 025764 80024B64 44812800 */ mtc1 $at, $f5
/* 025768 80024B68 46062400 */ add.s $f16, $f4, $f6
/* 02576C 80024B6C 44802000 */ mtc1 $zero, $f4
/* 025770 80024B70 460054A1 */ cvt.d.s $f18, $f10
/* 025774 80024B74 46008221 */ cvt.d.s $f8, $f16
/* 025778 80024B78 46249181 */ sub.d $f6, $f18, $f4
/* 02577C 80024B7C C7A40148 */ lwc1 $f4, 0x148($sp)
/* 025780 80024B80 46264400 */ add.d $f16, $f8, $f6
/* 025784 80024B84 462082A0 */ cvt.s.d $f10, $f16
/* 025788 80024B88 C7B00140 */ lwc1 $f16, 0x140($sp)
/* 02578C 80024B8C E7AA0158 */ swc1 $f10, 0x158($sp)
/* 025790 80024B90 C6120014 */ lwc1 $f18, 0x14($s0)
/* 025794 80024B94 46049200 */ add.s $f8, $f18, $f4
/* 025798 80024B98 E7A80154 */ swc1 $f8, 0x154($sp)
/* 02579C 80024B9C C606001C */ lwc1 $f6, 0x1c($s0)
/* 0257A0 80024BA0 46103280 */ add.s $f10, $f6, $f16
/* 0257A4 80024BA4 E7AA015C */ swc1 $f10, 0x15c($sp)
.L80024BA8:
/* 0257A8 80024BA8 00124040 */ sll $t0, $s2, 1
/* 0257AC 80024BAC 0011C100 */ sll $t8, $s1, 4
/* 0257B0 80024BB0 0308C821 */ addu $t9, $t8, $t0
/* 0257B4 80024BB4 3C038016 */ lui $v1, %hi(D_801651D0) # 0x8016
/* 0257B8 80024BB8 00791821 */ addu $v1, $v1, $t9
/* 0257BC 80024BBC 846351D0 */ lh $v1, %lo(D_801651D0)($v1) # 0x51d0
/* 0257C0 80024BC0 00117B00 */ sll $t7, $s1, 0xc
/* 0257C4 80024BC4 3C19802F */ lui $t9, %hi(D_802F1F80) # $t9, 0x802f
/* 0257C8 80024BC8 00037380 */ sll $t6, $v1, 0xe
/* 0257CC 80024BCC 01CFC021 */ addu $t8, $t6, $t7
/* 0257D0 80024BD0 00127240 */ sll $t6, $s2, 9
/* 0257D4 80024BD4 030E7821 */ addu $t7, $t8, $t6
/* 0257D8 80024BD8 27391F80 */ addiu $t9, %lo(D_802F1F80) # addiu $t9, $t9, 0x1f80
/* 0257DC 80024BDC 01F9C021 */ addu $t8, $t7, $t9
/* 0257E0 80024BE0 3C018016 */ lui $at, %hi(D_80164B04) # $at, 0x8016
/* 0257E4 80024BE4 12200004 */ beqz $s1, .L80024BF8
/* 0257E8 80024BE8 AC384B04 */ sw $t8, %lo(D_80164B04)($at)
/* 0257EC 80024BEC 24010001 */ li $at, 1
/* 0257F0 80024BF0 1621000F */ bne $s1, $at, .L80024C30
/* 0257F4 80024BF4 0003C400 */ sll $t8, $v1, 0x10
.L80024BF8:
/* 0257F8 80024BF8 00037400 */ sll $t6, $v1, 0x10
/* 0257FC 80024BFC 00117BC0 */ sll $t7, $s1, 0xf
/* 025800 80024C00 01CFC821 */ addu $t9, $t6, $t7
/* 025804 80024C04 3C0F802C */ lui $t7, %hi(D_802BFB80) # $t7, 0x802c
/* 025808 80024C08 0012C300 */ sll $t8, $s2, 0xc
/* 02580C 80024C0C 03387021 */ addu $t6, $t9, $t8
/* 025810 80024C10 25EFFB80 */ addiu $t7, %lo(D_802BFB80) # addiu $t7, $t7, -0x480
/* 025814 80024C14 01CF1021 */ addu $v0, $t6, $t7
/* 025818 80024C18 3C018016 */ lui $at, %hi(D_80164B08) # $at, 0x8016
/* 02581C 80024C1C AC224B08 */ sw $v0, %lo(D_80164B08)($at)
/* 025820 80024C20 3C018016 */ lui $at, %hi(D_80164B0C) # $at, 0x8016
/* 025824 80024C24 245907C0 */ addiu $t9, $v0, 0x7c0
/* 025828 80024C28 10000012 */ b .L80024C74
/* 02582C 80024C2C AC394B0C */ sw $t9, %lo(D_80164B0C)($at)
.L80024C30:
/* 025830 80024C30 001173C0 */ sll $t6, $s1, 0xf
/* 025834 80024C34 030E7821 */ addu $t7, $t8, $t6
/* 025838 80024C38 3C0E802C */ lui $t6, %hi(D_802BFB80) # $t6, 0x802c
/* 02583C 80024C3C 0012CB00 */ sll $t9, $s2, 0xc
/* 025840 80024C40 01F9C021 */ addu $t8, $t7, $t9
/* 025844 80024C44 25CEFB80 */ addiu $t6, %lo(D_802BFB80) # addiu $t6, $t6, -0x480
/* 025848 80024C48 3C01FFFF */ lui $at, (0xFFFF4000 >> 16) # lui $at, 0xffff
/* 02584C 80024C4C 34214000 */ ori $at, (0xFFFF4000 & 0xFFFF) # ori $at, $at, 0x4000
/* 025850 80024C50 030E1021 */ addu $v0, $t8, $t6
/* 025854 80024C54 00417821 */ addu $t7, $v0, $at
/* 025858 80024C58 3C018016 */ lui $at, %hi(D_80164B08) # $at, 0x8016
/* 02585C 80024C5C AC2F4B08 */ sw $t7, %lo(D_80164B08)($at)
/* 025860 80024C60 3C01FFFF */ lui $at, (0xFFFF47C0 >> 16) # lui $at, 0xffff
/* 025864 80024C64 342147C0 */ ori $at, (0xFFFF47C0 & 0xFFFF) # ori $at, $at, 0x47c0
/* 025868 80024C68 0041C821 */ addu $t9, $v0, $at
/* 02586C 80024C6C 3C018016 */ lui $at, %hi(D_80164B0C) # $at, 0x8016
/* 025870 80024C70 AC394B0C */ sw $t9, %lo(D_80164B0C)($at)
.L80024C74:
/* 025874 80024C74 27A401A4 */ addiu $a0, $sp, 0x1a4
/* 025878 80024C78 27A50154 */ addiu $a1, $sp, 0x154
/* 02587C 80024C7C 27A6014C */ addiu $a2, $sp, 0x14c
/* 025880 80024C80 0C008784 */ jal func_80021E10
/* 025884 80024C84 AFA80044 */ sw $t0, 0x44($sp)
/* 025888 80024C88 96180254 */ lhu $t8, 0x254($s0)
/* 02588C 80024C8C 3C01800E */ lui $at, %hi(D_800DDBD4)
/* 025890 80024C90 C6040224 */ lwc1 $f4, 0x224($s0)
/* 025894 80024C94 00187080 */ sll $t6, $t8, 2
/* 025898 80024C98 002E0821 */ addu $at, $at, $t6
/* 02589C 80024C9C C432DBD4 */ lwc1 $f18, %lo(D_800DDBD4)($at)
/* 0258A0 80024CA0 27A401A4 */ addiu $a0, $sp, 0x1a4
/* 0258A4 80024CA4 46049202 */ mul.s $f8, $f18, $f4
/* 0258A8 80024CA8 44054000 */ mfc1 $a1, $f8
/* 0258AC 80024CAC 0C0087E1 */ jal func_80021F84
/* 0258B0 80024CB0 00000000 */ nop
/* 0258B4 80024CB4 3C198015 */ lui $t9, %hi(gGfxPool) # $t9, 0x8015
/* 0258B8 80024CB8 8F39EF40 */ lw $t9, %lo(gGfxPool)($t9)
/* 0258BC 80024CBC 0220F825 */ move $ra, $s1
/* 0258C0 80024CC0 001F7A40 */ sll $t7, $ra, 9
/* 0258C4 80024CC4 0012C180 */ sll $t8, $s2, 6
/* 0258C8 80024CC8 03387021 */ addu $t6, $t9, $t8
/* 0258CC 80024CCC 01CF2021 */ addu $a0, $t6, $t7
/* 0258D0 80024CD0 01E0F825 */ move $ra, $t7
/* 0258D4 80024CD4 3401F2C0 */ li $at, 62144
/* 0258D8 80024CD8 00812021 */ addu $a0, $a0, $at
/* 0258DC 80024CDC AFAF0040 */ sw $t7, 0x40($sp)
/* 0258E0 80024CE0 0C008860 */ jal func_80022180
/* 0258E4 80024CE4 27A501A4 */ addiu $a1, $sp, 0x1a4
/* 0258E8 80024CE8 8E0F00BC */ lw $t7, 0xbc($s0)
/* 0258EC 80024CEC 3C028000 */ lui $v0, 0x8000
/* 0258F0 80024CF0 8FA80044 */ lw $t0, 0x44($sp)
/* 0258F4 80024CF4 01E2C824 */ and $t9, $t7, $v0
/* 0258F8 80024CF8 145900E6 */ bne $v0, $t9, .L80025094
/* 0258FC 80024CFC 8FBF0040 */ lw $ra, 0x40($sp)
/* 025900 80024D00 16320072 */ bne $s1, $s2, .L80024ECC
/* 025904 80024D04 3C038015 */ lui $v1, %hi(gDisplayListHead) # 0x8015
/* 025908 80024D08 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 02590C 80024D0C 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 025910 80024D10 8C620000 */ lw $v0, ($v1)
/* 025914 80024D14 3C0E0102 */ lui $t6, (0x01020040 >> 16) # lui $t6, 0x102
/* 025918 80024D18 35CE0040 */ ori $t6, (0x01020040 & 0xFFFF) # ori $t6, $t6, 0x40
/* 02591C 80024D1C 24580008 */ addiu $t8, $v0, 8
/* 025920 80024D20 AC780000 */ sw $t8, ($v1)
/* 025924 80024D24 3C0F8015 */ lui $t7, %hi(gGfxPool) # $t7, 0x8015
/* 025928 80024D28 AC4E0000 */ sw $t6, ($v0)
/* 02592C 80024D2C 8DEFEF40 */ lw $t7, %lo(gGfxPool)($t7)
/* 025930 80024D30 0012C980 */ sll $t9, $s2, 6
/* 025934 80024D34 3401F2C0 */ li $at, 62144
/* 025938 80024D38 01F9C021 */ addu $t8, $t7, $t9
/* 02593C 80024D3C 031F7021 */ addu $t6, $t8, $ra
/* 025940 80024D40 01C17821 */ addu $t7, $t6, $at
/* 025944 80024D44 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 025948 80024D48 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 02594C 80024D4C 01E1C824 */ and $t9, $t7, $at
/* 025950 80024D50 AC590004 */ sw $t9, 4($v0)
/* 025954 80024D54 8C620000 */ lw $v0, ($v1)
/* 025958 80024D58 3C0F0D01 */ lui $t7, %hi(D_0D008CD8) # $t7, 0xd01
/* 02595C 80024D5C 25EF8CD8 */ addiu $t7, %lo(D_0D008CD8) # addiu $t7, $t7, -0x7328
/* 025960 80024D60 24580008 */ addiu $t8, $v0, 8
/* 025964 80024D64 AC780000 */ sw $t8, ($v1)
/* 025968 80024D68 3C0E0600 */ lui $t6, 0x600
/* 02596C 80024D6C AC4E0000 */ sw $t6, ($v0)
/* 025970 80024D70 AC4F0004 */ sw $t7, 4($v0)
/* 025974 80024D74 8C620000 */ lw $v0, ($v1)
/* 025978 80024D78 3C18FD10 */ lui $t8, 0xfd10
/* 02597C 80024D7C 3C0E8016 */ lui $t6, %hi(D_80164B04) # $t6, 0x8016
/* 025980 80024D80 24590008 */ addiu $t9, $v0, 8
/* 025984 80024D84 AC790000 */ sw $t9, ($v1)
/* 025988 80024D88 AC580000 */ sw $t8, ($v0)
/* 02598C 80024D8C 8DCE4B04 */ lw $t6, %lo(D_80164B04)($t6)
/* 025990 80024D90 3C19E800 */ lui $t9, 0xe800
/* 025994 80024D94 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016
/* 025998 80024D98 AC4E0004 */ sw $t6, 4($v0)
/* 02599C 80024D9C 8C620000 */ lw $v0, ($v1)
/* 0259A0 80024DA0 3C0EF500 */ lui $t6, (0xF5000100 >> 16) # lui $t6, 0xf500
/* 0259A4 80024DA4 35CE0100 */ ori $t6, (0xF5000100 & 0xFFFF) # ori $t6, $t6, 0x100
/* 0259A8 80024DA8 244F0008 */ addiu $t7, $v0, 8
/* 0259AC 80024DAC AC6F0000 */ sw $t7, ($v1)
/* 0259B0 80024DB0 AC400004 */ sw $zero, 4($v0)
/* 0259B4 80024DB4 AC590000 */ sw $t9, ($v0)
/* 0259B8 80024DB8 8C620000 */ lw $v0, ($v1)
/* 0259BC 80024DBC 3C0F0700 */ lui $t7, 0x700
/* 0259C0 80024DC0 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 0259C4 80024DC4 24580008 */ addiu $t8, $v0, 8
/* 0259C8 80024DC8 AC780000 */ sw $t8, ($v1)
/* 0259CC 80024DCC AC4F0004 */ sw $t7, 4($v0)
/* 0259D0 80024DD0 AC4E0000 */ sw $t6, ($v0)
/* 0259D4 80024DD4 8C620000 */ lw $v0, ($v1)
/* 0259D8 80024DD8 3C18E600 */ lui $t8, 0xe600
/* 0259DC 80024DDC 3C0FF000 */ lui $t7, 0xf000
/* 0259E0 80024DE0 24590008 */ addiu $t9, $v0, 8
/* 0259E4 80024DE4 AC790000 */ sw $t9, ($v1)
/* 0259E8 80024DE8 AC400004 */ sw $zero, 4($v0)
/* 0259EC 80024DEC AC580000 */ sw $t8, ($v0)
/* 0259F0 80024DF0 8C620000 */ lw $v0, ($v1)
/* 0259F4 80024DF4 3C19073F */ lui $t9, (0x073FC000 >> 16) # lui $t9, 0x73f
/* 0259F8 80024DF8 3739C000 */ ori $t9, (0x073FC000 & 0xFFFF) # ori $t9, $t9, 0xc000
/* 0259FC 80024DFC 244E0008 */ addiu $t6, $v0, 8
/* 025A00 80024E00 AC6E0000 */ sw $t6, ($v1)
/* 025A04 80024E04 AC590004 */ sw $t9, 4($v0)
/* 025A08 80024E08 AC4F0000 */ sw $t7, ($v0)
/* 025A0C 80024E0C 8C620000 */ lw $v0, ($v1)
/* 025A10 80024E10 3C0EE700 */ lui $t6, 0xe700
/* 025A14 80024E14 3C19BA00 */ lui $t9, (0xBA000E02 >> 16) # lui $t9, 0xba00
/* 025A18 80024E18 24580008 */ addiu $t8, $v0, 8
/* 025A1C 80024E1C AC780000 */ sw $t8, ($v1)
/* 025A20 80024E20 AC400004 */ sw $zero, 4($v0)
/* 025A24 80024E24 AC4E0000 */ sw $t6, ($v0)
/* 025A28 80024E28 8C620000 */ lw $v0, ($v1)
/* 025A2C 80024E2C 34188000 */ li $t8, 32768
/* 025A30 80024E30 37390E02 */ ori $t9, (0xBA000E02 & 0xFFFF) # ori $t9, $t9, 0xe02
/* 025A34 80024E34 244F0008 */ addiu $t7, $v0, 8
/* 025A38 80024E38 AC6F0000 */ sw $t7, ($v1)
/* 025A3C 80024E3C AC580004 */ sw $t8, 4($v0)
/* 025A40 80024E40 AC590000 */ sw $t9, ($v0)
/* 025A44 80024E44 3C0F8016 */ lui $t7, %hi(D_80164B60) # 0x8016
/* 025A48 80024E48 3C0E8016 */ lui $t6, %hi(D_80164B50) # 0x8016
/* 025A4C 80024E4C 01C87021 */ addu $t6, $t6, $t0
/* 025A50 80024E50 01E87821 */ addu $t7, $t7, $t0
/* 025A54 80024E54 95EF4B60 */ lhu $t7, %lo(D_80164B60)($t7) # 0x4b60($t7)
/* 025A58 80024E58 95CE4B50 */ lhu $t6, %lo(D_80164B50)($t6) # 0x4b50($t6)
/* 025A5C 80024E5C 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 025A60 80024E60 AFAF0014 */ sw $t7, 0x14($sp)
/* 025A64 80024E64 AFAE0010 */ sw $t6, 0x10($sp)
/* 025A68 80024E68 861900C6 */ lh $t9, 0xc6($s0)
/* 025A6C 80024E6C 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 025A70 80024E70 00E83821 */ addu $a3, $a3, $t0
/* 025A74 80024E74 00C83021 */ addu $a2, $a2, $t0
/* 025A78 80024E78 00A82821 */ addu $a1, $a1, $t0
/* 025A7C 80024E7C 00882021 */ addu $a0, $a0, $t0
/* 025A80 80024E80 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 025A84 80024E84 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 025A88 80024E88 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 025A8C 80024E8C 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 025A90 80024E90 0C012D85 */ jal func_8004B614
/* 025A94 80024E94 AFB90018 */ sw $t9, 0x18($sp)
/* 025A98 80024E98 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 025A9C 80024E9C 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 025AA0 80024EA0 8C620000 */ lw $v0, ($v1)
/* 025AA4 80024EA4 3C0EB900 */ lui $t6, (0xB900031D >> 16) # lui $t6, 0xb900
/* 025AA8 80024EA8 3C0F0050 */ lui $t7, (0x00505978 >> 16) # lui $t7, 0x50
/* 025AAC 80024EAC 24580008 */ addiu $t8, $v0, 8
/* 025AB0 80024EB0 AC780000 */ sw $t8, ($v1)
/* 025AB4 80024EB4 35EF5978 */ ori $t7, (0x00505978 & 0xFFFF) # ori $t7, $t7, 0x5978
/* 025AB8 80024EB8 35CE031D */ ori $t6, (0xB900031D & 0xFFFF) # ori $t6, $t6, 0x31d
/* 025ABC 80024EBC 00128080 */ sll $s0, $s2, 2
/* 025AC0 80024EC0 AC4E0000 */ sw $t6, ($v0)
/* 025AC4 80024EC4 10000166 */ b .L80025460
/* 025AC8 80024EC8 AC4F0004 */ sw $t7, 4($v0)
.L80024ECC:
/* 025ACC 80024ECC 24630298 */ addiu $v1, $v1, %lo(gDisplayListHead) # 0x298
/* 025AD0 80024ED0 8C620000 */ lw $v0, ($v1)
/* 025AD4 80024ED4 3C180102 */ lui $t8, (0x01020040 >> 16) # lui $t8, 0x102
/* 025AD8 80024ED8 37180040 */ ori $t8, (0x01020040 & 0xFFFF) # ori $t8, $t8, 0x40
/* 025ADC 80024EDC 24590008 */ addiu $t9, $v0, 8
/* 025AE0 80024EE0 AC790000 */ sw $t9, ($v1)
/* 025AE4 80024EE4 3C0E8015 */ lui $t6, %hi(gGfxPool) # $t6, 0x8015
/* 025AE8 80024EE8 AC580000 */ sw $t8, ($v0)
/* 025AEC 80024EEC 8DCEEF40 */ lw $t6, %lo(gGfxPool)($t6)
/* 025AF0 80024EF0 00127980 */ sll $t7, $s2, 6
/* 025AF4 80024EF4 3401F2C0 */ li $at, 62144
/* 025AF8 80024EF8 01CFC821 */ addu $t9, $t6, $t7
/* 025AFC 80024EFC 033FC021 */ addu $t8, $t9, $ra
/* 025B00 80024F00 03017021 */ addu $t6, $t8, $at
/* 025B04 80024F04 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 025B08 80024F08 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 025B0C 80024F0C 01C17824 */ and $t7, $t6, $at
/* 025B10 80024F10 AC4F0004 */ sw $t7, 4($v0)
/* 025B14 80024F14 8C620000 */ lw $v0, ($v1)
/* 025B18 80024F18 3C0E0D01 */ lui $t6, %hi(D_0D008CD8) # $t6, 0xd01
/* 025B1C 80024F1C 25CE8CD8 */ addiu $t6, %lo(D_0D008CD8) # addiu $t6, $t6, -0x7328
/* 025B20 80024F20 24590008 */ addiu $t9, $v0, 8
/* 025B24 80024F24 AC790000 */ sw $t9, ($v1)
/* 025B28 80024F28 3C180600 */ lui $t8, 0x600
/* 025B2C 80024F2C AC580000 */ sw $t8, ($v0)
/* 025B30 80024F30 AC4E0004 */ sw $t6, 4($v0)
/* 025B34 80024F34 8C620000 */ lw $v0, ($v1)
/* 025B38 80024F38 3C19FD10 */ lui $t9, 0xfd10
/* 025B3C 80024F3C 3C188016 */ lui $t8, %hi(D_80164B04) # $t8, 0x8016
/* 025B40 80024F40 244F0008 */ addiu $t7, $v0, 8
/* 025B44 80024F44 AC6F0000 */ sw $t7, ($v1)
/* 025B48 80024F48 AC590000 */ sw $t9, ($v0)
/* 025B4C 80024F4C 8F184B04 */ lw $t8, %lo(D_80164B04)($t8)
/* 025B50 80024F50 3C0FE800 */ lui $t7, 0xe800
/* 025B54 80024F54 00128080 */ sll $s0, $s2, 2
/* 025B58 80024F58 AC580004 */ sw $t8, 4($v0)
/* 025B5C 80024F5C 8C620000 */ lw $v0, ($v1)
/* 025B60 80024F60 3C18F500 */ lui $t8, (0xF5000100 >> 16) # lui $t8, 0xf500
/* 025B64 80024F64 37180100 */ ori $t8, (0xF5000100 & 0xFFFF) # ori $t8, $t8, 0x100
/* 025B68 80024F68 244E0008 */ addiu $t6, $v0, 8
/* 025B6C 80024F6C AC6E0000 */ sw $t6, ($v1)
/* 025B70 80024F70 AC400004 */ sw $zero, 4($v0)
/* 025B74 80024F74 AC4F0000 */ sw $t7, ($v0)
/* 025B78 80024F78 8C620000 */ lw $v0, ($v1)
/* 025B7C 80024F7C 3C0E0700 */ lui $t6, 0x700
/* 025B80 80024F80 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016 # fake pointer?
/* 025B84 80024F84 24590008 */ addiu $t9, $v0, 8
/* 025B88 80024F88 AC790000 */ sw $t9, ($v1)
/* 025B8C 80024F8C AC4E0004 */ sw $t6, 4($v0)
/* 025B90 80024F90 AC580000 */ sw $t8, ($v0)
/* 025B94 80024F94 8C620000 */ lw $v0, ($v1)
/* 025B98 80024F98 3C19E600 */ lui $t9, 0xe600
/* 025B9C 80024F9C 3C0EF000 */ lui $t6, 0xf000
/* 025BA0 80024FA0 244F0008 */ addiu $t7, $v0, 8
/* 025BA4 80024FA4 AC6F0000 */ sw $t7, ($v1)
/* 025BA8 80024FA8 AC400004 */ sw $zero, 4($v0)
/* 025BAC 80024FAC AC590000 */ sw $t9, ($v0)
/* 025BB0 80024FB0 8C620000 */ lw $v0, ($v1)
/* 025BB4 80024FB4 3C0F073F */ lui $t7, (0x073FC000 >> 16) # lui $t7, 0x73f
/* 025BB8 80024FB8 35EFC000 */ ori $t7, (0x073FC000 & 0xFFFF) # ori $t7, $t7, 0xc000
/* 025BBC 80024FBC 24580008 */ addiu $t8, $v0, 8
/* 025BC0 80024FC0 AC780000 */ sw $t8, ($v1)
/* 025BC4 80024FC4 AC4F0004 */ sw $t7, 4($v0)
/* 025BC8 80024FC8 AC4E0000 */ sw $t6, ($v0)
/* 025BCC 80024FCC 8C620000 */ lw $v0, ($v1)
/* 025BD0 80024FD0 3C18E700 */ lui $t8, 0xe700
/* 025BD4 80024FD4 3C0FBA00 */ lui $t7, (0xBA000E02 >> 16) # lui $t7, 0xba00
/* 025BD8 80024FD8 24590008 */ addiu $t9, $v0, 8
/* 025BDC 80024FDC AC790000 */ sw $t9, ($v1)
/* 025BE0 80024FE0 AC400004 */ sw $zero, 4($v0)
/* 025BE4 80024FE4 AC580000 */ sw $t8, ($v0)
/* 025BE8 80024FE8 8C620000 */ lw $v0, ($v1)
/* 025BEC 80024FEC 35EF0E02 */ ori $t7, (0xBA000E02 & 0xFFFF) # ori $t7, $t7, 0xe02
/* 025BF0 80024FF0 34198000 */ li $t9, 32768
/* 025BF4 80024FF4 244E0008 */ addiu $t6, $v0, 8
/* 025BF8 80024FF8 AC6E0000 */ sw $t6, ($v1)
/* 025BFC 80024FFC AC4F0000 */ sw $t7, ($v0)
/* 025C00 80025000 AC590004 */ sw $t9, 4($v0)
/* 025C04 80025004 3C0F8019 */ lui $t7, %hi(D_8018D970) # 0x8019
/* 025C08 80025008 3C0E8016 */ lui $t6, %hi(D_80164B60) # 0x8016
/* 025C0C 8002500C 3C188016 */ lui $t8, %hi(D_80164B50) # 0x8016
/* 025C10 80025010 0308C021 */ addu $t8, $t8, $t0
/* 025C14 80025014 01C87021 */ addu $t6, $t6, $t0
/* 025C18 80025018 01F07821 */ addu $t7, $t7, $s0
/* 025C1C 8002501C 8DEFD970 */ lw $t7, %lo(D_8018D970)($t7) # -0x2690
/* 025C20 80025020 95CE4B60 */ lhu $t6, %lo(D_80164B60)($t6) # 0x4b60
/* 025C24 80025024 97184B50 */ lhu $t8, %lo(D_80164B50)($t8) # 0x4b50
/* 025C28 80025028 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 025C2C 8002502C 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 025C30 80025030 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 025C34 80025034 00E83821 */ addu $a3, $a3, $t0
/* 025C38 80025038 00C83021 */ addu $a2, $a2, $t0
/* 025C3C 8002503C 00A82821 */ addu $a1, $a1, $t0
/* 025C40 80025040 00882021 */ addu $a0, $a0, $t0
/* 025C44 80025044 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 025C48 80025048 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 025C4C 8002504C 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 025C50 80025050 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 025C54 80025054 AFAF0018 */ sw $t7, 0x18($sp)
/* 025C58 80025058 AFAE0014 */ sw $t6, 0x14($sp)
/* 025C5C 8002505C 0C012D85 */ jal func_8004B614
/* 025C60 80025060 AFB80010 */ sw $t8, 0x10($sp)
/* 025C64 80025064 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 025C68 80025068 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 025C6C 8002506C 8C620000 */ lw $v0, ($v1)
/* 025C70 80025070 3C18B900 */ lui $t8, (0xB900031D >> 16) # lui $t8, 0xb900
/* 025C74 80025074 3C0E0050 */ lui $t6, (0x00505978 >> 16) # lui $t6, 0x50
/* 025C78 80025078 24590008 */ addiu $t9, $v0, 8
/* 025C7C 8002507C AC790000 */ sw $t9, ($v1)
/* 025C80 80025080 35CE5978 */ ori $t6, (0x00505978 & 0xFFFF) # ori $t6, $t6, 0x5978
/* 025C84 80025084 3718031D */ ori $t8, (0xB900031D & 0xFFFF) # ori $t8, $t8, 0x31d
/* 025C88 80025088 AC580000 */ sw $t8, ($v0)
/* 025C8C 8002508C 100000F4 */ b .L80025460
/* 025C90 80025090 AC4E0004 */ sw $t6, 4($v0)
.L80025094:
/* 025C94 80025094 860F00CA */ lh $t7, 0xca($s0)
/* 025C98 80025098 24010004 */ li $at, 4
/* 025C9C 8002509C 31F90004 */ andi $t9, $t7, 4
/* 025CA0 800250A0 13210007 */ beq $t9, $at, .L800250C0
/* 025CA4 800250A4 00000000 */ nop
/* 025CA8 800250A8 8E02000C */ lw $v0, 0xc($s0)
/* 025CAC 800250AC 0002C100 */ sll $t8, $v0, 4
/* 025CB0 800250B0 07000003 */ bltz $t8, .L800250C0
/* 025CB4 800250B4 00027140 */ sll $t6, $v0, 5
/* 025CB8 800250B8 05C1007A */ bgez $t6, .L800252A4
/* 025CBC 800250BC 3C038015 */ lui $v1, %hi(gDisplayListHead) # 0x8015
.L800250C0:
/* 025CC0 800250C0 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 025CC4 800250C4 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 025CC8 800250C8 8C620000 */ lw $v0, ($v1)
/* 025CCC 800250CC 3C190102 */ lui $t9, (0x01020040 >> 16) # lui $t9, 0x102
/* 025CD0 800250D0 37390040 */ ori $t9, (0x01020040 & 0xFFFF) # ori $t9, $t9, 0x40
/* 025CD4 800250D4 244F0008 */ addiu $t7, $v0, 8
/* 025CD8 800250D8 AC6F0000 */ sw $t7, ($v1)
/* 025CDC 800250DC 3C188015 */ lui $t8, %hi(gGfxPool) # $t8, 0x8015
/* 025CE0 800250E0 AC590000 */ sw $t9, ($v0)
/* 025CE4 800250E4 8F18EF40 */ lw $t8, %lo(gGfxPool)($t8)
/* 025CE8 800250E8 00127180 */ sll $t6, $s2, 6
/* 025CEC 800250EC 3401F2C0 */ li $at, 62144
/* 025CF0 800250F0 030E7821 */ addu $t7, $t8, $t6
/* 025CF4 800250F4 01FFC821 */ addu $t9, $t7, $ra
/* 025CF8 800250F8 0321C021 */ addu $t8, $t9, $at
/* 025CFC 800250FC 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 025D00 80025100 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 025D04 80025104 03017024 */ and $t6, $t8, $at
/* 025D08 80025108 AC4E0004 */ sw $t6, 4($v0)
/* 025D0C 8002510C 8C620000 */ lw $v0, ($v1)
/* 025D10 80025110 3C180D01 */ lui $t8, %hi(D_0D008CD8) # $t8, 0xd01
/* 025D14 80025114 27188CD8 */ addiu $t8, %lo(D_0D008CD8) # addiu $t8, $t8, -0x7328
/* 025D18 80025118 244F0008 */ addiu $t7, $v0, 8
/* 025D1C 8002511C AC6F0000 */ sw $t7, ($v1)
/* 025D20 80025120 3C190600 */ lui $t9, 0x600
/* 025D24 80025124 AC590000 */ sw $t9, ($v0)
/* 025D28 80025128 AC580004 */ sw $t8, 4($v0)
/* 025D2C 8002512C 8C620000 */ lw $v0, ($v1)
/* 025D30 80025130 3C0FFD10 */ lui $t7, 0xfd10
/* 025D34 80025134 3C198016 */ lui $t9, %hi(D_80164B04) # $t9, 0x8016
/* 025D38 80025138 244E0008 */ addiu $t6, $v0, 8
/* 025D3C 8002513C AC6E0000 */ sw $t6, ($v1)
/* 025D40 80025140 AC4F0000 */ sw $t7, ($v0)
/* 025D44 80025144 8F394B04 */ lw $t9, %lo(D_80164B04)($t9)
/* 025D48 80025148 3C0EE800 */ lui $t6, 0xe800
/* 025D4C 8002514C 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016
/* 025D50 80025150 AC590004 */ sw $t9, 4($v0)
/* 025D54 80025154 8C620000 */ lw $v0, ($v1)
/* 025D58 80025158 3C19F500 */ lui $t9, (0xF5000100 >> 16) # lui $t9, 0xf500
/* 025D5C 8002515C 37390100 */ ori $t9, (0xF5000100 & 0xFFFF) # ori $t9, $t9, 0x100
/* 025D60 80025160 24580008 */ addiu $t8, $v0, 8
/* 025D64 80025164 AC780000 */ sw $t8, ($v1)
/* 025D68 80025168 AC400004 */ sw $zero, 4($v0)
/* 025D6C 8002516C AC4E0000 */ sw $t6, ($v0)
/* 025D70 80025170 8C620000 */ lw $v0, ($v1)
/* 025D74 80025174 3C180700 */ lui $t8, 0x700
/* 025D78 80025178 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 025D7C 8002517C 244F0008 */ addiu $t7, $v0, 8
/* 025D80 80025180 AC6F0000 */ sw $t7, ($v1)
/* 025D84 80025184 AC580004 */ sw $t8, 4($v0)
/* 025D88 80025188 AC590000 */ sw $t9, ($v0)
/* 025D8C 8002518C 8C620000 */ lw $v0, ($v1)
/* 025D90 80025190 3C0FE600 */ lui $t7, 0xe600
/* 025D94 80025194 3C18F000 */ lui $t8, 0xf000
/* 025D98 80025198 244E0008 */ addiu $t6, $v0, 8
/* 025D9C 8002519C AC6E0000 */ sw $t6, ($v1)
/* 025DA0 800251A0 AC400004 */ sw $zero, 4($v0)
/* 025DA4 800251A4 AC4F0000 */ sw $t7, ($v0)
/* 025DA8 800251A8 8C620000 */ lw $v0, ($v1)
/* 025DAC 800251AC 3C0E073F */ lui $t6, (0x073FC000 >> 16) # lui $t6, 0x73f
/* 025DB0 800251B0 35CEC000 */ ori $t6, (0x073FC000 & 0xFFFF) # ori $t6, $t6, 0xc000
/* 025DB4 800251B4 24590008 */ addiu $t9, $v0, 8
/* 025DB8 800251B8 AC790000 */ sw $t9, ($v1)
/* 025DBC 800251BC AC4E0004 */ sw $t6, 4($v0)
/* 025DC0 800251C0 AC580000 */ sw $t8, ($v0)
/* 025DC4 800251C4 8C620000 */ lw $v0, ($v1)
/* 025DC8 800251C8 3C19E700 */ lui $t9, 0xe700
/* 025DCC 800251CC 3C0EBA00 */ lui $t6, (0xBA000E02 >> 16) # lui $t6, 0xba00
/* 025DD0 800251D0 244F0008 */ addiu $t7, $v0, 8
/* 025DD4 800251D4 AC6F0000 */ sw $t7, ($v1)
/* 025DD8 800251D8 AC400004 */ sw $zero, 4($v0)
/* 025DDC 800251DC AC590000 */ sw $t9, ($v0)
/* 025DE0 800251E0 8C620000 */ lw $v0, ($v1)
/* 025DE4 800251E4 340F8000 */ li $t7, 32768
/* 025DE8 800251E8 35CE0E02 */ ori $t6, (0xBA000E02 & 0xFFFF) # ori $t6, $t6, 0xe02
/* 025DEC 800251EC 24580008 */ addiu $t8, $v0, 8
/* 025DF0 800251F0 AC780000 */ sw $t8, ($v1)
/* 025DF4 800251F4 AC4F0004 */ sw $t7, 4($v0)
/* 025DF8 800251F8 AC4E0000 */ sw $t6, ($v0)
/* 025DFC 800251FC 3C188016 */ lui $t8, %hi(D_80164B60) # 0x8016
/* 025E00 80025200 3C198016 */ lui $t9, %hi(D_80164B50) # 0x8016
/* 025E04 80025204 0328C821 */ addu $t9, $t9, $t0
/* 025E08 80025208 0308C021 */ addu $t8, $t8, $t0
/* 025E0C 8002520C 97184B60 */ lhu $t8, %lo(D_80164B60)($t8) # 0x4b60
/* 025E10 80025210 97394B50 */ lhu $t9, %lo(D_80164B50)($t9) # 0x4b50
/* 025E14 80025214 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 025E18 80025218 AFB80014 */ sw $t8, 0x14($sp)
/* 025E1C 8002521C AFB90010 */ sw $t9, 0x10($sp)
/* 025E20 80025220 860E00C6 */ lh $t6, 0xc6($s0)
/* 025E24 80025224 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 025E28 80025228 00E83821 */ addu $a3, $a3, $t0
/* 025E2C 8002522C 00C83021 */ addu $a2, $a2, $t0
/* 025E30 80025230 00A82821 */ addu $a1, $a1, $t0
/* 025E34 80025234 00882021 */ addu $a0, $a0, $t0
/* 025E38 80025238 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 025E3C 8002523C 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 025E40 80025240 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 025E44 80025244 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 025E48 80025248 0C012D85 */ jal func_8004B614
/* 025E4C 8002524C AFAE0018 */ sw $t6, 0x18($sp)
/* 025E50 80025250 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 025E54 80025254 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 025E58 80025258 8C620000 */ lw $v0, ($v1)
/* 025E5C 8002525C 3C19B900 */ lui $t9, (0xB9000002 >> 16) # lui $t9, 0xb900
/* 025E60 80025260 37390002 */ ori $t9, (0xB9000002 & 0xFFFF) # ori $t9, $t9, 2
/* 025E64 80025264 244F0008 */ addiu $t7, $v0, 8
/* 025E68 80025268 AC6F0000 */ sw $t7, ($v1)
/* 025E6C 8002526C 24180003 */ li $t8, 3
/* 025E70 80025270 AC580004 */ sw $t8, 4($v0)
/* 025E74 80025274 AC590000 */ sw $t9, ($v0)
/* 025E78 80025278 8C620000 */ lw $v0, ($v1)
/* 025E7C 8002527C 3C190050 */ lui $t9, (0x00504A50 >> 16) # lui $t9, 0x50
/* 025E80 80025280 3C0FB900 */ lui $t7, (0xB900031D >> 16) # lui $t7, 0xb900
/* 025E84 80025284 244E0008 */ addiu $t6, $v0, 8
/* 025E88 80025288 AC6E0000 */ sw $t6, ($v1)
/* 025E8C 8002528C 35EF031D */ ori $t7, (0xB900031D & 0xFFFF) # ori $t7, $t7, 0x31d
/* 025E90 80025290 37394A50 */ ori $t9, (0x00504A50 & 0xFFFF) # ori $t9, $t9, 0x4a50
/* 025E94 80025294 00128080 */ sll $s0, $s2, 2
/* 025E98 80025298 AC590004 */ sw $t9, 4($v0)
/* 025E9C 8002529C 10000070 */ b .L80025460
/* 025EA0 800252A0 AC4F0000 */ sw $t7, ($v0)
.L800252A4:
/* 025EA4 800252A4 24630298 */ addiu $v1, $v1, %lo(gDisplayListHead) # 0x298
/* 025EA8 800252A8 8C620000 */ lw $v0, ($v1)
/* 025EAC 800252AC 3C0E0102 */ lui $t6, (0x01020040 >> 16) # lui $t6, 0x102
/* 025EB0 800252B0 35CE0040 */ ori $t6, (0x01020040 & 0xFFFF) # ori $t6, $t6, 0x40
/* 025EB4 800252B4 24580008 */ addiu $t8, $v0, 8
/* 025EB8 800252B8 AC780000 */ sw $t8, ($v1)
/* 025EBC 800252BC 3C0F8015 */ lui $t7, %hi(gGfxPool) # $t7, 0x8015
/* 025EC0 800252C0 AC4E0000 */ sw $t6, ($v0)
/* 025EC4 800252C4 8DEFEF40 */ lw $t7, %lo(gGfxPool)($t7)
/* 025EC8 800252C8 0012C980 */ sll $t9, $s2, 6
/* 025ECC 800252CC 3401F2C0 */ li $at, 62144
/* 025ED0 800252D0 01F9C021 */ addu $t8, $t7, $t9
/* 025ED4 800252D4 031F7021 */ addu $t6, $t8, $ra
/* 025ED8 800252D8 01C17821 */ addu $t7, $t6, $at
/* 025EDC 800252DC 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 025EE0 800252E0 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 025EE4 800252E4 01E1C824 */ and $t9, $t7, $at
/* 025EE8 800252E8 AC590004 */ sw $t9, 4($v0)
/* 025EEC 800252EC 8C620000 */ lw $v0, ($v1)
/* 025EF0 800252F0 3C0F0D01 */ lui $t7, %hi(D_0D008CD8) # $t7, 0xd01
/* 025EF4 800252F4 25EF8CD8 */ addiu $t7, %lo(D_0D008CD8) # addiu $t7, $t7, -0x7328
/* 025EF8 800252F8 24580008 */ addiu $t8, $v0, 8
/* 025EFC 800252FC AC780000 */ sw $t8, ($v1)
/* 025F00 80025300 3C0E0600 */ lui $t6, 0x600
/* 025F04 80025304 AC4E0000 */ sw $t6, ($v0)
/* 025F08 80025308 AC4F0004 */ sw $t7, 4($v0)
/* 025F0C 8002530C 8C620000 */ lw $v0, ($v1)
/* 025F10 80025310 3C18FD10 */ lui $t8, 0xfd10
/* 025F14 80025314 3C0E8016 */ lui $t6, %hi(D_80164B04) # $t6, 0x8016
/* 025F18 80025318 24590008 */ addiu $t9, $v0, 8
/* 025F1C 8002531C AC790000 */ sw $t9, ($v1)
/* 025F20 80025320 AC580000 */ sw $t8, ($v0)
/* 025F24 80025324 8DCE4B04 */ lw $t6, %lo(D_80164B04)($t6)
/* 025F28 80025328 3C19E800 */ lui $t9, 0xe800
/* 025F2C 8002532C 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016
/* 025F30 80025330 AC4E0004 */ sw $t6, 4($v0)
/* 025F34 80025334 8C620000 */ lw $v0, ($v1)
/* 025F38 80025338 3C0EF500 */ lui $t6, (0xF5000100 >> 16) # lui $t6, 0xf500
/* 025F3C 8002533C 35CE0100 */ ori $t6, (0xF5000100 & 0xFFFF) # ori $t6, $t6, 0x100
/* 025F40 80025340 244F0008 */ addiu $t7, $v0, 8
/* 025F44 80025344 AC6F0000 */ sw $t7, ($v1)
/* 025F48 80025348 AC400004 */ sw $zero, 4($v0)
/* 025F4C 8002534C AC590000 */ sw $t9, ($v0)
/* 025F50 80025350 8C620000 */ lw $v0, ($v1)
/* 025F54 80025354 3C0F0700 */ lui $t7, 0x700
/* 025F58 80025358 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 025F5C 8002535C 24580008 */ addiu $t8, $v0, 8
/* 025F60 80025360 AC780000 */ sw $t8, ($v1)
/* 025F64 80025364 AC4F0004 */ sw $t7, 4($v0)
/* 025F68 80025368 AC4E0000 */ sw $t6, ($v0)
/* 025F6C 8002536C 8C620000 */ lw $v0, ($v1)
/* 025F70 80025370 3C18E600 */ lui $t8, 0xe600
/* 025F74 80025374 3C0FF000 */ lui $t7, 0xf000
/* 025F78 80025378 24590008 */ addiu $t9, $v0, 8
/* 025F7C 8002537C AC790000 */ sw $t9, ($v1)
/* 025F80 80025380 AC400004 */ sw $zero, 4($v0)
/* 025F84 80025384 AC580000 */ sw $t8, ($v0)
/* 025F88 80025388 8C620000 */ lw $v0, ($v1)
/* 025F8C 8002538C 3C19073F */ lui $t9, (0x073FC000 >> 16) # lui $t9, 0x73f
/* 025F90 80025390 3739C000 */ ori $t9, (0x073FC000 & 0xFFFF) # ori $t9, $t9, 0xc000
/* 025F94 80025394 244E0008 */ addiu $t6, $v0, 8
/* 025F98 80025398 AC6E0000 */ sw $t6, ($v1)
/* 025F9C 8002539C AC590004 */ sw $t9, 4($v0)
/* 025FA0 800253A0 AC4F0000 */ sw $t7, ($v0)
/* 025FA4 800253A4 8C620000 */ lw $v0, ($v1)
/* 025FA8 800253A8 3C0EE700 */ lui $t6, 0xe700
/* 025FAC 800253AC 3C19BA00 */ lui $t9, (0xBA000E02 >> 16) # lui $t9, 0xba00
/* 025FB0 800253B0 24580008 */ addiu $t8, $v0, 8
/* 025FB4 800253B4 AC780000 */ sw $t8, ($v1)
/* 025FB8 800253B8 AC400004 */ sw $zero, 4($v0)
/* 025FBC 800253BC AC4E0000 */ sw $t6, ($v0)
/* 025FC0 800253C0 8C620000 */ lw $v0, ($v1)
/* 025FC4 800253C4 34188000 */ li $t8, 32768
/* 025FC8 800253C8 37390E02 */ ori $t9, (0xBA000E02 & 0xFFFF) # ori $t9, $t9, 0xe02
/* 025FCC 800253CC 244F0008 */ addiu $t7, $v0, 8
/* 025FD0 800253D0 AC6F0000 */ sw $t7, ($v1)
/* 025FD4 800253D4 AC580004 */ sw $t8, 4($v0)
/* 025FD8 800253D8 AC590000 */ sw $t9, ($v0)
/* 025FDC 800253DC 3C0F8016 */ lui $t7, %hi(D_80164B60) # 0x8016
/* 025FE0 800253E0 3C0E8016 */ lui $t6, %hi(D_80164B50) # 0x8016
/* 025FE4 800253E4 01C87021 */ addu $t6, $t6, $t0
/* 025FE8 800253E8 01E87821 */ addu $t7, $t7, $t0
/* 025FEC 800253EC 95EF4B60 */ lhu $t7, %lo(D_80164B60)($t7) # 0x4b60
/* 025FF0 800253F0 95CE4B50 */ lhu $t6, %lo(D_80164B50)($t6) # 0x4b50
/* 025FF4 800253F4 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 025FF8 800253F8 AFAF0014 */ sw $t7, 0x14($sp)
/* 025FFC 800253FC AFAE0010 */ sw $t6, 0x10($sp)
/* 026000 80025400 861900C6 */ lh $t9, 0xc6($s0)
/* 026004 80025404 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 026008 80025408 00E83821 */ addu $a3, $a3, $t0
/* 02600C 8002540C 00C83021 */ addu $a2, $a2, $t0
/* 026010 80025410 00A82821 */ addu $a1, $a1, $t0
/* 026014 80025414 00882021 */ addu $a0, $a0, $t0
/* 026018 80025418 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 02601C 8002541C 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 026020 80025420 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 026024 80025424 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 026028 80025428 0C012D85 */ jal func_8004B614
/* 02602C 8002542C AFB90018 */ sw $t9, 0x18($sp)
/* 026030 80025430 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 026034 80025434 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 026038 80025438 8C620000 */ lw $v0, ($v1)
/* 02603C 8002543C 3C0EB900 */ lui $t6, (0xB900031D >> 16) # lui $t6, 0xb900
/* 026040 80025440 3C0F0055 */ lui $t7, (0x00553078 >> 16) # lui $t7, 0x55
/* 026044 80025444 24580008 */ addiu $t8, $v0, 8
/* 026048 80025448 AC780000 */ sw $t8, ($v1)
/* 02604C 8002544C 35EF3078 */ ori $t7, (0x00553078 & 0xFFFF) # ori $t7, $t7, 0x3078
/* 026050 80025450 35CE031D */ ori $t6, (0xB900031D & 0xFFFF) # ori $t6, $t6, 0x31d
/* 026054 80025454 00128080 */ sll $s0, $s2, 2
/* 026058 80025458 AC4E0000 */ sw $t6, ($v0)
/* 02605C 8002545C AC4F0004 */ sw $t7, 4($v0)
.L80025460:
/* 026060 80025460 8C620000 */ lw $v0, ($v1)
/* 026064 80025464 3C11FD50 */ lui $s1, 0xfd50
/* 026068 80025468 3C188016 */ lui $t8, %hi(D_80164B08) # $t8, 0x8016
/* 02606C 8002546C 24590008 */ addiu $t9, $v0, 8
/* 026070 80025470 AC790000 */ sw $t9, ($v1)
/* 026074 80025474 AC510000 */ sw $s1, ($v0)
/* 026078 80025478 8F184B08 */ lw $t8, %lo(D_80164B08)($t8)
/* 02607C 8002547C 3C0F0708 */ lui $t7, (0x07080200 >> 16) # lui $t7, 0x708
/* 026080 80025480 3C12F550 */ lui $s2, 0xf550
/* 026084 80025484 AC580004 */ sw $t8, 4($v0)
/* 026088 80025488 8C620000 */ lw $v0, ($v1)
/* 02608C 8002548C 35EF0200 */ ori $t7, (0x07080200 & 0xFFFF) # ori $t7, $t7, 0x200
/* 026090 80025490 3C18E600 */ lui $t8, 0xe600
/* 026094 80025494 244E0008 */ addiu $t6, $v0, 8
/* 026098 80025498 AC6E0000 */ sw $t6, ($v1)
/* 02609C 8002549C AC4F0004 */ sw $t7, 4($v0)
/* 0260A0 800254A0 AC520000 */ sw $s2, ($v0)
/* 0260A4 800254A4 8C620000 */ lw $v0, ($v1)
/* 0260A8 800254A8 3C0FF300 */ lui $t7, 0xf300
/* 0260AC 800254AC 3C1F0D01 */ lui $ra, %hi(D_0D008C78) # $ra, 0xd01
/* 0260B0 800254B0 24590008 */ addiu $t9, $v0, 8
/* 0260B4 800254B4 AC790000 */ sw $t9, ($v1)
/* 0260B8 800254B8 AC400004 */ sw $zero, 4($v0)
/* 0260BC 800254BC AC580000 */ sw $t8, ($v0)
/* 0260C0 800254C0 8C620000 */ lw $v0, ($v1)
/* 0260C4 800254C4 3C19073F */ lui $t9, (0x073FF100 >> 16) # lui $t9, 0x73f
/* 0260C8 800254C8 3739F100 */ ori $t9, (0x073FF100 & 0xFFFF) # ori $t9, $t9, 0xf100
/* 0260CC 800254CC 244E0008 */ addiu $t6, $v0, 8
/* 0260D0 800254D0 AC6E0000 */ sw $t6, ($v1)
/* 0260D4 800254D4 AC590004 */ sw $t9, 4($v0)
/* 0260D8 800254D8 AC4F0000 */ sw $t7, ($v0)
/* 0260DC 800254DC 8C620000 */ lw $v0, ($v1)
/* 0260E0 800254E0 3C0EE700 */ lui $t6, 0xe700
/* 0260E4 800254E4 3C19F548 */ lui $t9, (0xF5481000 >> 16) # lui $t9, 0xf548
/* 0260E8 800254E8 24580008 */ addiu $t8, $v0, 8
/* 0260EC 800254EC AC780000 */ sw $t8, ($v1)
/* 0260F0 800254F0 AC400004 */ sw $zero, 4($v0)
/* 0260F4 800254F4 AC4E0000 */ sw $t6, ($v0)
/* 0260F8 800254F8 8C620000 */ lw $v0, ($v1)
/* 0260FC 800254FC 3C180008 */ lui $t8, (0x00080200 >> 16) # lui $t8, 8
/* 026100 80025500 37180200 */ ori $t8, (0x00080200 & 0xFFFF) # ori $t8, $t8, 0x200
/* 026104 80025504 244F0008 */ addiu $t7, $v0, 8
/* 026108 80025508 AC6F0000 */ sw $t7, ($v1)
/* 02610C 8002550C 37391000 */ ori $t9, (0xF5481000 & 0xFFFF) # ori $t9, $t9, 0x1000
/* 026110 80025510 AC590000 */ sw $t9, ($v0)
/* 026114 80025514 AC580004 */ sw $t8, 4($v0)
/* 026118 80025518 8C620000 */ lw $v0, ($v1)
/* 02611C 8002551C 3C19000F */ lui $t9, (0x000FC07C >> 16) # lui $t9, 0xf
/* 026120 80025520 3739C07C */ ori $t9, (0x000FC07C & 0xFFFF) # ori $t9, $t9, 0xc07c
/* 026124 80025524 244E0008 */ addiu $t6, $v0, 8
/* 026128 80025528 AC6E0000 */ sw $t6, ($v1)
/* 02612C 8002552C 3C0FF200 */ lui $t7, 0xf200
/* 026130 80025530 AC4F0000 */ sw $t7, ($v0)
/* 026134 80025534 AC590004 */ sw $t9, 4($v0)
/* 026138 80025538 8C620000 */ lw $v0, ($v1)
/* 02613C 8002553C 3C0E0400 */ lui $t6, (0x0400103F >> 16) # lui $t6, 0x400
/* 026140 80025540 35CE103F */ ori $t6, (0x0400103F & 0xFFFF) # ori $t6, $t6, 0x103f
/* 026144 80025544 24580008 */ addiu $t8, $v0, 8
/* 026148 80025548 AC780000 */ sw $t8, ($v1)
/* 02614C 8002554C 3C0F800E */ lui $t7, %hi(D_800DDBB4) # $t7, 0x800e
/* 026150 80025550 25EFDBB4 */ addiu $t7, %lo(D_800DDBB4) # addiu $t7, $t7, -0x244c
/* 026154 80025554 AC4E0000 */ sw $t6, ($v0)
/* 026158 80025558 83B801F7 */ lb $t8, 0x1f7($sp)
/* 02615C 8002555C 020F6821 */ addu $t5, $s0, $t7
/* 026160 80025560 8DB90000 */ lw $t9, ($t5)
/* 026164 80025564 00187100 */ sll $t6, $t8, 4
/* 026168 80025568 27FF8C78 */ addiu $ra, %lo(D_0D008C78) # addiu $ra, $ra, -0x7388
/* 02616C 8002556C 032E7821 */ addu $t7, $t9, $t6
/* 026170 80025570 AC4F0004 */ sw $t7, 4($v0)
/* 026174 80025574 8C620000 */ lw $v0, ($v1)
/* 026178 80025578 3C190600 */ lui $t9, 0x600
/* 02617C 8002557C 3C0F8016 */ lui $t7, %hi(D_80164B0C) # $t7, 0x8016
/* 026180 80025580 24580008 */ addiu $t8, $v0, 8
/* 026184 80025584 AC780000 */ sw $t8, ($v1)
/* 026188 80025588 AC5F0004 */ sw $ra, 4($v0)
/* 02618C 8002558C AC590000 */ sw $t9, ($v0)
/* 026190 80025590 8C620000 */ lw $v0, ($v1)
/* 026194 80025594 3C190708 */ lui $t9, (0x07080200 >> 16) # lui $t9, 0x708
/* 026198 80025598 37390200 */ ori $t9, (0x07080200 & 0xFFFF) # ori $t9, $t9, 0x200
/* 02619C 8002559C 244E0008 */ addiu $t6, $v0, 8
/* 0261A0 800255A0 AC6E0000 */ sw $t6, ($v1)
/* 0261A4 800255A4 AC510000 */ sw $s1, ($v0)
/* 0261A8 800255A8 8DEF4B0C */ lw $t7, %lo(D_80164B0C)($t7)
/* 0261AC 800255AC AC4F0004 */ sw $t7, 4($v0)
/* 0261B0 800255B0 8C620000 */ lw $v0, ($v1)
/* 0261B4 800255B4 3C0FE600 */ lui $t7, 0xe600
/* 0261B8 800255B8 24580008 */ addiu $t8, $v0, 8
/* 0261BC 800255BC AC780000 */ sw $t8, ($v1)
/* 0261C0 800255C0 AC590004 */ sw $t9, 4($v0)
/* 0261C4 800255C4 AC520000 */ sw $s2, ($v0)
/* 0261C8 800255C8 8C620000 */ lw $v0, ($v1)
/* 0261CC 800255CC 3C19F300 */ lui $t9, 0xf300
/* 0261D0 800255D0 244E0008 */ addiu $t6, $v0, 8
/* 0261D4 800255D4 AC6E0000 */ sw $t6, ($v1)
/* 0261D8 800255D8 AC400004 */ sw $zero, 4($v0)
/* 0261DC 800255DC AC4F0000 */ sw $t7, ($v0)
/* 0261E0 800255E0 8C620000 */ lw $v0, ($v1)
/* 0261E4 800255E4 3C0E073F */ lui $t6, (0x073FF100 >> 16) # lui $t6, 0x73f
/* 0261E8 800255E8 35CEF100 */ ori $t6, (0x073FF100 & 0xFFFF) # ori $t6, $t6, 0xf100
/* 0261EC 800255EC 24580008 */ addiu $t8, $v0, 8
/* 0261F0 800255F0 AC780000 */ sw $t8, ($v1)
/* 0261F4 800255F4 AC4E0004 */ sw $t6, 4($v0)
/* 0261F8 800255F8 AC590000 */ sw $t9, ($v0)
/* 0261FC 800255FC 8C620000 */ lw $v0, ($v1)
/* 026200 80025600 3C18E700 */ lui $t8, 0xe700
/* 026204 80025604 3C0EF548 */ lui $t6, (0xF5481000 >> 16) # lui $t6, 0xf548
/* 026208 80025608 244F0008 */ addiu $t7, $v0, 8
/* 02620C 8002560C AC6F0000 */ sw $t7, ($v1)
/* 026210 80025610 AC400004 */ sw $zero, 4($v0)
/* 026214 80025614 AC580000 */ sw $t8, ($v0)
/* 026218 80025618 8C620000 */ lw $v0, ($v1)
/* 02621C 8002561C 3C0F0008 */ lui $t7, (0x00080200 >> 16) # lui $t7, 8
/* 026220 80025620 35EF0200 */ ori $t7, (0x00080200 & 0xFFFF) # ori $t7, $t7, 0x200
/* 026224 80025624 24590008 */ addiu $t9, $v0, 8
/* 026228 80025628 AC790000 */ sw $t9, ($v1)
/* 02622C 8002562C 35CE1000 */ ori $t6, (0xF5481000 & 0xFFFF) # ori $t6, $t6, 0x1000
/* 026230 80025630 AC4E0000 */ sw $t6, ($v0)
/* 026234 80025634 AC4F0004 */ sw $t7, 4($v0)
/* 026238 80025638 8C620000 */ lw $v0, ($v1)
/* 02623C 8002563C 3C0E000F */ lui $t6, (0x000FC07C >> 16) # lui $t6, 0xf
/* 026240 80025640 35CEC07C */ ori $t6, (0x000FC07C & 0xFFFF) # ori $t6, $t6, 0xc07c
/* 026244 80025644 24580008 */ addiu $t8, $v0, 8
/* 026248 80025648 AC780000 */ sw $t8, ($v1)
/* 02624C 8002564C 3C19F200 */ lui $t9, 0xf200
/* 026250 80025650 AC590000 */ sw $t9, ($v0)
/* 026254 80025654 AC4E0004 */ sw $t6, 4($v0)
/* 026258 80025658 8C620000 */ lw $v0, ($v1)
/* 02625C 8002565C 3C180400 */ lui $t8, (0x0400103F >> 16) # lui $t8, 0x400
/* 026260 80025660 3718103F */ ori $t8, (0x0400103F & 0xFFFF) # ori $t8, $t8, 0x103f
/* 026264 80025664 244F0008 */ addiu $t7, $v0, 8
/* 026268 80025668 AC6F0000 */ sw $t7, ($v1)
/* 02626C 8002566C AC580000 */ sw $t8, ($v0)
/* 026270 80025670 83AE01F7 */ lb $t6, 0x1f7($sp)
/* 026274 80025674 8DB90000 */ lw $t9, ($t5)
/* 026278 80025678 25CF0004 */ addiu $t7, $t6, 4
/* 02627C 8002567C 000FC100 */ sll $t8, $t7, 4
/* 026280 80025680 03387021 */ addu $t6, $t9, $t8
/* 026284 80025684 AC4E0004 */ sw $t6, 4($v0)
/* 026288 80025688 8C620000 */ lw $v0, ($v1)
/* 02628C 8002568C 3C190600 */ lui $t9, 0x600
/* 026290 80025690 3C0EBB00 */ lui $t6, 0xbb00
/* 026294 80025694 244F0008 */ addiu $t7, $v0, 8
/* 026298 80025698 AC6F0000 */ sw $t7, ($v1)
/* 02629C 8002569C AC5F0004 */ sw $ra, 4($v0)
/* 0262A0 800256A0 AC590000 */ sw $t9, ($v0)
/* 0262A4 800256A4 8C620000 */ lw $v0, ($v1)
/* 0262A8 800256A8 3C0F0001 */ lui $t7, (0x00010001 >> 16) # lui $t7, 1
/* 0262AC 800256AC 35EF0001 */ ori $t7, (0x00010001 & 0xFFFF) # ori $t7, $t7, 1
/* 0262B0 800256B0 24580008 */ addiu $t8, $v0, 8
/* 0262B4 800256B4 AC780000 */ sw $t8, ($v1)
/* 0262B8 800256B8 AC4F0004 */ sw $t7, 4($v0)
/* 0262BC 800256BC AC4E0000 */ sw $t6, ($v0)
/* 0262C0 800256C0 8C620000 */ lw $v0, ($v1)
/* 0262C4 800256C4 3C18B900 */ lui $t8, (0xB9000002 >> 16) # lui $t8, 0xb900
/* 0262C8 800256C8 37180002 */ ori $t8, (0xB9000002 & 0xFFFF) # ori $t8, $t8, 2
/* 0262CC 800256CC 24590008 */ addiu $t9, $v0, 8
/* 0262D0 800256D0 AC790000 */ sw $t9, ($v1)
/* 0262D4 800256D4 AC400004 */ sw $zero, 4($v0)
/* 0262D8 800256D8 AC580000 */ sw $t8, ($v0)
/* 0262DC 800256DC 8FBF0034 */ lw $ra, 0x34($sp)
/* 0262E0 800256E0 8FB20030 */ lw $s2, 0x30($sp)
/* 0262E4 800256E4 8FB1002C */ lw $s1, 0x2c($sp)
/* 0262E8 800256E8 8FB00028 */ lw $s0, 0x28($sp)
/* 0262EC 800256EC 03E00008 */ jr $ra
/* 0262F0 800256F0 27BD01E8 */ addiu $sp, $sp, 0x1e8

View File

@ -1,458 +0,0 @@
.section .late_rodata
glabel D_800ED6D8
.double 0.8
.section .text
glabel func_800256F4
/* 0262F4 800256F4 27BDFE90 */ addiu $sp, $sp, -0x170
/* 0262F8 800256F8 3C188016 */ lui $t8, %hi(D_8015F890) # $t8, 0x8016
/* 0262FC 800256FC 9718F890 */ lhu $t8, %lo(D_8015F890)($t8)
/* 026300 80025700 AFB20030 */ sw $s2, 0x30($sp)
/* 026304 80025704 AFB00028 */ sw $s0, 0x28($sp)
/* 026308 80025708 00068600 */ sll $s0, $a2, 0x18
/* 02630C 8002570C 00059600 */ sll $s2, $a1, 0x18
/* 026310 80025710 00127603 */ sra $t6, $s2, 0x18
/* 026314 80025714 00107E03 */ sra $t7, $s0, 0x18
/* 026318 80025718 AFB1002C */ sw $s1, 0x2c($sp)
/* 02631C 8002571C 24010001 */ li $at, 1
/* 026320 80025720 00808825 */ move $s1, $a0
/* 026324 80025724 01E08025 */ move $s0, $t7
/* 026328 80025728 01C09025 */ move $s2, $t6
/* 02632C 8002572C AFBF0034 */ sw $ra, 0x34($sp)
/* 026330 80025730 AFA50174 */ sw $a1, 0x174($sp)
/* 026334 80025734 AFA60178 */ sw $a2, 0x178($sp)
/* 026338 80025738 17010004 */ bne $t8, $at, .L8002574C
/* 02633C 8002573C AFA7017C */ sw $a3, 0x17c($sp)
/* 026340 80025740 241900FF */ li $t9, 255
/* 026344 80025744 10000003 */ b .L80025754
/* 026348 80025748 A7B900C2 */ sh $t9, 0xc2($sp)
.L8002574C:
/* 02634C 8002574C 240E0070 */ li $t6, 112
/* 026350 80025750 A7AE00C2 */ sh $t6, 0xc2($sp)
.L80025754:
/* 026354 80025754 00107840 */ sll $t7, $s0, 1
/* 026358 80025758 022F1021 */ addu $v0, $s1, $t7
/* 02635C 8002575C 84580048 */ lh $t8, 0x48($v0)
/* 026360 80025760 8639002E */ lh $t9, 0x2e($s1)
/* 026364 80025764 AFA20044 */ sw $v0, 0x44($sp)
/* 026368 80025768 03197823 */ subu $t7, $t8, $t9
/* 02636C 8002576C 0C0AE006 */ jal sins
/* 026370 80025770 31E4FFFF */ andi $a0, $t7, 0xffff
/* 026374 80025774 44801000 */ mtc1 $zero, $f2
/* 026378 80025778 3C01800F */ lui $at, %hi(D_800ED6D8)
/* 02637C 8002577C D430D6D8 */ ldc1 $f16, %lo(D_800ED6D8)($at)
/* 026380 80025780 46020102 */ mul.s $f4, $f0, $f2
/* 026384 80025784 8FA20044 */ lw $v0, 0x44($sp)
/* 026388 80025788 3C013FC0 */ li $at, 0x3FC00000 # 1.500000
/* 02638C 8002578C 44071000 */ mfc1 $a3, $f2
/* 026390 80025790 27A400D0 */ addiu $a0, $sp, 0xd0
/* 026394 80025794 27A500CC */ addiu $a1, $sp, 0xcc
/* 026398 80025798 27A600C8 */ addiu $a2, $sp, 0xc8
/* 02639C 8002579C 4600218D */ trunc.w.s $f6, $f4
/* 0263A0 800257A0 44193000 */ mfc1 $t9, $f6
/* 0263A4 800257A4 44813000 */ mtc1 $at, $f6
/* 0263A8 800257A8 00197400 */ sll $t6, $t9, 0x10
/* 0263AC 800257AC 000E7C03 */ sra $t7, $t6, 0x10
/* 0263B0 800257B0 000FC023 */ negu $t8, $t7
/* 0263B4 800257B4 44984000 */ mtc1 $t8, $f8
/* 0263B8 800257B8 00000000 */ nop
/* 0263BC 800257BC 468042A1 */ cvt.d.w $f10, $f8
/* 0263C0 800257C0 46305482 */ mul.d $f18, $f10, $f16
/* 0263C4 800257C4 4620910D */ trunc.w.d $f4, $f18
/* 0263C8 800257C8 440E2000 */ mfc1 $t6, $f4
/* 0263CC 800257CC 00000000 */ nop
/* 0263D0 800257D0 A7AE00D4 */ sh $t6, 0xd4($sp)
/* 0263D4 800257D4 844F0048 */ lh $t7, 0x48($v0)
/* 0263D8 800257D8 A7AF00D6 */ sh $t7, 0xd6($sp)
/* 0263DC 800257DC 84580050 */ lh $t8, 0x50($v0)
/* 0263E0 800257E0 E7A20014 */ swc1 $f2, 0x14($sp)
/* 0263E4 800257E4 E7A60010 */ swc1 $f6, 0x10($sp)
/* 0263E8 800257E8 A7B800D8 */ sh $t8, 0xd8($sp)
/* 0263EC 800257EC 84590048 */ lh $t9, 0x48($v0)
/* 0263F0 800257F0 00197023 */ negu $t6, $t9
/* 0263F4 800257F4 AFAE0018 */ sw $t6, 0x18($sp)
/* 0263F8 800257F8 844F0050 */ lh $t7, 0x50($v0)
/* 0263FC 800257FC 0C018AC6 */ jal func_80062B18
/* 026400 80025800 AFAF001C */ sw $t7, 0x1c($sp)
/* 026404 80025804 C6280018 */ lwc1 $f8, 0x18($s1)
/* 026408 80025808 C62A0070 */ lwc1 $f10, 0x70($s1)
/* 02640C 8002580C C7A400CC */ lwc1 $f4, 0xcc($sp)
/* 026410 80025810 3C014000 */ li $at, 0x40000000 # 2.000000
/* 026414 80025814 460A4401 */ sub.s $f16, $f8, $f10
/* 026418 80025818 44804000 */ mtc1 $zero, $f8
/* 02641C 8002581C 44814800 */ mtc1 $at, $f9
/* 026420 80025820 460021A1 */ cvt.d.s $f6, $f4
/* 026424 80025824 460084A1 */ cvt.d.s $f18, $f16
/* 026428 80025828 46283281 */ sub.d $f10, $f6, $f8
/* 02642C 8002582C C7A800D0 */ lwc1 $f8, 0xd0($sp)
/* 026430 80025830 00126840 */ sll $t5, $s2, 1
/* 026434 80025834 0010C100 */ sll $t8, $s0, 4
/* 026438 80025838 462A9400 */ add.d $f16, $f18, $f10
/* 02643C 8002583C 030DC821 */ addu $t9, $t8, $t5
/* 026440 80025840 3C038016 */ lui $v1, %hi(D_801651D0) # 0x8016
/* 026444 80025844 00791821 */ addu $v1, $v1, $t9
/* 026448 80025848 46208120 */ cvt.s.d $f4, $f16
/* 02644C 8002584C 846351D0 */ lh $v1, %lo(D_801651D0)($v1) # 0x51d0
/* 026450 80025850 C7B000C8 */ lwc1 $f16, 0xc8($sp)
/* 026454 80025854 00107B00 */ sll $t7, $s0, 0xc
/* 026458 80025858 E7A400E0 */ swc1 $f4, 0xe0($sp)
/* 02645C 8002585C C6260014 */ lwc1 $f6, 0x14($s1)
/* 026460 80025860 00037380 */ sll $t6, $v1, 0xe
/* 026464 80025864 01CFC021 */ addu $t8, $t6, $t7
/* 026468 80025868 46083480 */ add.s $f18, $f6, $f8
/* 02646C 8002586C 00127240 */ sll $t6, $s2, 9
/* 026470 80025870 3C19802F */ lui $t9, %hi(D_802F1F80) # $t9, 0x802f
/* 026474 80025874 27391F80 */ addiu $t9, %lo(D_802F1F80) # addiu $t9, $t9, 0x1f80
/* 026478 80025878 E7B200DC */ swc1 $f18, 0xdc($sp)
/* 02647C 8002587C C62A001C */ lwc1 $f10, 0x1c($s1)
/* 026480 80025880 030E7821 */ addu $t7, $t8, $t6
/* 026484 80025884 01F9C021 */ addu $t8, $t7, $t9
/* 026488 80025888 46105100 */ add.s $f4, $f10, $f16
/* 02648C 8002588C 3C018016 */ lui $at, %hi(D_80164B04) # $at, 0x8016
/* 026490 80025890 AC384B04 */ sw $t8, %lo(D_80164B04)($at)
/* 026494 80025894 12000004 */ beqz $s0, .L800258A8
/* 026498 80025898 E7A400E4 */ swc1 $f4, 0xe4($sp)
/* 02649C 8002589C 24010001 */ li $at, 1
/* 0264A0 800258A0 1601000F */ bne $s0, $at, .L800258E0
/* 0264A4 800258A4 0003C400 */ sll $t8, $v1, 0x10
.L800258A8:
/* 0264A8 800258A8 00037400 */ sll $t6, $v1, 0x10
/* 0264AC 800258AC 00107BC0 */ sll $t7, $s0, 0xf
/* 0264B0 800258B0 01CFC821 */ addu $t9, $t6, $t7
/* 0264B4 800258B4 3C0F802C */ lui $t7, %hi(D_802BFB80) # $t7, 0x802c
/* 0264B8 800258B8 0012C300 */ sll $t8, $s2, 0xc
/* 0264BC 800258BC 03387021 */ addu $t6, $t9, $t8
/* 0264C0 800258C0 25EFFB80 */ addiu $t7, %lo(D_802BFB80) # addiu $t7, $t7, -0x480
/* 0264C4 800258C4 01CF1021 */ addu $v0, $t6, $t7
/* 0264C8 800258C8 3C018016 */ lui $at, %hi(D_80164B08) # $at, 0x8016
/* 0264CC 800258CC AC224B08 */ sw $v0, %lo(D_80164B08)($at)
/* 0264D0 800258D0 3C018016 */ lui $at, %hi(D_80164B0C) # $at, 0x8016
/* 0264D4 800258D4 245907C0 */ addiu $t9, $v0, 0x7c0
/* 0264D8 800258D8 10000012 */ b .L80025924
/* 0264DC 800258DC AC394B0C */ sw $t9, %lo(D_80164B0C)($at)
.L800258E0:
/* 0264E0 800258E0 001073C0 */ sll $t6, $s0, 0xf
/* 0264E4 800258E4 030E7821 */ addu $t7, $t8, $t6
/* 0264E8 800258E8 3C0E802C */ lui $t6, %hi(D_802BFB80) # $t6, 0x802c
/* 0264EC 800258EC 0012CB00 */ sll $t9, $s2, 0xc
/* 0264F0 800258F0 01F9C021 */ addu $t8, $t7, $t9
/* 0264F4 800258F4 25CEFB80 */ addiu $t6, %lo(D_802BFB80) # addiu $t6, $t6, -0x480
/* 0264F8 800258F8 3C01FFFF */ lui $at, (0xFFFF4000 >> 16) # lui $at, 0xffff
/* 0264FC 800258FC 34214000 */ ori $at, (0xFFFF4000 & 0xFFFF) # ori $at, $at, 0x4000
/* 026500 80025900 030E1021 */ addu $v0, $t8, $t6
/* 026504 80025904 00417821 */ addu $t7, $v0, $at
/* 026508 80025908 3C018016 */ lui $at, %hi(D_80164B08) # $at, 0x8016
/* 02650C 8002590C AC2F4B08 */ sw $t7, %lo(D_80164B08)($at)
/* 026510 80025910 3C01FFFF */ lui $at, (0xFFFF47C0 >> 16) # lui $at, 0xffff
/* 026514 80025914 342147C0 */ ori $at, (0xFFFF47C0 & 0xFFFF) # ori $at, $at, 0x47c0
/* 026518 80025918 0041C821 */ addu $t9, $v0, $at
/* 02651C 8002591C 3C018016 */ lui $at, %hi(D_80164B0C) # $at, 0x8016
/* 026520 80025920 AC394B0C */ sw $t9, %lo(D_80164B0C)($at)
.L80025924:
/* 026524 80025924 27A4012C */ addiu $a0, $sp, 0x12c
/* 026528 80025928 27A500DC */ addiu $a1, $sp, 0xdc
/* 02652C 8002592C 27A600D4 */ addiu $a2, $sp, 0xd4
/* 026530 80025930 0C008784 */ jal func_80021E10
/* 026534 80025934 AFAD0044 */ sw $t5, 0x44($sp)
/* 026538 80025938 96380254 */ lhu $t8, 0x254($s1)
/* 02653C 8002593C 3C01800E */ lui $at, %hi(D_800DDBD4)
/* 026540 80025940 C6280224 */ lwc1 $f8, 0x224($s1)
/* 026544 80025944 00187080 */ sll $t6, $t8, 2
/* 026548 80025948 002E0821 */ addu $at, $at, $t6
/* 02654C 8002594C C426DBD4 */ lwc1 $f6, %lo(D_800DDBD4)($at)
/* 026550 80025950 27A4012C */ addiu $a0, $sp, 0x12c
/* 026554 80025954 46083482 */ mul.s $f18, $f6, $f8
/* 026558 80025958 44059000 */ mfc1 $a1, $f18
/* 02655C 8002595C 0C0087E1 */ jal func_80021F84
/* 026560 80025960 00000000 */ nop
/* 026564 80025964 3C198015 */ lui $t9, %hi(gGfxPool) # $t9, 0x8015
/* 026568 80025968 8F39EF40 */ lw $t9, %lo(gGfxPool)($t9)
/* 02656C 8002596C 02008825 */ move $s1, $s0
/* 026570 80025970 0012C180 */ sll $t8, $s2, 6
/* 026574 80025974 00117A40 */ sll $t7, $s1, 9
/* 026578 80025978 03387021 */ addu $t6, $t9, $t8
/* 02657C 8002597C 01CF2021 */ addu $a0, $t6, $t7
/* 026580 80025980 3401F2C0 */ li $at, 62144
/* 026584 80025984 00812021 */ addu $a0, $a0, $at
/* 026588 80025988 01E08825 */ move $s1, $t7
/* 02658C 8002598C 0C008860 */ jal func_80022180
/* 026590 80025990 27A5012C */ addiu $a1, $sp, 0x12c
/* 026594 80025994 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 026598 80025998 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 02659C 8002599C 8C620000 */ lw $v0, ($v1)
/* 0265A0 800259A0 3C190102 */ lui $t9, (0x01020040 >> 16) # lui $t9, 0x102
/* 0265A4 800259A4 8FAD0044 */ lw $t5, 0x44($sp)
/* 0265A8 800259A8 244F0008 */ addiu $t7, $v0, 8
/* 0265AC 800259AC AC6F0000 */ sw $t7, ($v1)
/* 0265B0 800259B0 37390040 */ ori $t9, (0x01020040 & 0xFFFF) # ori $t9, $t9, 0x40
/* 0265B4 800259B4 3C188015 */ lui $t8, %hi(gGfxPool) # $t8, 0x8015
/* 0265B8 800259B8 AC590000 */ sw $t9, ($v0)
/* 0265BC 800259BC 8F18EF40 */ lw $t8, %lo(gGfxPool)($t8)
/* 0265C0 800259C0 00127180 */ sll $t6, $s2, 6
/* 0265C4 800259C4 3401F2C0 */ li $at, 62144
/* 0265C8 800259C8 030E7821 */ addu $t7, $t8, $t6
/* 0265CC 800259CC 01F1C821 */ addu $t9, $t7, $s1
/* 0265D0 800259D0 0321C021 */ addu $t8, $t9, $at
/* 0265D4 800259D4 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 0265D8 800259D8 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 0265DC 800259DC 03017024 */ and $t6, $t8, $at
/* 0265E0 800259E0 AC4E0004 */ sw $t6, 4($v0)
/* 0265E4 800259E4 8C620000 */ lw $v0, ($v1)
/* 0265E8 800259E8 3C190D01 */ lui $t9, %hi(D_0D008CD8) # $t9, 0xd01
/* 0265EC 800259EC 3C100600 */ lui $s0, 0x600
/* 0265F0 800259F0 244F0008 */ addiu $t7, $v0, 8
/* 0265F4 800259F4 AC6F0000 */ sw $t7, ($v1)
/* 0265F8 800259F8 27398CD8 */ addiu $t9, %lo(D_0D008CD8) # addiu $t9, $t9, -0x7328
/* 0265FC 800259FC AC590004 */ sw $t9, 4($v0)
/* 026600 80025A00 AC500000 */ sw $s0, ($v0)
/* 026604 80025A04 8C620000 */ lw $v0, ($v1)
/* 026608 80025A08 3C0EFD10 */ lui $t6, 0xfd10
/* 02660C 80025A0C 3C0F8016 */ lui $t7, %hi(D_80164B04) # $t7, 0x8016
/* 026610 80025A10 24580008 */ addiu $t8, $v0, 8
/* 026614 80025A14 AC780000 */ sw $t8, ($v1)
/* 026618 80025A18 AC4E0000 */ sw $t6, ($v0)
/* 02661C 80025A1C 8DEF4B04 */ lw $t7, %lo(D_80164B04)($t7)
/* 026620 80025A20 3C18E800 */ lui $t8, 0xe800
/* 026624 80025A24 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016
/* 026628 80025A28 AC4F0004 */ sw $t7, 4($v0)
/* 02662C 80025A2C 8C620000 */ lw $v0, ($v1)
/* 026630 80025A30 3C0FF500 */ lui $t7, (0xF5000100 >> 16) # lui $t7, 0xf500
/* 026634 80025A34 35EF0100 */ ori $t7, (0xF5000100 & 0xFFFF) # ori $t7, $t7, 0x100
/* 026638 80025A38 24590008 */ addiu $t9, $v0, 8
/* 02663C 80025A3C AC790000 */ sw $t9, ($v1)
/* 026640 80025A40 AC400004 */ sw $zero, 4($v0)
/* 026644 80025A44 AC580000 */ sw $t8, ($v0)
/* 026648 80025A48 8C620000 */ lw $v0, ($v1)
/* 02664C 80025A4C 3C190700 */ lui $t9, 0x700
/* 026650 80025A50 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 026654 80025A54 244E0008 */ addiu $t6, $v0, 8
/* 026658 80025A58 AC6E0000 */ sw $t6, ($v1)
/* 02665C 80025A5C AC590004 */ sw $t9, 4($v0)
/* 026660 80025A60 AC4F0000 */ sw $t7, ($v0)
/* 026664 80025A64 8C620000 */ lw $v0, ($v1)
/* 026668 80025A68 3C0EE600 */ lui $t6, 0xe600
/* 02666C 80025A6C 3C19F000 */ lui $t9, 0xf000
/* 026670 80025A70 24580008 */ addiu $t8, $v0, 8
/* 026674 80025A74 AC780000 */ sw $t8, ($v1)
/* 026678 80025A78 AC400004 */ sw $zero, 4($v0)
/* 02667C 80025A7C AC4E0000 */ sw $t6, ($v0)
/* 026680 80025A80 8C620000 */ lw $v0, ($v1)
/* 026684 80025A84 3C18073F */ lui $t8, (0x073FC000 >> 16) # lui $t8, 0x73f
/* 026688 80025A88 3718C000 */ ori $t8, (0x073FC000 & 0xFFFF) # ori $t8, $t8, 0xc000
/* 02668C 80025A8C 244F0008 */ addiu $t7, $v0, 8
/* 026690 80025A90 AC6F0000 */ sw $t7, ($v1)
/* 026694 80025A94 AC580004 */ sw $t8, 4($v0)
/* 026698 80025A98 AC590000 */ sw $t9, ($v0)
/* 02669C 80025A9C 8C620000 */ lw $v0, ($v1)
/* 0266A0 80025AA0 3C0FE700 */ lui $t7, 0xe700
/* 0266A4 80025AA4 3C18BA00 */ lui $t8, (0xBA000E02 >> 16) # lui $t8, 0xba00
/* 0266A8 80025AA8 244E0008 */ addiu $t6, $v0, 8
/* 0266AC 80025AAC AC6E0000 */ sw $t6, ($v1)
/* 0266B0 80025AB0 AC400004 */ sw $zero, 4($v0)
/* 0266B4 80025AB4 AC4F0000 */ sw $t7, ($v0)
/* 0266B8 80025AB8 8C620000 */ lw $v0, ($v1)
/* 0266BC 80025ABC 340E8000 */ li $t6, 32768
/* 0266C0 80025AC0 37180E02 */ ori $t8, (0xBA000E02 & 0xFFFF) # ori $t8, $t8, 0xe02
/* 0266C4 80025AC4 24590008 */ addiu $t9, $v0, 8
/* 0266C8 80025AC8 AC790000 */ sw $t9, ($v1)
/* 0266CC 80025ACC AC4E0004 */ sw $t6, 4($v0)
/* 0266D0 80025AD0 AC580000 */ sw $t8, ($v0)
/* 0266D4 80025AD4 3C198016 */ lui $t9, %hi(D_80164B60) # 0x8016
/* 0266D8 80025AD8 3C0F8016 */ lui $t7, %hi(D_80164B50) # 0x8016
/* 0266DC 80025ADC 01ED7821 */ addu $t7, $t7, $t5
/* 0266E0 80025AE0 032DC821 */ addu $t9, $t9, $t5
/* 0266E4 80025AE4 97394B60 */ lhu $t9, %lo(D_80164B60)($t9) # 0x4b60
/* 0266E8 80025AE8 95EF4B50 */ lhu $t7, %lo(D_80164B50)($t7) # 0x4b50
/* 0266EC 80025AEC 87B800C2 */ lh $t8, 0xc2($sp)
/* 0266F0 80025AF0 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 0266F4 80025AF4 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 0266F8 80025AF8 00ED3821 */ addu $a3, $a3, $t5
/* 0266FC 80025AFC 00CD3021 */ addu $a2, $a2, $t5
/* 026700 80025B00 00AD2821 */ addu $a1, $a1, $t5
/* 026704 80025B04 008D2021 */ addu $a0, $a0, $t5
/* 026708 80025B08 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 02670C 80025B0C 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 026710 80025B10 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 026714 80025B14 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 026718 80025B18 AFB90014 */ sw $t9, 0x14($sp)
/* 02671C 80025B1C AFAF0010 */ sw $t7, 0x10($sp)
/* 026720 80025B20 0C012D85 */ jal func_8004B614
/* 026724 80025B24 AFB80018 */ sw $t8, 0x18($sp)
/* 026728 80025B28 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 02672C 80025B2C 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 026730 80025B30 8C620000 */ lw $v0, ($v1)
/* 026734 80025B34 3C0FB900 */ lui $t7, (0xB900031D >> 16) # lui $t7, 0xb900
/* 026738 80025B38 3C190050 */ lui $t9, (0x00505978 >> 16) # lui $t9, 0x50
/* 02673C 80025B3C 244E0008 */ addiu $t6, $v0, 8
/* 026740 80025B40 AC6E0000 */ sw $t6, ($v1)
/* 026744 80025B44 37395978 */ ori $t9, (0x00505978 & 0xFFFF) # ori $t9, $t9, 0x5978
/* 026748 80025B48 35EF031D */ ori $t7, (0xB900031D & 0xFFFF) # ori $t7, $t7, 0x31d
/* 02674C 80025B4C AC4F0000 */ sw $t7, ($v0)
/* 026750 80025B50 AC590004 */ sw $t9, 4($v0)
/* 026754 80025B54 8C620000 */ lw $v0, ($v1)
/* 026758 80025B58 3C11FD50 */ lui $s1, 0xfd50
/* 02675C 80025B5C 3C0E8016 */ lui $t6, %hi(D_80164B08) # $t6, 0x8016
/* 026760 80025B60 24580008 */ addiu $t8, $v0, 8
/* 026764 80025B64 AC780000 */ sw $t8, ($v1)
/* 026768 80025B68 AC510000 */ sw $s1, ($v0)
/* 02676C 80025B6C 8DCE4B08 */ lw $t6, %lo(D_80164B08)($t6)
/* 026770 80025B70 3C180708 */ lui $t8, (0x07080200 >> 16) # lui $t8, 0x708
/* 026774 80025B74 37180200 */ ori $t8, (0x07080200 & 0xFFFF) # ori $t8, $t8, 0x200
/* 026778 80025B78 AC4E0004 */ sw $t6, 4($v0)
/* 02677C 80025B7C 8C620000 */ lw $v0, ($v1)
/* 026780 80025B80 3C19F550 */ lui $t9, 0xf550
/* 026784 80025B84 3C1F0D01 */ lui $ra, %hi(D_0D008C78) # $ra, 0xd01
/* 026788 80025B88 244F0008 */ addiu $t7, $v0, 8
/* 02678C 80025B8C AC6F0000 */ sw $t7, ($v1)
/* 026790 80025B90 AC580004 */ sw $t8, 4($v0)
/* 026794 80025B94 AC590000 */ sw $t9, ($v0)
/* 026798 80025B98 8C620000 */ lw $v0, ($v1)
/* 02679C 80025B9C 3C0FE600 */ lui $t7, 0xe600
/* 0267A0 80025BA0 3C18F300 */ lui $t8, 0xf300
/* 0267A4 80025BA4 244E0008 */ addiu $t6, $v0, 8
/* 0267A8 80025BA8 AC6E0000 */ sw $t6, ($v1)
/* 0267AC 80025BAC AC400004 */ sw $zero, 4($v0)
/* 0267B0 80025BB0 AC4F0000 */ sw $t7, ($v0)
/* 0267B4 80025BB4 8C620000 */ lw $v0, ($v1)
/* 0267B8 80025BB8 3C0E073F */ lui $t6, (0x073FF100 >> 16) # lui $t6, 0x73f
/* 0267BC 80025BBC 35CEF100 */ ori $t6, (0x073FF100 & 0xFFFF) # ori $t6, $t6, 0xf100
/* 0267C0 80025BC0 24590008 */ addiu $t9, $v0, 8
/* 0267C4 80025BC4 AC790000 */ sw $t9, ($v1)
/* 0267C8 80025BC8 AC4E0004 */ sw $t6, 4($v0)
/* 0267CC 80025BCC AC580000 */ sw $t8, ($v0)
/* 0267D0 80025BD0 8C620000 */ lw $v0, ($v1)
/* 0267D4 80025BD4 3C19E700 */ lui $t9, 0xe700
/* 0267D8 80025BD8 3C0EF548 */ lui $t6, (0xF5481000 >> 16) # lui $t6, 0xf548
/* 0267DC 80025BDC 244F0008 */ addiu $t7, $v0, 8
/* 0267E0 80025BE0 AC6F0000 */ sw $t7, ($v1)
/* 0267E4 80025BE4 AC400004 */ sw $zero, 4($v0)
/* 0267E8 80025BE8 AC590000 */ sw $t9, ($v0)
/* 0267EC 80025BEC 8C620000 */ lw $v0, ($v1)
/* 0267F0 80025BF0 3C0F0008 */ lui $t7, (0x00080200 >> 16) # lui $t7, 8
/* 0267F4 80025BF4 35EF0200 */ ori $t7, (0x00080200 & 0xFFFF) # ori $t7, $t7, 0x200
/* 0267F8 80025BF8 24580008 */ addiu $t8, $v0, 8
/* 0267FC 80025BFC AC780000 */ sw $t8, ($v1)
/* 026800 80025C00 35CE1000 */ ori $t6, (0xF5481000 & 0xFFFF) # ori $t6, $t6, 0x1000
/* 026804 80025C04 AC4E0000 */ sw $t6, ($v0)
/* 026808 80025C08 AC4F0004 */ sw $t7, 4($v0)
/* 02680C 80025C0C 8C620000 */ lw $v0, ($v1)
/* 026810 80025C10 3C0E000F */ lui $t6, (0x000FC07C >> 16) # lui $t6, 0xf
/* 026814 80025C14 35CEC07C */ ori $t6, (0x000FC07C & 0xFFFF) # ori $t6, $t6, 0xc07c
/* 026818 80025C18 24590008 */ addiu $t9, $v0, 8
/* 02681C 80025C1C AC790000 */ sw $t9, ($v1)
/* 026820 80025C20 3C18F200 */ lui $t8, 0xf200
/* 026824 80025C24 AC580000 */ sw $t8, ($v0)
/* 026828 80025C28 AC4E0004 */ sw $t6, 4($v0)
/* 02682C 80025C2C 8C620000 */ lw $v0, ($v1)
/* 026830 80025C30 3C190400 */ lui $t9, (0x0400103F >> 16) # lui $t9, 0x400
/* 026834 80025C34 3739103F */ ori $t9, (0x0400103F & 0xFFFF) # ori $t9, $t9, 0x103f
/* 026838 80025C38 244F0008 */ addiu $t7, $v0, 8
/* 02683C 80025C3C AC6F0000 */ sw $t7, ($v1)
/* 026840 80025C40 3C0E800E */ lui $t6, %hi(D_800DDBB4) # $t6, 0x800e
/* 026844 80025C44 25CEDBB4 */ addiu $t6, %lo(D_800DDBB4) # addiu $t6, $t6, -0x244c
/* 026848 80025C48 0012C080 */ sll $t8, $s2, 2
/* 02684C 80025C4C AC590000 */ sw $t9, ($v0)
/* 026850 80025C50 83B9017F */ lb $t9, 0x17f($sp)
/* 026854 80025C54 030E6821 */ addu $t5, $t8, $t6
/* 026858 80025C58 8DAF0000 */ lw $t7, ($t5)
/* 02685C 80025C5C 0019C100 */ sll $t8, $t9, 4
/* 026860 80025C60 27FF8C78 */ addiu $ra, %lo(D_0D008C78) # addiu $ra, $ra, -0x7388
/* 026864 80025C64 01F87021 */ addu $t6, $t7, $t8
/* 026868 80025C68 AC4E0004 */ sw $t6, 4($v0)
/* 02686C 80025C6C 8C620000 */ lw $v0, ($v1)
/* 026870 80025C70 3C188016 */ lui $t8, %hi(D_80164B0C) # $t8, 0x8016
/* 026874 80025C74 24590008 */ addiu $t9, $v0, 8
/* 026878 80025C78 AC790000 */ sw $t9, ($v1)
/* 02687C 80025C7C AC5F0004 */ sw $ra, 4($v0)
/* 026880 80025C80 AC500000 */ sw $s0, ($v0)
/* 026884 80025C84 8C620000 */ lw $v0, ($v1)
/* 026888 80025C88 3C19F550 */ lui $t9, 0xf550
/* 02688C 80025C8C 244F0008 */ addiu $t7, $v0, 8
/* 026890 80025C90 AC6F0000 */ sw $t7, ($v1)
/* 026894 80025C94 AC510000 */ sw $s1, ($v0)
/* 026898 80025C98 8F184B0C */ lw $t8, %lo(D_80164B0C)($t8)
/* 02689C 80025C9C 3C0F0708 */ lui $t7, (0x07080200 >> 16) # lui $t7, 0x708
/* 0268A0 80025CA0 35EF0200 */ ori $t7, (0x07080200 & 0xFFFF) # ori $t7, $t7, 0x200
/* 0268A4 80025CA4 AC580004 */ sw $t8, 4($v0)
/* 0268A8 80025CA8 8C620000 */ lw $v0, ($v1)
/* 0268AC 80025CAC 244E0008 */ addiu $t6, $v0, 8
/* 0268B0 80025CB0 AC6E0000 */ sw $t6, ($v1)
/* 0268B4 80025CB4 AC4F0004 */ sw $t7, 4($v0)
/* 0268B8 80025CB8 AC590000 */ sw $t9, ($v0)
/* 0268BC 80025CBC 8C620000 */ lw $v0, ($v1)
/* 0268C0 80025CC0 3C0EE600 */ lui $t6, 0xe600
/* 0268C4 80025CC4 3C0FF300 */ lui $t7, 0xf300
/* 0268C8 80025CC8 24580008 */ addiu $t8, $v0, 8
/* 0268CC 80025CCC AC780000 */ sw $t8, ($v1)
/* 0268D0 80025CD0 AC400004 */ sw $zero, 4($v0)
/* 0268D4 80025CD4 AC4E0000 */ sw $t6, ($v0)
/* 0268D8 80025CD8 8C620000 */ lw $v0, ($v1)
/* 0268DC 80025CDC 3C18073F */ lui $t8, (0x073FF100 >> 16) # lui $t8, 0x73f
/* 0268E0 80025CE0 3718F100 */ ori $t8, (0x073FF100 & 0xFFFF) # ori $t8, $t8, 0xf100
/* 0268E4 80025CE4 24590008 */ addiu $t9, $v0, 8
/* 0268E8 80025CE8 AC790000 */ sw $t9, ($v1)
/* 0268EC 80025CEC AC580004 */ sw $t8, 4($v0)
/* 0268F0 80025CF0 AC4F0000 */ sw $t7, ($v0)
/* 0268F4 80025CF4 8C620000 */ lw $v0, ($v1)
/* 0268F8 80025CF8 3C19E700 */ lui $t9, 0xe700
/* 0268FC 80025CFC 3C18F548 */ lui $t8, (0xF5481000 >> 16) # lui $t8, 0xf548
/* 026900 80025D00 244E0008 */ addiu $t6, $v0, 8
/* 026904 80025D04 AC6E0000 */ sw $t6, ($v1)
/* 026908 80025D08 AC400004 */ sw $zero, 4($v0)
/* 02690C 80025D0C AC590000 */ sw $t9, ($v0)
/* 026910 80025D10 8C620000 */ lw $v0, ($v1)
/* 026914 80025D14 3C0E0008 */ lui $t6, (0x00080200 >> 16) # lui $t6, 8
/* 026918 80025D18 35CE0200 */ ori $t6, (0x00080200 & 0xFFFF) # ori $t6, $t6, 0x200
/* 02691C 80025D1C 244F0008 */ addiu $t7, $v0, 8
/* 026920 80025D20 AC6F0000 */ sw $t7, ($v1)
/* 026924 80025D24 37181000 */ ori $t8, (0xF5481000 & 0xFFFF) # ori $t8, $t8, 0x1000
/* 026928 80025D28 AC580000 */ sw $t8, ($v0)
/* 02692C 80025D2C AC4E0004 */ sw $t6, 4($v0)
/* 026930 80025D30 8C620000 */ lw $v0, ($v1)
/* 026934 80025D34 3C18000F */ lui $t8, (0x000FC07C >> 16) # lui $t8, 0xf
/* 026938 80025D38 3718C07C */ ori $t8, (0x000FC07C & 0xFFFF) # ori $t8, $t8, 0xc07c
/* 02693C 80025D3C 24590008 */ addiu $t9, $v0, 8
/* 026940 80025D40 AC790000 */ sw $t9, ($v1)
/* 026944 80025D44 3C0FF200 */ lui $t7, 0xf200
/* 026948 80025D48 AC4F0000 */ sw $t7, ($v0)
/* 02694C 80025D4C AC580004 */ sw $t8, 4($v0)
/* 026950 80025D50 8C620000 */ lw $v0, ($v1)
/* 026954 80025D54 3C190400 */ lui $t9, (0x0400103F >> 16) # lui $t9, 0x400
/* 026958 80025D58 3739103F */ ori $t9, (0x0400103F & 0xFFFF) # ori $t9, $t9, 0x103f
/* 02695C 80025D5C 244E0008 */ addiu $t6, $v0, 8
/* 026960 80025D60 AC6E0000 */ sw $t6, ($v1)
/* 026964 80025D64 AC590000 */ sw $t9, ($v0)
/* 026968 80025D68 83B8017F */ lb $t8, 0x17f($sp)
/* 02696C 80025D6C 8DAF0000 */ lw $t7, ($t5)
/* 026970 80025D70 270E0004 */ addiu $t6, $t8, 4
/* 026974 80025D74 000EC900 */ sll $t9, $t6, 4
/* 026978 80025D78 01F9C021 */ addu $t8, $t7, $t9
/* 02697C 80025D7C AC580004 */ sw $t8, 4($v0)
/* 026980 80025D80 8C620000 */ lw $v0, ($v1)
/* 026984 80025D84 3C180001 */ lui $t8, (0x00010001 >> 16) # lui $t8, 1
/* 026988 80025D88 37180001 */ ori $t8, (0x00010001 & 0xFFFF) # ori $t8, $t8, 1
/* 02698C 80025D8C 244E0008 */ addiu $t6, $v0, 8
/* 026990 80025D90 AC6E0000 */ sw $t6, ($v1)
/* 026994 80025D94 AC5F0004 */ sw $ra, 4($v0)
/* 026998 80025D98 AC500000 */ sw $s0, ($v0)
/* 02699C 80025D9C 8C620000 */ lw $v0, ($v1)
/* 0269A0 80025DA0 3C19BB00 */ lui $t9, 0xbb00
/* 0269A4 80025DA4 244F0008 */ addiu $t7, $v0, 8
/* 0269A8 80025DA8 AC6F0000 */ sw $t7, ($v1)
/* 0269AC 80025DAC AC580004 */ sw $t8, 4($v0)
/* 0269B0 80025DB0 AC590000 */ sw $t9, ($v0)
/* 0269B4 80025DB4 8C620000 */ lw $v0, ($v1)
/* 0269B8 80025DB8 3C0FB900 */ lui $t7, (0xB9000002 >> 16) # lui $t7, 0xb900
/* 0269BC 80025DBC 35EF0002 */ ori $t7, (0xB9000002 & 0xFFFF) # ori $t7, $t7, 2
/* 0269C0 80025DC0 244E0008 */ addiu $t6, $v0, 8
/* 0269C4 80025DC4 AC6E0000 */ sw $t6, ($v1)
/* 0269C8 80025DC8 AC400004 */ sw $zero, 4($v0)
/* 0269CC 80025DCC AC4F0000 */ sw $t7, ($v0)
/* 0269D0 80025DD0 8FBF0034 */ lw $ra, 0x34($sp)
/* 0269D4 80025DD4 8FB20030 */ lw $s2, 0x30($sp)
/* 0269D8 80025DD8 8FB1002C */ lw $s1, 0x2c($sp)
/* 0269DC 80025DDC 8FB00028 */ lw $s0, 0x28($sp)
/* 0269E0 80025DE0 03E00008 */ jr $ra
/* 0269E4 80025DE4 27BD0170 */ addiu $sp, $sp, 0x170

View File

@ -1,326 +0,0 @@
.section .late_rodata
glabel D_800ED6E0
.double 0.1
.section .text
glabel func_80025DE8
/* 0269E8 80025DE8 27BDFF18 */ addiu $sp, $sp, -0xe8
/* 0269EC 80025DEC AFB00028 */ sw $s0, 0x28($sp)
/* 0269F0 80025DF0 00808025 */ move $s0, $a0
/* 0269F4 80025DF4 AFBF002C */ sw $ra, 0x2c($sp)
/* 0269F8 80025DF8 AFA500EC */ sw $a1, 0xec($sp)
/* 0269FC 80025DFC AFA600F0 */ sw $a2, 0xf0($sp)
/* 026A00 80025E00 AFA700F4 */ sw $a3, 0xf4($sp)
/* 026A04 80025E04 8484002E */ lh $a0, 0x2e($a0)
/* 026A08 80025E08 00042023 */ negu $a0, $a0
/* 026A0C 80025E0C 308EFFFF */ andi $t6, $a0, 0xffff
/* 026A10 80025E10 0C0AE006 */ jal sins
/* 026A14 80025E14 01C02025 */ move $a0, $t6
/* 026A18 80025E18 3C01BFF8 */ li $at, 0xBFF80000 # -1.937500
/* 026A1C 80025E1C 44813800 */ mtc1 $at, $f7
/* 026A20 80025E20 44803000 */ mtc1 $zero, $f6
/* 026A24 80025E24 46000121 */ cvt.d.s $f4, $f0
/* 026A28 80025E28 C60A0014 */ lwc1 $f10, 0x14($s0)
/* 026A2C 80025E2C 46262202 */ mul.d $f8, $f4, $f6
/* 026A30 80025E30 3C01800F */ lui $at, %hi(D_800ED6E0)
/* 026A34 80025E34 46005421 */ cvt.d.s $f16, $f10
/* 026A38 80025E38 46304480 */ add.d $f18, $f8, $f16
/* 026A3C 80025E3C 46209120 */ cvt.s.d $f4, $f18
/* 026A40 80025E40 E7A4009C */ swc1 $f4, 0x9c($sp)
/* 026A44 80025E44 C60A0070 */ lwc1 $f10, 0x70($s0)
/* 026A48 80025E48 C6060018 */ lwc1 $f6, 0x18($s0)
/* 026A4C 80025E4C C6100108 */ lwc1 $f16, 0x108($s0)
/* 026A50 80025E50 460A3201 */ sub.s $f8, $f6, $f10
/* 026A54 80025E54 D426D6E0 */ ldc1 $f6, %lo(D_800ED6E0)($at)
/* 026A58 80025E58 46104480 */ add.s $f18, $f8, $f16
/* 026A5C 80025E5C 46009121 */ cvt.d.s $f4, $f18
/* 026A60 80025E60 46262280 */ add.d $f10, $f4, $f6
/* 026A64 80025E64 46205220 */ cvt.s.d $f8, $f10
/* 026A68 80025E68 E7A800A0 */ swc1 $f8, 0xa0($sp)
/* 026A6C 80025E6C 8604002E */ lh $a0, 0x2e($s0)
/* 026A70 80025E70 00042023 */ negu $a0, $a0
/* 026A74 80025E74 308FFFFF */ andi $t7, $a0, 0xffff
/* 026A78 80025E78 0C0AE00E */ jal coss
/* 026A7C 80025E7C 01E02025 */ move $a0, $t7
/* 026A80 80025E80 3C01BFF8 */ li $at, 0xBFF80000 # -1.937500
/* 026A84 80025E84 44819800 */ mtc1 $at, $f19
/* 026A88 80025E88 44809000 */ mtc1 $zero, $f18
/* 026A8C 80025E8C 46000421 */ cvt.d.s $f16, $f0
/* 026A90 80025E90 C606001C */ lwc1 $f6, 0x1c($s0)
/* 026A94 80025E94 46328102 */ mul.d $f4, $f16, $f18
/* 026A98 80025E98 83B900F3 */ lb $t9, 0xf3($sp)
/* 026A9C 80025E9C 460032A1 */ cvt.d.s $f10, $f6
/* 026AA0 80025EA0 2418FF4A */ li $t8, -182
/* 026AA4 80025EA4 00197040 */ sll $t6, $t9, 1
/* 026AA8 80025EA8 A7B80094 */ sh $t8, 0x94($sp)
/* 026AAC 80025EAC 020E1021 */ addu $v0, $s0, $t6
/* 026AB0 80025EB0 27A400A8 */ addiu $a0, $sp, 0xa8
/* 026AB4 80025EB4 462A2200 */ add.d $f8, $f4, $f10
/* 026AB8 80025EB8 27A5009C */ addiu $a1, $sp, 0x9c
/* 026ABC 80025EBC 27A60094 */ addiu $a2, $sp, 0x94
/* 026AC0 80025EC0 46204420 */ cvt.s.d $f16, $f8
/* 026AC4 80025EC4 E7B000A4 */ swc1 $f16, 0xa4($sp)
/* 026AC8 80025EC8 844F0048 */ lh $t7, 0x48($v0)
/* 026ACC 80025ECC A7AF0096 */ sh $t7, 0x96($sp)
/* 026AD0 80025ED0 84580050 */ lh $t8, 0x50($v0)
/* 026AD4 80025ED4 0C008784 */ jal func_80021E10
/* 026AD8 80025ED8 A7B80098 */ sh $t8, 0x98($sp)
/* 026ADC 80025EDC 96190254 */ lhu $t9, 0x254($s0)
/* 026AE0 80025EE0 3C01800E */ lui $at, %hi(D_800DDBD4)
/* 026AE4 80025EE4 C6060224 */ lwc1 $f6, 0x224($s0)
/* 026AE8 80025EE8 00197080 */ sll $t6, $t9, 2
/* 026AEC 80025EEC 002E0821 */ addu $at, $at, $t6
/* 026AF0 80025EF0 C432DBD4 */ lwc1 $f18, %lo(D_800DDBD4)($at)
/* 026AF4 80025EF4 27A400A8 */ addiu $a0, $sp, 0xa8
/* 026AF8 80025EF8 46069102 */ mul.s $f4, $f18, $f6
/* 026AFC 80025EFC 44052000 */ mfc1 $a1, $f4
/* 026B00 80025F00 0C0087E1 */ jal func_80021F84
/* 026B04 80025F04 00000000 */ nop
/* 026B08 80025F08 3C108016 */ lui $s0, %hi(D_80164AF0) # $s0, 0x8016
/* 026B0C 80025F0C 26104AF0 */ addiu $s0, %lo(D_80164AF0) # addiu $s0, $s0, 0x4af0
/* 026B10 80025F10 86180000 */ lh $t8, ($s0)
/* 026B14 80025F14 3C0F8015 */ lui $t7, %hi(gGfxPool) # $t7, 0x8015
/* 026B18 80025F18 8DEFEF40 */ lw $t7, %lo(gGfxPool)($t7)
/* 026B1C 80025F1C 0018C980 */ sll $t9, $t8, 6
/* 026B20 80025F20 3401FAC0 */ li $at, 64192
/* 026B24 80025F24 01F92021 */ addu $a0, $t7, $t9
/* 026B28 80025F28 00812021 */ addu $a0, $a0, $at
/* 026B2C 80025F2C 0C008860 */ jal func_80022180
/* 026B30 80025F30 27A500A8 */ addiu $a1, $sp, 0xa8
/* 026B34 80025F34 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 026B38 80025F38 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 026B3C 80025F3C 8C620000 */ lw $v0, ($v1)
/* 026B40 80025F40 3C180102 */ lui $t8, (0x01020040 >> 16) # lui $t8, 0x102
/* 026B44 80025F44 37180040 */ ori $t8, (0x01020040 & 0xFFFF) # ori $t8, $t8, 0x40
/* 026B48 80025F48 244E0008 */ addiu $t6, $v0, 8
/* 026B4C 80025F4C AC6E0000 */ sw $t6, ($v1)
/* 026B50 80025F50 AC580000 */ sw $t8, ($v0)
/* 026B54 80025F54 86190000 */ lh $t9, ($s0)
/* 026B58 80025F58 3C0F8015 */ lui $t7, %hi(gGfxPool) # $t7, 0x8015
/* 026B5C 80025F5C 8DEFEF40 */ lw $t7, %lo(gGfxPool)($t7)
/* 026B60 80025F60 00197180 */ sll $t6, $t9, 6
/* 026B64 80025F64 3401FAC0 */ li $at, 64192
/* 026B68 80025F68 01EEC021 */ addu $t8, $t7, $t6
/* 026B6C 80025F6C 0301C821 */ addu $t9, $t8, $at
/* 026B70 80025F70 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 026B74 80025F74 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 026B78 80025F78 03217824 */ and $t7, $t9, $at
/* 026B7C 80025F7C AC4F0004 */ sw $t7, 4($v0)
/* 026B80 80025F80 8C620000 */ lw $v0, ($v1)
/* 026B84 80025F84 3C190D01 */ lui $t9, %hi(D_0D008D10) # $t9, 0xd01
/* 026B88 80025F88 27398D10 */ addiu $t9, %lo(D_0D008D10) # addiu $t9, $t9, -0x72f0
/* 026B8C 80025F8C 244E0008 */ addiu $t6, $v0, 8
/* 026B90 80025F90 AC6E0000 */ sw $t6, ($v1)
/* 026B94 80025F94 3C180600 */ lui $t8, 0x600
/* 026B98 80025F98 AC580000 */ sw $t8, ($v0)
/* 026B9C 80025F9C AC590004 */ sw $t9, 4($v0)
/* 026BA0 80025FA0 8C620000 */ lw $v0, ($v1)
/* 026BA4 80025FA4 3C0EBA00 */ lui $t6, (0xBA000E02 >> 16) # lui $t6, 0xba00
/* 026BA8 80025FA8 35CE0E02 */ ori $t6, (0xBA000E02 & 0xFFFF) # ori $t6, $t6, 0xe02
/* 026BAC 80025FAC 244F0008 */ addiu $t7, $v0, 8
/* 026BB0 80025FB0 AC6F0000 */ sw $t7, ($v1)
/* 026BB4 80025FB4 34188000 */ li $t8, 32768
/* 026BB8 80025FB8 AC580004 */ sw $t8, 4($v0)
/* 026BBC 80025FBC AC4E0000 */ sw $t6, ($v0)
/* 026BC0 80025FC0 83A800EF */ lb $t0, 0xef($sp)
/* 026BC4 80025FC4 3C0E8016 */ lui $t6, %hi(D_80164B60) # 0x8016
/* 026BC8 80025FC8 3C0F8016 */ lui $t7, %hi(D_80164B50) # 0x8016
/* 026BCC 80025FCC 0008C840 */ sll $t9, $t0, 1
/* 026BD0 80025FD0 01F97821 */ addu $t7, $t7, $t9
/* 026BD4 80025FD4 01D97021 */ addu $t6, $t6, $t9
/* 026BD8 80025FD8 95CE4B60 */ lhu $t6, %lo(D_80164B60)($t6) # 0x4b60
/* 026BDC 80025FDC 95EF4B50 */ lhu $t7, %lo(D_80164B50)($t7) # 0x4b50
/* 026BE0 80025FE0 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016
/* 026BE4 80025FE4 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 026BE8 80025FE8 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 026BEC 80025FEC 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 026BF0 80025FF0 00F93821 */ addu $a3, $a3, $t9
/* 026BF4 80025FF4 00D93021 */ addu $a2, $a2, $t9
/* 026BF8 80025FF8 00B92821 */ addu $a1, $a1, $t9
/* 026BFC 80025FFC 00992021 */ addu $a0, $a0, $t9
/* 026C00 80026000 24180040 */ li $t8, 64
/* 026C04 80026004 AFB80018 */ sw $t8, 0x18($sp)
/* 026C08 80026008 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 026C0C 8002600C 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 026C10 80026010 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 026C14 80026014 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 026C18 80026018 03204025 */ move $t0, $t9
/* 026C1C 8002601C AFAE0014 */ sw $t6, 0x14($sp)
/* 026C20 80026020 0C012D85 */ jal func_8004B614
/* 026C24 80026024 AFAF0010 */ sw $t7, 0x10($sp)
/* 026C28 80026028 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 026C2C 8002602C 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 026C30 80026030 8C620000 */ lw $v0, ($v1)
/* 026C34 80026034 3C0FB900 */ lui $t7, (0xB900031D >> 16) # lui $t7, 0xb900
/* 026C38 80026038 3C0E0050 */ lui $t6, (0x00505978 >> 16) # lui $t6, 0x50
/* 026C3C 8002603C 24590008 */ addiu $t9, $v0, 8
/* 026C40 80026040 AC790000 */ sw $t9, ($v1)
/* 026C44 80026044 35CE5978 */ ori $t6, (0x00505978 & 0xFFFF) # ori $t6, $t6, 0x5978
/* 026C48 80026048 35EF031D */ ori $t7, (0xB900031D & 0xFFFF) # ori $t7, $t7, 0x31d
/* 026C4C 8002604C AC4F0000 */ sw $t7, ($v0)
/* 026C50 80026050 AC4E0004 */ sw $t6, 4($v0)
/* 026C54 80026054 8C620000 */ lw $v0, ($v1)
/* 026C58 80026058 3C19FD50 */ lui $t9, 0xfd50
/* 026C5C 8002605C 3C0F8016 */ lui $t7, %hi(D_80164B08) # $t7, 0x8016
/* 026C60 80026060 24580008 */ addiu $t8, $v0, 8
/* 026C64 80026064 AC780000 */ sw $t8, ($v1)
/* 026C68 80026068 AC590000 */ sw $t9, ($v0)
/* 026C6C 8002606C 8DEF4B08 */ lw $t7, %lo(D_80164B08)($t7)
/* 026C70 80026070 3C190708 */ lui $t9, (0x07080200 >> 16) # lui $t9, 0x708
/* 026C74 80026074 37390200 */ ori $t9, (0x07080200 & 0xFFFF) # ori $t9, $t9, 0x200
/* 026C78 80026078 AC4F0004 */ sw $t7, 4($v0)
/* 026C7C 8002607C 8C620000 */ lw $v0, ($v1)
/* 026C80 80026080 3C18F550 */ lui $t8, 0xf550
/* 026C84 80026084 3C1F0D01 */ lui $ra, %hi(D_0D008C78) # $ra, 0xd01
/* 026C88 80026088 244E0008 */ addiu $t6, $v0, 8
/* 026C8C 8002608C AC6E0000 */ sw $t6, ($v1)
/* 026C90 80026090 AC590004 */ sw $t9, 4($v0)
/* 026C94 80026094 AC580000 */ sw $t8, ($v0)
/* 026C98 80026098 8C620000 */ lw $v0, ($v1)
/* 026C9C 8002609C 3C0EE600 */ lui $t6, 0xe600
/* 026CA0 800260A0 3C19F300 */ lui $t9, 0xf300
/* 026CA4 800260A4 244F0008 */ addiu $t7, $v0, 8
/* 026CA8 800260A8 AC6F0000 */ sw $t7, ($v1)
/* 026CAC 800260AC AC400004 */ sw $zero, 4($v0)
/* 026CB0 800260B0 AC4E0000 */ sw $t6, ($v0)
/* 026CB4 800260B4 8C620000 */ lw $v0, ($v1)
/* 026CB8 800260B8 3C0F073F */ lui $t7, (0x073FF100 >> 16) # lui $t7, 0x73f
/* 026CBC 800260BC 35EFF100 */ ori $t7, (0x073FF100 & 0xFFFF) # ori $t7, $t7, 0xf100
/* 026CC0 800260C0 24580008 */ addiu $t8, $v0, 8
/* 026CC4 800260C4 AC780000 */ sw $t8, ($v1)
/* 026CC8 800260C8 AC4F0004 */ sw $t7, 4($v0)
/* 026CCC 800260CC AC590000 */ sw $t9, ($v0)
/* 026CD0 800260D0 8C620000 */ lw $v0, ($v1)
/* 026CD4 800260D4 3C18E700 */ lui $t8, 0xe700
/* 026CD8 800260D8 3C0FF548 */ lui $t7, (0xF5481000 >> 16) # lui $t7, 0xf548
/* 026CDC 800260DC 244E0008 */ addiu $t6, $v0, 8
/* 026CE0 800260E0 AC6E0000 */ sw $t6, ($v1)
/* 026CE4 800260E4 AC400004 */ sw $zero, 4($v0)
/* 026CE8 800260E8 AC580000 */ sw $t8, ($v0)
/* 026CEC 800260EC 8C620000 */ lw $v0, ($v1)
/* 026CF0 800260F0 3C0E0008 */ lui $t6, (0x00080200 >> 16) # lui $t6, 8
/* 026CF4 800260F4 35CE0200 */ ori $t6, (0x00080200 & 0xFFFF) # ori $t6, $t6, 0x200
/* 026CF8 800260F8 24590008 */ addiu $t9, $v0, 8
/* 026CFC 800260FC AC790000 */ sw $t9, ($v1)
/* 026D00 80026100 35EF1000 */ ori $t7, (0xF5481000 & 0xFFFF) # ori $t7, $t7, 0x1000
/* 026D04 80026104 AC4F0000 */ sw $t7, ($v0)
/* 026D08 80026108 AC4E0004 */ sw $t6, 4($v0)
/* 026D0C 8002610C 8C620000 */ lw $v0, ($v1)
/* 026D10 80026110 3C0F000F */ lui $t7, (0x000FC07C >> 16) # lui $t7, 0xf
/* 026D14 80026114 35EFC07C */ ori $t7, (0x000FC07C & 0xFFFF) # ori $t7, $t7, 0xc07c
/* 026D18 80026118 24580008 */ addiu $t8, $v0, 8
/* 026D1C 8002611C AC780000 */ sw $t8, ($v1)
/* 026D20 80026120 3C19F200 */ lui $t9, 0xf200
/* 026D24 80026124 AC590000 */ sw $t9, ($v0)
/* 026D28 80026128 AC4F0004 */ sw $t7, 4($v0)
/* 026D2C 8002612C 8C620000 */ lw $v0, ($v1)
/* 026D30 80026130 3C180400 */ lui $t8, (0x0400103F >> 16) # lui $t8, 0x400
/* 026D34 80026134 3718103F */ ori $t8, (0x0400103F & 0xFFFF) # ori $t8, $t8, 0x103f
/* 026D38 80026138 244E0008 */ addiu $t6, $v0, 8
/* 026D3C 8002613C AC6E0000 */ sw $t6, ($v1)
/* 026D40 80026140 AC580000 */ sw $t8, ($v0)
/* 026D44 80026144 83B900EF */ lb $t9, 0xef($sp)
/* 026D48 80026148 3C0E800E */ lui $t6, %hi(D_800DDBB4) # $t6, 0x800e
/* 026D4C 8002614C 25CEDBB4 */ addiu $t6, %lo(D_800DDBB4) # addiu $t6, $t6, -0x244c
/* 026D50 80026150 00197880 */ sll $t7, $t9, 2
/* 026D54 80026154 83B900F7 */ lb $t9, 0xf7($sp)
/* 026D58 80026158 01EE6821 */ addu $t5, $t7, $t6
/* 026D5C 8002615C 8DB80000 */ lw $t8, ($t5)
/* 026D60 80026160 00197900 */ sll $t7, $t9, 4
/* 026D64 80026164 27FF8C78 */ addiu $ra, %lo(D_0D008C78) # addiu $ra, $ra, -0x7388
/* 026D68 80026168 030F7021 */ addu $t6, $t8, $t7
/* 026D6C 8002616C AC4E0004 */ sw $t6, 4($v0)
/* 026D70 80026170 8C620000 */ lw $v0, ($v1)
/* 026D74 80026174 3C180600 */ lui $t8, 0x600
/* 026D78 80026178 3C0EFD50 */ lui $t6, 0xfd50
/* 026D7C 8002617C 24590008 */ addiu $t9, $v0, 8
/* 026D80 80026180 AC790000 */ sw $t9, ($v1)
/* 026D84 80026184 AC5F0004 */ sw $ra, 4($v0)
/* 026D88 80026188 AC580000 */ sw $t8, ($v0)
/* 026D8C 8002618C 8C620000 */ lw $v0, ($v1)
/* 026D90 80026190 3C198016 */ lui $t9, %hi(D_80164B0C) # $t9, 0x8016
/* 026D94 80026194 244F0008 */ addiu $t7, $v0, 8
/* 026D98 80026198 AC6F0000 */ sw $t7, ($v1)
/* 026D9C 8002619C AC4E0000 */ sw $t6, ($v0)
/* 026DA0 800261A0 8F394B0C */ lw $t9, %lo(D_80164B0C)($t9)
/* 026DA4 800261A4 3C0E0708 */ lui $t6, (0x07080200 >> 16) # lui $t6, 0x708
/* 026DA8 800261A8 35CE0200 */ ori $t6, (0x07080200 & 0xFFFF) # ori $t6, $t6, 0x200
/* 026DAC 800261AC AC590004 */ sw $t9, 4($v0)
/* 026DB0 800261B0 8C620000 */ lw $v0, ($v1)
/* 026DB4 800261B4 3C0FF550 */ lui $t7, 0xf550
/* 026DB8 800261B8 24580008 */ addiu $t8, $v0, 8
/* 026DBC 800261BC AC780000 */ sw $t8, ($v1)
/* 026DC0 800261C0 AC4E0004 */ sw $t6, 4($v0)
/* 026DC4 800261C4 AC4F0000 */ sw $t7, ($v0)
/* 026DC8 800261C8 8C620000 */ lw $v0, ($v1)
/* 026DCC 800261CC 3C18E600 */ lui $t8, 0xe600
/* 026DD0 800261D0 3C0EF300 */ lui $t6, 0xf300
/* 026DD4 800261D4 24590008 */ addiu $t9, $v0, 8
/* 026DD8 800261D8 AC790000 */ sw $t9, ($v1)
/* 026DDC 800261DC AC400004 */ sw $zero, 4($v0)
/* 026DE0 800261E0 AC580000 */ sw $t8, ($v0)
/* 026DE4 800261E4 8C620000 */ lw $v0, ($v1)
/* 026DE8 800261E8 3C19073F */ lui $t9, (0x073FF100 >> 16) # lui $t9, 0x73f
/* 026DEC 800261EC 3739F100 */ ori $t9, (0x073FF100 & 0xFFFF) # ori $t9, $t9, 0xf100
/* 026DF0 800261F0 244F0008 */ addiu $t7, $v0, 8
/* 026DF4 800261F4 AC6F0000 */ sw $t7, ($v1)
/* 026DF8 800261F8 AC590004 */ sw $t9, 4($v0)
/* 026DFC 800261FC AC4E0000 */ sw $t6, ($v0)
/* 026E00 80026200 8C620000 */ lw $v0, ($v1)
/* 026E04 80026204 3C0FE700 */ lui $t7, 0xe700
/* 026E08 80026208 3C19F548 */ lui $t9, (0xF5481000 >> 16) # lui $t9, 0xf548
/* 026E0C 8002620C 24580008 */ addiu $t8, $v0, 8
/* 026E10 80026210 AC780000 */ sw $t8, ($v1)
/* 026E14 80026214 AC400004 */ sw $zero, 4($v0)
/* 026E18 80026218 AC4F0000 */ sw $t7, ($v0)
/* 026E1C 8002621C 8C620000 */ lw $v0, ($v1)
/* 026E20 80026220 3C180008 */ lui $t8, (0x00080200 >> 16) # lui $t8, 8
/* 026E24 80026224 37180200 */ ori $t8, (0x00080200 & 0xFFFF) # ori $t8, $t8, 0x200
/* 026E28 80026228 244E0008 */ addiu $t6, $v0, 8
/* 026E2C 8002622C AC6E0000 */ sw $t6, ($v1)
/* 026E30 80026230 37391000 */ ori $t9, (0xF5481000 & 0xFFFF) # ori $t9, $t9, 0x1000
/* 026E34 80026234 AC590000 */ sw $t9, ($v0)
/* 026E38 80026238 AC580004 */ sw $t8, 4($v0)
/* 026E3C 8002623C 8C620000 */ lw $v0, ($v1)
/* 026E40 80026240 3C19000F */ lui $t9, (0x000FC07C >> 16) # lui $t9, 0xf
/* 026E44 80026244 3739C07C */ ori $t9, (0x000FC07C & 0xFFFF) # ori $t9, $t9, 0xc07c
/* 026E48 80026248 244F0008 */ addiu $t7, $v0, 8
/* 026E4C 8002624C AC6F0000 */ sw $t7, ($v1)
/* 026E50 80026250 3C0EF200 */ lui $t6, 0xf200
/* 026E54 80026254 AC4E0000 */ sw $t6, ($v0)
/* 026E58 80026258 AC590004 */ sw $t9, 4($v0)
/* 026E5C 8002625C 8C620000 */ lw $v0, ($v1)
/* 026E60 80026260 3C0F0400 */ lui $t7, (0x0400103F >> 16) # lui $t7, 0x400
/* 026E64 80026264 35EF103F */ ori $t7, (0x0400103F & 0xFFFF) # ori $t7, $t7, 0x103f
/* 026E68 80026268 24580008 */ addiu $t8, $v0, 8
/* 026E6C 8002626C AC780000 */ sw $t8, ($v1)
/* 026E70 80026270 AC4F0000 */ sw $t7, ($v0)
/* 026E74 80026274 83B900F7 */ lb $t9, 0xf7($sp)
/* 026E78 80026278 8DAE0000 */ lw $t6, ($t5)
/* 026E7C 8002627C 27380004 */ addiu $t8, $t9, 4
/* 026E80 80026280 00187900 */ sll $t7, $t8, 4
/* 026E84 80026284 01CFC821 */ addu $t9, $t6, $t7
/* 026E88 80026288 AC590004 */ sw $t9, 4($v0)
/* 026E8C 8002628C 8C620000 */ lw $v0, ($v1)
/* 026E90 80026290 3C0E0600 */ lui $t6, 0x600
/* 026E94 80026294 3C19BB00 */ lui $t9, 0xbb00
/* 026E98 80026298 24580008 */ addiu $t8, $v0, 8
/* 026E9C 8002629C AC780000 */ sw $t8, ($v1)
/* 026EA0 800262A0 AC5F0004 */ sw $ra, 4($v0)
/* 026EA4 800262A4 AC4E0000 */ sw $t6, ($v0)
/* 026EA8 800262A8 8C620000 */ lw $v0, ($v1)
/* 026EAC 800262AC 3C180001 */ lui $t8, (0x00010001 >> 16) # lui $t8, 1
/* 026EB0 800262B0 37180001 */ ori $t8, (0x00010001 & 0xFFFF) # ori $t8, $t8, 1
/* 026EB4 800262B4 244F0008 */ addiu $t7, $v0, 8
/* 026EB8 800262B8 AC6F0000 */ sw $t7, ($v1)
/* 026EBC 800262BC AC580004 */ sw $t8, 4($v0)
/* 026EC0 800262C0 AC590000 */ sw $t9, ($v0)
/* 026EC4 800262C4 860E0000 */ lh $t6, ($s0)
/* 026EC8 800262C8 8FBF002C */ lw $ra, 0x2c($sp)
/* 026ECC 800262CC 25CF0001 */ addiu $t7, $t6, 1
/* 026ED0 800262D0 A60F0000 */ sh $t7, ($s0)
/* 026ED4 800262D4 8FB00028 */ lw $s0, 0x28($sp)
/* 026ED8 800262D8 03E00008 */ jr $ra
/* 026EDC 800262DC 27BD00E8 */ addiu $sp, $sp, 0xe8

View File

@ -1,310 +0,0 @@
glabel func_800262E0
/* 026EE0 800262E0 27BDFF18 */ addiu $sp, $sp, -0xe8
/* 026EE4 800262E4 AFA600F0 */ sw $a2, 0xf0($sp)
/* 026EE8 800262E8 00067600 */ sll $t6, $a2, 0x18
/* 026EEC 800262EC 000E3603 */ sra $a2, $t6, 0x18
/* 026EF0 800262F0 0006C040 */ sll $t8, $a2, 1
/* 026EF4 800262F4 AFBF002C */ sw $ra, 0x2c($sp)
/* 026EF8 800262F8 AFB00028 */ sw $s0, 0x28($sp)
/* 026EFC 800262FC AFA500EC */ sw $a1, 0xec($sp)
/* 026F00 80026300 AFA700F4 */ sw $a3, 0xf4($sp)
/* 026F04 80026304 A7A00094 */ sh $zero, 0x94($sp)
/* 026F08 80026308 00981021 */ addu $v0, $a0, $t8
/* 026F0C 8002630C 84590048 */ lh $t9, 0x48($v0)
/* 026F10 80026310 34018000 */ li $at, 32768
/* 026F14 80026314 00808025 */ move $s0, $a0
/* 026F18 80026318 A7B90096 */ sh $t9, 0x96($sp)
/* 026F1C 8002631C 844E0050 */ lh $t6, 0x50($v0)
/* 026F20 80026320 0006C880 */ sll $t9, $a2, 2
/* 026F24 80026324 27A5009C */ addiu $a1, $sp, 0x9c
/* 026F28 80026328 01C17821 */ addu $t7, $t6, $at
/* 026F2C 8002632C A7AF0098 */ sh $t7, 0x98($sp)
/* 026F30 80026330 C4840014 */ lwc1 $f4, 0x14($a0)
/* 026F34 80026334 3C014080 */ li $at, 0x40800000 # 4.000000
/* 026F38 80026338 44813000 */ mtc1 $at, $f6
/* 026F3C 8002633C E7A4009C */ swc1 $f4, 0x9c($sp)
/* 026F40 80026340 C4880224 */ lwc1 $f8, 0x224($a0)
/* 026F44 80026344 C4900074 */ lwc1 $f16, 0x74($a0)
/* 026F48 80026348 240E0004 */ li $t6, 4
/* 026F4C 8002634C 46083282 */ mul.s $f10, $f6, $f8
/* 026F50 80026350 032E7804 */ sllv $t7, $t6, $t9
/* 026F54 80026354 24190008 */ li $t9, 8
/* 026F58 80026358 460A8480 */ add.s $f18, $f16, $f10
/* 026F5C 8002635C E7B200A0 */ swc1 $f18, 0xa0($sp)
/* 026F60 80026360 C484001C */ lwc1 $f4, 0x1c($a0)
/* 026F64 80026364 E7A400A4 */ swc1 $f4, 0xa4($sp)
/* 026F68 80026368 94980002 */ lhu $t8, 2($a0)
/* 026F6C 8002636C 27A400A8 */ addiu $a0, $sp, 0xa8
/* 026F70 80026370 030F7024 */ and $t6, $t8, $t7
/* 026F74 80026374 55C00004 */ bnel $t6, $zero, .L80026388
/* 026F78 80026378 A3A000F7 */ sb $zero, 0xf7($sp)
/* 026F7C 8002637C 10000002 */ b .L80026388
/* 026F80 80026380 A3B900F7 */ sb $t9, 0xf7($sp)
/* 026F84 80026384 A3A000F7 */ sb $zero, 0xf7($sp)
.L80026388:
/* 026F88 80026388 0C008784 */ jal func_80021E10
/* 026F8C 8002638C 27A60094 */ addiu $a2, $sp, 0x94
/* 026F90 80026390 96180254 */ lhu $t8, 0x254($s0)
/* 026F94 80026394 3C01800E */ lui $at, %hi(D_800DDBD4)
/* 026F98 80026398 C6080224 */ lwc1 $f8, 0x224($s0)
/* 026F9C 8002639C 00187880 */ sll $t7, $t8, 2
/* 026FA0 800263A0 002F0821 */ addu $at, $at, $t7
/* 026FA4 800263A4 C426DBD4 */ lwc1 $f6, %lo(D_800DDBD4)($at)
/* 026FA8 800263A8 27A400A8 */ addiu $a0, $sp, 0xa8
/* 026FAC 800263AC 46083402 */ mul.s $f16, $f6, $f8
/* 026FB0 800263B0 44058000 */ mfc1 $a1, $f16
/* 026FB4 800263B4 0C0087E1 */ jal func_80021F84
/* 026FB8 800263B8 00000000 */ nop
/* 026FBC 800263BC 3C198016 */ lui $t9, %hi(D_80164AF0) # $t9, 0x8016
/* 026FC0 800263C0 87394AF0 */ lh $t9, %lo(D_80164AF0)($t9)
/* 026FC4 800263C4 3C0E8015 */ lui $t6, %hi(gGfxPool) # $t6, 0x8015
/* 026FC8 800263C8 8DCEEF40 */ lw $t6, %lo(gGfxPool)($t6)
/* 026FCC 800263CC 0019C180 */ sll $t8, $t9, 6
/* 026FD0 800263D0 3401FAC0 */ li $at, 64192
/* 026FD4 800263D4 01D82021 */ addu $a0, $t6, $t8
/* 026FD8 800263D8 00812021 */ addu $a0, $a0, $at
/* 026FDC 800263DC 0C008860 */ jal func_80022180
/* 026FE0 800263E0 27A500A8 */ addiu $a1, $sp, 0xa8
/* 026FE4 800263E4 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 026FE8 800263E8 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 026FEC 800263EC 8C690000 */ lw $t1, ($v1)
/* 026FF0 800263F0 3C190102 */ lui $t9, (0x01020040 >> 16) # lui $t9, 0x102
/* 026FF4 800263F4 37390040 */ ori $t9, (0x01020040 & 0xFFFF) # ori $t9, $t9, 0x40
/* 026FF8 800263F8 252F0008 */ addiu $t7, $t1, 8
/* 026FFC 800263FC AC6F0000 */ sw $t7, ($v1)
/* 027000 80026400 3C188016 */ lui $t8, %hi(D_80164AF0) # $t8, 0x8016
/* 027004 80026404 AD390000 */ sw $t9, ($t1)
/* 027008 80026408 87184AF0 */ lh $t8, %lo(D_80164AF0)($t8)
/* 02700C 8002640C 3C0E8015 */ lui $t6, %hi(gGfxPool) # $t6, 0x8015
/* 027010 80026410 8DCEEF40 */ lw $t6, %lo(gGfxPool)($t6)
/* 027014 80026414 00187980 */ sll $t7, $t8, 6
/* 027018 80026418 3401FAC0 */ li $at, 64192
/* 02701C 8002641C 01CFC821 */ addu $t9, $t6, $t7
/* 027020 80026420 0321C021 */ addu $t8, $t9, $at
/* 027024 80026424 3C011FFF */ lui $at, (0x1FFFFFFF >> 16) # lui $at, 0x1fff
/* 027028 80026428 3421FFFF */ ori $at, (0x1FFFFFFF & 0xFFFF) # ori $at, $at, 0xffff
/* 02702C 8002642C 03017024 */ and $t6, $t8, $at
/* 027030 80026430 AD2E0004 */ sw $t6, 4($t1)
/* 027034 80026434 8C6A0000 */ lw $t2, ($v1)
/* 027038 80026438 3C180D01 */ lui $t8, %hi(D_0D008CD8) # $t8, 0xd01
/* 02703C 8002643C 27188CD8 */ addiu $t8, %lo(D_0D008CD8) # addiu $t8, $t8, -0x7328
/* 027040 80026440 254F0008 */ addiu $t7, $t2, 8
/* 027044 80026444 AC6F0000 */ sw $t7, ($v1)
/* 027048 80026448 3C190600 */ lui $t9, 0x600
/* 02704C 8002644C AD590000 */ sw $t9, ($t2)
/* 027050 80026450 AD580004 */ sw $t8, 4($t2)
/* 027054 80026454 8C620000 */ lw $v0, ($v1)
/* 027058 80026458 3C0FBA00 */ lui $t7, (0xBA000E02 >> 16) # lui $t7, 0xba00
/* 02705C 8002645C 35EF0E02 */ ori $t7, (0xBA000E02 & 0xFFFF) # ori $t7, $t7, 0xe02
/* 027060 80026460 244E0008 */ addiu $t6, $v0, 8
/* 027064 80026464 AC6E0000 */ sw $t6, ($v1)
/* 027068 80026468 34198000 */ li $t9, 32768
/* 02706C 8002646C AC590004 */ sw $t9, 4($v0)
/* 027070 80026470 AC4F0000 */ sw $t7, ($v0)
/* 027074 80026474 83A800EF */ lb $t0, 0xef($sp)
/* 027078 80026478 3C0F8016 */ lui $t7, %hi(D_80164B60) # 0x8016
/* 02707C 8002647C 3C0E8016 */ lui $t6, %hi(D_80164B50) # 0x8016
/* 027080 80026480 0008C040 */ sll $t8, $t0, 1
/* 027084 80026484 01D87021 */ addu $t6, $t6, $t8
/* 027088 80026488 01F87821 */ addu $t7, $t7, $t8
/* 02708C 8002648C 95EF4B60 */ lhu $t7, %lo(D_80164B60)($t7) # 0x4b60
/* 027090 80026490 95CE4B50 */ lhu $t6, %lo(D_80164B50)($t6) # 0x4b50
/* 027094 80026494 3C048016 */ lui $a0, %hi(D_80164B10) # 0x8016
/* 027098 80026498 3C058016 */ lui $a1, %hi(D_80164B20) # 0x8016
/* 02709C 8002649C 3C068016 */ lui $a2, %hi(D_80164B30) # 0x8016
/* 0270A0 800264A0 3C078016 */ lui $a3, %hi(D_80164B40) # 0x8016
/* 0270A4 800264A4 AFAF0014 */ sw $t7, 0x14($sp)
/* 0270A8 800264A8 AFAE0010 */ sw $t6, 0x10($sp)
/* 0270AC 800264AC 861900C6 */ lh $t9, 0xc6($s0)
/* 0270B0 800264B0 00F83821 */ addu $a3, $a3, $t8
/* 0270B4 800264B4 00D83021 */ addu $a2, $a2, $t8
/* 0270B8 800264B8 00B82821 */ addu $a1, $a1, $t8
/* 0270BC 800264BC 00982021 */ addu $a0, $a0, $t8
/* 0270C0 800264C0 03004025 */ move $t0, $t8
/* 0270C4 800264C4 94844B10 */ lhu $a0, %lo(D_80164B10)($a0) # 0x4b10
/* 0270C8 800264C8 94A54B20 */ lhu $a1, %lo(D_80164B20)($a1) # 0x4b20
/* 0270CC 800264CC 94C64B30 */ lhu $a2, %lo(D_80164B30)($a2) # 0x4b30
/* 0270D0 800264D0 94E74B40 */ lhu $a3, %lo(D_80164B40)($a3) # 0x4b40
/* 0270D4 800264D4 00405825 */ move $t3, $v0
/* 0270D8 800264D8 07210003 */ bgez $t9, .L800264E8
/* 0270DC 800264DC 0019C043 */ sra $t8, $t9, 1
/* 0270E0 800264E0 27210001 */ addiu $at, $t9, 1
/* 0270E4 800264E4 0001C043 */ sra $t8, $at, 1
.L800264E8:
/* 0270E8 800264E8 0C012D85 */ jal func_8004B614
/* 0270EC 800264EC AFB80018 */ sw $t8, 0x18($sp)
/* 0270F0 800264F0 3C038015 */ lui $v1, %hi(gDisplayListHead) # $v1, 0x8015
/* 0270F4 800264F4 24630298 */ addiu $v1, %lo(gDisplayListHead) # addiu $v1, $v1, 0x298
/* 0270F8 800264F8 8C620000 */ lw $v0, ($v1)
/* 0270FC 800264FC 3C0FB900 */ lui $t7, (0xB900031D >> 16) # lui $t7, 0xb900
/* 027100 80026500 3C190050 */ lui $t9, (0x00504A50 >> 16) # lui $t9, 0x50
/* 027104 80026504 244E0008 */ addiu $t6, $v0, 8
/* 027108 80026508 AC6E0000 */ sw $t6, ($v1)
/* 02710C 8002650C 37394A50 */ ori $t9, (0x00504A50 & 0xFFFF) # ori $t9, $t9, 0x4a50
/* 027110 80026510 35EF031D */ ori $t7, (0xB900031D & 0xFFFF) # ori $t7, $t7, 0x31d
/* 027114 80026514 AC4F0000 */ sw $t7, ($v0)
/* 027118 80026518 AC590004 */ sw $t9, 4($v0)
/* 02711C 8002651C 8C620000 */ lw $v0, ($v1)
/* 027120 80026520 3C10FD50 */ lui $s0, 0xfd50
/* 027124 80026524 3C0E8016 */ lui $t6, %hi(D_80164B08) # $t6, 0x8016
/* 027128 80026528 24580008 */ addiu $t8, $v0, 8
/* 02712C 8002652C AC780000 */ sw $t8, ($v1)
/* 027130 80026530 AC500000 */ sw $s0, ($v0)
/* 027134 80026534 8DCE4B08 */ lw $t6, %lo(D_80164B08)($t6)
/* 027138 80026538 3C180708 */ lui $t8, (0x07080200 >> 16) # lui $t8, 0x708
/* 02713C 8002653C 37180200 */ ori $t8, (0x07080200 & 0xFFFF) # ori $t8, $t8, 0x200
/* 027140 80026540 AC4E0004 */ sw $t6, 4($v0)
/* 027144 80026544 8C620000 */ lw $v0, ($v1)
/* 027148 80026548 3C19F550 */ lui $t9, 0xf550
/* 02714C 8002654C 3C1F0D01 */ lui $ra, %hi(D_0D008C78) # $ra, 0xd01
/* 027150 80026550 244F0008 */ addiu $t7, $v0, 8
/* 027154 80026554 AC6F0000 */ sw $t7, ($v1)
/* 027158 80026558 AC580004 */ sw $t8, 4($v0)
/* 02715C 8002655C AC590000 */ sw $t9, ($v0)
/* 027160 80026560 8C620000 */ lw $v0, ($v1)
/* 027164 80026564 3C0FE600 */ lui $t7, 0xe600
/* 027168 80026568 3C18F300 */ lui $t8, 0xf300
/* 02716C 8002656C 244E0008 */ addiu $t6, $v0, 8
/* 027170 80026570 AC6E0000 */ sw $t6, ($v1)
/* 027174 80026574 AC400004 */ sw $zero, 4($v0)
/* 027178 80026578 AC4F0000 */ sw $t7, ($v0)
/* 02717C 8002657C 8C620000 */ lw $v0, ($v1)
/* 027180 80026580 3C0E073F */ lui $t6, (0x073FF100 >> 16) # lui $t6, 0x73f
/* 027184 80026584 35CEF100 */ ori $t6, (0x073FF100 & 0xFFFF) # ori $t6, $t6, 0xf100
/* 027188 80026588 24590008 */ addiu $t9, $v0, 8
/* 02718C 8002658C AC790000 */ sw $t9, ($v1)
/* 027190 80026590 AC4E0004 */ sw $t6, 4($v0)
/* 027194 80026594 AC580000 */ sw $t8, ($v0)
/* 027198 80026598 8C620000 */ lw $v0, ($v1)
/* 02719C 8002659C 3C19E700 */ lui $t9, 0xe700
/* 0271A0 800265A0 3C0EF548 */ lui $t6, (0xF5481000 >> 16) # lui $t6, 0xf548
/* 0271A4 800265A4 244F0008 */ addiu $t7, $v0, 8
/* 0271A8 800265A8 AC6F0000 */ sw $t7, ($v1)
/* 0271AC 800265AC AC400004 */ sw $zero, 4($v0)
/* 0271B0 800265B0 AC590000 */ sw $t9, ($v0)
/* 0271B4 800265B4 8C620000 */ lw $v0, ($v1)
/* 0271B8 800265B8 3C0F0008 */ lui $t7, (0x00080200 >> 16) # lui $t7, 8
/* 0271BC 800265BC 35EF0200 */ ori $t7, (0x00080200 & 0xFFFF) # ori $t7, $t7, 0x200
/* 0271C0 800265C0 24580008 */ addiu $t8, $v0, 8
/* 0271C4 800265C4 AC780000 */ sw $t8, ($v1)
/* 0271C8 800265C8 35CE1000 */ ori $t6, (0xF5481000 & 0xFFFF) # ori $t6, $t6, 0x1000
/* 0271CC 800265CC AC4E0000 */ sw $t6, ($v0)
/* 0271D0 800265D0 AC4F0004 */ sw $t7, 4($v0)
/* 0271D4 800265D4 8C620000 */ lw $v0, ($v1)
/* 0271D8 800265D8 3C0E000F */ lui $t6, (0x000FC07C >> 16) # lui $t6, 0xf
/* 0271DC 800265DC 35CEC07C */ ori $t6, (0x000FC07C & 0xFFFF) # ori $t6, $t6, 0xc07c
/* 0271E0 800265E0 24590008 */ addiu $t9, $v0, 8
/* 0271E4 800265E4 AC790000 */ sw $t9, ($v1)
/* 0271E8 800265E8 3C18F200 */ lui $t8, 0xf200
/* 0271EC 800265EC AC580000 */ sw $t8, ($v0)
/* 0271F0 800265F0 AC4E0004 */ sw $t6, 4($v0)
/* 0271F4 800265F4 8C620000 */ lw $v0, ($v1)
/* 0271F8 800265F8 3C190400 */ lui $t9, (0x0400103F >> 16) # lui $t9, 0x400
/* 0271FC 800265FC 3739103F */ ori $t9, (0x0400103F & 0xFFFF) # ori $t9, $t9, 0x103f
/* 027200 80026600 244F0008 */ addiu $t7, $v0, 8
/* 027204 80026604 AC6F0000 */ sw $t7, ($v1)
/* 027208 80026608 AC590000 */ sw $t9, ($v0)
/* 02720C 8002660C 83B800EF */ lb $t8, 0xef($sp)
/* 027210 80026610 3C0F800E */ lui $t7, %hi(D_800DDBB4) # $t7, 0x800e
/* 027214 80026614 25EFDBB4 */ addiu $t7, %lo(D_800DDBB4) # addiu $t7, $t7, -0x244c
/* 027218 80026618 00187080 */ sll $t6, $t8, 2
/* 02721C 8002661C 83B800F7 */ lb $t8, 0xf7($sp)
/* 027220 80026620 01CF6821 */ addu $t5, $t6, $t7
/* 027224 80026624 8DB90000 */ lw $t9, ($t5)
/* 027228 80026628 00187100 */ sll $t6, $t8, 4
/* 02722C 8002662C 27FF8C78 */ addiu $ra, %lo(D_0D008C78) # addiu $ra, $ra, -0x7388
/* 027230 80026630 032E7821 */ addu $t7, $t9, $t6
/* 027234 80026634 AC4F0004 */ sw $t7, 4($v0)
/* 027238 80026638 8C620000 */ lw $v0, ($v1)
/* 02723C 8002663C 3C190600 */ lui $t9, 0x600
/* 027240 80026640 3C0F8016 */ lui $t7, %hi(D_80164B0C) # $t7, 0x8016
/* 027244 80026644 24580008 */ addiu $t8, $v0, 8
/* 027248 80026648 AC780000 */ sw $t8, ($v1)
/* 02724C 8002664C AC5F0004 */ sw $ra, 4($v0)
/* 027250 80026650 AC590000 */ sw $t9, ($v0)
/* 027254 80026654 8C620000 */ lw $v0, ($v1)
/* 027258 80026658 3C19F550 */ lui $t9, 0xf550
/* 02725C 8002665C 3C068016 */ lui $a2, %hi(D_80164AF0) # $a2, 0x8016
/* 027260 80026660 244E0008 */ addiu $t6, $v0, 8
/* 027264 80026664 AC6E0000 */ sw $t6, ($v1)
/* 027268 80026668 AC500000 */ sw $s0, ($v0)
/* 02726C 8002666C 8DEF4B0C */ lw $t7, %lo(D_80164B0C)($t7)
/* 027270 80026670 3C0E0708 */ lui $t6, (0x07080200 >> 16) # lui $t6, 0x708
/* 027274 80026674 35CE0200 */ ori $t6, (0x07080200 & 0xFFFF) # ori $t6, $t6, 0x200
/* 027278 80026678 AC4F0004 */ sw $t7, 4($v0)
/* 02727C 8002667C 8C620000 */ lw $v0, ($v1)
/* 027280 80026680 24C64AF0 */ addiu $a2, %lo(D_80164AF0) # addiu $a2, $a2, 0x4af0
/* 027284 80026684 24580008 */ addiu $t8, $v0, 8
/* 027288 80026688 AC780000 */ sw $t8, ($v1)
/* 02728C 8002668C AC4E0004 */ sw $t6, 4($v0)
/* 027290 80026690 AC590000 */ sw $t9, ($v0)
/* 027294 80026694 8C620000 */ lw $v0, ($v1)
/* 027298 80026698 3C18E600 */ lui $t8, 0xe600
/* 02729C 8002669C 3C0EF300 */ lui $t6, 0xf300
/* 0272A0 800266A0 244F0008 */ addiu $t7, $v0, 8
/* 0272A4 800266A4 AC6F0000 */ sw $t7, ($v1)
/* 0272A8 800266A8 AC400004 */ sw $zero, 4($v0)
/* 0272AC 800266AC AC580000 */ sw $t8, ($v0)
/* 0272B0 800266B0 8C620000 */ lw $v0, ($v1)
/* 0272B4 800266B4 3C0F073F */ lui $t7, (0x073FF100 >> 16) # lui $t7, 0x73f
/* 0272B8 800266B8 35EFF100 */ ori $t7, (0x073FF100 & 0xFFFF) # ori $t7, $t7, 0xf100
/* 0272BC 800266BC 24590008 */ addiu $t9, $v0, 8
/* 0272C0 800266C0 AC790000 */ sw $t9, ($v1)
/* 0272C4 800266C4 AC4F0004 */ sw $t7, 4($v0)
/* 0272C8 800266C8 AC4E0000 */ sw $t6, ($v0)
/* 0272CC 800266CC 8C620000 */ lw $v0, ($v1)
/* 0272D0 800266D0 3C19E700 */ lui $t9, 0xe700
/* 0272D4 800266D4 3C0FF548 */ lui $t7, (0xF5481000 >> 16) # lui $t7, 0xf548
/* 0272D8 800266D8 24580008 */ addiu $t8, $v0, 8
/* 0272DC 800266DC AC780000 */ sw $t8, ($v1)
/* 0272E0 800266E0 AC400004 */ sw $zero, 4($v0)
/* 0272E4 800266E4 AC590000 */ sw $t9, ($v0)
/* 0272E8 800266E8 8C620000 */ lw $v0, ($v1)
/* 0272EC 800266EC 3C180008 */ lui $t8, (0x00080200 >> 16) # lui $t8, 8
/* 0272F0 800266F0 37180200 */ ori $t8, (0x00080200 & 0xFFFF) # ori $t8, $t8, 0x200
/* 0272F4 800266F4 244E0008 */ addiu $t6, $v0, 8
/* 0272F8 800266F8 AC6E0000 */ sw $t6, ($v1)
/* 0272FC 800266FC 35EF1000 */ ori $t7, (0xF5481000 & 0xFFFF) # ori $t7, $t7, 0x1000
/* 027300 80026700 AC4F0000 */ sw $t7, ($v0)
/* 027304 80026704 AC580004 */ sw $t8, 4($v0)
/* 027308 80026708 8C620000 */ lw $v0, ($v1)
/* 02730C 8002670C 3C0F000F */ lui $t7, (0x000FC07C >> 16) # lui $t7, 0xf
/* 027310 80026710 35EFC07C */ ori $t7, (0x000FC07C & 0xFFFF) # ori $t7, $t7, 0xc07c
/* 027314 80026714 24590008 */ addiu $t9, $v0, 8
/* 027318 80026718 AC790000 */ sw $t9, ($v1)
/* 02731C 8002671C 3C0EF200 */ lui $t6, 0xf200
/* 027320 80026720 AC4E0000 */ sw $t6, ($v0)
/* 027324 80026724 AC4F0004 */ sw $t7, 4($v0)
/* 027328 80026728 8C620000 */ lw $v0, ($v1)
/* 02732C 8002672C 3C190400 */ lui $t9, (0x0400103F >> 16) # lui $t9, 0x400
/* 027330 80026730 3739103F */ ori $t9, (0x0400103F & 0xFFFF) # ori $t9, $t9, 0x103f
/* 027334 80026734 24580008 */ addiu $t8, $v0, 8
/* 027338 80026738 AC780000 */ sw $t8, ($v1)
/* 02733C 8002673C AC590000 */ sw $t9, ($v0)
/* 027340 80026740 83AF00F7 */ lb $t7, 0xf7($sp)
/* 027344 80026744 8DAE0000 */ lw $t6, ($t5)
/* 027348 80026748 25F80004 */ addiu $t8, $t7, 4
/* 02734C 8002674C 0018C900 */ sll $t9, $t8, 4
/* 027350 80026750 01D97821 */ addu $t7, $t6, $t9
/* 027354 80026754 AC4F0004 */ sw $t7, 4($v0)
/* 027358 80026758 8C620000 */ lw $v0, ($v1)
/* 02735C 8002675C 3C0E0600 */ lui $t6, 0x600
/* 027360 80026760 3C0FBB00 */ lui $t7, 0xbb00
/* 027364 80026764 24580008 */ addiu $t8, $v0, 8
/* 027368 80026768 AC780000 */ sw $t8, ($v1)
/* 02736C 8002676C AC5F0004 */ sw $ra, 4($v0)
/* 027370 80026770 AC4E0000 */ sw $t6, ($v0)
/* 027374 80026774 8C620000 */ lw $v0, ($v1)
/* 027378 80026778 3C180001 */ lui $t8, (0x00010001 >> 16) # lui $t8, 1
/* 02737C 8002677C 37180001 */ ori $t8, (0x00010001 & 0xFFFF) # ori $t8, $t8, 1
/* 027380 80026780 24590008 */ addiu $t9, $v0, 8
/* 027384 80026784 AC790000 */ sw $t9, ($v1)
/* 027388 80026788 AC580004 */ sw $t8, 4($v0)
/* 02738C 8002678C AC4F0000 */ sw $t7, ($v0)
/* 027390 80026790 84CE0000 */ lh $t6, ($a2)
/* 027394 80026794 8FBF002C */ lw $ra, 0x2c($sp)
/* 027398 80026798 8FB00028 */ lw $s0, 0x28($sp)
/* 02739C 8002679C 25D90001 */ addiu $t9, $t6, 1
/* 0273A0 800267A0 A4D90000 */ sh $t9, ($a2)
/* 0273A4 800267A4 03E00008 */ jr $ra
/* 0273A8 800267A8 27BD00E8 */ addiu $sp, $sp, 0xe8

View File

@ -1,178 +0,0 @@
glabel func_800267AC
/* 0273AC 800267AC 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 0273B0 800267B0 AFB20020 */ sw $s2, 0x20($sp)
/* 0273B4 800267B4 AFB1001C */ sw $s1, 0x1c($sp)
/* 0273B8 800267B8 00068E00 */ sll $s1, $a2, 0x18
/* 0273BC 800267BC 00059600 */ sll $s2, $a1, 0x18
/* 0273C0 800267C0 00127603 */ sra $t6, $s2, 0x18
/* 0273C4 800267C4 00117E03 */ sra $t7, $s1, 0x18
/* 0273C8 800267C8 AFA5004C */ sw $a1, 0x4c($sp)
/* 0273CC 800267CC AFA60050 */ sw $a2, 0x50($sp)
/* 0273D0 800267D0 000F4100 */ sll $t0, $t7, 4
/* 0273D4 800267D4 000E4840 */ sll $t1, $t6, 1
/* 0273D8 800267D8 01095021 */ addu $t2, $t0, $t1
/* 0273DC 800267DC 000F3600 */ sll $a2, $t7, 0x18
/* 0273E0 800267E0 000E2E00 */ sll $a1, $t6, 0x18
/* 0273E4 800267E4 3C078016 */ lui $a3, %hi(D_801651D1) # 0x8016
/* 0273E8 800267E8 AFBF0024 */ sw $ra, 0x24($sp)
/* 0273EC 800267EC AFB00018 */ sw $s0, 0x18($sp)
/* 0273F0 800267F0 00EA3821 */ addu $a3, $a3, $t2
/* 0273F4 800267F4 0005C603 */ sra $t8, $a1, 0x18
/* 0273F8 800267F8 0006CE03 */ sra $t9, $a2, 0x18
/* 0273FC 800267FC 00808025 */ move $s0, $a0
/* 027400 80026800 01E08825 */ move $s1, $t7
/* 027404 80026804 01C09025 */ move $s2, $t6
/* 027408 80026808 03203025 */ move $a2, $t9
/* 02740C 8002680C 03002825 */ move $a1, $t8
/* 027410 80026810 0C009AD3 */ jal func_80026B4C
/* 027414 80026814 80E751D1 */ lb $a3, %lo(D_801651D1)($a3) # 0x51d1
/* 027418 80026818 960B0002 */ lhu $t3, 2($s0)
/* 02741C 8002681C 00111080 */ sll $v0, $s1, 2
/* 027420 80026820 240C0004 */ li $t4, 4
/* 027424 80026824 004C6804 */ sllv $t5, $t4, $v0
/* 027428 80026828 016D7024 */ and $t6, $t3, $t5
/* 02742C 8002682C 15C00003 */ bnez $t6, .L8002683C
/* 027430 80026830 02002025 */ move $a0, $s0
/* 027434 80026834 10000002 */ b .L80026840
/* 027438 80026838 00001825 */ move $v1, $zero
.L8002683C:
/* 02743C 8002683C 24030008 */ li $v1, 8
.L80026840:
/* 027440 80026840 00122E00 */ sll $a1, $s2, 0x18
/* 027444 80026844 00113600 */ sll $a2, $s1, 0x18
/* 027448 80026848 00033E00 */ sll $a3, $v1, 0x18
/* 02744C 8002684C 0007CE03 */ sra $t9, $a3, 0x18
/* 027450 80026850 0006C603 */ sra $t8, $a2, 0x18
/* 027454 80026854 00057E03 */ sra $t7, $a1, 0x18
/* 027458 80026858 01E02825 */ move $a1, $t7
/* 02745C 8002685C 03003025 */ move $a2, $t8
/* 027460 80026860 03203825 */ move $a3, $t9
/* 027464 80026864 AFB9002C */ sw $t9, 0x2c($sp)
/* 027468 80026868 0C008EFC */ jal func_80023BF0
/* 02746C 8002686C AFA20030 */ sw $v0, 0x30($sp)
/* 027470 80026870 8FA20030 */ lw $v0, 0x30($sp)
/* 027474 80026874 24080008 */ li $t0, 8
/* 027478 80026878 3C014248 */ li $at, 0x42480000 # 50.000000
/* 02747C 8002687C 00484804 */ sllv $t1, $t0, $v0
/* 027480 80026880 AFA90028 */ sw $t1, 0x28($sp)
/* 027484 80026884 960A0002 */ lhu $t2, 2($s0)
/* 027488 80026888 01496024 */ and $t4, $t2, $t1
/* 02748C 8002688C 552C0023 */ bnel $t1, $t4, .L8002691C
/* 027490 80026890 960A0000 */ lhu $t2, ($s0)
/* 027494 80026894 44812000 */ mtc1 $at, $f4
/* 027498 80026898 C6060124 */ lwc1 $f6, 0x124($s0)
/* 02749C 8002689C 4604303E */ c.le.s $f6, $f4
/* 0274A0 800268A0 00000000 */ nop
/* 0274A4 800268A4 4502001D */ bc1fl .L8002691C
/* 0274A8 800268A8 960A0000 */ lhu $t2, ($s0)
/* 0274AC 800268AC 960B00F8 */ lhu $t3, 0xf8($s0)
/* 0274B0 800268B0 24010009 */ li $at, 9
/* 0274B4 800268B4 51610019 */ beql $t3, $at, .L8002691C
/* 0274B8 800268B8 960A0000 */ lhu $t2, ($s0)
/* 0274BC 800268BC 8E0D00BC */ lw $t5, 0xbc($s0)
/* 0274C0 800268C0 3C028000 */ lui $v0, 0x8000
/* 0274C4 800268C4 02002025 */ move $a0, $s0
/* 0274C8 800268C8 01A27024 */ and $t6, $t5, $v0
/* 0274CC 800268CC 144E000C */ bne $v0, $t6, .L80026900
/* 0274D0 800268D0 00122E00 */ sll $a1, $s2, 0x18
/* 0274D4 800268D4 16510010 */ bne $s2, $s1, .L80026918
/* 0274D8 800268D8 02002025 */ move $a0, $s0
/* 0274DC 800268DC 00122E00 */ sll $a1, $s2, 0x18
/* 0274E0 800268E0 00113600 */ sll $a2, $s1, 0x18
/* 0274E4 800268E4 0006C603 */ sra $t8, $a2, 0x18
/* 0274E8 800268E8 00057E03 */ sra $t7, $a1, 0x18
/* 0274EC 800268EC 01E02825 */ move $a1, $t7
/* 0274F0 800268F0 0C008F21 */ jal func_80023C84
/* 0274F4 800268F4 03003025 */ move $a2, $t8
/* 0274F8 800268F8 10000008 */ b .L8002691C
/* 0274FC 800268FC 960A0000 */ lhu $t2, ($s0)
.L80026900:
/* 027500 80026900 00113600 */ sll $a2, $s1, 0x18
/* 027504 80026904 00064603 */ sra $t0, $a2, 0x18
/* 027508 80026908 0005CE03 */ sra $t9, $a1, 0x18
/* 02750C 8002690C 03202825 */ move $a1, $t9
/* 027510 80026910 0C008F21 */ jal func_80023C84
/* 027514 80026914 01003025 */ move $a2, $t0
.L80026918:
/* 027518 80026918 960A0000 */ lhu $t2, ($s0)
.L8002691C:
/* 02751C 8002691C 24010100 */ li $at, 256
/* 027520 80026920 02002025 */ move $a0, $s0
/* 027524 80026924 31490100 */ andi $t1, $t2, 0x100
/* 027528 80026928 1121000C */ beq $t1, $at, .L8002695C
/* 02752C 8002692C 00122E00 */ sll $a1, $s2, 0x18
/* 027530 80026930 00122E00 */ sll $a1, $s2, 0x18
/* 027534 80026934 00113600 */ sll $a2, $s1, 0x18
/* 027538 80026938 00065E03 */ sra $t3, $a2, 0x18
/* 02753C 8002693C 00056603 */ sra $t4, $a1, 0x18
/* 027540 80026940 01802825 */ move $a1, $t4
/* 027544 80026944 01603025 */ move $a2, $t3
/* 027548 80026948 02002025 */ move $a0, $s0
/* 02754C 8002694C 0C009234 */ jal func_800248D0
/* 027550 80026950 83A7002F */ lb $a3, 0x2f($sp)
/* 027554 80026954 10000008 */ b .L80026978
/* 027558 80026958 00000000 */ nop
.L8002695C:
/* 02755C 8002695C 00113600 */ sll $a2, $s1, 0x18
/* 027560 80026960 00067603 */ sra $t6, $a2, 0x18
/* 027564 80026964 00056E03 */ sra $t5, $a1, 0x18
/* 027568 80026968 01A02825 */ move $a1, $t5
/* 02756C 8002696C 01C03025 */ move $a2, $t6
/* 027570 80026970 0C0095BD */ jal func_800256F4
/* 027574 80026974 83A7002F */ lb $a3, 0x2f($sp)
.L80026978:
/* 027578 80026978 3C048015 */ lui $a0, %hi(gDmaMesgQueue) # $a0, 0x8015
/* 02757C 8002697C 2484EF58 */ addiu $a0, %lo(gDmaMesgQueue) # addiu $a0, $a0, -0x10a8
/* 027580 80026980 27A50034 */ addiu $a1, $sp, 0x34
/* 027584 80026984 0C0335D4 */ jal osRecvMesg
/* 027588 80026988 24060001 */ li $a2, 1
/* 02758C 8002698C 8FAF0028 */ lw $t7, 0x28($sp)
/* 027590 80026990 96180002 */ lhu $t8, 2($s0)
/* 027594 80026994 030FC824 */ and $t9, $t8, $t7
/* 027598 80026998 55F90018 */ bnel $t7, $t9, .L800269FC
/* 02759C 8002699C 3C014000 */ lui $at, 0x4000
/* 0275A0 800269A0 960800F8 */ lhu $t0, 0xf8($s0)
/* 0275A4 800269A4 24010009 */ li $at, 9
/* 0275A8 800269A8 55010014 */ bnel $t0, $at, .L800269FC
/* 0275AC 800269AC 3C014000 */ lui $at, 0x4000
/* 0275B0 800269B0 860A00CA */ lh $t2, 0xca($s0)
/* 0275B4 800269B4 24010001 */ li $at, 1
/* 0275B8 800269B8 31490001 */ andi $t1, $t2, 1
/* 0275BC 800269BC 1121000E */ beq $t1, $at, .L800269F8
/* 0275C0 800269C0 3C0141F0 */ li $at, 0x41F00000 # 30.000000
/* 0275C4 800269C4 44814000 */ mtc1 $at, $f8
/* 0275C8 800269C8 C60A0124 */ lwc1 $f10, 0x124($s0)
/* 0275CC 800269CC 00122E00 */ sll $a1, $s2, 0x18
/* 0275D0 800269D0 00056603 */ sra $t4, $a1, 0x18
/* 0275D4 800269D4 4608503E */ c.le.s $f10, $f8
/* 0275D8 800269D8 00113600 */ sll $a2, $s1, 0x18
/* 0275DC 800269DC 00065E03 */ sra $t3, $a2, 0x18
/* 0275E0 800269E0 01802825 */ move $a1, $t4
/* 0275E4 800269E4 45000004 */ bc1f .L800269F8
/* 0275E8 800269E8 02002025 */ move $a0, $s0
/* 0275EC 800269EC 01603025 */ move $a2, $t3
/* 0275F0 800269F0 0C0098B8 */ jal func_800262E0
/* 0275F4 800269F4 83A7002F */ lb $a3, 0x2f($sp)
.L800269F8:
/* 0275F8 800269F8 3C014000 */ li $at, 0x40000000 # 2.000000
.L800269FC:
/* 0275FC 800269FC 44819000 */ mtc1 $at, $f18
/* 027600 80026A00 C6100080 */ lwc1 $f16, 0x80($s0)
/* 027604 80026A04 00122E00 */ sll $a1, $s2, 0x18
/* 027608 80026A08 00056E03 */ sra $t5, $a1, 0x18
/* 02760C 80026A0C 4610903E */ c.le.s $f18, $f16
/* 027610 80026A10 00113600 */ sll $a2, $s1, 0x18
/* 027614 80026A14 00067603 */ sra $t6, $a2, 0x18
/* 027618 80026A18 01A02825 */ move $a1, $t5
/* 02761C 80026A1C 45000004 */ bc1f .L80026A30
/* 027620 80026A20 02002025 */ move $a0, $s0
/* 027624 80026A24 01C03025 */ move $a2, $t6
/* 027628 80026A28 0C00977A */ jal func_80025DE8
/* 02762C 80026A2C 83A7002F */ lb $a3, 0x2f($sp)
.L80026A30:
/* 027630 80026A30 8FBF0024 */ lw $ra, 0x24($sp)
/* 027634 80026A34 8FB00018 */ lw $s0, 0x18($sp)
/* 027638 80026A38 8FB1001C */ lw $s1, 0x1c($sp)
/* 02763C 80026A3C 8FB20020 */ lw $s2, 0x20($sp)
/* 027640 80026A40 03E00008 */ jr $ra
/* 027644 80026A44 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -111,7 +111,7 @@
#include "src/code_800AF9B0.h"
#include "src/code_800B45E0.h"
#include "src/code_80280000.h"
#include "src/code_80280650.h"
#include "src/podium_ceremony_actors.h"
#include "src/code_80281780.h"
#include "src/code_80281C40.h"
#include "src/code_802AAA70.h"

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,7 @@
#include "types.h"
#include "common_structs.h"
#include "framebuffers.h"
#define SOME_TEXTURE_POINTER_MATH 0x800
@ -12,10 +13,11 @@ void func_8001F980(s32*, s32*);
void func_8001F9E4(Player*, Camera*, s8);
u16 func_8001FB0C(Player*, Camera*, f32, f32);
u16 func_8001FD78(Player*, f32, f32, f32);
void func_80020000(Player*, Camera*, u8, u8);
void func_8002088C();
void func_80020F1C();
void func_80020000(Player*, Camera*, s8, s8);
void func_80020524();
void func_8002088C();
void func_80020BF4();
void func_80020F1C();
void func_80021244(Player*, s8, s8);
void func_800212B4();
void func_800215DC();
@ -31,7 +33,6 @@ void func_80021F84(Mat4, f32);
void func_80021FF8(Mtx*, Mat4);
void func_80022180(Mtx*, Mat4);
s32 func_800224F0(s16*, s16, s16);
void func_8002276C();
void move_s32_towards(s32*, s32, f32);
void move_f32_towards(f32*, f32, f32);
void move_s16_towards(s16*, s16, f32);
@ -53,13 +54,23 @@ void func_800235AC(Player*, s8);
void func_80023BF0(Player*, s8, s8, s8);
void func_80023C84(Player*, s8, s8);
void func_80024374(Player*, s8, s8);
void func_800248D0(Player*, s8, s8, s8);
void func_800256F4(Player*, s8, s8, s8);
void func_80025DE8(Player*, s8, s8, s8);
void func_800262E0(Player*, s8, s8, s8);
void func_800267AC(Player*, s8, s8);
void func_80026A48(Player*, s8);
void func_80026B4C(Player*, s8, s8, s8);
void func_80030A34(Player*);
void func_8002701C();
void func_80027024(s32, s32, s32);
/* This is where I'd put my static data, if I had any */
extern struct_D_802F1F80 *D_80164B04;
extern u8 *D_80164B08;
extern u8 *D_80164B0C;
extern u16 D_8015F894;
extern s32 D_80164A28;