diff --git a/ld/gamefiles.inc b/ld/gamefiles.inc index 5e9c33c00..b5c3c268d 100644 --- a/ld/gamefiles.inc +++ b/ld/gamefiles.inc @@ -21,6 +21,7 @@ build/ROMID/game/stubs/game_00b200.o (section); \ build/ROMID/game/game_00b210.o (section); \ build/ROMID/game/game_00b320.o (section); \ + build/ROMID/game/game_00b420.o (section); \ build/ROMID/game/game_00b480.o (section); \ build/ROMID/game/game_00b820.o (section); \ build/ROMID/game/game_00c240.o (section); \ diff --git a/src/game/chr/chr.c b/src/game/chr/chr.c index ce1c51505..4c3b2de74 100644 --- a/src/game/chr/chr.c +++ b/src/game/chr/chr.c @@ -2744,7 +2744,11 @@ void func0f0211a8(f32 arg0) for (i = 0; i < g_NumChrSlots; i++) { if (g_ChrSlots[i].model) { +#if PAL + modelSetAnimPlaySpeed(g_ChrSlots[i].model, var80062968 * 1.2f, 600); +#else modelSetAnimPlaySpeed(g_ChrSlots[i].model, var80062968, 600); +#endif } } } @@ -4277,6 +4281,1421 @@ bool propchrDoFireslotThing(struct prop *prop) return false; } +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel func0f023098 +/* f0231d4: 27bdfdb0 */ addiu $sp,$sp,-592 +/* f0231d8: 3c0f8006 */ lui $t7,0x8006 +/* f0231dc: 25ef26dc */ addiu $t7,$t7,0x26dc +/* f0231e0: afbf0024 */ sw $ra,0x24($sp) +/* f0231e4: afb00020 */ sw $s0,0x20($sp) +/* f0231e8: afa40250 */ sw $a0,0x250($sp) +/* f0231ec: 25e8003c */ addiu $t0,$t7,0x3c +/* f0231f0: 27ae0210 */ addiu $t6,$sp,0x210 +.PF0f0231f4: +/* f0231f4: 8de10000 */ lw $at,0x0($t7) +/* f0231f8: 25ef000c */ addiu $t7,$t7,0xc +/* f0231fc: 25ce000c */ addiu $t6,$t6,0xc +/* f023200: adc1fff4 */ sw $at,-0xc($t6) +/* f023204: 8de1fff8 */ lw $at,-0x8($t7) +/* f023208: adc1fff8 */ sw $at,-0x8($t6) +/* f02320c: 8de1fffc */ lw $at,-0x4($t7) +/* f023210: 15e8fff8 */ bne $t7,$t0,.PF0f0231f4 +/* f023214: adc1fffc */ sw $at,-0x4($t6) +/* f023218: 8de10000 */ lw $at,0x0($t7) +/* f02321c: 3c0c800a */ lui $t4,0x800a +/* f023220: 240b0001 */ li $t3,0x1 +/* f023224: adc10000 */ sw $at,0x0($t6) +/* f023228: 8fa90250 */ lw $t1,0x250($sp) +/* f02322c: 8d8ca544 */ lw $t4,-0x5abc($t4) +/* f023230: 24080001 */ li $t0,0x1 +/* f023234: 8d300004 */ lw $s0,0x4($t1) +/* f023238: 8e0a0020 */ lw $t2,0x20($s0) +/* f02323c: afab0200 */ sw $t3,0x200($sp) +/* f023240: afa001f0 */ sw $zero,0x1f0($sp) +/* f023244: afac01fc */ sw $t4,0x1fc($sp) +/* f023248: 12000004 */ beqz $s0,.PF0f02325c +/* f02324c: afaa0208 */ sw $t2,0x208($sp) +/* f023250: 920d02fe */ lbu $t5,0x2fe($s0) +/* f023254: 10000002 */ b .PF0f023260 +/* f023258: afad01ec */ sw $t5,0x1ec($sp) +.PF0f02325c: +/* f02325c: afa001ec */ sw $zero,0x1ec($sp) +.PF0f023260: +/* f023260: 8fb90250 */ lw $t9,0x250($sp) +/* f023264: 3c0c800a */ lui $t4,0x800a +/* f023268: 93220001 */ lbu $v0,0x1($t9) +/* f02326c: 30580008 */ andi $t8,$v0,0x8 +/* f023270: 13000003 */ beqz $t8,.PF0f023280 +/* f023274: 304ffff7 */ andi $t7,$v0,0xfff7 +/* f023278: afa801f0 */ sw $t0,0x1f0($sp) +/* f02327c: a32f0001 */ sb $t7,0x1($t9) +.PF0f023280: +/* f023280: 8fae01f0 */ lw $t6,0x1f0($sp) +/* f023284: 51c000b7 */ beqzl $t6,.PF0f023564 +/* f023288: 8fab01ec */ lw $t3,0x1ec($sp) +/* f02328c: 92020291 */ lbu $v0,0x291($s0) +/* f023290: 18400007 */ blez $v0,.PF0f0232b0 +/* f023294: 00000000 */ nop +/* f023298: 8e090014 */ lw $t1,0x14($s0) +/* f02329c: 244bffff */ addiu $t3,$v0,-1 +/* f0232a0: 312a0010 */ andi $t2,$t1,0x10 +/* f0232a4: 15400002 */ bnez $t2,.PF0f0232b0 +/* f0232a8: 00000000 */ nop +/* f0232ac: a20b0291 */ sb $t3,0x291($s0) +.PF0f0232b0: +/* f0232b0: 8d8ca9dc */ lw $t4,-0x5624($t4) +/* f0232b4: 51800006 */ beqzl $t4,.PF0f0232d0 +/* f0232b8: 860d02d8 */ lh $t5,0x2d8($s0) +/* f0232bc: 44802000 */ mtc1 $zero,$f4 +/* f0232c0: a20002e0 */ sb $zero,0x2e0($s0) +/* f0232c4: 10000057 */ b .PF0f023424 +/* f0232c8: e60402dc */ swc1 $f4,0x2dc($s0) +/* f0232cc: 860d02d8 */ lh $t5,0x2d8($s0) +.PF0f0232d0: +/* f0232d0: 29a10342 */ slti $at,$t5,0x342 +/* f0232d4: 54200022 */ bnezl $at,.PF0f023360 +/* f0232d8: c60002dc */ lwc1 $f0,0x2dc($s0) +/* f0232dc: 82180007 */ lb $t8,0x7($s0) +/* f0232e0: 2401001f */ li $at,0x1f +/* f0232e4: 3c0f800a */ lui $t7,0x800a +/* f0232e8: 5301001d */ beql $t8,$at,.PF0f023360 +/* f0232ec: c60002dc */ lwc1 $f0,0x2dc($s0) +/* f0232f0: 8defa544 */ lw $t7,-0x5abc($t7) +/* f0232f4: 920802e0 */ lbu $t0,0x2e0($s0) +/* f0232f8: 3c014f80 */ lui $at,0x4f80 +/* f0232fc: 000fc843 */ sra $t9,$t7,0x1 +/* f023300: 01197021 */ addu $t6,$t0,$t9 +/* f023304: 31c900ff */ andi $t1,$t6,0xff +/* f023308: 44893000 */ mtc1 $t1,$f6 +/* f02330c: a20e02e0 */ sb $t6,0x2e0($s0) +/* f023310: 05210004 */ bgez $t1,.PF0f023324 +/* f023314: 46803220 */ cvt.s.w $f8,$f6 +/* f023318: 44815000 */ mtc1 $at,$f10 +/* f02331c: 00000000 */ nop +/* f023320: 460a4200 */ add.s $f8,$f8,$f10 +.PF0f023324: +/* f023324: 3c01437f */ lui $at,0x437f +/* f023328: 44819000 */ mtc1 $at,$f18 +/* f02332c: 3c017f1b */ lui $at,0x7f1b +/* f023330: c42699d0 */ lwc1 $f6,-0x6630($at) +/* f023334: 46124103 */ div.s $f4,$f8,$f18 +/* f023338: 46062302 */ mul.s $f12,$f4,$f6 +/* f02333c: 0c006858 */ jal 0x1a160 +/* f023340: 00000000 */ nop +/* f023344: 3c0141a0 */ lui $at,0x41a0 +/* f023348: 44815000 */ mtc1 $at,$f10 +/* f02334c: 00000000 */ nop +/* f023350: 460a0202 */ mul.s $f8,$f0,$f10 +/* f023354: 10000033 */ b .PF0f023424 +/* f023358: e60802dc */ swc1 $f8,0x2dc($s0) +/* f02335c: c60002dc */ lwc1 $f0,0x2dc($s0) +.PF0f023360: +/* f023360: 44809000 */ mtc1 $zero,$f18 +/* f023364: 00000000 */ nop +/* f023368: 46009032 */ c.eq.s $f18,$f0 +/* f02336c: 00000000 */ nop +/* f023370: 4501002c */ bc1t .PF0f023424 +/* f023374: 00000000 */ nop +/* f023378: 44802000 */ mtc1 $zero,$f4 +/* f02337c: a20002e0 */ sb $zero,0x2e0($s0) +/* f023380: 3c017f1b */ lui $at,0x7f1b +/* f023384: 4600203c */ c.lt.s $f4,$f0 +/* f023388: 00000000 */ nop +/* f02338c: 45020011 */ bc1fl .PF0f0233d4 +/* f023390: 44804000 */ mtc1 $zero,$f8 +/* f023394: c42699d4 */ lwc1 $f6,-0x662c($at) +/* f023398: 3c01800a */ lui $at,0x800a +/* f02339c: c42aa55c */ lwc1 $f10,-0x5aa4($at) +/* f0233a0: 460a3202 */ mul.s $f8,$f6,$f10 +/* f0233a4: 44803000 */ mtc1 $zero,$f6 +/* f0233a8: 46080481 */ sub.s $f18,$f0,$f8 +/* f0233ac: e61202dc */ swc1 $f18,0x2dc($s0) +/* f0233b0: c60402dc */ lwc1 $f4,0x2dc($s0) +/* f0233b4: 4606203c */ c.lt.s $f4,$f6 +/* f0233b8: 00000000 */ nop +/* f0233bc: 45000019 */ bc1f .PF0f023424 +/* f0233c0: 00000000 */ nop +/* f0233c4: 44805000 */ mtc1 $zero,$f10 +/* f0233c8: 10000016 */ b .PF0f023424 +/* f0233cc: e60a02dc */ swc1 $f10,0x2dc($s0) +/* f0233d0: 44804000 */ mtc1 $zero,$f8 +.PF0f0233d4: +/* f0233d4: 3c017f1b */ lui $at,0x7f1b +/* f0233d8: 4608003c */ c.lt.s $f0,$f8 +/* f0233dc: 00000000 */ nop +/* f0233e0: 45000010 */ bc1f .PF0f023424 +/* f0233e4: 00000000 */ nop +/* f0233e8: c43299d8 */ lwc1 $f18,-0x6628($at) +/* f0233ec: 3c01800a */ lui $at,0x800a +/* f0233f0: c424a55c */ lwc1 $f4,-0x5aa4($at) +/* f0233f4: 44804000 */ mtc1 $zero,$f8 +/* f0233f8: 46049182 */ mul.s $f6,$f18,$f4 +/* f0233fc: 46060280 */ add.s $f10,$f0,$f6 +/* f023400: e60a02dc */ swc1 $f10,0x2dc($s0) +/* f023404: c61202dc */ lwc1 $f18,0x2dc($s0) +/* f023408: 4612403c */ c.lt.s $f8,$f18 +/* f02340c: 00000000 */ nop +/* f023410: 45000004 */ bc1f .PF0f023424 +/* f023414: 00000000 */ nop +/* f023418: 44802000 */ mtc1 $zero,$f4 +/* f02341c: 00000000 */ nop +/* f023420: e60402dc */ swc1 $f4,0x2dc($s0) +.PF0f023424: +/* f023424: 0fc089d8 */ jal 0xf022760 +/* f023428: 02002025 */ move $a0,$s0 +/* f02342c: 0fc08ba7 */ jal 0xf022e9c +/* f023430: 02002025 */ move $a0,$s0 +/* f023434: 8e020018 */ lw $v0,0x18($s0) +/* f023438: 3c0c8006 */ lui $t4,0x8006 +/* f02343c: 304a0400 */ andi $t2,$v0,0x400 +/* f023440: 11400003 */ beqz $t2,.PF0f023450 +/* f023444: 00025b40 */ sll $t3,$v0,0xd +/* f023448: 05630039 */ bgezl $t3,.PF0f023530 +/* f02344c: 8e020014 */ lw $v0,0x14($s0) +.PF0f023450: +/* f023450: 8d8c264c */ lw $t4,0x264c($t4) +/* f023454: 3c048006 */ lui $a0,0x8006 +/* f023458: 11800022 */ beqz $t4,.PF0f0234e4 +/* f02345c: 00000000 */ nop +/* f023460: 0c008c25 */ jal 0x23094 +/* f023464: 84842652 */ lh $a0,0x2652($a0) +/* f023468: 10400025 */ beqz $v0,.PF0f023500 +/* f02346c: 00000000 */ nop +/* f023470: 0c0073c3 */ jal 0x1cf0c +/* f023474: 8fa40208 */ lw $a0,0x208($sp) +/* f023478: 3c038006 */ lui $v1,0x8006 +/* f02347c: 8c632650 */ lw $v1,0x2650($v1) +/* f023480: 5443000b */ bnel $v0,$v1,.PF0f0234b0 +/* f023484: 44800000 */ mtc1 $zero,$f0 +/* f023488: 0c0073c3 */ jal 0x1cf0c +/* f02348c: 8fa40208 */ lw $a0,0x208($sp) +/* f023490: 00022400 */ sll $a0,$v0,0x10 +/* f023494: 00046c03 */ sra $t5,$a0,0x10 +/* f023498: 0c008c25 */ jal 0x23094 +/* f02349c: 01a02025 */ move $a0,$t5 +/* f0234a0: 14400017 */ bnez $v0,.PF0f023500 +/* f0234a4: 3c038006 */ lui $v1,0x8006 +/* f0234a8: 8c632650 */ lw $v1,0x2650($v1) +/* f0234ac: 44800000 */ mtc1 $zero,$f0 +.PF0f0234b0: +/* f0234b0: 3c013f00 */ lui $at,0x3f00 +/* f0234b4: 44813000 */ mtc1 $at,$f6 +/* f0234b8: 00032c00 */ sll $a1,$v1,0x10 +/* f0234bc: 0005c403 */ sra $t8,$a1,0x10 +/* f0234c0: 44070000 */ mfc1 $a3,$f0 +/* f0234c4: 03002825 */ move $a1,$t8 +/* f0234c8: 8fa40208 */ lw $a0,0x208($sp) +/* f0234cc: 00003025 */ move $a2,$zero +/* f0234d0: e7a00014 */ swc1 $f0,0x14($sp) +/* f0234d4: 0c0076a7 */ jal 0x1da9c +/* f0234d8: e7a60010 */ swc1 $f6,0x10($sp) +/* f0234dc: 10000008 */ b .PF0f023500 +/* f0234e0: 00000000 */ nop +.PF0f0234e4: +/* f0234e4: 0fc11f8d */ jal 0xf047e34 +/* f0234e8: 02002025 */ move $a0,$s0 +/* f0234ec: 8e0f0020 */ lw $t7,0x20($s0) +/* f0234f0: 15e00003 */ bnez $t7,.PF0f023500 +/* f0234f4: 00000000 */ nop +/* f0234f8: 1000044e */ b .PF0f024634 +/* f0234fc: 24020001 */ li $v0,0x1 +.PF0f023500: +/* f023500: 3c088006 */ lui $t0,0x8006 +/* f023504: 8d082654 */ lw $t0,0x2654($t0) +/* f023508: 3c198006 */ lui $t9,0x8006 +/* f02350c: 51000008 */ beqzl $t0,.PF0f023530 +/* f023510: 8e020014 */ lw $v0,0x14($s0) +/* f023514: 8f392658 */ lw $t9,0x2658($t9) +/* f023518: afa001fc */ sw $zero,0x1fc($sp) +/* f02351c: 240e0001 */ li $t6,0x1 +/* f023520: 53200003 */ beqzl $t9,.PF0f023530 +/* f023524: 8e020014 */ lw $v0,0x14($s0) +/* f023528: afae01fc */ sw $t6,0x1fc($sp) +/* f02352c: 8e020014 */ lw $v0,0x14($s0) +.PF0f023530: +/* f023530: 30490020 */ andi $t1,$v0,0x20 +/* f023534: 1120000a */ beqz $t1,.PF0f023560 +/* f023538: 304a0001 */ andi $t2,$v0,0x1 +/* f02353c: 11400003 */ beqz $t2,.PF0f02354c +/* f023540: 8fa40250 */ lw $a0,0x250($sp) +/* f023544: 0fc1c248 */ jal 0xf070920 +/* f023548: 24050001 */ li $a1,0x1 +.PF0f02354c: +/* f02354c: 8fa40250 */ lw $a0,0x250($sp) +/* f023550: 0fc08399 */ jal 0xf020e64 +/* f023554: 24050001 */ li $a1,0x1 +/* f023558: 10000436 */ b .PF0f024634 +/* f02355c: 24020001 */ li $v0,0x1 +.PF0f023560: +/* f023560: 8fab01ec */ lw $t3,0x1ec($sp) +.PF0f023564: +/* f023564: 24010003 */ li $at,0x3 +/* f023568: 55610026 */ bnel $t3,$at,.PF0f023604 +/* f02356c: 8e020018 */ lw $v0,0x18($s0) +/* f023570: 0fc0f072 */ jal 0xf03c1c8 +/* f023574: 02002025 */ move $a0,$s0 +/* f023578: 1040001f */ beqz $v0,.PF0f0235f8 +/* f02357c: 00000000 */ nop +/* f023580: 904c0035 */ lbu $t4,0x35($v0) +/* f023584: 3c0d800a */ lui $t5,0x800a +/* f023588: 1180001b */ beqz $t4,.PF0f0235f8 +/* f02358c: 00000000 */ nop +/* f023590: 8dada794 */ lw $t5,-0x586c($t5) +/* f023594: 8db80480 */ lw $t8,0x480($t5) +/* f023598: 14580006 */ bne $v0,$t8,.PF0f0235b4 +/* f02359c: 00000000 */ nop +/* f0235a0: 804f0037 */ lb $t7,0x37($v0) +/* f0235a4: 11e00003 */ beqz $t7,.PF0f0235b4 +/* f0235a8: 00000000 */ nop +/* f0235ac: 10000009 */ b .PF0f0235d4 +/* f0235b0: 00003825 */ move $a3,$zero +.PF0f0235b4: +/* f0235b4: 0c006b44 */ jal 0x1ad10 +/* f0235b8: 8fa40208 */ lw $a0,0x208($sp) +/* f0235bc: 8fa40250 */ lw $a0,0x250($sp) +/* f0235c0: 44060000 */ mfc1 $a2,$f0 +/* f0235c4: 24070001 */ li $a3,0x1 +/* f0235c8: 0fc239f6 */ jal 0xf08e7d8 +/* f0235cc: 24850008 */ addiu $a1,$a0,0x8 +/* f0235d0: 00403825 */ move $a3,$v0 +.PF0f0235d4: +/* f0235d4: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f0235d8: 02002025 */ move $a0,$s0 +/* f0235dc: 8fa501fc */ lw $a1,0x1fc($sp) +/* f0235e0: 132001c9 */ beqz $t9,.PF0f023d08 +/* f0235e4: 24060001 */ li $a2,0x1 +/* f0235e8: 0fc0888a */ jal 0xf022228 +/* f0235ec: afa70204 */ sw $a3,0x204($sp) +/* f0235f0: 100001c5 */ b .PF0f023d08 +/* f0235f4: 8fa70204 */ lw $a3,0x204($sp) +.PF0f0235f8: +/* f0235f8: 100001c3 */ b .PF0f023d08 +/* f0235fc: 00003825 */ move $a3,$zero +/* f023600: 8e020018 */ lw $v0,0x18($s0) +.PF0f023604: +/* f023604: 304e0400 */ andi $t6,$v0,0x400 +/* f023608: 11c00003 */ beqz $t6,.PF0f023618 +/* f02360c: 00024a00 */ sll $t1,$v0,0x8 +/* f023610: 100001bd */ b .PF0f023d08 +/* f023614: 00003825 */ move $a3,$zero +.PF0f023618: +/* f023618: 05200017 */ bltz $t1,.PF0f023678 +/* f02361c: 8faa0250 */ lw $t2,0x250($sp) +/* f023620: 914b0000 */ lbu $t3,0x0($t2) +/* f023624: 24010006 */ li $at,0x6 +/* f023628: 55610068 */ bnel $t3,$at,.PF0f0237cc +/* f02362c: 82030007 */ lb $v1,0x7($s0) +/* f023630: 0fc4a513 */ jal 0xf12944c +/* f023634: 01402025 */ move $a0,$t2 +/* f023638: 00026080 */ sll $t4,$v0,0x2 +/* f02363c: 3c03800a */ lui $v1,0x800a +/* f023640: 006c1821 */ addu $v1,$v1,$t4 +/* f023644: 3c0d800a */ lui $t5,0x800a +/* f023648: 8dada794 */ lw $t5,-0x586c($t5) +/* f02364c: 8c63a574 */ lw $v1,-0x5a8c($v1) +/* f023650: 546d005e */ bnel $v1,$t5,.PF0f0237cc +/* f023654: 82030007 */ lb $v1,0x7($s0) +/* f023658: 8c780000 */ lw $t8,0x0($v1) +/* f02365c: 24010001 */ li $at,0x1 +/* f023660: 5701005a */ bnel $t8,$at,.PF0f0237cc +/* f023664: 82030007 */ lb $v1,0x7($s0) +/* f023668: 946f0010 */ lhu $t7,0x10($v1) +/* f02366c: 24010002 */ li $at,0x2 +/* f023670: 51e10056 */ beql $t7,$at,.PF0f0237cc +/* f023674: 82030007 */ lb $v1,0x7($s0) +.PF0f023678: +/* f023678: 8fa801f0 */ lw $t0,0x1f0($sp) +/* f02367c: 00003825 */ move $a3,$zero +/* f023680: 8fb90208 */ lw $t9,0x208($sp) +/* f023684: 5100001b */ beqzl $t0,.PF0f0236f4 +/* f023688: 8e030020 */ lw $v1,0x20($s0) +/* f02368c: 8f2e0020 */ lw $t6,0x20($t9) +/* f023690: 24010003 */ li $at,0x3 +/* f023694: 02002025 */ move $a0,$s0 +/* f023698: a1c0000b */ sb $zero,0xb($t6) +/* f02369c: 82090007 */ lb $t1,0x7($s0) +/* f0236a0: 8fa501fc */ lw $a1,0x1fc($sp) +/* f0236a4: 24060001 */ li $a2,0x1 +/* f0236a8: 1521000e */ bne $t1,$at,.PF0f0236e4 +/* f0236ac: 00000000 */ nop +/* f0236b0: 8e0b002c */ lw $t3,0x2c($s0) +/* f0236b4: 1560000b */ bnez $t3,.PF0f0236e4 +/* f0236b8: 00000000 */ nop +/* f0236bc: 8e0a003c */ lw $t2,0x3c($s0) +/* f0236c0: 11400008 */ beqz $t2,.PF0f0236e4 +/* f0236c4: 00000000 */ nop +/* f0236c8: 02002025 */ move $a0,$s0 +/* f0236cc: 8fa501fc */ lw $a1,0x1fc($sp) +/* f0236d0: 00003025 */ move $a2,$zero +/* f0236d4: 0fc0888a */ jal 0xf022228 +/* f0236d8: afa001a0 */ sw $zero,0x1a0($sp) +/* f0236dc: 10000004 */ b .PF0f0236f0 +/* f0236e0: 8fa701a0 */ lw $a3,0x1a0($sp) +.PF0f0236e4: +/* f0236e4: 0fc0888a */ jal 0xf022228 +/* f0236e8: afa701a0 */ sw $a3,0x1a0($sp) +/* f0236ec: 8fa701a0 */ lw $a3,0x1a0($sp) +.PF0f0236f0: +/* f0236f0: 8e030020 */ lw $v1,0x20($s0) +.PF0f0236f4: +/* f0236f4: 1060002c */ beqz $v1,.PF0f0237a8 +/* f0236f8: 00000000 */ nop +/* f0236fc: 8c620020 */ lw $v0,0x20($v1) +/* f023700: 10400029 */ beqz $v0,.PF0f0237a8 +/* f023704: 00000000 */ nop +/* f023708: 84440000 */ lh $a0,0x0($v0) +/* f02370c: 3c0c8006 */ lui $t4,0x8006 +/* f023710: 8d8cecbc */ lw $t4,-0x1344($t4) +/* f023714: 00046880 */ sll $t5,$a0,0x2 +/* f023718: 01a46823 */ subu $t5,$t5,$a0 +/* f02371c: 000d6880 */ sll $t5,$t5,0x2 +/* f023720: 018dc021 */ addu $t8,$t4,$t5 +/* f023724: 930f000b */ lbu $t7,0xb($t8) +/* f023728: 31e80004 */ andi $t0,$t7,0x4 +/* f02372c: 1100001e */ beqz $t0,.PF0f0237a8 +/* f023730: 00000000 */ nop +/* f023734: 0c008d8e */ jal 0x23638 +/* f023738: 00000000 */ nop +/* f02373c: 8e190020 */ lw $t9,0x20($s0) +/* f023740: 8f220020 */ lw $v0,0x20($t9) +/* f023744: 84440000 */ lh $a0,0x0($v0) +/* f023748: 0c008c53 */ jal 0x2314c +/* f02374c: 84450014 */ lh $a1,0x14($v0) +/* f023750: 28440000 */ slti $a0,$v0,0x0 +/* f023754: 54800014 */ bnezl $a0,.PF0f0237a8 +/* f023758: 00803825 */ move $a3,$a0 +/* f02375c: 8e0e0020 */ lw $t6,0x20($s0) +/* f023760: 8dc20020 */ lw $v0,0x20($t6) +/* f023764: 84440000 */ lh $a0,0x0($v0) +/* f023768: 0c008c53 */ jal 0x2314c +/* f02376c: 84450016 */ lh $a1,0x16($v0) +/* f023770: 28440000 */ slti $a0,$v0,0x0 +/* f023774: 5080000c */ beqzl $a0,.PF0f0237a8 +/* f023778: 00803825 */ move $a3,$a0 +/* f02377c: 8e090020 */ lw $t1,0x20($s0) +/* f023780: 44805000 */ mtc1 $zero,$f10 +/* f023784: 00002025 */ move $a0,$zero +/* f023788: 8d2b0020 */ lw $t3,0x20($t1) +/* f02378c: c5680010 */ lwc1 $f8,0x10($t3) +/* f023790: 46085032 */ c.eq.s $f10,$f8 +/* f023794: 00000000 */ nop +/* f023798: 45030003 */ bc1tl .PF0f0237a8 +/* f02379c: 00803825 */ move $a3,$a0 +/* f0237a0: 24040001 */ li $a0,0x1 +/* f0237a4: 00803825 */ move $a3,$a0 +.PF0f0237a8: +/* f0237a8: 10e00003 */ beqz $a3,.PF0f0237b8 +/* f0237ac: 8fa40250 */ lw $a0,0x250($sp) +/* f0237b0: 10000155 */ b .PF0f023d08 +/* f0237b4: 00003825 */ move $a3,$zero +.PF0f0237b8: +/* f0237b8: 0fc23a44 */ jal 0xf08e910 +/* f0237bc: 24840008 */ addiu $a0,$a0,0x8 +/* f0237c0: 10000151 */ b .PF0f023d08 +/* f0237c4: 00403825 */ move $a3,$v0 +/* f0237c8: 82030007 */ lb $v1,0x7($s0) +.PF0f0237cc: +/* f0237cc: 2401000e */ li $at,0xe +/* f0237d0: 10610002 */ beq $v1,$at,.PF0f0237dc +/* f0237d4: 2401000f */ li $at,0xf +/* f0237d8: 14610046 */ bne $v1,$at,.PF0f0238f4 +.PF0f0237dc: +/* f0237dc: 2401000e */ li $at,0xe +/* f0237e0: 54610005 */ bnel $v1,$at,.PF0f0237f8 +/* f0237e4: 2401000f */ li $at,0xf +/* f0237e8: 820a0038 */ lb $t2,0x38($s0) +/* f0237ec: 24010006 */ li $at,0x6 +/* f0237f0: 11410007 */ beq $t2,$at,.PF0f023810 +/* f0237f4: 2401000f */ li $at,0xf +.PF0f0237f8: +/* f0237f8: 14610018 */ bne $v1,$at,.PF0f02385c +/* f0237fc: 8fa801f0 */ lw $t0,0x1f0($sp) +/* f023800: 820c0068 */ lb $t4,0x68($s0) +/* f023804: 24010006 */ li $at,0x6 +/* f023808: 15810014 */ bne $t4,$at,.PF0f02385c +/* f02380c: 00000000 */ nop +.PF0f023810: +/* f023810: 0c006b44 */ jal 0x1ad10 +/* f023814: 8fa40208 */ lw $a0,0x208($sp) +/* f023818: 8fa40250 */ lw $a0,0x250($sp) +/* f02381c: 44060000 */ mfc1 $a2,$f0 +/* f023820: 24070001 */ li $a3,0x1 +/* f023824: 0fc239f6 */ jal 0xf08e7d8 +/* f023828: 24850008 */ addiu $a1,$a0,0x8 +/* f02382c: 10400136 */ beqz $v0,.PF0f023d08 +/* f023830: 00403825 */ move $a3,$v0 +/* f023834: 8fa40208 */ lw $a0,0x208($sp) +/* f023838: 260500c8 */ addiu $a1,$s0,0xc8 +/* f02383c: 8c8f0020 */ lw $t7,0x20($a0) +/* f023840: a1e0000b */ sb $zero,0xb($t7) +/* f023844: 0c006aa7 */ jal 0x1aa9c +/* f023848: afa20204 */ sw $v0,0x204($sp) +/* f02384c: 0c006c56 */ jal 0x1b158 +/* f023850: 8fa40208 */ lw $a0,0x208($sp) +/* f023854: 1000012c */ b .PF0f023d08 +/* f023858: 8fa70204 */ lw $a3,0x204($sp) +.PF0f02385c: +/* f02385c: 11000004 */ beqz $t0,.PF0f023870 +/* f023860: 02002025 */ move $a0,$s0 +/* f023864: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023868: 0fc0888a */ jal 0xf022228 +/* f02386c: 24060001 */ li $a2,0x1 +.PF0f023870: +/* f023870: 0c006b44 */ jal 0x1ad10 +/* f023874: 8fa40208 */ lw $a0,0x208($sp) +/* f023878: 8fa40250 */ lw $a0,0x250($sp) +/* f02387c: 44060000 */ mfc1 $a2,$f0 +/* f023880: 24070001 */ li $a3,0x1 +/* f023884: 0fc239f6 */ jal 0xf08e7d8 +/* f023888: 24850008 */ addiu $a1,$a0,0x8 +/* f02388c: 1040000e */ beqz $v0,.PF0f0238c8 +/* f023890: 00403825 */ move $a3,$v0 +/* f023894: 82030007 */ lb $v1,0x7($s0) +/* f023898: 2401000e */ li $at,0xe +/* f02389c: 3c0e800a */ lui $t6,0x800a +/* f0238a0: 54610005 */ bnel $v1,$at,.PF0f0238b8 +/* f0238a4: 2401000f */ li $at,0xf +/* f0238a8: 8dcea518 */ lw $t6,-0x5ae8($t6) +/* f0238ac: 10000006 */ b .PF0f0238c8 +/* f0238b0: ae0e0078 */ sw $t6,0x78($s0) +/* f0238b4: 2401000f */ li $at,0xf +.PF0f0238b8: +/* f0238b8: 14610003 */ bne $v1,$at,.PF0f0238c8 +/* f0238bc: 3c09800a */ lui $t1,0x800a +/* f0238c0: 8d29a518 */ lw $t1,-0x5ae8($t1) +/* f0238c4: ae0900a8 */ sw $t1,0xa8($s0) +.PF0f0238c8: +/* f0238c8: 2c440001 */ sltiu $a0,$v0,0x1 +/* f0238cc: 10800006 */ beqz $a0,.PF0f0238e8 +/* f0238d0: 8fad0208 */ lw $t5,0x208($sp) +/* f0238d4: 8fab0250 */ lw $t3,0x250($sp) +/* f0238d8: 91640001 */ lbu $a0,0x1($t3) +/* f0238dc: 308a00c0 */ andi $t2,$a0,0xc0 +/* f0238e0: 000a602b */ sltu $t4,$zero,$t2 +/* f0238e4: 2d840001 */ sltiu $a0,$t4,0x1 +.PF0f0238e8: +/* f0238e8: 8daf0020 */ lw $t7,0x20($t5) +/* f0238ec: 10000106 */ b .PF0f023d08 +/* f0238f0: a1e4000b */ sb $a0,0xb($t7) +.PF0f0238f4: +/* f0238f4: 24010003 */ li $at,0x3 +/* f0238f8: 54610025 */ bnel $v1,$at,.PF0f023990 +/* f0238fc: 24010001 */ li $at,0x1 +/* f023900: 8e18002c */ lw $t8,0x2c($s0) +/* f023904: 57000022 */ bnezl $t8,.PF0f023990 +/* f023908: 24010001 */ li $at,0x1 +/* f02390c: 0c006b44 */ jal 0x1ad10 +/* f023910: 8fa40208 */ lw $a0,0x208($sp) +/* f023914: 8fa40250 */ lw $a0,0x250($sp) +/* f023918: 44060000 */ mfc1 $a2,$f0 +/* f02391c: 24070001 */ li $a3,0x1 +/* f023920: 0fc239f6 */ jal 0xf08e7d8 +/* f023924: 24850008 */ addiu $a1,$a0,0x8 +/* f023928: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f02392c: 00403825 */ move $a3,$v0 +/* f023930: 8fae0208 */ lw $t6,0x208($sp) +/* f023934: 532000f5 */ beqzl $t9,.PF0f023d0c +/* f023938: 8faa01f0 */ lw $t2,0x1f0($sp) +/* f02393c: 8dc90020 */ lw $t1,0x20($t6) +/* f023940: 02002025 */ move $a0,$s0 +/* f023944: 1040000b */ beqz $v0,.PF0f023974 +/* f023948: a120000b */ sb $zero,0xb($t1) +/* f02394c: 8e0b003c */ lw $t3,0x3c($s0) +/* f023950: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023954: 24060001 */ li $a2,0x1 +/* f023958: 55600007 */ bnezl $t3,.PF0f023978 +/* f02395c: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023960: 02002025 */ move $a0,$s0 +/* f023964: 0fc0888a */ jal 0xf022228 +/* f023968: afa20204 */ sw $v0,0x204($sp) +/* f02396c: 100000e6 */ b .PF0f023d08 +/* f023970: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023974: +/* f023974: 8fa501fc */ lw $a1,0x1fc($sp) +.PF0f023978: +/* f023978: 00003025 */ move $a2,$zero +/* f02397c: 0fc0888a */ jal 0xf022228 +/* f023980: afa70204 */ sw $a3,0x204($sp) +/* f023984: 100000e0 */ b .PF0f023d08 +/* f023988: 8fa70204 */ lw $a3,0x204($sp) +/* f02398c: 24010001 */ li $at,0x1 +.PF0f023990: +/* f023990: 14610062 */ bne $v1,$at,.PF0f023b1c +/* f023994: 8faa0208 */ lw $t2,0x208($sp) +/* f023998: 8d4c0020 */ lw $t4,0x20($t2) +/* f02399c: 02002025 */ move $a0,$s0 +/* f0239a0: a180000b */ sb $zero,0xb($t4) +/* f0239a4: 8e0d0018 */ lw $t5,0x18($s0) +/* f0239a8: 8fa501fc */ lw $a1,0x1fc($sp) +/* f0239ac: 31af0001 */ andi $t7,$t5,0x1 +/* f0239b0: 11e0000c */ beqz $t7,.PF0f0239e4 +/* f0239b4: 00000000 */ nop +/* f0239b8: 0fc0888a */ jal 0xf022228 +/* f0239bc: 24060001 */ li $a2,0x1 +/* f0239c0: 0c006b44 */ jal 0x1ad10 +/* f0239c4: 8fa40208 */ lw $a0,0x208($sp) +/* f0239c8: 8fa40250 */ lw $a0,0x250($sp) +/* f0239cc: 44060000 */ mfc1 $a2,$f0 +/* f0239d0: 24070001 */ li $a3,0x1 +/* f0239d4: 0fc239f6 */ jal 0xf08e7d8 +/* f0239d8: 24850008 */ addiu $a1,$a0,0x8 +/* f0239dc: 100000ca */ b .PF0f023d08 +/* f0239e0: 00403825 */ move $a3,$v0 +.PF0f0239e4: +/* f0239e4: 0c006b44 */ jal 0x1ad10 +/* f0239e8: 8fa40208 */ lw $a0,0x208($sp) +/* f0239ec: 8fa40250 */ lw $a0,0x250($sp) +/* f0239f0: 44060000 */ mfc1 $a2,$f0 +/* f0239f4: 24070001 */ li $a3,0x1 +/* f0239f8: 0fc239f6 */ jal 0xf08e7d8 +/* f0239fc: 24850008 */ addiu $a1,$a0,0x8 +/* f023a00: 3c19800a */ lui $t9,0x800a +/* f023a04: 8f39a824 */ lw $t9,-0x57dc($t9) +/* f023a08: 00403825 */ move $a3,$v0 +/* f023a0c: 8fae01f0 */ lw $t6,0x1f0($sp) +/* f023a10: 13200024 */ beqz $t9,.PF0f023aa4 +/* f023a14: 00000000 */ nop +/* f023a18: 11c000bb */ beqz $t6,.PF0f023d08 +/* f023a1c: 3c09800a */ lui $t1,0x800a +/* f023a20: 8d29a7a8 */ lw $t1,-0x5858($t1) +/* f023a24: 3c0b800a */ lui $t3,0x800a +/* f023a28: 05210006 */ bgez $t1,.PF0f023a44 +/* f023a2c: 00000000 */ nop +/* f023a30: 8d6ba7ac */ lw $t3,-0x5854($t3) +/* f023a34: 02002025 */ move $a0,$s0 +/* f023a38: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023a3c: 05600015 */ bltz $t3,.PF0f023a94 +/* f023a40: 24060001 */ li $a2,0x1 +.PF0f023a44: +/* f023a44: 10400008 */ beqz $v0,.PF0f023a68 +/* f023a48: 8faa0208 */ lw $t2,0x208($sp) +/* f023a4c: 02002025 */ move $a0,$s0 +/* f023a50: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023a54: 24060001 */ li $a2,0x1 +/* f023a58: 0fc0888a */ jal 0xf022228 +/* f023a5c: afa70204 */ sw $a3,0x204($sp) +/* f023a60: 100000a9 */ b .PF0f023d08 +/* f023a64: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023a68: +/* f023a68: 8d4c0020 */ lw $t4,0x20($t2) +/* f023a6c: 02002025 */ move $a0,$s0 +/* f023a70: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023a74: 858d0002 */ lh $t5,0x2($t4) +/* f023a78: 00003025 */ move $a2,$zero +/* f023a7c: 51a000a3 */ beqzl $t5,.PF0f023d0c +/* f023a80: 8faa01f0 */ lw $t2,0x1f0($sp) +/* f023a84: 0fc0888a */ jal 0xf022228 +/* f023a88: afa70204 */ sw $a3,0x204($sp) +/* f023a8c: 1000009e */ b .PF0f023d08 +/* f023a90: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023a94: +/* f023a94: 0fc0888a */ jal 0xf022228 +/* f023a98: afa70204 */ sw $a3,0x204($sp) +/* f023a9c: 1000009a */ b .PF0f023d08 +/* f023aa0: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023aa4: +/* f023aa4: 10400012 */ beqz $v0,.PF0f023af0 +/* f023aa8: 8fb80208 */ lw $t8,0x208($sp) +/* f023aac: 920f004c */ lbu $t7,0x4c($s0) +/* f023ab0: 24010001 */ li $at,0x1 +/* f023ab4: 02002025 */ move $a0,$s0 +/* f023ab8: 15e10008 */ bne $t7,$at,.PF0f023adc +/* f023abc: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023ac0: 02002025 */ move $a0,$s0 +/* f023ac4: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023ac8: 00003025 */ move $a2,$zero +/* f023acc: 0fc0888a */ jal 0xf022228 +/* f023ad0: afa70204 */ sw $a3,0x204($sp) +/* f023ad4: 1000008c */ b .PF0f023d08 +/* f023ad8: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023adc: +/* f023adc: 24060001 */ li $a2,0x1 +/* f023ae0: 0fc0888a */ jal 0xf022228 +/* f023ae4: afa70204 */ sw $a3,0x204($sp) +/* f023ae8: 10000087 */ b .PF0f023d08 +/* f023aec: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023af0: +/* f023af0: 8f080020 */ lw $t0,0x20($t8) +/* f023af4: 02002025 */ move $a0,$s0 +/* f023af8: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023afc: 85190002 */ lh $t9,0x2($t0) +/* f023b00: 00003025 */ move $a2,$zero +/* f023b04: 53200081 */ beqzl $t9,.PF0f023d0c +/* f023b08: 8faa01f0 */ lw $t2,0x1f0($sp) +/* f023b0c: 0fc0888a */ jal 0xf022228 +/* f023b10: afa70204 */ sw $a3,0x204($sp) +/* f023b14: 1000007c */ b .PF0f023d08 +/* f023b18: 8fa70204 */ lw $a3,0x204($sp) +.PF0f023b1c: +/* f023b1c: 24010005 */ li $at,0x5 +/* f023b20: 1461000a */ bne $v1,$at,.PF0f023b4c +/* f023b24: 8fa90250 */ lw $t1,0x250($sp) +/* f023b28: 0c006b44 */ jal 0x1ad10 +/* f023b2c: 8fa40208 */ lw $a0,0x208($sp) +/* f023b30: 8fa40250 */ lw $a0,0x250($sp) +/* f023b34: 44060000 */ mfc1 $a2,$f0 +/* f023b38: 24070001 */ li $a3,0x1 +/* f023b3c: 0fc239f6 */ jal 0xf08e7d8 +/* f023b40: 24850008 */ addiu $a1,$a0,0x8 +/* f023b44: 10000070 */ b .PF0f023d08 +/* f023b48: 00403825 */ move $a3,$v0 +.PF0f023b4c: +/* f023b4c: 912b0000 */ lbu $t3,0x0($t1) +/* f023b50: 24010006 */ li $at,0x6 +/* f023b54: 3c0a800a */ lui $t2,0x800a +/* f023b58: 55610025 */ bnel $t3,$at,.PF0f023bf0 +/* f023b5c: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f023b60: 8d4aa824 */ lw $t2,-0x57dc($t2) +/* f023b64: 55400012 */ bnezl $t2,.PF0f023bb0 +/* f023b68: 8faf0208 */ lw $t7,0x208($sp) +/* f023b6c: 0fc4a513 */ jal 0xf12944c +/* f023b70: 01202025 */ move $a0,$t1 +/* f023b74: 00026080 */ sll $t4,$v0,0x2 +/* f023b78: 3c03800a */ lui $v1,0x800a +/* f023b7c: 006c1821 */ addu $v1,$v1,$t4 +/* f023b80: 8c63a574 */ lw $v1,-0x5a8c($v1) +/* f023b84: 24010002 */ li $at,0x2 +/* f023b88: 8c640000 */ lw $a0,0x0($v1) +/* f023b8c: 10810007 */ beq $a0,$at,.PF0f023bac +/* f023b90: 24010001 */ li $at,0x1 +/* f023b94: 54810016 */ bnel $a0,$at,.PF0f023bf0 +/* f023b98: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f023b9c: 946d0010 */ lhu $t5,0x10($v1) +/* f023ba0: 24010002 */ li $at,0x2 +/* f023ba4: 55a10012 */ bnel $t5,$at,.PF0f023bf0 +/* f023ba8: 8fb901f0 */ lw $t9,0x1f0($sp) +.PF0f023bac: +/* f023bac: 8faf0208 */ lw $t7,0x208($sp) +.PF0f023bb0: +/* f023bb0: 02002025 */ move $a0,$s0 +/* f023bb4: 24060001 */ li $a2,0x1 +/* f023bb8: 8df80020 */ lw $t8,0x20($t7) +/* f023bbc: a300000b */ sb $zero,0xb($t8) +/* f023bc0: 0fc0888a */ jal 0xf022228 +/* f023bc4: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023bc8: 0c006b44 */ jal 0x1ad10 +/* f023bcc: 8fa40208 */ lw $a0,0x208($sp) +/* f023bd0: 8fa40250 */ lw $a0,0x250($sp) +/* f023bd4: 44060000 */ mfc1 $a2,$f0 +/* f023bd8: 24070001 */ li $a3,0x1 +/* f023bdc: 0fc239f6 */ jal 0xf08e7d8 +/* f023be0: 24850008 */ addiu $a1,$a0,0x8 +/* f023be4: 10000048 */ b .PF0f023d08 +/* f023be8: 00403825 */ move $a3,$v0 +/* f023bec: 8fb901f0 */ lw $t9,0x1f0($sp) +.PF0f023bf0: +/* f023bf0: 00003825 */ move $a3,$zero +/* f023bf4: 8fae0208 */ lw $t6,0x208($sp) +/* f023bf8: 5320000a */ beqzl $t9,.PF0f023c24 +/* f023bfc: 8e030020 */ lw $v1,0x20($s0) +/* f023c00: 8dcb0020 */ lw $t3,0x20($t6) +/* f023c04: 02002025 */ move $a0,$s0 +/* f023c08: 24060001 */ li $a2,0x1 +/* f023c0c: a160000b */ sb $zero,0xb($t3) +/* f023c10: afa0019c */ sw $zero,0x19c($sp) +/* f023c14: 0fc0888a */ jal 0xf022228 +/* f023c18: 8fa501fc */ lw $a1,0x1fc($sp) +/* f023c1c: 8fa7019c */ lw $a3,0x19c($sp) +/* f023c20: 8e030020 */ lw $v1,0x20($s0) +.PF0f023c24: +/* f023c24: 1060002c */ beqz $v1,.PF0f023cd8 +/* f023c28: 00000000 */ nop +/* f023c2c: 8c620020 */ lw $v0,0x20($v1) +/* f023c30: 10400029 */ beqz $v0,.PF0f023cd8 +/* f023c34: 00000000 */ nop +/* f023c38: 84440000 */ lh $a0,0x0($v0) +/* f023c3c: 3c0a8006 */ lui $t2,0x8006 +/* f023c40: 8d4aecbc */ lw $t2,-0x1344($t2) +/* f023c44: 00044880 */ sll $t1,$a0,0x2 +/* f023c48: 01244823 */ subu $t1,$t1,$a0 +/* f023c4c: 00094880 */ sll $t1,$t1,0x2 +/* f023c50: 01496021 */ addu $t4,$t2,$t1 +/* f023c54: 918d000b */ lbu $t5,0xb($t4) +/* f023c58: 31af0004 */ andi $t7,$t5,0x4 +/* f023c5c: 11e0001e */ beqz $t7,.PF0f023cd8 +/* f023c60: 00000000 */ nop +/* f023c64: 0c008d8e */ jal 0x23638 +/* f023c68: 00000000 */ nop +/* f023c6c: 8e180020 */ lw $t8,0x20($s0) +/* f023c70: 8f020020 */ lw $v0,0x20($t8) +/* f023c74: 84440000 */ lh $a0,0x0($v0) +/* f023c78: 0c008c53 */ jal 0x2314c +/* f023c7c: 84450014 */ lh $a1,0x14($v0) +/* f023c80: 28440000 */ slti $a0,$v0,0x0 +/* f023c84: 54800014 */ bnezl $a0,.PF0f023cd8 +/* f023c88: 00803825 */ move $a3,$a0 +/* f023c8c: 8e080020 */ lw $t0,0x20($s0) +/* f023c90: 8d020020 */ lw $v0,0x20($t0) +/* f023c94: 84440000 */ lh $a0,0x0($v0) +/* f023c98: 0c008c53 */ jal 0x2314c +/* f023c9c: 84450016 */ lh $a1,0x16($v0) +/* f023ca0: 28440000 */ slti $a0,$v0,0x0 +/* f023ca4: 5080000c */ beqzl $a0,.PF0f023cd8 +/* f023ca8: 00803825 */ move $a3,$a0 +/* f023cac: 8e190020 */ lw $t9,0x20($s0) +/* f023cb0: 44809000 */ mtc1 $zero,$f18 +/* f023cb4: 00002025 */ move $a0,$zero +/* f023cb8: 8f2e0020 */ lw $t6,0x20($t9) +/* f023cbc: c5c40010 */ lwc1 $f4,0x10($t6) +/* f023cc0: 46049032 */ c.eq.s $f18,$f4 +/* f023cc4: 00000000 */ nop +/* f023cc8: 45030003 */ bc1tl .PF0f023cd8 +/* f023ccc: 00803825 */ move $a3,$a0 +/* f023cd0: 24040001 */ li $a0,0x1 +/* f023cd4: 00803825 */ move $a3,$a0 +.PF0f023cd8: +/* f023cd8: 10e00003 */ beqz $a3,.PF0f023ce8 +/* f023cdc: 00000000 */ nop +/* f023ce0: 10000009 */ b .PF0f023d08 +/* f023ce4: 00003825 */ move $a3,$zero +.PF0f023ce8: +/* f023ce8: 0c006b44 */ jal 0x1ad10 +/* f023cec: 8fa40208 */ lw $a0,0x208($sp) +/* f023cf0: 8fa40250 */ lw $a0,0x250($sp) +/* f023cf4: 44060000 */ mfc1 $a2,$f0 +/* f023cf8: 24070001 */ li $a3,0x1 +/* f023cfc: 0fc239f6 */ jal 0xf08e7d8 +/* f023d00: 24850008 */ addiu $a1,$a0,0x8 +/* f023d04: 00403825 */ move $a3,$v0 +.PF0f023d08: +/* f023d08: 8faa01f0 */ lw $t2,0x1f0($sp) +.PF0f023d0c: +/* f023d0c: 02002025 */ move $a0,$s0 +/* f023d10: 51400016 */ beqzl $t2,.PF0f023d6c +/* f023d14: 8fab0250 */ lw $t3,0x250($sp) +/* f023d18: 82090007 */ lb $t1,0x7($s0) +/* f023d1c: 24010001 */ li $at,0x1 +/* f023d20: 8fac0208 */ lw $t4,0x208($sp) +/* f023d24: 5521000b */ bnel $t1,$at,.PF0f023d54 +/* f023d28: 96190192 */ lhu $t9,0x192($s0) +/* f023d2c: 8d8d0020 */ lw $t5,0x20($t4) +/* f023d30: 8fb80250 */ lw $t8,0x250($sp) +/* f023d34: 85af0002 */ lh $t7,0x2($t5) +/* f023d38: 55e00006 */ bnezl $t7,.PF0f023d54 +/* f023d3c: 96190192 */ lhu $t9,0x192($s0) +/* f023d40: 93080000 */ lbu $t0,0x0($t8) +/* f023d44: 24010006 */ li $at,0x6 +/* f023d48: 15010004 */ bne $t0,$at,.PF0f023d5c +/* f023d4c: 00000000 */ nop +/* f023d50: 96190192 */ lhu $t9,0x192($s0) +.PF0f023d54: +/* f023d54: 372e0040 */ ori $t6,$t9,0x40 +/* f023d58: a60e0192 */ sh $t6,0x192($s0) +.PF0f023d5c: +/* f023d5c: 0fc084e5 */ jal 0xf021394 +/* f023d60: afa70204 */ sw $a3,0x204($sp) +/* f023d64: 8fa70204 */ lw $a3,0x204($sp) +/* f023d68: 8fab0250 */ lw $t3,0x250($sp) +.PF0f023d6c: +/* f023d6c: 3c01c780 */ lui $at,0xc780 +/* f023d70: 44815000 */ mtc1 $at,$f10 +/* f023d74: c566000c */ lwc1 $f6,0xc($t3) +/* f023d78: 3c0a800a */ lui $t2,0x800a +/* f023d7c: 460a303c */ c.lt.s $f6,$f10 +/* f023d80: 00000000 */ nop +/* f023d84: 45000002 */ bc1f .PF0f023d90 +/* f023d88: 00000000 */ nop +/* f023d8c: 00003825 */ move $a3,$zero +.PF0f023d90: +/* f023d90: 8d4aa828 */ lw $t2,-0x57d8($t2) +/* f023d94: 5540002d */ bnezl $t2,.PF0f023e4c +/* f023d98: 8fa90250 */ lw $t1,0x250($sp) +/* f023d9c: 50e0002b */ beqzl $a3,.PF0f023e4c +/* f023da0: 8fa90250 */ lw $t1,0x250($sp) +/* f023da4: 82030007 */ lb $v1,0x7($s0) +/* f023da8: 24010005 */ li $at,0x5 +/* f023dac: 10610006 */ beq $v1,$at,.PF0f023dc8 +/* f023db0: 2401001f */ li $at,0x1f +/* f023db4: 14610017 */ bne $v1,$at,.PF0f023e14 +/* f023db8: 00000000 */ nop +/* f023dbc: 8e090018 */ lw $t1,0x18($s0) +/* f023dc0: 00096140 */ sll $t4,$t1,0x5 +/* f023dc4: 05800013 */ bltz $t4,.PF0f023e14 +.PF0f023dc8: +/* f023dc8: 3c03800a */ lui $v1,0x800a +/* f023dcc: 2463d30c */ addiu $v1,$v1,-11508 +/* f023dd0: 8c6d0000 */ lw $t5,0x0($v1) +/* f023dd4: 02002025 */ move $a0,$s0 +/* f023dd8: 25a20001 */ addiu $v0,$t5,0x1 +/* f023ddc: 2841000b */ slti $at,$v0,0xb +/* f023de0: 14200009 */ bnez $at,.PF0f023e08 +/* f023de4: ac620000 */ sw $v0,0x0($v1) +/* f023de8: 0fc091e3 */ jal 0xf02478c +/* f023dec: afa00204 */ sw $zero,0x204($sp) +/* f023df0: 8e180014 */ lw $t8,0x14($s0) +/* f023df4: 8fa70204 */ lw $a3,0x204($sp) +/* f023df8: 3c02800a */ lui $v0,0x800a +/* f023dfc: 37080020 */ ori $t0,$t8,0x20 +/* f023e00: ae080014 */ sw $t0,0x14($s0) +/* f023e04: 8c42d30c */ lw $v0,-0x2cf4($v0) +.PF0f023e08: +/* f023e08: 3c03800a */ lui $v1,0x800a +/* f023e0c: 10000008 */ b .PF0f023e30 +/* f023e10: 2463d310 */ addiu $v1,$v1,-11504 +.PF0f023e14: +/* f023e14: 3c03800a */ lui $v1,0x800a +/* f023e18: 2463d310 */ addiu $v1,$v1,-11504 +/* f023e1c: 8c790000 */ lw $t9,0x0($v1) +/* f023e20: 3c02800a */ lui $v0,0x800a +/* f023e24: 272e0001 */ addiu $t6,$t9,0x1 +/* f023e28: ac6e0000 */ sw $t6,0x0($v1) +/* f023e2c: 8c42d30c */ lw $v0,-0x2cf4($v0) +.PF0f023e30: +/* f023e30: 8c6b0000 */ lw $t3,0x0($v1) +/* f023e34: 01625021 */ addu $t2,$t3,$v0 +/* f023e38: 2941001f */ slti $at,$t2,0x1f +/* f023e3c: 54200003 */ bnezl $at,.PF0f023e4c +/* f023e40: 8fa90250 */ lw $t1,0x250($sp) +/* f023e44: 00003825 */ move $a3,$zero +/* f023e48: 8fa90250 */ lw $t1,0x250($sp) +.PF0f023e4c: +/* f023e4c: 8faa0250 */ lw $t2,0x250($sp) +/* f023e50: 10e001be */ beqz $a3,.PF0f02454c +/* f023e54: 91220001 */ lbu $v0,0x1($t1) +/* f023e58: 344c0042 */ ori $t4,$v0,0x42 +/* f023e5c: a12c0001 */ sb $t4,0x1($t1) +/* f023e60: 8e0d0018 */ lw $t5,0x18($s0) +/* f023e64: 3c18800a */ lui $t8,0x800a +/* f023e68: 35af0008 */ ori $t7,$t5,0x8 +/* f023e6c: ae0f0018 */ sw $t7,0x18($s0) +/* f023e70: 8f18a7ac */ lw $t8,-0x5854($t8) +/* f023e74: 0700000a */ bltz $t8,.PF0f023ea0 +/* f023e78: 3c08800a */ lui $t0,0x800a +/* f023e7c: 3c19800a */ lui $t9,0x800a +/* f023e80: 8f39a794 */ lw $t9,-0x586c($t9) +/* f023e84: 8d08a7b0 */ lw $t0,-0x5850($t0) +/* f023e88: 15190005 */ bne $t0,$t9,.PF0f023ea0 +/* f023e8c: 00000000 */ nop +/* f023e90: 8e0e0014 */ lw $t6,0x14($s0) +/* f023e94: 3c010080 */ lui $at,0x80 +/* f023e98: 01c15825 */ or $t3,$t6,$at +/* f023e9c: ae0b0014 */ sw $t3,0x14($s0) +.PF0f023ea0: +/* f023ea0: 0fc41dd5 */ jal 0xf107754 +/* f023ea4: 24040007 */ li $a0,0x7 +/* f023ea8: 10400004 */ beqz $v0,.PF0f023ebc +/* f023eac: 3c013ea0 */ lui $at,0x3ea0 +/* f023eb0: 44816000 */ mtc1 $at,$f12 +/* f023eb4: 0c0068a7 */ jal 0x1a29c +/* f023eb8: 00000000 */ nop +.PF0f023ebc: +/* f023ebc: 3c0a7f02 */ lui $t2,0x7f02 +/* f023ec0: 254a1668 */ addiu $t2,$t2,0x1668 +/* f023ec4: 3c018006 */ lui $at,0x8006 +/* f023ec8: ac2aec74 */ sw $t2,-0x138c($at) +/* f023ecc: 3c01800a */ lui $at,0x800a +/* f023ed0: 12000003 */ beqz $s0,.PF0f023ee0 +/* f023ed4: ac30d27c */ sw $s0,-0x2d84($at) +/* f023ed8: 10000002 */ b .PF0f023ee4 +/* f023edc: 920402fe */ lbu $a0,0x2fe($s0) +.PF0f023ee0: +/* f023ee0: 00002025 */ move $a0,$zero +.PF0f023ee4: +/* f023ee4: 24010002 */ li $at,0x2 +/* f023ee8: 14810021 */ bne $a0,$at,.PF0f023f70 +/* f023eec: 3c0c800a */ lui $t4,0x800a +/* f023ef0: 8d8ca7bc */ lw $t4,-0x5844($t4) +/* f023ef4: 24010006 */ li $at,0x6 +/* f023ef8: 5181001e */ beql $t4,$at,.PF0f023f74 +/* f023efc: 8fad0250 */ lw $t5,0x250($sp) +/* f023f00: 0fc0f978 */ jal 0xf03e5e0 +/* f023f04: 02002025 */ move $a0,$s0 +/* f023f08: e7a0018c */ swc1 $f0,0x18c($sp) +/* f023f0c: 0c00685b */ jal 0x1a16c +/* f023f10: 46000306 */ mov.s $f12,$f0 +/* f023f14: 3c014198 */ lui $at,0x4198 +/* f023f18: 44814000 */ mtc1 $at,$f8 +/* f023f1c: 44802000 */ mtc1 $zero,$f4 +/* f023f20: c7ac018c */ lwc1 $f12,0x18c($sp) +/* f023f24: 46080482 */ mul.s $f18,$f0,$f8 +/* f023f28: e7a40194 */ swc1 $f4,0x194($sp) +/* f023f2c: 0c006858 */ jal 0x1a160 +/* f023f30: e7b20190 */ swc1 $f18,0x190($sp) +/* f023f34: 3c014198 */ lui $at,0x4198 +/* f023f38: 44813000 */ mtc1 $at,$f6 +/* f023f3c: 27a40190 */ addiu $a0,$sp,0x190 +/* f023f40: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f023f44: 46060282 */ mul.s $f10,$f0,$f6 +/* f023f48: 0c00591b */ jal 0x1646c +/* f023f4c: e7aa0198 */ swc1 $f10,0x198($sp) +/* f023f50: 0fc2d706 */ jal 0xf0b5c18 +/* f023f54: 00000000 */ nop +/* f023f58: 00402025 */ move $a0,$v0 +/* f023f5c: 0c0055e3 */ jal 0x1578c +/* f023f60: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f023f64: 27a901a8 */ addiu $t1,$sp,0x1a8 +/* f023f68: 1000004b */ b .PF0f024098 +/* f023f6c: afa90210 */ sw $t1,0x210($sp) +.PF0f023f70: +/* f023f70: 8fad0250 */ lw $t5,0x250($sp) +.PF0f023f74: +/* f023f74: 24010006 */ li $at,0x6 +/* f023f78: 91af0000 */ lbu $t7,0x0($t5) +/* f023f7c: 15e10043 */ bne $t7,$at,.PF0f02408c +/* f023f80: 00000000 */ nop +/* f023f84: 0fc4a513 */ jal 0xf12944c +/* f023f88: 01a02025 */ move $a0,$t5 +/* f023f8c: 0002c080 */ sll $t8,$v0,0x2 +/* f023f90: 3c03800a */ lui $v1,0x800a +/* f023f94: 00781821 */ addu $v1,$v1,$t8 +/* f023f98: 8c63a574 */ lw $v1,-0x5a8c($v1) +/* f023f9c: 24010003 */ li $at,0x3 +/* f023fa0: 02002025 */ move $a0,$s0 +/* f023fa4: 8c6801b0 */ lw $t0,0x1b0($v1) +/* f023fa8: 15010034 */ bne $t0,$at,.PF0f02407c +/* f023fac: 00000000 */ nop +/* f023fb0: 0fc0f978 */ jal 0xf03e5e0 +/* f023fb4: afa30188 */ sw $v1,0x188($sp) +/* f023fb8: 8fa30188 */ lw $v1,0x188($sp) +/* f023fbc: e7a00178 */ swc1 $f0,0x178($sp) +/* f023fc0: 3c01447a */ lui $at,0x447a +/* f023fc4: 8c791a6c */ lw $t9,0x1a6c($v1) +/* f023fc8: 44819000 */ mtc1 $at,$f18 +/* f023fcc: 46000306 */ mov.s $f12,$f0 +/* f023fd0: 8f220004 */ lw $v0,0x4($t9) +/* f023fd4: c44800ac */ lwc1 $f8,0xac($v0) +/* f023fd8: afa20174 */ sw $v0,0x174($sp) +/* f023fdc: 46124102 */ mul.s $f4,$f8,$f18 +/* f023fe0: 0c006858 */ jal 0x1a160 +/* f023fe4: e7a40130 */ swc1 $f4,0x130($sp) +/* f023fe8: c7a60130 */ lwc1 $f6,0x130($sp) +/* f023fec: 8fa20174 */ lw $v0,0x174($sp) +/* f023ff0: 44804000 */ mtc1 $zero,$f8 +/* f023ff4: 46060282 */ mul.s $f10,$f0,$f6 +/* f023ff8: 3c014348 */ lui $at,0x4348 +/* f023ffc: 44819000 */ mtc1 $at,$f18 +/* f024000: e7aa017c */ swc1 $f10,0x17c($sp) +/* f024004: c44200ac */ lwc1 $f2,0xac($v0) +/* f024008: 4602403c */ c.lt.s $f8,$f2 +/* f02400c: 00000000 */ nop +/* f024010: 45020004 */ bc1fl .PF0f024024 +/* f024014: 46001007 */ neg.s $f0,$f2 +/* f024018: 10000002 */ b .PF0f024024 +/* f02401c: 46001006 */ mov.s $f0,$f2 +/* f024020: 46001007 */ neg.s $f0,$f2 +.PF0f024024: +/* f024024: 46120102 */ mul.s $f4,$f0,$f18 +/* f024028: 3c0141c8 */ lui $at,0x41c8 +/* f02402c: 44813000 */ mtc1 $at,$f6 +/* f024030: c7ac0178 */ lwc1 $f12,0x178($sp) +/* f024034: 46006307 */ neg.s $f12,$f12 +/* f024038: 46062280 */ add.s $f10,$f4,$f6 +/* f02403c: 0c00685b */ jal 0x1a16c +/* f024040: e7aa0180 */ swc1 $f10,0x180($sp) +/* f024044: c7a80130 */ lwc1 $f8,0x130($sp) +/* f024048: 27a4017c */ addiu $a0,$sp,0x17c +/* f02404c: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f024050: 46080482 */ mul.s $f18,$f0,$f8 +/* f024054: 0c00591b */ jal 0x1646c +/* f024058: e7b20184 */ swc1 $f18,0x184($sp) +/* f02405c: 0fc2d706 */ jal 0xf0b5c18 +/* f024060: 00000000 */ nop +/* f024064: 00402025 */ move $a0,$v0 +/* f024068: 0c0055e3 */ jal 0x1578c +/* f02406c: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f024070: 27ae01a8 */ addiu $t6,$sp,0x1a8 +/* f024074: 10000008 */ b .PF0f024098 +/* f024078: afae0210 */ sw $t6,0x210($sp) +.PF0f02407c: +/* f02407c: 0fc2d706 */ jal 0xf0b5c18 +/* f024080: 00000000 */ nop +/* f024084: 10000004 */ b .PF0f024098 +/* f024088: afa20210 */ sw $v0,0x210($sp) +.PF0f02408c: +/* f02408c: 0fc2d706 */ jal 0xf0b5c18 +/* f024090: 00000000 */ nop +/* f024094: afa20210 */ sw $v0,0x210($sp) +.PF0f024098: +/* f024098: 8fab0208 */ lw $t3,0x208($sp) +/* f02409c: 8d6a0008 */ lw $t2,0x8($t3) +/* f0240a0: 8544000e */ lh $a0,0xe($t2) +/* f0240a4: 00046180 */ sll $t4,$a0,0x6 +/* f0240a8: 0fc5a25d */ jal 0xf168974 +/* f0240ac: 01802025 */ move $a0,$t4 +/* f0240b0: 8fa901f0 */ lw $t1,0x1f0($sp) +/* f0240b4: afa20220 */ sw $v0,0x220($sp) +/* f0240b8: 11200011 */ beqz $t1,.PF0f024100 +/* f0240bc: 3c02800a */ lui $v0,0x800a +/* f0240c0: 8c42d27c */ lw $v0,-0x2d84($v0) +/* f0240c4: 3c0f800a */ lui $t7,0x800a +/* f0240c8: 80430012 */ lb $v1,0x12($v0) +/* f0240cc: 0460000c */ bltz $v1,.PF0f024100 +/* f0240d0: 00000000 */ nop +/* f0240d4: 8defa548 */ lw $t7,-0x5ab8($t7) +/* f0240d8: 2408ffff */ li $t0,-1 +/* f0240dc: 006f6821 */ addu $t5,$v1,$t7 +/* f0240e0: a04d0012 */ sb $t5,0x12($v0) +/* f0240e4: 3c02800a */ lui $v0,0x800a +/* f0240e8: 8c42d27c */ lw $v0,-0x2d84($v0) +/* f0240ec: 80580012 */ lb $t8,0x12($v0) +/* f0240f0: 2b010018 */ slti $at,$t8,0x18 +/* f0240f4: 14200002 */ bnez $at,.PF0f024100 +/* f0240f8: 00000000 */ nop +/* f0240fc: a0480012 */ sb $t0,0x12($v0) +.PF0f024100: +/* f024100: 3c03800a */ lui $v1,0x800a +/* f024104: 8c63a794 */ lw $v1,-0x586c($v1) +/* f024108: 24631bb0 */ addiu $v1,$v1,0x1bb0 +/* f02410c: 0fc2d736 */ jal 0xf0b5cd8 +/* f024110: afa30124 */ sw $v1,0x124($sp) +/* f024114: 3c19800a */ lui $t9,0x800a +/* f024118: 8f39a828 */ lw $t9,-0x57d8($t9) +/* f02411c: 8fa30124 */ lw $v1,0x124($sp) +/* f024120: 46000406 */ mov.s $f16,$f0 +/* f024124: 1320000c */ beqz $t9,.PF0f024158 +/* f024128: 00003025 */ move $a2,$zero +/* f02412c: 3c0e800b */ lui $t6,0x800b +/* f024130: 8dced134 */ lw $t6,-0x2ecc($t6) +/* f024134: 3c017f1b */ lui $at,0x7f1b +/* f024138: 31cb00c0 */ andi $t3,$t6,0xc0 +/* f02413c: 11600004 */ beqz $t3,.PF0f024150 +/* f024140: 00000000 */ nop +/* f024144: 3c017f1b */ lui $at,0x7f1b +/* f024148: 10000010 */ b .PF0f02418c +/* f02414c: c42e99dc */ lwc1 $f14,-0x6624($at) +.PF0f024150: +/* f024150: 1000000e */ b .PF0f02418c +/* f024154: c42e99e0 */ lwc1 $f14,-0x6620($at) +.PF0f024158: +/* f024158: afa30124 */ sw $v1,0x124($sp) +/* f02415c: afa60110 */ sw $a2,0x110($sp) +/* f024160: 0fc47e5c */ jal 0xf11f970 +/* f024164: e7b00114 */ swc1 $f16,0x114($sp) +/* f024168: 8fa30124 */ lw $v1,0x124($sp) +/* f02416c: 8fa60110 */ lw $a2,0x110($sp) +/* f024170: 10400004 */ beqz $v0,.PF0f024184 +/* f024174: c7b00114 */ lwc1 $f16,0x114($sp) +/* f024178: 3c017f1b */ lui $at,0x7f1b +/* f02417c: 10000003 */ b .PF0f02418c +/* f024180: c42e99e4 */ lwc1 $f14,-0x661c($at) +.PF0f024184: +/* f024184: 3c017f1b */ lui $at,0x7f1b +/* f024188: c42e99e8 */ lwc1 $f14,-0x6618($at) +.PF0f02418c: +/* f02418c: 8faa0208 */ lw $t2,0x208($sp) +/* f024190: 27a40210 */ addiu $a0,$sp,0x210 +/* f024194: 8d420020 */ lw $v0,0x20($t2) +/* f024198: 50400057 */ beqzl $v0,.PF0f0242f8 +/* f02419c: 8fa50208 */ lw $a1,0x208($sp) +/* f0241a0: 844c0000 */ lh $t4,0x0($v0) +/* f0241a4: 8fa90250 */ lw $t1,0x250($sp) +/* f0241a8: 51800053 */ beqzl $t4,.PF0f0242f8 +/* f0241ac: 8fa50208 */ lw $a1,0x208($sp) +/* f0241b0: c5240008 */ lwc1 $f4,0x8($t1) +/* f0241b4: c4660000 */ lwc1 $f6,0x0($v1) +/* f0241b8: c52a000c */ lwc1 $f10,0xc($t1) +/* f0241bc: c4680004 */ lwc1 $f8,0x4($v1) +/* f0241c0: 46062001 */ sub.s $f0,$f4,$f6 +/* f0241c4: c4640008 */ lwc1 $f4,0x8($v1) +/* f0241c8: c5320010 */ lwc1 $f18,0x10($t1) +/* f0241cc: 46085081 */ sub.s $f2,$f10,$f8 +/* f0241d0: 46000182 */ mul.s $f6,$f0,$f0 +/* f0241d4: 46049301 */ sub.s $f12,$f18,$f4 +/* f0241d8: 46021282 */ mul.s $f10,$f2,$f2 +/* f0241dc: 460a3200 */ add.s $f8,$f6,$f10 +/* f0241e0: 460c6482 */ mul.s $f18,$f12,$f12 +/* f0241e4: 46124100 */ add.s $f4,$f8,$f18 +/* f0241e8: 46102182 */ mul.s $f6,$f4,$f16 +/* f0241ec: 00000000 */ nop +/* f0241f0: 46103282 */ mul.s $f10,$f6,$f16 +/* f0241f4: 460a703c */ c.lt.s $f14,$f10 +/* f0241f8: 00000000 */ nop +/* f0241fc: 4500003d */ bc1f .PF0f0242f4 +/* f024200: 00000000 */ nop +/* f024204: c4400010 */ lwc1 $f0,0x10($v0) +/* f024208: 44801000 */ mtc1 $zero,$f2 +/* f02420c: 24060001 */ li $a2,0x1 +/* f024210: e7a0010c */ swc1 $f0,0x10c($sp) +/* f024214: 844f0014 */ lh $t7,0x14($v0) +/* f024218: 46001032 */ c.eq.s $f2,$f0 +/* f02421c: afaf0108 */ sw $t7,0x108($sp) +/* f024220: c4480034 */ lwc1 $f8,0x34($v0) +/* f024224: e7a80104 */ swc1 $f8,0x104($sp) +/* f024228: 844d0038 */ lh $t5,0x38($v0) +/* f02422c: 45010014 */ bc1t .PF0f024280 +/* f024230: afad0100 */ sw $t5,0x100($sp) +/* f024234: c452001c */ lwc1 $f18,0x1c($v0) +/* f024238: c4440074 */ lwc1 $f4,0x74($v0) +/* f02423c: 3c013e80 */ lui $at,0x3e80 +/* f024240: 44815000 */ mtc1 $at,$f10 +/* f024244: 46049182 */ mul.s $f6,$f18,$f4 +/* f024248: 3c013f00 */ lui $at,0x3f00 +/* f02424c: 4606503e */ c.le.s $f10,$f6 +/* f024250: 00000000 */ nop +/* f024254: 4502000b */ bc1fl .PF0f024284 +/* f024258: c4520054 */ lwc1 $f18,0x54($v0) +/* f02425c: 44814000 */ mtc1 $at,$f8 +/* f024260: 00000000 */ nop +/* f024264: 4600403c */ c.lt.s $f8,$f0 +/* f024268: 00000000 */ nop +/* f02426c: 45020004 */ bc1fl .PF0f024280 +/* f024270: e4420010 */ swc1 $f2,0x10($v0) +/* f024274: 84580016 */ lh $t8,0x16($v0) +/* f024278: a4580014 */ sh $t8,0x14($v0) +/* f02427c: e4420010 */ swc1 $f2,0x10($v0) +.PF0f024280: +/* f024280: c4520054 */ lwc1 $f18,0x54($v0) +.PF0f024284: +/* f024284: 46121032 */ c.eq.s $f2,$f18 +/* f024288: 00000000 */ nop +/* f02428c: 4503001a */ bc1tl .PF0f0242f8 +/* f024290: 8fa50208 */ lw $a1,0x208($sp) +/* f024294: c4440040 */ lwc1 $f4,0x40($v0) +/* f024298: c4460074 */ lwc1 $f6,0x74($v0) +/* f02429c: 3c013e80 */ lui $at,0x3e80 +/* f0242a0: 44814000 */ mtc1 $at,$f8 +/* f0242a4: 46062282 */ mul.s $f10,$f4,$f6 +/* f0242a8: 460a403e */ c.le.s $f8,$f10 +/* f0242ac: 00000000 */ nop +/* f0242b0: 45020011 */ bc1fl .PF0f0242f8 +/* f0242b4: 8fa50208 */ lw $a1,0x208($sp) +/* f0242b8: c4400034 */ lwc1 $f0,0x34($v0) +/* f0242bc: 3c013f00 */ lui $at,0x3f00 +/* f0242c0: 46001032 */ c.eq.s $f2,$f0 +/* f0242c4: 00000000 */ nop +/* f0242c8: 4503000b */ bc1tl .PF0f0242f8 +/* f0242cc: 8fa50208 */ lw $a1,0x208($sp) +/* f0242d0: 44819000 */ mtc1 $at,$f18 +/* f0242d4: 00000000 */ nop +/* f0242d8: 4600903c */ c.lt.s $f18,$f0 +/* f0242dc: 00000000 */ nop +/* f0242e0: 45020004 */ bc1fl .PF0f0242f4 +/* f0242e4: e4420034 */ swc1 $f2,0x34($v0) +/* f0242e8: 8448003a */ lh $t0,0x3a($v0) +/* f0242ec: a4480038 */ sh $t0,0x38($v0) +/* f0242f0: e4420034 */ swc1 $f2,0x34($v0) +.PF0f0242f4: +/* f0242f4: 8fa50208 */ lw $a1,0x208($sp) +.PF0f0242f8: +/* f0242f8: afa20128 */ sw $v0,0x128($sp) +/* f0242fc: 0c007323 */ jal 0x1cc8c +/* f024300: afa60110 */ sw $a2,0x110($sp) +/* f024304: 8fa60110 */ lw $a2,0x110($sp) +/* f024308: 8fa20128 */ lw $v0,0x128($sp) +/* f02430c: c7a4010c */ lwc1 $f4,0x10c($sp) +/* f024310: 10c00008 */ beqz $a2,.PF0f024334 +/* f024314: 3c018006 */ lui $at,0x8006 +/* f024318: e4440010 */ swc1 $f4,0x10($v0) +/* f02431c: 8fb90108 */ lw $t9,0x108($sp) +/* f024320: a4590014 */ sh $t9,0x14($v0) +/* f024324: c7a60104 */ lwc1 $f6,0x104($sp) +/* f024328: e4460034 */ swc1 $f6,0x34($v0) +/* f02432c: 8fae0100 */ lw $t6,0x100($sp) +/* f024330: a44e0038 */ sh $t6,0x38($v0) +.PF0f024334: +/* f024334: ac20ec74 */ sw $zero,-0x138c($at) +/* f024338: 3c018006 */ lui $at,0x8006 +/* f02433c: 0c0068a7 */ jal 0x1a29c +/* f024340: c42c26c8 */ lwc1 $f12,0x26c8($at) +/* f024344: 8fab01f0 */ lw $t3,0x1f0($sp) +/* f024348: 260400f8 */ addiu $a0,$s0,0xf8 +/* f02434c: 11600003 */ beqz $t3,.PF0f02435c +/* f024350: 00000000 */ nop +/* f024354: 0fc1a666 */ jal 0xf069998 +/* f024358: 260500fc */ addiu $a1,$s0,0xfc +.PF0f02435c: +/* f02435c: 0c0069de */ jal 0x1a778 +/* f024360: 8fa40208 */ lw $a0,0x208($sp) +/* f024364: 8faa0250 */ lw $t2,0x250($sp) +/* f024368: 8d47001c */ lw $a3,0x1c($t2) +/* f02436c: e5400014 */ swc1 $f0,0x14($t2) +/* f024370: 50e0000b */ beqzl $a3,.PF0f0243a0 +/* f024374: 8e030178 */ lw $v1,0x178($s0) +/* f024378: 8ce20020 */ lw $v0,0x20($a3) +.PF0f02437c: +/* f02437c: 02002025 */ move $a0,$s0 +/* f024380: 00e02825 */ move $a1,$a3 +/* f024384: 8fa601f0 */ lw $a2,0x1f0($sp) +/* f024388: 0fc088d4 */ jal 0xf022350 +/* f02438c: afa201f4 */ sw $v0,0x1f4($sp) +/* f024390: 8fa701f4 */ lw $a3,0x1f4($sp) +/* f024394: 54e0fff9 */ bnezl $a3,.PF0f02437c +/* f024398: 8ce20020 */ lw $v0,0x20($a3) +/* f02439c: 8e030178 */ lw $v1,0x178($s0) +.PF0f0243a0: +/* f0243a0: 5060004d */ beqzl $v1,.PF0f0244d8 +/* f0243a4: 8fa90208 */ lw $t1,0x208($sp) +/* f0243a8: 8c620004 */ lw $v0,0x4($v1) +/* f0243ac: 8c4c0018 */ lw $t4,0x18($v0) +/* f0243b0: afac00f4 */ sw $t4,0xf4($sp) +/* f0243b4: 82040006 */ lb $a0,0x6($s0) +/* f0243b8: 2881002a */ slti $at,$a0,0x2a +/* f0243bc: 14200045 */ bnez $at,.PF0f0244d4 +/* f0243c0: 2881002b */ slti $at,$a0,0x2b +/* f0243c4: 10200043 */ beqz $at,.PF0f0244d4 +/* f0243c8: 3c0f8006 */ lui $t7,0x8006 +/* f0243cc: 25ef271c */ addiu $t7,$t7,0x271c +/* f0243d0: 8de10000 */ lw $at,0x0($t7) +/* f0243d4: 27a900e8 */ addiu $t1,$sp,0xe8 +/* f0243d8: 8df80004 */ lw $t8,0x4($t7) +/* f0243dc: ad210000 */ sw $at,0x0($t1) +/* f0243e0: 8de10008 */ lw $at,0x8($t7) +/* f0243e4: ad380004 */ sw $t8,0x4($t1) +/* f0243e8: ad210008 */ sw $at,0x8($t1) +/* f0243ec: 0fc22f08 */ jal 0xf08bc20 +/* f0243f0: 8e040178 */ lw $a0,0x178($s0) +/* f0243f4: afa20058 */ sw $v0,0x58($sp) +/* f0243f8: 82060006 */ lb $a2,0x6($s0) +/* f0243fc: 3c017f1b */ lui $at,0x7f1b +/* f024400: c43299ec */ lwc1 $f18,-0x6614($at) +/* f024404: 24c6ffd6 */ addiu $a2,$a2,-42 +/* f024408: 000640c0 */ sll $t0,$a2,0x3 +/* f02440c: 01064021 */ addu $t0,$t0,$a2 +/* f024410: 0002c880 */ sll $t9,$v0,0x2 +/* f024414: 00084100 */ sll $t0,$t0,0x4 +/* f024418: 0322c823 */ subu $t9,$t9,$v0 +/* f02441c: 0019c8c0 */ sll $t9,$t9,0x3 +/* f024420: 3c0b8008 */ lui $t3,0x8008 +/* f024424: 01197021 */ addu $t6,$t0,$t9 +/* f024428: 256bdfb4 */ addiu $t3,$t3,-8268 +/* f02442c: 01cb1821 */ addu $v1,$t6,$t3 +/* f024430: c4700000 */ lwc1 $f16,0x0($v1) +/* f024434: c46e0004 */ lwc1 $f14,0x4($v1) +/* f024438: c46c0008 */ lwc1 $f12,0x8($v1) +/* f02443c: 46128402 */ mul.s $f16,$f16,$f18 +/* f024440: c46a000c */ lwc1 $f10,0xc($v1) +/* f024444: c4680010 */ lwc1 $f8,0x10($v1) +/* f024448: 46127382 */ mul.s $f14,$f14,$f18 +/* f02444c: c4660014 */ lwc1 $f6,0x14($v1) +/* f024450: e7aa00e4 */ swc1 $f10,0xe4($sp) +/* f024454: 46126482 */ mul.s $f18,$f12,$f18 +/* f024458: e7b000e8 */ swc1 $f16,0xe8($sp) +/* f02445c: e7a800e0 */ swc1 $f8,0xe0($sp) +/* f024460: e7a600dc */ swc1 $f6,0xdc($sp) +/* f024464: e7ae00ec */ swc1 $f14,0xec($sp) +/* f024468: 27a400e8 */ addiu $a0,$sp,0xe8 +/* f02446c: 27a5009c */ addiu $a1,$sp,0x9c +/* f024470: 0c00591b */ jal 0x1646c +/* f024474: e7b200f0 */ swc1 $f18,0xf0($sp) +/* f024478: c7ac00e4 */ lwc1 $f12,0xe4($sp) +/* f02447c: 0c0056ed */ jal 0x15bb4 +/* f024480: 27a5009c */ addiu $a1,$sp,0x9c +/* f024484: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f024488: 0c005704 */ jal 0x15c10 +/* f02448c: 27a5009c */ addiu $a1,$sp,0x9c +/* f024490: c7ac00dc */ lwc1 $f12,0xdc($sp) +/* f024494: 0c00571b */ jal 0x15c6c +/* f024498: 27a5009c */ addiu $a1,$sp,0x9c +/* f02449c: 8faa00f4 */ lw $t2,0xf4($sp) +/* f0244a0: 27a5009c */ addiu $a1,$sp,0x9c +/* f0244a4: 27a6005c */ addiu $a2,$sp,0x5c +/* f0244a8: 0c00565d */ jal 0x15974 +/* f0244ac: 8d44000c */ lw $a0,0xc($t2) +/* f0244b0: 8fac00f4 */ lw $t4,0xf4($sp) +/* f0244b4: 27a4005c */ addiu $a0,$sp,0x5c +/* f0244b8: 0c0056aa */ jal 0x15aa8 +/* f0244bc: 8d85000c */ lw $a1,0xc($t4) +/* f0244c0: 8fad0058 */ lw $t5,0x58($sp) +/* f0244c4: 24010002 */ li $at,0x2 +/* f0244c8: 55a10003 */ bnel $t5,$at,.PF0f0244d8 +/* f0244cc: 8fa90208 */ lw $t1,0x208($sp) +/* f0244d0: afa00200 */ sw $zero,0x200($sp) +.PF0f0244d4: +/* f0244d4: 8fa90208 */ lw $t1,0x208($sp) +.PF0f0244d8: +/* f0244d8: 3c0f8008 */ lui $t7,0x8008 +/* f0244dc: 25efd310 */ addiu $t7,$t7,-11504 +/* f0244e0: 8d240008 */ lw $a0,0x8($t1) +/* f0244e4: 8c980004 */ lw $t8,0x4($a0) +/* f0244e8: 55f8003e */ bnel $t7,$t8,.PF0f0245e4 +/* f0244ec: 8fac01f0 */ lw $t4,0x1f0($sp) +/* f0244f0: 0c0069ab */ jal 0x1a6ac +/* f0244f4: 24050004 */ li $a1,0x4 +/* f0244f8: 10400039 */ beqz $v0,.PF0f0245e0 +/* f0244fc: 00402825 */ move $a1,$v0 +/* f024500: 94480000 */ lhu $t0,0x0($v0) +/* f024504: 24010017 */ li $at,0x17 +/* f024508: 55010036 */ bnel $t0,$at,.PF0f0245e4 +/* f02450c: 8fac01f0 */ lw $t4,0x1f0($sp) +/* f024510: 0c0069eb */ jal 0x1a7ac +/* f024514: 8fa40208 */ lw $a0,0x208($sp) +/* f024518: 8c590000 */ lw $t9,0x0($v0) +/* f02451c: 24050001 */ li $a1,0x1 +/* f024520: 53200030 */ beqzl $t9,.PF0f0245e4 +/* f024524: 8fac01f0 */ lw $t4,0x1f0($sp) +/* f024528: 0c0069ab */ jal 0x1a6ac +/* f02452c: 8c440000 */ lw $a0,0x0($v0) +/* f024530: 1040002b */ beqz $v0,.PF0f0245e0 +/* f024534: 00402825 */ move $a1,$v0 +/* f024538: 0c0069eb */ jal 0x1a7ac +/* f02453c: 8fa40208 */ lw $a0,0x208($sp) +/* f024540: 8fae0200 */ lw $t6,0x200($sp) +/* f024544: 10000026 */ b .PF0f0245e0 +/* f024548: ac4e0000 */ sw $t6,0x0($v0) +.PF0f02454c: +/* f02454c: 304bfffd */ andi $t3,$v0,0xfffd +/* f024550: a14b0001 */ sb $t3,0x1($t2) +/* f024554: 3c0c800a */ lui $t4,0x800a +/* f024558: 8d8ca7ac */ lw $t4,-0x5854($t4) +/* f02455c: 3c0d800a */ lui $t5,0x800a +/* f024560: 3c09800a */ lui $t1,0x800a +/* f024564: 0582000b */ bltzl $t4,.PF0f024594 +/* f024568: 8fa80250 */ lw $t0,0x250($sp) +/* f02456c: 8dada7b0 */ lw $t5,-0x5850($t5) +/* f024570: 8d29a794 */ lw $t1,-0x586c($t1) +/* f024574: 55a90007 */ bnel $t5,$t1,.PF0f024594 +/* f024578: 8fa80250 */ lw $t0,0x250($sp) +/* f02457c: 8e0f0014 */ lw $t7,0x14($s0) +/* f024580: 3c01ff7f */ lui $at,0xff7f +/* f024584: 3421ffff */ ori $at,$at,0xffff +/* f024588: 01e1c024 */ and $t8,$t7,$at +/* f02458c: ae180014 */ sw $t8,0x14($s0) +/* f024590: 8fa80250 */ lw $t0,0x250($sp) +.PF0f024594: +/* f024594: 8d07001c */ lw $a3,0x1c($t0) +/* f024598: 50e0000a */ beqzl $a3,.PF0f0245c4 +/* f02459c: 921900fc */ lbu $t9,0xfc($s0) +/* f0245a0: 8ce20020 */ lw $v0,0x20($a3) +.PF0f0245a4: +/* f0245a4: 00e02025 */ move $a0,$a3 +/* f0245a8: 8fa501f0 */ lw $a1,0x1f0($sp) +/* f0245ac: 0fc1c260 */ jal 0xf070980 +/* f0245b0: afa201f4 */ sw $v0,0x1f4($sp) +/* f0245b4: 8fa701f4 */ lw $a3,0x1f4($sp) +/* f0245b8: 54e0fffa */ bnezl $a3,.PF0f0245a4 +/* f0245bc: 8ce20020 */ lw $v0,0x20($a3) +/* f0245c0: 921900fc */ lbu $t9,0xfc($s0) +.PF0f0245c4: +/* f0245c4: 920e00fd */ lbu $t6,0xfd($s0) +/* f0245c8: 920b00fe */ lbu $t3,0xfe($s0) +/* f0245cc: 920a00ff */ lbu $t2,0xff($s0) +/* f0245d0: a21900f8 */ sb $t9,0xf8($s0) +/* f0245d4: a20e00f9 */ sb $t6,0xf9($s0) +/* f0245d8: a20b00fa */ sb $t3,0xfa($s0) +/* f0245dc: a20a00fb */ sb $t2,0xfb($s0) +.PF0f0245e0: +/* f0245e0: 8fac01f0 */ lw $t4,0x1f0($sp) +.PF0f0245e4: +/* f0245e4: 51800013 */ beqzl $t4,.PF0f024634 +/* f0245e8: 00001025 */ move $v0,$zero +/* f0245ec: 8e0d0018 */ lw $t5,0x18($s0) +/* f0245f0: 31a90400 */ andi $t1,$t5,0x400 +/* f0245f4: 5520000f */ bnezl $t1,.PF0f024634 +/* f0245f8: 00001025 */ move $v0,$zero +/* f0245fc: 8e0f0014 */ lw $t7,0x14($s0) +/* f024600: 8fa40250 */ lw $a0,0x250($sp) +/* f024604: 31f80001 */ andi $t8,$t7,0x1 +/* f024608: 13000007 */ beqz $t8,.PF0f024628 +/* f02460c: 00000000 */ nop +/* f024610: 0fc1c248 */ jal 0xf070920 +/* f024614: 00002825 */ move $a1,$zero +/* f024618: 8e080014 */ lw $t0,0x14($s0) +/* f02461c: 2401fffe */ li $at,-2 +/* f024620: 0101c824 */ and $t9,$t0,$at +/* f024624: ae190014 */ sw $t9,0x14($s0) +.PF0f024628: +/* f024628: 0fc10706 */ jal 0xf041c18 +/* f02462c: 02002025 */ move $a0,$s0 +/* f024630: 00001025 */ move $v0,$zero +.PF0f024634: +/* f024634: 8fbf0024 */ lw $ra,0x24($sp) +/* f024638: 8fb00020 */ lw $s0,0x20($sp) +/* f02463c: 27bd0250 */ addiu $sp,$sp,0x250 +/* f024640: 03e00008 */ jr $ra +/* f024644: 00000000 */ nop +); +#else GLOBAL_ASM( glabel func0f023098 .late_rodata @@ -5714,6 +7133,7 @@ glabel var7f1a87d8 /* f02451c: 03e00008 */ jr $ra /* f024520: 00000000 */ nop ); +#endif void chrDropItems(struct chrdata *chr) { diff --git a/src/game/chr/chraction.c b/src/game/chr/chraction.c index e737ad62c..2cb022a9a 100644 --- a/src/game/chr/chraction.c +++ b/src/game/chr/chraction.c @@ -2298,16 +2298,28 @@ void chrRunPosChooseAnimation(struct chrdata *chr) if (race == RACE_HUMAN) { if (heavy) { f32 mult = 0.5; +#if PAL + chr->act_runpos.unk03c = (1.0f / (func0f02dff0(0x2a) * mult * 0.83333331346512f)) * distance; +#else chr->act_runpos.unk03c = (1.0f / (func0f02dff0(0x2a) * mult)) * distance; +#endif modelSetAnimation(chr->model, 0x2a, flip, 0, mult, 16); } else { f32 mult = 0.5; +#if PAL + chr->act_runpos.unk03c = (1.0f / (func0f02dff0(0x59) * mult * 0.83333331346512f)) * distance; +#else chr->act_runpos.unk03c = (1.0f / (func0f02dff0(0x59) * mult)) * distance; +#endif modelSetAnimation(chr->model, 0x59, flip, 0, mult, 16); } } else if (race == RACE_SKEDAR) { f32 mult = 0.5; +#if PAL + chr->act_runpos.unk03c = (1.0f / (func0f02dff0(0x394) * mult * 0.83333331346512f)) * distance; +#else chr->act_runpos.unk03c = (1.0f / (func0f02dff0(0x394) * mult)) * distance; +#endif modelSetAnimation(chr->model, 0x394, flip, 0, mult, 16); } } @@ -6169,44 +6181,29 @@ glabel func0f033654 /* f0336a4: 00601025 */ or $v0,$v1,$zero ); -GLOBAL_ASM( -glabel func0f0336a8 -/* f0336a8: 27bdffe8 */ addiu $sp,$sp,-24 -/* f0336ac: afbf0014 */ sw $ra,0x14($sp) -/* f0336b0: afa5001c */ sw $a1,0x1c($sp) -/* f0336b4: afa60020 */ sw $a2,0x20($sp) -/* f0336b8: afa70024 */ sw $a3,0x24($sp) -/* f0336bc: 80820007 */ lb $v0,0x7($a0) -/* f0336c0: 24010020 */ addiu $at,$zero,0x20 -/* f0336c4: 10410014 */ beq $v0,$at,.L0f033718 -/* f0336c8: 2401001e */ addiu $at,$zero,0x1e -/* f0336cc: 10410012 */ beq $v0,$at,.L0f033718 -/* f0336d0: 2401001f */ addiu $at,$zero,0x1f -/* f0336d4: 50410011 */ beql $v0,$at,.L0f03371c -/* f0336d8: 8fbf0014 */ lw $ra,0x14($sp) -/* f0336dc: 0fc2c163 */ jal mpstatsGetTotalKnockoutCount -/* f0336e0: afa40018 */ sw $a0,0x18($sp) -/* f0336e4: 28410002 */ slti $at,$v0,0x2 -/* f0336e8: 10200005 */ beqz $at,.L0f033700 -/* f0336ec: 8fa40018 */ lw $a0,0x18($sp) -/* f0336f0: 8c8e0018 */ lw $t6,0x18($a0) -/* f0336f4: 3c010400 */ lui $at,0x400 -/* f0336f8: 01c17825 */ or $t7,$t6,$at -/* f0336fc: ac8f0018 */ sw $t7,0x18($a0) -.L0f033700: -/* f033700: 0fc2c157 */ jal mpstatsIncrementTotalKnockoutCount -/* f033704: afa40018 */ sw $a0,0x18($sp) -/* f033708: 8fa40018 */ lw $a0,0x18($sp) -/* f03370c: 24180020 */ addiu $t8,$zero,0x20 -/* f033710: a0980007 */ sb $t8,0x7($a0) -/* f033714: a480002c */ sh $zero,0x2c($a0) -.L0f033718: -/* f033718: 8fbf0014 */ lw $ra,0x14($sp) -.L0f03371c: -/* f03371c: 27bd0018 */ addiu $sp,$sp,0x18 -/* f033720: 03e00008 */ jr $ra -/* f033724: 00000000 */ nop -); +void func0f0336a8(struct chrdata *chr, u32 arg1, u32 arg2, u32 arg3) +{ + if (chr->actiontype != ACT_DRUGGEDCOMINGUP + && chr->actiontype != ACT_DRUGGEDDROP + && chr->actiontype != ACT_DRUGGEDKO) { + if (mpstatsGetTotalKnockoutCount() < 2) { + chr->chrflags |= CHRCFLAG_KEEPCORPSEKO; + +#if VERSION >= VERSION_PAL_FINAL + if (mainGetStageNum() == STAGE_VILLA) { + // I'm guessing this flag is reused and prevents anti from + // killing the KO'd chr, which could uncomplete the objective. + chr->hidden |= CHRHFLAG_ANTICANNOTPUSH; + } +#endif + } + + mpstatsIncrementTotalKnockoutCount(); + + chr->actiontype = ACT_DRUGGEDCOMINGUP; + chr->act_druggedcomingup.unk02c = 0; + } +} GLOBAL_ASM( glabel func0f033728 diff --git a/src/game/game_005fd0.c b/src/game/game_005fd0.c index 50386fe80..48c3b8560 100644 --- a/src/game/game_005fd0.c +++ b/src/game/game_005fd0.c @@ -677,6 +677,278 @@ glabel func0f0061dc // } //} +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel func0f006520 +/* f006514: 3c05800a */ lui $a1,0x800a +/* f006518: 24a5a510 */ addiu $a1,$a1,-23280 +/* f00651c: 8cae0284 */ lw $t6,0x284($a1) +/* f006520: 27bdffa0 */ addiu $sp,$sp,-96 +/* f006524: afbf004c */ sw $ra,0x4c($sp) +/* f006528: afb00048 */ sw $s0,0x48($sp) +/* f00652c: 8dc700bc */ lw $a3,0xbc($t6) +/* f006530: 00808025 */ move $s0,$a0 +/* f006534: 0fc47e7e */ jal 0xf11f9f8 +/* f006538: afa70050 */ sw $a3,0x50($sp) +/* f00653c: 3c05800a */ lui $a1,0x800a +/* f006540: 24a5a510 */ addiu $a1,$a1,-23280 +/* f006544: 104000e4 */ beqz $v0,.PF0f0068d8 +/* f006548: 8fa70050 */ lw $a3,0x50($sp) +/* f00654c: 8caf006c */ lw $t7,0x6c($a1) +/* f006550: 24080001 */ li $t0,0x1 +/* f006554: 00003025 */ move $a2,$zero +/* f006558: 11e00003 */ beqz $t7,.PF0f006568 +/* f00655c: 00001825 */ move $v1,$zero +/* f006560: 10000001 */ b .PF0f006568 +/* f006564: 24060001 */ li $a2,0x1 +.PF0f006568: +/* f006568: 8cb80068 */ lw $t8,0x68($a1) +/* f00656c: 00002025 */ move $a0,$zero +/* f006570: 00001025 */ move $v0,$zero +/* f006574: 13000003 */ beqz $t8,.PF0f006584 +/* f006578: 00000000 */ nop +/* f00657c: 10000001 */ b .PF0f006584 +/* f006580: 24030001 */ li $v1,0x1 +.PF0f006584: +/* f006584: 8cb90064 */ lw $t9,0x64($a1) +/* f006588: 13200003 */ beqz $t9,.PF0f006598 +/* f00658c: 00000000 */ nop +/* f006590: 10000001 */ b .PF0f006598 +/* f006594: 24040001 */ li $a0,0x1 +.PF0f006598: +/* f006598: 8ca90070 */ lw $t1,0x70($a1) +/* f00659c: 11200003 */ beqz $t1,.PF0f0065ac +/* f0065a0: 00000000 */ nop +/* f0065a4: 10000001 */ b .PF0f0065ac +/* f0065a8: 24020001 */ li $v0,0x1 +.PF0f0065ac: +/* f0065ac: 00445021 */ addu $t2,$v0,$a0 +/* f0065b0: 01435821 */ addu $t3,$t2,$v1 +/* f0065b4: 01666021 */ addu $t4,$t3,$a2 +/* f0065b8: 550c00c8 */ bnel $t0,$t4,.PF0f0068dc +/* f0065bc: 8fbf004c */ lw $ra,0x4c($sp) +/* f0065c0: 860d019c */ lh $t5,0x19c($s0) +/* f0065c4: 05a200c5 */ bltzl $t5,.PF0f0068dc +/* f0065c8: 8fbf004c */ lw $ra,0x4c($sp) +/* f0065cc: c4a4004c */ lwc1 $f4,0x4c($a1) +/* f0065d0: c6060198 */ lwc1 $f6,0x198($s0) +/* f0065d4: c60a0194 */ lwc1 $f10,0x194($s0) +/* f0065d8: 8e02001c */ lw $v0,0x1c($s0) +/* f0065dc: 46062202 */ mul.s $f8,$f4,$f6 +/* f0065e0: 3c01437a */ lui $at,0x437a +/* f0065e4: 46085480 */ add.s $f18,$f10,$f8 +/* f0065e8: 104000bb */ beqz $v0,.PF0f0068d8 +/* f0065ec: e6120194 */ swc1 $f18,0x194($s0) +/* f0065f0: c4ea000c */ lwc1 $f10,0xc($a3) +/* f0065f4: c448000c */ lwc1 $f8,0xc($v0) +/* f0065f8: 44809000 */ mtc1 $zero,$f18 +/* f0065fc: c4e40008 */ lwc1 $f4,0x8($a3) +/* f006600: 46085001 */ sub.s $f0,$f10,$f8 +/* f006604: c4460008 */ lwc1 $f6,0x8($v0) +/* f006608: 44815000 */ mtc1 $at,$f10 +/* f00660c: 4612003c */ c.lt.s $f0,$f18 +/* f006610: 46062081 */ sub.s $f2,$f4,$f6 +/* f006614: 45020003 */ bc1fl .PF0f006624 +/* f006618: 460a003c */ c.lt.s $f0,$f10 +/* f00661c: 46000007 */ neg.s $f0,$f0 +/* f006620: 460a003c */ c.lt.s $f0,$f10 +.PF0f006624: +/* f006624: c4e40010 */ lwc1 $f4,0x10($a3) +/* f006628: c4460010 */ lwc1 $f6,0x10($v0) +/* f00662c: c60e0194 */ lwc1 $f14,0x194($s0) +/* f006630: 8605019c */ lh $a1,0x19c($s0) +/* f006634: c610018c */ lwc1 $f16,0x18c($s0) +/* f006638: a2000190 */ sb $zero,0x190($s0) +/* f00663c: e60e018c */ swc1 $f14,0x18c($s0) +/* f006640: 46062301 */ sub.s $f12,$f4,$f6 +/* f006644: 4500008a */ bc1f .PF0f006870 +/* f006648: afa5005c */ sw $a1,0x5c($sp) +/* f00664c: 46021202 */ mul.s $f8,$f2,$f2 +/* f006650: 3c017f1b */ lui $at,0x7f1b +/* f006654: c426906c */ lwc1 $f6,-0x6f94($at) +/* f006658: 460c6482 */ mul.s $f18,$f12,$f12 +/* f00665c: afa5005c */ sw $a1,0x5c($sp) +/* f006660: 02002025 */ move $a0,$s0 +/* f006664: 46124100 */ add.s $f4,$f8,$f18 +/* f006668: 4606203c */ c.lt.s $f4,$f6 +/* f00666c: 00000000 */ nop +/* f006670: 45020080 */ bc1fl .PF0f006874 +/* f006674: 8fa5005c */ lw $a1,0x5c($sp) +/* f006678: 12000003 */ beqz $s0,.PF0f006688 +/* f00667c: 00001025 */ move $v0,$zero +/* f006680: 10000001 */ b .PF0f006688 +/* f006684: 920202fe */ lbu $v0,0x2fe($s0) +.PF0f006688: +/* f006688: 14480033 */ bne $v0,$t0,.PF0f006758 +/* f00668c: 00057080 */ sll $t6,$a1,0x2 +/* f006690: 3c0f8006 */ lui $t7,0x8006 +/* f006694: 01ee7821 */ addu $t7,$t7,$t6 +/* f006698: 95ef1270 */ lhu $t7,0x1270($t7) +/* f00669c: 24010394 */ li $at,0x394 +/* f0066a0: 15e1002d */ bne $t7,$at,.PF0f006758 +/* f0066a4: 3c014000 */ lui $at,0x4000 +/* f0066a8: 44810000 */ mtc1 $at,$f0 +/* f0066ac: 3c014188 */ lui $at,0x4188 +/* f0066b0: 460e003e */ c.le.s $f0,$f14 +/* f0066b4: 00000000 */ nop +/* f0066b8: 45020006 */ bc1fl .PF0f0066d4 +/* f0066bc: 44810000 */ mtc1 $at,$f0 +/* f0066c0: 4600803c */ c.lt.s $f16,$f0 +/* f0066c4: 00000000 */ nop +/* f0066c8: 4501000b */ bc1t .PF0f0066f8 +/* f0066cc: 00000000 */ nop +/* f0066d0: 44810000 */ mtc1 $at,$f0 +.PF0f0066d4: +/* f0066d4: 3c014120 */ lui $at,0x4120 +/* f0066d8: 460e003e */ c.le.s $f0,$f14 +/* f0066dc: 00000000 */ nop +/* f0066e0: 45020008 */ bc1fl .PF0f006704 +/* f0066e4: 44810000 */ mtc1 $at,$f0 +/* f0066e8: 4600803c */ c.lt.s $f16,$f0 +/* f0066ec: 00000000 */ nop +/* f0066f0: 45020004 */ bc1fl .PF0f006704 +/* f0066f4: 44810000 */ mtc1 $at,$f0 +.PF0f0066f8: +/* f0066f8: 1000003e */ b .PF0f0067f4 +/* f0066fc: a2080190 */ sb $t0,0x190($s0) +/* f006700: 44810000 */ mtc1 $at,$f0 +.PF0f006704: +/* f006704: 3c0141c8 */ lui $at,0x41c8 +/* f006708: 460e003e */ c.le.s $f0,$f14 +/* f00670c: 00000000 */ nop +/* f006710: 45020006 */ bc1fl .PF0f00672c +/* f006714: 44810000 */ mtc1 $at,$f0 +/* f006718: 4600803c */ c.lt.s $f16,$f0 +/* f00671c: 00000000 */ nop +/* f006720: 4503000b */ bc1tl .PF0f006750 +/* f006724: 24180002 */ li $t8,0x2 +/* f006728: 44810000 */ mtc1 $at,$f0 +.PF0f00672c: +/* f00672c: 00000000 */ nop +/* f006730: 460e003e */ c.le.s $f0,$f14 +/* f006734: 00000000 */ nop +/* f006738: 4500002e */ bc1f .PF0f0067f4 +/* f00673c: 00000000 */ nop +/* f006740: 4600803c */ c.lt.s $f16,$f0 +/* f006744: 00000000 */ nop +/* f006748: 4500002a */ bc1f .PF0f0067f4 +/* f00674c: 24180002 */ li $t8,0x2 +.PF0f006750: +/* f006750: 10000028 */ b .PF0f0067f4 +/* f006754: a2180190 */ sb $t8,0x190($s0) +.PF0f006758: +/* f006758: 3c098006 */ lui $t1,0x8006 +/* f00675c: 25291270 */ addiu $t1,$t1,0x1270 +/* f006760: 0005c880 */ sll $t9,$a1,0x2 +/* f006764: 03291021 */ addu $v0,$t9,$t1 +/* f006768: 904a0002 */ lbu $t2,0x2($v0) +/* f00676c: 3c014f80 */ lui $at,0x4f80 +/* f006770: 448a5000 */ mtc1 $t2,$f10 +/* f006774: 05410004 */ bgez $t2,.PF0f006788 +/* f006778: 46805020 */ cvt.s.w $f0,$f10 +/* f00677c: 44814000 */ mtc1 $at,$f8 +/* f006780: 00000000 */ nop +/* f006784: 46080000 */ add.s $f0,$f0,$f8 +.PF0f006788: +/* f006788: 460e003e */ c.le.s $f0,$f14 +/* f00678c: 00000000 */ nop +/* f006790: 45020008 */ bc1fl .PF0f0067b4 +/* f006794: 904b0003 */ lbu $t3,0x3($v0) +/* f006798: 4600803c */ c.lt.s $f16,$f0 +/* f00679c: 00000000 */ nop +/* f0067a0: 45020004 */ bc1fl .PF0f0067b4 +/* f0067a4: 904b0003 */ lbu $t3,0x3($v0) +/* f0067a8: 10000012 */ b .PF0f0067f4 +/* f0067ac: a2080190 */ sb $t0,0x190($s0) +/* f0067b0: 904b0003 */ lbu $t3,0x3($v0) +.PF0f0067b4: +/* f0067b4: 3c014f80 */ lui $at,0x4f80 +/* f0067b8: 448b9000 */ mtc1 $t3,$f18 +/* f0067bc: 05610004 */ bgez $t3,.PF0f0067d0 +/* f0067c0: 46809020 */ cvt.s.w $f0,$f18 +/* f0067c4: 44812000 */ mtc1 $at,$f4 +/* f0067c8: 00000000 */ nop +/* f0067cc: 46040000 */ add.s $f0,$f0,$f4 +.PF0f0067d0: +/* f0067d0: 460e003e */ c.le.s $f0,$f14 +/* f0067d4: 00000000 */ nop +/* f0067d8: 45000006 */ bc1f .PF0f0067f4 +/* f0067dc: 00000000 */ nop +/* f0067e0: 4600803c */ c.lt.s $f16,$f0 +/* f0067e4: 240c0002 */ li $t4,0x2 +/* f0067e8: 45000002 */ bc1f .PF0f0067f4 +/* f0067ec: 00000000 */ nop +/* f0067f0: a20c0190 */ sb $t4,0x190($s0) +.PF0f0067f4: +/* f0067f4: 0fc0181d */ jal 0xf006074 +/* f0067f8: afa5005c */ sw $a1,0x5c($sp) +/* f0067fc: 2401ffff */ li $at,-1 +/* f006800: 5041001c */ beql $v0,$at,.PF0f006874 +/* f006804: 8fa5005c */ lw $a1,0x5c($sp) +/* f006808: 820d0190 */ lb $t5,0x190($s0) +/* f00680c: 3c01bf80 */ lui $at,0xbf80 +/* f006810: 00002025 */ move $a0,$zero +/* f006814: 11a00016 */ beqz $t5,.PF0f006870 +/* f006818: 00023400 */ sll $a2,$v0,0x10 +/* f00681c: 8e05001c */ lw $a1,0x1c($s0) +/* f006820: 44810000 */ mtc1 $at,$f0 +/* f006824: 00067403 */ sra $t6,$a2,0x10 +/* f006828: 240fffff */ li $t7,-1 +/* f00682c: 24180400 */ li $t8,0x400 +/* f006830: 24190010 */ li $t9,0x10 +/* f006834: 2409ffff */ li $t1,-1 +/* f006838: afa9002c */ sw $t1,0x2c($sp) +/* f00683c: afb9001c */ sw $t9,0x1c($sp) +/* f006840: afb80014 */ sw $t8,0x14($sp) +/* f006844: afaf0010 */ sw $t7,0x10($sp) +/* f006848: 01c03025 */ move $a2,$t6 +/* f00684c: afa00028 */ sw $zero,0x28($sp) +/* f006850: afa00020 */ sw $zero,0x20($sp) +/* f006854: afa00018 */ sw $zero,0x18($sp) +/* f006858: 2407ffff */ li $a3,-1 +/* f00685c: e7a00024 */ swc1 $f0,0x24($sp) +/* f006860: e7a00030 */ swc1 $f0,0x30($sp) +/* f006864: e7a00034 */ swc1 $f0,0x34($sp) +/* f006868: 0fc24e3a */ jal 0xf0938e8 +/* f00686c: e7a00038 */ swc1 $f0,0x38($sp) +.PF0f006870: +/* f006870: 8fa5005c */ lw $a1,0x5c($sp) +.PF0f006874: +/* f006874: 3c048006 */ lui $a0,0x8006 +/* f006878: 00055080 */ sll $t2,$a1,0x2 +/* f00687c: 008a2021 */ addu $a0,$a0,$t2 +/* f006880: 0fc017f4 */ jal 0xf005fd0 +/* f006884: 94841270 */ lhu $a0,0x1270($a0) +/* f006888: 1040000b */ beqz $v0,.PF0f0068b8 +/* f00688c: 3c014208 */ lui $at,0x4208 +/* f006890: 3c0141b0 */ lui $at,0x41b0 +/* f006894: 44811000 */ mtc1 $at,$f2 +/* f006898: c6000194 */ lwc1 $f0,0x194($s0) +/* f00689c: 4600103c */ c.lt.s $f2,$f0 +/* f0068a0: 00000000 */ nop +/* f0068a4: 4502000d */ bc1fl .PF0f0068dc +/* f0068a8: 8fbf004c */ lw $ra,0x4c($sp) +/* f0068ac: 46020181 */ sub.s $f6,$f0,$f2 +/* f0068b0: 10000009 */ b .PF0f0068d8 +/* f0068b4: e6060194 */ swc1 $f6,0x194($s0) +.PF0f0068b8: +/* f0068b8: 44811000 */ mtc1 $at,$f2 +/* f0068bc: c6000194 */ lwc1 $f0,0x194($s0) +/* f0068c0: 4600103c */ c.lt.s $f2,$f0 +/* f0068c4: 00000000 */ nop +/* f0068c8: 45020004 */ bc1fl .PF0f0068dc +/* f0068cc: 8fbf004c */ lw $ra,0x4c($sp) +/* f0068d0: 46020281 */ sub.s $f10,$f0,$f2 +/* f0068d4: e60a0194 */ swc1 $f10,0x194($s0) +.PF0f0068d8: +/* f0068d8: 8fbf004c */ lw $ra,0x4c($sp) +.PF0f0068dc: +/* f0068dc: 8fb00048 */ lw $s0,0x48($sp) +/* f0068e0: 27bd0060 */ addiu $sp,$sp,0x60 +/* f0068e4: 03e00008 */ jr $ra +/* f0068e8: 00000000 */ nop +); +#else GLOBAL_ASM( glabel func0f006520 .late_rodata @@ -953,6 +1225,7 @@ glabel var7f1a7e6c /* f0068f8: 03e00008 */ jr $ra /* f0068fc: 00000000 */ nop ); +#endif /** * Blends two colours together. diff --git a/src/game/game_00b320.c b/src/game/game_00b320.c index ded2c9e11..75e9ad613 100644 --- a/src/game/game_00b320.c +++ b/src/game/game_00b320.c @@ -7,6 +7,66 @@ #include "data.h" #include "types.h" +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel stageLoadCommonLang +/* f00b330: 27bdffe0 */ addiu $sp,$sp,-32 +/* f00b334: 3c02800b */ lui $v0,0x800b +/* f00b338: 3c03800b */ lui $v1,0x800b +/* f00b33c: afbf0014 */ sw $ra,0x14($sp) +/* f00b340: 2463b154 */ addiu $v1,$v1,-20140 +/* f00b344: 2442b040 */ addiu $v0,$v0,-20416 +.PF0f00b348: +/* f00b348: 24420004 */ addiu $v0,$v0,0x4 +/* f00b34c: 1443fffe */ bne $v0,$v1,.PF0f00b348 +/* f00b350: ac40fffc */ sw $zero,-0x4($v0) +/* f00b354: 3c02800b */ lui $v0,0x800b +/* f00b358: 2442b040 */ addiu $v0,$v0,-20416 +/* f00b35c: 24030001 */ li $v1,0x1 +/* f00b360: 2401005c */ li $at,0x5c +/* f00b364: ac430098 */ sw $v1,0x98($v0) +/* f00b368: ac4300a0 */ sw $v1,0xa0($v0) +/* f00b36c: ac4300a4 */ sw $v1,0xa4($v0) +/* f00b370: ac4300a8 */ sw $v1,0xa8($v0) +/* f00b374: ac4300ac */ sw $v1,0xac($v0) +/* f00b378: 14810002 */ bne $a0,$at,.PF0f00b384 +/* f00b37c: ac4300b0 */ sw $v1,0xb0($v0) +/* f00b380: ac43009c */ sw $v1,0x9c($v0) +.PF0f00b384: +/* f00b384: 24010026 */ li $at,0x26 +/* f00b388: 14810004 */ bne $a0,$at,.PF0f00b39c +/* f00b38c: 24050004 */ li $a1,0x4 +/* f00b390: 3c030001 */ lui $v1,0x1 +/* f00b394: 10000009 */ b .PF0f00b3bc +/* f00b398: 3463a5e0 */ ori $v1,$v1,0xa5e0 +.PF0f00b39c: +/* f00b39c: 3c0e8009 */ lui $t6,0x8009 +/* f00b3a0: 91ce1040 */ lbu $t6,0x1040($t6) +/* f00b3a4: 24010001 */ li $at,0x1 +/* f00b3a8: 3403dac0 */ li $v1,0xdac0 +/* f00b3ac: 51c10004 */ beql $t6,$at,.PF0f00b3c0 +/* f00b3b0: 2464000f */ addiu $a0,$v1,0xf +/* f00b3b4: 3c030001 */ lui $v1,0x1 +/* f00b3b8: 346309a0 */ ori $v1,$v1,0x9a0 +.PF0f00b3bc: +/* f00b3bc: 2464000f */ addiu $a0,$v1,0xf +.PF0f00b3c0: +/* f00b3c0: 348f000f */ ori $t7,$a0,0xf +/* f00b3c4: 39e4000f */ xori $a0,$t7,0xf +/* f00b3c8: 0c004856 */ jal 0x12158 +/* f00b3cc: afa30018 */ sw $v1,0x18($sp) +/* f00b3d0: 3c018008 */ lui $at,0x8008 +/* f00b3d4: 8fa30018 */ lw $v1,0x18($sp) +/* f00b3d8: ac224664 */ sw $v0,0x4664($at) +/* f00b3dc: 3c018008 */ lui $at,0x8008 +/* f00b3e0: 0fc5bdbb */ jal 0xf16f6ec +/* f00b3e4: ac23466c */ sw $v1,0x466c($at) +/* f00b3e8: 8fbf0014 */ lw $ra,0x14($sp) +/* f00b3ec: 27bd0020 */ addiu $sp,$sp,0x20 +/* f00b3f0: 03e00008 */ jr $ra +/* f00b3f4: 00000000 */ nop +); +#else void stageLoadCommonLang(s32 stagenum) { s32 i; @@ -26,11 +86,4 @@ void stageLoadCommonLang(s32 stagenum) g_LangBanks[LANGBANK_TITLE] = func0f1670fc(langGetFileId(LANGBANK_TITLE), 0x22); } } - -void func0f00b420(void) -{ - var80062410 = 0; - var8009cc80 = malloc(2 * sizeof(Mtx), MEMPOOL_STAGE); - var8009cc84 = malloc(2 * sizeof(Mtx), MEMPOOL_STAGE); - var8009cc88 = malloc(2 * sizeof(Mtx), MEMPOOL_STAGE); -} +#endif diff --git a/src/game/game_00b420.c b/src/game/game_00b420.c new file mode 100644 index 000000000..2753c30a7 --- /dev/null +++ b/src/game/game_00b420.c @@ -0,0 +1,16 @@ +#include +#include "constants.h" +#include "game/file.h" +#include "game/lang.h" +#include "gvars/gvars.h" +#include "lib/memory.h" +#include "data.h" +#include "types.h" + +void func0f00b420(void) +{ + var80062410 = 0; + var8009cc80 = malloc(2 * sizeof(Mtx), MEMPOOL_STAGE); + var8009cc84 = malloc(2 * sizeof(Mtx), MEMPOOL_STAGE); + var8009cc88 = malloc(2 * sizeof(Mtx), MEMPOOL_STAGE); +} diff --git a/src/game/game_00c490.c b/src/game/game_00c490.c index c3770d183..48ecd7d5c 100644 --- a/src/game/game_00c490.c +++ b/src/game/game_00c490.c @@ -1107,6 +1107,118 @@ void setupCamera(struct cameraobj *camera, s32 cmdindex) } } +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel setupAutogun +/* f00dbe0: 27bdff70 */ addiu $sp,$sp,-144 +/* f00dbe4: afbf001c */ sw $ra,0x1c($sp) +/* f00dbe8: afb00018 */ sw $s0,0x18($sp) +/* f00dbec: 0fc033b1 */ jal 0xf00cec4 +/* f00dbf0: 00808025 */ move $s0,$a0 +/* f00dbf4: 8e0e0080 */ lw $t6,0x80($s0) +/* f00dbf8: 3c014780 */ lui $at,0x4780 +/* f00dbfc: 44811000 */ mtc1 $at,$f2 +/* f00dc00: 448e2000 */ mtc1 $t6,$f4 +/* f00dc04: 8e0f0084 */ lw $t7,0x84($s0) +/* f00dc08: 3c017f1b */ lui $at,0x7f1b +/* f00dc0c: 468021a0 */ cvt.s.w $f6,$f4 +/* f00dc10: c42c9250 */ lwc1 $f12,-0x6db0($at) +/* f00dc14: 3c017f1b */ lui $at,0x7f1b +/* f00dc18: c4289254 */ lwc1 $f8,-0x6dac($at) +/* f00dc1c: 448f9000 */ mtc1 $t7,$f18 +/* f00dc20: 3c0142c8 */ lui $at,0x42c8 +/* f00dc24: 46083282 */ mul.s $f10,$f6,$f8 +/* f00dc28: 44813000 */ mtc1 $at,$f6 +/* f00dc2c: 8e180064 */ lw $t8,0x64($s0) +/* f00dc30: 8e190068 */ lw $t9,0x68($s0) +/* f00dc34: 44800000 */ mtc1 $zero,$f0 +/* f00dc38: 2403ffff */ li $v1,-1 +/* f00dc3c: 46809120 */ cvt.s.w $f4,$f18 +/* f00dc40: a200005f */ sb $zero,0x5f($s0) +/* f00dc44: ae030090 */ sw $v1,0x90($s0) +/* f00dc48: ae030094 */ sw $v1,0x94($s0) +/* f00dc4c: ae030098 */ sw $v1,0x98($s0) +/* f00dc50: 46025403 */ div.s $f16,$f10,$f2 +/* f00dc54: 24040030 */ li $a0,0x30 +/* f00dc58: 24050004 */ li $a1,0x4 +/* f00dc5c: e600006c */ swc1 $f0,0x6c($s0) +/* f00dc60: 46062202 */ mul.s $f8,$f4,$f6 +/* f00dc64: e6000070 */ swc1 $f0,0x70($s0) +/* f00dc68: e6000060 */ swc1 $f0,0x60($s0) +/* f00dc6c: e6000078 */ swc1 $f0,0x78($s0) +/* f00dc70: e600007c */ swc1 $f0,0x7c($s0) +/* f00dc74: e6000074 */ swc1 $f0,0x74($s0) +/* f00dc78: e6000088 */ swc1 $f0,0x88($s0) +/* f00dc7c: e600008c */ swc1 $f0,0x8c($s0) +/* f00dc80: 46024283 */ div.s $f10,$f8,$f2 +/* f00dc84: e6100080 */ swc1 $f16,0x80($s0) +/* f00dc88: 44988000 */ mtc1 $t8,$f16 +/* f00dc8c: 44994000 */ mtc1 $t9,$f8 +/* f00dc90: 468084a0 */ cvt.s.w $f18,$f16 +/* f00dc94: 460c9102 */ mul.s $f4,$f18,$f12 +/* f00dc98: e60a0084 */ swc1 $f10,0x84($s0) +/* f00dc9c: 468042a0 */ cvt.s.w $f10,$f8 +/* f00dca0: 46022183 */ div.s $f6,$f4,$f2 +/* f00dca4: 460c5402 */ mul.s $f16,$f10,$f12 +/* f00dca8: 46028483 */ div.s $f18,$f16,$f2 +/* f00dcac: e6060064 */ swc1 $f6,0x64($s0) +/* f00dcb0: 0c004856 */ jal 0x12158 +/* f00dcb4: e6120068 */ swc1 $f18,0x68($s0) +/* f00dcb8: 2403ffff */ li $v1,-1 +/* f00dcbc: ae02009c */ sw $v0,0x9c($s0) +/* f00dcc0: a0430000 */ sb $v1,0x0($v0) +/* f00dcc4: 8604005c */ lh $a0,0x5c($s0) +/* f00dcc8: 44800000 */ mtc1 $zero,$f0 +/* f00dccc: 240800ff */ li $t0,0xff +/* f00dcd0: a200005e */ sb $zero,0x5e($s0) +/* f00dcd4: a20800a9 */ sb $t0,0xa9($s0) +/* f00dcd8: 0480001f */ bltz $a0,.PF0f00dd58 +/* f00dcdc: e60000a0 */ swc1 $f0,0xa0($s0) +/* f00dce0: 24050002 */ li $a1,0x2 +/* f00dce4: 0fc45964 */ jal 0xf116590 +/* f00dce8: 27a60028 */ addiu $a2,$sp,0x28 +/* f00dcec: 8e020014 */ lw $v0,0x14($s0) +/* f00dcf0: c7a8002c */ lwc1 $f8,0x2c($sp) +/* f00dcf4: c7a40028 */ lwc1 $f4,0x28($sp) +/* f00dcf8: c44a000c */ lwc1 $f10,0xc($v0) +/* f00dcfc: c4460008 */ lwc1 $f6,0x8($v0) +/* f00dd00: c7b20030 */ lwc1 $f18,0x30($sp) +/* f00dd04: 460a4401 */ sub.s $f16,$f8,$f10 +/* f00dd08: 46062301 */ sub.s $f12,$f4,$f6 +/* f00dd0c: e7b00084 */ swc1 $f16,0x84($sp) +/* f00dd10: c4440010 */ lwc1 $f4,0x10($v0) +/* f00dd14: e7ac0088 */ swc1 $f12,0x88($sp) +/* f00dd18: 46049381 */ sub.s $f14,$f18,$f4 +/* f00dd1c: 0fc2599c */ jal 0xf096670 +/* f00dd20: e7ae0080 */ swc1 $f14,0x80($sp) +/* f00dd24: c7a20088 */ lwc1 $f2,0x88($sp) +/* f00dd28: c7ae0080 */ lwc1 $f14,0x80($sp) +/* f00dd2c: e6000060 */ swc1 $f0,0x60($s0) +/* f00dd30: 46021182 */ mul.s $f6,$f2,$f2 +/* f00dd34: 00000000 */ nop +/* f00dd38: 460e7202 */ mul.s $f8,$f14,$f14 +/* f00dd3c: 0c0127b4 */ jal 0x49ed0 +/* f00dd40: 46083300 */ add.s $f12,$f6,$f8 +/* f00dd44: c7ac0084 */ lwc1 $f12,0x84($sp) +/* f00dd48: 0fc2599c */ jal 0xf096670 +/* f00dd4c: 46000386 */ mov.s $f14,$f0 +/* f00dd50: 10000007 */ b .PF0f00dd70 +/* f00dd54: e6000074 */ swc1 $f0,0x74($s0) +.PF0f00dd58: +/* f00dd58: 86090004 */ lh $t1,0x4($s0) +/* f00dd5c: 24010144 */ li $at,0x144 +/* f00dd60: 15210003 */ bne $t1,$at,.PF0f00dd70 +/* f00dd64: 3c017f1b */ lui $at,0x7f1b +/* f00dd68: c42a9258 */ lwc1 $f10,-0x6da8($at) +/* f00dd6c: e60a0074 */ swc1 $f10,0x74($s0) +.PF0f00dd70: +/* f00dd70: 8fbf001c */ lw $ra,0x1c($sp) +/* f00dd74: 8fb00018 */ lw $s0,0x18($sp) +/* f00dd78: 27bd0090 */ addiu $sp,$sp,0x90 +/* f00dd7c: 03e00008 */ jr $ra +/* f00dd80: 00000000 */ nop +); +#else void setupAutogun(struct autogunobj *autogun, s32 cmdindex) { setupGenericObject(&autogun->base, cmdindex); @@ -1154,6 +1266,7 @@ void setupAutogun(struct autogunobj *autogun, s32 cmdindex) autogun->anglev = -1.5705462694168f; } } +#endif void setupHangingMonitors(struct hangingmonitorsobj *monitors, s32 cmdindex) { @@ -1290,6 +1403,394 @@ s32 func0f00e2b0(s32 padnum) return func0f164e8c(¢re, &coord); } +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel setupDoor +/* f00e350: 27bdfe38 */ addiu $sp,$sp,-456 +/* f00e354: afb00030 */ sw $s0,0x30($sp) +/* f00e358: 00808025 */ move $s0,$a0 +/* f00e35c: afbf0034 */ sw $ra,0x34($sp) +/* f00e360: afa501cc */ sw $a1,0x1cc($sp) +/* f00e364: 84840004 */ lh $a0,0x4($a0) +/* f00e368: 240effff */ li $t6,-1 +/* f00e36c: afae01bc */ sw $t6,0x1bc($sp) +/* f00e370: 0fc2482d */ jal 0xf0920b4 +/* f00e374: afa401c0 */ sw $a0,0x1c0($sp) +/* f00e378: 960f0070 */ lhu $t7,0x70($s0) +/* f00e37c: 31f80040 */ andi $t8,$t7,0x40 +/* f00e380: 53000004 */ beqzl $t8,.PF0f00e394 +/* f00e384: 8e190008 */ lw $t9,0x8($s0) +/* f00e388: 0fc45ad2 */ jal 0xf116b48 +/* f00e38c: 86040006 */ lh $a0,0x6($s0) +/* f00e390: 8e190008 */ lw $t9,0x8($s0) +.PF0f00e394: +/* f00e394: 001940c0 */ sll $t0,$t9,0x3 +/* f00e398: 05030005 */ bgezl $t0,.PF0f00e3b0 +/* f00e39c: 86040006 */ lh $a0,0x6($s0) +/* f00e3a0: 0fc038a6 */ jal 0xf00e298 +/* f00e3a4: 86040006 */ lh $a0,0x6($s0) +/* f00e3a8: afa201bc */ sw $v0,0x1bc($sp) +/* f00e3ac: 86040006 */ lh $a0,0x6($s0) +.PF0f00e3b0: +/* f00e3b0: 2405007e */ li $a1,0x7e +/* f00e3b4: 0fc45964 */ jal 0xf116590 +/* f00e3b8: 27a60168 */ addiu $a2,$sp,0x168 +/* f00e3bc: 3c018006 */ lui $at,0x8006 +/* f00e3c0: c42c18b0 */ lwc1 $f12,0x18b0($at) +/* f00e3c4: 3c013f80 */ lui $at,0x3f80 +/* f00e3c8: 44812000 */ mtc1 $at,$f4 +/* f00e3cc: c7a60198 */ lwc1 $f6,0x198($sp) +/* f00e3d0: 27a50168 */ addiu $a1,$sp,0x168 +/* f00e3d4: 460c2032 */ c.eq.s $f4,$f12 +/* f00e3d8: 00000000 */ nop +/* f00e3dc: 4503005b */ bc1tl .PF0f00e54c +/* f00e3e0: 8fab01b0 */ lw $t3,0x1b0($sp) +/* f00e3e4: 460c3202 */ mul.s $f8,$f6,$f12 +/* f00e3e8: c7aa019c */ lwc1 $f10,0x19c($sp) +/* f00e3ec: 8fa301bc */ lw $v1,0x1bc($sp) +/* f00e3f0: 3c0a800a */ lui $t2,0x800a +/* f00e3f4: 460c5402 */ mul.s $f16,$f10,$f12 +/* f00e3f8: 00034880 */ sll $t1,$v1,0x2 +/* f00e3fc: 01234821 */ addu $t1,$t1,$v1 +/* f00e400: e7a80198 */ swc1 $f8,0x198($sp) +/* f00e404: 0460004e */ bltz $v1,.PF0f00e540 +/* f00e408: e7b0019c */ swc1 $f16,0x19c($sp) +/* f00e40c: 8d4a526c */ lw $t2,0x526c($t2) +/* f00e410: 00094880 */ sll $t1,$t1,0x2 +/* f00e414: c7a40170 */ lwc1 $f4,0x170($sp) +/* f00e418: 012a1021 */ addu $v0,$t1,$t2 +/* f00e41c: c4520008 */ lwc1 $f18,0x8($v0) +/* f00e420: c7aa016c */ lwc1 $f10,0x16c($sp) +/* f00e424: c4420000 */ lwc1 $f2,0x0($v0) +/* f00e428: 46049182 */ mul.s $f6,$f18,$f4 +/* f00e42c: c4520004 */ lwc1 $f18,0x4($v0) +/* f00e430: 3c013f80 */ lui $at,0x3f80 +/* f00e434: c44e000c */ lwc1 $f14,0xc($v0) +/* f00e438: 46125102 */ mul.s $f4,$f10,$f18 +/* f00e43c: c7aa0168 */ lwc1 $f10,0x168($sp) +/* f00e440: 46025482 */ mul.s $f18,$f10,$f2 +/* f00e444: 46049280 */ add.s $f10,$f18,$f4 +/* f00e448: 44812000 */ mtc1 $at,$f4 +/* f00e44c: 460a3000 */ add.s $f0,$f6,$f10 +/* f00e450: 46046181 */ sub.s $f6,$f12,$f4 +/* f00e454: 460e0481 */ sub.s $f18,$f0,$f14 +/* f00e458: 46069002 */ mul.s $f0,$f18,$f6 +/* f00e45c: 00000000 */ nop +/* f00e460: 46001282 */ mul.s $f10,$f2,$f0 +/* f00e464: e7aa0150 */ swc1 $f10,0x150($sp) +/* f00e468: c4440004 */ lwc1 $f4,0x4($v0) +/* f00e46c: 46002482 */ mul.s $f18,$f4,$f0 +/* f00e470: c7a40150 */ lwc1 $f4,0x150($sp) +/* f00e474: e7b20154 */ swc1 $f18,0x154($sp) +/* f00e478: c4460008 */ lwc1 $f6,0x8($v0) +/* f00e47c: c7b2018c */ lwc1 $f18,0x18c($sp) +/* f00e480: 46003282 */ mul.s $f10,$f6,$f0 +/* f00e484: e7aa0158 */ swc1 $f10,0x158($sp) +/* f00e488: 46122182 */ mul.s $f6,$f4,$f18 +/* f00e48c: c7a40190 */ lwc1 $f4,0x190($sp) +/* f00e490: c7aa0154 */ lwc1 $f10,0x154($sp) +/* f00e494: 46045482 */ mul.s $f18,$f10,$f4 +/* f00e498: c7a40194 */ lwc1 $f4,0x194($sp) +/* f00e49c: 46123280 */ add.s $f10,$f6,$f18 +/* f00e4a0: c7a60158 */ lwc1 $f6,0x158($sp) +/* f00e4a4: 46062482 */ mul.s $f18,$f4,$f6 +/* f00e4a8: 460a9000 */ add.s $f0,$f18,$f10 +/* f00e4ac: c7aa0150 */ lwc1 $f10,0x150($sp) +/* f00e4b0: 46004100 */ add.s $f4,$f8,$f0 +/* f00e4b4: c7a80180 */ lwc1 $f8,0x180($sp) +/* f00e4b8: 46008480 */ add.s $f18,$f16,$f0 +/* f00e4bc: e7a40198 */ swc1 $f4,0x198($sp) +/* f00e4c0: 46085102 */ mul.s $f4,$f10,$f8 +/* f00e4c4: c7b00154 */ lwc1 $f16,0x154($sp) +/* f00e4c8: e7b2019c */ swc1 $f18,0x19c($sp) +/* f00e4cc: c7b20184 */ lwc1 $f18,0x184($sp) +/* f00e4d0: 46128282 */ mul.s $f10,$f16,$f18 +/* f00e4d4: c7b00188 */ lwc1 $f16,0x188($sp) +/* f00e4d8: 46068482 */ mul.s $f18,$f16,$f6 +/* f00e4dc: c7b001a4 */ lwc1 $f16,0x1a4($sp) +/* f00e4e0: 460a2200 */ add.s $f8,$f4,$f10 +/* f00e4e4: c7a401a0 */ lwc1 $f4,0x1a0($sp) +/* f00e4e8: 46089000 */ add.s $f0,$f18,$f8 +/* f00e4ec: c7a80150 */ lwc1 $f8,0x150($sp) +/* f00e4f0: 46008480 */ add.s $f18,$f16,$f0 +/* f00e4f4: c7b00154 */ lwc1 $f16,0x154($sp) +/* f00e4f8: 46002280 */ add.s $f10,$f4,$f0 +/* f00e4fc: c7a40174 */ lwc1 $f4,0x174($sp) +/* f00e500: e7b201a4 */ swc1 $f18,0x1a4($sp) +/* f00e504: c7b20178 */ lwc1 $f18,0x178($sp) +/* f00e508: e7aa01a0 */ swc1 $f10,0x1a0($sp) +/* f00e50c: 46044282 */ mul.s $f10,$f8,$f4 +/* f00e510: 00000000 */ nop +/* f00e514: 46128202 */ mul.s $f8,$f16,$f18 +/* f00e518: c7b0017c */ lwc1 $f16,0x17c($sp) +/* f00e51c: 46068482 */ mul.s $f18,$f16,$f6 +/* f00e520: c7b001ac */ lwc1 $f16,0x1ac($sp) +/* f00e524: 46085100 */ add.s $f4,$f10,$f8 +/* f00e528: c7aa01a8 */ lwc1 $f10,0x1a8($sp) +/* f00e52c: 46049000 */ add.s $f0,$f18,$f4 +/* f00e530: 46008180 */ add.s $f6,$f16,$f0 +/* f00e534: 46005200 */ add.s $f8,$f10,$f0 +/* f00e538: e7a601ac */ swc1 $f6,0x1ac($sp) +/* f00e53c: e7a801a8 */ swc1 $f8,0x1a8($sp) +.PF0f00e540: +/* f00e540: 0fc45b1c */ jal 0xf116c70 +/* f00e544: 86040006 */ lh $a0,0x6($s0) +/* f00e548: 8fab01b0 */ lw $t3,0x1b0($sp) +.PF0f00e54c: +/* f00e54c: 8fac01c0 */ lw $t4,0x1c0($sp) +/* f00e550: 3c048008 */ lui $a0,0x8008 +/* f00e554: 196000e6 */ blez $t3,.PF0f00e8f0 +/* f00e558: 000c68c0 */ sll $t5,$t4,0x3 +/* f00e55c: 008d2021 */ addu $a0,$a0,$t5 +/* f00e560: 0fc1a2ff */ jal 0xf068bfc +/* f00e564: 8c84b53c */ lw $a0,-0x4ac4($a0) +/* f00e568: c7b20174 */ lwc1 $f18,0x174($sp) +/* f00e56c: 44800000 */ mtc1 $zero,$f0 +/* f00e570: c7aa0178 */ lwc1 $f10,0x178($sp) +/* f00e574: 46009107 */ neg.s $f4,$f18 +/* f00e578: c7b0017c */ lwc1 $f16,0x17c($sp) +/* f00e57c: 46005207 */ neg.s $f8,$f10 +/* f00e580: e7a40010 */ swc1 $f4,0x10($sp) +/* f00e584: c7a40184 */ lwc1 $f4,0x184($sp) +/* f00e588: c7aa0188 */ lwc1 $f10,0x188($sp) +/* f00e58c: c7b20180 */ lwc1 $f18,0x180($sp) +/* f00e590: 46008187 */ neg.s $f6,$f16 +/* f00e594: 44050000 */ mfc1 $a1,$f0 +/* f00e598: 44060000 */ mfc1 $a2,$f0 +/* f00e59c: 44070000 */ mfc1 $a3,$f0 +/* f00e5a0: afa20044 */ sw $v0,0x44($sp) +/* f00e5a4: e7a60018 */ swc1 $f6,0x18($sp) +/* f00e5a8: e7a80014 */ swc1 $f8,0x14($sp) +/* f00e5ac: 27a40110 */ addiu $a0,$sp,0x110 +/* f00e5b0: e7a40020 */ swc1 $f4,0x20($sp) +/* f00e5b4: e7aa0024 */ swc1 $f10,0x24($sp) +/* f00e5b8: 0c005aba */ jal 0x16ae8 +/* f00e5bc: e7b2001c */ swc1 $f18,0x1c($sp) +/* f00e5c0: 3c017f1b */ lui $at,0x7f1b +/* f00e5c4: c42c9260 */ lwc1 $f12,-0x6da0($at) +/* f00e5c8: 0c00581e */ jal 0x16078 +/* f00e5cc: 27a500ac */ addiu $a1,$sp,0xac +/* f00e5d0: 3c017f1b */ lui $at,0x7f1b +/* f00e5d4: c42c9264 */ lwc1 $f12,-0x6d9c($at) +/* f00e5d8: 0c005864 */ jal 0x16190 +/* f00e5dc: 27a50060 */ addiu $a1,$sp,0x60 +/* f00e5e0: 27a40060 */ addiu $a0,$sp,0x60 +/* f00e5e4: 0c0055e3 */ jal 0x1578c +/* f00e5e8: 27a500ac */ addiu $a1,$sp,0xac +/* f00e5ec: 27a40110 */ addiu $a0,$sp,0x110 +/* f00e5f0: 0c0055e3 */ jal 0x1578c +/* f00e5f4: 27a500ac */ addiu $a1,$sp,0xac +/* f00e5f8: 86040006 */ lh $a0,0x6($s0) +/* f00e5fc: 0fc45a85 */ jal 0xf116a14 +/* f00e600: 27a500a0 */ addiu $a1,$sp,0xa0 +/* f00e604: 8fa20044 */ lw $v0,0x44($sp) +/* f00e608: c7a801a4 */ lwc1 $f8,0x1a4($sp) +/* f00e60c: c7b001a0 */ lwc1 $f16,0x1a0($sp) +/* f00e610: c4520008 */ lwc1 $f18,0x8($v0) +/* f00e614: c4440004 */ lwc1 $f4,0x4($v0) +/* f00e618: 46104181 */ sub.s $f6,$f8,$f16 +/* f00e61c: c7b001a8 */ lwc1 $f16,0x1a8($sp) +/* f00e620: c7a801ac */ lwc1 $f8,0x1ac($sp) +/* f00e624: 46049281 */ sub.s $f10,$f18,$f4 +/* f00e628: c4440010 */ lwc1 $f4,0x10($v0) +/* f00e62c: 3c017f1b */ lui $at,0x7f1b +/* f00e630: 46104481 */ sub.s $f18,$f8,$f16 +/* f00e634: c4209268 */ lwc1 $f0,-0x6d98($at) +/* f00e638: c7b00198 */ lwc1 $f16,0x198($sp) +/* f00e63c: 460a3303 */ div.s $f12,$f6,$f10 +/* f00e640: c446000c */ lwc1 $f6,0xc($v0) +/* f00e644: c7a8019c */ lwc1 $f8,0x19c($sp) +/* f00e648: 27a500ac */ addiu $a1,$sp,0xac +/* f00e64c: 46062281 */ sub.s $f10,$f4,$f6 +/* f00e650: c4460018 */ lwc1 $f6,0x18($v0) +/* f00e654: 46104101 */ sub.s $f4,$f8,$f16 +/* f00e658: 460a9083 */ div.s $f2,$f18,$f10 +/* f00e65c: c4520014 */ lwc1 $f18,0x14($v0) +/* f00e660: 4600603e */ c.le.s $f12,$f0 +/* f00e664: 46123281 */ sub.s $f10,$f6,$f18 +/* f00e668: 45010008 */ bc1t .PF0f00e68c +/* f00e66c: 460a2383 */ div.s $f14,$f4,$f10 +/* f00e670: 4600103e */ c.le.s $f2,$f0 +/* f00e674: 00000000 */ nop +/* f00e678: 45030005 */ bc1tl .PF0f00e690 +/* f00e67c: 3c013f80 */ lui $at,0x3f80 +/* f00e680: 4600703e */ c.le.s $f14,$f0 +/* f00e684: 00000000 */ nop +/* f00e688: 45000005 */ bc1f .PF0f00e6a0 +.PF0f00e68c: +/* f00e68c: 3c013f80 */ lui $at,0x3f80 +.PF0f00e690: +/* f00e690: 44816000 */ mtc1 $at,$f12 +/* f00e694: 00000000 */ nop +/* f00e698: 46006386 */ mov.s $f14,$f12 +/* f00e69c: 46006086 */ mov.s $f2,$f12 +.PF0f00e6a0: +/* f00e6a0: e7a2004c */ swc1 $f2,0x4c($sp) +/* f00e6a4: e7ac0050 */ swc1 $f12,0x50($sp) +/* f00e6a8: 0c0056ed */ jal 0x15bb4 +/* f00e6ac: e7ae0048 */ swc1 $f14,0x48($sp) +/* f00e6b0: c7ac004c */ lwc1 $f12,0x4c($sp) +/* f00e6b4: 0c005704 */ jal 0x15c10 +/* f00e6b8: 27a500ac */ addiu $a1,$sp,0xac +/* f00e6bc: c7ac0048 */ lwc1 $f12,0x48($sp) +/* f00e6c0: 0c00571b */ jal 0x15c6c +/* f00e6c4: 27a500ac */ addiu $a1,$sp,0xac +/* f00e6c8: c7a80168 */ lwc1 $f8,0x168($sp) +/* f00e6cc: c7b0016c */ lwc1 $f16,0x16c($sp) +/* f00e6d0: c7a60170 */ lwc1 $f6,0x170($sp) +/* f00e6d4: 8fae01b0 */ lw $t6,0x1b0($sp) +/* f00e6d8: 240fffff */ li $t7,-1 +/* f00e6dc: a7af00ee */ sh $t7,0xee($sp) +/* f00e6e0: e7a800fc */ swc1 $f8,0xfc($sp) +/* f00e6e4: e7b00100 */ swc1 $f16,0x100($sp) +/* f00e6e8: e7a60104 */ swc1 $f6,0x104($sp) +/* f00e6ec: a7ae00ec */ sh $t6,0xec($sp) +/* f00e6f0: 96020072 */ lhu $v0,0x72($s0) +/* f00e6f4: 24010004 */ li $at,0x4 +/* f00e6f8: c7b201ac */ lwc1 $f18,0x1ac($sp) +/* f00e6fc: 10410004 */ beq $v0,$at,.PF0f00e710 +/* f00e700: c7a401a8 */ lwc1 $f4,0x1a8($sp) +/* f00e704: 24010008 */ li $at,0x8 +/* f00e708: 1441000e */ bne $v0,$at,.PF0f00e744 +/* f00e70c: c7aa01a0 */ lwc1 $f10,0x1a0($sp) +.PF0f00e710: +/* f00e710: 46049001 */ sub.s $f0,$f18,$f4 +/* f00e714: c7aa0174 */ lwc1 $f10,0x174($sp) +/* f00e718: c7b00178 */ lwc1 $f16,0x178($sp) +/* f00e71c: c7b2017c */ lwc1 $f18,0x17c($sp) +/* f00e720: 46005202 */ mul.s $f8,$f10,$f0 +/* f00e724: 00000000 */ nop +/* f00e728: 46008182 */ mul.s $f6,$f16,$f0 +/* f00e72c: 00000000 */ nop +/* f00e730: 46009102 */ mul.s $f4,$f18,$f0 +/* f00e734: e7a80054 */ swc1 $f8,0x54($sp) +/* f00e738: e7a60058 */ swc1 $f6,0x58($sp) +/* f00e73c: 1000000e */ b .PF0f00e778 +/* f00e740: e7a4005c */ swc1 $f4,0x5c($sp) +.PF0f00e744: +/* f00e744: c7a801a4 */ lwc1 $f8,0x1a4($sp) +/* f00e748: c7b00180 */ lwc1 $f16,0x180($sp) +/* f00e74c: c7b20184 */ lwc1 $f18,0x184($sp) +/* f00e750: 46085001 */ sub.s $f0,$f10,$f8 +/* f00e754: c7aa0188 */ lwc1 $f10,0x188($sp) +/* f00e758: 46008182 */ mul.s $f6,$f16,$f0 +/* f00e75c: 00000000 */ nop +/* f00e760: 46009102 */ mul.s $f4,$f18,$f0 +/* f00e764: 00000000 */ nop +/* f00e768: 46005202 */ mul.s $f8,$f10,$f0 +/* f00e76c: e7a60054 */ swc1 $f6,0x54($sp) +/* f00e770: e7a40058 */ swc1 $f4,0x58($sp) +/* f00e774: e7a8005c */ swc1 $f8,0x5c($sp) +.PF0f00e778: +/* f00e778: 8e18005c */ lw $t8,0x5c($s0) +/* f00e77c: 3c014780 */ lui $at,0x4780 +/* f00e780: 44810000 */ mtc1 $at,$f0 +/* f00e784: 44988000 */ mtc1 $t8,$f16 +/* f00e788: 8e080064 */ lw $t0,0x64($s0) +/* f00e78c: 8e190060 */ lw $t9,0x60($s0) +/* f00e790: 468081a0 */ cvt.s.w $f6,$f16 +/* f00e794: 44888000 */ mtc1 $t0,$f16 +/* f00e798: 44992000 */ mtc1 $t9,$f4 +/* f00e79c: 3c017f1b */ lui $at,0x7f1b +/* f00e7a0: c422926c */ lwc1 $f2,-0x6d94($at) +/* f00e7a4: 468022a0 */ cvt.s.w $f10,$f4 +/* f00e7a8: 3c014c7a */ lui $at,0x4c7a +/* f00e7ac: 44816000 */ mtc1 $at,$f12 +/* f00e7b0: 8e090068 */ lw $t1,0x68($s0) +/* f00e7b4: 8e0a006c */ lw $t2,0x6c($s0) +/* f00e7b8: 46003483 */ div.s $f18,$f6,$f0 +/* f00e7bc: 8e0b00bc */ lw $t3,0xbc($s0) +/* f00e7c0: 468081a0 */ cvt.s.w $f6,$f16 +/* f00e7c4: 46005203 */ div.s $f8,$f10,$f0 +/* f00e7c8: e612005c */ swc1 $f18,0x5c($s0) +/* f00e7cc: 44895000 */ mtc1 $t1,$f10 +/* f00e7d0: 46023482 */ mul.s $f18,$f6,$f2 +/* f00e7d4: 460c9103 */ div.s $f4,$f18,$f12 +/* f00e7d8: e6080060 */ swc1 $f8,0x60($s0) +/* f00e7dc: 448a9000 */ mtc1 $t2,$f18 +/* f00e7e0: 46805220 */ cvt.s.w $f8,$f10 +/* f00e7e4: 46024402 */ mul.s $f16,$f8,$f2 +/* f00e7e8: e6040064 */ swc1 $f4,0x64($s0) +/* f00e7ec: 46809120 */ cvt.s.w $f4,$f18 +/* f00e7f0: 460c8183 */ div.s $f6,$f16,$f12 +/* f00e7f4: 46022282 */ mul.s $f10,$f4,$f2 +/* f00e7f8: 46005203 */ div.s $f8,$f10,$f0 +/* f00e7fc: e6060068 */ swc1 $f6,0x68($s0) +/* f00e800: 11600006 */ beqz $t3,.PF0f00e81c +/* f00e804: e608006c */ swc1 $f8,0x6c($s0) +/* f00e808: 8e0c00bc */ lw $t4,0xbc($s0) +/* f00e80c: 8fad01cc */ lw $t5,0x1cc($sp) +/* f00e810: 0fc247c1 */ jal 0xf091f04 +/* f00e814: 018d2021 */ addu $a0,$t4,$t5 +/* f00e818: ae0200bc */ sw $v0,0xbc($s0) +.PF0f00e81c: +/* f00e81c: 27ae0054 */ addiu $t6,$sp,0x54 +/* f00e820: 27af00a0 */ addiu $t7,$sp,0xa0 +/* f00e824: afaf0014 */ sw $t7,0x14($sp) +/* f00e828: afae0010 */ sw $t6,0x10($sp) +/* f00e82c: 02002025 */ move $a0,$s0 +/* f00e830: 27a500fc */ addiu $a1,$sp,0xfc +/* f00e834: 27a600ac */ addiu $a2,$sp,0xac +/* f00e838: 0fc2351b */ jal 0xf08d46c +/* f00e83c: 27a700ec */ addiu $a3,$sp,0xec +/* f00e840: afa2010c */ sw $v0,0x10c($sp) +/* f00e844: 8e180008 */ lw $t8,0x8($s0) +/* f00e848: 8fa801bc */ lw $t0,0x1bc($sp) +/* f00e84c: 0018c8c0 */ sll $t9,$t8,0x3 +/* f00e850: 0723000e */ bgezl $t9,.PF0f00e88c +/* f00e854: 8e040018 */ lw $a0,0x18($s0) +/* f00e858: a60800c4 */ sh $t0,0xc4($s0) +/* f00e85c: 860900c4 */ lh $t1,0xc4($s0) +/* f00e860: 0522000a */ bltzl $t1,.PF0f00e88c +/* f00e864: 8e040018 */ lw $a0,0x18($s0) +/* f00e868: 44808000 */ mtc1 $zero,$f16 +/* f00e86c: c606007c */ lwc1 $f6,0x7c($s0) +/* f00e870: 46068032 */ c.eq.s $f16,$f6 +/* f00e874: 00000000 */ nop +/* f00e878: 45020004 */ bc1fl .PF0f00e88c +/* f00e87c: 8e040018 */ lw $a0,0x18($s0) +/* f00e880: 0fc23510 */ jal 0xf08d440 +/* f00e884: 02002025 */ move $a0,$s0 +/* f00e888: 8e040018 */ lw $a0,0x18($s0) +.PF0f00e88c: +/* f00e88c: c7a00050 */ lwc1 $f0,0x50($sp) +/* f00e890: c7ac004c */ lwc1 $f12,0x4c($sp) +/* f00e894: 10800010 */ beqz $a0,.PF0f00e8d8 +/* f00e898: c7b20048 */ lwc1 $f18,0x48($sp) +/* f00e89c: 460c003c */ c.lt.s $f0,$f12 +/* f00e8a0: 00000000 */ nop +/* f00e8a4: 45020003 */ bc1fl .PF0f00e8b4 +/* f00e8a8: 4612003c */ c.lt.s $f0,$f18 +/* f00e8ac: 46006006 */ mov.s $f0,$f12 +/* f00e8b0: 4612003c */ c.lt.s $f0,$f18 +.PF0f00e8b4: +/* f00e8b4: 00000000 */ nop +/* f00e8b8: 45020003 */ bc1fl .PF0f00e8c8 +/* f00e8bc: c4840014 */ lwc1 $f4,0x14($a0) +/* f00e8c0: 46009006 */ mov.s $f0,$f18 +/* f00e8c4: c4840014 */ lwc1 $f4,0x14($a0) +.PF0f00e8c8: +/* f00e8c8: 46002282 */ mul.s $f10,$f4,$f0 +/* f00e8cc: 44055000 */ mfc1 $a1,$f10 +/* f00e8d0: 0c006b3a */ jal 0x1ace8 +/* f00e8d4: 00000000 */ nop +.PF0f00e8d8: +/* f00e8d8: 0fc181c7 */ jal 0xf06071c +/* f00e8dc: 8fa4010c */ lw $a0,0x10c($sp) +/* f00e8e0: 0fc18154 */ jal 0xf060550 +/* f00e8e4: 8fa4010c */ lw $a0,0x10c($sp) +/* f00e8e8: 10000003 */ b .PF0f00e8f8 +/* f00e8ec: 8fbf0034 */ lw $ra,0x34($sp) +.PF0f00e8f0: +/* f00e8f0: ae000014 */ sw $zero,0x14($s0) +/* f00e8f4: 8fbf0034 */ lw $ra,0x34($sp) +.PF0f00e8f8: +/* f00e8f8: 8fb00030 */ lw $s0,0x30($sp) +/* f00e8fc: 27bd01c8 */ addiu $sp,$sp,0x1c8 +/* f00e900: 03e00008 */ jr $ra +/* f00e904: 00000000 */ nop +); +#else GLOBAL_ASM( glabel setupDoor .late_rodata @@ -1679,6 +2180,7 @@ glabel var7f1a8064 /* f00e904: 03e00008 */ jr $ra /* f00e908: 00000000 */ nop ); +#endif // Mismatch: // 1. Floating point math near 41c is vastly different @@ -2160,6 +2662,1599 @@ void setupLoadFiles(s32 stagenum) g_Vars.maxprops = total + numchrs + extra + 40; } +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel setupParseObjects +/* f00f170: 27bdfdb8 */ addiu $sp,$sp,-584 +/* f00f174: afbf004c */ sw $ra,0x4c($sp) +/* f00f178: afa40248 */ sw $a0,0x248($sp) +/* f00f17c: 3c057f1b */ lui $a1,0x7f1b +/* f00f180: afbe0048 */ sw $s8,0x48($sp) +/* f00f184: afb70044 */ sw $s7,0x44($sp) +/* f00f188: afb60040 */ sw $s6,0x40($sp) +/* f00f18c: afb5003c */ sw $s5,0x3c($sp) +/* f00f190: afb40038 */ sw $s4,0x38($sp) +/* f00f194: afb30034 */ sw $s3,0x34($sp) +/* f00f198: afb20030 */ sw $s2,0x30($sp) +/* f00f19c: afb1002c */ sw $s1,0x2c($sp) +/* f00f1a0: afb00028 */ sw $s0,0x28($sp) +/* f00f1a4: f7b60020 */ sdc1 $f22,0x20($sp) +/* f00f1a8: f7b40018 */ sdc1 $f20,0x18($sp) +/* f00f1ac: 24a59160 */ addiu $a1,$a1,-28320 +/* f00f1b0: 0c004b68 */ jal 0x12da0 +/* f00f1b4: 24040001 */ li $a0,0x1 +/* f00f1b8: 2c430001 */ sltiu $v1,$v0,0x1 +/* f00f1bc: 10600005 */ beqz $v1,.PF0f00f1d4 +/* f00f1c0: 24040001 */ li $a0,0x1 +/* f00f1c4: 3c057f1b */ lui $a1,0x7f1b +/* f00f1c8: 0c004b68 */ jal 0x12da0 +/* f00f1cc: 24a59168 */ addiu $a1,$a1,-28312 +/* f00f1d0: 2c430001 */ sltiu $v1,$v0,0x1 +.PF0f00f1d4: +/* f00f1d4: 3c057f1b */ lui $a1,0x7f1b +/* f00f1d8: afa30244 */ sw $v1,0x244($sp) +/* f00f1dc: 24a59170 */ addiu $a1,$a1,-28304 +/* f00f1e0: 0c004b68 */ jal 0x12da0 +/* f00f1e4: 24040001 */ li $a0,0x1 +/* f00f1e8: 2c440001 */ sltiu $a0,$v0,0x1 +/* f00f1ec: 10800005 */ beqz $a0,.PF0f00f204 +/* f00f1f0: 3c057f1b */ lui $a1,0x7f1b +/* f00f1f4: 24040001 */ li $a0,0x1 +/* f00f1f8: 0c004b68 */ jal 0x12da0 +/* f00f1fc: 24a59178 */ addiu $a1,$a1,-28296 +/* f00f200: 2c440001 */ sltiu $a0,$v0,0x1 +.PF0f00f204: +/* f00f204: 8fa50248 */ lw $a1,0x248($sp) +/* f00f208: 24010022 */ li $at,0x22 +/* f00f20c: 0080a825 */ move $s5,$a0 +/* f00f210: 10a10006 */ beq $a1,$at,.PF0f00f22c +/* f00f214: 24185801 */ li $t8,0x5801 +/* f00f218: 38a20030 */ xori $v0,$a1,0x30 +/* f00f21c: 2c420001 */ sltiu $v0,$v0,0x1 +/* f00f220: 2c430001 */ sltiu $v1,$v0,0x1 +/* f00f224: 5460000e */ bnezl $v1,.PF0f00f260 +/* f00f228: afa3023c */ sw $v1,0x23c($sp) +.PF0f00f22c: +/* f00f22c: 3c03800a */ lui $v1,0x800a +/* f00f230: 8c63a7a8 */ lw $v1,-0x5858($v1) +/* f00f234: 286e0000 */ slti $t6,$v1,0x0 +/* f00f238: 39ce0001 */ xori $t6,$t6,0x1 +/* f00f23c: 2dc30001 */ sltiu $v1,$t6,0x1 +/* f00f240: 50600007 */ beqzl $v1,.PF0f00f260 +/* f00f244: afa3023c */ sw $v1,0x23c($sp) +/* f00f248: 3c03800a */ lui $v1,0x800a +/* f00f24c: 8c63a7ac */ lw $v1,-0x5854($v1) +/* f00f250: 286f0000 */ slti $t7,$v1,0x0 +/* f00f254: 39ef0001 */ xori $t7,$t7,0x1 +/* f00f258: 2de30001 */ sltiu $v1,$t7,0x1 +/* f00f25c: afa3023c */ sw $v1,0x23c($sp) +.PF0f00f260: +/* f00f260: 3c01800a */ lui $at,0x800a +/* f00f264: 3c03800a */ lui $v1,0x800a +/* f00f268: 3c02800a */ lui $v0,0x800a +/* f00f26c: afa00238 */ sw $zero,0x238($sp) +/* f00f270: afa00234 */ sw $zero,0x234($sp) +/* f00f274: ac20a7c8 */ sw $zero,-0x5838($at) +/* f00f278: 2442e568 */ addiu $v0,$v0,-6808 +/* f00f27c: 2463e574 */ addiu $v1,$v1,-6796 +.PF0f00f280: +/* f00f280: 24420002 */ addiu $v0,$v0,0x2 +/* f00f284: a4400000 */ sh $zero,0x0($v0) +/* f00f288: 1443fffd */ bne $v0,$v1,.PF0f00f280 +/* f00f28c: a440000c */ sh $zero,0xc($v0) +/* f00f290: 3c01800a */ lui $at,0x800a +/* f00f294: a438e568 */ sh $t8,-0x1a98($at) +/* f00f298: 28a1005a */ slti $at,$a1,0x5a +/* f00f29c: 10200581 */ beqz $at,.PF0f0108a4 +/* f00f2a0: 3c19800a */ lui $t9,0x800a +/* f00f2a4: 8f39d5ac */ lw $t9,-0x2a54($t9) +/* f00f2a8: 13200003 */ beqz $t9,.PF0f00f2b8 +/* f00f2ac: 00000000 */ nop +/* f00f2b0: 0fc04ab0 */ jal 0xf012ac0 +/* f00f2b4: 00000000 */ nop +.PF0f00f2b8: +/* f00f2b8: 0fc04b5c */ jal 0xf012d70 +/* f00f2bc: 00000000 */ nop +/* f00f2c0: 8fab0244 */ lw $t3,0x244($sp) +/* f00f2c4: 11600015 */ beqz $t3,.PF0f00f31c +/* f00f2c8: 00000000 */ nop +/* f00f2cc: 0fc03390 */ jal 0xf00ce40 +/* f00f2d0: 24040009 */ li $a0,0x9 +/* f00f2d4: 3c03800a */ lui $v1,0x800a +/* f00f2d8: 2463a510 */ addiu $v1,$v1,-23280 +/* f00f2dc: 8c6c0318 */ lw $t4,0x318($v1) +/* f00f2e0: 00402025 */ move $a0,$v0 +/* f00f2e4: 3c0d800a */ lui $t5,0x800a +/* f00f2e8: 15800008 */ bnez $t4,.PF0f00f30c +/* f00f2ec: 00000000 */ nop +/* f00f2f0: 81aee58b */ lb $t6,-0x1a75($t5) +/* f00f2f4: 05c10005 */ bgez $t6,.PF0f00f30c +/* f00f2f8: 00000000 */ nop +/* f00f2fc: 8c620474 */ lw $v0,0x474($v1) +/* f00f300: 18400002 */ blez $v0,.PF0f00f30c +/* f00f304: 00000000 */ nop +/* f00f308: 00822021 */ addu $a0,$a0,$v0 +.PF0f00f30c: +/* f00f30c: 0fc02d83 */ jal 0xf00b60c +/* f00f310: 00000000 */ nop +/* f00f314: 10000003 */ b .PF0f00f324 +/* f00f318: 00000000 */ nop +.PF0f00f31c: +/* f00f31c: 0fc02d83 */ jal 0xf00b60c +/* f00f320: 00002025 */ move $a0,$zero +.PF0f00f324: +/* f00f324: 3c06800a */ lui $a2,0x800a +/* f00f328: 24c6a510 */ addiu $a2,$a2,-23280 +/* f00f32c: 8ccf006c */ lw $t7,0x6c($a2) +/* f00f330: 00008025 */ move $s0,$zero +/* f00f334: 00002825 */ move $a1,$zero +/* f00f338: 11e00003 */ beqz $t7,.PF0f00f348 +/* f00f33c: 00002025 */ move $a0,$zero +/* f00f340: 10000001 */ b .PF0f00f348 +/* f00f344: 24050001 */ li $a1,0x1 +.PF0f00f348: +/* f00f348: 8cd80068 */ lw $t8,0x68($a2) +/* f00f34c: 00001025 */ move $v0,$zero +/* f00f350: 00001825 */ move $v1,$zero +/* f00f354: 13000003 */ beqz $t8,.PF0f00f364 +/* f00f358: 00000000 */ nop +/* f00f35c: 10000001 */ b .PF0f00f364 +/* f00f360: 24040001 */ li $a0,0x1 +.PF0f00f364: +/* f00f364: 8cd90064 */ lw $t9,0x64($a2) +/* f00f368: 13200003 */ beqz $t9,.PF0f00f378 +/* f00f36c: 00000000 */ nop +/* f00f370: 10000001 */ b .PF0f00f378 +/* f00f374: 24020001 */ li $v0,0x1 +.PF0f00f378: +/* f00f378: 8ccb0070 */ lw $t3,0x70($a2) +/* f00f37c: 11600003 */ beqz $t3,.PF0f00f38c +/* f00f380: 00000000 */ nop +/* f00f384: 10000001 */ b .PF0f00f38c +/* f00f388: 24030001 */ li $v1,0x1 +.PF0f00f38c: +/* f00f38c: 00626021 */ addu $t4,$v1,$v0 +/* f00f390: 01846821 */ addu $t5,$t4,$a0 +/* f00f394: 01a57021 */ addu $t6,$t5,$a1 +/* f00f398: 19c00027 */ blez $t6,.PF0f00f438 +/* f00f39c: 00000000 */ nop +.PF0f00f3a0: +/* f00f3a0: 0fc4a4ff */ jal 0xf1293fc +/* f00f3a4: 02002025 */ move $a0,$s0 +/* f00f3a8: 0fc03390 */ jal 0xf00ce40 +/* f00f3ac: 2404000e */ li $a0,0xe +/* f00f3b0: 0fc04954 */ jal 0xf012550 +/* f00f3b4: 00402025 */ move $a0,$v0 +/* f00f3b8: 3c06800a */ lui $a2,0x800a +/* f00f3bc: 24c6a510 */ addiu $a2,$a2,-23280 +/* f00f3c0: 8ccf006c */ lw $t7,0x6c($a2) +/* f00f3c4: 26100001 */ addiu $s0,$s0,0x1 +/* f00f3c8: 00002825 */ move $a1,$zero +/* f00f3cc: 11e00003 */ beqz $t7,.PF0f00f3dc +/* f00f3d0: 00002025 */ move $a0,$zero +/* f00f3d4: 10000001 */ b .PF0f00f3dc +/* f00f3d8: 24050001 */ li $a1,0x1 +.PF0f00f3dc: +/* f00f3dc: 8cd80068 */ lw $t8,0x68($a2) +/* f00f3e0: 00001025 */ move $v0,$zero +/* f00f3e4: 00001825 */ move $v1,$zero +/* f00f3e8: 13000003 */ beqz $t8,.PF0f00f3f8 +/* f00f3ec: 00000000 */ nop +/* f00f3f0: 10000001 */ b .PF0f00f3f8 +/* f00f3f4: 24040001 */ li $a0,0x1 +.PF0f00f3f8: +/* f00f3f8: 8cd90064 */ lw $t9,0x64($a2) +/* f00f3fc: 13200003 */ beqz $t9,.PF0f00f40c +/* f00f400: 00000000 */ nop +/* f00f404: 10000001 */ b .PF0f00f40c +/* f00f408: 24020001 */ li $v0,0x1 +.PF0f00f40c: +/* f00f40c: 8ccb0070 */ lw $t3,0x70($a2) +/* f00f410: 11600003 */ beqz $t3,.PF0f00f420 +/* f00f414: 00000000 */ nop +/* f00f418: 10000001 */ b .PF0f00f420 +/* f00f41c: 24030001 */ li $v1,0x1 +.PF0f00f420: +/* f00f420: 00626021 */ addu $t4,$v1,$v0 +/* f00f424: 01846821 */ addu $t5,$t4,$a0 +/* f00f428: 01a57021 */ addu $t6,$t5,$a1 +/* f00f42c: 020e082a */ slt $at,$s0,$t6 +/* f00f430: 1420ffdb */ bnez $at,.PF0f00f3a0 +/* f00f434: 00000000 */ nop +.PF0f00f438: +/* f00f438: 3c0f800a */ lui $t7,0x800a +/* f00f43c: 8defd5a0 */ lw $t7,-0x2a60($t7) +/* f00f440: 11e0051a */ beqz $t7,.PF0f0108ac +/* f00f444: 00000000 */ nop +/* f00f448: 0fc5b6fa */ jal 0xf16dbe8 +/* f00f44c: 00000000 */ nop +/* f00f450: 3c0a800a */ lui $t2,0x800a +/* f00f454: 254aa510 */ addiu $t2,$t2,-23280 +/* f00f458: 8d4b0314 */ lw $t3,0x314($t2) +/* f00f45c: 24580004 */ addiu $t8,$v0,0x4 +/* f00f460: 24190001 */ li $t9,0x1 +/* f00f464: 11600052 */ beqz $t3,.PF0f00f5b0 +/* f00f468: 0319a004 */ sllv $s4,$t9,$t8 +/* f00f46c: 8d46006c */ lw $a2,0x6c($t2) +/* f00f470: 24010002 */ li $at,0x2 +/* f00f474: 00002825 */ move $a1,$zero +/* f00f478: 10c00003 */ beqz $a2,.PF0f00f488 +/* f00f47c: 00002025 */ move $a0,$zero +/* f00f480: 10000001 */ b .PF0f00f488 +/* f00f484: 24050001 */ li $a1,0x1 +.PF0f00f488: +/* f00f488: 8d470068 */ lw $a3,0x68($t2) +/* f00f48c: 00001025 */ move $v0,$zero +/* f00f490: 00001825 */ move $v1,$zero +/* f00f494: 10e00003 */ beqz $a3,.PF0f00f4a4 +/* f00f498: 00000000 */ nop +/* f00f49c: 10000001 */ b .PF0f00f4a4 +/* f00f4a0: 24040001 */ li $a0,0x1 +.PF0f00f4a4: +/* f00f4a4: 8d480064 */ lw $t0,0x64($t2) +/* f00f4a8: 11000003 */ beqz $t0,.PF0f00f4b8 +/* f00f4ac: 00000000 */ nop +/* f00f4b0: 10000001 */ b .PF0f00f4b8 +/* f00f4b4: 24020001 */ li $v0,0x1 +.PF0f00f4b8: +/* f00f4b8: 8d490070 */ lw $t1,0x70($t2) +/* f00f4bc: 11200003 */ beqz $t1,.PF0f00f4cc +/* f00f4c0: 00000000 */ nop +/* f00f4c4: 10000001 */ b .PF0f00f4cc +/* f00f4c8: 24030001 */ li $v1,0x1 +.PF0f00f4cc: +/* f00f4cc: 00626021 */ addu $t4,$v1,$v0 +/* f00f4d0: 01846821 */ addu $t5,$t4,$a0 +/* f00f4d4: 01a57021 */ addu $t6,$t5,$a1 +/* f00f4d8: 15c10004 */ bne $t6,$at,.PF0f00f4ec +/* f00f4dc: 3c010040 */ lui $at,0x40 +/* f00f4e0: 02817825 */ or $t7,$s4,$at +/* f00f4e4: 10000032 */ b .PF0f00f5b0 +/* f00f4e8: 01e0a025 */ move $s4,$t7 +.PF0f00f4ec: +/* f00f4ec: 10c00003 */ beqz $a2,.PF0f00f4fc +/* f00f4f0: 24010003 */ li $at,0x3 +/* f00f4f4: 10000002 */ b .PF0f00f500 +/* f00f4f8: 24050001 */ li $a1,0x1 +.PF0f00f4fc: +/* f00f4fc: 00002825 */ move $a1,$zero +.PF0f00f500: +/* f00f500: 10e00003 */ beqz $a3,.PF0f00f510 +/* f00f504: 00002025 */ move $a0,$zero +/* f00f508: 10000001 */ b .PF0f00f510 +/* f00f50c: 24040001 */ li $a0,0x1 +.PF0f00f510: +/* f00f510: 11000003 */ beqz $t0,.PF0f00f520 +/* f00f514: 00001025 */ move $v0,$zero +/* f00f518: 10000001 */ b .PF0f00f520 +/* f00f51c: 24020001 */ li $v0,0x1 +.PF0f00f520: +/* f00f520: 11200003 */ beqz $t1,.PF0f00f530 +/* f00f524: 00001825 */ move $v1,$zero +/* f00f528: 10000001 */ b .PF0f00f530 +/* f00f52c: 24030001 */ li $v1,0x1 +.PF0f00f530: +/* f00f530: 0062c821 */ addu $t9,$v1,$v0 +/* f00f534: 0324c021 */ addu $t8,$t9,$a0 +/* f00f538: 03055821 */ addu $t3,$t8,$a1 +/* f00f53c: 15610004 */ bne $t3,$at,.PF0f00f550 +/* f00f540: 3c010080 */ lui $at,0x80 +/* f00f544: 02816025 */ or $t4,$s4,$at +/* f00f548: 10000019 */ b .PF0f00f5b0 +/* f00f54c: 0180a025 */ move $s4,$t4 +.PF0f00f550: +/* f00f550: 10c00003 */ beqz $a2,.PF0f00f560 +/* f00f554: 24010004 */ li $at,0x4 +/* f00f558: 10000002 */ b .PF0f00f564 +/* f00f55c: 24050001 */ li $a1,0x1 +.PF0f00f560: +/* f00f560: 00002825 */ move $a1,$zero +.PF0f00f564: +/* f00f564: 10e00003 */ beqz $a3,.PF0f00f574 +/* f00f568: 00002025 */ move $a0,$zero +/* f00f56c: 10000001 */ b .PF0f00f574 +/* f00f570: 24040001 */ li $a0,0x1 +.PF0f00f574: +/* f00f574: 11000003 */ beqz $t0,.PF0f00f584 +/* f00f578: 00001025 */ move $v0,$zero +/* f00f57c: 10000001 */ b .PF0f00f584 +/* f00f580: 24020001 */ li $v0,0x1 +.PF0f00f584: +/* f00f584: 11200003 */ beqz $t1,.PF0f00f594 +/* f00f588: 00001825 */ move $v1,$zero +/* f00f58c: 10000001 */ b .PF0f00f594 +/* f00f590: 24030001 */ li $v1,0x1 +.PF0f00f594: +/* f00f594: 00626821 */ addu $t5,$v1,$v0 +/* f00f598: 01a47021 */ addu $t6,$t5,$a0 +/* f00f59c: 01c57821 */ addu $t7,$t6,$a1 +/* f00f5a0: 15e10003 */ bne $t7,$at,.PF0f00f5b0 +/* f00f5a4: 3c010100 */ lui $at,0x100 +/* f00f5a8: 0281c825 */ or $t9,$s4,$at +/* f00f5ac: 0320a025 */ move $s4,$t9 +.PF0f00f5b0: +/* f00f5b0: 0fc05210 */ jal 0xf014840 +/* f00f5b4: 00000000 */ nop +/* f00f5b8: 3c12800a */ lui $s2,0x800a +/* f00f5bc: 8e52d5a0 */ lw $s2,-0x2a60($s2) +/* f00f5c0: 24010034 */ li $at,0x34 +/* f00f5c4: 00009825 */ move $s3,$zero +/* f00f5c8: 92430003 */ lbu $v1,0x3($s2) +/* f00f5cc: 10610344 */ beq $v1,$at,.PF0f0102e0 +/* f00f5d0: 3c014780 */ lui $at,0x4780 +/* f00f5d4: 4481b000 */ mtc1 $at,$f22 +/* f00f5d8: 4480a000 */ mtc1 $zero,$f20 +/* f00f5dc: 241e004c */ li $s8,0x4c +/* f00f5e0: 3417ffff */ li $s7,0xffff +/* f00f5e4: 24160010 */ li $s6,0x10 +/* f00f5e8: 2478ffff */ addiu $t8,$v1,-1 +.PF0f00f5ec: +/* f00f5ec: 2f01003b */ sltiu $at,$t8,0x3b +/* f00f5f0: 10200331 */ beqz $at,.PF0f0102b8 +/* f00f5f4: 0018c080 */ sll $t8,$t8,0x2 +/* f00f5f8: 3c017f1b */ lui $at,0x7f1b +/* f00f5fc: 00380821 */ addu $at,$at,$t8 +/* f00f600: 8c389270 */ lw $t8,-0x6d90($at) +/* f00f604: 03000008 */ jr $t8 +/* f00f608: 00000000 */ nop +/* f00f60c: 92500007 */ lbu $s0,0x7($s2) +/* f00f610: 0fc0a226 */ jal 0xf028898 +/* f00f614: 86440004 */ lh $a0,0x4($s2) +/* f00f618: 10400327 */ beqz $v0,.PF0f0102b8 +/* f00f61c: 00000000 */ nop +/* f00f620: 8c4b001c */ lw $t3,0x1c($v0) +/* f00f624: 11600324 */ beqz $t3,.PF0f0102b8 +/* f00f628: 00000000 */ nop +/* f00f62c: 8c4c0020 */ lw $t4,0x20($v0) +/* f00f630: 11800321 */ beqz $t4,.PF0f0102b8 +/* f00f634: 00000000 */ nop +/* f00f638: 1000031f */ b .PF0f0102b8 +/* f00f63c: a050000f */ sb $s0,0xf($v0) +/* f00f640: 8fad0244 */ lw $t5,0x244($sp) +/* f00f644: 8fa40248 */ lw $a0,0x248($sp) +/* f00f648: 02402825 */ move $a1,$s2 +/* f00f64c: 11a0031a */ beqz $t5,.PF0f0102b8 +/* f00f650: 00000000 */ nop +/* f00f654: 0fc0b587 */ jal 0xf02d61c +/* f00f658: 02603025 */ move $a2,$s3 +/* f00f65c: 10000316 */ b .PF0f0102b8 +/* f00f660: 00000000 */ nop +/* f00f664: 12a00314 */ beqz $s5,.PF0f0102b8 +/* f00f668: 00000000 */ nop +/* f00f66c: 8e4e000c */ lw $t6,0xc($s2) +/* f00f670: 02402025 */ move $a0,$s2 +/* f00f674: 01d47824 */ and $t7,$t6,$s4 +/* f00f678: 15e0030f */ bnez $t7,.PF0f0102b8 +/* f00f67c: 00000000 */ nop +/* f00f680: 0fc038d4 */ jal 0xf00e350 +/* f00f684: 02602825 */ move $a1,$s3 +/* f00f688: 1000030b */ b .PF0f0102b8 +/* f00f68c: 00000000 */ nop +/* f00f690: 8e590004 */ lw $t9,0x4($s2) +/* f00f694: 3c018006 */ lui $at,0x8006 +/* f00f698: 44992000 */ mtc1 $t9,$f4 +/* f00f69c: 00000000 */ nop +/* f00f6a0: 468021a0 */ cvt.s.w $f6,$f4 +/* f00f6a4: 46163203 */ div.s $f8,$f6,$f22 +/* f00f6a8: 10000303 */ b .PF0f0102b8 +/* f00f6ac: e42818b0 */ swc1 $f8,0x18b0($at) +/* f00f6b0: 8fb80244 */ lw $t8,0x244($sp) +/* f00f6b4: 13000300 */ beqz $t8,.PF0f0102b8 +/* f00f6b8: 00000000 */ nop +/* f00f6bc: 8e4b000c */ lw $t3,0xc($s2) +/* f00f6c0: 02402025 */ move $a0,$s2 +/* f00f6c4: 01746024 */ and $t4,$t3,$s4 +/* f00f6c8: 158002fb */ bnez $t4,.PF0f0102b8 +/* f00f6cc: 00000000 */ nop +/* f00f6d0: 0fc03594 */ jal 0xf00d650 +/* f00f6d4: 02602825 */ move $a1,$s3 +/* f00f6d8: 100002f7 */ b .PF0f0102b8 +/* f00f6dc: 00000000 */ nop +/* f00f6e0: 8fad0244 */ lw $t5,0x244($sp) +/* f00f6e4: 11a002f4 */ beqz $t5,.PF0f0102b8 +/* f00f6e8: 00000000 */ nop +/* f00f6ec: 8e4e000c */ lw $t6,0xc($s2) +/* f00f6f0: 02402025 */ move $a0,$s2 +/* f00f6f4: 01d47824 */ and $t7,$t6,$s4 +/* f00f6f8: 15e002ef */ bnez $t7,.PF0f0102b8 +/* f00f6fc: 00000000 */ nop +/* f00f700: 0fc03656 */ jal 0xf00d958 +/* f00f704: 02602825 */ move $a1,$s3 +/* f00f708: 100002eb */ b .PF0f0102b8 +/* f00f70c: 00000000 */ nop +/* f00f710: 8fb90244 */ lw $t9,0x244($sp) +/* f00f714: 132002e8 */ beqz $t9,.PF0f0102b8 +/* f00f718: 00000000 */ nop +/* f00f71c: 8e58000c */ lw $t8,0xc($s2) +/* f00f720: 02402025 */ move $a0,$s2 +/* f00f724: 03145824 */ and $t3,$t8,$s4 +/* f00f728: 156002e3 */ bnez $t3,.PF0f0102b8 +/* f00f72c: 00000000 */ nop +/* f00f730: 0fc03639 */ jal 0xf00d8e4 +/* f00f734: 02602825 */ move $a1,$s3 +/* f00f738: 100002df */ b .PF0f0102b8 +/* f00f73c: 00000000 */ nop +/* f00f740: 12a002dd */ beqz $s5,.PF0f0102b8 +/* f00f744: 00000000 */ nop +/* f00f748: 8e4c000c */ lw $t4,0xc($s2) +/* f00f74c: 02402025 */ move $a0,$s2 +/* f00f750: 01946824 */ and $t5,$t4,$s4 +/* f00f754: 15a002d8 */ bnez $t5,.PF0f0102b8 +/* f00f758: 00000000 */ nop +/* f00f75c: 0fc0367c */ jal 0xf00d9f0 +/* f00f760: 02602825 */ move $a1,$s3 +/* f00f764: 100002d4 */ b .PF0f0102b8 +/* f00f768: 00000000 */ nop +/* f00f76c: 12a002d2 */ beqz $s5,.PF0f0102b8 +/* f00f770: 00000000 */ nop +/* f00f774: 8e4e000c */ lw $t6,0xc($s2) +/* f00f778: 02402025 */ move $a0,$s2 +/* f00f77c: 01d47824 */ and $t7,$t6,$s4 +/* f00f780: 15e002cd */ bnez $t7,.PF0f0102b8 +/* f00f784: 00000000 */ nop +/* f00f788: 0fc036f8 */ jal 0xf00dbe0 +/* f00f78c: 02602825 */ move $a1,$s3 +/* f00f790: 100002c9 */ b .PF0f0102b8 +/* f00f794: 00000000 */ nop +/* f00f798: 12a002c7 */ beqz $s5,.PF0f0102b8 +/* f00f79c: 00000000 */ nop +/* f00f7a0: 8e59000c */ lw $t9,0xc($s2) +/* f00f7a4: 02402025 */ move $a0,$s2 +/* f00f7a8: 0334c024 */ and $t8,$t9,$s4 +/* f00f7ac: 170002c2 */ bnez $t8,.PF0f0102b8 +/* f00f7b0: 00000000 */ nop +/* f00f7b4: 0fc03761 */ jal 0xf00dd84 +/* f00f7b8: 02602825 */ move $a1,$s3 +/* f00f7bc: 100002be */ b .PF0f0102b8 +/* f00f7c0: 00000000 */ nop +/* f00f7c4: 12a002bc */ beqz $s5,.PF0f0102b8 +/* f00f7c8: 00000000 */ nop +/* f00f7cc: 8e4b000c */ lw $t3,0xc($s2) +/* f00f7d0: 02402025 */ move $a0,$s2 +/* f00f7d4: 01746024 */ and $t4,$t3,$s4 +/* f00f7d8: 158002b7 */ bnez $t4,.PF0f0102b8 +/* f00f7dc: 00000000 */ nop +/* f00f7e0: 0fc03769 */ jal 0xf00dda4 +/* f00f7e4: 02602825 */ move $a1,$s3 +/* f00f7e8: 100002b3 */ b .PF0f0102b8 +/* f00f7ec: 00000000 */ nop +/* f00f7f0: 12a002b1 */ beqz $s5,.PF0f0102b8 +/* f00f7f4: 00000000 */ nop +/* f00f7f8: 8e4d000c */ lw $t5,0xc($s2) +/* f00f7fc: 02402025 */ move $a0,$s2 +/* f00f800: 01b47024 */ and $t6,$t5,$s4 +/* f00f804: 15c002ac */ bnez $t6,.PF0f0102b8 +/* f00f808: 00000000 */ nop +/* f00f80c: 0fc0381b */ jal 0xf00e06c +/* f00f810: 02602825 */ move $a1,$s3 +/* f00f814: 100002a8 */ b .PF0f0102b8 +/* f00f818: 00000000 */ nop +/* f00f81c: 12a002a6 */ beqz $s5,.PF0f0102b8 +/* f00f820: 00000000 */ nop +/* f00f824: 8e4f000c */ lw $t7,0xc($s2) +/* f00f828: 3c188008 */ lui $t8,0x8008 +/* f00f82c: 01f4c824 */ and $t9,$t7,$s4 +/* f00f830: 53200005 */ beqzl $t9,.PF0f00f848 +/* f00f834: 8e4b005c */ lw $t3,0x5c($s2) +/* f00f838: 8f184660 */ lw $t8,0x4660($t8) +/* f00f83c: 1300029e */ beqz $t8,.PF0f0102b8 +/* f00f840: 00000000 */ nop +/* f00f844: 8e4b005c */ lw $t3,0x5c($s2) +.PF0f00f848: +/* f00f848: 02402025 */ move $a0,$s2 +/* f00f84c: 02602825 */ move $a1,$s3 +/* f00f850: 448b5000 */ mtc1 $t3,$f10 +/* f00f854: 00000000 */ nop +/* f00f858: 46805420 */ cvt.s.w $f16,$f10 +/* f00f85c: 46168483 */ div.s $f18,$f16,$f22 +/* f00f860: e652005c */ swc1 $f18,0x5c($s2) +/* f00f864: c644005c */ lwc1 $f4,0x5c($s2) +/* f00f868: 0fc033b1 */ jal 0xf00cec4 +/* f00f86c: e6440060 */ swc1 $f4,0x60($s2) +/* f00f870: 10000291 */ b .PF0f0102b8 +/* f00f874: 00000000 */ nop +/* f00f878: 12a0028f */ beqz $s5,.PF0f0102b8 +/* f00f87c: 00000000 */ nop +/* f00f880: 8e4c000c */ lw $t4,0xc($s2) +/* f00f884: 01946824 */ and $t5,$t4,$s4 +/* f00f888: 15a0028b */ bnez $t5,.PF0f0102b8 +/* f00f88c: 00000000 */ nop +/* f00f890: 8e4e0008 */ lw $t6,0x8($s2) +/* f00f894: 000e78c0 */ sll $t7,$t6,0x3 +/* f00f898: 05e3000b */ bgezl $t7,.PF0f00f8c8 +/* f00f89c: 02402025 */ move $a0,$s2 +/* f00f8a0: 0fc03878 */ jal 0xf00e1e0 +/* f00f8a4: 86440006 */ lh $a0,0x6($s2) +/* f00f8a8: 8e590064 */ lw $t9,0x64($s2) +/* f00f8ac: a6420062 */ sh $v0,0x62($s2) +/* f00f8b0: 44993000 */ mtc1 $t9,$f6 +/* f00f8b4: 00000000 */ nop +/* f00f8b8: 46803220 */ cvt.s.w $f8,$f6 +/* f00f8bc: 46164283 */ div.s $f10,$f8,$f22 +/* f00f8c0: e64a0064 */ swc1 $f10,0x64($s2) +/* f00f8c4: 02402025 */ move $a0,$s2 +.PF0f00f8c8: +/* f00f8c8: 0fc033b1 */ jal 0xf00cec4 +/* f00f8cc: 02602825 */ move $a1,$s3 +/* f00f8d0: 10000279 */ b .PF0f0102b8 +/* f00f8d4: 00000000 */ nop +/* f00f8d8: 12a00277 */ beqz $s5,.PF0f0102b8 +/* f00f8dc: 00000000 */ nop +/* f00f8e0: 8e58000c */ lw $t8,0xc($s2) +/* f00f8e4: 03145824 */ and $t3,$t8,$s4 +/* f00f8e8: 15600273 */ bnez $t3,.PF0f0102b8 +/* f00f8ec: 00000000 */ nop +/* f00f8f0: 864c0004 */ lh $t4,0x4($s2) +/* f00f8f4: 3c017f1b */ lui $at,0x7f1b +/* f00f8f8: c424935c */ lwc1 $f4,-0x6ca4($at) +/* f00f8fc: afac01f8 */ sw $t4,0x1f8($sp) +/* f00f900: 8e4d007c */ lw $t5,0x7c($s2) +/* f00f904: 8e4e0080 */ lw $t6,0x80($s2) +/* f00f908: 3c017f1b */ lui $at,0x7f1b +/* f00f90c: 448d8000 */ mtc1 $t5,$f16 +/* f00f910: 448e5000 */ mtc1 $t6,$f10 +/* f00f914: 00008825 */ move $s1,$zero +/* f00f918: 468084a0 */ cvt.s.w $f18,$f16 +/* f00f91c: 02408025 */ move $s0,$s2 +/* f00f920: 46805420 */ cvt.s.w $f16,$f10 +/* f00f924: 46049182 */ mul.s $f6,$f18,$f4 +/* f00f928: 46163203 */ div.s $f8,$f6,$f22 +/* f00f92c: e648007c */ swc1 $f8,0x7c($s2) +/* f00f930: c4329360 */ lwc1 $f18,-0x6ca0($at) +/* f00f934: e6540074 */ swc1 $f20,0x74($s2) +/* f00f938: e6540078 */ swc1 $f20,0x78($s2) +/* f00f93c: 46128102 */ mul.s $f4,$f16,$f18 +/* f00f940: a2400085 */ sb $zero,0x85($s2) +/* f00f944: a2400086 */ sb $zero,0x86($s2) +/* f00f948: 46162183 */ div.s $f6,$f4,$f22 +/* f00f94c: e6460080 */ swc1 $f6,0x80($s2) +.PF0f00f950: +/* f00f950: 8e0f0064 */ lw $t7,0x64($s0) +/* f00f954: 51e00006 */ beqzl $t7,.PF0f00f970 +/* f00f958: 26310004 */ addiu $s1,$s1,0x4 +/* f00f95c: 8e190064 */ lw $t9,0x64($s0) +/* f00f960: 0fc247c1 */ jal 0xf091f04 +/* f00f964: 03332021 */ addu $a0,$t9,$s3 +/* f00f968: ae020064 */ sw $v0,0x64($s0) +/* f00f96c: 26310004 */ addiu $s1,$s1,0x4 +.PF0f00f970: +/* f00f970: 1636fff7 */ bne $s1,$s6,.PF0f00f950 +/* f00f974: 26100004 */ addiu $s0,$s0,0x4 +/* f00f978: 24180001 */ li $t8,0x1 +/* f00f97c: a258005a */ sb $t8,0x5a($s2) +/* f00f980: 0fc2482d */ jal 0xf0920b4 +/* f00f984: 8fa401f8 */ lw $a0,0x1f8($sp) +/* f00f988: 8fab01f8 */ lw $t3,0x1f8($sp) +/* f00f98c: 3c0d8008 */ lui $t5,0x8008 +/* f00f990: 25adb53c */ addiu $t5,$t5,-19140 +/* f00f994: 000b60c0 */ sll $t4,$t3,0x3 +/* f00f998: 018d8021 */ addu $s0,$t4,$t5 +/* f00f99c: 8e040000 */ lw $a0,0x0($s0) +/* f00f9a0: 50800025 */ beqzl $a0,.PF0f00fa38 +/* f00f9a4: 8e580008 */ lw $t8,0x8($s2) +/* f00f9a8: 0c0069d3 */ jal 0x1a74c +/* f00f9ac: 24050001 */ li $a1,0x1 +/* f00f9b0: 10400004 */ beqz $v0,.PF0f00f9c4 +/* f00f9b4: 24050002 */ li $a1,0x2 +/* f00f9b8: 824e005a */ lb $t6,0x5a($s2) +/* f00f9bc: 25cf0001 */ addiu $t7,$t6,0x1 +/* f00f9c0: a24f005a */ sb $t7,0x5a($s2) +.PF0f00f9c4: +/* f00f9c4: 0c0069d3 */ jal 0x1a74c +/* f00f9c8: 8e040000 */ lw $a0,0x0($s0) +/* f00f9cc: 10400004 */ beqz $v0,.PF0f00f9e0 +/* f00f9d0: 24050003 */ li $a1,0x3 +/* f00f9d4: 8259005a */ lb $t9,0x5a($s2) +/* f00f9d8: 27380001 */ addiu $t8,$t9,0x1 +/* f00f9dc: a258005a */ sb $t8,0x5a($s2) +.PF0f00f9e0: +/* f00f9e0: 0c0069d3 */ jal 0x1a74c +/* f00f9e4: 8e040000 */ lw $a0,0x0($s0) +/* f00f9e8: 10400004 */ beqz $v0,.PF0f00f9fc +/* f00f9ec: 24050004 */ li $a1,0x4 +/* f00f9f0: 824b005a */ lb $t3,0x5a($s2) +/* f00f9f4: 256c0001 */ addiu $t4,$t3,0x1 +/* f00f9f8: a24c005a */ sb $t4,0x5a($s2) +.PF0f00f9fc: +/* f00f9fc: 0c0069d3 */ jal 0x1a74c +/* f00fa00: 8e040000 */ lw $a0,0x0($s0) +/* f00fa04: 10400004 */ beqz $v0,.PF0f00fa18 +/* f00fa08: 24050006 */ li $a1,0x6 +/* f00fa0c: 824d005a */ lb $t5,0x5a($s2) +/* f00fa10: 25ae0001 */ addiu $t6,$t5,0x1 +/* f00fa14: a24e005a */ sb $t6,0x5a($s2) +.PF0f00fa18: +/* f00fa18: 0c0069d3 */ jal 0x1a74c +/* f00fa1c: 8e040000 */ lw $a0,0x0($s0) +/* f00fa20: 50400005 */ beqzl $v0,.PF0f00fa38 +/* f00fa24: 8e580008 */ lw $t8,0x8($s2) +/* f00fa28: 824f005a */ lb $t7,0x5a($s2) +/* f00fa2c: 25f90001 */ addiu $t9,$t7,0x1 +/* f00fa30: a259005a */ sb $t9,0x5a($s2) +/* f00fa34: 8e580008 */ lw $t8,0x8($s2) +.PF0f00fa38: +/* f00fa38: 2401feff */ li $at,-257 +/* f00fa3c: 02402025 */ move $a0,$s2 +/* f00fa40: 03015824 */ and $t3,$t8,$at +/* f00fa44: ae4b0008 */ sw $t3,0x8($s2) +/* f00fa48: 0fc033b1 */ jal 0xf00cec4 +/* f00fa4c: 02602825 */ move $a1,$s3 +/* f00fa50: 8e420014 */ lw $v0,0x14($s2) +/* f00fa54: 10400218 */ beqz $v0,.PF0f0102b8 +/* f00fa58: 00000000 */ nop +/* f00fa5c: c4480008 */ lwc1 $f8,0x8($v0) +/* f00fa60: 02402025 */ move $a0,$s2 +/* f00fa64: 24050001 */ li $a1,0x1 +/* f00fa68: e6480088 */ swc1 $f8,0x88($s2) +/* f00fa6c: c44a000c */ lwc1 $f10,0xc($v0) +/* f00fa70: e64a008c */ swc1 $f10,0x8c($s2) +/* f00fa74: c4500010 */ lwc1 $f16,0x10($v0) +/* f00fa78: 0fc1c464 */ jal 0xf071190 +/* f00fa7c: e6500090 */ swc1 $f16,0x90($s2) +/* f00fa80: 1000020d */ b .PF0f0102b8 +/* f00fa84: 00000000 */ nop +/* f00fa88: 12a0020b */ beqz $s5,.PF0f0102b8 +/* f00fa8c: 00000000 */ nop +/* f00fa90: 8e4c000c */ lw $t4,0xc($s2) +/* f00fa94: 02402025 */ move $a0,$s2 +/* f00fa98: 01946824 */ and $t5,$t4,$s4 +/* f00fa9c: 15a00206 */ bnez $t5,.PF0f0102b8 +/* f00faa0: 00000000 */ nop +/* f00faa4: 0fc033b1 */ jal 0xf00cec4 +/* f00faa8: 02602825 */ move $a1,$s3 +/* f00faac: 02402025 */ move $a0,$s2 +/* f00fab0: 0fc03a42 */ jal 0xf00e908 +/* f00fab4: 2645005c */ addiu $a1,$s2,0x5c +/* f00fab8: 100001ff */ b .PF0f0102b8 +/* f00fabc: 00000000 */ nop +/* f00fac0: 12a001fd */ beqz $s5,.PF0f0102b8 +/* f00fac4: 00000000 */ nop +/* f00fac8: 8e4e000c */ lw $t6,0xc($s2) +/* f00facc: 02402025 */ move $a0,$s2 +/* f00fad0: 01d47824 */ and $t7,$t6,$s4 +/* f00fad4: 15e001f8 */ bnez $t7,.PF0f0102b8 +/* f00fad8: 00000000 */ nop +/* f00fadc: 0fc033b1 */ jal 0xf00cec4 +/* f00fae0: 02602825 */ move $a1,$s3 +/* f00fae4: 02402025 */ move $a0,$s2 +/* f00fae8: 0fc03a42 */ jal 0xf00e908 +/* f00faec: 2645005c */ addiu $a1,$s2,0x5c +/* f00faf0: e654009c */ swc1 $f20,0x9c($s2) +/* f00faf4: e65400a0 */ swc1 $f20,0xa0($s2) +/* f00faf8: e65400ac */ swc1 $f20,0xac($s2) +/* f00fafc: e65400b0 */ swc1 $f20,0xb0($s2) +/* f00fb00: e65400b4 */ swc1 $f20,0xb4($s2) +/* f00fb04: e65400b8 */ swc1 $f20,0xb8($s2) +/* f00fb08: e65400bc */ swc1 $f20,0xbc($s2) +/* f00fb0c: e65400c0 */ swc1 $f20,0xc0($s2) +/* f00fb10: e65400c4 */ swc1 $f20,0xc4($s2) +/* f00fb14: e65400c8 */ swc1 $f20,0xc8($s2) +/* f00fb18: ae4000cc */ sw $zero,0xcc($s2) +/* f00fb1c: e65400d0 */ swc1 $f20,0xd0($s2) +/* f00fb20: e65400d4 */ swc1 $f20,0xd4($s2) +/* f00fb24: e65400d8 */ swc1 $f20,0xd8($s2) +/* f00fb28: 100001e3 */ b .PF0f0102b8 +/* f00fb2c: e65400dc */ swc1 $f20,0xdc($s2) +/* f00fb30: 12a001e1 */ beqz $s5,.PF0f0102b8 +/* f00fb34: 00000000 */ nop +/* f00fb38: 8e59000c */ lw $t9,0xc($s2) +/* f00fb3c: 0334c024 */ and $t8,$t9,$s4 +/* f00fb40: 170001dd */ bnez $t8,.PF0f0102b8 +/* f00fb44: 00000000 */ nop +/* f00fb48: 8e4b0064 */ lw $t3,0x64($s2) +/* f00fb4c: 8e4c006c */ lw $t4,0x6c($s2) +/* f00fb50: 3c017f1b */ lui $at,0x7f1b +/* f00fb54: 448b9000 */ mtc1 $t3,$f18 +/* f00fb58: 448c5000 */ mtc1 $t4,$f10 +/* f00fb5c: c4209364 */ lwc1 $f0,-0x6c9c($at) +/* f00fb60: 46809120 */ cvt.s.w $f4,$f18 +/* f00fb64: e654005c */ swc1 $f20,0x5c($s2) +/* f00fb68: 02402025 */ move $a0,$s2 +/* f00fb6c: 02602825 */ move $a1,$s3 +/* f00fb70: 46805420 */ cvt.s.w $f16,$f10 +/* f00fb74: 46002182 */ mul.s $f6,$f4,$f0 +/* f00fb78: 00000000 */ nop +/* f00fb7c: 46008482 */ mul.s $f18,$f16,$f0 +/* f00fb80: 46163203 */ div.s $f8,$f6,$f22 +/* f00fb84: 46169103 */ div.s $f4,$f18,$f22 +/* f00fb88: e6480064 */ swc1 $f8,0x64($s2) +/* f00fb8c: 0fc033b1 */ jal 0xf00cec4 +/* f00fb90: e644006c */ swc1 $f4,0x6c($s2) +/* f00fb94: 100001c8 */ b .PF0f0102b8 +/* f00fb98: 00000000 */ nop +/* f00fb9c: 12a001c6 */ beqz $s5,.PF0f0102b8 +/* f00fba0: 00000000 */ nop +/* f00fba4: 8e4d000c */ lw $t5,0xc($s2) +/* f00fba8: 01b47024 */ and $t6,$t5,$s4 +/* f00fbac: 15c001c2 */ bnez $t6,.PF0f0102b8 +/* f00fbb0: 00000000 */ nop +/* f00fbb4: 8e4f0008 */ lw $t7,0x8($s2) +/* f00fbb8: 000fc8c0 */ sll $t9,$t7,0x3 +/* f00fbbc: 07230005 */ bgezl $t9,.PF0f00fbd4 +/* f00fbc0: 02402025 */ move $a0,$s2 +/* f00fbc4: 0fc03878 */ jal 0xf00e1e0 +/* f00fbc8: 86440006 */ lh $a0,0x6($s2) +/* f00fbcc: a642005c */ sh $v0,0x5c($s2) +/* f00fbd0: 02402025 */ move $a0,$s2 +.PF0f00fbd4: +/* f00fbd4: 0fc033b1 */ jal 0xf00cec4 +/* f00fbd8: 02602825 */ move $a1,$s3 +/* f00fbdc: 100001b6 */ b .PF0f0102b8 +/* f00fbe0: 00000000 */ nop +/* f00fbe4: 12a001b4 */ beqz $s5,.PF0f0102b8 +/* f00fbe8: 00000000 */ nop +/* f00fbec: 8e58000c */ lw $t8,0xc($s2) +/* f00fbf0: 02402025 */ move $a0,$s2 +/* f00fbf4: 03145824 */ and $t3,$t8,$s4 +/* f00fbf8: 156001af */ bnez $t3,.PF0f0102b8 +/* f00fbfc: 00000000 */ nop +/* f00fc00: 0fc033b1 */ jal 0xf00cec4 +/* f00fc04: 02602825 */ move $a1,$s3 +/* f00fc08: 8e420014 */ lw $v0,0x14($s2) +/* f00fc0c: 50400008 */ beqzl $v0,.PF0f00fc30 +/* f00fc10: 8e4c0008 */ lw $t4,0x8($s2) +/* f00fc14: c4460008 */ lwc1 $f6,0x8($v0) +/* f00fc18: e6460060 */ swc1 $f6,0x60($s2) +/* f00fc1c: c448000c */ lwc1 $f8,0xc($v0) +/* f00fc20: e6480064 */ swc1 $f8,0x64($s2) +/* f00fc24: c44a0010 */ lwc1 $f10,0x10($v0) +/* f00fc28: e64a0068 */ swc1 $f10,0x68($s2) +/* f00fc2c: 8e4c0008 */ lw $t4,0x8($s2) +.PF0f00fc30: +/* f00fc30: 8fa20238 */ lw $v0,0x238($sp) +/* f00fc34: 3c017f1b */ lui $at,0x7f1b +/* f00fc38: 000c68c0 */ sll $t5,$t4,0x3 +/* f00fc3c: 05a10011 */ bgez $t5,.PF0f00fc84 +/* f00fc40: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f00fc44: 8fa20234 */ lw $v0,0x234($sp) +/* f00fc48: 3c017f1b */ lui $at,0x7f1b +/* f00fc4c: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f00fc50: ae42005c */ sw $v0,0x5c($s2) +/* f00fc54: 24420028 */ addiu $v0,$v0,0x28 +/* f00fc58: afa20234 */ sw $v0,0x234($sp) +/* f00fc5c: 0c005841 */ jal 0x16104 +/* f00fc60: c42c9368 */ lwc1 $f12,-0x6c98($at) +/* f00fc64: 27a401a8 */ addiu $a0,$sp,0x1a8 +/* f00fc68: 0c0056cc */ jal 0x15b30 +/* f00fc6c: 27a50184 */ addiu $a1,$sp,0x184 +/* f00fc70: 27a40184 */ addiu $a0,$sp,0x184 +/* f00fc74: 0c0057a8 */ jal 0x15ea0 +/* f00fc78: 2645001c */ addiu $a1,$s2,0x1c +/* f00fc7c: 1000018e */ b .PF0f0102b8 +/* f00fc80: 00000000 */ nop +.PF0f00fc84: +/* f00fc84: ae42005c */ sw $v0,0x5c($s2) +/* f00fc88: 24420028 */ addiu $v0,$v0,0x28 +/* f00fc8c: afa20238 */ sw $v0,0x238($sp) +/* f00fc90: 0c005841 */ jal 0x16104 +/* f00fc94: c42c936c */ lwc1 $f12,-0x6c94($at) +/* f00fc98: 27a401a8 */ addiu $a0,$sp,0x1a8 +/* f00fc9c: 0c0056cc */ jal 0x15b30 +/* f00fca0: 27a50184 */ addiu $a1,$sp,0x184 +/* f00fca4: 27a40184 */ addiu $a0,$sp,0x184 +/* f00fca8: 0c0057a8 */ jal 0x15ea0 +/* f00fcac: 2645001c */ addiu $a1,$s2,0x1c +/* f00fcb0: 10000181 */ b .PF0f0102b8 +/* f00fcb4: 00000000 */ nop +/* f00fcb8: 12a0017f */ beqz $s5,.PF0f0102b8 +/* f00fcbc: 00000000 */ nop +/* f00fcc0: 8e4e000c */ lw $t6,0xc($s2) +/* f00fcc4: 02402025 */ move $a0,$s2 +/* f00fcc8: 01d47824 */ and $t7,$t6,$s4 +/* f00fccc: 15e0017a */ bnez $t7,.PF0f0102b8 +/* f00fcd0: 00000000 */ nop +/* f00fcd4: 0fc033b1 */ jal 0xf00cec4 +/* f00fcd8: 02602825 */ move $a1,$s3 +/* f00fcdc: 10000176 */ b .PF0f0102b8 +/* f00fce0: 00000000 */ nop +/* f00fce4: 3c19800a */ lui $t9,0x800a +/* f00fce8: 8f39a828 */ lw $t9,-0x57d8($t9) +/* f00fcec: 24050001 */ li $a1,0x1 +/* f00fcf0: 3c04800a */ lui $a0,0x800a +/* f00fcf4: 13200017 */ beqz $t9,.PF0f00fd54 +/* f00fcf8: 00000000 */ nop +/* f00fcfc: 8c84d190 */ lw $a0,-0x2e70($a0) +/* f00fd00: 04800014 */ bltz $a0,.PF0f00fd54 +/* f00fd04: 00000000 */ nop +/* f00fd08: 0fc627b2 */ jal 0xf189ec8 +/* f00fd0c: 00000000 */ nop +/* f00fd10: 80430001 */ lb $v1,0x1($v0) +/* f00fd14: 90450002 */ lbu $a1,0x2($v0) +/* f00fd18: 18600005 */ blez $v1,.PF0f00fd30 +/* f00fd1c: 28610014 */ slti $at,$v1,0x14 +/* f00fd20: 10200003 */ beqz $at,.PF0f00fd30 +/* f00fd24: 0003c080 */ sll $t8,$v1,0x2 +/* f00fd28: 02585821 */ addu $t3,$s2,$t8 +/* f00fd2c: a565005a */ sh $a1,0x5a($t3) +.PF0f00fd30: +/* f00fd30: 80430003 */ lb $v1,0x3($v0) +/* f00fd34: 18600007 */ blez $v1,.PF0f00fd54 +/* f00fd38: 28610014 */ slti $at,$v1,0x14 +/* f00fd3c: 10200005 */ beqz $at,.PF0f00fd54 +/* f00fd40: 00000000 */ nop +/* f00fd44: 904c0004 */ lbu $t4,0x4($v0) +/* f00fd48: 00036880 */ sll $t5,$v1,0x2 +/* f00fd4c: 024d7021 */ addu $t6,$s2,$t5 +/* f00fd50: a5cc005a */ sh $t4,0x5a($t6) +.PF0f00fd54: +/* f00fd54: 18a00158 */ blez $a1,.PF0f0102b8 +/* f00fd58: 00000000 */ nop +/* f00fd5c: 12a00156 */ beqz $s5,.PF0f0102b8 +/* f00fd60: 00000000 */ nop +/* f00fd64: 8e4f000c */ lw $t7,0xc($s2) +/* f00fd68: 00008825 */ move $s1,$zero +/* f00fd6c: 01f4c824 */ and $t9,$t7,$s4 +/* f00fd70: 17200151 */ bnez $t9,.PF0f0102b8 +/* f00fd74: 00000000 */ nop +/* f00fd78: 02408025 */ move $s0,$s2 +.PF0f00fd7c: +/* f00fd7c: 9618005e */ lhu $t8,0x5e($s0) +/* f00fd80: 5b000007 */ blezl $t8,.PF0f00fda0 +/* f00fd84: 26310004 */ addiu $s1,$s1,0x4 +/* f00fd88: 9604005c */ lhu $a0,0x5c($s0) +/* f00fd8c: 52e40004 */ beql $s7,$a0,.PF0f00fda0 +/* f00fd90: 26310004 */ addiu $s1,$s1,0x4 +/* f00fd94: 0fc2482d */ jal 0xf0920b4 +/* f00fd98: 00000000 */ nop +/* f00fd9c: 26310004 */ addiu $s1,$s1,0x4 +.PF0f00fda0: +/* f00fda0: 163efff6 */ bne $s1,$s8,.PF0f00fd7c +/* f00fda4: 26100004 */ addiu $s0,$s0,0x4 +/* f00fda8: 02402025 */ move $a0,$s2 +/* f00fdac: 0fc033b1 */ jal 0xf00cec4 +/* f00fdb0: 02602825 */ move $a1,$s3 +/* f00fdb4: 10000140 */ b .PF0f0102b8 +/* f00fdb8: 00000000 */ nop +/* f00fdbc: 12a0013e */ beqz $s5,.PF0f0102b8 +/* f00fdc0: 00000000 */ nop +/* f00fdc4: 8e4b000c */ lw $t3,0xc($s2) +/* f00fdc8: 02402025 */ move $a0,$s2 +/* f00fdcc: 01746824 */ and $t5,$t3,$s4 +/* f00fdd0: 15a00139 */ bnez $t5,.PF0f0102b8 +/* f00fdd4: 00000000 */ nop +/* f00fdd8: 0fc033b1 */ jal 0xf00cec4 +/* f00fddc: 02602825 */ move $a1,$s3 +/* f00fde0: 8e460018 */ lw $a2,0x18($s2) +/* f00fde4: 24050005 */ li $a1,0x5 +/* f00fde8: 50c0000d */ beqzl $a2,.PF0f00fe20 +/* f00fdec: 3c01bf80 */ lui $at,0xbf80 +/* f00fdf0: 0c0069ab */ jal 0x1a6ac +/* f00fdf4: 8cc40008 */ lw $a0,0x8($a2) +/* f00fdf8: 10400008 */ beqz $v0,.PF0f00fe1c +/* f00fdfc: 00402825 */ move $a1,$v0 +/* f00fe00: 0c0069eb */ jal 0x1a7ac +/* f00fe04: 8e440018 */ lw $a0,0x18($s2) +/* f00fe08: 8e4c0008 */ lw $t4,0x8($s2) +/* f00fe0c: 3c011000 */ lui $at,0x1000 +/* f00fe10: 01817024 */ and $t6,$t4,$at +/* f00fe14: 2dcf0001 */ sltiu $t7,$t6,0x1 +/* f00fe18: ac4f0000 */ sw $t7,0x0($v0) +.PF0f00fe1c: +/* f00fe1c: 3c01bf80 */ lui $at,0xbf80 +.PF0f00fe20: +/* f00fe20: 44818000 */ mtc1 $at,$f16 +/* f00fe24: e6540064 */ swc1 $f20,0x64($s2) +/* f00fe28: e6540068 */ swc1 $f20,0x68($s2) +/* f00fe2c: e654006c */ swc1 $f20,0x6c($s2) +/* f00fe30: e6540070 */ swc1 $f20,0x70($s2) +/* f00fe34: e6540078 */ swc1 $f20,0x78($s2) +/* f00fe38: e654007c */ swc1 $f20,0x7c($s2) +/* f00fe3c: 8e44005c */ lw $a0,0x5c($s2) +/* f00fe40: 0c006098 */ jal 0x18260 +/* f00fe44: e6500074 */ swc1 $f16,0x74($s2) +/* f00fe48: 2419ffff */ li $t9,-1 +/* f00fe4c: ae42005c */ sw $v0,0x5c($s2) +/* f00fe50: a6400060 */ sh $zero,0x60($s2) +/* f00fe54: a6590062 */ sh $t9,0x62($s2) +/* f00fe58: ae400080 */ sw $zero,0x80($s2) +/* f00fe5c: 10000116 */ b .PF0f0102b8 +/* f00fe60: ae400084 */ sw $zero,0x84($s2) +/* f00fe64: 8fb8023c */ lw $t8,0x23c($sp) +/* f00fe68: 13000113 */ beqz $t8,.PF0f0102b8 +/* f00fe6c: 00000000 */ nop +/* f00fe70: 12a00111 */ beqz $s5,.PF0f0102b8 +/* f00fe74: 00000000 */ nop +/* f00fe78: 8e4b000c */ lw $t3,0xc($s2) +/* f00fe7c: 02402025 */ move $a0,$s2 +/* f00fe80: 01746824 */ and $t5,$t3,$s4 +/* f00fe84: 15a0010c */ bnez $t5,.PF0f0102b8 +/* f00fe88: 00000000 */ nop +/* f00fe8c: 0fc033b1 */ jal 0xf00cec4 +/* f00fe90: 02602825 */ move $a1,$s3 +/* f00fe94: 3c01bf80 */ lui $at,0xbf80 +/* f00fe98: 44819000 */ mtc1 $at,$f18 +/* f00fe9c: 8e500014 */ lw $s0,0x14($s2) +/* f00fea0: e6540064 */ swc1 $f20,0x64($s2) +/* f00fea4: e6540068 */ swc1 $f20,0x68($s2) +/* f00fea8: e6540078 */ swc1 $f20,0x78($s2) +/* f00feac: e654007c */ swc1 $f20,0x7c($s2) +/* f00feb0: e6540080 */ swc1 $f20,0x80($s2) +/* f00feb4: 8e44005c */ lw $a0,0x5c($s2) +/* f00feb8: 0c006098 */ jal 0x18260 +/* f00febc: e652006c */ swc1 $f18,0x6c($s2) +/* f00fec0: 8e4e0008 */ lw $t6,0x8($s2) +/* f00fec4: 240cffff */ li $t4,-1 +/* f00fec8: ae42005c */ sw $v0,0x5c($s2) +/* f00fecc: 000e7800 */ sll $t7,$t6,0x0 +/* f00fed0: a6400060 */ sh $zero,0x60($s2) +/* f00fed4: a64c0062 */ sh $t4,0x62($s2) +/* f00fed8: ae400088 */ sw $zero,0x88($s2) +/* f00fedc: 05e1000b */ bgez $t7,.PF0f00ff0c +/* f00fee0: ae40008c */ sw $zero,0x8c($s2) +/* f00fee4: 26040008 */ addiu $a0,$s0,0x8 +/* f00fee8: 26050028 */ addiu $a1,$s0,0x28 +/* f00feec: 00003025 */ move $a2,$zero +/* f00fef0: 0c00a71b */ jal 0x29c6c +/* f00fef4: 00003825 */ move $a3,$zero +/* f00fef8: 3c0141f0 */ lui $at,0x41f0 +/* f00fefc: 44812000 */ mtc1 $at,$f4 +/* f00ff00: 00000000 */ nop +/* f00ff04: 46040180 */ add.s $f6,$f0,$f4 +/* f00ff08: e606000c */ swc1 $f6,0xc($s0) +.PF0f00ff0c: +/* f00ff0c: 9218003f */ lbu $t8,0x3f($s0) +/* f00ff10: 370b0020 */ ori $t3,$t8,0x20 +/* f00ff14: 100000e8 */ b .PF0f0102b8 +/* f00ff18: a20b003f */ sb $t3,0x3f($s0) +/* f00ff1c: 12a000e6 */ beqz $s5,.PF0f0102b8 +/* f00ff20: 00000000 */ nop +/* f00ff24: 8e4d000c */ lw $t5,0xc($s2) +/* f00ff28: 02402025 */ move $a0,$s2 +/* f00ff2c: 01b46024 */ and $t4,$t5,$s4 +/* f00ff30: 158000e1 */ bnez $t4,.PF0f0102b8 +/* f00ff34: 00000000 */ nop +/* f00ff38: 0fc033b1 */ jal 0xf00cec4 +/* f00ff3c: 02602825 */ move $a1,$s3 +/* f00ff40: 8e4e0008 */ lw $t6,0x8($s2) +/* f00ff44: 8e420014 */ lw $v0,0x14($s2) +/* f00ff48: 3c012000 */ lui $at,0x2000 +/* f00ff4c: 01c17825 */ or $t7,$t6,$at +/* f00ff50: ae4f0008 */ sw $t7,0x8($s2) +/* f00ff54: 9058003f */ lbu $t8,0x3f($v0) +/* f00ff58: 370b0020 */ ori $t3,$t8,0x20 +/* f00ff5c: a04b003f */ sb $t3,0x3f($v0) +/* f00ff60: e6540078 */ swc1 $f20,0x78($s2) +/* f00ff64: e654007c */ swc1 $f20,0x7c($s2) +/* f00ff68: e6540080 */ swc1 $f20,0x80($s2) +/* f00ff6c: e65400d0 */ swc1 $f20,0xd0($s2) +/* f00ff70: e65400d4 */ swc1 $f20,0xd4($s2) +/* f00ff74: e65400dc */ swc1 $f20,0xdc($s2) +/* f00ff78: e65400d8 */ swc1 $f20,0xd8($s2) +/* f00ff7c: 0c006098 */ jal 0x18260 +/* f00ff80: 8e44005c */ lw $a0,0x5c($s2) +/* f00ff84: 2403ffff */ li $v1,-1 +/* f00ff88: ae42005c */ sw $v0,0x5c($s2) +/* f00ff8c: a6400060 */ sh $zero,0x60($s2) +/* f00ff90: a6430062 */ sh $v1,0x62($s2) +/* f00ff94: ae400088 */ sw $zero,0x88($s2) +/* f00ff98: ae40008c */ sw $zero,0x8c($s2) +/* f00ff9c: a6430094 */ sh $v1,0x94($s2) +/* f00ffa0: ae4000bc */ sw $zero,0xbc($s2) +/* f00ffa4: a2400096 */ sb $zero,0x96($s2) +/* f00ffa8: e65400a0 */ swc1 $f20,0xa0($s2) +/* f00ffac: e654009c */ swc1 $f20,0x9c($s2) +/* f00ffb0: e6540098 */ swc1 $f20,0x98($s2) +/* f00ffb4: e65400b0 */ swc1 $f20,0xb0($s2) +/* f00ffb8: e65400ac */ swc1 $f20,0xac($s2) +/* f00ffbc: e65400a8 */ swc1 $f20,0xa8($s2) +/* f00ffc0: e65400a4 */ swc1 $f20,0xa4($s2) +/* f00ffc4: e65400b4 */ swc1 $f20,0xb4($s2) +/* f00ffc8: 3c017f1b */ lui $at,0x7f1b +/* f00ffcc: c4289370 */ lwc1 $f8,-0x6c90($at) +/* f00ffd0: 240d0001 */ li $t5,0x1 +/* f00ffd4: ae4000c0 */ sw $zero,0xc0($s2) +/* f00ffd8: ae4000c4 */ sw $zero,0xc4($s2) +/* f00ffdc: a2400097 */ sb $zero,0x97($s2) +/* f00ffe0: a64d0090 */ sh $t5,0x90($s2) +/* f00ffe4: 24040020 */ li $a0,0x20 +/* f00ffe8: 24050004 */ li $a1,0x4 +/* f00ffec: 0c004856 */ jal 0x12158 +/* f00fff0: e64800b8 */ swc1 $f8,0xb8($s2) +/* f00fff4: ae4200e0 */ sw $v0,0xe0($s2) +/* f00fff8: 24040030 */ li $a0,0x30 +/* f00fffc: 0c004856 */ jal 0x12158 +/* f010000: 24050004 */ li $a1,0x4 +/* f010004: 8e4c00e0 */ lw $t4,0xe0($s2) +/* f010008: 2403ffff */ li $v1,-1 +/* f01000c: 3c017f1b */ lui $at,0x7f1b +/* f010010: ad820004 */ sw $v0,0x4($t4) +/* f010014: 8e4e00e0 */ lw $t6,0xe0($s2) +/* f010018: 8dcf0004 */ lw $t7,0x4($t6) +/* f01001c: a1e30000 */ sb $v1,0x0($t7) +/* f010020: 8e5900e0 */ lw $t9,0xe0($s2) +/* f010024: af230008 */ sw $v1,0x8($t9) +/* f010028: 8e5800e0 */ lw $t8,0xe0($s2) +/* f01002c: a3000000 */ sb $zero,0x0($t8) +/* f010030: 8e4b00e0 */ lw $t3,0xe0($s2) +/* f010034: a1600001 */ sb $zero,0x1($t3) +/* f010038: 8e4d00e0 */ lw $t5,0xe0($s2) +/* f01003c: c42a9374 */ lwc1 $f10,-0x6c8c($at) +/* f010040: 3c017f1b */ lui $at,0x7f1b +/* f010044: e5aa000c */ swc1 $f10,0xc($t5) +/* f010048: 8e4c00e0 */ lw $t4,0xe0($s2) +/* f01004c: c4309378 */ lwc1 $f16,-0x6c88($at) +/* f010050: e5900010 */ swc1 $f16,0x10($t4) +/* f010054: 8e4e00e0 */ lw $t6,0xe0($s2) +/* f010058: e5d40014 */ swc1 $f20,0x14($t6) +/* f01005c: 10000096 */ b .PF0f0102b8 +/* f010060: ae4000e4 */ sw $zero,0xe4($s2) +/* f010064: 12a00094 */ beqz $s5,.PF0f0102b8 +/* f010068: 00000000 */ nop +/* f01006c: 8e4f000c */ lw $t7,0xc($s2) +/* f010070: 02402025 */ move $a0,$s2 +/* f010074: 01f4c824 */ and $t9,$t7,$s4 +/* f010078: 1720008f */ bnez $t9,.PF0f0102b8 +/* f01007c: 00000000 */ nop +/* f010080: 0fc033b1 */ jal 0xf00cec4 +/* f010084: 02602825 */ move $a1,$s3 +/* f010088: 3c01bf80 */ lui $at,0xbf80 +/* f01008c: 44810000 */ mtc1 $at,$f0 +/* f010090: e6540074 */ swc1 $f20,0x74($s2) +/* f010094: e6540078 */ swc1 $f20,0x78($s2) +/* f010098: e6540064 */ swc1 $f20,0x64($s2) +/* f01009c: e6540068 */ swc1 $f20,0x68($s2) +/* f0100a0: e654006c */ swc1 $f20,0x6c($s2) +/* f0100a4: e6540080 */ swc1 $f20,0x80($s2) +/* f0100a8: 8e44005c */ lw $a0,0x5c($s2) +/* f0100ac: e640007c */ swc1 $f0,0x7c($s2) +/* f0100b0: 0c006098 */ jal 0x18260 +/* f0100b4: e6400070 */ swc1 $f0,0x70($s2) +/* f0100b8: 2418ffff */ li $t8,-1 +/* f0100bc: ae42005c */ sw $v0,0x5c($s2) +/* f0100c0: a6400060 */ sh $zero,0x60($s2) +/* f0100c4: a6580062 */ sh $t8,0x62($s2) +/* f0100c8: ae400084 */ sw $zero,0x84($s2) +/* f0100cc: 1000007a */ b .PF0f0102b8 +/* f0100d0: ae400088 */ sw $zero,0x88($s2) +/* f0100d4: 864b0006 */ lh $t3,0x6($s2) +/* f0100d8: 0fc248c8 */ jal 0xf092320 +/* f0100dc: 01732021 */ addu $a0,$t3,$s3 +/* f0100e0: 10400004 */ beqz $v0,.PF0f0100f4 +/* f0100e4: ae42000c */ sw $v0,0xc($s2) +/* f0100e8: 8c4d0040 */ lw $t5,0x40($v0) +/* f0100ec: 35ac0010 */ ori $t4,$t5,0x10 +/* f0100f0: ac4c0040 */ sw $t4,0x40($v0) +.PF0f0100f4: +/* f0100f4: 0fc042a2 */ jal 0xf010a88 +/* f0100f8: 02402025 */ move $a0,$s2 +/* f0100fc: 1000006e */ b .PF0f0102b8 +/* f010100: 00000000 */ nop +/* f010104: 8e4e0004 */ lw $t6,0x4($s2) +/* f010108: 0fc248c8 */ jal 0xf092320 +/* f01010c: 01d32021 */ addu $a0,$t6,$s3 +/* f010110: 10400004 */ beqz $v0,.PF0f010124 +/* f010114: ae420024 */ sw $v0,0x24($s2) +/* f010118: 8c4f0040 */ lw $t7,0x40($v0) +/* f01011c: 35f90400 */ ori $t9,$t7,0x400 +/* f010120: ac590040 */ sw $t9,0x40($v0) +.PF0f010124: +/* f010124: 0fc44e86 */ jal 0xf113a18 +/* f010128: 02402025 */ move $a0,$s2 +/* f01012c: 10000062 */ b .PF0f0102b8 +/* f010130: 00000000 */ nop +/* f010134: 24100001 */ li $s0,0x1 +/* f010138: 0fc042a8 */ jal 0xf010aa0 +/* f01013c: 02402025 */ move $a0,$s2 +/* f010140: 0fc5b6fa */ jal 0xf16dbe8 +/* f010144: 00000000 */ nop +/* f010148: 14400002 */ bnez $v0,.PF0f010154 +/* f01014c: 00000000 */ nop +/* f010150: 24100003 */ li $s0,0x3 +.PF0f010154: +/* f010154: 0fc5b6fa */ jal 0xf16dbe8 +/* f010158: 00000000 */ nop +/* f01015c: 24010001 */ li $at,0x1 +/* f010160: 54410003 */ bnel $v0,$at,.PF0f010170 +/* f010164: 8e580004 */ lw $t8,0x4($s2) +/* f010168: 24100002 */ li $s0,0x2 +/* f01016c: 8e580004 */ lw $t8,0x4($s2) +.PF0f010170: +/* f010170: 16180051 */ bne $s0,$t8,.PF0f0102b8 +/* f010174: 00000000 */ nop +/* f010178: 8e4b0008 */ lw $t3,0x8($s2) +/* f01017c: 3c01800a */ lui $at,0x800a +/* f010180: 1000004d */ b .PF0f0102b8 +/* f010184: a42be568 */ sh $t3,-0x1a98($at) +/* f010188: 8e4d0004 */ lw $t5,0x4($s2) +/* f01018c: 3c0142c8 */ lui $at,0x42c8 +/* f010190: 44810000 */ mtc1 $at,$f0 +/* f010194: 448d9000 */ mtc1 $t5,$f18 +/* f010198: 8e4c0008 */ lw $t4,0x8($s2) +/* f01019c: 8e4e000c */ lw $t6,0xc($s2) +/* f0101a0: 46809120 */ cvt.s.w $f4,$f18 +/* f0101a4: 448c4000 */ mtc1 $t4,$f8 +/* f0101a8: 448e9000 */ mtc1 $t6,$f18 +/* f0101ac: 8e4f0010 */ lw $t7,0x10($s2) +/* f0101b0: 8e590014 */ lw $t9,0x14($s2) +/* f0101b4: 468042a0 */ cvt.s.w $f10,$f8 +/* f0101b8: 448f4000 */ mtc1 $t7,$f8 +/* f0101bc: 46002183 */ div.s $f6,$f4,$f0 +/* f0101c0: 46809120 */ cvt.s.w $f4,$f18 +/* f0101c4: 44999000 */ mtc1 $t9,$f18 +/* f0101c8: 46005403 */ div.s $f16,$f10,$f0 +/* f0101cc: e6460004 */ swc1 $f6,0x4($s2) +/* f0101d0: 468042a0 */ cvt.s.w $f10,$f8 +/* f0101d4: 46002183 */ div.s $f6,$f4,$f0 +/* f0101d8: e6500008 */ swc1 $f16,0x8($s2) +/* f0101dc: 46809120 */ cvt.s.w $f4,$f18 +/* f0101e0: 46165403 */ div.s $f16,$f10,$f22 +/* f0101e4: e646000c */ swc1 $f6,0xc($s2) +/* f0101e8: 46162183 */ div.s $f6,$f4,$f22 +/* f0101ec: e6500010 */ swc1 $f16,0x10($s2) +/* f0101f0: 10000031 */ b .PF0f0102b8 +/* f0101f4: e6460014 */ swc1 $f6,0x14($s2) +/* f0101f8: 0fc042ae */ jal 0xf010ab8 +/* f0101fc: 02402025 */ move $a0,$s2 +/* f010200: 8e420004 */ lw $v0,0x4($s2) +/* f010204: 2c410007 */ sltiu $at,$v0,0x7 +/* f010208: 1020002b */ beqz $at,.PF0f0102b8 +/* f01020c: 00025840 */ sll $t3,$v0,0x1 +/* f010210: 8e580008 */ lw $t8,0x8($s2) +/* f010214: 3c01800a */ lui $at,0x800a +/* f010218: 002b0821 */ addu $at,$at,$t3 +/* f01021c: a438e56a */ sh $t8,-0x1a96($at) +/* f010220: 8e4c0004 */ lw $t4,0x4($s2) +/* f010224: 824d000f */ lb $t5,0xf($s2) +/* f010228: 3c01800a */ lui $at,0x800a +/* f01022c: 000c7040 */ sll $t6,$t4,0x1 +/* f010230: 002e0821 */ addu $at,$at,$t6 +/* f010234: 10000020 */ b .PF0f0102b8 +/* f010238: a42de576 */ sh $t5,-0x1a8a($at) +/* f01023c: 0fc042bd */ jal 0xf010af4 +/* f010240: 02402025 */ move $a0,$s2 +/* f010244: 1000001c */ b .PF0f0102b8 +/* f010248: 00000000 */ nop +/* f01024c: 0fc042c3 */ jal 0xf010b0c +/* f010250: 02402025 */ move $a0,$s2 +/* f010254: 10000018 */ b .PF0f0102b8 +/* f010258: 00000000 */ nop +/* f01025c: 0fc042c9 */ jal 0xf010b24 +/* f010260: 02402025 */ move $a0,$s2 +/* f010264: 10000014 */ b .PF0f0102b8 +/* f010268: 00000000 */ nop +/* f01026c: 3c038007 */ lui $v1,0x8007 +/* f010270: 24639644 */ addiu $v1,$v1,-27068 +/* f010274: 8c620000 */ lw $v0,0x0($v1) +/* f010278: 2401ffff */ li $at,-1 +/* f01027c: 14410003 */ bne $v0,$at,.PF0f01028c +/* f010280: 244f0001 */ addiu $t7,$v0,0x1 +/* f010284: 3c018007 */ lui $at,0x8007 +/* f010288: ac329640 */ sw $s2,-0x69c0($at) +.PF0f01028c: +/* f01028c: 1000000a */ b .PF0f0102b8 +/* f010290: ac6f0000 */ sw $t7,0x0($v1) +/* f010294: 12a00008 */ beqz $s5,.PF0f0102b8 +/* f010298: 00000000 */ nop +/* f01029c: 8e59000c */ lw $t9,0xc($s2) +/* f0102a0: 02402025 */ move $a0,$s2 +/* f0102a4: 0334c024 */ and $t8,$t9,$s4 +/* f0102a8: 17000003 */ bnez $t8,.PF0f0102b8 +/* f0102ac: 00000000 */ nop +/* f0102b0: 0fc0365e */ jal 0xf00d978 +/* f0102b4: 02602825 */ move $a1,$s3 +.PF0f0102b8: +/* f0102b8: 0fc24744 */ jal 0xf091d10 +/* f0102bc: 02402025 */ move $a0,$s2 +/* f0102c0: 00025880 */ sll $t3,$v0,0x2 +/* f0102c4: 01729021 */ addu $s2,$t3,$s2 +/* f0102c8: 92430003 */ lbu $v1,0x3($s2) +/* f0102cc: 24010034 */ li $at,0x34 +/* f0102d0: 26730001 */ addiu $s3,$s3,0x1 +/* f0102d4: 5461fcc5 */ bnel $v1,$at,.PF0f00f5ec +/* f0102d8: 2478ffff */ addiu $t8,$v1,-1 +/* f0102dc: 00009825 */ move $s3,$zero +.PF0f0102e0: +/* f0102e0: 3c0c800a */ lui $t4,0x800a +/* f0102e4: 8d8ca828 */ lw $t4,-0x57d8($t4) +/* f0102e8: 1180004f */ beqz $t4,.PF0f010428 +/* f0102ec: 00000000 */ nop +/* f0102f0: 0fc6374c */ jal 0xf18dd30 +/* f0102f4: 00000000 */ nop +/* f0102f8: 1040004b */ beqz $v0,.PF0f010428 +/* f0102fc: 24040040 */ li $a0,0x40 +/* f010300: 0fc67684 */ jal 0xf19da10 +/* f010304: afa000fc */ sw $zero,0xfc($sp) +/* f010308: 10400003 */ beqz $v0,.PF0f010318 +/* f01030c: 27a30120 */ addiu $v1,$sp,0x120 +/* f010310: 10000002 */ b .PF0f01031c +/* f010314: 24120008 */ li $s2,0x8 +.PF0f010318: +/* f010318: 24120004 */ li $s2,0x4 +.PF0f01031c: +/* f01031c: 27a20100 */ addiu $v0,$sp,0x100 +.PF0f010320: +/* f010320: 24420004 */ addiu $v0,$v0,0x4 +/* f010324: 0043082b */ sltu $at,$v0,$v1 +/* f010328: 1420fffd */ bnez $at,.PF0f010320 +/* f01032c: ac40fffc */ sw $zero,-0x4($v0) +/* f010330: 1a40003d */ blez $s2,.PF0f010428 +/* f010334: 00003025 */ move $a2,$zero +/* f010338: 3c14800b */ lui $s4,0x800b +/* f01033c: 2694d128 */ addiu $s4,$s4,-11992 +/* f010340: 27b10100 */ addiu $s1,$sp,0x100 +.PF0f010344: +/* f010344: 0c004ad4 */ jal 0x12b50 +/* f010348: afa60120 */ sw $a2,0x120($sp) +/* f01034c: 0052001b */ divu $zero,$v0,$s2 +/* f010350: 00001810 */ mfhi $v1 +/* f010354: 00036880 */ sll $t5,$v1,0x2 +/* f010358: 022d7021 */ addu $t6,$s1,$t5 +/* f01035c: 8dcf0000 */ lw $t7,0x0($t6) +/* f010360: 00608025 */ move $s0,$v1 +/* f010364: 8fa60120 */ lw $a2,0x120($sp) +/* f010368: 16400002 */ bnez $s2,.PF0f010374 +/* f01036c: 00000000 */ nop +/* f010370: 0007000d */ break 0x7 +.PF0f010374: +/* f010374: 11e00011 */ beqz $t7,.PF0f0103bc +/* f010378: 26190001 */ addiu $t9,$s0,0x1 +.PF0f01037c: +/* f01037c: 0332001a */ div $zero,$t9,$s2 +/* f010380: 00008010 */ mfhi $s0 +/* f010384: 0010c080 */ sll $t8,$s0,0x2 +/* f010388: 02385821 */ addu $t3,$s1,$t8 +/* f01038c: 8d6c0000 */ lw $t4,0x0($t3) +/* f010390: 16400002 */ bnez $s2,.PF0f01039c +/* f010394: 00000000 */ nop +/* f010398: 0007000d */ break 0x7 +.PF0f01039c: +/* f01039c: 2401ffff */ li $at,-1 +/* f0103a0: 16410004 */ bne $s2,$at,.PF0f0103b4 +/* f0103a4: 3c018000 */ lui $at,0x8000 +/* f0103a8: 17210002 */ bne $t9,$at,.PF0f0103b4 +/* f0103ac: 00000000 */ nop +/* f0103b0: 0006000d */ break 0x6 +.PF0f0103b4: +/* f0103b4: 5580fff1 */ bnezl $t4,.PF0f01037c +/* f0103b8: 26190001 */ addiu $t9,$s0,0x1 +.PF0f0103bc: +/* f0103bc: 968f0016 */ lhu $t7,0x16($s4) +/* f0103c0: 26190004 */ addiu $t9,$s0,0x4 +/* f0103c4: 24180001 */ li $t8,0x1 +/* f0103c8: 03385804 */ sllv $t3,$t8,$t9 +/* f0103cc: 00106880 */ sll $t5,$s0,0x2 +/* f0103d0: 022d7021 */ addu $t6,$s1,$t5 +/* f0103d4: 01eb6024 */ and $t4,$t7,$t3 +/* f0103d8: 1180000e */ beqz $t4,.PF0f010414 +/* f0103dc: afae005c */ sw $t6,0x5c($sp) +/* f0103e0: 02002025 */ move $a0,$s0 +/* f0103e4: 0fc63771 */ jal 0xf18ddc4 +/* f0103e8: afa60120 */ sw $a2,0x120($sp) +/* f0103ec: 10400009 */ beqz $v0,.PF0f010414 +/* f0103f0: 8fa60120 */ lw $a2,0x120($sp) +/* f0103f4: 8fa400fc */ lw $a0,0xfc($sp) +/* f0103f8: 02002825 */ move $a1,$s0 +/* f0103fc: 0fc0521a */ jal 0xf014868 +/* f010400: afa60120 */ sw $a2,0x120($sp) +/* f010404: 8fad00fc */ lw $t5,0xfc($sp) +/* f010408: 8fa60120 */ lw $a2,0x120($sp) +/* f01040c: 25ae0001 */ addiu $t6,$t5,0x1 +/* f010410: afae00fc */ sw $t6,0xfc($sp) +.PF0f010414: +/* f010414: 8fb9005c */ lw $t9,0x5c($sp) +/* f010418: 24c60001 */ addiu $a2,$a2,0x1 +/* f01041c: 24180001 */ li $t8,0x1 +/* f010420: 14d2ffc8 */ bne $a2,$s2,.PF0f010344 +/* f010424: af380000 */ sw $t8,0x0($t9) +.PF0f010428: +/* f010428: 3c0f800a */ lui $t7,0x800a +/* f01042c: 8defa828 */ lw $t7,-0x57d8($t7) +/* f010430: 11e00003 */ beqz $t7,.PF0f010440 +/* f010434: 00000000 */ nop +/* f010438: 0fc61949 */ jal 0xf186524 +/* f01043c: 00000000 */ nop +.PF0f010440: +/* f010440: 3c12800a */ lui $s2,0x800a +/* f010444: 8e52d5a0 */ lw $s2,-0x2a60($s2) +/* f010448: 24010034 */ li $at,0x34 +/* f01044c: 2417002b */ li $s7,0x2b +/* f010450: 92430003 */ lbu $v1,0x3($s2) +/* f010454: 24160008 */ li $s6,0x8 +/* f010458: 3c150200 */ lui $s5,0x200 +/* f01045c: 10610113 */ beq $v1,$at,.PF0f0108ac +/* f010460: 3c140008 */ lui $s4,0x8 +/* f010464: 246bfffd */ addiu $t3,$v1,-3 +.PF0f010468: +/* f010468: 2d610030 */ sltiu $at,$t3,0x30 +/* f01046c: 10200102 */ beqz $at,.PF0f010878 +/* f010470: 000b5880 */ sll $t3,$t3,0x2 +/* f010474: 3c017f1b */ lui $at,0x7f1b +/* f010478: 002b0821 */ addu $at,$at,$t3 +/* f01047c: 8c2b937c */ lw $t3,-0x6c84($at) +/* f010480: 01600008 */ jr $t3 +/* f010484: 00000000 */ nop +/* f010488: 8e4c0014 */ lw $t4,0x14($s2) +/* f01048c: 118000fa */ beqz $t4,.PF0f010878 +/* f010490: 00000000 */ nop +/* f010494: 8e4d0008 */ lw $t5,0x8($s2) +/* f010498: 31ae8000 */ andi $t6,$t5,0x8000 +/* f01049c: 11c000f6 */ beqz $t6,.PF0f010878 +/* f0104a0: 00000000 */ nop +/* f0104a4: 86420006 */ lh $v0,0x6($s2) +/* f0104a8: 0fc248c8 */ jal 0xf092320 +/* f0104ac: 02622021 */ addu $a0,$s3,$v0 +/* f0104b0: 104000f1 */ beqz $v0,.PF0f010878 +/* f0104b4: 00408025 */ move $s0,$v0 +/* f0104b8: 8c580014 */ lw $t8,0x14($v0) +/* f0104bc: 130000ee */ beqz $t8,.PF0f010878 +/* f0104c0: 00000000 */ nop +/* f0104c4: 8e590040 */ lw $t9,0x40($s2) +/* f0104c8: 8e460018 */ lw $a2,0x18($s2) +/* f0104cc: 03347825 */ or $t7,$t9,$s4 +/* f0104d0: ae4f0040 */ sw $t7,0x40($s2) +/* f0104d4: 8cc50014 */ lw $a1,0x14($a2) +/* f0104d8: 0c006b3a */ jal 0x1ace8 +/* f0104dc: 00c02025 */ move $a0,$a2 +/* f0104e0: 8e440014 */ lw $a0,0x14($s2) +/* f0104e4: 0fc1823e */ jal 0xf0608f8 +/* f0104e8: 8e050014 */ lw $a1,0x14($s0) +/* f0104ec: 100000e2 */ b .PF0f010878 +/* f0104f0: 00000000 */ nop +/* f0104f4: 864b0004 */ lh $t3,0x4($s2) +/* f0104f8: 0fc247c1 */ jal 0xf091f04 +/* f0104fc: 01732021 */ addu $a0,$t3,$s3 +/* f010500: 864c0006 */ lh $t4,0x6($s2) +/* f010504: 00408025 */ move $s0,$v0 +/* f010508: 0fc247c1 */ jal 0xf091f04 +/* f01050c: 01932021 */ addu $a0,$t4,$s3 +/* f010510: 120000d9 */ beqz $s0,.PF0f010878 +/* f010514: 00402825 */ move $a1,$v0 +/* f010518: 104000d7 */ beqz $v0,.PF0f010878 +/* f01051c: 00000000 */ nop +/* f010520: 920d0003 */ lbu $t5,0x3($s0) +/* f010524: 16cd00d4 */ bne $s6,$t5,.PF0f010878 +/* f010528: 00000000 */ nop +/* f01052c: 904e0003 */ lbu $t6,0x3($v0) +/* f010530: 16ce00d1 */ bne $s6,$t6,.PF0f010878 +/* f010534: 00000000 */ nop +/* f010538: 0fc22b36 */ jal 0xf08acd8 +/* f01053c: 02002025 */ move $a0,$s0 +/* f010540: 100000cd */ b .PF0f010878 +/* f010544: 00000000 */ nop +/* f010548: 8e420004 */ lw $v0,0x4($s2) +/* f01054c: 8e510008 */ lw $s1,0x8($s2) +/* f010550: 0fc248c8 */ jal 0xf092320 +/* f010554: 02622021 */ addu $a0,$s3,$v0 +/* f010558: 00408025 */ move $s0,$v0 +/* f01055c: 0fc248c8 */ jal 0xf092320 +/* f010560: 02712021 */ addu $a0,$s3,$s1 +/* f010564: 120000c4 */ beqz $s0,.PF0f010878 +/* f010568: 00000000 */ nop +/* f01056c: 8e030014 */ lw $v1,0x14($s0) +/* f010570: 106000c1 */ beqz $v1,.PF0f010878 +/* f010574: 00000000 */ nop +/* f010578: 104000bf */ beqz $v0,.PF0f010878 +/* f01057c: 00000000 */ nop +/* f010580: 8c580014 */ lw $t8,0x14($v0) +/* f010584: 130000bc */ beqz $t8,.PF0f010878 +/* f010588: 00000000 */ nop +/* f01058c: ae430004 */ sw $v1,0x4($s2) +/* f010590: 8c590014 */ lw $t9,0x14($v0) +/* f010594: 02402025 */ move $a0,$s2 +/* f010598: 0fc032fd */ jal 0xf00cbf4 +/* f01059c: ae590008 */ sw $t9,0x8($s2) +/* f0105a0: 8e0f0040 */ lw $t7,0x40($s0) +/* f0105a4: 35eb0001 */ ori $t3,$t7,0x1 +/* f0105a8: 100000b3 */ b .PF0f010878 +/* f0105ac: ae0b0040 */ sw $t3,0x40($s0) +/* f0105b0: 8e420004 */ lw $v0,0x4($s2) +/* f0105b4: 8e4c000c */ lw $t4,0xc($s2) +/* f0105b8: 8e510008 */ lw $s1,0x8($s2) +/* f0105bc: 02622021 */ addu $a0,$s3,$v0 +/* f0105c0: 0fc248c8 */ jal 0xf092320 +/* f0105c4: afac00bc */ sw $t4,0xbc($sp) +/* f0105c8: 00408025 */ move $s0,$v0 +/* f0105cc: 0fc248c8 */ jal 0xf092320 +/* f0105d0: 02712021 */ addu $a0,$s3,$s1 +/* f0105d4: 8fad00bc */ lw $t5,0xbc($sp) +/* f0105d8: 00408825 */ move $s1,$v0 +/* f0105dc: 0fc248c8 */ jal 0xf092320 +/* f0105e0: 026d2021 */ addu $a0,$s3,$t5 +/* f0105e4: 120000a4 */ beqz $s0,.PF0f010878 +/* f0105e8: 00000000 */ nop +/* f0105ec: 8e0e0014 */ lw $t6,0x14($s0) +/* f0105f0: 11c000a1 */ beqz $t6,.PF0f010878 +/* f0105f4: 00000000 */ nop +/* f0105f8: 1220009f */ beqz $s1,.PF0f010878 +/* f0105fc: 00000000 */ nop +/* f010600: 8e380014 */ lw $t8,0x14($s1) +/* f010604: 1300009c */ beqz $t8,.PF0f010878 +/* f010608: 00000000 */ nop +/* f01060c: 92390003 */ lbu $t9,0x3($s1) +/* f010610: 16f90099 */ bne $s7,$t9,.PF0f010878 +/* f010614: 00000000 */ nop +/* f010618: 10400097 */ beqz $v0,.PF0f010878 +/* f01061c: 00000000 */ nop +/* f010620: 8c4f0014 */ lw $t7,0x14($v0) +/* f010624: 11e00094 */ beqz $t7,.PF0f010878 +/* f010628: 00000000 */ nop +/* f01062c: 904b0003 */ lbu $t3,0x3($v0) +/* f010630: 24010001 */ li $at,0x1 +/* f010634: 02402025 */ move $a0,$s2 +/* f010638: 1561008f */ bne $t3,$at,.PF0f010878 +/* f01063c: 00000000 */ nop +/* f010640: ae500004 */ sw $s0,0x4($s2) +/* f010644: ae510008 */ sw $s1,0x8($s2) +/* f010648: ae42000c */ sw $v0,0xc($s2) +/* f01064c: 0fc03309 */ jal 0xf00cc24 +/* f010650: afa200b0 */ sw $v0,0xb0($sp) +/* f010654: 8e0c000c */ lw $t4,0xc($s0) +/* f010658: 8fa300b0 */ lw $v1,0xb0($sp) +/* f01065c: 358d0400 */ ori $t5,$t4,0x400 +/* f010660: ae0d000c */ sw $t5,0xc($s0) +/* f010664: 8c6e000c */ lw $t6,0xc($v1) +/* f010668: 35d80400 */ ori $t8,$t6,0x400 +/* f01066c: 10000082 */ b .PF0f010878 +/* f010670: ac78000c */ sw $t8,0xc($v1) +/* f010674: 8e420004 */ lw $v0,0x4($s2) +/* f010678: 8e510008 */ lw $s1,0x8($s2) +/* f01067c: 0fc248c8 */ jal 0xf092320 +/* f010680: 02622021 */ addu $a0,$s3,$v0 +/* f010684: 00408025 */ move $s0,$v0 +/* f010688: 0fc248c8 */ jal 0xf092320 +/* f01068c: 02712021 */ addu $a0,$s3,$s1 +/* f010690: 12000079 */ beqz $s0,.PF0f010878 +/* f010694: 00000000 */ nop +/* f010698: 8e190014 */ lw $t9,0x14($s0) +/* f01069c: 13200076 */ beqz $t9,.PF0f010878 +/* f0106a0: 00000000 */ nop +/* f0106a4: 10400074 */ beqz $v0,.PF0f010878 +/* f0106a8: 00000000 */ nop +/* f0106ac: 8c4f0014 */ lw $t7,0x14($v0) +/* f0106b0: 11e00071 */ beqz $t7,.PF0f010878 +/* f0106b4: 00000000 */ nop +/* f0106b8: 920b0003 */ lbu $t3,0x3($s0) +/* f0106bc: 24010001 */ li $at,0x1 +/* f0106c0: 02402025 */ move $a0,$s2 +/* f0106c4: 1561006c */ bne $t3,$at,.PF0f010878 +/* f0106c8: 00000000 */ nop +/* f0106cc: ae500004 */ sw $s0,0x4($s2) +/* f0106d0: 0fc03303 */ jal 0xf00cc0c +/* f0106d4: ae420008 */ sw $v0,0x8($s2) +/* f0106d8: 8e0c0040 */ lw $t4,0x40($s0) +/* f0106dc: 358d2000 */ ori $t5,$t4,0x2000 +/* f0106e0: 10000065 */ b .PF0f010878 +/* f0106e4: ae0d0040 */ sw $t5,0x40($s0) +/* f0106e8: 8e4e0008 */ lw $t6,0x8($s2) +/* f0106ec: 8e420004 */ lw $v0,0x4($s2) +/* f0106f0: 00008825 */ move $s1,$zero +/* f0106f4: afae0090 */ sw $t6,0x90($sp) +/* f0106f8: 8e58000c */ lw $t8,0xc($s2) +/* f0106fc: 00008025 */ move $s0,$zero +/* f010700: 02622021 */ addu $a0,$s3,$v0 +/* f010704: 0fc248c8 */ jal 0xf092320 +/* f010708: afb8008c */ sw $t8,0x8c($sp) +/* f01070c: 8fb90090 */ lw $t9,0x90($sp) +/* f010710: 00403025 */ move $a2,$v0 +/* f010714: 13200005 */ beqz $t9,.PF0f01072c +/* f010718: 02792021 */ addu $a0,$s3,$t9 +/* f01071c: 0fc248c8 */ jal 0xf092320 +/* f010720: afa20088 */ sw $v0,0x88($sp) +/* f010724: 8fa60088 */ lw $a2,0x88($sp) +/* f010728: 00408825 */ move $s1,$v0 +.PF0f01072c: +/* f01072c: 8fa2008c */ lw $v0,0x8c($sp) +/* f010730: 10400006 */ beqz $v0,.PF0f01074c +/* f010734: 02622021 */ addu $a0,$s3,$v0 +/* f010738: 0fc248c8 */ jal 0xf092320 +/* f01073c: afa60088 */ sw $a2,0x88($sp) +/* f010740: 00408025 */ move $s0,$v0 +/* f010744: 8fa2008c */ lw $v0,0x8c($sp) +/* f010748: 8fa60088 */ lw $a2,0x88($sp) +.PF0f01074c: +/* f01074c: 10c0004a */ beqz $a2,.PF0f010878 +/* f010750: 00000000 */ nop +/* f010754: 8ccf0014 */ lw $t7,0x14($a2) +/* f010758: 8fab0090 */ lw $t3,0x90($sp) +/* f01075c: 11e00046 */ beqz $t7,.PF0f010878 +/* f010760: 00000000 */ nop +/* f010764: 11600006 */ beqz $t3,.PF0f010780 +/* f010768: 00000000 */ nop +/* f01076c: 12200042 */ beqz $s1,.PF0f010878 +/* f010770: 00000000 */ nop +/* f010774: 8e2c0014 */ lw $t4,0x14($s1) +/* f010778: 1180003f */ beqz $t4,.PF0f010878 +/* f01077c: 00000000 */ nop +.PF0f010780: +/* f010780: 10400006 */ beqz $v0,.PF0f01079c +/* f010784: 02402025 */ move $a0,$s2 +/* f010788: 1200003b */ beqz $s0,.PF0f010878 +/* f01078c: 00000000 */ nop +/* f010790: 8e0d0014 */ lw $t5,0x14($s0) +/* f010794: 11a00038 */ beqz $t5,.PF0f010878 +/* f010798: 00000000 */ nop +.PF0f01079c: +/* f01079c: ae460004 */ sw $a2,0x4($s2) +/* f0107a0: ae510008 */ sw $s1,0x8($s2) +/* f0107a4: ae50000c */ sw $s0,0xc($s2) +/* f0107a8: 0fc0330f */ jal 0xf00cc3c +/* f0107ac: afa60088 */ sw $a2,0x88($sp) +/* f0107b0: 8fa60088 */ lw $a2,0x88($sp) +/* f0107b4: 3c010100 */ lui $at,0x100 +/* f0107b8: 8cce0040 */ lw $t6,0x40($a2) +/* f0107bc: 00c02025 */ move $a0,$a2 +/* f0107c0: 01c1c025 */ or $t8,$t6,$at +/* f0107c4: acd80040 */ sw $t8,0x40($a2) +/* f0107c8: 8fb90090 */ lw $t9,0x90($sp) +/* f0107cc: 53200006 */ beqzl $t9,.PF0f0107e8 +/* f0107d0: 8fac008c */ lw $t4,0x8c($sp) +/* f0107d4: 8e2f0040 */ lw $t7,0x40($s1) +/* f0107d8: 3c010100 */ lui $at,0x100 +/* f0107dc: 01e15825 */ or $t3,$t7,$at +/* f0107e0: ae2b0040 */ sw $t3,0x40($s1) +/* f0107e4: 8fac008c */ lw $t4,0x8c($sp) +.PF0f0107e8: +/* f0107e8: 51800009 */ beqzl $t4,.PF0f010810 +/* f0107ec: 8ccf0040 */ lw $t7,0x40($a2) +/* f0107f0: 8e0d0040 */ lw $t5,0x40($s0) +/* f0107f4: 8e18000c */ lw $t8,0xc($s0) +/* f0107f8: 3c010100 */ lui $at,0x100 +/* f0107fc: 01a17025 */ or $t6,$t5,$at +/* f010800: 0314c825 */ or $t9,$t8,$s4 +/* f010804: ae0e0040 */ sw $t6,0x40($s0) +/* f010808: ae19000c */ sw $t9,0xc($s0) +/* f01080c: 8ccf0040 */ lw $t7,0x40($a2) +.PF0f010810: +/* f010810: 01f55824 */ and $t3,$t7,$s5 +/* f010814: 11600018 */ beqz $t3,.PF0f010878 +/* f010818: 00000000 */ nop +/* f01081c: 0c0060d8 */ jal 0x18360 +/* f010820: 00002825 */ move $a1,$zero +/* f010824: 10000014 */ b .PF0f010878 +/* f010828: 00000000 */ nop +/* f01082c: 8e420004 */ lw $v0,0x4($s2) +/* f010830: 0fc248c8 */ jal 0xf092320 +/* f010834: 02622021 */ addu $a0,$s3,$v0 +/* f010838: 1040000f */ beqz $v0,.PF0f010878 +/* f01083c: 00408025 */ move $s0,$v0 +/* f010840: 8c4c0014 */ lw $t4,0x14($v0) +/* f010844: 02402025 */ move $a0,$s2 +/* f010848: 1180000b */ beqz $t4,.PF0f010878 +/* f01084c: 00000000 */ nop +/* f010850: 0fc03315 */ jal 0xf00cc54 +/* f010854: ae420004 */ sw $v0,0x4($s2) +/* f010858: 8e0d0040 */ lw $t5,0x40($s0) +/* f01085c: 02002025 */ move $a0,$s0 +/* f010860: 01b57025 */ or $t6,$t5,$s5 +/* f010864: 000ec9c0 */ sll $t9,$t6,0x7 +/* f010868: 07210003 */ bgez $t9,.PF0f010878 +/* f01086c: ae0e0040 */ sw $t6,0x40($s0) +/* f010870: 0c0060d8 */ jal 0x18360 +/* f010874: 00002825 */ move $a1,$zero +.PF0f010878: +/* f010878: 0fc24744 */ jal 0xf091d10 +/* f01087c: 02402025 */ move $a0,$s2 +/* f010880: 00027880 */ sll $t7,$v0,0x2 +/* f010884: 01f29021 */ addu $s2,$t7,$s2 +/* f010888: 92430003 */ lbu $v1,0x3($s2) +/* f01088c: 24010034 */ li $at,0x34 +/* f010890: 26730001 */ addiu $s3,$s3,0x1 +/* f010894: 5461fef4 */ bnel $v1,$at,.PF0f010468 +/* f010898: 246bfffd */ addiu $t3,$v1,-3 +/* f01089c: 10000003 */ b .PF0f0108ac +/* f0108a0: 00000000 */ nop +.PF0f0108a4: +/* f0108a4: 0fc02d83 */ jal 0xf00b60c +/* f0108a8: 00002025 */ move $a0,$zero +.PF0f0108ac: +/* f0108ac: 0fc02eea */ jal 0xf00bba8 +/* f0108b0: 00000000 */ nop +/* f0108b4: 8fbf004c */ lw $ra,0x4c($sp) +/* f0108b8: d7b40018 */ ldc1 $f20,0x18($sp) +/* f0108bc: d7b60020 */ ldc1 $f22,0x20($sp) +/* f0108c0: 8fb00028 */ lw $s0,0x28($sp) +/* f0108c4: 8fb1002c */ lw $s1,0x2c($sp) +/* f0108c8: 8fb20030 */ lw $s2,0x30($sp) +/* f0108cc: 8fb30034 */ lw $s3,0x34($sp) +/* f0108d0: 8fb40038 */ lw $s4,0x38($sp) +/* f0108d4: 8fb5003c */ lw $s5,0x3c($sp) +/* f0108d8: 8fb60040 */ lw $s6,0x40($sp) +/* f0108dc: 8fb70044 */ lw $s7,0x44($sp) +/* f0108e0: 8fbe0048 */ lw $s8,0x48($sp) +/* f0108e4: 03e00008 */ jr $ra +/* f0108e8: 27bd0248 */ addiu $sp,$sp,0x248 +); +#else void setupParseObjects(s32 stagenum) { s32 withchrs = !argFindByPrefix(1, "-nochr") && !argFindByPrefix(1, "-noprop"); @@ -2963,3 +5058,4 @@ void setupParseObjects(s32 stagenum) stageAllocateBgChrs(); } +#endif diff --git a/src/game/game_0125a0.c b/src/game/game_0125a0.c index f340dea7b..3d6702b9f 100644 --- a/src/game/game_0125a0.c +++ b/src/game/game_0125a0.c @@ -82,7 +82,7 @@ void currentPlayerInitAnimation(void) func00022fa4(&g_Vars.currentplayer->model, &var8007c0c0, &g_Vars.currentplayer->unk0494, 0); animInitialise(g_Vars.currentplayer->model.anim); modelSetUnk14(&g_Vars.currentplayer->model, 0.1000000089407f); - modelSetAnimPlaySpeed(&g_Vars.currentplayer->model, 1, 0); + modelSetAnimPlaySpeed(&g_Vars.currentplayer->model, (PAL ? 1.2f : 1), 0); g_Vars.currentplayer->headanim = 0; g_Vars.currentplayer->headdamp = 0.93f; diff --git a/src/game/game_01bea0.c b/src/game/game_01bea0.c index 01583fb77..87e7e32a2 100644 --- a/src/game/game_01bea0.c +++ b/src/game/game_01bea0.c @@ -57,6 +57,1744 @@ void menuCountDialogs(void) } } +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel menuTickAll +/* f01c018: 27bdfe98 */ addiu $sp,$sp,-360 +/* f01c01c: afb60040 */ sw $s6,0x40($sp) +/* f01c020: 24160001 */ li $s6,0x1 +/* f01c024: afbf0044 */ sw $ra,0x44($sp) +/* f01c028: afb00028 */ sw $s0,0x28($sp) +/* f01c02c: 3c018008 */ lui $at,0x8008 +/* f01c030: afb5003c */ sw $s5,0x3c($sp) +/* f01c034: afb40038 */ sw $s4,0x38($sp) +/* f01c038: afb30034 */ sw $s3,0x34($sp) +/* f01c03c: afb20030 */ sw $s2,0x30($sp) +/* f01c040: afb1002c */ sw $s1,0x2c($sp) +/* f01c044: afb60154 */ sw $s6,0x154($sp) +/* f01c048: 00008025 */ move $s0,$zero +/* f01c04c: 0fc01a73 */ jal 0xf0069cc +/* f01c050: ac360020 */ sw $s6,0x20($at) +/* f01c054: 3c15800a */ lui $s5,0x800a +/* f01c058: 0fc06ff4 */ jal 0xf01bfd0 +/* f01c05c: 26b51f60 */ addiu $s5,$s5,0x1f60 +/* f01c060: 3c03800a */ lui $v1,0x800a +/* f01c064: 3c05800a */ lui $a1,0x800a +/* f01c068: 24a51f60 */ addiu $a1,$a1,0x1f60 +/* f01c06c: 2463e5a0 */ addiu $v1,$v1,-6752 +/* f01c070: 9062083c */ lbu $v0,0x83c($v1) +.PF0f01c074: +/* f01c074: 18400002 */ blez $v0,.PF0f01c080 +/* f01c078: 244effff */ addiu $t6,$v0,-1 +/* f01c07c: a06e083c */ sb $t6,0x83c($v1) +.PF0f01c080: +/* f01c080: 8c6f04f8 */ lw $t7,0x4f8($v1) +/* f01c084: 24630e70 */ addiu $v1,$v1,0xe70 +/* f01c088: 11e00002 */ beqz $t7,.PF0f01c094 +/* f01c08c: 00000000 */ nop +/* f01c090: 02c08025 */ move $s0,$s6 +.PF0f01c094: +/* f01c094: 5465fff7 */ bnel $v1,$a1,.PF0f01c074 +/* f01c098: 9062083c */ lbu $v0,0x83c($v1) +/* f01c09c: 16000009 */ bnez $s0,.PF0f01c0c4 +/* f01c0a0: 00000000 */ nop +/* f01c0a4: 92b80014 */ lbu $t8,0x14($s5) +/* f01c0a8: 13000006 */ beqz $t8,.PF0f01c0c4 +/* f01c0ac: 00000000 */ nop +/* f01c0b0: 92b90015 */ lbu $t9,0x15($s5) +/* f01c0b4: 240100ff */ li $at,0xff +/* f01c0b8: 17210002 */ bne $t9,$at,.PF0f01c0c4 +/* f01c0bc: 00000000 */ nop +/* f01c0c0: a2a00015 */ sb $zero,0x15($s5) +.PF0f01c0c4: +/* f01c0c4: 5200002f */ beqzl $s0,.PF0f01c184 +/* f01c0c8: 92a30015 */ lbu $v1,0x15($s5) +/* f01c0cc: 82a8066e */ lb $t0,0x66e($s5) +/* f01c0d0: 3c10800a */ lui $s0,0x800a +/* f01c0d4: 2610e560 */ addiu $s0,$s0,-6816 +/* f01c0d8: 5900002a */ blezl $t0,.PF0f01c184 +/* f01c0dc: 92a30015 */ lbu $v1,0x15($s5) +/* f01c0e0: 8e0d0000 */ lw $t5,0x0($s0) +/* f01c0e4: 24070032 */ li $a3,0x32 +/* f01c0e8: 00003025 */ move $a2,$zero +/* f01c0ec: 11a00024 */ beqz $t5,.PF0f01c180 +/* f01c0f0: 3c04800a */ lui $a0,0x800a +/* f01c0f4: 3c05800a */ lui $a1,0x800a +/* f01c0f8: 24a51f60 */ addiu $a1,$a1,0x1f60 +/* f01c0fc: 2484e5a0 */ addiu $a0,$a0,-6752 +/* f01c100: 24090002 */ li $t1,0x2 +/* f01c104: 8c8304f8 */ lw $v1,0x4f8($a0) +.PF0f01c108: +/* f01c108: 24840e70 */ addiu $a0,$a0,0xe70 +/* f01c10c: 10600009 */ beqz $v1,.PF0f01c134 +/* f01c110: 00000000 */ nop +/* f01c114: 90620060 */ lbu $v0,0x60($v1) +/* f01c118: 52c20006 */ beql $s6,$v0,.PF0f01c134 +/* f01c11c: 02c03025 */ move $a2,$s6 +/* f01c120: 51220004 */ beql $t1,$v0,.PF0f01c134 +/* f01c124: 02c03025 */ move $a2,$s6 +/* f01c128: 14400002 */ bnez $v0,.PF0f01c134 +/* f01c12c: 00000000 */ nop +/* f01c130: 02c03025 */ move $a2,$s6 +.PF0f01c134: +/* f01c134: 5485fff4 */ bnel $a0,$a1,.PF0f01c108 +/* f01c138: 8c8304f8 */ lw $v1,0x4f8($a0) +/* f01c13c: 3c13800a */ lui $s3,0x800a +/* f01c140: 2673a510 */ addiu $s3,$s3,-23280 +/* f01c144: 8e6e0318 */ lw $t6,0x318($s3) +/* f01c148: 51c00003 */ beqzl $t6,.PF0f01c158 +/* f01c14c: 92a2066f */ lbu $v0,0x66f($s5) +/* f01c150: 24070028 */ li $a3,0x28 +/* f01c154: 92a2066f */ lbu $v0,0x66f($s5) +.PF0f01c158: +/* f01c158: 00e2082a */ slt $at,$a3,$v0 +/* f01c15c: 14200003 */ bnez $at,.PF0f01c16c +/* f01c160: 00000000 */ nop +/* f01c164: 14c00005 */ bnez $a2,.PF0f01c17c +/* f01c168: 244f0001 */ addiu $t7,$v0,0x1 +.PF0f01c16c: +/* f01c16c: 0fc3ce5d */ jal 0xf0f3974 +/* f01c170: 2504ffff */ addiu $a0,$t0,-1 +/* f01c174: 10000003 */ b .PF0f01c184 +/* f01c178: 92a30015 */ lbu $v1,0x15($s5) +.PF0f01c17c: +/* f01c17c: a2af066f */ sb $t7,0x66f($s5) +.PF0f01c180: +/* f01c180: 92a30015 */ lbu $v1,0x15($s5) +.PF0f01c184: +/* f01c184: 3c10800a */ lui $s0,0x800a +/* f01c188: 3c13800a */ lui $s3,0x800a +/* f01c18c: 240100ff */ li $at,0xff +/* f01c190: 2673a510 */ addiu $s3,$s3,-23280 +/* f01c194: 2610e560 */ addiu $s0,$s0,-6816 +/* f01c198: 10610072 */ beq $v1,$at,.PF0f01c364 +/* f01c19c: 92a20014 */ lbu $v0,0x14($s5) +/* f01c1a0: 14430004 */ bne $v0,$v1,.PF0f01c1b4 +/* f01c1a4: 3c017f1b */ lui $at,0x7f1b +/* f01c1a8: 241800ff */ li $t8,0xff +/* f01c1ac: 10000073 */ b .PF0f01c37c +/* f01c1b0: a2b80015 */ sb $t8,0x15($s5) +.PF0f01c1b4: +/* f01c1b4: c4229828 */ lwc1 $f2,-0x67d8($at) +/* f01c1b8: 24110008 */ li $s1,0x8 +/* f01c1bc: 14400002 */ bnez $v0,.PF0f01c1c8 +/* f01c1c0: 46001006 */ mov.s $f0,$f2 +/* f01c1c4: 46021000 */ add.s $f0,$f2,$f2 +.PF0f01c1c8: +/* f01c1c8: 14600002 */ bnez $v1,.PF0f01c1d4 +/* f01c1cc: 3c0140a0 */ lui $at,0x40a0 +/* f01c1d0: 46000000 */ add.s $f0,$f0,$f0 +.PF0f01c1d4: +/* f01c1d4: 56230005 */ bnel $s1,$v1,.PF0f01c1ec +/* f01c1d8: 24010007 */ li $at,0x7 +/* f01c1dc: 44812000 */ mtc1 $at,$f4 +/* f01c1e0: 00000000 */ nop +/* f01c1e4: 46040003 */ div.s $f0,$f0,$f4 +/* f01c1e8: 24010007 */ li $at,0x7 +.PF0f01c1ec: +/* f01c1ec: 14610004 */ bne $v1,$at,.PF0f01c200 +/* f01c1f0: 3c014040 */ lui $at,0x4040 +/* f01c1f4: 44813000 */ mtc1 $at,$f6 +/* f01c1f8: 00000000 */ nop +/* f01c1fc: 46060003 */ div.s $f0,$f0,$f6 +.PF0f01c200: +/* f01c200: 24010006 */ li $at,0x6 +/* f01c204: 14610004 */ bne $v1,$at,.PF0f01c218 +/* f01c208: 3c014120 */ lui $at,0x4120 +/* f01c20c: 44814000 */ mtc1 $at,$f8 +/* f01c210: 00000000 */ nop +/* f01c214: 46080003 */ div.s $f0,$f0,$f8 +.PF0f01c218: +/* f01c218: 14600009 */ bnez $v1,.PF0f01c240 +/* f01c21c: 3c014080 */ lui $at,0x4080 +/* f01c220: 8e620284 */ lw $v0,0x284($s3) +/* f01c224: ae000000 */ sw $zero,0x0($s0) +/* f01c228: 905915ea */ lbu $t9,0x15ea($v0) +/* f01c22c: 53200005 */ beqzl $t9,.PF0f01c244 +/* f01c230: 92b80016 */ lbu $t8,0x16($s5) +/* f01c234: 904e1583 */ lbu $t6,0x1583($v0) +/* f01c238: 35cf0002 */ ori $t7,$t6,0x2 +/* f01c23c: a04f1583 */ sb $t7,0x1583($v0) +.PF0f01c240: +/* f01c240: 92b80016 */ lbu $t8,0x16($s5) +.PF0f01c244: +/* f01c244: 240d00ff */ li $t5,0xff +/* f01c248: 53000005 */ beqzl $t8,.PF0f01c260 +/* f01c24c: 44816000 */ mtc1 $at,$f12 +/* f01c250: 92b90014 */ lbu $t9,0x14($s5) +/* f01c254: 5320000d */ beqzl $t9,.PF0f01c28c +/* f01c258: 3c013f80 */ lui $at,0x3f80 +/* f01c25c: 44816000 */ mtc1 $at,$f12 +.PF0f01c260: +/* f01c260: c6620010 */ lwc1 $f2,0x10($s3) +/* f01c264: 4602603c */ c.lt.s $f12,$f2 +/* f01c268: 00000000 */ nop +/* f01c26c: 45000002 */ bc1f .PF0f01c278 +/* f01c270: 00000000 */ nop +/* f01c274: 46006086 */ mov.s $f2,$f12 +.PF0f01c278: +/* f01c278: 46020402 */ mul.s $f16,$f0,$f2 +/* f01c27c: c6aa0010 */ lwc1 $f10,0x10($s5) +/* f01c280: 46105480 */ add.s $f18,$f10,$f16 +/* f01c284: e6b20010 */ swc1 $f18,0x10($s5) +/* f01c288: 3c013f80 */ lui $at,0x3f80 +.PF0f01c28c: +/* f01c28c: 44812000 */ mtc1 $at,$f4 +/* f01c290: c6a60010 */ lwc1 $f6,0x10($s5) +/* f01c294: 4606203c */ c.lt.s $f4,$f6 +/* f01c298: 00000000 */ nop +/* f01c29c: 45020022 */ bc1fl .PF0f01c328 +/* f01c2a0: 92af0015 */ lbu $t7,0x15($s5) +/* f01c2a4: 92a20015 */ lbu $v0,0x15($s5) +/* f01c2a8: 44804000 */ mtc1 $zero,$f8 +/* f01c2ac: 24010006 */ li $at,0x6 +/* f01c2b0: 50400003 */ beqzl $v0,.PF0f01c2c0 +/* f01c2b4: 8eae0004 */ lw $t6,0x4($s5) +/* f01c2b8: ae160000 */ sw $s6,0x0($s0) +/* f01c2bc: 8eae0004 */ lw $t6,0x4($s5) +.PF0f01c2c0: +/* f01c2c0: e6a80010 */ swc1 $f8,0x10($s5) +/* f01c2c4: a2a20014 */ sb $v0,0x14($s5) +/* f01c2c8: 16ce0011 */ bne $s6,$t6,.PF0f01c310 +/* f01c2cc: a2ad0015 */ sb $t5,0x15($s5) +/* f01c2d0: 304200ff */ andi $v0,$v0,0xff +/* f01c2d4: 16c20002 */ bne $s6,$v0,.PF0f01c2e0 +/* f01c2d8: 240f0006 */ li $t7,0x6 +/* f01c2dc: a2af0015 */ sb $t7,0x15($s5) +.PF0f01c2e0: +/* f01c2e0: 14410008 */ bne $v0,$at,.PF0f01c304 +/* f01c2e4: 00000000 */ nop +/* f01c2e8: 0fc395ac */ jal 0xf0e56b0 +/* f01c2ec: 00000000 */ nop +/* f01c2f0: 24180001 */ li $t8,0x1 +/* f01c2f4: 24190008 */ li $t9,0x8 +/* f01c2f8: a2b80014 */ sb $t8,0x14($s5) +/* f01c2fc: a2b90015 */ sb $t9,0x15($s5) +/* f01c300: 330200ff */ andi $v0,$t8,0xff +.PF0f01c304: +/* f01c304: 16220002 */ bne $s1,$v0,.PF0f01c310 +/* f01c308: 240d0007 */ li $t5,0x7 +/* f01c30c: a2ad0015 */ sb $t5,0x15($s5) +.PF0f01c310: +/* f01c310: 92ae0014 */ lbu $t6,0x14($s5) +/* f01c314: 55c00004 */ bnezl $t6,.PF0f01c328 +/* f01c318: 92af0015 */ lbu $t7,0x15($s5) +/* f01c31c: 0fc3eb7a */ jal 0xf0fade8 +/* f01c320: 00000000 */ nop +/* f01c324: 92af0015 */ lbu $t7,0x15($s5) +.PF0f01c328: +/* f01c328: 24010003 */ li $at,0x3 +/* f01c32c: 55e10003 */ bnel $t7,$at,.PF0f01c33c +/* f01c330: 8e180000 */ lw $t8,0x0($s0) +/* f01c334: ae160000 */ sw $s6,0x0($s0) +/* f01c338: 8e180000 */ lw $t8,0x0($s0) +.PF0f01c33c: +/* f01c33c: 13000007 */ beqz $t8,.PF0f01c35c +/* f01c340: 00000000 */ nop +/* f01c344: 8e790284 */ lw $t9,0x284($s3) +/* f01c348: 8f2d1bd4 */ lw $t5,0x1bd4($t9) +/* f01c34c: 11a00003 */ beqz $t5,.PF0f01c35c +/* f01c350: 00000000 */ nop +/* f01c354: 0fc2e696 */ jal 0xf0b9a58 +/* f01c358: 00000000 */ nop +.PF0f01c35c: +/* f01c35c: 10000007 */ b .PF0f01c37c +/* f01c360: 00000000 */ nop +.PF0f01c364: +/* f01c364: 44805000 */ mtc1 $zero,$f10 +/* f01c368: 14400003 */ bnez $v0,.PF0f01c378 +/* f01c36c: e6aa0010 */ swc1 $f10,0x10($s5) +/* f01c370: 10000002 */ b .PF0f01c37c +/* f01c374: ae000000 */ sw $zero,0x0($s0) +.PF0f01c378: +/* f01c378: ae160000 */ sw $s6,0x0($s0) +.PF0f01c37c: +/* f01c37c: 3c0e8008 */ lui $t6,0x8008 +/* f01c380: 8dce77b0 */ lw $t6,0x77b0($t6) +/* f01c384: 19c0006c */ blez $t6,.PF0f01c538 +/* f01c388: 00000000 */ nop +/* f01c38c: 8e6f000c */ lw $t7,0xc($s3) +/* f01c390: 29e10004 */ slti $at,$t7,0x4 +/* f01c394: 14200064 */ bnez $at,.PF0f01c528 +/* f01c398: 00000000 */ nop +/* f01c39c: 8e6304b4 */ lw $v1,0x4b4($s3) +/* f01c3a0: 24010026 */ li $at,0x26 +/* f01c3a4: 10610003 */ beq $v1,$at,.PF0f01c3b4 +/* f01c3a8: 2401005d */ li $at,0x5d +/* f01c3ac: 1461005b */ bne $v1,$at,.PF0f01c51c +/* f01c3b0: 00000000 */ nop +.PF0f01c3b4: +/* f01c3b4: 0c002779 */ jal 0x9de4 +/* f01c3b8: 00002025 */ move $a0,$zero +/* f01c3bc: 8e78049c */ lw $t8,0x49c($s3) +/* f01c3c0: 3c148007 */ lui $s4,0x8007 +/* f01c3c4: 269417b8 */ addiu $s4,$s4,0x17b8 +/* f01c3c8: 13000003 */ beqz $t8,.PF0f01c3d8 +/* f01c3cc: ae800000 */ sw $zero,0x0($s4) +/* f01c3d0: 10000003 */ b .PF0f01c3e0 +/* f01c3d4: ae760490 */ sw $s6,0x490($s3) +.PF0f01c3d8: +/* f01c3d8: 24190002 */ li $t9,0x2 +/* f01c3dc: ae790490 */ sw $t9,0x490($s3) +.PF0f01c3e0: +/* f01c3e0: 3c08800a */ lui $t0,0x800a +/* f01c3e4: 3c03800b */ lui $v1,0x800b +/* f01c3e8: 9463d13e */ lhu $v1,-0x2ec2($v1) +/* f01c3ec: 2508a510 */ addiu $t0,$t0,-23280 +/* f01c3f0: 00008825 */ move $s1,$zero +.PF0f01c3f4: +/* f01c3f4: 240d0001 */ li $t5,0x1 +/* f01c3f8: 022d7004 */ sllv $t6,$t5,$s1 +/* f01c3fc: 006e7824 */ and $t7,$v1,$t6 +/* f01c400: 11e00026 */ beqz $t7,.PF0f01c49c +/* f01c404: a1000494 */ sb $zero,0x494($t0) +/* f01c408: 3c018007 */ lui $at,0x8007 +/* f01c40c: ac311728 */ sw $s1,0x1728($at) +/* f01c410: 8e780490 */ lw $t8,0x490($s3) +/* f01c414: 8e820000 */ lw $v0,0x0($s4) +/* f01c418: 02c02025 */ move $a0,$s6 +/* f01c41c: 16d80008 */ bne $s6,$t8,.PF0f01c440 +/* f01c420: 24590001 */ addiu $t9,$v0,0x1 +/* f01c424: ae990000 */ sw $t9,0x0($s4) +/* f01c428: 0fc6033c */ jal 0xf180cf0 +/* f01c42c: afa80058 */ sw $t0,0x58($sp) +/* f01c430: 3c03800b */ lui $v1,0x800b +/* f01c434: 9463d13e */ lhu $v1,-0x2ec2($v1) +/* f01c438: 10000018 */ b .PF0f01c49c +/* f01c43c: 8fa80058 */ lw $t0,0x58($sp) +.PF0f01c440: +/* f01c440: 14400015 */ bnez $v0,.PF0f01c498 +/* f01c444: 244d0001 */ addiu $t5,$v0,0x1 +/* f01c448: ae8d0000 */ sw $t5,0x0($s4) +/* f01c44c: 3c0e8009 */ lui $t6,0x8009 +/* f01c450: 91ce1040 */ lbu $t6,0x1040($t6) +/* f01c454: 3c048008 */ lui $a0,0x8008 +/* f01c458: 24846cf0 */ addiu $a0,$a0,0x6cf0 +/* f01c45c: 16ce0008 */ bne $s6,$t6,.PF0f01c480 +/* f01c460: 24050003 */ li $a1,0x3 +/* f01c464: 3c048007 */ lui $a0,0x8007 +/* f01c468: 24845758 */ addiu $a0,$a0,0x5758 +/* f01c46c: 2405000b */ li $a1,0xb +/* f01c470: 0fc3e29d */ jal 0xf0f8a74 +/* f01c474: afa80058 */ sw $t0,0x58($sp) +/* f01c478: 10000004 */ b .PF0f01c48c +/* f01c47c: 8fa80058 */ lw $t0,0x58($sp) +.PF0f01c480: +/* f01c480: 0fc3e29d */ jal 0xf0f8a74 +/* f01c484: afa80058 */ sw $t0,0x58($sp) +/* f01c488: 8fa80058 */ lw $t0,0x58($sp) +.PF0f01c48c: +/* f01c48c: 3c03800b */ lui $v1,0x800b +/* f01c490: 10000002 */ b .PF0f01c49c +/* f01c494: 9463d13e */ lhu $v1,-0x2ec2($v1) +.PF0f01c498: +/* f01c498: a1160494 */ sb $s6,0x494($t0) +.PF0f01c49c: +/* f01c49c: 26310001 */ addiu $s1,$s1,0x1 +/* f01c4a0: 24010004 */ li $at,0x4 +/* f01c4a4: 1621ffd3 */ bne $s1,$at,.PF0f01c3f4 +/* f01c4a8: 25080001 */ addiu $t0,$t0,0x1 +/* f01c4ac: 3c018007 */ lui $at,0x8007 +/* f01c4b0: 306f000f */ andi $t7,$v1,0xf +/* f01c4b4: 11e00019 */ beqz $t7,.PF0f01c51c +/* f01c4b8: ac201728 */ sw $zero,0x1728($at) +/* f01c4bc: 3c01bf80 */ lui $at,0xbf80 +/* f01c4c0: 44818000 */ mtc1 $at,$f16 +/* f01c4c4: 3c048009 */ lui $a0,0x8009 +/* f01c4c8: 2418ffff */ li $t8,-1 +/* f01c4cc: 2419ffff */ li $t9,-1 +/* f01c4d0: 240dffff */ li $t5,-1 +/* f01c4d4: afad001c */ sw $t5,0x1c($sp) +/* f01c4d8: afb90018 */ sw $t9,0x18($sp) +/* f01c4dc: afb80010 */ sw $t8,0x10($sp) +/* f01c4e0: 8c845750 */ lw $a0,0x5750($a0) +/* f01c4e4: 24058098 */ li $a1,-32616 +/* f01c4e8: 00003025 */ move $a2,$zero +/* f01c4ec: 2407ffff */ li $a3,-1 +/* f01c4f0: 0c0041a0 */ jal 0x10680 +/* f01c4f4: e7b00014 */ swc1 $f16,0x14($sp) +/* f01c4f8: 3c0e8009 */ lui $t6,0x8009 +/* f01c4fc: 91ce1040 */ lbu $t6,0x1040($t6) +/* f01c500: 24040003 */ li $a0,0x3 +/* f01c504: 16ce0003 */ bne $s6,$t6,.PF0f01c514 +/* f01c508: 00000000 */ nop +/* f01c50c: 10000001 */ b .PF0f01c514 +/* f01c510: 2404000b */ li $a0,0xb +.PF0f01c514: +/* f01c514: 0fc2ed1b */ jal 0xf0bb46c +/* f01c518: 00000000 */ nop +.PF0f01c51c: +/* f01c51c: 3c018008 */ lui $at,0x8008 +/* f01c520: 10000005 */ b .PF0f01c538 +/* f01c524: ac2077b0 */ sw $zero,0x77b0($at) +.PF0f01c528: +/* f01c528: 0c002779 */ jal 0x9de4 +/* f01c52c: 02c02025 */ move $a0,$s6 +/* f01c530: 3c018007 */ lui $at,0x8007 +/* f01c534: ac200a30 */ sw $zero,0xa30($at) +.PF0f01c538: +/* f01c538: 3c0f8006 */ lui $t7,0x8006 +/* f01c53c: 91ef2610 */ lbu $t7,0x2610($t7) +/* f01c540: 3c148007 */ lui $s4,0x8007 +/* f01c544: 269417b8 */ addiu $s4,$s4,0x17b8 +/* f01c548: 55e0001b */ bnezl $t7,.PF0f01c5b8 +/* f01c54c: 8eb80000 */ lw $t8,0x0($s5) +/* f01c550: 8e7804b4 */ lw $t8,0x4b4($s3) +/* f01c554: 24010026 */ li $at,0x26 +/* f01c558: 17010016 */ bne $t8,$at,.PF0f01c5b4 +/* f01c55c: 3c018007 */ lui $at,0x8007 +/* f01c560: ac200a30 */ sw $zero,0xa30($at) +/* f01c564: 8e79000c */ lw $t9,0xc($s3) +/* f01c568: 2b21001f */ slti $at,$t9,0x1f +/* f01c56c: 54200012 */ bnezl $at,.PF0f01c5b8 +/* f01c570: 8eb80000 */ lw $t8,0x0($s5) +/* f01c574: 8e6d02ac */ lw $t5,0x2ac($s3) +/* f01c578: 24010006 */ li $at,0x6 +/* f01c57c: 3c02800a */ lui $v0,0x800a +/* f01c580: 11a1000c */ beq $t5,$at,.PF0f01c5b4 +/* f01c584: 2442e5a0 */ addiu $v0,$v0,-6752 +/* f01c588: 8e6e0284 */ lw $t6,0x284($s3) +/* f01c58c: a040083c */ sb $zero,0x83c($v0) +/* f01c590: a04016ac */ sb $zero,0x16ac($v0) +/* f01c594: a040251c */ sb $zero,0x251c($v0) +/* f01c598: a040338c */ sb $zero,0x338c($v0) +/* f01c59c: 24040006 */ li $a0,0x6 +/* f01c5a0: 0fc2ed1b */ jal 0xf0bb46c +/* f01c5a4: adc01a24 */ sw $zero,0x1a24($t6) +/* f01c5a8: 240f0001 */ li $t7,0x1 +/* f01c5ac: 3c018006 */ lui $at,0x8006 +/* f01c5b0: a02f2610 */ sb $t7,0x2610($at) +.PF0f01c5b4: +/* f01c5b4: 8eb80000 */ lw $t8,0x0($s5) +.PF0f01c5b8: +/* f01c5b8: ae600498 */ sw $zero,0x498($s3) +/* f01c5bc: 1b00018e */ blez $t8,.PF0f01cbf8 +/* f01c5c0: 24190001 */ li $t9,0x1 +/* f01c5c4: 3c018006 */ lui $at,0x8006 +/* f01c5c8: a039261c */ sb $t9,0x261c($at) +/* f01c5cc: 8ea30004 */ lw $v1,0x4($s5) +/* f01c5d0: 24010003 */ li $at,0x3 +/* f01c5d4: 00008825 */ move $s1,$zero +/* f01c5d8: 10610003 */ beq $v1,$at,.PF0f01c5e8 +/* f01c5dc: 2401000b */ li $at,0xb +/* f01c5e0: 14610023 */ bne $v1,$at,.PF0f01c670 +/* f01c5e4: 00000000 */ nop +.PF0f01c5e8: +/* f01c5e8: 8ea50008 */ lw $a1,0x8($s5) +/* f01c5ec: 2406ffff */ li $a2,-1 +/* f01c5f0: ae800000 */ sw $zero,0x0($s4) +/* f01c5f4: 14c50006 */ bne $a2,$a1,.PF0f01c610 +/* f01c5f8: 3c03800a */ lui $v1,0x800a +/* f01c5fc: 3c04800b */ lui $a0,0x800b +/* f01c600: 2484d128 */ addiu $a0,$a0,-11992 +/* f01c604: 948d0016 */ lhu $t5,0x16($a0) +/* f01c608: 31aefff0 */ andi $t6,$t5,0xfff0 +/* f01c60c: a48e0016 */ sh $t6,0x16($a0) +.PF0f01c610: +/* f01c610: 3c04800b */ lui $a0,0x800b +/* f01c614: 2484d128 */ addiu $a0,$a0,-11992 +/* f01c618: 2463e5a0 */ addiu $v1,$v1,-6752 +.PF0f01c61c: +/* f01c61c: 8c6f04f8 */ lw $t7,0x4f8($v1) +/* f01c620: 24010004 */ li $at,0x4 +/* f01c624: 51e0000c */ beqzl $t7,.PF0f01c658 +/* f01c628: 26310001 */ addiu $s1,$s1,0x1 +/* f01c62c: 8e820000 */ lw $v0,0x0($s4) +/* f01c630: 24580001 */ addiu $t8,$v0,0x1 +/* f01c634: ae980000 */ sw $t8,0x0($s4) +/* f01c638: 14c50006 */ bne $a2,$a1,.PF0f01c654 +/* f01c63c: a062083b */ sb $v0,0x83b($v1) +/* f01c640: 94990016 */ lhu $t9,0x16($a0) +/* f01c644: 240d0001 */ li $t5,0x1 +/* f01c648: 022d7004 */ sllv $t6,$t5,$s1 +/* f01c64c: 032e7825 */ or $t7,$t9,$t6 +/* f01c650: a48f0016 */ sh $t7,0x16($a0) +.PF0f01c654: +/* f01c654: 26310001 */ addiu $s1,$s1,0x1 +.PF0f01c658: +/* f01c658: 1621fff0 */ bne $s1,$at,.PF0f01c61c +/* f01c65c: 24630e70 */ addiu $v1,$v1,0xe70 +/* f01c660: 0fc6342e */ jal 0xf18d0b8 +/* f01c664: 00000000 */ nop +/* f01c668: 0fc67190 */ jal 0xf19c640 +/* f01c66c: 00000000 */ nop +.PF0f01c670: +/* f01c670: 3c068007 */ lui $a2,0x8007 +/* f01c674: 3c05800a */ lui $a1,0x800a +/* f01c678: 3c038008 */ lui $v1,0x8008 +/* f01c67c: 24635d08 */ addiu $v1,$v1,0x5d08 +/* f01c680: 24a5e5a0 */ addiu $a1,$a1,-6752 +/* f01c684: 24c61728 */ addiu $a2,$a2,0x1728 +/* f01c688: 00008825 */ move $s1,$zero +/* f01c68c: 24040e70 */ li $a0,0xe70 +.PF0f01c690: +/* f01c690: 02240019 */ multu $s1,$a0 +/* f01c694: acd10000 */ sw $s1,0x0($a2) +/* f01c698: 26310001 */ addiu $s1,$s1,0x1 +/* f01c69c: 2a210004 */ slti $at,$s1,0x4 +/* f01c6a0: 00006812 */ mflo $t5 +/* f01c6a4: 00adc821 */ addu $t9,$a1,$t5 +/* f01c6a8: 8f2204f8 */ lw $v0,0x4f8($t9) +/* f01c6ac: 10400007 */ beqz $v0,.PF0f01c6cc +/* f01c6b0: 00000000 */ nop +/* f01c6b4: 8c4e0000 */ lw $t6,0x0($v0) +/* f01c6b8: 546e0004 */ bnel $v1,$t6,.PF0f01c6cc +/* f01c6bc: afa00154 */ sw $zero,0x154($sp) +/* f01c6c0: 10000002 */ b .PF0f01c6cc +/* f01c6c4: ae760498 */ sw $s6,0x498($s3) +/* f01c6c8: afa00154 */ sw $zero,0x154($sp) +.PF0f01c6cc: +/* f01c6cc: 1420fff0 */ bnez $at,.PF0f01c690 +/* f01c6d0: 00000000 */ nop +/* f01c6d4: 3c12800a */ lui $s2,0x800a +/* f01c6d8: 2652a514 */ addiu $s2,$s2,-23276 +/* f01c6dc: 00008825 */ move $s1,$zero +.PF0f01c6e0: +/* f01c6e0: 0011c0c0 */ sll $t8,$s1,0x3 +/* f01c6e4: 0311c023 */ subu $t8,$t8,$s1 +/* f01c6e8: 0018c080 */ sll $t8,$t8,0x2 +/* f01c6ec: 0311c021 */ addu $t8,$t8,$s1 +/* f01c6f0: 0018c0c0 */ sll $t8,$t8,0x3 +/* f01c6f4: 0311c023 */ subu $t8,$t8,$s1 +/* f01c6f8: 3c0d800a */ lui $t5,0x800a +/* f01c6fc: 25ade5a0 */ addiu $t5,$t5,-6752 +/* f01c700: 0018c100 */ sll $t8,$t8,0x4 +/* f01c704: 030d1821 */ addu $v1,$t8,$t5 +/* f01c708: 8c7904f8 */ lw $t9,0x4f8($v1) +/* f01c70c: 3c068007 */ lui $a2,0x8007 +/* f01c710: 24c61728 */ addiu $a2,$a2,0x1728 +/* f01c714: 13200025 */ beqz $t9,.PF0f01c7ac +/* f01c718: acd10000 */ sw $s1,0x0($a2) +/* f01c71c: 8e6e006c */ lw $t6,0x6c($s3) +/* f01c720: 8e70028c */ lw $s0,0x28c($s3) +/* f01c724: 8e680068 */ lw $t0,0x68($s3) +/* f01c728: 8e690064 */ lw $t1,0x64($s3) +/* f01c72c: 11c00003 */ beqz $t6,.PF0f01c73c +/* f01c730: 8e6b0070 */ lw $t3,0x70($s3) +/* f01c734: 10000002 */ b .PF0f01c740 +/* f01c738: 02c03825 */ move $a3,$s6 +.PF0f01c73c: +/* f01c73c: 00003825 */ move $a3,$zero +.PF0f01c740: +/* f01c740: 11000003 */ beqz $t0,.PF0f01c750 +/* f01c744: 00003025 */ move $a2,$zero +/* f01c748: 10000001 */ b .PF0f01c750 +/* f01c74c: 02c03025 */ move $a2,$s6 +.PF0f01c750: +/* f01c750: 11200003 */ beqz $t1,.PF0f01c760 +/* f01c754: 00002825 */ move $a1,$zero +/* f01c758: 10000001 */ b .PF0f01c760 +/* f01c75c: 02c02825 */ move $a1,$s6 +.PF0f01c760: +/* f01c760: 11600003 */ beqz $t3,.PF0f01c770 +/* f01c764: 00002025 */ move $a0,$zero +/* f01c768: 10000001 */ b .PF0f01c770 +/* f01c76c: 02c02025 */ move $a0,$s6 +.PF0f01c770: +/* f01c770: 9062083b */ lbu $v0,0x83b($v1) +/* f01c774: 00857821 */ addu $t7,$a0,$a1 +/* f01c778: 01e6c021 */ addu $t8,$t7,$a2 +/* f01c77c: 03076821 */ addu $t5,$t8,$a3 +/* f01c780: 004d082a */ slt $at,$v0,$t5 +/* f01c784: 10200003 */ beqz $at,.PF0f01c794 +/* f01c788: afa20054 */ sw $v0,0x54($sp) +/* f01c78c: 0fc4a4ff */ jal 0xf1293fc +/* f01c790: 00402025 */ move $a0,$v0 +.PF0f01c794: +/* f01c794: 0fc3eb90 */ jal 0xf0fae40 +/* f01c798: 00000000 */ nop +/* f01c79c: 0fc4a4ff */ jal 0xf1293fc +/* f01c7a0: 02002025 */ move $a0,$s0 +/* f01c7a4: 10000104 */ b .PF0f01cbb8 +/* f01c7a8: 26310001 */ addiu $s1,$s1,0x1 +.PF0f01c7ac: +/* f01c7ac: 8ea30004 */ lw $v1,0x4($s5) +/* f01c7b0: 24010003 */ li $at,0x3 +/* f01c7b4: 00112600 */ sll $a0,$s1,0x18 +/* f01c7b8: 10610004 */ beq $v1,$at,.PF0f01c7cc +/* f01c7bc: 0004ce03 */ sra $t9,$a0,0x18 +/* f01c7c0: 2401000b */ li $at,0xb +/* f01c7c4: 14610092 */ bne $v1,$at,.PF0f01ca10 +/* f01c7c8: 02717821 */ addu $t7,$s3,$s1 +.PF0f01c7cc: +/* f01c7cc: 03202025 */ move $a0,$t9 +/* f01c7d0: 0c00536a */ jal 0x14da8 +/* f01c7d4: 3405ffff */ li $a1,0xffff +/* f01c7d8: 8eae0004 */ lw $t6,0x4($s5) +/* f01c7dc: 2401000b */ li $at,0xb +/* f01c7e0: 3050ffff */ andi $s0,$v0,0xffff +/* f01c7e4: 15c10014 */ bne $t6,$at,.PF0f01c838 +/* f01c7e8: 3c19800b */ lui $t9,0x800b +/* f01c7ec: 8e6f0490 */ lw $t7,0x490($s3) +/* f01c7f0: 24010002 */ li $at,0x2 +/* f01c7f4: 02c02025 */ move $a0,$s6 +/* f01c7f8: 15e1000b */ bne $t7,$at,.PF0f01c828 +/* f01c7fc: 3c03800a */ lui $v1,0x800a +/* f01c800: 2463a510 */ addiu $v1,$v1,-23280 +/* f01c804: 80780494 */ lb $t8,0x494($v1) +.PF0f01c808: +/* f01c808: 24630001 */ addiu $v1,$v1,0x1 +/* f01c80c: 13000002 */ beqz $t8,.PF0f01c818 +/* f01c810: 00000000 */ nop +/* f01c814: 00002025 */ move $a0,$zero +.PF0f01c818: +/* f01c818: 5472fffb */ bnel $v1,$s2,.PF0f01c808 +/* f01c81c: 80780494 */ lb $t8,0x494($v1) +/* f01c820: 10000006 */ b .PF0f01c83c +/* f01c824: 00000000 */ nop +.PF0f01c828: +/* f01c828: 8e840000 */ lw $a0,0x0($s4) +/* f01c82c: 2c8d0002 */ sltiu $t5,$a0,0x2 +/* f01c830: 10000002 */ b .PF0f01c83c +/* f01c834: 01a02025 */ move $a0,$t5 +.PF0f01c838: +/* f01c838: 02c02025 */ move $a0,$s6 +.PF0f01c83c: +/* f01c83c: 9339d1b0 */ lbu $t9,-0x2e50($t9) +/* f01c840: 24010005 */ li $at,0x5 +/* f01c844: 00117080 */ sll $t6,$s1,0x2 +/* f01c848: 17210005 */ bne $t9,$at,.PF0f01c860 +/* f01c84c: 01d17021 */ addu $t6,$t6,$s1 +/* f01c850: 000e7140 */ sll $t6,$t6,0x5 +/* f01c854: 3c01800b */ lui $at,0x800b +/* f01c858: 002e0821 */ addu $at,$at,$t6 +/* f01c85c: a020cd69 */ sb $zero,-0x3297($at) +.PF0f01c860: +/* f01c860: 1080003b */ beqz $a0,.PF0f01c950 +/* f01c864: 304f1000 */ andi $t7,$v0,0x1000 +/* f01c868: 11e00039 */ beqz $t7,.PF0f01c950 +/* f01c86c: 24180080 */ li $t8,0x80 +/* f01c870: 00116880 */ sll $t5,$s1,0x2 +/* f01c874: 01b16821 */ addu $t5,$t5,$s1 +/* f01c878: 000d6940 */ sll $t5,$t5,0x5 +/* f01c87c: 3c01800b */ lui $at,0x800b +/* f01c880: 002d0821 */ addu $at,$at,$t5 +/* f01c884: a038cdf5 */ sb $t8,-0x320b($at) +/* f01c888: 8e630490 */ lw $v1,0x490($s3) +/* f01c88c: 24010002 */ li $at,0x2 +/* f01c890: 02714021 */ addu $t0,$s3,$s1 +/* f01c894: 54610017 */ bnel $v1,$at,.PF0f01c8f4 +/* f01c898: 24010003 */ li $at,0x3 +/* f01c89c: 81190494 */ lb $t9,0x494($t0) +/* f01c8a0: 3c048009 */ lui $a0,0x8009 +/* f01c8a4: 2405809a */ li $a1,-32614 +/* f01c8a8: 1720000f */ bnez $t9,.PF0f01c8e8 +/* f01c8ac: 00003025 */ move $a2,$zero +/* f01c8b0: 3c01bf80 */ lui $at,0xbf80 +/* f01c8b4: 44819000 */ mtc1 $at,$f18 +/* f01c8b8: 240effff */ li $t6,-1 +/* f01c8bc: 240fffff */ li $t7,-1 +/* f01c8c0: 2418ffff */ li $t8,-1 +/* f01c8c4: afb8001c */ sw $t8,0x1c($sp) +/* f01c8c8: afaf0018 */ sw $t7,0x18($sp) +/* f01c8cc: afae0010 */ sw $t6,0x10($sp) +/* f01c8d0: 8c845750 */ lw $a0,0x5750($a0) +/* f01c8d4: 2407ffff */ li $a3,-1 +/* f01c8d8: afa80058 */ sw $t0,0x58($sp) +/* f01c8dc: 0c0041a0 */ jal 0x10680 +/* f01c8e0: e7b20014 */ swc1 $f18,0x14($sp) +/* f01c8e4: 8fa80058 */ lw $t0,0x58($sp) +.PF0f01c8e8: +/* f01c8e8: 10000019 */ b .PF0f01c950 +/* f01c8ec: a1160494 */ sb $s6,0x494($t0) +/* f01c8f0: 24010003 */ li $at,0x3 +.PF0f01c8f4: +/* f01c8f4: 14610012 */ bne $v1,$at,.PF0f01c940 +/* f01c8f8: 8e820000 */ lw $v0,0x0($s4) +/* f01c8fc: 244d0001 */ addiu $t5,$v0,0x1 +/* f01c900: ae8d0000 */ sw $t5,0x0($s4) +/* f01c904: 3c198009 */ lui $t9,0x8009 +/* f01c908: 93391040 */ lbu $t9,0x1040($t9) +/* f01c90c: 3c048008 */ lui $a0,0x8008 +/* f01c910: 2405000b */ li $a1,0xb +/* f01c914: 16d90006 */ bne $s6,$t9,.PF0f01c930 +/* f01c918: 24846a50 */ addiu $a0,$a0,0x6a50 +/* f01c91c: 3c048007 */ lui $a0,0x8007 +/* f01c920: 0fc3e29d */ jal 0xf0f8a74 +/* f01c924: 248455e4 */ addiu $a0,$a0,0x55e4 +/* f01c928: 1000000a */ b .PF0f01c954 +/* f01c92c: 320f1000 */ andi $t7,$s0,0x1000 +.PF0f01c930: +/* f01c930: 0fc3e29d */ jal 0xf0f8a74 +/* f01c934: 24050003 */ li $a1,0x3 +/* f01c938: 10000006 */ b .PF0f01c954 +/* f01c93c: 320f1000 */ andi $t7,$s0,0x1000 +.PF0f01c940: +/* f01c940: 244e0001 */ addiu $t6,$v0,0x1 +/* f01c944: ae8e0000 */ sw $t6,0x0($s4) +/* f01c948: 0fc6033c */ jal 0xf180cf0 +/* f01c94c: 00002025 */ move $a0,$zero +.PF0f01c950: +/* f01c950: 320f1000 */ andi $t7,$s0,0x1000 +.PF0f01c954: +/* f01c954: 15e0002c */ bnez $t7,.PF0f01ca08 +/* f01c958: 32184000 */ andi $t8,$s0,0x4000 +/* f01c95c: 13000008 */ beqz $t8,.PF0f01c980 +/* f01c960: 02714021 */ addu $t0,$s3,$s1 +/* f01c964: 8e6d0490 */ lw $t5,0x490($s3) +/* f01c968: 24010002 */ li $at,0x2 +/* f01c96c: 0271c821 */ addu $t9,$s3,$s1 +/* f01c970: 15a10025 */ bne $t5,$at,.PF0f01ca08 +/* f01c974: 00000000 */ nop +/* f01c978: 10000023 */ b .PF0f01ca08 +/* f01c97c: a3200494 */ sb $zero,0x494($t9) +.PF0f01c980: +/* f01c980: 810e0494 */ lb $t6,0x494($t0) +/* f01c984: 11c00020 */ beqz $t6,.PF0f01ca08 +/* f01c988: 00000000 */ nop +/* f01c98c: 8e630490 */ lw $v1,0x490($s3) +/* f01c990: 24010003 */ li $at,0x3 +/* f01c994: 14610014 */ bne $v1,$at,.PF0f01c9e8 +/* f01c998: 00000000 */ nop +/* f01c99c: 8e8f0000 */ lw $t7,0x0($s4) +/* f01c9a0: a1000494 */ sb $zero,0x494($t0) +/* f01c9a4: 3c0d8009 */ lui $t5,0x8009 +/* f01c9a8: 25f80001 */ addiu $t8,$t7,0x1 +/* f01c9ac: ae980000 */ sw $t8,0x0($s4) +/* f01c9b0: 91ad1040 */ lbu $t5,0x1040($t5) +/* f01c9b4: 3c048008 */ lui $a0,0x8008 +/* f01c9b8: 2405000b */ li $a1,0xb +/* f01c9bc: 16cd0006 */ bne $s6,$t5,.PF0f01c9d8 +/* f01c9c0: 24846a50 */ addiu $a0,$a0,0x6a50 +/* f01c9c4: 3c048007 */ lui $a0,0x8007 +/* f01c9c8: 0fc3e29d */ jal 0xf0f8a74 +/* f01c9cc: 248455e4 */ addiu $a0,$a0,0x55e4 +/* f01c9d0: 1000000d */ b .PF0f01ca08 +/* f01c9d4: 00000000 */ nop +.PF0f01c9d8: +/* f01c9d8: 0fc3e29d */ jal 0xf0f8a74 +/* f01c9dc: 24050003 */ li $a1,0x3 +/* f01c9e0: 10000009 */ b .PF0f01ca08 +/* f01c9e4: 00000000 */ nop +.PF0f01c9e8: +/* f01c9e8: 16c30007 */ bne $s6,$v1,.PF0f01ca08 +/* f01c9ec: 00000000 */ nop +/* f01c9f0: 8e990000 */ lw $t9,0x0($s4) +/* f01c9f4: a1000494 */ sb $zero,0x494($t0) +/* f01c9f8: 00002025 */ move $a0,$zero +/* f01c9fc: 272e0001 */ addiu $t6,$t9,0x1 +/* f01ca00: 0fc6033c */ jal 0xf180cf0 +/* f01ca04: ae8e0000 */ sw $t6,0x0($s4) +.PF0f01ca08: +/* f01ca08: 10000003 */ b .PF0f01ca18 +/* f01ca0c: 8ea30004 */ lw $v1,0x4($s5) +.PF0f01ca10: +/* f01ca10: ae600490 */ sw $zero,0x490($s3) +/* f01ca14: a1e00494 */ sb $zero,0x494($t7) +.PF0f01ca18: +/* f01ca18: 24010005 */ li $at,0x5 +/* f01ca1c: 14610065 */ bne $v1,$at,.PF0f01cbb4 +/* f01ca20: 0011c080 */ sll $t8,$s1,0x2 +/* f01ca24: 0311c021 */ addu $t8,$t8,$s1 +/* f01ca28: 0018c140 */ sll $t8,$t8,0x5 +/* f01ca2c: 3c04800b */ lui $a0,0x800b +/* f01ca30: 00982021 */ addu $a0,$a0,$t8 +/* f01ca34: 8084cd9d */ lb $a0,-0x3263($a0) +/* f01ca38: 0c00536a */ jal 0x14da8 +/* f01ca3c: 3405ffff */ li $a1,0xffff +/* f01ca40: 304d4000 */ andi $t5,$v0,0x4000 +/* f01ca44: 51a0005c */ beqzl $t5,.PF0f01cbb8 +/* f01ca48: 26310001 */ addiu $s1,$s1,0x1 +/* f01ca4c: 8e6a006c */ lw $t2,0x6c($s3) +/* f01ca50: 2410ffff */ li $s0,-1 +/* f01ca54: 00001825 */ move $v1,$zero +/* f01ca58: 11400003 */ beqz $t2,.PF0f01ca68 +/* f01ca5c: 00003825 */ move $a3,$zero +/* f01ca60: 10000001 */ b .PF0f01ca68 +/* f01ca64: 02c03825 */ move $a3,$s6 +.PF0f01ca68: +/* f01ca68: 8e680068 */ lw $t0,0x68($s3) +/* f01ca6c: 00003025 */ move $a2,$zero +/* f01ca70: 00002825 */ move $a1,$zero +/* f01ca74: 11000003 */ beqz $t0,.PF0f01ca84 +/* f01ca78: 00002025 */ move $a0,$zero +/* f01ca7c: 10000001 */ b .PF0f01ca84 +/* f01ca80: 02c03025 */ move $a2,$s6 +.PF0f01ca84: +/* f01ca84: 8e690064 */ lw $t1,0x64($s3) +/* f01ca88: 0003c1c0 */ sll $t8,$v1,0x7 +/* f01ca8c: 02781021 */ addu $v0,$s3,$t8 +/* f01ca90: 11200003 */ beqz $t1,.PF0f01caa0 +/* f01ca94: 00000000 */ nop +/* f01ca98: 10000001 */ b .PF0f01caa0 +/* f01ca9c: 02c02825 */ move $a1,$s6 +.PF0f01caa0: +/* f01caa0: 8e6b0070 */ lw $t3,0x70($s3) +/* f01caa4: 11600003 */ beqz $t3,.PF0f01cab4 +/* f01caa8: 00000000 */ nop +/* f01caac: 10000001 */ b .PF0f01cab4 +/* f01cab0: 02c02025 */ move $a0,$s6 +.PF0f01cab4: +/* f01cab4: 0085c821 */ addu $t9,$a0,$a1 +/* f01cab8: 03267021 */ addu $t6,$t9,$a2 +/* f01cabc: 01c77821 */ addu $t7,$t6,$a3 +/* f01cac0: 19e0001d */ blez $t7,.PF0f01cb38 +/* f01cac4: 00000000 */ nop +/* f01cac8: 8c4d00e4 */ lw $t5,0xe4($v0) +.PF0f01cacc: +/* f01cacc: 24420080 */ addiu $v0,$v0,0x80 +/* f01cad0: 00003825 */ move $a3,$zero +/* f01cad4: 162d0002 */ bne $s1,$t5,.PF0f01cae0 +/* f01cad8: 00003025 */ move $a2,$zero +/* f01cadc: 00608025 */ move $s0,$v1 +.PF0f01cae0: +/* f01cae0: 11400003 */ beqz $t2,.PF0f01caf0 +/* f01cae4: 24630001 */ addiu $v1,$v1,0x1 +/* f01cae8: 10000001 */ b .PF0f01caf0 +/* f01caec: 02c03825 */ move $a3,$s6 +.PF0f01caf0: +/* f01caf0: 11000003 */ beqz $t0,.PF0f01cb00 +/* f01caf4: 00002825 */ move $a1,$zero +/* f01caf8: 10000001 */ b .PF0f01cb00 +/* f01cafc: 02c03025 */ move $a2,$s6 +.PF0f01cb00: +/* f01cb00: 11200003 */ beqz $t1,.PF0f01cb10 +/* f01cb04: 00002025 */ move $a0,$zero +/* f01cb08: 10000001 */ b .PF0f01cb10 +/* f01cb0c: 02c02825 */ move $a1,$s6 +.PF0f01cb10: +/* f01cb10: 11600003 */ beqz $t3,.PF0f01cb20 +/* f01cb14: 00000000 */ nop +/* f01cb18: 10000001 */ b .PF0f01cb20 +/* f01cb1c: 02c02025 */ move $a0,$s6 +.PF0f01cb20: +/* f01cb20: 0085c821 */ addu $t9,$a0,$a1 +/* f01cb24: 03267021 */ addu $t6,$t9,$a2 +/* f01cb28: 01c77821 */ addu $t7,$t6,$a3 +/* f01cb2c: 006f082a */ slt $at,$v1,$t7 +/* f01cb30: 5420ffe6 */ bnezl $at,.PF0f01cacc +/* f01cb34: 8c4d00e4 */ lw $t5,0xe4($v0) +.PF0f01cb38: +/* f01cb38: 0602001f */ bltzl $s0,.PF0f01cbb8 +/* f01cb3c: 26310001 */ addiu $s1,$s1,0x1 +/* f01cb40: 8e780298 */ lw $t8,0x298($s3) +/* f01cb44: 0702000c */ bltzl $t8,.PF0f01cb78 +/* f01cb48: 8e79029c */ lw $t9,0x29c($s3) +/* f01cb4c: 8e6d028c */ lw $t5,0x28c($s3) +/* f01cb50: 02002025 */ move $a0,$s0 +/* f01cb54: 0fc4a4ff */ jal 0xf1293fc +/* f01cb58: afad0128 */ sw $t5,0x128($sp) +/* f01cb5c: 0fc43d91 */ jal 0xf10f644 +/* f01cb60: 00000000 */ nop +/* f01cb64: 0fc4a4ff */ jal 0xf1293fc +/* f01cb68: 8fa40128 */ lw $a0,0x128($sp) +/* f01cb6c: 10000012 */ b .PF0f01cbb8 +/* f01cb70: 26310001 */ addiu $s1,$s1,0x1 +/* f01cb74: 8e79029c */ lw $t9,0x29c($s3) +.PF0f01cb78: +/* f01cb78: 02002025 */ move $a0,$s0 +/* f01cb7c: 0720000b */ bltz $t9,.PF0f01cbac +/* f01cb80: 00000000 */ nop +/* f01cb84: 8e6e028c */ lw $t6,0x28c($s3) +/* f01cb88: 02002025 */ move $a0,$s0 +/* f01cb8c: 0fc4a4ff */ jal 0xf1293fc +/* f01cb90: afae0124 */ sw $t6,0x124($sp) +/* f01cb94: 0fc43e28 */ jal 0xf10f8a0 +/* f01cb98: 00000000 */ nop +/* f01cb9c: 0fc4a4ff */ jal 0xf1293fc +/* f01cba0: 8fa40124 */ lw $a0,0x124($sp) +/* f01cba4: 10000004 */ b .PF0f01cbb8 +/* f01cba8: 26310001 */ addiu $s1,$s1,0x1 +.PF0f01cbac: +/* f01cbac: 0fc5e7cd */ jal 0xf179f34 +/* f01cbb0: 02202825 */ move $a1,$s1 +.PF0f01cbb4: +/* f01cbb4: 26310001 */ addiu $s1,$s1,0x1 +.PF0f01cbb8: +/* f01cbb8: 24010004 */ li $at,0x4 +/* f01cbbc: 1621fec8 */ bne $s1,$at,.PF0f01c6e0 +/* f01cbc0: 8faf0154 */ lw $t7,0x154($sp) +/* f01cbc4: 11e0000e */ beqz $t7,.PF0f01cc00 +/* f01cbc8: 00000000 */ nop +/* f01cbcc: 8ea30004 */ lw $v1,0x4($s5) +/* f01cbd0: 24010003 */ li $at,0x3 +/* f01cbd4: 00002025 */ move $a0,$zero +/* f01cbd8: 10610003 */ beq $v1,$at,.PF0f01cbe8 +/* f01cbdc: 2401000b */ li $at,0xb +/* f01cbe0: 14610007 */ bne $v1,$at,.PF0f01cc00 +/* f01cbe4: 00000000 */ nop +.PF0f01cbe8: +/* f01cbe8: 0fc3e254 */ jal 0xf0f8950 +/* f01cbec: 2405fffb */ li $a1,-5 +/* f01cbf0: 10000003 */ b .PF0f01cc00 +/* f01cbf4: 00000000 */ nop +.PF0f01cbf8: +/* f01cbf8: 3c018006 */ lui $at,0x8006 +/* f01cbfc: a020261c */ sb $zero,0x261c($at) +.PF0f01cc00: +/* f01cc00: 3c188006 */ lui $t8,0x8006 +/* f01cc04: 9318261c */ lbu $t8,0x261c($t8) +/* f01cc08: 1300001b */ beqz $t8,.PF0f01cc78 +/* f01cc0c: 3c028006 */ lui $v0,0x8006 +/* f01cc10: 24422618 */ addiu $v0,$v0,0x2618 +/* f01cc14: 904d0000 */ lbu $t5,0x0($v0) +/* f01cc18: 15a0000f */ bnez $t5,.PF0f01cc58 +/* f01cc1c: 00000000 */ nop +/* f01cc20: 8ea30004 */ lw $v1,0x4($s5) +/* f01cc24: 24010003 */ li $at,0x3 +/* f01cc28: 24190001 */ li $t9,0x1 +/* f01cc2c: 10610004 */ beq $v1,$at,.PF0f01cc40 +/* f01cc30: 00002025 */ move $a0,$zero +/* f01cc34: 2401000b */ li $at,0xb +/* f01cc38: 14610007 */ bne $v1,$at,.PF0f01cc58 +/* f01cc3c: 00000000 */ nop +.PF0f01cc40: +/* f01cc40: a0590000 */ sb $t9,0x0($v0) +/* f01cc44: 0fc445cf */ jal 0xf11173c +/* f01cc48: 24050002 */ li $a1,0x2 +/* f01cc4c: 02c02025 */ move $a0,$s6 +/* f01cc50: 0fc445cf */ jal 0xf11173c +/* f01cc54: 24050001 */ li $a1,0x1 +.PF0f01cc58: +/* f01cc58: 3c0e8006 */ lui $t6,0x8006 +/* f01cc5c: 91ce2614 */ lbu $t6,0x2614($t6) +/* f01cc60: 11c0000b */ beqz $t6,.PF0f01cc90 +/* f01cc64: 00000000 */ nop +/* f01cc68: 0fc44622 */ jal 0xf111888 +/* f01cc6c: 00000000 */ nop +/* f01cc70: 10000007 */ b .PF0f01cc90 +/* f01cc74: 00000000 */ nop +.PF0f01cc78: +/* f01cc78: 3c0f8006 */ lui $t7,0x8006 +/* f01cc7c: 91ef2614 */ lbu $t7,0x2614($t7) +/* f01cc80: 16cf0003 */ bne $s6,$t7,.PF0f01cc90 +/* f01cc84: 00000000 */ nop +/* f01cc88: 0fc06fe4 */ jal 0xf01bf90 +/* f01cc8c: 00000000 */ nop +.PF0f01cc90: +/* f01cc90: 3c018007 */ lui $at,0x8007 +/* f01cc94: 3c03800a */ lui $v1,0x800a +/* f01cc98: 3c02800a */ lui $v0,0x800a +/* f01cc9c: ac201728 */ sw $zero,0x1728($at) +/* f01cca0: 00002025 */ move $a0,$zero +/* f01cca4: 24421f60 */ addiu $v0,$v0,0x1f60 +/* f01cca8: 2463e5a0 */ addiu $v1,$v1,-6752 +/* f01ccac: 8c7804f8 */ lw $t8,0x4f8($v1) +.PF0f01ccb0: +/* f01ccb0: 24630e70 */ addiu $v1,$v1,0xe70 +/* f01ccb4: 0062082b */ sltu $at,$v1,$v0 +/* f01ccb8: 13000002 */ beqz $t8,.PF0f01ccc4 +/* f01ccbc: 00000000 */ nop +/* f01ccc0: 02c02025 */ move $a0,$s6 +.PF0f01ccc4: +/* f01ccc4: 5420fffa */ bnezl $at,.PF0f01ccb0 +/* f01ccc8: 8c7804f8 */ lw $t8,0x4f8($v1) +/* f01cccc: 8ead05d4 */ lw $t5,0x5d4($s5) +/* f01ccd0: 000d7340 */ sll $t6,$t5,0xd +/* f01ccd4: 05c00006 */ bltz $t6,.PF0f01ccf0 +/* f01ccd8: 00000000 */ nop +/* f01ccdc: 8eaf0008 */ lw $t7,0x8($s5) +/* f01cce0: 2401ffff */ li $at,-1 +/* f01cce4: afa40158 */ sw $a0,0x158($sp) +/* f01cce8: 11e101df */ beq $t7,$at,.PF0f01d468 +/* f01ccec: 00000000 */ nop +.PF0f01ccf0: +/* f01ccf0: 148001dd */ bnez $a0,.PF0f01d468 +/* f01ccf4: afa40158 */ sw $a0,0x158($sp) +/* f01ccf8: 8ea30004 */ lw $v1,0x4($s5) +/* f01ccfc: 24020003 */ li $v0,0x3 +/* f01cd00: 8ea50008 */ lw $a1,0x8($s5) +/* f01cd04: 10430002 */ beq $v0,$v1,.PF0f01cd10 +/* f01cd08: 2401000b */ li $at,0xb +/* f01cd0c: 14610022 */ bne $v1,$at,.PF0f01cd98 +.PF0f01cd10: +/* f01cd10: 2401ffff */ li $at,-1 +/* f01cd14: 54a10021 */ bnel $a1,$at,.PF0f01cd9c +/* f01cd18: 2401ffff */ li $at,-1 +/* f01cd1c: 8e780490 */ lw $t8,0x490($s3) +/* f01cd20: 24010002 */ li $at,0x2 +/* f01cd24: 240d0002 */ li $t5,0x2 +/* f01cd28: 1701000d */ bne $t8,$at,.PF0f01cd60 +/* f01cd2c: 3c198009 */ lui $t9,0x8009 +/* f01cd30: aead0008 */ sw $t5,0x8($s5) +/* f01cd34: 93391040 */ lbu $t9,0x1040($t9) +/* f01cd38: 3c0f8007 */ lui $t7,0x8007 +/* f01cd3c: 25ef3e40 */ addiu $t7,$t7,0x3e40 +/* f01cd40: 16d90004 */ bne $s6,$t9,.PF0f01cd54 +/* f01cd44: 3c0e8007 */ lui $t6,0x8007 +/* f01cd48: 25ce3e58 */ addiu $t6,$t6,0x3e58 +/* f01cd4c: 10000002 */ b .PF0f01cd58 +/* f01cd50: aeae000c */ sw $t6,0xc($s5) +.PF0f01cd54: +/* f01cd54: aeaf000c */ sw $t7,0xc($s5) +.PF0f01cd58: +/* f01cd58: 1000000f */ b .PF0f01cd98 +/* f01cd5c: 8ea50008 */ lw $a1,0x8($s5) +.PF0f01cd60: +/* f01cd60: 3c188009 */ lui $t8,0x8009 +/* f01cd64: 93181040 */ lbu $t8,0x1040($t8) +/* f01cd68: 3c0e8008 */ lui $t6,0x8008 +/* f01cd6c: 25ce6cf0 */ addiu $t6,$t6,0x6cf0 +/* f01cd70: 16d80007 */ bne $s6,$t8,.PF0f01cd90 +/* f01cd74: 00402825 */ move $a1,$v0 +/* f01cd78: 3c198007 */ lui $t9,0x8007 +/* f01cd7c: 2405000b */ li $a1,0xb +/* f01cd80: 27395758 */ addiu $t9,$t9,0x5758 +/* f01cd84: aea50008 */ sw $a1,0x8($s5) +/* f01cd88: 10000003 */ b .PF0f01cd98 +/* f01cd8c: aeb9000c */ sw $t9,0xc($s5) +.PF0f01cd90: +/* f01cd90: aea20008 */ sw $v0,0x8($s5) +/* f01cd94: aeae000c */ sw $t6,0xc($s5) +.PF0f01cd98: +/* f01cd98: 2401ffff */ li $at,-1 +.PF0f01cd9c: +/* f01cd9c: 10a100d7 */ beq $a1,$at,.PF0f01d0fc +/* f01cda0: 2401fffb */ li $at,-5 +/* f01cda4: 54a10011 */ bnel $a1,$at,.PF0f01cdec +/* f01cda8: 2401fffa */ li $at,-6 +/* f01cdac: 0fc621fd */ jal 0xf1887f4 +/* f01cdb0: afa40158 */ sw $a0,0x158($sp) +/* f01cdb4: 0fc06fe4 */ jal 0xf01bf90 +/* f01cdb8: 00000000 */ nop +/* f01cdbc: 8e6f0458 */ lw $t7,0x458($s3) +/* f01cdc0: 31f80002 */ andi $t8,$t7,0x2 +/* f01cdc4: 530000ca */ beqzl $t8,.PF0f01d0f0 +/* f01cdc8: 240fffff */ li $t7,-1 +/* f01cdcc: 0fc44527 */ jal 0xf11149c +/* f01cdd0: 00000000 */ nop +/* f01cdd4: 8e6d0458 */ lw $t5,0x458($s3) +/* f01cdd8: 2401fffd */ li $at,-3 +/* f01cddc: 01a1c824 */ and $t9,$t5,$at +/* f01cde0: 100000c2 */ b .PF0f01d0ec +/* f01cde4: ae790458 */ sw $t9,0x458($s3) +/* f01cde8: 2401fffa */ li $at,-6 +.PF0f01cdec: +/* f01cdec: 54a10065 */ bnel $a1,$at,.PF0f01cf84 +/* f01cdf0: 2401fff9 */ li $at,-7 +/* f01cdf4: 8e6e0318 */ lw $t6,0x318($s3) +/* f01cdf8: afa00120 */ sw $zero,0x120($sp) +/* f01cdfc: afa40158 */ sw $a0,0x158($sp) +/* f01ce00: 11c00003 */ beqz $t6,.PF0f01ce10 +/* f01ce04: 00000000 */ nop +/* f01ce08: 0fc3f732 */ jal 0xf0fdcc8 +/* f01ce0c: 24040004 */ li $a0,0x4 +.PF0f01ce10: +/* f01ce10: 3c12800a */ lui $s2,0x800a +/* f01ce14: 2652e588 */ addiu $s2,$s2,-6776 +/* f01ce18: 00008825 */ move $s1,$zero +/* f01ce1c: 24140038 */ li $s4,0x38 +.PF0f01ce20: +/* f01ce20: 3c0f800b */ lui $t7,0x800b +/* f01ce24: 95efd13e */ lhu $t7,-0x2ec2($t7) +/* f01ce28: 24180001 */ li $t8,0x1 +/* f01ce2c: 02386804 */ sllv $t5,$t8,$s1 +/* f01ce30: 01edc824 */ and $t9,$t7,$t5 +/* f01ce34: 5320004d */ beqzl $t9,.PF0f01cf6c +/* f01ce38: 26310001 */ addiu $s1,$s1,0x1 +/* f01ce3c: 8e6e0298 */ lw $t6,0x298($s3) +/* f01ce40: 05c20027 */ bltzl $t6,.PF0f01cee0 +/* f01ce44: 8e6e029c */ lw $t6,0x29c($s3) +/* f01ce48: 8e7804b4 */ lw $t8,0x4b4($s3) +/* f01ce4c: 8fa40120 */ lw $a0,0x120($sp) +/* f01ce50: 240d0001 */ li $t5,0x1 +/* f01ce54: 56980019 */ bnel $s4,$t8,.PF0f01cebc +/* f01ce58: 8e70028c */ lw $s0,0x28c($s3) +/* f01ce5c: 924f0002 */ lbu $t7,0x2($s2) +/* f01ce60: 3c188007 */ lui $t8,0x8007 +/* f01ce64: 25ed0001 */ addiu $t5,$t7,0x1 +/* f01ce68: 31b900ff */ andi $t9,$t5,0xff +/* f01ce6c: 00197080 */ sll $t6,$t9,0x2 +/* f01ce70: 01d97023 */ subu $t6,$t6,$t9 +/* f01ce74: 000e7080 */ sll $t6,$t6,0x2 +/* f01ce78: a24d0002 */ sb $t5,0x2($s2) +/* f01ce7c: 030ec021 */ addu $t8,$t8,$t6 +/* f01ce80: 8f18215c */ lw $t8,0x215c($t8) +/* f01ce84: a2580001 */ sb $t8,0x1($s2) +/* f01ce88: 0fc06c91 */ jal 0xf01b244 +/* f01ce8c: 330400ff */ andi $a0,$t8,0xff +/* f01ce90: 8e440000 */ lw $a0,0x0($s2) +/* f01ce94: 00047e42 */ srl $t7,$a0,0x19 +/* f01ce98: 0fc5b6fd */ jal 0xf16dbf4 +/* f01ce9c: 01e02025 */ move $a0,$t7 +/* f01cea0: 0fc06a32 */ jal 0xf01a8c8 +/* f01cea4: 24040005 */ li $a0,0x5 +/* f01cea8: 0c0039af */ jal 0xe6bc +/* f01ceac: 92440001 */ lbu $a0,0x1($s2) +/* f01ceb0: 1000002b */ b .PF0f01cf60 +/* f01ceb4: 8fae0120 */ lw $t6,0x120($sp) +/* f01ceb8: 8e70028c */ lw $s0,0x28c($s3) +.PF0f01cebc: +/* f01cebc: 0fc4a4ff */ jal 0xf1293fc +/* f01cec0: afad0158 */ sw $t5,0x158($sp) +/* f01cec4: 0fc43d91 */ jal 0xf10f644 +/* f01cec8: 00000000 */ nop +/* f01cecc: 0fc4a4ff */ jal 0xf1293fc +/* f01ced0: 02002025 */ move $a0,$s0 +/* f01ced4: 10000022 */ b .PF0f01cf60 +/* f01ced8: 8fae0120 */ lw $t6,0x120($sp) +/* f01cedc: 8e6e029c */ lw $t6,0x29c($s3) +.PF0f01cee0: +/* f01cee0: 24190001 */ li $t9,0x1 +/* f01cee4: afb90158 */ sw $t9,0x158($sp) +/* f01cee8: 05c0000a */ bltz $t6,.PF0f01cf14 +/* f01ceec: 8fa40120 */ lw $a0,0x120($sp) +/* f01cef0: 8e70028c */ lw $s0,0x28c($s3) +/* f01cef4: 0fc4a4ff */ jal 0xf1293fc +/* f01cef8: 8fa40120 */ lw $a0,0x120($sp) +/* f01cefc: 0fc43e28 */ jal 0xf10f8a0 +/* f01cf00: 00000000 */ nop +/* f01cf04: 0fc4a4ff */ jal 0xf1293fc +/* f01cf08: 02002025 */ move $a0,$s0 +/* f01cf0c: 10000014 */ b .PF0f01cf60 +/* f01cf10: 8fae0120 */ lw $t6,0x120($sp) +.PF0f01cf14: +/* f01cf14: 0011c080 */ sll $t8,$s1,0x2 +/* f01cf18: 0311c021 */ addu $t8,$t8,$s1 +/* f01cf1c: 3c0f800b */ lui $t7,0x800b +/* f01cf20: 25efcd58 */ addiu $t7,$t7,-12968 +/* f01cf24: 0018c140 */ sll $t8,$t8,0x5 +/* f01cf28: 030f1021 */ addu $v0,$t8,$t7 +/* f01cf2c: afa20058 */ sw $v0,0x58($sp) +/* f01cf30: 0fc5e7cd */ jal 0xf179f34 +/* f01cf34: 02202825 */ move $a1,$s1 +/* f01cf38: 8fa20058 */ lw $v0,0x58($sp) +/* f01cf3c: 8c4d004c */ lw $t5,0x4c($v0) +/* f01cf40: 51a00007 */ beqzl $t5,.PF0f01cf60 +/* f01cf44: 8fae0120 */ lw $t6,0x120($sp) +/* f01cf48: 94590050 */ lhu $t9,0x50($v0) +/* f01cf4c: 53200004 */ beqzl $t9,.PF0f01cf60 +/* f01cf50: 8fae0120 */ lw $t6,0x120($sp) +/* f01cf54: 0fc3f732 */ jal 0xf0fdcc8 +/* f01cf58: 02202025 */ move $a0,$s1 +/* f01cf5c: 8fae0120 */ lw $t6,0x120($sp) +.PF0f01cf60: +/* f01cf60: 25d80001 */ addiu $t8,$t6,0x1 +/* f01cf64: afb80120 */ sw $t8,0x120($sp) +/* f01cf68: 26310001 */ addiu $s1,$s1,0x1 +.PF0f01cf6c: +/* f01cf6c: 24010004 */ li $at,0x4 +/* f01cf70: 1621ffab */ bne $s1,$at,.PF0f01ce20 +/* f01cf74: 00000000 */ nop +/* f01cf78: 1000005d */ b .PF0f01d0f0 +/* f01cf7c: 240fffff */ li $t7,-1 +/* f01cf80: 2401fff9 */ li $at,-7 +.PF0f01cf84: +/* f01cf84: 14a10019 */ bne $a1,$at,.PF0f01cfec +/* f01cf88: 00008025 */ move $s0,$zero +/* f01cf8c: 0fc06fe4 */ jal 0xf01bf90 +/* f01cf90: afa40158 */ sw $a0,0x158($sp) +/* f01cf94: 3c10800a */ lui $s0,0x800a +/* f01cf98: 261027a0 */ addiu $s0,$s0,0x27a0 +/* f01cf9c: 240f0002 */ li $t7,0x2 +/* f01cfa0: 3c018006 */ lui $at,0x8006 +/* f01cfa4: a02f2610 */ sb $t7,0x2610($at) +/* f01cfa8: 0fc4402b */ jal 0xf1100ac +/* f01cfac: 02002025 */ move $a0,$s0 +/* f01cfb0: 0fc43ee5 */ jal 0xf10fb94 +/* f01cfb4: 02002025 */ move $a0,$s0 +/* f01cfb8: 3c0d8009 */ lui $t5,0x8009 +/* f01cfbc: 91ad1040 */ lbu $t5,0x1040($t5) +/* f01cfc0: 24040026 */ li $a0,0x26 +/* f01cfc4: 16cd0003 */ bne $s6,$t5,.PF0f01cfd4 +/* f01cfc8: 00000000 */ nop +/* f01cfcc: 10000001 */ b .PF0f01cfd4 +/* f01cfd0: 2404005d */ li $a0,0x5d +.PF0f01cfd4: +/* f01cfd4: 0c0039af */ jal 0xe6bc +/* f01cfd8: 00000000 */ nop +/* f01cfdc: 0fc5b88c */ jal 0xf16e230 +/* f01cfe0: 00000000 */ nop +/* f01cfe4: 10000042 */ b .PF0f01d0f0 +/* f01cfe8: 240fffff */ li $t7,-1 +.PF0f01cfec: +/* f01cfec: 24190001 */ li $t9,0x1 +/* f01cff0: afb90158 */ sw $t9,0x158($sp) +/* f01cff4: 0fc3e29d */ jal 0xf0f8a74 +/* f01cff8: 8ea4000c */ lw $a0,0xc($s5) +/* f01cffc: 8ea30004 */ lw $v1,0x4($s5) +/* f01d000: 24010003 */ li $at,0x3 +/* f01d004: 3c048009 */ lui $a0,0x8009 +/* f01d008: 10610003 */ beq $v1,$at,.PF0f01d018 +/* f01d00c: 24058098 */ li $a1,-32616 +/* f01d010: 2401000b */ li $at,0xb +/* f01d014: 1461000f */ bne $v1,$at,.PF0f01d054 +.PF0f01d018: +/* f01d018: 3c01bf80 */ lui $at,0xbf80 +/* f01d01c: 44812000 */ mtc1 $at,$f4 +/* f01d020: 240effff */ li $t6,-1 +/* f01d024: 2418ffff */ li $t8,-1 +/* f01d028: 240fffff */ li $t7,-1 +/* f01d02c: 02c08025 */ move $s0,$s6 +/* f01d030: afaf001c */ sw $t7,0x1c($sp) +/* f01d034: afb80018 */ sw $t8,0x18($sp) +/* f01d038: afae0010 */ sw $t6,0x10($sp) +/* f01d03c: 8c845750 */ lw $a0,0x5750($a0) +/* f01d040: 00003025 */ move $a2,$zero +/* f01d044: 2407ffff */ li $a3,-1 +/* f01d048: 0c0041a0 */ jal 0x10680 +/* f01d04c: e7a40014 */ swc1 $f4,0x14($sp) +/* f01d050: 8ea30004 */ lw $v1,0x4($s5) +.PF0f01d054: +/* f01d054: 24010002 */ li $at,0x2 +/* f01d058: 10610003 */ beq $v1,$at,.PF0f01d068 +/* f01d05c: 2401000d */ li $at,0xd +/* f01d060: 1461001e */ bne $v1,$at,.PF0f01d0dc +/* f01d064: 00000000 */ nop +.PF0f01d068: +/* f01d068: 0fc68a40 */ jal 0xf1a2900 +/* f01d06c: 00000000 */ nop +/* f01d070: 8e6304b4 */ lw $v1,0x4b4($s3) +/* f01d074: 24010026 */ li $at,0x26 +/* f01d078: 10610003 */ beq $v1,$at,.PF0f01d088 +/* f01d07c: 2401005d */ li $at,0x5d +/* f01d080: 54610016 */ bnel $v1,$at,.PF0f01d0dc +/* f01d084: 02c08025 */ move $s0,$s6 +.PF0f01d088: +/* f01d088: 8e6d0284 */ lw $t5,0x284($s3) +/* f01d08c: 8db900bc */ lw $t9,0xbc($t5) +/* f01d090: 87230028 */ lh $v1,0x28($t9) +/* f01d094: 28610016 */ slti $at,$v1,0x16 +/* f01d098: 14200002 */ bnez $at,.PF0f01d0a4 +/* f01d09c: 2861001a */ slti $at,$v1,0x1a +/* f01d0a0: 1420000b */ bnez $at,.PF0f01d0d0 +.PF0f01d0a4: +/* f01d0a4: 2401000a */ li $at,0xa +/* f01d0a8: 10610009 */ beq $v1,$at,.PF0f01d0d0 +/* f01d0ac: 2401001e */ li $at,0x1e +/* f01d0b0: 10610007 */ beq $v1,$at,.PF0f01d0d0 +/* f01d0b4: 00000000 */ nop +/* f01d0b8: 50400008 */ beqzl $v0,.PF0f01d0dc +/* f01d0bc: 02c08025 */ move $s0,$s6 +/* f01d0c0: 8c4e0000 */ lw $t6,0x0($v0) +/* f01d0c4: 000ec7c2 */ srl $t8,$t6,0x1f +/* f01d0c8: 53000004 */ beqzl $t8,.PF0f01d0dc +/* f01d0cc: 02c08025 */ move $s0,$s6 +.PF0f01d0d0: +/* f01d0d0: 10000002 */ b .PF0f01d0dc +/* f01d0d4: 00008025 */ move $s0,$zero +/* f01d0d8: 02c08025 */ move $s0,$s6 +.PF0f01d0dc: +/* f01d0dc: 52000004 */ beqzl $s0,.PF0f01d0f0 +/* f01d0e0: 240fffff */ li $t7,-1 +/* f01d0e4: 0fc5ba5d */ jal 0xf16e974 +/* f01d0e8: 00000000 */ nop +.PF0f01d0ec: +/* f01d0ec: 240fffff */ li $t7,-1 +.PF0f01d0f0: +/* f01d0f0: aea0000c */ sw $zero,0xc($s5) +/* f01d0f4: 100000dc */ b .PF0f01d468 +/* f01d0f8: aeaf0008 */ sw $t7,0x8($s5) +.PF0f01d0fc: +/* f01d0fc: 1076000a */ beq $v1,$s6,.PF0f01d128 +/* f01d100: afa40158 */ sw $a0,0x158($sp) +/* f01d104: 24010004 */ li $at,0x4 +/* f01d108: 106100d7 */ beq $v1,$at,.PF0f01d468 +/* f01d10c: 24010005 */ li $at,0x5 +/* f01d110: 10610012 */ beq $v1,$at,.PF0f01d15c +/* f01d114: 24010009 */ li $at,0x9 +/* f01d118: 506100bf */ beql $v1,$at,.PF0f01d418 +/* f01d11c: 8e780298 */ lw $t8,0x298($s3) +/* f01d120: 100000d1 */ b .PF0f01d468 +/* f01d124: 00000000 */ nop +.PF0f01d128: +/* f01d128: 8e6d046c */ lw $t5,0x46c($s3) +/* f01d12c: 11a00007 */ beqz $t5,.PF0f01d14c +/* f01d130: 00000000 */ nop +/* f01d134: 0c0039b9 */ jal 0xe6e4 +/* f01d138: 00000000 */ nop +/* f01d13c: 0c0039af */ jal 0xe6bc +/* f01d140: 00402025 */ move $a0,$v0 +/* f01d144: 100000c8 */ b .PF0f01d468 +/* f01d148: 00000000 */ nop +.PF0f01d14c: +/* f01d14c: 0c0039af */ jal 0xe6bc +/* f01d150: 2404005a */ li $a0,0x5a +/* f01d154: 100000c4 */ b .PF0f01d468 +/* f01d158: 00000000 */ nop +.PF0f01d15c: +/* f01d15c: 8e790318 */ lw $t9,0x318($s3) +/* f01d160: 3c12800a */ lui $s2,0x800a +/* f01d164: 3c018008 */ lui $at,0x8008 +/* f01d168: 13200004 */ beqz $t9,.PF0f01d17c +/* f01d16c: 2652e588 */ addiu $s2,$s2,-6776 +/* f01d170: ac2277b0 */ sw $v0,0x77b0($at) +/* f01d174: 10000062 */ b .PF0f01d300 +/* f01d178: 8e630298 */ lw $v1,0x298($s3) +.PF0f01d17c: +/* f01d17c: 8e630298 */ lw $v1,0x298($s3) +/* f01d180: 3c04800b */ lui $a0,0x800b +/* f01d184: 2484cfd8 */ addiu $a0,$a0,-12328 +/* f01d188: 04610003 */ bgez $v1,.PF0f01d198 +/* f01d18c: 27a20070 */ addiu $v0,$sp,0x70 +/* f01d190: 8e6e029c */ lw $t6,0x29c($s3) +/* f01d194: 05c0005a */ bltz $t6,.PF0f01d300 +.PF0f01d198: +/* f01d198: 3c05800b */ lui $a1,0x800b +/* f01d19c: 3c06800b */ lui $a2,0x800b +/* f01d1a0: 3c07800b */ lui $a3,0x800b +/* f01d1a4: 24e7cd58 */ addiu $a3,$a3,-12968 +/* f01d1a8: 24c6cdf8 */ addiu $a2,$a2,-12808 +/* f01d1ac: 24a5d078 */ addiu $a1,$a1,-12168 +/* f01d1b0: 00806825 */ move $t5,$a0 +/* f01d1b4: 0040c825 */ move $t9,$v0 +/* f01d1b8: 248f009c */ addiu $t7,$a0,0x9c +.PF0f01d1bc: +/* f01d1bc: 8da10000 */ lw $at,0x0($t5) +/* f01d1c0: 25ad000c */ addiu $t5,$t5,0xc +/* f01d1c4: 2739000c */ addiu $t9,$t9,0xc +/* f01d1c8: af21fff4 */ sw $at,-0xc($t9) +/* f01d1cc: 8da1fff8 */ lw $at,-0x8($t5) +/* f01d1d0: af21fff8 */ sw $at,-0x8($t9) +/* f01d1d4: 8da1fffc */ lw $at,-0x4($t5) +/* f01d1d8: 15affff8 */ bne $t5,$t7,.PF0f01d1bc +/* f01d1dc: af21fffc */ sw $at,-0x4($t9) +/* f01d1e0: 8da10000 */ lw $at,0x0($t5) +/* f01d1e4: 00806825 */ move $t5,$a0 +/* f01d1e8: 00e07825 */ move $t7,$a3 +/* f01d1ec: 24f8009c */ addiu $t8,$a3,0x9c +/* f01d1f0: af210000 */ sw $at,0x0($t9) +.PF0f01d1f4: +/* f01d1f4: 8de10000 */ lw $at,0x0($t7) +/* f01d1f8: 25ef000c */ addiu $t7,$t7,0xc +/* f01d1fc: 25ad000c */ addiu $t5,$t5,0xc +/* f01d200: ada1fff4 */ sw $at,-0xc($t5) +/* f01d204: 8de1fff8 */ lw $at,-0x8($t7) +/* f01d208: ada1fff8 */ sw $at,-0x8($t5) +/* f01d20c: 8de1fffc */ lw $at,-0x4($t7) +/* f01d210: 15f8fff8 */ bne $t7,$t8,.PF0f01d1f4 +/* f01d214: ada1fffc */ sw $at,-0x4($t5) +/* f01d218: 8de10000 */ lw $at,0x0($t7) +/* f01d21c: 00e07825 */ move $t7,$a3 +/* f01d220: 0040c025 */ move $t8,$v0 +/* f01d224: 244e009c */ addiu $t6,$v0,0x9c +/* f01d228: ada10000 */ sw $at,0x0($t5) +.PF0f01d22c: +/* f01d22c: 8f010000 */ lw $at,0x0($t8) +/* f01d230: 2718000c */ addiu $t8,$t8,0xc +/* f01d234: 25ef000c */ addiu $t7,$t7,0xc +/* f01d238: ade1fff4 */ sw $at,-0xc($t7) +/* f01d23c: 8f01fff8 */ lw $at,-0x8($t8) +/* f01d240: ade1fff8 */ sw $at,-0x8($t7) +/* f01d244: 8f01fffc */ lw $at,-0x4($t8) +/* f01d248: 170efff8 */ bne $t8,$t6,.PF0f01d22c +/* f01d24c: ade1fffc */ sw $at,-0x4($t7) +/* f01d250: 8f010000 */ lw $at,0x0($t8) +/* f01d254: 0040c025 */ move $t8,$v0 +/* f01d258: 00a07025 */ move $t6,$a1 +/* f01d25c: 24b9009c */ addiu $t9,$a1,0x9c +/* f01d260: ade10000 */ sw $at,0x0($t7) +.PF0f01d264: +/* f01d264: 8dc10000 */ lw $at,0x0($t6) +/* f01d268: 25ce000c */ addiu $t6,$t6,0xc +/* f01d26c: 2718000c */ addiu $t8,$t8,0xc +/* f01d270: af01fff4 */ sw $at,-0xc($t8) +/* f01d274: 8dc1fff8 */ lw $at,-0x8($t6) +/* f01d278: af01fff8 */ sw $at,-0x8($t8) +/* f01d27c: 8dc1fffc */ lw $at,-0x4($t6) +/* f01d280: 15d9fff8 */ bne $t6,$t9,.PF0f01d264 +/* f01d284: af01fffc */ sw $at,-0x4($t8) +/* f01d288: 8dc10000 */ lw $at,0x0($t6) +/* f01d28c: 00a07025 */ move $t6,$a1 +/* f01d290: 00c0c825 */ move $t9,$a2 +/* f01d294: 24cd009c */ addiu $t5,$a2,0x9c +/* f01d298: af010000 */ sw $at,0x0($t8) +.PF0f01d29c: +/* f01d29c: 8f210000 */ lw $at,0x0($t9) +/* f01d2a0: 2739000c */ addiu $t9,$t9,0xc +/* f01d2a4: 25ce000c */ addiu $t6,$t6,0xc +/* f01d2a8: adc1fff4 */ sw $at,-0xc($t6) +/* f01d2ac: 8f21fff8 */ lw $at,-0x8($t9) +/* f01d2b0: adc1fff8 */ sw $at,-0x8($t6) +/* f01d2b4: 8f21fffc */ lw $at,-0x4($t9) +/* f01d2b8: 172dfff8 */ bne $t9,$t5,.PF0f01d29c +/* f01d2bc: adc1fffc */ sw $at,-0x4($t6) +/* f01d2c0: 8f210000 */ lw $at,0x0($t9) +/* f01d2c4: 00c0c825 */ move $t9,$a2 +/* f01d2c8: 00406825 */ move $t5,$v0 +/* f01d2cc: 244f009c */ addiu $t7,$v0,0x9c +/* f01d2d0: adc10000 */ sw $at,0x0($t6) +.PF0f01d2d4: +/* f01d2d4: 8da10000 */ lw $at,0x0($t5) +/* f01d2d8: 25ad000c */ addiu $t5,$t5,0xc +/* f01d2dc: 2739000c */ addiu $t9,$t9,0xc +/* f01d2e0: af21fff4 */ sw $at,-0xc($t9) +/* f01d2e4: 8da1fff8 */ lw $at,-0x8($t5) +/* f01d2e8: af21fff8 */ sw $at,-0x8($t9) +/* f01d2ec: 8da1fffc */ lw $at,-0x4($t5) +/* f01d2f0: 15affff8 */ bne $t5,$t7,.PF0f01d2d4 +/* f01d2f4: af21fffc */ sw $at,-0x4($t9) +/* f01d2f8: 8da10000 */ lw $at,0x0($t5) +/* f01d2fc: af210000 */ sw $at,0x0($t9) +.PF0f01d300: +/* f01d300: 04620019 */ bltzl $v1,.PF0f01d368 +/* f01d304: 8e6d046c */ lw $t5,0x46c($s3) +/* f01d308: 92420002 */ lbu $v0,0x2($s2) +/* f01d30c: 3c0e800a */ lui $t6,0x800a +/* f01d310: 28410011 */ slti $at,$v0,0x11 +/* f01d314: 50200014 */ beqzl $at,.PF0f01d368 +/* f01d318: 8e6d046c */ lw $t5,0x46c($s3) +/* f01d31c: 8dce2770 */ lw $t6,0x2770($t6) +/* f01d320: 3c18800a */ lui $t8,0x800a +/* f01d324: 55c00005 */ bnezl $t6,.PF0f01d33c +/* f01d328: 8e450000 */ lw $a1,0x0($s2) +/* f01d32c: 8f182774 */ lw $t8,0x2774($t8) +/* f01d330: 13000008 */ beqz $t8,.PF0f01d354 +/* f01d334: 00000000 */ nop +/* f01d338: 8e450000 */ lw $a1,0x0($s2) +.PF0f01d33c: +/* f01d33c: 24440001 */ addiu $a0,$v0,0x1 +/* f01d340: 00057e42 */ srl $t7,$a1,0x19 +/* f01d344: 0fc41079 */ jal 0xf1041e4 +/* f01d348: 01e02825 */ move $a1,$t7 +/* f01d34c: 50400006 */ beqzl $v0,.PF0f01d368 +/* f01d350: 8e6d046c */ lw $t5,0x46c($s3) +.PF0f01d354: +/* f01d354: 0fc43df4 */ jal 0xf10f7d0 +/* f01d358: 00000000 */ nop +/* f01d35c: 10000042 */ b .PF0f01d468 +/* f01d360: 00000000 */ nop +/* f01d364: 8e6d046c */ lw $t5,0x46c($s3) +.PF0f01d368: +/* f01d368: 11a00007 */ beqz $t5,.PF0f01d388 +/* f01d36c: 00000000 */ nop +/* f01d370: 0c0039b9 */ jal 0xe6e4 +/* f01d374: 00000000 */ nop +/* f01d378: 0c0039af */ jal 0xe6bc +/* f01d37c: 00402025 */ move $a0,$v0 +/* f01d380: 10000039 */ b .PF0f01d468 +/* f01d384: 00000000 */ nop +.PF0f01d388: +/* f01d388: 0fc629f4 */ jal 0xf18a7d0 +/* f01d38c: 00002025 */ move $a0,$zero +/* f01d390: 3c02800b */ lui $v0,0x800b +/* f01d394: 2442d150 */ addiu $v0,$v0,-11952 +/* f01d398: 90590060 */ lbu $t9,0x60($v0) +/* f01d39c: 24010005 */ li $at,0x5 +/* f01d3a0: ae600314 */ sw $zero,0x314($s3) +/* f01d3a4: ae600318 */ sw $zero,0x318($s3) +/* f01d3a8: 17210002 */ bne $t9,$at,.PF0f01d3b4 +/* f01d3ac: ae60031c */ sw $zero,0x31c($s3) +/* f01d3b0: a0400060 */ sb $zero,0x60($v0) +.PF0f01d3b4: +/* f01d3b4: 3c0e8009 */ lui $t6,0x8009 +/* f01d3b8: 91ce1040 */ lbu $t6,0x1040($t6) +/* f01d3bc: 12ce000b */ beq $s6,$t6,.PF0f01d3ec +/* f01d3c0: 00000000 */ nop +/* f01d3c4: 0fc06c91 */ jal 0xf01b244 +/* f01d3c8: 24040026 */ li $a0,0x26 +/* f01d3cc: 0fc0690e */ jal 0xf01a438 +/* f01d3d0: 02c02025 */ move $a0,$s6 +/* f01d3d4: 0fc06a32 */ jal 0xf01a8c8 +/* f01d3d8: 24040005 */ li $a0,0x5 +/* f01d3dc: 0c0039af */ jal 0xe6bc +/* f01d3e0: 24040026 */ li $a0,0x26 +/* f01d3e4: 10000020 */ b .PF0f01d468 +/* f01d3e8: 00000000 */ nop +.PF0f01d3ec: +/* f01d3ec: 0fc06c91 */ jal 0xf01b244 +/* f01d3f0: 2404005d */ li $a0,0x5d +/* f01d3f4: 0fc0690e */ jal 0xf01a438 +/* f01d3f8: 02c02025 */ move $a0,$s6 +/* f01d3fc: 0fc06a32 */ jal 0xf01a8c8 +/* f01d400: 24040005 */ li $a0,0x5 +/* f01d404: 0c0039af */ jal 0xe6bc +/* f01d408: 2404005d */ li $a0,0x5d +/* f01d40c: 10000016 */ b .PF0f01d468 +/* f01d410: 00000000 */ nop +/* f01d414: 8e780298 */ lw $t8,0x298($s3) +.PF0f01d418: +/* f01d418: 07000013 */ bltz $t8,.PF0f01d468 +/* f01d41c: 00000000 */ nop +/* f01d420: 0fc629f4 */ jal 0xf18a7d0 +/* f01d424: 00002025 */ move $a0,$zero +/* f01d428: ae600314 */ sw $zero,0x314($s3) +/* f01d42c: ae600318 */ sw $zero,0x318($s3) +/* f01d430: ae60031c */ sw $zero,0x31c($s3) +/* f01d434: 0fc06c91 */ jal 0xf01b244 +/* f01d438: 24040026 */ li $a0,0x26 +/* f01d43c: 0fc0690e */ jal 0xf01a438 +/* f01d440: 02c02025 */ move $a0,$s6 +/* f01d444: 0fc06a32 */ jal 0xf01a8c8 +/* f01d448: 24040005 */ li $a0,0x5 +/* f01d44c: 0c0039af */ jal 0xe6bc +/* f01d450: 24040026 */ li $a0,0x26 +/* f01d454: 3c12800a */ lui $s2,0x800a +/* f01d458: 2652e588 */ addiu $s2,$s2,-6776 +/* f01d45c: 924f0003 */ lbu $t7,0x3($s2) +/* f01d460: 31edff7f */ andi $t5,$t7,0xff7f +/* f01d464: a24d0003 */ sb $t5,0x3($s2) +.PF0f01d468: +/* f01d468: 0fc06ff4 */ jal 0xf01bfd0 +/* f01d46c: 00000000 */ nop +/* f01d470: 8eb90000 */ lw $t9,0x0($s5) +/* f01d474: 57200026 */ bnezl $t9,.PF0f01d510 +/* f01d478: 8e6d006c */ lw $t5,0x6c($s3) +/* f01d47c: 92a20015 */ lbu $v0,0x15($s5) +/* f01d480: 240100ff */ li $at,0xff +/* f01d484: 5041000b */ beql $v0,$at,.PF0f01d4b4 +/* f01d488: 92ae0014 */ lbu $t6,0x14($s5) +/* f01d48c: 1040000c */ beqz $v0,.PF0f01d4c0 +/* f01d490: 3c013f80 */ lui $at,0x3f80 +/* f01d494: 44813000 */ mtc1 $at,$f6 +/* f01d498: c6a80010 */ lwc1 $f8,0x10($s5) +/* f01d49c: a2a20014 */ sb $v0,0x14($s5) +/* f01d4a0: a2a00015 */ sb $zero,0x15($s5) +/* f01d4a4: 46083281 */ sub.s $f10,$f6,$f8 +/* f01d4a8: 10000005 */ b .PF0f01d4c0 +/* f01d4ac: e6aa0010 */ swc1 $f10,0x10($s5) +/* f01d4b0: 92ae0014 */ lbu $t6,0x14($s5) +.PF0f01d4b4: +/* f01d4b4: 51c00003 */ beqzl $t6,.PF0f01d4c4 +/* f01d4b8: 8e780284 */ lw $t8,0x284($s3) +/* f01d4bc: a2a00015 */ sb $zero,0x15($s5) +.PF0f01d4c0: +/* f01d4c0: 8e780284 */ lw $t8,0x284($s3) +.PF0f01d4c4: +/* f01d4c4: 930f15ea */ lbu $t7,0x15ea($t8) +/* f01d4c8: 56cf0011 */ bnel $s6,$t7,.PF0f01d510 +/* f01d4cc: 8e6d006c */ lw $t5,0x6c($s3) +/* f01d4d0: 8e6d04b4 */ lw $t5,0x4b4($s3) +/* f01d4d4: 24010026 */ li $at,0x26 +/* f01d4d8: 51a1000d */ beql $t5,$at,.PF0f01d510 +/* f01d4dc: 8e6d006c */ lw $t5,0x6c($s3) +/* f01d4e0: 92ae05d5 */ lbu $t6,0x5d5($s5) +/* f01d4e4: 3c0f800a */ lui $t7,0x800a +/* f01d4e8: 35d80080 */ ori $t8,$t6,0x80 +/* f01d4ec: a2b805d5 */ sb $t8,0x5d5($s5) +/* f01d4f0: 8defede4 */ lw $t7,-0x121c($t7) +/* f01d4f4: 51e00006 */ beqzl $t7,.PF0f01d510 +/* f01d4f8: 8e6d006c */ lw $t5,0x6c($s3) +/* f01d4fc: 0fc27881 */ jal 0xf09e204 +/* f01d500: 00000000 */ nop +/* f01d504: 3c01800a */ lui $at,0x800a +/* f01d508: ac20ede4 */ sw $zero,-0x121c($at) +/* f01d50c: 8e6d006c */ lw $t5,0x6c($s3) +.PF0f01d510: +/* f01d510: a26004d0 */ sb $zero,0x4d0($s3) +/* f01d514: 00008825 */ move $s1,$zero +/* f01d518: 51a00004 */ beqzl $t5,.PF0f01d52c +/* f01d51c: 00003825 */ move $a3,$zero +/* f01d520: 10000002 */ b .PF0f01d52c +/* f01d524: 02c03825 */ move $a3,$s6 +/* f01d528: 00003825 */ move $a3,$zero +.PF0f01d52c: +/* f01d52c: 8e790068 */ lw $t9,0x68($s3) +/* f01d530: 53200004 */ beqzl $t9,.PF0f01d544 +/* f01d534: 00003025 */ move $a2,$zero +/* f01d538: 10000002 */ b .PF0f01d544 +/* f01d53c: 02c03025 */ move $a2,$s6 +/* f01d540: 00003025 */ move $a2,$zero +.PF0f01d544: +/* f01d544: 8e6e0064 */ lw $t6,0x64($s3) +/* f01d548: 51c00004 */ beqzl $t6,.PF0f01d55c +/* f01d54c: 00002825 */ move $a1,$zero +/* f01d550: 10000002 */ b .PF0f01d55c +/* f01d554: 02c02825 */ move $a1,$s6 +/* f01d558: 00002825 */ move $a1,$zero +.PF0f01d55c: +/* f01d55c: 8e780070 */ lw $t8,0x70($s3) +/* f01d560: 53000004 */ beqzl $t8,.PF0f01d574 +/* f01d564: 00002025 */ move $a0,$zero +/* f01d568: 10000002 */ b .PF0f01d574 +/* f01d56c: 02c02025 */ move $a0,$s6 +/* f01d570: 00002025 */ move $a0,$zero +.PF0f01d574: +/* f01d574: 00857821 */ addu $t7,$a0,$a1 +/* f01d578: 01e66821 */ addu $t5,$t7,$a2 +/* f01d57c: 01a7c821 */ addu $t9,$t5,$a3 +/* f01d580: 1b200099 */ blez $t9,.PF0f01d7e8 +/* f01d584: 240c000f */ li $t4,0xf +/* f01d588: 240a001f */ li $t2,0x1f +/* f01d58c: 8e6e0314 */ lw $t6,0x314($s3) +.PF0f01d590: +/* f01d590: 0011c1c0 */ sll $t8,$s1,0x7 +/* f01d594: 2403ffff */ li $v1,-1 +/* f01d598: 11c00003 */ beqz $t6,.PF0f01d5a8 +/* f01d59c: 02787821 */ addu $t7,$s3,$t8 +/* f01d5a0: 10000004 */ b .PF0f01d5b4 +/* f01d5a4: 8de300e4 */ lw $v1,0xe4($t7) +.PF0f01d5a8: +/* f01d5a8: 16200002 */ bnez $s1,.PF0f01d5b4 +/* f01d5ac: 00000000 */ nop +/* f01d5b0: 00001825 */ move $v1,$zero +.PF0f01d5b4: +/* f01d5b4: 04600071 */ bltz $v1,.PF0f01d77c +/* f01d5b8: 00116880 */ sll $t5,$s1,0x2 +/* f01d5bc: 026d4021 */ addu $t0,$s3,$t5 +/* f01d5c0: 8d020064 */ lw $v0,0x64($t0) +/* f01d5c4: 5040006e */ beqzl $v0,.PF0f01d780 +/* f01d5c8: 8e6e006c */ lw $t6,0x6c($s3) +/* f01d5cc: 92b90015 */ lbu $t9,0x15($s5) +/* f01d5d0: 240100ff */ li $at,0xff +/* f01d5d4: 5721001b */ bnel $t9,$at,.PF0f01d644 +/* f01d5d8: 90591c50 */ lbu $t9,0x1c50($v0) +/* f01d5dc: 92ae0014 */ lbu $t6,0x14($s5) +/* f01d5e0: 55c00018 */ bnezl $t6,.PF0f01d644 +/* f01d5e4: 90591c50 */ lbu $t9,0x1c50($v0) +/* f01d5e8: 8eb805d4 */ lw $t8,0x5d4($s5) +/* f01d5ec: 00186b00 */ sll $t5,$t8,0xc +/* f01d5f0: 05a20014 */ bltzl $t5,.PF0f01d644 +/* f01d5f4: 90591c50 */ lbu $t9,0x1c50($v0) +/* f01d5f8: 92b905d4 */ lbu $t9,0x5d4($s5) +/* f01d5fc: 000370c0 */ sll $t6,$v1,0x3 +/* f01d600: 01c37023 */ subu $t6,$t6,$v1 +/* f01d604: 1720000e */ bnez $t9,.PF0f01d640 +/* f01d608: 000e7080 */ sll $t6,$t6,0x2 +/* f01d60c: 01c37021 */ addu $t6,$t6,$v1 +/* f01d610: 000e70c0 */ sll $t6,$t6,0x3 +/* f01d614: 01c37023 */ subu $t6,$t6,$v1 +/* f01d618: 000e7100 */ sll $t6,$t6,0x4 +/* f01d61c: 3c18800a */ lui $t8,0x800a +/* f01d620: 030ec021 */ addu $t8,$t8,$t6 +/* f01d624: 8f18ea98 */ lw $t8,-0x1568($t8) +/* f01d628: 57000006 */ bnezl $t8,.PF0f01d644 +/* f01d62c: 90591c50 */ lbu $t9,0x1c50($v0) +/* f01d630: 82af001b */ lb $t7,0x1b($s5) +/* f01d634: 2401ffff */ li $at,-1 +/* f01d638: 51e10006 */ beql $t7,$at,.PF0f01d654 +/* f01d63c: 90581c50 */ lbu $t8,0x1c50($v0) +.PF0f01d640: +/* f01d640: 90591c50 */ lbu $t9,0x1c50($v0) +.PF0f01d644: +/* f01d644: 372e0080 */ ori $t6,$t9,0x80 +/* f01d648: 10000004 */ b .PF0f01d65c +/* f01d64c: a04e1c50 */ sb $t6,0x1c50($v0) +/* f01d650: 90581c50 */ lbu $t8,0x1c50($v0) +.PF0f01d654: +/* f01d654: 330fff7f */ andi $t7,$t8,0xff7f +/* f01d658: a04f1c50 */ sb $t7,0x1c50($v0) +.PF0f01d65c: +/* f01d65c: 8ead0004 */ lw $t5,0x4($s5) +/* f01d660: 25b9ffff */ addiu $t9,$t5,-1 +/* f01d664: 2f21000d */ sltiu $at,$t9,0xd +/* f01d668: 10200013 */ beqz $at,.PF0f01d6b8 +/* f01d66c: 0019c880 */ sll $t9,$t9,0x2 +/* f01d670: 3c017f1b */ lui $at,0x7f1b +/* f01d674: 00390821 */ addu $at,$at,$t9 +/* f01d678: 8c39982c */ lw $t9,-0x67d4($at) +/* f01d67c: 03200008 */ jr $t9 +/* f01d680: 00000000 */ nop +/* f01d684: 000370c0 */ sll $t6,$v1,0x3 +/* f01d688: 01c37023 */ subu $t6,$t6,$v1 +/* f01d68c: 000e7080 */ sll $t6,$t6,0x2 +/* f01d690: 01c37021 */ addu $t6,$t6,$v1 +/* f01d694: 000e70c0 */ sll $t6,$t6,0x3 +/* f01d698: 01c37023 */ subu $t6,$t6,$v1 +/* f01d69c: 000e7100 */ sll $t6,$t6,0x4 +/* f01d6a0: 3c18800a */ lui $t8,0x800a +/* f01d6a4: 030ec021 */ addu $t8,$t8,$t6 +/* f01d6a8: 8f18ea98 */ lw $t8,-0x1568($t8) +/* f01d6ac: 53000003 */ beqzl $t8,.PF0f01d6bc +/* f01d6b0: 8d0f0064 */ lw $t7,0x64($t0) +/* f01d6b4: a26a04d0 */ sb $t2,0x4d0($s3) +.PF0f01d6b8: +/* f01d6b8: 8d0f0064 */ lw $t7,0x64($t0) +.PF0f01d6bc: +/* f01d6bc: ade01c54 */ sw $zero,0x1c54($t7) +/* f01d6c0: 8e6d0298 */ lw $t5,0x298($s3) +/* f01d6c4: 05a30005 */ bgezl $t5,.PF0f01d6dc +/* f01d6c8: 8e6e006c */ lw $t6,0x6c($s3) +/* f01d6cc: 8e79029c */ lw $t9,0x29c($s3) +/* f01d6d0: 0722002b */ bltzl $t9,.PF0f01d780 +/* f01d6d4: 8e6e006c */ lw $t6,0x6c($s3) +/* f01d6d8: 8e6e006c */ lw $t6,0x6c($s3) +.PF0f01d6dc: +/* f01d6dc: 00003825 */ move $a3,$zero +/* f01d6e0: 00003025 */ move $a2,$zero +/* f01d6e4: 11c00003 */ beqz $t6,.PF0f01d6f4 +/* f01d6e8: 00002825 */ move $a1,$zero +/* f01d6ec: 10000001 */ b .PF0f01d6f4 +/* f01d6f0: 02c03825 */ move $a3,$s6 +.PF0f01d6f4: +/* f01d6f4: 8e780068 */ lw $t8,0x68($s3) +/* f01d6f8: 00002025 */ move $a0,$zero +/* f01d6fc: 13000003 */ beqz $t8,.PF0f01d70c +/* f01d700: 00000000 */ nop +/* f01d704: 10000001 */ b .PF0f01d70c +/* f01d708: 02c03025 */ move $a2,$s6 +.PF0f01d70c: +/* f01d70c: 8e6f0064 */ lw $t7,0x64($s3) +/* f01d710: 11e00003 */ beqz $t7,.PF0f01d720 +/* f01d714: 00000000 */ nop +/* f01d718: 10000001 */ b .PF0f01d720 +/* f01d71c: 02c02825 */ move $a1,$s6 +.PF0f01d720: +/* f01d720: 8e6d0070 */ lw $t5,0x70($s3) +/* f01d724: 000378c0 */ sll $t7,$v1,0x3 +/* f01d728: 01e37823 */ subu $t7,$t7,$v1 +/* f01d72c: 11a00003 */ beqz $t5,.PF0f01d73c +/* f01d730: 000f7880 */ sll $t7,$t7,0x2 +/* f01d734: 10000001 */ b .PF0f01d73c +/* f01d738: 02c02025 */ move $a0,$s6 +.PF0f01d73c: +/* f01d73c: 0085c821 */ addu $t9,$a0,$a1 +/* f01d740: 03267021 */ addu $t6,$t9,$a2 +/* f01d744: 01c7c021 */ addu $t8,$t6,$a3 +/* f01d748: 2b010002 */ slti $at,$t8,0x2 +/* f01d74c: 1420000b */ bnez $at,.PF0f01d77c +/* f01d750: 01e37821 */ addu $t7,$t7,$v1 +/* f01d754: 000f78c0 */ sll $t7,$t7,0x3 +/* f01d758: 01e37823 */ subu $t7,$t7,$v1 +/* f01d75c: 000f7900 */ sll $t7,$t7,0x4 +/* f01d760: 3c0d800a */ lui $t5,0x800a +/* f01d764: 01af6821 */ addu $t5,$t5,$t7 +/* f01d768: 8dadea98 */ lw $t5,-0x1568($t5) +/* f01d76c: 51a00004 */ beqzl $t5,.PF0f01d780 +/* f01d770: 8e6e006c */ lw $t6,0x6c($s3) +/* f01d774: 8d190064 */ lw $t9,0x64($t0) +/* f01d778: af2c1c54 */ sw $t4,0x1c54($t9) +.PF0f01d77c: +/* f01d77c: 8e6e006c */ lw $t6,0x6c($s3) +.PF0f01d780: +/* f01d780: 26310001 */ addiu $s1,$s1,0x1 +/* f01d784: 8e680068 */ lw $t0,0x68($s3) +/* f01d788: 8e690064 */ lw $t1,0x64($s3) +/* f01d78c: 11c00003 */ beqz $t6,.PF0f01d79c +/* f01d790: 8e6b0070 */ lw $t3,0x70($s3) +/* f01d794: 10000002 */ b .PF0f01d7a0 +/* f01d798: 02c03825 */ move $a3,$s6 +.PF0f01d79c: +/* f01d79c: 00003825 */ move $a3,$zero +.PF0f01d7a0: +/* f01d7a0: 11000003 */ beqz $t0,.PF0f01d7b0 +/* f01d7a4: 00003025 */ move $a2,$zero +/* f01d7a8: 10000001 */ b .PF0f01d7b0 +/* f01d7ac: 02c03025 */ move $a2,$s6 +.PF0f01d7b0: +/* f01d7b0: 11200003 */ beqz $t1,.PF0f01d7c0 +/* f01d7b4: 00002825 */ move $a1,$zero +/* f01d7b8: 10000001 */ b .PF0f01d7c0 +/* f01d7bc: 02c02825 */ move $a1,$s6 +.PF0f01d7c0: +/* f01d7c0: 11600003 */ beqz $t3,.PF0f01d7d0 +/* f01d7c4: 00002025 */ move $a0,$zero +/* f01d7c8: 10000001 */ b .PF0f01d7d0 +/* f01d7cc: 02c02025 */ move $a0,$s6 +.PF0f01d7d0: +/* f01d7d0: 0085c021 */ addu $t8,$a0,$a1 +/* f01d7d4: 03067821 */ addu $t7,$t8,$a2 +/* f01d7d8: 01e76821 */ addu $t5,$t7,$a3 +/* f01d7dc: 022d082a */ slt $at,$s1,$t5 +/* f01d7e0: 5420ff6b */ bnezl $at,.PF0f01d590 +/* f01d7e4: 8e6e0314 */ lw $t6,0x314($s3) +.PF0f01d7e8: +/* f01d7e8: 8fb90158 */ lw $t9,0x158($sp) +/* f01d7ec: 3c018008 */ lui $at,0x8008 +/* f01d7f0: ac360020 */ sw $s6,0x20($at) +/* f01d7f4: 53200006 */ beqzl $t9,.PF0f01d810 +/* f01d7f8: 92ad05d5 */ lbu $t5,0x5d5($s5) +/* f01d7fc: 92b805d5 */ lbu $t8,0x5d5($s5) +/* f01d800: 370f0004 */ ori $t7,$t8,0x4 +/* f01d804: 10000004 */ b .PF0f01d818 +/* f01d808: a2af05d5 */ sb $t7,0x5d5($s5) +/* f01d80c: 92ad05d5 */ lbu $t5,0x5d5($s5) +.PF0f01d810: +/* f01d810: 31b9fffb */ andi $t9,$t5,0xfffb +/* f01d814: a2b905d5 */ sb $t9,0x5d5($s5) +.PF0f01d818: +/* f01d818: 8fbf0044 */ lw $ra,0x44($sp) +/* f01d81c: 8fb00028 */ lw $s0,0x28($sp) +/* f01d820: 8fb1002c */ lw $s1,0x2c($sp) +/* f01d824: 8fb20030 */ lw $s2,0x30($sp) +/* f01d828: 8fb30034 */ lw $s3,0x34($sp) +/* f01d82c: 8fb40038 */ lw $s4,0x38($sp) +/* f01d830: 8fb5003c */ lw $s5,0x3c($sp) +/* f01d834: 8fb60040 */ lw $s6,0x40($sp) +/* f01d838: 03e00008 */ jr $ra +/* f01d83c: 27bd0168 */ addiu $sp,$sp,0x168 +); +#else GLOBAL_ASM( glabel menuTickAll .late_rodata @@ -1833,6 +3571,7 @@ glabel var7f1a863c /* f01d768: 03e00008 */ jr $ra /* f01d76c: 27bd0168 */ addiu $sp,$sp,0x168 ); +#endif //void menuTickAll(void) //{ diff --git a/src/game/game_01d860.c b/src/game/game_01d860.c index 0c8c87820..b557c427f 100644 --- a/src/game/game_01d860.c +++ b/src/game/game_01d860.c @@ -5,6 +5,59 @@ #include "data.h" #include "types.h" +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel func0f01d860 +/* f01d930: 27bdffe8 */ addiu $sp,$sp,-24 +/* f01d934: afbf0014 */ sw $ra,0x14($sp) +/* f01d938: 3c047f1b */ lui $a0,0x7f1b +/* f01d93c: 3c058006 */ lui $a1,0x8006 +/* f01d940: 24a52630 */ addiu $a1,$a1,0x2630 +/* f01d944: 0c003624 */ jal 0xd890 +/* f01d948: 24849880 */ addiu $a0,$a0,-26496 +/* f01d94c: 3c048006 */ lui $a0,0x8006 +/* f01d950: 8c842630 */ lw $a0,0x2630($a0) +/* f01d954: 2c810005 */ sltiu $at,$a0,0x5 +/* f01d958: 10200006 */ beqz $at,.PF0f01d974 +/* f01d95c: 00000000 */ nop +/* f01d960: 0fc5bdd7 */ jal 0xf16f75c +/* f01d964: 00000000 */ nop +/* f01d968: 240e0063 */ li $t6,0x63 +/* f01d96c: 3c018006 */ lui $at,0x8006 +/* f01d970: ac2e2630 */ sw $t6,0x2630($at) +.PF0f01d974: +/* f01d974: 3c0f8008 */ lui $t7,0x8008 +/* f01d978: 8def4660 */ lw $t7,0x4660($t7) +/* f01d97c: 00001025 */ move $v0,$zero +/* f01d980: 240600f8 */ li $a2,0xf8 +/* f01d984: 11e00011 */ beqz $t7,.PF0f01d9cc +/* f01d988: 3c05800b */ lui $a1,0x800b +/* f01d98c: 24a5b158 */ addiu $a1,$a1,-20136 +/* f01d990: 8cb80000 */ lw $t8,0x0($a1) +.PF0f01d994: +/* f01d994: 03021821 */ addu $v1,$t8,$v0 +/* f01d998: 94640000 */ lhu $a0,0x0($v1) +/* f01d99c: 24420002 */ addiu $v0,$v0,0x2 +/* f01d9a0: 0004cb82 */ srl $t9,$a0,0xe +/* f01d9a4: 13200007 */ beqz $t9,.PF0f01d9c4 +/* f01d9a8: 00000000 */ nop +/* f01d9ac: 906b0000 */ lbu $t3,0x0($v1) +/* f01d9b0: 2728ffff */ addiu $t0,$t9,-1 +/* f01d9b4: 00085180 */ sll $t2,$t0,0x6 +/* f01d9b8: 316cff3f */ andi $t4,$t3,0xff3f +/* f01d9bc: 014c6825 */ or $t5,$t2,$t4 +/* f01d9c0: a06d0000 */ sb $t5,0x0($v1) +.PF0f01d9c4: +/* f01d9c4: 5446fff3 */ bnel $v0,$a2,.PF0f01d994 +/* f01d9c8: 8cb80000 */ lw $t8,0x0($a1) +.PF0f01d9cc: +/* f01d9cc: 8fbf0014 */ lw $ra,0x14($sp) +/* f01d9d0: 27bd0018 */ addiu $sp,$sp,0x18 +/* f01d9d4: 03e00008 */ jr $ra +/* f01d9d8: 00000000 */ nop +/* f01d9dc: 00000000 */ nop +); +#else void func0f01d860(void) { s32 i; @@ -17,6 +70,7 @@ void func0f01d860(void) } } } +#endif void func0f01d8c0(void) { diff --git a/src/game/nbomb.c b/src/game/nbomb.c index c7665f20a..05d57b8e1 100644 --- a/src/game/nbomb.c +++ b/src/game/nbomb.c @@ -2757,9 +2757,12 @@ glabel var7f1a7f18 /* f0094b0: 00000000 */ nop ); -void nbombResetAge(struct nbomb *nbomb) +void nbombReset(struct nbomb *nbomb) { nbomb->age240 = 0; +#if VERSION >= VERSION_PAL_FINAL + nbomb->radius = 0; +#endif } /** @@ -3250,7 +3253,12 @@ void nbombTick(struct nbomb *nbomb) age60 = 40; } +#if PAL + nbomb->unk14 += increment * age60 * 60 / 50; +#else nbomb->unk14 += increment * age60; +#endif + nbomb->unk14 %= 0x800; if (nbomb->age240 > 370) { @@ -3372,7 +3380,7 @@ void nbombCreate(struct coord *pos, struct prop *prop) } } - nbombResetAge(&g_Nbombs[index]); + nbombReset(&g_Nbombs[index]); g_Nbombs[index].pos.x = pos->x; g_Nbombs[index].pos.y = pos->y; diff --git a/src/game/title.c b/src/game/title.c index ad004f276..cd6880ef1 100644 --- a/src/game/title.c +++ b/src/game/title.c @@ -539,6 +539,473 @@ glabel func0f0165f0 /* f0166e8: 00000000 */ nop ); +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel titleRenderLegal +/* f01670c: 27bdfed0 */ addiu $sp,$sp,-304 +/* f016710: 3c0f8006 */ lui $t7,0x8006 +/* f016714: afb60050 */ sw $s6,0x50($sp) +/* f016718: 25ef23bc */ addiu $t7,$t7,0x23bc +/* f01671c: afbf005c */ sw $ra,0x5c($sp) +/* f016720: afbe0058 */ sw $s8,0x58($sp) +/* f016724: afb70054 */ sw $s7,0x54($sp) +/* f016728: afb5004c */ sw $s5,0x4c($sp) +/* f01672c: afb40048 */ sw $s4,0x48($sp) +/* f016730: afb30044 */ sw $s3,0x44($sp) +/* f016734: afb20040 */ sw $s2,0x40($sp) +/* f016738: afb1003c */ sw $s1,0x3c($sp) +/* f01673c: afb00038 */ sw $s0,0x38($sp) +/* f016740: afa40130 */ sw $a0,0x130($sp) +/* f016744: 0000b025 */ move $s6,$zero +/* f016748: 25eb003c */ addiu $t3,$t7,0x3c +/* f01674c: 27ae00e4 */ addiu $t6,$sp,0xe4 +.PF0f016750: +/* f016750: 8de10000 */ lw $at,0x0($t7) +/* f016754: 25ef000c */ addiu $t7,$t7,0xc +/* f016758: 25ce000c */ addiu $t6,$t6,0xc +/* f01675c: adc1fff4 */ sw $at,-0xc($t6) +/* f016760: 8de1fff8 */ lw $at,-0x8($t7) +/* f016764: adc1fff8 */ sw $at,-0x8($t6) +/* f016768: 8de1fffc */ lw $at,-0x4($t7) +/* f01676c: 15ebfff8 */ bne $t7,$t3,.PF0f016750 +/* f016770: adc1fffc */ sw $at,-0x4($t6) +/* f016774: 8de10000 */ lw $at,0x0($t7) +/* f016778: 3c0c8006 */ lui $t4,0x8006 +/* f01677c: adc10000 */ sw $at,0x0($t6) +/* f016780: 8d8c23fc */ lw $t4,0x23fc($t4) +/* f016784: 51800196 */ beqzl $t4,.PF0f016de0 +/* f016788: 8fbf005c */ lw $ra,0x5c($sp) +/* f01678c: 0fc06c2c */ jal 0xf01b0b0 +/* f016790: 8fa40130 */ lw $a0,0x130($sp) +/* f016794: afa20130 */ sw $v0,0x130($sp) +/* f016798: 0fc550cf */ jal 0xf15433c +/* f01679c: 00402025 */ move $a0,$v0 +/* f0167a0: 3c0d8006 */ lui $t5,0x8006 +/* f0167a4: 3c118006 */ lui $s1,0x8006 +/* f0167a8: 25ad23bc */ addiu $t5,$t5,0x23bc +/* f0167ac: 3c1e8008 */ lui $s8,0x8008 +/* f0167b0: 3c178008 */ lui $s7,0x8008 +/* f0167b4: afa20130 */ sw $v0,0x130($sp) +/* f0167b8: 263122c0 */ addiu $s1,$s1,0x22c0 +/* f0167bc: afad0124 */ sw $t5,0x124($sp) +/* f0167c0: 26f70080 */ addiu $s7,$s7,0x80 +/* f0167c4: 27de007c */ addiu $s8,$s8,0x7c +/* f0167c8: 86230008 */ lh $v1,0x8($s1) +.PF0f0167cc: +/* f0167cc: 3c157f7f */ lui $s5,0x7f7f +/* f0167d0: 36b5ffff */ ori $s5,$s5,0xffff +/* f0167d4: 2c610007 */ sltiu $at,$v1,0x7 +/* f0167d8: 1020002e */ beqz $at,.PF0f016894 +/* f0167dc: 0003c880 */ sll $t9,$v1,0x2 +/* f0167e0: 3c017f1b */ lui $at,0x7f1b +/* f0167e4: 00390821 */ addu $at,$at,$t9 +/* f0167e8: 8c3995dc */ lw $t9,-0x6a24($at) +/* f0167ec: 03200008 */ jr $t9 +/* f0167f0: 00000000 */ nop +/* f0167f4: 3c138008 */ lui $s3,0x8008 +/* f0167f8: 3c148008 */ lui $s4,0x8008 +/* f0167fc: 8e730070 */ lw $s3,0x70($s3) +/* f016800: 10000026 */ b .PF0f01689c +/* f016804: 8e94006c */ lw $s4,0x6c($s4) +/* f016808: 3c138008 */ lui $s3,0x8008 +/* f01680c: 3c148008 */ lui $s4,0x8008 +/* f016810: 8e730078 */ lw $s3,0x78($s3) +/* f016814: 10000021 */ b .PF0f01689c +/* f016818: 8e940074 */ lw $s4,0x74($s4) +/* f01681c: 8ef30000 */ lw $s3,0x0($s7) +/* f016820: 1000001e */ b .PF0f01689c +/* f016824: 8fd40000 */ lw $s4,0x0($s8) +/* f016828: 9622000a */ lhu $v0,0xa($s1) +/* f01682c: 2401564a */ li $at,0x564a +/* f016830: 8ef30000 */ lw $s3,0x0($s7) +/* f016834: 8fd40000 */ lw $s4,0x0($s8) +/* f016838: 10410003 */ beq $v0,$at,.PF0f016848 +/* f01683c: 2415ffff */ li $s5,-1 +/* f016840: 24015649 */ li $at,0x5649 +/* f016844: 14410015 */ bne $v0,$at,.PF0f01689c +.PF0f016848: +/* f016848: 3c188009 */ lui $t8,0x8009 +/* f01684c: 93181040 */ lbu $t8,0x1040($t8) +/* f016850: 24010001 */ li $at,0x1 +/* f016854: 26d6000a */ addiu $s6,$s6,0xa +/* f016858: 17010005 */ bne $t8,$at,.PF0f016870 +/* f01685c: 240f5649 */ li $t7,0x5649 +/* f016860: 240b564a */ li $t3,0x564a +/* f016864: a62b000a */ sh $t3,0xa($s1) +/* f016868: 1000000c */ b .PF0f01689c +/* f01686c: 86230008 */ lh $v1,0x8($s1) +.PF0f016870: +/* f016870: a62f000a */ sh $t7,0xa($s1) +/* f016874: 10000009 */ b .PF0f01689c +/* f016878: 86230008 */ lh $v1,0x8($s1) +/* f01687c: 3c138008 */ lui $s3,0x8008 +/* f016880: 3c148008 */ lui $s4,0x8008 +/* f016884: 8e730070 */ lw $s3,0x70($s3) +/* f016888: 8e94006c */ lw $s4,0x6c($s4) +/* f01688c: 10000003 */ b .PF0f01689c +/* f016890: 2415ffff */ li $s5,-1 +.PF0f016894: +/* f016894: 8ef30000 */ lw $s3,0x0($s7) +/* f016898: 8fd40000 */ lw $s4,0x0($s8) +.PF0f01689c: +/* f01689c: 24010003 */ li $at,0x3 +/* f0168a0: 54610015 */ bnel $v1,$at,.PF0f0168f8 +/* f0168a4: 24010004 */ li $at,0x4 +/* f0168a8: 0fc55125 */ jal 0xf154494 +/* f0168ac: 8fa40130 */ lw $a0,0x130($sp) +/* f0168b0: 0c002e53 */ jal 0xb94c +/* f0168b4: afa20130 */ sw $v0,0x130($sp) +/* f0168b8: 86260002 */ lh $a2,0x2($s1) +/* f0168bc: 3c0c7f7f */ lui $t4,0x7f7f +/* f0168c0: 358cff7f */ ori $t4,$t4,0xff7f +/* f0168c4: 86250000 */ lh $a1,0x0($s1) +/* f0168c8: 24ce0002 */ addiu $t6,$a2,0x2 +/* f0168cc: afae0010 */ sw $t6,0x10($sp) +/* f0168d0: afac0014 */ sw $t4,0x14($sp) +/* f0168d4: 8fa40130 */ lw $a0,0x130($sp) +/* f0168d8: 0fc551d2 */ jal 0xf154748 +/* f0168dc: 00403825 */ move $a3,$v0 +/* f0168e0: afa20130 */ sw $v0,0x130($sp) +/* f0168e4: 0fc550cf */ jal 0xf15433c +/* f0168e8: 00402025 */ move $a0,$v0 +/* f0168ec: 10000133 */ b .PF0f016dbc +/* f0168f0: afa20130 */ sw $v0,0x130($sp) +/* f0168f4: 24010004 */ li $at,0x4 +.PF0f0168f8: +/* f0168f8: 54610075 */ bnel $v1,$at,.PF0f016ad0 +/* f0168fc: 24010007 */ li $at,0x7 +/* f016900: 0fc55125 */ jal 0xf154494 +/* f016904: 8fa40130 */ lw $a0,0x130($sp) +/* f016908: 244d0008 */ addiu $t5,$v0,0x8 +/* f01690c: afad0130 */ sw $t5,0x130($sp) +/* f016910: 3c19e700 */ lui $t9,0xe700 +/* f016914: ac590000 */ sw $t9,0x0($v0) +/* f016918: ac400004 */ sw $zero,0x4($v0) +/* f01691c: 8fb80130 */ lw $t8,0x130($sp) +/* f016920: 3c0fba00 */ lui $t7,0xba00 +/* f016924: 35ef1301 */ ori $t7,$t7,0x1301 +/* f016928: 270b0008 */ addiu $t3,$t8,0x8 +/* f01692c: afab0130 */ sw $t3,0x130($sp) +/* f016930: af000004 */ sw $zero,0x4($t8) +/* f016934: af0f0000 */ sw $t7,0x0($t8) +/* f016938: 8fae0130 */ lw $t6,0x130($sp) +/* f01693c: 3c0db900 */ lui $t5,0xb900 +/* f016940: 35ad0002 */ ori $t5,$t5,0x2 +/* f016944: 25cc0008 */ addiu $t4,$t6,0x8 +/* f016948: afac0130 */ sw $t4,0x130($sp) +/* f01694c: adc00004 */ sw $zero,0x4($t6) +/* f016950: adcd0000 */ sw $t5,0x0($t6) +/* f016954: 8fb90130 */ lw $t9,0x130($sp) +/* f016958: 3c0bba00 */ lui $t3,0xba00 +/* f01695c: 356b1001 */ ori $t3,$t3,0x1001 +/* f016960: 27380008 */ addiu $t8,$t9,0x8 +/* f016964: afb80130 */ sw $t8,0x130($sp) +/* f016968: af200004 */ sw $zero,0x4($t9) +/* f01696c: af2b0000 */ sw $t3,0x0($t9) +/* f016970: 8faf0130 */ lw $t7,0x130($sp) +/* f016974: 3c0cba00 */ lui $t4,0xba00 +/* f016978: 358c0903 */ ori $t4,$t4,0x903 +/* f01697c: 25ee0008 */ addiu $t6,$t7,0x8 +/* f016980: afae0130 */ sw $t6,0x130($sp) +/* f016984: 240d0c00 */ li $t5,0xc00 +/* f016988: 3c05800b */ lui $a1,0x800b +/* f01698c: aded0004 */ sw $t5,0x4($t7) +/* f016990: adec0000 */ sw $t4,0x0($t7) +/* f016994: 8ca5bb48 */ lw $a1,-0x44b8($a1) +/* f016998: 24190002 */ li $t9,0x2 +/* f01699c: 24180001 */ li $t8,0x1 +/* f0169a0: afb80014 */ sw $t8,0x14($sp) +/* f0169a4: afb90010 */ sw $t9,0x10($sp) +/* f0169a8: afa00018 */ sw $zero,0x18($sp) +/* f0169ac: 27a40130 */ addiu $a0,$sp,0x130 +/* f0169b0: 24060001 */ li $a2,0x1 +/* f0169b4: 00003825 */ move $a3,$zero +/* f0169b8: 0fc2cfb8 */ jal 0xf0b3ee0 +/* f0169bc: 24a50234 */ addiu $a1,$a1,0x234 +/* f0169c0: 8fab0130 */ lw $t3,0x130($sp) +/* f0169c4: 3c0eba00 */ lui $t6,0xba00 +/* f0169c8: 35ce1402 */ ori $t6,$t6,0x1402 +/* f0169cc: 256f0008 */ addiu $t7,$t3,0x8 +/* f0169d0: afaf0130 */ sw $t7,0x130($sp) +/* f0169d4: ad600004 */ sw $zero,0x4($t3) +/* f0169d8: ad6e0000 */ sw $t6,0x0($t3) +/* f0169dc: 8fac0130 */ lw $t4,0x130($sp) +/* f0169e0: 3c19fcff */ lui $t9,0xfcff +/* f0169e4: 3c18fffc */ lui $t8,0xfffc +/* f0169e8: 258d0008 */ addiu $t5,$t4,0x8 +/* f0169ec: afad0130 */ sw $t5,0x130($sp) +/* f0169f0: 3718f279 */ ori $t8,$t8,0xf279 +/* f0169f4: 3739ffff */ ori $t9,$t9,0xffff +/* f0169f8: ad990000 */ sw $t9,0x0($t4) +/* f0169fc: ad980004 */ sw $t8,0x4($t4) +/* f016a00: 8fab0130 */ lw $t3,0x130($sp) +/* f016a04: 3c0eba00 */ lui $t6,0xba00 +/* f016a08: 35ce0c02 */ ori $t6,$t6,0xc02 +/* f016a0c: 256f0008 */ addiu $t7,$t3,0x8 +/* f016a10: afaf0130 */ sw $t7,0x130($sp) +/* f016a14: ad600004 */ sw $zero,0x4($t3) +/* f016a18: ad6e0000 */ sw $t6,0x0($t3) +/* f016a1c: 8fa50130 */ lw $a1,0x130($sp) +/* f016a20: 3c01e400 */ lui $at,0xe400 +/* f016a24: 24ad0008 */ addiu $t5,$a1,0x8 +/* f016a28: afad0130 */ sw $t5,0x130($sp) +/* f016a2c: 86390000 */ lh $t9,0x0($s1) +/* f016a30: 862d0002 */ lh $t5,0x2($s1) +/* f016a34: 27380040 */ addiu $t8,$t9,0x40 +/* f016a38: 00185880 */ sll $t3,$t8,0x2 +/* f016a3c: 316f0fff */ andi $t7,$t3,0xfff +/* f016a40: 25b90018 */ addiu $t9,$t5,0x18 +/* f016a44: 0019c080 */ sll $t8,$t9,0x2 +/* f016a48: 000f7300 */ sll $t6,$t7,0xc +/* f016a4c: 01c16025 */ or $t4,$t6,$at +/* f016a50: 330b0fff */ andi $t3,$t8,0xfff +/* f016a54: 018b7825 */ or $t7,$t4,$t3 +/* f016a58: acaf0000 */ sw $t7,0x0($a1) +/* f016a5c: 862e0000 */ lh $t6,0x0($s1) +/* f016a60: 862c0002 */ lh $t4,0x2($s1) +/* f016a64: 000e6880 */ sll $t5,$t6,0x2 +/* f016a68: 31b90fff */ andi $t9,$t5,0xfff +/* f016a6c: 000c5880 */ sll $t3,$t4,0x2 +/* f016a70: 316f0fff */ andi $t7,$t3,0xfff +/* f016a74: 0019c300 */ sll $t8,$t9,0xc +/* f016a78: 030f7025 */ or $t6,$t8,$t7 +/* f016a7c: acae0004 */ sw $t6,0x4($a1) +/* f016a80: 8fad0130 */ lw $t5,0x130($sp) +/* f016a84: 240b0300 */ li $t3,0x300 +/* f016a88: 3c0cb400 */ lui $t4,0xb400 +/* f016a8c: 25b90008 */ addiu $t9,$t5,0x8 +/* f016a90: afb90130 */ sw $t9,0x130($sp) +/* f016a94: adab0004 */ sw $t3,0x4($t5) +/* f016a98: adac0000 */ sw $t4,0x0($t5) +/* f016a9c: 8fb80130 */ lw $t8,0x130($sp) +/* f016aa0: 3c0d0400 */ lui $t5,0x400 +/* f016aa4: 35adfc00 */ ori $t5,$t5,0xfc00 +/* f016aa8: 270f0008 */ addiu $t7,$t8,0x8 +/* f016aac: afaf0130 */ sw $t7,0x130($sp) +/* f016ab0: 3c0eb300 */ lui $t6,0xb300 +/* f016ab4: af0e0000 */ sw $t6,0x0($t8) +/* f016ab8: af0d0004 */ sw $t5,0x4($t8) +/* f016abc: 0fc550cf */ jal 0xf15433c +/* f016ac0: 8fa40130 */ lw $a0,0x130($sp) +/* f016ac4: 100000bd */ b .PF0f016dbc +/* f016ac8: afa20130 */ sw $v0,0x130($sp) +/* f016acc: 24010007 */ li $at,0x7 +.PF0f016ad0: +/* f016ad0: 54610075 */ bnel $v1,$at,.PF0f016ca8 +/* f016ad4: 86230000 */ lh $v1,0x0($s1) +/* f016ad8: 0fc55125 */ jal 0xf154494 +/* f016adc: 8fa40130 */ lw $a0,0x130($sp) +/* f016ae0: 24590008 */ addiu $t9,$v0,0x8 +/* f016ae4: afb90130 */ sw $t9,0x130($sp) +/* f016ae8: 3c0ce700 */ lui $t4,0xe700 +/* f016aec: ac4c0000 */ sw $t4,0x0($v0) +/* f016af0: ac400004 */ sw $zero,0x4($v0) +/* f016af4: 8fab0130 */ lw $t3,0x130($sp) +/* f016af8: 3c0fba00 */ lui $t7,0xba00 +/* f016afc: 35ef1301 */ ori $t7,$t7,0x1301 +/* f016b00: 25780008 */ addiu $t8,$t3,0x8 +/* f016b04: afb80130 */ sw $t8,0x130($sp) +/* f016b08: ad600004 */ sw $zero,0x4($t3) +/* f016b0c: ad6f0000 */ sw $t7,0x0($t3) +/* f016b10: 8fae0130 */ lw $t6,0x130($sp) +/* f016b14: 3c19b900 */ lui $t9,0xb900 +/* f016b18: 37390002 */ ori $t9,$t9,0x2 +/* f016b1c: 25cd0008 */ addiu $t5,$t6,0x8 +/* f016b20: afad0130 */ sw $t5,0x130($sp) +/* f016b24: adc00004 */ sw $zero,0x4($t6) +/* f016b28: add90000 */ sw $t9,0x0($t6) +/* f016b2c: 8fac0130 */ lw $t4,0x130($sp) +/* f016b30: 3c18ba00 */ lui $t8,0xba00 +/* f016b34: 37181001 */ ori $t8,$t8,0x1001 +/* f016b38: 258b0008 */ addiu $t3,$t4,0x8 +/* f016b3c: afab0130 */ sw $t3,0x130($sp) +/* f016b40: ad800004 */ sw $zero,0x4($t4) +/* f016b44: ad980000 */ sw $t8,0x0($t4) +/* f016b48: 8faf0130 */ lw $t7,0x130($sp) +/* f016b4c: 3c0dba00 */ lui $t5,0xba00 +/* f016b50: 35ad0903 */ ori $t5,$t5,0x903 +/* f016b54: 25ee0008 */ addiu $t6,$t7,0x8 +/* f016b58: afae0130 */ sw $t6,0x130($sp) +/* f016b5c: 24190c00 */ li $t9,0xc00 +/* f016b60: 3c05800b */ lui $a1,0x800b +/* f016b64: adf90004 */ sw $t9,0x4($t7) +/* f016b68: aded0000 */ sw $t5,0x0($t7) +/* f016b6c: 8ca5bb48 */ lw $a1,-0x44b8($a1) +/* f016b70: 240c0002 */ li $t4,0x2 +/* f016b74: 240b0001 */ li $t3,0x1 +/* f016b78: afab0014 */ sw $t3,0x14($sp) +/* f016b7c: afac0010 */ sw $t4,0x10($sp) +/* f016b80: afa00018 */ sw $zero,0x18($sp) +/* f016b84: 27a40130 */ addiu $a0,$sp,0x130 +/* f016b88: 24060001 */ li $a2,0x1 +/* f016b8c: 00003825 */ move $a3,$zero +/* f016b90: 0fc2cfb8 */ jal 0xf0b3ee0 +/* f016b94: 24a5024c */ addiu $a1,$a1,0x24c +/* f016b98: 8fb80130 */ lw $t8,0x130($sp) +/* f016b9c: 3c0eba00 */ lui $t6,0xba00 +/* f016ba0: 35ce1402 */ ori $t6,$t6,0x1402 +/* f016ba4: 270f0008 */ addiu $t7,$t8,0x8 +/* f016ba8: afaf0130 */ sw $t7,0x130($sp) +/* f016bac: af000004 */ sw $zero,0x4($t8) +/* f016bb0: af0e0000 */ sw $t6,0x0($t8) +/* f016bb4: 8fad0130 */ lw $t5,0x130($sp) +/* f016bb8: 3c0cfcff */ lui $t4,0xfcff +/* f016bbc: 3c0bfffc */ lui $t3,0xfffc +/* f016bc0: 25b90008 */ addiu $t9,$t5,0x8 +/* f016bc4: afb90130 */ sw $t9,0x130($sp) +/* f016bc8: 356bf279 */ ori $t3,$t3,0xf279 +/* f016bcc: 358cffff */ ori $t4,$t4,0xffff +/* f016bd0: adac0000 */ sw $t4,0x0($t5) +/* f016bd4: adab0004 */ sw $t3,0x4($t5) +/* f016bd8: 8fb80130 */ lw $t8,0x130($sp) +/* f016bdc: 3c0eba00 */ lui $t6,0xba00 +/* f016be0: 35ce0c02 */ ori $t6,$t6,0xc02 +/* f016be4: 270f0008 */ addiu $t7,$t8,0x8 +/* f016be8: afaf0130 */ sw $t7,0x130($sp) +/* f016bec: af000004 */ sw $zero,0x4($t8) +/* f016bf0: af0e0000 */ sw $t6,0x0($t8) +/* f016bf4: 8fa50130 */ lw $a1,0x130($sp) +/* f016bf8: 3c01e400 */ lui $at,0xe400 +/* f016bfc: 24b90008 */ addiu $t9,$a1,0x8 +/* f016c00: afb90130 */ sw $t9,0x130($sp) +/* f016c04: 862c0000 */ lh $t4,0x0($s1) +/* f016c08: 86390002 */ lh $t9,0x2($s1) +/* f016c0c: 258b0020 */ addiu $t3,$t4,0x20 +/* f016c10: 000bc080 */ sll $t8,$t3,0x2 +/* f016c14: 330f0fff */ andi $t7,$t8,0xfff +/* f016c18: 272c002a */ addiu $t4,$t9,0x2a +/* f016c1c: 000c5880 */ sll $t3,$t4,0x2 +/* f016c20: 000f7300 */ sll $t6,$t7,0xc +/* f016c24: 01c16825 */ or $t5,$t6,$at +/* f016c28: 31780fff */ andi $t8,$t3,0xfff +/* f016c2c: 01b87825 */ or $t7,$t5,$t8 +/* f016c30: acaf0000 */ sw $t7,0x0($a1) +/* f016c34: 862e0000 */ lh $t6,0x0($s1) +/* f016c38: 862d0002 */ lh $t5,0x2($s1) +/* f016c3c: 000ec880 */ sll $t9,$t6,0x2 +/* f016c40: 332c0fff */ andi $t4,$t9,0xfff +/* f016c44: 000dc080 */ sll $t8,$t5,0x2 +/* f016c48: 330f0fff */ andi $t7,$t8,0xfff +/* f016c4c: 000c5b00 */ sll $t3,$t4,0xc +/* f016c50: 016f7025 */ or $t6,$t3,$t7 +/* f016c54: acae0004 */ sw $t6,0x4($a1) +/* f016c58: 8fb90130 */ lw $t9,0x130($sp) +/* f016c5c: 24180540 */ li $t8,0x540 +/* f016c60: 3c0db400 */ lui $t5,0xb400 +/* f016c64: 272c0008 */ addiu $t4,$t9,0x8 +/* f016c68: afac0130 */ sw $t4,0x130($sp) +/* f016c6c: af380004 */ sw $t8,0x4($t9) +/* f016c70: af2d0000 */ sw $t5,0x0($t9) +/* f016c74: 8fab0130 */ lw $t3,0x130($sp) +/* f016c78: 3c190400 */ lui $t9,0x400 +/* f016c7c: 3739fc00 */ ori $t9,$t9,0xfc00 +/* f016c80: 256f0008 */ addiu $t7,$t3,0x8 +/* f016c84: afaf0130 */ sw $t7,0x130($sp) +/* f016c88: 3c0eb300 */ lui $t6,0xb300 +/* f016c8c: ad6e0000 */ sw $t6,0x0($t3) +/* f016c90: ad790004 */ sw $t9,0x4($t3) +/* f016c94: 0fc550cf */ jal 0xf15433c +/* f016c98: 8fa40130 */ lw $a0,0x130($sp) +/* f016c9c: 10000047 */ b .PF0f016dbc +/* f016ca0: afa20130 */ sw $v0,0x130($sp) +/* f016ca4: 86230000 */ lh $v1,0x0($s1) +.PF0f016ca8: +/* f016ca8: 2401ffff */ li $at,-1 +/* f016cac: 54610004 */ bnel $v1,$at,.PF0f016cc0 +/* f016cb0: afa300e0 */ sw $v1,0xe0($sp) +/* f016cb4: 10000002 */ b .PF0f016cc0 +/* f016cb8: afb600e0 */ sw $s6,0xe0($sp) +/* f016cbc: afa300e0 */ sw $v1,0xe0($sp) +.PF0f016cc0: +/* f016cc0: 862c0002 */ lh $t4,0x2($s1) +/* f016cc4: 258dffff */ addiu $t5,$t4,-1 +/* f016cc8: afad00dc */ sw $t5,0xdc($sp) +/* f016ccc: 0fc5bdaa */ jal 0xf16f6a8 +/* f016cd0: 9624000a */ lhu $a0,0xa($s1) +/* f016cd4: 0c002e53 */ jal 0xb94c +/* f016cd8: 00409025 */ move $s2,$v0 +/* f016cdc: 00028400 */ sll $s0,$v0,0x10 +/* f016ce0: 0010c403 */ sra $t8,$s0,0x10 +/* f016ce4: 0c002e57 */ jal 0xb95c +/* f016ce8: 03008025 */ move $s0,$t8 +/* f016cec: 2401ff00 */ li $at,-256 +/* f016cf0: 02a15824 */ and $t3,$s5,$at +/* f016cf4: 32af00ff */ andi $t7,$s5,0xff +/* f016cf8: 000f7040 */ sll $t6,$t7,0x1 +/* f016cfc: 24010003 */ li $at,0x3 +/* f016d00: 01c1001b */ divu $zero,$t6,$at +/* f016d04: 0000c812 */ mflo $t9 +/* f016d08: 01796025 */ or $t4,$t3,$t9 +/* f016d0c: afac0018 */ sw $t4,0x18($sp) +/* f016d10: 8fa40130 */ lw $a0,0x130($sp) +/* f016d14: 27a500e0 */ addiu $a1,$sp,0xe0 +/* f016d18: 27a600dc */ addiu $a2,$sp,0xdc +/* f016d1c: 02403825 */ move $a3,$s2 +/* f016d20: afb30010 */ sw $s3,0x10($sp) +/* f016d24: afb40014 */ sw $s4,0x14($sp) +/* f016d28: afb0001c */ sw $s0,0x1c($sp) +/* f016d2c: afa20020 */ sw $v0,0x20($sp) +/* f016d30: afa00024 */ sw $zero,0x24($sp) +/* f016d34: 0fc55c50 */ jal 0xf157140 +/* f016d38: afa00028 */ sw $zero,0x28($sp) +/* f016d3c: afa20130 */ sw $v0,0x130($sp) +/* f016d40: 86230000 */ lh $v1,0x0($s1) +/* f016d44: 2401ffff */ li $at,-1 +/* f016d48: 54610004 */ bnel $v1,$at,.PF0f016d5c +/* f016d4c: afa300e0 */ sw $v1,0xe0($sp) +/* f016d50: 10000002 */ b .PF0f016d5c +/* f016d54: afb600e0 */ sw $s6,0xe0($sp) +/* f016d58: afa300e0 */ sw $v1,0xe0($sp) +.PF0f016d5c: +/* f016d5c: 862d0002 */ lh $t5,0x2($s1) +/* f016d60: afad00dc */ sw $t5,0xdc($sp) +/* f016d64: 0fc5bdaa */ jal 0xf16f6a8 +/* f016d68: 9624000a */ lhu $a0,0xa($s1) +/* f016d6c: 0c002e53 */ jal 0xb94c +/* f016d70: 00409025 */ move $s2,$v0 +/* f016d74: 00028400 */ sll $s0,$v0,0x10 +/* f016d78: 0010c403 */ sra $t8,$s0,0x10 +/* f016d7c: 0c002e57 */ jal 0xb95c +/* f016d80: 03008025 */ move $s0,$t8 +/* f016d84: 8fa40130 */ lw $a0,0x130($sp) +/* f016d88: 27a500e0 */ addiu $a1,$sp,0xe0 +/* f016d8c: 27a600dc */ addiu $a2,$sp,0xdc +/* f016d90: 02403825 */ move $a3,$s2 +/* f016d94: afb30010 */ sw $s3,0x10($sp) +/* f016d98: afb40014 */ sw $s4,0x14($sp) +/* f016d9c: afb50018 */ sw $s5,0x18($sp) +/* f016da0: afb0001c */ sw $s0,0x1c($sp) +/* f016da4: afa20020 */ sw $v0,0x20($sp) +/* f016da8: afa00024 */ sw $zero,0x24($sp) +/* f016dac: 0fc55c50 */ jal 0xf157140 +/* f016db0: afa00028 */ sw $zero,0x28($sp) +/* f016db4: afa20130 */ sw $v0,0x130($sp) +/* f016db8: 8fb600e0 */ lw $s6,0xe0($sp) +.PF0f016dbc: +/* f016dbc: 8faf0124 */ lw $t7,0x124($sp) +/* f016dc0: 2631000c */ addiu $s1,$s1,0xc +/* f016dc4: 022f082b */ sltu $at,$s1,$t7 +/* f016dc8: 5420fe80 */ bnezl $at,.PF0f0167cc +/* f016dcc: 86230008 */ lh $v1,0x8($s1) +/* f016dd0: 0fc55125 */ jal 0xf154494 +/* f016dd4: 8fa40130 */ lw $a0,0x130($sp) +/* f016dd8: afa20130 */ sw $v0,0x130($sp) +/* f016ddc: 8fbf005c */ lw $ra,0x5c($sp) +.PF0f016de0: +/* f016de0: 8fa20130 */ lw $v0,0x130($sp) +/* f016de4: 8fb00038 */ lw $s0,0x38($sp) +/* f016de8: 8fb1003c */ lw $s1,0x3c($sp) +/* f016dec: 8fb20040 */ lw $s2,0x40($sp) +/* f016df0: 8fb30044 */ lw $s3,0x44($sp) +/* f016df4: 8fb40048 */ lw $s4,0x48($sp) +/* f016df8: 8fb5004c */ lw $s5,0x4c($sp) +/* f016dfc: 8fb60050 */ lw $s6,0x50($sp) +/* f016e00: 8fb70054 */ lw $s7,0x54($sp) +/* f016e04: 8fbe0058 */ lw $s8,0x58($sp) +/* f016e08: 03e00008 */ jr $ra +/* f016e0c: 27bd0130 */ addiu $sp,$sp,0x130 +); +#else GLOBAL_ASM( glabel titleRenderLegal .late_rodata @@ -971,6 +1438,7 @@ glabel var7f1a83e4 /* f016d2c: 03e00008 */ jr $ra /* f016d30: 27bd0128 */ addiu $sp,$sp,0x128 ); +#endif u32 var80062738 = 0; u32 var8006273c = 0; @@ -1949,6 +2417,1284 @@ void func0f017980(void) musicStartTemporaryPrimary(1); } +#if VERSION >= VERSION_PAL_FINAL +GLOBAL_ASM( +glabel titleRenderPdLogo +/* f017b9c: 27bdfcd0 */ addiu $sp,$sp,-816 +/* f017ba0: 3c0f8006 */ lui $t7,0x8006 +/* f017ba4: 3c028006 */ lui $v0,0x8006 +/* f017ba8: 25ef24e8 */ addiu $t7,$t7,0x24e8 +/* f017bac: 24422400 */ addiu $v0,$v0,0x2400 +/* f017bb0: afbf0034 */ sw $ra,0x34($sp) +/* f017bb4: afa40330 */ sw $a0,0x330($sp) +/* f017bb8: 25f9003c */ addiu $t9,$t7,0x3c +/* f017bbc: 27ae02f0 */ addiu $t6,$sp,0x2f0 +.PF0f017bc0: +/* f017bc0: 8de10000 */ lw $at,0x0($t7) +/* f017bc4: 25ef000c */ addiu $t7,$t7,0xc +/* f017bc8: 25ce000c */ addiu $t6,$t6,0xc +/* f017bcc: adc1fff4 */ sw $at,-0xc($t6) +/* f017bd0: 8de1fff8 */ lw $at,-0x8($t7) +/* f017bd4: adc1fff8 */ sw $at,-0x8($t6) +/* f017bd8: 8de1fffc */ lw $at,-0x4($t7) +/* f017bdc: 15f9fff8 */ bne $t7,$t9,.PF0f017bc0 +/* f017be0: adc1fffc */ sw $at,-0x4($t6) +/* f017be4: 8de10000 */ lw $at,0x0($t7) +/* f017be8: 3c188006 */ lui $t8,0x8006 +/* f017bec: 3c048006 */ lui $a0,0x8006 +/* f017bf0: adc10000 */ sw $at,0x0($t6) +/* f017bf4: 8f182194 */ lw $t8,0x2194($t8) +/* f017bf8: 3c017f1b */ lui $at,0x7f1b +/* f017bfc: c4289610 */ lwc1 $f8,-0x69f0($at) +/* f017c00: 44982000 */ mtc1 $t8,$f4 +/* f017c04: 3c017f1b */ lui $at,0x7f1b +/* f017c08: 8c590000 */ lw $t9,0x0($v0) +/* f017c0c: 468021a0 */ cvt.s.w $f6,$f4 +/* f017c10: c4249614 */ lwc1 $f4,-0x69ec($at) +/* f017c14: 3c098006 */ lui $t1,0x8006 +/* f017c18: 3c0a8006 */ lui $t2,0x8006 +/* f017c1c: 3c0c8006 */ lui $t4,0x8006 +/* f017c20: 3c0d8006 */ lui $t5,0x8006 +/* f017c24: 46083283 */ div.s $f10,$f6,$f8 +/* f017c28: 3c0b8006 */ lui $t3,0x8006 +/* f017c2c: 25ad24d0 */ addiu $t5,$t5,0x24d0 +/* f017c30: 258c24c0 */ addiu $t4,$t4,0x24c0 +/* f017c34: 254a24b0 */ addiu $t2,$t2,0x24b0 +/* f017c38: 252924a4 */ addiu $t1,$t1,0x24a4 +/* f017c3c: 3c013f80 */ lui $at,0x3f80 +/* f017c40: 2484249c */ addiu $a0,$a0,0x249c +/* f017c44: 24030001 */ li $v1,0x1 +/* f017c48: 256b2494 */ addiu $t3,$t3,0x2494 +/* f017c4c: 46045181 */ sub.s $f6,$f10,$f4 +/* f017c50: 13200041 */ beqz $t9,.PF0f017d58 +/* f017c54: e7a6013c */ swc1 $f6,0x13c($sp) +/* f017c58: 44817000 */ mtc1 $at,$f14 +/* f017c5c: 3c017f1b */ lui $at,0x7f1b +/* f017c60: c4289618 */ lwc1 $f8,-0x69e8($at) +/* f017c64: 3c018006 */ lui $at,0x8006 +/* f017c68: 44809000 */ mtc1 $zero,$f18 +/* f017c6c: e4282478 */ swc1 $f8,0x2478($at) +/* f017c70: 3c017f1b */ lui $at,0x7f1b +/* f017c74: c42a961c */ lwc1 $f10,-0x69e4($at) +/* f017c78: 3c018006 */ lui $at,0x8006 +/* f017c7c: 3c1f8006 */ lui $ra,0x8006 +/* f017c80: e42a247c */ swc1 $f10,0x247c($at) +/* f017c84: 3c017f1b */ lui $at,0x7f1b +/* f017c88: c4249620 */ lwc1 $f4,-0x69e0($at) +/* f017c8c: 3c018006 */ lui $at,0x8006 +/* f017c90: 27ff24a8 */ addiu $ra,$ra,0x24a8 +/* f017c94: e4242480 */ swc1 $f4,0x2480($at) +/* f017c98: 3c018006 */ lui $at,0x8006 +/* f017c9c: e4322484 */ swc1 $f18,0x2484($at) +/* f017ca0: 3c017f1b */ lui $at,0x7f1b +/* f017ca4: c4269624 */ lwc1 $f6,-0x69dc($at) +/* f017ca8: 3c018006 */ lui $at,0x8006 +/* f017cac: 240fffff */ li $t7,-1 +/* f017cb0: e4262488 */ swc1 $f6,0x2488($at) +/* f017cb4: 3c018006 */ lui $at,0x8006 +/* f017cb8: e432248c */ swc1 $f18,0x248c($at) +/* f017cbc: 3c018006 */ lui $at,0x8006 +/* f017cc0: ac202490 */ sw $zero,0x2490($at) +/* f017cc4: 3c018006 */ lui $at,0x8006 +/* f017cc8: e42e2498 */ swc1 $f14,0x2498($at) +/* f017ccc: ac400000 */ sw $zero,0x0($v0) +/* f017cd0: ac830000 */ sw $v1,0x0($a0) +/* f017cd4: 3c018006 */ lui $at,0x8006 +/* f017cd8: ac2024a0 */ sw $zero,0x24a0($at) +/* f017cdc: ad200000 */ sw $zero,0x0($t1) +/* f017ce0: afe00000 */ sw $zero,0x0($ra) +/* f017ce4: 3c018006 */ lui $at,0x8006 +/* f017ce8: ac2024ac */ sw $zero,0x24ac($at) +/* f017cec: ad400000 */ sw $zero,0x0($t2) +/* f017cf0: 3c018006 */ lui $at,0x8006 +/* f017cf4: ac2024b4 */ sw $zero,0x24b4($at) +/* f017cf8: 3c018006 */ lui $at,0x8006 +/* f017cfc: ac2024b8 */ sw $zero,0x24b8($at) +/* f017d00: 3c018006 */ lui $at,0x8006 +/* f017d04: ac2324d4 */ sw $v1,0x24d4($at) +/* f017d08: 3c018006 */ lui $at,0x8006 +/* f017d0c: ac2024bc */ sw $zero,0x24bc($at) +/* f017d10: ad800000 */ sw $zero,0x0($t4) +/* f017d14: 3c018006 */ lui $at,0x8006 +/* f017d18: e43224c4 */ swc1 $f18,0x24c4($at) +/* f017d1c: 3c018006 */ lui $at,0x8006 +/* f017d20: ac2024cc */ sw $zero,0x24cc($at) +/* f017d24: 3c018006 */ lui $at,0x8006 +/* f017d28: ac2f24c8 */ sw $t7,0x24c8($at) +/* f017d2c: ada00000 */ sw $zero,0x0($t5) +/* f017d30: 3c018006 */ lui $at,0x8006 +/* f017d34: ac2024dc */ sw $zero,0x24dc($at) +/* f017d38: 3c017f1b */ lui $at,0x7f1b +/* f017d3c: c4289628 */ lwc1 $f8,-0x69d8($at) +/* f017d40: 3c018006 */ lui $at,0x8006 +/* f017d44: e42824d8 */ swc1 $f8,0x24d8($at) +/* f017d48: 3c018006 */ lui $at,0x8006 +/* f017d4c: ac2024e0 */ sw $zero,0x24e0($at) +/* f017d50: 3c018006 */ lui $at,0x8006 +/* f017d54: e43224e4 */ swc1 $f18,0x24e4($at) +.PF0f017d58: +/* f017d58: 3c048006 */ lui $a0,0x8006 +/* f017d5c: 2484249c */ addiu $a0,$a0,0x249c +/* f017d60: 8c820000 */ lw $v0,0x0($a0) +/* f017d64: 3c013f80 */ lui $at,0x3f80 +/* f017d68: 44817000 */ mtc1 $at,$f14 +/* f017d6c: 3c098006 */ lui $t1,0x8006 +/* f017d70: 3c0a8006 */ lui $t2,0x8006 +/* f017d74: 3c0c8006 */ lui $t4,0x8006 +/* f017d78: 3c0d8006 */ lui $t5,0x8006 +/* f017d7c: 3c1f8006 */ lui $ra,0x8006 +/* f017d80: 44809000 */ mtc1 $zero,$f18 +/* f017d84: 27ff24a8 */ addiu $ra,$ra,0x24a8 +/* f017d88: 25ad24d0 */ addiu $t5,$t5,0x24d0 +/* f017d8c: 258c24c0 */ addiu $t4,$t4,0x24c0 +/* f017d90: 254a24b0 */ addiu $t2,$t2,0x24b0 +/* f017d94: 252924a4 */ addiu $t1,$t1,0x24a4 +/* f017d98: 10400009 */ beqz $v0,.PF0f017dc0 +/* f017d9c: 24030001 */ li $v1,0x1 +/* f017da0: 244e0001 */ addiu $t6,$v0,0x1 +/* f017da4: 29c10004 */ slti $at,$t6,0x4 +/* f017da8: 14200005 */ bnez $at,.PF0f017dc0 +/* f017dac: ac8e0000 */ sw $t6,0x0($a0) +/* f017db0: ac800000 */ sw $zero,0x0($a0) +/* f017db4: 3c018006 */ lui $at,0x8006 +/* f017db8: ac2324a0 */ sw $v1,0x24a0($at) +/* f017dbc: ad230000 */ sw $v1,0x0($t1) +.PF0f017dc0: +/* f017dc0: 3c198006 */ lui $t9,0x8006 +/* f017dc4: 8f3924b4 */ lw $t9,0x24b4($t9) +/* f017dc8: 3c018006 */ lui $at,0x8006 +/* f017dcc: 13200049 */ beqz $t9,.PF0f017ef4 +/* f017dd0: 00000000 */ nop +/* f017dd4: c4202478 */ lwc1 $f0,0x2478($at) +/* f017dd8: c5620000 */ lwc1 $f2,0x0($t3) +/* f017ddc: 3c048006 */ lui $a0,0x8006 +/* f017de0: 3c068006 */ lui $a2,0x8006 +/* f017de4: 4602003c */ c.lt.s $f0,$f2 +/* f017de8: 3c017f1b */ lui $at,0x7f1b +/* f017dec: 24c6247c */ addiu $a2,$a2,0x247c +/* f017df0: 24842478 */ addiu $a0,$a0,0x2478 +/* f017df4: 45020038 */ bc1fl .PF0f017ed8 +/* f017df8: 4600103e */ c.le.s $f2,$f0 +/* f017dfc: c420962c */ lwc1 $f0,-0x69d4($at) +/* f017e00: 3c017f1b */ lui $at,0x7f1b +/* f017e04: c42a9630 */ lwc1 $f10,-0x69d0($at) +/* f017e08: 44051000 */ mfc1 $a1,$f2 +/* f017e0c: 44070000 */ mfc1 $a3,$f0 +/* f017e10: e7a00010 */ swc1 $f0,0x10($sp) +/* f017e14: 0fc1b6e5 */ jal 0xf06db94 +/* f017e18: e7aa0014 */ swc1 $f10,0x14($sp) +/* f017e1c: 3c028006 */ lui $v0,0x8006 +/* f017e20: 3c0b8006 */ lui $t3,0x8006 +/* f017e24: 256b2494 */ addiu $t3,$t3,0x2494 +/* f017e28: 24422478 */ addiu $v0,$v0,0x2478 +/* f017e2c: c4400000 */ lwc1 $f0,0x0($v0) +/* f017e30: c5620000 */ lwc1 $f2,0x0($t3) +/* f017e34: 3c098006 */ lui $t1,0x8006 +/* f017e38: 3c0a8006 */ lui $t2,0x8006 +/* f017e3c: 4600103e */ c.le.s $f2,$f0 +/* f017e40: 3c0c8006 */ lui $t4,0x8006 +/* f017e44: 3c0d8006 */ lui $t5,0x8006 +/* f017e48: 3c1f8006 */ lui $ra,0x8006 +/* f017e4c: 44809000 */ mtc1 $zero,$f18 +/* f017e50: 27ff24a8 */ addiu $ra,$ra,0x24a8 +/* f017e54: 25ad24d0 */ addiu $t5,$t5,0x24d0 +/* f017e58: 258c24c0 */ addiu $t4,$t4,0x24c0 +/* f017e5c: 254a24b0 */ addiu $t2,$t2,0x24b0 +/* f017e60: 45000005 */ bc1f .PF0f017e78 +/* f017e64: 252924a4 */ addiu $t1,$t1,0x24a4 +/* f017e68: e4420000 */ swc1 $f2,0x0($v0) +/* f017e6c: 3c018006 */ lui $at,0x8006 +/* f017e70: e432247c */ swc1 $f18,0x247c($at) +/* f017e74: c4400000 */ lwc1 $f0,0x0($v0) +.PF0f017e78: +/* f017e78: 3c017f1b */ lui $at,0x7f1b +/* f017e7c: c42c9634 */ lwc1 $f12,-0x69cc($at) +/* f017e80: 4600603e */ c.le.s $f12,$f0 +/* f017e84: 00000000 */ nop +/* f017e88: 45020009 */ bc1fl .PF0f017eb0 +/* f017e8c: 4612003c */ c.lt.s $f0,$f18 +/* f017e90: 460c0101 */ sub.s $f4,$f0,$f12 +/* f017e94: 460c1181 */ sub.s $f6,$f2,$f12 +/* f017e98: e4440000 */ swc1 $f4,0x0($v0) +/* f017e9c: c4400000 */ lwc1 $f0,0x0($v0) +/* f017ea0: e5660000 */ swc1 $f6,0x0($t3) +/* f017ea4: 1000000b */ b .PF0f017ed4 +/* f017ea8: c5620000 */ lwc1 $f2,0x0($t3) +/* f017eac: 4612003c */ c.lt.s $f0,$f18 +.PF0f017eb0: +/* f017eb0: 00000000 */ nop +/* f017eb4: 45020008 */ bc1fl .PF0f017ed8 +/* f017eb8: 4600103e */ c.le.s $f2,$f0 +/* f017ebc: 460c0200 */ add.s $f8,$f0,$f12 +/* f017ec0: 460c1280 */ add.s $f10,$f2,$f12 +/* f017ec4: e4480000 */ swc1 $f8,0x0($v0) +/* f017ec8: c4400000 */ lwc1 $f0,0x0($v0) +/* f017ecc: e56a0000 */ swc1 $f10,0x0($t3) +/* f017ed0: c5620000 */ lwc1 $f2,0x0($t3) +.PF0f017ed4: +/* f017ed4: 4600103e */ c.le.s $f2,$f0 +.PF0f017ed8: +/* f017ed8: 3c013f80 */ lui $at,0x3f80 +/* f017edc: 44817000 */ mtc1 $at,$f14 +/* f017ee0: 24030001 */ li $v1,0x1 +/* f017ee4: 45000023 */ bc1f .PF0f017f74 +/* f017ee8: 3c018006 */ lui $at,0x8006 +/* f017eec: 10000021 */ b .PF0f017f74 +/* f017ef0: ac2024b4 */ sw $zero,0x24b4($at) +.PF0f017ef4: +/* f017ef4: 3c0f8006 */ lui $t7,0x8006 +/* f017ef8: 8def24a0 */ lw $t7,0x24a0($t7) +/* f017efc: 11e0001d */ beqz $t7,.PF0f017f74 +/* f017f00: 3c08800a */ lui $t0,0x800a +/* f017f04: 2508a510 */ addiu $t0,$t0,-23280 +/* f017f08: 8d0e0038 */ lw $t6,0x38($t0) +/* f017f0c: 3c017f1b */ lui $at,0x7f1b +/* f017f10: c42c963c */ lwc1 $f12,-0x69c4($at) +/* f017f14: 448e3000 */ mtc1 $t6,$f6 +/* f017f18: 3c018006 */ lui $at,0x8006 +/* f017f1c: c424247c */ lwc1 $f4,0x247c($at) +/* f017f20: 46803220 */ cvt.s.w $f8,$f6 +/* f017f24: 3c028006 */ lui $v0,0x8006 +/* f017f28: 24422478 */ addiu $v0,$v0,0x2478 +/* f017f2c: c4460000 */ lwc1 $f6,0x0($v0) +/* f017f30: 46082282 */ mul.s $f10,$f4,$f8 +/* f017f34: 460a3100 */ add.s $f4,$f6,$f10 +/* f017f38: e4440000 */ swc1 $f4,0x0($v0) +/* f017f3c: c4400000 */ lwc1 $f0,0x0($v0) +/* f017f40: 4600603e */ c.le.s $f12,$f0 +/* f017f44: 00000000 */ nop +/* f017f48: 45020005 */ bc1fl .PF0f017f60 +/* f017f4c: 4612003c */ c.lt.s $f0,$f18 +/* f017f50: 460c0201 */ sub.s $f8,$f0,$f12 +/* f017f54: 10000007 */ b .PF0f017f74 +/* f017f58: e4480000 */ swc1 $f8,0x0($v0) +/* f017f5c: 4612003c */ c.lt.s $f0,$f18 +.PF0f017f60: +/* f017f60: 00000000 */ nop +/* f017f64: 45020004 */ bc1fl .PF0f017f78 +/* f017f68: 8d220000 */ lw $v0,0x0($t1) +/* f017f6c: 460c0180 */ add.s $f6,$f0,$f12 +/* f017f70: e4460000 */ swc1 $f6,0x0($v0) +.PF0f017f74: +/* f017f74: 8d220000 */ lw $v0,0x0($t1) +.PF0f017f78: +/* f017f78: 3c08800a */ lui $t0,0x800a +/* f017f7c: 3c0b8006 */ lui $t3,0x8006 +/* f017f80: 3c017f1b */ lui $at,0x7f1b +/* f017f84: c42c9640 */ lwc1 $f12,-0x69c0($at) +/* f017f88: 256b2494 */ addiu $t3,$t3,0x2494 +/* f017f8c: 1040001a */ beqz $v0,.PF0f017ff8 +/* f017f90: 2508a510 */ addiu $t0,$t0,-23280 +/* f017f94: 8d180038 */ lw $t8,0x38($t0) +/* f017f98: 240f0042 */ li $t7,0x42 +/* f017f9c: 3c018006 */ lui $at,0x8006 +/* f017fa0: 0058c821 */ addu $t9,$v0,$t8 +/* f017fa4: ad390000 */ sw $t9,0x0($t1) +/* f017fa8: 1b200009 */ blez $t9,.PF0f017fd0 +/* f017fac: 03201025 */ move $v0,$t9 +/* f017fb0: 44825000 */ mtc1 $v0,$f10 +/* f017fb4: 448f4000 */ mtc1 $t7,$f8 +/* f017fb8: 3c018006 */ lui $at,0x8006 +/* f017fbc: 46805120 */ cvt.s.w $f4,$f10 +/* f017fc0: 468041a0 */ cvt.s.w $f6,$f8 +/* f017fc4: 46062283 */ div.s $f10,$f4,$f6 +/* f017fc8: 10000002 */ b .PF0f017fd4 +/* f017fcc: e42a248c */ swc1 $f10,0x248c($at) +.PF0f017fd0: +/* f017fd0: e432248c */ swc1 $f18,0x248c($at) +.PF0f017fd4: +/* f017fd4: 28410043 */ slti $at,$v0,0x43 +/* f017fd8: 54200008 */ bnezl $at,.PF0f017ffc +/* f017fdc: 8fee0000 */ lw $t6,0x0($ra) +/* f017fe0: ad200000 */ sw $zero,0x0($t1) +/* f017fe4: afe30000 */ sw $v1,0x0($ra) +/* f017fe8: 3c018006 */ lui $at,0x8006 +/* f017fec: e432248c */ swc1 $f18,0x248c($at) +/* f017ff0: 3c018006 */ lui $at,0x8006 +/* f017ff4: ac232490 */ sw $v1,0x2490($at) +.PF0f017ff8: +/* f017ff8: 8fee0000 */ lw $t6,0x0($ra) +.PF0f017ffc: +/* f017ffc: 11c00019 */ beqz $t6,.PF0f018064 +/* f018000: 3c017f1b */ lui $at,0x7f1b +/* f018004: c4289644 */ lwc1 $f8,-0x69bc($at) +/* f018008: c504004c */ lwc1 $f4,0x4c($t0) +/* f01800c: 3c018006 */ lui $at,0x8006 +/* f018010: c42a248c */ lwc1 $f10,0x248c($at) +/* f018014: 46044182 */ mul.s $f6,$f8,$f4 +/* f018018: 46065000 */ add.s $f0,$f10,$f6 +/* f01801c: e420248c */ swc1 $f0,0x248c($at) +/* f018020: 3c017f1b */ lui $at,0x7f1b +/* f018024: c4249648 */ lwc1 $f4,-0x69b8($at) +/* f018028: 3c018006 */ lui $at,0x8006 +/* f01802c: 4600203e */ c.le.s $f4,$f0 +/* f018030: 00000000 */ nop +/* f018034: 45020006 */ bc1fl .PF0f018050 +/* f018038: 4600703e */ c.le.s $f14,$f0 +/* f01803c: 8d580000 */ lw $t8,0x0($t2) +/* f018040: 57000003 */ bnezl $t8,.PF0f018050 +/* f018044: 4600703e */ c.le.s $f14,$f0 +/* f018048: ad430000 */ sw $v1,0x0($t2) +/* f01804c: 4600703e */ c.le.s $f14,$f0 +.PF0f018050: +/* f018050: 00000000 */ nop +/* f018054: 45020004 */ bc1fl .PF0f018068 +/* f018058: 8d430000 */ lw $v1,0x0($t2) +/* f01805c: e42e248c */ swc1 $f14,0x248c($at) +/* f018060: afe00000 */ sw $zero,0x0($ra) +.PF0f018064: +/* f018064: 8d430000 */ lw $v1,0x0($t2) +.PF0f018068: +/* f018068: 10600064 */ beqz $v1,.PF0f0181fc +/* f01806c: 00000000 */ nop +/* f018070: 8d190038 */ lw $t9,0x38($t0) +/* f018074: 3c018006 */ lui $at,0x8006 +/* f018078: 3c048006 */ lui $a0,0x8006 +/* f01807c: 00797821 */ addu $t7,$v1,$t9 +/* f018080: ad4f0000 */ sw $t7,0x0($t2) +/* f018084: c42a2480 */ lwc1 $f10,0x2480($at) +/* f018088: 3c068006 */ lui $a2,0x8006 +/* f01808c: 3c017f1b */ lui $at,0x7f1b +/* f018090: 460a903c */ c.lt.s $f18,$f10 +/* f018094: 24c62484 */ addiu $a2,$a2,0x2484 +/* f018098: 24842480 */ addiu $a0,$a0,0x2480 +/* f01809c: 4502001f */ bc1fl .PF0f01811c +/* f0180a0: 8d430000 */ lw $v1,0x0($t2) +/* f0180a4: c420964c */ lwc1 $f0,-0x69b4($at) +/* f0180a8: 3c017f1b */ lui $at,0x7f1b +/* f0180ac: c4269650 */ lwc1 $f6,-0x69b0($at) +/* f0180b0: 44059000 */ mfc1 $a1,$f18 +/* f0180b4: 44070000 */ mfc1 $a3,$f0 +/* f0180b8: e7a00010 */ swc1 $f0,0x10($sp) +/* f0180bc: 0fc1b762 */ jal 0xf06dd88 +/* f0180c0: e7a60014 */ swc1 $f6,0x14($sp) +/* f0180c4: 3c017f1b */ lui $at,0x7f1b +/* f0180c8: c42c9654 */ lwc1 $f12,-0x69ac($at) +/* f0180cc: 3c018006 */ lui $at,0x8006 +/* f0180d0: 44809000 */ mtc1 $zero,$f18 +/* f0180d4: c4282480 */ lwc1 $f8,0x2480($at) +/* f0180d8: 3c08800a */ lui $t0,0x800a +/* f0180dc: 3c0a8006 */ lui $t2,0x8006 +/* f0180e0: 4612403e */ c.le.s $f8,$f18 +/* f0180e4: 3c0b8006 */ lui $t3,0x8006 +/* f0180e8: 3c0c8006 */ lui $t4,0x8006 +/* f0180ec: 3c0d8006 */ lui $t5,0x8006 +/* f0180f0: 25ad24d0 */ addiu $t5,$t5,0x24d0 +/* f0180f4: 258c24c0 */ addiu $t4,$t4,0x24c0 +/* f0180f8: 256b2494 */ addiu $t3,$t3,0x2494 +/* f0180fc: 254a24b0 */ addiu $t2,$t2,0x24b0 +/* f018100: 45000005 */ bc1f .PF0f018118 +/* f018104: 2508a510 */ addiu $t0,$t0,-23280 +/* f018108: 3c018006 */ lui $at,0x8006 +/* f01810c: e4322480 */ swc1 $f18,0x2480($at) +/* f018110: 3c018006 */ lui $at,0x8006 +/* f018114: e4322484 */ swc1 $f18,0x2484($at) +.PF0f018118: +/* f018118: 8d430000 */ lw $v1,0x0($t2) +.PF0f01811c: +/* f01811c: 3c013f80 */ lui $at,0x3f80 +/* f018120: 44817000 */ mtc1 $at,$f14 +/* f018124: 2861001a */ slti $at,$v1,0x1a +/* f018128: 1420001c */ bnez $at,.PF0f01819c +/* f01812c: 00000000 */ nop +/* f018130: 8d0e0038 */ lw $t6,0x38($t0) +/* f018134: 24040001 */ li $a0,0x1 +/* f018138: 006ec023 */ subu $t8,$v1,$t6 +/* f01813c: 2b01001a */ slti $at,$t8,0x1a +/* f018140: 10200016 */ beqz $at,.PF0f01819c +/* f018144: 3c018006 */ lui $at,0x8006 +/* f018148: ac2024a0 */ sw $zero,0x24a0($at) +/* f01814c: 3c018006 */ lui $at,0x8006 +/* f018150: ac2424b4 */ sw $a0,0x24b4($at) +/* f018154: 3c018006 */ lui $at,0x8006 +/* f018158: c4242478 */ lwc1 $f4,0x2478($at) +/* f01815c: 3c014080 */ lui $at,0x4080 +/* f018160: 44815000 */ mtc1 $at,$f10 +/* f018164: 3c013e80 */ lui $at,0x3e80 +/* f018168: 460a2182 */ mul.s $f6,$f4,$f10 +/* f01816c: 460c3203 */ div.s $f8,$f6,$f12 +/* f018170: 4600410d */ trunc.w.s $f4,$f8 +/* f018174: 44022000 */ mfc1 $v0,$f4 +/* f018178: 44812000 */ mtc1 $at,$f4 +/* f01817c: 24420002 */ addiu $v0,$v0,0x2 +/* f018180: 44825000 */ mtc1 $v0,$f10 +/* f018184: 00000000 */ nop +/* f018188: 468051a0 */ cvt.s.w $f6,$f10 +/* f01818c: 460c3202 */ mul.s $f8,$f6,$f12 +/* f018190: 00000000 */ nop +/* f018194: 46044282 */ mul.s $f10,$f8,$f4 +/* f018198: e56a0000 */ swc1 $f10,0x0($t3) +.PF0f01819c: +/* f01819c: 3c028006 */ lui $v0,0x8006 +/* f0181a0: 28610054 */ slti $at,$v1,0x54 +/* f0181a4: 24040001 */ li $a0,0x1 +/* f0181a8: 14200009 */ bnez $at,.PF0f0181d0 +/* f0181ac: 8c4224b4 */ lw $v0,0x24b4($v0) +/* f0181b0: 8d0f0038 */ lw $t7,0x38($t0) +/* f0181b4: 3c058006 */ lui $a1,0x8006 +/* f0181b8: 24a524b8 */ addiu $a1,$a1,0x24b8 +/* f0181bc: 006f7023 */ subu $t6,$v1,$t7 +/* f0181c0: 29c10054 */ slti $at,$t6,0x54 +/* f0181c4: 10200002 */ beqz $at,.PF0f0181d0 +/* f0181c8: 00000000 */ nop +/* f0181cc: aca40000 */ sw $a0,0x0($a1) +.PF0f0181d0: +/* f0181d0: 3c058006 */ lui $a1,0x8006 +/* f0181d4: 14400009 */ bnez $v0,.PF0f0181fc +/* f0181d8: 24a524b8 */ addiu $a1,$a1,0x24b8 +/* f0181dc: 3c018006 */ lui $at,0x8006 +/* f0181e0: c4262480 */ lwc1 $f6,0x2480($at) +/* f0181e4: 4612303e */ c.le.s $f6,$f18 +/* f0181e8: 00000000 */ nop +/* f0181ec: 45000003 */ bc1f .PF0f0181fc +/* f0181f0: 00000000 */ nop +/* f0181f4: ad400000 */ sw $zero,0x0($t2) +/* f0181f8: aca40000 */ sw $a0,0x0($a1) +.PF0f0181fc: +/* f0181fc: 3c058006 */ lui $a1,0x8006 +/* f018200: 24a524b8 */ addiu $a1,$a1,0x24b8 +/* f018204: 8cb80000 */ lw $t8,0x0($a1) +/* f018208: 24040001 */ li $a0,0x1 +/* f01820c: 3c0e8006 */ lui $t6,0x8006 +/* f018210: 13000012 */ beqz $t8,.PF0f01825c +/* f018214: 3c017f1b */ lui $at,0x7f1b +/* f018218: c4289658 */ lwc1 $f8,-0x69a8($at) +/* f01821c: c504004c */ lwc1 $f4,0x4c($t0) +/* f018220: 3c038006 */ lui $v1,0x8006 +/* f018224: 24632498 */ addiu $v1,$v1,0x2498 +/* f018228: 46044282 */ mul.s $f10,$f8,$f4 +/* f01822c: c4660000 */ lwc1 $f6,0x0($v1) +/* f018230: 3c018006 */ lui $at,0x8006 +/* f018234: 460a3201 */ sub.s $f8,$f6,$f10 +/* f018238: e4282498 */ swc1 $f8,0x2498($at) +/* f01823c: c4640000 */ lwc1 $f4,0x0($v1) +/* f018240: 4612203e */ c.le.s $f4,$f18 +/* f018244: 00000000 */ nop +/* f018248: 45020005 */ bc1fl .PF0f018260 +/* f01824c: 8d820000 */ lw $v0,0x0($t4) +/* f018250: e4720000 */ swc1 $f18,0x0($v1) +/* f018254: aca00000 */ sw $zero,0x0($a1) +/* f018258: ad840000 */ sw $a0,0x0($t4) +.PF0f01825c: +/* f01825c: 8d820000 */ lw $v0,0x0($t4) +.PF0f018260: +/* f018260: 3c188006 */ lui $t8,0x8006 +/* f018264: 10400009 */ beqz $v0,.PF0f01828c +/* f018268: 00000000 */ nop +/* f01826c: 8d190038 */ lw $t9,0x38($t0) +/* f018270: 00597821 */ addu $t7,$v0,$t9 +/* f018274: 29e10011 */ slti $at,$t7,0x11 +/* f018278: 14200004 */ bnez $at,.PF0f01828c +/* f01827c: ad8f0000 */ sw $t7,0x0($t4) +/* f018280: ad800000 */ sw $zero,0x0($t4) +/* f018284: 3c018006 */ lui $at,0x8006 +/* f018288: ac2424bc */ sw $a0,0x24bc($at) +.PF0f01828c: +/* f01828c: 8f1824bc */ lw $t8,0x24bc($t8) +/* f018290: 3c018006 */ lui $at,0x8006 +/* f018294: 53000004 */ beqzl $t8,.PF0f0182a8 +/* f018298: 8da20000 */ lw $v0,0x0($t5) +/* f01829c: ac2024bc */ sw $zero,0x24bc($at) +/* f0182a0: ada40000 */ sw $a0,0x0($t5) +/* f0182a4: 8da20000 */ lw $v0,0x0($t5) +.PF0f0182a8: +/* f0182a8: 3c018006 */ lui $at,0x8006 +/* f0182ac: 1040000f */ beqz $v0,.PF0f0182ec +/* f0182b0: 00000000 */ nop +/* f0182b4: 8d190038 */ lw $t9,0x38($t0) +/* f0182b8: 3c068006 */ lui $a2,0x8006 +/* f0182bc: 24c624e0 */ addiu $a2,$a2,0x24e0 +/* f0182c0: 00597821 */ addu $t7,$v0,$t9 +/* f0182c4: 19e00009 */ blez $t7,.PF0f0182ec +/* f0182c8: adaf0000 */ sw $t7,0x0($t5) +/* f0182cc: 3c078006 */ lui $a3,0x8006 +/* f0182d0: 3c098006 */ lui $t1,0x8006 +/* f0182d4: 252924c8 */ addiu $t1,$t1,0x24c8 +/* f0182d8: 24e724cc */ addiu $a3,$a3,0x24cc +/* f0182dc: ada00000 */ sw $zero,0x0($t5) +/* f0182e0: ace40000 */ sw $a0,0x0($a3) +/* f0182e4: ad240000 */ sw $a0,0x0($t1) +/* f0182e8: acc40000 */ sw $a0,0x0($a2) +.PF0f0182ec: +/* f0182ec: 3c078006 */ lui $a3,0x8006 +/* f0182f0: 24e724cc */ addiu $a3,$a3,0x24cc +/* f0182f4: 8cf80000 */ lw $t8,0x0($a3) +/* f0182f8: 3c068006 */ lui $a2,0x8006 +/* f0182fc: 3c098006 */ lui $t1,0x8006 +/* f018300: 252924c8 */ addiu $t1,$t1,0x24c8 +/* f018304: 1300002c */ beqz $t8,.PF0f0183b8 +/* f018308: 24c624e0 */ addiu $a2,$a2,0x24e0 +/* f01830c: ac2424dc */ sw $a0,0x24dc($at) +/* f018310: 8d220000 */ lw $v0,0x0($t1) +/* f018314: 3c018006 */ lui $at,0x8006 +/* f018318: 14400008 */ bnez $v0,.PF0f01833c +/* f01831c: 24590001 */ addiu $t9,$v0,0x1 +/* f018320: c42624c4 */ lwc1 $f6,0x24c4($at) +/* f018324: 3c017f1b */ lui $at,0x7f1b +/* f018328: c42a965c */ lwc1 $f10,-0x69a4($at) +/* f01832c: 3c018006 */ lui $at,0x8006 +/* f018330: 460a3200 */ add.s $f8,$f6,$f10 +/* f018334: 10000011 */ b .PF0f01837c +/* f018338: e42824c4 */ swc1 $f8,0x24c4($at) +.PF0f01833c: +/* f01833c: 14820009 */ bne $a0,$v0,.PF0f018364 +/* f018340: 3c018006 */ lui $at,0x8006 +/* f018344: 3c018006 */ lui $at,0x8006 +/* f018348: c42424c4 */ lwc1 $f4,0x24c4($at) +/* f01834c: 3c017f1b */ lui $at,0x7f1b +/* f018350: c4269660 */ lwc1 $f6,-0x69a0($at) +/* f018354: 3c018006 */ lui $at,0x8006 +/* f018358: 46062280 */ add.s $f10,$f4,$f6 +/* f01835c: 10000007 */ b .PF0f01837c +/* f018360: e42a24c4 */ swc1 $f10,0x24c4($at) +.PF0f018364: +/* f018364: c42824c4 */ lwc1 $f8,0x24c4($at) +/* f018368: 3c017f1b */ lui $at,0x7f1b +/* f01836c: c4249664 */ lwc1 $f4,-0x699c($at) +/* f018370: 3c018006 */ lui $at,0x8006 +/* f018374: 46044180 */ add.s $f6,$f8,$f4 +/* f018378: e42624c4 */ swc1 $f6,0x24c4($at) +.PF0f01837c: +/* f01837c: 3c018006 */ lui $at,0x8006 +/* f018380: c42a24c4 */ lwc1 $f10,0x24c4($at) +/* f018384: 3c018006 */ lui $at,0x8006 +/* f018388: 460a703e */ c.le.s $f14,$f10 +/* f01838c: 00000000 */ nop +/* f018390: 45000009 */ bc1f .PF0f0183b8 +/* f018394: 00000000 */ nop +/* f018398: e43224c4 */ swc1 $f18,0x24c4($at) +/* f01839c: 24010006 */ li $at,0x6 +/* f0183a0: 17210005 */ bne $t9,$at,.PF0f0183b8 +/* f0183a4: ad390000 */ sw $t9,0x0($t1) +/* f0183a8: 3c058006 */ lui $a1,0x8006 +/* f0183ac: 24a524ac */ addiu $a1,$a1,0x24ac +/* f0183b0: ace00000 */ sw $zero,0x0($a3) +/* f0183b4: aca40000 */ sw $a0,0x0($a1) +.PF0f0183b8: +/* f0183b8: 8dce24dc */ lw $t6,0x24dc($t6) +/* f0183bc: 3c058006 */ lui $a1,0x8006 +/* f0183c0: 24a524ac */ addiu $a1,$a1,0x24ac +/* f0183c4: 11c00012 */ beqz $t6,.PF0f018410 +/* f0183c8: 00003825 */ move $a3,$zero +/* f0183cc: 3c017f1b */ lui $at,0x7f1b +/* f0183d0: c4289668 */ lwc1 $f8,-0x6998($at) +/* f0183d4: c504004c */ lwc1 $f4,0x4c($t0) +/* f0183d8: 3c028006 */ lui $v0,0x8006 +/* f0183dc: 244224d8 */ addiu $v0,$v0,0x24d8 +/* f0183e0: 46044182 */ mul.s $f6,$f8,$f4 +/* f0183e4: c44a0000 */ lwc1 $f10,0x0($v0) +/* f0183e8: 3c018006 */ lui $at,0x8006 +/* f0183ec: 46065200 */ add.s $f8,$f10,$f6 +/* f0183f0: e42824d8 */ swc1 $f8,0x24d8($at) +/* f0183f4: c4400000 */ lwc1 $f0,0x0($v0) +/* f0183f8: 4600603e */ c.le.s $f12,$f0 +/* f0183fc: 00000000 */ nop +/* f018400: 45020004 */ bc1fl .PF0f018414 +/* f018404: 8cd80000 */ lw $t8,0x0($a2) +/* f018408: 460c0101 */ sub.s $f4,$f0,$f12 +/* f01840c: e4440000 */ swc1 $f4,0x0($v0) +.PF0f018410: +/* f018410: 8cd80000 */ lw $t8,0x0($a2) +.PF0f018414: +/* f018414: 3c017f1b */ lui $at,0x7f1b +/* f018418: 53000012 */ beqzl $t8,.PF0f018464 +/* f01841c: 8ca20000 */ lw $v0,0x0($a1) +/* f018420: c42a966c */ lwc1 $f10,-0x6994($at) +/* f018424: c506004c */ lwc1 $f6,0x4c($t0) +/* f018428: 3c0a8006 */ lui $t2,0x8006 +/* f01842c: 254a24e4 */ addiu $t2,$t2,0x24e4 +/* f018430: 46065202 */ mul.s $f8,$f10,$f6 +/* f018434: c5440000 */ lwc1 $f4,0x0($t2) +/* f018438: 3c018006 */ lui $at,0x8006 +/* f01843c: 46082280 */ add.s $f10,$f4,$f8 +/* f018440: e42a24e4 */ swc1 $f10,0x24e4($at) +/* f018444: c5460000 */ lwc1 $f6,0x0($t2) +/* f018448: 4606703e */ c.le.s $f14,$f6 +/* f01844c: 00000000 */ nop +/* f018450: 45020004 */ bc1fl .PF0f018464 +/* f018454: 8ca20000 */ lw $v0,0x0($a1) +/* f018458: e54e0000 */ swc1 $f14,0x0($t2) +/* f01845c: acc00000 */ sw $zero,0x0($a2) +/* f018460: 8ca20000 */ lw $v0,0x0($a1) +.PF0f018464: +/* f018464: 00003025 */ move $a2,$zero +/* f018468: 5040000a */ beqzl $v0,.PF0f018494 +/* f01846c: 8fa40330 */ lw $a0,0x330($sp) +/* f018470: 8d190038 */ lw $t9,0x38($t0) +/* f018474: 00597821 */ addu $t7,$v0,$t9 +/* f018478: 29e10033 */ slti $at,$t7,0x33 +/* f01847c: 14200004 */ bnez $at,.PF0f018490 +/* f018480: acaf0000 */ sw $t7,0x0($a1) +/* f018484: aca00000 */ sw $zero,0x0($a1) +/* f018488: 3c018006 */ lui $at,0x8006 +/* f01848c: ac242404 */ sw $a0,0x2404($at) +.PF0f018490: +/* f018490: 8fa40330 */ lw $a0,0x330($sp) +.PF0f018494: +/* f018494: 0c002f12 */ jal 0xbc48 +/* f018498: 00002825 */ move $a1,$zero +/* f01849c: 0c002c02 */ jal 0xb008 +/* f0184a0: 00402025 */ move $a0,$v0 +/* f0184a4: 3c188006 */ lui $t8,0x8006 +/* f0184a8: 8f18249c */ lw $t8,0x249c($t8) +/* f0184ac: 00401825 */ move $v1,$v0 +/* f0184b0: 24040002 */ li $a0,0x2 +/* f0184b4: 13000003 */ beqz $t8,.PF0f0184c4 +/* f0184b8: 00000000 */ nop +/* f0184bc: 10000272 */ b .PF0f018e88 +/* f0184c0: 8fbf0034 */ lw $ra,0x34($sp) +.PF0f0184c4: +/* f0184c4: 0fc5a24c */ jal 0xf168930 +/* f0184c8: afa30330 */ sw $v1,0x330($sp) +/* f0184cc: 44809000 */ mtc1 $zero,$f18 +/* f0184d0: 3c01457a */ lui $at,0x457a +/* f0184d4: 44812000 */ mtc1 $at,$f4 +/* f0184d8: 3c013f80 */ lui $at,0x3f80 +/* f0184dc: 44814000 */ mtc1 $at,$f8 +/* f0184e0: 44069000 */ mfc1 $a2,$f18 +/* f0184e4: 44079000 */ mfc1 $a3,$f18 +/* f0184e8: 27a400f0 */ addiu $a0,$sp,0xf0 +/* f0184ec: 00402825 */ move $a1,$v0 +/* f0184f0: afa20134 */ sw $v0,0x134($sp) +/* f0184f4: e7b20014 */ swc1 $f18,0x14($sp) +/* f0184f8: e7b20018 */ swc1 $f18,0x18($sp) +/* f0184fc: e7b2001c */ swc1 $f18,0x1c($sp) +/* f018500: e7b20020 */ swc1 $f18,0x20($sp) +/* f018504: e7b20028 */ swc1 $f18,0x28($sp) +/* f018508: e7a40010 */ swc1 $f4,0x10($sp) +/* f01850c: 0c0011b7 */ jal 0x46dc +/* f018510: e7a80024 */ swc1 $f8,0x24($sp) +/* f018514: 8fa30330 */ lw $v1,0x330($sp) +/* f018518: 3c017f1b */ lui $at,0x7f1b +/* f01851c: c4229670 */ lwc1 $f2,-0x6990($at) +/* f018520: 8fa80134 */ lw $t0,0x134($sp) +/* f018524: 3c190384 */ lui $t9,0x384 +/* f018528: 37390010 */ ori $t9,$t9,0x10 +/* f01852c: 3c0f0382 */ lui $t7,0x382 +/* f018530: ac790000 */ sw $t9,0x0($v1) +/* f018534: 24640008 */ addiu $a0,$v1,0x8 +/* f018538: ac680004 */ sw $t0,0x4($v1) +/* f01853c: 35ef0010 */ ori $t7,$t7,0x10 +/* f018540: 250e0010 */ addiu $t6,$t0,0x10 +/* f018544: ac8e0004 */ sw $t6,0x4($a0) +/* f018548: ac8f0000 */ sw $t7,0x0($a0) +/* f01854c: 3c018006 */ lui $at,0x8006 +/* f018550: c42024e4 */ lwc1 $f0,0x24e4($at) +/* f018554: 3c01bf80 */ lui $at,0xbf80 +/* f018558: 44815000 */ mtc1 $at,$f10 +/* f01855c: 3c017f1b */ lui $at,0x7f1b +/* f018560: c4269674 */ lwc1 $f6,-0x698c($at) +/* f018564: 460a0380 */ add.s $f14,$f0,$f10 +/* f018568: 44809000 */ mtc1 $zero,$f18 +/* f01856c: 46003102 */ mul.s $f4,$f6,$f0 +/* f018570: 3c058006 */ lui $a1,0x8006 +/* f018574: 24a52248 */ addiu $a1,$a1,0x2248 +/* f018578: 46027202 */ mul.s $f8,$f14,$f2 +/* f01857c: 240200ff */ li $v0,0xff +/* f018580: 24860008 */ addiu $a2,$a0,0x8 +/* f018584: a0a00006 */ sb $zero,0x6($a1) +/* f018588: a0a00005 */ sb $zero,0x5($a1) +/* f01858c: 46049401 */ sub.s $f16,$f18,$f4 +/* f018590: a0a00004 */ sb $zero,0x4($a1) +/* f018594: a0a00002 */ sb $zero,0x2($a1) +/* f018598: 46024300 */ add.s $f12,$f8,$f2 +/* f01859c: 46028282 */ mul.s $f10,$f16,$f2 +/* f0185a0: a0a00001 */ sb $zero,0x1($a1) +/* f0185a4: a0a00000 */ sb $zero,0x0($a1) +/* f0185a8: a0a2000e */ sb $v0,0xe($a1) +/* f0185ac: a0a2000d */ sb $v0,0xd($a1) +/* f0185b0: a0a2000c */ sb $v0,0xc($a1) +/* f0185b4: a0a2000a */ sb $v0,0xa($a1) +/* f0185b8: 46025400 */ add.s $f16,$f10,$f2 +/* f0185bc: a0a20009 */ sb $v0,0x9($a1) +/* f0185c0: a0a20008 */ sb $v0,0x8($a1) +/* f0185c4: e7ac00e4 */ swc1 $f12,0xe4($sp) +/* f0185c8: e7b000e0 */ swc1 $f16,0xe0($sp) +/* f0185cc: 0c00685b */ jal 0x1a16c +/* f0185d0: afa60330 */ sw $a2,0x330($sp) +/* f0185d4: e7a00050 */ swc1 $f0,0x50($sp) +/* f0185d8: 0c006858 */ jal 0x1a160 +/* f0185dc: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f0185e0: 3c0142fe */ lui $at,0x42fe +/* f0185e4: 44813000 */ mtc1 $at,$f6 +/* f0185e8: c7a40050 */ lwc1 $f4,0x50($sp) +/* f0185ec: 3c018006 */ lui $at,0x8006 +/* f0185f0: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f0185f4: 46043202 */ mul.s $f8,$f6,$f4 +/* f0185f8: 00000000 */ nop +/* f0185fc: 46080282 */ mul.s $f10,$f0,$f8 +/* f018600: 4600518d */ trunc.w.s $f6,$f10 +/* f018604: 440f3000 */ mfc1 $t7,$f6 +/* f018608: 0c00685b */ jal 0x1a16c +/* f01860c: a02f2258 */ sb $t7,0x2258($at) +/* f018610: 3c0142fe */ lui $at,0x42fe +/* f018614: 44812000 */ mtc1 $at,$f4 +/* f018618: 3c018006 */ lui $at,0x8006 +/* f01861c: c7ac00e4 */ lwc1 $f12,0xe4($sp) +/* f018620: 46040202 */ mul.s $f8,$f0,$f4 +/* f018624: 4600428d */ trunc.w.s $f10,$f8 +/* f018628: 44185000 */ mfc1 $t8,$f10 +/* f01862c: 0c006858 */ jal 0x1a160 +/* f018630: a0382259 */ sb $t8,0x2259($at) +/* f018634: e7a00050 */ swc1 $f0,0x50($sp) +/* f018638: 0c006858 */ jal 0x1a160 +/* f01863c: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f018640: 3c0142fe */ lui $at,0x42fe +/* f018644: 44813000 */ mtc1 $at,$f6 +/* f018648: c7a40050 */ lwc1 $f4,0x50($sp) +/* f01864c: 44809000 */ mtc1 $zero,$f18 +/* f018650: 3c018006 */ lui $at,0x8006 +/* f018654: 46043202 */ mul.s $f8,$f6,$f4 +/* f018658: 44059000 */ mfc1 $a1,$f18 +/* f01865c: 44069000 */ mfc1 $a2,$f18 +/* f018660: 27a402b0 */ addiu $a0,$sp,0x2b0 +/* f018664: 3c07457a */ lui $a3,0x457a +/* f018668: e7b20010 */ swc1 $f18,0x10($sp) +/* f01866c: e7b20014 */ swc1 $f18,0x14($sp) +/* f018670: 46080282 */ mul.s $f10,$f0,$f8 +/* f018674: e7b20018 */ swc1 $f18,0x18($sp) +/* f018678: e7b2001c */ swc1 $f18,0x1c($sp) +/* f01867c: e7b20024 */ swc1 $f18,0x24($sp) +/* f018680: 4600518d */ trunc.w.s $f6,$f10 +/* f018684: 440f3000 */ mfc1 $t7,$f6 +/* f018688: 00000000 */ nop +/* f01868c: a02f225a */ sb $t7,0x225a($at) +/* f018690: 3c013f80 */ lui $at,0x3f80 +/* f018694: 44812000 */ mtc1 $at,$f4 +/* f018698: 0c005a1d */ jal 0x16874 +/* f01869c: e7a40020 */ swc1 $f4,0x20($sp) +/* f0186a0: 3c0e8006 */ lui $t6,0x8006 +/* f0186a4: 8dce2490 */ lw $t6,0x2490($t6) +/* f0186a8: 24010001 */ li $at,0x1 +/* f0186ac: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f0186b0: 15c10004 */ bne $t6,$at,.PF0f0186c4 +/* f0186b4: 3c188006 */ lui $t8,0x8006 +/* f0186b8: 8f1821c8 */ lw $t8,0x21c8($t8) +/* f0186bc: 10000004 */ b .PF0f0186d0 +/* f0186c0: afb8022c */ sw $t8,0x22c($sp) +.PF0f0186c4: +/* f0186c4: 3c198006 */ lui $t9,0x8006 +/* f0186c8: 8f3921cc */ lw $t9,0x21cc($t9) +/* f0186cc: afb9022c */ sw $t9,0x22c($sp) +.PF0f0186d0: +/* f0186d0: 3c018006 */ lui $at,0x8006 +/* f0186d4: 0c005841 */ jal 0x16104 +/* f0186d8: c42c2478 */ lwc1 $f12,0x2478($at) +/* f0186dc: 3c018006 */ lui $at,0x8006 +/* f0186e0: c42c2480 */ lwc1 $f12,0x2480($at) +/* f0186e4: 0c00581e */ jal 0x16078 +/* f0186e8: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f0186ec: 27a401a8 */ addiu $a0,$sp,0x1a8 +/* f0186f0: 0c0055e3 */ jal 0x1578c +/* f0186f4: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f0186f8: 27a402b0 */ addiu $a0,$sp,0x2b0 +/* f0186fc: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018700: 0c0055e4 */ jal 0x15790 +/* f018704: 27a60270 */ addiu $a2,$sp,0x270 +/* f018708: 3c018006 */ lui $at,0x8006 +/* f01870c: c42c2488 */ lwc1 $f12,0x2488($at) +/* f018710: 0c005725 */ jal 0x15c94 +/* f018714: 27a50270 */ addiu $a1,$sp,0x270 +/* f018718: 3c01437f */ lui $at,0x437f +/* f01871c: 44814000 */ mtc1 $at,$f8 +/* f018720: 3c018006 */ lui $at,0x8006 +/* f018724: c42a2498 */ lwc1 $f10,0x2498($at) +/* f018728: 24020001 */ li $v0,0x1 +/* f01872c: 3c038006 */ lui $v1,0x8006 +/* f018730: 460a4182 */ mul.s $f6,$f8,$f10 +/* f018734: 24632230 */ addiu $v1,$v1,0x2230 +/* f018738: 24050002 */ li $a1,0x2 +/* f01873c: 444ff800 */ cfc1 $t7,$31 +/* f018740: 44c2f800 */ ctc1 $v0,$31 +/* f018744: 00000000 */ nop +/* f018748: 46003124 */ cvt.w.s $f4,$f6 +/* f01874c: 4442f800 */ cfc1 $v0,$31 +/* f018750: 00000000 */ nop +/* f018754: 30420078 */ andi $v0,$v0,0x78 +/* f018758: 10400012 */ beqz $v0,.PF0f0187a4 +/* f01875c: 3c014f00 */ lui $at,0x4f00 +/* f018760: 44812000 */ mtc1 $at,$f4 +/* f018764: 24020001 */ li $v0,0x1 +/* f018768: 46043101 */ sub.s $f4,$f6,$f4 +/* f01876c: 44c2f800 */ ctc1 $v0,$31 +/* f018770: 00000000 */ nop +/* f018774: 46002124 */ cvt.w.s $f4,$f4 +/* f018778: 4442f800 */ cfc1 $v0,$31 +/* f01877c: 00000000 */ nop +/* f018780: 30420078 */ andi $v0,$v0,0x78 +/* f018784: 14400005 */ bnez $v0,.PF0f01879c +/* f018788: 00000000 */ nop +/* f01878c: 44022000 */ mfc1 $v0,$f4 +/* f018790: 3c018000 */ lui $at,0x8000 +/* f018794: 10000007 */ b .PF0f0187b4 +/* f018798: 00411025 */ or $v0,$v0,$at +.PF0f01879c: +/* f01879c: 10000005 */ b .PF0f0187b4 +/* f0187a0: 2402ffff */ li $v0,-1 +.PF0f0187a4: +/* f0187a4: 44022000 */ mfc1 $v0,$f4 +/* f0187a8: 00000000 */ nop +/* f0187ac: 0440fffb */ bltz $v0,.PF0f01879c +/* f0187b0: 00000000 */ nop +.PF0f0187b4: +/* f0187b4: 8fb8022c */ lw $t8,0x22c($sp) +/* f0187b8: 44cff800 */ ctc1 $t7,$31 +/* f0187bc: a0620006 */ sb $v0,0x6($v1) +/* f0187c0: a0620005 */ sb $v0,0x5($v1) +/* f0187c4: a0620004 */ sb $v0,0x4($v1) +/* f0187c8: a0620002 */ sb $v0,0x2($v1) +/* f0187cc: a0620001 */ sb $v0,0x1($v1) +/* f0187d0: a0620000 */ sb $v0,0x0($v1) +/* f0187d4: afa000dc */ sw $zero,0xdc($sp) +/* f0187d8: afa000d8 */ sw $zero,0xd8($sp) +/* f0187dc: 0c0069ab */ jal 0x1a6ac +/* f0187e0: 8f040008 */ lw $a0,0x8($t8) +/* f0187e4: 10400027 */ beqz $v0,.PF0f018884 +/* f0187e8: 00402825 */ move $a1,$v0 +/* f0187ec: 8c460004 */ lw $a2,0x4($v0) +/* f0187f0: 8fa4022c */ lw $a0,0x22c($sp) +/* f0187f4: 84d90010 */ lh $t9,0x10($a2) +/* f0187f8: 272f0001 */ addiu $t7,$t9,0x1 +/* f0187fc: afaf00dc */ sw $t7,0xdc($sp) +/* f018800: 94ce0016 */ lhu $t6,0x16($a2) +/* f018804: afa60164 */ sw $a2,0x164($sp) +/* f018808: 25d80001 */ addiu $t8,$t6,0x1 +/* f01880c: 0c0069eb */ jal 0x1a7ac +/* f018810: afb800d8 */ sw $t8,0xd8($sp) +/* f018814: afa20160 */ sw $v0,0x160($sp) +/* f018818: 0fc5a25d */ jal 0xf168974 +/* f01881c: 24040028 */ li $a0,0x28 +/* f018820: 8fb90160 */ lw $t9,0x160($sp) +/* f018824: 8fa60164 */ lw $a2,0x164($sp) +/* f018828: 3c0fbc00 */ lui $t7,0xbc00 +/* f01882c: af220004 */ sw $v0,0x4($t9) +/* f018830: 3c0e8000 */ lui $t6,0x8000 +/* f018834: 35ce0040 */ ori $t6,$t6,0x40 +/* f018838: 35ef0002 */ ori $t7,$t7,0x2 +/* f01883c: 3c180386 */ lui $t8,0x386 +/* f018840: 37180010 */ ori $t8,$t8,0x10 +/* f018844: ac4f0000 */ sw $t7,0x0($v0) +/* f018848: ac4e0004 */ sw $t6,0x4($v0) +/* f01884c: 3c0e8006 */ lui $t6,0x8006 +/* f018850: 3c0f0388 */ lui $t7,0x388 +/* f018854: ac580008 */ sw $t8,0x8($v0) +/* f018858: 3c198006 */ lui $t9,0x8006 +/* f01885c: 27392208 */ addiu $t9,$t9,0x2208 +/* f018860: 35ef0010 */ ori $t7,$t7,0x10 +/* f018864: 25ce2200 */ addiu $t6,$t6,0x2200 +/* f018868: 3c180601 */ lui $t8,0x601 +/* f01886c: ac4e0014 */ sw $t6,0x14($v0) +/* f018870: ac4f0010 */ sw $t7,0x10($v0) +/* f018874: ac59000c */ sw $t9,0xc($v0) +/* f018878: ac580018 */ sw $t8,0x18($v0) +/* f01887c: 8cd90000 */ lw $t9,0x0($a2) +/* f018880: ac59001c */ sw $t9,0x1c($v0) +.PF0f018884: +/* f018884: 8faf022c */ lw $t7,0x22c($sp) +/* f018888: 24050004 */ li $a1,0x4 +/* f01888c: 0c0069ab */ jal 0x1a6ac +/* f018890: 8de40008 */ lw $a0,0x8($t7) +/* f018894: 10400037 */ beqz $v0,.PF0f018974 +/* f018898: 00402825 */ move $a1,$v0 +/* f01889c: 8c460004 */ lw $a2,0x4($v0) +/* f0188a0: 8fae00dc */ lw $t6,0xdc($sp) +/* f0188a4: 8fa4022c */ lw $a0,0x22c($sp) +/* f0188a8: 84d80010 */ lh $t8,0x10($a2) +/* f0188ac: 01d8c821 */ addu $t9,$t6,$t8 +/* f0188b0: 272f0001 */ addiu $t7,$t9,0x1 +/* f0188b4: afaf00dc */ sw $t7,0xdc($sp) +/* f0188b8: 8fae00d8 */ lw $t6,0xd8($sp) +/* f0188bc: 94d80016 */ lhu $t8,0x16($a2) +/* f0188c0: afa60164 */ sw $a2,0x164($sp) +/* f0188c4: 01d8c821 */ addu $t9,$t6,$t8 +/* f0188c8: 272f0001 */ addiu $t7,$t9,0x1 +/* f0188cc: 0c0069eb */ jal 0x1a7ac +/* f0188d0: afaf00d8 */ sw $t7,0xd8($sp) +/* f0188d4: afa20160 */ sw $v0,0x160($sp) +/* f0188d8: 0fc5a25d */ jal 0xf168974 +/* f0188dc: 24040028 */ li $a0,0x28 +/* f0188e0: 8fae0160 */ lw $t6,0x160($sp) +/* f0188e4: 8fa60164 */ lw $a2,0x164($sp) +/* f0188e8: 3c018006 */ lui $at,0x8006 +/* f0188ec: adc20004 */ sw $v0,0x4($t6) +/* f0188f0: 44809000 */ mtc1 $zero,$f18 +/* f0188f4: c4282498 */ lwc1 $f8,0x2498($at) +/* f0188f8: 24450008 */ addiu $a1,$v0,0x8 +/* f0188fc: 3c198000 */ lui $t9,0x8000 +/* f018900: 4608903c */ c.lt.s $f18,$f8 +/* f018904: 37390040 */ ori $t9,$t9,0x40 +/* f018908: 24a70008 */ addiu $a3,$a1,0x8 +/* f01890c: 3c0f0386 */ lui $t7,0x386 +/* f018910: 45000016 */ bc1f .PF0f01896c +/* f018914: 3c18b800 */ lui $t8,0xb800 +/* f018918: 3c18bc00 */ lui $t8,0xbc00 +/* f01891c: 37180002 */ ori $t8,$t8,0x2 +/* f018920: ac580000 */ sw $t8,0x0($v0) +/* f018924: ac590004 */ sw $t9,0x4($v0) +/* f018928: 35ef0010 */ ori $t7,$t7,0x10 +/* f01892c: 3c0e8006 */ lui $t6,0x8006 +/* f018930: 25ce2238 */ addiu $t6,$t6,0x2238 +/* f018934: acaf0000 */ sw $t7,0x0($a1) +/* f018938: acae0004 */ sw $t6,0x4($a1) +/* f01893c: 3c198006 */ lui $t9,0x8006 +/* f018940: 3c180388 */ lui $t8,0x388 +/* f018944: 37180010 */ ori $t8,$t8,0x10 +/* f018948: 27392230 */ addiu $t9,$t9,0x2230 +/* f01894c: acf90004 */ sw $t9,0x4($a3) +/* f018950: acf80000 */ sw $t8,0x0($a3) +/* f018954: 24e30008 */ addiu $v1,$a3,0x8 +/* f018958: 3c0f0601 */ lui $t7,0x601 +/* f01895c: ac6f0000 */ sw $t7,0x0($v1) +/* f018960: 8cce0000 */ lw $t6,0x0($a2) +/* f018964: 10000003 */ b .PF0f018974 +/* f018968: ac6e0004 */ sw $t6,0x4($v1) +.PF0f01896c: +/* f01896c: ac580000 */ sw $t8,0x0($v0) +/* f018970: ac400004 */ sw $zero,0x4($v0) +.PF0f018974: +/* f018974: 8fb9022c */ lw $t9,0x22c($sp) +/* f018978: 24050006 */ li $a1,0x6 +/* f01897c: 0c0069ab */ jal 0x1a6ac +/* f018980: 8f240008 */ lw $a0,0x8($t9) +/* f018984: 10400037 */ beqz $v0,.PF0f018a64 +/* f018988: 00402825 */ move $a1,$v0 +/* f01898c: 8c460004 */ lw $a2,0x4($v0) +/* f018990: 8faf00dc */ lw $t7,0xdc($sp) +/* f018994: 8fa4022c */ lw $a0,0x22c($sp) +/* f018998: 84ce0010 */ lh $t6,0x10($a2) +/* f01899c: 01eec021 */ addu $t8,$t7,$t6 +/* f0189a0: 27190001 */ addiu $t9,$t8,0x1 +/* f0189a4: afb900dc */ sw $t9,0xdc($sp) +/* f0189a8: 8faf00d8 */ lw $t7,0xd8($sp) +/* f0189ac: 94ce0016 */ lhu $t6,0x16($a2) +/* f0189b0: afa60164 */ sw $a2,0x164($sp) +/* f0189b4: 01eec021 */ addu $t8,$t7,$t6 +/* f0189b8: 27190001 */ addiu $t9,$t8,0x1 +/* f0189bc: 0c0069eb */ jal 0x1a7ac +/* f0189c0: afb900d8 */ sw $t9,0xd8($sp) +/* f0189c4: afa20160 */ sw $v0,0x160($sp) +/* f0189c8: 0fc5a25d */ jal 0xf168974 +/* f0189cc: 24040028 */ li $a0,0x28 +/* f0189d0: 8faf0160 */ lw $t7,0x160($sp) +/* f0189d4: 8fa60164 */ lw $a2,0x164($sp) +/* f0189d8: 3c018006 */ lui $at,0x8006 +/* f0189dc: ade20004 */ sw $v0,0x4($t7) +/* f0189e0: 44809000 */ mtc1 $zero,$f18 +/* f0189e4: c42a2498 */ lwc1 $f10,0x2498($at) +/* f0189e8: 24450008 */ addiu $a1,$v0,0x8 +/* f0189ec: 3c188000 */ lui $t8,0x8000 +/* f0189f0: 460a903c */ c.lt.s $f18,$f10 +/* f0189f4: 37180040 */ ori $t8,$t8,0x40 +/* f0189f8: 24a70008 */ addiu $a3,$a1,0x8 +/* f0189fc: 3c190386 */ lui $t9,0x386 +/* f018a00: 45000016 */ bc1f .PF0f018a5c +/* f018a04: 3c0eb800 */ lui $t6,0xb800 +/* f018a08: 3c0ebc00 */ lui $t6,0xbc00 +/* f018a0c: 35ce0002 */ ori $t6,$t6,0x2 +/* f018a10: ac4e0000 */ sw $t6,0x0($v0) +/* f018a14: ac580004 */ sw $t8,0x4($v0) +/* f018a18: 37390010 */ ori $t9,$t9,0x10 +/* f018a1c: 3c0f8006 */ lui $t7,0x8006 +/* f018a20: 25ef2238 */ addiu $t7,$t7,0x2238 +/* f018a24: acb90000 */ sw $t9,0x0($a1) +/* f018a28: acaf0004 */ sw $t7,0x4($a1) +/* f018a2c: 3c188006 */ lui $t8,0x8006 +/* f018a30: 3c0e0388 */ lui $t6,0x388 +/* f018a34: 35ce0010 */ ori $t6,$t6,0x10 +/* f018a38: 27182230 */ addiu $t8,$t8,0x2230 +/* f018a3c: acf80004 */ sw $t8,0x4($a3) +/* f018a40: acee0000 */ sw $t6,0x0($a3) +/* f018a44: 24e30008 */ addiu $v1,$a3,0x8 +/* f018a48: 3c190601 */ lui $t9,0x601 +/* f018a4c: ac790000 */ sw $t9,0x0($v1) +/* f018a50: 8ccf0000 */ lw $t7,0x0($a2) +/* f018a54: 10000003 */ b .PF0f018a64 +/* f018a58: ac6f0004 */ sw $t7,0x4($v1) +.PF0f018a5c: +/* f018a5c: ac4e0000 */ sw $t6,0x0($v0) +/* f018a60: ac400004 */ sw $zero,0x4($v0) +.PF0f018a64: +/* f018a64: 8fb8022c */ lw $t8,0x22c($sp) +/* f018a68: 24050008 */ li $a1,0x8 +/* f018a6c: 0c0069ab */ jal 0x1a6ac +/* f018a70: 8f040008 */ lw $a0,0x8($t8) +/* f018a74: 10400037 */ beqz $v0,.PF0f018b54 +/* f018a78: 00402825 */ move $a1,$v0 +/* f018a7c: 8c460004 */ lw $a2,0x4($v0) +/* f018a80: 8fb900dc */ lw $t9,0xdc($sp) +/* f018a84: 8fa4022c */ lw $a0,0x22c($sp) +/* f018a88: 84cf0010 */ lh $t7,0x10($a2) +/* f018a8c: 032f7021 */ addu $t6,$t9,$t7 +/* f018a90: 25d80001 */ addiu $t8,$t6,0x1 +/* f018a94: afb800dc */ sw $t8,0xdc($sp) +/* f018a98: 8fb900d8 */ lw $t9,0xd8($sp) +/* f018a9c: 94cf0016 */ lhu $t7,0x16($a2) +/* f018aa0: afa60164 */ sw $a2,0x164($sp) +/* f018aa4: 032f7021 */ addu $t6,$t9,$t7 +/* f018aa8: 25d80001 */ addiu $t8,$t6,0x1 +/* f018aac: 0c0069eb */ jal 0x1a7ac +/* f018ab0: afb800d8 */ sw $t8,0xd8($sp) +/* f018ab4: afa20160 */ sw $v0,0x160($sp) +/* f018ab8: 0fc5a25d */ jal 0xf168974 +/* f018abc: 24040028 */ li $a0,0x28 +/* f018ac0: 8fb90160 */ lw $t9,0x160($sp) +/* f018ac4: 8fa60164 */ lw $a2,0x164($sp) +/* f018ac8: 3c018006 */ lui $at,0x8006 +/* f018acc: af220004 */ sw $v0,0x4($t9) +/* f018ad0: 44809000 */ mtc1 $zero,$f18 +/* f018ad4: c4262498 */ lwc1 $f6,0x2498($at) +/* f018ad8: 24450008 */ addiu $a1,$v0,0x8 +/* f018adc: 3c0e8000 */ lui $t6,0x8000 +/* f018ae0: 4606903c */ c.lt.s $f18,$f6 +/* f018ae4: 35ce0040 */ ori $t6,$t6,0x40 +/* f018ae8: 24a70008 */ addiu $a3,$a1,0x8 +/* f018aec: 3c180386 */ lui $t8,0x386 +/* f018af0: 45000016 */ bc1f .PF0f018b4c +/* f018af4: 3c0fb800 */ lui $t7,0xb800 +/* f018af8: 3c0fbc00 */ lui $t7,0xbc00 +/* f018afc: 35ef0002 */ ori $t7,$t7,0x2 +/* f018b00: ac4f0000 */ sw $t7,0x0($v0) +/* f018b04: ac4e0004 */ sw $t6,0x4($v0) +/* f018b08: 37180010 */ ori $t8,$t8,0x10 +/* f018b0c: 3c198006 */ lui $t9,0x8006 +/* f018b10: 27392238 */ addiu $t9,$t9,0x2238 +/* f018b14: acb80000 */ sw $t8,0x0($a1) +/* f018b18: acb90004 */ sw $t9,0x4($a1) +/* f018b1c: 3c0e8006 */ lui $t6,0x8006 +/* f018b20: 3c0f0388 */ lui $t7,0x388 +/* f018b24: 35ef0010 */ ori $t7,$t7,0x10 +/* f018b28: 25ce2230 */ addiu $t6,$t6,0x2230 +/* f018b2c: acee0004 */ sw $t6,0x4($a3) +/* f018b30: acef0000 */ sw $t7,0x0($a3) +/* f018b34: 24e30008 */ addiu $v1,$a3,0x8 +/* f018b38: 3c180601 */ lui $t8,0x601 +/* f018b3c: ac780000 */ sw $t8,0x0($v1) +/* f018b40: 8cd90000 */ lw $t9,0x0($a2) +/* f018b44: 10000003 */ b .PF0f018b54 +/* f018b48: ac790004 */ sw $t9,0x4($v1) +.PF0f018b4c: +/* f018b4c: ac4f0000 */ sw $t7,0x0($v0) +/* f018b50: ac400004 */ sw $zero,0x4($v0) +.PF0f018b54: +/* f018b54: 0fc5a239 */ jal 0xf1688e4 +/* f018b58: 8fa400dc */ lw $a0,0xdc($sp) +/* f018b5c: afa20044 */ sw $v0,0x44($sp) +/* f018b60: 0fc5a253 */ jal 0xf16894c +/* f018b64: 8fa400d8 */ lw $a0,0xd8($sp) +/* f018b68: 3c013f80 */ lui $at,0x3f80 +/* f018b6c: 44812000 */ mtc1 $at,$f4 +/* f018b70: 8fb90044 */ lw $t9,0x44($sp) +/* f018b74: 3c068006 */ lui $a2,0x8006 +/* f018b78: 3c078006 */ lui $a3,0x8006 +/* f018b7c: 240e00f0 */ li $t6,0xf0 +/* f018b80: 27b80270 */ addiu $t8,$sp,0x270 +/* f018b84: afb80018 */ sw $t8,0x18($sp) +/* f018b88: afae0010 */ sw $t6,0x10($sp) +/* f018b8c: 8ce7248c */ lw $a3,0x248c($a3) +/* f018b90: 8cc624d4 */ lw $a2,0x24d4($a2) +/* f018b94: 8fa40330 */ lw $a0,0x330($sp) +/* f018b98: 8fa5022c */ lw $a1,0x22c($sp) +/* f018b9c: afa20020 */ sw $v0,0x20($sp) +/* f018ba0: afb9001c */ sw $t9,0x1c($sp) +/* f018ba4: 0fc05cc9 */ jal 0xf017324 +/* f018ba8: e7a40014 */ swc1 $f4,0x14($sp) +/* f018bac: 3c0fbc00 */ lui $t7,0xbc00 +/* f018bb0: 3c0e8000 */ lui $t6,0x8000 +/* f018bb4: 3c180386 */ lui $t8,0x386 +/* f018bb8: 37180010 */ ori $t8,$t8,0x10 +/* f018bbc: 35ce0040 */ ori $t6,$t6,0x40 +/* f018bc0: 35ef0002 */ ori $t7,$t7,0x2 +/* f018bc4: 3c198006 */ lui $t9,0x8006 +/* f018bc8: 27392250 */ addiu $t9,$t9,0x2250 +/* f018bcc: ac4f0000 */ sw $t7,0x0($v0) +/* f018bd0: ac4e0004 */ sw $t6,0x4($v0) +/* f018bd4: ac580008 */ sw $t8,0x8($v0) +/* f018bd8: 244f0018 */ addiu $t7,$v0,0x18 +/* f018bdc: ac59000c */ sw $t9,0xc($v0) +/* f018be0: afaf0330 */ sw $t7,0x330($sp) +/* f018be4: 3c188006 */ lui $t8,0x8006 +/* f018be8: 3c0e0388 */ lui $t6,0x388 +/* f018bec: 35ce0010 */ ori $t6,$t6,0x10 +/* f018bf0: 27182248 */ addiu $t8,$t8,0x2248 +/* f018bf4: 3c198006 */ lui $t9,0x8006 +/* f018bf8: ac580014 */ sw $t8,0x14($v0) +/* f018bfc: ac4e0010 */ sw $t6,0x10($v0) +/* f018c00: 27392528 */ addiu $t9,$t9,0x2528 +/* f018c04: 8f210000 */ lw $at,0x0($t9) +/* f018c08: 27a40064 */ addiu $a0,$sp,0x64 +/* f018c0c: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018c10: ac810000 */ sw $at,0x0($a0) +/* f018c14: 8f2e0004 */ lw $t6,0x4($t9) +/* f018c18: ac8e0004 */ sw $t6,0x4($a0) +/* f018c1c: 8f210008 */ lw $at,0x8($t9) +/* f018c20: 0c00591b */ jal 0x1646c +/* f018c24: ac810008 */ sw $at,0x8($a0) +/* f018c28: 3c013f80 */ lui $at,0x3f80 +/* f018c2c: 44814000 */ mtc1 $at,$f8 +/* f018c30: c7aa013c */ lwc1 $f10,0x13c($sp) +/* f018c34: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018c38: 0c005746 */ jal 0x15d18 +/* f018c3c: 460a4300 */ add.s $f12,$f8,$f10 +/* f018c40: 27a402b0 */ addiu $a0,$sp,0x2b0 +/* f018c44: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018c48: 0c0055e4 */ jal 0x15790 +/* f018c4c: 27a60230 */ addiu $a2,$sp,0x230 +/* f018c50: 3c017f1b */ lui $at,0x7f1b +/* f018c54: c42c9678 */ lwc1 $f12,-0x6988($at) +/* f018c58: 0c005725 */ jal 0x15c94 +/* f018c5c: 27a50230 */ addiu $a1,$sp,0x230 +/* f018c60: 3c028006 */ lui $v0,0x8006 +/* f018c64: 8c4224c8 */ lw $v0,0x24c8($v0) +/* f018c68: 27a30230 */ addiu $v1,$sp,0x230 +/* f018c6c: 04420085 */ bltzl $v0,.PF0f018e84 +/* f018c70: 8fa20330 */ lw $v0,0x330($sp) +/* f018c74: 10400082 */ beqz $v0,.PF0f018e80 +/* f018c78: 24010001 */ li $at,0x1 +/* f018c7c: 1441001f */ bne $v0,$at,.PF0f018cfc +/* f018c80: 3c058006 */ lui $a1,0x8006 +/* f018c84: 3c018006 */ lui $at,0x8006 +/* f018c88: c42024c4 */ lwc1 $f0,0x24c4($at) +/* f018c8c: 3c013f00 */ lui $at,0x3f00 +/* f018c90: 44813000 */ mtc1 $at,$f6 +/* f018c94: 44070000 */ mfc1 $a3,$f0 +/* f018c98: 00003025 */ move $a2,$zero +/* f018c9c: 4606003c */ c.lt.s $f0,$f6 +/* f018ca0: 8fa40330 */ lw $a0,0x330($sp) +/* f018ca4: 241800ff */ li $t8,0xff +/* f018ca8: 3c02800a */ lui $v0,0x800a +/* f018cac: 45000002 */ bc1f .PF0f018cb8 +/* f018cb0: 3c19800a */ lui $t9,0x800a +/* f018cb4: 24060001 */ li $a2,0x1 +.PF0f018cb8: +/* f018cb8: 8c42d218 */ lw $v0,-0x2de8($v0) +/* f018cbc: 3c0e800a */ lui $t6,0x800a +/* f018cc0: 8ca521dc */ lw $a1,0x21dc($a1) +/* f018cc4: 00027880 */ sll $t7,$v0,0x2 +/* f018cc8: 032fc821 */ addu $t9,$t9,$t7 +/* f018ccc: 01cf7021 */ addu $t6,$t6,$t7 +/* f018cd0: 8dced210 */ lw $t6,-0x2df0($t6) +/* f018cd4: 8f39d208 */ lw $t9,-0x2df8($t9) +/* f018cd8: 01e01025 */ move $v0,$t7 +/* f018cdc: afb80010 */ sw $t8,0x10($sp) +/* f018ce0: e7a00014 */ swc1 $f0,0x14($sp) +/* f018ce4: afa30018 */ sw $v1,0x18($sp) +/* f018ce8: afae0020 */ sw $t6,0x20($sp) +/* f018cec: 0fc05cc9 */ jal 0xf017324 +/* f018cf0: afb9001c */ sw $t9,0x1c($sp) +/* f018cf4: 10000062 */ b .PF0f018e80 +/* f018cf8: afa20330 */ sw $v0,0x330($sp) +.PF0f018cfc: +/* f018cfc: 24010002 */ li $at,0x2 +/* f018d00: 14410023 */ bne $v0,$at,.PF0f018d90 +/* f018d04: 3c058006 */ lui $a1,0x8006 +/* f018d08: 3c018006 */ lui $at,0x8006 +/* f018d0c: c42024c4 */ lwc1 $f0,0x24c4($at) +/* f018d10: 3c013f00 */ lui $at,0x3f00 +/* f018d14: 44812000 */ mtc1 $at,$f4 +/* f018d18: 3c013f80 */ lui $at,0x3f80 +/* f018d1c: 44814000 */ mtc1 $at,$f8 +/* f018d20: 4604003c */ c.lt.s $f0,$f4 +/* f018d24: 00003025 */ move $a2,$zero +/* f018d28: 8fa40330 */ lw $a0,0x330($sp) +/* f018d2c: 241800ff */ li $t8,0xff +/* f018d30: 45000002 */ bc1f .PF0f018d3c +/* f018d34: 46004281 */ sub.s $f10,$f8,$f0 +/* f018d38: 24060001 */ li $a2,0x1 +.PF0f018d3c: +/* f018d3c: 3c02800a */ lui $v0,0x800a +/* f018d40: 8c42d218 */ lw $v0,-0x2de8($v0) +/* f018d44: 3c19800a */ lui $t9,0x800a +/* f018d48: 3c0e800a */ lui $t6,0x800a +/* f018d4c: 00027880 */ sll $t7,$v0,0x2 +/* f018d50: 032fc821 */ addu $t9,$t9,$t7 +/* f018d54: 01cf7021 */ addu $t6,$t6,$t7 +/* f018d58: 8dced210 */ lw $t6,-0x2df0($t6) +/* f018d5c: 8f39d208 */ lw $t9,-0x2df8($t9) +/* f018d60: 44813000 */ mtc1 $at,$f6 +/* f018d64: 44075000 */ mfc1 $a3,$f10 +/* f018d68: 8ca521d8 */ lw $a1,0x21d8($a1) +/* f018d6c: 01e01025 */ move $v0,$t7 +/* f018d70: afb80010 */ sw $t8,0x10($sp) +/* f018d74: afa30018 */ sw $v1,0x18($sp) +/* f018d78: afae0020 */ sw $t6,0x20($sp) +/* f018d7c: afb9001c */ sw $t9,0x1c($sp) +/* f018d80: 0fc05cc9 */ jal 0xf017324 +/* f018d84: e7a60014 */ swc1 $f6,0x14($sp) +/* f018d88: 1000003d */ b .PF0f018e80 +/* f018d8c: afa20330 */ sw $v0,0x330($sp) +.PF0f018d90: +/* f018d90: 24010003 */ li $at,0x3 +/* f018d94: 14410022 */ bne $v0,$at,.PF0f018e20 +/* f018d98: 3c058006 */ lui $a1,0x8006 +/* f018d9c: 3c018006 */ lui $at,0x8006 +/* f018da0: c42024c4 */ lwc1 $f0,0x24c4($at) +/* f018da4: 3c013f00 */ lui $at,0x3f00 +/* f018da8: 44812000 */ mtc1 $at,$f4 +/* f018dac: 44070000 */ mfc1 $a3,$f0 +/* f018db0: 00003025 */ move $a2,$zero +/* f018db4: 4604003c */ c.lt.s $f0,$f4 +/* f018db8: 3c058006 */ lui $a1,0x8006 +/* f018dbc: 3c013f80 */ lui $at,0x3f80 +/* f018dc0: 8fa40330 */ lw $a0,0x330($sp) +/* f018dc4: 45000002 */ bc1f .PF0f018dd0 +/* f018dc8: 241800ff */ li $t8,0xff +/* f018dcc: 24060001 */ li $a2,0x1 +.PF0f018dd0: +/* f018dd0: 3c02800a */ lui $v0,0x800a +/* f018dd4: 8c42d218 */ lw $v0,-0x2de8($v0) +/* f018dd8: 3c19800a */ lui $t9,0x800a +/* f018ddc: 3c0e800a */ lui $t6,0x800a +/* f018de0: 00027880 */ sll $t7,$v0,0x2 +/* f018de4: 032fc821 */ addu $t9,$t9,$t7 +/* f018de8: 01cf7021 */ addu $t6,$t6,$t7 +/* f018dec: 8dced210 */ lw $t6,-0x2df0($t6) +/* f018df0: 8f39d208 */ lw $t9,-0x2df8($t9) +/* f018df4: 44814000 */ mtc1 $at,$f8 +/* f018df8: 8ca521d8 */ lw $a1,0x21d8($a1) +/* f018dfc: 01e01025 */ move $v0,$t7 +/* f018e00: afb80010 */ sw $t8,0x10($sp) +/* f018e04: afa30018 */ sw $v1,0x18($sp) +/* f018e08: afae0020 */ sw $t6,0x20($sp) +/* f018e0c: afb9001c */ sw $t9,0x1c($sp) +/* f018e10: 0fc05cc9 */ jal 0xf017324 +/* f018e14: e7a80014 */ swc1 $f8,0x14($sp) +/* f018e18: 10000019 */ b .PF0f018e80 +/* f018e1c: afa20330 */ sw $v0,0x330($sp) +.PF0f018e20: +/* f018e20: 3c02800a */ lui $v0,0x800a +/* f018e24: 8c42d218 */ lw $v0,-0x2de8($v0) +/* f018e28: 3c19800a */ lui $t9,0x800a +/* f018e2c: 3c0e800a */ lui $t6,0x800a +/* f018e30: 00027880 */ sll $t7,$v0,0x2 +/* f018e34: 032fc821 */ addu $t9,$t9,$t7 +/* f018e38: 01cf7021 */ addu $t6,$t6,$t7 +/* f018e3c: 3c013f80 */ lui $at,0x3f80 +/* f018e40: 44815000 */ mtc1 $at,$f10 +/* f018e44: 8dced210 */ lw $t6,-0x2df0($t6) +/* f018e48: 8f39d208 */ lw $t9,-0x2df8($t9) +/* f018e4c: 241800ff */ li $t8,0xff +/* f018e50: 8ca521d8 */ lw $a1,0x21d8($a1) +/* f018e54: afb80010 */ sw $t8,0x10($sp) +/* f018e58: 01e01025 */ move $v0,$t7 +/* f018e5c: 8fa40330 */ lw $a0,0x330($sp) +/* f018e60: 00003025 */ move $a2,$zero +/* f018e64: 3c073f80 */ lui $a3,0x3f80 +/* f018e68: afa30018 */ sw $v1,0x18($sp) +/* f018e6c: afae0020 */ sw $t6,0x20($sp) +/* f018e70: e7aa0014 */ swc1 $f10,0x14($sp) +/* f018e74: 0fc05cc9 */ jal 0xf017324 +/* f018e78: afb9001c */ sw $t9,0x1c($sp) +/* f018e7c: afa20330 */ sw $v0,0x330($sp) +.PF0f018e80: +/* f018e80: 8fa20330 */ lw $v0,0x330($sp) +.PF0f018e84: +/* f018e84: 8fbf0034 */ lw $ra,0x34($sp) +.PF0f018e88: +/* f018e88: 27bd0330 */ addiu $sp,$sp,0x330 +/* f018e8c: 03e00008 */ jr $ra +/* f018e90: 00000000 */ nop +); +#else GLOBAL_ASM( glabel titleRenderPdLogo .late_rodata @@ -3279,6 +5025,7 @@ glabel var7f1a8468 /* f018da8: 03e00008 */ jr $ra /* f018dac: 00000000 */ nop ); +#endif void titleInitRarePresents(void) { @@ -4744,7 +6491,11 @@ s32 titleGetMode(void) void titleTick(void) { +#if PAL + viSetAspect(576.0f / var800624a0 * 1.1904761791229f); +#else viSetAspect(576.0f / var800624a0); +#endif viSetXY(576, var800624a0); viSetBuf(576, var800624a0); currentPlayerSetViewSize(576, var800624a0); diff --git a/src/include/game/chr/chraction.h b/src/include/game/chr/chraction.h index eefff0c70..852c4047c 100644 --- a/src/include/game/chr/chraction.h +++ b/src/include/game/chr/chraction.h @@ -54,7 +54,7 @@ u32 func0f032ac4(void); void func0f032fe4(struct chrdata *chr, struct coord *pos, f32 arg2, f32 arg3, u32 *arg4, u32 arg5); void func0f03323c(struct chrdata *chr, struct coord *pos, f32 arg2); u32 func0f033654(void); -u32 func0f0336a8(void); +void func0f0336a8(struct chrdata *chr, u32 arg1, u32 arg2, u32 arg3); u32 func0f033728(void); u32 func0f0338e0(void); void chrSetShield(struct chrdata *chr, f32 shield); diff --git a/src/include/game/game_006bd0.h b/src/include/game/game_006bd0.h index 413822cac..e208cd29e 100644 --- a/src/include/game/game_006bd0.h +++ b/src/include/game/game_006bd0.h @@ -7,7 +7,7 @@ f32 func0f006bd0(f32 arg0); u32 func0f006c80(void); Gfx *func0f008558(Gfx *gdl, s32 arg1); -void nbombResetAge(struct nbomb *nbomb); +void nbombReset(struct nbomb *nbomb); s32 nbombCalculateAlpha(struct nbomb *nbomb); Gfx *nbombCreateGdl(void); Gfx *nbombRender(Gfx *gdl, struct nbomb *nbomb, Gfx *subgdl); diff --git a/src/include/game/nbomb.h b/src/include/game/nbomb.h index 928441c02..8f2976ee2 100644 --- a/src/include/game/nbomb.h +++ b/src/include/game/nbomb.h @@ -6,7 +6,7 @@ u32 func0f006c80(void); Gfx *func0f008558(Gfx *gdl, s32 arg1); -void nbombResetAge(struct nbomb *nbomb); +void nbombReset(struct nbomb *nbomb); s32 nbombCalculateAlpha(struct nbomb *nbomb); Gfx *nbombCreateGdl(void); Gfx *nbombRender(Gfx *gdl, struct nbomb *nbomb, Gfx *subgdl);