This commit is contained in:
Ethan Roseman 2020-04-24 19:08:00 -04:00
parent 0f96135826
commit af9b4c81e8
3 changed files with 817 additions and 2 deletions

View File

@ -132,8 +132,8 @@ ___b3dd0_len_2000_end:
___b5dd0_len_2000:
.incbin "bin/PAPERMARIO.0B5DD0.___b5dd0_len_2000.bin"
___b5dd0_len_2000_end:
.include "asm/___b7dd0_len_2000.s"
.include "asm/CODE_cbdd0_len_2000.s"
.include "asm/___b72b0_len_2000.s"
.include "asm/CODE_cd180_len_2000.s"
.include "asm/CODE_cddd0_len_2000.s"
.include "asm/CODE_cfdd0_len_2000.s"
.include "asm/CODE_d1dd0_len_2000.s"

View File

@ -0,0 +1,815 @@
.section .text001356D0, "ax"
/* 0CD180 001356D0 27BDFF88 */ addiu $29, $29, -0x78
func_001356D4:
/* 0CD184 001356D4 F7B80060 */ sdc1 $f24, 0x60($29)
/* 0CD188 001356D8 4485C000 */ mtc1 $5, $f24
func_001356DC:
/* 0CD18C 001356DC 3C050001 */ lui $5, (0x00011630 >> 16) # lui $5, 1
/* 0CD190 001356E0 44800000 */ mtc1 $0, $f0
/* 0CD194 001356E4 3C038007 */ lui $3, %hi(D_80077410) # $3, 0x8007
/* 0CD198 001356E8 8C637410 */ lw $3, %lo(D_80077410)($3)
/* 0CD19C 001356EC 34A51630 */ ori $5, (0x00011630 & 0xFFFF) # ori $5, $5, 0x1630
/* 0CD1A0 001356F0 A3A40020 */ sb $4, 0x20($29)
/* 0CD1A4 001356F4 3C04800B */ lui $4, %hi(D_800B1D80) # $4, 0x800b
/* 0CD1A8 001356F8 24841D80 */ addiu $4, %lo(D_800B1D80) # addiu $4, $4, 0x1d80
/* 0CD1AC 001356FC AFBF004C */ sw $31, 0x4c($29)
/* 0CD1B0 00135700 AFBE0048 */ sw $30, 0x48($29)
/* 0CD1B4 00135704 AFB70044 */ sw $23, 0x44($29)
/* 0CD1B8 00135708 AFB60040 */ sw $22, 0x40($29)
/* 0CD1BC 0013570C AFB5003C */ sw $21, 0x3c($29)
/* 0CD1C0 00135710 AFB40038 */ sw $20, 0x38($29)
/* 0CD1C4 00135714 AFB30034 */ sw $19, 0x34($29)
/* 0CD1C8 00135718 AFB20030 */ sw $18, 0x30($29)
/* 0CD1CC 0013571C AFB1002C */ sw $17, 0x2c($29)
/* 0CD1D0 00135720 AFB00028 */ sw $16, 0x28($29)
/* 0CD1D4 00135724 F7BC0070 */ sdc1 $f28, 0x70($29)
/* 0CD1D8 00135728 F7BA0068 */ sdc1 $f26, 0x68($29)
/* 0CD1DC 0013572C F7B60058 */ sdc1 $f22, 0x58($29)
/* 0CD1E0 00135730 F7B40050 */ sdc1 $f20, 0x50($29)
/* 0CD1E4 00135734 00031080 */ sll $2, $3, 2
/* 0CD1E8 00135738 00431021 */ addu $2, $2, $3
/* 0CD1EC 0013573C 00021080 */ sll $2, $2, 2
/* 0CD1F0 00135740 00431023 */ subu $2, $2, $3
/* 0CD1F4 00135744 000218C0 */ sll $3, $2, 3
/* 0CD1F8 00135748 00431021 */ addu $2, $2, $3
/* 0CD1FC 0013574C 000210C0 */ sll $2, $2, 3
/* 0CD200 00135750 00444821 */ addu $9, $2, $4
/* 0CD204 00135754 3C03800A */ lui $3, %hi(D_8009A674) # $3, 0x800a
/* 0CD208 00135758 8C63A674 */ lw $3, %lo(D_8009A674)($3)
/* 0CD20C 0013575C 4600C032 */ c.eq.s $f24, $f0
/* 0CD210 00135760 00000000 */ nop
/* 0CD214 00135764 4501048B */ .byte 0x45,0x01,0x04,0x8B /* Because of invalid n64 opcode bc1t */
/* 0CD218 00135768 0065F021 */ /* 0CD21C 0013576C 10C0000A */ beqz $6, .L00135798
/* 0CD220 00135770 0000A82D */ move $21, $0
/* 0CD224 00135774 90D30000 */ lbu $19, ($6)
/* 0CD228 00135778 90D40001 */ lbu $20, 1($6)
/* 0CD22C 0013577C 90D50002 */ lbu $21, 2($6)
/* 0CD230 00135780 8CD10004 */ lw $17, 4($6)
/* 0CD234 00135784 8CD20008 */ lw $18, 8($6)
/* 0CD238 00135788 8CD6000C */ lw $22, 0xc($6)
/* 0CD23C 0013578C 8CD70010 */ lw $23, 0x10($6)
/* 0CD240 00135790 0804DAD9 */ j func_00136B64
/* 0CD244 00135794 C4DC0014 */ lwc1 $f28, 0x14($6)
.L00135798:
/* 0CD248 00135798 02A0A02D */ move $20, $21
/* 0CD24C 0013579C 02A0982D */ move $19, $21
/* 0CD250 001357A0 0000B82D */ move $23, $0
/* 0CD254 001357A4 02E0B02D */ move $22, $23
/* 0CD258 001357A8 02E0902D */ move $18, $23
/* 0CD25C 001357AC 02E0882D */ move $17, $23
/* 0CD260 001357B0 46000706 */ mov.s $f28, $f0
/* 0CD264 001357B4 93A30020 */ lbu $3, 0x20($29)
/* 0CD268 001357B8 10600005 */ beqz $3, .L001357D0
/* 0CD26C 001357BC 24020001 */ li $2, 1
/* 0CD270 001357C0 10620070 */ beq $3, $2, .L00135984
/* 0CD274 001357C4 3C04E300 */ lui $4, 0xe300
/* 0CD278 001357C8 0804DBCA */ j func_00136F28
/* 0CD27C 001357CC 00000000 */ nop
.L001357D0:
/* 0CD280 001357D0 3C04E300 */ lui $4, (0xE3001801 >> 16) # lui $4, 0xe300
/* 0CD284 001357D4 34841801 */ ori $4, (0xE3001801 & 0xFFFF) # ori $4, $4, 0x1801
/* 0CD288 001357D8 3C05E300 */ lui $5, (0xE3001A01 >> 16) # lui $5, 0xe300
/* 0CD28C 001357DC 34A51A01 */ ori $5, (0xE3001A01 & 0xFFFF) # ori $5, $5, 0x1a01
/* 0CD290 001357E0 3C06E300 */ lui $6, (0xE3000A01 >> 16) # lui $6, 0xe300
/* 0CD294 001357E4 3C08800A */ lui $8, %hi(D_8009A66C) # $8, 0x800a
/* 0CD298 001357E8 2508A66C */ addiu $8, %lo(D_8009A66C) # addiu $8, $8, -0x5994
/* 0CD29C 001357EC 34C60A01 */ ori $6, (0xE3000A01 & 0xFFFF) # ori $6, $6, 0xa01
/* 0CD2A0 001357F0 3C02E700 */ lui $2, 0xe700
/* 0CD2A4 001357F4 8D070000 */ lw $7, ($8)
/* 0CD2A8 001357F8 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD2AC 001357FC 44810000 */ mtc1 $1, $f0
/* 0CD2B0 00135800 00E0182D */ move $3, $7
/* 0CD2B4 00135804 24E70008 */ addiu $7, $7, 8
/* 0CD2B8 00135808 AD070000 */ sw $7, ($8)
/* 0CD2BC 0013580C AC620000 */ sw $2, ($3)
/* 0CD2C0 00135810 24E20008 */ addiu $2, $7, 8
/* 0CD2C4 00135814 AC600004 */ sw $0, 4($3)
/* 0CD2C8 00135818 AD020000 */ sw $2, ($8)
/* 0CD2CC 0013581C 24E20010 */ addiu $2, $7, 0x10
/* 0CD2D0 00135820 ACE40000 */ sw $4, ($7)
/* 0CD2D4 00135824 ACE00004 */ sw $0, 4($7)
/* 0CD2D8 00135828 AD020000 */ sw $2, ($8)
/* 0CD2DC 0013582C 24E20018 */ addiu $2, $7, 0x18
/* 0CD2E0 00135830 4600C032 */ c.eq.s $f24, $f0
/* 0CD2E4 00135834 ACE50008 */ sw $5, 8($7)
/* 0CD2E8 00135838 ACE0000C */ sw $0, 0xc($7)
/* 0CD2EC 0013583C AD020000 */ sw $2, ($8)
/* 0CD2F0 00135840 ACE60010 */ sw $6, 0x10($7)
/* 0CD2F4 00135844 45000006 */ .byte 0x45,0x00,0x00,0x06 /* Because of invalid n64 opcode bc1f */
/* 0CD2F8 00135848 ACE00014 */ /* 0CD2FC 0013584C 3C04E200 */ lui $4, (0xE200001C >> 16) # lui $4, 0xe200
/* 0CD300 00135850 3484001C */ ori $4, (0xE200001C & 0xFFFF) # ori $4, $4, 0x1c
/* 0CD304 00135854 3C030F0A */ lui $3, (0x0F0A4300 >> 16) # lui $3, 0xf0a
/* 0CD308 00135858 0804DB08 */ j func_00136C20
/* 0CD30C 0013585C 34634300 */ ori $3, (0x0F0A4300 & 0xFFFF) # ori $3, $3, 0x4300
.L00135860:
/* 0CD310 00135860 3C04E200 */ lui $4, (0xE200001C >> 16) # lui $4, 0xe200
/* 0CD314 00135864 3484001C */ ori $4, (0xE200001C & 0xFFFF) # ori $4, $4, 0x1c
/* 0CD318 00135868 3C030050 */ lui $3, (0x00504340 >> 16) # lui $3, 0x50
/* 0CD31C 0013586C 34634340 */ ori $3, (0x00504340 & 0xFFFF) # ori $3, $3, 0x4340
/* 0CD320 00135870 24E20020 */ addiu $2, $7, 0x20
/* 0CD324 00135874 AD020000 */ sw $2, ($8)
/* 0CD328 00135878 ACE40018 */ sw $4, 0x18($7)
/* 0CD32C 0013587C ACE3001C */ sw $3, 0x1c($7)
/* 0CD330 00135880 3C06FCFF */ lui $6, (0xFCFFFFFF >> 16) # lui $6, 0xfcff
/* 0CD334 00135884 34C6FFFF */ ori $6, (0xFCFFFFFF & 0xFFFF) # ori $6, $6, 0xffff
/* 0CD338 00135888 3C05FFFD */ lui $5, %hi(D_FFFD0004) # $5, 0xfffd
/* 0CD33C 0013588C 3C04800A */ lui $4, %hi(D_8009A66C) # $4, 0x800a
/* 0CD340 00135890 2484A66C */ addiu $4, %lo(D_8009A66C) # addiu $4, $4, -0x5994
/* 0CD344 00135894 34A5F6FB */ ori $5, (0xFFFDF6FB & 0xFFFF) # ori $5, $5, 0xf6fb
/* 0CD348 00135898 8C830000 */ lw $3, ($4)
/* 0CD34C 0013589C 3C014F00 */ li $1, 0x4F000000 # 2147483648.000000
func_001358A0:
/* 0CD350 001358A0 44810000 */ mtc1 $1, $f0
/* 0CD354 001358A4 0060102D */ move $2, $3
func_001358A8:
/* 0CD358 001358A8 24630008 */ addiu $3, $3, 8
/* 0CD35C 001358AC AC830000 */ sw $3, ($4)
/* 0CD360 001358B0 AC460000 */ sw $6, ($2)
/* 0CD364 001358B4 AC450004 */ sw $5, 4($2)
/* 0CD368 001358B8 24620008 */ addiu $2, $3, 8
/* 0CD36C 001358BC AC820000 */ sw $2, ($4)
/* 0CD370 001358C0 3C02FA00 */ lui $2, 0xfa00
/* 0CD374 001358C4 246A0004 */ addiu $10, $3, 4
/* 0CD378 001358C8 AC620000 */ sw $2, ($3)
/* 0CD37C 001358CC 00131600 */ sll $2, $19, 0x18
/* 0CD380 001358D0 00141C00 */ sll $3, $20, 0x10
/* 0CD384 001358D4 00431025 */ or $2, $2, $3
/* 0CD388 001358D8 00151A00 */ sll $3, $21, 8
/* 0CD38C 001358DC 4618003E */ c.le.s $f0, $f24
/* 0CD390 001358E0 00000000 */ nop
/* 0CD394 001358E4 45010005 */ .byte 0x45,0x01,0x00,0x05 /* Because of invalid n64 opcode bc1t */
/* 0CD398 001358E8 00434825 */ /* 0CD39C 001358EC 4600C20D */ trunc.w.s $f8, $f24
/* 0CD3A0 001358F0 44054000 */ mfc1 $5, $f8
/* 0CD3A4 001358F4 0804DB32 */ j func_00136CC8
/* 0CD3A8 001358F8 3C060050 */ lui $6, 0x50
.L001358FC:
/* 0CD3AC 001358FC 4600C001 */ sub.s $f0, $f24, $f0
/* 0CD3B0 00135900 3C028000 */ lui $2, 0x8000
/* 0CD3B4 00135904 4600020D */ trunc.w.s $f8, $f0
/* 0CD3B8 00135908 44054000 */ mfc1 $5, $f8
/* 0CD3BC 0013590C 00000000 */ nop
/* 0CD3C0 00135910 00A22825 */ or $5, $5, $2
/* 0CD3C4 00135914 3C060050 */ lui $6, (0x005003C0 >> 16) # lui $6, 0x50
/* 0CD3C8 00135918 34C603C0 */ ori $6, (0x005003C0 & 0xFFFF) # ori $6, $6, 0x3c0
/* 0CD3CC 0013591C 3C07F64F */ lui $7, (0xF64FC3BC >> 16) # lui $7, 0xf64f
/* 0CD3D0 00135920 34E7C3BC */ ori $7, (0xF64FC3BC & 0xFFFF) # ori $7, $7, 0xc3bc
/* 0CD3D4 00135924 3C08E300 */ lui $8, (0xE3001801 >> 16) # lui $8, 0xe300
/* 0CD3D8 00135928 35081801 */ ori $8, (0xE3001801 & 0xFFFF) # ori $8, $8, 0x1801
/* 0CD3DC 0013592C 3C04800A */ lui $4, %hi(D_8009A66C) # $4, 0x800a
/* 0CD3E0 00135930 2484A66C */ addiu $4, %lo(D_8009A66C) # addiu $4, $4, -0x5994
/* 0CD3E4 00135934 30A200FF */ andi $2, $5, 0xff
/* 0CD3E8 00135938 8C830000 */ lw $3, ($4)
/* 0CD3EC 0013593C 01221025 */ or $2, $9, $2
/* 0CD3F0 00135940 AD420000 */ sw $2, ($10)
/* 0CD3F4 00135944 3C02ED00 */ lui $2, 0xed00
/* 0CD3F8 00135948 0060282D */ move $5, $3
/* 0CD3FC 0013594C 24630008 */ addiu $3, $3, 8
/* 0CD400 00135950 AC830000 */ sw $3, ($4)
/* 0CD404 00135954 ACA20000 */ sw $2, ($5)
/* 0CD408 00135958 24620008 */ addiu $2, $3, 8
/* 0CD40C 0013595C ACA60004 */ sw $6, %lo(D_FFFD0004)($5)
/* 0CD410 00135960 AC820000 */ sw $2, ($4)
/* 0CD414 00135964 24620010 */ addiu $2, $3, 0x10
/* 0CD418 00135968 AC670000 */ sw $7, ($3)
/* 0CD41C 0013596C AC600004 */ sw $0, 4($3)
/* 0CD420 00135970 AC820000 */ sw $2, ($4)
/* 0CD424 00135974 240200C0 */ li $2, 192
/* 0CD428 00135978 AC680008 */ sw $8, 8($3)
/* 0CD42C 0013597C 0804DF51 */ j func_00137D44
/* 0CD430 00135980 AC62000C */ sw $2, 0xc($3)
.L00135984:
/* 0CD434 00135984 34841801 */ ori $4, $4, 0x1801
/* 0CD438 00135988 3C05E300 */ lui $5, (0xE3001A01 >> 16) # lui $5, 0xe300
/* 0CD43C 0013598C 34A51A01 */ ori $5, (0xE3001A01 & 0xFFFF) # ori $5, $5, 0x1a01
/* 0CD440 00135990 3C06E300 */ lui $6, (0xE3000A01 >> 16) # lui $6, 0xe300
/* 0CD444 00135994 3C08800A */ lui $8, %hi(D_8009A66C) # $8, 0x800a
/* 0CD448 00135998 2508A66C */ addiu $8, %lo(D_8009A66C) # addiu $8, $8, -0x5994
/* 0CD44C 0013599C 34C60A01 */ ori $6, (0xE3000A01 & 0xFFFF) # ori $6, $6, 0xa01
/* 0CD450 001359A0 3C02E700 */ lui $2, 0xe700
/* 0CD454 001359A4 8D070000 */ lw $7, ($8)
/* 0CD458 001359A8 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD45C 001359AC 44810000 */ mtc1 $1, $f0
/* 0CD460 001359B0 00E0182D */ move $3, $7
/* 0CD464 001359B4 24E70008 */ addiu $7, $7, 8
/* 0CD468 001359B8 AD070000 */ sw $7, ($8)
/* 0CD46C 001359BC AC620000 */ sw $2, ($3)
/* 0CD470 001359C0 24E20008 */ addiu $2, $7, 8
/* 0CD474 001359C4 AC600004 */ sw $0, 4($3)
/* 0CD478 001359C8 AD020000 */ sw $2, ($8)
/* 0CD47C 001359CC 24E20010 */ addiu $2, $7, 0x10
/* 0CD480 001359D0 ACE40000 */ sw $4, ($7)
/* 0CD484 001359D4 ACE00004 */ sw $0, 4($7)
/* 0CD488 001359D8 AD020000 */ sw $2, ($8)
/* 0CD48C 001359DC 24E20018 */ addiu $2, $7, 0x18
/* 0CD490 001359E0 4600C032 */ c.eq.s $f24, $f0
/* 0CD494 001359E4 ACE50008 */ sw $5, 8($7)
/* 0CD498 001359E8 ACE0000C */ sw $0, 0xc($7)
/* 0CD49C 001359EC AD020000 */ sw $2, ($8)
/* 0CD4A0 001359F0 ACE60010 */ sw $6, 0x10($7)
/* 0CD4A4 001359F4 45000006 */ .byte 0x45,0x00,0x00,0x06 /* Because of invalid n64 opcode bc1f */
/* 0CD4A8 001359F8 ACE00014 */ /* 0CD4AC 001359FC 3C04E200 */ lui $4, (0xE200001C >> 16) # lui $4, 0xe200
/* 0CD4B0 00135A00 3484001C */ ori $4, (0xE200001C & 0xFFFF) # ori $4, $4, 0x1c
/* 0CD4B4 00135A04 3C030F0A */ lui $3, (0x0F0A4300 >> 16) # lui $3, 0xf0a
/* 0CD4B8 00135A08 0804DB74 */ j func_00136DD0
/* 0CD4BC 00135A0C 34634300 */ ori $3, (0x0F0A4300 & 0xFFFF) # ori $3, $3, 0x4300
.L00135A10:
/* 0CD4C0 00135A10 3C04E200 */ lui $4, (0xE200001C >> 16) # lui $4, 0xe200
/* 0CD4C4 00135A14 3484001C */ ori $4, (0xE200001C & 0xFFFF) # ori $4, $4, 0x1c
/* 0CD4C8 00135A18 3C030050 */ lui $3, (0x00504340 >> 16) # lui $3, 0x50
/* 0CD4CC 00135A1C 34634340 */ ori $3, (0x00504340 & 0xFFFF) # ori $3, $3, 0x4340
/* 0CD4D0 00135A20 24E20020 */ addiu $2, $7, 0x20
/* 0CD4D4 00135A24 AD020000 */ sw $2, ($8)
/* 0CD4D8 00135A28 ACE40018 */ sw $4, 0x18($7)
/* 0CD4DC 00135A2C ACE3001C */ sw $3, 0x1c($7)
/* 0CD4E0 00135A30 3C06FCFF */ lui $6, (0xFCFFFFFF >> 16) # lui $6, 0xfcff
/* 0CD4E4 00135A34 34C6FFFF */ ori $6, (0xFCFFFFFF & 0xFFFF) # ori $6, $6, 0xffff
/* 0CD4E8 00135A38 3C05FFFD */ lui $5, (0xFFFDF6FB >> 16) # lui $5, 0xfffd
/* 0CD4EC 00135A3C 3C04800A */ lui $4, %hi(D_8009A66C) # $4, 0x800a
/* 0CD4F0 00135A40 2484A66C */ addiu $4, %lo(D_8009A66C) # addiu $4, $4, -0x5994
/* 0CD4F4 00135A44 34A5F6FB */ ori $5, (0xFFFDF6FB & 0xFFFF) # ori $5, $5, 0xf6fb
/* 0CD4F8 00135A48 8C830000 */ lw $3, ($4)
/* 0CD4FC 00135A4C 3C014F00 */ li $1, 0x4F000000 # 2147483648.000000
/* 0CD500 00135A50 44810000 */ mtc1 $1, $f0
/* 0CD504 00135A54 0060102D */ move $2, $3
/* 0CD508 00135A58 24630008 */ addiu $3, $3, 8
/* 0CD50C 00135A5C AC830000 */ sw $3, ($4)
/* 0CD510 00135A60 AC460000 */ sw $6, ($2)
/* 0CD514 00135A64 AC450004 */ sw $5, 4($2)
/* 0CD518 00135A68 24620008 */ addiu $2, $3, 8
/* 0CD51C 00135A6C AC820000 */ sw $2, ($4)
/* 0CD520 00135A70 3C02FA00 */ lui $2, 0xfa00
/* 0CD524 00135A74 24680004 */ addiu $8, $3, 4
/* 0CD528 00135A78 AC620000 */ sw $2, ($3)
/* 0CD52C 00135A7C 00131600 */ sll $2, $19, 0x18
/* 0CD530 00135A80 00141C00 */ sll $3, $20, 0x10
/* 0CD534 00135A84 00431025 */ or $2, $2, $3
/* 0CD538 00135A88 00151A00 */ sll $3, $21, 8
/* 0CD53C 00135A8C 4618003E */ c.le.s $f0, $f24
/* 0CD540 00135A90 00000000 */ nop
/* 0CD544 00135A94 45010005 */ .byte 0x45,0x01,0x00,0x05 /* Because of invalid n64 opcode bc1t */
/* 0CD548 00135A98 00431825 */ /* 0CD54C 00135A9C 4600C20D */ trunc.w.s $f8, $f24
/* 0CD550 00135AA0 44104000 */ mfc1 $16, $f8
/* 0CD554 00135AA4 0804DB9E */ j func_00136E78
/* 0CD558 00135AA8 3C040050 */ lui $4, 0x50
.L00135AAC:
/* 0CD55C 00135AAC 4600C001 */ sub.s $f0, $f24, $f0
/* 0CD560 00135AB0 3C028000 */ lui $2, 0x8000
func_00135AB4:
/* 0CD564 00135AB4 4600020D */ trunc.w.s $f8, $f0
/* 0CD568 00135AB8 44104000 */ mfc1 $16, $f8
/* 0CD56C 00135ABC 00000000 */ nop
/* 0CD570 00135AC0 02028025 */ or $16, $16, $2
/* 0CD574 00135AC4 3C040050 */ lui $4, (0x005003C0 >> 16) # lui $4, 0x50
/* 0CD578 00135AC8 348403C0 */ ori $4, (0x005003C0 & 0xFFFF) # ori $4, $4, 0x3c0
/* 0CD57C 00135ACC 3C07E300 */ lui $7, (0xE3001801 >> 16) # lui $7, 0xe300
/* 0CD580 00135AD0 34E71801 */ ori $7, (0xE3001801 & 0xFFFF) # ori $7, $7, 0x1801
/* 0CD584 00135AD4 3C06800A */ lui $6, %hi(D_8009A66C) # $6, 0x800a
/* 0CD588 00135AD8 24C6A66C */ addiu $6, %lo(D_8009A66C) # addiu $6, $6, -0x5994
/* 0CD58C 00135ADC 320200FF */ andi $2, $16, 0xff
/* 0CD590 00135AE0 8CC50000 */ lw $5, ($6)
/* 0CD594 00135AE4 00621025 */ or $2, $3, $2
/* 0CD598 00135AE8 AD020000 */ sw $2, ($8)
/* 0CD59C 00135AEC 3C02ED00 */ lui $2, 0xed00
/* 0CD5A0 00135AF0 00A0182D */ move $3, $5
/* 0CD5A4 00135AF4 24A50008 */ addiu $5, $5, 8
/* 0CD5A8 00135AF8 ACC50000 */ sw $5, ($6)
/* 0CD5AC 00135AFC AC620000 */ sw $2, ($3)
/* 0CD5B0 00135B00 AC640004 */ sw $4, 4($3)
/* 0CD5B4 00135B04 8523000E */ lh $3, 0xe($9)
/* 0CD5B8 00135B08 8524000A */ lh $4, 0xa($9)
/* 0CD5BC 00135B0C 24A20008 */ addiu $2, $5, 8
/* 0CD5C0 00135B10 ACC20000 */ sw $2, ($6)
/* 0CD5C4 00135B14 85220010 */ lh $2, 0x10($9)
/* 0CD5C8 00135B18 00641821 */ addu $3, $3, $4
/* 0CD5CC 00135B1C 306303FF */ andi $3, $3, 0x3ff
/* 0CD5D0 00135B20 8524000C */ lh $4, 0xc($9)
/* 0CD5D4 00135B24 00031B80 */ sll $3, $3, 0xe
/* 0CD5D8 00135B28 00441021 */ addu $2, $2, $4
/* 0CD5DC 00135B2C 304203FF */ andi $2, $2, 0x3ff
/* 0CD5E0 00135B30 00021080 */ sll $2, $2, 2
/* 0CD5E4 00135B34 3C04F600 */ lui $4, 0xf600
/* 0CD5E8 00135B38 00441025 */ or $2, $2, $4
/* 0CD5EC 00135B3C 00621825 */ or $3, $3, $2
/* 0CD5F0 00135B40 ACA30000 */ sw $3, ($5)
/* 0CD5F4 00135B44 9522000E */ lhu $2, 0xe($9)
/* 0CD5F8 00135B48 95240010 */ lhu $4, 0x10($9)
/* 0CD5FC 00135B4C 24A30010 */ addiu $3, $5, 0x10
/* 0CD600 00135B50 ACC30000 */ sw $3, ($6)
/* 0CD604 00135B54 240300C0 */ li $3, 192
/* 0CD608 00135B58 ACA70008 */ sw $7, 8($5)
/* 0CD60C 00135B5C ACA3000C */ sw $3, 0xc($5)
/* 0CD610 00135B60 304203FF */ andi $2, $2, 0x3ff
/* 0CD614 00135B64 00021380 */ sll $2, $2, 0xe
/* 0CD618 00135B68 308403FF */ andi $4, $4, 0x3ff
/* 0CD61C 00135B6C 00042080 */ sll $4, $4, 2
/* 0CD620 00135B70 0804DF50 */ j func_00137D40
/* 0CD624 00135B74 00441025 */ or $2, $2, $4
/* 0CD628 00135B78 3C108007 */ lui $16, %hi(D_800741F0) # $16, 0x8007
/* 0CD62C 00135B7C 261041F0 */ addiu $16, %lo(D_800741F0) # addiu $16, $16, 0x41f0
/* 0CD630 00135B80 44800000 */ mtc1 $0, $f0
/* 0CD634 00135B84 3C0643A0 */ lui $6, 0x43a0
/* 0CD638 00135B88 96040000 */ lhu $4, ($16)
/* 0CD63C 00135B8C 3C01C47A */ li $1, 0xC47A0000 # -1000.000000
/* 0CD640 00135B90 44811000 */ mtc1 $1, $f2
/* 0CD644 00135B94 3C01447A */ li $1, 0x447A0000 # 1000.000000
/* 0CD648 00135B98 44812000 */ mtc1 $1, $f4
/* 0CD64C 00135B9C 3C013F80 */ li $1, 0x3F800000 # 1.000000
/* 0CD650 00135BA0 44813000 */ mtc1 $1, $f6
/* 0CD654 00135BA4 00042180 */ sll $4, $4, 6
/* 0CD658 00135BA8 44050000 */ mfc1 $5, $f0
/* 0CD65C 00135BAC 3C014370 */ li $1, 0x43700000 # 240.000000
/* 0CD660 00135BB0 44810000 */ mtc1 $1, $f0
/* 0CD664 00135BB4 03C42021 */ addu $4, $30, $4
/* 0CD668 00135BB8 E7A20014 */ swc1 $f2, 0x14($29)
/* 0CD66C 00135BBC E7A40018 */ swc1 $f4, 0x18($29)
/* 0CD670 00135BC0 E7A6001C */ swc1 $f6, 0x1c($29)
/* 0CD674 00135BC4 00A0382D */ move $7, $5
/* 0CD678 00135BC8 0C018E90 */ jal func_00063A40
/* 0CD67C 00135BCC E7A00010 */ swc1 $f0, 0x10($29)
/* 0CD680 00135BD0 3C06DA38 */ lui $6, (0xDA380007 >> 16) # lui $6, 0xda38
/* 0CD684 00135BD4 3C04800A */ lui $4, %hi(D_8009A66C) # $4, 0x800a
/* 0CD688 00135BD8 2484A66C */ addiu $4, %lo(D_8009A66C) # addiu $4, $4, -0x5994
/* 0CD68C 00135BDC 34C60007 */ ori $6, (0xDA380007 & 0xFFFF) # ori $6, $6, 7
/* 0CD690 00135BE0 8C830000 */ lw $3, ($4)
/* 0CD694 00135BE4 96020000 */ lhu $2, ($16)
/* 0CD698 00135BE8 0060282D */ move $5, $3
/* 0CD69C 00135BEC 24630008 */ addiu $3, $3, 8
/* 0CD6A0 00135BF0 AC830000 */ sw $3, ($4)
/* 0CD6A4 00135BF4 24430001 */ addiu $3, $2, 1
/* 0CD6A8 00135BF8 3042FFFF */ andi $2, $2, 0xffff
/* 0CD6AC 00135BFC 00021180 */ sll $2, $2, 6
/* 0CD6B0 00135C00 03C21021 */ addu $2, $30, $2
/* 0CD6B4 00135C04 ACA60000 */ sw $6, ($5)
/* 0CD6B8 00135C08 A6030000 */ sh $3, ($16)
/* 0CD6BC 00135C0C ACA20004 */ sw $2, 4($5)
/* 0CD6C0 00135C10 93A20020 */ lbu $2, 0x20($29)
/* 0CD6C4 00135C14 2443FFFE */ addiu $3, $2, -2
/* 0CD6C8 00135C18 2C62000E */ sltiu $2, $3, 0xe
/* 0CD6CC 00135C1C 1040034C */ beqz $2, .L00136950
/* 0CD6D0 00135C20 00031080 */ sll $2, $3, 2
/* 0CD6D4 00135C24 3C018015 */ lui $1, 0x8015
/* 0CD6D8 00135C28 00220821 */ addu $1, $1, $2
/* 0CD6DC 00135C2C 8C220EA0 */ lw $2, 0xea0($1)
/* 0CD6E0 00135C30 00400008 */ jr $2
/* 0CD6E4 00135C34 00000000 */ nop
/* 0CD6E8 00135C38 240400A0 */ li $4, 160
/* 0CD6EC 00135C3C 24050078 */ li $5, 120
/* 0CD6F0 00135C40 0260382D */ move $7, $19
/* 0CD6F4 00135C44 3C03800A */ lui $3, %hi(D_8009A66C) # $3, 0x800a
/* 0CD6F8 00135C48 2463A66C */ addiu $3, %lo(D_8009A66C) # addiu $3, $3, -0x5994
/* 0CD6FC 00135C4C 461CC002 */ mul.s $f0, $f24, $f28
/* 0CD700 00135C50 00000000 */ nop
/* 0CD704 00135C54 8C620000 */ lw $2, ($3)
/* 0CD708 00135C58 4406C000 */ mfc1 $6, $f24
/* 0CD70C 00135C5C 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD710 00135C60 44811000 */ mtc1 $1, $f2
/* 0CD714 00135C64 0040402D */ move $8, $2
/* 0CD718 00135C68 24420008 */ addiu $2, $2, 8
/* 0CD71C 00135C6C AC620000 */ sw $2, ($3)
/* 0CD720 00135C70 3C038007 */ lui $3, %hi(D_80077410) # $3, 0x8007
/* 0CD724 00135C74 8C637410 */ lw $3, %lo(D_80077410)($3)
/* 0CD728 00135C78 3C02DE00 */ lui $2, 0xde00
/* 0CD72C 00135C7C AD020000 */ sw $2, ($8)
/* 0CD730 00135C80 3C028015 */ lui $2, %hi(D_8014E670) # $2, 0x8015
/* 0CD734 00135C84 2442E670 */ addiu $2, %lo(D_8014E670) # addiu $2, $2, -0x1990
/* 0CD738 00135C88 AD020004 */ sw $2, 4($8)
/* 0CD73C 00135C8C AFB40010 */ sw $20, 0x10($29)
/* 0CD740 00135C90 AFB50014 */ sw $21, 0x14($29)
/* 0CD744 00135C94 0804DC56 */ j func_00137158
/* 0CD748 00135C98 AFA3001C */ sw $3, 0x1c($29)
/* 0CD74C 00135C9C 240400A0 */ li $4, 160
/* 0CD750 00135CA0 24050078 */ li $5, 120
/* 0CD754 00135CA4 3C03800A */ lui $3, %hi(D_8009A66C) # $3, 0x800a
/* 0CD758 00135CA8 2463A66C */ addiu $3, %lo(D_8009A66C) # addiu $3, $3, -0x5994
/* 0CD75C 00135CAC 461CC002 */ mul.s $f0, $f24, $f28
/* 0CD760 00135CB0 00000000 */ nop
/* 0CD764 00135CB4 8C620000 */ lw $2, ($3)
/* 0CD768 00135CB8 4406C000 */ mfc1 $6, $f24
/* 0CD76C 00135CBC 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD770 00135CC0 44811000 */ mtc1 $1, $f2
/* 0CD774 00135CC4 0040402D */ move $8, $2
/* 0CD778 00135CC8 24420008 */ addiu $2, $2, 8
/* 0CD77C 00135CCC AC620000 */ sw $2, ($3)
/* 0CD780 00135CD0 3C02DE00 */ lui $2, 0xde00
/* 0CD784 00135CD4 AD020000 */ sw $2, ($8)
/* 0CD788 00135CD8 3C028015 */ lui $2, %hi(D_8014E670) # $2, 0x8015
/* 0CD78C 00135CDC 2442E670 */ addiu $2, %lo(D_8014E670) # addiu $2, $2, -0x1990
/* 0CD790 00135CE0 0804DC51 */ j func_00137144
/* 0CD794 00135CE4 0260382D */ move $7, $19
/* 0CD798 00135CE8 240400A0 */ li $4, 160
/* 0CD79C 00135CEC 24050078 */ li $5, 120
/* 0CD7A0 00135CF0 0260382D */ move $7, $19
/* 0CD7A4 00135CF4 3C03800A */ lui $3, %hi(D_8009A66C) # $3, 0x800a
/* 0CD7A8 00135CF8 2463A66C */ addiu $3, %lo(D_8009A66C) # addiu $3, $3, -0x5994
/* 0CD7AC 00135CFC 461CC002 */ mul.s $f0, $f24, $f28
/* 0CD7B0 00135D00 00000000 */ nop
/* 0CD7B4 00135D04 8C620000 */ lw $2, ($3)
/* 0CD7B8 00135D08 4406C000 */ mfc1 $6, $f24
/* 0CD7BC 00135D0C 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD7C0 00135D10 44811000 */ mtc1 $1, $f2
/* 0CD7C4 00135D14 0040402D */ move $8, $2
/* 0CD7C8 00135D18 24420008 */ addiu $2, $2, 8
/* 0CD7CC 00135D1C AC620000 */ sw $2, ($3)
/* 0CD7D0 00135D20 3C038007 */ lui $3, %hi(D_80077410) # $3, 0x8007
/* 0CD7D4 00135D24 8C637410 */ lw $3, %lo(D_80077410)($3)
/* 0CD7D8 00135D28 3C02DE00 */ lui $2, 0xde00
/* 0CD7DC 00135D2C AD020000 */ sw $2, ($8)
/* 0CD7E0 00135D30 3C028015 */ lui $2, %hi(D_8014E6C0) # $2, 0x8015
/* 0CD7E4 00135D34 2442E6C0 */ addiu $2, %lo(D_8014E6C0) # addiu $2, $2, -0x1940
/* 0CD7E8 00135D38 AD020004 */ sw $2, 4($8)
/* 0CD7EC 00135D3C AFB40010 */ sw $20, 0x10($29)
/* 0CD7F0 00135D40 AFB50014 */ sw $21, 0x14($29)
/* 0CD7F4 00135D44 0804DC56 */ j func_00137158
/* 0CD7F8 00135D48 AFA3001C */ sw $3, 0x1c($29)
/* 0CD7FC 00135D4C 240400A0 */ li $4, 160
/* 0CD800 00135D50 24050078 */ li $5, 120
/* 0CD804 00135D54 0260382D */ move $7, $19
/* 0CD808 00135D58 3C03800A */ lui $3, %hi(D_8009A66C) # $3, 0x800a
/* 0CD80C 00135D5C 2463A66C */ addiu $3, %lo(D_8009A66C) # addiu $3, $3, -0x5994
/* 0CD810 00135D60 461CC002 */ mul.s $f0, $f24, $f28
/* 0CD814 00135D64 00000000 */ nop
/* 0CD818 00135D68 8C620000 */ lw $2, ($3)
/* 0CD81C 00135D6C 4406C000 */ mfc1 $6, $f24
/* 0CD820 00135D70 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD824 00135D74 44811000 */ mtc1 $1, $f2
/* 0CD828 00135D78 0040402D */ move $8, $2
/* 0CD82C 00135D7C 24420008 */ addiu $2, $2, 8
/* 0CD830 00135D80 AC620000 */ sw $2, ($3)
/* 0CD834 00135D84 3C02DE00 */ lui $2, 0xde00
/* 0CD838 00135D88 AD020000 */ sw $2, ($8)
/* 0CD83C 00135D8C 3C028015 */ lui $2, %hi(D_8014E6C0) # $2, 0x8015
/* 0CD840 00135D90 2442E6C0 */ addiu $2, %lo(D_8014E6C0) # addiu $2, $2, -0x1940
/* 0CD844 00135D94 AD020004 */ sw $2, 4($8)
/* 0CD848 00135D98 2402FFFF */ li $2, -1
/* 0CD84C 00135D9C AFB40010 */ sw $20, 0x10($29)
/* 0CD850 00135DA0 AFB50014 */ sw $21, 0x14($29)
/* 0CD854 00135DA4 AFA2001C */ sw $2, 0x1c($29)
/* 0CD858 00135DA8 46020003 */ div.s $f0, $f0, $f2
/* 0CD85C 00135DAC 4600020D */ trunc.w.s $f8, $f0
/* 0CD860 00135DB0 0C04E7C4 */ jal func_00139F10
/* 0CD864 00135DB4 E7A80018 */ swc1 $f8, 0x18($29)
/* 0CD868 00135DB8 0804DF41 */ j func_00137D04
/* 0CD86C 00135DBC 3C06DA38 */ lui $6, 0xda38
/* 0CD870 00135DC0 0220202D */ move $4, $17
/* 0CD874 00135DC4 0240282D */ move $5, $18
/* 0CD878 00135DC8 0000382D */ move $7, $0
/* 0CD87C 00135DCC 3C03800A */ lui $3, %hi(D_8009A66C) # $3, 0x800a
/* 0CD880 00135DD0 2463A66C */ addiu $3, %lo(D_8009A66C) # addiu $3, $3, -0x5994
/* 0CD884 00135DD4 8C620000 */ lw $2, ($3)
/* 0CD888 00135DD8 4406C000 */ mfc1 $6, $f24
/* 0CD88C 00135DDC 0040402D */ move $8, $2
/* 0CD890 00135DE0 24420008 */ addiu $2, $2, 8
/* 0CD894 00135DE4 AC620000 */ sw $2, ($3)
/* 0CD898 00135DE8 3C038007 */ lui $3, %hi(D_80077410) # $3, 0x8007
/* 0CD89C 00135DEC 8C637410 */ lw $3, %lo(D_80077410)($3)
/* 0CD8A0 00135DF0 3C02DE00 */ lui $2, 0xde00
/* 0CD8A4 00135DF4 AD020000 */ sw $2, ($8)
/* 0CD8A8 00135DF8 3C028015 */ lui $2, %hi(D_8014E618) # $2, 0x8015
/* 0CD8AC 00135DFC 2442E618 */ addiu $2, %lo(D_8014E618) # addiu $2, $2, -0x19e8
/* 0CD8B0 00135E00 AD020004 */ sw $2, 4($8)
/* 0CD8B4 00135E04 AFA00010 */ sw $0, 0x10($29)
/* 0CD8B8 00135E08 AFA00014 */ sw $0, 0x14($29)
/* 0CD8BC 00135E0C AFA00018 */ sw $0, 0x18($29)
/* 0CD8C0 00135E10 0C04E7C4 */ jal func_00139F10
/* 0CD8C4 00135E14 AFA3001C */ sw $3, 0x1c($29)
/* 0CD8C8 00135E18 0804DF41 */ j func_00137D04
/* 0CD8CC 00135E1C 3C06DA38 */ lui $6, 0xda38
/* 0CD8D0 00135E20 0220202D */ move $4, $17
/* 0CD8D4 00135E24 0240282D */ move $5, $18
/* 0CD8D8 00135E28 0000382D */ move $7, $0
/* 0CD8DC 00135E2C 3C03800A */ lui $3, %hi(D_8009A66C) # $3, 0x800a
/* 0CD8E0 00135E30 2463A66C */ addiu $3, %lo(D_8009A66C) # addiu $3, $3, -0x5994
/* 0CD8E4 00135E34 8C620000 */ lw $2, ($3)
/* 0CD8E8 00135E38 4406C000 */ mfc1 $6, $f24
/* 0CD8EC 00135E3C 0040402D */ move $8, $2
/* 0CD8F0 00135E40 24420008 */ addiu $2, $2, 8
/* 0CD8F4 00135E44 AC620000 */ sw $2, ($3)
/* 0CD8F8 00135E48 3C02DE00 */ lui $2, 0xde00
/* 0CD8FC 00135E4C AD020000 */ sw $2, ($8)
/* 0CD900 00135E50 3C028015 */ lui $2, %hi(D_8014E618) # $2, 0x8015
/* 0CD904 00135E54 2442E618 */ addiu $2, %lo(D_8014E618) # addiu $2, $2, -0x19e8
/* 0CD908 00135E58 AD020004 */ sw $2, 4($8)
/* 0CD90C 00135E5C 2402FFFF */ li $2, -1
/* 0CD910 00135E60 AFA00010 */ sw $0, 0x10($29)
/* 0CD914 00135E64 AFA00014 */ sw $0, 0x14($29)
/* 0CD918 00135E68 AFA00018 */ sw $0, 0x18($29)
/* 0CD91C 00135E6C 0C04E7C4 */ jal func_00139F10
/* 0CD920 00135E70 AFA2001C */ sw $2, 0x1c($29)
/* 0CD924 00135E74 0804DF41 */ j func_00137D04
/* 0CD928 00135E78 3C06DA38 */ lui $6, 0xda38
/* 0CD92C 00135E7C 3C15DA38 */ lui $21, (0xDA380002 >> 16) # lui $21, 0xda38
/* 0CD930 00135E80 36B50002 */ ori $21, (0xDA380002 & 0xFFFF) # ori $21, $21, 2
/* 0CD934 00135E84 3C14DA38 */ lui $20, (0xDA380001 >> 16) # lui $20, 0xda38
/* 0CD938 00135E88 36940001 */ ori $20, (0xDA380001 & 0xFFFF) # ori $20, $20, 1
/* 0CD93C 00135E8C 3C16D838 */ lui $22, (0xD8380002 >> 16) # lui $22, 0xd838
/* 0CD940 00135E90 36D60002 */ ori $22, (0xD8380002 & 0xFFFF) # ori $22, $22, 2
/* 0CD944 00135E94 3C118007 */ lui $17, %hi(D_800741F0) # $17, 0x8007
/* 0CD948 00135E98 263141F0 */ addiu $17, %lo(D_800741F0) # addiu $17, $17, 0x41f0
/* 0CD94C 00135E9C 4600C20D */ trunc.w.s $f8, $f24
/* 0CD950 00135EA0 44104000 */ mfc1 $16, $f8
/* 0CD954 00135EA4 96240000 */ lhu $4, ($17)
/* 0CD958 00135EA8 3C0542A0 */ lui $5, 0x42a0
/* 0CD95C 00135EAC 3C0142F0 */ li $1, 0x42F00000 # 120.000000
/* 0CD960 00135EB0 4481E000 */ mtc1 $1, $f28
/* 0CD964 00135EB4 4480B000 */ mtc1 $0, $f22
/* 0CD968 00135EB8 00042180 */ sll $4, $4, 6
/* 0CD96C 00135EBC 4406E000 */ mfc1 $6, $f28
/* 0CD970 00135EC0 4407B000 */ mfc1 $7, $f22
/* 0CD974 00135EC4 0C019E08 */ jal func_00067820
/* 0CD978 00135EC8 03C42021 */ addu $4, $30, $4
/* 0CD97C 00135ECC 3C12800A */ lui $18, %hi(D_8009A66C) # $18, 0x800a
/* 0CD980 00135ED0 2652A66C */ addiu $18, %lo(D_8009A66C) # addiu $18, $18, -0x5994
/* 0CD984 00135ED4 00108400 */ sll $16, $16, 0x10
/* 0CD988 00135ED8 00108403 */ sra $16, $16, 0x10
/* 0CD98C 00135EDC 4490C000 */ mtc1 $16, $f24
D_00135EE0:
/* 0CD990 00135EE0 00000000 */ nop
/* 0CD994 00135EE4 4680C620 */ cvt.s.w $f24, $f24
/* 0CD998 00135EE8 3C013F80 */ li $1, 0x3F800000 # 1.000000
func_00135EEC:
/* 0CD99C 00135EEC 4481D000 */ mtc1 $1, $f26
/* 0CD9A0 00135EF0 8E420000 */ lw $2, ($18)
/* 0CD9A4 00135EF4 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CD9A8 00135EF8 4481A000 */ mtc1 $1, $f20
/* 0CD9AC 00135EFC 3C018015 */ lui $1, 0x8015
/* 0CD9B0 00135F00 D4200ED8 */ ldc1 $f0, 0xed8($1)
/* 0CD9B4 00135F04 0040202D */ move $4, $2
/* 0CD9B8 00135F08 4614C503 */ div.s $f20, $f24, $f20
/* 0CD9BC 00135F0C 24420008 */ addiu $2, $2, 8
/* 0CD9C0 00135F10 AE420000 */ sw $2, ($18)
/* 0CD9C4 00135F14 96220000 */ lhu $2, ($17)
/* 0CD9C8 00135F18 4614D501 */ sub.s $f20, $f26, $f20
/* 0CD9CC 00135F1C AC950000 */ sw $21, ($4)
/* 0CD9D0 00135F20 24430001 */ addiu $3, $2, 1
/* 0CD9D4 00135F24 3042FFFF */ andi $2, $2, 0xffff
/* 0CD9D8 00135F28 4600A521 */ cvt.d.s $f20, $f20
/* 0CD9DC 00135F2C 4620A502 */ mul.d $f20, $f20, $f0
/* 0CD9E0 00135F30 00000000 */ nop
/* 0CD9E4 00135F34 00021180 */ sll $2, $2, 6
/* 0CD9E8 00135F38 03C21021 */ addu $2, $30, $2
/* 0CD9EC 00135F3C A6230000 */ sh $3, ($17)
/* 0CD9F0 00135F40 AC820004 */ sw $2, 4($4)
/* 0CD9F4 00135F44 96240000 */ lhu $4, ($17)
/* 0CD9F8 00135F48 4407D000 */ mfc1 $7, $f26
/* 0CD9FC 00135F4C 00042180 */ sll $4, $4, 6
/* 0CDA00 00135F50 4620A520 */ cvt.s.d $f20, $f20
/* 0CDA04 00135F54 4405A000 */ mfc1 $5, $f20
/* 0CDA08 00135F58 4406A000 */ mfc1 $6, $f20
/* 0CDA0C 00135F5C 0C019DC0 */ jal func_00067700
/* 0CDA10 00135F60 03C42021 */ addu $4, $30, $4
/* 0CDA14 00135F64 8E430000 */ lw $3, ($18)
/* 0CDA18 00135F68 4406B000 */ mfc1 $6, $f22
/* 0CDA1C 00135F6C 96220000 */ lhu $2, ($17)
/* 0CDA20 00135F70 3C013F00 */ li $1, 0x3F000000 # 0.500000
/* 0CDA24 00135F74 44810000 */ mtc1 $1, $f0
/* 0CDA28 00135F78 0060202D */ move $4, $3
/* 0CDA2C 00135F7C 24630008 */ addiu $3, $3, 8
/* 0CDA30 00135F80 AE430000 */ sw $3, ($18)
/* 0CDA34 00135F84 24430001 */ addiu $3, $2, 1
/* 0CDA38 00135F88 3042FFFF */ andi $2, $2, 0xffff
/* 0CDA3C 00135F8C 00021180 */ sll $2, $2, 6
/* 0CDA40 00135F90 03C21021 */ addu $2, $30, $2
/* 0CDA44 00135F94 4600C602 */ mul.s $f24, $f24, $f0
/* 0CDA48 00135F98 00000000 */ nop
/* 0CDA4C 00135F9C AC940000 */ sw $20, ($4)
/* 0CDA50 00135FA0 A6230000 */ sh $3, ($17)
/* 0CDA54 00135FA4 AC820004 */ sw $2, 4($4)
/* 0CDA58 00135FA8 E7BA0010 */ swc1 $f26, 0x10($29)
/* 0CDA5C 00135FAC 96240000 */ lhu $4, ($17)
/* 0CDA60 00135FB0 4407B000 */ mfc1 $7, $f22
/* 0CDA64 00135FB4 00042180 */ sll $4, $4, 6
/* 0CDA68 00135FB8 4405C000 */ mfc1 $5, $f24
/* 0CDA6C 00135FBC 0C019F20 */ jal func_00067C80
/* 0CDA70 00135FC0 03C42021 */ addu $4, $30, $4
/* 0CDA74 00135FC4 3C13DE00 */ lui $19, 0xde00
/* 0CDA78 00135FC8 8E480000 */ lw $8, ($18)
/* 0CDA7C 00135FCC 3C054370 */ lui $5, %hi(D_43700004) # $5, 0x4370
/* 0CDA80 00135FD0 4406E000 */ mfc1 $6, $f28
/* 0CDA84 00135FD4 4407B000 */ mfc1 $7, $f22
/* 0CDA88 00135FD8 96220000 */ lhu $2, ($17)
/* 0CDA8C 00135FDC 0100202D */ move $4, $8
/* 0CDA90 00135FE0 25080008 */ addiu $8, $8, 8
/* 0CDA94 00135FE4 24430001 */ addiu $3, $2, 1
/* 0CDA98 00135FE8 3042FFFF */ andi $2, $2, 0xffff
/* 0CDA9C 00135FEC 00021180 */ sll $2, $2, 6
/* 0CDAA0 00135FF0 03C21021 */ addu $2, $30, $2
/* 0CDAA4 00135FF4 AE480000 */ sw $8, ($18)
/* 0CDAA8 00135FF8 AC940000 */ sw $20, ($4)
/* 0CDAAC 00135FFC A6230000 */ sh $3, ($17)
/* 0CDAB0 00136000 AC820004 */ sw $2, 4($4)
/* 0CDAB4 00136004 25020008 */ addiu $2, $8, 8
/* 0CDAB8 00136008 3C0B8015 */ lui $11, %hi(D_8014E8F0) # $11, 0x8015
/* 0CDABC 0013600C 256BE8F0 */ addiu $11, %lo(D_8014E8F0) # addiu $11, $11, -0x1710
/* 0CDAC0 00136010 AE420000 */ sw $2, ($18)
/* 0CDAC4 00136014 25020010 */ addiu $2, $8, 0x10
/* 0CDAC8 00136018 AD130000 */ sw $19, ($8)
/* 0CDACC 0013601C AD0B0004 */ sw $11, 4($8)
/* 0CDAD0 00136020 AE420000 */ sw $2, ($18)
/* 0CDAD4 00136024 AD160008 */ sw $22, 8($8)
/* 0CDAD8 00136028 96240000 */ lhu $4, ($17)
/* 0CDADC 0013602C 24100040 */ li $16, 64
/* 0CDAE0 00136030 AD10000C */ sw $16, 0xc($8)
/* 0CDAE4 00136034 00042180 */ sll $4, $4, 6
/* 0CDAE8 00136038 0C019E08 */ jal func_00067820
/* 0CDAEC 0013603C 03C42021 */ addu $4, $30, $4
/* 0CDAF0 00136040 8E430000 */ lw $3, ($18)
/* 0CDAF4 00136044 4405A000 */ mfc1 $5, $f20
/* 0CDAF8 00136048 4407D000 */ mfc1 $7, $f26
/* 0CDAFC 0013604C 96220000 */ lhu $2, ($17)
/* 0CDB00 00136050 00A0302D */ move $6, $5
/* 0CDB04 00136054 0060402D */ move $8, $3
/* 0CDB08 00136058 24630008 */ addiu $3, $3, 8
/* 0CDB0C 0013605C AE430000 */ sw $3, ($18)
/* 0CDB10 00136060 24430001 */ addiu $3, $2, 1
/* 0CDB14 00136064 3042FFFF */ andi $2, $2, 0xffff
/* 0CDB18 00136068 00021180 */ sll $2, $2, 6
/* 0CDB1C 0013606C AD150000 */ sw $21, ($8)
/* 0CDB20 00136070 A6230000 */ sh $3, ($17)
/* 0CDB24 00136074 3064FFFF */ andi $4, $3, 0xffff
/* 0CDB28 00136078 03C21021 */ addu $2, $30, $2
/* 0CDB2C 0013607C 00042180 */ sll $4, $4, 6
/* 0CDB30 00136080 03C42021 */ addu $4, $30, $4
/* 0CDB34 00136084 0C019DC0 */ jal func_00067700
/* 0CDB38 00136088 AD020004 */ sw $2, 4($8)
/* 0CDB3C 0013608C 8E430000 */ lw $3, ($18)
/* 0CDB40 00136090 4405C000 */ mfc1 $5, $f24
/* 0CDB44 00136094 4406B000 */ mfc1 $6, $f22
/* 0CDB48 00136098 4407B000 */ mfc1 $7, $f22
/* 0CDB4C 0013609C 96220000 */ lhu $2, ($17)
/* 0CDB50 001360A0 0060402D */ move $8, $3
/* 0CDB54 001360A4 24630008 */ addiu $3, $3, 8
/* 0CDB58 001360A8 AE430000 */ sw $3, ($18)
/* 0CDB5C 001360AC 24430001 */ addiu $3, $2, 1
/* 0CDB60 001360B0 3042FFFF */ andi $2, $2, 0xffff
/* 0CDB64 001360B4 00021180 */ sll $2, $2, 6
/* 0CDB68 001360B8 AD140000 */ sw $20, ($8)
/* 0CDB6C 001360BC A6230000 */ sh $3, ($17)
/* 0CDB70 001360C0 3064FFFF */ andi $4, $3, 0xffff
/* 0CDB74 001360C4 03C21021 */ addu $2, $30, $2
/* 0CDB78 001360C8 00042180 */ sll $4, $4, 6
/* 0CDB7C 001360CC 03C42021 */ addu $4, $30, $4
/* 0CDB80 001360D0 AD020004 */ sw $2, 4($8)
/* 0CDB84 001360D4 0C019F20 */ jal func_00067C80
/* 0CDB88 001360D8 E7BA0010 */ swc1 $f26, 0x10($29)
/* 0CDB8C 001360DC 8E480000 */ lw $8, ($18)
/* 0CDB90 001360E0 4405B000 */ mfc1 $5, $f22
/* 0CDB94 001360E4 96220000 */ lhu $2, ($17)
/* 0CDB98 001360E8 00A0302D */ move $6, $5
/* 0CDB9C 001360EC 00A0382D */ move $7, $5
/* 0CDBA0 001360F0 0100202D */ move $4, $8
/* 0CDBA4 001360F4 25080008 */ addiu $8, $8, 8
/* 0CDBA8 001360F8 24430001 */ addiu $3, $2, 1
/* 0CDBAC 001360FC 3042FFFF */ andi $2, $2, 0xffff
/* 0CDBB0 00136100 00021180 */ sll $2, $2, 6
/* 0CDBB4 00136104 03C21021 */ addu $2, $30, $2
/* 0CDBB8 00136108 AE480000 */ sw $8, ($18)
/* 0CDBBC 0013610C AC940000 */ sw $20, ($4)
/* 0CDBC0 00136110 A6230000 */ sh $3, ($17)
/* 0CDBC4 00136114 AC820004 */ sw $2, 4($4)
/* 0CDBC8 00136118 25020008 */ addiu $2, $8, 8
/* 0CDBCC 0013611C 3C0B8015 */ lui $11, %hi(D_8014E8F0) # $11, 0x8015
/* 0CDBD0 00136120 256BE8F0 */ addiu $11, %lo(D_8014E8F0) # addiu $11, $11, -0x1710
/* 0CDBD4 00136124 AE420000 */ sw $2, ($18)
/* 0CDBD8 00136128 AD130000 */ sw $19, ($8)
/* 0CDBDC 0013612C AD0B0004 */ sw $11, 4($8)
/* 0CDBE0 00136130 96240000 */ lhu $4, ($17)
/* 0CDBE4 00136134 25020010 */ addiu $2, $8, 0x10
/* 0CDBE8 00136138 AE420000 */ sw $2, ($18)
/* 0CDBEC 0013613C AD160008 */ sw $22, 8($8)
/* 0CDBF0 00136140 AD10000C */ sw $16, 0xc($8)
/* 0CDBF4 00136144 00042180 */ sll $4, $4, 6
/* 0CDBF8 00136148 0C019E08 */ jal func_00067820
/* 0CDBFC 0013614C 03C42021 */ addu $4, $30, $4
/* 0CDC00 00136150 8E440000 */ lw $4, ($18)
/* 0CDC04 00136154 96220000 */ lhu $2, ($17)
/* 0CDC08 00136158 0080282D */ move $5, $4
/* 0CDC0C 0013615C 24840008 */ addiu $4, $4, 8
/* 0CDC10 00136160 24430001 */ addiu $3, $2, 1
/* 0CDC14 00136164 3042FFFF */ andi $2, $2, 0xffff
/* 0CDC18 00136168 00021180 */ sll $2, $2, 6
/* 0CDC1C 0013616C 03C21021 */ addu $2, $30, $2
/* 0CDC20 00136170 AE440000 */ sw $4, ($18)
/* 0CDC24 00136174 ACB50000 */ sw $21, ($5)
/* 0CDC28 00136178 A6230000 */ sh $3, ($17)
/* 0CDC2C 0013617C ACA20004 */ sw $2, %lo(D_43700004)($5)
/* 0CDC30 00136180 24820008 */ addiu $2, $4, 8
/* 0CDC34 00136184 AE420000 */ sw $2, ($18)
/* 0CDC38 00136188 3C028015 */ lui $2, %hi(D_8014EA48) # $2, 0x8015
/* 0CDC3C 0013618C 2442EA48 */ addiu $2, %lo(D_8014EA48) # addiu $2, $2, -0x15b8
/* 0CDC40 00136190 AC820004 */ sw $2, 4($4)
/* 0CDC44 00136194 24820010 */ addiu $2, $4, 0x10
/* 0CDC48 00136198 AC930000 */ sw $19, ($4)
/* 0CDC4C 0013619C AE420000 */ sw $2, ($18)
/* 0CDC50 001361A0 AC960008 */ sw $22, 8($4)
/* 0CDC54 001361A4 0804DF40 */ j func_00137D00
/* 0CDC58 001361A8 AC90000C */ sw $16, 0xc($4)
/* 0CDC5C 001361AC 44914000 */ mtc1 $17, $f8
/* 0CDC60 001361B0 00000000 */ nop
/* 0CDC64 001361B4 46804220 */ cvt.s.w $f8, $f8
/* 0CDC68 001361B8 241300F0 */ li $19, 240
/* 0CDC6C 001361BC 02721023 */ subu $2, $19, $18
/* 0CDC70 001361C0 44054000 */ mfc1 $5, $f8
/* 0CDC74 001361C4 44824000 */ mtc1 $2, $f8
/* 0CDC78 001361C8 00000000 */ nop
/* 0CDC7C 001361CC 46804220 */ cvt.s.w $f8, $f8
/* 0CDC80 001361D0 3C15DA38 */ lui $21, (0xDA380002 >> 16) # lui $21, 0xda38
/* 0CDC84 001361D4 36B50002 */ ori $21, (0xDA380002 & 0xFFFF) # ori $21, $21, 2
/* 0CDC88 001361D8 3C14DA38 */ lui $20, (0xDA380001 >> 16) # lui $20, 0xda38
/* 0CDC8C 001361DC 36940001 */ ori $20, (0xDA380001 & 0xFFFF) # ori $20, $20, 1
/* 0CDC90 001361E0 3C0BD838 */ lui $11, (0xD8380002 >> 16) # lui $11, 0xd838
/* 0CDC94 001361E4 3C12800A */ lui $18, %hi(D_8009A66C) # $18, 0x800a
/* 0CDC98 001361E8 2652A66C */ addiu $18, %lo(D_8009A66C) # addiu $18, $18, -0x5994
/* 0CDC9C 001361EC 356B0002 */ ori $11, (0xD8380002 & 0xFFFF) # ori $11, $11, 2
/* 0CDCA0 001361F0 44064000 */ mfc1 $6, $f8
/* 0CDCA4 001361F4 8E420000 */ lw $2, ($18)
/* 0CDCA8 001361F8 4480B000 */ mtc1 $0, $f22
/* 0CDCAC 001361FC 3C118007 */ lui $17, %hi(D_800741F0) # $17, 0x8007
/* 0CDCB0 00136200 263141F0 */ addiu $17, %lo(D_800741F0) # addiu $17, $17, 0x41f0
/* 0CDCB4 00136204 AFAB0024 */ sw $11, 0x24($29)
/* 0CDCB8 00136208 96240000 */ lhu $4, ($17)
/* 0CDCBC 0013620C 0040182D */ move $3, $2
/* 0CDCC0 00136210 24420008 */ addiu $2, $2, 8
/* 0CDCC4 00136214 00042180 */ sll $4, $4, 6
/* 0CDCC8 00136218 03C42021 */ addu $4, $30, $4
/* 0CDCCC 0013621C 4407B000 */ mfc1 $7, $f22
/* 0CDCD0 00136220 3C0BFA00 */ lui $11, 0xfa00
/* 0CDCD4 00136224 AE420000 */ sw $2, ($18)
/* 0CDCD8 00136228 AC6B0000 */ sw $11, ($3)
/* 0CDCDC 0013622C 4600C20D */ trunc.w.s $f8, $f24
/* 0CDCE0 00136230 44104000 */ mfc1 $16, $f8
/* 0CDCE4 00136234 0C019E08 */ jal func_00067820
/* 0CDCE8 00136238 AC600004 */ sw $0, 4($3)
/* 0CDCEC 0013623C 00108400 */ sll $16, $16, 0x10
/* 0CDCF0 00136240 00108403 */ sra $16, $16, 0x10
/* 0CDCF4 00136244 4490A000 */ mtc1 $16, $f20
/* 0CDCF8 00136248 00000000 */ nop
/* 0CDCFC 0013624C 4680A520 */ cvt.s.w $f20, $f20
/* 0CDD00 00136250 3C013F80 */ li $1, 0x3F800000 # 1.000000
/* 0CDD04 00136254 4481C000 */ mtc1 $1, $f24
/* 0CDD08 00136258 8E420000 */ lw $2, ($18)
/* 0CDD0C 0013625C 3C01437F */ li $1, 0x437F0000 # 255.000000
/* 0CDD10 00136260 44810000 */ mtc1 $1, $f0
/* 0CDD14 00136264 0040202D */ move $4, $2
/* 0CDD18 00136268 4600A503 */ div.s $f20, $f20, $f0
/* 0CDD1C 0013626C 3C018015 */ lui $1, 0x8015
/* 0CDD20 00136270 D4200EE0 */ ldc1 $f0, 0xee0($1)
/* 0CDD24 00136274 24420008 */ addiu $2, $2, 8
/* 0CDD28 00136278 AE420000 */ sw $2, ($18)
/* 0CDD2C 0013627C 96220000 */ lhu $2, ($17)
/* 0CDD30 00136280 4614C501 */ sub.s $f20, $f24, $f20
/* 0CDD34 00136284 AC950000 */ sw $21, ($4)
/* 0CDD38 00136288 24430001 */ addiu $3, $2, 1
/* 0CDD3C 0013628C 3042FFFF */ andi $2, $2, 0xffff
/* 0CDD40 00136290 4600A521 */ cvt.d.s $f20, $f20
/* 0CDD44 00136294 4620A502 */ mul.d $f20, $f20, $f0
/* 0CDD48 00136298 00000000 */ nop
/* 0CDD4C 0013629C 00021180 */ sll $2, $2, 6
/* 0CDD50 001362A0 03C21021 */ addu $2, $30, $2
/* 0CDD54 001362A4 A6230000 */ sh $3, ($17)
/* 0CDD58 001362A8 AC820004 */ sw $2, 4($4)
/* 0CDD5C 001362AC 96240000 */ lhu $4, ($17)
/* 0CDD60 001362B0 4407C000 */ mfc1 $7, $f24
/* 0CDD64 001362B4 00042180 */ sll $4, $4, 6
/* 0CDD68 001362B8 4620A520 */ cvt.s.d $f20, $f20
/* 0CDD6C 001362BC 4405A000 */ mfc1 $5, $f20
/* 0CDD70 001362C0 4406A000 */ mfc1 $6, $f20
/* 0CDD74 001362C4 0C019DC0 */ jal func_00067700
/* 0CDD78 001362C8 03C42021 */ addu $4, $30, $4
/* 0CDD7C 001362CC 00108023 */ negu $16, $16
/* 0CDD80 001362D0 4490D000 */ mtc1 $16, $f26
/* 0CDD84 001362D4 00000000 */ nop
/* 0CDD88 001362D8 4680D6A0 */ cvt.s.w $f26, $f26
/* 0CDD8C 001362DC 8E430000 */ lw $3, ($18)
/* 0CDD90 001362E0 4405D000 */ mfc1 $5, $f26
/* 0CDD94 001362E4 4406B000 */ mfc1 $6, $f22
/* 0CDD98 001362E8 4407B000 */ mfc1 $7, $f22
/* 0CDD9C 001362EC 96220000 */ lhu $2, ($17)
/* 0CDDA0 001362F0 0060402D */ move $8, $3
/* 0CDDA4 001362F4 24630008 */ addiu $3, $3, 8
/* 0CDDA8 001362F8 AE430000 */ sw $3, ($18)
/* 0CDDAC 001362FC 24430001 */ addiu $3, $2, 1
/* 0CDDB0 00136300 3042FFFF */ andi $2, $2, 0xffff
/* 0CDDB4 00136304 00021180 */ sll $2, $2, 6
/* 0CDDB8 00136308 AD140000 */ sw $20, ($8)
/* 0CDDBC 0013630C A6230000 */ sh $3, ($17)
/* 0CDDC0 00136310 3064FFFF */ andi $4, $3, 0xffff
/* 0CDDC4 00136314 03C21021 */ addu $2, $30, $2
/* 0CDDC8 00136318 00042180 */ sll $4, $4, 6
/* 0CDDCC 0013631C 03C42021 */ addu $4, $30, $4