mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-29 16:26:18 +00:00
En_Clear_Tag OK and documented (#689)
* Decompile and document En_Clear_Tag * Adds a define for setting the total count of ClearTag particles. * Fixes swap in particle effect struct member names. Additionally, implements the DECR macro where available. Additionally, implements the CLAMP_MIN macro. Additionally, adds more comments inside of functions explaining how the Arwing works. * Reformats z_en_clear_tag.c after recent fixes. * Removes not OK DECR and CLAMP_MIN macros. I don't know why they built locally OK for me. May have had a stale build. * Added static to data declarations. Additionally added white spacing between data definitions. * Various syling fixes in EnClearTag Fixes inconsistent usage of particle/effect. They're Effect is the better name, so I went with that. Fixed a naming issue in CalculateFloorTangent. Adds s prefix to all the static variables. Renames clearTagParticlesBuffer to sClearTagEffects Consistent capitalization in comments. Adds more descriptive comments to function level comments that didn't say a lot already. Renamed gameplay.particleEffects to gameplay.specialEffects. Renames cameraNumber to cameraId. Fixed capitalization in display list variable names. * Always capitalize the A in arwing. * Fixes issue with overzealous replacement of arwing -> Arwing * Renames arwing display lists to include the g prefix. * Renames effect seed -> random * Removes unnecessary decrement timer comments. * Updates Arwing comments to detail why it's important that the roll is updated to zero. * Updates stack variable names in EnClearTag_Update to be more consistent with each other. * Updates Arwing crashing documentation. * Further update documentation on arwing crashing. * Even further updates to Arwing crashing docs. * Fixes issue of missing newline in En_Clear_Tag.xml * targetDirection reset now has a chained assignment * Rotation angle to hex * Fixes rotation hex and identifies float. * Updates arwing fire check. * Arwing cutscene timer is multiplied by 128 rather than shifting 7 * Updates scaledCrashingTimer assignment to be more consistent. * Updates max scale to multiply by 2 * Gives name to the work buffer indices. Additionally, makes enum names more consistent. * Removes unnecessary globalCtx2 in EnClearTag_CreateFlashEffect * Runs format.sh after recent changes. * Updated path of ClearTag assets. * Clear tag now uses Arwing in the display list name for all effects. * Updates work buffer to expand and contract as new enums are added. * Uses c99 defines in my c89 * Updates the unknown 8 bytes in en_clear_tag * review Co-authored-by: fig02 <fig02srl@gmail.com>
This commit is contained in:
parent
ed4021a6fe
commit
f4499a8de2
20 changed files with 1098 additions and 3010 deletions
|
@ -1,12 +0,0 @@
|
|||
glabel EnClearTag_Destroy
|
||||
/* 003E4 809D3994 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
|
||||
/* 003E8 809D3998 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
|
||||
/* 003EC 809D399C AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 003F0 809D39A0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 003F4 809D39A4 0C0170EB */ jal Collider_DestroyCylinder
|
||||
|
||||
/* 003F8 809D39A8 24C50194 */ addiu $a1, $a2, 0x0194 ## $a1 = 00000194
|
||||
/* 003FC 809D39AC 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00400 809D39B0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
|
||||
/* 00404 809D39B4 03E00008 */ jr $ra
|
||||
/* 00408 809D39B8 00000000 */ nop
|
|
@ -1,449 +0,0 @@
|
|||
.rdata
|
||||
glabel D_809DBFC0
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DBFD4
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DBFE8
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DBFFC
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC010
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC024
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC038
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
.late_rodata
|
||||
glabel D_809DC110
|
||||
.float 0.05
|
||||
|
||||
glabel D_809DC114
|
||||
.float 1.3
|
||||
|
||||
glabel D_809DC118
|
||||
.word 0x3F933333
|
||||
glabel D_809DC11C
|
||||
.word 0x3EB33333
|
||||
glabel D_809DC120
|
||||
.float 3.14159274101
|
||||
|
||||
glabel D_809DC124
|
||||
.float 3.14159274101
|
||||
|
||||
glabel D_809DC128
|
||||
.float 3.14159274101
|
||||
|
||||
glabel D_809DC12C
|
||||
.float 0.05
|
||||
|
||||
.text
|
||||
glabel EnClearTag_Draw
|
||||
/* 01450 809D4A00 27BDFF60 */ addiu $sp, $sp, 0xFF60 ## $sp = FFFFFF60
|
||||
/* 01454 809D4A04 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 01458 809D4A08 AFB10018 */ sw $s1, 0x0018($sp)
|
||||
/* 0145C 809D4A0C AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 01460 809D4A10 AFA500A4 */ sw $a1, 0x00A4($sp)
|
||||
/* 01464 809D4A14 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
|
||||
/* 01468 809D4A18 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
|
||||
/* 0146C 809D4A1C 3C06809E */ lui $a2, %hi(D_809DBFC0) ## $a2 = 809E0000
|
||||
/* 01470 809D4A20 24C6BFC0 */ addiu $a2, $a2, %lo(D_809DBFC0) ## $a2 = 809DBFC0
|
||||
/* 01474 809D4A24 27A40084 */ addiu $a0, $sp, 0x0084 ## $a0 = FFFFFFE4
|
||||
/* 01478 809D4A28 240703D7 */ addiu $a3, $zero, 0x03D7 ## $a3 = 000003D7
|
||||
/* 0147C 809D4A2C 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 01480 809D4A30 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
|
||||
/* 01484 809D4A34 9224014D */ lbu $a0, 0x014D($s1) ## 0000014D
|
||||
/* 01488 809D4A38 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 0148C 809D4A3C 8FAF00A4 */ lw $t7, 0x00A4($sp)
|
||||
/* 01490 809D4A40 10810160 */ beq $a0, $at, .L809D4FC4
|
||||
/* 01494 809D4A44 00000000 */ nop
|
||||
/* 01498 809D4A48 0C024F61 */ jal func_80093D84
|
||||
/* 0149C 809D4A4C 8DE40000 */ lw $a0, 0x0000($t7) ## 00000000
|
||||
/* 014A0 809D4A50 9238014E */ lbu $t8, 0x014E($s1) ## 0000014E
|
||||
/* 014A4 809D4A54 8FAC00A4 */ lw $t4, 0x00A4($sp)
|
||||
/* 014A8 809D4A58 2B010064 */ slti $at, $t8, 0x0064
|
||||
/* 014AC 809D4A5C 14200047 */ bne $at, $zero, .L809D4B7C
|
||||
/* 014B0 809D4A60 00000000 */ nop
|
||||
/* 014B4 809D4A64 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 014B8 809D4A68 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
|
||||
/* 014BC 809D4A6C 3C0A00FF */ lui $t2, 0x00FF ## $t2 = 00FF0000
|
||||
/* 014C0 809D4A70 3C0141C8 */ lui $at, 0x41C8 ## $at = 41C80000
|
||||
/* 014C4 809D4A74 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 014C8 809D4A78 AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
|
||||
/* 014CC 809D4A7C 354A00FF */ ori $t2, $t2, 0x00FF ## $t2 = 00FF00FF
|
||||
/* 014D0 809D4A80 3C09FA00 */ lui $t1, 0xFA00 ## $t1 = FA000000
|
||||
/* 014D4 809D4A84 44816000 */ mtc1 $at, $f12 ## $f12 = 25.00
|
||||
/* 014D8 809D4A88 44067000 */ mfc1 $a2, $f14
|
||||
/* 014DC 809D4A8C 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 014E0 809D4A90 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
|
||||
/* 014E4 809D4A94 0C034261 */ jal Matrix_Translate
|
||||
/* 014E8 809D4A98 AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
|
||||
/* 014EC 809D4A9C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 014F0 809D4AA0 3C0CDA38 */ lui $t4, 0xDA38 ## $t4 = DA380000
|
||||
/* 014F4 809D4AA4 358C0003 */ ori $t4, $t4, 0x0003 ## $t4 = DA380003
|
||||
/* 014F8 809D4AA8 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 014FC 809D4AAC AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 01500 809D4AB0 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
/* 01504 809D4AB4 8FAD00A4 */ lw $t5, 0x00A4($sp)
|
||||
/* 01508 809D4AB8 3C05809E */ lui $a1, %hi(D_809DBFD4) ## $a1 = 809E0000
|
||||
/* 0150C 809D4ABC 24A5BFD4 */ addiu $a1, $a1, %lo(D_809DBFD4) ## $a1 = 809DBFD4
|
||||
/* 01510 809D4AC0 8DA40000 */ lw $a0, 0x0000($t5) ## 00000000
|
||||
/* 01514 809D4AC4 240603EC */ addiu $a2, $zero, 0x03EC ## $a2 = 000003EC
|
||||
/* 01518 809D4AC8 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 0151C 809D4ACC AFA2007C */ sw $v0, 0x007C($sp)
|
||||
/* 01520 809D4AD0 8FA3007C */ lw $v1, 0x007C($sp)
|
||||
/* 01524 809D4AD4 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
|
||||
/* 01528 809D4AD8 3C08809E */ lui $t0, %hi(D_809D9938) ## $t0 = 809E0000
|
||||
/* 0152C 809D4ADC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 01530 809D4AE0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01534 809D4AE4 25089938 */ addiu $t0, $t0, %lo(D_809D9938) ## $t0 = 809D9938
|
||||
/* 01538 809D4AE8 3C0FDE00 */ lui $t7, 0xDE00 ## $t7 = DE000000
|
||||
/* 0153C 809D4AEC 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 01540 809D4AF0 AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
|
||||
/* 01544 809D4AF4 3C01C248 */ lui $at, 0xC248 ## $at = C2480000
|
||||
/* 01548 809D4AF8 44816000 */ mtc1 $at, $f12 ## $f12 = -50.00
|
||||
/* 0154C 809D4AFC 44067000 */ mfc1 $a2, $f14
|
||||
/* 01550 809D4B00 AC480004 */ sw $t0, 0x0004($v0) ## 00000004
|
||||
/* 01554 809D4B04 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 01558 809D4B08 AFA80028 */ sw $t0, 0x0028($sp)
|
||||
/* 0155C 809D4B0C 0C034261 */ jal Matrix_Translate
|
||||
/* 01560 809D4B10 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 01564 809D4B14 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01568 809D4B18 8FA80028 */ lw $t0, 0x0028($sp)
|
||||
/* 0156C 809D4B1C 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
|
||||
/* 01570 809D4B20 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 01574 809D4B24 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
|
||||
/* 01578 809D4B28 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003
|
||||
/* 0157C 809D4B2C AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 01580 809D4B30 8FA900A4 */ lw $t1, 0x00A4($sp)
|
||||
/* 01584 809D4B34 3C05809E */ lui $a1, %hi(D_809DBFE8) ## $a1 = 809E0000
|
||||
/* 01588 809D4B38 24A5BFE8 */ addiu $a1, $a1, %lo(D_809DBFE8) ## $a1 = 809DBFE8
|
||||
/* 0158C 809D4B3C 8D240000 */ lw $a0, 0x0000($t1) ## 00000000
|
||||
/* 01590 809D4B40 240603F3 */ addiu $a2, $zero, 0x03F3 ## $a2 = 000003F3
|
||||
/* 01594 809D4B44 AFA20074 */ sw $v0, 0x0074($sp)
|
||||
/* 01598 809D4B48 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 0159C 809D4B4C AFA80028 */ sw $t0, 0x0028($sp)
|
||||
/* 015A0 809D4B50 8FA30074 */ lw $v1, 0x0074($sp)
|
||||
/* 015A4 809D4B54 8FA80028 */ lw $t0, 0x0028($sp)
|
||||
/* 015A8 809D4B58 3C0BDE00 */ lui $t3, 0xDE00 ## $t3 = DE000000
|
||||
/* 015AC 809D4B5C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 015B0 809D4B60 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 015B4 809D4B64 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
|
||||
/* 015B8 809D4B68 AE0A02D0 */ sw $t2, 0x02D0($s0) ## 000002D0
|
||||
/* 015BC 809D4B6C AC480004 */ sw $t0, 0x0004($v0) ## 00000004
|
||||
/* 015C0 809D4B70 AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
|
||||
/* 015C4 809D4B74 10000113 */ beq $zero, $zero, .L809D4FC4
|
||||
/* 015C8 809D4B78 9224014D */ lbu $a0, 0x014D($s1) ## 0000014D
|
||||
.L809D4B7C:
|
||||
/* 015CC 809D4B7C 0C024F46 */ jal func_80093D18
|
||||
/* 015D0 809D4B80 8D840000 */ lw $a0, 0x0000($t4) ## 00000000
|
||||
/* 015D4 809D4B84 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 015D8 809D4B88 3C0EFA00 */ lui $t6, 0xFA00 ## $t6 = FA000000
|
||||
/* 015DC 809D4B8C 240FFFFF */ addiu $t7, $zero, 0xFFFF ## $t7 = FFFFFFFF
|
||||
/* 015E0 809D4B90 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 015E4 809D4B94 AE0D02C0 */ sw $t5, 0x02C0($s0) ## 000002C0
|
||||
/* 015E8 809D4B98 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
|
||||
/* 015EC 809D4B9C AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
|
||||
/* 015F0 809D4BA0 86220184 */ lh $v0, 0x0184($s1) ## 00000184
|
||||
/* 015F4 809D4BA4 50400026 */ beql $v0, $zero, .L809D4C40
|
||||
/* 015F8 809D4BA8 C62C0180 */ lwc1 $f12, 0x0180($s1) ## 00000180
|
||||
/* 015FC 809D4BAC 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
|
||||
/* 01600 809D4BB0 3C01809E */ lui $at, %hi(D_809DC110) ## $at = 809E0000
|
||||
/* 01604 809D4BB4 C428C110 */ lwc1 $f8, %lo(D_809DC110)($at)
|
||||
/* 01608 809D4BB8 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 0160C 809D4BBC 46083282 */ mul.s $f10, $f6, $f8
|
||||
/* 01610 809D4BC0 E7AA0060 */ swc1 $f10, 0x0060($sp)
|
||||
/* 01614 809D4BC4 9224017C */ lbu $a0, 0x017C($s1) ## 0000017C
|
||||
/* 01618 809D4BC8 00800821 */ addu $at, $a0, $zero
|
||||
/* 0161C 809D4BCC 00042080 */ sll $a0, $a0, 2
|
||||
/* 01620 809D4BD0 00812023 */ subu $a0, $a0, $at
|
||||
/* 01624 809D4BD4 00042300 */ sll $a0, $a0, 12
|
||||
/* 01628 809D4BD8 00042400 */ sll $a0, $a0, 16
|
||||
/* 0162C 809D4BDC 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 01630 809D4BE0 00042403 */ sra $a0, $a0, 16
|
||||
/* 01634 809D4BE4 C7B00060 */ lwc1 $f16, 0x0060($sp)
|
||||
/* 01638 809D4BE8 46100482 */ mul.s $f18, $f0, $f16
|
||||
/* 0163C 809D4BEC E7B20068 */ swc1 $f18, 0x0068($sp)
|
||||
/* 01640 809D4BF0 9224017C */ lbu $a0, 0x017C($s1) ## 0000017C
|
||||
/* 01644 809D4BF4 00800821 */ addu $at, $a0, $zero
|
||||
/* 01648 809D4BF8 000420C0 */ sll $a0, $a0, 3
|
||||
/* 0164C 809D4BFC 00812023 */ subu $a0, $a0, $at
|
||||
/* 01650 809D4C00 000420C0 */ sll $a0, $a0, 3
|
||||
/* 01654 809D4C04 00812023 */ subu $a0, $a0, $at
|
||||
/* 01658 809D4C08 00042200 */ sll $a0, $a0, 8
|
||||
/* 0165C 809D4C0C 00042400 */ sll $a0, $a0, 16
|
||||
/* 01660 809D4C10 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 01664 809D4C14 00042403 */ sra $a0, $a0, 16
|
||||
/* 01668 809D4C18 C7A40060 */ lwc1 $f4, 0x0060($sp)
|
||||
/* 0166C 809D4C1C C7AC0068 */ lwc1 $f12, 0x0068($sp)
|
||||
/* 01670 809D4C20 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01674 809D4C24 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 01678 809D4C28 0C0342DC */ jal Matrix_RotateX
|
||||
/* 0167C 809D4C2C E7A60064 */ swc1 $f6, 0x0064($sp)
|
||||
/* 01680 809D4C30 C7AC0064 */ lwc1 $f12, 0x0064($sp)
|
||||
/* 01684 809D4C34 0C034348 */ jal Matrix_RotateY
|
||||
/* 01688 809D4C38 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 0168C 809D4C3C C62C0180 */ lwc1 $f12, 0x0180($s1) ## 00000180
|
||||
.L809D4C40:
|
||||
/* 01690 809D4C40 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 01694 809D4C44 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01698 809D4C48 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 0169C 809D4C4C 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
|
||||
/* 016A0 809D4C50 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003
|
||||
/* 016A4 809D4C54 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 016A8 809D4C58 AE1802C0 */ sw $t8, 0x02C0($s0) ## 000002C0
|
||||
/* 016AC 809D4C5C AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 016B0 809D4C60 8FA900A4 */ lw $t1, 0x00A4($sp)
|
||||
/* 016B4 809D4C64 3C05809E */ lui $a1, %hi(D_809DBFFC) ## $a1 = 809E0000
|
||||
/* 016B8 809D4C68 24A5BFFC */ addiu $a1, $a1, %lo(D_809DBFFC) ## $a1 = 809DBFFC
|
||||
/* 016BC 809D4C6C 8D240000 */ lw $a0, 0x0000($t1) ## 00000000
|
||||
/* 016C0 809D4C70 24060406 */ addiu $a2, $zero, 0x0406 ## $a2 = 00000406
|
||||
/* 016C4 809D4C74 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 016C8 809D4C78 AFA2005C */ sw $v0, 0x005C($sp)
|
||||
/* 016CC 809D4C7C 8FA3005C */ lw $v1, 0x005C($sp)
|
||||
/* 016D0 809D4C80 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
|
||||
/* 016D4 809D4C84 3C0C809D */ lui $t4, %hi(D_809D5CA0) ## $t4 = 809D0000
|
||||
/* 016D8 809D4C88 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 016DC 809D4C8C 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 016E0 809D4C90 258C5CA0 */ addiu $t4, $t4, %lo(D_809D5CA0) ## $t4 = 809D5CA0
|
||||
/* 016E4 809D4C94 3C0BDE00 */ lui $t3, 0xDE00 ## $t3 = DE000000
|
||||
/* 016E8 809D4C98 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
|
||||
/* 016EC 809D4C9C AE0A02C0 */ sw $t2, 0x02C0($s0) ## 000002C0
|
||||
/* 016F0 809D4CA0 3C06C270 */ lui $a2, 0xC270 ## $a2 = C2700000
|
||||
/* 016F4 809D4CA4 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 016F8 809D4CA8 46006386 */ mov.s $f14, $f12
|
||||
/* 016FC 809D4CAC AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 01700 809D4CB0 0C034261 */ jal Matrix_Translate
|
||||
/* 01704 809D4CB4 AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
|
||||
/* 01708 809D4CB8 8FA400A4 */ lw $a0, 0x00A4($sp)
|
||||
/* 0170C 809D4CBC 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 01710 809D4CC0 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 01714 809D4CC4 0C0347F5 */ jal func_800D1FD4
|
||||
/* 01718 809D4CC8 00812021 */ addu $a0, $a0, $at
|
||||
/* 0171C 809D4CCC 3C014020 */ lui $at, 0x4020 ## $at = 40200000
|
||||
/* 01720 809D4CD0 44816000 */ mtc1 $at, $f12 ## $f12 = 2.50
|
||||
/* 01724 809D4CD4 3C01809E */ lui $at, %hi(D_809DC114) ## $at = 809E0000
|
||||
/* 01728 809D4CD8 C42EC114 */ lwc1 $f14, %lo(D_809DC114)($at)
|
||||
/* 0172C 809D4CDC 24060000 */ addiu $a2, $zero, 0x0000 ## $a2 = 00000000
|
||||
/* 01730 809D4CE0 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01734 809D4CE4 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 01738 809D4CE8 922D017C */ lbu $t5, 0x017C($s1) ## 0000017C
|
||||
/* 0173C 809D4CEC 31AE0001 */ andi $t6, $t5, 0x0001 ## $t6 = 00000000
|
||||
/* 01740 809D4CF0 11C00006 */ beq $t6, $zero, .L809D4D0C
|
||||
/* 01744 809D4CF4 3C01809E */ lui $at, %hi(D_809DC118) ## $at = 809E0000
|
||||
/* 01748 809D4CF8 C42CC118 */ lwc1 $f12, %lo(D_809DC118)($at)
|
||||
/* 0174C 809D4CFC 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 01750 809D4D00 44066000 */ mfc1 $a2, $f12
|
||||
/* 01754 809D4D04 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01758 809D4D08 46006386 */ mov.s $f14, $f12
|
||||
.L809D4D0C:
|
||||
/* 0175C 809D4D0C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01760 809D4D10 3C18FA00 */ lui $t8, 0xFA00 ## $t8 = FA000000
|
||||
/* 01764 809D4D14 2419C89B */ addiu $t9, $zero, 0xC89B ## $t9 = FFFFC89B
|
||||
/* 01768 809D4D18 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 0176C 809D4D1C AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0
|
||||
/* 01770 809D4D20 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
|
||||
/* 01774 809D4D24 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
|
||||
/* 01778 809D4D28 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 0177C 809D4D2C 3C0AE700 */ lui $t2, 0xE700 ## $t2 = E7000000
|
||||
/* 01780 809D4D30 3C0CFB00 */ lui $t4, 0xFB00 ## $t4 = FB000000
|
||||
/* 01784 809D4D34 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 01788 809D4D38 AE0902D0 */ sw $t1, 0x02D0($s0) ## 000002D0
|
||||
/* 0178C 809D4D3C AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 01790 809D4D40 AC400004 */ sw $zero, 0x0004($v0) ## 00000004
|
||||
/* 01794 809D4D44 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01798 809D4D48 3C0DFF32 */ lui $t5, 0xFF32 ## $t5 = FF320000
|
||||
/* 0179C 809D4D4C 3C0FDA38 */ lui $t7, 0xDA38 ## $t7 = DA380000
|
||||
/* 017A0 809D4D50 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 017A4 809D4D54 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 017A8 809D4D58 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
/* 017AC 809D4D5C AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
|
||||
/* 017B0 809D4D60 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 017B4 809D4D64 35EF0003 */ ori $t7, $t7, 0x0003 ## $t7 = DA380003
|
||||
/* 017B8 809D4D68 3C05809E */ lui $a1, %hi(D_809DC010) ## $a1 = 809E0000
|
||||
/* 017BC 809D4D6C 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 017C0 809D4D70 AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
|
||||
/* 017C4 809D4D74 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 017C8 809D4D78 8FB800A4 */ lw $t8, 0x00A4($sp)
|
||||
/* 017CC 809D4D7C 24A5C010 */ addiu $a1, $a1, %lo(D_809DC010) ## $a1 = 809DC010
|
||||
/* 017D0 809D4D80 2406042B */ addiu $a2, $zero, 0x042B ## $a2 = 0000042B
|
||||
/* 017D4 809D4D84 8F040000 */ lw $a0, 0x0000($t8) ## FA000000
|
||||
/* 017D8 809D4D88 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 017DC 809D4D8C AFA20048 */ sw $v0, 0x0048($sp)
|
||||
/* 017E0 809D4D90 8FA30048 */ lw $v1, 0x0048($sp)
|
||||
/* 017E4 809D4D94 3C0A809E */ lui $t2, %hi(D_809D9C38) ## $t2 = 809E0000
|
||||
/* 017E8 809D4D98 254A9C38 */ addiu $t2, $t2, %lo(D_809D9C38) ## $t2 = 809D9C38
|
||||
/* 017EC 809D4D9C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 017F0 809D4DA0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 017F4 809D4DA4 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000
|
||||
/* 017F8 809D4DA8 3C0CFA00 */ lui $t4, 0xFA00 ## $t4 = FA000000
|
||||
/* 017FC 809D4DAC 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 01800 809D4DB0 AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
|
||||
/* 01804 809D4DB4 AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
|
||||
/* 01808 809D4DB8 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
|
||||
/* 0180C 809D4DBC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01810 809D4DC0 240D0082 */ addiu $t5, $zero, 0x0082 ## $t5 = 00000082
|
||||
/* 01814 809D4DC4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 01818 809D4DC8 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 0181C 809D4DCC AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 01820 809D4DD0 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
|
||||
/* 01824 809D4DD4 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
/* 01828 809D4DD8 8E26002C */ lw $a2, 0x002C($s1) ## 0000002C
|
||||
/* 0182C 809D4DDC C62E0080 */ lwc1 $f14, 0x0080($s1) ## 00000080
|
||||
/* 01830 809D4DE0 0C034261 */ jal Matrix_Translate
|
||||
/* 01834 809D4DE4 C62C0024 */ lwc1 $f12, 0x0024($s1) ## 00000024
|
||||
/* 01838 809D4DE8 C62C0188 */ lwc1 $f12, 0x0188($s1) ## 00000188
|
||||
/* 0183C 809D4DEC 0C0342DC */ jal Matrix_RotateX
|
||||
/* 01840 809D4DF0 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01844 809D4DF4 C62C0190 */ lwc1 $f12, 0x0190($s1) ## 00000190
|
||||
/* 01848 809D4DF8 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 0184C 809D4DFC 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01850 809D4E00 3C01809E */ lui $at, %hi(D_809DC11C) ## $at = 809E0000
|
||||
/* 01854 809D4E04 C420C11C */ lwc1 $f0, %lo(D_809DC11C)($at)
|
||||
/* 01858 809D4E08 C62A0058 */ lwc1 $f10, 0x0058($s1) ## 00000058
|
||||
/* 0185C 809D4E0C C6280050 */ lwc1 $f8, 0x0050($s1) ## 00000050
|
||||
/* 01860 809D4E10 44807000 */ mtc1 $zero, $f14 ## $f14 = 0.00
|
||||
/* 01864 809D4E14 46005400 */ add.s $f16, $f10, $f0
|
||||
/* 01868 809D4E18 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0186C 809D4E1C 46004300 */ add.s $f12, $f8, $f0
|
||||
/* 01870 809D4E20 44068000 */ mfc1 $a2, $f16
|
||||
/* 01874 809D4E24 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01878 809D4E28 00000000 */ nop
|
||||
/* 0187C 809D4E2C 862E00B6 */ lh $t6, 0x00B6($s1) ## 000000B6
|
||||
/* 01880 809D4E30 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 01884 809D4E34 44813000 */ mtc1 $at, $f6 ## $f6 = 32768.00
|
||||
/* 01888 809D4E38 448E9000 */ mtc1 $t6, $f18 ## $f18 = 0.00
|
||||
/* 0188C 809D4E3C 3C01809E */ lui $at, %hi(D_809DC120) ## $at = 809E0000
|
||||
/* 01890 809D4E40 C42AC120 */ lwc1 $f10, %lo(D_809DC120)($at)
|
||||
/* 01894 809D4E44 46809120 */ cvt.s.w $f4, $f18
|
||||
/* 01898 809D4E48 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 0189C 809D4E4C 46062203 */ div.s $f8, $f4, $f6
|
||||
/* 018A0 809D4E50 460A4302 */ mul.s $f12, $f8, $f10
|
||||
/* 018A4 809D4E54 0C034348 */ jal Matrix_RotateY
|
||||
/* 018A8 809D4E58 00000000 */ nop
|
||||
/* 018AC 809D4E5C 862F00B4 */ lh $t7, 0x00B4($s1) ## 000000B4
|
||||
/* 018B0 809D4E60 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 018B4 809D4E64 44812000 */ mtc1 $at, $f4 ## $f4 = 32768.00
|
||||
/* 018B8 809D4E68 448F8000 */ mtc1 $t7, $f16 ## $f16 = 0.00
|
||||
/* 018BC 809D4E6C 3C01809E */ lui $at, %hi(D_809DC124) ## $at = 809E0000
|
||||
/* 018C0 809D4E70 C428C124 */ lwc1 $f8, %lo(D_809DC124)($at)
|
||||
/* 018C4 809D4E74 468084A0 */ cvt.s.w $f18, $f16
|
||||
/* 018C8 809D4E78 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 018CC 809D4E7C 46049183 */ div.s $f6, $f18, $f4
|
||||
/* 018D0 809D4E80 46083302 */ mul.s $f12, $f6, $f8
|
||||
/* 018D4 809D4E84 0C0342DC */ jal Matrix_RotateX
|
||||
/* 018D8 809D4E88 00000000 */ nop
|
||||
/* 018DC 809D4E8C 863800B8 */ lh $t8, 0x00B8($s1) ## 000000B8
|
||||
/* 018E0 809D4E90 3C014700 */ lui $at, 0x4700 ## $at = 47000000
|
||||
/* 018E4 809D4E94 44819000 */ mtc1 $at, $f18 ## $f18 = 32768.00
|
||||
/* 018E8 809D4E98 44985000 */ mtc1 $t8, $f10 ## $f10 = 0.00
|
||||
/* 018EC 809D4E9C 3C01809E */ lui $at, %hi(D_809DC128) ## $at = 809E0000
|
||||
/* 018F0 809D4EA0 C426C128 */ lwc1 $f6, %lo(D_809DC128)($at)
|
||||
/* 018F4 809D4EA4 46805420 */ cvt.s.w $f16, $f10
|
||||
/* 018F8 809D4EA8 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 018FC 809D4EAC 46128103 */ div.s $f4, $f16, $f18
|
||||
/* 01900 809D4EB0 46062302 */ mul.s $f12, $f4, $f6
|
||||
/* 01904 809D4EB4 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 01908 809D4EB8 00000000 */ nop
|
||||
/* 0190C 809D4EBC 86220184 */ lh $v0, 0x0184($s1) ## 00000184
|
||||
/* 01910 809D4EC0 50400026 */ beql $v0, $zero, .L809D4F5C
|
||||
/* 01914 809D4EC4 C62C0180 */ lwc1 $f12, 0x0180($s1) ## 00000180
|
||||
/* 01918 809D4EC8 44824000 */ mtc1 $v0, $f8 ## $f8 = 0.00
|
||||
/* 0191C 809D4ECC 3C01809E */ lui $at, %hi(D_809DC12C) ## $at = 809E0000
|
||||
/* 01920 809D4ED0 C430C12C */ lwc1 $f16, %lo(D_809DC12C)($at)
|
||||
/* 01924 809D4ED4 468042A0 */ cvt.s.w $f10, $f8
|
||||
/* 01928 809D4ED8 46105482 */ mul.s $f18, $f10, $f16
|
||||
/* 0192C 809D4EDC E7B20034 */ swc1 $f18, 0x0034($sp)
|
||||
/* 01930 809D4EE0 9224017C */ lbu $a0, 0x017C($s1) ## 0000017C
|
||||
/* 01934 809D4EE4 00800821 */ addu $at, $a0, $zero
|
||||
/* 01938 809D4EE8 00042080 */ sll $a0, $a0, 2
|
||||
/* 0193C 809D4EEC 00812023 */ subu $a0, $a0, $at
|
||||
/* 01940 809D4EF0 00042300 */ sll $a0, $a0, 12
|
||||
/* 01944 809D4EF4 00042400 */ sll $a0, $a0, 16
|
||||
/* 01948 809D4EF8 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 0194C 809D4EFC 00042403 */ sra $a0, $a0, 16
|
||||
/* 01950 809D4F00 C7A40034 */ lwc1 $f4, 0x0034($sp)
|
||||
/* 01954 809D4F04 46040182 */ mul.s $f6, $f0, $f4
|
||||
/* 01958 809D4F08 E7A6003C */ swc1 $f6, 0x003C($sp)
|
||||
/* 0195C 809D4F0C 9224017C */ lbu $a0, 0x017C($s1) ## 0000017C
|
||||
/* 01960 809D4F10 00800821 */ addu $at, $a0, $zero
|
||||
/* 01964 809D4F14 000420C0 */ sll $a0, $a0, 3
|
||||
/* 01968 809D4F18 00812023 */ subu $a0, $a0, $at
|
||||
/* 0196C 809D4F1C 000420C0 */ sll $a0, $a0, 3
|
||||
/* 01970 809D4F20 00812023 */ subu $a0, $a0, $at
|
||||
/* 01974 809D4F24 00042200 */ sll $a0, $a0, 8
|
||||
/* 01978 809D4F28 00042400 */ sll $a0, $a0, 16
|
||||
/* 0197C 809D4F2C 0C01DE1C */ jal Math_SinS
|
||||
## sins?
|
||||
/* 01980 809D4F30 00042403 */ sra $a0, $a0, 16
|
||||
/* 01984 809D4F34 C7A80034 */ lwc1 $f8, 0x0034($sp)
|
||||
/* 01988 809D4F38 C7AC003C */ lwc1 $f12, 0x003C($sp)
|
||||
/* 0198C 809D4F3C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01990 809D4F40 46080282 */ mul.s $f10, $f0, $f8
|
||||
/* 01994 809D4F44 0C0342DC */ jal Matrix_RotateX
|
||||
/* 01998 809D4F48 E7AA0038 */ swc1 $f10, 0x0038($sp)
|
||||
/* 0199C 809D4F4C C7AC0038 */ lwc1 $f12, 0x0038($sp)
|
||||
/* 019A0 809D4F50 0C034348 */ jal Matrix_RotateY
|
||||
/* 019A4 809D4F54 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 019A8 809D4F58 C62C0180 */ lwc1 $f12, 0x0180($s1) ## 00000180
|
||||
.L809D4F5C:
|
||||
/* 019AC 809D4F5C 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 019B0 809D4F60 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 019B4 809D4F64 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 019B8 809D4F68 3C09DA38 */ lui $t1, 0xDA38 ## $t1 = DA380000
|
||||
/* 019BC 809D4F6C 35290003 */ ori $t1, $t1, 0x0003 ## $t1 = DA380003
|
||||
/* 019C0 809D4F70 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 019C4 809D4F74 AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
|
||||
/* 019C8 809D4F78 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
|
||||
/* 019CC 809D4F7C 8FAA00A4 */ lw $t2, 0x00A4($sp)
|
||||
/* 019D0 809D4F80 3C05809E */ lui $a1, %hi(D_809DC024) ## $a1 = 809E0000
|
||||
/* 019D4 809D4F84 24A5C024 */ addiu $a1, $a1, %lo(D_809DC024) ## $a1 = 809DC024
|
||||
/* 019D8 809D4F88 8D440000 */ lw $a0, 0x0000($t2) ## 00000000
|
||||
/* 019DC 809D4F8C 24060450 */ addiu $a2, $zero, 0x0450 ## $a2 = 00000450
|
||||
/* 019E0 809D4F90 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 019E4 809D4F94 AFA20030 */ sw $v0, 0x0030($sp)
|
||||
/* 019E8 809D4F98 8FA30030 */ lw $v1, 0x0030($sp)
|
||||
/* 019EC 809D4F9C 3C0D809E */ lui $t5, %hi(D_809DBF20) ## $t5 = 809E0000
|
||||
/* 019F0 809D4FA0 25ADBF20 */ addiu $t5, $t5, %lo(D_809DBF20) ## $t5 = 809DBF20
|
||||
/* 019F4 809D4FA4 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 019F8 809D4FA8 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 019FC 809D4FAC 3C0CDE00 */ lui $t4, 0xDE00 ## $t4 = DE000000
|
||||
/* 01A00 809D4FB0 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 01A04 809D4FB4 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 01A08 809D4FB8 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
|
||||
/* 01A0C 809D4FBC AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
/* 01A10 809D4FC0 9224014D */ lbu $a0, 0x014D($s1) ## 0000014D
|
||||
.L809D4FC4:
|
||||
/* 01A14 809D4FC4 50800004 */ beql $a0, $zero, .L809D4FD8
|
||||
/* 01A18 809D4FC8 8FAE00A4 */ lw $t6, 0x00A4($sp)
|
||||
/* 01A1C 809D4FCC 0C2754F3 */ jal func_809D53CC
|
||||
/* 01A20 809D4FD0 8FA400A4 */ lw $a0, 0x00A4($sp)
|
||||
/* 01A24 809D4FD4 8FAE00A4 */ lw $t6, 0x00A4($sp)
|
||||
.L809D4FD8:
|
||||
/* 01A28 809D4FD8 3C06809E */ lui $a2, %hi(D_809DC038) ## $a2 = 809E0000
|
||||
/* 01A2C 809D4FDC 24C6C038 */ addiu $a2, $a2, %lo(D_809DC038) ## $a2 = 809DC038
|
||||
/* 01A30 809D4FE0 27A40084 */ addiu $a0, $sp, 0x0084 ## $a0 = FFFFFFE4
|
||||
/* 01A34 809D4FE4 2407045F */ addiu $a3, $zero, 0x045F ## $a3 = 0000045F
|
||||
/* 01A38 809D4FE8 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 01A3C 809D4FEC 8DC50000 */ lw $a1, 0x0000($t6) ## 00000000
|
||||
/* 01A40 809D4FF0 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 01A44 809D4FF4 8FB00014 */ lw $s0, 0x0014($sp)
|
||||
/* 01A48 809D4FF8 8FB10018 */ lw $s1, 0x0018($sp)
|
||||
/* 01A4C 809D4FFC 03E00008 */ jr $ra
|
||||
/* 01A50 809D5000 27BD00A0 */ addiu $sp, $sp, 0x00A0 ## $sp = 00000000
|
|
@ -1,129 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809DC0E4
|
||||
.float 0.4
|
||||
|
||||
.text
|
||||
glabel EnClearTag_Init
|
||||
/* 0040C 809D39BC 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
|
||||
/* 00410 809D39C0 AFB10018 */ sw $s1, 0x0018($sp)
|
||||
/* 00414 809D39C4 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
|
||||
/* 00418 809D39C8 AFA50034 */ sw $a1, 0x0034($sp)
|
||||
/* 0041C 809D39CC 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
|
||||
/* 00420 809D39D0 AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00424 809D39D4 26250194 */ addiu $a1, $s1, 0x0194 ## $a1 = 00000194
|
||||
/* 00428 809D39D8 AFB00014 */ sw $s0, 0x0014($sp)
|
||||
/* 0042C 809D39DC 0C0170D9 */ jal Collider_InitCylinder
|
||||
|
||||
/* 00430 809D39E0 AFA50020 */ sw $a1, 0x0020($sp)
|
||||
/* 00434 809D39E4 862E001C */ lh $t6, 0x001C($s1) ## 0000001C
|
||||
/* 00438 809D39E8 24100064 */ addiu $s0, $zero, 0x0064 ## $s0 = 00000064
|
||||
/* 0043C 809D39EC 240B0005 */ addiu $t3, $zero, 0x0005 ## $t3 = 00000005
|
||||
/* 00440 809D39F0 160E002C */ bne $s0, $t6, .L809D3AA4
|
||||
/* 00444 809D39F4 02203025 */ or $a2, $s1, $zero ## $a2 = 00000000
|
||||
/* 00448 809D39F8 3C01420C */ lui $at, 0x420C ## $at = 420C0000
|
||||
/* 0044C 809D39FC 44812000 */ mtc1 $at, $f4 ## $f4 = 35.00
|
||||
/* 00450 809D3A00 240F0064 */ addiu $t7, $zero, 0x0064 ## $t7 = 00000064
|
||||
/* 00454 809D3A04 24180046 */ addiu $t8, $zero, 0x0046 ## $t8 = 00000046
|
||||
/* 00458 809D3A08 A22F014E */ sb $t7, 0x014E($s1) ## 0000014E
|
||||
/* 0045C 809D3A0C A6380150 */ sh $t8, 0x0150($s1) ## 00000150
|
||||
/* 00460 809D3A10 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00464 809D3A14 0C00B642 */ jal func_8002D908
|
||||
/* 00468 809D3A18 E6240068 */ swc1 $f4, 0x0068($s1) ## 00000068
|
||||
/* 0046C 809D3A1C 00008025 */ or $s0, $zero, $zero ## $s0 = 00000000
|
||||
.L809D3A20:
|
||||
/* 00470 809D3A20 0C00B5FB */ jal func_8002D7EC
|
||||
/* 00474 809D3A24 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 00478 809D3A28 26100001 */ addiu $s0, $s0, 0x0001 ## $s0 = 00000001
|
||||
/* 0047C 809D3A2C 00108400 */ sll $s0, $s0, 16
|
||||
/* 00480 809D3A30 00108403 */ sra $s0, $s0, 16
|
||||
/* 00484 809D3A34 1A00FFFA */ blez $s0, .L809D3A20
|
||||
/* 00488 809D3A38 00000000 */ nop
|
||||
/* 0048C 809D3A3C 3C01809E */ lui $at, %hi(D_809DC0E4) ## $at = 809E0000
|
||||
/* 00490 809D3A40 C420C0E4 */ lwc1 $f0, %lo(D_809DC0E4)($at)
|
||||
/* 00494 809D3A44 3C014000 */ lui $at, 0x4000 ## $at = 40000000
|
||||
/* 00498 809D3A48 44813000 */ mtc1 $at, $f6 ## $f6 = 2.00
|
||||
/* 0049C 809D3A4C 863900B4 */ lh $t9, 0x00B4($s1) ## 000000B4
|
||||
/* 004A0 809D3A50 3C01428C */ lui $at, 0x428C ## $at = 428C0000
|
||||
/* 004A4 809D3A54 44814000 */ mtc1 $at, $f8 ## $f8 = 70.00
|
||||
/* 004A8 809D3A58 00194023 */ subu $t0, $zero, $t9
|
||||
/* 004AC 809D3A5C A62800B4 */ sh $t0, 0x00B4($s1) ## 000000B4
|
||||
/* 004B0 809D3A60 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 004B4 809D3A64 E6200050 */ swc1 $f0, 0x0050($s1) ## 00000050
|
||||
/* 004B8 809D3A68 E6200054 */ swc1 $f0, 0x0054($s1) ## 00000054
|
||||
/* 004BC 809D3A6C E6260058 */ swc1 $f6, 0x0058($s1) ## 00000058
|
||||
/* 004C0 809D3A70 0C00B642 */ jal func_8002D908
|
||||
/* 004C4 809D3A74 E6280068 */ swc1 $f8, 0x0068($s1) ## 00000068
|
||||
/* 004C8 809D3A78 3C07809D */ lui $a3, %hi(D_809D5C6C) ## $a3 = 809D0000
|
||||
/* 004CC 809D3A7C 24E75C6C */ addiu $a3, $a3, %lo(D_809D5C6C) ## $a3 = 809D5C6C
|
||||
/* 004D0 809D3A80 8FA40034 */ lw $a0, 0x0034($sp)
|
||||
/* 004D4 809D3A84 8FA50020 */ lw $a1, 0x0020($sp)
|
||||
/* 004D8 809D3A88 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 004DC 809D3A8C 02203025 */ or $a2, $s1, $zero ## $a2 = 00000000
|
||||
/* 004E0 809D3A90 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
|
||||
/* 004E4 809D3A94 0C00BE0A */ jal Audio_PlayActorSound2
|
||||
|
||||
/* 004E8 809D3A98 2405182A */ addiu $a1, $zero, 0x182A ## $a1 = 0000182A
|
||||
/* 004EC 809D3A9C 10000034 */ beq $zero, $zero, .L809D3B70
|
||||
/* 004F0 809D3AA0 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809D3AA4:
|
||||
/* 004F4 809D3AA4 8E290004 */ lw $t1, 0x0004($s1) ## 00000004
|
||||
/* 004F8 809D3AA8 A22B001F */ sb $t3, 0x001F($s1) ## 0000001F
|
||||
/* 004FC 809D3AAC 3C07809D */ lui $a3, %hi(D_809D5C40) ## $a3 = 809D0000
|
||||
/* 00500 809D3AB0 352A0001 */ ori $t2, $t1, 0x0001 ## $t2 = 00000001
|
||||
/* 00504 809D3AB4 AE2A0004 */ sw $t2, 0x0004($s1) ## 00000004
|
||||
/* 00508 809D3AB8 8FA50020 */ lw $a1, 0x0020($sp)
|
||||
/* 0050C 809D3ABC 8FA40034 */ lw $a0, 0x0034($sp)
|
||||
/* 00510 809D3AC0 0C01712B */ jal Collider_SetCylinder
|
||||
|
||||
/* 00514 809D3AC4 24E75C40 */ addiu $a3, $a3, %lo(D_809D5C40) ## $a3 = 809D5C40
|
||||
/* 00518 809D3AC8 862D001C */ lh $t5, 0x001C($s1) ## 0000001C
|
||||
/* 0051C 809D3ACC 240C0003 */ addiu $t4, $zero, 0x0003 ## $t4 = 00000003
|
||||
/* 00520 809D3AD0 A22C00AF */ sb $t4, 0x00AF($s1) ## 000000AF
|
||||
/* 00524 809D3AD4 15A0000E */ bne $t5, $zero, .L809D3B10
|
||||
/* 00528 809D3AD8 3C03809D */ lui $v1, %hi(D_809D5C30) ## $v1 = 809D0000
|
||||
/* 0052C 809D3ADC 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 00530 809D3AE0 240E0046 */ addiu $t6, $zero, 0x0046 ## $t6 = 00000046
|
||||
/* 00534 809D3AE4 240F00FA */ addiu $t7, $zero, 0x00FA ## $t7 = 000000FA
|
||||
/* 00538 809D3AE8 24180002 */ addiu $t8, $zero, 0x0002 ## $t8 = 00000002
|
||||
/* 0053C 809D3AEC 24194000 */ addiu $t9, $zero, 0x4000 ## $t9 = 00004000
|
||||
/* 00540 809D3AF0 24080014 */ addiu $t0, $zero, 0x0014 ## $t0 = 00000014
|
||||
/* 00544 809D3AF4 A62E0150 */ sh $t6, 0x0150($s1) ## 00000150
|
||||
/* 00548 809D3AF8 A62F0152 */ sh $t7, 0x0152($s1) ## 00000152
|
||||
/* 0054C 809D3AFC A238014E */ sb $t8, 0x014E($s1) ## 0000014E
|
||||
/* 00550 809D3B00 A6390030 */ sh $t9, 0x0030($s1) ## 00000030
|
||||
/* 00554 809D3B04 A22501E0 */ sb $a1, 0x01E0($s1) ## 000001E0
|
||||
/* 00558 809D3B08 A63001FC */ sh $s0, 0x01FC($s1) ## 000001FC
|
||||
/* 0055C 809D3B0C A6280154 */ sh $t0, 0x0154($s1) ## 00000154
|
||||
.L809D3B10:
|
||||
/* 00560 809D3B10 24635C30 */ addiu $v1, $v1, %lo(D_809D5C30) ## $v1 = 809D5C30
|
||||
/* 00564 809D3B14 90690000 */ lbu $t1, 0x0000($v1) ## 809D5C30
|
||||
/* 00568 809D3B18 3C04809E */ lui $a0, %hi(D_809DC3D0) ## $a0 = 809E0000
|
||||
/* 0056C 809D3B1C 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 00570 809D3B20 15200012 */ bne $t1, $zero, .L809D3B6C
|
||||
/* 00574 809D3B24 2484C3D0 */ addiu $a0, $a0, %lo(D_809DC3D0) ## $a0 = 809DC3D0
|
||||
/* 00578 809D3B28 8FAA0034 */ lw $t2, 0x0034($sp)
|
||||
/* 0057C 809D3B2C A0650000 */ sb $a1, 0x0000($v1) ## 809D5C30
|
||||
/* 00580 809D3B30 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 00584 809D3B34 002A0821 */ addu $at, $at, $t2
|
||||
/* 00588 809D3B38 AC241E10 */ sw $a0, 0x1E10($at) ## 00011E10
|
||||
/* 0058C 809D3B3C 2403006C */ addiu $v1, $zero, 0x006C ## $v1 = 0000006C
|
||||
/* 00590 809D3B40 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809D3B44:
|
||||
/* 00594 809D3B44 00430019 */ multu $v0, $v1
|
||||
/* 00598 809D3B48 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
|
||||
/* 0059C 809D3B4C 00021400 */ sll $v0, $v0, 16
|
||||
/* 005A0 809D3B50 00021403 */ sra $v0, $v0, 16
|
||||
/* 005A4 809D3B54 28410064 */ slti $at, $v0, 0x0064
|
||||
/* 005A8 809D3B58 00005812 */ mflo $t3
|
||||
/* 005AC 809D3B5C 008B6021 */ addu $t4, $a0, $t3
|
||||
/* 005B0 809D3B60 1420FFF8 */ bne $at, $zero, .L809D3B44
|
||||
/* 005B4 809D3B64 A1800000 */ sb $zero, 0x0000($t4) ## 00000003
|
||||
/* 005B8 809D3B68 A225014D */ sb $a1, 0x014D($s1) ## 0000014D
|
||||
.L809D3B6C:
|
||||
/* 005BC 809D3B6C 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
.L809D3B70:
|
||||
/* 005C0 809D3B70 8FB00014 */ lw $s0, 0x0014($sp)
|
||||
/* 005C4 809D3B74 8FB10018 */ lw $s1, 0x0018($sp)
|
||||
/* 005C8 809D3B78 03E00008 */ jr $ra
|
||||
/* 005CC 809D3B7C 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
|
File diff suppressed because it is too large
Load diff
|
@ -1,77 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809DC0D8
|
||||
.float 6.28318548203
|
||||
|
||||
glabel D_809DC0DC
|
||||
.float 6.28318548203
|
||||
|
||||
.text
|
||||
glabel func_809D35B0
|
||||
/* 00000 809D35B0 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 00004 809D35B4 AFB00018 */ sw $s0, 0x0018($sp)
|
||||
/* 00008 809D35B8 3C100001 */ lui $s0, 0x0001 ## $s0 = 00010000
|
||||
/* 0000C 809D35BC AFBF001C */ sw $ra, 0x001C($sp)
|
||||
/* 00010 809D35C0 02048021 */ addu $s0, $s0, $a0
|
||||
/* 00014 809D35C4 8E101E10 */ lw $s0, 0x1E10($s0) ## 00011E10
|
||||
/* 00018 809D35C8 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
|
||||
.L809D35CC:
|
||||
/* 0001C 809D35CC 920E0000 */ lbu $t6, 0x0000($s0) ## 00010000
|
||||
/* 00020 809D35D0 24420001 */ addiu $v0, $v0, 0x0001 ## $v0 = 00000001
|
||||
/* 00024 809D35D4 00021400 */ sll $v0, $v0, 16
|
||||
/* 00028 809D35D8 15C0002B */ bne $t6, $zero, .L809D3688
|
||||
/* 0002C 809D35DC 00021403 */ sra $v0, $v0, 16
|
||||
/* 00030 809D35E0 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
|
||||
/* 00034 809D35E4 A20F0000 */ sb $t7, 0x0000($s0) ## 00010000
|
||||
/* 00038 809D35E8 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
|
||||
/* 0003C 809D35EC 3C01809E */ lui $at, %hi(D_809DC0D8) ## $at = 809E0000
|
||||
/* 00040 809D35F0 AE190004 */ sw $t9, 0x0004($s0) ## 00010004
|
||||
/* 00044 809D35F4 8CB80004 */ lw $t8, 0x0004($a1) ## 00000004
|
||||
/* 00048 809D35F8 AE180008 */ sw $t8, 0x0008($s0) ## 00010008
|
||||
/* 0004C 809D35FC 8CB90008 */ lw $t9, 0x0008($a1) ## 00000008
|
||||
/* 00050 809D3600 AE19000C */ sw $t9, 0x000C($s0) ## 0001000C
|
||||
/* 00054 809D3604 8CC90000 */ lw $t1, 0x0000($a2) ## 00000000
|
||||
/* 00058 809D3608 AE090010 */ sw $t1, 0x0010($s0) ## 00010010
|
||||
/* 0005C 809D360C 8CC80004 */ lw $t0, 0x0004($a2) ## 00000004
|
||||
/* 00060 809D3610 AE080014 */ sw $t0, 0x0014($s0) ## 00010014
|
||||
/* 00064 809D3614 8CC90008 */ lw $t1, 0x0008($a2) ## 00000008
|
||||
/* 00068 809D3618 AE090018 */ sw $t1, 0x0018($s0) ## 00010018
|
||||
/* 0006C 809D361C 8CEB0000 */ lw $t3, 0x0000($a3) ## 00000000
|
||||
/* 00070 809D3620 AE0B001C */ sw $t3, 0x001C($s0) ## 0001001C
|
||||
/* 00074 809D3624 8CEA0004 */ lw $t2, 0x0004($a3) ## 00000004
|
||||
/* 00078 809D3628 AE0A0020 */ sw $t2, 0x0020($s0) ## 00010020
|
||||
/* 0007C 809D362C 8CEB0008 */ lw $t3, 0x0008($a3) ## 00000008
|
||||
/* 00080 809D3630 AE0B0024 */ sw $t3, 0x0024($s0) ## 00010024
|
||||
/* 00084 809D3634 C7A40030 */ lwc1 $f4, 0x0030($sp)
|
||||
/* 00088 809D3638 E604004C */ swc1 $f4, 0x004C($s0) ## 0001004C
|
||||
/* 0008C 809D363C 0C00CFBE */ jal Rand_ZeroFloat
|
||||
|
||||
/* 00090 809D3640 C42CC0D8 */ lwc1 $f12, %lo(D_809DC0D8)($at)
|
||||
/* 00094 809D3644 E6000054 */ swc1 $f0, 0x0054($s0) ## 00010054
|
||||
/* 00098 809D3648 3C01809E */ lui $at, %hi(D_809DC0DC) ## $at = 809E0000
|
||||
/* 0009C 809D364C 0C00CFBE */ jal Rand_ZeroFloat
|
||||
|
||||
/* 000A0 809D3650 C42CC0DC */ lwc1 $f12, %lo(D_809DC0DC)($at)
|
||||
/* 000A4 809D3654 A6000048 */ sh $zero, 0x0048($s0) ## 00010048
|
||||
/* 000A8 809D3658 860C0048 */ lh $t4, 0x0048($s0) ## 00010048
|
||||
/* 000AC 809D365C E6000058 */ swc1 $f0, 0x0058($s0) ## 00010058
|
||||
/* 000B0 809D3660 3C014120 */ lui $at, 0x4120 ## $at = 41200000
|
||||
/* 000B4 809D3664 A60C004A */ sh $t4, 0x004A($s0) ## 0001004A
|
||||
/* 000B8 809D3668 C7A60034 */ lwc1 $f6, 0x0034($sp)
|
||||
/* 000BC 809D366C 44816000 */ mtc1 $at, $f12 ## $f12 = 10.00
|
||||
/* 000C0 809D3670 0C00CFBE */ jal Rand_ZeroFloat
|
||||
|
||||
/* 000C4 809D3674 E606005C */ swc1 $f6, 0x005C($s0) ## 0001005C
|
||||
/* 000C8 809D3678 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 000CC 809D367C 44184000 */ mfc1 $t8, $f8
|
||||
/* 000D0 809D3680 10000004 */ beq $zero, $zero, .L809D3694
|
||||
/* 000D4 809D3684 A2180001 */ sb $t8, 0x0001($s0) ## 00010001
|
||||
.L809D3688:
|
||||
/* 000D8 809D3688 28410064 */ slti $at, $v0, 0x0064
|
||||
/* 000DC 809D368C 1420FFCF */ bne $at, $zero, .L809D35CC
|
||||
/* 000E0 809D3690 2610006C */ addiu $s0, $s0, 0x006C ## $s0 = 0001006C
|
||||
.L809D3694:
|
||||
/* 000E4 809D3694 8FBF001C */ lw $ra, 0x001C($sp)
|
||||
/* 000E8 809D3698 8FB00018 */ lw $s0, 0x0018($sp)
|
||||
/* 000EC 809D369C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 000F0 809D36A0 03E00008 */ jr $ra
|
||||
/* 000F4 809D36A4 00000000 */ nop
|
|
@ -1,70 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809DC0E0
|
||||
.float 0.15
|
||||
|
||||
.text
|
||||
glabel func_809D36A8
|
||||
/* 000F8 809D36A8 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 000FC 809D36AC 3C020001 */ lui $v0, 0x0001 ## $v0 = 00010000
|
||||
/* 00100 809D36B0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 00104 809D36B4 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 00108 809D36B8 AFA60028 */ sw $a2, 0x0028($sp)
|
||||
/* 0010C 809D36BC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 00110 809D36C0 8C421E10 */ lw $v0, 0x1E10($v0) ## 00011E10
|
||||
/* 00114 809D36C4 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
|
||||
.L809D36C8:
|
||||
/* 00118 809D36C8 904E0000 */ lbu $t6, 0x0000($v0) ## 00010000
|
||||
/* 0011C 809D36CC 15C00028 */ bne $t6, $zero, .L809D3770
|
||||
/* 00120 809D36D0 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
|
||||
/* 00124 809D36D4 44816000 */ mtc1 $at, $f12 ## $f12 = 100.00
|
||||
/* 00128 809D36D8 0C00CFBE */ jal Rand_ZeroFloat
|
||||
|
||||
/* 0012C 809D36DC AFA20018 */ sw $v0, 0x0018($sp)
|
||||
/* 00130 809D36E0 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 00134 809D36E4 8FA20018 */ lw $v0, 0x0018($sp)
|
||||
/* 00138 809D36E8 24090002 */ addiu $t1, $zero, 0x0002 ## $t1 = 00000002
|
||||
/* 0013C 809D36EC 3C03809D */ lui $v1, %hi(D_809D5C34) ## $v1 = 809D0000
|
||||
/* 00140 809D36F0 44082000 */ mfc1 $t0, $f4
|
||||
/* 00144 809D36F4 A0490000 */ sb $t1, 0x0000($v0) ## 00000000
|
||||
/* 00148 809D36F8 24635C34 */ addiu $v1, $v1, %lo(D_809D5C34) ## $v1 = 809D5C34
|
||||
/* 0014C 809D36FC A0480001 */ sb $t0, 0x0001($v0) ## 00000001
|
||||
/* 00150 809D3700 8FAA0024 */ lw $t2, 0x0024($sp)
|
||||
/* 00154 809D3704 3C01809E */ lui $at, %hi(D_809DC0E0) ## $at = 809E0000
|
||||
/* 00158 809D3708 8D4C0000 */ lw $t4, 0x0000($t2) ## 00000000
|
||||
/* 0015C 809D370C AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 00160 809D3710 8D4B0004 */ lw $t3, 0x0004($t2) ## 00000004
|
||||
/* 00164 809D3714 AC4B0008 */ sw $t3, 0x0008($v0) ## 00000008
|
||||
/* 00168 809D3718 8D4C0008 */ lw $t4, 0x0008($t2) ## 00000008
|
||||
/* 0016C 809D371C AC4C000C */ sw $t4, 0x000C($v0) ## 0000000C
|
||||
/* 00170 809D3720 8C6E0000 */ lw $t6, 0x0000($v1) ## 809D5C34
|
||||
/* 00174 809D3724 AC4E0010 */ sw $t6, 0x0010($v0) ## 00000010
|
||||
/* 00178 809D3728 8C6D0004 */ lw $t5, 0x0004($v1) ## 809D5C38
|
||||
/* 0017C 809D372C AC4D0014 */ sw $t5, 0x0014($v0) ## 00000014
|
||||
/* 00180 809D3730 8C6E0008 */ lw $t6, 0x0008($v1) ## 809D5C3C
|
||||
/* 00184 809D3734 AC4E0018 */ sw $t6, 0x0018($v0) ## 00000018
|
||||
/* 00188 809D3738 8C780000 */ lw $t8, 0x0000($v1) ## 809D5C34
|
||||
/* 0018C 809D373C AC58001C */ sw $t8, 0x001C($v0) ## 0000001C
|
||||
/* 00190 809D3740 8C6F0004 */ lw $t7, 0x0004($v1) ## 809D5C38
|
||||
/* 00194 809D3744 AC4F0020 */ sw $t7, 0x0020($v0) ## 00000020
|
||||
/* 00198 809D3748 8C780008 */ lw $t8, 0x0008($v1) ## 809D5C3C
|
||||
/* 0019C 809D374C AC580024 */ sw $t8, 0x0024($v0) ## 00000024
|
||||
/* 001A0 809D3750 C426C0E0 */ lwc1 $f6, %lo(D_809DC0E0)($at)
|
||||
/* 001A4 809D3754 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 001A8 809D3758 44815000 */ mtc1 $at, $f10 ## $f10 = 200.00
|
||||
/* 001AC 809D375C E4460020 */ swc1 $f6, 0x0020($v0) ## 00000020
|
||||
/* 001B0 809D3760 C7A80028 */ lwc1 $f8, 0x0028($sp)
|
||||
/* 001B4 809D3764 E44A0034 */ swc1 $f10, 0x0034($v0) ## 00000034
|
||||
/* 001B8 809D3768 10000007 */ beq $zero, $zero, .L809D3788
|
||||
/* 001BC 809D376C E448004C */ swc1 $f8, 0x004C($v0) ## 0000004C
|
||||
.L809D3770:
|
||||
/* 001C0 809D3770 24630001 */ addiu $v1, $v1, 0x0001 ## $v1 = 809D5C35
|
||||
/* 001C4 809D3774 00031C00 */ sll $v1, $v1, 16
|
||||
/* 001C8 809D3778 00031C03 */ sra $v1, $v1, 16
|
||||
/* 001CC 809D377C 28610064 */ slti $at, $v1, 0x0064
|
||||
/* 001D0 809D3780 1420FFD1 */ bne $at, $zero, .L809D36C8
|
||||
/* 001D4 809D3784 2442006C */ addiu $v0, $v0, 0x006C ## $v0 = 0000006C
|
||||
.L809D3788:
|
||||
/* 001D8 809D3788 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 001DC 809D378C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 001E0 809D3790 03E00008 */ jr $ra
|
||||
/* 001E4 809D3794 00000000 */ nop
|
|
@ -1,78 +0,0 @@
|
|||
glabel func_809D3798
|
||||
/* 001E8 809D3798 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 001EC 809D379C 3C020001 */ lui $v0, 0x0001 ## $v0 = 00010000
|
||||
/* 001F0 809D37A0 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 001F4 809D37A4 AFA50024 */ sw $a1, 0x0024($sp)
|
||||
/* 001F8 809D37A8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 001FC 809D37AC 44867000 */ mtc1 $a2, $f14 ## $f14 = 0.00
|
||||
/* 00200 809D37B0 8C421E10 */ lw $v0, 0x1E10($v0) ## 00011E10
|
||||
/* 00204 809D37B4 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
|
||||
.L809D37B8:
|
||||
/* 00208 809D37B8 904E0000 */ lbu $t6, 0x0000($v0) ## 00010000
|
||||
/* 0020C 809D37BC 15C00035 */ bne $t6, $zero, .L809D3894
|
||||
/* 00210 809D37C0 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
|
||||
/* 00214 809D37C4 44816000 */ mtc1 $at, $f12 ## $f12 = 100.00
|
||||
/* 00218 809D37C8 AFA20018 */ sw $v0, 0x0018($sp)
|
||||
/* 0021C 809D37CC 0C00CFBE */ jal Rand_ZeroFloat
|
||||
|
||||
/* 00220 809D37D0 E7AE0028 */ swc1 $f14, 0x0028($sp)
|
||||
/* 00224 809D37D4 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 00228 809D37D8 8FA20018 */ lw $v0, 0x0018($sp)
|
||||
/* 0022C 809D37DC C7AE0028 */ lwc1 $f14, 0x0028($sp)
|
||||
/* 00230 809D37E0 24090003 */ addiu $t1, $zero, 0x0003 ## $t1 = 00000003
|
||||
/* 00234 809D37E4 44082000 */ mfc1 $t0, $f4
|
||||
/* 00238 809D37E8 A0490000 */ sb $t1, 0x0000($v0) ## 00000000
|
||||
/* 0023C 809D37EC 3C03809D */ lui $v1, %hi(D_809D5C34) ## $v1 = 809D0000
|
||||
/* 00240 809D37F0 A0480001 */ sb $t0, 0x0001($v0) ## 00000001
|
||||
/* 00244 809D37F4 8FAA0024 */ lw $t2, 0x0024($sp)
|
||||
/* 00248 809D37F8 24635C34 */ addiu $v1, $v1, %lo(D_809D5C34) ## $v1 = 809D5C34
|
||||
/* 0024C 809D37FC 3C01437F */ lui $at, 0x437F ## $at = 437F0000
|
||||
/* 00250 809D3800 8D4C0000 */ lw $t4, 0x0000($t2) ## 00000000
|
||||
/* 00254 809D3804 44811000 */ mtc1 $at, $f2 ## $f2 = 255.00
|
||||
/* 00258 809D3808 3C014348 */ lui $at, 0x4348 ## $at = 43480000
|
||||
/* 0025C 809D380C AC4C0004 */ sw $t4, 0x0004($v0) ## 00000004
|
||||
/* 00260 809D3810 8D4B0004 */ lw $t3, 0x0004($t2) ## 00000004
|
||||
/* 00264 809D3814 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
|
||||
/* 00268 809D3818 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 0026C 809D381C AC4B0008 */ sw $t3, 0x0008($v0) ## 00000008
|
||||
/* 00270 809D3820 8D4C0008 */ lw $t4, 0x0008($t2) ## 00000008
|
||||
/* 00274 809D3824 44815000 */ mtc1 $at, $f10 ## $f10 = 20.00
|
||||
/* 00278 809D3828 460E7180 */ add.s $f6, $f14, $f14
|
||||
/* 0027C 809D382C AC4C000C */ sw $t4, 0x000C($v0) ## 0000000C
|
||||
/* 00280 809D3830 8C6E0000 */ lw $t6, 0x0000($v1) ## 809D5C34
|
||||
/* 00284 809D3834 3C014357 */ lui $at, 0x4357 ## $at = 43570000
|
||||
/* 00288 809D3838 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
|
||||
/* 0028C 809D383C AC4E0010 */ sw $t6, 0x0010($v0) ## 00000010
|
||||
/* 00290 809D3840 8C6D0004 */ lw $t5, 0x0004($v1) ## 809D5C38
|
||||
/* 00294 809D3844 44819000 */ mtc1 $at, $f18 ## $f18 = 215.00
|
||||
/* 00298 809D3848 AC4D0014 */ sw $t5, 0x0014($v0) ## 00000014
|
||||
/* 0029C 809D384C 8C6E0008 */ lw $t6, 0x0008($v1) ## 809D5C3C
|
||||
/* 002A0 809D3850 AC4E0018 */ sw $t6, 0x0018($v0) ## 00000018
|
||||
/* 002A4 809D3854 8C780000 */ lw $t8, 0x0000($v1) ## 809D5C34
|
||||
/* 002A8 809D3858 AC58001C */ sw $t8, 0x001C($v0) ## 0000001C
|
||||
/* 002AC 809D385C 8C6F0004 */ lw $t7, 0x0004($v1) ## 809D5C38
|
||||
/* 002B0 809D3860 AC4F0020 */ sw $t7, 0x0020($v0) ## 00000020
|
||||
/* 002B4 809D3864 8C780008 */ lw $t8, 0x0008($v1) ## 809D5C3C
|
||||
/* 002B8 809D3868 E4460050 */ swc1 $f6, 0x0050($v0) ## 00000050
|
||||
/* 002BC 809D386C E44E004C */ swc1 $f14, 0x004C($v0) ## 0000004C
|
||||
/* 002C0 809D3870 E4420034 */ swc1 $f2, 0x0034($v0) ## 00000034
|
||||
/* 002C4 809D3874 E4420038 */ swc1 $f2, 0x0038($v0) ## 00000038
|
||||
/* 002C8 809D3878 E4420040 */ swc1 $f2, 0x0040($v0) ## 00000040
|
||||
/* 002CC 809D387C E4480028 */ swc1 $f8, 0x0028($v0) ## 00000028
|
||||
/* 002D0 809D3880 E44A002C */ swc1 $f10, 0x002C($v0) ## 0000002C
|
||||
/* 002D4 809D3884 E4500030 */ swc1 $f16, 0x0030($v0) ## 00000030
|
||||
/* 002D8 809D3888 E452003C */ swc1 $f18, 0x003C($v0) ## 0000003C
|
||||
/* 002DC 809D388C 10000007 */ beq $zero, $zero, .L809D38AC
|
||||
/* 002E0 809D3890 AC580024 */ sw $t8, 0x0024($v0) ## 00000024
|
||||
.L809D3894:
|
||||
/* 002E4 809D3894 24630001 */ addiu $v1, $v1, 0x0001 ## $v1 = 809D5C35
|
||||
/* 002E8 809D3898 00031C00 */ sll $v1, $v1, 16
|
||||
/* 002EC 809D389C 00031C03 */ sra $v1, $v1, 16
|
||||
/* 002F0 809D38A0 28610064 */ slti $at, $v1, 0x0064
|
||||
/* 002F4 809D38A4 1420FFC4 */ bne $at, $zero, .L809D37B8
|
||||
/* 002F8 809D38A8 2442006C */ addiu $v0, $v0, 0x006C ## $v0 = 0000006C
|
||||
.L809D38AC:
|
||||
/* 002FC 809D38AC 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 00300 809D38B0 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00304 809D38B4 03E00008 */ jr $ra
|
||||
/* 00308 809D38B8 00000000 */ nop
|
|
@ -1,57 +0,0 @@
|
|||
glabel func_809D38BC
|
||||
/* 0030C 809D38BC 3C020001 */ lui $v0, 0x0001 ## $v0 = 00010000
|
||||
/* 00310 809D38C0 00441021 */ addu $v0, $v0, $a0
|
||||
/* 00314 809D38C4 44866000 */ mtc1 $a2, $f12 ## $f12 = 0.00
|
||||
/* 00318 809D38C8 44877000 */ mtc1 $a3, $f14 ## $f14 = 0.00
|
||||
/* 0031C 809D38CC 8C421E10 */ lw $v0, 0x1E10($v0) ## 00011E10
|
||||
/* 00320 809D38D0 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
|
||||
.L809D38D4:
|
||||
/* 00324 809D38D4 904E0000 */ lbu $t6, 0x0000($v0) ## 00010000
|
||||
/* 00328 809D38D8 15C00026 */ bne $t6, $zero, .L809D3974
|
||||
/* 0032C 809D38DC 240F0004 */ addiu $t7, $zero, 0x0004 ## $t7 = 00000004
|
||||
/* 00330 809D38E0 A04F0000 */ sb $t7, 0x0000($v0) ## 00010000
|
||||
/* 00334 809D38E4 8CB90000 */ lw $t9, 0x0000($a1) ## 00000000
|
||||
/* 00338 809D38E8 3C03809D */ lui $v1, %hi(D_809D5C34) ## $v1 = 809D0000
|
||||
/* 0033C 809D38EC 24635C34 */ addiu $v1, $v1, %lo(D_809D5C34) ## $v1 = 809D5C34
|
||||
/* 00340 809D38F0 AC590004 */ sw $t9, 0x0004($v0) ## 00010004
|
||||
/* 00344 809D38F4 8CB80004 */ lw $t8, 0x0004($a1) ## 00000004
|
||||
/* 00348 809D38F8 460C6180 */ add.s $f6, $f12, $f12
|
||||
/* 0034C 809D38FC 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
|
||||
/* 00350 809D3900 AC580008 */ sw $t8, 0x0008($v0) ## 00010008
|
||||
/* 00354 809D3904 8CB90008 */ lw $t9, 0x0008($a1) ## 00000008
|
||||
/* 00358 809D3908 3C014334 */ lui $at, 0x4334 ## $at = 43340000
|
||||
/* 0035C 809D390C 44814000 */ mtc1 $at, $f8 ## $f8 = 180.00
|
||||
/* 00360 809D3910 AC59000C */ sw $t9, 0x000C($v0) ## 0001000C
|
||||
/* 00364 809D3914 8C690000 */ lw $t1, 0x0000($v1) ## 809D5C34
|
||||
/* 00368 809D3918 AC490010 */ sw $t1, 0x0010($v0) ## 00010010
|
||||
/* 0036C 809D391C 8C680004 */ lw $t0, 0x0004($v1) ## 809D5C38
|
||||
/* 00370 809D3920 AC480014 */ sw $t0, 0x0014($v0) ## 00010014
|
||||
/* 00374 809D3924 8C690008 */ lw $t1, 0x0008($v1) ## 809D5C3C
|
||||
/* 00378 809D3928 AC490018 */ sw $t1, 0x0018($v0) ## 00010018
|
||||
/* 0037C 809D392C 8C6B0000 */ lw $t3, 0x0000($v1) ## 809D5C34
|
||||
/* 00380 809D3930 AC4B001C */ sw $t3, 0x001C($v0) ## 0001001C
|
||||
/* 00384 809D3934 8C6A0004 */ lw $t2, 0x0004($v1) ## 809D5C38
|
||||
/* 00388 809D3938 AC4A0020 */ sw $t2, 0x0020($v0) ## 00010020
|
||||
/* 0038C 809D393C 8C6B0008 */ lw $t3, 0x0008($v1) ## 809D5C3C
|
||||
/* 00390 809D3940 E4460050 */ swc1 $f6, 0x0050($v0) ## 00010050
|
||||
/* 00394 809D3944 E44E005C */ swc1 $f14, 0x005C($v0) ## 0001005C
|
||||
/* 00398 809D3948 E444004C */ swc1 $f4, 0x004C($v0) ## 0001004C
|
||||
/* 0039C 809D394C AC4B0024 */ sw $t3, 0x0024($v0) ## 00010024
|
||||
/* 003A0 809D3950 8FAC0010 */ lw $t4, 0x0010($sp)
|
||||
/* 003A4 809D3954 8D8E0000 */ lw $t6, 0x0000($t4) ## 00000000
|
||||
/* 003A8 809D3958 AC4E0060 */ sw $t6, 0x0060($v0) ## 00010060
|
||||
/* 003AC 809D395C 8D8D0004 */ lw $t5, 0x0004($t4) ## 00000004
|
||||
/* 003B0 809D3960 AC4D0064 */ sw $t5, 0x0064($v0) ## 00010064
|
||||
/* 003B4 809D3964 8D8E0008 */ lw $t6, 0x0008($t4) ## 00000008
|
||||
/* 003B8 809D3968 E4480034 */ swc1 $f8, 0x0034($v0) ## 00010034
|
||||
/* 003BC 809D396C 03E00008 */ jr $ra
|
||||
/* 003C0 809D3970 AC4E0068 */ sw $t6, 0x0068($v0) ## 00010068
|
||||
.L809D3974:
|
||||
/* 003C4 809D3974 24630001 */ addiu $v1, $v1, 0x0001 ## $v1 = 809D5C35
|
||||
/* 003C8 809D3978 00031C00 */ sll $v1, $v1, 16
|
||||
/* 003CC 809D397C 00031C03 */ sra $v1, $v1, 16
|
||||
/* 003D0 809D3980 28610064 */ slti $at, $v1, 0x0064
|
||||
/* 003D4 809D3984 1420FFD3 */ bne $at, $zero, .L809D38D4
|
||||
/* 003D8 809D3988 2442006C */ addiu $v0, $v0, 0x006C ## $v0 = 0001006C
|
||||
/* 003DC 809D398C 03E00008 */ jr $ra
|
||||
/* 003E0 809D3990 00000000 */ nop
|
|
@ -1,53 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809DC0E8
|
||||
.word 0x38000100
|
||||
|
||||
.text
|
||||
glabel func_809D3B80
|
||||
/* 005D0 809D3B80 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
|
||||
/* 005D4 809D3B84 AFBF0014 */ sw $ra, 0x0014($sp)
|
||||
/* 005D8 809D3B88 AFA40020 */ sw $a0, 0x0020($sp)
|
||||
/* 005DC 809D3B8C 8C820078 */ lw $v0, 0x0078($a0) ## 00000078
|
||||
/* 005E0 809D3B90 50400026 */ beql $v0, $zero, .L809D3C2C
|
||||
/* 005E4 809D3B94 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
/* 005E8 809D3B98 844F0008 */ lh $t7, 0x0008($v0) ## 00000008
|
||||
/* 005EC 809D3B9C 3C01809E */ lui $at, %hi(D_809DC0E8) ## $at = 809E0000
|
||||
/* 005F0 809D3BA0 C422C0E8 */ lwc1 $f2, %lo(D_809DC0E8)($at)
|
||||
/* 005F4 809D3BA4 448F2000 */ mtc1 $t7, $f4 ## $f4 = 0.00
|
||||
/* 005F8 809D3BA8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 005FC 809D3BAC 44817000 */ mtc1 $at, $f14 ## $f14 = 1.00
|
||||
/* 00600 809D3BB0 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 00604 809D3BB4 46023202 */ mul.s $f8, $f6, $f2
|
||||
/* 00608 809D3BB8 E7A8001C */ swc1 $f8, 0x001C($sp)
|
||||
/* 0060C 809D3BBC 8458000A */ lh $t8, 0x000A($v0) ## 0000000A
|
||||
/* 00610 809D3BC0 8459000C */ lh $t9, 0x000C($v0) ## 0000000C
|
||||
/* 00614 809D3BC4 44985000 */ mtc1 $t8, $f10 ## $f10 = 0.00
|
||||
/* 00618 809D3BC8 44992000 */ mtc1 $t9, $f4 ## $f4 = 0.00
|
||||
/* 0061C 809D3BCC 468054A0 */ cvt.s.w $f18, $f10
|
||||
/* 00620 809D3BD0 468021A0 */ cvt.s.w $f6, $f4
|
||||
/* 00624 809D3BD4 46029402 */ mul.s $f16, $f18, $f2
|
||||
/* 00628 809D3BD8 00000000 */ nop
|
||||
/* 0062C 809D3BDC 46023002 */ mul.s $f0, $f6, $f2
|
||||
/* 00630 809D3BE0 E7B00018 */ swc1 $f16, 0x0018($sp)
|
||||
/* 00634 809D3BE4 46000207 */ neg.s $f8, $f0
|
||||
/* 00638 809D3BE8 46104302 */ mul.s $f12, $f8, $f16
|
||||
/* 0063C 809D3BEC 0C03F494 */ jal Math_FAtan2F
|
||||
/* 00640 809D3BF0 00000000 */ nop
|
||||
/* 00644 809D3BF4 8FA80020 */ lw $t0, 0x0020($sp)
|
||||
/* 00648 809D3BF8 46000287 */ neg.s $f10, $f0
|
||||
/* 0064C 809D3BFC C7B00018 */ lwc1 $f16, 0x0018($sp)
|
||||
/* 00650 809D3C00 E50A0188 */ swc1 $f10, 0x0188($t0) ## 00000188
|
||||
/* 00654 809D3C04 C7B2001C */ lwc1 $f18, 0x001C($sp)
|
||||
/* 00658 809D3C08 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 0065C 809D3C0C 44817000 */ mtc1 $at, $f14 ## $f14 = 1.00
|
||||
/* 00660 809D3C10 46009107 */ neg.s $f4, $f18
|
||||
/* 00664 809D3C14 46102302 */ mul.s $f12, $f4, $f16
|
||||
/* 00668 809D3C18 0C03F494 */ jal Math_FAtan2F
|
||||
/* 0066C 809D3C1C 00000000 */ nop
|
||||
/* 00670 809D3C20 8FA90020 */ lw $t1, 0x0020($sp)
|
||||
/* 00674 809D3C24 E5200190 */ swc1 $f0, 0x0190($t1) ## 00000190
|
||||
/* 00678 809D3C28 8FBF0014 */ lw $ra, 0x0014($sp)
|
||||
.L809D3C2C:
|
||||
/* 0067C 809D3C2C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
|
||||
/* 00680 809D3C30 03E00008 */ jr $ra
|
||||
/* 00684 809D3C34 00000000 */ nop
|
|
@ -1,273 +0,0 @@
|
|||
.late_rodata
|
||||
glabel D_809DC130
|
||||
.word 0x3EB33333, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
.text
|
||||
glabel func_809D5004
|
||||
/* 01A54 809D5004 27BDFF80 */ addiu $sp, $sp, 0xFF80 ## $sp = FFFFFF80
|
||||
/* 01A58 809D5008 F7BC0038 */ sdc1 $f28, 0x0038($sp)
|
||||
/* 01A5C 809D500C 3C014040 */ lui $at, 0x4040 ## $at = 40400000
|
||||
/* 01A60 809D5010 4481E000 */ mtc1 $at, $f28 ## $f28 = 3.00
|
||||
/* 01A64 809D5014 F7BA0030 */ sdc1 $f26, 0x0030($sp)
|
||||
/* 01A68 809D5018 3C0141CC */ lui $at, 0x41CC ## $at = 41CC0000
|
||||
/* 01A6C 809D501C 4481D000 */ mtc1 $at, $f26 ## $f26 = 25.50
|
||||
/* 01A70 809D5020 F7B80028 */ sdc1 $f24, 0x0028($sp)
|
||||
/* 01A74 809D5024 3C01C0A0 */ lui $at, 0xC0A0 ## $at = C0A00000
|
||||
/* 01A78 809D5028 AFB00040 */ sw $s0, 0x0040($sp)
|
||||
/* 01A7C 809D502C 4481C000 */ mtc1 $at, $f24 ## $f24 = -5.00
|
||||
/* 01A80 809D5030 AFB40050 */ sw $s4, 0x0050($sp)
|
||||
/* 01A84 809D5034 AFB3004C */ sw $s3, 0x004C($sp)
|
||||
/* 01A88 809D5038 AFB20048 */ sw $s2, 0x0048($sp)
|
||||
/* 01A8C 809D503C AFB10044 */ sw $s1, 0x0044($sp)
|
||||
/* 01A90 809D5040 F7B60020 */ sdc1 $f22, 0x0020($sp)
|
||||
/* 01A94 809D5044 F7B40018 */ sdc1 $f20, 0x0018($sp)
|
||||
/* 01A98 809D5048 3C100001 */ lui $s0, 0x0001 ## $s0 = 00010000
|
||||
/* 01A9C 809D504C 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01AA0 809D5050 AFBF0054 */ sw $ra, 0x0054($sp)
|
||||
/* 01AA4 809D5054 02048021 */ addu $s0, $s0, $a0
|
||||
/* 01AA8 809D5058 4481B000 */ mtc1 $at, $f22 ## $f22 = 1.00
|
||||
/* 01AAC 809D505C 4480A000 */ mtc1 $zero, $f20 ## $f20 = 0.00
|
||||
/* 01AB0 809D5060 0080A025 */ or $s4, $a0, $zero ## $s4 = 00000000
|
||||
/* 01AB4 809D5064 8E101E10 */ lw $s0, 0x1E10($s0) ## 00011E10
|
||||
/* 01AB8 809D5068 00008825 */ or $s1, $zero, $zero ## $s1 = 00000000
|
||||
/* 01ABC 809D506C 24120001 */ addiu $s2, $zero, 0x0001 ## $s2 = 00000001
|
||||
/* 01AC0 809D5070 27B30068 */ addiu $s3, $sp, 0x0068 ## $s3 = FFFFFFE8
|
||||
.L809D5074:
|
||||
/* 01AC4 809D5074 920E0000 */ lbu $t6, 0x0000($s0) ## 00010000
|
||||
/* 01AC8 809D5078 51C000C2 */ beql $t6, $zero, .L809D5384
|
||||
/* 01ACC 809D507C 26310001 */ addiu $s1, $s1, 0x0001 ## $s1 = 00000001
|
||||
/* 01AD0 809D5080 C6120010 */ lwc1 $f18, 0x0010($s0) ## 00010010
|
||||
/* 01AD4 809D5084 C60E0004 */ lwc1 $f14, 0x0004($s0) ## 00010004
|
||||
/* 01AD8 809D5088 C6100008 */ lwc1 $f16, 0x0008($s0) ## 00010008
|
||||
/* 01ADC 809D508C C60C0014 */ lwc1 $f12, 0x0014($s0) ## 00010014
|
||||
/* 01AE0 809D5090 46127380 */ add.s $f14, $f14, $f18
|
||||
/* 01AE4 809D5094 920F0001 */ lbu $t7, 0x0001($s0) ## 00010001
|
||||
/* 01AE8 809D5098 C60A0018 */ lwc1 $f10, 0x0018($s0) ## 00010018
|
||||
/* 01AEC 809D509C 460C8200 */ add.s $f8, $f16, $f12
|
||||
/* 01AF0 809D50A0 C606000C */ lwc1 $f6, 0x000C($s0) ## 0001000C
|
||||
/* 01AF4 809D50A4 C604001C */ lwc1 $f4, 0x001C($s0) ## 0001001C
|
||||
/* 01AF8 809D50A8 C6020020 */ lwc1 $f2, 0x0020($s0) ## 00010020
|
||||
/* 01AFC 809D50AC 460A3180 */ add.s $f6, $f6, $f10
|
||||
/* 01B00 809D50B0 C6000024 */ lwc1 $f0, 0x0024($s0) ## 00010024
|
||||
/* 01B04 809D50B4 92020000 */ lbu $v0, 0x0000($s0) ## 00010000
|
||||
/* 01B08 809D50B8 46049100 */ add.s $f4, $f18, $f4
|
||||
/* 01B0C 809D50BC 25F80001 */ addiu $t8, $t7, 0x0001 ## $t8 = 00000001
|
||||
/* 01B10 809D50C0 E60E0004 */ swc1 $f14, 0x0004($s0) ## 00010004
|
||||
/* 01B14 809D50C4 46026080 */ add.s $f2, $f12, $f2
|
||||
/* 01B18 809D50C8 A2180001 */ sb $t8, 0x0001($s0) ## 00010001
|
||||
/* 01B1C 809D50CC E6080008 */ swc1 $f8, 0x0008($s0) ## 00010008
|
||||
/* 01B20 809D50D0 46005000 */ add.s $f0, $f10, $f0
|
||||
/* 01B24 809D50D4 E606000C */ swc1 $f6, 0x000C($s0) ## 0001000C
|
||||
/* 01B28 809D50D8 E6040010 */ swc1 $f4, 0x0010($s0) ## 00010010
|
||||
/* 01B2C 809D50DC E6020014 */ swc1 $f2, 0x0014($s0) ## 00010014
|
||||
/* 01B30 809D50E0 16420058 */ bne $s2, $v0, .L809D5244
|
||||
/* 01B34 809D50E4 E6000018 */ swc1 $f0, 0x0018($s0) ## 00010018
|
||||
/* 01B38 809D50E8 C6000014 */ lwc1 $f0, 0x0014($s0) ## 00010014
|
||||
/* 01B3C 809D50EC 4618003C */ c.lt.s $f0, $f24
|
||||
/* 01B40 809D50F0 00000000 */ nop
|
||||
/* 01B44 809D50F4 45020004 */ bc1fl .L809D5108
|
||||
/* 01B48 809D50F8 4614003C */ c.lt.s $f0, $f20
|
||||
/* 01B4C 809D50FC E6180014 */ swc1 $f24, 0x0014($s0) ## 00010014
|
||||
/* 01B50 809D5100 C6000014 */ lwc1 $f0, 0x0014($s0) ## 00010014
|
||||
/* 01B54 809D5104 4614003C */ c.lt.s $f0, $f20
|
||||
.L809D5108:
|
||||
/* 01B58 809D5108 00000000 */ nop
|
||||
/* 01B5C 809D510C 4502002C */ bc1fl .L809D51C0
|
||||
/* 01B60 809D5110 C60A0020 */ lwc1 $f10, 0x0020($s0) ## 00010020
|
||||
/* 01B64 809D5114 8E080004 */ lw $t0, 0x0004($s0) ## 00010004
|
||||
/* 01B68 809D5118 3C0140A0 */ lui $at, 0x40A0 ## $at = 40A00000
|
||||
/* 01B6C 809D511C 44814000 */ mtc1 $at, $f8 ## $f8 = 5.00
|
||||
/* 01B70 809D5120 AE680000 */ sw $t0, 0x0000($s3) ## FFFFFFE8
|
||||
/* 01B74 809D5124 8E190008 */ lw $t9, 0x0008($s0) ## 00010008
|
||||
/* 01B78 809D5128 268407C0 */ addiu $a0, $s4, 0x07C0 ## $a0 = 000007C0
|
||||
/* 01B7C 809D512C 02602825 */ or $a1, $s3, $zero ## $a1 = FFFFFFE8
|
||||
/* 01B80 809D5130 AE790004 */ sw $t9, 0x0004($s3) ## FFFFFFEC
|
||||
/* 01B84 809D5134 8E08000C */ lw $t0, 0x000C($s0) ## 0001000C
|
||||
/* 01B88 809D5138 3C064130 */ lui $a2, 0x4130 ## $a2 = 41300000
|
||||
/* 01B8C 809D513C AE680008 */ sw $t0, 0x0008($s3) ## FFFFFFF0
|
||||
/* 01B90 809D5140 C7A6006C */ lwc1 $f6, 0x006C($sp)
|
||||
/* 01B94 809D5144 E7B00074 */ swc1 $f16, 0x0074($sp)
|
||||
/* 01B98 809D5148 46083280 */ add.s $f10, $f6, $f8
|
||||
/* 01B9C 809D514C 0C00F8C3 */ jal BgCheck_SphVsFirstPoly
|
||||
/* 01BA0 809D5150 E7AA006C */ swc1 $f10, 0x006C($sp)
|
||||
/* 01BA4 809D5154 10400019 */ beq $v0, $zero, .L809D51BC
|
||||
/* 01BA8 809D5158 C7B00074 */ lwc1 $f16, 0x0074($sp)
|
||||
/* 01BAC 809D515C 86020048 */ lh $v0, 0x0048($s0) ## 00010048
|
||||
/* 01BB0 809D5160 E6100008 */ swc1 $f16, 0x0008($s0) ## 00010008
|
||||
/* 01BB4 809D5164 3C01BF00 */ lui $at, 0xBF00 ## $at = BF000000
|
||||
/* 01BB8 809D5168 5C400011 */ bgtzl $v0, .L809D51B0
|
||||
/* 01BBC 809D516C E6140014 */ swc1 $f20, 0x0014($s0) ## 00010014
|
||||
/* 01BC0 809D5170 C6120014 */ lwc1 $f18, 0x0014($s0) ## 00010014
|
||||
/* 01BC4 809D5174 44812000 */ mtc1 $at, $f4 ## $f4 = -0.50
|
||||
/* 01BC8 809D5178 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 01BCC 809D517C 24490001 */ addiu $t1, $v0, 0x0001 ## $t1 = 00000001
|
||||
/* 01BD0 809D5180 46049182 */ mul.s $f6, $f18, $f4
|
||||
/* 01BD4 809D5184 44816000 */ mtc1 $at, $f12 ## $f12 = 20.00
|
||||
/* 01BD8 809D5188 A6090048 */ sh $t1, 0x0048($s0) ## 00010048
|
||||
/* 01BDC 809D518C 0C00CFBE */ jal Rand_ZeroFloat
|
||||
|
||||
/* 01BE0 809D5190 E6060014 */ swc1 $f6, 0x0014($s0) ## 00010014
|
||||
/* 01BE4 809D5194 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 01BE8 809D5198 440D4000 */ mfc1 $t5, $f8
|
||||
/* 01BEC 809D519C 00000000 */ nop
|
||||
/* 01BF0 809D51A0 25AE0019 */ addiu $t6, $t5, 0x0019 ## $t6 = 00000019
|
||||
/* 01BF4 809D51A4 10000005 */ beq $zero, $zero, .L809D51BC
|
||||
/* 01BF8 809D51A8 A60E004A */ sh $t6, 0x004A($s0) ## 0001004A
|
||||
/* 01BFC 809D51AC E6140014 */ swc1 $f20, 0x0014($s0) ## 00010014
|
||||
.L809D51B0:
|
||||
/* 01C00 809D51B0 E6140020 */ swc1 $f20, 0x0020($s0) ## 00010020
|
||||
/* 01C04 809D51B4 E6140018 */ swc1 $f20, 0x0018($s0) ## 00010018
|
||||
/* 01C08 809D51B8 E6140010 */ swc1 $f20, 0x0010($s0) ## 00010010
|
||||
.L809D51BC:
|
||||
/* 01C0C 809D51BC C60A0020 */ lwc1 $f10, 0x0020($s0) ## 00010020
|
||||
.L809D51C0:
|
||||
/* 01C10 809D51C0 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
|
||||
/* 01C14 809D51C4 460AA032 */ c.eq.s $f20, $f10
|
||||
/* 01C18 809D51C8 00000000 */ nop
|
||||
/* 01C1C 809D51CC 4503000B */ bc1tl .L809D51FC
|
||||
/* 01C20 809D51D0 860F004A */ lh $t7, 0x004A($s0) ## 0001004A
|
||||
/* 01C24 809D51D4 C6120054 */ lwc1 $f18, 0x0054($s0) ## 00010054
|
||||
/* 01C28 809D51D8 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
|
||||
/* 01C2C 809D51DC 3C01809E */ lui $at, %hi(D_809DC130) ## $at = 809E0000
|
||||
/* 01C30 809D51E0 C6080058 */ lwc1 $f8, 0x0058($s0) ## 00010058
|
||||
/* 01C34 809D51E4 46049180 */ add.s $f6, $f18, $f4
|
||||
/* 01C38 809D51E8 E6060054 */ swc1 $f6, 0x0054($s0) ## 00010054
|
||||
/* 01C3C 809D51EC C42AC130 */ lwc1 $f10, %lo(D_809DC130)($at)
|
||||
/* 01C40 809D51F0 460A4480 */ add.s $f18, $f8, $f10
|
||||
/* 01C44 809D51F4 E6120058 */ swc1 $f18, 0x0058($s0) ## 00010058
|
||||
/* 01C48 809D51F8 860F004A */ lh $t7, 0x004A($s0) ## 0001004A
|
||||
.L809D51FC:
|
||||
/* 01C4C 809D51FC 564F0003 */ bnel $s2, $t7, .L809D520C
|
||||
/* 01C50 809D5200 92180001 */ lbu $t8, 0x0001($s0) ## 00010001
|
||||
/* 01C54 809D5204 A2000000 */ sb $zero, 0x0000($s0) ## 00010000
|
||||
/* 01C58 809D5208 92180001 */ lbu $t8, 0x0001($s0) ## 00010001
|
||||
.L809D520C:
|
||||
/* 01C5C 809D520C 2B010003 */ slti $at, $t8, 0x0003
|
||||
/* 01C60 809D5210 14200057 */ bne $at, $zero, .L809D5370
|
||||
/* 01C64 809D5214 3C014100 */ lui $at, 0x4100 ## $at = 41000000
|
||||
/* 01C68 809D5218 44813000 */ mtc1 $at, $f6 ## $f6 = 8.00
|
||||
/* 01C6C 809D521C C604004C */ lwc1 $f4, 0x004C($s0) ## 0001004C
|
||||
/* 01C70 809D5220 A2000001 */ sb $zero, 0x0001($s0) ## 00010001
|
||||
/* 01C74 809D5224 02802025 */ or $a0, $s4, $zero ## $a0 = 00000000
|
||||
/* 01C78 809D5228 46062202 */ mul.s $f8, $f4, $f6
|
||||
/* 01C7C 809D522C 26050004 */ addiu $a1, $s0, 0x0004 ## $a1 = 00010004
|
||||
/* 01C80 809D5230 44064000 */ mfc1 $a2, $f8
|
||||
/* 01C84 809D5234 0C274DAA */ jal func_809D36A8
|
||||
/* 01C88 809D5238 00000000 */ nop
|
||||
/* 01C8C 809D523C 1000004D */ beq $zero, $zero, .L809D5374
|
||||
/* 01C90 809D5240 8602004A */ lh $v0, 0x004A($s0) ## 0001004A
|
||||
.L809D5244:
|
||||
/* 01C94 809D5244 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 01C98 809D5248 1441000B */ bne $v0, $at, .L809D5278
|
||||
/* 01C9C 809D524C 26040034 */ addiu $a0, $s0, 0x0034 ## $a0 = 00010034
|
||||
/* 01CA0 809D5250 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01CA4 809D5254 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01CA8 809D5258 3C064170 */ lui $a2, 0x4170 ## $a2 = 41700000
|
||||
/* 01CAC 809D525C C60A0034 */ lwc1 $f10, 0x0034($s0) ## 00010034
|
||||
/* 01CB0 809D5260 4614503E */ c.le.s $f10, $f20
|
||||
/* 01CB4 809D5264 00000000 */ nop
|
||||
/* 01CB8 809D5268 45020042 */ bc1fl .L809D5374
|
||||
/* 01CBC 809D526C 8602004A */ lh $v0, 0x004A($s0) ## 0001004A
|
||||
/* 01CC0 809D5270 1000003F */ beq $zero, $zero, .L809D5370
|
||||
/* 01CC4 809D5274 A2000000 */ sb $zero, 0x0000($s0) ## 00010000
|
||||
.L809D5278:
|
||||
/* 01CC8 809D5278 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 01CCC 809D527C 1441002B */ bne $v0, $at, .L809D532C
|
||||
/* 01CD0 809D5280 26040028 */ addiu $a0, $s0, 0x0028 ## $a0 = 00010028
|
||||
/* 01CD4 809D5284 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01CD8 809D5288 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01CDC 809D528C 3C0641A0 */ lui $a2, 0x41A0 ## $a2 = 41A00000
|
||||
/* 01CE0 809D5290 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01CE4 809D5294 2604002C */ addiu $a0, $s0, 0x002C ## $a0 = 0001002C
|
||||
/* 01CE8 809D5298 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01CEC 809D529C 3C064000 */ lui $a2, 0x4000 ## $a2 = 40000000
|
||||
/* 01CF0 809D52A0 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01CF4 809D52A4 4406D000 */ mfc1 $a2, $f26
|
||||
/* 01CF8 809D52A8 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01CFC 809D52AC 26040038 */ addiu $a0, $s0, 0x0038 ## $a0 = 00010038
|
||||
/* 01D00 809D52B0 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01D04 809D52B4 2604003C */ addiu $a0, $s0, 0x003C ## $a0 = 0001003C
|
||||
/* 01D08 809D52B8 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01D0C 809D52BC 3C0641AC */ lui $a2, 0x41AC ## $a2 = 41AC0000
|
||||
/* 01D10 809D52C0 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01D14 809D52C4 4406D000 */ mfc1 $a2, $f26
|
||||
/* 01D18 809D52C8 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01D1C 809D52CC 26040040 */ addiu $a0, $s0, 0x0040 ## $a0 = 00010040
|
||||
/* 01D20 809D52D0 3C063D4C */ lui $a2, 0x3D4C ## $a2 = 3D4C0000
|
||||
/* 01D24 809D52D4 3C073DCC */ lui $a3, 0x3DCC ## $a3 = 3DCC0000
|
||||
/* 01D28 809D52D8 34E7CCCD */ ori $a3, $a3, 0xCCCD ## $a3 = 3DCCCCCD
|
||||
/* 01D2C 809D52DC 34C6CCCD */ ori $a2, $a2, 0xCCCD ## $a2 = 3D4CCCCD
|
||||
/* 01D30 809D52E0 2604004C */ addiu $a0, $s0, 0x004C ## $a0 = 0001004C
|
||||
/* 01D34 809D52E4 0C01E107 */ jal Math_ApproachF
|
||||
|
||||
/* 01D38 809D52E8 8E050050 */ lw $a1, 0x0050($s0) ## 00010050
|
||||
/* 01D3C 809D52EC C6120028 */ lwc1 $f18, 0x0028($s0) ## 00010028
|
||||
/* 01D40 809D52F0 4612A032 */ c.eq.s $f20, $f18
|
||||
/* 01D44 809D52F4 00000000 */ nop
|
||||
/* 01D48 809D52F8 4502001E */ bc1fl .L809D5374
|
||||
/* 01D4C 809D52FC 8602004A */ lh $v0, 0x004A($s0) ## 0001004A
|
||||
/* 01D50 809D5300 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01D54 809D5304 4406E000 */ mfc1 $a2, $f28
|
||||
/* 01D58 809D5308 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01D5C 809D530C 26040034 */ addiu $a0, $s0, 0x0034 ## $a0 = 00010034
|
||||
/* 01D60 809D5310 C6040034 */ lwc1 $f4, 0x0034($s0) ## 00010034
|
||||
/* 01D64 809D5314 4614203E */ c.le.s $f4, $f20
|
||||
/* 01D68 809D5318 00000000 */ nop
|
||||
/* 01D6C 809D531C 45020015 */ bc1fl .L809D5374
|
||||
/* 01D70 809D5320 8602004A */ lh $v0, 0x004A($s0) ## 0001004A
|
||||
/* 01D74 809D5324 10000012 */ beq $zero, $zero, .L809D5370
|
||||
/* 01D78 809D5328 A2000000 */ sb $zero, 0x0000($s0) ## 00010000
|
||||
.L809D532C:
|
||||
/* 01D7C 809D532C 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 01D80 809D5330 1441000F */ bne $v0, $at, .L809D5370
|
||||
/* 01D84 809D5334 2604004C */ addiu $a0, $s0, 0x004C ## $a0 = 0001004C
|
||||
/* 01D88 809D5338 4406B000 */ mfc1 $a2, $f22
|
||||
/* 01D8C 809D533C 4407E000 */ mfc1 $a3, $f28
|
||||
/* 01D90 809D5340 0C01E107 */ jal Math_ApproachF
|
||||
|
||||
/* 01D94 809D5344 8E050050 */ lw $a1, 0x0050($s0) ## 00010050
|
||||
/* 01D98 809D5348 4405B000 */ mfc1 $a1, $f22
|
||||
/* 01D9C 809D534C 26040034 */ addiu $a0, $s0, 0x0034 ## $a0 = 00010034
|
||||
/* 01DA0 809D5350 0C01E123 */ jal Math_ApproachZeroF
|
||||
|
||||
/* 01DA4 809D5354 3C064120 */ lui $a2, 0x4120 ## $a2 = 41200000
|
||||
/* 01DA8 809D5358 C6060034 */ lwc1 $f6, 0x0034($s0) ## 00010034
|
||||
/* 01DAC 809D535C 4614303E */ c.le.s $f6, $f20
|
||||
/* 01DB0 809D5360 00000000 */ nop
|
||||
/* 01DB4 809D5364 45020003 */ bc1fl .L809D5374
|
||||
/* 01DB8 809D5368 8602004A */ lh $v0, 0x004A($s0) ## 0001004A
|
||||
/* 01DBC 809D536C A2000000 */ sb $zero, 0x0000($s0) ## 00010000
|
||||
.L809D5370:
|
||||
/* 01DC0 809D5370 8602004A */ lh $v0, 0x004A($s0) ## 0001004A
|
||||
.L809D5374:
|
||||
/* 01DC4 809D5374 10400002 */ beq $v0, $zero, .L809D5380
|
||||
/* 01DC8 809D5378 2459FFFF */ addiu $t9, $v0, 0xFFFF ## $t9 = FFFFFFFF
|
||||
/* 01DCC 809D537C A619004A */ sh $t9, 0x004A($s0) ## 0001004A
|
||||
.L809D5380:
|
||||
/* 01DD0 809D5380 26310001 */ addiu $s1, $s1, 0x0001 ## $s1 = 00000002
|
||||
.L809D5384:
|
||||
/* 01DD4 809D5384 00118C00 */ sll $s1, $s1, 16
|
||||
/* 01DD8 809D5388 00118C03 */ sra $s1, $s1, 16
|
||||
/* 01DDC 809D538C 2A210064 */ slti $at, $s1, 0x0064
|
||||
/* 01DE0 809D5390 1420FF38 */ bne $at, $zero, .L809D5074
|
||||
/* 01DE4 809D5394 2610006C */ addiu $s0, $s0, 0x006C ## $s0 = 0001006C
|
||||
/* 01DE8 809D5398 8FBF0054 */ lw $ra, 0x0054($sp)
|
||||
/* 01DEC 809D539C D7B40018 */ ldc1 $f20, 0x0018($sp)
|
||||
/* 01DF0 809D53A0 D7B60020 */ ldc1 $f22, 0x0020($sp)
|
||||
/* 01DF4 809D53A4 D7B80028 */ ldc1 $f24, 0x0028($sp)
|
||||
/* 01DF8 809D53A8 D7BA0030 */ ldc1 $f26, 0x0030($sp)
|
||||
/* 01DFC 809D53AC D7BC0038 */ ldc1 $f28, 0x0038($sp)
|
||||
/* 01E00 809D53B0 8FB00040 */ lw $s0, 0x0040($sp)
|
||||
/* 01E04 809D53B4 8FB10044 */ lw $s1, 0x0044($sp)
|
||||
/* 01E08 809D53B8 8FB20048 */ lw $s2, 0x0048($sp)
|
||||
/* 01E0C 809D53BC 8FB3004C */ lw $s3, 0x004C($sp)
|
||||
/* 01E10 809D53C0 8FB40050 */ lw $s4, 0x0050($sp)
|
||||
/* 01E14 809D53C4 03E00008 */ jr $ra
|
||||
/* 01E18 809D53C8 27BD0080 */ addiu $sp, $sp, 0x0080 ## $sp = 00000000
|
|
@ -1,575 +0,0 @@
|
|||
.rdata
|
||||
glabel D_809DC04C
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC060
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC074
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC088
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC09C
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC0B0
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
glabel D_809DC0C4
|
||||
.asciz "../z_en_clear_tag.c"
|
||||
.balign 4
|
||||
|
||||
.text
|
||||
glabel func_809D53CC
|
||||
/* 01E1C 809D53CC 27BDFEF0 */ addiu $sp, $sp, 0xFEF0 ## $sp = FFFFFEF0
|
||||
/* 01E20 809D53D0 AFB1004C */ sw $s1, 0x004C($sp)
|
||||
/* 01E24 809D53D4 AFBF006C */ sw $ra, 0x006C($sp)
|
||||
/* 01E28 809D53D8 AFBE0068 */ sw $s8, 0x0068($sp)
|
||||
/* 01E2C 809D53DC AFB70064 */ sw $s7, 0x0064($sp)
|
||||
/* 01E30 809D53E0 AFB60060 */ sw $s6, 0x0060($sp)
|
||||
/* 01E34 809D53E4 AFB5005C */ sw $s5, 0x005C($sp)
|
||||
/* 01E38 809D53E8 AFB40058 */ sw $s4, 0x0058($sp)
|
||||
/* 01E3C 809D53EC AFB30054 */ sw $s3, 0x0054($sp)
|
||||
/* 01E40 809D53F0 AFB20050 */ sw $s2, 0x0050($sp)
|
||||
/* 01E44 809D53F4 AFB00048 */ sw $s0, 0x0048($sp)
|
||||
/* 01E48 809D53F8 F7B60040 */ sdc1 $f22, 0x0040($sp)
|
||||
/* 01E4C 809D53FC F7B40038 */ sdc1 $f20, 0x0038($sp)
|
||||
/* 01E50 809D5400 3C110001 */ lui $s1, 0x0001 ## $s1 = 00010000
|
||||
/* 01E54 809D5404 02248821 */ addu $s1, $s1, $a0
|
||||
/* 01E58 809D5408 8C900000 */ lw $s0, 0x0000($a0) ## 00000000
|
||||
/* 01E5C 809D540C 8E311E10 */ lw $s1, 0x1E10($s1) ## 00011E10
|
||||
/* 01E60 809D5410 0080B825 */ or $s7, $a0, $zero ## $s7 = 00000000
|
||||
/* 01E64 809D5414 3C06809E */ lui $a2, %hi(D_809DC04C) ## $a2 = 809E0000
|
||||
/* 01E68 809D5418 00009825 */ or $s3, $zero, $zero ## $s3 = 00000000
|
||||
/* 01E6C 809D541C 24C6C04C */ addiu $a2, $a2, %lo(D_809DC04C) ## $a2 = 809DC04C
|
||||
/* 01E70 809D5420 27A400E8 */ addiu $a0, $sp, 0x00E8 ## $a0 = FFFFFFD8
|
||||
/* 01E74 809D5424 24070508 */ addiu $a3, $zero, 0x0508 ## $a3 = 00000508
|
||||
/* 01E78 809D5428 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 01E7C 809D542C 0C031AB1 */ jal Graph_OpenDisps
|
||||
/* 01E80 809D5430 AFB100FC */ sw $s1, 0x00FC($sp)
|
||||
/* 01E84 809D5434 0C024F46 */ jal func_80093D18
|
||||
/* 01E88 809D5438 8EE40000 */ lw $a0, 0x0000($s7) ## 00000000
|
||||
/* 01E8C 809D543C 0C024F61 */ jal func_80093D84
|
||||
/* 01E90 809D5440 8EE40000 */ lw $a0, 0x0000($s7) ## 00000000
|
||||
/* 01E94 809D5444 3C1EDA38 */ lui $s8, 0xDA38 ## $s8 = DA380000
|
||||
/* 01E98 809D5448 37DE0003 */ ori $s8, $s8, 0x0003 ## $s8 = DA380003
|
||||
/* 01E9C 809D544C 00009025 */ or $s2, $zero, $zero ## $s2 = 00000000
|
||||
/* 01EA0 809D5450 3C16DE00 */ lui $s6, 0xDE00 ## $s6 = DE000000
|
||||
/* 01EA4 809D5454 24150001 */ addiu $s5, $zero, 0x0001 ## $s5 = 00000001
|
||||
.L809D5458:
|
||||
/* 01EA8 809D5458 922E0000 */ lbu $t6, 0x0000($s1) ## 00010000
|
||||
/* 01EAC 809D545C 3C14809E */ lui $s4, %hi(D_809DA068) ## $s4 = 809E0000
|
||||
/* 01EB0 809D5460 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 01EB4 809D5464 56AE002E */ bnel $s5, $t6, .L809D5520
|
||||
/* 01EB8 809D5468 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000001
|
||||
/* 01EBC 809D546C 1660000A */ bne $s3, $zero, .L809D5498
|
||||
/* 01EC0 809D5470 2694A068 */ addiu $s4, $s4, %lo(D_809DA068) ## $s4 = 809DA068
|
||||
/* 01EC4 809D5474 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01EC8 809D5478 3C04809E */ lui $a0, %hi(D_809D9FE8) ## $a0 = 809E0000
|
||||
/* 01ECC 809D547C 26730001 */ addiu $s3, $s3, 0x0001 ## $s3 = 00000001
|
||||
/* 01ED0 809D5480 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 01ED4 809D5484 AE0F02C0 */ sw $t7, 0x02C0($s0) ## 000002C0
|
||||
/* 01ED8 809D5488 24849FE8 */ addiu $a0, $a0, %lo(D_809D9FE8) ## $a0 = 809D9FE8
|
||||
/* 01EDC 809D548C 327300FF */ andi $s3, $s3, 0x00FF ## $s3 = 00000001
|
||||
/* 01EE0 809D5490 AC440004 */ sw $a0, 0x0004($v0) ## 00000004
|
||||
/* 01EE4 809D5494 AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
.L809D5498:
|
||||
/* 01EE8 809D5498 C62C0004 */ lwc1 $f12, 0x0004($s1) ## 00010004
|
||||
/* 01EEC 809D549C C62E0008 */ lwc1 $f14, 0x0008($s1) ## 00010008
|
||||
/* 01EF0 809D54A0 0C034261 */ jal Matrix_Translate
|
||||
/* 01EF4 809D54A4 8E26000C */ lw $a2, 0x000C($s1) ## 0001000C
|
||||
/* 01EF8 809D54A8 C634004C */ lwc1 $f20, 0x004C($s1) ## 0001004C
|
||||
/* 01EFC 809D54AC 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 01F00 809D54B0 4406A000 */ mfc1 $a2, $f20
|
||||
/* 01F04 809D54B4 4600A306 */ mov.s $f12, $f20
|
||||
/* 01F08 809D54B8 0C0342A3 */ jal Matrix_Scale
|
||||
/* 01F0C 809D54BC 4600A386 */ mov.s $f14, $f20
|
||||
/* 01F10 809D54C0 C62C0054 */ lwc1 $f12, 0x0054($s1) ## 00010054
|
||||
/* 01F14 809D54C4 0C034348 */ jal Matrix_RotateY
|
||||
/* 01F18 809D54C8 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01F1C 809D54CC C62C0058 */ lwc1 $f12, 0x0058($s1) ## 00010058
|
||||
/* 01F20 809D54D0 0C0342DC */ jal Matrix_RotateX
|
||||
/* 01F24 809D54D4 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 01F28 809D54D8 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01F2C 809D54DC 3C05809E */ lui $a1, %hi(D_809DC060) ## $a1 = 809E0000
|
||||
/* 01F30 809D54E0 24A5C060 */ addiu $a1, $a1, %lo(D_809DC060) ## $a1 = 809DC060
|
||||
/* 01F34 809D54E4 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 01F38 809D54E8 AE1802C0 */ sw $t8, 0x02C0($s0) ## 000002C0
|
||||
/* 01F3C 809D54EC AC5E0000 */ sw $s8, 0x0000($v0) ## 00000000
|
||||
/* 01F40 809D54F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 01F44 809D54F4 2406051B */ addiu $a2, $zero, 0x051B ## $a2 = 0000051B
|
||||
/* 01F48 809D54F8 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 01F4C 809D54FC AFA200E0 */ sw $v0, 0x00E0($sp)
|
||||
/* 01F50 809D5500 8FA300E0 */ lw $v1, 0x00E0($sp)
|
||||
/* 01F54 809D5504 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 01F58 809D5508 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
|
||||
/* 01F5C 809D550C 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 01F60 809D5510 AE1902C0 */ sw $t9, 0x02C0($s0) ## 000002C0
|
||||
/* 01F64 809D5514 AC540004 */ sw $s4, 0x0004($v0) ## 00000004
|
||||
/* 01F68 809D5518 AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
/* 01F6C 809D551C 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000002
|
||||
.L809D5520:
|
||||
/* 01F70 809D5520 00129400 */ sll $s2, $s2, 16
|
||||
/* 01F74 809D5524 00129403 */ sra $s2, $s2, 16
|
||||
/* 01F78 809D5528 2A410064 */ slti $at, $s2, 0x0064
|
||||
/* 01F7C 809D552C 1420FFCA */ bne $at, $zero, .L809D5458
|
||||
/* 01F80 809D5530 2631006C */ addiu $s1, $s1, 0x006C ## $s1 = 0001006C
|
||||
/* 01F84 809D5534 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
|
||||
/* 01F88 809D5538 3C15809E */ lui $s5, %hi(D_809DC074) ## $s5 = 809E0000
|
||||
/* 01F8C 809D553C 4481B000 */ mtc1 $at, $f22 ## $f22 = 1.00
|
||||
/* 01F90 809D5540 00009825 */ or $s3, $zero, $zero ## $s3 = 00000000
|
||||
/* 01F94 809D5544 8FB100FC */ lw $s1, 0x00FC($sp)
|
||||
/* 01F98 809D5548 26B5C074 */ addiu $s5, $s5, %lo(D_809DC074) ## $s5 = 809DC074
|
||||
/* 01F9C 809D554C 00009025 */ or $s2, $zero, $zero ## $s2 = 00000000
|
||||
.L809D5550:
|
||||
/* 01FA0 809D5550 92280000 */ lbu $t0, 0x0000($s1) ## 0001006C
|
||||
/* 01FA4 809D5554 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 01FA8 809D5558 3C14809E */ lui $s4, %hi(D_809DBA68) ## $s4 = 809E0000
|
||||
/* 01FAC 809D555C 55010042 */ bnel $t0, $at, .L809D5668
|
||||
/* 01FB0 809D5560 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000001
|
||||
/* 01FB4 809D5564 16600010 */ bne $s3, $zero, .L809D55A8
|
||||
/* 01FB8 809D5568 2694BA68 */ addiu $s4, $s4, %lo(D_809DBA68) ## $s4 = 809DBA68
|
||||
/* 01FBC 809D556C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01FC0 809D5570 3C0AE700 */ lui $t2, 0xE700 ## $t2 = E7000000
|
||||
/* 01FC4 809D5574 3C0CFB00 */ lui $t4, 0xFB00 ## $t4 = FB000000
|
||||
/* 01FC8 809D5578 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 01FCC 809D557C AE0902D0 */ sw $t1, 0x02D0($s0) ## 000002D0
|
||||
/* 01FD0 809D5580 AC400004 */ sw $zero, 0x0004($v0) ## 00000004
|
||||
/* 01FD4 809D5584 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
|
||||
/* 01FD8 809D5588 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01FDC 809D558C 240DC800 */ addiu $t5, $zero, 0xC800 ## $t5 = FFFFC800
|
||||
/* 01FE0 809D5590 26730001 */ addiu $s3, $s3, 0x0001 ## $s3 = 00000001
|
||||
/* 01FE4 809D5594 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 01FE8 809D5598 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 01FEC 809D559C 327300FF */ andi $s3, $s3, 0x00FF ## $s3 = 00000001
|
||||
/* 01FF0 809D55A0 AC4D0004 */ sw $t5, 0x0004($v0) ## 00000004
|
||||
/* 01FF4 809D55A4 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
.L809D55A8:
|
||||
/* 01FF8 809D55A8 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 01FFC 809D55AC 3C0FFA00 */ lui $t7, 0xFA00 ## $t7 = FA000000
|
||||
/* 02000 809D55B0 2401C800 */ addiu $at, $zero, 0xC800 ## $at = FFFFC800
|
||||
/* 02004 809D55B4 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 02008 809D55B8 AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
|
||||
/* 0200C 809D55BC AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 02010 809D55C0 C6240034 */ lwc1 $f4, 0x0034($s1) ## 000100A0
|
||||
/* 02014 809D55C4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02018 809D55C8 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 0201C 809D55CC 44093000 */ mfc1 $t1, $f6
|
||||
/* 02020 809D55D0 00000000 */ nop
|
||||
/* 02024 809D55D4 312A00FF */ andi $t2, $t1, 0x00FF ## $t2 = 00000008
|
||||
/* 02028 809D55D8 01415825 */ or $t3, $t2, $at ## $t3 = FFFFC808
|
||||
/* 0202C 809D55DC AC4B0004 */ sw $t3, 0x0004($v0) ## 00000004
|
||||
/* 02030 809D55E0 8E26000C */ lw $a2, 0x000C($s1) ## 00010078
|
||||
/* 02034 809D55E4 C62E005C */ lwc1 $f14, 0x005C($s1) ## 000100C8
|
||||
/* 02038 809D55E8 0C034261 */ jal Matrix_Translate
|
||||
/* 0203C 809D55EC C62C0004 */ lwc1 $f12, 0x0004($s1) ## 00010070
|
||||
/* 02040 809D55F0 C62C0060 */ lwc1 $f12, 0x0060($s1) ## 000100CC
|
||||
/* 02044 809D55F4 0C0342DC */ jal Matrix_RotateX
|
||||
/* 02048 809D55F8 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 0204C 809D55FC C62C0068 */ lwc1 $f12, 0x0068($s1) ## 000100D4
|
||||
/* 02050 809D5600 0C0343B5 */ jal Matrix_RotateZ
|
||||
/* 02054 809D5604 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
|
||||
/* 02058 809D5608 C634004C */ lwc1 $f20, 0x004C($s1) ## 000100B8
|
||||
/* 0205C 809D560C 4600B386 */ mov.s $f14, $f22
|
||||
/* 02060 809D5610 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 02064 809D5614 4614A300 */ add.s $f12, $f20, $f20
|
||||
/* 02068 809D5618 44066000 */ mfc1 $a2, $f12
|
||||
/* 0206C 809D561C 0C0342A3 */ jal Matrix_Scale
|
||||
/* 02070 809D5620 00000000 */ nop
|
||||
/* 02074 809D5624 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02078 809D5628 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 0207C 809D562C 02A02825 */ or $a1, $s5, $zero ## $a1 = 809DC074
|
||||
/* 02080 809D5630 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
|
||||
/* 02084 809D5634 AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0
|
||||
/* 02088 809D5638 AC5E0000 */ sw $s8, 0x0000($v0) ## 00000000
|
||||
/* 0208C 809D563C 2406053E */ addiu $a2, $zero, 0x053E ## $a2 = 0000053E
|
||||
/* 02090 809D5640 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 02094 809D5644 AFA200CC */ sw $v0, 0x00CC($sp)
|
||||
/* 02098 809D5648 8FA300CC */ lw $v1, 0x00CC($sp)
|
||||
/* 0209C 809D564C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 020A0 809D5650 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 020A4 809D5654 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 020A8 809D5658 AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0
|
||||
/* 020AC 809D565C AC540004 */ sw $s4, 0x0004($v0) ## 00000004
|
||||
/* 020B0 809D5660 AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
/* 020B4 809D5664 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000002
|
||||
.L809D5668:
|
||||
/* 020B8 809D5668 00129400 */ sll $s2, $s2, 16
|
||||
/* 020BC 809D566C 00129403 */ sra $s2, $s2, 16
|
||||
/* 020C0 809D5670 2A410064 */ slti $at, $s2, 0x0064
|
||||
/* 020C4 809D5674 1420FFB6 */ bne $at, $zero, .L809D5550
|
||||
/* 020C8 809D5678 2631006C */ addiu $s1, $s1, 0x006C ## $s1 = 000100D8
|
||||
/* 020CC 809D567C 00009825 */ or $s3, $zero, $zero ## $s3 = 00000000
|
||||
/* 020D0 809D5680 8FB100FC */ lw $s1, 0x00FC($sp)
|
||||
/* 020D4 809D5684 00009025 */ or $s2, $zero, $zero ## $s2 = 00000000
|
||||
.L809D5688:
|
||||
/* 020D8 809D5688 922E0000 */ lbu $t6, 0x0000($s1) ## 000100D8
|
||||
/* 020DC 809D568C 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
|
||||
/* 020E0 809D5690 3C15809E */ lui $s5, %hi(D_809DA758) ## $s5 = 809E0000
|
||||
/* 020E4 809D5694 15C10087 */ bne $t6, $at, .L809D58B4
|
||||
/* 020E8 809D5698 26B5A758 */ addiu $s5, $s5, %lo(D_809DA758) ## $s5 = 809DA758
|
||||
/* 020EC 809D569C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 020F0 809D56A0 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 020F4 809D56A4 1660000A */ bne $s3, $zero, .L809D56D0
|
||||
/* 020F8 809D56A8 02E1A021 */ addu $s4, $s7, $at
|
||||
/* 020FC 809D56AC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02100 809D56B0 3C04809E */ lui $a0, %hi(D_809DA6B0) ## $a0 = 809E0000
|
||||
/* 02104 809D56B4 2484A6B0 */ addiu $a0, $a0, %lo(D_809DA6B0) ## $a0 = 809DA6B0
|
||||
/* 02108 809D56B8 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 0210C 809D56BC AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0
|
||||
/* 02110 809D56C0 26730001 */ addiu $s3, $s3, 0x0001 ## $s3 = 00000001
|
||||
/* 02114 809D56C4 327300FF */ andi $s3, $s3, 0x00FF ## $s3 = 00000001
|
||||
/* 02118 809D56C8 AC440004 */ sw $a0, 0x0004($v0) ## 00000004
|
||||
/* 0211C 809D56CC AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
.L809D56D0:
|
||||
/* 02120 809D56D0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02124 809D56D4 3C19E700 */ lui $t9, 0xE700 ## $t9 = E7000000
|
||||
/* 02128 809D56D8 3C09FB00 */ lui $t1, 0xFB00 ## $t1 = FB000000
|
||||
/* 0212C 809D56DC 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 02130 809D56E0 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
|
||||
/* 02134 809D56E4 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 02138 809D56E8 AC400004 */ sw $zero, 0x0004($v0) ## 00000004
|
||||
/* 0213C 809D56EC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02140 809D56F0 3C0DFA00 */ lui $t5, 0xFA00 ## $t5 = FA000000
|
||||
/* 02144 809D56F4 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 02148 809D56F8 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
|
||||
/* 0214C 809D56FC AE0802D0 */ sw $t0, 0x02D0($s0) ## 000002D0
|
||||
/* 02150 809D5700 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
|
||||
/* 02154 809D5704 C630003C */ lwc1 $f16, 0x003C($s1) ## 00010114
|
||||
/* 02158 809D5708 C6240040 */ lwc1 $f4, 0x0040($s1) ## 00010118
|
||||
/* 0215C 809D570C C6280038 */ lwc1 $f8, 0x0038($s1) ## 00010110
|
||||
/* 02160 809D5710 4600848D */ trunc.w.s $f18, $f16
|
||||
/* 02164 809D5714 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 02168 809D5718 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 0216C 809D571C 44099000 */ mfc1 $t1, $f18
|
||||
/* 02170 809D5720 4600428D */ trunc.w.s $f10, $f8
|
||||
/* 02174 809D5724 44193000 */ mfc1 $t9, $f6
|
||||
/* 02178 809D5728 312A00FF */ andi $t2, $t1, 0x00FF ## $t2 = 00000000
|
||||
/* 0217C 809D572C 000A5C00 */ sll $t3, $t2, 16
|
||||
/* 02180 809D5730 440E5000 */ mfc1 $t6, $f10
|
||||
/* 02184 809D5734 332800FF */ andi $t0, $t9, 0x00FF ## $t0 = 00000000
|
||||
/* 02188 809D5738 00084A00 */ sll $t1, $t0, 8
|
||||
/* 0218C 809D573C 000E7E00 */ sll $t7, $t6, 24
|
||||
/* 02190 809D5740 01EB6025 */ or $t4, $t7, $t3 ## $t4 = 00000008
|
||||
/* 02194 809D5744 01895025 */ or $t2, $t4, $t1 ## $t2 = FB000008
|
||||
/* 02198 809D5748 354F0080 */ ori $t7, $t2, 0x0080 ## $t7 = FB000088
|
||||
/* 0219C 809D574C AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
|
||||
/* 021A0 809D5750 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 021A4 809D5754 24080020 */ addiu $t0, $zero, 0x0020 ## $t0 = 00000020
|
||||
/* 021A8 809D5758 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 021AC 809D575C AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 021B0 809D5760 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
|
||||
/* 021B4 809D5764 C6280028 */ lwc1 $f8, 0x0028($s1) ## 00010100
|
||||
/* 021B8 809D5768 C630002C */ lwc1 $f16, 0x002C($s1) ## 00010104
|
||||
/* 021BC 809D576C C6240030 */ lwc1 $f4, 0x0030($s1) ## 00010108
|
||||
/* 021C0 809D5770 4600428D */ trunc.w.s $f10, $f8
|
||||
/* 021C4 809D5774 C6280034 */ lwc1 $f8, 0x0034($s1) ## 0001010C
|
||||
/* 021C8 809D5778 4600848D */ trunc.w.s $f18, $f16
|
||||
/* 021CC 809D577C 440C5000 */ mfc1 $t4, $f10
|
||||
/* 021D0 809D5780 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 021D4 809D5784 440D9000 */ mfc1 $t5, $f18
|
||||
/* 021D8 809D5788 000C4E00 */ sll $t1, $t4, 24
|
||||
/* 021DC 809D578C 4600428D */ trunc.w.s $f10, $f8
|
||||
/* 021E0 809D5790 440F3000 */ mfc1 $t7, $f6
|
||||
/* 021E4 809D5794 31AE00FF */ andi $t6, $t5, 0x00FF ## $t6 = 00000000
|
||||
/* 021E8 809D5798 000EC400 */ sll $t8, $t6, 16
|
||||
/* 021EC 809D579C 440C5000 */ mfc1 $t4, $f10
|
||||
/* 021F0 809D57A0 31EB00FF */ andi $t3, $t7, 0x00FF ## $t3 = 00000088
|
||||
/* 021F4 809D57A4 000B6A00 */ sll $t5, $t3, 8
|
||||
/* 021F8 809D57A8 0138C825 */ or $t9, $t1, $t8 ## $t9 = FB000008
|
||||
/* 021FC 809D57AC 032D7025 */ or $t6, $t9, $t5 ## $t6 = FB000008
|
||||
/* 02200 809D57B0 318A00FF */ andi $t2, $t4, 0x00FF ## $t2 = 00000008
|
||||
/* 02204 809D57B4 01CA7825 */ or $t7, $t6, $t2 ## $t7 = FB000008
|
||||
/* 02208 809D57B8 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
|
||||
/* 0220C 809D57BC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02210 809D57C0 3C19DB06 */ lui $t9, 0xDB06 ## $t9 = DB060000
|
||||
/* 02214 809D57C4 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
|
||||
/* 02218 809D57C8 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 0221C 809D57CC AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 02220 809D57D0 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
|
||||
/* 02224 809D57D4 92270001 */ lbu $a3, 0x0001($s1) ## 000100D9
|
||||
/* 02228 809D57D8 8EE40000 */ lw $a0, 0x0000($s7) ## 00000000
|
||||
/* 0222C 809D57DC 240C0020 */ addiu $t4, $zero, 0x0020 ## $t4 = 00000020
|
||||
/* 02230 809D57E0 00070823 */ subu $at, $zero, $a3
|
||||
/* 02234 809D57E4 00013880 */ sll $a3, $at, 2
|
||||
/* 02238 809D57E8 240D0020 */ addiu $t5, $zero, 0x0020 ## $t5 = 00000020
|
||||
/* 0223C 809D57EC 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
|
||||
/* 02240 809D57F0 24090040 */ addiu $t1, $zero, 0x0040 ## $t1 = 00000040
|
||||
/* 02244 809D57F4 AFA90014 */ sw $t1, 0x0014($sp)
|
||||
/* 02248 809D57F8 AFB80018 */ sw $t8, 0x0018($sp)
|
||||
/* 0224C 809D57FC AFAD0010 */ sw $t5, 0x0010($sp)
|
||||
/* 02250 809D5800 00E13821 */ addu $a3, $a3, $at
|
||||
/* 02254 809D5804 AFAC0028 */ sw $t4, 0x0028($sp)
|
||||
/* 02258 809D5808 AFA80024 */ sw $t0, 0x0024($sp)
|
||||
/* 0225C 809D580C AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 02260 809D5810 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 02264 809D5814 0C0253D0 */ jal Gfx_TwoTexScroll
|
||||
/* 02268 809D5818 AFA200B4 */ sw $v0, 0x00B4($sp)
|
||||
/* 0226C 809D581C 8FA300B4 */ lw $v1, 0x00B4($sp)
|
||||
/* 02270 809D5820 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02274 809D5824 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 02278 809D5828 8E26000C */ lw $a2, 0x000C($s1) ## 000100E4
|
||||
/* 0227C 809D582C C62E0008 */ lwc1 $f14, 0x0008($s1) ## 000100E0
|
||||
/* 02280 809D5830 0C034261 */ jal Matrix_Translate
|
||||
/* 02284 809D5834 C62C0004 */ lwc1 $f12, 0x0004($s1) ## 000100DC
|
||||
/* 02288 809D5838 0C0347F5 */ jal func_800D1FD4
|
||||
/* 0228C 809D583C 02802025 */ or $a0, $s4, $zero ## $a0 = 809DBA68
|
||||
/* 02290 809D5840 C634004C */ lwc1 $f20, 0x004C($s1) ## 00010124
|
||||
/* 02294 809D5844 4406B000 */ mfc1 $a2, $f22
|
||||
/* 02298 809D5848 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0229C 809D584C 4600A306 */ mov.s $f12, $f20
|
||||
/* 022A0 809D5850 0C0342A3 */ jal Matrix_Scale
|
||||
/* 022A4 809D5854 4600A386 */ mov.s $f14, $f20
|
||||
/* 022A8 809D5858 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
|
||||
/* 022AC 809D585C 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
|
||||
/* 022B0 809D5860 44817000 */ mtc1 $at, $f14 ## $f14 = 20.00
|
||||
/* 022B4 809D5864 44066000 */ mfc1 $a2, $f12
|
||||
/* 022B8 809D5868 0C034261 */ jal Matrix_Translate
|
||||
/* 022BC 809D586C 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 022C0 809D5870 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 022C4 809D5874 3C05809E */ lui $a1, %hi(D_809DC088) ## $a1 = 809E0000
|
||||
/* 022C8 809D5878 24A5C088 */ addiu $a1, $a1, %lo(D_809DC088) ## $a1 = 809DC088
|
||||
/* 022CC 809D587C 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 022D0 809D5880 AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
|
||||
/* 022D4 809D5884 AC5E0000 */ sw $s8, 0x0000($v0) ## 00000000
|
||||
/* 022D8 809D5888 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 022DC 809D588C 24060570 */ addiu $a2, $zero, 0x0570 ## $a2 = 00000570
|
||||
/* 022E0 809D5890 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 022E4 809D5894 AFA200B0 */ sw $v0, 0x00B0($sp)
|
||||
/* 022E8 809D5898 8FA300B0 */ lw $v1, 0x00B0($sp)
|
||||
/* 022EC 809D589C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 022F0 809D58A0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 022F4 809D58A4 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
|
||||
/* 022F8 809D58A8 AE0A02D0 */ sw $t2, 0x02D0($s0) ## 000002D0
|
||||
/* 022FC 809D58AC AC550004 */ sw $s5, 0x0004($v0) ## 00000004
|
||||
/* 02300 809D58B0 AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
.L809D58B4:
|
||||
/* 02304 809D58B4 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000001
|
||||
/* 02308 809D58B8 00129400 */ sll $s2, $s2, 16
|
||||
/* 0230C 809D58BC 00129403 */ sra $s2, $s2, 16
|
||||
/* 02310 809D58C0 2A410064 */ slti $at, $s2, 0x0064
|
||||
/* 02314 809D58C4 1420FF70 */ bne $at, $zero, .L809D5688
|
||||
/* 02318 809D58C8 2631006C */ addiu $s1, $s1, 0x006C ## $s1 = 00010144
|
||||
/* 0231C 809D58CC 00009825 */ or $s3, $zero, $zero ## $s3 = 00000000
|
||||
/* 02320 809D58D0 8FB100FC */ lw $s1, 0x00FC($sp)
|
||||
/* 02324 809D58D4 00009025 */ or $s2, $zero, $zero ## $s2 = 00000000
|
||||
.L809D58D8:
|
||||
/* 02328 809D58D8 922F0000 */ lbu $t7, 0x0000($s1) ## 00010144
|
||||
/* 0232C 809D58DC 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
|
||||
/* 02330 809D58E0 3C15809E */ lui $s5, %hi(D_809DA758) ## $s5 = 809E0000
|
||||
/* 02334 809D58E4 15E1005E */ bne $t7, $at, .L809D5A60
|
||||
/* 02338 809D58E8 26B5A758 */ addiu $s5, $s5, %lo(D_809DA758) ## $s5 = 809DA758
|
||||
/* 0233C 809D58EC 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 02340 809D58F0 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 02344 809D58F4 16600012 */ bne $s3, $zero, .L809D5940
|
||||
/* 02348 809D58F8 02E1A021 */ addu $s4, $s7, $at
|
||||
/* 0234C 809D58FC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02350 809D5900 3C04809E */ lui $a0, %hi(D_809DA6B0) ## $a0 = 809E0000
|
||||
/* 02354 809D5904 2484A6B0 */ addiu $a0, $a0, %lo(D_809DA6B0) ## $a0 = 809DA6B0
|
||||
/* 02358 809D5908 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 0235C 809D590C AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 02360 809D5910 AC440004 */ sw $a0, 0x0004($v0) ## 00000004
|
||||
/* 02364 809D5914 AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
/* 02368 809D5918 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 0236C 809D591C 3C09FFD7 */ lui $t1, 0xFFD7 ## $t1 = FFD70000
|
||||
/* 02370 809D5920 3529FF80 */ ori $t1, $t1, 0xFF80 ## $t1 = FFD7FF80
|
||||
/* 02374 809D5924 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
|
||||
/* 02378 809D5928 AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
|
||||
/* 0237C 809D592C 3C0DFB00 */ lui $t5, 0xFB00 ## $t5 = FB000000
|
||||
/* 02380 809D5930 26730001 */ addiu $s3, $s3, 0x0001 ## $s3 = 00000001
|
||||
/* 02384 809D5934 327300FF */ andi $s3, $s3, 0x00FF ## $s3 = 00000001
|
||||
/* 02388 809D5938 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
|
||||
/* 0238C 809D593C AC490004 */ sw $t1, 0x0004($v0) ## 00000004
|
||||
.L809D5940:
|
||||
/* 02390 809D5940 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02394 809D5944 3C08FA00 */ lui $t0, 0xFA00 ## $t0 = FA000000
|
||||
/* 02398 809D5948 3C01C814 */ lui $at, 0xC814 ## $at = C8140000
|
||||
/* 0239C 809D594C 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
|
||||
/* 023A0 809D5950 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
|
||||
/* 023A4 809D5954 AC480000 */ sw $t0, 0x0000($v0) ## 00000000
|
||||
/* 023A8 809D5958 C6300034 */ lwc1 $f16, 0x0034($s1) ## 00010178
|
||||
/* 023AC 809D595C 3C09DB06 */ lui $t1, 0xDB06 ## $t1 = DB060000
|
||||
/* 023B0 809D5960 35290020 */ ori $t1, $t1, 0x0020 ## $t1 = DB060020
|
||||
/* 023B4 809D5964 4600848D */ trunc.w.s $f18, $f16
|
||||
/* 023B8 809D5968 24080040 */ addiu $t0, $zero, 0x0040 ## $t0 = 00000040
|
||||
/* 023BC 809D596C 24180020 */ addiu $t8, $zero, 0x0020 ## $t8 = 00000020
|
||||
/* 023C0 809D5970 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
|
||||
/* 023C4 809D5974 440F9000 */ mfc1 $t7, $f18
|
||||
/* 023C8 809D5978 240E0020 */ addiu $t6, $zero, 0x0020 ## $t6 = 00000020
|
||||
/* 023CC 809D597C 240A0020 */ addiu $t2, $zero, 0x0020 ## $t2 = 00000020
|
||||
/* 023D0 809D5980 31EB00FF */ andi $t3, $t7, 0x00FF ## $t3 = 00000000
|
||||
/* 023D4 809D5984 0161C825 */ or $t9, $t3, $at ## $t9 = C8140000
|
||||
/* 023D8 809D5988 AC590004 */ sw $t9, 0x0004($v0) ## 00000004
|
||||
/* 023DC 809D598C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 023E0 809D5990 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
|
||||
/* 023E4 809D5994 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
|
||||
/* 023E8 809D5998 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
|
||||
/* 023EC 809D599C AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0
|
||||
/* 023F0 809D59A0 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
|
||||
/* 023F4 809D59A4 92270001 */ lbu $a3, 0x0001($s1) ## 00010145
|
||||
/* 023F8 809D59A8 8EE40000 */ lw $a0, 0x0000($s7) ## 00000000
|
||||
/* 023FC 809D59AC AFAA0028 */ sw $t2, 0x0028($sp)
|
||||
/* 02400 809D59B0 00070823 */ subu $at, $zero, $a3
|
||||
/* 02404 809D59B4 00013900 */ sll $a3, $at, 4
|
||||
/* 02408 809D59B8 00E13823 */ subu $a3, $a3, $at
|
||||
/* 0240C 809D59BC 30E700FF */ andi $a3, $a3, 0x00FF ## $a3 = 00000000
|
||||
/* 02410 809D59C0 AFAE0024 */ sw $t6, 0x0024($sp)
|
||||
/* 02414 809D59C4 AFA00020 */ sw $zero, 0x0020($sp)
|
||||
/* 02418 809D59C8 AFA0001C */ sw $zero, 0x001C($sp)
|
||||
/* 0241C 809D59CC AFAC0018 */ sw $t4, 0x0018($sp)
|
||||
/* 02420 809D59D0 AFA80014 */ sw $t0, 0x0014($sp)
|
||||
/* 02424 809D59D4 AFB80010 */ sw $t8, 0x0010($sp)
|
||||
/* 02428 809D59D8 0C0253D0 */ jal Gfx_TwoTexScroll
|
||||
/* 0242C 809D59DC AFA2009C */ sw $v0, 0x009C($sp)
|
||||
/* 02430 809D59E0 8FA3009C */ lw $v1, 0x009C($sp)
|
||||
/* 02434 809D59E4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02438 809D59E8 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 0243C 809D59EC 8E26000C */ lw $a2, 0x000C($s1) ## 00010150
|
||||
/* 02440 809D59F0 C62E0008 */ lwc1 $f14, 0x0008($s1) ## 0001014C
|
||||
/* 02444 809D59F4 0C034261 */ jal Matrix_Translate
|
||||
/* 02448 809D59F8 C62C0004 */ lwc1 $f12, 0x0004($s1) ## 00010148
|
||||
/* 0244C 809D59FC 0C0347F5 */ jal func_800D1FD4
|
||||
/* 02450 809D5A00 02802025 */ or $a0, $s4, $zero ## $a0 = 809DBA68
|
||||
/* 02454 809D5A04 C634004C */ lwc1 $f20, 0x004C($s1) ## 00010190
|
||||
/* 02458 809D5A08 4406B000 */ mfc1 $a2, $f22
|
||||
/* 0245C 809D5A0C 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 02460 809D5A10 4600A306 */ mov.s $f12, $f20
|
||||
/* 02464 809D5A14 0C0342A3 */ jal Matrix_Scale
|
||||
/* 02468 809D5A18 4600A386 */ mov.s $f14, $f20
|
||||
/* 0246C 809D5A1C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02470 809D5A20 3C05809E */ lui $a1, %hi(D_809DC09C) ## $a1 = 809E0000
|
||||
/* 02474 809D5A24 24A5C09C */ addiu $a1, $a1, %lo(D_809DC09C) ## $a1 = 809DC09C
|
||||
/* 02478 809D5A28 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
|
||||
/* 0247C 809D5A2C AE0F02D0 */ sw $t7, 0x02D0($s0) ## 000002D0
|
||||
/* 02480 809D5A30 AC5E0000 */ sw $s8, 0x0000($v0) ## 00000000
|
||||
/* 02484 809D5A34 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 02488 809D5A38 2406059F */ addiu $a2, $zero, 0x059F ## $a2 = 0000059F
|
||||
/* 0248C 809D5A3C 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 02490 809D5A40 AFA20098 */ sw $v0, 0x0098($sp)
|
||||
/* 02494 809D5A44 8FA30098 */ lw $v1, 0x0098($sp)
|
||||
/* 02498 809D5A48 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 0249C 809D5A4C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 024A0 809D5A50 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
|
||||
/* 024A4 809D5A54 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
|
||||
/* 024A8 809D5A58 AC550004 */ sw $s5, 0x0004($v0) ## 00000004
|
||||
/* 024AC 809D5A5C AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
.L809D5A60:
|
||||
/* 024B0 809D5A60 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000001
|
||||
/* 024B4 809D5A64 00129400 */ sll $s2, $s2, 16
|
||||
/* 024B8 809D5A68 00129403 */ sra $s2, $s2, 16
|
||||
/* 024BC 809D5A6C 2A410064 */ slti $at, $s2, 0x0064
|
||||
/* 024C0 809D5A70 1420FF99 */ bne $at, $zero, .L809D58D8
|
||||
/* 024C4 809D5A74 2631006C */ addiu $s1, $s1, 0x006C ## $s1 = 000101B0
|
||||
/* 024C8 809D5A78 3C15809E */ lui $s5, %hi(D_809DC0B0) ## $s5 = 809E0000
|
||||
/* 024CC 809D5A7C 00009825 */ or $s3, $zero, $zero ## $s3 = 00000000
|
||||
/* 024D0 809D5A80 8FB100FC */ lw $s1, 0x00FC($sp)
|
||||
/* 024D4 809D5A84 26B5C0B0 */ addiu $s5, $s5, %lo(D_809DC0B0) ## $s5 = 809DC0B0
|
||||
/* 024D8 809D5A88 00009025 */ or $s2, $zero, $zero ## $s2 = 00000000
|
||||
.L809D5A8C:
|
||||
/* 024DC 809D5A8C 92390000 */ lbu $t9, 0x0000($s1) ## 000101B0
|
||||
/* 024E0 809D5A90 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
|
||||
/* 024E4 809D5A94 3C0D809E */ lui $t5, %hi(D_809DB7B8) ## $t5 = 809E0000
|
||||
/* 024E8 809D5A98 17210040 */ bne $t9, $at, .L809D5B9C
|
||||
/* 024EC 809D5A9C 25ADB7B8 */ addiu $t5, $t5, %lo(D_809DB7B8) ## $t5 = 809DB7B8
|
||||
/* 024F0 809D5AA0 3C010001 */ lui $at, 0x0001 ## $at = 00010000
|
||||
/* 024F4 809D5AA4 34211DA0 */ ori $at, $at, 0x1DA0 ## $at = 00011DA0
|
||||
/* 024F8 809D5AA8 02E1A021 */ addu $s4, $s7, $at
|
||||
/* 024FC 809D5AAC 16600010 */ bne $s3, $zero, .L809D5AF0
|
||||
/* 02500 809D5AB0 AFAD007C */ sw $t5, 0x007C($sp)
|
||||
/* 02504 809D5AB4 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02508 809D5AB8 3C18E700 */ lui $t8, 0xE700 ## $t8 = E7000000
|
||||
/* 0250C 809D5ABC 3C0CFB00 */ lui $t4, 0xFB00 ## $t4 = FB000000
|
||||
/* 02510 809D5AC0 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
|
||||
/* 02514 809D5AC4 AE0902D0 */ sw $t1, 0x02D0($s0) ## 000002D0
|
||||
/* 02518 809D5AC8 AC400004 */ sw $zero, 0x0004($v0) ## 00000004
|
||||
/* 0251C 809D5ACC AC580000 */ sw $t8, 0x0000($v0) ## 00000000
|
||||
/* 02520 809D5AD0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02524 809D5AD4 240EC800 */ addiu $t6, $zero, 0xC800 ## $t6 = FFFFC800
|
||||
/* 02528 809D5AD8 26730001 */ addiu $s3, $s3, 0x0001 ## $s3 = 00000001
|
||||
/* 0252C 809D5ADC 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
|
||||
/* 02530 809D5AE0 AE0802D0 */ sw $t0, 0x02D0($s0) ## 000002D0
|
||||
/* 02534 809D5AE4 327300FF */ andi $s3, $s3, 0x00FF ## $s3 = 00000001
|
||||
/* 02538 809D5AE8 AC4E0004 */ sw $t6, 0x0004($v0) ## 00000004
|
||||
/* 0253C 809D5AEC AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
|
||||
.L809D5AF0:
|
||||
/* 02540 809D5AF0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 02544 809D5AF4 3C0FFA00 */ lui $t7, 0xFA00 ## $t7 = FA000000
|
||||
/* 02548 809D5AF8 2401C800 */ addiu $at, $zero, 0xC800 ## $at = FFFFC800
|
||||
/* 0254C 809D5AFC 244A0008 */ addiu $t2, $v0, 0x0008 ## $t2 = 00000008
|
||||
/* 02550 809D5B00 AE0A02D0 */ sw $t2, 0x02D0($s0) ## 000002D0
|
||||
/* 02554 809D5B04 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
|
||||
/* 02558 809D5B08 C6240034 */ lwc1 $f4, 0x0034($s1) ## 000101E4
|
||||
/* 0255C 809D5B0C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
|
||||
/* 02560 809D5B10 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 02564 809D5B14 44093000 */ mfc1 $t1, $f6
|
||||
/* 02568 809D5B18 00000000 */ nop
|
||||
/* 0256C 809D5B1C 313800FF */ andi $t8, $t1, 0x00FF ## $t8 = 00000008
|
||||
/* 02570 809D5B20 03014025 */ or $t0, $t8, $at ## $t0 = FFFFC808
|
||||
/* 02574 809D5B24 AC480004 */ sw $t0, 0x0004($v0) ## 00000004
|
||||
/* 02578 809D5B28 8E26000C */ lw $a2, 0x000C($s1) ## 000101BC
|
||||
/* 0257C 809D5B2C C62E0008 */ lwc1 $f14, 0x0008($s1) ## 000101B8
|
||||
/* 02580 809D5B30 0C034261 */ jal Matrix_Translate
|
||||
/* 02584 809D5B34 C62C0004 */ lwc1 $f12, 0x0004($s1) ## 000101B4
|
||||
/* 02588 809D5B38 0C0347F5 */ jal func_800D1FD4
|
||||
/* 0258C 809D5B3C 02802025 */ or $a0, $s4, $zero ## $a0 = 809DBA68
|
||||
/* 02590 809D5B40 C634004C */ lwc1 $f20, 0x004C($s1) ## 000101FC
|
||||
/* 02594 809D5B44 4406B000 */ mfc1 $a2, $f22
|
||||
/* 02598 809D5B48 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
|
||||
/* 0259C 809D5B4C 4600A306 */ mov.s $f12, $f20
|
||||
/* 025A0 809D5B50 0C0342A3 */ jal Matrix_Scale
|
||||
/* 025A4 809D5B54 4600A386 */ mov.s $f14, $f20
|
||||
/* 025A8 809D5B58 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 025AC 809D5B5C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
|
||||
/* 025B0 809D5B60 02A02825 */ or $a1, $s5, $zero ## $a1 = 809DC0B0
|
||||
/* 025B4 809D5B64 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
|
||||
/* 025B8 809D5B68 AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0
|
||||
/* 025BC 809D5B6C AC5E0000 */ sw $s8, 0x0000($v0) ## 00000000
|
||||
/* 025C0 809D5B70 240605BE */ addiu $a2, $zero, 0x05BE ## $a2 = 000005BE
|
||||
/* 025C4 809D5B74 0C0346A2 */ jal Matrix_NewMtx
|
||||
/* 025C8 809D5B78 AFA20084 */ sw $v0, 0x0084($sp)
|
||||
/* 025CC 809D5B7C 8FA30084 */ lw $v1, 0x0084($sp)
|
||||
/* 025D0 809D5B80 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
|
||||
/* 025D4 809D5B84 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
|
||||
/* 025D8 809D5B88 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
|
||||
/* 025DC 809D5B8C AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
|
||||
/* 025E0 809D5B90 AC560000 */ sw $s6, 0x0000($v0) ## 00000000
|
||||
/* 025E4 809D5B94 8FAA007C */ lw $t2, 0x007C($sp)
|
||||
/* 025E8 809D5B98 AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
|
||||
.L809D5B9C:
|
||||
/* 025EC 809D5B9C 26520001 */ addiu $s2, $s2, 0x0001 ## $s2 = 00000001
|
||||
/* 025F0 809D5BA0 00129400 */ sll $s2, $s2, 16
|
||||
/* 025F4 809D5BA4 00129403 */ sra $s2, $s2, 16
|
||||
/* 025F8 809D5BA8 2A410064 */ slti $at, $s2, 0x0064
|
||||
/* 025FC 809D5BAC 1420FFB7 */ bne $at, $zero, .L809D5A8C
|
||||
/* 02600 809D5BB0 2631006C */ addiu $s1, $s1, 0x006C ## $s1 = 0001021C
|
||||
/* 02604 809D5BB4 3C06809E */ lui $a2, %hi(D_809DC0C4) ## $a2 = 809E0000
|
||||
/* 02608 809D5BB8 24C6C0C4 */ addiu $a2, $a2, %lo(D_809DC0C4) ## $a2 = 809DC0C4
|
||||
/* 0260C 809D5BBC 27A400E8 */ addiu $a0, $sp, 0x00E8 ## $a0 = FFFFFFD8
|
||||
/* 02610 809D5BC0 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
|
||||
/* 02614 809D5BC4 0C031AD5 */ jal Graph_CloseDisps
|
||||
/* 02618 809D5BC8 240705C5 */ addiu $a3, $zero, 0x05C5 ## $a3 = 000005C5
|
||||
/* 0261C 809D5BCC 8FBF006C */ lw $ra, 0x006C($sp)
|
||||
/* 02620 809D5BD0 D7B40038 */ ldc1 $f20, 0x0038($sp)
|
||||
/* 02624 809D5BD4 D7B60040 */ ldc1 $f22, 0x0040($sp)
|
||||
/* 02628 809D5BD8 8FB00048 */ lw $s0, 0x0048($sp)
|
||||
/* 0262C 809D5BDC 8FB1004C */ lw $s1, 0x004C($sp)
|
||||
/* 02630 809D5BE0 8FB20050 */ lw $s2, 0x0050($sp)
|
||||
/* 02634 809D5BE4 8FB30054 */ lw $s3, 0x0054($sp)
|
||||
/* 02638 809D5BE8 8FB40058 */ lw $s4, 0x0058($sp)
|
||||
/* 0263C 809D5BEC 8FB5005C */ lw $s5, 0x005C($sp)
|
||||
/* 02640 809D5BF0 8FB60060 */ lw $s6, 0x0060($sp)
|
||||
/* 02644 809D5BF4 8FB70064 */ lw $s7, 0x0064($sp)
|
||||
/* 02648 809D5BF8 8FBE0068 */ lw $s8, 0x0068($sp)
|
||||
/* 0264C 809D5BFC 03E00008 */ jr $ra
|
||||
/* 02650 809D5C00 27BD0110 */ addiu $sp, $sp, 0x0110 ## $sp = 00000000
|
||||
/* 02654 809D5C04 00000000 */ nop
|
||||
/* 02658 809D5C08 00000000 */ nop
|
||||
/* 0265C 809D5C0C 00000000 */ nop
|
14
assets/xml/overlays/ovl_En_Clear_Tag.xml
Normal file
14
assets/xml/overlays/ovl_En_Clear_Tag.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<Root>
|
||||
<File Name="ovl_En_Clear_Tag" BaseAddress="0x809D35B0" RangeStart="0x26F0" RangeEnd="0x89F0" Segment="128">
|
||||
<DList Name="gArwingDL" Offset="0x26F0"/>
|
||||
<DList Name="gArwingLaserDL" Offset="0x6388"/>
|
||||
<DList Name="gArwingBackfireDL" Offset="0x6688"/>
|
||||
<DList Name="gArwingDebrisEffectMaterialDL" Offset="0x6A38"/>
|
||||
<DList Name="gArwingDebrisEffectDL" Offset="0x6AB8"/>
|
||||
<DList Name="gArwingFireEffectMaterialDL" Offset="0x7100"/>
|
||||
<DList Name="gArwingFireEffectDL" Offset="0x71A8"/>
|
||||
<DList Name="gArwingFlashEffectDL" Offset="0x8208"/>
|
||||
<DList Name="gArwingFlashEffectGroundDL" Offset="0x84B8"/>
|
||||
<DList Name="gArwingShadowDL" Offset="0x8970"/>
|
||||
</File>
|
||||
</Root>
|
|
@ -1,14 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .bss
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_809DC3D0
|
||||
.space 0x2A30
|
||||
|
File diff suppressed because one or more lines are too long
|
@ -1,13 +0,0 @@
|
|||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .rodata
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_809DC140
|
||||
.incbin "baserom/ovl_En_Clear_Tag", 0x8B90, 0x00000290
|
|
@ -889,6 +889,7 @@ DebugDispObject* DebugDisplay_AddObject(f32 posX, f32 posY, f32 posZ, s16 rotX,
|
|||
GraphicsContext* gfxCtx);
|
||||
void DebugDisplay_DrawObjects(GlobalContext* globalCtx);
|
||||
void func_8006450C(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
||||
void func_80064520(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
||||
void func_80064534(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
||||
void func_80064558(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
||||
void func_800645A0(GlobalContext* globalCtx, CutsceneContext* csCtx);
|
||||
|
|
|
@ -931,7 +931,7 @@ typedef struct GlobalContext {
|
|||
/* 0x11E04 */ s16* setupExitList;
|
||||
/* 0x11E08 */ Path* setupPathList;
|
||||
/* 0x11E0C */ ElfMessage* cUpElfMsgs;
|
||||
/* 0x11E10 */ char unk_11E10[0x4];
|
||||
/* 0x11E10 */ void* specialEffects;
|
||||
/* 0x11E14 */ u8 skyboxId;
|
||||
/* 0x11E15 */ s8 sceneLoadFlag; // "fade_direction"
|
||||
/* 0x11E16 */ s16 unk_11E16;
|
||||
|
|
4
spec
4
spec
|
@ -2014,9 +2014,7 @@ endseg
|
|||
beginseg
|
||||
name "ovl_En_Clear_Tag"
|
||||
include "build/src/overlays/actors/ovl_En_Clear_Tag/z_en_clear_tag.o"
|
||||
include "build/data/overlays/actors/z_en_clear_tag.data.o"
|
||||
include "build/data/overlays/actors/z_en_clear_tag.bss.o"
|
||||
include "build/data/overlays/actors/z_en_clear_tag.reloc.o"
|
||||
include "build/src/overlays/actors/ovl_En_Clear_Tag/ovl_En_Clear_Tag_reloc.o"
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -6,11 +6,92 @@
|
|||
|
||||
struct EnClearTag;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ CLEAR_TAG_CUTSCENE_ARWING = 0,
|
||||
/* 0x01 */ CLEAR_TAG_ARWING = 1,
|
||||
/* 0x64 */ CLEAR_TAG_LASER = 100
|
||||
} ClearTagType;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ CLEAR_TAG_STATE_FLYING = 0,
|
||||
/* 0x01 */ CLEAR_TAG_STATE_TARGET_LOCKED = 1,
|
||||
/* 0x02 */ CLEAR_TAG_STATE_DEMO = 2,
|
||||
/* 0x0A */ CLEAR_TAG_STATE_CRASHING = 10,
|
||||
/* 0x64 */ CLEAR_TAG_STATE_LASER = 100
|
||||
} ClearTagState;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ CLEAR_TAG_CUTSCENE_MODE_NONE,
|
||||
/* 0x01 */ CLEAR_TAG_CUTSCENE_MODE_SETUP,
|
||||
/* 0x02 */ CLEAR_TAG_CUTSCENE_MODE_PLAY
|
||||
} ClearTagDemoMode;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ CLEAR_TAG_DRAW_MODE_ARWING,
|
||||
/* 0x01 */ CLEAR_TAG_DRAW_MODE_ALL,
|
||||
/* 0x02 */ CLEAR_TAG_DRAW_MODE_EFFECT
|
||||
} ClearTagDrawMode;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ CLEAR_TAG_EFFECT_AVAILABLE,
|
||||
/* 0x01 */ CLEAR_TAG_EFFECT_DEBRIS,
|
||||
/* 0x02 */ CLEAR_TAG_EFFECT_FIRE,
|
||||
/* 0x03 */ CLEAR_TAG_EFFECT_SMOKE,
|
||||
/* 0x04 */ CLEAR_TAG_EFFECT_FLASH
|
||||
} ClearTagEffectType;
|
||||
|
||||
typedef enum {
|
||||
/* 0x00 */ CLEAR_TAG_TIMER_ARWING_UPDATE_STATE = 0,
|
||||
/* 0x00 */ CLEAR_TAG_TIMER_LASER_DEATH = 0,
|
||||
/* 0x01 */ CLEAR_TAG_TIMER_ARWING_ENTER_LOCKED_ON,
|
||||
/* 0x02 */ CLEAR_TAG_TIMER_ARWING_UPDATE_BG_INFO,
|
||||
/* 0x03 */ CLEAR_TAG_TIMER_COUNT
|
||||
} ClearTagTimers;
|
||||
|
||||
typedef struct EnClearTag {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0xB8];
|
||||
/* 0x014C */ u8 shouldExplode;
|
||||
/* 0x014D */ u8 drawMode;
|
||||
/* 0x014E */ u8 state;
|
||||
/* 0x0150 */ s16 work[CLEAR_TAG_TIMER_COUNT];
|
||||
/* 0x0158 */ Vec3f targetPosition;
|
||||
/* 0x0164 */ Vec3f targetDirection;
|
||||
/* 0x0170 */ Vec3f acceleration;
|
||||
/* 0x017C */ u8 timer;
|
||||
/* 0x017D */ u8 shouldShootLaser;
|
||||
/* 0x0180 */ f32 roll;
|
||||
/* 0x0184 */ s16 crashingTimer;
|
||||
/* 0x0186 */ s16 deathTimer;
|
||||
/* 0x0188 */ Vec3f floorTangent;
|
||||
/* 0x0194 */ ColliderCylinder collider;
|
||||
/* 0x01E0 */ u8 cutsceneMode;
|
||||
/* 0x01E2 */ s16 cameraId;
|
||||
/* 0x01E4 */ Vec3f cutsceneCameraAt;
|
||||
/* 0x01F0 */ Vec3f cutsceneCameraEye;
|
||||
/* 0x01FC */ s16 cutsceneTimer;
|
||||
/* 0x01FE */ char unk_1FE[0x06];
|
||||
} EnClearTag; // size = 0x0204
|
||||
|
||||
typedef struct EnClearTagEffect {
|
||||
/* 0x0000 */ u8 type;
|
||||
/* 0x0001 */ u8 random;
|
||||
/* 0x0004 */ Vec3f position;
|
||||
/* 0x0010 */ Vec3f velocity;
|
||||
/* 0x001C */ Vec3f acceleration;
|
||||
/* 0x0028 */ Color_RGBAf primColor;
|
||||
/* 0x0038 */ Color_RGBAf envColor;
|
||||
/* 0x0048 */ s16 bounces;
|
||||
/* 0x004A */ s16 timer;
|
||||
/* 0x004C */ f32 scale;
|
||||
/* 0x0050 */ f32 maxScale;
|
||||
/* 0x0054 */ f32 rotationY;
|
||||
/* 0x0058 */ f32 rotationX;
|
||||
/* 0x005C */ f32 floorHeight;
|
||||
/* 0x0060 */ Vec3f floorTangent;
|
||||
} EnClearTagEffect; // size = 0x6C
|
||||
|
||||
#define CLEAR_TAG_EFFECT_MAX_COUNT 100
|
||||
|
||||
extern const ActorInit En_Clear_Tag_InitVars;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue