From f5eb967ee2a746f1bd71b99f8c22c27f3aad38dd Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Fri, 11 Mar 2022 21:58:39 +1000 Subject: [PATCH] pal-beta: Get game segment matching excluding pointers --- src/game/activemenu/activemenu.c | 1579 ++++ src/game/bondbike.c | 2 +- src/game/bondeyespy.c | 1613 +++++ src/game/bondgrab.c | 2 +- src/game/bondgun.c | 5104 ++++++++++++- src/game/bondview.c | 4457 ++++++++++++ src/game/bondwalk.c | 1047 +++ src/game/bot.c | 3018 +++++++- src/game/chr/chr.c | 2174 +++++- src/game/chr/chraction.c | 1605 ++++- src/game/chr/chraicommands.c | 671 +- src/game/credits.c | 6 +- src/game/debug2.c | 352 + src/game/endscreen.c | 810 ++- src/game/explosions/explosions.c | 1483 ++++ src/game/filemgr.c | 70 +- src/game/game_005fd0.c | 235 +- src/game/game_00b320.c | 59 + src/game/game_00c490.c | 516 ++ src/game/game_01d860.c | 53 + src/game/game_092610.c | 651 ++ src/game/game_0abe70.c | 2 +- src/game/game_0b0fd0.c | 3 + src/game/game_10c9c0.c | 70 + src/game/game_11f000.c | 1181 +++ src/game/game_1531a0.c | 2166 ++++++ src/game/game_175f90.c | 2 + src/game/game_19aa80.c | 183 +- src/game/gamefile.c | 662 ++ src/game/hudmsg.c | 845 +++ src/game/lang.c | 133 +- src/game/lv.c | 14 +- src/game/mainmenu.c | 59 +- src/game/menu.c | 3120 +++++++- src/game/menugfx.c | 393 + src/game/menuitem.c | 18 +- src/game/mplayer/mplayer.c | 214 + src/game/mplayer/scenarios.c | 4 +- .../mplayer/scenarios/holdthebriefcase.inc | 2 +- src/game/nbomb.c | 4 +- src/game/pak/pak.c | 480 +- src/game/player.c | 2405 ++++++- src/game/playerinit.c | 2 +- src/game/prop.c | 999 +++ src/game/propobj.c | 6376 ++++++++++++++++- src/game/sight.c | 546 +- src/game/sparks/sparks.c | 198 +- src/game/title.c | 1818 ++++- src/game/training/training.c | 1344 +++- src/game/vmstats.c | 2 +- src/include/bss.h | 2 +- src/include/types.h | 4 +- 52 files changed, 48637 insertions(+), 121 deletions(-) diff --git a/src/game/activemenu/activemenu.c b/src/game/activemenu/activemenu.c index df3838f3d..ff6c0d949 100644 --- a/src/game/activemenu/activemenu.c +++ b/src/game/activemenu/activemenu.c @@ -3501,6 +3501,1585 @@ glabel amRender /* f102984: 03e00008 */ jr $ra /* f102988: 27bd01d8 */ addiu $sp,$sp,0x1d8 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel amRender +/* f101070: 27bdfe28 */ addiu $sp,$sp,-472 +/* f101074: 3c0b800a */ lui $t3,0x800a +/* f101078: 240e0001 */ li $t6,0x1 +/* f10107c: 3c018008 */ lui $at,0x8008 +/* f101080: 256be4d0 */ addiu $t3,$t3,-6960 +/* f101084: ac2e1f90 */ sw $t6,0x1f90($at) +/* f101088: 8d6f028c */ lw $t7,0x28c($t3) +/* f10108c: 3c01800a */ lui $at,0x800a +/* f101090: afbf004c */ sw $ra,0x4c($sp) +/* f101094: ac2f66e8 */ sw $t7,0x66e8($at) +/* f101098: 8d780284 */ lw $t8,0x284($t3) +/* f10109c: afbe0048 */ sw $s8,0x48($sp) +/* f1010a0: afb70044 */ sw $s7,0x44($sp) +/* f1010a4: afb60040 */ sw $s6,0x40($sp) +/* f1010a8: afb5003c */ sw $s5,0x3c($sp) +/* f1010ac: afb40038 */ sw $s4,0x38($sp) +/* f1010b0: afb30034 */ sw $s3,0x34($sp) +/* f1010b4: afb20030 */ sw $s2,0x30($sp) +/* f1010b8: afb1002c */ sw $s1,0x2c($sp) +/* f1010bc: afb00028 */ sw $s0,0x28($sp) +/* f1010c0: afa401d8 */ sw $a0,0x1d8($sp) +/* f1010c4: af001c04 */ sw $zero,0x1c04($t8) +/* f1010c8: 8d630284 */ lw $v1,0x284($t3) +/* f1010cc: 90790250 */ lbu $t9,0x250($v1) +/* f1010d0: 53200353 */ beqzl $t9,.PB0f101e20 +/* f1010d4: 8c621c04 */ lw $v0,0x1c04($v1) +/* f1010d8: 0fc5528f */ jal 0xf154a3c +/* f1010dc: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f1010e0: 3c08800a */ lui $t0,0x800a +/* f1010e4: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f1010e8: 8d0e0318 */ lw $t6,0x318($t0) +/* f1010ec: afa201d8 */ sw $v0,0x1d8($sp) +/* f1010f0: 11c00010 */ beqz $t6,.PB0f101134 +/* f1010f4: 3c0f800a */ lui $t7,0x800a +/* f1010f8: 8def66e8 */ lw $t7,0x66e8($t7) +/* f1010fc: 241e0038 */ li $s8,0x38 +/* f101100: 3c17800a */ lui $s7,0x800a +/* f101104: 01fe0019 */ multu $t7,$s8 +/* f101108: 26f76600 */ addiu $s7,$s7,0x6600 +/* f10110c: 0000c012 */ mflo $t8 +/* f101110: 02f8c821 */ addu $t9,$s7,$t8 +/* f101114: 83220000 */ lb $v0,0x0($t9) +/* f101118: 28410002 */ slti $at,$v0,0x2 +/* f10111c: 14200005 */ bnez $at,.PB0f101134 +/* f101120: 00000000 */ nop +/* f101124: 8d0e0284 */ lw $t6,0x284($t0) +/* f101128: 01c27821 */ addu $t7,$t6,$v0 +/* f10112c: 91f81be5 */ lbu $t8,0x1be5($t7) +/* f101130: afb801c4 */ sw $t8,0x1c4($sp) +.PB0f101134: +/* f101134: 3c19800a */ lui $t9,0x800a +/* f101138: 8f3966e8 */ lw $t9,0x66e8($t9) +/* f10113c: 241e0038 */ li $s8,0x38 +/* f101140: 3c17800a */ lui $s7,0x800a +/* f101144: 033e0019 */ multu $t9,$s8 +/* f101148: 26f76600 */ addiu $s7,$s7,0x6600 +/* f10114c: 2401ff85 */ li $at,-123 +/* f101150: 00007012 */ mflo $t6 +/* f101154: 02ee8021 */ addu $s0,$s7,$t6 +/* f101158: 860f000a */ lh $t7,0xa($s0) +/* f10115c: 55e10021 */ bnel $t7,$at,.PB0f1011e4 +/* f101160: 9202000e */ lbu $v0,0xe($s0) +/* f101164: 9202000e */ lbu $v0,0xe($s0) +/* f101168: 24030003 */ li $v1,0x3 +/* f10116c: 26060006 */ addiu $a2,$s0,0x6 +/* f101170: 0043001a */ div $zero,$v0,$v1 +/* f101174: 00002010 */ mfhi $a0 +/* f101178: 00002812 */ mflo $a1 +/* f10117c: 00057400 */ sll $t6,$a1,0x10 +/* f101180: 0004c400 */ sll $t8,$a0,0x10 +/* f101184: 14600002 */ bnez $v1,.PB0f101190 +/* f101188: 00000000 */ nop +/* f10118c: 0007000d */ break 0x7 +.PB0f101190: +/* f101190: 2401ffff */ li $at,-1 +/* f101194: 14610004 */ bne $v1,$at,.PB0f1011a8 +/* f101198: 3c018000 */ lui $at,0x8000 +/* f10119c: 14410002 */ bne $v0,$at,.PB0f1011a8 +/* f1011a0: 00000000 */ nop +/* f1011a4: 0006000d */ break 0x6 +.PB0f1011a8: +/* f1011a8: 00182403 */ sra $a0,$t8,0x10 +/* f1011ac: 000e2c03 */ sra $a1,$t6,0x10 +/* f1011b0: 0fc3fe05 */ jal 0xf0ff814 +/* f1011b4: 26070008 */ addiu $a3,$s0,0x8 +/* f1011b8: 3c18800a */ lui $t8,0x800a +/* f1011bc: 8f1866e8 */ lw $t8,0x66e8($t8) +/* f1011c0: 031e0019 */ multu $t8,$s8 +/* f1011c4: 0000c812 */ mflo $t9 +/* f1011c8: 02f98021 */ addu $s0,$s7,$t9 +/* f1011cc: 860e0006 */ lh $t6,0x6($s0) +/* f1011d0: 860f0008 */ lh $t7,0x8($s0) +/* f1011d4: a60e000a */ sh $t6,0xa($s0) +/* f1011d8: 1000000d */ b .PB0f101210 +/* f1011dc: a60f000c */ sh $t7,0xc($s0) +/* f1011e0: 9202000e */ lbu $v0,0xe($s0) +.PB0f1011e4: +/* f1011e4: 24010003 */ li $at,0x3 +/* f1011e8: 2606000a */ addiu $a2,$s0,0xa +/* f1011ec: 0041001a */ div $zero,$v0,$at +/* f1011f0: 00002010 */ mfhi $a0 +/* f1011f4: 00002812 */ mflo $a1 +/* f1011f8: 00057400 */ sll $t6,$a1,0x10 +/* f1011fc: 0004c400 */ sll $t8,$a0,0x10 +/* f101200: 00182403 */ sra $a0,$t8,0x10 +/* f101204: 000e2c03 */ sra $a1,$t6,0x10 +/* f101208: 0fc3fe05 */ jal 0xf0ff814 +/* f10120c: 2607000c */ addiu $a3,$s0,0xc +.PB0f101210: +/* f101210: 0fc3530f */ jal 0xf0d4c3c +/* f101214: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f101218: afa201d8 */ sw $v0,0x1d8($sp) +/* f10121c: 0fc5a40f */ jal 0xf16903c +/* f101220: 24040002 */ li $a0,0x2 +/* f101224: 0040a825 */ move $s5,$v0 +/* f101228: 0fc5a3f5 */ jal 0xf168fd4 +/* f10122c: 24040008 */ li $a0,0x8 +/* f101230: 8fb801d8 */ lw $t8,0x1d8($sp) +/* f101234: 3c0ee700 */ lui $t6,0xe700 +/* f101238: 00408025 */ move $s0,$v0 +/* f10123c: 27190008 */ addiu $t9,$t8,0x8 +/* f101240: afb901d8 */ sw $t9,0x1d8($sp) +/* f101244: af000004 */ sw $zero,0x4($t8) +/* f101248: af0e0000 */ sw $t6,0x0($t8) +/* f10124c: 8faf01d8 */ lw $t7,0x1d8($sp) +/* f101250: 3c19ba00 */ lui $t9,0xba00 +/* f101254: 37391402 */ ori $t9,$t9,0x1402 +/* f101258: 25f80008 */ addiu $t8,$t7,0x8 +/* f10125c: afb801d8 */ sw $t8,0x1d8($sp) +/* f101260: ade00004 */ sw $zero,0x4($t7) +/* f101264: adf90000 */ sw $t9,0x0($t7) +/* f101268: 8fae01d8 */ lw $t6,0x1d8($sp) +/* f10126c: 3c18b900 */ lui $t8,0xb900 +/* f101270: 37180002 */ ori $t8,$t8,0x2 +/* f101274: 25cf0008 */ addiu $t7,$t6,0x8 +/* f101278: afaf01d8 */ sw $t7,0x1d8($sp) +/* f10127c: adc00004 */ sw $zero,0x4($t6) +/* f101280: add80000 */ sw $t8,0x0($t6) +/* f101284: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f101288: 3c0fba00 */ lui $t7,0xba00 +/* f10128c: 35ef0402 */ ori $t7,$t7,0x402 +/* f101290: 272e0008 */ addiu $t6,$t9,0x8 +/* f101294: afae01d8 */ sw $t6,0x1d8($sp) +/* f101298: 24180020 */ li $t8,0x20 +/* f10129c: af380004 */ sw $t8,0x4($t9) +/* f1012a0: af2f0000 */ sw $t7,0x0($t9) +/* f1012a4: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f1012a8: 3c0ffc12 */ lui $t7,0xfc12 +/* f1012ac: 35ef7e24 */ ori $t7,$t7,0x7e24 +/* f1012b0: 272e0008 */ addiu $t6,$t9,0x8 +/* f1012b4: afae01d8 */ sw $t6,0x1d8($sp) +/* f1012b8: 2418f9fc */ li $t8,-1540 +/* f1012bc: af380004 */ sw $t8,0x4($t9) +/* f1012c0: af2f0000 */ sw $t7,0x0($t9) +/* f1012c4: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f1012c8: 3c0fb600 */ lui $t7,0xb600 +/* f1012cc: 24183000 */ li $t8,0x3000 +/* f1012d0: 272e0008 */ addiu $t6,$t9,0x8 +/* f1012d4: afae01d8 */ sw $t6,0x1d8($sp) +/* f1012d8: af380004 */ sw $t8,0x4($t9) +/* f1012dc: af2f0000 */ sw $t7,0x0($t9) +/* f1012e0: 24190002 */ li $t9,0x2 +/* f1012e4: 240e0001 */ li $t6,0x1 +/* f1012e8: afae0014 */ sw $t6,0x14($sp) +/* f1012ec: afb90010 */ sw $t9,0x10($sp) +/* f1012f0: afa00018 */ sw $zero,0x18($sp) +/* f1012f4: 27a401d8 */ addiu $a0,$sp,0x1d8 +/* f1012f8: 00002825 */ move $a1,$zero +/* f1012fc: 24060002 */ li $a2,0x2 +/* f101300: 0fc2cf74 */ jal 0xf0b3dd0 +/* f101304: 00003825 */ move $a3,$zero +/* f101308: 8faf01d8 */ lw $t7,0x1d8($sp) +/* f10130c: 3c19b900 */ lui $t9,0xb900 +/* f101310: 3c0e0050 */ lui $t6,0x50 +/* f101314: 25f80008 */ addiu $t8,$t7,0x8 +/* f101318: 27b301ba */ addiu $s3,$sp,0x1ba +/* f10131c: 27b401b8 */ addiu $s4,$sp,0x1b8 +/* f101320: afb801d8 */ sw $t8,0x1d8($sp) +/* f101324: 35ce4240 */ ori $t6,$t6,0x4240 +/* f101328: 3739031d */ ori $t9,$t9,0x31d +/* f10132c: 02803825 */ move $a3,$s4 +/* f101330: 02603025 */ move $a2,$s3 +/* f101334: 24040001 */ li $a0,0x1 +/* f101338: 00002825 */ move $a1,$zero +/* f10133c: adf90000 */ sw $t9,0x0($t7) +/* f101340: 0fc3fe05 */ jal 0xf0ff814 +/* f101344: adee0004 */ sw $t6,0x4($t7) +/* f101348: 87af01ba */ lh $t7,0x1ba($sp) +/* f10134c: 2411000a */ li $s1,0xa +/* f101350: 2412fff6 */ li $s2,-10 +/* f101354: 01f10019 */ multu $t7,$s1 +/* f101358: 24040002 */ li $a0,0x2 +/* f10135c: 24050001 */ li $a1,0x1 +/* f101360: 02603025 */ move $a2,$s3 +/* f101364: 02803825 */ move $a3,$s4 +/* f101368: 0000c012 */ mflo $t8 +/* f10136c: a6180000 */ sh $t8,0x0($s0) +/* f101370: 87b901b8 */ lh $t9,0x1b8($sp) +/* f101374: a6120004 */ sh $s2,0x4($s0) +/* f101378: 03310019 */ multu $t9,$s1 +/* f10137c: 00007012 */ mflo $t6 +/* f101380: a60e0002 */ sh $t6,0x2($s0) +/* f101384: 0fc3fe05 */ jal 0xf0ff814 +/* f101388: 00000000 */ nop +/* f10138c: 87af01ba */ lh $t7,0x1ba($sp) +/* f101390: 24040001 */ li $a0,0x1 +/* f101394: 24050002 */ li $a1,0x2 +/* f101398: 01f10019 */ multu $t7,$s1 +/* f10139c: 02603025 */ move $a2,$s3 +/* f1013a0: 02803825 */ move $a3,$s4 +/* f1013a4: 0000c012 */ mflo $t8 +/* f1013a8: a618000c */ sh $t8,0xc($s0) +/* f1013ac: 87b901b8 */ lh $t9,0x1b8($sp) +/* f1013b0: a6120010 */ sh $s2,0x10($s0) +/* f1013b4: 03310019 */ multu $t9,$s1 +/* f1013b8: 00007012 */ mflo $t6 +/* f1013bc: a60e000e */ sh $t6,0xe($s0) +/* f1013c0: 0fc3fe05 */ jal 0xf0ff814 +/* f1013c4: 00000000 */ nop +/* f1013c8: 87af01ba */ lh $t7,0x1ba($sp) +/* f1013cc: 00002025 */ move $a0,$zero +/* f1013d0: 24050001 */ li $a1,0x1 +/* f1013d4: 01f10019 */ multu $t7,$s1 +/* f1013d8: 02603025 */ move $a2,$s3 +/* f1013dc: 02803825 */ move $a3,$s4 +/* f1013e0: 0000c012 */ mflo $t8 +/* f1013e4: a6180018 */ sh $t8,0x18($s0) +/* f1013e8: 87b901b8 */ lh $t9,0x1b8($sp) +/* f1013ec: a612001c */ sh $s2,0x1c($s0) +/* f1013f0: 03310019 */ multu $t9,$s1 +/* f1013f4: 00007012 */ mflo $t6 +/* f1013f8: a60e001a */ sh $t6,0x1a($s0) +/* f1013fc: 0fc3fe05 */ jal 0xf0ff814 +/* f101400: 00000000 */ nop +/* f101404: 87af01ba */ lh $t7,0x1ba($sp) +/* f101408: 8602000c */ lh $v0,0xc($s0) +/* f10140c: 8607001a */ lh $a3,0x1a($s0) +/* f101410: 01f10019 */ multu $t7,$s1 +/* f101414: 86030002 */ lh $v1,0x2($s0) +/* f101418: 00e33023 */ subu $a2,$a3,$v1 +/* f10141c: 0000c012 */ mflo $t8 +/* f101420: a6180024 */ sh $t8,0x24($s0) +/* f101424: 87b901b8 */ lh $t9,0x1b8($sp) +/* f101428: 86050024 */ lh $a1,0x24($s0) +/* f10142c: a6120028 */ sh $s2,0x28($s0) +/* f101430: 03310019 */ multu $t9,$s1 +/* f101434: 00452023 */ subu $a0,$v0,$a1 +/* f101438: a6120034 */ sh $s2,0x34($s0) +/* f10143c: a6120040 */ sh $s2,0x40($s0) +/* f101440: a612004c */ sh $s2,0x4c($s0) +/* f101444: a6120058 */ sh $s2,0x58($s0) +/* f101448: a2000007 */ sb $zero,0x7($s0) +/* f10144c: a2000013 */ sb $zero,0x13($s0) +/* f101450: a200001f */ sb $zero,0x1f($s0) +/* f101454: a200002b */ sb $zero,0x2b($s0) +/* f101458: 00007012 */ mflo $t6 +/* f10145c: a60e0026 */ sh $t6,0x26($s0) +/* f101460: 04810003 */ bgez $a0,.PB0f101470 +/* f101464: 000478c3 */ sra $t7,$a0,0x3 +/* f101468: 24810007 */ addiu $at,$a0,0x7 +/* f10146c: 000178c3 */ sra $t7,$at,0x3 +.PB0f101470: +/* f101470: 000fc400 */ sll $t8,$t7,0x10 +/* f101474: 0018cc03 */ sra $t9,$t8,0x10 +/* f101478: 03202025 */ move $a0,$t9 +/* f10147c: 86190000 */ lh $t9,0x0($s0) +/* f101480: 8618000e */ lh $t8,0xe($s0) +/* f101484: 04c10003 */ bgez $a2,.PB0f101494 +/* f101488: 000670c3 */ sra $t6,$a2,0x3 +/* f10148c: 24c10007 */ addiu $at,$a2,0x7 +/* f101490: 000170c3 */ sra $t6,$at,0x3 +.PB0f101494: +/* f101494: 01c03025 */ move $a2,$t6 +/* f101498: 00447823 */ subu $t7,$v0,$a0 +/* f10149c: a6190030 */ sh $t9,0x30($s0) +/* f1014a0: 86190018 */ lh $t9,0x18($s0) +/* f1014a4: 24020004 */ li $v0,0x4 +/* f1014a8: 00667021 */ addu $t6,$v1,$a2 +/* f1014ac: a618003e */ sh $t8,0x3e($s0) +/* f1014b0: 86180026 */ lh $t8,0x26($s0) +/* f1014b4: a60e0032 */ sh $t6,0x32($s0) +/* f1014b8: a60f003c */ sh $t7,0x3c($s0) +/* f1014bc: 00e67023 */ subu $t6,$a3,$a2 +/* f1014c0: a60e004a */ sh $t6,0x4a($s0) +/* f1014c4: 00a47821 */ addu $t7,$a1,$a0 +/* f1014c8: a6190048 */ sh $t9,0x48($s0) +/* f1014cc: a60f0054 */ sh $t7,0x54($s0) +/* f1014d0: a2020037 */ sb $v0,0x37($s0) +/* f1014d4: a2020043 */ sb $v0,0x43($s0) +/* f1014d8: a202004f */ sb $v0,0x4f($s0) +/* f1014dc: a202005b */ sb $v0,0x5b($s0) +/* f1014e0: 3c192222 */ lui $t9,0x2222 +/* f1014e4: a6180056 */ sh $t8,0x56($s0) +/* f1014e8: 37392200 */ ori $t9,$t9,0x2200 +/* f1014ec: 240e004f */ li $t6,0x4f +/* f1014f0: aeb90000 */ sw $t9,0x0($s5) +/* f1014f4: aeae0004 */ sw $t6,0x4($s5) +/* f1014f8: 8fb101d8 */ lw $s1,0x1d8($sp) +/* f1014fc: 3c190704 */ lui $t9,0x704 +/* f101500: 37390008 */ ori $t9,$t9,0x8 +/* f101504: 26380008 */ addiu $t8,$s1,0x8 +/* f101508: afb801d8 */ sw $t8,0x1d8($sp) +/* f10150c: 02a02025 */ move $a0,$s5 +/* f101510: 0c012de0 */ jal 0x4b780 +/* f101514: ae390000 */ sw $t9,0x0($s1) +/* f101518: ae220004 */ sw $v0,0x4($s1) +/* f10151c: 8fb201d8 */ lw $s2,0x1d8($sp) +/* f101520: 3c180470 */ lui $t8,0x470 +/* f101524: 37180060 */ ori $t8,$t8,0x60 +/* f101528: 264f0008 */ addiu $t7,$s2,0x8 +/* f10152c: afaf01d8 */ sw $t7,0x1d8($sp) +/* f101530: 02002025 */ move $a0,$s0 +/* f101534: 0c012de0 */ jal 0x4b780 +/* f101538: ae580000 */ sw $t8,0x0($s2) +/* f10153c: ae420004 */ sw $v0,0x4($s2) +/* f101540: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f101544: 3c0fb100 */ lui $t7,0xb100 +/* f101548: 35ef0046 */ ori $t7,$t7,0x46 +/* f10154c: 272e0008 */ addiu $t6,$t9,0x8 +/* f101550: afae01d8 */ sw $t6,0x1d8($sp) +/* f101554: 24187654 */ li $t8,0x7654 +/* f101558: af380004 */ sw $t8,0x4($t9) +/* f10155c: af2f0000 */ sw $t7,0x0($t9) +/* f101560: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f101564: 3c0fb100 */ lui $t7,0xb100 +/* f101568: 3c184510 */ lui $t8,0x4510 +/* f10156c: 272e0008 */ addiu $t6,$t9,0x8 +/* f101570: afae01d8 */ sw $t6,0x1d8($sp) +/* f101574: 37183740 */ ori $t8,$t8,0x3740 +/* f101578: 35ef0507 */ ori $t7,$t7,0x507 +/* f10157c: af2f0000 */ sw $t7,0x0($t9) +/* f101580: af380004 */ sw $t8,0x4($t9) +/* f101584: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f101588: 3c187326 */ lui $t8,0x7326 +/* f10158c: 3c0fb100 */ lui $t7,0xb100 +/* f101590: 272e0008 */ addiu $t6,$t9,0x8 +/* f101594: afae01d8 */ sw $t6,0x1d8($sp) +/* f101598: 35ef6316 */ ori $t7,$t7,0x6316 +/* f10159c: 37185621 */ ori $t8,$t8,0x5621 +/* f1015a0: af380004 */ sw $t8,0x4($t9) +/* f1015a4: af2f0000 */ sw $t7,0x0($t9) +/* f1015a8: 0fc3539a */ jal 0xf0d4e68 +/* f1015ac: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f1015b0: 3c168007 */ lui $s6,0x8007 +/* f1015b4: afa201d8 */ sw $v0,0x1d8($sp) +/* f1015b8: 26d63670 */ addiu $s6,$s6,0x3670 +/* f1015bc: 00009825 */ move $s3,$zero +/* f1015c0: 27b5015c */ addiu $s5,$sp,0x15c +/* f1015c4: 00008825 */ move $s1,$zero +.PB0f1015c8: +/* f1015c8: 00132400 */ sll $a0,$s3,0x10 +.PB0f1015cc: +/* f1015cc: 00112c00 */ sll $a1,$s1,0x10 +/* f1015d0: 00057403 */ sra $t6,$a1,0x10 +/* f1015d4: 0004cc03 */ sra $t9,$a0,0x10 +/* f1015d8: 00008025 */ move $s0,$zero +/* f1015dc: 03202025 */ move $a0,$t9 +/* f1015e0: 01c02825 */ move $a1,$t6 +/* f1015e4: 27a60182 */ addiu $a2,$sp,0x182 +/* f1015e8: 27a70180 */ addiu $a3,$sp,0x180 +/* f1015ec: 0fc3fe05 */ jal 0xf0ff814 +/* f1015f0: 2414ffff */ li $s4,-1 +/* f1015f4: 3c18800a */ lui $t8,0x800a +/* f1015f8: 8f1866e8 */ lw $t8,0x66e8($t8) +/* f1015fc: 00117880 */ sll $t7,$s1,0x2 +/* f101600: 01f17823 */ subu $t7,$t7,$s1 +/* f101604: 031e0019 */ multu $t8,$s8 +/* f101608: 026f9021 */ addu $s2,$s3,$t7 +/* f10160c: afa001d0 */ sw $zero,0x1d0($sp) +/* f101610: 3c18800a */ lui $t8,0x800a +/* f101614: 0000c812 */ mflo $t9 +/* f101618: 02f97021 */ addu $t6,$s7,$t9 +/* f10161c: 91cf000e */ lbu $t7,0xe($t6) +/* f101620: 164f0002 */ bne $s2,$t7,.PB0f10162c +/* f101624: 00000000 */ nop +/* f101628: 24100001 */ li $s0,0x1 +.PB0f10162c: +/* f10162c: 8319251b */ lb $t9,0x251b($t8) +/* f101630: 07210029 */ bgez $t9,.PB0f1016d8 +/* f101634: 00000000 */ nop +/* f101638: 0fc3f90b */ jal 0xf0fe42c +/* f10163c: 00000000 */ nop +/* f101640: 04400025 */ bltz $v0,.PB0f1016d8 +/* f101644: 00000000 */ nop +/* f101648: 16000042 */ bnez $s0,.PB0f101754 +/* f10164c: 3c0e800a */ lui $t6,0x800a +/* f101650: 8dce66e8 */ lw $t6,0x66e8($t6) +/* f101654: 01de0019 */ multu $t6,$s8 +/* f101658: 00027080 */ sll $t6,$v0,0x2 +/* f10165c: 00007812 */ mflo $t7 +/* f101660: 02efc021 */ addu $t8,$s7,$t7 +/* f101664: 83190000 */ lb $t9,0x0($t8) +/* f101668: 3c0f800a */ lui $t7,0x800a +/* f10166c: 01ee7821 */ addu $t7,$t7,$t6 +/* f101670: 2b210002 */ slti $at,$t9,0x2 +/* f101674: 14200037 */ bnez $at,.PB0f101754 +/* f101678: 0011c080 */ sll $t8,$s1,0x2 +/* f10167c: 0311c023 */ subu $t8,$t8,$s1 +/* f101680: 02d8c821 */ addu $t9,$s6,$t8 +/* f101684: 03337021 */ addu $t6,$t9,$s3 +/* f101688: 91c40000 */ lbu $a0,0x0($t6) +/* f10168c: 8defe988 */ lw $t7,-0x1678($t7) +/* f101690: 24010007 */ li $at,0x7 +/* f101694: 14810007 */ bne $a0,$at,.PB0f1016b4 +/* f101698: 8de30004 */ lw $v1,0x4($t7) +/* f10169c: 8c6f0014 */ lw $t7,0x14($v1) +/* f1016a0: 31f80400 */ andi $t8,$t7,0x400 +/* f1016a4: 1300002b */ beqz $t8,.PB0f101754 +/* f1016a8: 00000000 */ nop +/* f1016ac: 10000029 */ b .PB0f101754 +/* f1016b0: 24100002 */ li $s0,0x2 +.PB0f1016b4: +/* f1016b4: 24010001 */ li $at,0x1 +/* f1016b8: 14810026 */ bne $a0,$at,.PB0f101754 +/* f1016bc: 00000000 */ nop +/* f1016c0: 8c790014 */ lw $t9,0x14($v1) +/* f1016c4: 332e0400 */ andi $t6,$t9,0x400 +/* f1016c8: 15c00022 */ bnez $t6,.PB0f101754 +/* f1016cc: 00000000 */ nop +/* f1016d0: 10000020 */ b .PB0f101754 +/* f1016d4: 24100002 */ li $s0,0x2 +.PB0f1016d8: +/* f1016d8: 3c0f800a */ lui $t7,0x800a +/* f1016dc: 8defe7e8 */ lw $t7,-0x1818($t7) +/* f1016e0: 11e0001c */ beqz $t7,.PB0f101754 +/* f1016e4: 00000000 */ nop +/* f1016e8: 1600001a */ bnez $s0,.PB0f101754 +/* f1016ec: 3c18800a */ lui $t8,0x800a +/* f1016f0: 8f1866e8 */ lw $t8,0x66e8($t8) +/* f1016f4: 031e0019 */ multu $t8,$s8 +/* f1016f8: 0011c080 */ sll $t8,$s1,0x2 +/* f1016fc: 0311c023 */ subu $t8,$t8,$s1 +/* f101700: 0000c812 */ mflo $t9 +/* f101704: 02f97021 */ addu $t6,$s7,$t9 +/* f101708: 81cf0000 */ lb $t7,0x0($t6) +/* f10170c: 02d8c821 */ addu $t9,$s6,$t8 +/* f101710: 03337021 */ addu $t6,$t9,$s3 +/* f101714: 29e10002 */ slti $at,$t7,0x2 +/* f101718: 1420000e */ bnez $at,.PB0f101754 +/* f10171c: 8fb801c4 */ lw $t8,0x1c4($sp) +/* f101720: 91cf0000 */ lbu $t7,0x0($t6) +/* f101724: 3c0e800b */ lui $t6,0x800b +/* f101728: 0018c880 */ sll $t9,$t8,0x2 +/* f10172c: 01d97021 */ addu $t6,$t6,$t9 +/* f101730: 8dce0af0 */ lw $t6,0xaf0($t6) +/* f101734: 3c02800b */ lui $v0,0x800b +/* f101738: 004f1021 */ addu $v0,$v0,$t7 +/* f10173c: 8dcf02d4 */ lw $t7,0x2d4($t6) +/* f101740: 90421198 */ lbu $v0,0x1198($v0) +/* f101744: 91e30079 */ lbu $v1,0x79($t7) +/* f101748: 14430002 */ bne $v0,$v1,.PB0f101754 +/* f10174c: 00000000 */ nop +/* f101750: 24100002 */ li $s0,0x2 +.PB0f101754: +/* f101754: 3c18800a */ lui $t8,0x800a +/* f101758: 8f18e754 */ lw $t8,-0x18ac($t8) +/* f10175c: 24010002 */ li $at,0x2 +/* f101760: 02402025 */ move $a0,$s2 +/* f101764: 93190250 */ lbu $t9,0x250($t8) +/* f101768: 27a501d0 */ addiu $a1,$sp,0x1d0 +/* f10176c: 17210003 */ bne $t9,$at,.PB0f10177c +/* f101770: 00000000 */ nop +/* f101774: 3c144f4f */ lui $s4,0x4f4f +/* f101778: 36944f7f */ ori $s4,$s4,0x4f7f +.PB0f10177c: +/* f10177c: 0fc3fa08 */ jal 0xf0fe820 +/* f101780: 02a03025 */ move $a2,$s5 +/* f101784: 24020001 */ li $v0,0x1 +/* f101788: 1662000f */ bne $s3,$v0,.PB0f1017c8 +/* f10178c: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f101790: 5622000e */ bnel $s1,$v0,.PB0f1017cc +/* f101794: 8faf01d0 */ lw $t7,0x1d0($sp) +/* f101798: 0fc3fd97 */ jal 0xf0ff65c +/* f10179c: 00000000 */ nop +/* f1017a0: 14400011 */ bnez $v0,.PB0f1017e8 +/* f1017a4: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f1017a8: 87ae0180 */ lh $t6,0x180($sp) +/* f1017ac: 02a02825 */ move $a1,$s5 +/* f1017b0: 02803025 */ move $a2,$s4 +/* f1017b4: 87a70182 */ lh $a3,0x182($sp) +/* f1017b8: 0fc3ff25 */ jal 0xf0ffc94 +/* f1017bc: afae0010 */ sw $t6,0x10($sp) +/* f1017c0: 10000009 */ b .PB0f1017e8 +/* f1017c4: afa201d8 */ sw $v0,0x1d8($sp) +.PB0f1017c8: +/* f1017c8: 8faf01d0 */ lw $t7,0x1d0($sp) +.PB0f1017cc: +/* f1017cc: 02a02825 */ move $a1,$s5 +/* f1017d0: 87a60182 */ lh $a2,0x182($sp) +/* f1017d4: 87a70180 */ lh $a3,0x180($sp) +/* f1017d8: afb00010 */ sw $s0,0x10($sp) +/* f1017dc: 0fc401b2 */ jal 0xf1006c8 +/* f1017e0: afaf0014 */ sw $t7,0x14($sp) +/* f1017e4: afa201d8 */ sw $v0,0x1d8($sp) +.PB0f1017e8: +/* f1017e8: 26310001 */ addiu $s1,$s1,0x1 +/* f1017ec: 0011c400 */ sll $t8,$s1,0x10 +/* f1017f0: 00188c03 */ sra $s1,$t8,0x10 +/* f1017f4: 2a210003 */ slti $at,$s1,0x3 +/* f1017f8: 5420ff74 */ bnezl $at,.PB0f1015cc +/* f1017fc: 00132400 */ sll $a0,$s3,0x10 +/* f101800: 26730001 */ addiu $s3,$s3,0x1 +/* f101804: 00137400 */ sll $t6,$s3,0x10 +/* f101808: 000e9c03 */ sra $s3,$t6,0x10 +/* f10180c: 2a610003 */ slti $at,$s3,0x3 +/* f101810: 5420ff6d */ bnezl $at,.PB0f1015c8 +/* f101814: 00008825 */ move $s1,$zero +/* f101818: 3c18800a */ lui $t8,0x800a +/* f10181c: 8319251b */ lb $t9,0x251b($t8) +/* f101820: 07210004 */ bgez $t9,.PB0f101834 +/* f101824: 00000000 */ nop +/* f101828: 0fc3f90b */ jal 0xf0fe42c +/* f10182c: 00000000 */ nop +/* f101830: 04410011 */ bgez $v0,.PB0f101878 +.PB0f101834: +/* f101834: 3c0e800a */ lui $t6,0x800a +/* f101838: 8dcee7e8 */ lw $t6,-0x1818($t6) +/* f10183c: 3c0f800a */ lui $t7,0x800a +/* f101840: 11c0000d */ beqz $t6,.PB0f101878 +/* f101844: 00000000 */ nop +/* f101848: 8def66e8 */ lw $t7,0x66e8($t7) +/* f10184c: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f101850: 01fe0019 */ multu $t7,$s8 +/* f101854: 0000c012 */ mflo $t8 +/* f101858: 02f8c821 */ addu $t9,$s7,$t8 +/* f10185c: 83220000 */ lb $v0,0x0($t9) +/* f101860: 28410002 */ slti $at,$v0,0x2 +/* f101864: 14200004 */ bnez $at,.PB0f101878 +/* f101868: 00000000 */ nop +/* f10186c: 0fc3ff57 */ jal 0xf0ffd5c +/* f101870: 2445fffe */ addiu $a1,$v0,-2 +/* f101874: afa201d8 */ sw $v0,0x1d8($sp) +.PB0f101878: +/* f101878: 3c0e800a */ lui $t6,0x800a +/* f10187c: 8dce66e8 */ lw $t6,0x66e8($t6) +/* f101880: 3c02800a */ lui $v0,0x800a +/* f101884: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f101888: 01de0019 */ multu $t6,$s8 +/* f10188c: 00007812 */ mflo $t7 +/* f101890: 02ef8021 */ addu $s0,$s7,$t7 +/* f101894: 82180000 */ lb $t8,0x0($s0) +/* f101898: 2b010002 */ slti $at,$t8,0x2 +/* f10189c: 14200005 */ bnez $at,.PB0f1018b4 +/* f1018a0: 24010001 */ li $at,0x1 +/* f1018a4: 16610003 */ bne $s3,$at,.PB0f1018b4 +/* f1018a8: 24010001 */ li $at,0x1 +/* f1018ac: 12210154 */ beq $s1,$at,.PB0f101e00 +/* f1018b0: 00000000 */ nop +.PB0f1018b4: +/* f1018b4: 8c59006c */ lw $t9,0x6c($v0) +/* f1018b8: 24120006 */ li $s2,0x6 +/* f1018bc: 24130006 */ li $s3,0x6 +/* f1018c0: 53200004 */ beqzl $t9,.PB0f1018d4 +/* f1018c4: 00003025 */ move $a2,$zero +/* f1018c8: 10000002 */ b .PB0f1018d4 +/* f1018cc: 24060001 */ li $a2,0x1 +/* f1018d0: 00003025 */ move $a2,$zero +.PB0f1018d4: +/* f1018d4: 8c4e0068 */ lw $t6,0x68($v0) +/* f1018d8: 00002825 */ move $a1,$zero +/* f1018dc: 11c00003 */ beqz $t6,.PB0f1018ec +/* f1018e0: 00000000 */ nop +/* f1018e4: 10000001 */ b .PB0f1018ec +/* f1018e8: 24050001 */ li $a1,0x1 +.PB0f1018ec: +/* f1018ec: 8c4f0064 */ lw $t7,0x64($v0) +/* f1018f0: 00002025 */ move $a0,$zero +/* f1018f4: 11e00003 */ beqz $t7,.PB0f101904 +/* f1018f8: 00000000 */ nop +/* f1018fc: 10000001 */ b .PB0f101904 +/* f101900: 24040001 */ li $a0,0x1 +.PB0f101904: +/* f101904: 8c580070 */ lw $t8,0x70($v0) +/* f101908: 00001825 */ move $v1,$zero +/* f10190c: 13000003 */ beqz $t8,.PB0f10191c +/* f101910: 00000000 */ nop +/* f101914: 10000001 */ b .PB0f10191c +/* f101918: 24030001 */ li $v1,0x1 +.PB0f10191c: +/* f10191c: 0064c821 */ addu $t9,$v1,$a0 +/* f101920: 03257021 */ addu $t6,$t9,$a1 +/* f101924: 01c67821 */ addu $t7,$t6,$a2 +/* f101928: 29e10002 */ slti $at,$t7,0x2 +/* f10192c: 14200003 */ bnez $at,.PB0f10193c +/* f101930: 00000000 */ nop +/* f101934: 24120005 */ li $s2,0x5 +/* f101938: 24130003 */ li $s3,0x3 +.PB0f10193c: +/* f10193c: 0c006b8b */ jal 0x1ae2c +/* f101940: c60c001c */ lwc1 $f12,0x1c($s0) +/* f101944: 3c013f80 */ lui $at,0x3f80 +/* f101948: 44812000 */ mtc1 $at,$f4 +/* f10194c: 3c0142fe */ lui $at,0x42fe +/* f101950: 44814000 */ mtc1 $at,$f8 +/* f101954: 46040180 */ add.s $f6,$f0,$f4 +/* f101958: 24020001 */ li $v0,0x1 +/* f10195c: 3c014f00 */ lui $at,0x4f00 +/* f101960: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f101964: 46083282 */ mul.s $f10,$f6,$f8 +/* f101968: 4458f800 */ cfc1 $t8,$31 +/* f10196c: 44c2f800 */ ctc1 $v0,$31 +/* f101970: 00000000 */ nop +/* f101974: 46005424 */ cvt.w.s $f16,$f10 +/* f101978: 4442f800 */ cfc1 $v0,$31 +/* f10197c: 00000000 */ nop +/* f101980: 30420078 */ andi $v0,$v0,0x78 +/* f101984: 50400013 */ beqzl $v0,.PB0f1019d4 +/* f101988: 44028000 */ mfc1 $v0,$f16 +/* f10198c: 44818000 */ mtc1 $at,$f16 +/* f101990: 24020001 */ li $v0,0x1 +/* f101994: 46105401 */ sub.s $f16,$f10,$f16 +/* f101998: 44c2f800 */ ctc1 $v0,$31 +/* f10199c: 00000000 */ nop +/* f1019a0: 46008424 */ cvt.w.s $f16,$f16 +/* f1019a4: 4442f800 */ cfc1 $v0,$31 +/* f1019a8: 00000000 */ nop +/* f1019ac: 30420078 */ andi $v0,$v0,0x78 +/* f1019b0: 14400005 */ bnez $v0,.PB0f1019c8 +/* f1019b4: 00000000 */ nop +/* f1019b8: 44028000 */ mfc1 $v0,$f16 +/* f1019bc: 3c018000 */ lui $at,0x8000 +/* f1019c0: 10000007 */ b .PB0f1019e0 +/* f1019c4: 00411025 */ or $v0,$v0,$at +.PB0f1019c8: +/* f1019c8: 10000005 */ b .PB0f1019e0 +/* f1019cc: 2402ffff */ li $v0,-1 +/* f1019d0: 44028000 */ mfc1 $v0,$f16 +.PB0f1019d4: +/* f1019d4: 00000000 */ nop +/* f1019d8: 0440fffb */ bltz $v0,.PB0f1019c8 +/* f1019dc: 00000000 */ nop +.PB0f1019e0: +/* f1019e0: 44d8f800 */ ctc1 $t8,$31 +/* f1019e4: 3c18800a */ lui $t8,0x800a +/* f1019e8: 8f18e754 */ lw $t8,-0x18ac($t8) +/* f1019ec: 3c01ff00 */ lui $at,0xff00 +/* f1019f0: 342100ff */ ori $at,$at,0xff +/* f1019f4: 0002ca00 */ sll $t9,$v0,0x8 +/* f1019f8: 03217025 */ or $t6,$t9,$at +/* f1019fc: 93190250 */ lbu $t9,0x250($t8) +/* f101a00: 00027c00 */ sll $t7,$v0,0x10 +/* f101a04: 24010002 */ li $at,0x2 +/* f101a08: 17210003 */ bne $t9,$at,.PB0f101a18 +/* f101a0c: 01cfa025 */ or $s4,$t6,$t7 +/* f101a10: 3c144f4f */ lui $s4,0x4f4f +/* f101a14: 36944f7f */ ori $s4,$s4,0x4f7f +.PB0f101a18: +/* f101a18: 0fc552fc */ jal 0xf154bf0 +/* f101a1c: 02802825 */ move $a1,$s4 +/* f101a20: 3c0e800a */ lui $t6,0x800a +/* f101a24: 8dce66e8 */ lw $t6,0x66e8($t6) +/* f101a28: afa201d8 */ sw $v0,0x1d8($sp) +/* f101a2c: 01de0019 */ multu $t6,$s8 +/* f101a30: 00007812 */ mflo $t7 +/* f101a34: 02ef8021 */ addu $s0,$s7,$t7 +/* f101a38: 86110004 */ lh $s1,0x4($s0) +/* f101a3c: 9219000e */ lbu $t9,0xe($s0) +/* f101a40: 06210003 */ bgez $s1,.PB0f101a50 +/* f101a44: 0011c043 */ sra $t8,$s1,0x1 +/* f101a48: 26210001 */ addiu $at,$s1,0x1 +/* f101a4c: 0001c043 */ sra $t8,$at,0x1 +.PB0f101a50: +/* f101a50: 24010004 */ li $at,0x4 +/* f101a54: 1721003c */ bne $t9,$at,.PB0f101b48 +/* f101a58: 03008825 */ move $s1,$t8 +/* f101a5c: 0fc3fd97 */ jal 0xf0ff65c +/* f101a60: 00000000 */ nop +/* f101a64: 10400005 */ beqz $v0,.PB0f101a7c +/* f101a68: 3c0e800a */ lui $t6,0x800a +/* f101a6c: 24110001 */ li $s1,0x1 +/* f101a70: 24120002 */ li $s2,0x2 +/* f101a74: 10000034 */ b .PB0f101b48 +/* f101a78: 00009825 */ move $s3,$zero +.PB0f101a7c: +/* f101a7c: 8dcee53c */ lw $t6,-0x1ac4($t6) +/* f101a80: 3c0f800a */ lui $t7,0x800a +/* f101a84: 3c18800a */ lui $t8,0x800a +/* f101a88: 11c00003 */ beqz $t6,.PB0f101a98 +/* f101a8c: 3c19800a */ lui $t9,0x800a +/* f101a90: 10000002 */ b .PB0f101a9c +/* f101a94: 24060001 */ li $a2,0x1 +.PB0f101a98: +/* f101a98: 00003025 */ move $a2,$zero +.PB0f101a9c: +/* f101a9c: 8defe538 */ lw $t7,-0x1ac8($t7) +/* f101aa0: 00002825 */ move $a1,$zero +/* f101aa4: 00002025 */ move $a0,$zero +/* f101aa8: 11e00003 */ beqz $t7,.PB0f101ab8 +/* f101aac: 00001825 */ move $v1,$zero +/* f101ab0: 10000001 */ b .PB0f101ab8 +/* f101ab4: 24050001 */ li $a1,0x1 +.PB0f101ab8: +/* f101ab8: 8f18e534 */ lw $t8,-0x1acc($t8) +/* f101abc: 27b00118 */ addiu $s0,$sp,0x118 +/* f101ac0: 13000003 */ beqz $t8,.PB0f101ad0 +/* f101ac4: 00000000 */ nop +/* f101ac8: 10000001 */ b .PB0f101ad0 +/* f101acc: 24040001 */ li $a0,0x1 +.PB0f101ad0: +/* f101ad0: 8f39e540 */ lw $t9,-0x1ac0($t9) +/* f101ad4: 13200003 */ beqz $t9,.PB0f101ae4 +/* f101ad8: 00000000 */ nop +/* f101adc: 10000001 */ b .PB0f101ae4 +/* f101ae0: 24030001 */ li $v1,0x1 +.PB0f101ae4: +/* f101ae4: 00647021 */ addu $t6,$v1,$a0 +/* f101ae8: 01c57821 */ addu $t7,$t6,$a1 +/* f101aec: 01e6c021 */ addu $t8,$t7,$a2 +/* f101af0: 2b010002 */ slti $at,$t8,0x2 +/* f101af4: 14200014 */ bnez $at,.PB0f101b48 +/* f101af8: 24040004 */ li $a0,0x4 +/* f101afc: 27a50114 */ addiu $a1,$sp,0x114 +/* f101b00: 0fc3fa08 */ jal 0xf0fe820 +/* f101b04: 02003025 */ move $a2,$s0 +/* f101b08: 3c19800a */ lui $t9,0x800a +/* f101b0c: 8f3966e4 */ lw $t9,0x66e4($t9) +/* f101b10: 3c07800a */ lui $a3,0x800a +/* f101b14: 8ce766e0 */ lw $a3,0x66e0($a3) +/* f101b18: 27a4013c */ addiu $a0,$sp,0x13c +/* f101b1c: 27a50138 */ addiu $a1,$sp,0x138 +/* f101b20: 02003025 */ move $a2,$s0 +/* f101b24: afa00014 */ sw $zero,0x14($sp) +/* f101b28: 0fc5625a */ jal 0xf158968 +/* f101b2c: afb90010 */ sw $t9,0x10($sp) +/* f101b30: 8fb10138 */ lw $s1,0x138($sp) +/* f101b34: 06210003 */ bgez $s1,.PB0f101b44 +/* f101b38: 00117043 */ sra $t6,$s1,0x1 +/* f101b3c: 26210001 */ addiu $at,$s1,0x1 +/* f101b40: 00017043 */ sra $t6,$at,0x1 +.PB0f101b44: +/* f101b44: 25d10002 */ addiu $s1,$t6,0x2 +.PB0f101b48: +/* f101b48: 3c19800a */ lui $t9,0x800a +/* f101b4c: 8f3966e8 */ lw $t9,0x66e8($t9) +/* f101b50: 8fa201d8 */ lw $v0,0x1d8($sp) +/* f101b54: 3c068008 */ lui $a2,0x8008 +/* f101b58: 033e0019 */ multu $t9,$s8 +/* f101b5c: 24c61f90 */ addiu $a2,$a2,0x1f90 +/* f101b60: 24580008 */ addiu $t8,$v0,0x8 +/* f101b64: afb801d8 */ sw $t8,0x1d8($sp) +/* f101b68: 3c16f600 */ lui $s6,0xf600 +/* f101b6c: 00007012 */ mflo $t6 +/* f101b70: 02ee8021 */ addu $s0,$s7,$t6 +/* f101b74: 860f0006 */ lh $t7,0x6($s0) +/* f101b78: 8cce0000 */ lw $t6,0x0($a2) +/* f101b7c: 01f1c021 */ addu $t8,$t7,$s1 +/* f101b80: 27190001 */ addiu $t9,$t8,0x1 +/* f101b84: 032e0019 */ multu $t9,$t6 +/* f101b88: 860e0008 */ lh $t6,0x8($s0) +/* f101b8c: 00007812 */ mflo $t7 +/* f101b90: 31f803ff */ andi $t8,$t7,0x3ff +/* f101b94: 0018cb80 */ sll $t9,$t8,0xe +/* f101b98: 01d27823 */ subu $t7,$t6,$s2 +/* f101b9c: 25f80001 */ addiu $t8,$t7,0x1 +/* f101ba0: 330e03ff */ andi $t6,$t8,0x3ff +/* f101ba4: 000e7880 */ sll $t7,$t6,0x2 +/* f101ba8: 01f6c025 */ or $t8,$t7,$s6 +/* f101bac: 03197025 */ or $t6,$t8,$t9 +/* f101bb0: 3c0f800a */ lui $t7,0x800a +/* f101bb4: ac4e0000 */ sw $t6,0x0($v0) +/* f101bb8: 8def66e8 */ lw $t7,0x66e8($t7) +/* f101bbc: 01fe0019 */ multu $t7,$s8 +/* f101bc0: 8ccf0000 */ lw $t7,0x0($a2) +/* f101bc4: 0000c012 */ mflo $t8 +/* f101bc8: 02f88021 */ addu $s0,$s7,$t8 +/* f101bcc: 86190006 */ lh $t9,0x6($s0) +/* f101bd0: 03317023 */ subu $t6,$t9,$s1 +/* f101bd4: 01cf0019 */ multu $t6,$t7 +/* f101bd8: 860f0008 */ lh $t7,0x8($s0) +/* f101bdc: 0000c012 */ mflo $t8 +/* f101be0: 331903ff */ andi $t9,$t8,0x3ff +/* f101be4: 00197380 */ sll $t6,$t9,0xe +/* f101be8: 01f2c023 */ subu $t8,$t7,$s2 +/* f101bec: 331903ff */ andi $t9,$t8,0x3ff +/* f101bf0: 00197880 */ sll $t7,$t9,0x2 +/* f101bf4: 01eec025 */ or $t8,$t7,$t6 +/* f101bf8: 3c0e800a */ lui $t6,0x800a +/* f101bfc: ac580004 */ sw $t8,0x4($v0) +/* f101c00: 8dce66e8 */ lw $t6,0x66e8($t6) +/* f101c04: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f101c08: 01de0019 */ multu $t6,$s8 +/* f101c0c: 246f0008 */ addiu $t7,$v1,0x8 +/* f101c10: afaf01d8 */ sw $t7,0x1d8($sp) +/* f101c14: 0000c012 */ mflo $t8 +/* f101c18: 02f88021 */ addu $s0,$s7,$t8 +/* f101c1c: 86190006 */ lh $t9,0x6($s0) +/* f101c20: 8cd80000 */ lw $t8,0x0($a2) +/* f101c24: 03317821 */ addu $t7,$t9,$s1 +/* f101c28: 25ee0001 */ addiu $t6,$t7,0x1 +/* f101c2c: 01d80019 */ multu $t6,$t8 +/* f101c30: 86180008 */ lh $t8,0x8($s0) +/* f101c34: 0000c812 */ mflo $t9 +/* f101c38: 332f03ff */ andi $t7,$t9,0x3ff +/* f101c3c: 000f7380 */ sll $t6,$t7,0xe +/* f101c40: 0313c821 */ addu $t9,$t8,$s3 +/* f101c44: 272f0001 */ addiu $t7,$t9,0x1 +/* f101c48: 31f803ff */ andi $t8,$t7,0x3ff +/* f101c4c: 0018c880 */ sll $t9,$t8,0x2 +/* f101c50: 03367825 */ or $t7,$t9,$s6 +/* f101c54: 01eec025 */ or $t8,$t7,$t6 +/* f101c58: 3c19800a */ lui $t9,0x800a +/* f101c5c: ac780000 */ sw $t8,0x0($v1) +/* f101c60: 8f3966e8 */ lw $t9,0x66e8($t9) +/* f101c64: 033e0019 */ multu $t9,$s8 +/* f101c68: 8cd90000 */ lw $t9,0x0($a2) +/* f101c6c: 00007812 */ mflo $t7 +/* f101c70: 02ef8021 */ addu $s0,$s7,$t7 +/* f101c74: 860e0006 */ lh $t6,0x6($s0) +/* f101c78: 01d1c023 */ subu $t8,$t6,$s1 +/* f101c7c: 03190019 */ multu $t8,$t9 +/* f101c80: 86190008 */ lh $t9,0x8($s0) +/* f101c84: 00007812 */ mflo $t7 +/* f101c88: 31ee03ff */ andi $t6,$t7,0x3ff +/* f101c8c: 000ec380 */ sll $t8,$t6,0xe +/* f101c90: 03337821 */ addu $t7,$t9,$s3 +/* f101c94: 31ee03ff */ andi $t6,$t7,0x3ff +/* f101c98: 000ec880 */ sll $t9,$t6,0x2 +/* f101c9c: 03387825 */ or $t7,$t9,$t8 +/* f101ca0: 3c18800a */ lui $t8,0x800a +/* f101ca4: ac6f0004 */ sw $t7,0x4($v1) +/* f101ca8: 8f1866e8 */ lw $t8,0x66e8($t8) +/* f101cac: 8fa501d8 */ lw $a1,0x1d8($sp) +/* f101cb0: 031e0019 */ multu $t8,$s8 +/* f101cb4: 24b90008 */ addiu $t9,$a1,0x8 +/* f101cb8: afb901d8 */ sw $t9,0x1d8($sp) +/* f101cbc: 00007812 */ mflo $t7 +/* f101cc0: 02ef8021 */ addu $s0,$s7,$t7 +/* f101cc4: 860e0006 */ lh $t6,0x6($s0) +/* f101cc8: 8ccf0000 */ lw $t7,0x0($a2) +/* f101ccc: 01d1c823 */ subu $t9,$t6,$s1 +/* f101cd0: 27380001 */ addiu $t8,$t9,0x1 +/* f101cd4: 030f0019 */ multu $t8,$t7 +/* f101cd8: 860f0008 */ lh $t7,0x8($s0) +/* f101cdc: 00007012 */ mflo $t6 +/* f101ce0: 31d903ff */ andi $t9,$t6,0x3ff +/* f101ce4: 0019c380 */ sll $t8,$t9,0xe +/* f101ce8: 01f37021 */ addu $t6,$t7,$s3 +/* f101cec: 31d903ff */ andi $t9,$t6,0x3ff +/* f101cf0: 00197880 */ sll $t7,$t9,0x2 +/* f101cf4: 01f67025 */ or $t6,$t7,$s6 +/* f101cf8: 01d8c825 */ or $t9,$t6,$t8 +/* f101cfc: 3c0f800a */ lui $t7,0x800a +/* f101d00: acb90000 */ sw $t9,0x0($a1) +/* f101d04: 8def66e8 */ lw $t7,0x66e8($t7) +/* f101d08: 01fe0019 */ multu $t7,$s8 +/* f101d0c: 8ccf0000 */ lw $t7,0x0($a2) +/* f101d10: 00007012 */ mflo $t6 +/* f101d14: 02ee8021 */ addu $s0,$s7,$t6 +/* f101d18: 86180006 */ lh $t8,0x6($s0) +/* f101d1c: 0311c823 */ subu $t9,$t8,$s1 +/* f101d20: 032f0019 */ multu $t9,$t7 +/* f101d24: 860f0008 */ lh $t7,0x8($s0) +/* f101d28: 00007012 */ mflo $t6 +/* f101d2c: 31d803ff */ andi $t8,$t6,0x3ff +/* f101d30: 0018cb80 */ sll $t9,$t8,0xe +/* f101d34: 01f27023 */ subu $t6,$t7,$s2 +/* f101d38: 25d80001 */ addiu $t8,$t6,0x1 +/* f101d3c: 330f03ff */ andi $t7,$t8,0x3ff +/* f101d40: 000f7080 */ sll $t6,$t7,0x2 +/* f101d44: 01d9c025 */ or $t8,$t6,$t9 +/* f101d48: 3c19800a */ lui $t9,0x800a +/* f101d4c: acb80004 */ sw $t8,0x4($a1) +/* f101d50: 8f3966e8 */ lw $t9,0x66e8($t9) +/* f101d54: 8fa201d8 */ lw $v0,0x1d8($sp) +/* f101d58: 033e0019 */ multu $t9,$s8 +/* f101d5c: 244e0008 */ addiu $t6,$v0,0x8 +/* f101d60: afae01d8 */ sw $t6,0x1d8($sp) +/* f101d64: 0000c012 */ mflo $t8 +/* f101d68: 02f88021 */ addu $s0,$s7,$t8 +/* f101d6c: 860f0006 */ lh $t7,0x6($s0) +/* f101d70: 8cd80000 */ lw $t8,0x0($a2) +/* f101d74: 01f17021 */ addu $t6,$t7,$s1 +/* f101d78: 25d90001 */ addiu $t9,$t6,0x1 +/* f101d7c: 03380019 */ multu $t9,$t8 +/* f101d80: 86180008 */ lh $t8,0x8($s0) +/* f101d84: 00007812 */ mflo $t7 +/* f101d88: 31ee03ff */ andi $t6,$t7,0x3ff +/* f101d8c: 000ecb80 */ sll $t9,$t6,0xe +/* f101d90: 03137821 */ addu $t7,$t8,$s3 +/* f101d94: 31ee03ff */ andi $t6,$t7,0x3ff +/* f101d98: 000ec080 */ sll $t8,$t6,0x2 +/* f101d9c: 03167825 */ or $t7,$t8,$s6 +/* f101da0: 01f97025 */ or $t6,$t7,$t9 +/* f101da4: 3c18800a */ lui $t8,0x800a +/* f101da8: ac4e0000 */ sw $t6,0x0($v0) +/* f101dac: 8f1866e8 */ lw $t8,0x66e8($t8) +/* f101db0: 031e0019 */ multu $t8,$s8 +/* f101db4: 8cd80000 */ lw $t8,0x0($a2) +/* f101db8: 00007812 */ mflo $t7 +/* f101dbc: 02ef8021 */ addu $s0,$s7,$t7 +/* f101dc0: 86190006 */ lh $t9,0x6($s0) +/* f101dc4: 03317021 */ addu $t6,$t9,$s1 +/* f101dc8: 01d80019 */ multu $t6,$t8 +/* f101dcc: 86180008 */ lh $t8,0x8($s0) +/* f101dd0: 00007812 */ mflo $t7 +/* f101dd4: 31f903ff */ andi $t9,$t7,0x3ff +/* f101dd8: 00197380 */ sll $t6,$t9,0xe +/* f101ddc: 03127823 */ subu $t7,$t8,$s2 +/* f101de0: 25f90001 */ addiu $t9,$t7,0x1 +/* f101de4: 333803ff */ andi $t8,$t9,0x3ff +/* f101de8: 00187880 */ sll $t7,$t8,0x2 +/* f101dec: 01eec825 */ or $t9,$t7,$t6 +/* f101df0: ac590004 */ sw $t9,0x4($v0) +/* f101df4: 0fc55313 */ jal 0xf154c4c +/* f101df8: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f101dfc: afa201d8 */ sw $v0,0x1d8($sp) +.PB0f101e00: +/* f101e00: 0fc552e5 */ jal 0xf154b94 +/* f101e04: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f101e08: 3c03800a */ lui $v1,0x800a +/* f101e0c: 3c0b800a */ lui $t3,0x800a +/* f101e10: 256be4d0 */ addiu $t3,$t3,-6960 +/* f101e14: 8c63e754 */ lw $v1,-0x18ac($v1) +/* f101e18: afa201d8 */ sw $v0,0x1d8($sp) +/* f101e1c: 8c621c04 */ lw $v0,0x1c04($v1) +.PB0f101e20: +/* f101e20: 3c16f600 */ lui $s6,0xf600 +/* f101e24: 50400252 */ beqzl $v0,.PB0f102770 +/* f101e28: 8fbf004c */ lw $ra,0x4c($sp) +/* f101e2c: c4400104 */ lwc1 $f0,0x104($v0) +/* f101e30: c4520100 */ lwc1 $f18,0x100($v0) +/* f101e34: 3c013e00 */ lui $at,0x3e00 +/* f101e38: 44815000 */ mtc1 $at,$f10 +/* f101e3c: 46120101 */ sub.s $f4,$f0,$f18 +/* f101e40: 3c013e80 */ lui $at,0x3e80 +/* f101e44: 44819000 */ mtc1 $at,$f18 +/* f101e48: 0000f025 */ move $s8,$zero +/* f101e4c: 46002183 */ div.s $f6,$f4,$f0 +/* f101e50: e7a60100 */ swc1 $f6,0x100($sp) +/* f101e54: c4480180 */ lwc1 $f8,0x180($v0) +/* f101e58: 4612303c */ c.lt.s $f6,$f18 +/* f101e5c: 460a4402 */ mul.s $f16,$f8,$f10 +/* f101e60: 45000002 */ bc1f .PB0f101e6c +/* f101e64: e7b000fc */ swc1 $f16,0xfc($sp) +/* f101e68: 241e0001 */ li $s8,0x1 +.PB0f101e6c: +/* f101e6c: 8d67006c */ lw $a3,0x6c($t3) +/* f101e70: 50e00004 */ beqzl $a3,.PB0f101e84 +/* f101e74: 00003025 */ move $a2,$zero +/* f101e78: 10000002 */ b .PB0f101e84 +/* f101e7c: 24060001 */ li $a2,0x1 +/* f101e80: 00003025 */ move $a2,$zero +.PB0f101e84: +/* f101e84: 8d680068 */ lw $t0,0x68($t3) +/* f101e88: 51000004 */ beqzl $t0,.PB0f101e9c +/* f101e8c: 00002825 */ move $a1,$zero +/* f101e90: 10000002 */ b .PB0f101e9c +/* f101e94: 24050001 */ li $a1,0x1 +/* f101e98: 00002825 */ move $a1,$zero +.PB0f101e9c: +/* f101e9c: 8d690064 */ lw $t1,0x64($t3) +/* f101ea0: 51200004 */ beqzl $t1,.PB0f101eb4 +/* f101ea4: 00002025 */ move $a0,$zero +/* f101ea8: 10000002 */ b .PB0f101eb4 +/* f101eac: 24040001 */ li $a0,0x1 +/* f101eb0: 00002025 */ move $a0,$zero +.PB0f101eb4: +/* f101eb4: 8d6a0070 */ lw $t2,0x70($t3) +/* f101eb8: 51400004 */ beqzl $t2,.PB0f101ecc +/* f101ebc: 00001825 */ move $v1,$zero +/* f101ec0: 10000002 */ b .PB0f101ecc +/* f101ec4: 24030001 */ li $v1,0x1 +/* f101ec8: 00001825 */ move $v1,$zero +.PB0f101ecc: +/* f101ecc: 0064c021 */ addu $t8,$v1,$a0 +/* f101ed0: 03057821 */ addu $t7,$t8,$a1 +/* f101ed4: 01e67021 */ addu $t6,$t7,$a2 +/* f101ed8: 29c10002 */ slti $at,$t6,0x2 +/* f101edc: 54200004 */ bnezl $at,.PB0f101ef0 +/* f101ee0: 24170040 */ li $s7,0x40 +/* f101ee4: 10000002 */ b .PB0f101ef0 +/* f101ee8: 24170030 */ li $s7,0x30 +/* f101eec: 24170040 */ li $s7,0x40 +.PB0f101ef0: +/* f101ef0: 50e00004 */ beqzl $a3,.PB0f101f04 +/* f101ef4: 00003025 */ move $a2,$zero +/* f101ef8: 10000002 */ b .PB0f101f04 +/* f101efc: 24060001 */ li $a2,0x1 +/* f101f00: 00003025 */ move $a2,$zero +.PB0f101f04: +/* f101f04: 51000004 */ beqzl $t0,.PB0f101f18 +/* f101f08: 00002825 */ move $a1,$zero +/* f101f0c: 10000002 */ b .PB0f101f18 +/* f101f10: 24050001 */ li $a1,0x1 +/* f101f14: 00002825 */ move $a1,$zero +.PB0f101f18: +/* f101f18: 51200004 */ beqzl $t1,.PB0f101f2c +/* f101f1c: 00002025 */ move $a0,$zero +/* f101f20: 10000002 */ b .PB0f101f2c +/* f101f24: 24040001 */ li $a0,0x1 +/* f101f28: 00002025 */ move $a0,$zero +.PB0f101f2c: +/* f101f2c: 51400004 */ beqzl $t2,.PB0f101f40 +/* f101f30: 00001825 */ move $v1,$zero +/* f101f34: 10000002 */ b .PB0f101f40 +/* f101f38: 24030001 */ li $v1,0x1 +/* f101f3c: 00001825 */ move $v1,$zero +.PB0f101f40: +/* f101f40: 0064c821 */ addu $t9,$v1,$a0 +/* f101f44: 0325c021 */ addu $t8,$t9,$a1 +/* f101f48: 03067821 */ addu $t7,$t8,$a2 +/* f101f4c: 29e10002 */ slti $at,$t7,0x2 +/* f101f50: 54200004 */ bnezl $at,.PB0f101f64 +/* f101f54: 2415000b */ li $s5,0xb +/* f101f58: 10000002 */ b .PB0f101f64 +/* f101f5c: 24150007 */ li $s5,0x7 +/* f101f60: 2415000b */ li $s5,0xb +.PB0f101f64: +/* f101f64: 10e00003 */ beqz $a3,.PB0f101f74 +/* f101f68: 00009025 */ move $s2,$zero +/* f101f6c: 10000002 */ b .PB0f101f78 +/* f101f70: 24060001 */ li $a2,0x1 +.PB0f101f74: +/* f101f74: 00003025 */ move $a2,$zero +.PB0f101f78: +/* f101f78: 11000003 */ beqz $t0,.PB0f101f88 +/* f101f7c: 24010002 */ li $at,0x2 +/* f101f80: 10000002 */ b .PB0f101f8c +/* f101f84: 24050001 */ li $a1,0x1 +.PB0f101f88: +/* f101f88: 00002825 */ move $a1,$zero +.PB0f101f8c: +/* f101f8c: 51200004 */ beqzl $t1,.PB0f101fa0 +/* f101f90: 00002025 */ move $a0,$zero +/* f101f94: 10000002 */ b .PB0f101fa0 +/* f101f98: 24040001 */ li $a0,0x1 +/* f101f9c: 00002025 */ move $a0,$zero +.PB0f101fa0: +/* f101fa0: 51400004 */ beqzl $t2,.PB0f101fb4 +/* f101fa4: 00001825 */ move $v1,$zero +/* f101fa8: 10000002 */ b .PB0f101fb4 +/* f101fac: 24030001 */ li $v1,0x1 +/* f101fb0: 00001825 */ move $v1,$zero +.PB0f101fb4: +/* f101fb4: 00647021 */ addu $t6,$v1,$a0 +/* f101fb8: 01c5c821 */ addu $t9,$t6,$a1 +/* f101fbc: 0326c021 */ addu $t8,$t9,$a2 +/* f101fc0: 17010011 */ bne $t8,$at,.PB0f102008 +/* f101fc4: 00000000 */ nop +/* f101fc8: 0fc550b9 */ jal 0xf1542e4 +/* f101fcc: 00000000 */ nop +/* f101fd0: 24010001 */ li $at,0x1 +/* f101fd4: 10410021 */ beq $v0,$at,.PB0f10205c +/* f101fd8: 3c0f8009 */ lui $t7,0x8009 +/* f101fdc: 91ef2fd0 */ lbu $t7,0x2fd0($t7) +/* f101fe0: 24010001 */ li $at,0x1 +/* f101fe4: 3c07800a */ lui $a3,0x800a +/* f101fe8: 11e1001c */ beq $t7,$at,.PB0f10205c +/* f101fec: 3c08800a */ lui $t0,0x800a +/* f101ff0: 3c09800a */ lui $t1,0x800a +/* f101ff4: 3c0a800a */ lui $t2,0x800a +/* f101ff8: 8d4ae540 */ lw $t2,-0x1ac0($t2) +/* f101ffc: 8d29e534 */ lw $t1,-0x1acc($t1) +/* f102000: 8ce7e53c */ lw $a3,-0x1ac4($a3) +/* f102004: 8d08e538 */ lw $t0,-0x1ac8($t0) +.PB0f102008: +/* f102008: 10e00003 */ beqz $a3,.PB0f102018 +/* f10200c: 00002825 */ move $a1,$zero +/* f102010: 10000001 */ b .PB0f102018 +/* f102014: 24050001 */ li $a1,0x1 +.PB0f102018: +/* f102018: 11000003 */ beqz $t0,.PB0f102028 +/* f10201c: 00001025 */ move $v0,$zero +/* f102020: 10000001 */ b .PB0f102028 +/* f102024: 24020001 */ li $v0,0x1 +.PB0f102028: +/* f102028: 11200003 */ beqz $t1,.PB0f102038 +/* f10202c: 00002025 */ move $a0,$zero +/* f102030: 10000001 */ b .PB0f102038 +/* f102034: 24040001 */ li $a0,0x1 +.PB0f102038: +/* f102038: 11400003 */ beqz $t2,.PB0f102048 +/* f10203c: 00001825 */ move $v1,$zero +/* f102040: 10000001 */ b .PB0f102048 +/* f102044: 24030001 */ li $v1,0x1 +.PB0f102048: +/* f102048: 00647021 */ addu $t6,$v1,$a0 +/* f10204c: 01c2c821 */ addu $t9,$t6,$v0 +/* f102050: 0325c021 */ addu $t8,$t9,$a1 +/* f102054: 2b010003 */ slti $at,$t8,0x3 +/* f102058: 1420000c */ bnez $at,.PB0f10208c +.PB0f10205c: +/* f10205c: 3c0b800a */ lui $t3,0x800a +/* f102060: 256be4d0 */ addiu $t3,$t3,-6960 +/* f102064: 8d6f028c */ lw $t7,0x28c($t3) +/* f102068: 8d67006c */ lw $a3,0x6c($t3) +/* f10206c: 8d680068 */ lw $t0,0x68($t3) +/* f102070: 31ee0001 */ andi $t6,$t7,0x1 +/* f102074: 8d690064 */ lw $t1,0x64($t3) +/* f102078: 15c00003 */ bnez $t6,.PB0f102088 +/* f10207c: 8d6a0070 */ lw $t2,0x70($t3) +/* f102080: 10000002 */ b .PB0f10208c +/* f102084: 24120008 */ li $s2,0x8 +.PB0f102088: +/* f102088: 2412fff8 */ li $s2,-8 +.PB0f10208c: +/* f10208c: 10e00003 */ beqz $a3,.PB0f10209c +/* f102090: 24010001 */ li $at,0x1 +/* f102094: 10000002 */ b .PB0f1020a0 +/* f102098: 24060001 */ li $a2,0x1 +.PB0f10209c: +/* f10209c: 00003025 */ move $a2,$zero +.PB0f1020a0: +/* f1020a0: 51000004 */ beqzl $t0,.PB0f1020b4 +/* f1020a4: 00002825 */ move $a1,$zero +/* f1020a8: 10000002 */ b .PB0f1020b4 +/* f1020ac: 24050001 */ li $a1,0x1 +/* f1020b0: 00002825 */ move $a1,$zero +.PB0f1020b4: +/* f1020b4: 51200004 */ beqzl $t1,.PB0f1020c8 +/* f1020b8: 00002025 */ move $a0,$zero +/* f1020bc: 10000002 */ b .PB0f1020c8 +/* f1020c0: 24040001 */ li $a0,0x1 +/* f1020c4: 00002025 */ move $a0,$zero +.PB0f1020c8: +/* f1020c8: 51400004 */ beqzl $t2,.PB0f1020dc +/* f1020cc: 00001825 */ move $v1,$zero +/* f1020d0: 10000002 */ b .PB0f1020dc +/* f1020d4: 24030001 */ li $v1,0x1 +/* f1020d8: 00001825 */ move $v1,$zero +.PB0f1020dc: +/* f1020dc: 0064c821 */ addu $t9,$v1,$a0 +/* f1020e0: 0325c021 */ addu $t8,$t9,$a1 +/* f1020e4: 03067821 */ addu $t7,$t8,$a2 +/* f1020e8: 15e10019 */ bne $t7,$at,.PB0f102150 +/* f1020ec: 00000000 */ nop +/* f1020f0: 0fc5504c */ jal 0xf154130 +/* f1020f4: 00000000 */ nop +/* f1020f8: 10400015 */ beqz $v0,.PB0f102150 +/* f1020fc: 00000000 */ nop +/* f102100: 0c002e8b */ jal 0xba2c +/* f102104: 00000000 */ nop +/* f102108: 3c0e8008 */ lui $t6,0x8008 +/* f10210c: 8dce1f90 */ lw $t6,0x1f90($t6) +/* f102110: 44972000 */ mtc1 $s7,$f4 +/* f102114: 004e001a */ div $zero,$v0,$t6 +/* f102118: 00008012 */ mflo $s0 +/* f10211c: 26100020 */ addiu $s0,$s0,0x20 +/* f102120: 15c00002 */ bnez $t6,.PB0f10212c +/* f102124: 00000000 */ nop +/* f102128: 0007000d */ break 0x7 +.PB0f10212c: +/* f10212c: 2401ffff */ li $at,-1 +/* f102130: 15c10004 */ bne $t6,$at,.PB0f102144 +/* f102134: 3c018000 */ lui $at,0x8000 +/* f102138: 14410002 */ bne $v0,$at,.PB0f102144 +/* f10213c: 00000000 */ nop +/* f102140: 0006000d */ break 0x6 +.PB0f102144: +/* f102144: 468020a0 */ cvt.s.w $f2,$f4 +/* f102148: 10000031 */ b .PB0f102210 +/* f10214c: 3c013e80 */ lui $at,0x3e80 +.PB0f102150: +/* f102150: 0c002e6d */ jal 0xb9b4 +/* f102154: 00000000 */ nop +/* f102158: 00028c00 */ sll $s1,$v0,0x10 +/* f10215c: 0011cc03 */ sra $t9,$s1,0x10 +/* f102160: 0c002e8b */ jal 0xba2c +/* f102164: 03208825 */ move $s1,$t9 +/* f102168: 3c038008 */ lui $v1,0x8008 +/* f10216c: 8c631f90 */ lw $v1,0x1f90($v1) +/* f102170: 44974000 */ mtc1 $s7,$f8 +/* f102174: 3c013f00 */ lui $at,0x3f00 +/* f102178: 0043001a */ div $zero,$v0,$v1 +/* f10217c: 0000c012 */ mflo $t8 +/* f102180: 44810000 */ mtc1 $at,$f0 +/* f102184: 468040a0 */ cvt.s.w $f2,$f8 +/* f102188: 0223001a */ div $zero,$s1,$v1 +/* f10218c: 00007812 */ mflo $t7 +/* f102190: 448f5000 */ mtc1 $t7,$f10 +/* f102194: 14600002 */ bnez $v1,.PB0f1021a0 +/* f102198: 00000000 */ nop +/* f10219c: 0007000d */ break 0x7 +.PB0f1021a0: +/* f1021a0: 2401ffff */ li $at,-1 +/* f1021a4: 14610004 */ bne $v1,$at,.PB0f1021b8 +/* f1021a8: 3c018000 */ lui $at,0x8000 +/* f1021ac: 14410002 */ bne $v0,$at,.PB0f1021b8 +/* f1021b0: 00000000 */ nop +/* f1021b4: 0006000d */ break 0x6 +.PB0f1021b8: +/* f1021b8: 46805420 */ cvt.s.w $f16,$f10 +/* f1021bc: 14600002 */ bnez $v1,.PB0f1021c8 +/* f1021c0: 00000000 */ nop +/* f1021c4: 0007000d */ break 0x7 +.PB0f1021c8: +/* f1021c8: 2401ffff */ li $at,-1 +/* f1021cc: 14610004 */ bne $v1,$at,.PB0f1021e0 +/* f1021d0: 3c018000 */ lui $at,0x8000 +/* f1021d4: 16210002 */ bne $s1,$at,.PB0f1021e0 +/* f1021d8: 00000000 */ nop +/* f1021dc: 0006000d */ break 0x6 +.PB0f1021e0: +/* f1021e0: 46008182 */ mul.s $f6,$f16,$f0 +/* f1021e4: 4600348d */ trunc.w.s $f18,$f6 +/* f1021e8: 46001102 */ mul.s $f4,$f2,$f0 +/* f1021ec: 44199000 */ mfc1 $t9,$f18 +/* f1021f0: 00000000 */ nop +/* f1021f4: 03197821 */ addu $t7,$t8,$t9 +/* f1021f8: 4600220d */ trunc.w.s $f8,$f4 +/* f1021fc: 44184000 */ mfc1 $t8,$f8 +/* f102200: 00000000 */ nop +/* f102204: 01f8c823 */ subu $t9,$t7,$t8 +/* f102208: 03328021 */ addu $s0,$t9,$s2 +/* f10220c: 3c013e80 */ lui $at,0x3e80 +.PB0f102210: +/* f102210: 44815000 */ mtc1 $at,$f10 +/* f102214: 44800000 */ mtc1 $zero,$f0 +/* f102218: c7b20100 */ lwc1 $f18,0x100($sp) +/* f10221c: 460a1402 */ mul.s $f16,$f2,$f10 +/* f102220: 4600903c */ c.lt.s $f18,$f0 +/* f102224: 4600818d */ trunc.w.s $f6,$f16 +/* f102228: 44123000 */ mfc1 $s2,$f6 +/* f10222c: 00000000 */ nop +/* f102230: 2652ffff */ addiu $s2,$s2,-1 +/* f102234: 02128821 */ addu $s1,$s0,$s2 +/* f102238: 45000002 */ bc1f .PB0f102244 +/* f10223c: 26330002 */ addiu $s3,$s1,0x2 +/* f102240: e7a00100 */ swc1 $f0,0x100($sp) +.PB0f102244: +/* f102244: 8faf01d8 */ lw $t7,0x1d8($sp) +/* f102248: 3c19e700 */ lui $t9,0xe700 +/* f10224c: 25f80008 */ addiu $t8,$t7,0x8 +/* f102250: afb801d8 */ sw $t8,0x1d8($sp) +/* f102254: ade00004 */ sw $zero,0x4($t7) +/* f102258: adf90000 */ sw $t9,0x0($t7) +/* f10225c: 8fae01d8 */ lw $t6,0x1d8($sp) +/* f102260: 3c18ba00 */ lui $t8,0xba00 +/* f102264: 37181402 */ ori $t8,$t8,0x1402 +/* f102268: 25cf0008 */ addiu $t7,$t6,0x8 +/* f10226c: afaf01d8 */ sw $t7,0x1d8($sp) +/* f102270: adc00004 */ sw $zero,0x4($t6) +/* f102274: add80000 */ sw $t8,0x0($t6) +/* f102278: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f10227c: 3c180050 */ lui $t8,0x50 +/* f102280: 3c0fb900 */ lui $t7,0xb900 +/* f102284: 272e0008 */ addiu $t6,$t9,0x8 +/* f102288: afae01d8 */ sw $t6,0x1d8($sp) +/* f10228c: 35ef031d */ ori $t7,$t7,0x31d +/* f102290: 37184240 */ ori $t8,$t8,0x4240 +/* f102294: af380004 */ sw $t8,0x4($t9) +/* f102298: af2f0000 */ sw $t7,0x0($t9) +/* f10229c: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f1022a0: 3c0ffcff */ lui $t7,0xfcff +/* f1022a4: 3c18fffd */ lui $t8,0xfffd +/* f1022a8: 272e0008 */ addiu $t6,$t9,0x8 +/* f1022ac: afae01d8 */ sw $t6,0x1d8($sp) +/* f1022b0: 3718f6fb */ ori $t8,$t8,0xf6fb +/* f1022b4: 35efffff */ ori $t7,$t7,0xffff +/* f1022b8: af2f0000 */ sw $t7,0x0($t9) +/* f1022bc: af380004 */ sw $t8,0x4($t9) +/* f1022c0: 0c002e71 */ jal 0xb9c4 +/* f1022c4: e7a20068 */ swc1 $f2,0x68($sp) +/* f1022c8: 0002a400 */ sll $s4,$v0,0x10 +/* f1022cc: 0014cc03 */ sra $t9,$s4,0x10 +/* f1022d0: 0c002e8f */ jal 0xba3c +/* f1022d4: 0320a025 */ move $s4,$t9 +/* f1022d8: 3c04800a */ lui $a0,0x800a +/* f1022dc: 2484e4d0 */ addiu $a0,$a0,-6960 +/* f1022e0: 8c8e006c */ lw $t6,0x6c($a0) +/* f1022e4: c7a20068 */ lwc1 $f2,0x68($sp) +/* f1022e8: 00001825 */ move $v1,$zero +/* f1022ec: 11c00003 */ beqz $t6,.PB0f1022fc +/* f1022f0: 00003025 */ move $a2,$zero +/* f1022f4: 10000001 */ b .PB0f1022fc +/* f1022f8: 24030001 */ li $v1,0x1 +.PB0f1022fc: +/* f1022fc: 8c8f0068 */ lw $t7,0x68($a0) +/* f102300: 00002825 */ move $a1,$zero +/* f102304: 11e00003 */ beqz $t7,.PB0f102314 +/* f102308: 00000000 */ nop +/* f10230c: 10000001 */ b .PB0f102314 +/* f102310: 24060001 */ li $a2,0x1 +.PB0f102314: +/* f102314: 8c980064 */ lw $t8,0x64($a0) +/* f102318: 3c0cfa00 */ lui $t4,0xfa00 +/* f10231c: 13000003 */ beqz $t8,.PB0f10232c +/* f102320: 00000000 */ nop +/* f102324: 10000001 */ b .PB0f10232c +/* f102328: 24050001 */ li $a1,0x1 +.PB0f10232c: +/* f10232c: 8c990070 */ lw $t9,0x70($a0) +/* f102330: 00002025 */ move $a0,$zero +/* f102334: c7a80100 */ lwc1 $f8,0x100($sp) +/* f102338: 13200003 */ beqz $t9,.PB0f102348 +/* f10233c: 00000000 */ nop +/* f102340: 10000001 */ b .PB0f102348 +/* f102344: 24040001 */ li $a0,0x1 +.PB0f102348: +/* f102348: 00857021 */ addu $t6,$a0,$a1 +/* f10234c: 01c67821 */ addu $t7,$t6,$a2 +/* f102350: 01e3c021 */ addu $t8,$t7,$v1 +/* f102354: 2b010002 */ slti $at,$t8,0x2 +/* f102358: 14200003 */ bnez $at,.PB0f102368 +/* f10235c: 0002cc00 */ sll $t9,$v0,0x10 +/* f102360: 10000002 */ b .PB0f10236c +/* f102364: 24030013 */ li $v1,0x13 +.PB0f102368: +/* f102368: 24030022 */ li $v1,0x22 +.PB0f10236c: +/* f10236c: 00197403 */ sra $t6,$t9,0x10 +/* f102370: 01d47821 */ addu $t7,$t6,$s4 +/* f102374: 13c0005e */ beqz $s8,.PB0f1024f0 +/* f102378: 01e33823 */ subu $a3,$t7,$v1 +/* f10237c: 44928000 */ mtc1 $s2,$f16 +/* f102380: 3c013e80 */ lui $at,0x3e80 +/* f102384: 44812000 */ mtc1 $at,$f4 +/* f102388: 468081a0 */ cvt.s.w $f6,$f16 +/* f10238c: 8fae01d8 */ lw $t6,0x1d8($sp) +/* f102390: 3c014080 */ lui $at,0x4080 +/* f102394: 3c18ff00 */ lui $t8,0xff00 +/* f102398: 25cf0008 */ addiu $t7,$t6,0x8 +/* f10239c: 46082281 */ sub.s $f10,$f4,$f8 +/* f1023a0: 44812000 */ mtc1 $at,$f4 +/* f1023a4: afaf01d8 */ sw $t7,0x1d8($sp) +/* f1023a8: 3c0b8008 */ lui $t3,0x8008 +/* f1023ac: 460a3482 */ mul.s $f18,$f6,$f10 +/* f1023b0: 3c0cfa00 */ lui $t4,0xfa00 +/* f1023b4: 37180060 */ ori $t8,$t8,0x60 +/* f1023b8: 256b1f90 */ addiu $t3,$t3,0x1f90 +/* f1023bc: add80004 */ sw $t8,0x4($t6) +/* f1023c0: adcc0000 */ sw $t4,0x0($t6) +/* f1023c4: 8d780000 */ lw $t8,0x0($t3) +/* f1023c8: 46049202 */ mul.s $f8,$f18,$f4 +/* f1023cc: 8fa501d8 */ lw $a1,0x1d8($sp) +/* f1023d0: 02380019 */ multu $s1,$t8 +/* f1023d4: 00f54821 */ addu $t1,$a3,$s5 +/* f1023d8: 312303ff */ andi $v1,$t1,0x3ff +/* f1023dc: 24ae0008 */ addiu $t6,$a1,0x8 +/* f1023e0: afae01d8 */ sw $t6,0x1d8($sp) +/* f1023e4: 4600440d */ trunc.w.s $f16,$f8 +/* f1023e8: 00037880 */ sll $t7,$v1,0x2 +/* f1023ec: 01e01825 */ move $v1,$t7 +/* f1023f0: 30e203ff */ andi $v0,$a3,0x3ff +/* f1023f4: 44198000 */ mfc1 $t9,$f16 +/* f1023f8: 3c078008 */ lui $a3,0x8008 +/* f1023fc: 240d0080 */ li $t5,0x80 +/* f102400: 02393023 */ subu $a2,$s1,$t9 +/* f102404: 0000c812 */ mflo $t9 +/* f102408: 332e03ff */ andi $t6,$t9,0x3ff +/* f10240c: 000e7b80 */ sll $t7,$t6,0xe +/* f102410: 01f6c025 */ or $t8,$t7,$s6 +/* f102414: 0303c825 */ or $t9,$t8,$v1 +/* f102418: acb90000 */ sw $t9,0x0($a1) +/* f10241c: 8d6f0000 */ lw $t7,0x0($t3) +/* f102420: 00027080 */ sll $t6,$v0,0x2 +/* f102424: 01c01025 */ move $v0,$t6 +/* f102428: 00cf0019 */ multu $a2,$t7 +/* f10242c: 24e71f90 */ addiu $a3,$a3,0x1f90 +/* f102430: 0000c012 */ mflo $t8 +/* f102434: 331903ff */ andi $t9,$t8,0x3ff +/* f102438: 00197380 */ sll $t6,$t9,0xe +/* f10243c: 01c27825 */ or $t7,$t6,$v0 +/* f102440: acaf0004 */ sw $t7,0x4($a1) +/* f102444: 8fb801d8 */ lw $t8,0x1d8($sp) +/* f102448: 27190008 */ addiu $t9,$t8,0x8 +/* f10244c: afb901d8 */ sw $t9,0x1d8($sp) +/* f102450: af0d0004 */ sw $t5,0x4($t8) +/* f102454: af0c0000 */ sw $t4,0x0($t8) +/* f102458: 8cf80000 */ lw $t8,0x0($a3) +/* f10245c: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f102460: 00d80019 */ multu $a2,$t8 +/* f102464: 248f0008 */ addiu $t7,$a0,0x8 +/* f102468: afaf01d8 */ sw $t7,0x1d8($sp) +/* f10246c: 02173021 */ addu $a2,$s0,$s7 +/* f102470: 0000c812 */ mflo $t9 +/* f102474: 332e03ff */ andi $t6,$t9,0x3ff +/* f102478: 000e7b80 */ sll $t7,$t6,0xe +/* f10247c: 01f6c025 */ or $t8,$t7,$s6 +/* f102480: 0303c825 */ or $t9,$t8,$v1 +/* f102484: ac990000 */ sw $t9,0x0($a0) +/* f102488: 8cee0000 */ lw $t6,0x0($a3) +/* f10248c: 020e0019 */ multu $s0,$t6 +/* f102490: 00007812 */ mflo $t7 +/* f102494: 31f803ff */ andi $t8,$t7,0x3ff +/* f102498: 0018cb80 */ sll $t9,$t8,0xe +/* f10249c: 03227025 */ or $t6,$t9,$v0 +/* f1024a0: ac8e0004 */ sw $t6,0x4($a0) +/* f1024a4: 8cf90000 */ lw $t9,0x0($a3) +/* f1024a8: 8fa501d8 */ lw $a1,0x1d8($sp) +/* f1024ac: 00d90019 */ multu $a2,$t9 +/* f1024b0: 24b80008 */ addiu $t8,$a1,0x8 +/* f1024b4: afb801d8 */ sw $t8,0x1d8($sp) +/* f1024b8: 00007012 */ mflo $t6 +/* f1024bc: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1024c0: 000fc380 */ sll $t8,$t7,0xe +/* f1024c4: 0316c825 */ or $t9,$t8,$s6 +/* f1024c8: 03237025 */ or $t6,$t9,$v1 +/* f1024cc: acae0000 */ sw $t6,0x0($a1) +/* f1024d0: 8cef0000 */ lw $t7,0x0($a3) +/* f1024d4: 026f0019 */ multu $s3,$t7 +/* f1024d8: 0000c012 */ mflo $t8 +/* f1024dc: 331903ff */ andi $t9,$t8,0x3ff +/* f1024e0: 00197380 */ sll $t6,$t9,0xe +/* f1024e4: 01c27825 */ or $t7,$t6,$v0 +/* f1024e8: 10000059 */ b .PB0f102650 +/* f1024ec: acaf0004 */ sw $t7,0x4($a1) +.PB0f1024f0: +/* f1024f0: 8fb801d8 */ lw $t8,0x1d8($sp) +/* f1024f4: 3c0e00c0 */ lui $t6,0xc0 +/* f1024f8: 35ce0060 */ ori $t6,$t6,0x60 +/* f1024fc: 27190008 */ addiu $t9,$t8,0x8 +/* f102500: afb901d8 */ sw $t9,0x1d8($sp) +/* f102504: af0e0004 */ sw $t6,0x4($t8) +/* f102508: 3c0e8008 */ lui $t6,0x8008 +/* f10250c: af0c0000 */ sw $t4,0x0($t8) +/* f102510: 8dce1f90 */ lw $t6,0x1f90($t6) +/* f102514: 8fa501d8 */ lw $a1,0x1d8($sp) +/* f102518: 00f54821 */ addu $t1,$a3,$s5 +/* f10251c: 022e0019 */ multu $s1,$t6 +/* f102520: 312303ff */ andi $v1,$t1,0x3ff +/* f102524: 24b80008 */ addiu $t8,$a1,0x8 +/* f102528: afb801d8 */ sw $t8,0x1d8($sp) +/* f10252c: 0003c880 */ sll $t9,$v1,0x2 +/* f102530: 03201825 */ move $v1,$t9 +/* f102534: 30e203ff */ andi $v0,$a3,0x3ff +/* f102538: 240d0080 */ li $t5,0x80 +/* f10253c: 00007812 */ mflo $t7 +/* f102540: 31f803ff */ andi $t8,$t7,0x3ff +/* f102544: 0018cb80 */ sll $t9,$t8,0xe +/* f102548: 03367025 */ or $t6,$t9,$s6 +/* f10254c: 01c37825 */ or $t7,$t6,$v1 +/* f102550: 3c198008 */ lui $t9,0x8008 +/* f102554: acaf0000 */ sw $t7,0x0($a1) +/* f102558: 8f391f90 */ lw $t9,0x1f90($t9) +/* f10255c: 0002c080 */ sll $t8,$v0,0x2 +/* f102560: 03001025 */ move $v0,$t8 +/* f102564: 02190019 */ multu $s0,$t9 +/* f102568: 00007012 */ mflo $t6 +/* f10256c: 31cf03ff */ andi $t7,$t6,0x3ff +/* f102570: 000fc380 */ sll $t8,$t7,0xe +/* f102574: 0302c825 */ or $t9,$t8,$v0 +/* f102578: acb90004 */ sw $t9,0x4($a1) +/* f10257c: c7a60100 */ lwc1 $f6,0x100($sp) +/* f102580: 3c0e8008 */ lui $t6,0x8008 +/* f102584: 8dce1f90 */ lw $t6,0x1f90($t6) +/* f102588: 46061282 */ mul.s $f10,$f2,$f6 +/* f10258c: 8faa01d8 */ lw $t2,0x1d8($sp) +/* f102590: 25590008 */ addiu $t9,$t2,0x8 +/* f102594: afb901d8 */ sw $t9,0x1d8($sp) +/* f102598: 4600548d */ trunc.w.s $f18,$f10 +/* f10259c: 440f9000 */ mfc1 $t7,$f18 +/* f1025a0: 00000000 */ nop +/* f1025a4: 01f03021 */ addu $a2,$t7,$s0 +/* f1025a8: 00ce0019 */ multu $a2,$t6 +/* f1025ac: 00c04025 */ move $t0,$a2 +/* f1025b0: 02173021 */ addu $a2,$s0,$s7 +/* f1025b4: 00007812 */ mflo $t7 +/* f1025b8: 31f803ff */ andi $t8,$t7,0x3ff +/* f1025bc: 0018cb80 */ sll $t9,$t8,0xe +/* f1025c0: 03367025 */ or $t6,$t9,$s6 +/* f1025c4: 01c37825 */ or $t7,$t6,$v1 +/* f1025c8: 3c188008 */ lui $t8,0x8008 +/* f1025cc: ad4f0000 */ sw $t7,0x0($t2) +/* f1025d0: 8f181f90 */ lw $t8,0x1f90($t8) +/* f1025d4: 02780019 */ multu $s3,$t8 +/* f1025d8: 0000c812 */ mflo $t9 +/* f1025dc: 332e03ff */ andi $t6,$t9,0x3ff +/* f1025e0: 000e7b80 */ sll $t7,$t6,0xe +/* f1025e4: 01e2c025 */ or $t8,$t7,$v0 +/* f1025e8: ad580004 */ sw $t8,0x4($t2) +/* f1025ec: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f1025f0: 272e0008 */ addiu $t6,$t9,0x8 +/* f1025f4: afae01d8 */ sw $t6,0x1d8($sp) +/* f1025f8: af2d0004 */ sw $t5,0x4($t9) +/* f1025fc: af2c0000 */ sw $t4,0x0($t9) +/* f102600: 3c198008 */ lui $t9,0x8008 +/* f102604: 8f391f90 */ lw $t9,0x1f90($t9) +/* f102608: 8fa501d8 */ lw $a1,0x1d8($sp) +/* f10260c: 00d90019 */ multu $a2,$t9 +/* f102610: 24b80008 */ addiu $t8,$a1,0x8 +/* f102614: afb801d8 */ sw $t8,0x1d8($sp) +/* f102618: 00007012 */ mflo $t6 +/* f10261c: 31cf03ff */ andi $t7,$t6,0x3ff +/* f102620: 000fc380 */ sll $t8,$t7,0xe +/* f102624: 0316c825 */ or $t9,$t8,$s6 +/* f102628: 03237025 */ or $t6,$t9,$v1 +/* f10262c: 3c0f8008 */ lui $t7,0x8008 +/* f102630: acae0000 */ sw $t6,0x0($a1) +/* f102634: 8def1f90 */ lw $t7,0x1f90($t7) +/* f102638: 010f0019 */ multu $t0,$t7 +/* f10263c: 0000c012 */ mflo $t8 +/* f102640: 331903ff */ andi $t9,$t8,0x3ff +/* f102644: 00197380 */ sll $t6,$t9,0xe +/* f102648: 01c27825 */ or $t7,$t6,$v0 +/* f10264c: acaf0004 */ sw $t7,0x4($a1) +.PB0f102650: +/* f102650: 44952000 */ mtc1 $s5,$f4 +/* f102654: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f102658: 3c013f40 */ lui $at,0x3f40 +/* f10265c: 46802220 */ cvt.s.w $f8,$f4 +/* f102660: 272e0008 */ addiu $t6,$t9,0x8 +/* f102664: 44818000 */ mtc1 $at,$f16 +/* f102668: afae01d8 */ sw $t6,0x1d8($sp) +/* f10266c: 3c0f00c0 */ lui $t7,0xc0 +/* f102670: 35ef0060 */ ori $t7,$t7,0x60 +/* f102674: af2f0004 */ sw $t7,0x4($t9) +/* f102678: af2c0000 */ sw $t4,0x0($t9) +/* f10267c: 46104182 */ mul.s $f6,$f8,$f16 +/* f102680: c7b200fc */ lwc1 $f18,0xfc($sp) +/* f102684: 3c1f8008 */ lui $ra,0x8008 +/* f102688: 27ff1f90 */ addiu $ra,$ra,0x1f90 +/* f10268c: 46121102 */ mul.s $f4,$f2,$f18 +/* f102690: 8fee0000 */ lw $t6,0x0($ra) +/* f102694: 8fa401d8 */ lw $a0,0x1d8($sp) +/* f102698: 25250002 */ addiu $a1,$t1,0x2 +/* f10269c: 30aa03ff */ andi $t2,$a1,0x3ff +/* f1026a0: 248f0008 */ addiu $t7,$a0,0x8 +/* f1026a4: 4600328d */ trunc.w.s $f10,$f6 +/* f1026a8: afaf01d8 */ sw $t7,0x1d8($sp) +/* f1026ac: 3c038008 */ lui $v1,0x8008 +/* f1026b0: 4600220d */ trunc.w.s $f8,$f4 +/* f1026b4: 44155000 */ mfc1 $s5,$f10 +/* f1026b8: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f1026bc: 44194000 */ mfc1 $t9,$f8 +/* f1026c0: 00b53821 */ addu $a3,$a1,$s5 +/* f1026c4: 30f803ff */ andi $t8,$a3,0x3ff +/* f1026c8: 03304021 */ addu $t0,$t9,$s0 +/* f1026cc: 010e0019 */ multu $t0,$t6 +/* f1026d0: 00183880 */ sll $a3,$t8,0x2 +/* f1026d4: 00007812 */ mflo $t7 +/* f1026d8: 31f803ff */ andi $t8,$t7,0x3ff +/* f1026dc: 0018cb80 */ sll $t9,$t8,0xe +/* f1026e0: 03367025 */ or $t6,$t9,$s6 +/* f1026e4: 01c77825 */ or $t7,$t6,$a3 +/* f1026e8: ac8f0000 */ sw $t7,0x0($a0) +/* f1026ec: 8ff90000 */ lw $t9,0x0($ra) +/* f1026f0: 000ac080 */ sll $t8,$t2,0x2 +/* f1026f4: 03005025 */ move $t2,$t8 +/* f1026f8: 02190019 */ multu $s0,$t9 +/* f1026fc: 00007012 */ mflo $t6 +/* f102700: 31cf03ff */ andi $t7,$t6,0x3ff +/* f102704: 000fc380 */ sll $t8,$t7,0xe +/* f102708: 030ac825 */ or $t9,$t8,$t2 +/* f10270c: ac990004 */ sw $t9,0x4($a0) +/* f102710: 8fae01d8 */ lw $t6,0x1d8($sp) +/* f102714: 25cf0008 */ addiu $t7,$t6,0x8 +/* f102718: afaf01d8 */ sw $t7,0x1d8($sp) +/* f10271c: adcd0004 */ sw $t5,0x4($t6) +/* f102720: adcc0000 */ sw $t4,0x0($t6) +/* f102724: 8c6e0000 */ lw $t6,0x0($v1) +/* f102728: 8fa201d8 */ lw $v0,0x1d8($sp) +/* f10272c: 00ce0019 */ multu $a2,$t6 +/* f102730: 24590008 */ addiu $t9,$v0,0x8 +/* f102734: afb901d8 */ sw $t9,0x1d8($sp) +/* f102738: 00007812 */ mflo $t7 +/* f10273c: 31f803ff */ andi $t8,$t7,0x3ff +/* f102740: 0018cb80 */ sll $t9,$t8,0xe +/* f102744: 03367025 */ or $t6,$t9,$s6 +/* f102748: 01c77825 */ or $t7,$t6,$a3 +/* f10274c: ac4f0000 */ sw $t7,0x0($v0) +/* f102750: 8c780000 */ lw $t8,0x0($v1) +/* f102754: 01180019 */ multu $t0,$t8 +/* f102758: 0000c812 */ mflo $t9 +/* f10275c: 332e03ff */ andi $t6,$t9,0x3ff +/* f102760: 000e7b80 */ sll $t7,$t6,0xe +/* f102764: 01eac025 */ or $t8,$t7,$t2 +/* f102768: ac580004 */ sw $t8,0x4($v0) +/* f10276c: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f102770: +/* f102770: 24190001 */ li $t9,0x1 +/* f102774: 3c018008 */ lui $at,0x8008 +/* f102778: 8fa201d8 */ lw $v0,0x1d8($sp) +/* f10277c: 8fb00028 */ lw $s0,0x28($sp) +/* f102780: 8fb1002c */ lw $s1,0x2c($sp) +/* f102784: 8fb20030 */ lw $s2,0x30($sp) +/* f102788: 8fb30034 */ lw $s3,0x34($sp) +/* f10278c: 8fb40038 */ lw $s4,0x38($sp) +/* f102790: 8fb5003c */ lw $s5,0x3c($sp) +/* f102794: 8fb60040 */ lw $s6,0x40($sp) +/* f102798: 8fb70044 */ lw $s7,0x44($sp) +/* f10279c: 8fbe0048 */ lw $s8,0x48($sp) +/* f1027a0: ac391f90 */ sw $t9,0x1f90($at) +/* f1027a4: 03e00008 */ jr $ra +/* f1027a8: 27bd01d8 */ addiu $sp,$sp,0x1d8 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel amRender diff --git a/src/game/bondbike.c b/src/game/bondbike.c index 94b14931d..396ee87be 100644 --- a/src/game/bondbike.c +++ b/src/game/bondbike.c @@ -194,7 +194,7 @@ void bbikeHandleActivate(void) } } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel bbikeApplyMoveData .late_rodata diff --git a/src/game/bondeyespy.c b/src/game/bondeyespy.c index 88b153030..de576e4af 100644 --- a/src/game/bondeyespy.c +++ b/src/game/bondeyespy.c @@ -2293,6 +2293,1619 @@ glabel var7f1adb00 /* f0d2570: 03e00008 */ jr $ra /* f0d2574: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel eyespyProcessInput +.late_rodata +glabel var7f1adaa0 +.word 0x3f73b646 +glabel var7f1adaa4 +.word 0x3e99999a +glabel var7f1adaa8 +.word 0x3c4ccccd +glabel var7f1adaac +.word 0x3c4ccccd +glabel var7f1adab0 +.word 0x3f73b646 +glabel var7f1adab4 +.word 0x3c8efa35 +glabel var7f1adab8 +.word 0x3c8efa35 +glabel var7f1adabc +.word 0x3c8efa35 +glabel var7f1adac0 +.word 0x3c8efa35 +glabel var7f1adac4 +.word 0x3d23d70a +glabel var7f1adac8 +.word 0x3d23d70a +glabel var7f1adacc +.word 0x3c8efa35 +glabel var7f1adad0 +.word 0x3c8efa35 +glabel var7f1adad4 +.word 0x3e19999a +glabel var7f1adad8 +.word 0x3e19999a +glabel var7f1adadc +.word 0x42b48000 +glabel var7f1adae0 +.word 0x3dcccccd +glabel var7f1adae4 +.word 0x3ccccccd +glabel var7f1adae8 +.word eyespyProcessInput+0x1188 +glabel var7f1adaec +.word eyespyProcessInput+0x1284 +glabel var7f1adaf0 +.word eyespyProcessInput+0x1230 +glabel var7f1adaf4 +.word eyespyProcessInput+0x12d8 +glabel var7f1adaf8 +.word eyespyProcessInput+0x11dc +glabel var7f1adafc +.word 0x40c907a9 +glabel var7f1adb00 +.word 0x461c4000 +.text +/* f0d0dc8: 3c09800a */ lui $t1,0x800a +/* f0d0dcc: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d0dd0: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d0dd4: 27bdff18 */ addiu $sp,$sp,-232 +/* f0d0dd8: afbf002c */ sw $ra,0x2c($sp) +/* f0d0ddc: afa400e8 */ sw $a0,0xe8($sp) +/* f0d0de0: 8dcf0480 */ lw $t7,0x480($t6) +/* f0d0de4: 3c017f1b */ lui $at,0x7f1b +/* f0d0de8: c424f7c0 */ lwc1 $f4,-0x840($at) +/* f0d0dec: 8df80000 */ lw $t8,0x0($t7) +/* f0d0df0: 8d2e0288 */ lw $t6,0x288($t1) +/* f0d0df4: 8f190004 */ lw $t9,0x4($t8) +/* f0d0df8: e7a400e0 */ swc1 $f4,0xe0($sp) +/* f0d0dfc: afb900e4 */ sw $t9,0xe4($sp) +/* f0d0e00: 0fc54ebe */ jal 0xf153af8 +/* f0d0e04: 8dc40070 */ lw $a0,0x70($t6) +/* f0d0e08: 00022600 */ sll $a0,$v0,0x18 +/* f0d0e0c: 00047e03 */ sra $t7,$a0,0x18 +/* f0d0e10: a3a200c3 */ sb $v0,0xc3($sp) +/* f0d0e14: 0c005616 */ jal 0x15858 +/* f0d0e18: 01e02025 */ move $a0,$t7 +/* f0d0e1c: 83a400c3 */ lb $a0,0xc3($sp) +/* f0d0e20: 0c005640 */ jal 0x15900 +/* f0d0e24: a3a200c2 */ sb $v0,0xc2($sp) +/* f0d0e28: 8fae00e8 */ lw $t6,0xe8($sp) +/* f0d0e2c: 00023e00 */ sll $a3,$v0,0x18 +/* f0d0e30: 0007ce03 */ sra $t9,$a3,0x18 +/* f0d0e34: 3c09800a */ lui $t1,0x800a +/* f0d0e38: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d0e3c: 03203825 */ move $a3,$t9 +/* f0d0e40: 11c0000c */ beqz $t6,.PB0f0d0e74 +/* f0d0e44: 83bf00c2 */ lb $ra,0xc2($sp) +/* f0d0e48: a3bf00c2 */ sb $ra,0xc2($sp) +/* f0d0e4c: 83a400c3 */ lb $a0,0xc3($sp) +/* f0d0e50: 3405ffff */ li $a1,0xffff +/* f0d0e54: 0c00566a */ jal 0x159a8 +/* f0d0e58: a3b900c0 */ sb $t9,0xc0($sp) +/* f0d0e5c: 3c09800a */ lui $t1,0x800a +/* f0d0e60: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d0e64: 83a700c0 */ lb $a3,0xc0($sp) +/* f0d0e68: 83bf00c2 */ lb $ra,0xc2($sp) +/* f0d0e6c: 10000002 */ b .PB0f0d0e78 +/* f0d0e70: 3048ffff */ andi $t0,$v0,0xffff +.PB0f0d0e74: +/* f0d0e74: 00004025 */ move $t0,$zero +.PB0f0d0e78: +/* f0d0e78: 8d380288 */ lw $t8,0x288($t1) +/* f0d0e7c: 240f0001 */ li $t7,0x1 +/* f0d0e80: afaf00b4 */ sw $t7,0xb4($sp) +/* f0d0e84: 8f040070 */ lw $a0,0x70($t8) +/* f0d0e88: a3bf00c2 */ sb $ra,0xc2($sp) +/* f0d0e8c: a7a800bc */ sh $t0,0xbc($sp) +/* f0d0e90: 0fc54eb0 */ jal 0xf153ac0 +/* f0d0e94: a3a700c0 */ sb $a3,0xc0($sp) +/* f0d0e98: 44808000 */ mtc1 $zero,$f16 +/* f0d0e9c: 3c09800a */ lui $t1,0x800a +/* f0d0ea0: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d0ea4: 8d2d0284 */ lw $t5,0x284($t1) +/* f0d0ea8: e7b0009c */ swc1 $f16,0x9c($sp) +/* f0d0eac: e7b00098 */ swc1 $f16,0x98($sp) +/* f0d0eb0: e7b0008c */ swc1 $f16,0x8c($sp) +/* f0d0eb4: 8db90480 */ lw $t9,0x480($t5) +/* f0d0eb8: 28410004 */ slti $at,$v0,0x4 +/* f0d0ebc: 83a700c0 */ lb $a3,0xc0($sp) +/* f0d0ec0: c7260028 */ lwc1 $f6,0x28($t9) +/* f0d0ec4: 97a800bc */ lhu $t0,0xbc($sp) +/* f0d0ec8: 83bf00c2 */ lb $ra,0xc2($sp) +/* f0d0ecc: 00405825 */ move $t3,$v0 +/* f0d0ed0: 14200035 */ bnez $at,.PB0f0d0fa8 +/* f0d0ed4: e7a60088 */ swc1 $f6,0x88($sp) +/* f0d0ed8: 8d2e0288 */ lw $t6,0x288($t1) +/* f0d0edc: 8dc40070 */ lw $a0,0x70($t6) +/* f0d0ee0: a3bf00c2 */ sb $ra,0xc2($sp) +/* f0d0ee4: afa200b0 */ sw $v0,0xb0($sp) +/* f0d0ee8: a7a800bc */ sh $t0,0xbc($sp) +/* f0d0eec: 0fc54ec5 */ jal 0xf153b14 +/* f0d0ef0: a3a700c0 */ sb $a3,0xc0($sp) +/* f0d0ef4: 00021e00 */ sll $v1,$v0,0x18 +/* f0d0ef8: 00037e03 */ sra $t7,$v1,0x18 +/* f0d0efc: 000f2600 */ sll $a0,$t7,0x18 +/* f0d0f00: 0004c603 */ sra $t8,$a0,0x18 +/* f0d0f04: afaf0074 */ sw $t7,0x74($sp) +/* f0d0f08: 0c005616 */ jal 0x15858 +/* f0d0f0c: 03002025 */ move $a0,$t8 +/* f0d0f10: 83a40077 */ lb $a0,0x77($sp) +/* f0d0f14: a3a200c1 */ sb $v0,0xc1($sp) +/* f0d0f18: 0c005640 */ jal 0x15900 +/* f0d0f1c: afa4003c */ sw $a0,0x3c($sp) +/* f0d0f20: 8faf00e8 */ lw $t7,0xe8($sp) +/* f0d0f24: 00023600 */ sll $a2,$v0,0x18 +/* f0d0f28: 00067603 */ sra $t6,$a2,0x18 +/* f0d0f2c: 3c09800a */ lui $t1,0x800a +/* f0d0f30: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d0f34: 01c03025 */ move $a2,$t6 +/* f0d0f38: 8fa4003c */ lw $a0,0x3c($sp) +/* f0d0f3c: 83a700c0 */ lb $a3,0xc0($sp) +/* f0d0f40: 97a800bc */ lhu $t0,0xbc($sp) +/* f0d0f44: 83aa00c1 */ lb $t2,0xc1($sp) +/* f0d0f48: 8fab00b0 */ lw $t3,0xb0($sp) +/* f0d0f4c: 11e00013 */ beqz $t7,.PB0f0d0f9c +/* f0d0f50: 83bf00c2 */ lb $ra,0xc2($sp) +/* f0d0f54: a3bf00c2 */ sb $ra,0xc2($sp) +/* f0d0f58: 3405ffff */ li $a1,0xffff +/* f0d0f5c: a3ae00bf */ sb $t6,0xbf($sp) +/* f0d0f60: a3a700c0 */ sb $a3,0xc0($sp) +/* f0d0f64: a7a800bc */ sh $t0,0xbc($sp) +/* f0d0f68: a3aa00c1 */ sb $t2,0xc1($sp) +/* f0d0f6c: 0c00566a */ jal 0x159a8 +/* f0d0f70: afab00b0 */ sw $t3,0xb0($sp) +/* f0d0f74: 3c09800a */ lui $t1,0x800a +/* f0d0f78: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d0f7c: 83a600bf */ lb $a2,0xbf($sp) +/* f0d0f80: 83a700c0 */ lb $a3,0xc0($sp) +/* f0d0f84: 97a800bc */ lhu $t0,0xbc($sp) +/* f0d0f88: 83aa00c1 */ lb $t2,0xc1($sp) +/* f0d0f8c: 8fab00b0 */ lw $t3,0xb0($sp) +/* f0d0f90: 83bf00c2 */ lb $ra,0xc2($sp) +/* f0d0f94: 10000002 */ b .PB0f0d0fa0 +/* f0d0f98: 3045ffff */ andi $a1,$v0,0xffff +.PB0f0d0f9c: +/* f0d0f9c: 00002825 */ move $a1,$zero +.PB0f0d0fa0: +/* f0d0fa0: 10000008 */ b .PB0f0d0fc4 +/* f0d0fa4: 8d2d0284 */ lw $t5,0x284($t1) +.PB0f0d0fa8: +/* f0d0fa8: 001f5600 */ sll $t2,$ra,0x18 +/* f0d0fac: 00073600 */ sll $a2,$a3,0x18 +/* f0d0fb0: 000ac603 */ sra $t8,$t2,0x18 +/* f0d0fb4: 0006ce03 */ sra $t9,$a2,0x18 +/* f0d0fb8: 03005025 */ move $t2,$t8 +/* f0d0fbc: 03203025 */ move $a2,$t9 +/* f0d0fc0: 3105ffff */ andi $a1,$t0,0xffff +.PB0f0d0fc4: +/* f0d0fc4: 24010002 */ li $at,0x2 +/* f0d0fc8: 11610002 */ beq $t3,$at,.PB0f0d0fd4 +/* f0d0fcc: 24010003 */ li $at,0x3 +/* f0d0fd0: 15610009 */ bne $t3,$at,.PB0f0d0ff8 +.PB0f0d0fd4: +/* f0d0fd4: 310e8000 */ andi $t6,$t0,0x8000 +/* f0d0fd8: 310f0010 */ andi $t7,$t0,0x10 +/* f0d0fdc: 31184000 */ andi $t8,$t0,0x4000 +/* f0d0fe0: 01002025 */ move $a0,$t0 +/* f0d0fe4: 310c2000 */ andi $t4,$t0,0x2000 +/* f0d0fe8: afae00a8 */ sw $t6,0xa8($sp) +/* f0d0fec: afaf00a4 */ sw $t7,0xa4($sp) +/* f0d0ff0: 1000001e */ b .PB0f0d106c +/* f0d0ff4: afb800a0 */ sw $t8,0xa0($sp) +.PB0f0d0ff8: +/* f0d0ff8: 29610004 */ slti $at,$t3,0x4 +/* f0d0ffc: 10200009 */ beqz $at,.PB0f0d1024 +/* f0d1000: 01002025 */ move $a0,$t0 +/* f0d1004: 31192000 */ andi $t9,$t0,0x2000 +/* f0d1008: 310e8000 */ andi $t6,$t0,0x8000 +/* f0d100c: 310f4000 */ andi $t7,$t0,0x4000 +/* f0d1010: 310c0030 */ andi $t4,$t0,0x30 +/* f0d1014: afb900a8 */ sw $t9,0xa8($sp) +/* f0d1018: afae00a4 */ sw $t6,0xa4($sp) +/* f0d101c: 10000013 */ b .PB0f0d106c +/* f0d1020: afaf00a0 */ sw $t7,0xa0($sp) +.PB0f0d1024: +/* f0d1024: 29610006 */ slti $at,$t3,0x6 +/* f0d1028: 14200007 */ bnez $at,.PB0f0d1048 +/* f0d102c: 00a01825 */ move $v1,$a1 +/* f0d1030: 30b82000 */ andi $t8,$a1,0x2000 +/* f0d1034: 01002025 */ move $a0,$t0 +/* f0d1038: 310c2000 */ andi $t4,$t0,0x2000 +/* f0d103c: afb800a8 */ sw $t8,0xa8($sp) +/* f0d1040: 10000005 */ b .PB0f0d1058 +/* f0d1044: 00a01825 */ move $v1,$a1 +.PB0f0d1048: +/* f0d1048: 31192000 */ andi $t9,$t0,0x2000 +/* f0d104c: 30ac2000 */ andi $t4,$a1,0x2000 +/* f0d1050: afb900a8 */ sw $t9,0xa8($sp) +/* f0d1054: 01002025 */ move $a0,$t0 +.PB0f0d1058: +/* f0d1058: 00831025 */ or $v0,$a0,$v1 +/* f0d105c: 304e8000 */ andi $t6,$v0,0x8000 +/* f0d1060: 304f4000 */ andi $t7,$v0,0x4000 +/* f0d1064: afae00a4 */ sw $t6,0xa4($sp) +/* f0d1068: afaf00a0 */ sw $t7,0xa0($sp) +.PB0f0d106c: +/* f0d106c: 2be1fff7 */ slti $at,$ra,-9 +/* f0d1070: 14200004 */ bnez $at,.PB0f0d1084 +/* f0d1074: 2be1000a */ slti $at,$ra,0xa +/* f0d1078: 50200003 */ beqzl $at,.PB0f0d1088 +/* f0d107c: 2be1fff7 */ slti $at,$ra,-9 +/* f0d1080: 0000f825 */ move $ra,$zero +.PB0f0d1084: +/* f0d1084: 2be1fff7 */ slti $at,$ra,-9 +.PB0f0d1088: +/* f0d1088: 50200005 */ beqzl $at,.PB0f0d10a0 +/* f0d108c: 2be1000a */ slti $at,$ra,0xa +/* f0d1090: 27ff000a */ addiu $ra,$ra,0xa +/* f0d1094: 001fc600 */ sll $t8,$ra,0x18 +/* f0d1098: 0018fe03 */ sra $ra,$t8,0x18 +/* f0d109c: 2be1000a */ slti $at,$ra,0xa +.PB0f0d10a0: +/* f0d10a0: 54200005 */ bnezl $at,.PB0f0d10b8 +/* f0d10a4: 2941fff7 */ slti $at,$t2,-9 +/* f0d10a8: 27fffff6 */ addiu $ra,$ra,-10 +/* f0d10ac: 001f7600 */ sll $t6,$ra,0x18 +/* f0d10b0: 000efe03 */ sra $ra,$t6,0x18 +/* f0d10b4: 2941fff7 */ slti $at,$t2,-9 +.PB0f0d10b8: +/* f0d10b8: 14200004 */ bnez $at,.PB0f0d10cc +/* f0d10bc: 2941000a */ slti $at,$t2,0xa +/* f0d10c0: 50200003 */ beqzl $at,.PB0f0d10d0 +/* f0d10c4: 2941fff7 */ slti $at,$t2,-9 +/* f0d10c8: 00005025 */ move $t2,$zero +.PB0f0d10cc: +/* f0d10cc: 2941fff7 */ slti $at,$t2,-9 +.PB0f0d10d0: +/* f0d10d0: 50200005 */ beqzl $at,.PB0f0d10e8 +/* f0d10d4: 2941000a */ slti $at,$t2,0xa +/* f0d10d8: 254a000a */ addiu $t2,$t2,0xa +/* f0d10dc: 000ac600 */ sll $t8,$t2,0x18 +/* f0d10e0: 00185603 */ sra $t2,$t8,0x18 +/* f0d10e4: 2941000a */ slti $at,$t2,0xa +.PB0f0d10e8: +/* f0d10e8: 54200005 */ bnezl $at,.PB0f0d1100 +/* f0d10ec: 28e1ffed */ slti $at,$a3,-19 +/* f0d10f0: 254afff6 */ addiu $t2,$t2,-10 +/* f0d10f4: 000a7600 */ sll $t6,$t2,0x18 +/* f0d10f8: 000e5603 */ sra $t2,$t6,0x18 +/* f0d10fc: 28e1ffed */ slti $at,$a3,-19 +.PB0f0d1100: +/* f0d1100: 14200004 */ bnez $at,.PB0f0d1114 +/* f0d1104: 28e10014 */ slti $at,$a3,0x14 +/* f0d1108: 50200003 */ beqzl $at,.PB0f0d1118 +/* f0d110c: 28e1ffed */ slti $at,$a3,-19 +/* f0d1110: 00003825 */ move $a3,$zero +.PB0f0d1114: +/* f0d1114: 28e1ffed */ slti $at,$a3,-19 +.PB0f0d1118: +/* f0d1118: 50200005 */ beqzl $at,.PB0f0d1130 +/* f0d111c: 28e10014 */ slti $at,$a3,0x14 +/* f0d1120: 24e70014 */ addiu $a3,$a3,0x14 +/* f0d1124: 0007c600 */ sll $t8,$a3,0x18 +/* f0d1128: 00183e03 */ sra $a3,$t8,0x18 +/* f0d112c: 28e10014 */ slti $at,$a3,0x14 +.PB0f0d1130: +/* f0d1130: 54200005 */ bnezl $at,.PB0f0d1148 +/* f0d1134: 44874000 */ mtc1 $a3,$f8 +/* f0d1138: 24e7ffec */ addiu $a3,$a3,-20 +/* f0d113c: 00077600 */ sll $t6,$a3,0x18 +/* f0d1140: 000e3e03 */ sra $a3,$t6,0x18 +/* f0d1144: 44874000 */ mtc1 $a3,$f8 +.PB0f0d1148: +/* f0d1148: 28c1ffed */ slti $at,$a2,-19 +/* f0d114c: 14200005 */ bnez $at,.PB0f0d1164 +/* f0d1150: 468042a0 */ cvt.s.w $f10,$f8 +/* f0d1154: 28c10014 */ slti $at,$a2,0x14 +/* f0d1158: 50200003 */ beqzl $at,.PB0f0d1168 +/* f0d115c: 28c1ffed */ slti $at,$a2,-19 +/* f0d1160: 00003025 */ move $a2,$zero +.PB0f0d1164: +/* f0d1164: 28c1ffed */ slti $at,$a2,-19 +.PB0f0d1168: +/* f0d1168: 50200005 */ beqzl $at,.PB0f0d1180 +/* f0d116c: 28c10014 */ slti $at,$a2,0x14 +/* f0d1170: 24c60014 */ addiu $a2,$a2,0x14 +/* f0d1174: 0006c600 */ sll $t8,$a2,0x18 +/* f0d1178: 00183603 */ sra $a2,$t8,0x18 +/* f0d117c: 28c10014 */ slti $at,$a2,0x14 +.PB0f0d1180: +/* f0d1180: 14200004 */ bnez $at,.PB0f0d1194 +/* f0d1184: 00000000 */ nop +/* f0d1188: 24c6ffec */ addiu $a2,$a2,-20 +/* f0d118c: 00067600 */ sll $t6,$a2,0x18 +/* f0d1190: 000e3603 */ sra $a2,$t6,0x18 +.PB0f0d1194: +/* f0d1194: 3c017f1b */ lui $at,0x7f1b +/* f0d1198: c420f7c4 */ lwc1 $f0,-0x83c($at) +/* f0d119c: 44864000 */ mtc1 $a2,$f8 +/* f0d11a0: 46005102 */ mul.s $f4,$f10,$f0 +/* f0d11a4: 468042a0 */ cvt.s.w $f10,$f8 +/* f0d11a8: 4600218d */ trunc.w.s $f6,$f4 +/* f0d11ac: 46005102 */ mul.s $f4,$f10,$f0 +/* f0d11b0: 44073000 */ mfc1 $a3,$f6 +/* f0d11b4: 00000000 */ nop +/* f0d11b8: 0007ce00 */ sll $t9,$a3,0x18 +/* f0d11bc: 4600218d */ trunc.w.s $f6,$f4 +/* f0d11c0: 00193e03 */ sra $a3,$t9,0x18 +/* f0d11c4: 44063000 */ mfc1 $a2,$f6 +/* f0d11c8: 00000000 */ nop +/* f0d11cc: 0006c600 */ sll $t8,$a2,0x18 +/* f0d11d0: 11600004 */ beqz $t3,.PB0f0d11e4 +/* f0d11d4: 00183603 */ sra $a2,$t8,0x18 +/* f0d11d8: 24010002 */ li $at,0x2 +/* f0d11dc: 5561002b */ bnel $t3,$at,.PB0f0d128c +/* f0d11e0: 29610004 */ slti $at,$t3,0x4 +.PB0f0d11e4: +/* f0d11e4: 11800006 */ beqz $t4,.PB0f0d1200 +/* f0d11e8: 308e0808 */ andi $t6,$a0,0x808 +/* f0d11ec: 44874000 */ mtc1 $a3,$f8 +/* f0d11f0: afa000b4 */ sw $zero,0xb4($sp) +/* f0d11f4: 468042a0 */ cvt.s.w $f10,$f8 +/* f0d11f8: 10000005 */ b .PB0f0d1210 +/* f0d11fc: e7aa0098 */ swc1 $f10,0x98($sp) +.PB0f0d1200: +/* f0d1200: 44872000 */ mtc1 $a3,$f4 +/* f0d1204: 00000000 */ nop +/* f0d1208: 468021a0 */ cvt.s.w $f6,$f4 +/* f0d120c: e7a6009c */ swc1 $f6,0x9c($sp) +.PB0f0d1210: +/* f0d1210: 11c00003 */ beqz $t6,.PB0f0d1220 +/* f0d1214: 308f0404 */ andi $t7,$a0,0x404 +/* f0d1218: 10000002 */ b .PB0f0d1224 +/* f0d121c: 24030001 */ li $v1,0x1 +.PB0f0d1220: +/* f0d1220: 00001825 */ move $v1,$zero +.PB0f0d1224: +/* f0d1224: 11e00003 */ beqz $t7,.PB0f0d1234 +/* f0d1228: 308e0202 */ andi $t6,$a0,0x202 +/* f0d122c: 10000002 */ b .PB0f0d1238 +/* f0d1230: 24020001 */ li $v0,0x1 +.PB0f0d1234: +/* f0d1234: 00001025 */ move $v0,$zero +.PB0f0d1238: +/* f0d1238: 0062c023 */ subu $t8,$v1,$v0 +/* f0d123c: 44984000 */ mtc1 $t8,$f8 +/* f0d1240: 30990101 */ andi $t9,$a0,0x101 +/* f0d1244: 00001025 */ move $v0,$zero +/* f0d1248: 468042a0 */ cvt.s.w $f10,$f8 +/* f0d124c: 00001825 */ move $v1,$zero +/* f0d1250: 13200003 */ beqz $t9,.PB0f0d1260 +/* f0d1254: e7aa008c */ swc1 $f10,0x8c($sp) +/* f0d1258: 10000001 */ b .PB0f0d1260 +/* f0d125c: 24030001 */ li $v1,0x1 +.PB0f0d1260: +/* f0d1260: 11c00003 */ beqz $t6,.PB0f0d1270 +/* f0d1264: 00000000 */ nop +/* f0d1268: 10000001 */ b .PB0f0d1270 +/* f0d126c: 24020001 */ li $v0,0x1 +.PB0f0d1270: +/* f0d1270: 00627823 */ subu $t7,$v1,$v0 +/* f0d1274: 448f2000 */ mtc1 $t7,$f4 +/* f0d1278: 00000000 */ nop +/* f0d127c: 468021a0 */ cvt.s.w $f6,$f4 +/* f0d1280: 10000063 */ b .PB0f0d1410 +/* f0d1284: e7a60094 */ swc1 $f6,0x94($sp) +/* f0d1288: 29610004 */ slti $at,$t3,0x4 +.PB0f0d128c: +/* f0d128c: 1020002e */ beqz $at,.PB0f0d1348 +/* f0d1290: 308e0101 */ andi $t6,$a0,0x101 +/* f0d1294: 11800006 */ beqz $t4,.PB0f0d12b0 +/* f0d1298: 308f0202 */ andi $t7,$a0,0x202 +/* f0d129c: 44874000 */ mtc1 $a3,$f8 +/* f0d12a0: afa000b4 */ sw $zero,0xb4($sp) +/* f0d12a4: 468042a0 */ cvt.s.w $f10,$f8 +/* f0d12a8: 10000019 */ b .PB0f0d1310 +/* f0d12ac: e7aa0098 */ swc1 $f10,0x98($sp) +.PB0f0d12b0: +/* f0d12b0: 44872000 */ mtc1 $a3,$f4 +/* f0d12b4: 3c013e80 */ lui $at,0x3e80 +/* f0d12b8: 44814000 */ mtc1 $at,$f8 +/* f0d12bc: 468021a0 */ cvt.s.w $f6,$f4 +/* f0d12c0: 30980808 */ andi $t8,$a0,0x808 +/* f0d12c4: 3c0141c0 */ lui $at,0x41c0 +/* f0d12c8: 30990404 */ andi $t9,$a0,0x404 +/* f0d12cc: 46083282 */ mul.s $f10,$f6,$f8 +/* f0d12d0: 13000004 */ beqz $t8,.PB0f0d12e4 +/* f0d12d4: e7aa008c */ swc1 $f10,0x8c($sp) +/* f0d12d8: 44810000 */ mtc1 $at,$f0 +/* f0d12dc: 10000003 */ b .PB0f0d12ec +/* f0d12e0: 00000000 */ nop +.PB0f0d12e4: +/* f0d12e4: 44800000 */ mtc1 $zero,$f0 +/* f0d12e8: 00000000 */ nop +.PB0f0d12ec: +/* f0d12ec: 13200004 */ beqz $t9,.PB0f0d1300 +/* f0d12f0: 3c0141c0 */ lui $at,0x41c0 +/* f0d12f4: 44811000 */ mtc1 $at,$f2 +/* f0d12f8: 10000004 */ b .PB0f0d130c +/* f0d12fc: 46020101 */ sub.s $f4,$f0,$f2 +.PB0f0d1300: +/* f0d1300: 44801000 */ mtc1 $zero,$f2 +/* f0d1304: 00000000 */ nop +/* f0d1308: 46020101 */ sub.s $f4,$f0,$f2 +.PB0f0d130c: +/* f0d130c: e7a4009c */ swc1 $f4,0x9c($sp) +.PB0f0d1310: +/* f0d1310: 11c00003 */ beqz $t6,.PB0f0d1320 +/* f0d1314: 00001825 */ move $v1,$zero +/* f0d1318: 10000001 */ b .PB0f0d1320 +/* f0d131c: 24030001 */ li $v1,0x1 +.PB0f0d1320: +/* f0d1320: 11e00003 */ beqz $t7,.PB0f0d1330 +/* f0d1324: 00001025 */ move $v0,$zero +/* f0d1328: 10000001 */ b .PB0f0d1330 +/* f0d132c: 24020001 */ li $v0,0x1 +.PB0f0d1330: +/* f0d1330: 0062c023 */ subu $t8,$v1,$v0 +/* f0d1334: 44983000 */ mtc1 $t8,$f6 +/* f0d1338: 00000000 */ nop +/* f0d133c: 46803220 */ cvt.s.w $f8,$f6 +/* f0d1340: 10000033 */ b .PB0f0d1410 +/* f0d1344: e7a80094 */ swc1 $f8,0x94($sp) +.PB0f0d1348: +/* f0d1348: 24010004 */ li $at,0x4 +/* f0d134c: 11610003 */ beq $t3,$at,.PB0f0d135c +/* f0d1350: 24010006 */ li $at,0x6 +/* f0d1354: 15610018 */ bne $t3,$at,.PB0f0d13b8 +/* f0d1358: 00000000 */ nop +.PB0f0d135c: +/* f0d135c: 44875000 */ mtc1 $a3,$f10 +/* f0d1360: 00000000 */ nop +/* f0d1364: 46805120 */ cvt.s.w $f4,$f10 +/* f0d1368: 11800006 */ beqz $t4,.PB0f0d1384 +/* f0d136c: e7a4009c */ swc1 $f4,0x9c($sp) +/* f0d1370: 44863000 */ mtc1 $a2,$f6 +/* f0d1374: 00000000 */ nop +/* f0d1378: 46803220 */ cvt.s.w $f8,$f6 +/* f0d137c: 10000007 */ b .PB0f0d139c +/* f0d1380: e7a80098 */ swc1 $f8,0x98($sp) +.PB0f0d1384: +/* f0d1384: 44865000 */ mtc1 $a2,$f10 +/* f0d1388: 3c013e80 */ lui $at,0x3e80 +/* f0d138c: 44813000 */ mtc1 $at,$f6 +/* f0d1390: 46805120 */ cvt.s.w $f4,$f10 +/* f0d1394: 46062202 */ mul.s $f8,$f4,$f6 +/* f0d1398: e7a8008c */ swc1 $f8,0x8c($sp) +.PB0f0d139c: +/* f0d139c: 448a5000 */ mtc1 $t2,$f10 +/* f0d13a0: 3c017f1b */ lui $at,0x7f1b +/* f0d13a4: c426f7c8 */ lwc1 $f6,-0x838($at) +/* f0d13a8: 46805120 */ cvt.s.w $f4,$f10 +/* f0d13ac: 46062202 */ mul.s $f8,$f4,$f6 +/* f0d13b0: 10000017 */ b .PB0f0d1410 +/* f0d13b4: e7a80094 */ swc1 $f8,0x94($sp) +.PB0f0d13b8: +/* f0d13b8: 51800007 */ beqzl $t4,.PB0f0d13d8 +/* f0d13bc: 44873000 */ mtc1 $a3,$f6 +/* f0d13c0: 44875000 */ mtc1 $a3,$f10 +/* f0d13c4: 00000000 */ nop +/* f0d13c8: 46805120 */ cvt.s.w $f4,$f10 +/* f0d13cc: 10000007 */ b .PB0f0d13ec +/* f0d13d0: e7a40098 */ swc1 $f4,0x98($sp) +/* f0d13d4: 44873000 */ mtc1 $a3,$f6 +.PB0f0d13d8: +/* f0d13d8: 3c013e80 */ lui $at,0x3e80 +/* f0d13dc: 44815000 */ mtc1 $at,$f10 +/* f0d13e0: 46803220 */ cvt.s.w $f8,$f6 +/* f0d13e4: 460a4102 */ mul.s $f4,$f8,$f10 +/* f0d13e8: e7a4008c */ swc1 $f4,0x8c($sp) +.PB0f0d13ec: +/* f0d13ec: 44863000 */ mtc1 $a2,$f6 +/* f0d13f0: 448a5000 */ mtc1 $t2,$f10 +/* f0d13f4: 3c017f1b */ lui $at,0x7f1b +/* f0d13f8: 46803220 */ cvt.s.w $f8,$f6 +/* f0d13fc: c426f7cc */ lwc1 $f6,-0x834($at) +/* f0d1400: 46805120 */ cvt.s.w $f4,$f10 +/* f0d1404: e7a8009c */ swc1 $f8,0x9c($sp) +/* f0d1408: 46062202 */ mul.s $f8,$f4,$f6 +/* f0d140c: e7a80094 */ swc1 $f8,0x94($sp) +.PB0f0d1410: +/* f0d1410: 3c013f80 */ lui $at,0x3f80 +/* f0d1414: 44816000 */ mtc1 $at,$f12 +/* f0d1418: 3c018007 */ lui $at,0x8007 +/* f0d141c: a0202b90 */ sb $zero,0x2b90($at) +/* f0d1420: 8d240038 */ lw $a0,0x38($t1) +/* f0d1424: 46006006 */ mov.s $f0,$f12 +/* f0d1428: 44845000 */ mtc1 $a0,$f10 +/* f0d142c: 00000000 */ nop +/* f0d1430: 468050a0 */ cvt.s.w $f2,$f10 +/* f0d1434: 4602603c */ c.lt.s $f12,$f2 +/* f0d1438: 00000000 */ nop +/* f0d143c: 4500000a */ bc1f .PB0f0d1468 +/* f0d1440: 3c017f1b */ lui $at,0x7f1b +/* f0d1444: c432f7d0 */ lwc1 $f18,-0x830($at) +/* f0d1448: c7ae00e0 */ lwc1 $f14,0xe0($sp) +/* f0d144c: 460c0000 */ add.s $f0,$f0,$f12 +.PB0f0d1450: +/* f0d1450: 46127382 */ mul.s $f14,$f14,$f18 +/* f0d1454: 4602003c */ c.lt.s $f0,$f2 +/* f0d1458: 00000000 */ nop +/* f0d145c: 4503fffc */ bc1tl .PB0f0d1450 +/* f0d1460: 460c0000 */ add.s $f0,$f0,$f12 +/* f0d1464: e7ae00e0 */ swc1 $f14,0xe0($sp) +.PB0f0d1468: +/* f0d1468: 8da30480 */ lw $v1,0x480($t5) +/* f0d146c: c7ae00e0 */ lwc1 $f14,0xe0($sp) +/* f0d1470: 80620036 */ lb $v0,0x36($v1) +/* f0d1474: 28410029 */ slti $at,$v0,0x29 +/* f0d1478: 10200003 */ beqz $at,.PB0f0d1488 +/* f0d147c: 0044c821 */ addu $t9,$v0,$a0 +/* f0d1480: 10000003 */ b .PB0f0d1490 +/* f0d1484: a0790036 */ sb $t9,0x36($v1) +.PB0f0d1488: +/* f0d1488: 240e0029 */ li $t6,0x29 +/* f0d148c: a06e0036 */ sb $t6,0x36($v1) +.PB0f0d1490: +/* f0d1490: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1494: 8fa200e4 */ lw $v0,0xe4($sp) +/* f0d1498: 27a50078 */ addiu $a1,$sp,0x78 +/* f0d149c: 8df80480 */ lw $t8,0x480($t7) +/* f0d14a0: 8f190000 */ lw $t9,0x0($t8) +/* f0d14a4: c7240008 */ lwc1 $f4,0x8($t9) +/* f0d14a8: e44400c8 */ swc1 $f4,0xc8($v0) +/* f0d14ac: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d14b0: 8dcf0480 */ lw $t7,0x480($t6) +/* f0d14b4: 8df80000 */ lw $t8,0x0($t7) +/* f0d14b8: c706000c */ lwc1 $f6,0xc($t8) +/* f0d14bc: e44600cc */ swc1 $f6,0xcc($v0) +/* f0d14c0: 8d390284 */ lw $t9,0x284($t1) +/* f0d14c4: 8f2e0480 */ lw $t6,0x480($t9) +/* f0d14c8: 8dcf0000 */ lw $t7,0x0($t6) +/* f0d14cc: c5e80010 */ lwc1 $f8,0x10($t7) +/* f0d14d0: e44800d0 */ swc1 $f8,0xd0($v0) +/* f0d14d4: 8d380284 */ lw $t8,0x284($t1) +/* f0d14d8: 8f190480 */ lw $t9,0x480($t8) +/* f0d14dc: 8f240000 */ lw $a0,0x0($t9) +/* f0d14e0: a3bf00c2 */ sb $ra,0xc2($sp) +/* f0d14e4: e7ae00e0 */ swc1 $f14,0xe0($sp) +/* f0d14e8: 0fc19661 */ jal 0xf065984 +/* f0d14ec: 24840028 */ addiu $a0,$a0,0x28 +/* f0d14f0: 0fc4494f */ jal 0xf11253c +/* f0d14f4: 2404002e */ li $a0,0x2e +/* f0d14f8: 3c09800a */ lui $t1,0x800a +/* f0d14fc: 44808000 */ mtc1 $zero,$f16 +/* f0d1500: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1504: 1440001e */ bnez $v0,.PB0f0d1580 +/* f0d1508: 83bf00c2 */ lb $ra,0xc2($sp) +/* f0d150c: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1510: 8fa200e4 */ lw $v0,0xe4($sp) +/* f0d1514: 24180001 */ li $t8,0x1 +/* f0d1518: 8dcf0480 */ lw $t7,0x480($t6) +/* f0d151c: 24010048 */ li $at,0x48 +/* f0d1520: a1e00035 */ sb $zero,0x35($t7) +/* f0d1524: 8d390284 */ lw $t9,0x284($t1) +/* f0d1528: 8f2e0480 */ lw $t6,0x480($t9) +/* f0d152c: a1d80034 */ sb $t8,0x34($t6) +/* f0d1530: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1534: 8df90480 */ lw $t9,0x480($t7) +/* f0d1538: a3200037 */ sb $zero,0x37($t9) +/* f0d153c: 8c580018 */ lw $t8,0x18($v0) +/* f0d1540: 370e0400 */ ori $t6,$t8,0x400 +/* f0d1544: ac4e0018 */ sw $t6,0x18($v0) +/* f0d1548: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d154c: 8d2e0338 */ lw $t6,0x338($t1) +/* f0d1550: 8df90480 */ lw $t9,0x480($t7) +/* f0d1554: 8f380000 */ lw $t8,0x0($t9) +/* f0d1558: a3bf00c2 */ sb $ra,0xc2($sp) +/* f0d155c: 030e2023 */ subu $a0,$t8,$t6 +/* f0d1560: 0081001a */ div $zero,$a0,$at +/* f0d1564: 00002012 */ mflo $a0 +/* f0d1568: 0fc08414 */ jal 0xf021050 +/* f0d156c: 00000000 */ nop +/* f0d1570: 3c09800a */ lui $t1,0x800a +/* f0d1574: 44808000 */ mtc1 $zero,$f16 +/* f0d1578: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d157c: 83bf00c2 */ lb $ra,0xc2($sp) +.PB0f0d1580: +/* f0d1580: 8d2d0284 */ lw $t5,0x284($t1) +/* f0d1584: 8da30480 */ lw $v1,0x480($t5) +/* f0d1588: 80790037 */ lb $t9,0x37($v1) +/* f0d158c: 532001c8 */ beqzl $t9,.PB0f0d1cb0 +/* f0d1590: 24190001 */ li $t9,0x1 +/* f0d1594: 8d38028c */ lw $t8,0x28c($t1) +/* f0d1598: 3c0f8007 */ lui $t7,0x8007 +/* f0d159c: 00187080 */ sll $t6,$t8,0x2 +/* f0d15a0: 01ee7821 */ addu $t7,$t7,$t6 +/* f0d15a4: 8def2420 */ lw $t7,0x2420($t7) +/* f0d15a8: 51e001c1 */ beqzl $t7,.PB0f0d1cb0 +/* f0d15ac: 24190001 */ li $t9,0x1 +/* f0d15b0: 449f5000 */ mtc1 $ra,$f10 +/* f0d15b4: 3c013d80 */ lui $at,0x3d80 +/* f0d15b8: 44813000 */ mtc1 $at,$f6 +/* f0d15bc: 46805120 */ cvt.s.w $f4,$f10 +/* f0d15c0: 2419ffff */ li $t9,-1 +/* f0d15c4: adb91c40 */ sw $t9,0x1c40($t5) +/* f0d15c8: c52a004c */ lwc1 $f10,0x4c($t1) +/* f0d15cc: 8d380284 */ lw $t8,0x284($t1) +/* f0d15d0: 46062202 */ mul.s $f8,$f4,$f6 +/* f0d15d4: 8f030480 */ lw $v1,0x480($t8) +/* f0d15d8: c466001c */ lwc1 $f6,0x1c($v1) +/* f0d15dc: 460a4102 */ mul.s $f4,$f8,$f10 +/* f0d15e0: 46043200 */ add.s $f8,$f6,$f4 +/* f0d15e4: e468001c */ swc1 $f8,0x1c($v1) +/* f0d15e8: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d15ec: 8dc30480 */ lw $v1,0x480($t6) +/* f0d15f0: c460001c */ lwc1 $f0,0x1c($v1) +/* f0d15f4: 4610003c */ c.lt.s $f0,$f16 +/* f0d15f8: 00000000 */ nop +/* f0d15fc: 4500000c */ bc1f .PB0f0d1630 +/* f0d1600: 3c0143b4 */ lui $at,0x43b4 +/* f0d1604: 44817000 */ mtc1 $at,$f14 +/* f0d1608: 00000000 */ nop +/* f0d160c: 460e0280 */ add.s $f10,$f0,$f14 +.PB0f0d1610: +/* f0d1610: e46a001c */ swc1 $f10,0x1c($v1) +/* f0d1614: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1618: 8de30480 */ lw $v1,0x480($t7) +/* f0d161c: c460001c */ lwc1 $f0,0x1c($v1) +/* f0d1620: 4610003c */ c.lt.s $f0,$f16 +/* f0d1624: 00000000 */ nop +/* f0d1628: 4503fff9 */ bc1tl .PB0f0d1610 +/* f0d162c: 460e0280 */ add.s $f10,$f0,$f14 +.PB0f0d1630: +/* f0d1630: 3c0143b4 */ lui $at,0x43b4 +/* f0d1634: 44817000 */ mtc1 $at,$f14 +/* f0d1638: 3c017f1b */ lui $at,0x7f1b +/* f0d163c: 4600703e */ c.le.s $f14,$f0 +/* f0d1640: 00000000 */ nop +/* f0d1644: 4500000a */ bc1f .PB0f0d1670 +/* f0d1648: 00000000 */ nop +/* f0d164c: 460e0181 */ sub.s $f6,$f0,$f14 +.PB0f0d1650: +/* f0d1650: e466001c */ swc1 $f6,0x1c($v1) +/* f0d1654: 8d390284 */ lw $t9,0x284($t1) +/* f0d1658: 8f230480 */ lw $v1,0x480($t9) +/* f0d165c: c460001c */ lwc1 $f0,0x1c($v1) +/* f0d1660: 4600703e */ c.le.s $f14,$f0 +/* f0d1664: 00000000 */ nop +/* f0d1668: 4503fff9 */ bc1tl .PB0f0d1650 +/* f0d166c: 460e0181 */ sub.s $f6,$f0,$f14 +.PB0f0d1670: +/* f0d1670: c424f7d4 */ lwc1 $f4,-0x82c($at) +/* f0d1674: 46040302 */ mul.s $f12,$f0,$f4 +/* f0d1678: 0c006b88 */ jal 0x1ae20 +/* f0d167c: 00000000 */ nop +/* f0d1680: 3c09800a */ lui $t1,0x800a +/* f0d1684: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1688: 8d380284 */ lw $t8,0x284($t1) +/* f0d168c: 3c017f1b */ lui $at,0x7f1b +/* f0d1690: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d1694: e5c00020 */ swc1 $f0,0x20($t6) +/* f0d1698: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d169c: c42af7d8 */ lwc1 $f10,-0x828($at) +/* f0d16a0: 8df90480 */ lw $t9,0x480($t7) +/* f0d16a4: c728001c */ lwc1 $f8,0x1c($t9) +/* f0d16a8: 460a4302 */ mul.s $f12,$f8,$f10 +/* f0d16ac: 0c006b8b */ jal 0x1ae2c +/* f0d16b0: 00000000 */ nop +/* f0d16b4: 3c09800a */ lui $t1,0x800a +/* f0d16b8: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d16bc: 8d380284 */ lw $t8,0x284($t1) +/* f0d16c0: 3c0143b4 */ lui $at,0x43b4 +/* f0d16c4: 44817000 */ mtc1 $at,$f14 +/* f0d16c8: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d16cc: 3c013d80 */ lui $at,0x3d80 +/* f0d16d0: 44812000 */ mtc1 $at,$f4 +/* f0d16d4: e5c00024 */ swc1 $f0,0x24($t6) +/* f0d16d8: c7a60098 */ lwc1 $f6,0x98($sp) +/* f0d16dc: c52a004c */ lwc1 $f10,0x4c($t1) +/* f0d16e0: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d16e4: 46043202 */ mul.s $f8,$f6,$f4 +/* f0d16e8: 44808000 */ mtc1 $zero,$f16 +/* f0d16ec: 8de30480 */ lw $v1,0x480($t7) +/* f0d16f0: 3c017f1b */ lui $at,0x7f1b +/* f0d16f4: c4640028 */ lwc1 $f4,0x28($v1) +/* f0d16f8: 460a4182 */ mul.s $f6,$f8,$f10 +/* f0d16fc: 46062201 */ sub.s $f8,$f4,$f6 +/* f0d1700: e4680028 */ swc1 $f8,0x28($v1) +/* f0d1704: 8d390284 */ lw $t9,0x284($t1) +/* f0d1708: c7aa0088 */ lwc1 $f10,0x88($sp) +/* f0d170c: 8f230480 */ lw $v1,0x480($t9) +/* f0d1710: c4620028 */ lwc1 $f2,0x28($v1) +/* f0d1714: 46025032 */ c.eq.s $f10,$f2 +/* f0d1718: 00000000 */ nop +/* f0d171c: 45030037 */ bc1tl .PB0f0d17fc +/* f0d1720: 8fae00b4 */ lw $t6,0xb4($sp) +/* f0d1724: 4610103c */ c.lt.s $f2,$f16 +/* f0d1728: 00000000 */ nop +/* f0d172c: 4502000b */ bc1fl .PB0f0d175c +/* f0d1730: 4602703e */ c.le.s $f14,$f2 +/* f0d1734: 460e1100 */ add.s $f4,$f2,$f14 +.PB0f0d1738: +/* f0d1738: e4640028 */ swc1 $f4,0x28($v1) +/* f0d173c: 8d380284 */ lw $t8,0x284($t1) +/* f0d1740: 8f030480 */ lw $v1,0x480($t8) +/* f0d1744: c4620028 */ lwc1 $f2,0x28($v1) +/* f0d1748: 4610103c */ c.lt.s $f2,$f16 +/* f0d174c: 00000000 */ nop +/* f0d1750: 4503fff9 */ bc1tl .PB0f0d1738 +/* f0d1754: 460e1100 */ add.s $f4,$f2,$f14 +/* f0d1758: 4602703e */ c.le.s $f14,$f2 +.PB0f0d175c: +/* f0d175c: 00000000 */ nop +/* f0d1760: 4500000a */ bc1f .PB0f0d178c +/* f0d1764: 00000000 */ nop +/* f0d1768: 460e1181 */ sub.s $f6,$f2,$f14 +.PB0f0d176c: +/* f0d176c: e4660028 */ swc1 $f6,0x28($v1) +/* f0d1770: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1774: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1778: c4620028 */ lwc1 $f2,0x28($v1) +/* f0d177c: 4602703e */ c.le.s $f14,$f2 +/* f0d1780: 00000000 */ nop +/* f0d1784: 4503fff9 */ bc1tl .PB0f0d176c +/* f0d1788: 460e1181 */ sub.s $f6,$f2,$f14 +.PB0f0d178c: +/* f0d178c: c428f7dc */ lwc1 $f8,-0x824($at) +/* f0d1790: 46081302 */ mul.s $f12,$f2,$f8 +/* f0d1794: 0c006b88 */ jal 0x1ae20 +/* f0d1798: 00000000 */ nop +/* f0d179c: 3c09800a */ lui $t1,0x800a +/* f0d17a0: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d17a4: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d17a8: 3c017f1b */ lui $at,0x7f1b +/* f0d17ac: 8df90480 */ lw $t9,0x480($t7) +/* f0d17b0: e720002c */ swc1 $f0,0x2c($t9) +/* f0d17b4: 8d380284 */ lw $t8,0x284($t1) +/* f0d17b8: c424f7e0 */ lwc1 $f4,-0x820($at) +/* f0d17bc: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d17c0: c5ca0028 */ lwc1 $f10,0x28($t6) +/* f0d17c4: 46045302 */ mul.s $f12,$f10,$f4 +/* f0d17c8: 0c006b8b */ jal 0x1ae2c +/* f0d17cc: 00000000 */ nop +/* f0d17d0: 3c09800a */ lui $t1,0x800a +/* f0d17d4: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d17d8: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d17dc: 3c0143b4 */ lui $at,0x43b4 +/* f0d17e0: 44817000 */ mtc1 $at,$f14 +/* f0d17e4: 8df90480 */ lw $t9,0x480($t7) +/* f0d17e8: 44808000 */ mtc1 $zero,$f16 +/* f0d17ec: e7200030 */ swc1 $f0,0x30($t9) +/* f0d17f0: 8d380284 */ lw $t8,0x284($t1) +/* f0d17f4: 8f030480 */ lw $v1,0x480($t8) +/* f0d17f8: 8fae00b4 */ lw $t6,0xb4($sp) +.PB0f0d17fc: +/* f0d17fc: e7b000c4 */ swc1 $f16,0xc4($sp) +/* f0d1800: 46008486 */ mov.s $f18,$f16 +/* f0d1804: e7b000cc */ swc1 $f16,0xcc($sp) +/* f0d1808: e7b000d0 */ swc1 $f16,0xd0($sp) +/* f0d180c: 11c00069 */ beqz $t6,.PB0f0d19b4 +/* f0d1810: e7b000d4 */ swc1 $f16,0xd4($sp) +/* f0d1814: c4620028 */ lwc1 $f2,0x28($v1) +/* f0d1818: c7a6009c */ lwc1 $f6,0x9c($sp) +/* f0d181c: 4602803c */ c.lt.s $f16,$f2 +/* f0d1820: 00000000 */ nop +/* f0d1824: 45020051 */ bc1fl .PB0f0d196c +/* f0d1828: c7aa009c */ lwc1 $f10,0x9c($sp) +/* f0d182c: 44804000 */ mtc1 $zero,$f8 +/* f0d1830: 3c014334 */ lui $at,0x4334 +/* f0d1834: 46083032 */ c.eq.s $f6,$f8 +/* f0d1838: 00000000 */ nop +/* f0d183c: 4503004b */ bc1tl .PB0f0d196c +/* f0d1840: c7aa009c */ lwc1 $f10,0x9c($sp) +/* f0d1844: 44815000 */ mtc1 $at,$f10 +/* f0d1848: 00000000 */ nop +/* f0d184c: 460a103c */ c.lt.s $f2,$f10 +/* f0d1850: 00000000 */ nop +/* f0d1854: 45020017 */ bc1fl .PB0f0d18b4 +/* f0d1858: 8d390038 */ lw $t9,0x38($t1) +/* f0d185c: 8d2f0038 */ lw $t7,0x38($t1) +/* f0d1860: 46001006 */ mov.s $f0,$f2 +/* f0d1864: 00001025 */ move $v0,$zero +/* f0d1868: 19e00025 */ blez $t7,.PB0f0d1900 +/* f0d186c: 3c017f1b */ lui $at,0x7f1b +/* f0d1870: c422f7e4 */ lwc1 $f2,-0x81c($at) +/* f0d1874: 8d390284 */ lw $t9,0x284($t1) +.PB0f0d1878: +/* f0d1878: 46020002 */ mul.s $f0,$f0,$f2 +/* f0d187c: 24420001 */ addiu $v0,$v0,0x1 +/* f0d1880: 8f230480 */ lw $v1,0x480($t9) +/* f0d1884: c4640028 */ lwc1 $f4,0x28($v1) +/* f0d1888: 46002181 */ sub.s $f6,$f4,$f0 +/* f0d188c: e4660028 */ swc1 $f6,0x28($v1) +/* f0d1890: 8d380038 */ lw $t8,0x38($t1) +/* f0d1894: 0058082a */ slt $at,$v0,$t8 +/* f0d1898: 5420fff7 */ bnezl $at,.PB0f0d1878 +/* f0d189c: 8d390284 */ lw $t9,0x284($t1) +/* f0d18a0: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d18a4: 8dcf0480 */ lw $t7,0x480($t6) +/* f0d18a8: 10000015 */ b .PB0f0d1900 +/* f0d18ac: c5e20028 */ lwc1 $f2,0x28($t7) +/* f0d18b0: 8d390038 */ lw $t9,0x38($t1) +.PB0f0d18b4: +/* f0d18b4: 46027001 */ sub.s $f0,$f14,$f2 +/* f0d18b8: 00001025 */ move $v0,$zero +/* f0d18bc: 1b200010 */ blez $t9,.PB0f0d1900 +/* f0d18c0: 3c017f1b */ lui $at,0x7f1b +/* f0d18c4: c422f7e8 */ lwc1 $f2,-0x818($at) +/* f0d18c8: 8d380284 */ lw $t8,0x284($t1) +.PB0f0d18cc: +/* f0d18cc: 46020002 */ mul.s $f0,$f0,$f2 +/* f0d18d0: 24420001 */ addiu $v0,$v0,0x1 +/* f0d18d4: 8f030480 */ lw $v1,0x480($t8) +/* f0d18d8: c4680028 */ lwc1 $f8,0x28($v1) +/* f0d18dc: 46004280 */ add.s $f10,$f8,$f0 +/* f0d18e0: e46a0028 */ swc1 $f10,0x28($v1) +/* f0d18e4: 8d2e0038 */ lw $t6,0x38($t1) +/* f0d18e8: 004e082a */ slt $at,$v0,$t6 +/* f0d18ec: 5420fff7 */ bnezl $at,.PB0f0d18cc +/* f0d18f0: 8d380284 */ lw $t8,0x284($t1) +/* f0d18f4: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d18f8: 8df90480 */ lw $t9,0x480($t7) +/* f0d18fc: c7220028 */ lwc1 $f2,0x28($t9) +.PB0f0d1900: +/* f0d1900: 3c017f1b */ lui $at,0x7f1b +/* f0d1904: c424f7ec */ lwc1 $f4,-0x814($at) +/* f0d1908: 46041302 */ mul.s $f12,$f2,$f4 +/* f0d190c: 0c006b88 */ jal 0x1ae20 +/* f0d1910: 00000000 */ nop +/* f0d1914: 3c09800a */ lui $t1,0x800a +/* f0d1918: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d191c: 8d380284 */ lw $t8,0x284($t1) +/* f0d1920: 3c017f1b */ lui $at,0x7f1b +/* f0d1924: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d1928: e5c0002c */ swc1 $f0,0x2c($t6) +/* f0d192c: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1930: c428f7f0 */ lwc1 $f8,-0x810($at) +/* f0d1934: 8df90480 */ lw $t9,0x480($t7) +/* f0d1938: c7260028 */ lwc1 $f6,0x28($t9) +/* f0d193c: 46083302 */ mul.s $f12,$f6,$f8 +/* f0d1940: 0c006b8b */ jal 0x1ae2c +/* f0d1944: 00000000 */ nop +/* f0d1948: 3c09800a */ lui $t1,0x800a +/* f0d194c: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1950: 8d380284 */ lw $t8,0x284($t1) +/* f0d1954: 44808000 */ mtc1 $zero,$f16 +/* f0d1958: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d195c: e5c00030 */ swc1 $f0,0x30($t6) +/* f0d1960: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1964: 8de30480 */ lw $v1,0x480($t7) +/* f0d1968: c7aa009c */ lwc1 $f10,0x9c($sp) +.PB0f0d196c: +/* f0d196c: c4640024 */ lwc1 $f4,0x24($v1) +/* f0d1970: 3c017f1b */ lui $at,0x7f1b +/* f0d1974: c42cf7f4 */ lwc1 $f12,-0x80c($at) +/* f0d1978: 46045182 */ mul.s $f6,$f10,$f4 +/* f0d197c: c522004c */ lwc1 $f2,0x4c($t1) +/* f0d1980: 460c3202 */ mul.s $f8,$f6,$f12 +/* f0d1984: 00000000 */ nop +/* f0d1988: 46024102 */ mul.s $f4,$f8,$f2 +/* f0d198c: 46005207 */ neg.s $f8,$f10 +/* f0d1990: 46048180 */ add.s $f6,$f16,$f4 +/* f0d1994: e7a600cc */ swc1 $f6,0xcc($sp) +/* f0d1998: c4640020 */ lwc1 $f4,0x20($v1) +/* f0d199c: 46044182 */ mul.s $f6,$f8,$f4 +/* f0d19a0: 00000000 */ nop +/* f0d19a4: 460c3282 */ mul.s $f10,$f6,$f12 +/* f0d19a8: 00000000 */ nop +/* f0d19ac: 46025202 */ mul.s $f8,$f10,$f2 +/* f0d19b0: 46088480 */ add.s $f18,$f16,$f8 +.PB0f0d19b4: +/* f0d19b4: c7a40094 */ lwc1 $f4,0x94($sp) +/* f0d19b8: 44803000 */ mtc1 $zero,$f6 +/* f0d19bc: 3c017f1b */ lui $at,0x7f1b +/* f0d19c0: c42cf7f8 */ lwc1 $f12,-0x808($at) +/* f0d19c4: 46062032 */ c.eq.s $f4,$f6 +/* f0d19c8: 3c0140a0 */ lui $at,0x40a0 +/* f0d19cc: 45030016 */ bc1tl .PB0f0d1a28 +/* f0d19d0: c7a4008c */ lwc1 $f4,0x8c($sp) +/* f0d19d4: 44815000 */ mtc1 $at,$f10 +/* f0d19d8: c4680020 */ lwc1 $f8,0x20($v1) +/* f0d19dc: c522004c */ lwc1 $f2,0x4c($t1) +/* f0d19e0: 460a2002 */ mul.s $f0,$f4,$f10 +/* f0d19e4: 00000000 */ nop +/* f0d19e8: 46080182 */ mul.s $f6,$f0,$f8 +/* f0d19ec: 00000000 */ nop +/* f0d19f0: 460c3102 */ mul.s $f4,$f6,$f12 +/* f0d19f4: 00000000 */ nop +/* f0d19f8: 46022282 */ mul.s $f10,$f4,$f2 +/* f0d19fc: 460a8200 */ add.s $f8,$f16,$f10 +/* f0d1a00: e7a800d4 */ swc1 $f8,0xd4($sp) +/* f0d1a04: c4660024 */ lwc1 $f6,0x24($v1) +/* f0d1a08: 46060102 */ mul.s $f4,$f0,$f6 +/* f0d1a0c: 00000000 */ nop +/* f0d1a10: 460c2282 */ mul.s $f10,$f4,$f12 +/* f0d1a14: 00000000 */ nop +/* f0d1a18: 46025202 */ mul.s $f8,$f10,$f2 +/* f0d1a1c: 46088180 */ add.s $f6,$f16,$f8 +/* f0d1a20: e7a600d0 */ swc1 $f6,0xd0($sp) +/* f0d1a24: c7a4008c */ lwc1 $f4,0x8c($sp) +.PB0f0d1a28: +/* f0d1a28: 44805000 */ mtc1 $zero,$f10 +/* f0d1a2c: 3c014040 */ lui $at,0x4040 +/* f0d1a30: 460a2032 */ c.eq.s $f4,$f10 +/* f0d1a34: 00000000 */ nop +/* f0d1a38: 45030019 */ bc1tl .PB0f0d1aa0 +/* f0d1a3c: c468006c */ lwc1 $f8,0x6c($v1) +/* f0d1a40: 44814000 */ mtc1 $at,$f8 +/* f0d1a44: 4610203c */ c.lt.s $f4,$f16 +/* f0d1a48: 24180001 */ li $t8,0x1 +/* f0d1a4c: 46082182 */ mul.s $f6,$f4,$f8 +/* f0d1a50: c528004c */ lwc1 $f8,0x4c($t1) +/* f0d1a54: 2419ffff */ li $t9,-1 +/* f0d1a58: 460c3282 */ mul.s $f10,$f6,$f12 +/* f0d1a5c: 00000000 */ nop +/* f0d1a60: 46085182 */ mul.s $f6,$f10,$f8 +/* f0d1a64: 46068280 */ add.s $f10,$f16,$f6 +/* f0d1a68: 45000003 */ bc1f .PB0f0d1a78 +/* f0d1a6c: e7aa00c4 */ swc1 $f10,0xc4($sp) +/* f0d1a70: 10000002 */ b .PB0f0d1a7c +/* f0d1a74: a479003a */ sh $t9,0x3a($v1) +.PB0f0d1a78: +/* f0d1a78: a478003a */ sh $t8,0x3a($v1) +.PB0f0d1a7c: +/* f0d1a7c: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1a80: 8dcf0480 */ lw $t7,0x480($t6) +/* f0d1a84: a1e0003c */ sb $zero,0x3c($t7) +/* f0d1a88: 8d390284 */ lw $t9,0x284($t1) +/* f0d1a8c: 8f380480 */ lw $t8,0x480($t9) +/* f0d1a90: a300003d */ sb $zero,0x3d($t8) +/* f0d1a94: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1a98: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1a9c: c468006c */ lwc1 $f8,0x6c($v1) +.PB0f0d1aa0: +/* f0d1aa0: c7a600cc */ lwc1 $f6,0xcc($sp) +/* f0d1aa4: 3c017f1b */ lui $at,0x7f1b +/* f0d1aa8: 46064280 */ add.s $f10,$f8,$f6 +/* f0d1aac: e46a006c */ swc1 $f10,0x6c($v1) +/* f0d1ab0: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1ab4: 8de30480 */ lw $v1,0x480($t7) +/* f0d1ab8: c4640070 */ lwc1 $f4,0x70($v1) +/* f0d1abc: 46122200 */ add.s $f8,$f4,$f18 +/* f0d1ac0: e4680070 */ swc1 $f8,0x70($v1) +/* f0d1ac4: 8d390284 */ lw $t9,0x284($t1) +/* f0d1ac8: c7aa00d4 */ lwc1 $f10,0xd4($sp) +/* f0d1acc: 8f230480 */ lw $v1,0x480($t9) +/* f0d1ad0: c4660074 */ lwc1 $f6,0x74($v1) +/* f0d1ad4: 460a3100 */ add.s $f4,$f6,$f10 +/* f0d1ad8: e4640074 */ swc1 $f4,0x74($v1) +/* f0d1adc: 8d380284 */ lw $t8,0x284($t1) +/* f0d1ae0: c7a600d0 */ lwc1 $f6,0xd0($sp) +/* f0d1ae4: 8f030480 */ lw $v1,0x480($t8) +/* f0d1ae8: c4680078 */ lwc1 $f8,0x78($v1) +/* f0d1aec: 46064280 */ add.s $f10,$f8,$f6 +/* f0d1af0: e46a0078 */ swc1 $f10,0x78($v1) +/* f0d1af4: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1af8: c42af7fc */ lwc1 $f10,-0x804($at) +/* f0d1afc: c522004c */ lwc1 $f2,0x4c($t1) +/* f0d1b00: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1b04: c46c0070 */ lwc1 $f12,0x70($v1) +/* f0d1b08: c460006c */ lwc1 $f0,0x6c($v1) +/* f0d1b0c: 460c6102 */ mul.s $f4,$f12,$f12 +/* f0d1b10: 00000000 */ nop +/* f0d1b14: 46000202 */ mul.s $f8,$f0,$f0 +/* f0d1b18: 46082180 */ add.s $f6,$f4,$f8 +/* f0d1b1c: 46025102 */ mul.s $f4,$f10,$f2 +/* f0d1b20: e7a600cc */ swc1 $f6,0xcc($sp) +/* f0d1b24: 46022202 */ mul.s $f8,$f4,$f2 +/* f0d1b28: 4606403c */ c.lt.s $f8,$f6 +/* f0d1b2c: 00000000 */ nop +/* f0d1b30: 45000018 */ bc1f .PB0f0d1b94 +/* f0d1b34: 00000000 */ nop +/* f0d1b38: 0c012ae4 */ jal 0x4ab90 +/* f0d1b3c: 46003306 */ mov.s $f12,$f6 +/* f0d1b40: 3c09800a */ lui $t1,0x800a +/* f0d1b44: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1b48: 3c014118 */ lui $at,0x4118 +/* f0d1b4c: 44815000 */ mtc1 $at,$f10 +/* f0d1b50: c524004c */ lwc1 $f4,0x4c($t1) +/* f0d1b54: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1b58: 44808000 */ mtc1 $zero,$f16 +/* f0d1b5c: 46045202 */ mul.s $f8,$f10,$f4 +/* f0d1b60: 8de30480 */ lw $v1,0x480($t7) +/* f0d1b64: c466006c */ lwc1 $f6,0x6c($v1) +/* f0d1b68: 46004303 */ div.s $f12,$f8,$f0 +/* f0d1b6c: 460c3282 */ mul.s $f10,$f6,$f12 +/* f0d1b70: e46a006c */ swc1 $f10,0x6c($v1) +/* f0d1b74: 8d390284 */ lw $t9,0x284($t1) +/* f0d1b78: 8f230480 */ lw $v1,0x480($t9) +/* f0d1b7c: c4640070 */ lwc1 $f4,0x70($v1) +/* f0d1b80: 460c2202 */ mul.s $f8,$f4,$f12 +/* f0d1b84: e4680070 */ swc1 $f8,0x70($v1) +/* f0d1b88: 8d380284 */ lw $t8,0x284($t1) +/* f0d1b8c: c522004c */ lwc1 $f2,0x4c($t1) +/* f0d1b90: 8f030480 */ lw $v1,0x480($t8) +.PB0f0d1b94: +/* f0d1b94: c46c0078 */ lwc1 $f12,0x78($v1) +/* f0d1b98: c4600074 */ lwc1 $f0,0x74($v1) +/* f0d1b9c: 3c014361 */ lui $at,0x4361 +/* f0d1ba0: 460c6182 */ mul.s $f6,$f12,$f12 +/* f0d1ba4: 44814000 */ mtc1 $at,$f8 +/* f0d1ba8: 46000282 */ mul.s $f10,$f0,$f0 +/* f0d1bac: 460a3100 */ add.s $f4,$f6,$f10 +/* f0d1bb0: 46024182 */ mul.s $f6,$f8,$f2 +/* f0d1bb4: e7a400d4 */ swc1 $f4,0xd4($sp) +/* f0d1bb8: 46023282 */ mul.s $f10,$f6,$f2 +/* f0d1bbc: 4604503c */ c.lt.s $f10,$f4 +/* f0d1bc0: 00000000 */ nop +/* f0d1bc4: 4502001a */ bc1fl .PB0f0d1c30 +/* f0d1bc8: c4660044 */ lwc1 $f6,0x44($v1) +/* f0d1bcc: 0c012ae4 */ jal 0x4ab90 +/* f0d1bd0: 46002306 */ mov.s $f12,$f4 +/* f0d1bd4: 3c09800a */ lui $t1,0x800a +/* f0d1bd8: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1bdc: 3c014170 */ lui $at,0x4170 +/* f0d1be0: 44814000 */ mtc1 $at,$f8 +/* f0d1be4: c526004c */ lwc1 $f6,0x4c($t1) +/* f0d1be8: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1bec: 44808000 */ mtc1 $zero,$f16 +/* f0d1bf0: 46064282 */ mul.s $f10,$f8,$f6 +/* f0d1bf4: 46005103 */ div.s $f4,$f10,$f0 +/* f0d1bf8: e7a400d4 */ swc1 $f4,0xd4($sp) +/* f0d1bfc: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1c00: c4680074 */ lwc1 $f8,0x74($v1) +/* f0d1c04: 46044182 */ mul.s $f6,$f8,$f4 +/* f0d1c08: e4660074 */ swc1 $f6,0x74($v1) +/* f0d1c0c: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1c10: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f0d1c14: 8de30480 */ lw $v1,0x480($t7) +/* f0d1c18: c46a0078 */ lwc1 $f10,0x78($v1) +/* f0d1c1c: 46085102 */ mul.s $f4,$f10,$f8 +/* f0d1c20: e4640078 */ swc1 $f4,0x78($v1) +/* f0d1c24: 8d390284 */ lw $t9,0x284($t1) +/* f0d1c28: 8f230480 */ lw $v1,0x480($t9) +/* f0d1c2c: c4660044 */ lwc1 $f6,0x44($v1) +.PB0f0d1c30: +/* f0d1c30: c7aa00c4 */ lwc1 $f10,0xc4($sp) +/* f0d1c34: 3c0140a0 */ lui $at,0x40a0 +/* f0d1c38: 44812000 */ mtc1 $at,$f4 +/* f0d1c3c: 460a3200 */ add.s $f8,$f6,$f10 +/* f0d1c40: 3c0140a0 */ lui $at,0x40a0 +/* f0d1c44: e4680044 */ swc1 $f8,0x44($v1) +/* f0d1c48: c526004c */ lwc1 $f6,0x4c($t1) +/* f0d1c4c: 8d380284 */ lw $t8,0x284($t1) +/* f0d1c50: 46062082 */ mul.s $f2,$f4,$f6 +/* f0d1c54: 8f030480 */ lw $v1,0x480($t8) +/* f0d1c58: c4600044 */ lwc1 $f0,0x44($v1) +/* f0d1c5c: 46001307 */ neg.s $f12,$f2 +/* f0d1c60: 460c003c */ c.lt.s $f0,$f12 +/* f0d1c64: 00000000 */ nop +/* f0d1c68: 45020009 */ bc1fl .PB0f0d1c90 +/* f0d1c6c: 4600103c */ c.lt.s $f2,$f0 +/* f0d1c70: e46c0044 */ swc1 $f12,0x44($v1) +/* f0d1c74: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1c78: c528004c */ lwc1 $f8,0x4c($t1) +/* f0d1c7c: 44815000 */ mtc1 $at,$f10 +/* f0d1c80: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1c84: 46085082 */ mul.s $f2,$f10,$f8 +/* f0d1c88: c4600044 */ lwc1 $f0,0x44($v1) +/* f0d1c8c: 4600103c */ c.lt.s $f2,$f0 +.PB0f0d1c90: +/* f0d1c90: 00000000 */ nop +/* f0d1c94: 4502000a */ bc1fl .PB0f0d1cc0 +/* f0d1c98: c7a400c4 */ lwc1 $f4,0xc4($sp) +/* f0d1c9c: e4620044 */ swc1 $f2,0x44($v1) +/* f0d1ca0: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1ca4: 10000005 */ b .PB0f0d1cbc +/* f0d1ca8: 8de30480 */ lw $v1,0x480($t7) +/* f0d1cac: 24190001 */ li $t9,0x1 +.PB0f0d1cb0: +/* f0d1cb0: a079003d */ sb $t9,0x3d($v1) +/* f0d1cb4: 8d380284 */ lw $t8,0x284($t1) +/* f0d1cb8: 8f030480 */ lw $v1,0x480($t8) +.PB0f0d1cbc: +/* f0d1cbc: c7a400c4 */ lwc1 $f4,0xc4($sp) +.PB0f0d1cc0: +/* f0d1cc0: 46102032 */ c.eq.s $f4,$f16 +/* f0d1cc4: 00000000 */ nop +/* f0d1cc8: 45020037 */ bc1fl .PB0f0d1da8 +/* f0d1ccc: c7a000e0 */ lwc1 $f0,0xe0($sp) +/* f0d1cd0: 906e003d */ lbu $t6,0x3d($v1) +/* f0d1cd4: 3c017f1b */ lui $at,0x7f1b +/* f0d1cd8: 240f0001 */ li $t7,0x1 +/* f0d1cdc: 55c00011 */ bnezl $t6,.PB0f0d1d24 +/* f0d1ce0: a06f003d */ sb $t7,0x3d($v1) +/* f0d1ce4: c4600044 */ lwc1 $f0,0x44($v1) +/* f0d1ce8: 44803000 */ mtc1 $zero,$f6 +/* f0d1cec: 00000000 */ nop +/* f0d1cf0: 4600303c */ c.lt.s $f6,$f0 +/* f0d1cf4: 00000000 */ nop +/* f0d1cf8: 45020004 */ bc1fl .PB0f0d1d0c +/* f0d1cfc: 46000087 */ neg.s $f2,$f0 +/* f0d1d00: 10000002 */ b .PB0f0d1d0c +/* f0d1d04: 46000086 */ mov.s $f2,$f0 +/* f0d1d08: 46000087 */ neg.s $f2,$f0 +.PB0f0d1d0c: +/* f0d1d0c: c42af800 */ lwc1 $f10,-0x800($at) +/* f0d1d10: 460a103c */ c.lt.s $f2,$f10 +/* f0d1d14: 00000000 */ nop +/* f0d1d18: 45020023 */ bc1fl .PB0f0d1da8 +/* f0d1d1c: c7a000e0 */ lwc1 $f0,0xe0($sp) +/* f0d1d20: a06f003d */ sb $t7,0x3d($v1) +.PB0f0d1d24: +/* f0d1d24: 8d390284 */ lw $t9,0x284($t1) +/* f0d1d28: 8d2e0038 */ lw $t6,0x38($t1) +/* f0d1d2c: 3c017f1b */ lui $at,0x7f1b +/* f0d1d30: 8f230480 */ lw $v1,0x480($t9) +/* f0d1d34: 9078003c */ lbu $t8,0x3c($v1) +/* f0d1d38: 030e7821 */ addu $t7,$t8,$t6 +/* f0d1d3c: a06f003c */ sb $t7,0x3c($v1) +/* f0d1d40: 8d390284 */ lw $t9,0x284($t1) +/* f0d1d44: c428f804 */ lwc1 $f8,-0x7fc($at) +/* f0d1d48: 8f230480 */ lw $v1,0x480($t9) +/* f0d1d4c: 8478003a */ lh $t8,0x3a($v1) +/* f0d1d50: 44982000 */ mtc1 $t8,$f4 +/* f0d1d54: 00000000 */ nop +/* f0d1d58: 468021a0 */ cvt.s.w $f6,$f4 +/* f0d1d5c: c4640044 */ lwc1 $f4,0x44($v1) +/* f0d1d60: 46064282 */ mul.s $f10,$f8,$f6 +/* f0d1d64: 460a2200 */ add.s $f8,$f4,$f10 +/* f0d1d68: e4680044 */ swc1 $f8,0x44($v1) +/* f0d1d6c: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1d70: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1d74: 906f003c */ lbu $t7,0x3c($v1) +/* f0d1d78: 29e10065 */ slti $at,$t7,0x65 +/* f0d1d7c: 5420000a */ bnezl $at,.PB0f0d1da8 +/* f0d1d80: c7a000e0 */ lwc1 $f0,0xe0($sp) +/* f0d1d84: a060003c */ sb $zero,0x3c($v1) +/* f0d1d88: 8d390284 */ lw $t9,0x284($t1) +/* f0d1d8c: 8f230480 */ lw $v1,0x480($t9) +/* f0d1d90: 8478003a */ lh $t8,0x3a($v1) +/* f0d1d94: 00187023 */ negu $t6,$t8 +/* f0d1d98: a46e003a */ sh $t6,0x3a($v1) +/* f0d1d9c: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1da0: 8de30480 */ lw $v1,0x480($t7) +/* f0d1da4: c7a000e0 */ lwc1 $f0,0xe0($sp) +.PB0f0d1da8: +/* f0d1da8: c4660044 */ lwc1 $f6,0x44($v1) +/* f0d1dac: 3c028007 */ lui $v0,0x8007 +/* f0d1db0: 24422b94 */ addiu $v0,$v0,0x2b94 +/* f0d1db4: 46003102 */ mul.s $f4,$f6,$f0 +/* f0d1db8: 3c018007 */ lui $at,0x8007 +/* f0d1dbc: e4640044 */ swc1 $f4,0x44($v1) +/* f0d1dc0: 8d390284 */ lw $t9,0x284($t1) +/* f0d1dc4: 8f230480 */ lw $v1,0x480($t9) +/* f0d1dc8: c46a0074 */ lwc1 $f10,0x74($v1) +/* f0d1dcc: 46005202 */ mul.s $f8,$f10,$f0 +/* f0d1dd0: e4680074 */ swc1 $f8,0x74($v1) +/* f0d1dd4: 8d380284 */ lw $t8,0x284($t1) +/* f0d1dd8: 8f030480 */ lw $v1,0x480($t8) +/* f0d1ddc: c4660078 */ lwc1 $f6,0x78($v1) +/* f0d1de0: 46003102 */ mul.s $f4,$f6,$f0 +/* f0d1de4: e4640078 */ swc1 $f4,0x78($v1) +/* f0d1de8: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1dec: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1df0: c46a006c */ lwc1 $f10,0x6c($v1) +/* f0d1df4: 46005202 */ mul.s $f8,$f10,$f0 +/* f0d1df8: e468006c */ swc1 $f8,0x6c($v1) +/* f0d1dfc: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1e00: 8de30480 */ lw $v1,0x480($t7) +/* f0d1e04: c4660070 */ lwc1 $f6,0x70($v1) +/* f0d1e08: 46003102 */ mul.s $f4,$f6,$f0 +/* f0d1e0c: e4640070 */ swc1 $f4,0x70($v1) +/* f0d1e10: 8d390284 */ lw $t9,0x284($t1) +/* f0d1e14: 8f230480 */ lw $v1,0x480($t9) +/* f0d1e18: c46a006c */ lwc1 $f10,0x6c($v1) +/* f0d1e1c: c4680074 */ lwc1 $f8,0x74($v1) +/* f0d1e20: 46085180 */ add.s $f6,$f10,$f8 +/* f0d1e24: e4660040 */ swc1 $f6,0x40($v1) +/* f0d1e28: 8d380284 */ lw $t8,0x284($t1) +/* f0d1e2c: 8f030480 */ lw $v1,0x480($t8) +/* f0d1e30: c4640070 */ lwc1 $f4,0x70($v1) +/* f0d1e34: c46a0078 */ lwc1 $f10,0x78($v1) +/* f0d1e38: 460a2200 */ add.s $f8,$f4,$f10 +/* f0d1e3c: e4680048 */ swc1 $f8,0x48($v1) +/* f0d1e40: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1e44: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1e48: c4660030 */ lwc1 $f6,0x30($v1) +/* f0d1e4c: e4660008 */ swc1 $f6,0x8($v1) +/* f0d1e50: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1e54: 8de30480 */ lw $v1,0x480($t7) +/* f0d1e58: c464002c */ lwc1 $f4,0x2c($v1) +/* f0d1e5c: c46a0024 */ lwc1 $f10,0x24($v1) +/* f0d1e60: 460a2202 */ mul.s $f8,$f4,$f10 +/* f0d1e64: e4680004 */ swc1 $f8,0x4($v1) +/* f0d1e68: 8d390284 */ lw $t9,0x284($t1) +/* f0d1e6c: 8f230480 */ lw $v1,0x480($t9) +/* f0d1e70: c466002c */ lwc1 $f6,0x2c($v1) +/* f0d1e74: c46a0020 */ lwc1 $f10,0x20($v1) +/* f0d1e78: 46003107 */ neg.s $f4,$f6 +/* f0d1e7c: 460a2202 */ mul.s $f8,$f4,$f10 +/* f0d1e80: e468000c */ swc1 $f8,0xc($v1) +/* f0d1e84: 8d380284 */ lw $t8,0x284($t1) +/* f0d1e88: 8f030480 */ lw $v1,0x480($t8) +/* f0d1e8c: c466002c */ lwc1 $f6,0x2c($v1) +/* f0d1e90: e4660014 */ swc1 $f6,0x14($v1) +/* f0d1e94: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1e98: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1e9c: c4640030 */ lwc1 $f4,0x30($v1) +/* f0d1ea0: c4680024 */ lwc1 $f8,0x24($v1) +/* f0d1ea4: 46002287 */ neg.s $f10,$f4 +/* f0d1ea8: 46085182 */ mul.s $f6,$f10,$f8 +/* f0d1eac: e4660010 */ swc1 $f6,0x10($v1) +/* f0d1eb0: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d1eb4: 8de30480 */ lw $v1,0x480($t7) +/* f0d1eb8: c4640030 */ lwc1 $f4,0x30($v1) +/* f0d1ebc: c46a0020 */ lwc1 $f10,0x20($v1) +/* f0d1ec0: 460a2202 */ mul.s $f8,$f4,$f10 +/* f0d1ec4: e4680018 */ swc1 $f8,0x18($v1) +/* f0d1ec8: 90590000 */ lbu $t9,0x0($v0) +/* f0d1ecc: a0392b98 */ sb $t9,0x2b98($at) +/* f0d1ed0: a0400000 */ sb $zero,0x0($v0) +/* f0d1ed4: 3c018007 */ lui $at,0x8007 +/* f0d1ed8: 0fc340b1 */ jal 0xf0d02c4 +/* f0d1edc: a0202b9c */ sb $zero,0x2b9c($at) +/* f0d1ee0: 3c09800a */ lui $t1,0x800a +/* f0d1ee4: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1ee8: 8d380284 */ lw $t8,0x284($t1) +/* f0d1eec: 3c0f8007 */ lui $t7,0x8007 +/* f0d1ef0: 3c198007 */ lui $t9,0x8007 +/* f0d1ef4: 8f030480 */ lw $v1,0x480($t8) +/* f0d1ef8: 806e0037 */ lb $t6,0x37($v1) +/* f0d1efc: 51c0007f */ beqzl $t6,.PB0f0d20fc +/* f0d1f00: 3c0144c8 */ lui $at,0x44c8 +/* f0d1f04: 91ef2b94 */ lbu $t7,0x2b94($t7) +/* f0d1f08: 93392b98 */ lbu $t9,0x2b98($t9) +/* f0d1f0c: 532f007b */ beql $t9,$t7,.PB0f0d20fc +/* f0d1f10: 3c0144c8 */ lui $at,0x44c8 +/* f0d1f14: 19e00078 */ blez $t7,.PB0f0d20f8 +/* f0d1f18: 8fb800e4 */ lw $t8,0xe4($sp) +/* f0d1f1c: 8f0e0120 */ lw $t6,0x120($t8) +/* f0d1f20: 25f9ffff */ addiu $t9,$t7,-1 +/* f0d1f24: 29c10009 */ slti $at,$t6,0x9 +/* f0d1f28: 14200073 */ bnez $at,.PB0f0d20f8 +/* f0d1f2c: 2f210005 */ sltiu $at,$t9,0x5 +/* f0d1f30: 1020006f */ beqz $at,.PB0f0d20f0 +/* f0d1f34: af000120 */ sw $zero,0x120($t8) +/* f0d1f38: 0019c880 */ sll $t9,$t9,0x2 +/* f0d1f3c: 3c017f1b */ lui $at,0x7f1b +/* f0d1f40: 00390821 */ addu $at,$at,$t9 +/* f0d1f44: 8c39f808 */ lw $t9,-0x7f8($at) +/* f0d1f48: 03200008 */ jr $t9 +/* f0d1f4c: 00000000 */ nop +/* f0d1f50: 3c013f80 */ lui $at,0x3f80 +/* f0d1f54: 44813000 */ mtc1 $at,$f6 +/* f0d1f58: 340e808c */ li $t6,0x808c +/* f0d1f5c: 24180001 */ li $t8,0x1 +/* f0d1f60: 240fffff */ li $t7,-1 +/* f0d1f64: 24190001 */ li $t9,0x1 +/* f0d1f68: afb90020 */ sw $t9,0x20($sp) +/* f0d1f6c: afaf001c */ sw $t7,0x1c($sp) +/* f0d1f70: afb80018 */ sw $t8,0x18($sp) +/* f0d1f74: afae0010 */ sw $t6,0x10($sp) +/* f0d1f78: 00002025 */ move $a0,$zero +/* f0d1f7c: 00002825 */ move $a1,$zero +/* f0d1f80: 24063e80 */ li $a2,0x3e80 +/* f0d1f84: 24070040 */ li $a3,0x40 +/* f0d1f88: 0c0041d9 */ jal 0x10764 +/* f0d1f8c: e7a60014 */ swc1 $f6,0x14($sp) +/* f0d1f90: 3c09800a */ lui $t1,0x800a +/* f0d1f94: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1f98: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d1f9c: 10000056 */ b .PB0f0d20f8 +/* f0d1fa0: 8dc30480 */ lw $v1,0x480($t6) +/* f0d1fa4: 3c013f80 */ lui $at,0x3f80 +/* f0d1fa8: 44812000 */ mtc1 $at,$f4 +/* f0d1fac: 3418808c */ li $t8,0x808c +/* f0d1fb0: 240f0001 */ li $t7,0x1 +/* f0d1fb4: 2419ffff */ li $t9,-1 +/* f0d1fb8: 240e0001 */ li $t6,0x1 +/* f0d1fbc: afae0020 */ sw $t6,0x20($sp) +/* f0d1fc0: afb9001c */ sw $t9,0x1c($sp) +/* f0d1fc4: afaf0018 */ sw $t7,0x18($sp) +/* f0d1fc8: afb80010 */ sw $t8,0x10($sp) +/* f0d1fcc: 00002025 */ move $a0,$zero +/* f0d1fd0: 00002825 */ move $a1,$zero +/* f0d1fd4: 24063e80 */ li $a2,0x3e80 +/* f0d1fd8: 24070040 */ li $a3,0x40 +/* f0d1fdc: 0c0041d9 */ jal 0x10764 +/* f0d1fe0: e7a40014 */ swc1 $f4,0x14($sp) +/* f0d1fe4: 3c09800a */ lui $t1,0x800a +/* f0d1fe8: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d1fec: 8d380284 */ lw $t8,0x284($t1) +/* f0d1ff0: 10000041 */ b .PB0f0d20f8 +/* f0d1ff4: 8f030480 */ lw $v1,0x480($t8) +/* f0d1ff8: 3c013f80 */ lui $at,0x3f80 +/* f0d1ffc: 44815000 */ mtc1 $at,$f10 +/* f0d2000: 340f808c */ li $t7,0x808c +/* f0d2004: 24190001 */ li $t9,0x1 +/* f0d2008: 240effff */ li $t6,-1 +/* f0d200c: 24180001 */ li $t8,0x1 +/* f0d2010: afb80020 */ sw $t8,0x20($sp) +/* f0d2014: afae001c */ sw $t6,0x1c($sp) +/* f0d2018: afb90018 */ sw $t9,0x18($sp) +/* f0d201c: afaf0010 */ sw $t7,0x10($sp) +/* f0d2020: 00002025 */ move $a0,$zero +/* f0d2024: 00002825 */ move $a1,$zero +/* f0d2028: 24063e80 */ li $a2,0x3e80 +/* f0d202c: 24070040 */ li $a3,0x40 +/* f0d2030: 0c0041d9 */ jal 0x10764 +/* f0d2034: e7aa0014 */ swc1 $f10,0x14($sp) +/* f0d2038: 3c09800a */ lui $t1,0x800a +/* f0d203c: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d2040: 8d2f0284 */ lw $t7,0x284($t1) +/* f0d2044: 1000002c */ b .PB0f0d20f8 +/* f0d2048: 8de30480 */ lw $v1,0x480($t7) +/* f0d204c: 3c013f80 */ lui $at,0x3f80 +/* f0d2050: 44814000 */ mtc1 $at,$f8 +/* f0d2054: 3419808c */ li $t9,0x808c +/* f0d2058: 240e0001 */ li $t6,0x1 +/* f0d205c: 2418ffff */ li $t8,-1 +/* f0d2060: 240f0001 */ li $t7,0x1 +/* f0d2064: afaf0020 */ sw $t7,0x20($sp) +/* f0d2068: afb8001c */ sw $t8,0x1c($sp) +/* f0d206c: afae0018 */ sw $t6,0x18($sp) +/* f0d2070: afb90010 */ sw $t9,0x10($sp) +/* f0d2074: 00002025 */ move $a0,$zero +/* f0d2078: 00002825 */ move $a1,$zero +/* f0d207c: 24063e80 */ li $a2,0x3e80 +/* f0d2080: 24070040 */ li $a3,0x40 +/* f0d2084: 0c0041d9 */ jal 0x10764 +/* f0d2088: e7a80014 */ swc1 $f8,0x14($sp) +/* f0d208c: 3c09800a */ lui $t1,0x800a +/* f0d2090: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d2094: 8d390284 */ lw $t9,0x284($t1) +/* f0d2098: 10000017 */ b .PB0f0d20f8 +/* f0d209c: 8f230480 */ lw $v1,0x480($t9) +/* f0d20a0: 3c01bf80 */ lui $at,0xbf80 +/* f0d20a4: 44813000 */ mtc1 $at,$f6 +/* f0d20a8: 3c048009 */ lui $a0,0x8009 +/* f0d20ac: 240effff */ li $t6,-1 +/* f0d20b0: 2418ffff */ li $t8,-1 +/* f0d20b4: 240fffff */ li $t7,-1 +/* f0d20b8: afaf001c */ sw $t7,0x1c($sp) +/* f0d20bc: afb80018 */ sw $t8,0x18($sp) +/* f0d20c0: afae0010 */ sw $t6,0x10($sp) +/* f0d20c4: 8c847f30 */ lw $a0,0x7f30($a0) +/* f0d20c8: 240500f2 */ li $a1,0xf2 +/* f0d20cc: 00003025 */ move $a2,$zero +/* f0d20d0: 2407ffff */ li $a3,-1 +/* f0d20d4: 0c004254 */ jal 0x10950 +/* f0d20d8: e7a60014 */ swc1 $f6,0x14($sp) +/* f0d20dc: 3c09800a */ lui $t1,0x800a +/* f0d20e0: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d20e4: 8d390284 */ lw $t9,0x284($t1) +/* f0d20e8: 10000003 */ b .PB0f0d20f8 +/* f0d20ec: 8f230480 */ lw $v1,0x480($t9) +.PB0f0d20f0: +/* f0d20f0: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d20f4: 8dc30480 */ lw $v1,0x480($t6) +.PB0f0d20f8: +/* f0d20f8: 3c0144c8 */ lui $at,0x44c8 +.PB0f0d20fc: +/* f0d20fc: 44816000 */ mtc1 $at,$f12 +/* f0d2100: c4620058 */ lwc1 $f2,0x58($v1) +/* f0d2104: 4602603c */ c.lt.s $f12,$f2 +/* f0d2108: 00000000 */ nop +/* f0d210c: 45020006 */ bc1fl .PB0f0d2128 +/* f0d2110: 460c1003 */ div.s $f0,$f2,$f12 +/* f0d2114: e46c0058 */ swc1 $f12,0x58($v1) +/* f0d2118: 8d380284 */ lw $t8,0x284($t1) +/* f0d211c: 8f030480 */ lw $v1,0x480($t8) +/* f0d2120: c4620058 */ lwc1 $f2,0x58($v1) +/* f0d2124: 460c1003 */ div.s $f0,$f2,$f12 +.PB0f0d2128: +/* f0d2128: 3c0143c8 */ lui $at,0x43c8 +/* f0d212c: 44812000 */ mtc1 $at,$f4 +/* f0d2130: 8c640000 */ lw $a0,0x0($v1) +/* f0d2134: 46040282 */ mul.s $f10,$f0,$f4 +/* f0d2138: 4600520d */ trunc.w.s $f8,$f10 +/* f0d213c: 44054000 */ mfc1 $a1,$f8 +/* f0d2140: 0fc24d74 */ jal 0xf0935d0 +/* f0d2144: 00000000 */ nop +/* f0d2148: 3c09800a */ lui $t1,0x800a +/* f0d214c: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d2150: 8d390284 */ lw $t9,0x284($t1) +/* f0d2154: 3c0143b4 */ lui $at,0x43b4 +/* f0d2158: 44817000 */ mtc1 $at,$f14 +/* f0d215c: 8f2e0480 */ lw $t6,0x480($t9) +/* f0d2160: 3c014334 */ lui $at,0x4334 +/* f0d2164: 44813000 */ mtc1 $at,$f6 +/* f0d2168: c5c4001c */ lwc1 $f4,0x1c($t6) +/* f0d216c: 44805000 */ mtc1 $zero,$f10 +/* f0d2170: 46043001 */ sub.s $f0,$f6,$f4 +/* f0d2174: 460a003c */ c.lt.s $f0,$f10 +/* f0d2178: 00000000 */ nop +/* f0d217c: 45020003 */ bc1fl .PB0f0d218c +/* f0d2180: 460e0203 */ div.s $f8,$f0,$f14 +/* f0d2184: 460e0000 */ add.s $f0,$f0,$f14 +/* f0d2188: 460e0203 */ div.s $f8,$f0,$f14 +.PB0f0d218c: +/* f0d218c: 3c017f1b */ lui $at,0x7f1b +/* f0d2190: c426f81c */ lwc1 $f6,-0x7e4($at) +/* f0d2194: 8fa400e4 */ lw $a0,0xe4($sp) +/* f0d2198: 46064002 */ mul.s $f0,$f8,$f6 +/* f0d219c: 44050000 */ mfc1 $a1,$f0 +/* f0d21a0: 0fc0f992 */ jal 0xf03e648 +/* f0d21a4: 00000000 */ nop +/* f0d21a8: 3c09800a */ lui $t1,0x800a +/* f0d21ac: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d21b0: 8d380284 */ lw $t8,0x284($t1) +/* f0d21b4: 8f030480 */ lw $v1,0x480($t8) +/* f0d21b8: 806f0036 */ lb $t7,0x36($v1) +/* f0d21bc: 29e10029 */ slti $at,$t7,0x29 +/* f0d21c0: 542000aa */ bnezl $at,.PB0f0d246c +/* f0d21c4: 8fbf002c */ lw $ra,0x2c($sp) +/* f0d21c8: 80790068 */ lb $t9,0x68($v1) +/* f0d21cc: 8fae00a8 */ lw $t6,0xa8($sp) +/* f0d21d0: 5f200013 */ bgtzl $t9,.PB0f0d2220 +/* f0d21d4: a0600039 */ sb $zero,0x39($v1) +/* f0d21d8: 51c00011 */ beqzl $t6,.PB0f0d2220 +/* f0d21dc: a0600039 */ sb $zero,0x39($v1) +/* f0d21e0: 80780037 */ lb $t8,0x37($v1) +/* f0d21e4: 5300000e */ beqzl $t8,.PB0f0d2220 +/* f0d21e8: a0600039 */ sb $zero,0x39($v1) +/* f0d21ec: 806f0039 */ lb $t7,0x39($v1) +/* f0d21f0: 24190001 */ li $t9,0x1 +/* f0d21f4: 55e0000d */ bnezl $t7,.PB0f0d222c +/* f0d21f8: 8fae00a4 */ lw $t6,0xa4($sp) +/* f0d21fc: a0790039 */ sb $t9,0x39($v1) +/* f0d2200: 8d380284 */ lw $t8,0x284($t1) +/* f0d2204: 240e0014 */ li $t6,0x14 +/* f0d2208: 8f0f0480 */ lw $t7,0x480($t8) +/* f0d220c: a1ee0068 */ sb $t6,0x68($t7) +/* f0d2210: 8d390284 */ lw $t9,0x284($t1) +/* f0d2214: 10000004 */ b .PB0f0d2228 +/* f0d2218: 8f230480 */ lw $v1,0x480($t9) +/* f0d221c: a0600039 */ sb $zero,0x39($v1) +.PB0f0d2220: +/* f0d2220: 8d380284 */ lw $t8,0x284($t1) +/* f0d2224: 8f030480 */ lw $v1,0x480($t8) +.PB0f0d2228: +/* f0d2228: 8fae00a4 */ lw $t6,0xa4($sp) +.PB0f0d222c: +/* f0d222c: 3c0a8007 */ lui $t2,0x8007 +/* f0d2230: 254a2b90 */ addiu $t2,$t2,0x2b90 +/* f0d2234: 51c0000d */ beqzl $t6,.PB0f0d226c +/* f0d2238: 8faf00a0 */ lw $t7,0xa0($sp) +/* f0d223c: 806f0037 */ lb $t7,0x37($v1) +/* f0d2240: 51e0000a */ beqzl $t7,.PB0f0d226c +/* f0d2244: 8faf00a0 */ lw $t7,0xa0($sp) +/* f0d2248: a0600037 */ sb $zero,0x37($v1) +/* f0d224c: 8d2d0284 */ lw $t5,0x284($t1) +/* f0d2250: 2401fffb */ li $at,-5 +/* f0d2254: 8db900c4 */ lw $t9,0xc4($t5) +/* f0d2258: 0321c024 */ and $t8,$t9,$at +/* f0d225c: adb800c4 */ sw $t8,0xc4($t5) +/* f0d2260: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d2264: 8dc30480 */ lw $v1,0x480($t6) +/* f0d2268: 8faf00a0 */ lw $t7,0xa0($sp) +.PB0f0d226c: +/* f0d226c: 51e00011 */ beqzl $t7,.PB0f0d22b4 +/* f0d2270: a060006a */ sb $zero,0x6a($v1) +/* f0d2274: 80790037 */ lb $t9,0x37($v1) +/* f0d2278: 5320000e */ beqzl $t9,.PB0f0d22b4 +/* f0d227c: a060006a */ sb $zero,0x6a($v1) +/* f0d2280: 80780038 */ lb $t8,0x38($v1) +/* f0d2284: 240e0001 */ li $t6,0x1 +/* f0d2288: 17000007 */ bnez $t8,.PB0f0d22a8 +/* f0d228c: 00000000 */ nop +/* f0d2290: a06e0038 */ sb $t6,0x38($v1) +/* f0d2294: 8d390284 */ lw $t9,0x284($t1) +/* f0d2298: 240f0001 */ li $t7,0x1 +/* f0d229c: 8f380480 */ lw $t8,0x480($t9) +/* f0d22a0: 10000007 */ b .PB0f0d22c0 +/* f0d22a4: a30f006a */ sb $t7,0x6a($t8) +.PB0f0d22a8: +/* f0d22a8: 10000005 */ b .PB0f0d22c0 +/* f0d22ac: a060006a */ sb $zero,0x6a($v1) +/* f0d22b0: a060006a */ sb $zero,0x6a($v1) +.PB0f0d22b4: +/* f0d22b4: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d22b8: 8dd90480 */ lw $t9,0x480($t6) +/* f0d22bc: a3200038 */ sb $zero,0x38($t9) +.PB0f0d22c0: +/* f0d22c0: 8d380284 */ lw $t8,0x284($t1) +/* f0d22c4: 3c0f8007 */ lui $t7,0x8007 +/* f0d22c8: 91ef2b94 */ lbu $t7,0x2b94($t7) +/* f0d22cc: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d22d0: a1cf0069 */ sb $t7,0x69($t6) +/* f0d22d4: 8d2d0284 */ lw $t5,0x284($t1) +/* f0d22d8: 8da30480 */ lw $v1,0x480($t5) +/* f0d22dc: 80790037 */ lb $t9,0x37($v1) +/* f0d22e0: 5720002a */ bnezl $t9,.PB0f0d238c +/* f0d22e4: 8d2d0284 */ lw $t5,0x284($t1) +/* f0d22e8: 91580000 */ lbu $t8,0x0($t2) +/* f0d22ec: 24190022 */ li $t9,0x22 +/* f0d22f0: 57000026 */ bnezl $t8,.PB0f0d238c +/* f0d22f4: 8d2d0284 */ lw $t5,0x284($t1) +/* f0d22f8: 8c620000 */ lw $v0,0x0($v1) +/* f0d22fc: 8da800bc */ lw $t0,0xbc($t5) +/* f0d2300: 240f0001 */ li $t7,0x1 +/* f0d2304: c4440008 */ lwc1 $f4,0x8($v0) +/* f0d2308: c50a0008 */ lwc1 $f10,0x8($t0) +/* f0d230c: c4480010 */ lwc1 $f8,0x10($v0) +/* f0d2310: c5060010 */ lwc1 $f6,0x10($t0) +/* f0d2314: 460a2001 */ sub.s $f0,$f4,$f10 +/* f0d2318: a14f0000 */ sb $t7,0x0($t2) +/* f0d231c: 3c017f1b */ lui $at,0x7f1b +/* f0d2320: 46064081 */ sub.s $f2,$f8,$f6 +/* f0d2324: 46000282 */ mul.s $f10,$f0,$f0 +/* f0d2328: c424f820 */ lwc1 $f4,-0x7e0($at) +/* f0d232c: 46021202 */ mul.s $f8,$f2,$f2 +/* f0d2330: 46085180 */ add.s $f6,$f10,$f8 +/* f0d2334: 4606203c */ c.lt.s $f4,$f6 +/* f0d2338: 00000000 */ nop +/* f0d233c: 45020003 */ bc1fl .PB0f0d234c +/* f0d2340: 8dae0480 */ lw $t6,0x480($t5) +/* f0d2344: a1400000 */ sb $zero,0x0($t2) +/* f0d2348: 8dae0480 */ lw $t6,0x480($t5) +.PB0f0d234c: +/* f0d234c: 8da800bc */ lw $t0,0xbc($t5) +/* f0d2350: 2418001c */ li $t8,0x1c +/* f0d2354: 8dc20000 */ lw $v0,0x0($t6) +/* f0d2358: afb80014 */ sw $t8,0x14($sp) +/* f0d235c: afb90010 */ sw $t9,0x10($sp) +/* f0d2360: 25040008 */ addiu $a0,$t0,0x8 +/* f0d2364: 25050028 */ addiu $a1,$t0,0x28 +/* f0d2368: 24460008 */ addiu $a2,$v0,0x8 +/* f0d236c: 0c00b87f */ jal 0x2e1fc +/* f0d2370: 24470028 */ addiu $a3,$v0,0x28 +/* f0d2374: 3c09800a */ lui $t1,0x800a +/* f0d2378: 14400003 */ bnez $v0,.PB0f0d2388 +/* f0d237c: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d2380: 3c018007 */ lui $at,0x8007 +/* f0d2384: a0202b90 */ sb $zero,0x2b90($at) +.PB0f0d2388: +/* f0d2388: 8d2d0284 */ lw $t5,0x284($t1) +.PB0f0d238c: +/* f0d238c: 3c0a8007 */ lui $t2,0x8007 +/* f0d2390: 254a2b90 */ addiu $t2,$t2,0x2b90 +/* f0d2394: 8daf0480 */ lw $t7,0x480($t5) +/* f0d2398: 81ee0037 */ lb $t6,0x37($t7) +/* f0d239c: 51c00003 */ beqzl $t6,.PB0f0d23ac +/* f0d23a0: 91590000 */ lbu $t9,0x0($t2) +/* f0d23a4: a1400000 */ sb $zero,0x0($t2) +/* f0d23a8: 91590000 */ lbu $t9,0x0($t2) +.PB0f0d23ac: +/* f0d23ac: 5320002a */ beqzl $t9,.PB0f0d2458 +/* f0d23b0: 8faf00e4 */ lw $t7,0xe4($sp) +/* f0d23b4: 8db80480 */ lw $t8,0x480($t5) +/* f0d23b8: 240f0001 */ li $t7,0x1 +/* f0d23bc: 2404002e */ li $a0,0x2e +/* f0d23c0: a3000035 */ sb $zero,0x35($t8) +/* f0d23c4: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d23c8: 8dd90480 */ lw $t9,0x480($t6) +/* f0d23cc: a32f0034 */ sb $t7,0x34($t9) +/* f0d23d0: 8d380284 */ lw $t8,0x284($t1) +/* f0d23d4: 8f0e0480 */ lw $t6,0x480($t8) +/* f0d23d8: a1c00037 */ sb $zero,0x37($t6) +/* f0d23dc: 8faf00e4 */ lw $t7,0xe4($sp) +/* f0d23e0: 8df90018 */ lw $t9,0x18($t7) +/* f0d23e4: 37380400 */ ori $t8,$t9,0x400 +/* f0d23e8: 370e0010 */ ori $t6,$t8,0x10 +/* f0d23ec: adf80018 */ sw $t8,0x18($t7) +/* f0d23f0: 0fc21f74 */ jal 0xf087dd0 +/* f0d23f4: adee0018 */ sw $t6,0x18($t7) +/* f0d23f8: 2404002e */ li $a0,0x2e +/* f0d23fc: 0fc22191 */ jal 0xf088644 +/* f0d2400: 00002825 */ move $a1,$zero +/* f0d2404: 3c09800a */ lui $t1,0x800a +/* f0d2408: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d240c: 8d390284 */ lw $t9,0x284($t1) +/* f0d2410: 24050001 */ li $a1,0x1 +/* f0d2414: 3406ffff */ li $a2,0xffff +/* f0d2418: 8f380480 */ lw $t8,0x480($t9) +/* f0d241c: 0fc24943 */ jal 0xf09250c +/* f0d2420: 8f040000 */ lw $a0,0x0($t8) +/* f0d2424: 3c09800a */ lui $t1,0x800a +/* f0d2428: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0d242c: 8d2e0284 */ lw $t6,0x284($t1) +/* f0d2430: 8d380338 */ lw $t8,0x338($t1) +/* f0d2434: 24010048 */ li $at,0x48 +/* f0d2438: 8dcf0480 */ lw $t7,0x480($t6) +/* f0d243c: 8df90000 */ lw $t9,0x0($t7) +/* f0d2440: 03382023 */ subu $a0,$t9,$t8 +/* f0d2444: 0081001a */ div $zero,$a0,$at +/* f0d2448: 00002012 */ mflo $a0 +/* f0d244c: 0fc08414 */ jal 0xf021050 +/* f0d2450: 00000000 */ nop +/* f0d2454: 8faf00e4 */ lw $t7,0xe4($sp) +.PB0f0d2458: +/* f0d2458: 24050001 */ li $a1,0x1 +/* f0d245c: 8de4001c */ lw $a0,0x1c($t7) +/* f0d2460: 0fc22a94 */ jal 0xf08aa50 +/* f0d2464: 24840008 */ addiu $a0,$a0,0x8 +/* f0d2468: 8fbf002c */ lw $ra,0x2c($sp) +.PB0f0d246c: +/* f0d246c: 27bd00e8 */ addiu $sp,$sp,0xe8 +/* f0d2470: 03e00008 */ jr $ra +/* f0d2474: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel eyespyProcessInput diff --git a/src/game/bondgrab.c b/src/game/bondgrab.c index fbe2deaac..90f807dc8 100644 --- a/src/game/bondgrab.c +++ b/src/game/bondgrab.c @@ -826,7 +826,7 @@ bool bgrabTryMoveUpwards(f32 y) return result; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel bgrabCalculateNewPosition .late_rodata diff --git a/src/game/bondgun.c b/src/game/bondgun.c index 3e1c4887a..cab333e2f 100644 --- a/src/game/bondgun.c +++ b/src/game/bondgun.c @@ -2144,7 +2144,7 @@ bool bgun0f098a44(struct hand *hand, s32 time) } if (waittimekeyframe >= 0) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA if (hand->unk0cc8_01 && bgun0f09815c(hand) <= zreleasekeyframe) { return false; } @@ -2282,7 +2282,7 @@ void bgun0f098df8(s32 weaponfunc, struct handweaponinfo *info, struct hand *hand } if (checkunequipped && reloadindex >= 0) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA amount -= hand->gunroundsspent[reloadindex] / TICKS(256); #else amount -= hand->gunroundsspent[reloadindex] >> 8; @@ -2777,6 +2777,395 @@ glabel bgunTickIncIdle /* f0997fc: 03e00008 */ jr $ra /* f099800: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgunTickIncIdle +/* f0991c0: 27bdffc0 */ addiu $sp,$sp,-64 +/* f0991c4: afbf001c */ sw $ra,0x1c($sp) +/* f0991c8: afb00018 */ sw $s0,0x18($sp) +/* f0991cc: 00c08025 */ move $s0,$a2 +/* f0991d0: afa40040 */ sw $a0,0x40($sp) +/* f0991d4: afa50044 */ sw $a1,0x44($sp) +/* f0991d8: 0fc2a406 */ jal 0xf0a9018 +/* f0991dc: afa7004c */ sw $a3,0x4c($sp) +/* f0991e0: 44802000 */ mtc1 $zero,$f4 +/* f0991e4: afa20038 */ sw $v0,0x38($sp) +/* f0991e8: a20005dc */ sb $zero,0x5dc($s0) +/* f0991ec: ae000558 */ sw $zero,0x558($s0) +/* f0991f0: e60405fc */ swc1 $f4,0x5fc($s0) +/* f0991f4: 0fc26fd0 */ jal 0xf09bf40 +/* f0991f8: 8fa40044 */ lw $a0,0x44($sp) +/* f0991fc: 10400007 */ beqz $v0,.PB0f09921c +/* f099200: 8fa40044 */ lw $a0,0x44($sp) +/* f099204: 0fc273c0 */ jal 0xf09cf00 +/* f099208: 24050005 */ li $a1,0x5 +/* f09920c: 50400004 */ beqzl $v0,.PB0f099220 +/* f099210: 8fae0038 */ lw $t6,0x38($sp) +/* f099214: 1000014a */ b .PB0f099740 +/* f099218: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f09921c: +/* f09921c: 8fae0038 */ lw $t6,0x38($sp) +.PB0f099220: +/* f099220: 920f0003 */ lbu $t7,0x3($s0) +/* f099224: 02003025 */ move $a2,$s0 +/* f099228: 55cf0005 */ bnel $t6,$t7,.PB0f099240 +/* f09922c: 92090690 */ lbu $t1,0x690($s0) +/* f099230: 92180690 */ lbu $t8,0x690($s0) +/* f099234: 3319fffd */ andi $t9,$t8,0xfffd +/* f099238: a2190690 */ sb $t9,0x690($s0) +/* f09923c: 92090690 */ lbu $t1,0x690($s0) +.PB0f099240: +/* f099240: 820b0008 */ lb $t3,0x8($s0) +/* f099244: 312afffe */ andi $t2,$t1,0xfffe +/* f099248: 11600106 */ beqz $t3,.PB0f099664 +/* f09924c: a20a0690 */ sb $t2,0x690($s0) +/* f099250: 92040003 */ lbu $a0,0x3($s0) +/* f099254: 0fc2631c */ jal 0xf098c70 +/* f099258: 8fa50040 */ lw $a1,0x40($sp) +/* f09925c: 92030003 */ lbu $v1,0x3($s0) +/* f099260: 8fac0038 */ lw $t4,0x38($sp) +/* f099264: 00404025 */ move $t0,$v0 +/* f099268: 1183003a */ beq $t4,$v1,.PB0f099354 +/* f09926c: 00000000 */ nop +/* f099270: 8e0d0024 */ lw $t5,0x24($s0) +/* f099274: 24010009 */ li $at,0x9 +/* f099278: 11a10036 */ beq $t5,$at,.PB0f099354 +/* f09927c: 00000000 */ nop +/* f099280: 8e0e0690 */ lw $t6,0x690($s0) +/* f099284: 24190001 */ li $t9,0x1 +/* f099288: 24070001 */ li $a3,0x1 +/* f09928c: 000ec180 */ sll $t8,$t6,0x6 +/* f099290: 0701000a */ bgez $t8,.PB0f0992bc +/* f099294: 03232023 */ subu $a0,$t9,$v1 +/* f099298: 8fa50040 */ lw $a1,0x40($sp) +/* f09929c: 02003025 */ move $a2,$s0 +/* f0992a0: afa7002c */ sw $a3,0x2c($sp) +/* f0992a4: 0fc2631c */ jal 0xf098c70 +/* f0992a8: afa20034 */ sw $v0,0x34($sp) +/* f0992ac: 8fa7002c */ lw $a3,0x2c($sp) +/* f0992b0: 04410002 */ bgez $v0,.PB0f0992bc +/* f0992b4: 8fa80034 */ lw $t0,0x34($sp) +/* f0992b8: 00003825 */ move $a3,$zero +.PB0f0992bc: +/* f0992bc: 10e00018 */ beqz $a3,.PB0f099320 +/* f0992c0: 8fa90040 */ lw $t1,0x40($sp) +/* f0992c4: 8d2a0000 */ lw $t2,0x0($t1) +/* f0992c8: 2401001a */ li $at,0x1a +/* f0992cc: 15410014 */ bne $t2,$at,.PB0f099320 +/* f0992d0: 00000000 */ nop +/* f0992d4: 1500000f */ bnez $t0,.PB0f099314 +/* f0992d8: 00000000 */ nop +/* f0992dc: ae00001c */ sw $zero,0x1c($s0) +/* f0992e0: ae000018 */ sw $zero,0x18($s0) +/* f0992e4: 8fab0038 */ lw $t3,0x38($sp) +/* f0992e8: 24050001 */ li $a1,0x1 +/* f0992ec: a20b0003 */ sb $t3,0x3($s0) +/* f0992f0: afa80034 */ sw $t0,0x34($sp) +/* f0992f4: afa7002c */ sw $a3,0x2c($sp) +/* f0992f8: 0fc273c0 */ jal 0xf09cf00 +/* f0992fc: 8fa40044 */ lw $a0,0x44($sp) +/* f099300: 8fa7002c */ lw $a3,0x2c($sp) +/* f099304: 10400006 */ beqz $v0,.PB0f099320 +/* f099308: 8fa80034 */ lw $t0,0x34($sp) +/* f09930c: 1000010c */ b .PB0f099740 +/* f099310: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f099314: +/* f099314: 05010002 */ bgez $t0,.PB0f099320 +/* f099318: 00000000 */ nop +/* f09931c: 00003825 */ move $a3,$zero +.PB0f099320: +/* f099320: 10e0000c */ beqz $a3,.PB0f099354 +/* f099324: 00000000 */ nop +/* f099328: 920c0690 */ lbu $t4,0x690($s0) +/* f09932c: 24050007 */ li $a1,0x7 +/* f099330: 318dfffd */ andi $t5,$t4,0xfffd +/* f099334: a20d0690 */ sb $t5,0x690($s0) +/* f099338: afa80034 */ sw $t0,0x34($sp) +/* f09933c: 0fc273c0 */ jal 0xf09cf00 +/* f099340: 8fa40044 */ lw $a0,0x44($sp) +/* f099344: 10400003 */ beqz $v0,.PB0f099354 +/* f099348: 8fa80034 */ lw $t0,0x34($sp) +/* f09934c: 100000fc */ b .PB0f099740 +/* f099350: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f099354: +/* f099354: 05010071 */ bgez $t0,.PB0f09951c +/* f099358: 8fae0040 */ lw $t6,0x40($sp) +/* f09935c: 8dc40000 */ lw $a0,0x0($t6) +/* f099360: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f099364: 24050001 */ li $a1,0x1 +/* f099368: 1040000f */ beqz $v0,.PB0f0993a8 +/* f09936c: 8faf0040 */ lw $t7,0x40($sp) +/* f099370: 8df80000 */ lw $t8,0x0($t7) +/* f099374: 24010022 */ li $at,0x22 +/* f099378: 8fb90044 */ lw $t9,0x44($sp) +/* f09937c: 17010004 */ bne $t8,$at,.PB0f099390 +/* f099380: 8fa40044 */ lw $a0,0x44($sp) +/* f099384: 24010001 */ li $at,0x1 +/* f099388: 13210007 */ beq $t9,$at,.PB0f0993a8 +/* f09938c: 00000000 */ nop +.PB0f099390: +/* f099390: 0fc273c0 */ jal 0xf09cf00 +/* f099394: 24050008 */ li $a1,0x8 +/* f099398: 10400003 */ beqz $v0,.PB0f0993a8 +/* f09939c: 00000000 */ nop +/* f0993a0: 100000e7 */ b .PB0f099740 +/* f0993a4: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f0993a8: +/* f0993a8: 3c09800a */ lui $t1,0x800a +/* f0993ac: 8d29e754 */ lw $t1,-0x18ac($t1) +/* f0993b0: 8fa50040 */ lw $a1,0x40($sp) +/* f0993b4: 02003025 */ move $a2,$s0 +/* f0993b8: 81241580 */ lb $a0,0x1580($t1) +/* f0993bc: 0004102a */ slt $v0,$zero,$a0 +/* f0993c0: 50400016 */ beqzl $v0,.PB0f09941c +/* f0993c4: 8fab0038 */ lw $t3,0x38($sp) +/* f0993c8: 28820024 */ slti $v0,$a0,0x24 +/* f0993cc: 10400012 */ beqz $v0,.PB0f099418 +/* f0993d0: 3c0a800a */ lui $t2,0x800a +/* f0993d4: 8d4ae758 */ lw $t2,-0x18a8($t2) +/* f0993d8: 2483ffff */ addiu $v1,$a0,-1 +/* f0993dc: 000368c3 */ sra $t5,$v1,0x3 +/* f0993e0: 8d4b0070 */ lw $t3,0x70($t2) +/* f0993e4: 3c0f800b */ lui $t7,0x800b +/* f0993e8: 30780007 */ andi $t8,$v1,0x7 +/* f0993ec: 000b6080 */ sll $t4,$t3,0x2 +/* f0993f0: 018b6021 */ addu $t4,$t4,$t3 +/* f0993f4: 000c6140 */ sll $t4,$t4,0x5 +/* f0993f8: 018d7021 */ addu $t6,$t4,$t5 +/* f0993fc: 01ee7821 */ addu $t7,$t7,$t6 +/* f099400: 91ef0e6f */ lbu $t7,0xe6f($t7) +/* f099404: 24190001 */ li $t9,0x1 +/* f099408: 03194804 */ sllv $t1,$t9,$t8 +/* f09940c: 01e91024 */ and $v0,$t7,$t1 +/* f099410: 0002502b */ sltu $t2,$zero,$v0 +/* f099414: 01401025 */ move $v0,$t2 +.PB0f099418: +/* f099418: 8fab0038 */ lw $t3,0x38($sp) +.PB0f09941c: +/* f09941c: 544b0092 */ bnel $v0,$t3,.PB0f099668 +/* f099420: 8fae0044 */ lw $t6,0x44($sp) +/* f099424: 920c0003 */ lbu $t4,0x3($s0) +/* f099428: 240d0001 */ li $t5,0x1 +/* f09942c: 0fc2631c */ jal 0xf098c70 +/* f099430: 01ac2023 */ subu $a0,$t5,$t4 +/* f099434: 920e0003 */ lbu $t6,0x3($s0) +/* f099438: 24190001 */ li $t9,0x1 +/* f09943c: afa20030 */ sw $v0,0x30($sp) +/* f099440: 02002025 */ move $a0,$s0 +/* f099444: 0fc26459 */ jal 0xf099164 +/* f099448: 032e2823 */ subu $a1,$t9,$t6 +/* f09944c: 1040001a */ beqz $v0,.PB0f0994b8 +/* f099450: 8fa30030 */ lw $v1,0x30($sp) +/* f099454: 8fb80040 */ lw $t8,0x40($sp) +/* f099458: 24010014 */ li $at,0x14 +/* f09945c: 8f0f0000 */ lw $t7,0x0($t8) +/* f099460: 11e10015 */ beq $t7,$at,.PB0f0994b8 +/* f099464: 00000000 */ nop +/* f099468: 8f090008 */ lw $t1,0x8($t8) +/* f09946c: 02002025 */ move $a0,$s0 +/* f099470: 24190001 */ li $t9,0x1 +/* f099474: 8d2a0000 */ lw $t2,0x0($t1) +/* f099478: 000a6f40 */ sll $t5,$t2,0x1d +/* f09947c: 05a3000e */ bgezl $t5,.PB0f0994b8 +/* f099480: 2403ffff */ li $v1,-1 +/* f099484: 920c0003 */ lbu $t4,0x3($s0) +/* f099488: afa30030 */ sw $v1,0x30($sp) +/* f09948c: 0fc2c532 */ jal 0xf0b14c8 +/* f099490: 032c2823 */ subu $a1,$t9,$t4 +/* f099494: 8c4e0000 */ lw $t6,0x0($v0) +/* f099498: 24010003 */ li $at,0x3 +/* f09949c: 8fa30030 */ lw $v1,0x30($sp) +/* f0994a0: 31cf00ff */ andi $t7,$t6,0xff +/* f0994a4: 11e10004 */ beq $t7,$at,.PB0f0994b8 +/* f0994a8: 00000000 */ nop +/* f0994ac: 10000002 */ b .PB0f0994b8 +/* f0994b0: 2403ffff */ li $v1,-1 +/* f0994b4: 2403ffff */ li $v1,-1 +.PB0f0994b8: +/* f0994b8: 04610005 */ bgez $v1,.PB0f0994d0 +/* f0994bc: 8fab0040 */ lw $t3,0x40($sp) +/* f0994c0: 92090690 */ lbu $t1,0x690($s0) +/* f0994c4: 352a0001 */ ori $t2,$t1,0x1 +/* f0994c8: 10000066 */ b .PB0f099664 +/* f0994cc: a20a0690 */ sb $t2,0x690($s0) +.PB0f0994d0: +/* f0994d0: 8d640000 */ lw $a0,0x0($t3) +/* f0994d4: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0994d8: 3c050400 */ lui $a1,0x400 +/* f0994dc: 50400006 */ beqzl $v0,.PB0f0994f8 +/* f0994e0: 920c0690 */ lbu $t4,0x690($s0) +/* f0994e4: 920d0003 */ lbu $t5,0x3($s0) +/* f0994e8: 24010001 */ li $at,0x1 +/* f0994ec: 55a1005e */ bnel $t5,$at,.PB0f099668 +/* f0994f0: 8fae0044 */ lw $t6,0x44($sp) +/* f0994f4: 920c0690 */ lbu $t4,0x690($s0) +.PB0f0994f8: +/* f0994f8: 24050007 */ li $a1,0x7 +/* f0994fc: 358e0002 */ ori $t6,$t4,0x2 +/* f099500: a20e0690 */ sb $t6,0x690($s0) +/* f099504: 0fc273c0 */ jal 0xf09cf00 +/* f099508: 8fa40044 */ lw $a0,0x44($sp) +/* f09950c: 50400056 */ beqzl $v0,.PB0f099668 +/* f099510: 8fae0044 */ lw $t6,0x44($sp) +/* f099514: 1000008a */ b .PB0f099740 +/* f099518: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f09951c: +/* f09951c: 5500001c */ bnezl $t0,.PB0f099590 +/* f099520: 8e0d000c */ lw $t5,0xc($s0) +/* f099524: 8e0f000c */ lw $t7,0xc($s0) +/* f099528: 8fb80040 */ lw $t8,0x40($sp) +/* f09952c: 24050001 */ li $a1,0x1 +/* f099530: 51e0000f */ beqzl $t7,.PB0f099570 +/* f099534: ae00001c */ sw $zero,0x1c($s0) +/* f099538: 8f090000 */ lw $t1,0x0($t8) +/* f09953c: 5120000c */ beqzl $t1,.PB0f099570 +/* f099540: ae00001c */ sw $zero,0x1c($s0) +/* f099544: 920a0690 */ lbu $t2,0x690($s0) +/* f099548: 24050003 */ li $a1,0x3 +/* f09954c: 314bff7f */ andi $t3,$t2,0xff7f +/* f099550: a20b0690 */ sb $t3,0x690($s0) +/* f099554: 0fc273c0 */ jal 0xf09cf00 +/* f099558: 8fa40044 */ lw $a0,0x44($sp) +/* f09955c: 50400042 */ beqzl $v0,.PB0f099668 +/* f099560: 8fae0044 */ lw $t6,0x44($sp) +/* f099564: 10000076 */ b .PB0f099740 +/* f099568: 8fa2004c */ lw $v0,0x4c($sp) +/* f09956c: ae00001c */ sw $zero,0x1c($s0) +.PB0f099570: +/* f099570: ae000018 */ sw $zero,0x18($s0) +/* f099574: 0fc273c0 */ jal 0xf09cf00 +/* f099578: 8fa40044 */ lw $a0,0x44($sp) +/* f09957c: 5040003a */ beqzl $v0,.PB0f099668 +/* f099580: 8fae0044 */ lw $t6,0x44($sp) +/* f099584: 1000006e */ b .PB0f099740 +/* f099588: 8fa2004c */ lw $v0,0x4c($sp) +/* f09958c: 8e0d000c */ lw $t5,0xc($s0) +.PB0f099590: +/* f099590: 8fb80040 */ lw $t8,0x40($sp) +/* f099594: 55a0000a */ bnezl $t5,.PB0f0995c0 +/* f099598: 8f090000 */ lw $t1,0x0($t8) +/* f09959c: 8e1906d4 */ lw $t9,0x6d4($s0) +/* f0995a0: 001976c0 */ sll $t6,$t9,0x1b +/* f0995a4: 05c3001c */ bgezl $t6,.PB0f099618 +/* f0995a8: 8e020024 */ lw $v0,0x24($s0) +/* f0995ac: 920f0003 */ lbu $t7,0x3($s0) +/* f0995b0: 24010001 */ li $at,0x1 +/* f0995b4: 55e10018 */ bnel $t7,$at,.PB0f099618 +/* f0995b8: 8e020024 */ lw $v0,0x24($s0) +/* f0995bc: 8f090000 */ lw $t1,0x0($t8) +.PB0f0995c0: +/* f0995c0: 3c0a800a */ lui $t2,0x800a +/* f0995c4: 51200014 */ beqzl $t1,.PB0f099618 +/* f0995c8: 8e020024 */ lw $v0,0x24($s0) +/* f0995cc: 8d4ae754 */ lw $t2,-0x18ac($t2) +/* f0995d0: 240b0001 */ li $t3,0x1 +/* f0995d4: 24050004 */ li $a1,0x4 +/* f0995d8: ad401600 */ sw $zero,0x1600($t2) +/* f0995dc: 920d06d7 */ lbu $t5,0x6d7($s0) +/* f0995e0: ae0b0020 */ sw $t3,0x20($s0) +/* f0995e4: ae000018 */ sw $zero,0x18($s0) +/* f0995e8: 31b9ffef */ andi $t9,$t5,0xffef +/* f0995ec: ae00001c */ sw $zero,0x1c($s0) +/* f0995f0: ae000014 */ sw $zero,0x14($s0) +/* f0995f4: a21906d7 */ sb $t9,0x6d7($s0) +/* f0995f8: afa80034 */ sw $t0,0x34($sp) +/* f0995fc: 0fc273c0 */ jal 0xf09cf00 +/* f099600: 8fa40044 */ lw $a0,0x44($sp) +/* f099604: 10400003 */ beqz $v0,.PB0f099614 +/* f099608: 8fa80034 */ lw $t0,0x34($sp) +/* f09960c: 1000004c */ b .PB0f099740 +/* f099610: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f099614: +/* f099614: 8e020024 */ lw $v0,0x24($s0) +.PB0f099618: +/* f099618: 24010009 */ li $at,0x9 +/* f09961c: 50400012 */ beqzl $v0,.PB0f099668 +/* f099620: 8fae0044 */ lw $t6,0x44($sp) +/* f099624: ae020020 */ sw $v0,0x20($s0) +/* f099628: ae00001c */ sw $zero,0x1c($s0) +/* f09962c: ae000018 */ sw $zero,0x18($s0) +/* f099630: 1441000c */ bne $v0,$at,.PB0f099664 +/* f099634: ae000024 */ sw $zero,0x24($s0) +/* f099638: 29010002 */ slti $at,$t0,0x2 +/* f09963c: 5020000a */ beqzl $at,.PB0f099668 +/* f099640: 8fae0044 */ lw $t6,0x44($sp) +/* f099644: 05000007 */ bltz $t0,.PB0f099664 +/* f099648: 8fa40044 */ lw $a0,0x44($sp) +/* f09964c: 0fc273c0 */ jal 0xf09cf00 +/* f099650: 24050001 */ li $a1,0x1 +/* f099654: 50400004 */ beqzl $v0,.PB0f099668 +/* f099658: 8fae0044 */ lw $t6,0x44($sp) +/* f09965c: 10000038 */ b .PB0f099740 +/* f099660: 8fa2004c */ lw $v0,0x4c($sp) +.PB0f099664: +/* f099664: 8fae0044 */ lw $t6,0x44($sp) +.PB0f099668: +/* f099668: 8faf0040 */ lw $t7,0x40($sp) +/* f09966c: 55c00034 */ bnezl $t6,.PB0f099740 +/* f099670: 00001025 */ move $v0,$zero +/* f099674: 8df80008 */ lw $t8,0x8($t7) +/* f099678: 8fb90044 */ lw $t9,0x44($sp) +/* f09967c: 3c0d800a */ lui $t5,0x800a +/* f099680: 8f090000 */ lw $t1,0x0($t8) +/* f099684: 00196100 */ sll $t4,$t9,0x4 +/* f099688: 01996023 */ subu $t4,$t4,$t9 +/* f09968c: 00095f40 */ sll $t3,$t1,0x1d +/* f099690: 05610005 */ bgez $t3,.PB0f0996a8 +/* f099694: 000c6080 */ sll $t4,$t4,0x2 +/* f099698: 0fc2881e */ jal 0xf0a2078 +/* f09969c: 00000000 */ nop +/* f0996a0: 10000027 */ b .PB0f099740 +/* f0996a4: 00001025 */ move $v0,$zero +.PB0f0996a8: +/* f0996a8: 01996021 */ addu $t4,$t4,$t9 +/* f0996ac: 8dade754 */ lw $t5,-0x18ac($t5) +/* f0996b0: 920e0690 */ lbu $t6,0x690($s0) +/* f0996b4: 000c60c0 */ sll $t4,$t4,0x3 +/* f0996b8: 01996021 */ addu $t4,$t4,$t9 +/* f0996bc: 000c6080 */ sll $t4,$t4,0x2 +/* f0996c0: 01ac1023 */ subu $v0,$t5,$t4 +/* f0996c4: 31cf0001 */ andi $t7,$t6,0x1 +/* f0996c8: 15e00004 */ bnez $t7,.PB0f0996dc +/* f0996cc: 24420ddc */ addiu $v0,$v0,0xddc +/* f0996d0: 82180008 */ lb $t8,0x8($s0) +/* f0996d4: 57000012 */ bnezl $t8,.PB0f099720 +/* f0996d8: 904c0690 */ lbu $t4,0x690($v0) +.PB0f0996dc: +/* f0996dc: 90490690 */ lbu $t1,0x690($v0) +/* f0996e0: 312a0001 */ andi $t2,$t1,0x1 +/* f0996e4: 55400005 */ bnezl $t2,.PB0f0996fc +/* f0996e8: 8e19000c */ lw $t9,0xc($s0) +/* f0996ec: 804b0008 */ lb $t3,0x8($v0) +/* f0996f0: 5560000b */ bnezl $t3,.PB0f099720 +/* f0996f4: 904c0690 */ lbu $t4,0x690($v0) +/* f0996f8: 8e19000c */ lw $t9,0xc($s0) +.PB0f0996fc: +/* f0996fc: 17200004 */ bnez $t9,.PB0f099710 +/* f099700: 00000000 */ nop +/* f099704: 8c4d000c */ lw $t5,0xc($v0) +/* f099708: 51a00005 */ beqzl $t5,.PB0f099720 +/* f09970c: 904c0690 */ lbu $t4,0x690($v0) +.PB0f099710: +/* f099710: 0fc2881e */ jal 0xf0a2078 +/* f099714: afa20024 */ sw $v0,0x24($sp) +/* f099718: 8fa20024 */ lw $v0,0x24($sp) +/* f09971c: 904c0690 */ lbu $t4,0x690($v0) +.PB0f099720: +/* f099720: 3198fffe */ andi $t8,$t4,0xfffe +/* f099724: a0580690 */ sb $t8,0x690($v0) +/* f099728: 920a0690 */ lbu $t2,0x690($s0) +/* f09972c: 33090001 */ andi $t1,$t8,0x1 +/* f099730: 314bfffe */ andi $t3,$t2,0xfffe +/* f099734: 012bc825 */ or $t9,$t1,$t3 +/* f099738: a2190690 */ sb $t9,0x690($s0) +/* f09973c: 00001025 */ move $v0,$zero +.PB0f099740: +/* f099740: 8fbf001c */ lw $ra,0x1c($sp) +/* f099744: 8fb00018 */ lw $s0,0x18($sp) +/* f099748: 27bd0040 */ addiu $sp,$sp,0x40 +/* f09974c: 03e00008 */ jr $ra +/* f099750: 00000000 */ nop +); #else GLOBAL_ASM( glabel bgunTickIncIdle @@ -3391,7 +3780,7 @@ s32 bgunTickIncAutoSwitch(struct handweaponinfo *info, s32 handnum, struct hand if (hand->stateminor == 1) { hand->lastdirvalid = false; -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA hand->animframeincfreal = hand->animframeinc; #endif hand->shotremainder = 0; @@ -6982,7 +7371,7 @@ bool bgun0f09aba4(struct hand *hand, struct handweaponinfo *info, s32 handnum, s f32 mult2; u32 stack; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA unk24 = func->unk24; unk25 = func->unk25; unk26 = func->unk26; @@ -8465,6 +8854,73 @@ glabel var7f1ad810pf /* f09d138: 03e00008 */ jr $ra /* f09d13c: 27bd0040 */ addiu $sp,$sp,0x40 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgunTick +.late_rodata +glabel var7f1ad810pf +.word 0x3f99999a +.text +/* f09cfac: 00047900 */ sll $t7,$a0,0x4 +/* f09cfb0: 01e47823 */ subu $t7,$t7,$a0 +/* f09cfb4: 000f7880 */ sll $t7,$t7,0x2 +/* f09cfb8: 27bdffc0 */ addiu $sp,$sp,-64 +/* f09cfbc: 01e47821 */ addu $t7,$t7,$a0 +/* f09cfc0: 3c0e800a */ lui $t6,0x800a +/* f09cfc4: 8dcee754 */ lw $t6,-0x18ac($t6) +/* f09cfc8: 000f78c0 */ sll $t7,$t7,0x3 +/* f09cfcc: 01e47821 */ addu $t7,$t7,$a0 +/* f09cfd0: 000f7880 */ sll $t7,$t7,0x2 +/* f09cfd4: afb30020 */ sw $s3,0x20($sp) +/* f09cfd8: afb2001c */ sw $s2,0x1c($sp) +/* f09cfdc: 01cf1821 */ addu $v1,$t6,$t7 +/* f09cfe0: 00809025 */ move $s2,$a0 +/* f09cfe4: afbf0024 */ sw $ra,0x24($sp) +/* f09cfe8: afb10018 */ sw $s1,0x18($sp) +/* f09cfec: 24630638 */ addiu $v1,$v1,0x638 +/* f09cff0: 27b30030 */ addiu $s3,$sp,0x30 +/* f09cff4: afb00014 */ sw $s0,0x14($sp) +/* f09cff8: 24110014 */ li $s1,0x14 +/* f09cffc: 02602025 */ move $a0,$s3 +/* f09d000: afa3003c */ sw $v1,0x3c($sp) +/* f09d004: 0fc26307 */ jal 0xf098c1c +/* f09d008: 02402825 */ move $a1,$s2 +/* f09d00c: 8fa3003c */ lw $v1,0x3c($sp) +/* f09d010: 3c02800a */ lui $v0,0x800a +/* f09d014: 8c50e508 */ lw $s0,-0x1af8($v0) +/* f09d018: 24640384 */ addiu $a0,$v1,0x384 +/* f09d01c: 0c007746 */ jal 0x1dd18 +/* f09d020: ac700684 */ sw $s0,0x684($v1) +/* f09d024: 8fa3003c */ lw $v1,0x3c($sp) +/* f09d028: 3c017f1b */ lui $at,0x7f1b +/* f09d02c: c428e260 */ lwc1 $f8,-0x1da0($at) +/* f09d030: 8c780684 */ lw $t8,0x684($v1) +/* f09d034: 44982000 */ mtc1 $t8,$f4 +/* f09d038: 00000000 */ nop +/* f09d03c: 468021a0 */ cvt.s.w $f6,$f4 +/* f09d040: 46083282 */ mul.s $f10,$f6,$f8 +/* f09d044: 00000000 */ nop +/* f09d048: 460a0402 */ mul.s $f16,$f0,$f10 +/* f09d04c: e4700688 */ swc1 $f16,0x688($v1) +/* f09d050: 02602025 */ move $a0,$s3 +.PB0f09d054: +/* f09d054: 02402825 */ move $a1,$s2 +/* f09d058: 0fc27351 */ jal 0xf09cd44 +/* f09d05c: 02003025 */ move $a2,$s0 +/* f09d060: 00408025 */ move $s0,$v0 +/* f09d064: 18400003 */ blez $v0,.PB0f09d074 +/* f09d068: 2631ffff */ addiu $s1,$s1,-1 +/* f09d06c: 0623fff9 */ bgezl $s1,.PB0f09d054 +/* f09d070: 02602025 */ move $a0,$s3 +.PB0f09d074: +/* f09d074: 8fbf0024 */ lw $ra,0x24($sp) +/* f09d078: 8fb00014 */ lw $s0,0x14($sp) +/* f09d07c: 8fb10018 */ lw $s1,0x18($sp) +/* f09d080: 8fb2001c */ lw $s2,0x1c($sp) +/* f09d084: 8fb30020 */ lw $s3,0x20($sp) +/* f09d088: 03e00008 */ jr $ra +/* f09d08c: 27bd0040 */ addiu $sp,$sp,0x40 +); #else void bgunTick(s32 handnum) { @@ -8638,7 +9094,7 @@ void bgunCalculateBlend(s32 handnum) player->hands[handnum].blendscale1 = -player->hands[handnum].blendscale1; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel bgun0f09d550 .late_rodata @@ -10890,7 +11346,7 @@ void bgun0f09ea90(void) bool bgun0f09eae4(void) { // PAL adds a check for the eyespy being used -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA if ((g_Vars.currentplayer->devicesactive & ~g_Vars.currentplayer->devicesinhibit & DEVICE_EYESPY)) { g_Vars.currentplayer->gunctrl.unk1583_06 = false; return false; @@ -12832,6 +13288,641 @@ glabel var7f1ac740 /* f0a06b0: 03e00008 */ jr $ra /* f0a06b4: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgunCreateFiredProjectile +.late_rodata +glabel var7f1ac730 +.word 0x3fd55555 +glabel var7f1ac734 +.word 0x3e32b179 +glabel var7f1ac738 +.word 0xbe32b179 +glabel var7f1ac73c +.word 0x3e32b179 +glabel var7f1ac740 +.word 0x3fd55555 +.text +/* f09fcd8: 3c02800a */ lui $v0,0x800a +/* f09fcdc: 00042900 */ sll $a1,$a0,0x4 +/* f09fce0: 8c42e754 */ lw $v0,-0x18ac($v0) +/* f09fce4: 00a42823 */ subu $a1,$a1,$a0 +/* f09fce8: 27bdfd48 */ addiu $sp,$sp,-696 +/* f09fcec: 00052880 */ sll $a1,$a1,0x2 +/* f09fcf0: 00a42821 */ addu $a1,$a1,$a0 +/* f09fcf4: afbf004c */ sw $ra,0x4c($sp) +/* f09fcf8: afb00048 */ sw $s0,0x48($sp) +/* f09fcfc: 000528c0 */ sll $a1,$a1,0x3 +/* f09fd00: 8c4e00bc */ lw $t6,0xbc($v0) +/* f09fd04: 00a42821 */ addu $a1,$a1,$a0 +/* f09fd08: 00052880 */ sll $a1,$a1,0x2 +/* f09fd0c: 00451821 */ addu $v1,$v0,$a1 +/* f09fd10: 244f0310 */ addiu $t7,$v0,0x310 +/* f09fd14: 24581c44 */ addiu $t8,$v0,0x1c44 +/* f09fd18: 00808025 */ move $s0,$a0 +/* f09fd1c: afaf01f0 */ sw $t7,0x1f0($sp) +/* f09fd20: afb801ec */ sw $t8,0x1ec($sp) +/* f09fd24: afae01f4 */ sw $t6,0x1f4($sp) +/* f09fd28: 24630638 */ addiu $v1,$v1,0x638 +/* f09fd2c: 90640000 */ lbu $a0,0x0($v1) +/* f09fd30: afa50058 */ sw $a1,0x58($sp) +/* f09fd34: 0fc2c4f8 */ jal 0xf0b13e0 +/* f09fd38: afa302b0 */ sw $v1,0x2b0($sp) +/* f09fd3c: 1040022d */ beqz $v0,.PB0f0a05f4 +/* f09fd40: 8fb902b0 */ lw $t9,0x2b0($sp) +/* f09fd44: 93280003 */ lbu $t0,0x3($t9) +/* f09fd48: 00084880 */ sll $t1,$t0,0x2 +/* f09fd4c: 00495021 */ addu $t2,$v0,$t1 +/* f09fd50: 8d430014 */ lw $v1,0x14($t2) +/* f09fd54: 50600228 */ beqzl $v1,.PB0f0a05f8 +/* f09fd58: 8fbf004c */ lw $ra,0x4c($sp) +/* f09fd5c: 8c6b0000 */ lw $t3,0x0($v1) +/* f09fd60: 24010201 */ li $at,0x201 +/* f09fd64: 27a40270 */ addiu $a0,$sp,0x270 +/* f09fd68: 55610223 */ bnel $t3,$at,.PB0f0a05f8 +/* f09fd6c: 8fbf004c */ lw $ra,0x4c($sp) +/* f09fd70: 0c005900 */ jal 0x16400 +/* f09fd74: afa301d8 */ sw $v1,0x1d8($sp) +/* f09fd78: 27a40204 */ addiu $a0,$sp,0x204 +/* f09fd7c: 27a501f8 */ addiu $a1,$sp,0x1f8 +/* f09fd80: 02003025 */ move $a2,$s0 +/* f09fd84: 0fc283c9 */ jal 0xf0a0f24 +/* f09fd88: 24070001 */ li $a3,0x1 +/* f09fd8c: 0fc2d6e2 */ jal 0xf0b5b88 +/* f09fd90: 00000000 */ nop +/* f09fd94: 00402025 */ move $a0,$v0 +/* f09fd98: 0c005958 */ jal 0x16560 +/* f09fd9c: 27a501f8 */ addiu $a1,$sp,0x1f8 +/* f09fda0: 8fa402b0 */ lw $a0,0x2b0($sp) +/* f09fda4: 24010019 */ li $at,0x19 +/* f09fda8: c4840374 */ lwc1 $f4,0x374($a0) +/* f09fdac: e7a401e0 */ swc1 $f4,0x1e0($sp) +/* f09fdb0: c4860378 */ lwc1 $f6,0x378($a0) +/* f09fdb4: e7a601e4 */ swc1 $f6,0x1e4($sp) +/* f09fdb8: c488037c */ lwc1 $f8,0x37c($a0) +/* f09fdbc: e7a801e8 */ swc1 $f8,0x1e8($sp) +/* f09fdc0: 908c0000 */ lbu $t4,0x0($a0) +/* f09fdc4: 55810016 */ bnel $t4,$at,.PB0f09fe20 +/* f09fdc8: 8fa201d8 */ lw $v0,0x1d8($sp) +/* f09fdcc: 908d0003 */ lbu $t5,0x3($a0) +/* f09fdd0: 24010001 */ li $at,0x1 +/* f09fdd4: c7aa01e0 */ lwc1 $f10,0x1e0($sp) +/* f09fdd8: 15a10010 */ bne $t5,$at,.PB0f09fe1c +/* f09fddc: c7b001f8 */ lwc1 $f16,0x1f8($sp) +/* f09fde0: 3c014248 */ lui $at,0x4248 +/* f09fde4: 44810000 */ mtc1 $at,$f0 +/* f09fde8: c7a801fc */ lwc1 $f8,0x1fc($sp) +/* f09fdec: c7a601e4 */ lwc1 $f6,0x1e4($sp) +/* f09fdf0: 46100482 */ mul.s $f18,$f0,$f16 +/* f09fdf4: 46125100 */ add.s $f4,$f10,$f18 +/* f09fdf8: 46080402 */ mul.s $f16,$f0,$f8 +/* f09fdfc: c7b201e8 */ lwc1 $f18,0x1e8($sp) +/* f09fe00: e7a401e0 */ swc1 $f4,0x1e0($sp) +/* f09fe04: c7a40200 */ lwc1 $f4,0x200($sp) +/* f09fe08: 46040202 */ mul.s $f8,$f0,$f4 +/* f09fe0c: 46103280 */ add.s $f10,$f6,$f16 +/* f09fe10: e7aa01e4 */ swc1 $f10,0x1e4($sp) +/* f09fe14: 46089180 */ add.s $f6,$f18,$f8 +/* f09fe18: e7a601e8 */ swc1 $f6,0x1e8($sp) +.PB0f09fe1c: +/* f09fe1c: 8fa201d8 */ lw $v0,0x1d8($sp) +.PB0f09fe20: +/* f09fe20: 3c017f1b */ lui $at,0x7f1b +/* f09fe24: c420e380 */ lwc1 $f0,-0x1c80($at) +/* f09fe28: 8c4e004c */ lw $t6,0x4c($v0) +/* f09fe2c: 3c014270 */ lui $at,0x4270 +/* f09fe30: 44819000 */ mtc1 $at,$f18 +/* f09fe34: 448e8000 */ mtc1 $t6,$f16 +/* f09fe38: 3c050080 */ lui $a1,0x80 +/* f09fe3c: 468082a0 */ cvt.s.w $f10,$f16 +/* f09fe40: 46005102 */ mul.s $f4,$f10,$f0 +/* f09fe44: 46122203 */ div.s $f8,$f4,$f18 +/* f09fe48: e7a80260 */ swc1 $f8,0x260($sp) +/* f09fe4c: 8c4f0054 */ lw $t7,0x54($v0) +/* f09fe50: 448f3000 */ mtc1 $t7,$f6 +/* f09fe54: 00000000 */ nop +/* f09fe58: 46803420 */ cvt.s.w $f16,$f6 +/* f09fe5c: 46008282 */ mul.s $f10,$f16,$f0 +/* f09fe60: 0fc2c8ae */ jal 0xf0b22b8 +/* f09fe64: e7aa025c */ swc1 $f10,0x25c($sp) +/* f09fe68: 1040007a */ beqz $v0,.PB0f0a0054 +/* f09fe6c: 00002025 */ move $a0,$zero +/* f09fe70: 00002825 */ move $a1,$zero +/* f09fe74: 0fc187c1 */ jal 0xf061f04 +/* f09fe78: 00003025 */ move $a2,$zero +/* f09fe7c: 8fa302b0 */ lw $v1,0x2b0($sp) +/* f09fe80: 8c7806b4 */ lw $t8,0x6b4($v1) +/* f09fe84: 53000074 */ beqzl $t8,.PB0f0a0058 +/* f09fe88: c7ac0260 */ lwc1 $f12,0x260($sp) +/* f09fe8c: c46406b8 */ lwc1 $f4,0x6b8($v1) +/* f09fe90: 27a401e0 */ addiu $a0,$sp,0x1e0 +/* f09fe94: 8fa5025c */ lw $a1,0x25c($sp) +/* f09fe98: e7a401c8 */ swc1 $f4,0x1c8($sp) +/* f09fe9c: c47206bc */ lwc1 $f18,0x6bc($v1) +/* f09fea0: 27a601c8 */ addiu $a2,$sp,0x1c8 +/* f09fea4: 27a701bc */ addiu $a3,$sp,0x1bc +/* f09fea8: e7b201cc */ swc1 $f18,0x1cc($sp) +/* f09feac: c46806c0 */ lwc1 $f8,0x6c0($v1) +/* f09feb0: 0fc1010b */ jal 0xf04042c +/* f09feb4: e7a801d0 */ swc1 $f8,0x1d0($sp) +/* f09feb8: c7a601f8 */ lwc1 $f6,0x1f8($sp) +/* f09febc: c7b001bc */ lwc1 $f16,0x1bc($sp) +/* f09fec0: c7a401fc */ lwc1 $f4,0x1fc($sp) +/* f09fec4: c7b201c0 */ lwc1 $f18,0x1c0($sp) +/* f09fec8: 46103282 */ mul.s $f10,$f6,$f16 +/* f09fecc: c7b001c4 */ lwc1 $f16,0x1c4($sp) +/* f09fed0: 46122202 */ mul.s $f8,$f4,$f18 +/* f09fed4: c7a40200 */ lwc1 $f4,0x200($sp) +/* f09fed8: 46048482 */ mul.s $f18,$f16,$f4 +/* f09fedc: 46085180 */ add.s $f6,$f10,$f8 +/* f09fee0: 0fc25a10 */ jal 0xf096840 +/* f09fee4: 46069300 */ add.s $f12,$f18,$f6 +/* f09fee8: 3c017f1b */ lui $at,0x7f1b +/* f09feec: c42ae384 */ lwc1 $f10,-0x1c7c($at) +/* f09fef0: 27b00174 */ addiu $s0,$sp,0x174 +/* f09fef4: e7a001b4 */ swc1 $f0,0x1b4($sp) +/* f09fef8: 4600503c */ c.lt.s $f10,$f0 +/* f09fefc: 3c017f1b */ lui $at,0x7f1b +/* f09ff00: 02002025 */ move $a0,$s0 +/* f09ff04: c7b001f8 */ lwc1 $f16,0x1f8($sp) +/* f09ff08: 45030008 */ bc1tl .PB0f09ff2c +/* f09ff0c: 44801000 */ mtc1 $zero,$f2 +/* f09ff10: c428e388 */ lwc1 $f8,-0x1c78($at) +/* f09ff14: c7aa01bc */ lwc1 $f10,0x1bc($sp) +/* f09ff18: 4608003c */ c.lt.s $f0,$f8 +/* f09ff1c: 00000000 */ nop +/* f09ff20: 45020048 */ bc1fl .PB0f0a0044 +/* f09ff24: c7a801c0 */ lwc1 $f8,0x1c0($sp) +/* f09ff28: 44801000 */ mtc1 $zero,$f2 +.PB0f09ff2c: +/* f09ff2c: 3c013f80 */ lui $at,0x3f80 +/* f09ff30: 44813000 */ mtc1 $at,$f6 +/* f09ff34: c7a401fc */ lwc1 $f4,0x1fc($sp) +/* f09ff38: c7b20200 */ lwc1 $f18,0x200($sp) +/* f09ff3c: 44051000 */ mfc1 $a1,$f2 +/* f09ff40: 44061000 */ mfc1 $a2,$f2 +/* f09ff44: 44071000 */ mfc1 $a3,$f2 +/* f09ff48: e7b00010 */ swc1 $f16,0x10($sp) +/* f09ff4c: e7a2001c */ swc1 $f2,0x1c($sp) +/* f09ff50: e7a20024 */ swc1 $f2,0x24($sp) +/* f09ff54: e7a40014 */ swc1 $f4,0x14($sp) +/* f09ff58: e7a60020 */ swc1 $f6,0x20($sp) +/* f09ff5c: 0c005d6a */ jal 0x175a8 +/* f09ff60: e7b20018 */ swc1 $f18,0x18($sp) +/* f09ff64: 44801000 */ mtc1 $zero,$f2 +/* f09ff68: 3c013f80 */ lui $at,0x3f80 +/* f09ff6c: 44812000 */ mtc1 $at,$f4 +/* f09ff70: c7aa01bc */ lwc1 $f10,0x1bc($sp) +/* f09ff74: c7a801c0 */ lwc1 $f8,0x1c0($sp) +/* f09ff78: c7b001c4 */ lwc1 $f16,0x1c4($sp) +/* f09ff7c: 44051000 */ mfc1 $a1,$f2 +/* f09ff80: 44061000 */ mfc1 $a2,$f2 +/* f09ff84: 44071000 */ mfc1 $a3,$f2 +/* f09ff88: 27a40134 */ addiu $a0,$sp,0x134 +/* f09ff8c: e7a2001c */ swc1 $f2,0x1c($sp) +/* f09ff90: e7a20024 */ swc1 $f2,0x24($sp) +/* f09ff94: e7aa0010 */ swc1 $f10,0x10($sp) +/* f09ff98: e7a40020 */ swc1 $f4,0x20($sp) +/* f09ff9c: e7a80014 */ swc1 $f8,0x14($sp) +/* f09ffa0: 0c005d6a */ jal 0x175a8 +/* f09ffa4: e7b00018 */ swc1 $f16,0x18($sp) +/* f09ffa8: 02002025 */ move $a0,$s0 +/* f09ffac: 0fc25bad */ jal 0xf096eb4 +/* f09ffb0: 27a500e4 */ addiu $a1,$sp,0xe4 +/* f09ffb4: 27b000d4 */ addiu $s0,$sp,0xd4 +/* f09ffb8: 02002825 */ move $a1,$s0 +/* f09ffbc: 0fc25bad */ jal 0xf096eb4 +/* f09ffc0: 27a40134 */ addiu $a0,$sp,0x134 +/* f09ffc4: 27a400e4 */ addiu $a0,$sp,0xe4 +/* f09ffc8: 0fc25d4c */ jal 0xf097530 +/* f09ffcc: 02002825 */ move $a1,$s0 +/* f09ffd0: 3c017f1b */ lui $at,0x7f1b +/* f09ffd4: c432e38c */ lwc1 $f18,-0x1c74($at) +/* f09ffd8: c7a601b4 */ lwc1 $f6,0x1b4($sp) +/* f09ffdc: 44801000 */ mtc1 $zero,$f2 +/* f09ffe0: 27a400e4 */ addiu $a0,$sp,0xe4 +/* f09ffe4: 46069003 */ div.s $f0,$f18,$f6 +/* f09ffe8: 02002825 */ move $a1,$s0 +/* f09ffec: 4602003c */ c.lt.s $f0,$f2 +/* f09fff0: 46000306 */ mov.s $f12,$f0 +/* f09fff4: 45020003 */ bc1fl .PB0f0a0004 +/* f09fff8: 44066000 */ mfc1 $a2,$f12 +/* f09fffc: 46000307 */ neg.s $f12,$f0 +/* f0a0000: 44066000 */ mfc1 $a2,$f12 +.PB0f0a0004: +/* f0a0004: 0fc25c4a */ jal 0xf097128 +/* f0a0008: 27a700c4 */ addiu $a3,$sp,0xc4 +/* f0a000c: 27a400c4 */ addiu $a0,$sp,0xc4 +/* f0a0010: 0fc25b51 */ jal 0xf096d44 +/* f0a0014: 27a500f4 */ addiu $a1,$sp,0xf4 +/* f0a0018: c7aa0114 */ lwc1 $f10,0x114($sp) +/* f0a001c: c7b00118 */ lwc1 $f16,0x118($sp) +/* f0a0020: c7b2011c */ lwc1 $f18,0x11c($sp) +/* f0a0024: 46005207 */ neg.s $f8,$f10 +/* f0a0028: 46008107 */ neg.s $f4,$f16 +/* f0a002c: 46009187 */ neg.s $f6,$f18 +/* f0a0030: e7a801f8 */ swc1 $f8,0x1f8($sp) +/* f0a0034: e7a401fc */ swc1 $f4,0x1fc($sp) +/* f0a0038: 10000006 */ b .PB0f0a0054 +/* f0a003c: e7a60200 */ swc1 $f6,0x200($sp) +/* f0a0040: c7a801c0 */ lwc1 $f8,0x1c0($sp) +.PB0f0a0044: +/* f0a0044: c7b001c4 */ lwc1 $f16,0x1c4($sp) +/* f0a0048: e7aa01f8 */ swc1 $f10,0x1f8($sp) +/* f0a004c: e7a801fc */ swc1 $f8,0x1fc($sp) +/* f0a0050: e7b00200 */ swc1 $f16,0x200($sp) +.PB0f0a0054: +/* f0a0054: c7ac0260 */ lwc1 $f12,0x260($sp) +.PB0f0a0058: +/* f0a0058: c7a401f8 */ lwc1 $f4,0x1f8($sp) +/* f0a005c: c7a601fc */ lwc1 $f6,0x1fc($sp) +/* f0a0060: c7a80200 */ lwc1 $f8,0x200($sp) +/* f0a0064: 460c2482 */ mul.s $f18,$f4,$f12 +/* f0a0068: c7ae025c */ lwc1 $f14,0x25c($sp) +/* f0a006c: 3c02800a */ lui $v0,0x800a +/* f0a0070: 460c3282 */ mul.s $f10,$f6,$f12 +/* f0a0074: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f0a0078: c440004c */ lwc1 $f0,0x4c($v0) +/* f0a007c: 460c4402 */ mul.s $f16,$f8,$f12 +/* f0a0080: e7b20250 */ swc1 $f18,0x250($sp) +/* f0a0084: 8fb901d8 */ lw $t9,0x1d8($sp) +/* f0a0088: 460e2102 */ mul.s $f4,$f4,$f14 +/* f0a008c: e7aa0254 */ swc1 $f10,0x254($sp) +/* f0a0090: 46009482 */ mul.s $f18,$f18,$f0 +/* f0a0094: e7b00258 */ swc1 $f16,0x258($sp) +/* f0a0098: 46122100 */ add.s $f4,$f4,$f18 +/* f0a009c: 460e3482 */ mul.s $f18,$f6,$f14 +/* f0a00a0: 00000000 */ nop +/* f0a00a4: 46005182 */ mul.s $f6,$f10,$f0 +/* f0a00a8: e7a40264 */ swc1 $f4,0x264($sp) +/* f0a00ac: 46069280 */ add.s $f10,$f18,$f6 +/* f0a00b0: 460e4482 */ mul.s $f18,$f8,$f14 +/* f0a00b4: 00000000 */ nop +/* f0a00b8: 46008182 */ mul.s $f6,$f16,$f0 +/* f0a00bc: e7aa0268 */ swc1 $f10,0x268($sp) +/* f0a00c0: 46069280 */ add.s $f10,$f18,$f6 +/* f0a00c4: e7aa026c */ swc1 $f10,0x26c($sp) +/* f0a00c8: 8f280010 */ lw $t0,0x10($t9) +/* f0a00cc: 31090800 */ andi $t1,$t0,0x800 +/* f0a00d0: 15200021 */ bnez $t1,.PB0f0a0158 +/* f0a00d4: 00000000 */ nop +/* f0a00d8: 8c4a0034 */ lw $t2,0x34($v0) +/* f0a00dc: 8fa401f4 */ lw $a0,0x1f4($sp) +/* f0a00e0: 8fa501f0 */ lw $a1,0x1f0($sp) +/* f0a00e4: 5940001d */ blezl $t2,.PB0f0a015c +/* f0a00e8: 8c4b0284 */ lw $t3,0x284($v0) +/* f0a00ec: c4880008 */ lwc1 $f8,0x8($a0) +/* f0a00f0: c4b00000 */ lwc1 $f16,0x0($a1) +/* f0a00f4: 8fa601ec */ lw $a2,0x1ec($sp) +/* f0a00f8: 46104481 */ sub.s $f18,$f8,$f16 +/* f0a00fc: c4c60000 */ lwc1 $f6,0x0($a2) +/* f0a0100: 46069280 */ add.s $f10,$f18,$f6 +/* f0a0104: 46005203 */ div.s $f8,$f10,$f0 +/* f0a0108: 46082400 */ add.s $f16,$f4,$f8 +/* f0a010c: e7b00264 */ swc1 $f16,0x264($sp) +/* f0a0110: c4a60004 */ lwc1 $f6,0x4($a1) +/* f0a0114: c492000c */ lwc1 $f18,0xc($a0) +/* f0a0118: c4c40004 */ lwc1 $f4,0x4($a2) +/* f0a011c: 46069281 */ sub.s $f10,$f18,$f6 +/* f0a0120: c7b20268 */ lwc1 $f18,0x268($sp) +/* f0a0124: 46045200 */ add.s $f8,$f10,$f4 +/* f0a0128: 46004403 */ div.s $f16,$f8,$f0 +/* f0a012c: 46109180 */ add.s $f6,$f18,$f16 +/* f0a0130: e7a60268 */ swc1 $f6,0x268($sp) +/* f0a0134: c4a40008 */ lwc1 $f4,0x8($a1) +/* f0a0138: c48a0010 */ lwc1 $f10,0x10($a0) +/* f0a013c: c4d20008 */ lwc1 $f18,0x8($a2) +/* f0a0140: 46045201 */ sub.s $f8,$f10,$f4 +/* f0a0144: c7aa026c */ lwc1 $f10,0x26c($sp) +/* f0a0148: 46124400 */ add.s $f16,$f8,$f18 +/* f0a014c: 46008183 */ div.s $f6,$f16,$f0 +/* f0a0150: 46065100 */ add.s $f4,$f10,$f6 +/* f0a0154: e7a4026c */ swc1 $f4,0x26c($sp) +.PB0f0a0158: +/* f0a0158: 8c4b0284 */ lw $t3,0x284($v0) +.PB0f0a015c: +/* f0a015c: 8fac0058 */ lw $t4,0x58($sp) +/* f0a0160: 27a50210 */ addiu $a1,$sp,0x210 +/* f0a0164: 016c2021 */ addu $a0,$t3,$t4 +/* f0a0168: 0c0059da */ jal 0x16768 +/* f0a016c: 2484092c */ addiu $a0,$a0,0x92c +/* f0a0170: 44801000 */ mtc1 $zero,$f2 +/* f0a0174: 8fa702b0 */ lw $a3,0x2b0($sp) +/* f0a0178: 240d0001 */ li $t5,0x1 +/* f0a017c: e7a20240 */ swc1 $f2,0x240($sp) +/* f0a0180: e7a20244 */ swc1 $f2,0x244($sp) +/* f0a0184: e7a20248 */ swc1 $f2,0x248($sp) +/* f0a0188: 8ce20218 */ lw $v0,0x218($a3) +/* f0a018c: 3c01fdff */ lui $at,0xfdff +/* f0a0190: 50400015 */ beqzl $v0,.PB0f0a01e8 +/* f0a0194: 90e20000 */ lbu $v0,0x0($a3) +/* f0a0198: aced021c */ sw $t5,0x21c($a3) +/* f0a019c: 8c4e000c */ lw $t6,0xc($v0) +/* f0a01a0: 3421ffff */ ori $at,$at,0xffff +/* f0a01a4: 8c580008 */ lw $t8,0x8($v0) +/* f0a01a8: 01c17824 */ and $t7,$t6,$at +/* f0a01ac: 3c01ff7f */ lui $at,0xff7f +/* f0a01b0: 3421ffff */ ori $at,$at,0xffff +/* f0a01b4: 0301c824 */ and $t9,$t8,$at +/* f0a01b8: ac4f000c */ sw $t7,0xc($v0) +/* f0a01bc: ac590008 */ sw $t9,0x8($v0) +/* f0a01c0: 8fa801d8 */ lw $t0,0x1d8($sp) +/* f0a01c4: 00408025 */ move $s0,$v0 +/* f0a01c8: 240b0054 */ li $t3,0x54 +/* f0a01cc: 8d090010 */ lw $t1,0x10($t0) +/* f0a01d0: 00095040 */ sll $t2,$t1,0x1 +/* f0a01d4: 05410051 */ bgez $t2,.PB0f0a031c +/* f0a01d8: 00000000 */ nop +/* f0a01dc: 1000004f */ b .PB0f0a031c +/* f0a01e0: a04b005c */ sb $t3,0x5c($v0) +/* f0a01e4: 90e20000 */ lbu $v0,0x0($a3) +.PB0f0a01e8: +/* f0a01e8: 24010018 */ li $at,0x18 +/* f0a01ec: 8fac01d8 */ lw $t4,0x1d8($sp) +/* f0a01f0: 10410004 */ beq $v0,$at,.PB0f0a0204 +/* f0a01f4: 3c18800a */ lui $t8,0x800a +/* f0a01f8: 24010019 */ li $at,0x19 +/* f0a01fc: 54410010 */ bnel $v0,$at,.PB0f0a0240 +/* f0a0200: 2401001b */ li $at,0x1b +.PB0f0a0204: +/* f0a0204: 8d8d0010 */ lw $t5,0x10($t4) +/* f0a0208: 24050053 */ li $a1,0x53 +/* f0a020c: 000d7040 */ sll $t6,$t5,0x1 +/* f0a0210: 05c10002 */ bgez $t6,.PB0f0a021c +/* f0a0214: 00000000 */ nop +/* f0a0218: 24050054 */ li $a1,0x54 +.PB0f0a021c: +/* f0a021c: 8f18e754 */ lw $t8,-0x18ac($t8) +/* f0a0220: 8faf01d8 */ lw $t7,0x1d8($sp) +/* f0a0224: 8f1900bc */ lw $t9,0xbc($t8) +/* f0a0228: 8de40040 */ lw $a0,0x40($t7) +/* f0a022c: 0fc22dbf */ jal 0xf08b6fc +/* f0a0230: 8f260004 */ lw $a2,0x4($t9) +/* f0a0234: 10000039 */ b .PB0f0a031c +/* f0a0238: 00408025 */ move $s0,$v0 +/* f0a023c: 2401001b */ li $at,0x1b +.PB0f0a0240: +/* f0a0240: 1441000e */ bne $v0,$at,.PB0f0a027c +/* f0a0244: 3c09800a */ lui $t1,0x800a +/* f0a0248: 8d29e754 */ lw $t1,-0x18ac($t1) +/* f0a024c: 8fa801d8 */ lw $t0,0x1d8($sp) +/* f0a0250: 24050056 */ li $a1,0x56 +/* f0a0254: 8d2a00bc */ lw $t2,0xbc($t1) +/* f0a0258: 8d040040 */ lw $a0,0x40($t0) +/* f0a025c: 0fc22dbf */ jal 0xf08b6fc +/* f0a0260: 8d460004 */ lw $a2,0x4($t2) +/* f0a0264: 1040002d */ beqz $v0,.PB0f0a031c +/* f0a0268: 00408025 */ move $s0,$v0 +/* f0a026c: 8fab02b0 */ lw $t3,0x2b0($sp) +/* f0a0270: 916c0003 */ lbu $t4,0x3($t3) +/* f0a0274: 10000029 */ b .PB0f0a031c +/* f0a0278: a04c005f */ sb $t4,0x5f($v0) +.PB0f0a027c: +/* f0a027c: 24010017 */ li $at,0x17 +/* f0a0280: 1441000e */ bne $v0,$at,.PB0f0a02bc +/* f0a0284: 3c0e800a */ lui $t6,0x800a +/* f0a0288: 8dcee754 */ lw $t6,-0x18ac($t6) +/* f0a028c: 8fad01d8 */ lw $t5,0x1d8($sp) +/* f0a0290: 24050055 */ li $a1,0x55 +/* f0a0294: 8dcf00bc */ lw $t7,0xbc($t6) +/* f0a0298: 8da40040 */ lw $a0,0x40($t5) +/* f0a029c: 0fc22dbf */ jal 0xf08b6fc +/* f0a02a0: 8de60004 */ lw $a2,0x4($t7) +/* f0a02a4: 1040001d */ beqz $v0,.PB0f0a031c +/* f0a02a8: 00408025 */ move $s0,$v0 +/* f0a02ac: 8fb802b0 */ lw $t8,0x2b0($sp) +/* f0a02b0: 93190003 */ lbu $t9,0x3($t8) +/* f0a02b4: 10000019 */ b .PB0f0a031c +/* f0a02b8: a059005f */ sb $t9,0x5f($v0) +.PB0f0a02bc: +/* f0a02bc: 24010012 */ li $at,0x12 +/* f0a02c0: 1441000e */ bne $v0,$at,.PB0f0a02fc +/* f0a02c4: 3c0d800a */ lui $t5,0x800a +/* f0a02c8: 3c09800a */ lui $t1,0x800a +/* f0a02cc: 8d29e754 */ lw $t1,-0x18ac($t1) +/* f0a02d0: 8fa801d8 */ lw $t0,0x1d8($sp) +/* f0a02d4: 24050055 */ li $a1,0x55 +/* f0a02d8: 8d2a00bc */ lw $t2,0xbc($t1) +/* f0a02dc: 8d040040 */ lw $a0,0x40($t0) +/* f0a02e0: 0fc22dbf */ jal 0xf08b6fc +/* f0a02e4: 8d460004 */ lw $a2,0x4($t2) +/* f0a02e8: 1040000c */ beqz $v0,.PB0f0a031c +/* f0a02ec: 00408025 */ move $s0,$v0 +/* f0a02f0: 240b0002 */ li $t3,0x2 +/* f0a02f4: 10000009 */ b .PB0f0a031c +/* f0a02f8: a04b005f */ sb $t3,0x5f($v0) +.PB0f0a02fc: +/* f0a02fc: 8dade754 */ lw $t5,-0x18ac($t5) +/* f0a0300: 8fac01d8 */ lw $t4,0x1d8($sp) +/* f0a0304: 00e02825 */ move $a1,$a3 +/* f0a0308: 8dae00bc */ lw $t6,0xbc($t5) +/* f0a030c: 8d840040 */ lw $a0,0x40($t4) +/* f0a0310: 0fc22d35 */ jal 0xf08b4d4 +/* f0a0314: 8dc60004 */ lw $a2,0x4($t6) +/* f0a0318: 00408025 */ move $s0,$v0 +.PB0f0a031c: +/* f0a031c: 520000b6 */ beqzl $s0,.PB0f0a05f8 +/* f0a0320: 8fbf004c */ lw $ra,0x4c($sp) +/* f0a0324: afa000b8 */ sw $zero,0xb8($sp) +/* f0a0328: 8e060018 */ lw $a2,0x18($s0) +/* f0a032c: 24190001 */ li $t9,0x1 +/* f0a0330: 50c0009f */ beqzl $a2,.PB0f0a05b0 +/* f0a0334: afb900b8 */ sw $t9,0xb8($sp) +/* f0a0338: 8ccf0008 */ lw $t7,0x8($a2) +/* f0a033c: 8fb801d8 */ lw $t8,0x1d8($sp) +/* f0a0340: 3c0d800a */ lui $t5,0x800a +/* f0a0344: 11e00099 */ beqz $t7,.PB0f0a05ac +/* f0a0348: 02002025 */ move $a0,$s0 +/* f0a034c: 8f190058 */ lw $t9,0x58($t8) +/* f0a0350: 2401ffff */ li $at,-1 +/* f0a0354: 27a501e0 */ addiu $a1,$sp,0x1e0 +/* f0a0358: a6190062 */ sh $t9,0x62($s0) +/* f0a035c: 86020062 */ lh $v0,0x62($s0) +/* f0a0360: 27a60210 */ addiu $a2,$sp,0x210 +/* f0a0364: 1041000a */ beq $v0,$at,.PB0f0a0390 +/* f0a0368: 00024080 */ sll $t0,$v0,0x2 +/* f0a036c: 01024023 */ subu $t0,$t0,$v0 +/* f0a0370: 000840c0 */ sll $t0,$t0,0x3 +/* f0a0374: 01024021 */ addu $t0,$t0,$v0 +/* f0a0378: 000840c0 */ sll $t0,$t0,0x3 +/* f0a037c: 2401003c */ li $at,0x3c +/* f0a0380: 0101001a */ div $zero,$t0,$at +/* f0a0384: 00004812 */ mflo $t1 +/* f0a0388: a6090062 */ sh $t1,0x62($s0) +/* f0a038c: 00000000 */ nop +.PB0f0a0390: +/* f0a0390: 8e0a0040 */ lw $t2,0x40($s0) +/* f0a0394: 3c010fff */ lui $at,0xfff +/* f0a0398: 3421ffff */ ori $at,$at,0xffff +/* f0a039c: 01415824 */ and $t3,$t2,$at +/* f0a03a0: ae0b0040 */ sw $t3,0x40($s0) +/* f0a03a4: 8dade75c */ lw $t5,-0x18a4($t5) +/* f0a03a8: 27b80270 */ addiu $t8,$sp,0x270 +/* f0a03ac: 27a70264 */ addiu $a3,$sp,0x264 +/* f0a03b0: 000d7700 */ sll $t6,$t5,0x1c +/* f0a03b4: 016e7825 */ or $t7,$t3,$t6 +/* f0a03b8: ae0f0040 */ sw $t7,0x40($s0) +/* f0a03bc: 0fc27bd8 */ jal 0xf09ef60 +/* f0a03c0: afb80010 */ sw $t8,0x10($sp) +/* f0a03c4: 8e190040 */ lw $t9,0x40($s0) +/* f0a03c8: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f0a03cc: 3c0f800a */ lui $t7,0x800a +/* f0a03d0: 33280080 */ andi $t0,$t9,0x80 +/* f0a03d4: 11000073 */ beqz $t0,.PB0f0a05a4 +/* f0a03d8: 24180001 */ li $t8,0x1 +/* f0a03dc: 8c620010 */ lw $v0,0x10($v1) +/* f0a03e0: 00024800 */ sll $t1,$v0,0x0 +/* f0a03e4: 05210007 */ bgez $t1,.PB0f0a0404 +/* f0a03e8: 00026900 */ sll $t5,$v0,0x4 +/* f0a03ec: 8e050048 */ lw $a1,0x48($s0) +/* f0a03f0: 3c014000 */ lui $at,0x4000 +/* f0a03f4: 8caa0000 */ lw $t2,0x0($a1) +/* f0a03f8: 01415825 */ or $t3,$t2,$at +/* f0a03fc: 10000007 */ b .PB0f0a041c +/* f0a0400: acab0000 */ sw $t3,0x0($a1) +.PB0f0a0404: +/* f0a0404: 05a10005 */ bgez $t5,.PB0f0a041c +/* f0a0408: 00000000 */ nop +/* f0a040c: 8e050048 */ lw $a1,0x48($s0) +/* f0a0410: 8cac0000 */ lw $t4,0x0($a1) +/* f0a0414: 358e0010 */ ori $t6,$t4,0x10 +/* f0a0418: acae0000 */ sw $t6,0x0($a1) +.PB0f0a041c: +/* f0a041c: 8defe754 */ lw $t7,-0x18ac($t7) +/* f0a0420: 8e190048 */ lw $t9,0x48($s0) +/* f0a0424: 3c013f80 */ lui $at,0x3f80 +/* f0a0428: 8df81630 */ lw $t8,0x1630($t7) +/* f0a042c: 44814000 */ mtc1 $at,$f8 +/* f0a0430: af3800e8 */ sw $t8,0xe8($t9) +/* f0a0434: c4600048 */ lwc1 $f0,0x48($v1) +/* f0a0438: 46004032 */ c.eq.s $f8,$f0 +/* f0a043c: 00000000 */ nop +/* f0a0440: 45030012 */ bc1tl .PB0f0a048c +/* f0a0444: 8e0a0048 */ lw $t2,0x48($s0) +/* f0a0448: 8e060018 */ lw $a2,0x18($s0) +/* f0a044c: 2604001c */ addiu $a0,$s0,0x1c +/* f0a0450: 27a50078 */ addiu $a1,$sp,0x78 +/* f0a0454: c4d20014 */ lwc1 $f18,0x14($a2) +/* f0a0458: 46009402 */ mul.s $f16,$f18,$f0 +/* f0a045c: e4d00014 */ swc1 $f16,0x14($a2) +/* f0a0460: 0c0059e9 */ jal 0x167a4 +/* f0a0464: afa40058 */ sw $a0,0x58($sp) +/* f0a0468: 8fa801d8 */ lw $t0,0x1d8($sp) +/* f0a046c: 27a50078 */ addiu $a1,$sp,0x78 +/* f0a0470: 0c005a55 */ jal 0x16954 +/* f0a0474: c50c0048 */ lwc1 $f12,0x48($t0) +/* f0a0478: 27a40078 */ addiu $a0,$sp,0x78 +/* f0a047c: 0c0059fc */ jal 0x167f0 +/* f0a0480: 8fa50058 */ lw $a1,0x58($sp) +/* f0a0484: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f0a0488: 8e0a0048 */ lw $t2,0x48($s0) +.PB0f0a048c: +/* f0a048c: 240903e8 */ li $t1,0x3e8 +/* f0a0490: 241800c8 */ li $t8,0xc8 +/* f0a0494: a54900b2 */ sh $t1,0xb2($t2) +/* f0a0498: 8e0b0014 */ lw $t3,0x14($s0) +/* f0a049c: 8e0d0048 */ lw $t5,0x48($s0) +/* f0a04a0: 3c017f1b */ lui $at,0x7f1b +/* f0a04a4: c56a000c */ lwc1 $f10,0xc($t3) +/* f0a04a8: 240bffff */ li $t3,-1 +/* f0a04ac: 240affff */ li $t2,-1 +/* f0a04b0: e5aa00a8 */ swc1 $f10,0xa8($t5) +/* f0a04b4: 8e050048 */ lw $a1,0x48($s0) +/* f0a04b8: 00002025 */ move $a0,$zero +/* f0a04bc: 2407ffff */ li $a3,-1 +/* f0a04c0: c4a60008 */ lwc1 $f6,0x8($a1) +/* f0a04c4: e4a600ac */ swc1 $f6,0xac($a1) +/* f0a04c8: 8e0c0048 */ lw $t4,0x48($s0) +/* f0a04cc: c7a40250 */ lwc1 $f4,0x250($sp) +/* f0a04d0: e5840010 */ swc1 $f4,0x10($t4) +/* f0a04d4: 8e0e0048 */ lw $t6,0x48($s0) +/* f0a04d8: c7a80254 */ lwc1 $f8,0x254($sp) +/* f0a04dc: e5c80014 */ swc1 $f8,0x14($t6) +/* f0a04e0: 8e0f0048 */ lw $t7,0x48($s0) +/* f0a04e4: c7b20258 */ lwc1 $f18,0x258($sp) +/* f0a04e8: e5f20018 */ swc1 $f18,0x18($t7) +/* f0a04ec: 8e190048 */ lw $t9,0x48($s0) +/* f0a04f0: af3800b4 */ sw $t8,0xb4($t9) +/* f0a04f4: 8e080048 */ lw $t0,0x48($s0) +/* f0a04f8: c470005c */ lwc1 $f16,0x5c($v1) +/* f0a04fc: e510008c */ swc1 $f16,0x8c($t0) +/* f0a0500: c426e390 */ lwc1 $f6,-0x1c70($at) +/* f0a0504: c46a0050 */ lwc1 $f10,0x50($v1) +/* f0a0508: 8e090048 */ lw $t1,0x48($s0) +/* f0a050c: 3c01bf80 */ lui $at,0xbf80 +/* f0a0510: 46065102 */ mul.s $f4,$f10,$f6 +/* f0a0514: e5240098 */ swc1 $f4,0x98($t1) +/* f0a0518: 84660060 */ lh $a2,0x60($v1) +/* f0a051c: 58c00011 */ blezl $a2,.PB0f0a0564 +/* f0a0520: 8c6d0010 */ lw $t5,0x10($v1) +/* f0a0524: 8e050014 */ lw $a1,0x14($s0) +/* f0a0528: 44810000 */ mtc1 $at,$f0 +/* f0a052c: afab002c */ sw $t3,0x2c($sp) +/* f0a0530: afa00028 */ sw $zero,0x28($sp) +/* f0a0534: afa00020 */ sw $zero,0x20($sp) +/* f0a0538: afa0001c */ sw $zero,0x1c($sp) +/* f0a053c: afa00018 */ sw $zero,0x18($sp) +/* f0a0540: afa00014 */ sw $zero,0x14($sp) +/* f0a0544: afaa0010 */ sw $t2,0x10($sp) +/* f0a0548: e7a00024 */ swc1 $f0,0x24($sp) +/* f0a054c: e7a00030 */ swc1 $f0,0x30($sp) +/* f0a0550: e7a00034 */ swc1 $f0,0x34($sp) +/* f0a0554: 0fc24e0e */ jal 0xf093838 +/* f0a0558: e7a00038 */ swc1 $f0,0x38($sp) +/* f0a055c: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f0a0560: 8c6d0010 */ lw $t5,0x10($v1) +.PB0f0a0564: +/* f0a0564: 31ac0800 */ andi $t4,$t5,0x800 +/* f0a0568: 51800004 */ beqzl $t4,.PB0f0a057c +/* f0a056c: 8e050048 */ lw $a1,0x48($s0) +/* f0a0570: 0fc2f645 */ jal 0xf0bd914 +/* f0a0574: 02002025 */ move $a0,$s0 +/* f0a0578: 8e050048 */ lw $a1,0x48($s0) +.PB0f0a057c: +/* f0a057c: 02002025 */ move $a0,$s0 +/* f0a0580: 27a6006c */ addiu $a2,$sp,0x6c +/* f0a0584: 8cae0000 */ lw $t6,0x0($a1) +/* f0a0588: 31cf0080 */ andi $t7,$t6,0x80 +/* f0a058c: 51e00009 */ beqzl $t7,.PB0f0a05b4 +/* f0a0590: 8fa800b8 */ lw $t0,0xb8($sp) +/* f0a0594: 0fc1cf2c */ jal 0xf073cb0 +/* f0a0598: 27a70060 */ addiu $a3,$sp,0x60 +/* f0a059c: 10000005 */ b .PB0f0a05b4 +/* f0a05a0: 8fa800b8 */ lw $t0,0xb8($sp) +.PB0f0a05a4: +/* f0a05a4: 10000002 */ b .PB0f0a05b0 +/* f0a05a8: afb800b8 */ sw $t8,0xb8($sp) +.PB0f0a05ac: +/* f0a05ac: afb900b8 */ sw $t9,0xb8($sp) +.PB0f0a05b0: +/* f0a05b0: 8fa800b8 */ lw $t0,0xb8($sp) +.PB0f0a05b4: +/* f0a05b4: 51000010 */ beqzl $t0,.PB0f0a05f8 +/* f0a05b8: 8fbf004c */ lw $ra,0x4c($sp) +/* f0a05bc: 8e040014 */ lw $a0,0x14($s0) +/* f0a05c0: 2409ffff */ li $t1,-1 +/* f0a05c4: a6090062 */ sh $t1,0x62($s0) +/* f0a05c8: 50800004 */ beqzl $a0,.PB0f0a05dc +/* f0a05cc: 8e060018 */ lw $a2,0x18($s0) +/* f0a05d0: 0fc1817a */ jal 0xf0605e8 +/* f0a05d4: 00000000 */ nop +/* f0a05d8: 8e060018 */ lw $a2,0x18($s0) +.PB0f0a05dc: +/* f0a05dc: 50c00004 */ beqzl $a2,.PB0f0a05f0 +/* f0a05e0: ae000014 */ sw $zero,0x14($s0) +/* f0a05e4: 0fc2cd37 */ jal 0xf0b34dc +/* f0a05e8: 00c02025 */ move $a0,$a2 +/* f0a05ec: ae000014 */ sw $zero,0x14($s0) +.PB0f0a05f0: +/* f0a05f0: ae000018 */ sw $zero,0x18($s0) +.PB0f0a05f4: +/* f0a05f4: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f0a05f8: +/* f0a05f8: 8fb00048 */ lw $s0,0x48($sp) +/* f0a05fc: 27bd02b8 */ addiu $sp,$sp,0x2b8 +/* f0a0600: 03e00008 */ jr $ra +/* f0a0604: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel bgunCreateFiredProjectile @@ -14033,7 +15124,7 @@ glabel var7f1ac740 ); #endif -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel bgun0f0a0394 .late_rodata @@ -15468,7 +16559,7 @@ void bgun0f0a134c(s32 handnum) s32 index = bgunGetUnequippedReloadIndex(player->gunctrl.weaponnum); if (index != -1) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA player->hands[handnum].gunroundsspent[index] = spaceinclip * 213 + 212; #else player->hands[handnum].gunroundsspent[index] = (spaceinclip << 8) | 0xff; @@ -17196,7 +18287,7 @@ void bgunStartDetonateAnimation(s32 playernum) setCurrentPlayerNum(prevplayernum); } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel bgun0f0a3160 .late_rodata @@ -20329,6 +21420,562 @@ glabel var7f1ac918 /* f0a5154: 03e00008 */ jr $ra /* f0a5158: 27bd00e0 */ addiu $sp,$sp,0xe0 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgun0f0a46a4 +.late_rodata +glabel var7f1ac8cc +.word 0x3f088888 +glabel var7f1ac8d0 +.word 0x41713c65 +glabel var7f1ac8d4 +.word 0x3d0bd8cf +glabel var7f1ac8d8 +.word 0x41713c65 +glabel var7f1ac8dc +.word 0x3d0bd8cf +glabel var7f1ac8e0 +.word 0x41713c65 +glabel var7f1ac8e4 +.word 0x3d0bd8cf +glabel var7f1ac8e8 +.word 0x3f088888 +glabel var7f1ac8ec +.word 0x40f13c65 +glabel var7f1ac8f0 +.word 0x41713c65 +glabel var7f1ac8f4 +.word 0x3c3d3463 +glabel var7f1ac8f8 +.word 0x41713c65 +glabel var7f1ac8fc +.word 0x3c3d3463 +glabel var7f1ac900 +.word 0x40f13c65 +glabel var7f1ac904 +.word 0x41713c65 +glabel var7f1ac908 +.word 0x3bda10fd +glabel var7f1ac90c +.word 0x41713c65 +glabel var7f1ac910 +.word 0x3bda10fd +glabel var7f1ac914 +.word 0x3e99999a +glabel var7f1ac918 +.word 0x3e8e38e4 +.text +/* f0a4928: 27bdff20 */ addiu $sp,$sp,-224 +/* f0a492c: afbf0024 */ sw $ra,0x24($sp) +/* f0a4930: afb00020 */ sw $s0,0x20($sp) +/* f0a4934: f7b40018 */ sdc1 $f20,0x18($sp) +/* f0a4938: afa500e4 */ sw $a1,0xe4($sp) +/* f0a493c: afa600e8 */ sw $a2,0xe8($sp) +/* f0a4940: 948206d6 */ lhu $v0,0x6d6($a0) +/* f0a4944: 24030001 */ li $v1,0x1 +/* f0a4948: 00808025 */ move $s0,$a0 +/* f0a494c: 00027302 */ srl $t6,$v0,0xc +/* f0a4950: 11c30005 */ beq $t6,$v1,.PB0f0a4968 +/* f0a4954: 24010002 */ li $at,0x2 +/* f0a4958: 11c1018d */ beq $t6,$at,.PB0f0a4f90 +/* f0a495c: 3c03800a */ lui $v1,0x800a +/* f0a4960: 100001ce */ b .PB0f0a509c +/* f0a4964: 8fbf0024 */ lw $ra,0x24($sp) +.PB0f0a4968: +/* f0a4968: 8e0206d4 */ lw $v0,0x6d4($s0) +/* f0a496c: 00027d00 */ sll $t7,$v0,0x14 +/* f0a4970: 000fc742 */ srl $t8,$t7,0x1d +/* f0a4974: 13000007 */ beqz $t8,.PB0f0a4994 +/* f0a4978: 00000000 */ nop +/* f0a497c: 1303006c */ beq $t8,$v1,.PB0f0a4b30 +/* f0a4980: 24010002 */ li $at,0x2 +/* f0a4984: 530100e3 */ beql $t8,$at,.PB0f0a4d14 +/* f0a4988: 44802000 */ mtc1 $zero,$f4 +/* f0a498c: 10000140 */ b .PB0f0a4e90 +/* f0a4990: 3c014348 */ lui $at,0x4348 +.PB0f0a4994: +/* f0a4994: 0c004be0 */ jal 0x12f80 +/* f0a4998: 00000000 */ nop +/* f0a499c: 3c017f1b */ lui $at,0x7f1b +/* f0a49a0: c420e51c */ lwc1 $f0,-0x1ae4($at) +/* f0a49a4: 44822000 */ mtc1 $v0,$f4 +/* f0a49a8: 3c012f80 */ lui $at,0x2f80 +/* f0a49ac: 4481a000 */ mtc1 $at,$f20 +/* f0a49b0: 04410005 */ bgez $v0,.PB0f0a49c8 +/* f0a49b4: 468021a0 */ cvt.s.w $f6,$f4 +/* f0a49b8: 3c014f80 */ lui $at,0x4f80 +/* f0a49bc: 44814000 */ mtc1 $at,$f8 +/* f0a49c0: 00000000 */ nop +/* f0a49c4: 46083180 */ add.s $f6,$f6,$f8 +.PB0f0a49c8: +/* f0a49c8: 46143282 */ mul.s $f10,$f6,$f20 +/* f0a49cc: 3c013f00 */ lui $at,0x3f00 +/* f0a49d0: 44818000 */ mtc1 $at,$f16 +/* f0a49d4: 3c013d80 */ lui $at,0x3d80 +/* f0a49d8: 44814000 */ mtc1 $at,$f8 +/* f0a49dc: 46105481 */ sub.s $f18,$f10,$f16 +/* f0a49e0: 46009102 */ mul.s $f4,$f18,$f0 +/* f0a49e4: 00000000 */ nop +/* f0a49e8: 46082182 */ mul.s $f6,$f4,$f8 +/* f0a49ec: 46003280 */ add.s $f10,$f6,$f0 +/* f0a49f0: 0c004be0 */ jal 0x12f80 +/* f0a49f4: e60a06e8 */ swc1 $f10,0x6e8($s0) +/* f0a49f8: 44828000 */ mtc1 $v0,$f16 +/* f0a49fc: 3c014020 */ lui $at,0x4020 +/* f0a4a00: 44810000 */ mtc1 $at,$f0 +/* f0a4a04: 04410005 */ bgez $v0,.PB0f0a4a1c +/* f0a4a08: 468084a0 */ cvt.s.w $f18,$f16 +/* f0a4a0c: 3c014f80 */ lui $at,0x4f80 +/* f0a4a10: 44812000 */ mtc1 $at,$f4 +/* f0a4a14: 00000000 */ nop +/* f0a4a18: 46049480 */ add.s $f18,$f18,$f4 +.PB0f0a4a1c: +/* f0a4a1c: 46149202 */ mul.s $f8,$f18,$f20 +/* f0a4a20: 3c013d80 */ lui $at,0x3d80 +/* f0a4a24: 44815000 */ mtc1 $at,$f10 +/* f0a4a28: 44809000 */ mtc1 $zero,$f18 +/* f0a4a2c: 00000000 */ nop +/* f0a4a30: e61206f0 */ swc1 $f18,0x6f0($s0) +/* f0a4a34: 46004182 */ mul.s $f6,$f8,$f0 +/* f0a4a38: 00000000 */ nop +/* f0a4a3c: 460a3402 */ mul.s $f16,$f6,$f10 +/* f0a4a40: 46008100 */ add.s $f4,$f16,$f0 +/* f0a4a44: 0c004be0 */ jal 0x12f80 +/* f0a4a48: e60406ec */ swc1 $f4,0x6ec($s0) +/* f0a4a4c: 44824000 */ mtc1 $v0,$f8 +/* f0a4a50: 3c014f80 */ lui $at,0x4f80 +/* f0a4a54: 04410004 */ bgez $v0,.PB0f0a4a68 +/* f0a4a58: 468041a0 */ cvt.s.w $f6,$f8 +/* f0a4a5c: 44815000 */ mtc1 $at,$f10 +/* f0a4a60: 00000000 */ nop +/* f0a4a64: 460a3180 */ add.s $f6,$f6,$f10 +.PB0f0a4a68: +/* f0a4a68: 46143402 */ mul.s $f16,$f6,$f20 +/* f0a4a6c: 3c017f1b */ lui $at,0x7f1b +/* f0a4a70: c424e520 */ lwc1 $f4,-0x1ae0($at) +/* f0a4a74: 3c014338 */ lui $at,0x4338 +/* f0a4a78: 44814000 */ mtc1 $at,$f8 +/* f0a4a7c: 3c017f1b */ lui $at,0x7f1b +/* f0a4a80: c426e524 */ lwc1 $f6,-0x1adc($at) +/* f0a4a84: 46048482 */ mul.s $f18,$f16,$f4 +/* f0a4a88: 46089283 */ div.s $f10,$f18,$f8 +/* f0a4a8c: 46065401 */ sub.s $f16,$f10,$f6 +/* f0a4a90: 0c004be0 */ jal 0x12f80 +/* f0a4a94: e7b000d0 */ swc1 $f16,0xd0($sp) +/* f0a4a98: 44822000 */ mtc1 $v0,$f4 +/* f0a4a9c: 3c014f80 */ lui $at,0x4f80 +/* f0a4aa0: 04410004 */ bgez $v0,.PB0f0a4ab4 +/* f0a4aa4: 468024a0 */ cvt.s.w $f18,$f4 +/* f0a4aa8: 44814000 */ mtc1 $at,$f8 +/* f0a4aac: 00000000 */ nop +/* f0a4ab0: 46089480 */ add.s $f18,$f18,$f8 +.PB0f0a4ab4: +/* f0a4ab4: 46149282 */ mul.s $f10,$f18,$f20 +/* f0a4ab8: 3c017f1b */ lui $at,0x7f1b +/* f0a4abc: c426e528 */ lwc1 $f6,-0x1ad8($at) +/* f0a4ac0: 3c014338 */ lui $at,0x4338 +/* f0a4ac4: 44812000 */ mtc1 $at,$f4 +/* f0a4ac8: 3c017f1b */ lui $at,0x7f1b +/* f0a4acc: c432e52c */ lwc1 $f18,-0x1ad4($at) +/* f0a4ad0: 46065402 */ mul.s $f16,$f10,$f6 +/* f0a4ad4: 46048203 */ div.s $f8,$f16,$f4 +/* f0a4ad8: 46124281 */ sub.s $f10,$f8,$f18 +/* f0a4adc: 0c004be0 */ jal 0x12f80 +/* f0a4ae0: e7aa00d4 */ swc1 $f10,0xd4($sp) +/* f0a4ae4: 44823000 */ mtc1 $v0,$f6 +/* f0a4ae8: 3c014f80 */ lui $at,0x4f80 +/* f0a4aec: 04410004 */ bgez $v0,.PB0f0a4b00 +/* f0a4af0: 46803420 */ cvt.s.w $f16,$f6 +/* f0a4af4: 44812000 */ mtc1 $at,$f4 +/* f0a4af8: 00000000 */ nop +/* f0a4afc: 46048400 */ add.s $f16,$f16,$f4 +.PB0f0a4b00: +/* f0a4b00: 46148202 */ mul.s $f8,$f16,$f20 +/* f0a4b04: 3c017f1b */ lui $at,0x7f1b +/* f0a4b08: c432e530 */ lwc1 $f18,-0x1ad0($at) +/* f0a4b0c: 3c014338 */ lui $at,0x4338 +/* f0a4b10: 44813000 */ mtc1 $at,$f6 +/* f0a4b14: 3c017f1b */ lui $at,0x7f1b +/* f0a4b18: c430e534 */ lwc1 $f16,-0x1acc($at) +/* f0a4b1c: 46124282 */ mul.s $f10,$f8,$f18 +/* f0a4b20: 46065103 */ div.s $f4,$f10,$f6 +/* f0a4b24: 46102201 */ sub.s $f8,$f4,$f16 +/* f0a4b28: 100000d8 */ b .PB0f0a4e8c +/* f0a4b2c: e7a800d8 */ swc1 $f8,0xd8($sp) +.PB0f0a4b30: +/* f0a4b30: 0c004be0 */ jal 0x12f80 +/* f0a4b34: 00000000 */ nop +/* f0a4b38: 3c017f1b */ lui $at,0x7f1b +/* f0a4b3c: c420e538 */ lwc1 $f0,-0x1ac8($at) +/* f0a4b40: 44829000 */ mtc1 $v0,$f18 +/* f0a4b44: 3c012f80 */ lui $at,0x2f80 +/* f0a4b48: 4481a000 */ mtc1 $at,$f20 +/* f0a4b4c: 04410005 */ bgez $v0,.PB0f0a4b64 +/* f0a4b50: 468092a0 */ cvt.s.w $f10,$f18 +/* f0a4b54: 3c014f80 */ lui $at,0x4f80 +/* f0a4b58: 44813000 */ mtc1 $at,$f6 +/* f0a4b5c: 00000000 */ nop +/* f0a4b60: 46065280 */ add.s $f10,$f10,$f6 +.PB0f0a4b64: +/* f0a4b64: 46145102 */ mul.s $f4,$f10,$f20 +/* f0a4b68: 3c013f00 */ lui $at,0x3f00 +/* f0a4b6c: 44818000 */ mtc1 $at,$f16 +/* f0a4b70: 3c013d80 */ lui $at,0x3d80 +/* f0a4b74: 44813000 */ mtc1 $at,$f6 +/* f0a4b78: 3c014040 */ lui $at,0x4040 +/* f0a4b7c: 46102201 */ sub.s $f8,$f4,$f16 +/* f0a4b80: 44812000 */ mtc1 $at,$f4 +/* f0a4b84: 46004482 */ mul.s $f18,$f8,$f0 +/* f0a4b88: 00000000 */ nop +/* f0a4b8c: 46069282 */ mul.s $f10,$f18,$f6 +/* f0a4b90: 00000000 */ nop +/* f0a4b94: 46002402 */ mul.s $f16,$f4,$f0 +/* f0a4b98: 46105200 */ add.s $f8,$f10,$f16 +/* f0a4b9c: 46004487 */ neg.s $f18,$f8 +/* f0a4ba0: 0c004be0 */ jal 0x12f80 +/* f0a4ba4: e61206e8 */ swc1 $f18,0x6e8($s0) +/* f0a4ba8: 44823000 */ mtc1 $v0,$f6 +/* f0a4bac: 3c014020 */ lui $at,0x4020 +/* f0a4bb0: 44810000 */ mtc1 $at,$f0 +/* f0a4bb4: 04410005 */ bgez $v0,.PB0f0a4bcc +/* f0a4bb8: 46803120 */ cvt.s.w $f4,$f6 +/* f0a4bbc: 3c014f80 */ lui $at,0x4f80 +/* f0a4bc0: 44815000 */ mtc1 $at,$f10 +/* f0a4bc4: 00000000 */ nop +/* f0a4bc8: 460a2100 */ add.s $f4,$f4,$f10 +.PB0f0a4bcc: +/* f0a4bcc: 46142402 */ mul.s $f16,$f4,$f20 +/* f0a4bd0: 3c013e00 */ lui $at,0x3e00 +/* f0a4bd4: 44819000 */ mtc1 $at,$f18 +/* f0a4bd8: 46008202 */ mul.s $f8,$f16,$f0 +/* f0a4bdc: 00000000 */ nop +/* f0a4be0: 46124182 */ mul.s $f6,$f8,$f18 +/* f0a4be4: 46003280 */ add.s $f10,$f6,$f0 +/* f0a4be8: 0c004be0 */ jal 0x12f80 +/* f0a4bec: e60a06ec */ swc1 $f10,0x6ec($s0) +/* f0a4bf0: 44822000 */ mtc1 $v0,$f4 +/* f0a4bf4: 3c014f80 */ lui $at,0x4f80 +/* f0a4bf8: 04410004 */ bgez $v0,.PB0f0a4c0c +/* f0a4bfc: 46802420 */ cvt.s.w $f16,$f4 +/* f0a4c00: 44814000 */ mtc1 $at,$f8 +/* f0a4c04: 00000000 */ nop +/* f0a4c08: 46088400 */ add.s $f16,$f16,$f8 +.PB0f0a4c0c: +/* f0a4c0c: 46148482 */ mul.s $f18,$f16,$f20 +/* f0a4c10: 3c013f80 */ lui $at,0x3f80 +/* f0a4c14: 44813000 */ mtc1 $at,$f6 +/* f0a4c18: 00000000 */ nop +/* f0a4c1c: 46069280 */ add.s $f10,$f18,$f6 +/* f0a4c20: 46005107 */ neg.s $f4,$f10 +/* f0a4c24: 0c004be0 */ jal 0x12f80 +/* f0a4c28: e60406f0 */ swc1 $f4,0x6f0($s0) +/* f0a4c2c: 44824000 */ mtc1 $v0,$f8 +/* f0a4c30: 3c014f80 */ lui $at,0x4f80 +/* f0a4c34: 04410004 */ bgez $v0,.PB0f0a4c48 +/* f0a4c38: 46804420 */ cvt.s.w $f16,$f8 +/* f0a4c3c: 44819000 */ mtc1 $at,$f18 +/* f0a4c40: 00000000 */ nop +/* f0a4c44: 46128400 */ add.s $f16,$f16,$f18 +.PB0f0a4c48: +/* f0a4c48: 46148182 */ mul.s $f6,$f16,$f20 +/* f0a4c4c: 3c014040 */ lui $at,0x4040 +/* f0a4c50: 44815000 */ mtc1 $at,$f10 +/* f0a4c54: 3c017f1b */ lui $at,0x7f1b +/* f0a4c58: c428e53c */ lwc1 $f8,-0x1ac4($at) +/* f0a4c5c: 3c014350 */ lui $at,0x4350 +/* f0a4c60: 44818000 */ mtc1 $at,$f16 +/* f0a4c64: 460a3100 */ add.s $f4,$f6,$f10 +/* f0a4c68: 46082482 */ mul.s $f18,$f4,$f8 +/* f0a4c6c: 46109183 */ div.s $f6,$f18,$f16 +/* f0a4c70: 0c004be0 */ jal 0x12f80 +/* f0a4c74: e7a600d0 */ swc1 $f6,0xd0($sp) +/* f0a4c78: 44825000 */ mtc1 $v0,$f10 +/* f0a4c7c: 3c014f80 */ lui $at,0x4f80 +/* f0a4c80: 04410004 */ bgez $v0,.PB0f0a4c94 +/* f0a4c84: 46805120 */ cvt.s.w $f4,$f10 +/* f0a4c88: 44814000 */ mtc1 $at,$f8 +/* f0a4c8c: 00000000 */ nop +/* f0a4c90: 46082100 */ add.s $f4,$f4,$f8 +.PB0f0a4c94: +/* f0a4c94: 46142482 */ mul.s $f18,$f4,$f20 +/* f0a4c98: 3c017f1b */ lui $at,0x7f1b +/* f0a4c9c: c430e540 */ lwc1 $f16,-0x1ac0($at) +/* f0a4ca0: 3c014408 */ lui $at,0x4408 +/* f0a4ca4: 44815000 */ mtc1 $at,$f10 +/* f0a4ca8: 3c017f1b */ lui $at,0x7f1b +/* f0a4cac: c424e544 */ lwc1 $f4,-0x1abc($at) +/* f0a4cb0: 46109182 */ mul.s $f6,$f18,$f16 +/* f0a4cb4: 460a3203 */ div.s $f8,$f6,$f10 +/* f0a4cb8: 46044481 */ sub.s $f18,$f8,$f4 +/* f0a4cbc: 0c004be0 */ jal 0x12f80 +/* f0a4cc0: e7b200d4 */ swc1 $f18,0xd4($sp) +/* f0a4cc4: 44828000 */ mtc1 $v0,$f16 +/* f0a4cc8: 3c014f80 */ lui $at,0x4f80 +/* f0a4ccc: 04410004 */ bgez $v0,.PB0f0a4ce0 +/* f0a4cd0: 468081a0 */ cvt.s.w $f6,$f16 +/* f0a4cd4: 44815000 */ mtc1 $at,$f10 +/* f0a4cd8: 00000000 */ nop +/* f0a4cdc: 460a3180 */ add.s $f6,$f6,$f10 +.PB0f0a4ce0: +/* f0a4ce0: 46143202 */ mul.s $f8,$f6,$f20 +/* f0a4ce4: 3c017f1b */ lui $at,0x7f1b +/* f0a4ce8: c424e548 */ lwc1 $f4,-0x1ab8($at) +/* f0a4cec: 3c014408 */ lui $at,0x4408 +/* f0a4cf0: 44818000 */ mtc1 $at,$f16 +/* f0a4cf4: 3c017f1b */ lui $at,0x7f1b +/* f0a4cf8: c426e54c */ lwc1 $f6,-0x1ab4($at) +/* f0a4cfc: 46044482 */ mul.s $f18,$f8,$f4 +/* f0a4d00: 46109283 */ div.s $f10,$f18,$f16 +/* f0a4d04: 46065201 */ sub.s $f8,$f10,$f6 +/* f0a4d08: 10000060 */ b .PB0f0a4e8c +/* f0a4d0c: e7a800d8 */ swc1 $f8,0xd8($sp) +/* f0a4d10: 44802000 */ mtc1 $zero,$f4 +.PB0f0a4d14: +/* f0a4d14: 0c004be0 */ jal 0x12f80 +/* f0a4d18: e60406e8 */ swc1 $f4,0x6e8($s0) +/* f0a4d1c: 3c014020 */ lui $at,0x4020 +/* f0a4d20: 44810000 */ mtc1 $at,$f0 +/* f0a4d24: 44829000 */ mtc1 $v0,$f18 +/* f0a4d28: 3c012f80 */ lui $at,0x2f80 +/* f0a4d2c: 4481a000 */ mtc1 $at,$f20 +/* f0a4d30: 04410005 */ bgez $v0,.PB0f0a4d48 +/* f0a4d34: 46809420 */ cvt.s.w $f16,$f18 +/* f0a4d38: 3c014f80 */ lui $at,0x4f80 +/* f0a4d3c: 44815000 */ mtc1 $at,$f10 +/* f0a4d40: 00000000 */ nop +/* f0a4d44: 460a8400 */ add.s $f16,$f16,$f10 +.PB0f0a4d48: +/* f0a4d48: 46148182 */ mul.s $f6,$f16,$f20 +/* f0a4d4c: 3c013e00 */ lui $at,0x3e00 +/* f0a4d50: 44812000 */ mtc1 $at,$f4 +/* f0a4d54: 46003202 */ mul.s $f8,$f6,$f0 +/* f0a4d58: 00000000 */ nop +/* f0a4d5c: 46044482 */ mul.s $f18,$f8,$f4 +/* f0a4d60: 46009280 */ add.s $f10,$f18,$f0 +/* f0a4d64: 0c004be0 */ jal 0x12f80 +/* f0a4d68: e60a06ec */ swc1 $f10,0x6ec($s0) +/* f0a4d6c: 44828000 */ mtc1 $v0,$f16 +/* f0a4d70: 3c014f80 */ lui $at,0x4f80 +/* f0a4d74: 04410004 */ bgez $v0,.PB0f0a4d88 +/* f0a4d78: 468081a0 */ cvt.s.w $f6,$f16 +/* f0a4d7c: 44814000 */ mtc1 $at,$f8 +/* f0a4d80: 00000000 */ nop +/* f0a4d84: 46083180 */ add.s $f6,$f6,$f8 +.PB0f0a4d88: +/* f0a4d88: 46143102 */ mul.s $f4,$f6,$f20 +/* f0a4d8c: 3c013f80 */ lui $at,0x3f80 +/* f0a4d90: 44819000 */ mtc1 $at,$f18 +/* f0a4d94: 3c013e80 */ lui $at,0x3e80 +/* f0a4d98: 44818000 */ mtc1 $at,$f16 +/* f0a4d9c: 46122280 */ add.s $f10,$f4,$f18 +/* f0a4da0: 46105202 */ mul.s $f8,$f10,$f16 +/* f0a4da4: 0c004be0 */ jal 0x12f80 +/* f0a4da8: e60806f0 */ swc1 $f8,0x6f0($s0) +/* f0a4dac: 44823000 */ mtc1 $v0,$f6 +/* f0a4db0: 3c014f80 */ lui $at,0x4f80 +/* f0a4db4: 04410004 */ bgez $v0,.PB0f0a4dc8 +/* f0a4db8: 46803120 */ cvt.s.w $f4,$f6 +/* f0a4dbc: 44819000 */ mtc1 $at,$f18 +/* f0a4dc0: 00000000 */ nop +/* f0a4dc4: 46122100 */ add.s $f4,$f4,$f18 +.PB0f0a4dc8: +/* f0a4dc8: 46142282 */ mul.s $f10,$f4,$f20 +/* f0a4dcc: 3c014040 */ lui $at,0x4040 +/* f0a4dd0: 44818000 */ mtc1 $at,$f16 +/* f0a4dd4: 3c017f1b */ lui $at,0x7f1b +/* f0a4dd8: c426e550 */ lwc1 $f6,-0x1ab0($at) +/* f0a4ddc: 3c0143b8 */ lui $at,0x43b8 +/* f0a4de0: 44812000 */ mtc1 $at,$f4 +/* f0a4de4: 46105200 */ add.s $f8,$f10,$f16 +/* f0a4de8: 46064482 */ mul.s $f18,$f8,$f6 +/* f0a4dec: 46049283 */ div.s $f10,$f18,$f4 +/* f0a4df0: 0c004be0 */ jal 0x12f80 +/* f0a4df4: e7aa00d0 */ swc1 $f10,0xd0($sp) +/* f0a4df8: 44828000 */ mtc1 $v0,$f16 +/* f0a4dfc: 3c014f80 */ lui $at,0x4f80 +/* f0a4e00: 04410004 */ bgez $v0,.PB0f0a4e14 +/* f0a4e04: 46808220 */ cvt.s.w $f8,$f16 +/* f0a4e08: 44813000 */ mtc1 $at,$f6 +/* f0a4e0c: 00000000 */ nop +/* f0a4e10: 46064200 */ add.s $f8,$f8,$f6 +.PB0f0a4e14: +/* f0a4e14: 46144482 */ mul.s $f18,$f8,$f20 +/* f0a4e18: 3c017f1b */ lui $at,0x7f1b +/* f0a4e1c: c424e554 */ lwc1 $f4,-0x1aac($at) +/* f0a4e20: 3c01446c */ lui $at,0x446c +/* f0a4e24: 44818000 */ mtc1 $at,$f16 +/* f0a4e28: 3c017f1b */ lui $at,0x7f1b +/* f0a4e2c: c428e558 */ lwc1 $f8,-0x1aa8($at) +/* f0a4e30: 46049282 */ mul.s $f10,$f18,$f4 +/* f0a4e34: 46105183 */ div.s $f6,$f10,$f16 +/* f0a4e38: 46083481 */ sub.s $f18,$f6,$f8 +/* f0a4e3c: 0c004be0 */ jal 0x12f80 +/* f0a4e40: e7b200d4 */ swc1 $f18,0xd4($sp) +/* f0a4e44: 44822000 */ mtc1 $v0,$f4 +/* f0a4e48: 3c014f80 */ lui $at,0x4f80 +/* f0a4e4c: 04410004 */ bgez $v0,.PB0f0a4e60 +/* f0a4e50: 468022a0 */ cvt.s.w $f10,$f4 +/* f0a4e54: 44818000 */ mtc1 $at,$f16 +/* f0a4e58: 00000000 */ nop +/* f0a4e5c: 46105280 */ add.s $f10,$f10,$f16 +.PB0f0a4e60: +/* f0a4e60: 46145182 */ mul.s $f6,$f10,$f20 +/* f0a4e64: 3c017f1b */ lui $at,0x7f1b +/* f0a4e68: c428e55c */ lwc1 $f8,-0x1aa4($at) +/* f0a4e6c: 3c01446c */ lui $at,0x446c +/* f0a4e70: 44812000 */ mtc1 $at,$f4 +/* f0a4e74: 3c017f1b */ lui $at,0x7f1b +/* f0a4e78: c42ae560 */ lwc1 $f10,-0x1aa0($at) +/* f0a4e7c: 46083482 */ mul.s $f18,$f6,$f8 +/* f0a4e80: 46049403 */ div.s $f16,$f18,$f4 +/* f0a4e84: 460a8181 */ sub.s $f6,$f16,$f10 +/* f0a4e88: e7a600d8 */ swc1 $f6,0xd8($sp) +.PB0f0a4e8c: +/* f0a4e8c: 3c014348 */ lui $at,0x4348 +.PB0f0a4e90: +/* f0a4e90: 44819000 */ mtc1 $at,$f18 +/* f0a4e94: c60806dc */ lwc1 $f8,0x6dc($s0) +/* f0a4e98: 27a400d0 */ addiu $a0,$sp,0xd0 +/* f0a4e9c: 27a50090 */ addiu $a1,$sp,0x90 +/* f0a4ea0: 46124101 */ sub.s $f4,$f8,$f18 +/* f0a4ea4: 0c005bb7 */ jal 0x16edc +/* f0a4ea8: e60406d8 */ swc1 $f4,0x6d8($s0) +/* f0a4eac: 27a40090 */ addiu $a0,$sp,0x90 +/* f0a4eb0: 0c0059fc */ jal 0x167f0 +/* f0a4eb4: 26050718 */ addiu $a1,$s0,0x718 +/* f0a4eb8: 3c03800a */ lui $v1,0x800a +/* f0a4ebc: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f0a4ec0: 8c790034 */ lw $t9,0x34($v1) +/* f0a4ec4: 5b20002e */ blezl $t9,.PB0f0a4f80 +/* f0a4ec8: 920b06d6 */ lbu $t3,0x6d6($s0) +/* f0a4ecc: 8e0806d4 */ lw $t0,0x6d4($s0) +/* f0a4ed0: 00084d00 */ sll $t1,$t0,0x14 +/* f0a4ed4: 00095742 */ srl $t2,$t1,0x1d +/* f0a4ed8: 51400029 */ beqzl $t2,.PB0f0a4f80 +/* f0a4edc: 920b06d6 */ lbu $t3,0x6d6($s0) +/* f0a4ee0: c6100324 */ lwc1 $f16,0x324($s0) +/* f0a4ee4: c60a0364 */ lwc1 $f10,0x364($s0) +/* f0a4ee8: c460004c */ lwc1 $f0,0x4c($v1) +/* f0a4eec: 260402f4 */ addiu $a0,$s0,0x2f4 +/* f0a4ef0: 460a8181 */ sub.s $f6,$f16,$f10 +/* f0a4ef4: 27a50044 */ addiu $a1,$sp,0x44 +/* f0a4ef8: 46003203 */ div.s $f8,$f6,$f0 +/* f0a4efc: e7a80084 */ swc1 $f8,0x84($sp) +/* f0a4f00: c6040368 */ lwc1 $f4,0x368($s0) +/* f0a4f04: c6120328 */ lwc1 $f18,0x328($s0) +/* f0a4f08: 46049401 */ sub.s $f16,$f18,$f4 +/* f0a4f0c: 46008283 */ div.s $f10,$f16,$f0 +/* f0a4f10: e7aa0088 */ swc1 $f10,0x88($sp) +/* f0a4f14: c608036c */ lwc1 $f8,0x36c($s0) +/* f0a4f18: c606032c */ lwc1 $f6,0x32c($s0) +/* f0a4f1c: 46083481 */ sub.s $f18,$f6,$f8 +/* f0a4f20: 46009103 */ div.s $f4,$f18,$f0 +/* f0a4f24: 0c005ff6 */ jal 0x17fd8 +/* f0a4f28: e7a4008c */ swc1 $f4,0x8c($sp) +/* f0a4f2c: 27a40044 */ addiu $a0,$sp,0x44 +/* f0a4f30: 0c005958 */ jal 0x16560 +/* f0a4f34: 27a50084 */ addiu $a1,$sp,0x84 +/* f0a4f38: 3c017f1b */ lui $at,0x7f1b +/* f0a4f3c: c420e564 */ lwc1 $f0,-0x1a9c($at) +/* f0a4f40: c7aa0084 */ lwc1 $f10,0x84($sp) +/* f0a4f44: c61006e8 */ lwc1 $f16,0x6e8($s0) +/* f0a4f48: c61206ec */ lwc1 $f18,0x6ec($s0) +/* f0a4f4c: 46005182 */ mul.s $f6,$f10,$f0 +/* f0a4f50: 46068200 */ add.s $f8,$f16,$f6 +/* f0a4f54: c60606f0 */ lwc1 $f6,0x6f0($s0) +/* f0a4f58: e60806e8 */ swc1 $f8,0x6e8($s0) +/* f0a4f5c: c7a40088 */ lwc1 $f4,0x88($sp) +/* f0a4f60: 46002282 */ mul.s $f10,$f4,$f0 +/* f0a4f64: 460a9400 */ add.s $f16,$f18,$f10 +/* f0a4f68: e61006ec */ swc1 $f16,0x6ec($s0) +/* f0a4f6c: c7a8008c */ lwc1 $f8,0x8c($sp) +/* f0a4f70: 46004102 */ mul.s $f4,$f8,$f0 +/* f0a4f74: 46043480 */ add.s $f18,$f6,$f4 +/* f0a4f78: e61206f0 */ swc1 $f18,0x6f0($s0) +/* f0a4f7c: 920b06d6 */ lbu $t3,0x6d6($s0) +.PB0f0a4f80: +/* f0a4f80: 316cff0f */ andi $t4,$t3,0xff0f +/* f0a4f84: 358d0020 */ ori $t5,$t4,0x20 +/* f0a4f88: 10000043 */ b .PB0f0a5098 +/* f0a4f8c: a20d06d6 */ sb $t5,0x6d6($s0) +.PB0f0a4f90: +/* f0a4f90: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f0a4f94: 8c6e0284 */ lw $t6,0x284($v1) +/* f0a4f98: c460004c */ lwc1 $f0,0x4c($v1) +/* f0a4f9c: 3c013fc0 */ lui $at,0x3fc0 +/* f0a4fa0: 8dcf00d8 */ lw $t7,0xd8($t6) +/* f0a4fa4: 11e00008 */ beqz $t7,.PB0f0a4fc8 +/* f0a4fa8: 00000000 */ nop +/* f0a4fac: 44811000 */ mtc1 $at,$f2 +/* f0a4fb0: 00000000 */ nop +/* f0a4fb4: 4600103c */ c.lt.s $f2,$f0 +/* f0a4fb8: 00000000 */ nop +/* f0a4fbc: 45000002 */ bc1f .PB0f0a4fc8 +/* f0a4fc0: 00000000 */ nop +/* f0a4fc4: 46001006 */ mov.s $f0,$f2 +.PB0f0a4fc8: +/* f0a4fc8: 3c017f1b */ lui $at,0x7f1b +/* f0a4fcc: c42ae568 */ lwc1 $f10,-0x1a98($at) +/* f0a4fd0: c60e06e0 */ lwc1 $f14,0x6e0($s0) +/* f0a4fd4: c60806d8 */ lwc1 $f8,0x6d8($s0) +/* f0a4fd8: 460a0402 */ mul.s $f16,$f0,$f10 +/* f0a4fdc: c60206ec */ lwc1 $f2,0x6ec($s0) +/* f0a4fe0: 4608703c */ c.lt.s $f14,$f8 +/* f0a4fe4: 3c013f00 */ lui $at,0x3f00 +/* f0a4fe8: 45000006 */ bc1f .PB0f0a5004 +/* f0a4fec: 46101301 */ sub.s $f12,$f2,$f16 +/* f0a4ff0: 921806d6 */ lbu $t8,0x6d6($s0) +/* f0a4ff4: 3319ff0f */ andi $t9,$t8,0xff0f +/* f0a4ff8: 37280030 */ ori $t0,$t9,0x30 +/* f0a4ffc: 10000026 */ b .PB0f0a5098 +/* f0a5000: a20806d6 */ sb $t0,0x6d6($s0) +.PB0f0a5004: +/* f0a5004: 44813000 */ mtc1 $at,$f6 +/* f0a5008: 460c1480 */ add.s $f18,$f2,$f12 +/* f0a500c: c60806dc */ lwc1 $f8,0x6dc($s0) +/* f0a5010: 46060102 */ mul.s $f4,$f0,$f6 +/* f0a5014: c60606e8 */ lwc1 $f6,0x6e8($s0) +/* f0a5018: e60c06ec */ swc1 $f12,0x6ec($s0) +/* f0a501c: 00001025 */ move $v0,$zero +/* f0a5020: 26040718 */ addiu $a0,$s0,0x718 +/* f0a5024: 260506f4 */ addiu $a1,$s0,0x6f4 +/* f0a5028: 46122282 */ mul.s $f10,$f4,$f18 +/* f0a502c: 460a7400 */ add.s $f16,$f14,$f10 +/* f0a5030: 46060102 */ mul.s $f4,$f0,$f6 +/* f0a5034: c60a06e4 */ lwc1 $f10,0x6e4($s0) +/* f0a5038: e61006e0 */ swc1 $f16,0x6e0($s0) +/* f0a503c: c61006f0 */ lwc1 $f16,0x6f0($s0) +/* f0a5040: 46100182 */ mul.s $f6,$f0,$f16 +/* f0a5044: 46044480 */ add.s $f18,$f8,$f4 +/* f0a5048: e61206dc */ swc1 $f18,0x6dc($s0) +/* f0a504c: 46065200 */ add.s $f8,$f10,$f6 +/* f0a5050: e60806e4 */ swc1 $f8,0x6e4($s0) +/* f0a5054: 8c690034 */ lw $t1,0x34($v1) +/* f0a5058: 59200010 */ blezl $t1,.PB0f0a509c +/* f0a505c: 8fbf0024 */ lw $ra,0x24($sp) +/* f0a5060: afa40030 */ sw $a0,0x30($sp) +/* f0a5064: afa5002c */ sw $a1,0x2c($sp) +/* f0a5068: 8fa40030 */ lw $a0,0x30($sp) +.PB0f0a506c: +/* f0a506c: 8fa5002c */ lw $a1,0x2c($sp) +/* f0a5070: 0c005ad8 */ jal 0x16b60 +/* f0a5074: afa20040 */ sw $v0,0x40($sp) +/* f0a5078: 3c03800a */ lui $v1,0x800a +/* f0a507c: 8fa20040 */ lw $v0,0x40($sp) +/* f0a5080: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f0a5084: 8c6a0034 */ lw $t2,0x34($v1) +/* f0a5088: 24420001 */ addiu $v0,$v0,0x1 +/* f0a508c: 004a082a */ slt $at,$v0,$t2 +/* f0a5090: 5420fff6 */ bnezl $at,.PB0f0a506c +/* f0a5094: 8fa40030 */ lw $a0,0x30($sp) +.PB0f0a5098: +/* f0a5098: 8fbf0024 */ lw $ra,0x24($sp) +.PB0f0a509c: +/* f0a509c: d7b40018 */ ldc1 $f20,0x18($sp) +/* f0a50a0: 8fb00020 */ lw $s0,0x20($sp) +/* f0a50a4: 03e00008 */ jr $ra +/* f0a50a8: 27bd00e0 */ addiu $sp,$sp,0xe0 +); #else GLOBAL_ASM( glabel bgun0f0a46a4 @@ -23111,6 +24758,1557 @@ glabel var7f1add20pf /* f0a6da0: 03e00008 */ jr $ra /* f0a6da4: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgun0f0a5550 +.late_rodata +glabel var7f1ac9e4 +.word 0x40490fdb +glabel var7f1ac9e8 +.word 0x3dccccce +glabel var7f1ac9ec +.word bgun0f0a5550+0xca8 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xcb0 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xcc4 +.word bgun0f0a5550+0xcc4 +.word bgun0f0a5550+0xcc4 +.word bgun0f0a5550+0xcc4 +.word bgun0f0a5550+0xcc4 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xd08 +.word bgun0f0a5550+0xcc4 +glabel var7f1adc74pf +.word 0x7f0a65b8 +.word 0x7f0a65bc +.word 0x7f0a65b8 +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65b8 +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65b8 +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65b8 +.word 0x7f0a65b8 +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65bc +.word 0x7f0a65b8 +.word 0x7f0a65bc +.word 0x7f0a65b8 +.text +/* f0a57b8: 27bdfcf0 */ addiu $sp,$sp,-784 +/* f0a57bc: 3c0f8007 */ lui $t7,0x8007 +/* f0a57c0: afbf003c */ sw $ra,0x3c($sp) +/* f0a57c4: afb00038 */ sw $s0,0x38($sp) +/* f0a57c8: afa00288 */ sw $zero,0x288($sp) +/* f0a57cc: 25ef1fc4 */ addiu $t7,$t7,0x1fc4 +/* f0a57d0: 8de10000 */ lw $at,0x0($t7) +/* f0a57d4: 27ae027c */ addiu $t6,$sp,0x27c +/* f0a57d8: 8de90004 */ lw $t1,0x4($t7) +/* f0a57dc: adc10000 */ sw $at,0x0($t6) +/* f0a57e0: 8de10008 */ lw $at,0x8($t7) +/* f0a57e4: 3c0b8007 */ lui $t3,0x8007 +/* f0a57e8: 256b1fd0 */ addiu $t3,$t3,0x1fd0 +/* f0a57ec: adc90004 */ sw $t1,0x4($t6) +/* f0a57f0: adc10008 */ sw $at,0x8($t6) +/* f0a57f4: 8d610000 */ lw $at,0x0($t3) +/* f0a57f8: 27aa01ec */ addiu $t2,$sp,0x1ec +/* f0a57fc: 8d790004 */ lw $t9,0x4($t3) +/* f0a5800: ad410000 */ sw $at,0x0($t2) +/* f0a5804: 8d610008 */ lw $at,0x8($t3) +/* f0a5808: 00041900 */ sll $v1,$a0,0x4 +/* f0a580c: 00641823 */ subu $v1,$v1,$a0 +/* f0a5810: 00031880 */ sll $v1,$v1,0x2 +/* f0a5814: 3c02800a */ lui $v0,0x800a +/* f0a5818: 00641821 */ addu $v1,$v1,$a0 +/* f0a581c: ad590004 */ sw $t9,0x4($t2) +/* f0a5820: ad410008 */ sw $at,0x8($t2) +/* f0a5824: 8c42e754 */ lw $v0,-0x18ac($v0) +/* f0a5828: 000318c0 */ sll $v1,$v1,0x3 +/* f0a582c: 00641821 */ addu $v1,$v1,$a0 +/* f0a5830: 00031880 */ sll $v1,$v1,0x2 +/* f0a5834: 00438021 */ addu $s0,$v0,$v1 +/* f0a5838: 26100638 */ addiu $s0,$s0,0x638 +/* f0a583c: afa001e8 */ sw $zero,0x1e8($sp) +/* f0a5840: afb001dc */ sw $s0,0x1dc($sp) +/* f0a5844: afa001d4 */ sw $zero,0x1d4($sp) +/* f0a5848: afa30054 */ sw $v1,0x54($sp) +/* f0a584c: afa40310 */ sw $a0,0x310($sp) +/* f0a5850: 0fc2871d */ jal 0xf0a1c74 +/* f0a5854: afa201e0 */ sw $v0,0x1e0($sp) +/* f0a5858: afa201cc */ sw $v0,0x1cc($sp) +/* f0a585c: afa001c0 */ sw $zero,0x1c0($sp) +/* f0a5860: 0fc2c4f8 */ jal 0xf0b13e0 +/* f0a5864: 00402025 */ move $a0,$v0 +/* f0a5868: 8fb80310 */ lw $t8,0x310($sp) +/* f0a586c: 24010001 */ li $at,0x1 +/* f0a5870: afa201c8 */ sw $v0,0x1c8($sp) +/* f0a5874: 17010007 */ bne $t8,$at,.PB0f0a5894 +/* f0a5878: 00000000 */ nop +/* f0a587c: 8fae01cc */ lw $t6,0x1cc($sp) +/* f0a5880: 24010022 */ li $at,0x22 +/* f0a5884: 240f0001 */ li $t7,0x1 +/* f0a5888: 15c10002 */ bne $t6,$at,.PB0f0a5894 +/* f0a588c: 00000000 */ nop +/* f0a5890: afaf01c0 */ sw $t7,0x1c0($sp) +.PB0f0a5894: +/* f0a5894: 0fc2c513 */ jal 0xf0b144c +/* f0a5898: 02002025 */ move $a0,$s0 +/* f0a589c: 10400007 */ beqz $v0,.PB0f0a58bc +/* f0a58a0: afa201d8 */ sw $v0,0x1d8($sp) +/* f0a58a4: 8c490000 */ lw $t1,0x0($v0) +/* f0a58a8: 24010001 */ li $at,0x1 +/* f0a58ac: 312d00ff */ andi $t5,$t1,0xff +/* f0a58b0: 55a10003 */ bnel $t5,$at,.PB0f0a58c0 +/* f0a58b4: 02002025 */ move $a0,$s0 +/* f0a58b8: afa201d4 */ sw $v0,0x1d4($sp) +.PB0f0a58bc: +/* f0a58bc: 02002025 */ move $a0,$s0 +.PB0f0a58c0: +/* f0a58c0: 0fc275d5 */ jal 0xf09d754 +/* f0a58c4: 8fa50310 */ lw $a1,0x310($sp) +/* f0a58c8: 8fac0310 */ lw $t4,0x310($sp) +/* f0a58cc: 1580002b */ bnez $t4,.PB0f0a597c +/* f0a58d0: 00000000 */ nop +/* f0a58d4: 0fc2871d */ jal 0xf0a1c74 +/* f0a58d8: 24040001 */ li $a0,0x1 +/* f0a58dc: 00402025 */ move $a0,$v0 +/* f0a58e0: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a58e4: 24050040 */ li $a1,0x40 +/* f0a58e8: 10400013 */ beqz $v0,.PB0f0a5938 +/* f0a58ec: 3c01800a */ lui $at,0x800a +/* f0a58f0: 3c014000 */ lui $at,0x4000 +/* f0a58f4: 44811000 */ mtc1 $at,$f2 +/* f0a58f8: 3c01800a */ lui $at,0x800a +/* f0a58fc: c420e51c */ lwc1 $f0,-0x1ae4($at) +/* f0a5900: 3c014370 */ lui $at,0x4370 +/* f0a5904: 44813000 */ mtc1 $at,$f6 +/* f0a5908: 46000100 */ add.s $f4,$f0,$f0 +/* f0a590c: c60a01bc */ lwc1 $f10,0x1bc($s0) +/* f0a5910: 46062203 */ div.s $f8,$f4,$f6 +/* f0a5914: 46085400 */ add.s $f16,$f10,$f8 +/* f0a5918: e61001bc */ swc1 $f16,0x1bc($s0) +/* f0a591c: c61201bc */ lwc1 $f18,0x1bc($s0) +/* f0a5920: 4612103c */ c.lt.s $f2,$f18 +/* f0a5924: 00000000 */ nop +/* f0a5928: 4502003f */ bc1fl .PB0f0a5a28 +/* f0a592c: 8faa0310 */ lw $t2,0x310($sp) +/* f0a5930: 1000003c */ b .PB0f0a5a24 +/* f0a5934: e60201bc */ swc1 $f2,0x1bc($s0) +.PB0f0a5938: +/* f0a5938: c420e51c */ lwc1 $f0,-0x1ae4($at) +/* f0a593c: 3c014370 */ lui $at,0x4370 +/* f0a5940: 44813000 */ mtc1 $at,$f6 +/* f0a5944: 46000100 */ add.s $f4,$f0,$f0 +/* f0a5948: c60801bc */ lwc1 $f8,0x1bc($s0) +/* f0a594c: 46062283 */ div.s $f10,$f4,$f6 +/* f0a5950: 44802000 */ mtc1 $zero,$f4 +/* f0a5954: 460a4401 */ sub.s $f16,$f8,$f10 +/* f0a5958: e61001bc */ swc1 $f16,0x1bc($s0) +/* f0a595c: c61201bc */ lwc1 $f18,0x1bc($s0) +/* f0a5960: 4604903c */ c.lt.s $f18,$f4 +/* f0a5964: 00000000 */ nop +/* f0a5968: 4502002f */ bc1fl .PB0f0a5a28 +/* f0a596c: 8faa0310 */ lw $t2,0x310($sp) +/* f0a5970: 44803000 */ mtc1 $zero,$f6 +/* f0a5974: 1000002b */ b .PB0f0a5a24 +/* f0a5978: e60601bc */ swc1 $f6,0x1bc($s0) +.PB0f0a597c: +/* f0a597c: 0fc2871d */ jal 0xf0a1c74 +/* f0a5980: 00002025 */ move $a0,$zero +/* f0a5984: 00402025 */ move $a0,$v0 +/* f0a5988: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a598c: 24050040 */ li $a1,0x40 +/* f0a5990: 10400013 */ beqz $v0,.PB0f0a59e0 +/* f0a5994: 3c01800a */ lui $at,0x800a +/* f0a5998: 3c01c000 */ lui $at,0xc000 +/* f0a599c: 44811000 */ mtc1 $at,$f2 +/* f0a59a0: 3c01800a */ lui $at,0x800a +/* f0a59a4: c420e51c */ lwc1 $f0,-0x1ae4($at) +/* f0a59a8: 3c014370 */ lui $at,0x4370 +/* f0a59ac: 44815000 */ mtc1 $at,$f10 +/* f0a59b0: 46000200 */ add.s $f8,$f0,$f0 +/* f0a59b4: c61201bc */ lwc1 $f18,0x1bc($s0) +/* f0a59b8: 460a4403 */ div.s $f16,$f8,$f10 +/* f0a59bc: 46109101 */ sub.s $f4,$f18,$f16 +/* f0a59c0: e60401bc */ swc1 $f4,0x1bc($s0) +/* f0a59c4: c60601bc */ lwc1 $f6,0x1bc($s0) +/* f0a59c8: 4602303c */ c.lt.s $f6,$f2 +/* f0a59cc: 00000000 */ nop +/* f0a59d0: 45020015 */ bc1fl .PB0f0a5a28 +/* f0a59d4: 8faa0310 */ lw $t2,0x310($sp) +/* f0a59d8: 10000012 */ b .PB0f0a5a24 +/* f0a59dc: e60201bc */ swc1 $f2,0x1bc($s0) +.PB0f0a59e0: +/* f0a59e0: c420e51c */ lwc1 $f0,-0x1ae4($at) +/* f0a59e4: 3c014370 */ lui $at,0x4370 +/* f0a59e8: 44815000 */ mtc1 $at,$f10 +/* f0a59ec: 46000200 */ add.s $f8,$f0,$f0 +/* f0a59f0: c61001bc */ lwc1 $f16,0x1bc($s0) +/* f0a59f4: 44803000 */ mtc1 $zero,$f6 +/* f0a59f8: 460a4483 */ div.s $f18,$f8,$f10 +/* f0a59fc: 46128100 */ add.s $f4,$f16,$f18 +/* f0a5a00: e60401bc */ swc1 $f4,0x1bc($s0) +/* f0a5a04: c60801bc */ lwc1 $f8,0x1bc($s0) +/* f0a5a08: 4608303c */ c.lt.s $f6,$f8 +/* f0a5a0c: 00000000 */ nop +/* f0a5a10: 45020005 */ bc1fl .PB0f0a5a28 +/* f0a5a14: 8faa0310 */ lw $t2,0x310($sp) +/* f0a5a18: 44805000 */ mtc1 $zero,$f10 +/* f0a5a1c: 00000000 */ nop +/* f0a5a20: e60a01bc */ swc1 $f10,0x1bc($s0) +.PB0f0a5a24: +/* f0a5a24: 8faa0310 */ lw $t2,0x310($sp) +.PB0f0a5a28: +/* f0a5a28: 55400017 */ bnezl $t2,.PB0f0a5a88 +/* f0a5a2c: 8fb901c0 */ lw $t9,0x1c0($sp) +/* f0a5a30: 0fc2c5cb */ jal 0xf0b172c +/* f0a5a34: 01402025 */ move $a0,$t2 +/* f0a5a38: c61200b8 */ lwc1 $f18,0xb8($s0) +/* f0a5a3c: c61001b0 */ lwc1 $f16,0x1b0($s0) +/* f0a5a40: 8fab01c8 */ lw $t3,0x1c8($sp) +/* f0a5a44: 46120100 */ add.s $f4,$f0,$f18 +/* f0a5a48: 46048180 */ add.s $f6,$f16,$f4 +/* f0a5a4c: e7a6027c */ swc1 $f6,0x27c($sp) +/* f0a5a50: c60a00bc */ lwc1 $f10,0xbc($s0) +/* f0a5a54: c5680030 */ lwc1 $f8,0x30($t3) +/* f0a5a58: c61001b4 */ lwc1 $f16,0x1b4($s0) +/* f0a5a5c: 460a4480 */ add.s $f18,$f8,$f10 +/* f0a5a60: 46128100 */ add.s $f4,$f16,$f18 +/* f0a5a64: e7a40280 */ swc1 $f4,0x280($sp) +/* f0a5a68: c60800c0 */ lwc1 $f8,0xc0($s0) +/* f0a5a6c: c5660034 */ lwc1 $f6,0x34($t3) +/* f0a5a70: c61001b8 */ lwc1 $f16,0x1b8($s0) +/* f0a5a74: 46083280 */ add.s $f10,$f6,$f8 +/* f0a5a78: 460a8480 */ add.s $f18,$f16,$f10 +/* f0a5a7c: 1000002e */ b .PB0f0a5b38 +/* f0a5a80: e7b20284 */ swc1 $f18,0x284($sp) +/* f0a5a84: 8fb901c0 */ lw $t9,0x1c0($sp) +.PB0f0a5a88: +/* f0a5a88: 3c0140d0 */ lui $at,0x40d0 +/* f0a5a8c: 13200016 */ beqz $t9,.PB0f0a5ae8 +/* f0a5a90: 00000000 */ nop +/* f0a5a94: 44812000 */ mtc1 $at,$f4 +/* f0a5a98: c60600b8 */ lwc1 $f6,0xb8($s0) +/* f0a5a9c: c61001b0 */ lwc1 $f16,0x1b0($s0) +/* f0a5aa0: 3c01c184 */ lui $at,0xc184 +/* f0a5aa4: 46062200 */ add.s $f8,$f4,$f6 +/* f0a5aa8: 44819000 */ mtc1 $at,$f18 +/* f0a5aac: 3c01c180 */ lui $at,0xc180 +/* f0a5ab0: 46104281 */ sub.s $f10,$f8,$f16 +/* f0a5ab4: e7aa027c */ swc1 $f10,0x27c($sp) +/* f0a5ab8: c60400bc */ lwc1 $f4,0xbc($s0) +/* f0a5abc: c60801b4 */ lwc1 $f8,0x1b4($s0) +/* f0a5ac0: 44815000 */ mtc1 $at,$f10 +/* f0a5ac4: 46049180 */ add.s $f6,$f18,$f4 +/* f0a5ac8: 46064400 */ add.s $f16,$f8,$f6 +/* f0a5acc: e7b00280 */ swc1 $f16,0x280($sp) +/* f0a5ad0: c61200c0 */ lwc1 $f18,0xc0($s0) +/* f0a5ad4: c60801b8 */ lwc1 $f8,0x1b8($s0) +/* f0a5ad8: 46125100 */ add.s $f4,$f10,$f18 +/* f0a5adc: 46044180 */ add.s $f6,$f8,$f4 +/* f0a5ae0: 10000015 */ b .PB0f0a5b38 +/* f0a5ae4: e7a60284 */ swc1 $f6,0x284($sp) +.PB0f0a5ae8: +/* f0a5ae8: 0fc2c5cb */ jal 0xf0b172c +/* f0a5aec: 8fa40310 */ lw $a0,0x310($sp) +/* f0a5af0: c61000b8 */ lwc1 $f16,0xb8($s0) +/* f0a5af4: c61201b0 */ lwc1 $f18,0x1b0($s0) +/* f0a5af8: 8fb801c8 */ lw $t8,0x1c8($sp) +/* f0a5afc: 46100280 */ add.s $f10,$f0,$f16 +/* f0a5b00: 46125201 */ sub.s $f8,$f10,$f18 +/* f0a5b04: e7a8027c */ swc1 $f8,0x27c($sp) +/* f0a5b08: c60600bc */ lwc1 $f6,0xbc($s0) +/* f0a5b0c: c7040030 */ lwc1 $f4,0x30($t8) +/* f0a5b10: c60a01b4 */ lwc1 $f10,0x1b4($s0) +/* f0a5b14: 46062400 */ add.s $f16,$f4,$f6 +/* f0a5b18: 46105480 */ add.s $f18,$f10,$f16 +/* f0a5b1c: e7b20280 */ swc1 $f18,0x280($sp) +/* f0a5b20: c60400c0 */ lwc1 $f4,0xc0($s0) +/* f0a5b24: c7080034 */ lwc1 $f8,0x34($t8) +/* f0a5b28: c60a01b8 */ lwc1 $f10,0x1b8($s0) +/* f0a5b2c: 46044180 */ add.s $f6,$f8,$f4 +/* f0a5b30: 46065400 */ add.s $f16,$f10,$f6 +/* f0a5b34: e7b00284 */ swc1 $f16,0x284($sp) +.PB0f0a5b38: +/* f0a5b38: 3c01c2b4 */ lui $at,0xc2b4 +/* f0a5b3c: 44810000 */ mtc1 $at,$f0 +/* f0a5b40: 8fae01e0 */ lw $t6,0x1e0($sp) +/* f0a5b44: 3c014248 */ lui $at,0x4248 +/* f0a5b48: 44811000 */ mtc1 $at,$f2 +/* f0a5b4c: 3c0140a0 */ lui $at,0x40a0 +/* f0a5b50: 44814000 */ mtc1 $at,$f8 +/* f0a5b54: c5d21968 */ lwc1 $f18,0x1968($t6) +/* f0a5b58: c7b00280 */ lwc1 $f16,0x280($sp) +/* f0a5b5c: 3c014170 */ lui $at,0x4170 +/* f0a5b60: 46089102 */ mul.s $f4,$f18,$f8 +/* f0a5b64: 46002283 */ div.s $f10,$f4,$f0 +/* f0a5b68: 44812000 */ mtc1 $at,$f4 +/* f0a5b6c: 46025182 */ mul.s $f6,$f10,$f2 +/* f0a5b70: 46068480 */ add.s $f18,$f16,$f6 +/* f0a5b74: e7b20280 */ swc1 $f18,0x280($sp) +/* f0a5b78: c5c81968 */ lwc1 $f8,0x1968($t6) +/* f0a5b7c: c7b20284 */ lwc1 $f18,0x284($sp) +/* f0a5b80: 46044282 */ mul.s $f10,$f8,$f4 +/* f0a5b84: 46005403 */ div.s $f16,$f10,$f0 +/* f0a5b88: 46028182 */ mul.s $f6,$f16,$f2 +/* f0a5b8c: 46069201 */ sub.s $f8,$f18,$f6 +/* f0a5b90: e7a80284 */ swc1 $f8,0x284($sp) +/* f0a5b94: 820f0004 */ lb $t7,0x4($s0) +/* f0a5b98: 11e00054 */ beqz $t7,.PB0f0a5cec +/* f0a5b9c: 00000000 */ nop +/* f0a5ba0: 8fa201d4 */ lw $v0,0x1d4($sp) +/* f0a5ba4: 3c09800a */ lui $t1,0x800a +/* f0a5ba8: 10400050 */ beqz $v0,.PB0f0a5cec +/* f0a5bac: 00000000 */ nop +/* f0a5bb0: 8d29e504 */ lw $t1,-0x1afc($t1) +/* f0a5bb4: 1120004d */ beqz $t1,.PB0f0a5cec +/* f0a5bb8: 00000000 */ nop +/* f0a5bbc: 8c4d0014 */ lw $t5,0x14($v0) +/* f0a5bc0: 11a0004a */ beqz $t5,.PB0f0a5cec +/* f0a5bc4: 00000000 */ nop +/* f0a5bc8: 0c004be0 */ jal 0x12f80 +/* f0a5bcc: 00000000 */ nop +/* f0a5bd0: 44822000 */ mtc1 $v0,$f4 +/* f0a5bd4: 3c014f80 */ lui $at,0x4f80 +/* f0a5bd8: 04410004 */ bgez $v0,.PB0f0a5bec +/* f0a5bdc: 468022a0 */ cvt.s.w $f10,$f4 +/* f0a5be0: 44818000 */ mtc1 $at,$f16 +/* f0a5be4: 00000000 */ nop +/* f0a5be8: 46105280 */ add.s $f10,$f10,$f16 +.PB0f0a5bec: +/* f0a5bec: 3c012f80 */ lui $at,0x2f80 +/* f0a5bf0: 44819000 */ mtc1 $at,$f18 +/* f0a5bf4: 8fac01d4 */ lw $t4,0x1d4($sp) +/* f0a5bf8: 3c013f00 */ lui $at,0x3f00 +/* f0a5bfc: 46125182 */ mul.s $f6,$f10,$f18 +/* f0a5c00: 44814000 */ mtc1 $at,$f8 +/* f0a5c04: 8d8a0014 */ lw $t2,0x14($t4) +/* f0a5c08: c6120284 */ lwc1 $f18,0x284($s0) +/* f0a5c0c: c5500000 */ lwc1 $f16,0x0($t2) +/* f0a5c10: 46083101 */ sub.s $f4,$f6,$f8 +/* f0a5c14: c7a8027c */ lwc1 $f8,0x27c($sp) +/* f0a5c18: 46102282 */ mul.s $f10,$f4,$f16 +/* f0a5c1c: 00000000 */ nop +/* f0a5c20: 46125182 */ mul.s $f6,$f10,$f18 +/* f0a5c24: 46064100 */ add.s $f4,$f8,$f6 +/* f0a5c28: 0c004be0 */ jal 0x12f80 +/* f0a5c2c: e7a4027c */ swc1 $f4,0x27c($sp) +/* f0a5c30: 44828000 */ mtc1 $v0,$f16 +/* f0a5c34: 3c014f80 */ lui $at,0x4f80 +/* f0a5c38: 04410004 */ bgez $v0,.PB0f0a5c4c +/* f0a5c3c: 468082a0 */ cvt.s.w $f10,$f16 +/* f0a5c40: 44819000 */ mtc1 $at,$f18 +/* f0a5c44: 00000000 */ nop +/* f0a5c48: 46125280 */ add.s $f10,$f10,$f18 +.PB0f0a5c4c: +/* f0a5c4c: 3c012f80 */ lui $at,0x2f80 +/* f0a5c50: 44814000 */ mtc1 $at,$f8 +/* f0a5c54: 8fab01d4 */ lw $t3,0x1d4($sp) +/* f0a5c58: 3c013f00 */ lui $at,0x3f00 +/* f0a5c5c: 46085182 */ mul.s $f6,$f10,$f8 +/* f0a5c60: 44812000 */ mtc1 $at,$f4 +/* f0a5c64: 8d790014 */ lw $t9,0x14($t3) +/* f0a5c68: c6080284 */ lwc1 $f8,0x284($s0) +/* f0a5c6c: c7320004 */ lwc1 $f18,0x4($t9) +/* f0a5c70: 46043401 */ sub.s $f16,$f6,$f4 +/* f0a5c74: c7a40280 */ lwc1 $f4,0x280($sp) +/* f0a5c78: 46128282 */ mul.s $f10,$f16,$f18 +/* f0a5c7c: 00000000 */ nop +/* f0a5c80: 46085182 */ mul.s $f6,$f10,$f8 +/* f0a5c84: 46062400 */ add.s $f16,$f4,$f6 +/* f0a5c88: 0c004be0 */ jal 0x12f80 +/* f0a5c8c: e7b00280 */ swc1 $f16,0x280($sp) +/* f0a5c90: 44829000 */ mtc1 $v0,$f18 +/* f0a5c94: 3c014f80 */ lui $at,0x4f80 +/* f0a5c98: 04410004 */ bgez $v0,.PB0f0a5cac +/* f0a5c9c: 468092a0 */ cvt.s.w $f10,$f18 +/* f0a5ca0: 44814000 */ mtc1 $at,$f8 +/* f0a5ca4: 00000000 */ nop +/* f0a5ca8: 46085280 */ add.s $f10,$f10,$f8 +.PB0f0a5cac: +/* f0a5cac: 3c012f80 */ lui $at,0x2f80 +/* f0a5cb0: 44812000 */ mtc1 $at,$f4 +/* f0a5cb4: 8fb801d4 */ lw $t8,0x1d4($sp) +/* f0a5cb8: 3c013f00 */ lui $at,0x3f00 +/* f0a5cbc: 46045182 */ mul.s $f6,$f10,$f4 +/* f0a5cc0: 44818000 */ mtc1 $at,$f16 +/* f0a5cc4: 8f0e0014 */ lw $t6,0x14($t8) +/* f0a5cc8: c6040284 */ lwc1 $f4,0x284($s0) +/* f0a5ccc: c5c80008 */ lwc1 $f8,0x8($t6) +/* f0a5cd0: 46103481 */ sub.s $f18,$f6,$f16 +/* f0a5cd4: c7b00284 */ lwc1 $f16,0x284($sp) +/* f0a5cd8: 46089282 */ mul.s $f10,$f18,$f8 +/* f0a5cdc: 00000000 */ nop +/* f0a5ce0: 46045182 */ mul.s $f6,$f10,$f4 +/* f0a5ce4: 46068480 */ add.s $f18,$f16,$f6 +/* f0a5ce8: e7b20284 */ swc1 $f18,0x284($sp) +.PB0f0a5cec: +/* f0a5cec: 0fc2d6fa */ jal 0xf0b5be8 +/* f0a5cf0: 00000000 */ nop +/* f0a5cf4: 0fc2d702 */ jal 0xf0b5c08 +/* f0a5cf8: e7a00064 */ swc1 $f0,0x64($sp) +/* f0a5cfc: 0fc2d6fa */ jal 0xf0b5be8 +/* f0a5d00: e7a00068 */ swc1 $f0,0x68($sp) +/* f0a5d04: 3c013f00 */ lui $at,0x3f00 +/* f0a5d08: 44811000 */ mtc1 $at,$f2 +/* f0a5d0c: 8faf01e0 */ lw $t7,0x1e0($sp) +/* f0a5d10: c7b00064 */ lwc1 $f16,0x64($sp) +/* f0a5d14: c7aa0068 */ lwc1 $f10,0x68($sp) +/* f0a5d18: c5e81674 */ lwc1 $f8,0x1674($t7) +/* f0a5d1c: 46028182 */ mul.s $f6,$f16,$f2 +/* f0a5d20: 8fa901c8 */ lw $t1,0x1c8($sp) +/* f0a5d24: 460a4101 */ sub.s $f4,$f8,$f10 +/* f0a5d28: 8d2d0024 */ lw $t5,0x24($t1) +/* f0a5d2c: 46062481 */ sub.s $f18,$f4,$f6 +/* f0a5d30: c5a8000c */ lwc1 $f8,0xc($t5) +/* f0a5d34: 46089282 */ mul.s $f10,$f18,$f8 +/* f0a5d38: 00000000 */ nop +/* f0a5d3c: 46020402 */ mul.s $f16,$f0,$f2 +/* f0a5d40: 46105103 */ div.s $f4,$f10,$f16 +/* f0a5d44: 0fc2d706 */ jal 0xf0b5c18 +/* f0a5d48: e604076c */ swc1 $f4,0x76c($s0) +/* f0a5d4c: 0fc2d6fe */ jal 0xf0b5bf8 +/* f0a5d50: e7a00068 */ swc1 $f0,0x68($sp) +/* f0a5d54: 3c013f00 */ lui $at,0x3f00 +/* f0a5d58: 44813000 */ mtc1 $at,$f6 +/* f0a5d5c: 8fac01e0 */ lw $t4,0x1e0($sp) +/* f0a5d60: c7aa0068 */ lwc1 $f10,0x68($sp) +/* f0a5d64: 46060482 */ mul.s $f18,$f0,$f6 +/* f0a5d68: c5881678 */ lwc1 $f8,0x1678($t4) +/* f0a5d6c: 460a4401 */ sub.s $f16,$f8,$f10 +/* f0a5d70: 4610903c */ c.lt.s $f18,$f16 +/* f0a5d74: 00000000 */ nop +/* f0a5d78: 4500001a */ bc1f .PB0f0a5de4 +/* f0a5d7c: 00000000 */ nop +/* f0a5d80: 0fc2d6fe */ jal 0xf0b5bf8 +/* f0a5d84: 00000000 */ nop +/* f0a5d88: 0fc2d706 */ jal 0xf0b5c18 +/* f0a5d8c: e7a00064 */ swc1 $f0,0x64($sp) +/* f0a5d90: 0fc2d6fe */ jal 0xf0b5bf8 +/* f0a5d94: e7a00068 */ swc1 $f0,0x68($sp) +/* f0a5d98: 3c013f00 */ lui $at,0x3f00 +/* f0a5d9c: 44819000 */ mtc1 $at,$f18 +/* f0a5da0: 8faa01e0 */ lw $t2,0x1e0($sp) +/* f0a5da4: c7aa0064 */ lwc1 $f10,0x64($sp) +/* f0a5da8: c7a60068 */ lwc1 $f6,0x68($sp) +/* f0a5dac: c5441678 */ lwc1 $f4,0x1678($t2) +/* f0a5db0: 46125402 */ mul.s $f16,$f10,$f18 +/* f0a5db4: 8fab01c8 */ lw $t3,0x1c8($sp) +/* f0a5db8: 46062201 */ sub.s $f8,$f4,$f6 +/* f0a5dbc: 44819000 */ mtc1 $at,$f18 +/* f0a5dc0: 8d790024 */ lw $t9,0x24($t3) +/* f0a5dc4: 46104101 */ sub.s $f4,$f8,$f16 +/* f0a5dc8: c7260008 */ lwc1 $f6,0x8($t9) +/* f0a5dcc: 46062282 */ mul.s $f10,$f4,$f6 +/* f0a5dd0: 00000000 */ nop +/* f0a5dd4: 46120202 */ mul.s $f8,$f0,$f18 +/* f0a5dd8: 46085403 */ div.s $f16,$f10,$f8 +/* f0a5ddc: 10000019 */ b .PB0f0a5e44 +/* f0a5de0: e6100770 */ swc1 $f16,0x770($s0) +.PB0f0a5de4: +/* f0a5de4: 0fc2d6fe */ jal 0xf0b5bf8 +/* f0a5de8: 00000000 */ nop +/* f0a5dec: 0fc2d706 */ jal 0xf0b5c18 +/* f0a5df0: e7a00064 */ swc1 $f0,0x64($sp) +/* f0a5df4: 0fc2d6fe */ jal 0xf0b5bf8 +/* f0a5df8: e7a00068 */ swc1 $f0,0x68($sp) +/* f0a5dfc: 3c013f00 */ lui $at,0x3f00 +/* f0a5e00: 44814000 */ mtc1 $at,$f8 +/* f0a5e04: 8fb801e0 */ lw $t8,0x1e0($sp) +/* f0a5e08: c7aa0064 */ lwc1 $f10,0x64($sp) +/* f0a5e0c: c7a60068 */ lwc1 $f6,0x68($sp) +/* f0a5e10: c7041678 */ lwc1 $f4,0x1678($t8) +/* f0a5e14: 46085402 */ mul.s $f16,$f10,$f8 +/* f0a5e18: 8fae01c8 */ lw $t6,0x1c8($sp) +/* f0a5e1c: 46062481 */ sub.s $f18,$f4,$f6 +/* f0a5e20: 44814000 */ mtc1 $at,$f8 +/* f0a5e24: 8dcf0024 */ lw $t7,0x24($t6) +/* f0a5e28: 46109101 */ sub.s $f4,$f18,$f16 +/* f0a5e2c: c5e60004 */ lwc1 $f6,0x4($t7) +/* f0a5e30: 46062282 */ mul.s $f10,$f4,$f6 +/* f0a5e34: 00000000 */ nop +/* f0a5e38: 46080482 */ mul.s $f18,$f0,$f8 +/* f0a5e3c: 46125403 */ div.s $f16,$f10,$f18 +/* f0a5e40: e6100770 */ swc1 $f16,0x770($s0) +.PB0f0a5e44: +/* f0a5e44: c600076c */ lwc1 $f0,0x76c($s0) +/* f0a5e48: c6020770 */ lwc1 $f2,0x770($s0) +/* f0a5e4c: c7a4027c */ lwc1 $f4,0x27c($sp) +/* f0a5e50: c7a80280 */ lwc1 $f8,0x280($sp) +/* f0a5e54: 24090001 */ li $t1,0x1 +/* f0a5e58: 46002180 */ add.s $f6,$f4,$f0 +/* f0a5e5c: 24050040 */ li $a1,0x40 +/* f0a5e60: 46024281 */ sub.s $f10,$f8,$f2 +/* f0a5e64: e7a6027c */ swc1 $f6,0x27c($sp) +/* f0a5e68: e7aa0280 */ swc1 $f10,0x280($sp) +/* f0a5e6c: a2090007 */ sb $t1,0x7($s0) +/* f0a5e70: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a5e74: 8fa401cc */ lw $a0,0x1cc($sp) +/* f0a5e78: 50400018 */ beqzl $v0,.PB0f0a5edc +/* f0a5e7c: a2000007 */ sb $zero,0x7($s0) +/* f0a5e80: 8fa401cc */ lw $a0,0x1cc($sp) +/* f0a5e84: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a5e88: 24050080 */ li $a1,0x80 +/* f0a5e8c: 54400013 */ bnezl $v0,.PB0f0a5edc +/* f0a5e90: a2000007 */ sb $zero,0x7($s0) +/* f0a5e94: 8e020020 */ lw $v0,0x20($s0) +/* f0a5e98: 24010006 */ li $at,0x6 +/* f0a5e9c: 1041000e */ beq $v0,$at,.PB0f0a5ed8 +/* f0a5ea0: 24010007 */ li $at,0x7 +/* f0a5ea4: 5041000d */ beql $v0,$at,.PB0f0a5edc +/* f0a5ea8: a2000007 */ sb $zero,0x7($s0) +/* f0a5eac: 0fc277e0 */ jal 0xf09df80 +/* f0a5eb0: 00000000 */ nop +/* f0a5eb4: 50400009 */ beqzl $v0,.PB0f0a5edc +/* f0a5eb8: a2000007 */ sb $zero,0x7($s0) +/* f0a5ebc: 820d0008 */ lb $t5,0x8($s0) +/* f0a5ec0: 51a00006 */ beqzl $t5,.PB0f0a5edc +/* f0a5ec4: a2000007 */ sb $zero,0x7($s0) +/* f0a5ec8: 0fc277f4 */ jal 0xf09dfd0 +/* f0a5ecc: 00000000 */ nop +/* f0a5ed0: 54400003 */ bnezl $v0,.PB0f0a5ee0 +/* f0a5ed4: 820c0007 */ lb $t4,0x7($s0) +.PB0f0a5ed8: +/* f0a5ed8: a2000007 */ sb $zero,0x7($s0) +.PB0f0a5edc: +/* f0a5edc: 820c0007 */ lb $t4,0x7($s0) +.PB0f0a5ee0: +/* f0a5ee0: 11800031 */ beqz $t4,.PB0f0a5fa8 +/* f0a5ee4: 00000000 */ nop +/* f0a5ee8: 8faa01e0 */ lw $t2,0x1e0($sp) +/* f0a5eec: 8d421590 */ lw $v0,0x1590($t2) +/* f0a5ef0: 8444000e */ lh $a0,0xe($v0) +/* f0a5ef4: afa20288 */ sw $v0,0x288($sp) +/* f0a5ef8: 00045980 */ sll $t3,$a0,0x6 +/* f0a5efc: 0fc5a419 */ jal 0xf169064 +/* f0a5f00: 01602025 */ move $a0,$t3 +/* f0a5f04: afa2030c */ sw $v0,0x30c($sp) +/* f0a5f08: 8fa401cc */ lw $a0,0x1cc($sp) +/* f0a5f0c: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a5f10: 3c050200 */ lui $a1,0x200 +/* f0a5f14: 10400012 */ beqz $v0,.PB0f0a5f60 +/* f0a5f18: 8fb90288 */ lw $t9,0x288($sp) +/* f0a5f1c: 8738000e */ lh $t8,0xe($t9) +/* f0a5f20: 00001025 */ move $v0,$zero +/* f0a5f24: 8fa4030c */ lw $a0,0x30c($sp) +/* f0a5f28: 1b00000d */ blez $t8,.PB0f0a5f60 +/* f0a5f2c: 00000000 */ nop +/* f0a5f30: afa201d0 */ sw $v0,0x1d0($sp) +.PB0f0a5f34: +/* f0a5f34: 0c005900 */ jal 0x16400 +/* f0a5f38: afa4004c */ sw $a0,0x4c($sp) +/* f0a5f3c: 8fae0288 */ lw $t6,0x288($sp) +/* f0a5f40: 8fa201d0 */ lw $v0,0x1d0($sp) +/* f0a5f44: 8fa4004c */ lw $a0,0x4c($sp) +/* f0a5f48: 85cf000e */ lh $t7,0xe($t6) +/* f0a5f4c: 24420001 */ addiu $v0,$v0,0x1 +/* f0a5f50: 24840040 */ addiu $a0,$a0,0x40 +/* f0a5f54: 004f082a */ slt $at,$v0,$t7 +/* f0a5f58: 5420fff6 */ bnezl $at,.PB0f0a5f34 +/* f0a5f5c: afa201d0 */ sw $v0,0x1d0($sp) +.PB0f0a5f60: +/* f0a5f60: 0fc28c0b */ jal 0xf0a302c +/* f0a5f64: 8e040794 */ lw $a0,0x794($s0) +/* f0a5f68: 8fa901e0 */ lw $t1,0x1e0($sp) +/* f0a5f6c: 8d2d1594 */ lw $t5,0x1594($t1) +/* f0a5f70: 51a00004 */ beqzl $t5,.PB0f0a5f84 +/* f0a5f74: 02002025 */ move $a0,$s0 +/* f0a5f78: 0fc28c0b */ jal 0xf0a302c +/* f0a5f7c: 8e040798 */ lw $a0,0x798($s0) +/* f0a5f80: 02002025 */ move $a0,$s0 +.PB0f0a5f84: +/* f0a5f84: 0fc25fa8 */ jal 0xf097ea0 +/* f0a5f88: 8fa50288 */ lw $a1,0x288($sp) +/* f0a5f8c: 8fa401cc */ lw $a0,0x1cc($sp) +/* f0a5f90: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a5f94: 24052000 */ li $a1,0x2000 +/* f0a5f98: 10400003 */ beqz $v0,.PB0f0a5fa8 +/* f0a5f9c: 02002025 */ move $a0,$s0 +/* f0a5fa0: 0fc26016 */ jal 0xf098058 +/* f0a5fa4: 8fa50288 */ lw $a1,0x288($sp) +.PB0f0a5fa8: +/* f0a5fa8: 0c005900 */ jal 0x16400 +/* f0a5fac: 27a4023c */ addiu $a0,$sp,0x23c +/* f0a5fb0: 3c08800a */ lui $t0,0x800a +/* f0a5fb4: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0a5fb8: 8d0c006c */ lw $t4,0x6c($t0) +/* f0a5fbc: 24010001 */ li $at,0x1 +/* f0a5fc0: 51800004 */ beqzl $t4,.PB0f0a5fd4 +/* f0a5fc4: 00002825 */ move $a1,$zero +/* f0a5fc8: 10000002 */ b .PB0f0a5fd4 +/* f0a5fcc: 24050001 */ li $a1,0x1 +/* f0a5fd0: 00002825 */ move $a1,$zero +.PB0f0a5fd4: +/* f0a5fd4: 8d0a0068 */ lw $t2,0x68($t0) +/* f0a5fd8: 51400004 */ beqzl $t2,.PB0f0a5fec +/* f0a5fdc: 00002025 */ move $a0,$zero +/* f0a5fe0: 10000002 */ b .PB0f0a5fec +/* f0a5fe4: 24040001 */ li $a0,0x1 +/* f0a5fe8: 00002025 */ move $a0,$zero +.PB0f0a5fec: +/* f0a5fec: 8d0b0064 */ lw $t3,0x64($t0) +/* f0a5ff0: 51600004 */ beqzl $t3,.PB0f0a6004 +/* f0a5ff4: 00001825 */ move $v1,$zero +/* f0a5ff8: 10000002 */ b .PB0f0a6004 +/* f0a5ffc: 24030001 */ li $v1,0x1 +/* f0a6000: 00001825 */ move $v1,$zero +.PB0f0a6004: +/* f0a6004: 8d190070 */ lw $t9,0x70($t0) +/* f0a6008: 53200004 */ beqzl $t9,.PB0f0a601c +/* f0a600c: 00001025 */ move $v0,$zero +/* f0a6010: 10000002 */ b .PB0f0a601c +/* f0a6014: 24020001 */ li $v0,0x1 +/* f0a6018: 00001025 */ move $v0,$zero +.PB0f0a601c: +/* f0a601c: 0043c021 */ addu $t8,$v0,$v1 +/* f0a6020: 03047021 */ addu $t6,$t8,$a0 +/* f0a6024: 01c57821 */ addu $t7,$t6,$a1 +/* f0a6028: 15e10012 */ bne $t7,$at,.PB0f0a6074 +/* f0a602c: 3c098009 */ lui $t1,0x8009 +/* f0a6030: 91292fd0 */ lbu $t1,0x2fd0($t1) +/* f0a6034: 24010001 */ li $at,0x1 +/* f0a6038: 8fa401cc */ lw $a0,0x1cc($sp) +/* f0a603c: 5121000e */ beql $t1,$at,.PB0f0a6078 +/* f0a6040: 8e0a00b4 */ lw $t2,0xb4($s0) +/* f0a6044: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a6048: 3c050008 */ lui $a1,0x8 +/* f0a604c: 10400009 */ beqz $v0,.PB0f0a6074 +/* f0a6050: 02002025 */ move $a0,$s0 +/* f0a6054: 27ad028c */ addiu $t5,$sp,0x28c +/* f0a6058: 27ac023c */ addiu $t4,$sp,0x23c +/* f0a605c: afac0014 */ sw $t4,0x14($sp) +/* f0a6060: afad0010 */ sw $t5,0x10($sp) +/* f0a6064: 8fa50310 */ lw $a1,0x310($sp) +/* f0a6068: 27a6027c */ addiu $a2,$sp,0x27c +/* f0a606c: 0fc28cf9 */ jal 0xf0a33e4 +/* f0a6070: 8fa701d8 */ lw $a3,0x1d8($sp) +.PB0f0a6074: +/* f0a6074: 8e0a00b4 */ lw $t2,0xb4($s0) +.PB0f0a6078: +/* f0a6078: 51400017 */ beqzl $t2,.PB0f0a60d8 +/* f0a607c: 44800000 */ mtc1 $zero,$f0 +/* f0a6080: c7b2027c */ lwc1 $f18,0x27c($sp) +/* f0a6084: c61000a4 */ lwc1 $f16,0xa4($s0) +/* f0a6088: c7a60280 */ lwc1 $f6,0x280($sp) +/* f0a608c: 26040074 */ addiu $a0,$s0,0x74 +/* f0a6090: 46109100 */ add.s $f4,$f18,$f16 +/* f0a6094: c7b20284 */ lwc1 $f18,0x284($sp) +/* f0a6098: 27a5023c */ addiu $a1,$sp,0x23c +/* f0a609c: e7a4027c */ swc1 $f4,0x27c($sp) +/* f0a60a0: c60800a8 */ lwc1 $f8,0xa8($s0) +/* f0a60a4: 46083280 */ add.s $f10,$f6,$f8 +/* f0a60a8: e7aa0280 */ swc1 $f10,0x280($sp) +/* f0a60ac: c61000ac */ lwc1 $f16,0xac($s0) +/* f0a60b0: 46109100 */ add.s $f4,$f18,$f16 +/* f0a60b4: 0c00598c */ jal 0x16630 +/* f0a60b8: e7a40284 */ swc1 $f4,0x284($sp) +/* f0a60bc: 44800000 */ mtc1 $zero,$f0 +/* f0a60c0: 00000000 */ nop +/* f0a60c4: e7a0026c */ swc1 $f0,0x26c($sp) +/* f0a60c8: e7a00270 */ swc1 $f0,0x270($sp) +/* f0a60cc: 10000007 */ b .PB0f0a60ec +/* f0a60d0: e7a00274 */ swc1 $f0,0x274($sp) +/* f0a60d4: 44800000 */ mtc1 $zero,$f0 +.PB0f0a60d8: +/* f0a60d8: 00000000 */ nop +/* f0a60dc: e6000070 */ swc1 $f0,0x70($s0) +/* f0a60e0: e6000064 */ swc1 $f0,0x64($s0) +/* f0a60e4: e6000068 */ swc1 $f0,0x68($s0) +/* f0a60e8: e600006c */ swc1 $f0,0x6c($s0) +.PB0f0a60ec: +/* f0a60ec: c60600c4 */ lwc1 $f6,0xc4($s0) +/* f0a60f0: 44050000 */ mfc1 $a1,$f0 +/* f0a60f4: 44060000 */ mfc1 $a2,$f0 +/* f0a60f8: e7a60010 */ swc1 $f6,0x10($sp) +/* f0a60fc: c60800c8 */ lwc1 $f8,0xc8($s0) +/* f0a6100: 44070000 */ mfc1 $a3,$f0 +/* f0a6104: 27a4028c */ addiu $a0,$sp,0x28c +/* f0a6108: e7a80014 */ swc1 $f8,0x14($sp) +/* f0a610c: c60a00cc */ lwc1 $f10,0xcc($s0) +/* f0a6110: e7aa0018 */ swc1 $f10,0x18($sp) +/* f0a6114: c61200d0 */ lwc1 $f18,0xd0($s0) +/* f0a6118: e7b2001c */ swc1 $f18,0x1c($sp) +/* f0a611c: c61000d4 */ lwc1 $f16,0xd4($s0) +/* f0a6120: e7b00020 */ swc1 $f16,0x20($sp) +/* f0a6124: c60400d8 */ lwc1 $f4,0xd8($s0) +/* f0a6128: 0c005dea */ jal 0x177a8 +/* f0a612c: e7a40024 */ swc1 $f4,0x24($sp) +/* f0a6130: 27a4028c */ addiu $a0,$sp,0x28c +/* f0a6134: 0c00598c */ jal 0x16630 +/* f0a6138: 27a5023c */ addiu $a1,$sp,0x23c +/* f0a613c: 44800000 */ mtc1 $zero,$f0 +/* f0a6140: 3c017f1b */ lui $at,0x7f1b +/* f0a6144: c426e634 */ lwc1 $f6,-0x19cc($at) +/* f0a6148: 27a401ac */ addiu $a0,$sp,0x1ac +/* f0a614c: 27a5016c */ addiu $a1,$sp,0x16c +/* f0a6150: e7a001ac */ swc1 $f0,0x1ac($sp) +/* f0a6154: e7a001b4 */ swc1 $f0,0x1b4($sp) +/* f0a6158: 0c005bb7 */ jal 0x16edc +/* f0a615c: e7a601b0 */ swc1 $f6,0x1b0($sp) +/* f0a6160: 44804000 */ mtc1 $zero,$f8 +/* f0a6164: 27a40120 */ addiu $a0,$sp,0x120 +/* f0a6168: 8fa50310 */ lw $a1,0x310($sp) +/* f0a616c: 0fc289dd */ jal 0xf0a2774 +/* f0a6170: e7a801b0 */ swc1 $f8,0x1b0($sp) +/* f0a6174: c7ac0120 */ lwc1 $f12,0x120($sp) +/* f0a6178: c7ae0128 */ lwc1 $f14,0x128($sp) +/* f0a617c: 8fa6027c */ lw $a2,0x27c($sp) +/* f0a6180: 0fc289c7 */ jal 0xf0a271c +/* f0a6184: 8fa70284 */ lw $a3,0x284($sp) +/* f0a6188: 46000287 */ neg.s $f10,$f0 +/* f0a618c: c7ac0124 */ lwc1 $f12,0x124($sp) +/* f0a6190: e7aa01b0 */ swc1 $f10,0x1b0($sp) +/* f0a6194: c7ae0128 */ lwc1 $f14,0x128($sp) +/* f0a6198: 8fa60280 */ lw $a2,0x280($sp) +/* f0a619c: 0fc289c7 */ jal 0xf0a271c +/* f0a61a0: 8fa70284 */ lw $a3,0x284($sp) +/* f0a61a4: e7a001ac */ swc1 $f0,0x1ac($sp) +/* f0a61a8: c7b201ac */ lwc1 $f18,0x1ac($sp) +/* f0a61ac: 27a401ac */ addiu $a0,$sp,0x1ac +/* f0a61b0: 27a5012c */ addiu $a1,$sp,0x12c +/* f0a61b4: e6120234 */ swc1 $f18,0x234($s0) +/* f0a61b8: c7b001b0 */ lwc1 $f16,0x1b0($sp) +/* f0a61bc: 0c005bb7 */ jal 0x16edc +/* f0a61c0: e6100238 */ swc1 $f16,0x238($s0) +/* f0a61c4: 27a4012c */ addiu $a0,$sp,0x12c +/* f0a61c8: 27a5016c */ addiu $a1,$sp,0x16c +/* f0a61cc: 0c005914 */ jal 0x16450 +/* f0a61d0: 27a6028c */ addiu $a2,$sp,0x28c +/* f0a61d4: 27a4028c */ addiu $a0,$sp,0x28c +/* f0a61d8: 0c005913 */ jal 0x1644c +/* f0a61dc: 27a5023c */ addiu $a1,$sp,0x23c +/* f0a61e0: 27a4023c */ addiu $a0,$sp,0x23c +/* f0a61e4: 0c0059da */ jal 0x16768 +/* f0a61e8: 27a502cc */ addiu $a1,$sp,0x2cc +/* f0a61ec: 27a4027c */ addiu $a0,$sp,0x27c +/* f0a61f0: 0c005a09 */ jal 0x16824 +/* f0a61f4: 27a502cc */ addiu $a1,$sp,0x2cc +/* f0a61f8: 260502b4 */ addiu $a1,$s0,0x2b4 +/* f0a61fc: afa5004c */ sw $a1,0x4c($sp) +/* f0a6200: 0c0059da */ jal 0x16768 +/* f0a6204: 27a402cc */ addiu $a0,$sp,0x2cc +/* f0a6208: 260402f4 */ addiu $a0,$s0,0x2f4 +/* f0a620c: afa40044 */ sw $a0,0x44($sp) +/* f0a6210: 0c0059da */ jal 0x16768 +/* f0a6214: 26050334 */ addiu $a1,$s0,0x334 +/* f0a6218: 0fc2d6e2 */ jal 0xf0b5b88 +/* f0a621c: 00000000 */ nop +/* f0a6220: 00402025 */ move $a0,$v0 +/* f0a6224: 8fa5004c */ lw $a1,0x4c($sp) +/* f0a6228: 0c00598d */ jal 0x16634 +/* f0a622c: 8fa60044 */ lw $a2,0x44($sp) +/* f0a6230: 820b0007 */ lb $t3,0x7($s0) +/* f0a6234: 1160020f */ beqz $t3,.PB0f0a6a74 +/* f0a6238: 2405005a */ li $a1,0x5a +/* f0a623c: 8fa40288 */ lw $a0,0x288($sp) +.PB0f0a6240: +/* f0a6240: 0c006cdb */ jal 0x1b36c +/* f0a6244: afa5011c */ sw $a1,0x11c($sp) +/* f0a6248: 1040000c */ beqz $v0,.PB0f0a627c +/* f0a624c: 8fa5011c */ lw $a1,0x11c($sp) +/* f0a6250: 8c430004 */ lw $v1,0x4($v0) +/* f0a6254: 8fa901e8 */ lw $t1,0x1e8($sp) +/* f0a6258: 94790004 */ lhu $t9,0x4($v1) +/* f0a625c: 00096880 */ sll $t5,$t1,0x2 +/* f0a6260: 03ad6021 */ addu $t4,$sp,$t5 +/* f0a6264: 0019c080 */ sll $t8,$t9,0x2 +/* f0a6268: 02187021 */ addu $t6,$s0,$t8 +/* f0a626c: 25cf0434 */ addiu $t7,$t6,0x434 +/* f0a6270: ad8f01ec */ sw $t7,0x1ec($t4) +/* f0a6274: 252a0001 */ addiu $t2,$t1,0x1 +/* f0a6278: afaa01e8 */ sw $t2,0x1e8($sp) +.PB0f0a627c: +/* f0a627c: 24a50001 */ addiu $a1,$a1,0x1 +/* f0a6280: 2401005d */ li $at,0x5d +/* f0a6284: 54a1ffee */ bnel $a1,$at,.PB0f0a6240 +/* f0a6288: 8fa40288 */ lw $a0,0x288($sp) +/* f0a628c: 8fa2030c */ lw $v0,0x30c($sp) +/* f0a6290: 24050020 */ li $a1,0x20 +/* f0a6294: ae020390 */ sw $v0,0x390($s0) +/* f0a6298: ae020540 */ sw $v0,0x540($s0) +/* f0a629c: 0fc2c6f4 */ jal 0xf0b1bd0 +/* f0a62a0: 8fa401cc */ lw $a0,0x1cc($sp) +/* f0a62a4: 10400008 */ beqz $v0,.PB0f0a62c8 +/* f0a62a8: 00000000 */ nop +/* f0a62ac: 8fab0310 */ lw $t3,0x310($sp) +/* f0a62b0: 24010001 */ li $at,0x1 +/* f0a62b4: 15610004 */ bne $t3,$at,.PB0f0a62c8 +/* f0a62b8: 3c01bf80 */ lui $at,0xbf80 +/* f0a62bc: 44816000 */ mtc1 $at,$f12 +/* f0a62c0: 0c005a1d */ jal 0x16874 +/* f0a62c4: 27a502cc */ addiu $a1,$sp,0x2cc +.PB0f0a62c8: +/* f0a62c8: 3c017f1b */ lui $at,0x7f1b +/* f0a62cc: c42ce638 */ lwc1 $f12,-0x19c8($at) +/* f0a62d0: 0c005a55 */ jal 0x16954 +/* f0a62d4: 27a502cc */ addiu $a1,$sp,0x2cc +/* f0a62d8: 27a402cc */ addiu $a0,$sp,0x2cc +/* f0a62dc: 0c0059da */ jal 0x16768 +/* f0a62e0: 8fa5030c */ lw $a1,0x30c($sp) +/* f0a62e4: 8e190690 */ lw $t9,0x690($s0) +/* f0a62e8: 0019c0c0 */ sll $t8,$t9,0x3 +/* f0a62ec: 00187742 */ srl $t6,$t8,0x1d +/* f0a62f0: 19c00018 */ blez $t6,.PB0f0a6354 +/* f0a62f4: 00000000 */ nop +/* f0a62f8: 8fa801cc */ lw $t0,0x1cc($sp) +/* f0a62fc: 2401001c */ li $at,0x1c +/* f0a6300: 1101000d */ beq $t0,$at,.PB0f0a6338 +/* f0a6304: 2401001e */ li $at,0x1e +/* f0a6308: 11010003 */ beq $t0,$at,.PB0f0a6318 +/* f0a630c: 2401001f */ li $at,0x1f +/* f0a6310: 15010010 */ bne $t0,$at,.PB0f0a6354 +/* f0a6314: 00000000 */ nop +.PB0f0a6318: +/* f0a6318: 920f06d6 */ lbu $t7,0x6d6($s0) +/* f0a631c: 31edff0f */ andi $t5,$t7,0xff0f +/* f0a6320: 35a90010 */ ori $t1,$t5,0x10 +/* f0a6324: 312a00f1 */ andi $t2,$t1,0xf1 +/* f0a6328: a20906d6 */ sb $t1,0x6d6($s0) +/* f0a632c: 354b0002 */ ori $t3,$t2,0x2 +/* f0a6330: 10000008 */ b .PB0f0a6354 +/* f0a6334: a20b06d6 */ sb $t3,0x6d6($s0) +.PB0f0a6338: +/* f0a6338: 921906d6 */ lbu $t9,0x6d6($s0) +/* f0a633c: 3338ff0f */ andi $t8,$t9,0xff0f +/* f0a6340: 370f0010 */ ori $t7,$t8,0x10 +/* f0a6344: 31ed00f1 */ andi $t5,$t7,0xf1 +/* f0a6348: a20f06d6 */ sb $t7,0x6d6($s0) +/* f0a634c: 35ac0004 */ ori $t4,$t5,0x4 +/* f0a6350: a20c06d6 */ sb $t4,0x6d6($s0) +.PB0f0a6354: +/* f0a6354: 3c01800a */ lui $at,0x800a +/* f0a6358: ac30166c */ sw $s0,0x166c($at) +/* f0a635c: 960906d6 */ lhu $t1,0x6d6($s0) +/* f0a6360: 8fa801cc */ lw $t0,0x1cc($sp) +/* f0a6364: 00095302 */ srl $t2,$t1,0xc +/* f0a6368: 19400005 */ blez $t2,.PB0f0a6380 +/* f0a636c: 02002025 */ move $a0,$s0 +/* f0a6370: 8fa50288 */ lw $a1,0x288($sp) +/* f0a6374: 0fc29215 */ jal 0xf0a4854 +/* f0a6378: 8fa601c0 */ lw $a2,0x1c0($sp) +/* f0a637c: 8fa801cc */ lw $t0,0x1cc($sp) +.PB0f0a6380: +/* f0a6380: 240bffff */ li $t3,-1 +/* f0a6384: 3c01800a */ lui $at,0x800a +/* f0a6388: 3c03800a */ lui $v1,0x800a +/* f0a638c: ac2b1610 */ sw $t3,0x1610($at) +/* f0a6390: 24631618 */ addiu $v1,$v1,0x1618 +/* f0a6394: 2419ffff */ li $t9,-1 +/* f0a6398: 24010014 */ li $at,0x14 +/* f0a639c: ac790008 */ sw $t9,0x8($v1) +/* f0a63a0: ac790004 */ sw $t9,0x4($v1) +/* f0a63a4: 11010008 */ beq $t0,$at,.PB0f0a63c8 +/* f0a63a8: ac790000 */ sw $t9,0x0($v1) +/* f0a63ac: 2401001d */ li $at,0x1d +/* f0a63b0: 15010009 */ bne $t0,$at,.PB0f0a63d8 +/* f0a63b4: 00000000 */ nop +/* f0a63b8: 0fc2916e */ jal 0xf0a45b8 +/* f0a63bc: 02002025 */ move $a0,$s0 +/* f0a63c0: 10000005 */ b .PB0f0a63d8 +/* f0a63c4: 8fa801cc */ lw $t0,0x1cc($sp) +.PB0f0a63c8: +/* f0a63c8: 02002025 */ move $a0,$s0 +/* f0a63cc: 0fc28f4a */ jal 0xf0a3d28 +/* f0a63d0: 8fa50288 */ lw $a1,0x288($sp) +/* f0a63d4: 8fa801cc */ lw $t0,0x1cc($sp) +.PB0f0a63d8: +/* f0a63d8: 3c0e8007 */ lui $t6,0x8007 +/* f0a63dc: 25ce1fdc */ addiu $t6,$t6,0x1fdc +/* f0a63e0: 24050001 */ li $a1,0x1 +/* f0a63e4: 25cd003c */ addiu $t5,$t6,0x3c +/* f0a63e8: 27b800d8 */ addiu $t8,$sp,0xd8 +.PB0f0a63ec: +/* f0a63ec: 8dc10000 */ lw $at,0x0($t6) +/* f0a63f0: 25ce000c */ addiu $t6,$t6,0xc +/* f0a63f4: 2718000c */ addiu $t8,$t8,0xc +/* f0a63f8: af01fff4 */ sw $at,-0xc($t8) +/* f0a63fc: 8dc1fff8 */ lw $at,-0x8($t6) +/* f0a6400: af01fff8 */ sw $at,-0x8($t8) +/* f0a6404: 8dc1fffc */ lw $at,-0x4($t6) +/* f0a6408: 15cdfff8 */ bne $t6,$t5,.PB0f0a63ec +/* f0a640c: af01fffc */ sw $at,-0x4($t8) +/* f0a6410: 8dc10000 */ lw $at,0x0($t6) +/* f0a6414: 27ac02cc */ addiu $t4,$sp,0x2cc +/* f0a6418: 250bffec */ addiu $t3,$t0,-20 +/* f0a641c: af010000 */ sw $at,0x0($t8) +/* f0a6420: afac00d8 */ sw $t4,0xd8($sp) +/* f0a6424: 8e090390 */ lw $t1,0x390($s0) +/* f0a6428: 00003825 */ move $a3,$zero +/* f0a642c: 2d610022 */ sltiu $at,$t3,0x22 +/* f0a6430: afa900e8 */ sw $t1,0xe8($sp) +/* f0a6434: 8e0a068c */ lw $t2,0x68c($s0) +/* f0a6438: 11400002 */ beqz $t2,.PB0f0a6444 +/* f0a643c: 00000000 */ nop +/* f0a6440: 00002825 */ move $a1,$zero +.PB0f0a6444: +/* f0a6444: 1020001e */ beqz $at,.PB0f0a64c0 +/* f0a6448: 000b5880 */ sll $t3,$t3,0x2 +/* f0a644c: 3c017f1b */ lui $at,0x7f1b +/* f0a6450: 002b0821 */ addu $at,$at,$t3 +/* f0a6454: 8c2be63c */ lw $t3,-0x19c4($at) +/* f0a6458: 01600008 */ jr $t3 +/* f0a645c: 00000000 */ nop +/* f0a6460: 10000017 */ b .PB0f0a64c0 +/* f0a6464: 00002825 */ move $a1,$zero +/* f0a6468: 8fb901e0 */ lw $t9,0x1e0($sp) +/* f0a646c: 8f2f0ffc */ lw $t7,0xffc($t9) +/* f0a6470: 55e00003 */ bnezl $t7,.PB0f0a6480 +/* f0a6474: 8fad01e0 */ lw $t5,0x1e0($sp) +/* f0a6478: 00002825 */ move $a1,$zero +/* f0a647c: 8fad01e0 */ lw $t5,0x1e0($sp) +.PB0f0a6480: +/* f0a6480: 8fb801e0 */ lw $t8,0x1e0($sp) +/* f0a6484: 8fac0054 */ lw $t4,0x54($sp) +/* f0a6488: 8dae0858 */ lw $t6,0x858($t5) +/* f0a648c: 030c4821 */ addu $t1,$t8,$t4 +/* f0a6490: 55c00003 */ bnezl $t6,.PB0f0a64a0 +/* f0a6494: 8d220c3c */ lw $v0,0xc3c($t1) +/* f0a6498: 00002825 */ move $a1,$zero +/* f0a649c: 8d220c3c */ lw $v0,0xc3c($t1) +.PB0f0a64a0: +/* f0a64a0: 24010008 */ li $at,0x8 +/* f0a64a4: 54410003 */ bnel $v0,$at,.PB0f0a64b4 +/* f0a64a8: 24010004 */ li $at,0x4 +/* f0a64ac: 00002825 */ move $a1,$zero +/* f0a64b0: 24010004 */ li $at,0x4 +.PB0f0a64b4: +/* f0a64b4: 54410003 */ bnel $v0,$at,.PB0f0a64c4 +/* f0a64b8: 8faa01e0 */ lw $t2,0x1e0($sp) +/* f0a64bc: 00002825 */ move $a1,$zero +.PB0f0a64c0: +/* f0a64c0: 8faa01e0 */ lw $t2,0x1e0($sp) +.PB0f0a64c4: +/* f0a64c4: 8fab0054 */ lw $t3,0x54($sp) +/* f0a64c8: 961906d6 */ lhu $t9,0x6d6($s0) +/* f0a64cc: 24010005 */ li $at,0x5 +/* f0a64d0: 014b1821 */ addu $v1,$t2,$t3 +/* f0a64d4: 00197b02 */ srl $t7,$t9,0xc +/* f0a64d8: 11e00002 */ beqz $t7,.PB0f0a64e4 +/* f0a64dc: 8c620c3c */ lw $v0,0xc3c($v1) +/* f0a64e0: 00002825 */ move $a1,$zero +.PB0f0a64e4: +/* f0a64e4: 1441000a */ bne $v0,$at,.PB0f0a6510 +/* f0a64e8: 26040384 */ addiu $a0,$s0,0x384 +/* f0a64ec: 8c6d0c40 */ lw $t5,0xc40($v1) +/* f0a64f0: 8fae01c8 */ lw $t6,0x1c8($sp) +/* f0a64f4: 29a10002 */ slti $at,$t5,0x2 +/* f0a64f8: 50200006 */ beqzl $at,.PB0f0a6514 +/* f0a64fc: afa40054 */ sw $a0,0x54($sp) +/* f0a6500: 8dd80008 */ lw $t8,0x8($t6) +/* f0a6504: 53000003 */ beqzl $t8,.PB0f0a6514 +/* f0a6508: afa40054 */ sw $a0,0x54($sp) +/* f0a650c: 00002825 */ move $a1,$zero +.PB0f0a6510: +/* f0a6510: afa40054 */ sw $a0,0x54($sp) +.PB0f0a6514: +/* f0a6514: afa50118 */ sw $a1,0x118($sp) +/* f0a6518: 0c0076f3 */ jal 0x1dbcc +/* f0a651c: afa700d4 */ sw $a3,0xd4($sp) +/* f0a6520: 284100e5 */ slti $at,$v0,0xe5 +/* f0a6524: 8fa50118 */ lw $a1,0x118($sp) +/* f0a6528: 1420001a */ bnez $at,.PB0f0a6594 +/* f0a652c: 8fa700d4 */ lw $a3,0xd4($sp) +/* f0a6530: 28410116 */ slti $at,$v0,0x116 +/* f0a6534: 14200010 */ bnez $at,.PB0f0a6578 +/* f0a6538: 244cfc14 */ addiu $t4,$v0,-1004 +/* f0a653c: 28410418 */ slti $at,$v0,0x418 +/* f0a6540: 14200005 */ bnez $at,.PB0f0a6558 +/* f0a6544: 24010432 */ li $at,0x432 +/* f0a6548: 5041001c */ beql $v0,$at,.PB0f0a65bc +/* f0a654c: 24070001 */ li $a3,0x1 +/* f0a6550: 1000001a */ b .PB0f0a65bc +/* f0a6554: 00000000 */ nop +.PB0f0a6558: +/* f0a6558: 2d81002c */ sltiu $at,$t4,0x2c +/* f0a655c: 10200017 */ beqz $at,.PB0f0a65bc +/* f0a6560: 000c6080 */ sll $t4,$t4,0x2 +/* f0a6564: 3c017f1b */ lui $at,0x7f1b +/* f0a6568: 002c0821 */ addu $at,$at,$t4 +/* f0a656c: 8c2ce6c4 */ lw $t4,-0x193c($at) +/* f0a6570: 01800008 */ jr $t4 +/* f0a6574: 00000000 */ nop +.PB0f0a6578: +/* f0a6578: 240100ed */ li $at,0xed +/* f0a657c: 1041000e */ beq $v0,$at,.PB0f0a65b8 +/* f0a6580: 24010115 */ li $at,0x115 +/* f0a6584: 5041000d */ beql $v0,$at,.PB0f0a65bc +/* f0a6588: 24070001 */ li $a3,0x1 +/* f0a658c: 1000000b */ b .PB0f0a65bc +/* f0a6590: 00000000 */ nop +.PB0f0a6594: +/* f0a6594: 240100c1 */ li $at,0xc1 +/* f0a6598: 10410007 */ beq $v0,$at,.PB0f0a65b8 +/* f0a659c: 240100e2 */ li $at,0xe2 +/* f0a65a0: 10410005 */ beq $v0,$at,.PB0f0a65b8 +/* f0a65a4: 240100e3 */ li $at,0xe3 +/* f0a65a8: 10410003 */ beq $v0,$at,.PB0f0a65b8 +/* f0a65ac: 240100e4 */ li $at,0xe4 +/* f0a65b0: 14410002 */ bne $v0,$at,.PB0f0a65bc +/* f0a65b4: 00000000 */ nop +.PB0f0a65b8: +/* f0a65b8: 24070001 */ li $a3,0x1 +.PB0f0a65bc: +/* f0a65bc: 10a00041 */ beqz $a1,.PB0f0a66c4 +/* f0a65c0: 240e0001 */ li $t6,0x1 +/* f0a65c4: 8fa901e0 */ lw $t1,0x1e0($sp) +/* f0a65c8: 2401ffff */ li $at,-1 +/* f0a65cc: 27a40088 */ addiu $a0,$sp,0x88 +/* f0a65d0: 8d2a0dd4 */ lw $t2,0xdd4($t1) +/* f0a65d4: 55410022 */ bnel $t2,$at,.PB0f0a6660 +/* f0a65d8: 8e0a038c */ lw $t2,0x38c($s0) +/* f0a65dc: 0c005900 */ jal 0x16400 +/* f0a65e0: afa700d4 */ sw $a3,0xd4($sp) +/* f0a65e4: 8fb901e0 */ lw $t9,0x1e0($sp) +/* f0a65e8: 8e060390 */ lw $a2,0x390($s0) +/* f0a65ec: 27ab0088 */ addiu $t3,$sp,0x88 +/* f0a65f0: 8fa700d4 */ lw $a3,0xd4($sp) +/* f0a65f4: afab00d8 */ sw $t3,0xd8($sp) +/* f0a65f8: 8f2f0dd8 */ lw $t7,0xdd8($t9) +/* f0a65fc: 240d0001 */ li $t5,0x1 +/* f0a6600: 3c018006 */ lui $at,0x8006 +/* f0a6604: ac2d065c */ sw $t5,0x65c($at) +/* f0a6608: 10e00004 */ beqz $a3,.PB0f0a661c +/* f0a660c: afaf00e8 */ sw $t7,0xe8($sp) +/* f0a6610: 240e0001 */ li $t6,0x1 +/* f0a6614: 3c018006 */ lui $at,0x8006 +/* f0a6618: a02e0640 */ sb $t6,0x640($at) +.PB0f0a661c: +/* f0a661c: 27a400d8 */ addiu $a0,$sp,0xd8 +/* f0a6620: 8fa50054 */ lw $a1,0x54($sp) +/* f0a6624: afa600c8 */ sw $a2,0xc8($sp) +/* f0a6628: 0c007653 */ jal 0x1d94c +/* f0a662c: afa700d4 */ sw $a3,0xd4($sp) +/* f0a6630: 8fa700d4 */ lw $a3,0xd4($sp) +/* f0a6634: 3c018006 */ lui $at,0x8006 +/* f0a6638: 8fa600c8 */ lw $a2,0xc8($sp) +/* f0a663c: 10e00003 */ beqz $a3,.PB0f0a664c +/* f0a6640: ac20065c */ sw $zero,0x65c($at) +/* f0a6644: 3c018006 */ lui $at,0x8006 +/* f0a6648: a0200640 */ sb $zero,0x640($at) +.PB0f0a664c: +/* f0a664c: 8fac01e0 */ lw $t4,0x1e0($sp) +/* f0a6650: 24180001 */ li $t8,0x1 +/* f0a6654: ad980dd4 */ sw $t8,0xdd4($t4) +/* f0a6658: ae060390 */ sw $a2,0x390($s0) +/* f0a665c: 8e0a038c */ lw $t2,0x38c($s0) +.PB0f0a6660: +/* f0a6660: 8fa901e0 */ lw $t1,0x1e0($sp) +/* f0a6664: 8e060390 */ lw $a2,0x390($s0) +/* f0a6668: 854b000e */ lh $t3,0xe($t2) +/* f0a666c: 00001025 */ move $v0,$zero +/* f0a6670: 8d250dd8 */ lw $a1,0xdd8($t1) +/* f0a6674: 19600023 */ blez $t3,.PB0f0a6704 +/* f0a6678: 27a402cc */ addiu $a0,$sp,0x2cc +.PB0f0a667c: +/* f0a667c: afa200d0 */ sw $v0,0xd0($sp) +/* f0a6680: afa500cc */ sw $a1,0xcc($sp) +/* f0a6684: 0c00598d */ jal 0x16634 +/* f0a6688: afa600c8 */ sw $a2,0xc8($sp) +/* f0a668c: 8fb901dc */ lw $t9,0x1dc($sp) +/* f0a6690: 8fa200d0 */ lw $v0,0xd0($sp) +/* f0a6694: 8fa500cc */ lw $a1,0xcc($sp) +/* f0a6698: 8f2f038c */ lw $t7,0x38c($t9) +/* f0a669c: 8fa600c8 */ lw $a2,0xc8($sp) +/* f0a66a0: 24420001 */ addiu $v0,$v0,0x1 +/* f0a66a4: 85ed000e */ lh $t5,0xe($t7) +/* f0a66a8: 24a50040 */ addiu $a1,$a1,0x40 +/* f0a66ac: 24c60040 */ addiu $a2,$a2,0x40 +/* f0a66b0: 004d082a */ slt $at,$v0,$t5 +/* f0a66b4: 5420fff1 */ bnezl $at,.PB0f0a667c +/* f0a66b8: 27a402cc */ addiu $a0,$sp,0x2cc +/* f0a66bc: 10000011 */ b .PB0f0a6704 +/* f0a66c0: 00000000 */ nop +.PB0f0a66c4: +/* f0a66c4: 3c018006 */ lui $at,0x8006 +/* f0a66c8: 10e00004 */ beqz $a3,.PB0f0a66dc +/* f0a66cc: ac2e065c */ sw $t6,0x65c($at) +/* f0a66d0: 24180001 */ li $t8,0x1 +/* f0a66d4: 3c018006 */ lui $at,0x8006 +/* f0a66d8: a0380640 */ sb $t8,0x640($at) +.PB0f0a66dc: +/* f0a66dc: 27a400d8 */ addiu $a0,$sp,0xd8 +/* f0a66e0: 8fa50054 */ lw $a1,0x54($sp) +/* f0a66e4: 0c007653 */ jal 0x1d94c +/* f0a66e8: afa700d4 */ sw $a3,0xd4($sp) +/* f0a66ec: 8fa700d4 */ lw $a3,0xd4($sp) +/* f0a66f0: 3c018006 */ lui $at,0x8006 +/* f0a66f4: ac20065c */ sw $zero,0x65c($at) +/* f0a66f8: 10e00002 */ beqz $a3,.PB0f0a6704 +/* f0a66fc: 3c018006 */ lui $at,0x8006 +/* f0a6700: a0200640 */ sb $zero,0x640($at) +.PB0f0a6704: +/* f0a6704: 3c018006 */ lui $at,0x8006 +/* f0a6708: ac200664 */ sw $zero,0x664($at) +/* f0a670c: 8fa40288 */ lw $a0,0x288($sp) +/* f0a6710: 0c006cdb */ jal 0x1b36c +/* f0a6714: 24050033 */ li $a1,0x33 +/* f0a6718: 10400020 */ beqz $v0,.PB0f0a679c +/* f0a671c: 00402025 */ move $a0,$v0 +/* f0a6720: 0c006bdd */ jal 0x1af74 +/* f0a6724: 00002825 */ move $a1,$zero +/* f0a6728: afa20084 */ sw $v0,0x84($sp) +/* f0a672c: 0fc28970 */ jal 0xf0a25c0 +/* f0a6730: 8fa40310 */ lw $a0,0x310($sp) +/* f0a6734: 44800000 */ mtc1 $zero,$f0 +/* f0a6738: 8fa90084 */ lw $t1,0x84($sp) +/* f0a673c: 8fac030c */ lw $t4,0x30c($sp) +/* f0a6740: e7a00078 */ swc1 $f0,0x78($sp) +/* f0a6744: e7a0007c */ swc1 $f0,0x7c($sp) +/* f0a6748: c6040210 */ lwc1 $f4,0x210($s0) +/* f0a674c: 00095180 */ sll $t2,$t1,0x6 +/* f0a6750: 018a2021 */ addu $a0,$t4,$t2 +/* f0a6754: 46002187 */ neg.s $f6,$f4 +/* f0a6758: afa40054 */ sw $a0,0x54($sp) +/* f0a675c: e7a60080 */ swc1 $f6,0x80($sp) +/* f0a6760: 0c005958 */ jal 0x16560 +/* f0a6764: 27a50078 */ addiu $a1,$sp,0x78 +/* f0a6768: 8fa40054 */ lw $a0,0x54($sp) +/* f0a676c: c7aa0078 */ lwc1 $f10,0x78($sp) +/* f0a6770: c4880030 */ lwc1 $f8,0x30($a0) +/* f0a6774: c4900034 */ lwc1 $f16,0x34($a0) +/* f0a6778: 460a4480 */ add.s $f18,$f8,$f10 +/* f0a677c: c4880038 */ lwc1 $f8,0x38($a0) +/* f0a6780: e4920030 */ swc1 $f18,0x30($a0) +/* f0a6784: c7a4007c */ lwc1 $f4,0x7c($sp) +/* f0a6788: 46048180 */ add.s $f6,$f16,$f4 +/* f0a678c: e4860034 */ swc1 $f6,0x34($a0) +/* f0a6790: c7aa0080 */ lwc1 $f10,0x80($sp) +/* f0a6794: 460a4480 */ add.s $f18,$f8,$f10 +/* f0a6798: e4920038 */ swc1 $f18,0x38($a0) +.PB0f0a679c: +/* f0a679c: 8fab01ec */ lw $t3,0x1ec($sp) +/* f0a67a0: 02002025 */ move $a0,$s0 +/* f0a67a4: 51600003 */ beqzl $t3,.PB0f0a67b4 +/* f0a67a8: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f0a67ac: ad600000 */ sw $zero,0x0($t3) +/* f0a67b0: 8fb901f0 */ lw $t9,0x1f0($sp) +.PB0f0a67b4: +/* f0a67b4: 53200003 */ beqzl $t9,.PB0f0a67c4 +/* f0a67b8: 8faf01f4 */ lw $t7,0x1f4($sp) +/* f0a67bc: af200000 */ sw $zero,0x0($t9) +/* f0a67c0: 8faf01f4 */ lw $t7,0x1f4($sp) +.PB0f0a67c4: +/* f0a67c4: 51e00003 */ beqzl $t7,.PB0f0a67d4 +/* f0a67c8: 8fa201cc */ lw $v0,0x1cc($sp) +/* f0a67cc: ade00000 */ sw $zero,0x0($t7) +/* f0a67d0: 8fa201cc */ lw $v0,0x1cc($sp) +.PB0f0a67d4: +/* f0a67d4: 24010013 */ li $at,0x13 +/* f0a67d8: 8fa5030c */ lw $a1,0x30c($sp) +/* f0a67dc: 10410012 */ beq $v0,$at,.PB0f0a6828 +/* f0a67e0: 8fa601ec */ lw $a2,0x1ec($sp) +/* f0a67e4: 24010015 */ li $at,0x15 +/* f0a67e8: 10410006 */ beq $v0,$at,.PB0f0a6804 +/* f0a67ec: 8fa40288 */ lw $a0,0x288($sp) +/* f0a67f0: 24010017 */ li $at,0x17 +/* f0a67f4: 10410007 */ beq $v0,$at,.PB0f0a6814 +/* f0a67f8: 02002025 */ move $a0,$s0 +/* f0a67fc: 1000000d */ b .PB0f0a6834 +/* f0a6800: 8fa40288 */ lw $a0,0x288($sp) +.PB0f0a6804: +/* f0a6804: 0fc2904c */ jal 0xf0a4130 +/* f0a6808: 8fa5030c */ lw $a1,0x30c($sp) +/* f0a680c: 10000009 */ b .PB0f0a6834 +/* f0a6810: 8fa40288 */ lw $a0,0x288($sp) +.PB0f0a6814: +/* f0a6814: 8fa5030c */ lw $a1,0x30c($sp) +/* f0a6818: 0fc290c6 */ jal 0xf0a4318 +/* f0a681c: 8fa60288 */ lw $a2,0x288($sp) +/* f0a6820: 10000004 */ b .PB0f0a6834 +/* f0a6824: 8fa40288 */ lw $a0,0x288($sp) +.PB0f0a6828: +/* f0a6828: 0fc29108 */ jal 0xf0a4420 +/* f0a682c: 8fa70288 */ lw $a3,0x288($sp) +/* f0a6830: 8fa40288 */ lw $a0,0x288($sp) +.PB0f0a6834: +/* f0a6834: 0c006cdb */ jal 0x1b36c +/* f0a6838: 24050032 */ li $a1,0x32 +/* f0a683c: 8fad01cc */ lw $t5,0x1cc($sp) +/* f0a6840: 24010014 */ li $at,0x14 +/* f0a6844: 00402025 */ move $a0,$v0 +/* f0a6848: 15a1001b */ bne $t5,$at,.PB0f0a68b8 +/* f0a684c: 00000000 */ nop +/* f0a6850: 820e0005 */ lb $t6,0x5($s0) +/* f0a6854: 55c00006 */ bnezl $t6,.PB0f0a6870 +/* f0a6858: 8e050558 */ lw $a1,0x558($s0) +/* f0a685c: 82180004 */ lb $t8,0x4($s0) +/* f0a6860: 3c05800a */ lui $a1,0x800a +/* f0a6864: 1300000b */ beqz $t8,.PB0f0a6894 +/* f0a6868: 00000000 */ nop +/* f0a686c: 8e050558 */ lw $a1,0x558($s0) +.PB0f0a6870: +/* f0a6870: 24010003 */ li $at,0x3 +/* f0a6874: 8fa40288 */ lw $a0,0x288($sp) +/* f0a6878: 00a1001a */ div $zero,$a1,$at +/* f0a687c: 00004810 */ mfhi $t1 +/* f0a6880: 2525001e */ addiu $a1,$t1,0x1e +/* f0a6884: 0c006cdb */ jal 0x1b36c +/* f0a6888: 00000000 */ nop +/* f0a688c: 1000000a */ b .PB0f0a68b8 +/* f0a6890: 00402025 */ move $a0,$v0 +.PB0f0a6894: +/* f0a6894: 8ca5e4dc */ lw $a1,-0x1b24($a1) +/* f0a6898: 24010003 */ li $at,0x3 +/* f0a689c: 8fa40288 */ lw $a0,0x288($sp) +/* f0a68a0: 00a1001a */ div $zero,$a1,$at +/* f0a68a4: 00006010 */ mfhi $t4 +/* f0a68a8: 2585001e */ addiu $a1,$t4,0x1e +/* f0a68ac: 0c006cdb */ jal 0x1b36c +/* f0a68b0: 00000000 */ nop +/* f0a68b4: 00402025 */ move $a0,$v0 +.PB0f0a68b8: +/* f0a68b8: 10400038 */ beqz $v0,.PB0f0a699c +/* f0a68bc: 8fad01cc */ lw $t5,0x1cc($sp) +/* f0a68c0: 0c006bdd */ jal 0x1af74 +/* f0a68c4: 00002825 */ move $a1,$zero +/* f0a68c8: 8faa030c */ lw $t2,0x30c($sp) +/* f0a68cc: 00025980 */ sll $t3,$v0,0x6 +/* f0a68d0: afa20070 */ sw $v0,0x70($sp) +/* f0a68d4: 014b2021 */ addu $a0,$t2,$t3 +/* f0a68d8: c4900030 */ lwc1 $f16,0x30($a0) +/* f0a68dc: 26050620 */ addiu $a1,$s0,0x620 +/* f0a68e0: e6100374 */ swc1 $f16,0x374($s0) +/* f0a68e4: c4840034 */ lwc1 $f4,0x34($a0) +/* f0a68e8: e6040378 */ swc1 $f4,0x378($s0) +/* f0a68ec: c4860038 */ lwc1 $f6,0x38($a0) +/* f0a68f0: 0c0059da */ jal 0x16768 +/* f0a68f4: e606037c */ swc1 $f6,0x37c($s0) +/* f0a68f8: 0fc2d6e2 */ jal 0xf0b5b88 +/* f0a68fc: 00000000 */ nop +/* f0a6900: 00402025 */ move $a0,$v0 +/* f0a6904: 0c00596d */ jal 0x165b4 +/* f0a6908: 26050374 */ addiu $a1,$s0,0x374 +/* f0a690c: 8fa20070 */ lw $v0,0x70($sp) +/* f0a6910: 8fb9030c */ lw $t9,0x30c($sp) +/* f0a6914: 820e0005 */ lb $t6,0x5($s0) +/* f0a6918: 00027980 */ sll $t7,$v0,0x6 +/* f0a691c: 032f6821 */ addu $t5,$t9,$t7 +/* f0a6920: c5a80038 */ lwc1 $f8,0x38($t5) +/* f0a6924: 46004287 */ neg.s $f10,$f8 +/* f0a6928: 11c0005e */ beqz $t6,.PB0f0a6aa4 +/* f0a692c: e60a0380 */ swc1 $f10,0x380($s0) +/* f0a6930: 8fb801e8 */ lw $t8,0x1e8($sp) +/* f0a6934: 8fa901cc */ lw $t1,0x1cc($sp) +/* f0a6938: 24010013 */ li $at,0x13 +/* f0a693c: 5b00005a */ blezl $t8,.PB0f0a6aa8 +/* f0a6940: 8fb901cc */ lw $t9,0x1cc($sp) +/* f0a6944: 11210057 */ beq $t1,$at,.PB0f0a6aa4 +/* f0a6948: 3c0c800a */ lui $t4,0x800a +/* f0a694c: 8d8ce504 */ lw $t4,-0x1afc($t4) +/* f0a6950: 02002025 */ move $a0,$s0 +/* f0a6954: 8fa501c8 */ lw $a1,0x1c8($sp) +/* f0a6958: 11800052 */ beqz $t4,.PB0f0a6aa4 +/* f0a695c: 8fa60288 */ lw $a2,0x288($sp) +/* f0a6960: 8faa030c */ lw $t2,0x30c($sp) +/* f0a6964: 27ab01ec */ addiu $t3,$sp,0x1ec +/* f0a6968: 27b9023c */ addiu $t9,$sp,0x23c +/* f0a696c: 27af01fc */ addiu $t7,$sp,0x1fc +/* f0a6970: afaf0028 */ sw $t7,0x28($sp) +/* f0a6974: afb90024 */ sw $t9,0x24($sp) +/* f0a6978: afab001c */ sw $t3,0x1c($sp) +/* f0a697c: 8fa701d8 */ lw $a3,0x1d8($sp) +/* f0a6980: afb80010 */ sw $t8,0x10($sp) +/* f0a6984: afa90018 */ sw $t1,0x18($sp) +/* f0a6988: afa20020 */ sw $v0,0x20($sp) +/* f0a698c: 0fc2942b */ jal 0xf0a50ac +/* f0a6990: afaa0014 */ sw $t2,0x14($sp) +/* f0a6994: 10000044 */ b .PB0f0a6aa8 +/* f0a6998: 8fb901cc */ lw $t9,0x1cc($sp) +.PB0f0a699c: +/* f0a699c: 2401001e */ li $at,0x1e +/* f0a69a0: 11a1000a */ beq $t5,$at,.PB0f0a69cc +/* f0a69a4: 8fa40288 */ lw $a0,0x288($sp) +/* f0a69a8: 24010020 */ li $at,0x20 +/* f0a69ac: 11a10007 */ beq $t5,$at,.PB0f0a69cc +/* f0a69b0: 24010022 */ li $at,0x22 +/* f0a69b4: 11a10005 */ beq $t5,$at,.PB0f0a69cc +/* f0a69b8: 24010021 */ li $at,0x21 +/* f0a69bc: 11a10003 */ beq $t5,$at,.PB0f0a69cc +/* f0a69c0: 2401001f */ li $at,0x1f +/* f0a69c4: 15a1001f */ bne $t5,$at,.PB0f0a6a44 +/* f0a69c8: 26050620 */ addiu $a1,$s0,0x620 +.PB0f0a69cc: +/* f0a69cc: 0c006cdb */ jal 0x1b36c +/* f0a69d0: 24050037 */ li $a1,0x37 +/* f0a69d4: 00402025 */ move $a0,$v0 +/* f0a69d8: 0c006bdd */ jal 0x1af74 +/* f0a69dc: 00002825 */ move $a1,$zero +/* f0a69e0: 8fae030c */ lw $t6,0x30c($sp) +/* f0a69e4: 00026180 */ sll $t4,$v0,0x6 +/* f0a69e8: afa20070 */ sw $v0,0x70($sp) +/* f0a69ec: 01cc2021 */ addu $a0,$t6,$t4 +/* f0a69f0: c4920030 */ lwc1 $f18,0x30($a0) +/* f0a69f4: 26050620 */ addiu $a1,$s0,0x620 +/* f0a69f8: e6120374 */ swc1 $f18,0x374($s0) +/* f0a69fc: c4900034 */ lwc1 $f16,0x34($a0) +/* f0a6a00: e6100378 */ swc1 $f16,0x378($s0) +/* f0a6a04: c4840038 */ lwc1 $f4,0x38($a0) +/* f0a6a08: 0c0059da */ jal 0x16768 +/* f0a6a0c: e604037c */ swc1 $f4,0x37c($s0) +/* f0a6a10: 0fc2d6e2 */ jal 0xf0b5b88 +/* f0a6a14: 00000000 */ nop +/* f0a6a18: 00402025 */ move $a0,$v0 +/* f0a6a1c: 0c00596d */ jal 0x165b4 +/* f0a6a20: 26050374 */ addiu $a1,$s0,0x374 +/* f0a6a24: 8faa0070 */ lw $t2,0x70($sp) +/* f0a6a28: 8fb8030c */ lw $t8,0x30c($sp) +/* f0a6a2c: 000a4980 */ sll $t1,$t2,0x6 +/* f0a6a30: 03095821 */ addu $t3,$t8,$t1 +/* f0a6a34: c5660038 */ lwc1 $f6,0x38($t3) +/* f0a6a38: 46003207 */ neg.s $f8,$f6 +/* f0a6a3c: 10000019 */ b .PB0f0a6aa4 +/* f0a6a40: e6080380 */ swc1 $f8,0x380($s0) +.PB0f0a6a44: +/* f0a6a44: c60a0324 */ lwc1 $f10,0x324($s0) +/* f0a6a48: c6120328 */ lwc1 $f18,0x328($s0) +/* f0a6a4c: c610032c */ lwc1 $f16,0x32c($s0) +/* f0a6a50: e60a0374 */ swc1 $f10,0x374($s0) +/* f0a6a54: e6120378 */ swc1 $f18,0x378($s0) +/* f0a6a58: e610037c */ swc1 $f16,0x37c($s0) +/* f0a6a5c: 0c0059da */ jal 0x16768 +/* f0a6a60: 8fa40044 */ lw $a0,0x44($sp) +/* f0a6a64: c60402ec */ lwc1 $f4,0x2ec($s0) +/* f0a6a68: 46002187 */ neg.s $f6,$f4 +/* f0a6a6c: 1000000d */ b .PB0f0a6aa4 +/* f0a6a70: e6060380 */ swc1 $f6,0x380($s0) +.PB0f0a6a74: +/* f0a6a74: c6080324 */ lwc1 $f8,0x324($s0) +/* f0a6a78: c60a0328 */ lwc1 $f10,0x328($s0) +/* f0a6a7c: c612032c */ lwc1 $f18,0x32c($s0) +/* f0a6a80: e6080374 */ swc1 $f8,0x374($s0) +/* f0a6a84: e60a0378 */ swc1 $f10,0x378($s0) +/* f0a6a88: e612037c */ swc1 $f18,0x37c($s0) +/* f0a6a8c: 8fa40044 */ lw $a0,0x44($sp) +/* f0a6a90: 0c0059da */ jal 0x16768 +/* f0a6a94: 26050620 */ addiu $a1,$s0,0x620 +/* f0a6a98: c61002ec */ lwc1 $f16,0x2ec($s0) +/* f0a6a9c: 46008107 */ neg.s $f4,$f16 +/* f0a6aa0: e6040380 */ swc1 $f4,0x380($s0) +.PB0f0a6aa4: +/* f0a6aa4: 8fb901cc */ lw $t9,0x1cc($sp) +.PB0f0a6aa8: +/* f0a6aa8: 24010008 */ li $at,0x8 +/* f0a6aac: 1321000a */ beq $t9,$at,.PB0f0a6ad8 +/* f0a6ab0: 24010009 */ li $at,0x9 +/* f0a6ab4: 13210008 */ beq $t9,$at,.PB0f0a6ad8 +/* f0a6ab8: 24010018 */ li $at,0x18 +/* f0a6abc: 1721000f */ bne $t9,$at,.PB0f0a6afc +/* f0a6ac0: 02002025 */ move $a0,$s0 +/* f0a6ac4: 8fa50310 */ lw $a1,0x310($sp) +/* f0a6ac8: 0fc291fd */ jal 0xf0a47f4 +/* f0a6acc: 8fa601d8 */ lw $a2,0x1d8($sp) +/* f0a6ad0: 1000000b */ b .PB0f0a6b00 +/* f0a6ad4: 820c0004 */ lb $t4,0x4($s0) +.PB0f0a6ad8: +/* f0a6ad8: 8e0f0690 */ lw $t7,0x690($s0) +/* f0a6adc: 02002025 */ move $a0,$s0 +/* f0a6ae0: 8fa50310 */ lw $a1,0x310($sp) +/* f0a6ae4: 000f68c0 */ sll $t5,$t7,0x3 +/* f0a6ae8: 000d7742 */ srl $t6,$t5,0x1d +/* f0a6aec: 19c00003 */ blez $t6,.PB0f0a6afc +/* f0a6af0: 8fa60288 */ lw $a2,0x288($sp) +/* f0a6af4: 0fc291af */ jal 0xf0a46bc +/* f0a6af8: 8fa7030c */ lw $a3,0x30c($sp) +.PB0f0a6afc: +/* f0a6afc: 820c0004 */ lb $t4,0x4($s0) +.PB0f0a6b00: +/* f0a6b00: 1180000c */ beqz $t4,.PB0f0a6b34 +/* f0a6b04: 3c0a800a */ lui $t2,0x800a +/* f0a6b08: 8d4ae504 */ lw $t2,-0x1afc($t2) +/* f0a6b0c: 02002025 */ move $a0,$s0 +/* f0a6b10: 8fa50310 */ lw $a1,0x310($sp) +/* f0a6b14: 11400007 */ beqz $t2,.PB0f0a6b34 +/* f0a6b18: 8fa601d8 */ lw $a2,0x1d8($sp) +/* f0a6b1c: 8fb80288 */ lw $t8,0x288($sp) +/* f0a6b20: 8fa9030c */ lw $t1,0x30c($sp) +/* f0a6b24: 8fa701cc */ lw $a3,0x1cc($sp) +/* f0a6b28: afb80010 */ sw $t8,0x10($sp) +/* f0a6b2c: 0fc2955a */ jal 0xf0a5568 +/* f0a6b30: afa90014 */ sw $t1,0x14($sp) +.PB0f0a6b34: +/* f0a6b34: 3c0b800a */ lui $t3,0x800a +/* f0a6b38: 8d6be53c */ lw $t3,-0x1ac4($t3) +/* f0a6b3c: 3c19800a */ lui $t9,0x800a +/* f0a6b40: 3c0f800a */ lui $t7,0x800a +/* f0a6b44: 11600003 */ beqz $t3,.PB0f0a6b54 +/* f0a6b48: 3c0d800a */ lui $t5,0x800a +/* f0a6b4c: 10000002 */ b .PB0f0a6b58 +/* f0a6b50: 24050001 */ li $a1,0x1 +.PB0f0a6b54: +/* f0a6b54: 00002825 */ move $a1,$zero +.PB0f0a6b58: +/* f0a6b58: 8f39e538 */ lw $t9,-0x1ac8($t9) +/* f0a6b5c: 24010001 */ li $at,0x1 +/* f0a6b60: 00002025 */ move $a0,$zero +/* f0a6b64: 13200003 */ beqz $t9,.PB0f0a6b74 +/* f0a6b68: 00000000 */ nop +/* f0a6b6c: 10000001 */ b .PB0f0a6b74 +/* f0a6b70: 24040001 */ li $a0,0x1 +.PB0f0a6b74: +/* f0a6b74: 8defe534 */ lw $t7,-0x1acc($t7) +/* f0a6b78: 00001825 */ move $v1,$zero +/* f0a6b7c: 11e00003 */ beqz $t7,.PB0f0a6b8c +/* f0a6b80: 00000000 */ nop +/* f0a6b84: 10000001 */ b .PB0f0a6b8c +/* f0a6b88: 24030001 */ li $v1,0x1 +.PB0f0a6b8c: +/* f0a6b8c: 8dade540 */ lw $t5,-0x1ac0($t5) +/* f0a6b90: 00001025 */ move $v0,$zero +/* f0a6b94: 3c188009 */ lui $t8,0x8009 +/* f0a6b98: 11a00003 */ beqz $t5,.PB0f0a6ba8 +/* f0a6b9c: 00000000 */ nop +/* f0a6ba0: 10000001 */ b .PB0f0a6ba8 +/* f0a6ba4: 24020001 */ li $v0,0x1 +.PB0f0a6ba8: +/* f0a6ba8: 00437021 */ addu $t6,$v0,$v1 +/* f0a6bac: 01c46021 */ addu $t4,$t6,$a0 +/* f0a6bb0: 01855021 */ addu $t2,$t4,$a1 +/* f0a6bb4: 5541000e */ bnel $t2,$at,.PB0f0a6bf0 +/* f0a6bb8: 960b06d6 */ lhu $t3,0x6d6($s0) +/* f0a6bbc: 93182fd0 */ lbu $t8,0x2fd0($t8) +/* f0a6bc0: 24010001 */ li $at,0x1 +/* f0a6bc4: 3c09800a */ lui $t1,0x800a +/* f0a6bc8: 53010009 */ beql $t8,$at,.PB0f0a6bf0 +/* f0a6bcc: 960b06d6 */ lhu $t3,0x6d6($s0) +/* f0a6bd0: 8d29e504 */ lw $t1,-0x1afc($t1) +/* f0a6bd4: 02002025 */ move $a0,$s0 +/* f0a6bd8: 8fa50310 */ lw $a1,0x310($sp) +/* f0a6bdc: 11200003 */ beqz $t1,.PB0f0a6bec +/* f0a6be0: 8fa601cc */ lw $a2,0x1cc($sp) +/* f0a6be4: 0fc28dc5 */ jal 0xf0a3714 +/* f0a6be8: 8fa701d8 */ lw $a3,0x1d8($sp) +.PB0f0a6bec: +/* f0a6bec: 960b06d6 */ lhu $t3,0x6d6($s0) +.PB0f0a6bf0: +/* f0a6bf0: 02002025 */ move $a0,$s0 +/* f0a6bf4: 8fa50288 */ lw $a1,0x288($sp) +/* f0a6bf8: 000bcb02 */ srl $t9,$t3,0xc +/* f0a6bfc: 1b200003 */ blez $t9,.PB0f0a6c0c +/* f0a6c00: 00000000 */ nop +/* f0a6c04: 0fc2924a */ jal 0xf0a4928 +/* f0a6c08: 8fa601c0 */ lw $a2,0x1c0($sp) +.PB0f0a6c0c: +/* f0a6c0c: 3c0f800a */ lui $t7,0x800a +/* f0a6c10: 8defe53c */ lw $t7,-0x1ac4($t7) +/* f0a6c14: 3c02800a */ lui $v0,0x800a +/* f0a6c18: 3c03800a */ lui $v1,0x800a +/* f0a6c1c: 3c06800a */ lui $a2,0x800a +/* f0a6c20: 8cc6e540 */ lw $a2,-0x1ac0($a2) +/* f0a6c24: 8c63e534 */ lw $v1,-0x1acc($v1) +/* f0a6c28: 11e00003 */ beqz $t7,.PB0f0a6c38 +/* f0a6c2c: 8c42e538 */ lw $v0,-0x1ac8($v0) +/* f0a6c30: 10000002 */ b .PB0f0a6c3c +/* f0a6c34: 24050001 */ li $a1,0x1 +.PB0f0a6c38: +/* f0a6c38: 00002825 */ move $a1,$zero +.PB0f0a6c3c: +/* f0a6c3c: 10400003 */ beqz $v0,.PB0f0a6c4c +/* f0a6c40: 24010001 */ li $at,0x1 +/* f0a6c44: 10000002 */ b .PB0f0a6c50 +/* f0a6c48: 24040001 */ li $a0,0x1 +.PB0f0a6c4c: +/* f0a6c4c: 00002025 */ move $a0,$zero +.PB0f0a6c50: +/* f0a6c50: 10600003 */ beqz $v1,.PB0f0a6c60 +/* f0a6c54: 00001025 */ move $v0,$zero +/* f0a6c58: 10000002 */ b .PB0f0a6c64 +/* f0a6c5c: 24030001 */ li $v1,0x1 +.PB0f0a6c60: +/* f0a6c60: 00001825 */ move $v1,$zero +.PB0f0a6c64: +/* f0a6c64: 10c00003 */ beqz $a2,.PB0f0a6c74 +/* f0a6c68: 3c0a8009 */ lui $t2,0x8009 +/* f0a6c6c: 10000001 */ b .PB0f0a6c74 +/* f0a6c70: 24020001 */ li $v0,0x1 +.PB0f0a6c74: +/* f0a6c74: 00436821 */ addu $t5,$v0,$v1 +/* f0a6c78: 01a47021 */ addu $t6,$t5,$a0 +/* f0a6c7c: 01c56021 */ addu $t4,$t6,$a1 +/* f0a6c80: 15810013 */ bne $t4,$at,.PB0f0a6cd0 +/* f0a6c84: 00000000 */ nop +/* f0a6c88: 914a2fd0 */ lbu $t2,0x2fd0($t2) +/* f0a6c8c: 24010001 */ li $at,0x1 +/* f0a6c90: 1141000f */ beq $t2,$at,.PB0f0a6cd0 +/* f0a6c94: 00000000 */ nop +/* f0a6c98: 82180007 */ lb $t8,0x7($s0) +/* f0a6c9c: 8fa901cc */ lw $t1,0x1cc($sp) +/* f0a6ca0: 1300000b */ beqz $t8,.PB0f0a6cd0 +/* f0a6ca4: 29210002 */ slti $at,$t1,0x2 +/* f0a6ca8: 14200009 */ bnez $at,.PB0f0a6cd0 +/* f0a6cac: 29210005 */ slti $at,$t1,0x5 +/* f0a6cb0: 10200007 */ beqz $at,.PB0f0a6cd0 +/* f0a6cb4: 02002025 */ move $a0,$s0 +/* f0a6cb8: 8fa50288 */ lw $a1,0x288($sp) +/* f0a6cbc: 8fa60310 */ lw $a2,0x310($sp) +/* f0a6cc0: 0fc28e8e */ jal 0xf0a3a38 +/* f0a6cc4: 8fa7030c */ lw $a3,0x30c($sp) +/* f0a6cc8: 10000004 */ b .PB0f0a6cdc +/* f0a6ccc: 44803000 */ mtc1 $zero,$f6 +.PB0f0a6cd0: +/* f0a6cd0: 0fc2c1fa */ jal 0xf0b07e8 +/* f0a6cd4: 8fa40310 */ lw $a0,0x310($sp) +/* f0a6cd8: 44803000 */ mtc1 $zero,$f6 +.PB0f0a6cdc: +/* f0a6cdc: ae000684 */ sw $zero,0x684($s0) +/* f0a6ce0: e6060688 */ swc1 $f6,0x688($s0) +/* f0a6ce4: 8fbf003c */ lw $ra,0x3c($sp) +/* f0a6ce8: 8fb00038 */ lw $s0,0x38($sp) +/* f0a6cec: 27bd0310 */ addiu $sp,$sp,0x310 +/* f0a6cf0: 03e00008 */ jr $ra +/* f0a6cf4: 00000000 */ nop +); #else GLOBAL_ASM( glabel bgun0f0a5550 @@ -27899,7 +31097,7 @@ void bgunSetTriggerOn(s32 handnum, bool on) } } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel bgunConsiderToggleGunFunction .late_rodata @@ -30059,6 +33257,629 @@ glabel bgunRenderHudGauge /* f0aad2c: 03e00008 */ jr $ra /* f0aad30: 24420008 */ addiu $v0,$v0,0x8 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgunRenderHudGauge +/* f0aa36c: 27bdff28 */ addiu $sp,$sp,-216 +/* f0aa370: afbe0038 */ sw $s8,0x38($sp) +/* f0aa374: afa600e0 */ sw $a2,0xe0($sp) +/* f0aa378: 8fbe00e8 */ lw $s8,0xe8($sp) +/* f0aa37c: 8fae00e0 */ lw $t6,0xe0($sp) +/* f0aa380: afb00018 */ sw $s0,0x18($sp) +/* f0aa384: 8fb000f4 */ lw $s0,0xf4($sp) +/* f0aa388: afb20020 */ sw $s2,0x20($sp) +/* f0aa38c: afb1001c */ sw $s1,0x1c($sp) +/* f0aa390: 00808825 */ move $s1,$a0 +/* f0aa394: afbf003c */ sw $ra,0x3c($sp) +/* f0aa398: afa500dc */ sw $a1,0xdc($sp) +/* f0aa39c: afa700e4 */ sw $a3,0xe4($sp) +/* f0aa3a0: 03ce9023 */ subu $s2,$s8,$t6 +/* f0aa3a4: afb70034 */ sw $s7,0x34($sp) +/* f0aa3a8: afb60030 */ sw $s6,0x30($sp) +/* f0aa3ac: afb5002c */ sw $s5,0x2c($sp) +/* f0aa3b0: afb40028 */ sw $s4,0x28($sp) +/* f0aa3b4: afb30024 */ sw $s3,0x24($sp) +/* f0aa3b8: 02403825 */ move $a3,$s2 +/* f0aa3bc: 8fa500f0 */ lw $a1,0xf0($sp) +/* f0aa3c0: 8fa400ec */ lw $a0,0xec($sp) +/* f0aa3c4: afb000bc */ sw $s0,0xbc($sp) +/* f0aa3c8: 0fc2a851 */ jal 0xf0aa144 +/* f0aa3cc: 02003025 */ move $a2,$s0 +/* f0aa3d0: 2a010015 */ slti $at,$s0,0x15 +/* f0aa3d4: 8fa800ec */ lw $t0,0xec($sp) +/* f0aa3d8: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa3dc: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa3e0: 14200008 */ bnez $at,.PB0f0aa404 +/* f0aa3e4: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa3e8: 810f0004 */ lb $t7,0x4($t0) +/* f0aa3ec: 24160001 */ li $s6,0x1 +/* f0aa3f0: afb200bc */ sw $s2,0xbc($sp) +/* f0aa3f4: 448f2000 */ mtc1 $t7,$f4 +/* f0aa3f8: 03d23023 */ subu $a2,$s8,$s2 +/* f0aa3fc: 1000002b */ b .PB0f0aa4ac +/* f0aa400: 46802020 */ cvt.s.w $f0,$f4 +.PB0f0aa404: +/* f0aa404: 0250001a */ div $zero,$s2,$s0 +/* f0aa408: 00001012 */ mflo $v0 +/* f0aa40c: 24470001 */ addiu $a3,$v0,0x1 +/* f0aa410: 81180004 */ lb $t8,0x4($t0) +/* f0aa414: 00500019 */ multu $v0,$s0 +/* f0aa418: 0040b025 */ move $s6,$v0 +/* f0aa41c: 44983000 */ mtc1 $t8,$f6 +/* f0aa420: 00000000 */ nop +/* f0aa424: 46803020 */ cvt.s.w $f0,$f6 +/* f0aa428: 16000002 */ bnez $s0,.PB0f0aa434 +/* f0aa42c: 00000000 */ nop +/* f0aa430: 0007000d */ break 0x7 +.PB0f0aa434: +/* f0aa434: 2401ffff */ li $at,-1 +/* f0aa438: 16010004 */ bne $s0,$at,.PB0f0aa44c +/* f0aa43c: 3c018000 */ lui $at,0x8000 +/* f0aa440: 16410002 */ bne $s2,$at,.PB0f0aa44c +/* f0aa444: 00000000 */ nop +/* f0aa448: 0006000d */ break 0x6 +.PB0f0aa44c: +/* f0aa44c: 0000c812 */ mflo $t9 +/* f0aa450: 03322023 */ subu $a0,$t9,$s2 +/* f0aa454: 00802825 */ move $a1,$a0 +/* f0aa458: 00f00019 */ multu $a3,$s0 +/* f0aa45c: 00006812 */ mflo $t5 +/* f0aa460: 01b21823 */ subu $v1,$t5,$s2 +/* f0aa464: 04810002 */ bgez $a0,.PB0f0aa470 +/* f0aa468: 00603025 */ move $a2,$v1 +/* f0aa46c: 00042823 */ negu $a1,$a0 +.PB0f0aa470: +/* f0aa470: 04630003 */ bgezl $v1,.PB0f0aa480 +/* f0aa474: 00c5082a */ slt $at,$a2,$a1 +/* f0aa478: 00033023 */ negu $a2,$v1 +/* f0aa47c: 00c5082a */ slt $at,$a2,$a1 +.PB0f0aa480: +/* f0aa480: 10200002 */ beqz $at,.PB0f0aa48c +/* f0aa484: 00000000 */ nop +/* f0aa488: 00e0b025 */ move $s6,$a3 +.PB0f0aa48c: +/* f0aa48c: 02d00019 */ multu $s6,$s0 +/* f0aa490: 2ac10003 */ slti $at,$s6,0x3 +/* f0aa494: 00007012 */ mflo $t6 +/* f0aa498: 03ce1023 */ subu $v0,$s8,$t6 +/* f0aa49c: 24420001 */ addiu $v0,$v0,0x1 +/* f0aa4a0: 10200002 */ beqz $at,.PB0f0aa4ac +/* f0aa4a4: 00403025 */ move $a2,$v0 +/* f0aa4a8: 2446ffff */ addiu $a2,$v0,-1 +.PB0f0aa4ac: +/* f0aa4ac: 16c0008a */ bnez $s6,.PB0f0aa6d8 +/* f0aa4b0: 02202025 */ move $a0,$s1 +/* f0aa4b4: 03c68023 */ subu $s0,$s8,$a2 +/* f0aa4b8: 44904000 */ mtc1 $s0,$f8 +/* f0aa4bc: 8faf00bc */ lw $t7,0xbc($sp) +/* f0aa4c0: 02202025 */ move $a0,$s1 +/* f0aa4c4: 468042a0 */ cvt.s.w $f10,$f8 +/* f0aa4c8: 448f9000 */ mtc1 $t7,$f18 +/* f0aa4cc: 449e4000 */ mtc1 $s8,$f8 +/* f0aa4d0: 8fa500f8 */ lw $a1,0xf8($sp) +/* f0aa4d4: 46809120 */ cvt.s.w $f4,$f18 +/* f0aa4d8: 46005402 */ mul.s $f16,$f10,$f0 +/* f0aa4dc: 468042a0 */ cvt.s.w $f10,$f8 +/* f0aa4e0: 46048183 */ div.s $f6,$f16,$f4 +/* f0aa4e4: 46065481 */ sub.s $f18,$f10,$f6 +/* f0aa4e8: 4600940d */ trunc.w.s $f16,$f18 +/* f0aa4ec: 44128000 */ mfc1 $s2,$f16 +/* f0aa4f0: 00000000 */ nop +/* f0aa4f4: 00d2082a */ slt $at,$a2,$s2 +/* f0aa4f8: 1020003e */ beqz $at,.PB0f0aa5f4 +/* f0aa4fc: 00000000 */ nop +/* f0aa500: 0fc552fc */ jal 0xf154bf0 +/* f0aa504: afa600c4 */ sw $a2,0xc4($sp) +/* f0aa508: 8fb90100 */ lw $t9,0x100($sp) +/* f0aa50c: 8fa600c4 */ lw $a2,0xc4($sp) +/* f0aa510: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa514: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa518: 1320001c */ beqz $t9,.PB0f0aa58c +/* f0aa51c: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa520: 3c138008 */ lui $s3,0x8008 +/* f0aa524: 26731f90 */ addiu $s3,$s3,0x1f90 +/* f0aa528: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aa52c: 3c09f600 */ lui $t1,0xf600 +/* f0aa530: 24510008 */ addiu $s1,$v0,0x8 +/* f0aa534: 016d0019 */ multu $t3,$t5 +/* f0aa538: 020a6821 */ addu $t5,$s0,$t2 +/* f0aa53c: 00007012 */ mflo $t6 +/* f0aa540: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0aa544: 000fc380 */ sll $t8,$t7,0xe +/* f0aa548: 31ae03ff */ andi $t6,$t5,0x3ff +/* f0aa54c: 000e7880 */ sll $t7,$t6,0x2 +/* f0aa550: 0309c825 */ or $t9,$t8,$t1 +/* f0aa554: 032fc025 */ or $t8,$t9,$t7 +/* f0aa558: ac580000 */ sw $t8,0x0($v0) +/* f0aa55c: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aa560: 03d2c023 */ subu $t8,$s8,$s2 +/* f0aa564: 018d0019 */ multu $t4,$t5 +/* f0aa568: 030a6821 */ addu $t5,$t8,$t2 +/* f0aa56c: 00007012 */ mflo $t6 +/* f0aa570: 31d903ff */ andi $t9,$t6,0x3ff +/* f0aa574: 00197b80 */ sll $t7,$t9,0xe +/* f0aa578: 31ae03ff */ andi $t6,$t5,0x3ff +/* f0aa57c: 000ec880 */ sll $t9,$t6,0x2 +/* f0aa580: 01f9c025 */ or $t8,$t7,$t9 +/* f0aa584: 10000018 */ b .PB0f0aa5e8 +/* f0aa588: ac580004 */ sw $t8,0x4($v0) +.PB0f0aa58c: +/* f0aa58c: 3c138008 */ lui $s3,0x8008 +/* f0aa590: 26731f90 */ addiu $s3,$s3,0x1f90 +/* f0aa594: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aa598: 3c09f600 */ lui $t1,0xf600 +/* f0aa59c: 24510008 */ addiu $s1,$v0,0x8 +/* f0aa5a0: 016d0019 */ multu $t3,$t5 +/* f0aa5a4: 324d03ff */ andi $t5,$s2,0x3ff +/* f0aa5a8: 00007012 */ mflo $t6 +/* f0aa5ac: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0aa5b0: 000fcb80 */ sll $t9,$t7,0xe +/* f0aa5b4: 0329c025 */ or $t8,$t9,$t1 +/* f0aa5b8: 000d7080 */ sll $t6,$t5,0x2 +/* f0aa5bc: 030e7825 */ or $t7,$t8,$t6 +/* f0aa5c0: ac4f0000 */ sw $t7,0x0($v0) +/* f0aa5c4: 8e790000 */ lw $t9,0x0($s3) +/* f0aa5c8: 30cf03ff */ andi $t7,$a2,0x3ff +/* f0aa5cc: 01990019 */ multu $t4,$t9 +/* f0aa5d0: 000fc880 */ sll $t9,$t7,0x2 +/* f0aa5d4: 00006812 */ mflo $t5 +/* f0aa5d8: 31b803ff */ andi $t8,$t5,0x3ff +/* f0aa5dc: 00187380 */ sll $t6,$t8,0xe +/* f0aa5e0: 01d96825 */ or $t5,$t6,$t9 +/* f0aa5e4: ac4d0004 */ sw $t5,0x4($v0) +.PB0f0aa5e8: +/* f0aa5e8: 0fc55313 */ jal 0xf154c4c +/* f0aa5ec: 02202025 */ move $a0,$s1 +/* f0aa5f0: 00408825 */ move $s1,$v0 +.PB0f0aa5f4: +/* f0aa5f4: 3c138008 */ lui $s3,0x8008 +/* f0aa5f8: 26731f90 */ addiu $s3,$s3,0x1f90 +/* f0aa5fc: 02202025 */ move $a0,$s1 +/* f0aa600: 0fc552fc */ jal 0xf154bf0 +/* f0aa604: 8fa500fc */ lw $a1,0xfc($sp) +/* f0aa608: 8fb80100 */ lw $t8,0x100($sp) +/* f0aa60c: 3c09f600 */ lui $t1,0xf600 +/* f0aa610: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa614: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa618: 1300001a */ beqz $t8,.PB0f0aa684 +/* f0aa61c: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa620: 8e6f0000 */ lw $t7,0x0($s3) +/* f0aa624: 24510008 */ addiu $s1,$v0,0x8 +/* f0aa628: 016f0019 */ multu $t3,$t7 +/* f0aa62c: 03d27823 */ subu $t7,$s8,$s2 +/* f0aa630: 00007012 */ mflo $t6 +/* f0aa634: 31d903ff */ andi $t9,$t6,0x3ff +/* f0aa638: 00196b80 */ sll $t5,$t9,0xe +/* f0aa63c: 01ea7021 */ addu $t6,$t7,$t2 +/* f0aa640: 31d903ff */ andi $t9,$t6,0x3ff +/* f0aa644: 01a9c025 */ or $t8,$t5,$t1 +/* f0aa648: 00196880 */ sll $t5,$t9,0x2 +/* f0aa64c: 030d7825 */ or $t7,$t8,$t5 +/* f0aa650: ac4f0000 */ sw $t7,0x0($v0) +/* f0aa654: 8e6e0000 */ lw $t6,0x0($s3) +/* f0aa658: 03de7823 */ subu $t7,$s8,$s8 +/* f0aa65c: 018e0019 */ multu $t4,$t6 +/* f0aa660: 01ea7021 */ addu $t6,$t7,$t2 +/* f0aa664: 0000c812 */ mflo $t9 +/* f0aa668: 333803ff */ andi $t8,$t9,0x3ff +/* f0aa66c: 00186b80 */ sll $t5,$t8,0xe +/* f0aa670: 31d903ff */ andi $t9,$t6,0x3ff +/* f0aa674: 0019c080 */ sll $t8,$t9,0x2 +/* f0aa678: 01b87825 */ or $t7,$t5,$t8 +/* f0aa67c: 1000016c */ b .PB0f0aac30 +/* f0aa680: ac4f0004 */ sw $t7,0x4($v0) +.PB0f0aa684: +/* f0aa684: 8e6e0000 */ lw $t6,0x0($s3) +/* f0aa688: 24510008 */ addiu $s1,$v0,0x8 +/* f0aa68c: 016e0019 */ multu $t3,$t6 +/* f0aa690: 33ce03ff */ andi $t6,$s8,0x3ff +/* f0aa694: 0000c812 */ mflo $t9 +/* f0aa698: 332d03ff */ andi $t5,$t9,0x3ff +/* f0aa69c: 000dc380 */ sll $t8,$t5,0xe +/* f0aa6a0: 03097825 */ or $t7,$t8,$t1 +/* f0aa6a4: 000ec880 */ sll $t9,$t6,0x2 +/* f0aa6a8: 01f96825 */ or $t5,$t7,$t9 +/* f0aa6ac: ac4d0000 */ sw $t5,0x0($v0) +/* f0aa6b0: 8e780000 */ lw $t8,0x0($s3) +/* f0aa6b4: 324d03ff */ andi $t5,$s2,0x3ff +/* f0aa6b8: 01980019 */ multu $t4,$t8 +/* f0aa6bc: 000dc080 */ sll $t8,$t5,0x2 +/* f0aa6c0: 00007012 */ mflo $t6 +/* f0aa6c4: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0aa6c8: 000fcb80 */ sll $t9,$t7,0xe +/* f0aa6cc: 03387025 */ or $t6,$t9,$t8 +/* f0aa6d0: 10000157 */ b .PB0f0aac30 +/* f0aa6d4: ac4e0004 */ sw $t6,0x4($v0) +.PB0f0aa6d8: +/* f0aa6d8: 8fa500f8 */ lw $a1,0xf8($sp) +/* f0aa6dc: afa600c4 */ sw $a2,0xc4($sp) +/* f0aa6e0: 0fc552fc */ jal 0xf154bf0 +/* f0aa6e4: e7a000c0 */ swc1 $f0,0xc0($sp) +/* f0aa6e8: 8faf00bc */ lw $t7,0xbc($sp) +/* f0aa6ec: 8fa600c4 */ lw $a2,0xc4($sp) +/* f0aa6f0: 8fa800ec */ lw $t0,0xec($sp) +/* f0aa6f4: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa6f8: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa6fc: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa700: c7a000c0 */ lwc1 $f0,0xc0($sp) +/* f0aa704: 00408825 */ move $s1,$v0 +/* f0aa708: 2412ffff */ li $s2,-1 +/* f0aa70c: 00008025 */ move $s0,$zero +/* f0aa710: 19e00110 */ blez $t7,.PB0f0aab54 +/* f0aa714: 00c0a825 */ move $s5,$a2 +/* f0aa718: 4600010d */ trunc.w.s $f4,$f0 +/* f0aa71c: 00c0b825 */ move $s7,$a2 +/* f0aa720: 00d63821 */ addu $a3,$a2,$s6 +/* f0aa724: 27d9ffff */ addiu $t9,$s8,-1 +/* f0aa728: 44022000 */ mfc1 $v0,$f4 +/* f0aa72c: 3c138008 */ lui $s3,0x8008 +/* f0aa730: 26731f90 */ addiu $s3,$s3,0x1f90 +/* f0aa734: afb90044 */ sw $t9,0x44($sp) +/* f0aa738: 8fa6009c */ lw $a2,0x9c($sp) +/* f0aa73c: 3c09f600 */ lui $t1,0xf600 +/* f0aa740: 01e2a023 */ subu $s4,$t7,$v0 +/* f0aa744: afa20058 */ sw $v0,0x58($sp) +.PB0f0aa748: +/* f0aa748: 81040005 */ lb $a0,0x5($t0) +/* f0aa74c: 00002825 */ move $a1,$zero +/* f0aa750: 18800044 */ blez $a0,.PB0f0aa864 +/* f0aa754: 0284c023 */ subu $t8,$s4,$a0 +/* f0aa758: 0218082a */ slt $at,$s0,$t8 +/* f0aa75c: 1420006d */ bnez $at,.PB0f0aa914 +/* f0aa760: 0214082a */ slt $at,$s0,$s4 +/* f0aa764: 1020006b */ beqz $at,.PB0f0aa914 +/* f0aa768: 02906823 */ subu $t5,$s4,$s0 +/* f0aa76c: 000d7880 */ sll $t7,$t5,0x2 +/* f0aa770: 01ed7823 */ subu $t7,$t7,$t5 +/* f0aa774: 000f7880 */ sll $t7,$t7,0x2 +/* f0aa778: 850e0002 */ lh $t6,0x2($t0) +/* f0aa77c: 01ed7821 */ addu $t7,$t7,$t5 +/* f0aa780: 000f7880 */ sll $t7,$t7,0x2 +/* f0aa784: 01ed7821 */ addu $t7,$t7,$t5 +/* f0aa788: 01cf1823 */ subu $v1,$t6,$t7 +/* f0aa78c: 24630035 */ addiu $v1,$v1,0x35 +/* f0aa790: 04600060 */ bltz $v1,.PB0f0aa914 +/* f0aa794: 28610035 */ slti $at,$v1,0x35 +/* f0aa798: 1420001b */ bnez $at,.PB0f0aa808 +/* f0aa79c: 00031080 */ sll $v0,$v1,0x2 +/* f0aa7a0: 00031080 */ sll $v0,$v1,0x2 +/* f0aa7a4: 2442ff30 */ addiu $v0,$v0,-208 +/* f0aa7a8: 24010003 */ li $at,0x3 +/* f0aa7ac: 0041001a */ div $zero,$v0,$at +/* f0aa7b0: 0000c812 */ mflo $t9 +/* f0aa7b4: 0019c100 */ sll $t8,$t9,0x4 +/* f0aa7b8: 0319c023 */ subu $t8,$t8,$t9 +/* f0aa7bc: 0018c080 */ sll $t8,$t8,0x2 +/* f0aa7c0: 24010032 */ li $at,0x32 +/* f0aa7c4: 0301001b */ divu $zero,$t8,$at +/* f0aa7c8: 00003012 */ mflo $a2 +/* f0aa7cc: 2cc10100 */ sltiu $at,$a2,0x100 +/* f0aa7d0: 14200002 */ bnez $at,.PB0f0aa7dc +/* f0aa7d4: 8fa400fc */ lw $a0,0xfc($sp) +/* f0aa7d8: 240600ff */ li $a2,0xff +.PB0f0aa7dc: +/* f0aa7dc: 2405ffbf */ li $a1,-65 +/* f0aa7e0: 0fc01a3c */ jal 0xf0068f0 +/* f0aa7e4: afa70048 */ sw $a3,0x48($sp) +/* f0aa7e8: 8fa70048 */ lw $a3,0x48($sp) +/* f0aa7ec: 8fa800ec */ lw $t0,0xec($sp) +/* f0aa7f0: 3c09f600 */ lui $t1,0xf600 +/* f0aa7f4: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa7f8: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa7fc: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa800: 10000015 */ b .PB0f0aa858 +/* f0aa804: 00403025 */ move $a2,$v0 +.PB0f0aa808: +/* f0aa808: 00027100 */ sll $t6,$v0,0x4 +/* f0aa80c: 01c27023 */ subu $t6,$t6,$v0 +/* f0aa810: 000e7080 */ sll $t6,$t6,0x2 +/* f0aa814: 24010032 */ li $at,0x32 +/* f0aa818: 01c1001b */ divu $zero,$t6,$at +/* f0aa81c: 00003012 */ mflo $a2 +/* f0aa820: 2cc10100 */ sltiu $at,$a2,0x100 +/* f0aa824: 14200002 */ bnez $at,.PB0f0aa830 +/* f0aa828: 2404ffbf */ li $a0,-65 +/* f0aa82c: 240600ff */ li $a2,0xff +.PB0f0aa830: +/* f0aa830: 8fa500f8 */ lw $a1,0xf8($sp) +/* f0aa834: 0fc01a3c */ jal 0xf0068f0 +/* f0aa838: afa70048 */ sw $a3,0x48($sp) +/* f0aa83c: 8fa70048 */ lw $a3,0x48($sp) +/* f0aa840: 8fa800ec */ lw $t0,0xec($sp) +/* f0aa844: 3c09f600 */ lui $t1,0xf600 +/* f0aa848: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa84c: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa850: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa854: 00403025 */ move $a2,$v0 +.PB0f0aa858: +/* f0aa858: 24050001 */ li $a1,0x1 +/* f0aa85c: 1000002d */ b .PB0f0aa914 +/* f0aa860: 81040005 */ lb $a0,0x5($t0) +.PB0f0aa864: +/* f0aa864: 0481002b */ bgez $a0,.PB0f0aa914 +/* f0aa868: 0284c823 */ subu $t9,$s4,$a0 +/* f0aa86c: 0219082a */ slt $at,$s0,$t9 +/* f0aa870: 10200028 */ beqz $at,.PB0f0aa914 +/* f0aa874: 0214082a */ slt $at,$s0,$s4 +/* f0aa878: 14200026 */ bnez $at,.PB0f0aa914 +/* f0aa87c: 8fb800bc */ lw $t8,0xbc($sp) +/* f0aa880: 8fae0058 */ lw $t6,0x58($sp) +/* f0aa884: 02186823 */ subu $t5,$s0,$t8 +/* f0aa888: 85180002 */ lh $t8,0x2($t0) +/* f0aa88c: 01ae7821 */ addu $t7,$t5,$t6 +/* f0aa890: 000fc880 */ sll $t9,$t7,0x2 +/* f0aa894: 032fc823 */ subu $t9,$t9,$t7 +/* f0aa898: 0019c880 */ sll $t9,$t9,0x2 +/* f0aa89c: 032fc821 */ addu $t9,$t9,$t7 +/* f0aa8a0: 0019c880 */ sll $t9,$t9,0x2 +/* f0aa8a4: 032fc821 */ addu $t9,$t9,$t7 +/* f0aa8a8: 03191023 */ subu $v0,$t8,$t9 +/* f0aa8ac: 04400019 */ bltz $v0,.PB0f0aa914 +/* f0aa8b0: 24010032 */ li $at,0x32 +/* f0aa8b4: 00023100 */ sll $a2,$v0,0x4 +/* f0aa8b8: 00c23023 */ subu $a2,$a2,$v0 +/* f0aa8bc: 00063080 */ sll $a2,$a2,0x2 +/* f0aa8c0: 00c1001a */ div $zero,$a2,$at +/* f0aa8c4: 00003012 */ mflo $a2 +/* f0aa8c8: 2cc10100 */ sltiu $at,$a2,0x100 +/* f0aa8cc: 14200003 */ bnez $at,.PB0f0aa8dc +/* f0aa8d0: 8fa500fc */ lw $a1,0xfc($sp) +/* f0aa8d4: 1000000e */ b .PB0f0aa910 +/* f0aa8d8: 8fa600f8 */ lw $a2,0xf8($sp) +.PB0f0aa8dc: +/* f0aa8dc: 34ae00ff */ ori $t6,$a1,0xff +/* f0aa8e0: 01c02825 */ move $a1,$t6 +/* f0aa8e4: 8fa400f8 */ lw $a0,0xf8($sp) +/* f0aa8e8: 0fc01a3c */ jal 0xf0068f0 +/* f0aa8ec: afa70048 */ sw $a3,0x48($sp) +/* f0aa8f0: 8fa800ec */ lw $t0,0xec($sp) +/* f0aa8f4: 8fa70048 */ lw $a3,0x48($sp) +/* f0aa8f8: 3c09f600 */ lui $t1,0xf600 +/* f0aa8fc: 8faa00e0 */ lw $t2,0xe0($sp) +/* f0aa900: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0aa904: 8fac00dc */ lw $t4,0xdc($sp) +/* f0aa908: 00403025 */ move $a2,$v0 +/* f0aa90c: 81040005 */ lb $a0,0x5($t0) +.PB0f0aa910: +/* f0aa910: 24050001 */ li $a1,0x1 +.PB0f0aa914: +/* f0aa914: 04810007 */ bgez $a0,.PB0f0aa934 +/* f0aa918: 2ac10003 */ slti $at,$s6,0x3 +/* f0aa91c: 02847823 */ subu $t7,$s4,$a0 +/* f0aa920: 160f0008 */ bne $s0,$t7,.PB0f0aa944 +/* f0aa924: 00000000 */ nop +/* f0aa928: 8fa600fc */ lw $a2,0xfc($sp) +/* f0aa92c: 10000005 */ b .PB0f0aa944 +/* f0aa930: 24050001 */ li $a1,0x1 +.PB0f0aa934: +/* f0aa934: 16140003 */ bne $s0,$s4,.PB0f0aa944 +/* f0aa938: 00000000 */ nop +/* f0aa93c: 8fa600fc */ lw $a2,0xfc($sp) +/* f0aa940: 24050001 */ li $a1,0x1 +.PB0f0aa944: +/* f0aa944: 5020003a */ beqzl $at,.PB0f0aaa30 +/* f0aa948: 02e0a825 */ move $s5,$s7 +/* f0aa94c: 10a00035 */ beqz $a1,.PB0f0aaa24 +/* f0aa950: 00000000 */ nop +/* f0aa954: 06400032 */ bltz $s2,.PB0f0aaa20 +/* f0aa958: 8fb80100 */ lw $t8,0x100($sp) +/* f0aa95c: 5300001c */ beqzl $t8,.PB0f0aa9d0 +/* f0aa960: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aa964: 8e790000 */ lw $t9,0x0($s3) +/* f0aa968: 02201025 */ move $v0,$s1 +/* f0aa96c: 26310008 */ addiu $s1,$s1,0x8 +/* f0aa970: 01790019 */ multu $t3,$t9 +/* f0aa974: 03d5c823 */ subu $t9,$s8,$s5 +/* f0aa978: 00006812 */ mflo $t5 +/* f0aa97c: 31ae03ff */ andi $t6,$t5,0x3ff +/* f0aa980: 000e7b80 */ sll $t7,$t6,0xe +/* f0aa984: 032a6821 */ addu $t5,$t9,$t2 +/* f0aa988: 31ae03ff */ andi $t6,$t5,0x3ff +/* f0aa98c: 01e9c025 */ or $t8,$t7,$t1 +/* f0aa990: 000e7880 */ sll $t7,$t6,0x2 +/* f0aa994: 030fc825 */ or $t9,$t8,$t7 +/* f0aa998: ac590000 */ sw $t9,0x0($v0) +/* f0aa99c: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aa9a0: 03d2c823 */ subu $t9,$s8,$s2 +/* f0aa9a4: 018d0019 */ multu $t4,$t5 +/* f0aa9a8: 032a6821 */ addu $t5,$t9,$t2 +/* f0aa9ac: 00007012 */ mflo $t6 +/* f0aa9b0: 31d803ff */ andi $t8,$t6,0x3ff +/* f0aa9b4: 00187b80 */ sll $t7,$t8,0xe +/* f0aa9b8: 31ae03ff */ andi $t6,$t5,0x3ff +/* f0aa9bc: 000ec080 */ sll $t8,$t6,0x2 +/* f0aa9c0: 01f8c825 */ or $t9,$t7,$t8 +/* f0aa9c4: 10000016 */ b .PB0f0aaa20 +/* f0aa9c8: ac590004 */ sw $t9,0x4($v0) +/* f0aa9cc: 8e6d0000 */ lw $t5,0x0($s3) +.PB0f0aa9d0: +/* f0aa9d0: 02201025 */ move $v0,$s1 +/* f0aa9d4: 26310008 */ addiu $s1,$s1,0x8 +/* f0aa9d8: 016d0019 */ multu $t3,$t5 +/* f0aa9dc: 324d03ff */ andi $t5,$s2,0x3ff +/* f0aa9e0: 00007012 */ mflo $t6 +/* f0aa9e4: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0aa9e8: 000fc380 */ sll $t8,$t7,0xe +/* f0aa9ec: 0309c825 */ or $t9,$t8,$t1 +/* f0aa9f0: 000d7080 */ sll $t6,$t5,0x2 +/* f0aa9f4: 032e7825 */ or $t7,$t9,$t6 +/* f0aa9f8: ac4f0000 */ sw $t7,0x0($v0) +/* f0aa9fc: 8e780000 */ lw $t8,0x0($s3) +/* f0aaa00: 32af03ff */ andi $t7,$s5,0x3ff +/* f0aaa04: 01980019 */ multu $t4,$t8 +/* f0aaa08: 000fc080 */ sll $t8,$t7,0x2 +/* f0aaa0c: 00006812 */ mflo $t5 +/* f0aaa10: 31b903ff */ andi $t9,$t5,0x3ff +/* f0aaa14: 00197380 */ sll $t6,$t9,0xe +/* f0aaa18: 01d86825 */ or $t5,$t6,$t8 +/* f0aaa1c: ac4d0004 */ sw $t5,0x4($v0) +.PB0f0aaa20: +/* f0aaa20: 02e0a825 */ move $s5,$s7 +.PB0f0aaa24: +/* f0aaa24: 10000003 */ b .PB0f0aaa34 +/* f0aaa28: 00e09025 */ move $s2,$a3 +/* f0aaa2c: 02e0a825 */ move $s5,$s7 +.PB0f0aaa30: +/* f0aaa30: 24f2ffff */ addiu $s2,$a3,-1 +.PB0f0aaa34: +/* f0aaa34: 10a00005 */ beqz $a1,.PB0f0aaa4c +/* f0aaa38: 02201025 */ move $v0,$s1 +/* f0aaa3c: 3c19fa00 */ lui $t9,0xfa00 +/* f0aaa40: ac590000 */ sw $t9,0x0($v0) +/* f0aaa44: 26310008 */ addiu $s1,$s1,0x8 +/* f0aaa48: ac460004 */ sw $a2,0x4($v0) +.PB0f0aaa4c: +/* f0aaa4c: 8faf0044 */ lw $t7,0x44($sp) +/* f0aaa50: 8fae0100 */ lw $t6,0x100($sp) +/* f0aaa54: 024f082a */ slt $at,$s2,$t7 +/* f0aaa58: 14200004 */ bnez $at,.PB0f0aaa6c +/* f0aaa5c: 2ac10002 */ slti $at,$s6,0x2 +/* f0aaa60: 54200003 */ bnezl $at,.PB0f0aaa70 +/* f0aaa64: 2ac10003 */ slti $at,$s6,0x3 +/* f0aaa68: 03c09025 */ move $s2,$s8 +.PB0f0aaa6c: +/* f0aaa6c: 2ac10003 */ slti $at,$s6,0x3 +.PB0f0aaa70: +/* f0aaa70: 54200033 */ bnezl $at,.PB0f0aab40 +/* f0aaa74: 8fb800bc */ lw $t8,0xbc($sp) +/* f0aaa78: 51c0001c */ beqzl $t6,.PB0f0aaaec +/* f0aaa7c: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aaa80: 8e780000 */ lw $t8,0x0($s3) +/* f0aaa84: 02201025 */ move $v0,$s1 +/* f0aaa88: 26310008 */ addiu $s1,$s1,0x8 +/* f0aaa8c: 01780019 */ multu $t3,$t8 +/* f0aaa90: 03d5c023 */ subu $t8,$s8,$s5 +/* f0aaa94: 00006812 */ mflo $t5 +/* f0aaa98: 31b903ff */ andi $t9,$t5,0x3ff +/* f0aaa9c: 00197b80 */ sll $t7,$t9,0xe +/* f0aaaa0: 030a6821 */ addu $t5,$t8,$t2 +/* f0aaaa4: 31b903ff */ andi $t9,$t5,0x3ff +/* f0aaaa8: 01e97025 */ or $t6,$t7,$t1 +/* f0aaaac: 00197880 */ sll $t7,$t9,0x2 +/* f0aaab0: 01cfc025 */ or $t8,$t6,$t7 +/* f0aaab4: ac580000 */ sw $t8,0x0($v0) +/* f0aaab8: 8e6d0000 */ lw $t5,0x0($s3) +/* f0aaabc: 03d2c023 */ subu $t8,$s8,$s2 +/* f0aaac0: 018d0019 */ multu $t4,$t5 +/* f0aaac4: 030a6821 */ addu $t5,$t8,$t2 +/* f0aaac8: 0000c812 */ mflo $t9 +/* f0aaacc: 332e03ff */ andi $t6,$t9,0x3ff +/* f0aaad0: 000e7b80 */ sll $t7,$t6,0xe +/* f0aaad4: 31b903ff */ andi $t9,$t5,0x3ff +/* f0aaad8: 00197080 */ sll $t6,$t9,0x2 +/* f0aaadc: 01eec025 */ or $t8,$t7,$t6 +/* f0aaae0: 10000016 */ b .PB0f0aab3c +/* f0aaae4: ac580004 */ sw $t8,0x4($v0) +/* f0aaae8: 8e6d0000 */ lw $t5,0x0($s3) +.PB0f0aaaec: +/* f0aaaec: 02201025 */ move $v0,$s1 +/* f0aaaf0: 26310008 */ addiu $s1,$s1,0x8 +/* f0aaaf4: 016d0019 */ multu $t3,$t5 +/* f0aaaf8: 324d03ff */ andi $t5,$s2,0x3ff +/* f0aaafc: 0000c812 */ mflo $t9 +/* f0aab00: 332f03ff */ andi $t7,$t9,0x3ff +/* f0aab04: 000f7380 */ sll $t6,$t7,0xe +/* f0aab08: 01c9c025 */ or $t8,$t6,$t1 +/* f0aab0c: 000dc880 */ sll $t9,$t5,0x2 +/* f0aab10: 03197825 */ or $t7,$t8,$t9 +/* f0aab14: ac4f0000 */ sw $t7,0x0($v0) +/* f0aab18: 8e6e0000 */ lw $t6,0x0($s3) +/* f0aab1c: 32af03ff */ andi $t7,$s5,0x3ff +/* f0aab20: 018e0019 */ multu $t4,$t6 +/* f0aab24: 000f7080 */ sll $t6,$t7,0x2 +/* f0aab28: 00006812 */ mflo $t5 +/* f0aab2c: 31b803ff */ andi $t8,$t5,0x3ff +/* f0aab30: 0018cb80 */ sll $t9,$t8,0xe +/* f0aab34: 032e6825 */ or $t5,$t9,$t6 +/* f0aab38: ac4d0004 */ sw $t5,0x4($v0) +.PB0f0aab3c: +/* f0aab3c: 8fb800bc */ lw $t8,0xbc($sp) +.PB0f0aab40: +/* f0aab40: 26100001 */ addiu $s0,$s0,0x1 +/* f0aab44: 02f6b821 */ addu $s7,$s7,$s6 +/* f0aab48: 1618feff */ bne $s0,$t8,.PB0f0aa748 +/* f0aab4c: 00f63821 */ addu $a3,$a3,$s6 +/* f0aab50: afa6009c */ sw $a2,0x9c($sp) +.PB0f0aab54: +/* f0aab54: 3c138008 */ lui $s3,0x8008 +/* f0aab58: 2ac10003 */ slti $at,$s6,0x3 +/* f0aab5c: 26731f90 */ addiu $s3,$s3,0x1f90 +/* f0aab60: 10200033 */ beqz $at,.PB0f0aac30 +/* f0aab64: 3c09f600 */ lui $t1,0xf600 +/* f0aab68: 8faf0100 */ lw $t7,0x100($sp) +/* f0aab6c: 51e0001c */ beqzl $t7,.PB0f0aabe0 +/* f0aab70: 8e6e0000 */ lw $t6,0x0($s3) +/* f0aab74: 8e790000 */ lw $t9,0x0($s3) +/* f0aab78: 02201025 */ move $v0,$s1 +/* f0aab7c: 26310008 */ addiu $s1,$s1,0x8 +/* f0aab80: 01790019 */ multu $t3,$t9 +/* f0aab84: 03d5c823 */ subu $t9,$s8,$s5 +/* f0aab88: 00007012 */ mflo $t6 +/* f0aab8c: 31cd03ff */ andi $t5,$t6,0x3ff +/* f0aab90: 000dc380 */ sll $t8,$t5,0xe +/* f0aab94: 032a7021 */ addu $t6,$t9,$t2 +/* f0aab98: 31cd03ff */ andi $t5,$t6,0x3ff +/* f0aab9c: 03097825 */ or $t7,$t8,$t1 +/* f0aaba0: 000dc080 */ sll $t8,$t5,0x2 +/* f0aaba4: 01f8c825 */ or $t9,$t7,$t8 +/* f0aaba8: ac590000 */ sw $t9,0x0($v0) +/* f0aabac: 8e6e0000 */ lw $t6,0x0($s3) +/* f0aabb0: 03d2c823 */ subu $t9,$s8,$s2 +/* f0aabb4: 018e0019 */ multu $t4,$t6 +/* f0aabb8: 032a7021 */ addu $t6,$t9,$t2 +/* f0aabbc: 00006812 */ mflo $t5 +/* f0aabc0: 31af03ff */ andi $t7,$t5,0x3ff +/* f0aabc4: 000fc380 */ sll $t8,$t7,0xe +/* f0aabc8: 31cd03ff */ andi $t5,$t6,0x3ff +/* f0aabcc: 000d7880 */ sll $t7,$t5,0x2 +/* f0aabd0: 030fc825 */ or $t9,$t8,$t7 +/* f0aabd4: 10000016 */ b .PB0f0aac30 +/* f0aabd8: ac590004 */ sw $t9,0x4($v0) +/* f0aabdc: 8e6e0000 */ lw $t6,0x0($s3) +.PB0f0aabe0: +/* f0aabe0: 02201025 */ move $v0,$s1 +/* f0aabe4: 26310008 */ addiu $s1,$s1,0x8 +/* f0aabe8: 016e0019 */ multu $t3,$t6 +/* f0aabec: 324e03ff */ andi $t6,$s2,0x3ff +/* f0aabf0: 00006812 */ mflo $t5 +/* f0aabf4: 31b803ff */ andi $t8,$t5,0x3ff +/* f0aabf8: 00187b80 */ sll $t7,$t8,0xe +/* f0aabfc: 01e9c825 */ or $t9,$t7,$t1 +/* f0aac00: 000e6880 */ sll $t5,$t6,0x2 +/* f0aac04: 032dc025 */ or $t8,$t9,$t5 +/* f0aac08: ac580000 */ sw $t8,0x0($v0) +/* f0aac0c: 8e6f0000 */ lw $t7,0x0($s3) +/* f0aac10: 32b803ff */ andi $t8,$s5,0x3ff +/* f0aac14: 018f0019 */ multu $t4,$t7 +/* f0aac18: 00187880 */ sll $t7,$t8,0x2 +/* f0aac1c: 00007012 */ mflo $t6 +/* f0aac20: 31d903ff */ andi $t9,$t6,0x3ff +/* f0aac24: 00196b80 */ sll $t5,$t9,0xe +/* f0aac28: 01af7025 */ or $t6,$t5,$t7 +/* f0aac2c: ac4e0004 */ sw $t6,0x4($v0) +.PB0f0aac30: +/* f0aac30: 0fc55313 */ jal 0xf154c4c +/* f0aac34: 02202025 */ move $a0,$s1 +/* f0aac38: 3c19b900 */ lui $t9,0xb900 +/* f0aac3c: 3c180050 */ lui $t8,0x50 +/* f0aac40: 371841c8 */ ori $t8,$t8,0x41c8 +/* f0aac44: 3739031d */ ori $t9,$t9,0x31d +/* f0aac48: ac590000 */ sw $t9,0x0($v0) +/* f0aac4c: ac580004 */ sw $t8,0x4($v0) +/* f0aac50: 8fbf003c */ lw $ra,0x3c($sp) +/* f0aac54: 8fbe0038 */ lw $s8,0x38($sp) +/* f0aac58: 8fb70034 */ lw $s7,0x34($sp) +/* f0aac5c: 8fb60030 */ lw $s6,0x30($sp) +/* f0aac60: 8fb5002c */ lw $s5,0x2c($sp) +/* f0aac64: 8fb40028 */ lw $s4,0x28($sp) +/* f0aac68: 8fb30024 */ lw $s3,0x24($sp) +/* f0aac6c: 8fb20020 */ lw $s2,0x20($sp) +/* f0aac70: 8fb1001c */ lw $s1,0x1c($sp) +/* f0aac74: 8fb00018 */ lw $s0,0x18($sp) +/* f0aac78: 27bd00d8 */ addiu $sp,$sp,0xd8 +/* f0aac7c: 03e00008 */ jr $ra +/* f0aac80: 24420008 */ addiu $v0,$v0,0x8 +); #else GLOBAL_ASM( glabel bgunRenderHudGauge @@ -32190,6 +36011,1269 @@ glabel bgunRenderHud /* f0abf84: 03e00008 */ jr $ra /* f0abf88: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bgunRenderHud +/* f0aac84: 3c0e800a */ lui $t6,0x800a +/* f0aac88: 8dcee754 */ lw $t6,-0x18ac($t6) +/* f0aac8c: 27bdfed0 */ addiu $sp,$sp,-304 +/* f0aac90: afbf0034 */ sw $ra,0x34($sp) +/* f0aac94: afa40130 */ sw $a0,0x130($sp) +/* f0aac98: 0c002e8f */ jal 0xba3c +/* f0aac9c: afae012c */ sw $t6,0x12c($sp) +/* f0aaca0: 0c002e71 */ jal 0xb9c4 +/* f0aaca4: a7a20076 */ sh $v0,0x76($sp) +/* f0aaca8: 87af0076 */ lh $t7,0x76($sp) +/* f0aacac: 3c08800a */ lui $t0,0x800a +/* f0aacb0: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0aacb4: 8d0e006c */ lw $t6,0x6c($t0) +/* f0aacb8: 004fc021 */ addu $t8,$v0,$t7 +/* f0aacbc: 2719fff3 */ addiu $t9,$t8,-13 +/* f0aacc0: 11c00003 */ beqz $t6,.PB0f0aacd0 +/* f0aacc4: afb90128 */ sw $t9,0x128($sp) +/* f0aacc8: 10000002 */ b .PB0f0aacd4 +/* f0aaccc: 24060001 */ li $a2,0x1 +.PB0f0aacd0: +/* f0aacd0: 00003025 */ move $a2,$zero +.PB0f0aacd4: +/* f0aacd4: 8d0f0068 */ lw $t7,0x68($t0) +/* f0aacd8: 00001825 */ move $v1,$zero +/* f0aacdc: 00002825 */ move $a1,$zero +/* f0aace0: 11e00003 */ beqz $t7,.PB0f0aacf0 +/* f0aace4: 00001025 */ move $v0,$zero +/* f0aace8: 10000001 */ b .PB0f0aacf0 +/* f0aacec: 24030001 */ li $v1,0x1 +.PB0f0aacf0: +/* f0aacf0: 8d180064 */ lw $t8,0x64($t0) +/* f0aacf4: 13000003 */ beqz $t8,.PB0f0aad04 +/* f0aacf8: 00000000 */ nop +/* f0aacfc: 10000001 */ b .PB0f0aad04 +/* f0aad00: 24050001 */ li $a1,0x1 +.PB0f0aad04: +/* f0aad04: 8d190070 */ lw $t9,0x70($t0) +/* f0aad08: 13200003 */ beqz $t9,.PB0f0aad18 +/* f0aad0c: 00000000 */ nop +/* f0aad10: 10000001 */ b .PB0f0aad18 +/* f0aad14: 24020001 */ li $v0,0x1 +.PB0f0aad18: +/* f0aad18: 8d18028c */ lw $t8,0x28c($t0) +/* f0aad1c: 00457021 */ addu $t6,$v0,$a1 +/* f0aad20: 01c37821 */ addu $t7,$t6,$v1 +/* f0aad24: afb80120 */ sw $t8,0x120($sp) +/* f0aad28: 8fb8012c */ lw $t8,0x12c($sp) +/* f0aad2c: 01e63821 */ addu $a3,$t7,$a2 +/* f0aad30: 24190009 */ li $t9,0x9 +/* f0aad34: 240e0024 */ li $t6,0x24 +/* f0aad38: 240f0039 */ li $t7,0x39 +/* f0aad3c: afa70124 */ sw $a3,0x124($sp) +/* f0aad40: afa00110 */ sw $zero,0x110($sp) +/* f0aad44: afb9010c */ sw $t9,0x10c($sp) +/* f0aad48: afae0108 */ sw $t6,0x108($sp) +/* f0aad4c: afaf0104 */ sw $t7,0x104($sp) +/* f0aad50: 83041580 */ lb $a0,0x1580($t8) +/* f0aad54: 0fc2c4f8 */ jal 0xf0b13e0 +/* f0aad58: afa70060 */ sw $a3,0x60($sp) +/* f0aad5c: 8fb9012c */ lw $t9,0x12c($sp) +/* f0aad60: afa200fc */ sw $v0,0xfc($sp) +/* f0aad64: 3c02800a */ lui $v0,0x800a +/* f0aad68: 8f2e00d8 */ lw $t6,0xd8($t9) +/* f0aad6c: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f0aad70: 51c00004 */ beqzl $t6,.PB0f0aad84 +/* f0aad74: 8c4f0284 */ lw $t7,0x284($v0) +/* f0aad78: 10000454 */ b .PB0f0abecc +/* f0aad7c: 8fa20130 */ lw $v0,0x130($sp) +/* f0aad80: 8c4f0284 */ lw $t7,0x284($v0) +.PB0f0aad84: +/* f0aad84: 8df81580 */ lw $t8,0x1580($t7) +/* f0aad88: 33190001 */ andi $t9,$t8,0x1 +/* f0aad8c: 53200004 */ beqzl $t9,.PB0f0aada0 +/* f0aad90: 8c4e000c */ lw $t6,0xc($v0) +/* f0aad94: 1000044d */ b .PB0f0abecc +/* f0aad98: 8fa20130 */ lw $v0,0x130($sp) +/* f0aad9c: 8c4e000c */ lw $t6,0xc($v0) +.PB0f0aada0: +/* f0aada0: 240f0001 */ li $t7,0x1 +/* f0aada4: 29c10005 */ slti $at,$t6,0x5 +/* f0aada8: 10200003 */ beqz $at,.PB0f0aadb8 +/* f0aadac: 00000000 */ nop +/* f0aadb0: 10000446 */ b .PB0f0abecc +/* f0aadb4: 8fa20130 */ lw $v0,0x130($sp) +.PB0f0aadb8: +/* f0aadb8: 3c018008 */ lui $at,0x8008 +/* f0aadbc: ac2f1f90 */ sw $t7,0x1f90($at) +/* f0aadc0: 0fc5528f */ jal 0xf154a3c +/* f0aadc4: 8fa40130 */ lw $a0,0x130($sp) +/* f0aadc8: 8fb80060 */ lw $t8,0x60($sp) +/* f0aadcc: afa20130 */ sw $v0,0x130($sp) +/* f0aadd0: 2b010002 */ slti $at,$t8,0x2 +/* f0aadd4: 1420002a */ bnez $at,.PB0f0aae80 +/* f0aadd8: 24190005 */ li $t9,0x5 +/* f0aaddc: 240e001a */ li $t6,0x1a +/* f0aade0: 240f002f */ li $t7,0x2f +/* f0aade4: 24010002 */ li $at,0x2 +/* f0aade8: afb9010c */ sw $t9,0x10c($sp) +/* f0aadec: afae0108 */ sw $t6,0x108($sp) +/* f0aadf0: 17010015 */ bne $t8,$at,.PB0f0aae48 +/* f0aadf4: afaf0104 */ sw $t7,0x104($sp) +/* f0aadf8: 3c198009 */ lui $t9,0x8009 +/* f0aadfc: 93392fd0 */ lbu $t9,0x2fd0($t9) +/* f0aae00: 24010001 */ li $at,0x1 +/* f0aae04: 53210009 */ beql $t9,$at,.PB0f0aae2c +/* f0aae08: 8faf0128 */ lw $t7,0x128($sp) +/* f0aae0c: 0fc550b9 */ jal 0xf1542e4 +/* f0aae10: 00000000 */ nop +/* f0aae14: 24010001 */ li $at,0x1 +/* f0aae18: 10410007 */ beq $v0,$at,.PB0f0aae38 +/* f0aae1c: 8fae0120 */ lw $t6,0x120($sp) +/* f0aae20: 55c00006 */ bnezl $t6,.PB0f0aae3c +/* f0aae24: 8fb90128 */ lw $t9,0x128($sp) +/* f0aae28: 8faf0128 */ lw $t7,0x128($sp) +.PB0f0aae2c: +/* f0aae2c: 25f8000a */ addiu $t8,$t7,0xa +/* f0aae30: 10000019 */ b .PB0f0aae98 +/* f0aae34: afb80128 */ sw $t8,0x128($sp) +.PB0f0aae38: +/* f0aae38: 8fb90128 */ lw $t9,0x128($sp) +.PB0f0aae3c: +/* f0aae3c: 272e0002 */ addiu $t6,$t9,0x2 +/* f0aae40: 10000015 */ b .PB0f0aae98 +/* f0aae44: afae0128 */ sw $t6,0x128($sp) +.PB0f0aae48: +/* f0aae48: 8faf0060 */ lw $t7,0x60($sp) +/* f0aae4c: 8fb80120 */ lw $t8,0x120($sp) +/* f0aae50: 29e10003 */ slti $at,$t7,0x3 +/* f0aae54: 14200010 */ bnez $at,.PB0f0aae98 +/* f0aae58: 2b010002 */ slti $at,$t8,0x2 +/* f0aae5c: 10200005 */ beqz $at,.PB0f0aae74 +/* f0aae60: 8faf0128 */ lw $t7,0x128($sp) +/* f0aae64: 8fb90128 */ lw $t9,0x128($sp) +/* f0aae68: 272e000a */ addiu $t6,$t9,0xa +/* f0aae6c: 1000000a */ b .PB0f0aae98 +/* f0aae70: afae0128 */ sw $t6,0x128($sp) +.PB0f0aae74: +/* f0aae74: 25f80002 */ addiu $t8,$t7,0x2 +/* f0aae78: 10000007 */ b .PB0f0aae98 +/* f0aae7c: afb80128 */ sw $t8,0x128($sp) +.PB0f0aae80: +/* f0aae80: 0fc5504c */ jal 0xf154130 +/* f0aae84: 00000000 */ nop +/* f0aae88: 10400003 */ beqz $v0,.PB0f0aae98 +/* f0aae8c: 8fb90128 */ lw $t9,0x128($sp) +/* f0aae90: 272e0008 */ addiu $t6,$t9,0x8 +/* f0aae94: afae0128 */ sw $t6,0x128($sp) +.PB0f0aae98: +/* f0aae98: 3c19800a */ lui $t9,0x800a +/* f0aae9c: 8f39e504 */ lw $t9,-0x1afc($t9) +/* f0aaea0: 24010032 */ li $at,0x32 +/* f0aaea4: 8fa2012c */ lw $v0,0x12c($sp) +/* f0aaea8: 00197100 */ sll $t6,$t9,0x4 +/* f0aaeac: 01d97023 */ subu $t6,$t6,$t9 +/* f0aaeb0: 000e70c0 */ sll $t6,$t6,0x3 +/* f0aaeb4: 01c1001a */ div $zero,$t6,$at +/* f0aaeb8: 3c0fff00 */ lui $t7,0xff00 +/* f0aaebc: 35ef0040 */ ori $t7,$t7,0x40 +/* f0aaec0: afaf00f4 */ sw $t7,0xf4($sp) +/* f0aaec4: 9058063b */ lbu $t8,0x63b($v0) +/* f0aaec8: 00007812 */ mflo $t7 +/* f0aaecc: 24420638 */ addiu $v0,$v0,0x638 +/* f0aaed0: afaf00ec */ sw $t7,0xec($sp) +/* f0aaed4: afa2005c */ sw $v0,0x5c($sp) +/* f0aaed8: 27a400dc */ addiu $a0,$sp,0xdc +/* f0aaedc: 00002825 */ move $a1,$zero +/* f0aaee0: 0fc26307 */ jal 0xf098c1c +/* f0aaee4: afb800f0 */ sw $t8,0xf0($sp) +/* f0aaee8: 0fc2a406 */ jal 0xf0a9018 +/* f0aaeec: 00000000 */ nop +/* f0aaef0: afa200e8 */ sw $v0,0xe8($sp) +/* f0aaef4: 00402025 */ move $a0,$v0 +/* f0aaef8: 27a500dc */ addiu $a1,$sp,0xdc +/* f0aaefc: 0fc2631c */ jal 0xf098c70 +/* f0aaf00: 8fa6005c */ lw $a2,0x5c($sp) +/* f0aaf04: 04400003 */ bltz $v0,.PB0f0aaf14 +/* f0aaf08: 00000000 */ nop +/* f0aaf0c: 8fb800e8 */ lw $t8,0xe8($sp) +/* f0aaf10: afb800f0 */ sw $t8,0xf0($sp) +.PB0f0aaf14: +/* f0aaf14: 0c002e8b */ jal 0xba2c +/* f0aaf18: 00000000 */ nop +/* f0aaf1c: 0c002e6d */ jal 0xb9b4 +/* f0aaf20: a7a20076 */ sh $v0,0x76($sp) +/* f0aaf24: 87b90076 */ lh $t9,0x76($sp) +/* f0aaf28: 3c0f8008 */ lui $t7,0x8008 +/* f0aaf2c: 8def1f90 */ lw $t7,0x1f90($t7) +/* f0aaf30: 00597021 */ addu $t6,$v0,$t9 +/* f0aaf34: 8fb9010c */ lw $t9,0x10c($sp) +/* f0aaf38: 01cf001a */ div $zero,$t6,$t7 +/* f0aaf3c: 15e00002 */ bnez $t7,.PB0f0aaf48 +/* f0aaf40: 00000000 */ nop +/* f0aaf44: 0007000d */ break 0x7 +.PB0f0aaf48: +/* f0aaf48: 2401ffff */ li $at,-1 +/* f0aaf4c: 15e10004 */ bne $t7,$at,.PB0f0aaf60 +/* f0aaf50: 3c018000 */ lui $at,0x8000 +/* f0aaf54: 15c10002 */ bne $t6,$at,.PB0f0aaf60 +/* f0aaf58: 00000000 */ nop +/* f0aaf5c: 0006000d */ break 0x6 +.PB0f0aaf60: +/* f0aaf60: 0000c012 */ mflo $t8 +/* f0aaf64: 03197023 */ subu $t6,$t8,$t9 +/* f0aaf68: 8fb80060 */ lw $t8,0x60($sp) +/* f0aaf6c: 25cfffe8 */ addiu $t7,$t6,-24 +/* f0aaf70: 24010002 */ li $at,0x2 +/* f0aaf74: 1701000f */ bne $t8,$at,.PB0f0aafb4 +/* f0aaf78: afaf0100 */ sw $t7,0x100($sp) +/* f0aaf7c: 0fc550b9 */ jal 0xf1542e4 +/* f0aaf80: 00000000 */ nop +/* f0aaf84: 24070001 */ li $a3,0x1 +/* f0aaf88: 10e20004 */ beq $a3,$v0,.PB0f0aaf9c +/* f0aaf8c: 3c198009 */ lui $t9,0x8009 +/* f0aaf90: 93392fd0 */ lbu $t9,0x2fd0($t9) +/* f0aaf94: 54f90008 */ bnel $a3,$t9,.PB0f0aafb8 +/* f0aaf98: 8fb90060 */ lw $t9,0x60($sp) +.PB0f0aaf9c: +/* f0aaf9c: 8fae0120 */ lw $t6,0x120($sp) +/* f0aafa0: 8faf0100 */ lw $t7,0x100($sp) +/* f0aafa4: 15c00003 */ bnez $t6,.PB0f0aafb4 +/* f0aafa8: 25f8000f */ addiu $t8,$t7,0xf +/* f0aafac: 1000000b */ b .PB0f0aafdc +/* f0aafb0: afb80100 */ sw $t8,0x100($sp) +.PB0f0aafb4: +/* f0aafb4: 8fb90060 */ lw $t9,0x60($sp) +.PB0f0aafb8: +/* f0aafb8: 8fae0120 */ lw $t6,0x120($sp) +/* f0aafbc: 24070001 */ li $a3,0x1 +/* f0aafc0: 2b210003 */ slti $at,$t9,0x3 +/* f0aafc4: 14200005 */ bnez $at,.PB0f0aafdc +/* f0aafc8: 31cf0001 */ andi $t7,$t6,0x1 +/* f0aafcc: 15e00003 */ bnez $t7,.PB0f0aafdc +/* f0aafd0: 8fb80100 */ lw $t8,0x100($sp) +/* f0aafd4: 2719000f */ addiu $t9,$t8,0xf +/* f0aafd8: afb90100 */ sw $t9,0x100($sp) +.PB0f0aafdc: +/* f0aafdc: 8fa600f0 */ lw $a2,0xf0($sp) +/* f0aafe0: 8faa012c */ lw $t2,0x12c($sp) +/* f0aafe4: 54c70014 */ bnel $a2,$a3,.PB0f0ab038 +/* f0aafe8: 8faa012c */ lw $t2,0x12c($sp) +/* f0aafec: 914215e7 */ lbu $v0,0x15e7($t2) +/* f0aaff0: 254a1580 */ addiu $t2,$t2,0x1580 +/* f0aaff4: 284100ff */ slti $at,$v0,0xff +/* f0aaff8: 1020000e */ beqz $at,.PB0f0ab034 +/* f0aaffc: 28410080 */ slti $at,$v0,0x80 +/* f0ab000: 10200003 */ beqz $at,.PB0f0ab010 +/* f0ab004: 240e0080 */ li $t6,0x80 +/* f0ab008: a14e0067 */ sb $t6,0x67($t2) +/* f0ab00c: 31c200ff */ andi $v0,$t6,0xff +.PB0f0ab010: +/* f0ab010: 8faf00ec */ lw $t7,0xec($sp) +/* f0ab014: 241800ff */ li $t8,0xff +/* f0ab018: 004f1821 */ addu $v1,$v0,$t7 +/* f0ab01c: 28610100 */ slti $at,$v1,0x100 +/* f0ab020: 54200004 */ bnezl $at,.PB0f0ab034 +/* f0ab024: a1430067 */ sb $v1,0x67($t2) +/* f0ab028: 10000002 */ b .PB0f0ab034 +/* f0ab02c: a1580067 */ sb $t8,0x67($t2) +/* f0ab030: a1430067 */ sb $v1,0x67($t2) +.PB0f0ab034: +/* f0ab034: 8faa012c */ lw $t2,0x12c($sp) +.PB0f0ab038: +/* f0ab038: 254a1580 */ addiu $t2,$t2,0x1580 +/* f0ab03c: 14c0000a */ bnez $a2,.PB0f0ab068 +/* f0ab040: 91420067 */ lbu $v0,0x67($t2) +/* f0ab044: 18400008 */ blez $v0,.PB0f0ab068 +/* f0ab048: 8fb900ec */ lw $t9,0xec($sp) +/* f0ab04c: 00591823 */ subu $v1,$v0,$t9 +/* f0ab050: 04610004 */ bgez $v1,.PB0f0ab064 +/* f0ab054: 306200ff */ andi $v0,$v1,0xff +/* f0ab058: a1400067 */ sb $zero,0x67($t2) +/* f0ab05c: 10000002 */ b .PB0f0ab068 +/* f0ab060: 300200ff */ andi $v0,$zero,0xff +.PB0f0ab064: +/* f0ab064: a1430067 */ sb $v1,0x67($t2) +.PB0f0ab068: +/* f0ab068: 28410081 */ slti $at,$v0,0x81 +/* f0ab06c: 14200007 */ bnez $at,.PB0f0ab08c +/* f0ab070: 00027040 */ sll $t6,$v0,0x1 +/* f0ab074: 25cfff00 */ addiu $t7,$t6,-256 +/* f0ab078: 3c01ff00 */ lui $at,0xff00 +/* f0ab07c: 34210040 */ ori $at,$at,0x40 +/* f0ab080: 000fc400 */ sll $t8,$t7,0x10 +/* f0ab084: 0301c825 */ or $t9,$t8,$at +/* f0ab088: afb900f4 */ sw $t9,0xf4($sp) +.PB0f0ab08c: +/* f0ab08c: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab090: 8fa500f4 */ lw $a1,0xf4($sp) +/* f0ab094: 0fc552fc */ jal 0xf154bf0 +/* f0ab098: afaa0058 */ sw $t2,0x58($sp) +/* f0ab09c: 3c068008 */ lui $a2,0x8008 +/* f0ab0a0: 8fa70100 */ lw $a3,0x100($sp) +/* f0ab0a4: 24c61f90 */ addiu $a2,$a2,0x1f90 +/* f0ab0a8: 8cd80000 */ lw $t8,0x0($a2) +/* f0ab0ac: 24effffe */ addiu $t7,$a3,-2 +/* f0ab0b0: 8fa50128 */ lw $a1,0x128($sp) +/* f0ab0b4: 01f80019 */ multu $t7,$t8 +/* f0ab0b8: 3c01f600 */ lui $at,0xf600 +/* f0ab0bc: 30a303ff */ andi $v1,$a1,0x3ff +/* f0ab0c0: 00037080 */ sll $t6,$v1,0x2 +/* f0ab0c4: 01c01825 */ move $v1,$t6 +/* f0ab0c8: 24440008 */ addiu $a0,$v0,0x8 +/* f0ab0cc: 0000c812 */ mflo $t9 +/* f0ab0d0: 332e03ff */ andi $t6,$t9,0x3ff +/* f0ab0d4: 000e7b80 */ sll $t7,$t6,0xe +/* f0ab0d8: 01e1c025 */ or $t8,$t7,$at +/* f0ab0dc: 0303c825 */ or $t9,$t8,$v1 +/* f0ab0e0: ac590000 */ sw $t9,0x0($v0) +/* f0ab0e4: 8ccf0000 */ lw $t7,0x0($a2) +/* f0ab0e8: 24eefff3 */ addiu $t6,$a3,-13 +/* f0ab0ec: 01cf0019 */ multu $t6,$t7 +/* f0ab0f0: 24affff5 */ addiu $t7,$a1,-11 +/* f0ab0f4: 0000c012 */ mflo $t8 +/* f0ab0f8: 331903ff */ andi $t9,$t8,0x3ff +/* f0ab0fc: 00197380 */ sll $t6,$t9,0xe +/* f0ab100: 31f803ff */ andi $t8,$t7,0x3ff +/* f0ab104: 0018c880 */ sll $t9,$t8,0x2 +/* f0ab108: 01d97825 */ or $t7,$t6,$t9 +/* f0ab10c: ac4f0004 */ sw $t7,0x4($v0) +/* f0ab110: 0fc55313 */ jal 0xf154c4c +/* f0ab114: afa30060 */ sw $v1,0x60($sp) +/* f0ab118: 3c18800a */ lui $t8,0x800a +/* f0ab11c: 8f18e758 */ lw $t8,-0x18a8($t8) +/* f0ab120: afa20130 */ sw $v0,0x130($sp) +/* f0ab124: 0fc54f02 */ jal 0xf153c08 +/* f0ab128: 8f040070 */ lw $a0,0x70($t8) +/* f0ab12c: 10400163 */ beqz $v0,.PB0f0ab6bc +/* f0ab130: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab134: 8fae005c */ lw $t6,0x5c($sp) +/* f0ab138: 8fa500f0 */ lw $a1,0xf0($sp) +/* f0ab13c: 91c40000 */ lbu $a0,0x0($t6) +/* f0ab140: 0fc2c505 */ jal 0xf0b1414 +/* f0ab144: afaa0058 */ sw $t2,0x58($sp) +/* f0ab148: 0fc44dfc */ jal 0xf1137f0 +/* f0ab14c: afa200bc */ sw $v0,0xbc($sp) +/* f0ab150: 0fc44d66 */ jal 0xf113598 +/* f0ab154: 00402025 */ move $a0,$v0 +/* f0ab158: 00402025 */ move $a0,$v0 +/* f0ab15c: 0fc5c06a */ jal 0xf1701a8 +/* f0ab160: a7a200ba */ sh $v0,0xba($sp) +/* f0ab164: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab168: 97a300ba */ lhu $v1,0xba($sp) +/* f0ab16c: 00403025 */ move $a2,$v0 +/* f0ab170: 95590072 */ lhu $t9,0x72($t2) +/* f0ab174: 3c02800a */ lui $v0,0x800a +/* f0ab178: 27a400c4 */ addiu $a0,$sp,0xc4 +/* f0ab17c: 10790003 */ beq $v1,$t9,.PB0f0ab18c +/* f0ab180: 27a500c0 */ addiu $a1,$sp,0xc0 +/* f0ab184: a140006f */ sb $zero,0x6f($t2) +/* f0ab188: a5430072 */ sh $v1,0x72($t2) +.PB0f0ab18c: +/* f0ab18c: 9143006f */ lbu $v1,0x6f($t2) +/* f0ab190: 3c078008 */ lui $a3,0x8008 +/* f0ab194: 286100ff */ slti $at,$v1,0xff +/* f0ab198: 5020008b */ beqzl $at,.PB0f0ab3c8 +/* f0ab19c: 8fa200bc */ lw $v0,0xbc($sp) +/* f0ab1a0: 8c42e508 */ lw $v0,-0x1af8($v0) +/* f0ab1a4: 3c0f55ff */ lui $t7,0x55ff +/* f0ab1a8: 35efffff */ ori $t7,$t7,0xffff +/* f0ab1ac: 0062c021 */ addu $t8,$v1,$v0 +/* f0ab1b0: 2b010100 */ slti $at,$t8,0x100 +/* f0ab1b4: 14200004 */ bnez $at,.PB0f0ab1c8 +/* f0ab1b8: afaf00d0 */ sw $t7,0xd0($sp) +/* f0ab1bc: 240e00ff */ li $t6,0xff +/* f0ab1c0: 10000003 */ b .PB0f0ab1d0 +/* f0ab1c4: a14e006f */ sb $t6,0x6f($t2) +.PB0f0ab1c8: +/* f0ab1c8: 00627821 */ addu $t7,$v1,$v0 +/* f0ab1cc: a14f006f */ sb $t7,0x6f($t2) +.PB0f0ab1d0: +/* f0ab1d0: 3c188008 */ lui $t8,0x8008 +/* f0ab1d4: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f0ab1d8: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f0ab1dc: afa00014 */ sw $zero,0x14($sp) +/* f0ab1e0: afa600d4 */ sw $a2,0xd4($sp) +/* f0ab1e4: afaa0058 */ sw $t2,0x58($sp) +/* f0ab1e8: 0fc5625a */ jal 0xf158968 +/* f0ab1ec: afb80010 */ sw $t8,0x10($sp) +/* f0ab1f0: 8fae00c0 */ lw $t6,0xc0($sp) +/* f0ab1f4: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab1f8: 00002825 */ move $a1,$zero +/* f0ab1fc: 25d90002 */ addiu $t9,$t6,0x2 +/* f0ab200: afb900c0 */ sw $t9,0xc0($sp) +/* f0ab204: 9142006f */ lbu $v0,0x6f($t2) +/* f0ab208: 00027880 */ sll $t7,$v0,0x2 +/* f0ab20c: 01e27823 */ subu $t7,$t7,$v0 +/* f0ab210: 01f9082a */ slt $at,$t7,$t9 +/* f0ab214: 50200003 */ beqzl $at,.PB0f0ab224 +/* f0ab218: 8fb80124 */ lw $t8,0x124($sp) +/* f0ab21c: afaf00c0 */ sw $t7,0xc0($sp) +/* f0ab220: 8fb80124 */ lw $t8,0x124($sp) +.PB0f0ab224: +/* f0ab224: 8fae0100 */ lw $t6,0x100($sp) +/* f0ab228: 8faf00c0 */ lw $t7,0xc0($sp) +/* f0ab22c: 2b010002 */ slti $at,$t8,0x2 +/* f0ab230: 14200007 */ bnez $at,.PB0f0ab250 +/* f0ab234: 01cfc823 */ subu $t9,$t6,$t7 +/* f0ab238: 8fae0100 */ lw $t6,0x100($sp) +/* f0ab23c: 8faf00c0 */ lw $t7,0xc0($sp) +/* f0ab240: 01cfc823 */ subu $t9,$t6,$t7 +/* f0ab244: 2738fff3 */ addiu $t8,$t9,-13 +/* f0ab248: 10000003 */ b .PB0f0ab258 +/* f0ab24c: afb800cc */ sw $t8,0xcc($sp) +.PB0f0ab250: +/* f0ab250: 2738fffe */ addiu $t8,$t9,-2 +/* f0ab254: afb800cc */ sw $t8,0xcc($sp) +.PB0f0ab258: +/* f0ab258: 8fae0128 */ lw $t6,0x128($sp) +/* f0ab25c: 8faf00c4 */ lw $t7,0xc4($sp) +/* f0ab260: 01cfc823 */ subu $t9,$t6,$t7 +/* f0ab264: 2738fff1 */ addiu $t8,$t9,-15 +/* f0ab268: afb800c8 */ sw $t8,0xc8($sp) +/* f0ab26c: 9143006f */ lbu $v1,0x6f($t2) +/* f0ab270: 241800ff */ li $t8,0xff +/* f0ab274: 286100c1 */ slti $at,$v1,0xc1 +/* f0ab278: 1420000d */ bnez $at,.PB0f0ab2b0 +/* f0ab27c: 00037200 */ sll $t6,$v1,0x8 +/* f0ab280: 3c01ffff */ lui $at,0xffff +/* f0ab284: 342140c0 */ ori $at,$at,0x40c0 +/* f0ab288: 01c37023 */ subu $t6,$t6,$v1 +/* f0ab28c: 01c17821 */ addu $t7,$t6,$at +/* f0ab290: 2401003f */ li $at,0x3f +/* f0ab294: 01e1001b */ divu $zero,$t7,$at +/* f0ab298: 0000c812 */ mflo $t9 +/* f0ab29c: 3c0155ff */ lui $at,0x55ff +/* f0ab2a0: 03191023 */ subu $v0,$t8,$t9 +/* f0ab2a4: 3421ff00 */ ori $at,$at,0xff00 +/* f0ab2a8: 00417025 */ or $t6,$v0,$at +/* f0ab2ac: afae00d0 */ sw $t6,0xd0($sp) +.PB0f0ab2b0: +/* f0ab2b0: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab2b4: 0fc552fc */ jal 0xf154bf0 +/* f0ab2b8: afaa0058 */ sw $t2,0x58($sp) +/* f0ab2bc: 3c038008 */ lui $v1,0x8008 +/* f0ab2c0: 8faf0100 */ lw $t7,0x100($sp) +/* f0ab2c4: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0ab2c8: 8c790000 */ lw $t9,0x0($v1) +/* f0ab2cc: 25f8fff5 */ addiu $t8,$t7,-11 +/* f0ab2d0: 3c01f600 */ lui $at,0xf600 +/* f0ab2d4: 03190019 */ multu $t8,$t9 +/* f0ab2d8: 24440008 */ addiu $a0,$v0,0x8 +/* f0ab2dc: 00007012 */ mflo $t6 +/* f0ab2e0: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0ab2e4: 8fae0060 */ lw $t6,0x60($sp) +/* f0ab2e8: 000fc380 */ sll $t8,$t7,0xe +/* f0ab2ec: 0301c825 */ or $t9,$t8,$at +/* f0ab2f0: 032e7825 */ or $t7,$t9,$t6 +/* f0ab2f4: ac4f0000 */ sw $t7,0x0($v0) +/* f0ab2f8: 8fb800cc */ lw $t8,0xcc($sp) +/* f0ab2fc: 8c6e0000 */ lw $t6,0x0($v1) +/* f0ab300: 2719ffff */ addiu $t9,$t8,-1 +/* f0ab304: 032e0019 */ multu $t9,$t6 +/* f0ab308: 8fae00c8 */ lw $t6,0xc8($sp) +/* f0ab30c: 00007812 */ mflo $t7 +/* f0ab310: 31f803ff */ andi $t8,$t7,0x3ff +/* f0ab314: 0018cb80 */ sll $t9,$t8,0xe +/* f0ab318: 25cfffff */ addiu $t7,$t6,-1 +/* f0ab31c: 31f803ff */ andi $t8,$t7,0x3ff +/* f0ab320: 00187080 */ sll $t6,$t8,0x2 +/* f0ab324: 032e7825 */ or $t7,$t9,$t6 +/* f0ab328: 0fc55313 */ jal 0xf154c4c +/* f0ab32c: ac4f0004 */ sw $t7,0x4($v0) +/* f0ab330: 3c018006 */ lui $at,0x8006 +/* f0ab334: c4242cf0 */ lwc1 $f4,0x2cf0($at) +/* f0ab338: 3c014248 */ lui $at,0x4248 +/* f0ab33c: 44813000 */ mtc1 $at,$f6 +/* f0ab340: afa20130 */ sw $v0,0x130($sp) +/* f0ab344: 00002825 */ move $a1,$zero +/* f0ab348: 46062202 */ mul.s $f8,$f4,$f6 +/* f0ab34c: 24060032 */ li $a2,0x32 +/* f0ab350: 4600428d */ trunc.w.s $f10,$f8 +/* f0ab354: 44045000 */ mfc1 $a0,$f10 +/* f0ab358: 0fc55459 */ jal 0xf155164 +/* f0ab35c: 00000000 */ nop +/* f0ab360: 2404ffff */ li $a0,-1 +/* f0ab364: 0fc55493 */ jal 0xf15524c +/* f0ab368: 2405ffff */ li $a1,-1 +/* f0ab36c: 3c198008 */ lui $t9,0x8008 +/* f0ab370: 8f391fd8 */ lw $t9,0x1fd8($t9) +/* f0ab374: 3c0e8008 */ lui $t6,0x8008 +/* f0ab378: 8dce1fd4 */ lw $t6,0x1fd4($t6) +/* f0ab37c: 8faf00d0 */ lw $t7,0xd0($sp) +/* f0ab380: 8fb800c0 */ lw $t8,0xc0($sp) +/* f0ab384: afb90010 */ sw $t9,0x10($sp) +/* f0ab388: 241903e8 */ li $t9,0x3e8 +/* f0ab38c: afb90020 */ sw $t9,0x20($sp) +/* f0ab390: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab394: 27a500cc */ addiu $a1,$sp,0xcc +/* f0ab398: 27a600c8 */ addiu $a2,$sp,0xc8 +/* f0ab39c: 8fa700d4 */ lw $a3,0xd4($sp) +/* f0ab3a0: afa00024 */ sw $zero,0x24($sp) +/* f0ab3a4: afa00028 */ sw $zero,0x28($sp) +/* f0ab3a8: afae0014 */ sw $t6,0x14($sp) +/* f0ab3ac: afaf0018 */ sw $t7,0x18($sp) +/* f0ab3b0: 0fc55e10 */ jal 0xf157840 +/* f0ab3b4: afb8001c */ sw $t8,0x1c($sp) +/* f0ab3b8: 0fc55498 */ jal 0xf155260 +/* f0ab3bc: afa20130 */ sw $v0,0x130($sp) +/* f0ab3c0: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab3c4: 8fa200bc */ lw $v0,0xbc($sp) +.PB0f0ab3c8: +/* f0ab3c8: 504000bd */ beqzl $v0,.PB0f0ab6c0 +/* f0ab3cc: 8fa500fc */ lw $a1,0xfc($sp) +/* f0ab3d0: 94440004 */ lhu $a0,0x4($v0) +/* f0ab3d4: 0fc5c06a */ jal 0xf1701a8 +/* f0ab3d8: afaa0058 */ sw $t2,0x58($sp) +/* f0ab3dc: 3c0eff55 */ lui $t6,0xff55 +/* f0ab3e0: 8fa300bc */ lw $v1,0xbc($sp) +/* f0ab3e4: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab3e8: 35ce55ff */ ori $t6,$t6,0x55ff +/* f0ab3ec: afae00d0 */ sw $t6,0xd0($sp) +/* f0ab3f0: 946f0004 */ lhu $t7,0x4($v1) +/* f0ab3f4: 9544006c */ lhu $a0,0x6c($t2) +/* f0ab3f8: 11e40005 */ beq $t7,$a0,.PB0f0ab410 +/* f0ab3fc: 00000000 */ nop +/* f0ab400: 91580067 */ lbu $t8,0x67($t2) +/* f0ab404: 2b010081 */ slti $at,$t8,0x81 +/* f0ab408: 50200004 */ beqzl $at,.PB0f0ab41c +/* f0ab40c: a140006e */ sb $zero,0x6e($t2) +.PB0f0ab410: +/* f0ab410: 14800005 */ bnez $a0,.PB0f0ab428 +/* f0ab414: 00000000 */ nop +/* f0ab418: a140006e */ sb $zero,0x6e($t2) +.PB0f0ab41c: +/* f0ab41c: 94790004 */ lhu $t9,0x4($v1) +/* f0ab420: a559006c */ sh $t9,0x6c($t2) +/* f0ab424: 3324ffff */ andi $a0,$t9,0xffff +.PB0f0ab428: +/* f0ab428: 0fc5c06a */ jal 0xf1701a8 +/* f0ab42c: afaa0058 */ sw $t2,0x58($sp) +/* f0ab430: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab434: 00403025 */ move $a2,$v0 +/* f0ab438: 3c02800a */ lui $v0,0x800a +/* f0ab43c: 9143006e */ lbu $v1,0x6e($t2) +/* f0ab440: 8fae0100 */ lw $t6,0x100($sp) +/* f0ab444: 27a400c4 */ addiu $a0,$sp,0xc4 +/* f0ab448: 286100ff */ slti $at,$v1,0xff +/* f0ab44c: 1020009b */ beqz $at,.PB0f0ab6bc +/* f0ab450: 27a500c0 */ addiu $a1,$sp,0xc0 +/* f0ab454: 8c42e508 */ lw $v0,-0x1af8($v0) +/* f0ab458: 25cffff5 */ addiu $t7,$t6,-11 +/* f0ab45c: afaf0060 */ sw $t7,0x60($sp) +/* f0ab460: 0062c021 */ addu $t8,$v1,$v0 +/* f0ab464: 2b010100 */ slti $at,$t8,0x100 +/* f0ab468: 14200004 */ bnez $at,.PB0f0ab47c +/* f0ab46c: 3c078008 */ lui $a3,0x8008 +/* f0ab470: 241900ff */ li $t9,0xff +/* f0ab474: 10000003 */ b .PB0f0ab484 +/* f0ab478: a159006e */ sb $t9,0x6e($t2) +.PB0f0ab47c: +/* f0ab47c: 00627821 */ addu $t7,$v1,$v0 +/* f0ab480: a14f006e */ sb $t7,0x6e($t2) +.PB0f0ab484: +/* f0ab484: 8fb800f0 */ lw $t8,0xf0($sp) +/* f0ab488: 24010001 */ li $at,0x1 +/* f0ab48c: 5701000a */ bnel $t8,$at,.PB0f0ab4b8 +/* f0ab490: 8fae00f0 */ lw $t6,0xf0($sp) +/* f0ab494: 8fae00bc */ lw $t6,0xbc($sp) +/* f0ab498: 9559006c */ lhu $t9,0x6c($t2) +/* f0ab49c: 3c18ffff */ lui $t8,0xffff +/* f0ab4a0: 95cf0004 */ lhu $t7,0x4($t6) +/* f0ab4a4: 371855ff */ ori $t8,$t8,0x55ff +/* f0ab4a8: 572f0003 */ bnel $t9,$t7,.PB0f0ab4b8 +/* f0ab4ac: 8fae00f0 */ lw $t6,0xf0($sp) +/* f0ab4b0: afb800d0 */ sw $t8,0xd0($sp) +/* f0ab4b4: 8fae00f0 */ lw $t6,0xf0($sp) +.PB0f0ab4b8: +/* f0ab4b8: 8faf00bc */ lw $t7,0xbc($sp) +/* f0ab4bc: 15c00008 */ bnez $t6,.PB0f0ab4e0 +/* f0ab4c0: 00000000 */ nop +/* f0ab4c4: 9559006c */ lhu $t9,0x6c($t2) +/* f0ab4c8: 95f80004 */ lhu $t8,0x4($t7) +/* f0ab4cc: 8fae00d0 */ lw $t6,0xd0($sp) +/* f0ab4d0: 3c0100ff */ lui $at,0xff +/* f0ab4d4: 13380002 */ beq $t9,$t8,.PB0f0ab4e0 +/* f0ab4d8: 01c17825 */ or $t7,$t6,$at +/* f0ab4dc: afaf00d0 */ sw $t7,0xd0($sp) +.PB0f0ab4e0: +/* f0ab4e0: 3c198008 */ lui $t9,0x8008 +/* f0ab4e4: 8f391fd4 */ lw $t9,0x1fd4($t9) +/* f0ab4e8: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f0ab4ec: afa00014 */ sw $zero,0x14($sp) +/* f0ab4f0: afa600d4 */ sw $a2,0xd4($sp) +/* f0ab4f4: afaa0058 */ sw $t2,0x58($sp) +/* f0ab4f8: 0fc5625a */ jal 0xf158968 +/* f0ab4fc: afb90010 */ sw $t9,0x10($sp) +/* f0ab500: 8fb800c0 */ lw $t8,0xc0($sp) +/* f0ab504: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab508: 00002825 */ move $a1,$zero +/* f0ab50c: 270e0002 */ addiu $t6,$t8,0x2 +/* f0ab510: afae00c0 */ sw $t6,0xc0($sp) +/* f0ab514: 9142006e */ lbu $v0,0x6e($t2) +/* f0ab518: 00027880 */ sll $t7,$v0,0x2 +/* f0ab51c: 01e27823 */ subu $t7,$t7,$v0 +/* f0ab520: 01ee082a */ slt $at,$t7,$t6 +/* f0ab524: 50200003 */ beqzl $at,.PB0f0ab534 +/* f0ab528: 8fb90100 */ lw $t9,0x100($sp) +/* f0ab52c: afaf00c0 */ sw $t7,0xc0($sp) +/* f0ab530: 8fb90100 */ lw $t9,0x100($sp) +.PB0f0ab534: +/* f0ab534: 8fb800c0 */ lw $t8,0xc0($sp) +/* f0ab538: 03387823 */ subu $t7,$t9,$t8 +/* f0ab53c: 8fb800c4 */ lw $t8,0xc4($sp) +/* f0ab540: 8fb90128 */ lw $t9,0x128($sp) +/* f0ab544: 25eefff3 */ addiu $t6,$t7,-13 +/* f0ab548: afae00cc */ sw $t6,0xcc($sp) +/* f0ab54c: 03387823 */ subu $t7,$t9,$t8 +/* f0ab550: 25eeffff */ addiu $t6,$t7,-1 +/* f0ab554: afae00c8 */ sw $t6,0xc8($sp) +/* f0ab558: 9143006e */ lbu $v1,0x6e($t2) +/* f0ab55c: 240e00ff */ li $t6,0xff +/* f0ab560: 286100c1 */ slti $at,$v1,0xc1 +/* f0ab564: 1420000e */ bnez $at,.PB0f0ab5a0 +/* f0ab568: 0003ca00 */ sll $t9,$v1,0x8 +/* f0ab56c: 3c01ffff */ lui $at,0xffff +/* f0ab570: 342140c0 */ ori $at,$at,0x40c0 +/* f0ab574: 0323c823 */ subu $t9,$t9,$v1 +/* f0ab578: 0321c021 */ addu $t8,$t9,$at +/* f0ab57c: 2401003f */ li $at,0x3f +/* f0ab580: 0301001b */ divu $zero,$t8,$at +/* f0ab584: 8fb900d0 */ lw $t9,0xd0($sp) +/* f0ab588: 00007812 */ mflo $t7 +/* f0ab58c: 2401ff00 */ li $at,-256 +/* f0ab590: 01cf1023 */ subu $v0,$t6,$t7 +/* f0ab594: 0321c024 */ and $t8,$t9,$at +/* f0ab598: 03027025 */ or $t6,$t8,$v0 +/* f0ab59c: afae00d0 */ sw $t6,0xd0($sp) +.PB0f0ab5a0: +/* f0ab5a0: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab5a4: 0fc552fc */ jal 0xf154bf0 +/* f0ab5a8: afaa0058 */ sw $t2,0x58($sp) +/* f0ab5ac: 3c038008 */ lui $v1,0x8008 +/* f0ab5b0: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0ab5b4: 8c790000 */ lw $t9,0x0($v1) +/* f0ab5b8: 8faf0060 */ lw $t7,0x60($sp) +/* f0ab5bc: 3c01f600 */ lui $at,0xf600 +/* f0ab5c0: 24440008 */ addiu $a0,$v0,0x8 +/* f0ab5c4: 01f90019 */ multu $t7,$t9 +/* f0ab5c8: 0000c012 */ mflo $t8 +/* f0ab5cc: 330e03ff */ andi $t6,$t8,0x3ff +/* f0ab5d0: 8fb80128 */ lw $t8,0x128($sp) +/* f0ab5d4: 000e7b80 */ sll $t7,$t6,0xe +/* f0ab5d8: 01e1c825 */ or $t9,$t7,$at +/* f0ab5dc: 270e0003 */ addiu $t6,$t8,0x3 +/* f0ab5e0: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0ab5e4: 000fc080 */ sll $t8,$t7,0x2 +/* f0ab5e8: 03387025 */ or $t6,$t9,$t8 +/* f0ab5ec: ac4e0000 */ sw $t6,0x0($v0) +/* f0ab5f0: 8faf00cc */ lw $t7,0xcc($sp) +/* f0ab5f4: 8c780000 */ lw $t8,0x0($v1) +/* f0ab5f8: 25f9ffff */ addiu $t9,$t7,-1 +/* f0ab5fc: 03380019 */ multu $t9,$t8 +/* f0ab600: 8fb800c8 */ lw $t8,0xc8($sp) +/* f0ab604: 00007012 */ mflo $t6 +/* f0ab608: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0ab60c: 000fcb80 */ sll $t9,$t7,0xe +/* f0ab610: 270effff */ addiu $t6,$t8,-1 +/* f0ab614: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0ab618: 000fc080 */ sll $t8,$t7,0x2 +/* f0ab61c: 03387025 */ or $t6,$t9,$t8 +/* f0ab620: 0fc55313 */ jal 0xf154c4c +/* f0ab624: ac4e0004 */ sw $t6,0x4($v0) +/* f0ab628: 3c018006 */ lui $at,0x8006 +/* f0ab62c: c4302cf0 */ lwc1 $f16,0x2cf0($at) +/* f0ab630: 3c014248 */ lui $at,0x4248 +/* f0ab634: 44819000 */ mtc1 $at,$f18 +/* f0ab638: afa20130 */ sw $v0,0x130($sp) +/* f0ab63c: 00002825 */ move $a1,$zero +/* f0ab640: 46128102 */ mul.s $f4,$f16,$f18 +/* f0ab644: 24060032 */ li $a2,0x32 +/* f0ab648: 4600218d */ trunc.w.s $f6,$f4 +/* f0ab64c: 44043000 */ mfc1 $a0,$f6 +/* f0ab650: 0fc55459 */ jal 0xf155164 +/* f0ab654: 00000000 */ nop +/* f0ab658: 2404ffff */ li $a0,-1 +/* f0ab65c: 0fc55493 */ jal 0xf15524c +/* f0ab660: 2405ffff */ li $a1,-1 +/* f0ab664: 3c198008 */ lui $t9,0x8008 +/* f0ab668: 8f391fd8 */ lw $t9,0x1fd8($t9) +/* f0ab66c: 3c188008 */ lui $t8,0x8008 +/* f0ab670: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f0ab674: 8fae00d0 */ lw $t6,0xd0($sp) +/* f0ab678: 8faf00c0 */ lw $t7,0xc0($sp) +/* f0ab67c: afb90010 */ sw $t9,0x10($sp) +/* f0ab680: 241903e8 */ li $t9,0x3e8 +/* f0ab684: afb90020 */ sw $t9,0x20($sp) +/* f0ab688: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab68c: 27a500cc */ addiu $a1,$sp,0xcc +/* f0ab690: 27a600c8 */ addiu $a2,$sp,0xc8 +/* f0ab694: 8fa700d4 */ lw $a3,0xd4($sp) +/* f0ab698: afa00024 */ sw $zero,0x24($sp) +/* f0ab69c: afa00028 */ sw $zero,0x28($sp) +/* f0ab6a0: afb80014 */ sw $t8,0x14($sp) +/* f0ab6a4: afae0018 */ sw $t6,0x18($sp) +/* f0ab6a8: 0fc55e10 */ jal 0xf157840 +/* f0ab6ac: afaf001c */ sw $t7,0x1c($sp) +/* f0ab6b0: 0fc55498 */ jal 0xf155260 +/* f0ab6b4: afa20130 */ sw $v0,0x130($sp) +/* f0ab6b8: 8faa0058 */ lw $t2,0x58($sp) +.PB0f0ab6bc: +/* f0ab6bc: 8fa500fc */ lw $a1,0xfc($sp) +.PB0f0ab6c0: +/* f0ab6c0: 8fb8005c */ lw $t8,0x5c($sp) +/* f0ab6c4: 50a0000a */ beqzl $a1,.PB0f0ab6f0 +/* f0ab6c8: 8fae0110 */ lw $t6,0x110($sp) +/* f0ab6cc: 930e0003 */ lbu $t6,0x3($t8) +/* f0ab6d0: 000e7880 */ sll $t7,$t6,0x2 +/* f0ab6d4: 00afc821 */ addu $t9,$a1,$t7 +/* f0ab6d8: 8f220014 */ lw $v0,0x14($t9) +/* f0ab6dc: 50400004 */ beqzl $v0,.PB0f0ab6f0 +/* f0ab6e0: 8fae0110 */ lw $t6,0x110($sp) +/* f0ab6e4: 80580007 */ lb $t8,0x7($v0) +/* f0ab6e8: afb80110 */ sw $t8,0x110($sp) +/* f0ab6ec: 8fae0110 */ lw $t6,0x110($sp) +.PB0f0ab6f0: +/* f0ab6f0: 2403ffff */ li $v1,-1 +/* f0ab6f4: 8faf005c */ lw $t7,0x5c($sp) +/* f0ab6f8: 55c30014 */ bnel $t6,$v1,.PB0f0ab74c +/* f0ab6fc: 8faf0110 */ lw $t7,0x110($sp) +/* f0ab700: 91f90003 */ lbu $t9,0x3($t7) +/* f0ab704: 0019c080 */ sll $t8,$t9,0x2 +/* f0ab708: 00187023 */ negu $t6,$t8 +/* f0ab70c: 00ae7821 */ addu $t7,$a1,$t6 +/* f0ab710: 8de20018 */ lw $v0,0x18($t7) +/* f0ab714: 50400004 */ beqzl $v0,.PB0f0ab728 +/* f0ab718: 8fb80110 */ lw $t8,0x110($sp) +/* f0ab71c: 80590007 */ lb $t9,0x7($v0) +/* f0ab720: afb90110 */ sw $t9,0x110($sp) +/* f0ab724: 8fb80110 */ lw $t8,0x110($sp) +.PB0f0ab728: +/* f0ab728: 57030008 */ bnel $t8,$v1,.PB0f0ab74c +/* f0ab72c: 8faf0110 */ lw $t7,0x110($sp) +/* f0ab730: 0fc552e5 */ jal 0xf154b94 +/* f0ab734: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab738: 240e0001 */ li $t6,0x1 +/* f0ab73c: 3c018008 */ lui $at,0x8008 +/* f0ab740: 100001e2 */ b .PB0f0abecc +/* f0ab744: ac2e1f90 */ sw $t6,0x1f90($at) +/* f0ab748: 8faf0110 */ lw $t7,0x110($sp) +.PB0f0ab74c: +/* f0ab74c: 81590069 */ lb $t9,0x69($t2) +/* f0ab750: 8fa4012c */ lw $a0,0x12c($sp) +/* f0ab754: 11f9000d */ beq $t7,$t9,.PB0f0ab78c +/* f0ab758: 24841568 */ addiu $a0,$a0,0x1568 +/* f0ab75c: 0fc2a84c */ jal 0xf0aa130 +/* f0ab760: afaa0058 */ sw $t2,0x58($sp) +/* f0ab764: 8fa4005c */ lw $a0,0x5c($sp) +/* f0ab768: 0fc2a84c */ jal 0xf0aa130 +/* f0ab76c: 2484078c */ addiu $a0,$a0,0x78c +/* f0ab770: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab774: 0fc2a84c */ jal 0xf0aa130 +/* f0ab778: 2544005c */ addiu $a0,$t2,0x5c +/* f0ab77c: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab780: 8fb80110 */ lw $t8,0x110($sp) +/* f0ab784: a1580069 */ sb $t8,0x69($t2) +/* f0ab788: 8fa500fc */ lw $a1,0xfc($sp) +.PB0f0ab78c: +/* f0ab78c: 8fae012c */ lw $t6,0x12c($sp) +/* f0ab790: 8fa20110 */ lw $v0,0x110($sp) +/* f0ab794: 25cf0ddc */ addiu $t7,$t6,0xddc +/* f0ab798: afaf0060 */ sw $t7,0x60($sp) +/* f0ab79c: 81d90de4 */ lb $t9,0xde4($t6) +/* f0ab7a0: 0002c080 */ sll $t8,$v0,0x2 +/* f0ab7a4: 00b82021 */ addu $a0,$a1,$t8 +/* f0ab7a8: 53200076 */ beqzl $t9,.PB0f0ab984 +/* f0ab7ac: 8fb9005c */ lw $t9,0x5c($sp) +/* f0ab7b0: 8c8f001c */ lw $t7,0x1c($a0) +/* f0ab7b4: 51e00073 */ beqzl $t7,.PB0f0ab984 +/* f0ab7b8: 8fb9005c */ lw $t9,0x5c($sp) +/* f0ab7bc: 91d90ddc */ lbu $t9,0xddc($t6) +/* f0ab7c0: 24010022 */ li $at,0x22 +/* f0ab7c4: 5321006f */ beql $t9,$at,.PB0f0ab984 +/* f0ab7c8: 8fb9005c */ lw $t9,0x5c($sp) +/* f0ab7cc: afb80050 */ sw $t8,0x50($sp) +/* f0ab7d0: afa40054 */ sw $a0,0x54($sp) +/* f0ab7d4: 0c002e8b */ jal 0xba2c +/* f0ab7d8: afaa0058 */ sw $t2,0x58($sp) +/* f0ab7dc: 3c188008 */ lui $t8,0x8008 +/* f0ab7e0: 8f181f90 */ lw $t8,0x1f90($t8) +/* f0ab7e4: 8fb90124 */ lw $t9,0x124($sp) +/* f0ab7e8: 8fa40054 */ lw $a0,0x54($sp) +/* f0ab7ec: 0058001a */ div $zero,$v0,$t8 +/* f0ab7f0: 00007812 */ mflo $t7 +/* f0ab7f4: 25ee0018 */ addiu $t6,$t7,0x18 +/* f0ab7f8: afae0100 */ sw $t6,0x100($sp) +/* f0ab7fc: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab800: 17000002 */ bnez $t8,.PB0f0ab80c +/* f0ab804: 00000000 */ nop +/* f0ab808: 0007000d */ break 0x7 +.PB0f0ab80c: +/* f0ab80c: 2401ffff */ li $at,-1 +/* f0ab810: 17010004 */ bne $t8,$at,.PB0f0ab824 +/* f0ab814: 3c018000 */ lui $at,0x8000 +/* f0ab818: 14410002 */ bne $v0,$at,.PB0f0ab824 +/* f0ab81c: 00000000 */ nop +/* f0ab820: 0006000d */ break 0x6 +.PB0f0ab824: +/* f0ab824: 24010002 */ li $at,0x2 +/* f0ab828: 57210015 */ bnel $t9,$at,.PB0f0ab880 +/* f0ab82c: 8fb80124 */ lw $t8,0x124($sp) +/* f0ab830: afa40054 */ sw $a0,0x54($sp) +/* f0ab834: 0fc550b9 */ jal 0xf1542e4 +/* f0ab838: afaa0058 */ sw $t2,0x58($sp) +/* f0ab83c: 24010001 */ li $at,0x1 +/* f0ab840: 8fa40054 */ lw $a0,0x54($sp) +/* f0ab844: 10410006 */ beq $v0,$at,.PB0f0ab860 +/* f0ab848: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab84c: 3c188009 */ lui $t8,0x8009 +/* f0ab850: 93182fd0 */ lbu $t8,0x2fd0($t8) +/* f0ab854: 24010001 */ li $at,0x1 +/* f0ab858: 57010009 */ bnel $t8,$at,.PB0f0ab880 +/* f0ab85c: 8fb80124 */ lw $t8,0x124($sp) +.PB0f0ab860: +/* f0ab860: 8faf0120 */ lw $t7,0x120($sp) +/* f0ab864: 8fae0100 */ lw $t6,0x100($sp) +/* f0ab868: 24010001 */ li $at,0x1 +/* f0ab86c: 15e10003 */ bne $t7,$at,.PB0f0ab87c +/* f0ab870: 25d9fff2 */ addiu $t9,$t6,-14 +/* f0ab874: 1000000b */ b .PB0f0ab8a4 +/* f0ab878: afb90100 */ sw $t9,0x100($sp) +.PB0f0ab87c: +/* f0ab87c: 8fb80124 */ lw $t8,0x124($sp) +.PB0f0ab880: +/* f0ab880: 8faf0120 */ lw $t7,0x120($sp) +/* f0ab884: 2b010003 */ slti $at,$t8,0x3 +/* f0ab888: 14200006 */ bnez $at,.PB0f0ab8a4 +/* f0ab88c: 31ee0001 */ andi $t6,$t7,0x1 +/* f0ab890: 24010001 */ li $at,0x1 +/* f0ab894: 15c10003 */ bne $t6,$at,.PB0f0ab8a4 +/* f0ab898: 8fb90100 */ lw $t9,0x100($sp) +/* f0ab89c: 2738fff2 */ addiu $t8,$t9,-14 +/* f0ab8a0: afb80100 */ sw $t8,0x100($sp) +.PB0f0ab8a4: +/* f0ab8a4: 8fa90060 */ lw $t1,0x60($sp) +/* f0ab8a8: 8faf0050 */ lw $t7,0x50($sp) +/* f0ab8ac: 012f1821 */ addu $v1,$t1,$t7 +/* f0ab8b0: 8c680228 */ lw $t0,0x228($v1) +/* f0ab8b4: 59000033 */ blezl $t0,.PB0f0ab984 +/* f0ab8b8: 8fb9005c */ lw $t9,0x5c($sp) +/* f0ab8bc: 8c8e001c */ lw $t6,0x1c($a0) +/* f0ab8c0: 8fa40130 */ lw $a0,0x130($sp) +/* f0ab8c4: 91d90010 */ lbu $t9,0x10($t6) +/* f0ab8c8: 8fae0128 */ lw $t6,0x128($sp) +/* f0ab8cc: 33380002 */ andi $t8,$t9,0x2 +/* f0ab8d0: 1700002b */ bnez $t8,.PB0f0ab980 +/* f0ab8d4: 8fb90108 */ lw $t9,0x108($sp) +/* f0ab8d8: 8fb80104 */ lw $t8,0x104($sp) +/* f0ab8dc: 01d91023 */ subu $v0,$t6,$t9 +/* f0ab8e0: 2459fffd */ addiu $t9,$v0,-3 +/* f0ab8e4: 00583023 */ subu $a2,$v0,$t8 +/* f0ab8e8: 2538078c */ addiu $t8,$t1,0x78c +/* f0ab8ec: afb80014 */ sw $t8,0x14($sp) +/* f0ab8f0: afb90010 */ sw $t9,0x10($sp) +/* f0ab8f4: 8c6f0220 */ lw $t7,0x220($v1) +/* f0ab8f8: 8fae010c */ lw $t6,0x10c($sp) +/* f0ab8fc: 8fa50100 */ lw $a1,0x100($sp) +/* f0ab900: 3c1900ff */ lui $t9,0xff +/* f0ab904: 37390040 */ ori $t9,$t9,0x40 +/* f0ab908: 00ae3821 */ addu $a3,$a1,$t6 +/* f0ab90c: 3c0e0030 */ lui $t6,0x30 +/* f0ab910: 35ce0080 */ ori $t6,$t6,0x80 +/* f0ab914: afae0020 */ sw $t6,0x20($sp) +/* f0ab918: afa70044 */ sw $a3,0x44($sp) +/* f0ab91c: afb90024 */ sw $t9,0x24($sp) +/* f0ab920: afaa0058 */ sw $t2,0x58($sp) +/* f0ab924: afa3004c */ sw $v1,0x4c($sp) +/* f0ab928: afa20048 */ sw $v0,0x48($sp) +/* f0ab92c: afa00028 */ sw $zero,0x28($sp) +/* f0ab930: afa8001c */ sw $t0,0x1c($sp) +/* f0ab934: 24c6fffd */ addiu $a2,$a2,-3 +/* f0ab938: 0fc2a8db */ jal 0xf0aa36c +/* f0ab93c: afaf0018 */ sw $t7,0x18($sp) +/* f0ab940: 8fa3004c */ lw $v1,0x4c($sp) +/* f0ab944: 8fb80048 */ lw $t8,0x48($sp) +/* f0ab948: 8fa60044 */ lw $a2,0x44($sp) +/* f0ab94c: 3c0e00ff */ lui $t6,0xff +/* f0ab950: 8c650220 */ lw $a1,0x220($v1) +/* f0ab954: 35ce00a0 */ ori $t6,$t6,0xa0 +/* f0ab958: 270ffff8 */ addiu $t7,$t8,-8 +/* f0ab95c: afaf0010 */ sw $t7,0x10($sp) +/* f0ab960: afae0018 */ sw $t6,0x18($sp) +/* f0ab964: afa00014 */ sw $zero,0x14($sp) +/* f0ab968: 00402025 */ move $a0,$v0 +/* f0ab96c: 24070001 */ li $a3,0x1 +/* f0ab970: 0fc2a832 */ jal 0xf0aa0c8 +/* f0ab974: 24c60002 */ addiu $a2,$a2,0x2 +/* f0ab978: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab97c: afa20130 */ sw $v0,0x130($sp) +.PB0f0ab980: +/* f0ab980: 8fb9005c */ lw $t9,0x5c($sp) +.PB0f0ab984: +/* f0ab984: 8faf0110 */ lw $t7,0x110($sp) +/* f0ab988: 83380008 */ lb $t8,0x8($t9) +/* f0ab98c: 014f7021 */ addu $t6,$t2,$t7 +/* f0ab990: 13000149 */ beqz $t8,.PB0f0abeb8 +/* f0ab994: 00000000 */ nop +/* f0ab998: 81d90064 */ lb $t9,0x64($t6) +/* f0ab99c: 8fb8012c */ lw $t8,0x12c($sp) +/* f0ab9a0: 07200145 */ bltz $t9,.PB0f0abeb8 +/* f0ab9a4: 030f7021 */ addu $t6,$t8,$t7 +/* f0ab9a8: 81d915e4 */ lb $t9,0x15e4($t6) +/* f0ab9ac: 000fc080 */ sll $t8,$t7,0x2 +/* f0ab9b0: afb80050 */ sw $t8,0x50($sp) +/* f0ab9b4: afaa0058 */ sw $t2,0x58($sp) +/* f0ab9b8: 0c002e8b */ jal 0xba2c +/* f0ab9bc: afb900a4 */ sw $t9,0xa4($sp) +/* f0ab9c0: 0c002e6d */ jal 0xb9b4 +/* f0ab9c4: a7a20076 */ sh $v0,0x76($sp) +/* f0ab9c8: 87ae0076 */ lh $t6,0x76($sp) +/* f0ab9cc: 3c0f8008 */ lui $t7,0x8008 +/* f0ab9d0: 8def1f90 */ lw $t7,0x1f90($t7) +/* f0ab9d4: 004ec821 */ addu $t9,$v0,$t6 +/* f0ab9d8: 8fae010c */ lw $t6,0x10c($sp) +/* f0ab9dc: 032f001a */ div $zero,$t9,$t7 +/* f0ab9e0: 0000c012 */ mflo $t8 +/* f0ab9e4: 8faa0058 */ lw $t2,0x58($sp) +/* f0ab9e8: 15e00002 */ bnez $t7,.PB0f0ab9f4 +/* f0ab9ec: 00000000 */ nop +/* f0ab9f0: 0007000d */ break 0x7 +.PB0f0ab9f4: +/* f0ab9f4: 2401ffff */ li $at,-1 +/* f0ab9f8: 15e10004 */ bne $t7,$at,.PB0f0aba0c +/* f0ab9fc: 3c018000 */ lui $at,0x8000 +/* f0aba00: 17210002 */ bne $t9,$at,.PB0f0aba0c +/* f0aba04: 00000000 */ nop +/* f0aba08: 0006000d */ break 0x6 +.PB0f0aba0c: +/* f0aba0c: 030ec823 */ subu $t9,$t8,$t6 +/* f0aba10: 8fb80124 */ lw $t8,0x124($sp) +/* f0aba14: 272fffe8 */ addiu $t7,$t9,-24 +/* f0aba18: 24010002 */ li $at,0x2 +/* f0aba1c: 17010011 */ bne $t8,$at,.PB0f0aba64 +/* f0aba20: afaf0100 */ sw $t7,0x100($sp) +/* f0aba24: 0fc550b9 */ jal 0xf1542e4 +/* f0aba28: afaa0058 */ sw $t2,0x58($sp) +/* f0aba2c: 24010001 */ li $at,0x1 +/* f0aba30: 10410006 */ beq $v0,$at,.PB0f0aba4c +/* f0aba34: 8faa0058 */ lw $t2,0x58($sp) +/* f0aba38: 3c0e8009 */ lui $t6,0x8009 +/* f0aba3c: 91ce2fd0 */ lbu $t6,0x2fd0($t6) +/* f0aba40: 24010001 */ li $at,0x1 +/* f0aba44: 55c10008 */ bnel $t6,$at,.PB0f0aba68 +/* f0aba48: 8fae0124 */ lw $t6,0x124($sp) +.PB0f0aba4c: +/* f0aba4c: 8fb90120 */ lw $t9,0x120($sp) +/* f0aba50: 8faf0100 */ lw $t7,0x100($sp) +/* f0aba54: 17200003 */ bnez $t9,.PB0f0aba64 +/* f0aba58: 25f8000f */ addiu $t8,$t7,0xf +/* f0aba5c: 1000000a */ b .PB0f0aba88 +/* f0aba60: afb80100 */ sw $t8,0x100($sp) +.PB0f0aba64: +/* f0aba64: 8fae0124 */ lw $t6,0x124($sp) +.PB0f0aba68: +/* f0aba68: 8fb90120 */ lw $t9,0x120($sp) +/* f0aba6c: 29c10003 */ slti $at,$t6,0x3 +/* f0aba70: 14200005 */ bnez $at,.PB0f0aba88 +/* f0aba74: 332f0001 */ andi $t7,$t9,0x1 +/* f0aba78: 15e00003 */ bnez $t7,.PB0f0aba88 +/* f0aba7c: 8fb80100 */ lw $t8,0x100($sp) +/* f0aba80: 270e000f */ addiu $t6,$t8,0xf +/* f0aba84: afae0100 */ sw $t6,0x100($sp) +.PB0f0aba88: +/* f0aba88: 8faf00a4 */ lw $t7,0xa4($sp) +/* f0aba8c: 8fa90050 */ lw $t1,0x50($sp) +/* f0aba90: 8fb9012c */ lw $t9,0x12c($sp) +/* f0aba94: 000fc080 */ sll $t8,$t7,0x2 +/* f0aba98: 8faf005c */ lw $t7,0x5c($sp) +/* f0aba9c: 03387021 */ addu $t6,$t9,$t8 +/* f0abaa0: 8fb900fc */ lw $t9,0xfc($sp) +/* f0abaa4: 01e94021 */ addu $t0,$t7,$t1 +/* f0abaa8: 8d030228 */ lw $v1,0x228($t0) +/* f0abaac: 8dcc17a8 */ lw $t4,0x17a8($t6) +/* f0abab0: 0329c021 */ addu $t8,$t9,$t1 +/* f0abab4: 58600038 */ blezl $v1,.PB0f0abb98 +/* f0abab8: 8faf00a4 */ lw $t7,0xa4($sp) +/* f0ababc: 8f02001c */ lw $v0,0x1c($t8) +/* f0abac0: 50400035 */ beqzl $v0,.PB0f0abb98 +/* f0abac4: 8faf00a4 */ lw $t7,0xa4($sp) +/* f0abac8: 904e0010 */ lbu $t6,0x10($v0) +/* f0abacc: 25f8078c */ addiu $t8,$t7,0x78c +/* f0abad0: 3c0f00ff */ lui $t7,0xff +/* f0abad4: 31d90002 */ andi $t9,$t6,0x2 +/* f0abad8: 1720002e */ bnez $t9,.PB0f0abb94 +/* f0abadc: 8fae0128 */ lw $t6,0x128($sp) +/* f0abae0: 8fb90108 */ lw $t9,0x108($sp) +/* f0abae4: 8fa50100 */ lw $a1,0x100($sp) +/* f0abae8: afb80014 */ sw $t8,0x14($sp) +/* f0abaec: 01d91023 */ subu $v0,$t6,$t9 +/* f0abaf0: 8fae0104 */ lw $t6,0x104($sp) +/* f0abaf4: 8fb9010c */ lw $t9,0x10c($sp) +/* f0abaf8: 2458fff8 */ addiu $t8,$v0,-8 +/* f0abafc: 004e3023 */ subu $a2,$v0,$t6 +/* f0abb00: 244efffd */ addiu $t6,$v0,-3 +/* f0abb04: afae0010 */ sw $t6,0x10($sp) +/* f0abb08: 00b93821 */ addu $a3,$a1,$t9 +/* f0abb0c: 8d190220 */ lw $t9,0x220($t0) +/* f0abb10: 3c0e0030 */ lui $t6,0x30 +/* f0abb14: 35ce0080 */ ori $t6,$t6,0x80 +/* f0abb18: 35ef0040 */ ori $t7,$t7,0x40 +/* f0abb1c: afaf0024 */ sw $t7,0x24($sp) +/* f0abb20: afae0020 */ sw $t6,0x20($sp) +/* f0abb24: afac00a0 */ sw $t4,0xa0($sp) +/* f0abb28: afaa0058 */ sw $t2,0x58($sp) +/* f0abb2c: afa80038 */ sw $t0,0x38($sp) +/* f0abb30: afb80054 */ sw $t8,0x54($sp) +/* f0abb34: afa00028 */ sw $zero,0x28($sp) +/* f0abb38: afa3001c */ sw $v1,0x1c($sp) +/* f0abb3c: 24c6fffd */ addiu $a2,$a2,-3 +/* f0abb40: 8fa40130 */ lw $a0,0x130($sp) +/* f0abb44: 0fc2a8db */ jal 0xf0aa36c +/* f0abb48: afb90018 */ sw $t9,0x18($sp) +/* f0abb4c: 8fa80038 */ lw $t0,0x38($sp) +/* f0abb50: 8fa60100 */ lw $a2,0x100($sp) +/* f0abb54: 8fb90054 */ lw $t9,0x54($sp) +/* f0abb58: 3c0e00ff */ lui $t6,0xff +/* f0abb5c: 8d050220 */ lw $a1,0x220($t0) +/* f0abb60: 35ce00a0 */ ori $t6,$t6,0xa0 +/* f0abb64: afae0018 */ sw $t6,0x18($sp) +/* f0abb68: afa00014 */ sw $zero,0x14($sp) +/* f0abb6c: 00402025 */ move $a0,$v0 +/* f0abb70: 00003825 */ move $a3,$zero +/* f0abb74: 24c6fffe */ addiu $a2,$a2,-2 +/* f0abb78: 0fc2a832 */ jal 0xf0aa0c8 +/* f0abb7c: afb90010 */ sw $t9,0x10($sp) +/* f0abb80: 8fa80038 */ lw $t0,0x38($sp) +/* f0abb84: 8faa0058 */ lw $t2,0x58($sp) +/* f0abb88: 8fac00a0 */ lw $t4,0xa0($sp) +/* f0abb8c: afa20130 */ sw $v0,0x130($sp) +/* f0abb90: 8fa90050 */ lw $t1,0x50($sp) +.PB0f0abb94: +/* f0abb94: 8faf00a4 */ lw $t7,0xa4($sp) +.PB0f0abb98: +/* f0abb98: 3c0b8007 */ lui $t3,0x8007 +/* f0abb9c: 8fb900fc */ lw $t9,0xfc($sp) +/* f0abba0: 000fc080 */ sll $t8,$t7,0x2 +/* f0abba4: 030fc023 */ subu $t8,$t8,$t7 +/* f0abba8: 0018c080 */ sll $t8,$t8,0x2 +/* f0abbac: 01785821 */ addu $t3,$t3,$t8 +/* f0abbb0: 8d6b20e8 */ lw $t3,0x20e8($t3) +/* f0abbb4: 03297021 */ addu $t6,$t9,$t1 +/* f0abbb8: 5960003e */ blezl $t3,.PB0f0abcb4 +/* f0abbbc: 8fb9005c */ lw $t9,0x5c($sp) +/* f0abbc0: 8dcf001c */ lw $t7,0x1c($t6) +/* f0abbc4: 8fb90100 */ lw $t9,0x100($sp) +/* f0abbc8: 91e20010 */ lbu $v0,0x10($t7) +/* f0abbcc: 272efffe */ addiu $t6,$t9,-2 +/* f0abbd0: 30580001 */ andi $t8,$v0,0x1 +/* f0abbd4: 57000037 */ bnezl $t8,.PB0f0abcb4 +/* f0abbd8: 8fb9005c */ lw $t9,0x5c($sp) +/* f0abbdc: 8faf0128 */ lw $t7,0x128($sp) +/* f0abbe0: 8fb80108 */ lw $t8,0x108($sp) +/* f0abbe4: afae0054 */ sw $t6,0x54($sp) +/* f0abbe8: 8fae010c */ lw $t6,0x10c($sp) +/* f0abbec: 01f83023 */ subu $a2,$t7,$t8 +/* f0abbf0: 304f0002 */ andi $t7,$v0,0x2 +/* f0abbf4: 01804825 */ move $t1,$t4 +/* f0abbf8: 254d005c */ addiu $t5,$t2,0x5c +/* f0abbfc: 11e0000d */ beqz $t7,.PB0f0abc34 +/* f0abc00: 032e3821 */ addu $a3,$t9,$t6 +/* f0abc04: 8d0e0228 */ lw $t6,0x228($t0) +/* f0abc08: 8fb80060 */ lw $t8,0x60($sp) +/* f0abc0c: 8fb90050 */ lw $t9,0x50($sp) +/* f0abc10: 19c00003 */ blez $t6,.PB0f0abc20 +/* f0abc14: 03191821 */ addu $v1,$t8,$t9 +/* f0abc18: 8d0f0220 */ lw $t7,0x220($t0) +/* f0abc1c: 018f4821 */ addu $t1,$t4,$t7 +.PB0f0abc20: +/* f0abc20: 8c780228 */ lw $t8,0x228($v1) +/* f0abc24: 5b000004 */ blezl $t8,.PB0f0abc38 +/* f0abc28: 8fae0128 */ lw $t6,0x128($sp) +/* f0abc2c: 8c790220 */ lw $t9,0x220($v1) +/* f0abc30: 01394821 */ addu $t1,$t1,$t9 +.PB0f0abc34: +/* f0abc34: 8fae0128 */ lw $t6,0x128($sp) +.PB0f0abc38: +/* f0abc38: 3c0f0040 */ lui $t7,0x40 +/* f0abc3c: 3c1800ff */ lui $t8,0xff +/* f0abc40: 3718c040 */ ori $t8,$t8,0xc040 +/* f0abc44: 35ef3080 */ ori $t7,$t7,0x3080 +/* f0abc48: 24190001 */ li $t9,0x1 +/* f0abc4c: afb90028 */ sw $t9,0x28($sp) +/* f0abc50: afaf0020 */ sw $t7,0x20($sp) +/* f0abc54: afb80024 */ sw $t8,0x24($sp) +/* f0abc58: 8fa40130 */ lw $a0,0x130($sp) +/* f0abc5c: 8fa50100 */ lw $a1,0x100($sp) +/* f0abc60: afad0014 */ sw $t5,0x14($sp) +/* f0abc64: afa90018 */ sw $t1,0x18($sp) +/* f0abc68: afab001c */ sw $t3,0x1c($sp) +/* f0abc6c: afa60048 */ sw $a2,0x48($sp) +/* f0abc70: afa9009c */ sw $t1,0x9c($sp) +/* f0abc74: 0fc2a8db */ jal 0xf0aa36c +/* f0abc78: afae0010 */ sw $t6,0x10($sp) +/* f0abc7c: 8fae0048 */ lw $t6,0x48($sp) +/* f0abc80: 3c1800ff */ lui $t8,0xff +/* f0abc84: 3718c0a0 */ ori $t8,$t8,0xc0a0 +/* f0abc88: 25cf0001 */ addiu $t7,$t6,0x1 +/* f0abc8c: afaf0010 */ sw $t7,0x10($sp) +/* f0abc90: afb80018 */ sw $t8,0x18($sp) +/* f0abc94: 00402025 */ move $a0,$v0 +/* f0abc98: 8fa5009c */ lw $a1,0x9c($sp) +/* f0abc9c: 8fa60054 */ lw $a2,0x54($sp) +/* f0abca0: 00003825 */ move $a3,$zero +/* f0abca4: 0fc2a832 */ jal 0xf0aa0c8 +/* f0abca8: afa00014 */ sw $zero,0x14($sp) +/* f0abcac: afa20130 */ sw $v0,0x130($sp) +/* f0abcb0: 8fb9005c */ lw $t9,0x5c($sp) +.PB0f0abcb4: +/* f0abcb4: 24010023 */ li $at,0x23 +/* f0abcb8: 24080bb8 */ li $t0,0xbb8 +/* f0abcbc: 932e0000 */ lbu $t6,0x0($t9) +/* f0abcc0: 3c03800a */ lui $v1,0x800a +/* f0abcc4: 15c1007c */ bne $t6,$at,.PB0f0abeb8 +/* f0abcc8: 00000000 */ nop +/* f0abccc: 8c63e92c */ lw $v1,-0x16d4($v1) +/* f0abcd0: 8fb80100 */ lw $t8,0x100($sp) +/* f0abcd4: 8fb9010c */ lw $t9,0x10c($sp) +/* f0abcd8: 0068001a */ div $zero,$v1,$t0 +/* f0abcdc: 00007812 */ mflo $t7 +/* f0abce0: afaf005c */ sw $t7,0x5c($sp) +/* f0abce4: 03197021 */ addu $t6,$t8,$t9 +/* f0abce8: 8fb80108 */ lw $t8,0x108($sp) +/* f0abcec: 8faf0128 */ lw $t7,0x128($sp) +/* f0abcf0: afae0044 */ sw $t6,0x44($sp) +/* f0abcf4: 15000002 */ bnez $t0,.PB0f0abd00 +/* f0abcf8: 00000000 */ nop +/* f0abcfc: 0007000d */ break 0x7 +.PB0f0abd00: +/* f0abd00: 2401ffff */ li $at,-1 +/* f0abd04: 15010004 */ bne $t0,$at,.PB0f0abd18 +/* f0abd08: 3c018000 */ lui $at,0x8000 +/* f0abd0c: 14610002 */ bne $v1,$at,.PB0f0abd18 +/* f0abd10: 00000000 */ nop +/* f0abd14: 0006000d */ break 0x6 +.PB0f0abd18: +/* f0abd18: 01f8c823 */ subu $t9,$t7,$t8 +/* f0abd1c: 8faf005c */ lw $t7,0x5c($sp) +/* f0abd20: 272e0001 */ addiu $t6,$t9,0x1 +/* f0abd24: afae0060 */ sw $t6,0x60($sp) +/* f0abd28: 59e0002e */ blezl $t7,.PB0f0abde4 +/* f0abd2c: 8fb9005c */ lw $t9,0x5c($sp) +/* f0abd30: 01e80019 */ multu $t7,$t0 +/* f0abd34: 24090032 */ li $t1,0x32 +/* f0abd38: 01e03025 */ move $a2,$t7 +/* f0abd3c: 3c057f1b */ lui $a1,0x7f1b +/* f0abd40: 24a5ddcc */ addiu $a1,$a1,-8756 +/* f0abd44: 27a40078 */ addiu $a0,$sp,0x78 +/* f0abd48: 0000c012 */ mflo $t8 +/* f0abd4c: 00781023 */ subu $v0,$v1,$t8 +/* f0abd50: 00000000 */ nop +/* f0abd54: 0049001a */ div $zero,$v0,$t1 +/* f0abd58: 00003812 */ mflo $a3 +/* f0abd5c: 15200002 */ bnez $t1,.PB0f0abd68 +/* f0abd60: 00000000 */ nop +/* f0abd64: 0007000d */ break 0x7 +.PB0f0abd68: +/* f0abd68: 2401ffff */ li $at,-1 +/* f0abd6c: 15210004 */ bne $t1,$at,.PB0f0abd80 +/* f0abd70: 3c018000 */ lui $at,0x8000 +/* f0abd74: 14410002 */ bne $v0,$at,.PB0f0abd80 +/* f0abd78: 00000000 */ nop +/* f0abd7c: 0006000d */ break 0x6 +.PB0f0abd80: +/* f0abd80: 00e90019 */ multu $a3,$t1 +/* f0abd84: 0000c812 */ mflo $t9 +/* f0abd88: 00597023 */ subu $t6,$v0,$t9 +/* f0abd8c: 000e7880 */ sll $t7,$t6,0x2 +/* f0abd90: 01ee7823 */ subu $t7,$t7,$t6 +/* f0abd94: 000f78c0 */ sll $t7,$t7,0x3 +/* f0abd98: 01ee7821 */ addu $t7,$t7,$t6 +/* f0abd9c: 000f7880 */ sll $t7,$t7,0x2 +/* f0abda0: 01e9001a */ div $zero,$t7,$t1 +/* f0abda4: 0000c012 */ mflo $t8 +/* f0abda8: afb80010 */ sw $t8,0x10($sp) +/* f0abdac: 15200002 */ bnez $t1,.PB0f0abdb8 +/* f0abdb0: 00000000 */ nop +/* f0abdb4: 0007000d */ break 0x7 +.PB0f0abdb8: +/* f0abdb8: 2401ffff */ li $at,-1 +/* f0abdbc: 15210004 */ bne $t1,$at,.PB0f0abdd0 +/* f0abdc0: 3c018000 */ lui $at,0x8000 +/* f0abdc4: 15e10002 */ bne $t7,$at,.PB0f0abdd0 +/* f0abdc8: 00000000 */ nop +/* f0abdcc: 0006000d */ break 0x6 +.PB0f0abdd0: +/* f0abdd0: 0c004e1d */ jal 0x13874 +/* f0abdd4: 00000000 */ nop +/* f0abdd8: 1000002b */ b .PB0f0abe88 +/* f0abddc: 8fa60044 */ lw $a2,0x44($sp) +/* f0abde0: 8fb9005c */ lw $t9,0x5c($sp) +.PB0f0abde4: +/* f0abde4: 24090032 */ li $t1,0x32 +/* f0abde8: 3c057f1b */ lui $a1,0x7f1b +/* f0abdec: 03280019 */ multu $t9,$t0 +/* f0abdf0: 24a5dddc */ addiu $a1,$a1,-8740 +/* f0abdf4: 27a40078 */ addiu $a0,$sp,0x78 +/* f0abdf8: 00007012 */ mflo $t6 +/* f0abdfc: 006e1023 */ subu $v0,$v1,$t6 +/* f0abe00: 00000000 */ nop +/* f0abe04: 0049001a */ div $zero,$v0,$t1 +/* f0abe08: 00003012 */ mflo $a2 +/* f0abe0c: 15200002 */ bnez $t1,.PB0f0abe18 +/* f0abe10: 00000000 */ nop +/* f0abe14: 0007000d */ break 0x7 +.PB0f0abe18: +/* f0abe18: 2401ffff */ li $at,-1 +/* f0abe1c: 15210004 */ bne $t1,$at,.PB0f0abe30 +/* f0abe20: 3c018000 */ lui $at,0x8000 +/* f0abe24: 14410002 */ bne $v0,$at,.PB0f0abe30 +/* f0abe28: 00000000 */ nop +/* f0abe2c: 0006000d */ break 0x6 +.PB0f0abe30: +/* f0abe30: 00c90019 */ multu $a2,$t1 +/* f0abe34: 00007812 */ mflo $t7 +/* f0abe38: 004fc023 */ subu $t8,$v0,$t7 +/* f0abe3c: 0018c880 */ sll $t9,$t8,0x2 +/* f0abe40: 0338c823 */ subu $t9,$t9,$t8 +/* f0abe44: 0019c8c0 */ sll $t9,$t9,0x3 +/* f0abe48: 0338c821 */ addu $t9,$t9,$t8 +/* f0abe4c: 0019c880 */ sll $t9,$t9,0x2 +/* f0abe50: 0329001a */ div $zero,$t9,$t1 +/* f0abe54: 00003812 */ mflo $a3 +/* f0abe58: 15200002 */ bnez $t1,.PB0f0abe64 +/* f0abe5c: 00000000 */ nop +/* f0abe60: 0007000d */ break 0x7 +.PB0f0abe64: +/* f0abe64: 2401ffff */ li $at,-1 +/* f0abe68: 15210004 */ bne $t1,$at,.PB0f0abe7c +/* f0abe6c: 3c018000 */ lui $at,0x8000 +/* f0abe70: 17210002 */ bne $t9,$at,.PB0f0abe7c +/* f0abe74: 00000000 */ nop +/* f0abe78: 0006000d */ break 0x6 +.PB0f0abe7c: +/* f0abe7c: 0c004e1d */ jal 0x13874 +/* f0abe80: 00000000 */ nop +/* f0abe84: 8fa60044 */ lw $a2,0x44($sp) +.PB0f0abe88: +/* f0abe88: 8fae0060 */ lw $t6,0x60($sp) +/* f0abe8c: 3c0f00ff */ lui $t7,0xff +/* f0abe90: 35efc0a0 */ ori $t7,$t7,0xc0a0 +/* f0abe94: afaf0018 */ sw $t7,0x18($sp) +/* f0abe98: 8fa40130 */ lw $a0,0x130($sp) +/* f0abe9c: 27a50078 */ addiu $a1,$sp,0x78 +/* f0abea0: 00003825 */ move $a3,$zero +/* f0abea4: afa00014 */ sw $zero,0x14($sp) +/* f0abea8: 24c6fffe */ addiu $a2,$a2,-2 +/* f0abeac: 0fc2a7c1 */ jal 0xf0a9f04 +/* f0abeb0: afae0010 */ sw $t6,0x10($sp) +/* f0abeb4: afa20130 */ sw $v0,0x130($sp) +.PB0f0abeb8: +/* f0abeb8: 0fc552e5 */ jal 0xf154b94 +/* f0abebc: 8fa40130 */ lw $a0,0x130($sp) +/* f0abec0: 24180001 */ li $t8,0x1 +/* f0abec4: 3c018008 */ lui $at,0x8008 +/* f0abec8: ac381f90 */ sw $t8,0x1f90($at) +.PB0f0abecc: +/* f0abecc: 8fbf0034 */ lw $ra,0x34($sp) +/* f0abed0: 27bd0130 */ addiu $sp,$sp,0x130 +/* f0abed4: 03e00008 */ jr $ra +/* f0abed8: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel bgunRenderHud diff --git a/src/game/bondview.c b/src/game/bondview.c index 1318370b6..8c4a9c648 100644 --- a/src/game/bondview.c +++ b/src/game/bondview.c @@ -1401,6 +1401,637 @@ glabel var7f1b5f48 /* f144334: 03e00008 */ jr $ra /* f144338: 27bd0138 */ addiu $sp,$sp,0x138 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bviewRenderFisheye +.late_rodata +glabel var7f1b5f40 +.word 0x3f83d70a +glabel var7f1b5f44 +.word 0x3bcccccd +glabel var7f1b5f48 +.word 0x3c23d70a +.text +/* f144390: 27bdfed8 */ addiu $sp,$sp,-296 +/* f144394: afbf006c */ sw $ra,0x6c($sp) +/* f144398: afb70064 */ sw $s7,0x64($sp) +/* f14439c: afb1004c */ sw $s1,0x4c($sp) +/* f1443a0: afb00048 */ sw $s0,0x48($sp) +/* f1443a4: 00c08025 */ move $s0,$a2 +/* f1443a8: 00808825 */ move $s1,$a0 +/* f1443ac: 00a0b825 */ move $s7,$a1 +/* f1443b0: afbe0068 */ sw $s8,0x68($sp) +/* f1443b4: afb60060 */ sw $s6,0x60($sp) +/* f1443b8: afb5005c */ sw $s5,0x5c($sp) +/* f1443bc: afb40058 */ sw $s4,0x58($sp) +/* f1443c0: afb30054 */ sw $s3,0x54($sp) +/* f1443c4: afb20050 */ sw $s2,0x50($sp) +/* f1443c8: f7ba0040 */ sdc1 $f26,0x40($sp) +/* f1443cc: f7b80038 */ sdc1 $f24,0x38($sp) +/* f1443d0: f7b60030 */ sdc1 $f22,0x30($sp) +/* f1443d4: f7b40028 */ sdc1 $f20,0x28($sp) +/* f1443d8: 0c002a12 */ jal 0xa848 +/* f1443dc: afa70134 */ sw $a3,0x134($sp) +/* f1443e0: 0c002e8f */ jal 0xba3c +/* f1443e4: afa20124 */ sw $v0,0x124($sp) +/* f1443e8: 244e0010 */ addiu $t6,$v0,0x10 +/* f1443ec: 0c002e71 */ jal 0xb9c4 +/* f1443f0: afae0120 */ sw $t6,0x120($sp) +/* f1443f4: 2443ffe0 */ addiu $v1,$v0,-32 +/* f1443f8: 44832000 */ mtc1 $v1,$f4 +/* f1443fc: 3c013f00 */ lui $at,0x3f00 +/* f144400: 44813000 */ mtc1 $at,$f6 +/* f144404: 468020a0 */ cvt.s.w $f2,$f4 +/* f144408: afa3011c */ sw $v1,0x11c($sp) +/* f14440c: 46061682 */ mul.s $f26,$f2,$f6 +/* f144410: 461ad200 */ add.s $f8,$f26,$f26 +/* f144414: 461ad582 */ mul.s $f22,$f26,$f26 +/* f144418: 46004287 */ neg.s $f10,$f8 +/* f14441c: 0c002e6d */ jal 0xb9b4 +/* f144420: 46025603 */ div.s $f24,$f10,$f2 +/* f144424: 0c002e8b */ jal 0xba2c +/* f144428: 0040b025 */ move $s6,$v0 +/* f14442c: 3c038008 */ lui $v1,0x8008 +/* f144430: 24631d10 */ addiu $v1,$v1,0x1d10 +/* f144434: 8c6f0000 */ lw $t7,0x0($v1) +/* f144438: 3c013f80 */ lui $at,0x3f80 +/* f14443c: 44818000 */ mtc1 $at,$f16 +/* f144440: 25f80001 */ addiu $t8,$t7,0x1 +/* f144444: 2b010002 */ slti $at,$t8,0x2 +/* f144448: 0040a825 */ move $s5,$v0 +/* f14444c: 00009025 */ move $s2,$zero +/* f144450: ac780000 */ sw $t8,0x0($v1) +/* f144454: 14200003 */ bnez $at,.PB0f144464 +/* f144458: e7b000f0 */ swc1 $f16,0xf0($sp) +/* f14445c: 10000208 */ b .PB0f144c80 +/* f144460: 02201025 */ move $v0,$s1 +.PB0f144464: +/* f144464: 3c04800b */ lui $a0,0x800b +/* f144468: 3c057f1b */ lui $a1,0x7f1b +/* f14446c: 24a57df4 */ addiu $a1,$a1,0x7df4 +/* f144470: 0c004cbc */ jal 0x132f0 +/* f144474: 248487e0 */ addiu $a0,$a0,-30752 +/* f144478: 83a3013b */ lb $v1,0x13b($sp) +/* f14447c: 24130001 */ li $s3,0x1 +/* f144480: 26240008 */ addiu $a0,$s1,0x8 +/* f144484: 28670029 */ slti $a3,$v1,0x29 +/* f144488: 30e800ff */ andi $t0,$a3,0xff +/* f14448c: 1100001d */ beqz $t0,.PB0f144504 +/* f144490: 01003825 */ move $a3,$t0 +/* f144494: 44834000 */ mtc1 $v1,$f8 +/* f144498: 3c013f00 */ lui $at,0x3f00 +/* f14449c: 44813000 */ mtc1 $at,$f6 +/* f1444a0: 468042a0 */ cvt.s.w $f10,$f8 +/* f1444a4: 3c014224 */ lui $at,0x4224 +/* f1444a8: 44818000 */ mtc1 $at,$f16 +/* f1444ac: 8fa9011c */ lw $t1,0x11c($sp) +/* f1444b0: 3c01437f */ lui $at,0x437f +/* f1444b4: 240d00ff */ li $t5,0xff +/* f1444b8: 46105003 */ div.s $f0,$f10,$f16 +/* f1444bc: 44899000 */ mtc1 $t1,$f18 +/* f1444c0: 00000000 */ nop +/* f1444c4: 46809120 */ cvt.s.w $f4,$f18 +/* f1444c8: 46062502 */ mul.s $f20,$f4,$f6 +/* f1444cc: 44813000 */ mtc1 $at,$f6 +/* f1444d0: e7a000f0 */ swc1 $f0,0xf0($sp) +/* f1444d4: 4600a482 */ mul.s $f18,$f20,$f0 +/* f1444d8: e7b400ec */ swc1 $f20,0xec($sp) +/* f1444dc: 46060202 */ mul.s $f8,$f0,$f6 +/* f1444e0: 4600910d */ trunc.w.s $f4,$f18 +/* f1444e4: 4600428d */ trunc.w.s $f10,$f8 +/* f1444e8: 440b2000 */ mfc1 $t3,$f4 +/* f1444ec: 44025000 */ mfc1 $v0,$f10 +/* f1444f0: afab00f4 */ sw $t3,0xf4($sp) +/* f1444f4: 28410100 */ slti $at,$v0,0x100 +/* f1444f8: 14200002 */ bnez $at,.PB0f144504 +/* f1444fc: afa200e4 */ sw $v0,0xe4($sp) +/* f144500: afad00e4 */ sw $t5,0xe4($sp) +.PB0f144504: +/* f144504: 02201025 */ move $v0,$s1 +/* f144508: 3c0ee700 */ lui $t6,0xe700 +/* f14450c: ac4e0000 */ sw $t6,0x0($v0) +/* f144510: ac400004 */ sw $zero,0x4($v0) +/* f144514: afa70074 */ sw $a3,0x74($sp) +/* f144518: 02e02825 */ move $a1,$s7 +/* f14451c: 0fc50d90 */ jal 0xf143640 +/* f144520: 02003025 */ move $a2,$s0 +/* f144524: 8faf0074 */ lw $t7,0x74($sp) +/* f144528: 00408825 */ move $s1,$v0 +/* f14452c: 8fa30120 */ lw $v1,0x120($sp) +/* f144530: 11e00051 */ beqz $t7,.PB0f144678 +/* f144534: 8fb8011c */ lw $t8,0x11c($sp) +/* f144538: 0078f021 */ addu $s8,$v1,$t8 +/* f14453c: 007e082a */ slt $at,$v1,$s8 +/* f144540: 102000d9 */ beqz $at,.PB0f1448a8 +/* f144544: 00608025 */ move $s0,$v1 +/* f144548: 44988000 */ mtc1 $t8,$f16 +/* f14454c: 3c013f00 */ lui $at,0x3f00 +/* f144550: 44812000 */ mtc1 $at,$f4 +/* f144554: 468084a0 */ cvt.s.w $f18,$f16 +/* f144558: 3c14fb00 */ lui $s4,0xfb00 +/* f14455c: 46049502 */ mul.s $f20,$f18,$f4 +/* f144560: 00000000 */ nop +.PB0f144564: +/* f144564: 06010004 */ bgez $s0,.PB0f144578 +/* f144568: 32190001 */ andi $t9,$s0,0x1 +/* f14456c: 13200002 */ beqz $t9,.PB0f144578 +/* f144570: 00000000 */ nop +/* f144574: 2739fffe */ addiu $t9,$t9,-2 +.PB0f144578: +/* f144578: 5320002f */ beqzl $t9,.PB0f144638 +/* f14457c: 02539021 */ addu $s2,$s2,$s3 +/* f144580: 44833000 */ mtc1 $v1,$f6 +/* f144584: 8fa800f4 */ lw $t0,0xf4($sp) +/* f144588: c7aa00ec */ lwc1 $f10,0xec($sp) +/* f14458c: 46803220 */ cvt.s.w $f8,$f6 +/* f144590: 44888000 */ mtc1 $t0,$f16 +/* f144594: 44909000 */ mtc1 $s0,$f18 +/* f144598: 468080a0 */ cvt.s.w $f2,$f16 +/* f14459c: 460a4000 */ add.s $f0,$f8,$f10 +/* f1445a0: 46809320 */ cvt.s.w $f12,$f18 +/* f1445a4: 46020101 */ sub.s $f4,$f0,$f2 +/* f1445a8: 460c203c */ c.lt.s $f4,$f12 +/* f1445ac: 00000000 */ nop +/* f1445b0: 45020021 */ bc1fl .PB0f144638 +/* f1445b4: 02539021 */ addu $s2,$s2,$s3 +/* f1445b8: 46020180 */ add.s $f6,$f0,$f2 +/* f1445bc: 2401ff00 */ li $at,-256 +/* f1445c0: 02e14824 */ and $t1,$s7,$at +/* f1445c4: 02201025 */ move $v0,$s1 +/* f1445c8: 4606603c */ c.lt.s $f12,$f6 +/* f1445cc: 02402025 */ move $a0,$s2 +/* f1445d0: 45020019 */ bc1fl .PB0f144638 +/* f1445d4: 02539021 */ addu $s2,$s2,$s3 +/* f1445d8: ac540000 */ sw $s4,0x0($v0) +/* f1445dc: 8faa00e4 */ lw $t2,0xe4($sp) +/* f1445e0: 4405c000 */ mfc1 $a1,$f24 +/* f1445e4: 4406d000 */ mfc1 $a2,$f26 +/* f1445e8: 314b00ff */ andi $t3,$t2,0xff +/* f1445ec: 012b6025 */ or $t4,$t1,$t3 +/* f1445f0: 4407b000 */ mfc1 $a3,$f22 +/* f1445f4: ac4c0004 */ sw $t4,0x4($v0) +/* f1445f8: 0fc510c1 */ jal 0xf144304 +/* f1445fc: 26310008 */ addiu $s1,$s1,0x8 +/* f144600: c7a800f0 */ lwc1 $f8,0xf0($sp) +/* f144604: 02202025 */ move $a0,$s1 +/* f144608: 8fa50124 */ lw $a1,0x124($sp) +/* f14460c: 46080282 */ mul.s $f10,$f0,$f8 +/* f144610: 02003025 */ move $a2,$s0 +/* f144614: 24070005 */ li $a3,0x5 +/* f144618: afb00010 */ sw $s0,0x10($sp) +/* f14461c: afb50018 */ sw $s5,0x18($sp) +/* f144620: afb6001c */ sw $s6,0x1c($sp) +/* f144624: 0fc50c10 */ jal 0xf143040 +/* f144628: e7aa0014 */ swc1 $f10,0x14($sp) +/* f14462c: 00408825 */ move $s1,$v0 +/* f144630: 8fa30120 */ lw $v1,0x120($sp) +/* f144634: 02539021 */ addu $s2,$s2,$s3 +.PB0f144638: +/* f144638: 44928000 */ mtc1 $s2,$f16 +/* f14463c: 26100001 */ addiu $s0,$s0,0x1 +/* f144640: 468084a0 */ cvt.s.w $f18,$f16 +/* f144644: 4612a03e */ c.le.s $f20,$f18 +/* f144648: 00000000 */ nop +/* f14464c: 45000005 */ bc1f .PB0f144664 +/* f144650: 00000000 */ nop +/* f144654: 4600a10d */ trunc.w.s $f4,$f20 +/* f144658: 00139823 */ negu $s3,$s3 +/* f14465c: 44122000 */ mfc1 $s2,$f4 +/* f144660: 00000000 */ nop +.PB0f144664: +/* f144664: 161effbf */ bne $s0,$s8,.PB0f144564 +/* f144668: 00000000 */ nop +/* f14466c: 24130001 */ li $s3,0x1 +/* f144670: 1000008d */ b .PB0f1448a8 +/* f144674: 00608025 */ move $s0,$v1 +.PB0f144678: +/* f144678: 8fb00120 */ lw $s0,0x120($sp) +/* f14467c: 8faf011c */ lw $t7,0x11c($sp) +/* f144680: 3c013f80 */ lui $at,0x3f80 +/* f144684: 44813000 */ mtc1 $at,$f6 +/* f144688: 020ff021 */ addu $s8,$s0,$t7 +/* f14468c: 021e082a */ slt $at,$s0,$s8 +/* f144690: 10200085 */ beqz $at,.PB0f1448a8 +/* f144694: e7a600d0 */ swc1 $f6,0xd0($sp) +/* f144698: 448f4000 */ mtc1 $t7,$f8 +/* f14469c: 3c013f00 */ lui $at,0x3f00 +/* f1446a0: 44818000 */ mtc1 $at,$f16 +/* f1446a4: 468042a0 */ cvt.s.w $f10,$f8 +/* f1446a8: 93b8013f */ lbu $t8,0x13f($sp) +/* f1446ac: 3c14fb00 */ lui $s4,0xfb00 +/* f1446b0: afb8007c */ sw $t8,0x7c($sp) +/* f1446b4: 46105502 */ mul.s $f20,$f10,$f16 +/* f1446b8: 00000000 */ nop +.PB0f1446bc: +/* f1446bc: 8fb9007c */ lw $t9,0x7c($sp) +/* f1446c0: 24010004 */ li $at,0x4 +/* f1446c4: 02201025 */ move $v0,$s1 +/* f1446c8: 17210020 */ bne $t9,$at,.PB0f14474c +/* f1446cc: 240cffff */ li $t4,-1 +/* f1446d0: 0c004be0 */ jal 0x12f80 +/* f1446d4: 00000000 */ nop +/* f1446d8: 24010078 */ li $at,0x78 +/* f1446dc: 0041001b */ divu $zero,$v0,$at +/* f1446e0: 0000b810 */ mfhi $s7 +/* f1446e4: 26e80078 */ addiu $t0,$s7,0x78 +/* f1446e8: 3c01ff33 */ lui $at,0xff33 +/* f1446ec: 34213300 */ ori $at,$at,0x3300 +/* f1446f0: 310a00ff */ andi $t2,$t0,0xff +/* f1446f4: 0c004be0 */ jal 0x12f80 +/* f1446f8: 0141b825 */ or $s7,$t2,$at +/* f1446fc: 304b001f */ andi $t3,$v0,0x1f +/* f144700: 448b9000 */ mtc1 $t3,$f18 +/* f144704: 3c014f80 */ lui $at,0x4f80 +/* f144708: 05610004 */ bgez $t3,.PB0f14471c +/* f14470c: 46809120 */ cvt.s.w $f4,$f18 +/* f144710: 44813000 */ mtc1 $at,$f6 +/* f144714: 00000000 */ nop +/* f144718: 46062100 */ add.s $f4,$f4,$f6 +.PB0f14471c: +/* f14471c: 3c01435c */ lui $at,0x435c +/* f144720: 44814000 */ mtc1 $at,$f8 +/* f144724: 3c013b80 */ lui $at,0x3b80 +/* f144728: 44818000 */ mtc1 $at,$f16 +/* f14472c: 46082280 */ add.s $f10,$f4,$f8 +/* f144730: 02201825 */ move $v1,$s1 +/* f144734: 26310008 */ addiu $s1,$s1,0x8 +/* f144738: 46105482 */ mul.s $f18,$f10,$f16 +/* f14473c: e7b200d0 */ swc1 $f18,0xd0($sp) +/* f144740: ac770004 */ sw $s7,0x4($v1) +/* f144744: 10000004 */ b .PB0f144758 +/* f144748: ac740000 */ sw $s4,0x0($v1) +.PB0f14474c: +/* f14474c: 26310008 */ addiu $s1,$s1,0x8 +/* f144750: ac540000 */ sw $s4,0x0($v0) +/* f144754: ac4c0004 */ sw $t4,0x4($v0) +.PB0f144758: +/* f144758: 4405c000 */ mfc1 $a1,$f24 +/* f14475c: 4406d000 */ mfc1 $a2,$f26 +/* f144760: 4407b000 */ mfc1 $a3,$f22 +/* f144764: 0fc510c1 */ jal 0xf144304 +/* f144768: 02402025 */ move $a0,$s2 +/* f14476c: c7a600d0 */ lwc1 $f6,0xd0($sp) +/* f144770: 02202025 */ move $a0,$s1 +/* f144774: 8fa50124 */ lw $a1,0x124($sp) +/* f144778: 46060102 */ mul.s $f4,$f0,$f6 +/* f14477c: 02003025 */ move $a2,$s0 +/* f144780: 24070005 */ li $a3,0x5 +/* f144784: afb00010 */ sw $s0,0x10($sp) +/* f144788: afb50018 */ sw $s5,0x18($sp) +/* f14478c: afb6001c */ sw $s6,0x1c($sp) +/* f144790: 0fc50c10 */ jal 0xf143040 +/* f144794: e7a40014 */ swc1 $f4,0x14($sp) +/* f144798: 8fad007c */ lw $t5,0x7c($sp) +/* f14479c: 24010004 */ li $at,0x4 +/* f1447a0: 00408825 */ move $s1,$v0 +/* f1447a4: 15a10018 */ bne $t5,$at,.PB0f144808 +/* f1447a8: 3c0eddaa */ lui $t6,0xddaa +/* f1447ac: 02201025 */ move $v0,$s1 +/* f1447b0: 35ceaa99 */ ori $t6,$t6,0xaa99 +/* f1447b4: 4405c000 */ mfc1 $a1,$f24 +/* f1447b8: 4406d000 */ mfc1 $a2,$f26 +/* f1447bc: 4407b000 */ mfc1 $a3,$f22 +/* f1447c0: ac4e0004 */ sw $t6,0x4($v0) +/* f1447c4: ac540000 */ sw $s4,0x0($v0) +/* f1447c8: 26310008 */ addiu $s1,$s1,0x8 +/* f1447cc: 0fc510c1 */ jal 0xf144304 +/* f1447d0: 02402025 */ move $a0,$s2 +/* f1447d4: 3c017f1b */ lui $at,0x7f1b +/* f1447d8: c4287f60 */ lwc1 $f8,0x7f60($at) +/* f1447dc: 02202025 */ move $a0,$s1 +/* f1447e0: 8fa50124 */ lw $a1,0x124($sp) +/* f1447e4: 46080282 */ mul.s $f10,$f0,$f8 +/* f1447e8: 02003025 */ move $a2,$s0 +/* f1447ec: 24070005 */ li $a3,0x5 +/* f1447f0: afb00010 */ sw $s0,0x10($sp) +/* f1447f4: afb50018 */ sw $s5,0x18($sp) +/* f1447f8: afb6001c */ sw $s6,0x1c($sp) +/* f1447fc: 0fc50c10 */ jal 0xf143040 +/* f144800: e7aa0014 */ swc1 $f10,0x14($sp) +/* f144804: 00408825 */ move $s1,$v0 +.PB0f144808: +/* f144808: 320f0001 */ andi $t7,$s0,0x1 +/* f14480c: 15e00017 */ bnez $t7,.PB0f14486c +/* f144810: 02539021 */ addu $s2,$s2,$s3 +/* f144814: 02b6c821 */ addu $t9,$s5,$s6 +/* f144818: 332803ff */ andi $t0,$t9,0x3ff +/* f14481c: 24510008 */ addiu $s1,$v0,0x8 +/* f144820: 24180055 */ li $t8,0x55 +/* f144824: 00085380 */ sll $t2,$t0,0xe +/* f144828: 3c01f600 */ lui $at,0xf600 +/* f14482c: 260b0001 */ addiu $t3,$s0,0x1 +/* f144830: ac580004 */ sw $t8,0x4($v0) +/* f144834: 316c03ff */ andi $t4,$t3,0x3ff +/* f144838: 01414825 */ or $t1,$t2,$at +/* f14483c: 02202025 */ move $a0,$s1 +/* f144840: 321903ff */ andi $t9,$s0,0x3ff +/* f144844: 32af03ff */ andi $t7,$s5,0x3ff +/* f144848: ac540000 */ sw $s4,0x0($v0) +/* f14484c: 000fc380 */ sll $t8,$t7,0xe +/* f144850: 00194080 */ sll $t0,$t9,0x2 +/* f144854: 000c6880 */ sll $t5,$t4,0x2 +/* f144858: 012d7025 */ or $t6,$t1,$t5 +/* f14485c: 03085025 */ or $t2,$t8,$t0 +/* f144860: ac8a0004 */ sw $t2,0x4($a0) +/* f144864: ac8e0000 */ sw $t6,0x0($a0) +/* f144868: 26310008 */ addiu $s1,$s1,0x8 +.PB0f14486c: +/* f14486c: 44928000 */ mtc1 $s2,$f16 +/* f144870: 26020001 */ addiu $v0,$s0,0x1 +/* f144874: 468084a0 */ cvt.s.w $f18,$f16 +/* f144878: 4612a03e */ c.le.s $f20,$f18 +/* f14487c: 00000000 */ nop +/* f144880: 45000005 */ bc1f .PB0f144898 +/* f144884: 00000000 */ nop +/* f144888: 4600a18d */ trunc.w.s $f6,$f20 +/* f14488c: 00139823 */ negu $s3,$s3 +/* f144890: 44123000 */ mfc1 $s2,$f6 +/* f144894: 00000000 */ nop +.PB0f144898: +/* f144898: 145eff88 */ bne $v0,$s8,.PB0f1446bc +/* f14489c: 00408025 */ move $s0,$v0 +/* f1448a0: 24130001 */ li $s3,0x1 +/* f1448a4: 8fb00120 */ lw $s0,0x120($sp) +.PB0f1448a8: +/* f1448a8: 02201025 */ move $v0,$s1 +/* f1448ac: 26310008 */ addiu $s1,$s1,0x8 +/* f1448b0: 3c0ce700 */ lui $t4,0xe700 +/* f1448b4: 02201825 */ move $v1,$s1 +/* f1448b8: ac4c0000 */ sw $t4,0x0($v0) +/* f1448bc: ac400004 */ sw $zero,0x4($v0) +/* f1448c0: 26310008 */ addiu $s1,$s1,0x8 +/* f1448c4: 3c09ba00 */ lui $t1,0xba00 +/* f1448c8: 35291402 */ ori $t1,$t1,0x1402 +/* f1448cc: 02202025 */ move $a0,$s1 +/* f1448d0: ac690000 */ sw $t1,0x0($v1) +/* f1448d4: ac600004 */ sw $zero,0x4($v1) +/* f1448d8: 26310008 */ addiu $s1,$s1,0x8 +/* f1448dc: 3c0db900 */ lui $t5,0xb900 +/* f1448e0: 3c0e0050 */ lui $t6,0x50 +/* f1448e4: 35ce4240 */ ori $t6,$t6,0x4240 +/* f1448e8: 35ad031d */ ori $t5,$t5,0x31d +/* f1448ec: 02202825 */ move $a1,$s1 +/* f1448f0: ac8d0000 */ sw $t5,0x0($a0) +/* f1448f4: ac8e0004 */ sw $t6,0x4($a0) +/* f1448f8: 3c0ffcff */ lui $t7,0xfcff +/* f1448fc: 3c19fffd */ lui $t9,0xfffd +/* f144900: 3739f6fb */ ori $t9,$t9,0xf6fb +/* f144904: 35efffff */ ori $t7,$t7,0xffff +/* f144908: 26310008 */ addiu $s1,$s1,0x8 +/* f14490c: acaf0000 */ sw $t7,0x0($a1) +/* f144910: acb90004 */ sw $t9,0x4($a1) +/* f144914: 02203025 */ move $a2,$s1 +/* f144918: 3c18fa00 */ lui $t8,0xfa00 +/* f14491c: 240800ff */ li $t0,0xff +/* f144920: acc80004 */ sw $t0,0x4($a2) +/* f144924: acd80000 */ sw $t8,0x0($a2) +/* f144928: 8fa30134 */ lw $v1,0x134($sp) +/* f14492c: 02b6a021 */ addu $s4,$s5,$s6 +/* f144930: 328a03ff */ andi $t2,$s4,0x3ff +/* f144934: 32b703ff */ andi $s7,$s5,0x3ff +/* f144938: 00174b80 */ sll $t1,$s7,0xe +/* f14493c: 000a5b80 */ sll $t3,$t2,0xe +/* f144940: 3c01f600 */ lui $at,0xf600 +/* f144944: 0161a025 */ or $s4,$t3,$at +/* f144948: 0120b825 */ move $s7,$t1 +/* f14494c: 14600005 */ bnez $v1,.PB0f144964 +/* f144950: 26310008 */ addiu $s1,$s1,0x8 +/* f144954: 8fad0074 */ lw $t5,0x74($sp) +/* f144958: 8fb80120 */ lw $t8,0x120($sp) +/* f14495c: 11a00081 */ beqz $t5,.PB0f144b64 +/* f144960: 031e082a */ slt $at,$t8,$s8 +.PB0f144964: +/* f144964: 8fae011c */ lw $t6,0x11c($sp) +/* f144968: 3c013f00 */ lui $at,0x3f00 +/* f14496c: 44815000 */ mtc1 $at,$f10 +/* f144970: 448e2000 */ mtc1 $t6,$f4 +/* f144974: 8fb90074 */ lw $t9,0x74($sp) +/* f144978: 2463fff6 */ addiu $v1,$v1,-10 +/* f14497c: 46802220 */ cvt.s.w $f8,$f4 +/* f144980: 8faa00f4 */ lw $t2,0xf4($sp) +/* f144984: 460a4402 */ mul.s $f16,$f8,$f10 +/* f144988: 4600848d */ trunc.w.s $f18,$f16 +/* f14498c: 44029000 */ mfc1 $v0,$f18 +/* f144990: 17200011 */ bnez $t9,.PB0f1449d8 +/* f144994: afa200a0 */ sw $v0,0xa0($sp) +/* f144998: 04630003 */ bgezl $v1,.PB0f1449a8 +/* f14499c: 44833000 */ mtc1 $v1,$f6 +/* f1449a0: 00031823 */ negu $v1,$v1 +/* f1449a4: 44833000 */ mtc1 $v1,$f6 +.PB0f1449a8: +/* f1449a8: 3c014120 */ lui $at,0x4120 +/* f1449ac: 44814000 */ mtc1 $at,$f8 +/* f1449b0: 46803120 */ cvt.s.w $f4,$f6 +/* f1449b4: 44828000 */ mtc1 $v0,$f16 +/* f1449b8: 00000000 */ nop +/* f1449bc: 468084a0 */ cvt.s.w $f18,$f16 +/* f1449c0: 46082283 */ div.s $f10,$f4,$f8 +/* f1449c4: 460a9182 */ mul.s $f6,$f18,$f10 +/* f1449c8: 4600310d */ trunc.w.s $f4,$f6 +/* f1449cc: 44082000 */ mfc1 $t0,$f4 +/* f1449d0: 10000002 */ b .PB0f1449dc +/* f1449d4: afa800a4 */ sw $t0,0xa4($sp) +.PB0f1449d8: +/* f1449d8: afaa00a4 */ sw $t2,0xa4($sp) +.PB0f1449dc: +/* f1449dc: 8fa30120 */ lw $v1,0x120($sp) +/* f1449e0: 8fa900a4 */ lw $t1,0xa4($sp) +/* f1449e4: 8fad00a0 */ lw $t5,0xa0($sp) +/* f1449e8: 00625821 */ addu $t3,$v1,$v0 +/* f1449ec: 0169f023 */ subu $s8,$t3,$t1 +/* f1449f0: 007e082a */ slt $at,$v1,$s8 +/* f1449f4: 10200019 */ beqz $at,.PB0f144a5c +/* f1449f8: afab0078 */ sw $t3,0x78($sp) +/* f1449fc: 8fb9011c */ lw $t9,0x11c($sp) +/* f144a00: 00637821 */ addu $t7,$v1,$v1 +/* f144a04: 006d7021 */ addu $t6,$v1,$t5 +/* f144a08: 01f9c021 */ addu $t8,$t7,$t9 +/* f144a0c: 4480a000 */ mtc1 $zero,$f20 +/* f144a10: 03109023 */ subu $s2,$t8,$s0 +/* f144a14: 01c99823 */ subu $s3,$t6,$t1 +.PB0f144a18: +/* f144a18: 4406a000 */ mfc1 $a2,$f20 +/* f144a1c: 02202025 */ move $a0,$s1 +/* f144a20: 02002825 */ move $a1,$s0 +/* f144a24: 02a03825 */ move $a3,$s5 +/* f144a28: 0fc50d19 */ jal 0xf143464 +/* f144a2c: afb60010 */ sw $s6,0x10($sp) +/* f144a30: 4406a000 */ mfc1 $a2,$f20 +/* f144a34: 00402025 */ move $a0,$v0 +/* f144a38: 02402825 */ move $a1,$s2 +/* f144a3c: 02a03825 */ move $a3,$s5 +/* f144a40: 0fc50d19 */ jal 0xf143464 +/* f144a44: afb60010 */ sw $s6,0x10($sp) +/* f144a48: 26100001 */ addiu $s0,$s0,0x1 +/* f144a4c: 2652ffff */ addiu $s2,$s2,-1 +/* f144a50: 1613fff1 */ bne $s0,$s3,.PB0f144a18 +/* f144a54: 00408825 */ move $s1,$v0 +/* f144a58: 8fa30120 */ lw $v1,0x120($sp) +.PB0f144a5c: +/* f144a5c: 02201025 */ move $v0,$s1 +/* f144a60: 3c08fa00 */ lui $t0,0xfa00 +/* f144a64: 240a00ff */ li $t2,0xff +/* f144a68: ac4a0004 */ sw $t2,0x4($v0) +/* f144a6c: ac480000 */ sw $t0,0x0($v0) +/* f144a70: 8fab0078 */ lw $t3,0x78($sp) +/* f144a74: 26310008 */ addiu $s1,$s1,0x8 +/* f144a78: 4600d506 */ mov.s $f20,$f26 +/* f144a7c: 017e082a */ slt $at,$t3,$s8 +/* f144a80: 1420005c */ bnez $at,.PB0f144bf4 +/* f144a84: 03c08025 */ move $s0,$s8 +/* f144a88: 240f0001 */ li $t7,0x1 +/* f144a8c: 448f4000 */ mtc1 $t7,$f8 +/* f144a90: 8fb900a4 */ lw $t9,0xa4($sp) +/* f144a94: 8fae011c */ lw $t6,0x11c($sp) +/* f144a98: 46804420 */ cvt.s.w $f16,$f8 +/* f144a9c: 44993000 */ mtc1 $t9,$f6 +/* f144aa0: 8fac00a0 */ lw $t4,0xa0($sp) +/* f144aa4: 00636821 */ addu $t5,$v1,$v1 +/* f144aa8: 01ae4821 */ addu $t1,$t5,$t6 +/* f144aac: 46803120 */ cvt.s.w $f4,$f6 +/* f144ab0: 461a8482 */ mul.s $f18,$f16,$f26 +/* f144ab4: 01309023 */ subu $s2,$t1,$s0 +/* f144ab8: 006c9821 */ addu $s3,$v1,$t4 +/* f144abc: 46009287 */ neg.s $f10,$f18 +/* f144ac0: 46045603 */ div.s $f24,$f10,$f4 +.PB0f144ac4: +/* f144ac4: 4614a002 */ mul.s $f0,$f20,$f20 +/* f144ac8: 3c017f1b */ lui $at,0x7f1b +/* f144acc: 4616003c */ c.lt.s $f0,$f22 +/* f144ad0: 00000000 */ nop +/* f144ad4: 45000008 */ bc1f .PB0f144af8 +/* f144ad8: 00000000 */ nop +/* f144adc: 0c012ae4 */ jal 0x4ab90 +/* f144ae0: 4600b301 */ sub.s $f12,$f22,$f0 +/* f144ae4: 3c017f1b */ lui $at,0x7f1b +/* f144ae8: c4287f64 */ lwc1 $f8,0x7f64($at) +/* f144aec: 46080082 */ mul.s $f2,$f0,$f8 +/* f144af0: 10000003 */ b .PB0f144b00 +/* f144af4: c7b000f0 */ lwc1 $f16,0xf0($sp) +.PB0f144af8: +/* f144af8: c4227f68 */ lwc1 $f2,0x7f68($at) +/* f144afc: c7b000f0 */ lwc1 $f16,0xf0($sp) +.PB0f144b00: +/* f144b00: 4618a500 */ add.s $f20,$f20,$f24 +/* f144b04: 02202025 */ move $a0,$s1 +/* f144b08: 46101002 */ mul.s $f0,$f2,$f16 +/* f144b0c: 02002825 */ move $a1,$s0 +/* f144b10: 02a03825 */ move $a3,$s5 +/* f144b14: afb60010 */ sw $s6,0x10($sp) +/* f144b18: 44060000 */ mfc1 $a2,$f0 +/* f144b1c: 0fc50d19 */ jal 0xf143464 +/* f144b20: e7a00078 */ swc1 $f0,0x78($sp) +/* f144b24: c7a00078 */ lwc1 $f0,0x78($sp) +/* f144b28: 12120008 */ beq $s0,$s2,.PB0f144b4c +/* f144b2c: 00408825 */ move $s1,$v0 +/* f144b30: 44060000 */ mfc1 $a2,$f0 +/* f144b34: 00402025 */ move $a0,$v0 +/* f144b38: 02402825 */ move $a1,$s2 +/* f144b3c: 02a03825 */ move $a3,$s5 +/* f144b40: 0fc50d19 */ jal 0xf143464 +/* f144b44: afb60010 */ sw $s6,0x10($sp) +/* f144b48: 00408825 */ move $s1,$v0 +.PB0f144b4c: +/* f144b4c: 26100001 */ addiu $s0,$s0,0x1 +/* f144b50: 0270082a */ slt $at,$s3,$s0 +/* f144b54: 1020ffdb */ beqz $at,.PB0f144ac4 +/* f144b58: 2652ffff */ addiu $s2,$s2,-1 +/* f144b5c: 10000025 */ b .PB0f144bf4 +/* f144b60: 00000000 */ nop +.PB0f144b64: +/* f144b64: 10200023 */ beqz $at,.PB0f144bf4 +/* f144b68: 00009025 */ move $s2,$zero +/* f144b6c: 8fa8011c */ lw $t0,0x11c($sp) +/* f144b70: 3c013f00 */ lui $at,0x3f00 +/* f144b74: 44815000 */ mtc1 $at,$f10 +/* f144b78: 44889000 */ mtc1 $t0,$f18 +/* f144b7c: 00000000 */ nop +/* f144b80: 468091a0 */ cvt.s.w $f6,$f18 +/* f144b84: 460a3502 */ mul.s $f20,$f6,$f10 +/* f144b88: 00000000 */ nop +/* f144b8c: 4405c000 */ mfc1 $a1,$f24 +.PB0f144b90: +/* f144b90: 4406d000 */ mfc1 $a2,$f26 +/* f144b94: 4407b000 */ mfc1 $a3,$f22 +/* f144b98: 0fc510c1 */ jal 0xf144304 +/* f144b9c: 02402025 */ move $a0,$s2 +/* f144ba0: 44060000 */ mfc1 $a2,$f0 +/* f144ba4: 02202025 */ move $a0,$s1 +/* f144ba8: 02002825 */ move $a1,$s0 +/* f144bac: 02a03825 */ move $a3,$s5 +/* f144bb0: 0fc50d19 */ jal 0xf143464 +/* f144bb4: afb60010 */ sw $s6,0x10($sp) +/* f144bb8: 02539021 */ addu $s2,$s2,$s3 +/* f144bbc: 44922000 */ mtc1 $s2,$f4 +/* f144bc0: 26100001 */ addiu $s0,$s0,0x1 +/* f144bc4: 00408825 */ move $s1,$v0 +/* f144bc8: 46802220 */ cvt.s.w $f8,$f4 +/* f144bcc: 4608a03e */ c.le.s $f20,$f8 +/* f144bd0: 00000000 */ nop +/* f144bd4: 45000005 */ bc1f .PB0f144bec +/* f144bd8: 00000000 */ nop +/* f144bdc: 4600a40d */ trunc.w.s $f16,$f20 +/* f144be0: 00139823 */ negu $s3,$s3 +/* f144be4: 44128000 */ mfc1 $s2,$f16 +/* f144be8: 00000000 */ nop +.PB0f144bec: +/* f144bec: 561effe8 */ bnel $s0,$s8,.PB0f144b90 +/* f144bf0: 4405c000 */ mfc1 $a1,$f24 +.PB0f144bf4: +/* f144bf4: 0c002e8f */ jal 0xba3c +/* f144bf8: 00000000 */ nop +/* f144bfc: 0c002e71 */ jal 0xb9c4 +/* f144c00: 00409825 */ move $s3,$v0 +/* f144c04: 00539021 */ addu $s2,$v0,$s3 +/* f144c08: 2652fff0 */ addiu $s2,$s2,-16 +/* f144c0c: 00008025 */ move $s0,$zero +/* f144c10: 24060010 */ li $a2,0x10 +.PB0f144c14: +/* f144c14: 26630001 */ addiu $v1,$s3,0x1 +/* f144c18: 306b03ff */ andi $t3,$v1,0x3ff +/* f144c1c: 000b6080 */ sll $t4,$t3,0x2 +/* f144c20: 02201025 */ move $v0,$s1 +/* f144c24: 326e03ff */ andi $t6,$s3,0x3ff +/* f144c28: 26450001 */ addiu $a1,$s2,0x1 +/* f144c2c: 000e4880 */ sll $t1,$t6,0x2 +/* f144c30: 26310008 */ addiu $s1,$s1,0x8 +/* f144c34: 028c6825 */ or $t5,$s4,$t4 +/* f144c38: 30b903ff */ andi $t9,$a1,0x3ff +/* f144c3c: 324a03ff */ andi $t2,$s2,0x3ff +/* f144c40: 02e97825 */ or $t7,$s7,$t1 +/* f144c44: 000a5880 */ sll $t3,$t2,0x2 +/* f144c48: 0019c080 */ sll $t8,$t9,0x2 +/* f144c4c: 02202025 */ move $a0,$s1 +/* f144c50: 26100001 */ addiu $s0,$s0,0x1 +/* f144c54: ac4f0004 */ sw $t7,0x4($v0) +/* f144c58: ac4d0000 */ sw $t5,0x0($v0) +/* f144c5c: 02984025 */ or $t0,$s4,$t8 +/* f144c60: 02eb6025 */ or $t4,$s7,$t3 +/* f144c64: ac8c0004 */ sw $t4,0x4($a0) +/* f144c68: ac880000 */ sw $t0,0x0($a0) +/* f144c6c: 26310008 */ addiu $s1,$s1,0x8 +/* f144c70: 00609825 */ move $s3,$v1 +/* f144c74: 1606ffe7 */ bne $s0,$a2,.PB0f144c14 +/* f144c78: 00a09025 */ move $s2,$a1 +/* f144c7c: 02201025 */ move $v0,$s1 +.PB0f144c80: +/* f144c80: 8fbf006c */ lw $ra,0x6c($sp) +/* f144c84: d7b40028 */ ldc1 $f20,0x28($sp) +/* f144c88: d7b60030 */ ldc1 $f22,0x30($sp) +/* f144c8c: d7b80038 */ ldc1 $f24,0x38($sp) +/* f144c90: d7ba0040 */ ldc1 $f26,0x40($sp) +/* f144c94: 8fb00048 */ lw $s0,0x48($sp) +/* f144c98: 8fb1004c */ lw $s1,0x4c($sp) +/* f144c9c: 8fb20050 */ lw $s2,0x50($sp) +/* f144ca0: 8fb30054 */ lw $s3,0x54($sp) +/* f144ca4: 8fb40058 */ lw $s4,0x58($sp) +/* f144ca8: 8fb5005c */ lw $s5,0x5c($sp) +/* f144cac: 8fb60060 */ lw $s6,0x60($sp) +/* f144cb0: 8fb70064 */ lw $s7,0x64($sp) +/* f144cb4: 8fbe0068 */ lw $s8,0x68($sp) +/* f144cb8: 03e00008 */ jr $ra +/* f144cbc: 27bd0128 */ addiu $sp,$sp,0x128 +); #else GLOBAL_ASM( glabel bviewRenderFisheye @@ -6034,6 +6665,3832 @@ glabel var7f1b5f58 /* f148030: 03e00008 */ jr $ra /* f148034: 27bd0410 */ addiu $sp,$sp,0x410 ); +#elif VERSION >= VERSION_PAL_BETA +const char var7f1b5de4[] = "%s %s%5.2f"; +const char var7f1b5df0[] = ""; +const char var7f1b5df4[] = "%s %s%4.2f"; +const char var7f1b5e00[] = ""; +const char var7f1b5e04[] = "%s %d"; +const char var7f1b5e0c[] = "%s %d"; +const char var7f1b5e14[] = "%s"; +const char var7f1b5e18[] = "%s"; +const char var7f1b5e1c[] = "%s"; +const char var7f1b5e20[] = "%s"; +const char var7f1b5e24[] = " %s"; +const char var7f1b5e2c[] = " %s"; +const char var7f1b5e34[] = " %s"; +const char var7f1b5e3c[] = "%s"; +const char var7f1b5e40[] = "%s"; +const char var7f1b5e44[] = "%s"; +const char var7f1b5e48[] = "%s"; +const char var7f1b5e4c[] = "%s"; + +GLOBAL_ASM( +glabel bviewRenderEyespyDecorations +.late_rodata +glabel var7f1b726cpf +.word 0x3fb33333 +glabel var7f1b5f4c +.word 0x3a83126f +glabel var7f1b5f50 +.word 0x3f19999a +glabel var7f1b5f54 +.word 0x3c23d70a +glabel var7f1b5f58 +.word 0x3bcccccd +.text +/* f144ed0: 27bdfbf8 */ addiu $sp,$sp,-1032 +/* f144ed4: afbf0054 */ sw $ra,0x54($sp) +/* f144ed8: afb5004c */ sw $s5,0x4c($sp) +/* f144edc: 0080a825 */ move $s5,$a0 +/* f144ee0: afb60050 */ sw $s6,0x50($sp) +/* f144ee4: afb40048 */ sw $s4,0x48($sp) +/* f144ee8: afb30044 */ sw $s3,0x44($sp) +/* f144eec: afb20040 */ sw $s2,0x40($sp) +/* f144ef0: afb1003c */ sw $s1,0x3c($sp) +/* f144ef4: 0c002e8b */ jal 0xba2c +/* f144ef8: afb00038 */ sw $s0,0x38($sp) +/* f144efc: 0c002e6d */ jal 0xb9b4 +/* f144f00: afa20304 */ sw $v0,0x304($sp) +/* f144f04: 0c002e8f */ jal 0xba3c +/* f144f08: 00408825 */ move $s1,$v0 +/* f144f0c: 244e0010 */ addiu $t6,$v0,0x10 +/* f144f10: 0c002e71 */ jal 0xb9c4 +/* f144f14: afae02fc */ sw $t6,0x2fc($sp) +/* f144f18: 8fb802fc */ lw $t8,0x2fc($sp) +/* f144f1c: 44806000 */ mtc1 $zero,$f12 +/* f144f20: 244fffe0 */ addiu $t7,$v0,-32 +/* f144f24: 0302c821 */ addu $t9,$t8,$v0 +/* f144f28: 272effdf */ addiu $t6,$t9,-33 +/* f144f2c: 2a210141 */ slti $at,$s1,0x141 +/* f144f30: afaf02f8 */ sw $t7,0x2f8($sp) +/* f144f34: 14200005 */ bnez $at,.PB0f144f4c +/* f144f38: afae02f0 */ sw $t6,0x2f0($sp) +/* f144f3c: 3c017f1b */ lui $at,0x7f1b +/* f144f40: c4247f6c */ lwc1 $f4,0x7f6c($at) +/* f144f44: 10000005 */ b .PB0f144f5c +/* f144f48: e7a402a8 */ swc1 $f4,0x2a8($sp) +.PB0f144f4c: +/* f144f4c: 3c013f80 */ lui $at,0x3f80 +/* f144f50: 44813000 */ mtc1 $at,$f6 +/* f144f54: 00000000 */ nop +/* f144f58: e7a602a8 */ swc1 $f6,0x2a8($sp) +.PB0f144f5c: +/* f144f5c: 3c16800a */ lui $s6,0x800a +/* f144f60: 26d6e4d0 */ addiu $s6,$s6,-6960 +/* f144f64: 8ecf0284 */ lw $t7,0x284($s6) +/* f144f68: afa002a4 */ sw $zero,0x2a4($sp) +/* f144f6c: 8de20480 */ lw $v0,0x480($t7) +/* f144f70: 10400007 */ beqz $v0,.PB0f144f90 +/* f144f74: 00000000 */ nop +/* f144f78: 8c430000 */ lw $v1,0x0($v0) +/* f144f7c: 10600004 */ beqz $v1,.PB0f144f90 +/* f144f80: 00000000 */ nop +/* f144f84: 8c620004 */ lw $v0,0x4($v1) +/* f144f88: 14400003 */ bnez $v0,.PB0f144f98 +/* f144f8c: 00408025 */ move $s0,$v0 +.PB0f144f90: +/* f144f90: 10000de0 */ b .PB0f148714 +/* f144f94: 02a01025 */ move $v0,$s5 +.PB0f144f98: +/* f144f98: 0fc550b9 */ jal 0xf1542e4 +/* f144f9c: e7ac02bc */ swc1 $f12,0x2bc($sp) +/* f144fa0: 44800000 */ mtc1 $zero,$f0 +/* f144fa4: 24010001 */ li $at,0x1 +/* f144fa8: 1441001f */ bne $v0,$at,.PB0f145028 +/* f144fac: c7ac02bc */ lwc1 $f12,0x2bc($sp) +/* f144fb0: 8ed8006c */ lw $t8,0x6c($s6) +/* f144fb4: 00002825 */ move $a1,$zero +/* f144fb8: 00001825 */ move $v1,$zero +/* f144fbc: 13000003 */ beqz $t8,.PB0f144fcc +/* f144fc0: 00002025 */ move $a0,$zero +/* f144fc4: 10000001 */ b .PB0f144fcc +/* f144fc8: 24050001 */ li $a1,0x1 +.PB0f144fcc: +/* f144fcc: 8ed90068 */ lw $t9,0x68($s6) +/* f144fd0: 00001025 */ move $v0,$zero +/* f144fd4: 13200003 */ beqz $t9,.PB0f144fe4 +/* f144fd8: 00000000 */ nop +/* f144fdc: 10000001 */ b .PB0f144fe4 +/* f144fe0: 24030001 */ li $v1,0x1 +.PB0f144fe4: +/* f144fe4: 8ece0064 */ lw $t6,0x64($s6) +/* f144fe8: 11c00003 */ beqz $t6,.PB0f144ff8 +/* f144fec: 00000000 */ nop +/* f144ff0: 10000001 */ b .PB0f144ff8 +/* f144ff4: 24040001 */ li $a0,0x1 +.PB0f144ff8: +/* f144ff8: 8ecf0070 */ lw $t7,0x70($s6) +/* f144ffc: 11e00003 */ beqz $t7,.PB0f14500c +/* f145000: 00000000 */ nop +/* f145004: 10000001 */ b .PB0f14500c +/* f145008: 24020001 */ li $v0,0x1 +.PB0f14500c: +/* f14500c: 0044c021 */ addu $t8,$v0,$a0 +/* f145010: 0303c821 */ addu $t9,$t8,$v1 +/* f145014: 03257021 */ addu $t6,$t9,$a1 +/* f145018: 29c10002 */ slti $at,$t6,0x2 +/* f14501c: 14200002 */ bnez $at,.PB0f145028 +/* f145020: 240f0001 */ li $t7,0x1 +/* f145024: afaf02a4 */ sw $t7,0x2a4($sp) +.PB0f145028: +/* f145028: 8e02001c */ lw $v0,0x1c($s0) +/* f14502c: c60a00c8 */ lwc1 $f10,0xc8($s0) +/* f145030: 3c017f1b */ lui $at,0x7f1b +/* f145034: c4480008 */ lwc1 $f8,0x8($v0) +/* f145038: 460a4101 */ sub.s $f4,$f8,$f10 +/* f14503c: c60a00cc */ lwc1 $f10,0xcc($s0) +/* f145040: c448000c */ lwc1 $f8,0xc($v0) +/* f145044: 4600218d */ trunc.w.s $f6,$f4 +/* f145048: 460a4101 */ sub.s $f4,$f8,$f10 +/* f14504c: 44033000 */ mfc1 $v1,$f6 +/* f145050: c60a00d0 */ lwc1 $f10,0xd0($s0) +/* f145054: c4480010 */ lwc1 $f8,0x10($v0) +/* f145058: 4600218d */ trunc.w.s $f6,$f4 +/* f14505c: 460a4101 */ sub.s $f4,$f8,$f10 +/* f145060: 44834000 */ mtc1 $v1,$f8 +/* f145064: 44043000 */ mfc1 $a0,$f6 +/* f145068: 468042a0 */ cvt.s.w $f10,$f8 +/* f14506c: 4600218d */ trunc.w.s $f6,$f4 +/* f145070: 460a0032 */ c.eq.s $f0,$f10 +/* f145074: 44053000 */ mfc1 $a1,$f6 +/* f145078: 4500000f */ bc1f .PB0f1450b8 +/* f14507c: 00000000 */ nop +/* f145080: 44842000 */ mtc1 $a0,$f4 +/* f145084: 00000000 */ nop +/* f145088: 468021a0 */ cvt.s.w $f6,$f4 +/* f14508c: 46060032 */ c.eq.s $f0,$f6 +/* f145090: 00000000 */ nop +/* f145094: 45000008 */ bc1f .PB0f1450b8 +/* f145098: 00000000 */ nop +/* f14509c: 44854000 */ mtc1 $a1,$f8 +/* f1450a0: 00000000 */ nop +/* f1450a4: 468042a0 */ cvt.s.w $f10,$f8 +/* f1450a8: 460a0032 */ c.eq.s $f0,$f10 +/* f1450ac: 00000000 */ nop +/* f1450b0: 4501000f */ bc1t .PB0f1450f0 +/* f1450b4: 00000000 */ nop +.PB0f1450b8: +/* f1450b8: 00630019 */ multu $v1,$v1 +/* f1450bc: 00007812 */ mflo $t7 +/* f1450c0: 00000000 */ nop +/* f1450c4: 00000000 */ nop +/* f1450c8: 00840019 */ multu $a0,$a0 +/* f1450cc: 0000c012 */ mflo $t8 +/* f1450d0: 01f8c821 */ addu $t9,$t7,$t8 +/* f1450d4: 00000000 */ nop +/* f1450d8: 00a50019 */ multu $a1,$a1 +/* f1450dc: 00007012 */ mflo $t6 +/* f1450e0: 032e7821 */ addu $t7,$t9,$t6 +/* f1450e4: 448f2000 */ mtc1 $t7,$f4 +/* f1450e8: 00000000 */ nop +/* f1450ec: 46802320 */ cvt.s.w $f12,$f4 +.PB0f1450f0: +/* f1450f0: c4267f70 */ lwc1 $f6,0x7f70($at) +/* f1450f4: 460c303c */ c.lt.s $f6,$f12 +/* f1450f8: 00000000 */ nop +/* f1450fc: 45020006 */ bc1fl .PB0f145118 +/* f145100: e7a002c0 */ swc1 $f0,0x2c0($sp) +/* f145104: 0c012ae4 */ jal 0x4ab90 +/* f145108: 00000000 */ nop +/* f14510c: 10000002 */ b .PB0f145118 +/* f145110: e7a002c0 */ swc1 $f0,0x2c0($sp) +/* f145114: e7a002c0 */ swc1 $f0,0x2c0($sp) +.PB0f145118: +/* f145118: 8ed80284 */ lw $t8,0x284($s6) +/* f14511c: 8f190480 */ lw $t9,0x480($t8) +/* f145120: 9323006b */ lbu $v1,0x6b($t9) +/* f145124: 14600006 */ bnez $v1,.PB0f145140 +/* f145128: 3c0500ff */ lui $a1,0xff +/* f14512c: 34a50028 */ ori $a1,$a1,0x28 +/* f145130: 0fc552fc */ jal 0xf154bf0 +/* f145134: 02a02025 */ move $a0,$s5 +/* f145138: 1000000e */ b .PB0f145174 +/* f14513c: 0040a825 */ move $s5,$v0 +.PB0f145140: +/* f145140: 24010001 */ li $at,0x1 +/* f145144: 14610007 */ bne $v1,$at,.PB0f145164 +/* f145148: 02a02025 */ move $a0,$s5 +/* f14514c: 3c052244 */ lui $a1,0x2244 +/* f145150: 34a5ffa0 */ ori $a1,$a1,0xffa0 +/* f145154: 0fc552fc */ jal 0xf154bf0 +/* f145158: 02a02025 */ move $a0,$s5 +/* f14515c: 10000005 */ b .PB0f145174 +/* f145160: 0040a825 */ move $s5,$v0 +.PB0f145164: +/* f145164: 3c05ff33 */ lui $a1,0xff33 +/* f145168: 0fc552fc */ jal 0xf154bf0 +/* f14516c: 34a500a0 */ ori $a1,$a1,0xa0 +/* f145170: 0040a825 */ move $s5,$v0 +.PB0f145174: +/* f145174: 8fae02a4 */ lw $t6,0x2a4($sp) +/* f145178: 55c00180 */ bnezl $t6,.PB0f14577c +/* f14517c: 44914000 */ mtc1 $s1,$f8 +/* f145180: 44915000 */ mtc1 $s1,$f10 +/* f145184: 3c013f80 */ lui $at,0x3f80 +/* f145188: 44818000 */ mtc1 $at,$f16 +/* f14518c: 468053a0 */ cvt.s.w $f14,$f10 +/* f145190: 3c0140a0 */ lui $at,0x40a0 +/* f145194: 44812000 */ mtc1 $at,$f4 +/* f145198: 8fac02f0 */ lw $t4,0x2f0($sp) +/* f14519c: 8fad0304 */ lw $t5,0x304($sp) +/* f1451a0: 3c0bf600 */ lui $t3,0xf600 +/* f1451a4: 46047003 */ div.s $f0,$f14,$f4 +/* f1451a8: 2584ffe8 */ addiu $a0,$t4,-24 +/* f1451ac: 308f03ff */ andi $t7,$a0,0x3ff +/* f1451b0: 25b9001a */ addiu $t9,$t5,0x1a +/* f1451b4: 332e03ff */ andi $t6,$t9,0x3ff +/* f1451b8: 000f2080 */ sll $a0,$t7,0x2 +/* f1451bc: 000e7b80 */ sll $t7,$t6,0xe +/* f1451c0: 01ebc025 */ or $t8,$t7,$t3 +/* f1451c4: 25b40019 */ addiu $s4,$t5,0x19 +/* f1451c8: 44944000 */ mtc1 $s4,$f8 +/* f1451cc: 0304c825 */ or $t9,$t8,$a0 +/* f1451d0: ac590000 */ sw $t9,0x0($v0) +/* f1451d4: 8fa602fc */ lw $a2,0x2fc($sp) +/* f1451d8: 328703ff */ andi $a3,$s4,0x3ff +/* f1451dc: 00077380 */ sll $t6,$a3,0xe +/* f1451e0: 24c60037 */ addiu $a2,$a2,0x37 +/* f1451e4: 30cf03ff */ andi $t7,$a2,0x3ff +/* f1451e8: 000fc080 */ sll $t8,$t7,0x2 +/* f1451ec: 01d8c825 */ or $t9,$t6,$t8 +/* f1451f0: 03003025 */ move $a2,$t8 +/* f1451f4: 01c03825 */ move $a3,$t6 +/* f1451f8: 2588ffd6 */ addiu $t0,$t4,-42 +/* f1451fc: 468040a0 */ cvt.s.w $f2,$f8 +/* f145200: ac590004 */ sw $t9,0x4($v0) +/* f145204: 310e03ff */ andi $t6,$t0,0x3ff +/* f145208: 25b80020 */ addiu $t8,$t5,0x20 +/* f14520c: 331903ff */ andi $t9,$t8,0x3ff +/* f145210: 000e4080 */ sll $t0,$t6,0x2 +/* f145214: 46001180 */ add.s $f6,$f2,$f0 +/* f145218: 00197380 */ sll $t6,$t9,0xe +/* f14521c: 24550008 */ addiu $s5,$v0,0x8 +/* f145220: 01cb7825 */ or $t7,$t6,$t3 +/* f145224: 46103200 */ add.s $f8,$f6,$f16 +/* f145228: 25a9001f */ addiu $t1,$t5,0x1f +/* f14522c: 313903ff */ andi $t9,$t1,0x3ff +/* f145230: 01e8c025 */ or $t8,$t7,$t0 +/* f145234: 02a02825 */ move $a1,$s5 +/* f145238: acb80000 */ sw $t8,0x0($a1) +/* f14523c: 00194b80 */ sll $t1,$t9,0xe +/* f145240: 24190001 */ li $t9,0x1 +/* f145244: 4458f800 */ cfc1 $t8,$31 +/* f145248: 44d9f800 */ ctc1 $t9,$31 +/* f14524c: 26b50008 */ addiu $s5,$s5,0x8 +/* f145250: 01267825 */ or $t7,$t1,$a2 +/* f145254: 460042a4 */ cvt.w.s $f10,$f8 +/* f145258: 02a05025 */ move $t2,$s5 +/* f14525c: acaf0004 */ sw $t7,0x4($a1) +/* f145260: 26b50008 */ addiu $s5,$s5,0x8 +/* f145264: 4459f800 */ cfc1 $t9,$31 +/* f145268: 3c014f00 */ lui $at,0x4f00 +/* f14526c: 33390078 */ andi $t9,$t9,0x78 +/* f145270: 53200013 */ beqzl $t9,.PB0f1452c0 +/* f145274: 44195000 */ mfc1 $t9,$f10 +/* f145278: 44815000 */ mtc1 $at,$f10 +/* f14527c: 24190001 */ li $t9,0x1 +/* f145280: 460a4281 */ sub.s $f10,$f8,$f10 +/* f145284: 44d9f800 */ ctc1 $t9,$31 +/* f145288: 00000000 */ nop +/* f14528c: 460052a4 */ cvt.w.s $f10,$f10 +/* f145290: 4459f800 */ cfc1 $t9,$31 +/* f145294: 00000000 */ nop +/* f145298: 33390078 */ andi $t9,$t9,0x78 +/* f14529c: 17200005 */ bnez $t9,.PB0f1452b4 +/* f1452a0: 00000000 */ nop +/* f1452a4: 44195000 */ mfc1 $t9,$f10 +/* f1452a8: 3c018000 */ lui $at,0x8000 +/* f1452ac: 10000007 */ b .PB0f1452cc +/* f1452b0: 0321c825 */ or $t9,$t9,$at +.PB0f1452b4: +/* f1452b4: 10000005 */ b .PB0f1452cc +/* f1452b8: 2419ffff */ li $t9,-1 +/* f1452bc: 44195000 */ mfc1 $t9,$f10 +.PB0f1452c0: +/* f1452c0: 00000000 */ nop +/* f1452c4: 0720fffb */ bltz $t9,.PB0f1452b4 +/* f1452c8: 00000000 */ nop +.PB0f1452cc: +/* f1452cc: 3c0140e0 */ lui $at,0x40e0 +/* f1452d0: 44d8f800 */ ctc1 $t8,$31 +/* f1452d4: 44812000 */ mtc1 $at,$f4 +/* f1452d8: 332e03ff */ andi $t6,$t9,0x3ff +/* f1452dc: 000e7b80 */ sll $t7,$t6,0xe +/* f1452e0: 46047303 */ div.s $f12,$f14,$f4 +/* f1452e4: 01ebc025 */ or $t8,$t7,$t3 +/* f1452e8: 0304c825 */ or $t9,$t8,$a0 +/* f1452ec: ad590000 */ sw $t9,0x0($t2) +/* f1452f0: 8fb002f0 */ lw $s0,0x2f0($sp) +/* f1452f4: 02a01025 */ move $v0,$s5 +/* f1452f8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1452fc: 260effe7 */ addiu $t6,$s0,-25 +/* f145300: 31cf03ff */ andi $t7,$t6,0x3ff +/* f145304: 000fc080 */ sll $t8,$t7,0x2 +/* f145308: 240f0001 */ li $t7,0x1 +/* f14530c: 00f8c825 */ or $t9,$a3,$t8 +/* f145310: 02a01825 */ move $v1,$s5 +/* f145314: ad590004 */ sw $t9,0x4($t2) +/* f145318: 3c04f600 */ lui $a0,0xf600 +/* f14531c: 3c014f00 */ lui $at,0x4f00 +/* f145320: 26b50008 */ addiu $s5,$s5,0x8 +/* f145324: 2605ffca */ addiu $a1,$s0,-54 +/* f145328: 460c1180 */ add.s $f6,$f2,$f12 +/* f14532c: 46103200 */ add.s $f8,$f6,$f16 +/* f145330: 444ef800 */ cfc1 $t6,$31 +/* f145334: 44cff800 */ ctc1 $t7,$31 +/* f145338: 00000000 */ nop +/* f14533c: 460042a4 */ cvt.w.s $f10,$f8 +/* f145340: 444ff800 */ cfc1 $t7,$31 +/* f145344: 00000000 */ nop +/* f145348: 31ef0078 */ andi $t7,$t7,0x78 +/* f14534c: 51e00013 */ beqzl $t7,.PB0f14539c +/* f145350: 440f5000 */ mfc1 $t7,$f10 +/* f145354: 44815000 */ mtc1 $at,$f10 +/* f145358: 240f0001 */ li $t7,0x1 +/* f14535c: 460a4281 */ sub.s $f10,$f8,$f10 +/* f145360: 44cff800 */ ctc1 $t7,$31 +/* f145364: 00000000 */ nop +/* f145368: 460052a4 */ cvt.w.s $f10,$f10 +/* f14536c: 444ff800 */ cfc1 $t7,$31 +/* f145370: 00000000 */ nop +/* f145374: 31ef0078 */ andi $t7,$t7,0x78 +/* f145378: 15e00005 */ bnez $t7,.PB0f145390 +/* f14537c: 00000000 */ nop +/* f145380: 440f5000 */ mfc1 $t7,$f10 +/* f145384: 3c018000 */ lui $at,0x8000 +/* f145388: 10000007 */ b .PB0f1453a8 +/* f14538c: 01e17825 */ or $t7,$t7,$at +.PB0f145390: +/* f145390: 10000005 */ b .PB0f1453a8 +/* f145394: 240fffff */ li $t7,-1 +/* f145398: 440f5000 */ mfc1 $t7,$f10 +.PB0f14539c: +/* f14539c: 00000000 */ nop +/* f1453a0: 05e0fffb */ bltz $t7,.PB0f145390 +/* f1453a4: 00000000 */ nop +.PB0f1453a8: +/* f1453a8: 31f803ff */ andi $t8,$t7,0x3ff +/* f1453ac: 44cef800 */ ctc1 $t6,$31 +/* f1453b0: 0018cb80 */ sll $t9,$t8,0xe +/* f1453b4: 03247025 */ or $t6,$t9,$a0 +/* f1453b8: 01c87825 */ or $t7,$t6,$t0 +/* f1453bc: 2618ffd5 */ addiu $t8,$s0,-43 +/* f1453c0: 331903ff */ andi $t9,$t8,0x3ff +/* f1453c4: 00197080 */ sll $t6,$t9,0x2 +/* f1453c8: ac4f0000 */ sw $t7,0x0($v0) +/* f1453cc: 012e7825 */ or $t7,$t1,$t6 +/* f1453d0: ac4f0004 */ sw $t7,0x4($v0) +/* f1453d4: 8fb80304 */ lw $t8,0x304($sp) +/* f1453d8: 3c01f600 */ lui $at,0xf600 +/* f1453dc: 02a01025 */ move $v0,$s5 +/* f1453e0: 0311f821 */ addu $ra,$t8,$s1 +/* f1453e4: 27ffffff */ addiu $ra,$ra,-1 +/* f1453e8: 27f9ffe8 */ addiu $t9,$ra,-24 +/* f1453ec: 332e03ff */ andi $t6,$t9,0x3ff +/* f1453f0: 000e7b80 */ sll $t7,$t6,0xe +/* f1453f4: 30b803ff */ andi $t8,$a1,0x3ff +/* f1453f8: 00182880 */ sll $a1,$t8,0x2 +/* f1453fc: 01e46825 */ or $t5,$t7,$a0 +/* f145400: 01a57025 */ or $t6,$t5,$a1 +/* f145404: ac6e0000 */ sw $t6,0x0($v1) +/* f145408: 8fab02fc */ lw $t3,0x2fc($sp) +/* f14540c: 27ecffe7 */ addiu $t4,$ra,-25 +/* f145410: 319903ff */ andi $t9,$t4,0x3ff +/* f145414: 256b0019 */ addiu $t3,$t3,0x19 +/* f145418: 316f03ff */ andi $t7,$t3,0x3ff +/* f14541c: 448c2000 */ mtc1 $t4,$f4 +/* f145420: 000f5880 */ sll $t3,$t7,0x2 +/* f145424: 00197380 */ sll $t6,$t9,0xe +/* f145428: 27e4ffe2 */ addiu $a0,$ra,-30 +/* f14542c: 01cb7825 */ or $t7,$t6,$t3 +/* f145430: 309803ff */ andi $t8,$a0,0x3ff +/* f145434: ac6f0004 */ sw $t7,0x4($v1) +/* f145438: 0018cb80 */ sll $t9,$t8,0xe +/* f14543c: 468020a0 */ cvt.s.w $f2,$f4 +/* f145440: 8fa902fc */ lw $t1,0x2fc($sp) +/* f145444: 03217025 */ or $t6,$t9,$at +/* f145448: 01c57825 */ or $t7,$t6,$a1 +/* f14544c: afbf0088 */ sw $ra,0x88($sp) +/* f145450: 01c02025 */ move $a0,$t6 +/* f145454: 27eeffe1 */ addiu $t6,$ra,-31 +/* f145458: ac4f0000 */ sw $t7,0x0($v0) +/* f14545c: 2527002b */ addiu $a3,$t1,0x2b +/* f145460: 30f803ff */ andi $t8,$a3,0x3ff +/* f145464: 31cf03ff */ andi $t7,$t6,0x3ff +/* f145468: 00183880 */ sll $a3,$t8,0x2 +/* f14546c: 46001181 */ sub.s $f6,$f2,$f0 +/* f145470: 000fc380 */ sll $t8,$t7,0xe +/* f145474: 252e001a */ addiu $t6,$t1,0x1a +/* f145478: 31cf03ff */ andi $t7,$t6,0x3ff +/* f14547c: 0307c825 */ or $t9,$t8,$a3 +/* f145480: 000fc080 */ sll $t8,$t7,0x2 +/* f145484: 240f0001 */ li $t7,0x1 +/* f145488: 444ef800 */ cfc1 $t6,$31 +/* f14548c: 44cff800 */ ctc1 $t7,$31 +/* f145490: ac590004 */ sw $t9,0x4($v0) +/* f145494: 26b50008 */ addiu $s5,$s5,0x8 +/* f145498: 46003224 */ cvt.w.s $f8,$f6 +/* f14549c: 02a01825 */ move $v1,$s5 +/* f1454a0: 01b8c825 */ or $t9,$t5,$t8 +/* f1454a4: ac790000 */ sw $t9,0x0($v1) +/* f1454a8: 444ff800 */ cfc1 $t7,$31 +/* f1454ac: 26b50008 */ addiu $s5,$s5,0x8 +/* f1454b0: 3c014f00 */ lui $at,0x4f00 +/* f1454b4: 31ef0078 */ andi $t7,$t7,0x78 +/* f1454b8: 51e00013 */ beqzl $t7,.PB0f145508 +/* f1454bc: 440f4000 */ mfc1 $t7,$f8 +/* f1454c0: 44814000 */ mtc1 $at,$f8 +/* f1454c4: 240f0001 */ li $t7,0x1 +/* f1454c8: 46083201 */ sub.s $f8,$f6,$f8 +/* f1454cc: 44cff800 */ ctc1 $t7,$31 +/* f1454d0: 00000000 */ nop +/* f1454d4: 46004224 */ cvt.w.s $f8,$f8 +/* f1454d8: 444ff800 */ cfc1 $t7,$31 +/* f1454dc: 00000000 */ nop +/* f1454e0: 31ef0078 */ andi $t7,$t7,0x78 +/* f1454e4: 15e00005 */ bnez $t7,.PB0f1454fc +/* f1454e8: 00000000 */ nop +/* f1454ec: 440f4000 */ mfc1 $t7,$f8 +/* f1454f0: 3c018000 */ lui $at,0x8000 +/* f1454f4: 10000007 */ b .PB0f145514 +/* f1454f8: 01e17825 */ or $t7,$t7,$at +.PB0f1454fc: +/* f1454fc: 10000005 */ b .PB0f145514 +/* f145500: 240fffff */ li $t7,-1 +/* f145504: 440f4000 */ mfc1 $t7,$f8 +.PB0f145508: +/* f145508: 00000000 */ nop +/* f14550c: 05e0fffb */ bltz $t7,.PB0f1454fc +/* f145510: 00000000 */ nop +.PB0f145514: +/* f145514: 44cef800 */ ctc1 $t6,$31 +/* f145518: 31f803ff */ andi $t8,$t7,0x3ff +/* f14551c: 0018cb80 */ sll $t9,$t8,0xe +/* f145520: 460c1281 */ sub.s $f10,$f2,$f12 +/* f145524: 252f002c */ addiu $t7,$t1,0x2c +/* f145528: 31f803ff */ andi $t8,$t7,0x3ff +/* f14552c: 032b7025 */ or $t6,$t9,$t3 +/* f145530: 0018c880 */ sll $t9,$t8,0x2 +/* f145534: 24180001 */ li $t8,0x1 +/* f145538: 444ff800 */ cfc1 $t7,$31 +/* f14553c: 44d8f800 */ ctc1 $t8,$31 +/* f145540: ac6e0004 */ sw $t6,0x4($v1) +/* f145544: 00997025 */ or $t6,$a0,$t9 +/* f145548: 46005124 */ cvt.w.s $f4,$f10 +/* f14554c: 02a04025 */ move $t0,$s5 +/* f145550: ad0e0000 */ sw $t6,0x0($t0) +/* f145554: 8fa90304 */ lw $t1,0x304($sp) +/* f145558: 4458f800 */ cfc1 $t8,$31 +/* f14555c: 8fa40088 */ lw $a0,0x88($sp) +/* f145560: 26b50008 */ addiu $s5,$s5,0x8 +/* f145564: 33180078 */ andi $t8,$t8,0x78 +/* f145568: 13000012 */ beqz $t8,.PB0f1455b4 +/* f14556c: 3c014f00 */ lui $at,0x4f00 +/* f145570: 44812000 */ mtc1 $at,$f4 +/* f145574: 24180001 */ li $t8,0x1 +/* f145578: 46045101 */ sub.s $f4,$f10,$f4 +/* f14557c: 44d8f800 */ ctc1 $t8,$31 +/* f145580: 00000000 */ nop +/* f145584: 46002124 */ cvt.w.s $f4,$f4 +/* f145588: 4458f800 */ cfc1 $t8,$31 +/* f14558c: 00000000 */ nop +/* f145590: 33180078 */ andi $t8,$t8,0x78 +/* f145594: 17000005 */ bnez $t8,.PB0f1455ac +/* f145598: 00000000 */ nop +/* f14559c: 44182000 */ mfc1 $t8,$f4 +/* f1455a0: 3c018000 */ lui $at,0x8000 +/* f1455a4: 10000007 */ b .PB0f1455c4 +/* f1455a8: 0301c025 */ or $t8,$t8,$at +.PB0f1455ac: +/* f1455ac: 10000005 */ b .PB0f1455c4 +/* f1455b0: 2418ffff */ li $t8,-1 +.PB0f1455b4: +/* f1455b4: 44182000 */ mfc1 $t8,$f4 +/* f1455b8: 00000000 */ nop +/* f1455bc: 0700fffb */ bltz $t8,.PB0f1455ac +/* f1455c0: 00000000 */ nop +.PB0f1455c4: +/* f1455c4: 44cff800 */ ctc1 $t7,$31 +/* f1455c8: 44893000 */ mtc1 $t1,$f6 +/* f1455cc: 331903ff */ andi $t9,$t8,0x3ff +/* f1455d0: 00197380 */ sll $t6,$t9,0xe +/* f1455d4: 46803220 */ cvt.s.w $f8,$f6 +/* f1455d8: 24190001 */ li $t9,0x1 +/* f1455dc: 01c77825 */ or $t7,$t6,$a3 +/* f1455e0: 02a01025 */ move $v0,$s5 +/* f1455e4: ad0f0004 */ sw $t7,0x4($t0) +/* f1455e8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1455ec: 46004280 */ add.s $f10,$f8,$f0 +/* f1455f0: 3c014f00 */ lui $at,0x4f00 +/* f1455f4: 46105100 */ add.s $f4,$f10,$f16 +/* f1455f8: 4458f800 */ cfc1 $t8,$31 +/* f1455fc: 44d9f800 */ ctc1 $t9,$31 +/* f145600: 00000000 */ nop +/* f145604: 460021a4 */ cvt.w.s $f6,$f4 +/* f145608: 4459f800 */ cfc1 $t9,$31 +/* f14560c: 00000000 */ nop +/* f145610: 33390078 */ andi $t9,$t9,0x78 +/* f145614: 53200013 */ beqzl $t9,.PB0f145664 +/* f145618: 44193000 */ mfc1 $t9,$f6 +/* f14561c: 44813000 */ mtc1 $at,$f6 +/* f145620: 24190001 */ li $t9,0x1 +/* f145624: 46062181 */ sub.s $f6,$f4,$f6 +/* f145628: 44d9f800 */ ctc1 $t9,$31 +/* f14562c: 00000000 */ nop +/* f145630: 460031a4 */ cvt.w.s $f6,$f6 +/* f145634: 4459f800 */ cfc1 $t9,$31 +/* f145638: 00000000 */ nop +/* f14563c: 33390078 */ andi $t9,$t9,0x78 +/* f145640: 17200005 */ bnez $t9,.PB0f145658 +/* f145644: 00000000 */ nop +/* f145648: 44193000 */ mfc1 $t9,$f6 +/* f14564c: 3c018000 */ lui $at,0x8000 +/* f145650: 10000007 */ b .PB0f145670 +/* f145654: 0321c825 */ or $t9,$t9,$at +.PB0f145658: +/* f145658: 10000005 */ b .PB0f145670 +/* f14565c: 2419ffff */ li $t9,-1 +/* f145660: 44193000 */ mfc1 $t9,$f6 +.PB0f145664: +/* f145664: 00000000 */ nop +/* f145668: 0720fffb */ bltz $t9,.PB0f145658 +/* f14566c: 00000000 */ nop +.PB0f145670: +/* f145670: 332e03ff */ andi $t6,$t9,0x3ff +/* f145674: 8fb902fc */ lw $t9,0x2fc($sp) +/* f145678: 44d8f800 */ ctc1 $t8,$31 +/* f14567c: 44844000 */ mtc1 $a0,$f8 +/* f145680: 000e7b80 */ sll $t7,$t6,0xe +/* f145684: 3c01f600 */ lui $at,0xf600 +/* f145688: 01e1c025 */ or $t8,$t7,$at +/* f14568c: 272e0038 */ addiu $t6,$t9,0x38 +/* f145690: 468042a0 */ cvt.s.w $f10,$f8 +/* f145694: 31cf03ff */ andi $t7,$t6,0x3ff +/* f145698: 000fc880 */ sll $t9,$t7,0x2 +/* f14569c: 03197025 */ or $t6,$t8,$t9 +/* f1456a0: 312f03ff */ andi $t7,$t1,0x3ff +/* f1456a4: 000fc380 */ sll $t8,$t7,0xe +/* f1456a8: ac4e0000 */ sw $t6,0x0($v0) +/* f1456ac: 248e0001 */ addiu $t6,$a0,0x1 +/* f1456b0: 46005101 */ sub.s $f4,$f10,$f0 +/* f1456b4: 0306c825 */ or $t9,$t8,$a2 +/* f1456b8: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1456bc: 000fc380 */ sll $t8,$t7,0xe +/* f1456c0: ac590004 */ sw $t9,0x4($v0) +/* f1456c4: 0301c825 */ or $t9,$t8,$at +/* f1456c8: 24180001 */ li $t8,0x1 +/* f1456cc: 444ff800 */ cfc1 $t7,$31 +/* f1456d0: 44d8f800 */ ctc1 $t8,$31 +/* f1456d4: 03257025 */ or $t6,$t9,$a1 +/* f1456d8: 02a01825 */ move $v1,$s5 +/* f1456dc: 460021a4 */ cvt.w.s $f6,$f4 +/* f1456e0: ac6e0000 */ sw $t6,0x0($v1) +/* f1456e4: 26b50008 */ addiu $s5,$s5,0x8 +/* f1456e8: 3c014f00 */ lui $at,0x4f00 +/* f1456ec: 4458f800 */ cfc1 $t8,$31 +/* f1456f0: 00000000 */ nop +/* f1456f4: 33180078 */ andi $t8,$t8,0x78 +/* f1456f8: 53000013 */ beqzl $t8,.PB0f145748 +/* f1456fc: 44183000 */ mfc1 $t8,$f6 +/* f145700: 44813000 */ mtc1 $at,$f6 +/* f145704: 24180001 */ li $t8,0x1 +/* f145708: 46062181 */ sub.s $f6,$f4,$f6 +/* f14570c: 44d8f800 */ ctc1 $t8,$31 +/* f145710: 00000000 */ nop +/* f145714: 460031a4 */ cvt.w.s $f6,$f6 +/* f145718: 4458f800 */ cfc1 $t8,$31 +/* f14571c: 00000000 */ nop +/* f145720: 33180078 */ andi $t8,$t8,0x78 +/* f145724: 17000005 */ bnez $t8,.PB0f14573c +/* f145728: 00000000 */ nop +/* f14572c: 44183000 */ mfc1 $t8,$f6 +/* f145730: 3c018000 */ lui $at,0x8000 +/* f145734: 10000007 */ b .PB0f145754 +/* f145738: 0301c025 */ or $t8,$t8,$at +.PB0f14573c: +/* f14573c: 10000005 */ b .PB0f145754 +/* f145740: 2418ffff */ li $t8,-1 +/* f145744: 44183000 */ mfc1 $t8,$f6 +.PB0f145748: +/* f145748: 00000000 */ nop +/* f14574c: 0700fffb */ bltz $t8,.PB0f14573c +/* f145750: 00000000 */ nop +.PB0f145754: +/* f145754: 44cff800 */ ctc1 $t7,$31 +/* f145758: 8faf02f0 */ lw $t7,0x2f0($sp) +/* f14575c: 331903ff */ andi $t9,$t8,0x3ff +/* f145760: 00197380 */ sll $t6,$t9,0xe +/* f145764: 25f8ffc9 */ addiu $t8,$t7,-55 +/* f145768: 331903ff */ andi $t9,$t8,0x3ff +/* f14576c: 00197880 */ sll $t7,$t9,0x2 +/* f145770: 01cfc025 */ or $t8,$t6,$t7 +/* f145774: ac780004 */ sw $t8,0x4($v1) +/* f145778: 44914000 */ mtc1 $s1,$f8 +.PB0f14577c: +/* f14577c: 3c0140a0 */ lui $at,0x40a0 +/* f145780: 44813000 */ mtc1 $at,$f6 +/* f145784: 46804020 */ cvt.s.w $f0,$f8 +/* f145788: 8fa90304 */ lw $t1,0x304($sp) +/* f14578c: 8ed90284 */ lw $t9,0x284($s6) +/* f145790: 24010001 */ li $at,0x1 +/* f145794: 01317821 */ addu $t7,$t1,$s1 +/* f145798: 25f8ffff */ addiu $t8,$t7,-1 +/* f14579c: 46060203 */ div.s $f8,$f0,$f6 +/* f1457a0: 44985000 */ mtc1 $t8,$f10 +/* f1457a4: 8f2e0480 */ lw $t6,0x480($t9) +/* f1457a8: 25340019 */ addiu $s4,$t1,0x19 +/* f1457ac: 46805120 */ cvt.s.w $f4,$f10 +/* f1457b0: 91c3006b */ lbu $v1,0x6b($t6) +/* f1457b4: afb80088 */ sw $t8,0x88($sp) +/* f1457b8: 46082281 */ sub.s $f10,$f4,$f8 +/* f1457bc: 1461006d */ bne $v1,$at,.PB0f145974 +/* f1457c0: e7aa0068 */ swc1 $f10,0x68($sp) +/* f1457c4: 8fae0304 */ lw $t6,0x304($sp) +/* f1457c8: 0011c843 */ sra $t9,$s1,0x1 +/* f1457cc: 8faf02f8 */ lw $t7,0x2f8($sp) +/* f1457d0: 032e1021 */ addu $v0,$t9,$t6 +/* f1457d4: 8fb902fc */ lw $t9,0x2fc($sp) +/* f1457d8: 000fc043 */ sra $t8,$t7,0x1 +/* f1457dc: 3c0cf600 */ lui $t4,0xf600 +/* f1457e0: 03192021 */ addu $a0,$t8,$t9 +/* f1457e4: 24830001 */ addiu $v1,$a0,0x1 +/* f1457e8: 306e03ff */ andi $t6,$v1,0x3ff +/* f1457ec: 24580007 */ addiu $t8,$v0,0x7 +/* f1457f0: 331903ff */ andi $t9,$t8,0x3ff +/* f1457f4: 000e1880 */ sll $v1,$t6,0x2 +/* f1457f8: 00197380 */ sll $t6,$t9,0xe +/* f1457fc: 01cc7825 */ or $t7,$t6,$t4 +/* f145800: 01e3c025 */ or $t8,$t7,$v1 +/* f145804: 244e0002 */ addiu $t6,$v0,0x2 +/* f145808: 308503ff */ andi $a1,$a0,0x3ff +/* f14580c: 02a03025 */ move $a2,$s5 +/* f145810: acd80000 */ sw $t8,0x0($a2) +/* f145814: 0005c880 */ sll $t9,$a1,0x2 +/* f145818: 31cf03ff */ andi $t7,$t6,0x3ff +/* f14581c: 000fc380 */ sll $t8,$t7,0xe +/* f145820: 03193825 */ or $a3,$t8,$t9 +/* f145824: 03202825 */ move $a1,$t9 +/* f145828: 24590005 */ addiu $t9,$v0,0x5 +/* f14582c: 332e03ff */ andi $t6,$t9,0x3ff +/* f145830: 000e7b80 */ sll $t7,$t6,0xe +/* f145834: 01ecc025 */ or $t8,$t7,$t4 +/* f145838: 26b50008 */ addiu $s5,$s5,0x8 +/* f14583c: 0303c825 */ or $t9,$t8,$v1 +/* f145840: 244effff */ addiu $t6,$v0,-1 +/* f145844: acc70004 */ sw $a3,0x4($a2) +/* f145848: 02a04025 */ move $t0,$s5 +/* f14584c: 31cf03ff */ andi $t7,$t6,0x3ff +/* f145850: ad190000 */ sw $t9,0x0($t0) +/* f145854: 000fc380 */ sll $t8,$t7,0xe +/* f145858: 030cc825 */ or $t9,$t8,$t4 +/* f14585c: 244efffa */ addiu $t6,$v0,-6 +/* f145860: 31cf03ff */ andi $t7,$t6,0x3ff +/* f145864: 26b50008 */ addiu $s5,$s5,0x8 +/* f145868: 000fc380 */ sll $t8,$t7,0xe +/* f14586c: 03235025 */ or $t2,$t9,$v1 +/* f145870: 0305c825 */ or $t9,$t8,$a1 +/* f145874: 02a04825 */ move $t1,$s5 +/* f145878: 244efffc */ addiu $t6,$v0,-4 +/* f14587c: ad070004 */ sw $a3,0x4($t0) +/* f145880: 31cf03ff */ andi $t7,$t6,0x3ff +/* f145884: ad390004 */ sw $t9,0x4($t1) +/* f145888: 26b50008 */ addiu $s5,$s5,0x8 +/* f14588c: 000fc380 */ sll $t8,$t7,0xe +/* f145890: 24430001 */ addiu $v1,$v0,0x1 +/* f145894: ad2a0000 */ sw $t2,0x0($t1) +/* f145898: 0305c825 */ or $t9,$t8,$a1 +/* f14589c: 02a05825 */ move $t3,$s5 +/* f1458a0: 306e03ff */ andi $t6,$v1,0x3ff +/* f1458a4: ad790004 */ sw $t9,0x4($t3) +/* f1458a8: 000e7b80 */ sll $t7,$t6,0xe +/* f1458ac: 24990007 */ addiu $t9,$a0,0x7 +/* f1458b0: 3c01f600 */ lui $at,0xf600 +/* f1458b4: 01e11825 */ or $v1,$t7,$at +/* f1458b8: 332e03ff */ andi $t6,$t9,0x3ff +/* f1458bc: 000e7880 */ sll $t7,$t6,0x2 +/* f1458c0: 26b50008 */ addiu $s5,$s5,0x8 +/* f1458c4: 006fc025 */ or $t8,$v1,$t7 +/* f1458c8: ad6a0000 */ sw $t2,0x0($t3) +/* f1458cc: 02a02825 */ move $a1,$s5 +/* f1458d0: 248e0002 */ addiu $t6,$a0,0x2 +/* f1458d4: 304803ff */ andi $t0,$v0,0x3ff +/* f1458d8: 0008cb80 */ sll $t9,$t0,0xe +/* f1458dc: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1458e0: acb80000 */ sw $t8,0x0($a1) +/* f1458e4: 000fc080 */ sll $t8,$t7,0x2 +/* f1458e8: 03383825 */ or $a3,$t9,$t8 +/* f1458ec: 03204025 */ move $t0,$t9 +/* f1458f0: 24990005 */ addiu $t9,$a0,0x5 +/* f1458f4: 332e03ff */ andi $t6,$t9,0x3ff +/* f1458f8: 000e7880 */ sll $t7,$t6,0x2 +/* f1458fc: 26b50008 */ addiu $s5,$s5,0x8 +/* f145900: 006fc025 */ or $t8,$v1,$t7 +/* f145904: aca70004 */ sw $a3,0x4($a1) +/* f145908: 02a03025 */ move $a2,$s5 +/* f14590c: 2499ffff */ addiu $t9,$a0,-1 +/* f145910: acd80000 */ sw $t8,0x0($a2) +/* f145914: 332e03ff */ andi $t6,$t9,0x3ff +/* f145918: 000e7880 */ sll $t7,$t6,0x2 +/* f14591c: 2498fffa */ addiu $t8,$a0,-6 +/* f145920: 26b50008 */ addiu $s5,$s5,0x8 +/* f145924: 331903ff */ andi $t9,$t8,0x3ff +/* f145928: 00197080 */ sll $t6,$t9,0x2 +/* f14592c: 02a04825 */ move $t1,$s5 +/* f145930: 006f5025 */ or $t2,$v1,$t7 +/* f145934: acc70004 */ sw $a3,0x4($a2) +/* f145938: 010e7825 */ or $t7,$t0,$t6 +/* f14593c: 2498fffc */ addiu $t8,$a0,-4 +/* f145940: ad2f0004 */ sw $t7,0x4($t1) +/* f145944: 26b50008 */ addiu $s5,$s5,0x8 +/* f145948: 331903ff */ andi $t9,$t8,0x3ff +/* f14594c: ad2a0000 */ sw $t2,0x0($t1) +/* f145950: 00197080 */ sll $t6,$t9,0x2 +/* f145954: 02a01025 */ move $v0,$s5 +/* f145958: 010e7825 */ or $t7,$t0,$t6 +/* f14595c: ac4f0004 */ sw $t7,0x4($v0) +/* f145960: ac4a0000 */ sw $t2,0x0($v0) +/* f145964: 8ed80284 */ lw $t8,0x284($s6) +/* f145968: 26b50008 */ addiu $s5,$s5,0x8 +/* f14596c: 8f190480 */ lw $t9,0x480($t8) +/* f145970: 9323006b */ lbu $v1,0x6b($t9) +.PB0f145974: +/* f145974: 1460000b */ bnez $v1,.PB0f1459a4 +/* f145978: 2404580c */ li $a0,0x580c +/* f14597c: 3c0e00ff */ lui $t6,0xff +/* f145980: 3c0f0050 */ lui $t7,0x50 +/* f145984: 3c18000f */ lui $t8,0xf +/* f145988: 35ce00a0 */ ori $t6,$t6,0xa0 +/* f14598c: 35ef00ff */ ori $t7,$t7,0xff +/* f145990: 371800ff */ ori $t8,$t8,0xff +/* f145994: afae02b8 */ sw $t6,0x2b8($sp) +/* f145998: afaf02b4 */ sw $t7,0x2b4($sp) +/* f14599c: 10000011 */ b .PB0f1459e4 +/* f1459a0: afb802b0 */ sw $t8,0x2b0($sp) +.PB0f1459a4: +/* f1459a4: 24010001 */ li $at,0x1 +/* f1459a8: 14610008 */ bne $v1,$at,.PB0f1459cc +/* f1459ac: 3c02ff33 */ lui $v0,0xff33 +/* f1459b0: 3c022244 */ lui $v0,0x2244 +/* f1459b4: 3442ffff */ ori $v0,$v0,0xffff +/* f1459b8: 24190fff */ li $t9,0xfff +/* f1459bc: afa202b8 */ sw $v0,0x2b8($sp) +/* f1459c0: afa202b4 */ sw $v0,0x2b4($sp) +/* f1459c4: 10000007 */ b .PB0f1459e4 +/* f1459c8: afb902b0 */ sw $t9,0x2b0($sp) +.PB0f1459cc: +/* f1459cc: 344200ff */ ori $v0,$v0,0xff +/* f1459d0: 3c0e0f00 */ lui $t6,0xf00 +/* f1459d4: 35ce00ff */ ori $t6,$t6,0xff +/* f1459d8: afa202b8 */ sw $v0,0x2b8($sp) +/* f1459dc: afa202b4 */ sw $v0,0x2b4($sp) +/* f1459e0: afae02b0 */ sw $t6,0x2b0($sp) +.PB0f1459e4: +/* f1459e4: 0fc5c06a */ jal 0xf1701a8 +/* f1459e8: e7a00070 */ swc1 $f0,0x70($sp) +/* f1459ec: 3c017f1b */ lui $at,0x7f1b +/* f1459f0: c4247f74 */ lwc1 $f4,0x7f74($at) +/* f1459f4: c7a602c0 */ lwc1 $f6,0x2c0($sp) +/* f1459f8: 27b30308 */ addiu $s3,$sp,0x308 +/* f1459fc: 3c057f1b */ lui $a1,0x7f1b +/* f145a00: 46043202 */ mul.s $f8,$f6,$f4 +/* f145a04: 3c077f1b */ lui $a3,0x7f1b +/* f145a08: 24e77e10 */ addiu $a3,$a3,0x7e10 +/* f145a0c: 24a57e04 */ addiu $a1,$a1,0x7e04 +/* f145a10: 02602025 */ move $a0,$s3 +/* f145a14: 00403025 */ move $a2,$v0 +/* f145a18: 460042a1 */ cvt.d.s $f10,$f8 +/* f145a1c: 0c004e1d */ jal 0x13874 +/* f145a20: f7aa0010 */ sdc1 $f10,0x10($sp) +/* f145a24: 3c0f8008 */ lui $t7,0x8008 +/* f145a28: 8def1fd4 */ lw $t7,0x1fd4($t7) +/* f145a2c: 3c078008 */ lui $a3,0x8008 +/* f145a30: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f145a34: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f145a38: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f145a3c: 02603025 */ move $a2,$s3 +/* f145a40: afa00014 */ sw $zero,0x14($sp) +/* f145a44: 0fc5625a */ jal 0xf158968 +/* f145a48: afaf0010 */ sw $t7,0x10($sp) +/* f145a4c: 8fb202fc */ lw $s2,0x2fc($sp) +/* f145a50: 8fb802e4 */ lw $t8,0x2e4($sp) +/* f145a54: 8fae02e0 */ lw $t6,0x2e0($sp) +/* f145a58: 2652000e */ addiu $s2,$s2,0xe +/* f145a5c: 0298c821 */ addu $t9,$s4,$t8 +/* f145a60: 27b802d8 */ addiu $t8,$sp,0x2d8 +/* f145a64: 024e7821 */ addu $t7,$s2,$t6 +/* f145a68: afaf02d8 */ sw $t7,0x2d8($sp) +/* f145a6c: afb80010 */ sw $t8,0x10($sp) +/* f145a70: afb902dc */ sw $t9,0x2dc($sp) +/* f145a74: afb202e8 */ sw $s2,0x2e8($sp) +/* f145a78: 02a02025 */ move $a0,$s5 +/* f145a7c: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145a80: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145a84: 27a702dc */ addiu $a3,$sp,0x2dc +/* f145a88: 0fc5531b */ jal 0xf154c6c +/* f145a8c: afb402ec */ sw $s4,0x2ec($sp) +/* f145a90: 0c002e4d */ jal 0xb934 +/* f145a94: 0040a825 */ move $s5,$v0 +/* f145a98: 00028400 */ sll $s0,$v0,0x10 +/* f145a9c: 0010cc03 */ sra $t9,$s0,0x10 +/* f145aa0: 0c002e51 */ jal 0xb944 +/* f145aa4: 03208025 */ move $s0,$t9 +/* f145aa8: 3c0e8008 */ lui $t6,0x8008 +/* f145aac: 3c0f8008 */ lui $t7,0x8008 +/* f145ab0: 8def1fd4 */ lw $t7,0x1fd4($t7) +/* f145ab4: 8dce1fd8 */ lw $t6,0x1fd8($t6) +/* f145ab8: 8fb802b8 */ lw $t8,0x2b8($sp) +/* f145abc: 8fb902b0 */ lw $t9,0x2b0($sp) +/* f145ac0: 02a02025 */ move $a0,$s5 +/* f145ac4: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145ac8: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145acc: 02603825 */ move $a3,$s3 +/* f145ad0: afb00020 */ sw $s0,0x20($sp) +/* f145ad4: afa20024 */ sw $v0,0x24($sp) +/* f145ad8: afa00028 */ sw $zero,0x28($sp) +/* f145adc: afa0002c */ sw $zero,0x2c($sp) +/* f145ae0: afaf0014 */ sw $t7,0x14($sp) +/* f145ae4: afae0010 */ sw $t6,0x10($sp) +/* f145ae8: afb80018 */ sw $t8,0x18($sp) +/* f145aec: 0fc56160 */ jal 0xf158580 +/* f145af0: afb9001c */ sw $t9,0x1c($sp) +/* f145af4: 0040a825 */ move $s5,$v0 +/* f145af8: 0fc5c06a */ jal 0xf1701a8 +/* f145afc: 2404580d */ li $a0,0x580d +/* f145b00: 8ece0284 */ lw $t6,0x284($s6) +/* f145b04: 3c017f1b */ lui $at,0x7f1b +/* f145b08: c4247f78 */ lwc1 $f4,0x7f78($at) +/* f145b0c: 8dcf0480 */ lw $t7,0x480($t6) +/* f145b10: 3c057f1b */ lui $a1,0x7f1b +/* f145b14: 3c077f1b */ lui $a3,0x7f1b +/* f145b18: c5e60060 */ lwc1 $f6,0x60($t7) +/* f145b1c: 24e77e20 */ addiu $a3,$a3,0x7e20 +/* f145b20: 24a57e14 */ addiu $a1,$a1,0x7e14 +/* f145b24: 46043202 */ mul.s $f8,$f6,$f4 +/* f145b28: 02602025 */ move $a0,$s3 +/* f145b2c: 00403025 */ move $a2,$v0 +/* f145b30: 460042a1 */ cvt.d.s $f10,$f8 +/* f145b34: 0c004e1d */ jal 0x13874 +/* f145b38: f7aa0010 */ sdc1 $f10,0x10($sp) +/* f145b3c: 3c188008 */ lui $t8,0x8008 +/* f145b40: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f145b44: 3c078008 */ lui $a3,0x8008 +/* f145b48: 26510009 */ addiu $s1,$s2,0x9 +/* f145b4c: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f145b50: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f145b54: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f145b58: 02603025 */ move $a2,$s3 +/* f145b5c: afa00014 */ sw $zero,0x14($sp) +/* f145b60: 0fc5625a */ jal 0xf158968 +/* f145b64: afb80010 */ sw $t8,0x10($sp) +/* f145b68: 8fb902e4 */ lw $t9,0x2e4($sp) +/* f145b6c: 8faf02e0 */ lw $t7,0x2e0($sp) +/* f145b70: 02a02025 */ move $a0,$s5 +/* f145b74: 02997021 */ addu $t6,$s4,$t9 +/* f145b78: 27b902d8 */ addiu $t9,$sp,0x2d8 +/* f145b7c: 022fc021 */ addu $t8,$s1,$t7 +/* f145b80: afb802d8 */ sw $t8,0x2d8($sp) +/* f145b84: afb90010 */ sw $t9,0x10($sp) +/* f145b88: afae02dc */ sw $t6,0x2dc($sp) +/* f145b8c: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145b90: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145b94: 27a702dc */ addiu $a3,$sp,0x2dc +/* f145b98: afb402ec */ sw $s4,0x2ec($sp) +/* f145b9c: 0fc5531b */ jal 0xf154c6c +/* f145ba0: afb102e8 */ sw $s1,0x2e8($sp) +/* f145ba4: 0c002e4d */ jal 0xb934 +/* f145ba8: 0040a825 */ move $s5,$v0 +/* f145bac: 00028400 */ sll $s0,$v0,0x10 +/* f145bb0: 00107403 */ sra $t6,$s0,0x10 +/* f145bb4: 0c002e51 */ jal 0xb944 +/* f145bb8: 01c08025 */ move $s0,$t6 +/* f145bbc: 3c0f8008 */ lui $t7,0x8008 +/* f145bc0: 3c188008 */ lui $t8,0x8008 +/* f145bc4: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f145bc8: 8def1fd8 */ lw $t7,0x1fd8($t7) +/* f145bcc: 8fb902b8 */ lw $t9,0x2b8($sp) +/* f145bd0: 8fae02b0 */ lw $t6,0x2b0($sp) +/* f145bd4: 02a02025 */ move $a0,$s5 +/* f145bd8: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145bdc: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145be0: 02603825 */ move $a3,$s3 +/* f145be4: afb00020 */ sw $s0,0x20($sp) +/* f145be8: afa20024 */ sw $v0,0x24($sp) +/* f145bec: afa00028 */ sw $zero,0x28($sp) +/* f145bf0: afa0002c */ sw $zero,0x2c($sp) +/* f145bf4: afb80014 */ sw $t8,0x14($sp) +/* f145bf8: afaf0010 */ sw $t7,0x10($sp) +/* f145bfc: afb90018 */ sw $t9,0x18($sp) +/* f145c00: 0fc56160 */ jal 0xf158580 +/* f145c04: afae001c */ sw $t6,0x1c($sp) +/* f145c08: 0040a825 */ move $s5,$v0 +/* f145c0c: 0fc5c06a */ jal 0xf1701a8 +/* f145c10: 2404580e */ li $a0,0x580e +/* f145c14: 8ecf0284 */ lw $t7,0x284($s6) +/* f145c18: 3c057f1b */ lui $a1,0x7f1b +/* f145c1c: 24a57e24 */ addiu $a1,$a1,0x7e24 +/* f145c20: 8df80480 */ lw $t8,0x480($t7) +/* f145c24: 02602025 */ move $a0,$s3 +/* f145c28: 00403025 */ move $a2,$v0 +/* f145c2c: c706001c */ lwc1 $f6,0x1c($t8) +/* f145c30: 4600310d */ trunc.w.s $f4,$f6 +/* f145c34: 44072000 */ mfc1 $a3,$f4 +/* f145c38: 0c004e1d */ jal 0x13874 +/* f145c3c: 00000000 */ nop +/* f145c40: 3c0e8008 */ lui $t6,0x8008 +/* f145c44: 8dce1fd4 */ lw $t6,0x1fd4($t6) +/* f145c48: 3c078008 */ lui $a3,0x8008 +/* f145c4c: 26310009 */ addiu $s1,$s1,0x9 +/* f145c50: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f145c54: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f145c58: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f145c5c: 02603025 */ move $a2,$s3 +/* f145c60: afa00014 */ sw $zero,0x14($sp) +/* f145c64: 0fc5625a */ jal 0xf158968 +/* f145c68: afae0010 */ sw $t6,0x10($sp) +/* f145c6c: 8faf02e4 */ lw $t7,0x2e4($sp) +/* f145c70: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f145c74: 02a02025 */ move $a0,$s5 +/* f145c78: 028fc021 */ addu $t8,$s4,$t7 +/* f145c7c: 27af02d8 */ addiu $t7,$sp,0x2d8 +/* f145c80: 02397021 */ addu $t6,$s1,$t9 +/* f145c84: afae02d8 */ sw $t6,0x2d8($sp) +/* f145c88: afaf0010 */ sw $t7,0x10($sp) +/* f145c8c: afb802dc */ sw $t8,0x2dc($sp) +/* f145c90: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145c94: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145c98: 27a702dc */ addiu $a3,$sp,0x2dc +/* f145c9c: afb402ec */ sw $s4,0x2ec($sp) +/* f145ca0: 0fc5531b */ jal 0xf154c6c +/* f145ca4: afb102e8 */ sw $s1,0x2e8($sp) +/* f145ca8: 0c002e4d */ jal 0xb934 +/* f145cac: 0040a825 */ move $s5,$v0 +/* f145cb0: 00028400 */ sll $s0,$v0,0x10 +/* f145cb4: 0010c403 */ sra $t8,$s0,0x10 +/* f145cb8: 0c002e51 */ jal 0xb944 +/* f145cbc: 03008025 */ move $s0,$t8 +/* f145cc0: 3c198008 */ lui $t9,0x8008 +/* f145cc4: 3c0e8008 */ lui $t6,0x8008 +/* f145cc8: 8dce1fd4 */ lw $t6,0x1fd4($t6) +/* f145ccc: 8f391fd8 */ lw $t9,0x1fd8($t9) +/* f145cd0: 8faf02b8 */ lw $t7,0x2b8($sp) +/* f145cd4: 8fb802b0 */ lw $t8,0x2b0($sp) +/* f145cd8: 02a02025 */ move $a0,$s5 +/* f145cdc: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145ce0: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145ce4: 02603825 */ move $a3,$s3 +/* f145ce8: afb00020 */ sw $s0,0x20($sp) +/* f145cec: afa20024 */ sw $v0,0x24($sp) +/* f145cf0: afa00028 */ sw $zero,0x28($sp) +/* f145cf4: afa0002c */ sw $zero,0x2c($sp) +/* f145cf8: afae0014 */ sw $t6,0x14($sp) +/* f145cfc: afb90010 */ sw $t9,0x10($sp) +/* f145d00: afaf0018 */ sw $t7,0x18($sp) +/* f145d04: 0fc56160 */ jal 0xf158580 +/* f145d08: afb8001c */ sw $t8,0x1c($sp) +/* f145d0c: 0040a825 */ move $s5,$v0 +/* f145d10: 0fc5c06a */ jal 0xf1701a8 +/* f145d14: 2404580f */ li $a0,0x580f +/* f145d18: 8ed90284 */ lw $t9,0x284($s6) +/* f145d1c: 3c057f1b */ lui $a1,0x7f1b +/* f145d20: 24a57e2c */ addiu $a1,$a1,0x7e2c +/* f145d24: 8f2e0480 */ lw $t6,0x480($t9) +/* f145d28: 02602025 */ move $a0,$s3 +/* f145d2c: 00403025 */ move $a2,$v0 +/* f145d30: c5c80028 */ lwc1 $f8,0x28($t6) +/* f145d34: 4600428d */ trunc.w.s $f10,$f8 +/* f145d38: 44075000 */ mfc1 $a3,$f10 +/* f145d3c: 0c004e1d */ jal 0x13874 +/* f145d40: 00000000 */ nop +/* f145d44: 3c188008 */ lui $t8,0x8008 +/* f145d48: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f145d4c: 3c078008 */ lui $a3,0x8008 +/* f145d50: 26310009 */ addiu $s1,$s1,0x9 +/* f145d54: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f145d58: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f145d5c: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f145d60: 02603025 */ move $a2,$s3 +/* f145d64: afa00014 */ sw $zero,0x14($sp) +/* f145d68: 0fc5625a */ jal 0xf158968 +/* f145d6c: afb80010 */ sw $t8,0x10($sp) +/* f145d70: 8fb902e4 */ lw $t9,0x2e4($sp) +/* f145d74: 8faf02e0 */ lw $t7,0x2e0($sp) +/* f145d78: 02a02025 */ move $a0,$s5 +/* f145d7c: 02997021 */ addu $t6,$s4,$t9 +/* f145d80: 27b902d8 */ addiu $t9,$sp,0x2d8 +/* f145d84: 022fc021 */ addu $t8,$s1,$t7 +/* f145d88: afb802d8 */ sw $t8,0x2d8($sp) +/* f145d8c: afb90010 */ sw $t9,0x10($sp) +/* f145d90: afae02dc */ sw $t6,0x2dc($sp) +/* f145d94: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145d98: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145d9c: 27a702dc */ addiu $a3,$sp,0x2dc +/* f145da0: afb402ec */ sw $s4,0x2ec($sp) +/* f145da4: 0fc5531b */ jal 0xf154c6c +/* f145da8: afb102e8 */ sw $s1,0x2e8($sp) +/* f145dac: 0c002e4d */ jal 0xb934 +/* f145db0: 0040a825 */ move $s5,$v0 +/* f145db4: 00028400 */ sll $s0,$v0,0x10 +/* f145db8: 00107403 */ sra $t6,$s0,0x10 +/* f145dbc: 0c002e51 */ jal 0xb944 +/* f145dc0: 01c08025 */ move $s0,$t6 +/* f145dc4: 3c0f8008 */ lui $t7,0x8008 +/* f145dc8: 3c188008 */ lui $t8,0x8008 +/* f145dcc: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f145dd0: 8def1fd8 */ lw $t7,0x1fd8($t7) +/* f145dd4: 8fb902b8 */ lw $t9,0x2b8($sp) +/* f145dd8: 8fae02b0 */ lw $t6,0x2b0($sp) +/* f145ddc: 02a02025 */ move $a0,$s5 +/* f145de0: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145de4: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145de8: 02603825 */ move $a3,$s3 +/* f145dec: afb00020 */ sw $s0,0x20($sp) +/* f145df0: afa20024 */ sw $v0,0x24($sp) +/* f145df4: afa00028 */ sw $zero,0x28($sp) +/* f145df8: afa0002c */ sw $zero,0x2c($sp) +/* f145dfc: afb80014 */ sw $t8,0x14($sp) +/* f145e00: afaf0010 */ sw $t7,0x10($sp) +/* f145e04: afb90018 */ sw $t9,0x18($sp) +/* f145e08: 0fc56160 */ jal 0xf158580 +/* f145e0c: afae001c */ sw $t6,0x1c($sp) +/* f145e10: 0040a825 */ move $s5,$v0 +/* f145e14: 0fc5c06a */ jal 0xf1701a8 +/* f145e18: 24045810 */ li $a0,0x5810 +/* f145e1c: 3c057f1b */ lui $a1,0x7f1b +/* f145e20: 24a57e34 */ addiu $a1,$a1,0x7e34 +/* f145e24: 02602025 */ move $a0,$s3 +/* f145e28: 0c004e1d */ jal 0x13874 +/* f145e2c: 00403025 */ move $a2,$v0 +/* f145e30: 3c0f8008 */ lui $t7,0x8008 +/* f145e34: 8def1fd4 */ lw $t7,0x1fd4($t7) +/* f145e38: 3c078008 */ lui $a3,0x8008 +/* f145e3c: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f145e40: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f145e44: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f145e48: 02603025 */ move $a2,$s3 +/* f145e4c: afa00014 */ sw $zero,0x14($sp) +/* f145e50: 0fc5625a */ jal 0xf158968 +/* f145e54: afaf0010 */ sw $t7,0x10($sp) +/* f145e58: 8fa902a4 */ lw $t1,0x2a4($sp) +/* f145e5c: 8fb80304 */ lw $t8,0x304($sp) +/* f145e60: 8fb902f0 */ lw $t9,0x2f0($sp) +/* f145e64: 11200003 */ beqz $t1,.PB0f145e74 +/* f145e68: 8fae02e4 */ lw $t6,0x2e4($sp) +/* f145e6c: 10000002 */ b .PB0f145e78 +/* f145e70: 2402fffd */ li $v0,-3 +.PB0f145e74: +/* f145e74: 00001025 */ move $v0,$zero +.PB0f145e78: +/* f145e78: 00581821 */ addu $v1,$v0,$t8 +/* f145e7c: 11200003 */ beqz $t1,.PB0f145e8c +/* f145e80: 2463001e */ addiu $v1,$v1,0x1e +/* f145e84: 10000002 */ b .PB0f145e90 +/* f145e88: 24020012 */ li $v0,0x12 +.PB0f145e8c: +/* f145e8c: 00001025 */ move $v0,$zero +.PB0f145e90: +/* f145e90: 8fb802e0 */ lw $t8,0x2e0($sp) +/* f145e94: 00594021 */ addu $t0,$v0,$t9 +/* f145e98: 2508ffd7 */ addiu $t0,$t0,-41 +/* f145e9c: 006e7821 */ addu $t7,$v1,$t6 +/* f145ea0: 27ae02d8 */ addiu $t6,$sp,0x2d8 +/* f145ea4: 0118c821 */ addu $t9,$t0,$t8 +/* f145ea8: afb902d8 */ sw $t9,0x2d8($sp) +/* f145eac: afae0010 */ sw $t6,0x10($sp) +/* f145eb0: afaf02dc */ sw $t7,0x2dc($sp) +/* f145eb4: afa802e8 */ sw $t0,0x2e8($sp) +/* f145eb8: 02a02025 */ move $a0,$s5 +/* f145ebc: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145ec0: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145ec4: 27a702dc */ addiu $a3,$sp,0x2dc +/* f145ec8: 0fc5531b */ jal 0xf154c6c +/* f145ecc: afa302ec */ sw $v1,0x2ec($sp) +/* f145ed0: 0c002e4d */ jal 0xb934 +/* f145ed4: 0040a825 */ move $s5,$v0 +/* f145ed8: 00028400 */ sll $s0,$v0,0x10 +/* f145edc: 00107c03 */ sra $t7,$s0,0x10 +/* f145ee0: 0c002e51 */ jal 0xb944 +/* f145ee4: 01e08025 */ move $s0,$t7 +/* f145ee8: 3c188008 */ lui $t8,0x8008 +/* f145eec: 3c198008 */ lui $t9,0x8008 +/* f145ef0: 8f391fd4 */ lw $t9,0x1fd4($t9) +/* f145ef4: 8f181fd8 */ lw $t8,0x1fd8($t8) +/* f145ef8: 8fae02b4 */ lw $t6,0x2b4($sp) +/* f145efc: 8faf02b0 */ lw $t7,0x2b0($sp) +/* f145f00: 02a02025 */ move $a0,$s5 +/* f145f04: 27a502ec */ addiu $a1,$sp,0x2ec +/* f145f08: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f145f0c: 02603825 */ move $a3,$s3 +/* f145f10: afb00020 */ sw $s0,0x20($sp) +/* f145f14: afa20024 */ sw $v0,0x24($sp) +/* f145f18: afa00028 */ sw $zero,0x28($sp) +/* f145f1c: afa0002c */ sw $zero,0x2c($sp) +/* f145f20: afb90014 */ sw $t9,0x14($sp) +/* f145f24: afb80010 */ sw $t8,0x10($sp) +/* f145f28: afae0018 */ sw $t6,0x18($sp) +/* f145f2c: 0fc56160 */ jal 0xf158580 +/* f145f30: afaf001c */ sw $t7,0x1c($sp) +/* f145f34: 8ed80284 */ lw $t8,0x284($s6) +/* f145f38: 0040a825 */ move $s5,$v0 +/* f145f3c: 8f190480 */ lw $t9,0x480($t8) +/* f145f40: 9323006b */ lbu $v1,0x6b($t9) +/* f145f44: 5460000b */ bnezl $v1,.PB0f145f74 +/* f145f48: 24010001 */ li $at,0x1 +/* f145f4c: 0fc5c06a */ jal 0xf1701a8 +/* f145f50: 24045811 */ li $a0,0x5811 +/* f145f54: 3c057f1b */ lui $a1,0x7f1b +/* f145f58: 24a57e38 */ addiu $a1,$a1,0x7e38 +/* f145f5c: 02602025 */ move $a0,$s3 +/* f145f60: 0c004e1d */ jal 0x13874 +/* f145f64: 00403025 */ move $a2,$v0 +/* f145f68: 10000014 */ b .PB0f145fbc +/* f145f6c: 00000000 */ nop +/* f145f70: 24010001 */ li $at,0x1 +.PB0f145f74: +/* f145f74: 1461000a */ bne $v1,$at,.PB0f145fa0 +/* f145f78: 00000000 */ nop +/* f145f7c: 0fc5c06a */ jal 0xf1701a8 +/* f145f80: 24045893 */ li $a0,0x5893 +/* f145f84: 3c057f1b */ lui $a1,0x7f1b +/* f145f88: 24a57e3c */ addiu $a1,$a1,0x7e3c +/* f145f8c: 02602025 */ move $a0,$s3 +/* f145f90: 0c004e1d */ jal 0x13874 +/* f145f94: 00403025 */ move $a2,$v0 +/* f145f98: 10000008 */ b .PB0f145fbc +/* f145f9c: 00000000 */ nop +.PB0f145fa0: +/* f145fa0: 0fc5c06a */ jal 0xf1701a8 +/* f145fa4: 2404589c */ li $a0,0x589c +/* f145fa8: 3c057f1b */ lui $a1,0x7f1b +/* f145fac: 24a57e40 */ addiu $a1,$a1,0x7e40 +/* f145fb0: 02602025 */ move $a0,$s3 +/* f145fb4: 0c004e1d */ jal 0x13874 +/* f145fb8: 00403025 */ move $a2,$v0 +.PB0f145fbc: +/* f145fbc: 3c0e8008 */ lui $t6,0x8008 +/* f145fc0: 8dce1fd4 */ lw $t6,0x1fd4($t6) +/* f145fc4: 3c078008 */ lui $a3,0x8008 +/* f145fc8: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f145fcc: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f145fd0: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f145fd4: 02603025 */ move $a2,$s3 +/* f145fd8: afa00014 */ sw $zero,0x14($sp) +/* f145fdc: 0fc5625a */ jal 0xf158968 +/* f145fe0: afae0010 */ sw $t6,0x10($sp) +/* f145fe4: 8fa902a4 */ lw $t1,0x2a4($sp) +/* f145fe8: 8faf0304 */ lw $t7,0x304($sp) +/* f145fec: 8fb802f0 */ lw $t8,0x2f0($sp) +/* f145ff0: 11200003 */ beqz $t1,.PB0f146000 +/* f145ff4: 8fb902e4 */ lw $t9,0x2e4($sp) +/* f145ff8: 10000002 */ b .PB0f146004 +/* f145ffc: 2402fffd */ li $v0,-3 +.PB0f146000: +/* f146000: 00001025 */ move $v0,$zero +.PB0f146004: +/* f146004: 004f1821 */ addu $v1,$v0,$t7 +/* f146008: 11200003 */ beqz $t1,.PB0f146018 +/* f14600c: 2463001e */ addiu $v1,$v1,0x1e +/* f146010: 10000002 */ b .PB0f14601c +/* f146014: 24020014 */ li $v0,0x14 +.PB0f146018: +/* f146018: 00001025 */ move $v0,$zero +.PB0f14601c: +/* f14601c: 8faf02e0 */ lw $t7,0x2e0($sp) +/* f146020: 00584021 */ addu $t0,$v0,$t8 +/* f146024: 2508ffde */ addiu $t0,$t0,-34 +/* f146028: 00797021 */ addu $t6,$v1,$t9 +/* f14602c: 27b902d8 */ addiu $t9,$sp,0x2d8 +/* f146030: 010fc021 */ addu $t8,$t0,$t7 +/* f146034: afb802d8 */ sw $t8,0x2d8($sp) +/* f146038: afb90010 */ sw $t9,0x10($sp) +/* f14603c: afae02dc */ sw $t6,0x2dc($sp) +/* f146040: afa802e8 */ sw $t0,0x2e8($sp) +/* f146044: 02a02025 */ move $a0,$s5 +/* f146048: 27a502ec */ addiu $a1,$sp,0x2ec +/* f14604c: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f146050: 27a702dc */ addiu $a3,$sp,0x2dc +/* f146054: 0fc5531b */ jal 0xf154c6c +/* f146058: afa302ec */ sw $v1,0x2ec($sp) +/* f14605c: 0c002e4d */ jal 0xb934 +/* f146060: 0040a825 */ move $s5,$v0 +/* f146064: 00028400 */ sll $s0,$v0,0x10 +/* f146068: 00107403 */ sra $t6,$s0,0x10 +/* f14606c: 0c002e51 */ jal 0xb944 +/* f146070: 01c08025 */ move $s0,$t6 +/* f146074: 3c0f8008 */ lui $t7,0x8008 +/* f146078: 3c188008 */ lui $t8,0x8008 +/* f14607c: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f146080: 8def1fd8 */ lw $t7,0x1fd8($t7) +/* f146084: 8fb902b4 */ lw $t9,0x2b4($sp) +/* f146088: 8fae02b0 */ lw $t6,0x2b0($sp) +/* f14608c: 02a02025 */ move $a0,$s5 +/* f146090: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146094: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f146098: 02603825 */ move $a3,$s3 +/* f14609c: afb00020 */ sw $s0,0x20($sp) +/* f1460a0: afa20024 */ sw $v0,0x24($sp) +/* f1460a4: afa00028 */ sw $zero,0x28($sp) +/* f1460a8: afa0002c */ sw $zero,0x2c($sp) +/* f1460ac: afb80014 */ sw $t8,0x14($sp) +/* f1460b0: afaf0010 */ sw $t7,0x10($sp) +/* f1460b4: afb90018 */ sw $t9,0x18($sp) +/* f1460b8: 0fc56160 */ jal 0xf158580 +/* f1460bc: afae001c */ sw $t6,0x1c($sp) +/* f1460c0: 8ecf0284 */ lw $t7,0x284($s6) +/* f1460c4: 0040a825 */ move $s5,$v0 +/* f1460c8: 8df80480 */ lw $t8,0x480($t7) +/* f1460cc: 9303006b */ lbu $v1,0x6b($t8) +/* f1460d0: 54600047 */ bnezl $v1,.PB0f1461f0 +/* f1460d4: 24010001 */ li $at,0x1 +/* f1460d8: 0fc5c06a */ jal 0xf1701a8 +/* f1460dc: 24045812 */ li $a0,0x5812 +/* f1460e0: 3c057f1b */ lui $a1,0x7f1b +/* f1460e4: 24a57e44 */ addiu $a1,$a1,0x7e44 +/* f1460e8: 02602025 */ move $a0,$s3 +/* f1460ec: 0c004e1d */ jal 0x13874 +/* f1460f0: 00403025 */ move $a2,$v0 +/* f1460f4: 3c198008 */ lui $t9,0x8008 +/* f1460f8: 8f391fd4 */ lw $t9,0x1fd4($t9) +/* f1460fc: 3c078008 */ lui $a3,0x8008 +/* f146100: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f146104: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f146108: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f14610c: 02603025 */ move $a2,$s3 +/* f146110: afa00014 */ sw $zero,0x14($sp) +/* f146114: 0fc5625a */ jal 0xf158968 +/* f146118: afb90010 */ sw $t9,0x10($sp) +/* f14611c: 8fae02a4 */ lw $t6,0x2a4($sp) +/* f146120: 8fa30088 */ lw $v1,0x88($sp) +/* f146124: 8faf02fc */ lw $t7,0x2fc($sp) +/* f146128: 11c00003 */ beqz $t6,.PB0f146138 +/* f14612c: 2463ffb2 */ addiu $v1,$v1,-78 +/* f146130: 10000002 */ b .PB0f14613c +/* f146134: 2402fff3 */ li $v0,-13 +.PB0f146138: +/* f146138: 00001025 */ move $v0,$zero +.PB0f14613c: +/* f14613c: 8fb802e4 */ lw $t8,0x2e4($sp) +/* f146140: 8fae02e0 */ lw $t6,0x2e0($sp) +/* f146144: 004f4021 */ addu $t0,$v0,$t7 +/* f146148: 2508001b */ addiu $t0,$t0,0x1b +/* f14614c: 0078c821 */ addu $t9,$v1,$t8 +/* f146150: 27b802d8 */ addiu $t8,$sp,0x2d8 +/* f146154: 010e7821 */ addu $t7,$t0,$t6 +/* f146158: afaf02d8 */ sw $t7,0x2d8($sp) +/* f14615c: afb80010 */ sw $t8,0x10($sp) +/* f146160: afb902dc */ sw $t9,0x2dc($sp) +/* f146164: afa802e8 */ sw $t0,0x2e8($sp) +/* f146168: 02a02025 */ move $a0,$s5 +/* f14616c: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146170: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f146174: 27a702dc */ addiu $a3,$sp,0x2dc +/* f146178: 0fc5531b */ jal 0xf154c6c +/* f14617c: afa302ec */ sw $v1,0x2ec($sp) +/* f146180: 0c002e4d */ jal 0xb934 +/* f146184: 0040a825 */ move $s5,$v0 +/* f146188: 00028400 */ sll $s0,$v0,0x10 +/* f14618c: 0010cc03 */ sra $t9,$s0,0x10 +/* f146190: 0c002e51 */ jal 0xb944 +/* f146194: 03208025 */ move $s0,$t9 +/* f146198: 3c0e8008 */ lui $t6,0x8008 +/* f14619c: 3c0f8008 */ lui $t7,0x8008 +/* f1461a0: 8def1fd4 */ lw $t7,0x1fd4($t7) +/* f1461a4: 8dce1fd8 */ lw $t6,0x1fd8($t6) +/* f1461a8: 8fb802b4 */ lw $t8,0x2b4($sp) +/* f1461ac: 8fb902b0 */ lw $t9,0x2b0($sp) +/* f1461b0: 02a02025 */ move $a0,$s5 +/* f1461b4: 27a502ec */ addiu $a1,$sp,0x2ec +/* f1461b8: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f1461bc: 02603825 */ move $a3,$s3 +/* f1461c0: afb00020 */ sw $s0,0x20($sp) +/* f1461c4: afa20024 */ sw $v0,0x24($sp) +/* f1461c8: afa00028 */ sw $zero,0x28($sp) +/* f1461cc: afa0002c */ sw $zero,0x2c($sp) +/* f1461d0: afaf0014 */ sw $t7,0x14($sp) +/* f1461d4: afae0010 */ sw $t6,0x10($sp) +/* f1461d8: afb80018 */ sw $t8,0x18($sp) +/* f1461dc: 0fc56160 */ jal 0xf158580 +/* f1461e0: afb9001c */ sw $t9,0x1c($sp) +/* f1461e4: 1000008d */ b .PB0f14641c +/* f1461e8: 0040a825 */ move $s5,$v0 +/* f1461ec: 24010001 */ li $at,0x1 +.PB0f1461f0: +/* f1461f0: 14610046 */ bne $v1,$at,.PB0f14630c +/* f1461f4: 00000000 */ nop +/* f1461f8: 0fc5c06a */ jal 0xf1701a8 +/* f1461fc: 240458d1 */ li $a0,0x58d1 +/* f146200: 3c057f1b */ lui $a1,0x7f1b +/* f146204: 24a57e4c */ addiu $a1,$a1,0x7e4c +/* f146208: 02602025 */ move $a0,$s3 +/* f14620c: 0c004e1d */ jal 0x13874 +/* f146210: 00403025 */ move $a2,$v0 +/* f146214: 3c0e8008 */ lui $t6,0x8008 +/* f146218: 8dce1fd4 */ lw $t6,0x1fd4($t6) +/* f14621c: 3c078008 */ lui $a3,0x8008 +/* f146220: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f146224: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f146228: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f14622c: 02603025 */ move $a2,$s3 +/* f146230: afa00014 */ sw $zero,0x14($sp) +/* f146234: 0fc5625a */ jal 0xf158968 +/* f146238: afae0010 */ sw $t6,0x10($sp) +/* f14623c: 8faf02a4 */ lw $t7,0x2a4($sp) +/* f146240: 8fa30088 */ lw $v1,0x88($sp) +/* f146244: 8fb802fc */ lw $t8,0x2fc($sp) +/* f146248: 11e00003 */ beqz $t7,.PB0f146258 +/* f14624c: 2463ffb2 */ addiu $v1,$v1,-78 +/* f146250: 10000002 */ b .PB0f14625c +/* f146254: 2402fff3 */ li $v0,-13 +.PB0f146258: +/* f146258: 00001025 */ move $v0,$zero +.PB0f14625c: +/* f14625c: 8fb902e4 */ lw $t9,0x2e4($sp) +/* f146260: 8faf02e0 */ lw $t7,0x2e0($sp) +/* f146264: 00584021 */ addu $t0,$v0,$t8 +/* f146268: 2508001b */ addiu $t0,$t0,0x1b +/* f14626c: 00797021 */ addu $t6,$v1,$t9 +/* f146270: 27b902d8 */ addiu $t9,$sp,0x2d8 +/* f146274: 010fc021 */ addu $t8,$t0,$t7 +/* f146278: afb802d8 */ sw $t8,0x2d8($sp) +/* f14627c: afb90010 */ sw $t9,0x10($sp) +/* f146280: afae02dc */ sw $t6,0x2dc($sp) +/* f146284: afa802e8 */ sw $t0,0x2e8($sp) +/* f146288: 02a02025 */ move $a0,$s5 +/* f14628c: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146290: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f146294: 27a702dc */ addiu $a3,$sp,0x2dc +/* f146298: 0fc5531b */ jal 0xf154c6c +/* f14629c: afa302ec */ sw $v1,0x2ec($sp) +/* f1462a0: 0c002e4d */ jal 0xb934 +/* f1462a4: 0040a825 */ move $s5,$v0 +/* f1462a8: 00028400 */ sll $s0,$v0,0x10 +/* f1462ac: 00107403 */ sra $t6,$s0,0x10 +/* f1462b0: 0c002e51 */ jal 0xb944 +/* f1462b4: 01c08025 */ move $s0,$t6 +/* f1462b8: 3c0f8008 */ lui $t7,0x8008 +/* f1462bc: 3c188008 */ lui $t8,0x8008 +/* f1462c0: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f1462c4: 8def1fd8 */ lw $t7,0x1fd8($t7) +/* f1462c8: 8fb902b4 */ lw $t9,0x2b4($sp) +/* f1462cc: 8fae02b0 */ lw $t6,0x2b0($sp) +/* f1462d0: 02a02025 */ move $a0,$s5 +/* f1462d4: 27a502ec */ addiu $a1,$sp,0x2ec +/* f1462d8: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f1462dc: 02603825 */ move $a3,$s3 +/* f1462e0: afb00020 */ sw $s0,0x20($sp) +/* f1462e4: afa20024 */ sw $v0,0x24($sp) +/* f1462e8: afa00028 */ sw $zero,0x28($sp) +/* f1462ec: afa0002c */ sw $zero,0x2c($sp) +/* f1462f0: afb80014 */ sw $t8,0x14($sp) +/* f1462f4: afaf0010 */ sw $t7,0x10($sp) +/* f1462f8: afb90018 */ sw $t9,0x18($sp) +/* f1462fc: 0fc56160 */ jal 0xf158580 +/* f146300: afae001c */ sw $t6,0x1c($sp) +/* f146304: 10000045 */ b .PB0f14641c +/* f146308: 0040a825 */ move $s5,$v0 +.PB0f14630c: +/* f14630c: 0fc5c06a */ jal 0xf1701a8 +/* f146310: 240458d2 */ li $a0,0x58d2 +/* f146314: 3c057f1b */ lui $a1,0x7f1b +/* f146318: 24a57e54 */ addiu $a1,$a1,0x7e54 +/* f14631c: 02602025 */ move $a0,$s3 +/* f146320: 0c004e1d */ jal 0x13874 +/* f146324: 00403025 */ move $a2,$v0 +/* f146328: 3c0f8008 */ lui $t7,0x8008 +/* f14632c: 8def1fd4 */ lw $t7,0x1fd4($t7) +/* f146330: 3c078008 */ lui $a3,0x8008 +/* f146334: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f146338: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f14633c: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f146340: 02603025 */ move $a2,$s3 +/* f146344: afa00014 */ sw $zero,0x14($sp) +/* f146348: 0fc5625a */ jal 0xf158968 +/* f14634c: afaf0010 */ sw $t7,0x10($sp) +/* f146350: 8fb802a4 */ lw $t8,0x2a4($sp) +/* f146354: 8fa30088 */ lw $v1,0x88($sp) +/* f146358: 8fb902fc */ lw $t9,0x2fc($sp) +/* f14635c: 13000003 */ beqz $t8,.PB0f14636c +/* f146360: 2463ffac */ addiu $v1,$v1,-84 +/* f146364: 10000002 */ b .PB0f146370 +/* f146368: 2402fff3 */ li $v0,-13 +.PB0f14636c: +/* f14636c: 00001025 */ move $v0,$zero +.PB0f146370: +/* f146370: 8fae02e4 */ lw $t6,0x2e4($sp) +/* f146374: 8fb802e0 */ lw $t8,0x2e0($sp) +/* f146378: 00594021 */ addu $t0,$v0,$t9 +/* f14637c: 2508001b */ addiu $t0,$t0,0x1b +/* f146380: 006e7821 */ addu $t7,$v1,$t6 +/* f146384: 27ae02d8 */ addiu $t6,$sp,0x2d8 +/* f146388: 0118c821 */ addu $t9,$t0,$t8 +/* f14638c: afb902d8 */ sw $t9,0x2d8($sp) +/* f146390: afae0010 */ sw $t6,0x10($sp) +/* f146394: afaf02dc */ sw $t7,0x2dc($sp) +/* f146398: afa802e8 */ sw $t0,0x2e8($sp) +/* f14639c: 02a02025 */ move $a0,$s5 +/* f1463a0: 27a502ec */ addiu $a1,$sp,0x2ec +/* f1463a4: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f1463a8: 27a702dc */ addiu $a3,$sp,0x2dc +/* f1463ac: 0fc5531b */ jal 0xf154c6c +/* f1463b0: afa302ec */ sw $v1,0x2ec($sp) +/* f1463b4: 0c002e4d */ jal 0xb934 +/* f1463b8: 0040a825 */ move $s5,$v0 +/* f1463bc: 00028400 */ sll $s0,$v0,0x10 +/* f1463c0: 00107c03 */ sra $t7,$s0,0x10 +/* f1463c4: 0c002e51 */ jal 0xb944 +/* f1463c8: 01e08025 */ move $s0,$t7 +/* f1463cc: 3c188008 */ lui $t8,0x8008 +/* f1463d0: 3c198008 */ lui $t9,0x8008 +/* f1463d4: 8f391fd4 */ lw $t9,0x1fd4($t9) +/* f1463d8: 8f181fd8 */ lw $t8,0x1fd8($t8) +/* f1463dc: 8fae02b4 */ lw $t6,0x2b4($sp) +/* f1463e0: 8faf02b0 */ lw $t7,0x2b0($sp) +/* f1463e4: 02a02025 */ move $a0,$s5 +/* f1463e8: 27a502ec */ addiu $a1,$sp,0x2ec +/* f1463ec: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f1463f0: 02603825 */ move $a3,$s3 +/* f1463f4: afb00020 */ sw $s0,0x20($sp) +/* f1463f8: afa20024 */ sw $v0,0x24($sp) +/* f1463fc: afa00028 */ sw $zero,0x28($sp) +/* f146400: afa0002c */ sw $zero,0x2c($sp) +/* f146404: afb90014 */ sw $t9,0x14($sp) +/* f146408: afb80010 */ sw $t8,0x10($sp) +/* f14640c: afae0018 */ sw $t6,0x18($sp) +/* f146410: 0fc56160 */ jal 0xf158580 +/* f146414: afaf001c */ sw $t7,0x1c($sp) +/* f146418: 0040a825 */ move $s5,$v0 +.PB0f14641c: +/* f14641c: 8ed80284 */ lw $t8,0x284($s6) +/* f146420: 8f190480 */ lw $t9,0x480($t8) +/* f146424: 9323006b */ lbu $v1,0x6b($t9) +/* f146428: 5460000b */ bnezl $v1,.PB0f146458 +/* f14642c: 24010001 */ li $at,0x1 +/* f146430: 0fc5c06a */ jal 0xf1701a8 +/* f146434: 24045813 */ li $a0,0x5813 +/* f146438: 3c057f1b */ lui $a1,0x7f1b +/* f14643c: 24a57e5c */ addiu $a1,$a1,0x7e5c +/* f146440: 02602025 */ move $a0,$s3 +/* f146444: 0c004e1d */ jal 0x13874 +/* f146448: 00403025 */ move $a2,$v0 +/* f14644c: 10000014 */ b .PB0f1464a0 +/* f146450: 00000000 */ nop +/* f146454: 24010001 */ li $at,0x1 +.PB0f146458: +/* f146458: 1461000a */ bne $v1,$at,.PB0f146484 +/* f14645c: 00000000 */ nop +/* f146460: 0fc5c06a */ jal 0xf1701a8 +/* f146464: 24045892 */ li $a0,0x5892 +/* f146468: 3c057f1b */ lui $a1,0x7f1b +/* f14646c: 24a57e60 */ addiu $a1,$a1,0x7e60 +/* f146470: 02602025 */ move $a0,$s3 +/* f146474: 0c004e1d */ jal 0x13874 +/* f146478: 00403025 */ move $a2,$v0 +/* f14647c: 10000008 */ b .PB0f1464a0 +/* f146480: 00000000 */ nop +.PB0f146484: +/* f146484: 0fc5c06a */ jal 0xf1701a8 +/* f146488: 2404589b */ li $a0,0x589b +/* f14648c: 3c057f1b */ lui $a1,0x7f1b +/* f146490: 24a57e64 */ addiu $a1,$a1,0x7e64 +/* f146494: 02602025 */ move $a0,$s3 +/* f146498: 0c004e1d */ jal 0x13874 +/* f14649c: 00403025 */ move $a2,$v0 +.PB0f1464a0: +/* f1464a0: 3c0e8008 */ lui $t6,0x8008 +/* f1464a4: 8dce1fd4 */ lw $t6,0x1fd4($t6) +/* f1464a8: 3c078008 */ lui $a3,0x8008 +/* f1464ac: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f1464b0: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f1464b4: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f1464b8: 02603025 */ move $a2,$s3 +/* f1464bc: afa00014 */ sw $zero,0x14($sp) +/* f1464c0: 0fc5625a */ jal 0xf158968 +/* f1464c4: afae0010 */ sw $t6,0x10($sp) +/* f1464c8: 8fa902a4 */ lw $t1,0x2a4($sp) +/* f1464cc: 8faf0088 */ lw $t7,0x88($sp) +/* f1464d0: 8fb802fc */ lw $t8,0x2fc($sp) +/* f1464d4: 11200003 */ beqz $t1,.PB0f1464e4 +/* f1464d8: 8fb902e4 */ lw $t9,0x2e4($sp) +/* f1464dc: 10000002 */ b .PB0f1464e8 +/* f1464e0: 24020003 */ li $v0,0x3 +.PB0f1464e4: +/* f1464e4: 00001025 */ move $v0,$zero +.PB0f1464e8: +/* f1464e8: 004f1821 */ addu $v1,$v0,$t7 +/* f1464ec: 11200003 */ beqz $t1,.PB0f1464fc +/* f1464f0: 2463ffb9 */ addiu $v1,$v1,-71 +/* f1464f4: 10000002 */ b .PB0f146500 +/* f1464f8: 2402fff5 */ li $v0,-11 +.PB0f1464fc: +/* f1464fc: 00001025 */ move $v0,$zero +.PB0f146500: +/* f146500: 8faf02e0 */ lw $t7,0x2e0($sp) +/* f146504: 00584021 */ addu $t0,$v0,$t8 +/* f146508: 25080022 */ addiu $t0,$t0,0x22 +/* f14650c: 00797021 */ addu $t6,$v1,$t9 +/* f146510: 27b902d8 */ addiu $t9,$sp,0x2d8 +/* f146514: 010fc021 */ addu $t8,$t0,$t7 +/* f146518: afb802d8 */ sw $t8,0x2d8($sp) +/* f14651c: afb90010 */ sw $t9,0x10($sp) +/* f146520: afae02dc */ sw $t6,0x2dc($sp) +/* f146524: afa802e8 */ sw $t0,0x2e8($sp) +/* f146528: 02a02025 */ move $a0,$s5 +/* f14652c: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146530: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f146534: 27a702dc */ addiu $a3,$sp,0x2dc +/* f146538: 0fc5531b */ jal 0xf154c6c +/* f14653c: afa302ec */ sw $v1,0x2ec($sp) +/* f146540: 0c002e4d */ jal 0xb934 +/* f146544: 0040a825 */ move $s5,$v0 +/* f146548: 00028400 */ sll $s0,$v0,0x10 +/* f14654c: 00107403 */ sra $t6,$s0,0x10 +/* f146550: 0c002e51 */ jal 0xb944 +/* f146554: 01c08025 */ move $s0,$t6 +/* f146558: 3c0f8008 */ lui $t7,0x8008 +/* f14655c: 3c188008 */ lui $t8,0x8008 +/* f146560: 8f181fd4 */ lw $t8,0x1fd4($t8) +/* f146564: 8def1fd8 */ lw $t7,0x1fd8($t7) +/* f146568: 8fb902b4 */ lw $t9,0x2b4($sp) +/* f14656c: 8fae02b0 */ lw $t6,0x2b0($sp) +/* f146570: 02a02025 */ move $a0,$s5 +/* f146574: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146578: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f14657c: 02603825 */ move $a3,$s3 +/* f146580: afb00020 */ sw $s0,0x20($sp) +/* f146584: afa20024 */ sw $v0,0x24($sp) +/* f146588: afa00028 */ sw $zero,0x28($sp) +/* f14658c: afa0002c */ sw $zero,0x2c($sp) +/* f146590: afb80014 */ sw $t8,0x14($sp) +/* f146594: afaf0010 */ sw $t7,0x10($sp) +/* f146598: afb90018 */ sw $t9,0x18($sp) +/* f14659c: 0fc56160 */ jal 0xf158580 +/* f1465a0: afae001c */ sw $t6,0x1c($sp) +/* f1465a4: 8ecf0284 */ lw $t7,0x284($s6) +/* f1465a8: 0040a825 */ move $s5,$v0 +/* f1465ac: 8df80480 */ lw $t8,0x480($t7) +/* f1465b0: 9303006b */ lbu $v1,0x6b($t8) +/* f1465b4: 10600003 */ beqz $v1,.PB0f1465c4 +/* f1465b8: 24010002 */ li $at,0x2 +/* f1465bc: 1461000a */ bne $v1,$at,.PB0f1465e8 +/* f1465c0: 00000000 */ nop +.PB0f1465c4: +/* f1465c4: 0fc5c06a */ jal 0xf1701a8 +/* f1465c8: 24045814 */ li $a0,0x5814 +/* f1465cc: 3c057f1b */ lui $a1,0x7f1b +/* f1465d0: 24a57e68 */ addiu $a1,$a1,0x7e68 +/* f1465d4: 02602025 */ move $a0,$s3 +/* f1465d8: 0c004e1d */ jal 0x13874 +/* f1465dc: 00403025 */ move $a2,$v0 +/* f1465e0: 10000008 */ b .PB0f146604 +/* f1465e4: 00000000 */ nop +.PB0f1465e8: +/* f1465e8: 0fc5c06a */ jal 0xf1701a8 +/* f1465ec: 24045891 */ li $a0,0x5891 +/* f1465f0: 3c057f1b */ lui $a1,0x7f1b +/* f1465f4: 24a57e6c */ addiu $a1,$a1,0x7e6c +/* f1465f8: 02602025 */ move $a0,$s3 +/* f1465fc: 0c004e1d */ jal 0x13874 +/* f146600: 00403025 */ move $a2,$v0 +.PB0f146604: +/* f146604: 3c198008 */ lui $t9,0x8008 +/* f146608: 8f391fd4 */ lw $t9,0x1fd4($t9) +/* f14660c: 3c078008 */ lui $a3,0x8008 +/* f146610: 8ce71fd8 */ lw $a3,0x1fd8($a3) +/* f146614: 27a402e0 */ addiu $a0,$sp,0x2e0 +/* f146618: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f14661c: 02603025 */ move $a2,$s3 +/* f146620: afa00014 */ sw $zero,0x14($sp) +/* f146624: 0fc5625a */ jal 0xf158968 +/* f146628: afb90010 */ sw $t9,0x10($sp) +/* f14662c: 8fae02a4 */ lw $t6,0x2a4($sp) +/* f146630: 3c014040 */ lui $at,0x4040 +/* f146634: 44812000 */ mtc1 $at,$f4 +/* f146638: 11c00003 */ beqz $t6,.PB0f146648 +/* f14663c: c7a60068 */ lwc1 $f6,0x68($sp) +/* f146640: 10000002 */ b .PB0f14664c +/* f146644: 2402ffdd */ li $v0,-35 +.PB0f146648: +/* f146648: 00001025 */ move $v0,$zero +.PB0f14664c: +/* f14664c: 44805000 */ mtc1 $zero,$f10 +/* f146650: 46043201 */ sub.s $f8,$f6,$f4 +/* f146654: 8fb802a4 */ lw $t8,0x2a4($sp) +/* f146658: 8fb902f0 */ lw $t9,0x2f0($sp) +/* f14665c: 468051a0 */ cvt.s.w $f6,$f10 +/* f146660: 44825000 */ mtc1 $v0,$f10 +/* f146664: 8fae02e4 */ lw $t6,0x2e4($sp) +/* f146668: 02a02025 */ move $a0,$s5 +/* f14666c: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146670: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f146674: 46064101 */ sub.s $f4,$f8,$f6 +/* f146678: 27a702dc */ addiu $a3,$sp,0x2dc +/* f14667c: 46805220 */ cvt.s.w $f8,$f10 +/* f146680: 46044180 */ add.s $f6,$f8,$f4 +/* f146684: 4600328d */ trunc.w.s $f10,$f6 +/* f146688: 44035000 */ mfc1 $v1,$f10 +/* f14668c: 53000004 */ beqzl $t8,.PB0f1466a0 +/* f146690: 00001025 */ move $v0,$zero +/* f146694: 10000002 */ b .PB0f1466a0 +/* f146698: 2402fffe */ li $v0,-2 +/* f14669c: 00001025 */ move $v0,$zero +.PB0f1466a0: +/* f1466a0: 8fb802e0 */ lw $t8,0x2e0($sp) +/* f1466a4: 00594021 */ addu $t0,$v0,$t9 +/* f1466a8: 2508fff4 */ addiu $t0,$t0,-12 +/* f1466ac: 006e7821 */ addu $t7,$v1,$t6 +/* f1466b0: 27ae02d8 */ addiu $t6,$sp,0x2d8 +/* f1466b4: 0118c821 */ addu $t9,$t0,$t8 +/* f1466b8: afb902d8 */ sw $t9,0x2d8($sp) +/* f1466bc: afae0010 */ sw $t6,0x10($sp) +/* f1466c0: afaf02dc */ sw $t7,0x2dc($sp) +/* f1466c4: afa802e8 */ sw $t0,0x2e8($sp) +/* f1466c8: 0fc5531b */ jal 0xf154c6c +/* f1466cc: afa302ec */ sw $v1,0x2ec($sp) +/* f1466d0: 0c002e4d */ jal 0xb934 +/* f1466d4: 0040a825 */ move $s5,$v0 +/* f1466d8: 00028400 */ sll $s0,$v0,0x10 +/* f1466dc: 00107c03 */ sra $t7,$s0,0x10 +/* f1466e0: 0c002e51 */ jal 0xb944 +/* f1466e4: 01e08025 */ move $s0,$t7 +/* f1466e8: 3c188008 */ lui $t8,0x8008 +/* f1466ec: 3c198008 */ lui $t9,0x8008 +/* f1466f0: 8f391fd4 */ lw $t9,0x1fd4($t9) +/* f1466f4: 8f181fd8 */ lw $t8,0x1fd8($t8) +/* f1466f8: 8fae02b4 */ lw $t6,0x2b4($sp) +/* f1466fc: 8faf02b0 */ lw $t7,0x2b0($sp) +/* f146700: 02a02025 */ move $a0,$s5 +/* f146704: 27a502ec */ addiu $a1,$sp,0x2ec +/* f146708: 27a602e8 */ addiu $a2,$sp,0x2e8 +/* f14670c: 02603825 */ move $a3,$s3 +/* f146710: afb00020 */ sw $s0,0x20($sp) +/* f146714: afa20024 */ sw $v0,0x24($sp) +/* f146718: afa00028 */ sw $zero,0x28($sp) +/* f14671c: afa0002c */ sw $zero,0x2c($sp) +/* f146720: afb90014 */ sw $t9,0x14($sp) +/* f146724: afb80010 */ sw $t8,0x10($sp) +/* f146728: afae0018 */ sw $t6,0x18($sp) +/* f14672c: 0fc56160 */ jal 0xf158580 +/* f146730: afaf001c */ sw $t7,0x1c($sp) +/* f146734: 0fc55313 */ jal 0xf154c4c +/* f146738: 00402025 */ move $a0,$v0 +/* f14673c: 8ed80288 */ lw $t8,0x288($s6) +/* f146740: 0040a825 */ move $s5,$v0 +/* f146744: 0fc54ebe */ jal 0xf153af8 +/* f146748: 8f040070 */ lw $a0,0x70($t8) +/* f14674c: 00028600 */ sll $s0,$v0,0x18 +/* f146750: 00022600 */ sll $a0,$v0,0x18 +/* f146754: 0010ce03 */ sra $t9,$s0,0x18 +/* f146758: 00047603 */ sra $t6,$a0,0x18 +/* f14675c: 03208025 */ move $s0,$t9 +/* f146760: 01c02025 */ move $a0,$t6 +/* f146764: 0c00566a */ jal 0x159a8 +/* f146768: 3405ffff */ li $a1,0xffff +/* f14676c: 00102600 */ sll $a0,$s0,0x18 +/* f146770: 00047e03 */ sra $t7,$a0,0x18 +/* f146774: 01e02025 */ move $a0,$t7 +/* f146778: 3051ffff */ andi $s1,$v0,0xffff +/* f14677c: 0c00569a */ jal 0x15a68 +/* f146780: 3405ffff */ li $a1,0xffff +/* f146784: 00102600 */ sll $a0,$s0,0x18 +/* f146788: 0004c603 */ sra $t8,$a0,0x18 +/* f14678c: 3052ffff */ andi $s2,$v0,0xffff +/* f146790: 0c005616 */ jal 0x15858 +/* f146794: 03002025 */ move $a0,$t8 +/* f146798: 0002a600 */ sll $s4,$v0,0x18 +/* f14679c: 00102600 */ sll $a0,$s0,0x18 +/* f1467a0: 00047603 */ sra $t6,$a0,0x18 +/* f1467a4: 0014ce03 */ sra $t9,$s4,0x18 +/* f1467a8: 0320a025 */ move $s4,$t9 +/* f1467ac: 0c005640 */ jal 0x15900 +/* f1467b0: 01c02025 */ move $a0,$t6 +/* f1467b4: 02a01825 */ move $v1,$s5 +/* f1467b8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1467bc: 3c0fe700 */ lui $t7,0xe700 +/* f1467c0: ac6f0000 */ sw $t7,0x0($v1) +/* f1467c4: 02a02025 */ move $a0,$s5 +/* f1467c8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1467cc: ac600004 */ sw $zero,0x4($v1) +/* f1467d0: 3c18ba00 */ lui $t8,0xba00 +/* f1467d4: 37181402 */ ori $t8,$t8,0x1402 +/* f1467d8: 02a02825 */ move $a1,$s5 +/* f1467dc: ac980000 */ sw $t8,0x0($a0) +/* f1467e0: ac800004 */ sw $zero,0x4($a0) +/* f1467e4: 3c19ba00 */ lui $t9,0xba00 +/* f1467e8: 37390602 */ ori $t9,$t9,0x602 +/* f1467ec: 26b50008 */ addiu $s5,$s5,0x8 +/* f1467f0: 240e00c0 */ li $t6,0xc0 +/* f1467f4: acae0004 */ sw $t6,0x4($a1) +/* f1467f8: 02a03025 */ move $a2,$s5 +/* f1467fc: acb90000 */ sw $t9,0x0($a1) +/* f146800: 3c0fba00 */ lui $t7,0xba00 +/* f146804: 35ef1301 */ ori $t7,$t7,0x1301 +/* f146808: accf0000 */ sw $t7,0x0($a2) +/* f14680c: 26b50008 */ addiu $s5,$s5,0x8 +/* f146810: 02a03825 */ move $a3,$s5 +/* f146814: acc00004 */ sw $zero,0x4($a2) +/* f146818: 3c18b900 */ lui $t8,0xb900 +/* f14681c: 37180002 */ ori $t8,$t8,0x2 +/* f146820: 26b50008 */ addiu $s5,$s5,0x8 +/* f146824: 02a01825 */ move $v1,$s5 +/* f146828: acf80000 */ sw $t8,0x0($a3) +/* f14682c: 3c19ba00 */ lui $t9,0xba00 +/* f146830: 37391001 */ ori $t9,$t9,0x1001 +/* f146834: 26b50008 */ addiu $s5,$s5,0x8 +/* f146838: ace00004 */ sw $zero,0x4($a3) +/* f14683c: ac790000 */ sw $t9,0x0($v1) +/* f146840: 02a02025 */ move $a0,$s5 +/* f146844: 3c0eba00 */ lui $t6,0xba00 +/* f146848: 35ce0c02 */ ori $t6,$t6,0xc02 +/* f14684c: 26b50008 */ addiu $s5,$s5,0x8 +/* f146850: ac600004 */ sw $zero,0x4($v1) +/* f146854: ac8e0000 */ sw $t6,0x0($a0) +/* f146858: 02a02825 */ move $a1,$s5 +/* f14685c: 240f2000 */ li $t7,0x2000 +/* f146860: ac8f0004 */ sw $t7,0x4($a0) +/* f146864: 3c18ba00 */ lui $t8,0xba00 +/* f146868: 37180903 */ ori $t8,$t8,0x903 +/* f14686c: 26b50008 */ addiu $s5,$s5,0x8 +/* f146870: 24190c00 */ li $t9,0xc00 +/* f146874: acb90004 */ sw $t9,0x4($a1) +/* f146878: 02a03025 */ move $a2,$s5 +/* f14687c: acb80000 */ sw $t8,0x0($a1) +/* f146880: 3c0eba00 */ lui $t6,0xba00 +/* f146884: 35ce0e02 */ ori $t6,$t6,0xe02 +/* f146888: 26b50008 */ addiu $s5,$s5,0x8 +/* f14688c: 02a04025 */ move $t0,$s5 +/* f146890: acce0000 */ sw $t6,0x0($a2) +/* f146894: acc00004 */ sw $zero,0x4($a2) +/* f146898: 3c180050 */ lui $t8,0x50 +/* f14689c: 3c0fb900 */ lui $t7,0xb900 +/* f1468a0: 35ef031d */ ori $t7,$t7,0x31d +/* f1468a4: 37184340 */ ori $t8,$t8,0x4340 +/* f1468a8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1468ac: 02a01825 */ move $v1,$s5 +/* f1468b0: ad180004 */ sw $t8,0x4($t0) +/* f1468b4: ad0f0000 */ sw $t7,0x0($t0) +/* f1468b8: 3c0efffd */ lui $t6,0xfffd +/* f1468bc: 3c19fcff */ lui $t9,0xfcff +/* f1468c0: 3739ffff */ ori $t9,$t9,0xffff +/* f1468c4: 35cef6fb */ ori $t6,$t6,0xf6fb +/* f1468c8: ac6e0004 */ sw $t6,0x4($v1) +/* f1468cc: ac790000 */ sw $t9,0x0($v1) +/* f1468d0: 8faf02a4 */ lw $t7,0x2a4($sp) +/* f1468d4: 44944000 */ mtc1 $s4,$f8 +/* f1468d8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1468dc: 15e001d8 */ bnez $t7,.PB0f147040 +/* f1468e0: 46804320 */ cvt.s.w $f12,$f8 +/* f1468e4: 8ed80284 */ lw $t8,0x284($s6) +/* f1468e8: 2405ffab */ li $a1,-85 +/* f1468ec: 24010001 */ li $at,0x1 +/* f1468f0: 8f190480 */ lw $t9,0x480($t8) +/* f1468f4: 24130014 */ li $s3,0x14 +/* f1468f8: 322e0808 */ andi $t6,$s1,0x808 +/* f1468fc: 9323006b */ lbu $v1,0x6b($t9) +/* f146900: 324f0808 */ andi $t7,$s2,0x808 +/* f146904: 3c09fa00 */ lui $t1,0xfa00 +/* f146908: 14600011 */ bnez $v1,.PB0f146950 +/* f14690c: 3c0b1020 */ lui $t3,0x1020 +/* f146910: 11c00002 */ beqz $t6,.PB0f14691c +/* f146914: 02203025 */ move $a2,$s1 +/* f146918: 24130028 */ li $s3,0x28 +.PB0f14691c: +/* f14691c: 11e00004 */ beqz $t7,.PB0f146930 +/* f146920: 02403825 */ move $a3,$s2 +/* f146924: 26730014 */ addiu $s3,$s3,0x14 +/* f146928: 327800ff */ andi $t8,$s3,0xff +/* f14692c: 03009825 */ move $s3,$t8 +.PB0f146930: +/* f146930: 327900ff */ andi $t9,$s3,0xff +/* f146934: 00197400 */ sll $t6,$t9,0x10 +/* f146938: 02a01825 */ move $v1,$s5 +/* f14693c: 35cf00ff */ ori $t7,$t6,0xff +/* f146940: ac6f0004 */ sw $t7,0x4($v1) +/* f146944: ac690000 */ sw $t1,0x0($v1) +/* f146948: 1000002f */ b .PB0f146a08 +/* f14694c: 26b50008 */ addiu $s5,$s5,0x8 +.PB0f146950: +/* f146950: 14610017 */ bne $v1,$at,.PB0f1469b0 +/* f146954: 24130014 */ li $s3,0x14 +/* f146958: 32380808 */ andi $t8,$s1,0x808 +/* f14695c: 2413007f */ li $s3,0x7f +/* f146960: 13000002 */ beqz $t8,.PB0f14696c +/* f146964: 02203025 */ move $a2,$s1 +/* f146968: 241300be */ li $s3,0xbe +.PB0f14696c: +/* f14696c: 32590808 */ andi $t9,$s2,0x808 +/* f146970: 13200004 */ beqz $t9,.PB0f146984 +/* f146974: 02403825 */ move $a3,$s2 +/* f146978: 2673003f */ addiu $s3,$s3,0x3f +/* f14697c: 326e00ff */ andi $t6,$s3,0xff +/* f146980: 01c09825 */ move $s3,$t6 +.PB0f146984: +/* f146984: 326f00ff */ andi $t7,$s3,0xff +/* f146988: 000fc200 */ sll $t8,$t7,0x8 +/* f14698c: 3c0b1020 */ lui $t3,0x1020 +/* f146990: 030bc825 */ or $t9,$t8,$t3 +/* f146994: 02a01825 */ move $v1,$s5 +/* f146998: 372e00ff */ ori $t6,$t9,0xff +/* f14699c: 3c09fa00 */ lui $t1,0xfa00 +/* f1469a0: ac690000 */ sw $t1,0x0($v1) +/* f1469a4: ac6e0004 */ sw $t6,0x4($v1) +/* f1469a8: 10000017 */ b .PB0f146a08 +/* f1469ac: 26b50008 */ addiu $s5,$s5,0x8 +.PB0f1469b0: +/* f1469b0: 322f0808 */ andi $t7,$s1,0x808 +/* f1469b4: 11e00002 */ beqz $t7,.PB0f1469c0 +/* f1469b8: 02203025 */ move $a2,$s1 +/* f1469bc: 24130028 */ li $s3,0x28 +.PB0f1469c0: +/* f1469c0: 32580808 */ andi $t8,$s2,0x808 +/* f1469c4: 13000004 */ beqz $t8,.PB0f1469d8 +/* f1469c8: 02403825 */ move $a3,$s2 +/* f1469cc: 26730014 */ addiu $s3,$s3,0x14 +/* f1469d0: 327900ff */ andi $t9,$s3,0xff +/* f1469d4: 03209825 */ move $s3,$t9 +.PB0f1469d8: +/* f1469d8: 0013c083 */ sra $t8,$s3,0x2 +/* f1469dc: 331900ff */ andi $t9,$t8,0xff +/* f1469e0: 00197400 */ sll $t6,$t9,0x10 +/* f1469e4: 02a01825 */ move $v1,$s5 +/* f1469e8: 00137e00 */ sll $t7,$s3,0x18 +/* f1469ec: 01eec025 */ or $t8,$t7,$t6 +/* f1469f0: 371900ff */ ori $t9,$t8,0xff +/* f1469f4: 3c09fa00 */ lui $t1,0xfa00 +/* f1469f8: ac690000 */ sw $t1,0x0($v1) +/* f1469fc: ac790004 */ sw $t9,0x4($v1) +/* f146a00: 26b50008 */ addiu $s5,$s5,0x8 +/* f146a04: 3c0b1020 */ lui $t3,0x1020 +.PB0f146a08: +/* f146a08: 8fb00088 */ lw $s0,0x88($sp) +/* f146a0c: 8fbf02fc */ lw $ra,0x2fc($sp) +/* f146a10: 3c01f600 */ lui $at,0xf600 +/* f146a14: 00b05021 */ addu $t2,$a1,$s0 +/* f146a18: 254a0008 */ addiu $t2,$t2,0x8 +/* f146a1c: 27ec0012 */ addiu $t4,$ra,0x12 +/* f146a20: 318f03ff */ andi $t7,$t4,0x3ff +/* f146a24: 315803ff */ andi $t8,$t2,0x3ff +/* f146a28: 0018cb80 */ sll $t9,$t8,0xe +/* f146a2c: 000f6080 */ sll $t4,$t7,0x2 +/* f146a30: 03217825 */ or $t7,$t9,$at +/* f146a34: 01ec7025 */ or $t6,$t7,$t4 +/* f146a38: 02a02025 */ move $a0,$s5 +/* f146a3c: 00b04021 */ addu $t0,$a1,$s0 +/* f146a40: 27ed000a */ addiu $t5,$ra,0xa +/* f146a44: 31b803ff */ andi $t8,$t5,0x3ff +/* f146a48: 310f03ff */ andi $t7,$t0,0x3ff +/* f146a4c: ac8e0000 */ sw $t6,0x0($a0) +/* f146a50: 000f7380 */ sll $t6,$t7,0xe +/* f146a54: 00186880 */ sll $t5,$t8,0x2 +/* f146a58: 01cdc025 */ or $t8,$t6,$t5 +/* f146a5c: ac980004 */ sw $t8,0x4($a0) +/* f146a60: 8ed90284 */ lw $t9,0x284($s6) +/* f146a64: 26b50008 */ addiu $s5,$s5,0x8 +/* f146a68: 2508000a */ addiu $t0,$t0,0xa +/* f146a6c: 8f2f0480 */ lw $t7,0x480($t9) +/* f146a70: 254a000a */ addiu $t2,$t2,0xa +/* f146a74: 30f80404 */ andi $t8,$a3,0x404 +/* f146a78: 91e3006b */ lbu $v1,0x6b($t7) +/* f146a7c: 30ce0404 */ andi $t6,$a2,0x404 +/* f146a80: 24010001 */ li $at,0x1 +/* f146a84: 14600010 */ bnez $v1,.PB0f146ac8 +/* f146a88: 00000000 */ nop +/* f146a8c: 11c00002 */ beqz $t6,.PB0f146a98 +/* f146a90: 24130014 */ li $s3,0x14 +/* f146a94: 24130028 */ li $s3,0x28 +.PB0f146a98: +/* f146a98: 13000004 */ beqz $t8,.PB0f146aac +/* f146a9c: 02a01825 */ move $v1,$s5 +/* f146aa0: 26730014 */ addiu $s3,$s3,0x14 +/* f146aa4: 327900ff */ andi $t9,$s3,0xff +/* f146aa8: 03209825 */ move $s3,$t9 +.PB0f146aac: +/* f146aac: 326f00ff */ andi $t7,$s3,0xff +/* f146ab0: 000f7400 */ sll $t6,$t7,0x10 +/* f146ab4: 35d800ff */ ori $t8,$t6,0xff +/* f146ab8: ac780004 */ sw $t8,0x4($v1) +/* f146abc: 26b50008 */ addiu $s5,$s5,0x8 +/* f146ac0: 10000027 */ b .PB0f146b60 +/* f146ac4: ac690000 */ sw $t1,0x0($v1) +.PB0f146ac8: +/* f146ac8: 14610013 */ bne $v1,$at,.PB0f146b18 +/* f146acc: 30d80404 */ andi $t8,$a2,0x404 +/* f146ad0: 30d90404 */ andi $t9,$a2,0x404 +/* f146ad4: 13200002 */ beqz $t9,.PB0f146ae0 +/* f146ad8: 2413007f */ li $s3,0x7f +/* f146adc: 241300be */ li $s3,0xbe +.PB0f146ae0: +/* f146ae0: 30ef0404 */ andi $t7,$a3,0x404 +/* f146ae4: 11e00004 */ beqz $t7,.PB0f146af8 +/* f146ae8: 02a01825 */ move $v1,$s5 +/* f146aec: 2673003f */ addiu $s3,$s3,0x3f +/* f146af0: 326e00ff */ andi $t6,$s3,0xff +/* f146af4: 01c09825 */ move $s3,$t6 +.PB0f146af8: +/* f146af8: 327800ff */ andi $t8,$s3,0xff +/* f146afc: 0018ca00 */ sll $t9,$t8,0x8 +/* f146b00: 032b7825 */ or $t7,$t9,$t3 +/* f146b04: 35ee00ff */ ori $t6,$t7,0xff +/* f146b08: ac6e0004 */ sw $t6,0x4($v1) +/* f146b0c: 26b50008 */ addiu $s5,$s5,0x8 +/* f146b10: 10000013 */ b .PB0f146b60 +/* f146b14: ac690000 */ sw $t1,0x0($v1) +.PB0f146b18: +/* f146b18: 13000002 */ beqz $t8,.PB0f146b24 +/* f146b1c: 24130014 */ li $s3,0x14 +/* f146b20: 24130028 */ li $s3,0x28 +.PB0f146b24: +/* f146b24: 30f90404 */ andi $t9,$a3,0x404 +/* f146b28: 13200004 */ beqz $t9,.PB0f146b3c +/* f146b2c: 02a01825 */ move $v1,$s5 +/* f146b30: 26730014 */ addiu $s3,$s3,0x14 +/* f146b34: 326f00ff */ andi $t7,$s3,0xff +/* f146b38: 01e09825 */ move $s3,$t7 +.PB0f146b3c: +/* f146b3c: 0013c883 */ sra $t9,$s3,0x2 +/* f146b40: 332f00ff */ andi $t7,$t9,0xff +/* f146b44: 000f7400 */ sll $t6,$t7,0x10 +/* f146b48: 0013c600 */ sll $t8,$s3,0x18 +/* f146b4c: 030ec825 */ or $t9,$t8,$t6 +/* f146b50: 372f00ff */ ori $t7,$t9,0xff +/* f146b54: ac6f0004 */ sw $t7,0x4($v1) +/* f146b58: 26b50008 */ addiu $s5,$s5,0x8 +/* f146b5c: ac690000 */ sw $t1,0x0($v1) +.PB0f146b60: +/* f146b60: 315803ff */ andi $t8,$t2,0x3ff +/* f146b64: 00187380 */ sll $t6,$t8,0xe +/* f146b68: 3c01f600 */ lui $at,0xf600 +/* f146b6c: 01c1c825 */ or $t9,$t6,$at +/* f146b70: 311803ff */ andi $t8,$t0,0x3ff +/* f146b74: 00187380 */ sll $t6,$t8,0xe +/* f146b78: 032c7825 */ or $t7,$t9,$t4 +/* f146b7c: 02a02025 */ move $a0,$s5 +/* f146b80: 01cdc825 */ or $t9,$t6,$t5 +/* f146b84: ac990004 */ sw $t9,0x4($a0) +/* f146b88: ac8f0000 */ sw $t7,0x0($a0) +/* f146b8c: 8ecf0284 */ lw $t7,0x284($s6) +/* f146b90: 26b50008 */ addiu $s5,$s5,0x8 +/* f146b94: 2508000a */ addiu $t0,$t0,0xa +/* f146b98: 8df80480 */ lw $t8,0x480($t7) +/* f146b9c: 254a000a */ addiu $t2,$t2,0xa +/* f146ba0: 30f90202 */ andi $t9,$a3,0x202 +/* f146ba4: 9303006b */ lbu $v1,0x6b($t8) +/* f146ba8: 30ce0202 */ andi $t6,$a2,0x202 +/* f146bac: 24010001 */ li $at,0x1 +/* f146bb0: 14600010 */ bnez $v1,.PB0f146bf4 +/* f146bb4: 00000000 */ nop +/* f146bb8: 11c00002 */ beqz $t6,.PB0f146bc4 +/* f146bbc: 24130014 */ li $s3,0x14 +/* f146bc0: 24130028 */ li $s3,0x28 +.PB0f146bc4: +/* f146bc4: 13200004 */ beqz $t9,.PB0f146bd8 +/* f146bc8: 02a01825 */ move $v1,$s5 +/* f146bcc: 26730014 */ addiu $s3,$s3,0x14 +/* f146bd0: 326f00ff */ andi $t7,$s3,0xff +/* f146bd4: 01e09825 */ move $s3,$t7 +.PB0f146bd8: +/* f146bd8: 327800ff */ andi $t8,$s3,0xff +/* f146bdc: 00187400 */ sll $t6,$t8,0x10 +/* f146be0: 35d900ff */ ori $t9,$t6,0xff +/* f146be4: ac790004 */ sw $t9,0x4($v1) +/* f146be8: 26b50008 */ addiu $s5,$s5,0x8 +/* f146bec: 10000027 */ b .PB0f146c8c +/* f146bf0: ac690000 */ sw $t1,0x0($v1) +.PB0f146bf4: +/* f146bf4: 14610013 */ bne $v1,$at,.PB0f146c44 +/* f146bf8: 30d90202 */ andi $t9,$a2,0x202 +/* f146bfc: 30cf0202 */ andi $t7,$a2,0x202 +/* f146c00: 11e00002 */ beqz $t7,.PB0f146c0c +/* f146c04: 2413007f */ li $s3,0x7f +/* f146c08: 241300be */ li $s3,0xbe +.PB0f146c0c: +/* f146c0c: 30f80202 */ andi $t8,$a3,0x202 +/* f146c10: 13000004 */ beqz $t8,.PB0f146c24 +/* f146c14: 02a01825 */ move $v1,$s5 +/* f146c18: 2673003f */ addiu $s3,$s3,0x3f +/* f146c1c: 326e00ff */ andi $t6,$s3,0xff +/* f146c20: 01c09825 */ move $s3,$t6 +.PB0f146c24: +/* f146c24: 327900ff */ andi $t9,$s3,0xff +/* f146c28: 00197a00 */ sll $t7,$t9,0x8 +/* f146c2c: 01ebc025 */ or $t8,$t7,$t3 +/* f146c30: 370e00ff */ ori $t6,$t8,0xff +/* f146c34: ac6e0004 */ sw $t6,0x4($v1) +/* f146c38: 26b50008 */ addiu $s5,$s5,0x8 +/* f146c3c: 10000013 */ b .PB0f146c8c +/* f146c40: ac690000 */ sw $t1,0x0($v1) +.PB0f146c44: +/* f146c44: 13200002 */ beqz $t9,.PB0f146c50 +/* f146c48: 24130014 */ li $s3,0x14 +/* f146c4c: 24130028 */ li $s3,0x28 +.PB0f146c50: +/* f146c50: 30ef0202 */ andi $t7,$a3,0x202 +/* f146c54: 11e00004 */ beqz $t7,.PB0f146c68 +/* f146c58: 02a01825 */ move $v1,$s5 +/* f146c5c: 26730014 */ addiu $s3,$s3,0x14 +/* f146c60: 327800ff */ andi $t8,$s3,0xff +/* f146c64: 03009825 */ move $s3,$t8 +.PB0f146c68: +/* f146c68: 00137883 */ sra $t7,$s3,0x2 +/* f146c6c: 31f800ff */ andi $t8,$t7,0xff +/* f146c70: 00187400 */ sll $t6,$t8,0x10 +/* f146c74: 0013ce00 */ sll $t9,$s3,0x18 +/* f146c78: 032e7825 */ or $t7,$t9,$t6 +/* f146c7c: 35f800ff */ ori $t8,$t7,0xff +/* f146c80: ac780004 */ sw $t8,0x4($v1) +/* f146c84: 26b50008 */ addiu $s5,$s5,0x8 +/* f146c88: ac690000 */ sw $t1,0x0($v1) +.PB0f146c8c: +/* f146c8c: 315903ff */ andi $t9,$t2,0x3ff +/* f146c90: 00197380 */ sll $t6,$t9,0xe +/* f146c94: 3c01f600 */ lui $at,0xf600 +/* f146c98: 01c17825 */ or $t7,$t6,$at +/* f146c9c: 311903ff */ andi $t9,$t0,0x3ff +/* f146ca0: 00197380 */ sll $t6,$t9,0xe +/* f146ca4: 01ecc025 */ or $t8,$t7,$t4 +/* f146ca8: 02a02025 */ move $a0,$s5 +/* f146cac: 01cd7825 */ or $t7,$t6,$t5 +/* f146cb0: ac8f0004 */ sw $t7,0x4($a0) +/* f146cb4: ac980000 */ sw $t8,0x0($a0) +/* f146cb8: 8ed80284 */ lw $t8,0x284($s6) +/* f146cbc: 26b50008 */ addiu $s5,$s5,0x8 +/* f146cc0: 2508000a */ addiu $t0,$t0,0xa +/* f146cc4: 8f190480 */ lw $t9,0x480($t8) +/* f146cc8: 254a000a */ addiu $t2,$t2,0xa +/* f146ccc: 30ef0101 */ andi $t7,$a3,0x101 +/* f146cd0: 9323006b */ lbu $v1,0x6b($t9) +/* f146cd4: 30ce0101 */ andi $t6,$a2,0x101 +/* f146cd8: 24010001 */ li $at,0x1 +/* f146cdc: 14600010 */ bnez $v1,.PB0f146d20 +/* f146ce0: 00000000 */ nop +/* f146ce4: 11c00002 */ beqz $t6,.PB0f146cf0 +/* f146ce8: 24130014 */ li $s3,0x14 +/* f146cec: 24130028 */ li $s3,0x28 +.PB0f146cf0: +/* f146cf0: 11e00004 */ beqz $t7,.PB0f146d04 +/* f146cf4: 02a01825 */ move $v1,$s5 +/* f146cf8: 26730014 */ addiu $s3,$s3,0x14 +/* f146cfc: 327800ff */ andi $t8,$s3,0xff +/* f146d00: 03009825 */ move $s3,$t8 +.PB0f146d04: +/* f146d04: 327900ff */ andi $t9,$s3,0xff +/* f146d08: 00197400 */ sll $t6,$t9,0x10 +/* f146d0c: 35cf00ff */ ori $t7,$t6,0xff +/* f146d10: ac6f0004 */ sw $t7,0x4($v1) +/* f146d14: 26b50008 */ addiu $s5,$s5,0x8 +/* f146d18: 10000027 */ b .PB0f146db8 +/* f146d1c: ac690000 */ sw $t1,0x0($v1) +.PB0f146d20: +/* f146d20: 14610013 */ bne $v1,$at,.PB0f146d70 +/* f146d24: 30cf0101 */ andi $t7,$a2,0x101 +/* f146d28: 30d80101 */ andi $t8,$a2,0x101 +/* f146d2c: 13000002 */ beqz $t8,.PB0f146d38 +/* f146d30: 2413007f */ li $s3,0x7f +/* f146d34: 241300be */ li $s3,0xbe +.PB0f146d38: +/* f146d38: 30f90101 */ andi $t9,$a3,0x101 +/* f146d3c: 13200004 */ beqz $t9,.PB0f146d50 +/* f146d40: 02a01825 */ move $v1,$s5 +/* f146d44: 2673003f */ addiu $s3,$s3,0x3f +/* f146d48: 326e00ff */ andi $t6,$s3,0xff +/* f146d4c: 01c09825 */ move $s3,$t6 +.PB0f146d50: +/* f146d50: 326f00ff */ andi $t7,$s3,0xff +/* f146d54: 000fc200 */ sll $t8,$t7,0x8 +/* f146d58: 030bc825 */ or $t9,$t8,$t3 +/* f146d5c: 372e00ff */ ori $t6,$t9,0xff +/* f146d60: ac6e0004 */ sw $t6,0x4($v1) +/* f146d64: 26b50008 */ addiu $s5,$s5,0x8 +/* f146d68: 10000013 */ b .PB0f146db8 +/* f146d6c: ac690000 */ sw $t1,0x0($v1) +.PB0f146d70: +/* f146d70: 11e00002 */ beqz $t7,.PB0f146d7c +/* f146d74: 24130014 */ li $s3,0x14 +/* f146d78: 24130028 */ li $s3,0x28 +.PB0f146d7c: +/* f146d7c: 30f80101 */ andi $t8,$a3,0x101 +/* f146d80: 13000004 */ beqz $t8,.PB0f146d94 +/* f146d84: 02a01825 */ move $v1,$s5 +/* f146d88: 26730014 */ addiu $s3,$s3,0x14 +/* f146d8c: 327900ff */ andi $t9,$s3,0xff +/* f146d90: 03209825 */ move $s3,$t9 +.PB0f146d94: +/* f146d94: 0013c083 */ sra $t8,$s3,0x2 +/* f146d98: 331900ff */ andi $t9,$t8,0xff +/* f146d9c: 00197400 */ sll $t6,$t9,0x10 +/* f146da0: 00137e00 */ sll $t7,$s3,0x18 +/* f146da4: 01eec025 */ or $t8,$t7,$t6 +/* f146da8: 371900ff */ ori $t9,$t8,0xff +/* f146dac: ac790004 */ sw $t9,0x4($v1) +/* f146db0: 26b50008 */ addiu $s5,$s5,0x8 +/* f146db4: ac690000 */ sw $t1,0x0($v1) +.PB0f146db8: +/* f146db8: 314f03ff */ andi $t7,$t2,0x3ff +/* f146dbc: 000f7380 */ sll $t6,$t7,0xe +/* f146dc0: 3c01f600 */ lui $at,0xf600 +/* f146dc4: 01c1c025 */ or $t8,$t6,$at +/* f146dc8: 310f03ff */ andi $t7,$t0,0x3ff +/* f146dcc: 000f7380 */ sll $t6,$t7,0xe +/* f146dd0: 030cc825 */ or $t9,$t8,$t4 +/* f146dd4: 02a02025 */ move $a0,$s5 +/* f146dd8: 01cdc025 */ or $t8,$t6,$t5 +/* f146ddc: ac980004 */ sw $t8,0x4($a0) +/* f146de0: ac990000 */ sw $t9,0x0($a0) +/* f146de4: 8ed90284 */ lw $t9,0x284($s6) +/* f146de8: 26b50008 */ addiu $s5,$s5,0x8 +/* f146dec: 2508000a */ addiu $t0,$t0,0xa +/* f146df0: 8f2f0480 */ lw $t7,0x480($t9) +/* f146df4: 254a000a */ addiu $t2,$t2,0xa +/* f146df8: 30f80030 */ andi $t8,$a3,0x30 +/* f146dfc: 91e3006b */ lbu $v1,0x6b($t7) +/* f146e00: 30ce0030 */ andi $t6,$a2,0x30 +/* f146e04: 24010001 */ li $at,0x1 +/* f146e08: 14600010 */ bnez $v1,.PB0f146e4c +/* f146e0c: 00000000 */ nop +/* f146e10: 11c00002 */ beqz $t6,.PB0f146e1c +/* f146e14: 24130014 */ li $s3,0x14 +/* f146e18: 24130028 */ li $s3,0x28 +.PB0f146e1c: +/* f146e1c: 13000004 */ beqz $t8,.PB0f146e30 +/* f146e20: 02a01825 */ move $v1,$s5 +/* f146e24: 26730014 */ addiu $s3,$s3,0x14 +/* f146e28: 327900ff */ andi $t9,$s3,0xff +/* f146e2c: 03209825 */ move $s3,$t9 +.PB0f146e30: +/* f146e30: 326f00ff */ andi $t7,$s3,0xff +/* f146e34: 000f7400 */ sll $t6,$t7,0x10 +/* f146e38: 35d800ff */ ori $t8,$t6,0xff +/* f146e3c: ac780004 */ sw $t8,0x4($v1) +/* f146e40: 26b50008 */ addiu $s5,$s5,0x8 +/* f146e44: 10000027 */ b .PB0f146ee4 +/* f146e48: ac690000 */ sw $t1,0x0($v1) +.PB0f146e4c: +/* f146e4c: 14610013 */ bne $v1,$at,.PB0f146e9c +/* f146e50: 30d80030 */ andi $t8,$a2,0x30 +/* f146e54: 30d90030 */ andi $t9,$a2,0x30 +/* f146e58: 13200002 */ beqz $t9,.PB0f146e64 +/* f146e5c: 2413007f */ li $s3,0x7f +/* f146e60: 241300be */ li $s3,0xbe +.PB0f146e64: +/* f146e64: 30ef0030 */ andi $t7,$a3,0x30 +/* f146e68: 11e00004 */ beqz $t7,.PB0f146e7c +/* f146e6c: 02a01825 */ move $v1,$s5 +/* f146e70: 2673003f */ addiu $s3,$s3,0x3f +/* f146e74: 326e00ff */ andi $t6,$s3,0xff +/* f146e78: 01c09825 */ move $s3,$t6 +.PB0f146e7c: +/* f146e7c: 327800ff */ andi $t8,$s3,0xff +/* f146e80: 0018ca00 */ sll $t9,$t8,0x8 +/* f146e84: 032b7825 */ or $t7,$t9,$t3 +/* f146e88: 35ee00ff */ ori $t6,$t7,0xff +/* f146e8c: ac6e0004 */ sw $t6,0x4($v1) +/* f146e90: 26b50008 */ addiu $s5,$s5,0x8 +/* f146e94: 10000013 */ b .PB0f146ee4 +/* f146e98: ac690000 */ sw $t1,0x0($v1) +.PB0f146e9c: +/* f146e9c: 13000002 */ beqz $t8,.PB0f146ea8 +/* f146ea0: 24130014 */ li $s3,0x14 +/* f146ea4: 24130028 */ li $s3,0x28 +.PB0f146ea8: +/* f146ea8: 30f90030 */ andi $t9,$a3,0x30 +/* f146eac: 13200004 */ beqz $t9,.PB0f146ec0 +/* f146eb0: 02a01825 */ move $v1,$s5 +/* f146eb4: 26730014 */ addiu $s3,$s3,0x14 +/* f146eb8: 326f00ff */ andi $t7,$s3,0xff +/* f146ebc: 01e09825 */ move $s3,$t7 +.PB0f146ec0: +/* f146ec0: 0013c883 */ sra $t9,$s3,0x2 +/* f146ec4: 332f00ff */ andi $t7,$t9,0xff +/* f146ec8: 000f7400 */ sll $t6,$t7,0x10 +/* f146ecc: 0013c600 */ sll $t8,$s3,0x18 +/* f146ed0: 030ec825 */ or $t9,$t8,$t6 +/* f146ed4: 372f00ff */ ori $t7,$t9,0xff +/* f146ed8: ac6f0004 */ sw $t7,0x4($v1) +/* f146edc: 26b50008 */ addiu $s5,$s5,0x8 +/* f146ee0: ac690000 */ sw $t1,0x0($v1) +.PB0f146ee4: +/* f146ee4: 315803ff */ andi $t8,$t2,0x3ff +/* f146ee8: 00187380 */ sll $t6,$t8,0xe +/* f146eec: 3c01f600 */ lui $at,0xf600 +/* f146ef0: 01c1c825 */ or $t9,$t6,$at +/* f146ef4: 311803ff */ andi $t8,$t0,0x3ff +/* f146ef8: 00187380 */ sll $t6,$t8,0xe +/* f146efc: 032c7825 */ or $t7,$t9,$t4 +/* f146f00: 02a02025 */ move $a0,$s5 +/* f146f04: 01cdc825 */ or $t9,$t6,$t5 +/* f146f08: ac990004 */ sw $t9,0x4($a0) +/* f146f0c: ac8f0000 */ sw $t7,0x0($a0) +/* f146f10: 8ecf0284 */ lw $t7,0x284($s6) +/* f146f14: 26b50008 */ addiu $s5,$s5,0x8 +/* f146f18: 2508000a */ addiu $t0,$t0,0xa +/* f146f1c: 8df80480 */ lw $t8,0x480($t7) +/* f146f20: 254a000a */ addiu $t2,$t2,0xa +/* f146f24: 30f92000 */ andi $t9,$a3,0x2000 +/* f146f28: 9303006b */ lbu $v1,0x6b($t8) +/* f146f2c: 30ce2000 */ andi $t6,$a2,0x2000 +/* f146f30: 24010001 */ li $at,0x1 +/* f146f34: 14600010 */ bnez $v1,.PB0f146f78 +/* f146f38: 00000000 */ nop +/* f146f3c: 11c00002 */ beqz $t6,.PB0f146f48 +/* f146f40: 24130014 */ li $s3,0x14 +/* f146f44: 24130028 */ li $s3,0x28 +.PB0f146f48: +/* f146f48: 13200004 */ beqz $t9,.PB0f146f5c +/* f146f4c: 02a01825 */ move $v1,$s5 +/* f146f50: 26730014 */ addiu $s3,$s3,0x14 +/* f146f54: 326f00ff */ andi $t7,$s3,0xff +/* f146f58: 01e09825 */ move $s3,$t7 +.PB0f146f5c: +/* f146f5c: 327800ff */ andi $t8,$s3,0xff +/* f146f60: 00187400 */ sll $t6,$t8,0x10 +/* f146f64: 35d900ff */ ori $t9,$t6,0xff +/* f146f68: ac790004 */ sw $t9,0x4($v1) +/* f146f6c: 26b50008 */ addiu $s5,$s5,0x8 +/* f146f70: 10000027 */ b .PB0f147010 +/* f146f74: ac690000 */ sw $t1,0x0($v1) +.PB0f146f78: +/* f146f78: 14610013 */ bne $v1,$at,.PB0f146fc8 +/* f146f7c: 30d92000 */ andi $t9,$a2,0x2000 +/* f146f80: 30cf2000 */ andi $t7,$a2,0x2000 +/* f146f84: 11e00002 */ beqz $t7,.PB0f146f90 +/* f146f88: 2413007f */ li $s3,0x7f +/* f146f8c: 241300be */ li $s3,0xbe +.PB0f146f90: +/* f146f90: 30f82000 */ andi $t8,$a3,0x2000 +/* f146f94: 13000004 */ beqz $t8,.PB0f146fa8 +/* f146f98: 02a01825 */ move $v1,$s5 +/* f146f9c: 2673003f */ addiu $s3,$s3,0x3f +/* f146fa0: 326e00ff */ andi $t6,$s3,0xff +/* f146fa4: 01c09825 */ move $s3,$t6 +.PB0f146fa8: +/* f146fa8: 327900ff */ andi $t9,$s3,0xff +/* f146fac: 00197a00 */ sll $t7,$t9,0x8 +/* f146fb0: 01ebc025 */ or $t8,$t7,$t3 +/* f146fb4: 370e00ff */ ori $t6,$t8,0xff +/* f146fb8: ac6e0004 */ sw $t6,0x4($v1) +/* f146fbc: 26b50008 */ addiu $s5,$s5,0x8 +/* f146fc0: 10000013 */ b .PB0f147010 +/* f146fc4: ac690000 */ sw $t1,0x0($v1) +.PB0f146fc8: +/* f146fc8: 13200002 */ beqz $t9,.PB0f146fd4 +/* f146fcc: 24130014 */ li $s3,0x14 +/* f146fd0: 24130028 */ li $s3,0x28 +.PB0f146fd4: +/* f146fd4: 30ef2000 */ andi $t7,$a3,0x2000 +/* f146fd8: 11e00004 */ beqz $t7,.PB0f146fec +/* f146fdc: 02a01825 */ move $v1,$s5 +/* f146fe0: 26730014 */ addiu $s3,$s3,0x14 +/* f146fe4: 327800ff */ andi $t8,$s3,0xff +/* f146fe8: 03009825 */ move $s3,$t8 +.PB0f146fec: +/* f146fec: 00137883 */ sra $t7,$s3,0x2 +/* f146ff0: 31f800ff */ andi $t8,$t7,0xff +/* f146ff4: 00187400 */ sll $t6,$t8,0x10 +/* f146ff8: 0013ce00 */ sll $t9,$s3,0x18 +/* f146ffc: 032e7825 */ or $t7,$t9,$t6 +/* f147000: 35f800ff */ ori $t8,$t7,0xff +/* f147004: ac780004 */ sw $t8,0x4($v1) +/* f147008: 26b50008 */ addiu $s5,$s5,0x8 +/* f14700c: ac690000 */ sw $t1,0x0($v1) +.PB0f147010: +/* f147010: 315903ff */ andi $t9,$t2,0x3ff +/* f147014: 00197380 */ sll $t6,$t9,0xe +/* f147018: 3c01f600 */ lui $at,0xf600 +/* f14701c: 01c17825 */ or $t7,$t6,$at +/* f147020: 311903ff */ andi $t9,$t0,0x3ff +/* f147024: 02a01825 */ move $v1,$s5 +/* f147028: 00197380 */ sll $t6,$t9,0xe +/* f14702c: 01ecc025 */ or $t8,$t7,$t4 +/* f147030: 01cd7825 */ or $t7,$t6,$t5 +/* f147034: ac6f0004 */ sw $t7,0x4($v1) +/* f147038: ac780000 */ sw $t8,0x0($v1) +/* f14703c: 26b50008 */ addiu $s5,$s5,0x8 +.PB0f147040: +/* f147040: 3c0142a0 */ lui $at,0x42a0 +/* f147044: 44817000 */ mtc1 $at,$f14 +/* f147048: 3c0142c0 */ lui $at,0x42c0 +/* f14704c: 44818000 */ mtc1 $at,$f16 +/* f147050: 3c09fa00 */ lui $t1,0xfa00 +/* f147054: 3c0b1020 */ lui $t3,0x1020 +/* f147058: 46106102 */ mul.s $f4,$f12,$f16 +/* f14705c: 2405ffc9 */ li $a1,-55 +/* f147060: 24010001 */ li $at,0x1 +/* f147064: 00022600 */ sll $a0,$v0,0x18 +/* f147068: 460e2183 */ div.s $f6,$f4,$f14 +/* f14706c: 4600328d */ trunc.w.s $f10,$f6 +/* f147070: 44035000 */ mfc1 $v1,$f10 +/* f147074: 00000000 */ nop +/* f147078: 04610005 */ bgez $v1,.PB0f147090 +/* f14707c: 307300ff */ andi $s3,$v1,0xff +/* f147080: 00039823 */ negu $s3,$v1 +/* f147084: 327900ff */ andi $t9,$s3,0xff +/* f147088: 10000001 */ b .PB0f147090 +/* f14708c: 03209825 */ move $s3,$t9 +.PB0f147090: +/* f147090: 8ece0284 */ lw $t6,0x284($s6) +/* f147094: 327800ff */ andi $t8,$s3,0xff +/* f147098: 0018cc00 */ sll $t9,$t8,0x10 +/* f14709c: 8dcf0480 */ lw $t7,0x480($t6) +/* f1470a0: 372e00ff */ ori $t6,$t9,0xff +/* f1470a4: 91e3006b */ lbu $v1,0x6b($t7) +/* f1470a8: 14600006 */ bnez $v1,.PB0f1470c4 +/* f1470ac: 00000000 */ nop +/* f1470b0: 02a01825 */ move $v1,$s5 +/* f1470b4: ac690000 */ sw $t1,0x0($v1) +/* f1470b8: ac6e0004 */ sw $t6,0x4($v1) +/* f1470bc: 10000031 */ b .PB0f147184 +/* f1470c0: 26b50008 */ addiu $s5,$s5,0x8 +.PB0f1470c4: +/* f1470c4: 14610026 */ bne $v1,$at,.PB0f147160 +/* f1470c8: 0013ce00 */ sll $t9,$s3,0x18 +/* f1470cc: 44934000 */ mtc1 $s3,$f8 +/* f1470d0: 02a01825 */ move $v1,$s5 +/* f1470d4: ac690000 */ sw $t1,0x0($v1) +/* f1470d8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1470dc: 06610005 */ bgez $s3,.PB0f1470f4 +/* f1470e0: 46804020 */ cvt.s.w $f0,$f8 +/* f1470e4: 3c014f80 */ lui $at,0x4f80 +/* f1470e8: 44812000 */ mtc1 $at,$f4 +/* f1470ec: 00000000 */ nop +/* f1470f0: 46040000 */ add.s $f0,$f0,$f4 +.PB0f1470f4: +/* f1470f4: 46100083 */ div.s $f2,$f0,$f16 +/* f1470f8: 3c014180 */ lui $at,0x4180 +/* f1470fc: 44813000 */ mtc1 $at,$f6 +/* f147100: 3c014200 */ lui $at,0x4200 +/* f147104: 44812000 */ mtc1 $at,$f4 +/* f147108: 3c014020 */ lui $at,0x4020 +/* f14710c: 46061282 */ mul.s $f10,$f2,$f6 +/* f147110: 4600520d */ trunc.w.s $f8,$f10 +/* f147114: 46041182 */ mul.s $f6,$f2,$f4 +/* f147118: 44194000 */ mfc1 $t9,$f8 +/* f14711c: 44814000 */ mtc1 $at,$f8 +/* f147120: 00197600 */ sll $t6,$t9,0x18 +/* f147124: 46080102 */ mul.s $f4,$f0,$f8 +/* f147128: 4600328d */ trunc.w.s $f10,$f6 +/* f14712c: 44185000 */ mfc1 $t8,$f10 +/* f147130: 4600218d */ trunc.w.s $f6,$f4 +/* f147134: 331900ff */ andi $t9,$t8,0xff +/* f147138: 00197c00 */ sll $t7,$t9,0x10 +/* f14713c: 01cfc025 */ or $t8,$t6,$t7 +/* f147140: 440e3000 */ mfc1 $t6,$f6 +/* f147144: 00000000 */ nop +/* f147148: 31cf00ff */ andi $t7,$t6,0xff +/* f14714c: 000fca00 */ sll $t9,$t7,0x8 +/* f147150: 03197025 */ or $t6,$t8,$t9 +/* f147154: 35cf00ff */ ori $t7,$t6,0xff +/* f147158: 1000000a */ b .PB0f147184 +/* f14715c: ac6f0004 */ sw $t7,0x4($v1) +.PB0f147160: +/* f147160: 00137083 */ sra $t6,$s3,0x2 +/* f147164: 31cf00ff */ andi $t7,$t6,0xff +/* f147168: 000fc400 */ sll $t8,$t7,0x10 +/* f14716c: 02a01825 */ move $v1,$s5 +/* f147170: 03387025 */ or $t6,$t9,$t8 +/* f147174: 35cf00ff */ ori $t7,$t6,0xff +/* f147178: ac6f0004 */ sw $t7,0x4($v1) +/* f14717c: ac690000 */ sw $t1,0x0($v1) +/* f147180: 26b50008 */ addiu $s5,$s5,0x8 +.PB0f147184: +/* f147184: 8fb902a4 */ lw $t9,0x2a4($sp) +/* f147188: 57200044 */ bnezl $t9,.PB0f14729c +/* f14718c: 0004c603 */ sra $t8,$a0,0x18 +/* f147190: 1a800022 */ blez $s4,.PB0f14721c +/* f147194: 3c0141e0 */ lui $at,0x41e0 +/* f147198: 3c0141e0 */ lui $at,0x41e0 +/* f14719c: 44819000 */ mtc1 $at,$f18 +/* f1471a0: 8fb90088 */ lw $t9,0x88($sp) +/* f1471a4: 3c01f600 */ lui $at,0xf600 +/* f1471a8: 46126282 */ mul.s $f10,$f12,$f18 +/* f1471ac: 02a01825 */ move $v1,$s5 +/* f1471b0: 26b50008 */ addiu $s5,$s5,0x8 +/* f1471b4: 460e5203 */ div.s $f8,$f10,$f14 +/* f1471b8: 4600410d */ trunc.w.s $f4,$f8 +/* f1471bc: 440e2000 */ mfc1 $t6,$f4 +/* f1471c0: 00000000 */ nop +/* f1471c4: 01c57821 */ addu $t7,$t6,$a1 +/* f1471c8: 01f9c021 */ addu $t8,$t7,$t9 +/* f1471cc: 330e03ff */ andi $t6,$t8,0x3ff +/* f1471d0: 8fb802fc */ lw $t8,0x2fc($sp) +/* f1471d4: 000e7b80 */ sll $t7,$t6,0xe +/* f1471d8: 01e1c825 */ or $t9,$t7,$at +/* f1471dc: 270e0015 */ addiu $t6,$t8,0x15 +/* f1471e0: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1471e4: 000fc080 */ sll $t8,$t7,0x2 +/* f1471e8: 03387025 */ or $t6,$t9,$t8 +/* f1471ec: ac6e0000 */ sw $t6,0x0($v1) +/* f1471f0: 8faf0088 */ lw $t7,0x88($sp) +/* f1471f4: 00afc821 */ addu $t9,$a1,$t7 +/* f1471f8: 8faf02fc */ lw $t7,0x2fc($sp) +/* f1471fc: 333803ff */ andi $t8,$t9,0x3ff +/* f147200: 00187380 */ sll $t6,$t8,0xe +/* f147204: 25f90013 */ addiu $t9,$t7,0x13 +/* f147208: 333803ff */ andi $t8,$t9,0x3ff +/* f14720c: 00187880 */ sll $t7,$t8,0x2 +/* f147210: 01cfc825 */ or $t9,$t6,$t7 +/* f147214: 10000020 */ b .PB0f147298 +/* f147218: ac790004 */ sw $t9,0x4($v1) +.PB0f14721c: +/* f14721c: 44819000 */ mtc1 $at,$f18 +/* f147220: 8fb80088 */ lw $t8,0x88($sp) +/* f147224: 3c01f600 */ lui $at,0xf600 +/* f147228: 46126182 */ mul.s $f6,$f12,$f18 +/* f14722c: 00b87021 */ addu $t6,$a1,$t8 +/* f147230: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147234: 8fae02fc */ lw $t6,0x2fc($sp) +/* f147238: 000fcb80 */ sll $t9,$t7,0xe +/* f14723c: 0321c025 */ or $t8,$t9,$at +/* f147240: 25cf0015 */ addiu $t7,$t6,0x15 +/* f147244: 460e3283 */ div.s $f10,$f6,$f14 +/* f147248: 31f903ff */ andi $t9,$t7,0x3ff +/* f14724c: 00197080 */ sll $t6,$t9,0x2 +/* f147250: 030e7825 */ or $t7,$t8,$t6 +/* f147254: 02a01825 */ move $v1,$s5 +/* f147258: ac6f0000 */ sw $t7,0x0($v1) +/* f14725c: 8faf0088 */ lw $t7,0x88($sp) +/* f147260: 26b50008 */ addiu $s5,$s5,0x8 +/* f147264: 4600520d */ trunc.w.s $f8,$f10 +/* f147268: 44184000 */ mfc1 $t8,$f8 +/* f14726c: 00000000 */ nop +/* f147270: 03057021 */ addu $t6,$t8,$a1 +/* f147274: 01cfc821 */ addu $t9,$t6,$t7 +/* f147278: 8faf02fc */ lw $t7,0x2fc($sp) +/* f14727c: 333803ff */ andi $t8,$t9,0x3ff +/* f147280: 00187380 */ sll $t6,$t8,0xe +/* f147284: 25f90013 */ addiu $t9,$t7,0x13 +/* f147288: 333803ff */ andi $t8,$t9,0x3ff +/* f14728c: 00187880 */ sll $t7,$t8,0x2 +/* f147290: 01cfc825 */ or $t9,$t6,$t7 +/* f147294: ac790004 */ sw $t9,0x4($v1) +.PB0f147298: +/* f147298: 0004c603 */ sra $t8,$a0,0x18 +.PB0f14729c: +/* f14729c: 03002025 */ move $a0,$t8 +/* f1472a0: 44842000 */ mtc1 $a0,$f4 +/* f1472a4: 3c0141e0 */ lui $at,0x41e0 +/* f1472a8: 44819000 */ mtc1 $at,$f18 +/* f1472ac: 46802320 */ cvt.s.w $f12,$f4 +/* f1472b0: 02a01025 */ move $v0,$s5 +/* f1472b4: 24010001 */ li $at,0x1 +/* f1472b8: 46106182 */ mul.s $f6,$f12,$f16 +/* f1472bc: 460e3283 */ div.s $f10,$f6,$f14 +/* f1472c0: 4600520d */ trunc.w.s $f8,$f10 +/* f1472c4: 44034000 */ mfc1 $v1,$f8 +/* f1472c8: 00000000 */ nop +/* f1472cc: 04610005 */ bgez $v1,.PB0f1472e4 +/* f1472d0: 307300ff */ andi $s3,$v1,0xff +/* f1472d4: 00039823 */ negu $s3,$v1 +/* f1472d8: 326f00ff */ andi $t7,$s3,0xff +/* f1472dc: 10000001 */ b .PB0f1472e4 +/* f1472e0: 01e09825 */ move $s3,$t7 +.PB0f1472e4: +/* f1472e4: 8ed90284 */ lw $t9,0x284($s6) +/* f1472e8: 326e00ff */ andi $t6,$s3,0xff +/* f1472ec: 000e7c00 */ sll $t7,$t6,0x10 +/* f1472f0: 8f380480 */ lw $t8,0x480($t9) +/* f1472f4: 35f900ff */ ori $t9,$t7,0xff +/* f1472f8: 9303006b */ lbu $v1,0x6b($t8) +/* f1472fc: 14600005 */ bnez $v1,.PB0f147314 +/* f147300: 00000000 */ nop +/* f147304: 26b50008 */ addiu $s5,$s5,0x8 +/* f147308: ac490000 */ sw $t1,0x0($v0) +/* f14730c: 10000031 */ b .PB0f1473d4 +/* f147310: ac590004 */ sw $t9,0x4($v0) +.PB0f147314: +/* f147314: 14610026 */ bne $v1,$at,.PB0f1473b0 +/* f147318: 02a01025 */ move $v0,$s5 +/* f14731c: 44932000 */ mtc1 $s3,$f4 +/* f147320: 02a01025 */ move $v0,$s5 +/* f147324: ac490000 */ sw $t1,0x0($v0) +/* f147328: 26b50008 */ addiu $s5,$s5,0x8 +/* f14732c: 06610005 */ bgez $s3,.PB0f147344 +/* f147330: 46802020 */ cvt.s.w $f0,$f4 +/* f147334: 3c014f80 */ lui $at,0x4f80 +/* f147338: 44813000 */ mtc1 $at,$f6 +/* f14733c: 00000000 */ nop +/* f147340: 46060000 */ add.s $f0,$f0,$f6 +.PB0f147344: +/* f147344: 46100083 */ div.s $f2,$f0,$f16 +/* f147348: 3c014180 */ lui $at,0x4180 +/* f14734c: 44815000 */ mtc1 $at,$f10 +/* f147350: 3c014200 */ lui $at,0x4200 +/* f147354: 44813000 */ mtc1 $at,$f6 +/* f147358: 3c014020 */ lui $at,0x4020 +/* f14735c: 460a1202 */ mul.s $f8,$f2,$f10 +/* f147360: 4600410d */ trunc.w.s $f4,$f8 +/* f147364: 46061282 */ mul.s $f10,$f2,$f6 +/* f147368: 440f2000 */ mfc1 $t7,$f4 +/* f14736c: 44812000 */ mtc1 $at,$f4 +/* f147370: 000fce00 */ sll $t9,$t7,0x18 +/* f147374: 46040182 */ mul.s $f6,$f0,$f4 +/* f147378: 4600520d */ trunc.w.s $f8,$f10 +/* f14737c: 440e4000 */ mfc1 $t6,$f8 +/* f147380: 4600328d */ trunc.w.s $f10,$f6 +/* f147384: 31cf00ff */ andi $t7,$t6,0xff +/* f147388: 000fc400 */ sll $t8,$t7,0x10 +/* f14738c: 03387025 */ or $t6,$t9,$t8 +/* f147390: 44195000 */ mfc1 $t9,$f10 +/* f147394: 00000000 */ nop +/* f147398: 333800ff */ andi $t8,$t9,0xff +/* f14739c: 00187a00 */ sll $t7,$t8,0x8 +/* f1473a0: 01cfc825 */ or $t9,$t6,$t7 +/* f1473a4: 373800ff */ ori $t8,$t9,0xff +/* f1473a8: 1000000a */ b .PB0f1473d4 +/* f1473ac: ac580004 */ sw $t8,0x4($v0) +.PB0f1473b0: +/* f1473b0: 0013c883 */ sra $t9,$s3,0x2 +/* f1473b4: 333800ff */ andi $t8,$t9,0xff +/* f1473b8: 00187400 */ sll $t6,$t8,0x10 +/* f1473bc: 00137e00 */ sll $t7,$s3,0x18 +/* f1473c0: 01eec825 */ or $t9,$t7,$t6 +/* f1473c4: 373800ff */ ori $t8,$t9,0xff +/* f1473c8: ac580004 */ sw $t8,0x4($v0) +/* f1473cc: 26b50008 */ addiu $s5,$s5,0x8 +/* f1473d0: ac490000 */ sw $t1,0x0($v0) +.PB0f1473d4: +/* f1473d4: 8faf02a4 */ lw $t7,0x2a4($sp) +/* f1473d8: 8fae0088 */ lw $t6,0x88($sp) +/* f1473dc: 15e00038 */ bnez $t7,.PB0f1474c0 +/* f1473e0: 00ae1821 */ addu $v1,$a1,$t6 +/* f1473e4: 307903ff */ andi $t9,$v1,0x3ff +/* f1473e8: 1880001b */ blez $a0,.PB0f147458 +/* f1473ec: 00191b80 */ sll $v1,$t9,0xe +/* f1473f0: 46126202 */ mul.s $f8,$f12,$f18 +/* f1473f4: 3c01f600 */ lui $at,0xf600 +/* f1473f8: 02a01025 */ move $v0,$s5 +/* f1473fc: 26b50008 */ addiu $s5,$s5,0x8 +/* f147400: 460e4103 */ div.s $f4,$f8,$f14 +/* f147404: 4600218d */ trunc.w.s $f6,$f4 +/* f147408: 44193000 */ mfc1 $t9,$f6 +/* f14740c: 00000000 */ nop +/* f147410: 0325c021 */ addu $t8,$t9,$a1 +/* f147414: 030e7821 */ addu $t7,$t8,$t6 +/* f147418: 31f903ff */ andi $t9,$t7,0x3ff +/* f14741c: 8faf02fc */ lw $t7,0x2fc($sp) +/* f147420: 0019c380 */ sll $t8,$t9,0xe +/* f147424: 03017025 */ or $t6,$t8,$at +/* f147428: 25f90018 */ addiu $t9,$t7,0x18 +/* f14742c: 333803ff */ andi $t8,$t9,0x3ff +/* f147430: 00187880 */ sll $t7,$t8,0x2 +/* f147434: 01cfc825 */ or $t9,$t6,$t7 +/* f147438: ac590000 */ sw $t9,0x0($v0) +/* f14743c: 8fb802fc */ lw $t8,0x2fc($sp) +/* f147440: 270e0016 */ addiu $t6,$t8,0x16 +/* f147444: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147448: 000fc880 */ sll $t9,$t7,0x2 +/* f14744c: 0079c025 */ or $t8,$v1,$t9 +/* f147450: 1000001b */ b .PB0f1474c0 +/* f147454: ac580004 */ sw $t8,0x4($v0) +.PB0f147458: +/* f147458: 46126282 */ mul.s $f10,$f12,$f18 +/* f14745c: 8faf02fc */ lw $t7,0x2fc($sp) +/* f147460: 3c01f600 */ lui $at,0xf600 +/* f147464: 00617025 */ or $t6,$v1,$at +/* f147468: 25f90018 */ addiu $t9,$t7,0x18 +/* f14746c: 333803ff */ andi $t8,$t9,0x3ff +/* f147470: 00187880 */ sll $t7,$t8,0x2 +/* f147474: 460e5203 */ div.s $f8,$f10,$f14 +/* f147478: 01cfc825 */ or $t9,$t6,$t7 +/* f14747c: 02a01025 */ move $v0,$s5 +/* f147480: ac590000 */ sw $t9,0x0($v0) +/* f147484: 8fb90088 */ lw $t9,0x88($sp) +/* f147488: 26b50008 */ addiu $s5,$s5,0x8 +/* f14748c: 4600410d */ trunc.w.s $f4,$f8 +/* f147490: 440e2000 */ mfc1 $t6,$f4 +/* f147494: 00000000 */ nop +/* f147498: 01c57821 */ addu $t7,$t6,$a1 +/* f14749c: 01f9c021 */ addu $t8,$t7,$t9 +/* f1474a0: 8fb902fc */ lw $t9,0x2fc($sp) +/* f1474a4: 330e03ff */ andi $t6,$t8,0x3ff +/* f1474a8: 000e7b80 */ sll $t7,$t6,0xe +/* f1474ac: 27380016 */ addiu $t8,$t9,0x16 +/* f1474b0: 330e03ff */ andi $t6,$t8,0x3ff +/* f1474b4: 000ec880 */ sll $t9,$t6,0x2 +/* f1474b8: 01f9c025 */ or $t8,$t7,$t9 +/* f1474bc: ac580004 */ sw $t8,0x4($v0) +.PB0f1474c0: +/* f1474c0: 8ec40284 */ lw $a0,0x284($s6) +/* f1474c4: 8faf02a4 */ lw $t7,0x2a4($sp) +/* f1474c8: 24010002 */ li $at,0x2 +/* f1474cc: 8c8e0480 */ lw $t6,0x480($a0) +/* f1474d0: 91c3006b */ lbu $v1,0x6b($t6) +/* f1474d4: 14600152 */ bnez $v1,.PB0f147a20 +/* f1474d8: 00000000 */ nop +/* f1474dc: 15e002f8 */ bnez $t7,.PB0f1480c0 +/* f1474e0: c7a60068 */ lwc1 $f6,0x68($sp) +/* f1474e4: 4600328d */ trunc.w.s $f10,$f6 +/* f1474e8: 8fae02f0 */ lw $t6,0x2f0($sp) +/* f1474ec: 3c01420c */ lui $at,0x420c +/* f1474f0: 44816000 */ mtc1 $at,$f12 +/* f1474f4: 44185000 */ mfc1 $t8,$f10 +/* f1474f8: 25cffff3 */ addiu $t7,$t6,-13 +/* f1474fc: afaf02e8 */ sw $t7,0x2e8($sp) +/* f147500: afb802ec */ sw $t8,0x2ec($sp) +/* f147504: 8c990480 */ lw $t9,0x480($a0) +/* f147508: 3c0143b4 */ lui $at,0x43b4 +/* f14750c: 44817000 */ mtc1 $at,$f14 +/* f147510: c720001c */ lwc1 $f0,0x1c($t9) +/* f147514: 3c05f600 */ lui $a1,0xf600 +/* f147518: 02a01825 */ move $v1,$s5 +/* f14751c: 46100202 */ mul.s $f8,$f0,$f16 +/* f147520: 00000000 */ nop +/* f147524: 460c0282 */ mul.s $f10,$f0,$f12 +/* f147528: 460e4103 */ div.s $f4,$f8,$f14 +/* f14752c: 460e5203 */ div.s $f8,$f10,$f14 +/* f147530: 4600218d */ trunc.w.s $f6,$f4 +/* f147534: 44023000 */ mfc1 $v0,$f6 +/* f147538: 00000000 */ nop +/* f14753c: 305300ff */ andi $s3,$v0,0xff +/* f147540: 4600410d */ trunc.w.s $f4,$f8 +/* f147544: 440f2000 */ mfc1 $t7,$f4 +/* f147548: 04410005 */ bgez $v0,.PB0f147560 +/* f14754c: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147550: 00029823 */ negu $s3,$v0 +/* f147554: 327900ff */ andi $t9,$s3,0xff +/* f147558: 10000001 */ b .PB0f147560 +/* f14755c: 03209825 */ move $s3,$t9 +.PB0f147560: +/* f147560: 327800ff */ andi $t8,$s3,0xff +/* f147564: 00187400 */ sll $t6,$t8,0x10 +/* f147568: 35cf00ff */ ori $t7,$t6,0xff +/* f14756c: ac6f0004 */ sw $t7,0x4($v1) +/* f147570: ac690000 */ sw $t1,0x0($v1) +/* f147574: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147578: 26b50008 */ addiu $s5,$s5,0x8 +/* f14757c: 02a02025 */ move $a0,$s5 +/* f147580: 27380005 */ addiu $t8,$t9,0x5 +/* f147584: 330e03ff */ andi $t6,$t8,0x3ff +/* f147588: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f14758c: 000e7b80 */ sll $t7,$t6,0xe +/* f147590: 01e5c825 */ or $t9,$t7,$a1 +/* f147594: 330e03ff */ andi $t6,$t8,0x3ff +/* f147598: 000e7880 */ sll $t7,$t6,0x2 +/* f14759c: 032fc025 */ or $t8,$t9,$t7 +/* f1475a0: ac980000 */ sw $t8,0x0($a0) +/* f1475a4: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f1475a8: 8fae02e8 */ lw $t6,0x2e8($sp) +/* f1475ac: 3c013f00 */ lui $at,0x3f00 +/* f1475b0: 44811000 */ mtc1 $at,$f2 +/* f1475b4: 01d97823 */ subu $t7,$t6,$t9 +/* f1475b8: 8fb902ec */ lw $t9,0x2ec($sp) +/* f1475bc: 31f803ff */ andi $t8,$t7,0x3ff +/* f1475c0: 00187080 */ sll $t6,$t8,0x2 +/* f1475c4: 332f03ff */ andi $t7,$t9,0x3ff +/* f1475c8: 000fc380 */ sll $t8,$t7,0xe +/* f1475cc: 030ec825 */ or $t9,$t8,$t6 +/* f1475d0: ac990004 */ sw $t9,0x4($a0) +/* f1475d4: 8faf02ec */ lw $t7,0x2ec($sp) +/* f1475d8: 8ece0284 */ lw $t6,0x284($s6) +/* f1475dc: 3c013f80 */ lui $at,0x3f80 +/* f1475e0: 25f80007 */ addiu $t8,$t7,0x7 +/* f1475e4: afb802ec */ sw $t8,0x2ec($sp) +/* f1475e8: 8dd90480 */ lw $t9,0x480($t6) +/* f1475ec: 44819000 */ mtc1 $at,$f18 +/* f1475f0: 26b50008 */ addiu $s5,$s5,0x8 +/* f1475f4: c7260020 */ lwc1 $f6,0x20($t9) +/* f1475f8: 02a01825 */ move $v1,$s5 +/* f1475fc: 46123000 */ add.s $f0,$f6,$f18 +/* f147600: 46100282 */ mul.s $f10,$f0,$f16 +/* f147604: 00000000 */ nop +/* f147608: 46025202 */ mul.s $f8,$f10,$f2 +/* f14760c: 00000000 */ nop +/* f147610: 460c0182 */ mul.s $f6,$f0,$f12 +/* f147614: 4600410d */ trunc.w.s $f4,$f8 +/* f147618: 46023282 */ mul.s $f10,$f6,$f2 +/* f14761c: 44022000 */ mfc1 $v0,$f4 +/* f147620: 00000000 */ nop +/* f147624: 305300ff */ andi $s3,$v0,0xff +/* f147628: 4600520d */ trunc.w.s $f8,$f10 +/* f14762c: 440e4000 */ mfc1 $t6,$f8 +/* f147630: 04410005 */ bgez $v0,.PB0f147648 +/* f147634: afae02e0 */ sw $t6,0x2e0($sp) +/* f147638: 00029823 */ negu $s3,$v0 +/* f14763c: 327900ff */ andi $t9,$s3,0xff +/* f147640: 10000001 */ b .PB0f147648 +/* f147644: 03209825 */ move $s3,$t9 +.PB0f147648: +/* f147648: 326f00ff */ andi $t7,$s3,0xff +/* f14764c: 000fc400 */ sll $t8,$t7,0x10 +/* f147650: 370e00ff */ ori $t6,$t8,0xff +/* f147654: ac6e0004 */ sw $t6,0x4($v1) +/* f147658: ac690000 */ sw $t1,0x0($v1) +/* f14765c: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147660: 26b50008 */ addiu $s5,$s5,0x8 +/* f147664: 02a02025 */ move $a0,$s5 +/* f147668: 272f0005 */ addiu $t7,$t9,0x5 +/* f14766c: 31f803ff */ andi $t8,$t7,0x3ff +/* f147670: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147674: 00187380 */ sll $t6,$t8,0xe +/* f147678: 01c5c825 */ or $t9,$t6,$a1 +/* f14767c: 31f803ff */ andi $t8,$t7,0x3ff +/* f147680: 00187080 */ sll $t6,$t8,0x2 +/* f147684: 032e7825 */ or $t7,$t9,$t6 +/* f147688: ac8f0000 */ sw $t7,0x0($a0) +/* f14768c: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f147690: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f147694: 26b50008 */ addiu $s5,$s5,0x8 +/* f147698: 02a01825 */ move $v1,$s5 +/* f14769c: 03197023 */ subu $t6,$t8,$t9 +/* f1476a0: 8fb902ec */ lw $t9,0x2ec($sp) +/* f1476a4: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1476a8: 000fc080 */ sll $t8,$t7,0x2 +/* f1476ac: 332e03ff */ andi $t6,$t9,0x3ff +/* f1476b0: 000e7b80 */ sll $t7,$t6,0xe +/* f1476b4: 01f8c825 */ or $t9,$t7,$t8 +/* f1476b8: ac990004 */ sw $t9,0x4($a0) +/* f1476bc: 8fae02ec */ lw $t6,0x2ec($sp) +/* f1476c0: 8ed80284 */ lw $t8,0x284($s6) +/* f1476c4: 25cf0007 */ addiu $t7,$t6,0x7 +/* f1476c8: afaf02ec */ sw $t7,0x2ec($sp) +/* f1476cc: 8f190480 */ lw $t9,0x480($t8) +/* f1476d0: c7240024 */ lwc1 $f4,0x24($t9) +/* f1476d4: 46122000 */ add.s $f0,$f4,$f18 +/* f1476d8: 46100182 */ mul.s $f6,$f0,$f16 +/* f1476dc: 00000000 */ nop +/* f1476e0: 46023282 */ mul.s $f10,$f6,$f2 +/* f1476e4: 00000000 */ nop +/* f1476e8: 460c0102 */ mul.s $f4,$f0,$f12 +/* f1476ec: 4600520d */ trunc.w.s $f8,$f10 +/* f1476f0: 46022182 */ mul.s $f6,$f4,$f2 +/* f1476f4: 44024000 */ mfc1 $v0,$f8 +/* f1476f8: 00000000 */ nop +/* f1476fc: 305300ff */ andi $s3,$v0,0xff +/* f147700: 4600328d */ trunc.w.s $f10,$f6 +/* f147704: 44185000 */ mfc1 $t8,$f10 +/* f147708: 04410005 */ bgez $v0,.PB0f147720 +/* f14770c: afb802e0 */ sw $t8,0x2e0($sp) +/* f147710: 00029823 */ negu $s3,$v0 +/* f147714: 327900ff */ andi $t9,$s3,0xff +/* f147718: 10000001 */ b .PB0f147720 +/* f14771c: 03209825 */ move $s3,$t9 +.PB0f147720: +/* f147720: 326e00ff */ andi $t6,$s3,0xff +/* f147724: 000e7c00 */ sll $t7,$t6,0x10 +/* f147728: 35f800ff */ ori $t8,$t7,0xff +/* f14772c: ac780004 */ sw $t8,0x4($v1) +/* f147730: ac690000 */ sw $t1,0x0($v1) +/* f147734: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147738: 26b50008 */ addiu $s5,$s5,0x8 +/* f14773c: 02a02025 */ move $a0,$s5 +/* f147740: 272e0005 */ addiu $t6,$t9,0x5 +/* f147744: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147748: 8fae02e8 */ lw $t6,0x2e8($sp) +/* f14774c: 000fc380 */ sll $t8,$t7,0xe +/* f147750: 0305c825 */ or $t9,$t8,$a1 +/* f147754: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147758: 000fc080 */ sll $t8,$t7,0x2 +/* f14775c: 03387025 */ or $t6,$t9,$t8 +/* f147760: ac8e0000 */ sw $t6,0x0($a0) +/* f147764: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f147768: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f14776c: 26b50008 */ addiu $s5,$s5,0x8 +/* f147770: 02a01825 */ move $v1,$s5 +/* f147774: 01f9c023 */ subu $t8,$t7,$t9 +/* f147778: 8fb902ec */ lw $t9,0x2ec($sp) +/* f14777c: 330e03ff */ andi $t6,$t8,0x3ff +/* f147780: 000e7880 */ sll $t7,$t6,0x2 +/* f147784: 333803ff */ andi $t8,$t9,0x3ff +/* f147788: 00187380 */ sll $t6,$t8,0xe +/* f14778c: 01cfc825 */ or $t9,$t6,$t7 +/* f147790: ac990004 */ sw $t9,0x4($a0) +/* f147794: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147798: 8ecf0284 */ lw $t7,0x284($s6) +/* f14779c: 270e0007 */ addiu $t6,$t8,0x7 +/* f1477a0: afae02ec */ sw $t6,0x2ec($sp) +/* f1477a4: 8df90480 */ lw $t9,0x480($t7) +/* f1477a8: c7200028 */ lwc1 $f0,0x28($t9) +/* f1477ac: 46100202 */ mul.s $f8,$f0,$f16 +/* f1477b0: 00000000 */ nop +/* f1477b4: 460c0282 */ mul.s $f10,$f0,$f12 +/* f1477b8: 460e4103 */ div.s $f4,$f8,$f14 +/* f1477bc: 460e5203 */ div.s $f8,$f10,$f14 +/* f1477c0: 4600218d */ trunc.w.s $f6,$f4 +/* f1477c4: 44023000 */ mfc1 $v0,$f6 +/* f1477c8: 00000000 */ nop +/* f1477cc: 305300ff */ andi $s3,$v0,0xff +/* f1477d0: 4600410d */ trunc.w.s $f4,$f8 +/* f1477d4: 440f2000 */ mfc1 $t7,$f4 +/* f1477d8: 04410005 */ bgez $v0,.PB0f1477f0 +/* f1477dc: afaf02e0 */ sw $t7,0x2e0($sp) +/* f1477e0: 00029823 */ negu $s3,$v0 +/* f1477e4: 327900ff */ andi $t9,$s3,0xff +/* f1477e8: 10000001 */ b .PB0f1477f0 +/* f1477ec: 03209825 */ move $s3,$t9 +.PB0f1477f0: +/* f1477f0: 327800ff */ andi $t8,$s3,0xff +/* f1477f4: 00187400 */ sll $t6,$t8,0x10 +/* f1477f8: 35cf00ff */ ori $t7,$t6,0xff +/* f1477fc: ac6f0004 */ sw $t7,0x4($v1) +/* f147800: ac690000 */ sw $t1,0x0($v1) +/* f147804: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147808: 26b50008 */ addiu $s5,$s5,0x8 +/* f14780c: 02a02025 */ move $a0,$s5 +/* f147810: 27380005 */ addiu $t8,$t9,0x5 +/* f147814: 330e03ff */ andi $t6,$t8,0x3ff +/* f147818: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f14781c: 000e7b80 */ sll $t7,$t6,0xe +/* f147820: 01e5c825 */ or $t9,$t7,$a1 +/* f147824: 330e03ff */ andi $t6,$t8,0x3ff +/* f147828: 000e7880 */ sll $t7,$t6,0x2 +/* f14782c: 032fc025 */ or $t8,$t9,$t7 +/* f147830: ac980000 */ sw $t8,0x0($a0) +/* f147834: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f147838: 8fae02e8 */ lw $t6,0x2e8($sp) +/* f14783c: 26b50008 */ addiu $s5,$s5,0x8 +/* f147840: 02a01825 */ move $v1,$s5 +/* f147844: 01d97823 */ subu $t7,$t6,$t9 +/* f147848: 8fb902ec */ lw $t9,0x2ec($sp) +/* f14784c: 31f803ff */ andi $t8,$t7,0x3ff +/* f147850: 00187080 */ sll $t6,$t8,0x2 +/* f147854: 332f03ff */ andi $t7,$t9,0x3ff +/* f147858: 000fc380 */ sll $t8,$t7,0xe +/* f14785c: 030ec825 */ or $t9,$t8,$t6 +/* f147860: ac990004 */ sw $t9,0x4($a0) +/* f147864: 8faf02ec */ lw $t7,0x2ec($sp) +/* f147868: 8ece0284 */ lw $t6,0x284($s6) +/* f14786c: 25f80007 */ addiu $t8,$t7,0x7 +/* f147870: afb802ec */ sw $t8,0x2ec($sp) +/* f147874: 8dd90480 */ lw $t9,0x480($t6) +/* f147878: c726002c */ lwc1 $f6,0x2c($t9) +/* f14787c: 46123000 */ add.s $f0,$f6,$f18 +/* f147880: 46100282 */ mul.s $f10,$f0,$f16 +/* f147884: 00000000 */ nop +/* f147888: 46025202 */ mul.s $f8,$f10,$f2 +/* f14788c: 00000000 */ nop +/* f147890: 460c0182 */ mul.s $f6,$f0,$f12 +/* f147894: 4600410d */ trunc.w.s $f4,$f8 +/* f147898: 46023282 */ mul.s $f10,$f6,$f2 +/* f14789c: 44022000 */ mfc1 $v0,$f4 +/* f1478a0: 00000000 */ nop +/* f1478a4: 305300ff */ andi $s3,$v0,0xff +/* f1478a8: 4600520d */ trunc.w.s $f8,$f10 +/* f1478ac: 440e4000 */ mfc1 $t6,$f8 +/* f1478b0: 04410005 */ bgez $v0,.PB0f1478c8 +/* f1478b4: afae02e0 */ sw $t6,0x2e0($sp) +/* f1478b8: 00029823 */ negu $s3,$v0 +/* f1478bc: 327900ff */ andi $t9,$s3,0xff +/* f1478c0: 10000001 */ b .PB0f1478c8 +/* f1478c4: 03209825 */ move $s3,$t9 +.PB0f1478c8: +/* f1478c8: 326f00ff */ andi $t7,$s3,0xff +/* f1478cc: 000fc400 */ sll $t8,$t7,0x10 +/* f1478d0: 370e00ff */ ori $t6,$t8,0xff +/* f1478d4: ac6e0004 */ sw $t6,0x4($v1) +/* f1478d8: ac690000 */ sw $t1,0x0($v1) +/* f1478dc: 8fb902ec */ lw $t9,0x2ec($sp) +/* f1478e0: 26b50008 */ addiu $s5,$s5,0x8 +/* f1478e4: 02a02025 */ move $a0,$s5 +/* f1478e8: 272f0005 */ addiu $t7,$t9,0x5 +/* f1478ec: 31f803ff */ andi $t8,$t7,0x3ff +/* f1478f0: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f1478f4: 00187380 */ sll $t6,$t8,0xe +/* f1478f8: 01c5c825 */ or $t9,$t6,$a1 +/* f1478fc: 31f803ff */ andi $t8,$t7,0x3ff +/* f147900: 00187080 */ sll $t6,$t8,0x2 +/* f147904: 032e7825 */ or $t7,$t9,$t6 +/* f147908: ac8f0000 */ sw $t7,0x0($a0) +/* f14790c: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f147910: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f147914: 26b50008 */ addiu $s5,$s5,0x8 +/* f147918: 03197023 */ subu $t6,$t8,$t9 +/* f14791c: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147920: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147924: 000fc080 */ sll $t8,$t7,0x2 +/* f147928: 332e03ff */ andi $t6,$t9,0x3ff +/* f14792c: 000e7b80 */ sll $t7,$t6,0xe +/* f147930: 01f8c825 */ or $t9,$t7,$t8 +/* f147934: ac990004 */ sw $t9,0x4($a0) +/* f147938: 8fae02ec */ lw $t6,0x2ec($sp) +/* f14793c: 8ed80284 */ lw $t8,0x284($s6) +/* f147940: 25cf0007 */ addiu $t7,$t6,0x7 +/* f147944: afaf02ec */ sw $t7,0x2ec($sp) +/* f147948: 8f190480 */ lw $t9,0x480($t8) +/* f14794c: c7240030 */ lwc1 $f4,0x30($t9) +/* f147950: 46122000 */ add.s $f0,$f4,$f18 +/* f147954: 46100182 */ mul.s $f6,$f0,$f16 +/* f147958: 00000000 */ nop +/* f14795c: 46023282 */ mul.s $f10,$f6,$f2 +/* f147960: 00000000 */ nop +/* f147964: 460c0102 */ mul.s $f4,$f0,$f12 +/* f147968: 4600520d */ trunc.w.s $f8,$f10 +/* f14796c: 46022182 */ mul.s $f6,$f4,$f2 +/* f147970: 44024000 */ mfc1 $v0,$f8 +/* f147974: 00000000 */ nop +/* f147978: 305300ff */ andi $s3,$v0,0xff +/* f14797c: 4600328d */ trunc.w.s $f10,$f6 +/* f147980: 44185000 */ mfc1 $t8,$f10 +/* f147984: 04410005 */ bgez $v0,.PB0f14799c +/* f147988: afb802e0 */ sw $t8,0x2e0($sp) +/* f14798c: 00029823 */ negu $s3,$v0 +/* f147990: 327900ff */ andi $t9,$s3,0xff +/* f147994: 10000001 */ b .PB0f14799c +/* f147998: 03209825 */ move $s3,$t9 +.PB0f14799c: +/* f14799c: 326e00ff */ andi $t6,$s3,0xff +/* f1479a0: 000e7c00 */ sll $t7,$t6,0x10 +/* f1479a4: 02a01025 */ move $v0,$s5 +/* f1479a8: 35f800ff */ ori $t8,$t7,0xff +/* f1479ac: ac580004 */ sw $t8,0x4($v0) +/* f1479b0: ac490000 */ sw $t1,0x0($v0) +/* f1479b4: 8fb902ec */ lw $t9,0x2ec($sp) +/* f1479b8: 26b50008 */ addiu $s5,$s5,0x8 +/* f1479bc: 02a01825 */ move $v1,$s5 +/* f1479c0: 272e0005 */ addiu $t6,$t9,0x5 +/* f1479c4: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1479c8: 8fae02e8 */ lw $t6,0x2e8($sp) +/* f1479cc: 000fc380 */ sll $t8,$t7,0xe +/* f1479d0: 0305c825 */ or $t9,$t8,$a1 +/* f1479d4: 31cf03ff */ andi $t7,$t6,0x3ff +/* f1479d8: 000fc080 */ sll $t8,$t7,0x2 +/* f1479dc: 03387025 */ or $t6,$t9,$t8 +/* f1479e0: ac6e0000 */ sw $t6,0x0($v1) +/* f1479e4: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f1479e8: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f1479ec: 26b50008 */ addiu $s5,$s5,0x8 +/* f1479f0: 01f9c023 */ subu $t8,$t7,$t9 +/* f1479f4: 8fb902ec */ lw $t9,0x2ec($sp) +/* f1479f8: 330e03ff */ andi $t6,$t8,0x3ff +/* f1479fc: 000e7880 */ sll $t7,$t6,0x2 +/* f147a00: 333803ff */ andi $t8,$t9,0x3ff +/* f147a04: 00187380 */ sll $t6,$t8,0xe +/* f147a08: 01cfc825 */ or $t9,$t6,$t7 +/* f147a0c: ac790004 */ sw $t9,0x4($v1) +/* f147a10: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147a14: 270e0007 */ addiu $t6,$t8,0x7 +/* f147a18: 100001a9 */ b .PB0f1480c0 +/* f147a1c: afae02ec */ sw $t6,0x2ec($sp) +.PB0f147a20: +/* f147a20: 1461016a */ bne $v1,$at,.PB0f147fcc +/* f147a24: c7a60068 */ lwc1 $f6,0x68($sp) +/* f147a28: 8faf02a4 */ lw $t7,0x2a4($sp) +/* f147a2c: c7a80068 */ lwc1 $f8,0x68($sp) +/* f147a30: 02a01825 */ move $v1,$s5 +/* f147a34: 55e001a3 */ bnezl $t7,.PB0f1480c4 +/* f147a38: 02a01025 */ move $v0,$s5 +/* f147a3c: 4600410d */ trunc.w.s $f4,$f8 +/* f147a40: 8fae02f0 */ lw $t6,0x2f0($sp) +/* f147a44: 3c01420c */ lui $at,0x420c +/* f147a48: 44816000 */ mtc1 $at,$f12 +/* f147a4c: 44182000 */ mfc1 $t8,$f4 +/* f147a50: 25cffff3 */ addiu $t7,$t6,-13 +/* f147a54: afaf02e8 */ sw $t7,0x2e8($sp) +/* f147a58: afb802ec */ sw $t8,0x2ec($sp) +/* f147a5c: 8c990480 */ lw $t9,0x480($a0) +/* f147a60: 3c0143b4 */ lui $at,0x43b4 +/* f147a64: 44817000 */ mtc1 $at,$f14 +/* f147a68: c720001c */ lwc1 $f0,0x1c($t9) +/* f147a6c: 3c013f00 */ lui $at,0x3f00 +/* f147a70: 44811000 */ mtc1 $at,$f2 +/* f147a74: 46100182 */ mul.s $f6,$f0,$f16 +/* f147a78: 3c013f80 */ lui $at,0x3f80 +/* f147a7c: 44819000 */ mtc1 $at,$f18 +/* f147a80: 460c0102 */ mul.s $f4,$f0,$f12 +/* f147a84: 26b50008 */ addiu $s5,$s5,0x8 +/* f147a88: 460e3283 */ div.s $f10,$f6,$f14 +/* f147a8c: 460e2183 */ div.s $f6,$f4,$f14 +/* f147a90: 4600520d */ trunc.w.s $f8,$f10 +/* f147a94: 44024000 */ mfc1 $v0,$f8 +/* f147a98: 00000000 */ nop +/* f147a9c: 305300ff */ andi $s3,$v0,0xff +/* f147aa0: 4600328d */ trunc.w.s $f10,$f6 +/* f147aa4: 440f5000 */ mfc1 $t7,$f10 +/* f147aa8: 04410005 */ bgez $v0,.PB0f147ac0 +/* f147aac: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147ab0: 00029823 */ negu $s3,$v0 +/* f147ab4: 327900ff */ andi $t9,$s3,0xff +/* f147ab8: 10000001 */ b .PB0f147ac0 +/* f147abc: 03209825 */ move $s3,$t9 +.PB0f147ac0: +/* f147ac0: 00137883 */ sra $t7,$s3,0x2 +/* f147ac4: 31f900ff */ andi $t9,$t7,0xff +/* f147ac8: 0019c400 */ sll $t8,$t9,0x10 +/* f147acc: 00137600 */ sll $t6,$s3,0x18 +/* f147ad0: 01d87825 */ or $t7,$t6,$t8 +/* f147ad4: 35f900ff */ ori $t9,$t7,0xff +/* f147ad8: ac790004 */ sw $t9,0x4($v1) +/* f147adc: ac690000 */ sw $t1,0x0($v1) +/* f147ae0: 8fae02ec */ lw $t6,0x2ec($sp) +/* f147ae4: 3c01f600 */ lui $at,0xf600 +/* f147ae8: 02a02025 */ move $a0,$s5 +/* f147aec: 25d80005 */ addiu $t8,$t6,0x5 +/* f147af0: 330f03ff */ andi $t7,$t8,0x3ff +/* f147af4: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f147af8: 000fcb80 */ sll $t9,$t7,0xe +/* f147afc: 03217025 */ or $t6,$t9,$at +/* f147b00: 330f03ff */ andi $t7,$t8,0x3ff +/* f147b04: 000fc880 */ sll $t9,$t7,0x2 +/* f147b08: 01d9c025 */ or $t8,$t6,$t9 +/* f147b0c: ac980000 */ sw $t8,0x0($a0) +/* f147b10: 8fae02e0 */ lw $t6,0x2e0($sp) +/* f147b14: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147b18: 26b50008 */ addiu $s5,$s5,0x8 +/* f147b1c: 02a01825 */ move $v1,$s5 +/* f147b20: 01eec823 */ subu $t9,$t7,$t6 +/* f147b24: 8fae02ec */ lw $t6,0x2ec($sp) +/* f147b28: 333803ff */ andi $t8,$t9,0x3ff +/* f147b2c: 00187880 */ sll $t7,$t8,0x2 +/* f147b30: 31d903ff */ andi $t9,$t6,0x3ff +/* f147b34: 0019c380 */ sll $t8,$t9,0xe +/* f147b38: 030f7025 */ or $t6,$t8,$t7 +/* f147b3c: ac8e0004 */ sw $t6,0x4($a0) +/* f147b40: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147b44: 8ecf0284 */ lw $t7,0x284($s6) +/* f147b48: 26b50008 */ addiu $s5,$s5,0x8 +/* f147b4c: 27380007 */ addiu $t8,$t9,0x7 +/* f147b50: afb802ec */ sw $t8,0x2ec($sp) +/* f147b54: 8dee0480 */ lw $t6,0x480($t7) +/* f147b58: c5c80020 */ lwc1 $f8,0x20($t6) +/* f147b5c: 46124000 */ add.s $f0,$f8,$f18 +/* f147b60: 46100102 */ mul.s $f4,$f0,$f16 +/* f147b64: 00000000 */ nop +/* f147b68: 46022182 */ mul.s $f6,$f4,$f2 +/* f147b6c: 00000000 */ nop +/* f147b70: 460c0202 */ mul.s $f8,$f0,$f12 +/* f147b74: 4600328d */ trunc.w.s $f10,$f6 +/* f147b78: 46024102 */ mul.s $f4,$f8,$f2 +/* f147b7c: 44025000 */ mfc1 $v0,$f10 +/* f147b80: 00000000 */ nop +/* f147b84: 305300ff */ andi $s3,$v0,0xff +/* f147b88: 4600218d */ trunc.w.s $f6,$f4 +/* f147b8c: 440f3000 */ mfc1 $t7,$f6 +/* f147b90: 04410005 */ bgez $v0,.PB0f147ba8 +/* f147b94: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147b98: 00029823 */ negu $s3,$v0 +/* f147b9c: 326e00ff */ andi $t6,$s3,0xff +/* f147ba0: 10000001 */ b .PB0f147ba8 +/* f147ba4: 01c09825 */ move $s3,$t6 +.PB0f147ba8: +/* f147ba8: 00137883 */ sra $t7,$s3,0x2 +/* f147bac: 31ee00ff */ andi $t6,$t7,0xff +/* f147bb0: 000ecc00 */ sll $t9,$t6,0x10 +/* f147bb4: 0013c600 */ sll $t8,$s3,0x18 +/* f147bb8: 03197825 */ or $t7,$t8,$t9 +/* f147bbc: 35ee00ff */ ori $t6,$t7,0xff +/* f147bc0: ac6e0004 */ sw $t6,0x4($v1) +/* f147bc4: ac690000 */ sw $t1,0x0($v1) +/* f147bc8: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147bcc: 3c01f600 */ lui $at,0xf600 +/* f147bd0: 02a02025 */ move $a0,$s5 +/* f147bd4: 27190005 */ addiu $t9,$t8,0x5 +/* f147bd8: 332f03ff */ andi $t7,$t9,0x3ff +/* f147bdc: 8fb902e8 */ lw $t9,0x2e8($sp) +/* f147be0: 000f7380 */ sll $t6,$t7,0xe +/* f147be4: 01c1c025 */ or $t8,$t6,$at +/* f147be8: 332f03ff */ andi $t7,$t9,0x3ff +/* f147bec: 000f7080 */ sll $t6,$t7,0x2 +/* f147bf0: 030ec825 */ or $t9,$t8,$t6 +/* f147bf4: ac990000 */ sw $t9,0x0($a0) +/* f147bf8: 8fb802e0 */ lw $t8,0x2e0($sp) +/* f147bfc: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147c00: 26b50008 */ addiu $s5,$s5,0x8 +/* f147c04: 02a01825 */ move $v1,$s5 +/* f147c08: 01f87023 */ subu $t6,$t7,$t8 +/* f147c0c: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147c10: 31d903ff */ andi $t9,$t6,0x3ff +/* f147c14: 00197880 */ sll $t7,$t9,0x2 +/* f147c18: 330e03ff */ andi $t6,$t8,0x3ff +/* f147c1c: 000ecb80 */ sll $t9,$t6,0xe +/* f147c20: 032fc025 */ or $t8,$t9,$t7 +/* f147c24: ac980004 */ sw $t8,0x4($a0) +/* f147c28: 8fae02ec */ lw $t6,0x2ec($sp) +/* f147c2c: 8ecf0284 */ lw $t7,0x284($s6) +/* f147c30: 26b50008 */ addiu $s5,$s5,0x8 +/* f147c34: 25d90007 */ addiu $t9,$t6,0x7 +/* f147c38: afb902ec */ sw $t9,0x2ec($sp) +/* f147c3c: 8df80480 */ lw $t8,0x480($t7) +/* f147c40: c70a0024 */ lwc1 $f10,0x24($t8) +/* f147c44: 46125000 */ add.s $f0,$f10,$f18 +/* f147c48: 46100202 */ mul.s $f8,$f0,$f16 +/* f147c4c: 00000000 */ nop +/* f147c50: 46024102 */ mul.s $f4,$f8,$f2 +/* f147c54: 00000000 */ nop +/* f147c58: 460c0282 */ mul.s $f10,$f0,$f12 +/* f147c5c: 4600218d */ trunc.w.s $f6,$f4 +/* f147c60: 46025202 */ mul.s $f8,$f10,$f2 +/* f147c64: 44023000 */ mfc1 $v0,$f6 +/* f147c68: 00000000 */ nop +/* f147c6c: 305300ff */ andi $s3,$v0,0xff +/* f147c70: 4600410d */ trunc.w.s $f4,$f8 +/* f147c74: 440f2000 */ mfc1 $t7,$f4 +/* f147c78: 04410005 */ bgez $v0,.PB0f147c90 +/* f147c7c: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147c80: 00029823 */ negu $s3,$v0 +/* f147c84: 327800ff */ andi $t8,$s3,0xff +/* f147c88: 10000001 */ b .PB0f147c90 +/* f147c8c: 03009825 */ move $s3,$t8 +.PB0f147c90: +/* f147c90: 00137883 */ sra $t7,$s3,0x2 +/* f147c94: 31f800ff */ andi $t8,$t7,0xff +/* f147c98: 00187400 */ sll $t6,$t8,0x10 +/* f147c9c: 0013ce00 */ sll $t9,$s3,0x18 +/* f147ca0: 032e7825 */ or $t7,$t9,$t6 +/* f147ca4: 35f800ff */ ori $t8,$t7,0xff +/* f147ca8: ac780004 */ sw $t8,0x4($v1) +/* f147cac: ac690000 */ sw $t1,0x0($v1) +/* f147cb0: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147cb4: 3c01f600 */ lui $at,0xf600 +/* f147cb8: 02a02025 */ move $a0,$s5 +/* f147cbc: 272e0005 */ addiu $t6,$t9,0x5 +/* f147cc0: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147cc4: 8fae02e8 */ lw $t6,0x2e8($sp) +/* f147cc8: 000fc380 */ sll $t8,$t7,0xe +/* f147ccc: 0301c825 */ or $t9,$t8,$at +/* f147cd0: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147cd4: 000fc080 */ sll $t8,$t7,0x2 +/* f147cd8: 03387025 */ or $t6,$t9,$t8 +/* f147cdc: ac8e0000 */ sw $t6,0x0($a0) +/* f147ce0: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f147ce4: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147ce8: 26b50008 */ addiu $s5,$s5,0x8 +/* f147cec: 02a01825 */ move $v1,$s5 +/* f147cf0: 01f9c023 */ subu $t8,$t7,$t9 +/* f147cf4: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147cf8: 330e03ff */ andi $t6,$t8,0x3ff +/* f147cfc: 000e7880 */ sll $t7,$t6,0x2 +/* f147d00: 333803ff */ andi $t8,$t9,0x3ff +/* f147d04: 00187380 */ sll $t6,$t8,0xe +/* f147d08: 01cfc825 */ or $t9,$t6,$t7 +/* f147d0c: ac990004 */ sw $t9,0x4($a0) +/* f147d10: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147d14: 8ecf0284 */ lw $t7,0x284($s6) +/* f147d18: 26b50008 */ addiu $s5,$s5,0x8 +/* f147d1c: 270e0007 */ addiu $t6,$t8,0x7 +/* f147d20: afae02ec */ sw $t6,0x2ec($sp) +/* f147d24: 8df90480 */ lw $t9,0x480($t7) +/* f147d28: c7200028 */ lwc1 $f0,0x28($t9) +/* f147d2c: 46100182 */ mul.s $f6,$f0,$f16 +/* f147d30: 00000000 */ nop +/* f147d34: 460c0102 */ mul.s $f4,$f0,$f12 +/* f147d38: 460e3283 */ div.s $f10,$f6,$f14 +/* f147d3c: 460e2183 */ div.s $f6,$f4,$f14 +/* f147d40: 4600520d */ trunc.w.s $f8,$f10 +/* f147d44: 44024000 */ mfc1 $v0,$f8 +/* f147d48: 00000000 */ nop +/* f147d4c: 305300ff */ andi $s3,$v0,0xff +/* f147d50: 4600328d */ trunc.w.s $f10,$f6 +/* f147d54: 440f5000 */ mfc1 $t7,$f10 +/* f147d58: 04410005 */ bgez $v0,.PB0f147d70 +/* f147d5c: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147d60: 00029823 */ negu $s3,$v0 +/* f147d64: 327900ff */ andi $t9,$s3,0xff +/* f147d68: 10000001 */ b .PB0f147d70 +/* f147d6c: 03209825 */ move $s3,$t9 +.PB0f147d70: +/* f147d70: 00137883 */ sra $t7,$s3,0x2 +/* f147d74: 31f900ff */ andi $t9,$t7,0xff +/* f147d78: 0019c400 */ sll $t8,$t9,0x10 +/* f147d7c: 00137600 */ sll $t6,$s3,0x18 +/* f147d80: 01d87825 */ or $t7,$t6,$t8 +/* f147d84: 35f900ff */ ori $t9,$t7,0xff +/* f147d88: ac790004 */ sw $t9,0x4($v1) +/* f147d8c: ac690000 */ sw $t1,0x0($v1) +/* f147d90: 8fae02ec */ lw $t6,0x2ec($sp) +/* f147d94: 3c01f600 */ lui $at,0xf600 +/* f147d98: 02a02025 */ move $a0,$s5 +/* f147d9c: 25d80005 */ addiu $t8,$t6,0x5 +/* f147da0: 330f03ff */ andi $t7,$t8,0x3ff +/* f147da4: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f147da8: 000fcb80 */ sll $t9,$t7,0xe +/* f147dac: 03217025 */ or $t6,$t9,$at +/* f147db0: 330f03ff */ andi $t7,$t8,0x3ff +/* f147db4: 000fc880 */ sll $t9,$t7,0x2 +/* f147db8: 01d9c025 */ or $t8,$t6,$t9 +/* f147dbc: ac980000 */ sw $t8,0x0($a0) +/* f147dc0: 8fae02e0 */ lw $t6,0x2e0($sp) +/* f147dc4: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147dc8: 26b50008 */ addiu $s5,$s5,0x8 +/* f147dcc: 02a01825 */ move $v1,$s5 +/* f147dd0: 01eec823 */ subu $t9,$t7,$t6 +/* f147dd4: 8fae02ec */ lw $t6,0x2ec($sp) +/* f147dd8: 333803ff */ andi $t8,$t9,0x3ff +/* f147ddc: 00187880 */ sll $t7,$t8,0x2 +/* f147de0: 31d903ff */ andi $t9,$t6,0x3ff +/* f147de4: 0019c380 */ sll $t8,$t9,0xe +/* f147de8: 030f7025 */ or $t6,$t8,$t7 +/* f147dec: ac8e0004 */ sw $t6,0x4($a0) +/* f147df0: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147df4: 8ecf0284 */ lw $t7,0x284($s6) +/* f147df8: 26b50008 */ addiu $s5,$s5,0x8 +/* f147dfc: 27380007 */ addiu $t8,$t9,0x7 +/* f147e00: afb802ec */ sw $t8,0x2ec($sp) +/* f147e04: 8dee0480 */ lw $t6,0x480($t7) +/* f147e08: c5c8002c */ lwc1 $f8,0x2c($t6) +/* f147e0c: 46124000 */ add.s $f0,$f8,$f18 +/* f147e10: 46100102 */ mul.s $f4,$f0,$f16 +/* f147e14: 00000000 */ nop +/* f147e18: 46022182 */ mul.s $f6,$f4,$f2 +/* f147e1c: 00000000 */ nop +/* f147e20: 460c0202 */ mul.s $f8,$f0,$f12 +/* f147e24: 4600328d */ trunc.w.s $f10,$f6 +/* f147e28: 46024102 */ mul.s $f4,$f8,$f2 +/* f147e2c: 44025000 */ mfc1 $v0,$f10 +/* f147e30: 00000000 */ nop +/* f147e34: 305300ff */ andi $s3,$v0,0xff +/* f147e38: 4600218d */ trunc.w.s $f6,$f4 +/* f147e3c: 440f3000 */ mfc1 $t7,$f6 +/* f147e40: 04410005 */ bgez $v0,.PB0f147e58 +/* f147e44: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147e48: 00029823 */ negu $s3,$v0 +/* f147e4c: 326e00ff */ andi $t6,$s3,0xff +/* f147e50: 10000001 */ b .PB0f147e58 +/* f147e54: 01c09825 */ move $s3,$t6 +.PB0f147e58: +/* f147e58: 00137883 */ sra $t7,$s3,0x2 +/* f147e5c: 31ee00ff */ andi $t6,$t7,0xff +/* f147e60: 000ecc00 */ sll $t9,$t6,0x10 +/* f147e64: 0013c600 */ sll $t8,$s3,0x18 +/* f147e68: 03197825 */ or $t7,$t8,$t9 +/* f147e6c: 35ee00ff */ ori $t6,$t7,0xff +/* f147e70: ac6e0004 */ sw $t6,0x4($v1) +/* f147e74: ac690000 */ sw $t1,0x0($v1) +/* f147e78: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147e7c: 3c01f600 */ lui $at,0xf600 +/* f147e80: 02a02025 */ move $a0,$s5 +/* f147e84: 27190005 */ addiu $t9,$t8,0x5 +/* f147e88: 332f03ff */ andi $t7,$t9,0x3ff +/* f147e8c: 8fb902e8 */ lw $t9,0x2e8($sp) +/* f147e90: 000f7380 */ sll $t6,$t7,0xe +/* f147e94: 01c1c025 */ or $t8,$t6,$at +/* f147e98: 332f03ff */ andi $t7,$t9,0x3ff +/* f147e9c: 000f7080 */ sll $t6,$t7,0x2 +/* f147ea0: 030ec825 */ or $t9,$t8,$t6 +/* f147ea4: ac990000 */ sw $t9,0x0($a0) +/* f147ea8: 8fb802e0 */ lw $t8,0x2e0($sp) +/* f147eac: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147eb0: 26b50008 */ addiu $s5,$s5,0x8 +/* f147eb4: 3c01f600 */ lui $at,0xf600 +/* f147eb8: 01f87023 */ subu $t6,$t7,$t8 +/* f147ebc: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147ec0: 31d903ff */ andi $t9,$t6,0x3ff +/* f147ec4: 00197880 */ sll $t7,$t9,0x2 +/* f147ec8: 330e03ff */ andi $t6,$t8,0x3ff +/* f147ecc: 000ecb80 */ sll $t9,$t6,0xe +/* f147ed0: 032fc025 */ or $t8,$t9,$t7 +/* f147ed4: ac980004 */ sw $t8,0x4($a0) +/* f147ed8: 8fae02ec */ lw $t6,0x2ec($sp) +/* f147edc: 8ecf0284 */ lw $t7,0x284($s6) +/* f147ee0: 25d90007 */ addiu $t9,$t6,0x7 +/* f147ee4: afb902ec */ sw $t9,0x2ec($sp) +/* f147ee8: 8df80480 */ lw $t8,0x480($t7) +/* f147eec: c70a0030 */ lwc1 $f10,0x30($t8) +/* f147ef0: 46125000 */ add.s $f0,$f10,$f18 +/* f147ef4: 46100202 */ mul.s $f8,$f0,$f16 +/* f147ef8: 00000000 */ nop +/* f147efc: 46024102 */ mul.s $f4,$f8,$f2 +/* f147f00: 00000000 */ nop +/* f147f04: 460c0282 */ mul.s $f10,$f0,$f12 +/* f147f08: 4600218d */ trunc.w.s $f6,$f4 +/* f147f0c: 46025202 */ mul.s $f8,$f10,$f2 +/* f147f10: 44023000 */ mfc1 $v0,$f6 +/* f147f14: 00000000 */ nop +/* f147f18: 305300ff */ andi $s3,$v0,0xff +/* f147f1c: 4600410d */ trunc.w.s $f4,$f8 +/* f147f20: 440f2000 */ mfc1 $t7,$f4 +/* f147f24: 04410005 */ bgez $v0,.PB0f147f3c +/* f147f28: afaf02e0 */ sw $t7,0x2e0($sp) +/* f147f2c: 00029823 */ negu $s3,$v0 +/* f147f30: 327800ff */ andi $t8,$s3,0xff +/* f147f34: 10000001 */ b .PB0f147f3c +/* f147f38: 03009825 */ move $s3,$t8 +.PB0f147f3c: +/* f147f3c: 00137883 */ sra $t7,$s3,0x2 +/* f147f40: 31f800ff */ andi $t8,$t7,0xff +/* f147f44: 00187400 */ sll $t6,$t8,0x10 +/* f147f48: 0013ce00 */ sll $t9,$s3,0x18 +/* f147f4c: 032e7825 */ or $t7,$t9,$t6 +/* f147f50: 02a01025 */ move $v0,$s5 +/* f147f54: 35f800ff */ ori $t8,$t7,0xff +/* f147f58: ac580004 */ sw $t8,0x4($v0) +/* f147f5c: ac490000 */ sw $t1,0x0($v0) +/* f147f60: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147f64: 26b50008 */ addiu $s5,$s5,0x8 +/* f147f68: 02a01825 */ move $v1,$s5 +/* f147f6c: 272e0005 */ addiu $t6,$t9,0x5 +/* f147f70: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147f74: 8fae02e8 */ lw $t6,0x2e8($sp) +/* f147f78: 000fc380 */ sll $t8,$t7,0xe +/* f147f7c: 0301c825 */ or $t9,$t8,$at +/* f147f80: 31cf03ff */ andi $t7,$t6,0x3ff +/* f147f84: 000fc080 */ sll $t8,$t7,0x2 +/* f147f88: 03387025 */ or $t6,$t9,$t8 +/* f147f8c: ac6e0000 */ sw $t6,0x0($v1) +/* f147f90: 8fb902e0 */ lw $t9,0x2e0($sp) +/* f147f94: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f147f98: 26b50008 */ addiu $s5,$s5,0x8 +/* f147f9c: 01f9c023 */ subu $t8,$t7,$t9 +/* f147fa0: 8fb902ec */ lw $t9,0x2ec($sp) +/* f147fa4: 330e03ff */ andi $t6,$t8,0x3ff +/* f147fa8: 000e7880 */ sll $t7,$t6,0x2 +/* f147fac: 333803ff */ andi $t8,$t9,0x3ff +/* f147fb0: 00187380 */ sll $t6,$t8,0xe +/* f147fb4: 01cfc825 */ or $t9,$t6,$t7 +/* f147fb8: ac790004 */ sw $t9,0x4($v1) +/* f147fbc: 8fb802ec */ lw $t8,0x2ec($sp) +/* f147fc0: 270e0007 */ addiu $t6,$t8,0x7 +/* f147fc4: 1000003e */ b .PB0f1480c0 +/* f147fc8: afae02ec */ sw $t6,0x2ec($sp) +.PB0f147fcc: +/* f147fcc: 3c0140a0 */ lui $at,0x40a0 +/* f147fd0: 44815000 */ mtc1 $at,$f10 +/* f147fd4: 8fa802f0 */ lw $t0,0x2f0($sp) +/* f147fd8: 8fb902a4 */ lw $t9,0x2a4($sp) +/* f147fdc: 460a3200 */ add.s $f8,$f6,$f10 +/* f147fe0: 2508fff3 */ addiu $t0,$t0,-13 +/* f147fe4: afa802e8 */ sw $t0,0x2e8($sp) +/* f147fe8: 240500ff */ li $a1,0xff +/* f147fec: 4600410d */ trunc.w.s $f4,$f8 +/* f147ff0: 2407001e */ li $a3,0x1e +/* f147ff4: 2508fffd */ addiu $t0,$t0,-3 +/* f147ff8: 00002025 */ move $a0,$zero +/* f147ffc: 44032000 */ mfc1 $v1,$f4 +/* f148000: 24060008 */ li $a2,0x8 +/* f148004: 13200005 */ beqz $t9,.PB0f14801c +/* f148008: afa302ec */ sw $v1,0x2ec($sp) +/* f14800c: 2463fff4 */ addiu $v1,$v1,-12 +/* f148010: afa302ec */ sw $v1,0x2ec($sp) +/* f148014: 2407000f */ li $a3,0xf +/* f148018: afa802e8 */ sw $t0,0x2e8($sp) +.PB0f14801c: +/* f14801c: 8ed80284 */ lw $t8,0x284($s6) +/* f148020: 02a01025 */ move $v0,$s5 +/* f148024: 26b50008 */ addiu $s5,$s5,0x8 +/* f148028: 8f0e0490 */ lw $t6,0x490($t8) +/* f14802c: 008e082a */ slt $at,$a0,$t6 +/* f148030: 54200003 */ bnezl $at,.PB0f148040 +/* f148034: 30af00ff */ andi $t7,$a1,0xff +/* f148038: 24050088 */ li $a1,0x88 +/* f14803c: 30af00ff */ andi $t7,$a1,0xff +.PB0f148040: +/* f148040: 000fca00 */ sll $t9,$t7,0x8 +/* f148044: 032bc025 */ or $t8,$t9,$t3 +/* f148048: 370e00ff */ ori $t6,$t8,0xff +/* f14804c: ac4e0004 */ sw $t6,0x4($v0) +/* f148050: ac490000 */ sw $t1,0x0($v0) +/* f148054: 8faf02ec */ lw $t7,0x2ec($sp) +/* f148058: 3c01f600 */ lui $at,0xf600 +/* f14805c: 02a01825 */ move $v1,$s5 +/* f148060: 01e7c821 */ addu $t9,$t7,$a3 +/* f148064: 333803ff */ andi $t8,$t9,0x3ff +/* f148068: 8fb902e8 */ lw $t9,0x2e8($sp) +/* f14806c: 00187380 */ sll $t6,$t8,0xe +/* f148070: 01c17825 */ or $t7,$t6,$at +/* f148074: 333803ff */ andi $t8,$t9,0x3ff +/* f148078: 00187080 */ sll $t6,$t8,0x2 +/* f14807c: 01eec825 */ or $t9,$t7,$t6 +/* f148080: ac790000 */ sw $t9,0x0($v1) +/* f148084: 8fb802ec */ lw $t8,0x2ec($sp) +/* f148088: 8fb902e8 */ lw $t9,0x2e8($sp) +/* f14808c: 24840001 */ addiu $a0,$a0,0x1 +/* f148090: 330f03ff */ andi $t7,$t8,0x3ff +/* f148094: 000f7380 */ sll $t6,$t7,0xe +/* f148098: 2738fffc */ addiu $t8,$t9,-4 +/* f14809c: 330f03ff */ andi $t7,$t8,0x3ff +/* f1480a0: 000fc880 */ sll $t9,$t7,0x2 +/* f1480a4: 01d9c025 */ or $t8,$t6,$t9 +/* f1480a8: ac780004 */ sw $t8,0x4($v1) +/* f1480ac: 8faf02e8 */ lw $t7,0x2e8($sp) +/* f1480b0: 26b50008 */ addiu $s5,$s5,0x8 +/* f1480b4: 25eefffb */ addiu $t6,$t7,-5 +/* f1480b8: 1486ffd8 */ bne $a0,$a2,.PB0f14801c +/* f1480bc: afae02e8 */ sw $t6,0x2e8($sp) +.PB0f1480c0: +/* f1480c0: 02a01025 */ move $v0,$s5 +.PB0f1480c4: +/* f1480c4: 26b50008 */ addiu $s5,$s5,0x8 +/* f1480c8: 02a01825 */ move $v1,$s5 +/* f1480cc: 3c19e700 */ lui $t9,0xe700 +/* f1480d0: ac590000 */ sw $t9,0x0($v0) +/* f1480d4: ac400004 */ sw $zero,0x4($v0) +/* f1480d8: 3c18ba00 */ lui $t8,0xba00 +/* f1480dc: 37180602 */ ori $t8,$t8,0x602 +/* f1480e0: 26b50008 */ addiu $s5,$s5,0x8 +/* f1480e4: 240f0040 */ li $t7,0x40 +/* f1480e8: ac6f0004 */ sw $t7,0x4($v1) +/* f1480ec: 02a02025 */ move $a0,$s5 +/* f1480f0: ac780000 */ sw $t8,0x0($v1) +/* f1480f4: 3c0eba00 */ lui $t6,0xba00 +/* f1480f8: 35ce1301 */ ori $t6,$t6,0x1301 +/* f1480fc: 26b50008 */ addiu $s5,$s5,0x8 +/* f148100: 3c190008 */ lui $t9,0x8 +/* f148104: ac990004 */ sw $t9,0x4($a0) +/* f148108: 02a02825 */ move $a1,$s5 +/* f14810c: ac8e0000 */ sw $t6,0x0($a0) +/* f148110: 3c18ba00 */ lui $t8,0xba00 +/* f148114: 37181001 */ ori $t8,$t8,0x1001 +/* f148118: 3c0f0001 */ lui $t7,0x1 +/* f14811c: acaf0004 */ sw $t7,0x4($a1) +/* f148120: acb80000 */ sw $t8,0x0($a1) +/* f148124: 8ece0298 */ lw $t6,0x298($s6) +/* f148128: 26b50008 */ addiu $s5,$s5,0x8 +/* f14812c: 05c10177 */ bgez $t6,.PB0f14870c +/* f148130: 00000000 */ nop +/* f148134: 8ed9029c */ lw $t9,0x29c($s6) +/* f148138: 8fb802f0 */ lw $t8,0x2f0($sp) +/* f14813c: 8faf02fc */ lw $t7,0x2fc($sp) +/* f148140: 07210172 */ bgez $t9,.PB0f14870c +/* f148144: 02a02025 */ move $a0,$s5 +/* f148148: 030f7023 */ subu $t6,$t8,$t7 +/* f14814c: 25d9ff99 */ addiu $t9,$t6,-103 +/* f148150: 44993000 */ mtc1 $t9,$f6 +/* f148154: 3c014188 */ lui $at,0x4188 +/* f148158: 44810000 */ mtc1 $at,$f0 +/* f14815c: 468032a0 */ cvt.s.w $f10,$f6 +/* f148160: 3c013f80 */ lui $at,0x3f80 +/* f148164: 44812000 */ mtc1 $at,$f4 +/* f148168: 8fa702f8 */ lw $a3,0x2f8($sp) +/* f14816c: 3c013f00 */ lui $at,0x3f00 +/* f148170: 24190011 */ li $t9,0x11 +/* f148174: 46005203 */ div.s $f8,$f10,$f0 +/* f148178: 2418000a */ li $t8,0xa +/* f14817c: 46044181 */ sub.s $f6,$f8,$f4 +/* f148180: 44874000 */ mtc1 $a3,$f8 +/* f148184: 00000000 */ nop +/* f148188: 46804120 */ cvt.s.w $f4,$f8 +/* f14818c: 4600328d */ trunc.w.s $f10,$f6 +/* f148190: 44813000 */ mtc1 $at,$f6 +/* f148194: 3c0141c8 */ lui $at,0x41c8 +/* f148198: 44035000 */ mfc1 $v1,$f10 +/* f14819c: 46062282 */ mul.s $f10,$f4,$f6 +/* f1481a0: c7a402c0 */ lwc1 $f4,0x2c0($sp) +/* f1481a4: 0060a025 */ move $s4,$v1 +/* f1481a8: 46040182 */ mul.s $f6,$f0,$f4 +/* f1481ac: 4600520d */ trunc.w.s $f8,$f10 +/* f1481b0: 44815000 */ mtc1 $at,$f10 +/* f1481b4: 44064000 */ mfc1 $a2,$f8 +/* f1481b8: 460a3203 */ div.s $f8,$f6,$f10 +/* f1481bc: 4600410d */ trunc.w.s $f4,$f8 +/* f1481c0: 44052000 */ mfc1 $a1,$f4 +/* f1481c4: 00000000 */ nop +/* f1481c8: 28a10012 */ slti $at,$a1,0x12 +/* f1481cc: 54200003 */ bnezl $at,.PB0f1481dc +/* f1481d0: 240100dc */ li $at,0xdc +/* f1481d4: 24050011 */ li $a1,0x11 +/* f1481d8: 240100dc */ li $at,0xdc +.PB0f1481dc: +/* f1481dc: 14e10003 */ bne $a3,$at,.PB0f1481ec +/* f1481e0: 03252823 */ subu $a1,$t9,$a1 +/* f1481e4: 10000008 */ b .PB0f148208 +/* f1481e8: a3b800c3 */ sb $t8,0xc3($sp) +.PB0f1481ec: +/* f1481ec: 240100b4 */ li $at,0xb4 +/* f1481f0: 14e10004 */ bne $a3,$at,.PB0f148204 +/* f1481f4: 240ffff8 */ li $t7,-8 +/* f1481f8: 2474ffff */ addiu $s4,$v1,-1 +/* f1481fc: 10000002 */ b .PB0f148208 +/* f148200: a3af00c3 */ sb $t7,0xc3($sp) +.PB0f148204: +/* f148204: a3a000c3 */ sb $zero,0xc3($sp) +.PB0f148208: +/* f148208: afa500bc */ sw $a1,0xbc($sp) +/* f14820c: 0fc3530f */ jal 0xf0d4c3c +/* f148210: afa6007c */ sw $a2,0x7c($sp) +/* f148214: 3c0eb600 */ lui $t6,0xb600 +/* f148218: 24193000 */ li $t9,0x3000 +/* f14821c: 3c18b700 */ lui $t8,0xb700 +/* f148220: ac590004 */ sw $t9,0x4($v0) +/* f148224: ac4e0000 */ sw $t6,0x0($v0) +/* f148228: ac580008 */ sw $t8,0x8($v0) +/* f14822c: 3c0efcff */ lui $t6,0xfcff +/* f148230: 3c19fffe */ lui $t9,0xfffe +/* f148234: 3c18ba00 */ lui $t8,0xba00 +/* f148238: 3739793c */ ori $t9,$t9,0x793c +/* f14823c: 35ceffff */ ori $t6,$t6,0xffff +/* f148240: 37180c02 */ ori $t8,$t8,0xc02 +/* f148244: 240f0204 */ li $t7,0x204 +/* f148248: ac4e0010 */ sw $t6,0x10($v0) +/* f14824c: ac590014 */ sw $t9,0x14($v0) +/* f148250: ac580018 */ sw $t8,0x18($v0) +/* f148254: ac4f000c */ sw $t7,0xc($v0) +/* f148258: 3c0eba00 */ lui $t6,0xba00 +/* f14825c: 3c180050 */ lui $t8,0x50 +/* f148260: 3c19b900 */ lui $t9,0xb900 +/* f148264: 240f2000 */ li $t7,0x2000 +/* f148268: 35ce1402 */ ori $t6,$t6,0x1402 +/* f14826c: 3739031d */ ori $t9,$t9,0x31d +/* f148270: 371841c8 */ ori $t8,$t8,0x41c8 +/* f148274: ac4f001c */ sw $t7,0x1c($v0) +/* f148278: ac4e0020 */ sw $t6,0x20($v0) +/* f14827c: ac400024 */ sw $zero,0x24($v0) +/* f148280: ac58002c */ sw $t8,0x2c($v0) +/* f148284: ac590028 */ sw $t9,0x28($v0) +/* f148288: 8faf02fc */ lw $t7,0x2fc($sp) +/* f14828c: 8fb902f8 */ lw $t9,0x2f8($sp) +/* f148290: 240100b4 */ li $at,0xb4 +/* f148294: 25ee003a */ addiu $t6,$t7,0x3a +/* f148298: 24550030 */ addiu $s5,$v0,0x30 +/* f14829c: 17210003 */ bne $t9,$at,.PB0f1482ac +/* f1482a0: afae02e8 */ sw $t6,0x2e8($sp) +/* f1482a4: 25c80005 */ addiu $t0,$t6,0x5 +/* f1482a8: afa802e8 */ sw $t0,0x2e8($sp) +.PB0f1482ac: +/* f1482ac: 8fa5007c */ lw $a1,0x7c($sp) +/* f1482b0: 3c013f00 */ lui $at,0x3f00 +/* f1482b4: 44815000 */ mtc1 $at,$f10 +/* f1482b8: 00a50019 */ multu $a1,$a1 +/* f1482bc: c7a60070 */ lwc1 $f6,0x70($sp) +/* f1482c0: 8fa802e8 */ lw $t0,0x2e8($sp) +/* f1482c4: 8faf0304 */ lw $t7,0x304($sp) +/* f1482c8: 460a3202 */ mul.s $f8,$f6,$f10 +/* f1482cc: 83ae00c3 */ lb $t6,0xc3($sp) +/* f1482d0: 00a88823 */ subu $s1,$a1,$t0 +/* f1482d4: 2631001a */ addiu $s1,$s1,0x1a +/* f1482d8: 25f90022 */ addiu $t9,$t7,0x22 +/* f1482dc: afb90078 */ sw $t9,0x78($sp) +/* f1482e0: 0000c012 */ mflo $t8 +/* f1482e4: afb80084 */ sw $t8,0x84($sp) +/* f1482e8: e7a8006c */ swc1 $f8,0x6c($sp) +/* f1482ec: 00009025 */ move $s2,$zero +/* f1482f0: 022e8023 */ subu $s0,$s1,$t6 +.PB0f1482f4: +/* f1482f4: 8fa400bc */ lw $a0,0xbc($sp) +/* f1482f8: 24130050 */ li $s3,0x50 +/* f1482fc: 24020056 */ li $v0,0x56 +/* f148300: 0244082a */ slt $at,$s2,$a0 +/* f148304: 10200003 */ beqz $at,.PB0f148314 +/* f148308: 00000000 */ nop +/* f14830c: 10000001 */ b .PB0f148314 +/* f148310: 24130028 */ li $s3,0x28 +.PB0f148314: +/* f148314: 0244082a */ slt $at,$s2,$a0 +/* f148318: 10200003 */ beqz $at,.PB0f148328 +/* f14831c: 00000000 */ nop +/* f148320: 10000001 */ b .PB0f148328 +/* f148324: 24020022 */ li $v0,0x22 +.PB0f148328: +/* f148328: 02100019 */ multu $s0,$s0 +/* f14832c: 8faf0084 */ lw $t7,0x84($sp) +/* f148330: 8fa30078 */ lw $v1,0x78($sp) +/* f148334: 0114c021 */ addu $t8,$t0,$s4 +/* f148338: afa80224 */ sw $t0,0x224($sp) +/* f14833c: afb8022c */ sw $t8,0x22c($sp) +/* f148340: a3a200cf */ sb $v0,0xcf($sp) +/* f148344: afa802e8 */ sw $t0,0x2e8($sp) +/* f148348: afa30220 */ sw $v1,0x220($sp) +/* f14834c: afa30228 */ sw $v1,0x228($sp) +/* f148350: 0000c812 */ mflo $t9 +/* f148354: 01f97023 */ subu $t6,$t7,$t9 +/* f148358: 448e2000 */ mtc1 $t6,$f4 +/* f14835c: afa302ec */ sw $v1,0x2ec($sp) +/* f148360: 0c012ae4 */ jal 0x4ab90 +/* f148364: 46802320 */ cvt.s.w $f12,$f4 +/* f148368: c7aa02a8 */ lwc1 $f10,0x2a8($sp) +/* f14836c: c7a6006c */ lwc1 $f6,0x6c($sp) +/* f148370: 83b900c3 */ lb $t9,0xc3($sp) +/* f148374: 460a0202 */ mul.s $f8,$f0,$f10 +/* f148378: 02348823 */ subu $s1,$s1,$s4 +/* f14837c: 3c0140a0 */ lui $at,0x40a0 +/* f148380: 02398023 */ subu $s0,$s1,$t9 +/* f148384: 02100019 */ multu $s0,$s0 +/* f148388: 44815000 */ mtc1 $at,$f10 +/* f14838c: 8fa802e8 */ lw $t0,0x2e8($sp) +/* f148390: 46083101 */ sub.s $f4,$f6,$f8 +/* f148394: 8fae0084 */ lw $t6,0x84($sp) +/* f148398: 01147821 */ addu $t7,$t0,$s4 +/* f14839c: afaf0234 */ sw $t7,0x234($sp) +/* f1483a0: 460a2181 */ sub.s $f6,$f4,$f10 +/* f1483a4: 0000c012 */ mflo $t8 +/* f1483a8: 4600320d */ trunc.w.s $f8,$f6 +/* f1483ac: 01d87823 */ subu $t7,$t6,$t8 +/* f1483b0: 448f2000 */ mtc1 $t7,$f4 +/* f1483b4: 44034000 */ mfc1 $v1,$f8 +/* f1483b8: 46802320 */ cvt.s.w $f12,$f4 +/* f1483bc: afa30238 */ sw $v1,0x238($sp) +/* f1483c0: 0c012ae4 */ jal 0x4ab90 +/* f1483c4: afa302ec */ sw $v1,0x2ec($sp) +/* f1483c8: c7a602a8 */ lwc1 $f6,0x2a8($sp) +/* f1483cc: c7aa006c */ lwc1 $f10,0x6c($sp) +/* f1483d0: 3c0140a0 */ lui $at,0x40a0 +/* f1483d4: 46060202 */ mul.s $f8,$f0,$f6 +/* f1483d8: 44813000 */ mtc1 $at,$f6 +/* f1483dc: 8fb802e8 */ lw $t8,0x2e8($sp) +/* f1483e0: 8ecf0284 */ lw $t7,0x284($s6) +/* f1483e4: 93a200cf */ lbu $v0,0xcf($sp) +/* f1483e8: afb8023c */ sw $t8,0x23c($sp) +/* f1483ec: 2631fffe */ addiu $s1,$s1,-2 +/* f1483f0: 46085101 */ sub.s $f4,$f10,$f8 +/* f1483f4: 2610fffe */ addiu $s0,$s0,-2 +/* f1483f8: 02a02025 */ move $a0,$s5 +/* f1483fc: 27a50220 */ addiu $a1,$sp,0x220 +/* f148400: 46062281 */ sub.s $f10,$f4,$f6 +/* f148404: 00003025 */ move $a2,$zero +/* f148408: 326700ff */ andi $a3,$s3,0xff +/* f14840c: 24010001 */ li $at,0x1 +/* f148410: 4600520d */ trunc.w.s $f8,$f10 +/* f148414: 440e4000 */ mfc1 $t6,$f8 +/* f148418: 00000000 */ nop +/* f14841c: afae02ec */ sw $t6,0x2ec($sp) +/* f148420: afae0230 */ sw $t6,0x230($sp) +/* f148424: 8df90480 */ lw $t9,0x480($t7) +/* f148428: 9323006b */ lbu $v1,0x6b($t9) +/* f14842c: 14600006 */ bnez $v1,.PB0f148448 +/* f148430: 00000000 */ nop +/* f148434: afa00010 */ sw $zero,0x10($sp) +/* f148438: 0fc51330 */ jal 0xf144cc0 +/* f14843c: afa20014 */ sw $v0,0x14($sp) +/* f148440: 10000017 */ b .PB0f1484a0 +/* f148444: 0040a825 */ move $s5,$v0 +.PB0f148448: +/* f148448: 1461000c */ bne $v1,$at,.PB0f14847c +/* f14844c: 02a02025 */ move $a0,$s5 +/* f148450: 00137080 */ sll $t6,$s3,0x2 +/* f148454: 01d37023 */ subu $t6,$t6,$s3 +/* f148458: afae0010 */ sw $t6,0x10($sp) +/* f14845c: 02a02025 */ move $a0,$s5 +/* f148460: 27a50220 */ addiu $a1,$sp,0x220 +/* f148464: 24060010 */ li $a2,0x10 +/* f148468: 326700ff */ andi $a3,$s3,0xff +/* f14846c: 0fc51330 */ jal 0xf144cc0 +/* f148470: afa20014 */ sw $v0,0x14($sp) +/* f148474: 1000000a */ b .PB0f1484a0 +/* f148478: 0040a825 */ move $s5,$v0 +.PB0f14847c: +/* f14847c: 00133883 */ sra $a3,$s3,0x2 +/* f148480: 30f800ff */ andi $t8,$a3,0xff +/* f148484: 03003825 */ move $a3,$t8 +/* f148488: 27a50220 */ addiu $a1,$sp,0x220 +/* f14848c: 326600ff */ andi $a2,$s3,0xff +/* f148490: afa00010 */ sw $zero,0x10($sp) +/* f148494: 0fc51330 */ jal 0xf144cc0 +/* f148498: afa20014 */ sw $v0,0x14($sp) +/* f14849c: 0040a825 */ move $s5,$v0 +.PB0f1484a0: +/* f1484a0: 8fa802e8 */ lw $t0,0x2e8($sp) +/* f1484a4: 26520001 */ addiu $s2,$s2,0x1 +/* f1484a8: 2a410011 */ slti $at,$s2,0x11 +/* f1484ac: 01144021 */ addu $t0,$t0,$s4 +/* f1484b0: 1420ff90 */ bnez $at,.PB0f1482f4 +/* f1484b4: 25080002 */ addiu $t0,$t0,0x2 +/* f1484b8: 8ecf0284 */ lw $t7,0x284($s6) +/* f1484bc: afa802e8 */ sw $t0,0x2e8($sp) +/* f1484c0: 3c014188 */ lui $at,0x4188 +/* f1484c4: 8df90480 */ lw $t9,0x480($t7) +/* f1484c8: 44813000 */ mtc1 $at,$f6 +/* f1484cc: 3c017f1b */ lui $at,0x7f1b +/* f1484d0: c7240060 */ lwc1 $f4,0x60($t9) +/* f1484d4: c4287f7c */ lwc1 $f8,0x7f7c($at) +/* f1484d8: 24180011 */ li $t8,0x11 +/* f1484dc: 46062282 */ mul.s $f10,$f4,$f6 +/* f1484e0: 8fa802fc */ lw $t0,0x2fc($sp) +/* f1484e4: 8faf02f8 */ lw $t7,0x2f8($sp) +/* f1484e8: 8fb9007c */ lw $t9,0x7c($sp) +/* f1484ec: 00009025 */ move $s2,$zero +/* f1484f0: 83ae00c3 */ lb $t6,0xc3($sp) +/* f1484f4: 46085102 */ mul.s $f4,$f10,$f8 +/* f1484f8: 4600218d */ trunc.w.s $f6,$f4 +/* f1484fc: 44043000 */ mfc1 $a0,$f6 +/* f148500: 00000000 */ nop +/* f148504: 28810012 */ slti $at,$a0,0x12 +/* f148508: 54200003 */ bnezl $at,.PB0f148518 +/* f14850c: 240100b4 */ li $at,0xb4 +/* f148510: 24040011 */ li $a0,0x11 +/* f148514: 240100b4 */ li $at,0xb4 +.PB0f148518: +/* f148518: 03042023 */ subu $a0,$t8,$a0 +/* f14851c: 15e10002 */ bne $t7,$at,.PB0f148528 +/* f148520: 2508002e */ addiu $t0,$t0,0x2e +/* f148524: 25080005 */ addiu $t0,$t0,0x5 +.PB0f148528: +/* f148528: 8fb80088 */ lw $t8,0x88($sp) +/* f14852c: 03288823 */ subu $s1,$t9,$t0 +/* f148530: 2631001a */ addiu $s1,$s1,0x1a +/* f148534: 270fffde */ addiu $t7,$t8,-34 +/* f148538: afaf0078 */ sw $t7,0x78($sp) +/* f14853c: 022e8023 */ subu $s0,$s1,$t6 +/* f148540: afa400bc */ sw $a0,0xbc($sp) +.PB0f148544: +/* f148544: 8fa400bc */ lw $a0,0xbc($sp) +/* f148548: 24130050 */ li $s3,0x50 +/* f14854c: 24020056 */ li $v0,0x56 +/* f148550: 0244082a */ slt $at,$s2,$a0 +/* f148554: 10200003 */ beqz $at,.PB0f148564 +/* f148558: 8fa30078 */ lw $v1,0x78($sp) +/* f14855c: 10000001 */ b .PB0f148564 +/* f148560: 24130028 */ li $s3,0x28 +.PB0f148564: +/* f148564: 0244082a */ slt $at,$s2,$a0 +/* f148568: 10200003 */ beqz $at,.PB0f148578 +/* f14856c: 00000000 */ nop +/* f148570: 10000001 */ b .PB0f148578 +/* f148574: 24020022 */ li $v0,0x22 +.PB0f148578: +/* f148578: 02100019 */ multu $s0,$s0 +/* f14857c: 8fae0084 */ lw $t6,0x84($sp) +/* f148580: 0114c821 */ addu $t9,$t0,$s4 +/* f148584: afa30220 */ sw $v1,0x220($sp) +/* f148588: afa80224 */ sw $t0,0x224($sp) +/* f14858c: afb9022c */ sw $t9,0x22c($sp) +/* f148590: afa30228 */ sw $v1,0x228($sp) +/* f148594: a3a200cf */ sb $v0,0xcf($sp) +/* f148598: afa302ec */ sw $v1,0x2ec($sp) +/* f14859c: afa400bc */ sw $a0,0xbc($sp) +/* f1485a0: 0000c012 */ mflo $t8 +/* f1485a4: 01d87823 */ subu $t7,$t6,$t8 +/* f1485a8: 448f5000 */ mtc1 $t7,$f10 +/* f1485ac: afa802e8 */ sw $t0,0x2e8($sp) +/* f1485b0: 0c012ae4 */ jal 0x4ab90 +/* f1485b4: 46805320 */ cvt.s.w $f12,$f10 +/* f1485b8: c7a802a8 */ lwc1 $f8,0x2a8($sp) +/* f1485bc: c7a6006c */ lwc1 $f6,0x6c($sp) +/* f1485c0: 83b800c3 */ lb $t8,0xc3($sp) +/* f1485c4: 46080102 */ mul.s $f4,$f0,$f8 +/* f1485c8: 02348823 */ subu $s1,$s1,$s4 +/* f1485cc: 3c0140a0 */ lui $at,0x40a0 +/* f1485d0: 02388023 */ subu $s0,$s1,$t8 +/* f1485d4: 02100019 */ multu $s0,$s0 +/* f1485d8: 44814000 */ mtc1 $at,$f8 +/* f1485dc: 8fa802e8 */ lw $t0,0x2e8($sp) +/* f1485e0: 46062280 */ add.s $f10,$f4,$f6 +/* f1485e4: 8faf0084 */ lw $t7,0x84($sp) +/* f1485e8: 01147021 */ addu $t6,$t0,$s4 +/* f1485ec: afae0234 */ sw $t6,0x234($sp) +/* f1485f0: 46085100 */ add.s $f4,$f10,$f8 +/* f1485f4: 0000c812 */ mflo $t9 +/* f1485f8: 4600218d */ trunc.w.s $f6,$f4 +/* f1485fc: 01f97023 */ subu $t6,$t7,$t9 +/* f148600: 448e5000 */ mtc1 $t6,$f10 +/* f148604: 44033000 */ mfc1 $v1,$f6 +/* f148608: 46805320 */ cvt.s.w $f12,$f10 +/* f14860c: afa30238 */ sw $v1,0x238($sp) +/* f148610: 0c012ae4 */ jal 0x4ab90 +/* f148614: afa302ec */ sw $v1,0x2ec($sp) +/* f148618: c7a802a8 */ lwc1 $f8,0x2a8($sp) +/* f14861c: c7a6006c */ lwc1 $f6,0x6c($sp) +/* f148620: 3c0140a0 */ lui $at,0x40a0 +/* f148624: 46080102 */ mul.s $f4,$f0,$f8 +/* f148628: 44814000 */ mtc1 $at,$f8 +/* f14862c: 8fb902e8 */ lw $t9,0x2e8($sp) +/* f148630: 8ece0284 */ lw $t6,0x284($s6) +/* f148634: 93a200cf */ lbu $v0,0xcf($sp) +/* f148638: afb9023c */ sw $t9,0x23c($sp) +/* f14863c: 2631fffe */ addiu $s1,$s1,-2 +/* f148640: 46062280 */ add.s $f10,$f4,$f6 +/* f148644: 2610fffe */ addiu $s0,$s0,-2 +/* f148648: 02a02025 */ move $a0,$s5 +/* f14864c: 27a50220 */ addiu $a1,$sp,0x220 +/* f148650: 46085100 */ add.s $f4,$f10,$f8 +/* f148654: 00003025 */ move $a2,$zero +/* f148658: 326700ff */ andi $a3,$s3,0xff +/* f14865c: 24010001 */ li $at,0x1 +/* f148660: 4600218d */ trunc.w.s $f6,$f4 +/* f148664: 440f3000 */ mfc1 $t7,$f6 +/* f148668: 00000000 */ nop +/* f14866c: afaf02ec */ sw $t7,0x2ec($sp) +/* f148670: afaf0230 */ sw $t7,0x230($sp) +/* f148674: 8dd80480 */ lw $t8,0x480($t6) +/* f148678: 9303006b */ lbu $v1,0x6b($t8) +/* f14867c: 14600006 */ bnez $v1,.PB0f148698 +/* f148680: 00000000 */ nop +/* f148684: afa00010 */ sw $zero,0x10($sp) +/* f148688: 0fc51330 */ jal 0xf144cc0 +/* f14868c: afa20014 */ sw $v0,0x14($sp) +/* f148690: 10000017 */ b .PB0f1486f0 +/* f148694: 0040a825 */ move $s5,$v0 +.PB0f148698: +/* f148698: 1461000c */ bne $v1,$at,.PB0f1486cc +/* f14869c: 02a02025 */ move $a0,$s5 +/* f1486a0: 00137880 */ sll $t7,$s3,0x2 +/* f1486a4: 01f37823 */ subu $t7,$t7,$s3 +/* f1486a8: afaf0010 */ sw $t7,0x10($sp) +/* f1486ac: 02a02025 */ move $a0,$s5 +/* f1486b0: 27a50220 */ addiu $a1,$sp,0x220 +/* f1486b4: 24060010 */ li $a2,0x10 +/* f1486b8: 326700ff */ andi $a3,$s3,0xff +/* f1486bc: 0fc51330 */ jal 0xf144cc0 +/* f1486c0: afa20014 */ sw $v0,0x14($sp) +/* f1486c4: 1000000a */ b .PB0f1486f0 +/* f1486c8: 0040a825 */ move $s5,$v0 +.PB0f1486cc: +/* f1486cc: 00133883 */ sra $a3,$s3,0x2 +/* f1486d0: 30f900ff */ andi $t9,$a3,0xff +/* f1486d4: 03203825 */ move $a3,$t9 +/* f1486d8: 27a50220 */ addiu $a1,$sp,0x220 +/* f1486dc: 326600ff */ andi $a2,$s3,0xff +/* f1486e0: afa00010 */ sw $zero,0x10($sp) +/* f1486e4: 0fc51330 */ jal 0xf144cc0 +/* f1486e8: afa20014 */ sw $v0,0x14($sp) +/* f1486ec: 0040a825 */ move $s5,$v0 +.PB0f1486f0: +/* f1486f0: 8fa802e8 */ lw $t0,0x2e8($sp) +/* f1486f4: 26520001 */ addiu $s2,$s2,0x1 +/* f1486f8: 24010011 */ li $at,0x11 +/* f1486fc: 01144021 */ addu $t0,$t0,$s4 +/* f148700: 1641ff90 */ bne $s2,$at,.PB0f148544 +/* f148704: 25080002 */ addiu $t0,$t0,0x2 +/* f148708: afa802e8 */ sw $t0,0x2e8($sp) +.PB0f14870c: +/* f14870c: 0fc3539a */ jal 0xf0d4e68 +/* f148710: 02a02025 */ move $a0,$s5 +.PB0f148714: +/* f148714: 8fbf0054 */ lw $ra,0x54($sp) +/* f148718: 8fb00038 */ lw $s0,0x38($sp) +/* f14871c: 8fb1003c */ lw $s1,0x3c($sp) +/* f148720: 8fb20040 */ lw $s2,0x40($sp) +/* f148724: 8fb30044 */ lw $s3,0x44($sp) +/* f148728: 8fb40048 */ lw $s4,0x48($sp) +/* f14872c: 8fb5004c */ lw $s5,0x4c($sp) +/* f148730: 8fb60050 */ lw $s6,0x50($sp) +/* f148734: 03e00008 */ jr $ra +/* f148738: 27bd0408 */ addiu $sp,$sp,0x408 +); #elif VERSION >= VERSION_NTSC_1_0 /** * Renders the eyespy user interface, excluding the fisheye lens. The lens is diff --git a/src/game/bondwalk.c b/src/game/bondwalk.c index 60164c2fa..ee893928f 100644 --- a/src/game/bondwalk.c +++ b/src/game/bondwalk.c @@ -4892,6 +4892,1053 @@ glabel var7f1ad854 /* f0c7dec: 03e00008 */ jr $ra /* f0c7df0: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel bwalk0f0c69b8 +.late_rodata +glabel var7f1ad7fc +.word 0xc27e6668 +glabel var7f1ad800 +.word 0x43b0aaaa +glabel var7f1ad804 +.word 0x3ecccccd +glabel var7f1ad808 +.word 0x3c888889 +glabel var7f1ad80c +.word 0x404907a9 +glabel var7f1ad810 +.word 0x3eb33333 +glabel var7f1ad814 +.word 0x3eb33333 +glabel var7f1ad818 +.word 0x4099999a +glabel var7f1ad81c +.word 0x3df5c290 +glabel var7f1ad820 +.word 0x3eb33333 +glabel var7f1ad824 +.word 0x3f4ccccd +glabel var7f1ad828 +.word 0x3dcccccd +glabel var7f1ad82c +.word 0x3f4ccccd +glabel var7f1ad830 +.word 0x4528c000 +glabel var7f1ad834 +.word 0x3ecccccd +glabel var7f1ad838 +.word 0x3ecccccd +glabel var7f1ad83c +.word 0x3e99999a +glabel var7f1ad840 +.word 0x3f8ccccd +glabel var7f1ad844 +.word 0x3e99999a +glabel var7f1ad848 +.word 0x3e99999a +glabel var7f1ad84c +.word 0x3f333333 +glabel var7f1ad850 +.word 0x3f99999a +glabel var7f1ad854 +.word 0x3c8ef461 +.text +/* f0c6e60: 27bdff18 */ addiu $sp,$sp,-232 +/* f0c6e64: 3c0f8007 */ lui $t7,0x8007 +/* f0c6e68: afbf0024 */ sw $ra,0x24($sp) +/* f0c6e6c: f7b40018 */ sdc1 $f20,0x18($sp) +/* f0c6e70: 25ef2b38 */ addiu $t7,$t7,0x2b38 +/* f0c6e74: 8de10000 */ lw $at,0x0($t7) +/* f0c6e78: 27ae00cc */ addiu $t6,$sp,0xcc +/* f0c6e7c: 8de90004 */ lw $t1,0x4($t7) +/* f0c6e80: adc10000 */ sw $at,0x0($t6) +/* f0c6e84: 8de10008 */ lw $at,0x8($t7) +/* f0c6e88: 3c08800a */ lui $t0,0x800a +/* f0c6e8c: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c6e90: adc90004 */ sw $t1,0x4($t6) +/* f0c6e94: adc10008 */ sw $at,0x8($t6) +/* f0c6e98: 8d0a0284 */ lw $t2,0x284($t0) +/* f0c6e9c: 3c01431f */ lui $at,0x431f +/* f0c6ea0: 44813000 */ mtc1 $at,$f6 +/* f0c6ea4: c54419c4 */ lwc1 $f4,0x19c4($t2) +/* f0c6ea8: 46062201 */ sub.s $f8,$f4,$f6 +/* f0c6eac: 0fc44c39 */ jal 0xf1130e4 +/* f0c6eb0: e7a800c0 */ swc1 $f8,0xc0($sp) +/* f0c6eb4: 3c08800a */ lui $t0,0x800a +/* f0c6eb8: 1040000a */ beqz $v0,.PB0f0c6ee4 +/* f0c6ebc: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c6ec0: 3c02800b */ lui $v0,0x800b +/* f0c6ec4: 904211b8 */ lbu $v0,0x11b8($v0) +/* f0c6ec8: 24010001 */ li $at,0x1 +/* f0c6ecc: 10410002 */ beq $v0,$at,.PB0f0c6ed8 +/* f0c6ed0: 24010005 */ li $at,0x5 +/* f0c6ed4: 14410003 */ bne $v0,$at,.PB0f0c6ee4 +.PB0f0c6ed8: +/* f0c6ed8: 3c017f1b */ lui $at,0x7f1b +/* f0c6edc: c420f51c */ lwc1 $f0,-0xae4($at) +/* f0c6ee0: e7a000c0 */ swc1 $f0,0xc0($sp) +.PB0f0c6ee4: +/* f0c6ee4: 3c017f1b */ lui $at,0x7f1b +/* f0c6ee8: c7a000c0 */ lwc1 $f0,0xc0($sp) +/* f0c6eec: c42af520 */ lwc1 $f10,-0xae0($at) +/* f0c6ef0: 8d0b0318 */ lw $t3,0x318($t0) +/* f0c6ef4: 3c013f80 */ lui $at,0x3f80 +/* f0c6ef8: 460a0103 */ div.s $f4,$f0,$f10 +/* f0c6efc: 44813000 */ mtc1 $at,$f6 +/* f0c6f00: 3c0c800b */ lui $t4,0x800b +/* f0c6f04: 2404000a */ li $a0,0xa +/* f0c6f08: 1160000a */ beqz $t3,.PB0f0c6f34 +/* f0c6f0c: 46062000 */ add.s $f0,$f4,$f6 +/* f0c6f10: 8d8c11b4 */ lw $t4,0x11b4($t4) +/* f0c6f14: 3c013fa0 */ lui $at,0x3fa0 +/* f0c6f18: 318d0100 */ andi $t5,$t4,0x100 +/* f0c6f1c: 11a00005 */ beqz $t5,.PB0f0c6f34 +/* f0c6f20: 00000000 */ nop +/* f0c6f24: 44814000 */ mtc1 $at,$f8 +/* f0c6f28: 00000000 */ nop +/* f0c6f2c: 46080002 */ mul.s $f0,$f0,$f8 +/* f0c6f30: 00000000 */ nop +.PB0f0c6f34: +/* f0c6f34: 0fc41d39 */ jal 0xf1074e4 +/* f0c6f38: e7a000c0 */ swc1 $f0,0xc0($sp) +/* f0c6f3c: 3c08800a */ lui $t0,0x800a +/* f0c6f40: 10400006 */ beqz $v0,.PB0f0c6f5c +/* f0c6f44: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c6f48: 3c017f1b */ lui $at,0x7f1b +/* f0c6f4c: c424f524 */ lwc1 $f4,-0xadc($at) +/* f0c6f50: c7aa00c0 */ lwc1 $f10,0xc0($sp) +/* f0c6f54: 46045182 */ mul.s $f6,$f10,$f4 +/* f0c6f58: e7a600c0 */ swc1 $f6,0xc0($sp) +.PB0f0c6f5c: +/* f0c6f5c: 8d030284 */ lw $v1,0x284($t0) +/* f0c6f60: 8c791af8 */ lw $t9,0x1af8($v1) +/* f0c6f64: 1320003f */ beqz $t9,.PB0f0c7064 +/* f0c6f68: 3c013f80 */ lui $at,0x3f80 +/* f0c6f6c: 44811000 */ mtc1 $at,$f2 +/* f0c6f70: 3c017f1b */ lui $at,0x7f1b +/* f0c6f74: c42af528 */ lwc1 $f10,-0xad8($at) +/* f0c6f78: c508004c */ lwc1 $f8,0x4c($t0) +/* f0c6f7c: c4661b48 */ lwc1 $f6,0x1b48($v1) +/* f0c6f80: 3c017f1b */ lui $at,0x7f1b +/* f0c6f84: 460a4102 */ mul.s $f4,$f8,$f10 +/* f0c6f88: 46043200 */ add.s $f8,$f6,$f4 +/* f0c6f8c: e4681b48 */ swc1 $f8,0x1b48($v1) +/* f0c6f90: 8d030284 */ lw $v1,0x284($t0) +/* f0c6f94: c4601b48 */ lwc1 $f0,0x1b48($v1) +/* f0c6f98: 4600103e */ c.le.s $f2,$f0 +/* f0c6f9c: 00000000 */ nop +/* f0c6fa0: 45000006 */ bc1f .PB0f0c6fbc +/* f0c6fa4: 00000000 */ nop +/* f0c6fa8: e4621b48 */ swc1 $f2,0x1b48($v1) +/* f0c6fac: 8d180284 */ lw $t8,0x284($t0) +/* f0c6fb0: af001af8 */ sw $zero,0x1af8($t8) +/* f0c6fb4: 8d0e0284 */ lw $t6,0x284($t0) +/* f0c6fb8: c5c01b48 */ lwc1 $f0,0x1b48($t6) +.PB0f0c6fbc: +/* f0c6fbc: c42af52c */ lwc1 $f10,-0xad4($at) +/* f0c6fc0: 460a0302 */ mul.s $f12,$f0,$f10 +/* f0c6fc4: 0c006b88 */ jal 0x1ae20 +/* f0c6fc8: 00000000 */ nop +/* f0c6fcc: 3c013f80 */ lui $at,0x3f80 +/* f0c6fd0: 44811000 */ mtc1 $at,$f2 +/* f0c6fd4: 3c013f00 */ lui $at,0x3f00 +/* f0c6fd8: 44812000 */ mtc1 $at,$f4 +/* f0c6fdc: 46020180 */ add.s $f6,$f0,$f2 +/* f0c6fe0: 3c08800a */ lui $t0,0x800a +/* f0c6fe4: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c6fe8: 8d0f0284 */ lw $t7,0x284($t0) +/* f0c6fec: 46043202 */ mul.s $f8,$f6,$f4 +/* f0c6ff0: 4480a000 */ mtc1 $zero,$f20 +/* f0c6ff4: 00000000 */ nop +/* f0c6ff8: 4406a000 */ mfc1 $a2,$f20 +/* f0c6ffc: 4600a306 */ mov.s $f12,$f20 +/* f0c7000: 4600a386 */ mov.s $f14,$f20 +/* f0c7004: 46081281 */ sub.s $f10,$f2,$f8 +/* f0c7008: e5ea1b4c */ swc1 $f10,0x1b4c($t7) +/* f0c700c: 8d030284 */ lw $v1,0x284($t0) +/* f0c7010: c4661b4c */ lwc1 $f6,0x1b4c($v1) +/* f0c7014: 24671b08 */ addiu $a3,$v1,0x1b08 +/* f0c7018: 46061101 */ sub.s $f4,$f2,$f6 +/* f0c701c: 0fc33212 */ jal 0xf0cc848 +/* f0c7020: e7a40010 */ swc1 $f4,0x10($sp) +/* f0c7024: 3c08800a */ lui $t0,0x800a +/* f0c7028: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c702c: 8d090284 */ lw $t1,0x284($t0) +/* f0c7030: 27a400cc */ addiu $a0,$sp,0xcc +/* f0c7034: 0fc32ff6 */ jal 0xf0cbfd8 +/* f0c7038: e53400cc */ swc1 $f20,0xcc($t1) +/* f0c703c: 4405a000 */ mfc1 $a1,$f20 +/* f0c7040: 4407a000 */ mfc1 $a3,$f20 +/* f0c7044: 240a003f */ li $t2,0x3f +/* f0c7048: afaa0010 */ sw $t2,0x10($sp) +/* f0c704c: 27a400cc */ addiu $a0,$sp,0xcc +/* f0c7050: 0fc311b8 */ jal 0xf0c46e0 +/* f0c7054: 24060001 */ li $a2,0x1 +/* f0c7058: 3c08800a */ lui $t0,0x800a +/* f0c705c: 100002e6 */ b .PB0f0c7bf8 +/* f0c7060: 2508e4d0 */ addiu $t0,$t0,-6960 +.PB0f0c7064: +/* f0c7064: 0fc31924 */ jal 0xf0c6490 +/* f0c7068: 00000000 */ nop +/* f0c706c: 0fc3198a */ jal 0xf0c6628 +/* f0c7070: 00000000 */ nop +/* f0c7074: 3c08800a */ lui $t0,0x800a +/* f0c7078: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c707c: 8d030284 */ lw $v1,0x284($t0) +/* f0c7080: 27a400c8 */ addiu $a0,$sp,0xc8 +/* f0c7084: 27a500c4 */ addiu $a1,$sp,0xc4 +/* f0c7088: c468014c */ lwc1 $f8,0x14c($v1) +/* f0c708c: 8c670150 */ lw $a3,0x150($v1) +/* f0c7090: 2466017c */ addiu $a2,$v1,0x17c +/* f0c7094: 0fc32fc6 */ jal 0xf0cbf18 +/* f0c7098: e7a80010 */ swc1 $f8,0x10($sp) +/* f0c709c: 3c08800a */ lui $t0,0x800a +/* f0c70a0: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c70a4: 8d030284 */ lw $v1,0x284($t0) +/* f0c70a8: 3c01c234 */ lui $at,0xc234 +/* f0c70ac: c7a800c0 */ lwc1 $f8,0xc0($sp) +/* f0c70b0: c46c00a0 */ lwc1 $f12,0xa0($v1) +/* f0c70b4: c46a0374 */ lwc1 $f10,0x374($v1) +/* f0c70b8: c464036c */ lwc1 $f4,0x36c($v1) +/* f0c70bc: 46006187 */ neg.s $f6,$f12 +/* f0c70c0: c47000b4 */ lwc1 $f16,0xb4($v1) +/* f0c70c4: 46065002 */ mul.s $f0,$f10,$f6 +/* f0c70c8: 44815000 */ mtc1 $at,$f10 +/* f0c70cc: 4480a000 */ mtc1 $zero,$f20 +/* f0c70d0: 460c2082 */ mul.s $f2,$f4,$f12 +/* f0c70d4: 460a803c */ c.lt.s $f16,$f10 +/* f0c70d8: 4600a386 */ mov.s $f14,$f20 +/* f0c70dc: 46080002 */ mul.s $f0,$f0,$f8 +/* f0c70e0: 00000000 */ nop +/* f0c70e4: 46081082 */ mul.s $f2,$f2,$f8 +/* f0c70e8: 4500000a */ bc1f .PB0f0c7114 +/* f0c70ec: 00000000 */ nop +/* f0c70f0: 3c017f1b */ lui $at,0x7f1b +/* f0c70f4: c426f530 */ lwc1 $f6,-0xad0($at) +/* f0c70f8: 3c017f1b */ lui $at,0x7f1b +/* f0c70fc: c424f534 */ lwc1 $f4,-0xacc($at) +/* f0c7100: 46060002 */ mul.s $f0,$f0,$f6 +/* f0c7104: 00000000 */ nop +/* f0c7108: 46041082 */ mul.s $f2,$f2,$f4 +/* f0c710c: 1000000b */ b .PB0f0c713c +/* f0c7110: 00000000 */ nop +.PB0f0c7114: +/* f0c7114: 4614803c */ c.lt.s $f16,$f20 +/* f0c7118: 3c013f00 */ lui $at,0x3f00 +/* f0c711c: 45020008 */ bc1fl .PB0f0c7140 +/* f0c7120: c46600a4 */ lwc1 $f6,0xa4($v1) +/* f0c7124: 44814000 */ mtc1 $at,$f8 +/* f0c7128: 44815000 */ mtc1 $at,$f10 +/* f0c712c: 46080002 */ mul.s $f0,$f0,$f8 +/* f0c7130: 00000000 */ nop +/* f0c7134: 460a1082 */ mul.s $f2,$f2,$f10 +/* f0c7138: 00000000 */ nop +.PB0f0c713c: +/* f0c713c: c46600a4 */ lwc1 $f6,0xa4($v1) +.PB0f0c7140: +/* f0c7140: c46400a8 */ lwc1 $f4,0xa8($v1) +/* f0c7144: e7ae00a8 */ swc1 $f14,0xa8($sp) +/* f0c7148: 46060401 */ sub.s $f16,$f0,$f6 +/* f0c714c: 46041481 */ sub.s $f18,$f2,$f4 +/* f0c7150: 46108202 */ mul.s $f8,$f16,$f16 +/* f0c7154: e7b000b4 */ swc1 $f16,0xb4($sp) +/* f0c7158: 46129282 */ mul.s $f10,$f18,$f18 +/* f0c715c: e7b200b0 */ swc1 $f18,0xb0($sp) +/* f0c7160: 0c012ae4 */ jal 0x4ab90 +/* f0c7164: 460a4300 */ add.s $f12,$f8,$f10 +/* f0c7168: 3c08800a */ lui $t0,0x800a +/* f0c716c: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7170: 3c017f1b */ lui $at,0x7f1b +/* f0c7174: c422f538 */ lwc1 $f2,-0xac8($at) +/* f0c7178: c512004c */ lwc1 $f18,0x4c($t0) +/* f0c717c: c7ae00a8 */ lwc1 $f14,0xa8($sp) +/* f0c7180: 4612103c */ c.lt.s $f2,$f18 +/* f0c7184: 00000000 */ nop +/* f0c7188: 45020005 */ bc1fl .PB0f0c71a0 +/* f0c718c: 46009306 */ mov.s $f12,$f18 +/* f0c7190: 46001306 */ mov.s $f12,$f2 +/* f0c7194: 10000003 */ b .PB0f0c71a4 +/* f0c7198: 24030004 */ li $v1,0x4 +/* f0c719c: 46009306 */ mov.s $f12,$f18 +.PB0f0c71a0: +/* f0c71a0: 8d030038 */ lw $v1,0x38($t0) +.PB0f0c71a4: +/* f0c71a4: 18600008 */ blez $v1,.PB0f0c71c8 +/* f0c71a8: 00001025 */ move $v0,$zero +/* f0c71ac: 3c017f1b */ lui $at,0x7f1b +/* f0c71b0: c422f53c */ lwc1 $f2,-0xac4($at) +.PB0f0c71b4: +/* f0c71b4: 460e0181 */ sub.s $f6,$f0,$f14 +/* f0c71b8: 24420001 */ addiu $v0,$v0,0x1 +/* f0c71bc: 46023102 */ mul.s $f4,$f6,$f2 +/* f0c71c0: 1443fffc */ bne $v0,$v1,.PB0f0c71b4 +/* f0c71c4: 46047380 */ add.s $f14,$f14,$f4 +.PB0f0c71c8: +/* f0c71c8: 3c014070 */ lui $at,0x4070 +/* f0c71cc: 44814000 */ mtc1 $at,$f8 +/* f0c71d0: 8d030284 */ lw $v1,0x284($t0) +/* f0c71d4: 3c01c234 */ lui $at,0xc234 +/* f0c71d8: 44813000 */ mtc1 $at,$f6 +/* f0c71dc: c47000b4 */ lwc1 $f16,0xb4($v1) +/* f0c71e0: 460c4282 */ mul.s $f10,$f8,$f12 +/* f0c71e4: 4606803c */ c.lt.s $f16,$f6 +/* f0c71e8: 00000000 */ nop +/* f0c71ec: 45000006 */ bc1f .PB0f0c7208 +/* f0c71f0: 460a7380 */ add.s $f14,$f14,$f10 +/* f0c71f4: 3c017f1b */ lui $at,0x7f1b +/* f0c71f8: c424f540 */ lwc1 $f4,-0xac0($at) +/* f0c71fc: 46047382 */ mul.s $f14,$f14,$f4 +/* f0c7200: 1000000a */ b .PB0f0c722c +/* f0c7204: 4600703c */ c.lt.s $f14,$f0 +.PB0f0c7208: +/* f0c7208: 4614803c */ c.lt.s $f16,$f20 +/* f0c720c: 3c013f00 */ lui $at,0x3f00 +/* f0c7210: 45020006 */ bc1fl .PB0f0c722c +/* f0c7214: 4600703c */ c.lt.s $f14,$f0 +/* f0c7218: 44814000 */ mtc1 $at,$f8 +/* f0c721c: 00000000 */ nop +/* f0c7220: 46087382 */ mul.s $f14,$f14,$f8 +/* f0c7224: 00000000 */ nop +/* f0c7228: 4600703c */ c.lt.s $f14,$f0 +.PB0f0c722c: +/* f0c722c: 00000000 */ nop +/* f0c7230: 4502000a */ bc1fl .PB0f0c725c +/* f0c7234: c46a0168 */ lwc1 $f10,0x168($v1) +/* f0c7238: 46007383 */ div.s $f14,$f14,$f0 +/* f0c723c: c7aa00b4 */ lwc1 $f10,0xb4($sp) +/* f0c7240: c7a400b0 */ lwc1 $f4,0xb0($sp) +/* f0c7244: 460e5182 */ mul.s $f6,$f10,$f14 +/* f0c7248: 00000000 */ nop +/* f0c724c: 460e2202 */ mul.s $f8,$f4,$f14 +/* f0c7250: e7a600b4 */ swc1 $f6,0xb4($sp) +/* f0c7254: e7a800b0 */ swc1 $f8,0xb0($sp) +/* f0c7258: c46a0168 */ lwc1 $f10,0x168($v1) +.PB0f0c725c: +/* f0c725c: c7a600c4 */ lwc1 $f6,0xc4($sp) +/* f0c7260: 3c017f1b */ lui $at,0x7f1b +/* f0c7264: c42ef544 */ lwc1 $f14,-0xabc($at) +/* f0c7268: 46065100 */ add.s $f4,$f10,$f6 +/* f0c726c: c4660148 */ lwc1 $f6,0x148($v1) +/* f0c7270: c7aa00c8 */ lwc1 $f10,0xc8($sp) +/* f0c7274: c4680170 */ lwc1 $f8,0x170($v1) +/* f0c7278: 460e2082 */ mul.s $f2,$f4,$f14 +/* f0c727c: 3c017f1b */ lui $at,0x7f1b +/* f0c7280: 460a4300 */ add.s $f12,$f8,$f10 +/* f0c7284: 460e3402 */ mul.s $f16,$f6,$f14 +/* f0c7288: 4614103c */ c.lt.s $f2,$f20 +/* f0c728c: 00000000 */ nop +/* f0c7290: 45020003 */ bc1fl .PB0f0c72a0 +/* f0c7294: 4614603c */ c.lt.s $f12,$f20 +/* f0c7298: 46001087 */ neg.s $f2,$f2 +/* f0c729c: 4614603c */ c.lt.s $f12,$f20 +.PB0f0c72a0: +/* f0c72a0: 00000000 */ nop +/* f0c72a4: 45020003 */ bc1fl .PB0f0c72b4 +/* f0c72a8: 4614803c */ c.lt.s $f16,$f20 +/* f0c72ac: 46006307 */ neg.s $f12,$f12 +/* f0c72b0: 4614803c */ c.lt.s $f16,$f20 +.PB0f0c72b4: +/* f0c72b4: 00000000 */ nop +/* f0c72b8: 45020003 */ bc1fl .PB0f0c72c8 +/* f0c72bc: 4602603c */ c.lt.s $f12,$f2 +/* f0c72c0: 46008407 */ neg.s $f16,$f16 +/* f0c72c4: 4602603c */ c.lt.s $f12,$f2 +.PB0f0c72c8: +/* f0c72c8: 46006386 */ mov.s $f14,$f12 +/* f0c72cc: 45020003 */ bc1fl .PB0f0c72dc +/* f0c72d0: 4610703c */ c.lt.s $f14,$f16 +/* f0c72d4: 46001386 */ mov.s $f14,$f2 +/* f0c72d8: 4610703c */ c.lt.s $f14,$f16 +.PB0f0c72dc: +/* f0c72dc: 00000000 */ nop +/* f0c72e0: 45000002 */ bc1f .PB0f0c72ec +/* f0c72e4: 00000000 */ nop +/* f0c72e8: 46008386 */ mov.s $f14,$f16 +.PB0f0c72ec: +/* f0c72ec: c424f548 */ lwc1 $f4,-0xab8($at) +/* f0c72f0: 4600203e */ c.le.s $f4,$f0 +/* f0c72f4: 00000000 */ nop +/* f0c72f8: 45000007 */ bc1f .PB0f0c7318 +/* f0c72fc: 3c017f1b */ lui $at,0x7f1b +/* f0c7300: c420f54c */ lwc1 $f0,-0xab4($at) +/* f0c7304: 4600703c */ c.lt.s $f14,$f0 +/* f0c7308: 00000000 */ nop +/* f0c730c: 45020003 */ bc1fl .PB0f0c731c +/* f0c7310: 3c013f40 */ lui $at,0x3f40 +/* f0c7314: 46000386 */ mov.s $f14,$f0 +.PB0f0c7318: +/* f0c7318: 3c013f40 */ lui $at,0x3f40 +.PB0f0c731c: +/* f0c731c: 44810000 */ mtc1 $at,$f0 +/* f0c7320: 00000000 */ nop +/* f0c7324: 460e003e */ c.le.s $f0,$f14 +/* f0c7328: 00000000 */ nop +/* f0c732c: 4502000b */ bc1fl .PB0f0c735c +/* f0c7330: 460e0181 */ sub.s $f6,$f0,$f14 +/* f0c7334: 46007201 */ sub.s $f8,$f14,$f0 +/* f0c7338: 3c014461 */ lui $at,0x4461 +/* f0c733c: 44813000 */ mtc1 $at,$f6 +/* f0c7340: 46124282 */ mul.s $f10,$f8,$f18 +/* f0c7344: c4680198 */ lwc1 $f8,0x198($v1) +/* f0c7348: 46065103 */ div.s $f4,$f10,$f6 +/* f0c734c: 46044280 */ add.s $f10,$f8,$f4 +/* f0c7350: 10000009 */ b .PB0f0c7378 +/* f0c7354: e46a0198 */ swc1 $f10,0x198($v1) +/* f0c7358: 460e0181 */ sub.s $f6,$f0,$f14 +.PB0f0c735c: +/* f0c735c: 3c017f1b */ lui $at,0x7f1b +/* f0c7360: c424f550 */ lwc1 $f4,-0xab0($at) +/* f0c7364: 46123202 */ mul.s $f8,$f6,$f18 +/* f0c7368: c4660198 */ lwc1 $f6,0x198($v1) +/* f0c736c: 46044283 */ div.s $f10,$f8,$f4 +/* f0c7370: 460a3201 */ sub.s $f8,$f6,$f10 +/* f0c7374: e4680198 */ swc1 $f8,0x198($v1) +.PB0f0c7378: +/* f0c7378: 8d030284 */ lw $v1,0x284($t0) +/* f0c737c: c4600198 */ lwc1 $f0,0x198($v1) +/* f0c7380: 4614003c */ c.lt.s $f0,$f20 +/* f0c7384: 00000000 */ nop +/* f0c7388: 45020005 */ bc1fl .PB0f0c73a0 +/* f0c738c: 3c013f80 */ lui $at,0x3f80 +/* f0c7390: e4740198 */ swc1 $f20,0x198($v1) +/* f0c7394: 1000000c */ b .PB0f0c73c8 +/* f0c7398: 8d030284 */ lw $v1,0x284($t0) +/* f0c739c: 3c013f80 */ lui $at,0x3f80 +.PB0f0c73a0: +/* f0c73a0: 44812000 */ mtc1 $at,$f4 +/* f0c73a4: 3c013f80 */ lui $at,0x3f80 +/* f0c73a8: 4600203c */ c.lt.s $f4,$f0 +/* f0c73ac: 00000000 */ nop +/* f0c73b0: 45000005 */ bc1f .PB0f0c73c8 +/* f0c73b4: 00000000 */ nop +/* f0c73b8: 44813000 */ mtc1 $at,$f6 +/* f0c73bc: 00000000 */ nop +/* f0c73c0: e4660198 */ swc1 $f6,0x198($v1) +/* f0c73c4: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c73c8: +/* f0c73c8: 3c018007 */ lui $at,0x8007 +/* f0c73cc: c42a7a04 */ lwc1 $f10,0x7a04($at) +/* f0c73d0: 3c013f00 */ lui $at,0x3f00 +/* f0c73d4: 44814000 */ mtc1 $at,$f8 +/* f0c73d8: c506004c */ lwc1 $f6,0x4c($t0) +/* f0c73dc: 2404000a */ li $a0,0xa +/* f0c73e0: 46085102 */ mul.s $f4,$f10,$f8 +/* f0c73e4: c7a800c0 */ lwc1 $f8,0xc0($sp) +/* f0c73e8: c46a0168 */ lwc1 $f10,0x168($v1) +/* f0c73ec: e7ae0078 */ swc1 $f14,0x78($sp) +/* f0c73f0: 46062002 */ mul.s $f0,$f4,$f6 +/* f0c73f4: c7a600c4 */ lwc1 $f6,0xc4($sp) +/* f0c73f8: 46085102 */ mul.s $f4,$f10,$f8 +/* f0c73fc: 46062280 */ add.s $f10,$f4,$f6 +/* f0c7400: 46005082 */ mul.s $f2,$f10,$f0 +/* f0c7404: 0fc41d39 */ jal 0xf1074e4 +/* f0c7408: e7a200e0 */ swc1 $f2,0xe0($sp) +/* f0c740c: 3c08800a */ lui $t0,0x800a +/* f0c7410: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7414: 10400004 */ beqz $v0,.PB0f0c7428 +/* f0c7418: c7a200e0 */ lwc1 $f2,0xe0($sp) +/* f0c741c: 3c017f1b */ lui $at,0x7f1b +/* f0c7420: c428f554 */ lwc1 $f8,-0xaac($at) +/* f0c7424: 46081083 */ div.s $f2,$f2,$f8 +.PB0f0c7428: +/* f0c7428: 8d0b0284 */ lw $t3,0x284($t0) +/* f0c742c: c7a600c0 */ lwc1 $f6,0xc0($sp) +/* f0c7430: c7a800c8 */ lwc1 $f8,0xc8($sp) +/* f0c7434: c5640170 */ lwc1 $f4,0x170($t3) +/* f0c7438: 44061000 */ mfc1 $a2,$f2 +/* f0c743c: c7ac0078 */ lwc1 $f12,0x78($sp) +/* f0c7440: 46062282 */ mul.s $f10,$f4,$f6 +/* f0c7444: 0fc332b9 */ jal 0xf0ccae4 +/* f0c7448: 46085380 */ add.s $f14,$f10,$f8 +/* f0c744c: 3c08800a */ lui $t0,0x800a +/* f0c7450: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7454: 8d0c0284 */ lw $t4,0x284($t0) +/* f0c7458: c7a40078 */ lwc1 $f4,0x78($sp) +/* f0c745c: 2404000a */ li $a0,0xa +/* f0c7460: e58400cc */ swc1 $f4,0xcc($t4) +/* f0c7464: 8d030284 */ lw $v1,0x284($t0) +/* f0c7468: c46003c0 */ lwc1 $f0,0x3c0($v1) +/* f0c746c: c46203c8 */ lwc1 $f2,0x3c8($v1) +/* f0c7470: e7a000dc */ swc1 $f0,0xdc($sp) +/* f0c7474: 0fc41d39 */ jal 0xf1074e4 +/* f0c7478: e7a200d8 */ swc1 $f2,0xd8($sp) +/* f0c747c: 3c08800a */ lui $t0,0x800a +/* f0c7480: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7484: c7a000dc */ lwc1 $f0,0xdc($sp) +/* f0c7488: 10400005 */ beqz $v0,.PB0f0c74a0 +/* f0c748c: c7a200d8 */ lwc1 $f2,0xd8($sp) +/* f0c7490: 3c017f1b */ lui $at,0x7f1b +/* f0c7494: c426f558 */ lwc1 $f6,-0xaa8($at) +/* f0c7498: 46060002 */ mul.s $f0,$f0,$f6 +/* f0c749c: 00000000 */ nop +.PB0f0c74a0: +/* f0c74a0: 8d030284 */ lw $v1,0x284($t0) +/* f0c74a4: c512004c */ lwc1 $f18,0x4c($t0) +/* f0c74a8: 27a400cc */ addiu $a0,$sp,0xcc +/* f0c74ac: c46a036c */ lwc1 $f10,0x36c($v1) +/* f0c74b0: c4640374 */ lwc1 $f4,0x374($v1) +/* f0c74b4: 460a1202 */ mul.s $f8,$f2,$f10 +/* f0c74b8: 00000000 */ nop +/* f0c74bc: 46040182 */ mul.s $f6,$f0,$f4 +/* f0c74c0: 46064281 */ sub.s $f10,$f8,$f6 +/* f0c74c4: c7a800cc */ lwc1 $f8,0xcc($sp) +/* f0c74c8: 46125102 */ mul.s $f4,$f10,$f18 +/* f0c74cc: 46044180 */ add.s $f6,$f8,$f4 +/* f0c74d0: e7a600cc */ swc1 $f6,0xcc($sp) +/* f0c74d4: c46a0374 */ lwc1 $f10,0x374($v1) +/* f0c74d8: c464036c */ lwc1 $f4,0x36c($v1) +/* f0c74dc: 460a1202 */ mul.s $f8,$f2,$f10 +/* f0c74e0: 00000000 */ nop +/* f0c74e4: 46040282 */ mul.s $f10,$f0,$f4 +/* f0c74e8: 460a4100 */ add.s $f4,$f8,$f10 +/* f0c74ec: c7aa00d4 */ lwc1 $f10,0xd4($sp) +/* f0c74f0: 46122202 */ mul.s $f8,$f4,$f18 +/* f0c74f4: 46085100 */ add.s $f4,$f10,$f8 +/* f0c74f8: c7aa00b4 */ lwc1 $f10,0xb4($sp) +/* f0c74fc: 460a3200 */ add.s $f8,$f6,$f10 +/* f0c7500: c7a600b0 */ lwc1 $f6,0xb0($sp) +/* f0c7504: e7a400d4 */ swc1 $f4,0xd4($sp) +/* f0c7508: 46062280 */ add.s $f10,$f4,$f6 +/* f0c750c: e7a800cc */ swc1 $f8,0xcc($sp) +/* f0c7510: 0fc32ff6 */ jal 0xf0cbfd8 +/* f0c7514: e7aa00d4 */ swc1 $f10,0xd4($sp) +/* f0c7518: 0fc48092 */ jal 0xf120248 +/* f0c751c: 00000000 */ nop +/* f0c7520: 3c08800a */ lui $t0,0x800a +/* f0c7524: 1040001f */ beqz $v0,.PB0f0c75a4 +/* f0c7528: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c752c: 8d030284 */ lw $v1,0x284($t0) +/* f0c7530: c512004c */ lwc1 $f18,0x4c($t0) +/* f0c7534: 3c014120 */ lui $at,0x4120 +/* f0c7538: c468036c */ lwc1 $f8,0x36c($v1) +/* f0c753c: c4640170 */ lwc1 $f4,0x170($v1) +/* f0c7540: c46a0374 */ lwc1 $f10,0x374($v1) +/* f0c7544: 44810000 */ mtc1 $at,$f0 +/* f0c7548: 46044182 */ mul.s $f6,$f8,$f4 +/* f0c754c: c4680168 */ lwc1 $f8,0x168($v1) +/* f0c7550: 46085102 */ mul.s $f4,$f10,$f8 +/* f0c7554: 46043281 */ sub.s $f10,$f6,$f4 +/* f0c7558: c7a400cc */ lwc1 $f4,0xcc($sp) +/* f0c755c: 46125202 */ mul.s $f8,$f10,$f18 +/* f0c7560: 00000000 */ nop +/* f0c7564: 46004182 */ mul.s $f6,$f8,$f0 +/* f0c7568: 46062280 */ add.s $f10,$f4,$f6 +/* f0c756c: e7aa00cc */ swc1 $f10,0xcc($sp) +/* f0c7570: c4640170 */ lwc1 $f4,0x170($v1) +/* f0c7574: c4680374 */ lwc1 $f8,0x374($v1) +/* f0c7578: c46a036c */ lwc1 $f10,0x36c($v1) +/* f0c757c: 46044182 */ mul.s $f6,$f8,$f4 +/* f0c7580: c4680168 */ lwc1 $f8,0x168($v1) +/* f0c7584: 46085102 */ mul.s $f4,$f10,$f8 +/* f0c7588: 46043280 */ add.s $f10,$f6,$f4 +/* f0c758c: c7a400d4 */ lwc1 $f4,0xd4($sp) +/* f0c7590: 46125202 */ mul.s $f8,$f10,$f18 +/* f0c7594: 00000000 */ nop +/* f0c7598: 46004182 */ mul.s $f6,$f8,$f0 +/* f0c759c: 46062280 */ add.s $f10,$f4,$f6 +/* f0c75a0: e7aa00d4 */ swc1 $f10,0xd4($sp) +.PB0f0c75a4: +/* f0c75a4: 8d030284 */ lw $v1,0x284($t0) +/* f0c75a8: c4601b6c */ lwc1 $f0,0x1b6c($v1) +/* f0c75ac: 4600a032 */ c.eq.s $f20,$f0 +/* f0c75b0: 00000000 */ nop +/* f0c75b4: 45020007 */ bc1fl .PB0f0c75d4 +/* f0c75b8: c512004c */ lwc1 $f18,0x4c($t0) +/* f0c75bc: c4681b74 */ lwc1 $f8,0x1b74($v1) +/* f0c75c0: 4608a032 */ c.eq.s $f20,$f8 +/* f0c75c4: 00000000 */ nop +/* f0c75c8: 4503000c */ bc1tl .PB0f0c75fc +/* f0c75cc: 8c6d02ac */ lw $t5,0x2ac($v1) +/* f0c75d0: c512004c */ lwc1 $f18,0x4c($t0) +.PB0f0c75d4: +/* f0c75d4: c7a400cc */ lwc1 $f4,0xcc($sp) +/* f0c75d8: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f0c75dc: 46120182 */ mul.s $f6,$f0,$f18 +/* f0c75e0: 46062280 */ add.s $f10,$f4,$f6 +/* f0c75e4: e7aa00cc */ swc1 $f10,0xcc($sp) +/* f0c75e8: c4641b74 */ lwc1 $f4,0x1b74($v1) +/* f0c75ec: 46122182 */ mul.s $f6,$f4,$f18 +/* f0c75f0: 46064280 */ add.s $f10,$f8,$f6 +/* f0c75f4: e7aa00d4 */ swc1 $f10,0xd4($sp) +/* f0c75f8: 8c6d02ac */ lw $t5,0x2ac($v1) +.PB0f0c75fc: +/* f0c75fc: 246402a0 */ addiu $a0,$v1,0x2a0 +/* f0c7600: 246502a4 */ addiu $a1,$v1,0x2a4 +/* f0c7604: 51a0006a */ beqzl $t5,.PB0f0c77b0 +/* f0c7608: 8c640298 */ lw $a0,0x298($v1) +/* f0c760c: 0c0011d8 */ jal 0x4760 +/* f0c7610: 246602a8 */ addiu $a2,$v1,0x2a8 +/* f0c7614: 3c08800a */ lui $t0,0x800a +/* f0c7618: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c761c: 8d030284 */ lw $v1,0x284($t0) +/* f0c7620: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f0c7624: c7aa00cc */ lwc1 $f10,0xcc($sp) +/* f0c7628: c46402a8 */ lwc1 $f4,0x2a8($v1) +/* f0c762c: c46202a0 */ lwc1 $f2,0x2a0($v1) +/* f0c7630: 3c01c080 */ lui $at,0xc080 +/* f0c7634: 46082182 */ mul.s $f6,$f4,$f8 +/* f0c7638: 00000000 */ nop +/* f0c763c: 46025102 */ mul.s $f4,$f10,$f2 +/* f0c7640: 46043000 */ add.s $f0,$f6,$f4 +/* f0c7644: c504004c */ lwc1 $f4,0x4c($t0) +/* f0c7648: 44813000 */ mtc1 $at,$f6 +/* f0c764c: 46000007 */ neg.s $f0,$f0 +/* f0c7650: 46043182 */ mul.s $f6,$f6,$f4 +/* f0c7654: 4600303c */ c.lt.s $f6,$f0 +/* f0c7658: 00000000 */ nop +/* f0c765c: 45000051 */ bc1f .PB0f0c77a4 +/* f0c7660: 00000000 */ nop +/* f0c7664: 4614003c */ c.lt.s $f0,$f20 +/* f0c7668: 27a50070 */ addiu $a1,$sp,0x70 +/* f0c766c: 27a6006c */ addiu $a2,$sp,0x6c +/* f0c7670: 27a70068 */ addiu $a3,$sp,0x68 +/* f0c7674: 4502000e */ bc1fl .PB0f0c76b0 +/* f0c7678: 8c6400bc */ lw $a0,0xbc($v1) +/* f0c767c: 46020102 */ mul.s $f4,$f0,$f2 +/* f0c7680: 3c017f1b */ lui $at,0x7f1b +/* f0c7684: c42cf55c */ lwc1 $f12,-0xaa4($at) +/* f0c7688: 46045180 */ add.s $f6,$f10,$f4 +/* f0c768c: e7a600cc */ swc1 $f6,0xcc($sp) +/* f0c7690: c46a02a8 */ lwc1 $f10,0x2a8($v1) +/* f0c7694: 460a0102 */ mul.s $f4,$f0,$f10 +/* f0c7698: 46044180 */ add.s $f6,$f8,$f4 +/* f0c769c: 460c0282 */ mul.s $f10,$f0,$f12 +/* f0c76a0: e7a600d4 */ swc1 $f6,0xd4($sp) +/* f0c76a4: 10000036 */ b .PB0f0c7780 +/* f0c76a8: e46a029c */ swc1 $f10,0x29c($v1) +/* f0c76ac: 8c6400bc */ lw $a0,0xbc($v1) +.PB0f0c76b0: +/* f0c76b0: 0fc3094c */ jal 0xf0c2530 +/* f0c76b4: e7a00074 */ swc1 $f0,0x74($sp) +/* f0c76b8: 3c08800a */ lui $t0,0x800a +/* f0c76bc: 3c017f1b */ lui $at,0x7f1b +/* f0c76c0: c424f560 */ lwc1 $f4,-0xaa0($at) +/* f0c76c4: c7a80070 */ lwc1 $f8,0x70($sp) +/* f0c76c8: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c76cc: 8d030284 */ lw $v1,0x284($t0) +/* f0c76d0: 46044182 */ mul.s $f6,$f8,$f4 +/* f0c76d4: c7aa006c */ lwc1 $f10,0x6c($sp) +/* f0c76d8: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c76dc: c4640074 */ lwc1 $f4,0x74($v1) +/* f0c76e0: 3c013f80 */ lui $at,0x3f80 +/* f0c76e4: c442000c */ lwc1 $f2,0xc($v0) +/* f0c76e8: 34188040 */ li $t8,0x8040 +/* f0c76ec: 44053000 */ mfc1 $a1,$f6 +/* f0c76f0: 46025201 */ sub.s $f8,$f10,$f2 +/* f0c76f4: 44815000 */ mtc1 $at,$f10 +/* f0c76f8: 24590028 */ addiu $t9,$v0,0x28 +/* f0c76fc: 46022181 */ sub.s $f6,$f4,$f2 +/* f0c7700: 44064000 */ mfc1 $a2,$f8 +/* f0c7704: afb90010 */ sw $t9,0x10($sp) +/* f0c7708: afb80014 */ sw $t8,0x14($sp) +/* f0c770c: 460a3200 */ add.s $f8,$f6,$f10 +/* f0c7710: 24440008 */ addiu $a0,$v0,0x8 +/* f0c7714: 44074000 */ mfc1 $a3,$f8 +/* f0c7718: 0c00a9bf */ jal 0x2a6fc +/* f0c771c: 00000000 */ nop +/* f0c7720: 3c08800a */ lui $t0,0x800a +/* f0c7724: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7728: 14400006 */ bnez $v0,.PB0f0c7744 +/* f0c772c: c7a00074 */ lwc1 $f0,0x74($sp) +/* f0c7730: 8d0e0284 */ lw $t6,0x284($t0) +/* f0c7734: 3c017f1b */ lui $at,0x7f1b +/* f0c7738: e5d4029c */ swc1 $f20,0x29c($t6) +/* f0c773c: 10000010 */ b .PB0f0c7780 +/* f0c7740: c42cf564 */ lwc1 $f12,-0xa9c($at) +.PB0f0c7744: +/* f0c7744: 8d030284 */ lw $v1,0x284($t0) +/* f0c7748: c7a400cc */ lwc1 $f4,0xcc($sp) +/* f0c774c: 3c017f1b */ lui $at,0x7f1b +/* f0c7750: c46602a0 */ lwc1 $f6,0x2a0($v1) +/* f0c7754: c42cf568 */ lwc1 $f12,-0xa98($at) +/* f0c7758: 46060282 */ mul.s $f10,$f0,$f6 +/* f0c775c: c7a600d4 */ lwc1 $f6,0xd4($sp) +/* f0c7760: 460a2200 */ add.s $f8,$f4,$f10 +/* f0c7764: e7a800cc */ swc1 $f8,0xcc($sp) +/* f0c7768: c46402a8 */ lwc1 $f4,0x2a8($v1) +/* f0c776c: 46040282 */ mul.s $f10,$f0,$f4 +/* f0c7770: 460a3200 */ add.s $f8,$f6,$f10 +/* f0c7774: 460c0102 */ mul.s $f4,$f0,$f12 +/* f0c7778: e7a800d4 */ swc1 $f8,0xd4($sp) +/* f0c777c: e464029c */ swc1 $f4,0x29c($v1) +.PB0f0c7780: +/* f0c7780: c7a600cc */ lwc1 $f6,0xcc($sp) +/* f0c7784: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f0c7788: 8d030284 */ lw $v1,0x284($t0) +/* f0c778c: 460c3282 */ mul.s $f10,$f6,$f12 +/* f0c7790: 00000000 */ nop +/* f0c7794: 460c4102 */ mul.s $f4,$f8,$f12 +/* f0c7798: e7aa00cc */ swc1 $f10,0xcc($sp) +/* f0c779c: 10000003 */ b .PB0f0c77ac +/* f0c77a0: e7a400d4 */ swc1 $f4,0xd4($sp) +.PB0f0c77a4: +/* f0c77a4: e474029c */ swc1 $f20,0x29c($v1) +/* f0c77a8: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c77ac: +/* f0c77ac: 8c640298 */ lw $a0,0x298($v1) +.PB0f0c77b0: +/* f0c77b0: 50800015 */ beqzl $a0,.PB0f0c7808 +/* f0c77b4: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c77b8: 8c820004 */ lw $v0,0x4($a0) +/* f0c77bc: 2401003b */ li $at,0x3b +/* f0c77c0: 904f0003 */ lbu $t7,0x3($v0) +/* f0c77c4: 55e10010 */ bnel $t7,$at,.PB0f0c7808 +/* f0c77c8: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c77cc: 8c490014 */ lw $t1,0x14($v0) +/* f0c77d0: c44a0060 */ lwc1 $f10,0x60($v0) +/* f0c77d4: c7a400cc */ lwc1 $f4,0xcc($sp) +/* f0c77d8: c5260008 */ lwc1 $f6,0x8($t1) +/* f0c77dc: 460a3201 */ sub.s $f8,$f6,$f10 +/* f0c77e0: 46082180 */ add.s $f6,$f4,$f8 +/* f0c77e4: e7a600cc */ swc1 $f6,0xcc($sp) +/* f0c77e8: 8c4a0014 */ lw $t2,0x14($v0) +/* f0c77ec: c4440068 */ lwc1 $f4,0x68($v0) +/* f0c77f0: c7a600d4 */ lwc1 $f6,0xd4($sp) +/* f0c77f4: c54a0010 */ lwc1 $f10,0x10($t2) +/* f0c77f8: 46045201 */ sub.s $f8,$f10,$f4 +/* f0c77fc: 46083280 */ add.s $f10,$f6,$f8 +/* f0c7800: e7aa00d4 */ swc1 $f10,0xd4($sp) +/* f0c7804: 8c6200bc */ lw $v0,0xbc($v1) +.PB0f0c7808: +/* f0c7808: 27a400cc */ addiu $a0,$sp,0xcc +/* f0c780c: 00002825 */ move $a1,$zero +/* f0c7810: c4440008 */ lwc1 $f4,0x8($v0) +/* f0c7814: e7a4008c */ swc1 $f4,0x8c($sp) +/* f0c7818: c4460010 */ lwc1 $f6,0x10($v0) +/* f0c781c: e7a60088 */ swc1 $f6,0x88($sp) +/* f0c7820: c46800a0 */ lwc1 $f8,0xa0($v1) +/* f0c7824: 4608a032 */ c.eq.s $f20,$f8 +/* f0c7828: 00000000 */ nop +/* f0c782c: 45000002 */ bc1f .PB0f0c7838 +/* f0c7830: 00000000 */ nop +/* f0c7834: 24050001 */ li $a1,0x1 +.PB0f0c7838: +/* f0c7838: 0fc31a19 */ jal 0xf0c6864 +/* f0c783c: 2406003f */ li $a2,0x3f +/* f0c7840: 3c08800a */ lui $t0,0x800a +/* f0c7844: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7848: 8d030284 */ lw $v1,0x284($t0) +/* f0c784c: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c7850: c4680318 */ lwc1 $f8,0x318($v1) +/* f0c7854: c4640310 */ lwc1 $f4,0x310($v1) +/* f0c7858: c4460010 */ lwc1 $f6,0x10($v0) +/* f0c785c: c44a0008 */ lwc1 $f10,0x8($v0) +/* f0c7860: c462036c */ lwc1 $f2,0x36c($v1) +/* f0c7864: 46083381 */ sub.s $f14,$f6,$f8 +/* f0c7868: c4600374 */ lwc1 $f0,0x374($v1) +/* f0c786c: 46045301 */ sub.s $f12,$f10,$f4 +/* f0c7870: 460e1282 */ mul.s $f10,$f2,$f14 +/* f0c7874: 46006107 */ neg.s $f4,$f12 +/* f0c7878: 46002182 */ mul.s $f6,$f4,$f0 +/* f0c787c: 460ca03e */ c.le.s $f20,$f12 +/* f0c7880: 460e0202 */ mul.s $f8,$f0,$f14 +/* f0c7884: 00000000 */ nop +/* f0c7888: 46026102 */ mul.s $f4,$f12,$f2 +/* f0c788c: 46065400 */ add.s $f16,$f10,$f6 +/* f0c7890: c7aa00d4 */ lwc1 $f10,0xd4($sp) +/* f0c7894: 460a1182 */ mul.s $f6,$f2,$f10 +/* f0c7898: 46044480 */ add.s $f18,$f8,$f4 +/* f0c789c: c7a800cc */ lwc1 $f8,0xcc($sp) +/* f0c78a0: 46004107 */ neg.s $f4,$f8 +/* f0c78a4: 46002102 */ mul.s $f4,$f4,$f0 +/* f0c78a8: 46043180 */ add.s $f6,$f6,$f4 +/* f0c78ac: 460a0102 */ mul.s $f4,$f0,$f10 +/* f0c78b0: 00000000 */ nop +/* f0c78b4: 46024282 */ mul.s $f10,$f8,$f2 +/* f0c78b8: e7a6004c */ swc1 $f6,0x4c($sp) +/* f0c78bc: 460a2100 */ add.s $f4,$f4,$f10 +/* f0c78c0: 4500001c */ bc1f .PB0f0c7934 +/* f0c78c4: e7a40048 */ swc1 $f4,0x48($sp) +/* f0c78c8: c460017c */ lwc1 $f0,0x17c($v1) +/* f0c78cc: 46003086 */ mov.s $f2,$f6 +/* f0c78d0: c7a600cc */ lwc1 $f6,0xcc($sp) +/* f0c78d4: 4600a03c */ c.lt.s $f20,$f0 +/* f0c78d8: 00000000 */ nop +/* f0c78dc: 4502000f */ bc1fl .PB0f0c791c +/* f0c78e0: 4614303c */ c.lt.s $f6,$f20 +/* f0c78e4: 4608a03e */ c.le.s $f20,$f8 +/* f0c78e8: 00000000 */ nop +/* f0c78ec: 4502002c */ bc1fl .PB0f0c79a0 +/* f0c78f0: 460ea03e */ c.le.s $f20,$f14 +/* f0c78f4: 4608603c */ c.lt.s $f12,$f8 +/* f0c78f8: 00000000 */ nop +/* f0c78fc: 45020028 */ bc1fl .PB0f0c79a0 +/* f0c7900: 460ea03e */ c.le.s $f20,$f14 +/* f0c7904: 46086283 */ div.s $f10,$f12,$f8 +/* f0c7908: 460a0102 */ mul.s $f4,$f0,$f10 +/* f0c790c: e464017c */ swc1 $f4,0x17c($v1) +/* f0c7910: 10000022 */ b .PB0f0c799c +/* f0c7914: 8d030284 */ lw $v1,0x284($t0) +/* f0c7918: 4614303c */ c.lt.s $f6,$f20 +.PB0f0c791c: +/* f0c791c: 00000000 */ nop +/* f0c7920: 4502001f */ bc1fl .PB0f0c79a0 +/* f0c7924: 460ea03e */ c.le.s $f20,$f14 +/* f0c7928: e474017c */ swc1 $f20,0x17c($v1) +/* f0c792c: 1000001b */ b .PB0f0c799c +/* f0c7930: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c7934: +/* f0c7934: c460017c */ lwc1 $f0,0x17c($v1) +/* f0c7938: c7a2004c */ lwc1 $f2,0x4c($sp) +/* f0c793c: c7a800cc */ lwc1 $f8,0xcc($sp) +/* f0c7940: 4614003c */ c.lt.s $f0,$f20 +/* f0c7944: c7a600cc */ lwc1 $f6,0xcc($sp) +/* f0c7948: 4502000f */ bc1fl .PB0f0c7988 +/* f0c794c: 4606a03c */ c.lt.s $f20,$f6 +/* f0c7950: 4614403e */ c.le.s $f8,$f20 +/* f0c7954: 00000000 */ nop +/* f0c7958: 45020011 */ bc1fl .PB0f0c79a0 +/* f0c795c: 460ea03e */ c.le.s $f20,$f14 +/* f0c7960: 460c403c */ c.lt.s $f8,$f12 +/* f0c7964: 00000000 */ nop +/* f0c7968: 4502000d */ bc1fl .PB0f0c79a0 +/* f0c796c: 460ea03e */ c.le.s $f20,$f14 +/* f0c7970: 46086283 */ div.s $f10,$f12,$f8 +/* f0c7974: 460a0102 */ mul.s $f4,$f0,$f10 +/* f0c7978: e464017c */ swc1 $f4,0x17c($v1) +/* f0c797c: 10000007 */ b .PB0f0c799c +/* f0c7980: 8d030284 */ lw $v1,0x284($t0) +/* f0c7984: 4606a03c */ c.lt.s $f20,$f6 +.PB0f0c7988: +/* f0c7988: 00000000 */ nop +/* f0c798c: 45020004 */ bc1fl .PB0f0c79a0 +/* f0c7990: 460ea03e */ c.le.s $f20,$f14 +/* f0c7994: e474017c */ swc1 $f20,0x17c($v1) +/* f0c7998: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c799c: +/* f0c799c: 460ea03e */ c.le.s $f20,$f14 +.PB0f0c79a0: +/* f0c79a0: 00000000 */ nop +/* f0c79a4: 4502001d */ bc1fl .PB0f0c7a1c +/* f0c79a8: c4600184 */ lwc1 $f0,0x184($v1) +/* f0c79ac: c4600184 */ lwc1 $f0,0x184($v1) +/* f0c79b0: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f0c79b4: c7a600d4 */ lwc1 $f6,0xd4($sp) +/* f0c79b8: 4600a03c */ c.lt.s $f20,$f0 +/* f0c79bc: 00000000 */ nop +/* f0c79c0: 4502000f */ bc1fl .PB0f0c7a00 +/* f0c79c4: 4614303c */ c.lt.s $f6,$f20 +/* f0c79c8: 4608a03e */ c.le.s $f20,$f8 +/* f0c79cc: 00000000 */ nop +/* f0c79d0: 4502002c */ bc1fl .PB0f0c7a84 +/* f0c79d4: 46141032 */ c.eq.s $f2,$f20 +/* f0c79d8: 4608703c */ c.lt.s $f14,$f8 +/* f0c79dc: 00000000 */ nop +/* f0c79e0: 45020028 */ bc1fl .PB0f0c7a84 +/* f0c79e4: 46141032 */ c.eq.s $f2,$f20 +/* f0c79e8: 46087283 */ div.s $f10,$f14,$f8 +/* f0c79ec: 460a0102 */ mul.s $f4,$f0,$f10 +/* f0c79f0: e4640184 */ swc1 $f4,0x184($v1) +/* f0c79f4: 10000022 */ b .PB0f0c7a80 +/* f0c79f8: 8d030284 */ lw $v1,0x284($t0) +/* f0c79fc: 4614303c */ c.lt.s $f6,$f20 +.PB0f0c7a00: +/* f0c7a00: 00000000 */ nop +/* f0c7a04: 4502001f */ bc1fl .PB0f0c7a84 +/* f0c7a08: 46141032 */ c.eq.s $f2,$f20 +/* f0c7a0c: e4740184 */ swc1 $f20,0x184($v1) +/* f0c7a10: 1000001b */ b .PB0f0c7a80 +/* f0c7a14: 8d030284 */ lw $v1,0x284($t0) +/* f0c7a18: c4600184 */ lwc1 $f0,0x184($v1) +.PB0f0c7a1c: +/* f0c7a1c: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f0c7a20: c7a600d4 */ lwc1 $f6,0xd4($sp) +/* f0c7a24: 4614003c */ c.lt.s $f0,$f20 +/* f0c7a28: 00000000 */ nop +/* f0c7a2c: 4502000f */ bc1fl .PB0f0c7a6c +/* f0c7a30: 4606a03c */ c.lt.s $f20,$f6 +/* f0c7a34: 4614403e */ c.le.s $f8,$f20 +/* f0c7a38: 00000000 */ nop +/* f0c7a3c: 45020011 */ bc1fl .PB0f0c7a84 +/* f0c7a40: 46141032 */ c.eq.s $f2,$f20 +/* f0c7a44: 460e403c */ c.lt.s $f8,$f14 +/* f0c7a48: 00000000 */ nop +/* f0c7a4c: 4502000d */ bc1fl .PB0f0c7a84 +/* f0c7a50: 46141032 */ c.eq.s $f2,$f20 +/* f0c7a54: 46087283 */ div.s $f10,$f14,$f8 +/* f0c7a58: 460a0102 */ mul.s $f4,$f0,$f10 +/* f0c7a5c: e4640184 */ swc1 $f4,0x184($v1) +/* f0c7a60: 10000007 */ b .PB0f0c7a80 +/* f0c7a64: 8d030284 */ lw $v1,0x284($t0) +/* f0c7a68: 4606a03c */ c.lt.s $f20,$f6 +.PB0f0c7a6c: +/* f0c7a6c: 00000000 */ nop +/* f0c7a70: 45020004 */ bc1fl .PB0f0c7a84 +/* f0c7a74: 46141032 */ c.eq.s $f2,$f20 +/* f0c7a78: e4740184 */ swc1 $f20,0x184($v1) +/* f0c7a7c: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c7a80: +/* f0c7a80: 46141032 */ c.eq.s $f2,$f20 +.PB0f0c7a84: +/* f0c7a84: 00000000 */ nop +/* f0c7a88: 4503001a */ bc1tl .PB0f0c7af4 +/* f0c7a8c: c7a20048 */ lwc1 $f2,0x48($sp) +/* f0c7a90: c460016c */ lwc1 $f0,0x16c($v1) +/* f0c7a94: 46020202 */ mul.s $f8,$f0,$f2 +/* f0c7a98: 4608a03c */ c.lt.s $f20,$f8 +/* f0c7a9c: 00000000 */ nop +/* f0c7aa0: 45020014 */ bc1fl .PB0f0c7af4 +/* f0c7aa4: c7a20048 */ lwc1 $f2,0x48($sp) +/* f0c7aa8: 46028403 */ div.s $f16,$f16,$f2 +/* f0c7aac: 3c013f80 */ lui $at,0x3f80 +/* f0c7ab0: 4614803e */ c.le.s $f16,$f20 +/* f0c7ab4: 00000000 */ nop +/* f0c7ab8: 45020005 */ bc1fl .PB0f0c7ad0 +/* f0c7abc: 44815000 */ mtc1 $at,$f10 +/* f0c7ac0: e474016c */ swc1 $f20,0x16c($v1) +/* f0c7ac4: 1000000a */ b .PB0f0c7af0 +/* f0c7ac8: 8d030284 */ lw $v1,0x284($t0) +/* f0c7acc: 44815000 */ mtc1 $at,$f10 +.PB0f0c7ad0: +/* f0c7ad0: 00000000 */ nop +/* f0c7ad4: 460a803c */ c.lt.s $f16,$f10 +/* f0c7ad8: 00000000 */ nop +/* f0c7adc: 45020005 */ bc1fl .PB0f0c7af4 +/* f0c7ae0: c7a20048 */ lwc1 $f2,0x48($sp) +/* f0c7ae4: 46100102 */ mul.s $f4,$f0,$f16 +/* f0c7ae8: e464016c */ swc1 $f4,0x16c($v1) +/* f0c7aec: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c7af0: +/* f0c7af0: c7a20048 */ lwc1 $f2,0x48($sp) +.PB0f0c7af4: +/* f0c7af4: 46141032 */ c.eq.s $f2,$f20 +/* f0c7af8: 00000000 */ nop +/* f0c7afc: 4503001a */ bc1tl .PB0f0c7b68 +/* f0c7b00: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c7b04: c46019a4 */ lwc1 $f0,0x19a4($v1) +/* f0c7b08: 46020182 */ mul.s $f6,$f0,$f2 +/* f0c7b0c: 4606a03c */ c.lt.s $f20,$f6 +/* f0c7b10: 00000000 */ nop +/* f0c7b14: 45020014 */ bc1fl .PB0f0c7b68 +/* f0c7b18: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c7b1c: 46029483 */ div.s $f18,$f18,$f2 +/* f0c7b20: 3c013f80 */ lui $at,0x3f80 +/* f0c7b24: 4614903e */ c.le.s $f18,$f20 +/* f0c7b28: 00000000 */ nop +/* f0c7b2c: 45020005 */ bc1fl .PB0f0c7b44 +/* f0c7b30: 44814000 */ mtc1 $at,$f8 +/* f0c7b34: e47419a4 */ swc1 $f20,0x19a4($v1) +/* f0c7b38: 1000000a */ b .PB0f0c7b64 +/* f0c7b3c: 8d030284 */ lw $v1,0x284($t0) +/* f0c7b40: 44814000 */ mtc1 $at,$f8 +.PB0f0c7b44: +/* f0c7b44: 00000000 */ nop +/* f0c7b48: 4608903c */ c.lt.s $f18,$f8 +/* f0c7b4c: 00000000 */ nop +/* f0c7b50: 45020005 */ bc1fl .PB0f0c7b68 +/* f0c7b54: 8c6200bc */ lw $v0,0xbc($v1) +/* f0c7b58: 46120282 */ mul.s $f10,$f0,$f18 +/* f0c7b5c: e46a19a4 */ swc1 $f10,0x19a4($v1) +/* f0c7b60: 8d030284 */ lw $v1,0x284($t0) +.PB0f0c7b64: +/* f0c7b64: 8c6200bc */ lw $v0,0xbc($v1) +.PB0f0c7b68: +/* f0c7b68: c7a6008c */ lwc1 $f6,0x8c($sp) +/* f0c7b6c: c7aa0088 */ lwc1 $f10,0x88($sp) +/* f0c7b70: c4440008 */ lwc1 $f4,0x8($v0) +/* f0c7b74: c4480010 */ lwc1 $f8,0x10($v0) +/* f0c7b78: 46062001 */ sub.s $f0,$f4,$f6 +/* f0c7b7c: c7a400d4 */ lwc1 $f4,0xd4($sp) +/* f0c7b80: 460a4081 */ sub.s $f2,$f8,$f10 +/* f0c7b84: 46042182 */ mul.s $f6,$f4,$f4 +/* f0c7b88: c7a800cc */ lwc1 $f8,0xcc($sp) +/* f0c7b8c: 46084282 */ mul.s $f10,$f8,$f8 +/* f0c7b90: 460a3380 */ add.s $f14,$f6,$f10 +/* f0c7b94: 46147032 */ c.eq.s $f14,$f20 +/* f0c7b98: 46007306 */ mov.s $f12,$f14 +/* f0c7b9c: 45010006 */ bc1t .PB0f0c7bb8 +/* f0c7ba0: 00000000 */ nop +/* f0c7ba4: 46000102 */ mul.s $f4,$f0,$f0 +/* f0c7ba8: 00000000 */ nop +/* f0c7bac: 46021202 */ mul.s $f8,$f2,$f2 +/* f0c7bb0: 46082180 */ add.s $f6,$f4,$f8 +/* f0c7bb4: 460e3303 */ div.s $f12,$f6,$f14 +.PB0f0c7bb8: +/* f0c7bb8: 0c012ae4 */ jal 0x4ab90 +/* f0c7bbc: 00000000 */ nop +/* f0c7bc0: c7a400b4 */ lwc1 $f4,0xb4($sp) +/* f0c7bc4: 3c08800a */ lui $t0,0x800a +/* f0c7bc8: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7bcc: 46040202 */ mul.s $f8,$f0,$f4 +/* f0c7bd0: 8d030284 */ lw $v1,0x284($t0) +/* f0c7bd4: c46a00a4 */ lwc1 $f10,0xa4($v1) +/* f0c7bd8: 46085180 */ add.s $f6,$f10,$f8 +/* f0c7bdc: e46600a4 */ swc1 $f6,0xa4($v1) +/* f0c7be0: c7aa00b0 */ lwc1 $f10,0xb0($sp) +/* f0c7be4: 8d030284 */ lw $v1,0x284($t0) +/* f0c7be8: 460a0202 */ mul.s $f8,$f0,$f10 +/* f0c7bec: c46400a8 */ lwc1 $f4,0xa8($v1) +/* f0c7bf0: 46082180 */ add.s $f6,$f4,$f8 +/* f0c7bf4: e46600a8 */ swc1 $f6,0xa8($v1) +.PB0f0c7bf8: +/* f0c7bf8: 8d030284 */ lw $v1,0x284($t0) +/* f0c7bfc: 3c017f1b */ lui $at,0x7f1b +/* f0c7c00: c428f56c */ lwc1 $f8,-0xa94($at) +/* f0c7c04: c46a0148 */ lwc1 $f10,0x148($v1) +/* f0c7c08: 3c0140c0 */ lui $at,0x40c0 +/* f0c7c0c: e7aa0044 */ swc1 $f10,0x44($sp) +/* f0c7c10: c464015c */ lwc1 $f4,0x15c($v1) +/* f0c7c14: c46a00b8 */ lwc1 $f10,0xb8($v1) +/* f0c7c18: 46082183 */ div.s $f6,$f4,$f8 +/* f0c7c1c: 44812000 */ mtc1 $at,$f4 +/* f0c7c20: 00000000 */ nop +/* f0c7c24: 46045203 */ div.s $f8,$f10,$f4 +/* f0c7c28: c46a00cc */ lwc1 $f10,0xcc($v1) +/* f0c7c2c: e7aa003c */ swc1 $f10,0x3c($sp) +/* f0c7c30: 46083080 */ add.s $f2,$f6,$f8 +/* f0c7c34: 0fc45283 */ jal 0xf114a0c +/* f0c7c38: e7a20040 */ swc1 $f2,0x40($sp) +/* f0c7c3c: 3c013f80 */ lui $at,0x3f80 +/* f0c7c40: 44817000 */ mtc1 $at,$f14 +/* f0c7c44: c7a20040 */ lwc1 $f2,0x40($sp) +/* f0c7c48: 3c08800a */ lui $t0,0x800a +/* f0c7c4c: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7c50: 4602703c */ c.lt.s $f14,$f2 +/* f0c7c54: 46000306 */ mov.s $f12,$f0 +/* f0c7c58: 3c01bf80 */ lui $at,0xbf80 +/* f0c7c5c: 8fa70044 */ lw $a3,0x44($sp) +/* f0c7c60: 45020004 */ bc1fl .PB0f0c7c74 +/* f0c7c64: 44817000 */ mtc1 $at,$f14 +/* f0c7c68: 10000008 */ b .PB0f0c7c8c +/* f0c7c6c: 46007086 */ mov.s $f2,$f14 +/* f0c7c70: 44817000 */ mtc1 $at,$f14 +.PB0f0c7c74: +/* f0c7c74: 00000000 */ nop +/* f0c7c78: 460e103c */ c.lt.s $f2,$f14 +/* f0c7c7c: 00000000 */ nop +/* f0c7c80: 45020003 */ bc1fl .PB0f0c7c90 +/* f0c7c84: 8d0b0284 */ lw $t3,0x284($t0) +/* f0c7c88: 46007086 */ mov.s $f2,$f14 +.PB0f0c7c8c: +/* f0c7c8c: 8d0b0284 */ lw $t3,0x284($t0) +.PB0f0c7c90: +/* f0c7c90: 24010001 */ li $at,0x1 +/* f0c7c94: 44061000 */ mfc1 $a2,$f2 +/* f0c7c98: 8d6c03ac */ lw $t4,0x3ac($t3) +/* f0c7c9c: c7ae003c */ lwc1 $f14,0x3c($sp) +/* f0c7ca0: 15810004 */ bne $t4,$at,.PB0f0c7cb4 +/* f0c7ca4: 3c017f1b */ lui $at,0x7f1b +/* f0c7ca8: c424f570 */ lwc1 $f4,-0xa90($at) +/* f0c7cac: 46040302 */ mul.s $f12,$f0,$f4 +/* f0c7cb0: 00000000 */ nop +.PB0f0c7cb4: +/* f0c7cb4: 0fc276b8 */ jal 0xf09dae0 +/* f0c7cb8: e7b40010 */ swc1 $f20,0x10($sp) +/* f0c7cbc: 3c08800a */ lui $t0,0x800a +/* f0c7cc0: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0c7cc4: 8d0d0284 */ lw $t5,0x284($t0) +/* f0c7cc8: 3c017f1b */ lui $at,0x7f1b +/* f0c7ccc: c428f574 */ lwc1 $f8,-0xa8c($at) +/* f0c7cd0: c5a60158 */ lwc1 $f6,0x158($t5) +/* f0c7cd4: 46083302 */ mul.s $f12,$f6,$f8 +/* f0c7cd8: 0fc28945 */ jal 0xf0a2514 +/* f0c7cdc: 00000000 */ nop +/* f0c7ce0: 8fbf0024 */ lw $ra,0x24($sp) +/* f0c7ce4: d7b40018 */ ldc1 $f20,0x18($sp) +/* f0c7ce8: 27bd00e8 */ addiu $sp,$sp,0xe8 +/* f0c7cec: 03e00008 */ jr $ra +/* f0c7cf0: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel bwalk0f0c69b8 diff --git a/src/game/bot.c b/src/game/bot.c index b4cee6532..584d704d5 100644 --- a/src/game/bot.c +++ b/src/game/bot.c @@ -65,7 +65,7 @@ bool botIsDizzy(struct chrdata *chr) return chr->blurdrugamount >= g_BotDifficulties[chr->aibot->config->difficulty].dizzyamount; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel botReset /* f19134c: 27bdffe0 */ addiu $sp,$sp,-32 @@ -2700,7 +2700,7 @@ bool botIsAboutToAttack(struct chrdata *chr, bool arg1) return result; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel botTick .late_rodata @@ -10366,6 +10366,3020 @@ glabel var7f1b8fc8 /* f198638: 03e00008 */ jr $ra /* f19863c: 27bd02f8 */ addiu $sp,$sp,0x2f8 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel botTickUnpaused +.late_rodata +glabel var7f1b8f54 +.word 0x49742400 +glabel var7f1b8f58 +.word botTickUnpaused+0x2398 +glabel var7f1b8f5c +.word botTickUnpaused+0x23fc +glabel var7f1b8f60 +.word botTickUnpaused+0x23fc +glabel var7f1b8f64 +.word botTickUnpaused+0x23fc +glabel var7f1b8f68 +.word botTickUnpaused+0x2398 +glabel var7f1b8f6c +.word botTickUnpaused+0x2398 +glabel var7f1b8f70 +.word botTickUnpaused+0x2398 +glabel var7f1b8f74 +.word botTickUnpaused+0x23fc +glabel var7f1b8f78 +.word botTickUnpaused+0x23fc +glabel var7f1b8f7c +.word botTickUnpaused+0x2398 +glabel var7f1b8f80 +.word botTickUnpaused+0x2398 +glabel var7f1b8f84 +.word botTickUnpaused+0x2398 +glabel var7f1b8f88 +.word botTickUnpaused+0x2398 +glabel var7f1b8f8c +.word botTickUnpaused+0x2398 +glabel var7f1b8f90 +.word botTickUnpaused+0x2398 +glabel var7f1b8f94 +.word botTickUnpaused+0x2398 +glabel var7f1b8f98 +.word botTickUnpaused+0x2398 +glabel var7f1b8f9c +.word botTickUnpaused+0x2398 +glabel var7f1b8fa0 +.word botTickUnpaused+0x2398 +glabel var7f1b8fa4 +.word botTickUnpaused+0x2474 +glabel var7f1b8fa8 +.word botTickUnpaused+0x2398 +glabel var7f1b8fac +.word botTickUnpaused+0x2398 +glabel var7f1b8fb0 +.word botTickUnpaused+0x2398 +glabel var7f1b8fb4 +.word botTickUnpaused+0x2398 +glabel var7f1b8fb8 +.word botTickUnpaused+0x2398 +glabel var7f1b8fbc +.word botTickUnpaused+0x23fc +glabel var7f1b8fc0 +.word botTickUnpaused+0x2398 +glabel var7f1b8fc4 +.word botTickUnpaused+0x2450 +glabel var7f1b8fc8 +.word 0x3d4ccccd +.text +/* f1966e8: 27bdfd08 */ addiu $sp,$sp,-760 +/* f1966ec: afbf0044 */ sw $ra,0x44($sp) +/* f1966f0: afb50034 */ sw $s5,0x34($sp) +/* f1966f4: afb40030 */ sw $s4,0x30($sp) +/* f1966f8: 0080a025 */ move $s4,$a0 +/* f1966fc: afbe0040 */ sw $s8,0x40($sp) +/* f196700: afb7003c */ sw $s7,0x3c($sp) +/* f196704: afb60038 */ sw $s6,0x38($sp) +/* f196708: afb3002c */ sw $s3,0x2c($sp) +/* f19670c: afb20028 */ sw $s2,0x28($sp) +/* f196710: afb10024 */ sw $s1,0x24($sp) +/* f196714: afb00020 */ sw $s0,0x20($sp) +/* f196718: 0fc0e6e9 */ jal 0xf039ba4 +/* f19671c: 2415ffff */ li $s5,-1 +/* f196720: 14400a77 */ bnez $v0,.PB0f199100 +/* f196724: 3c16800a */ lui $s6,0x800a +/* f196728: 8e9202d4 */ lw $s2,0x2d4($s4) +/* f19672c: 26d6e4d0 */ addiu $s6,$s6,-6960 +/* f196730: 8ecf0038 */ lw $t7,0x38($s6) +/* f196734: 8e4e02cc */ lw $t6,0x2cc($s2) +/* f196738: 01cfc823 */ subu $t9,$t6,$t7 +/* f19673c: 07210017 */ bgez $t9,.PB0f19679c +/* f196740: ae5902cc */ sw $t9,0x2cc($s2) +/* f196744: 0c004be0 */ jal 0x12f80 +/* f196748: 00000000 */ nop +/* f19674c: 24012ee0 */ li $at,0x2ee0 +/* f196750: 0041001b */ divu $zero,$v0,$at +/* f196754: 00004810 */ mfhi $t1 +/* f196758: 252a05dc */ addiu $t2,$t1,0x5dc +/* f19675c: 0c004be0 */ jal 0x12f80 +/* f196760: ae4a02cc */ sw $t2,0x2cc($s2) +/* f196764: 0c004be0 */ jal 0x12f80 +/* f196768: ae4202d0 */ sw $v0,0x2d0($s2) +/* f19676c: 44822000 */ mtc1 $v0,$f4 +/* f196770: 3c014f80 */ lui $at,0x4f80 +/* f196774: 04410004 */ bgez $v0,.PB0f196788 +/* f196778: 468021a0 */ cvt.s.w $f6,$f4 +/* f19677c: 44814000 */ mtc1 $at,$f8 +/* f196780: 00000000 */ nop +/* f196784: 46083180 */ add.s $f6,$f6,$f8 +.PB0f196788: +/* f196788: 3c012f80 */ lui $at,0x2f80 +/* f19678c: 44815000 */ mtc1 $at,$f10 +/* f196790: 00000000 */ nop +/* f196794: 460a3482 */ mul.s $f18,$f6,$f10 +/* f196798: e65202d4 */ swc1 $f18,0x2d4($s2) +.PB0f19679c: +/* f19679c: 00008025 */ move $s0,$zero +/* f1967a0: 02403825 */ move $a3,$s2 +.PB0f1967a4: +/* f1967a4: 84e2002c */ lh $v0,0x2c($a3) +/* f1967a8: 5840000f */ blezl $v0,.PB0f1967e8 +/* f1967ac: 8e45004c */ lw $a1,0x4c($s2) +/* f1967b0: 8ecb0038 */ lw $t3,0x38($s6) +/* f1967b4: 02802025 */ move $a0,$s4 +/* f1967b8: 004b6023 */ subu $t4,$v0,$t3 +/* f1967bc: a4ec002c */ sh $t4,0x2c($a3) +/* f1967c0: 84ed002c */ lh $t5,0x2c($a3) +/* f1967c4: 5da00037 */ bgtzl $t5,.PB0f1968a4 +/* f1967c8: 26100001 */ addiu $s0,$s0,0x1 +/* f1967cc: 02002825 */ move $a1,$s0 +/* f1967d0: 24060001 */ li $a2,0x1 +/* f1967d4: 0fc66d88 */ jal 0xf19b620 +/* f1967d8: afa70054 */ sw $a3,0x54($sp) +/* f1967dc: 10000030 */ b .PB0f1968a0 +/* f1967e0: 8fa70054 */ lw $a3,0x54($sp) +/* f1967e4: 8e45004c */ lw $a1,0x4c($s2) +.PB0f1967e8: +/* f1967e8: 8e440020 */ lw $a0,0x20($s2) +/* f1967ec: afa70054 */ sw $a3,0x54($sp) +/* f1967f0: 00057080 */ sll $t6,$a1,0x2 +/* f1967f4: 0fc66f9f */ jal 0xf19be7c +/* f1967f8: 000e2fc2 */ srl $a1,$t6,0x1f +/* f1967fc: 14400028 */ bnez $v0,.PB0f1968a0 +/* f196800: 8fa70054 */ lw $a3,0x54($sp) +/* f196804: 8e45004c */ lw $a1,0x4c($s2) +/* f196808: 0010c080 */ sll $t8,$s0,0x2 +/* f19680c: 0258c821 */ addu $t9,$s2,$t8 +/* f196810: 8f230024 */ lw $v1,0x24($t9) +/* f196814: 8e440020 */ lw $a0,0x20($s2) +/* f196818: 00054880 */ sll $t1,$a1,0x2 +/* f19681c: 00092fc2 */ srl $a1,$t1,0x1f +/* f196820: afa70054 */ sw $a3,0x54($sp) +/* f196824: 0fc66d76 */ jal 0xf19b5d8 +/* f196828: afa302e8 */ sw $v1,0x2e8($sp) +/* f19682c: 8fa302e8 */ lw $v1,0x2e8($sp) +/* f196830: 8fa70054 */ lw $a3,0x54($sp) +/* f196834: 1c600008 */ bgtz $v1,.PB0f196858 +/* f196838: 00000000 */ nop +/* f19683c: 18400006 */ blez $v0,.PB0f196858 +/* f196840: 02802025 */ move $a0,$s4 +/* f196844: 02002825 */ move $a1,$s0 +/* f196848: 0fc6548f */ jal 0xf19523c +/* f19684c: afa70054 */ sw $a3,0x54($sp) +/* f196850: 10000013 */ b .PB0f1968a0 +/* f196854: 8fa70054 */ lw $a3,0x54($sp) +.PB0f196858: +/* f196858: 04410003 */ bgez $v0,.PB0f196868 +/* f19685c: 00025843 */ sra $t3,$v0,0x1 +/* f196860: 24410001 */ addiu $at,$v0,0x1 +/* f196864: 00015843 */ sra $t3,$at,0x1 +.PB0f196868: +/* f196868: 006b082a */ slt $at,$v1,$t3 +/* f19686c: 5020000d */ beqzl $at,.PB0f1968a4 +/* f196870: 26100001 */ addiu $s0,$s0,0x1 +/* f196874: 8ecd0008 */ lw $t5,0x8($s6) +/* f196878: 8e4c0124 */ lw $t4,0x124($s2) +/* f19687c: 02802025 */ move $a0,$s4 +/* f196880: 25aeff9c */ addiu $t6,$t5,-100 +/* f196884: 018e082a */ slt $at,$t4,$t6 +/* f196888: 50200006 */ beqzl $at,.PB0f1968a4 +/* f19688c: 26100001 */ addiu $s0,$s0,0x1 +/* f196890: 02002825 */ move $a1,$s0 +/* f196894: 0fc6548f */ jal 0xf19523c +/* f196898: afa70054 */ sw $a3,0x54($sp) +/* f19689c: 8fa70054 */ lw $a3,0x54($sp) +.PB0f1968a0: +/* f1968a0: 26100001 */ addiu $s0,$s0,0x1 +.PB0f1968a4: +/* f1968a4: 24010002 */ li $at,0x2 +/* f1968a8: 1601ffbe */ bne $s0,$at,.PB0f1967a4 +/* f1968ac: 24e70002 */ addiu $a3,$a3,0x2 +/* f1968b0: 8e4200cc */ lw $v0,0xcc($s2) +/* f1968b4: 58400045 */ blezl $v0,.PB0f1969cc +/* f1968b8: 8e4d0020 */ lw $t5,0x20($s2) +/* f1968bc: 8ecf0038 */ lw $t7,0x38($s6) +/* f1968c0: 02802025 */ move $a0,$s4 +/* f1968c4: 004fc823 */ subu $t9,$v0,$t7 +/* f1968c8: 1f20003f */ bgtz $t9,.PB0f1969c8 +/* f1968cc: ae5900cc */ sw $t9,0xcc($s2) +/* f1968d0: 0fc66634 */ jal 0xf1998d0 +/* f1968d4: 8e450020 */ lw $a1,0x20($s2) +/* f1968d8: 00408025 */ move $s0,$v0 +/* f1968dc: 0fc4a7f5 */ jal 0xf129fd4 +/* f1968e0: 8e440020 */ lw $a0,0x20($s2) +/* f1968e4: 12000019 */ beqz $s0,.PB0f19694c +/* f1968e8: 00408825 */ move $s1,$v0 +/* f1968ec: 04400017 */ bltz $v0,.PB0f19694c +/* f1968f0: 02802025 */ move $a0,$s4 +/* f1968f4: 00402825 */ move $a1,$v0 +/* f1968f8: 8e460020 */ lw $a2,0x20($s2) +/* f1968fc: 0fc22e53 */ jal 0xf08b94c +/* f196900: 00003825 */ move $a3,$zero +/* f196904: 02802025 */ move $a0,$s4 +/* f196908: 00002825 */ move $a1,$zero +/* f19690c: 0fc66d88 */ jal 0xf19b620 +/* f196910: 00003025 */ move $a2,$zero +/* f196914: 8e090000 */ lw $t1,0x0($s0) +/* f196918: 24010003 */ li $at,0x3 +/* f19691c: 02802025 */ move $a0,$s4 +/* f196920: 15210008 */ bne $t1,$at,.PB0f196944 +/* f196924: 02202825 */ move $a1,$s1 +/* f196928: 8e460020 */ lw $a2,0x20($s2) +/* f19692c: 0fc22e53 */ jal 0xf08b94c +/* f196930: 3c071000 */ lui $a3,0x1000 +/* f196934: 02802025 */ move $a0,$s4 +/* f196938: 24050001 */ li $a1,0x1 +/* f19693c: 0fc66d88 */ jal 0xf19b620 +/* f196940: 00003025 */ move $a2,$zero +.PB0f196944: +/* f196944: 1000000e */ b .PB0f196980 +/* f196948: ae400034 */ sw $zero,0x34($s2) +.PB0f19694c: +/* f19694c: 8e8a02d4 */ lw $t2,0x2d4($s4) +/* f196950: 24170001 */ li $s7,0x1 +/* f196954: ad570020 */ sw $s7,0x20($t2) +/* f196958: 8e8302d4 */ lw $v1,0x2d4($s4) +/* f19695c: 906b004c */ lbu $t3,0x4c($v1) +/* f196960: 316dffdf */ andi $t5,$t3,0xffdf +/* f196964: a06d004c */ sb $t5,0x4c($v1) +/* f196968: 8e8302d4 */ lw $v1,0x2d4($s4) +/* f19696c: 906c004c */ lbu $t4,0x4c($v1) +/* f196970: 318effbf */ andi $t6,$t4,0xffbf +/* f196974: 35cf0040 */ ori $t7,$t6,0x40 +/* f196978: a06f004c */ sb $t7,0x4c($v1) +/* f19697c: ae400034 */ sw $zero,0x34($s2) +.PB0f196980: +/* f196980: 02401025 */ move $v0,$s2 +/* f196984: 00001825 */ move $v1,$zero +/* f196988: 02802025 */ move $a0,$s4 +/* f19698c: 24060008 */ li $a2,0x8 +.PB0f196990: +/* f196990: a440003c */ sh $zero,0x3c($v0) +/* f196994: 8c850170 */ lw $a1,0x170($a0) +/* f196998: 24420002 */ addiu $v0,$v0,0x2 +/* f19699c: 24630004 */ addiu $v1,$v1,0x4 +/* f1969a0: 10a00007 */ beqz $a1,.PB0f1969c0 +/* f1969a4: 00000000 */ nop +/* f1969a8: 8e9802d4 */ lw $t8,0x2d4($s4) +/* f1969ac: 8cab0004 */ lw $t3,0x4($a1) +/* f1969b0: 8f19004c */ lw $t9,0x4c($t8) +/* f1969b4: 00194880 */ sll $t1,$t9,0x2 +/* f1969b8: 000957c2 */ srl $t2,$t1,0x1f +/* f1969bc: a16a005f */ sb $t2,0x5f($t3) +.PB0f1969c0: +/* f1969c0: 1466fff3 */ bne $v1,$a2,.PB0f196990 +/* f1969c4: 24840004 */ addiu $a0,$a0,0x4 +.PB0f1969c8: +/* f1969c8: 8e4d0020 */ lw $t5,0x20($s2) +.PB0f1969cc: +/* f1969cc: 2401001d */ li $at,0x1d +/* f1969d0: 24170001 */ li $s7,0x1 +/* f1969d4: 55a10005 */ bnel $t5,$at,.PB0f1969ec +/* f1969d8: 8e4f001c */ lw $t7,0x1c($s2) +/* f1969dc: 8e8e02d4 */ lw $t6,0x2d4($s4) +/* f1969e0: 240c03e7 */ li $t4,0x3e7 +/* f1969e4: adcc0024 */ sw $t4,0x24($t6) +/* f1969e8: 8e4f001c */ lw $t7,0x1c($s2) +.PB0f1969ec: +/* f1969ec: 8df80050 */ lw $t8,0x50($t7) +/* f1969f0: 1b00000d */ blez $t8,.PB0f196a28 +/* f1969f4: 02802025 */ move $a0,$s4 +/* f1969f8: 0fc64c78 */ jal 0xf1931e0 +/* f1969fc: 02e02825 */ move $a1,$s7 +/* f196a00: 54400006 */ bnezl $v0,.PB0f196a1c +/* f196a04: 924a004c */ lbu $t2,0x4c($s2) +/* f196a08: 929902a0 */ lbu $t9,0x2a0($s4) +/* f196a0c: 2401002e */ li $at,0x2e +/* f196a10: 57210006 */ bnel $t9,$at,.PB0f196a2c +/* f196a14: 8e420210 */ lw $v0,0x210($s2) +/* f196a18: 924a004c */ lbu $t2,0x4c($s2) +.PB0f196a1c: +/* f196a1c: 354b0002 */ ori $t3,$t2,0x2 +/* f196a20: 1000001e */ b .PB0f196a9c +/* f196a24: a24b004c */ sb $t3,0x4c($s2) +.PB0f196a28: +/* f196a28: 8e420210 */ lw $v0,0x210($s2) +.PB0f196a2c: +/* f196a2c: 240404b0 */ li $a0,0x4b0 +/* f196a30: 8e4d001c */ lw $t5,0x1c($s2) +/* f196a34: 00026142 */ srl $t4,$v0,0x5 +/* f196a38: 0184001b */ divu $zero,$t4,$a0 +/* f196a3c: 8da30050 */ lw $v1,0x50($t5) +/* f196a40: 00007010 */ mfhi $t6 +/* f196a44: 25cf04b0 */ addiu $t7,$t6,0x4b0 +/* f196a48: 14800002 */ bnez $a0,.PB0f196a54 +/* f196a4c: 00000000 */ nop +/* f196a50: 0007000d */ break 0x7 +.PB0f196a54: +/* f196a54: 01e3082b */ sltu $at,$t7,$v1 +/* f196a58: 10200005 */ beqz $at,.PB0f196a70 +/* f196a5c: 00025442 */ srl $t2,$v0,0x11 +/* f196a60: 9259004c */ lbu $t9,0x4c($s2) +/* f196a64: 37290002 */ ori $t1,$t9,0x2 +/* f196a68: 1000000c */ b .PB0f196a9c +/* f196a6c: a249004c */ sb $t1,0x4c($s2) +.PB0f196a70: +/* f196a70: 0144001b */ divu $zero,$t2,$a0 +/* f196a74: 00005810 */ mfhi $t3 +/* f196a78: 0163082b */ sltu $at,$t3,$v1 +/* f196a7c: 14800002 */ bnez $a0,.PB0f196a88 +/* f196a80: 00000000 */ nop +/* f196a84: 0007000d */ break 0x7 +.PB0f196a88: +/* f196a88: 54200005 */ bnezl $at,.PB0f196aa0 +/* f196a8c: 8e4e004c */ lw $t6,0x4c($s2) +/* f196a90: 924d004c */ lbu $t5,0x4c($s2) +/* f196a94: 31acfffd */ andi $t4,$t5,0xfffd +/* f196a98: a24c004c */ sb $t4,0x4c($s2) +.PB0f196a9c: +/* f196a9c: 8e4e004c */ lw $t6,0x4c($s2) +.PB0f196aa0: +/* f196aa0: 000ec180 */ sll $t8,$t6,0x6 +/* f196aa4: 07020039 */ bltzl $t8,.PB0f196b8c +/* f196aa8: 924b009c */ lbu $t3,0x9c($s2) +/* f196aac: 8e590020 */ lw $t9,0x20($s2) +/* f196ab0: 2401000d */ li $at,0xd +/* f196ab4: 02402025 */ move $a0,$s2 +/* f196ab8: 17210033 */ bne $t9,$at,.PB0f196b88 +/* f196abc: 2405000d */ li $a1,0xd +/* f196ac0: 00003025 */ move $a2,$zero +/* f196ac4: 0fc66df1 */ jal 0xf19b7c4 +/* f196ac8: 02e03825 */ move $a3,$s7 +/* f196acc: 00408025 */ move $s0,$v0 +/* f196ad0: 02802025 */ move $a0,$s4 +/* f196ad4: 0fc64c78 */ jal 0xf1931e0 +/* f196ad8: 02e02825 */ move $a1,$s7 +/* f196adc: 5040001a */ beqzl $v0,.PB0f196b48 +/* f196ae0: 8e4b0210 */ lw $t3,0x210($s2) +/* f196ae4: 8e420210 */ lw $v0,0x210($s2) +/* f196ae8: 240100c8 */ li $at,0xc8 +/* f196aec: 00024982 */ srl $t1,$v0,0x6 +/* f196af0: 0121001b */ divu $zero,$t1,$at +/* f196af4: 00005010 */ mfhi $t2 +/* f196af8: 254b00c8 */ addiu $t3,$t2,0xc8 +/* f196afc: 0170082b */ sltu $at,$t3,$s0 +/* f196b00: 10200005 */ beqz $at,.PB0f196b18 +/* f196b04: 00027c02 */ srl $t7,$v0,0x10 +/* f196b08: 924c009c */ lbu $t4,0x9c($s2) +/* f196b0c: 358e0020 */ ori $t6,$t4,0x20 +/* f196b10: 10000020 */ b .PB0f196b94 +/* f196b14: a24e009c */ sb $t6,0x9c($s2) +.PB0f196b18: +/* f196b18: 24010046 */ li $at,0x46 +/* f196b1c: 01e1001b */ divu $zero,$t7,$at +/* f196b20: 0000c010 */ mfhi $t8 +/* f196b24: 2719001e */ addiu $t9,$t8,0x1e +/* f196b28: 0330082b */ sltu $at,$t9,$s0 +/* f196b2c: 5420001a */ bnezl $at,.PB0f196b98 +/* f196b30: 8e4c0004 */ lw $t4,0x4($s2) +/* f196b34: 9249009c */ lbu $t1,0x9c($s2) +/* f196b38: 312affdf */ andi $t2,$t1,0xffdf +/* f196b3c: 10000015 */ b .PB0f196b94 +/* f196b40: a24a009c */ sb $t2,0x9c($s2) +/* f196b44: 8e4b0210 */ lw $t3,0x210($s2) +.PB0f196b48: +/* f196b48: 240101f4 */ li $at,0x1f4 +/* f196b4c: 000b6b02 */ srl $t5,$t3,0xc +/* f196b50: 01a1001b */ divu $zero,$t5,$at +/* f196b54: 00006010 */ mfhi $t4 +/* f196b58: 258e012c */ addiu $t6,$t4,0x12c +/* f196b5c: 01d0082b */ sltu $at,$t6,$s0 +/* f196b60: 50200006 */ beqzl $at,.PB0f196b7c +/* f196b64: 9249009c */ lbu $t1,0x9c($s2) +/* f196b68: 9258009c */ lbu $t8,0x9c($s2) +/* f196b6c: 37190020 */ ori $t9,$t8,0x20 +/* f196b70: 10000008 */ b .PB0f196b94 +/* f196b74: a259009c */ sb $t9,0x9c($s2) +/* f196b78: 9249009c */ lbu $t1,0x9c($s2) +.PB0f196b7c: +/* f196b7c: 312affdf */ andi $t2,$t1,0xffdf +/* f196b80: 10000004 */ b .PB0f196b94 +/* f196b84: a24a009c */ sb $t2,0x9c($s2) +.PB0f196b88: +/* f196b88: 924b009c */ lbu $t3,0x9c($s2) +.PB0f196b8c: +/* f196b8c: 316dffdf */ andi $t5,$t3,0xffdf +/* f196b90: a24d009c */ sb $t5,0x9c($s2) +.PB0f196b94: +/* f196b94: 8e4c0004 */ lw $t4,0x4($s2) +.PB0f196b98: +/* f196b98: 24010004 */ li $at,0x4 +/* f196b9c: 918e0047 */ lbu $t6,0x47($t4) +/* f196ba0: 55c1000e */ bnel $t6,$at,.PB0f196bdc +/* f196ba4: 824a004f */ lb $t2,0x4f($s2) +/* f196ba8: 868f017e */ lh $t7,0x17e($s4) +/* f196bac: 241effff */ li $s8,-1 +/* f196bb0: 53cf000a */ beql $s8,$t7,.PB0f196bdc +/* f196bb4: 824a004f */ lb $t2,0x4f($s2) +/* f196bb8: 8e580128 */ lw $t8,0x128($s2) +/* f196bbc: 53000007 */ beqzl $t8,.PB0f196bdc +/* f196bc0: 824a004f */ lb $t2,0x4f($s2) +/* f196bc4: 929902a0 */ lbu $t9,0x2a0($s4) +/* f196bc8: 2401002f */ li $at,0x2f +/* f196bcc: 53210003 */ beql $t9,$at,.PB0f196bdc +/* f196bd0: 824a004f */ lb $t2,0x4f($s2) +/* f196bd4: ae5700d8 */ sw $s7,0xd8($s2) +/* f196bd8: 824a004f */ lb $t2,0x4f($s2) +.PB0f196bdc: +/* f196bdc: 241effff */ li $s8,-1 +/* f196be0: 05430143 */ bgezl $t2,.PB0f1970f0 +/* f196be4: 928d02a0 */ lbu $t5,0x2a0($s4) +/* f196be8: 8e420118 */ lw $v0,0x118($s2) +/* f196bec: 18400005 */ blez $v0,.PB0f196c04 +/* f196bf0: 00000000 */ nop +/* f196bf4: 8ecb0038 */ lw $t3,0x38($s6) +/* f196bf8: 004b6823 */ subu $t5,$v0,$t3 +/* f196bfc: ae4d0118 */ sw $t5,0x118($s2) +/* f196c00: 01a01025 */ move $v0,$t5 +.PB0f196c04: +/* f196c04: 5c40013a */ bgtzl $v0,.PB0f1970f0 +/* f196c08: 928d02a0 */ lbu $t5,0x2a0($s4) +/* f196c0c: 0fc6589f */ jal 0xf19627c +/* f196c10: 02802025 */ move $a0,$s4 +/* f196c14: 3c03800b */ lui $v1,0x800b +/* f196c18: 906311b8 */ lbu $v1,0x11b8($v1) +/* f196c1c: 00409825 */ move $s3,$v0 +/* f196c20: 02802025 */ move $a0,$s4 +/* f196c24: 16e3001e */ bne $s7,$v1,.PB0f196ca0 +/* f196c28: 24010002 */ li $at,0x2 +/* f196c2c: 2405000b */ li $a1,0xb +/* f196c30: 0fc658b3 */ jal 0xf1962cc +/* f196c34: 00003025 */ move $a2,$zero +/* f196c38: 18400010 */ blez $v0,.PB0f196c7c +/* f196c3c: 266c0001 */ addiu $t4,$s3,0x1 +/* f196c40: 05810003 */ bgez $t4,.PB0f196c50 +/* f196c44: 000c7043 */ sra $t6,$t4,0x1 +/* f196c48: 25810001 */ addiu $at,$t4,0x1 +/* f196c4c: 00017043 */ sra $t6,$at,0x1 +.PB0f196c50: +/* f196c50: 004e082a */ slt $at,$v0,$t6 +/* f196c54: 5420000a */ bnezl $at,.PB0f196c80 +/* f196c58: 02802025 */ move $a0,$s4 +/* f196c5c: 0c004be0 */ jal 0x12f80 +/* f196c60: 00000000 */ nop +/* f196c64: 24010064 */ li $at,0x64 +/* f196c68: 0041001b */ divu $zero,$v0,$at +/* f196c6c: 00007810 */ mfhi $t7 +/* f196c70: 2de10042 */ sltiu $at,$t7,0x42 +/* f196c74: 10200006 */ beqz $at,.PB0f196c90 +/* f196c78: 02802025 */ move $a0,$s4 +.PB0f196c7c: +/* f196c7c: 02802025 */ move $a0,$s4 +.PB0f196c80: +/* f196c80: 0fc6506e */ jal 0xf1941b8 +/* f196c84: 2405000b */ li $a1,0xb +/* f196c88: 10000111 */ b .PB0f1970d0 +/* f196c8c: 00000000 */ nop +.PB0f196c90: +/* f196c90: 0fc6506e */ jal 0xf1941b8 +/* f196c94: 24050004 */ li $a1,0x4 +/* f196c98: 1000010d */ b .PB0f1970d0 +/* f196c9c: 00000000 */ nop +.PB0f196ca0: +/* f196ca0: 14610022 */ bne $v1,$at,.PB0f196d2c +/* f196ca4: 02802025 */ move $a0,$s4 +/* f196ca8: 24050005 */ li $a1,0x5 +/* f196cac: 0fc658b3 */ jal 0xf1962cc +/* f196cb0: 00003025 */ move $a2,$zero +/* f196cb4: 8e58004c */ lw $t8,0x4c($s2) +/* f196cb8: 00184940 */ sll $t1,$t8,0x5 +/* f196cbc: 05220013 */ bltzl $t1,.PB0f196d0c +/* f196cc0: 02802025 */ move $a0,$s4 +/* f196cc4: 18400010 */ blez $v0,.PB0f196d08 +/* f196cc8: 266a0001 */ addiu $t2,$s3,0x1 +/* f196ccc: 05410003 */ bgez $t2,.PB0f196cdc +/* f196cd0: 000a5843 */ sra $t3,$t2,0x1 +/* f196cd4: 25410001 */ addiu $at,$t2,0x1 +/* f196cd8: 00015843 */ sra $t3,$at,0x1 +.PB0f196cdc: +/* f196cdc: 004b082a */ slt $at,$v0,$t3 +/* f196ce0: 5420000a */ bnezl $at,.PB0f196d0c +/* f196ce4: 02802025 */ move $a0,$s4 +/* f196ce8: 0c004be0 */ jal 0x12f80 +/* f196cec: 00000000 */ nop +/* f196cf0: 24010064 */ li $at,0x64 +/* f196cf4: 0041001b */ divu $zero,$v0,$at +/* f196cf8: 00006810 */ mfhi $t5 +/* f196cfc: 2da10032 */ sltiu $at,$t5,0x32 +/* f196d00: 10200006 */ beqz $at,.PB0f196d1c +/* f196d04: 02802025 */ move $a0,$s4 +.PB0f196d08: +/* f196d08: 02802025 */ move $a0,$s4 +.PB0f196d0c: +/* f196d0c: 0fc6506e */ jal 0xf1941b8 +/* f196d10: 24050005 */ li $a1,0x5 +/* f196d14: 100000ee */ b .PB0f1970d0 +/* f196d18: 00000000 */ nop +.PB0f196d1c: +/* f196d1c: 0fc6506e */ jal 0xf1941b8 +/* f196d20: 24050004 */ li $a1,0x4 +/* f196d24: 100000ea */ b .PB0f1970d0 +/* f196d28: 00000000 */ nop +.PB0f196d2c: +/* f196d2c: 24010003 */ li $at,0x3 +/* f196d30: 1461001e */ bne $v1,$at,.PB0f196dac +/* f196d34: 02802025 */ move $a0,$s4 +/* f196d38: 2405000c */ li $a1,0xc +/* f196d3c: 0fc658b3 */ jal 0xf1962cc +/* f196d40: 00003025 */ move $a2,$zero +/* f196d44: 18400010 */ blez $v0,.PB0f196d88 +/* f196d48: 266c0001 */ addiu $t4,$s3,0x1 +/* f196d4c: 05810003 */ bgez $t4,.PB0f196d5c +/* f196d50: 000c7043 */ sra $t6,$t4,0x1 +/* f196d54: 25810001 */ addiu $at,$t4,0x1 +/* f196d58: 00017043 */ sra $t6,$at,0x1 +.PB0f196d5c: +/* f196d5c: 004e082a */ slt $at,$v0,$t6 +/* f196d60: 5420000a */ bnezl $at,.PB0f196d8c +/* f196d64: 02802025 */ move $a0,$s4 +/* f196d68: 0c004be0 */ jal 0x12f80 +/* f196d6c: 00000000 */ nop +/* f196d70: 24010064 */ li $at,0x64 +/* f196d74: 0041001b */ divu $zero,$v0,$at +/* f196d78: 00007810 */ mfhi $t7 +/* f196d7c: 2de10032 */ sltiu $at,$t7,0x32 +/* f196d80: 10200006 */ beqz $at,.PB0f196d9c +/* f196d84: 02802025 */ move $a0,$s4 +.PB0f196d88: +/* f196d88: 02802025 */ move $a0,$s4 +.PB0f196d8c: +/* f196d8c: 0fc6506e */ jal 0xf1941b8 +/* f196d90: 2405000c */ li $a1,0xc +/* f196d94: 100000ce */ b .PB0f1970d0 +/* f196d98: 00000000 */ nop +.PB0f196d9c: +/* f196d9c: 0fc6506e */ jal 0xf1941b8 +/* f196da0: 24050004 */ li $a1,0x4 +/* f196da4: 100000ca */ b .PB0f1970d0 +/* f196da8: 00000000 */ nop +.PB0f196dac: +/* f196dac: 24010004 */ li $at,0x4 +/* f196db0: 54610034 */ bnel $v1,$at,.PB0f196e84 +/* f196db4: 24010005 */ li $at,0x5 +/* f196db8: 0fc6592b */ jal 0xf1964ac +/* f196dbc: 02802025 */ move $a0,$s4 +/* f196dc0: 8e98001c */ lw $t8,0x1c($s4) +/* f196dc4: 3c09800b */ lui $t1,0x800b +/* f196dc8: 8529073e */ lh $t1,0x73e($t1) +/* f196dcc: 87190028 */ lh $t9,0x28($t8) +/* f196dd0: 00408025 */ move $s0,$v0 +/* f196dd4: 02802025 */ move $a0,$s4 +/* f196dd8: 17290002 */ bne $t9,$t1,.PB0f196de4 +/* f196ddc: 00000000 */ nop +/* f196de0: 2450ffff */ addiu $s0,$v0,-1 +.PB0f196de4: +/* f196de4: 1a000008 */ blez $s0,.PB0f196e08 +/* f196de8: 00000000 */ nop +/* f196dec: 06610003 */ bgez $s3,.PB0f196dfc +/* f196df0: 00135043 */ sra $t2,$s3,0x1 +/* f196df4: 26610001 */ addiu $at,$s3,0x1 +/* f196df8: 00015043 */ sra $t2,$at,0x1 +.PB0f196dfc: +/* f196dfc: 020a082a */ slt $at,$s0,$t2 +/* f196e00: 10200005 */ beqz $at,.PB0f196e18 +/* f196e04: 00000000 */ nop +.PB0f196e08: +/* f196e08: 0fc6506e */ jal 0xf1941b8 +/* f196e0c: 2405000a */ li $a1,0xa +/* f196e10: 100000af */ b .PB0f1970d0 +/* f196e14: 00000000 */ nop +.PB0f196e18: +/* f196e18: 0fc6594e */ jal 0xf196538 +/* f196e1c: 02802025 */ move $a0,$s4 +/* f196e20: 0050082a */ slt $at,$v0,$s0 +/* f196e24: 10200012 */ beqz $at,.PB0f196e70 +/* f196e28: 02802025 */ move $a0,$s4 +/* f196e2c: 0c004be0 */ jal 0x12f80 +/* f196e30: 00000000 */ nop +/* f196e34: 24010064 */ li $at,0x64 +/* f196e38: 0041001b */ divu $zero,$v0,$at +/* f196e3c: 00005810 */ mfhi $t3 +/* f196e40: 2d610032 */ sltiu $at,$t3,0x32 +/* f196e44: 10200006 */ beqz $at,.PB0f196e60 +/* f196e48: 02802025 */ move $a0,$s4 +/* f196e4c: 02802025 */ move $a0,$s4 +/* f196e50: 0fc6506e */ jal 0xf1941b8 +/* f196e54: 24050009 */ li $a1,0x9 +/* f196e58: 1000009d */ b .PB0f1970d0 +/* f196e5c: 00000000 */ nop +.PB0f196e60: +/* f196e60: 0fc6506e */ jal 0xf1941b8 +/* f196e64: 24050004 */ li $a1,0x4 +/* f196e68: 10000099 */ b .PB0f1970d0 +/* f196e6c: 00000000 */ nop +.PB0f196e70: +/* f196e70: 0fc6506e */ jal 0xf1941b8 +/* f196e74: 2405000a */ li $a1,0xa +/* f196e78: 10000095 */ b .PB0f1970d0 +/* f196e7c: 00000000 */ nop +/* f196e80: 24010005 */ li $at,0x5 +.PB0f196e84: +/* f196e84: 14610092 */ bne $v1,$at,.PB0f1970d0 +/* f196e88: 00000000 */ nop +/* f196e8c: 14570035 */ bne $v0,$s7,.PB0f196f64 +/* f196e90: 02802025 */ move $a0,$s4 +/* f196e94: 02802025 */ move $a0,$s4 +/* f196e98: 24050006 */ li $a1,0x6 +/* f196e9c: 0fc658b3 */ jal 0xf1962cc +/* f196ea0: 02e03025 */ move $a2,$s7 +/* f196ea4: 00408025 */ move $s0,$v0 +/* f196ea8: 0fc65911 */ jal 0xf196444 +/* f196eac: 02802025 */ move $a0,$s4 +/* f196eb0: 10400005 */ beqz $v0,.PB0f196ec8 +/* f196eb4: 02802025 */ move $a0,$s4 +/* f196eb8: 0fc6506e */ jal 0xf1941b8 +/* f196ebc: 24050006 */ li $a1,0x6 +/* f196ec0: 10000083 */ b .PB0f1970d0 +/* f196ec4: 00000000 */ nop +.PB0f196ec8: +/* f196ec8: 0fc658f7 */ jal 0xf1963dc +/* f196ecc: 02802025 */ move $a0,$s4 +/* f196ed0: 10400012 */ beqz $v0,.PB0f196f1c +/* f196ed4: 00000000 */ nop +/* f196ed8: 0c004be0 */ jal 0x12f80 +/* f196edc: 00000000 */ nop +/* f196ee0: 24010064 */ li $at,0x64 +/* f196ee4: 0041001b */ divu $zero,$v0,$at +/* f196ee8: 00006810 */ mfhi $t5 +/* f196eec: 2da1001e */ sltiu $at,$t5,0x1e +/* f196ef0: 10200006 */ beqz $at,.PB0f196f0c +/* f196ef4: 02802025 */ move $a0,$s4 +/* f196ef8: 02802025 */ move $a0,$s4 +/* f196efc: 0fc6506e */ jal 0xf1941b8 +/* f196f00: 24050006 */ li $a1,0x6 +/* f196f04: 10000072 */ b .PB0f1970d0 +/* f196f08: 00000000 */ nop +.PB0f196f0c: +/* f196f0c: 0fc6506e */ jal 0xf1941b8 +/* f196f10: 24050008 */ li $a1,0x8 +/* f196f14: 1000006e */ b .PB0f1970d0 +/* f196f18: 00000000 */ nop +.PB0f196f1c: +/* f196f1c: 0c004be0 */ jal 0x12f80 +/* f196f20: 00000000 */ nop +/* f196f24: 24010064 */ li $at,0x64 +/* f196f28: 0041001b */ divu $zero,$v0,$at +/* f196f2c: 00006010 */ mfhi $t4 +/* f196f30: 2d810046 */ sltiu $at,$t4,0x46 +/* f196f34: 14200003 */ bnez $at,.PB0f196f44 +/* f196f38: 02802025 */ move $a0,$s4 +/* f196f3c: 1e000005 */ bgtz $s0,.PB0f196f54 +/* f196f40: 24050008 */ li $a1,0x8 +.PB0f196f44: +/* f196f44: 0fc6506e */ jal 0xf1941b8 +/* f196f48: 24050006 */ li $a1,0x6 +/* f196f4c: 10000060 */ b .PB0f1970d0 +/* f196f50: 00000000 */ nop +.PB0f196f54: +/* f196f54: 0fc6506e */ jal 0xf1941b8 +/* f196f58: 02802025 */ move $a0,$s4 +/* f196f5c: 1000005c */ b .PB0f1970d0 +/* f196f60: 00000000 */ nop +.PB0f196f64: +/* f196f64: 24050006 */ li $a1,0x6 +/* f196f68: 0fc658b3 */ jal 0xf1962cc +/* f196f6c: 00003025 */ move $a2,$zero +/* f196f70: 00408825 */ move $s1,$v0 +/* f196f74: 02802025 */ move $a0,$s4 +/* f196f78: 24050008 */ li $a1,0x8 +/* f196f7c: 0fc658b3 */ jal 0xf1962cc +/* f196f80: 00003025 */ move $a2,$zero +/* f196f84: 00408025 */ move $s0,$v0 +/* f196f88: 0fc65911 */ jal 0xf196444 +/* f196f8c: 02802025 */ move $a0,$s4 +/* f196f90: 10400005 */ beqz $v0,.PB0f196fa8 +/* f196f94: 02802025 */ move $a0,$s4 +/* f196f98: 0fc6506e */ jal 0xf1941b8 +/* f196f9c: 24050006 */ li $a1,0x6 +/* f196fa0: 1000004b */ b .PB0f1970d0 +/* f196fa4: 00000000 */ nop +.PB0f196fa8: +/* f196fa8: 0fc658f7 */ jal 0xf1963dc +/* f196fac: 02802025 */ move $a0,$s4 +/* f196fb0: 10400014 */ beqz $v0,.PB0f197004 +/* f196fb4: 00000000 */ nop +/* f196fb8: 5a00000a */ blezl $s0,.PB0f196fe4 +/* f196fbc: 02802025 */ move $a0,$s4 +/* f196fc0: 0c004be0 */ jal 0x12f80 +/* f196fc4: 00000000 */ nop +/* f196fc8: 24010064 */ li $at,0x64 +/* f196fcc: 0041001b */ divu $zero,$v0,$at +/* f196fd0: 00007010 */ mfhi $t6 +/* f196fd4: 2dc10046 */ sltiu $at,$t6,0x46 +/* f196fd8: 10200006 */ beqz $at,.PB0f196ff4 +/* f196fdc: 02802025 */ move $a0,$s4 +/* f196fe0: 02802025 */ move $a0,$s4 +.PB0f196fe4: +/* f196fe4: 0fc6506e */ jal 0xf1941b8 +/* f196fe8: 24050008 */ li $a1,0x8 +/* f196fec: 10000038 */ b .PB0f1970d0 +/* f196ff0: 00000000 */ nop +.PB0f196ff4: +/* f196ff4: 0fc6506e */ jal 0xf1941b8 +/* f196ff8: 24050006 */ li $a1,0x6 +/* f196ffc: 10000034 */ b .PB0f1970d0 +/* f197000: 00000000 */ nop +.PB0f197004: +/* f197004: 1a200005 */ blez $s1,.PB0f19701c +/* f197008: 24010003 */ li $at,0x3 +/* f19700c: 0261001a */ div $zero,$s3,$at +/* f197010: 00007812 */ mflo $t7 +/* f197014: 022f082a */ slt $at,$s1,$t7 +/* f197018: 10200005 */ beqz $at,.PB0f197030 +.PB0f19701c: +/* f19701c: 02802025 */ move $a0,$s4 +/* f197020: 0fc6506e */ jal 0xf1941b8 +/* f197024: 24050006 */ li $a1,0x6 +/* f197028: 10000029 */ b .PB0f1970d0 +/* f19702c: 00000000 */ nop +.PB0f197030: +/* f197030: 1a000008 */ blez $s0,.PB0f197054 +/* f197034: 02802025 */ move $a0,$s4 +/* f197038: 06610003 */ bgez $s3,.PB0f197048 +/* f19703c: 0013c083 */ sra $t8,$s3,0x2 +/* f197040: 26610003 */ addiu $at,$s3,0x3 +/* f197044: 0001c083 */ sra $t8,$at,0x2 +.PB0f197048: +/* f197048: 0218082a */ slt $at,$s0,$t8 +/* f19704c: 10200005 */ beqz $at,.PB0f197064 +/* f197050: 00000000 */ nop +.PB0f197054: +/* f197054: 0fc6506e */ jal 0xf1941b8 +/* f197058: 24050008 */ li $a1,0x8 +/* f19705c: 1000001c */ b .PB0f1970d0 +/* f197060: 00000000 */ nop +.PB0f197064: +/* f197064: 0c004be0 */ jal 0x12f80 +/* f197068: 00000000 */ nop +/* f19706c: 24010064 */ li $at,0x64 +/* f197070: 0041001b */ divu $zero,$v0,$at +/* f197074: 0000c810 */ mfhi $t9 +/* f197078: 2f21001e */ sltiu $at,$t9,0x1e +/* f19707c: 10200005 */ beqz $at,.PB0f197094 +/* f197080: 02802025 */ move $a0,$s4 +/* f197084: 0fc6506e */ jal 0xf1941b8 +/* f197088: 24050006 */ li $a1,0x6 +/* f19708c: 10000010 */ b .PB0f1970d0 +/* f197090: 00000000 */ nop +.PB0f197094: +/* f197094: 0c004be0 */ jal 0x12f80 +/* f197098: 00000000 */ nop +/* f19709c: 24010064 */ li $at,0x64 +/* f1970a0: 0041001b */ divu $zero,$v0,$at +/* f1970a4: 00004810 */ mfhi $t1 +/* f1970a8: 2d21001e */ sltiu $at,$t1,0x1e +/* f1970ac: 10200006 */ beqz $at,.PB0f1970c8 +/* f1970b0: 02802025 */ move $a0,$s4 +/* f1970b4: 02802025 */ move $a0,$s4 +/* f1970b8: 0fc6506e */ jal 0xf1941b8 +/* f1970bc: 24050008 */ li $a1,0x8 +/* f1970c0: 10000003 */ b .PB0f1970d0 +/* f1970c4: 00000000 */ nop +.PB0f1970c8: +/* f1970c8: 0fc6506e */ jal 0xf1941b8 +/* f1970cc: 24050004 */ li $a1,0x4 +.PB0f1970d0: +/* f1970d0: 0c004be0 */ jal 0x12f80 +/* f1970d4: 00000000 */ nop +/* f1970d8: 240107d0 */ li $at,0x7d0 +/* f1970dc: 0041001b */ divu $zero,$v0,$at +/* f1970e0: 00005010 */ mfhi $t2 +/* f1970e4: 254b03e8 */ addiu $t3,$t2,0x3e8 +/* f1970e8: ae4b0118 */ sw $t3,0x118($s2) +/* f1970ec: 928d02a0 */ lbu $t5,0x2a0($s4) +.PB0f1970f0: +/* f1970f0: 24010029 */ li $at,0x29 +/* f1970f4: 51a10005 */ beql $t5,$at,.PB0f19710c +/* f1970f8: 8e4e0004 */ lw $t6,0x4($s2) +/* f1970fc: 8e4c00d8 */ lw $t4,0xd8($s2) +/* f197100: 1180039a */ beqz $t4,.PB0f197f6c +/* f197104: 00000000 */ nop +/* f197108: 8e4e0004 */ lw $t6,0x4($s2) +.PB0f19710c: +/* f19710c: ae4000d8 */ sw $zero,0xd8($s2) +/* f197110: a65e0008 */ sh $s8,0x8($s2) +/* f197114: 91cf0047 */ lbu $t7,0x47($t6) +/* f197118: 24010004 */ li $at,0x4 +/* f19711c: 15e1000e */ bne $t7,$at,.PB0f197158 +/* f197120: 00000000 */ nop +/* f197124: 8698017e */ lh $t8,0x17e($s4) +/* f197128: 13d8000b */ beq $s8,$t8,.PB0f197158 +/* f19712c: 00000000 */ nop +/* f197130: 8e590128 */ lw $t9,0x128($s2) +/* f197134: 02802025 */ move $a0,$s4 +/* f197138: 13200007 */ beqz $t9,.PB0f197158 +/* f19713c: 00000000 */ nop +/* f197140: 0fc0a255 */ jal 0xf028954 +/* f197144: 2415002f */ li $s5,0x2f +/* f197148: 0fc63af1 */ jal 0xf18ebc4 +/* f19714c: 8c440004 */ lw $a0,0x4($v0) +/* f197150: a6420008 */ sh $v0,0x8($s2) +/* f197154: ae5e01d8 */ sw $s8,0x1d8($s2) +.PB0f197158: +/* f197158: 06a10006 */ bgez $s5,.PB0f197174 +/* f19715c: 00000000 */ nop +/* f197160: 0fc6588f */ jal 0xf19623c +/* f197164: 02802025 */ move $a0,$s4 +/* f197168: 10400002 */ beqz $v0,.PB0f197174 +/* f19716c: ae420010 */ sw $v0,0x10($s2) +/* f197170: 2415002a */ li $s5,0x2a +.PB0f197174: +/* f197174: 06a10240 */ bgez $s5,.PB0f197a78 +/* f197178: 00000000 */ nop +/* f19717c: 92420079 */ lbu $v0,0x79($s2) +/* f197180: 16e20019 */ bne $s7,$v0,.PB0f1971e8 +/* f197184: 00000000 */ nop +/* f197188: 8e4900c0 */ lw $t1,0xc0($s2) +/* f19718c: 8ecb0338 */ lw $t3,0x338($s6) +/* f197190: 000950c0 */ sll $t2,$t1,0x3 +/* f197194: 01495021 */ addu $t2,$t2,$t1 +/* f197198: 000a50c0 */ sll $t2,$t2,0x3 +/* f19719c: 014b6821 */ addu $t5,$t2,$t3 +/* f1971a0: 8db00004 */ lw $s0,0x4($t5) +/* f1971a4: 0fc0e6e9 */ jal 0xf039ba4 +/* f1971a8: 02002025 */ move $a0,$s0 +/* f1971ac: 14400232 */ bnez $v0,.PB0f197a78 +/* f1971b0: 02802025 */ move $a0,$s4 +/* f1971b4: 0fc6513d */ jal 0xf1944f4 +/* f1971b8: 02002825 */ move $a1,$s0 +/* f1971bc: 1440022e */ bnez $v0,.PB0f197a78 +/* f1971c0: 02802025 */ move $a0,$s4 +/* f1971c4: 0fc65258 */ jal 0xf194960 +/* f1971c8: 02002825 */ move $a1,$s0 +/* f1971cc: 1040022a */ beqz $v0,.PB0f197a78 +/* f1971d0: 02002025 */ move $a0,$s0 +/* f1971d4: 0fc63af1 */ jal 0xf18ebc4 +/* f1971d8: 2415002f */ li $s5,0x2f +/* f1971dc: a6420008 */ sh $v0,0x8($s2) +/* f1971e0: 10000225 */ b .PB0f197a78 +/* f1971e4: ae5e01d8 */ sw $s8,0x1d8($s2) +.PB0f1971e8: +/* f1971e8: 1440000d */ bnez $v0,.PB0f197220 +/* f1971ec: 2401000d */ li $at,0xd +/* f1971f0: 8e4c00d4 */ lw $t4,0xd4($s2) +/* f1971f4: ae5701e0 */ sw $s7,0x1e0($s2) +/* f1971f8: 8ecf0338 */ lw $t7,0x338($s6) +/* f1971fc: 000c70c0 */ sll $t6,$t4,0x3 +/* f197200: 01cc7021 */ addu $t6,$t6,$t4 +/* f197204: 000e70c0 */ sll $t6,$t6,0x3 +/* f197208: 01cfc021 */ addu $t8,$t6,$t7 +/* f19720c: 24150032 */ li $s5,0x32 +/* f197210: 0fc63af1 */ jal 0xf18ebc4 +/* f197214: 8f040004 */ lw $a0,0x4($t8) +/* f197218: 10000217 */ b .PB0f197a78 +/* f19721c: a642000a */ sh $v0,0xa($s2) +.PB0f197220: +/* f197220: 5441000e */ bnel $v0,$at,.PB0f19725c +/* f197224: 24010002 */ li $at,0x2 +/* f197228: 8e5900d4 */ lw $t9,0xd4($s2) +/* f19722c: ae4001e0 */ sw $zero,0x1e0($s2) +/* f197230: 8eca0338 */ lw $t2,0x338($s6) +/* f197234: 001948c0 */ sll $t1,$t9,0x3 +/* f197238: 01394821 */ addu $t1,$t1,$t9 +/* f19723c: 000948c0 */ sll $t1,$t1,0x3 +/* f197240: 012a5821 */ addu $t3,$t1,$t2 +/* f197244: 24150032 */ li $s5,0x32 +/* f197248: 0fc63af1 */ jal 0xf18ebc4 +/* f19724c: 8d640004 */ lw $a0,0x4($t3) +/* f197250: 10000209 */ b .PB0f197a78 +/* f197254: a642000a */ sh $v0,0xa($s2) +/* f197258: 24010002 */ li $at,0x2 +.PB0f19725c: +/* f19725c: 54410005 */ bnel $v0,$at,.PB0f197274 +/* f197260: 24010003 */ li $at,0x3 +/* f197264: 24150033 */ li $s5,0x33 +/* f197268: 10000203 */ b .PB0f197a78 +/* f19726c: ae5701dc */ sw $s7,0x1dc($s2) +/* f197270: 24010003 */ li $at,0x3 +.PB0f197274: +/* f197274: 54410005 */ bnel $v0,$at,.PB0f19728c +/* f197278: 24010006 */ li $at,0x6 +/* f19727c: 24150033 */ li $s5,0x33 +/* f197280: 100001fd */ b .PB0f197a78 +/* f197284: ae4001dc */ sw $zero,0x1dc($s2) +/* f197288: 24010006 */ li $at,0x6 +.PB0f19728c: +/* f19728c: 14410089 */ bne $v0,$at,.PB0f1974b4 +/* f197290: 3c0d800b */ lui $t5,0x800b +/* f197294: 91ad11b8 */ lbu $t5,0x11b8($t5) +/* f197298: 24010005 */ li $at,0x5 +/* f19729c: 15a10083 */ bne $t5,$at,.PB0f1974ac +/* f1972a0: 00000000 */ nop +/* f1972a4: 8e4c009c */ lw $t4,0x9c($s2) +/* f1972a8: 000c7840 */ sll $t7,$t4,0x1 +/* f1972ac: 05e0007f */ bltz $t7,.PB0f1974ac +/* f1972b0: 00000000 */ nop +/* f1972b4: 0fc6414a */ jal 0xf190528 +/* f1972b8: 92840125 */ lbu $a0,0x125($s4) +/* f1972bc: 3c07800b */ lui $a3,0x800b +/* f1972c0: 00003025 */ move $a2,$zero +/* f1972c4: 24e70730 */ addiu $a3,$a3,0x730 +/* f1972c8: 00002825 */ move $a1,$zero +/* f1972cc: 27b00298 */ addiu $s0,$sp,0x298 +/* f1972d0: 24080003 */ li $t0,0x3 +.PB0f1972d4: +/* f1972d4: 10a20020 */ beq $a1,$v0,.PB0f197358 +/* f1972d8: 0005c040 */ sll $t8,$a1,0x1 +/* f1972dc: 00f8c821 */ addu $t9,$a3,$t8 +/* f1972e0: 87290000 */ lh $t1,0x0($t9) +/* f1972e4: 00055080 */ sll $t2,$a1,0x2 +/* f1972e8: 00ea5821 */ addu $t3,$a3,$t2 +/* f1972ec: 5120001b */ beqzl $t1,.PB0f19735c +/* f1972f0: 24a50001 */ addiu $a1,$a1,0x1 +/* f1972f4: 8d640058 */ lw $a0,0x58($t3) +/* f1972f8: 24010004 */ li $at,0x4 +/* f1972fc: 00066880 */ sll $t5,$a2,0x2 +/* f197300: 90830000 */ lbu $v1,0x0($a0) +/* f197304: 020d6021 */ addu $t4,$s0,$t5 +/* f197308: 50610004 */ beql $v1,$at,.PB0f19731c +/* f19730c: ad840000 */ sw $a0,0x0($t4) +/* f197310: 16e30004 */ bne $s7,$v1,.PB0f197324 +/* f197314: 00000000 */ nop +/* f197318: ad840000 */ sw $a0,0x0($t4) +.PB0f19731c: +/* f19731c: 1000000e */ b .PB0f197358 +/* f197320: 24c60001 */ addiu $a2,$a2,0x1 +.PB0f197324: +/* f197324: 11030003 */ beq $t0,$v1,.PB0f197334 +/* f197328: 24010006 */ li $at,0x6 +/* f19732c: 5461000b */ bnel $v1,$at,.PB0f19735c +/* f197330: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f197334: +/* f197334: 8c830004 */ lw $v1,0x4($a0) +/* f197338: 928e0125 */ lbu $t6,0x125($s4) +/* f19733c: 0006c080 */ sll $t8,$a2,0x2 +/* f197340: 906f0125 */ lbu $t7,0x125($v1) +/* f197344: 0218c821 */ addu $t9,$s0,$t8 +/* f197348: 55cf0004 */ bnel $t6,$t7,.PB0f19735c +/* f19734c: 24a50001 */ addiu $a1,$a1,0x1 +/* f197350: af240000 */ sw $a0,0x0($t9) +/* f197354: 24c60001 */ addiu $a2,$a2,0x1 +.PB0f197358: +/* f197358: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f19735c: +/* f19735c: 24010004 */ li $at,0x4 +/* f197360: 14a1ffdc */ bne $a1,$at,.PB0f1972d4 +/* f197364: 00000000 */ nop +/* f197368: 18c00050 */ blez $a2,.PB0f1974ac +/* f19736c: 00000000 */ nop +/* f197370: 0c004be0 */ jal 0x12f80 +/* f197374: afa60294 */ sw $a2,0x294($sp) +/* f197378: 8fa60294 */ lw $a2,0x294($sp) +/* f19737c: 0046001b */ divu $zero,$v0,$a2 +/* f197380: 00002010 */ mfhi $a0 +/* f197384: 24890001 */ addiu $t1,$a0,0x1 +/* f197388: 00808825 */ move $s1,$a0 +/* f19738c: 0126001a */ div $zero,$t1,$a2 +/* f197390: 00001810 */ mfhi $v1 +/* f197394: 14c00002 */ bnez $a2,.PB0f1973a0 +/* f197398: 00000000 */ nop +/* f19739c: 0007000d */ break 0x7 +.PB0f1973a0: +/* f1973a0: 14c00002 */ bnez $a2,.PB0f1973ac +/* f1973a4: 00000000 */ nop +/* f1973a8: 0007000d */ break 0x7 +.PB0f1973ac: +/* f1973ac: 2401ffff */ li $at,-1 +/* f1973b0: 14c10004 */ bne $a2,$at,.PB0f1973c4 +/* f1973b4: 3c018000 */ lui $at,0x8000 +/* f1973b8: 15210002 */ bne $t1,$at,.PB0f1973c4 +/* f1973bc: 00000000 */ nop +/* f1973c0: 0006000d */ break 0x6 +.PB0f1973c4: +/* f1973c4: 00035080 */ sll $t2,$v1,0x2 +.PB0f1973c8: +/* f1973c8: 020a5821 */ addu $t3,$s0,$t2 +/* f1973cc: 8d650000 */ lw $a1,0x0($t3) +/* f1973d0: afa60294 */ sw $a2,0x294($sp) +/* f1973d4: afa30288 */ sw $v1,0x288($sp) +/* f1973d8: 02802025 */ move $a0,$s4 +/* f1973dc: 0fc1259e */ jal 0xf049678 +/* f1973e0: 24a50008 */ addiu $a1,$a1,0x8 +/* f1973e4: 3c017f1c */ lui $at,0x7f1c +/* f1973e8: c424b2f4 */ lwc1 $f4,-0x4d0c($at) +/* f1973ec: 8fa30288 */ lw $v1,0x288($sp) +/* f1973f0: 8fa60294 */ lw $a2,0x294($sp) +/* f1973f4: 4604003c */ c.lt.s $f0,$f4 +/* f1973f8: 246d0001 */ addiu $t5,$v1,0x1 +/* f1973fc: 45000003 */ bc1f .PB0f19740c +/* f197400: 00000000 */ nop +/* f197404: 10000010 */ b .PB0f197448 +/* f197408: 00608825 */ move $s1,$v1 +.PB0f19740c: +/* f19740c: 5071000f */ beql $v1,$s1,.PB0f19744c +/* f197410: 00116080 */ sll $t4,$s1,0x2 +/* f197414: 01a6001a */ div $zero,$t5,$a2 +/* f197418: 00001810 */ mfhi $v1 +/* f19741c: 14c00002 */ bnez $a2,.PB0f197428 +/* f197420: 00000000 */ nop +/* f197424: 0007000d */ break 0x7 +.PB0f197428: +/* f197428: 2401ffff */ li $at,-1 +/* f19742c: 14c10004 */ bne $a2,$at,.PB0f197440 +/* f197430: 3c018000 */ lui $at,0x8000 +/* f197434: 15a10002 */ bne $t5,$at,.PB0f197440 +/* f197438: 00000000 */ nop +/* f19743c: 0006000d */ break 0x6 +.PB0f197440: +/* f197440: 1000ffe1 */ b .PB0f1973c8 +/* f197444: 00035080 */ sll $t2,$v1,0x2 +.PB0f197448: +/* f197448: 00116080 */ sll $t4,$s1,0x2 +.PB0f19744c: +/* f19744c: 020c9821 */ addu $s3,$s0,$t4 +/* f197450: 8e620000 */ lw $v0,0x0($s3) +/* f197454: 24010004 */ li $at,0x4 +/* f197458: 90430000 */ lbu $v1,0x0($v0) +/* f19745c: 50610004 */ beql $v1,$at,.PB0f197470 +/* f197460: 2415002a */ li $s5,0x2a +/* f197464: 16e30004 */ bne $s7,$v1,.PB0f197478 +/* f197468: 02802025 */ move $a0,$s4 +/* f19746c: 2415002a */ li $s5,0x2a +.PB0f197470: +/* f197470: 10000181 */ b .PB0f197a78 +/* f197474: ae420010 */ sw $v0,0x10($s2) +.PB0f197478: +/* f197478: 0fc6541f */ jal 0xf19507c +/* f19747c: 8c450004 */ lw $a1,0x4($v0) +/* f197480: 1040000a */ beqz $v0,.PB0f1974ac +/* f197484: 00000000 */ nop +/* f197488: 0c004be0 */ jal 0x12f80 +/* f19748c: 24150032 */ li $s5,0x32 +/* f197490: 304e0003 */ andi $t6,$v0,0x3 +/* f197494: 2dcf0001 */ sltiu $t7,$t6,0x1 +/* f197498: ae4f01e0 */ sw $t7,0x1e0($s2) +/* f19749c: 8e780000 */ lw $t8,0x0($s3) +/* f1974a0: 0fc63af1 */ jal 0xf18ebc4 +/* f1974a4: 8f040004 */ lw $a0,0x4($t8) +/* f1974a8: a642000a */ sh $v0,0xa($s2) +.PB0f1974ac: +/* f1974ac: 10000172 */ b .PB0f197a78 +/* f1974b0: 00000000 */ nop +.PB0f1974b4: +/* f1974b4: 24010008 */ li $at,0x8 +/* f1974b8: 14410043 */ bne $v0,$at,.PB0f1975c8 +/* f1974bc: 3c19800b */ lui $t9,0x800b +/* f1974c0: 933911b8 */ lbu $t9,0x11b8($t9) +/* f1974c4: 24010005 */ li $at,0x5 +/* f1974c8: 1721016b */ bne $t9,$at,.PB0f197a78 +/* f1974cc: 00000000 */ nop +/* f1974d0: 0fc6414a */ jal 0xf190528 +/* f1974d4: 92840125 */ lbu $a0,0x125($s4) +/* f1974d8: 00024880 */ sll $t1,$v0,0x2 +/* f1974dc: 3c03800b */ lui $v1,0x800b +/* f1974e0: 00691821 */ addu $v1,$v1,$t1 +/* f1974e4: 8c630788 */ lw $v1,0x788($v1) +/* f1974e8: 24010003 */ li $at,0x3 +/* f1974ec: 90640000 */ lbu $a0,0x0($v1) +/* f1974f0: 10810003 */ beq $a0,$at,.PB0f197500 +/* f1974f4: 24010006 */ li $at,0x6 +/* f1974f8: 54810026 */ bnel $a0,$at,.PB0f197594 +/* f1974fc: c4680008 */ lwc1 $f8,0x8($v1) +.PB0f197500: +/* f197500: 8c700004 */ lw $s0,0x4($v1) +/* f197504: 928a0125 */ lbu $t2,0x125($s4) +/* f197508: 02802025 */ move $a0,$s4 +/* f19750c: 920b0125 */ lbu $t3,0x125($s0) +/* f197510: 154b000e */ bne $t2,$t3,.PB0f19754c +/* f197514: 00000000 */ nop +/* f197518: 0fc6541f */ jal 0xf19507c +/* f19751c: 02002825 */ move $a1,$s0 +/* f197520: 10400155 */ beqz $v0,.PB0f197a78 +/* f197524: 00000000 */ nop +/* f197528: 0c004be0 */ jal 0x12f80 +/* f19752c: 24150032 */ li $s5,0x32 +/* f197530: 304d0003 */ andi $t5,$v0,0x3 +/* f197534: 2dac0001 */ sltiu $t4,$t5,0x1 +/* f197538: ae4c01e0 */ sw $t4,0x1e0($s2) +/* f19753c: 0fc63af1 */ jal 0xf18ebc4 +/* f197540: 02002025 */ move $a0,$s0 +/* f197544: 1000014c */ b .PB0f197a78 +/* f197548: a642000a */ sh $v0,0xa($s2) +.PB0f19754c: +/* f19754c: 0fc0e6e9 */ jal 0xf039ba4 +/* f197550: 02002025 */ move $a0,$s0 +/* f197554: 14400148 */ bnez $v0,.PB0f197a78 +/* f197558: 02802025 */ move $a0,$s4 +/* f19755c: 0fc6513d */ jal 0xf1944f4 +/* f197560: 02002825 */ move $a1,$s0 +/* f197564: 14400144 */ bnez $v0,.PB0f197a78 +/* f197568: 02802025 */ move $a0,$s4 +/* f19756c: 0fc65258 */ jal 0xf194960 +/* f197570: 02002825 */ move $a1,$s0 +/* f197574: 10400140 */ beqz $v0,.PB0f197a78 +/* f197578: 02002025 */ move $a0,$s0 +/* f19757c: 0fc63af1 */ jal 0xf18ebc4 +/* f197580: 2415002f */ li $s5,0x2f +/* f197584: a6420008 */ sh $v0,0x8($s2) +/* f197588: 1000013b */ b .PB0f197a78 +/* f19758c: ae5e01d8 */ sw $s8,0x1d8($s2) +/* f197590: c4680008 */ lwc1 $f8,0x8($v1) +.PB0f197594: +/* f197594: 2415002b */ li $s5,0x2b +/* f197598: 24640028 */ addiu $a0,$v1,0x28 +/* f19759c: e64800ec */ swc1 $f8,0xec($s2) +/* f1975a0: c466000c */ lwc1 $f6,0xc($v1) +/* f1975a4: 264500f8 */ addiu $a1,$s2,0xf8 +/* f1975a8: e64600f0 */ swc1 $f6,0xf0($s2) +/* f1975ac: c46a0010 */ lwc1 $f10,0x10($v1) +/* f1975b0: 0fc19661 */ jal 0xf065984 +/* f1975b4: e64a00f4 */ swc1 $f10,0xf4($s2) +/* f1975b8: 924e004c */ lbu $t6,0x4c($s2) +/* f1975bc: 31cfff7f */ andi $t7,$t6,0xff7f +/* f1975c0: 1000012d */ b .PB0f197a78 +/* f1975c4: a24f004c */ sb $t7,0x4c($s2) +.PB0f1975c8: +/* f1975c8: 24010009 */ li $at,0x9 +/* f1975cc: 14410048 */ bne $v0,$at,.PB0f1976f0 +/* f1975d0: 3c18800b */ lui $t8,0x800b +/* f1975d4: 931811b8 */ lbu $t8,0x11b8($t8) +/* f1975d8: 24010004 */ li $at,0x4 +/* f1975dc: 17010126 */ bne $t8,$at,.PB0f197a78 +/* f1975e0: 00000000 */ nop +/* f1975e4: 8e99001c */ lw $t9,0x1c($s4) +/* f1975e8: 3c0a800b */ lui $t2,0x800b +/* f1975ec: 854a073e */ lh $t2,0x73e($t2) +/* f1975f0: 87290028 */ lh $t1,0x28($t9) +/* f1975f4: 152a0016 */ bne $t1,$t2,.PB0f197650 +/* f1975f8: 00000000 */ nop +/* f1975fc: 868b017e */ lh $t3,0x17e($s4) +/* f197600: 13cb0013 */ beq $s8,$t3,.PB0f197650 +/* f197604: 00000000 */ nop +/* f197608: 8e4d0128 */ lw $t5,0x128($s2) +/* f19760c: 11a00010 */ beqz $t5,.PB0f197650 +/* f197610: 00000000 */ nop +/* f197614: 0fc0a255 */ jal 0xf028954 +/* f197618: 02802025 */ move $a0,$s4 +/* f19761c: 02802025 */ move $a0,$s4 +/* f197620: 0fc65258 */ jal 0xf194960 +/* f197624: 8c450004 */ lw $a1,0x4($v0) +/* f197628: 10400009 */ beqz $v0,.PB0f197650 +/* f19762c: 02802025 */ move $a0,$s4 +/* f197630: 0fc0a255 */ jal 0xf028954 +/* f197634: 2415002f */ li $s5,0x2f +/* f197638: 0fc63af1 */ jal 0xf18ebc4 +/* f19763c: 8c440004 */ lw $a0,0x4($v0) +/* f197640: 240c00fa */ li $t4,0xfa +/* f197644: a6420008 */ sh $v0,0x8($s2) +/* f197648: 1000010b */ b .PB0f197a78 +/* f19764c: ae4c01d8 */ sw $t4,0x1d8($s2) +.PB0f197650: +/* f197650: 3c04800b */ lui $a0,0x800b +/* f197654: 27ae0260 */ addiu $t6,$sp,0x260 +/* f197658: afae0010 */ sw $t6,0x10($sp) +/* f19765c: 8484073e */ lh $a0,0x73e($a0) +/* f197660: 27a5026c */ addiu $a1,$sp,0x26c +/* f197664: 27a60268 */ addiu $a2,$sp,0x268 +/* f197668: 0fc671fc */ jal 0xf19c7f0 +/* f19766c: 27a70264 */ addiu $a3,$sp,0x264 +/* f197670: 10400101 */ beqz $v0,.PB0f197a78 +/* f197674: c7b2026c */ lwc1 $f18,0x26c($sp) +/* f197678: e65200ec */ swc1 $f18,0xec($s2) +/* f19767c: c7a40270 */ lwc1 $f4,0x270($sp) +/* f197680: 3c04800b */ lui $a0,0x800b +/* f197684: 2415002b */ li $s5,0x2b +/* f197688: e64400f0 */ swc1 $f4,0xf0($s2) +/* f19768c: c7a80274 */ lwc1 $f8,0x274($sp) +/* f197690: 2484073e */ addiu $a0,$a0,0x73e +/* f197694: 264500f8 */ addiu $a1,$s2,0xf8 +/* f197698: 0fc19661 */ jal 0xf065984 +/* f19769c: e64800f4 */ swc1 $f8,0xf4($s2) +/* f1976a0: 8e8f001c */ lw $t7,0x1c($s4) +/* f1976a4: 3c19800b */ lui $t9,0x800b +/* f1976a8: 8739073e */ lh $t9,0x73e($t9) +/* f1976ac: 85f80028 */ lh $t8,0x28($t7) +/* f1976b0: 924e004c */ lbu $t6,0x4c($s2) +/* f1976b4: 3c0a800b */ lui $t2,0x800b +/* f1976b8: 03194826 */ xor $t1,$t8,$t9 +/* f1976bc: 2d290001 */ sltiu $t1,$t1,0x1 +/* f1976c0: 0009582b */ sltu $t3,$zero,$t1 +/* f1976c4: 000b61c0 */ sll $t4,$t3,0x7 +/* f1976c8: 31cfff7f */ andi $t7,$t6,0xff7f +/* f1976cc: 018fc025 */ or $t8,$t4,$t7 +/* f1976d0: a258004c */ sb $t8,0x4c($s2) +/* f1976d4: 8fb90264 */ lw $t9,0x264($sp) +/* f1976d8: a6590048 */ sh $t9,0x48($s2) +/* f1976dc: 8fa90260 */ lw $t1,0x260($sp) +/* f1976e0: a649004a */ sh $t1,0x4a($s2) +/* f1976e4: 854a073e */ lh $t2,0x73e($t2) +/* f1976e8: 100000e3 */ b .PB0f197a78 +/* f1976ec: ae4a00bc */ sw $t2,0xbc($s2) +.PB0f1976f0: +/* f1976f0: 2401000a */ li $at,0xa +/* f1976f4: 1441002c */ bne $v0,$at,.PB0f1977a8 +/* f1976f8: 3c0b800b */ lui $t3,0x800b +/* f1976fc: 916b11b8 */ lbu $t3,0x11b8($t3) +/* f197700: 24010004 */ li $at,0x4 +/* f197704: 3c04800b */ lui $a0,0x800b +/* f197708: 156100db */ bne $t3,$at,.PB0f197a78 +/* f19770c: 27a50254 */ addiu $a1,$sp,0x254 +/* f197710: 27ad0248 */ addiu $t5,$sp,0x248 +/* f197714: afad0010 */ sw $t5,0x10($sp) +/* f197718: 8484073e */ lh $a0,0x73e($a0) +/* f19771c: 27a60250 */ addiu $a2,$sp,0x250 +/* f197720: 0fc671fc */ jal 0xf19c7f0 +/* f197724: 27a7024c */ addiu $a3,$sp,0x24c +/* f197728: 104000d3 */ beqz $v0,.PB0f197a78 +/* f19772c: c7a60254 */ lwc1 $f6,0x254($sp) +/* f197730: e64600ec */ swc1 $f6,0xec($s2) +/* f197734: c7aa0258 */ lwc1 $f10,0x258($sp) +/* f197738: 3c04800b */ lui $a0,0x800b +/* f19773c: 2415002b */ li $s5,0x2b +/* f197740: e64a00f0 */ swc1 $f10,0xf0($s2) +/* f197744: c7b2025c */ lwc1 $f18,0x25c($sp) +/* f197748: 2484073e */ addiu $a0,$a0,0x73e +/* f19774c: 264500f8 */ addiu $a1,$s2,0xf8 +/* f197750: 0fc19661 */ jal 0xf065984 +/* f197754: e65200f4 */ swc1 $f18,0xf4($s2) +/* f197758: 8e8e001c */ lw $t6,0x1c($s4) +/* f19775c: 3c0f800b */ lui $t7,0x800b +/* f197760: 85ef073e */ lh $t7,0x73e($t7) +/* f197764: 85cc0028 */ lh $t4,0x28($t6) +/* f197768: 924d004c */ lbu $t5,0x4c($s2) +/* f19776c: 3c19800b */ lui $t9,0x800b +/* f197770: 018fc026 */ xor $t8,$t4,$t7 +/* f197774: 2f180001 */ sltiu $t8,$t8,0x1 +/* f197778: 0018482b */ sltu $t1,$zero,$t8 +/* f19777c: 000959c0 */ sll $t3,$t1,0x7 +/* f197780: 31aeff7f */ andi $t6,$t5,0xff7f +/* f197784: 016e6025 */ or $t4,$t3,$t6 +/* f197788: a24c004c */ sb $t4,0x4c($s2) +/* f19778c: 8faf024c */ lw $t7,0x24c($sp) +/* f197790: a64f0048 */ sh $t7,0x48($s2) +/* f197794: 8fb80248 */ lw $t8,0x248($sp) +/* f197798: a658004a */ sh $t8,0x4a($s2) +/* f19779c: 8739073e */ lh $t9,0x73e($t9) +/* f1977a0: 100000b5 */ b .PB0f197a78 +/* f1977a4: ae5900bc */ sw $t9,0xbc($s2) +.PB0f1977a8: +/* f1977a8: 24010005 */ li $at,0x5 +/* f1977ac: 1441003b */ bne $v0,$at,.PB0f19789c +/* f1977b0: 3c09800b */ lui $t1,0x800b +/* f1977b4: 912911b8 */ lbu $t1,0x11b8($t1) +/* f1977b8: 24010002 */ li $at,0x2 +/* f1977bc: 3c02800b */ lui $v0,0x800b +/* f1977c0: 152100ad */ bne $t1,$at,.PB0f197a78 +/* f1977c4: 00000000 */ nop +/* f1977c8: 8c42086c */ lw $v0,0x86c($v0) +/* f1977cc: 104000aa */ beqz $v0,.PB0f197a78 +/* f1977d0: 00000000 */ nop +/* f1977d4: 8e8a001c */ lw $t2,0x1c($s4) +/* f1977d8: 104a00a7 */ beq $v0,$t2,.PB0f197a78 +/* f1977dc: 00000000 */ nop +/* f1977e0: 90430000 */ lbu $v1,0x0($v0) +/* f1977e4: 24010003 */ li $at,0x3 +/* f1977e8: 3c0d800b */ lui $t5,0x800b +/* f1977ec: 10610003 */ beq $v1,$at,.PB0f1977fc +/* f1977f0: 24010006 */ li $at,0x6 +/* f1977f4: 54610027 */ bnel $v1,$at,.PB0f197894 +/* f1977f8: 2415002c */ li $s5,0x2c +.PB0f1977fc: +/* f1977fc: 8dad11b4 */ lw $t5,0x11b4($t5) +/* f197800: 8c500004 */ lw $s0,0x4($v0) +/* f197804: 02802025 */ move $a0,$s4 +/* f197808: 31ab0002 */ andi $t3,$t5,0x2 +/* f19780c: 11600013 */ beqz $t3,.PB0f19785c +/* f197810: 00000000 */ nop +/* f197814: 928e0125 */ lbu $t6,0x125($s4) +/* f197818: 920c0125 */ lbu $t4,0x125($s0) +/* f19781c: 02002825 */ move $a1,$s0 +/* f197820: 15cc000e */ bne $t6,$t4,.PB0f19785c +/* f197824: 00000000 */ nop +/* f197828: 0fc6541f */ jal 0xf19507c +/* f19782c: 02802025 */ move $a0,$s4 +/* f197830: 10400091 */ beqz $v0,.PB0f197a78 +/* f197834: 00000000 */ nop +/* f197838: 0c004be0 */ jal 0x12f80 +/* f19783c: 24150032 */ li $s5,0x32 +/* f197840: 304f0003 */ andi $t7,$v0,0x3 +/* f197844: 2df80001 */ sltiu $t8,$t7,0x1 +/* f197848: ae5801e0 */ sw $t8,0x1e0($s2) +/* f19784c: 0fc63af1 */ jal 0xf18ebc4 +/* f197850: 02002025 */ move $a0,$s0 +/* f197854: 10000088 */ b .PB0f197a78 +/* f197858: a642000a */ sh $v0,0xa($s2) +.PB0f19785c: +/* f19785c: 0fc6513d */ jal 0xf1944f4 +/* f197860: 02002825 */ move $a1,$s0 +/* f197864: 14400084 */ bnez $v0,.PB0f197a78 +/* f197868: 02802025 */ move $a0,$s4 +/* f19786c: 0fc65258 */ jal 0xf194960 +/* f197870: 02002825 */ move $a1,$s0 +/* f197874: 10400080 */ beqz $v0,.PB0f197a78 +/* f197878: 02002025 */ move $a0,$s0 +/* f19787c: 0fc63af1 */ jal 0xf18ebc4 +/* f197880: 2415002f */ li $s5,0x2f +/* f197884: a6420008 */ sh $v0,0x8($s2) +/* f197888: 1000007b */ b .PB0f197a78 +/* f19788c: ae5e01d8 */ sw $s8,0x1d8($s2) +/* f197890: 2415002c */ li $s5,0x2c +.PB0f197894: +/* f197894: 10000078 */ b .PB0f197a78 +/* f197898: ae420010 */ sw $v0,0x10($s2) +.PB0f19789c: +/* f19789c: 2401000b */ li $at,0xb +/* f1978a0: 1441003a */ bne $v0,$at,.PB0f19798c +/* f1978a4: 3c19800b */ lui $t9,0x800b +/* f1978a8: 933911b8 */ lbu $t9,0x11b8($t9) +/* f1978ac: 3c02800b */ lui $v0,0x800b +/* f1978b0: 16f90071 */ bne $s7,$t9,.PB0f197a78 +/* f1978b4: 00000000 */ nop +/* f1978b8: 8c420734 */ lw $v0,0x734($v0) +/* f1978bc: 1040006e */ beqz $v0,.PB0f197a78 +/* f1978c0: 00000000 */ nop +/* f1978c4: 8e89001c */ lw $t1,0x1c($s4) +/* f1978c8: 1049006b */ beq $v0,$t1,.PB0f197a78 +/* f1978cc: 00000000 */ nop +/* f1978d0: 90430000 */ lbu $v1,0x0($v0) +/* f1978d4: 24010003 */ li $at,0x3 +/* f1978d8: 3c0a800b */ lui $t2,0x800b +/* f1978dc: 10610003 */ beq $v1,$at,.PB0f1978ec +/* f1978e0: 24010006 */ li $at,0x6 +/* f1978e4: 54610027 */ bnel $v1,$at,.PB0f197984 +/* f1978e8: 2415002c */ li $s5,0x2c +.PB0f1978ec: +/* f1978ec: 8d4a11b4 */ lw $t2,0x11b4($t2) +/* f1978f0: 8c500004 */ lw $s0,0x4($v0) +/* f1978f4: 02802025 */ move $a0,$s4 +/* f1978f8: 314d0002 */ andi $t5,$t2,0x2 +/* f1978fc: 11a00013 */ beqz $t5,.PB0f19794c +/* f197900: 00000000 */ nop +/* f197904: 928b0125 */ lbu $t3,0x125($s4) +/* f197908: 920e0125 */ lbu $t6,0x125($s0) +/* f19790c: 02002825 */ move $a1,$s0 +/* f197910: 156e000e */ bne $t3,$t6,.PB0f19794c +/* f197914: 00000000 */ nop +/* f197918: 0fc6541f */ jal 0xf19507c +/* f19791c: 02802025 */ move $a0,$s4 +/* f197920: 10400055 */ beqz $v0,.PB0f197a78 +/* f197924: 00000000 */ nop +/* f197928: 0c004be0 */ jal 0x12f80 +/* f19792c: 24150032 */ li $s5,0x32 +/* f197930: 304c0003 */ andi $t4,$v0,0x3 +/* f197934: 2d8f0001 */ sltiu $t7,$t4,0x1 +/* f197938: ae4f01e0 */ sw $t7,0x1e0($s2) +/* f19793c: 0fc63af1 */ jal 0xf18ebc4 +/* f197940: 02002025 */ move $a0,$s0 +/* f197944: 1000004c */ b .PB0f197a78 +/* f197948: a642000a */ sh $v0,0xa($s2) +.PB0f19794c: +/* f19794c: 0fc6513d */ jal 0xf1944f4 +/* f197950: 02002825 */ move $a1,$s0 +/* f197954: 14400048 */ bnez $v0,.PB0f197a78 +/* f197958: 02802025 */ move $a0,$s4 +/* f19795c: 0fc65258 */ jal 0xf194960 +/* f197960: 02002825 */ move $a1,$s0 +/* f197964: 10400044 */ beqz $v0,.PB0f197a78 +/* f197968: 02002025 */ move $a0,$s0 +/* f19796c: 0fc63af1 */ jal 0xf18ebc4 +/* f197970: 2415002f */ li $s5,0x2f +/* f197974: a6420008 */ sh $v0,0x8($s2) +/* f197978: 1000003f */ b .PB0f197a78 +/* f19797c: ae5e01d8 */ sw $s8,0x1d8($s2) +/* f197980: 2415002c */ li $s5,0x2c +.PB0f197984: +/* f197984: 1000003c */ b .PB0f197a78 +/* f197988: ae420010 */ sw $v0,0x10($s2) +.PB0f19798c: +/* f19798c: 2401000c */ li $at,0xc +/* f197990: 14410039 */ bne $v0,$at,.PB0f197a78 +/* f197994: 3c18800b */ lui $t8,0x800b +/* f197998: 931811b8 */ lbu $t8,0x11b8($t8) +/* f19799c: 24010003 */ li $at,0x3 +/* f1979a0: 3c02800b */ lui $v0,0x800b +/* f1979a4: 17010034 */ bne $t8,$at,.PB0f197a78 +/* f1979a8: 00000000 */ nop +/* f1979ac: 8c420734 */ lw $v0,0x734($v0) +/* f1979b0: 3c09800b */ lui $t1,0x800b +/* f1979b4: 04400030 */ bltz $v0,.PB0f197a78 +/* f1979b8: 0002c840 */ sll $t9,$v0,0x1 +/* f1979bc: 01394821 */ addu $t1,$t1,$t9 +/* f1979c0: 85290738 */ lh $t1,0x738($t1) +/* f1979c4: 3c0d800b */ lui $t5,0x800b +/* f1979c8: 8e8b001c */ lw $t3,0x1c($s4) +/* f1979cc: 00095080 */ sll $t2,$t1,0x2 +/* f1979d0: 01aa6821 */ addu $t5,$t5,$t2 +/* f1979d4: 8dad0af0 */ lw $t5,0xaf0($t5) +/* f1979d8: 3c0e800b */ lui $t6,0x800b +/* f1979dc: 8da3001c */ lw $v1,0x1c($t5) +/* f1979e0: 106b0025 */ beq $v1,$t3,.PB0f197a78 +/* f1979e4: 00000000 */ nop +/* f1979e8: 8dce11b4 */ lw $t6,0x11b4($t6) +/* f1979ec: 8c700004 */ lw $s0,0x4($v1) +/* f1979f0: 02802025 */ move $a0,$s4 +/* f1979f4: 31cc0002 */ andi $t4,$t6,0x2 +/* f1979f8: 11800013 */ beqz $t4,.PB0f197a48 +/* f1979fc: 00000000 */ nop +/* f197a00: 928f0125 */ lbu $t7,0x125($s4) +/* f197a04: 92180125 */ lbu $t8,0x125($s0) +/* f197a08: 02002825 */ move $a1,$s0 +/* f197a0c: 15f8000e */ bne $t7,$t8,.PB0f197a48 +/* f197a10: 00000000 */ nop +/* f197a14: 0fc6541f */ jal 0xf19507c +/* f197a18: 02802025 */ move $a0,$s4 +/* f197a1c: 10400016 */ beqz $v0,.PB0f197a78 +/* f197a20: 00000000 */ nop +/* f197a24: 0c004be0 */ jal 0x12f80 +/* f197a28: 24150032 */ li $s5,0x32 +/* f197a2c: 30590003 */ andi $t9,$v0,0x3 +/* f197a30: 2f290001 */ sltiu $t1,$t9,0x1 +/* f197a34: ae4901e0 */ sw $t1,0x1e0($s2) +/* f197a38: 0fc63af1 */ jal 0xf18ebc4 +/* f197a3c: 02002025 */ move $a0,$s0 +/* f197a40: 1000000d */ b .PB0f197a78 +/* f197a44: a642000a */ sh $v0,0xa($s2) +.PB0f197a48: +/* f197a48: 0fc6513d */ jal 0xf1944f4 +/* f197a4c: 02002825 */ move $a1,$s0 +/* f197a50: 14400009 */ bnez $v0,.PB0f197a78 +/* f197a54: 02802025 */ move $a0,$s4 +/* f197a58: 0fc65258 */ jal 0xf194960 +/* f197a5c: 02002825 */ move $a1,$s0 +/* f197a60: 10400005 */ beqz $v0,.PB0f197a78 +/* f197a64: 02002025 */ move $a0,$s0 +/* f197a68: 0fc63af1 */ jal 0xf18ebc4 +/* f197a6c: 2415002f */ li $s5,0x2f +/* f197a70: a6420008 */ sh $v0,0x8($s2) +/* f197a74: ae5e01d8 */ sw $s8,0x1d8($s2) +.PB0f197a78: +/* f197a78: 06a10078 */ bgez $s5,.PB0f197c5c +/* f197a7c: 3c03800b */ lui $v1,0x800b +/* f197a80: 906311b8 */ lbu $v1,0x11b8($v1) +/* f197a84: 24010003 */ li $at,0x3 +/* f197a88: 16e3001a */ bne $s7,$v1,.PB0f197af4 +/* f197a8c: 00000000 */ nop +/* f197a90: 8e4a009c */ lw $t2,0x9c($s2) +/* f197a94: 000a6fc2 */ srl $t5,$t2,0x1f +/* f197a98: 11a00070 */ beqz $t5,.PB0f197c5c +/* f197a9c: 00000000 */ nop +/* f197aa0: 0c004be0 */ jal 0x12f80 +/* f197aa4: 03c08025 */ move $s0,$s8 +/* f197aa8: 24010064 */ li $at,0x64 +/* f197aac: 0041001b */ divu $zero,$v0,$at +/* f197ab0: 00005810 */ mfhi $t3 +/* f197ab4: 2d610042 */ sltiu $at,$t3,0x42 +/* f197ab8: 10200005 */ beqz $at,.PB0f197ad0 +/* f197abc: 02802025 */ move $a0,$s4 +/* f197ac0: 3c0547c3 */ lui $a1,0x47c3 +/* f197ac4: 0fc65434 */ jal 0xf1950d0 +/* f197ac8: 34a55000 */ ori $a1,$a1,0x5000 +/* f197acc: 00408025 */ move $s0,$v0 +.PB0f197ad0: +/* f197ad0: 06000062 */ bltz $s0,.PB0f197c5c +/* f197ad4: 00000000 */ nop +/* f197ad8: 0c004be0 */ jal 0x12f80 +/* f197adc: 24150032 */ li $s5,0x32 +/* f197ae0: 304e0003 */ andi $t6,$v0,0x3 +/* f197ae4: 2dcc0001 */ sltiu $t4,$t6,0x1 +/* f197ae8: ae4c01e0 */ sw $t4,0x1e0($s2) +/* f197aec: 1000005b */ b .PB0f197c5c +/* f197af0: a650000a */ sh $s0,0xa($s2) +.PB0f197af4: +/* f197af4: 14610024 */ bne $v1,$at,.PB0f197b88 +/* f197af8: 3c02800b */ lui $v0,0x800b +/* f197afc: 8c420734 */ lw $v0,0x734($v0) +/* f197b00: 3c18800b */ lui $t8,0x800b +/* f197b04: 04400055 */ bltz $v0,.PB0f197c5c +/* f197b08: 00027840 */ sll $t7,$v0,0x1 +/* f197b0c: 030fc021 */ addu $t8,$t8,$t7 +/* f197b10: 87180738 */ lh $t8,0x738($t8) +/* f197b14: 3c09800b */ lui $t1,0x800b +/* f197b18: 8e8a001c */ lw $t2,0x1c($s4) +/* f197b1c: 0018c880 */ sll $t9,$t8,0x2 +/* f197b20: 01394821 */ addu $t1,$t1,$t9 +/* f197b24: 8d290af0 */ lw $t1,0xaf0($t1) +/* f197b28: 8d23001c */ lw $v1,0x1c($t1) +/* f197b2c: 146a004b */ bne $v1,$t2,.PB0f197c5c +/* f197b30: 00000000 */ nop +/* f197b34: 0c004be0 */ jal 0x12f80 +/* f197b38: 03c08025 */ move $s0,$s8 +/* f197b3c: 24010064 */ li $at,0x64 +/* f197b40: 0041001b */ divu $zero,$v0,$at +/* f197b44: 00006810 */ mfhi $t5 +/* f197b48: 2da10042 */ sltiu $at,$t5,0x42 +/* f197b4c: 10200005 */ beqz $at,.PB0f197b64 +/* f197b50: 02802025 */ move $a0,$s4 +/* f197b54: 3c0547c3 */ lui $a1,0x47c3 +/* f197b58: 0fc65434 */ jal 0xf1950d0 +/* f197b5c: 34a55000 */ ori $a1,$a1,0x5000 +/* f197b60: 00408025 */ move $s0,$v0 +.PB0f197b64: +/* f197b64: 0600003d */ bltz $s0,.PB0f197c5c +/* f197b68: 00000000 */ nop +/* f197b6c: 0c004be0 */ jal 0x12f80 +/* f197b70: 24150032 */ li $s5,0x32 +/* f197b74: 304b0003 */ andi $t3,$v0,0x3 +/* f197b78: 2d6e0001 */ sltiu $t6,$t3,0x1 +/* f197b7c: ae4e01e0 */ sw $t6,0x1e0($s2) +/* f197b80: 10000036 */ b .PB0f197c5c +/* f197b84: a650000a */ sh $s0,0xa($s2) +.PB0f197b88: +/* f197b88: 24010005 */ li $at,0x5 +/* f197b8c: 54610021 */ bnel $v1,$at,.PB0f197c14 +/* f197b90: 24010002 */ li $at,0x2 +/* f197b94: 0fc65911 */ jal 0xf196444 +/* f197b98: 02802025 */ move $a0,$s4 +/* f197b9c: 1040002f */ beqz $v0,.PB0f197c5c +/* f197ba0: 00000000 */ nop +/* f197ba4: 92840125 */ lbu $a0,0x125($s4) +/* f197ba8: 0fc6414a */ jal 0xf190528 +/* f197bac: 2415002b */ li $s5,0x2b +/* f197bb0: 3c07800b */ lui $a3,0x800b +/* f197bb4: 24e70730 */ addiu $a3,$a3,0x730 +/* f197bb8: 00026040 */ sll $t4,$v0,0x1 +/* f197bbc: 00ec7821 */ addu $t7,$a3,$t4 +/* f197bc0: 85e30008 */ lh $v1,0x8($t7) +/* f197bc4: 24050042 */ li $a1,0x42 +/* f197bc8: 27a601d8 */ addiu $a2,$sp,0x1d8 +/* f197bcc: 0003c100 */ sll $t8,$v1,0x4 +/* f197bd0: 00f8c821 */ addu $t9,$a3,$t8 +/* f197bd4: 0fc458d4 */ jal 0xf116350 +/* f197bd8: 87240018 */ lh $a0,0x18($t9) +/* f197bdc: c7a401d8 */ lwc1 $f4,0x1d8($sp) +/* f197be0: 924a004c */ lbu $t2,0x4c($s2) +/* f197be4: e64400ec */ swc1 $f4,0xec($s2) +/* f197be8: c7a801dc */ lwc1 $f8,0x1dc($sp) +/* f197bec: 314dff7f */ andi $t5,$t2,0xff7f +/* f197bf0: e64800f0 */ swc1 $f8,0xf0($s2) +/* f197bf4: c7a601e0 */ lwc1 $f6,0x1e0($sp) +/* f197bf8: e64600f4 */ swc1 $f6,0xf4($s2) +/* f197bfc: 8fa90220 */ lw $t1,0x220($sp) +/* f197c00: a65e00fa */ sh $s8,0xfa($s2) +/* f197c04: a24d004c */ sb $t5,0x4c($s2) +/* f197c08: 10000014 */ b .PB0f197c5c +/* f197c0c: a64900f8 */ sh $t1,0xf8($s2) +/* f197c10: 24010002 */ li $at,0x2 +.PB0f197c14: +/* f197c14: 14610011 */ bne $v1,$at,.PB0f197c5c +/* f197c18: 3c0b800b */ lui $t3,0x800b +/* f197c1c: 8d6b086c */ lw $t3,0x86c($t3) +/* f197c20: 8e8e001c */ lw $t6,0x1c($s4) +/* f197c24: 156e000d */ bne $t3,$t6,.PB0f197c5c +/* f197c28: 00000000 */ nop +/* f197c2c: 0fc63af1 */ jal 0xf18ebc4 +/* f197c30: 02802025 */ move $a0,$s4 +/* f197c34: 3c03800b */ lui $v1,0x800b +/* f197c38: 24630730 */ addiu $v1,$v1,0x730 +/* f197c3c: 846c00d2 */ lh $t4,0xd2($v1) +/* f197c40: 2415002e */ li $s5,0x2e +/* f197c44: 104c0005 */ beq $v0,$t4,.PB0f197c5c +/* f197c48: 00000000 */ nop +/* f197c4c: 8c6f0080 */ lw $t7,0x80($v1) +/* f197c50: 2415002c */ li $s5,0x2c +/* f197c54: 10000001 */ b .PB0f197c5c +/* f197c58: ae4f0010 */ sw $t7,0x10($s2) +.PB0f197c5c: +/* f197c5c: 06a100a2 */ bgez $s5,.PB0f197ee8 +/* f197c60: 00000000 */ nop +/* f197c64: 8e580004 */ lw $t8,0x4($s2) +/* f197c68: 2401000c */ li $at,0xc +/* f197c6c: 93020047 */ lbu $v0,0x47($t8) +/* f197c70: 54410011 */ bnel $v0,$at,.PB0f197cb8 +/* f197c74: 24010009 */ li $at,0x9 +/* f197c78: 86420076 */ lh $v0,0x76($s2) +/* f197c7c: 02802025 */ move $a0,$s4 +/* f197c80: 3c05800b */ lui $a1,0x800b +/* f197c84: 04400098 */ bltz $v0,.PB0f197ee8 +/* f197c88: 0002c880 */ sll $t9,$v0,0x2 +/* f197c8c: 00b92821 */ addu $a1,$a1,$t9 +/* f197c90: 0fc6513d */ jal 0xf1944f4 +/* f197c94: 8ca50af0 */ lw $a1,0xaf0($a1) +/* f197c98: 14400093 */ bnez $v0,.PB0f197ee8 +/* f197c9c: 00000000 */ nop +/* f197ca0: 86490076 */ lh $t1,0x76($s2) +/* f197ca4: 2415002f */ li $s5,0x2f +/* f197ca8: ae5e01d8 */ sw $s8,0x1d8($s2) +/* f197cac: 1000008e */ b .PB0f197ee8 +/* f197cb0: a6490008 */ sh $t1,0x8($s2) +/* f197cb4: 24010009 */ li $at,0x9 +.PB0f197cb8: +/* f197cb8: 54410021 */ bnel $v0,$at,.PB0f197d40 +/* f197cbc: 24010008 */ li $at,0x8 +/* f197cc0: 8e4a0114 */ lw $t2,0x114($s2) +/* f197cc4: 0543000f */ bgezl $t2,.PB0f197d04 +/* f197cc8: 8e420114 */ lw $v0,0x114($s2) +/* f197ccc: 86420076 */ lh $v0,0x76($s2) +/* f197cd0: 02802025 */ move $a0,$s4 +/* f197cd4: 3c05800b */ lui $a1,0x800b +/* f197cd8: 04400009 */ bltz $v0,.PB0f197d00 +/* f197cdc: 00026880 */ sll $t5,$v0,0x2 +/* f197ce0: 00ad2821 */ addu $a1,$a1,$t5 +/* f197ce4: 8ca50af0 */ lw $a1,0xaf0($a1) +/* f197ce8: 0fc12aec */ jal 0xf04abb0 +/* f197cec: 24060001 */ li $a2,0x1 +/* f197cf0: 54400004 */ bnezl $v0,.PB0f197d04 +/* f197cf4: 8e420114 */ lw $v0,0x114($s2) +/* f197cf8: 864b0076 */ lh $t3,0x76($s2) +/* f197cfc: ae4b0114 */ sw $t3,0x114($s2) +.PB0f197d00: +/* f197d00: 8e420114 */ lw $v0,0x114($s2) +.PB0f197d04: +/* f197d04: 02802025 */ move $a0,$s4 +/* f197d08: 3c05800b */ lui $a1,0x800b +/* f197d0c: 04400076 */ bltz $v0,.PB0f197ee8 +/* f197d10: 00027080 */ sll $t6,$v0,0x2 +/* f197d14: 00ae2821 */ addu $a1,$a1,$t6 +/* f197d18: 0fc6513d */ jal 0xf1944f4 +/* f197d1c: 8ca50af0 */ lw $a1,0xaf0($a1) +/* f197d20: 14400071 */ bnez $v0,.PB0f197ee8 +/* f197d24: 00000000 */ nop +/* f197d28: 8e4c0114 */ lw $t4,0x114($s2) +/* f197d2c: 2415002f */ li $s5,0x2f +/* f197d30: ae5e01d8 */ sw $s8,0x1d8($s2) +/* f197d34: 1000006c */ b .PB0f197ee8 +/* f197d38: a64c0008 */ sh $t4,0x8($s2) +/* f197d3c: 24010008 */ li $at,0x8 +.PB0f197d40: +/* f197d40: 5441002a */ bnel $v0,$at,.PB0f197dec +/* f197d44: 24010006 */ li $at,0x6 +/* f197d48: 0fc62862 */ jal 0xf18a188 +/* f197d4c: 27a400e4 */ addiu $a0,$sp,0xe4 +/* f197d50: 18400065 */ blez $v0,.PB0f197ee8 +/* f197d54: 0002c080 */ sll $t8,$v0,0x2 +/* f197d58: 0302c021 */ addu $t8,$t8,$v0 +/* f197d5c: 0018c080 */ sll $t8,$t8,0x2 +/* f197d60: 27b000e4 */ addiu $s0,$sp,0xe4 +/* f197d64: 0310c821 */ addu $t9,$t8,$s0 +/* f197d68: afb90050 */ sw $t9,0x50($sp) +.PB0f197d6c: +/* f197d6c: 0fc63b2d */ jal 0xf18ecb4 +/* f197d70: 8e040004 */ lw $a0,0x4($s0) +/* f197d74: afa200d8 */ sw $v0,0xd8($sp) +/* f197d78: 0fc63b03 */ jal 0xf18ec0c +/* f197d7c: 00402025 */ move $a0,$v0 +/* f197d80: 10540012 */ beq $v0,$s4,.PB0f197dcc +/* f197d84: 00402025 */ move $a0,$v0 +/* f197d88: 0fc0e6e9 */ jal 0xf039ba4 +/* f197d8c: afa200d4 */ sw $v0,0xd4($sp) +/* f197d90: 1440000e */ bnez $v0,.PB0f197dcc +/* f197d94: 8fb100d4 */ lw $s1,0xd4($sp) +/* f197d98: 02802025 */ move $a0,$s4 +/* f197d9c: 02202825 */ move $a1,$s1 +/* f197da0: 0fc12aec */ jal 0xf04abb0 +/* f197da4: 24060002 */ li $a2,0x2 +/* f197da8: 10400008 */ beqz $v0,.PB0f197dcc +/* f197dac: 02802025 */ move $a0,$s4 +/* f197db0: 0fc6513d */ jal 0xf1944f4 +/* f197db4: 02202825 */ move $a1,$s1 +/* f197db8: 14400004 */ bnez $v0,.PB0f197dcc +/* f197dbc: 8fa900d8 */ lw $t1,0xd8($sp) +/* f197dc0: 2415002f */ li $s5,0x2f +/* f197dc4: a6490008 */ sh $t1,0x8($s2) +/* f197dc8: ae5e01d8 */ sw $s8,0x1d8($s2) +.PB0f197dcc: +/* f197dcc: 8faa0050 */ lw $t2,0x50($sp) +/* f197dd0: 26100014 */ addiu $s0,$s0,0x14 +/* f197dd4: 020a082b */ sltu $at,$s0,$t2 +/* f197dd8: 1420ffe4 */ bnez $at,.PB0f197d6c +/* f197ddc: 00000000 */ nop +/* f197de0: 10000041 */ b .PB0f197ee8 +/* f197de4: 00000000 */ nop +/* f197de8: 24010006 */ li $at,0x6 +.PB0f197dec: +/* f197dec: 1441003e */ bne $v0,$at,.PB0f197ee8 +/* f197df0: 3c13800b */ lui $s3,0x800b +/* f197df4: 26730b50 */ addiu $s3,$s3,0xb50 +/* f197df8: 8e6d0000 */ lw $t5,0x0($s3) +/* f197dfc: 44805000 */ mtc1 $zero,$f10 +/* f197e00: 03c08825 */ move $s1,$s8 +/* f197e04: 00008025 */ move $s0,$zero +/* f197e08: 19a00032 */ blez $t5,.PB0f197ed4 +/* f197e0c: e7aa00d0 */ swc1 $f10,0xd0($sp) +.PB0f197e10: +/* f197e10: 0fc63b03 */ jal 0xf18ec0c +/* f197e14: 02002025 */ move $a0,$s0 +/* f197e18: 10540029 */ beq $v0,$s4,.PB0f197ec0 +/* f197e1c: 00402025 */ move $a0,$v0 +/* f197e20: 0fc0e6e9 */ jal 0xf039ba4 +/* f197e24: afa200c0 */ sw $v0,0xc0($sp) +/* f197e28: 14400025 */ bnez $v0,.PB0f197ec0 +/* f197e2c: 8fa500c0 */ lw $a1,0xc0($sp) +/* f197e30: 02802025 */ move $a0,$s4 +/* f197e34: 24060002 */ li $a2,0x2 +/* f197e38: 0fc12aec */ jal 0xf04abb0 +/* f197e3c: afa500c0 */ sw $a1,0xc0($sp) +/* f197e40: 1040001f */ beqz $v0,.PB0f197ec0 +/* f197e44: 8fa500c0 */ lw $a1,0xc0($sp) +/* f197e48: 02802025 */ move $a0,$s4 +/* f197e4c: 0fc6513d */ jal 0xf1944f4 +/* f197e50: afa500c0 */ sw $a1,0xc0($sp) +/* f197e54: 1440001a */ bnez $v0,.PB0f197ec0 +/* f197e58: 8fa500c0 */ lw $a1,0xc0($sp) +/* f197e5c: 8cab02d4 */ lw $t3,0x2d4($a1) +/* f197e60: 11600005 */ beqz $t3,.PB0f197e78 +/* f197e64: 00000000 */ nop +/* f197e68: c4b20104 */ lwc1 $f18,0x104($a1) +/* f197e6c: c4a40100 */ lwc1 $f4,0x100($a1) +/* f197e70: 1000000b */ b .PB0f197ea0 +/* f197e74: 46049001 */ sub.s $f0,$f18,$f4 +.PB0f197e78: +/* f197e78: 0fc4a797 */ jal 0xf129e5c +/* f197e7c: 8ca4001c */ lw $a0,0x1c($a1) +/* f197e80: 00027080 */ sll $t6,$v0,0x2 +/* f197e84: 02ce6021 */ addu $t4,$s6,$t6 +/* f197e88: 8d980064 */ lw $t8,0x64($t4) +/* f197e8c: 3c014100 */ lui $at,0x4100 +/* f197e90: 44813000 */ mtc1 $at,$f6 +/* f197e94: c70800dc */ lwc1 $f8,0xdc($t8) +/* f197e98: 46064002 */ mul.s $f0,$f8,$f6 +/* f197e9c: 00000000 */ nop +.PB0f197ea0: +/* f197ea0: 06200005 */ bltz $s1,.PB0f197eb8 +/* f197ea4: c7aa00d0 */ lwc1 $f10,0xd0($sp) +/* f197ea8: 460a003c */ c.lt.s $f0,$f10 +/* f197eac: 00000000 */ nop +/* f197eb0: 45020004 */ bc1fl .PB0f197ec4 +/* f197eb4: 8e6f0000 */ lw $t7,0x0($s3) +.PB0f197eb8: +/* f197eb8: 02008825 */ move $s1,$s0 +/* f197ebc: e7a000d0 */ swc1 $f0,0xd0($sp) +.PB0f197ec0: +/* f197ec0: 8e6f0000 */ lw $t7,0x0($s3) +.PB0f197ec4: +/* f197ec4: 26100001 */ addiu $s0,$s0,0x1 +/* f197ec8: 020f082a */ slt $at,$s0,$t7 +/* f197ecc: 1420ffd0 */ bnez $at,.PB0f197e10 +/* f197ed0: 00000000 */ nop +.PB0f197ed4: +/* f197ed4: 06200004 */ bltz $s1,.PB0f197ee8 +/* f197ed8: 00000000 */ nop +/* f197edc: 2415002f */ li $s5,0x2f +/* f197ee0: a6510008 */ sh $s1,0x8($s2) +/* f197ee4: ae5e01d8 */ sw $s8,0x1d8($s2) +.PB0f197ee8: +/* f197ee8: 06a1000d */ bgez $s5,.PB0f197f20 +/* f197eec: 00000000 */ nop +/* f197ef0: 8699017e */ lh $t9,0x17e($s4) +/* f197ef4: 13d9000a */ beq $s8,$t9,.PB0f197f20 +/* f197ef8: 00000000 */ nop +/* f197efc: 0fc0a255 */ jal 0xf028954 +/* f197f00: 02802025 */ move $a0,$s4 +/* f197f04: 02802025 */ move $a0,$s4 +/* f197f08: 0fc65258 */ jal 0xf194960 +/* f197f0c: 8c450004 */ lw $a1,0x4($v0) +/* f197f10: 10400003 */ beqz $v0,.PB0f197f20 +/* f197f14: 00000000 */ nop +/* f197f18: 2415002f */ li $s5,0x2f +/* f197f1c: ae5e01d8 */ sw $s8,0x1d8($s2) +.PB0f197f20: +/* f197f20: 06a1000b */ bgez $s5,.PB0f197f50 +/* f197f24: 02802025 */ move $a0,$s4 +/* f197f28: 0fc65434 */ jal 0xf1950d0 +/* f197f2c: 3c054396 */ lui $a1,0x4396 +/* f197f30: 04400007 */ bltz $v0,.PB0f197f50 +/* f197f34: 00408025 */ move $s0,$v0 +/* f197f38: 0c004be0 */ jal 0x12f80 +/* f197f3c: 24150032 */ li $s5,0x32 +/* f197f40: 30490003 */ andi $t1,$v0,0x3 +/* f197f44: 2d2a0001 */ sltiu $t2,$t1,0x1 +/* f197f48: ae4a01e0 */ sw $t2,0x1e0($s2) +/* f197f4c: a650000a */ sh $s0,0xa($s2) +.PB0f197f50: +/* f197f50: 06a10006 */ bgez $s5,.PB0f197f6c +/* f197f54: 00000000 */ nop +/* f197f58: 0fc65897 */ jal 0xf19625c +/* f197f5c: 02802025 */ move $a0,$s4 +/* f197f60: 10400002 */ beqz $v0,.PB0f197f6c +/* f197f64: ae420010 */ sw $v0,0x10($s2) +/* f197f68: 2415002a */ li $s5,0x2a +.PB0f197f6c: +/* f197f6c: 3c13800b */ lui $s3,0x800b +/* f197f70: 06a00082 */ bltz $s5,.PB0f19817c +/* f197f74: 26730b50 */ addiu $s3,$s3,0xb50 +/* f197f78: 2401002a */ li $at,0x2a +/* f197f7c: 56a1000a */ bnel $s5,$at,.PB0f197fa8 +/* f197f80: 2401002f */ li $at,0x2f +/* f197f84: 8e450010 */ lw $a1,0x10($s2) +/* f197f88: 02802025 */ move $a0,$s4 +/* f197f8c: 50a0007c */ beqzl $a1,.PB0f198180 +/* f197f90: 928202a0 */ lbu $v0,0x2a0($s4) +/* f197f94: 0fc0eb21 */ jal 0xf03ac84 +/* f197f98: 24060002 */ li $a2,0x2 +/* f197f9c: 10000077 */ b .PB0f19817c +/* f197fa0: a29502a0 */ sb $s5,0x2a0($s4) +/* f197fa4: 2401002f */ li $at,0x2f +.PB0f197fa8: +/* f197fa8: 56a10009 */ bnel $s5,$at,.PB0f197fd0 +/* f197fac: 24010032 */ li $at,0x32 +/* f197fb0: 928d02a0 */ lbu $t5,0x2a0($s4) +/* f197fb4: 2401002f */ li $at,0x2f +/* f197fb8: 51a10071 */ beql $t5,$at,.PB0f198180 +/* f197fbc: 928202a0 */ lbu $v0,0x2a0($s4) +/* f197fc0: a29502a0 */ sb $s5,0x2a0($s4) +/* f197fc4: 1000006d */ b .PB0f19817c +/* f197fc8: a25e0074 */ sb $s8,0x74($s2) +/* f197fcc: 24010032 */ li $at,0x32 +.PB0f197fd0: +/* f197fd0: 56a10010 */ bnel $s5,$at,.PB0f198014 +/* f197fd4: 24010033 */ li $at,0x33 +/* f197fd8: 928b02a0 */ lbu $t3,0x2a0($s4) +/* f197fdc: 24010032 */ li $at,0x32 +/* f197fe0: 51610067 */ beql $t3,$at,.PB0f198180 +/* f197fe4: 928202a0 */ lbu $v0,0x2a0($s4) +/* f197fe8: a29502a0 */ sb $s5,0x2a0($s4) +/* f197fec: 8e4e01e0 */ lw $t6,0x1e0($s2) +/* f197ff0: a25e0074 */ sb $s8,0x74($s2) +/* f197ff4: 02802025 */ move $a0,$s4 +/* f197ff8: 51c00061 */ beqzl $t6,.PB0f198180 +/* f197ffc: 928202a0 */ lbu $v0,0x2a0($s4) +/* f198000: 0fc650c9 */ jal 0xf194324 +/* f198004: 03c02825 */ move $a1,$s8 +/* f198008: 1000005d */ b .PB0f198180 +/* f19800c: 928202a0 */ lbu $v0,0x2a0($s4) +/* f198010: 24010033 */ li $at,0x33 +.PB0f198014: +/* f198014: 56a10010 */ bnel $s5,$at,.PB0f198058 +/* f198018: 2401002b */ li $at,0x2b +/* f19801c: a29502a0 */ sb $s5,0x2a0($s4) +/* f198020: 8e4c01dc */ lw $t4,0x1dc($s2) +/* f198024: 02802025 */ move $a0,$s4 +/* f198028: 51800004 */ beqzl $t4,.PB0f19803c +/* f19802c: 02802025 */ move $a0,$s4 +/* f198030: 0fc650c9 */ jal 0xf194324 +/* f198034: 03c02825 */ move $a1,$s8 +/* f198038: 02802025 */ move $a0,$s4 +.PB0f19803c: +/* f19803c: 2645008c */ addiu $a1,$s2,0x8c +/* f198040: 2646007a */ addiu $a2,$s2,0x7a +/* f198044: 0fc0e153 */ jal 0xf03854c +/* f198048: 24070002 */ li $a3,0x2 +/* f19804c: 1000004c */ b .PB0f198180 +/* f198050: 928202a0 */ lbu $v0,0x2a0($s4) +/* f198054: 2401002b */ li $at,0x2b +.PB0f198058: +/* f198058: 56a10037 */ bnel $s5,$at,.PB0f198138 +/* f19805c: 2401002c */ li $at,0x2c +/* f198060: 8e83001c */ lw $v1,0x1c($s4) +/* f198064: c64400ec */ lwc1 $f4,0xec($s2) +/* f198068: 44808000 */ mtc1 $zero,$f16 +/* f19806c: c4720008 */ lwc1 $f18,0x8($v1) +/* f198070: c64600f0 */ lwc1 $f6,0xf0($s2) +/* f198074: c468000c */ lwc1 $f8,0xc($v1) +/* f198078: 46049001 */ sub.s $f0,$f18,$f4 +/* f19807c: c65200f4 */ lwc1 $f18,0xf4($s2) +/* f198080: c46a0010 */ lwc1 $f10,0x10($v1) +/* f198084: 3c0141a0 */ lui $at,0x41a0 +/* f198088: 4610003c */ c.lt.s $f0,$f16 +/* f19808c: 44817000 */ mtc1 $at,$f14 +/* f198090: 46064081 */ sub.s $f2,$f8,$f6 +/* f198094: 45000002 */ bc1f .PB0f1980a0 +/* f198098: 46125301 */ sub.s $f12,$f10,$f18 +/* f19809c: 46000007 */ neg.s $f0,$f0 +.PB0f1980a0: +/* f1980a0: 4610103c */ c.lt.s $f2,$f16 +/* f1980a4: 02802025 */ move $a0,$s4 +/* f1980a8: 264500ec */ addiu $a1,$s2,0xec +/* f1980ac: 264600f8 */ addiu $a2,$s2,0xf8 +/* f1980b0: 45000002 */ bc1f .PB0f1980bc +/* f1980b4: 24070002 */ li $a3,0x2 +/* f1980b8: 46001087 */ neg.s $f2,$f2 +.PB0f1980bc: +/* f1980bc: 4610603c */ c.lt.s $f12,$f16 +/* f1980c0: 00000000 */ nop +/* f1980c4: 45020003 */ bc1fl .PB0f1980d4 +/* f1980c8: 4600703c */ c.lt.s $f14,$f0 +/* f1980cc: 46006307 */ neg.s $f12,$f12 +/* f1980d0: 4600703c */ c.lt.s $f14,$f0 +.PB0f1980d4: +/* f1980d4: 00000000 */ nop +/* f1980d8: 4501000e */ bc1t .PB0f198114 +/* f1980dc: 00000000 */ nop +/* f1980e0: 460c703c */ c.lt.s $f14,$f12 +/* f1980e4: 3c014348 */ lui $at,0x4348 +/* f1980e8: 4501000a */ bc1t .PB0f198114 +/* f1980ec: 00000000 */ nop +/* f1980f0: 44812000 */ mtc1 $at,$f4 +/* f1980f4: 00000000 */ nop +/* f1980f8: 4602203c */ c.lt.s $f4,$f2 +/* f1980fc: 00000000 */ nop +/* f198100: 45000008 */ bc1f .PB0f198124 +/* f198104: 00000000 */ nop +/* f198108: 828f032d */ lb $t7,0x32d($s4) +/* f19810c: 05e00005 */ bltz $t7,.PB0f198124 +/* f198110: 00000000 */ nop +.PB0f198114: +/* f198114: 0fc0e153 */ jal 0xf03854c +/* f198118: a29502a0 */ sb $s5,0x2a0($s4) +/* f19811c: 10000018 */ b .PB0f198180 +/* f198120: 928202a0 */ lbu $v0,0x2a0($s4) +.PB0f198124: +/* f198124: 0fc0bae3 */ jal 0xf02eb8c +/* f198128: 02802025 */ move $a0,$s4 +/* f19812c: 10000014 */ b .PB0f198180 +/* f198130: 928202a0 */ lbu $v0,0x2a0($s4) +/* f198134: 2401002c */ li $at,0x2c +.PB0f198138: +/* f198138: 56a1000c */ bnel $s5,$at,.PB0f19816c +/* f19813c: 2401002e */ li $at,0x2e +/* f198140: 8e590010 */ lw $t9,0x10($s2) +/* f198144: 02802025 */ move $a0,$s4 +/* f198148: 24060002 */ li $a2,0x2 +/* f19814c: 5320000c */ beqzl $t9,.PB0f198180 +/* f198150: 928202a0 */ lbu $v0,0x2a0($s4) +/* f198154: a29502a0 */ sb $s5,0x2a0($s4) +/* f198158: 0fc0eb21 */ jal 0xf03ac84 +/* f19815c: 8e450010 */ lw $a1,0x10($s2) +/* f198160: 10000007 */ b .PB0f198180 +/* f198164: 928202a0 */ lbu $v0,0x2a0($s4) +/* f198168: 2401002e */ li $at,0x2e +.PB0f19816c: +/* f19816c: 16a10003 */ bne $s5,$at,.PB0f19817c +/* f198170: 02802025 */ move $a0,$s4 +/* f198174: 0fc0bae3 */ jal 0xf02eb8c +/* f198178: a29502a0 */ sb $s5,0x2a0($s4) +.PB0f19817c: +/* f19817c: 928202a0 */ lbu $v0,0x2a0($s4) +.PB0f198180: +/* f198180: 2401002a */ li $at,0x2a +/* f198184: 54410012 */ bnel $v0,$at,.PB0f1981d0 +/* f198188: 2401002f */ li $at,0x2f +/* f19818c: 82890007 */ lb $t1,0x7($s4) +/* f198190: 2401000f */ li $at,0xf +/* f198194: 240b0029 */ li $t3,0x29 +/* f198198: 1521000a */ bne $t1,$at,.PB0f1981c4 +/* f19819c: 00000000 */ nop +/* f1981a0: 8e450010 */ lw $a1,0x10($s2) +/* f1981a4: 10a00007 */ beqz $a1,.PB0f1981c4 +/* f1981a8: 00000000 */ nop +/* f1981ac: 8caa0018 */ lw $t2,0x18($a1) +/* f1981b0: 15400004 */ bnez $t2,.PB0f1981c4 +/* f1981b4: 00000000 */ nop +/* f1981b8: 84ad0002 */ lh $t5,0x2($a1) +/* f1981bc: 11a00162 */ beqz $t5,.PB0f198748 +/* f1981c0: 00000000 */ nop +.PB0f1981c4: +/* f1981c4: 10000160 */ b .PB0f198748 +/* f1981c8: a28b02a0 */ sb $t3,0x2a0($s4) +/* f1981cc: 2401002f */ li $at,0x2f +.PB0f1981d0: +/* f1981d0: 5441003f */ bnel $v0,$at,.PB0f1982d0 +/* f1981d4: 24010032 */ li $at,0x32 +/* f1981d8: 86420008 */ lh $v0,0x8($s2) +/* f1981dc: 3c04800b */ lui $a0,0x800b +/* f1981e0: 04400011 */ bltz $v0,.PB0f198228 +/* f1981e4: 00027080 */ sll $t6,$v0,0x2 +/* f1981e8: 008e2021 */ addu $a0,$a0,$t6 +/* f1981ec: 0fc0e6e9 */ jal 0xf039ba4 +/* f1981f0: 8c840af0 */ lw $a0,0xaf0($a0) +/* f1981f4: 5440000a */ bnezl $v0,.PB0f198220 +/* f1981f8: 240f0029 */ li $t7,0x29 +/* f1981fc: 864c0008 */ lh $t4,0x8($s2) +/* f198200: 3c05800b */ lui $a1,0x800b +/* f198204: 02802025 */ move $a0,$s4 +/* f198208: 000cc080 */ sll $t8,$t4,0x2 +/* f19820c: 00b82821 */ addu $a1,$a1,$t8 +/* f198210: 0fc65258 */ jal 0xf194960 +/* f198214: 8ca50af0 */ lw $a1,0xaf0($a1) +/* f198218: 14400003 */ bnez $v0,.PB0f198228 +/* f19821c: 240f0029 */ li $t7,0x29 +.PB0f198220: +/* f198220: 10000149 */ b .PB0f198748 +/* f198224: a28f02a0 */ sb $t7,0x2a0($s4) +.PB0f198228: +/* f198228: 86590008 */ lh $t9,0x8($s2) +/* f19822c: 07210013 */ bgez $t9,.PB0f19827c +/* f198230: 00000000 */ nop +/* f198234: 8689017e */ lh $t1,0x17e($s4) +/* f198238: 53c9000e */ beql $s8,$t1,.PB0f198274 +/* f19823c: 240a0029 */ li $t2,0x29 +/* f198240: 0fc0a255 */ jal 0xf028954 +/* f198244: 02802025 */ move $a0,$s4 +/* f198248: 0fc0e6e9 */ jal 0xf039ba4 +/* f19824c: 8c440004 */ lw $a0,0x4($v0) +/* f198250: 54400008 */ bnezl $v0,.PB0f198274 +/* f198254: 240a0029 */ li $t2,0x29 +/* f198258: 0fc0a255 */ jal 0xf028954 +/* f19825c: 02802025 */ move $a0,$s4 +/* f198260: 02802025 */ move $a0,$s4 +/* f198264: 0fc65258 */ jal 0xf194960 +/* f198268: 8c450004 */ lw $a1,0x4($v0) +/* f19826c: 14400003 */ bnez $v0,.PB0f19827c +/* f198270: 240a0029 */ li $t2,0x29 +.PB0f198274: +/* f198274: 10000134 */ b .PB0f198748 +/* f198278: a28a02a0 */ sb $t2,0x2a0($s4) +.PB0f19827c: +/* f19827c: 0fc66478 */ jal 0xf1991e0 +/* f198280: 02802025 */ move $a0,$s4 +/* f198284: 0fc65886 */ jal 0xf196218 +/* f198288: 02802025 */ move $a0,$s4 +/* f19828c: 10400003 */ beqz $v0,.PB0f19829c +/* f198290: 240d0029 */ li $t5,0x29 +/* f198294: 1000012c */ b .PB0f198748 +/* f198298: a28d02a0 */ sb $t5,0x2a0($s4) +.PB0f19829c: +/* f19829c: 8e4201d8 */ lw $v0,0x1d8($s2) +/* f1982a0: 04400129 */ bltz $v0,.PB0f198748 +/* f1982a4: 00000000 */ nop +/* f1982a8: 8ece0008 */ lw $t6,0x8($s6) +/* f1982ac: 8e4b0120 */ lw $t3,0x120($s2) +/* f1982b0: 24180029 */ li $t8,0x29 +/* f1982b4: 01c26023 */ subu $t4,$t6,$v0 +/* f1982b8: 016c082a */ slt $at,$t3,$t4 +/* f1982bc: 10200122 */ beqz $at,.PB0f198748 +/* f1982c0: 00000000 */ nop +/* f1982c4: 10000120 */ b .PB0f198748 +/* f1982c8: a29802a0 */ sb $t8,0x2a0($s4) +/* f1982cc: 24010032 */ li $at,0x32 +.PB0f1982d0: +/* f1982d0: 5441004e */ bnel $v0,$at,.PB0f19840c +/* f1982d4: 24010033 */ li $at,0x33 +/* f1982d8: 8642000a */ lh $v0,0xa($s2) +/* f1982dc: 3c04800b */ lui $a0,0x800b +/* f1982e0: 04400005 */ bltz $v0,.PB0f1982f8 +/* f1982e4: 00027880 */ sll $t7,$v0,0x2 +/* f1982e8: 008f2021 */ addu $a0,$a0,$t7 +/* f1982ec: 0fc0e6e9 */ jal 0xf039ba4 +/* f1982f0: 8c840af0 */ lw $a0,0xaf0($a0) +/* f1982f4: 10400003 */ beqz $v0,.PB0f198304 +.PB0f1982f8: +/* f1982f8: 24190029 */ li $t9,0x29 +/* f1982fc: 10000112 */ b .PB0f198748 +/* f198300: a29902a0 */ sb $t9,0x2a0($s4) +.PB0f198304: +/* f198304: 0fc66478 */ jal 0xf1991e0 +/* f198308: 02802025 */ move $a0,$s4 +/* f19830c: 8e4901e0 */ lw $t1,0x1e0($s2) +/* f198310: 11200037 */ beqz $t1,.PB0f1983f0 +/* f198314: 00000000 */ nop +/* f198318: 868a017e */ lh $t2,0x17e($s4) +/* f19831c: 13ca0034 */ beq $s8,$t2,.PB0f1983f0 +/* f198320: 00000000 */ nop +/* f198324: 8e4d0128 */ lw $t5,0x128($s2) +/* f198328: 11a00031 */ beqz $t5,.PB0f1983f0 +/* f19832c: 00000000 */ nop +/* f198330: 0fc0a255 */ jal 0xf028954 +/* f198334: 02802025 */ move $a0,$s4 +/* f198338: 02802025 */ move $a0,$s4 +/* f19833c: 0fc65258 */ jal 0xf194960 +/* f198340: 8c450004 */ lw $a1,0x4($v0) +/* f198344: 1040002a */ beqz $v0,.PB0f1983f0 +/* f198348: 3c0143fa */ lui $at,0x43fa +/* f19834c: 864e000a */ lh $t6,0xa($s2) +/* f198350: 3c0c800b */ lui $t4,0x800b +/* f198354: 8e83001c */ lw $v1,0x1c($s4) +/* f198358: 000e5880 */ sll $t3,$t6,0x2 +/* f19835c: 018b6021 */ addu $t4,$t4,$t3 +/* f198360: 8d8c0af0 */ lw $t4,0xaf0($t4) +/* f198364: c4680008 */ lwc1 $f8,0x8($v1) +/* f198368: 44806000 */ mtc1 $zero,$f12 +/* f19836c: 8d82001c */ lw $v0,0x1c($t4) +/* f198370: c46a0010 */ lwc1 $f10,0x10($v1) +/* f198374: c4460008 */ lwc1 $f6,0x8($v0) +/* f198378: c4520010 */ lwc1 $f18,0x10($v0) +/* f19837c: 46064001 */ sub.s $f0,$f8,$f6 +/* f198380: 46125081 */ sub.s $f2,$f10,$f18 +/* f198384: 460c003c */ c.lt.s $f0,$f12 +/* f198388: 00000000 */ nop +/* f19838c: 45020003 */ bc1fl .PB0f19839c +/* f198390: 460c103c */ c.lt.s $f2,$f12 +/* f198394: 46000007 */ neg.s $f0,$f0 +/* f198398: 460c103c */ c.lt.s $f2,$f12 +.PB0f19839c: +/* f19839c: 44816000 */ mtc1 $at,$f12 +/* f1983a0: 45020003 */ bc1fl .PB0f1983b0 +/* f1983a4: 460c003c */ c.lt.s $f0,$f12 +/* f1983a8: 46001087 */ neg.s $f2,$f2 +/* f1983ac: 460c003c */ c.lt.s $f0,$f12 +.PB0f1983b0: +/* f1983b0: 00000000 */ nop +/* f1983b4: 4500000e */ bc1f .PB0f1983f0 +/* f1983b8: 00000000 */ nop +/* f1983bc: 460c103c */ c.lt.s $f2,$f12 +/* f1983c0: 2418002f */ li $t8,0x2f +/* f1983c4: 02802025 */ move $a0,$s4 +/* f1983c8: 45000009 */ bc1f .PB0f1983f0 +/* f1983cc: 00000000 */ nop +/* f1983d0: 0fc0a255 */ jal 0xf028954 +/* f1983d4: a29802a0 */ sb $t8,0x2a0($s4) +/* f1983d8: 0fc63af1 */ jal 0xf18ebc4 +/* f1983dc: 8c440004 */ lw $a0,0x4($v0) +/* f1983e0: 240f00fa */ li $t7,0xfa +/* f1983e4: a6420008 */ sh $v0,0x8($s2) +/* f1983e8: ae4f01d8 */ sw $t7,0x1d8($s2) +/* f1983ec: a25e0074 */ sb $s8,0x74($s2) +.PB0f1983f0: +/* f1983f0: 0fc65886 */ jal 0xf196218 +/* f1983f4: 02802025 */ move $a0,$s4 +/* f1983f8: 104000d3 */ beqz $v0,.PB0f198748 +/* f1983fc: 24190029 */ li $t9,0x29 +/* f198400: 100000d1 */ b .PB0f198748 +/* f198404: a29902a0 */ sb $t9,0x2a0($s4) +/* f198408: 24010033 */ li $at,0x33 +.PB0f19840c: +/* f19840c: 54410063 */ bnel $v0,$at,.PB0f19859c +/* f198410: 2401002b */ li $at,0x2b +/* f198414: 82890007 */ lb $t1,0x7($s4) +/* f198418: 2401000f */ li $at,0xf +/* f19841c: 11210058 */ beq $t1,$at,.PB0f198580 +/* f198420: 00000000 */ nop +/* f198424: 8e83001c */ lw $v1,0x1c($s4) +/* f198428: c648008c */ lwc1 $f8,0x8c($s2) +/* f19842c: 44807000 */ mtc1 $zero,$f14 +/* f198430: c4640008 */ lwc1 $f4,0x8($v1) +/* f198434: c64a0090 */ lwc1 $f10,0x90($s2) +/* f198438: c466000c */ lwc1 $f6,0xc($v1) +/* f19843c: 46082001 */ sub.s $f0,$f4,$f8 +/* f198440: c6440094 */ lwc1 $f4,0x94($s2) +/* f198444: c4720010 */ lwc1 $f18,0x10($v1) +/* f198448: 3c014220 */ lui $at,0x4220 +/* f19844c: 460e003c */ c.lt.s $f0,$f14 +/* f198450: 460a3081 */ sub.s $f2,$f6,$f10 +/* f198454: 45000002 */ bc1f .PB0f198460 +/* f198458: 46049301 */ sub.s $f12,$f18,$f4 +/* f19845c: 46000007 */ neg.s $f0,$f0 +.PB0f198460: +/* f198460: 460e103c */ c.lt.s $f2,$f14 +/* f198464: 00000000 */ nop +/* f198468: 45020003 */ bc1fl .PB0f198478 +/* f19846c: 460e603c */ c.lt.s $f12,$f14 +/* f198470: 46001087 */ neg.s $f2,$f2 +/* f198474: 460e603c */ c.lt.s $f12,$f14 +.PB0f198478: +/* f198478: 44817000 */ mtc1 $at,$f14 +/* f19847c: 45020003 */ bc1fl .PB0f19848c +/* f198480: 8e4200dc */ lw $v0,0xdc($s2) +/* f198484: 46006307 */ neg.s $f12,$f12 +/* f198488: 8e4200dc */ lw $v0,0xdc($s2) +.PB0f19848c: +/* f19848c: 58400005 */ blezl $v0,.PB0f1984a4 +/* f198490: 4600703c */ c.lt.s $f14,$f0 +/* f198494: 8eca0038 */ lw $t2,0x38($s6) +/* f198498: 004a6823 */ subu $t5,$v0,$t2 +/* f19849c: ae4d00dc */ sw $t5,0xdc($s2) +/* f1984a0: 4600703c */ c.lt.s $f14,$f0 +.PB0f1984a4: +/* f1984a4: 00000000 */ nop +/* f1984a8: 4503000f */ bc1tl .PB0f1984e8 +/* f1984ac: 8e4c00dc */ lw $t4,0xdc($s2) +/* f1984b0: 460c703c */ c.lt.s $f14,$f12 +/* f1984b4: 3c014348 */ lui $at,0x4348 +/* f1984b8: 4503000b */ bc1tl .PB0f1984e8 +/* f1984bc: 8e4c00dc */ lw $t4,0xdc($s2) +/* f1984c0: 44814000 */ mtc1 $at,$f8 +/* f1984c4: 00000000 */ nop +/* f1984c8: 4602403c */ c.lt.s $f8,$f2 +/* f1984cc: 00000000 */ nop +/* f1984d0: 4502000e */ bc1fl .PB0f19850c +/* f1984d4: 8e5801dc */ lw $t8,0x1dc($s2) +/* f1984d8: 828b032d */ lb $t3,0x32d($s4) +/* f1984dc: 0562000b */ bltzl $t3,.PB0f19850c +/* f1984e0: 8e5801dc */ lw $t8,0x1dc($s2) +/* f1984e4: 8e4c00dc */ lw $t4,0xdc($s2) +.PB0f1984e8: +/* f1984e8: 02802025 */ move $a0,$s4 +/* f1984ec: 2645008c */ addiu $a1,$s2,0x8c +/* f1984f0: 1d80001e */ bgtz $t4,.PB0f19856c +/* f1984f4: 2646007a */ addiu $a2,$s2,0x7a +/* f1984f8: 0fc0e153 */ jal 0xf03854c +/* f1984fc: 24070002 */ li $a3,0x2 +/* f198500: 1000001b */ b .PB0f198570 +/* f198504: 8e4d00dc */ lw $t5,0xdc($s2) +/* f198508: 8e5801dc */ lw $t8,0x1dc($s2) +.PB0f19850c: +/* f19850c: 53000018 */ beqzl $t8,.PB0f198570 +/* f198510: 8e4d00dc */ lw $t5,0xdc($s2) +/* f198514: 868f017e */ lh $t7,0x17e($s4) +/* f198518: 53cf0015 */ beql $s8,$t7,.PB0f198570 +/* f19851c: 8e4d00dc */ lw $t5,0xdc($s2) +/* f198520: 8e590128 */ lw $t9,0x128($s2) +/* f198524: 53200012 */ beqzl $t9,.PB0f198570 +/* f198528: 8e4d00dc */ lw $t5,0xdc($s2) +/* f19852c: 0fc0a255 */ jal 0xf028954 +/* f198530: 02802025 */ move $a0,$s4 +/* f198534: 02802025 */ move $a0,$s4 +/* f198538: 0fc65258 */ jal 0xf194960 +/* f19853c: 8c450004 */ lw $a1,0x4($v0) +/* f198540: 1040000a */ beqz $v0,.PB0f19856c +/* f198544: 2409002f */ li $t1,0x2f +/* f198548: a28902a0 */ sb $t1,0x2a0($s4) +/* f19854c: 0fc0a255 */ jal 0xf028954 +/* f198550: 02802025 */ move $a0,$s4 +/* f198554: 0fc63af1 */ jal 0xf18ebc4 +/* f198558: 8c440004 */ lw $a0,0x4($v0) +/* f19855c: 240a00fa */ li $t2,0xfa +/* f198560: a6420008 */ sh $v0,0x8($s2) +/* f198564: ae4a01d8 */ sw $t2,0x1d8($s2) +/* f198568: a25e0074 */ sb $s8,0x74($s2) +.PB0f19856c: +/* f19856c: 8e4d00dc */ lw $t5,0xdc($s2) +.PB0f198570: +/* f198570: 240e0032 */ li $t6,0x32 +/* f198574: 1da00002 */ bgtz $t5,.PB0f198580 +/* f198578: 00000000 */ nop +/* f19857c: ae4e00dc */ sw $t6,0xdc($s2) +.PB0f198580: +/* f198580: 0fc65886 */ jal 0xf196218 +/* f198584: 02802025 */ move $a0,$s4 +/* f198588: 1040006f */ beqz $v0,.PB0f198748 +/* f19858c: 240b0029 */ li $t3,0x29 +/* f198590: 1000006d */ b .PB0f198748 +/* f198594: a28b02a0 */ sb $t3,0x2a0($s4) +/* f198598: 2401002b */ li $at,0x2b +.PB0f19859c: +/* f19859c: 1441002f */ bne $v0,$at,.PB0f19865c +/* f1985a0: 3c0c800b */ lui $t4,0x800b +/* f1985a4: 918c11b8 */ lbu $t4,0x11b8($t4) +/* f1985a8: 24010004 */ li $at,0x4 +/* f1985ac: 5581001f */ bnel $t4,$at,.PB0f19862c +/* f1985b0: 828b0007 */ lb $t3,0x7($s4) +/* f1985b4: 8e58004c */ lw $t8,0x4c($s2) +/* f1985b8: 3c02800b */ lui $v0,0x800b +/* f1985bc: 00187fc2 */ srl $t7,$t8,0x1f +/* f1985c0: 51e0001a */ beqzl $t7,.PB0f19862c +/* f1985c4: 828b0007 */ lb $t3,0x7($s4) +/* f1985c8: 8442073e */ lh $v0,0x73e($v0) +/* f1985cc: 8e5900bc */ lw $t9,0xbc($s2) +/* f1985d0: 53220006 */ beql $t9,$v0,.PB0f1985ec +/* f1985d4: 8e8d001c */ lw $t5,0x1c($s4) +/* f1985d8: 9249004c */ lbu $t1,0x4c($s2) +/* f1985dc: 312aff7f */ andi $t2,$t1,0xff7f +/* f1985e0: 10000011 */ b .PB0f198628 +/* f1985e4: a24a004c */ sb $t2,0x4c($s2) +/* f1985e8: 8e8d001c */ lw $t5,0x1c($s4) +.PB0f1985ec: +/* f1985ec: 85ae0028 */ lh $t6,0x28($t5) +/* f1985f0: 51c2000e */ beql $t6,$v0,.PB0f19862c +/* f1985f4: 828b0007 */ lb $t3,0x7($s4) +/* f1985f8: 86440048 */ lh $a0,0x48($s2) +/* f1985fc: 04820006 */ bltzl $a0,.PB0f198618 +/* f198600: 8644004a */ lh $a0,0x4a($s2) +/* f198604: 0fc45ab8 */ jal 0xf116ae0 +/* f198608: 3c050002 */ lui $a1,0x2 +/* f19860c: 10000007 */ b .PB0f19862c +/* f198610: 828b0007 */ lb $t3,0x7($s4) +/* f198614: 8644004a */ lh $a0,0x4a($s2) +.PB0f198618: +/* f198618: 04820004 */ bltzl $a0,.PB0f19862c +/* f19861c: 828b0007 */ lb $t3,0x7($s4) +/* f198620: 0fc45b6a */ jal 0xf116da8 +/* f198624: 24050100 */ li $a1,0x100 +.PB0f198628: +/* f198628: 828b0007 */ lb $t3,0x7($s4) +.PB0f19862c: +/* f19862c: 2401000f */ li $at,0xf +/* f198630: 240c0029 */ li $t4,0x29 +/* f198634: 11610003 */ beq $t3,$at,.PB0f198644 +/* f198638: 00000000 */ nop +/* f19863c: 10000042 */ b .PB0f198748 +/* f198640: a28c02a0 */ sb $t4,0x2a0($s4) +.PB0f198644: +/* f198644: 0fc65886 */ jal 0xf196218 +/* f198648: 02802025 */ move $a0,$s4 +/* f19864c: 1040003e */ beqz $v0,.PB0f198748 +/* f198650: 24180029 */ li $t8,0x29 +/* f198654: 1000003c */ b .PB0f198748 +/* f198658: a29802a0 */ sb $t8,0x2a0($s4) +.PB0f19865c: +/* f19865c: 2401002c */ li $at,0x2c +/* f198660: 54410029 */ bnel $v0,$at,.PB0f198708 +/* f198664: 2401002e */ li $at,0x2e +/* f198668: 0fc65886 */ jal 0xf196218 +/* f19866c: 02802025 */ move $a0,$s4 +/* f198670: 10400003 */ beqz $v0,.PB0f198680 +/* f198674: 240f0029 */ li $t7,0x29 +/* f198678: 10000033 */ b .PB0f198748 +/* f19867c: a28f02a0 */ sb $t7,0x2a0($s4) +.PB0f198680: +/* f198680: 82990007 */ lb $t9,0x7($s4) +/* f198684: 2401000f */ li $at,0xf +/* f198688: 240a0029 */ li $t2,0x29 +/* f19868c: 17210008 */ bne $t9,$at,.PB0f1986b0 +/* f198690: 00000000 */ nop +/* f198694: 8e450010 */ lw $a1,0x10($s2) +/* f198698: 10a00005 */ beqz $a1,.PB0f1986b0 +/* f19869c: 00000000 */ nop +/* f1986a0: 8ca90018 */ lw $t1,0x18($a1) +/* f1986a4: 3c03800b */ lui $v1,0x800b +/* f1986a8: 11200003 */ beqz $t1,.PB0f1986b8 +/* f1986ac: 00000000 */ nop +.PB0f1986b0: +/* f1986b0: 10000025 */ b .PB0f198748 +/* f1986b4: a28a02a0 */ sb $t2,0x2a0($s4) +.PB0f1986b8: +/* f1986b8: 906311b8 */ lbu $v1,0x11b8($v1) +/* f1986bc: 24010002 */ li $at,0x2 +/* f1986c0: 12e30021 */ beq $s7,$v1,.PB0f198748 +/* f1986c4: 00000000 */ nop +/* f1986c8: 1461001f */ bne $v1,$at,.PB0f198748 +/* f1986cc: 3c0d800b */ lui $t5,0x800b +/* f1986d0: 8dad086c */ lw $t5,0x86c($t5) +/* f1986d4: 8e8e001c */ lw $t6,0x1c($s4) +/* f1986d8: 15ae001b */ bne $t5,$t6,.PB0f198748 +/* f1986dc: 00000000 */ nop +/* f1986e0: 0fc63af1 */ jal 0xf18ebc4 +/* f1986e4: 02802025 */ move $a0,$s4 +/* f1986e8: 3c0b800b */ lui $t3,0x800b +/* f1986ec: 856b0802 */ lh $t3,0x802($t3) +/* f1986f0: 240c0029 */ li $t4,0x29 +/* f1986f4: 144b0014 */ bne $v0,$t3,.PB0f198748 +/* f1986f8: 00000000 */ nop +/* f1986fc: 10000012 */ b .PB0f198748 +/* f198700: a28c02a0 */ sb $t4,0x2a0($s4) +/* f198704: 2401002e */ li $at,0x2e +.PB0f198708: +/* f198708: 1441000f */ bne $v0,$at,.PB0f198748 +/* f19870c: 00000000 */ nop +/* f198710: 0fc65886 */ jal 0xf196218 +/* f198714: 02802025 */ move $a0,$s4 +/* f198718: 10400003 */ beqz $v0,.PB0f198728 +/* f19871c: 24180029 */ li $t8,0x29 +/* f198720: 10000009 */ b .PB0f198748 +/* f198724: a29802a0 */ sb $t8,0x2a0($s4) +.PB0f198728: +/* f198728: 0fc63af1 */ jal 0xf18ebc4 +/* f19872c: 02802025 */ move $a0,$s4 +/* f198730: 3c0f800b */ lui $t7,0x800b +/* f198734: 85ef0802 */ lh $t7,0x802($t7) +/* f198738: 24190029 */ li $t9,0x29 +/* f19873c: 104f0002 */ beq $v0,$t7,.PB0f198748 +/* f198740: 00000000 */ nop +/* f198744: a29902a0 */ sb $t9,0x2a0($s4) +.PB0f198748: +/* f198748: 0fc6528c */ jal 0xf194a30 +/* f19874c: 02802025 */ move $a0,$s4 +/* f198750: 0fc63af1 */ jal 0xf18ebc4 +/* f198754: 02802025 */ move $a0,$s4 +/* f198758: 8ec9000c */ lw $t1,0xc($s6) +/* f19875c: 8e6a0000 */ lw $t2,0x0($s3) +/* f198760: 012a001a */ div $zero,$t1,$t2 +/* f198764: 00006810 */ mfhi $t5 +/* f198768: 15400002 */ bnez $t2,.PB0f198774 +/* f19876c: 00000000 */ nop +/* f198770: 0007000d */ break 0x7 +.PB0f198774: +/* f198774: 2401ffff */ li $at,-1 +/* f198778: 15410004 */ bne $t2,$at,.PB0f19878c +/* f19877c: 3c018000 */ lui $at,0x8000 +/* f198780: 15210002 */ bne $t1,$at,.PB0f19878c +/* f198784: 00000000 */ nop +/* f198788: 0006000d */ break 0x6 +.PB0f19878c: +/* f19878c: 144d0024 */ bne $v0,$t5,.PB0f198820 +/* f198790: 00000000 */ nop +/* f198794: 868e017e */ lh $t6,0x17e($s4) +/* f198798: 13ce0021 */ beq $s8,$t6,.PB0f198820 +/* f19879c: 00000000 */ nop +/* f1987a0: 0fc0a255 */ jal 0xf028954 +/* f1987a4: 02802025 */ move $a0,$s4 +/* f1987a8: 8e83001c */ lw $v1,0x1c($s4) +/* f1987ac: 00408025 */ move $s0,$v0 +/* f1987b0: 24640008 */ addiu $a0,$v1,0x8 +/* f1987b4: 0fc452bd */ jal 0xf114af4 +/* f1987b8: 24650028 */ addiu $a1,$v1,0x28 +/* f1987bc: 00408825 */ move $s1,$v0 +/* f1987c0: 26040008 */ addiu $a0,$s0,0x8 +/* f1987c4: 0fc452bd */ jal 0xf114af4 +/* f1987c8: 26050028 */ addiu $a1,$s0,0x28 +/* f1987cc: 12200014 */ beqz $s1,.PB0f198820 +/* f1987d0: 00408025 */ move $s0,$v0 +/* f1987d4: 10400012 */ beqz $v0,.PB0f198820 +/* f1987d8: 00000000 */ nop +/* f1987dc: 8ecb0008 */ lw $t3,0x8($s6) +/* f1987e0: 868f0000 */ lh $t7,0x0($s4) +/* f1987e4: 000b6243 */ sra $t4,$t3,0x9 +/* f1987e8: 000cc1c0 */ sll $t8,$t4,0x7 +/* f1987ec: 000fc8c0 */ sll $t9,$t7,0x3 +/* f1987f0: 03192021 */ addu $a0,$t8,$t9 +/* f1987f4: 0fc452b8 */ jal 0xf114ae0 +/* f1987f8: 00802825 */ move $a1,$a0 +/* f1987fc: 02002025 */ move $a0,$s0 +/* f198800: 02202825 */ move $a1,$s1 +/* f198804: 264601e8 */ addiu $a2,$s2,0x1e8 +/* f198808: 0fc456a3 */ jal 0xf115a8c +/* f19880c: 24070008 */ li $a3,0x8 +/* f198810: ae420208 */ sw $v0,0x208($s2) +/* f198814: 00002025 */ move $a0,$zero +/* f198818: 0fc452b8 */ jal 0xf114ae0 +/* f19881c: 00002825 */ move $a1,$zero +.PB0f198820: +/* f198820: 0fc66ab3 */ jal 0xf19aacc +/* f198824: 02802025 */ move $a0,$s4 +/* f198828: afa00088 */ sw $zero,0x88($sp) +/* f19882c: 00009825 */ move $s3,$zero +/* f198830: afa0004c */ sw $zero,0x4c($sp) +/* f198834: 02408825 */ move $s1,$s2 +.PB0f198838: +/* f198838: 8e22005c */ lw $v0,0x5c($s1) +/* f19883c: 0000a825 */ move $s5,$zero +/* f198840: 18400004 */ blez $v0,.PB0f198854 +/* f198844: 00000000 */ nop +/* f198848: 8ec90038 */ lw $t1,0x38($s6) +/* f19884c: 00495023 */ subu $t2,$v0,$t1 +/* f198850: ae2a005c */ sw $t2,0x5c($s1) +.PB0f198854: +/* f198854: 16770004 */ bne $s3,$s7,.PB0f198868 +/* f198858: 8fad0088 */ lw $t5,0x88($sp) +/* f19885c: 51a00003 */ beqzl $t5,.PB0f19886c +/* f198860: 8e4e0044 */ lw $t6,0x44($s2) +/* f198864: ae37005c */ sw $s7,0x5c($s1) +.PB0f198868: +/* f198868: 8e4e0044 */ lw $t6,0x44($s2) +.PB0f19886c: +/* f19886c: 15c00212 */ bnez $t6,.PB0f1990b8 +/* f198870: 00000000 */ nop +/* f198874: 8e4b00cc */ lw $t3,0xcc($s2) +/* f198878: 1d60020f */ bgtz $t3,.PB0f1990b8 +/* f19887c: 00000000 */ nop +/* f198880: 8e42004c */ lw $v0,0x4c($s2) +/* f198884: 0013c040 */ sll $t8,$s3,0x1 +/* f198888: 02581821 */ addu $v1,$s2,$t8 +/* f19888c: 00027840 */ sll $t7,$v0,0x1 +/* f198890: 05e300b5 */ bgezl $t7,.PB0f198b68 +/* f198894: 8e440020 */ lw $a0,0x20($s2) +/* f198898: 8479003c */ lh $t9,0x3c($v1) +/* f19889c: 07200206 */ bltz $t9,.PB0f1990b8 +/* f1988a0: 00000000 */ nop +/* f1988a4: 8469002c */ lh $t1,0x2c($v1) +/* f1988a8: 1d200203 */ bgtz $t1,.PB0f1990b8 +/* f1988ac: 00000000 */ nop +/* f1988b0: 8e4a0020 */ lw $t2,0x20($s2) +/* f1988b4: 2401001c */ li $at,0x1c +/* f1988b8: 2404001c */ li $a0,0x1c +/* f1988bc: 1541000d */ bne $t2,$at,.PB0f1988f4 +/* f1988c0: 02e02825 */ move $a1,$s7 +/* f1988c4: 0fc26da8 */ jal 0xf09b6a0 +/* f1988c8: afa30054 */ sw $v1,0x54($sp) +/* f1988cc: 8e2d0024 */ lw $t5,0x24($s1) +/* f1988d0: 8fa30054 */ lw $v1,0x54($sp) +/* f1988d4: 02802025 */ move $a0,$s4 +/* f1988d8: 01a2082a */ slt $at,$t5,$v0 +/* f1988dc: 10200005 */ beqz $at,.PB0f1988f4 +/* f1988e0: 02602825 */ move $a1,$s3 +/* f1988e4: 0fc6548f */ jal 0xf19523c +/* f1988e8: a460003c */ sh $zero,0x3c($v1) +/* f1988ec: 100001f2 */ b .PB0f1990b8 +/* f1988f0: 00000000 */ nop +.PB0f1988f4: +/* f1988f4: 846e003c */ lh $t6,0x3c($v1) +/* f1988f8: 8ecb0038 */ lw $t3,0x38($s6) +/* f1988fc: 01cb6023 */ subu $t4,$t6,$t3 +/* f198900: a46c003c */ sh $t4,0x3c($v1) +/* f198904: 868f017e */ lh $t7,0x17e($s4) +/* f198908: 53cf0042 */ beql $s8,$t7,.PB0f198a14 +/* f19890c: a460003c */ sh $zero,0x3c($v1) +/* f198910: 8e580128 */ lw $t8,0x128($s2) +/* f198914: 5300003f */ beqzl $t8,.PB0f198a14 +/* f198918: a460003c */ sh $zero,0x3c($v1) +/* f19891c: 8e490004 */ lw $t1,0x4($s2) +/* f198920: 3c0e8009 */ lui $t6,0x8009 +/* f198924: 8e59011c */ lw $t9,0x11c($s2) +/* f198928: 912a0048 */ lbu $t2,0x48($t1) +/* f19892c: 02802025 */ move $a0,$s4 +/* f198930: 000a6940 */ sll $t5,$t2,0x5 +/* f198934: 01cd7021 */ addu $t6,$t6,$t5 +/* f198938: 91cea1f4 */ lbu $t6,-0x5e0c($t6) +/* f19893c: 032e082a */ slt $at,$t9,$t6 +/* f198940: 54200034 */ bnezl $at,.PB0f198a14 +/* f198944: a460003c */ sh $zero,0x3c($v1) +/* f198948: 0fc64784 */ jal 0xf191e10 +/* f19894c: afa30054 */ sw $v1,0x54($sp) +/* f198950: 14400030 */ bnez $v0,.PB0f198a14 +/* f198954: 8fa30054 */ lw $v1,0x54($sp) +/* f198958: 8e4b0020 */ lw $t3,0x20($s2) +/* f19895c: 2401001c */ li $at,0x1c +/* f198960: 02802025 */ move $a0,$s4 +/* f198964: 15610014 */ bne $t3,$at,.PB0f1989b8 +/* f198968: 24050028 */ li $a1,0x28 +/* f19896c: 02802025 */ move $a0,$s4 +/* f198970: 2405001e */ li $a1,0x1e +/* f198974: 00003025 */ move $a2,$zero +/* f198978: 0fc12463 */ jal 0xf04918c +/* f19897c: afa30054 */ sw $v1,0x54($sp) +/* f198980: 1040000b */ beqz $v0,.PB0f1989b0 +/* f198984: 8fa30054 */ lw $v1,0x54($sp) +/* f198988: 02802025 */ move $a0,$s4 +/* f19898c: 0fc124bb */ jal 0xf0492ec +/* f198990: afa30054 */ sw $v1,0x54($sp) +/* f198994: 3c014352 */ lui $at,0x4352 +/* f198998: 44813000 */ mtc1 $at,$f6 +/* f19899c: 8fa30054 */ lw $v1,0x54($sp) +/* f1989a0: 4600303c */ c.lt.s $f6,$f0 +/* f1989a4: 00000000 */ nop +/* f1989a8: 4502001b */ bc1fl .PB0f198a18 +/* f1989ac: 846c003c */ lh $t4,0x3c($v1) +.PB0f1989b0: +/* f1989b0: 10000018 */ b .PB0f198a14 +/* f1989b4: a460003c */ sh $zero,0x3c($v1) +.PB0f1989b8: +/* f1989b8: 00003025 */ move $a2,$zero +/* f1989bc: 0fc12463 */ jal 0xf04918c +/* f1989c0: afa30054 */ sw $v1,0x54($sp) +/* f1989c4: 10400010 */ beqz $v0,.PB0f198a08 +/* f1989c8: 8fa30054 */ lw $v1,0x54($sp) +/* f1989cc: 3c014352 */ lui $at,0x4352 +/* f1989d0: 44815000 */ mtc1 $at,$f10 +/* f1989d4: 3c014316 */ lui $at,0x4316 +/* f1989d8: 44819000 */ mtc1 $at,$f18 +/* f1989dc: 02802025 */ move $a0,$s4 +/* f1989e0: afa30054 */ sw $v1,0x54($sp) +/* f1989e4: 46125100 */ add.s $f4,$f10,$f18 +/* f1989e8: 0fc124bb */ jal 0xf0492ec +/* f1989ec: e7a40050 */ swc1 $f4,0x50($sp) +/* f1989f0: c7a80050 */ lwc1 $f8,0x50($sp) +/* f1989f4: 8fa30054 */ lw $v1,0x54($sp) +/* f1989f8: 4600403c */ c.lt.s $f8,$f0 +/* f1989fc: 00000000 */ nop +/* f198a00: 45020005 */ bc1fl .PB0f198a18 +/* f198a04: 846c003c */ lh $t4,0x3c($v1) +.PB0f198a08: +/* f198a08: 10000002 */ b .PB0f198a14 +/* f198a0c: a460003c */ sh $zero,0x3c($v1) +/* f198a10: a460003c */ sh $zero,0x3c($v1) +.PB0f198a14: +/* f198a14: 846c003c */ lh $t4,0x3c($v1) +.PB0f198a18: +/* f198a18: 3c014352 */ lui $at,0x4352 +/* f198a1c: 058101a6 */ bgez $t4,.PB0f1990b8 +/* f198a20: 00000000 */ nop +/* f198a24: 44813000 */ mtc1 $at,$f6 +/* f198a28: 02802025 */ move $a0,$s4 +/* f198a2c: 4600328d */ trunc.w.s $f10,$f6 +/* f198a30: 44105000 */ mfc1 $s0,$f10 +/* f198a34: 0fc089b4 */ jal 0xf0226d0 +/* f198a38: 00000000 */ nop +/* f198a3c: 02802025 */ move $a0,$s4 +/* f198a40: 24050002 */ li $a1,0x2 +/* f198a44: 02003025 */ move $a2,$s0 +/* f198a48: 0fc0eed5 */ jal 0xf03bb54 +/* f198a4c: 00003825 */ move $a3,$zero +/* f198a50: 16600199 */ bnez $s3,.PB0f1990b8 +/* f198a54: 00000000 */ nop +/* f198a58: 8e580020 */ lw $t8,0x20($s2) +/* f198a5c: 2709ffff */ addiu $t1,$t8,-1 +/* f198a60: 2d21001c */ sltiu $at,$t1,0x1c +/* f198a64: 10200006 */ beqz $at,.PB0f198a80 +/* f198a68: 00094880 */ sll $t1,$t1,0x2 +/* f198a6c: 3c017f1c */ lui $at,0x7f1c +/* f198a70: 00290821 */ addu $at,$at,$t1 +/* f198a74: 8c29b2f8 */ lw $t1,-0x4d08($at) +/* f198a78: 01200008 */ jr $t1 +/* f198a7c: 00000000 */ nop +.PB0f198a80: +/* f198a80: 8e8a02d4 */ lw $t2,0x2d4($s4) +/* f198a84: 24190064 */ li $t9,0x64 +/* f198a88: 8d4d0004 */ lw $t5,0x4($t2) +/* f198a8c: 91a20048 */ lbu $v0,0x48($t5) +/* f198a90: 14400003 */ bnez $v0,.PB0f198aa0 +/* f198a94: 00000000 */ nop +/* f198a98: 10000007 */ b .PB0f198ab8 +/* f198a9c: a659003c */ sh $t9,0x3c($s2) +.PB0f198aa0: +/* f198aa0: 16e20004 */ bne $s7,$v0,.PB0f198ab4 +/* f198aa4: 240b0019 */ li $t3,0x19 +/* f198aa8: 240e0032 */ li $t6,0x32 +/* f198aac: 10000002 */ b .PB0f198ab8 +/* f198ab0: a64e003c */ sh $t6,0x3c($s2) +.PB0f198ab4: +/* f198ab4: a64b003c */ sh $t3,0x3c($s2) +.PB0f198ab8: +/* f198ab8: 0c004be0 */ jal 0x12f80 +/* f198abc: 00000000 */ nop +/* f198ac0: 24010003 */ li $at,0x3 +/* f198ac4: 0041001b */ divu $zero,$v0,$at +/* f198ac8: 00006010 */ mfhi $t4 +/* f198acc: 1580017a */ bnez $t4,.PB0f1990b8 +/* f198ad0: 00000000 */ nop +/* f198ad4: 864f003c */ lh $t7,0x3c($s2) +/* f198ad8: 25f8fff0 */ addiu $t8,$t7,-16 +/* f198adc: 10000176 */ b .PB0f1990b8 +/* f198ae0: a658003e */ sh $t8,0x3e($s2) +/* f198ae4: 8e8902d4 */ lw $t1,0x2d4($s4) +/* f198ae8: 240d0064 */ li $t5,0x64 +/* f198aec: 8d2a0004 */ lw $t2,0x4($t1) +/* f198af0: 91420048 */ lbu $v0,0x48($t2) +/* f198af4: 14400003 */ bnez $v0,.PB0f198b04 +/* f198af8: 00000000 */ nop +/* f198afc: 10000007 */ b .PB0f198b1c +/* f198b00: a64d003c */ sh $t5,0x3c($s2) +.PB0f198b04: +/* f198b04: 16e20004 */ bne $s7,$v0,.PB0f198b18 +/* f198b08: 240e0032 */ li $t6,0x32 +/* f198b0c: 2419004b */ li $t9,0x4b +/* f198b10: 10000002 */ b .PB0f198b1c +/* f198b14: a659003c */ sh $t9,0x3c($s2) +.PB0f198b18: +/* f198b18: a64e003c */ sh $t6,0x3c($s2) +.PB0f198b1c: +/* f198b1c: 8e8b0174 */ lw $t3,0x174($s4) +/* f198b20: 11600165 */ beqz $t3,.PB0f1990b8 +/* f198b24: 00000000 */ nop +/* f198b28: 864c003c */ lh $t4,0x3c($s2) +/* f198b2c: 258fffdf */ addiu $t7,$t4,-33 +/* f198b30: 10000161 */ b .PB0f1990b8 +/* f198b34: a64f003e */ sh $t7,0x3e($s2) +/* f198b38: 24180032 */ li $t8,0x32 +/* f198b3c: a658003c */ sh $t8,0x3c($s2) +/* f198b40: 2404001c */ li $a0,0x1c +/* f198b44: 0fc26da8 */ jal 0xf09b6a0 +/* f198b48: 02e02825 */ move $a1,$s7 +/* f198b4c: 8e490024 */ lw $t1,0x24($s2) +/* f198b50: 01225023 */ subu $t2,$t1,$v0 +/* f198b54: 10000158 */ b .PB0f1990b8 +/* f198b58: ae4a0024 */ sw $t2,0x24($s2) +/* f198b5c: 10000156 */ b .PB0f1990b8 +/* f198b60: a640003c */ sh $zero,0x3c($s2) +/* f198b64: 8e440020 */ lw $a0,0x20($s2) +.PB0f198b68: +/* f198b68: 24010019 */ li $at,0x19 +/* f198b6c: 0002c880 */ sll $t9,$v0,0x2 +/* f198b70: 14810011 */ bne $a0,$at,.PB0f198bb8 +/* f198b74: 00022880 */ sll $a1,$v0,0x2 +/* f198b78: 07230010 */ bgezl $t9,.PB0f198bbc +/* f198b7c: 0005c7c2 */ srl $t8,$a1,0x1f +/* f198b80: 868e017e */ lh $t6,0x17e($s4) +/* f198b84: 53ce000d */ beql $s8,$t6,.PB0f198bbc +/* f198b88: 0005c7c2 */ srl $t8,$a1,0x1f +/* f198b8c: 8e4b0024 */ lw $t3,0x24($s2) +/* f198b90: 19600149 */ blez $t3,.PB0f1990b8 +/* f198b94: 00000000 */ nop +/* f198b98: 0fc089b4 */ jal 0xf0226d0 +/* f198b9c: 02802025 */ move $a0,$s4 +/* f198ba0: 0fc6710c */ jal 0xf19c430 +/* f198ba4: 02802025 */ move $a0,$s4 +/* f198ba8: 8e4c0024 */ lw $t4,0x24($s2) +/* f198bac: 258fffff */ addiu $t7,$t4,-1 +/* f198bb0: 10000141 */ b .PB0f1990b8 +/* f198bb4: ae4f0024 */ sw $t7,0x24($s2) +.PB0f198bb8: +/* f198bb8: 0005c7c2 */ srl $t8,$a1,0x1f +.PB0f198bbc: +/* f198bbc: 0fc66f9f */ jal 0xf19be7c +/* f198bc0: 03002825 */ move $a1,$t8 +/* f198bc4: 1040005b */ beqz $v0,.PB0f198d34 +/* f198bc8: 8fb8004c */ lw $t8,0x4c($sp) +/* f198bcc: 1660013a */ bnez $s3,.PB0f1990b8 +/* f198bd0: 00000000 */ nop +/* f198bd4: 8e420034 */ lw $v0,0x34($s2) +/* f198bd8: 02402025 */ move $a0,$s2 +/* f198bdc: 58400005 */ blezl $v0,.PB0f198bf4 +/* f198be0: 8e8d02d4 */ lw $t5,0x2d4($s4) +/* f198be4: 8ec90038 */ lw $t1,0x38($s6) +/* f198be8: 00495023 */ subu $t2,$v0,$t1 +/* f198bec: ae4a0034 */ sw $t2,0x34($s2) +/* f198bf0: 8e8d02d4 */ lw $t5,0x2d4($s4) +.PB0f198bf4: +/* f198bf4: 8db90034 */ lw $t9,0x34($t5) +/* f198bf8: 1f20012f */ bgtz $t9,.PB0f1990b8 +/* f198bfc: 00000000 */ nop +/* f198c00: 8e46004c */ lw $a2,0x4c($s2) +/* f198c04: 8e450020 */ lw $a1,0x20($s2) +/* f198c08: 00003825 */ move $a3,$zero +/* f198c0c: 00067080 */ sll $t6,$a2,0x2 +/* f198c10: 0fc66df1 */ jal 0xf19b7c4 +/* f198c14: 000e37c2 */ srl $a2,$t6,0x1f +/* f198c18: 5c400008 */ bgtzl $v0,.PB0f198c3c +/* f198c1c: 868c017e */ lh $t4,0x17e($s4) +/* f198c20: 8e440020 */ lw $a0,0x20($s2) +/* f198c24: 2401000e */ li $at,0xe +/* f198c28: 10810003 */ beq $a0,$at,.PB0f198c38 +/* f198c2c: 2401000f */ li $at,0xf +/* f198c30: 14810121 */ bne $a0,$at,.PB0f1990b8 +/* f198c34: 00000000 */ nop +.PB0f198c38: +/* f198c38: 868c017e */ lh $t4,0x17e($s4) +.PB0f198c3c: +/* f198c3c: 00008025 */ move $s0,$zero +/* f198c40: 13cc0018 */ beq $s8,$t4,.PB0f198ca4 +/* f198c44: 00000000 */ nop +/* f198c48: 8e4f0128 */ lw $t7,0x128($s2) +/* f198c4c: 11e00015 */ beqz $t7,.PB0f198ca4 +/* f198c50: 00000000 */ nop +/* f198c54: 8e490004 */ lw $t1,0x4($s2) +/* f198c58: 3c198009 */ lui $t9,0x8009 +/* f198c5c: 8e58011c */ lw $t8,0x11c($s2) +/* f198c60: 912a0048 */ lbu $t2,0x48($t1) +/* f198c64: 000a6940 */ sll $t5,$t2,0x5 +/* f198c68: 032dc821 */ addu $t9,$t9,$t5 +/* f198c6c: 9339a1f4 */ lbu $t9,-0x5e0c($t9) +/* f198c70: 0319082a */ slt $at,$t8,$t9 +/* f198c74: 1420000b */ bnez $at,.PB0f198ca4 +/* f198c78: 00000000 */ nop +/* f198c7c: 0fc64784 */ jal 0xf191e10 +/* f198c80: 02802025 */ move $a0,$s4 +/* f198c84: 14400006 */ bnez $v0,.PB0f198ca0 +/* f198c88: 02802025 */ move $a0,$s4 +/* f198c8c: 2405002d */ li $a1,0x2d +/* f198c90: 0fc12463 */ jal 0xf04918c +/* f198c94: 00003025 */ move $a2,$zero +/* f198c98: 10400002 */ beqz $v0,.PB0f198ca4 +/* f198c9c: 00000000 */ nop +.PB0f198ca0: +/* f198ca0: 02e08025 */ move $s0,$s7 +.PB0f198ca4: +/* f198ca4: 12000104 */ beqz $s0,.PB0f1990b8 +/* f198ca8: 00000000 */ nop +/* f198cac: 0fc089b4 */ jal 0xf0226d0 +/* f198cb0: 02802025 */ move $a0,$s4 +/* f198cb4: 8e46004c */ lw $a2,0x4c($s2) +/* f198cb8: 02402025 */ move $a0,$s2 +/* f198cbc: 8e450020 */ lw $a1,0x20($s2) +/* f198cc0: 00067080 */ sll $t6,$a2,0x2 +/* f198cc4: 000e37c2 */ srl $a2,$t6,0x1f +/* f198cc8: 0fc66e54 */ jal 0xf19b950 +/* f198ccc: 02e03825 */ move $a3,$s7 +/* f198cd0: 0fc66fd7 */ jal 0xf19bf5c +/* f198cd4: 02802025 */ move $a0,$s4 +/* f198cd8: 8e45004c */ lw $a1,0x4c($s2) +/* f198cdc: 8e440020 */ lw $a0,0x20($s2) +/* f198ce0: 00056080 */ sll $t4,$a1,0x2 +/* f198ce4: 0fc2c505 */ jal 0xf0b1414 +/* f198ce8: 000c2fc2 */ srl $a1,$t4,0x1f +/* f198cec: 5040000d */ beqzl $v0,.PB0f198d24 +/* f198cf0: 8e8d02d4 */ lw $t5,0x2d4($s4) +/* f198cf4: 8c490010 */ lw $t1,0x10($v0) +/* f198cf8: 02802025 */ move $a0,$s4 +/* f198cfc: 00095340 */ sll $t2,$t1,0xd +/* f198d00: 05430008 */ bgezl $t2,.PB0f198d24 +/* f198d04: 8e8d02d4 */ lw $t5,0x2d4($s4) +/* f198d08: 0fc6665d */ jal 0xf199974 +/* f198d0c: 8e450020 */ lw $a1,0x20($s2) +/* f198d10: 02802025 */ move $a0,$s4 +/* f198d14: 02e02825 */ move $a1,$s7 +/* f198d18: 0fc66c24 */ jal 0xf19b090 +/* f198d1c: 00003025 */ move $a2,$zero +/* f198d20: 8e8d02d4 */ lw $t5,0x2d4($s4) +.PB0f198d24: +/* f198d24: 0fc66faf */ jal 0xf19bebc +/* f198d28: 8da40020 */ lw $a0,0x20($t5) +/* f198d2c: 100000e2 */ b .PB0f1990b8 +/* f198d30: ae420034 */ sw $v0,0x34($s2) +.PB0f198d34: +/* f198d34: 0298c821 */ addu $t9,$s4,$t8 +/* f198d38: 8f2e0170 */ lw $t6,0x170($t9) +/* f198d3c: 0013c040 */ sll $t8,$s3,0x1 +/* f198d40: 02536821 */ addu $t5,$s2,$s3 +/* f198d44: 11c000d9 */ beqz $t6,.PB0f1990ac +/* f198d48: 0258c821 */ addu $t9,$s2,$t8 +/* f198d4c: 8e2b0024 */ lw $t3,0x24($s1) +/* f198d50: 596000d7 */ blezl $t3,.PB0f1990b0 +/* f198d54: ae2000c4 */ sw $zero,0xc4($s1) +/* f198d58: 8e45004c */ lw $a1,0x4c($s2) +/* f198d5c: 00008025 */ move $s0,$zero +/* f198d60: 8e440020 */ lw $a0,0x20($s2) +/* f198d64: 00056080 */ sll $t4,$a1,0x2 +/* f198d68: 0fc2c8be */ jal 0xf0b22f8 +/* f198d6c: 000c2fc2 */ srl $a1,$t4,0x1f +/* f198d70: 5c400030 */ bgtzl $v0,.PB0f198e34 +/* f198d74: 02e08025 */ move $s0,$s7 +/* f198d78: 8e490020 */ lw $t1,0x20($s2) +/* f198d7c: 24010006 */ li $at,0x6 +/* f198d80: 55210027 */ bnel $t1,$at,.PB0f198e20 +/* f198d84: 8e29005c */ lw $t1,0x5c($s1) +/* f198d88: 8e4a004c */ lw $t2,0x4c($s2) +/* f198d8c: 000a6880 */ sll $t5,$t2,0x2 +/* f198d90: 000dc7c2 */ srl $t8,$t5,0x1f +/* f198d94: 56f80022 */ bnel $s7,$t8,.PB0f198e20 +/* f198d98: 8e29005c */ lw $t1,0x5c($s1) +/* f198d9c: 8e390024 */ lw $t9,0x24($s1) +/* f198da0: 2b210002 */ slti $at,$t9,0x2 +/* f198da4: 1420001d */ bnez $at,.PB0f198e1c +/* f198da8: 3c017f1c */ lui $at,0x7f1c +/* f198dac: c428b368 */ lwc1 $f8,-0x4c98($at) +/* f198db0: c6c4004c */ lwc1 $f4,0x4c($s6) +/* f198db4: c62000e4 */ lwc1 $f0,0xe4($s1) +/* f198db8: 3c0140a0 */ lui $at,0x40a0 +/* f198dbc: 46082182 */ mul.s $f6,$f4,$f8 +/* f198dc0: 4600048d */ trunc.w.s $f18,$f0 +/* f198dc4: 44039000 */ mfc1 $v1,$f18 +/* f198dc8: 44819000 */ mtc1 $at,$f18 +/* f198dcc: 46060280 */ add.s $f10,$f0,$f6 +/* f198dd0: 3c0140a0 */ lui $at,0x40a0 +/* f198dd4: e62a00e4 */ swc1 $f10,0xe4($s1) +/* f198dd8: c62000e4 */ lwc1 $f0,0xe4($s1) +/* f198ddc: 4600903c */ c.lt.s $f18,$f0 +/* f198de0: 00000000 */ nop +/* f198de4: 45020006 */ bc1fl .PB0f198e00 +/* f198de8: 4600020d */ trunc.w.s $f8,$f0 +/* f198dec: 44812000 */ mtc1 $at,$f4 +/* f198df0: 00000000 */ nop +/* f198df4: e62400e4 */ swc1 $f4,0xe4($s1) +/* f198df8: c62000e4 */ lwc1 $f0,0xe4($s1) +/* f198dfc: 4600020d */ trunc.w.s $f8,$f0 +.PB0f198e00: +/* f198e00: 44024000 */ mfc1 $v0,$f8 +/* f198e04: 00000000 */ nop +/* f198e08: 50430005 */ beql $v0,$v1,.PB0f198e20 +/* f198e0c: 8e29005c */ lw $t1,0x5c($s1) +/* f198e10: 8e2c0024 */ lw $t4,0x24($s1) +/* f198e14: 258fffff */ addiu $t7,$t4,-1 +/* f198e18: ae2f0024 */ sw $t7,0x24($s1) +.PB0f198e1c: +/* f198e1c: 8e29005c */ lw $t1,0x5c($s1) +.PB0f198e20: +/* f198e20: 1d200004 */ bgtz $t1,.PB0f198e34 +/* f198e24: 00000000 */ nop +/* f198e28: 10000002 */ b .PB0f198e34 +/* f198e2c: 02e08025 */ move $s0,$s7 +/* f198e30: 02e08025 */ move $s0,$s7 +.PB0f198e34: +/* f198e34: 52000052 */ beqzl $s0,.PB0f198f80 +/* f198e38: 8e45004c */ lw $a1,0x4c($s2) +/* f198e3c: 8e2a00c4 */ lw $t2,0xc4($s1) +/* f198e40: 02536821 */ addu $t5,$s2,$s3 +/* f198e44: 15400004 */ bnez $t2,.PB0f198e58 +/* f198e48: 00000000 */ nop +/* f198e4c: 91b8004d */ lbu $t8,0x4d($t5) +/* f198e50: 5b000004 */ blezl $t8,.PB0f198e64 +/* f198e54: 8699017e */ lh $t9,0x17e($s4) +.PB0f198e58: +/* f198e58: 1000003a */ b .PB0f198f44 +/* f198e5c: 02e0a825 */ move $s5,$s7 +/* f198e60: 8699017e */ lh $t9,0x17e($s4) +.PB0f198e64: +/* f198e64: 13d90037 */ beq $s8,$t9,.PB0f198f44 +/* f198e68: 00000000 */ nop +/* f198e6c: 8e4e0128 */ lw $t6,0x128($s2) +/* f198e70: 11c00034 */ beqz $t6,.PB0f198f44 +/* f198e74: 00000000 */ nop +/* f198e78: 8e4c0004 */ lw $t4,0x4($s2) +/* f198e7c: 3c0a8009 */ lui $t2,0x8009 +/* f198e80: 8e4b011c */ lw $t3,0x11c($s2) +/* f198e84: 918f0048 */ lbu $t7,0x48($t4) +/* f198e88: 000f4940 */ sll $t1,$t7,0x5 +/* f198e8c: 01495021 */ addu $t2,$t2,$t1 +/* f198e90: 914aa1f4 */ lbu $t2,-0x5e0c($t2) +/* f198e94: 016a082a */ slt $at,$t3,$t2 +/* f198e98: 1420002a */ bnez $at,.PB0f198f44 +/* f198e9c: 00000000 */ nop +/* f198ea0: 0fc64784 */ jal 0xf191e10 +/* f198ea4: 02802025 */ move $a0,$s4 +/* f198ea8: 14400006 */ bnez $v0,.PB0f198ec4 +/* f198eac: 02802025 */ move $a0,$s4 +/* f198eb0: 2405002d */ li $a1,0x2d +/* f198eb4: 0fc12463 */ jal 0xf04918c +/* f198eb8: 00003025 */ move $a2,$zero +/* f198ebc: 10400021 */ beqz $v0,.PB0f198f44 +/* f198ec0: 00000000 */ nop +.PB0f198ec4: +/* f198ec4: 0fc0a255 */ jal 0xf028954 +/* f198ec8: 02802025 */ move $a0,$s4 +/* f198ecc: 0fc0e6e9 */ jal 0xf039ba4 +/* f198ed0: 8c440004 */ lw $a0,0x4($v0) +/* f198ed4: 1440001b */ bnez $v0,.PB0f198f44 +/* f198ed8: 00000000 */ nop +/* f198edc: 8e440020 */ lw $a0,0x20($s2) +/* f198ee0: 2401000b */ li $at,0xb +/* f198ee4: 02e0a825 */ move $s5,$s7 +/* f198ee8: 54810009 */ bnel $a0,$at,.PB0f198f10 +/* f198eec: 24010014 */ li $at,0x14 +/* f198ef0: 8e4d004c */ lw $t5,0x4c($s2) +/* f198ef4: 000dc080 */ sll $t8,$t5,0x2 +/* f198ef8: 0018cfc2 */ srl $t9,$t8,0x1f +/* f198efc: 56f90004 */ bnel $s7,$t9,.PB0f198f10 +/* f198f00: 24010014 */ li $at,0x14 +/* f198f04: 1000000f */ b .PB0f198f44 +/* f198f08: ae3700c4 */ sw $s7,0xc4($s1) +/* f198f0c: 24010014 */ li $at,0x14 +.PB0f198f10: +/* f198f10: 1481000c */ bne $a0,$at,.PB0f198f44 +/* f198f14: 00137040 */ sll $t6,$s3,0x1 +/* f198f18: 024e1821 */ addu $v1,$s2,$t6 +/* f198f1c: 846c00e0 */ lh $t4,0xe0($v1) +/* f198f20: 8ecf0038 */ lw $t7,0x38($s6) +/* f198f24: 240a004b */ li $t2,0x4b +/* f198f28: 018f4821 */ addu $t1,$t4,$t7 +/* f198f2c: a46900e0 */ sh $t1,0xe0($v1) +/* f198f30: 846b00e0 */ lh $t3,0xe0($v1) +/* f198f34: 2961004c */ slti $at,$t3,0x4c +/* f198f38: 14200002 */ bnez $at,.PB0f198f44 +/* f198f3c: 00000000 */ nop +/* f198f40: a46a00e0 */ sh $t2,0xe0($v1) +.PB0f198f44: +/* f198f44: 16a0000d */ bnez $s5,.PB0f198f7c +/* f198f48: 00136840 */ sll $t5,$s3,0x1 +/* f198f4c: 024d1821 */ addu $v1,$s2,$t5 +/* f198f50: 846200e0 */ lh $v0,0xe0($v1) +/* f198f54: 5840000a */ blezl $v0,.PB0f198f80 +/* f198f58: 8e45004c */ lw $a1,0x4c($s2) +/* f198f5c: 8ed80038 */ lw $t8,0x38($s6) +/* f198f60: 02e0a825 */ move $s5,$s7 +/* f198f64: 0058c823 */ subu $t9,$v0,$t8 +/* f198f68: a47900e0 */ sh $t9,0xe0($v1) +/* f198f6c: 846e00e0 */ lh $t6,0xe0($v1) +/* f198f70: 05c30003 */ bgezl $t6,.PB0f198f80 +/* f198f74: 8e45004c */ lw $a1,0x4c($s2) +/* f198f78: a46000e0 */ sh $zero,0xe0($v1) +.PB0f198f7c: +/* f198f7c: 8e45004c */ lw $a1,0x4c($s2) +.PB0f198f80: +/* f198f80: 8e440020 */ lw $a0,0x20($s2) +/* f198f84: 00056080 */ sll $t4,$a1,0x2 +/* f198f88: 0fc2c8be */ jal 0xf0b22f8 +/* f198f8c: 000c2fc2 */ srl $a1,$t4,0x1f +/* f198f90: 1c400049 */ bgtz $v0,.PB0f1990b8 +/* f198f94: 00000000 */ nop +/* f198f98: 12a00047 */ beqz $s5,.PB0f1990b8 +/* f198f9c: 00000000 */ nop +/* f198fa0: 8e45004c */ lw $a1,0x4c($s2) +/* f198fa4: 8e440020 */ lw $a0,0x20($s2) +/* f198fa8: 00054880 */ sll $t1,$a1,0x2 +/* f198fac: 0fc6707b */ jal 0xf19c1ec +/* f198fb0: 00092fc2 */ srl $a1,$t1,0x1f +/* f198fb4: 28410006 */ slti $at,$v0,0x6 +/* f198fb8: 1420000b */ bnez $at,.PB0f198fe8 +/* f198fbc: ae22005c */ sw $v0,0x5c($s1) +/* f198fc0: 00026880 */ sll $t5,$v0,0x2 +/* f198fc4: 01a26823 */ subu $t5,$t5,$v0 +/* f198fc8: 000d68c0 */ sll $t5,$t5,0x3 +/* f198fcc: 01a26821 */ addu $t5,$t5,$v0 +/* f198fd0: 000d6840 */ sll $t5,$t5,0x1 +/* f198fd4: 2401003c */ li $at,0x3c +/* f198fd8: 01a1001a */ div $zero,$t5,$at +/* f198fdc: 0000c012 */ mflo $t8 +/* f198fe0: ae38005c */ sw $t8,0x5c($s1) +/* f198fe4: 00000000 */ nop +.PB0f198fe8: +/* f198fe8: 8e45004c */ lw $a1,0x4c($s2) +/* f198fec: 8e440020 */ lw $a0,0x20($s2) +/* f198ff0: 0005c880 */ sll $t9,$a1,0x2 +/* f198ff4: 0fc2c505 */ jal 0xf0b1414 +/* f198ff8: 00192fc2 */ srl $a1,$t9,0x1f +/* f198ffc: 1040002e */ beqz $v0,.PB0f1990b8 +/* f199000: 00000000 */ nop +/* f199004: 8c430010 */ lw $v1,0x10($v0) +/* f199008: 306c1002 */ andi $t4,$v1,0x1002 +/* f19900c: 1180002a */ beqz $t4,.PB0f1990b8 +/* f199010: 00000000 */ nop +/* f199014: 8e2f0024 */ lw $t7,0x24($s1) +/* f199018: 30691000 */ andi $t1,$v1,0x1000 +/* f19901c: 29e10002 */ slti $at,$t7,0x2 +/* f199020: 14200025 */ bnez $at,.PB0f1990b8 +/* f199024: 00000000 */ nop +/* f199028: 11200003 */ beqz $t1,.PB0f199038 +/* f19902c: 24040003 */ li $a0,0x3 +/* f199030: 10000001 */ b .PB0f199038 +/* f199034: 24040002 */ li $a0,0x2 +.PB0f199038: +/* f199038: 8e8b02d4 */ lw $t3,0x2d4($s4) +/* f19903c: 01731021 */ addu $v0,$t3,$s3 +/* f199040: 904a004d */ lbu $t2,0x4d($v0) +/* f199044: 254d0001 */ addiu $t5,$t2,0x1 +/* f199048: a04d004d */ sb $t5,0x4d($v0) +/* f19904c: 8e9802d4 */ lw $t8,0x2d4($s4) +/* f199050: 03131021 */ addu $v0,$t8,$s3 +/* f199054: 9059004d */ lbu $t9,0x4d($v0) +/* f199058: 0324001a */ div $zero,$t9,$a0 +/* f19905c: 00007010 */ mfhi $t6 +/* f199060: a04e004d */ sb $t6,0x4d($v0) +/* f199064: 8e8302d4 */ lw $v1,0x2d4($s4) +/* f199068: 14800002 */ bnez $a0,.PB0f199074 +/* f19906c: 00000000 */ nop +/* f199070: 0007000d */ break 0x7 +.PB0f199074: +/* f199074: 2401ffff */ li $at,-1 +/* f199078: 14810004 */ bne $a0,$at,.PB0f19908c +/* f19907c: 3c018000 */ lui $at,0x8000 +/* f199080: 17210002 */ bne $t9,$at,.PB0f19908c +/* f199084: 00000000 */ nop +/* f199088: 0006000d */ break 0x6 +.PB0f19908c: +/* f19908c: 00736021 */ addu $t4,$v1,$s3 +/* f199090: 918f004d */ lbu $t7,0x4d($t4) +/* f199094: 8fab004c */ lw $t3,0x4c($sp) +/* f199098: 11e00007 */ beqz $t7,.PB0f1990b8 +/* f19909c: 24090005 */ li $t1,0x5 +/* f1990a0: 006b5021 */ addu $t2,$v1,$t3 +/* f1990a4: 10000004 */ b .PB0f1990b8 +/* f1990a8: ad49005c */ sw $t1,0x5c($t2) +.PB0f1990ac: +/* f1990ac: ae2000c4 */ sw $zero,0xc4($s1) +.PB0f1990b0: +/* f1990b0: a1a0004d */ sb $zero,0x4d($t5) +/* f1990b4: a72000e0 */ sh $zero,0xe0($t9) +.PB0f1990b8: +/* f1990b8: 52a00007 */ beqzl $s5,.PB0f1990d8 +/* f1990bc: 02802025 */ move $a0,$s4 +/* f1990c0: 0fc089b4 */ jal 0xf0226d0 +/* f1990c4: 02802025 */ move $a0,$s4 +/* f1990c8: 56600003 */ bnezl $s3,.PB0f1990d8 +/* f1990cc: 02802025 */ move $a0,$s4 +/* f1990d0: afb70088 */ sw $s7,0x88($sp) +/* f1990d4: 02802025 */ move $a0,$s4 +.PB0f1990d8: +/* f1990d8: 02602825 */ move $a1,$s3 +/* f1990dc: 0fc0fea6 */ jal 0xf03fa98 +/* f1990e0: 02a03025 */ move $a2,$s5 +/* f1990e4: 8fae004c */ lw $t6,0x4c($sp) +/* f1990e8: 26730001 */ addiu $s3,$s3,0x1 +/* f1990ec: 24010002 */ li $at,0x2 +/* f1990f0: 25cc0004 */ addiu $t4,$t6,0x4 +/* f1990f4: afac004c */ sw $t4,0x4c($sp) +/* f1990f8: 1661fdcf */ bne $s3,$at,.PB0f198838 +/* f1990fc: 26310004 */ addiu $s1,$s1,0x4 +.PB0f199100: +/* f199100: 8fbf0044 */ lw $ra,0x44($sp) +/* f199104: 8fb00020 */ lw $s0,0x20($sp) +/* f199108: 8fb10024 */ lw $s1,0x24($sp) +/* f19910c: 8fb20028 */ lw $s2,0x28($sp) +/* f199110: 8fb3002c */ lw $s3,0x2c($sp) +/* f199114: 8fb40030 */ lw $s4,0x30($sp) +/* f199118: 8fb50034 */ lw $s5,0x34($sp) +/* f19911c: 8fb60038 */ lw $s6,0x38($sp) +/* f199120: 8fb7003c */ lw $s7,0x3c($sp) +/* f199124: 8fbe0040 */ lw $s8,0x40($sp) +/* f199128: 03e00008 */ jr $ra +/* f19912c: 27bd02f8 */ addiu $sp,$sp,0x2f8 +); #else /** * The tick function for a multiplayer simulant while the game is running. diff --git a/src/game/chr/chr.c b/src/game/chr/chr.c index e7a9671bb..61768b2f5 100644 --- a/src/game/chr/chr.c +++ b/src/game/chr/chr.c @@ -358,7 +358,11 @@ void chrCalculatePushPos(struct chrdata *chr, struct coord *dstpos, s16 *dstroom moveok = true; } else { -#if VERSION >= VERSION_NTSC_1_0 +#if VERSION >= VERSION_PAL_FINAL + cd00024e4c(&sp78, &sp6c, 453, "chr/chr.c"); +#elif VERSION >= VERSION_PAL_BETA + cd00024e4c(&sp78, &sp6c, 453, "chr.c"); +#elif VERSION >= VERSION_NTSC_1_0 cd00024e4c(&sp78, &sp6c, 453, "chr/chr.c"); #else cd00024e4c(&sp78, &sp6c, 451, "chr.c"); @@ -2656,7 +2660,7 @@ s32 chrTick(struct prop *prop) chr->drugheadcount = 0; if (chr->drugheadsway > 0.0f) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA chr->drugheadsway -= 0.175f * g_Vars.lvupdate240freal; #else chr->drugheadsway -= 0.04375f * g_Vars.lvupdate240; @@ -2666,7 +2670,7 @@ s32 chrTick(struct prop *prop) chr->drugheadsway = 0.0f; } } else if (chr->drugheadsway < 0.0f) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA chr->drugheadsway += 0.175f * g_Vars.lvupdate240freal; #else chr->drugheadsway += 0.04375f * g_Vars.lvupdate240; @@ -2904,7 +2908,7 @@ s32 chrTick(struct prop *prop) #endif if (onscreen) { -#if VERSION < VERSION_NTSC_1_0 +#if VERSION == VERSION_NTSC_BETA || VERSION == VERSION_PAL_BETA debug0f1199f0nb(); #endif @@ -8614,6 +8618,2168 @@ glabel var7f1a9ba0pf /* f02b8f0: 03e00008 */ jr $ra /* f02b8f4: 27bd01f0 */ addiu $sp,$sp,0x1f0 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel chr0f02983c +.late_rodata +glabel var7f1a9b60pf +.word 0x3c40c0c1 +glabel var7f1a9b64pf +.word 0x3c40c0c1 +glabel var7f1a9b68pf +.word 0x3bcddaca +glabel var7f1a9b6cpf +.word 0x3bcddaca +glabel var7f1a9b70pf +.word 0x3f169697 +glabel var7f1a9b74pf +.word 0x3ea0a0a1 +glabel var7f1a9b78pf +.word 0x3e70f0f1 +glabel var7f1a9b7cpf +.word 0x3e20a0a1 +glabel var7f1a9b80pf +.word 0x3cb0d9df +glabel var7f1a9b84pf +.word 0x40cccccd +glabel var7f1a9b88pf +.word 0x3b808081 +glabel var7f1a9b8cpf +.word 0x407745d1 +glabel var7f1a9b90pf +.word 0x3b808081 +glabel var7f1a9b94pf +.word 0x4099999a +glabel var7f1a9b98pf +.word 0x3b808081 +glabel var7f1a9b9cpf +.word 0x407745d1 +glabel var7f1a9ba0pf +.word 0x3b808081 +.text +/* f02990c: 27bdfe10 */ addiu $sp,$sp,-496 +/* f029910: afb50038 */ sw $s5,0x38($sp) +/* f029914: 3c0e8006 */ lui $t6,0x8006 +/* f029918: 8fb50200 */ lw $s5,0x200($sp) +/* f02991c: afbf003c */ sw $ra,0x3c($sp) +/* f029920: afb40034 */ sw $s4,0x34($sp) +/* f029924: afb30030 */ sw $s3,0x30($sp) +/* f029928: afb2002c */ sw $s2,0x2c($sp) +/* f02992c: afb10028 */ sw $s1,0x28($sp) +/* f029930: afb00024 */ sw $s0,0x24($sp) +/* f029934: afa401f0 */ sw $a0,0x1f0($sp) +/* f029938: afa501f4 */ sw $a1,0x1f4($sp) +/* f02993c: afa601f8 */ sw $a2,0x1f8($sp) +/* f029940: afa701fc */ sw $a3,0x1fc($sp) +/* f029944: 25ce4164 */ addiu $t6,$t6,0x4164 +/* f029948: 8dc10000 */ lw $at,0x0($t6) +/* f02994c: 27b201e0 */ addiu $s2,$sp,0x1e0 +/* f029950: 8eb30004 */ lw $s3,0x4($s5) +/* f029954: ae410000 */ sw $at,0x0($s2) +/* f029958: 8dd90004 */ lw $t9,0x4($t6) +/* f02995c: 3c0f8006 */ lui $t7,0x8006 +/* f029960: 25ef4170 */ addiu $t7,$t7,0x4170 +/* f029964: ae590004 */ sw $t9,0x4($s2) +/* f029968: 8dc10008 */ lw $at,0x8($t6) +/* f02996c: 25f90060 */ addiu $t9,$t7,0x60 +/* f029970: 27b80104 */ addiu $t8,$sp,0x104 +/* f029974: ae410008 */ sw $at,0x8($s2) +.PB0f029978: +/* f029978: 8de10000 */ lw $at,0x0($t7) +/* f02997c: 25ef000c */ addiu $t7,$t7,0xc +/* f029980: 2718000c */ addiu $t8,$t8,0xc +/* f029984: af01fff4 */ sw $at,-0xc($t8) +/* f029988: 8de1fff8 */ lw $at,-0x8($t7) +/* f02998c: af01fff8 */ sw $at,-0x8($t8) +/* f029990: 8de1fffc */ lw $at,-0x4($t7) +/* f029994: 15f9fff8 */ bne $t7,$t9,.PB0f029978 +/* f029998: af01fffc */ sw $at,-0x4($t8) +/* f02999c: 8fae01f8 */ lw $t6,0x1f8($sp) +/* f0299a0: 24010003 */ li $at,0x3 +/* f0299a4: 24110006 */ li $s1,0x6 +/* f0299a8: 91c40000 */ lbu $a0,0x0($t6) +/* f0299ac: 8fb901f8 */ lw $t9,0x1f8($sp) +/* f0299b0: 50810004 */ beql $a0,$at,.PB0f0299c4 +/* f0299b4: 8f300004 */ lw $s0,0x4($t9) +/* f0299b8: 56240014 */ bnel $s1,$a0,.PB0f029a0c +/* f0299bc: 8fb901f8 */ lw $t9,0x1f8($sp) +/* f0299c0: 8f300004 */ lw $s0,0x4($t9) +.PB0f0299c4: +/* f0299c4: 3c014120 */ lui $at,0x4120 +/* f0299c8: 44812000 */ mtc1 $at,$f4 +/* f0299cc: 8e0f0020 */ lw $t7,0x20($s0) +/* f0299d0: 24110006 */ li $s1,0x6 +/* f0299d4: 02002025 */ move $a0,$s0 +/* f0299d8: c5e60014 */ lwc1 $f6,0x14($t7) +/* f0299dc: 46062083 */ div.s $f2,$f4,$f6 +/* f0299e0: 0fc0d025 */ jal 0xf034094 +/* f0299e4: e7a20170 */ swc1 $f2,0x170($sp) +/* f0299e8: 921402e1 */ lbu $s4,0x2e1($s0) +/* f0299ec: 960e0188 */ lhu $t6,0x188($s0) +/* f0299f0: c7a20170 */ lwc1 $f2,0x170($sp) +/* f0299f4: 0014c042 */ srl $t8,$s4,0x1 +/* f0299f8: 46000386 */ mov.s $f14,$f0 +/* f0299fc: 0300a025 */ move $s4,$t8 +/* f029a00: 10000011 */ b .PB0f029a48 +/* f029a04: afae0164 */ sw $t6,0x164($sp) +/* f029a08: 8fb901f8 */ lw $t9,0x1f8($sp) +.PB0f029a0c: +/* f029a0c: 44801000 */ mtc1 $zero,$f2 +/* f029a10: 24140040 */ li $s4,0x40 +/* f029a14: 8f220004 */ lw $v0,0x4($t9) +/* f029a18: afa00164 */ sw $zero,0x164($sp) +/* f029a1c: 3c014100 */ lui $at,0x4100 +/* f029a20: 8c4f0010 */ lw $t7,0x10($v0) +/* f029a24: 31f81000 */ andi $t8,$t7,0x1000 +/* f029a28: 53000006 */ beqzl $t8,.PB0f029a44 +/* f029a2c: 44817000 */ mtc1 $at,$f14 +/* f029a30: 3c014080 */ lui $at,0x4080 +/* f029a34: 44817000 */ mtc1 $at,$f14 +/* f029a38: 10000004 */ b .PB0f029a4c +/* f029a3c: 02a02025 */ move $a0,$s5 +/* f029a40: 44817000 */ mtc1 $at,$f14 +.PB0f029a44: +/* f029a44: 00000000 */ nop +.PB0f029a48: +/* f029a48: 02a02025 */ move $a0,$s5 +.PB0f029a4c: +/* f029a4c: 00002825 */ move $a1,$zero +/* f029a50: e7a20170 */ swc1 $f2,0x170($sp) +/* f029a54: 0c006bdd */ jal 0x1af74 +/* f029a58: e7ae016c */ swc1 $f14,0x16c($sp) +/* f029a5c: c7a20170 */ lwc1 $f2,0x170($sp) +/* f029a60: c6680004 */ lwc1 $f8,0x4($s3) +/* f029a64: c6720008 */ lwc1 $f18,0x8($s3) +/* f029a68: 8fae01fc */ lw $t6,0x1fc($sp) +/* f029a6c: 46024281 */ sub.s $f10,$f8,$f2 +/* f029a70: c668000c */ lwc1 $f8,0xc($s3) +/* f029a74: 8dd9000c */ lw $t9,0xc($t6) +/* f029a78: 46029100 */ add.s $f4,$f18,$f2 +/* f029a7c: c6720010 */ lwc1 $f18,0x10($s3) +/* f029a80: 8fb001f0 */ lw $s0,0x1f0($sp) +/* f029a84: 4600540d */ trunc.w.s $f16,$f10 +/* f029a88: 00027980 */ sll $t7,$v0,0x6 +/* f029a8c: 032f2021 */ addu $a0,$t9,$t7 +/* f029a90: 4600218d */ trunc.w.s $f6,$f4 +/* f029a94: 44038000 */ mfc1 $v1,$f16 +/* f029a98: 3c190102 */ lui $t9,0x102 +/* f029a9c: 46024281 */ sub.s $f10,$f8,$f2 +/* f029aa0: c6680014 */ lwc1 $f8,0x14($s3) +/* f029aa4: 44053000 */ mfc1 $a1,$f6 +/* f029aa8: 46029100 */ add.s $f4,$f18,$f2 +/* f029aac: c6720018 */ lwc1 $f18,0x18($s3) +/* f029ab0: 260a0008 */ addiu $t2,$s0,0x8 +/* f029ab4: 4600540d */ trunc.w.s $f16,$f10 +/* f029ab8: c7ae016c */ lwc1 $f14,0x16c($sp) +/* f029abc: afaa01f0 */ sw $t2,0x1f0($sp) +/* f029ac0: 4600218d */ trunc.w.s $f6,$f4 +/* f029ac4: 44068000 */ mfc1 $a2,$f16 +/* f029ac8: 37390040 */ ori $t9,$t9,0x40 +/* f029acc: 46024281 */ sub.s $f10,$f8,$f2 +/* f029ad0: 44073000 */ mfc1 $a3,$f6 +/* f029ad4: a7a30180 */ sh $v1,0x180($sp) +/* f029ad8: 46029100 */ add.s $f4,$f18,$f2 +/* f029adc: a7a30186 */ sh $v1,0x186($sp) +/* f029ae0: a7a3018c */ sh $v1,0x18c($sp) +/* f029ae4: 4600540d */ trunc.w.s $f16,$f10 +/* f029ae8: a7a30192 */ sh $v1,0x192($sp) +/* f029aec: a7a50198 */ sh $a1,0x198($sp) +/* f029af0: 4600218d */ trunc.w.s $f6,$f4 +/* f029af4: 44088000 */ mfc1 $t0,$f16 +/* f029af8: a7a5019e */ sh $a1,0x19e($sp) +/* f029afc: a7a501a4 */ sh $a1,0x1a4($sp) +/* f029b00: 44093000 */ mfc1 $t1,$f6 +/* f029b04: a7a501aa */ sh $a1,0x1aa($sp) +/* f029b08: a7a60182 */ sh $a2,0x182($sp) +/* f029b0c: a7a60188 */ sh $a2,0x188($sp) +/* f029b10: a7a6019a */ sh $a2,0x19a($sp) +/* f029b14: a7a601a0 */ sh $a2,0x1a0($sp) +/* f029b18: a7a7018e */ sh $a3,0x18e($sp) +/* f029b1c: a7a70194 */ sh $a3,0x194($sp) +/* f029b20: a7a701a6 */ sh $a3,0x1a6($sp) +/* f029b24: a7a701ac */ sh $a3,0x1ac($sp) +/* f029b28: a7a80184 */ sh $t0,0x184($sp) +/* f029b2c: a7a80190 */ sh $t0,0x190($sp) +/* f029b30: a7a8019c */ sh $t0,0x19c($sp) +/* f029b34: a7a801a8 */ sh $t0,0x1a8($sp) +/* f029b38: a7a9018a */ sh $t1,0x18a($sp) +/* f029b3c: a7a90196 */ sh $t1,0x196($sp) +/* f029b40: a7a901a2 */ sh $t1,0x1a2($sp) +/* f029b44: a7a901ae */ sh $t1,0x1ae($sp) +/* f029b48: ae190000 */ sw $t9,0x0($s0) +/* f029b4c: afa301cc */ sw $v1,0x1cc($sp) +/* f029b50: afa501c8 */ sw $a1,0x1c8($sp) +/* f029b54: e7ae016c */ swc1 $f14,0x16c($sp) +/* f029b58: afa601c4 */ sw $a2,0x1c4($sp) +/* f029b5c: afa701c0 */ sw $a3,0x1c0($sp) +/* f029b60: afa801bc */ sw $t0,0x1bc($sp) +/* f029b64: 0c012de0 */ jal 0x4b780 +/* f029b68: afa901b8 */ sw $t1,0x1b8($sp) +/* f029b6c: 8fa80204 */ lw $t0,0x204($sp) +/* f029b70: c7ae016c */ lwc1 $f14,0x16c($sp) +/* f029b74: 2401fff9 */ li $at,-7 +/* f029b78: 15010082 */ bne $t0,$at,.PB0f029d84 +/* f029b7c: ae020004 */ sw $v0,0x4($s0) +/* f029b80: 0fc5a40f */ jal 0xf16903c +/* f029b84: 24040001 */ li $a0,0x1 +/* f029b88: 8fb001f0 */ lw $s0,0x1f0($sp) +/* f029b8c: 3c0e0700 */ lui $t6,0x700 +/* f029b90: 35ce0004 */ ori $t6,$t6,0x4 +/* f029b94: 26180008 */ addiu $t8,$s0,0x8 +/* f029b98: afb801f0 */ sw $t8,0x1f0($sp) +/* f029b9c: ae0e0000 */ sw $t6,0x0($s0) +/* f029ba0: afa201d8 */ sw $v0,0x1d8($sp) +/* f029ba4: 0c012de0 */ jal 0x4b780 +/* f029ba8: 00402025 */ move $a0,$v0 +/* f029bac: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f029bb0: ae020004 */ sw $v0,0x4($s0) +/* f029bb4: 240400ff */ li $a0,0xff +/* f029bb8: 2a810040 */ slti $at,$s4,0x40 +/* f029bbc: a0640000 */ sb $a0,0x0($v1) +/* f029bc0: a0640001 */ sb $a0,0x1($v1) +/* f029bc4: 1020000f */ beqz $at,.PB0f029c04 +/* f029bc8: a0640002 */ sb $a0,0x2($v1) +/* f029bcc: 8fb90210 */ lw $t9,0x210($sp) +/* f029bd0: 44944000 */ mtc1 $s4,$f8 +/* f029bd4: 3c017f1b */ lui $at,0x7f1b +/* f029bd8: 44998000 */ mtc1 $t9,$f16 +/* f029bdc: 468042a0 */ cvt.s.w $f10,$f8 +/* f029be0: c426a60c */ lwc1 $f6,-0x59f4($at) +/* f029be4: 468084a0 */ cvt.s.w $f18,$f16 +/* f029be8: 46125102 */ mul.s $f4,$f10,$f18 +/* f029bec: 00000000 */ nop +/* f029bf0: 46062202 */ mul.s $f8,$f4,$f6 +/* f029bf4: 4600440d */ trunc.w.s $f16,$f8 +/* f029bf8: 44188000 */ mfc1 $t8,$f16 +/* f029bfc: 10000011 */ b .PB0f029c44 +/* f029c00: a0780003 */ sb $t8,0x3($v1) +.PB0f029c04: +/* f029c04: 8faf0210 */ lw $t7,0x210($sp) +/* f029c08: 240e007f */ li $t6,0x7f +/* f029c0c: 01d4c823 */ subu $t9,$t6,$s4 +/* f029c10: 44995000 */ mtc1 $t9,$f10 +/* f029c14: 448f2000 */ mtc1 $t7,$f4 +/* f029c18: 3c017f1b */ lui $at,0x7f1b +/* f029c1c: 468054a0 */ cvt.s.w $f18,$f10 +/* f029c20: c430a610 */ lwc1 $f16,-0x59f0($at) +/* f029c24: 468021a0 */ cvt.s.w $f6,$f4 +/* f029c28: 46069202 */ mul.s $f8,$f18,$f6 +/* f029c2c: 00000000 */ nop +/* f029c30: 46104282 */ mul.s $f10,$f8,$f16 +/* f029c34: 4600510d */ trunc.w.s $f4,$f10 +/* f029c38: 440e2000 */ mfc1 $t6,$f4 +/* f029c3c: 00000000 */ nop +/* f029c40: a06e0003 */ sb $t6,0x3($v1) +.PB0f029c44: +/* f029c44: 0fc5a3f5 */ jal 0xf168fd4 +/* f029c48: 24040018 */ li $a0,0x18 +/* f029c4c: 00408025 */ move $s0,$v0 +/* f029c50: 27a60104 */ addiu $a2,$sp,0x104 +/* f029c54: 24090004 */ li $t1,0x4 +/* f029c58: 24070200 */ li $a3,0x200 +/* f029c5c: 27a50180 */ addiu $a1,$sp,0x180 +.PB0f029c60: +/* f029c60: 00002025 */ move $a0,$zero +/* f029c64: 02001825 */ move $v1,$s0 +/* f029c68: 00c01025 */ move $v0,$a2 +.PB0f029c6c: +/* f029c6c: 8e410000 */ lw $at,0x0($s2) +/* f029c70: 24840001 */ addiu $a0,$a0,0x1 +/* f029c74: 2463000c */ addiu $v1,$v1,0xc +/* f029c78: a861fff4 */ swl $at,-0xc($v1) +/* f029c7c: b861fff7 */ swr $at,-0x9($v1) +/* f029c80: 8e4f0004 */ lw $t7,0x4($s2) +/* f029c84: 24420004 */ addiu $v0,$v0,0x4 +/* f029c88: a86ffff8 */ swl $t7,-0x8($v1) +/* f029c8c: b86ffffb */ swr $t7,-0x5($v1) +/* f029c90: 8e410008 */ lw $at,0x8($s2) +/* f029c94: a861fffc */ swl $at,-0x4($v1) +/* f029c98: b861ffff */ swr $at,-0x1($v1) +/* f029c9c: 8c58fffc */ lw $t8,-0x4($v0) +/* f029ca0: 03110019 */ multu $t8,$s1 +/* f029ca4: 00007012 */ mflo $t6 +/* f029ca8: 00aec821 */ addu $t9,$a1,$t6 +/* f029cac: 872f0000 */ lh $t7,0x0($t9) +/* f029cb0: a46ffff4 */ sh $t7,-0xc($v1) +/* f029cb4: 8c58fffc */ lw $t8,-0x4($v0) +/* f029cb8: 03110019 */ multu $t8,$s1 +/* f029cbc: 00007012 */ mflo $t6 +/* f029cc0: 00aec821 */ addu $t9,$a1,$t6 +/* f029cc4: 872f0002 */ lh $t7,0x2($t9) +/* f029cc8: a46ffff6 */ sh $t7,-0xa($v1) +/* f029ccc: 8c58fffc */ lw $t8,-0x4($v0) +/* f029cd0: 03110019 */ multu $t8,$s1 +/* f029cd4: 00007012 */ mflo $t6 +/* f029cd8: 00aec821 */ addu $t9,$a1,$t6 +/* f029cdc: 872f0004 */ lh $t7,0x4($t9) +/* f029ce0: a060fffb */ sb $zero,-0x5($v1) +/* f029ce4: 1489ffe1 */ bne $a0,$t1,.PB0f029c6c +/* f029ce8: a46ffff8 */ sh $t7,-0x8($v1) +/* f029cec: a6000008 */ sh $zero,0x8($s0) +/* f029cf0: a600000a */ sh $zero,0xa($s0) +/* f029cf4: a6070014 */ sh $a3,0x14($s0) +/* f029cf8: a6000016 */ sh $zero,0x16($s0) +/* f029cfc: a6070020 */ sh $a3,0x20($s0) +/* f029d00: a6070022 */ sh $a3,0x22($s0) +/* f029d04: a600002c */ sh $zero,0x2c($s0) +/* f029d08: a607002e */ sh $a3,0x2e($s0) +/* f029d0c: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f029d10: 3c190430 */ lui $t9,0x430 +/* f029d14: 37390030 */ ori $t9,$t9,0x30 +/* f029d18: 270e0008 */ addiu $t6,$t8,0x8 +/* f029d1c: afae01f0 */ sw $t6,0x1f0($sp) +/* f029d20: af190000 */ sw $t9,0x0($t8) +/* f029d24: afa60054 */ sw $a2,0x54($sp) +/* f029d28: 02002025 */ move $a0,$s0 +/* f029d2c: 0c012de0 */ jal 0x4b780 +/* f029d30: afb800c8 */ sw $t8,0xc8($sp) +/* f029d34: 8fa800c8 */ lw $t0,0xc8($sp) +/* f029d38: 8fa60054 */ lw $a2,0x54($sp) +/* f029d3c: 3c0eb100 */ lui $t6,0xb100 +/* f029d40: ad020004 */ sw $v0,0x4($t0) +/* f029d44: 8faf01f0 */ lw $t7,0x1f0($sp) +/* f029d48: 35ce0032 */ ori $t6,$t6,0x32 +/* f029d4c: 24192010 */ li $t9,0x2010 +/* f029d50: 25f80008 */ addiu $t8,$t7,0x8 +/* f029d54: afb801f0 */ sw $t8,0x1f0($sp) +/* f029d58: adf90004 */ sw $t9,0x4($t7) +/* f029d5c: adee0000 */ sw $t6,0x0($t7) +/* f029d60: 27af0164 */ addiu $t7,$sp,0x164 +/* f029d64: 24c60010 */ addiu $a2,$a2,0x10 +/* f029d68: 27a50180 */ addiu $a1,$sp,0x180 +/* f029d6c: 24070200 */ li $a3,0x200 +/* f029d70: 24090004 */ li $t1,0x4 +/* f029d74: 14cfffba */ bne $a2,$t7,.PB0f029c60 +/* f029d78: 26100030 */ addiu $s0,$s0,0x30 +/* f029d7c: 100006c0 */ b .PB0f02b880 +/* f029d80: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f029d84: +/* f029d84: 3c05800b */ lui $a1,0x800b +/* f029d88: 24180002 */ li $t8,0x2 +/* f029d8c: 240e0001 */ li $t6,0x1 +/* f029d90: afae0014 */ sw $t6,0x14($sp) +/* f029d94: afb80010 */ sw $t8,0x10($sp) +/* f029d98: 8ca5fbac */ lw $a1,-0x454($a1) +/* f029d9c: 27a401f0 */ addiu $a0,$sp,0x1f0 +/* f029da0: 24060004 */ li $a2,0x4 +/* f029da4: 24070001 */ li $a3,0x1 +/* f029da8: afa00018 */ sw $zero,0x18($sp) +/* f029dac: 0fc2cf74 */ jal 0xf0b3dd0 +/* f029db0: e7ae016c */ swc1 $f14,0x16c($sp) +/* f029db4: 8fa80204 */ lw $t0,0x204($sp) +/* f029db8: c7ae016c */ lwc1 $f14,0x16c($sp) +/* f029dbc: 27a50100 */ addiu $a1,$sp,0x100 +/* f029dc0: 05000004 */ bltz $t0,.PB0f029dd4 +/* f029dc4: 27a600fc */ addiu $a2,$sp,0xfc +/* f029dc8: 8fb901f4 */ lw $t9,0x1f4($sp) +/* f029dcc: 1000001c */ b .PB0f029e40 +/* f029dd0: c72c0058 */ lwc1 $f12,0x58($t9) +.PB0f029dd4: +/* f029dd4: 2401fffe */ li $at,-2 +/* f029dd8: 15010019 */ bne $t0,$at,.PB0f029e40 +/* f029ddc: 46007306 */ mov.s $f12,$f14 +/* f029de0: 8faf01f4 */ lw $t7,0x1f4($sp) +/* f029de4: 8fb8020c */ lw $t8,0x20c($sp) +/* f029de8: 81e20011 */ lb $v0,0x11($t7) +/* f029dec: 0058082a */ slt $at,$v0,$t8 +/* f029df0: 50200005 */ beqzl $at,.PB0f029e08 +/* f029df4: 44823000 */ mtc1 $v0,$f6 +/* f029df8: 44806000 */ mtc1 $zero,$f12 +/* f029dfc: 10000010 */ b .PB0f029e40 +/* f029e00: 00000000 */ nop +/* f029e04: 44823000 */ mtc1 $v0,$f6 +.PB0f029e08: +/* f029e08: 8fae020c */ lw $t6,0x20c($sp) +/* f029e0c: 3c014080 */ lui $at,0x4080 +/* f029e10: 46803220 */ cvt.s.w $f8,$f6 +/* f029e14: 44819000 */ mtc1 $at,$f18 +/* f029e18: 448e8000 */ mtc1 $t6,$f16 +/* f029e1c: 3c013f80 */ lui $at,0x3f80 +/* f029e20: 44813000 */ mtc1 $at,$f6 +/* f029e24: 468082a0 */ cvt.s.w $f10,$f16 +/* f029e28: 46089002 */ mul.s $f0,$f18,$f8 +/* f029e2c: 460a0101 */ sub.s $f4,$f0,$f10 +/* f029e30: 46062480 */ add.s $f18,$f4,$f6 +/* f029e34: 46009203 */ div.s $f8,$f18,$f0 +/* f029e38: 46087302 */ mul.s $f12,$f14,$f8 +/* f029e3c: 00000000 */ nop +.PB0f029e40: +/* f029e40: 0fc0a5b2 */ jal 0xf0296c8 +/* f029e44: 27a700f8 */ addiu $a3,$sp,0xf8 +/* f029e48: 8fac0100 */ lw $t4,0x100($sp) +/* f029e4c: 8fad00fc */ lw $t5,0xfc($sp) +/* f029e50: 8fbf00f8 */ lw $ra,0xf8($sp) +/* f029e54: 2587ffec */ addiu $a3,$t4,-20 +/* f029e58: 25a3ffec */ addiu $v1,$t5,-20 +/* f029e5c: 27e4ffec */ addiu $a0,$ra,-20 +/* f029e60: 8fa80204 */ lw $t0,0x204($sp) +/* f029e64: 00605025 */ move $t2,$v1 +/* f029e68: 04e10002 */ bgez $a3,.PB0f029e74 +/* f029e6c: 00805825 */ move $t3,$a0 +/* f029e70: 00003825 */ move $a3,$zero +.PB0f029e74: +/* f029e74: 04610002 */ bgez $v1,.PB0f029e80 +/* f029e78: 2582ffc4 */ addiu $v0,$t4,-60 +/* f029e7c: 00005025 */ move $t2,$zero +.PB0f029e80: +/* f029e80: 04810002 */ bgez $a0,.PB0f029e8c +/* f029e84: 25a3ffc4 */ addiu $v1,$t5,-60 +/* f029e88: 00005825 */ move $t3,$zero +.PB0f029e8c: +/* f029e8c: 27e4ffc4 */ addiu $a0,$ra,-60 +/* f029e90: afa200e8 */ sw $v0,0xe8($sp) +/* f029e94: afa300e4 */ sw $v1,0xe4($sp) +/* f029e98: 04410002 */ bgez $v0,.PB0f029ea4 +/* f029e9c: afa400e0 */ sw $a0,0xe0($sp) +/* f029ea0: afa000e8 */ sw $zero,0xe8($sp) +.PB0f029ea4: +/* f029ea4: 04610002 */ bgez $v1,.PB0f029eb0 +/* f029ea8: 3c19800a */ lui $t9,0x800a +/* f029eac: afa000e4 */ sw $zero,0xe4($sp) +.PB0f029eb0: +/* f029eb0: 04810002 */ bgez $a0,.PB0f029ebc +/* f029eb4: 00000000 */ nop +/* f029eb8: afa000e0 */ sw $zero,0xe0($sp) +.PB0f029ebc: +/* f029ebc: 8f39e528 */ lw $t9,-0x1ad8($t9) +/* f029ec0: 241003e8 */ li $s0,0x3e8 +/* f029ec4: afa700f4 */ sw $a3,0xf4($sp) +/* f029ec8: 0330001a */ div $zero,$t9,$s0 +/* f029ecc: 00007810 */ mfhi $t7 +/* f029ed0: 448f8000 */ mtc1 $t7,$f16 +/* f029ed4: 16000002 */ bnez $s0,.PB0f029ee0 +/* f029ed8: 00000000 */ nop +/* f029edc: 0007000d */ break 0x7 +.PB0f029ee0: +/* f029ee0: 2401ffff */ li $at,-1 +/* f029ee4: 16010004 */ bne $s0,$at,.PB0f029ef8 +/* f029ee8: 3c018000 */ lui $at,0x8000 +/* f029eec: 17210002 */ bne $t9,$at,.PB0f029ef8 +/* f029ef0: 00000000 */ nop +/* f029ef4: 0006000d */ break 0x6 +.PB0f029ef8: +/* f029ef8: 468082a0 */ cvt.s.w $f10,$f16 +/* f029efc: 3c017f1b */ lui $at,0x7f1b +/* f029f00: c424a614 */ lwc1 $f4,-0x59ec($at) +/* f029f04: afaa00f0 */ sw $t2,0xf0($sp) +/* f029f08: afab00ec */ sw $t3,0xec($sp) +/* f029f0c: 46045302 */ mul.s $f12,$f10,$f4 +/* f029f10: 0c006b8b */ jal 0x1ae2c +/* f029f14: 00000000 */ nop +/* f029f18: 3c0f800a */ lui $t7,0x800a +/* f029f1c: 8defe528 */ lw $t7,-0x1ad8($t7) +/* f029f20: 3c014200 */ lui $at,0x4200 +/* f029f24: 44811000 */ mtc1 $at,$f2 +/* f029f28: 01f0001a */ div $zero,$t7,$s0 +/* f029f2c: 3c013f80 */ lui $at,0x3f80 +/* f029f30: 44813000 */ mtc1 $at,$f6 +/* f029f34: 3c013f00 */ lui $at,0x3f00 +/* f029f38: 44814000 */ mtc1 $at,$f8 +/* f029f3c: 46060480 */ add.s $f18,$f0,$f6 +/* f029f40: 0000c010 */ mfhi $t8 +/* f029f44: 8fa700f4 */ lw $a3,0xf4($sp) +/* f029f48: 8fa80204 */ lw $t0,0x204($sp) +/* f029f4c: 46089402 */ mul.s $f16,$f18,$f8 +/* f029f50: 44989000 */ mtc1 $t8,$f18 +/* f029f54: 8faa00f0 */ lw $t2,0xf0($sp) +/* f029f58: 8fab00ec */ lw $t3,0xec($sp) +/* f029f5c: 46809220 */ cvt.s.w $f8,$f18 +/* f029f60: 46028282 */ mul.s $f10,$f16,$f2 +/* f029f64: 00000000 */ nop +/* f029f68: 46025102 */ mul.s $f4,$f10,$f2 +/* f029f6c: 4600218d */ trunc.w.s $f6,$f4 +/* f029f70: 44153000 */ mfc1 $s5,$f6 +/* f029f74: 00000000 */ nop +/* f029f78: 00157400 */ sll $t6,$s5,0x10 +/* f029f7c: 000ecc03 */ sra $t9,$t6,0x10 +/* f029f80: 0320a825 */ move $s5,$t9 +/* f029f84: 16000002 */ bnez $s0,.PB0f029f90 +/* f029f88: 00000000 */ nop +/* f029f8c: 0007000d */ break 0x7 +.PB0f029f90: +/* f029f90: 2401ffff */ li $at,-1 +/* f029f94: 16010004 */ bne $s0,$at,.PB0f029fa8 +/* f029f98: 3c018000 */ lui $at,0x8000 +/* f029f9c: 15e10002 */ bne $t7,$at,.PB0f029fa8 +/* f029fa0: 00000000 */ nop +/* f029fa4: 0006000d */ break 0x6 +.PB0f029fa8: +/* f029fa8: 3c017f1b */ lui $at,0x7f1b +/* f029fac: c430a618 */ lwc1 $f16,-0x59e8($at) +/* f029fb0: 46104302 */ mul.s $f12,$f8,$f16 +/* f029fb4: 0c006b88 */ jal 0x1ae20 +/* f029fb8: 00000000 */ nop +/* f029fbc: 3c014200 */ lui $at,0x4200 +/* f029fc0: 44811000 */ mtc1 $at,$f2 +/* f029fc4: 3c013f80 */ lui $at,0x3f80 +/* f029fc8: 44816000 */ mtc1 $at,$f12 +/* f029fcc: 3c013f00 */ lui $at,0x3f00 +/* f029fd0: 44812000 */ mtc1 $at,$f4 +/* f029fd4: 460c0280 */ add.s $f10,$f0,$f12 +/* f029fd8: 8fa80204 */ lw $t0,0x204($sp) +/* f029fdc: 26af0200 */ addiu $t7,$s5,0x200 +/* f029fe0: 2401fffd */ li $at,-3 +/* f029fe4: 46045182 */ mul.s $f6,$f10,$f4 +/* f029fe8: 8fa700f4 */ lw $a3,0xf4($sp) +/* f029fec: 8faa00f0 */ lw $t2,0xf0($sp) +/* f029ff0: 8fab00ec */ lw $t3,0xec($sp) +/* f029ff4: afaf0050 */ sw $t7,0x50($sp) +/* f029ff8: a7af0176 */ sh $t7,0x176($sp) +/* f029ffc: 24040001 */ li $a0,0x1 +/* f02a000: 46023482 */ mul.s $f18,$f6,$f2 +/* f02a004: 00000000 */ nop +/* f02a008: 46029202 */ mul.s $f8,$f18,$f2 +/* f02a00c: 4600440d */ trunc.w.s $f16,$f8 +/* f02a010: 440e8000 */ mfc1 $t6,$f16 +/* f02a014: 00000000 */ nop +/* f02a018: 000e9c00 */ sll $s3,$t6,0x10 +/* f02a01c: 0013cc03 */ sra $t9,$s3,0x10 +/* f02a020: 03209825 */ move $s3,$t9 +/* f02a024: 25d40200 */ addiu $s4,$t6,0x200 +/* f02a028: 0014cc00 */ sll $t9,$s4,0x10 +/* f02a02c: 11010008 */ beq $t0,$at,.PB0f02a050 +/* f02a030: 0019a403 */ sra $s4,$t9,0x10 +/* f02a034: 2401fffc */ li $at,-4 +/* f02a038: 11010005 */ beq $t0,$at,.PB0f02a050 +/* f02a03c: 2401fffb */ li $at,-5 +/* f02a040: 11010003 */ beq $t0,$at,.PB0f02a050 +/* f02a044: 2401fffa */ li $at,-6 +/* f02a048: 5501016b */ bnel $t0,$at,.PB0f02a5f8 +/* f02a04c: 2401fffe */ li $at,-2 +.PB0f02a050: +/* f02a050: afa700f4 */ sw $a3,0xf4($sp) +/* f02a054: afaa00f0 */ sw $t2,0xf0($sp) +/* f02a058: 0fc5a40f */ jal 0xf16903c +/* f02a05c: afab00ec */ sw $t3,0xec($sp) +/* f02a060: 8fb001f0 */ lw $s0,0x1f0($sp) +/* f02a064: 3c190700 */ lui $t9,0x700 +/* f02a068: 37390004 */ ori $t9,$t9,0x4 +/* f02a06c: 260e0008 */ addiu $t6,$s0,0x8 +/* f02a070: afae01f0 */ sw $t6,0x1f0($sp) +/* f02a074: ae190000 */ sw $t9,0x0($s0) +/* f02a078: afa201d8 */ sw $v0,0x1d8($sp) +/* f02a07c: 0c012de0 */ jal 0x4b780 +/* f02a080: 00402025 */ move $a0,$v0 +/* f02a084: 8fa80204 */ lw $t0,0x204($sp) +/* f02a088: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02a08c: 8fa700f4 */ lw $a3,0xf4($sp) +/* f02a090: 8faa00f0 */ lw $t2,0xf0($sp) +/* f02a094: 8fab00ec */ lw $t3,0xec($sp) +/* f02a098: 2401fffd */ li $at,-3 +/* f02a09c: 15010014 */ bne $t0,$at,.PB0f02a0f0 +/* f02a0a0: ae020004 */ sw $v0,0x4($s0) +/* f02a0a4: a0670000 */ sb $a3,0x0($v1) +/* f02a0a8: a06a0001 */ sb $t2,0x1($v1) +/* f02a0ac: a06b0002 */ sb $t3,0x2($v1) +/* f02a0b0: 8faf0164 */ lw $t7,0x164($sp) +/* f02a0b4: 8fb80210 */ lw $t8,0x210($sp) +/* f02a0b8: 29e1000a */ slti $at,$t7,0xa +/* f02a0bc: 1020000a */ beqz $at,.PB0f02a0e8 +/* f02a0c0: 00000000 */ nop +/* f02a0c4: 44985000 */ mtc1 $t8,$f10 +/* f02a0c8: 3c017f1b */ lui $at,0x7f1b +/* f02a0cc: c426a61c */ lwc1 $f6,-0x59e4($at) +/* f02a0d0: 46805120 */ cvt.s.w $f4,$f10 +/* f02a0d4: 46062482 */ mul.s $f18,$f4,$f6 +/* f02a0d8: 4600920d */ trunc.w.s $f8,$f18 +/* f02a0dc: 44194000 */ mfc1 $t9,$f8 +/* f02a0e0: 10000031 */ b .PB0f02a1a8 +/* f02a0e4: a0790003 */ sb $t9,0x3($v1) +.PB0f02a0e8: +/* f02a0e8: 1000002f */ b .PB0f02a1a8 +/* f02a0ec: a0600003 */ sb $zero,0x3($v1) +.PB0f02a0f0: +/* f02a0f0: 8faf00e8 */ lw $t7,0xe8($sp) +/* f02a0f4: a06f0000 */ sb $t7,0x0($v1) +/* f02a0f8: 8fb800e4 */ lw $t8,0xe4($sp) +/* f02a0fc: a0780001 */ sb $t8,0x1($v1) +/* f02a100: 8fae00e0 */ lw $t6,0xe0($sp) +/* f02a104: a06e0002 */ sb $t6,0x2($v1) +/* f02a108: 8fb90164 */ lw $t9,0x164($sp) +/* f02a10c: 2b21000a */ slti $at,$t9,0xa +/* f02a110: 10200024 */ beqz $at,.PB0f02a1a4 +/* f02a114: 2401fffc */ li $at,-4 +/* f02a118: 1501000a */ bne $t0,$at,.PB0f02a144 +/* f02a11c: 8faf0210 */ lw $t7,0x210($sp) +/* f02a120: 448f8000 */ mtc1 $t7,$f16 +/* f02a124: 3c017f1b */ lui $at,0x7f1b +/* f02a128: c424a620 */ lwc1 $f4,-0x59e0($at) +/* f02a12c: 468082a0 */ cvt.s.w $f10,$f16 +/* f02a130: 46045182 */ mul.s $f6,$f10,$f4 +/* f02a134: 4600348d */ trunc.w.s $f18,$f6 +/* f02a138: 440e9000 */ mfc1 $t6,$f18 +/* f02a13c: 1000001a */ b .PB0f02a1a8 +/* f02a140: a06e0003 */ sb $t6,0x3($v1) +.PB0f02a144: +/* f02a144: 2401fffb */ li $at,-5 +/* f02a148: 1501000a */ bne $t0,$at,.PB0f02a174 +/* f02a14c: 8fb90210 */ lw $t9,0x210($sp) +/* f02a150: 44994000 */ mtc1 $t9,$f8 +/* f02a154: 3c017f1b */ lui $at,0x7f1b +/* f02a158: c42aa624 */ lwc1 $f10,-0x59dc($at) +/* f02a15c: 46804420 */ cvt.s.w $f16,$f8 +/* f02a160: 460a8102 */ mul.s $f4,$f16,$f10 +/* f02a164: 4600218d */ trunc.w.s $f6,$f4 +/* f02a168: 44183000 */ mfc1 $t8,$f6 +/* f02a16c: 1000000e */ b .PB0f02a1a8 +/* f02a170: a0780003 */ sb $t8,0x3($v1) +.PB0f02a174: +/* f02a174: 2401fffa */ li $at,-6 +/* f02a178: 1501000b */ bne $t0,$at,.PB0f02a1a8 +/* f02a17c: 8fae0210 */ lw $t6,0x210($sp) +/* f02a180: 448e9000 */ mtc1 $t6,$f18 +/* f02a184: 3c017f1b */ lui $at,0x7f1b +/* f02a188: c430a628 */ lwc1 $f16,-0x59d8($at) +/* f02a18c: 46809220 */ cvt.s.w $f8,$f18 +/* f02a190: 46104282 */ mul.s $f10,$f8,$f16 +/* f02a194: 4600510d */ trunc.w.s $f4,$f10 +/* f02a198: 440f2000 */ mfc1 $t7,$f4 +/* f02a19c: 10000002 */ b .PB0f02a1a8 +/* f02a1a0: a06f0003 */ sb $t7,0x3($v1) +.PB0f02a1a4: +/* f02a1a4: a0600003 */ sb $zero,0x3($v1) +.PB0f02a1a8: +/* f02a1a8: 24040018 */ li $a0,0x18 +/* f02a1ac: afa301d8 */ sw $v1,0x1d8($sp) +/* f02a1b0: afa700f4 */ sw $a3,0xf4($sp) +/* f02a1b4: afaa00f0 */ sw $t2,0xf0($sp) +/* f02a1b8: 0fc5a3f5 */ jal 0xf168fd4 +/* f02a1bc: afab00ec */ sw $t3,0xec($sp) +/* f02a1c0: 8fa501f8 */ lw $a1,0x1f8($sp) +/* f02a1c4: 24010001 */ li $at,0x1 +/* f02a1c8: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02a1cc: 90a40000 */ lbu $a0,0x0($a1) +/* f02a1d0: 8fa700f4 */ lw $a3,0xf4($sp) +/* f02a1d4: 8faa00f0 */ lw $t2,0xf0($sp) +/* f02a1d8: 8fab00ec */ lw $t3,0xec($sp) +/* f02a1dc: 10810006 */ beq $a0,$at,.PB0f02a1f8 +/* f02a1e0: 00408025 */ move $s0,$v0 +/* f02a1e4: 24090004 */ li $t1,0x4 +/* f02a1e8: 11240003 */ beq $t1,$a0,.PB0f02a1f8 +/* f02a1ec: 24010002 */ li $at,0x2 +/* f02a1f0: 548100b0 */ bnel $a0,$at,.PB0f02a4b4 +/* f02a1f4: 24080200 */ li $t0,0x200 +.PB0f02a1f8: +/* f02a1f8: 8cb80004 */ lw $t8,0x4($a1) +/* f02a1fc: 24090004 */ li $t1,0x4 +/* f02a200: 3c0f800a */ lui $t7,0x800a +/* f02a204: 8f0e0010 */ lw $t6,0x10($t8) +/* f02a208: 31d91000 */ andi $t9,$t6,0x1000 +/* f02a20c: 532000a9 */ beqzl $t9,.PB0f02a4b4 +/* f02a210: 24080200 */ li $t0,0x200 +/* f02a214: 8defe528 */ lw $t7,-0x1ad8($t7) +/* f02a218: 24010123 */ li $at,0x123 +/* f02a21c: afa301d8 */ sw $v1,0x1d8($sp) +/* f02a220: 01e1001a */ div $zero,$t7,$at +/* f02a224: 0000c010 */ mfhi $t8 +/* f02a228: 44983000 */ mtc1 $t8,$f6 +/* f02a22c: 3c017f1b */ lui $at,0x7f1b +/* f02a230: c428a62c */ lwc1 $f8,-0x59d4($at) +/* f02a234: 468034a0 */ cvt.s.w $f18,$f6 +/* f02a238: afa700f4 */ sw $a3,0xf4($sp) +/* f02a23c: afaa00f0 */ sw $t2,0xf0($sp) +/* f02a240: afab00ec */ sw $t3,0xec($sp) +/* f02a244: 46089302 */ mul.s $f12,$f18,$f8 +/* f02a248: 0c006b8b */ jal 0x1ae2c +/* f02a24c: 00000000 */ nop +/* f02a250: 3c013f80 */ lui $at,0x3f80 +/* f02a254: 44818000 */ mtc1 $at,$f16 +/* f02a258: 3c013f00 */ lui $at,0x3f00 +/* f02a25c: 44812000 */ mtc1 $at,$f4 +/* f02a260: 46100280 */ add.s $f10,$f0,$f16 +/* f02a264: 3c0142f0 */ lui $at,0x42f0 +/* f02a268: 44813000 */ mtc1 $at,$f6 +/* f02a26c: 8fa700f4 */ lw $a3,0xf4($sp) +/* f02a270: 46045302 */ mul.s $f12,$f10,$f4 +/* f02a274: 3c014248 */ lui $at,0x4248 +/* f02a278: 44818000 */ mtc1 $at,$f16 +/* f02a27c: 30ee00ff */ andi $t6,$a3,0xff +/* f02a280: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02a284: 448e5000 */ mtc1 $t6,$f10 +/* f02a288: 8faa00f0 */ lw $t2,0xf0($sp) +/* f02a28c: 460c3482 */ mul.s $f18,$f6,$f12 +/* f02a290: 8fab00ec */ lw $t3,0xec($sp) +/* f02a294: 24090004 */ li $t1,0x4 +/* f02a298: 460c8082 */ mul.s $f2,$f16,$f12 +/* f02a29c: 3c014f80 */ lui $at,0x4f80 +/* f02a2a0: 4600920d */ trunc.w.s $f8,$f18 +/* f02a2a4: 46805120 */ cvt.s.w $f4,$f10 +/* f02a2a8: 440f4000 */ mfc1 $t7,$f8 +/* f02a2ac: 00000000 */ nop +/* f02a2b0: 25f80032 */ addiu $t8,$t7,0x32 +/* f02a2b4: 05c10004 */ bgez $t6,.PB0f02a2c8 +/* f02a2b8: a0780003 */ sb $t8,0x3($v1) +/* f02a2bc: 44813000 */ mtc1 $at,$f6 +/* f02a2c0: 00000000 */ nop +/* f02a2c4: 46062100 */ add.s $f4,$f4,$f6 +.PB0f02a2c8: +/* f02a2c8: 46022480 */ add.s $f18,$f4,$f2 +/* f02a2cc: 240f0001 */ li $t7,0x1 +/* f02a2d0: 3c014f00 */ lui $at,0x4f00 +/* f02a2d4: 315800ff */ andi $t8,$t2,0xff +/* f02a2d8: 4459f800 */ cfc1 $t9,$31 +/* f02a2dc: 44cff800 */ ctc1 $t7,$31 +/* f02a2e0: 00000000 */ nop +/* f02a2e4: 46009224 */ cvt.w.s $f8,$f18 +/* f02a2e8: 444ff800 */ cfc1 $t7,$31 +/* f02a2ec: 00000000 */ nop +/* f02a2f0: 31ef0078 */ andi $t7,$t7,0x78 +/* f02a2f4: 51e00013 */ beqzl $t7,.PB0f02a344 +/* f02a2f8: 440f4000 */ mfc1 $t7,$f8 +/* f02a2fc: 44814000 */ mtc1 $at,$f8 +/* f02a300: 240f0001 */ li $t7,0x1 +/* f02a304: 46089201 */ sub.s $f8,$f18,$f8 +/* f02a308: 44cff800 */ ctc1 $t7,$31 +/* f02a30c: 00000000 */ nop +/* f02a310: 46004224 */ cvt.w.s $f8,$f8 +/* f02a314: 444ff800 */ cfc1 $t7,$31 +/* f02a318: 00000000 */ nop +/* f02a31c: 31ef0078 */ andi $t7,$t7,0x78 +/* f02a320: 15e00005 */ bnez $t7,.PB0f02a338 +/* f02a324: 00000000 */ nop +/* f02a328: 440f4000 */ mfc1 $t7,$f8 +/* f02a32c: 3c018000 */ lui $at,0x8000 +/* f02a330: 10000007 */ b .PB0f02a350 +/* f02a334: 01e17825 */ or $t7,$t7,$at +.PB0f02a338: +/* f02a338: 10000005 */ b .PB0f02a350 +/* f02a33c: 240fffff */ li $t7,-1 +/* f02a340: 440f4000 */ mfc1 $t7,$f8 +.PB0f02a344: +/* f02a344: 00000000 */ nop +/* f02a348: 05e0fffb */ bltz $t7,.PB0f02a338 +/* f02a34c: 00000000 */ nop +.PB0f02a350: +/* f02a350: 44d9f800 */ ctc1 $t9,$31 +/* f02a354: 44988000 */ mtc1 $t8,$f16 +/* f02a358: a06f0000 */ sb $t7,0x0($v1) +/* f02a35c: 07010005 */ bgez $t8,.PB0f02a374 +/* f02a360: 468082a0 */ cvt.s.w $f10,$f16 +/* f02a364: 3c014f80 */ lui $at,0x4f80 +/* f02a368: 44813000 */ mtc1 $at,$f6 +/* f02a36c: 00000000 */ nop +/* f02a370: 46065280 */ add.s $f10,$f10,$f6 +.PB0f02a374: +/* f02a374: 46025100 */ add.s $f4,$f10,$f2 +/* f02a378: 24190001 */ li $t9,0x1 +/* f02a37c: 3c014f00 */ lui $at,0x4f00 +/* f02a380: 316f00ff */ andi $t7,$t3,0xff +/* f02a384: 444ef800 */ cfc1 $t6,$31 +/* f02a388: 44d9f800 */ ctc1 $t9,$31 +/* f02a38c: 00000000 */ nop +/* f02a390: 460024a4 */ cvt.w.s $f18,$f4 +/* f02a394: 4459f800 */ cfc1 $t9,$31 +/* f02a398: 00000000 */ nop +/* f02a39c: 33390078 */ andi $t9,$t9,0x78 +/* f02a3a0: 53200013 */ beqzl $t9,.PB0f02a3f0 +/* f02a3a4: 44199000 */ mfc1 $t9,$f18 +/* f02a3a8: 44819000 */ mtc1 $at,$f18 +/* f02a3ac: 24190001 */ li $t9,0x1 +/* f02a3b0: 46122481 */ sub.s $f18,$f4,$f18 +/* f02a3b4: 44d9f800 */ ctc1 $t9,$31 +/* f02a3b8: 00000000 */ nop +/* f02a3bc: 460094a4 */ cvt.w.s $f18,$f18 +/* f02a3c0: 4459f800 */ cfc1 $t9,$31 +/* f02a3c4: 00000000 */ nop +/* f02a3c8: 33390078 */ andi $t9,$t9,0x78 +/* f02a3cc: 17200005 */ bnez $t9,.PB0f02a3e4 +/* f02a3d0: 00000000 */ nop +/* f02a3d4: 44199000 */ mfc1 $t9,$f18 +/* f02a3d8: 3c018000 */ lui $at,0x8000 +/* f02a3dc: 10000007 */ b .PB0f02a3fc +/* f02a3e0: 0321c825 */ or $t9,$t9,$at +.PB0f02a3e4: +/* f02a3e4: 10000005 */ b .PB0f02a3fc +/* f02a3e8: 2419ffff */ li $t9,-1 +/* f02a3ec: 44199000 */ mfc1 $t9,$f18 +.PB0f02a3f0: +/* f02a3f0: 00000000 */ nop +/* f02a3f4: 0720fffb */ bltz $t9,.PB0f02a3e4 +/* f02a3f8: 00000000 */ nop +.PB0f02a3fc: +/* f02a3fc: 44cef800 */ ctc1 $t6,$31 +/* f02a400: 448f4000 */ mtc1 $t7,$f8 +/* f02a404: a0790001 */ sb $t9,0x1($v1) +/* f02a408: 05e10005 */ bgez $t7,.PB0f02a420 +/* f02a40c: 46804420 */ cvt.s.w $f16,$f8 +/* f02a410: 3c014f80 */ lui $at,0x4f80 +/* f02a414: 44813000 */ mtc1 $at,$f6 +/* f02a418: 00000000 */ nop +/* f02a41c: 46068400 */ add.s $f16,$f16,$f6 +.PB0f02a420: +/* f02a420: 46028280 */ add.s $f10,$f16,$f2 +/* f02a424: 240e0001 */ li $t6,0x1 +/* f02a428: 3c014f00 */ lui $at,0x4f00 +/* f02a42c: 4458f800 */ cfc1 $t8,$31 +/* f02a430: 44cef800 */ ctc1 $t6,$31 +/* f02a434: 00000000 */ nop +/* f02a438: 46005124 */ cvt.w.s $f4,$f10 +/* f02a43c: 444ef800 */ cfc1 $t6,$31 +/* f02a440: 00000000 */ nop +/* f02a444: 31ce0078 */ andi $t6,$t6,0x78 +/* f02a448: 51c00013 */ beqzl $t6,.PB0f02a498 +/* f02a44c: 440e2000 */ mfc1 $t6,$f4 +/* f02a450: 44812000 */ mtc1 $at,$f4 +/* f02a454: 240e0001 */ li $t6,0x1 +/* f02a458: 46045101 */ sub.s $f4,$f10,$f4 +/* f02a45c: 44cef800 */ ctc1 $t6,$31 +/* f02a460: 00000000 */ nop +/* f02a464: 46002124 */ cvt.w.s $f4,$f4 +/* f02a468: 444ef800 */ cfc1 $t6,$31 +/* f02a46c: 00000000 */ nop +/* f02a470: 31ce0078 */ andi $t6,$t6,0x78 +/* f02a474: 15c00005 */ bnez $t6,.PB0f02a48c +/* f02a478: 00000000 */ nop +/* f02a47c: 440e2000 */ mfc1 $t6,$f4 +/* f02a480: 3c018000 */ lui $at,0x8000 +/* f02a484: 10000007 */ b .PB0f02a4a4 +/* f02a488: 01c17025 */ or $t6,$t6,$at +.PB0f02a48c: +/* f02a48c: 10000005 */ b .PB0f02a4a4 +/* f02a490: 240effff */ li $t6,-1 +/* f02a494: 440e2000 */ mfc1 $t6,$f4 +.PB0f02a498: +/* f02a498: 00000000 */ nop +/* f02a49c: 05c0fffb */ bltz $t6,.PB0f02a48c +/* f02a4a0: 00000000 */ nop +.PB0f02a4a4: +/* f02a4a4: 44d8f800 */ ctc1 $t8,$31 +/* f02a4a8: 10000006 */ b .PB0f02a4c4 +/* f02a4ac: a06e0002 */ sb $t6,0x2($v1) +/* f02a4b0: 24080200 */ li $t0,0x200 +.PB0f02a4b4: +/* f02a4b4: 0000a825 */ move $s5,$zero +/* f02a4b8: 00009825 */ move $s3,$zero +/* f02a4bc: a7a80176 */ sh $t0,0x176($sp) +/* f02a4c0: 24140200 */ li $s4,0x200 +.PB0f02a4c4: +/* f02a4c4: 27a60104 */ addiu $a2,$sp,0x104 +/* f02a4c8: 27a50180 */ addiu $a1,$sp,0x180 +.PB0f02a4cc: +/* f02a4cc: 87a80176 */ lh $t0,0x176($sp) +/* f02a4d0: 00002025 */ move $a0,$zero +/* f02a4d4: 02001825 */ move $v1,$s0 +/* f02a4d8: 00c01025 */ move $v0,$a2 +.PB0f02a4dc: +/* f02a4dc: 8e410000 */ lw $at,0x0($s2) +/* f02a4e0: 24840001 */ addiu $a0,$a0,0x1 +/* f02a4e4: 2463000c */ addiu $v1,$v1,0xc +/* f02a4e8: a861fff4 */ swl $at,-0xc($v1) +/* f02a4ec: b861fff7 */ swr $at,-0x9($v1) +/* f02a4f0: 8e580004 */ lw $t8,0x4($s2) +/* f02a4f4: 24420004 */ addiu $v0,$v0,0x4 +/* f02a4f8: a878fff8 */ swl $t8,-0x8($v1) +/* f02a4fc: b878fffb */ swr $t8,-0x5($v1) +/* f02a500: 8e410008 */ lw $at,0x8($s2) +/* f02a504: a861fffc */ swl $at,-0x4($v1) +/* f02a508: b861ffff */ swr $at,-0x1($v1) +/* f02a50c: 8c4efffc */ lw $t6,-0x4($v0) +/* f02a510: 01d10019 */ multu $t6,$s1 +/* f02a514: 00007812 */ mflo $t7 +/* f02a518: 00afc821 */ addu $t9,$a1,$t7 +/* f02a51c: 87380000 */ lh $t8,0x0($t9) +/* f02a520: a478fff4 */ sh $t8,-0xc($v1) +/* f02a524: 8c4efffc */ lw $t6,-0x4($v0) +/* f02a528: 01d10019 */ multu $t6,$s1 +/* f02a52c: 00007812 */ mflo $t7 +/* f02a530: 00afc821 */ addu $t9,$a1,$t7 +/* f02a534: 87380002 */ lh $t8,0x2($t9) +/* f02a538: a478fff6 */ sh $t8,-0xa($v1) +/* f02a53c: 8c4efffc */ lw $t6,-0x4($v0) +/* f02a540: 01d10019 */ multu $t6,$s1 +/* f02a544: 00007812 */ mflo $t7 +/* f02a548: 00afc821 */ addu $t9,$a1,$t7 +/* f02a54c: 87380004 */ lh $t8,0x4($t9) +/* f02a550: a060fffb */ sb $zero,-0x5($v1) +/* f02a554: 1489ffe1 */ bne $a0,$t1,.PB0f02a4dc +/* f02a558: a478fff8 */ sh $t8,-0x8($v1) +/* f02a55c: a6150008 */ sh $s5,0x8($s0) +/* f02a560: a613000a */ sh $s3,0xa($s0) +/* f02a564: a6080014 */ sh $t0,0x14($s0) +/* f02a568: a6130016 */ sh $s3,0x16($s0) +/* f02a56c: a6080020 */ sh $t0,0x20($s0) +/* f02a570: a6140022 */ sh $s4,0x22($s0) +/* f02a574: a615002c */ sh $s5,0x2c($s0) +/* f02a578: a614002e */ sh $s4,0x2e($s0) +/* f02a57c: 8fae01f0 */ lw $t6,0x1f0($sp) +/* f02a580: 3c190430 */ lui $t9,0x430 +/* f02a584: 37390030 */ ori $t9,$t9,0x30 +/* f02a588: 25cf0008 */ addiu $t7,$t6,0x8 +/* f02a58c: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02a590: add90000 */ sw $t9,0x0($t6) +/* f02a594: a7a80176 */ sh $t0,0x176($sp) +/* f02a598: afa60054 */ sw $a2,0x54($sp) +/* f02a59c: 02002025 */ move $a0,$s0 +/* f02a5a0: 0c012de0 */ jal 0x4b780 +/* f02a5a4: afae00b4 */ sw $t6,0xb4($sp) +/* f02a5a8: 8fa700b4 */ lw $a3,0xb4($sp) +/* f02a5ac: 8fa60054 */ lw $a2,0x54($sp) +/* f02a5b0: 3c0fb100 */ lui $t7,0xb100 +/* f02a5b4: ace20004 */ sw $v0,0x4($a3) +/* f02a5b8: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f02a5bc: 35ef0032 */ ori $t7,$t7,0x32 +/* f02a5c0: 24192010 */ li $t9,0x2010 +/* f02a5c4: 270e0008 */ addiu $t6,$t8,0x8 +/* f02a5c8: afae01f0 */ sw $t6,0x1f0($sp) +/* f02a5cc: af190004 */ sw $t9,0x4($t8) +/* f02a5d0: af0f0000 */ sw $t7,0x0($t8) +/* f02a5d4: 27b80164 */ addiu $t8,$sp,0x164 +/* f02a5d8: 24c60010 */ addiu $a2,$a2,0x10 +/* f02a5dc: 27a50180 */ addiu $a1,$sp,0x180 +/* f02a5e0: 24090004 */ li $t1,0x4 +/* f02a5e4: 14d8ffb9 */ bne $a2,$t8,.PB0f02a4cc +/* f02a5e8: 26100030 */ addiu $s0,$s0,0x30 +/* f02a5ec: 100004a4 */ b .PB0f02b880 +/* f02a5f0: 8fbf003c */ lw $ra,0x3c($sp) +/* f02a5f4: 2401fffe */ li $at,-2 +.PB0f02a5f8: +/* f02a5f8: 150100d5 */ bne $t0,$at,.PB0f02a950 +/* f02a5fc: 8fae01f4 */ lw $t6,0x1f4($sp) +/* f02a600: 8fa3020c */ lw $v1,0x20c($sp) +/* f02a604: 81c20011 */ lb $v0,0x11($t6) +/* f02a608: 8faf0208 */ lw $t7,0x208($sp) +/* f02a60c: 24040003 */ li $a0,0x3 +/* f02a610: 0043082a */ slt $at,$v0,$v1 +/* f02a614: 50200005 */ beqzl $at,.PB0f02a62c +/* f02a618: 448f3000 */ mtc1 $t7,$f6 +/* f02a61c: 44806000 */ mtc1 $zero,$f12 +/* f02a620: 1000001f */ b .PB0f02a6a0 +/* f02a624: 46006086 */ mov.s $f2,$f12 +/* f02a628: 448f3000 */ mtc1 $t7,$f6 +.PB0f02a62c: +/* f02a62c: 3c0141c8 */ lui $at,0x41c8 +/* f02a630: 44814000 */ mtc1 $at,$f8 +/* f02a634: 46803420 */ cvt.s.w $f16,$f6 +/* f02a638: 44829000 */ mtc1 $v0,$f18 +/* f02a63c: 3c017f1b */ lui $at,0x7f1b +/* f02a640: c424a630 */ lwc1 $f4,-0x59d0($at) +/* f02a644: 3c014220 */ lui $at,0x4220 +/* f02a648: 46809020 */ cvt.s.w $f0,$f18 +/* f02a64c: 44813000 */ mtc1 $at,$f6 +/* f02a650: 8fb90210 */ lw $t9,0x210($sp) +/* f02a654: 3c017f1b */ lui $at,0x7f1b +/* f02a658: 46104281 */ sub.s $f10,$f8,$f16 +/* f02a65c: 44838000 */ mtc1 $v1,$f16 +/* f02a660: 46045482 */ mul.s $f18,$f10,$f4 +/* f02a664: 468082a0 */ cvt.s.w $f10,$f16 +/* f02a668: 44998000 */ mtc1 $t9,$f16 +/* f02a66c: 46069200 */ add.s $f8,$f18,$f6 +/* f02a670: 460a0101 */ sub.s $f4,$f0,$f10 +/* f02a674: 468082a0 */ cvt.s.w $f10,$f16 +/* f02a678: 460c2480 */ add.s $f18,$f4,$f12 +/* f02a67c: c424a634 */ lwc1 $f4,-0x59cc($at) +/* f02a680: 44806000 */ mtc1 $zero,$f12 +/* f02a684: 46009183 */ div.s $f6,$f18,$f0 +/* f02a688: 46064082 */ mul.s $f2,$f8,$f6 +/* f02a68c: 00000000 */ nop +/* f02a690: 46045482 */ mul.s $f18,$f10,$f4 +/* f02a694: 00000000 */ nop +/* f02a698: 46121082 */ mul.s $f2,$f2,$f18 +/* f02a69c: 00000000 */ nop +.PB0f02a6a0: +/* f02a6a0: 3c01437f */ lui $at,0x437f +/* f02a6a4: 44810000 */ mtc1 $at,$f0 +/* f02a6a8: 00000000 */ nop +/* f02a6ac: 4602003c */ c.lt.s $f0,$f2 +/* f02a6b0: 00000000 */ nop +/* f02a6b4: 45020004 */ bc1fl .PB0f02a6c8 +/* f02a6b8: 460c103c */ c.lt.s $f2,$f12 +/* f02a6bc: 10000006 */ b .PB0f02a6d8 +/* f02a6c0: 46000086 */ mov.s $f2,$f0 +/* f02a6c4: 460c103c */ c.lt.s $f2,$f12 +.PB0f02a6c8: +/* f02a6c8: 00000000 */ nop +/* f02a6cc: 45000002 */ bc1f .PB0f02a6d8 +/* f02a6d0: 00000000 */ nop +/* f02a6d4: 46006086 */ mov.s $f2,$f12 +.PB0f02a6d8: +/* f02a6d8: 0fc5a40f */ jal 0xf16903c +/* f02a6dc: e7a200ac */ swc1 $f2,0xac($sp) +/* f02a6e0: 8fb001f0 */ lw $s0,0x1f0($sp) +/* f02a6e4: 3c0f0708 */ lui $t7,0x708 +/* f02a6e8: 35ef000c */ ori $t7,$t7,0xc +/* f02a6ec: 260e0008 */ addiu $t6,$s0,0x8 +/* f02a6f0: afae01f0 */ sw $t6,0x1f0($sp) +/* f02a6f4: ae0f0000 */ sw $t7,0x0($s0) +/* f02a6f8: afa201d8 */ sw $v0,0x1d8($sp) +/* f02a6fc: 0c012de0 */ jal 0x4b780 +/* f02a700: 00402025 */ move $a0,$v0 +/* f02a704: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02a708: c7a200ac */ lwc1 $f2,0xac($sp) +/* f02a70c: 8fa500e8 */ lw $a1,0xe8($sp) +/* f02a710: 8fa600e4 */ lw $a2,0xe4($sp) +/* f02a714: 8fa700e0 */ lw $a3,0xe0($sp) +/* f02a718: ae020004 */ sw $v0,0x4($s0) +/* f02a71c: 4600120d */ trunc.w.s $f8,$f2 +/* f02a720: 2404001e */ li $a0,0x1e +/* f02a724: a0600007 */ sb $zero,0x7($v1) +/* f02a728: a0650000 */ sb $a1,0x0($v1) +/* f02a72c: 44184000 */ mfc1 $t8,$f8 +/* f02a730: a0650004 */ sb $a1,0x4($v1) +/* f02a734: a0660001 */ sb $a2,0x1($v1) +/* f02a738: a0660005 */ sb $a2,0x5($v1) +/* f02a73c: a0670002 */ sb $a3,0x2($v1) +/* f02a740: a0670006 */ sb $a3,0x6($v1) +/* f02a744: 0fc5a3f5 */ jal 0xf168fd4 +/* f02a748: a0780003 */ sb $t8,0x3($v1) +/* f02a74c: 87ab0052 */ lh $t3,0x52($sp) +/* f02a750: 02747021 */ addu $t6,$s3,$s4 +/* f02a754: 000e7843 */ sra $t7,$t6,0x1 +/* f02a758: 02abc821 */ addu $t9,$s5,$t3 +/* f02a75c: 0019c043 */ sra $t8,$t9,0x1 +/* f02a760: 00408025 */ move $s0,$v0 +/* f02a764: afb80040 */ sw $t8,0x40($sp) +/* f02a768: afaf004c */ sw $t7,0x4c($sp) +/* f02a76c: 27a60104 */ addiu $a2,$sp,0x104 +/* f02a770: 240c0004 */ li $t4,0x4 +/* f02a774: 24090004 */ li $t1,0x4 +/* f02a778: 27a50180 */ addiu $a1,$sp,0x180 +.PB0f02a77c: +/* f02a77c: 00002025 */ move $a0,$zero +/* f02a780: 02001825 */ move $v1,$s0 +/* f02a784: 00c01025 */ move $v0,$a2 +.PB0f02a788: +/* f02a788: 8e410000 */ lw $at,0x0($s2) +/* f02a78c: 24840001 */ addiu $a0,$a0,0x1 +/* f02a790: 2463000c */ addiu $v1,$v1,0xc +/* f02a794: a861fff4 */ swl $at,-0xc($v1) +/* f02a798: b861fff7 */ swr $at,-0x9($v1) +/* f02a79c: 8e590004 */ lw $t9,0x4($s2) +/* f02a7a0: 24420004 */ addiu $v0,$v0,0x4 +/* f02a7a4: a879fff8 */ swl $t9,-0x8($v1) +/* f02a7a8: b879fffb */ swr $t9,-0x5($v1) +/* f02a7ac: 8e410008 */ lw $at,0x8($s2) +/* f02a7b0: a861fffc */ swl $at,-0x4($v1) +/* f02a7b4: b861ffff */ swr $at,-0x1($v1) +/* f02a7b8: 8c58fffc */ lw $t8,-0x4($v0) +/* f02a7bc: 03110019 */ multu $t8,$s1 +/* f02a7c0: 00007812 */ mflo $t7 +/* f02a7c4: 00af7021 */ addu $t6,$a1,$t7 +/* f02a7c8: 85d90000 */ lh $t9,0x0($t6) +/* f02a7cc: a479fff4 */ sh $t9,-0xc($v1) +/* f02a7d0: 8c58fffc */ lw $t8,-0x4($v0) +/* f02a7d4: 03110019 */ multu $t8,$s1 +/* f02a7d8: 00007812 */ mflo $t7 +/* f02a7dc: 00af7021 */ addu $t6,$a1,$t7 +/* f02a7e0: 85d90002 */ lh $t9,0x2($t6) +/* f02a7e4: a479fff6 */ sh $t9,-0xa($v1) +/* f02a7e8: 8c58fffc */ lw $t8,-0x4($v0) +/* f02a7ec: 03110019 */ multu $t8,$s1 +/* f02a7f0: 00007812 */ mflo $t7 +/* f02a7f4: 00af7021 */ addu $t6,$a1,$t7 +/* f02a7f8: 85d90004 */ lh $t9,0x4($t6) +/* f02a7fc: a060fffb */ sb $zero,-0x5($v1) +/* f02a800: 1489ffe1 */ bne $a0,$t1,.PB0f02a788 +/* f02a804: a479fff8 */ sh $t9,-0x8($v1) +/* f02a808: a6150008 */ sh $s5,0x8($s0) +/* f02a80c: a613000a */ sh $s3,0xa($s0) +/* f02a810: a60b0014 */ sh $t3,0x14($s0) +/* f02a814: a6130016 */ sh $s3,0x16($s0) +/* f02a818: a60b0020 */ sh $t3,0x20($s0) +/* f02a81c: a6140022 */ sh $s4,0x22($s0) +/* f02a820: a615002c */ sh $s5,0x2c($s0) +/* f02a824: a614002e */ sh $s4,0x2e($s0) +/* f02a828: 8e410000 */ lw $at,0x0($s2) +/* f02a82c: 860e0024 */ lh $t6,0x24($s0) +/* f02a830: 86190000 */ lh $t9,0x0($s0) +/* f02a834: aa010030 */ swl $at,0x30($s0) +/* f02a838: ba010033 */ swr $at,0x33($s0) +/* f02a83c: 8e4f0004 */ lw $t7,0x4($s2) +/* f02a840: 01d9c021 */ addu $t8,$t6,$t9 +/* f02a844: 86190018 */ lh $t9,0x18($s0) +/* f02a848: aa0f0034 */ swl $t7,0x34($s0) +/* f02a84c: ba0f0037 */ swr $t7,0x37($s0) +/* f02a850: 860f000c */ lh $t7,0xc($s0) +/* f02a854: 8e410008 */ lw $at,0x8($s2) +/* f02a858: 02002025 */ move $a0,$s0 +/* f02a85c: 030f7021 */ addu $t6,$t8,$t7 +/* f02a860: 01d9c021 */ addu $t8,$t6,$t9 +/* f02a864: 86190002 */ lh $t9,0x2($s0) +/* f02a868: 860e0026 */ lh $t6,0x26($s0) +/* f02a86c: 00187883 */ sra $t7,$t8,0x2 +/* f02a870: a60f0030 */ sh $t7,0x30($s0) +/* f02a874: 860f000e */ lh $t7,0xe($s0) +/* f02a878: 01d9c021 */ addu $t8,$t6,$t9 +/* f02a87c: 8619001a */ lh $t9,0x1a($s0) +/* f02a880: 030f7021 */ addu $t6,$t8,$t7 +/* f02a884: aa010038 */ swl $at,0x38($s0) +/* f02a888: 01d9c021 */ addu $t8,$t6,$t9 +/* f02a88c: 86190004 */ lh $t9,0x4($s0) +/* f02a890: 860e0028 */ lh $t6,0x28($s0) +/* f02a894: 00187883 */ sra $t7,$t8,0x2 +/* f02a898: a60f0032 */ sh $t7,0x32($s0) +/* f02a89c: 860f0010 */ lh $t7,0x10($s0) +/* f02a8a0: 01d9c021 */ addu $t8,$t6,$t9 +/* f02a8a4: 8619001c */ lh $t9,0x1c($s0) +/* f02a8a8: 030f7021 */ addu $t6,$t8,$t7 +/* f02a8ac: ba01003b */ swr $at,0x3b($s0) +/* f02a8b0: 01d9c021 */ addu $t8,$t6,$t9 +/* f02a8b4: 00187883 */ sra $t7,$t8,0x2 +/* f02a8b8: a60f0034 */ sh $t7,0x34($s0) +/* f02a8bc: 8fae0040 */ lw $t6,0x40($sp) +/* f02a8c0: a60e0038 */ sh $t6,0x38($s0) +/* f02a8c4: 8fb9004c */ lw $t9,0x4c($sp) +/* f02a8c8: a20c0037 */ sb $t4,0x37($s0) +/* f02a8cc: 3c0e0440 */ lui $t6,0x440 +/* f02a8d0: a619003a */ sh $t9,0x3a($s0) +/* f02a8d4: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f02a8d8: 35ce003c */ ori $t6,$t6,0x3c +/* f02a8dc: 270f0008 */ addiu $t7,$t8,0x8 +/* f02a8e0: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02a8e4: af0e0000 */ sw $t6,0x0($t8) +/* f02a8e8: afab0044 */ sw $t3,0x44($sp) +/* f02a8ec: afa60054 */ sw $a2,0x54($sp) +/* f02a8f0: 0c012de0 */ jal 0x4b780 +/* f02a8f4: afb800a4 */ sw $t8,0xa4($sp) +/* f02a8f8: 8fa700a4 */ lw $a3,0xa4($sp) +/* f02a8fc: 8fa60054 */ lw $a2,0x54($sp) +/* f02a900: 8fab0044 */ lw $t3,0x44($sp) +/* f02a904: ace20004 */ sw $v0,0x4($a3) +/* f02a908: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f02a90c: 3c0fb100 */ lui $t7,0xb100 +/* f02a910: 3c0e0332 */ lui $t6,0x332 +/* f02a914: 27380008 */ addiu $t8,$t9,0x8 +/* f02a918: afb801f0 */ sw $t8,0x1f0($sp) +/* f02a91c: 35ce2110 */ ori $t6,$t6,0x2110 +/* f02a920: 35ef4444 */ ori $t7,$t7,0x4444 +/* f02a924: af2f0000 */ sw $t7,0x0($t9) +/* f02a928: af2e0004 */ sw $t6,0x4($t9) +/* f02a92c: 27b90164 */ addiu $t9,$sp,0x164 +/* f02a930: 24c60010 */ addiu $a2,$a2,0x10 +/* f02a934: 27a50180 */ addiu $a1,$sp,0x180 +/* f02a938: 24090004 */ li $t1,0x4 +/* f02a93c: 240c0004 */ li $t4,0x4 +/* f02a940: 14d9ff8e */ bne $a2,$t9,.PB0f02a77c +/* f02a944: 2610003c */ addiu $s0,$s0,0x3c +/* f02a948: 100003cd */ b .PB0f02b880 +/* f02a94c: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f02a950: +/* f02a950: 05010130 */ bgez $t0,.PB0f02ae14 +/* f02a954: 8fae01f8 */ lw $t6,0x1f8($sp) +/* f02a958: 0fc5a3f5 */ jal 0xf168fd4 +/* f02a95c: 2404000c */ li $a0,0xc +/* f02a960: 8fa80204 */ lw $t0,0x204($sp) +/* f02a964: 2401ffff */ li $at,-1 +/* f02a968: 00408025 */ move $s0,$v0 +/* f02a96c: 15010035 */ bne $t0,$at,.PB0f02aa44 +/* f02a970: 8fb801f4 */ lw $t8,0x1f4($sp) +/* f02a974: 3c02800a */ lui $v0,0x800a +/* f02a978: 8c42e4d8 */ lw $v0,-0x1b28($v0) +/* f02a97c: 8f03000c */ lw $v1,0xc($t8) +/* f02a980: 00002825 */ move $a1,$zero +/* f02a984: 24040001 */ li $a0,0x1 +/* f02a988: 00437823 */ subu $t7,$v0,$v1 +/* f02a98c: 29e10043 */ slti $at,$t7,0x43 +/* f02a990: 10200016 */ beqz $at,.PB0f02a9ec +/* f02a994: 00627023 */ subu $t6,$v1,$v0 +/* f02a998: 25d90042 */ addiu $t9,$t6,0x42 +/* f02a99c: 44993000 */ mtc1 $t9,$f6 +/* f02a9a0: 8fb80210 */ lw $t8,0x210($sp) +/* f02a9a4: 3c017f1b */ lui $at,0x7f1b +/* f02a9a8: 46803420 */ cvt.s.w $f16,$f6 +/* f02a9ac: 44982000 */ mtc1 $t8,$f4 +/* f02a9b0: c42aa638 */ lwc1 $f10,-0x59c8($at) +/* f02a9b4: 3c017f1b */ lui $at,0x7f1b +/* f02a9b8: c428a63c */ lwc1 $f8,-0x59c4($at) +/* f02a9bc: 468024a0 */ cvt.s.w $f18,$f4 +/* f02a9c0: 460a8002 */ mul.s $f0,$f16,$f10 +/* f02a9c4: 00000000 */ nop +/* f02a9c8: 46089182 */ mul.s $f6,$f18,$f8 +/* f02a9cc: 00000000 */ nop +/* f02a9d0: 46060002 */ mul.s $f0,$f0,$f6 +/* f02a9d4: 4600040d */ trunc.w.s $f16,$f0 +/* f02a9d8: 44058000 */ mfc1 $a1,$f16 +/* f02a9dc: 00000000 */ nop +/* f02a9e0: 30ae00ff */ andi $t6,$a1,0xff +/* f02a9e4: 10000001 */ b .PB0f02a9ec +/* f02a9e8: 01c02825 */ move $a1,$t6 +.PB0f02a9ec: +/* f02a9ec: 0fc5a40f */ jal 0xf16903c +/* f02a9f0: a3a5017f */ sb $a1,0x17f($sp) +/* f02a9f4: 8fb101f0 */ lw $s1,0x1f0($sp) +/* f02a9f8: 3c0f0700 */ lui $t7,0x700 +/* f02a9fc: 35ef0004 */ ori $t7,$t7,0x4 +/* f02aa00: 26380008 */ addiu $t8,$s1,0x8 +/* f02aa04: afb801f0 */ sw $t8,0x1f0($sp) +/* f02aa08: ae2f0000 */ sw $t7,0x0($s1) +/* f02aa0c: afa201d8 */ sw $v0,0x1d8($sp) +/* f02aa10: 0c012de0 */ jal 0x4b780 +/* f02aa14: 00402025 */ move $a0,$v0 +/* f02aa18: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02aa1c: 93a5017f */ lbu $a1,0x17f($sp) +/* f02aa20: ae220004 */ sw $v0,0x4($s1) +/* f02aa24: 8fae0100 */ lw $t6,0x100($sp) +/* f02aa28: a06e0000 */ sb $t6,0x0($v1) +/* f02aa2c: 8fb900fc */ lw $t9,0xfc($sp) +/* f02aa30: a0790001 */ sb $t9,0x1($v1) +/* f02aa34: 8fb800f8 */ lw $t8,0xf8($sp) +/* f02aa38: a0650003 */ sb $a1,0x3($v1) +/* f02aa3c: 10000053 */ b .PB0f02ab8c +/* f02aa40: a0780002 */ sb $t8,0x2($v1) +.PB0f02aa44: +/* f02aa44: 2401fffe */ li $at,-2 +/* f02aa48: 15010050 */ bne $t0,$at,.PB0f02ab8c +/* f02aa4c: 8faf01f4 */ lw $t7,0x1f4($sp) +/* f02aa50: 8fa3020c */ lw $v1,0x20c($sp) +/* f02aa54: 81e20011 */ lb $v0,0x11($t7) +/* f02aa58: 8fae0208 */ lw $t6,0x208($sp) +/* f02aa5c: 24040001 */ li $a0,0x1 +/* f02aa60: 0043082a */ slt $at,$v0,$v1 +/* f02aa64: 50200005 */ beqzl $at,.PB0f02aa7c +/* f02aa68: 448e9000 */ mtc1 $t6,$f18 +/* f02aa6c: 44806000 */ mtc1 $zero,$f12 +/* f02aa70: 10000021 */ b .PB0f02aaf8 +/* f02aa74: 46006086 */ mov.s $f2,$f12 +/* f02aa78: 448e9000 */ mtc1 $t6,$f18 +.PB0f02aa7c: +/* f02aa7c: 3c0141c8 */ lui $at,0x41c8 +/* f02aa80: 44812000 */ mtc1 $at,$f4 +/* f02aa84: 46809220 */ cvt.s.w $f8,$f18 +/* f02aa88: 44825000 */ mtc1 $v0,$f10 +/* f02aa8c: 3c017f1b */ lui $at,0x7f1b +/* f02aa90: c430a640 */ lwc1 $f16,-0x59c0($at) +/* f02aa94: 3c014220 */ lui $at,0x4220 +/* f02aa98: 46805020 */ cvt.s.w $f0,$f10 +/* f02aa9c: 44819000 */ mtc1 $at,$f18 +/* f02aaa0: 3c013f80 */ lui $at,0x3f80 +/* f02aaa4: 8fb90210 */ lw $t9,0x210($sp) +/* f02aaa8: 44806000 */ mtc1 $zero,$f12 +/* f02aaac: 46082181 */ sub.s $f6,$f4,$f8 +/* f02aab0: 44834000 */ mtc1 $v1,$f8 +/* f02aab4: 46103282 */ mul.s $f10,$f6,$f16 +/* f02aab8: 468041a0 */ cvt.s.w $f6,$f8 +/* f02aabc: 46125100 */ add.s $f4,$f10,$f18 +/* f02aac0: 44815000 */ mtc1 $at,$f10 +/* f02aac4: 3c017f1b */ lui $at,0x7f1b +/* f02aac8: 46060401 */ sub.s $f16,$f0,$f6 +/* f02aacc: 44993000 */ mtc1 $t9,$f6 +/* f02aad0: 460a8480 */ add.s $f18,$f16,$f10 +/* f02aad4: c42aa644 */ lwc1 $f10,-0x59bc($at) +/* f02aad8: 46803420 */ cvt.s.w $f16,$f6 +/* f02aadc: 46009203 */ div.s $f8,$f18,$f0 +/* f02aae0: 46082082 */ mul.s $f2,$f4,$f8 +/* f02aae4: 00000000 */ nop +/* f02aae8: 460a8482 */ mul.s $f18,$f16,$f10 +/* f02aaec: 00000000 */ nop +/* f02aaf0: 46121082 */ mul.s $f2,$f2,$f18 +/* f02aaf4: 00000000 */ nop +.PB0f02aaf8: +/* f02aaf8: 3c01437f */ lui $at,0x437f +/* f02aafc: 44810000 */ mtc1 $at,$f0 +/* f02ab00: 00000000 */ nop +/* f02ab04: 4602003c */ c.lt.s $f0,$f2 +/* f02ab08: 00000000 */ nop +/* f02ab0c: 45020004 */ bc1fl .PB0f02ab20 +/* f02ab10: 460c103c */ c.lt.s $f2,$f12 +/* f02ab14: 10000006 */ b .PB0f02ab30 +/* f02ab18: 46000086 */ mov.s $f2,$f0 +/* f02ab1c: 460c103c */ c.lt.s $f2,$f12 +.PB0f02ab20: +/* f02ab20: 00000000 */ nop +/* f02ab24: 45000002 */ bc1f .PB0f02ab30 +/* f02ab28: 00000000 */ nop +/* f02ab2c: 46006086 */ mov.s $f2,$f12 +.PB0f02ab30: +/* f02ab30: 0fc5a40f */ jal 0xf16903c +/* f02ab34: e7a20094 */ swc1 $f2,0x94($sp) +/* f02ab38: 8fb101f0 */ lw $s1,0x1f0($sp) +/* f02ab3c: 3c0e0700 */ lui $t6,0x700 +/* f02ab40: 35ce0004 */ ori $t6,$t6,0x4 +/* f02ab44: 262f0008 */ addiu $t7,$s1,0x8 +/* f02ab48: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02ab4c: ae2e0000 */ sw $t6,0x0($s1) +/* f02ab50: afa201d8 */ sw $v0,0x1d8($sp) +/* f02ab54: 0c012de0 */ jal 0x4b780 +/* f02ab58: 00402025 */ move $a0,$v0 +/* f02ab5c: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02ab60: c7a20094 */ lwc1 $f2,0x94($sp) +/* f02ab64: ae220004 */ sw $v0,0x4($s1) +/* f02ab68: 8fb900e8 */ lw $t9,0xe8($sp) +/* f02ab6c: 4600110d */ trunc.w.s $f4,$f2 +/* f02ab70: a0790000 */ sb $t9,0x0($v1) +/* f02ab74: 8fb800e4 */ lw $t8,0xe4($sp) +/* f02ab78: 44192000 */ mfc1 $t9,$f4 +/* f02ab7c: a0780001 */ sb $t8,0x1($v1) +/* f02ab80: 8faf00e0 */ lw $t7,0xe0($sp) +/* f02ab84: a0790003 */ sb $t9,0x3($v1) +/* f02ab88: a06f0002 */ sb $t7,0x2($v1) +.PB0f02ab8c: +/* f02ab8c: 02001825 */ move $v1,$s0 +/* f02ab90: 27a20180 */ addiu $v0,$sp,0x180 +/* f02ab94: 27a401b0 */ addiu $a0,$sp,0x1b0 +.PB0f02ab98: +/* f02ab98: 8e410000 */ lw $at,0x0($s2) +/* f02ab9c: 24420006 */ addiu $v0,$v0,0x6 +/* f02aba0: 2463000c */ addiu $v1,$v1,0xc +/* f02aba4: a861fff4 */ swl $at,-0xc($v1) +/* f02aba8: b861fff7 */ swr $at,-0x9($v1) +/* f02abac: 8e4f0004 */ lw $t7,0x4($s2) +/* f02abb0: a86ffff8 */ swl $t7,-0x8($v1) +/* f02abb4: b86ffffb */ swr $t7,-0x5($v1) +/* f02abb8: 8e410008 */ lw $at,0x8($s2) +/* f02abbc: a861fffc */ swl $at,-0x4($v1) +/* f02abc0: b861ffff */ swr $at,-0x1($v1) +/* f02abc4: 844efffa */ lh $t6,-0x6($v0) +/* f02abc8: 0044082b */ sltu $at,$v0,$a0 +/* f02abcc: a46efff4 */ sh $t6,-0xc($v1) +/* f02abd0: 8459fffc */ lh $t9,-0x4($v0) +/* f02abd4: a479fff6 */ sh $t9,-0xa($v1) +/* f02abd8: 8458fffe */ lh $t8,-0x2($v0) +/* f02abdc: a060fffb */ sb $zero,-0x5($v1) +/* f02abe0: 1420ffed */ bnez $at,.PB0f02ab98 +/* f02abe4: a478fff8 */ sh $t8,-0x8($v1) +/* f02abe8: a6150008 */ sh $s5,0x8($s0) +/* f02abec: a613000a */ sh $s3,0xa($s0) +/* f02abf0: 87ab0052 */ lh $t3,0x52($sp) +/* f02abf4: a6130016 */ sh $s3,0x16($s0) +/* f02abf8: a6140046 */ sh $s4,0x46($s0) +/* f02abfc: a6150038 */ sh $s5,0x38($s0) +/* f02ac00: a614003a */ sh $s4,0x3a($s0) +/* f02ac04: a615002c */ sh $s5,0x2c($s0) +/* f02ac08: a613002e */ sh $s3,0x2e($s0) +/* f02ac0c: a6130022 */ sh $s3,0x22($s0) +/* f02ac10: a6140052 */ sh $s4,0x52($s0) +/* f02ac14: a615005c */ sh $s5,0x5c($s0) +/* f02ac18: a614005e */ sh $s4,0x5e($s0) +/* f02ac1c: a60b0014 */ sh $t3,0x14($s0) +/* f02ac20: a60b0044 */ sh $t3,0x44($s0) +/* f02ac24: a60b0020 */ sh $t3,0x20($s0) +/* f02ac28: a60b0050 */ sh $t3,0x50($s0) +/* f02ac2c: 8e410000 */ lw $at,0x0($s2) +/* f02ac30: 02002025 */ move $a0,$s0 +/* f02ac34: aa010060 */ swl $at,0x60($s0) +/* f02ac38: ba010063 */ swr $at,0x63($s0) +/* f02ac3c: 8e4e0004 */ lw $t6,0x4($s2) +/* f02ac40: aa0e0064 */ swl $t6,0x64($s0) +/* f02ac44: ba0e0067 */ swr $t6,0x67($s0) +/* f02ac48: 8e410008 */ lw $at,0x8($s2) +/* f02ac4c: aa010068 */ swl $at,0x68($s0) +/* f02ac50: ba01006b */ swr $at,0x6b($s0) +/* f02ac54: 87b9018c */ lh $t9,0x18c($sp) +/* f02ac58: a6190060 */ sh $t9,0x60($s0) +/* f02ac5c: 87b8018e */ lh $t8,0x18e($sp) +/* f02ac60: a6180062 */ sh $t8,0x62($s0) +/* f02ac64: 87af0190 */ lh $t7,0x190($sp) +/* f02ac68: a2000067 */ sb $zero,0x67($s0) +/* f02ac6c: a60f0064 */ sh $t7,0x64($s0) +/* f02ac70: 8e410000 */ lw $at,0x0($s2) +/* f02ac74: aa01006c */ swl $at,0x6c($s0) +/* f02ac78: ba01006f */ swr $at,0x6f($s0) +/* f02ac7c: 8e590004 */ lw $t9,0x4($s2) +/* f02ac80: aa190070 */ swl $t9,0x70($s0) +/* f02ac84: ba190073 */ swr $t9,0x73($s0) +/* f02ac88: 8e410008 */ lw $at,0x8($s2) +/* f02ac8c: aa010074 */ swl $at,0x74($s0) +/* f02ac90: ba010077 */ swr $at,0x77($s0) +/* f02ac94: 87b80192 */ lh $t8,0x192($sp) +/* f02ac98: a618006c */ sh $t8,0x6c($s0) +/* f02ac9c: 87af0194 */ lh $t7,0x194($sp) +/* f02aca0: a60f006e */ sh $t7,0x6e($s0) +/* f02aca4: 87ae0196 */ lh $t6,0x196($sp) +/* f02aca8: a2000073 */ sb $zero,0x73($s0) +/* f02acac: a6150068 */ sh $s5,0x68($s0) +/* f02acb0: a614006a */ sh $s4,0x6a($s0) +/* f02acb4: a6140076 */ sh $s4,0x76($s0) +/* f02acb8: a60b0074 */ sh $t3,0x74($s0) +/* f02acbc: a60e0070 */ sh $t6,0x70($s0) +/* f02acc0: 8e410000 */ lw $at,0x0($s2) +/* f02acc4: aa010078 */ swl $at,0x78($s0) +/* f02acc8: ba01007b */ swr $at,0x7b($s0) +/* f02accc: 8e580004 */ lw $t8,0x4($s2) +/* f02acd0: aa18007c */ swl $t8,0x7c($s0) +/* f02acd4: ba18007f */ swr $t8,0x7f($s0) +/* f02acd8: 8e410008 */ lw $at,0x8($s2) +/* f02acdc: aa010080 */ swl $at,0x80($s0) +/* f02ace0: ba010083 */ swr $at,0x83($s0) +/* f02ace4: 87af01a4 */ lh $t7,0x1a4($sp) +/* f02ace8: a60f0078 */ sh $t7,0x78($s0) +/* f02acec: 87ae01a6 */ lh $t6,0x1a6($sp) +/* f02acf0: a60e007a */ sh $t6,0x7a($s0) +/* f02acf4: 87b901a8 */ lh $t9,0x1a8($sp) +/* f02acf8: a200007f */ sb $zero,0x7f($s0) +/* f02acfc: a619007c */ sh $t9,0x7c($s0) +/* f02ad00: 8e410000 */ lw $at,0x0($s2) +/* f02ad04: aa010084 */ swl $at,0x84($s0) +/* f02ad08: ba010087 */ swr $at,0x87($s0) +/* f02ad0c: 8e4f0004 */ lw $t7,0x4($s2) +/* f02ad10: aa0f0088 */ swl $t7,0x88($s0) +/* f02ad14: ba0f008b */ swr $t7,0x8b($s0) +/* f02ad18: 8e410008 */ lw $at,0x8($s2) +/* f02ad1c: aa01008c */ swl $at,0x8c($s0) +/* f02ad20: ba01008f */ swr $at,0x8f($s0) +/* f02ad24: 87ae01aa */ lh $t6,0x1aa($sp) +/* f02ad28: a60e0084 */ sh $t6,0x84($s0) +/* f02ad2c: 87b901ac */ lh $t9,0x1ac($sp) +/* f02ad30: a6190086 */ sh $t9,0x86($s0) +/* f02ad34: 87b801ae */ lh $t8,0x1ae($sp) +/* f02ad38: a200008b */ sb $zero,0x8b($s0) +/* f02ad3c: a6150080 */ sh $s5,0x80($s0) +/* f02ad40: a6130082 */ sh $s3,0x82($s0) +/* f02ad44: a613008e */ sh $s3,0x8e($s0) +/* f02ad48: a60b008c */ sh $t3,0x8c($s0) +/* f02ad4c: a6180088 */ sh $t8,0x88($s0) +/* f02ad50: 8fb101f0 */ lw $s1,0x1f0($sp) +/* f02ad54: 3c1904b0 */ lui $t9,0x4b0 +/* f02ad58: 37390090 */ ori $t9,$t9,0x90 +/* f02ad5c: 262e0008 */ addiu $t6,$s1,0x8 +/* f02ad60: afae01f0 */ sw $t6,0x1f0($sp) +/* f02ad64: 0c012de0 */ jal 0x4b780 +/* f02ad68: ae390000 */ sw $t9,0x0($s1) +/* f02ad6c: ae220004 */ sw $v0,0x4($s1) +/* f02ad70: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f02ad74: 3c0eb100 */ lui $t6,0xb100 +/* f02ad78: 3c194b5b */ lui $t9,0x4b5b +/* f02ad7c: 270f0008 */ addiu $t7,$t8,0x8 +/* f02ad80: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02ad84: 37399010 */ ori $t9,$t9,0x9010 +/* f02ad88: 35cea489 */ ori $t6,$t6,0xa489 +/* f02ad8c: 27a30124 */ addiu $v1,$sp,0x124 +/* f02ad90: 27a60164 */ addiu $a2,$sp,0x164 +/* f02ad94: 3c05b100 */ lui $a1,0xb100 +/* f02ad98: af0e0000 */ sw $t6,0x0($t8) +/* f02ad9c: af190004 */ sw $t9,0x4($t8) +.PB0f02ada0: +/* f02ada0: 8fa201f0 */ lw $v0,0x1f0($sp) +/* f02ada4: 24630010 */ addiu $v1,$v1,0x10 +/* f02ada8: 244f0008 */ addiu $t7,$v0,0x8 +/* f02adac: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02adb0: 8c6efff8 */ lw $t6,-0x8($v1) +/* f02adb4: 8c6ffffc */ lw $t7,-0x4($v1) +/* f02adb8: 31d9000f */ andi $t9,$t6,0xf +/* f02adbc: 0325c025 */ or $t8,$t9,$a1 +/* f02adc0: 31ee000f */ andi $t6,$t7,0xf +/* f02adc4: 000ec900 */ sll $t9,$t6,0x4 +/* f02adc8: 03197825 */ or $t7,$t8,$t9 +/* f02adcc: ac4f0000 */ sw $t7,0x0($v0) +/* f02add0: 8c78fff8 */ lw $t8,-0x8($v1) +/* f02add4: 8c64fff0 */ lw $a0,-0x10($v1) +/* f02add8: 3319000f */ andi $t9,$t8,0xf +/* f02addc: 308e000f */ andi $t6,$a0,0xf +/* f02ade0: 01c02025 */ move $a0,$t6 +/* f02ade4: 00197b00 */ sll $t7,$t9,0xc +/* f02ade8: 01cf7025 */ or $t6,$t6,$t7 +/* f02adec: 8c6ffff4 */ lw $t7,-0xc($v1) +/* f02adf0: 0004c200 */ sll $t8,$a0,0x8 +/* f02adf4: 01d8c825 */ or $t9,$t6,$t8 +/* f02adf8: 31ee000f */ andi $t6,$t7,0xf +/* f02adfc: 000ec100 */ sll $t8,$t6,0x4 +/* f02ae00: 03387825 */ or $t7,$t9,$t8 +/* f02ae04: 1466ffe6 */ bne $v1,$a2,.PB0f02ada0 +/* f02ae08: ac4f0004 */ sw $t7,0x4($v0) +/* f02ae0c: 1000029c */ b .PB0f02b880 +/* f02ae10: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f02ae14: +/* f02ae14: 91c40000 */ lbu $a0,0x0($t6) +/* f02ae18: 24010001 */ li $at,0x1 +/* f02ae1c: 10810005 */ beq $a0,$at,.PB0f02ae34 +/* f02ae20: 24090004 */ li $t1,0x4 +/* f02ae24: 11240003 */ beq $t1,$a0,.PB0f02ae34 +/* f02ae28: 24010002 */ li $at,0x2 +/* f02ae2c: 5481000b */ bnel $a0,$at,.PB0f02ae5c +/* f02ae30: 8fb901f4 */ lw $t9,0x1f4($sp) +.PB0f02ae34: +/* f02ae34: 8fb901f8 */ lw $t9,0x1f8($sp) +/* f02ae38: 240500ff */ li $a1,0xff +/* f02ae3c: 8f380004 */ lw $t8,0x4($t9) +/* f02ae40: 8f0f0010 */ lw $t7,0x10($t8) +/* f02ae44: 31ee1000 */ andi $t6,$t7,0x1000 +/* f02ae48: 51c00004 */ beqzl $t6,.PB0f02ae5c +/* f02ae4c: 8fb901f4 */ lw $t9,0x1f4($sp) +/* f02ae50: 10000023 */ b .PB0f02aee0 +/* f02ae54: 240600ff */ li $a2,0xff +/* f02ae58: 8fb901f4 */ lw $t9,0x1f4($sp) +.PB0f02ae5c: +/* f02ae5c: 3c02800a */ lui $v0,0x800a +/* f02ae60: 8c42e4d8 */ lw $v0,-0x1b28($v0) +/* f02ae64: 8f23000c */ lw $v1,0xc($t9) +/* f02ae68: 00002825 */ move $a1,$zero +/* f02ae6c: 00003025 */ move $a2,$zero +/* f02ae70: 0043c023 */ subu $t8,$v0,$v1 +/* f02ae74: 2b010043 */ slti $at,$t8,0x43 +/* f02ae78: 10200019 */ beqz $at,.PB0f02aee0 +/* f02ae7c: 00627823 */ subu $t7,$v1,$v0 +/* f02ae80: 25ee0042 */ addiu $t6,$t7,0x42 +/* f02ae84: 448e4000 */ mtc1 $t6,$f8 +/* f02ae88: 8fb90210 */ lw $t9,0x210($sp) +/* f02ae8c: 3c017f1b */ lui $at,0x7f1b +/* f02ae90: 468041a0 */ cvt.s.w $f6,$f8 +/* f02ae94: 44995000 */ mtc1 $t9,$f10 +/* f02ae98: c430a648 */ lwc1 $f16,-0x59b8($at) +/* f02ae9c: 3c017f1b */ lui $at,0x7f1b +/* f02aea0: c424a64c */ lwc1 $f4,-0x59b4($at) +/* f02aea4: 468054a0 */ cvt.s.w $f18,$f10 +/* f02aea8: 46103302 */ mul.s $f12,$f6,$f16 +/* f02aeac: 00000000 */ nop +/* f02aeb0: 46049082 */ mul.s $f2,$f18,$f4 +/* f02aeb4: 00000000 */ nop +/* f02aeb8: 46026002 */ mul.s $f0,$f12,$f2 +/* f02aebc: 4600020d */ trunc.w.s $f8,$f0 +/* f02aec0: 4600018d */ trunc.w.s $f6,$f0 +/* f02aec4: 44054000 */ mfc1 $a1,$f8 +/* f02aec8: 44063000 */ mfc1 $a2,$f6 +/* f02aecc: 30af00ff */ andi $t7,$a1,0xff +/* f02aed0: 01e02825 */ move $a1,$t7 +/* f02aed4: 30d900ff */ andi $t9,$a2,0xff +/* f02aed8: 10000001 */ b .PB0f02aee0 +/* f02aedc: 03203025 */ move $a2,$t9 +.PB0f02aee0: +/* f02aee0: 24040005 */ li $a0,0x5 +/* f02aee4: a3a5017f */ sb $a1,0x17f($sp) +/* f02aee8: a3a6017e */ sb $a2,0x17e($sp) +/* f02aeec: afa700f4 */ sw $a3,0xf4($sp) +/* f02aef0: afaa00f0 */ sw $t2,0xf0($sp) +/* f02aef4: 0fc5a40f */ jal 0xf16903c +/* f02aef8: afab00ec */ sw $t3,0xec($sp) +/* f02aefc: 8fb001f0 */ lw $s0,0x1f0($sp) +/* f02af00: 3c0e0710 */ lui $t6,0x710 +/* f02af04: 35ce0014 */ ori $t6,$t6,0x14 +/* f02af08: 260f0008 */ addiu $t7,$s0,0x8 +/* f02af0c: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02af10: ae0e0000 */ sw $t6,0x0($s0) +/* f02af14: afa201d8 */ sw $v0,0x1d8($sp) +/* f02af18: 0c012de0 */ jal 0x4b780 +/* f02af1c: 00402025 */ move $a0,$v0 +/* f02af20: 8fa301d8 */ lw $v1,0x1d8($sp) +/* f02af24: 93a5017f */ lbu $a1,0x17f($sp) +/* f02af28: 8fa700f4 */ lw $a3,0xf4($sp) +/* f02af2c: 8faa00f0 */ lw $t2,0xf0($sp) +/* f02af30: 8fab00ec */ lw $t3,0xec($sp) +/* f02af34: 93a6017e */ lbu $a2,0x17e($sp) +/* f02af38: ae020004 */ sw $v0,0x4($s0) +/* f02af3c: 8fb90100 */ lw $t9,0x100($sp) +/* f02af40: 2404001e */ li $a0,0x1e +/* f02af44: a0790000 */ sb $t9,0x0($v1) +/* f02af48: 8fb800fc */ lw $t8,0xfc($sp) +/* f02af4c: a0780001 */ sb $t8,0x1($v1) +/* f02af50: 8faf00f8 */ lw $t7,0xf8($sp) +/* f02af54: a0650003 */ sb $a1,0x3($v1) +/* f02af58: a0650007 */ sb $a1,0x7($v1) +/* f02af5c: a065000b */ sb $a1,0xb($v1) +/* f02af60: a0670004 */ sb $a3,0x4($v1) +/* f02af64: a0670008 */ sb $a3,0x8($v1) +/* f02af68: a06a0005 */ sb $t2,0x5($v1) +/* f02af6c: a06a0009 */ sb $t2,0x9($v1) +/* f02af70: a06b0006 */ sb $t3,0x6($v1) +/* f02af74: a06b000a */ sb $t3,0xa($v1) +/* f02af78: a06f0002 */ sb $t7,0x2($v1) +/* f02af7c: 8fae0100 */ lw $t6,0x100($sp) +/* f02af80: 24e70046 */ addiu $a3,$a3,0x46 +/* f02af84: 254a0046 */ addiu $t2,$t2,0x46 +/* f02af88: 25d90064 */ addiu $t9,$t6,0x64 +/* f02af8c: 2b210100 */ slti $at,$t9,0x100 +/* f02af90: 14200003 */ bnez $at,.PB0f02afa0 +/* f02af94: afb90100 */ sw $t9,0x100($sp) +/* f02af98: 240c00ff */ li $t4,0xff +/* f02af9c: afac0100 */ sw $t4,0x100($sp) +.PB0f02afa0: +/* f02afa0: 8fb80100 */ lw $t8,0x100($sp) +/* f02afa4: 256b0046 */ addiu $t3,$t3,0x46 +/* f02afa8: a078000c */ sb $t8,0xc($v1) +/* f02afac: 8faf00fc */ lw $t7,0xfc($sp) +/* f02afb0: 25ee0064 */ addiu $t6,$t7,0x64 +/* f02afb4: 29c10100 */ slti $at,$t6,0x100 +/* f02afb8: 14200003 */ bnez $at,.PB0f02afc8 +/* f02afbc: afae00fc */ sw $t6,0xfc($sp) +/* f02afc0: 240d00ff */ li $t5,0xff +/* f02afc4: afad00fc */ sw $t5,0xfc($sp) +.PB0f02afc8: +/* f02afc8: 8fb900fc */ lw $t9,0xfc($sp) +/* f02afcc: a079000d */ sb $t9,0xd($v1) +/* f02afd0: 8fb800f8 */ lw $t8,0xf8($sp) +/* f02afd4: 270f0064 */ addiu $t7,$t8,0x64 +/* f02afd8: 29e10100 */ slti $at,$t7,0x100 +/* f02afdc: 14200003 */ bnez $at,.PB0f02afec +/* f02afe0: afaf00f8 */ sw $t7,0xf8($sp) +/* f02afe4: 241f00ff */ li $ra,0xff +/* f02afe8: afbf00f8 */ sw $ra,0xf8($sp) +.PB0f02afec: +/* f02afec: 8fae00f8 */ lw $t6,0xf8($sp) +/* f02aff0: 28e10100 */ slti $at,$a3,0x100 +/* f02aff4: a066000f */ sb $a2,0xf($v1) +/* f02aff8: 14200002 */ bnez $at,.PB0f02b004 +/* f02affc: a06e000e */ sb $t6,0xe($v1) +/* f02b000: 240700ff */ li $a3,0xff +.PB0f02b004: +/* f02b004: 29410100 */ slti $at,$t2,0x100 +/* f02b008: 14200002 */ bnez $at,.PB0f02b014 +/* f02b00c: a0670010 */ sb $a3,0x10($v1) +/* f02b010: 240a00ff */ li $t2,0xff +.PB0f02b014: +/* f02b014: 29610100 */ slti $at,$t3,0x100 +/* f02b018: 14200002 */ bnez $at,.PB0f02b024 +/* f02b01c: a06a0011 */ sb $t2,0x11($v1) +/* f02b020: 240b00ff */ li $t3,0xff +.PB0f02b024: +/* f02b024: a06b0012 */ sb $t3,0x12($v1) +/* f02b028: 0fc5a3f5 */ jal 0xf168fd4 +/* f02b02c: a0650013 */ sb $a1,0x13($v1) +/* f02b030: 8fa80204 */ lw $t0,0x204($sp) +/* f02b034: 27b80104 */ addiu $t8,$sp,0x104 +/* f02b038: 00408025 */ move $s0,$v0 +/* f02b03c: 0008c900 */ sll $t9,$t0,0x4 +/* f02b040: 03382821 */ addu $a1,$t9,$t8 +/* f02b044: 00a03825 */ move $a3,$a1 +/* f02b048: afa50048 */ sw $a1,0x48($sp) +/* f02b04c: 27a50180 */ addiu $a1,$sp,0x180 +/* f02b050: 00002025 */ move $a0,$zero +/* f02b054: 00401825 */ move $v1,$v0 +.PB0f02b058: +/* f02b058: 8e410000 */ lw $at,0x0($s2) +/* f02b05c: 24840001 */ addiu $a0,$a0,0x1 +/* f02b060: 24e70004 */ addiu $a3,$a3,0x4 +/* f02b064: a8610000 */ swl $at,0x0($v1) +/* f02b068: b8610003 */ swr $at,0x3($v1) +/* f02b06c: 8e590004 */ lw $t9,0x4($s2) +/* f02b070: 2463000c */ addiu $v1,$v1,0xc +/* f02b074: a879fff8 */ swl $t9,-0x8($v1) +/* f02b078: b879fffb */ swr $t9,-0x5($v1) +/* f02b07c: 8e410008 */ lw $at,0x8($s2) +/* f02b080: a861fffc */ swl $at,-0x4($v1) +/* f02b084: b861ffff */ swr $at,-0x1($v1) +/* f02b088: 8cf8fffc */ lw $t8,-0x4($a3) +/* f02b08c: 28810004 */ slti $at,$a0,0x4 +/* f02b090: 03110019 */ multu $t8,$s1 +/* f02b094: 00007012 */ mflo $t6 +/* f02b098: 00ae7821 */ addu $t7,$a1,$t6 +/* f02b09c: 85f90000 */ lh $t9,0x0($t7) +/* f02b0a0: a479fff4 */ sh $t9,-0xc($v1) +/* f02b0a4: 8cf8fffc */ lw $t8,-0x4($a3) +/* f02b0a8: 03110019 */ multu $t8,$s1 +/* f02b0ac: 00007012 */ mflo $t6 +/* f02b0b0: 00ae7821 */ addu $t7,$a1,$t6 +/* f02b0b4: 85f90002 */ lh $t9,0x2($t7) +/* f02b0b8: a479fff6 */ sh $t9,-0xa($v1) +/* f02b0bc: 8cf8fffc */ lw $t8,-0x4($a3) +/* f02b0c0: 03110019 */ multu $t8,$s1 +/* f02b0c4: 00007012 */ mflo $t6 +/* f02b0c8: 00ae7821 */ addu $t7,$a1,$t6 +/* f02b0cc: 85f90004 */ lh $t9,0x4($t7) +/* f02b0d0: a060fffb */ sb $zero,-0x5($v1) +/* f02b0d4: 1420ffe0 */ bnez $at,.PB0f02b058 +/* f02b0d8: a479fff8 */ sh $t9,-0x8($v1) +/* f02b0dc: 8fa401f4 */ lw $a0,0x1f4($sp) +/* f02b0e0: a4550008 */ sh $s5,0x8($v0) +/* f02b0e4: a453000a */ sh $s3,0xa($v0) +/* f02b0e8: 87ab0052 */ lh $t3,0x52($sp) +/* f02b0ec: a4530016 */ sh $s3,0x16($v0) +/* f02b0f0: a4540022 */ sh $s4,0x22($v0) +/* f02b0f4: a455002c */ sh $s5,0x2c($v0) +/* f02b0f8: a454002e */ sh $s4,0x2e($v0) +/* f02b0fc: a44b0014 */ sh $t3,0x14($v0) +/* f02b100: a44b0020 */ sh $t3,0x20($v0) +/* f02b104: 8e410000 */ lw $at,0x0($s2) +/* f02b108: a8410030 */ swl $at,0x30($v0) +/* f02b10c: b8410033 */ swr $at,0x33($v0) +/* f02b110: 8e4e0004 */ lw $t6,0x4($s2) +/* f02b114: a84e0034 */ swl $t6,0x34($v0) +/* f02b118: b84e0037 */ swr $t6,0x37($v0) +/* f02b11c: 8e410008 */ lw $at,0x8($s2) +/* f02b120: a8410038 */ swl $at,0x38($v0) +/* f02b124: b841003b */ swr $at,0x3b($v0) +/* f02b128: 84830012 */ lh $v1,0x12($a0) +/* f02b12c: 24017fff */ li $at,0x7fff +/* f02b130: 5461001e */ bnel $v1,$at,.PB0f02b1ac +/* f02b134: a4430030 */ sh $v1,0x30($v0) +/* f02b138: 844f0024 */ lh $t7,0x24($v0) +/* f02b13c: 84590000 */ lh $t9,0x0($v0) +/* f02b140: 844e000c */ lh $t6,0xc($v0) +/* f02b144: 01f9c021 */ addu $t8,$t7,$t9 +/* f02b148: 84590018 */ lh $t9,0x18($v0) +/* f02b14c: 030e7821 */ addu $t7,$t8,$t6 +/* f02b150: 01f9c021 */ addu $t8,$t7,$t9 +/* f02b154: 84590002 */ lh $t9,0x2($v0) +/* f02b158: 844f0026 */ lh $t7,0x26($v0) +/* f02b15c: 00187083 */ sra $t6,$t8,0x2 +/* f02b160: a44e0030 */ sh $t6,0x30($v0) +/* f02b164: 844e000e */ lh $t6,0xe($v0) +/* f02b168: 01f9c021 */ addu $t8,$t7,$t9 +/* f02b16c: 8459001a */ lh $t9,0x1a($v0) +/* f02b170: 030e7821 */ addu $t7,$t8,$t6 +/* f02b174: 01f9c021 */ addu $t8,$t7,$t9 +/* f02b178: 84590004 */ lh $t9,0x4($v0) +/* f02b17c: 844f0028 */ lh $t7,0x28($v0) +/* f02b180: 00187083 */ sra $t6,$t8,0x2 +/* f02b184: a44e0032 */ sh $t6,0x32($v0) +/* f02b188: 844e0010 */ lh $t6,0x10($v0) +/* f02b18c: 01f9c021 */ addu $t8,$t7,$t9 +/* f02b190: 8459001c */ lh $t9,0x1c($v0) +/* f02b194: 030e7821 */ addu $t7,$t8,$t6 +/* f02b198: 01f9c021 */ addu $t8,$t7,$t9 +/* f02b19c: 00187083 */ sra $t6,$t8,0x2 +/* f02b1a0: 10000006 */ b .PB0f02b1bc +/* f02b1a4: a44e0034 */ sh $t6,0x34($v0) +/* f02b1a8: a4430030 */ sh $v1,0x30($v0) +.PB0f02b1ac: +/* f02b1ac: 848f0014 */ lh $t7,0x14($a0) +/* f02b1b0: a44f0032 */ sh $t7,0x32($v0) +/* f02b1b4: 84990016 */ lh $t9,0x16($a0) +/* f02b1b8: a4590034 */ sh $t9,0x34($v0) +.PB0f02b1bc: +/* f02b1bc: 02ab1821 */ addu $v1,$s5,$t3 +/* f02b1c0: 02741021 */ addu $v0,$s3,$s4 +/* f02b1c4: 2418000c */ li $t8,0xc +/* f02b1c8: 00037043 */ sra $t6,$v1,0x1 +/* f02b1cc: 00027843 */ sra $t7,$v0,0x1 +/* f02b1d0: a2180037 */ sb $t8,0x37($s0) +/* f02b1d4: a60e0038 */ sh $t6,0x38($s0) +/* f02b1d8: a60f003a */ sh $t7,0x3a($s0) +/* f02b1dc: 8fb901f0 */ lw $t9,0x1f0($sp) +/* f02b1e0: 01c01825 */ move $v1,$t6 +/* f02b1e4: 3c0e0440 */ lui $t6,0x440 +/* f02b1e8: 27380008 */ addiu $t8,$t9,0x8 +/* f02b1ec: afb801f0 */ sw $t8,0x1f0($sp) +/* f02b1f0: 35ce003c */ ori $t6,$t6,0x3c +/* f02b1f4: af2e0000 */ sw $t6,0x0($t9) +/* f02b1f8: afab0044 */ sw $t3,0x44($sp) +/* f02b1fc: afa30040 */ sw $v1,0x40($sp) +/* f02b200: afaf004c */ sw $t7,0x4c($sp) +/* f02b204: 02002025 */ move $a0,$s0 +/* f02b208: 0c012de0 */ jal 0x4b780 +/* f02b20c: afb90078 */ sw $t9,0x78($sp) +/* f02b210: 8fa60078 */ lw $a2,0x78($sp) +/* f02b214: 8fa80204 */ lw $t0,0x204($sp) +/* f02b218: 8fab0044 */ lw $t3,0x44($sp) +/* f02b21c: acc20004 */ sw $v0,0x4($a2) +/* f02b220: 8faf01f0 */ lw $t7,0x1f0($sp) +/* f02b224: 3c18b100 */ lui $t8,0xb100 +/* f02b228: 3c0e0332 */ lui $t6,0x332 +/* f02b22c: 25f90008 */ addiu $t9,$t7,0x8 +/* f02b230: afb901f0 */ sw $t9,0x1f0($sp) +/* f02b234: 35ce2110 */ ori $t6,$t6,0x2110 +/* f02b238: 37184444 */ ori $t8,$t8,0x4444 +/* f02b23c: adf80000 */ sw $t8,0x0($t7) +/* f02b240: adee0004 */ sw $t6,0x4($t7) +/* f02b244: 27a50180 */ addiu $a1,$sp,0x180 +/* f02b248: 24090004 */ li $t1,0x4 +/* f02b24c: 2610003c */ addiu $s0,$s0,0x3c +/* f02b250: 8fa70048 */ lw $a3,0x48($sp) +/* f02b254: 00002025 */ move $a0,$zero +/* f02b258: 241f0005 */ li $ra,0x5 +/* f02b25c: 240d0008 */ li $t5,0x8 +/* f02b260: 240c0004 */ li $t4,0x4 +.PB0f02b264: +/* f02b264: 8e410000 */ lw $at,0x0($s2) +/* f02b268: 248a0001 */ addiu $t2,$a0,0x1 +/* f02b26c: aa010000 */ swl $at,0x0($s0) +/* f02b270: ba010003 */ swr $at,0x3($s0) +/* f02b274: 8e590004 */ lw $t9,0x4($s2) +/* f02b278: aa190004 */ swl $t9,0x4($s0) +/* f02b27c: ba190007 */ swr $t9,0x7($s0) +/* f02b280: 8e410008 */ lw $at,0x8($s2) +/* f02b284: aa010008 */ swl $at,0x8($s0) +/* f02b288: ba01000b */ swr $at,0xb($s0) +/* f02b28c: 8fb80048 */ lw $t8,0x48($sp) +/* f02b290: 05410004 */ bgez $t2,.PB0f02b2a4 +/* f02b294: 314e0003 */ andi $t6,$t2,0x3 +/* f02b298: 11c00002 */ beqz $t6,.PB0f02b2a4 +/* f02b29c: 00000000 */ nop +/* f02b2a0: 25cefffc */ addiu $t6,$t6,-4 +.PB0f02b2a4: +/* f02b2a4: 000e7880 */ sll $t7,$t6,0x2 +/* f02b2a8: 030f1021 */ addu $v0,$t8,$t7 +/* f02b2ac: 8c590000 */ lw $t9,0x0($v0) +/* f02b2b0: 03310019 */ multu $t9,$s1 +/* f02b2b4: 00007012 */ mflo $t6 +/* f02b2b8: 00aec021 */ addu $t8,$a1,$t6 +/* f02b2bc: 870f0000 */ lh $t7,0x0($t8) +/* f02b2c0: a60f0000 */ sh $t7,0x0($s0) +/* f02b2c4: 8c590000 */ lw $t9,0x0($v0) +/* f02b2c8: 03310019 */ multu $t9,$s1 +/* f02b2cc: 00007012 */ mflo $t6 +/* f02b2d0: 00aec021 */ addu $t8,$a1,$t6 +/* f02b2d4: 870f0002 */ lh $t7,0x2($t8) +/* f02b2d8: a60f0002 */ sh $t7,0x2($s0) +/* f02b2dc: 8c590000 */ lw $t9,0x0($v0) +/* f02b2e0: 03310019 */ multu $t9,$s1 +/* f02b2e4: 00007012 */ mflo $t6 +/* f02b2e8: 00aec021 */ addu $t8,$a1,$t6 +/* f02b2ec: 870f0004 */ lh $t7,0x4($t8) +/* f02b2f0: a20c0007 */ sb $t4,0x7($s0) +/* f02b2f4: a60f0004 */ sh $t7,0x4($s0) +/* f02b2f8: 8e410000 */ lw $at,0x0($s2) +/* f02b2fc: aa01000c */ swl $at,0xc($s0) +/* f02b300: ba01000f */ swr $at,0xf($s0) +/* f02b304: 8e4e0004 */ lw $t6,0x4($s2) +/* f02b308: aa0e0010 */ swl $t6,0x10($s0) +/* f02b30c: ba0e0013 */ swr $t6,0x13($s0) +/* f02b310: 8e410008 */ lw $at,0x8($s2) +/* f02b314: aa010014 */ swl $at,0x14($s0) +/* f02b318: ba010017 */ swr $at,0x17($s0) +/* f02b31c: 8cf80000 */ lw $t8,0x0($a3) +/* f02b320: 03110019 */ multu $t8,$s1 +/* f02b324: 00007812 */ mflo $t7 +/* f02b328: 00afc821 */ addu $t9,$a1,$t7 +/* f02b32c: 872e0000 */ lh $t6,0x0($t9) +/* f02b330: a60e000c */ sh $t6,0xc($s0) +/* f02b334: 8cf80000 */ lw $t8,0x0($a3) +/* f02b338: 03110019 */ multu $t8,$s1 +/* f02b33c: 00007812 */ mflo $t7 +/* f02b340: 00afc821 */ addu $t9,$a1,$t7 +/* f02b344: 872e0002 */ lh $t6,0x2($t9) +/* f02b348: a60e000e */ sh $t6,0xe($s0) +/* f02b34c: 8cf80000 */ lw $t8,0x0($a3) +/* f02b350: 03110019 */ multu $t8,$s1 +/* f02b354: 00007812 */ mflo $t7 +/* f02b358: 00afc821 */ addu $t9,$a1,$t7 +/* f02b35c: 872e0004 */ lh $t6,0x4($t9) +/* f02b360: a20c0013 */ sb $t4,0x13($s0) +/* f02b364: a60e0010 */ sh $t6,0x10($s0) +/* f02b368: 8e410000 */ lw $at,0x0($s2) +/* f02b36c: aa010018 */ swl $at,0x18($s0) +/* f02b370: ba01001b */ swr $at,0x1b($s0) +/* f02b374: 8e4f0004 */ lw $t7,0x4($s2) +/* f02b378: aa0f001c */ swl $t7,0x1c($s0) +/* f02b37c: ba0f001f */ swr $t7,0x1f($s0) +/* f02b380: 8e410008 */ lw $at,0x8($s2) +/* f02b384: aa010020 */ swl $at,0x20($s0) +/* f02b388: ba010023 */ swr $at,0x23($s0) +/* f02b38c: 8cf90000 */ lw $t9,0x0($a3) +/* f02b390: 24010001 */ li $at,0x1 +/* f02b394: 03310019 */ multu $t9,$s1 +/* f02b398: 00007012 */ mflo $t6 +/* f02b39c: 00aec021 */ addu $t8,$a1,$t6 +/* f02b3a0: 870f0000 */ lh $t7,0x0($t8) +/* f02b3a4: a60f0018 */ sh $t7,0x18($s0) +/* f02b3a8: 8cf90000 */ lw $t9,0x0($a3) +/* f02b3ac: 03310019 */ multu $t9,$s1 +/* f02b3b0: 00007012 */ mflo $t6 +/* f02b3b4: 00aec021 */ addu $t8,$a1,$t6 +/* f02b3b8: 870f0002 */ lh $t7,0x2($t8) +/* f02b3bc: a60f001a */ sh $t7,0x1a($s0) +/* f02b3c0: 8cf90000 */ lw $t9,0x0($a3) +/* f02b3c4: 03310019 */ multu $t9,$s1 +/* f02b3c8: 00007012 */ mflo $t6 +/* f02b3cc: 00aec021 */ addu $t8,$a1,$t6 +/* f02b3d0: 870f0004 */ lh $t7,0x4($t8) +/* f02b3d4: a20d001f */ sb $t5,0x1f($s0) +/* f02b3d8: 15000004 */ bnez $t0,.PB0f02b3ec +/* f02b3dc: a60f001c */ sh $t7,0x1c($s0) +/* f02b3e0: 8fb901c8 */ lw $t9,0x1c8($sp) +/* f02b3e4: 10000016 */ b .PB0f02b440 +/* f02b3e8: a6190018 */ sh $t9,0x18($s0) +.PB0f02b3ec: +/* f02b3ec: 15010003 */ bne $t0,$at,.PB0f02b3fc +/* f02b3f0: 8fae01cc */ lw $t6,0x1cc($sp) +/* f02b3f4: 10000012 */ b .PB0f02b440 +/* f02b3f8: a60e0018 */ sh $t6,0x18($s0) +.PB0f02b3fc: +/* f02b3fc: 24010002 */ li $at,0x2 +/* f02b400: 15010003 */ bne $t0,$at,.PB0f02b410 +/* f02b404: 8fb801c0 */ lw $t8,0x1c0($sp) +/* f02b408: 1000000d */ b .PB0f02b440 +/* f02b40c: a618001a */ sh $t8,0x1a($s0) +.PB0f02b410: +/* f02b410: 24010003 */ li $at,0x3 +/* f02b414: 15010003 */ bne $t0,$at,.PB0f02b424 +/* f02b418: 8faf01c4 */ lw $t7,0x1c4($sp) +/* f02b41c: 10000008 */ b .PB0f02b440 +/* f02b420: a60f001a */ sh $t7,0x1a($s0) +.PB0f02b424: +/* f02b424: 15090003 */ bne $t0,$t1,.PB0f02b434 +/* f02b428: 8fb901b8 */ lw $t9,0x1b8($sp) +/* f02b42c: 10000004 */ b .PB0f02b440 +/* f02b430: a619001c */ sh $t9,0x1c($s0) +.PB0f02b434: +/* f02b434: 151f0002 */ bne $t0,$ra,.PB0f02b440 +/* f02b438: 8fae01bc */ lw $t6,0x1bc($sp) +/* f02b43c: a60e001c */ sh $t6,0x1c($s0) +.PB0f02b440: +/* f02b440: 8e410000 */ lw $at,0x0($s2) +/* f02b444: aa010024 */ swl $at,0x24($s0) +/* f02b448: ba010027 */ swr $at,0x27($s0) +/* f02b44c: 8e4f0004 */ lw $t7,0x4($s2) +/* f02b450: aa0f0028 */ swl $t7,0x28($s0) +/* f02b454: ba0f002b */ swr $t7,0x2b($s0) +/* f02b458: 8e410008 */ lw $at,0x8($s2) +/* f02b45c: aa01002c */ swl $at,0x2c($s0) +/* f02b460: ba01002f */ swr $at,0x2f($s0) +/* f02b464: 8c590000 */ lw $t9,0x0($v0) +/* f02b468: 24010001 */ li $at,0x1 +/* f02b46c: 03310019 */ multu $t9,$s1 +/* f02b470: 00007012 */ mflo $t6 +/* f02b474: 00aec021 */ addu $t8,$a1,$t6 +/* f02b478: 870f0000 */ lh $t7,0x0($t8) +/* f02b47c: a60f0024 */ sh $t7,0x24($s0) +/* f02b480: 8c590000 */ lw $t9,0x0($v0) +/* f02b484: 03310019 */ multu $t9,$s1 +/* f02b488: 00007012 */ mflo $t6 +/* f02b48c: 00aec021 */ addu $t8,$a1,$t6 +/* f02b490: 870f0002 */ lh $t7,0x2($t8) +/* f02b494: a60f0026 */ sh $t7,0x26($s0) +/* f02b498: 8c590000 */ lw $t9,0x0($v0) +/* f02b49c: 03310019 */ multu $t9,$s1 +/* f02b4a0: 00007012 */ mflo $t6 +/* f02b4a4: 00aec021 */ addu $t8,$a1,$t6 +/* f02b4a8: 870f0004 */ lh $t7,0x4($t8) +/* f02b4ac: a20d002b */ sb $t5,0x2b($s0) +/* f02b4b0: 15000004 */ bnez $t0,.PB0f02b4c4 +/* f02b4b4: a60f0028 */ sh $t7,0x28($s0) +/* f02b4b8: 8fb901c8 */ lw $t9,0x1c8($sp) +/* f02b4bc: 10000016 */ b .PB0f02b518 +/* f02b4c0: a6190024 */ sh $t9,0x24($s0) +.PB0f02b4c4: +/* f02b4c4: 15010003 */ bne $t0,$at,.PB0f02b4d4 +/* f02b4c8: 8fae01cc */ lw $t6,0x1cc($sp) +/* f02b4cc: 10000012 */ b .PB0f02b518 +/* f02b4d0: a60e0024 */ sh $t6,0x24($s0) +.PB0f02b4d4: +/* f02b4d4: 24010002 */ li $at,0x2 +/* f02b4d8: 15010003 */ bne $t0,$at,.PB0f02b4e8 +/* f02b4dc: 8fb801c0 */ lw $t8,0x1c0($sp) +/* f02b4e0: 1000000d */ b .PB0f02b518 +/* f02b4e4: a6180026 */ sh $t8,0x26($s0) +.PB0f02b4e8: +/* f02b4e8: 24010003 */ li $at,0x3 +/* f02b4ec: 15010003 */ bne $t0,$at,.PB0f02b4fc +/* f02b4f0: 8faf01c4 */ lw $t7,0x1c4($sp) +/* f02b4f4: 10000008 */ b .PB0f02b518 +/* f02b4f8: a60f0026 */ sh $t7,0x26($s0) +.PB0f02b4fc: +/* f02b4fc: 15090003 */ bne $t0,$t1,.PB0f02b50c +/* f02b500: 8fb901b8 */ lw $t9,0x1b8($sp) +/* f02b504: 10000004 */ b .PB0f02b518 +/* f02b508: a6190028 */ sh $t9,0x28($s0) +.PB0f02b50c: +/* f02b50c: 151f0002 */ bne $t0,$ra,.PB0f02b518 +/* f02b510: 8fae01bc */ lw $t6,0x1bc($sp) +/* f02b514: a60e0028 */ sh $t6,0x28($s0) +.PB0f02b518: +/* f02b518: a6150008 */ sh $s5,0x8($s0) +/* f02b51c: a613000a */ sh $s3,0xa($s0) +/* f02b520: a60b0014 */ sh $t3,0x14($s0) +/* f02b524: a6130016 */ sh $s3,0x16($s0) +/* f02b528: a60b0020 */ sh $t3,0x20($s0) +/* f02b52c: a6140022 */ sh $s4,0x22($s0) +/* f02b530: a615002c */ sh $s5,0x2c($s0) +/* f02b534: a614002e */ sh $s4,0x2e($s0) +/* f02b538: 8e410000 */ lw $at,0x0($s2) +/* f02b53c: 86190024 */ lh $t9,0x24($s0) +/* f02b540: 860e0000 */ lh $t6,0x0($s0) +/* f02b544: aa010030 */ swl $at,0x30($s0) +/* f02b548: ba010033 */ swr $at,0x33($s0) +/* f02b54c: 8e4f0004 */ lw $t7,0x4($s2) +/* f02b550: 032ec021 */ addu $t8,$t9,$t6 +/* f02b554: 860e0018 */ lh $t6,0x18($s0) +/* f02b558: aa0f0034 */ swl $t7,0x34($s0) +/* f02b55c: ba0f0037 */ swr $t7,0x37($s0) +/* f02b560: 860f000c */ lh $t7,0xc($s0) +/* f02b564: 8e410008 */ lw $at,0x8($s2) +/* f02b568: 02002025 */ move $a0,$s0 +/* f02b56c: 030fc821 */ addu $t9,$t8,$t7 +/* f02b570: 032ec021 */ addu $t8,$t9,$t6 +/* f02b574: 860e0002 */ lh $t6,0x2($s0) +/* f02b578: 86190026 */ lh $t9,0x26($s0) +/* f02b57c: 00187883 */ sra $t7,$t8,0x2 +/* f02b580: a60f0030 */ sh $t7,0x30($s0) +/* f02b584: 860f000e */ lh $t7,0xe($s0) +/* f02b588: 032ec021 */ addu $t8,$t9,$t6 +/* f02b58c: 860e001a */ lh $t6,0x1a($s0) +/* f02b590: 030fc821 */ addu $t9,$t8,$t7 +/* f02b594: aa010038 */ swl $at,0x38($s0) +/* f02b598: 032ec021 */ addu $t8,$t9,$t6 +/* f02b59c: 860e0004 */ lh $t6,0x4($s0) +/* f02b5a0: 86190028 */ lh $t9,0x28($s0) +/* f02b5a4: 00187883 */ sra $t7,$t8,0x2 +/* f02b5a8: a60f0032 */ sh $t7,0x32($s0) +/* f02b5ac: 860f0010 */ lh $t7,0x10($s0) +/* f02b5b0: 032ec021 */ addu $t8,$t9,$t6 +/* f02b5b4: 860e001c */ lh $t6,0x1c($s0) +/* f02b5b8: 030fc821 */ addu $t9,$t8,$t7 +/* f02b5bc: ba01003b */ swr $at,0x3b($s0) +/* f02b5c0: 032ec021 */ addu $t8,$t9,$t6 +/* f02b5c4: 00187883 */ sra $t7,$t8,0x2 +/* f02b5c8: 24190010 */ li $t9,0x10 +/* f02b5cc: a60f0034 */ sh $t7,0x34($s0) +/* f02b5d0: a2190037 */ sb $t9,0x37($s0) +/* f02b5d4: 8fae0040 */ lw $t6,0x40($sp) +/* f02b5d8: a60e0038 */ sh $t6,0x38($s0) +/* f02b5dc: 8fb8004c */ lw $t8,0x4c($sp) +/* f02b5e0: 3c0e0440 */ lui $t6,0x440 +/* f02b5e4: 35ce003c */ ori $t6,$t6,0x3c +/* f02b5e8: a618003a */ sh $t8,0x3a($s0) +/* f02b5ec: 8faf01f0 */ lw $t7,0x1f0($sp) +/* f02b5f0: 25f90008 */ addiu $t9,$t7,0x8 +/* f02b5f4: afb901f0 */ sw $t9,0x1f0($sp) +/* f02b5f8: adee0000 */ sw $t6,0x0($t7) +/* f02b5fc: afab0044 */ sw $t3,0x44($sp) +/* f02b600: afaa0058 */ sw $t2,0x58($sp) +/* f02b604: afa70054 */ sw $a3,0x54($sp) +/* f02b608: 0c012de0 */ jal 0x4b780 +/* f02b60c: afaf0068 */ sw $t7,0x68($sp) +/* f02b610: 8fa60068 */ lw $a2,0x68($sp) +/* f02b614: 8fa70054 */ lw $a3,0x54($sp) +/* f02b618: 8fa40058 */ lw $a0,0x58($sp) +/* f02b61c: 8fa80204 */ lw $t0,0x204($sp) +/* f02b620: 8fab0044 */ lw $t3,0x44($sp) +/* f02b624: acc20004 */ sw $v0,0x4($a2) +/* f02b628: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f02b62c: 3c19b100 */ lui $t9,0xb100 +/* f02b630: 3c0e0332 */ lui $t6,0x332 +/* f02b634: 270f0008 */ addiu $t7,$t8,0x8 +/* f02b638: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02b63c: 35ce2110 */ ori $t6,$t6,0x2110 +/* f02b640: 37394444 */ ori $t9,$t9,0x4444 +/* f02b644: 28810004 */ slti $at,$a0,0x4 +/* f02b648: 27a50180 */ addiu $a1,$sp,0x180 +/* f02b64c: 24090004 */ li $t1,0x4 +/* f02b650: 240c0004 */ li $t4,0x4 +/* f02b654: 240d0008 */ li $t5,0x8 +/* f02b658: 241f0005 */ li $ra,0x5 +/* f02b65c: 2610003c */ addiu $s0,$s0,0x3c +/* f02b660: 24e70004 */ addiu $a3,$a3,0x4 +/* f02b664: af190000 */ sw $t9,0x0($t8) +/* f02b668: 1420fefe */ bnez $at,.PB0f02b264 +/* f02b66c: af0e0004 */ sw $t6,0x4($t8) +/* f02b670: 8fa20048 */ lw $v0,0x48($sp) +/* f02b674: 02001825 */ move $v1,$s0 +/* f02b678: 00003025 */ move $a2,$zero +/* f02b67c: 24040010 */ li $a0,0x10 +/* f02b680: 2442000c */ addiu $v0,$v0,0xc +.PB0f02b684: +/* f02b684: 8e410000 */ lw $at,0x0($s2) +/* f02b688: 24c60004 */ addiu $a2,$a2,0x4 +/* f02b68c: 2442fffc */ addiu $v0,$v0,-4 +/* f02b690: a8610000 */ swl $at,0x0($v1) +/* f02b694: b8610003 */ swr $at,0x3($v1) +/* f02b698: 8e4f0004 */ lw $t7,0x4($s2) +/* f02b69c: a86f0004 */ swl $t7,0x4($v1) +/* f02b6a0: b86f0007 */ swr $t7,0x7($v1) +/* f02b6a4: 8e410008 */ lw $at,0x8($s2) +/* f02b6a8: a8610008 */ swl $at,0x8($v1) +/* f02b6ac: b861000b */ swr $at,0xb($v1) +/* f02b6b0: 8c590004 */ lw $t9,0x4($v0) +/* f02b6b4: 24010001 */ li $at,0x1 +/* f02b6b8: 03310019 */ multu $t9,$s1 +/* f02b6bc: 00007012 */ mflo $t6 +/* f02b6c0: 00aec021 */ addu $t8,$a1,$t6 +/* f02b6c4: 870f0000 */ lh $t7,0x0($t8) +/* f02b6c8: a46f0000 */ sh $t7,0x0($v1) +/* f02b6cc: 8c590004 */ lw $t9,0x4($v0) +/* f02b6d0: 03310019 */ multu $t9,$s1 +/* f02b6d4: 00007012 */ mflo $t6 +/* f02b6d8: 00aec021 */ addu $t8,$a1,$t6 +/* f02b6dc: 870f0002 */ lh $t7,0x2($t8) +/* f02b6e0: a46f0002 */ sh $t7,0x2($v1) +/* f02b6e4: 8c590004 */ lw $t9,0x4($v0) +/* f02b6e8: 03310019 */ multu $t9,$s1 +/* f02b6ec: 00007012 */ mflo $t6 +/* f02b6f0: 00aec021 */ addu $t8,$a1,$t6 +/* f02b6f4: 870f0004 */ lh $t7,0x4($t8) +/* f02b6f8: a06d0007 */ sb $t5,0x7($v1) +/* f02b6fc: 15000004 */ bnez $t0,.PB0f02b710 +/* f02b700: a46f0004 */ sh $t7,0x4($v1) +/* f02b704: 8fb901c8 */ lw $t9,0x1c8($sp) +/* f02b708: 10000016 */ b .PB0f02b764 +/* f02b70c: a4790000 */ sh $t9,0x0($v1) +.PB0f02b710: +/* f02b710: 15010003 */ bne $t0,$at,.PB0f02b720 +/* f02b714: 8fae01cc */ lw $t6,0x1cc($sp) +/* f02b718: 10000012 */ b .PB0f02b764 +/* f02b71c: a46e0000 */ sh $t6,0x0($v1) +.PB0f02b720: +/* f02b720: 24010002 */ li $at,0x2 +/* f02b724: 15010003 */ bne $t0,$at,.PB0f02b734 +/* f02b728: 8fb801c0 */ lw $t8,0x1c0($sp) +/* f02b72c: 1000000d */ b .PB0f02b764 +/* f02b730: a4780002 */ sh $t8,0x2($v1) +.PB0f02b734: +/* f02b734: 24010003 */ li $at,0x3 +/* f02b738: 15010003 */ bne $t0,$at,.PB0f02b748 +/* f02b73c: 8faf01c4 */ lw $t7,0x1c4($sp) +/* f02b740: 10000008 */ b .PB0f02b764 +/* f02b744: a46f0002 */ sh $t7,0x2($v1) +.PB0f02b748: +/* f02b748: 15090003 */ bne $t0,$t1,.PB0f02b758 +/* f02b74c: 8fb901b8 */ lw $t9,0x1b8($sp) +/* f02b750: 10000004 */ b .PB0f02b764 +/* f02b754: a4790004 */ sh $t9,0x4($v1) +.PB0f02b758: +/* f02b758: 151f0002 */ bne $t0,$ra,.PB0f02b764 +/* f02b75c: 8fae01bc */ lw $t6,0x1bc($sp) +/* f02b760: a46e0004 */ sh $t6,0x4($v1) +.PB0f02b764: +/* f02b764: 14c4ffc7 */ bne $a2,$a0,.PB0f02b684 +/* f02b768: 2463000c */ addiu $v1,$v1,0xc +/* f02b76c: a6150008 */ sh $s5,0x8($s0) +/* f02b770: a613000a */ sh $s3,0xa($s0) +/* f02b774: a60b0014 */ sh $t3,0x14($s0) +/* f02b778: a6130016 */ sh $s3,0x16($s0) +/* f02b77c: a60b0020 */ sh $t3,0x20($s0) +/* f02b780: a6140022 */ sh $s4,0x22($s0) +/* f02b784: a615002c */ sh $s5,0x2c($s0) +/* f02b788: a614002e */ sh $s4,0x2e($s0) +/* f02b78c: 8e410000 */ lw $at,0x0($s2) +/* f02b790: 86190024 */ lh $t9,0x24($s0) +/* f02b794: 860e0000 */ lh $t6,0x0($s0) +/* f02b798: aa010030 */ swl $at,0x30($s0) +/* f02b79c: ba010033 */ swr $at,0x33($s0) +/* f02b7a0: 8e4f0004 */ lw $t7,0x4($s2) +/* f02b7a4: 032ec021 */ addu $t8,$t9,$t6 +/* f02b7a8: 860e0018 */ lh $t6,0x18($s0) +/* f02b7ac: aa0f0034 */ swl $t7,0x34($s0) +/* f02b7b0: ba0f0037 */ swr $t7,0x37($s0) +/* f02b7b4: 860f000c */ lh $t7,0xc($s0) +/* f02b7b8: 8e410008 */ lw $at,0x8($s2) +/* f02b7bc: 02002025 */ move $a0,$s0 +/* f02b7c0: 030fc821 */ addu $t9,$t8,$t7 +/* f02b7c4: 032ec021 */ addu $t8,$t9,$t6 +/* f02b7c8: 860e0002 */ lh $t6,0x2($s0) +/* f02b7cc: 86190026 */ lh $t9,0x26($s0) +/* f02b7d0: 00187883 */ sra $t7,$t8,0x2 +/* f02b7d4: a60f0030 */ sh $t7,0x30($s0) +/* f02b7d8: 860f000e */ lh $t7,0xe($s0) +/* f02b7dc: 032ec021 */ addu $t8,$t9,$t6 +/* f02b7e0: 860e001a */ lh $t6,0x1a($s0) +/* f02b7e4: 030fc821 */ addu $t9,$t8,$t7 +/* f02b7e8: aa010038 */ swl $at,0x38($s0) +/* f02b7ec: 032ec021 */ addu $t8,$t9,$t6 +/* f02b7f0: 860e0004 */ lh $t6,0x4($s0) +/* f02b7f4: 86190028 */ lh $t9,0x28($s0) +/* f02b7f8: 00187883 */ sra $t7,$t8,0x2 +/* f02b7fc: a60f0032 */ sh $t7,0x32($s0) +/* f02b800: 860f0010 */ lh $t7,0x10($s0) +/* f02b804: 032ec021 */ addu $t8,$t9,$t6 +/* f02b808: 860e001c */ lh $t6,0x1c($s0) +/* f02b80c: 030fc821 */ addu $t9,$t8,$t7 +/* f02b810: ba01003b */ swr $at,0x3b($s0) +/* f02b814: 032ec021 */ addu $t8,$t9,$t6 +/* f02b818: 00187883 */ sra $t7,$t8,0x2 +/* f02b81c: 24190010 */ li $t9,0x10 +/* f02b820: a60f0034 */ sh $t7,0x34($s0) +/* f02b824: a2190037 */ sb $t9,0x37($s0) +/* f02b828: 8fae0040 */ lw $t6,0x40($sp) +/* f02b82c: a60e0038 */ sh $t6,0x38($s0) +/* f02b830: 8fb8004c */ lw $t8,0x4c($sp) +/* f02b834: 3c0e0440 */ lui $t6,0x440 +/* f02b838: 35ce003c */ ori $t6,$t6,0x3c +/* f02b83c: a618003a */ sh $t8,0x3a($s0) +/* f02b840: 8fb101f0 */ lw $s1,0x1f0($sp) +/* f02b844: 26390008 */ addiu $t9,$s1,0x8 +/* f02b848: afb901f0 */ sw $t9,0x1f0($sp) +/* f02b84c: 0c012de0 */ jal 0x4b780 +/* f02b850: ae2e0000 */ sw $t6,0x0($s1) +/* f02b854: ae220004 */ sw $v0,0x4($s1) +/* f02b858: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f02b85c: 3c19b100 */ lui $t9,0xb100 +/* f02b860: 3c0e0332 */ lui $t6,0x332 +/* f02b864: 270f0008 */ addiu $t7,$t8,0x8 +/* f02b868: afaf01f0 */ sw $t7,0x1f0($sp) +/* f02b86c: 35ce2110 */ ori $t6,$t6,0x2110 +/* f02b870: 37394444 */ ori $t9,$t9,0x4444 +/* f02b874: af190000 */ sw $t9,0x0($t8) +/* f02b878: af0e0004 */ sw $t6,0x4($t8) +/* f02b87c: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f02b880: +/* f02b880: 8fa201f0 */ lw $v0,0x1f0($sp) +/* f02b884: 8fb00024 */ lw $s0,0x24($sp) +/* f02b888: 8fb10028 */ lw $s1,0x28($sp) +/* f02b88c: 8fb2002c */ lw $s2,0x2c($sp) +/* f02b890: 8fb30030 */ lw $s3,0x30($sp) +/* f02b894: 8fb40034 */ lw $s4,0x34($sp) +/* f02b898: 8fb50038 */ lw $s5,0x38($sp) +/* f02b89c: 03e00008 */ jr $ra +/* f02b8a0: 27bd01f0 */ addiu $sp,$sp,0x1f0 +); #else GLOBAL_ASM( glabel chr0f02983c diff --git a/src/game/chr/chraction.c b/src/game/chr/chraction.c index 667fc1b0f..12f6df0c0 100644 --- a/src/game/chr/chraction.c +++ b/src/game/chr/chraction.c @@ -5469,7 +5469,7 @@ void chrGoPosConsiderRestart(struct chrdata *chr) && chr->liftaction != LIFTACTION_WAITINGONLIFT && chr->liftaction != LIFTACTION_WAITINGFORLIFT) { if (chr->act_gopos.restartttl == 0) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA s32 value = (chrGoPosCalculateBaseTtl(chr) * 100 + 15000) / 60; #else s32 value = chrGoPosCalculateBaseTtl(chr) * 2 + 300; @@ -12146,6 +12146,1604 @@ glabel var7f1a9184 /* f041c10: 03e00008 */ jr $ra /* f041c14: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel chrShoot +.late_rodata +glabel var7f1a90c8 +.word 0x3d888889 +glabel var7f1a90cc +.word 0x481c4000 +glabel var7f1a90d0 +.word 0x3fd55555 +glabel var7f1a90d4 +.word 0x3fd55555 +glabel var7f1a90d8 +.word 0x3fd55555 +glabel var7f1a90dc +.word 0x461c4000 +glabel var7f1a90e0 +.word chrShoot+0x14fc +glabel var7f1a90e4 +.word chrShoot+0x14fc +glabel var7f1a90e8 +.word chrShoot+0x14fc +glabel var7f1a90ec +.word chrShoot+0x14fc +glabel var7f1a90f0 +.word chrShoot+0x14fc +glabel var7f1a90f4 +.word chrShoot+0x14fc +glabel var7f1a90f8 +.word chrShoot+0x14fc +glabel var7f1a90fc +.word chrShoot+0x14fc +glabel var7f1a9100 +.word chrShoot+0x14fc +glabel var7f1a9104 +.word chrShoot+0x14fc +glabel var7f1a9108 +.word chrShoot+0x14fc +glabel var7f1a910c +.word chrShoot+0x14fc +glabel var7f1a9110 +.word chrShoot+0x14fc +glabel var7f1a9114 +.word chrShoot+0x14fc +glabel var7f1a9118 +.word chrShoot+0x14fc +glabel var7f1a911c +.word chrShoot+0x14fc +glabel var7f1a9120 +.word chrShoot+0x14fc +glabel var7f1a9124 +.word chrShoot+0x1508 +glabel var7f1a9128 +.word chrShoot+0x14fc +glabel var7f1a912c +.word chrShoot+0x14fc +glabel var7f1a9130 +.word chrShoot+0x14fc +glabel var7f1a9134 +.word chrShoot+0x1508 +glabel var7f1a9138 +.word chrShoot+0x1508 +glabel var7f1a913c +.word chrShoot+0x1508 +glabel var7f1a9140 +.word chrShoot+0x1508 +glabel var7f1a9144 +.word chrShoot+0x1508 +glabel var7f1a9148 +.word chrShoot+0x14fc +glabel var7f1a914c +.word chrShoot+0x14fc +glabel var7f1a9150 +.word chrShoot+0x1508 +glabel var7f1a9154 +.word chrShoot+0x1508 +glabel var7f1a9158 +.word chrShoot+0x1508 +glabel var7f1a915c +.word chrShoot+0x1508 +glabel var7f1a9160 +.word chrShoot+0x1508 +glabel var7f1a9164 +.word chrShoot+0x1508 +glabel var7f1a9168 +.word chrShoot+0x14fc +glabel var7f1a916c +.word chrShoot+0x14fc +glabel var7f1a9170 +.word chrShoot+0x14fc +glabel var7f1a9174 +.word chrShoot+0x14fc +glabel var7f1a9178 +.word chrShoot+0x14fc +glabel var7f1a917c +.word chrShoot+0x14fc +glabel var7f1a9180 +.word chrShoot+0x14fc +glabel var7f1a9184 +.word chrShoot+0x14fc +.text +/* f0405e4: 27bdfd88 */ addiu $sp,$sp,-632 +/* f0405e8: afbf0044 */ sw $ra,0x44($sp) +/* f0405ec: afa5027c */ sw $a1,0x27c($sp) +/* f0405f0: 8c8e001c */ lw $t6,0x1c($a0) +/* f0405f4: 240f0001 */ li $t7,0x1 +/* f0405f8: a3af026e */ sb $t7,0x26e($sp) +/* f0405fc: afae0274 */ sw $t6,0x274($sp) +/* f040600: 8c9802d4 */ lw $t8,0x2d4($a0) +/* f040604: 00001025 */ move $v0,$zero +/* f040608: 8fa5027c */ lw $a1,0x27c($sp) +/* f04060c: 53000003 */ beqzl $t8,.PB0f04061c +/* f040610: a3a2026f */ sb $v0,0x26f($sp) +/* f040614: 24020001 */ li $v0,0x1 +/* f040618: a3a2026f */ sb $v0,0x26f($sp) +.PB0f04061c: +/* f04061c: 0fc0a23d */ jal 0xf0288f4 +/* f040620: afa40278 */ sw $a0,0x278($sp) +/* f040624: 5040055c */ beqzl $v0,.PB0f041b98 +/* f040628: 8fbf0044 */ lw $ra,0x44($sp) +/* f04062c: afa00268 */ sw $zero,0x268($sp) +/* f040630: 8c590004 */ lw $t9,0x4($v0) +/* f040634: 8fa40278 */ lw $a0,0x278($sp) +/* f040638: 0fc0a255 */ jal 0xf028954 +/* f04063c: afb90264 */ sw $t9,0x264($sp) +/* f040640: 8fab0264 */ lw $t3,0x264($sp) +/* f040644: afa2025c */ sw $v0,0x25c($sp) +/* f040648: 8fa70278 */ lw $a3,0x278($sp) +/* f04064c: 8961005c */ lwl $at,0x5c($t3) +/* f040650: 9961005f */ lwr $at,0x5f($t3) +/* f040654: 27aa0260 */ addiu $t2,$sp,0x260 +/* f040658: 24080200 */ li $t0,0x200 +/* f04065c: ad410000 */ sw $at,0x0($t2) +/* f040660: 80e30007 */ lb $v1,0x7($a3) +/* f040664: 24010008 */ li $at,0x8 +/* f040668: 10610007 */ beq $v1,$at,.PB0f040688 +/* f04066c: 2401001b */ li $at,0x1b +/* f040670: 10610005 */ beq $v1,$at,.PB0f040688 +/* f040674: 2401001c */ li $at,0x1c +/* f040678: 10610003 */ beq $v1,$at,.PB0f040688 +/* f04067c: 2401001d */ li $at,0x1d +/* f040680: 54610003 */ bnel $v1,$at,.PB0f040690 +/* f040684: afa00250 */ sw $zero,0x250($sp) +.PB0f040688: +/* f040688: 8ce8004c */ lw $t0,0x4c($a3) +/* f04068c: afa00250 */ sw $zero,0x250($sp) +.PB0f040690: +/* f040690: afa00224 */ sw $zero,0x224($sp) +/* f040694: afa00210 */ sw $zero,0x210($sp) +/* f040698: 93a40260 */ lbu $a0,0x260($sp) +/* f04069c: 93a50263 */ lbu $a1,0x263($sp) +/* f0406a0: afa00254 */ sw $zero,0x254($sp) +/* f0406a4: 0fc2c8be */ jal 0xf0b22f8 +/* f0406a8: afa80258 */ sw $t0,0x258($sp) +/* f0406ac: 8fa60254 */ lw $a2,0x254($sp) +/* f0406b0: 1c400005 */ bgtz $v0,.PB0f0406c8 +/* f0406b4: 00402025 */ move $a0,$v0 +/* f0406b8: 240f0001 */ li $t7,0x1 +/* f0406bc: 24060001 */ li $a2,0x1 +/* f0406c0: 10000055 */ b .PB0f040818 +/* f0406c4: afaf0250 */ sw $t7,0x250($sp) +.PB0f0406c8: +/* f0406c8: 8fb80278 */ lw $t8,0x278($sp) +/* f0406cc: 8f0302d4 */ lw $v1,0x2d4($t8) +/* f0406d0: 5060001d */ beqzl $v1,.PB0f040748 +/* f0406d4: 8faa0278 */ lw $t2,0x278($sp) +/* f0406d8: 8c790020 */ lw $t9,0x20($v1) +/* f0406dc: 24010014 */ li $at,0x14 +/* f0406e0: 57210019 */ bnel $t9,$at,.PB0f040748 +/* f0406e4: 8faa0278 */ lw $t2,0x278($sp) +/* f0406e8: 8c6d004c */ lw $t5,0x4c($v1) +/* f0406ec: 8fab027c */ lw $t3,0x27c($sp) +/* f0406f0: 000d5080 */ sll $t2,$t5,0x2 +/* f0406f4: 05400013 */ bltz $t2,.PB0f040744 +/* f0406f8: 000b7040 */ sll $t6,$t3,0x1 +/* f0406fc: 006e7821 */ addu $t7,$v1,$t6 +/* f040700: 85f800e0 */ lh $t8,0xe0($t7) +/* f040704: 2419004b */ li $t9,0x4b +/* f040708: 3c017f1b */ lui $at,0x7f1b +/* f04070c: 03386823 */ subu $t5,$t9,$t8 +/* f040710: 448d2000 */ mtc1 $t5,$f4 +/* f040714: c428adac */ lwc1 $f8,-0x5254($at) +/* f040718: 44825000 */ mtc1 $v0,$f10 +/* f04071c: 468021a0 */ cvt.s.w $f6,$f4 +/* f040720: 3c013f80 */ lui $at,0x3f80 +/* f040724: 44819000 */ mtc1 $at,$f18 +/* f040728: 46805420 */ cvt.s.w $f16,$f10 +/* f04072c: 46083002 */ mul.s $f0,$f6,$f8 +/* f040730: 46009100 */ add.s $f4,$f18,$f0 +/* f040734: 46048182 */ mul.s $f6,$f16,$f4 +/* f040738: 4600320d */ trunc.w.s $f8,$f6 +/* f04073c: 44044000 */ mfc1 $a0,$f8 +/* f040740: 00000000 */ nop +.PB0f040744: +/* f040744: 8faa0278 */ lw $t2,0x278($sp) +.PB0f040748: +/* f040748: 8fab027c */ lw $t3,0x27c($sp) +/* f04074c: 3c0f800a */ lui $t7,0x800a +/* f040750: 8defe508 */ lw $t7,-0x1af8($t7) +/* f040754: 014b1821 */ addu $v1,$t2,$t3 +/* f040758: 906e0004 */ lbu $t6,0x4($v1) +/* f04075c: 01cfc821 */ addu $t9,$t6,$t7 +/* f040760: 333800ff */ andi $t8,$t9,0xff +/* f040764: 0304082a */ slt $at,$t8,$a0 +/* f040768: 1420002b */ bnez $at,.PB0f040818 +/* f04076c: a0790004 */ sb $t9,0x4($v1) +/* f040770: a0600004 */ sb $zero,0x4($v1) +/* f040774: 8faa0278 */ lw $t2,0x278($sp) +/* f040778: 8fad027c */ lw $t5,0x27c($sp) +/* f04077c: 240c0001 */ li $t4,0x1 +/* f040780: 8d4b032c */ lw $t3,0x32c($t2) +/* f040784: 01ac1004 */ sllv $v0,$t4,$t5 +/* f040788: 24060001 */ li $a2,0x1 +/* f04078c: 000b7300 */ sll $t6,$t3,0xc +/* f040790: 914b032d */ lbu $t3,0x32d($t2) +/* f040794: 000e7f82 */ srl $t7,$t6,0x1e +/* f040798: 01e2c026 */ xor $t8,$t7,$v0 +/* f04079c: 00186080 */ sll $t4,$t8,0x2 +/* f0407a0: 318d000c */ andi $t5,$t4,0xc +/* f0407a4: 316efff3 */ andi $t6,$t3,0xfff3 +/* f0407a8: 01ae7825 */ or $t7,$t5,$t6 +/* f0407ac: a14f032d */ sb $t7,0x32d($t2) +/* f0407b0: 8d59032c */ lw $t9,0x32c($t2) +/* f0407b4: 93ad0260 */ lbu $t5,0x260($sp) +/* f0407b8: 2401001d */ li $at,0x1d +/* f0407bc: 0019c300 */ sll $t8,$t9,0xc +/* f0407c0: 00186782 */ srl $t4,$t8,0x1e +/* f0407c4: 01825824 */ and $t3,$t4,$v0 +/* f0407c8: 15600003 */ bnez $t3,.PB0f0407d8 +/* f0407cc: 240e0001 */ li $t6,0x1 +/* f0407d0: 55a10003 */ bnel $t5,$at,.PB0f0407e0 +/* f0407d4: 8faf0278 */ lw $t7,0x278($sp) +.PB0f0407d8: +/* f0407d8: afae0250 */ sw $t6,0x250($sp) +/* f0407dc: 8faf0278 */ lw $t7,0x278($sp) +.PB0f0407e0: +/* f0407e0: 24010008 */ li $at,0x8 +/* f0407e4: 81ea0007 */ lb $t2,0x7($t7) +/* f0407e8: 1541000b */ bne $t2,$at,.PB0f040818 +/* f0407ec: 00000000 */ nop +/* f0407f0: 8de40020 */ lw $a0,0x20($t7) +/* f0407f4: 0c0076f3 */ jal 0x1dbcc +/* f0407f8: afa60254 */ sw $a2,0x254($sp) +/* f0407fc: 2401026a */ li $at,0x26a +/* f040800: 14410005 */ bne $v0,$at,.PB0f040818 +/* f040804: 8fa60254 */ lw $a2,0x254($sp) +/* f040808: 8fb90278 */ lw $t9,0x278($sp) +/* f04080c: 83380033 */ lb $t8,0x33($t9) +/* f040810: 270c0001 */ addiu $t4,$t8,0x1 +/* f040814: a32c0033 */ sb $t4,0x33($t9) +.PB0f040818: +/* f040818: 50c004a3 */ beqzl $a2,.PB0f041aa8 +/* f04081c: 8fa80268 */ lw $t0,0x268($sp) +/* f040820: 0fc0f9c0 */ jal 0xf03e700 +/* f040824: 8fa40278 */ lw $a0,0x278($sp) +/* f040828: e7a00204 */ swc1 $f0,0x204($sp) +/* f04082c: 0fc0fa19 */ jal 0xf03e864 +/* f040830: 8fa40278 */ lw $a0,0x278($sp) +/* f040834: 93ab026f */ lbu $t3,0x26f($sp) +/* f040838: e7a00200 */ swc1 $f0,0x200($sp) +/* f04083c: 240e0001 */ li $t6,0x1 +/* f040840: 11600004 */ beqz $t3,.PB0f040854 +/* f040844: 27a60244 */ addiu $a2,$sp,0x244 +/* f040848: 240d0004 */ li $t5,0x4 +/* f04084c: 10000002 */ b .PB0f040858 +/* f040850: afad01fc */ sw $t5,0x1fc($sp) +.PB0f040854: +/* f040854: afa001fc */ sw $zero,0x1fc($sp) +.PB0f040858: +/* f040858: afae0268 */ sw $t6,0x268($sp) +/* f04085c: 8fa40278 */ lw $a0,0x278($sp) +/* f040860: 0fc0ffbd */ jal 0xf03fef4 +/* f040864: 8fa5027c */ lw $a1,0x27c($sp) +/* f040868: 54400032 */ bnezl $v0,.PB0f040934 +/* f04086c: 8fa40278 */ lw $a0,0x278($sp) +/* f040870: 8fa20274 */ lw $v0,0x274($sp) +/* f040874: 3c0141f0 */ lui $at,0x41f0 +/* f040878: 44818000 */ mtc1 $at,$f16 +/* f04087c: c44a0008 */ lwc1 $f10,0x8($v0) +/* f040880: 8faa027c */ lw $t2,0x27c($sp) +/* f040884: 24010001 */ li $at,0x1 +/* f040888: e7aa0244 */ swc1 $f10,0x244($sp) +/* f04088c: c452000c */ lwc1 $f18,0xc($v0) +/* f040890: 46109100 */ add.s $f4,$f18,$f16 +/* f040894: e7a40248 */ swc1 $f4,0x248($sp) +/* f040898: c4460010 */ lwc1 $f6,0x10($v0) +/* f04089c: 15410013 */ bne $t2,$at,.PB0f0408ec +/* f0408a0: e7a6024c */ swc1 $f6,0x24c($sp) +/* f0408a4: 0c006b88 */ jal 0x1ae20 +/* f0408a8: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f0408ac: 3c014120 */ lui $at,0x4120 +/* f0408b0: 44815000 */ mtc1 $at,$f10 +/* f0408b4: c7a80244 */ lwc1 $f8,0x244($sp) +/* f0408b8: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f0408bc: 460a0482 */ mul.s $f18,$f0,$f10 +/* f0408c0: 46124400 */ add.s $f16,$f8,$f18 +/* f0408c4: 0c006b8b */ jal 0x1ae2c +/* f0408c8: e7b00244 */ swc1 $f16,0x244($sp) +/* f0408cc: 3c014120 */ lui $at,0x4120 +/* f0408d0: 44813000 */ mtc1 $at,$f6 +/* f0408d4: 46000107 */ neg.s $f4,$f0 +/* f0408d8: c7a8024c */ lwc1 $f8,0x24c($sp) +/* f0408dc: 46062282 */ mul.s $f10,$f4,$f6 +/* f0408e0: 460a4480 */ add.s $f18,$f8,$f10 +/* f0408e4: 10000012 */ b .PB0f040930 +/* f0408e8: e7b2024c */ swc1 $f18,0x24c($sp) +.PB0f0408ec: +/* f0408ec: 0c006b88 */ jal 0x1ae20 +/* f0408f0: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f0408f4: 3c014120 */ lui $at,0x4120 +/* f0408f8: 44812000 */ mtc1 $at,$f4 +/* f0408fc: 46000407 */ neg.s $f16,$f0 +/* f040900: c7a80244 */ lwc1 $f8,0x244($sp) +/* f040904: 46048182 */ mul.s $f6,$f16,$f4 +/* f040908: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f04090c: 46064280 */ add.s $f10,$f8,$f6 +/* f040910: 0c006b8b */ jal 0x1ae2c +/* f040914: e7aa0244 */ swc1 $f10,0x244($sp) +/* f040918: 3c014120 */ lui $at,0x4120 +/* f04091c: 44818000 */ mtc1 $at,$f16 +/* f040920: c7b2024c */ lwc1 $f18,0x24c($sp) +/* f040924: 46100102 */ mul.s $f4,$f0,$f16 +/* f040928: 46049200 */ add.s $f8,$f18,$f4 +/* f04092c: e7a8024c */ swc1 $f8,0x24c($sp) +.PB0f040930: +/* f040930: 8fa40278 */ lw $a0,0x278($sp) +.PB0f040934: +/* f040934: 0fc07a1f */ jal 0xf01e87c +/* f040938: 00002825 */ move $a1,$zero +/* f04093c: 8fb801fc */ lw $t8,0x1fc($sp) +/* f040940: 8faf0274 */ lw $t7,0x274($sp) +/* f040944: 24190010 */ li $t9,0x10 +/* f040948: 370c082a */ ori $t4,$t8,0x82a +/* f04094c: afac0010 */ sw $t4,0x10($sp) +/* f040950: afb90014 */ sw $t9,0x14($sp) +/* f040954: 27a60244 */ addiu $a2,$sp,0x244 +/* f040958: 27a70234 */ addiu $a3,$sp,0x234 +/* f04095c: 25e40008 */ addiu $a0,$t7,0x8 +/* f040960: 0c00b8fd */ jal 0x2e3f4 +/* f040964: 25e50028 */ addiu $a1,$t7,0x28 +/* f040968: 14400002 */ bnez $v0,.PB0f040974 +/* f04096c: 24050001 */ li $a1,0x1 +/* f040970: afa00268 */ sw $zero,0x268($sp) +.PB0f040974: +/* f040974: 0fc07a1f */ jal 0xf01e87c +/* f040978: 8fa40278 */ lw $a0,0x278($sp) +/* f04097c: 8fab0268 */ lw $t3,0x268($sp) +/* f040980: 240d0001 */ li $t5,0x1 +/* f040984: 51600448 */ beqzl $t3,.PB0f041aa8 +/* f040988: 8fa80268 */ lw $t0,0x268($sp) +/* f04098c: 93ae026f */ lbu $t6,0x26f($sp) +/* f040990: afa001f8 */ sw $zero,0x1f8($sp) +/* f040994: afa001f4 */ sw $zero,0x1f4($sp) +/* f040998: afad01f0 */ sw $t5,0x1f0($sp) +/* f04099c: 11c00004 */ beqz $t6,.PB0f0409b0 +/* f0409a0: afa001cc */ sw $zero,0x1cc($sp) +/* f0409a4: 240a083f */ li $t2,0x83f +/* f0409a8: 10000003 */ b .PB0f0409b8 +/* f0409ac: afaa01c8 */ sw $t2,0x1c8($sp) +.PB0f0409b0: +/* f0409b0: 240f083b */ li $t7,0x83b +/* f0409b4: afaf01c8 */ sw $t7,0x1c8($sp) +.PB0f0409b8: +/* f0409b8: 8fa7025c */ lw $a3,0x25c($sp) +/* f0409bc: 8ce20004 */ lw $v0,0x4($a3) +/* f0409c0: 50400004 */ beqzl $v0,.PB0f0409d4 +/* f0409c4: 00004825 */ move $t1,$zero +/* f0409c8: 10000002 */ b .PB0f0409d4 +/* f0409cc: 904902fe */ lbu $t1,0x2fe($v0) +/* f0409d0: 00004825 */ move $t1,$zero +.PB0f0409d4: +/* f0409d4: 39220003 */ xori $v0,$t1,0x3 +/* f0409d8: 2c420001 */ sltiu $v0,$v0,0x1 +/* f0409dc: 1040000f */ beqz $v0,.PB0f040a1c +/* f0409e0: 00401825 */ move $v1,$v0 +/* f0409e4: afa2005c */ sw $v0,0x5c($sp) +/* f0409e8: 0fc124bb */ jal 0xf0492ec +/* f0409ec: 8fa40278 */ lw $a0,0x278($sp) +/* f0409f0: 3c014316 */ lui $at,0x4316 +/* f0409f4: 44813000 */ mtc1 $at,$f6 +/* f0409f8: 0000c025 */ move $t8,$zero +/* f0409fc: 4600303c */ c.lt.s $f6,$f0 +/* f040a00: 00000000 */ nop +/* f040a04: 45020003 */ bc1fl .PB0f040a14 +/* f040a08: afb8005c */ sw $t8,0x5c($sp) +/* f040a0c: 24180001 */ li $t8,0x1 +/* f040a10: afb8005c */ sw $t8,0x5c($sp) +.PB0f040a14: +/* f040a14: 8fa7025c */ lw $a3,0x25c($sp) +/* f040a18: 03001825 */ move $v1,$t8 +.PB0f040a1c: +/* f040a1c: afa301c0 */ sw $v1,0x1c0($sp) +/* f040a20: 10600016 */ beqz $v1,.PB0f040a7c +/* f040a24: afa001bc */ sw $zero,0x1bc($sp) +/* f040a28: c4ea0008 */ lwc1 $f10,0x8($a3) +/* f040a2c: c7b00244 */ lwc1 $f16,0x244($sp) +/* f040a30: c7a80248 */ lwc1 $f8,0x248($sp) +/* f040a34: 27a401e0 */ addiu $a0,$sp,0x1e0 +/* f040a38: 46105481 */ sub.s $f18,$f10,$f16 +/* f040a3c: c7b0024c */ lwc1 $f16,0x24c($sp) +/* f040a40: 27a501e4 */ addiu $a1,$sp,0x1e4 +/* f040a44: 27a601e8 */ addiu $a2,$sp,0x1e8 +/* f040a48: e7b201e0 */ swc1 $f18,0x1e0($sp) +/* f040a4c: c4e4000c */ lwc1 $f4,0xc($a3) +/* f040a50: 46082181 */ sub.s $f6,$f4,$f8 +/* f040a54: e7a601e4 */ swc1 $f6,0x1e4($sp) +/* f040a58: c4ea0010 */ lwc1 $f10,0x10($a3) +/* f040a5c: 46105481 */ sub.s $f18,$f10,$f16 +/* f040a60: 0c0011d8 */ jal 0x4760 +/* f040a64: e7b201e8 */ swc1 $f18,0x1e8($sp) +/* f040a68: 8fa4025c */ lw $a0,0x25c($sp) +/* f040a6c: 0fc190d6 */ jal 0xf064358 +/* f040a70: 24050001 */ li $a1,0x1 +/* f040a74: 1000002f */ b .PB0f040b34 +/* f040a78: 8fab0278 */ lw $t3,0x278($sp) +.PB0f040a7c: +/* f040a7c: 0c006b88 */ jal 0x1ae20 +/* f040a80: c7ac0200 */ lwc1 $f12,0x200($sp) +/* f040a84: e7a00060 */ swc1 $f0,0x60($sp) +/* f040a88: 0c006b8b */ jal 0x1ae2c +/* f040a8c: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f040a90: c7a40060 */ lwc1 $f4,0x60($sp) +/* f040a94: c7ac0200 */ lwc1 $f12,0x200($sp) +/* f040a98: 46040202 */ mul.s $f8,$f0,$f4 +/* f040a9c: 0c006b8b */ jal 0x1ae2c +/* f040aa0: e7a801e0 */ swc1 $f8,0x1e0($sp) +/* f040aa4: e7a001e4 */ swc1 $f0,0x1e4($sp) +/* f040aa8: 0c006b88 */ jal 0x1ae20 +/* f040aac: c7ac0200 */ lwc1 $f12,0x200($sp) +/* f040ab0: e7a00060 */ swc1 $f0,0x60($sp) +/* f040ab4: 0c006b88 */ jal 0x1ae20 +/* f040ab8: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f040abc: c7a60060 */ lwc1 $f6,0x60($sp) +/* f040ac0: 93ac026f */ lbu $t4,0x26f($sp) +/* f040ac4: 46060282 */ mul.s $f10,$f0,$f6 +/* f040ac8: 11800019 */ beqz $t4,.PB0f040b30 +/* f040acc: e7aa01e8 */ swc1 $f10,0x1e8($sp) +/* f040ad0: 0fc64be8 */ jal 0xf192fa0 +/* f040ad4: 8fa40278 */ lw $a0,0x278($sp) +/* f040ad8: 8fb90278 */ lw $t9,0x278($sp) +/* f040adc: 00404825 */ move $t1,$v0 +/* f040ae0: 8fae0278 */ lw $t6,0x278($sp) +/* f040ae4: 8f280170 */ lw $t0,0x170($t9) +/* f040ae8: 0008582b */ sltu $t3,$zero,$t0 +/* f040aec: 11600004 */ beqz $t3,.PB0f040b00 +/* f040af0: 01604025 */ move $t0,$t3 +/* f040af4: 8f280174 */ lw $t0,0x174($t9) +/* f040af8: 0008682b */ sltu $t5,$zero,$t0 +/* f040afc: 01a04025 */ move $t0,$t5 +.PB0f040b00: +/* f040b00: 8dc302d4 */ lw $v1,0x2d4($t6) +/* f040b04: 8fb8027c */ lw $t8,0x27c($sp) +/* f040b08: 27a401e0 */ addiu $a0,$sp,0x1e0 +/* f040b0c: 8c66004c */ lw $a2,0x4c($v1) +/* f040b10: 00786021 */ addu $t4,$v1,$t8 +/* f040b14: 9187004d */ lbu $a3,0x4d($t4) +/* f040b18: 8c650020 */ lw $a1,0x20($v1) +/* f040b1c: 00065080 */ sll $t2,$a2,0x2 +/* f040b20: 000a37c2 */ srl $a2,$t2,0x1f +/* f040b24: afa80014 */ sw $t0,0x14($sp) +/* f040b28: 0fc28488 */ jal 0xf0a1220 +/* f040b2c: afa90010 */ sw $t1,0x10($sp) +.PB0f040b30: +/* f040b30: 8fab0278 */ lw $t3,0x278($sp) +.PB0f040b34: +/* f040b34: 93b90260 */ lbu $t9,0x260($sp) +/* f040b38: 24010016 */ li $at,0x16 +/* f040b3c: 8d6302d4 */ lw $v1,0x2d4($t3) +/* f040b40: 50600018 */ beqzl $v1,.PB0f040ba4 +/* f040b44: 3c014780 */ lui $at,0x4780 +/* f040b48: 57210016 */ bnel $t9,$at,.PB0f040ba4 +/* f040b4c: 3c014780 */ lui $at,0x4780 +/* f040b50: 8c6d0128 */ lw $t5,0x128($v1) +/* f040b54: 240e0001 */ li $t6,0x1 +/* f040b58: 01602025 */ move $a0,$t3 +/* f040b5c: 15a00010 */ bnez $t5,.PB0f040ba0 +/* f040b60: 00002825 */ move $a1,$zero +/* f040b64: afae0250 */ sw $t6,0x250($sp) +/* f040b68: 27a601e0 */ addiu $a2,$sp,0x1e0 +/* f040b6c: 0fc66ed9 */ jal 0xf19bb64 +/* f040b70: 27a70244 */ addiu $a3,$sp,0x244 +/* f040b74: 24010002 */ li $at,0x2 +/* f040b78: 5441000a */ bnel $v0,$at,.PB0f040ba4 +/* f040b7c: 3c014780 */ lui $at,0x4780 +/* f040b80: 0c004be0 */ jal 0x12f80 +/* f040b84: 00000000 */ nop +/* f040b88: 240100ff */ li $at,0xff +/* f040b8c: 0041001b */ divu $zero,$v0,$at +/* f040b90: 00005010 */ mfhi $t2 +/* f040b94: 2d4f00c9 */ sltiu $t7,$t2,0xc9 +/* f040b98: 39ef0001 */ xori $t7,$t7,0x1 +/* f040b9c: a3af026e */ sb $t7,0x26e($sp) +.PB0f040ba0: +/* f040ba0: 3c014780 */ lui $at,0x4780 +.PB0f040ba4: +/* f040ba4: 44810000 */ mtc1 $at,$f0 +/* f040ba8: c7b001e0 */ lwc1 $f16,0x1e0($sp) +/* f040bac: c7a40244 */ lwc1 $f4,0x244($sp) +/* f040bb0: c7a601e4 */ lwc1 $f6,0x1e4($sp) +/* f040bb4: 46008482 */ mul.s $f18,$f16,$f0 +/* f040bb8: c7b00248 */ lwc1 $f16,0x248($sp) +/* f040bbc: 8fa40278 */ lw $a0,0x278($sp) +/* f040bc0: 46003282 */ mul.s $f10,$f6,$f0 +/* f040bc4: c7a6024c */ lwc1 $f6,0x24c($sp) +/* f040bc8: 00002825 */ move $a1,$zero +/* f040bcc: 46049200 */ add.s $f8,$f18,$f4 +/* f040bd0: c7a401e8 */ lwc1 $f4,0x1e8($sp) +/* f040bd4: 46105480 */ add.s $f18,$f10,$f16 +/* f040bd8: e7a80228 */ swc1 $f8,0x228($sp) +/* f040bdc: 46002202 */ mul.s $f8,$f4,$f0 +/* f040be0: e7b2022c */ swc1 $f18,0x22c($sp) +/* f040be4: 46064280 */ add.s $f10,$f8,$f6 +/* f040be8: 0fc07a1f */ jal 0xf01e87c +/* f040bec: e7aa0230 */ swc1 $f10,0x230($sp) +/* f040bf0: 93b8026f */ lbu $t8,0x26f($sp) +/* f040bf4: 27a40244 */ addiu $a0,$sp,0x244 +/* f040bf8: 27a50234 */ addiu $a1,$sp,0x234 +/* f040bfc: 13000004 */ beqz $t8,.PB0f040c10 +/* f040c00: 27a60228 */ addiu $a2,$sp,0x228 +/* f040c04: 240c0001 */ li $t4,0x1 +/* f040c08: 3c01800a */ lui $at,0x800a +/* f040c0c: ac2ce95c */ sw $t4,-0x16a4($at) +.PB0f040c10: +/* f040c10: 24190010 */ li $t9,0x10 +/* f040c14: afb90010 */ sw $t9,0x10($sp) +/* f040c18: 0c00b8d4 */ jal 0x2e350 +/* f040c1c: 8fa701c8 */ lw $a3,0x1c8($sp) +/* f040c20: 1440000a */ bnez $v0,.PB0f040c4c +/* f040c24: 240d0001 */ li $t5,0x1 +/* f040c28: 3c067f1b */ lui $a2,0x7f1b +/* f040c2c: afad0224 */ sw $t5,0x224($sp) +/* f040c30: 24c6a7c4 */ addiu $a2,$a2,-22588 +/* f040c34: 27a40228 */ addiu $a0,$sp,0x228 +/* f040c38: 0c00951f */ jal 0x2547c +/* f040c3c: 24052f28 */ li $a1,0x2f28 +/* f040c40: 0c00951c */ jal 0x25470 +/* f040c44: 00000000 */ nop +/* f040c48: afa201cc */ sw $v0,0x1cc($sp) +.PB0f040c4c: +/* f040c4c: 8fa40278 */ lw $a0,0x278($sp) +/* f040c50: 0fc07a1f */ jal 0xf01e87c +/* f040c54: 24050001 */ li $a1,0x1 +/* f040c58: 93ae026f */ lbu $t6,0x26f($sp) +/* f040c5c: 3c01800a */ lui $at,0x800a +/* f040c60: 51c00003 */ beqzl $t6,.PB0f040c70 +/* f040c64: 8fab01cc */ lw $t3,0x1cc($sp) +/* f040c68: ac20e95c */ sw $zero,-0x16a4($at) +/* f040c6c: 8fab01cc */ lw $t3,0x1cc($sp) +.PB0f040c70: +/* f040c70: 8faa01c0 */ lw $t2,0x1c0($sp) +/* f040c74: 55600015 */ bnezl $t3,.PB0f040ccc +/* f040c78: c7a80228 */ lwc1 $f8,0x228($sp) +/* f040c7c: 51400013 */ beqzl $t2,.PB0f040ccc +/* f040c80: c7a80228 */ lwc1 $f8,0x228($sp) +/* f040c84: 0c004be0 */ jal 0x12f80 +/* f040c88: 00000000 */ nop +/* f040c8c: 24010064 */ li $at,0x64 +/* f040c90: 0041001b */ divu $zero,$v0,$at +/* f040c94: 00001810 */ mfhi $v1 +/* f040c98: 2c6f0033 */ sltiu $t7,$v1,0x33 +/* f040c9c: 39ef0001 */ xori $t7,$t7,0x1 +/* f040ca0: 11e00009 */ beqz $t7,.PB0f040cc8 +/* f040ca4: afaf01bc */ sw $t7,0x1bc($sp) +/* f040ca8: 8fb8025c */ lw $t8,0x25c($sp) +/* f040cac: afb801cc */ sw $t8,0x1cc($sp) +/* f040cb0: c7100008 */ lwc1 $f16,0x8($t8) +/* f040cb4: e7b00228 */ swc1 $f16,0x228($sp) +/* f040cb8: c712000c */ lwc1 $f18,0xc($t8) +/* f040cbc: e7b2022c */ swc1 $f18,0x22c($sp) +/* f040cc0: c7040010 */ lwc1 $f4,0x10($t8) +/* f040cc4: e7a40230 */ swc1 $f4,0x230($sp) +.PB0f040cc8: +/* f040cc8: c7a80228 */ lwc1 $f8,0x228($sp) +.PB0f040ccc: +/* f040ccc: c7a60244 */ lwc1 $f6,0x244($sp) +/* f040cd0: c7aa022c */ lwc1 $f10,0x22c($sp) +/* f040cd4: c7b00248 */ lwc1 $f16,0x248($sp) +/* f040cd8: 46064001 */ sub.s $f0,$f8,$f6 +/* f040cdc: c7b20230 */ lwc1 $f18,0x230($sp) +/* f040ce0: c7a4024c */ lwc1 $f4,0x24c($sp) +/* f040ce4: 46105081 */ sub.s $f2,$f10,$f16 +/* f040ce8: 46000202 */ mul.s $f8,$f0,$f0 +/* f040cec: 93a40260 */ lbu $a0,0x260($sp) +/* f040cf0: 46049301 */ sub.s $f12,$f18,$f4 +/* f040cf4: 46021182 */ mul.s $f6,$f2,$f2 +/* f040cf8: 24010018 */ li $at,0x18 +/* f040cfc: 460c6402 */ mul.s $f16,$f12,$f12 +/* f040d00: 46064280 */ add.s $f10,$f8,$f6 +/* f040d04: 46105480 */ add.s $f18,$f10,$f16 +/* f040d08: 1081000f */ beq $a0,$at,.PB0f040d48 +/* f040d0c: e7b201d0 */ swc1 $f18,0x1d0($sp) +/* f040d10: 24010019 */ li $at,0x19 +/* f040d14: 1081000c */ beq $a0,$at,.PB0f040d48 +/* f040d18: 24010012 */ li $at,0x12 +/* f040d1c: 14810003 */ bne $a0,$at,.PB0f040d2c +/* f040d20: 93ac0263 */ lbu $t4,0x263($sp) +/* f040d24: 24010001 */ li $at,0x1 +/* f040d28: 11810007 */ beq $t4,$at,.PB0f040d48 +.PB0f040d2c: +/* f040d2c: 24010017 */ li $at,0x17 +/* f040d30: 10810005 */ beq $a0,$at,.PB0f040d48 +/* f040d34: 2401001b */ li $at,0x1b +/* f040d38: 10810003 */ beq $a0,$at,.PB0f040d48 +/* f040d3c: 24010034 */ li $at,0x34 +/* f040d40: 54810179 */ bnel $a0,$at,.PB0f041328 +/* f040d44: 24010006 */ li $at,0x6 +.PB0f040d48: +/* f040d48: 93b9026f */ lbu $t9,0x26f($sp) +/* f040d4c: afa00250 */ sw $zero,0x250($sp) +/* f040d50: 3c017f1b */ lui $at,0x7f1b +/* f040d54: 17200006 */ bnez $t9,.PB0f040d70 +/* f040d58: c7a801d0 */ lwc1 $f8,0x1d0($sp) +/* f040d5c: c424adb0 */ lwc1 $f4,-0x5250($at) +/* f040d60: 4608203c */ c.lt.s $f4,$f8 +/* f040d64: 00000000 */ nop +/* f040d68: 4502016c */ bc1fl .PB0f04131c +/* f040d6c: afa00268 */ sw $zero,0x268($sp) +.PB0f040d70: +/* f040d70: 0fc2c4f8 */ jal 0xf0b13e0 +/* f040d74: 00000000 */ nop +/* f040d78: 93ad0263 */ lbu $t5,0x263($sp) +/* f040d7c: 93a40260 */ lbu $a0,0x260($sp) +/* f040d80: 24010018 */ li $at,0x18 +/* f040d84: 000d7080 */ sll $t6,$t5,0x2 +/* f040d88: 004e5821 */ addu $t3,$v0,$t6 +/* f040d8c: 10810006 */ beq $a0,$at,.PB0f040da8 +/* f040d90: 8d630014 */ lw $v1,0x14($t3) +/* f040d94: 24010034 */ li $at,0x34 +/* f040d98: 10810003 */ beq $a0,$at,.PB0f040da8 +/* f040d9c: 24010019 */ li $at,0x19 +/* f040da0: 5481000e */ bnel $a0,$at,.PB0f040ddc +/* f040da4: 2401001b */ li $at,0x1b +.PB0f040da8: +/* f040da8: 8c6a0010 */ lw $t2,0x10($v1) +/* f040dac: 24050053 */ li $a1,0x53 +/* f040db0: 8fa60278 */ lw $a2,0x278($sp) +/* f040db4: 000a7840 */ sll $t7,$t2,0x1 +/* f040db8: 05e30003 */ bgezl $t7,.PB0f040dc8 +/* f040dbc: 8c640040 */ lw $a0,0x40($v1) +/* f040dc0: 24050054 */ li $a1,0x54 +/* f040dc4: 8c640040 */ lw $a0,0x40($v1) +.PB0f040dc8: +/* f040dc8: 0fc22dbf */ jal 0xf08b6fc +/* f040dcc: afa300d4 */ sw $v1,0xd4($sp) +/* f040dd0: 1000002e */ b .PB0f040e8c +/* f040dd4: afa201b8 */ sw $v0,0x1b8($sp) +/* f040dd8: 2401001b */ li $at,0x1b +.PB0f040ddc: +/* f040ddc: 1481000a */ bne $a0,$at,.PB0f040e08 +/* f040de0: 24050056 */ li $a1,0x56 +/* f040de4: 8c640040 */ lw $a0,0x40($v1) +/* f040de8: afa300d4 */ sw $v1,0xd4($sp) +/* f040dec: 0fc22dbf */ jal 0xf08b6fc +/* f040df0: 8fa60278 */ lw $a2,0x278($sp) +/* f040df4: 10400025 */ beqz $v0,.PB0f040e8c +/* f040df8: afa201b8 */ sw $v0,0x1b8($sp) +/* f040dfc: 93b80263 */ lbu $t8,0x263($sp) +/* f040e00: 10000022 */ b .PB0f040e8c +/* f040e04: a058005f */ sb $t8,0x5f($v0) +.PB0f040e08: +/* f040e08: 24010017 */ li $at,0x17 +/* f040e0c: 1481000a */ bne $a0,$at,.PB0f040e38 +/* f040e10: 24050055 */ li $a1,0x55 +/* f040e14: 8c640040 */ lw $a0,0x40($v1) +/* f040e18: afa300d4 */ sw $v1,0xd4($sp) +/* f040e1c: 0fc22dbf */ jal 0xf08b6fc +/* f040e20: 8fa60278 */ lw $a2,0x278($sp) +/* f040e24: 10400019 */ beqz $v0,.PB0f040e8c +/* f040e28: afa201b8 */ sw $v0,0x1b8($sp) +/* f040e2c: 93ac0263 */ lbu $t4,0x263($sp) +/* f040e30: 10000016 */ b .PB0f040e8c +/* f040e34: a04c005f */ sb $t4,0x5f($v0) +.PB0f040e38: +/* f040e38: 24010012 */ li $at,0x12 +/* f040e3c: 1481000b */ bne $a0,$at,.PB0f040e6c +/* f040e40: 3c0d800a */ lui $t5,0x800a +/* f040e44: 8c640040 */ lw $a0,0x40($v1) +/* f040e48: afa300d4 */ sw $v1,0xd4($sp) +/* f040e4c: 24050055 */ li $a1,0x55 +/* f040e50: 0fc22dbf */ jal 0xf08b6fc +/* f040e54: 8fa60278 */ lw $a2,0x278($sp) +/* f040e58: 1040000c */ beqz $v0,.PB0f040e8c +/* f040e5c: afa201b8 */ sw $v0,0x1b8($sp) +/* f040e60: 24190002 */ li $t9,0x2 +/* f040e64: 10000009 */ b .PB0f040e8c +/* f040e68: a059005f */ sb $t9,0x5f($v0) +.PB0f040e6c: +/* f040e6c: 8dade754 */ lw $t5,-0x18ac($t5) +/* f040e70: 8c640040 */ lw $a0,0x40($v1) +/* f040e74: 27a50260 */ addiu $a1,$sp,0x260 +/* f040e78: 8dae00bc */ lw $t6,0xbc($t5) +/* f040e7c: 8dc60004 */ lw $a2,0x4($t6) +/* f040e80: 0fc22d35 */ jal 0xf08b4d4 +/* f040e84: afa300d4 */ sw $v1,0xd4($sp) +/* f040e88: afa201b8 */ sw $v0,0x1b8($sp) +.PB0f040e8c: +/* f040e8c: 10400123 */ beqz $v0,.PB0f04131c +/* f040e90: 8fab00d4 */ lw $t3,0xd4($sp) +/* f040e94: 8d6a004c */ lw $t2,0x4c($t3) +/* f040e98: 3c017f1b */ lui $at,0x7f1b +/* f040e9c: c430adb4 */ lwc1 $f16,-0x524c($at) +/* f040ea0: 448a3000 */ mtc1 $t2,$f6 +/* f040ea4: 3c014270 */ lui $at,0x4270 +/* f040ea8: 44812000 */ mtc1 $at,$f4 +/* f040eac: 468032a0 */ cvt.s.w $f10,$f6 +/* f040eb0: 3c017f1b */ lui $at,0x7f1b +/* f040eb4: 93b8026f */ lbu $t8,0x26f($sp) +/* f040eb8: 8fa40278 */ lw $a0,0x278($sp) +/* f040ebc: 2405001e */ li $a1,0x1e +/* f040ec0: 46105482 */ mul.s $f18,$f10,$f16 +/* f040ec4: c430adb8 */ lwc1 $f16,-0x5248($at) +/* f040ec8: 46049203 */ div.s $f8,$f18,$f4 +/* f040ecc: e7a80168 */ swc1 $f8,0x168($sp) +/* f040ed0: 8d6f0054 */ lw $t7,0x54($t3) +/* f040ed4: 448f3000 */ mtc1 $t7,$f6 +/* f040ed8: 00000000 */ nop +/* f040edc: 468032a0 */ cvt.s.w $f10,$f6 +/* f040ee0: 46105482 */ mul.s $f18,$f10,$f16 +/* f040ee4: 13000080 */ beqz $t8,.PB0f0410e8 +/* f040ee8: e7b200cc */ swc1 $f18,0xcc($sp) +/* f040eec: 0fc12463 */ jal 0xf04918c +/* f040ef0: 00003025 */ move $a2,$zero +/* f040ef4: 1040007c */ beqz $v0,.PB0f0410e8 +/* f040ef8: 00000000 */ nop +/* f040efc: 93a20263 */ lbu $v0,0x263($sp) +/* f040f00: 00001825 */ move $v1,$zero +/* f040f04: 93a40260 */ lbu $a0,0x260($sp) +/* f040f08: 14400025 */ bnez $v0,.PB0f040fa0 +/* f040f0c: 24010018 */ li $at,0x18 +/* f040f10: 10810006 */ beq $a0,$at,.PB0f040f2c +/* f040f14: 8fac025c */ lw $t4,0x25c($sp) +/* f040f18: 24010034 */ li $at,0x34 +/* f040f1c: 10810003 */ beq $a0,$at,.PB0f040f2c +/* f040f20: 24010019 */ li $at,0x19 +/* f040f24: 5481001f */ bnel $a0,$at,.PB0f040fa4 +/* f040f28: 93a40260 */ lbu $a0,0x260($sp) +.PB0f040f2c: +/* f040f2c: 91820000 */ lbu $v0,0x0($t4) +/* f040f30: 24010003 */ li $at,0x3 +/* f040f34: 8fb9025c */ lw $t9,0x25c($sp) +/* f040f38: 10410003 */ beq $v0,$at,.PB0f040f48 +/* f040f3c: 24010006 */ li $at,0x6 +/* f040f40: 14410051 */ bne $v0,$at,.PB0f041088 +/* f040f44: 00000000 */ nop +.PB0f040f48: +/* f040f48: c7240008 */ lwc1 $f4,0x8($t9) +/* f040f4c: c7aa0244 */ lwc1 $f10,0x244($sp) +/* f040f50: c7b20248 */ lwc1 $f18,0x248($sp) +/* f040f54: e7a400b8 */ swc1 $f4,0xb8($sp) +/* f040f58: 8f2d0004 */ lw $t5,0x4($t9) +/* f040f5c: 460a2401 */ sub.s $f16,$f4,$f10 +/* f040f60: c7aa024c */ lwc1 $f10,0x24c($sp) +/* f040f64: c5a800b4 */ lwc1 $f8,0xb4($t5) +/* f040f68: 27a401e0 */ addiu $a0,$sp,0x1e0 +/* f040f6c: 27a501e4 */ addiu $a1,$sp,0x1e4 +/* f040f70: e7a800bc */ swc1 $f8,0xbc($sp) +/* f040f74: c7260010 */ lwc1 $f6,0x10($t9) +/* f040f78: e7b001e0 */ swc1 $f16,0x1e0($sp) +/* f040f7c: 46124101 */ sub.s $f4,$f8,$f18 +/* f040f80: 27a601e8 */ addiu $a2,$sp,0x1e8 +/* f040f84: e7a600c0 */ swc1 $f6,0xc0($sp) +/* f040f88: 460a3401 */ sub.s $f16,$f6,$f10 +/* f040f8c: e7a401e4 */ swc1 $f4,0x1e4($sp) +/* f040f90: 0c0011d8 */ jal 0x4760 +/* f040f94: e7b001e8 */ swc1 $f16,0x1e8($sp) +/* f040f98: 1000003b */ b .PB0f041088 +/* f040f9c: 24030001 */ li $v1,0x1 +.PB0f040fa0: +/* f040fa0: 93a40260 */ lbu $a0,0x260($sp) +.PB0f040fa4: +/* f040fa4: 24050017 */ li $a1,0x17 +/* f040fa8: 24010012 */ li $at,0x12 +/* f040fac: 14a40003 */ bne $a1,$a0,.PB0f040fbc +/* f040fb0: 00000000 */ nop +/* f040fb4: 50400004 */ beqzl $v0,.PB0f040fc8 +/* f040fb8: 8fae025c */ lw $t6,0x25c($sp) +.PB0f040fbc: +/* f040fbc: 14810017 */ bne $a0,$at,.PB0f04101c +/* f040fc0: 00000000 */ nop +/* f040fc4: 8fae025c */ lw $t6,0x25c($sp) +.PB0f040fc8: +/* f040fc8: 24010003 */ li $at,0x3 +/* f040fcc: 8faa025c */ lw $t2,0x25c($sp) +/* f040fd0: 91c20000 */ lbu $v0,0x0($t6) +/* f040fd4: 10410003 */ beq $v0,$at,.PB0f040fe4 +/* f040fd8: 24010006 */ li $at,0x6 +/* f040fdc: 1441002a */ bne $v0,$at,.PB0f041088 +/* f040fe0: 00000000 */ nop +.PB0f040fe4: +/* f040fe4: c5480008 */ lwc1 $f8,0x8($t2) +/* f040fe8: 27a40244 */ addiu $a0,$sp,0x244 +/* f040fec: 8fa500cc */ lw $a1,0xcc($sp) +/* f040ff0: e7a800b8 */ swc1 $f8,0xb8($sp) +/* f040ff4: 8d4b0004 */ lw $t3,0x4($t2) +/* f040ff8: 27a600b8 */ addiu $a2,$sp,0xb8 +/* f040ffc: 27a701e0 */ addiu $a3,$sp,0x1e0 +/* f041000: c57200b4 */ lwc1 $f18,0xb4($t3) +/* f041004: e7b200bc */ swc1 $f18,0xbc($sp) +/* f041008: c5440010 */ lwc1 $f4,0x10($t2) +/* f04100c: 0fc1010b */ jal 0xf04042c +/* f041010: e7a400c0 */ swc1 $f4,0xc0($sp) +/* f041014: 1000001c */ b .PB0f041088 +/* f041018: 24030001 */ li $v1,0x1 +.PB0f04101c: +/* f04101c: 14a40002 */ bne $a1,$a0,.PB0f041028 +/* f041020: 24010001 */ li $at,0x1 +/* f041024: 10410003 */ beq $v0,$at,.PB0f041034 +.PB0f041028: +/* f041028: 2401001b */ li $at,0x1b +/* f04102c: 14810016 */ bne $a0,$at,.PB0f041088 +/* f041030: 00000000 */ nop +.PB0f041034: +/* f041034: 8faf025c */ lw $t7,0x25c($sp) +/* f041038: 24010006 */ li $at,0x6 +/* f04103c: 27a40244 */ addiu $a0,$sp,0x244 +/* f041040: c5e60008 */ lwc1 $f6,0x8($t7) +/* f041044: 27a600b8 */ addiu $a2,$sp,0xb8 +/* f041048: 27a701e0 */ addiu $a3,$sp,0x1e0 +/* f04104c: e7a600b8 */ swc1 $f6,0xb8($sp) +/* f041050: c5ea000c */ lwc1 $f10,0xc($t7) +/* f041054: e7aa00bc */ swc1 $f10,0xbc($sp) +/* f041058: c5f00010 */ lwc1 $f16,0x10($t7) +/* f04105c: e7b000c0 */ swc1 $f16,0xc0($sp) +/* f041060: 91f80000 */ lbu $t8,0x0($t7) +/* f041064: 17010005 */ bne $t8,$at,.PB0f04107c +/* f041068: 3c0141c8 */ lui $at,0x41c8 +/* f04106c: 44814000 */ mtc1 $at,$f8 +/* f041070: 00000000 */ nop +/* f041074: 46085481 */ sub.s $f18,$f10,$f8 +/* f041078: e7b200bc */ swc1 $f18,0xbc($sp) +.PB0f04107c: +/* f04107c: 0fc1010b */ jal 0xf04042c +/* f041080: 8fa500cc */ lw $a1,0xcc($sp) +/* f041084: 24030001 */ li $v1,0x1 +.PB0f041088: +/* f041088: 10600017 */ beqz $v1,.PB0f0410e8 +/* f04108c: 8fa40278 */ lw $a0,0x278($sp) +/* f041090: 0fc122ea */ jal 0xf048ba8 +/* f041094: 27a500b8 */ addiu $a1,$sp,0xb8 +/* f041098: e7a000b4 */ swc1 $f0,0xb4($sp) +/* f04109c: 0c006b88 */ jal 0x1ae20 +/* f0410a0: 46000306 */ mov.s $f12,$f0 +/* f0410a4: c7ac00b4 */ lwc1 $f12,0xb4($sp) +/* f0410a8: 0c006b8b */ jal 0x1ae2c +/* f0410ac: e7a000b0 */ swc1 $f0,0xb0($sp) +/* f0410b0: c7ac01e8 */ lwc1 $f12,0x1e8($sp) +/* f0410b4: c7ae00b0 */ lwc1 $f14,0xb0($sp) +/* f0410b8: c7a201e0 */ lwc1 $f2,0x1e0($sp) +/* f0410bc: 460c0102 */ mul.s $f4,$f0,$f12 +/* f0410c0: 00000000 */ nop +/* f0410c4: 46027182 */ mul.s $f6,$f14,$f2 +/* f0410c8: 00000000 */ nop +/* f0410cc: 460c7282 */ mul.s $f10,$f14,$f12 +/* f0410d0: 00000000 */ nop +/* f0410d4: 46020202 */ mul.s $f8,$f0,$f2 +/* f0410d8: 46062400 */ add.s $f16,$f4,$f6 +/* f0410dc: e7b001e0 */ swc1 $f16,0x1e0($sp) +/* f0410e0: 46085481 */ sub.s $f18,$f10,$f8 +/* f0410e4: e7b201e8 */ swc1 $f18,0x1e8($sp) +.PB0f0410e8: +/* f0410e8: 0c005900 */ jal 0x16400 +/* f0410ec: 27a40178 */ addiu $a0,$sp,0x178 +/* f0410f0: c7ac0200 */ lwc1 $f12,0x200($sp) +/* f0410f4: 0c005b4e */ jal 0x16d38 +/* f0410f8: 27a5011c */ addiu $a1,$sp,0x11c +/* f0410fc: c7ac0204 */ lwc1 $f12,0x204($sp) +/* f041100: 0c005b71 */ jal 0x16dc4 +/* f041104: 27a500dc */ addiu $a1,$sp,0xdc +/* f041108: 27a400dc */ addiu $a0,$sp,0xdc +/* f04110c: 0c00598c */ jal 0x16630 +/* f041110: 27a5011c */ addiu $a1,$sp,0x11c +/* f041114: c7ac0168 */ lwc1 $f12,0x168($sp) +/* f041118: c7a401e0 */ lwc1 $f4,0x1e0($sp) +/* f04111c: c7b001e4 */ lwc1 $f16,0x1e4($sp) +/* f041120: c7a801e8 */ lwc1 $f8,0x1e8($sp) +/* f041124: 460c2182 */ mul.s $f6,$f4,$f12 +/* f041128: c7a200cc */ lwc1 $f2,0xcc($sp) +/* f04112c: 3c01800a */ lui $at,0x800a +/* f041130: 460c8282 */ mul.s $f10,$f16,$f12 +/* f041134: c420e51c */ lwc1 $f0,-0x1ae4($at) +/* f041138: 8fac00d4 */ lw $t4,0xd4($sp) +/* f04113c: 460c4482 */ mul.s $f18,$f8,$f12 +/* f041140: e7a6015c */ swc1 $f6,0x15c($sp) +/* f041144: 8fa401b8 */ lw $a0,0x1b8($sp) +/* f041148: 46022102 */ mul.s $f4,$f4,$f2 +/* f04114c: e7aa0160 */ swc1 $f10,0x160($sp) +/* f041150: 2401ffff */ li $at,-1 +/* f041154: 46003182 */ mul.s $f6,$f6,$f0 +/* f041158: e7b20164 */ swc1 $f18,0x164($sp) +/* f04115c: 27a50244 */ addiu $a1,$sp,0x244 +/* f041160: 27a60234 */ addiu $a2,$sp,0x234 +/* f041164: 27a7011c */ addiu $a3,$sp,0x11c +/* f041168: 27ab016c */ addiu $t3,$sp,0x16c +/* f04116c: 27aa0178 */ addiu $t2,$sp,0x178 +/* f041170: 46062100 */ add.s $f4,$f4,$f6 +/* f041174: 46028182 */ mul.s $f6,$f16,$f2 +/* f041178: e7a4016c */ swc1 $f4,0x16c($sp) +/* f04117c: 46005102 */ mul.s $f4,$f10,$f0 +/* f041180: 46043400 */ add.s $f16,$f6,$f4 +/* f041184: 46024282 */ mul.s $f10,$f8,$f2 +/* f041188: 00000000 */ nop +/* f04118c: 46009182 */ mul.s $f6,$f18,$f0 +/* f041190: e7b00170 */ swc1 $f16,0x170($sp) +/* f041194: 46065100 */ add.s $f4,$f10,$f6 +/* f041198: e7a40174 */ swc1 $f4,0x174($sp) +/* f04119c: 8d8d0058 */ lw $t5,0x58($t4) +/* f0411a0: a48d0062 */ sh $t5,0x62($a0) +/* f0411a4: 84820062 */ lh $v0,0x62($a0) +/* f0411a8: 1041000a */ beq $v0,$at,.PB0f0411d4 +/* f0411ac: 0002c880 */ sll $t9,$v0,0x2 +/* f0411b0: 0322c823 */ subu $t9,$t9,$v0 +/* f0411b4: 0019c8c0 */ sll $t9,$t9,0x3 +/* f0411b8: 0322c821 */ addu $t9,$t9,$v0 +/* f0411bc: 0019c8c0 */ sll $t9,$t9,0x3 +/* f0411c0: 2401003c */ li $at,0x3c +/* f0411c4: 0321001a */ div $zero,$t9,$at +/* f0411c8: 00007012 */ mflo $t6 +/* f0411cc: a48e0062 */ sh $t6,0x62($a0) +/* f0411d0: 00000000 */ nop +.PB0f0411d4: +/* f0411d4: 8faf0274 */ lw $t7,0x274($sp) +/* f0411d8: afab0010 */ sw $t3,0x10($sp) +/* f0411dc: afaa0014 */ sw $t2,0x14($sp) +/* f0411e0: afa5001c */ sw $a1,0x1c($sp) +/* f0411e4: 0fc27b80 */ jal 0xf09ee00 +/* f0411e8: afaf0018 */ sw $t7,0x18($sp) +/* f0411ec: 8fa301b8 */ lw $v1,0x1b8($sp) +/* f0411f0: 8fad00d4 */ lw $t5,0xd4($sp) +/* f0411f4: 8c780040 */ lw $t8,0x40($v1) +/* f0411f8: 330c0080 */ andi $t4,$t8,0x80 +/* f0411fc: 11800047 */ beqz $t4,.PB0f04131c +/* f041200: 00000000 */ nop +/* f041204: 8da20010 */ lw $v0,0x10($t5) +/* f041208: 0002c800 */ sll $t9,$v0,0x0 +/* f04120c: 07210007 */ bgez $t9,.PB0f04122c +/* f041210: 00025100 */ sll $t2,$v0,0x4 +/* f041214: 8c620048 */ lw $v0,0x48($v1) +/* f041218: 3c014000 */ lui $at,0x4000 +/* f04121c: 8c4e0000 */ lw $t6,0x0($v0) +/* f041220: 01c15825 */ or $t3,$t6,$at +/* f041224: 10000007 */ b .PB0f041244 +/* f041228: ac4b0000 */ sw $t3,0x0($v0) +.PB0f04122c: +/* f04122c: 05430006 */ bgezl $t2,.PB0f041248 +/* f041230: c7b0015c */ lwc1 $f16,0x15c($sp) +/* f041234: 8c620048 */ lw $v0,0x48($v1) +/* f041238: 8c4f0000 */ lw $t7,0x0($v0) +/* f04123c: 35f80010 */ ori $t8,$t7,0x10 +/* f041240: ac580000 */ sw $t8,0x0($v0) +.PB0f041244: +/* f041244: c7b0015c */ lwc1 $f16,0x15c($sp) +.PB0f041248: +/* f041248: 8c6c0048 */ lw $t4,0x48($v1) +/* f04124c: 240e00c8 */ li $t6,0xc8 +/* f041250: 3c017f1b */ lui $at,0x7f1b +/* f041254: e5900010 */ swc1 $f16,0x10($t4) +/* f041258: 8c6d0048 */ lw $t5,0x48($v1) +/* f04125c: c7a80160 */ lwc1 $f8,0x160($sp) +/* f041260: e5a80014 */ swc1 $f8,0x14($t5) +/* f041264: 8c790048 */ lw $t9,0x48($v1) +/* f041268: c7b20164 */ lwc1 $f18,0x164($sp) +/* f04126c: e7320018 */ swc1 $f18,0x18($t9) +/* f041270: 8c6b0048 */ lw $t3,0x48($v1) +/* f041274: ad6e00b4 */ sw $t6,0xb4($t3) +/* f041278: 8faa00d4 */ lw $t2,0xd4($sp) +/* f04127c: 8c6f0048 */ lw $t7,0x48($v1) +/* f041280: c54a005c */ lwc1 $f10,0x5c($t2) +/* f041284: e5ea008c */ swc1 $f10,0x8c($t7) +/* f041288: 8fb800d4 */ lw $t8,0xd4($sp) +/* f04128c: c424adbc */ lwc1 $f4,-0x5244($at) +/* f041290: 8c6c0048 */ lw $t4,0x48($v1) +/* f041294: c7060050 */ lwc1 $f6,0x50($t8) +/* f041298: 46043402 */ mul.s $f16,$f6,$f4 +/* f04129c: e5900098 */ swc1 $f16,0x98($t4) +/* f0412a0: 0fc0a255 */ jal 0xf028954 +/* f0412a4: 8fa40278 */ lw $a0,0x278($sp) +/* f0412a8: 8fad01b8 */ lw $t5,0x1b8($sp) +/* f0412ac: 3c01bf80 */ lui $at,0xbf80 +/* f0412b0: 00002025 */ move $a0,$zero +/* f0412b4: 8db90048 */ lw $t9,0x48($t5) +/* f0412b8: 2407ffff */ li $a3,-1 +/* f0412bc: 240bffff */ li $t3,-1 +/* f0412c0: af2200e8 */ sw $v0,0xe8($t9) +/* f0412c4: 8fae00d4 */ lw $t6,0xd4($sp) +/* f0412c8: 240affff */ li $t2,-1 +/* f0412cc: 85c60060 */ lh $a2,0x60($t6) +/* f0412d0: 18c00012 */ blez $a2,.PB0f04131c +/* f0412d4: 00000000 */ nop +/* f0412d8: 8da50014 */ lw $a1,0x14($t5) +/* f0412dc: 44810000 */ mtc1 $at,$f0 +/* f0412e0: afaa002c */ sw $t2,0x2c($sp) +/* f0412e4: afa00028 */ sw $zero,0x28($sp) +/* f0412e8: afa00020 */ sw $zero,0x20($sp) +/* f0412ec: afa0001c */ sw $zero,0x1c($sp) +/* f0412f0: afa00018 */ sw $zero,0x18($sp) +/* f0412f4: afa00014 */ sw $zero,0x14($sp) +/* f0412f8: afab0010 */ sw $t3,0x10($sp) +/* f0412fc: e7a00024 */ swc1 $f0,0x24($sp) +/* f041300: e7a00030 */ swc1 $f0,0x30($sp) +/* f041304: e7a00034 */ swc1 $f0,0x34($sp) +/* f041308: 0fc24e0e */ jal 0xf093838 +/* f04130c: e7a00038 */ swc1 $f0,0x38($sp) +/* f041310: 10000002 */ b .PB0f04131c +/* f041314: 00000000 */ nop +/* f041318: afa00268 */ sw $zero,0x268($sp) +.PB0f04131c: +/* f04131c: 10000019 */ b .PB0f041384 +/* f041320: a3a0026e */ sb $zero,0x26e($sp) +/* f041324: 24010006 */ li $at,0x6 +.PB0f041328: +/* f041328: 14810016 */ bne $a0,$at,.PB0f041384 +/* f04132c: 93af026f */ lbu $t7,0x26f($sp) +/* f041330: 11e00014 */ beqz $t7,.PB0f041384 +/* f041334: 93b80263 */ lbu $t8,0x263($sp) +/* f041338: 24010001 */ li $at,0x1 +/* f04133c: 17010011 */ bne $t8,$at,.PB0f041384 +/* f041340: 8fb90278 */ lw $t9,0x278($sp) +/* f041344: 8fa2027c */ lw $v0,0x27c($sp) +/* f041348: 8f2e02d4 */ lw $t6,0x2d4($t9) +/* f04134c: 3c014120 */ lui $at,0x4120 +/* f041350: 00026080 */ sll $t4,$v0,0x2 +/* f041354: 01cc6821 */ addu $t5,$t6,$t4 +/* f041358: c5a800e4 */ lwc1 $f8,0xe4($t5) +/* f04135c: 44819000 */ mtc1 $at,$f18 +/* f041360: 44802000 */ mtc1 $zero,$f4 +/* f041364: 46124282 */ mul.s $f10,$f8,$f18 +/* f041368: 4600518d */ trunc.w.s $f6,$f10 +/* f04136c: 440a3000 */ mfc1 $t2,$f6 +/* f041370: 00000000 */ nop +/* f041374: a3aa0262 */ sb $t2,0x262($sp) +/* f041378: 8f2f02d4 */ lw $t7,0x2d4($t9) +/* f04137c: 01ecc021 */ addu $t8,$t7,$t4 +/* f041380: e70400e4 */ swc1 $f4,0xe4($t8) +.PB0f041384: +/* f041384: 93ac026e */ lbu $t4,0x26e($sp) +/* f041388: 93ae026f */ lbu $t6,0x26f($sp) +/* f04138c: 518001c0 */ beqzl $t4,.PB0f041a90 +/* f041390: 8fab01c0 */ lw $t3,0x1c0($sp) +/* f041394: 15c000d6 */ bnez $t6,.PB0f0416f0 +/* f041398: 8fad0258 */ lw $t5,0x258($sp) +/* f04139c: 31ab0200 */ andi $t3,$t5,0x200 +/* f0413a0: 1160004c */ beqz $t3,.PB0f0414d4 +/* f0413a4: 8faa025c */ lw $t2,0x25c($sp) +/* f0413a8: 91590000 */ lbu $t9,0x0($t2) +/* f0413ac: 24010006 */ li $at,0x6 +/* f0413b0: 8fa40278 */ lw $a0,0x278($sp) +/* f0413b4: 17210047 */ bne $t9,$at,.PB0f0414d4 +/* f0413b8: 27a50244 */ addiu $a1,$sp,0x244 +/* f0413bc: 27a60234 */ addiu $a2,$sp,0x234 +/* f0413c0: 0fc0e4bf */ jal 0xf0392fc +/* f0413c4: 00003825 */ move $a3,$zero +/* f0413c8: 10400042 */ beqz $v0,.PB0f0414d4 +/* f0413cc: 8faf025c */ lw $t7,0x25c($sp) +/* f0413d0: 8de40004 */ lw $a0,0x4($t7) +/* f0413d4: 8fa50278 */ lw $a1,0x278($sp) +/* f0413d8: 0fc12aec */ jal 0xf04abb0 +/* f0413dc: 24060002 */ li $a2,0x2 +/* f0413e0: 1040003c */ beqz $v0,.PB0f0414d4 +/* f0413e4: 3c014170 */ lui $at,0x4170 +/* f0413e8: 44817000 */ mtc1 $at,$f14 +/* f0413ec: 8fb8025c */ lw $t8,0x25c($sp) +/* f0413f0: c7aa01e0 */ lwc1 $f10,0x1e0($sp) +/* f0413f4: c7a80244 */ lwc1 $f8,0x244($sp) +/* f0413f8: c7100008 */ lwc1 $f16,0x8($t8) +/* f0413fc: 460e5182 */ mul.s $f6,$f10,$f14 +/* f041400: c7aa01e4 */ lwc1 $f10,0x1e4($sp) +/* f041404: 46088481 */ sub.s $f18,$f16,$f8 +/* f041408: c7b00248 */ lwc1 $f16,0x248($sp) +/* f04140c: c704000c */ lwc1 $f4,0xc($t8) +/* f041410: 8fa40278 */ lw $a0,0x278($sp) +/* f041414: 27a501f8 */ addiu $a1,$sp,0x1f8 +/* f041418: 46069001 */ sub.s $f0,$f18,$f6 +/* f04141c: 460e5482 */ mul.s $f18,$f10,$f14 +/* f041420: c7aa01e8 */ lwc1 $f10,0x1e8($sp) +/* f041424: 46102201 */ sub.s $f8,$f4,$f16 +/* f041428: c7a4024c */ lwc1 $f4,0x24c($sp) +/* f04142c: c7060010 */ lwc1 $f6,0x10($t8) +/* f041430: 27a601f4 */ addiu $a2,$sp,0x1f4 +/* f041434: 46124081 */ sub.s $f2,$f8,$f18 +/* f041438: 460e5202 */ mul.s $f8,$f10,$f14 +/* f04143c: c7b201d0 */ lwc1 $f18,0x1d0($sp) +/* f041440: 46043401 */ sub.s $f16,$f6,$f4 +/* f041444: 46000182 */ mul.s $f6,$f0,$f0 +/* f041448: 00000000 */ nop +/* f04144c: 46021102 */ mul.s $f4,$f2,$f2 +/* f041450: 46088301 */ sub.s $f12,$f16,$f8 +/* f041454: 460c6402 */ mul.s $f16,$f12,$f12 +/* f041458: 46043280 */ add.s $f10,$f6,$f4 +/* f04145c: 46105200 */ add.s $f8,$f10,$f16 +/* f041460: 4612403e */ c.le.s $f8,$f18 +/* f041464: 00000000 */ nop +/* f041468: 4500002b */ bc1f .PB0f041518 +/* f04146c: 00000000 */ nop +/* f041470: 0fc0fef0 */ jal 0xf03fbc0 +/* f041474: 27a70260 */ addiu $a3,$sp,0x260 +/* f041478: 8fac01f4 */ lw $t4,0x1f4($sp) +/* f04147c: 8fad01f8 */ lw $t5,0x1f8($sp) +/* f041480: 8fab0278 */ lw $t3,0x278($sp) +/* f041484: 2d8e0001 */ sltiu $t6,$t4,0x1 +/* f041488: 11a00023 */ beqz $t5,.PB0f041518 +/* f04148c: afae01f0 */ sw $t6,0x1f0($sp) +/* f041490: 81630007 */ lb $v1,0x7($t3) +/* f041494: 24010008 */ li $at,0x8 +/* f041498: 3c0a800a */ lui $t2,0x800a +/* f04149c: 1061000a */ beq $v1,$at,.PB0f0414c8 +/* f0414a0: 8fb90278 */ lw $t9,0x278($sp) +/* f0414a4: 2401000a */ li $at,0xa +/* f0414a8: 10610007 */ beq $v1,$at,.PB0f0414c8 +/* f0414ac: 2401001b */ li $at,0x1b +/* f0414b0: 10610005 */ beq $v1,$at,.PB0f0414c8 +/* f0414b4: 2401001c */ li $at,0x1c +/* f0414b8: 10610003 */ beq $v1,$at,.PB0f0414c8 +/* f0414bc: 2401001d */ li $at,0x1d +/* f0414c0: 54610016 */ bnel $v1,$at,.PB0f04151c +/* f0414c4: 8fae01f4 */ lw $t6,0x1f4($sp) +.PB0f0414c8: +/* f0414c8: 8d4ae4d8 */ lw $t2,-0x1b28($t2) +/* f0414cc: 10000012 */ b .PB0f041518 +/* f0414d0: af2a0048 */ sw $t2,0x48($t9) +.PB0f0414d4: +/* f0414d4: 8faf0278 */ lw $t7,0x278($sp) +/* f0414d8: 24010008 */ li $at,0x8 +/* f0414dc: 3c18800a */ lui $t8,0x800a +/* f0414e0: 81e30007 */ lb $v1,0x7($t7) +/* f0414e4: 8fac0278 */ lw $t4,0x278($sp) +/* f0414e8: 10610009 */ beq $v1,$at,.PB0f041510 +/* f0414ec: 2401000a */ li $at,0xa +/* f0414f0: 10610007 */ beq $v1,$at,.PB0f041510 +/* f0414f4: 2401001b */ li $at,0x1b +/* f0414f8: 10610005 */ beq $v1,$at,.PB0f041510 +/* f0414fc: 2401001c */ li $at,0x1c +/* f041500: 10610003 */ beq $v1,$at,.PB0f041510 +/* f041504: 2401001d */ li $at,0x1d +/* f041508: 54610004 */ bnel $v1,$at,.PB0f04151c +/* f04150c: 8fae01f4 */ lw $t6,0x1f4($sp) +.PB0f041510: +/* f041510: 8f18e4d8 */ lw $t8,-0x1b28($t8) +/* f041514: ad980048 */ sw $t8,0x48($t4) +.PB0f041518: +/* f041518: 8fae01f4 */ lw $t6,0x1f4($sp) +.PB0f04151c: +/* f04151c: 8faf01cc */ lw $t7,0x1cc($sp) +/* f041520: 11c00065 */ beqz $t6,.PB0f0416b8 +/* f041524: 00000000 */ nop +/* f041528: 0fc2c84e */ jal 0xf0b2138 +/* f04152c: 27a40260 */ addiu $a0,$sp,0x260 +/* f041530: 8faa025c */ lw $t2,0x25c($sp) +/* f041534: 240dffff */ li $t5,-1 +/* f041538: 240b00c8 */ li $t3,0xc8 +/* f04153c: e7a0009c */ swc1 $f0,0x9c($sp) +/* f041540: afa00098 */ sw $zero,0x98($sp) +/* f041544: afa00094 */ sw $zero,0x94($sp) +/* f041548: afad0090 */ sw $t5,0x90($sp) +/* f04154c: afab008c */ sw $t3,0x8c($sp) +/* f041550: 8d590004 */ lw $t9,0x4($t2) +/* f041554: afb90088 */ sw $t9,0x88($sp) +/* f041558: c5460008 */ lwc1 $f6,0x8($t2) +/* f04155c: e7a60228 */ swc1 $f6,0x228($sp) +/* f041560: c544000c */ lwc1 $f4,0xc($t2) +/* f041564: e7a4022c */ swc1 $f4,0x22c($sp) +/* f041568: c54a0010 */ lwc1 $f10,0x10($t2) +/* f04156c: 0c004be0 */ jal 0x12f80 +/* f041570: e7aa0230 */ swc1 $f10,0x230($sp) +/* f041574: 304f0001 */ andi $t7,$v0,0x1 +/* f041578: 11e00012 */ beqz $t7,.PB0f0415c4 +/* f04157c: 00000000 */ nop +/* f041580: 0c004be0 */ jal 0x12f80 +/* f041584: 00000000 */ nop +/* f041588: 2401000a */ li $at,0xa +/* f04158c: 0041001b */ divu $zero,$v0,$at +/* f041590: 0000c010 */ mfhi $t8 +/* f041594: 270c0002 */ addiu $t4,$t8,0x2 +/* f041598: 448c9000 */ mtc1 $t4,$f18 +/* f04159c: c7b0022c */ lwc1 $f16,0x22c($sp) +/* f0415a0: 05810005 */ bgez $t4,.PB0f0415b8 +/* f0415a4: 46809220 */ cvt.s.w $f8,$f18 +/* f0415a8: 3c014f80 */ lui $at,0x4f80 +/* f0415ac: 44813000 */ mtc1 $at,$f6 +/* f0415b0: 00000000 */ nop +/* f0415b4: 46064200 */ add.s $f8,$f8,$f6 +.PB0f0415b8: +/* f0415b8: 46088100 */ add.s $f4,$f16,$f8 +/* f0415bc: 10000011 */ b .PB0f041604 +/* f0415c0: e7a4022c */ swc1 $f4,0x22c($sp) +.PB0f0415c4: +/* f0415c4: 0c004be0 */ jal 0x12f80 +/* f0415c8: 00000000 */ nop +/* f0415cc: 2401000a */ li $at,0xa +/* f0415d0: 0041001b */ divu $zero,$v0,$at +/* f0415d4: 00007010 */ mfhi $t6 +/* f0415d8: 25cd0002 */ addiu $t5,$t6,0x2 +/* f0415dc: 448d9000 */ mtc1 $t5,$f18 +/* f0415e0: c7aa022c */ lwc1 $f10,0x22c($sp) +/* f0415e4: 05a10005 */ bgez $t5,.PB0f0415fc +/* f0415e8: 468091a0 */ cvt.s.w $f6,$f18 +/* f0415ec: 3c014f80 */ lui $at,0x4f80 +/* f0415f0: 44818000 */ mtc1 $at,$f16 +/* f0415f4: 00000000 */ nop +/* f0415f8: 46103180 */ add.s $f6,$f6,$f16 +.PB0f0415fc: +/* f0415fc: 46065201 */ sub.s $f8,$f10,$f6 +/* f041600: e7a8022c */ swc1 $f8,0x22c($sp) +.PB0f041604: +/* f041604: 27a40260 */ addiu $a0,$sp,0x260 +/* f041608: 8fa5025c */ lw $a1,0x25c($sp) +/* f04160c: 0fc2a04d */ jal 0xf0a8134 +/* f041610: 2406ffff */ li $a2,-1 +/* f041614: 8fa40088 */ lw $a0,0x88($sp) +/* f041618: 8c8b0020 */ lw $t3,0x20($a0) +/* f04161c: 51600012 */ beqzl $t3,.PB0f041668 +/* f041620: 8fb80278 */ lw $t8,0x278($sp) +/* f041624: 0fc0d025 */ jal 0xf034094 +/* f041628: 00000000 */ nop +/* f04162c: 44802000 */ mtc1 $zero,$f4 +/* f041630: 8fa40088 */ lw $a0,0x88($sp) +/* f041634: 27a50228 */ addiu $a1,$sp,0x228 +/* f041638: 4600203c */ c.lt.s $f4,$f0 +/* f04163c: 27a601e0 */ addiu $a2,$sp,0x1e0 +/* f041640: 27a70098 */ addiu $a3,$sp,0x98 +/* f041644: 27b9008c */ addiu $t9,$sp,0x8c +/* f041648: 45000006 */ bc1f .PB0f041664 +/* f04164c: 27aa0094 */ addiu $t2,$sp,0x94 +/* f041650: 27af0090 */ addiu $t7,$sp,0x90 +/* f041654: afaf0018 */ sw $t7,0x18($sp) +/* f041658: afb90010 */ sw $t9,0x10($sp) +/* f04165c: 0fc1000f */ jal 0xf04003c +/* f041660: afaa0014 */ sw $t2,0x14($sp) +.PB0f041664: +/* f041664: 8fb80278 */ lw $t8,0x278($sp) +.PB0f041668: +/* f041668: 8fad025c */ lw $t5,0x25c($sp) +/* f04166c: 8fab0098 */ lw $t3,0x98($sp) +/* f041670: 8f0c001c */ lw $t4,0x1c($t8) +/* f041674: 8fb90094 */ lw $t9,0x94($sp) +/* f041678: 8faa0090 */ lw $t2,0x90($sp) +/* f04167c: 240e00c8 */ li $t6,0xc8 +/* f041680: 8fa40088 */ lw $a0,0x88($sp) +/* f041684: afae0014 */ sw $t6,0x14($sp) +/* f041688: afa00028 */ sw $zero,0x28($sp) +/* f04168c: 8fa5009c */ lw $a1,0x9c($sp) +/* f041690: 27a601e0 */ addiu $a2,$sp,0x1e0 +/* f041694: 27a70260 */ addiu $a3,$sp,0x260 +/* f041698: afad0018 */ sw $t5,0x18($sp) +/* f04169c: afab001c */ sw $t3,0x1c($sp) +/* f0416a0: afac0010 */ sw $t4,0x10($sp) +/* f0416a4: afb90020 */ sw $t9,0x20($sp) +/* f0416a8: 0fc0d0b4 */ jal 0xf0342d0 +/* f0416ac: afaa0024 */ sw $t2,0x24($sp) +/* f0416b0: 10000010 */ b .PB0f0416f4 +/* f0416b4: 8fb801f0 */ lw $t8,0x1f0($sp) +.PB0f0416b8: +/* f0416b8: 11e00006 */ beqz $t7,.PB0f0416d4 +/* f0416bc: c7b201d0 */ lwc1 $f18,0x1d0($sp) +/* f0416c0: 91e20000 */ lbu $v0,0x0($t7) +/* f0416c4: 24010003 */ li $at,0x3 +/* f0416c8: 10410009 */ beq $v0,$at,.PB0f0416f0 +/* f0416cc: 24010006 */ li $at,0x6 +/* f0416d0: 10410007 */ beq $v0,$at,.PB0f0416f0 +.PB0f0416d4: +/* f0416d4: 3c017f1b */ lui $at,0x7f1b +/* f0416d8: c430adc0 */ lwc1 $f16,-0x5240($at) +/* f0416dc: 4610903c */ c.lt.s $f18,$f16 +/* f0416e0: 00000000 */ nop +/* f0416e4: 45020003 */ bc1fl .PB0f0416f4 +/* f0416e8: 8fb801f0 */ lw $t8,0x1f0($sp) +/* f0416ec: afa001f0 */ sw $zero,0x1f0($sp) +.PB0f0416f0: +/* f0416f0: 8fb801f0 */ lw $t8,0x1f0($sp) +.PB0f0416f4: +/* f0416f4: 8fac01cc */ lw $t4,0x1cc($sp) +/* f0416f8: 530000e5 */ beqzl $t8,.PB0f041a90 +/* f0416fc: 8fab01c0 */ lw $t3,0x1c0($sp) +/* f041700: 118000a2 */ beqz $t4,.PB0f04198c +/* f041704: 8fab0224 */ lw $t3,0x224($sp) +/* f041708: 91820000 */ lbu $v0,0x0($t4) +/* f04170c: 24010006 */ li $at,0x6 +/* f041710: 93ae026f */ lbu $t6,0x26f($sp) +/* f041714: 10410003 */ beq $v0,$at,.PB0f041724 +/* f041718: 24010003 */ li $at,0x3 +/* f04171c: 54410053 */ bnel $v0,$at,.PB0f04186c +/* f041720: 24010001 */ li $at,0x1 +.PB0f041724: +/* f041724: 15c0000c */ bnez $t6,.PB0f041758 +/* f041728: 8fad01bc */ lw $t5,0x1bc($sp) +/* f04172c: 15a0000a */ bnez $t5,.PB0f041758 +/* f041730: 8fab0278 */ lw $t3,0x278($sp) +/* f041734: 8d790018 */ lw $t9,0x18($t3) +/* f041738: 8faf01cc */ lw $t7,0x1cc($sp) +/* f04173c: 01602825 */ move $a1,$t3 +/* f041740: 332a0040 */ andi $t2,$t9,0x40 +/* f041744: 11400045 */ beqz $t2,.PB0f04185c +/* f041748: 24060002 */ li $a2,0x2 +/* f04174c: 0fc12aec */ jal 0xf04abb0 +/* f041750: 8de40004 */ lw $a0,0x4($t7) +/* f041754: 10400041 */ beqz $v0,.PB0f04185c +.PB0f041758: +/* f041758: 2418ffff */ li $t8,-1 +/* f04175c: 240c00c8 */ li $t4,0xc8 +/* f041760: afa00084 */ sw $zero,0x84($sp) +/* f041764: afa00080 */ sw $zero,0x80($sp) +/* f041768: afb8007c */ sw $t8,0x7c($sp) +/* f04176c: afac0078 */ sw $t4,0x78($sp) +/* f041770: 0fc2c84e */ jal 0xf0b2138 +/* f041774: 27a40260 */ addiu $a0,$sp,0x260 +/* f041778: 8fa501cc */ lw $a1,0x1cc($sp) +/* f04177c: e7a00074 */ swc1 $f0,0x74($sp) +/* f041780: 27a40260 */ addiu $a0,$sp,0x260 +/* f041784: 8cad0004 */ lw $t5,0x4($a1) +/* f041788: 2406ffff */ li $a2,-1 +/* f04178c: 0fc2a04d */ jal 0xf0a8134 +/* f041790: afad0070 */ sw $t5,0x70($sp) +/* f041794: 8fa40070 */ lw $a0,0x70($sp) +/* f041798: 8c990020 */ lw $t9,0x20($a0) +/* f04179c: 53200012 */ beqzl $t9,.PB0f0417e8 +/* f0417a0: 8fac0278 */ lw $t4,0x278($sp) +/* f0417a4: 0fc0d025 */ jal 0xf034094 +/* f0417a8: 00000000 */ nop +/* f0417ac: 44805000 */ mtc1 $zero,$f10 +/* f0417b0: 8fa40070 */ lw $a0,0x70($sp) +/* f0417b4: 27a50228 */ addiu $a1,$sp,0x228 +/* f0417b8: 4600503c */ c.lt.s $f10,$f0 +/* f0417bc: 27a601e0 */ addiu $a2,$sp,0x1e0 +/* f0417c0: 27a70084 */ addiu $a3,$sp,0x84 +/* f0417c4: 27aa0078 */ addiu $t2,$sp,0x78 +/* f0417c8: 45000006 */ bc1f .PB0f0417e4 +/* f0417cc: 27af0080 */ addiu $t7,$sp,0x80 +/* f0417d0: 27ab007c */ addiu $t3,$sp,0x7c +/* f0417d4: afab0018 */ sw $t3,0x18($sp) +/* f0417d8: afaa0010 */ sw $t2,0x10($sp) +/* f0417dc: 0fc1000f */ jal 0xf04003c +/* f0417e0: afaf0014 */ sw $t7,0x14($sp) +.PB0f0417e4: +/* f0417e4: 8fac0278 */ lw $t4,0x278($sp) +.PB0f0417e8: +/* f0417e8: 27b801e0 */ addiu $t8,$sp,0x1e0 +/* f0417ec: 8fa40070 */ lw $a0,0x70($sp) +/* f0417f0: afb80010 */ sw $t8,0x10($sp) +/* f0417f4: 8fa501cc */ lw $a1,0x1cc($sp) +/* f0417f8: 8fa60078 */ lw $a2,0x78($sp) +/* f0417fc: 27a70228 */ addiu $a3,$sp,0x228 +/* f041800: 0fc097dd */ jal 0xf025f74 +/* f041804: afac0014 */ sw $t4,0x14($sp) +/* f041808: 8fad0278 */ lw $t5,0x278($sp) +/* f04180c: 8faa01cc */ lw $t2,0x1cc($sp) +/* f041810: 8faf0084 */ lw $t7,0x84($sp) +/* f041814: 8dae001c */ lw $t6,0x1c($t5) +/* f041818: 8fab0080 */ lw $t3,0x80($sp) +/* f04181c: 8fb8007c */ lw $t8,0x7c($sp) +/* f041820: 241900c8 */ li $t9,0xc8 +/* f041824: afb90014 */ sw $t9,0x14($sp) +/* f041828: afa00028 */ sw $zero,0x28($sp) +/* f04182c: 8fa40070 */ lw $a0,0x70($sp) +/* f041830: 8fa50074 */ lw $a1,0x74($sp) +/* f041834: 27a601e0 */ addiu $a2,$sp,0x1e0 +/* f041838: 27a70260 */ addiu $a3,$sp,0x260 +/* f04183c: afaa0018 */ sw $t2,0x18($sp) +/* f041840: afaf001c */ sw $t7,0x1c($sp) +/* f041844: afae0010 */ sw $t6,0x10($sp) +/* f041848: afab0020 */ sw $t3,0x20($sp) +/* f04184c: 0fc0d0b4 */ jal 0xf0342d0 +/* f041850: afb80024 */ sw $t8,0x24($sp) +/* f041854: 1000006f */ b .PB0f041a14 +/* f041858: 93ad0260 */ lbu $t5,0x260($sp) +.PB0f04185c: +/* f04185c: afa00250 */ sw $zero,0x250($sp) +/* f041860: 1000006b */ b .PB0f041a10 +/* f041864: afa00268 */ sw $zero,0x268($sp) +/* f041868: 24010001 */ li $at,0x1 +.PB0f04186c: +/* f04186c: 10410005 */ beq $v0,$at,.PB0f041884 +/* f041870: 8fac01cc */ lw $t4,0x1cc($sp) +/* f041874: 24010004 */ li $at,0x4 +/* f041878: 10410002 */ beq $v0,$at,.PB0f041884 +/* f04187c: 24010002 */ li $at,0x2 +/* f041880: 14410063 */ bne $v0,$at,.PB0f041a10 +.PB0f041884: +/* f041884: 3c19800a */ lui $t9,0x800a +/* f041888: 8f39e7e4 */ lw $t9,-0x181c($t9) +/* f04188c: 8d8d0004 */ lw $t5,0x4($t4) +/* f041890: 240effff */ li $t6,-1 +/* f041894: afae0068 */ sw $t6,0x68($sp) +/* f041898: 13200004 */ beqz $t9,.PB0f0418ac +/* f04189c: afad006c */ sw $t5,0x6c($sp) +/* f0418a0: 0fc63af1 */ jal 0xf18ebc4 +/* f0418a4: 8fa40278 */ lw $a0,0x278($sp) +/* f0418a8: afa20068 */ sw $v0,0x68($sp) +.PB0f0418ac: +/* f0418ac: 27a40260 */ addiu $a0,$sp,0x260 +/* f0418b0: 8fa501cc */ lw $a1,0x1cc($sp) +/* f0418b4: 0fc2a04d */ jal 0xf0a8134 +/* f0418b8: 2406ffff */ li $a2,-1 +/* f0418bc: 27a40244 */ addiu $a0,$sp,0x244 +/* f0418c0: 27a50234 */ addiu $a1,$sp,0x234 +/* f0418c4: 27a60228 */ addiu $a2,$sp,0x228 +/* f0418c8: 0fc19815 */ jal 0xf066054 +/* f0418cc: 27a70214 */ addiu $a3,$sp,0x214 +/* f0418d0: 240a0001 */ li $t2,0x1 +/* f0418d4: afaa0210 */ sw $t2,0x210($sp) +/* f0418d8: 0fc4fe8e */ jal 0xf13fa38 +/* f0418dc: 8fa40278 */ lw $a0,0x278($sp) +/* f0418e0: 1040000b */ beqz $v0,.PB0f041910 +/* f0418e4: 87a40214 */ lh $a0,0x214($sp) +/* f0418e8: 240f0019 */ li $t7,0x19 +/* f0418ec: afaf0014 */ sw $t7,0x14($sp) +/* f0418f0: 87a40214 */ lh $a0,0x214($sp) +/* f0418f4: 8fa501cc */ lw $a1,0x1cc($sp) +/* f0418f8: 27a60228 */ addiu $a2,$sp,0x228 +/* f0418fc: 00003825 */ move $a3,$zero +/* f041900: 0fc4c3dd */ jal 0xf130f74 +/* f041904: afa00010 */ sw $zero,0x10($sp) +/* f041908: 10000007 */ b .PB0f041928 +/* f04190c: 00000000 */ nop +.PB0f041910: +/* f041910: 8fa501cc */ lw $a1,0x1cc($sp) +/* f041914: 27a60228 */ addiu $a2,$sp,0x228 +/* f041918: 00003825 */ move $a3,$zero +/* f04191c: afa00010 */ sw $zero,0x10($sp) +/* f041920: 0fc4c3dd */ jal 0xf130f74 +/* f041924: afa00014 */ sw $zero,0x14($sp) +.PB0f041928: +/* f041928: 3c0b800a */ lui $t3,0x800a +/* f04192c: 8178251b */ lb $t8,0x251b($t3) +/* f041930: 8fac0278 */ lw $t4,0x278($sp) +/* f041934: 0701000a */ bgez $t8,.PB0f041960 +/* f041938: 00000000 */ nop +/* f04193c: 918d0125 */ lbu $t5,0x125($t4) +/* f041940: 24010010 */ li $at,0x10 +/* f041944: 8fae006c */ lw $t6,0x6c($sp) +/* f041948: 15a10005 */ bne $t5,$at,.PB0f041960 +/* f04194c: 00000000 */ nop +/* f041950: 8dd9000c */ lw $t9,0xc($t6) +/* f041954: 332a0001 */ andi $t2,$t9,0x1 +/* f041958: 5540002e */ bnezl $t2,.PB0f041a14 +/* f04195c: 93ad0260 */ lbu $t5,0x260($sp) +.PB0f041960: +/* f041960: 0fc2c84e */ jal 0xf0b2138 +/* f041964: 27a40260 */ addiu $a0,$sp,0x260 +/* f041968: 8faf0068 */ lw $t7,0x68($sp) +/* f04196c: 44050000 */ mfc1 $a1,$f0 +/* f041970: 8fa4006c */ lw $a0,0x6c($sp) +/* f041974: 27a60228 */ addiu $a2,$sp,0x228 +/* f041978: 93a70260 */ lbu $a3,0x260($sp) +/* f04197c: 0fc21504 */ jal 0xf085410 +/* f041980: afaf0010 */ sw $t7,0x10($sp) +/* f041984: 10000023 */ b .PB0f041a14 +/* f041988: 93ad0260 */ lbu $t5,0x260($sp) +.PB0f04198c: +/* f04198c: 11600020 */ beqz $t3,.PB0f041a10 +/* f041990: 27a40244 */ addiu $a0,$sp,0x244 +/* f041994: 27a50234 */ addiu $a1,$sp,0x234 +/* f041998: 27a60228 */ addiu $a2,$sp,0x228 +/* f04199c: 0fc19815 */ jal 0xf066054 +/* f0419a0: 27a70214 */ addiu $a3,$sp,0x214 +/* f0419a4: 24180001 */ li $t8,0x1 +/* f0419a8: afb80210 */ sw $t8,0x210($sp) +/* f0419ac: 27a40260 */ addiu $a0,$sp,0x260 +/* f0419b0: 27a50228 */ addiu $a1,$sp,0x228 +/* f0419b4: 2406ffff */ li $a2,-1 +/* f0419b8: 0fc2a219 */ jal 0xf0a8864 +/* f0419bc: 27a70214 */ addiu $a3,$sp,0x214 +/* f0419c0: 0fc4fe8e */ jal 0xf13fa38 +/* f0419c4: 8fa40278 */ lw $a0,0x278($sp) +/* f0419c8: 1040000b */ beqz $v0,.PB0f0419f8 +/* f0419cc: 87a40214 */ lh $a0,0x214($sp) +/* f0419d0: 240c0019 */ li $t4,0x19 +/* f0419d4: afac0014 */ sw $t4,0x14($sp) +/* f0419d8: 87a40214 */ lh $a0,0x214($sp) +/* f0419dc: 00002825 */ move $a1,$zero +/* f0419e0: 27a60228 */ addiu $a2,$sp,0x228 +/* f0419e4: 00003825 */ move $a3,$zero +/* f0419e8: 0fc4c3dd */ jal 0xf130f74 +/* f0419ec: afa00010 */ sw $zero,0x10($sp) +/* f0419f0: 10000008 */ b .PB0f041a14 +/* f0419f4: 93ad0260 */ lbu $t5,0x260($sp) +.PB0f0419f8: +/* f0419f8: 00002825 */ move $a1,$zero +/* f0419fc: 27a60228 */ addiu $a2,$sp,0x228 +/* f041a00: 00003825 */ move $a3,$zero +/* f041a04: afa00010 */ sw $zero,0x10($sp) +/* f041a08: 0fc4c3dd */ jal 0xf130f74 +/* f041a0c: afa00014 */ sw $zero,0x14($sp) +.PB0f041a10: +/* f041a10: 93ad0260 */ lbu $t5,0x260($sp) +.PB0f041a14: +/* f041a14: 24010007 */ li $at,0x7 +/* f041a18: 93ae0263 */ lbu $t6,0x263($sp) +/* f041a1c: 15a1001b */ bne $t5,$at,.PB0f041a8c +/* f041a20: 24010001 */ li $at,0x1 +/* f041a24: 15c10019 */ bne $t6,$at,.PB0f041a8c +/* f041a28: 8fb90278 */ lw $t9,0x278($sp) +/* f041a2c: 8f2a02d4 */ lw $t2,0x2d4($t9) +/* f041a30: 3c03800a */ lui $v1,0x800a +/* f041a34: 11400005 */ beqz $t2,.PB0f041a4c +/* f041a38: 00000000 */ nop +/* f041a3c: 0fc63af1 */ jal 0xf18ebc4 +/* f041a40: 03202025 */ move $a0,$t9 +/* f041a44: 10000002 */ b .PB0f041a50 +/* f041a48: 00401825 */ move $v1,$v0 +.PB0f041a4c: +/* f041a4c: 8c63e75c */ lw $v1,-0x18a4($v1) +.PB0f041a50: +/* f041a50: 8faf0210 */ lw $t7,0x210($sp) +/* f041a54: 27a40244 */ addiu $a0,$sp,0x244 +/* f041a58: 27a50234 */ addiu $a1,$sp,0x234 +/* f041a5c: 15e00005 */ bnez $t7,.PB0f041a74 +/* f041a60: 27a60228 */ addiu $a2,$sp,0x228 +/* f041a64: 27a70214 */ addiu $a3,$sp,0x214 +/* f041a68: 0fc19815 */ jal 0xf066054 +/* f041a6c: afa30064 */ sw $v1,0x64($sp) +/* f041a70: 8fa30064 */ lw $v1,0x64($sp) +.PB0f041a74: +/* f041a74: 00002025 */ move $a0,$zero +/* f041a78: 27a50228 */ addiu $a1,$sp,0x228 +/* f041a7c: 27a60214 */ addiu $a2,$sp,0x214 +/* f041a80: 24070016 */ li $a3,0x16 +/* f041a84: 0fc4ab78 */ jal 0xf12ade0 +/* f041a88: afa30010 */ sw $v1,0x10($sp) +.PB0f041a8c: +/* f041a8c: 8fab01c0 */ lw $t3,0x1c0($sp) +.PB0f041a90: +/* f041a90: 8fa4025c */ lw $a0,0x25c($sp) +/* f041a94: 51600004 */ beqzl $t3,.PB0f041aa8 +/* f041a98: 8fa80268 */ lw $t0,0x268($sp) +/* f041a9c: 0fc190d6 */ jal 0xf064358 +/* f041aa0: 00002825 */ move $a1,$zero +/* f041aa4: 8fa80268 */ lw $t0,0x268($sp) +.PB0f041aa8: +/* f041aa8: 8fac0250 */ lw $t4,0x250($sp) +/* f041aac: 93ad0260 */ lbu $t5,0x260($sp) +/* f041ab0: 0008c02b */ sltu $t8,$zero,$t0 +/* f041ab4: 1180000e */ beqz $t4,.PB0f041af0 +/* f041ab8: 03004025 */ move $t0,$t8 +/* f041abc: 25aefffe */ addiu $t6,$t5,-2 +/* f041ac0: 2dc1002a */ sltiu $at,$t6,0x2a +/* f041ac4: 10200009 */ beqz $at,.PB0f041aec +/* f041ac8: 000e7080 */ sll $t6,$t6,0x2 +/* f041acc: 3c017f1b */ lui $at,0x7f1b +/* f041ad0: 002e0821 */ addu $at,$at,$t6 +/* f041ad4: 8c2eadc4 */ lw $t6,-0x523c($at) +/* f041ad8: 01c00008 */ jr $t6 +/* f041adc: 00000000 */ nop +/* f041ae0: 240a0001 */ li $t2,0x1 +/* f041ae4: 10000002 */ b .PB0f041af0 +/* f041ae8: afaa0250 */ sw $t2,0x250($sp) +.PB0f041aec: +/* f041aec: afa00250 */ sw $zero,0x250($sp) +.PB0f041af0: +/* f041af0: 11000004 */ beqz $t0,.PB0f041b04 +/* f041af4: 01003825 */ move $a3,$t0 +/* f041af8: 8fa70250 */ lw $a3,0x250($sp) +/* f041afc: 0007c82b */ sltu $t9,$zero,$a3 +/* f041b00: 03203825 */ move $a3,$t9 +.PB0f041b04: +/* f041b04: 27af0244 */ addiu $t7,$sp,0x244 +/* f041b08: 27ab0228 */ addiu $t3,$sp,0x228 +/* f041b0c: afab0014 */ sw $t3,0x14($sp) +/* f041b10: afaf0010 */ sw $t7,0x10($sp) +/* f041b14: 8fa40278 */ lw $a0,0x278($sp) +/* f041b18: 8fa5027c */ lw $a1,0x27c($sp) +/* f041b1c: 8fa60268 */ lw $a2,0x268($sp) +/* f041b20: 0fc0f8eb */ jal 0xf03e3ac +/* f041b24: afa80054 */ sw $t0,0x54($sp) +/* f041b28: 93b8026f */ lbu $t8,0x26f($sp) +/* f041b2c: 8fa80054 */ lw $t0,0x54($sp) +/* f041b30: 8fa40278 */ lw $a0,0x278($sp) +/* f041b34: 13000015 */ beqz $t8,.PB0f041b8c +/* f041b38: 8fa5027c */ lw $a1,0x27c($sp) +/* f041b3c: 1100000a */ beqz $t0,.PB0f041b68 +/* f041b40: 01003025 */ move $a2,$t0 +/* f041b44: 8fac0278 */ lw $t4,0x278($sp) +/* f041b48: 8fae027c */ lw $t6,0x27c($sp) +/* f041b4c: 8d8d02d4 */ lw $t5,0x2d4($t4) +/* f041b50: 000e5080 */ sll $t2,$t6,0x2 +/* f041b54: 01aa1021 */ addu $v0,$t5,$t2 +/* f041b58: 8c430024 */ lw $v1,0x24($v0) +/* f041b5c: 18600002 */ blez $v1,.PB0f041b68 +/* f041b60: 2479ffff */ addiu $t9,$v1,-1 +/* f041b64: ac590024 */ sw $t9,0x24($v0) +.PB0f041b68: +/* f041b68: 11000004 */ beqz $t0,.PB0f041b7c +/* f041b6c: 8fa40278 */ lw $a0,0x278($sp) +/* f041b70: 93a6026e */ lbu $a2,0x26e($sp) +/* f041b74: 0006782b */ sltu $t7,$zero,$a2 +/* f041b78: 01e03025 */ move $a2,$t7 +.PB0f041b7c: +/* f041b7c: 0fc0fe56 */ jal 0xf03f958 +/* f041b80: 8fa5027c */ lw $a1,0x27c($sp) +/* f041b84: 10000004 */ b .PB0f041b98 +/* f041b88: 8fbf0044 */ lw $ra,0x44($sp) +.PB0f041b8c: +/* f041b8c: 0fc0fe56 */ jal 0xf03f958 +/* f041b90: 8fa60268 */ lw $a2,0x268($sp) +/* f041b94: 8fbf0044 */ lw $ra,0x44($sp) +.PB0f041b98: +/* f041b98: 27bd0278 */ addiu $sp,$sp,0x278 +/* f041b9c: 03e00008 */ jr $ra +/* f041ba0: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel chrShoot @@ -19625,7 +21223,7 @@ void chraTick(struct chrdata *chr) chr->soundtimer += g_Vars.lvupdate240_60; chr->talktimer += g_Vars.lvupdate240_60; -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA if (chr->aibot) { chr->aibot->unk030 += g_Vars.lvupdate240_60; } @@ -19758,7 +21356,7 @@ void cutsceneStart(u32 ailistid) { struct prop *prop; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA var8009e388pf = 0; #else g_CutsceneFrameOverrun240 = 0; @@ -19781,7 +21379,6 @@ void cutsceneStart(u32 ailistid) g_BgChrs[g_NumBgChrs - 1].aireturnlist = -1; } - #if VERSION >= VERSION_NTSC_1_0 u32 var80068454 = 0; #endif diff --git a/src/game/chr/chraicommands.c b/src/game/chr/chraicommands.c index bb99f77d0..2673e90f2 100644 --- a/src/game/chr/chraicommands.c +++ b/src/game/chr/chraicommands.c @@ -421,7 +421,7 @@ bool aiChrDoAnimation(void) if (g_Vars.in_cutscene) { if (startframe != 0xfffe) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA fstartframe += var8009e388pf * speed; #else fstartframe += g_CutsceneFrameOverrun240 * speed * 0.25f; @@ -4201,7 +4201,7 @@ bool aiTryEquipWeapon(void) prop = chrGiveWeapon(g_Vars.chrdata, model, cmd[4], flags); } } -#elif VERSION < VERSION_PAL_FINAL +#elif VERSION < VERSION_PAL_BETA // NTSC final enables Marquis for MBR, but fails to realise why it was // disabled in the first place (Cass needs to equip her Falcon). // Additionally, NTSC Final changes the logic so the chrs are given @@ -5152,7 +5152,7 @@ bool aiObjectDoAnimation(void) thing = 1.0f / (s32)cmd[5]; if (g_Vars.in_cutscene && startframe != 0xfffe) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA fstartframe += var8009e388pf * thing; #else fstartframe += g_CutsceneFrameOverrun240 * thing * 0.25f; @@ -5160,7 +5160,7 @@ bool aiObjectDoAnimation(void) } animInit(obj->model->anim); -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA modelSetAnimPlaySpeed(obj->model, 1.2, 0); #endif modelSetAnimation(obj->model, anim_id, 0, fstartframe, thing, 0); @@ -7915,6 +7915,669 @@ glabel var7f1a9d64 /* f05add8: 03e00008 */ jr $ra /* f05addc: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel aiSayQuip +.late_rodata +glabel var7f1a9d64 +.word 0x45dac000 +.text +/* f05a3a8: 27bdff58 */ addiu $sp,$sp,-168 +/* f05a3ac: afb00048 */ sw $s0,0x48($sp) +/* f05a3b0: 3c10800a */ lui $s0,0x800a +/* f05a3b4: 2610e4d0 */ addiu $s0,$s0,-6960 +/* f05a3b8: 8e0e0434 */ lw $t6,0x434($s0) +/* f05a3bc: 8e0f0438 */ lw $t7,0x438($s0) +/* f05a3c0: afbf004c */ sw $ra,0x4c($sp) +/* f05a3c4: 8e040424 */ lw $a0,0x424($s0) +/* f05a3c8: 01cf1021 */ addu $v0,$t6,$t7 +/* f05a3cc: 90450002 */ lbu $a1,0x2($v0) +/* f05a3d0: 0fc1271a */ jal 0xf049c68 +/* f05a3d4: afa2009c */ sw $v0,0x9c($sp) +/* f05a3d8: 8e18028c */ lw $t8,0x28c($s0) +/* f05a3dc: 8e070424 */ lw $a3,0x424($s0) +/* f05a3e0: 8fa8009c */ lw $t0,0x9c($sp) +/* f05a3e4: afb80078 */ sw $t8,0x78($sp) +/* f05a3e8: 94f90192 */ lhu $t9,0x192($a3) +/* f05a3ec: 91060003 */ lbu $a2,0x3($t0) +/* f05a3f0: 00402825 */ move $a1,$v0 +/* f05a3f4: 33291000 */ andi $t1,$t9,0x1000 +/* f05a3f8: 10e00003 */ beqz $a3,.PB0f05a408 +/* f05a3fc: a3a9006b */ sb $t1,0x6b($sp) +/* f05a400: 10000002 */ b .PB0f05a40c +/* f05a404: 90e302fe */ lbu $v1,0x2fe($a3) +.PB0f05a408: +/* f05a408: 00001825 */ move $v1,$zero +.PB0f05a40c: +/* f05a40c: 24010001 */ li $at,0x1 +/* f05a410: 14610007 */ bne $v1,$at,.PB0f05a430 +/* f05a414: 3c0a8007 */ lui $t2,0x8007 +/* f05a418: 254aada8 */ addiu $t2,$t2,-21080 +/* f05a41c: 28c10006 */ slti $at,$a2,0x6 +/* f05a420: 1420002a */ bnez $at,.PB0f05a4cc +/* f05a424: afaa0084 */ sw $t2,0x84($sp) +/* f05a428: 10000028 */ b .PB0f05a4cc +/* f05a42c: 00003025 */ move $a2,$zero +.PB0f05a430: +/* f05a430: 80eb0006 */ lb $t3,0x6($a3) +/* f05a434: 24030029 */ li $v1,0x29 +/* f05a438: 3c0c8007 */ lui $t4,0x8007 +/* f05a43c: 146b000d */ bne $v1,$t3,.PB0f05a474 +/* f05a440: 258cade0 */ addiu $t4,$t4,-21024 +/* f05a444: 28c10003 */ slti $at,$a2,0x3 +/* f05a448: 14200020 */ bnez $at,.PB0f05a4cc +/* f05a44c: afac0084 */ sw $t4,0x84($sp) +/* f05a450: afa60070 */ sw $a2,0x70($sp) +/* f05a454: 0c004be0 */ jal 0x12f80 +/* f05a458: afa5007c */ sw $a1,0x7c($sp) +/* f05a45c: 30460001 */ andi $a2,$v0,0x1 +/* f05a460: afa60070 */ sw $a2,0x70($sp) +/* f05a464: 8fa5007c */ lw $a1,0x7c($sp) +/* f05a468: 8e070424 */ lw $a3,0x424($s0) +/* f05a46c: 10000017 */ b .PB0f05a4cc +/* f05a470: 8fa8009c */ lw $t0,0x9c($sp) +.PB0f05a474: +/* f05a474: 910e0007 */ lbu $t6,0x7($t0) +/* f05a478: 3c0b8007 */ lui $t3,0x8007 +/* f05a47c: 256babe8 */ addiu $t3,$t3,-21528 +/* f05a480: 55c00012 */ bnezl $t6,.PB0f05a4cc +/* f05a484: afab0084 */ sw $t3,0x84($sp) +/* f05a488: 90e202b1 */ lbu $v0,0x2b1($a3) +/* f05a48c: 240f0003 */ li $t7,0x3 +/* f05a490: 28410004 */ slti $at,$v0,0x4 +/* f05a494: 14200004 */ bnez $at,.PB0f05a4a8 +/* f05a498: 00000000 */ nop +/* f05a49c: a0ef02b1 */ sb $t7,0x2b1($a3) +/* f05a4a0: 8e070424 */ lw $a3,0x424($s0) +/* f05a4a4: 90e202b1 */ lbu $v0,0x2b1($a3) +.PB0f05a4a8: +/* f05a4a8: 00430019 */ multu $v0,$v1 +/* f05a4ac: 3c098007 */ lui $t1,0x8007 +/* f05a4b0: 2529a6c8 */ addiu $t1,$t1,-22840 +/* f05a4b4: 0000c012 */ mflo $t8 +/* f05a4b8: 0018c8c0 */ sll $t9,$t8,0x3 +/* f05a4bc: 03295021 */ addu $t2,$t9,$t1 +/* f05a4c0: 10000002 */ b .PB0f05a4cc +/* f05a4c4: afaa0084 */ sw $t2,0x84($sp) +/* f05a4c8: afab0084 */ sw $t3,0x84($sp) +.PB0f05a4cc: +/* f05a4cc: 54c0000e */ bnezl $a2,.PB0f05a508 +/* f05a4d0: 90e40125 */ lbu $a0,0x125($a3) +/* f05a4d4: 910c0004 */ lbu $t4,0x4($t0) +/* f05a4d8: 5580000b */ bnezl $t4,.PB0f05a508 +/* f05a4dc: 90e40125 */ lbu $a0,0x125($a3) +/* f05a4e0: 910d0006 */ lbu $t5,0x6($t0) +/* f05a4e4: 55a00008 */ bnezl $t5,.PB0f05a508 +/* f05a4e8: 90e40125 */ lbu $a0,0x125($a3) +/* f05a4ec: ace00120 */ sw $zero,0x120($a3) +/* f05a4f0: 8e0e0438 */ lw $t6,0x438($s0) +/* f05a4f4: 00001025 */ move $v0,$zero +/* f05a4f8: 25cf000a */ addiu $t7,$t6,0xa +/* f05a4fc: 10000208 */ b .PB0f05ad20 +/* f05a500: ae0f0438 */ sw $t7,0x438($s0) +/* f05a504: 90e40125 */ lbu $a0,0x125($a3) +.PB0f05a508: +/* f05a508: afa60070 */ sw $a2,0x70($sp) +/* f05a50c: 0fc133c9 */ jal 0xf04cf24 +/* f05a510: afa5007c */ sw $a1,0x7c($sp) +/* f05a514: 8fb8009c */ lw $t8,0x9c($sp) +/* f05a518: afa20088 */ sw $v0,0x88($sp) +/* f05a51c: afa00098 */ sw $zero,0x98($sp) +/* f05a520: afa00094 */ sw $zero,0x94($sp) +/* f05a524: 93190004 */ lbu $t9,0x4($t8) +/* f05a528: 8e070424 */ lw $a3,0x424($s0) +/* f05a52c: 24010005 */ li $at,0x5 +/* f05a530: afb90090 */ sw $t9,0x90($sp) +/* f05a534: 80e30006 */ lb $v1,0x6($a3) +/* f05a538: 8fa5007c */ lw $a1,0x7c($sp) +/* f05a53c: 8fa90084 */ lw $t1,0x84($sp) +/* f05a540: 10610007 */ beq $v1,$at,.PB0f05a560 +/* f05a544: 3c0a8007 */ lui $t2,0x8007 +/* f05a548: 2401000f */ li $at,0xf +/* f05a54c: 10610004 */ beq $v1,$at,.PB0f05a560 +/* f05a550: 2401003a */ li $at,0x3a +/* f05a554: 10610002 */ beq $v1,$at,.PB0f05a560 +/* f05a558: 24010028 */ li $at,0x28 +/* f05a55c: 14610004 */ bne $v1,$at,.PB0f05a570 +.PB0f05a560: +/* f05a560: 254aabe8 */ addiu $t2,$t2,-21528 +/* f05a564: 112a0002 */ beq $t1,$t2,.PB0f05a570 +/* f05a568: 00000000 */ nop +/* f05a56c: afa00090 */ sw $zero,0x90($sp) +.PB0f05a570: +/* f05a570: 50a0001c */ beqzl $a1,.PB0f05a5e4 +/* f05a574: 90e20126 */ lbu $v0,0x126($a3) +/* f05a578: 8ca4001c */ lw $a0,0x1c($a1) +/* f05a57c: 50800019 */ beqzl $a0,.PB0f05a5e4 +/* f05a580: 90e20126 */ lbu $v0,0x126($a3) +/* f05a584: 908b0000 */ lbu $t3,0x0($a0) +/* f05a588: 24010006 */ li $at,0x6 +/* f05a58c: 55610015 */ bnel $t3,$at,.PB0f05a5e4 +/* f05a590: 90e20126 */ lbu $v0,0x126($a3) +/* f05a594: 0fc4a797 */ jal 0xf129e5c +/* f05a598: 00000000 */ nop +/* f05a59c: 8e030298 */ lw $v1,0x298($s0) +/* f05a5a0: 00026080 */ sll $t4,$v0,0x2 +/* f05a5a4: 00402025 */ move $a0,$v0 +/* f05a5a8: 0460000a */ bltz $v1,.PB0f05a5d4 +/* f05a5ac: 020c6821 */ addu $t5,$s0,$t4 +/* f05a5b0: 8dae0064 */ lw $t6,0x64($t5) +/* f05a5b4: 8dcf00d8 */ lw $t7,0xd8($t6) +/* f05a5b8: 11e00006 */ beqz $t7,.PB0f05a5d4 +/* f05a5bc: 00000000 */ nop +/* f05a5c0: 8e050294 */ lw $a1,0x294($s0) +/* f05a5c4: 14450003 */ bne $v0,$a1,.PB0f05a5d4 +/* f05a5c8: 00a02025 */ move $a0,$a1 +/* f05a5cc: 10000001 */ b .PB0f05a5d4 +/* f05a5d0: 00602025 */ move $a0,$v1 +.PB0f05a5d4: +/* f05a5d4: 0fc4a783 */ jal 0xf129e0c +/* f05a5d8: 00000000 */ nop +/* f05a5dc: 8e070424 */ lw $a3,0x424($s0) +/* f05a5e0: 90e20126 */ lbu $v0,0x126($a3) +.PB0f05a5e4: +/* f05a5e4: 10400009 */ beqz $v0,.PB0f05a60c +/* f05a5e8: 0002c080 */ sll $t8,$v0,0x2 +/* f05a5ec: 0302c023 */ subu $t8,$t8,$v0 +/* f05a5f0: 8cf90120 */ lw $t9,0x120($a3) +/* f05a5f4: 0018c0c0 */ sll $t8,$t8,0x3 +/* f05a5f8: 0302c021 */ addu $t8,$t8,$v0 +/* f05a5fc: 0018c040 */ sll $t8,$t8,0x1 +/* f05a600: 0319082a */ slt $at,$t8,$t9 +/* f05a604: 102001c0 */ beqz $at,.PB0f05ad08 +/* f05a608: 00000000 */ nop +.PB0f05a60c: +/* f05a60c: 0c004be0 */ jal 0x12f80 +/* f05a610: 00000000 */ nop +/* f05a614: 8faa0090 */ lw $t2,0x90($sp) +/* f05a618: 304900ff */ andi $t1,$v0,0xff +/* f05a61c: 8fab0088 */ lw $t3,0x88($sp) +/* f05a620: 012a082a */ slt $at,$t1,$t2 +/* f05a624: 102001b8 */ beqz $at,.PB0f05ad08 +/* f05a628: 00000000 */ nop +/* f05a62c: 85640000 */ lh $a0,0x0($t3) +/* f05a630: 2401fffe */ li $at,-2 +/* f05a634: 5081003e */ beql $a0,$at,.PB0f05a730 +/* f05a638: 8fae0094 */ lw $t6,0x94($sp) +.PB0f05a63c: +/* f05a63c: 0fc0a211 */ jal 0xf028844 +/* f05a640: 00000000 */ nop +/* f05a644: 50400033 */ beqzl $v0,.PB0f05a714 +/* f05a648: 8fa20088 */ lw $v0,0x88($sp) +/* f05a64c: 8c4c0020 */ lw $t4,0x20($v0) +/* f05a650: 00402025 */ move $a0,$v0 +/* f05a654: 5180002f */ beqzl $t4,.PB0f05a714 +/* f05a658: 8fa20088 */ lw $v0,0x88($sp) +/* f05a65c: 0fc0e6e9 */ jal 0xf039ba4 +/* f05a660: afa20064 */ sw $v0,0x64($sp) +/* f05a664: 1440002a */ bnez $v0,.PB0f05a710 +/* f05a668: 8fa60064 */ lw $a2,0x64($sp) +/* f05a66c: 80cd0007 */ lb $t5,0x7($a2) +/* f05a670: 24010005 */ li $at,0x5 +/* f05a674: 51a10027 */ beql $t5,$at,.PB0f05a714 +/* f05a678: 8fa20088 */ lw $v0,0x88($sp) +/* f05a67c: 8e070424 */ lw $a3,0x424($s0) +/* f05a680: 90ce02a2 */ lbu $t6,0x2a2($a2) +/* f05a684: 90ef02a2 */ lbu $t7,0x2a2($a3) +/* f05a688: 55cf0022 */ bnel $t6,$t7,.PB0f05a714 +/* f05a68c: 8fa20088 */ lw $v0,0x88($sp) +/* f05a690: 90d80113 */ lbu $t8,0x113($a2) +/* f05a694: 2b010064 */ slti $at,$t8,0x64 +/* f05a698: 5420001e */ bnezl $at,.PB0f05a714 +/* f05a69c: 8fa20088 */ lw $v0,0x88($sp) +/* f05a6a0: 84c50000 */ lh $a1,0x0($a2) +/* f05a6a4: 84f90000 */ lh $t9,0x0($a3) +/* f05a6a8: 00e02025 */ move $a0,$a3 +/* f05a6ac: 50b90019 */ beql $a1,$t9,.PB0f05a714 +/* f05a6b0: 8fa20088 */ lw $v0,0x88($sp) +/* f05a6b4: 0fc12775 */ jal 0xf049dd4 +/* f05a6b8: afa60064 */ sw $a2,0x64($sp) +/* f05a6bc: 3c017f1b */ lui $at,0x7f1b +/* f05a6c0: c424ba54 */ lwc1 $f4,-0x45ac($at) +/* f05a6c4: 8fa90098 */ lw $t1,0x98($sp) +/* f05a6c8: 8fa60064 */ lw $a2,0x64($sp) +/* f05a6cc: 4604003c */ c.lt.s $f0,$f4 +/* f05a6d0: 252a0001 */ addiu $t2,$t1,0x1 +/* f05a6d4: 4502000f */ bc1fl .PB0f05a714 +/* f05a6d8: 8fa20088 */ lw $v0,0x88($sp) +/* f05a6dc: afaa0098 */ sw $t2,0x98($sp) +/* f05a6e0: 8ccb0120 */ lw $t3,0x120($a2) +/* f05a6e4: 8fac009c */ lw $t4,0x9c($sp) +/* f05a6e8: 29610032 */ slti $at,$t3,0x32 +/* f05a6ec: 50200009 */ beqzl $at,.PB0f05a714 +/* f05a6f0: 8fa20088 */ lw $v0,0x88($sp) +/* f05a6f4: 91820006 */ lbu $v0,0x6($t4) +/* f05a6f8: 240100ff */ li $at,0xff +/* f05a6fc: 50400005 */ beqzl $v0,.PB0f05a714 +/* f05a700: 8fa20088 */ lw $v0,0x88($sp) +/* f05a704: 10410002 */ beq $v0,$at,.PB0f05a710 +/* f05a708: 240d0001 */ li $t5,0x1 +/* f05a70c: afad0094 */ sw $t5,0x94($sp) +.PB0f05a710: +/* f05a710: 8fa20088 */ lw $v0,0x88($sp) +.PB0f05a714: +/* f05a714: 2401fffe */ li $at,-2 +/* f05a718: 84440002 */ lh $a0,0x2($v0) +/* f05a71c: 24420002 */ addiu $v0,$v0,0x2 +/* f05a720: afa20088 */ sw $v0,0x88($sp) +/* f05a724: 1481ffc5 */ bne $a0,$at,.PB0f05a63c +/* f05a728: 00000000 */ nop +/* f05a72c: 8fae0094 */ lw $t6,0x94($sp) +.PB0f05a730: +/* f05a730: 8faf0098 */ lw $t7,0x98($sp) +/* f05a734: 15c00174 */ bnez $t6,.PB0f05ad08 +/* f05a738: 00000000 */ nop +/* f05a73c: 15e00007 */ bnez $t7,.PB0f05a75c +/* f05a740: 8fb8009c */ lw $t8,0x9c($sp) +/* f05a744: 93020006 */ lbu $v0,0x6($t8) +/* f05a748: 240100ff */ li $at,0xff +/* f05a74c: 1040000a */ beqz $v0,.PB0f05a778 +/* f05a750: 00000000 */ nop +/* f05a754: 10410008 */ beq $v0,$at,.PB0f05a778 +/* f05a758: 00000000 */ nop +.PB0f05a75c: +/* f05a75c: 8fb90098 */ lw $t9,0x98($sp) +/* f05a760: 8fa9009c */ lw $t1,0x9c($sp) +/* f05a764: 1b200168 */ blez $t9,.PB0f05ad08 +/* f05a768: 00000000 */ nop +/* f05a76c: 912a0006 */ lbu $t2,0x6($t1) +/* f05a770: 19400165 */ blez $t2,.PB0f05ad08 +/* f05a774: 00000000 */ nop +.PB0f05a778: +/* f05a778: 0c004be0 */ jal 0x12f80 +/* f05a77c: 00000000 */ nop +/* f05a780: 24010003 */ li $at,0x3 +/* f05a784: 0041001b */ divu $zero,$v0,$at +/* f05a788: 8fab009c */ lw $t3,0x9c($sp) +/* f05a78c: 00001810 */ mfhi $v1 +/* f05a790: a3a300a7 */ sb $v1,0xa7($sp) +/* f05a794: 916c0007 */ lbu $t4,0x7($t3) +/* f05a798: 8fb80070 */ lw $t8,0x70($sp) +/* f05a79c: 8fae0084 */ lw $t6,0x84($sp) +/* f05a7a0: 318d0080 */ andi $t5,$t4,0x80 +/* f05a7a4: 15a00009 */ bnez $t5,.PB0f05a7cc +/* f05a7a8: 0018c8c0 */ sll $t9,$t8,0x3 +/* f05a7ac: 01d94821 */ addu $t1,$t6,$t9 +/* f05a7b0: 306a00ff */ andi $t2,$v1,0xff +/* f05a7b4: 000a5840 */ sll $t3,$t2,0x1 +/* f05a7b8: 012b6021 */ addu $t4,$t1,$t3 +/* f05a7bc: afa90058 */ sw $t1,0x58($sp) +/* f05a7c0: 858d0002 */ lh $t5,0x2($t4) +/* f05a7c4: 1000000c */ b .PB0f05a7f8 +/* f05a7c8: a7ad00a4 */ sh $t5,0xa4($sp) +.PB0f05a7cc: +/* f05a7cc: 8e0a0424 */ lw $t2,0x424($s0) +/* f05a7d0: 8fae0070 */ lw $t6,0x70($sp) +/* f05a7d4: 8faf0084 */ lw $t7,0x84($sp) +/* f05a7d8: 914902b0 */ lbu $t1,0x2b0($t2) +/* f05a7dc: 000ec8c0 */ sll $t9,$t6,0x3 +/* f05a7e0: 01f91021 */ addu $v0,$t7,$t9 +/* f05a7e4: 00095840 */ sll $t3,$t1,0x1 +/* f05a7e8: 004b6021 */ addu $t4,$v0,$t3 +/* f05a7ec: 858d0002 */ lh $t5,0x2($t4) +/* f05a7f0: afa20058 */ sw $v0,0x58($sp) +/* f05a7f4: a7ad00a4 */ sh $t5,0xa4($sp) +.PB0f05a7f8: +/* f05a7f8: 0fc13416 */ jal 0xf04d058 +/* f05a7fc: 87a400a4 */ lh $a0,0xa4($sp) +/* f05a800: 1440000a */ bnez $v0,.PB0f05a82c +/* f05a804: 24010001 */ li $at,0x1 +/* f05a808: 8e070424 */ lw $a3,0x424($s0) +/* f05a80c: 00001825 */ move $v1,$zero +/* f05a810: 24080001 */ li $t0,0x1 +/* f05a814: 10e00003 */ beqz $a3,.PB0f05a824 +/* f05a818: 3c0e8007 */ lui $t6,0x8007 +/* f05a81c: 10000001 */ b .PB0f05a824 +/* f05a820: 90e302fe */ lbu $v1,0x2fe($a3) +.PB0f05a824: +/* f05a824: 54610092 */ bnel $v1,$at,.PB0f05aa70 +/* f05a828: 8fad0070 */ lw $t5,0x70($sp) +.PB0f05a82c: +/* f05a82c: 0fc13404 */ jal 0xf04d010 +/* f05a830: 87a400a4 */ lh $a0,0xa4($sp) +/* f05a834: 87b800a4 */ lh $t8,0xa4($sp) +/* f05a838: 2401034e */ li $at,0x34e +/* f05a83c: 93ae006b */ lbu $t6,0x6b($sp) +/* f05a840: 57010005 */ bnel $t8,$at,.PB0f05a858 +/* f05a844: 8e190424 */ lw $t9,0x424($s0) +/* f05a848: 15c00002 */ bnez $t6,.PB0f05a854 +/* f05a84c: 240f034d */ li $t7,0x34d +/* f05a850: a7af00a4 */ sh $t7,0xa4($sp) +.PB0f05a854: +/* f05a854: 8e190424 */ lw $t9,0x424($s0) +.PB0f05a858: +/* f05a858: 240103f7 */ li $at,0x3f7 +/* f05a85c: af200120 */ sw $zero,0x120($t9) +/* f05a860: 8faa009c */ lw $t2,0x9c($sp) +/* f05a864: 8e0b0424 */ lw $t3,0x424($s0) +/* f05a868: 91490005 */ lbu $t1,0x5($t2) +/* f05a86c: a1690126 */ sb $t1,0x126($t3) +/* f05a870: 8e070424 */ lw $a3,0x424($s0) +/* f05a874: 90ec0332 */ lbu $t4,0x332($a3) +/* f05a878: 258d0001 */ addiu $t5,$t4,0x1 +/* f05a87c: a0ed0332 */ sb $t5,0x332($a3) +/* f05a880: 87b800a4 */ lh $t8,0xa4($sp) +/* f05a884: 13010022 */ beq $t8,$at,.PB0f05a910 +/* f05a888: 24010331 */ li $at,0x331 +/* f05a88c: 13010020 */ beq $t8,$at,.PB0f05a910 +/* f05a890: 240103a1 */ li $at,0x3a1 +/* f05a894: 1301001e */ beq $t8,$at,.PB0f05a910 +/* f05a898: 24050009 */ li $a1,0x9 +/* f05a89c: 8e0e0424 */ lw $t6,0x424($s0) +/* f05a8a0: 3406ffff */ li $a2,0xffff +/* f05a8a4: 0fc24943 */ jal 0xf09250c +/* f05a8a8: 8dc4001c */ lw $a0,0x1c($t6) +/* f05a8ac: 8e0f0424 */ lw $t7,0x424($s0) +/* f05a8b0: 3c01bf80 */ lui $at,0xbf80 +/* f05a8b4: 44810000 */ mtc1 $at,$f0 +/* f05a8b8: 8de5001c */ lw $a1,0x1c($t7) +/* f05a8bc: 2419ffff */ li $t9,-1 +/* f05a8c0: 240a0008 */ li $t2,0x8 +/* f05a8c4: 24090009 */ li $t1,0x9 +/* f05a8c8: 240bffff */ li $t3,-1 +/* f05a8cc: afab002c */ sw $t3,0x2c($sp) +/* f05a8d0: afa9001c */ sw $t1,0x1c($sp) +/* f05a8d4: afaa0014 */ sw $t2,0x14($sp) +/* f05a8d8: afb90010 */ sw $t9,0x10($sp) +/* f05a8dc: afa00028 */ sw $zero,0x28($sp) +/* f05a8e0: afa00020 */ sw $zero,0x20($sp) +/* f05a8e4: afa00018 */ sw $zero,0x18($sp) +/* f05a8e8: 00002025 */ move $a0,$zero +/* f05a8ec: 87a600a4 */ lh $a2,0xa4($sp) +/* f05a8f0: 2407ffff */ li $a3,-1 +/* f05a8f4: e7a00038 */ swc1 $f0,0x38($sp) +/* f05a8f8: e7a00034 */ swc1 $f0,0x34($sp) +/* f05a8fc: e7a00030 */ swc1 $f0,0x30($sp) +/* f05a900: 0fc24e0e */ jal 0xf093838 +/* f05a904: e7a00024 */ swc1 $f0,0x24($sp) +/* f05a908: 10000026 */ b .PB0f05a9a4 +/* f05a90c: 8faa009c */ lw $t2,0x9c($sp) +.PB0f05a910: +/* f05a910: 0fc131a9 */ jal 0xf04c6a4 +/* f05a914: 8e040424 */ lw $a0,0x424($s0) +/* f05a918: 18400003 */ blez $v0,.PB0f05a928 +/* f05a91c: 00021823 */ negu $v1,$v0 +/* f05a920: 10000001 */ b .PB0f05a928 +/* f05a924: 00401825 */ move $v1,$v0 +.PB0f05a928: +/* f05a928: 28610033 */ slti $at,$v1,0x33 +/* f05a92c: 1420001c */ bnez $at,.PB0f05a9a0 +/* f05a930: 24050009 */ li $a1,0x9 +/* f05a934: 8e0c0424 */ lw $t4,0x424($s0) +/* f05a938: 3406ffff */ li $a2,0xffff +/* f05a93c: 0fc24943 */ jal 0xf09250c +/* f05a940: 8d84001c */ lw $a0,0x1c($t4) +/* f05a944: 8e0d0424 */ lw $t5,0x424($s0) +/* f05a948: 3c01bf80 */ lui $at,0xbf80 +/* f05a94c: 44810000 */ mtc1 $at,$f0 +/* f05a950: 8da5001c */ lw $a1,0x1c($t5) +/* f05a954: 2418ffff */ li $t8,-1 +/* f05a958: 240e0008 */ li $t6,0x8 +/* f05a95c: 240f0009 */ li $t7,0x9 +/* f05a960: 2419ffff */ li $t9,-1 +/* f05a964: afb9002c */ sw $t9,0x2c($sp) +/* f05a968: afaf001c */ sw $t7,0x1c($sp) +/* f05a96c: afae0014 */ sw $t6,0x14($sp) +/* f05a970: afb80010 */ sw $t8,0x10($sp) +/* f05a974: afa00028 */ sw $zero,0x28($sp) +/* f05a978: afa00020 */ sw $zero,0x20($sp) +/* f05a97c: afa00018 */ sw $zero,0x18($sp) +/* f05a980: 00002025 */ move $a0,$zero +/* f05a984: 87a600a4 */ lh $a2,0xa4($sp) +/* f05a988: 2407ffff */ li $a3,-1 +/* f05a98c: e7a00038 */ swc1 $f0,0x38($sp) +/* f05a990: e7a00034 */ swc1 $f0,0x34($sp) +/* f05a994: e7a00030 */ swc1 $f0,0x30($sp) +/* f05a998: 0fc24e0e */ jal 0xf093838 +/* f05a99c: e7a00024 */ swc1 $f0,0x24($sp) +.PB0f05a9a0: +/* f05a9a0: 8faa009c */ lw $t2,0x9c($sp) +.PB0f05a9a4: +/* f05a9a4: 91420008 */ lbu $v0,0x8($t2) +/* f05a9a8: 1040001a */ beqz $v0,.PB0f05aa14 +/* f05a9ac: 00000000 */ nop +/* f05a9b0: 91490007 */ lbu $t1,0x7($t2) +/* f05a9b4: 93a300a7 */ lbu $v1,0xa7($sp) +/* f05a9b8: 000260c0 */ sll $t4,$v0,0x3 +/* f05a9bc: 312b0080 */ andi $t3,$t1,0x80 +/* f05a9c0: 15600014 */ bnez $t3,.PB0f05aa14 +/* f05a9c4: 28610003 */ slti $at,$v1,0x3 +/* f05a9c8: 14200002 */ bnez $at,.PB0f05a9d4 +/* f05a9cc: 3c048007 */ lui $a0,0x8007 +/* f05a9d0: 24030002 */ li $v1,0x2 +.PB0f05a9d4: +/* f05a9d4: 00036840 */ sll $t5,$v1,0x1 +/* f05a9d8: 018dc021 */ addu $t8,$t4,$t5 +/* f05a9dc: 00982021 */ addu $a0,$a0,$t8 +/* f05a9e0: 0fc5c06a */ jal 0xf1701a8 +/* f05a9e4: 8484ad52 */ lh $a0,-0x52ae($a0) +/* f05a9e8: afa20080 */ sw $v0,0x80($sp) +/* f05a9ec: 0c004116 */ jal 0x10458 +/* f05a9f0: 87a400a4 */ lh $a0,0xa4($sp) +/* f05a9f4: 144000c4 */ bnez $v0,.PB0f05ad08 +/* f05a9f8: 8fa40080 */ lw $a0,0x80($sp) +/* f05a9fc: 8fae009c */ lw $t6,0x9c($sp) +/* f05aa00: 24050006 */ li $a1,0x6 +/* f05aa04: 0fc37931 */ jal 0xf0de4c4 +/* f05aa08: 91c60009 */ lbu $a2,0x9($t6) +/* f05aa0c: 100000be */ b .PB0f05ad08 +/* f05aa10: 00000000 */ nop +.PB0f05aa14: +/* f05aa14: 104000bc */ beqz $v0,.PB0f05ad08 +/* f05aa18: 00000000 */ nop +/* f05aa1c: 8e190424 */ lw $t9,0x424($s0) +/* f05aa20: 000278c0 */ sll $t7,$v0,0x3 +/* f05aa24: 3c048007 */ lui $a0,0x8007 +/* f05aa28: 932a02b0 */ lbu $t2,0x2b0($t9) +/* f05aa2c: 000a4840 */ sll $t1,$t2,0x1 +/* f05aa30: 01e95821 */ addu $t3,$t7,$t1 +/* f05aa34: 008b2021 */ addu $a0,$a0,$t3 +/* f05aa38: 0fc5c06a */ jal 0xf1701a8 +/* f05aa3c: 8484ad52 */ lh $a0,-0x52ae($a0) +/* f05aa40: afa20080 */ sw $v0,0x80($sp) +/* f05aa44: 0c004116 */ jal 0x10458 +/* f05aa48: 87a400a4 */ lh $a0,0xa4($sp) +/* f05aa4c: 144000ae */ bnez $v0,.PB0f05ad08 +/* f05aa50: 8fa40080 */ lw $a0,0x80($sp) +/* f05aa54: 8fac009c */ lw $t4,0x9c($sp) +/* f05aa58: 24050006 */ li $a1,0x6 +/* f05aa5c: 0fc37931 */ jal 0xf0de4c4 +/* f05aa60: 91860009 */ lbu $a2,0x9($t4) +/* f05aa64: 100000a8 */ b .PB0f05ad08 +/* f05aa68: 00000000 */ nop +/* f05aa6c: 8fad0070 */ lw $t5,0x70($sp) +.PB0f05aa70: +/* f05aa70: 25cea6c8 */ addiu $t6,$t6,-22840 +/* f05aa74: a7a000a4 */ sh $zero,0xa4($sp) +/* f05aa78: 000dc0c0 */ sll $t8,$t5,0x3 +/* f05aa7c: 030e1021 */ addu $v0,$t8,$t6 +/* f05aa80: afa2005c */ sw $v0,0x5c($sp) +.PB0f05aa84: +/* f05aa84: 8fa2005c */ lw $v0,0x5c($sp) +/* f05aa88: 00081840 */ sll $v1,$t0,0x1 +/* f05aa8c: 0043c821 */ addu $t9,$v0,$v1 +/* f05aa90: 87240000 */ lh $a0,0x0($t9) +/* f05aa94: a3a800a3 */ sb $t0,0xa3($sp) +/* f05aa98: 0fc13416 */ jal 0xf04d058 +/* f05aa9c: afa30054 */ sw $v1,0x54($sp) +/* f05aaa0: 8fa30054 */ lw $v1,0x54($sp) +/* f05aaa4: 1040000d */ beqz $v0,.PB0f05aadc +/* f05aaa8: 93a800a3 */ lbu $t0,0xa3($sp) +/* f05aaac: 8faa0058 */ lw $t2,0x58($sp) +/* f05aab0: 01432821 */ addu $a1,$t2,$v1 +/* f05aab4: 84a40000 */ lh $a0,0x0($a1) +/* f05aab8: a3a800a3 */ sb $t0,0xa3($sp) +/* f05aabc: 0fc13416 */ jal 0xf04d058 +/* f05aac0: afa50050 */ sw $a1,0x50($sp) +/* f05aac4: 8fa50050 */ lw $a1,0x50($sp) +/* f05aac8: 10400004 */ beqz $v0,.PB0f05aadc +/* f05aacc: 93a800a3 */ lbu $t0,0xa3($sp) +/* f05aad0: 84af0000 */ lh $t7,0x0($a1) +/* f05aad4: 10000006 */ b .PB0f05aaf0 +/* f05aad8: a7af00a4 */ sh $t7,0xa4($sp) +.PB0f05aadc: +/* f05aadc: 25080001 */ addiu $t0,$t0,0x1 +/* f05aae0: 310900ff */ andi $t1,$t0,0xff +/* f05aae4: 29210004 */ slti $at,$t1,0x4 +/* f05aae8: 1420ffe6 */ bnez $at,.PB0f05aa84 +/* f05aaec: 01204025 */ move $t0,$t1 +.PB0f05aaf0: +/* f05aaf0: 87ab00a4 */ lh $t3,0xa4($sp) +/* f05aaf4: 1160007a */ beqz $t3,.PB0f05ace0 +/* f05aaf8: 01602025 */ move $a0,$t3 +/* f05aafc: 0fc13404 */ jal 0xf04d010 +/* f05ab00: a3a800a3 */ sb $t0,0xa3($sp) +/* f05ab04: 87ac00a4 */ lh $t4,0xa4($sp) +/* f05ab08: 2401034e */ li $at,0x34e +/* f05ab0c: 93a800a3 */ lbu $t0,0xa3($sp) +/* f05ab10: 15810004 */ bne $t4,$at,.PB0f05ab24 +/* f05ab14: 93ad006b */ lbu $t5,0x6b($sp) +/* f05ab18: 15a00002 */ bnez $t5,.PB0f05ab24 +/* f05ab1c: 2418034d */ li $t8,0x34d +/* f05ab20: a7b800a4 */ sh $t8,0xa4($sp) +.PB0f05ab24: +/* f05ab24: 8e0e0424 */ lw $t6,0x424($s0) +/* f05ab28: 240103f7 */ li $at,0x3f7 +/* f05ab2c: adc00120 */ sw $zero,0x120($t6) +/* f05ab30: 8fb9009c */ lw $t9,0x9c($sp) +/* f05ab34: 8e0f0424 */ lw $t7,0x424($s0) +/* f05ab38: 932a0005 */ lbu $t2,0x5($t9) +/* f05ab3c: a1ea0126 */ sb $t2,0x126($t7) +/* f05ab40: 8e070424 */ lw $a3,0x424($s0) +/* f05ab44: 90e90332 */ lbu $t1,0x332($a3) +/* f05ab48: 252b0001 */ addiu $t3,$t1,0x1 +/* f05ab4c: a0eb0332 */ sb $t3,0x332($a3) +/* f05ab50: 87ac00a4 */ lh $t4,0xa4($sp) +/* f05ab54: 11810024 */ beq $t4,$at,.PB0f05abe8 +/* f05ab58: 24010331 */ li $at,0x331 +/* f05ab5c: 11810022 */ beq $t4,$at,.PB0f05abe8 +/* f05ab60: 240103a1 */ li $at,0x3a1 +/* f05ab64: 51810021 */ beql $t4,$at,.PB0f05abec +/* f05ab68: 8e040424 */ lw $a0,0x424($s0) +/* f05ab6c: 8e0d0424 */ lw $t5,0x424($s0) +/* f05ab70: 24050009 */ li $a1,0x9 +/* f05ab74: 3406ffff */ li $a2,0xffff +/* f05ab78: 8da4001c */ lw $a0,0x1c($t5) +/* f05ab7c: 0fc24943 */ jal 0xf09250c +/* f05ab80: a3a800a3 */ sb $t0,0xa3($sp) +/* f05ab84: 8e180424 */ lw $t8,0x424($s0) +/* f05ab88: 3c01bf80 */ lui $at,0xbf80 +/* f05ab8c: 44810000 */ mtc1 $at,$f0 +/* f05ab90: 8f05001c */ lw $a1,0x1c($t8) +/* f05ab94: 240effff */ li $t6,-1 +/* f05ab98: 24190008 */ li $t9,0x8 +/* f05ab9c: 240a0009 */ li $t2,0x9 +/* f05aba0: 240fffff */ li $t7,-1 +/* f05aba4: afaf002c */ sw $t7,0x2c($sp) +/* f05aba8: afaa001c */ sw $t2,0x1c($sp) +/* f05abac: afb90014 */ sw $t9,0x14($sp) +/* f05abb0: afae0010 */ sw $t6,0x10($sp) +/* f05abb4: afa00028 */ sw $zero,0x28($sp) +/* f05abb8: afa00020 */ sw $zero,0x20($sp) +/* f05abbc: afa00018 */ sw $zero,0x18($sp) +/* f05abc0: 00002025 */ move $a0,$zero +/* f05abc4: 87a600a4 */ lh $a2,0xa4($sp) +/* f05abc8: 2407ffff */ li $a3,-1 +/* f05abcc: e7a00038 */ swc1 $f0,0x38($sp) +/* f05abd0: e7a00034 */ swc1 $f0,0x34($sp) +/* f05abd4: e7a00030 */ swc1 $f0,0x30($sp) +/* f05abd8: 0fc24e0e */ jal 0xf093838 +/* f05abdc: e7a00024 */ swc1 $f0,0x24($sp) +/* f05abe0: 1000002a */ b .PB0f05ac8c +/* f05abe4: 93a800a3 */ lbu $t0,0xa3($sp) +.PB0f05abe8: +/* f05abe8: 8e040424 */ lw $a0,0x424($s0) +.PB0f05abec: +/* f05abec: 0fc131a9 */ jal 0xf04c6a4 +/* f05abf0: a3a800a3 */ sb $t0,0xa3($sp) +/* f05abf4: 18400003 */ blez $v0,.PB0f05ac04 +/* f05abf8: 93a800a3 */ lbu $t0,0xa3($sp) +/* f05abfc: 10000002 */ b .PB0f05ac08 +/* f05ac00: 00401825 */ move $v1,$v0 +.PB0f05ac04: +/* f05ac04: 00021823 */ negu $v1,$v0 +.PB0f05ac08: +/* f05ac08: 28610033 */ slti $at,$v1,0x33 +/* f05ac0c: 54200020 */ bnezl $at,.PB0f05ac90 +/* f05ac10: 8fb9009c */ lw $t9,0x9c($sp) +/* f05ac14: 8e090424 */ lw $t1,0x424($s0) +/* f05ac18: 24050009 */ li $a1,0x9 +/* f05ac1c: 3406ffff */ li $a2,0xffff +/* f05ac20: 8d24001c */ lw $a0,0x1c($t1) +/* f05ac24: 0fc24943 */ jal 0xf09250c +/* f05ac28: a3a800a3 */ sb $t0,0xa3($sp) +/* f05ac2c: 8e0b0424 */ lw $t3,0x424($s0) +/* f05ac30: 3c01bf80 */ lui $at,0xbf80 +/* f05ac34: 44810000 */ mtc1 $at,$f0 +/* f05ac38: 8d65001c */ lw $a1,0x1c($t3) +/* f05ac3c: 240cffff */ li $t4,-1 +/* f05ac40: 240d0008 */ li $t5,0x8 +/* f05ac44: 24180009 */ li $t8,0x9 +/* f05ac48: 240effff */ li $t6,-1 +/* f05ac4c: afae002c */ sw $t6,0x2c($sp) +/* f05ac50: afb8001c */ sw $t8,0x1c($sp) +/* f05ac54: afad0014 */ sw $t5,0x14($sp) +/* f05ac58: afac0010 */ sw $t4,0x10($sp) +/* f05ac5c: afa00028 */ sw $zero,0x28($sp) +/* f05ac60: afa00020 */ sw $zero,0x20($sp) +/* f05ac64: afa00018 */ sw $zero,0x18($sp) +/* f05ac68: 00002025 */ move $a0,$zero +/* f05ac6c: 87a600a4 */ lh $a2,0xa4($sp) +/* f05ac70: 2407ffff */ li $a3,-1 +/* f05ac74: e7a00038 */ swc1 $f0,0x38($sp) +/* f05ac78: e7a00034 */ swc1 $f0,0x34($sp) +/* f05ac7c: e7a00030 */ swc1 $f0,0x30($sp) +/* f05ac80: 0fc24e0e */ jal 0xf093838 +/* f05ac84: e7a00024 */ swc1 $f0,0x24($sp) +/* f05ac88: 93a800a3 */ lbu $t0,0xa3($sp) +.PB0f05ac8c: +/* f05ac8c: 8fb9009c */ lw $t9,0x9c($sp) +.PB0f05ac90: +/* f05ac90: 00087840 */ sll $t7,$t0,0x1 +/* f05ac94: 3c048007 */ lui $a0,0x8007 +/* f05ac98: 93220008 */ lbu $v0,0x8($t9) +/* f05ac9c: 1040001a */ beqz $v0,.PB0f05ad08 +/* f05aca0: 000250c0 */ sll $t2,$v0,0x3 +/* f05aca4: 014f4821 */ addu $t1,$t2,$t7 +/* f05aca8: 00892021 */ addu $a0,$a0,$t1 +/* f05acac: 0fc5c06a */ jal 0xf1701a8 +/* f05acb0: 8484ad50 */ lh $a0,-0x52b0($a0) +/* f05acb4: afa20080 */ sw $v0,0x80($sp) +/* f05acb8: 0c004116 */ jal 0x10458 +/* f05acbc: 87a400a4 */ lh $a0,0xa4($sp) +/* f05acc0: 14400011 */ bnez $v0,.PB0f05ad08 +/* f05acc4: 8fa40080 */ lw $a0,0x80($sp) +/* f05acc8: 8fab009c */ lw $t3,0x9c($sp) +/* f05accc: 24050006 */ li $a1,0x6 +/* f05acd0: 0fc37931 */ jal 0xf0de4c4 +/* f05acd4: 91660009 */ lbu $a2,0x9($t3) +/* f05acd8: 1000000b */ b .PB0f05ad08 +/* f05acdc: 00000000 */ nop +.PB0f05ace0: +/* f05ace0: 8e0c0424 */ lw $t4,0x424($s0) +/* f05ace4: 3c050800 */ lui $a1,0x800 +/* f05ace8: 24060001 */ li $a2,0x1 +/* f05acec: ad800120 */ sw $zero,0x120($t4) +/* f05acf0: 8fad009c */ lw $t5,0x9c($sp) +/* f05acf4: 8e0e0424 */ lw $t6,0x424($s0) +/* f05acf8: 91b80005 */ lbu $t8,0x5($t5) +/* f05acfc: a1d80126 */ sb $t8,0x126($t6) +/* f05ad00: 0fc127cb */ jal 0xf049f2c +/* f05ad04: 8e040424 */ lw $a0,0x424($s0) +.PB0f05ad08: +/* f05ad08: 0fc4a783 */ jal 0xf129e0c +/* f05ad0c: 8fa40078 */ lw $a0,0x78($sp) +/* f05ad10: 8e190438 */ lw $t9,0x438($s0) +/* f05ad14: 00001025 */ move $v0,$zero +/* f05ad18: 272a000a */ addiu $t2,$t9,0xa +/* f05ad1c: ae0a0438 */ sw $t2,0x438($s0) +.PB0f05ad20: +/* f05ad20: 8fbf004c */ lw $ra,0x4c($sp) +/* f05ad24: 8fb00048 */ lw $s0,0x48($sp) +/* f05ad28: 27bd00a8 */ addiu $sp,$sp,0xa8 +/* f05ad2c: 03e00008 */ jr $ra +/* f05ad30: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel aiSayQuip diff --git a/src/game/credits.c b/src/game/credits.c index 66ff12f39..c6370b1d9 100644 --- a/src/game/credits.c +++ b/src/game/credits.c @@ -131,7 +131,7 @@ struct creditthing var8007f13c[] = { void func0f137874(struct gfxvtx *vertices, u32 *colours, s32 arg2, s32 alpha, s32 arg4) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA s32 iVar1 = (s32)(var8007f13c[arg2].unk00 * var800a416c / (10.0f / 3.0f) + arg4) % 180; #else s32 iVar1 = (s32)(var8007f13c[arg2].unk00 * var800a416c * 0.25f + arg4) % 180; @@ -3158,7 +3158,7 @@ void creditsTickSlide(void) f32 seconds; g_CreditsData->slidelifetime = durations[credit->durationindex] + 1.0f; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA seconds = g_Vars.diffframe240freal / 240.0f; #else seconds = g_Vars.diffframe240f / 240.0f; @@ -5084,7 +5084,7 @@ Gfx *creditsRender(Gfx *gdl) g_CreditsData->unk2ef0.unk520 = g_CreditsData->unk2ef0.unk548 = -0.26175770163536; g_CreditsData->unk2ef0.unk528 = g_CreditsData->unk2ef0.unk550 = 0; g_CreditsData->unk2ef0.unk538 = 833.0f - (var8007f6dc / TICKS(14400.0f)) * 2413.0f; - g_CreditsData->unk2ef0.unk53c = PAL ? 65.86 : 70.86; + g_CreditsData->unk2ef0.unk53c = VERSION >= VERSION_PAL_FINAL ? 65.86 : 70.86; g_CreditsData->unk2ef0.unk540 = -2050; g_CreditsData->unk2ef0.unk544 = 1.467; g_CreditsData->unk2ef0.unk00c = 1200; diff --git a/src/game/debug2.c b/src/game/debug2.c index 5192698e2..a582c6fab 100644 --- a/src/game/debug2.c +++ b/src/game/debug2.c @@ -191,15 +191,24 @@ char *g_DebugMenuLabels[] = { "-", "-", +#if VERSION == VERSION_NTSC_BETA "props", +#else + "-", +#endif "-", "-", "-", "-", "-", "-", +#if VERSION == VERSION_NTSC_BETA "tiles", "pads", +#else + "-", + "-", +#endif "-", "-", "-", @@ -226,7 +235,11 @@ char *g_DebugMenuLabels[] = { "-", "-", "-", +#if VERSION == VERSION_NTSC_BETA "chr stats", +#else + "-", +#endif "-", "all challenges", "-", @@ -258,6 +271,9 @@ char *g_DebugMenuLabels[] = { "-", "-", "all buddies", +#if VERSION == VERSION_PAL_BETA + "set complete", +#endif "-", "-", @@ -462,6 +478,332 @@ void debug0f11944cnb(void) rmon0002fa40(); } +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel debugProcessInput +.late_rodata +glabel var7f1b6f38pb +.word 0x7f1200b8 +.word 0x7f120158 +.word 0x7f120040 +.word 0x7f120058 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120010 +.word 0x7f120028 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f120158 +.word 0x7f11fff8 +.text +/* f11fd9c: 27bdffd0 */ addiu $sp,$sp,-48 +/* f11fda0: afbf0014 */ sw $ra,0x14($sp) +/* f11fda4: afa40030 */ sw $a0,0x30($sp) +/* f11fda8: afa50034 */ sw $a1,0x34($sp) +/* f11fdac: afa60038 */ sw $a2,0x38($sp) +/* f11fdb0: 0fc47ee8 */ jal 0xf11fba0 +/* f11fdb4: afa7003c */ sw $a3,0x3c($sp) +/* f11fdb8: 3c048008 */ lui $a0,0x8008 +/* f11fdbc: 24848244 */ addiu $a0,$a0,-32188 +/* f11fdc0: 8c820000 */ lw $v0,0x0($a0) +/* f11fdc4: 24060003 */ li $a2,0x3 +/* f11fdc8: 1040000b */ beqz $v0,.PB0f11fdf8 +/* f11fdcc: 244e0001 */ addiu $t6,$v0,0x1 +/* f11fdd0: 14c20009 */ bne $a2,$v0,.PB0f11fdf8 +/* f11fdd4: ac8e0000 */ sw $t6,0x0($a0) +/* f11fdd8: 0c002f34 */ jal 0xbcd0 +/* f11fddc: 00000000 */ nop +/* f11fde0: 3c048008 */ lui $a0,0x8008 +/* f11fde4: 24848244 */ addiu $a0,$a0,-32188 +/* f11fde8: 0c002a0b */ jal 0xa82c +/* f11fdec: ac800000 */ sw $zero,0x0($a0) +/* f11fdf0: 0c0124a8 */ jal 0x492a0 +/* f11fdf4: 00002025 */ move $a0,$zero +.PB0f11fdf8: +/* f11fdf8: 3c048008 */ lui $a0,0x8008 +/* f11fdfc: 24848248 */ addiu $a0,$a0,-32184 +/* f11fe00: 8c820000 */ lw $v0,0x0($a0) +/* f11fe04: 24060003 */ li $a2,0x3 +/* f11fe08: 1040000b */ beqz $v0,.PB0f11fe38 +/* f11fe0c: 244f0001 */ addiu $t7,$v0,0x1 +/* f11fe10: 14c20009 */ bne $a2,$v0,.PB0f11fe38 +/* f11fe14: ac8f0000 */ sw $t7,0x0($a0) +/* f11fe18: 0c002f30 */ jal 0xbcc0 +/* f11fe1c: 00000000 */ nop +/* f11fe20: 3c048008 */ lui $a0,0x8008 +/* f11fe24: 24848248 */ addiu $a0,$a0,-32184 +/* f11fe28: 0c002a0b */ jal 0xa82c +/* f11fe2c: ac800000 */ sw $zero,0x0($a0) +/* f11fe30: 0c0124a8 */ jal 0x492a0 +/* f11fe34: 00002025 */ move $a0,$zero +.PB0f11fe38: +/* f11fe38: 3c188008 */ lui $t8,0x8008 +/* f11fe3c: 8f18824c */ lw $t8,-0x7db4($t8) +/* f11fe40: 3c048007 */ lui $a0,0x8007 +/* f11fe44: 3c018008 */ lui $at,0x8008 +/* f11fe48: 1700000c */ bnez $t8,.PB0f11fe7c +/* f11fe4c: 24847b78 */ addiu $a0,$a0,0x7b78 +/* f11fe50: 97a4003a */ lhu $a0,0x3a($sp) +/* f11fe54: 30820008 */ andi $v0,$a0,0x8 +/* f11fe58: 0002182b */ sltu $v1,$zero,$v0 +/* f11fe5c: 10600004 */ beqz $v1,.PB0f11fe70 +/* f11fe60: 00000000 */ nop +/* f11fe64: 30830004 */ andi $v1,$a0,0x4 +/* f11fe68: 0003402b */ sltu $t0,$zero,$v1 +/* f11fe6c: 01001825 */ move $v1,$t0 +.PB0f11fe70: +/* f11fe70: ac23824c */ sw $v1,-0x7db4($at) +/* f11fe74: 100000c9 */ b .PB0f12019c +/* f11fe78: 00601025 */ move $v0,$v1 +.PB0f11fe7c: +/* f11fe7c: 8c820000 */ lw $v0,0x0($a0) +/* f11fe80: 2403fffe */ li $v1,-2 +/* f11fe84: 3c018007 */ lui $at,0x8007 +/* f11fe88: 50620004 */ beql $v1,$v0,.PB0f11fe9c +/* f11fe8c: 97a9003e */ lhu $t1,0x3e($sp) +/* f11fe90: ac227b7c */ sw $v0,0x7b7c($at) +/* f11fe94: ac830000 */ sw $v1,0x0($a0) +/* f11fe98: 97a9003e */ lhu $t1,0x3e($sp) +.PB0f11fe9c: +/* f11fe9c: 312a0200 */ andi $t2,$t1,0x200 +/* f11fea0: 11400007 */ beqz $t2,.PB0f11fec0 +/* f11fea4: afa9001c */ sw $t1,0x1c($sp) +/* f11fea8: 0fc47ea9 */ jal 0xf11faa4 +/* f11feac: 00000000 */ nop +/* f11feb0: 3c048007 */ lui $a0,0x8007 +/* f11feb4: 24847b78 */ addiu $a0,$a0,0x7b78 +/* f11feb8: 2403fffe */ li $v1,-2 +/* f11febc: ac830000 */ sw $v1,0x0($a0) +.PB0f11fec0: +/* f11fec0: 8fab001c */ lw $t3,0x1c($sp) +/* f11fec4: 316c0100 */ andi $t4,$t3,0x100 +/* f11fec8: 51800008 */ beqzl $t4,.PB0f11feec +/* f11fecc: 8fad001c */ lw $t5,0x1c($sp) +/* f11fed0: 0fc47e6c */ jal 0xf11f9b0 +/* f11fed4: 00000000 */ nop +/* f11fed8: 3c048007 */ lui $a0,0x8007 +/* f11fedc: 24847b78 */ addiu $a0,$a0,0x7b78 +/* f11fee0: 2403fffe */ li $v1,-2 +/* f11fee4: ac830000 */ sw $v1,0x0($a0) +/* f11fee8: 8fad001c */ lw $t5,0x1c($sp) +.PB0f11feec: +/* f11feec: 31ae0800 */ andi $t6,$t5,0x800 +/* f11fef0: 51c00008 */ beqzl $t6,.PB0f11ff14 +/* f11fef4: 8faf001c */ lw $t7,0x1c($sp) +/* f11fef8: 0fc47e2e */ jal 0xf11f8b8 +/* f11fefc: 00000000 */ nop +/* f11ff00: 3c048007 */ lui $a0,0x8007 +/* f11ff04: 24847b78 */ addiu $a0,$a0,0x7b78 +/* f11ff08: 2403fffe */ li $v1,-2 +/* f11ff0c: ac830000 */ sw $v1,0x0($a0) +/* f11ff10: 8faf001c */ lw $t7,0x1c($sp) +.PB0f11ff14: +/* f11ff14: 31f80400 */ andi $t8,$t7,0x400 +/* f11ff18: 53000008 */ beqzl $t8,.PB0f11ff3c +/* f11ff1c: 8fb9001c */ lw $t9,0x1c($sp) +/* f11ff20: 0fc47e4e */ jal 0xf11f938 +/* f11ff24: 00000000 */ nop +/* f11ff28: 3c048007 */ lui $a0,0x8007 +/* f11ff2c: 24847b78 */ addiu $a0,$a0,0x7b78 +/* f11ff30: 2403fffe */ li $v1,-2 +/* f11ff34: ac830000 */ sw $v1,0x0($a0) +/* f11ff38: 8fb9001c */ lw $t9,0x1c($sp) +.PB0f11ff3c: +/* f11ff3c: 3c028008 */ lui $v0,0x8008 +/* f11ff40: 33289000 */ andi $t0,$t9,0x9000 +/* f11ff44: 51000085 */ beqzl $t0,.PB0f12015c +/* f11ff48: 8faf001c */ lw $t7,0x1c($sp) +/* f11ff4c: 8c428118 */ lw $v0,-0x7ee8($v0) +/* f11ff50: 24010001 */ li $at,0x1 +/* f11ff54: 14410011 */ bne $v0,$at,.PB0f11ff9c +/* f11ff58: 00000000 */ nop +/* f11ff5c: 0fc47e28 */ jal 0xf11f8a0 +/* f11ff60: 00000000 */ nop +/* f11ff64: 14400007 */ bnez $v0,.PB0f11ff84 +/* f11ff68: 3c018008 */ lui $at,0x8008 +/* f11ff6c: 0c004f11 */ jal 0x13c44 +/* f11ff70: ac208118 */ sw $zero,-0x7ee8($at) +/* f11ff74: 0fc47ee8 */ jal 0xf11fba0 +/* f11ff78: 00000000 */ nop +/* f11ff7c: 10000077 */ b .PB0f12015c +/* f11ff80: 8faf001c */ lw $t7,0x1c($sp) +.PB0f11ff84: +/* f11ff84: 0fc47e28 */ jal 0xf11f8a0 +/* f11ff88: 00000000 */ nop +/* f11ff8c: 0fc120fc */ jal 0xf0483f0 +/* f11ff90: 24440bff */ addiu $a0,$v0,0xbff +/* f11ff94: 10000071 */ b .PB0f12015c +/* f11ff98: 8faf001c */ lw $t7,0x1c($sp) +.PB0f11ff9c: +/* f11ff9c: 5440006f */ bnezl $v0,.PB0f12015c +/* f11ffa0: 8faf001c */ lw $t7,0x1c($sp) +/* f11ffa4: 0fc47e28 */ jal 0xf11f8a0 +/* f11ffa8: 00000000 */ nop +/* f11ffac: 2841001e */ slti $at,$v0,0x1e +/* f11ffb0: 1420000a */ bnez $at,.PB0f11ffdc +/* f11ffb4: 24060003 */ li $a2,0x3 +/* f11ffb8: 2449ffbd */ addiu $t1,$v0,-67 +/* f11ffbc: 2d210024 */ sltiu $at,$t1,0x24 +/* f11ffc0: 10200065 */ beqz $at,.PB0f120158 +/* f11ffc4: 00094880 */ sll $t1,$t1,0x2 +/* f11ffc8: 3c017f1b */ lui $at,0x7f1b +/* f11ffcc: 00290821 */ addu $at,$at,$t1 +/* f11ffd0: 8c296f38 */ lw $t1,0x6f38($at) +/* f11ffd4: 01200008 */ jr $t1 +/* f11ffd8: 00000000 */ nop +.PB0f11ffdc: +/* f11ffdc: 2401000d */ li $at,0xd +/* f11ffe0: 10410023 */ beq $v0,$at,.PB0f120070 +/* f11ffe4: 2401001d */ li $at,0x1d +/* f11ffe8: 1041003b */ beq $v0,$at,.PB0f1200d8 +/* f11ffec: 3c048008 */ lui $a0,0x8008 +/* f11fff0: 1000005a */ b .PB0f12015c +/* f11fff4: 8faf001c */ lw $t7,0x1c($sp) +/* f11fff8: 3c028008 */ lui $v0,0x8008 +/* f11fffc: 2442815c */ addiu $v0,$v0,-32420 +/* f120000: 8c4a0000 */ lw $t2,0x0($v0) +/* f120004: 394b0001 */ xori $t3,$t2,0x1 +/* f120008: 10000053 */ b .PB0f120158 +/* f12000c: ac4b0000 */ sw $t3,0x0($v0) +/* f120010: 3c028008 */ lui $v0,0x8008 +/* f120014: 244281c8 */ addiu $v0,$v0,-32312 +/* f120018: 8c4c0000 */ lw $t4,0x0($v0) +/* f12001c: 398d0001 */ xori $t5,$t4,0x1 +/* f120020: 1000004d */ b .PB0f120158 +/* f120024: ac4d0000 */ sw $t5,0x0($v0) +/* f120028: 3c028008 */ lui $v0,0x8008 +/* f12002c: 244281cc */ addiu $v0,$v0,-32308 +/* f120030: 8c4e0000 */ lw $t6,0x0($v0) +/* f120034: 39cf0001 */ xori $t7,$t6,0x1 +/* f120038: 10000047 */ b .PB0f120158 +/* f12003c: ac4f0000 */ sw $t7,0x0($v0) +/* f120040: 3c028006 */ lui $v0,0x8006 +/* f120044: 2442d910 */ addiu $v0,$v0,-9968 +/* f120048: 90580000 */ lbu $t8,0x0($v0) +/* f12004c: 3b190001 */ xori $t9,$t8,0x1 +/* f120050: 10000041 */ b .PB0f120158 +/* f120054: a0590000 */ sb $t9,0x0($v0) +/* f120058: 3c028008 */ lui $v0,0x8008 +/* f12005c: 244281dc */ addiu $v0,$v0,-32292 +/* f120060: 8c480000 */ lw $t0,0x0($v0) +/* f120064: 39090001 */ xori $t1,$t0,0x1 +/* f120068: 1000003b */ b .PB0f120158 +/* f12006c: ac490000 */ sw $t1,0x0($v0) +.PB0f120070: +/* f120070: 3c05800a */ lui $a1,0x800a +/* f120074: 3c07800a */ lui $a3,0x800a +/* f120078: 24e767ae */ addiu $a3,$a3,0x67ae +/* f12007c: 24a56730 */ addiu $a1,$a1,0x6730 +/* f120080: 24040007 */ li $a0,0x7 +/* f120084: 00001025 */ move $v0,$zero +.PB0f120088: +/* f120088: 00a01825 */ move $v1,$a1 +.PB0f12008c: +/* f12008c: 24420001 */ addiu $v0,$v0,0x1 +/* f120090: 24630002 */ addiu $v1,$v1,0x2 +/* f120094: 1446fffd */ bne $v0,$a2,.PB0f12008c +/* f120098: a464001e */ sh $a0,0x1e($v1) +/* f12009c: 24a50006 */ addiu $a1,$a1,0x6 +/* f1200a0: 54a7fff9 */ bnel $a1,$a3,.PB0f120088 +/* f1200a4: 00001025 */ move $v0,$zero +/* f1200a8: 240a0001 */ li $t2,0x1 +/* f1200ac: 3c01800a */ lui $at,0x800a +/* f1200b0: 10000029 */ b .PB0f120158 +/* f1200b4: a02a685b */ sb $t2,0x685b($at) +/* f1200b8: 3c028008 */ lui $v0,0x8008 +/* f1200bc: 244281c4 */ addiu $v0,$v0,-32316 +/* f1200c0: 8c4b0000 */ lw $t3,0x0($v0) +/* f1200c4: 396c0001 */ xori $t4,$t3,0x1 +/* f1200c8: 0fc67317 */ jal 0xf19cc5c +/* f1200cc: ac4c0000 */ sw $t4,0x0($v0) +/* f1200d0: 10000022 */ b .PB0f12015c +/* f1200d4: 8faf001c */ lw $t7,0x1c($sp) +.PB0f1200d8: +/* f1200d8: 248481d0 */ addiu $a0,$a0,-32304 +/* f1200dc: 8c8d0000 */ lw $t5,0x0($a0) +/* f1200e0: 3c02800a */ lui $v0,0x800a +/* f1200e4: 24426730 */ addiu $v0,$v0,0x6730 +/* f1200e8: 39ae0001 */ xori $t6,$t5,0x1 +/* f1200ec: ac8e0000 */ sw $t6,0x0($a0) +/* f1200f0: 3c04800a */ lui $a0,0x800a +/* f1200f4: 24846739 */ addiu $a0,$a0,0x6739 +/* f1200f8: 240300ff */ li $v1,0xff +.PB0f1200fc: +/* f1200fc: 24420001 */ addiu $v0,$v0,0x1 +/* f120100: 1444fffe */ bne $v0,$a0,.PB0f1200fc +/* f120104: a04300ab */ sb $v1,0xab($v0) +/* f120108: 0fc43e23 */ jal 0xf10f88c +/* f12010c: 24040030 */ li $a0,0x30 +/* f120110: 0fc43e23 */ jal 0xf10f88c +/* f120114: 24040031 */ li $a0,0x31 +/* f120118: 0fc43e23 */ jal 0xf10f88c +/* f12011c: 24040032 */ li $a0,0x32 +/* f120120: 0fc43e23 */ jal 0xf10f88c +/* f120124: 24040033 */ li $a0,0x33 +/* f120128: 0fc43e23 */ jal 0xf10f88c +/* f12012c: 24040034 */ li $a0,0x34 +/* f120130: 0fc43e23 */ jal 0xf10f88c +/* f120134: 24040035 */ li $a0,0x35 +/* f120138: 0fc43e23 */ jal 0xf10f88c +/* f12013c: 24040036 */ li $a0,0x36 +/* f120140: 0fc43e23 */ jal 0xf10f88c +/* f120144: 24040037 */ li $a0,0x37 +/* f120148: 0fc43e23 */ jal 0xf10f88c +/* f12014c: 24040038 */ li $a0,0x38 +/* f120150: 0fc43e23 */ jal 0xf10f88c +/* f120154: 24040039 */ li $a0,0x39 +.PB0f120158: +/* f120158: 8faf001c */ lw $t7,0x1c($sp) +.PB0f12015c: +/* f12015c: 3c198008 */ lui $t9,0x8008 +/* f120160: 31f81000 */ andi $t8,$t7,0x1000 +/* f120164: 13000009 */ beqz $t8,.PB0f12018c +/* f120168: 00000000 */ nop +/* f12016c: 8f39824c */ lw $t9,-0x7db4($t9) +/* f120170: 24010001 */ li $at,0x1 +/* f120174: 17210003 */ bne $t9,$at,.PB0f120184 +/* f120178: 00000000 */ nop +/* f12017c: 0c004f11 */ jal 0x13c44 +/* f120180: 00000000 */ nop +.PB0f120184: +/* f120184: 3c018008 */ lui $at,0x8008 +/* f120188: ac20824c */ sw $zero,-0x7db4($at) +.PB0f12018c: +/* f12018c: 0fc47f38 */ jal 0xf11fce0 +/* f120190: 00000000 */ nop +/* f120194: 3c028008 */ lui $v0,0x8008 +/* f120198: 8c42824c */ lw $v0,-0x7db4($v0) +.PB0f12019c: +/* f12019c: 8fbf0014 */ lw $ra,0x14($sp) +/* f1201a0: 27bd0030 */ addiu $sp,$sp,0x30 +/* f1201a4: 03e00008 */ jr $ra +/* f1201a8: 00000000 */ nop +); +#else bool debugProcessInput(s8 stickx, s8 sticky, u16 buttons, u16 buttonsthisframe) { s32 i; @@ -611,6 +953,7 @@ bool debugProcessInput(s8 stickx, s8 sticky, u16 buttons, u16 buttonsthisframe) return g_DebugIsMenuOpen; } +#endif bool debug0f11ed70(void) { @@ -931,3 +1274,12 @@ bool debug0f119bd8nb(void) { return var800787f0nb; } + +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f1204a8nb +/* f1204a8: 3c028008 */ lui $v0,0x8008 +/* f1204ac: 03e00008 */ jr $ra +/* f1204b0: 8c428220 */ lw $v0,-0x7de0($v0) +); +#endif diff --git a/src/game/endscreen.c b/src/game/endscreen.c index b42f6196e..bcf47f98e 100644 --- a/src/game/endscreen.c +++ b/src/game/endscreen.c @@ -1171,7 +1171,468 @@ struct menudialogdef g_SoloMissionEndscreenFailedMenuDialog = { &g_SoloEndscreenObjectivesFailedMenuDialog, }; -#if VERSION >= VERSION_NTSC_1_0 +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel endscreenPrepare +/* f10ed10: 3c0e8007 */ lui $t6,0x8007 +/* f10ed14: 8dce3118 */ lw $t6,0x3118($t6) +/* f10ed18: 3c07800a */ lui $a3,0x800a +/* f10ed1c: 24e72518 */ addiu $a3,$a3,0x2518 +/* f10ed20: 000e78c0 */ sll $t7,$t6,0x3 +/* f10ed24: 01ee7823 */ subu $t7,$t7,$t6 +/* f10ed28: 000f7880 */ sll $t7,$t7,0x2 +/* f10ed2c: 01ee7821 */ addu $t7,$t7,$t6 +/* f10ed30: 000f78c0 */ sll $t7,$t7,0x3 +/* f10ed34: 90e60002 */ lbu $a2,0x2($a3) +/* f10ed38: 3c18800a */ lui $t8,0x800a +/* f10ed3c: 01ee7823 */ subu $t7,$t7,$t6 +/* f10ed40: 000f7900 */ sll $t7,$t7,0x4 +/* f10ed44: 27182530 */ addiu $t8,$t8,0x2530 +/* f10ed48: 01f84021 */ addu $t0,$t7,$t8 +/* f10ed4c: 3c03800a */ lui $v1,0x800a +/* f10ed50: ad060e2c */ sw $a2,0xe2c($t0) +/* f10ed54: 8c635ef4 */ lw $v1,0x5ef4($v1) +/* f10ed58: 27bdffc8 */ addiu $sp,$sp,-56 +/* f10ed5c: 24010001 */ li $at,0x1 +/* f10ed60: 1061018b */ beq $v1,$at,.PB0f10f390 +/* f10ed64: afbf0014 */ sw $ra,0x14($sp) +/* f10ed68: 3c19800a */ lui $t9,0x800a +/* f10ed6c: 8f39e7e4 */ lw $t9,-0x181c($t9) +/* f10ed70: 57200188 */ bnezl $t9,.PB0f10f394 +/* f10ed74: 24010001 */ li $at,0x1 +/* f10ed78: 80ea0003 */ lb $t2,0x3($a3) +/* f10ed7c: ad000e20 */ sw $zero,0xe20($t0) +/* f10ed80: ad000e24 */ sw $zero,0xe24($t0) +/* f10ed84: 05400033 */ bltz $t2,.PB0f10ee54 +/* f10ed88: a100083b */ sb $zero,0x83b($t0) +/* f10ed8c: 8ce20000 */ lw $v0,0x0($a3) +/* f10ed90: 00026640 */ sll $t4,$v0,0x19 +/* f10ed94: 0580002f */ bltz $t4,.PB0f10ee54 +/* f10ed98: 00000000 */ nop +/* f10ed9c: 90ed0000 */ lbu $t5,0x0($a3) +/* f10eda0: 00c02025 */ move $a0,$a2 +/* f10eda4: 31ae0001 */ andi $t6,$t5,0x1 +/* f10eda8: 15c0002a */ bnez $t6,.PB0f10ee54 +/* f10edac: 00000000 */ nop +/* f10edb0: 0fc4214e */ jal 0xf108538 +/* f10edb4: 00022e42 */ srl $a1,$v0,0x19 +/* f10edb8: 3c04800a */ lui $a0,0x800a +/* f10edbc: 9084251a */ lbu $a0,0x251a($a0) +/* f10edc0: 0fc42166 */ jal 0xf108598 +/* f10edc4: afa20034 */ sw $v0,0x34($sp) +/* f10edc8: 8fa30034 */ lw $v1,0x34($sp) +/* f10edcc: 3c188007 */ lui $t8,0x8007 +/* f10edd0: 3c098007 */ lui $t1,0x8007 +/* f10edd4: 0460000d */ bltz $v1,.PB0f10ee0c +/* f10edd8: 00000000 */ nop +/* f10eddc: 8f183118 */ lw $t8,0x3118($t8) +/* f10ede0: 3c01800a */ lui $at,0x800a +/* f10ede4: 346f0100 */ ori $t7,$v1,0x100 +/* f10ede8: 0018c8c0 */ sll $t9,$t8,0x3 +/* f10edec: 0338c823 */ subu $t9,$t9,$t8 +/* f10edf0: 0019c880 */ sll $t9,$t9,0x2 +/* f10edf4: 0338c821 */ addu $t9,$t9,$t8 +/* f10edf8: 0019c8c0 */ sll $t9,$t9,0x3 +/* f10edfc: 0338c823 */ subu $t9,$t9,$t8 +/* f10ee00: 0019c900 */ sll $t9,$t9,0x4 +/* f10ee04: 00390821 */ addu $at,$at,$t9 +/* f10ee08: ac2f3350 */ sw $t7,0x3350($at) +.PB0f10ee0c: +/* f10ee0c: 04400011 */ bltz $v0,.PB0f10ee54 +/* f10ee10: 00000000 */ nop +/* f10ee14: 8d293118 */ lw $t1,0x3118($t1) +/* f10ee18: 3c0b800a */ lui $t3,0x800a +/* f10ee1c: 256b2530 */ addiu $t3,$t3,0x2530 +/* f10ee20: 000950c0 */ sll $t2,$t1,0x3 +/* f10ee24: 01495023 */ subu $t2,$t2,$t1 +/* f10ee28: 000a5080 */ sll $t2,$t2,0x2 +/* f10ee2c: 01495021 */ addu $t2,$t2,$t1 +/* f10ee30: 000a50c0 */ sll $t2,$t2,0x3 +/* f10ee34: 01495023 */ subu $t2,$t2,$t1 +/* f10ee38: 000a5100 */ sll $t2,$t2,0x4 +/* f10ee3c: 014b4021 */ addu $t0,$t2,$t3 +/* f10ee40: 8d0c0e20 */ lw $t4,0xe20($t0) +/* f10ee44: 00026c00 */ sll $t5,$v0,0x10 +/* f10ee48: 35ae1000 */ ori $t6,$t5,0x1000 +/* f10ee4c: 018ec025 */ or $t8,$t4,$t6 +/* f10ee50: ad180e20 */ sw $t8,0xe20($t0) +.PB0f10ee54: +/* f10ee54: 3c02800a */ lui $v0,0x800a +/* f10ee58: 8c42e754 */ lw $v0,-0x18ac($v0) +/* f10ee5c: 8c4f00d8 */ lw $t7,0xd8($v0) +/* f10ee60: 15e00008 */ bnez $t7,.PB0f10ee84 +/* f10ee64: 00000000 */ nop +/* f10ee68: 8c59048c */ lw $t9,0x48c($v0) +/* f10ee6c: 17200005 */ bnez $t9,.PB0f10ee84 +/* f10ee70: 00000000 */ nop +/* f10ee74: 0fc25675 */ jal 0xf0959d4 +/* f10ee78: 00000000 */ nop +/* f10ee7c: 1440000d */ bnez $v0,.PB0f10eeb4 +/* f10ee80: 00000000 */ nop +.PB0f10ee84: +/* f10ee84: 0fc4810c */ jal 0xf120430 +/* f10ee88: 00000000 */ nop +/* f10ee8c: 14400009 */ bnez $v0,.PB0f10eeb4 +/* f10ee90: 3c048007 */ lui $a0,0x8007 +/* f10ee94: 2484791c */ addiu $a0,$a0,0x791c +/* f10ee98: 0fc3e223 */ jal 0xf0f888c +/* f10ee9c: 24050001 */ li $a1,0x1 +/* f10eea0: 3c02800a */ lui $v0,0x800a +/* f10eea4: 9042251b */ lbu $v0,0x251b($v0) +/* f10eea8: 000249c2 */ srl $t1,$v0,0x7 +/* f10eeac: 10000010 */ b .PB0f10eef0 +/* f10eeb0: 01201025 */ move $v0,$t1 +.PB0f10eeb4: +/* f10eeb4: 3c048007 */ lui $a0,0x8007 +/* f10eeb8: 24847904 */ addiu $a0,$a0,0x7904 +/* f10eebc: 0fc3e223 */ jal 0xf0f888c +/* f10eec0: 24050001 */ li $a1,0x1 +/* f10eec4: 3c02800a */ lui $v0,0x800a +/* f10eec8: 9042251b */ lbu $v0,0x251b($v0) +/* f10eecc: 000251c2 */ srl $t2,$v0,0x7 +/* f10eed0: 11400007 */ beqz $t2,.PB0f10eef0 +/* f10eed4: 01401025 */ move $v0,$t2 +/* f10eed8: 0fc43b1e */ jal 0xf10ec78 +/* f10eedc: 00000000 */ nop +/* f10eee0: 3c02800a */ lui $v0,0x800a +/* f10eee4: 9042251b */ lbu $v0,0x251b($v0) +/* f10eee8: 000259c2 */ srl $t3,$v0,0x7 +/* f10eeec: 01601025 */ move $v0,$t3 +.PB0f10eef0: +/* f10eef0: 14400120 */ bnez $v0,.PB0f10f374 +/* f10eef4: 3c0d800a */ lui $t5,0x800a +/* f10eef8: 8dad2518 */ lw $t5,0x2518($t5) +/* f10eefc: 3c188007 */ lui $t8,0x8007 +/* f10ef00: 000d7640 */ sll $t6,$t5,0x19 +/* f10ef04: 05c0011b */ bltz $t6,.PB0f10f374 +/* f10ef08: 00000000 */ nop +/* f10ef0c: 8f183118 */ lw $t8,0x3118($t8) +/* f10ef10: 3c02800a */ lui $v0,0x800a +/* f10ef14: afa00020 */ sw $zero,0x20($sp) +/* f10ef18: 001878c0 */ sll $t7,$t8,0x3 +/* f10ef1c: 01f87823 */ subu $t7,$t7,$t8 +/* f10ef20: 000f7880 */ sll $t7,$t7,0x2 +/* f10ef24: 01f87821 */ addu $t7,$t7,$t8 +/* f10ef28: 000f78c0 */ sll $t7,$t7,0x3 +/* f10ef2c: 01f87823 */ subu $t7,$t7,$t8 +/* f10ef30: 000f7900 */ sll $t7,$t7,0x4 +/* f10ef34: 004f1021 */ addu $v0,$v0,$t7 +/* f10ef38: 8c423350 */ lw $v0,0x3350($v0) +/* f10ef3c: afa0001c */ sw $zero,0x1c($sp) +/* f10ef40: 30590100 */ andi $t9,$v0,0x100 +/* f10ef44: 13200014 */ beqz $t9,.PB0f10ef98 +/* f10ef48: 00000000 */ nop +/* f10ef4c: 0fc41cf0 */ jal 0xf1073c0 +/* f10ef50: 304400ff */ andi $a0,$v0,0xff +/* f10ef54: 10400010 */ beqz $v0,.PB0f10ef98 +/* f10ef58: afa20020 */ sw $v0,0x20($sp) +/* f10ef5c: 3c098007 */ lui $t1,0x8007 +/* f10ef60: 8d293118 */ lw $t1,0x3118($t1) +/* f10ef64: 3c0b800a */ lui $t3,0x800a +/* f10ef68: 256b2530 */ addiu $t3,$t3,0x2530 +/* f10ef6c: 000950c0 */ sll $t2,$t1,0x3 +/* f10ef70: 01495023 */ subu $t2,$t2,$t1 +/* f10ef74: 000a5080 */ sll $t2,$t2,0x2 +/* f10ef78: 01495021 */ addu $t2,$t2,$t1 +/* f10ef7c: 000a50c0 */ sll $t2,$t2,0x3 +/* f10ef80: 01495023 */ subu $t2,$t2,$t1 +/* f10ef84: 000a5100 */ sll $t2,$t2,0x4 +/* f10ef88: 014b4021 */ addu $t0,$t2,$t3 +/* f10ef8c: 8d0d0e20 */ lw $t5,0xe20($t0) +/* f10ef90: 35ac0400 */ ori $t4,$t5,0x400 +/* f10ef94: ad0c0e20 */ sw $t4,0xe20($t0) +.PB0f10ef98: +/* f10ef98: 3c0e8007 */ lui $t6,0x8007 +/* f10ef9c: 8dce3118 */ lw $t6,0x3118($t6) +/* f10efa0: 3c02800a */ lui $v0,0x800a +/* f10efa4: 000ec0c0 */ sll $t8,$t6,0x3 +/* f10efa8: 030ec023 */ subu $t8,$t8,$t6 +/* f10efac: 0018c080 */ sll $t8,$t8,0x2 +/* f10efb0: 030ec021 */ addu $t8,$t8,$t6 +/* f10efb4: 0018c0c0 */ sll $t8,$t8,0x3 +/* f10efb8: 030ec023 */ subu $t8,$t8,$t6 +/* f10efbc: 0018c100 */ sll $t8,$t8,0x4 +/* f10efc0: 00581021 */ addu $v0,$v0,$t8 +/* f10efc4: 8c423350 */ lw $v0,0x3350($v0) +/* f10efc8: 304f1000 */ andi $t7,$v0,0x1000 +/* f10efcc: 11e00005 */ beqz $t7,.PB0f10efe4 +/* f10efd0: 00022402 */ srl $a0,$v0,0x10 +/* f10efd4: 309900ff */ andi $t9,$a0,0xff +/* f10efd8: 0fc41cf0 */ jal 0xf1073c0 +/* f10efdc: 03202025 */ move $a0,$t9 +/* f10efe0: afa2001c */ sw $v0,0x1c($sp) +.PB0f10efe4: +/* f10efe4: 0fc309bd */ jal 0xf0c26f4 +/* f10efe8: 00000000 */ nop +/* f10efec: 2401003c */ li $at,0x3c +/* f10eff0: 0041001a */ div $zero,$v0,$at +/* f10eff4: 00001812 */ mflo $v1 +/* f10eff8: 3c047fff */ lui $a0,0x7fff +/* f10effc: 10600010 */ beqz $v1,.PB0f10f040 +/* f10f000: 3484ffff */ ori $a0,$a0,0xffff +/* f10f004: 0064082b */ sltu $at,$v1,$a0 +/* f10f008: 10200007 */ beqz $at,.PB0f10f028 +/* f10f00c: 3c05800a */ lui $a1,0x800a +/* f10f010: 24a56730 */ addiu $a1,$a1,0x6730 +/* f10f014: 8ca20010 */ lw $v0,0x10($a1) +/* f10f018: 00834823 */ subu $t1,$a0,$v1 +/* f10f01c: 0049082b */ sltu $at,$v0,$t1 +/* f10f020: 14200005 */ bnez $at,.PB0f10f038 +/* f10f024: 00435021 */ addu $t2,$v0,$v1 +.PB0f10f028: +/* f10f028: 3c05800a */ lui $a1,0x800a +/* f10f02c: 24a56730 */ addiu $a1,$a1,0x6730 +/* f10f030: 10000003 */ b .PB0f10f040 +/* f10f034: aca40010 */ sw $a0,0x10($a1) +.PB0f10f038: +/* f10f038: 3c01800a */ lui $at,0x800a +/* f10f03c: ac2a6740 */ sw $t2,0x6740($at) +.PB0f10f040: +/* f10f040: 3c03800a */ lui $v1,0x800a +/* f10f044: 24632518 */ addiu $v1,$v1,0x2518 +/* f10f048: 3c05800a */ lui $a1,0x800a +/* f10f04c: 8c6d0000 */ lw $t5,0x0($v1) +/* f10f050: 24a56730 */ addiu $a1,$a1,0x6730 +/* f10f054: 90af000b */ lbu $t7,0xb($a1) +/* f10f058: 906b0002 */ lbu $t3,0x2($v1) +/* f10f05c: 000d7642 */ srl $t6,$t5,0x19 +/* f10f060: 31d80007 */ andi $t8,$t6,0x7 +/* f10f064: 31f9fff8 */ andi $t9,$t7,0xfff8 +/* f10f068: 03194825 */ or $t1,$t8,$t9 +/* f10f06c: a0a9000b */ sb $t1,0xb($a1) +/* f10f070: 3c0a800a */ lui $t2,0x800a +/* f10f074: a0ab000c */ sb $t3,0xc($a1) +/* f10f078: 8d4a6700 */ lw $t2,0x6700($t2) +/* f10f07c: 3c0b800a */ lui $t3,0x800a +/* f10f080: 154000bc */ bnez $t2,.PB0f10f374 +/* f10f084: 00000000 */ nop +/* f10f088: 8d6b6704 */ lw $t3,0x6704($t3) +/* f10f08c: 156000b9 */ bnez $t3,.PB0f10f374 +/* f10f090: 00000000 */ nop +/* f10f094: 906d0000 */ lbu $t5,0x0($v1) +/* f10f098: 3c02800a */ lui $v0,0x800a +/* f10f09c: 31ac0001 */ andi $t4,$t5,0x1 +/* f10f0a0: 158000b4 */ bnez $t4,.PB0f10f374 +/* f10f0a4: 00000000 */ nop +/* f10f0a8: 8c42e754 */ lw $v0,-0x18ac($v0) +/* f10f0ac: 8c4e00d8 */ lw $t6,0xd8($v0) +/* f10f0b0: 15c00008 */ bnez $t6,.PB0f10f0d4 +/* f10f0b4: 00000000 */ nop +/* f10f0b8: 8c4f048c */ lw $t7,0x48c($v0) +/* f10f0bc: 15e00005 */ bnez $t7,.PB0f10f0d4 +/* f10f0c0: 00000000 */ nop +/* f10f0c4: 0fc25675 */ jal 0xf0959d4 +/* f10f0c8: 00000000 */ nop +/* f10f0cc: 14400005 */ bnez $v0,.PB0f10f0e4 +/* f10f0d0: 00000000 */ nop +.PB0f10f0d4: +/* f10f0d4: 0fc4810c */ jal 0xf120430 +/* f10f0d8: 00000000 */ nop +/* f10f0dc: 104000a5 */ beqz $v0,.PB0f10f374 +/* f10f0e0: 00000000 */ nop +.PB0f10f0e4: +/* f10f0e4: 0fc309bd */ jal 0xf0c26f4 +/* f10f0e8: 00000000 */ nop +/* f10f0ec: 2401003c */ li $at,0x3c +/* f10f0f0: 0041001a */ div $zero,$v0,$at +/* f10f0f4: 00002012 */ mflo $a0 +/* f10f0f8: 3c05800a */ lui $a1,0x800a +/* f10f0fc: 2c811000 */ sltiu $at,$a0,0x1000 +/* f10f100: 14200002 */ bnez $at,.PB0f10f10c +/* f10f104: 24a56730 */ addiu $a1,$a1,0x6730 +/* f10f108: 24040fff */ li $a0,0xfff +.PB0f10f10c: +/* f10f10c: 14800002 */ bnez $a0,.PB0f10f118 +/* f10f110: 3c06800a */ lui $a2,0x800a +/* f10f114: 24040001 */ li $a0,0x1 +.PB0f10f118: +/* f10f118: 90c6251a */ lbu $a2,0x251a($a2) +/* f10f11c: 3c09800a */ lui $t1,0x800a +/* f10f120: 8d292518 */ lw $t1,0x2518($t1) +/* f10f124: 0006c080 */ sll $t8,$a2,0x2 +/* f10f128: 0306c023 */ subu $t8,$t8,$a2 +/* f10f12c: 0018c040 */ sll $t8,$t8,0x1 +/* f10f130: 00095642 */ srl $t2,$t1,0x19 +/* f10f134: 000a5840 */ sll $t3,$t2,0x1 +/* f10f138: 00b8c821 */ addu $t9,$a1,$t8 +/* f10f13c: 032b3821 */ addu $a3,$t9,$t3 +/* f10f140: 94e30020 */ lhu $v1,0x20($a3) +/* f10f144: 3c0c8007 */ lui $t4,0x8007 +/* f10f148: 3c09800a */ lui $t1,0x800a +/* f10f14c: 1460000d */ bnez $v1,.PB0f10f184 +/* f10f150: 3c0f8007 */ lui $t7,0x8007 +/* f10f154: 8d8c3118 */ lw $t4,0x3118($t4) +/* f10f158: 3c01800a */ lui $at,0x800a +/* f10f15c: 240d0001 */ li $t5,0x1 +/* f10f160: 000c70c0 */ sll $t6,$t4,0x3 +/* f10f164: 01cc7023 */ subu $t6,$t6,$t4 +/* f10f168: 000e7080 */ sll $t6,$t6,0x2 +/* f10f16c: 01cc7021 */ addu $t6,$t6,$t4 +/* f10f170: 000e70c0 */ sll $t6,$t6,0x3 +/* f10f174: 01cc7023 */ subu $t6,$t6,$t4 +/* f10f178: 000e7100 */ sll $t6,$t6,0x4 +/* f10f17c: 002e0821 */ addu $at,$at,$t6 +/* f10f180: ac2d3354 */ sw $t5,0x3354($at) +.PB0f10f184: +/* f10f184: 8def3118 */ lw $t7,0x3118($t7) +/* f10f188: 25292530 */ addiu $t1,$t1,0x2530 +/* f10f18c: 0083082b */ sltu $at,$a0,$v1 +/* f10f190: 000fc0c0 */ sll $t8,$t7,0x3 +/* f10f194: 030fc023 */ subu $t8,$t8,$t7 +/* f10f198: 0018c080 */ sll $t8,$t8,0x2 +/* f10f19c: 030fc021 */ addu $t8,$t8,$t7 +/* f10f1a0: 0018c0c0 */ sll $t8,$t8,0x3 +/* f10f1a4: 030fc023 */ subu $t8,$t8,$t7 +/* f10f1a8: 0018c100 */ sll $t8,$t8,0x4 +/* f10f1ac: 14200003 */ bnez $at,.PB0f10f1bc +/* f10f1b0: 03094021 */ addu $t0,$t8,$t1 +/* f10f1b4: 54600003 */ bnezl $v1,.PB0f10f1c4 +/* f10f1b8: 28c10011 */ slti $at,$a2,0x11 +.PB0f10f1bc: +/* f10f1bc: a4e40020 */ sh $a0,0x20($a3) +/* f10f1c0: 28c10011 */ slti $at,$a2,0x11 +.PB0f10f1c4: +/* f10f1c4: 1020001d */ beqz $at,.PB0f10f23c +/* f10f1c8: 24ca0001 */ addiu $t2,$a2,0x1 +/* f10f1cc: 315900ff */ andi $t9,$t2,0xff +/* f10f1d0: 2b210011 */ slti $at,$t9,0x11 +/* f10f1d4: 14200003 */ bnez $at,.PB0f10f1e4 +/* f10f1d8: a0aa000c */ sb $t2,0xc($a1) +/* f10f1dc: 240b0010 */ li $t3,0x10 +/* f10f1e0: a0ab000c */ sb $t3,0xc($a1) +.PB0f10f1e4: +/* f10f1e4: 00003025 */ move $a2,$zero +/* f10f1e8: 24070006 */ li $a3,0x6 +/* f10f1ec: 24040011 */ li $a0,0x11 +.PB0f10f1f0: +/* f10f1f0: 3c0c800a */ lui $t4,0x800a +/* f10f1f4: 258c6730 */ addiu $t4,$t4,0x6730 +/* f10f1f8: 00cc1821 */ addu $v1,$a2,$t4 +/* f10f1fc: 00001025 */ move $v0,$zero +.PB0f10f200: +/* f10f200: 946d0020 */ lhu $t5,0x20($v1) +/* f10f204: 51a00008 */ beqzl $t5,.PB0f10f228 +/* f10f208: 24420001 */ addiu $v0,$v0,0x1 +/* f10f20c: 90aa000b */ lbu $t2,0xb($a1) +/* f10f210: 244f0001 */ addiu $t7,$v0,0x1 +/* f10f214: 000f48c0 */ sll $t1,$t7,0x3 +/* f10f218: 3159ff07 */ andi $t9,$t2,0xff07 +/* f10f21c: 01395825 */ or $t3,$t1,$t9 +/* f10f220: a0ab000b */ sb $t3,0xb($a1) +/* f10f224: 24420001 */ addiu $v0,$v0,0x1 +.PB0f10f228: +/* f10f228: 1444fff5 */ bne $v0,$a0,.PB0f10f200 +/* f10f22c: 24630006 */ addiu $v1,$v1,0x6 +/* f10f230: 24c60002 */ addiu $a2,$a2,0x2 +/* f10f234: 14c7ffee */ bne $a2,$a3,.PB0f10f1f0 +/* f10f238: 00000000 */ nop +.PB0f10f23c: +/* f10f23c: 8d020e20 */ lw $v0,0xe20($t0) +/* f10f240: 304c0100 */ andi $t4,$v0,0x100 +/* f10f244: 11800016 */ beqz $t4,.PB0f10f2a0 +/* f10f248: 00000000 */ nop +/* f10f24c: 0fc41cf0 */ jal 0xf1073c0 +/* f10f250: 304400ff */ andi $a0,$v0,0xff +/* f10f254: 8fad0020 */ lw $t5,0x20($sp) +/* f10f258: 15a00011 */ bnez $t5,.PB0f10f2a0 +/* f10f25c: 00000000 */ nop +/* f10f260: 1040000f */ beqz $v0,.PB0f10f2a0 +/* f10f264: 3c0e8007 */ lui $t6,0x8007 +/* f10f268: 8dce3118 */ lw $t6,0x3118($t6) +/* f10f26c: 3c18800a */ lui $t8,0x800a +/* f10f270: 27182530 */ addiu $t8,$t8,0x2530 +/* f10f274: 000e78c0 */ sll $t7,$t6,0x3 +/* f10f278: 01ee7823 */ subu $t7,$t7,$t6 +/* f10f27c: 000f7880 */ sll $t7,$t7,0x2 +/* f10f280: 01ee7821 */ addu $t7,$t7,$t6 +/* f10f284: 000f78c0 */ sll $t7,$t7,0x3 +/* f10f288: 01ee7823 */ subu $t7,$t7,$t6 +/* f10f28c: 000f7900 */ sll $t7,$t7,0x4 +/* f10f290: 01f84021 */ addu $t0,$t7,$t8 +/* f10f294: 8d0a0e20 */ lw $t2,0xe20($t0) +/* f10f298: 35490200 */ ori $t1,$t2,0x200 +/* f10f29c: ad090e20 */ sw $t1,0xe20($t0) +.PB0f10f2a0: +/* f10f2a0: 3c198007 */ lui $t9,0x8007 +/* f10f2a4: 8f393118 */ lw $t9,0x3118($t9) +/* f10f2a8: 3c02800a */ lui $v0,0x800a +/* f10f2ac: 001958c0 */ sll $t3,$t9,0x3 +/* f10f2b0: 01795823 */ subu $t3,$t3,$t9 +/* f10f2b4: 000b5880 */ sll $t3,$t3,0x2 +/* f10f2b8: 01795821 */ addu $t3,$t3,$t9 +/* f10f2bc: 000b58c0 */ sll $t3,$t3,0x3 +/* f10f2c0: 01795823 */ subu $t3,$t3,$t9 +/* f10f2c4: 000b5900 */ sll $t3,$t3,0x4 +/* f10f2c8: 004b1021 */ addu $v0,$v0,$t3 +/* f10f2cc: 8c423350 */ lw $v0,0x3350($v0) +/* f10f2d0: 304c1000 */ andi $t4,$v0,0x1000 +/* f10f2d4: 11800017 */ beqz $t4,.PB0f10f334 +/* f10f2d8: 00022402 */ srl $a0,$v0,0x10 +/* f10f2dc: 308d00ff */ andi $t5,$a0,0xff +/* f10f2e0: 0fc41cf0 */ jal 0xf1073c0 +/* f10f2e4: 01a02025 */ move $a0,$t5 +/* f10f2e8: 8fae001c */ lw $t6,0x1c($sp) +/* f10f2ec: 15c00011 */ bnez $t6,.PB0f10f334 +/* f10f2f0: 00000000 */ nop +/* f10f2f4: 1040000f */ beqz $v0,.PB0f10f334 +/* f10f2f8: 3c0f8007 */ lui $t7,0x8007 +/* f10f2fc: 8def3118 */ lw $t7,0x3118($t7) +/* f10f300: 3c0a800a */ lui $t2,0x800a +/* f10f304: 254a2530 */ addiu $t2,$t2,0x2530 +/* f10f308: 000fc0c0 */ sll $t8,$t7,0x3 +/* f10f30c: 030fc023 */ subu $t8,$t8,$t7 +/* f10f310: 0018c080 */ sll $t8,$t8,0x2 +/* f10f314: 030fc021 */ addu $t8,$t8,$t7 +/* f10f318: 0018c0c0 */ sll $t8,$t8,0x3 +/* f10f31c: 030fc023 */ subu $t8,$t8,$t7 +/* f10f320: 0018c100 */ sll $t8,$t8,0x4 +/* f10f324: 030a4021 */ addu $t0,$t8,$t2 +/* f10f328: 8d090e20 */ lw $t1,0xe20($t0) +/* f10f32c: 35390800 */ ori $t9,$t1,0x800 +/* f10f330: ad190e20 */ sw $t9,0xe20($t0) +.PB0f10f334: +/* f10f334: 0fc67317 */ jal 0xf19cc5c +/* f10f338: 00000000 */ nop +/* f10f33c: 3c0b800a */ lui $t3,0x800a +/* f10f340: 916b2519 */ lbu $t3,0x2519($t3) +/* f10f344: 2401002a */ li $at,0x2a +/* f10f348: 3c02800a */ lui $v0,0x800a +/* f10f34c: 15610009 */ bne $t3,$at,.PB0f10f374 +/* f10f350: 2442685b */ addiu $v0,$v0,0x685b +/* f10f354: 904c0000 */ lbu $t4,0x0($v0) +/* f10f358: 240d0001 */ li $t5,0x1 +/* f10f35c: 240e0001 */ li $t6,0x1 +/* f10f360: 15800004 */ bnez $t4,.PB0f10f374 +/* f10f364: 3c01800a */ lui $at,0x800a +/* f10f368: a04d0000 */ sb $t5,0x0($v0) +/* f10f36c: 0fc44497 */ jal 0xf11125c +/* f10f370: a02e685c */ sb $t6,0x685c($at) +.PB0f10f374: +/* f10f374: 3c04800a */ lui $a0,0x800a +/* f10f378: 248467f0 */ addiu $a0,$a0,0x67f0 +/* f10f37c: 00002825 */ move $a1,$zero +/* f10f380: 0fc426eb */ jal 0xf109bac +/* f10f384: 00003025 */ move $a2,$zero +/* f10f388: 3c03800a */ lui $v1,0x800a +/* f10f38c: 8c635ef4 */ lw $v1,0x5ef4($v1) +.PB0f10f390: +/* f10f390: 24010001 */ li $at,0x1 +.PB0f10f394: +/* f10f394: 54610008 */ bnel $v1,$at,.PB0f10f3b8 +/* f10f398: 8fbf0014 */ lw $ra,0x14($sp) +/* f10f39c: 0fc5b9a4 */ jal 0xf16e690 +/* f10f3a0: 24040001 */ li $a0,0x1 +/* f10f3a4: 3c18800a */ lui $t8,0x800a +/* f10f3a8: 8f18e754 */ lw $t8,-0x18ac($t8) +/* f10f3ac: 240f0003 */ li $t7,0x3 +/* f10f3b0: af0f1a24 */ sw $t7,0x1a24($t8) +/* f10f3b4: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f3b8: +/* f10f3b8: 27bd0038 */ addiu $sp,$sp,0x38 +/* f10f3bc: 03e00008 */ jr $ra +/* f10f3c0: 00000000 */ nop +); +#elif VERSION >= VERSION_NTSC_1_0 void endscreenPrepare(void) { s32 timedcheatid; @@ -1590,6 +2051,122 @@ struct menudialogdef g_2PMissionEndscreenFailedVMenuDialog = { &g_2PMissionEndscreenObjectivesFailedVMenuDialog, }; +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel soloPushCoopModeEndscreen +/* f10f3c4: 3c0e8007 */ lui $t6,0x8007 +/* f10f3c8: 8dce3118 */ lw $t6,0x3118($t6) +/* f10f3cc: 27bdffe0 */ addiu $sp,$sp,-32 +/* f10f3d0: afbf0014 */ sw $ra,0x14($sp) +/* f10f3d4: 24040001 */ li $a0,0x1 +/* f10f3d8: 0fc5b9a4 */ jal 0xf16e690 +/* f10f3dc: afae001c */ sw $t6,0x1c($sp) +/* f10f3e0: 3c04800a */ lui $a0,0x800a +/* f10f3e4: 2484e4d0 */ addiu $a0,$a0,-6960 +/* f10f3e8: 8c8f0288 */ lw $t7,0x288($a0) +/* f10f3ec: 3c018007 */ lui $at,0x8007 +/* f10f3f0: 3c198007 */ lui $t9,0x8007 +/* f10f3f4: 8df80070 */ lw $t8,0x70($t7) +/* f10f3f8: 3c09800a */ lui $t1,0x800a +/* f10f3fc: 25292530 */ addiu $t1,$t1,0x2530 +/* f10f400: ac383118 */ sw $t8,0x3118($at) +/* f10f404: 8f393118 */ lw $t9,0x3118($t9) +/* f10f408: 3c0a800a */ lui $t2,0x800a +/* f10f40c: 8c8b028c */ lw $t3,0x28c($a0) +/* f10f410: 001940c0 */ sll $t0,$t9,0x3 +/* f10f414: 01194023 */ subu $t0,$t0,$t9 +/* f10f418: 00084080 */ sll $t0,$t0,0x2 +/* f10f41c: 01194021 */ addu $t0,$t0,$t9 +/* f10f420: 000840c0 */ sll $t0,$t0,0x3 +/* f10f424: 01194023 */ subu $t0,$t0,$t9 +/* f10f428: 00084100 */ sll $t0,$t0,0x4 +/* f10f42c: 01091021 */ addu $v0,$t0,$t1 +/* f10f430: ac400e20 */ sw $zero,0xe20($v0) +/* f10f434: ac400e24 */ sw $zero,0xe24($v0) +/* f10f438: 914a251a */ lbu $t2,0x251a($t2) +/* f10f43c: 8c8302a0 */ lw $v1,0x2a0($a0) +/* f10f440: a04b083b */ sb $t3,0x83b($v0) +/* f10f444: ac4a0e2c */ sw $t2,0xe2c($v0) +/* f10f448: 8c6c00d8 */ lw $t4,0xd8($v1) +/* f10f44c: 51800006 */ beqzl $t4,.PB0f10f468 +/* f10f450: 8c6f048c */ lw $t7,0x48c($v1) +/* f10f454: 8c8d02a4 */ lw $t5,0x2a4($a0) +/* f10f458: 8dae00d8 */ lw $t6,0xd8($t5) +/* f10f45c: 15c0000c */ bnez $t6,.PB0f10f490 +/* f10f460: 00000000 */ nop +/* f10f464: 8c6f048c */ lw $t7,0x48c($v1) +.PB0f10f468: +/* f10f468: 15e00009 */ bnez $t7,.PB0f10f490 +/* f10f46c: 00000000 */ nop +/* f10f470: 8c9802a4 */ lw $t8,0x2a4($a0) +/* f10f474: 8f19048c */ lw $t9,0x48c($t8) +/* f10f478: 17200005 */ bnez $t9,.PB0f10f490 +/* f10f47c: 00000000 */ nop +/* f10f480: 0fc25675 */ jal 0xf0959d4 +/* f10f484: 00000000 */ nop +/* f10f488: 14400015 */ bnez $v0,.PB0f10f4e0 +/* f10f48c: 00000000 */ nop +.PB0f10f490: +/* f10f490: 0fc4810c */ jal 0xf120430 +/* f10f494: 00000000 */ nop +/* f10f498: 14400011 */ bnez $v0,.PB0f10f4e0 +/* f10f49c: 00000000 */ nop +/* f10f4a0: 0fc550b9 */ jal 0xf1542e4 +/* f10f4a4: 00000000 */ nop +/* f10f4a8: 24010001 */ li $at,0x1 +/* f10f4ac: 14410007 */ bne $v0,$at,.PB0f10f4cc +/* f10f4b0: 3c048007 */ lui $a0,0x8007 +/* f10f4b4: 3c048007 */ lui $a0,0x8007 +/* f10f4b8: 2484797c */ addiu $a0,$a0,0x797c +/* f10f4bc: 0fc3e223 */ jal 0xf0f888c +/* f10f4c0: 24050005 */ li $a1,0x5 +/* f10f4c4: 10000016 */ b .PB0f10f520 +/* f10f4c8: 00000000 */ nop +.PB0f10f4cc: +/* f10f4cc: 2484794c */ addiu $a0,$a0,0x794c +/* f10f4d0: 0fc3e223 */ jal 0xf0f888c +/* f10f4d4: 24050005 */ li $a1,0x5 +/* f10f4d8: 10000011 */ b .PB0f10f520 +/* f10f4dc: 00000000 */ nop +.PB0f10f4e0: +/* f10f4e0: 0fc550b9 */ jal 0xf1542e4 +/* f10f4e4: 00000000 */ nop +/* f10f4e8: 24010001 */ li $at,0x1 +/* f10f4ec: 14410007 */ bne $v0,$at,.PB0f10f50c +/* f10f4f0: 3c048007 */ lui $a0,0x8007 +/* f10f4f4: 3c048007 */ lui $a0,0x8007 +/* f10f4f8: 24847964 */ addiu $a0,$a0,0x7964 +/* f10f4fc: 0fc3e223 */ jal 0xf0f888c +/* f10f500: 24050005 */ li $a1,0x5 +/* f10f504: 10000004 */ b .PB0f10f518 +/* f10f508: 00000000 */ nop +.PB0f10f50c: +/* f10f50c: 24847934 */ addiu $a0,$a0,0x7934 +/* f10f510: 0fc3e223 */ jal 0xf0f888c +/* f10f514: 24050005 */ li $a1,0x5 +.PB0f10f518: +/* f10f518: 0fc43b1e */ jal 0xf10ec78 +/* f10f51c: 00000000 */ nop +.PB0f10f520: +/* f10f520: 3c08800a */ lui $t0,0x800a +/* f10f524: 3c09800a */ lui $t1,0x800a +/* f10f528: 8d29e754 */ lw $t1,-0x18ac($t1) +/* f10f52c: 8d08e770 */ lw $t0,-0x1890($t0) +/* f10f530: 3c04800a */ lui $a0,0x800a +/* f10f534: 248467f0 */ addiu $a0,$a0,0x67f0 +/* f10f538: 15090003 */ bne $t0,$t1,.PB0f10f548 +/* f10f53c: 00002825 */ move $a1,$zero +/* f10f540: 0fc426eb */ jal 0xf109bac +/* f10f544: 00003025 */ move $a2,$zero +.PB0f10f548: +/* f10f548: 8fbf0014 */ lw $ra,0x14($sp) +/* f10f54c: 8faa001c */ lw $t2,0x1c($sp) +/* f10f550: 3c018007 */ lui $at,0x8007 +/* f10f554: 27bd0020 */ addiu $sp,$sp,0x20 +/* f10f558: 03e00008 */ jr $ra +/* f10f55c: ac2a3118 */ sw $t2,0x3118($at) +); +#else void soloPushCoopModeEndscreen(void) { u32 prevplayernum = g_MpPlayerNum; @@ -1633,8 +2210,73 @@ void soloPushCoopModeEndscreen(void) g_MpPlayerNum = prevplayernum; } +#endif -#if VERSION >= VERSION_NTSC_1_0 +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel soloPushSoloModeEndscreen +/* f10f560: 0000c0c0 */ sll $t8,$zero,0x3 +/* f10f564: 0300c023 */ subu $t8,$t8,$zero +/* f10f568: 3c048007 */ lui $a0,0x8007 +/* f10f56c: 0018c140 */ sll $t8,$t8,0x5 +/* f10f570: 24843118 */ addiu $a0,$a0,0x3118 +/* f10f574: 0300c023 */ subu $t8,$t8,$zero +/* f10f578: 8c8e0000 */ lw $t6,0x0($a0) +/* f10f57c: 0018c100 */ sll $t8,$t8,0x4 +/* f10f580: 3c01800a */ lui $at,0x800a +/* f10f584: 3c03800a */ lui $v1,0x800a +/* f10f588: ac800000 */ sw $zero,0x0($a0) +/* f10f58c: 00380821 */ addu $at,$at,$t8 +/* f10f590: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f10f594: a0202d6b */ sb $zero,0x2d6b($at) +/* f10f598: 8c6202a0 */ lw $v0,0x2a0($v1) +/* f10f59c: 27bdffe0 */ addiu $sp,$sp,-32 +/* f10f5a0: afbf0014 */ sw $ra,0x14($sp) +/* f10f5a4: afae001c */ sw $t6,0x1c($sp) +/* f10f5a8: 8c5900d8 */ lw $t9,0xd8($v0) +/* f10f5ac: 53200006 */ beqzl $t9,.PB0f10f5c8 +/* f10f5b0: 8c4a048c */ lw $t2,0x48c($v0) +/* f10f5b4: 8c6802a4 */ lw $t0,0x2a4($v1) +/* f10f5b8: 8d0900d8 */ lw $t1,0xd8($t0) +/* f10f5bc: 1520000c */ bnez $t1,.PB0f10f5f0 +/* f10f5c0: 00000000 */ nop +/* f10f5c4: 8c4a048c */ lw $t2,0x48c($v0) +.PB0f10f5c8: +/* f10f5c8: 15400009 */ bnez $t2,.PB0f10f5f0 +/* f10f5cc: 00000000 */ nop +/* f10f5d0: 8c6b02a4 */ lw $t3,0x2a4($v1) +/* f10f5d4: 8d6c048c */ lw $t4,0x48c($t3) +/* f10f5d8: 15800005 */ bnez $t4,.PB0f10f5f0 +/* f10f5dc: 00000000 */ nop +/* f10f5e0: 0fc25675 */ jal 0xf0959d4 +/* f10f5e4: 00000000 */ nop +/* f10f5e8: 1440000d */ bnez $v0,.PB0f10f620 +/* f10f5ec: 00000000 */ nop +.PB0f10f5f0: +/* f10f5f0: 0fc4810c */ jal 0xf120430 +/* f10f5f4: 00000000 */ nop +/* f10f5f8: 14400009 */ bnez $v0,.PB0f10f620 +/* f10f5fc: 00000000 */ nop +/* f10f600: 0fc43798 */ jal 0xf10de60 +/* f10f604: 00000000 */ nop +/* f10f608: 3c048007 */ lui $a0,0x8007 +/* f10f60c: 24847380 */ addiu $a0,$a0,0x7380 +/* f10f610: 0fc3e223 */ jal 0xf0f888c +/* f10f614: 24050009 */ li $a1,0x9 +/* f10f618: 10000004 */ b .PB0f10f62c +/* f10f61c: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f620: +/* f10f620: 0fc43800 */ jal 0xf10e000 +/* f10f624: 24040001 */ li $a0,0x1 +/* f10f628: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f62c: +/* f10f62c: 8fad001c */ lw $t5,0x1c($sp) +/* f10f630: 3c018007 */ lui $at,0x8007 +/* f10f634: 27bd0020 */ addiu $sp,$sp,0x20 +/* f10f638: 03e00008 */ jr $ra +/* f10f63c: ac2d3118 */ sw $t5,0x3118($at) +); +#elif VERSION >= VERSION_NTSC_1_0 /** * This function is misnamed. It pushes the menu after the endscreen * (ie. retry, next mission or continue), and it looks like it might be for coop @@ -1734,6 +2376,166 @@ glabel soloPushSoloModeEndscreen ); #endif +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel soloPushAntiModeEndscreen +/* f10f640: 3c0e8007 */ lui $t6,0x8007 +/* f10f644: 8dce3118 */ lw $t6,0x3118($t6) +/* f10f648: 27bdffe0 */ addiu $sp,$sp,-32 +/* f10f64c: afbf0014 */ sw $ra,0x14($sp) +/* f10f650: 24040001 */ li $a0,0x1 +/* f10f654: 0fc5b9a4 */ jal 0xf16e690 +/* f10f658: afae001c */ sw $t6,0x1c($sp) +/* f10f65c: 3c03800a */ lui $v1,0x800a +/* f10f660: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f10f664: 8c6f0288 */ lw $t7,0x288($v1) +/* f10f668: 3c018007 */ lui $at,0x8007 +/* f10f66c: 3c198007 */ lui $t9,0x8007 +/* f10f670: 8df80070 */ lw $t8,0x70($t7) +/* f10f674: 3c09800a */ lui $t1,0x800a +/* f10f678: 25292530 */ addiu $t1,$t1,0x2530 +/* f10f67c: ac383118 */ sw $t8,0x3118($at) +/* f10f680: 8f393118 */ lw $t9,0x3118($t9) +/* f10f684: 8c6c0284 */ lw $t4,0x284($v1) +/* f10f688: 8c6402a0 */ lw $a0,0x2a0($v1) +/* f10f68c: 001940c0 */ sll $t0,$t9,0x3 +/* f10f690: 01194023 */ subu $t0,$t0,$t9 +/* f10f694: 00084080 */ sll $t0,$t0,0x2 +/* f10f698: 01194021 */ addu $t0,$t0,$t9 +/* f10f69c: 000840c0 */ sll $t0,$t0,0x3 +/* f10f6a0: 01194023 */ subu $t0,$t0,$t9 +/* f10f6a4: 00084100 */ sll $t0,$t0,0x4 +/* f10f6a8: 01091021 */ addu $v0,$t0,$t1 +/* f10f6ac: ac400e20 */ sw $zero,0xe20($v0) +/* f10f6b0: ac400e24 */ sw $zero,0xe24($v0) +/* f10f6b4: 3c0a800a */ lui $t2,0x800a +/* f10f6b8: 914a251a */ lbu $t2,0x251a($t2) +/* f10f6bc: 8c6b028c */ lw $t3,0x28c($v1) +/* f10f6c0: ac4a0e2c */ sw $t2,0xe2c($v0) +/* f10f6c4: 148c0038 */ bne $a0,$t4,.PB0f10f7a8 +/* f10f6c8: a04b083b */ sb $t3,0x83b($v0) +/* f10f6cc: 8c6d02a8 */ lw $t5,0x2a8($v1) +/* f10f6d0: 8dae048c */ lw $t6,0x48c($t5) +/* f10f6d4: 15c0001f */ bnez $t6,.PB0f10f754 +/* f10f6d8: 00000000 */ nop +/* f10f6dc: 8c8f00d8 */ lw $t7,0xd8($a0) +/* f10f6e0: 15e00008 */ bnez $t7,.PB0f10f704 +/* f10f6e4: 00000000 */ nop +/* f10f6e8: 8c98048c */ lw $t8,0x48c($a0) +/* f10f6ec: 17000005 */ bnez $t8,.PB0f10f704 +/* f10f6f0: 00000000 */ nop +/* f10f6f4: 0fc25675 */ jal 0xf0959d4 +/* f10f6f8: 00000000 */ nop +/* f10f6fc: 14400015 */ bnez $v0,.PB0f10f754 +/* f10f700: 00000000 */ nop +.PB0f10f704: +/* f10f704: 0fc4810c */ jal 0xf120430 +/* f10f708: 00000000 */ nop +/* f10f70c: 14400011 */ bnez $v0,.PB0f10f754 +/* f10f710: 00000000 */ nop +/* f10f714: 0fc550b9 */ jal 0xf1542e4 +/* f10f718: 00000000 */ nop +/* f10f71c: 24010001 */ li $at,0x1 +/* f10f720: 14410007 */ bne $v0,$at,.PB0f10f740 +/* f10f724: 3c048007 */ lui $a0,0x8007 +/* f10f728: 3c048007 */ lui $a0,0x8007 +/* f10f72c: 2484797c */ addiu $a0,$a0,0x797c +/* f10f730: 0fc3e223 */ jal 0xf0f888c +/* f10f734: 24050005 */ li $a1,0x5 +/* f10f738: 10000014 */ b .PB0f10f78c +/* f10f73c: 00000000 */ nop +.PB0f10f740: +/* f10f740: 2484794c */ addiu $a0,$a0,0x794c +/* f10f744: 0fc3e223 */ jal 0xf0f888c +/* f10f748: 24050005 */ li $a1,0x5 +/* f10f74c: 1000000f */ b .PB0f10f78c +/* f10f750: 00000000 */ nop +.PB0f10f754: +/* f10f754: 0fc550b9 */ jal 0xf1542e4 +/* f10f758: 00000000 */ nop +/* f10f75c: 24010001 */ li $at,0x1 +/* f10f760: 14410007 */ bne $v0,$at,.PB0f10f780 +/* f10f764: 3c048007 */ lui $a0,0x8007 +/* f10f768: 3c048007 */ lui $a0,0x8007 +/* f10f76c: 24847964 */ addiu $a0,$a0,0x7964 +/* f10f770: 0fc3e223 */ jal 0xf0f888c +/* f10f774: 24050005 */ li $a1,0x5 +/* f10f778: 10000004 */ b .PB0f10f78c +/* f10f77c: 00000000 */ nop +.PB0f10f780: +/* f10f780: 24847934 */ addiu $a0,$a0,0x7934 +/* f10f784: 0fc3e223 */ jal 0xf0f888c +/* f10f788: 24050005 */ li $a1,0x5 +.PB0f10f78c: +/* f10f78c: 3c04800a */ lui $a0,0x800a +/* f10f790: 248467f0 */ addiu $a0,$a0,0x67f0 +/* f10f794: 00002825 */ move $a1,$zero +/* f10f798: 0fc426eb */ jal 0xf109bac +/* f10f79c: 00003025 */ move $a2,$zero +/* f10f7a0: 10000032 */ b .PB0f10f86c +/* f10f7a4: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f7a8: +/* f10f7a8: 8c7902a8 */ lw $t9,0x2a8($v1) +/* f10f7ac: 8f28048c */ lw $t0,0x48c($t9) +/* f10f7b0: 1500001f */ bnez $t0,.PB0f10f830 +/* f10f7b4: 00000000 */ nop +/* f10f7b8: 8c8900d8 */ lw $t1,0xd8($a0) +/* f10f7bc: 15200008 */ bnez $t1,.PB0f10f7e0 +/* f10f7c0: 00000000 */ nop +/* f10f7c4: 8c8a048c */ lw $t2,0x48c($a0) +/* f10f7c8: 15400005 */ bnez $t2,.PB0f10f7e0 +/* f10f7cc: 00000000 */ nop +/* f10f7d0: 0fc25675 */ jal 0xf0959d4 +/* f10f7d4: 00000000 */ nop +/* f10f7d8: 14400015 */ bnez $v0,.PB0f10f830 +/* f10f7dc: 00000000 */ nop +.PB0f10f7e0: +/* f10f7e0: 0fc4810c */ jal 0xf120430 +/* f10f7e4: 00000000 */ nop +/* f10f7e8: 14400011 */ bnez $v0,.PB0f10f830 +/* f10f7ec: 00000000 */ nop +/* f10f7f0: 0fc550b9 */ jal 0xf1542e4 +/* f10f7f4: 00000000 */ nop +/* f10f7f8: 24010001 */ li $at,0x1 +/* f10f7fc: 14410007 */ bne $v0,$at,.PB0f10f81c +/* f10f800: 3c048007 */ lui $a0,0x8007 +/* f10f804: 3c048007 */ lui $a0,0x8007 +/* f10f808: 24847964 */ addiu $a0,$a0,0x7964 +/* f10f80c: 0fc3e223 */ jal 0xf0f888c +/* f10f810: 24050005 */ li $a1,0x5 +/* f10f814: 10000015 */ b .PB0f10f86c +/* f10f818: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f81c: +/* f10f81c: 24847934 */ addiu $a0,$a0,0x7934 +/* f10f820: 0fc3e223 */ jal 0xf0f888c +/* f10f824: 24050005 */ li $a1,0x5 +/* f10f828: 10000010 */ b .PB0f10f86c +/* f10f82c: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f830: +/* f10f830: 0fc550b9 */ jal 0xf1542e4 +/* f10f834: 00000000 */ nop +/* f10f838: 24010001 */ li $at,0x1 +/* f10f83c: 14410007 */ bne $v0,$at,.PB0f10f85c +/* f10f840: 3c048007 */ lui $a0,0x8007 +/* f10f844: 3c048007 */ lui $a0,0x8007 +/* f10f848: 2484797c */ addiu $a0,$a0,0x797c +/* f10f84c: 0fc3e223 */ jal 0xf0f888c +/* f10f850: 24050005 */ li $a1,0x5 +/* f10f854: 10000005 */ b .PB0f10f86c +/* f10f858: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f85c: +/* f10f85c: 2484794c */ addiu $a0,$a0,0x794c +/* f10f860: 0fc3e223 */ jal 0xf0f888c +/* f10f864: 24050005 */ li $a1,0x5 +/* f10f868: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f10f86c: +/* f10f86c: 8fab001c */ lw $t3,0x1c($sp) +/* f10f870: 3c018007 */ lui $at,0x8007 +/* f10f874: 27bd0020 */ addiu $sp,$sp,0x20 +/* f10f878: 03e00008 */ jr $ra +/* f10f87c: ac2b3118 */ sw $t3,0x3118($at) +); +#else void soloPushAntiModeEndscreen(void) { u32 prevplayernum = g_MpPlayerNum; @@ -1790,6 +2592,4 @@ void soloPushAntiModeEndscreen(void) g_MpPlayerNum = prevplayernum; } - -u32 var80075bb4 = 0; -u32 var80075bb8 = 0; +#endif diff --git a/src/game/explosions/explosions.c b/src/game/explosions/explosions.c index 8b735cfaf..34dd90d72 100644 --- a/src/game/explosions/explosions.c +++ b/src/game/explosions/explosions.c @@ -2159,6 +2159,784 @@ glabel var7f1b68a0pf /* f12c6d8: 03e00008 */ jr $ra /* f12c6dc: 27bd03a8 */ addiu $sp,$sp,0x3a8 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f12b0e0 +.late_rodata +glabel var7f1b688cpf +.word 0x3f555555 +glabel var7f1b6890pf +.word 0x3f555555 +glabel var7f1b6894pf +.word 0x3f333333 +glabel var7f1b6898pf +.word 0x3e99999a +glabel var7f1b689cpf +.word 0x3d4ccccd +glabel var7f1b68a0pf +.word 0x3d4ccccd +.text +/* f12c5d8: 27bdfc58 */ addiu $sp,$sp,-936 +/* f12c5dc: afbf0074 */ sw $ra,0x74($sp) +/* f12c5e0: afbe0070 */ sw $s8,0x70($sp) +/* f12c5e4: afb7006c */ sw $s7,0x6c($sp) +/* f12c5e8: afb60068 */ sw $s6,0x68($sp) +/* f12c5ec: afb50064 */ sw $s5,0x64($sp) +/* f12c5f0: afb40060 */ sw $s4,0x60($sp) +/* f12c5f4: afb3005c */ sw $s3,0x5c($sp) +/* f12c5f8: afb20058 */ sw $s2,0x58($sp) +/* f12c5fc: afb10054 */ sw $s1,0x54($sp) +/* f12c600: afb00050 */ sw $s0,0x50($sp) +/* f12c604: f7be0048 */ sdc1 $f30,0x48($sp) +/* f12c608: f7bc0040 */ sdc1 $f28,0x40($sp) +/* f12c60c: f7ba0038 */ sdc1 $f26,0x38($sp) +/* f12c610: f7b80030 */ sdc1 $f24,0x30($sp) +/* f12c614: f7b60028 */ sdc1 $f22,0x28($sp) +/* f12c618: f7b40020 */ sdc1 $f20,0x20($sp) +/* f12c61c: 8c8e0004 */ lw $t6,0x4($a0) +/* f12c620: 3c088008 */ lui $t0,0x8008 +/* f12c624: 25080988 */ addiu $t0,$t0,0x988 +/* f12c628: afae03a0 */ sw $t6,0x3a0($sp) +/* f12c62c: 81d803cc */ lb $t8,0x3cc($t6) +/* f12c630: 3c1e800a */ lui $s8,0x800a +/* f12c634: 27dee4d0 */ addiu $s8,$s8,-6960 +/* f12c638: 0018c880 */ sll $t9,$t8,0x2 +/* f12c63c: 0338c823 */ subu $t9,$t9,$t8 +/* f12c640: 0019c880 */ sll $t9,$t9,0x2 +/* f12c644: 0338c823 */ subu $t9,$t9,$t8 +/* f12c648: 0019c880 */ sll $t9,$t9,0x2 +/* f12c64c: 03284821 */ addu $t1,$t9,$t0 +/* f12c650: afa9039c */ sw $t1,0x39c($sp) +/* f12c654: 85c203c8 */ lh $v0,0x3c8($t6) +/* f12c658: 8fcb0038 */ lw $t3,0x38($s8) +/* f12c65c: 0080b825 */ move $s7,$a0 +/* f12c660: 284a0001 */ slti $t2,$v0,0x1 +/* f12c664: 19600290 */ blez $t3,.PB0f12d0a8 +/* f12c668: afaa0194 */ sw $t2,0x194($sp) +/* f12c66c: 4480e000 */ mtc1 $zero,$f28 +/* f12c670: c5240028 */ lwc1 $f4,0x28($t1) +/* f12c674: 461c203e */ c.le.s $f4,$f28 +/* f12c678: 00000000 */ nop +/* f12c67c: 4503028b */ bc1tl .PB0f12d0ac +/* f12c680: 8fbf0074 */ lw $ra,0x74($sp) +/* f12c684: 11400006 */ beqz $t2,.PB0f12c6a0 +/* f12c688: 8fb9039c */ lw $t9,0x39c($sp) +/* f12c68c: 8538001c */ lh $t8,0x1c($t1) +/* f12c690: c53a0018 */ lwc1 $f26,0x18($t1) +/* f12c694: 44983000 */ mtc1 $t8,$f6 +/* f12c698: 10000015 */ b .PB0f12c6f0 +/* f12c69c: 46803320 */ cvt.s.w $f12,$f6 +.PB0f12c6a0: +/* f12c6a0: 8728001c */ lh $t0,0x1c($t9) +/* f12c6a4: 44822000 */ mtc1 $v0,$f4 +/* f12c6a8: c7200014 */ lwc1 $f0,0x14($t9) +/* f12c6ac: c7220018 */ lwc1 $f2,0x18($t9) +/* f12c6b0: 468021a0 */ cvt.s.w $f6,$f4 +/* f12c6b4: 44884000 */ mtc1 $t0,$f8 +/* f12c6b8: 3c017f1b */ lui $at,0x7f1b +/* f12c6bc: c424758c */ lwc1 $f4,0x758c($at) +/* f12c6c0: 46001281 */ sub.s $f10,$f2,$f0 +/* f12c6c4: 46804320 */ cvt.s.w $f12,$f8 +/* f12c6c8: 46065202 */ mul.s $f8,$f10,$f6 +/* f12c6cc: 00000000 */ nop +/* f12c6d0: 46046282 */ mul.s $f10,$f12,$f4 +/* f12c6d4: 460a4183 */ div.s $f6,$f8,$f10 +/* f12c6d8: 46060680 */ add.s $f26,$f0,$f6 +/* f12c6dc: 461a103c */ c.lt.s $f2,$f26 +/* f12c6e0: 00000000 */ nop +/* f12c6e4: 45000002 */ bc1f .PB0f12c6f0 +/* f12c6e8: 00000000 */ nop +/* f12c6ec: 46001686 */ mov.s $f26,$f2 +.PB0f12c6f0: +/* f12c6f0: 8fa9039c */ lw $t1,0x39c($sp) +/* f12c6f4: 3c0140e0 */ lui $at,0x40e0 +/* f12c6f8: 44812000 */ mtc1 $at,$f4 +/* f12c6fc: c5280020 */ lwc1 $f8,0x20($t1) +/* f12c700: 3c017f1b */ lui $at,0x7f1b +/* f12c704: 46082282 */ mul.s $f10,$f4,$f8 +/* f12c708: c4247590 */ lwc1 $f4,0x7590($at) +/* f12c70c: 460a6180 */ add.s $f6,$f12,$f10 +/* f12c710: 46043202 */ mul.s $f8,$f6,$f4 +/* f12c714: 4600428d */ trunc.w.s $f10,$f8 +/* f12c718: 440a5000 */ mfc1 $t2,$f10 +/* f12c71c: 00000000 */ nop +/* f12c720: 0142082a */ slt $at,$t2,$v0 +/* f12c724: 54200261 */ bnezl $at,.PB0f12d0ac +/* f12c728: 8fbf0074 */ lw $ra,0x74($sp) +/* f12c72c: 86e20028 */ lh $v0,0x28($s7) +/* f12c730: 2401ffff */ li $at,-1 +/* f12c734: 02e0b025 */ move $s6,$s7 +/* f12c738: 50410015 */ beql $v0,$at,.PB0f12c790 +/* f12c73c: 2401ffff */ li $at,-1 +.PB0f12c740: +/* f12c740: 0c004be0 */ jal 0x12f80 +/* f12c744: 00000000 */ nop +/* f12c748: 304b07ff */ andi $t3,$v0,0x7ff +/* f12c74c: 2d6100f1 */ sltiu $at,$t3,0xf1 +/* f12c750: 10200008 */ beqz $at,.PB0f12c774 +/* f12c754: 8fac039c */ lw $t4,0x39c($sp) +/* f12c758: c5860000 */ lwc1 $f6,0x0($t4) +/* f12c75c: 86c40028 */ lh $a0,0x28($s6) +/* f12c760: 240600ff */ li $a2,0xff +/* f12c764: 4600310d */ trunc.w.s $f4,$f6 +/* f12c768: 44052000 */ mfc1 $a1,$f4 +/* f12c76c: 0fc010e3 */ jal 0xf00438c +/* f12c770: 00000000 */ nop +.PB0f12c774: +/* f12c774: 86ce002a */ lh $t6,0x2a($s6) +/* f12c778: 2401ffff */ li $at,-1 +/* f12c77c: 26d60002 */ addiu $s6,$s6,0x2 +/* f12c780: 15c1ffef */ bne $t6,$at,.PB0f12c740 +/* f12c784: 00000000 */ nop +/* f12c788: 86e20028 */ lh $v0,0x28($s7) +/* f12c78c: 2401ffff */ li $at,-1 +.PB0f12c790: +/* f12c790: 10410049 */ beq $v0,$at,.PB0f12c8b8 +/* f12c794: 02e0b025 */ move $s6,$s7 +/* f12c798: 86e20028 */ lh $v0,0x28($s7) +/* f12c79c: 27b50158 */ addiu $s5,$sp,0x158 +/* f12c7a0: 27b4014c */ addiu $s4,$sp,0x14c +/* f12c7a4: 27b30164 */ addiu $s3,$sp,0x164 +.PB0f12c7a8: +/* f12c7a8: 1040003e */ beqz $v0,.PB0f12c8a4 +/* f12c7ac: 00408825 */ move $s1,$v0 +/* f12c7b0: 0002c8c0 */ sll $t9,$v0,0x3 +/* f12c7b4: 0322c821 */ addu $t9,$t9,$v0 +/* f12c7b8: 3c09800b */ lui $t1,0x800b +/* f12c7bc: 8d2992e4 */ lw $t1,-0x6d1c($t1) +/* f12c7c0: 0019c880 */ sll $t9,$t9,0x2 +/* f12c7c4: 3c18800b */ lui $t8,0x800b +/* f12c7c8: 00027880 */ sll $t7,$v0,0x2 +/* f12c7cc: 8f188f48 */ lw $t8,-0x70b8($t8) +/* f12c7d0: 0322c823 */ subu $t9,$t9,$v0 +/* f12c7d4: 01e27821 */ addu $t7,$t7,$v0 +/* f12c7d8: 000f7880 */ sll $t7,$t7,0x2 +/* f12c7dc: 0019c880 */ sll $t9,$t9,0x2 +/* f12c7e0: 012f1021 */ addu $v0,$t1,$t7 +/* f12c7e4: 03194021 */ addu $t0,$t8,$t9 +/* f12c7e8: 81120008 */ lb $s2,0x8($t0) +/* f12c7ec: c6f40008 */ lwc1 $f20,0x8($s7) +/* f12c7f0: c6f6000c */ lwc1 $f22,0xc($s7) +/* f12c7f4: c6f80010 */ lwc1 $f24,0x10($s7) +/* f12c7f8: c4480004 */ lwc1 $f8,0x4($v0) +/* f12c7fc: c44a0008 */ lwc1 $f10,0x8($v0) +/* f12c800: c446000c */ lwc1 $f6,0xc($v0) +/* f12c804: 00008025 */ move $s0,$zero +/* f12c808: 4608a501 */ sub.s $f20,$f20,$f8 +/* f12c80c: 460ab581 */ sub.s $f22,$f22,$f10 +/* f12c810: 1a400024 */ blez $s2,.PB0f12c8a4 +/* f12c814: 4606c601 */ sub.s $f24,$f24,$f6 +/* f12c818: 02202025 */ move $a0,$s1 +.PB0f12c81c: +/* f12c81c: 0fc003d4 */ jal 0xf000f50 +/* f12c820: 02002825 */ move $a1,$s0 +/* f12c824: 1040001c */ beqz $v0,.PB0f12c898 +/* f12c828: 02202025 */ move $a0,$s1 +/* f12c82c: 0fc003e5 */ jal 0xf000f94 +/* f12c830: 02002825 */ move $a1,$s0 +/* f12c834: 10400018 */ beqz $v0,.PB0f12c898 +/* f12c838: 02202025 */ move $a0,$s1 +/* f12c83c: 02002825 */ move $a1,$s0 +/* f12c840: 0fc0037f */ jal 0xf000dfc +/* f12c844: 02603025 */ move $a2,$s3 +/* f12c848: 10400013 */ beqz $v0,.PB0f12c898 +/* f12c84c: c7a40164 */ lwc1 $f4,0x164($sp) +/* f12c850: 46142201 */ sub.s $f8,$f4,$f20 +/* f12c854: c7a4016c */ lwc1 $f4,0x16c($sp) +/* f12c858: c7aa0168 */ lwc1 $f10,0x168($sp) +/* f12c85c: e7ba0158 */ swc1 $f26,0x158($sp) +/* f12c860: e7a8014c */ swc1 $f8,0x14c($sp) +/* f12c864: 46182201 */ sub.s $f8,$f4,$f24 +/* f12c868: e7ba015c */ swc1 $f26,0x15c($sp) +/* f12c86c: e7ba0160 */ swc1 $f26,0x160($sp) +/* f12c870: 46165181 */ sub.s $f6,$f10,$f22 +/* f12c874: e7a80154 */ swc1 $f8,0x154($sp) +/* f12c878: 02802025 */ move $a0,$s4 +/* f12c87c: 02a02825 */ move $a1,$s5 +/* f12c880: 0fc5e3be */ jal 0xf178ef8 +/* f12c884: e7a60150 */ swc1 $f6,0x150($sp) +/* f12c888: 10400003 */ beqz $v0,.PB0f12c898 +/* f12c88c: 02202025 */ move $a0,$s1 +/* f12c890: 0fc006de */ jal 0xf001b78 +/* f12c894: 02002825 */ move $a1,$s0 +.PB0f12c898: +/* f12c898: 26100001 */ addiu $s0,$s0,0x1 +/* f12c89c: 5612ffdf */ bnel $s0,$s2,.PB0f12c81c +/* f12c8a0: 02202025 */ move $a0,$s1 +.PB0f12c8a4: +/* f12c8a4: 86c2002a */ lh $v0,0x2a($s6) +/* f12c8a8: 2401ffff */ li $at,-1 +/* f12c8ac: 26d60002 */ addiu $s6,$s6,0x2 +/* f12c8b0: 1441ffbd */ bne $v0,$at,.PB0f12c7a8 +/* f12c8b4: 00000000 */ nop +.PB0f12c8b8: +/* f12c8b8: 27b00198 */ addiu $s0,$sp,0x198 +/* f12c8bc: 02002825 */ move $a1,$s0 +/* f12c8c0: 26e40028 */ addiu $a0,$s7,0x28 +/* f12c8c4: 0fc19858 */ jal 0xf066160 +/* f12c8c8: 24060100 */ li $a2,0x100 +/* f12c8cc: 87aa0198 */ lh $t2,0x198($sp) +/* f12c8d0: 0200a025 */ move $s4,$s0 +/* f12c8d4: 27ab0198 */ addiu $t3,$sp,0x198 +/* f12c8d8: 054001f3 */ bltz $t2,.PB0f12d0a8 +/* f12c8dc: 3c013f80 */ lui $at,0x3f80 +/* f12c8e0: 4481f000 */ mtc1 $at,$f30 +/* f12c8e4: 85620000 */ lh $v0,0x0($t3) +/* f12c8e8: 24160004 */ li $s6,0x4 +/* f12c8ec: 24150003 */ li $s5,0x3 +/* f12c8f0: 8fae03a0 */ lw $t6,0x3a0($sp) +.PB0f12c8f4: +/* f12c8f4: 8fcd0338 */ lw $t5,0x338($s8) +/* f12c8f8: 000260c0 */ sll $t4,$v0,0x3 +/* f12c8fc: 8dd80004 */ lw $t8,0x4($t6) +/* f12c900: 01826021 */ addu $t4,$t4,$v0 +/* f12c904: 000c60c0 */ sll $t4,$t4,0x3 +/* f12c908: 018d8021 */ addu $s0,$t4,$t5 +/* f12c90c: 521801e3 */ beql $s0,$t8,.PB0f12d09c +/* f12c910: 86820002 */ lh $v0,0x2($s4) +/* f12c914: 86190002 */ lh $t9,0x2($s0) +/* f12c918: 572001e0 */ bnezl $t9,.PB0f12d09c +/* f12c91c: 86820002 */ lh $v0,0x2($s4) +/* f12c920: 92020000 */ lbu $v0,0x0($s0) +/* f12c924: 24010001 */ li $at,0x1 +/* f12c928: 50410006 */ beql $v0,$at,.PB0f12c944 +/* f12c92c: 8e110004 */ lw $s1,0x4($s0) +/* f12c930: 12c20003 */ beq $s6,$v0,.PB0f12c940 +/* f12c934: 24010002 */ li $at,0x2 +/* f12c938: 14410105 */ bne $v0,$at,.PB0f12cd50 +/* f12c93c: 00000000 */ nop +.PB0f12c940: +/* f12c940: 8e110004 */ lw $s1,0x4($s0) +.PB0f12c944: +/* f12c944: c6120008 */ lwc1 $f18,0x8($s0) +/* f12c948: c6f00008 */ lwc1 $f16,0x8($s7) +/* f12c94c: c60e000c */ lwc1 $f14,0xc($s0) +/* f12c950: c6ec000c */ lwc1 $f12,0xc($s7) +/* f12c954: 46109501 */ sub.s $f20,$f18,$f16 +/* f12c958: c6100010 */ lwc1 $f16,0x10($s0) +/* f12c95c: c6f20010 */ lwc1 $f18,0x10($s7) +/* f12c960: 460c7581 */ sub.s $f22,$f14,$f12 +/* f12c964: 00009025 */ move $s2,$zero +/* f12c968: 122001cb */ beqz $s1,.PB0f12d098 +/* f12c96c: 46128601 */ sub.s $f24,$f16,$f18 +/* f12c970: 461aa03e */ c.le.s $f20,$f26 +/* f12c974: 00000000 */ nop +/* f12c978: 45000024 */ bc1f .PB0f12ca0c +/* f12c97c: 00000000 */ nop +/* f12c980: 4600d007 */ neg.s $f0,$f26 +/* f12c984: 4614003e */ c.le.s $f0,$f20 +/* f12c988: 00000000 */ nop +/* f12c98c: 4500001f */ bc1f .PB0f12ca0c +/* f12c990: 00000000 */ nop +/* f12c994: 461ab03e */ c.le.s $f22,$f26 +/* f12c998: 00000000 */ nop +/* f12c99c: 4500001b */ bc1f .PB0f12ca0c +/* f12c9a0: 00000000 */ nop +/* f12c9a4: 4616003e */ c.le.s $f0,$f22 +/* f12c9a8: 00000000 */ nop +/* f12c9ac: 45000017 */ bc1f .PB0f12ca0c +/* f12c9b0: 00000000 */ nop +/* f12c9b4: 461ac03e */ c.le.s $f24,$f26 +/* f12c9b8: 00000000 */ nop +/* f12c9bc: 45000013 */ bc1f .PB0f12ca0c +/* f12c9c0: 00000000 */ nop +/* f12c9c4: 4618003e */ c.le.s $f0,$f24 +/* f12c9c8: 02202025 */ move $a0,$s1 +/* f12c9cc: 27a50130 */ addiu $a1,$sp,0x130 +/* f12c9d0: 4500000e */ bc1f .PB0f12ca0c +/* f12c9d4: 00000000 */ nop +/* f12c9d8: 0fc24855 */ jal 0xf092154 +/* f12c9dc: 27a60124 */ addiu $a2,$sp,0x124 +/* f12c9e0: 10400009 */ beqz $v0,.PB0f12ca08 +/* f12c9e4: 8fa403a0 */ lw $a0,0x3a0($sp) +/* f12c9e8: 02002825 */ move $a1,$s0 +/* f12c9ec: 27a60130 */ addiu $a2,$sp,0x130 +/* f12c9f0: 0fc4b115 */ jal 0xf12c454 +/* f12c9f4: 27a70124 */ addiu $a3,$sp,0x124 +/* f12c9f8: 10400004 */ beqz $v0,.PB0f12ca0c +/* f12c9fc: 00000000 */ nop +/* f12ca00: 10000002 */ b .PB0f12ca0c +/* f12ca04: 24120001 */ li $s2,0x1 +.PB0f12ca08: +/* f12ca08: 24120001 */ li $s2,0x1 +.PB0f12ca0c: +/* f12ca0c: 1240000c */ beqz $s2,.PB0f12ca40 +/* f12ca10: 00000000 */ nop +/* f12ca14: 92080000 */ lbu $t0,0x0($s0) +/* f12ca18: 16c80009 */ bne $s6,$t0,.PB0f12ca40 +/* f12ca1c: 00000000 */ nop +/* f12ca20: 8e020004 */ lw $v0,0x4($s0) +/* f12ca24: 10400006 */ beqz $v0,.PB0f12ca40 +/* f12ca28: 00000000 */ nop +/* f12ca2c: 9049005c */ lbu $t1,0x5c($v0) +/* f12ca30: 24010058 */ li $at,0x58 +/* f12ca34: 15210002 */ bne $t1,$at,.PB0f12ca40 +/* f12ca38: 00000000 */ nop +/* f12ca3c: a4400062 */ sh $zero,0x62($v0) +.PB0f12ca40: +/* f12ca40: 12400195 */ beqz $s2,.PB0f12d098 +/* f12ca44: 3c017f1b */ lui $at,0x7f1b +/* f12ca48: 461aa003 */ div.s $f0,$f20,$f26 +/* f12ca4c: 8faf039c */ lw $t7,0x39c($sp) +/* f12ca50: 8fc3029c */ lw $v1,0x29c($s8) +/* f12ca54: 8faa03a0 */ lw $t2,0x3a0($sp) +/* f12ca58: 8fae0194 */ lw $t6,0x194($sp) +/* f12ca5c: c5f00028 */ lwc1 $f16,0x28($t7) +/* f12ca60: 461c003c */ c.lt.s $f0,$f28 +/* f12ca64: 46000086 */ mov.s $f2,$f0 +/* f12ca68: 45020003 */ bc1fl .PB0f12ca78 +/* f12ca6c: 461ab003 */ div.s $f0,$f22,$f26 +/* f12ca70: 46000087 */ neg.s $f2,$f0 +/* f12ca74: 461ab003 */ div.s $f0,$f22,$f26 +.PB0f12ca78: +/* f12ca78: 4602f081 */ sub.s $f2,$f30,$f2 +/* f12ca7c: 461c003c */ c.lt.s $f0,$f28 +/* f12ca80: 46000306 */ mov.s $f12,$f0 +/* f12ca84: 45020003 */ bc1fl .PB0f12ca94 +/* f12ca88: 461ac003 */ div.s $f0,$f24,$f26 +/* f12ca8c: 46000307 */ neg.s $f12,$f0 +/* f12ca90: 461ac003 */ div.s $f0,$f24,$f26 +.PB0f12ca94: +/* f12ca94: 460cf301 */ sub.s $f12,$f30,$f12 +/* f12ca98: 461c003c */ c.lt.s $f0,$f28 +/* f12ca9c: 46000386 */ mov.s $f14,$f0 +/* f12caa0: 45020003 */ bc1fl .PB0f12cab0 +/* f12caa4: 4602603c */ c.lt.s $f12,$f2 +/* f12caa8: 46000387 */ neg.s $f14,$f0 +/* f12caac: 4602603c */ c.lt.s $f12,$f2 +.PB0f12cab0: +/* f12cab0: 46001506 */ mov.s $f20,$f2 +/* f12cab4: 460ef381 */ sub.s $f14,$f30,$f14 +/* f12cab8: 45020003 */ bc1fl .PB0f12cac8 +/* f12cabc: 4614703c */ c.lt.s $f14,$f20 +/* f12cac0: 46006506 */ mov.s $f20,$f12 +/* f12cac4: 4614703c */ c.lt.s $f14,$f20 +.PB0f12cac8: +/* f12cac8: 00000000 */ nop +/* f12cacc: 45000002 */ bc1f .PB0f12cad8 +/* f12cad0: 00000000 */ nop +/* f12cad4: 46007506 */ mov.s $f20,$f14 +.PB0f12cad8: +/* f12cad8: c4247594 */ lwc1 $f4,0x7594($at) +/* f12cadc: 3c017f1b */ lui $at,0x7f1b +/* f12cae0: c42a7598 */ lwc1 $f10,0x7598($at) +/* f12cae4: 4604a202 */ mul.s $f8,$f20,$f4 +/* f12cae8: 460a4180 */ add.s $f6,$f8,$f10 +/* f12caec: 46103502 */ mul.s $f20,$f6,$f16 +/* f12caf0: 04600008 */ bltz $v1,.PB0f12cb14 +/* f12caf4: 00000000 */ nop +/* f12caf8: 814b03ce */ lb $t3,0x3ce($t2) +/* f12cafc: 146b0005 */ bne $v1,$t3,.PB0f12cb14 +/* f12cb00: 00000000 */ nop +/* f12cb04: 8e2c000c */ lw $t4,0xc($s1) +/* f12cb08: 318d0001 */ andi $t5,$t4,0x1 +/* f12cb0c: 55a00163 */ bnezl $t5,.PB0f12d09c +/* f12cb10: 86820002 */ lh $v0,0x2($s4) +.PB0f12cb14: +/* f12cb14: 11c00060 */ beqz $t6,.PB0f12cc98 +/* f12cb18: 02202025 */ move $a0,$s1 +/* f12cb1c: 0fc19a2b */ jal 0xf0668ac +/* f12cb20: 02e02825 */ move $a1,$s7 +/* f12cb24: 8e220040 */ lw $v0,0x40($s1) +/* f12cb28: 30581000 */ andi $t8,$v0,0x1000 +/* f12cb2c: 57000023 */ bnezl $t8,.PB0f12cbbc +/* f12cb30: 00025140 */ sll $t2,$v0,0x5 +/* f12cb34: 8e39000c */ lw $t9,0xc($s1) +/* f12cb38: 3c010020 */ lui $at,0x20 +/* f12cb3c: 34210400 */ ori $at,$at,0x400 +/* f12cb40: 03214024 */ and $t0,$t9,$at +/* f12cb44: 5500001d */ bnezl $t0,.PB0f12cbbc +/* f12cb48: 00025140 */ sll $t2,$v0,0x5 +/* f12cb4c: 0c004be0 */ jal 0x12f80 +/* f12cb50: 00000000 */ nop +/* f12cb54: 44822000 */ mtc1 $v0,$f4 +/* f12cb58: 02002025 */ move $a0,$s0 +/* f12cb5c: 04410005 */ bgez $v0,.PB0f12cb74 +/* f12cb60: 46802220 */ cvt.s.w $f8,$f4 +/* f12cb64: 3c014f80 */ lui $at,0x4f80 +/* f12cb68: 44815000 */ mtc1 $at,$f10 +/* f12cb6c: 00000000 */ nop +/* f12cb70: 460a4200 */ add.s $f8,$f8,$f10 +.PB0f12cb74: +/* f12cb74: 3c012f80 */ lui $at,0x2f80 +/* f12cb78: 44813000 */ mtc1 $at,$f6 +/* f12cb7c: 3c013f00 */ lui $at,0x3f00 +/* f12cb80: 44815000 */ mtc1 $at,$f10 +/* f12cb84: 46064102 */ mul.s $f4,$f8,$f6 +/* f12cb88: 8fa903a0 */ lw $t1,0x3a0($sp) +/* f12cb8c: 26060008 */ addiu $a2,$s0,0x8 +/* f12cb90: 24070022 */ li $a3,0x22 +/* f12cb94: 812f03ce */ lb $t7,0x3ce($t1) +/* f12cb98: 460a2202 */ mul.s $f8,$f4,$f10 +/* f12cb9c: afaf0010 */ sw $t7,0x10($sp) +/* f12cba0: 461e4180 */ add.s $f6,$f8,$f30 +/* f12cba4: 46143102 */ mul.s $f4,$f6,$f20 +/* f12cba8: 44052000 */ mfc1 $a1,$f4 +/* f12cbac: 0fc2147c */ jal 0xf0851f0 +/* f12cbb0: 00000000 */ nop +/* f12cbb4: 8e220040 */ lw $v0,0x40($s1) +/* f12cbb8: 00025140 */ sll $t2,$v0,0x5 +.PB0f12cbbc: +/* f12cbbc: 05400136 */ bltz $t2,.PB0f12d098 +/* f12cbc0: 00025900 */ sll $t3,$v0,0x4 +/* f12cbc4: 05620135 */ bltzl $t3,.PB0f12d09c +/* f12cbc8: 86820002 */ lh $v0,0x2($s4) +/* f12cbcc: 8e2c0010 */ lw $t4,0x10($s1) +/* f12cbd0: 318d0001 */ andi $t5,$t4,0x1 +/* f12cbd4: 51a00131 */ beqzl $t5,.PB0f12d09c +/* f12cbd8: 86820002 */ lh $v0,0x2($s4) +/* f12cbdc: c60a0008 */ lwc1 $f10,0x8($s0) +/* f12cbe0: c6e80008 */ lwc1 $f8,0x8($s7) +/* f12cbe4: e7bc00f8 */ swc1 $f28,0xf8($sp) +/* f12cbe8: 46085181 */ sub.s $f6,$f10,$f8 +/* f12cbec: e7a600f4 */ swc1 $f6,0xf4($sp) +/* f12cbf0: c7a600f4 */ lwc1 $f6,0xf4($sp) +/* f12cbf4: c6ea0010 */ lwc1 $f10,0x10($s7) +/* f12cbf8: c6040010 */ lwc1 $f4,0x10($s0) +/* f12cbfc: 4606e032 */ c.eq.s $f28,$f6 +/* f12cc00: 460a2201 */ sub.s $f8,$f4,$f10 +/* f12cc04: 45000006 */ bc1f .PB0f12cc20 +/* f12cc08: e7a800fc */ swc1 $f8,0xfc($sp) +/* f12cc0c: c7a400fc */ lwc1 $f4,0xfc($sp) +/* f12cc10: 4604e032 */ c.eq.s $f28,$f4 +/* f12cc14: 00000000 */ nop +/* f12cc18: 45030017 */ bc1tl .PB0f12cc78 +/* f12cc1c: 4406e000 */ mfc1 $a2,$f28 +.PB0f12cc20: +/* f12cc20: c7aa00fc */ lwc1 $f10,0xfc($sp) +/* f12cc24: c7ae00f4 */ lwc1 $f14,0xf4($sp) +/* f12cc28: 460a5202 */ mul.s $f8,$f10,$f10 +/* f12cc2c: 00000000 */ nop +/* f12cc30: 460e7182 */ mul.s $f6,$f14,$f14 +/* f12cc34: 0c012ae4 */ jal 0x4ab90 +/* f12cc38: 46064300 */ add.s $f12,$f8,$f6 +/* f12cc3c: 4600e03c */ c.lt.s $f28,$f0 +/* f12cc40: 3c014080 */ lui $at,0x4080 +/* f12cc44: 4502000c */ bc1fl .PB0f12cc78 +/* f12cc48: 4406e000 */ mfc1 $a2,$f28 +/* f12cc4c: 44812000 */ mtc1 $at,$f4 +/* f12cc50: c7ae00f4 */ lwc1 $f14,0xf4($sp) +/* f12cc54: c7a800fc */ lwc1 $f8,0xfc($sp) +/* f12cc58: 4604a282 */ mul.s $f10,$f20,$f4 +/* f12cc5c: 46005083 */ div.s $f2,$f10,$f0 +/* f12cc60: 46027382 */ mul.s $f14,$f14,$f2 +/* f12cc64: 00000000 */ nop +/* f12cc68: 46024182 */ mul.s $f6,$f8,$f2 +/* f12cc6c: e7ae00f4 */ swc1 $f14,0xf4($sp) +/* f12cc70: e7a600fc */ swc1 $f6,0xfc($sp) +/* f12cc74: 4406e000 */ mfc1 $a2,$f28 +.PB0f12cc78: +/* f12cc78: 240e0001 */ li $t6,0x1 +/* f12cc7c: afae0010 */ sw $t6,0x10($sp) +/* f12cc80: 02202025 */ move $a0,$s1 +/* f12cc84: 27a500f4 */ addiu $a1,$sp,0xf4 +/* f12cc88: 0fc20aef */ jal 0xf082bbc +/* f12cc8c: 24070001 */ li $a3,0x1 +/* f12cc90: 10000102 */ b .PB0f12d09c +/* f12cc94: 86820002 */ lh $v0,0x2($s4) +.PB0f12cc98: +/* f12cc98: 0fc21ad2 */ jal 0xf086b48 +/* f12cc9c: 02202025 */ move $a0,$s1 +/* f12cca0: 104000fd */ beqz $v0,.PB0f12d098 +/* f12cca4: 3c017f1b */ lui $at,0x7f1b +/* f12cca8: c424759c */ lwc1 $f4,0x759c($at) +/* f12ccac: c7ca004c */ lwc1 $f10,0x4c($s8) +/* f12ccb0: 8e380040 */ lw $t8,0x40($s1) +/* f12ccb4: 460a2202 */ mul.s $f8,$f4,$f10 +/* f12ccb8: 33191000 */ andi $t9,$t8,0x1000 +/* f12ccbc: 4608a502 */ mul.s $f20,$f20,$f8 +/* f12ccc0: 572000f6 */ bnezl $t9,.PB0f12d09c +/* f12ccc4: 86820002 */ lh $v0,0x2($s4) +/* f12ccc8: 8e28000c */ lw $t0,0xc($s1) +/* f12cccc: 3c010020 */ lui $at,0x20 +/* f12ccd0: 34210400 */ ori $at,$at,0x400 +/* f12ccd4: 01014824 */ and $t1,$t0,$at +/* f12ccd8: 552000f0 */ bnezl $t1,.PB0f12d09c +/* f12ccdc: 86820002 */ lh $v0,0x2($s4) +/* f12cce0: 0c004be0 */ jal 0x12f80 +/* f12cce4: 00000000 */ nop +/* f12cce8: 44823000 */ mtc1 $v0,$f6 +/* f12ccec: 02002025 */ move $a0,$s0 +/* f12ccf0: 04410005 */ bgez $v0,.PB0f12cd08 +/* f12ccf4: 46803120 */ cvt.s.w $f4,$f6 +/* f12ccf8: 3c014f80 */ lui $at,0x4f80 +/* f12ccfc: 44815000 */ mtc1 $at,$f10 +/* f12cd00: 00000000 */ nop +/* f12cd04: 460a2100 */ add.s $f4,$f4,$f10 +.PB0f12cd08: +/* f12cd08: 3c012f80 */ lui $at,0x2f80 +/* f12cd0c: 44814000 */ mtc1 $at,$f8 +/* f12cd10: 3c013f00 */ lui $at,0x3f00 +/* f12cd14: 44815000 */ mtc1 $at,$f10 +/* f12cd18: 46082182 */ mul.s $f6,$f4,$f8 +/* f12cd1c: 8faf03a0 */ lw $t7,0x3a0($sp) +/* f12cd20: 26060008 */ addiu $a2,$s0,0x8 +/* f12cd24: 24070022 */ li $a3,0x22 +/* f12cd28: 81ea03ce */ lb $t2,0x3ce($t7) +/* f12cd2c: 460a3102 */ mul.s $f4,$f6,$f10 +/* f12cd30: afaa0010 */ sw $t2,0x10($sp) +/* f12cd34: 461e2200 */ add.s $f8,$f4,$f30 +/* f12cd38: 46144182 */ mul.s $f6,$f8,$f20 +/* f12cd3c: 44053000 */ mfc1 $a1,$f6 +/* f12cd40: 0fc2147c */ jal 0xf0851f0 +/* f12cd44: 00000000 */ nop +/* f12cd48: 100000d4 */ b .PB0f12d09c +/* f12cd4c: 86820002 */ lh $v0,0x2($s4) +.PB0f12cd50: +/* f12cd50: 12a20003 */ beq $s5,$v0,.PB0f12cd60 +/* f12cd54: 24010006 */ li $at,0x6 +/* f12cd58: 544100d0 */ bnel $v0,$at,.PB0f12d09c +/* f12cd5c: 86820002 */ lh $v0,0x2($s4) +.PB0f12cd60: +/* f12cd60: c60a0008 */ lwc1 $f10,0x8($s0) +/* f12cd64: c6e40008 */ lwc1 $f4,0x8($s7) +/* f12cd68: c608000c */ lwc1 $f8,0xc($s0) +/* f12cd6c: c6e6000c */ lwc1 $f6,0xc($s7) +/* f12cd70: 46045581 */ sub.s $f22,$f10,$f4 +/* f12cd74: c6e40010 */ lwc1 $f4,0x10($s7) +/* f12cd78: c60a0010 */ lwc1 $f10,0x10($s0) +/* f12cd7c: 00008825 */ move $s1,$zero +/* f12cd80: 461ab03e */ c.le.s $f22,$f26 +/* f12cd84: 46064501 */ sub.s $f20,$f8,$f6 +/* f12cd88: 4500003d */ bc1f .PB0f12ce80 +/* f12cd8c: 46045601 */ sub.s $f24,$f10,$f4 +/* f12cd90: 4600d007 */ neg.s $f0,$f26 +/* f12cd94: 4616003e */ c.le.s $f0,$f22 +/* f12cd98: 00000000 */ nop +/* f12cd9c: 45000038 */ bc1f .PB0f12ce80 +/* f12cda0: 00000000 */ nop +/* f12cda4: 461aa03e */ c.le.s $f20,$f26 +/* f12cda8: 00000000 */ nop +/* f12cdac: 45000034 */ bc1f .PB0f12ce80 +/* f12cdb0: 00000000 */ nop +/* f12cdb4: 4614003e */ c.le.s $f0,$f20 +/* f12cdb8: 00000000 */ nop +/* f12cdbc: 45000030 */ bc1f .PB0f12ce80 +/* f12cdc0: 00000000 */ nop +/* f12cdc4: 461ac03e */ c.le.s $f24,$f26 +/* f12cdc8: 00000000 */ nop +/* f12cdcc: 4500002c */ bc1f .PB0f12ce80 +/* f12cdd0: 00000000 */ nop +/* f12cdd4: 4618003e */ c.le.s $f0,$f24 +/* f12cdd8: 02002025 */ move $a0,$s0 +/* f12cddc: 27a500e0 */ addiu $a1,$sp,0xe0 +/* f12cde0: 27a600dc */ addiu $a2,$sp,0xdc +/* f12cde4: 45000026 */ bc1f .PB0f12ce80 +/* f12cde8: 00000000 */ nop +/* f12cdec: 0fc198f9 */ jal 0xf0663e4 +/* f12cdf0: 27a700d8 */ addiu $a3,$sp,0xd8 +/* f12cdf4: 3c0141a0 */ lui $at,0x41a0 +/* f12cdf8: c7a000e0 */ lwc1 $f0,0xe0($sp) +/* f12cdfc: 44814000 */ mtc1 $at,$f8 +/* f12ce00: 00000000 */ nop +/* f12ce04: 46080001 */ sub.s $f0,$f0,$f8 +/* f12ce08: 461c003e */ c.le.s $f0,$f28 +/* f12ce0c: e7a000e0 */ swc1 $f0,0xe0($sp) +/* f12ce10: 45020003 */ bc1fl .PB0f12ce20 +/* f12ce14: c6060008 */ lwc1 $f6,0x8($s0) +/* f12ce18: e7bc00e0 */ swc1 $f28,0xe0($sp) +/* f12ce1c: c6060008 */ lwc1 $f6,0x8($s0) +.PB0f12ce20: +/* f12ce20: c7aa00e0 */ lwc1 $f10,0xe0($sp) +/* f12ce24: c7a800d8 */ lwc1 $f8,0xd8($sp) +/* f12ce28: 8fa403a0 */ lw $a0,0x3a0($sp) +/* f12ce2c: 460a3101 */ sub.s $f4,$f6,$f10 +/* f12ce30: e7a800d0 */ swc1 $f8,0xd0($sp) +/* f12ce34: 02002825 */ move $a1,$s0 +/* f12ce38: 27a600cc */ addiu $a2,$sp,0xcc +/* f12ce3c: e7a400cc */ swc1 $f4,0xcc($sp) +/* f12ce40: c6060010 */ lwc1 $f6,0x10($s0) +/* f12ce44: 27a700c0 */ addiu $a3,$sp,0xc0 +/* f12ce48: 460a3101 */ sub.s $f4,$f6,$f10 +/* f12ce4c: e7a400d4 */ swc1 $f4,0xd4($sp) +/* f12ce50: c6080008 */ lwc1 $f8,0x8($s0) +/* f12ce54: c7a400dc */ lwc1 $f4,0xdc($sp) +/* f12ce58: 460a4180 */ add.s $f6,$f8,$f10 +/* f12ce5c: e7a400c4 */ swc1 $f4,0xc4($sp) +/* f12ce60: e7a600c0 */ swc1 $f6,0xc0($sp) +/* f12ce64: c6080010 */ lwc1 $f8,0x10($s0) +/* f12ce68: 460a4180 */ add.s $f6,$f8,$f10 +/* f12ce6c: 0fc4b115 */ jal 0xf12c454 +/* f12ce70: e7a600c8 */ swc1 $f6,0xc8($sp) +/* f12ce74: 10400002 */ beqz $v0,.PB0f12ce80 +/* f12ce78: 00000000 */ nop +/* f12ce7c: 24110001 */ li $s1,0x1 +.PB0f12ce80: +/* f12ce80: 52200086 */ beqzl $s1,.PB0f12d09c +/* f12ce84: 86820002 */ lh $v0,0x2($s4) +/* f12ce88: 461ab083 */ div.s $f2,$f22,$f26 +/* f12ce8c: 3c0c8008 */ lui $t4,0x8008 +/* f12ce90: 258c0e00 */ addiu $t4,$t4,0xe00 +/* f12ce94: 8d810000 */ lw $at,0x0($t4) +/* f12ce98: 27ab00a0 */ addiu $t3,$sp,0xa0 +/* f12ce9c: 8d8e0004 */ lw $t6,0x4($t4) +/* f12cea0: ad610000 */ sw $at,0x0($t3) +/* f12cea4: 8d810008 */ lw $at,0x8($t4) +/* f12cea8: ad6e0004 */ sw $t6,0x4($t3) +/* f12ceac: 00008825 */ move $s1,$zero +/* f12ceb0: ad610008 */ sw $at,0x8($t3) +/* f12ceb4: 8e120004 */ lw $s2,0x4($s0) +/* f12ceb8: 26f30008 */ addiu $s3,$s7,0x8 +/* f12cebc: 461aa383 */ div.s $f14,$f20,$f26 +/* f12cec0: 46001006 */ mov.s $f0,$f2 +/* f12cec4: 461c103c */ c.lt.s $f2,$f28 +/* f12cec8: 461ac483 */ div.s $f18,$f24,$f26 +/* f12cecc: 46007306 */ mov.s $f12,$f14 +/* f12ced0: 45000002 */ bc1f .PB0f12cedc +/* f12ced4: 46009406 */ mov.s $f16,$f18 +/* f12ced8: 46001007 */ neg.s $f0,$f2 +.PB0f12cedc: +/* f12cedc: 461c703c */ c.lt.s $f14,$f28 +/* f12cee0: 4600f501 */ sub.s $f20,$f30,$f0 +/* f12cee4: 45020003 */ bc1fl .PB0f12cef4 +/* f12cee8: 461c903c */ c.lt.s $f18,$f28 +/* f12ceec: 46007307 */ neg.s $f12,$f14 +/* f12cef0: 461c903c */ c.lt.s $f18,$f28 +.PB0f12cef4: +/* f12cef4: 460cf301 */ sub.s $f12,$f30,$f12 +/* f12cef8: 45020003 */ bc1fl .PB0f12cf08 +/* f12cefc: 4614603c */ c.lt.s $f12,$f20 +/* f12cf00: 46009407 */ neg.s $f16,$f18 +/* f12cf04: 4614603c */ c.lt.s $f12,$f20 +.PB0f12cf08: +/* f12cf08: 4610f401 */ sub.s $f16,$f30,$f16 +/* f12cf0c: 45020003 */ bc1fl .PB0f12cf1c +/* f12cf10: 4614803c */ c.lt.s $f16,$f20 +/* f12cf14: 46006506 */ mov.s $f20,$f12 +/* f12cf18: 4614803c */ c.lt.s $f16,$f20 +.PB0f12cf1c: +/* f12cf1c: 00000000 */ nop +/* f12cf20: 45000002 */ bc1f .PB0f12cf2c +/* f12cf24: 00000000 */ nop +/* f12cf28: 46008506 */ mov.s $f20,$f16 +.PB0f12cf2c: +/* f12cf2c: 4614a502 */ mul.s $f20,$f20,$f20 +/* f12cf30: 8fb8039c */ lw $t8,0x39c($sp) +/* f12cf34: 3c014100 */ lui $at,0x4100 +/* f12cf38: 44815000 */ mtc1 $at,$f10 +/* f12cf3c: c7040028 */ lwc1 $f4,0x28($t8) +/* f12cf40: 8fb90194 */ lw $t9,0x194($sp) +/* f12cf44: 3c017f1b */ lui $at,0x7f1b +/* f12cf48: 46142202 */ mul.s $f8,$f4,$f20 +/* f12cf4c: 00000000 */ nop +/* f12cf50: 460a4502 */ mul.s $f20,$f8,$f10 +/* f12cf54: 1320001a */ beqz $t9,.PB0f12cfc0 +/* f12cf58: 00000000 */ nop +/* f12cf5c: 461cb032 */ c.eq.s $f22,$f28 +/* f12cf60: 00000000 */ nop +/* f12cf64: 45000005 */ bc1f .PB0f12cf7c +/* f12cf68: 00000000 */ nop +/* f12cf6c: 461cc032 */ c.eq.s $f24,$f28 +/* f12cf70: 00000000 */ nop +/* f12cf74: 45030019 */ bc1tl .PB0f12cfdc +/* f12cf78: 8fc80318 */ lw $t0,0x318($s8) +.PB0f12cf7c: +/* f12cf7c: 4616b182 */ mul.s $f6,$f22,$f22 +/* f12cf80: 00000000 */ nop +/* f12cf84: 4618c102 */ mul.s $f4,$f24,$f24 +/* f12cf88: 0c012ae4 */ jal 0x4ab90 +/* f12cf8c: 46043300 */ add.s $f12,$f6,$f4 +/* f12cf90: 4600e03c */ c.lt.s $f28,$f0 +/* f12cf94: 00000000 */ nop +/* f12cf98: 45020010 */ bc1fl .PB0f12cfdc +/* f12cf9c: 8fc80318 */ lw $t0,0x318($s8) +/* f12cfa0: 4600f083 */ div.s $f2,$f30,$f0 +/* f12cfa4: e7bc00a4 */ swc1 $f28,0xa4($sp) +/* f12cfa8: 4602b582 */ mul.s $f22,$f22,$f2 +/* f12cfac: 00000000 */ nop +/* f12cfb0: 4602c602 */ mul.s $f24,$f24,$f2 +/* f12cfb4: e7b600a0 */ swc1 $f22,0xa0($sp) +/* f12cfb8: 10000007 */ b .PB0f12cfd8 +/* f12cfbc: e7b800a8 */ swc1 $f24,0xa8($sp) +.PB0f12cfc0: +/* f12cfc0: c42875a0 */ lwc1 $f8,0x75a0($at) +/* f12cfc4: c7ca004c */ lwc1 $f10,0x4c($s8) +/* f12cfc8: 460a4182 */ mul.s $f6,$f8,$f10 +/* f12cfcc: 00000000 */ nop +/* f12cfd0: 4606a502 */ mul.s $f20,$f20,$f6 +/* f12cfd4: 00000000 */ nop +.PB0f12cfd8: +/* f12cfd8: 8fc80318 */ lw $t0,0x318($s8) +.PB0f12cfdc: +/* f12cfdc: 8fa903a0 */ lw $t1,0x3a0($sp) +/* f12cfe0: 8faf03a0 */ lw $t7,0x3a0($sp) +/* f12cfe4: 51000008 */ beqzl $t0,.PB0f12d008 +/* f12cfe8: 81e203ce */ lb $v0,0x3ce($t7) +/* f12cfec: 0fc63b03 */ jal 0xf18ec0c +/* f12cff0: 812403ce */ lb $a0,0x3ce($t1) +/* f12cff4: 5040001a */ beqzl $v0,.PB0f12d060 +/* f12cff8: 4405a000 */ mfc1 $a1,$f20 +/* f12cffc: 10000017 */ b .PB0f12d05c +/* f12d000: 8c51001c */ lw $s1,0x1c($v0) +/* f12d004: 81e203ce */ lb $v0,0x3ce($t7) +.PB0f12d008: +/* f12d008: 8fca0294 */ lw $t2,0x294($s8) +/* f12d00c: 55420005 */ bnel $t2,$v0,.PB0f12d024 +/* f12d010: 8fc30298 */ lw $v1,0x298($s8) +/* f12d014: 8fcd02a0 */ lw $t5,0x2a0($s8) +/* f12d018: 10000010 */ b .PB0f12d05c +/* f12d01c: 8db100bc */ lw $s1,0xbc($t5) +/* f12d020: 8fc30298 */ lw $v1,0x298($s8) +.PB0f12d024: +/* f12d024: 04620007 */ bltzl $v1,.PB0f12d044 +/* f12d028: 8fc3029c */ lw $v1,0x29c($s8) +/* f12d02c: 54620005 */ bnel $v1,$v0,.PB0f12d044 +/* f12d030: 8fc3029c */ lw $v1,0x29c($s8) +/* f12d034: 8fcb02a4 */ lw $t3,0x2a4($s8) +/* f12d038: 10000008 */ b .PB0f12d05c +/* f12d03c: 8d7100bc */ lw $s1,0xbc($t3) +/* f12d040: 8fc3029c */ lw $v1,0x29c($s8) +.PB0f12d044: +/* f12d044: 04620006 */ bltzl $v1,.PB0f12d060 +/* f12d048: 4405a000 */ mfc1 $a1,$f20 +/* f12d04c: 54620004 */ bnel $v1,$v0,.PB0f12d060 +/* f12d050: 4405a000 */ mfc1 $a1,$f20 +/* f12d054: 8fcc02a8 */ lw $t4,0x2a8($s8) +/* f12d058: 8d9100bc */ lw $s1,0xbc($t4) +.PB0f12d05c: +/* f12d05c: 4405a000 */ mfc1 $a1,$f20 +.PB0f12d060: +/* f12d060: 02402025 */ move $a0,$s2 +/* f12d064: 27a600a0 */ addiu $a2,$sp,0xa0 +/* f12d068: 02203825 */ move $a3,$s1 +/* f12d06c: 0fc0d141 */ jal 0xf034504 +/* f12d070: afb30010 */ sw $s3,0x10($sp) +/* f12d074: 920e0000 */ lbu $t6,0x0($s0) +/* f12d078: 8fb80194 */ lw $t8,0x194($sp) +/* f12d07c: 56ae0007 */ bnel $s5,$t6,.PB0f12d09c +/* f12d080: 86820002 */ lh $v0,0x2($s4) +/* f12d084: 17000004 */ bnez $t8,.PB0f12d098 +/* f12d088: 02402025 */ move $a0,$s2 +/* f12d08c: 4406d000 */ mfc1 $a2,$f26 +/* f12d090: 0fc09c71 */ jal 0xf0271c4 +/* f12d094: 02602825 */ move $a1,$s3 +.PB0f12d098: +/* f12d098: 86820002 */ lh $v0,0x2($s4) +.PB0f12d09c: +/* f12d09c: 26940002 */ addiu $s4,$s4,0x2 +/* f12d0a0: 0443fe14 */ bgezl $v0,.PB0f12c8f4 +/* f12d0a4: 8fae03a0 */ lw $t6,0x3a0($sp) +.PB0f12d0a8: +/* f12d0a8: 8fbf0074 */ lw $ra,0x74($sp) +.PB0f12d0ac: +/* f12d0ac: d7b40020 */ ldc1 $f20,0x20($sp) +/* f12d0b0: d7b60028 */ ldc1 $f22,0x28($sp) +/* f12d0b4: d7b80030 */ ldc1 $f24,0x30($sp) +/* f12d0b8: d7ba0038 */ ldc1 $f26,0x38($sp) +/* f12d0bc: d7bc0040 */ ldc1 $f28,0x40($sp) +/* f12d0c0: d7be0048 */ ldc1 $f30,0x48($sp) +/* f12d0c4: 8fb00050 */ lw $s0,0x50($sp) +/* f12d0c8: 8fb10054 */ lw $s1,0x54($sp) +/* f12d0cc: 8fb20058 */ lw $s2,0x58($sp) +/* f12d0d0: 8fb3005c */ lw $s3,0x5c($sp) +/* f12d0d4: 8fb40060 */ lw $s4,0x60($sp) +/* f12d0d8: 8fb50064 */ lw $s5,0x64($sp) +/* f12d0dc: 8fb60068 */ lw $s6,0x68($sp) +/* f12d0e0: 8fb7006c */ lw $s7,0x6c($sp) +/* f12d0e4: 8fbe0070 */ lw $s8,0x70($sp) +/* f12d0e8: 03e00008 */ jr $ra +/* f12d0ec: 27bd03a8 */ addiu $sp,$sp,0x3a8 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel func0f12b0e0 @@ -4399,6 +5177,711 @@ glabel var7f1b68b0pf /* f12d0d0: 03e00008 */ jr $ra /* f12d0d4: 27bd0168 */ addiu $sp,$sp,0x168 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f12bbdc +.late_rodata +glabel var7f1b68a4pf +.word 0x40c907a9 +glabel var7f1b68a8pf +.word 0x3e4ccccd +glabel var7f1b68acpf +.word 0x3f4ccccd +glabel var7f1b68b0pf +.word 0x3f555555 +.text +/* f12d0f0: 27bdfe98 */ addiu $sp,$sp,-360 +/* f12d0f4: afbf0084 */ sw $ra,0x84($sp) +/* f12d0f8: afb70080 */ sw $s7,0x80($sp) +/* f12d0fc: afb6007c */ sw $s6,0x7c($sp) +/* f12d100: afb50078 */ sw $s5,0x78($sp) +/* f12d104: afb40074 */ sw $s4,0x74($sp) +/* f12d108: afb30070 */ sw $s3,0x70($sp) +/* f12d10c: afb2006c */ sw $s2,0x6c($sp) +/* f12d110: afb10068 */ sw $s1,0x68($sp) +/* f12d114: afb00064 */ sw $s0,0x64($sp) +/* f12d118: f7b60058 */ sdc1 $f22,0x58($sp) +/* f12d11c: f7b40050 */ sdc1 $f20,0x50($sp) +/* f12d120: 8c910004 */ lw $s1,0x4($a0) +/* f12d124: 3c188008 */ lui $t8,0x8008 +/* f12d128: 27180988 */ addiu $t8,$t8,0x988 +/* f12d12c: 822e03cc */ lb $t6,0x3cc($s1) +/* f12d130: 2401003c */ li $at,0x3c +/* f12d134: 3c15800a */ lui $s5,0x800a +/* f12d138: 000e7880 */ sll $t7,$t6,0x2 +/* f12d13c: 01ee7823 */ subu $t7,$t7,$t6 +/* f12d140: 000f7880 */ sll $t7,$t7,0x2 +/* f12d144: 01ee7823 */ subu $t7,$t7,$t6 +/* f12d148: 000f7880 */ sll $t7,$t7,0x2 +/* f12d14c: 01f8b021 */ addu $s6,$t7,$t8 +/* f12d150: 86d9001c */ lh $t9,0x1c($s6) +/* f12d154: 26b5e4d0 */ addiu $s5,$s5,-6960 +/* f12d158: 8ea20038 */ lw $v0,0x38($s5) +/* f12d15c: 00194080 */ sll $t0,$t9,0x2 +/* f12d160: 01194023 */ subu $t0,$t0,$t9 +/* f12d164: 000840c0 */ sll $t0,$t0,0x3 +/* f12d168: 01194021 */ addu $t0,$t0,$t9 +/* f12d16c: 00084040 */ sll $t0,$t0,0x1 +/* f12d170: 0101001a */ div $zero,$t0,$at +/* f12d174: 00004812 */ mflo $t1 +/* f12d178: 0080b825 */ move $s7,$a0 +/* f12d17c: 14400003 */ bnez $v0,.PB0f12d18c +/* f12d180: a7a9012e */ sh $t1,0x12e($sp) +/* f12d184: 1000024b */ b .PB0f12dab4 +/* f12d188: 00001025 */ move $v0,$zero +.PB0f12d18c: +/* f12d18c: 2841000c */ slti $at,$v0,0xc +/* f12d190: 50200007 */ beqzl $at,.PB0f12d1b0 +/* f12d194: 3c014140 */ lui $at,0x4140 +/* f12d198: 44822000 */ mtc1 $v0,$f4 +/* f12d19c: 00000000 */ nop +/* f12d1a0: 468021a0 */ cvt.s.w $f6,$f4 +/* f12d1a4: 10000005 */ b .PB0f12d1bc +/* f12d1a8: e7a60148 */ swc1 $f6,0x148($sp) +/* f12d1ac: 3c014140 */ lui $at,0x4140 +.PB0f12d1b0: +/* f12d1b0: 44814000 */ mtc1 $at,$f8 +/* f12d1b4: 00000000 */ nop +/* f12d1b8: e7a80148 */ swc1 $f8,0x148($sp) +.PB0f12d1bc: +/* f12d1bc: 862603c8 */ lh $a2,0x3c8($s1) +/* f12d1c0: 87aa012e */ lh $t2,0x12e($sp) +/* f12d1c4: 28c10007 */ slti $at,$a2,0x7 +/* f12d1c8: 14200141 */ bnez $at,.PB0f12d6d0 +/* f12d1cc: 00ca082a */ slt $at,$a2,$t2 +/* f12d1d0: 1020013f */ beqz $at,.PB0f12d6d0 +/* f12d1d4: 02202025 */ move $a0,$s1 +/* f12d1d8: 0fc4abfa */ jal 0xf12afe8 +/* f12d1dc: 00c02825 */ move $a1,$a2 +/* f12d1e0: 46000506 */ mov.s $f20,$f0 +/* f12d1e4: 02202025 */ move $a0,$s1 +/* f12d1e8: 0fc4ac24 */ jal 0xf12b090 +/* f12d1ec: 862503c8 */ lh $a1,0x3c8($s1) +/* f12d1f0: 3c013f00 */ lui $at,0x3f00 +/* f12d1f4: 44815000 */ mtc1 $at,$f10 +/* f12d1f8: c6f20008 */ lwc1 $f18,0x8($s7) +/* f12d1fc: 44813000 */ mtc1 $at,$f6 +/* f12d200: 460aa082 */ mul.s $f2,$f20,$f10 +/* f12d204: 2401000e */ li $at,0xe +/* f12d208: 46060302 */ mul.s $f12,$f0,$f6 +/* f12d20c: 46029101 */ sub.s $f4,$f18,$f2 +/* f12d210: e7a4011c */ swc1 $f4,0x11c($sp) +/* f12d214: c6e8000c */ lwc1 $f8,0xc($s7) +/* f12d218: 460c4281 */ sub.s $f10,$f8,$f12 +/* f12d21c: e7aa0120 */ swc1 $f10,0x120($sp) +/* f12d220: c6f20010 */ lwc1 $f18,0x10($s7) +/* f12d224: 46029101 */ sub.s $f4,$f18,$f2 +/* f12d228: e7a40124 */ swc1 $f4,0x124($sp) +/* f12d22c: c6e60008 */ lwc1 $f6,0x8($s7) +/* f12d230: 46023200 */ add.s $f8,$f6,$f2 +/* f12d234: e7a80110 */ swc1 $f8,0x110($sp) +/* f12d238: c6ea000c */ lwc1 $f10,0xc($s7) +/* f12d23c: 460c5480 */ add.s $f18,$f10,$f12 +/* f12d240: e7b20114 */ swc1 $f18,0x114($sp) +/* f12d244: c6e40010 */ lwc1 $f4,0x10($s7) +/* f12d248: 46022180 */ add.s $f6,$f4,$f2 +/* f12d24c: e7a60118 */ swc1 $f6,0x118($sp) +/* f12d250: 822b03cc */ lb $t3,0x3cc($s1) +/* f12d254: 5561000c */ bnel $t3,$at,.PB0f12d288 +/* f12d258: 862603c8 */ lh $a2,0x3c8($s1) +/* f12d25c: 862c03c8 */ lh $t4,0x3c8($s1) +/* f12d260: c7aa0148 */ lwc1 $f10,0x148($sp) +/* f12d264: 2981001a */ slti $at,$t4,0x1a +/* f12d268: 10200006 */ beqz $at,.PB0f12d284 +/* f12d26c: 3c014140 */ lui $at,0x4140 +/* f12d270: 44814000 */ mtc1 $at,$f8 +/* f12d274: c6e4000c */ lwc1 $f4,0xc($s7) +/* f12d278: 460a4482 */ mul.s $f18,$f8,$f10 +/* f12d27c: 46122180 */ add.s $f6,$f4,$f18 +/* f12d280: e6e6000c */ swc1 $f6,0xc($s7) +.PB0f12d284: +/* f12d284: 862603c8 */ lh $a2,0x3c8($s1) +.PB0f12d288: +/* f12d288: 86cd001e */ lh $t5,0x1e($s6) +/* f12d28c: 87ae012e */ lh $t6,0x12e($sp) +/* f12d290: 44862000 */ mtc1 $a2,$f4 +/* f12d294: 448d4000 */ mtc1 $t5,$f8 +/* f12d298: 0000a025 */ move $s4,$zero +/* f12d29c: 468024a0 */ cvt.s.w $f18,$f4 +/* f12d2a0: 3c012f80 */ lui $at,0x2f80 +/* f12d2a4: 468042a0 */ cvt.s.w $f10,$f8 +/* f12d2a8: 448e4000 */ mtc1 $t6,$f8 +/* f12d2ac: 00000000 */ nop +/* f12d2b0: 46804120 */ cvt.s.w $f4,$f8 +/* f12d2b4: 46125182 */ mul.s $f6,$f10,$f18 +/* f12d2b8: 46043283 */ div.s $f10,$f6,$f4 +/* f12d2bc: 4600548d */ trunc.w.s $f18,$f10 +/* f12d2c0: 44189000 */ mfc1 $t8,$f18 +/* f12d2c4: 00000000 */ nop +/* f12d2c8: 27190001 */ addiu $t9,$t8,0x1 +/* f12d2cc: 1b200100 */ blez $t9,.PB0f12d6d0 +/* f12d2d0: afb90128 */ sw $t9,0x128($sp) +/* f12d2d4: 4481b000 */ mtc1 $at,$f22 +/* f12d2d8: 3c013f80 */ lui $at,0x3f80 +/* f12d2dc: 4481a000 */ mtc1 $at,$f20 +/* f12d2e0: 24120028 */ li $s2,0x28 +/* f12d2e4: 00001825 */ move $v1,$zero +.PB0f12d2e8: +/* f12d2e8: 02208025 */ move $s0,$s1 +.PB0f12d2ec: +/* f12d2ec: 8608001c */ lh $t0,0x1c($s0) +/* f12d2f0: 550000f0 */ bnezl $t0,.PB0f12d6b4 +/* f12d2f4: 24630001 */ addiu $v1,$v1,0x1 +/* f12d2f8: 922403cf */ lbu $a0,0x3cf($s1) +/* f12d2fc: 50800006 */ beqzl $a0,.PB0f12d318 +/* f12d300: c7a00120 */ lwc1 $f0,0x120($sp) +/* f12d304: 822903cc */ lb $t1,0x3cc($s1) +/* f12d308: 24010019 */ li $at,0x19 +/* f12d30c: 1521000f */ bne $t1,$at,.PB0f12d34c +/* f12d310: 00000000 */ nop +/* f12d314: c7a00120 */ lwc1 $f0,0x120($sp) +.PB0f12d318: +/* f12d318: c7a20124 */ lwc1 $f2,0x124($sp) +/* f12d31c: c7ac0110 */ lwc1 $f12,0x110($sp) +/* f12d320: c7ae0114 */ lwc1 $f14,0x114($sp) +/* f12d324: c7b00118 */ lwc1 $f16,0x118($sp) +/* f12d328: c7a8011c */ lwc1 $f8,0x11c($sp) +/* f12d32c: 00009825 */ move $s3,$zero +/* f12d330: e7a00100 */ swc1 $f0,0x100($sp) +/* f12d334: e7a20104 */ swc1 $f2,0x104($sp) +/* f12d338: e7ac00f0 */ swc1 $f12,0xf0($sp) +/* f12d33c: e7ae00f4 */ swc1 $f14,0xf4($sp) +/* f12d340: e7b000f8 */ swc1 $f16,0xf8($sp) +/* f12d344: 10000089 */ b .PB0f12d56c +/* f12d348: e7a800fc */ swc1 $f8,0xfc($sp) +.PB0f12d34c: +/* f12d34c: 0064001a */ div $zero,$v1,$a0 +/* f12d350: 00009810 */ mfhi $s3 +/* f12d354: 001350c0 */ sll $t2,$s3,0x3 +/* f12d358: 01535023 */ subu $t2,$t2,$s3 +/* f12d35c: 000a5080 */ sll $t2,$t2,0x2 +/* f12d360: 022a1021 */ addu $v0,$s1,$t2 +/* f12d364: c44603e8 */ lwc1 $f6,0x3e8($v0) +/* f12d368: 14800002 */ bnez $a0,.PB0f12d374 +/* f12d36c: 00000000 */ nop +/* f12d370: 0007000d */ break 0x7 +.PB0f12d374: +/* f12d374: 2401ffff */ li $at,-1 +/* f12d378: 14810004 */ bne $a0,$at,.PB0f12d38c +/* f12d37c: 3c018000 */ lui $at,0x8000 +/* f12d380: 14610002 */ bne $v1,$at,.PB0f12d38c +/* f12d384: 00000000 */ nop +/* f12d388: 0006000d */ break 0x6 +.PB0f12d38c: +/* f12d38c: e7a600fc */ swc1 $f6,0xfc($sp) +/* f12d390: c44403ec */ lwc1 $f4,0x3ec($v0) +/* f12d394: e7a40100 */ swc1 $f4,0x100($sp) +/* f12d398: c44a03f0 */ lwc1 $f10,0x3f0($v0) +/* f12d39c: c7a400fc */ lwc1 $f4,0xfc($sp) +/* f12d3a0: e7aa0104 */ swc1 $f10,0x104($sp) +/* f12d3a4: c45203f4 */ lwc1 $f18,0x3f4($v0) +/* f12d3a8: c7aa011c */ lwc1 $f10,0x11c($sp) +/* f12d3ac: e7b200f0 */ swc1 $f18,0xf0($sp) +/* f12d3b0: c44803f8 */ lwc1 $f8,0x3f8($v0) +/* f12d3b4: 460a203c */ c.lt.s $f4,$f10 +/* f12d3b8: e7a800f4 */ swc1 $f8,0xf4($sp) +/* f12d3bc: c44603fc */ lwc1 $f6,0x3fc($v0) +/* f12d3c0: 45000002 */ bc1f .PB0f12d3cc +/* f12d3c4: e7a600f8 */ swc1 $f6,0xf8($sp) +/* f12d3c8: e7aa00fc */ swc1 $f10,0xfc($sp) +.PB0f12d3cc: +/* f12d3cc: c7a00120 */ lwc1 $f0,0x120($sp) +/* f12d3d0: c7b20100 */ lwc1 $f18,0x100($sp) +/* f12d3d4: 4600903c */ c.lt.s $f18,$f0 +/* f12d3d8: 00000000 */ nop +/* f12d3dc: 45020003 */ bc1fl .PB0f12d3ec +/* f12d3e0: c7a20124 */ lwc1 $f2,0x124($sp) +/* f12d3e4: e7a00100 */ swc1 $f0,0x100($sp) +/* f12d3e8: c7a20124 */ lwc1 $f2,0x124($sp) +.PB0f12d3ec: +/* f12d3ec: c7a80104 */ lwc1 $f8,0x104($sp) +/* f12d3f0: 4602403c */ c.lt.s $f8,$f2 +/* f12d3f4: 00000000 */ nop +/* f12d3f8: 45020003 */ bc1fl .PB0f12d408 +/* f12d3fc: c7ac0110 */ lwc1 $f12,0x110($sp) +/* f12d400: e7a20104 */ swc1 $f2,0x104($sp) +/* f12d404: c7ac0110 */ lwc1 $f12,0x110($sp) +.PB0f12d408: +/* f12d408: c7a600f0 */ lwc1 $f6,0xf0($sp) +/* f12d40c: 4606603c */ c.lt.s $f12,$f6 +/* f12d410: 00000000 */ nop +/* f12d414: 45020003 */ bc1fl .PB0f12d424 +/* f12d418: c7ae0114 */ lwc1 $f14,0x114($sp) +/* f12d41c: e7ac00f0 */ swc1 $f12,0xf0($sp) +/* f12d420: c7ae0114 */ lwc1 $f14,0x114($sp) +.PB0f12d424: +/* f12d424: c7a400f4 */ lwc1 $f4,0xf4($sp) +/* f12d428: 4604703c */ c.lt.s $f14,$f4 +/* f12d42c: 00000000 */ nop +/* f12d430: 45020003 */ bc1fl .PB0f12d440 +/* f12d434: c7b00118 */ lwc1 $f16,0x118($sp) +/* f12d438: e7ae00f4 */ swc1 $f14,0xf4($sp) +/* f12d43c: c7b00118 */ lwc1 $f16,0x118($sp) +.PB0f12d440: +/* f12d440: c7aa00f8 */ lwc1 $f10,0xf8($sp) +/* f12d444: 460a803c */ c.lt.s $f16,$f10 +/* f12d448: 00000000 */ nop +/* f12d44c: 45020003 */ bc1fl .PB0f12d45c +/* f12d450: c7b200fc */ lwc1 $f18,0xfc($sp) +/* f12d454: e7b000f8 */ swc1 $f16,0xf8($sp) +/* f12d458: c7b200fc */ lwc1 $f18,0xfc($sp) +.PB0f12d45c: +/* f12d45c: c7a800f0 */ lwc1 $f8,0xf0($sp) +/* f12d460: c7a60100 */ lwc1 $f6,0x100($sp) +/* f12d464: c7a400f4 */ lwc1 $f4,0xf4($sp) +/* f12d468: 4612403e */ c.le.s $f8,$f18 +/* f12d46c: 00000000 */ nop +/* f12d470: 4503000b */ bc1tl .PB0f12d4a0 +/* f12d474: c62803e8 */ lwc1 $f8,0x3e8($s1) +/* f12d478: 4606203e */ c.le.s $f4,$f6 +/* f12d47c: c7aa0104 */ lwc1 $f10,0x104($sp) +/* f12d480: c7b200f8 */ lwc1 $f18,0xf8($sp) +/* f12d484: 45030006 */ bc1tl .PB0f12d4a0 +/* f12d488: c62803e8 */ lwc1 $f8,0x3e8($s1) +/* f12d48c: 460a903e */ c.le.s $f18,$f10 +/* f12d490: 00000000 */ nop +/* f12d494: 45000035 */ bc1f .PB0f12d56c +/* f12d498: 00000000 */ nop +/* f12d49c: c62803e8 */ lwc1 $f8,0x3e8($s1) +.PB0f12d4a0: +/* f12d4a0: 00009825 */ move $s3,$zero +/* f12d4a4: e7a800fc */ swc1 $f8,0xfc($sp) +/* f12d4a8: c62603ec */ lwc1 $f6,0x3ec($s1) +/* f12d4ac: e7a60100 */ swc1 $f6,0x100($sp) +/* f12d4b0: c62403f0 */ lwc1 $f4,0x3f0($s1) +/* f12d4b4: c7a600fc */ lwc1 $f6,0xfc($sp) +/* f12d4b8: e7a40104 */ swc1 $f4,0x104($sp) +/* f12d4bc: c62a03f4 */ lwc1 $f10,0x3f4($s1) +/* f12d4c0: c7a4011c */ lwc1 $f4,0x11c($sp) +/* f12d4c4: e7aa00f0 */ swc1 $f10,0xf0($sp) +/* f12d4c8: c63203f8 */ lwc1 $f18,0x3f8($s1) +/* f12d4cc: 4604303c */ c.lt.s $f6,$f4 +/* f12d4d0: e7b200f4 */ swc1 $f18,0xf4($sp) +/* f12d4d4: c62803fc */ lwc1 $f8,0x3fc($s1) +/* f12d4d8: 45000002 */ bc1f .PB0f12d4e4 +/* f12d4dc: e7a800f8 */ swc1 $f8,0xf8($sp) +/* f12d4e0: e7a400fc */ swc1 $f4,0xfc($sp) +.PB0f12d4e4: +/* f12d4e4: c7a00120 */ lwc1 $f0,0x120($sp) +/* f12d4e8: c7aa0100 */ lwc1 $f10,0x100($sp) +/* f12d4ec: c7a20124 */ lwc1 $f2,0x124($sp) +/* f12d4f0: c7ac0110 */ lwc1 $f12,0x110($sp) +/* f12d4f4: 4600503c */ c.lt.s $f10,$f0 +/* f12d4f8: c7ae0114 */ lwc1 $f14,0x114($sp) +/* f12d4fc: c7b00118 */ lwc1 $f16,0x118($sp) +/* f12d500: 45020003 */ bc1fl .PB0f12d510 +/* f12d504: c7b20104 */ lwc1 $f18,0x104($sp) +/* f12d508: e7a00100 */ swc1 $f0,0x100($sp) +/* f12d50c: c7b20104 */ lwc1 $f18,0x104($sp) +.PB0f12d510: +/* f12d510: 4602903c */ c.lt.s $f18,$f2 +/* f12d514: 00000000 */ nop +/* f12d518: 45020003 */ bc1fl .PB0f12d528 +/* f12d51c: c7a800f0 */ lwc1 $f8,0xf0($sp) +/* f12d520: e7a20104 */ swc1 $f2,0x104($sp) +/* f12d524: c7a800f0 */ lwc1 $f8,0xf0($sp) +.PB0f12d528: +/* f12d528: 4608603c */ c.lt.s $f12,$f8 +/* f12d52c: 00000000 */ nop +/* f12d530: 45020003 */ bc1fl .PB0f12d540 +/* f12d534: c7a600f4 */ lwc1 $f6,0xf4($sp) +/* f12d538: e7ac00f0 */ swc1 $f12,0xf0($sp) +/* f12d53c: c7a600f4 */ lwc1 $f6,0xf4($sp) +.PB0f12d540: +/* f12d540: 4606703c */ c.lt.s $f14,$f6 +/* f12d544: 00000000 */ nop +/* f12d548: 45020003 */ bc1fl .PB0f12d558 +/* f12d54c: c7a400f8 */ lwc1 $f4,0xf8($sp) +/* f12d550: e7ae00f4 */ swc1 $f14,0xf4($sp) +/* f12d554: c7a400f8 */ lwc1 $f4,0xf8($sp) +.PB0f12d558: +/* f12d558: 4604803c */ c.lt.s $f16,$f4 +/* f12d55c: 00000000 */ nop +/* f12d560: 45000002 */ bc1f .PB0f12d56c +/* f12d564: 00000000 */ nop +/* f12d568: e7b000f8 */ swc1 $f16,0xf8($sp) +.PB0f12d56c: +/* f12d56c: 0c004be0 */ jal 0x12f80 +/* f12d570: 00000000 */ nop +/* f12d574: c7aa00f0 */ lwc1 $f10,0xf0($sp) +/* f12d578: c7b200fc */ lwc1 $f18,0xfc($sp) +/* f12d57c: 44823000 */ mtc1 $v0,$f6 +/* f12d580: 3c014f80 */ lui $at,0x4f80 +/* f12d584: 46125201 */ sub.s $f8,$f10,$f18 +/* f12d588: 04410004 */ bgez $v0,.PB0f12d59c +/* f12d58c: 46803120 */ cvt.s.w $f4,$f6 +/* f12d590: 44815000 */ mtc1 $at,$f10 +/* f12d594: 00000000 */ nop +/* f12d598: 460a2100 */ add.s $f4,$f4,$f10 +.PB0f12d59c: +/* f12d59c: 46162182 */ mul.s $f6,$f4,$f22 +/* f12d5a0: 00000000 */ nop +/* f12d5a4: 46064282 */ mul.s $f10,$f8,$f6 +/* f12d5a8: 46125100 */ add.s $f4,$f10,$f18 +/* f12d5ac: 0c004be0 */ jal 0x12f80 +/* f12d5b0: e6040008 */ swc1 $f4,0x8($s0) +/* f12d5b4: c7a800f4 */ lwc1 $f8,0xf4($sp) +/* f12d5b8: c7a60100 */ lwc1 $f6,0x100($sp) +/* f12d5bc: 44829000 */ mtc1 $v0,$f18 +/* f12d5c0: 3c014f80 */ lui $at,0x4f80 +/* f12d5c4: 46064281 */ sub.s $f10,$f8,$f6 +/* f12d5c8: 04410004 */ bgez $v0,.PB0f12d5dc +/* f12d5cc: 46809120 */ cvt.s.w $f4,$f18 +/* f12d5d0: 44814000 */ mtc1 $at,$f8 +/* f12d5d4: 00000000 */ nop +/* f12d5d8: 46082100 */ add.s $f4,$f4,$f8 +.PB0f12d5dc: +/* f12d5dc: 46162482 */ mul.s $f18,$f4,$f22 +/* f12d5e0: 00000000 */ nop +/* f12d5e4: 46125202 */ mul.s $f8,$f10,$f18 +/* f12d5e8: 46064100 */ add.s $f4,$f8,$f6 +/* f12d5ec: 0c004be0 */ jal 0x12f80 +/* f12d5f0: e604000c */ swc1 $f4,0xc($s0) +/* f12d5f4: c7aa00f8 */ lwc1 $f10,0xf8($sp) +/* f12d5f8: c7b20104 */ lwc1 $f18,0x104($sp) +/* f12d5fc: 44823000 */ mtc1 $v0,$f6 +/* f12d600: 3c014f80 */ lui $at,0x4f80 +/* f12d604: 46125201 */ sub.s $f8,$f10,$f18 +/* f12d608: 04410004 */ bgez $v0,.PB0f12d61c +/* f12d60c: 46803120 */ cvt.s.w $f4,$f6 +/* f12d610: 44815000 */ mtc1 $at,$f10 +/* f12d614: 00000000 */ nop +/* f12d618: 460a2100 */ add.s $f4,$f4,$f10 +.PB0f12d61c: +/* f12d61c: 46162182 */ mul.s $f6,$f4,$f22 +/* f12d620: 240b0001 */ li $t3,0x1 +/* f12d624: a213001e */ sb $s3,0x1e($s0) +/* f12d628: a60b001c */ sh $t3,0x1c($s0) +/* f12d62c: 46064282 */ mul.s $f10,$f8,$f6 +/* f12d630: 46125100 */ add.s $f4,$f10,$f18 +/* f12d634: 0c004be0 */ jal 0x12f80 +/* f12d638: e6040010 */ swc1 $f4,0x10($s0) +/* f12d63c: 44824000 */ mtc1 $v0,$f8 +/* f12d640: 3c014f80 */ lui $at,0x4f80 +/* f12d644: 04410004 */ bgez $v0,.PB0f12d658 +/* f12d648: 468041a0 */ cvt.s.w $f6,$f8 +/* f12d64c: 44815000 */ mtc1 $at,$f10 +/* f12d650: 00000000 */ nop +/* f12d654: 460a3180 */ add.s $f6,$f6,$f10 +.PB0f12d658: +/* f12d658: 46163482 */ mul.s $f18,$f6,$f22 +/* f12d65c: 3c013f00 */ lui $at,0x3f00 +/* f12d660: 44812000 */ mtc1 $at,$f4 +/* f12d664: c6c60010 */ lwc1 $f6,0x10($s6) +/* f12d668: 46049202 */ mul.s $f8,$f18,$f4 +/* f12d66c: 46144280 */ add.s $f10,$f8,$f20 +/* f12d670: 46065482 */ mul.s $f18,$f10,$f6 +/* f12d674: 0c004be0 */ jal 0x12f80 +/* f12d678: e6120014 */ swc1 $f18,0x14($s0) +/* f12d67c: 44822000 */ mtc1 $v0,$f4 +/* f12d680: 3c014f80 */ lui $at,0x4f80 +/* f12d684: 04410004 */ bgez $v0,.PB0f12d698 +/* f12d688: 46802220 */ cvt.s.w $f8,$f4 +/* f12d68c: 44815000 */ mtc1 $at,$f10 +/* f12d690: 00000000 */ nop +/* f12d694: 460a4200 */ add.s $f8,$f8,$f10 +.PB0f12d698: +/* f12d698: 46164182 */ mul.s $f6,$f8,$f22 +/* f12d69c: 3c017f1b */ lui $at,0x7f1b +/* f12d6a0: c43275a4 */ lwc1 $f18,0x75a4($at) +/* f12d6a4: 46123102 */ mul.s $f4,$f6,$f18 +/* f12d6a8: 10000004 */ b .PB0f12d6bc +/* f12d6ac: e6040018 */ swc1 $f4,0x18($s0) +/* f12d6b0: 24630001 */ addiu $v1,$v1,0x1 +.PB0f12d6b4: +/* f12d6b4: 1472ff0d */ bne $v1,$s2,.PB0f12d2ec +/* f12d6b8: 26100018 */ addiu $s0,$s0,0x18 +.PB0f12d6bc: +/* f12d6bc: 8fac0128 */ lw $t4,0x128($sp) +/* f12d6c0: 26940001 */ addiu $s4,$s4,0x1 +/* f12d6c4: 568cff08 */ bnel $s4,$t4,.PB0f12d2e8 +/* f12d6c8: 00001825 */ move $v1,$zero +/* f12d6cc: 862603c8 */ lh $a2,0x3c8($s1) +.PB0f12d6d0: +/* f12d6d0: 3c012f80 */ lui $at,0x2f80 +/* f12d6d4: 4481b000 */ mtc1 $at,$f22 +/* f12d6d8: 27b0013c */ addiu $s0,$sp,0x13c +/* f12d6dc: 27b20130 */ addiu $s2,$sp,0x130 +/* f12d6e0: 02402825 */ move $a1,$s2 +/* f12d6e4: 02002025 */ move $a0,$s0 +/* f12d6e8: 0fc4ac40 */ jal 0xf12b100 +/* f12d6ec: 02e03825 */ move $a3,$s7 +/* f12d6f0: 26e60028 */ addiu $a2,$s7,0x28 +/* f12d6f4: afa6009c */ sw $a2,0x9c($sp) +/* f12d6f8: 02002025 */ move $a0,$s0 +/* f12d6fc: 02402825 */ move $a1,$s2 +/* f12d700: 24070007 */ li $a3,0x7 +/* f12d704: 0fc599d0 */ jal 0xf166740 +/* f12d708: afa00010 */ sw $zero,0x10($sp) +/* f12d70c: 0fc4b176 */ jal 0xf12c5d8 +/* f12d710: 02e02025 */ move $a0,$s7 +/* f12d714: 862603c8 */ lh $a2,0x3c8($s1) +/* f12d718: 3c01bf80 */ lui $at,0xbf80 +/* f12d71c: 00002025 */ move $a0,$zero +/* f12d720: 14c00016 */ bnez $a2,.PB0f12d77c +/* f12d724: 00002825 */ move $a1,$zero +/* f12d728: 86c60026 */ lh $a2,0x26($s6) +/* f12d72c: 240dffff */ li $t5,-1 +/* f12d730: afad0010 */ sw $t5,0x10($sp) +/* f12d734: afa0001c */ sw $zero,0x1c($sp) +/* f12d738: afa00018 */ sw $zero,0x18($sp) +/* f12d73c: afa00014 */ sw $zero,0x14($sp) +/* f12d740: 8e220000 */ lw $v0,0x0($s1) +/* f12d744: 44810000 */ mtc1 $at,$f0 +/* f12d748: 2418ffff */ li $t8,-1 +/* f12d74c: 244e0008 */ addiu $t6,$v0,0x8 +/* f12d750: 244f0028 */ addiu $t7,$v0,0x28 +/* f12d754: afaf0028 */ sw $t7,0x28($sp) +/* f12d758: afae0020 */ sw $t6,0x20($sp) +/* f12d75c: afb8002c */ sw $t8,0x2c($sp) +/* f12d760: 2407ffff */ li $a3,-1 +/* f12d764: e7a00024 */ swc1 $f0,0x24($sp) +/* f12d768: e7a00030 */ swc1 $f0,0x30($sp) +/* f12d76c: e7a00034 */ swc1 $f0,0x34($sp) +/* f12d770: 0fc24e0e */ jal 0xf093838 +/* f12d774: e7a00038 */ swc1 $f0,0x38($sp) +/* f12d778: 862603c8 */ lh $a2,0x3c8($s1) +.PB0f12d77c: +/* f12d77c: c7aa0148 */ lwc1 $f10,0x148($sp) +/* f12d780: 87a9012e */ lh $t1,0x12e($sp) +/* f12d784: 0000a025 */ move $s4,$zero +/* f12d788: 4600520d */ trunc.w.s $f8,$f10 +/* f12d78c: 241203c0 */ li $s2,0x3c0 +/* f12d790: 00095043 */ sra $t2,$t1,0x1 +/* f12d794: 44084000 */ mfc1 $t0,$f8 +/* f12d798: 00000000 */ nop +/* f12d79c: 190000ac */ blez $t0,.PB0f12da50 +/* f12d7a0: afa80098 */ sw $t0,0x98($sp) +/* f12d7a4: afaa0094 */ sw $t2,0x94($sp) +/* f12d7a8: 24cb0001 */ addiu $t3,$a2,0x1 +.PB0f12d7ac: +/* f12d7ac: a62b03c8 */ sh $t3,0x3c8($s1) +/* f12d7b0: 00001025 */ move $v0,$zero +/* f12d7b4: 02208025 */ move $s0,$s1 +.PB0f12d7b8: +/* f12d7b8: 8603001c */ lh $v1,0x1c($s0) +/* f12d7bc: 24420018 */ addiu $v0,$v0,0x18 +/* f12d7c0: 18600002 */ blez $v1,.PB0f12d7cc +/* f12d7c4: 246c0001 */ addiu $t4,$v1,0x1 +/* f12d7c8: a60c001c */ sh $t4,0x1c($s0) +.PB0f12d7cc: +/* f12d7cc: 1452fffa */ bne $v0,$s2,.PB0f12d7b8 +/* f12d7d0: 26100018 */ addiu $s0,$s0,0x18 +/* f12d7d4: 862603c8 */ lh $a2,0x3c8($s1) +/* f12d7d8: 2401000c */ li $at,0xc +/* f12d7dc: 87ad012e */ lh $t5,0x12e($sp) +/* f12d7e0: 14c10005 */ bne $a2,$at,.PB0f12d7f8 +/* f12d7e4: 24ce0010 */ addiu $t6,$a2,0x10 +/* f12d7e8: 822203cc */ lb $v0,0x3cc($s1) +/* f12d7ec: 2401000e */ li $at,0xe +/* f12d7f0: 50410007 */ beql $v0,$at,.PB0f12d810 +/* f12d7f4: 24010001 */ li $at,0x1 +.PB0f12d7f8: +/* f12d7f8: 55ae001a */ bnel $t5,$t6,.PB0f12d864 +/* f12d7fc: 8fb80094 */ lw $t8,0x94($sp) +/* f12d800: 822203cc */ lb $v0,0x3cc($s1) +/* f12d804: 2401000e */ li $at,0xe +/* f12d808: 10410015 */ beq $v0,$at,.PB0f12d860 +/* f12d80c: 24010001 */ li $at,0x1 +.PB0f12d810: +/* f12d810: 54410007 */ bnel $v0,$at,.PB0f12d830 +/* f12d814: 8e220004 */ lw $v0,0x4($s1) +/* f12d818: 0c004be0 */ jal 0x12f80 +/* f12d81c: 00000000 */ nop +/* f12d820: 304f0001 */ andi $t7,$v0,0x1 +/* f12d824: 55e0000f */ bnezl $t7,.PB0f12d864 +/* f12d828: 8fb80094 */ lw $t8,0x94($sp) +/* f12d82c: 8e220004 */ lw $v0,0x4($s1) +.PB0f12d830: +/* f12d830: 26e40008 */ addiu $a0,$s7,0x8 +/* f12d834: 8fa5009c */ lw $a1,0x9c($sp) +/* f12d838: 10400007 */ beqz $v0,.PB0f12d858 +/* f12d83c: 00000000 */ nop +/* f12d840: 24440008 */ addiu $a0,$v0,0x8 +/* f12d844: 24450028 */ addiu $a1,$v0,0x28 +/* f12d848: 0fc4bf5c */ jal 0xf12fd70 +/* f12d84c: 92c60024 */ lbu $a2,0x24($s6) +/* f12d850: 10000004 */ b .PB0f12d864 +/* f12d854: 8fb80094 */ lw $t8,0x94($sp) +.PB0f12d858: +/* f12d858: 0fc4bf5c */ jal 0xf12fd70 +/* f12d85c: 92c60024 */ lbu $a2,0x24($s6) +.PB0f12d860: +/* f12d860: 8fb80094 */ lw $t8,0x94($sp) +.PB0f12d864: +/* f12d864: 863903c8 */ lh $t9,0x3c8($s1) +/* f12d868: 57190075 */ bnel $t8,$t9,.PB0f12da40 +/* f12d86c: 8faa0098 */ lw $t2,0x98($sp) +/* f12d870: 822803cd */ lb $t0,0x3cd($s1) +/* f12d874: 51000072 */ beqzl $t0,.PB0f12da40 +/* f12d878: 8faa0098 */ lw $t2,0x98($sp) +/* f12d87c: c6c00010 */ lwc1 $f0,0x10($s6) +/* f12d880: 3c0142c8 */ lui $at,0x42c8 +/* f12d884: 44811000 */ mtc1 $at,$f2 +/* f12d888: 46000500 */ add.s $f20,$f0,$f0 +/* f12d88c: 00009825 */ move $s3,$zero +/* f12d890: 4614103c */ c.lt.s $f2,$f20 +/* f12d894: 00000000 */ nop +/* f12d898: 45000002 */ bc1f .PB0f12d8a4 +/* f12d89c: 00000000 */ nop +/* f12d8a0: 46001506 */ mov.s $f20,$f2 +.PB0f12d8a4: +/* f12d8a4: 0c004be0 */ jal 0x12f80 +/* f12d8a8: 00000000 */ nop +/* f12d8ac: 44829000 */ mtc1 $v0,$f18 +/* f12d8b0: 3c017f1b */ lui $at,0x7f1b +/* f12d8b4: c42675a8 */ lwc1 $f6,0x75a8($at) +/* f12d8b8: 04410005 */ bgez $v0,.PB0f12d8d0 +/* f12d8bc: 46809120 */ cvt.s.w $f4,$f18 +/* f12d8c0: 3c014f80 */ lui $at,0x4f80 +/* f12d8c4: 44815000 */ mtc1 $at,$f10 +/* f12d8c8: 00000000 */ nop +/* f12d8cc: 460a2100 */ add.s $f4,$f4,$f10 +.PB0f12d8d0: +/* f12d8d0: 46162202 */ mul.s $f8,$f4,$f22 +/* f12d8d4: 3c017f1b */ lui $at,0x7f1b +/* f12d8d8: c42a75ac */ lwc1 $f10,0x75ac($at) +/* f12d8dc: 8ea90318 */ lw $t1,0x318($s5) +/* f12d8e0: 46083482 */ mul.s $f18,$f6,$f8 +/* f12d8e4: 46125100 */ add.s $f4,$f10,$f18 +/* f12d8e8: 4604a502 */ mul.s $f20,$f20,$f4 +/* f12d8ec: 51200006 */ beqzl $t1,.PB0f12d908 +/* f12d8f0: 8ea2029c */ lw $v0,0x29c($s5) +/* f12d8f4: 0fc63b03 */ jal 0xf18ec0c +/* f12d8f8: 822403ce */ lb $a0,0x3ce($s1) +/* f12d8fc: 10000018 */ b .PB0f12d960 +/* f12d900: 00401825 */ move $v1,$v0 +/* f12d904: 8ea2029c */ lw $v0,0x29c($s5) +.PB0f12d908: +/* f12d908: 04420009 */ bltzl $v0,.PB0f12d930 +/* f12d90c: 8ea20298 */ lw $v0,0x298($s5) +/* f12d910: 822a03ce */ lb $t2,0x3ce($s1) +/* f12d914: 544a0006 */ bnel $v0,$t2,.PB0f12d930 +/* f12d918: 8ea20298 */ lw $v0,0x298($s5) +/* f12d91c: 8eab02a8 */ lw $t3,0x2a8($s5) +/* f12d920: 8d6c00bc */ lw $t4,0xbc($t3) +/* f12d924: 1000000e */ b .PB0f12d960 +/* f12d928: 8d830004 */ lw $v1,0x4($t4) +/* f12d92c: 8ea20298 */ lw $v0,0x298($s5) +.PB0f12d930: +/* f12d930: 04420009 */ bltzl $v0,.PB0f12d958 +/* f12d934: 8eb802a0 */ lw $t8,0x2a0($s5) +/* f12d938: 822d03ce */ lb $t5,0x3ce($s1) +/* f12d93c: 544d0006 */ bnel $v0,$t5,.PB0f12d958 +/* f12d940: 8eb802a0 */ lw $t8,0x2a0($s5) +/* f12d944: 8eae02a4 */ lw $t6,0x2a4($s5) +/* f12d948: 8dcf00bc */ lw $t7,0xbc($t6) +/* f12d94c: 10000004 */ b .PB0f12d960 +/* f12d950: 8de30004 */ lw $v1,0x4($t7) +/* f12d954: 8eb802a0 */ lw $t8,0x2a0($s5) +.PB0f12d958: +/* f12d958: 8f1900bc */ lw $t9,0xbc($t8) +/* f12d95c: 8f230004 */ lw $v1,0x4($t9) +.PB0f12d960: +/* f12d960: 862603ca */ lh $a2,0x3ca($s1) +/* f12d964: 3c08800b */ lui $t0,0x800b +/* f12d968: 8d088f48 */ lw $t0,-0x70b8($t0) +/* f12d96c: 000648c0 */ sll $t1,$a2,0x3 +/* f12d970: 01264821 */ addu $t1,$t1,$a2 +/* f12d974: 00094880 */ sll $t1,$t1,0x2 +/* f12d978: 01264823 */ subu $t1,$t1,$a2 +/* f12d97c: 00094880 */ sll $t1,$t1,0x2 +/* f12d980: 01095021 */ addu $t2,$t0,$t1 +/* f12d984: 8d420014 */ lw $v0,0x14($t2) +/* f12d988: 262b03d0 */ addiu $t3,$s1,0x3d0 +/* f12d98c: 262c03dc */ addiu $t4,$s1,0x3dc +/* f12d990: 5040002b */ beqzl $v0,.PB0f12da40 +/* f12d994: 8faa0098 */ lw $t2,0x98($sp) +/* f12d998: afab0090 */ sw $t3,0x90($sp) +/* f12d99c: afac008c */ sw $t4,0x8c($sp) +/* f12d9a0: 8c4d000c */ lw $t5,0xc($v0) +/* f12d9a4: 26f00008 */ addiu $s0,$s7,0x8 +/* f12d9a8: 02002025 */ move $a0,$s0 +/* f12d9ac: 11a00009 */ beqz $t5,.PB0f12d9d4 +/* f12d9b0: 01602825 */ move $a1,$t3 +/* f12d9b4: 27a700b0 */ addiu $a3,$sp,0xb0 +/* f12d9b8: 0fc58ae4 */ jal 0xf162b90 +/* f12d9bc: afa300e4 */ sw $v1,0xe4($sp) +/* f12d9c0: 10400004 */ beqz $v0,.PB0f12d9d4 +/* f12d9c4: 8fa300e4 */ lw $v1,0xe4($sp) +/* f12d9c8: 87b300dc */ lh $s3,0xdc($sp) +/* f12d9cc: 3a6e0002 */ xori $t6,$s3,0x2 +/* f12d9d0: 2dd30001 */ sltiu $s3,$t6,0x1 +.PB0f12d9d4: +/* f12d9d4: 240f0007 */ li $t7,0x7 +/* f12d9d8: afaf0014 */ sw $t7,0x14($sp) +/* f12d9dc: afa00010 */ sw $zero,0x10($sp) +/* f12d9e0: 863803ca */ lh $t8,0x3ca($s1) +/* f12d9e4: 2419ffff */ li $t9,-1 +/* f12d9e8: 240800ff */ li $t0,0xff +/* f12d9ec: 240900ff */ li $t1,0xff +/* f12d9f0: afa9003c */ sw $t1,0x3c($sp) +/* f12d9f4: afa80038 */ sw $t0,0x38($sp) +/* f12d9f8: afb90024 */ sw $t9,0x24($sp) +/* f12d9fc: afb3004c */ sw $s3,0x4c($sp) +/* f12da00: afa00048 */ sw $zero,0x48($sp) +/* f12da04: afa00044 */ sw $zero,0x44($sp) +/* f12da08: afa00040 */ sw $zero,0x40($sp) +/* f12da0c: e7b40034 */ swc1 $f20,0x34($sp) +/* f12da10: e7b40030 */ swc1 $f20,0x30($sp) +/* f12da14: afa3002c */ sw $v1,0x2c($sp) +/* f12da18: afa00028 */ sw $zero,0x28($sp) +/* f12da1c: afa00020 */ sw $zero,0x20($sp) +/* f12da20: afa0001c */ sw $zero,0x1c($sp) +/* f12da24: 8fa40090 */ lw $a0,0x90($sp) +/* f12da28: 8fa5008c */ lw $a1,0x8c($sp) +/* f12da2c: 02003025 */ move $a2,$s0 +/* f12da30: 00003825 */ move $a3,$zero +/* f12da34: 0fc502a5 */ jal 0xf140a94 +/* f12da38: afb80018 */ sw $t8,0x18($sp) +/* f12da3c: 8faa0098 */ lw $t2,0x98($sp) +.PB0f12da40: +/* f12da40: 26940001 */ addiu $s4,$s4,0x1 +/* f12da44: 862603c8 */ lh $a2,0x3c8($s1) +/* f12da48: 568aff58 */ bnel $s4,$t2,.PB0f12d7ac +/* f12da4c: 24cb0001 */ addiu $t3,$a2,0x1 +.PB0f12da50: +/* f12da50: 3c014180 */ lui $at,0x4180 +/* f12da54: 44813000 */ mtc1 $at,$f6 +/* f12da58: c6c80020 */ lwc1 $f8,0x20($s6) +/* f12da5c: 3c017f1b */ lui $at,0x7f1b +/* f12da60: c43275b0 */ lwc1 $f18,0x75b0($at) +/* f12da64: 46083282 */ mul.s $f10,$f6,$f8 +/* f12da68: 87ad012e */ lh $t5,0x12e($sp) +/* f12da6c: 00001025 */ move $v0,$zero +/* f12da70: 46125102 */ mul.s $f4,$f10,$f18 +/* f12da74: 4600218d */ trunc.w.s $f6,$f4 +/* f12da78: 440c3000 */ mfc1 $t4,$f6 +/* f12da7c: 00000000 */ nop +/* f12da80: 01ac7021 */ addu $t6,$t5,$t4 +/* f12da84: 00ce082a */ slt $at,$a2,$t6 +/* f12da88: 1420000a */ bnez $at,.PB0f12dab4 +/* f12da8c: 00000000 */ nop +/* f12da90: 822f03cc */ lb $t7,0x3cc($s1) +/* f12da94: 24010001 */ li $at,0x1 +/* f12da98: 51e10004 */ beql $t7,$at,.PB0f12daac +/* f12da9c: ae200000 */ sw $zero,0x0($s1) +/* f12daa0: 0fc10eb2 */ jal 0xf043ac8 +/* f12daa4: 8e240000 */ lw $a0,0x0($s1) +/* f12daa8: ae200000 */ sw $zero,0x0($s1) +.PB0f12daac: +/* f12daac: 10000001 */ b .PB0f12dab4 +/* f12dab0: 24020001 */ li $v0,0x1 +.PB0f12dab4: +/* f12dab4: 8fbf0084 */ lw $ra,0x84($sp) +/* f12dab8: d7b40050 */ ldc1 $f20,0x50($sp) +/* f12dabc: d7b60058 */ ldc1 $f22,0x58($sp) +/* f12dac0: 8fb00064 */ lw $s0,0x64($sp) +/* f12dac4: 8fb10068 */ lw $s1,0x68($sp) +/* f12dac8: 8fb2006c */ lw $s2,0x6c($sp) +/* f12dacc: 8fb30070 */ lw $s3,0x70($sp) +/* f12dad0: 8fb40074 */ lw $s4,0x74($sp) +/* f12dad4: 8fb50078 */ lw $s5,0x78($sp) +/* f12dad8: 8fb6007c */ lw $s6,0x7c($sp) +/* f12dadc: 8fb70080 */ lw $s7,0x80($sp) +/* f12dae0: 03e00008 */ jr $ra +/* f12dae4: 27bd0168 */ addiu $sp,$sp,0x168 +); #else GLOBAL_ASM( glabel func0f12bbdc diff --git a/src/game/filemgr.c b/src/game/filemgr.c index c269d46cf..dfdc5c3a2 100644 --- a/src/game/filemgr.c +++ b/src/game/filemgr.c @@ -51,9 +51,10 @@ struct menudialogdef g_FilemgrDuplicateNameMenuDialog; struct menudialogdef g_FilemgrRenameMenuDialog; #endif -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA s32 func0f1088d0pf(s32 operation, struct menuitem *item, union handlerdata *data); +#if VERSION >= VERSION_PAL_FINAL GLOBAL_ASM( glabel func0f1088d0pf /* f1088d0: 27bdffe8 */ addiu $sp,$sp,-24 @@ -76,6 +77,30 @@ glabel func0f1088d0pf /* f108910: 03e00008 */ jr $ra /* f108914: 00000000 */ nop ); +#else +GLOBAL_ASM( +glabel func0f1088d0pf +/* f108630: 27bdffe8 */ addiu $sp,$sp,-24 +/* f108634: 24010006 */ li $at,0x6 +/* f108638: afbf0014 */ sw $ra,0x14($sp) +/* f10863c: 14810009 */ bne $a0,$at,.PB0f108664 +/* f108640: afa60020 */ sw $a2,0x20($sp) +/* f108644: 90ae0001 */ lbu $t6,0x1($a1) +/* f108648: 3c02800a */ lui $v0,0x800a +/* f10864c: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f108650: a44e0482 */ sh $t6,0x482($v0) +/* f108654: 0fc5c097 */ jal 0xf17025c +/* f108658: 31c4ffff */ andi $a0,$t6,0xffff +/* f10865c: 0fc3cf12 */ jal 0xf0f3c48 +/* f108660: 00000000 */ nop +.PB0f108664: +/* f108664: 8fbf0014 */ lw $ra,0x14($sp) +/* f108668: 27bd0018 */ addiu $sp,$sp,0x18 +/* f10866c: 00001025 */ move $v0,$zero +/* f108670: 03e00008 */ jr $ra +/* f108674: 00000000 */ nop +); +#endif struct menuitem g_ChooseLanguageMenuItems[] = { { MENUITEMTYPE_LABEL, 0, 0x00004010, L_MPWEAPONS_261, 0x00000000, 0x00000000 }, // "Choose your language:" @@ -2946,6 +2971,49 @@ glabel filemgrConsiderPushingFileSelectDialog /* f10d2f0: 03e00008 */ jr $ra /* f10d2f4: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel filemgrConsiderPushingFileSelectDialog +/* f10cfc8: 3c0e8007 */ lui $t6,0x8007 +/* f10cfcc: 8dce3118 */ lw $t6,0x3118($t6) +/* f10cfd0: 3c18800a */ lui $t8,0x800a +/* f10cfd4: 27182530 */ addiu $t8,$t8,0x2530 +/* f10cfd8: 000e78c0 */ sll $t7,$t6,0x3 +/* f10cfdc: 01ee7823 */ subu $t7,$t7,$t6 +/* f10cfe0: 000f7880 */ sll $t7,$t7,0x2 +/* f10cfe4: 01ee7821 */ addu $t7,$t7,$t6 +/* f10cfe8: 000f78c0 */ sll $t7,$t7,0x3 +/* f10cfec: 01ee7823 */ subu $t7,$t7,$t6 +/* f10cff0: 000f7900 */ sll $t7,$t7,0x4 +/* f10cff4: 01f81021 */ addu $v0,$t7,$t8 +/* f10cff8: 9059083c */ lbu $t9,0x83c($v0) +/* f10cffc: 27bdffe8 */ addiu $sp,$sp,-24 +/* f10d000: afbf0014 */ sw $ra,0x14($sp) +/* f10d004: 1720000f */ bnez $t9,.PB0f10d044 +/* f10d008: 3c048007 */ lui $a0,0x8007 +/* f10d00c: a040083b */ sb $zero,0x83b($v0) +/* f10d010: 24846b8c */ addiu $a0,$a0,0x6b8c +/* f10d014: 0fc3e223 */ jal 0xf0f888c +/* f10d018: 24050006 */ li $a1,0x6 +/* f10d01c: 3c08800a */ lui $t0,0x800a +/* f10d020: 9508e952 */ lhu $t0,-0x16ae($t0) +/* f10d024: 3c048007 */ lui $a0,0x8007 +/* f10d028: 29010006 */ slti $at,$t0,0x6 +/* f10d02c: 14200003 */ bnez $at,.PB0f10d03c +/* f10d030: 00000000 */ nop +/* f10d034: 0fc3cd2e */ jal 0xf0f34b8 +/* f10d038: 24846120 */ addiu $a0,$a0,0x6120 +.PB0f10d03c: +/* f10d03c: 10000002 */ b .PB0f10d048 +/* f10d040: 24020001 */ li $v0,0x1 +.PB0f10d044: +/* f10d044: 00001025 */ move $v0,$zero +.PB0f10d048: +/* f10d048: 8fbf0014 */ lw $ra,0x14($sp) +/* f10d04c: 27bd0018 */ addiu $sp,$sp,0x18 +/* f10d050: 03e00008 */ jr $ra +/* f10d054: 00000000 */ nop +); #else bool filemgrConsiderPushingFileSelectDialog(void) { diff --git a/src/game/game_005fd0.c b/src/game/game_005fd0.c index ca4f282e9..3c7abd4ef 100644 --- a/src/game/game_005fd0.c +++ b/src/game/game_005fd0.c @@ -379,6 +379,239 @@ glabel chrCheckFootstep /* f00650c: 03e00008 */ jr $ra /* f006510: 27bd0078 */ addiu $sp,$sp,0x78 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel chrCheckFootstep +/* f0061dc: 27bdff88 */ addiu $sp,$sp,-120 +/* f0061e0: afbf004c */ sw $ra,0x4c($sp) +/* f0061e4: afb10048 */ sw $s1,0x48($sp) +/* f0061e8: 00808825 */ move $s1,$a0 +/* f0061ec: 0fc48103 */ jal 0xf12040c +/* f0061f0: afb00044 */ sw $s0,0x44($sp) +/* f0061f4: 104000c2 */ beqz $v0,.PB0f006500 +/* f0061f8: 24010001 */ li $at,0x1 +/* f0061fc: 3c02800a */ lui $v0,0x800a +/* f006200: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f006204: 8c4e006c */ lw $t6,0x6c($v0) +/* f006208: 00002825 */ move $a1,$zero +/* f00620c: 00001825 */ move $v1,$zero +/* f006210: 11c00003 */ beqz $t6,.PB0f006220 +/* f006214: 00002025 */ move $a0,$zero +/* f006218: 10000001 */ b .PB0f006220 +/* f00621c: 24050001 */ li $a1,0x1 +.PB0f006220: +/* f006220: 8c4f0068 */ lw $t7,0x68($v0) +/* f006224: 11e00003 */ beqz $t7,.PB0f006234 +/* f006228: 00000000 */ nop +/* f00622c: 10000001 */ b .PB0f006234 +/* f006230: 24030001 */ li $v1,0x1 +.PB0f006234: +/* f006234: 8c580064 */ lw $t8,0x64($v0) +/* f006238: 13000003 */ beqz $t8,.PB0f006248 +/* f00623c: 00000000 */ nop +/* f006240: 10000001 */ b .PB0f006248 +/* f006244: 24040001 */ li $a0,0x1 +.PB0f006248: +/* f006248: 8c590070 */ lw $t9,0x70($v0) +/* f00624c: 00001025 */ move $v0,$zero +/* f006250: 13200003 */ beqz $t9,.PB0f006260 +/* f006254: 00000000 */ nop +/* f006258: 10000001 */ b .PB0f006260 +/* f00625c: 24020001 */ li $v0,0x1 +.PB0f006260: +/* f006260: 00444021 */ addu $t0,$v0,$a0 +/* f006264: 01034821 */ addu $t1,$t0,$v1 +/* f006268: 01255021 */ addu $t2,$t1,$a1 +/* f00626c: 554100a5 */ bnel $t2,$at,.PB0f006504 +/* f006270: 8fbf004c */ lw $ra,0x4c($sp) +/* f006274: 122000a2 */ beqz $s1,.PB0f006500 +/* f006278: 240bffff */ li $t3,-1 +/* f00627c: 8e220020 */ lw $v0,0x20($s1) +/* f006280: 44802000 */ mtc1 $zero,$f4 +/* f006284: a2200190 */ sb $zero,0x190($s1) +/* f006288: a62b019c */ sh $t3,0x19c($s1) +/* f00628c: 1040009c */ beqz $v0,.PB0f006500 +/* f006290: e6240194 */ swc1 $f4,0x194($s1) +/* f006294: 8c440020 */ lw $a0,0x20($v0) +/* f006298: 5080009a */ beqzl $a0,.PB0f006504 +/* f00629c: 8fbf004c */ lw $ra,0x4c($sp) +/* f0062a0: c626018c */ lwc1 $f6,0x18c($s1) +/* f0062a4: 3c038006 */ lui $v1,0x8006 +/* f0062a8: 24632c60 */ addiu $v1,$v1,0x2c60 +/* f0062ac: e7a60070 */ swc1 $f6,0x70($sp) +/* f0062b0: c480000c */ lwc1 $f0,0xc($a0) +/* f0062b4: 00008025 */ move $s0,$zero +/* f0062b8: e620018c */ swc1 $f0,0x18c($s1) +/* f0062bc: e7a0006c */ swc1 $f0,0x6c($sp) +.PB0f0062c0: +/* f0062c0: 8e240020 */ lw $a0,0x20($s1) +/* f0062c4: 0c0076f3 */ jal 0x1dbcc +/* f0062c8: afa30050 */ sw $v1,0x50($sp) +/* f0062cc: 8fa30050 */ lw $v1,0x50($sp) +/* f0062d0: 24010023 */ li $at,0x23 +/* f0062d4: 94640000 */ lhu $a0,0x0($v1) +/* f0062d8: 54440087 */ bnel $v0,$a0,.PB0f0064f8 +/* f0062dc: 26100001 */ addiu $s0,$s0,0x1 +/* f0062e0: 12200003 */ beqz $s1,.PB0f0062f0 +/* f0062e4: 24010001 */ li $at,0x1 +/* f0062e8: 10000002 */ b .PB0f0062f4 +/* f0062ec: 922202fe */ lbu $v0,0x2fe($s1) +.PB0f0062f0: +/* f0062f0: 00001025 */ move $v0,$zero +.PB0f0062f4: +/* f0062f4: 14410034 */ bne $v0,$at,.PB0f0063c8 +/* f0062f8: 02002825 */ move $a1,$s0 +/* f0062fc: 24010394 */ li $at,0x394 +/* f006300: 14810031 */ bne $a0,$at,.PB0f0063c8 +/* f006304: c7a8006c */ lwc1 $f8,0x6c($sp) +/* f006308: 3c014000 */ lui $at,0x4000 +/* f00630c: 44810000 */ mtc1 $at,$f0 +/* f006310: 3c014188 */ lui $at,0x4188 +/* f006314: c7aa0070 */ lwc1 $f10,0x70($sp) +/* f006318: 4608003e */ c.le.s $f0,$f8 +/* f00631c: c7b0006c */ lwc1 $f16,0x6c($sp) +/* f006320: 45020006 */ bc1fl .PB0f00633c +/* f006324: 44810000 */ mtc1 $at,$f0 +/* f006328: 4600503c */ c.lt.s $f10,$f0 +/* f00632c: 00000000 */ nop +/* f006330: 4503000c */ bc1tl .PB0f006364 +/* f006334: 240c0001 */ li $t4,0x1 +/* f006338: 44810000 */ mtc1 $at,$f0 +.PB0f00633c: +/* f00633c: 3c014120 */ lui $at,0x4120 +/* f006340: c7b20070 */ lwc1 $f18,0x70($sp) +/* f006344: 4610003e */ c.le.s $f0,$f16 +/* f006348: c7a4006c */ lwc1 $f4,0x6c($sp) +/* f00634c: 45020008 */ bc1fl .PB0f006370 +/* f006350: 44810000 */ mtc1 $at,$f0 +/* f006354: 4600903c */ c.lt.s $f18,$f0 +/* f006358: 00000000 */ nop +/* f00635c: 45000003 */ bc1f .PB0f00636c +/* f006360: 240c0001 */ li $t4,0x1 +.PB0f006364: +/* f006364: 1000003e */ b .PB0f006460 +/* f006368: a22c0190 */ sb $t4,0x190($s1) +.PB0f00636c: +/* f00636c: 44810000 */ mtc1 $at,$f0 +.PB0f006370: +/* f006370: 3c0141c8 */ lui $at,0x41c8 +/* f006374: c7a60070 */ lwc1 $f6,0x70($sp) +/* f006378: 4604003e */ c.le.s $f0,$f4 +/* f00637c: c7a8006c */ lwc1 $f8,0x6c($sp) +/* f006380: 45020006 */ bc1fl .PB0f00639c +/* f006384: 44810000 */ mtc1 $at,$f0 +/* f006388: 4600303c */ c.lt.s $f6,$f0 +/* f00638c: 00000000 */ nop +/* f006390: 4503000b */ bc1tl .PB0f0063c0 +/* f006394: 240d0002 */ li $t5,0x2 +/* f006398: 44810000 */ mtc1 $at,$f0 +.PB0f00639c: +/* f00639c: c7aa0070 */ lwc1 $f10,0x70($sp) +/* f0063a0: 4608003e */ c.le.s $f0,$f8 +/* f0063a4: 00000000 */ nop +/* f0063a8: 4500002d */ bc1f .PB0f006460 +/* f0063ac: 00000000 */ nop +/* f0063b0: 4600503c */ c.lt.s $f10,$f0 +/* f0063b4: 00000000 */ nop +/* f0063b8: 45000029 */ bc1f .PB0f006460 +/* f0063bc: 240d0002 */ li $t5,0x2 +.PB0f0063c0: +/* f0063c0: 10000027 */ b .PB0f006460 +/* f0063c4: a22d0190 */ sb $t5,0x190($s1) +.PB0f0063c8: +/* f0063c8: 906e0002 */ lbu $t6,0x2($v1) +/* f0063cc: c7a4006c */ lwc1 $f4,0x6c($sp) +/* f0063d0: 3c014f80 */ lui $at,0x4f80 +/* f0063d4: 448e8000 */ mtc1 $t6,$f16 +/* f0063d8: c7a60070 */ lwc1 $f6,0x70($sp) +/* f0063dc: 05c10004 */ bgez $t6,.PB0f0063f0 +/* f0063e0: 46808020 */ cvt.s.w $f0,$f16 +/* f0063e4: 44819000 */ mtc1 $at,$f18 +/* f0063e8: 00000000 */ nop +/* f0063ec: 46120000 */ add.s $f0,$f0,$f18 +.PB0f0063f0: +/* f0063f0: 4604003e */ c.le.s $f0,$f4 +/* f0063f4: c7b0006c */ lwc1 $f16,0x6c($sp) +/* f0063f8: 45020008 */ bc1fl .PB0f00641c +/* f0063fc: 90780003 */ lbu $t8,0x3($v1) +/* f006400: 4600303c */ c.lt.s $f6,$f0 +/* f006404: 240f0001 */ li $t7,0x1 +/* f006408: 45020004 */ bc1fl .PB0f00641c +/* f00640c: 90780003 */ lbu $t8,0x3($v1) +/* f006410: 10000013 */ b .PB0f006460 +/* f006414: a22f0190 */ sb $t7,0x190($s1) +/* f006418: 90780003 */ lbu $t8,0x3($v1) +.PB0f00641c: +/* f00641c: 3c014f80 */ lui $at,0x4f80 +/* f006420: c7b20070 */ lwc1 $f18,0x70($sp) +/* f006424: 44984000 */ mtc1 $t8,$f8 +/* f006428: 07010004 */ bgez $t8,.PB0f00643c +/* f00642c: 46804020 */ cvt.s.w $f0,$f8 +/* f006430: 44815000 */ mtc1 $at,$f10 +/* f006434: 00000000 */ nop +/* f006438: 460a0000 */ add.s $f0,$f0,$f10 +.PB0f00643c: +/* f00643c: 4610003e */ c.le.s $f0,$f16 +/* f006440: 00000000 */ nop +/* f006444: 45000006 */ bc1f .PB0f006460 +/* f006448: 00000000 */ nop +/* f00644c: 4600903c */ c.lt.s $f18,$f0 +/* f006450: 24190002 */ li $t9,0x2 +/* f006454: 45000002 */ bc1f .PB0f006460 +/* f006458: 00000000 */ nop +/* f00645c: a2390190 */ sb $t9,0x190($s1) +.PB0f006460: +/* f006460: 0fc0181d */ jal 0xf006074 +/* f006464: 02202025 */ move $a0,$s1 +/* f006468: 2401ffff */ li $at,-1 +/* f00646c: 5041001c */ beql $v0,$at,.PB0f0064e0 +/* f006470: 8e2e0020 */ lw $t6,0x20($s1) +/* f006474: 82280190 */ lb $t0,0x190($s1) +/* f006478: 3c01bf80 */ lui $at,0xbf80 +/* f00647c: 00002025 */ move $a0,$zero +/* f006480: 11000016 */ beqz $t0,.PB0f0064dc +/* f006484: 00023400 */ sll $a2,$v0,0x10 +/* f006488: 8e25001c */ lw $a1,0x1c($s1) +/* f00648c: 44810000 */ mtc1 $at,$f0 +/* f006490: 00064c03 */ sra $t1,$a2,0x10 +/* f006494: 240affff */ li $t2,-1 +/* f006498: 240b0400 */ li $t3,0x400 +/* f00649c: 240c0010 */ li $t4,0x10 +/* f0064a0: 240dffff */ li $t5,-1 +/* f0064a4: afad002c */ sw $t5,0x2c($sp) +/* f0064a8: afac001c */ sw $t4,0x1c($sp) +/* f0064ac: afab0014 */ sw $t3,0x14($sp) +/* f0064b0: afaa0010 */ sw $t2,0x10($sp) +/* f0064b4: 01203025 */ move $a2,$t1 +/* f0064b8: afa00028 */ sw $zero,0x28($sp) +/* f0064bc: afa00020 */ sw $zero,0x20($sp) +/* f0064c0: afa00018 */ sw $zero,0x18($sp) +/* f0064c4: 2407ffff */ li $a3,-1 +/* f0064c8: e7a00024 */ swc1 $f0,0x24($sp) +/* f0064cc: e7a00030 */ swc1 $f0,0x30($sp) +/* f0064d0: e7a00034 */ swc1 $f0,0x34($sp) +/* f0064d4: 0fc24e0e */ jal 0xf093838 +/* f0064d8: e7a00038 */ swc1 $f0,0x38($sp) +.PB0f0064dc: +/* f0064dc: 8e2e0020 */ lw $t6,0x20($s1) +.PB0f0064e0: +/* f0064e0: a630019c */ sh $s0,0x19c($s1) +/* f0064e4: 8dcf0020 */ lw $t7,0x20($t6) +/* f0064e8: c5e4001c */ lwc1 $f4,0x1c($t7) +/* f0064ec: 10000004 */ b .PB0f006500 +/* f0064f0: e6240198 */ swc1 $f4,0x198($s1) +/* f0064f4: 26100001 */ addiu $s0,$s0,0x1 +.PB0f0064f8: +/* f0064f8: 1601ff71 */ bne $s0,$at,.PB0f0062c0 +/* f0064fc: 24630004 */ addiu $v1,$v1,0x4 +.PB0f006500: +/* f006500: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f006504: +/* f006504: 8fb00044 */ lw $s0,0x44($sp) +/* f006508: 8fb10048 */ lw $s1,0x48($sp) +/* f00650c: 03e00008 */ jr $ra +/* f006510: 27bd0078 */ addiu $sp,$sp,0x78 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel chrCheckFootstep @@ -928,7 +1161,7 @@ void chrCheckFootstepMagic(struct chrdata *chr) s32 soundnum; if (debugIsFootstepsEnabled() && PLAYERCOUNT() == 1 && chr->magicanim >= 0) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA chr->magicframe += g_Vars.lvupdate240freal * chr->magicspeed; #else chr->magicframe += g_Vars.lvupdate240 * chr->magicspeed; diff --git a/src/game/game_00b320.c b/src/game/game_00b320.c index ed372613d..f091a940a 100644 --- a/src/game/game_00b320.c +++ b/src/game/game_00b320.c @@ -66,6 +66,65 @@ glabel stageLoadCommonLang /* f00b3f0: 03e00008 */ jr $ra /* f00b3f4: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +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: 2463f1d4 */ addiu $v1,$v1,-3628 +/* f00b344: 2442f0c0 */ addiu $v0,$v0,-3904 +.PB0f00b348: +/* f00b348: 24420004 */ addiu $v0,$v0,0x4 +/* f00b34c: 1443fffe */ bne $v0,$v1,.PB0f00b348 +/* f00b350: ac40fffc */ sw $zero,-0x4($v0) +/* f00b354: 3c02800b */ lui $v0,0x800b +/* f00b358: 2442f0c0 */ addiu $v0,$v0,-3904 +/* 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,.PB0f00b384 +/* f00b37c: ac4300b0 */ sw $v1,0xb0($v0) +/* f00b380: ac43009c */ sw $v1,0x9c($v0) +.PB0f00b384: +/* f00b384: 24010026 */ li $at,0x26 +/* f00b388: 14810004 */ bne $a0,$at,.PB0f00b39c +/* f00b38c: 24050004 */ li $a1,0x4 +/* f00b390: 3c030001 */ lui $v1,0x1 +/* f00b394: 10000009 */ b .PB0f00b3bc +/* f00b398: 3463a5e0 */ ori $v1,$v1,0xa5e0 +.PB0f00b39c: +/* f00b39c: 3c0e8009 */ lui $t6,0x8009 +/* f00b3a0: 91ce2fd0 */ lbu $t6,0x2fd0($t6) +/* f00b3a4: 24010001 */ li $at,0x1 +/* f00b3a8: 3403dac0 */ li $v1,0xdac0 +/* f00b3ac: 51c10004 */ beql $t6,$at,.PB0f00b3c0 +/* f00b3b0: 2464000f */ addiu $a0,$v1,0xf +/* f00b3b4: 3c030001 */ lui $v1,0x1 +/* f00b3b8: 346309a0 */ ori $v1,$v1,0x9a0 +.PB0f00b3bc: +/* f00b3bc: 2464000f */ addiu $a0,$v1,0xf +.PB0f00b3c0: +/* f00b3c0: 348f000f */ ori $t7,$a0,0xf +/* f00b3c4: 39e4000f */ xori $a0,$t7,0xf +/* f00b3c8: 0c00490a */ jal 0x12428 +/* f00b3cc: afa30018 */ sw $v1,0x18($sp) +/* f00b3d0: 3c018008 */ lui $at,0x8008 +/* f00b3d4: 8fa30018 */ lw $v1,0x18($sp) +/* f00b3d8: ac2265f4 */ sw $v0,0x65f4($at) +/* f00b3dc: 3c018008 */ lui $at,0x8008 +/* f00b3e0: 0fc5c07b */ jal 0xf1701ec +/* f00b3e4: ac2365fc */ sw $v1,0x65fc($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) { diff --git a/src/game/game_00c490.c b/src/game/game_00c490.c index bf48f295e..481456989 100644 --- a/src/game/game_00c490.c +++ b/src/game/game_00c490.c @@ -1512,6 +1512,125 @@ glabel var7f1a9258pf /* f00dd7c: 03e00008 */ jr $ra /* f00dd80: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel setupAutogun +.late_rodata +glabel var7f1a9250pf +.word 0x40c907a9 +glabel var7f1a9254pf +.word 0x40f13c65 +glabel var7f1a9258pf +.word 0xbfc907a9 +.text +/* 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: c42c9d00 */ lwc1 $f12,-0x6300($at) +/* f00dc14: 3c017f1b */ lui $at,0x7f1b +/* f00dc18: c4289d04 */ lwc1 $f8,-0x62fc($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: 0c00490a */ jal 0x12428 +/* 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,.PB0f00dd58 +/* f00dcdc: e60000a0 */ swc1 $f0,0xa0($s0) +/* f00dce0: 24050002 */ li $a1,0x2 +/* f00dce4: 0fc458d4 */ jal 0xf116350 +/* 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: 0fc25970 */ jal 0xf0965c0 +/* 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: 0c012ae4 */ jal 0x4ab90 +/* f00dd40: 46083300 */ add.s $f12,$f6,$f8 +/* f00dd44: c7ac0084 */ lwc1 $f12,0x84($sp) +/* f00dd48: 0fc25970 */ jal 0xf0965c0 +/* f00dd4c: 46000386 */ mov.s $f14,$f0 +/* f00dd50: 10000007 */ b .PB0f00dd70 +/* f00dd54: e6000074 */ swc1 $f0,0x74($s0) +.PB0f00dd58: +/* f00dd58: 86090004 */ lh $t1,0x4($s0) +/* f00dd5c: 24010144 */ li $at,0x144 +/* f00dd60: 15210003 */ bne $t1,$at,.PB0f00dd70 +/* f00dd64: 3c017f1b */ lui $at,0x7f1b +/* f00dd68: c42a9d08 */ lwc1 $f10,-0x62f8($at) +/* f00dd6c: e60a0074 */ swc1 $f10,0x74($s0) +.PB0f00dd70: +/* 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) { @@ -2094,6 +2213,403 @@ glabel var7f1a926cpf /* f00e900: 03e00008 */ jr $ra /* f00e904: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel setupDoor +.late_rodata +glabel var7f1a9260pf +.word 0x3fc907a9 +glabel var7f1a9264pf +.word 0x3fc907a9 +glabel var7f1a9268pf +.word 0x358637bd +glabel var7f1a926cpf +.word 0x3f99999a +.text +/* 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: 0fc24801 */ jal 0xf092004 +/* f00e374: afa401c0 */ sw $a0,0x1c0($sp) +/* f00e378: 960f0070 */ lhu $t7,0x70($s0) +/* f00e37c: 31f80040 */ andi $t8,$t7,0x40 +/* f00e380: 53000004 */ beqzl $t8,.PB0f00e394 +/* f00e384: 8e190008 */ lw $t9,0x8($s0) +/* f00e388: 0fc45a42 */ jal 0xf116908 +/* f00e38c: 86040006 */ lh $a0,0x6($s0) +/* f00e390: 8e190008 */ lw $t9,0x8($s0) +.PB0f00e394: +/* f00e394: 001940c0 */ sll $t0,$t9,0x3 +/* f00e398: 05030005 */ bgezl $t0,.PB0f00e3b0 +/* 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) +.PB0f00e3b0: +/* f00e3b0: 2405007e */ li $a1,0x7e +/* f00e3b4: 0fc458d4 */ jal 0xf116350 +/* f00e3b8: 27a60168 */ addiu $a2,$sp,0x168 +/* f00e3bc: 3c018006 */ lui $at,0x8006 +/* f00e3c0: c42c32a0 */ lwc1 $f12,0x32a0($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 .PB0f00e54c +/* 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: 3c0a800b */ lui $t2,0x800b +/* 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,.PB0f00e540 +/* f00e408: e7b0019c */ swc1 $f16,0x19c($sp) +/* f00e40c: 8d4a92ec */ lw $t2,-0x6d14($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) +.PB0f00e540: +/* f00e540: 0fc45a8c */ jal 0xf116a30 +/* f00e544: 86040006 */ lh $a0,0x6($s0) +/* f00e548: 8fab01b0 */ lw $t3,0x1b0($sp) +.PB0f00e54c: +/* f00e54c: 8fac01c0 */ lw $t4,0x1c0($sp) +/* f00e550: 3c048008 */ lui $a0,0x8008 +/* f00e554: 196000e6 */ blez $t3,.PB0f00e8f0 +/* f00e558: 000c68c0 */ sll $t5,$t4,0x3 +/* f00e55c: 008d2021 */ addu $a0,$a0,$t5 +/* f00e560: 0fc1a2d3 */ jal 0xf068b4c +/* f00e564: 8c84d53c */ lw $a0,-0x2ac4($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: 0c005dea */ jal 0x177a8 +/* f00e5bc: e7b2001c */ swc1 $f18,0x1c($sp) +/* f00e5c0: 3c017f1b */ lui $at,0x7f1b +/* f00e5c4: c42c9d10 */ lwc1 $f12,-0x62f0($at) +/* f00e5c8: 0c005b4e */ jal 0x16d38 +/* f00e5cc: 27a500ac */ addiu $a1,$sp,0xac +/* f00e5d0: 3c017f1b */ lui $at,0x7f1b +/* f00e5d4: c42c9d14 */ lwc1 $f12,-0x62ec($at) +/* f00e5d8: 0c005b94 */ jal 0x16e50 +/* f00e5dc: 27a50060 */ addiu $a1,$sp,0x60 +/* f00e5e0: 27a40060 */ addiu $a0,$sp,0x60 +/* f00e5e4: 0c005913 */ jal 0x1644c +/* f00e5e8: 27a500ac */ addiu $a1,$sp,0xac +/* f00e5ec: 27a40110 */ addiu $a0,$sp,0x110 +/* f00e5f0: 0c005913 */ jal 0x1644c +/* f00e5f4: 27a500ac */ addiu $a1,$sp,0xac +/* f00e5f8: 86040006 */ lh $a0,0x6($s0) +/* f00e5fc: 0fc459f5 */ jal 0xf1167d4 +/* 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: c4209d18 */ lwc1 $f0,-0x62e8($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 .PB0f00e68c +/* f00e66c: 460a2383 */ div.s $f14,$f4,$f10 +/* f00e670: 4600103e */ c.le.s $f2,$f0 +/* f00e674: 00000000 */ nop +/* f00e678: 45030005 */ bc1tl .PB0f00e690 +/* f00e67c: 3c013f80 */ lui $at,0x3f80 +/* f00e680: 4600703e */ c.le.s $f14,$f0 +/* f00e684: 00000000 */ nop +/* f00e688: 45000005 */ bc1f .PB0f00e6a0 +.PB0f00e68c: +/* f00e68c: 3c013f80 */ lui $at,0x3f80 +.PB0f00e690: +/* f00e690: 44816000 */ mtc1 $at,$f12 +/* f00e694: 00000000 */ nop +/* f00e698: 46006386 */ mov.s $f14,$f12 +/* f00e69c: 46006086 */ mov.s $f2,$f12 +.PB0f00e6a0: +/* f00e6a0: e7a2004c */ swc1 $f2,0x4c($sp) +/* f00e6a4: e7ac0050 */ swc1 $f12,0x50($sp) +/* f00e6a8: 0c005a1d */ jal 0x16874 +/* f00e6ac: e7ae0048 */ swc1 $f14,0x48($sp) +/* f00e6b0: c7ac004c */ lwc1 $f12,0x4c($sp) +/* f00e6b4: 0c005a34 */ jal 0x168d0 +/* f00e6b8: 27a500ac */ addiu $a1,$sp,0xac +/* f00e6bc: c7ac0048 */ lwc1 $f12,0x48($sp) +/* f00e6c0: 0c005a4b */ jal 0x1692c +/* 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,.PB0f00e710 +/* f00e700: c7a401a8 */ lwc1 $f4,0x1a8($sp) +/* f00e704: 24010008 */ li $at,0x8 +/* f00e708: 1441000e */ bne $v0,$at,.PB0f00e744 +/* f00e70c: c7aa01a0 */ lwc1 $f10,0x1a0($sp) +.PB0f00e710: +/* 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 .PB0f00e778 +/* f00e740: e7a4005c */ swc1 $f4,0x5c($sp) +.PB0f00e744: +/* 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) +.PB0f00e778: +/* 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: c4229d1c */ lwc1 $f2,-0x62e4($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,.PB0f00e81c +/* f00e804: e608006c */ swc1 $f8,0x6c($s0) +/* f00e808: 8e0c00bc */ lw $t4,0xbc($s0) +/* f00e80c: 8fad01cc */ lw $t5,0x1cc($sp) +/* f00e810: 0fc24795 */ jal 0xf091e54 +/* f00e814: 018d2021 */ addu $a0,$t4,$t5 +/* f00e818: ae0200bc */ sw $v0,0xbc($s0) +.PB0f00e81c: +/* 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: 0fc234ef */ jal 0xf08d3bc +/* 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,.PB0f00e88c +/* f00e854: 8e040018 */ lw $a0,0x18($s0) +/* f00e858: a60800c4 */ sh $t0,0xc4($s0) +/* f00e85c: 860900c4 */ lh $t1,0xc4($s0) +/* f00e860: 0522000a */ bltzl $t1,.PB0f00e88c +/* 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 .PB0f00e88c +/* f00e87c: 8e040018 */ lw $a0,0x18($s0) +/* f00e880: 0fc234e4 */ jal 0xf08d390 +/* f00e884: 02002025 */ move $a0,$s0 +/* f00e888: 8e040018 */ lw $a0,0x18($s0) +.PB0f00e88c: +/* f00e88c: c7a00050 */ lwc1 $f0,0x50($sp) +/* f00e890: c7ac004c */ lwc1 $f12,0x4c($sp) +/* f00e894: 10800010 */ beqz $a0,.PB0f00e8d8 +/* f00e898: c7b20048 */ lwc1 $f18,0x48($sp) +/* f00e89c: 460c003c */ c.lt.s $f0,$f12 +/* f00e8a0: 00000000 */ nop +/* f00e8a4: 45020003 */ bc1fl .PB0f00e8b4 +/* f00e8a8: 4612003c */ c.lt.s $f0,$f18 +/* f00e8ac: 46006006 */ mov.s $f0,$f12 +/* f00e8b0: 4612003c */ c.lt.s $f0,$f18 +.PB0f00e8b4: +/* f00e8b4: 00000000 */ nop +/* f00e8b8: 45020003 */ bc1fl .PB0f00e8c8 +/* f00e8bc: c4840014 */ lwc1 $f4,0x14($a0) +/* f00e8c0: 46009006 */ mov.s $f0,$f18 +/* f00e8c4: c4840014 */ lwc1 $f4,0x14($a0) +.PB0f00e8c8: +/* f00e8c8: 46002282 */ mul.s $f10,$f4,$f0 +/* f00e8cc: 44055000 */ mfc1 $a1,$f10 +/* f00e8d0: 0c006e6a */ jal 0x1b9a8 +/* f00e8d4: 00000000 */ nop +.PB0f00e8d8: +/* f00e8d8: 0fc1819b */ jal 0xf06066c +/* f00e8dc: 8fa4010c */ lw $a0,0x10c($sp) +/* f00e8e0: 0fc18128 */ jal 0xf0604a0 +/* f00e8e4: 8fa4010c */ lw $a0,0x10c($sp) +/* f00e8e8: 10000003 */ b .PB0f00e8f8 +/* f00e8ec: 8fbf0034 */ lw $ra,0x34($sp) +.PB0f00e8f0: +/* f00e8f0: ae000014 */ sw $zero,0x14($s0) +/* f00e8f4: 8fbf0034 */ lw $ra,0x34($sp) +.PB0f00e8f8: +/* f00e8f8: 8fb00030 */ lw $s0,0x30($sp) +/* f00e8fc: 27bd01c8 */ addiu $sp,$sp,0x1c8 +/* f00e900: 03e00008 */ jr $ra +/* f00e904: 00000000 */ nop +); #else GLOBAL_ASM( glabel setupDoor diff --git a/src/game/game_01d860.c b/src/game/game_01d860.c index 2bfd0a081..2310e4a24 100644 --- a/src/game/game_01d860.c +++ b/src/game/game_01d860.c @@ -58,6 +58,59 @@ glabel func0f01d860 /* f01d9d4: 03e00008 */ jr $ra /* f01d9d8: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +const char var7f1aa330[] = "language"; + +GLOBAL_ASM( +glabel func0f01d860 +/* f01d8d0: 27bdffe8 */ addiu $sp,$sp,-24 +/* f01d8d4: afbf0014 */ sw $ra,0x14($sp) +/* f01d8d8: 3c047f1b */ lui $a0,0x7f1b +/* f01d8dc: 3c058006 */ lui $a1,0x8006 +/* f01d8e0: 24a54020 */ addiu $a1,$a1,0x4020 +/* f01d8e4: 0c003648 */ jal 0xd920 +/* f01d8e8: 2484a330 */ addiu $a0,$a0,-23760 +/* f01d8ec: 3c048006 */ lui $a0,0x8006 +/* f01d8f0: 8c844020 */ lw $a0,0x4020($a0) +/* f01d8f4: 2c810005 */ sltiu $at,$a0,0x5 +/* f01d8f8: 10200006 */ beqz $at,.PB0f01d914 +/* f01d8fc: 00000000 */ nop +/* f01d900: 0fc5c097 */ jal 0xf17025c +/* f01d904: 00000000 */ nop +/* f01d908: 240e0063 */ li $t6,0x63 +/* f01d90c: 3c018006 */ lui $at,0x8006 +/* f01d910: ac2e4020 */ sw $t6,0x4020($at) +.PB0f01d914: +/* f01d914: 3c0f8008 */ lui $t7,0x8008 +/* f01d918: 8def65f0 */ lw $t7,0x65f0($t7) +/* f01d91c: 00001025 */ move $v0,$zero +/* f01d920: 240600f8 */ li $a2,0xf8 +/* f01d924: 11e00011 */ beqz $t7,.PB0f01d96c +/* f01d928: 3c05800b */ lui $a1,0x800b +/* f01d92c: 24a5f1d8 */ addiu $a1,$a1,-3624 +/* f01d930: 8cb80000 */ lw $t8,0x0($a1) +.PB0f01d934: +/* f01d934: 03021821 */ addu $v1,$t8,$v0 +/* f01d938: 94640000 */ lhu $a0,0x0($v1) +/* f01d93c: 24420002 */ addiu $v0,$v0,0x2 +/* f01d940: 0004cb82 */ srl $t9,$a0,0xe +/* f01d944: 13200007 */ beqz $t9,.PB0f01d964 +/* f01d948: 00000000 */ nop +/* f01d94c: 906b0000 */ lbu $t3,0x0($v1) +/* f01d950: 2728ffff */ addiu $t0,$t9,-1 +/* f01d954: 00085180 */ sll $t2,$t0,0x6 +/* f01d958: 316cff3f */ andi $t4,$t3,0xff3f +/* f01d95c: 014c6825 */ or $t5,$t2,$t4 +/* f01d960: a06d0000 */ sb $t5,0x0($v1) +.PB0f01d964: +/* f01d964: 5446fff3 */ bnel $v0,$a2,.PB0f01d934 +/* f01d968: 8cb80000 */ lw $t8,0x0($a1) +.PB0f01d96c: +/* f01d96c: 8fbf0014 */ lw $ra,0x14($sp) +/* f01d970: 27bd0018 */ addiu $sp,$sp,0x18 +/* f01d974: 03e00008 */ jr $ra +/* f01d978: 00000000 */ nop +); #else void func0f01d860(void) { diff --git a/src/game/game_092610.c b/src/game/game_092610.c index a52912a24..799a0f4e9 100644 --- a/src/game/game_092610.c +++ b/src/game/game_092610.c @@ -1066,6 +1066,657 @@ glabel var7f1ab740 /* f0933f0: 03e00008 */ jr $ra /* f0933f4: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel propsndTickChannel +.late_rodata +glabel var7f1ab73c +.word 0x392ec33e +glabel var7f1ab740 +.word 0x3c23d70a +.text +/* f092a54: 3c188007 */ lui $t8,0x8007 +/* f092a58: 8f18cb90 */ lw $t8,-0x3470($t8) +/* f092a5c: 27bdffa8 */ addiu $sp,$sp,-88 +/* f092a60: 00047900 */ sll $t7,$a0,0x4 +/* f092a64: 01e47823 */ subu $t7,$t7,$a0 +/* f092a68: afb00030 */ sw $s0,0x30($sp) +/* f092a6c: 000f78c0 */ sll $t7,$t7,0x3 +/* f092a70: afbf0034 */ sw $ra,0x34($sp) +/* f092a74: afa40058 */ sw $a0,0x58($sp) +/* f092a78: 01f88021 */ addu $s0,$t7,$t8 +/* f092a7c: 96190032 */ lhu $t9,0x32($s0) +/* f092a80: 00807025 */ move $t6,$a0 +/* f092a84: 332a0080 */ andi $t2,$t9,0x80 +/* f092a88: 554001f7 */ bnezl $t2,.PB0f093268 +/* f092a8c: 860e0028 */ lh $t6,0x28($s0) +/* f092a90: 860b0028 */ lh $t3,0x28($s0) +/* f092a94: 2401000b */ li $at,0xb +/* f092a98: 516101f3 */ beql $t3,$at,.PB0f093268 +/* f092a9c: 860e0028 */ lh $t6,0x28($s0) +/* f092aa0: 8e040000 */ lw $a0,0x0($s0) +/* f092aa4: 50800006 */ beqzl $a0,.PB0f092ac0 +/* f092aa8: 96030030 */ lhu $v1,0x30($s0) +/* f092aac: 0c00cf6c */ jal 0x33db0 +/* f092ab0: 00000000 */ nop +/* f092ab4: 54400010 */ bnezl $v0,.PB0f092af8 +/* f092ab8: 8e020050 */ lw $v0,0x50($s0) +/* f092abc: 96030030 */ lhu $v1,0x30($s0) +.PB0f092ac0: +/* f092ac0: 306c0002 */ andi $t4,$v1,0x2 +/* f092ac4: 5580000c */ bnezl $t4,.PB0f092af8 +/* f092ac8: 8e020050 */ lw $v0,0x50($s0) +/* f092acc: 306d1000 */ andi $t5,$v1,0x1000 +/* f092ad0: 55a00009 */ bnezl $t5,.PB0f092af8 +/* f092ad4: 8e020050 */ lw $v0,0x50($s0) +/* f092ad8: 306e0010 */ andi $t6,$v1,0x10 +/* f092adc: 51c001e2 */ beqzl $t6,.PB0f093268 +/* f092ae0: 860e0028 */ lh $t6,0x28($s0) +/* f092ae4: 0c003a80 */ jal 0xea00 +/* f092ae8: 00000000 */ nop +/* f092aec: 504001de */ beqzl $v0,.PB0f093268 +/* f092af0: 860e0028 */ lh $t6,0x28($s0) +/* f092af4: 8e020050 */ lw $v0,0x50($s0) +.PB0f092af8: +/* f092af8: 00002025 */ move $a0,$zero +/* f092afc: 00004025 */ move $t0,$zero +/* f092b00: 10400004 */ beqz $v0,.PB0f092b14 +/* f092b04: 96050032 */ lhu $a1,0x32($s0) +/* f092b08: 24440008 */ addiu $a0,$v0,0x8 +/* f092b0c: 10000006 */ b .PB0f092b28 +/* f092b10: 24480028 */ addiu $t0,$v0,0x28 +.PB0f092b14: +/* f092b14: 860f0064 */ lh $t7,0x64($s0) +/* f092b18: 2401ffff */ li $at,-1 +/* f092b1c: 51e10003 */ beql $t7,$at,.PB0f092b2c +/* f092b20: 8e020054 */ lw $v0,0x54($s0) +/* f092b24: 26080064 */ addiu $t0,$s0,0x64 +.PB0f092b28: +/* f092b28: 8e020054 */ lw $v0,0x54($s0) +.PB0f092b2c: +/* f092b2c: 3c09800a */ lui $t1,0x800a +/* f092b30: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f092b34: 10400002 */ beqz $v0,.PB0f092b40 +/* f092b38: 30aa0010 */ andi $t2,$a1,0x10 +/* f092b3c: 00402025 */ move $a0,$v0 +.PB0f092b40: +/* f092b40: 913804e3 */ lbu $t8,0x4e3($t1) +/* f092b44: 13000006 */ beqz $t8,.PB0f092b60 +/* f092b48: 00000000 */ nop +/* f092b4c: 30b90020 */ andi $t9,$a1,0x20 +/* f092b50: 13200003 */ beqz $t9,.PB0f092b60 +/* f092b54: 00000000 */ nop +/* f092b58: 10000039 */ b .PB0f092c40 +/* f092b5c: a6000004 */ sh $zero,0x4($s0) +.PB0f092b60: +/* f092b60: 11400007 */ beqz $t2,.PB0f092b80 +/* f092b64: 96030030 */ lhu $v1,0x30($s0) +/* f092b68: 306b1000 */ andi $t3,$v1,0x1000 +/* f092b6c: 516001f2 */ beqzl $t3,.PB0f093338 +/* f092b70: 8fbf0034 */ lw $ra,0x34($sp) +/* f092b74: 860c0010 */ lh $t4,0x10($s0) +/* f092b78: 10000031 */ b .PB0f092c40 +/* f092b7c: a60c0004 */ sh $t4,0x4($s0) +.PB0f092b80: +/* f092b80: 5080001f */ beqzl $a0,.PB0f092c00 +/* f092b84: 306a0020 */ andi $t2,$v1,0x20 +/* f092b88: 5100001d */ beqzl $t0,.PB0f092c00 +/* f092b8c: 306a0020 */ andi $t2,$v1,0x20 +/* f092b90: 306d8000 */ andi $t5,$v1,0x8000 +/* f092b94: 11a00003 */ beqz $t5,.PB0f092ba4 +/* f092b98: 01001025 */ move $v0,$t0 +/* f092b9c: 10000001 */ b .PB0f092ba4 +/* f092ba0: 00001025 */ move $v0,$zero +.PB0f092ba4: +/* f092ba4: 860e002c */ lh $t6,0x2c($s0) +/* f092ba8: 3c018007 */ lui $at,0x8007 +/* f092bac: 2619004c */ addiu $t9,$s0,0x4c +/* f092bb0: a42ecbd0 */ sh $t6,-0x3430($at) +/* f092bb4: 8e07003c */ lw $a3,0x3c($s0) +/* f092bb8: 8e060038 */ lw $a2,0x38($s0) +/* f092bbc: 8e050034 */ lw $a1,0x34($s0) +/* f092bc0: afa20010 */ sw $v0,0x10($sp) +/* f092bc4: 860f0026 */ lh $t7,0x26($s0) +/* f092bc8: afaf0014 */ sw $t7,0x14($sp) +/* f092bcc: 86180010 */ lh $t8,0x10($s0) +/* f092bd0: afa8004c */ sw $t0,0x4c($sp) +/* f092bd4: afa40050 */ sw $a0,0x50($sp) +/* f092bd8: afb9001c */ sw $t9,0x1c($sp) +/* f092bdc: 0fc25145 */ jal 0xf094514 +/* f092be0: afb80018 */ sw $t8,0x18($sp) +/* f092be4: 8fa40050 */ lw $a0,0x50($sp) +/* f092be8: 8fa8004c */ lw $t0,0x4c($sp) +/* f092bec: 3c09800a */ lui $t1,0x800a +/* f092bf0: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f092bf4: a6020004 */ sh $v0,0x4($s0) +/* f092bf8: 96030030 */ lhu $v1,0x30($s0) +/* f092bfc: 306a0020 */ andi $t2,$v1,0x20 +.PB0f092c00: +/* f092c00: 1540000f */ bnez $t2,.PB0f092c40 +/* f092c04: 00000000 */ nop +/* f092c08: c604004c */ lwc1 $f4,0x4c($s0) +/* f092c0c: 8e050034 */ lw $a1,0x34($s0) +/* f092c10: 8e060038 */ lw $a2,0x38($s0) +/* f092c14: 8e07003c */ lw $a3,0x3c($s0) +/* f092c18: 306b0800 */ andi $t3,$v1,0x800 +/* f092c1c: afab0014 */ sw $t3,0x14($sp) +/* f092c20: afa8004c */ sw $t0,0x4c($sp) +/* f092c24: afb00018 */ sw $s0,0x18($sp) +/* f092c28: 0fc252f7 */ jal 0xf094bdc +/* f092c2c: e7a40010 */ swc1 $f4,0x10($sp) +/* f092c30: 8fa8004c */ lw $t0,0x4c($sp) +/* f092c34: 3c09800a */ lui $t1,0x800a +/* f092c38: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f092c3c: a602000a */ sh $v0,0xa($s0) +.PB0f092c40: +/* f092c40: 5100000a */ beqzl $t0,.PB0f092c6c +/* f092c44: 240e0001 */ li $t6,0x1 +/* f092c48: 850c0000 */ lh $t4,0x0($t0) +/* f092c4c: 2401ffff */ li $at,-1 +/* f092c50: 51810006 */ beql $t4,$at,.PB0f092c6c +/* f092c54: 240e0001 */ li $t6,0x1 +/* f092c58: 240d0001 */ li $t5,0x1 +/* f092c5c: a600000c */ sh $zero,0xc($s0) +/* f092c60: 10000004 */ b .PB0f092c74 +/* f092c64: a20d001a */ sb $t5,0x1a($s0) +/* f092c68: 240e0001 */ li $t6,0x1 +.PB0f092c6c: +/* f092c6c: a600000c */ sh $zero,0xc($s0) +/* f092c70: a20e001a */ sb $t6,0x1a($s0) +.PB0f092c74: +/* f092c74: 8e0f0000 */ lw $t7,0x0($s0) +/* f092c78: 51e00026 */ beqzl $t7,.PB0f092d14 +/* f092c7c: 3c01bf80 */ lui $at,0xbf80 +/* f092c80: c6000044 */ lwc1 $f0,0x44($s0) +/* f092c84: 44803000 */ mtc1 $zero,$f6 +/* f092c88: 00000000 */ nop +/* f092c8c: 4600303c */ c.lt.s $f6,$f0 +/* f092c90: 00000000 */ nop +/* f092c94: 4502001f */ bc1fl .PB0f092d14 +/* f092c98: 3c01bf80 */ lui $at,0xbf80 +/* f092c9c: c6020048 */ lwc1 $f2,0x48($s0) +/* f092ca0: 44804000 */ mtc1 $zero,$f8 +/* f092ca4: 00000000 */ nop +/* f092ca8: 4608103c */ c.lt.s $f2,$f8 +/* f092cac: 00000000 */ nop +/* f092cb0: 45020004 */ bc1fl .PB0f092cc4 +/* f092cb4: 8e180020 */ lw $t8,0x20($s0) +/* f092cb8: 10000018 */ b .PB0f092d1c +/* f092cbc: 46000486 */ mov.s $f18,$f0 +/* f092cc0: 8e180020 */ lw $t8,0x20($s0) +.PB0f092cc4: +/* f092cc4: 44802000 */ mtc1 $zero,$f4 +/* f092cc8: 44985000 */ mtc1 $t8,$f10 +/* f092ccc: 00000000 */ nop +/* f092cd0: 46805320 */ cvt.s.w $f12,$f10 +/* f092cd4: 460c203c */ c.lt.s $f4,$f12 +/* f092cd8: 00000000 */ nop +/* f092cdc: 4500000a */ bc1f .PB0f092d08 +/* f092ce0: 00000000 */ nop +/* f092ce4: 8d390034 */ lw $t9,0x34($t1) +/* f092ce8: 46020181 */ sub.s $f6,$f0,$f2 +/* f092cec: 44994000 */ mtc1 $t9,$f8 +/* f092cf0: 00000000 */ nop +/* f092cf4: 468042a0 */ cvt.s.w $f10,$f8 +/* f092cf8: 460a3102 */ mul.s $f4,$f6,$f10 +/* f092cfc: 460c2203 */ div.s $f8,$f4,$f12 +/* f092d00: 10000006 */ b .PB0f092d1c +/* f092d04: 46081480 */ add.s $f18,$f2,$f8 +.PB0f092d08: +/* f092d08: 10000004 */ b .PB0f092d1c +/* f092d0c: 46000486 */ mov.s $f18,$f0 +/* f092d10: 3c01bf80 */ lui $at,0xbf80 +.PB0f092d14: +/* f092d14: 44819000 */ mtc1 $at,$f18 +/* f092d18: 00000000 */ nop +.PB0f092d1c: +/* f092d1c: 86040006 */ lh $a0,0x6($s0) +/* f092d20: 2401ffff */ li $at,-1 +/* f092d24: 8608000c */ lh $t0,0xc($s0) +/* f092d28: 14810003 */ bne $a0,$at,.PB0f092d38 +/* f092d2c: 00802825 */ move $a1,$a0 +/* f092d30: 10000050 */ b .PB0f092e74 +/* f092d34: 86050004 */ lh $a1,0x4($s0) +.PB0f092d38: +/* f092d38: 8e02001c */ lw $v0,0x1c($s0) +/* f092d3c: 0442001a */ bltzl $v0,.PB0f092da8 +/* f092d40: 86030018 */ lh $v1,0x18($s0) +/* f092d44: 8d230038 */ lw $v1,0x38($t1) +/* f092d48: 0062082a */ slt $at,$v1,$v0 +/* f092d4c: 10200013 */ beqz $at,.PB0f092d9c +/* f092d50: 00437023 */ subu $t6,$v0,$v1 +/* f092d54: 860a0004 */ lh $t2,0x4($s0) +/* f092d58: 01445823 */ subu $t3,$t2,$a0 +/* f092d5c: 01630019 */ multu $t3,$v1 +/* f092d60: 00006012 */ mflo $t4 +/* f092d64: 00000000 */ nop +/* f092d68: 00000000 */ nop +/* f092d6c: 0182001a */ div $zero,$t4,$v0 +/* f092d70: 00006812 */ mflo $t5 +/* f092d74: 008d2821 */ addu $a1,$a0,$t5 +/* f092d78: 14400002 */ bnez $v0,.PB0f092d84 +/* f092d7c: 00000000 */ nop +/* f092d80: 0007000d */ break 0x7 +.PB0f092d84: +/* f092d84: 2401ffff */ li $at,-1 +/* f092d88: 14410004 */ bne $v0,$at,.PB0f092d9c +/* f092d8c: 3c018000 */ lui $at,0x8000 +/* f092d90: 15810002 */ bne $t4,$at,.PB0f092d9c +/* f092d94: 00000000 */ nop +/* f092d98: 0006000d */ break 0x6 +.PB0f092d9c: +/* f092d9c: 10000035 */ b .PB0f092e74 +/* f092da0: ae0e001c */ sw $t6,0x1c($s0) +/* f092da4: 86030018 */ lh $v1,0x18($s0) +.PB0f092da8: +/* f092da8: 50600032 */ beqzl $v1,.PB0f092e74 +/* f092dac: 86050004 */ lh $a1,0x4($s0) +/* f092db0: 86020004 */ lh $v0,0x4($s0) +/* f092db4: 3c017f1b */ lui $at,0x7f1b +/* f092db8: 1044002d */ beq $v0,$a0,.PB0f092e70 +/* f092dbc: 00447823 */ subu $t7,$v0,$a0 +/* f092dc0: 448f3000 */ mtc1 $t7,$f6 +/* f092dc4: c42ad37c */ lwc1 $f10,-0x2c84($at) +/* f092dc8: c524004c */ lwc1 $f4,0x4c($t1) +/* f092dcc: 46803320 */ cvt.s.w $f12,$f6 +/* f092dd0: 44833000 */ mtc1 $v1,$f6 +/* f092dd4: 46045202 */ mul.s $f8,$f10,$f4 +/* f092dd8: 44802000 */ mtc1 $zero,$f4 +/* f092ddc: 3c013f80 */ lui $at,0x3f80 +/* f092de0: 44818000 */ mtc1 $at,$f16 +/* f092de4: 460c203c */ c.lt.s $f4,$f12 +/* f092de8: 468032a0 */ cvt.s.w $f10,$f6 +/* f092dec: 460a4382 */ mul.s $f14,$f8,$f10 +/* f092df0: 45020004 */ bc1fl .PB0f092e04 +/* f092df4: 46006007 */ neg.s $f0,$f12 +/* f092df8: 10000002 */ b .PB0f092e04 +/* f092dfc: 46006006 */ mov.s $f0,$f12 +/* f092e00: 46006007 */ neg.s $f0,$f12 +.PB0f092e04: +/* f092e04: 4600803c */ c.lt.s $f16,$f0 +/* f092e08: 00000000 */ nop +/* f092e0c: 4502001a */ bc1fl .PB0f092e78 +/* f092e10: afa50048 */ sw $a1,0x48($sp) +/* f092e14: 460e803c */ c.lt.s $f16,$f14 +/* f092e18: 00000000 */ nop +/* f092e1c: 45000002 */ bc1f .PB0f092e28 +/* f092e20: 00000000 */ nop +/* f092e24: 46008386 */ mov.s $f14,$f16 +.PB0f092e28: +/* f092e28: 460c7082 */ mul.s $f2,$f14,$f12 +/* f092e2c: 44803000 */ mtc1 $zero,$f6 +/* f092e30: 00000000 */ nop +/* f092e34: 4602303c */ c.lt.s $f6,$f2 +/* f092e38: 00000000 */ nop +/* f092e3c: 45020004 */ bc1fl .PB0f092e50 +/* f092e40: 46001007 */ neg.s $f0,$f2 +/* f092e44: 10000002 */ b .PB0f092e50 +/* f092e48: 46001006 */ mov.s $f0,$f2 +/* f092e4c: 46001007 */ neg.s $f0,$f2 +.PB0f092e50: +/* f092e50: 4600803c */ c.lt.s $f16,$f0 +/* f092e54: 00000000 */ nop +/* f092e58: 45020007 */ bc1fl .PB0f092e78 +/* f092e5c: afa50048 */ sw $a1,0x48($sp) +/* f092e60: 4600120d */ trunc.w.s $f8,$f2 +/* f092e64: 44194000 */ mfc1 $t9,$f8 +/* f092e68: 10000002 */ b .PB0f092e74 +/* f092e6c: 00992821 */ addu $a1,$a0,$t9 +.PB0f092e70: +/* f092e70: 86050004 */ lh $a1,0x4($s0) +.PB0f092e74: +/* f092e74: afa50048 */ sw $a1,0x48($sp) +.PB0f092e78: +/* f092e78: afa80040 */ sw $t0,0x40($sp) +/* f092e7c: 0fc5b9b8 */ jal 0xf16e6e0 +/* f092e80: e7b2003c */ swc1 $f18,0x3c($sp) +/* f092e84: 3c09800a */ lui $t1,0x800a +/* f092e88: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f092e8c: 8fa80040 */ lw $t0,0x40($sp) +/* f092e90: 14400031 */ bnez $v0,.PB0f092f58 +/* f092e94: c7b2003c */ lwc1 $f18,0x3c($sp) +/* f092e98: afa80040 */ sw $t0,0x40($sp) +/* f092e9c: 0fc62c79 */ jal 0xf18b1e4 +/* f092ea0: e7b2003c */ swc1 $f18,0x3c($sp) +/* f092ea4: 3c09800a */ lui $t1,0x800a +/* f092ea8: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f092eac: 8fa80040 */ lw $t0,0x40($sp) +/* f092eb0: 10400005 */ beqz $v0,.PB0f092ec8 +/* f092eb4: c7b2003c */ lwc1 $f18,0x3c($sp) +/* f092eb8: 960a0032 */ lhu $t2,0x32($s0) +/* f092ebc: 314b0002 */ andi $t3,$t2,0x2 +/* f092ec0: 55600026 */ bnezl $t3,.PB0f092f5c +/* f092ec4: 240bffff */ li $t3,-1 +.PB0f092ec8: +/* f092ec8: afa80040 */ sw $t0,0x40($sp) +/* f092ecc: 0fc62c79 */ jal 0xf18b1e4 +/* f092ed0: e7b2003c */ swc1 $f18,0x3c($sp) +/* f092ed4: 3c09800a */ lui $t1,0x800a +/* f092ed8: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f092edc: 8fa80040 */ lw $t0,0x40($sp) +/* f092ee0: 10400020 */ beqz $v0,.PB0f092f64 +/* f092ee4: c7b2003c */ lwc1 $f18,0x3c($sp) +/* f092ee8: 8d2c006c */ lw $t4,0x6c($t1) +/* f092eec: 24010001 */ li $at,0x1 +/* f092ef0: 00002025 */ move $a0,$zero +/* f092ef4: 11800003 */ beqz $t4,.PB0f092f04 +/* f092ef8: 00001025 */ move $v0,$zero +/* f092efc: 10000001 */ b .PB0f092f04 +/* f092f00: 24040001 */ li $a0,0x1 +.PB0f092f04: +/* f092f04: 8d2d0068 */ lw $t5,0x68($t1) +/* f092f08: 00001825 */ move $v1,$zero +/* f092f0c: 00003825 */ move $a3,$zero +/* f092f10: 11a00003 */ beqz $t5,.PB0f092f20 +/* f092f14: 00000000 */ nop +/* f092f18: 10000001 */ b .PB0f092f20 +/* f092f1c: 24020001 */ li $v0,0x1 +.PB0f092f20: +/* f092f20: 8d2e0064 */ lw $t6,0x64($t1) +/* f092f24: 11c00003 */ beqz $t6,.PB0f092f34 +/* f092f28: 00000000 */ nop +/* f092f2c: 10000001 */ b .PB0f092f34 +/* f092f30: 24030001 */ li $v1,0x1 +.PB0f092f34: +/* f092f34: 8d2f0070 */ lw $t7,0x70($t1) +/* f092f38: 11e00003 */ beqz $t7,.PB0f092f48 +/* f092f3c: 00000000 */ nop +/* f092f40: 10000001 */ b .PB0f092f48 +/* f092f44: 24070001 */ li $a3,0x1 +.PB0f092f48: +/* f092f48: 00e3c021 */ addu $t8,$a3,$v1 +/* f092f4c: 0302c821 */ addu $t9,$t8,$v0 +/* f092f50: 03245021 */ addu $t2,$t9,$a0 +/* f092f54: 15410003 */ bne $t2,$at,.PB0f092f64 +.PB0f092f58: +/* f092f58: 240bffff */ li $t3,-1 +.PB0f092f5c: +/* f092f5c: a60b0006 */ sh $t3,0x6($s0) +/* f092f60: afa00048 */ sw $zero,0x48($sp) +.PB0f092f64: +/* f092f64: 8fac0048 */ lw $t4,0x48($sp) +/* f092f68: 860d0006 */ lh $t5,0x6($s0) +/* f092f6c: 44805000 */ mtc1 $zero,$f10 +/* f092f70: 518d0004 */ beql $t4,$t5,.PB0f092f84 +/* f092f74: 240effff */ li $t6,-1 +/* f092f78: 10000003 */ b .PB0f092f88 +/* f092f7c: a60c0006 */ sh $t4,0x6($s0) +/* f092f80: 240effff */ li $t6,-1 +.PB0f092f84: +/* f092f84: afae0048 */ sw $t6,0x48($sp) +.PB0f092f88: +/* f092f88: 86040008 */ lh $a0,0x8($s0) +/* f092f8c: 8602000a */ lh $v0,0xa($s0) +/* f092f90: 50820028 */ beql $a0,$v0,.PB0f093034 +/* f092f94: 2419ffff */ li $t9,-1 +/* f092f98: 960f0030 */ lhu $t7,0x30($s0) +/* f092f9c: 31f81000 */ andi $t8,$t7,0x1000 +/* f092fa0: 53000006 */ beqzl $t8,.PB0f092fbc +/* f092fa4: 8d250034 */ lw $a1,0x34($t1) +/* f092fa8: a6020008 */ sh $v0,0x8($s0) +/* f092fac: 86190008 */ lh $t9,0x8($s0) +/* f092fb0: 1000001b */ b .PB0f093020 +/* f092fb4: afb90044 */ sw $t9,0x44($sp) +/* f092fb8: 8d250034 */ lw $a1,0x34($t1) +.PB0f092fbc: +/* f092fbc: 240100f0 */ li $at,0xf0 +/* f092fc0: 00441823 */ subu $v1,$v0,$a0 +/* f092fc4: 00055240 */ sll $t2,$a1,0x9 +/* f092fc8: 0141001a */ div $zero,$t2,$at +/* f092fcc: 00002812 */ mflo $a1 +/* f092fd0: 24060001 */ li $a2,0x1 +/* f092fd4: 04610003 */ bgez $v1,.PB0f092fe4 +/* f092fd8: 00031023 */ negu $v0,$v1 +/* f092fdc: 10000001 */ b .PB0f092fe4 +/* f092fe0: 2406ffff */ li $a2,-1 +.PB0f092fe4: +/* f092fe4: 18600003 */ blez $v1,.PB0f092ff4 +/* f092fe8: 00000000 */ nop +/* f092fec: 10000001 */ b .PB0f092ff4 +/* f092ff0: 00601025 */ move $v0,$v1 +.PB0f092ff4: +/* f092ff4: 0045082a */ slt $at,$v0,$a1 +/* f092ff8: 10200003 */ beqz $at,.PB0f093008 +/* f092ffc: 00a01825 */ move $v1,$a1 +/* f093000: 10000001 */ b .PB0f093008 +/* f093004: 00401825 */ move $v1,$v0 +.PB0f093008: +/* f093008: 00660019 */ multu $v1,$a2 +/* f09300c: 00006812 */ mflo $t5 +/* f093010: 008d6021 */ addu $t4,$a0,$t5 +/* f093014: a60c0008 */ sh $t4,0x8($s0) +/* f093018: 860e0008 */ lh $t6,0x8($s0) +/* f09301c: afae0044 */ sw $t6,0x44($sp) +.PB0f093020: +/* f093020: 960f0030 */ lhu $t7,0x30($s0) +/* f093024: 35f84000 */ ori $t8,$t7,0x4000 +/* f093028: 10000003 */ b .PB0f093038 +/* f09302c: a6180030 */ sh $t8,0x30($s0) +/* f093030: 2419ffff */ li $t9,-1 +.PB0f093034: +/* f093034: afb90044 */ sw $t9,0x44($sp) +.PB0f093038: +/* f093038: 860a000e */ lh $t2,0xe($s0) +/* f09303c: 510a0004 */ beql $t0,$t2,.PB0f093050 +/* f093040: 2408ffff */ li $t0,-1 +/* f093044: 10000002 */ b .PB0f093050 +/* f093048: a608000e */ sh $t0,0xe($s0) +/* f09304c: 2408ffff */ li $t0,-1 +.PB0f093050: +/* f093050: 4612503c */ c.lt.s $f10,$f18 +/* f093054: 00000000 */ nop +/* f093058: 45020013 */ bc1fl .PB0f0930a8 +/* f09305c: 3c01bf80 */ lui $at,0xbf80 +/* f093060: c6020048 */ lwc1 $f2,0x48($s0) +/* f093064: 3c017f1b */ lui $at,0x7f1b +/* f093068: 4612103c */ c.lt.s $f2,$f18 +/* f09306c: 00000000 */ nop +/* f093070: 45020004 */ bc1fl .PB0f093084 +/* f093074: 46029001 */ sub.s $f0,$f18,$f2 +/* f093078: 10000003 */ b .PB0f093088 +/* f09307c: 46029001 */ sub.s $f0,$f18,$f2 +/* f093080: 46029001 */ sub.s $f0,$f18,$f2 +.PB0f093084: +/* f093084: 46000007 */ neg.s $f0,$f0 +.PB0f093088: +/* f093088: c424d380 */ lwc1 $f4,-0x2c80($at) +/* f09308c: 4600203c */ c.lt.s $f4,$f0 +/* f093090: 00000000 */ nop +/* f093094: 45020004 */ bc1fl .PB0f0930a8 +/* f093098: 3c01bf80 */ lui $at,0xbf80 +/* f09309c: 10000004 */ b .PB0f0930b0 +/* f0930a0: e6120048 */ swc1 $f18,0x48($s0) +/* f0930a4: 3c01bf80 */ lui $at,0xbf80 +.PB0f0930a8: +/* f0930a8: 44819000 */ mtc1 $at,$f18 +/* f0930ac: 00000000 */ nop +.PB0f0930b0: +/* f0930b0: 96030030 */ lhu $v1,0x30($s0) +/* f0930b4: 306b0002 */ andi $t3,$v1,0x2 +/* f0930b8: 51600026 */ beqzl $t3,.PB0f093154 +/* f0930bc: 306c2000 */ andi $t4,$v1,0x2000 +/* f0930c0: 860d0006 */ lh $t5,0x6($s0) +/* f0930c4: 306c2000 */ andi $t4,$v1,0x2000 +/* f0930c8: 30792000 */ andi $t9,$v1,0x2000 +/* f0930cc: 19a00008 */ blez $t5,.PB0f0930f0 +/* f0930d0: 00000000 */ nop +/* f0930d4: 1180001e */ beqz $t4,.PB0f093150 +/* f0930d8: 306fdfff */ andi $t7,$v1,0xdfff +/* f0930dc: a60f0030 */ sh $t7,0x30($s0) +/* f0930e0: 35f81000 */ ori $t8,$t7,0x1000 +/* f0930e4: a6180030 */ sh $t8,0x30($s0) +/* f0930e8: 10000019 */ b .PB0f093150 +/* f0930ec: 3303ffff */ andi $v1,$t8,0xffff +.PB0f0930f0: +/* f0930f0: 57200015 */ bnezl $t9,.PB0f093148 +/* f0930f4: 306defff */ andi $t5,$v1,0xefff +/* f0930f8: 8e040000 */ lw $a0,0x0($s0) +/* f0930fc: 5080000e */ beqzl $a0,.PB0f093138 +/* f093100: 960a0030 */ lhu $t2,0x30($s0) +/* f093104: afa80040 */ sw $t0,0x40($sp) +/* f093108: 0c00cf6c */ jal 0x33db0 +/* f09310c: e7b2003c */ swc1 $f18,0x3c($sp) +/* f093110: 8fa80040 */ lw $t0,0x40($sp) +/* f093114: 10400007 */ beqz $v0,.PB0f093134 +/* f093118: c7b2003c */ lwc1 $f18,0x3c($sp) +/* f09311c: 8e040000 */ lw $a0,0x0($s0) +/* f093120: e7b2003c */ swc1 $f18,0x3c($sp) +/* f093124: 0c00d039 */ jal 0x340e4 +/* f093128: afa80040 */ sw $t0,0x40($sp) +/* f09312c: 8fa80040 */ lw $t0,0x40($sp) +/* f093130: c7b2003c */ lwc1 $f18,0x3c($sp) +.PB0f093134: +/* f093134: 960a0030 */ lhu $t2,0x30($s0) +.PB0f093138: +/* f093138: 354b2000 */ ori $t3,$t2,0x2000 +/* f09313c: a60b0030 */ sh $t3,0x30($s0) +/* f093140: 3163ffff */ andi $v1,$t3,0xffff +/* f093144: 306defff */ andi $t5,$v1,0xefff +.PB0f093148: +/* f093148: a60d0030 */ sh $t5,0x30($s0) +/* f09314c: 31a3ffff */ andi $v1,$t5,0xffff +.PB0f093150: +/* f093150: 306c2000 */ andi $t4,$v1,0x2000 +.PB0f093154: +/* f093154: 15800068 */ bnez $t4,.PB0f0932f8 +/* f093158: 306e1000 */ andi $t6,$v1,0x1000 +/* f09315c: 11c00033 */ beqz $t6,.PB0f09322c +/* f093160: 02002025 */ move $a0,$s0 +/* f093164: 30650010 */ andi $a1,$v1,0x10 +/* f093168: 10a0000d */ beqz $a1,.PB0f0931a0 +/* f09316c: 30790400 */ andi $t9,$v1,0x400 +/* f093170: 960f0032 */ lhu $t7,0x32($s0) +/* f093174: 8fa50048 */ lw $a1,0x48($sp) +/* f093178: 8fa60044 */ lw $a2,0x44($sp) +/* f09317c: 31f80001 */ andi $t8,$t7,0x1 +/* f093180: 13000003 */ beqz $t8,.PB0f093190 +/* f093184: 00003825 */ move $a3,$zero +/* f093188: 10000001 */ b .PB0f093190 +/* f09318c: 24070001 */ li $a3,0x1 +.PB0f093190: +/* f093190: 0c0042cc */ jal 0x10b30 +/* f093194: 86040026 */ lh $a0,0x26($s0) +/* f093198: 10000021 */ b .PB0f093220 +/* f09319c: 96030030 */ lhu $v1,0x30($s0) +.PB0f0931a0: +/* f0931a0: 13200011 */ beqz $t9,.PB0f0931e8 +/* f0931a4: 8fae0048 */ lw $t6,0x48($sp) +/* f0931a8: 8faa0048 */ lw $t2,0x48($sp) +/* f0931ac: 02002025 */ move $a0,$s0 +/* f0931b0: 8fa70044 */ lw $a3,0x44($sp) +/* f0931b4: 1140001a */ beqz $t2,.PB0f093220 +/* f0931b8: 01403025 */ move $a2,$t2 +/* f0931bc: 860b0026 */ lh $t3,0x26($s0) +/* f0931c0: e7b20014 */ swc1 $f18,0x14($sp) +/* f0931c4: 240c0001 */ li $t4,0x1 +/* f0931c8: afab0010 */ sw $t3,0x10($sp) +/* f0931cc: 920d001a */ lbu $t5,0x1a($s0) +/* f0931d0: afac0020 */ sw $t4,0x20($sp) +/* f0931d4: afa8001c */ sw $t0,0x1c($sp) +/* f0931d8: 0c0041d9 */ jal 0x10764 +/* f0931dc: afad0018 */ sw $t5,0x18($sp) +/* f0931e0: 1000000f */ b .PB0f093220 +/* f0931e4: 96030030 */ lhu $v1,0x30($s0) +.PB0f0931e8: +/* f0931e8: 11c0000d */ beqz $t6,.PB0f093220 +/* f0931ec: 02002025 */ move $a0,$s0 +/* f0931f0: 860f0026 */ lh $t7,0x26($s0) +/* f0931f4: e7b20014 */ swc1 $f18,0x14($sp) +/* f0931f8: 24190001 */ li $t9,0x1 +/* f0931fc: afaf0010 */ sw $t7,0x10($sp) +/* f093200: 9218001a */ lbu $t8,0x1a($s0) +/* f093204: afb90020 */ sw $t9,0x20($sp) +/* f093208: afa8001c */ sw $t0,0x1c($sp) +/* f09320c: 01c03025 */ move $a2,$t6 +/* f093210: 8fa70044 */ lw $a3,0x44($sp) +/* f093214: 0c0041d9 */ jal 0x10764 +/* f093218: afb80018 */ sw $t8,0x18($sp) +/* f09321c: 96030030 */ lhu $v1,0x30($s0) +.PB0f093220: +/* f093220: 306aefff */ andi $t2,$v1,0xefff +/* f093224: 10000034 */ b .PB0f0932f8 +/* f093228: a60a0030 */ sh $t2,0x30($s0) +.PB0f09322c: +/* f09322c: 860b0026 */ lh $t3,0x26($s0) +/* f093230: e7b20014 */ swc1 $f18,0x14($sp) +/* f093234: 306c4000 */ andi $t4,$v1,0x4000 +/* f093238: afab0010 */ sw $t3,0x10($sp) +/* f09323c: 920d001a */ lbu $t5,0x1a($s0) +/* f093240: afac0020 */ sw $t4,0x20($sp) +/* f093244: afa8001c */ sw $t0,0x1c($sp) +/* f093248: 30650010 */ andi $a1,$v1,0x10 +/* f09324c: 8fa60048 */ lw $a2,0x48($sp) +/* f093250: 8fa70044 */ lw $a3,0x44($sp) +/* f093254: 0c00413b */ jal 0x104ec +/* f093258: afad0018 */ sw $t5,0x18($sp) +/* f09325c: 10000026 */ b .PB0f0932f8 +/* f093260: 00000000 */ nop +/* f093264: 860e0028 */ lh $t6,0x28($s0) +.PB0f093268: +/* f093268: 2401000b */ li $at,0xb +/* f09326c: 11c10022 */ beq $t6,$at,.PB0f0932f8 +/* f093270: 00000000 */ nop +/* f093274: 96030030 */ lhu $v1,0x30($s0) +/* f093278: 306f0010 */ andi $t7,$v1,0x10 +/* f09327c: 51e00015 */ beqzl $t7,.PB0f0932d4 +/* f093280: 8e0b0000 */ lw $t3,0x0($s0) +/* f093284: 0c003a80 */ jal 0xea00 +/* f093288: 00000000 */ nop +/* f09328c: 5440000e */ bnezl $v0,.PB0f0932c8 +/* f093290: 240a0001 */ li $t2,0x1 +/* f093294: 96030030 */ lhu $v1,0x30($s0) +/* f093298: 30780008 */ andi $t8,$v1,0x8 +/* f09329c: 53000005 */ beqzl $t8,.PB0f0932b4 +/* f0932a0: 30790200 */ andi $t9,$v1,0x200 +/* f0932a4: 0fc16b4d */ jal 0xf05ad34 +/* f0932a8: 8e040050 */ lw $a0,0x50($s0) +/* f0932ac: 96030030 */ lhu $v1,0x30($s0) +/* f0932b0: 30790200 */ andi $t9,$v1,0x200 +.PB0f0932b4: +/* f0932b4: 53200004 */ beqzl $t9,.PB0f0932c8 +/* f0932b8: 240a0001 */ li $t2,0x1 +/* f0932bc: 0fc37875 */ jal 0xf0de1d4 +/* f0932c0: 8fa40058 */ lw $a0,0x58($sp) +/* f0932c4: 240a0001 */ li $t2,0x1 +.PB0f0932c8: +/* f0932c8: 1000000b */ b .PB0f0932f8 +/* f0932cc: a60a0030 */ sh $t2,0x30($s0) +/* f0932d0: 8e0b0000 */ lw $t3,0x0($s0) +.PB0f0932d4: +/* f0932d4: 306d0008 */ andi $t5,$v1,0x8 +/* f0932d8: 15600007 */ bnez $t3,.PB0f0932f8 +/* f0932dc: 00000000 */ nop +/* f0932e0: 51a00004 */ beqzl $t5,.PB0f0932f4 +/* f0932e4: 240c0001 */ li $t4,0x1 +/* f0932e8: 0fc16b4d */ jal 0xf05ad34 +/* f0932ec: 8e040050 */ lw $a0,0x50($s0) +/* f0932f0: 240c0001 */ li $t4,0x1 +.PB0f0932f4: +/* f0932f4: a60c0030 */ sh $t4,0x30($s0) +.PB0f0932f8: +/* f0932f8: 3c0e8007 */ lui $t6,0x8007 +/* f0932fc: 8dcecbc4 */ lw $t6,-0x343c($t6) +/* f093300: 51c00008 */ beqzl $t6,.PB0f093324 +/* f093304: 96190030 */ lhu $t9,0x30($s0) +/* f093308: 960f0032 */ lhu $t7,0x32($s0) +/* f09330c: 31f80004 */ andi $t8,$t7,0x4 +/* f093310: 53000004 */ beqzl $t8,.PB0f093324 +/* f093314: 96190030 */ lhu $t9,0x30($s0) +/* f093318: 0fc24a68 */ jal 0xf0929a0 +/* f09331c: 02002025 */ move $a0,$s0 +/* f093320: 96190030 */ lhu $t9,0x30($s0) +.PB0f093324: +/* f093324: 332befff */ andi $t3,$t9,0xefff +/* f093328: a60b0030 */ sh $t3,0x30($s0) +/* f09332c: 316dbfff */ andi $t5,$t3,0xbfff +/* f093330: a60d0030 */ sh $t5,0x30($s0) +/* f093334: 8fbf0034 */ lw $ra,0x34($sp) +.PB0f093338: +/* f093338: 8fb00030 */ lw $s0,0x30($sp) +/* f09333c: 27bd0058 */ addiu $sp,$sp,0x58 +/* f093340: 03e00008 */ jr $ra +/* f093344: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel propsndTickChannel diff --git a/src/game/game_0abe70.c b/src/game/game_0abe70.c index aca7dd463..c8cb83d42 100644 --- a/src/game/game_0abe70.c +++ b/src/game/game_0abe70.c @@ -2289,7 +2289,7 @@ struct casing *casingCreate(struct modelfiledata *modeldef, Mtxf *mtx) return NULL; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel func0f0ade00 .late_rodata diff --git a/src/game/game_0b0fd0.c b/src/game/game_0b0fd0.c index d18d42e66..b5025b1e6 100644 --- a/src/game/game_0b0fd0.c +++ b/src/game/game_0b0fd0.c @@ -654,9 +654,12 @@ s8 weaponGetNumTicksPerShot(u32 weaponnum, u32 funcindex) result = 3600.0f / autofunc->maxfirerate; } +#if VERSION != VERSION_PAL_BETA + // PAL beta removes this check, only for it to be added back in PAL final if (result > 3) { result = TICKS(result); } +#endif return result; } diff --git a/src/game/game_10c9c0.c b/src/game/game_10c9c0.c index 0d8adc95d..8006b3b94 100644 --- a/src/game/game_10c9c0.c +++ b/src/game/game_10c9c0.c @@ -128,6 +128,76 @@ glabel func0f10cb2c /* f10d59c: 03e00008 */ jr $ra /* f10d5a0: ac2a1728 */ sw $t2,0x1728($at) ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f10cb2c +/* f10d20c: 3c0e8007 */ lui $t6,0x8007 +/* f10d210: 8dce3118 */ lw $t6,0x3118($t6) +/* f10d214: 3c028006 */ lui $v0,0x8006 +/* f10d218: 3c018007 */ lui $at,0x8007 +/* f10d21c: 24424000 */ addiu $v0,$v0,0x4000 +/* f10d220: ac203118 */ sw $zero,0x3118($at) +/* f10d224: 904f0000 */ lbu $t7,0x0($v0) +/* f10d228: 27bdffd8 */ addiu $sp,$sp,-40 +/* f10d22c: afbf001c */ sw $ra,0x1c($sp) +/* f10d230: afb10018 */ sw $s1,0x18($sp) +/* f10d234: afb00014 */ sw $s0,0x14($sp) +/* f10d238: 11e0000e */ beqz $t7,.PB0f10d274 +/* f10d23c: afae0020 */ sw $t6,0x20($sp) +/* f10d240: 3c188009 */ lui $t8,0x8009 +/* f10d244: 8f189740 */ lw $t8,-0x68c0($t8) +/* f10d248: 3c10800a */ lui $s0,0x800a +/* f10d24c: 2610e4d0 */ addiu $s0,$s0,-6960 +/* f10d250: 17000024 */ bnez $t8,.PB0f10d2e4 +/* f10d254: 24190002 */ li $t9,0x2 +/* f10d258: 3c048007 */ lui $a0,0x8007 +/* f10d25c: ae190490 */ sw $t9,0x490($s0) +/* f10d260: 24847068 */ addiu $a0,$a0,0x7068 +/* f10d264: 0fc3e223 */ jal 0xf0f888c +/* f10d268: 2405000b */ li $a1,0xb +/* f10d26c: 1000001e */ b .PB0f10d2e8 +/* f10d270: 8fbf001c */ lw $ra,0x1c($sp) +.PB0f10d274: +/* f10d274: 24080001 */ li $t0,0x1 +/* f10d278: a0480000 */ sb $t0,0x0($v0) +/* f10d27c: 00008025 */ move $s0,$zero +/* f10d280: 24110006 */ li $s1,0x6 +/* f10d284: 02002025 */ move $a0,$s0 +.PB0f10d288: +/* f10d288: 0fc626a7 */ jal 0xf189a9c +/* f10d28c: 24050001 */ li $a1,0x1 +/* f10d290: 26100001 */ addiu $s0,$s0,0x1 +/* f10d294: 5611fffc */ bnel $s0,$s1,.PB0f10d288 +/* f10d298: 02002025 */ move $a0,$s0 +/* f10d29c: 3c10800a */ lui $s0,0x800a +/* f10d2a0: 2610e4d0 */ addiu $s0,$s0,-6960 +/* f10d2a4: 2402ffff */ li $v0,-1 +/* f10d2a8: ae000294 */ sw $zero,0x294($s0) +/* f10d2ac: ae020298 */ sw $v0,0x298($s0) +/* f10d2b0: 0fc67317 */ jal 0xf19cc5c +/* f10d2b4: ae02029c */ sw $v0,0x29c($s0) +/* f10d2b8: 3c048007 */ lui $a0,0x8007 +/* f10d2bc: 24846cf4 */ addiu $a0,$a0,0x6cf4 +/* f10d2c0: 0fc3e223 */ jal 0xf0f888c +/* f10d2c4: 2405000a */ li $a1,0xa +/* f10d2c8: 96090482 */ lhu $t1,0x482($s0) +/* f10d2cc: 3c048007 */ lui $a0,0x8007 +/* f10d2d0: 29210006 */ slti $at,$t1,0x6 +/* f10d2d4: 54200004 */ bnezl $at,.PB0f10d2e8 +/* f10d2d8: 8fbf001c */ lw $ra,0x1c($sp) +/* f10d2dc: 0fc3cd2e */ jal 0xf0f34b8 +/* f10d2e0: 24846120 */ addiu $a0,$a0,0x6120 +.PB0f10d2e4: +/* f10d2e4: 8fbf001c */ lw $ra,0x1c($sp) +.PB0f10d2e8: +/* f10d2e8: 8faa0020 */ lw $t2,0x20($sp) +/* f10d2ec: 3c018007 */ lui $at,0x8007 +/* f10d2f0: 8fb00014 */ lw $s0,0x14($sp) +/* f10d2f4: 8fb10018 */ lw $s1,0x18($sp) +/* f10d2f8: 27bd0028 */ addiu $sp,$sp,0x28 +/* f10d2fc: 03e00008 */ jr $ra +/* f10d300: ac2a3118 */ sw $t2,0x3118($at) +); #else void func0f10cb2c(void) { diff --git a/src/game/game_11f000.c b/src/game/game_11f000.c index 961a7f135..1df552057 100644 --- a/src/game/game_11f000.c +++ b/src/game/game_11f000.c @@ -7863,6 +7863,608 @@ glabel var7f1b5108 /* f126e60: 03e00008 */ jr $ra /* f126e64: 27bd0170 */ addiu $sp,$sp,0x170 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f125a6c +.late_rodata +glabel var7f1b5108 +.word 0x3d888889 +.text +/* f126f7c: 27bdfe90 */ addiu $sp,$sp,-368 +/* f126f80: afbf008c */ sw $ra,0x8c($sp) +/* f126f84: afbe0088 */ sw $s8,0x88($sp) +/* f126f88: afb70084 */ sw $s7,0x84($sp) +/* f126f8c: afb60080 */ sw $s6,0x80($sp) +/* f126f90: afb5007c */ sw $s5,0x7c($sp) +/* f126f94: afb40078 */ sw $s4,0x78($sp) +/* f126f98: afb30074 */ sw $s3,0x74($sp) +/* f126f9c: afb20070 */ sw $s2,0x70($sp) +/* f126fa0: afb1006c */ sw $s1,0x6c($sp) +/* f126fa4: afb00068 */ sw $s0,0x68($sp) +/* f126fa8: f7be0060 */ sdc1 $f30,0x60($sp) +/* f126fac: f7bc0058 */ sdc1 $f28,0x58($sp) +/* f126fb0: f7ba0050 */ sdc1 $f26,0x50($sp) +/* f126fb4: f7b80048 */ sdc1 $f24,0x48($sp) +/* f126fb8: f7b60040 */ sdc1 $f22,0x40($sp) +/* f126fbc: f7b40038 */ sdc1 $f20,0x38($sp) +/* f126fc0: afa40170 */ sw $a0,0x170($sp) +/* f126fc4: 0fc2d6c2 */ jal 0xf0b5b08 +/* f126fc8: afa50174 */ sw $a1,0x174($sp) +/* f126fcc: 0fc2d6ca */ jal 0xf0b5b28 +/* f126fd0: afa2016c */ sw $v0,0x16c($sp) +/* f126fd4: 0fc59b8f */ jal 0xf166e3c +/* f126fd8: afa20168 */ sw $v0,0x168($sp) +/* f126fdc: afa20144 */ sw $v0,0x144($sp) +/* f126fe0: 904e000b */ lbu $t6,0xb($v0) +/* f126fe4: 3c0f8008 */ lui $t7,0x8008 +/* f126fe8: 19c00008 */ blez $t6,.PB0f12700c +/* f126fec: 00000000 */ nop +/* f126ff0: 8def69d0 */ lw $t7,0x69d0($t7) +/* f126ff4: 3c18800a */ lui $t8,0x800a +/* f126ff8: 11e00004 */ beqz $t7,.PB0f12700c +/* f126ffc: 00000000 */ nop +/* f127000: 8f18e7e4 */ lw $t8,-0x181c($t8) +/* f127004: 13000003 */ beqz $t8,.PB0f127014 +/* f127008: 00000000 */ nop +.PB0f12700c: +/* f12700c: 10000208 */ b .PB0f127830 +/* f127010: 8fa20170 */ lw $v0,0x170($sp) +.PB0f127014: +/* f127014: 0c002e8b */ jal 0xba2c +/* f127018: 00000000 */ nop +/* f12701c: 0c002e8f */ jal 0xba3c +/* f127020: a7a20166 */ sh $v0,0x166($sp) +/* f127024: 0c002e6d */ jal 0xb9b4 +/* f127028: a7a20164 */ sh $v0,0x164($sp) +/* f12702c: 0c002e71 */ jal 0xb9c4 +/* f127030: a7a20162 */ sh $v0,0x162($sp) +/* f127034: 87b90162 */ lh $t9,0x162($sp) +/* f127038: 44824000 */ mtc1 $v0,$f8 +/* f12703c: 8fa30144 */ lw $v1,0x144($sp) +/* f127040: 44992000 */ mtc1 $t9,$f4 +/* f127044: 468042a0 */ cvt.s.w $f10,$f8 +/* f127048: a7a20160 */ sh $v0,0x160($sp) +/* f12704c: 3c14800a */ lui $s4,0x800a +/* f127050: 3c013f80 */ lui $at,0x3f80 +/* f127054: 468021a0 */ cvt.s.w $f6,$f4 +/* f127058: e7aa0150 */ swc1 $f10,0x150($sp) +/* f12705c: e7a600c8 */ swc1 $f6,0xc8($sp) +/* f127060: e7a60154 */ swc1 $f6,0x154($sp) +/* f127064: 8c76000c */ lw $s6,0xc($v1) +/* f127068: afa0013c */ sw $zero,0x13c($sp) +/* f12706c: 9068000b */ lbu $t0,0xb($v1) +/* f127070: 590001ef */ blezl $t0,.PB0f127830 +/* f127074: 8fa20170 */ lw $v0,0x170($sp) +/* f127078: 4480e000 */ mtc1 $zero,$f28 +/* f12707c: 4481d000 */ mtc1 $at,$f26 +/* f127080: 26947a08 */ addiu $s4,$s4,0x7a08 +/* f127084: c6d00004 */ lwc1 $f16,0x4($s6) +.PB0f127088: +/* f127088: 8fac0174 */ lw $t4,0x174($sp) +/* f12708c: e6900000 */ swc1 $f16,0x0($s4) +/* f127090: c6d20008 */ lwc1 $f18,0x8($s6) +/* f127094: e6920004 */ swc1 $f18,0x4($s4) +/* f127098: c6c4000c */ lwc1 $f4,0xc($s6) +/* f12709c: e6840008 */ swc1 $f4,0x8($s4) +/* f1270a0: 92c90001 */ lbu $t1,0x1($s6) +/* f1270a4: 8fa4016c */ lw $a0,0x16c($sp) +/* f1270a8: a3a90148 */ sb $t1,0x148($sp) +/* f1270ac: 92ca0002 */ lbu $t2,0x2($s6) +/* f1270b0: a3aa0149 */ sb $t2,0x149($sp) +/* f1270b4: 92cb0003 */ lbu $t3,0x3($s6) +/* f1270b8: 158001d2 */ bnez $t4,.PB0f127804 +/* f1270bc: a3ab014a */ sb $t3,0x14a($sp) +/* f1270c0: 0c00596d */ jal 0x165b4 +/* f1270c4: 02802825 */ move $a1,$s4 +/* f1270c8: 8fa40168 */ lw $a0,0x168($sp) +/* f1270cc: 0c00596d */ jal 0x165b4 +/* f1270d0: 02802825 */ move $a1,$s4 +/* f1270d4: c6800008 */ lwc1 $f0,0x8($s4) +/* f1270d8: 4600d03c */ c.lt.s $f26,$f0 +/* f1270dc: 00000000 */ nop +/* f1270e0: 450201c9 */ bc1fl .PB0f127808 +/* f1270e4: 8fa9013c */ lw $t1,0x13c($sp) +/* f1270e8: c6880000 */ lwc1 $f8,0x0($s4) +/* f1270ec: 3c013f00 */ lui $at,0x3f00 +/* f1270f0: 44811000 */ mtc1 $at,$f2 +/* f1270f4: 46004283 */ div.s $f10,$f8,$f0 +/* f1270f8: 87af0166 */ lh $t7,0x166($sp) +/* f1270fc: c7a40154 */ lwc1 $f4,0x154($sp) +/* f127100: 8fb0013c */ lw $s0,0x13c($sp) +/* f127104: 448f3000 */ mtc1 $t7,$f6 +/* f127108: 3c0e800a */ lui $t6,0x800a +/* f12710c: 87b90164 */ lh $t9,0x164($sp) +/* f127110: 46803520 */ cvt.s.w $f20,$f6 +/* f127114: 25ce7a30 */ addiu $t6,$t6,0x7a30 +/* f127118: 00106880 */ sll $t5,$s0,0x2 +/* f12711c: 01ae8821 */ addu $s1,$t5,$t6 +/* f127120: 3c18800a */ lui $t8,0x800a +/* f127124: 3c088008 */ lui $t0,0x8008 +/* f127128: 27187a40 */ addiu $t8,$t8,0x7a40 +/* f12712c: 25080064 */ addiu $t0,$t0,0x64 +/* f127130: 01b89021 */ addu $s2,$t5,$t8 +/* f127134: 01a84821 */ addu $t1,$t5,$t0 +/* f127138: 01a08025 */ move $s0,$t5 +/* f12713c: afa90094 */ sw $t1,0x94($sp) +/* f127140: afa00120 */ sw $zero,0x120($sp) +/* f127144: 461a5400 */ add.s $f16,$f10,$f26 +/* f127148: 44995000 */ mtc1 $t9,$f10 +/* f12714c: 46028482 */ mul.s $f18,$f16,$f2 +/* f127150: c6900004 */ lwc1 $f16,0x4($s4) +/* f127154: 468055a0 */ cvt.s.w $f22,$f10 +/* f127158: 46049182 */ mul.s $f6,$f18,$f4 +/* f12715c: c7aa0150 */ lwc1 $f10,0x150($sp) +/* f127160: 46008487 */ neg.s $f18,$f16 +/* f127164: 46009103 */ div.s $f4,$f18,$f0 +/* f127168: 46143200 */ add.s $f8,$f6,$f20 +/* f12716c: e6280000 */ swc1 $f8,0x0($s1) +/* f127170: 461a2180 */ add.s $f6,$f4,$f26 +/* f127174: 46023202 */ mul.s $f8,$f6,$f2 +/* f127178: 00000000 */ nop +/* f12717c: 460a4402 */ mul.s $f16,$f8,$f10 +/* f127180: 46168480 */ add.s $f18,$f16,$f22 +/* f127184: 0c002ee8 */ jal 0xbba0 +/* f127188: e6520000 */ swc1 $f18,0x0($s2) +/* f12718c: 3c014270 */ lui $at,0x4270 +/* f127190: 44812000 */ mtc1 $at,$f4 +/* f127194: 86ca0010 */ lh $t2,0x10($s6) +/* f127198: c62c0000 */ lwc1 $f12,0x0($s1) +/* f12719c: 46002183 */ div.s $f6,$f4,$f0 +/* f1271a0: 448a4000 */ mtc1 $t2,$f8 +/* f1271a4: c7b200c8 */ lwc1 $f18,0xc8($sp) +/* f1271a8: 468042a0 */ cvt.s.w $f10,$f8 +/* f1271ac: 460a3602 */ mul.s $f24,$f6,$f10 +/* f1271b0: 4618a401 */ sub.s $f16,$f20,$f24 +/* f1271b4: 460c803e */ c.le.s $f16,$f12 +/* f1271b8: 00000000 */ nop +/* f1271bc: 45020182 */ bc1fl .PB0f1277c8 +/* f1271c0: 8fad0120 */ lw $t5,0x120($sp) +/* f1271c4: 4612a080 */ add.s $f2,$f20,$f18 +/* f1271c8: 46181100 */ add.s $f4,$f2,$f24 +/* f1271cc: 4604603c */ c.lt.s $f12,$f4 +/* f1271d0: 00000000 */ nop +/* f1271d4: 4502017c */ bc1fl .PB0f1277c8 +/* f1271d8: 8fad0120 */ lw $t5,0x120($sp) +/* f1271dc: 4618b201 */ sub.s $f8,$f22,$f24 +/* f1271e0: c64e0000 */ lwc1 $f14,0x0($s2) +/* f1271e4: c7a60150 */ lwc1 $f6,0x150($sp) +/* f1271e8: 460e403e */ c.le.s $f8,$f14 +/* f1271ec: 00000000 */ nop +/* f1271f0: 45020175 */ bc1fl .PB0f1277c8 +/* f1271f4: 8fad0120 */ lw $t5,0x120($sp) +/* f1271f8: 4606b000 */ add.s $f0,$f22,$f6 +/* f1271fc: 3c0b8008 */ lui $t3,0x8008 +/* f127200: 256b0058 */ addiu $t3,$t3,0x58 +/* f127204: 020b6021 */ addu $t4,$s0,$t3 +/* f127208: 46180280 */ add.s $f10,$f0,$f24 +/* f12720c: 240f0001 */ li $t7,0x1 +/* f127210: 460a703c */ c.lt.s $f14,$f10 +/* f127214: 00000000 */ nop +/* f127218: 4502016b */ bc1fl .PB0f1277c8 +/* f12721c: 8fad0120 */ lw $t5,0x120($sp) +/* f127220: 8fad013c */ lw $t5,0x13c($sp) +/* f127224: 460ca03e */ c.le.s $f20,$f12 +/* f127228: 448f8000 */ mtc1 $t7,$f16 +/* f12722c: 000d7080 */ sll $t6,$t5,0x2 +/* f127230: 01cd7021 */ addu $t6,$t6,$t5 +/* f127234: 000e7140 */ sll $t6,$t6,0x5 +/* f127238: afae0098 */ sw $t6,0x98($sp) +/* f12723c: afac009c */ sw $t4,0x9c($sp) +/* f127240: 450000aa */ bc1f .PB0f1274ec +/* f127244: 468087a0 */ cvt.s.w $f30,$f16 +/* f127248: 4602603c */ c.lt.s $f12,$f2 +/* f12724c: 00000000 */ nop +/* f127250: 450200a7 */ bc1fl .PB0f1274f0 +/* f127254: 8fa20094 */ lw $v0,0x94($sp) +/* f127258: 460eb03e */ c.le.s $f22,$f14 +/* f12725c: 00000000 */ nop +/* f127260: 450200a3 */ bc1fl .PB0f1274f0 +/* f127264: 8fa20094 */ lw $v0,0x94($sp) +/* f127268: 4600703c */ c.lt.s $f14,$f0 +/* f12726c: 87a30166 */ lh $v1,0x166($sp) +/* f127270: 87a20164 */ lh $v0,0x164($sp) +/* f127274: 87b80162 */ lh $t8,0x162($sp) +/* f127278: 4500009c */ bc1f .PB0f1274ec +/* f12727c: 2470000f */ addiu $s0,$v1,0xf +/* f127280: 87b90160 */ lh $t9,0x160($sp) +/* f127284: 00789821 */ addu $s3,$v1,$t8 +/* f127288: 267efff0 */ addiu $s8,$s3,-16 +/* f12728c: 0059b821 */ addu $s7,$v0,$t9 +/* f127290: 26e8fff0 */ addiu $t0,$s7,-16 +/* f127294: afa800a0 */ sw $t0,0xa0($sp) +/* f127298: 0c00090f */ jal 0x243c +/* f12729c: 2455000f */ addiu $s5,$v0,0xf +/* f1272a0: c62c0000 */ lwc1 $f12,0x0($s1) +/* f1272a4: 3c01447a */ lui $at,0x447a +/* f1272a8: 44811000 */ mtc1 $at,$f2 +/* f1272ac: 4600648d */ trunc.w.s $f18,$f12 +/* f1272b0: 24090001 */ li $t1,0x1 +/* f1272b4: 00403825 */ move $a3,$v0 +/* f1272b8: afa90120 */ sw $t1,0x120($sp) +/* f1272bc: 44039000 */ mfc1 $v1,$f18 +/* f1272c0: 8fad00a0 */ lw $t5,0xa0($sp) +/* f1272c4: 0070082a */ slt $at,$v1,$s0 +/* f1272c8: 10200008 */ beqz $at,.PB0f1272ec +/* f1272cc: 3c01447a */ lui $at,0x447a +/* f1272d0: 44812000 */ mtc1 $at,$f4 +/* f1272d4: 46006006 */ mov.s $f0,$f12 +/* f1272d8: 4604603c */ c.lt.s $f12,$f4 +/* f1272dc: 00000000 */ nop +/* f1272e0: 45020003 */ bc1fl .PB0f1272f0 +/* f1272e4: c64e0000 */ lwc1 $f14,0x0($s2) +/* f1272e8: 46000086 */ mov.s $f2,$f0 +.PB0f1272ec: +/* f1272ec: c64e0000 */ lwc1 $f14,0x0($s2) +.PB0f1272f0: +/* f1272f0: 4600720d */ trunc.w.s $f8,$f14 +/* f1272f4: 44024000 */ mfc1 $v0,$f8 +/* f1272f8: 00000000 */ nop +/* f1272fc: 0055082a */ slt $at,$v0,$s5 +/* f127300: 50200007 */ beqzl $at,.PB0f127320 +/* f127304: 03c3082a */ slt $at,$s8,$v1 +/* f127308: 4602703c */ c.lt.s $f14,$f2 +/* f12730c: 46007006 */ mov.s $f0,$f14 +/* f127310: 45020003 */ bc1fl .PB0f127320 +/* f127314: 03c3082a */ slt $at,$s8,$v1 +/* f127318: 46000086 */ mov.s $f2,$f0 +/* f12731c: 03c3082a */ slt $at,$s8,$v1 +.PB0f127320: +/* f127320: 1020000a */ beqz $at,.PB0f12734c +/* f127324: 266cffff */ addiu $t4,$s3,-1 +/* f127328: 448c3000 */ mtc1 $t4,$f6 +/* f12732c: 00000000 */ nop +/* f127330: 468032a0 */ cvt.s.w $f10,$f6 +/* f127334: 460c5001 */ sub.s $f0,$f10,$f12 +/* f127338: 4602003c */ c.lt.s $f0,$f2 +/* f12733c: 00000000 */ nop +/* f127340: 45020003 */ bc1fl .PB0f127350 +/* f127344: 01a2082a */ slt $at,$t5,$v0 +/* f127348: 46000086 */ mov.s $f2,$f0 +.PB0f12734c: +/* f12734c: 01a2082a */ slt $at,$t5,$v0 +.PB0f127350: +/* f127350: 1020000a */ beqz $at,.PB0f12737c +/* f127354: 26eeffff */ addiu $t6,$s7,-1 +/* f127358: 448e8000 */ mtc1 $t6,$f16 +/* f12735c: 00000000 */ nop +/* f127360: 468084a0 */ cvt.s.w $f18,$f16 +/* f127364: 460e9001 */ sub.s $f0,$f18,$f14 +/* f127368: 4602003c */ c.lt.s $f0,$f2 +/* f12736c: 00000000 */ nop +/* f127370: 45020003 */ bc1fl .PB0f127380 +/* f127374: 461a1081 */ sub.s $f2,$f2,$f26 +/* f127378: 46000086 */ mov.s $f2,$f0 +.PB0f12737c: +/* f12737c: 461a1081 */ sub.s $f2,$f2,$f26 +.PB0f127380: +/* f127380: 3c017f1b */ lui $at,0x7f1b +/* f127384: 461c103c */ c.lt.s $f2,$f28 +/* f127388: 00000000 */ nop +/* f12738c: 45000002 */ bc1f .PB0f127398 +/* f127390: 00000000 */ nop +/* f127394: 4600e086 */ mov.s $f2,$f28 +.PB0f127398: +/* f127398: c42470f8 */ lwc1 $f4,0x70f8($at) +/* f12739c: 8faf009c */ lw $t7,0x9c($sp) +/* f1273a0: 46041002 */ mul.s $f0,$f2,$f4 +/* f1273a4: 4600d03c */ c.lt.s $f26,$f0 +/* f1273a8: e5e00000 */ swc1 $f0,0x0($t7) +/* f1273ac: 8fb8009c */ lw $t8,0x9c($sp) +/* f1273b0: 45020003 */ bc1fl .PB0f1273c0 +/* f1273b4: 8fb90098 */ lw $t9,0x98($sp) +/* f1273b8: e71a0000 */ swc1 $f26,0x0($t8) +/* f1273bc: 8fb90098 */ lw $t9,0x98($sp) +.PB0f1273c0: +/* f1273c0: 2465fff9 */ addiu $a1,$v1,-7 +/* f1273c4: 24460001 */ addiu $a2,$v0,0x1 +/* f1273c8: 03278021 */ addu $s0,$t9,$a3 +/* f1273cc: 0fc49b96 */ jal 0xf126e58 +/* f1273d0: 02002025 */ move $a0,$s0 +/* f1273d4: c6280000 */ lwc1 $f8,0x0($s1) +/* f1273d8: c64a0000 */ lwc1 $f10,0x0($s2) +/* f1273dc: 26040014 */ addiu $a0,$s0,0x14 +/* f1273e0: 4600418d */ trunc.w.s $f6,$f8 +/* f1273e4: 4600540d */ trunc.w.s $f16,$f10 +/* f1273e8: 44053000 */ mfc1 $a1,$f6 +/* f1273ec: 44068000 */ mfc1 $a2,$f16 +/* f1273f0: 24a5fffb */ addiu $a1,$a1,-5 +/* f1273f4: 0fc49b96 */ jal 0xf126e58 +/* f1273f8: 24c6fffd */ addiu $a2,$a2,-3 +/* f1273fc: c6320000 */ lwc1 $f18,0x0($s1) +/* f127400: c6480000 */ lwc1 $f8,0x0($s2) +/* f127404: 26040028 */ addiu $a0,$s0,0x28 +/* f127408: 4600910d */ trunc.w.s $f4,$f18 +/* f12740c: 4600418d */ trunc.w.s $f6,$f8 +/* f127410: 44052000 */ mfc1 $a1,$f4 +/* f127414: 44063000 */ mfc1 $a2,$f6 +/* f127418: 24a5fffd */ addiu $a1,$a1,-3 +/* f12741c: 0fc49b96 */ jal 0xf126e58 +/* f127420: 24c60005 */ addiu $a2,$a2,0x5 +/* f127424: c62a0000 */ lwc1 $f10,0x0($s1) +/* f127428: c6520000 */ lwc1 $f18,0x0($s2) +/* f12742c: 2604003c */ addiu $a0,$s0,0x3c +/* f127430: 4600540d */ trunc.w.s $f16,$f10 +/* f127434: 4600910d */ trunc.w.s $f4,$f18 +/* f127438: 44058000 */ mfc1 $a1,$f16 +/* f12743c: 44062000 */ mfc1 $a2,$f4 +/* f127440: 24a5ffff */ addiu $a1,$a1,-1 +/* f127444: 0fc49b96 */ jal 0xf126e58 +/* f127448: 24c6fff9 */ addiu $a2,$a2,-7 +/* f12744c: c6280000 */ lwc1 $f8,0x0($s1) +/* f127450: c64a0000 */ lwc1 $f10,0x0($s2) +/* f127454: 26040050 */ addiu $a0,$s0,0x50 +/* f127458: 4600418d */ trunc.w.s $f6,$f8 +/* f12745c: 4600540d */ trunc.w.s $f16,$f10 +/* f127460: 44053000 */ mfc1 $a1,$f6 +/* f127464: 44068000 */ mfc1 $a2,$f16 +/* f127468: 24a50001 */ addiu $a1,$a1,0x1 +/* f12746c: 0fc49b96 */ jal 0xf126e58 +/* f127470: 24c60007 */ addiu $a2,$a2,0x7 +/* f127474: c6320000 */ lwc1 $f18,0x0($s1) +/* f127478: c6480000 */ lwc1 $f8,0x0($s2) +/* f12747c: 26040064 */ addiu $a0,$s0,0x64 +/* f127480: 4600910d */ trunc.w.s $f4,$f18 +/* f127484: 4600418d */ trunc.w.s $f6,$f8 +/* f127488: 44052000 */ mfc1 $a1,$f4 +/* f12748c: 44063000 */ mfc1 $a2,$f6 +/* f127490: 24a50003 */ addiu $a1,$a1,0x3 +/* f127494: 0fc49b96 */ jal 0xf126e58 +/* f127498: 24c6fffb */ addiu $a2,$a2,-5 +/* f12749c: c62a0000 */ lwc1 $f10,0x0($s1) +/* f1274a0: c6520000 */ lwc1 $f18,0x0($s2) +/* f1274a4: 26040078 */ addiu $a0,$s0,0x78 +/* f1274a8: 4600540d */ trunc.w.s $f16,$f10 +/* f1274ac: 4600910d */ trunc.w.s $f4,$f18 +/* f1274b0: 44058000 */ mfc1 $a1,$f16 +/* f1274b4: 44062000 */ mfc1 $a2,$f4 +/* f1274b8: 24a50005 */ addiu $a1,$a1,0x5 +/* f1274bc: 0fc49b96 */ jal 0xf126e58 +/* f1274c0: 24c60003 */ addiu $a2,$a2,0x3 +/* f1274c4: c6280000 */ lwc1 $f8,0x0($s1) +/* f1274c8: c64a0000 */ lwc1 $f10,0x0($s2) +/* f1274cc: 2604008c */ addiu $a0,$s0,0x8c +/* f1274d0: 4600418d */ trunc.w.s $f6,$f8 +/* f1274d4: 4600540d */ trunc.w.s $f16,$f10 +/* f1274d8: 44053000 */ mfc1 $a1,$f6 +/* f1274dc: 44068000 */ mfc1 $a2,$f16 +/* f1274e0: 24a50007 */ addiu $a1,$a1,0x7 +/* f1274e4: 0fc49b96 */ jal 0xf126e58 +/* f1274e8: 24c6ffff */ addiu $a2,$a2,-1 +.PB0f1274ec: +/* f1274ec: 8fa20094 */ lw $v0,0x94($sp) +.PB0f1274f0: +/* f1274f0: 3c0d800a */ lui $t5,0x800a +/* f1274f4: 8dade504 */ lw $t5,-0x1afc($t5) +/* f1274f8: 8c4c0000 */ lw $t4,0x0($v0) +/* f1274fc: 3c05800b */ lui $a1,0x800b +/* f127500: 240f0002 */ li $t7,0x2 +/* f127504: 018d7021 */ addu $t6,$t4,$t5 +/* f127508: ac4e0000 */ sw $t6,0x0($v0) +/* f12750c: 8ca5fbc0 */ lw $a1,-0x440($a1) +/* f127510: 24180001 */ li $t8,0x1 +/* f127514: afb80014 */ sw $t8,0x14($sp) +/* f127518: afaf0010 */ sw $t7,0x10($sp) +/* f12751c: 27a40170 */ addiu $a0,$sp,0x170 +/* f127520: 24060004 */ li $a2,0x4 +/* f127524: 00003825 */ move $a3,$zero +/* f127528: afa00018 */ sw $zero,0x18($sp) +/* f12752c: 0fc2cf74 */ jal 0xf0b3dd0 +/* f127530: 24a5003c */ addiu $a1,$a1,0x3c +/* f127534: 8fb90170 */ lw $t9,0x170($sp) +/* f127538: 3c09ba00 */ lui $t1,0xba00 +/* f12753c: 35291402 */ ori $t1,$t1,0x1402 +/* f127540: 27280008 */ addiu $t0,$t9,0x8 +/* f127544: afa80170 */ sw $t0,0x170($sp) +/* f127548: af200004 */ sw $zero,0x4($t9) +/* f12754c: af290000 */ sw $t1,0x0($t9) +/* f127550: 8faa0170 */ lw $t2,0x170($sp) +/* f127554: 3c0cba00 */ lui $t4,0xba00 +/* f127558: 358c0602 */ ori $t4,$t4,0x602 +/* f12755c: 254b0008 */ addiu $t3,$t2,0x8 +/* f127560: afab0170 */ sw $t3,0x170($sp) +/* f127564: 240d00c0 */ li $t5,0xc0 +/* f127568: ad4d0004 */ sw $t5,0x4($t2) +/* f12756c: ad4c0000 */ sw $t4,0x0($t2) +/* f127570: 8fae0170 */ lw $t6,0x170($sp) +/* f127574: 3c190050 */ lui $t9,0x50 +/* f127578: 3c18b900 */ lui $t8,0xb900 +/* f12757c: 25cf0008 */ addiu $t7,$t6,0x8 +/* f127580: afaf0170 */ sw $t7,0x170($sp) +/* f127584: 3718031d */ ori $t8,$t8,0x31d +/* f127588: 373941c8 */ ori $t9,$t9,0x41c8 +/* f12758c: add90004 */ sw $t9,0x4($t6) +/* f127590: add80000 */ sw $t8,0x0($t6) +/* f127594: 8fa80170 */ lw $t0,0x170($sp) +/* f127598: 3c0aba00 */ lui $t2,0xba00 +/* f12759c: 354a1301 */ ori $t2,$t2,0x1301 +/* f1275a0: 25090008 */ addiu $t1,$t0,0x8 +/* f1275a4: afa90170 */ sw $t1,0x170($sp) +/* f1275a8: ad000004 */ sw $zero,0x4($t0) +/* f1275ac: ad0a0000 */ sw $t2,0x0($t0) +/* f1275b0: 8fab0170 */ lw $t3,0x170($sp) +/* f1275b4: 3c0db900 */ lui $t5,0xb900 +/* f1275b8: 35ad0002 */ ori $t5,$t5,0x2 +/* f1275bc: 256c0008 */ addiu $t4,$t3,0x8 +/* f1275c0: afac0170 */ sw $t4,0x170($sp) +/* f1275c4: ad600004 */ sw $zero,0x4($t3) +/* f1275c8: ad6d0000 */ sw $t5,0x0($t3) +/* f1275cc: 8fae0170 */ lw $t6,0x170($sp) +/* f1275d0: 3c18ba00 */ lui $t8,0xba00 +/* f1275d4: 37181001 */ ori $t8,$t8,0x1001 +/* f1275d8: 25cf0008 */ addiu $t7,$t6,0x8 +/* f1275dc: afaf0170 */ sw $t7,0x170($sp) +/* f1275e0: adc00004 */ sw $zero,0x4($t6) +/* f1275e4: add80000 */ sw $t8,0x0($t6) +/* f1275e8: 8fb90170 */ lw $t9,0x170($sp) +/* f1275ec: 3c09ba00 */ lui $t1,0xba00 +/* f1275f0: 35290903 */ ori $t1,$t1,0x903 +/* f1275f4: 27280008 */ addiu $t0,$t9,0x8 +/* f1275f8: afa80170 */ sw $t0,0x170($sp) +/* f1275fc: 240a0c00 */ li $t2,0xc00 +/* f127600: af2a0004 */ sw $t2,0x4($t9) +/* f127604: af290000 */ sw $t1,0x0($t9) +/* f127608: 8fab0170 */ lw $t3,0x170($sp) +/* f12760c: 3c0dba00 */ lui $t5,0xba00 +/* f127610: 35ad0e02 */ ori $t5,$t5,0xe02 +/* f127614: 256c0008 */ addiu $t4,$t3,0x8 +/* f127618: afac0170 */ sw $t4,0x170($sp) +/* f12761c: ad600004 */ sw $zero,0x4($t3) +/* f127620: ad6d0000 */ sw $t5,0x0($t3) +/* f127624: 8fae0170 */ lw $t6,0x170($sp) +/* f127628: 3c18ba00 */ lui $t8,0xba00 +/* f12762c: 37180c02 */ ori $t8,$t8,0xc02 +/* f127630: 25cf0008 */ addiu $t7,$t6,0x8 +/* f127634: afaf0170 */ sw $t7,0x170($sp) +/* f127638: 24192000 */ li $t9,0x2000 +/* f12763c: add90004 */ sw $t9,0x4($t6) +/* f127640: add80000 */ sw $t8,0x0($t6) +/* f127644: 8fa80170 */ lw $t0,0x170($sp) +/* f127648: 3c0bffa7 */ lui $t3,0xffa7 +/* f12764c: 3c0afc50 */ lui $t2,0xfc50 +/* f127650: 25090008 */ addiu $t1,$t0,0x8 +/* f127654: afa90170 */ sw $t1,0x170($sp) +/* f127658: 354ad2a1 */ ori $t2,$t2,0xd2a1 +/* f12765c: 356bffff */ ori $t3,$t3,0xffff +/* f127660: ad0b0004 */ sw $t3,0x4($t0) +/* f127664: ad0a0000 */ sw $t2,0x0($t0) +/* f127668: 8fa30170 */ lw $v1,0x170($sp) +/* f12766c: 3c0efb00 */ lui $t6,0xfb00 +/* f127670: 3c01437f */ lui $at,0x437f +/* f127674: 246d0008 */ addiu $t5,$v1,0x8 +/* f127678: afad0170 */ sw $t5,0x170($sp) +/* f12767c: ac6e0000 */ sw $t6,0x0($v1) +/* f127680: 8faf009c */ lw $t7,0x9c($sp) +/* f127684: 44812000 */ mtc1 $at,$f4 +/* f127688: 3c013f00 */ lui $at,0x3f00 +/* f12768c: c5f20000 */ lwc1 $f18,0x0($t7) +/* f127690: 93aa0148 */ lbu $t2,0x148($sp) +/* f127694: 93ae0149 */ lbu $t6,0x149($sp) +/* f127698: 46049202 */ mul.s $f8,$f18,$f4 +/* f12769c: 44819000 */ mtc1 $at,$f18 +/* f1276a0: 93a9014a */ lbu $t1,0x14a($sp) +/* f1276a4: 000a5e00 */ sll $t3,$t2,0x18 +/* f1276a8: 4612c002 */ mul.s $f0,$f24,$f18 +/* f1276ac: 000e7c00 */ sll $t7,$t6,0x10 +/* f1276b0: 00095200 */ sll $t2,$t1,0x8 +/* f1276b4: 3c02800b */ lui $v0,0x800b +/* f1276b8: 240e0001 */ li $t6,0x1 +/* f1276bc: 240d0001 */ li $t5,0x1 +/* f1276c0: 4600418d */ trunc.w.s $f6,$f8 +/* f1276c4: 461e0102 */ mul.s $f4,$f0,$f30 +/* f1276c8: 27a40170 */ addiu $a0,$sp,0x170 +/* f1276cc: 27a50134 */ addiu $a1,$sp,0x134 +/* f1276d0: 44193000 */ mfc1 $t9,$f6 +/* f1276d4: 27a6012c */ addiu $a2,$sp,0x12c +/* f1276d8: 332800ff */ andi $t0,$t9,0xff +/* f1276dc: 010b6025 */ or $t4,$t0,$t3 +/* f1276e0: 018fc025 */ or $t8,$t4,$t7 +/* f1276e4: 030a4025 */ or $t0,$t8,$t2 +/* f1276e8: ac680004 */ sw $t0,0x4($v1) +/* f1276ec: c62a0000 */ lwc1 $f10,0x0($s1) +/* f1276f0: c6500000 */ lwc1 $f16,0x0($s2) +/* f1276f4: 8c42fbc0 */ lw $v0,-0x440($v0) +/* f1276f8: e7a4012c */ swc1 $f4,0x12c($sp) +/* f1276fc: e7a00130 */ swc1 $f0,0x130($sp) +/* f127700: e7aa0134 */ swc1 $f10,0x134($sp) +/* f127704: e7b00138 */ swc1 $f16,0x138($sp) +/* f127708: 904b0041 */ lbu $t3,0x41($v0) +/* f12770c: 90470040 */ lbu $a3,0x40($v0) +/* f127710: 240f0001 */ li $t7,0x1 +/* f127714: 240c0001 */ li $t4,0x1 +/* f127718: afac0020 */ sw $t4,0x20($sp) +/* f12771c: afaf0028 */ sw $t7,0x28($sp) +/* f127720: afa00024 */ sw $zero,0x24($sp) +/* f127724: afae001c */ sw $t6,0x1c($sp) +/* f127728: afad0018 */ sw $t5,0x18($sp) +/* f12772c: afa00014 */ sw $zero,0x14($sp) +/* f127730: 0fc2c958 */ jal 0xf0b2560 +/* f127734: afab0010 */ sw $t3,0x10($sp) +/* f127738: 8fb90170 */ lw $t9,0x170($sp) +/* f12773c: 3c18e700 */ lui $t8,0xe700 +/* f127740: 3c0bba00 */ lui $t3,0xba00 +/* f127744: 27290008 */ addiu $t1,$t9,0x8 +/* f127748: afa90170 */ sw $t1,0x170($sp) +/* f12774c: af200004 */ sw $zero,0x4($t9) +/* f127750: af380000 */ sw $t8,0x0($t9) +/* f127754: 8faa0170 */ lw $t2,0x170($sp) +/* f127758: 356b0602 */ ori $t3,$t3,0x602 +/* f12775c: 240d0040 */ li $t5,0x40 +/* f127760: 25480008 */ addiu $t0,$t2,0x8 +/* f127764: afa80170 */ sw $t0,0x170($sp) +/* f127768: ad4d0004 */ sw $t5,0x4($t2) +/* f12776c: ad4b0000 */ sw $t3,0x0($t2) +/* f127770: 8fae0170 */ lw $t6,0x170($sp) +/* f127774: 3c0fba00 */ lui $t7,0xba00 +/* f127778: 35ef1301 */ ori $t7,$t7,0x1301 +/* f12777c: 25cc0008 */ addiu $t4,$t6,0x8 +/* f127780: afac0170 */ sw $t4,0x170($sp) +/* f127784: 3c190008 */ lui $t9,0x8 +/* f127788: add90004 */ sw $t9,0x4($t6) +/* f12778c: adcf0000 */ sw $t7,0x0($t6) +/* f127790: 8fa90170 */ lw $t1,0x170($sp) +/* f127794: 3c0aba00 */ lui $t2,0xba00 +/* f127798: 354a1001 */ ori $t2,$t2,0x1001 +/* f12779c: 25380008 */ addiu $t8,$t1,0x8 +/* f1277a0: afb80170 */ sw $t8,0x170($sp) +/* f1277a4: 3c080001 */ lui $t0,0x1 +/* f1277a8: ad280004 */ sw $t0,0x4($t1) +/* f1277ac: 0c00091c */ jal 0x2470 +/* f1277b0: ad2a0000 */ sw $t2,0x0($t1) +/* f1277b4: 8fab0098 */ lw $t3,0x98($sp) +/* f1277b8: 0fc49bcb */ jal 0xf126f2c +/* f1277bc: 004b2021 */ addu $a0,$v0,$t3 +/* f1277c0: e7a00124 */ swc1 $f0,0x124($sp) +/* f1277c4: 8fad0120 */ lw $t5,0x120($sp) +.PB0f1277c8: +/* f1277c8: c7a80124 */ lwc1 $f8,0x124($sp) +/* f1277cc: 51a0000c */ beqzl $t5,.PB0f127800 +/* f1277d0: 8fb90094 */ lw $t9,0x94($sp) +/* f1277d4: 4608e03c */ c.lt.s $f28,$f8 +/* f1277d8: 8fa20094 */ lw $v0,0x94($sp) +/* f1277dc: 3c0c800a */ lui $t4,0x800a +/* f1277e0: 45020007 */ bc1fl .PB0f127800 +/* f1277e4: 8fb90094 */ lw $t9,0x94($sp) +/* f1277e8: 8c4e0000 */ lw $t6,0x0($v0) +/* f1277ec: 8d8ce504 */ lw $t4,-0x1afc($t4) +/* f1277f0: 01cc7821 */ addu $t7,$t6,$t4 +/* f1277f4: 10000003 */ b .PB0f127804 +/* f1277f8: ac4f0000 */ sw $t7,0x0($v0) +/* f1277fc: 8fb90094 */ lw $t9,0x94($sp) +.PB0f127800: +/* f127800: af200000 */ sw $zero,0x0($t9) +.PB0f127804: +/* f127804: 8fa9013c */ lw $t1,0x13c($sp) +.PB0f127808: +/* f127808: 8faa0144 */ lw $t2,0x144($sp) +/* f12780c: 2694000c */ addiu $s4,$s4,0xc +/* f127810: 25380001 */ addiu $t8,$t1,0x1 +/* f127814: afb8013c */ sw $t8,0x13c($sp) +/* f127818: 9148000b */ lbu $t0,0xb($t2) +/* f12781c: 26d60014 */ addiu $s6,$s6,0x14 +/* f127820: 0308082a */ slt $at,$t8,$t0 +/* f127824: 5420fe18 */ bnezl $at,.PB0f127088 +/* f127828: c6d00004 */ lwc1 $f16,0x4($s6) +/* f12782c: 8fa20170 */ lw $v0,0x170($sp) +.PB0f127830: +/* f127830: 8fbf008c */ lw $ra,0x8c($sp) +/* f127834: d7b40038 */ ldc1 $f20,0x38($sp) +/* f127838: d7b60040 */ ldc1 $f22,0x40($sp) +/* f12783c: d7b80048 */ ldc1 $f24,0x48($sp) +/* f127840: d7ba0050 */ ldc1 $f26,0x50($sp) +/* f127844: d7bc0058 */ ldc1 $f28,0x58($sp) +/* f127848: d7be0060 */ ldc1 $f30,0x60($sp) +/* f12784c: 8fb00068 */ lw $s0,0x68($sp) +/* f127850: 8fb1006c */ lw $s1,0x6c($sp) +/* f127854: 8fb20070 */ lw $s2,0x70($sp) +/* f127858: 8fb30074 */ lw $s3,0x74($sp) +/* f12785c: 8fb40078 */ lw $s4,0x78($sp) +/* f127860: 8fb5007c */ lw $s5,0x7c($sp) +/* f127864: 8fb60080 */ lw $s6,0x80($sp) +/* f127868: 8fb70084 */ lw $s7,0x84($sp) +/* f12786c: 8fbe0088 */ lw $s8,0x88($sp) +/* f127870: 03e00008 */ jr $ra +/* f127874: 27bd0170 */ addiu $sp,$sp,0x170 +); #else GLOBAL_ASM( glabel func0f125a6c @@ -9054,6 +9656,585 @@ glabel var7f1b511c /* f127704: 03e00008 */ jr $ra /* f127708: 27bd0198 */ addiu $sp,$sp,0x198 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f126384 +.late_rodata +glabel var7f1b510c +.word 0x3c23d70a +glabel var7f1b5110 +.word 0x3bda740e +glabel var7f1b5114 +.word 0x3d23d70a +glabel var7f1b5118 +.word 0x3c4ccccd +glabel var7f1b511c +.word 0x3dcccccd +.text +/* f127878: 27bdfe68 */ addiu $sp,$sp,-408 +/* f12787c: 3c0f8008 */ lui $t7,0x8008 +/* f127880: afbf008c */ sw $ra,0x8c($sp) +/* f127884: afbe0088 */ sw $s8,0x88($sp) +/* f127888: afb70084 */ sw $s7,0x84($sp) +/* f12788c: afb60080 */ sw $s6,0x80($sp) +/* f127890: afb5007c */ sw $s5,0x7c($sp) +/* f127894: afb40078 */ sw $s4,0x78($sp) +/* f127898: afb30074 */ sw $s3,0x74($sp) +/* f12789c: afb20070 */ sw $s2,0x70($sp) +/* f1278a0: afb1006c */ sw $s1,0x6c($sp) +/* f1278a4: afb00068 */ sw $s0,0x68($sp) +/* f1278a8: f7be0060 */ sdc1 $f30,0x60($sp) +/* f1278ac: f7bc0058 */ sdc1 $f28,0x58($sp) +/* f1278b0: f7ba0050 */ sdc1 $f26,0x50($sp) +/* f1278b4: f7b80048 */ sdc1 $f24,0x48($sp) +/* f1278b8: f7b60040 */ sdc1 $f22,0x40($sp) +/* f1278bc: f7b40038 */ sdc1 $f20,0x38($sp) +/* f1278c0: afa40198 */ sw $a0,0x198($sp) +/* f1278c4: 25ef0070 */ addiu $t7,$t7,0x70 +/* f1278c8: 8de10000 */ lw $at,0x0($t7) +/* f1278cc: 8de80004 */ lw $t0,0x4($t7) +/* f1278d0: 27ae0164 */ addiu $t6,$sp,0x164 +/* f1278d4: adc10000 */ sw $at,0x0($t6) +/* f1278d8: adc80004 */ sw $t0,0x4($t6) +/* f1278dc: 8de8000c */ lw $t0,0xc($t7) +/* f1278e0: 8de10008 */ lw $at,0x8($t7) +/* f1278e4: 3c0a8008 */ lui $t2,0x8008 +/* f1278e8: adc8000c */ sw $t0,0xc($t6) +/* f1278ec: adc10008 */ sw $at,0x8($t6) +/* f1278f0: 8de10010 */ lw $at,0x10($t7) +/* f1278f4: 8de80014 */ lw $t0,0x14($t7) +/* f1278f8: 254a0088 */ addiu $t2,$t2,0x88 +/* f1278fc: adc10010 */ sw $at,0x10($t6) +/* f127900: adc80014 */ sw $t0,0x14($t6) +/* f127904: 8d4d0004 */ lw $t5,0x4($t2) +/* f127908: 8d410000 */ lw $at,0x0($t2) +/* f12790c: 27a9014c */ addiu $t1,$sp,0x14c +/* f127910: ad2d0004 */ sw $t5,0x4($t1) +/* f127914: ad210000 */ sw $at,0x0($t1) +/* f127918: 8d410008 */ lw $at,0x8($t2) +/* f12791c: 8d4d000c */ lw $t5,0xc($t2) +/* f127920: 3c188008 */ lui $t8,0x8008 +/* f127924: ad210008 */ sw $at,0x8($t1) +/* f127928: ad2d000c */ sw $t5,0xc($t1) +/* f12792c: 8d4d0014 */ lw $t5,0x14($t2) +/* f127930: 8d410010 */ lw $at,0x10($t2) +/* f127934: 271800a0 */ addiu $t8,$t8,0xa0 +/* f127938: ad2d0014 */ sw $t5,0x14($t1) +/* f12793c: ad210010 */ sw $at,0x10($t1) +/* f127940: 8f080004 */ lw $t0,0x4($t8) +/* f127944: 8f010000 */ lw $at,0x0($t8) +/* f127948: 27b90134 */ addiu $t9,$sp,0x134 +/* f12794c: af280004 */ sw $t0,0x4($t9) +/* f127950: af210000 */ sw $at,0x0($t9) +/* f127954: 8f010008 */ lw $at,0x8($t8) +/* f127958: 8f08000c */ lw $t0,0xc($t8) +/* f12795c: 4487b000 */ mtc1 $a3,$f22 +/* f127960: af210008 */ sw $at,0x8($t9) +/* f127964: af28000c */ sw $t0,0xc($t9) +/* f127968: 8f080014 */ lw $t0,0x14($t8) +/* f12796c: 8f010010 */ lw $at,0x10($t8) +/* f127970: 4485d000 */ mtc1 $a1,$f26 +/* f127974: 4486e000 */ mtc1 $a2,$f28 +/* f127978: af280014 */ sw $t0,0x14($t9) +/* f12797c: 0c002e6d */ jal 0xb9b4 +/* f127980: af210010 */ sw $at,0x10($t9) +/* f127984: 44822000 */ mtc1 $v0,$f4 +/* f127988: 3c017f1b */ lui $at,0x7f1b +/* f12798c: c43470fc */ lwc1 $f20,0x70fc($at) +/* f127990: 468021a0 */ cvt.s.w $f6,$f4 +/* f127994: 3c013f00 */ lui $at,0x3f00 +/* f127998: 4481f000 */ mtc1 $at,$f30 +/* f12799c: 00000000 */ nop +/* f1279a0: 461e3202 */ mul.s $f8,$f6,$f30 +/* f1279a4: 4608d281 */ sub.s $f10,$f26,$f8 +/* f1279a8: 46145102 */ mul.s $f4,$f10,$f20 +/* f1279ac: 0c002e71 */ jal 0xb9c4 +/* f1279b0: e7a40130 */ swc1 $f4,0x130($sp) +/* f1279b4: 44823000 */ mtc1 $v0,$f6 +/* f1279b8: 3c16800b */ lui $s6,0x800b +/* f1279bc: 26d6fbc0 */ addiu $s6,$s6,-1088 +/* f1279c0: 46803220 */ cvt.s.w $f8,$f6 +/* f1279c4: 8ec50000 */ lw $a1,0x0($s6) +/* f1279c8: 27b50198 */ addiu $s5,$sp,0x198 +/* f1279cc: 240c0002 */ li $t4,0x2 +/* f1279d0: 240b0001 */ li $t3,0x1 +/* f1279d4: afab0014 */ sw $t3,0x14($sp) +/* f1279d8: 461e4282 */ mul.s $f10,$f8,$f30 +/* f1279dc: afac0010 */ sw $t4,0x10($sp) +/* f1279e0: 02a02025 */ move $a0,$s5 +/* f1279e4: 24060004 */ li $a2,0x4 +/* f1279e8: 00003825 */ move $a3,$zero +/* f1279ec: afa00018 */ sw $zero,0x18($sp) +/* f1279f0: 24a50048 */ addiu $a1,$a1,0x48 +/* f1279f4: 460ae101 */ sub.s $f4,$f28,$f10 +/* f1279f8: 46142182 */ mul.s $f6,$f4,$f20 +/* f1279fc: 0fc2cf74 */ jal 0xf0b3dd0 +/* f127a00: e7a6012c */ swc1 $f6,0x12c($sp) +/* f127a04: 8fa90198 */ lw $t1,0x198($sp) +/* f127a08: 3c10ba00 */ lui $s0,0xba00 +/* f127a0c: 36101402 */ ori $s0,$s0,0x1402 +/* f127a10: 252a0008 */ addiu $t2,$t1,0x8 +/* f127a14: afaa0198 */ sw $t2,0x198($sp) +/* f127a18: ad200004 */ sw $zero,0x4($t1) +/* f127a1c: ad300000 */ sw $s0,0x0($t1) +/* f127a20: 8fad0198 */ lw $t5,0x198($sp) +/* f127a24: 3c0eba00 */ lui $t6,0xba00 +/* f127a28: 35ce0602 */ ori $t6,$t6,0x602 +/* f127a2c: 25af0008 */ addiu $t7,$t5,0x8 +/* f127a30: afaf0198 */ sw $t7,0x198($sp) +/* f127a34: 24190040 */ li $t9,0x40 +/* f127a38: adb90004 */ sw $t9,0x4($t5) +/* f127a3c: adae0000 */ sw $t6,0x0($t5) +/* f127a40: 8fb80198 */ lw $t8,0x198($sp) +/* f127a44: 3c0cba00 */ lui $t4,0xba00 +/* f127a48: 358c0402 */ ori $t4,$t4,0x402 +/* f127a4c: 27080008 */ addiu $t0,$t8,0x8 +/* f127a50: afa80198 */ sw $t0,0x198($sp) +/* f127a54: af000004 */ sw $zero,0x4($t8) +/* f127a58: af0c0000 */ sw $t4,0x0($t8) +/* f127a5c: 8fab0198 */ lw $t3,0x198($sp) +/* f127a60: 3c11b900 */ lui $s1,0xb900 +/* f127a64: 3c120050 */ lui $s2,0x50 +/* f127a68: 25690008 */ addiu $t1,$t3,0x8 +/* f127a6c: afa90198 */ sw $t1,0x198($sp) +/* f127a70: 365241c8 */ ori $s2,$s2,0x41c8 +/* f127a74: 3631031d */ ori $s1,$s1,0x31d +/* f127a78: ad710000 */ sw $s1,0x0($t3) +/* f127a7c: ad720004 */ sw $s2,0x4($t3) +/* f127a80: 8faa0198 */ lw $t2,0x198($sp) +/* f127a84: 3c0fba00 */ lui $t7,0xba00 +/* f127a88: 35ef1301 */ ori $t7,$t7,0x1301 +/* f127a8c: 254d0008 */ addiu $t5,$t2,0x8 +/* f127a90: afad0198 */ sw $t5,0x198($sp) +/* f127a94: ad400004 */ sw $zero,0x4($t2) +/* f127a98: ad4f0000 */ sw $t7,0x0($t2) +/* f127a9c: 8fae0198 */ lw $t6,0x198($sp) +/* f127aa0: 3c13b900 */ lui $s3,0xb900 +/* f127aa4: 36730002 */ ori $s3,$s3,0x2 +/* f127aa8: 25d90008 */ addiu $t9,$t6,0x8 +/* f127aac: afb90198 */ sw $t9,0x198($sp) +/* f127ab0: adc00004 */ sw $zero,0x4($t6) +/* f127ab4: add30000 */ sw $s3,0x0($t6) +/* f127ab8: 8fb80198 */ lw $t8,0x198($sp) +/* f127abc: 3c0cba00 */ lui $t4,0xba00 +/* f127ac0: 358c1001 */ ori $t4,$t4,0x1001 +/* f127ac4: 27080008 */ addiu $t0,$t8,0x8 +/* f127ac8: afa80198 */ sw $t0,0x198($sp) +/* f127acc: af000004 */ sw $zero,0x4($t8) +/* f127ad0: af0c0000 */ sw $t4,0x0($t8) +/* f127ad4: 8fab0198 */ lw $t3,0x198($sp) +/* f127ad8: 3c14ba00 */ lui $s4,0xba00 +/* f127adc: 36940903 */ ori $s4,$s4,0x903 +/* f127ae0: 25690008 */ addiu $t1,$t3,0x8 +/* f127ae4: afa90198 */ sw $t1,0x198($sp) +/* f127ae8: 240a0c00 */ li $t2,0xc00 +/* f127aec: ad6a0004 */ sw $t2,0x4($t3) +/* f127af0: ad740000 */ sw $s4,0x0($t3) +/* f127af4: 8fad0198 */ lw $t5,0x198($sp) +/* f127af8: 3c0eba00 */ lui $t6,0xba00 +/* f127afc: 35ce0e02 */ ori $t6,$t6,0xe02 +/* f127b00: 25af0008 */ addiu $t7,$t5,0x8 +/* f127b04: afaf0198 */ sw $t7,0x198($sp) +/* f127b08: ada00004 */ sw $zero,0x4($t5) +/* f127b0c: adae0000 */ sw $t6,0x0($t5) +/* f127b10: 8fb90198 */ lw $t9,0x198($sp) +/* f127b14: 3c08ba00 */ lui $t0,0xba00 +/* f127b18: 35080c02 */ ori $t0,$t0,0xc02 +/* f127b1c: 27380008 */ addiu $t8,$t9,0x8 +/* f127b20: afb80198 */ sw $t8,0x198($sp) +/* f127b24: 240c2000 */ li $t4,0x2000 +/* f127b28: af2c0004 */ sw $t4,0x4($t9) +/* f127b2c: af280000 */ sw $t0,0x0($t9) +/* f127b30: 8fab0198 */ lw $t3,0x198($sp) +/* f127b34: 3c0dff36 */ lui $t5,0xff36 +/* f127b38: 3c0afcff */ lui $t2,0xfcff +/* f127b3c: 25690008 */ addiu $t1,$t3,0x8 +/* f127b40: afa90198 */ sw $t1,0x198($sp) +/* f127b44: 354a9bff */ ori $t2,$t2,0x9bff +/* f127b48: 35adff7f */ ori $t5,$t5,0xff7f +/* f127b4c: ad6d0004 */ sw $t5,0x4($t3) +/* f127b50: 0c002ee8 */ jal 0xbba0 +/* f127b54: ad6a0000 */ sw $t2,0x0($t3) +/* f127b58: 8faf0198 */ lw $t7,0x198($sp) +/* f127b5c: 3c17fb00 */ lui $s7,0xfb00 +/* f127b60: 3c013f00 */ lui $at,0x3f00 +/* f127b64: 25ee0008 */ addiu $t6,$t7,0x8 +/* f127b68: afae0198 */ sw $t6,0x198($sp) +/* f127b6c: adf70000 */ sw $s7,0x0($t7) +/* f127b70: c7a801b0 */ lwc1 $f8,0x1b0($sp) +/* f127b74: 4481a000 */ mtc1 $at,$f20 +/* f127b78: 3c01437f */ lui $at,0x437f +/* f127b7c: 46164282 */ mul.s $f10,$f8,$f22 +/* f127b80: 44812000 */ mtc1 $at,$f4 +/* f127b84: 2401ff00 */ li $at,-256 +/* f127b88: 240a0001 */ li $t2,0x1 +/* f127b8c: 27be0184 */ addiu $s8,$sp,0x184 +/* f127b90: 240e0001 */ li $t6,0x1 +/* f127b94: 24190001 */ li $t9,0x1 +/* f127b98: 46045182 */ mul.s $f6,$f10,$f4 +/* f127b9c: 03c02825 */ move $a1,$s8 +/* f127ba0: 02a02025 */ move $a0,$s5 +/* f127ba4: 4616a102 */ mul.s $f4,$f20,$f22 +/* f127ba8: 27a6017c */ addiu $a2,$sp,0x17c +/* f127bac: 4600320d */ trunc.w.s $f8,$f6 +/* f127bb0: 4604a180 */ add.s $f6,$f20,$f4 +/* f127bb4: 44184000 */ mfc1 $t8,$f8 +/* f127bb8: 00000000 */ nop +/* f127bbc: 330800ff */ andi $t0,$t8,0xff +/* f127bc0: 01016025 */ or $t4,$t0,$at +/* f127bc4: adec0004 */ sw $t4,0x4($t7) +/* f127bc8: c7aa01a8 */ lwc1 $f10,0x1a8($sp) +/* f127bcc: 3c014270 */ lui $at,0x4270 +/* f127bd0: 44812000 */ mtc1 $at,$f4 +/* f127bd4: 46065202 */ mul.s $f8,$f10,$f6 +/* f127bd8: 8ec20000 */ lw $v0,0x0($s6) +/* f127bdc: e7ba0184 */ swc1 $f26,0x184($sp) +/* f127be0: e7bc0188 */ swc1 $f28,0x188($sp) +/* f127be4: 240f0001 */ li $t7,0x1 +/* f127be8: 24180001 */ li $t8,0x1 +/* f127bec: 46002283 */ div.s $f10,$f4,$f0 +/* f127bf0: 46085182 */ mul.s $f6,$f10,$f8 +/* f127bf4: 4600310d */ trunc.w.s $f4,$f6 +/* f127bf8: 448a3000 */ mtc1 $t2,$f6 +/* f127bfc: 44092000 */ mfc1 $t1,$f4 +/* f127c00: 46803620 */ cvt.s.w $f24,$f6 +/* f127c04: 44895000 */ mtc1 $t1,$f10 +/* f127c08: 00000000 */ nop +/* f127c0c: 46805220 */ cvt.s.w $f8,$f10 +/* f127c10: 46144082 */ mul.s $f2,$f8,$f20 +/* f127c14: 00000000 */ nop +/* f127c18: 46181102 */ mul.s $f4,$f2,$f24 +/* f127c1c: e7a20180 */ swc1 $f2,0x180($sp) +/* f127c20: e7a4017c */ swc1 $f4,0x17c($sp) +/* f127c24: 904d004d */ lbu $t5,0x4d($v0) +/* f127c28: 9047004c */ lbu $a3,0x4c($v0) +/* f127c2c: afb80028 */ sw $t8,0x28($sp) +/* f127c30: afa00024 */ sw $zero,0x24($sp) +/* f127c34: afb90020 */ sw $t9,0x20($sp) +/* f127c38: afae001c */ sw $t6,0x1c($sp) +/* f127c3c: afaf0018 */ sw $t7,0x18($sp) +/* f127c40: afa00014 */ sw $zero,0x14($sp) +/* f127c44: 0fc2c958 */ jal 0xf0b2560 +/* f127c48: afad0010 */ sw $t5,0x10($sp) +/* f127c4c: 8ec50000 */ lw $a1,0x0($s6) +/* f127c50: 24080002 */ li $t0,0x2 +/* f127c54: 240c0001 */ li $t4,0x1 +/* f127c58: afac0014 */ sw $t4,0x14($sp) +/* f127c5c: afa80010 */ sw $t0,0x10($sp) +/* f127c60: 02a02025 */ move $a0,$s5 +/* f127c64: 24060004 */ li $a2,0x4 +/* f127c68: 00003825 */ move $a3,$zero +/* f127c6c: afa00018 */ sw $zero,0x18($sp) +/* f127c70: 0fc2cf74 */ jal 0xf0b3dd0 +/* f127c74: 24a5000c */ addiu $a1,$a1,0xc +/* f127c78: 8fab0198 */ lw $t3,0x198($sp) +/* f127c7c: 3c0fba00 */ lui $t7,0xba00 +/* f127c80: 35ef0602 */ ori $t7,$t7,0x602 +/* f127c84: 25690008 */ addiu $t1,$t3,0x8 +/* f127c88: afa90198 */ sw $t1,0x198($sp) +/* f127c8c: ad600004 */ sw $zero,0x4($t3) +/* f127c90: ad700000 */ sw $s0,0x0($t3) +/* f127c94: 8faa0198 */ lw $t2,0x198($sp) +/* f127c98: 240e0040 */ li $t6,0x40 +/* f127c9c: 3c08ba00 */ lui $t0,0xba00 +/* f127ca0: 254d0008 */ addiu $t5,$t2,0x8 +/* f127ca4: afad0198 */ sw $t5,0x198($sp) +/* f127ca8: ad4e0004 */ sw $t6,0x4($t2) +/* f127cac: ad4f0000 */ sw $t7,0x0($t2) +/* f127cb0: 8fb90198 */ lw $t9,0x198($sp) +/* f127cb4: 35080402 */ ori $t0,$t0,0x402 +/* f127cb8: 3c0dba00 */ lui $t5,0xba00 +/* f127cbc: 27380008 */ addiu $t8,$t9,0x8 +/* f127cc0: afb80198 */ sw $t8,0x198($sp) +/* f127cc4: af200004 */ sw $zero,0x4($t9) +/* f127cc8: af280000 */ sw $t0,0x0($t9) +/* f127ccc: 8fac0198 */ lw $t4,0x198($sp) +/* f127cd0: 35ad1301 */ ori $t5,$t5,0x1301 +/* f127cd4: 3c08ba00 */ lui $t0,0xba00 +/* f127cd8: 258b0008 */ addiu $t3,$t4,0x8 +/* f127cdc: afab0198 */ sw $t3,0x198($sp) +/* f127ce0: ad920004 */ sw $s2,0x4($t4) +/* f127ce4: ad910000 */ sw $s1,0x0($t4) +/* f127ce8: 8fa90198 */ lw $t1,0x198($sp) +/* f127cec: 35081001 */ ori $t0,$t0,0x1001 +/* f127cf0: 3c017f1b */ lui $at,0x7f1b +/* f127cf4: 252a0008 */ addiu $t2,$t1,0x8 +/* f127cf8: afaa0198 */ sw $t2,0x198($sp) +/* f127cfc: ad200004 */ sw $zero,0x4($t1) +/* f127d00: ad2d0000 */ sw $t5,0x0($t1) +/* f127d04: 8faf0198 */ lw $t7,0x198($sp) +/* f127d08: 24090c00 */ li $t1,0xc00 +/* f127d0c: 4480b000 */ mtc1 $zero,$f22 +/* f127d10: 25ee0008 */ addiu $t6,$t7,0x8 +/* f127d14: afae0198 */ sw $t6,0x198($sp) +/* f127d18: ade00004 */ sw $zero,0x4($t7) +/* f127d1c: adf30000 */ sw $s3,0x0($t7) +/* f127d20: 8fb90198 */ lw $t9,0x198($sp) +/* f127d24: 3c0fba00 */ lui $t7,0xba00 +/* f127d28: 35ef0e02 */ ori $t7,$t7,0xe02 +/* f127d2c: 27380008 */ addiu $t8,$t9,0x8 +/* f127d30: afb80198 */ sw $t8,0x198($sp) +/* f127d34: af200004 */ sw $zero,0x4($t9) +/* f127d38: af280000 */ sw $t0,0x0($t9) +/* f127d3c: 8fac0198 */ lw $t4,0x198($sp) +/* f127d40: 3c18ba00 */ lui $t8,0xba00 +/* f127d44: 37180c02 */ ori $t8,$t8,0xc02 +/* f127d48: 258b0008 */ addiu $t3,$t4,0x8 +/* f127d4c: afab0198 */ sw $t3,0x198($sp) +/* f127d50: ad890004 */ sw $t1,0x4($t4) +/* f127d54: ad940000 */ sw $s4,0x0($t4) +/* f127d58: 8faa0198 */ lw $t2,0x198($sp) +/* f127d5c: 24082000 */ li $t0,0x2000 +/* f127d60: 3c09fcff */ lui $t1,0xfcff +/* f127d64: 254d0008 */ addiu $t5,$t2,0x8 +/* f127d68: afad0198 */ sw $t5,0x198($sp) +/* f127d6c: ad400004 */ sw $zero,0x4($t2) +/* f127d70: ad4f0000 */ sw $t7,0x0($t2) +/* f127d74: 8fae0198 */ lw $t6,0x198($sp) +/* f127d78: 3c0aff36 */ lui $t2,0xff36 +/* f127d7c: 354aff7f */ ori $t2,$t2,0xff7f +/* f127d80: 25d90008 */ addiu $t9,$t6,0x8 +/* f127d84: afb90198 */ sw $t9,0x198($sp) +/* f127d88: adc80004 */ sw $t0,0x4($t6) +/* f127d8c: add80000 */ sw $t8,0x0($t6) +/* f127d90: 8fac0198 */ lw $t4,0x198($sp) +/* f127d94: 35299bff */ ori $t1,$t1,0x9bff +/* f127d98: 27b4014c */ addiu $s4,$sp,0x14c +/* f127d9c: 258b0008 */ addiu $t3,$t4,0x8 +/* f127da0: afab0198 */ sw $t3,0x198($sp) +/* f127da4: ad8a0004 */ sw $t2,0x4($t4) +/* f127da8: ad890000 */ sw $t1,0x0($t4) +/* f127dac: c43e7100 */ lwc1 $f30,0x7100($at) +/* f127db0: 3c014316 */ lui $at,0x4316 +/* f127db4: e7bc01a0 */ swc1 $f28,0x1a0($sp) +/* f127db8: 4481e000 */ mtc1 $at,$f28 +/* f127dbc: 3c013f80 */ lui $at,0x3f80 +/* f127dc0: e7ba019c */ swc1 $f26,0x19c($sp) +/* f127dc4: 4481d000 */ mtc1 $at,$f26 +/* f127dc8: 3c017f1b */ lui $at,0x7f1b +/* f127dcc: e7b80094 */ swc1 $f24,0x94($sp) +/* f127dd0: c4387104 */ lwc1 $f24,0x7104($at) +/* f127dd4: 8fb301ac */ lw $s3,0x1ac($sp) +/* f127dd8: 27b1014c */ addiu $s1,$sp,0x14c +/* f127ddc: 27b20164 */ addiu $s2,$sp,0x164 +/* f127de0: 27b00134 */ addiu $s0,$sp,0x134 +.PB0f127de4: +/* f127de4: 2a61004b */ slti $at,$s3,0x4b +/* f127de8: 1020000c */ beqz $at,.PB0f127e1c +/* f127dec: 266dffb5 */ addiu $t5,$s3,-75 +/* f127df0: 2a610019 */ slti $at,$s3,0x19 +/* f127df4: 10200007 */ beqz $at,.PB0f127e14 +/* f127df8: 00000000 */ nop +/* f127dfc: 44935000 */ mtc1 $s3,$f10 +/* f127e00: 00000000 */ nop +/* f127e04: 46805220 */ cvt.s.w $f8,$f10 +/* f127e08: 46184082 */ mul.s $f2,$f8,$f24 +/* f127e0c: 10000011 */ b .PB0f127e54 +/* f127e10: 8e2f0000 */ lw $t7,0x0($s1) +.PB0f127e14: +/* f127e14: 1000000e */ b .PB0f127e50 +/* f127e18: 4600d086 */ mov.s $f2,$f26 +.PB0f127e1c: +/* f127e1c: 448d3000 */ mtc1 $t5,$f6 +/* f127e20: 00000000 */ nop +/* f127e24: 46803120 */ cvt.s.w $f4,$f6 +/* f127e28: 4604e281 */ sub.s $f10,$f28,$f4 +/* f127e2c: 461e5202 */ mul.s $f8,$f10,$f30 +/* f127e30: 00000000 */ nop +/* f127e34: 46144082 */ mul.s $f2,$f8,$f20 +/* f127e38: 4616103c */ c.lt.s $f2,$f22 +/* f127e3c: 00000000 */ nop +/* f127e40: 45000002 */ bc1f .PB0f127e4c +/* f127e44: 00000000 */ nop +/* f127e48: 4600b086 */ mov.s $f2,$f22 +.PB0f127e4c: +/* f127e4c: 46141080 */ add.s $f2,$f2,$f20 +.PB0f127e50: +/* f127e50: 8e2f0000 */ lw $t7,0x0($s1) +.PB0f127e54: +/* f127e54: c7aa0130 */ lwc1 $f10,0x130($sp) +/* f127e58: 8fa30198 */ lw $v1,0x198($sp) +/* f127e5c: 448f3000 */ mtc1 $t7,$f6 +/* f127e60: c7a4019c */ lwc1 $f4,0x19c($sp) +/* f127e64: 8e4e0000 */ lw $t6,0x0($s2) +/* f127e68: 46803020 */ cvt.s.w $f0,$f6 +/* f127e6c: 24780008 */ addiu $t8,$v1,0x8 +/* f127e70: c7a601a0 */ lwc1 $f6,0x1a0($sp) +/* f127e74: afb80198 */ sw $t8,0x198($sp) +/* f127e78: 3c014f80 */ lui $at,0x4f80 +/* f127e7c: 460a0202 */ mul.s $f8,$f0,$f10 +/* f127e80: c7aa012c */ lwc1 $f10,0x12c($sp) +/* f127e84: ac770000 */ sw $s7,0x0($v1) +/* f127e88: 8e020000 */ lw $v0,0x0($s0) +/* f127e8c: 304800ff */ andi $t0,$v0,0xff +/* f127e90: 46082301 */ sub.s $f12,$f4,$f8 +/* f127e94: 460a0102 */ mul.s $f4,$f0,$f10 +/* f127e98: 448e4000 */ mtc1 $t6,$f8 +/* f127e9c: 44885000 */ mtc1 $t0,$f10 +/* f127ea0: 46804420 */ cvt.s.w $f16,$f8 +/* f127ea4: c7a801b0 */ lwc1 $f8,0x1b0($sp) +/* f127ea8: 46043381 */ sub.s $f14,$f6,$f4 +/* f127eac: 468051a0 */ cvt.s.w $f6,$f10 +/* f127eb0: 46024282 */ mul.s $f10,$f8,$f2 +/* f127eb4: 05010004 */ bgez $t0,.PB0f127ec8 +/* f127eb8: 00000000 */ nop +/* f127ebc: 44812000 */ mtc1 $at,$f4 +/* f127ec0: 00000000 */ nop +/* f127ec4: 46043180 */ add.s $f6,$f6,$f4 +.PB0f127ec8: +/* f127ec8: 460a3102 */ mul.s $f4,$f6,$f10 +/* f127ecc: 02a02025 */ move $a0,$s5 +/* f127ed0: 00027e02 */ srl $t7,$v0,0x18 +/* f127ed4: 000f7600 */ sll $t6,$t7,0x18 +/* f127ed8: 00024402 */ srl $t0,$v0,0x10 +/* f127edc: 310c00ff */ andi $t4,$t0,0xff +/* f127ee0: 00027a02 */ srl $t7,$v0,0x8 +/* f127ee4: 4600220d */ trunc.w.s $f8,$f4 +/* f127ee8: 46148482 */ mul.s $f18,$f16,$f20 +/* f127eec: 03c02825 */ move $a1,$s8 +/* f127ef0: 27a6017c */ addiu $a2,$sp,0x17c +/* f127ef4: 440b4000 */ mfc1 $t3,$f8 +/* f127ef8: 00000000 */ nop +/* f127efc: 316900ff */ andi $t1,$t3,0xff +/* f127f00: 012ec825 */ or $t9,$t1,$t6 +/* f127f04: 31e900ff */ andi $t1,$t7,0xff +/* f127f08: 000c5c00 */ sll $t3,$t4,0x10 +/* f127f0c: 032b5025 */ or $t2,$t9,$t3 +/* f127f10: 00097200 */ sll $t6,$t1,0x8 +/* f127f14: 014ec025 */ or $t8,$t2,$t6 +/* f127f18: ac780004 */ sw $t8,0x4($v1) +/* f127f1c: c7a60094 */ lwc1 $f6,0x94($sp) +/* f127f20: 8ec20000 */ lw $v0,0x0($s6) +/* f127f24: e7ac0184 */ swc1 $f12,0x184($sp) +/* f127f28: 46069282 */ mul.s $f10,$f18,$f6 +/* f127f2c: e7ae0188 */ swc1 $f14,0x188($sp) +/* f127f30: e7b20180 */ swc1 $f18,0x180($sp) +/* f127f34: 240c0001 */ li $t4,0x1 +/* f127f38: e7aa017c */ swc1 $f10,0x17c($sp) +/* f127f3c: 90480011 */ lbu $t0,0x11($v0) +/* f127f40: 90470010 */ lbu $a3,0x10($v0) +/* f127f44: afac0028 */ sw $t4,0x28($sp) +/* f127f48: afa00024 */ sw $zero,0x24($sp) +/* f127f4c: afa00020 */ sw $zero,0x20($sp) +/* f127f50: afa0001c */ sw $zero,0x1c($sp) +/* f127f54: afa00018 */ sw $zero,0x18($sp) +/* f127f58: afa00014 */ sw $zero,0x14($sp) +/* f127f5c: 0fc2c958 */ jal 0xf0b2560 +/* f127f60: afa80010 */ sw $t0,0x10($sp) +/* f127f64: 26100004 */ addiu $s0,$s0,0x4 +/* f127f68: 26310004 */ addiu $s1,$s1,0x4 +/* f127f6c: 1614ff9d */ bne $s0,$s4,.PB0f127de4 +/* f127f70: 26520004 */ addiu $s2,$s2,0x4 +/* f127f74: 0c002e6d */ jal 0xb9b4 +/* f127f78: 00000000 */ nop +/* f127f7c: 44822000 */ mtc1 $v0,$f4 +/* f127f80: 3c013f00 */ lui $at,0x3f00 +/* f127f84: 4481c000 */ mtc1 $at,$f24 +/* f127f88: 46802220 */ cvt.s.w $f8,$f4 +/* f127f8c: c7aa019c */ lwc1 $f10,0x19c($sp) +/* f127f90: 46184182 */ mul.s $f6,$f8,$f24 +/* f127f94: 0c002e71 */ jal 0xb9c4 +/* f127f98: 460a3501 */ sub.s $f20,$f6,$f10 +/* f127f9c: 44822000 */ mtc1 $v0,$f4 +/* f127fa0: c7aa01a0 */ lwc1 $f10,0x1a0($sp) +/* f127fa4: 46802220 */ cvt.s.w $f8,$f4 +/* f127fa8: 46184182 */ mul.s $f6,$f8,$f24 +/* f127fac: 460a3001 */ sub.s $f0,$f6,$f10 +/* f127fb0: 4614a102 */ mul.s $f4,$f20,$f20 +/* f127fb4: 00000000 */ nop +/* f127fb8: 46000202 */ mul.s $f8,$f0,$f0 +/* f127fbc: 0c012ae4 */ jal 0x4ab90 +/* f127fc0: 46082300 */ add.s $f12,$f4,$f8 +/* f127fc4: 3c014220 */ lui $at,0x4220 +/* f127fc8: 44813000 */ mtc1 $at,$f6 +/* f127fcc: 3c017f1b */ lui $at,0x7f1b +/* f127fd0: c4247108 */ lwc1 $f4,0x7108($at) +/* f127fd4: 46003281 */ sub.s $f10,$f6,$f0 +/* f127fd8: 3c19800a */ lui $t9,0x800a +/* f127fdc: c7a601b0 */ lwc1 $f6,0x1b0($sp) +/* f127fe0: 46045302 */ mul.s $f12,$f10,$f4 +/* f127fe4: 4616603c */ c.lt.s $f12,$f22 +/* f127fe8: 00000000 */ nop +/* f127fec: 45000002 */ bc1f .PB0f127ff8 +/* f127ff0: 00000000 */ nop +/* f127ff4: 4600b306 */ mov.s $f12,$f22 +.PB0f127ff8: +/* f127ff8: 8f39e504 */ lw $t9,-0x1afc($t9) +/* f127ffc: 3c017f1b */ lui $at,0x7f1b +/* f128000: c428710c */ lwc1 $f8,0x710c($at) +/* f128004: 0333082a */ slt $at,$t9,$s3 +/* f128008: 14200002 */ bnez $at,.PB0f128014 +/* f12800c: 46086300 */ add.s $f12,$f12,$f8 +/* f128010: 4600b306 */ mov.s $f12,$f22 +.PB0f128014: +/* f128014: 460cb03c */ c.lt.s $f22,$f12 +/* f128018: 00000000 */ nop +/* f12801c: 4502000d */ bc1fl .PB0f128054 +/* f128020: 8fad0198 */ lw $t5,0x198($sp) +/* f128024: 460c3282 */ mul.s $f10,$f6,$f12 +/* f128028: 3c01437f */ lui $at,0x437f +/* f12802c: 44812000 */ mtc1 $at,$f4 +/* f128030: 00000000 */ nop +/* f128034: 46045202 */ mul.s $f8,$f10,$f4 +/* f128038: 4600418d */ trunc.w.s $f6,$f8 +/* f12803c: 44043000 */ mfc1 $a0,$f6 +/* f128040: 00000000 */ nop +/* f128044: 00802825 */ move $a1,$a0 +/* f128048: 0fc4a205 */ jal 0xf128814 +/* f12804c: 00803025 */ move $a2,$a0 +/* f128050: 8fad0198 */ lw $t5,0x198($sp) +.PB0f128054: +/* f128054: 3c09ba00 */ lui $t1,0xba00 +/* f128058: 35290602 */ ori $t1,$t1,0x602 +/* f12805c: 25af0008 */ addiu $t7,$t5,0x8 +/* f128060: afaf0198 */ sw $t7,0x198($sp) +/* f128064: 240a0040 */ li $t2,0x40 +/* f128068: adaa0004 */ sw $t2,0x4($t5) +/* f12806c: ada90000 */ sw $t1,0x0($t5) +/* f128070: 8fae0198 */ lw $t6,0x198($sp) +/* f128074: 3c08ba00 */ lui $t0,0xba00 +/* f128078: 35080402 */ ori $t0,$t0,0x402 +/* f12807c: 25d80008 */ addiu $t8,$t6,0x8 +/* f128080: afb80198 */ sw $t8,0x198($sp) +/* f128084: 240c00c0 */ li $t4,0xc0 +/* f128088: adcc0004 */ sw $t4,0x4($t6) +/* f12808c: adc80000 */ sw $t0,0x0($t6) +/* f128090: 8fb90198 */ lw $t9,0x198($sp) +/* f128094: 3c0dba00 */ lui $t5,0xba00 +/* f128098: 35ad1301 */ ori $t5,$t5,0x1301 +/* f12809c: 272b0008 */ addiu $t3,$t9,0x8 +/* f1280a0: afab0198 */ sw $t3,0x198($sp) +/* f1280a4: 3c0f0008 */ lui $t7,0x8 +/* f1280a8: af2f0004 */ sw $t7,0x4($t9) +/* f1280ac: af2d0000 */ sw $t5,0x0($t9) +/* f1280b0: 8fa90198 */ lw $t1,0x198($sp) +/* f1280b4: 3c0eba00 */ lui $t6,0xba00 +/* f1280b8: 35ce1001 */ ori $t6,$t6,0x1001 +/* f1280bc: 252a0008 */ addiu $t2,$t1,0x8 +/* f1280c0: afaa0198 */ sw $t2,0x198($sp) +/* f1280c4: 3c180001 */ lui $t8,0x1 +/* f1280c8: ad380004 */ sw $t8,0x4($t1) +/* f1280cc: ad2e0000 */ sw $t6,0x0($t1) +/* f1280d0: 8fbf008c */ lw $ra,0x8c($sp) +/* f1280d4: 8fbe0088 */ lw $s8,0x88($sp) +/* f1280d8: 8fb70084 */ lw $s7,0x84($sp) +/* f1280dc: 8fb60080 */ lw $s6,0x80($sp) +/* f1280e0: 8fb5007c */ lw $s5,0x7c($sp) +/* f1280e4: 8fb40078 */ lw $s4,0x78($sp) +/* f1280e8: 8fb30074 */ lw $s3,0x74($sp) +/* f1280ec: 8fb20070 */ lw $s2,0x70($sp) +/* f1280f0: 8fb1006c */ lw $s1,0x6c($sp) +/* f1280f4: 8fb00068 */ lw $s0,0x68($sp) +/* f1280f8: d7be0060 */ ldc1 $f30,0x60($sp) +/* f1280fc: d7bc0058 */ ldc1 $f28,0x58($sp) +/* f128100: d7ba0050 */ ldc1 $f26,0x50($sp) +/* f128104: d7b80048 */ ldc1 $f24,0x48($sp) +/* f128108: d7b60040 */ ldc1 $f22,0x40($sp) +/* f12810c: d7b40038 */ ldc1 $f20,0x38($sp) +/* f128110: 8fa20198 */ lw $v0,0x198($sp) +/* f128114: 03e00008 */ jr $ra +/* f128118: 27bd0198 */ addiu $sp,$sp,0x198 +); #else GLOBAL_ASM( glabel func0f126384 diff --git a/src/game/game_1531a0.c b/src/game/game_1531a0.c index a38d121e8..5a6b7b4de 100644 --- a/src/game/game_1531a0.c +++ b/src/game/game_1531a0.c @@ -2386,6 +2386,483 @@ glabel var7f1b8a14pf /* f156088: 03e00008 */ jr $ra /* f15608c: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f155d2cpf +.late_rodata +glabel var7f1b88a8pf +.word 0x7f15641c +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f15641c +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f15641c +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f15641c +.word 0x7f156374 +.word 0x7f156374 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156374 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156380 +.word 0x7f156380 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f15638c +.word 0x7f15638c +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f1563ec +.word 0x7f156398 +.word 0x7f156398 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156398 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f1563a4 +.word 0x7f1563a4 +.word 0x7f156424 +.word 0x7f1563a4 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156410 +.word 0x7f1563b0 +.word 0x7f1563b0 +.word 0x7f1563b0 +.word 0x7f156424 +.word 0x7f1563b0 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f156404 +.word 0x7f1563bc +.word 0x7f1563bc +.word 0x7f1563bc +.word 0x7f1563bc +.word 0x7f1563c8 +.word 0x7f1563c8 +.word 0x7f1563c8 +.word 0x7f1563c8 +.word 0x7f156424 +.word 0x7f1563f8 +.word 0x7f1563d4 +.word 0x7f1563d4 +.word 0x7f1563d4 +.word 0x7f156424 +.word 0x7f1563d4 +.word 0x7f156424 +.word 0x7f156424 +.word 0x7f1563e0 +.word 0x7f1563e0 +.word 0x7f1563e0 +.word 0x7f1563e0 +.word 0x7f156694 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566a4 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f15669c +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f15668c +.word 0x7f156574 +.word 0x7f15656c +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f156564 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f156584 +.word 0x7f15657c +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f156594 +.word 0x7f15658c +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f15666c +.word 0x7f1565ac +.word 0x7f1565a4 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f15659c +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f1565c4 +.word 0x7f1565bc +.word 0x7f1566c8 +.word 0x7f1565b4 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f156684 +.word 0x7f1565dc +.word 0x7f1565d4 +.word 0x7f1565e4 +.word 0x7f1566c8 +.word 0x7f1565cc +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f15667c +.word 0x7f156604 +.word 0x7f1565f4 +.word 0x7f1565ec +.word 0x7f1565fc +.word 0x7f15660c +.word 0x7f15661c +.word 0x7f156624 +.word 0x7f156614 +.word 0x7f1566c8 +.word 0x7f156674 +.word 0x7f156644 +.word 0x7f15663c +.word 0x7f15662c +.word 0x7f1566c8 +.word 0x7f156634 +.word 0x7f1566c8 +.word 0x7f1566c8 +.word 0x7f15664c +.word 0x7f15665c +.word 0x7f156664 +.word 0x7f156654 +.text +/* f15634c: 908e0000 */ lbu $t6,0x0($a0) +/* f156350: 25cfff5f */ addiu $t7,$t6,-161 +/* f156354: 2de1005c */ sltiu $at,$t7,0x5c +/* f156358: 10200032 */ beqz $at,.PB0f156424 +/* f15635c: 000f7880 */ sll $t7,$t7,0x2 +/* f156360: 3c017f1c */ lui $at,0x7f1c +/* f156364: 002f0821 */ addu $at,$at,$t7 +/* f156368: 8c2f9438 */ lw $t7,-0x6bc8($at) +/* f15636c: 01e00008 */ jr $t7 +/* f156370: 00000000 */ nop +/* f156374: 24180041 */ li $t8,0x41 +/* f156378: 03e00008 */ jr $ra +/* f15637c: a0980000 */ sb $t8,0x0($a0) +/* f156380: 24190045 */ li $t9,0x45 +/* f156384: 03e00008 */ jr $ra +/* f156388: a0990000 */ sb $t9,0x0($a0) +/* f15638c: 24080049 */ li $t0,0x49 +/* f156390: 03e00008 */ jr $ra +/* f156394: a0880000 */ sb $t0,0x0($a0) +/* f156398: 2409004f */ li $t1,0x4f +/* f15639c: 03e00008 */ jr $ra +/* f1563a0: a0890000 */ sb $t1,0x0($a0) +/* f1563a4: 240a0055 */ li $t2,0x55 +/* f1563a8: 03e00008 */ jr $ra +/* f1563ac: a08a0000 */ sb $t2,0x0($a0) +/* f1563b0: 240b0061 */ li $t3,0x61 +/* f1563b4: 03e00008 */ jr $ra +/* f1563b8: a08b0000 */ sb $t3,0x0($a0) +/* f1563bc: 240c0065 */ li $t4,0x65 +/* f1563c0: 03e00008 */ jr $ra +/* f1563c4: a08c0000 */ sb $t4,0x0($a0) +/* f1563c8: 240d0069 */ li $t5,0x69 +/* f1563cc: 03e00008 */ jr $ra +/* f1563d0: a08d0000 */ sb $t5,0x0($a0) +/* f1563d4: 240e006f */ li $t6,0x6f +/* f1563d8: 03e00008 */ jr $ra +/* f1563dc: a08e0000 */ sb $t6,0x0($a0) +/* f1563e0: 240f0075 */ li $t7,0x75 +/* f1563e4: 03e00008 */ jr $ra +/* f1563e8: a08f0000 */ sb $t7,0x0($a0) +/* f1563ec: 2418004e */ li $t8,0x4e +/* f1563f0: 03e00008 */ jr $ra +/* f1563f4: a0980000 */ sb $t8,0x0($a0) +/* f1563f8: 2419006e */ li $t9,0x6e +/* f1563fc: 03e00008 */ jr $ra +/* f156400: a0990000 */ sb $t9,0x0($a0) +/* f156404: 24080063 */ li $t0,0x63 +/* f156408: 03e00008 */ jr $ra +/* f15640c: a0880000 */ sb $t0,0x0($a0) +/* f156410: 24090042 */ li $t1,0x42 +/* f156414: 03e00008 */ jr $ra +/* f156418: a0890000 */ sb $t1,0x0($a0) +/* f15641c: 240a0020 */ li $t2,0x20 +/* f156420: a08a0000 */ sb $t2,0x0($a0) +.PB0f156424: +/* f156424: 03e00008 */ jr $ra +/* f156428: 00000000 */ nop +/* f15642c: 3c0e8008 */ lui $t6,0x8008 +/* f156430: 8dce65f0 */ lw $t6,0x65f0($t6) +/* f156434: 27bdffd8 */ addiu $sp,$sp,-40 +/* f156438: afbf0014 */ sw $ra,0x14($sp) +/* f15643c: afa40028 */ sw $a0,0x28($sp) +/* f156440: 11c0002d */ beqz $t6,.PB0f1564f8 +/* f156444: afa5002c */ sw $a1,0x2c($sp) +/* f156448: 8c980000 */ lw $t8,0x0($a0) +/* f15644c: 2405000c */ li $a1,0xc +/* f156450: 8fa30038 */ lw $v1,0x38($sp) +/* f156454: 93020000 */ lbu $v0,0x0($t8) +/* f156458: 28410080 */ slti $at,$v0,0x80 +/* f15645c: 50200018 */ beqzl $at,.PB0f1564c0 +/* f156460: 906b0000 */ lbu $t3,0x0($v1) +/* f156464: 00450019 */ multu $v0,$a1 +/* f156468: 8faa002c */ lw $t2,0x2c($sp) +/* f15646c: 8fa30038 */ lw $v1,0x38($sp) +/* f156470: 0000c812 */ mflo $t9 +/* f156474: 03274021 */ addu $t0,$t9,$a3 +/* f156478: 2509fe74 */ addiu $t1,$t0,-396 +/* f15647c: ad490000 */ sw $t1,0x0($t2) +/* f156480: 906b0000 */ lbu $t3,0x0($v1) +/* f156484: 01650019 */ multu $t3,$a1 +/* f156488: 00006012 */ mflo $t4 +/* f15648c: 01876821 */ addu $t5,$t4,$a3 +/* f156490: 25aefe74 */ addiu $t6,$t5,-396 +/* f156494: acce0000 */ sw $t6,0x0($a2) +/* f156498: 8faf0028 */ lw $t7,0x28($sp) +/* f15649c: 8df80000 */ lw $t8,0x0($t7) +/* f1564a0: 93190000 */ lbu $t9,0x0($t8) +/* f1564a4: a0790000 */ sb $t9,0x0($v1) +/* f1564a8: 8fa80028 */ lw $t0,0x28($sp) +/* f1564ac: 8d090000 */ lw $t1,0x0($t0) +/* f1564b0: 252a0001 */ addiu $t2,$t1,0x1 +/* f1564b4: 100000b2 */ b .PB0f156780 +/* f1564b8: ad0a0000 */ sw $t2,0x0($t0) +/* f1564bc: 906b0000 */ lbu $t3,0x0($v1) +.PB0f1564c0: +/* f1564c0: 2405000c */ li $a1,0xc +/* f1564c4: 8faf002c */ lw $t7,0x2c($sp) +/* f1564c8: 01650019 */ multu $t3,$a1 +/* f1564cc: 00006012 */ mflo $t4 +/* f1564d0: 01876821 */ addu $t5,$t4,$a3 +/* f1564d4: 25aefe74 */ addiu $t6,$t5,-396 +/* f1564d8: adee0000 */ sw $t6,0x0($t7) +/* f1564dc: 90780000 */ lbu $t8,0x0($v1) +/* f1564e0: 03050019 */ multu $t8,$a1 +/* f1564e4: 0000c812 */ mflo $t9 +/* f1564e8: 03274821 */ addu $t1,$t9,$a3 +/* f1564ec: 252afe74 */ addiu $t2,$t1,-396 +/* f1564f0: 100000a3 */ b .PB0f156780 +/* f1564f4: acca0000 */ sw $t2,0x0($a2) +.PB0f1564f8: +/* f1564f8: 8fa80028 */ lw $t0,0x28($sp) +/* f1564fc: 3c0d8008 */ lui $t5,0x8008 +/* f156500: 8dad1fe0 */ lw $t5,0x1fe0($t5) +/* f156504: 8d0b0000 */ lw $t3,0x0($t0) +/* f156508: 00001025 */ move $v0,$zero +/* f15650c: 3c0e8008 */ lui $t6,0x8008 +/* f156510: 916c0000 */ lbu $t4,0x0($t3) +/* f156514: 10ed0009 */ beq $a3,$t5,.PB0f15653c +/* f156518: a3ac0027 */ sb $t4,0x27($sp) +/* f15651c: 8dce1fe8 */ lw $t6,0x1fe8($t6) +/* f156520: 3c0f8008 */ lui $t7,0x8008 +/* f156524: 50ee0006 */ beql $a3,$t6,.PB0f156540 +/* f156528: 93b80027 */ lbu $t8,0x27($sp) +/* f15652c: 8def1fd8 */ lw $t7,0x1fd8($t7) +/* f156530: 27a40027 */ addiu $a0,$sp,0x27 +/* f156534: 54ef005e */ bnel $a3,$t7,.PB0f1566b0 +/* f156538: a3a20026 */ sb $v0,0x26($sp) +.PB0f15653c: +/* f15653c: 93b80027 */ lbu $t8,0x27($sp) +.PB0f156540: +/* f156540: 2719ff5f */ addiu $t9,$t8,-161 +/* f156544: 2f21005c */ sltiu $at,$t9,0x5c +/* f156548: 1020005f */ beqz $at,.PB0f1566c8 +/* f15654c: 0019c880 */ sll $t9,$t9,0x2 +/* f156550: 3c017f1c */ lui $at,0x7f1c +/* f156554: 00390821 */ addu $at,$at,$t9 +/* f156558: 8c3995a8 */ lw $t9,-0x6a58($at) +/* f15655c: 03200008 */ jr $t9 +/* f156560: 00000000 */ nop +/* f156564: 10000058 */ b .PB0f1566c8 +/* f156568: 2402005e */ li $v0,0x5e +/* f15656c: 10000056 */ b .PB0f1566c8 +/* f156570: 24020066 */ li $v0,0x66 +/* f156574: 10000054 */ b .PB0f1566c8 +/* f156578: 24020070 */ li $v0,0x70 +/* f15657c: 10000052 */ b .PB0f1566c8 +/* f156580: 24020067 */ li $v0,0x67 +/* f156584: 10000050 */ b .PB0f1566c8 +/* f156588: 24020071 */ li $v0,0x71 +/* f15658c: 1000004e */ b .PB0f1566c8 +/* f156590: 24020068 */ li $v0,0x68 +/* f156594: 1000004c */ b .PB0f1566c8 +/* f156598: 24020072 */ li $v0,0x72 +/* f15659c: 1000004a */ b .PB0f1566c8 +/* f1565a0: 2402005f */ li $v0,0x5f +/* f1565a4: 10000048 */ b .PB0f1566c8 +/* f1565a8: 24020069 */ li $v0,0x69 +/* f1565ac: 10000046 */ b .PB0f1566c8 +/* f1565b0: 24020073 */ li $v0,0x73 +/* f1565b4: 10000044 */ b .PB0f1566c8 +/* f1565b8: 24020060 */ li $v0,0x60 +/* f1565bc: 10000042 */ b .PB0f1566c8 +/* f1565c0: 2402006a */ li $v0,0x6a +/* f1565c4: 10000040 */ b .PB0f1566c8 +/* f1565c8: 24020074 */ li $v0,0x74 +/* f1565cc: 1000003e */ b .PB0f1566c8 +/* f1565d0: 24020061 */ li $v0,0x61 +/* f1565d4: 1000003c */ b .PB0f1566c8 +/* f1565d8: 2402006b */ li $v0,0x6b +/* f1565dc: 1000003a */ b .PB0f1566c8 +/* f1565e0: 24020075 */ li $v0,0x75 +/* f1565e4: 10000038 */ b .PB0f1566c8 +/* f1565e8: 2402007a */ li $v0,0x7a +/* f1565ec: 10000036 */ b .PB0f1566c8 +/* f1565f0: 2402007b */ li $v0,0x7b +/* f1565f4: 10000034 */ b .PB0f1566c8 +/* f1565f8: 2402006c */ li $v0,0x6c +/* f1565fc: 10000032 */ b .PB0f1566c8 +/* f156600: 24020062 */ li $v0,0x62 +/* f156604: 10000030 */ b .PB0f1566c8 +/* f156608: 24020076 */ li $v0,0x76 +/* f15660c: 1000002e */ b .PB0f1566c8 +/* f156610: 24020077 */ li $v0,0x77 +/* f156614: 1000002c */ b .PB0f1566c8 +/* f156618: 24020063 */ li $v0,0x63 +/* f15661c: 1000002a */ b .PB0f1566c8 +/* f156620: 2402006d */ li $v0,0x6d +/* f156624: 10000028 */ b .PB0f1566c8 +/* f156628: 2402007c */ li $v0,0x7c +/* f15662c: 10000026 */ b .PB0f1566c8 +/* f156630: 2402007d */ li $v0,0x7d +/* f156634: 10000024 */ b .PB0f1566c8 +/* f156638: 24020064 */ li $v0,0x64 +/* f15663c: 10000022 */ b .PB0f1566c8 +/* f156640: 2402006e */ li $v0,0x6e +/* f156644: 10000020 */ b .PB0f1566c8 +/* f156648: 24020078 */ li $v0,0x78 +/* f15664c: 1000001e */ b .PB0f1566c8 +/* f156650: 24020079 */ li $v0,0x79 +/* f156654: 1000001c */ b .PB0f1566c8 +/* f156658: 24020065 */ li $v0,0x65 +/* f15665c: 1000001a */ b .PB0f1566c8 +/* f156660: 2402006f */ li $v0,0x6f +/* f156664: 10000018 */ b .PB0f1566c8 +/* f156668: 2402007e */ li $v0,0x7e +/* f15666c: 10000016 */ b .PB0f1566c8 +/* f156670: 2402007f */ li $v0,0x7f +/* f156674: 10000014 */ b .PB0f1566c8 +/* f156678: 24020080 */ li $v0,0x80 +/* f15667c: 10000012 */ b .PB0f1566c8 +/* f156680: 24020081 */ li $v0,0x81 +/* f156684: 10000010 */ b .PB0f1566c8 +/* f156688: 24020082 */ li $v0,0x82 +/* f15668c: 1000000e */ b .PB0f1566c8 +/* f156690: 24020083 */ li $v0,0x83 +/* f156694: 1000000c */ b .PB0f1566c8 +/* f156698: 24020084 */ li $v0,0x84 +/* f15669c: 1000000a */ b .PB0f1566c8 +/* f1566a0: 24020085 */ li $v0,0x85 +/* f1566a4: 10000008 */ b .PB0f1566c8 +/* f1566a8: 24020086 */ li $v0,0x86 +/* f1566ac: a3a20026 */ sb $v0,0x26($sp) +.PB0f1566b0: +/* f1566b0: afa60030 */ sw $a2,0x30($sp) +/* f1566b4: 0fc558d3 */ jal 0xf15634c +/* f1566b8: afa70034 */ sw $a3,0x34($sp) +/* f1566bc: 93a20026 */ lbu $v0,0x26($sp) +/* f1566c0: 8fa60030 */ lw $a2,0x30($sp) +/* f1566c4: 8fa70034 */ lw $a3,0x34($sp) +.PB0f1566c8: +/* f1566c8: 18400009 */ blez $v0,.PB0f1566f0 +/* f1566cc: 00402025 */ move $a0,$v0 +/* f1566d0: 00024880 */ sll $t1,$v0,0x2 +/* f1566d4: 01224823 */ subu $t1,$t1,$v0 +/* f1566d8: 8fa8002c */ lw $t0,0x2c($sp) +/* f1566dc: 00094880 */ sll $t1,$t1,0x2 +/* f1566e0: 01275021 */ addu $t2,$t1,$a3 +/* f1566e4: 2405000c */ li $a1,0xc +/* f1566e8: 10000014 */ b .PB0f15673c +/* f1566ec: ad0a0000 */ sw $t2,0x0($t0) +.PB0f1566f0: +/* f1566f0: 93a20027 */ lbu $v0,0x27($sp) +/* f1566f4: 240b0021 */ li $t3,0x21 +/* f1566f8: 2405000c */ li $a1,0xc +/* f1566fc: 28410021 */ slti $at,$v0,0x21 +/* f156700: 10200003 */ beqz $at,.PB0f156710 +/* f156704: 240c0021 */ li $t4,0x21 +/* f156708: a3ab0027 */ sb $t3,0x27($sp) +/* f15670c: 24020021 */ li $v0,0x21 +.PB0f156710: +/* f156710: 2841007f */ slti $at,$v0,0x7f +/* f156714: 14200003 */ bnez $at,.PB0f156724 +/* f156718: 00000000 */ nop +/* f15671c: a3ac0027 */ sb $t4,0x27($sp) +/* f156720: 24020021 */ li $v0,0x21 +.PB0f156724: +/* f156724: 00450019 */ multu $v0,$a1 +/* f156728: 8fb8002c */ lw $t8,0x2c($sp) +/* f15672c: 00006812 */ mflo $t5 +/* f156730: 01a77021 */ addu $t6,$t5,$a3 +/* f156734: 25cffe74 */ addiu $t7,$t6,-396 +/* f156738: af0f0000 */ sw $t7,0x0($t8) +.PB0f15673c: +/* f15673c: 8fa30038 */ lw $v1,0x38($sp) +/* f156740: 90790000 */ lbu $t9,0x0($v1) +/* f156744: 03250019 */ multu $t9,$a1 +/* f156748: 00004812 */ mflo $t1 +/* f15674c: 01275021 */ addu $t2,$t1,$a3 +/* f156750: 2548fe74 */ addiu $t0,$t2,-396 +/* f156754: 18800004 */ blez $a0,.PB0f156768 +/* f156758: acc80000 */ sw $t0,0x0($a2) +/* f15675c: 0fc558d3 */ jal 0xf15634c +/* f156760: 27a40027 */ addiu $a0,$sp,0x27 +/* f156764: 8fa30038 */ lw $v1,0x38($sp) +.PB0f156768: +/* f156768: 93ab0027 */ lbu $t3,0x27($sp) +/* f15676c: a06b0000 */ sb $t3,0x0($v1) +/* f156770: 8fac0028 */ lw $t4,0x28($sp) +/* f156774: 8d8d0000 */ lw $t5,0x0($t4) +/* f156778: 25ae0001 */ addiu $t6,$t5,0x1 +/* f15677c: ad8e0000 */ sw $t6,0x0($t4) +.PB0f156780: +/* f156780: 8fbf0014 */ lw $ra,0x14($sp) +/* f156784: 27bd0028 */ addiu $sp,$sp,0x28 +/* f156788: 03e00008 */ jr $ra +/* f15678c: 00000000 */ nop +); #endif GLOBAL_ASM( @@ -2857,6 +3334,234 @@ glabel func0f1552d4 /* f156778: 03e00008 */ jr $ra /* f15677c: 27bd00d0 */ addiu $sp,$sp,0xd0 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f1552d4 +/* f156b2c: 27bdff30 */ addiu $sp,$sp,-208 +/* f156b30: f7ba0048 */ sdc1 $f26,0x48($sp) +/* f156b34: 4487d000 */ mtc1 $a3,$f26 +/* f156b38: 8fa700e8 */ lw $a3,0xe8($sp) +/* f156b3c: 240e0048 */ li $t6,0x48 +/* f156b40: afbf0074 */ sw $ra,0x74($sp) +/* f156b44: afbe0070 */ sw $s8,0x70($sp) +/* f156b48: afb7006c */ sw $s7,0x6c($sp) +/* f156b4c: afb60068 */ sw $s6,0x68($sp) +/* f156b50: afb50064 */ sw $s5,0x64($sp) +/* f156b54: afb40060 */ sw $s4,0x60($sp) +/* f156b58: afb3005c */ sw $s3,0x5c($sp) +/* f156b5c: afb20058 */ sw $s2,0x58($sp) +/* f156b60: afb10054 */ sw $s1,0x54($sp) +/* f156b64: afb00050 */ sw $s0,0x50($sp) +/* f156b68: f7b80040 */ sdc1 $f24,0x40($sp) +/* f156b6c: f7b60038 */ sdc1 $f22,0x38($sp) +/* f156b70: f7b40030 */ sdc1 $f20,0x30($sp) +/* f156b74: afa500d4 */ sw $a1,0xd4($sp) +/* f156b78: afa600d8 */ sw $a2,0xd8($sp) +/* f156b7c: a3ae00cb */ sb $t6,0xcb($sp) +/* f156b80: afa000b8 */ sw $zero,0xb8($sp) +/* f156b84: 3c198008 */ lui $t9,0x8008 +/* f156b88: 8f3965f0 */ lw $t9,0x65f0($t9) +/* f156b8c: 90f80446 */ lbu $t8,0x446($a3) +/* f156b90: 80ef0445 */ lb $t7,0x445($a3) +/* f156b94: 00808025 */ move $s0,$a0 +/* f156b98: 00008825 */ move $s1,$zero +/* f156b9c: 13200005 */ beqz $t9,.PB0f156bb4 +/* f156ba0: 01f81021 */ addu $v0,$t7,$t8 +/* f156ba4: 2841000e */ slti $at,$v0,0xe +/* f156ba8: 50200003 */ beqzl $at,.PB0f156bb8 +/* f156bac: 8fa800ec */ lw $t0,0xec($sp) +/* f156bb0: 2402000e */ li $v0,0xe +.PB0f156bb4: +/* f156bb4: 8fa800ec */ lw $t0,0xec($sp) +.PB0f156bb8: +/* f156bb8: 27a400c0 */ addiu $a0,$sp,0xc0 +/* f156bbc: 27a500c4 */ addiu $a1,$sp,0xc4 +/* f156bc0: 8fa600e4 */ lw $a2,0xe4($sp) +/* f156bc4: afa00014 */ sw $zero,0x14($sp) +/* f156bc8: afa200bc */ sw $v0,0xbc($sp) +/* f156bcc: 0fc5625a */ jal 0xf158968 +/* f156bd0: afa80010 */ sw $t0,0x10($sp) +/* f156bd4: 8fa900c4 */ lw $t1,0xc4($sp) +/* f156bd8: 3c013f80 */ lui $at,0x3f80 +/* f156bdc: 44810000 */ mtc1 $at,$f0 +/* f156be0: 44893000 */ mtc1 $t1,$f6 +/* f156be4: 8faa00f4 */ lw $t2,0xf4($sp) +/* f156be8: 4600d101 */ sub.s $f4,$f26,$f0 +/* f156bec: 3c013f00 */ lui $at,0x3f00 +/* f156bf0: 44811000 */ mtc1 $at,$f2 +/* f156bf4: 46803220 */ cvt.s.w $f8,$f6 +/* f156bf8: 448a9000 */ mtc1 $t2,$f18 +/* f156bfc: 8fab00bc */ lw $t3,0xbc($sp) +/* f156c00: c7b800e0 */ lwc1 $f24,0xe0($sp) +/* f156c04: 8fac00f8 */ lw $t4,0xf8($sp) +/* f156c08: 468091a0 */ cvt.s.w $f6,$f18 +/* f156c0c: 46082282 */ mul.s $f10,$f4,$f8 +/* f156c10: 448b9000 */ mtc1 $t3,$f18 +/* f156c14: c7a800d4 */ lwc1 $f8,0xd4($sp) +/* f156c18: 02001025 */ move $v0,$s0 +/* f156c1c: 26100008 */ addiu $s0,$s0,0x8 +/* f156c20: 3c13e700 */ lui $s3,0xe700 +/* f156c24: 02001825 */ move $v1,$s0 +/* f156c28: 46025402 */ mul.s $f16,$f10,$f2 +/* f156c2c: 4600c281 */ sub.s $f10,$f24,$f0 +/* f156c30: 3c0dba00 */ lui $t5,0xba00 +/* f156c34: 35ad0e02 */ ori $t5,$t5,0xe02 +/* f156c38: 26100008 */ addiu $s0,$s0,0x8 +/* f156c3c: 340ec000 */ li $t6,0xc000 +/* f156c40: 02009025 */ move $s2,$s0 +/* f156c44: 46068102 */ mul.s $f4,$f16,$f6 +/* f156c48: 3c0ffd10 */ lui $t7,0xfd10 +/* f156c4c: 3c048008 */ lui $a0,0x8008 +/* f156c50: 2484200c */ addiu $a0,$a0,0x200c +/* f156c54: 26100008 */ addiu $s0,$s0,0x8 +/* f156c58: 46809420 */ cvt.s.w $f16,$f18 +/* f156c5c: 46044501 */ sub.s $f20,$f8,$f4 +/* f156c60: 46105182 */ mul.s $f6,$f10,$f16 +/* f156c64: 448c2000 */ mtc1 $t4,$f4 +/* f156c68: c7b000d8 */ lwc1 $f16,0xd8($sp) +/* f156c6c: ac400004 */ sw $zero,0x4($v0) +/* f156c70: ac530000 */ sw $s3,0x0($v0) +/* f156c74: ac6e0004 */ sw $t6,0x4($v1) +/* f156c78: 468024a0 */ cvt.s.w $f18,$f4 +/* f156c7c: 46023202 */ mul.s $f8,$f6,$f2 +/* f156c80: ac6d0000 */ sw $t5,0x0($v1) +/* f156c84: ae4f0000 */ sw $t7,0x0($s2) +/* f156c88: 46124282 */ mul.s $f10,$f8,$f18 +/* f156c8c: 0c012de0 */ jal 0x4b780 +/* f156c90: 460a8581 */ sub.s $f22,$f16,$f10 +/* f156c94: 02001825 */ move $v1,$s0 +/* f156c98: ae420004 */ sw $v0,0x4($s2) +/* f156c9c: 26100008 */ addiu $s0,$s0,0x8 +/* f156ca0: 3c18e600 */ lui $t8,0xe600 +/* f156ca4: 02002025 */ move $a0,$s0 +/* f156ca8: ac780000 */ sw $t8,0x0($v1) +/* f156cac: ac600004 */ sw $zero,0x4($v1) +/* f156cb0: 26100008 */ addiu $s0,$s0,0x8 +/* f156cb4: 3c080603 */ lui $t0,0x603 +/* f156cb8: 3508c000 */ ori $t0,$t0,0xc000 +/* f156cbc: 3c19f000 */ lui $t9,0xf000 +/* f156cc0: 02002825 */ move $a1,$s0 +/* f156cc4: ac990000 */ sw $t9,0x0($a0) +/* f156cc8: ac880004 */ sw $t0,0x4($a0) +/* f156ccc: 26100008 */ addiu $s0,$s0,0x8 +/* f156cd0: 3c09f540 */ lui $t1,0xf540 +/* f156cd4: 35290200 */ ori $t1,$t1,0x200 +/* f156cd8: 02003025 */ move $a2,$s0 +/* f156cdc: aca90000 */ sw $t1,0x0($a1) +/* f156ce0: aca00004 */ sw $zero,0x4($a1) +/* f156ce4: 3c0b0007 */ lui $t3,0x7 +/* f156ce8: 356bc07c */ ori $t3,$t3,0xc07c +/* f156cec: 26100008 */ addiu $s0,$s0,0x8 +/* f156cf0: 3c0af200 */ lui $t2,0xf200 +/* f156cf4: acca0000 */ sw $t2,0x0($a2) +/* f156cf8: accb0004 */ sw $t3,0x4($a2) +/* f156cfc: 02003825 */ move $a3,$s0 +/* f156d00: 3c0cfa00 */ lui $t4,0xfa00 +/* f156d04: acec0000 */ sw $t4,0x0($a3) +/* f156d08: 8fad00f0 */ lw $t5,0xf0($sp) +/* f156d0c: 26100008 */ addiu $s0,$s0,0x8 +/* f156d10: 02001025 */ move $v0,$s0 +/* f156d14: aced0004 */ sw $t5,0x4($a3) +/* f156d18: ac400004 */ sw $zero,0x4($v0) +/* f156d1c: ac530000 */ sw $s3,0x0($v0) +/* f156d20: 8fae00e4 */ lw $t6,0xe4($sp) +/* f156d24: 26100008 */ addiu $s0,$s0,0x8 +/* f156d28: 51c00045 */ beqzl $t6,.PB0f156e40 +/* f156d2c: 8fbf0074 */ lw $ra,0x74($sp) +/* f156d30: 91c20000 */ lbu $v0,0x0($t6) +/* f156d34: 27be0084 */ addiu $s8,$sp,0x84 +/* f156d38: 27b700e4 */ addiu $s7,$sp,0xe4 +/* f156d3c: 1040003f */ beqz $v0,.PB0f156e3c +/* f156d40: 3c168008 */ lui $s6,0x8008 +/* f156d44: 3c138008 */ lui $s3,0x8008 +/* f156d48: 26731fa0 */ addiu $s3,$s3,0x1fa0 +/* f156d4c: 26d61fa4 */ addiu $s6,$s6,0x1fa4 +/* f156d50: 2415000a */ li $s5,0xa +/* f156d54: 24140005 */ li $s4,0x5 +/* f156d58: 24120020 */ li $s2,0x20 +.PB0f156d5c: +/* f156d5c: 1642000d */ bne $s2,$v0,.PB0f156d94 +/* f156d60: 00000000 */ nop +/* f156d64: 8e6f0000 */ lw $t7,0x0($s3) +/* f156d68: 8fa300b8 */ lw $v1,0xb8($sp) +/* f156d6c: 8fa800e4 */ lw $t0,0xe4($sp) +/* f156d70: 01f40019 */ multu $t7,$s4 +/* f156d74: 24190048 */ li $t9,0x48 +/* f156d78: 25090001 */ addiu $t1,$t0,0x1 +/* f156d7c: a3b900cb */ sb $t9,0xcb($sp) +/* f156d80: afa900e4 */ sw $t1,0xe4($sp) +/* f156d84: 0000c012 */ mflo $t8 +/* f156d88: 03031821 */ addu $v1,$t8,$v1 +/* f156d8c: 10000027 */ b .PB0f156e2c +/* f156d90: afa300b8 */ sw $v1,0xb8($sp) +.PB0f156d94: +/* f156d94: 16a20013 */ bne $s5,$v0,.PB0f156de4 +/* f156d98: 02e02025 */ move $a0,$s7 +/* f156d9c: 8ec20000 */ lw $v0,0x0($s6) +/* f156da0: 240a0048 */ li $t2,0x48 +/* f156da4: 8fa300b8 */ lw $v1,0xb8($sp) +/* f156da8: 04400006 */ bltz $v0,.PB0f156dc4 +/* f156dac: a3aa00cb */ sb $t2,0xcb($sp) +/* f156db0: 54600005 */ bnezl $v1,.PB0f156dc8 +/* f156db4: 8fab00bc */ lw $t3,0xbc($sp) +/* f156db8: 02228821 */ addu $s1,$s1,$v0 +/* f156dbc: 10000004 */ b .PB0f156dd0 +/* f156dc0: 00001825 */ move $v1,$zero +.PB0f156dc4: +/* f156dc4: 8fab00bc */ lw $t3,0xbc($sp) +.PB0f156dc8: +/* f156dc8: 00001825 */ move $v1,$zero +/* f156dcc: 022b8821 */ addu $s1,$s1,$t3 +.PB0f156dd0: +/* f156dd0: 8fac00e4 */ lw $t4,0xe4($sp) +/* f156dd4: afa300b8 */ sw $v1,0xb8($sp) +/* f156dd8: 258d0001 */ addiu $t5,$t4,0x1 +/* f156ddc: 10000013 */ b .PB0f156e2c +/* f156de0: afad00e4 */ sw $t5,0xe4($sp) +.PB0f156de4: +/* f156de4: 27ae00cb */ addiu $t6,$sp,0xcb +/* f156de8: afae0010 */ sw $t6,0x10($sp) +/* f156dec: 03c02825 */ move $a1,$s8 +/* f156df0: 27a60080 */ addiu $a2,$sp,0x80 +/* f156df4: 0fc5590b */ jal 0xf15642c +/* f156df8: 8fa700e8 */ lw $a3,0xe8($sp) +/* f156dfc: 8faf00ec */ lw $t7,0xec($sp) +/* f156e00: 02002025 */ move $a0,$s0 +/* f156e04: 27a500b8 */ addiu $a1,$sp,0xb8 +/* f156e08: 8fa60084 */ lw $a2,0x84($sp) +/* f156e0c: 8fa70080 */ lw $a3,0x80($sp) +/* f156e10: e7ba0014 */ swc1 $f26,0x14($sp) +/* f156e14: e7b80018 */ swc1 $f24,0x18($sp) +/* f156e18: e7b4001c */ swc1 $f20,0x1c($sp) +/* f156e1c: e7b60020 */ swc1 $f22,0x20($sp) +/* f156e20: 0fc559e4 */ jal 0xf156790 +/* f156e24: afaf0010 */ sw $t7,0x10($sp) +/* f156e28: 00408025 */ move $s0,$v0 +.PB0f156e2c: +/* f156e2c: 8fb800e4 */ lw $t8,0xe4($sp) +/* f156e30: 93020000 */ lbu $v0,0x0($t8) +/* f156e34: 1440ffc9 */ bnez $v0,.PB0f156d5c +/* f156e38: 00000000 */ nop +.PB0f156e3c: +/* f156e3c: 8fbf0074 */ lw $ra,0x74($sp) +.PB0f156e40: +/* f156e40: 02001025 */ move $v0,$s0 +/* f156e44: 8fb00050 */ lw $s0,0x50($sp) +/* f156e48: d7b40030 */ ldc1 $f20,0x30($sp) +/* f156e4c: d7b60038 */ ldc1 $f22,0x38($sp) +/* f156e50: d7b80040 */ ldc1 $f24,0x40($sp) +/* f156e54: d7ba0048 */ ldc1 $f26,0x48($sp) +/* f156e58: 8fb10054 */ lw $s1,0x54($sp) +/* f156e5c: 8fb20058 */ lw $s2,0x58($sp) +/* f156e60: 8fb3005c */ lw $s3,0x5c($sp) +/* f156e64: 8fb40060 */ lw $s4,0x60($sp) +/* f156e68: 8fb50064 */ lw $s5,0x64($sp) +/* f156e6c: 8fb60068 */ lw $s6,0x68($sp) +/* f156e70: 8fb7006c */ lw $s7,0x6c($sp) +/* f156e74: 8fbe0070 */ lw $s8,0x70($sp) +/* f156e78: 03e00008 */ jr $ra +/* f156e7c: 27bd00d0 */ addiu $sp,$sp,0xd0 +); #else GLOBAL_ASM( glabel func0f1552d4 @@ -3761,6 +4466,653 @@ glabel func0f15568c /* f157120: 03e00008 */ jr $ra /* f157124: 27bd0098 */ addiu $sp,$sp,0x98 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f15568c +/* f156e80: 27bdff68 */ addiu $sp,$sp,-152 +/* f156e84: 8faf00b4 */ lw $t7,0xb4($sp) +/* f156e88: 3c0c8008 */ lui $t4,0x8008 +/* f156e8c: 3c198008 */ lui $t9,0x8008 +/* f156e90: 8f391f98 */ lw $t9,0x1f98($t9) +/* f156e94: 258c1fa0 */ addiu $t4,$t4,0x1fa0 +/* f156e98: 8d8e0000 */ lw $t6,0x0($t4) +/* f156e9c: afb20030 */ sw $s2,0x30($sp) +/* f156ea0: afb1002c */ sw $s1,0x2c($sp) +/* f156ea4: afb00028 */ sw $s0,0x28($sp) +/* f156ea8: 25f8fffe */ addiu $t8,$t7,-2 +/* f156eac: 00808025 */ move $s0,$a0 +/* f156eb0: 00e08825 */ move $s1,$a3 +/* f156eb4: 00a09025 */ move $s2,$a1 +/* f156eb8: afbf0034 */ sw $ra,0x34($sp) +/* f156ebc: afa600a0 */ sw $a2,0xa0($sp) +/* f156ec0: afb800b4 */ sw $t8,0xb4($sp) +/* f156ec4: 13200003 */ beqz $t9,.PB0f156ed4 +/* f156ec8: afae008c */ sw $t6,0x8c($sp) +/* f156ecc: 240d0001 */ li $t5,0x1 +/* f156ed0: afad008c */ sw $t5,0x8c($sp) +.PB0f156ed4: +/* f156ed4: 8fae00a0 */ lw $t6,0xa0($sp) +/* f156ed8: 8fad00a8 */ lw $t5,0xa8($sp) +/* f156edc: 8fb800c0 */ lw $t8,0xc0($sp) +/* f156ee0: 8dcf0000 */ lw $t7,0x0($t6) +/* f156ee4: 8dae0004 */ lw $t6,0x4($t5) +/* f156ee8: 8fb900ac */ lw $t9,0xac($sp) +/* f156eec: 01f85021 */ addu $t2,$t7,$t8 +/* f156ef0: 000e7880 */ sll $t7,$t6,0x2 +/* f156ef4: 01ee7823 */ subu $t7,$t7,$t6 +/* f156ef8: 000f7880 */ sll $t7,$t7,0x2 +/* f156efc: 01ee7821 */ addu $t7,$t7,$t6 +/* f156f00: 8e2e0004 */ lw $t6,0x4($s1) +/* f156f04: 000fc080 */ sll $t8,$t7,0x2 +/* f156f08: 03386821 */ addu $t5,$t9,$t8 +/* f156f0c: 000e7880 */ sll $t7,$t6,0x2 +/* f156f10: 01afc821 */ addu $t9,$t5,$t7 +/* f156f14: 3c0e8008 */ lui $t6,0x8008 +/* f156f18: 8dce1f94 */ lw $t6,0x1f94($t6) +/* f156f1c: 8f380000 */ lw $t8,0x0($t9) +/* f156f20: 8faf008c */ lw $t7,0x8c($sp) +/* f156f24: 030e1021 */ addu $v0,$t8,$t6 +/* f156f28: 244dffff */ addiu $t5,$v0,-1 +/* f156f2c: 01af0019 */ multu $t5,$t7 +/* f156f30: 8e580000 */ lw $t8,0x0($s2) +/* f156f34: 0000c812 */ mflo $t9 +/* f156f38: 03197023 */ subu $t6,$t8,$t9 +/* f156f3c: ae4e0000 */ sw $t6,0x0($s2) +/* f156f40: 8fad00b8 */ lw $t5,0xb8($sp) +/* f156f44: 8faf008c */ lw $t7,0x8c($sp) +/* f156f48: 3c198008 */ lui $t9,0x8008 +/* f156f4c: 8f391f98 */ lw $t9,0x1f98($t9) +/* f156f50: 01af0019 */ multu $t5,$t7 +/* f156f54: 0000c012 */ mflo $t8 +/* f156f58: afb800b8 */ sw $t8,0xb8($sp) +/* f156f5c: 57200016 */ bnezl $t9,.PB0f156fb8 +/* f156f60: 8fa200b0 */ lw $v0,0xb0($sp) +/* f156f64: 8e4e0000 */ lw $t6,0x0($s2) +/* f156f68: 59c00222 */ blezl $t6,.PB0f1577f4 +/* f156f6c: 92390003 */ lbu $t9,0x3($s1) +/* f156f70: 0c002e4d */ jal 0xb934 +/* f156f74: afaa0090 */ sw $t2,0x90($sp) +/* f156f78: 8e4d0000 */ lw $t5,0x0($s2) +/* f156f7c: 8faa0090 */ lw $t2,0x90($sp) +/* f156f80: 004d082a */ slt $at,$v0,$t5 +/* f156f84: 5420021b */ bnezl $at,.PB0f1577f4 +/* f156f88: 92390003 */ lbu $t9,0x3($s1) +/* f156f8c: 0c002e51 */ jal 0xb944 +/* f156f90: afaa0090 */ sw $t2,0x90($sp) +/* f156f94: 8faa0090 */ lw $t2,0x90($sp) +/* f156f98: 822f0001 */ lb $t7,0x1($s1) +/* f156f9c: 3c0c8008 */ lui $t4,0x8008 +/* f156fa0: 258c1fa0 */ addiu $t4,$t4,0x1fa0 +/* f156fa4: 014fc021 */ addu $t8,$t2,$t7 +/* f156fa8: 0058082a */ slt $at,$v0,$t8 +/* f156fac: 54200211 */ bnezl $at,.PB0f1577f4 +/* f156fb0: 92390003 */ lbu $t9,0x3($s1) +/* f156fb4: 8fa200b0 */ lw $v0,0xb0($sp) +.PB0f156fb8: +/* f156fb8: 8fb900b8 */ lw $t9,0xb8($sp) +/* f156fbc: 8e470000 */ lw $a3,0x0($s2) +/* f156fc0: 8fae00b4 */ lw $t6,0xb4($sp) +/* f156fc4: 00594021 */ addu $t0,$v0,$t9 +/* f156fc8: 0107082a */ slt $at,$t0,$a3 +/* f156fcc: 14200208 */ bnez $at,.PB0f1577f0 +/* f156fd0: 8fad00bc */ lw $t5,0xbc($sp) +/* f156fd4: 822f0001 */ lb $t7,0x1($s1) +/* f156fd8: 01cd5821 */ addu $t3,$t6,$t5 +/* f156fdc: 01ea3021 */ addu $a2,$t7,$t2 +/* f156fe0: 0166082a */ slt $at,$t3,$a2 +/* f156fe4: 14200202 */ bnez $at,.PB0f1577f0 +/* f156fe8: 00e2082a */ slt $at,$a3,$v0 +/* f156fec: 54200201 */ bnezl $at,.PB0f1577f4 +/* f156ff0: 92390003 */ lbu $t9,0x3($s1) +/* f156ff4: 92380002 */ lbu $t8,0x2($s1) +/* f156ff8: 02001025 */ move $v0,$s0 +/* f156ffc: 3c0dfd50 */ lui $t5,0xfd50 +/* f157000: 00d8c821 */ addu $t9,$a2,$t8 +/* f157004: 032e082a */ slt $at,$t9,$t6 +/* f157008: 142001f9 */ bnez $at,.PB0f1577f0 +/* f15700c: 3c18e600 */ lui $t8,0xe600 +/* f157010: ac4d0000 */ sw $t5,0x0($v0) +/* f157014: 8e2f0008 */ lw $t7,0x8($s1) +/* f157018: 26100008 */ addiu $s0,$s0,0x8 +/* f15701c: 02001825 */ move $v1,$s0 +/* f157020: ac4f0004 */ sw $t7,0x4($v0) +/* f157024: 26100008 */ addiu $s0,$s0,0x8 +/* f157028: ac600004 */ sw $zero,0x4($v1) +/* f15702c: ac780000 */ sw $t8,0x0($v1) +/* f157030: 02002025 */ move $a0,$s0 +/* f157034: 3c19f300 */ lui $t9,0xf300 +/* f157038: ac990000 */ sw $t9,0x0($a0) +/* f15703c: 92250002 */ lbu $a1,0x2($s1) +/* f157040: 26100008 */ addiu $s0,$s0,0x8 +/* f157044: 02001025 */ move $v0,$s0 +/* f157048: 000570c0 */ sll $t6,$a1,0x3 +/* f15704c: 25c50011 */ addiu $a1,$t6,0x11 +/* f157050: 00056843 */ sra $t5,$a1,0x1 +/* f157054: 25a5ffff */ addiu $a1,$t5,-1 +/* f157058: 28a107ff */ slti $at,$a1,0x7ff +/* f15705c: 10200003 */ beqz $at,.PB0f15706c +/* f157060: 3c0de700 */ lui $t5,0xe700 +/* f157064: 10000002 */ b .PB0f157070 +/* f157068: 00a01825 */ move $v1,$a1 +.PB0f15706c: +/* f15706c: 240307ff */ li $v1,0x7ff +.PB0f157070: +/* f157070: 306f0fff */ andi $t7,$v1,0xfff +/* f157074: 000fc300 */ sll $t8,$t7,0xc +/* f157078: 3c010700 */ lui $at,0x700 +/* f15707c: 0301c825 */ or $t9,$t8,$at +/* f157080: 372e0800 */ ori $t6,$t9,0x800 +/* f157084: ac8e0004 */ sw $t6,0x4($a0) +/* f157088: ac400004 */ sw $zero,0x4($v0) +/* f15708c: ac4d0000 */ sw $t5,0x0($v0) +/* f157090: 3c0f800b */ lui $t7,0x800b +/* f157094: 91ef8bf0 */ lbu $t7,-0x7410($t7) +/* f157098: 26100008 */ addiu $s0,$s0,0x8 +/* f15709c: 02002025 */ move $a0,$s0 +/* f1570a0: 11e0001c */ beqz $t7,.PB0f157114 +/* f1570a4: 3c198008 */ lui $t9,0x8008 +/* f1570a8: 8e580000 */ lw $t8,0x0($s2) +/* f1570ac: 8f391f90 */ lw $t9,0x1f90($t9) +/* f1570b0: 8fae00a0 */ lw $t6,0xa0($sp) +/* f1570b4: 8faf00c0 */ lw $t7,0xc0($sp) +/* f1570b8: 0319001a */ div $zero,$t8,$t9 +/* f1570bc: 8dcd0000 */ lw $t5,0x0($t6) +/* f1570c0: 00002812 */ mflo $a1 +/* f1570c4: afab0038 */ sw $t3,0x38($sp) +/* f1570c8: 17200002 */ bnez $t9,.PB0f1570d4 +/* f1570cc: 00000000 */ nop +/* f1570d0: 0007000d */ break 0x7 +.PB0f1570d4: +/* f1570d4: 2401ffff */ li $at,-1 +/* f1570d8: 17210004 */ bne $t9,$at,.PB0f1570ec +/* f1570dc: 3c018000 */ lui $at,0x8000 +/* f1570e0: 17010002 */ bne $t8,$at,.PB0f1570ec +/* f1570e4: 00000000 */ nop +/* f1570e8: 0006000d */ break 0x6 +.PB0f1570ec: +/* f1570ec: afaa0090 */ sw $t2,0x90($sp) +/* f1570f0: afa80040 */ sw $t0,0x40($sp) +/* f1570f4: 0fc558b8 */ jal 0xf1562e0 +/* f1570f8: 01af3021 */ addu $a2,$t5,$t7 +/* f1570fc: 3c0c8008 */ lui $t4,0x8008 +/* f157100: 258c1fa0 */ addiu $t4,$t4,0x1fa0 +/* f157104: 8fa80040 */ lw $t0,0x40($sp) +/* f157108: 8faa0090 */ lw $t2,0x90($sp) +/* f15710c: 8fab0038 */ lw $t3,0x38($sp) +/* f157110: 00408025 */ move $s0,$v0 +.PB0f157114: +/* f157114: 92290003 */ lbu $t1,0x3($s1) +/* f157118: 8fb8008c */ lw $t8,0x8c($sp) +/* f15711c: 8e470000 */ lw $a3,0x0($s2) +/* f157120: 03090019 */ multu $t8,$t1 +/* f157124: 0000c812 */ mflo $t9 +/* f157128: 00f97021 */ addu $t6,$a3,$t9 +/* f15712c: 010e082a */ slt $at,$t0,$t6 +/* f157130: 542001b0 */ bnezl $at,.PB0f1577f4 +/* f157134: 92390003 */ lbu $t9,0x3($s1) +/* f157138: 82240001 */ lb $a0,0x1($s1) +/* f15713c: 8fa300b4 */ lw $v1,0xb4($sp) +/* f157140: 008a3021 */ addu $a2,$a0,$t2 +/* f157144: 00c3082a */ slt $at,$a2,$v1 +/* f157148: 54200158 */ bnezl $at,.PB0f1576ac +/* f15714c: 92380002 */ lbu $t8,0x2($s1) +/* f157150: 922d0002 */ lbu $t5,0x2($s1) +/* f157154: 3c0f8008 */ lui $t7,0x8008 +/* f157158: 00cd1021 */ addu $v0,$a2,$t5 +/* f15715c: 0162082a */ slt $at,$t3,$v0 +/* f157160: 54200106 */ bnezl $at,.PB0f15757c +/* f157164: 0166082a */ slt $at,$t3,$a2 +/* f157168: 8def1f98 */ lw $t7,0x1f98($t7) +/* f15716c: 3c068008 */ lui $a2,0x8008 +/* f157170: 24c61fac */ addiu $a2,$a2,0x1fac +/* f157174: 11e00050 */ beqz $t7,.PB0f1572b8 +/* f157178: 3c088008 */ lui $t0,0x8008 +/* f15717c: 8cce0000 */ lw $t6,0x0($a2) +/* f157180: 00e9c021 */ addu $t8,$a3,$t1 +/* f157184: 0018c880 */ sll $t9,$t8,0x2 +/* f157188: 032e6821 */ addu $t5,$t9,$t6 +/* f15718c: 25081fb0 */ addiu $t0,$t0,0x1fb0 +/* f157190: 31af0fff */ andi $t7,$t5,0xfff +/* f157194: 8d0d0000 */ lw $t5,0x0($t0) +/* f157198: 0144c823 */ subu $t9,$t2,$a0 +/* f15719c: 3c01e500 */ lui $at,0xe500 +/* f1571a0: 01e1c025 */ or $t8,$t7,$at +/* f1571a4: 00197080 */ sll $t6,$t9,0x2 +/* f1571a8: 01cd7821 */ addu $t7,$t6,$t5 +/* f1571ac: 31f90fff */ andi $t9,$t7,0xfff +/* f1571b0: 00197300 */ sll $t6,$t9,0xc +/* f1571b4: 030e6825 */ or $t5,$t8,$t6 +/* f1571b8: 02001025 */ move $v0,$s0 +/* f1571bc: ac4d0000 */ sw $t5,0x0($v0) +/* f1571c0: 8e4f0000 */ lw $t7,0x0($s2) +/* f1571c4: 8cd80000 */ lw $t8,0x0($a2) +/* f1571c8: 26100008 */ addiu $s0,$s0,0x8 +/* f1571cc: 000fc880 */ sll $t9,$t7,0x2 +/* f1571d0: 03387021 */ addu $t6,$t9,$t8 +/* f1571d4: 8d990000 */ lw $t9,0x0($t4) +/* f1571d8: 922f0002 */ lbu $t7,0x2($s1) +/* f1571dc: 31cd0fff */ andi $t5,$t6,0xfff +/* f1571e0: 822e0001 */ lb $t6,0x1($s1) +/* f1571e4: 01f90019 */ multu $t7,$t9 +/* f1571e8: 02001825 */ move $v1,$s0 +/* f1571ec: 014e7823 */ subu $t7,$t2,$t6 +/* f1571f0: 26100008 */ addiu $s0,$s0,0x8 +/* f1571f4: 02002825 */ move $a1,$s0 +/* f1571f8: 26100008 */ addiu $s0,$s0,0x8 +/* f1571fc: 0000c012 */ mflo $t8 +/* f157200: 01f8c823 */ subu $t9,$t7,$t8 +/* f157204: 8d0f0000 */ lw $t7,0x0($t0) +/* f157208: 00197080 */ sll $t6,$t9,0x2 +/* f15720c: 01cfc021 */ addu $t8,$t6,$t7 +/* f157210: 33190fff */ andi $t9,$t8,0xfff +/* f157214: 00197300 */ sll $t6,$t9,0xc +/* f157218: 01ae7825 */ or $t7,$t5,$t6 +/* f15721c: ac4f0004 */ sw $t7,0x4($v0) +/* f157220: 3c18b400 */ lui $t8,0xb400 +/* f157224: ac780000 */ sw $t8,0x0($v1) +/* f157228: 92390002 */ lbu $t9,0x2($s1) +/* f15722c: 3c0f8008 */ lui $t7,0x8008 +/* f157230: 8def1fb4 */ lw $t7,0x1fb4($t7) +/* f157234: 272dffff */ addiu $t5,$t9,-1 +/* f157238: 000d7140 */ sll $t6,$t5,0x5 +/* f15723c: 01cfc021 */ addu $t8,$t6,$t7 +/* f157240: 3c0e8008 */ lui $t6,0x8008 +/* f157244: 8dce1fb8 */ lw $t6,0x1fb8($t6) +/* f157248: 27190020 */ addiu $t9,$t8,0x20 +/* f15724c: 332dffff */ andi $t5,$t9,0xffff +/* f157250: 25d80020 */ addiu $t8,$t6,0x20 +/* f157254: 0018cc00 */ sll $t9,$t8,0x10 +/* f157258: 032d7025 */ or $t6,$t9,$t5 +/* f15725c: ac6e0004 */ sw $t6,0x4($v1) +/* f157260: 3c0fb300 */ lui $t7,0xb300 +/* f157264: acaf0000 */ sw $t7,0x0($a1) +/* f157268: 24190400 */ li $t9,0x400 +/* f15726c: 8d980000 */ lw $t8,0x0($t4) +/* f157270: 3c0e0001 */ lui $t6,0x1 +/* f157274: 0338001a */ div $zero,$t9,$t8 +/* f157278: 17000002 */ bnez $t8,.PB0f157284 +/* f15727c: 00000000 */ nop +/* f157280: 0007000d */ break 0x7 +.PB0f157284: +/* f157284: 2401ffff */ li $at,-1 +/* f157288: 17010004 */ bne $t8,$at,.PB0f15729c +/* f15728c: 3c018000 */ lui $at,0x8000 +/* f157290: 17210002 */ bne $t9,$at,.PB0f15729c +/* f157294: 00000000 */ nop +/* f157298: 0006000d */ break 0x6 +.PB0f15729c: +/* f15729c: 00006812 */ mflo $t5 +/* f1572a0: 01cd7823 */ subu $t7,$t6,$t5 +/* f1572a4: 31f9ffff */ andi $t9,$t7,0xffff +/* f1572a8: 3c010400 */ lui $at,0x400 +/* f1572ac: 0321c025 */ or $t8,$t9,$at +/* f1572b0: 1000014f */ b .PB0f1577f0 +/* f1572b4: acb80004 */ sw $t8,0x4($a1) +.PB0f1572b8: +/* f1572b8: 8d8e0000 */ lw $t6,0x0($t4) +/* f1572bc: 3c068008 */ lui $a2,0x8008 +/* f1572c0: 24c61fac */ addiu $a2,$a2,0x1fac +/* f1572c4: 012e0019 */ multu $t1,$t6 +/* f1572c8: 8cd80000 */ lw $t8,0x0($a2) +/* f1572cc: 3c088008 */ lui $t0,0x8008 +/* f1572d0: 25081fb0 */ addiu $t0,$t0,0x1fb0 +/* f1572d4: 3c01e400 */ lui $at,0xe400 +/* f1572d8: 02001825 */ move $v1,$s0 +/* f1572dc: 26100008 */ addiu $s0,$s0,0x8 +/* f1572e0: 02002025 */ move $a0,$s0 +/* f1572e4: 26100008 */ addiu $s0,$s0,0x8 +/* f1572e8: 02002825 */ move $a1,$s0 +/* f1572ec: 00006812 */ mflo $t5 +/* f1572f0: 00ed7821 */ addu $t7,$a3,$t5 +/* f1572f4: 000fc880 */ sll $t9,$t7,0x2 +/* f1572f8: 03387021 */ addu $t6,$t9,$t8 +/* f1572fc: 31cd0fff */ andi $t5,$t6,0xfff +/* f157300: 8d0e0000 */ lw $t6,0x0($t0) +/* f157304: 000d7b00 */ sll $t7,$t5,0xc +/* f157308: 0002c080 */ sll $t8,$v0,0x2 +/* f15730c: 01e1c825 */ or $t9,$t7,$at +/* f157310: 030e6821 */ addu $t5,$t8,$t6 +/* f157314: 31af0fff */ andi $t7,$t5,0xfff +/* f157318: 032fc025 */ or $t8,$t9,$t7 +/* f15731c: ac780000 */ sw $t8,0x0($v1) +/* f157320: 8e4e0000 */ lw $t6,0x0($s2) +/* f157324: 8cd90000 */ lw $t9,0x0($a2) +/* f157328: 26100008 */ addiu $s0,$s0,0x8 +/* f15732c: 000e6880 */ sll $t5,$t6,0x2 +/* f157330: 01b97821 */ addu $t7,$t5,$t9 +/* f157334: 822d0001 */ lb $t5,0x1($s1) +/* f157338: 31f80fff */ andi $t8,$t7,0xfff +/* f15733c: 00187300 */ sll $t6,$t8,0xc +/* f157340: 8d180000 */ lw $t8,0x0($t0) +/* f157344: 014dc821 */ addu $t9,$t2,$t5 +/* f157348: 00197880 */ sll $t7,$t9,0x2 +/* f15734c: 01f86821 */ addu $t5,$t7,$t8 +/* f157350: 31b90fff */ andi $t9,$t5,0xfff +/* f157354: 01d97825 */ or $t7,$t6,$t9 +/* f157358: ac6f0004 */ sw $t7,0x4($v1) +/* f15735c: 3c18b400 */ lui $t8,0xb400 +/* f157360: ac980000 */ sw $t8,0x0($a0) +/* f157364: 3c0d8008 */ lui $t5,0x8008 +/* f157368: 8dad1fb4 */ lw $t5,0x1fb4($t5) +/* f15736c: 3c188008 */ lui $t8,0x8008 +/* f157370: 8f181fb8 */ lw $t8,0x1fb8($t8) +/* f157374: 25b90020 */ addiu $t9,$t5,0x20 +/* f157378: 00197c00 */ sll $t7,$t9,0x10 +/* f15737c: 270d0020 */ addiu $t5,$t8,0x20 +/* f157380: 31aeffff */ andi $t6,$t5,0xffff +/* f157384: 01eec825 */ or $t9,$t7,$t6 +/* f157388: ac990004 */ sw $t9,0x4($a0) +/* f15738c: 3c18b300 */ lui $t8,0xb300 +/* f157390: acb80000 */ sw $t8,0x0($a1) +/* f157394: 8d8d0000 */ lw $t5,0x0($t4) +/* f157398: 240f0400 */ li $t7,0x400 +/* f15739c: 01ed001a */ div $zero,$t7,$t5 +/* f1573a0: 00007012 */ mflo $t6 +/* f1573a4: 31d9ffff */ andi $t9,$t6,0xffff +/* f1573a8: 0019c400 */ sll $t8,$t9,0x10 +/* f1573ac: 15a00002 */ bnez $t5,.PB0f1573b8 +/* f1573b0: 00000000 */ nop +/* f1573b4: 0007000d */ break 0x7 +.PB0f1573b8: +/* f1573b8: 2401ffff */ li $at,-1 +/* f1573bc: 15a10004 */ bne $t5,$at,.PB0f1573d0 +/* f1573c0: 3c018000 */ lui $at,0x8000 +/* f1573c4: 15e10002 */ bne $t7,$at,.PB0f1573d0 +/* f1573c8: 00000000 */ nop +/* f1573cc: 0006000d */ break 0x6 +.PB0f1573d0: +/* f1573d0: 370f0400 */ ori $t7,$t8,0x400 +/* f1573d4: acaf0004 */ sw $t7,0x4($a1) +/* f1573d8: 3c0d8008 */ lui $t5,0x8008 +/* f1573dc: 8dad206c */ lw $t5,0x206c($t5) +/* f1573e0: 8fb800c0 */ lw $t8,0xc0($sp) +/* f1573e4: 8fae00a0 */ lw $t6,0xa0($sp) +/* f1573e8: 51a00102 */ beqzl $t5,.PB0f1577f4 +/* f1573ec: 92390003 */ lbu $t9,0x3($s1) +/* f1573f0: 8dd90000 */ lw $t9,0x0($t6) +/* f1573f4: afaa0090 */ sw $t2,0x90($sp) +/* f1573f8: 0fc553e0 */ jal 0xf154f80 +/* f1573fc: 03382021 */ addu $a0,$t9,$t8 +/* f157400: 3c0d8008 */ lui $t5,0x8008 +/* f157404: 8dad1f90 */ lw $t5,0x1f90($t5) +/* f157408: 8e4f0000 */ lw $t7,0x0($s2) +/* f15740c: 3c058008 */ lui $a1,0x8008 +/* f157410: 8ca52070 */ lw $a1,0x2070($a1) +/* f157414: 01ed001a */ div $zero,$t7,$t5 +/* f157418: 00001812 */ mflo $v1 +/* f15741c: 3c0c8008 */ lui $t4,0x8008 +/* f157420: 258c1fa0 */ addiu $t4,$t4,0x1fa0 +/* f157424: 8faa0090 */ lw $t2,0x90($sp) +/* f157428: 15a00002 */ bnez $t5,.PB0f157434 +/* f15742c: 00000000 */ nop +/* f157430: 0007000d */ break 0x7 +.PB0f157434: +/* f157434: 2401ffff */ li $at,-1 +/* f157438: 15a10004 */ bne $t5,$at,.PB0f15744c +/* f15743c: 3c018000 */ lui $at,0x8000 +/* f157440: 15e10002 */ bne $t7,$at,.PB0f15744c +/* f157444: 00000000 */ nop +/* f157448: 0006000d */ break 0x6 +.PB0f15744c: +/* f15744c: 00a3082a */ slt $at,$a1,$v1 +/* f157450: 5420002e */ bnezl $at,.PB0f15750c +/* f157454: 24a2fffd */ addiu $v0,$a1,-3 +/* f157458: 922e0003 */ lbu $t6,0x3($s1) +/* f15745c: 8d990000 */ lw $t9,0x0($t4) +/* f157460: 3c04800b */ lui $a0,0x800b +/* f157464: 00a03825 */ move $a3,$a1 +/* f157468: 01d90019 */ multu $t6,$t9 +/* f15746c: 3c02800b */ lui $v0,0x800b +/* f157470: 0000c012 */ mflo $t8 +/* f157474: 00787821 */ addu $t7,$v1,$t8 +/* f157478: 01e5082a */ slt $at,$t7,$a1 +/* f15747c: 54200023 */ bnezl $at,.PB0f15750c +/* f157480: 24a2fffd */ addiu $v0,$a1,-3 +/* f157484: 822d0001 */ lb $t5,0x1($s1) +/* f157488: 922e0002 */ lbu $t6,0x2($s1) +/* f15748c: 8c428bf4 */ lw $v0,-0x740c($v0) +/* f157490: 01aa3021 */ addu $a2,$t5,$t2 +/* f157494: 00cec821 */ addu $t9,$a2,$t6 +/* f157498: afb90010 */ sw $t9,0x10($sp) +/* f15749c: afaa0090 */ sw $t2,0x90($sp) +/* f1574a0: afa0001c */ sw $zero,0x1c($sp) +/* f1574a4: 8c848c54 */ lw $a0,-0x73ac($a0) +/* f1574a8: afa20014 */ sw $v0,0x14($sp) +/* f1574ac: 0fc3546b */ jal 0xf0d51ac +/* f1574b0: afa20018 */ sw $v0,0x18($sp) +/* f1574b4: 3c01800b */ lui $at,0x800b +/* f1574b8: ac228c54 */ sw $v0,-0x73ac($at) +/* f1574bc: 3c0f8008 */ lui $t7,0x8008 +/* f1574c0: 8def1f90 */ lw $t7,0x1f90($t7) +/* f1574c4: 8e580000 */ lw $t8,0x0($s2) +/* f1574c8: 3c0c8008 */ lui $t4,0x8008 +/* f1574cc: 3c058008 */ lui $a1,0x8008 +/* f1574d0: 030f001a */ div $zero,$t8,$t7 +/* f1574d4: 00001812 */ mflo $v1 +/* f1574d8: 8ca52070 */ lw $a1,0x2070($a1) +/* f1574dc: 258c1fa0 */ addiu $t4,$t4,0x1fa0 +/* f1574e0: 8faa0090 */ lw $t2,0x90($sp) +/* f1574e4: 15e00002 */ bnez $t7,.PB0f1574f0 +/* f1574e8: 00000000 */ nop +/* f1574ec: 0007000d */ break 0x7 +.PB0f1574f0: +/* f1574f0: 2401ffff */ li $at,-1 +/* f1574f4: 15e10004 */ bne $t7,$at,.PB0f157508 +/* f1574f8: 3c018000 */ lui $at,0x8000 +/* f1574fc: 17010002 */ bne $t8,$at,.PB0f157508 +/* f157500: 00000000 */ nop +/* f157504: 0006000d */ break 0x6 +.PB0f157508: +/* f157508: 24a2fffd */ addiu $v0,$a1,-3 +.PB0f15750c: +/* f15750c: 0043082a */ slt $at,$v0,$v1 +/* f157510: 542000b8 */ bnezl $at,.PB0f1577f4 +/* f157514: 92390003 */ lbu $t9,0x3($s1) +/* f157518: 922d0003 */ lbu $t5,0x3($s1) +/* f15751c: 8d8e0000 */ lw $t6,0x0($t4) +/* f157520: 3c04800b */ lui $a0,0x800b +/* f157524: 00a03825 */ move $a3,$a1 +/* f157528: 01ae0019 */ multu $t5,$t6 +/* f15752c: 0000c812 */ mflo $t9 +/* f157530: 0079c021 */ addu $t8,$v1,$t9 +/* f157534: 0302082a */ slt $at,$t8,$v0 +/* f157538: 142000ad */ bnez $at,.PB0f1577f0 +/* f15753c: 3c02800b */ lui $v0,0x800b +/* f157540: 822f0001 */ lb $t7,0x1($s1) +/* f157544: 922d0002 */ lbu $t5,0x2($s1) +/* f157548: 8c428bf4 */ lw $v0,-0x740c($v0) +/* f15754c: 01ea3021 */ addu $a2,$t7,$t2 +/* f157550: 00cd7021 */ addu $t6,$a2,$t5 +/* f157554: afae0010 */ sw $t6,0x10($sp) +/* f157558: afa0001c */ sw $zero,0x1c($sp) +/* f15755c: 8c848c54 */ lw $a0,-0x73ac($a0) +/* f157560: afa20014 */ sw $v0,0x14($sp) +/* f157564: 0fc3546b */ jal 0xf0d51ac +/* f157568: afa20018 */ sw $v0,0x18($sp) +/* f15756c: 3c01800b */ lui $at,0x800b +/* f157570: 1000009f */ b .PB0f1577f0 +/* f157574: ac228c54 */ sw $v0,-0x73ac($at) +/* f157578: 0166082a */ slt $at,$t3,$a2 +.PB0f15757c: +/* f15757c: 5420009d */ bnezl $at,.PB0f1577f4 +/* f157580: 92390003 */ lbu $t9,0x3($s1) +/* f157584: 8d990000 */ lw $t9,0x0($t4) +/* f157588: 3c068008 */ lui $a2,0x8008 +/* f15758c: 24c61fac */ addiu $a2,$a2,0x1fac +/* f157590: 01390019 */ multu $t1,$t9 +/* f157594: 8cce0000 */ lw $t6,0x0($a2) +/* f157598: 3c088008 */ lui $t0,0x8008 +/* f15759c: 25081fb0 */ addiu $t0,$t0,0x1fb0 +/* f1575a0: 3c01e400 */ lui $at,0xe400 +/* f1575a4: 02001025 */ move $v0,$s0 +/* f1575a8: 26100008 */ addiu $s0,$s0,0x8 +/* f1575ac: 02001825 */ move $v1,$s0 +/* f1575b0: 26100008 */ addiu $s0,$s0,0x8 +/* f1575b4: 02002025 */ move $a0,$s0 +/* f1575b8: 0000c012 */ mflo $t8 +/* f1575bc: 00f87821 */ addu $t7,$a3,$t8 +/* f1575c0: 000f6880 */ sll $t5,$t7,0x2 +/* f1575c4: 01aec821 */ addu $t9,$t5,$t6 +/* f1575c8: 33380fff */ andi $t8,$t9,0xfff +/* f1575cc: 8d190000 */ lw $t9,0x0($t0) +/* f1575d0: 00187b00 */ sll $t7,$t8,0xc +/* f1575d4: 000b7080 */ sll $t6,$t3,0x2 +/* f1575d8: 01e16825 */ or $t5,$t7,$at +/* f1575dc: 01d9c021 */ addu $t8,$t6,$t9 +/* f1575e0: 330f0fff */ andi $t7,$t8,0xfff +/* f1575e4: 01af7025 */ or $t6,$t5,$t7 +/* f1575e8: ac4e0000 */ sw $t6,0x0($v0) +/* f1575ec: 8e590000 */ lw $t9,0x0($s2) +/* f1575f0: 8ccd0000 */ lw $t5,0x0($a2) +/* f1575f4: 26100008 */ addiu $s0,$s0,0x8 +/* f1575f8: 0019c080 */ sll $t8,$t9,0x2 +/* f1575fc: 030d7821 */ addu $t7,$t8,$t5 +/* f157600: 82380001 */ lb $t8,0x1($s1) +/* f157604: 31ee0fff */ andi $t6,$t7,0xfff +/* f157608: 000ecb00 */ sll $t9,$t6,0xc +/* f15760c: 8d0e0000 */ lw $t6,0x0($t0) +/* f157610: 01586821 */ addu $t5,$t2,$t8 +/* f157614: 000d7880 */ sll $t7,$t5,0x2 +/* f157618: 01eec021 */ addu $t8,$t7,$t6 +/* f15761c: 330d0fff */ andi $t5,$t8,0xfff +/* f157620: 032d7825 */ or $t7,$t9,$t5 +/* f157624: ac4f0004 */ sw $t7,0x4($v0) +/* f157628: 3c0eb400 */ lui $t6,0xb400 +/* f15762c: ac6e0000 */ sw $t6,0x0($v1) +/* f157630: 3c188008 */ lui $t8,0x8008 +/* f157634: 8f181fb4 */ lw $t8,0x1fb4($t8) +/* f157638: 3c0e8008 */ lui $t6,0x8008 +/* f15763c: 8dce1fb8 */ lw $t6,0x1fb8($t6) +/* f157640: 270d0020 */ addiu $t5,$t8,0x20 +/* f157644: 000d7c00 */ sll $t7,$t5,0x10 +/* f157648: 25d80020 */ addiu $t8,$t6,0x20 +/* f15764c: 3319ffff */ andi $t9,$t8,0xffff +/* f157650: 01f96825 */ or $t5,$t7,$t9 +/* f157654: ac6d0004 */ sw $t5,0x4($v1) +/* f157658: 240f0400 */ li $t7,0x400 +/* f15765c: 3c0eb300 */ lui $t6,0xb300 +/* f157660: ac8e0000 */ sw $t6,0x0($a0) +/* f157664: 8d980000 */ lw $t8,0x0($t4) +/* f157668: 01f8001a */ div $zero,$t7,$t8 +/* f15766c: 0000c812 */ mflo $t9 +/* f157670: 332dffff */ andi $t5,$t9,0xffff +/* f157674: 000d7400 */ sll $t6,$t5,0x10 +/* f157678: 17000002 */ bnez $t8,.PB0f157684 +/* f15767c: 00000000 */ nop +/* f157680: 0007000d */ break 0x7 +.PB0f157684: +/* f157684: 2401ffff */ li $at,-1 +/* f157688: 17010004 */ bne $t8,$at,.PB0f15769c +/* f15768c: 3c018000 */ lui $at,0x8000 +/* f157690: 15e10002 */ bne $t7,$at,.PB0f15769c +/* f157694: 00000000 */ nop +/* f157698: 0006000d */ break 0x6 +.PB0f15769c: +/* f15769c: 35cf0400 */ ori $t7,$t6,0x400 +/* f1576a0: 10000053 */ b .PB0f1577f0 +/* f1576a4: ac8f0004 */ sw $t7,0x4($a0) +/* f1576a8: 92380002 */ lbu $t8,0x2($s1) +.PB0f1576ac: +/* f1576ac: 00d81021 */ addu $v0,$a2,$t8 +/* f1576b0: 0043082a */ slt $at,$v0,$v1 +/* f1576b4: 5420004f */ bnezl $at,.PB0f1577f4 +/* f1576b8: 92390003 */ lbu $t9,0x3($s1) +/* f1576bc: 8d990000 */ lw $t9,0x0($t4) +/* f1576c0: 3c068008 */ lui $a2,0x8008 +/* f1576c4: 24c61fac */ addiu $a2,$a2,0x1fac +/* f1576c8: 01390019 */ multu $t1,$t9 +/* f1576cc: 8cd80000 */ lw $t8,0x0($a2) +/* f1576d0: 3c088008 */ lui $t0,0x8008 +/* f1576d4: 25081fb0 */ addiu $t0,$t0,0x1fb0 +/* f1576d8: 3c01e400 */ lui $at,0xe400 +/* f1576dc: 02001825 */ move $v1,$s0 +/* f1576e0: 26100008 */ addiu $s0,$s0,0x8 +/* f1576e4: 02002025 */ move $a0,$s0 +/* f1576e8: 26100008 */ addiu $s0,$s0,0x8 +/* f1576ec: 02002825 */ move $a1,$s0 +/* f1576f0: 00006812 */ mflo $t5 +/* f1576f4: 00ed7021 */ addu $t6,$a3,$t5 +/* f1576f8: 000e7880 */ sll $t7,$t6,0x2 +/* f1576fc: 01f8c821 */ addu $t9,$t7,$t8 +/* f157700: 332d0fff */ andi $t5,$t9,0xfff +/* f157704: 8d190000 */ lw $t9,0x0($t0) +/* f157708: 000d7300 */ sll $t6,$t5,0xc +/* f15770c: 0002c080 */ sll $t8,$v0,0x2 +/* f157710: 01c17825 */ or $t7,$t6,$at +/* f157714: 03196821 */ addu $t5,$t8,$t9 +/* f157718: 31ae0fff */ andi $t6,$t5,0xfff +/* f15771c: 01eec025 */ or $t8,$t7,$t6 +/* f157720: ac780000 */ sw $t8,0x0($v1) +/* f157724: 8e590000 */ lw $t9,0x0($s2) +/* f157728: 8ccf0000 */ lw $t7,0x0($a2) +/* f15772c: 26100008 */ addiu $s0,$s0,0x8 +/* f157730: 00196880 */ sll $t5,$t9,0x2 +/* f157734: 01af7021 */ addu $t6,$t5,$t7 +/* f157738: 8fad00b4 */ lw $t5,0xb4($sp) +/* f15773c: 31d80fff */ andi $t8,$t6,0xfff +/* f157740: 8d0e0000 */ lw $t6,0x0($t0) +/* f157744: 0018cb00 */ sll $t9,$t8,0xc +/* f157748: 000d7880 */ sll $t7,$t5,0x2 +/* f15774c: 01eec021 */ addu $t8,$t7,$t6 +/* f157750: 330d0fff */ andi $t5,$t8,0xfff +/* f157754: 032d7825 */ or $t7,$t9,$t5 +/* f157758: ac6f0004 */ sw $t7,0x4($v1) +/* f15775c: 3c0eb400 */ lui $t6,0xb400 +/* f157760: ac8e0000 */ sw $t6,0x0($a0) +/* f157764: 8fb800b4 */ lw $t8,0xb4($sp) +/* f157768: 822d0001 */ lb $t5,0x1($s1) +/* f15776c: 030ac823 */ subu $t9,$t8,$t2 +/* f157770: 3c188008 */ lui $t8,0x8008 +/* f157774: 8f181fb8 */ lw $t8,0x1fb8($t8) +/* f157778: 032d7823 */ subu $t7,$t9,$t5 +/* f15777c: 000f7140 */ sll $t6,$t7,0x5 +/* f157780: 01d8c821 */ addu $t9,$t6,$t8 +/* f157784: 3c0e8008 */ lui $t6,0x8008 +/* f157788: 8dce1fb4 */ lw $t6,0x1fb4($t6) +/* f15778c: 272d0020 */ addiu $t5,$t9,0x20 +/* f157790: 31afffff */ andi $t7,$t5,0xffff +/* f157794: 25d90020 */ addiu $t9,$t6,0x20 +/* f157798: 00196c00 */ sll $t5,$t9,0x10 +/* f15779c: 01af7025 */ or $t6,$t5,$t7 +/* f1577a0: ac8e0004 */ sw $t6,0x4($a0) +/* f1577a4: 3c18b300 */ lui $t8,0xb300 +/* f1577a8: acb80000 */ sw $t8,0x0($a1) +/* f1577ac: 240d0400 */ li $t5,0x400 +/* f1577b0: 8d990000 */ lw $t9,0x0($t4) +/* f1577b4: 01b9001a */ div $zero,$t5,$t9 +/* f1577b8: 00007812 */ mflo $t7 +/* f1577bc: 31eeffff */ andi $t6,$t7,0xffff +/* f1577c0: 000ec400 */ sll $t8,$t6,0x10 +/* f1577c4: 17200002 */ bnez $t9,.PB0f1577d0 +/* f1577c8: 00000000 */ nop +/* f1577cc: 0007000d */ break 0x7 +.PB0f1577d0: +/* f1577d0: 2401ffff */ li $at,-1 +/* f1577d4: 17210004 */ bne $t9,$at,.PB0f1577e8 +/* f1577d8: 3c018000 */ lui $at,0x8000 +/* f1577dc: 15a10002 */ bne $t5,$at,.PB0f1577e8 +/* f1577e0: 00000000 */ nop +/* f1577e4: 0006000d */ break 0x6 +.PB0f1577e8: +/* f1577e8: 370d0400 */ ori $t5,$t8,0x400 +/* f1577ec: acad0004 */ sw $t5,0x4($a1) +.PB0f1577f0: +/* f1577f0: 92390003 */ lbu $t9,0x3($s1) +.PB0f1577f4: +/* f1577f4: 8faf008c */ lw $t7,0x8c($sp) +/* f1577f8: 8e580000 */ lw $t8,0x0($s2) +/* f1577fc: 02001025 */ move $v0,$s0 +/* f157800: 032f0019 */ multu $t9,$t7 +/* f157804: 00007012 */ mflo $t6 +/* f157808: 030e6821 */ addu $t5,$t8,$t6 +/* f15780c: ae4d0000 */ sw $t5,0x0($s2) +/* f157810: 8fbf0034 */ lw $ra,0x34($sp) +/* f157814: 8fb20030 */ lw $s2,0x30($sp) +/* f157818: 8fb1002c */ lw $s1,0x2c($sp) +/* f15781c: 8fb00028 */ lw $s0,0x28($sp) +/* f157820: 03e00008 */ jr $ra +/* f157824: 27bd0098 */ addiu $sp,$sp,0x98 +); #else GLOBAL_ASM( glabel func0f15568c @@ -4817,6 +6169,404 @@ glabel textRenderProjected /* f1576fc: 03e00008 */ jr $ra /* f157700: 27bd00a8 */ addiu $sp,$sp,0xa8 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel textRenderProjected +/* f157840: 27bdff58 */ addiu $sp,$sp,-168 +/* f157844: 3c0e8008 */ lui $t6,0x8008 +/* f157848: 8dce1f98 */ lw $t6,0x1f98($t6) +/* f15784c: afb50048 */ sw $s5,0x48($sp) +/* f157850: afb30040 */ sw $s3,0x40($sp) +/* f157854: afb10038 */ sw $s1,0x38($sp) +/* f157858: afb00034 */ sw $s0,0x34($sp) +/* f15785c: 3c158008 */ lui $s5,0x8008 +/* f157860: 00c08025 */ move $s0,$a2 +/* f157864: 00a08825 */ move $s1,$a1 +/* f157868: 00809825 */ move $s3,$a0 +/* f15786c: afbf004c */ sw $ra,0x4c($sp) +/* f157870: afb40044 */ sw $s4,0x44($sp) +/* f157874: afb2003c */ sw $s2,0x3c($sp) +/* f157878: afa700b4 */ sw $a3,0xb4($sp) +/* f15787c: 11c0000a */ beqz $t6,.PB0f1578a8 +/* f157880: 8eb51fa0 */ lw $s5,0x1fa0($s5) +/* f157884: 3c188008 */ lui $t8,0x8008 +/* f157888: 8f181f90 */ lw $t8,0x1f90($t8) +/* f15788c: 8ccf0000 */ lw $t7,0x0($a2) +/* f157890: 24150001 */ li $s5,0x1 +/* f157894: 01f80019 */ multu $t7,$t8 +/* f157898: 0000c812 */ mflo $t9 +/* f15789c: acd90000 */ sw $t9,0x0($a2) +/* f1578a0: 10000008 */ b .PB0f1578c4 +/* f1578a4: 00000000 */ nop +.PB0f1578a8: +/* f1578a8: 3c0a8008 */ lui $t2,0x8008 +/* f1578ac: 8d4a1f90 */ lw $t2,0x1f90($t2) +/* f1578b0: 8e290000 */ lw $t1,0x0($s1) +/* f1578b4: 012a0019 */ multu $t1,$t2 +/* f1578b8: 00005812 */ mflo $t3 +/* f1578bc: ae2b0000 */ sw $t3,0x0($s1) +/* f1578c0: 00000000 */ nop +.PB0f1578c4: +/* f1578c4: 3c0c8008 */ lui $t4,0x8008 +/* f1578c8: 8d8c209c */ lw $t4,0x209c($t4) +/* f1578cc: 11800064 */ beqz $t4,.PB0f157a60 +/* f1578d0: 3c014220 */ lui $at,0x4220 +/* f1578d4: 44816000 */ mtc1 $at,$f12 +/* f1578d8: 0fc01abe */ jal 0xf006af8 +/* f1578dc: 00000000 */ nop +/* f1578e0: 3c0e8008 */ lui $t6,0x8008 +/* f1578e4: 8dce1f90 */ lw $t6,0x1f90($t6) +/* f1578e8: 8e2d0000 */ lw $t5,0x0($s1) +/* f1578ec: 24090001 */ li $t1,0x1 +/* f1578f0: 3c12800b */ lui $s2,0x800b +/* f1578f4: 01ae001a */ div $zero,$t5,$t6 +/* f1578f8: 15c00002 */ bnez $t6,.PB0f157904 +/* f1578fc: 00000000 */ nop +/* f157900: 0007000d */ break 0x7 +.PB0f157904: +/* f157904: 2401ffff */ li $at,-1 +/* f157908: 15c10004 */ bne $t6,$at,.PB0f15791c +/* f15790c: 3c018000 */ lui $at,0x8000 +/* f157910: 15a10002 */ bne $t5,$at,.PB0f15791c +/* f157914: 00000000 */ nop +/* f157918: 0006000d */ break 0x6 +.PB0f15791c: +/* f15791c: 3c013f80 */ lui $at,0x3f80 +/* f157920: 44812000 */ mtc1 $at,$f4 +/* f157924: 3c0142c8 */ lui $at,0x42c8 +/* f157928: 44814000 */ mtc1 $at,$f8 +/* f15792c: 46002181 */ sub.s $f6,$f4,$f0 +/* f157930: 3c014316 */ lui $at,0x4316 +/* f157934: 44818000 */ mtc1 $at,$f16 +/* f157938: 00007812 */ mflo $t7 +/* f15793c: 46083282 */ mul.s $f10,$f6,$f8 +/* f157940: afaf008c */ sw $t7,0x8c($sp) +/* f157944: 8e180000 */ lw $t8,0x0($s0) +/* f157948: 3c047f1c */ lui $a0,0x7f1c +/* f15794c: 3c058008 */ lui $a1,0x8008 +/* f157950: 8e528c5c */ lw $s2,-0x73a4($s2) +/* f157954: 8faa00c0 */ lw $t2,0xc0($sp) +/* f157958: 46105480 */ add.s $f18,$f10,$f16 +/* f15795c: 24a520a0 */ addiu $a1,$a1,0x20a0 +/* f157960: 248493e8 */ addiu $a0,$a0,-27672 +/* f157964: afb80088 */ sw $t8,0x88($sp) +/* f157968: 4459f800 */ cfc1 $t9,$31 +/* f15796c: 44c9f800 */ ctc1 $t1,$31 +/* f157970: 00000000 */ nop +/* f157974: 46009124 */ cvt.w.s $f4,$f18 +/* f157978: 4449f800 */ cfc1 $t1,$31 +/* f15797c: 00000000 */ nop +/* f157980: 31210004 */ andi $at,$t1,0x4 +/* f157984: 31290078 */ andi $t1,$t1,0x78 +/* f157988: 11200012 */ beqz $t1,.PB0f1579d4 +/* f15798c: 3c014f00 */ lui $at,0x4f00 +/* f157990: 44812000 */ mtc1 $at,$f4 +/* f157994: 24090001 */ li $t1,0x1 +/* f157998: 46049101 */ sub.s $f4,$f18,$f4 +/* f15799c: 44c9f800 */ ctc1 $t1,$31 +/* f1579a0: 00000000 */ nop +/* f1579a4: 46002124 */ cvt.w.s $f4,$f4 +/* f1579a8: 4449f800 */ cfc1 $t1,$31 +/* f1579ac: 00000000 */ nop +/* f1579b0: 31290078 */ andi $t1,$t1,0x78 +/* f1579b4: 15200005 */ bnez $t1,.PB0f1579cc +/* f1579b8: 00000000 */ nop +/* f1579bc: 44092000 */ mfc1 $t1,$f4 +/* f1579c0: 3c018000 */ lui $at,0x8000 +/* f1579c4: 10000007 */ b .PB0f1579e4 +/* f1579c8: 01214825 */ or $t1,$t1,$at +.PB0f1579cc: +/* f1579cc: 10000005 */ b .PB0f1579e4 +/* f1579d0: 2409ffff */ li $t1,-1 +.PB0f1579d4: +/* f1579d4: 44092000 */ mfc1 $t1,$f4 +/* f1579d8: 00000000 */ nop +/* f1579dc: 0520fffb */ bltz $t1,.PB0f1579cc +/* f1579e0: 00000000 */ nop +.PB0f1579e4: +/* f1579e4: 2401ff00 */ li $at,-256 +/* f1579e8: 01415824 */ and $t3,$t2,$at +/* f1579ec: 01696025 */ or $t4,$t3,$t1 +/* f1579f0: 44d9f800 */ ctc1 $t9,$31 +/* f1579f4: 0c003648 */ jal 0xd920 +/* f1579f8: afac0094 */ sw $t4,0x94($sp) +/* f1579fc: 3c028008 */ lui $v0,0x8008 +/* f157a00: 8c4220a0 */ lw $v0,0x20a0($v0) +/* f157a04: 8fb400d0 */ lw $s4,0xd0($sp) +/* f157a08: 02602025 */ move $a0,$s3 +/* f157a0c: 10400002 */ beqz $v0,.PB0f157a18 +/* f157a10: 27a5008c */ addiu $a1,$sp,0x8c +/* f157a14: 00409025 */ move $s2,$v0 +.PB0f157a18: +/* f157a18: 8fad00b8 */ lw $t5,0xb8($sp) +/* f157a1c: 8fae00bc */ lw $t6,0xbc($sp) +/* f157a20: 8faf0094 */ lw $t7,0x94($sp) +/* f157a24: 8fb800c4 */ lw $t8,0xc4($sp) +/* f157a28: 8fb900c8 */ lw $t9,0xc8($sp) +/* f157a2c: 8faa00cc */ lw $t2,0xcc($sp) +/* f157a30: 27a60088 */ addiu $a2,$sp,0x88 +/* f157a34: 8fa700b4 */ lw $a3,0xb4($sp) +/* f157a38: afb2001c */ sw $s2,0x1c($sp) +/* f157a3c: afb4002c */ sw $s4,0x2c($sp) +/* f157a40: afad0010 */ sw $t5,0x10($sp) +/* f157a44: afae0014 */ sw $t6,0x14($sp) +/* f157a48: afaf0018 */ sw $t7,0x18($sp) +/* f157a4c: afb80020 */ sw $t8,0x20($sp) +/* f157a50: afb90024 */ sw $t9,0x24($sp) +/* f157a54: 0fc56160 */ jal 0xf158580 +/* f157a58: afaa0028 */ sw $t2,0x28($sp) +/* f157a5c: 00409825 */ move $s3,$v0 +.PB0f157a60: +/* f157a60: 3c047f1c */ lui $a0,0x7f1c +/* f157a64: 3c058008 */ lui $a1,0x8008 +/* f157a68: 8fb400d0 */ lw $s4,0xd0($sp) +/* f157a6c: 24a5207c */ addiu $a1,$a1,0x207c +/* f157a70: 0c003648 */ jal 0xd920 +/* f157a74: 248493f0 */ addiu $a0,$a0,-27664 +/* f157a78: 3c047f1c */ lui $a0,0x7f1c +/* f157a7c: 3c058008 */ lui $a1,0x8008 +/* f157a80: 24a52088 */ addiu $a1,$a1,0x2088 +/* f157a84: 0c003648 */ jal 0xd920 +/* f157a88: 248493f8 */ addiu $a0,$a0,-27656 +/* f157a8c: 3c047f1c */ lui $a0,0x7f1c +/* f157a90: 3c058008 */ lui $a1,0x8008 +/* f157a94: 24a5208c */ addiu $a1,$a1,0x208c +/* f157a98: 0c003648 */ jal 0xd920 +/* f157a9c: 24849404 */ addiu $a0,$a0,-27644 +/* f157aa0: 3c047f1c */ lui $a0,0x7f1c +/* f157aa4: 3c058008 */ lui $a1,0x8008 +/* f157aa8: 24a52094 */ addiu $a1,$a1,0x2094 +/* f157aac: 0c003648 */ jal 0xd920 +/* f157ab0: 24849410 */ addiu $a0,$a0,-27632 +/* f157ab4: 3c047f1c */ lui $a0,0x7f1c +/* f157ab8: 3c058008 */ lui $a1,0x8008 +/* f157abc: 24a52090 */ addiu $a1,$a1,0x2090 +/* f157ac0: 0c003648 */ jal 0xd920 +/* f157ac4: 24849418 */ addiu $a0,$a0,-27624 +/* f157ac8: 3c047f1c */ lui $a0,0x7f1c +/* f157acc: 3c058008 */ lui $a1,0x8008 +/* f157ad0: 24a52080 */ addiu $a1,$a1,0x2080 +/* f157ad4: 0c003648 */ jal 0xd920 +/* f157ad8: 24849420 */ addiu $a0,$a0,-27616 +/* f157adc: 3c047f1c */ lui $a0,0x7f1c +/* f157ae0: 3c058008 */ lui $a1,0x8008 +/* f157ae4: 24a52084 */ addiu $a1,$a1,0x2084 +/* f157ae8: 0c003648 */ jal 0xd920 +/* f157aec: 24849428 */ addiu $a0,$a0,-27608 +/* f157af0: 8e0b0000 */ lw $t3,0x0($s0) +/* f157af4: 8e320000 */ lw $s2,0x0($s1) +/* f157af8: 24090048 */ li $t1,0x48 +/* f157afc: a3a9009f */ sb $t1,0x9f($sp) +/* f157b00: 16800005 */ bnez $s4,.PB0f157b18 +/* f157b04: afab00a0 */ sw $t3,0xa0($sp) +/* f157b08: 8fac00b8 */ lw $t4,0xb8($sp) +/* f157b0c: 818d0445 */ lb $t5,0x445($t4) +/* f157b10: 918e0446 */ lbu $t6,0x446($t4) +/* f157b14: 01aea021 */ addu $s4,$t5,$t6 +.PB0f157b18: +/* f157b18: 3c0f8008 */ lui $t7,0x8008 +/* f157b1c: 8def65f0 */ lw $t7,0x65f0($t7) +/* f157b20: 02601025 */ move $v0,$s3 +/* f157b24: 26730008 */ addiu $s3,$s3,0x8 +/* f157b28: 11e00005 */ beqz $t7,.PB0f157b40 +/* f157b2c: 3c18e700 */ lui $t8,0xe700 +/* f157b30: 2a81000e */ slti $at,$s4,0xe +/* f157b34: 50200003 */ beqzl $at,.PB0f157b44 +/* f157b38: 02601825 */ move $v1,$s3 +/* f157b3c: 2414000e */ li $s4,0xe +.PB0f157b40: +/* f157b40: 02601825 */ move $v1,$s3 +.PB0f157b44: +/* f157b44: ac580000 */ sw $t8,0x0($v0) +/* f157b48: ac400004 */ sw $zero,0x4($v0) +/* f157b4c: 3c19ba00 */ lui $t9,0xba00 +/* f157b50: 37390e02 */ ori $t9,$t9,0xe02 +/* f157b54: 26730008 */ addiu $s3,$s3,0x8 +/* f157b58: 340ac000 */ li $t2,0xc000 +/* f157b5c: ac6a0004 */ sw $t2,0x4($v1) +/* f157b60: ac790000 */ sw $t9,0x0($v1) +/* f157b64: 02603825 */ move $a3,$s3 +/* f157b68: 3c0bfd10 */ lui $t3,0xfd10 +/* f157b6c: aceb0000 */ sw $t3,0x0($a3) +/* f157b70: 3c048008 */ lui $a0,0x8008 +/* f157b74: 2484200c */ addiu $a0,$a0,0x200c +/* f157b78: afa70078 */ sw $a3,0x78($sp) +/* f157b7c: 0c012de0 */ jal 0x4b780 +/* f157b80: 26730008 */ addiu $s3,$s3,0x8 +/* f157b84: 8fa70078 */ lw $a3,0x78($sp) +/* f157b88: 02601825 */ move $v1,$s3 +/* f157b8c: 26730008 */ addiu $s3,$s3,0x8 +/* f157b90: ace20004 */ sw $v0,0x4($a3) +/* f157b94: 3c09e600 */ lui $t1,0xe600 +/* f157b98: 02602025 */ move $a0,$s3 +/* f157b9c: ac690000 */ sw $t1,0x0($v1) +/* f157ba0: ac600004 */ sw $zero,0x4($v1) +/* f157ba4: 26730008 */ addiu $s3,$s3,0x8 +/* f157ba8: 3c0d0603 */ lui $t5,0x603 +/* f157bac: 35adc000 */ ori $t5,$t5,0xc000 +/* f157bb0: 3c0cf000 */ lui $t4,0xf000 +/* f157bb4: 02602825 */ move $a1,$s3 +/* f157bb8: ac8c0000 */ sw $t4,0x0($a0) +/* f157bbc: ac8d0004 */ sw $t5,0x4($a0) +/* f157bc0: 26730008 */ addiu $s3,$s3,0x8 +/* f157bc4: 3c0ef540 */ lui $t6,0xf540 +/* f157bc8: 35ce0200 */ ori $t6,$t6,0x200 +/* f157bcc: 02603025 */ move $a2,$s3 +/* f157bd0: acae0000 */ sw $t6,0x0($a1) +/* f157bd4: aca00004 */ sw $zero,0x4($a1) +/* f157bd8: 3c180007 */ lui $t8,0x7 +/* f157bdc: 3718c07c */ ori $t8,$t8,0xc07c +/* f157be0: 3c0ff200 */ lui $t7,0xf200 +/* f157be4: accf0000 */ sw $t7,0x0($a2) +/* f157be8: acd80004 */ sw $t8,0x4($a2) +/* f157bec: 26730008 */ addiu $s3,$s3,0x8 +/* f157bf0: 8fa400c0 */ lw $a0,0xc0($sp) +/* f157bf4: 02604025 */ move $t0,$s3 +/* f157bf8: 26730008 */ addiu $s3,$s3,0x8 +/* f157bfc: 3c19fa00 */ lui $t9,0xfa00 +/* f157c00: ad190000 */ sw $t9,0x0($t0) +/* f157c04: 02601025 */ move $v0,$s3 +/* f157c08: ad040004 */ sw $a0,0x4($t0) +/* f157c0c: 3c0ae700 */ lui $t2,0xe700 +/* f157c10: ac4a0000 */ sw $t2,0x0($v0) +/* f157c14: ac400004 */ sw $zero,0x4($v0) +/* f157c18: 8fab00b4 */ lw $t3,0xb4($sp) +/* f157c1c: 3c03800b */ lui $v1,0x800b +/* f157c20: 24638bf0 */ addiu $v1,$v1,-29712 +/* f157c24: 26730008 */ addiu $s3,$s3,0x8 +/* f157c28: ac640004 */ sw $a0,0x4($v1) +/* f157c2c: 11600047 */ beqz $t3,.PB0f157d4c +/* f157c30: ac640044 */ sw $a0,0x44($v1) +/* f157c34: 91620000 */ lbu $v0,0x0($t3) +/* f157c38: 10400044 */ beqz $v0,.PB0f157d4c +/* f157c3c: 00000000 */ nop +/* f157c40: 24010020 */ li $at,0x20 +.PB0f157c44: +/* f157c44: 5441000d */ bnel $v0,$at,.PB0f157c7c +/* f157c48: 2401000a */ li $at,0xa +/* f157c4c: 8e290000 */ lw $t1,0x0($s1) +/* f157c50: 00156080 */ sll $t4,$s5,0x2 +/* f157c54: 01956021 */ addu $t4,$t4,$s5 +/* f157c58: 012c6821 */ addu $t5,$t1,$t4 +/* f157c5c: ae2d0000 */ sw $t5,0x0($s1) +/* f157c60: 8faf00b4 */ lw $t7,0xb4($sp) +/* f157c64: 240e0048 */ li $t6,0x48 +/* f157c68: a3ae009f */ sb $t6,0x9f($sp) +/* f157c6c: 25f80001 */ addiu $t8,$t7,0x1 +/* f157c70: 10000032 */ b .PB0f157d3c +/* f157c74: afb800b4 */ sw $t8,0xb4($sp) +/* f157c78: 2401000a */ li $at,0xa +.PB0f157c7c: +/* f157c7c: 14410015 */ bne $v0,$at,.PB0f157cd4 +/* f157c80: 3c028008 */ lui $v0,0x8008 +/* f157c84: 8c421fa4 */ lw $v0,0x1fa4($v0) +/* f157c88: 04420009 */ bltzl $v0,.PB0f157cb0 +/* f157c8c: 8e090000 */ lw $t1,0x0($s0) +/* f157c90: 8e390000 */ lw $t9,0x0($s1) +/* f157c94: 56590006 */ bnel $s2,$t9,.PB0f157cb0 +/* f157c98: 8e090000 */ lw $t1,0x0($s0) +/* f157c9c: 8e0a0000 */ lw $t2,0x0($s0) +/* f157ca0: 01425821 */ addu $t3,$t2,$v0 +/* f157ca4: 10000004 */ b .PB0f157cb8 +/* f157ca8: ae0b0000 */ sw $t3,0x0($s0) +/* f157cac: 8e090000 */ lw $t1,0x0($s0) +.PB0f157cb0: +/* f157cb0: 01346021 */ addu $t4,$t1,$s4 +/* f157cb4: ae0c0000 */ sw $t4,0x0($s0) +.PB0f157cb8: +/* f157cb8: ae320000 */ sw $s2,0x0($s1) +/* f157cbc: 8fae00b4 */ lw $t6,0xb4($sp) +/* f157cc0: 240d0048 */ li $t5,0x48 +/* f157cc4: a3ad009f */ sb $t5,0x9f($sp) +/* f157cc8: 25cf0001 */ addiu $t7,$t6,0x1 +/* f157ccc: 1000001b */ b .PB0f157d3c +/* f157cd0: afaf00b4 */ sw $t7,0xb4($sp) +.PB0f157cd4: +/* f157cd4: 27b8009f */ addiu $t8,$sp,0x9f +/* f157cd8: afb80010 */ sw $t8,0x10($sp) +/* f157cdc: 27a400b4 */ addiu $a0,$sp,0xb4 +/* f157ce0: 27a5005c */ addiu $a1,$sp,0x5c +/* f157ce4: 27a60058 */ addiu $a2,$sp,0x58 +/* f157ce8: 0fc5590b */ jal 0xf15642c +/* f157cec: 8fa700b8 */ lw $a3,0xb8($sp) +/* f157cf0: 8fb90058 */ lw $t9,0x58($sp) +/* f157cf4: 8faa00bc */ lw $t2,0xbc($sp) +/* f157cf8: 8fab00a0 */ lw $t3,0xa0($sp) +/* f157cfc: 8fa900c4 */ lw $t1,0xc4($sp) +/* f157d00: 8fac00c8 */ lw $t4,0xc8($sp) +/* f157d04: 8fad00cc */ lw $t5,0xcc($sp) +/* f157d08: 02602025 */ move $a0,$s3 +/* f157d0c: 02202825 */ move $a1,$s1 +/* f157d10: 02003025 */ move $a2,$s0 +/* f157d14: 8fa7005c */ lw $a3,0x5c($sp) +/* f157d18: afb20018 */ sw $s2,0x18($sp) +/* f157d1c: afb90010 */ sw $t9,0x10($sp) +/* f157d20: afaa0014 */ sw $t2,0x14($sp) +/* f157d24: afab001c */ sw $t3,0x1c($sp) +/* f157d28: afa90020 */ sw $t1,0x20($sp) +/* f157d2c: afac0024 */ sw $t4,0x24($sp) +/* f157d30: 0fc55ba0 */ jal 0xf156e80 +/* f157d34: afad0028 */ sw $t5,0x28($sp) +/* f157d38: 00409825 */ move $s3,$v0 +.PB0f157d3c: +/* f157d3c: 8fae00b4 */ lw $t6,0xb4($sp) +/* f157d40: 91c20000 */ lbu $v0,0x0($t6) +/* f157d44: 5440ffbf */ bnezl $v0,.PB0f157c44 +/* f157d48: 24010020 */ li $at,0x20 +.PB0f157d4c: +/* f157d4c: 3c0f8008 */ lui $t7,0x8008 +/* f157d50: 8def1f98 */ lw $t7,0x1f98($t7) +/* f157d54: 02601025 */ move $v0,$s3 +/* f157d58: 11e00012 */ beqz $t7,.PB0f157da4 +/* f157d5c: 00000000 */ nop +/* f157d60: 3c198008 */ lui $t9,0x8008 +/* f157d64: 8f391f90 */ lw $t9,0x1f90($t9) +/* f157d68: 8e180000 */ lw $t8,0x0($s0) +/* f157d6c: 0319001a */ div $zero,$t8,$t9 +/* f157d70: 00005012 */ mflo $t2 +/* f157d74: ae0a0000 */ sw $t2,0x0($s0) +/* f157d78: 17200002 */ bnez $t9,.PB0f157d84 +/* f157d7c: 00000000 */ nop +/* f157d80: 0007000d */ break 0x7 +.PB0f157d84: +/* f157d84: 2401ffff */ li $at,-1 +/* f157d88: 17210004 */ bne $t9,$at,.PB0f157d9c +/* f157d8c: 3c018000 */ lui $at,0x8000 +/* f157d90: 17010002 */ bne $t8,$at,.PB0f157d9c +/* f157d94: 00000000 */ nop +/* f157d98: 0006000d */ break 0x6 +.PB0f157d9c: +/* f157d9c: 10000011 */ b .PB0f157de4 +/* f157da0: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f157da4: +/* f157da4: 3c098008 */ lui $t1,0x8008 +/* f157da8: 8d291f90 */ lw $t1,0x1f90($t1) +/* f157dac: 8e2b0000 */ lw $t3,0x0($s1) +/* f157db0: 0169001a */ div $zero,$t3,$t1 +/* f157db4: 00006012 */ mflo $t4 +/* f157db8: ae2c0000 */ sw $t4,0x0($s1) +/* f157dbc: 15200002 */ bnez $t1,.PB0f157dc8 +/* f157dc0: 00000000 */ nop +/* f157dc4: 0007000d */ break 0x7 +.PB0f157dc8: +/* f157dc8: 2401ffff */ li $at,-1 +/* f157dcc: 15210004 */ bne $t1,$at,.PB0f157de0 +/* f157dd0: 3c018000 */ lui $at,0x8000 +/* f157dd4: 15610002 */ bne $t3,$at,.PB0f157de0 +/* f157dd8: 00000000 */ nop +/* f157ddc: 0006000d */ break 0x6 +.PB0f157de0: +/* f157de0: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f157de4: +/* f157de4: 8fb00034 */ lw $s0,0x34($sp) +/* f157de8: 8fb10038 */ lw $s1,0x38($sp) +/* f157dec: 8fb2003c */ lw $s2,0x3c($sp) +/* f157df0: 8fb30040 */ lw $s3,0x40($sp) +/* f157df4: 8fb40044 */ lw $s4,0x44($sp) +/* f157df8: 8fb50048 */ lw $s5,0x48($sp) +/* f157dfc: 03e00008 */ jr $ra +/* f157e00: 27bd00a8 */ addiu $sp,$sp,0xa8 +); #else GLOBAL_ASM( glabel textRenderProjected @@ -6012,6 +7762,270 @@ glabel textRender /* f158260: 03e00008 */ jr $ra /* f158264: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel textRender +/* f158580: 27bdff40 */ addiu $sp,$sp,-192 +/* f158584: afbf005c */ sw $ra,0x5c($sp) +/* f158588: afbe0058 */ sw $s8,0x58($sp) +/* f15858c: afb70054 */ sw $s7,0x54($sp) +/* f158590: afb60050 */ sw $s6,0x50($sp) +/* f158594: afb5004c */ sw $s5,0x4c($sp) +/* f158598: afb40048 */ sw $s4,0x48($sp) +/* f15859c: afb30044 */ sw $s3,0x44($sp) +/* f1585a0: afb20040 */ sw $s2,0x40($sp) +/* f1585a4: afb1003c */ sw $s1,0x3c($sp) +/* f1585a8: afb00038 */ sw $s0,0x38($sp) +/* f1585ac: afa700cc */ sw $a3,0xcc($sp) +/* f1585b0: 3c0f8008 */ lui $t7,0x8008 +/* f1585b4: 8def1f90 */ lw $t7,0x1f90($t7) +/* f1585b8: 8cae0000 */ lw $t6,0x0($a1) +/* f1585bc: 00808025 */ move $s0,$a0 +/* f1585c0: 02001025 */ move $v0,$s0 +/* f1585c4: 01cf0019 */ multu $t6,$t7 +/* f1585c8: 26100008 */ addiu $s0,$s0,0x8 +/* f1585cc: 02001825 */ move $v1,$s0 +/* f1585d0: 26100008 */ addiu $s0,$s0,0x8 +/* f1585d4: 240b0048 */ li $t3,0x48 +/* f1585d8: 02009025 */ move $s2,$s0 +/* f1585dc: 00a08825 */ move $s1,$a1 +/* f1585e0: 00c09825 */ move $s3,$a2 +/* f1585e4: 26100008 */ addiu $s0,$s0,0x8 +/* f1585e8: 3c048008 */ lui $a0,0x8008 +/* f1585ec: 0000a012 */ mflo $s4 +/* f1585f0: acb40000 */ sw $s4,0x0($a1) +/* f1585f4: 8fac00ec */ lw $t4,0xec($sp) +/* f1585f8: 8cd90000 */ lw $t9,0x0($a2) +/* f1585fc: a3ab00b7 */ sb $t3,0xb7($sp) +/* f158600: 15800006 */ bnez $t4,.PB0f15861c +/* f158604: afb900b8 */ sw $t9,0xb8($sp) +/* f158608: 8fad00d0 */ lw $t5,0xd0($sp) +/* f15860c: 81ae0445 */ lb $t6,0x445($t5) +/* f158610: 91af0446 */ lbu $t7,0x446($t5) +/* f158614: 01cfc021 */ addu $t8,$t6,$t7 +/* f158618: afb800ec */ sw $t8,0xec($sp) +.PB0f15861c: +/* f15861c: 3c198008 */ lui $t9,0x8008 +/* f158620: 8f3965f0 */ lw $t9,0x65f0($t9) +/* f158624: 3c0eba00 */ lui $t6,0xba00 +/* f158628: 3c0de700 */ lui $t5,0xe700 +/* f15862c: 13200007 */ beqz $t9,.PB0f15864c +/* f158630: 35ce0e02 */ ori $t6,$t6,0xe02 +/* f158634: 8fab00ec */ lw $t3,0xec($sp) +/* f158638: 240c000e */ li $t4,0xe +/* f15863c: 2961000e */ slti $at,$t3,0xe +/* f158640: 50200003 */ beqzl $at,.PB0f158650 +/* f158644: ac4d0000 */ sw $t5,0x0($v0) +/* f158648: afac00ec */ sw $t4,0xec($sp) +.PB0f15864c: +/* f15864c: ac4d0000 */ sw $t5,0x0($v0) +.PB0f158650: +/* f158650: ac400004 */ sw $zero,0x4($v0) +/* f158654: 340fc000 */ li $t7,0xc000 +/* f158658: ac6f0004 */ sw $t7,0x4($v1) +/* f15865c: ac6e0000 */ sw $t6,0x0($v1) +/* f158660: 3c18fd10 */ lui $t8,0xfd10 +/* f158664: ae580000 */ sw $t8,0x0($s2) +/* f158668: 0c012de0 */ jal 0x4b780 +/* f15866c: 2484202c */ addiu $a0,$a0,0x202c +/* f158670: 02001825 */ move $v1,$s0 +/* f158674: ae420004 */ sw $v0,0x4($s2) +/* f158678: 26100008 */ addiu $s0,$s0,0x8 +/* f15867c: 3c19e600 */ lui $t9,0xe600 +/* f158680: 02002025 */ move $a0,$s0 +/* f158684: ac790000 */ sw $t9,0x0($v1) +/* f158688: ac600004 */ sw $zero,0x4($v1) +/* f15868c: 3c0c0607 */ lui $t4,0x607 +/* f158690: 358cc000 */ ori $t4,$t4,0xc000 +/* f158694: 26100008 */ addiu $s0,$s0,0x8 +/* f158698: 3c0bf000 */ lui $t3,0xf000 +/* f15869c: ac8b0000 */ sw $t3,0x0($a0) +/* f1586a0: ac8c0004 */ sw $t4,0x4($a0) +/* f1586a4: 02002825 */ move $a1,$s0 +/* f1586a8: 3c09f540 */ lui $t1,0xf540 +/* f1586ac: 26100008 */ addiu $s0,$s0,0x8 +/* f1586b0: 35290200 */ ori $t1,$t1,0x200 +/* f1586b4: 02003025 */ move $a2,$s0 +/* f1586b8: 3c0d0007 */ lui $t5,0x7 +/* f1586bc: aca90000 */ sw $t1,0x0($a1) +/* f1586c0: aca00004 */ sw $zero,0x4($a1) +/* f1586c4: 35adc07c */ ori $t5,$t5,0xc07c +/* f1586c8: 3c0af200 */ lui $t2,0xf200 +/* f1586cc: accd0004 */ sw $t5,0x4($a2) +/* f1586d0: acca0000 */ sw $t2,0x0($a2) +/* f1586d4: 26100008 */ addiu $s0,$s0,0x8 +/* f1586d8: 8fa800dc */ lw $t0,0xdc($sp) +/* f1586dc: 02003825 */ move $a3,$s0 +/* f1586e0: 26100008 */ addiu $s0,$s0,0x8 +/* f1586e4: 3c0e0110 */ lui $t6,0x110 +/* f1586e8: 02001025 */ move $v0,$s0 +/* f1586ec: acee0004 */ sw $t6,0x4($a3) +/* f1586f0: ace90000 */ sw $t1,0x0($a3) +/* f1586f4: 26100008 */ addiu $s0,$s0,0x8 +/* f1586f8: 3c0f0107 */ lui $t7,0x107 +/* f1586fc: 35efc07c */ ori $t7,$t7,0xc07c +/* f158700: 02001825 */ move $v1,$s0 +/* f158704: ac4f0004 */ sw $t7,0x4($v0) +/* f158708: ac4a0000 */ sw $t2,0x0($v0) +/* f15870c: 26100008 */ addiu $s0,$s0,0x8 +/* f158710: 3c18ba00 */ lui $t8,0xba00 +/* f158714: 37181402 */ ori $t8,$t8,0x1402 +/* f158718: 3c190010 */ lui $t9,0x10 +/* f15871c: 02002025 */ move $a0,$s0 +/* f158720: ac790004 */ sw $t9,0x4($v1) +/* f158724: ac780000 */ sw $t8,0x0($v1) +/* f158728: 26100008 */ addiu $s0,$s0,0x8 +/* f15872c: 3c0c3f15 */ lui $t4,0x3f15 +/* f158730: 3c0bfc54 */ lui $t3,0xfc54 +/* f158734: 356bffff */ ori $t3,$t3,0xffff +/* f158738: 358cf23f */ ori $t4,$t4,0xf23f +/* f15873c: 02002825 */ move $a1,$s0 +/* f158740: ac8c0004 */ sw $t4,0x4($a0) +/* f158744: ac8b0000 */ sw $t3,0x0($a0) +/* f158748: 3c0dfa00 */ lui $t5,0xfa00 +/* f15874c: acad0000 */ sw $t5,0x0($a1) +/* f158750: 26100008 */ addiu $s0,$s0,0x8 +/* f158754: aca80004 */ sw $t0,0x4($a1) +/* f158758: 8fa500d8 */ lw $a1,0xd8($sp) +/* f15875c: 02003025 */ move $a2,$s0 +/* f158760: 26100008 */ addiu $s0,$s0,0x8 +/* f158764: 3c0efb00 */ lui $t6,0xfb00 +/* f158768: acce0000 */ sw $t6,0x0($a2) +/* f15876c: 02001825 */ move $v1,$s0 +/* f158770: acc50004 */ sw $a1,0x4($a2) +/* f158774: 3c0fe700 */ lui $t7,0xe700 +/* f158778: 3c04800b */ lui $a0,0x800b +/* f15877c: ac6f0000 */ sw $t7,0x0($v1) +/* f158780: ac600004 */ sw $zero,0x4($v1) +/* f158784: 24848bf0 */ addiu $a0,$a0,-29712 +/* f158788: 8fb800cc */ lw $t8,0xcc($sp) +/* f15878c: ac880008 */ sw $t0,0x8($a0) +/* f158790: ac880048 */ sw $t0,0x48($a0) +/* f158794: ac850004 */ sw $a1,0x4($a0) +/* f158798: ac850044 */ sw $a1,0x44($a0) +/* f15879c: 93020000 */ lbu $v0,0x0($t8) +/* f1587a0: 26100008 */ addiu $s0,$s0,0x8 +/* f1587a4: 50400041 */ beqzl $v0,.PB0f1588ac +/* f1587a8: 02001825 */ move $v1,$s0 +/* f1587ac: 3c128008 */ lui $s2,0x8008 +/* f1587b0: 26521fa0 */ addiu $s2,$s2,0x1fa0 +/* f1587b4: 8fbe00e8 */ lw $s8,0xe8($sp) +/* f1587b8: 8fb700e4 */ lw $s7,0xe4($sp) +/* f1587bc: 8fb600e0 */ lw $s6,0xe0($sp) +/* f1587c0: 8fb500d4 */ lw $s5,0xd4($sp) +/* f1587c4: 24010020 */ li $at,0x20 +.PB0f1587c8: +/* f1587c8: 5441000e */ bnel $v0,$at,.PB0f158804 +/* f1587cc: 2401000a */ li $at,0xa +/* f1587d0: 8e4b0000 */ lw $t3,0x0($s2) +/* f1587d4: 8e390000 */ lw $t9,0x0($s1) +/* f1587d8: 240e0048 */ li $t6,0x48 +/* f1587dc: 000b6080 */ sll $t4,$t3,0x2 +/* f1587e0: 018b6021 */ addu $t4,$t4,$t3 +/* f1587e4: 032c6821 */ addu $t5,$t9,$t4 +/* f1587e8: ae2d0000 */ sw $t5,0x0($s1) +/* f1587ec: 8faf00cc */ lw $t7,0xcc($sp) +/* f1587f0: a3ae00b7 */ sb $t6,0xb7($sp) +/* f1587f4: 25f80001 */ addiu $t8,$t7,0x1 +/* f1587f8: 10000027 */ b .PB0f158898 +/* f1587fc: afb800cc */ sw $t8,0xcc($sp) +/* f158800: 2401000a */ li $at,0xa +.PB0f158804: +/* f158804: 1441000c */ bne $v0,$at,.PB0f158838 +/* f158808: 27a400cc */ addiu $a0,$sp,0xcc +/* f15880c: ae340000 */ sw $s4,0x0($s1) +/* f158810: 8e6b0000 */ lw $t3,0x0($s3) +/* f158814: 8fb900ec */ lw $t9,0xec($sp) +/* f158818: 240d0048 */ li $t5,0x48 +/* f15881c: 01796021 */ addu $t4,$t3,$t9 +/* f158820: ae6c0000 */ sw $t4,0x0($s3) +/* f158824: 8fae00cc */ lw $t6,0xcc($sp) +/* f158828: a3ad00b7 */ sb $t5,0xb7($sp) +/* f15882c: 25cf0001 */ addiu $t7,$t6,0x1 +/* f158830: 10000019 */ b .PB0f158898 +/* f158834: afaf00cc */ sw $t7,0xcc($sp) +.PB0f158838: +/* f158838: 27b800b7 */ addiu $t8,$sp,0xb7 +/* f15883c: afb80010 */ sw $t8,0x10($sp) +/* f158840: 27a50078 */ addiu $a1,$sp,0x78 +/* f158844: 27a60074 */ addiu $a2,$sp,0x74 +/* f158848: 0fc5590b */ jal 0xf15642c +/* f15884c: 8fa700d0 */ lw $a3,0xd0($sp) +/* f158850: 8e4c0000 */ lw $t4,0x0($s2) +/* f158854: 8fab0074 */ lw $t3,0x74($sp) +/* f158858: 8fb900b8 */ lw $t9,0xb8($sp) +/* f15885c: 02cc0019 */ multu $s6,$t4 +/* f158860: 02002025 */ move $a0,$s0 +/* f158864: 02202825 */ move $a1,$s1 +/* f158868: 02603025 */ move $a2,$s3 +/* f15886c: 8fa70078 */ lw $a3,0x78($sp) +/* f158870: afb50014 */ sw $s5,0x14($sp) +/* f158874: afb40018 */ sw $s4,0x18($sp) +/* f158878: afb70024 */ sw $s7,0x24($sp) +/* f15887c: afbe0028 */ sw $s8,0x28($sp) +/* f158880: afab0010 */ sw $t3,0x10($sp) +/* f158884: 00006812 */ mflo $t5 +/* f158888: afad0020 */ sw $t5,0x20($sp) +/* f15888c: 0fc55fb2 */ jal 0xf157ec8 +/* f158890: afb9001c */ sw $t9,0x1c($sp) +/* f158894: 00408025 */ move $s0,$v0 +.PB0f158898: +/* f158898: 8fae00cc */ lw $t6,0xcc($sp) +/* f15889c: 91c20000 */ lbu $v0,0x0($t6) +/* f1588a0: 5440ffc9 */ bnezl $v0,.PB0f1587c8 +/* f1588a4: 24010020 */ li $at,0x20 +/* f1588a8: 02001825 */ move $v1,$s0 +.PB0f1588ac: +/* f1588ac: 26100008 */ addiu $s0,$s0,0x8 +/* f1588b0: 3c0fe700 */ lui $t7,0xe700 +/* f1588b4: 02002025 */ move $a0,$s0 +/* f1588b8: ac6f0000 */ sw $t7,0x0($v1) +/* f1588bc: ac600004 */ sw $zero,0x4($v1) +/* f1588c0: 3c18ba00 */ lui $t8,0xba00 +/* f1588c4: 37181402 */ ori $t8,$t8,0x1402 +/* f1588c8: 26100008 */ addiu $s0,$s0,0x8 +/* f1588cc: ac980000 */ sw $t8,0x0($a0) +/* f1588d0: ac800004 */ sw $zero,0x4($a0) +/* f1588d4: 02002825 */ move $a1,$s0 +/* f1588d8: 3c0bfcff */ lui $t3,0xfcff +/* f1588dc: 3c19ff2d */ lui $t9,0xff2d +/* f1588e0: 3739feff */ ori $t9,$t9,0xfeff +/* f1588e4: 356b97ff */ ori $t3,$t3,0x97ff +/* f1588e8: acab0000 */ sw $t3,0x0($a1) +/* f1588ec: acb90004 */ sw $t9,0x4($a1) +/* f1588f0: 3c0d8008 */ lui $t5,0x8008 +/* f1588f4: 8dad1f90 */ lw $t5,0x1f90($t5) +/* f1588f8: 8e2c0000 */ lw $t4,0x0($s1) +/* f1588fc: 26100008 */ addiu $s0,$s0,0x8 +/* f158900: 02001025 */ move $v0,$s0 +/* f158904: 018d001a */ div $zero,$t4,$t5 +/* f158908: 00007012 */ mflo $t6 +/* f15890c: ae2e0000 */ sw $t6,0x0($s1) +/* f158910: 8fbf005c */ lw $ra,0x5c($sp) +/* f158914: 8fbe0058 */ lw $s8,0x58($sp) +/* f158918: 8fb70054 */ lw $s7,0x54($sp) +/* f15891c: 8fb60050 */ lw $s6,0x50($sp) +/* f158920: 8fb5004c */ lw $s5,0x4c($sp) +/* f158924: 8fb40048 */ lw $s4,0x48($sp) +/* f158928: 8fb30044 */ lw $s3,0x44($sp) +/* f15892c: 8fb20040 */ lw $s2,0x40($sp) +/* f158930: 8fb1003c */ lw $s1,0x3c($sp) +/* f158934: 8fb00038 */ lw $s0,0x38($sp) +/* f158938: 15a00002 */ bnez $t5,.PB0f158944 +/* f15893c: 00000000 */ nop +/* f158940: 0007000d */ break 0x7 +.PB0f158944: +/* f158944: 2401ffff */ li $at,-1 +/* f158948: 15a10004 */ bne $t5,$at,.PB0f15895c +/* f15894c: 3c018000 */ lui $at,0x8000 +/* f158950: 15810002 */ bne $t4,$at,.PB0f15895c +/* f158954: 00000000 */ nop +/* f158958: 0006000d */ break 0x6 +.PB0f15895c: +/* f15895c: 27bd00c0 */ addiu $sp,$sp,0xc0 +/* f158960: 03e00008 */ jr $ra +/* f158964: 00000000 */ nop +); #else GLOBAL_ASM( glabel textRender @@ -6483,6 +8497,158 @@ glabel textMeasure /* f158484: 03e00008 */ jr $ra /* f158488: 27bd0060 */ addiu $sp,$sp,0x60 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel textMeasure +/* f158968: 27bdffa0 */ addiu $sp,$sp,-96 +/* f15896c: 240e0048 */ li $t6,0x48 +/* f158970: afbf0044 */ sw $ra,0x44($sp) +/* f158974: afbe0040 */ sw $s8,0x40($sp) +/* f158978: afb7003c */ sw $s7,0x3c($sp) +/* f15897c: afb60038 */ sw $s6,0x38($sp) +/* f158980: afb50034 */ sw $s5,0x34($sp) +/* f158984: afb40030 */ sw $s4,0x30($sp) +/* f158988: afb3002c */ sw $s3,0x2c($sp) +/* f15898c: afb20028 */ sw $s2,0x28($sp) +/* f158990: afb10024 */ sw $s1,0x24($sp) +/* f158994: afb00020 */ sw $s0,0x20($sp) +/* f158998: afa60068 */ sw $a2,0x68($sp) +/* f15899c: afa7006c */ sw $a3,0x6c($sp) +/* f1589a0: a3ae005f */ sb $t6,0x5f($sp) +/* f1589a4: ac800000 */ sw $zero,0x0($a0) +/* f1589a8: aca00000 */ sw $zero,0x0($a1) +/* f1589ac: 8faf0074 */ lw $t7,0x74($sp) +/* f1589b0: 00a08025 */ move $s0,$a1 +/* f1589b4: 00809025 */ move $s2,$a0 +/* f1589b8: 15e00006 */ bnez $t7,.PB0f1589d4 +/* f1589bc: 00009825 */ move $s3,$zero +/* f1589c0: 8fb8006c */ lw $t8,0x6c($sp) +/* f1589c4: 93190446 */ lbu $t9,0x446($t8) +/* f1589c8: 83080445 */ lb $t0,0x445($t8) +/* f1589cc: 03284821 */ addu $t1,$t9,$t0 +/* f1589d0: afa90074 */ sw $t1,0x74($sp) +.PB0f1589d4: +/* f1589d4: 3c0a8008 */ lui $t2,0x8008 +/* f1589d8: 8d4a65f0 */ lw $t2,0x65f0($t2) +/* f1589dc: 8fab0074 */ lw $t3,0x74($sp) +/* f1589e0: 11400004 */ beqz $t2,.PB0f1589f4 +/* f1589e4: 2961000e */ slti $at,$t3,0xe +/* f1589e8: 10200002 */ beqz $at,.PB0f1589f4 +/* f1589ec: 240c000e */ li $t4,0xe +/* f1589f0: afac0074 */ sw $t4,0x74($sp) +.PB0f1589f4: +/* f1589f4: 8fad0068 */ lw $t5,0x68($sp) +/* f1589f8: 11a00047 */ beqz $t5,.PB0f158b18 +/* f1589fc: 00000000 */ nop +/* f158a00: 91a20000 */ lbu $v0,0x0($t5) +/* f158a04: 27be004c */ addiu $s8,$sp,0x4c +/* f158a08: 27b70050 */ addiu $s7,$sp,0x50 +/* f158a0c: 10400042 */ beqz $v0,.PB0f158b18 +/* f158a10: 27b60068 */ addiu $s6,$sp,0x68 +/* f158a14: 24150020 */ li $s5,0x20 +/* f158a18: 8fb40070 */ lw $s4,0x70($sp) +/* f158a1c: 2411000a */ li $s1,0xa +.PB0f158a20: +/* f158a20: 16a2000d */ bne $s5,$v0,.PB0f158a58 +/* f158a24: 8fae0068 */ lw $t6,0x68($sp) +/* f158a28: 91cf0001 */ lbu $t7,0x1($t6) +/* f158a2c: 522f0005 */ beql $s1,$t7,.PB0f158a44 +/* f158a30: 8fa90068 */ lw $t1,0x68($sp) +/* f158a34: 8e180000 */ lw $t8,0x0($s0) +/* f158a38: 27190005 */ addiu $t9,$t8,0x5 +/* f158a3c: ae190000 */ sw $t9,0x0($s0) +/* f158a40: 8fa90068 */ lw $t1,0x68($sp) +.PB0f158a44: +/* f158a44: 24080048 */ li $t0,0x48 +/* f158a48: a3a8005f */ sb $t0,0x5f($sp) +/* f158a4c: 252a0001 */ addiu $t2,$t1,0x1 +/* f158a50: 1000002d */ b .PB0f158b08 +/* f158a54: afaa0068 */ sw $t2,0x68($sp) +.PB0f158a58: +/* f158a58: 1622000f */ bne $s1,$v0,.PB0f158a98 +/* f158a5c: 02c02025 */ move $a0,$s6 +/* f158a60: 8e020000 */ lw $v0,0x0($s0) +/* f158a64: 0262082a */ slt $at,$s3,$v0 +/* f158a68: 50200003 */ beqzl $at,.PB0f158a78 +/* f158a6c: ae000000 */ sw $zero,0x0($s0) +/* f158a70: 00409825 */ move $s3,$v0 +/* f158a74: ae000000 */ sw $zero,0x0($s0) +.PB0f158a78: +/* f158a78: 8e4b0000 */ lw $t3,0x0($s2) +/* f158a7c: 8fac0074 */ lw $t4,0x74($sp) +/* f158a80: 016c6821 */ addu $t5,$t3,$t4 +/* f158a84: ae4d0000 */ sw $t5,0x0($s2) +/* f158a88: 8fae0068 */ lw $t6,0x68($sp) +/* f158a8c: 25cf0001 */ addiu $t7,$t6,0x1 +/* f158a90: 1000001d */ b .PB0f158b08 +/* f158a94: afaf0068 */ sw $t7,0x68($sp) +.PB0f158a98: +/* f158a98: 27b8005f */ addiu $t8,$sp,0x5f +/* f158a9c: afb80010 */ sw $t8,0x10($sp) +/* f158aa0: 02e02825 */ move $a1,$s7 +/* f158aa4: 03c03025 */ move $a2,$s8 +/* f158aa8: 0fc5590b */ jal 0xf15642c +/* f158aac: 8fa7006c */ lw $a3,0x6c($sp) +/* f158ab0: 8fb9004c */ lw $t9,0x4c($sp) +/* f158ab4: 8fac0050 */ lw $t4,0x50($sp) +/* f158ab8: 8f280004 */ lw $t0,0x4($t9) +/* f158abc: 8d8d0004 */ lw $t5,0x4($t4) +/* f158ac0: 3c198008 */ lui $t9,0x8008 +/* f158ac4: 00084880 */ sll $t1,$t0,0x2 +/* f158ac8: 01284823 */ subu $t1,$t1,$t0 +/* f158acc: 00094880 */ sll $t1,$t1,0x2 +/* f158ad0: 01284821 */ addu $t1,$t1,$t0 +/* f158ad4: 00095080 */ sll $t2,$t1,0x2 +/* f158ad8: 028a5821 */ addu $t3,$s4,$t2 +/* f158adc: 000d7080 */ sll $t6,$t5,0x2 +/* f158ae0: 016e7821 */ addu $t7,$t3,$t6 +/* f158ae4: 8df80000 */ lw $t8,0x0($t7) +/* f158ae8: 8f391f94 */ lw $t9,0x1f94($t9) +/* f158aec: 8e080000 */ lw $t0,0x0($s0) +/* f158af0: 91890003 */ lbu $t1,0x3($t4) +/* f158af4: 03191021 */ addu $v0,$t8,$t9 +/* f158af8: 2442ffff */ addiu $v0,$v0,-1 +/* f158afc: 01095021 */ addu $t2,$t0,$t1 +/* f158b00: 01426823 */ subu $t5,$t2,$v0 +/* f158b04: ae0d0000 */ sw $t5,0x0($s0) +.PB0f158b08: +/* f158b08: 8fab0068 */ lw $t3,0x68($sp) +/* f158b0c: 91620000 */ lbu $v0,0x0($t3) +/* f158b10: 1440ffc3 */ bnez $v0,.PB0f158a20 +/* f158b14: 00000000 */ nop +.PB0f158b18: +/* f158b18: 3c0e8008 */ lui $t6,0x8008 +/* f158b1c: 8dce1f90 */ lw $t6,0x1f90($t6) +/* f158b20: 24010001 */ li $at,0x1 +/* f158b24: 3c188008 */ lui $t8,0x8008 +/* f158b28: 55c10008 */ bnel $t6,$at,.PB0f158b4c +/* f158b2c: 8e0c0000 */ lw $t4,0x0($s0) +/* f158b30: 8e0f0000 */ lw $t7,0x0($s0) +/* f158b34: 8f181fa0 */ lw $t8,0x1fa0($t8) +/* f158b38: 01f80019 */ multu $t7,$t8 +/* f158b3c: 0000c812 */ mflo $t9 +/* f158b40: ae190000 */ sw $t9,0x0($s0) +/* f158b44: 00000000 */ nop +/* f158b48: 8e0c0000 */ lw $t4,0x0($s0) +.PB0f158b4c: +/* f158b4c: 0193082a */ slt $at,$t4,$s3 +/* f158b50: 50200003 */ beqzl $at,.PB0f158b60 +/* f158b54: 8fbf0044 */ lw $ra,0x44($sp) +/* f158b58: ae130000 */ sw $s3,0x0($s0) +/* f158b5c: 8fbf0044 */ lw $ra,0x44($sp) +.PB0f158b60: +/* f158b60: 8fb00020 */ lw $s0,0x20($sp) +/* f158b64: 8fb10024 */ lw $s1,0x24($sp) +/* f158b68: 8fb20028 */ lw $s2,0x28($sp) +/* f158b6c: 8fb3002c */ lw $s3,0x2c($sp) +/* f158b70: 8fb40030 */ lw $s4,0x30($sp) +/* f158b74: 8fb50034 */ lw $s5,0x34($sp) +/* f158b78: 8fb60038 */ lw $s6,0x38($sp) +/* f158b7c: 8fb7003c */ lw $s7,0x3c($sp) +/* f158b80: 8fbe0040 */ lw $s8,0x40($sp) +/* f158b84: 03e00008 */ jr $ra +/* f158b88: 27bd0060 */ addiu $sp,$sp,0x60 +); #else GLOBAL_ASM( glabel textMeasure diff --git a/src/game/game_175f90.c b/src/game/game_175f90.c index c43080cd5..e43375826 100644 --- a/src/game/game_175f90.c +++ b/src/game/game_175f90.c @@ -29,6 +29,8 @@ char *func0f175ff0(void) { #if VERSION >= VERSION_PAL_FINAL return "Apr 28 2000 14:40:49"; +#elif VERSION >= VERSION_PAL_BETA + return "Apr 26 2000 16:36:48"; #elif VERSION >= VERSION_NTSC_1_0 return "Apr 6 2000 15:05:01"; #else diff --git a/src/game/game_19aa80.c b/src/game/game_19aa80.c index 638ccb028..7f053cc6f 100644 --- a/src/game/game_19aa80.c +++ b/src/game/game_19aa80.c @@ -261,7 +261,7 @@ void mpDetermineUnlockedFeatures(void) flag = 1; numgifted++; } -#if VERSION < VERSION_NTSC_1_0 +#if VERSION == VERSION_NTSC_BETA || VERSION == VERSION_PAL_BETA else if (debugIsAllChallengesEnabled()) { flag = 1; } @@ -1071,6 +1071,186 @@ bool mpIsChallengeCompleteForEndscreen(void) return result; } +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel mpConsiderMarkingCurrentChallengeComplete +/* f19e354: 27bdffd8 */ addiu $sp,$sp,-40 +/* f19e358: afbf001c */ sw $ra,0x1c($sp) +/* f19e35c: afb10018 */ sw $s1,0x18($sp) +/* f19e360: 0fc67875 */ jal 0xf19e1d4 +/* f19e364: afb00014 */ sw $s0,0x14($sp) +/* f19e368: 3c0e800a */ lui $t6,0x800a +/* f19e36c: 8dce6700 */ lw $t6,0x6700($t6) +/* f19e370: 3c0f800a */ lui $t7,0x800a +/* f19e374: 55c0008c */ bnezl $t6,.PB0f19e5a8 +/* f19e378: 8fbf001c */ lw $ra,0x1c($sp) +/* f19e37c: 8def6704 */ lw $t7,0x6704($t7) +/* f19e380: 55e00089 */ bnezl $t7,.PB0f19e5a8 +/* f19e384: 8fbf001c */ lw $ra,0x1c($sp) +/* f19e388: 14400004 */ bnez $v0,.PB0f19e39c +/* f19e38c: 00000000 */ nop +/* f19e390: 0fc4810c */ jal 0xf120430 +/* f19e394: 00000000 */ nop +/* f19e398: 10400082 */ beqz $v0,.PB0f19e5a4 +.PB0f19e39c: +/* f19e39c: 3c10800a */ lui $s0,0x800a +/* f19e3a0: 2610e4d0 */ addiu $s0,$s0,-6960 +/* f19e3a4: 8e18006c */ lw $t8,0x6c($s0) +/* f19e3a8: 3c048009 */ lui $a0,0x8009 +/* f19e3ac: 24060001 */ li $a2,0x1 +/* f19e3b0: 53000004 */ beqzl $t8,.PB0f19e3c4 +/* f19e3b4: 00004825 */ move $t1,$zero +/* f19e3b8: 10000002 */ b .PB0f19e3c4 +/* f19e3bc: 24090001 */ li $t1,0x1 +/* f19e3c0: 00004825 */ move $t1,$zero +.PB0f19e3c4: +/* f19e3c4: 8e190068 */ lw $t9,0x68($s0) +/* f19e3c8: 53200004 */ beqzl $t9,.PB0f19e3dc +/* f19e3cc: 00004025 */ move $t0,$zero +/* f19e3d0: 10000002 */ b .PB0f19e3dc +/* f19e3d4: 24080001 */ li $t0,0x1 +/* f19e3d8: 00004025 */ move $t0,$zero +.PB0f19e3dc: +/* f19e3dc: 8e0a0064 */ lw $t2,0x64($s0) +/* f19e3e0: 00001825 */ move $v1,$zero +/* f19e3e4: 11400003 */ beqz $t2,.PB0f19e3f4 +/* f19e3e8: 00000000 */ nop +/* f19e3ec: 10000001 */ b .PB0f19e3f4 +/* f19e3f0: 24030001 */ li $v1,0x1 +.PB0f19e3f4: +/* f19e3f4: 8e0b0070 */ lw $t3,0x70($s0) +/* f19e3f8: 00001025 */ move $v0,$zero +/* f19e3fc: 11600003 */ beqz $t3,.PB0f19e40c +/* f19e400: 00000000 */ nop +/* f19e404: 10000001 */ b .PB0f19e40c +/* f19e408: 24020001 */ li $v0,0x1 +.PB0f19e40c: +/* f19e40c: 00436021 */ addu $t4,$v0,$v1 +/* f19e410: 01886821 */ addu $t5,$t4,$t0 +/* f19e414: 01a92821 */ addu $a1,$t5,$t1 +/* f19e418: 0fc67829 */ jal 0xf19e0a4 +/* f19e41c: 8c84a990 */ lw $a0,-0x5670($a0) +/* f19e420: 8e0f006c */ lw $t7,0x6c($s0) +/* f19e424: 8e0e028c */ lw $t6,0x28c($s0) +/* f19e428: 00008825 */ move $s1,$zero +/* f19e42c: 11e00003 */ beqz $t7,.PB0f19e43c +/* f19e430: afae0020 */ sw $t6,0x20($sp) +/* f19e434: 10000002 */ b .PB0f19e440 +/* f19e438: 24090001 */ li $t1,0x1 +.PB0f19e43c: +/* f19e43c: 00004825 */ move $t1,$zero +.PB0f19e440: +/* f19e440: 8e180068 */ lw $t8,0x68($s0) +/* f19e444: 00004025 */ move $t0,$zero +/* f19e448: 00001825 */ move $v1,$zero +/* f19e44c: 13000003 */ beqz $t8,.PB0f19e45c +/* f19e450: 00001025 */ move $v0,$zero +/* f19e454: 10000001 */ b .PB0f19e45c +/* f19e458: 24080001 */ li $t0,0x1 +.PB0f19e45c: +/* f19e45c: 8e190064 */ lw $t9,0x64($s0) +/* f19e460: 13200003 */ beqz $t9,.PB0f19e470 +/* f19e464: 00000000 */ nop +/* f19e468: 10000001 */ b .PB0f19e470 +/* f19e46c: 24030001 */ li $v1,0x1 +.PB0f19e470: +/* f19e470: 8e0a0070 */ lw $t2,0x70($s0) +/* f19e474: 11400003 */ beqz $t2,.PB0f19e484 +/* f19e478: 00000000 */ nop +/* f19e47c: 10000001 */ b .PB0f19e484 +/* f19e480: 24020001 */ li $v0,0x1 +.PB0f19e484: +/* f19e484: 00435821 */ addu $t3,$v0,$v1 +/* f19e488: 01686021 */ addu $t4,$t3,$t0 +/* f19e48c: 01896821 */ addu $t5,$t4,$t1 +/* f19e490: 19a00040 */ blez $t5,.PB0f19e594 +/* f19e494: 00000000 */ nop +.PB0f19e498: +/* f19e498: 0fc4a783 */ jal 0xf129e0c +/* f19e49c: 02202025 */ move $a0,$s1 +/* f19e4a0: 8e0e006c */ lw $t6,0x6c($s0) +/* f19e4a4: 3c058009 */ lui $a1,0x8009 +/* f19e4a8: 24070001 */ li $a3,0x1 +/* f19e4ac: 11c00003 */ beqz $t6,.PB0f19e4bc +/* f19e4b0: 00004825 */ move $t1,$zero +/* f19e4b4: 10000001 */ b .PB0f19e4bc +/* f19e4b8: 24090001 */ li $t1,0x1 +.PB0f19e4bc: +/* f19e4bc: 8e0f0068 */ lw $t7,0x68($s0) +/* f19e4c0: 00004025 */ move $t0,$zero +/* f19e4c4: 00001825 */ move $v1,$zero +/* f19e4c8: 11e00003 */ beqz $t7,.PB0f19e4d8 +/* f19e4cc: 00001025 */ move $v0,$zero +/* f19e4d0: 10000001 */ b .PB0f19e4d8 +/* f19e4d4: 24080001 */ li $t0,0x1 +.PB0f19e4d8: +/* f19e4d8: 8e180064 */ lw $t8,0x64($s0) +/* f19e4dc: 13000003 */ beqz $t8,.PB0f19e4ec +/* f19e4e0: 00000000 */ nop +/* f19e4e4: 10000001 */ b .PB0f19e4ec +/* f19e4e8: 24030001 */ li $v1,0x1 +.PB0f19e4ec: +/* f19e4ec: 8e190070 */ lw $t9,0x70($s0) +/* f19e4f0: 13200003 */ beqz $t9,.PB0f19e500 +/* f19e4f4: 00000000 */ nop +/* f19e4f8: 10000001 */ b .PB0f19e500 +/* f19e4fc: 24020001 */ li $v0,0x1 +.PB0f19e500: +/* f19e500: 8e0a0288 */ lw $t2,0x288($s0) +/* f19e504: 00435821 */ addu $t3,$v0,$v1 +/* f19e508: 01686021 */ addu $t4,$t3,$t0 +/* f19e50c: 01893021 */ addu $a2,$t4,$t1 +/* f19e510: 8ca5a990 */ lw $a1,-0x5670($a1) +/* f19e514: 0fc67854 */ jal 0xf19e150 +/* f19e518: 8d440070 */ lw $a0,0x70($t2) +/* f19e51c: 8e0d006c */ lw $t5,0x6c($s0) +/* f19e520: 26310001 */ addiu $s1,$s1,0x1 +/* f19e524: 00004825 */ move $t1,$zero +/* f19e528: 11a00003 */ beqz $t5,.PB0f19e538 +/* f19e52c: 00004025 */ move $t0,$zero +/* f19e530: 10000001 */ b .PB0f19e538 +/* f19e534: 24090001 */ li $t1,0x1 +.PB0f19e538: +/* f19e538: 8e0e0068 */ lw $t6,0x68($s0) +/* f19e53c: 00001825 */ move $v1,$zero +/* f19e540: 00001025 */ move $v0,$zero +/* f19e544: 11c00003 */ beqz $t6,.PB0f19e554 +/* f19e548: 00000000 */ nop +/* f19e54c: 10000001 */ b .PB0f19e554 +/* f19e550: 24080001 */ li $t0,0x1 +.PB0f19e554: +/* f19e554: 8e0f0064 */ lw $t7,0x64($s0) +/* f19e558: 11e00003 */ beqz $t7,.PB0f19e568 +/* f19e55c: 00000000 */ nop +/* f19e560: 10000001 */ b .PB0f19e568 +/* f19e564: 24030001 */ li $v1,0x1 +.PB0f19e568: +/* f19e568: 8e180070 */ lw $t8,0x70($s0) +/* f19e56c: 13000003 */ beqz $t8,.PB0f19e57c +/* f19e570: 00000000 */ nop +/* f19e574: 10000001 */ b .PB0f19e57c +/* f19e578: 24020001 */ li $v0,0x1 +.PB0f19e57c: +/* f19e57c: 0043c821 */ addu $t9,$v0,$v1 +/* f19e580: 03285021 */ addu $t2,$t9,$t0 +/* f19e584: 01495821 */ addu $t3,$t2,$t1 +/* f19e588: 022b082a */ slt $at,$s1,$t3 +/* f19e58c: 1420ffc2 */ bnez $at,.PB0f19e498 +/* f19e590: 00000000 */ nop +.PB0f19e594: +/* f19e594: 0fc4a783 */ jal 0xf129e0c +/* f19e598: 8fa40020 */ lw $a0,0x20($sp) +/* f19e59c: 0fc67317 */ jal 0xf19cc5c +/* f19e5a0: 00000000 */ nop +.PB0f19e5a4: +/* f19e5a4: 8fbf001c */ lw $ra,0x1c($sp) +.PB0f19e5a8: +/* f19e5a8: 8fb00014 */ lw $s0,0x14($sp) +/* f19e5ac: 8fb10018 */ lw $s1,0x18($sp) +/* f19e5b0: 03e00008 */ jr $ra +/* f19e5b4: 27bd0028 */ addiu $sp,$sp,0x28 +); +#else void mpConsiderMarkingCurrentChallengeComplete(void) { bool result = mpIsChallengeCompleteForEndscreen(); @@ -1096,6 +1276,7 @@ void mpConsiderMarkingCurrentChallengeComplete(void) mpDetermineUnlockedFeatures(); } } +#endif bool mpIsFeatureUnlocked(s32 featurenum) { diff --git a/src/game/gamefile.c b/src/game/gamefile.c index 8ece1ac9a..ad75d7eb2 100644 --- a/src/game/gamefile.c +++ b/src/game/gamefile.c @@ -403,6 +403,360 @@ glabel gamefileApplyOptions /* f1100a4: 03e00008 */ jr $ra /* f1100a8: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel gamefileApplyOptions +/* f10f954: 3c03800a */ lui $v1,0x800a +/* f10f958: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f10f95c: 8c620298 */ lw $v0,0x298($v1) +/* f10f960: 27bdffd8 */ addiu $sp,$sp,-40 +/* f10f964: afbf001c */ sw $ra,0x1c($sp) +/* f10f968: afb00018 */ sw $s0,0x18($sp) +/* f10f96c: 04410005 */ bgez $v0,.PB0f10f984 +/* f10f970: 00803025 */ move $a2,$a0 +/* f10f974: 8c6e029c */ lw $t6,0x29c($v1) +/* f10f978: 240f0004 */ li $t7,0x4 +/* f10f97c: 05c20004 */ bltzl $t6,.PB0f10f990 +/* f10f980: afaf0024 */ sw $t7,0x24($sp) +.PB0f10f984: +/* f10f984: 10000002 */ b .PB0f10f990 +/* f10f988: afa00024 */ sw $zero,0x24($sp) +/* f10f98c: afaf0024 */ sw $t7,0x24($sp) +.PB0f10f990: +/* f10f990: 04410004 */ bgez $v0,.PB0f10f9a4 +/* f10f994: 00002025 */ move $a0,$zero +/* f10f998: 8c78029c */ lw $t8,0x29c($v1) +/* f10f99c: 24080005 */ li $t0,0x5 +/* f10f9a0: 07000003 */ bltz $t8,.PB0f10f9b0 +.PB0f10f9a4: +/* f10f9a4: 24190001 */ li $t9,0x1 +/* f10f9a8: 10000002 */ b .PB0f10f9b4 +/* f10f9ac: afb90020 */ sw $t9,0x20($sp) +.PB0f10f9b0: +/* f10f9b0: afa80020 */ sw $t0,0x20($sp) +.PB0f10f9b4: +/* f10f9b4: 24d00014 */ addiu $s0,$a2,0x14 +/* f10f9b8: 0fc47b90 */ jal 0xf11ee40 +/* f10f9bc: 02002825 */ move $a1,$s0 +/* f10f9c0: 8fa40024 */ lw $a0,0x24($sp) +/* f10f9c4: 0fc54f3e */ jal 0xf153cf8 +/* f10f9c8: 00402825 */ move $a1,$v0 +/* f10f9cc: 24040001 */ li $a0,0x1 +/* f10f9d0: 0fc47b90 */ jal 0xf11ee40 +/* f10f9d4: 02002825 */ move $a1,$s0 +/* f10f9d8: 8fa40024 */ lw $a0,0x24($sp) +/* f10f9dc: 0fc54f54 */ jal 0xf153d50 +/* f10f9e0: 00402825 */ move $a1,$v0 +/* f10f9e4: 24040002 */ li $a0,0x2 +/* f10f9e8: 0fc47b90 */ jal 0xf11ee40 +/* f10f9ec: 02002825 */ move $a1,$s0 +/* f10f9f0: 8fa40024 */ lw $a0,0x24($sp) +/* f10f9f4: 0fc54f80 */ jal 0xf153e00 +/* f10f9f8: 00402825 */ move $a1,$v0 +/* f10f9fc: 24040003 */ li $a0,0x3 +/* f10fa00: 0fc47b90 */ jal 0xf11ee40 +/* f10fa04: 02002825 */ move $a1,$s0 +/* f10fa08: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa0c: 0fc54f96 */ jal 0xf153e58 +/* f10fa10: 00402825 */ move $a1,$v0 +/* f10fa14: 24040004 */ li $a0,0x4 +/* f10fa18: 0fc47b90 */ jal 0xf11ee40 +/* f10fa1c: 02002825 */ move $a1,$s0 +/* f10fa20: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa24: 0fc54f6a */ jal 0xf153da8 +/* f10fa28: 00402825 */ move $a1,$v0 +/* f10fa2c: 24040005 */ li $a0,0x5 +/* f10fa30: 0fc47b90 */ jal 0xf11ee40 +/* f10fa34: 02002825 */ move $a1,$s0 +/* f10fa38: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa3c: 0fc54fac */ jal 0xf153eb0 +/* f10fa40: 00402825 */ move $a1,$v0 +/* f10fa44: 24040009 */ li $a0,0x9 +/* f10fa48: 0fc47b90 */ jal 0xf11ee40 +/* f10fa4c: 02002825 */ move $a1,$s0 +/* f10fa50: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa54: 0fc55036 */ jal 0xf1540d8 +/* f10fa58: 00402825 */ move $a1,$v0 +/* f10fa5c: 2404000a */ li $a0,0xa +/* f10fa60: 0fc47b90 */ jal 0xf11ee40 +/* f10fa64: 02002825 */ move $a1,$s0 +/* f10fa68: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa6c: 0fc54fc2 */ jal 0xf153f08 +/* f10fa70: 00402825 */ move $a1,$v0 +/* f10fa74: 24040015 */ li $a0,0x15 +/* f10fa78: 0fc47b90 */ jal 0xf11ee40 +/* f10fa7c: 02002825 */ move $a1,$s0 +/* f10fa80: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa84: 0fc54fd8 */ jal 0xf153f60 +/* f10fa88: 00402825 */ move $a1,$v0 +/* f10fa8c: 24040017 */ li $a0,0x17 +/* f10fa90: 0fc47b90 */ jal 0xf11ee40 +/* f10fa94: 02002825 */ move $a1,$s0 +/* f10fa98: 8fa40024 */ lw $a0,0x24($sp) +/* f10fa9c: 0fc54fee */ jal 0xf153fb8 +/* f10faa0: 00402825 */ move $a1,$v0 +/* f10faa4: 2404001a */ li $a0,0x1a +/* f10faa8: 0fc47b90 */ jal 0xf11ee40 +/* f10faac: 02002825 */ move $a1,$s0 +/* f10fab0: 8fa40024 */ lw $a0,0x24($sp) +/* f10fab4: 0fc5501a */ jal 0xf154068 +/* f10fab8: 00402825 */ move $a1,$v0 +/* f10fabc: 24040020 */ li $a0,0x20 +/* f10fac0: 0fc47b90 */ jal 0xf11ee40 +/* f10fac4: 02002825 */ move $a1,$s0 +/* f10fac8: 8fa40024 */ lw $a0,0x24($sp) +/* f10facc: 0fc55004 */ jal 0xf154010 +/* f10fad0: 00402825 */ move $a1,$v0 +/* f10fad4: 2404000c */ li $a0,0xc +/* f10fad8: 0fc47b90 */ jal 0xf11ee40 +/* f10fadc: 02002825 */ move $a1,$s0 +/* f10fae0: 8fa40020 */ lw $a0,0x20($sp) +/* f10fae4: 0fc54f3e */ jal 0xf153cf8 +/* f10fae8: 00402825 */ move $a1,$v0 +/* f10faec: 2404000d */ li $a0,0xd +/* f10faf0: 0fc47b90 */ jal 0xf11ee40 +/* f10faf4: 02002825 */ move $a1,$s0 +/* f10faf8: 8fa40020 */ lw $a0,0x20($sp) +/* f10fafc: 0fc54f54 */ jal 0xf153d50 +/* f10fb00: 00402825 */ move $a1,$v0 +/* f10fb04: 2404000e */ li $a0,0xe +/* f10fb08: 0fc47b90 */ jal 0xf11ee40 +/* f10fb0c: 02002825 */ move $a1,$s0 +/* f10fb10: 8fa40020 */ lw $a0,0x20($sp) +/* f10fb14: 0fc54f80 */ jal 0xf153e00 +/* f10fb18: 00402825 */ move $a1,$v0 +/* f10fb1c: 2404000f */ li $a0,0xf +/* f10fb20: 0fc47b90 */ jal 0xf11ee40 +/* f10fb24: 02002825 */ move $a1,$s0 +/* f10fb28: 8fa40020 */ lw $a0,0x20($sp) +/* f10fb2c: 0fc54f96 */ jal 0xf153e58 +/* f10fb30: 00402825 */ move $a1,$v0 +/* f10fb34: 24040010 */ li $a0,0x10 +/* f10fb38: 0fc47b90 */ jal 0xf11ee40 +/* f10fb3c: 02002825 */ move $a1,$s0 +/* f10fb40: 8fa40020 */ lw $a0,0x20($sp) +/* f10fb44: 0fc54f6a */ jal 0xf153da8 +/* f10fb48: 00402825 */ move $a1,$v0 +/* f10fb4c: 24040011 */ li $a0,0x11 +/* f10fb50: 0fc47b90 */ jal 0xf11ee40 +/* f10fb54: 02002825 */ move $a1,$s0 +/* f10fb58: 8fa40020 */ lw $a0,0x20($sp) +/* f10fb5c: 0fc54fac */ jal 0xf153eb0 +/* f10fb60: 00402825 */ move $a1,$v0 +/* f10fb64: 24040012 */ li $a0,0x12 +/* f10fb68: 0fc47b90 */ jal 0xf11ee40 +/* f10fb6c: 02002825 */ move $a1,$s0 +/* f10fb70: 8fa40020 */ lw $a0,0x20($sp) +/* f10fb74: 0fc55036 */ jal 0xf1540d8 +/* f10fb78: 00402825 */ move $a1,$v0 +/* f10fb7c: 24040013 */ li $a0,0x13 +/* f10fb80: 0fc47b90 */ jal 0xf11ee40 +/* f10fb84: 02002825 */ move $a1,$s0 +/* f10fb88: 8fa40020 */ lw $a0,0x20($sp) +/* f10fb8c: 0fc54fc2 */ jal 0xf153f08 +/* f10fb90: 00402825 */ move $a1,$v0 +/* f10fb94: 24040016 */ li $a0,0x16 +/* f10fb98: 0fc47b90 */ jal 0xf11ee40 +/* f10fb9c: 02002825 */ move $a1,$s0 +/* f10fba0: 8fa40020 */ lw $a0,0x20($sp) +/* f10fba4: 0fc54fd8 */ jal 0xf153f60 +/* f10fba8: 00402825 */ move $a1,$v0 +/* f10fbac: 24040018 */ li $a0,0x18 +/* f10fbb0: 0fc47b90 */ jal 0xf11ee40 +/* f10fbb4: 02002825 */ move $a1,$s0 +/* f10fbb8: 8fa40020 */ lw $a0,0x20($sp) +/* f10fbbc: 0fc54fee */ jal 0xf153fb8 +/* f10fbc0: 00402825 */ move $a1,$v0 +/* f10fbc4: 2404001b */ li $a0,0x1b +/* f10fbc8: 0fc47b90 */ jal 0xf11ee40 +/* f10fbcc: 02002825 */ move $a1,$s0 +/* f10fbd0: 8fa40020 */ lw $a0,0x20($sp) +/* f10fbd4: 0fc5501a */ jal 0xf154068 +/* f10fbd8: 00402825 */ move $a1,$v0 +/* f10fbdc: 24040021 */ li $a0,0x21 +/* f10fbe0: 0fc47b90 */ jal 0xf11ee40 +/* f10fbe4: 02002825 */ move $a1,$s0 +/* f10fbe8: 8fa40020 */ lw $a0,0x20($sp) +/* f10fbec: 0fc55004 */ jal 0xf154010 +/* f10fbf0: 00402825 */ move $a1,$v0 +/* f10fbf4: 2404000b */ li $a0,0xb +/* f10fbf8: 0fc47b90 */ jal 0xf11ee40 +/* f10fbfc: 02002825 */ move $a1,$s0 +/* f10fc00: 0fc55030 */ jal 0xf1540c0 +/* f10fc04: 00402025 */ move $a0,$v0 +/* f10fc08: 24040014 */ li $a0,0x14 +/* f10fc0c: 0fc47b90 */ jal 0xf11ee40 +/* f10fc10: 02002825 */ move $a1,$s0 +/* f10fc14: 0fc55033 */ jal 0xf1540cc +/* f10fc18: 00402025 */ move $a0,$v0 +/* f10fc1c: 24040021 */ li $a0,0x21 +/* f10fc20: 0fc47b90 */ jal 0xf11ee40 +/* f10fc24: 02002825 */ move $a1,$s0 +/* f10fc28: 8fa40020 */ lw $a0,0x20($sp) +/* f10fc2c: 0fc55004 */ jal 0xf154010 +/* f10fc30: 00402825 */ move $a1,$v0 +/* f10fc34: 24040040 */ li $a0,0x40 +/* f10fc38: 0fc47b90 */ jal 0xf11ee40 +/* f10fc3c: 02002825 */ move $a1,$s0 +/* f10fc40: 3c01800a */ lui $at,0x800a +/* f10fc44: a022e9b3 */ sb $v0,-0x164d($at) +/* f10fc48: 24040022 */ li $a0,0x22 +/* f10fc4c: 0fc47b90 */ jal 0xf11ee40 +/* f10fc50: 02002825 */ move $a1,$s0 +/* f10fc54: 1040000d */ beqz $v0,.PB0f10fc8c +/* f10fc58: 3c098009 */ lui $t1,0x8009 +/* f10fc5c: 91292fd0 */ lbu $t1,0x2fd0($t1) +/* f10fc60: 24010001 */ li $at,0x1 +/* f10fc64: 15210005 */ bne $t1,$at,.PB0f10fc7c +/* f10fc68: 00000000 */ nop +/* f10fc6c: 0fc2f22b */ jal 0xf0bc8ac +/* f10fc70: 00002025 */ move $a0,$zero +/* f10fc74: 10000007 */ b .PB0f10fc94 +/* f10fc78: 00000000 */ nop +.PB0f10fc7c: +/* f10fc7c: 0fc2f22b */ jal 0xf0bc8ac +/* f10fc80: 24040001 */ li $a0,0x1 +/* f10fc84: 10000003 */ b .PB0f10fc94 +/* f10fc88: 00000000 */ nop +.PB0f10fc8c: +/* f10fc8c: 0fc2f22b */ jal 0xf0bc8ac +/* f10fc90: 00002025 */ move $a0,$zero +.PB0f10fc94: +/* f10fc94: 3c0a8009 */ lui $t2,0x8009 +/* f10fc98: 914a2fd0 */ lbu $t2,0x2fd0($t2) +/* f10fc9c: 24010001 */ li $at,0x1 +/* f10fca0: 55410008 */ bnel $t2,$at,.PB0f10fcc4 +/* f10fca4: 24040019 */ li $a0,0x19 +/* f10fca8: 0fc550bc */ jal 0xf1542f0 +/* f10fcac: 00002025 */ move $a0,$zero +/* f10fcb0: 0fc550b6 */ jal 0xf1542d8 +/* f10fcb4: 00002025 */ move $a0,$zero +/* f10fcb8: 1000000c */ b .PB0f10fcec +/* f10fcbc: 24040008 */ li $a0,0x8 +/* f10fcc0: 24040019 */ li $a0,0x19 +.PB0f10fcc4: +/* f10fcc4: 0fc47b90 */ jal 0xf11ee40 +/* f10fcc8: 02002825 */ move $a1,$s0 +/* f10fccc: 0fc550bc */ jal 0xf1542f0 +/* f10fcd0: 304400ff */ andi $a0,$v0,0xff +/* f10fcd4: 24040007 */ li $a0,0x7 +/* f10fcd8: 0fc47b90 */ jal 0xf11ee40 +/* f10fcdc: 02002825 */ move $a1,$s0 +/* f10fce0: 0fc550b6 */ jal 0xf1542d8 +/* f10fce4: 00402025 */ move $a0,$v0 +/* f10fce8: 24040008 */ li $a0,0x8 +.PB0f10fcec: +/* f10fcec: 0fc47b90 */ jal 0xf11ee40 +/* f10fcf0: 02002825 */ move $a1,$s0 +/* f10fcf4: 50400006 */ beqzl $v0,.PB0f10fd10 +/* f10fcf8: 24040006 */ li $a0,0x6 +/* f10fcfc: 0fc550b0 */ jal 0xf1542c0 +/* f10fd00: 24040002 */ li $a0,0x2 +/* f10fd04: 1000000d */ b .PB0f10fd3c +/* f10fd08: 2404001f */ li $a0,0x1f +/* f10fd0c: 24040006 */ li $a0,0x6 +.PB0f10fd10: +/* f10fd10: 0fc47b90 */ jal 0xf11ee40 +/* f10fd14: 02002825 */ move $a1,$s0 +/* f10fd18: 10400005 */ beqz $v0,.PB0f10fd30 +/* f10fd1c: 00000000 */ nop +/* f10fd20: 0fc550b0 */ jal 0xf1542c0 +/* f10fd24: 24040001 */ li $a0,0x1 +/* f10fd28: 10000004 */ b .PB0f10fd3c +/* f10fd2c: 2404001f */ li $a0,0x1f +.PB0f10fd30: +/* f10fd30: 0fc550b0 */ jal 0xf1542c0 +/* f10fd34: 00002025 */ move $a0,$zero +/* f10fd38: 2404001f */ li $a0,0x1f +.PB0f10fd3c: +/* f10fd3c: 0fc47b90 */ jal 0xf11ee40 +/* f10fd40: 02002825 */ move $a1,$s0 +/* f10fd44: 10400005 */ beqz $v0,.PB0f10fd5c +/* f10fd48: 2404001c */ li $a0,0x1c +/* f10fd4c: 240b0001 */ li $t3,0x1 +/* f10fd50: 3c01800a */ lui $at,0x800a +/* f10fd54: 10000003 */ b .PB0f10fd64 +/* f10fd58: ac2be920 */ sw $t3,-0x16e0($at) +.PB0f10fd5c: +/* f10fd5c: 3c01800a */ lui $at,0x800a +/* f10fd60: ac20e920 */ sw $zero,-0x16e0($at) +.PB0f10fd64: +/* f10fd64: 0fc47b90 */ jal 0xf11ee40 +/* f10fd68: 02002825 */ move $a1,$s0 +/* f10fd6c: 10400005 */ beqz $v0,.PB0f10fd84 +/* f10fd70: 2404001d */ li $a0,0x1d +/* f10fd74: 240c0001 */ li $t4,0x1 +/* f10fd78: 3c01800a */ lui $at,0x800a +/* f10fd7c: 10000003 */ b .PB0f10fd8c +/* f10fd80: ac2ce918 */ sw $t4,-0x16e8($at) +.PB0f10fd84: +/* f10fd84: 3c01800a */ lui $at,0x800a +/* f10fd88: ac20e918 */ sw $zero,-0x16e8($at) +.PB0f10fd8c: +/* f10fd8c: 0fc47b90 */ jal 0xf11ee40 +/* f10fd90: 02002825 */ move $a1,$s0 +/* f10fd94: 10400005 */ beqz $v0,.PB0f10fdac +/* f10fd98: 2404001e */ li $a0,0x1e +/* f10fd9c: 240d0001 */ li $t5,0x1 +/* f10fda0: 3c01800a */ lui $at,0x800a +/* f10fda4: 10000003 */ b .PB0f10fdb4 +/* f10fda8: ac2de924 */ sw $t5,-0x16dc($at) +.PB0f10fdac: +/* f10fdac: 3c01800a */ lui $at,0x800a +/* f10fdb0: ac20e924 */ sw $zero,-0x16dc($at) +.PB0f10fdb4: +/* f10fdb4: 0fc47b90 */ jal 0xf11ee40 +/* f10fdb8: 02002825 */ move $a1,$s0 +/* f10fdbc: 10400005 */ beqz $v0,.PB0f10fdd4 +/* f10fdc0: 24040044 */ li $a0,0x44 +/* f10fdc4: 240e0001 */ li $t6,0x1 +/* f10fdc8: 3c01800a */ lui $at,0x800a +/* f10fdcc: 10000003 */ b .PB0f10fddc +/* f10fdd0: ac2ee91c */ sw $t6,-0x16e4($at) +.PB0f10fdd4: +/* f10fdd4: 3c01800a */ lui $at,0x800a +/* f10fdd8: ac20e91c */ sw $zero,-0x16e4($at) +.PB0f10fddc: +/* f10fddc: 3c01800a */ lui $at,0x800a +/* f10fde0: a420e952 */ sh $zero,-0x16ae($at) +/* f10fde4: 0fc47b90 */ jal 0xf11ee40 +/* f10fde8: 02002825 */ move $a1,$s0 +/* f10fdec: 10400006 */ beqz $v0,.PB0f10fe08 +/* f10fdf0: 24040045 */ li $a0,0x45 +/* f10fdf4: 3c0f800a */ lui $t7,0x800a +/* f10fdf8: 95efe952 */ lhu $t7,-0x16ae($t7) +/* f10fdfc: 3c01800a */ lui $at,0x800a +/* f10fe00: 35f80001 */ ori $t8,$t7,0x1 +/* f10fe04: a438e952 */ sh $t8,-0x16ae($at) +.PB0f10fe08: +/* f10fe08: 0fc47b90 */ jal 0xf11ee40 +/* f10fe0c: 02002825 */ move $a1,$s0 +/* f10fe10: 10400006 */ beqz $v0,.PB0f10fe2c +/* f10fe14: 24040046 */ li $a0,0x46 +/* f10fe18: 3c19800a */ lui $t9,0x800a +/* f10fe1c: 9739e952 */ lhu $t9,-0x16ae($t9) +/* f10fe20: 3c01800a */ lui $at,0x800a +/* f10fe24: 37280002 */ ori $t0,$t9,0x2 +/* f10fe28: a428e952 */ sh $t0,-0x16ae($at) +.PB0f10fe2c: +/* f10fe2c: 0fc47b90 */ jal 0xf11ee40 +/* f10fe30: 02002825 */ move $a1,$s0 +/* f10fe34: 10400006 */ beqz $v0,.PB0f10fe50 +/* f10fe38: 3c04800a */ lui $a0,0x800a +/* f10fe3c: 3c09800a */ lui $t1,0x800a +/* f10fe40: 9529e952 */ lhu $t1,-0x16ae($t1) +/* f10fe44: 3c01800a */ lui $at,0x800a +/* f10fe48: 352a0004 */ ori $t2,$t1,0x4 +/* f10fe4c: a42ae952 */ sh $t2,-0x16ae($at) +.PB0f10fe50: +/* f10fe50: 0fc5c097 */ jal 0xf17025c +/* f10fe54: 9484e952 */ lhu $a0,-0x16ae($a0) +/* f10fe58: 8fbf001c */ lw $ra,0x1c($sp) +/* f10fe5c: 8fb00018 */ lw $s0,0x18($sp) +/* f10fe60: 27bd0028 */ addiu $sp,$sp,0x28 +/* f10fe64: 03e00008 */ jr $ra +/* f10fe68: 00000000 */ nop +); #else void gamefileApplyOptions(struct gamefile *file) { @@ -784,6 +1138,314 @@ glabel gamefileLoadDefaults /* f110530: 03e00008 */ jr $ra /* f110534: 27bd0028 */ addiu $sp,$sp,0x28 ); +#elif VERSION >= VERSION_PAL_BETA +const char var7f1b4bd0pf[] = "Dark"; + +GLOBAL_ASM( +glabel gamefileLoadDefaults +/* f10fe6c: 27bdffd8 */ addiu $sp,$sp,-40 +/* f10fe70: afb20020 */ sw $s2,0x20($sp) +/* f10fe74: 3c12800a */ lui $s2,0x800a +/* f10fe78: 2652e4d0 */ addiu $s2,$s2,-6960 +/* f10fe7c: 8e420298 */ lw $v0,0x298($s2) +/* f10fe80: afbf0024 */ sw $ra,0x24($sp) +/* f10fe84: afb1001c */ sw $s1,0x1c($sp) +/* f10fe88: afb00018 */ sw $s0,0x18($sp) +/* f10fe8c: 04410005 */ bgez $v0,.PB0f10fea4 +/* f10fe90: afa40028 */ sw $a0,0x28($sp) +/* f10fe94: 8e4e029c */ lw $t6,0x29c($s2) +/* f10fe98: 24110004 */ li $s1,0x4 +/* f10fe9c: 05c00003 */ bltz $t6,.PB0f10feac +/* f10fea0: 00000000 */ nop +.PB0f10fea4: +/* f10fea4: 10000001 */ b .PB0f10feac +/* f10fea8: 00008825 */ move $s1,$zero +.PB0f10feac: +/* f10feac: 04410005 */ bgez $v0,.PB0f10fec4 +/* f10feb0: 8fa40028 */ lw $a0,0x28($sp) +/* f10feb4: 8e4f029c */ lw $t7,0x29c($s2) +/* f10feb8: 24100005 */ li $s0,0x5 +/* f10febc: 05e00003 */ bltz $t7,.PB0f10fecc +/* f10fec0: 00000000 */ nop +.PB0f10fec4: +/* f10fec4: 10000001 */ b .PB0f10fecc +/* f10fec8: 24100001 */ li $s0,0x1 +.PB0f10fecc: +/* f10fecc: 3c057f1b */ lui $a1,0x7f1b +/* f10fed0: 0c004cbc */ jal 0x132f0 +/* f10fed4: 24a55620 */ addiu $a1,$a1,0x5620 +/* f10fed8: 8fa20028 */ lw $v0,0x28($sp) +/* f10fedc: 24045000 */ li $a0,0x5000 +/* f10fee0: 9058000b */ lbu $t8,0xb($v0) +/* f10fee4: a040000c */ sb $zero,0xc($v0) +/* f10fee8: ac400010 */ sw $zero,0x10($v0) +/* f10feec: 3308ff07 */ andi $t0,$t8,0xff07 +/* f10fef0: 310900f8 */ andi $t1,$t0,0xf8 +/* f10fef4: a048000b */ sb $t0,0xb($v0) +/* f10fef8: 0c003a93 */ jal 0xea4c +/* f10fefc: a049000b */ sb $t1,0xb($v0) +/* f10ff00: 0fc550c8 */ jal 0xf154320 +/* f10ff04: 24045000 */ li $a0,0x5000 +/* f10ff08: 0c003cef */ jal 0xf3bc +/* f10ff0c: 24040001 */ li $a0,0x1 +/* f10ff10: 02202025 */ move $a0,$s1 +/* f10ff14: 0fc54eb7 */ jal 0xf153adc +/* f10ff18: 00002825 */ move $a1,$zero +/* f10ff1c: 02002025 */ move $a0,$s0 +/* f10ff20: 0fc54eb7 */ jal 0xf153adc +/* f10ff24: 00002825 */ move $a1,$zero +/* f10ff28: 8fb00028 */ lw $s0,0x28($sp) +/* f10ff2c: 26100014 */ addiu $s0,$s0,0x14 +/* f10ff30: 0fc47b9e */ jal 0xf11ee78 +/* f10ff34: 02002025 */ move $a0,$s0 +/* f10ff38: 00002025 */ move $a0,$zero +/* f10ff3c: 02002825 */ move $a1,$s0 +/* f10ff40: 0fc47b7b */ jal 0xf11edec +/* f10ff44: 00003025 */ move $a2,$zero +/* f10ff48: 24040001 */ li $a0,0x1 +/* f10ff4c: 02002825 */ move $a1,$s0 +/* f10ff50: 0fc47b7b */ jal 0xf11edec +/* f10ff54: 24060001 */ li $a2,0x1 +/* f10ff58: 24040002 */ li $a0,0x2 +/* f10ff5c: 02002825 */ move $a1,$s0 +/* f10ff60: 0fc47b7b */ jal 0xf11edec +/* f10ff64: 00003025 */ move $a2,$zero +/* f10ff68: 24040003 */ li $a0,0x3 +/* f10ff6c: 02002825 */ move $a1,$s0 +/* f10ff70: 0fc47b7b */ jal 0xf11edec +/* f10ff74: 24060001 */ li $a2,0x1 +/* f10ff78: 24040004 */ li $a0,0x4 +/* f10ff7c: 02002825 */ move $a1,$s0 +/* f10ff80: 0fc47b7b */ jal 0xf11edec +/* f10ff84: 24060001 */ li $a2,0x1 +/* f10ff88: 24040005 */ li $a0,0x5 +/* f10ff8c: 02002825 */ move $a1,$s0 +/* f10ff90: 0fc47b7b */ jal 0xf11edec +/* f10ff94: 24060001 */ li $a2,0x1 +/* f10ff98: 24040009 */ li $a0,0x9 +/* f10ff9c: 02002825 */ move $a1,$s0 +/* f10ffa0: 0fc47b7b */ jal 0xf11edec +/* f10ffa4: 24060001 */ li $a2,0x1 +/* f10ffa8: 2404000a */ li $a0,0xa +/* f10ffac: 02002825 */ move $a1,$s0 +/* f10ffb0: 0fc47b7b */ jal 0xf11edec +/* f10ffb4: 24060001 */ li $a2,0x1 +/* f10ffb8: 2404000b */ li $a0,0xb +/* f10ffbc: 02002825 */ move $a1,$s0 +/* f10ffc0: 0fc47b7b */ jal 0xf11edec +/* f10ffc4: 24060001 */ li $a2,0x1 +/* f10ffc8: 24040015 */ li $a0,0x15 +/* f10ffcc: 02002825 */ move $a1,$s0 +/* f10ffd0: 0fc47b7b */ jal 0xf11edec +/* f10ffd4: 24060001 */ li $a2,0x1 +/* f10ffd8: 24040017 */ li $a0,0x17 +/* f10ffdc: 02002825 */ move $a1,$s0 +/* f10ffe0: 0fc47b7b */ jal 0xf11edec +/* f10ffe4: 24060001 */ li $a2,0x1 +/* f10ffe8: 2404001a */ li $a0,0x1a +/* f10ffec: 02002825 */ move $a1,$s0 +/* f10fff0: 0fc47b7b */ jal 0xf11edec +/* f10fff4: 00003025 */ move $a2,$zero +/* f10fff8: 24040020 */ li $a0,0x20 +/* f10fffc: 02002825 */ move $a1,$s0 +/* f110000: 0fc47b7b */ jal 0xf11edec +/* f110004: 00003025 */ move $a2,$zero +/* f110008: 2404000c */ li $a0,0xc +/* f11000c: 02002825 */ move $a1,$s0 +/* f110010: 0fc47b7b */ jal 0xf11edec +/* f110014: 00003025 */ move $a2,$zero +/* f110018: 2404000d */ li $a0,0xd +/* f11001c: 02002825 */ move $a1,$s0 +/* f110020: 0fc47b7b */ jal 0xf11edec +/* f110024: 24060001 */ li $a2,0x1 +/* f110028: 2404000e */ li $a0,0xe +/* f11002c: 02002825 */ move $a1,$s0 +/* f110030: 0fc47b7b */ jal 0xf11edec +/* f110034: 00003025 */ move $a2,$zero +/* f110038: 2404000f */ li $a0,0xf +/* f11003c: 02002825 */ move $a1,$s0 +/* f110040: 0fc47b7b */ jal 0xf11edec +/* f110044: 24060001 */ li $a2,0x1 +/* f110048: 24040010 */ li $a0,0x10 +/* f11004c: 02002825 */ move $a1,$s0 +/* f110050: 0fc47b7b */ jal 0xf11edec +/* f110054: 24060001 */ li $a2,0x1 +/* f110058: 24040011 */ li $a0,0x11 +/* f11005c: 02002825 */ move $a1,$s0 +/* f110060: 0fc47b7b */ jal 0xf11edec +/* f110064: 24060001 */ li $a2,0x1 +/* f110068: 24040012 */ li $a0,0x12 +/* f11006c: 02002825 */ move $a1,$s0 +/* f110070: 0fc47b7b */ jal 0xf11edec +/* f110074: 24060001 */ li $a2,0x1 +/* f110078: 24040013 */ li $a0,0x13 +/* f11007c: 02002825 */ move $a1,$s0 +/* f110080: 0fc47b7b */ jal 0xf11edec +/* f110084: 24060001 */ li $a2,0x1 +/* f110088: 24040014 */ li $a0,0x14 +/* f11008c: 02002825 */ move $a1,$s0 +/* f110090: 0fc47b7b */ jal 0xf11edec +/* f110094: 00003025 */ move $a2,$zero +/* f110098: 24040016 */ li $a0,0x16 +/* f11009c: 02002825 */ move $a1,$s0 +/* f1100a0: 0fc47b7b */ jal 0xf11edec +/* f1100a4: 24060001 */ li $a2,0x1 +/* f1100a8: 24040018 */ li $a0,0x18 +/* f1100ac: 02002825 */ move $a1,$s0 +/* f1100b0: 0fc47b7b */ jal 0xf11edec +/* f1100b4: 24060001 */ li $a2,0x1 +/* f1100b8: 2404001b */ li $a0,0x1b +/* f1100bc: 02002825 */ move $a1,$s0 +/* f1100c0: 0fc47b7b */ jal 0xf11edec +/* f1100c4: 00003025 */ move $a2,$zero +/* f1100c8: 24040021 */ li $a0,0x21 +/* f1100cc: 02002825 */ move $a1,$s0 +/* f1100d0: 0fc47b7b */ jal 0xf11edec +/* f1100d4: 00003025 */ move $a2,$zero +/* f1100d8: 24040019 */ li $a0,0x19 +/* f1100dc: 02002825 */ move $a1,$s0 +/* f1100e0: 0fc47b7b */ jal 0xf11edec +/* f1100e4: 00003025 */ move $a2,$zero +/* f1100e8: 24040007 */ li $a0,0x7 +/* f1100ec: 02002825 */ move $a1,$s0 +/* f1100f0: 0fc47b7b */ jal 0xf11edec +/* f1100f4: 00003025 */ move $a2,$zero +/* f1100f8: 24040008 */ li $a0,0x8 +/* f1100fc: 02002825 */ move $a1,$s0 +/* f110100: 0fc47b7b */ jal 0xf11edec +/* f110104: 00003025 */ move $a2,$zero +/* f110108: 24040006 */ li $a0,0x6 +/* f11010c: 02002825 */ move $a1,$s0 +/* f110110: 0fc47b7b */ jal 0xf11edec +/* f110114: 00003025 */ move $a2,$zero +/* f110118: 24040022 */ li $a0,0x22 +/* f11011c: 02002825 */ move $a1,$s0 +/* f110120: 0fc47b7b */ jal 0xf11edec +/* f110124: 00003025 */ move $a2,$zero +/* f110128: 24040040 */ li $a0,0x40 +/* f11012c: 02002825 */ move $a1,$s0 +/* f110130: 0fc47b7b */ jal 0xf11edec +/* f110134: 00003025 */ move $a2,$zero +/* f110138: 24040041 */ li $a0,0x41 +/* f11013c: 02002825 */ move $a1,$s0 +/* f110140: 0fc47b7b */ jal 0xf11edec +/* f110144: 00003025 */ move $a2,$zero +/* f110148: 24040042 */ li $a0,0x42 +/* f11014c: 02002825 */ move $a1,$s0 +/* f110150: 0fc47b7b */ jal 0xf11edec +/* f110154: 00003025 */ move $a2,$zero +/* f110158: 24040043 */ li $a0,0x43 +/* f11015c: 02002825 */ move $a1,$s0 +/* f110160: 0fc47b7b */ jal 0xf11edec +/* f110164: 00003025 */ move $a2,$zero +/* f110168: 2404001c */ li $a0,0x1c +/* f11016c: 02002825 */ move $a1,$s0 +/* f110170: 0fc47b7b */ jal 0xf11edec +/* f110174: 24060001 */ li $a2,0x1 +/* f110178: 2404001d */ li $a0,0x1d +/* f11017c: 02002825 */ move $a1,$s0 +/* f110180: 0fc47b7b */ jal 0xf11edec +/* f110184: 24060001 */ li $a2,0x1 +/* f110188: 2404001e */ li $a0,0x1e +/* f11018c: 02002825 */ move $a1,$s0 +/* f110190: 0fc47b7b */ jal 0xf11edec +/* f110194: 24060001 */ li $a2,0x1 +/* f110198: 2404001f */ li $a0,0x1f +/* f11019c: 02002825 */ move $a1,$s0 +/* f1101a0: 0fc47b7b */ jal 0xf11edec +/* f1101a4: 24060001 */ li $a2,0x1 +/* f1101a8: 96460482 */ lhu $a2,0x482($s2) +/* f1101ac: 3c10800a */ lui $s0,0x800a +/* f1101b0: 26106744 */ addiu $s0,$s0,0x6744 +/* f1101b4: 30ca0001 */ andi $t2,$a2,0x1 +/* f1101b8: 394b0001 */ xori $t3,$t2,0x1 +/* f1101bc: 2d660001 */ sltiu $a2,$t3,0x1 +/* f1101c0: 02002825 */ move $a1,$s0 +/* f1101c4: 0fc47b7b */ jal 0xf11edec +/* f1101c8: 24040044 */ li $a0,0x44 +/* f1101cc: 96460482 */ lhu $a2,0x482($s2) +/* f1101d0: 24040045 */ li $a0,0x45 +/* f1101d4: 02002825 */ move $a1,$s0 +/* f1101d8: 30cc0002 */ andi $t4,$a2,0x2 +/* f1101dc: 398d0002 */ xori $t5,$t4,0x2 +/* f1101e0: 0fc47b7b */ jal 0xf11edec +/* f1101e4: 2da60001 */ sltiu $a2,$t5,0x1 +/* f1101e8: 96460482 */ lhu $a2,0x482($s2) +/* f1101ec: 24040046 */ li $a0,0x46 +/* f1101f0: 02002825 */ move $a1,$s0 +/* f1101f4: 30ce0004 */ andi $t6,$a2,0x4 +/* f1101f8: 39cf0004 */ xori $t7,$t6,0x4 +/* f1101fc: 0fc47b7b */ jal 0xf11edec +/* f110200: 2de60001 */ sltiu $a2,$t7,0x1 +/* f110204: 8fa40028 */ lw $a0,0x28($sp) +/* f110208: 00009025 */ move $s2,$zero +/* f11020c: 24030003 */ li $v1,0x3 +/* f110210: a480001e */ sh $zero,0x1e($a0) +.PB0f110214: +/* f110214: 00008025 */ move $s0,$zero +/* f110218: 00801025 */ move $v0,$a0 +.PB0f11021c: +/* f11021c: 26100001 */ addiu $s0,$s0,0x1 +/* f110220: 24420002 */ addiu $v0,$v0,0x2 +/* f110224: 1603fffd */ bne $s0,$v1,.PB0f11021c +/* f110228: a440001e */ sh $zero,0x1e($v0) +/* f11022c: 26520001 */ addiu $s2,$s2,0x1 +/* f110230: 2a410015 */ slti $at,$s2,0x15 +/* f110234: 1420fff7 */ bnez $at,.PB0f110214 +/* f110238: 24840006 */ addiu $a0,$a0,0x6 +/* f11023c: 00009025 */ move $s2,$zero +/* f110240: 24110005 */ li $s1,0x5 +/* f110244: 24100001 */ li $s0,0x1 +.PB0f110248: +/* f110248: 02402025 */ move $a0,$s2 +.PB0f11024c: +/* f11024c: 02002825 */ move $a1,$s0 +/* f110250: 0fc67829 */ jal 0xf19e0a4 +/* f110254: 00003025 */ move $a2,$zero +/* f110258: 26100001 */ addiu $s0,$s0,0x1 +/* f11025c: 5611fffb */ bnel $s0,$s1,.PB0f11024c +/* f110260: 02402025 */ move $a0,$s2 +/* f110264: 26520001 */ addiu $s2,$s2,0x1 +/* f110268: 2a41001e */ slti $at,$s2,0x1e +/* f11026c: 5420fff6 */ bnezl $at,.PB0f110248 +/* f110270: 24100001 */ li $s0,0x1 +/* f110274: 0fc67317 */ jal 0xf19cc5c +/* f110278: 00000000 */ nop +/* f11027c: 3c02800a */ lui $v0,0x800a +/* f110280: 3c03800a */ lui $v1,0x800a +/* f110284: 2463673c */ addiu $v1,$v1,0x673c +/* f110288: 24426730 */ addiu $v0,$v0,0x6730 +.PB0f11028c: +/* f11028c: 24420004 */ addiu $v0,$v0,0x4 +/* f110290: 0043082b */ sltu $at,$v0,$v1 +/* f110294: 1420fffd */ bnez $at,.PB0f11028c +/* f110298: ac40009c */ sw $zero,0x9c($v0) +/* f11029c: 3c02800a */ lui $v0,0x800a +/* f1102a0: 3c03800a */ lui $v1,0x800a +/* f1102a4: 24636739 */ addiu $v1,$v1,0x6739 +/* f1102a8: 24426730 */ addiu $v0,$v0,0x6730 +.PB0f1102ac: +/* f1102ac: 24420001 */ addiu $v0,$v0,0x1 +/* f1102b0: 0043082b */ sltu $at,$v0,$v1 +/* f1102b4: 1420fffd */ bnez $at,.PB0f1102ac +/* f1102b8: a04000ab */ sb $zero,0xab($v0) +/* f1102bc: 3c02800a */ lui $v0,0x800a +/* f1102c0: 3c03800a */ lui $v1,0x800a +/* f1102c4: 24636736 */ addiu $v1,$v1,0x6736 +/* f1102c8: 24426730 */ addiu $v0,$v0,0x6730 +.PB0f1102cc: +/* f1102cc: 24420001 */ addiu $v0,$v0,0x1 +/* f1102d0: 1443fffe */ bne $v0,$v1,.PB0f1102cc +/* f1102d4: a04000b4 */ sb $zero,0xb4($v0) +/* f1102d8: 0fc43e55 */ jal 0xf10f954 +/* f1102dc: 8fa40028 */ lw $a0,0x28($sp) +/* f1102e0: 8fbf0024 */ lw $ra,0x24($sp) +/* f1102e4: 8fb00018 */ lw $s0,0x18($sp) +/* f1102e8: 8fb1001c */ lw $s1,0x1c($sp) +/* f1102ec: 8fb20020 */ lw $s2,0x20($sp) +/* f1102f0: 03e00008 */ jr $ra +/* f1102f4: 27bd0028 */ addiu $sp,$sp,0x28 +); #else void gamefileLoadDefaults(struct gamefile *file) { diff --git a/src/game/hudmsg.c b/src/game/hudmsg.c index 9216eabbe..205a35859 100644 --- a/src/game/hudmsg.c +++ b/src/game/hudmsg.c @@ -2394,6 +2394,851 @@ glabel var7f1af1e0 /* f0e0d58: 03e00008 */ jr $ra /* f0e0d5c: 27bd0100 */ addiu $sp,$sp,0x100 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel hudmsgsRender +.late_rodata +glabel var7f1af1c4 +.word 0x41066667 +glabel var7f1af1c8 +.word 0x40490fdb +glabel var7f1af1cc +.word 0x7f0e097c +.word 0x7f0e097c +.word 0x7f0e097c +.word 0x7f0e0334 +.word 0x7f0e058c +.word 0x7f0e0710 +.text +/* f0dff68: 27bdff00 */ addiu $sp,$sp,-256 +/* f0dff6c: afbf007c */ sw $ra,0x7c($sp) +/* f0dff70: 240e00ff */ li $t6,0xff +/* f0dff74: 240f0001 */ li $t7,0x1 +/* f0dff78: 24180001 */ li $t8,0x1 +/* f0dff7c: 3c018008 */ lui $at,0x8008 +/* f0dff80: afbe0078 */ sw $s8,0x78($sp) +/* f0dff84: afb70074 */ sw $s7,0x74($sp) +/* f0dff88: afb60070 */ sw $s6,0x70($sp) +/* f0dff8c: afb5006c */ sw $s5,0x6c($sp) +/* f0dff90: afb40068 */ sw $s4,0x68($sp) +/* f0dff94: afb30064 */ sw $s3,0x64($sp) +/* f0dff98: afb20060 */ sw $s2,0x60($sp) +/* f0dff9c: afb1005c */ sw $s1,0x5c($sp) +/* f0dffa0: afb00058 */ sw $s0,0x58($sp) +/* f0dffa4: f7ba0050 */ sdc1 $f26,0x50($sp) +/* f0dffa8: f7b80048 */ sdc1 $f24,0x48($sp) +/* f0dffac: f7b60040 */ sdc1 $f22,0x40($sp) +/* f0dffb0: f7b40038 */ sdc1 $f20,0x38($sp) +/* f0dffb4: afae00e0 */ sw $t6,0xe0($sp) +/* f0dffb8: afaf00dc */ sw $t7,0xdc($sp) +/* f0dffbc: 0fc5528f */ jal 0xf154a3c +/* f0dffc0: ac381f90 */ sw $t8,0x1f90($at) +/* f0dffc4: 3c19800a */ lui $t9,0x800a +/* f0dffc8: 8f39e768 */ lw $t9,-0x1898($t9) +/* f0dffcc: 00409025 */ move $s2,$v0 +/* f0dffd0: 3c048007 */ lui $a0,0x8007 +/* f0dffd4: 07210005 */ bgez $t9,.PB0f0dffec +/* f0dffd8: 3c0141f0 */ lui $at,0x41f0 +/* f0dffdc: 3c08800a */ lui $t0,0x800a +/* f0dffe0: 8d08e76c */ lw $t0,-0x1894($t0) +/* f0dffe4: 0500000e */ bltz $t0,.PB0f0e0020 +/* f0dffe8: 00000000 */ nop +.PB0f0dffec: +/* f0dffec: 3c098007 */ lui $t1,0x8007 +/* f0dfff0: 8d292434 */ lw $t1,0x2434($t1) +/* f0dfff4: 1120000a */ beqz $t1,.PB0f0e0020 +/* f0dfff8: 00000000 */ nop +/* f0dfffc: 3c0a8006 */ lui $t2,0x8006 +/* f0e0000: 8d4ae4e0 */ lw $t2,-0x1b20($t2) +/* f0e0004: 15400006 */ bnez $t2,.PB0f0e0020 +/* f0e0008: 00000000 */ nop +/* f0e000c: 3c0b800a */ lui $t3,0x800a +/* f0e0010: 8d6be75c */ lw $t3,-0x18a4($t3) +/* f0e0014: 15600002 */ bnez $t3,.PB0f0e0020 +/* f0e0018: 00000000 */ nop +/* f0e001c: afa000dc */ sw $zero,0xdc($sp) +.PB0f0e0020: +/* f0e0020: 8c842cb8 */ lw $a0,0x2cb8($a0) +/* f0e0024: 27b700e4 */ addiu $s7,$sp,0xe4 +/* f0e0028: 27b600e8 */ addiu $s6,$sp,0xe8 +/* f0e002c: 1880029b */ blez $a0,.PB0f0e0a9c +/* f0e0030: 2415ff00 */ li $s5,-256 +/* f0e0034: 4481d000 */ mtc1 $at,$f26 +/* f0e0038: 3c017f1b */ lui $at,0x7f1b +/* f0e003c: c438fc14 */ lwc1 $f24,-0x3ec($at) +/* f0e0040: 3c014080 */ lui $at,0x4080 +/* f0e0044: 4481b000 */ mtc1 $at,$f22 +/* f0e0048: 3c013f80 */ lui $at,0x3f80 +/* f0e004c: 4481a000 */ mtc1 $at,$f20 +/* f0e0050: afa00088 */ sw $zero,0x88($sp) +/* f0e0054: 241e00ff */ li $s8,0xff +.PB0f0e0058: +/* f0e0058: 3c0d8007 */ lui $t5,0x8007 +/* f0e005c: 8dad2cbc */ lw $t5,0x2cbc($t5) +/* f0e0060: 8fac0088 */ lw $t4,0x88($sp) +/* f0e0064: 00041100 */ sll $v0,$a0,0x4 +/* f0e0068: 00441023 */ subu $v0,$v0,$a0 +/* f0e006c: 018d8021 */ addu $s0,$t4,$t5 +/* f0e0070: 92030004 */ lbu $v1,0x4($s0) +/* f0e0074: 000210c0 */ sll $v0,$v0,0x3 +/* f0e0078: 00441023 */ subu $v0,$v0,$a0 +/* f0e007c: 54600004 */ bnezl $v1,.PB0f0e0090 +/* f0e0080: 92020000 */ lbu $v0,0x0($s0) +/* f0e0084: 10000280 */ b .PB0f0e0a88 +/* f0e0088: 00021080 */ sll $v0,$v0,0x2 +/* f0e008c: 92020000 */ lbu $v0,0x0($s0) +.PB0f0e0090: +/* f0e0090: 24010001 */ li $at,0x1 +/* f0e0094: 5040000a */ beqzl $v0,.PB0f0e00c0 +/* f0e0098: 00041100 */ sll $v0,$a0,0x4 +/* f0e009c: 10410007 */ beq $v0,$at,.PB0f0e00bc +/* f0e00a0: 8fae00dc */ lw $t6,0xdc($sp) +/* f0e00a4: 51c0000c */ beqzl $t6,.PB0f0e00d8 +/* f0e00a8: 92190003 */ lbu $t9,0x3($s0) +/* f0e00ac: 3c0f800a */ lui $t7,0x800a +/* f0e00b0: 8defe75c */ lw $t7,-0x18a4($t7) +/* f0e00b4: 8e1801c0 */ lw $t8,0x1c0($s0) +/* f0e00b8: 11f80006 */ beq $t7,$t8,.PB0f0e00d4 +.PB0f0e00bc: +/* f0e00bc: 00041100 */ sll $v0,$a0,0x4 +.PB0f0e00c0: +/* f0e00c0: 00441023 */ subu $v0,$v0,$a0 +/* f0e00c4: 000210c0 */ sll $v0,$v0,0x3 +/* f0e00c8: 00441023 */ subu $v0,$v0,$a0 +/* f0e00cc: 1000026e */ b .PB0f0e0a88 +/* f0e00d0: 00021080 */ sll $v0,$v0,0x2 +.PB0f0e00d4: +/* f0e00d4: 92190003 */ lbu $t9,0x3($s0) +.PB0f0e00d8: +/* f0e00d8: 53200022 */ beqzl $t9,.PB0f0e0164 +/* f0e00dc: 8e130010 */ lw $s3,0x10($s0) +/* f0e00e0: 96080006 */ lhu $t0,0x6($s0) +/* f0e00e4: 3c014f80 */ lui $at,0x4f80 +/* f0e00e8: 44882000 */ mtc1 $t0,$f4 +/* f0e00ec: 05010004 */ bgez $t0,.PB0f0e0100 +/* f0e00f0: 468021a0 */ cvt.s.w $f6,$f4 +/* f0e00f4: 44814000 */ mtc1 $at,$f8 +/* f0e00f8: 00000000 */ nop +/* f0e00fc: 46083180 */ add.s $f6,$f6,$f8 +.PB0f0e0100: +/* f0e0100: 3c017f1b */ lui $at,0x7f1b +/* f0e0104: c42afc18 */ lwc1 $f10,-0x3e8($at) +/* f0e0108: 3c014270 */ lui $at,0x4270 +/* f0e010c: 44819000 */ mtc1 $at,$f18 +/* f0e0110: 460a3402 */ mul.s $f16,$f6,$f10 +/* f0e0114: 0c006b8b */ jal 0x1ae2c +/* f0e0118: 46128303 */ div.s $f12,$f16,$f18 +/* f0e011c: 44802000 */ mtc1 $zero,$f4 +/* f0e0120: 3c014340 */ lui $at,0x4340 +/* f0e0124: 44814000 */ mtc1 $at,$f8 +/* f0e0128: 4604003c */ c.lt.s $f0,$f4 +/* f0e012c: 46000086 */ mov.s $f2,$f0 +/* f0e0130: 45000002 */ bc1f .PB0f0e013c +/* f0e0134: 00000000 */ nop +/* f0e0138: 46000087 */ neg.s $f2,$f0 +.PB0f0e013c: +/* f0e013c: 46024182 */ mul.s $f6,$f8,$f2 +/* f0e0140: 8e090010 */ lw $t1,0x10($s0) +/* f0e0144: 8e140014 */ lw $s4,0x14($s0) +/* f0e0148: 92030004 */ lbu $v1,0x4($s0) +/* f0e014c: 01355024 */ and $t2,$t1,$s5 +/* f0e0150: 4600328d */ trunc.w.s $f10,$f6 +/* f0e0154: 440c5000 */ mfc1 $t4,$f10 +/* f0e0158: 10000005 */ b .PB0f0e0170 +/* f0e015c: 014c9821 */ addu $s3,$t2,$t4 +/* f0e0160: 8e130010 */ lw $s3,0x10($s0) +.PB0f0e0164: +/* f0e0164: 8e140014 */ lw $s4,0x14($s0) +/* f0e0168: 366d00a0 */ ori $t5,$s3,0xa0 +/* f0e016c: 01a09825 */ move $s3,$t5 +.PB0f0e0170: +/* f0e0170: 240100ff */ li $at,0xff +/* f0e0174: 1061001c */ beq $v1,$at,.PB0f0e01e8 +/* f0e0178: 00601025 */ move $v0,$v1 +/* f0e017c: 326e00ff */ andi $t6,$s3,0xff +/* f0e0180: 004e0019 */ multu $v0,$t6 +/* f0e0184: 00401825 */ move $v1,$v0 +/* f0e0188: 329800ff */ andi $t8,$s4,0xff +/* f0e018c: 02754024 */ and $t0,$s3,$s5 +/* f0e0190: 02955824 */ and $t3,$s4,$s5 +/* f0e0194: 00007812 */ mflo $t7 +/* f0e0198: 00000000 */ nop +/* f0e019c: 00000000 */ nop +/* f0e01a0: 01fe001b */ divu $zero,$t7,$s8 +/* f0e01a4: 00002012 */ mflo $a0 +/* f0e01a8: 308900ff */ andi $t1,$a0,0xff +/* f0e01ac: 17c00002 */ bnez $s8,.PB0f0e01b8 +/* f0e01b0: 00000000 */ nop +/* f0e01b4: 0007000d */ break 0x7 +.PB0f0e01b8: +/* f0e01b8: 00780019 */ multu $v1,$t8 +/* f0e01bc: 01099821 */ addu $s3,$t0,$t1 +/* f0e01c0: 0000c812 */ mflo $t9 +/* f0e01c4: 00000000 */ nop +/* f0e01c8: 00000000 */ nop +/* f0e01cc: 033e001b */ divu $zero,$t9,$s8 +/* f0e01d0: 00002812 */ mflo $a1 +/* f0e01d4: 30aa00ff */ andi $t2,$a1,0xff +/* f0e01d8: 17c00002 */ bnez $s8,.PB0f0e01e4 +/* f0e01dc: 00000000 */ nop +/* f0e01e0: 0007000d */ break 0x7 +.PB0f0e01e4: +/* f0e01e4: 016aa021 */ addu $s4,$t3,$t2 +.PB0f0e01e8: +/* f0e01e8: 960c0018 */ lhu $t4,0x18($s0) +/* f0e01ec: 24010006 */ li $at,0x6 +/* f0e01f0: afac00e8 */ sw $t4,0xe8($sp) +/* f0e01f4: 960d001a */ lhu $t5,0x1a($s0) +/* f0e01f8: afad00e4 */ sw $t5,0xe4($sp) +/* f0e01fc: 8e0e01b4 */ lw $t6,0x1b4($s0) +/* f0e0200: 55c10011 */ bnel $t6,$at,.PB0f0e0248 +/* f0e0204: 8e0901b4 */ lw $t1,0x1b4($s0) +/* f0e0208: 0fc30711 */ jal 0xf0c1c44 +/* f0e020c: 00000000 */ nop +/* f0e0210: 5040000d */ beqzl $v0,.PB0f0e0248 +/* f0e0214: 8e0901b4 */ lw $t1,0x1b4($s0) +/* f0e0218: 0fc306db */ jal 0xf0c1b6c +/* f0e021c: 00000000 */ nop +/* f0e0220: 3c014180 */ lui $at,0x4180 +/* f0e0224: 44818000 */ mtc1 $at,$f16 +/* f0e0228: 8faf00e4 */ lw $t7,0xe4($sp) +/* f0e022c: 46008482 */ mul.s $f18,$f16,$f0 +/* f0e0230: 4600910d */ trunc.w.s $f4,$f18 +/* f0e0234: 44192000 */ mfc1 $t9,$f4 +/* f0e0238: 00000000 */ nop +/* f0e023c: 01f94021 */ addu $t0,$t7,$t9 +/* f0e0240: afa800e4 */ sw $t0,0xe4($sp) +/* f0e0244: 8e0901b4 */ lw $t1,0x1b4($s0) +.PB0f0e0248: +/* f0e0248: 2401000b */ li $at,0xb +/* f0e024c: 55210031 */ bnel $t1,$at,.PB0f0e0314 +/* f0e0250: 920d0000 */ lbu $t5,0x0($s0) +/* f0e0254: 8fab00e8 */ lw $t3,0xe8($sp) +/* f0e0258: 3c0c8008 */ lui $t4,0x8008 +/* f0e025c: 8d8c1f90 */ lw $t4,0x1f90($t4) +/* f0e0260: 256afffc */ addiu $t2,$t3,-4 +/* f0e0264: 3c01ed00 */ lui $at,0xed00 +/* f0e0268: 014c0019 */ multu $t2,$t4 +/* f0e026c: 02408825 */ move $s1,$s2 +/* f0e0270: 26520008 */ addiu $s2,$s2,0x8 +/* f0e0274: 00006812 */ mflo $t5 +/* f0e0278: 448d4000 */ mtc1 $t5,$f8 +/* f0e027c: 00000000 */ nop +/* f0e0280: 468041a0 */ cvt.s.w $f6,$f8 +/* f0e0284: 46163282 */ mul.s $f10,$f6,$f22 +/* f0e0288: 4600540d */ trunc.w.s $f16,$f10 +/* f0e028c: 44188000 */ mfc1 $t8,$f16 +/* f0e0290: 00000000 */ nop +/* f0e0294: 330f0fff */ andi $t7,$t8,0xfff +/* f0e0298: 000fcb00 */ sll $t9,$t7,0xc +/* f0e029c: 03214025 */ or $t0,$t9,$at +/* f0e02a0: 0c002e40 */ jal 0xb900 +/* f0e02a4: ae280000 */ sw $t0,0x0($s1) +/* f0e02a8: 8fa900e8 */ lw $t1,0xe8($sp) +/* f0e02ac: 960b001c */ lhu $t3,0x1c($s0) +/* f0e02b0: 3c0d8008 */ lui $t5,0x8008 +/* f0e02b4: 8dad1f90 */ lw $t5,0x1f90($t5) +/* f0e02b8: 012b5021 */ addu $t2,$t1,$t3 +/* f0e02bc: 254c0003 */ addiu $t4,$t2,0x3 +/* f0e02c0: 018d0019 */ multu $t4,$t5 +/* f0e02c4: 44825000 */ mtc1 $v0,$f10 +/* f0e02c8: 00000000 */ nop +/* f0e02cc: 46805420 */ cvt.s.w $f16,$f10 +/* f0e02d0: 00007012 */ mflo $t6 +/* f0e02d4: 448e9000 */ mtc1 $t6,$f18 +/* f0e02d8: 00000000 */ nop +/* f0e02dc: 46809120 */ cvt.s.w $f4,$f18 +/* f0e02e0: 46162202 */ mul.s $f8,$f4,$f22 +/* f0e02e4: 00000000 */ nop +/* f0e02e8: 46168482 */ mul.s $f18,$f16,$f22 +/* f0e02ec: 4600418d */ trunc.w.s $f6,$f8 +/* f0e02f0: 4600910d */ trunc.w.s $f4,$f18 +/* f0e02f4: 440f3000 */ mfc1 $t7,$f6 +/* f0e02f8: 440b2000 */ mfc1 $t3,$f4 +/* f0e02fc: 31f90fff */ andi $t9,$t7,0xfff +/* f0e0300: 00194300 */ sll $t0,$t9,0xc +/* f0e0304: 316a0fff */ andi $t2,$t3,0xfff +/* f0e0308: 01486025 */ or $t4,$t2,$t0 +/* f0e030c: ae2c0004 */ sw $t4,0x4($s1) +/* f0e0310: 920d0000 */ lbu $t5,0x0($s0) +.PB0f0e0314: +/* f0e0314: 2da10006 */ sltiu $at,$t5,0x6 +/* f0e0318: 10200198 */ beqz $at,.PB0f0e097c +/* f0e031c: 000d6880 */ sll $t5,$t5,0x2 +/* f0e0320: 3c017f1b */ lui $at,0x7f1b +/* f0e0324: 002d0821 */ addu $at,$at,$t5 +/* f0e0328: 8c2dfc1c */ lw $t5,-0x3e4($at) +/* f0e032c: 01a00008 */ jr $t5 +/* f0e0330: 00000000 */ nop +/* f0e0334: 8e110010 */ lw $s1,0x10($s0) +/* f0e0338: 92020004 */ lbu $v0,0x4($s0) +/* f0e033c: 240100ff */ li $at,0xff +/* f0e0340: 362e0040 */ ori $t6,$s1,0x40 +/* f0e0344: 1041000e */ beq $v0,$at,.PB0f0e0380 +/* f0e0348: 01c08825 */ move $s1,$t6 +/* f0e034c: 31d800ff */ andi $t8,$t6,0xff +/* f0e0350: 00580019 */ multu $v0,$t8 +/* f0e0354: 0235c824 */ and $t9,$s1,$s5 +/* f0e0358: 00007812 */ mflo $t7 +/* f0e035c: 00000000 */ nop +/* f0e0360: 00000000 */ nop +/* f0e0364: 01fe001b */ divu $zero,$t7,$s8 +/* f0e0368: 00001812 */ mflo $v1 +/* f0e036c: 306900ff */ andi $t1,$v1,0xff +/* f0e0370: 17c00002 */ bnez $s8,.PB0f0e037c +/* f0e0374: 00000000 */ nop +/* f0e0378: 0007000d */ break 0x7 +.PB0f0e037c: +/* f0e037c: 03298821 */ addu $s1,$t9,$t1 +.PB0f0e0380: +/* f0e0380: 9602001c */ lhu $v0,0x1c($s0) +/* f0e0384: 9603001e */ lhu $v1,0x1e($s0) +/* f0e0388: 00420019 */ multu $v0,$v0 +/* f0e038c: 00005812 */ mflo $t3 +/* f0e0390: 00000000 */ nop +/* f0e0394: 00000000 */ nop +/* f0e0398: 00630019 */ multu $v1,$v1 +/* f0e039c: 00005012 */ mflo $t2 +/* f0e03a0: 016a4021 */ addu $t0,$t3,$t2 +/* f0e03a4: 44884000 */ mtc1 $t0,$f8 +/* f0e03a8: 0c012ae4 */ jal 0x4ab90 +/* f0e03ac: 46804320 */ cvt.s.w $f12,$f8 +/* f0e03b0: 3c014304 */ lui $at,0x4304 +/* f0e03b4: 44813000 */ mtc1 $at,$f6 +/* f0e03b8: 44802000 */ mtc1 $zero,$f4 +/* f0e03bc: 3c014f80 */ lui $at,0x4f80 +/* f0e03c0: 46060280 */ add.s $f10,$f0,$f6 +/* f0e03c4: 46185083 */ div.s $f2,$f10,$f24 +/* f0e03c8: 4602d03c */ c.lt.s $f26,$f2 +/* f0e03cc: 00000000 */ nop +/* f0e03d0: 45020003 */ bc1fl .PB0f0e03e0 +/* f0e03d4: 960c0006 */ lhu $t4,0x6($s0) +/* f0e03d8: 4600d086 */ mov.s $f2,$f26 +/* f0e03dc: 960c0006 */ lhu $t4,0x6($s0) +.PB0f0e03e0: +/* f0e03e0: 448c8000 */ mtc1 $t4,$f16 +/* f0e03e4: 05810004 */ bgez $t4,.PB0f0e03f8 +/* f0e03e8: 46808320 */ cvt.s.w $f12,$f16 +/* f0e03ec: 44819000 */ mtc1 $at,$f18 +/* f0e03f0: 00000000 */ nop +/* f0e03f4: 46126300 */ add.s $f12,$f12,$f18 +.PB0f0e03f8: +/* f0e03f8: 46026083 */ div.s $f2,$f12,$f2 +/* f0e03fc: 8fa400e8 */ lw $a0,0xe8($sp) +/* f0e0400: 8fa500e4 */ lw $a1,0xe4($sp) +/* f0e0404: 00003825 */ move $a3,$zero +/* f0e0408: 46186002 */ mul.s $f0,$f12,$f24 +/* f0e040c: 44060000 */ mfc1 $a2,$f0 +/* f0e0410: 4602a03c */ c.lt.s $f20,$f2 +/* f0e0414: 00000000 */ nop +/* f0e0418: 45020003 */ bc1fl .PB0f0e0428 +/* f0e041c: 4604103c */ c.lt.s $f2,$f4 +/* f0e0420: 4600a086 */ mov.s $f2,$f20 +/* f0e0424: 4604103c */ c.lt.s $f2,$f4 +.PB0f0e0428: +/* f0e0428: 00000000 */ nop +/* f0e042c: 45000003 */ bc1f .PB0f0e043c +/* f0e0430: 00000000 */ nop +/* f0e0434: 44801000 */ mtc1 $zero,$f2 +/* f0e0438: 00000000 */ nop +.PB0f0e043c: +/* f0e043c: 0fc5540d */ jal 0xf155034 +/* f0e0440: e7a200c0 */ swc1 $f2,0xc0($sp) +/* f0e0444: 920d0001 */ lbu $t5,0x1($s0) +/* f0e0448: c7a200c0 */ lwc1 $f2,0xc0($sp) +/* f0e044c: 02402025 */ move $a0,$s2 +/* f0e0450: 11a00027 */ beqz $t5,.PB0f0e04f0 +/* f0e0454: 8fa500e8 */ lw $a1,0xe8($sp) +/* f0e0458: 8fb800e4 */ lw $t8,0xe4($sp) +/* f0e045c: 9619001e */ lhu $t9,0x1e($s0) +/* f0e0460: 8fae00e8 */ lw $t6,0xe8($sp) +/* f0e0464: 960f001c */ lhu $t7,0x1c($s0) +/* f0e0468: 03384821 */ addu $t1,$t9,$t8 +/* f0e046c: 252b0002 */ addiu $t3,$t1,0x2 +/* f0e0470: 01ee3821 */ addu $a3,$t7,$t6 +/* f0e0474: 24e70002 */ addiu $a3,$a3,0x2 +/* f0e0478: afab0010 */ sw $t3,0x10($sp) +/* f0e047c: e7a2001c */ swc1 $f2,0x1c($sp) +/* f0e0480: afb10018 */ sw $s1,0x18($sp) +/* f0e0484: e7b40014 */ swc1 $f20,0x14($sp) +/* f0e0488: 02402025 */ move $a0,$s2 +/* f0e048c: 2706fffd */ addiu $a2,$t8,-3 +/* f0e0490: 0fc37736 */ jal 0xf0ddcd8 +/* f0e0494: 25c5fffd */ addiu $a1,$t6,-3 +/* f0e0498: 0c002e4d */ jal 0xb934 +/* f0e049c: 00409025 */ move $s2,$v0 +/* f0e04a0: 00028c00 */ sll $s1,$v0,0x10 +/* f0e04a4: 00115403 */ sra $t2,$s1,0x10 +/* f0e04a8: 0c002e51 */ jal 0xb944 +/* f0e04ac: 01408825 */ move $s1,$t2 +/* f0e04b0: 8e080008 */ lw $t0,0x8($s0) +/* f0e04b4: 02402025 */ move $a0,$s2 +/* f0e04b8: 02c02825 */ move $a1,$s6 +/* f0e04bc: afa80010 */ sw $t0,0x10($sp) +/* f0e04c0: 8e0c000c */ lw $t4,0xc($s0) +/* f0e04c4: afa00028 */ sw $zero,0x28($sp) +/* f0e04c8: afa00024 */ sw $zero,0x24($sp) +/* f0e04cc: afa20020 */ sw $v0,0x20($sp) +/* f0e04d0: afb1001c */ sw $s1,0x1c($sp) +/* f0e04d4: afb30018 */ sw $s3,0x18($sp) +/* f0e04d8: 02e03025 */ move $a2,$s7 +/* f0e04dc: 26070020 */ addiu $a3,$s0,0x20 +/* f0e04e0: 0fc55e10 */ jal 0xf157840 +/* f0e04e4: afac0014 */ sw $t4,0x14($sp) +/* f0e04e8: 1000001f */ b .PB0f0e0568 +/* f0e04ec: 00409025 */ move $s2,$v0 +.PB0f0e04f0: +/* f0e04f0: 8fa600e4 */ lw $a2,0xe4($sp) +/* f0e04f4: 9619001e */ lhu $t9,0x1e($s0) +/* f0e04f8: 960e001c */ lhu $t6,0x1c($s0) +/* f0e04fc: afa00014 */ sw $zero,0x14($sp) +/* f0e0500: 0326c021 */ addu $t8,$t9,$a2 +/* f0e0504: afb80010 */ sw $t8,0x10($sp) +/* f0e0508: 0fc55392 */ jal 0xf154e48 +/* f0e050c: 01c53821 */ addu $a3,$t6,$a1 +/* f0e0510: 0c002e4d */ jal 0xb934 +/* f0e0514: 00409025 */ move $s2,$v0 +/* f0e0518: 00028c00 */ sll $s1,$v0,0x10 +/* f0e051c: 00114c03 */ sra $t1,$s1,0x10 +/* f0e0520: 0c002e51 */ jal 0xb944 +/* f0e0524: 01208825 */ move $s1,$t1 +/* f0e0528: 8e0b0008 */ lw $t3,0x8($s0) +/* f0e052c: 02402025 */ move $a0,$s2 +/* f0e0530: 02c02825 */ move $a1,$s6 +/* f0e0534: afab0010 */ sw $t3,0x10($sp) +/* f0e0538: 8e0a000c */ lw $t2,0xc($s0) +/* f0e053c: afa0002c */ sw $zero,0x2c($sp) +/* f0e0540: afa00028 */ sw $zero,0x28($sp) +/* f0e0544: afa20024 */ sw $v0,0x24($sp) +/* f0e0548: afb10020 */ sw $s1,0x20($sp) +/* f0e054c: afb4001c */ sw $s4,0x1c($sp) +/* f0e0550: afb30018 */ sw $s3,0x18($sp) +/* f0e0554: 02e03025 */ move $a2,$s7 +/* f0e0558: 26070020 */ addiu $a3,$s0,0x20 +/* f0e055c: 0fc56160 */ jal 0xf158580 +/* f0e0560: afaa0014 */ sw $t2,0x14($sp) +/* f0e0564: 00409025 */ move $s2,$v0 +.PB0f0e0568: +/* f0e0568: 920801c9 */ lbu $t0,0x1c9($s0) +/* f0e056c: 24010006 */ li $at,0x6 +/* f0e0570: 15010002 */ bne $t0,$at,.PB0f0e057c +/* f0e0574: 00000000 */ nop +/* f0e0578: afa000e0 */ sw $zero,0xe0($sp) +.PB0f0e057c: +/* f0e057c: 0fc55498 */ jal 0xf155260 +/* f0e0580: 00000000 */ nop +/* f0e0584: 100000fe */ b .PB0f0e0980 +/* f0e0588: 8e0801b4 */ lw $t0,0x1b4($s0) +/* f0e058c: 920c0001 */ lbu $t4,0x1($s0) +/* f0e0590: 8fa900e8 */ lw $t1,0xe8($sp) +/* f0e0594: 8fab00e4 */ lw $t3,0xe4($sp) +/* f0e0598: 11800037 */ beqz $t4,.PB0f0e0678 +/* f0e059c: 2525fffd */ addiu $a1,$t1,-3 +/* f0e05a0: 8e030010 */ lw $v1,0x10($s0) +/* f0e05a4: 92020004 */ lbu $v0,0x4($s0) +/* f0e05a8: 240100ff */ li $at,0xff +/* f0e05ac: 346e0040 */ ori $t6,$v1,0x40 +/* f0e05b0: 1041000e */ beq $v0,$at,.PB0f0e05ec +/* f0e05b4: 01c01825 */ move $v1,$t6 +/* f0e05b8: 31cd00ff */ andi $t5,$t6,0xff +/* f0e05bc: 004d0019 */ multu $v0,$t5 +/* f0e05c0: 00757824 */ and $t7,$v1,$s5 +/* f0e05c4: 0000c812 */ mflo $t9 +/* f0e05c8: 00000000 */ nop +/* f0e05cc: 00000000 */ nop +/* f0e05d0: 033e001b */ divu $zero,$t9,$s8 +/* f0e05d4: 00002012 */ mflo $a0 +/* f0e05d8: 309800ff */ andi $t8,$a0,0xff +/* f0e05dc: 17c00002 */ bnez $s8,.PB0f0e05e8 +/* f0e05e0: 00000000 */ nop +/* f0e05e4: 0007000d */ break 0x7 +.PB0f0e05e8: +/* f0e05e8: 01f81821 */ addu $v1,$t7,$t8 +.PB0f0e05ec: +/* f0e05ec: 9608001e */ lhu $t0,0x1e($s0) +/* f0e05f0: 960a001c */ lhu $t2,0x1c($s0) +/* f0e05f4: e7b4001c */ swc1 $f20,0x1c($sp) +/* f0e05f8: 010b6021 */ addu $t4,$t0,$t3 +/* f0e05fc: 258e0002 */ addiu $t6,$t4,0x2 +/* f0e0600: 01493821 */ addu $a3,$t2,$t1 +/* f0e0604: 24e70002 */ addiu $a3,$a3,0x2 +/* f0e0608: afae0010 */ sw $t6,0x10($sp) +/* f0e060c: afa30018 */ sw $v1,0x18($sp) +/* f0e0610: e7b40014 */ swc1 $f20,0x14($sp) +/* f0e0614: 02402025 */ move $a0,$s2 +/* f0e0618: 0fc37736 */ jal 0xf0ddcd8 +/* f0e061c: 2566fffd */ addiu $a2,$t3,-3 +/* f0e0620: 0c002e4d */ jal 0xb934 +/* f0e0624: 00409025 */ move $s2,$v0 +/* f0e0628: 00028c00 */ sll $s1,$v0,0x10 +/* f0e062c: 00116c03 */ sra $t5,$s1,0x10 +/* f0e0630: 0c002e51 */ jal 0xb944 +/* f0e0634: 01a08825 */ move $s1,$t5 +/* f0e0638: 8e190008 */ lw $t9,0x8($s0) +/* f0e063c: 02402025 */ move $a0,$s2 +/* f0e0640: 02c02825 */ move $a1,$s6 +/* f0e0644: afb90010 */ sw $t9,0x10($sp) +/* f0e0648: 8e0f000c */ lw $t7,0xc($s0) +/* f0e064c: afa00028 */ sw $zero,0x28($sp) +/* f0e0650: afa00024 */ sw $zero,0x24($sp) +/* f0e0654: afa20020 */ sw $v0,0x20($sp) +/* f0e0658: afb1001c */ sw $s1,0x1c($sp) +/* f0e065c: afb30018 */ sw $s3,0x18($sp) +/* f0e0660: 02e03025 */ move $a2,$s7 +/* f0e0664: 26070020 */ addiu $a3,$s0,0x20 +/* f0e0668: 0fc55e10 */ jal 0xf157840 +/* f0e066c: afaf0014 */ sw $t7,0x14($sp) +/* f0e0670: 10000021 */ b .PB0f0e06f8 +/* f0e0674: 00409025 */ move $s2,$v0 +.PB0f0e0678: +/* f0e0678: 8fa600e4 */ lw $a2,0xe4($sp) +/* f0e067c: 9608001e */ lhu $t0,0x1e($s0) +/* f0e0680: 8fa500e8 */ lw $a1,0xe8($sp) +/* f0e0684: 9609001c */ lhu $t1,0x1c($s0) +/* f0e0688: 01065821 */ addu $t3,$t0,$a2 +/* f0e068c: afab0010 */ sw $t3,0x10($sp) +/* f0e0690: afa00014 */ sw $zero,0x14($sp) +/* f0e0694: 02402025 */ move $a0,$s2 +/* f0e0698: 0fc55392 */ jal 0xf154e48 +/* f0e069c: 01253821 */ addu $a3,$t1,$a1 +/* f0e06a0: 0c002e4d */ jal 0xb934 +/* f0e06a4: 00409025 */ move $s2,$v0 +/* f0e06a8: 00028c00 */ sll $s1,$v0,0x10 +/* f0e06ac: 00116403 */ sra $t4,$s1,0x10 +/* f0e06b0: 0c002e51 */ jal 0xb944 +/* f0e06b4: 01808825 */ move $s1,$t4 +/* f0e06b8: 8e0e0008 */ lw $t6,0x8($s0) +/* f0e06bc: 02402025 */ move $a0,$s2 +/* f0e06c0: 02c02825 */ move $a1,$s6 +/* f0e06c4: afae0010 */ sw $t6,0x10($sp) +/* f0e06c8: 8e0d000c */ lw $t5,0xc($s0) +/* f0e06cc: afa0002c */ sw $zero,0x2c($sp) +/* f0e06d0: afa00028 */ sw $zero,0x28($sp) +/* f0e06d4: afa20024 */ sw $v0,0x24($sp) +/* f0e06d8: afb10020 */ sw $s1,0x20($sp) +/* f0e06dc: afb4001c */ sw $s4,0x1c($sp) +/* f0e06e0: afb30018 */ sw $s3,0x18($sp) +/* f0e06e4: 02e03025 */ move $a2,$s7 +/* f0e06e8: 26070020 */ addiu $a3,$s0,0x20 +/* f0e06ec: 0fc56160 */ jal 0xf158580 +/* f0e06f0: afad0014 */ sw $t5,0x14($sp) +/* f0e06f4: 00409025 */ move $s2,$v0 +.PB0f0e06f8: +/* f0e06f8: 921901c9 */ lbu $t9,0x1c9($s0) +/* f0e06fc: 24010006 */ li $at,0x6 +/* f0e0700: 5721009f */ bnel $t9,$at,.PB0f0e0980 +/* f0e0704: 8e0801b4 */ lw $t0,0x1b4($s0) +/* f0e0708: 1000009c */ b .PB0f0e097c +/* f0e070c: afa000e0 */ sw $zero,0xe0($sp) +/* f0e0710: 9602001c */ lhu $v0,0x1c($s0) +/* f0e0714: 9603001e */ lhu $v1,0x1e($s0) +/* f0e0718: 00420019 */ multu $v0,$v0 +/* f0e071c: 00007812 */ mflo $t7 +/* f0e0720: 00000000 */ nop +/* f0e0724: 00000000 */ nop +/* f0e0728: 00630019 */ multu $v1,$v1 +/* f0e072c: 00004812 */ mflo $t1 +/* f0e0730: 01e9c021 */ addu $t8,$t7,$t1 +/* f0e0734: 44984000 */ mtc1 $t8,$f8 +/* f0e0738: 0c012ae4 */ jal 0x4ab90 +/* f0e073c: 46804320 */ cvt.s.w $f12,$f8 +/* f0e0740: 3c0142b8 */ lui $at,0x42b8 +/* f0e0744: 44813000 */ mtc1 $at,$f6 +/* f0e0748: 8e110010 */ lw $s1,0x10($s0) +/* f0e074c: 92020004 */ lbu $v0,0x4($s0) +/* f0e0750: 46060280 */ add.s $f10,$f0,$f6 +/* f0e0754: 240100ff */ li $at,0xff +/* f0e0758: 36280040 */ ori $t0,$s1,0x40 +/* f0e075c: 01008825 */ move $s1,$t0 +/* f0e0760: 1041000e */ beq $v0,$at,.PB0f0e079c +/* f0e0764: 46185083 */ div.s $f2,$f10,$f24 +/* f0e0768: 310a00ff */ andi $t2,$t0,0xff +/* f0e076c: 004a0019 */ multu $v0,$t2 +/* f0e0770: 02356024 */ and $t4,$s1,$s5 +/* f0e0774: 00005812 */ mflo $t3 +/* f0e0778: 00000000 */ nop +/* f0e077c: 00000000 */ nop +/* f0e0780: 017e001b */ divu $zero,$t3,$s8 +/* f0e0784: 00001812 */ mflo $v1 +/* f0e0788: 306e00ff */ andi $t6,$v1,0xff +/* f0e078c: 17c00002 */ bnez $s8,.PB0f0e0798 +/* f0e0790: 00000000 */ nop +/* f0e0794: 0007000d */ break 0x7 +.PB0f0e0798: +/* f0e0798: 018e8821 */ addu $s1,$t4,$t6 +.PB0f0e079c: +/* f0e079c: 960d0006 */ lhu $t5,0x6($s0) +/* f0e07a0: 3c014f80 */ lui $at,0x4f80 +/* f0e07a4: 448d8000 */ mtc1 $t5,$f16 +/* f0e07a8: 05a10004 */ bgez $t5,.PB0f0e07bc +/* f0e07ac: 468084a0 */ cvt.s.w $f18,$f16 +/* f0e07b0: 44812000 */ mtc1 $at,$f4 +/* f0e07b4: 00000000 */ nop +/* f0e07b8: 46049480 */ add.s $f18,$f18,$f4 +.PB0f0e07bc: +/* f0e07bc: 46121201 */ sub.s $f8,$f2,$f18 +/* f0e07c0: 9619001c */ lhu $t9,0x1c($s0) +/* f0e07c4: 8faf00e8 */ lw $t7,0xe8($sp) +/* f0e07c8: 9609001e */ lhu $t1,0x1e($s0) +/* f0e07cc: 46184002 */ mul.s $f0,$f8,$f24 +/* f0e07d0: 8fb800e4 */ lw $t8,0xe4($sp) +/* f0e07d4: e7a200a8 */ swc1 $f2,0xa8($sp) +/* f0e07d8: 24070002 */ li $a3,0x2 +/* f0e07dc: 032f2021 */ addu $a0,$t9,$t7 +/* f0e07e0: 01382821 */ addu $a1,$t1,$t8 +/* f0e07e4: 44060000 */ mfc1 $a2,$f0 +/* f0e07e8: 0fc5540d */ jal 0xf155034 +/* f0e07ec: 00000000 */ nop +/* f0e07f0: c7a200a8 */ lwc1 $f2,0xa8($sp) +/* f0e07f4: 3c014f80 */ lui $at,0x4f80 +/* f0e07f8: 8fab00e8 */ lw $t3,0xe8($sp) +/* f0e07fc: 4602d03c */ c.lt.s $f26,$f2 +/* f0e0800: 8fac00e4 */ lw $t4,0xe4($sp) +/* f0e0804: 02402025 */ move $a0,$s2 +/* f0e0808: 8fa500e8 */ lw $a1,0xe8($sp) +/* f0e080c: 45000002 */ bc1f .PB0f0e0818 +/* f0e0810: 8fa600e4 */ lw $a2,0xe4($sp) +/* f0e0814: 4600d086 */ mov.s $f2,$f26 +.PB0f0e0818: +/* f0e0818: 96080006 */ lhu $t0,0x6($s0) +/* f0e081c: 44883000 */ mtc1 $t0,$f6 +/* f0e0820: 05010004 */ bgez $t0,.PB0f0e0834 +/* f0e0824: 468032a0 */ cvt.s.w $f10,$f6 +/* f0e0828: 44818000 */ mtc1 $at,$f16 +/* f0e082c: 00000000 */ nop +/* f0e0830: 46105280 */ add.s $f10,$f10,$f16 +.PB0f0e0834: +/* f0e0834: 46025083 */ div.s $f2,$f10,$f2 +/* f0e0838: 4602a03c */ c.lt.s $f20,$f2 +/* f0e083c: 00000000 */ nop +/* f0e0840: 45020003 */ bc1fl .PB0f0e0850 +/* f0e0844: 920a0001 */ lbu $t2,0x1($s0) +/* f0e0848: 4600a086 */ mov.s $f2,$f20 +/* f0e084c: 920a0001 */ lbu $t2,0x1($s0) +.PB0f0e0850: +/* f0e0850: 51400027 */ beqzl $t2,.PB0f0e08f0 +/* f0e0854: 960d001e */ lhu $t5,0x1e($s0) +/* f0e0858: 960d001e */ lhu $t5,0x1e($s0) +/* f0e085c: 960e001c */ lhu $t6,0x1c($s0) +/* f0e0860: 4602a101 */ sub.s $f4,$f20,$f2 +/* f0e0864: 01acc821 */ addu $t9,$t5,$t4 +/* f0e0868: 272f0002 */ addiu $t7,$t9,0x2 +/* f0e086c: 01cb3821 */ addu $a3,$t6,$t3 +/* f0e0870: 24e70002 */ addiu $a3,$a3,0x2 +/* f0e0874: afaf0010 */ sw $t7,0x10($sp) +/* f0e0878: e7a4001c */ swc1 $f4,0x1c($sp) +/* f0e087c: afb10018 */ sw $s1,0x18($sp) +/* f0e0880: e7b40014 */ swc1 $f20,0x14($sp) +/* f0e0884: 02402025 */ move $a0,$s2 +/* f0e0888: 2565fffd */ addiu $a1,$t3,-3 +/* f0e088c: 0fc37736 */ jal 0xf0ddcd8 +/* f0e0890: 2586fffd */ addiu $a2,$t4,-3 +/* f0e0894: 0c002e4d */ jal 0xb934 +/* f0e0898: 00409025 */ move $s2,$v0 +/* f0e089c: 00028c00 */ sll $s1,$v0,0x10 +/* f0e08a0: 00114c03 */ sra $t1,$s1,0x10 +/* f0e08a4: 0c002e51 */ jal 0xb944 +/* f0e08a8: 01208825 */ move $s1,$t1 +/* f0e08ac: 8e180008 */ lw $t8,0x8($s0) +/* f0e08b0: 02402025 */ move $a0,$s2 +/* f0e08b4: 02c02825 */ move $a1,$s6 +/* f0e08b8: afb80010 */ sw $t8,0x10($sp) +/* f0e08bc: 8e08000c */ lw $t0,0xc($s0) +/* f0e08c0: afa00028 */ sw $zero,0x28($sp) +/* f0e08c4: afa00024 */ sw $zero,0x24($sp) +/* f0e08c8: afa20020 */ sw $v0,0x20($sp) +/* f0e08cc: afb1001c */ sw $s1,0x1c($sp) +/* f0e08d0: afb30018 */ sw $s3,0x18($sp) +/* f0e08d4: 02e03025 */ move $a2,$s7 +/* f0e08d8: 26070020 */ addiu $a3,$s0,0x20 +/* f0e08dc: 0fc55e10 */ jal 0xf157840 +/* f0e08e0: afa80014 */ sw $t0,0x14($sp) +/* f0e08e4: 1000001e */ b .PB0f0e0960 +/* f0e08e8: 00409025 */ move $s2,$v0 +/* f0e08ec: 960d001e */ lhu $t5,0x1e($s0) +.PB0f0e08f0: +/* f0e08f0: 960b001c */ lhu $t3,0x1c($s0) +/* f0e08f4: afa00014 */ sw $zero,0x14($sp) +/* f0e08f8: 01a66021 */ addu $t4,$t5,$a2 +/* f0e08fc: afac0010 */ sw $t4,0x10($sp) +/* f0e0900: 0fc55392 */ jal 0xf154e48 +/* f0e0904: 01653821 */ addu $a3,$t3,$a1 +/* f0e0908: 0c002e4d */ jal 0xb934 +/* f0e090c: 00409025 */ move $s2,$v0 +/* f0e0910: 00028c00 */ sll $s1,$v0,0x10 +/* f0e0914: 0011cc03 */ sra $t9,$s1,0x10 +/* f0e0918: 0c002e51 */ jal 0xb944 +/* f0e091c: 03208825 */ move $s1,$t9 +/* f0e0920: 8e0f0008 */ lw $t7,0x8($s0) +/* f0e0924: 02402025 */ move $a0,$s2 +/* f0e0928: 02c02825 */ move $a1,$s6 +/* f0e092c: afaf0010 */ sw $t7,0x10($sp) +/* f0e0930: 8e09000c */ lw $t1,0xc($s0) +/* f0e0934: afa0002c */ sw $zero,0x2c($sp) +/* f0e0938: afa00028 */ sw $zero,0x28($sp) +/* f0e093c: afa20024 */ sw $v0,0x24($sp) +/* f0e0940: afb10020 */ sw $s1,0x20($sp) +/* f0e0944: afb4001c */ sw $s4,0x1c($sp) +/* f0e0948: afb30018 */ sw $s3,0x18($sp) +/* f0e094c: 02e03025 */ move $a2,$s7 +/* f0e0950: 26070020 */ addiu $a3,$s0,0x20 +/* f0e0954: 0fc56160 */ jal 0xf158580 +/* f0e0958: afa90014 */ sw $t1,0x14($sp) +/* f0e095c: 00409025 */ move $s2,$v0 +.PB0f0e0960: +/* f0e0960: 921801c9 */ lbu $t8,0x1c9($s0) +/* f0e0964: 24010006 */ li $at,0x6 +/* f0e0968: 17010002 */ bne $t8,$at,.PB0f0e0974 +/* f0e096c: 00000000 */ nop +/* f0e0970: afa000e0 */ sw $zero,0xe0($sp) +.PB0f0e0974: +/* f0e0974: 0fc55498 */ jal 0xf155260 +/* f0e0978: 00000000 */ nop +.PB0f0e097c: +/* f0e097c: 8e0801b4 */ lw $t0,0x1b4($s0) +.PB0f0e0980: +/* f0e0980: 2401000b */ li $at,0xb +/* f0e0984: 15010039 */ bne $t0,$at,.PB0f0e0a6c +/* f0e0988: 00000000 */ nop +/* f0e098c: afb2009c */ sw $s2,0x9c($sp) +/* f0e0990: 0c002e8b */ jal 0xba2c +/* f0e0994: 26520008 */ addiu $s2,$s2,0x8 +/* f0e0998: 00028400 */ sll $s0,$v0,0x10 +/* f0e099c: 00105c03 */ sra $t3,$s0,0x10 +/* f0e09a0: 01608025 */ move $s0,$t3 +/* f0e09a4: 0c002e8f */ jal 0xba3c +/* f0e09a8: 8fb3009c */ lw $s3,0x9c($sp) +/* f0e09ac: 44829000 */ mtc1 $v0,$f18 +/* f0e09b0: 44905000 */ mtc1 $s0,$f10 +/* f0e09b4: 3c01ed00 */ lui $at,0xed00 +/* f0e09b8: 46809220 */ cvt.s.w $f8,$f18 +/* f0e09bc: 46805120 */ cvt.s.w $f4,$f10 +/* f0e09c0: 46164182 */ mul.s $f6,$f8,$f22 +/* f0e09c4: 00000000 */ nop +/* f0e09c8: 46162482 */ mul.s $f18,$f4,$f22 +/* f0e09cc: 4600340d */ trunc.w.s $f16,$f6 +/* f0e09d0: 4600920d */ trunc.w.s $f8,$f18 +/* f0e09d4: 440d8000 */ mfc1 $t5,$f16 +/* f0e09d8: 440f4000 */ mfc1 $t7,$f8 +/* f0e09dc: 31ae0fff */ andi $t6,$t5,0xfff +/* f0e09e0: 01c16025 */ or $t4,$t6,$at +/* f0e09e4: 31e90fff */ andi $t1,$t7,0xfff +/* f0e09e8: 0009c300 */ sll $t8,$t1,0xc +/* f0e09ec: 01984025 */ or $t0,$t4,$t8 +/* f0e09f0: 0c002e6d */ jal 0xb9b4 +/* f0e09f4: ae680000 */ sw $t0,0x0($s3) +/* f0e09f8: 0c002e8b */ jal 0xba2c +/* f0e09fc: a7a20092 */ sh $v0,0x92($sp) +/* f0e0a00: 00028c00 */ sll $s1,$v0,0x10 +/* f0e0a04: 00115c03 */ sra $t3,$s1,0x10 +/* f0e0a08: 0c002e8f */ jal 0xba3c +/* f0e0a0c: 01608825 */ move $s1,$t3 +/* f0e0a10: 00028400 */ sll $s0,$v0,0x10 +/* f0e0a14: 00105403 */ sra $t2,$s0,0x10 +/* f0e0a18: 0c002e71 */ jal 0xb9c4 +/* f0e0a1c: 01408025 */ move $s0,$t2 +/* f0e0a20: 87a90092 */ lh $t1,0x92($sp) +/* f0e0a24: 00506821 */ addu $t5,$v0,$s0 +/* f0e0a28: 448d3000 */ mtc1 $t5,$f6 +/* f0e0a2c: 02296021 */ addu $t4,$s1,$t1 +/* f0e0a30: 448c9000 */ mtc1 $t4,$f18 +/* f0e0a34: 46803420 */ cvt.s.w $f16,$f6 +/* f0e0a38: 46809220 */ cvt.s.w $f8,$f18 +/* f0e0a3c: 46168282 */ mul.s $f10,$f16,$f22 +/* f0e0a40: 00000000 */ nop +/* f0e0a44: 46164182 */ mul.s $f6,$f8,$f22 +/* f0e0a48: 4600510d */ trunc.w.s $f4,$f10 +/* f0e0a4c: 4600340d */ trunc.w.s $f16,$f6 +/* f0e0a50: 44192000 */ mfc1 $t9,$f4 +/* f0e0a54: 44088000 */ mfc1 $t0,$f16 +/* f0e0a58: 332f0fff */ andi $t7,$t9,0xfff +/* f0e0a5c: 310b0fff */ andi $t3,$t0,0xfff +/* f0e0a60: 000b5300 */ sll $t2,$t3,0xc +/* f0e0a64: 01ea6825 */ or $t5,$t7,$t2 +/* f0e0a68: ae6d0004 */ sw $t5,0x4($s3) +.PB0f0e0a6c: +/* f0e0a6c: 3c048007 */ lui $a0,0x8007 +/* f0e0a70: 8c842cb8 */ lw $a0,0x2cb8($a0) +/* f0e0a74: 00041100 */ sll $v0,$a0,0x4 +/* f0e0a78: 00441023 */ subu $v0,$v0,$a0 +/* f0e0a7c: 000210c0 */ sll $v0,$v0,0x3 +/* f0e0a80: 00441023 */ subu $v0,$v0,$a0 +/* f0e0a84: 00021080 */ sll $v0,$v0,0x2 +.PB0f0e0a88: +/* f0e0a88: 8fae0088 */ lw $t6,0x88($sp) +/* f0e0a8c: 25d901dc */ addiu $t9,$t6,0x1dc +/* f0e0a90: 0322082a */ slt $at,$t9,$v0 +/* f0e0a94: 1420fd70 */ bnez $at,.PB0f0e0058 +/* f0e0a98: afb90088 */ sw $t9,0x88($sp) +.PB0f0e0a9c: +/* f0e0a9c: 8fa900e0 */ lw $t1,0xe0($sp) +/* f0e0aa0: 3c0c800a */ lui $t4,0x800a +/* f0e0aa4: 11200028 */ beqz $t1,.PB0f0e0b48 +/* f0e0aa8: 00000000 */ nop +/* f0e0aac: 8d8ce758 */ lw $t4,-0x18a8($t4) +/* f0e0ab0: 0fc54f26 */ jal 0xf153c98 +/* f0e0ab4: 8d840070 */ lw $a0,0x70($t4) +/* f0e0ab8: 10400019 */ beqz $v0,.PB0f0e0b20 +/* f0e0abc: 3c188007 */ lui $t8,0x8007 +/* f0e0ac0: 8f187b70 */ lw $t8,0x7b70($t8) +/* f0e0ac4: 24030002 */ li $v1,0x2 +/* f0e0ac8: 3c08800a */ lui $t0,0x800a +/* f0e0acc: 14780014 */ bne $v1,$t8,.PB0f0e0b20 +/* f0e0ad0: 00000000 */ nop +/* f0e0ad4: 8d08e7e8 */ lw $t0,-0x1818($t0) +/* f0e0ad8: 3c0b800a */ lui $t3,0x800a +/* f0e0adc: 15000010 */ bnez $t0,.PB0f0e0b20 +/* f0e0ae0: 00000000 */ nop +/* f0e0ae4: 8d6be984 */ lw $t3,-0x167c($t3) +/* f0e0ae8: 24010026 */ li $at,0x26 +/* f0e0aec: 3c0f800a */ lui $t7,0x800a +/* f0e0af0: 1161000b */ beq $t3,$at,.PB0f0e0b20 +/* f0e0af4: 00000000 */ nop +/* f0e0af8: 8defe754 */ lw $t7,-0x18ac($t7) +/* f0e0afc: 24010001 */ li $at,0x1 +/* f0e0b00: 8de20000 */ lw $v0,0x0($t7) +/* f0e0b04: 10620006 */ beq $v1,$v0,.PB0f0e0b20 +/* f0e0b08: 00000000 */ nop +/* f0e0b0c: 10410004 */ beq $v0,$at,.PB0f0e0b20 +/* f0e0b10: 02402025 */ move $a0,$s2 +/* f0e0b14: 0fc374e1 */ jal 0xf0dd384 +/* f0e0b18: 8fa500e0 */ lw $a1,0xe0($sp) +/* f0e0b1c: 00409025 */ move $s2,$v0 +.PB0f0e0b20: +/* f0e0b20: 0fc37493 */ jal 0xf0dd24c +/* f0e0b24: 00000000 */ nop +/* f0e0b28: 10400004 */ beqz $v0,.PB0f0e0b3c +/* f0e0b2c: 02402025 */ move $a0,$s2 +/* f0e0b30: 0fc375cf */ jal 0xf0dd73c +/* f0e0b34: 8fa500e0 */ lw $a1,0xe0($sp) +/* f0e0b38: 00409025 */ move $s2,$v0 +.PB0f0e0b3c: +/* f0e0b3c: 0fc241cd */ jal 0xf090734 +/* f0e0b40: 02402025 */ move $a0,$s2 +/* f0e0b44: 00409025 */ move $s2,$v0 +.PB0f0e0b48: +/* f0e0b48: 0fc552e5 */ jal 0xf154b94 +/* f0e0b4c: 02402025 */ move $a0,$s2 +/* f0e0b50: 8fbf007c */ lw $ra,0x7c($sp) +/* f0e0b54: 240a0001 */ li $t2,0x1 +/* f0e0b58: 3c018008 */ lui $at,0x8008 +/* f0e0b5c: d7b40038 */ ldc1 $f20,0x38($sp) +/* f0e0b60: d7b60040 */ ldc1 $f22,0x40($sp) +/* f0e0b64: d7b80048 */ ldc1 $f24,0x48($sp) +/* f0e0b68: d7ba0050 */ ldc1 $f26,0x50($sp) +/* f0e0b6c: 8fb00058 */ lw $s0,0x58($sp) +/* f0e0b70: 8fb1005c */ lw $s1,0x5c($sp) +/* f0e0b74: 8fb20060 */ lw $s2,0x60($sp) +/* f0e0b78: 8fb30064 */ lw $s3,0x64($sp) +/* f0e0b7c: 8fb40068 */ lw $s4,0x68($sp) +/* f0e0b80: 8fb5006c */ lw $s5,0x6c($sp) +/* f0e0b84: 8fb60070 */ lw $s6,0x70($sp) +/* f0e0b88: 8fb70074 */ lw $s7,0x74($sp) +/* f0e0b8c: 8fbe0078 */ lw $s8,0x78($sp) +/* f0e0b90: ac2a1f90 */ sw $t2,0x1f90($at) +/* f0e0b94: 03e00008 */ jr $ra +/* f0e0b98: 27bd0100 */ addiu $sp,$sp,0x100 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel hudmsgsRender diff --git a/src/game/lang.c b/src/game/lang.c index c358ad416..65ca81a66 100644 --- a/src/game/lang.c +++ b/src/game/lang.c @@ -460,6 +460,65 @@ glabel langSetBankSimple /* f16f640: 03e00008 */ jr $ra /* f16f644: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel langSetBankSimple +/* f170078: 27bdffe0 */ addiu $sp,$sp,-32 +/* f17007c: afbf0014 */ sw $ra,0x14($sp) +/* f170080: 0fc5c011 */ jal 0xf170044 +/* f170084: afa40020 */ sw $a0,0x20($sp) +/* f170088: 0fc5a1b1 */ jal 0xf1686c4 +/* f17008c: 00402025 */ move $a0,$v0 +/* f170090: 3c038008 */ lui $v1,0x8008 +/* f170094: 8c6365f4 */ lw $v1,0x65f4($v1) +/* f170098: 3c058008 */ lui $a1,0x8008 +/* f17009c: 8ca565fc */ lw $a1,0x65fc($a1) +/* f1700a0: 3c068008 */ lui $a2,0x8008 +/* f1700a4: 8cc665f8 */ lw $a2,0x65f8($a2) +/* f1700a8: 00627021 */ addu $t6,$v1,$v0 +/* f1700ac: 01c57821 */ addu $t7,$t6,$a1 +/* f1700b0: 01e6c023 */ subu $t8,$t7,$a2 +/* f1700b4: 0700001e */ bltz $t8,.PB0f170130 +/* f1700b8: afa2001c */ sw $v0,0x1c($sp) +/* f1700bc: 0065c821 */ addu $t9,$v1,$a1 +/* f1700c0: 03263823 */ subu $a3,$t9,$a2 +/* f1700c4: 04e10003 */ bgez $a3,.PB0f1700d4 +/* f1700c8: 00074143 */ sra $t0,$a3,0x5 +/* f1700cc: 24e1001f */ addiu $at,$a3,0x1f +/* f1700d0: 00014143 */ sra $t0,$at,0x5 +.PB0f1700d4: +/* f1700d4: 00084940 */ sll $t1,$t0,0x5 +/* f1700d8: afa90018 */ sw $t1,0x18($sp) +/* f1700dc: 0fc5c011 */ jal 0xf170044 +/* f1700e0: 8fa40020 */ lw $a0,0x20($sp) +/* f1700e4: 3c068008 */ lui $a2,0x8008 +/* f1700e8: 8cc665f8 */ lw $a2,0x65f8($a2) +/* f1700ec: 8fa70018 */ lw $a3,0x18($sp) +/* f1700f0: 00402025 */ move $a0,$v0 +/* f1700f4: 0fc5a21c */ jal 0xf168870 +/* f1700f8: 24050022 */ li $a1,0x22 +/* f1700fc: 8faa0020 */ lw $t2,0x20($sp) +/* f170100: 3c0c8008 */ lui $t4,0x8008 +/* f170104: 8d8c65f8 */ lw $t4,0x65f8($t4) +/* f170108: 8fad001c */ lw $t5,0x1c($sp) +/* f17010c: 3c01800b */ lui $at,0x800b +/* f170110: 000a5880 */ sll $t3,$t2,0x2 +/* f170114: 002b0821 */ addu $at,$at,$t3 +/* f170118: ac22f0c0 */ sw $v0,-0xf40($at) +/* f17011c: 0fc5e23c */ jal 0xf1788f0 +/* f170120: 018d2021 */ addu $a0,$t4,$t5 +/* f170124: 3c018008 */ lui $at,0x8008 +/* f170128: 10000003 */ b .PB0f170138 +/* f17012c: ac2265f8 */ sw $v0,0x65f8($at) +.PB0f170130: +/* f170130: 240e0045 */ li $t6,0x45 +/* f170134: a00e0000 */ sb $t6,0x0($zero) +.PB0f170138: +/* f170138: 8fbf0014 */ lw $ra,0x14($sp) +/* f17013c: 27bd0020 */ addiu $sp,$sp,0x20 +/* f170140: 03e00008 */ jr $ra +/* f170144: 00000000 */ nop +); #else void langSetBankSimple(s32 bank) { @@ -541,7 +600,7 @@ glabel func0f16f6ecpf ); #endif -#if PAL +#if VERSION >= VERSION_PAL_FINAL GLOBAL_ASM( glabel func0f16f75c .late_rodata @@ -618,4 +677,76 @@ glabel var7f1b9094pf /* f16f830: 03e00008 */ jr $ra /* f16f834: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f16f75c +.late_rodata +glabel var7f1b9080pf +.word 0x7f1702b4 +.word 0x7f1702c0 +.word 0x7f1702d0 +.word 0x7f1702e0 +.word 0x7f1702f0 +.word 0x7f170300 +.text +/* f17025c: 3c0e800b */ lui $t6,0x800b +/* f170260: 8dcef16c */ lw $t6,-0xe94($t6) +/* f170264: 27bdffe0 */ addiu $sp,$sp,-32 +/* f170268: afbf0014 */ sw $ra,0x14($sp) +/* f17026c: afa40020 */ sw $a0,0x20($sp) +/* f170270: 11c00002 */ beqz $t6,.PB0f17027c +/* f170274: 00001025 */ move $v0,$zero +/* f170278: 24020001 */ li $v0,0x1 +.PB0f17027c: +/* f17027c: 10400004 */ beqz $v0,.PB0f170290 +/* f170280: 27a4001f */ addiu $a0,$sp,0x1f +/* f170284: 0fc6277f */ jal 0xf189dfc +/* f170288: afa20018 */ sw $v0,0x18($sp) +/* f17028c: 8fa20018 */ lw $v0,0x18($sp) +.PB0f170290: +/* f170290: 8faf0020 */ lw $t7,0x20($sp) +/* f170294: 2de10006 */ sltiu $at,$t7,0x6 +/* f170298: 1020001c */ beqz $at,.PB0f17030c +/* f17029c: 000f7880 */ sll $t7,$t7,0x2 +/* f1702a0: 3c017f1c */ lui $at,0x7f1c +/* f1702a4: 002f0821 */ addu $at,$at,$t7 +/* f1702a8: 8c2f9dd0 */ lw $t7,-0x6230($at) +/* f1702ac: 01e00008 */ jr $t7 +/* f1702b0: 00000000 */ nop +/* f1702b4: 3c018008 */ lui $at,0x8008 +/* f1702b8: 10000014 */ b .PB0f17030c +/* f1702bc: ac206600 */ sw $zero,0x6600($at) +/* f1702c0: 24180002 */ li $t8,0x2 +/* f1702c4: 3c018008 */ lui $at,0x8008 +/* f1702c8: 10000010 */ b .PB0f17030c +/* f1702cc: ac386600 */ sw $t8,0x6600($at) +/* f1702d0: 24190001 */ li $t9,0x1 +/* f1702d4: 3c018008 */ lui $at,0x8008 +/* f1702d8: 1000000c */ b .PB0f17030c +/* f1702dc: ac396600 */ sw $t9,0x6600($at) +/* f1702e0: 24080004 */ li $t0,0x4 +/* f1702e4: 3c018008 */ lui $at,0x8008 +/* f1702e8: 10000008 */ b .PB0f17030c +/* f1702ec: ac286600 */ sw $t0,0x6600($at) +/* f1702f0: 24090003 */ li $t1,0x3 +/* f1702f4: 3c018008 */ lui $at,0x8008 +/* f1702f8: 10000004 */ b .PB0f17030c +/* f1702fc: ac296600 */ sw $t1,0x6600($at) +/* f170300: 240afffe */ li $t2,-2 +/* f170304: 3c018008 */ lui $at,0x8008 +/* f170308: ac2a6600 */ sw $t2,0x6600($at) +.PB0f17030c: +/* f17030c: 0fc5c07b */ jal 0xf1701ec +/* f170310: afa20018 */ sw $v0,0x18($sp) +/* f170314: 8fa20018 */ lw $v0,0x18($sp) +/* f170318: 50400004 */ beqzl $v0,.PB0f17032c +/* f17031c: 8fbf0014 */ lw $ra,0x14($sp) +/* f170320: 0fc627a1 */ jal 0xf189e84 +/* f170324: 93a4001f */ lbu $a0,0x1f($sp) +/* f170328: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f17032c: +/* f17032c: 27bd0020 */ addiu $sp,$sp,0x20 +/* f170330: 03e00008 */ jr $ra +/* f170334: 00000000 */ nop +); #endif diff --git a/src/game/lv.c b/src/game/lv.c index c1aa211ab..3e40ad033 100644 --- a/src/game/lv.c +++ b/src/game/lv.c @@ -669,7 +669,7 @@ bool lvCheckCmpFollowThreat(struct threat *threat, s32 index) return true; } -#if VERSION < VERSION_NTSC_1_0 +#if VERSION == VERSION_NTSC_BETA || VERSION == VERSION_PAL_BETA Gfx *lvRenderManPosIfEnabled(Gfx *gdl) { char bufroom[16]; @@ -1323,7 +1323,7 @@ Gfx *lvRender(Gfx *gdl) if (var80075d60 == 2) { gdl = playerRenderHud(gdl); -#if VERSION < VERSION_NTSC_1_0 +#if VERSION == VERSION_NTSC_BETA || VERSION == VERSION_PAL_BETA gdl = lvRenderManPosIfEnabled(gdl); #endif } else { @@ -1344,7 +1344,7 @@ Gfx *lvRender(Gfx *gdl) if (g_Vars.tickmode == TICKMODE_CUTSCENE) { // This chunk of code is unreachable // (STAGE_TEST_OLD is not used) -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA if (g_Vars.stagenum == STAGE_TEST_OLD) { f32 frac = 0; u32 colour; @@ -1471,7 +1471,7 @@ Gfx *lvRender(Gfx *gdl) s32 xraything = 99; if (g_Vars.currentplayer->erasertime < TICKS(200)) { -#if PAL +#if VERSION >= VERSION_PAL_BETA xraything = 249 - ((g_Vars.currentplayer->erasertime * 180 / 50) >> 2); #else xraything = 249 - (g_Vars.currentplayer->erasertime * 3 >> 2); @@ -1917,7 +1917,7 @@ void lvUpdateSoloHandicaps(void) #if PIRACYCHECKS -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA #define SUBAMOUNT 6661 #else #define SUBAMOUNT 54321 @@ -1942,7 +1942,7 @@ void lvUpdateCutsceneTime(void) s32 lvGetSlowMotionType(void) { #if PIRACYCHECKS -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA u32 addr = sub54321(0xb0000340 + SUBAMOUNT); u32 actual; u32 expected = sub54321(0x0330c820 + SUBAMOUNT); @@ -2272,7 +2272,7 @@ void lvTick(void) musicTick(); } else if (g_Vars.stagenum == STAGE_BOOTPAKMENU) { setCurrentPlayerNum(0); -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA playerConfigureVi(); #endif menuTick(); diff --git a/src/game/mainmenu.c b/src/game/mainmenu.c index 5db488c1c..135cfc817 100644 --- a/src/game/mainmenu.c +++ b/src/game/mainmenu.c @@ -151,16 +151,12 @@ s32 menuhandlerAimControl(s32 operation, struct menuitem *item, union handlerdat u32 playernum = (g_Vars.coopplayernum >= 0 || g_Vars.antiplayernum >= 0) ? g_Vars.currentplayerstats->mpindex : item->param3; -#if PAL +#if VERSION >= VERSION_PAL_FINAL s32 index = 0; u16 options[2][2] = { { L_OPTIONS_201, L_OPTIONS_202 }, // "Hold", "Toggle" -#if VERSION >= VERSION_PAL_FINAL { L_MPWEAPONS_276, L_MPWEAPONS_277 }, // "Hold", "Toggle" -#else - { 0, 0 }, // TODO -#endif }; if (optionsGetScreenSplit() == SCREENSPLIT_VERTICAL && PLAYERCOUNT() >= 2) { @@ -178,7 +174,7 @@ s32 menuhandlerAimControl(s32 operation, struct menuitem *item, union handlerdat data->dropdown.value = 2; break; case MENUOP_GETOPTIONTEXT: -#if PAL +#if VERSION >= VERSION_PAL_FINAL return (s32) langGet(options[index][data->dropdown.value]); #else return (s32) langGet(options[data->dropdown.value]); @@ -1607,7 +1603,56 @@ s32 menuhandlerBuddyOptionsContinue(s32 operation, struct menuitem *item, union return 0; } -#if VERSION >= VERSION_NTSC_1_0 +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel getMaxAiBuddies +/* f1046ec: 3c0e800a */ lui $t6,0x800a +/* f1046f0: 8dce2518 */ lw $t6,0x2518($t6) +/* f1046f4: 27bdffd8 */ addiu $sp,$sp,-40 +/* f1046f8: 24180001 */ li $t8,0x1 +/* f1046fc: 3c03800a */ lui $v1,0x800a +/* f104700: 000e7e42 */ srl $t7,$t6,0x19 +/* f104704: afbf0014 */ sw $ra,0x14($sp) +/* f104708: 00003825 */ move $a3,$zero +/* f10470c: 030f4023 */ subu $t0,$t8,$t7 +/* f104710: 24636730 */ addiu $v1,$v1,0x6730 +/* f104714: 00001025 */ move $v0,$zero +/* f104718: 24060003 */ li $a2,0x3 +/* f10471c: 3c05fffe */ lui $a1,0xfffe +/* f104720: 2404ffff */ li $a0,-1 +.PB0f104724: +/* f104724: 8c7900a0 */ lw $t9,0xa0($v1) +/* f104728: 03254825 */ or $t1,$t9,$a1 +/* f10472c: 54890003 */ bnel $a0,$t1,.PB0f10473c +/* f104730: 24420001 */ addiu $v0,$v0,0x1 +/* f104734: 24470001 */ addiu $a3,$v0,0x1 +/* f104738: 24420001 */ addiu $v0,$v0,0x1 +.PB0f10473c: +/* f10473c: 1446fff9 */ bne $v0,$a2,.PB0f104724 +/* f104740: 24630004 */ addiu $v1,$v1,0x4 +/* f104744: 01074021 */ addu $t0,$t0,$a3 +/* f104748: 29010005 */ slti $at,$t0,0x5 +/* f10474c: 14200002 */ bnez $at,.PB0f104758 +/* f104750: 00000000 */ nop +/* f104754: 24080004 */ li $t0,0x4 +.PB0f104758: +/* f104758: 1d000002 */ bgtz $t0,.PB0f104764 +/* f10475c: 00000000 */ nop +/* f104760: 24080001 */ li $t0,0x1 +.PB0f104764: +/* f104764: 0fc48109 */ jal 0xf120424 +/* f104768: afa8001c */ sw $t0,0x1c($sp) +/* f10476c: 10400002 */ beqz $v0,.PB0f104778 +/* f104770: 8fa8001c */ lw $t0,0x1c($sp) +/* f104774: 24080004 */ li $t0,0x4 +.PB0f104778: +/* f104778: 8fbf0014 */ lw $ra,0x14($sp) +/* f10477c: 27bd0028 */ addiu $sp,$sp,0x28 +/* f104780: 01001025 */ move $v0,$t0 +/* f104784: 03e00008 */ jr $ra +/* f104788: 00000000 */ nop +); +#elif VERSION >= VERSION_NTSC_1_0 s32 getMaxAiBuddies(void) { s32 extra = 0; diff --git a/src/game/menu.c b/src/game/menu.c index 94b5f3e24..3a02e7a07 100644 --- a/src/game/menu.c +++ b/src/game/menu.c @@ -667,6 +667,429 @@ glabel menuRenderBanner /* f0f1a5c: 03e00008 */ jr $ra /* f0f1a60: 27bd0090 */ addiu $sp,$sp,0x90 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel menuRenderBanner +/* f0f1248: 27bdff70 */ addiu $sp,$sp,-144 +/* f0f124c: 8fae00a4 */ lw $t6,0xa4($sp) +/* f0f1250: afb10038 */ sw $s1,0x38($sp) +/* f0f1254: 3c038008 */ lui $v1,0x8008 +/* f0f1258: 3c088008 */ lui $t0,0x8008 +/* f0f125c: 00808825 */ move $s1,$a0 +/* f0f1260: afbf003c */ sw $ra,0x3c($sp) +/* f0f1264: afb00034 */ sw $s0,0x34($sp) +/* f0f1268: afa50094 */ sw $a1,0x94($sp) +/* f0f126c: afa60098 */ sw $a2,0x98($sp) +/* f0f1270: afa7009c */ sw $a3,0x9c($sp) +/* f0f1274: 8c631fe0 */ lw $v1,0x1fe0($v1) +/* f0f1278: 11c00008 */ beqz $t6,.PB0f0f129c +/* f0f127c: 8d081fdc */ lw $t0,0x1fdc($t0) +/* f0f1280: 3c028008 */ lui $v0,0x8008 +/* f0f1284: 8c421fe8 */ lw $v0,0x1fe8($v0) +/* f0f1288: 50400005 */ beqzl $v0,.PB0f0f12a0 +/* f0f128c: 8faf0098 */ lw $t7,0x98($sp) +/* f0f1290: 3c088008 */ lui $t0,0x8008 +/* f0f1294: 00401825 */ move $v1,$v0 +/* f0f1298: 8d081fe4 */ lw $t0,0x1fe4($t0) +.PB0f0f129c: +/* f0f129c: 8faf0098 */ lw $t7,0x98($sp) +.PB0f0f12a0: +/* f0f12a0: 8fb800a0 */ lw $t8,0xa0($sp) +/* f0f12a4: 8fa900a8 */ lw $t1,0xa8($sp) +/* f0f12a8: 3c0b8007 */ lui $t3,0x8007 +/* f0f12ac: 01f83021 */ addu $a2,$t7,$t8 +/* f0f12b0: 256b311c */ addiu $t3,$t3,0x311c +/* f0f12b4: 00095040 */ sll $t2,$t1,0x1 +/* f0f12b8: 04c10003 */ bgez $a2,.PB0f0f12c8 +/* f0f12bc: 0006c843 */ sra $t9,$a2,0x1 +/* f0f12c0: 24c10001 */ addiu $at,$a2,0x1 +/* f0f12c4: 0001c843 */ sra $t9,$at,0x1 +.PB0f0f12c8: +/* f0f12c8: 014b1021 */ addu $v0,$t2,$t3 +/* f0f12cc: 94440000 */ lhu $a0,0x0($v0) +/* f0f12d0: afa20040 */ sw $v0,0x40($sp) +/* f0f12d4: afb90084 */ sw $t9,0x84($sp) +/* f0f12d8: afa30064 */ sw $v1,0x64($sp) +/* f0f12dc: 0fc5c06a */ jal 0xf1701a8 +/* f0f12e0: afa80060 */ sw $t0,0x60($sp) +/* f0f12e4: 8fac0060 */ lw $t4,0x60($sp) +/* f0f12e8: 27a4007c */ addiu $a0,$sp,0x7c +/* f0f12ec: 27a50078 */ addiu $a1,$sp,0x78 +/* f0f12f0: 00403025 */ move $a2,$v0 +/* f0f12f4: 8fa70064 */ lw $a3,0x64($sp) +/* f0f12f8: afa00014 */ sw $zero,0x14($sp) +/* f0f12fc: 0fc5625a */ jal 0xf158968 +/* f0f1300: afac0010 */ sw $t4,0x10($sp) +/* f0f1304: 0fc5c06a */ jal 0xf1701a8 +/* f0f1308: 240451ef */ li $a0,0x51ef +/* f0f130c: 8fad0060 */ lw $t5,0x60($sp) +/* f0f1310: 27a40074 */ addiu $a0,$sp,0x74 +/* f0f1314: 27a50070 */ addiu $a1,$sp,0x70 +/* f0f1318: 00403025 */ move $a2,$v0 +/* f0f131c: 8fa70064 */ lw $a3,0x64($sp) +/* f0f1320: afa00014 */ sw $zero,0x14($sp) +/* f0f1324: 0fc5625a */ jal 0xf158968 +/* f0f1328: afad0010 */ sw $t5,0x10($sp) +/* f0f132c: 8fae0040 */ lw $t6,0x40($sp) +/* f0f1330: 240151eb */ li $at,0x51eb +/* f0f1334: 02202025 */ move $a0,$s1 +/* f0f1338: 95cf0000 */ lhu $t7,0x0($t6) +/* f0f133c: 55e10005 */ bnel $t7,$at,.PB0f0f1354 +/* f0f1340: 8fa2007c */ lw $v0,0x7c($sp) +/* f0f1344: 8fb80078 */ lw $t8,0x78($sp) +/* f0f1348: 27190007 */ addiu $t9,$t8,0x7 +/* f0f134c: afb90078 */ sw $t9,0x78($sp) +/* f0f1350: 8fa2007c */ lw $v0,0x7c($sp) +.PB0f0f1354: +/* f0f1354: 8fa30074 */ lw $v1,0x74($sp) +/* f0f1358: 8fa60084 */ lw $a2,0x84($sp) +/* f0f135c: 2405007f */ li $a1,0x7f +/* f0f1360: 00434821 */ addu $t1,$v0,$v1 +/* f0f1364: 05210003 */ bgez $t1,.PB0f0f1374 +/* f0f1368: 00095043 */ sra $t2,$t1,0x1 +/* f0f136c: 25210001 */ addiu $at,$t1,0x1 +/* f0f1370: 00015043 */ sra $t2,$at,0x1 +.PB0f0f1374: +/* f0f1374: 00ca3023 */ subu $a2,$a2,$t2 +/* f0f1378: 00c26021 */ addu $t4,$a2,$v0 +/* f0f137c: 01836821 */ addu $t5,$t4,$v1 +/* f0f1380: 24cbfffc */ addiu $t3,$a2,-4 +/* f0f1384: 25ae0007 */ addiu $t6,$t5,0x7 +/* f0f1388: afa60080 */ sw $a2,0x80($sp) +/* f0f138c: afab006c */ sw $t3,0x6c($sp) +/* f0f1390: afae0068 */ sw $t6,0x68($sp) +/* f0f1394: 0fc552fc */ jal 0xf154bf0 +/* f0f1398: afa60084 */ sw $a2,0x84($sp) +/* f0f139c: 3c038008 */ lui $v1,0x8008 +/* f0f13a0: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0f13a4: 8c780000 */ lw $t8,0x0($v1) +/* f0f13a8: 8faf009c */ lw $t7,0x9c($sp) +/* f0f13ac: 8fac00a0 */ lw $t4,0xa0($sp) +/* f0f13b0: 3c10f600 */ lui $s0,0xf600 +/* f0f13b4: 01f80019 */ multu $t7,$t8 +/* f0f13b8: 318d03ff */ andi $t5,$t4,0x3ff +/* f0f13bc: 000d7080 */ sll $t6,$t5,0x2 +/* f0f13c0: 8fb1006c */ lw $s1,0x6c($sp) +/* f0f13c4: 24440008 */ addiu $a0,$v0,0x8 +/* f0f13c8: 0000c812 */ mflo $t9 +/* f0f13cc: 332903ff */ andi $t1,$t9,0x3ff +/* f0f13d0: 00095380 */ sll $t2,$t1,0xe +/* f0f13d4: 01505825 */ or $t3,$t2,$s0 +/* f0f13d8: 016e7825 */ or $t7,$t3,$t6 +/* f0f13dc: ac4f0000 */ sw $t7,0x0($v0) +/* f0f13e0: 8c790000 */ lw $t9,0x0($v1) +/* f0f13e4: 8fb80094 */ lw $t8,0x94($sp) +/* f0f13e8: 8fad0098 */ lw $t5,0x98($sp) +/* f0f13ec: 03190019 */ multu $t8,$t9 +/* f0f13f0: 31ab03ff */ andi $t3,$t5,0x3ff +/* f0f13f4: 000b7080 */ sll $t6,$t3,0x2 +/* f0f13f8: 00004812 */ mflo $t1 +/* f0f13fc: 312a03ff */ andi $t2,$t1,0x3ff +/* f0f1400: 000a6380 */ sll $t4,$t2,0xe +/* f0f1404: 018e7825 */ or $t7,$t4,$t6 +/* f0f1408: 0fc55313 */ jal 0xf154c4c +/* f0f140c: ac4f0004 */ sw $t7,0x4($v0) +/* f0f1410: 00402025 */ move $a0,$v0 +/* f0f1414: 0fc552fc */ jal 0xf154bf0 +/* f0f1418: 24057f7f */ li $a1,0x7f7f +/* f0f141c: 3c038008 */ lui $v1,0x8008 +/* f0f1420: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0f1424: 8c790000 */ lw $t9,0x0($v1) +/* f0f1428: 8fb8009c */ lw $t8,0x9c($sp) +/* f0f142c: 8fac0068 */ lw $t4,0x68($sp) +/* f0f1430: 24440008 */ addiu $a0,$v0,0x8 +/* f0f1434: 03190019 */ multu $t8,$t9 +/* f0f1438: 318e03ff */ andi $t6,$t4,0x3ff +/* f0f143c: 000e7880 */ sll $t7,$t6,0x2 +/* f0f1440: 322e03ff */ andi $t6,$s1,0x3ff +/* f0f1444: 00004812 */ mflo $t1 +/* f0f1448: 312a03ff */ andi $t2,$t1,0x3ff +/* f0f144c: 000a6b80 */ sll $t5,$t2,0xe +/* f0f1450: 01b05825 */ or $t3,$t5,$s0 +/* f0f1454: 016fc025 */ or $t8,$t3,$t7 +/* f0f1458: ac580000 */ sw $t8,0x0($v0) +/* f0f145c: 8c690000 */ lw $t1,0x0($v1) +/* f0f1460: 8fb90094 */ lw $t9,0x94($sp) +/* f0f1464: 000e5880 */ sll $t3,$t6,0x2 +/* f0f1468: 03290019 */ multu $t9,$t1 +/* f0f146c: 00005012 */ mflo $t2 +/* f0f1470: 314d03ff */ andi $t5,$t2,0x3ff +/* f0f1474: 000d6380 */ sll $t4,$t5,0xe +/* f0f1478: 018b7825 */ or $t7,$t4,$t3 +/* f0f147c: 0fc55313 */ jal 0xf154c4c +/* f0f1480: ac4f0004 */ sw $t7,0x4($v0) +/* f0f1484: 3c057f7f */ lui $a1,0x7f7f +/* f0f1488: 34a5ff7f */ ori $a1,$a1,0xff7f +/* f0f148c: 0fc552fc */ jal 0xf154bf0 +/* f0f1490: 00402025 */ move $a0,$v0 +/* f0f1494: 3c038008 */ lui $v1,0x8008 +/* f0f1498: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0f149c: 8c790000 */ lw $t9,0x0($v1) +/* f0f14a0: 8fb8009c */ lw $t8,0x9c($sp) +/* f0f14a4: 8fac0068 */ lw $t4,0x68($sp) +/* f0f14a8: 24440010 */ addiu $a0,$v0,0x10 +/* f0f14ac: 03190019 */ multu $t8,$t9 +/* f0f14b0: 258b0004 */ addiu $t3,$t4,0x4 +/* f0f14b4: 316f03ff */ andi $t7,$t3,0x3ff +/* f0f14b8: 000fc080 */ sll $t8,$t7,0x2 +/* f0f14bc: 00004812 */ mflo $t1 +/* f0f14c0: 312a03ff */ andi $t2,$t1,0x3ff +/* f0f14c4: 000a6b80 */ sll $t5,$t2,0xe +/* f0f14c8: 01b07025 */ or $t6,$t5,$s0 +/* f0f14cc: 01d8c825 */ or $t9,$t6,$t8 +/* f0f14d0: ac590000 */ sw $t9,0x0($v0) +/* f0f14d4: 8c6a0000 */ lw $t2,0x0($v1) +/* f0f14d8: 8fa90094 */ lw $t1,0x94($sp) +/* f0f14dc: 8faf0068 */ lw $t7,0x68($sp) +/* f0f14e0: 012a0019 */ multu $t1,$t2 +/* f0f14e4: 25ee0002 */ addiu $t6,$t7,0x2 +/* f0f14e8: 31d803ff */ andi $t8,$t6,0x3ff +/* f0f14ec: 0018c880 */ sll $t9,$t8,0x2 +/* f0f14f0: 00006812 */ mflo $t5 +/* f0f14f4: 31ac03ff */ andi $t4,$t5,0x3ff +/* f0f14f8: 000c5b80 */ sll $t3,$t4,0xe +/* f0f14fc: 01794825 */ or $t1,$t3,$t9 +/* f0f1500: ac490004 */ sw $t1,0x4($v0) +/* f0f1504: 8c6d0000 */ lw $t5,0x0($v1) +/* f0f1508: 8faa009c */ lw $t2,0x9c($sp) +/* f0f150c: 262bfffe */ addiu $t3,$s1,-2 +/* f0f1510: 317903ff */ andi $t9,$t3,0x3ff +/* f0f1514: 014d0019 */ multu $t2,$t5 +/* f0f1518: 00194880 */ sll $t1,$t9,0x2 +/* f0f151c: 2639fffc */ addiu $t9,$s1,-4 +/* f0f1520: 00006012 */ mflo $t4 +/* f0f1524: 318f03ff */ andi $t7,$t4,0x3ff +/* f0f1528: 000f7380 */ sll $t6,$t7,0xe +/* f0f152c: 01d0c025 */ or $t8,$t6,$s0 +/* f0f1530: 03095025 */ or $t2,$t8,$t1 +/* f0f1534: ac4a0008 */ sw $t2,0x8($v0) +/* f0f1538: 8c6c0000 */ lw $t4,0x0($v1) +/* f0f153c: 8fad0094 */ lw $t5,0x94($sp) +/* f0f1540: 333803ff */ andi $t8,$t9,0x3ff +/* f0f1544: 00184880 */ sll $t1,$t8,0x2 +/* f0f1548: 01ac0019 */ multu $t5,$t4 +/* f0f154c: 00007812 */ mflo $t7 +/* f0f1550: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0f1554: 000e5b80 */ sll $t3,$t6,0xe +/* f0f1558: 01695025 */ or $t2,$t3,$t1 +/* f0f155c: 0fc55313 */ jal 0xf154c4c +/* f0f1560: ac4a000c */ sw $t2,0xc($v0) +/* f0f1564: 0fc5528f */ jal 0xf154a3c +/* f0f1568: 00402025 */ move $a0,$v0 +/* f0f156c: 8fad0094 */ lw $t5,0x94($sp) +/* f0f1570: 8fac00ac */ lw $t4,0xac($sp) +/* f0f1574: 8fae009c */ lw $t6,0x9c($sp) +/* f0f1578: 8fb800b0 */ lw $t8,0xb0($sp) +/* f0f157c: 01ac7821 */ addu $t7,$t5,$t4 +/* f0f1580: 01eec821 */ addu $t9,$t7,$t6 +/* f0f1584: 03381823 */ subu $v1,$t9,$t8 +/* f0f1588: 8fa90078 */ lw $t1,0x78($sp) +/* f0f158c: 8fa60084 */ lw $a2,0x84($sp) +/* f0f1590: 8faf0040 */ lw $t7,0x40($sp) +/* f0f1594: 00408825 */ move $s1,$v0 +/* f0f1598: 04610003 */ bgez $v1,.PB0f0f15a8 +/* f0f159c: 00035843 */ sra $t3,$v1,0x1 +/* f0f15a0: 24610001 */ addiu $at,$v1,0x1 +/* f0f15a4: 00015843 */ sra $t3,$at,0x1 +.PB0f0f15a8: +/* f0f15a8: 01601825 */ move $v1,$t3 +/* f0f15ac: 05210003 */ bgez $t1,.PB0f0f15bc +/* f0f15b0: 00095043 */ sra $t2,$t1,0x1 +/* f0f15b4: 25210001 */ addiu $at,$t1,0x1 +/* f0f15b8: 00015043 */ sra $t2,$at,0x1 +.PB0f0f15bc: +/* f0f15bc: 006a6823 */ subu $t5,$v1,$t2 +/* f0f15c0: 25ac0002 */ addiu $t4,$t5,0x2 +/* f0f15c4: afac0088 */ sw $t4,0x88($sp) +/* f0f15c8: 24c60002 */ addiu $a2,$a2,0x2 +/* f0f15cc: 95e40000 */ lhu $a0,0x0($t7) +/* f0f15d0: afa60084 */ sw $a2,0x84($sp) +/* f0f15d4: 0fc5c06a */ jal 0xf1701a8 +/* f0f15d8: afa30044 */ sw $v1,0x44($sp) +/* f0f15dc: 0c002e4d */ jal 0xb934 +/* f0f15e0: afa2004c */ sw $v0,0x4c($sp) +/* f0f15e4: 00028400 */ sll $s0,$v0,0x10 +/* f0f15e8: 00107403 */ sra $t6,$s0,0x10 +/* f0f15ec: 0c002e4d */ jal 0xb934 +/* f0f15f0: 01c08025 */ move $s0,$t6 +/* f0f15f4: 8fb90064 */ lw $t9,0x64($sp) +/* f0f15f8: 8fb80060 */ lw $t8,0x60($sp) +/* f0f15fc: 240b00ff */ li $t3,0xff +/* f0f1600: afab0018 */ sw $t3,0x18($sp) +/* f0f1604: 02202025 */ move $a0,$s1 +/* f0f1608: 27a50088 */ addiu $a1,$sp,0x88 +/* f0f160c: 27a60084 */ addiu $a2,$sp,0x84 +/* f0f1610: 8fa7004c */ lw $a3,0x4c($sp) +/* f0f1614: afb0001c */ sw $s0,0x1c($sp) +/* f0f1618: afa20020 */ sw $v0,0x20($sp) +/* f0f161c: afa00024 */ sw $zero,0x24($sp) +/* f0f1620: afa00028 */ sw $zero,0x28($sp) +/* f0f1624: afb90010 */ sw $t9,0x10($sp) +/* f0f1628: 0fc55e10 */ jal 0xf157840 +/* f0f162c: afb80014 */ sw $t8,0x14($sp) +/* f0f1630: 8faa0070 */ lw $t2,0x70($sp) +/* f0f1634: 8fa90044 */ lw $t1,0x44($sp) +/* f0f1638: 8fa60084 */ lw $a2,0x84($sp) +/* f0f163c: 00408825 */ move $s1,$v0 +/* f0f1640: 05410003 */ bgez $t2,.PB0f0f1650 +/* f0f1644: 000a6843 */ sra $t5,$t2,0x1 +/* f0f1648: 25410001 */ addiu $at,$t2,0x1 +/* f0f164c: 00016843 */ sra $t5,$at,0x1 +.PB0f0f1650: +/* f0f1650: 012d6023 */ subu $t4,$t1,$t5 +/* f0f1654: 258f0002 */ addiu $t7,$t4,0x2 +/* f0f1658: 24c60003 */ addiu $a2,$a2,0x3 +/* f0f165c: afaf0088 */ sw $t7,0x88($sp) +/* f0f1660: afa60084 */ sw $a2,0x84($sp) +/* f0f1664: 0fc5c06a */ jal 0xf1701a8 +/* f0f1668: 240451ef */ li $a0,0x51ef +/* f0f166c: 0c002e4d */ jal 0xb934 +/* f0f1670: afa2004c */ sw $v0,0x4c($sp) +/* f0f1674: 00028400 */ sll $s0,$v0,0x10 +/* f0f1678: 00107403 */ sra $t6,$s0,0x10 +/* f0f167c: 0c002e4d */ jal 0xb934 +/* f0f1680: 01c08025 */ move $s0,$t6 +/* f0f1684: 8fb90064 */ lw $t9,0x64($sp) +/* f0f1688: 8fb80060 */ lw $t8,0x60($sp) +/* f0f168c: 240b00ff */ li $t3,0xff +/* f0f1690: afab0018 */ sw $t3,0x18($sp) +/* f0f1694: 02202025 */ move $a0,$s1 +/* f0f1698: 27a50088 */ addiu $a1,$sp,0x88 +/* f0f169c: 27a60084 */ addiu $a2,$sp,0x84 +/* f0f16a0: 8fa7004c */ lw $a3,0x4c($sp) +/* f0f16a4: afb0001c */ sw $s0,0x1c($sp) +/* f0f16a8: afa20020 */ sw $v0,0x20($sp) +/* f0f16ac: afa00024 */ sw $zero,0x24($sp) +/* f0f16b0: afa00028 */ sw $zero,0x28($sp) +/* f0f16b4: afb90010 */ sw $t9,0x10($sp) +/* f0f16b8: 0fc55e10 */ jal 0xf157840 +/* f0f16bc: afb80014 */ sw $t8,0x14($sp) +/* f0f16c0: 8fa90078 */ lw $t1,0x78($sp) +/* f0f16c4: 8faa0044 */ lw $t2,0x44($sp) +/* f0f16c8: 8faf0040 */ lw $t7,0x40($sp) +/* f0f16cc: 8fa60080 */ lw $a2,0x80($sp) +/* f0f16d0: 00408825 */ move $s1,$v0 +/* f0f16d4: 05210003 */ bgez $t1,.PB0f0f16e4 +/* f0f16d8: 00096843 */ sra $t5,$t1,0x1 +/* f0f16dc: 25210001 */ addiu $at,$t1,0x1 +/* f0f16e0: 00016843 */ sra $t5,$at,0x1 +.PB0f0f16e4: +/* f0f16e4: 014d6023 */ subu $t4,$t2,$t5 +/* f0f16e8: afac0088 */ sw $t4,0x88($sp) +/* f0f16ec: 95e40000 */ lhu $a0,0x0($t7) +/* f0f16f0: 0fc5c06a */ jal 0xf1701a8 +/* f0f16f4: afa60084 */ sw $a2,0x84($sp) +/* f0f16f8: 0c002e4d */ jal 0xb934 +/* f0f16fc: afa2004c */ sw $v0,0x4c($sp) +/* f0f1700: 00028400 */ sll $s0,$v0,0x10 +/* f0f1704: 00107403 */ sra $t6,$s0,0x10 +/* f0f1708: 0c002e4d */ jal 0xb934 +/* f0f170c: 01c08025 */ move $s0,$t6 +/* f0f1710: 8fb90064 */ lw $t9,0x64($sp) +/* f0f1714: 8fb80060 */ lw $t8,0x60($sp) +/* f0f1718: 3c0bbfbf */ lui $t3,0xbfbf +/* f0f171c: 356bffff */ ori $t3,$t3,0xffff +/* f0f1720: afab0018 */ sw $t3,0x18($sp) +/* f0f1724: 02202025 */ move $a0,$s1 +/* f0f1728: 27a50088 */ addiu $a1,$sp,0x88 +/* f0f172c: 27a60084 */ addiu $a2,$sp,0x84 +/* f0f1730: 8fa7004c */ lw $a3,0x4c($sp) +/* f0f1734: afb0001c */ sw $s0,0x1c($sp) +/* f0f1738: afa20020 */ sw $v0,0x20($sp) +/* f0f173c: afa00024 */ sw $zero,0x24($sp) +/* f0f1740: afa00028 */ sw $zero,0x28($sp) +/* f0f1744: afb90010 */ sw $t9,0x10($sp) +/* f0f1748: 0fc55e10 */ jal 0xf157840 +/* f0f174c: afb80014 */ sw $t8,0x14($sp) +/* f0f1750: 8faa0070 */ lw $t2,0x70($sp) +/* f0f1754: 8fa60084 */ lw $a2,0x84($sp) +/* f0f1758: 8fa90044 */ lw $t1,0x44($sp) +/* f0f175c: 00408825 */ move $s1,$v0 +/* f0f1760: 05410003 */ bgez $t2,.PB0f0f1770 +/* f0f1764: 000a6843 */ sra $t5,$t2,0x1 +/* f0f1768: 25410001 */ addiu $at,$t2,0x1 +/* f0f176c: 00016843 */ sra $t5,$at,0x1 +.PB0f0f1770: +/* f0f1770: 24c60003 */ addiu $a2,$a2,0x3 +/* f0f1774: 012d6023 */ subu $t4,$t1,$t5 +/* f0f1778: afac0088 */ sw $t4,0x88($sp) +/* f0f177c: afa60084 */ sw $a2,0x84($sp) +/* f0f1780: 0fc5c06a */ jal 0xf1701a8 +/* f0f1784: 240451ef */ li $a0,0x51ef +/* f0f1788: 0c002e4d */ jal 0xb934 +/* f0f178c: afa2004c */ sw $v0,0x4c($sp) +/* f0f1790: 00028400 */ sll $s0,$v0,0x10 +/* f0f1794: 00107c03 */ sra $t7,$s0,0x10 +/* f0f1798: 0c002e4d */ jal 0xb934 +/* f0f179c: 01e08025 */ move $s0,$t7 +/* f0f17a0: 8fae0064 */ lw $t6,0x64($sp) +/* f0f17a4: 8fb90060 */ lw $t9,0x60($sp) +/* f0f17a8: 3c18bfbf */ lui $t8,0xbfbf +/* f0f17ac: 3718ffff */ ori $t8,$t8,0xffff +/* f0f17b0: afb80018 */ sw $t8,0x18($sp) +/* f0f17b4: 02202025 */ move $a0,$s1 +/* f0f17b8: 27a50088 */ addiu $a1,$sp,0x88 +/* f0f17bc: 27a60084 */ addiu $a2,$sp,0x84 +/* f0f17c0: 8fa7004c */ lw $a3,0x4c($sp) +/* f0f17c4: afb0001c */ sw $s0,0x1c($sp) +/* f0f17c8: afa20020 */ sw $v0,0x20($sp) +/* f0f17cc: afa00024 */ sw $zero,0x24($sp) +/* f0f17d0: afa00028 */ sw $zero,0x28($sp) +/* f0f17d4: afae0010 */ sw $t6,0x10($sp) +/* f0f17d8: 0fc55e10 */ jal 0xf157840 +/* f0f17dc: afb90014 */ sw $t9,0x14($sp) +/* f0f17e0: 8fab0040 */ lw $t3,0x40($sp) +/* f0f17e4: 8fa60080 */ lw $a2,0x80($sp) +/* f0f17e8: 240151eb */ li $at,0x51eb +/* f0f17ec: 956a0000 */ lhu $t2,0x0($t3) +/* f0f17f0: 00408825 */ move $s1,$v0 +/* f0f17f4: 8fa90078 */ lw $t1,0x78($sp) +/* f0f17f8: 15410023 */ bne $t2,$at,.PB0f0f1888 +/* f0f17fc: 24c6ffff */ addiu $a2,$a2,-1 +/* f0f1800: 8fac0044 */ lw $t4,0x44($sp) +/* f0f1804: 05210003 */ bgez $t1,.PB0f0f1814 +/* f0f1808: 00096843 */ sra $t5,$t1,0x1 +/* f0f180c: 25210001 */ addiu $at,$t1,0x1 +/* f0f1810: 00016843 */ sra $t5,$at,0x1 +.PB0f0f1814: +/* f0f1814: 01ac7821 */ addu $t7,$t5,$t4 +/* f0f1818: 25eefff9 */ addiu $t6,$t7,-7 +/* f0f181c: afae0088 */ sw $t6,0x88($sp) +/* f0f1820: 0c002e4d */ jal 0xb934 +/* f0f1824: afa60084 */ sw $a2,0x84($sp) +/* f0f1828: 00028400 */ sll $s0,$v0,0x10 +/* f0f182c: 0010cc03 */ sra $t9,$s0,0x10 +/* f0f1830: 0c002e4d */ jal 0xb934 +/* f0f1834: 03208025 */ move $s0,$t9 +/* f0f1838: 3c188008 */ lui $t8,0x8008 +/* f0f183c: 3c0b8008 */ lui $t3,0x8008 +/* f0f1840: 8d6b1fd4 */ lw $t3,0x1fd4($t3) +/* f0f1844: 8f181fd8 */ lw $t8,0x1fd8($t8) +/* f0f1848: 3c0abfbf */ lui $t2,0xbfbf +/* f0f184c: 354affff */ ori $t2,$t2,0xffff +/* f0f1850: 3c077f1b */ lui $a3,0x7f1b +/* f0f1854: 24e74128 */ addiu $a3,$a3,0x4128 +/* f0f1858: afaa0018 */ sw $t2,0x18($sp) +/* f0f185c: 02202025 */ move $a0,$s1 +/* f0f1860: 27a50088 */ addiu $a1,$sp,0x88 +/* f0f1864: 27a60084 */ addiu $a2,$sp,0x84 +/* f0f1868: afb0001c */ sw $s0,0x1c($sp) +/* f0f186c: afa20020 */ sw $v0,0x20($sp) +/* f0f1870: afa00024 */ sw $zero,0x24($sp) +/* f0f1874: afa00028 */ sw $zero,0x28($sp) +/* f0f1878: afab0014 */ sw $t3,0x14($sp) +/* f0f187c: 0fc55e10 */ jal 0xf157840 +/* f0f1880: afb80010 */ sw $t8,0x10($sp) +/* f0f1884: 00408825 */ move $s1,$v0 +.PB0f0f1888: +/* f0f1888: 0fc552e5 */ jal 0xf154b94 +/* f0f188c: 02202025 */ move $a0,$s1 +/* f0f1890: 8fbf003c */ lw $ra,0x3c($sp) +/* f0f1894: 8fb00034 */ lw $s0,0x34($sp) +/* f0f1898: 8fb10038 */ lw $s1,0x38($sp) +/* f0f189c: 03e00008 */ jr $ra +/* f0f18a0: 27bd0090 */ addiu $sp,$sp,0x90 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel menuRenderBanner @@ -1704,7 +2127,7 @@ void func0f0f15a4(struct menuitem *item, s32 *arg1) case MENUITEMTYPE_18: *arg1 = 1; break; -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA case MENUITEMTYPE_SCROLLABLE: #endif case MENUITEMTYPE_MARQUEE: @@ -1712,7 +2135,7 @@ void func0f0f15a4(struct menuitem *item, s32 *arg1) *arg1 = 2; break; case MENUITEMTYPE_LIST: -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA case MENUITEMTYPE_SCROLLABLE: #endif *arg1 = 3; @@ -1966,7 +2389,11 @@ void menuCalculateItemSize(struct menuitem *item, s16 *width, s16 *height, struc } else if (item->param == 1) { *height = 9 + numobjectives * 14; } else if (item->param == 2) { - *height = 9 + numobjectives * (PAL ? 34 : 30); +#if VERSION >= VERSION_PAL_FINAL + *height = 9 + numobjectives * 34; +#else + *height = 9 + numobjectives * 30; +#endif *width = 120; } break; @@ -4731,6 +5158,1612 @@ glabel var7f1b3c40pf /* f0f5740: 03e00008 */ jr $ra /* f0f5744: 27bd0440 */ addiu $sp,$sp,0x440 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel menuRenderModels +.late_rodata +glabel var7f1b3c1cpf +.word 0x40f33333 +glabel var7f1b3c20pf +.word 0x3b1d4952 +glabel var7f1b3c24pf +.word 0x3f7f62b7 +glabel var7f1b3c28pf +.word 0x3f7f62b7 +glabel var7f1b3c2cpf +.word 0x3b1d4952 +glabel var7f1b3c30pf +.word 0x3b1d4952 +glabel var7f1b3c34pf +.word 0x3b1d4952 +glabel var7f1b3c38pf +.word 0x40490fdb +glabel var7f1b3c3cpf +.word 0xbf19999a +glabel var7f1b3c40pf +.word 0x3f19999a +.text +/* f0f3e1c: 27bdfbc0 */ addiu $sp,$sp,-1088 +/* f0f3e20: 3c02800a */ lui $v0,0x800a +/* f0f3e24: 8c42e984 */ lw $v0,-0x167c($v0) +/* f0f3e28: afb00024 */ sw $s0,0x24($sp) +/* f0f3e2c: 24010026 */ li $at,0x26 +/* f0f3e30: 00a08025 */ move $s0,$a1 +/* f0f3e34: afbf002c */ sw $ra,0x2c($sp) +/* f0f3e38: afb10028 */ sw $s1,0x28($sp) +/* f0f3e3c: afa40440 */ sw $a0,0x440($sp) +/* f0f3e40: 1041001d */ beq $v0,$at,.PB0f0f3eb8 +/* f0f3e44: afa60448 */ sw $a2,0x448($sp) +/* f0f3e48: 2401005c */ li $at,0x5c +/* f0f3e4c: 1041001a */ beq $v0,$at,.PB0f0f3eb8 +/* f0f3e50: 3c0e800a */ lui $t6,0x800a +/* f0f3e54: 81cf64c5 */ lb $t7,0x64c5($t6) +/* f0f3e58: 24010001 */ li $at,0x1 +/* f0f3e5c: 05e30008 */ bgezl $t7,.PB0f0f3e80 +/* f0f3e60: 8e190004 */ lw $t9,0x4($s0) +/* f0f3e64: 10c10005 */ beq $a2,$at,.PB0f0f3e7c +/* f0f3e68: 28c10003 */ slti $at,$a2,0x3 +/* f0f3e6c: 50200004 */ beqzl $at,.PB0f0f3e80 +/* f0f3e70: 8e190004 */ lw $t9,0x4($s0) +/* f0f3e74: 100005b5 */ b .PB0f0f554c +/* f0f3e78: 00801025 */ move $v0,$a0 +.PB0f0f3e7c: +/* f0f3e7c: 8e190004 */ lw $t9,0x4($s0) +.PB0f0f3e80: +/* f0f3e80: 5720000e */ bnezl $t9,.PB0f0f3ebc +/* f0f3e84: 8e090004 */ lw $t1,0x4($s0) +/* f0f3e88: 0fc27882 */ jal 0xf09e208 +/* f0f3e8c: 24040001 */ li $a0,0x1 +/* f0f3e90: 10400007 */ beqz $v0,.PB0f0f3eb0 +/* f0f3e94: 00000000 */ nop +/* f0f3e98: 0fc277fc */ jal 0xf09dff0 +/* f0f3e9c: 00000000 */ nop +/* f0f3ea0: 0fc27800 */ jal 0xf09e000 +/* f0f3ea4: ae020004 */ sw $v0,0x4($s0) +/* f0f3ea8: 10000003 */ b .PB0f0f3eb8 +/* f0f3eac: ae020008 */ sw $v0,0x8($s0) +.PB0f0f3eb0: +/* f0f3eb0: 100005a6 */ b .PB0f0f554c +/* f0f3eb4: 8fa20440 */ lw $v0,0x440($sp) +.PB0f0f3eb8: +/* f0f3eb8: 8e090004 */ lw $t1,0x4($s0) +.PB0f0f3ebc: +/* f0f3ebc: 55200004 */ bnezl $t1,.PB0f0f3ed0 +/* f0f3ec0: 8e02000c */ lw $v0,0xc($s0) +/* f0f3ec4: 100005a1 */ b .PB0f0f554c +/* f0f3ec8: 8fa20440 */ lw $v0,0x440($sp) +/* f0f3ecc: 8e02000c */ lw $v0,0xc($s0) +.PB0f0f3ed0: +/* f0f3ed0: 504000dc */ beqzl $v0,.PB0f0f4244 +/* f0f3ed4: 8e0c0054 */ lw $t4,0x54($s0) +/* f0f3ed8: 8e030010 */ lw $v1,0x10($s0) +/* f0f3edc: 3c014fac */ lui $at,0x4fac +/* f0f3ee0: 34215ace */ ori $at,$at,0x5ace +/* f0f3ee4: 14620004 */ bne $v1,$v0,.PB0f0f3ef8 +/* f0f3ee8: 00000000 */ nop +/* f0f3eec: ae00000c */ sw $zero,0xc($s0) +/* f0f3ef0: 100000d3 */ b .PB0f0f4240 +/* f0f3ef4: a2000000 */ sb $zero,0x0($s0) +.PB0f0f3ef8: +/* f0f3ef8: 54610004 */ bnel $v1,$at,.PB0f0f3f0c +/* f0f3efc: 92020000 */ lbu $v0,0x0($s0) +/* f0f3f00: 0fc677c0 */ jal 0xf19df00 +/* f0f3f04: 00000000 */ nop +/* f0f3f08: 92020000 */ lbu $v0,0x0($s0) +.PB0f0f3f0c: +/* f0f3f0c: 240a0001 */ li $t2,0x1 +/* f0f3f10: 14400004 */ bnez $v0,.PB0f0f3f24 +/* f0f3f14: 244bffff */ addiu $t3,$v0,-1 +/* f0f3f18: a20a0000 */ sb $t2,0x0($s0) +/* f0f3f1c: 1000058b */ b .PB0f0f554c +/* f0f3f20: 8fa20440 */ lw $v0,0x440($sp) +.PB0f0f3f24: +/* f0f3f24: 316c00ff */ andi $t4,$t3,0xff +/* f0f3f28: 158000c3 */ bnez $t4,.PB0f0f4238 +/* f0f3f2c: a20b0000 */ sb $t3,0x0($s0) +/* f0f3f30: 8e02000c */ lw $v0,0xc($s0) +/* f0f3f34: 3401ffff */ li $at,0xffff +/* f0f3f38: 304dffff */ andi $t5,$v0,0xffff +/* f0f3f3c: 11a10002 */ beq $t5,$at,.PB0f0f3f48 +/* f0f3f40: 00027000 */ sll $t6,$v0,0x0 +/* f0f3f44: 05c10092 */ bgez $t6,.PB0f0f4190 +.PB0f0f3f48: +/* f0f3f48: 00027800 */ sll $t7,$v0,0x0 +/* f0f3f4c: 05e10008 */ bgez $t7,.PB0f0f3f70 +/* f0f3f50: 3c01000f */ lui $at,0xf +/* f0f3f54: 3421fc00 */ ori $at,$at,0xfc00 +/* f0f3f58: 0041c824 */ and $t9,$v0,$at +/* f0f3f5c: 305803ff */ andi $t8,$v0,0x3ff +/* f0f3f60: 00194a82 */ srl $t1,$t9,0xa +/* f0f3f64: afb80400 */ sw $t8,0x400($sp) +/* f0f3f68: 1000001a */ b .PB0f0f3fd4 +/* f0f3f6c: afa90404 */ sw $t1,0x404($sp) +.PB0f0f3f70: +/* f0f3f70: 00028c02 */ srl $s1,$v0,0x10 +/* f0f3f74: 322a00ff */ andi $t2,$s1,0xff +/* f0f3f78: 00025e02 */ srl $t3,$v0,0x18 +/* f0f3f7c: 01408825 */ move $s1,$t2 +/* f0f3f80: 0fc635cd */ jal 0xf18d734 +/* f0f3f84: 316400ff */ andi $a0,$t3,0xff +/* f0f3f88: 0fc635b0 */ jal 0xf18d6c0 +/* f0f3f8c: afa20404 */ sw $v0,0x404($sp) +/* f0f3f90: 0222082a */ slt $at,$s1,$v0 +/* f0f3f94: 10200005 */ beqz $at,.PB0f0f3fac +/* f0f3f98: 00000000 */ nop +/* f0f3f9c: 0fc635b4 */ jal 0xf18d6d0 +/* f0f3fa0: 322400ff */ andi $a0,$s1,0xff +/* f0f3fa4: 1000000b */ b .PB0f0f3fd4 +/* f0f3fa8: afa20400 */ sw $v0,0x400($sp) +.PB0f0f3fac: +/* f0f3fac: 0fc635b0 */ jal 0xf18d6c0 +/* f0f3fb0: 00000000 */ nop +/* f0f3fb4: 0fc52f6a */ jal 0xf14bda8 +/* f0f3fb8: 02222023 */ subu $a0,$s1,$v0 +/* f0f3fbc: 0fc635c2 */ jal 0xf18d708 +/* f0f3fc0: 304400ff */ andi $a0,$v0,0xff +/* f0f3fc4: 0fc635b0 */ jal 0xf18d6c0 +/* f0f3fc8: afa20400 */ sw $v0,0x400($sp) +/* f0f3fcc: 02226823 */ subu $t5,$s1,$v0 +/* f0f3fd0: a20d05b0 */ sb $t5,0x5b0($s0) +.PB0f0f3fd4: +/* f0f3fd4: 8fae0404 */ lw $t6,0x404($sp) +/* f0f3fd8: 3c188008 */ lui $t8,0x8008 +/* f0f3fdc: 2718f3d4 */ addiu $t8,$t8,-3116 +/* f0f3fe0: 000e7880 */ sll $t7,$t6,0x2 +/* f0f3fe4: 01ee7821 */ addu $t7,$t7,$t6 +/* f0f3fe8: 000f7880 */ sll $t7,$t7,0x2 +/* f0f3fec: 01f88821 */ addu $s1,$t7,$t8 +/* f0f3ff0: 96220002 */ lhu $v0,0x2($s1) +/* f0f3ff4: 00402025 */ move $a0,$v0 +/* f0f3ff8: a7a2040a */ sh $v0,0x40a($sp) +/* f0f3ffc: 0fc5a1b1 */ jal 0xf1686c4 +/* f0f4000: afa2003c */ sw $v0,0x3c($sp) +/* f0f4004: 8e2a0000 */ lw $t2,0x0($s1) +/* f0f4008: 2443003f */ addiu $v1,$v0,0x3f +/* f0f400c: 3479003f */ ori $t9,$v1,0x3f +/* f0f4010: 000a6040 */ sll $t4,$t2,0x1 +/* f0f4014: 05810005 */ bgez $t4,.PB0f0f402c +/* f0f4018: 3b23003f */ xori $v1,$t9,0x3f +/* f0f401c: 240dffff */ li $t5,-1 +/* f0f4020: afad0400 */ sw $t5,0x400($sp) +/* f0f4024: 10000011 */ b .PB0f0f406c +/* f0f4028: 3411ffff */ li $s1,0xffff +.PB0f0f402c: +/* f0f402c: 8fae0400 */ lw $t6,0x400($sp) +/* f0f4030: 3c118008 */ lui $s1,0x8008 +/* f0f4034: afa30420 */ sw $v1,0x420($sp) +/* f0f4038: 000e7880 */ sll $t7,$t6,0x2 +/* f0f403c: 01ee7821 */ addu $t7,$t7,$t6 +/* f0f4040: 000f7880 */ sll $t7,$t7,0x2 +/* f0f4044: 022f8821 */ addu $s1,$s1,$t7 +/* f0f4048: 9631f3d6 */ lhu $s1,-0xc2a($s1) +/* f0f404c: 0fc5a1b1 */ jal 0xf1686c4 +/* f0f4050: 02202025 */ move $a0,$s1 +/* f0f4054: 8fb80420 */ lw $t8,0x420($sp) +/* f0f4058: 2459003f */ addiu $t9,$v0,0x3f +/* f0f405c: 3729003f */ ori $t1,$t9,0x3f +/* f0f4060: 392a003f */ xori $t2,$t1,0x3f +/* f0f4064: 030a1821 */ addu $v1,$t8,$t2 +/* f0f4068: afa30420 */ sw $v1,0x420($sp) +.PB0f0f406c: +/* f0f406c: 8e0c0004 */ lw $t4,0x4($s0) +/* f0f4070: 8e0d0008 */ lw $t5,0x8($s0) +/* f0f4074: 24634000 */ addiu $v1,$v1,0x4000 +/* f0f4078: afa30420 */ sw $v1,0x420($sp) +/* f0f407c: 27a40410 */ addiu $a0,$sp,0x410 +/* f0f4080: 01832821 */ addu $a1,$t4,$v1 +/* f0f4084: 0fc5d268 */ jal 0xf1749a0 +/* f0f4088: 01a33023 */ subu $a2,$t5,$v1 +/* f0f408c: 8fae0400 */ lw $t6,0x400($sp) +/* f0f4090: 8e050004 */ lw $a1,0x4($s0) +/* f0f4094: 27a70410 */ addiu $a3,$sp,0x410 +/* f0f4098: a60e0002 */ sh $t6,0x2($s0) +/* f0f409c: 8faf0404 */ lw $t7,0x404($sp) +/* f0f40a0: a60f056a */ sh $t7,0x56a($s0) +/* f0f40a4: 8fa60420 */ lw $a2,0x420($sp) +/* f0f40a8: 0fc6a511 */ jal 0xf1a9444 +/* f0f40ac: 97a4040a */ lhu $a0,0x40a($sp) +/* f0f40b0: ae020054 */ sw $v0,0x54($s0) +/* f0f40b4: 0fc5a23c */ jal 0xf1688f0 +/* f0f40b8: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f40bc: 2443003f */ addiu $v1,$v0,0x3f +/* f0f40c0: 3479003f */ ori $t9,$v1,0x3f +/* f0f40c4: 3b29003f */ xori $t1,$t9,0x3f +/* f0f40c8: 8e040054 */ lw $a0,0x54($s0) +/* f0f40cc: 0c008cba */ jal 0x232e8 +/* f0f40d0: afa9040c */ sw $t1,0x40c($sp) +/* f0f40d4: 8fb80400 */ lw $t8,0x400($sp) +/* f0f40d8: 8fa3040c */ lw $v1,0x40c($sp) +/* f0f40dc: 3224ffff */ andi $a0,$s1,0xffff +/* f0f40e0: 07010003 */ bgez $t8,.PB0f0f40f0 +/* f0f40e4: 8fab0420 */ lw $t3,0x420($sp) +/* f0f40e8: 10000010 */ b .PB0f0f412c +/* f0f40ec: ae000058 */ sw $zero,0x58($s0) +.PB0f0f40f0: +/* f0f40f0: 8e0a0004 */ lw $t2,0x4($s0) +/* f0f40f4: afb10040 */ sw $s1,0x40($sp) +/* f0f40f8: 01633023 */ subu $a2,$t3,$v1 +/* f0f40fc: 27a70410 */ addiu $a3,$sp,0x410 +/* f0f4100: 0fc6a511 */ jal 0xf1a9444 +/* f0f4104: 01432821 */ addu $a1,$t2,$v1 +/* f0f4108: ae020058 */ sw $v0,0x58($s0) +/* f0f410c: 0fc5a23c */ jal 0xf1688f0 +/* f0f4110: 8fa40040 */ lw $a0,0x40($sp) +/* f0f4114: 8e040058 */ lw $a0,0x58($s0) +/* f0f4118: 8fa50400 */ lw $a1,0x400($sp) +/* f0f411c: 0fc0b7a3 */ jal 0xf02de8c +/* f0f4120: 8fa60404 */ lw $a2,0x404($sp) +/* f0f4124: 0c008cba */ jal 0x232e8 +/* f0f4128: 8e040058 */ lw $a0,0x58($s0) +.PB0f0f412c: +/* f0f412c: 26040060 */ addiu $a0,$s0,0x60 +/* f0f4130: 8e050054 */ lw $a1,0x54($s0) +/* f0f4134: afa4003c */ sw $a0,0x3c($sp) +/* f0f4138: 26060110 */ addiu $a2,$s0,0x110 +/* f0f413c: 0c008d5a */ jal 0x23568 +/* f0f4140: 24070001 */ li $a3,0x1 +/* f0f4144: 26110084 */ addiu $s1,$s0,0x84 +/* f0f4148: 0c008d99 */ jal 0x23664 +/* f0f414c: 02202025 */ move $a0,$s1 +/* f0f4150: 240c0100 */ li $t4,0x100 +/* f0f4154: a60c0062 */ sh $t4,0x62($s0) +/* f0f4158: ae110080 */ sw $s1,0x80($s0) +/* f0f415c: 8e060054 */ lw $a2,0x54($s0) +/* f0f4160: 8e070058 */ lw $a3,0x58($s0) +/* f0f4164: 8fad003c */ lw $t5,0x3c($sp) +/* f0f4168: 240e0001 */ li $t6,0x1 +/* f0f416c: afae001c */ sw $t6,0x1c($sp) +/* f0f4170: afa00018 */ sw $zero,0x18($sp) +/* f0f4174: afa00010 */ sw $zero,0x10($sp) +/* f0f4178: 8fa50400 */ lw $a1,0x400($sp) +/* f0f417c: 8fa40404 */ lw $a0,0x404($sp) +/* f0f4180: 0fc0b3d7 */ jal 0xf02cf5c +/* f0f4184: afad0014 */ sw $t5,0x14($sp) +/* f0f4188: 10000027 */ b .PB0f0f4228 +/* f0f418c: 8e0b000c */ lw $t3,0xc($s0) +.PB0f0f4190: +/* f0f4190: 0fc5a1b1 */ jal 0xf1686c4 +/* f0f4194: 00402025 */ move $a0,$v0 +/* f0f4198: 2443003f */ addiu $v1,$v0,0x3f +/* f0f419c: 346f003f */ ori $t7,$v1,0x3f +/* f0f41a0: 39f9003f */ xori $t9,$t7,0x3f +/* f0f41a4: 8e090004 */ lw $t1,0x4($s0) +/* f0f41a8: 8e180008 */ lw $t8,0x8($s0) +/* f0f41ac: 27234000 */ addiu $v1,$t9,0x4000 +/* f0f41b0: afa30420 */ sw $v1,0x420($sp) +/* f0f41b4: 27a40410 */ addiu $a0,$sp,0x410 +/* f0f41b8: 01232821 */ addu $a1,$t1,$v1 +/* f0f41bc: 0fc5d268 */ jal 0xf1749a0 +/* f0f41c0: 03033023 */ subu $a2,$t8,$v1 +/* f0f41c4: 2402ffff */ li $v0,-1 +/* f0f41c8: a6020002 */ sh $v0,0x2($s0) +/* f0f41cc: a602056a */ sh $v0,0x56a($s0) +/* f0f41d0: 8fa60420 */ lw $a2,0x420($sp) +/* f0f41d4: 9604000e */ lhu $a0,0xe($s0) +/* f0f41d8: 8e050004 */ lw $a1,0x4($s0) +/* f0f41dc: 0fc6a511 */ jal 0xf1a9444 +/* f0f41e0: 27a70410 */ addiu $a3,$sp,0x410 +/* f0f41e4: ae020054 */ sw $v0,0x54($s0) +/* f0f41e8: 0fc5a23c */ jal 0xf1688f0 +/* f0f41ec: 8e04000c */ lw $a0,0xc($s0) +/* f0f41f0: 0c008cba */ jal 0x232e8 +/* f0f41f4: 8e040054 */ lw $a0,0x54($s0) +/* f0f41f8: 26040060 */ addiu $a0,$s0,0x60 +/* f0f41fc: 8e050054 */ lw $a1,0x54($s0) +/* f0f4200: 26060110 */ addiu $a2,$s0,0x110 +/* f0f4204: 0c008d5a */ jal 0x23568 +/* f0f4208: 24070001 */ li $a3,0x1 +/* f0f420c: 26110084 */ addiu $s1,$s0,0x84 +/* f0f4210: 0c008d99 */ jal 0x23664 +/* f0f4214: 02202025 */ move $a0,$s1 +/* f0f4218: 240a0100 */ li $t2,0x100 +/* f0f421c: a60a0062 */ sh $t2,0x62($s0) +/* f0f4220: ae110080 */ sw $s1,0x80($s0) +/* f0f4224: 8e0b000c */ lw $t3,0xc($s0) +.PB0f0f4228: +/* f0f4228: a600005e */ sh $zero,0x5e($s0) +/* f0f422c: ae00000c */ sw $zero,0xc($s0) +/* f0f4230: 10000003 */ b .PB0f0f4240 +/* f0f4234: ae0b0010 */ sw $t3,0x10($s0) +.PB0f0f4238: +/* f0f4238: 100004c4 */ b .PB0f0f554c +/* f0f423c: 8fa20440 */ lw $v0,0x440($sp) +.PB0f0f4240: +/* f0f4240: 8e0c0054 */ lw $t4,0x54($s0) +.PB0f0f4244: +/* f0f4244: 3c0e8007 */ lui $t6,0x8007 +/* f0f4248: 25ce3150 */ addiu $t6,$t6,0x3150 +/* f0f424c: 118004be */ beqz $t4,.PB0f0f5548 +/* f0f4250: 27ad03b8 */ addiu $t5,$sp,0x3b8 +/* f0f4254: 25d9003c */ addiu $t9,$t6,0x3c +.PB0f0f4258: +/* f0f4258: 8dc10000 */ lw $at,0x0($t6) +/* f0f425c: 25ce000c */ addiu $t6,$t6,0xc +/* f0f4260: 25ad000c */ addiu $t5,$t5,0xc +/* f0f4264: ada1fff4 */ sw $at,-0xc($t5) +/* f0f4268: 8dc1fff8 */ lw $at,-0x8($t6) +/* f0f426c: ada1fff8 */ sw $at,-0x8($t5) +/* f0f4270: 8dc1fffc */ lw $at,-0x4($t6) +/* f0f4274: 15d9fff8 */ bne $t6,$t9,.PB0f0f4258 +/* f0f4278: ada1fffc */ sw $at,-0x4($t5) +/* f0f427c: 8dc10000 */ lw $at,0x0($t6) +/* f0f4280: 26090060 */ addiu $t1,$s0,0x60 +/* f0f4284: ada10000 */ sw $at,0x0($t5) +/* f0f4288: 8fb80448 */ lw $t8,0x448($sp) +/* f0f428c: afa9003c */ sw $t1,0x3c($sp) +/* f0f4290: 2b010003 */ slti $at,$t8,0x3 +/* f0f4294: 1020001b */ beqz $at,.PB0f0f4304 +/* f0f4298: 3c0a800a */ lui $t2,0x800a +/* f0f429c: 8d4a64c4 */ lw $t2,0x64c4($t2) +/* f0f42a0: 000a6280 */ sll $t4,$t2,0xa +/* f0f42a4: 05830018 */ bgezl $t4,.PB0f0f4308 +/* f0f42a8: 8faa0440 */ lw $t2,0x440($sp) +/* f0f42ac: 0c002beb */ jal 0xafac +/* f0f42b0: 8fa40440 */ lw $a0,0x440($sp) +/* f0f42b4: afa20440 */ sw $v0,0x440($sp) +/* f0f42b8: 0c002bbf */ jal 0xaefc +/* f0f42bc: 00402025 */ move $a0,$v0 +/* f0f42c0: 3c0f800a */ lui $t7,0x800a +/* f0f42c4: 91ef64c5 */ lbu $t7,0x64c5($t7) +/* f0f42c8: 8fae0448 */ lw $t6,0x448($sp) +/* f0f42cc: 3c01800a */ lui $at,0x800a +/* f0f42d0: 31f9ffdf */ andi $t9,$t7,0xffdf +/* f0f42d4: a03964c5 */ sb $t9,0x64c5($at) +/* f0f42d8: 24010002 */ li $at,0x2 +/* f0f42dc: 11c10003 */ beq $t6,$at,.PB0f0f42ec +/* f0f42e0: afa20440 */ sw $v0,0x440($sp) +/* f0f42e4: 0fc3d596 */ jal 0xf0f5658 +/* f0f42e8: 00402025 */ move $a0,$v0 +.PB0f0f42ec: +/* f0f42ec: 244d0008 */ addiu $t5,$v0,0x8 +/* f0f42f0: afad0440 */ sw $t5,0x440($sp) +/* f0f42f4: 3c09b700 */ lui $t1,0xb700 +/* f0f42f8: 24180001 */ li $t8,0x1 +/* f0f42fc: ac580004 */ sw $t8,0x4($v0) +/* f0f4300: ac490000 */ sw $t1,0x0($v0) +.PB0f0f4304: +/* f0f4304: 8faa0440 */ lw $t2,0x440($sp) +.PB0f0f4308: +/* f0f4308: 3c0f8006 */ lui $t7,0x8006 +/* f0f430c: 25ef2a40 */ addiu $t7,$t7,0x2a40 +/* f0f4310: 254b0008 */ addiu $t3,$t2,0x8 +/* f0f4314: afab0440 */ sw $t3,0x440($sp) +/* f0f4318: 3c0c0600 */ lui $t4,0x600 +/* f0f431c: ad4c0000 */ sw $t4,0x0($t2) +/* f0f4320: ad4f0004 */ sw $t7,0x4($t2) +/* f0f4324: 8fb90440 */ lw $t9,0x440($sp) +/* f0f4328: 3c0d0600 */ lui $t5,0x600 +/* f0f432c: 3c098006 */ lui $t1,0x8006 +/* f0f4330: 272e0008 */ addiu $t6,$t9,0x8 +/* f0f4334: afae0440 */ sw $t6,0x440($sp) +/* f0f4338: 25292a60 */ addiu $t1,$t1,0x2a60 +/* f0f433c: af2d0000 */ sw $t5,0x0($t9) +/* f0f4340: afa90038 */ sw $t1,0x38($sp) +/* f0f4344: af290004 */ sw $t1,0x4($t9) +/* f0f4348: afa00308 */ sw $zero,0x308($sp) +/* f0f434c: c6060554 */ lwc1 $f6,0x554($s0) +/* f0f4350: 44802000 */ mtc1 $zero,$f4 +/* f0f4354: 00000000 */ nop +/* f0f4358: 4606203c */ c.lt.s $f4,$f6 +/* f0f435c: 00000000 */ nop +/* f0f4360: 4500005c */ bc1f .PB0f0f44d4 +/* f0f4364: 24180001 */ li $t8,0x1 +/* f0f4368: afb802f4 */ sw $t8,0x2f4($sp) +/* f0f436c: 8e040054 */ lw $a0,0x54($s0) +/* f0f4370: 3c0a8008 */ lui $t2,0x8008 +/* f0f4374: 254af310 */ addiu $t2,$t2,-3312 +/* f0f4378: 8c8b0004 */ lw $t3,0x4($a0) +/* f0f437c: 554b002f */ bnel $t2,$t3,.PB0f0f443c +/* f0f4380: 8fb902f4 */ lw $t9,0x2f4($sp) +/* f0f4384: 0c006cdb */ jal 0x1b36c +/* f0f4388: 24050006 */ li $a1,0x6 +/* f0f438c: 5040002b */ beqzl $v0,.PB0f0f443c +/* f0f4390: 8fb902f4 */ lw $t9,0x2f4($sp) +/* f0f4394: 8e0c0574 */ lw $t4,0x574($s0) +/* f0f4398: 3c0143c8 */ lui $at,0x43c8 +/* f0f439c: 44818000 */ mtc1 $at,$f16 +/* f0f43a0: 448c4000 */ mtc1 $t4,$f8 +/* f0f43a4: 8c510004 */ lw $s1,0x4($v0) +/* f0f43a8: 468042a0 */ cvt.s.w $f10,$f8 +/* f0f43ac: 0fc01af0 */ jal 0xf006bc0 +/* f0f43b0: 46105303 */ div.s $f12,$f10,$f16 +/* f0f43b4: 44806000 */ mtc1 $zero,$f12 +/* f0f43b8: 3c013f80 */ lui $at,0x3f80 +/* f0f43bc: 44817000 */ mtc1 $at,$f14 +/* f0f43c0: 3c017f1b */ lui $at,0x7f1b +/* f0f43c4: e7ac02fc */ swc1 $f12,0x2fc($sp) +/* f0f43c8: c6320004 */ lwc1 $f18,0x4($s1) +/* f0f43cc: c424466c */ lwc1 $f4,0x466c($at) +/* f0f43d0: 46000202 */ mul.s $f8,$f0,$f0 +/* f0f43d4: 3c014387 */ lui $at,0x4387 +/* f0f43d8: 240f0001 */ li $t7,0x1 +/* f0f43dc: afaf0308 */ sw $t7,0x308($sp) +/* f0f43e0: e7ac0304 */ swc1 $f12,0x304($sp) +/* f0f43e4: 46049183 */ div.s $f6,$f18,$f4 +/* f0f43e8: 46087281 */ sub.s $f10,$f14,$f8 +/* f0f43ec: 44814000 */ mtc1 $at,$f8 +/* f0f43f0: 3c0142c8 */ lui $at,0x42c8 +/* f0f43f4: 46007101 */ sub.s $f4,$f14,$f0 +/* f0f43f8: 460a3402 */ mul.s $f16,$f6,$f10 +/* f0f43fc: 44815000 */ mtc1 $at,$f10 +/* f0f4400: 3c013f00 */ lui $at,0x3f00 +/* f0f4404: 46082182 */ mul.s $f6,$f4,$f8 +/* f0f4408: 46106481 */ sub.s $f18,$f12,$f16 +/* f0f440c: 460a3080 */ add.s $f2,$f6,$f10 +/* f0f4410: e7b20300 */ swc1 $f18,0x300($sp) +/* f0f4414: 44819000 */ mtc1 $at,$f18 +/* f0f4418: e6020554 */ swc1 $f2,0x554($s0) +/* f0f441c: c6300004 */ lwc1 $f16,0x4($s1) +/* f0f4420: afa002f4 */ sw $zero,0x2f4($sp) +/* f0f4424: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4428: 46128102 */ mul.s $f4,$f16,$f18 +/* f0f442c: 46041203 */ div.s $f8,$f2,$f4 +/* f0f4430: 0fc1a322 */ jal 0xf068c88 +/* f0f4434: e7a802f8 */ swc1 $f8,0x2f8($sp) +/* f0f4438: 8fb902f4 */ lw $t9,0x2f4($sp) +.PB0f0f443c: +/* f0f443c: 13200025 */ beqz $t9,.PB0f0f44d4 +/* f0f4440: 00000000 */ nop +/* f0f4444: 0fc1a322 */ jal 0xf068c88 +/* f0f4448: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f444c: 10400021 */ beqz $v0,.PB0f0f44d4 +/* f0f4450: 00000000 */ nop +/* f0f4454: c4400008 */ lwc1 $f0,0x8($v0) +/* f0f4458: c4460004 */ lwc1 $f6,0x4($v0) +/* f0f445c: 3c013f00 */ lui $at,0x3f00 +/* f0f4460: 44817000 */ mtc1 $at,$f14 +/* f0f4464: 46060281 */ sub.s $f10,$f0,$f6 +/* f0f4468: 240e0001 */ li $t6,0x1 +/* f0f446c: 460e5402 */ mul.s $f16,$f10,$f14 +/* f0f4470: 46100481 */ sub.s $f18,$f0,$f16 +/* f0f4474: 46009107 */ neg.s $f4,$f18 +/* f0f4478: e7a402fc */ swc1 $f4,0x2fc($sp) +/* f0f447c: c448000c */ lwc1 $f8,0xc($v0) +/* f0f4480: c4420010 */ lwc1 $f2,0x10($v0) +/* f0f4484: 46081181 */ sub.s $f6,$f2,$f8 +/* f0f4488: 460e3282 */ mul.s $f10,$f6,$f14 +/* f0f448c: 460a1401 */ sub.s $f16,$f2,$f10 +/* f0f4490: 46008487 */ neg.s $f18,$f16 +/* f0f4494: e7b20300 */ swc1 $f18,0x300($sp) +/* f0f4498: c4440014 */ lwc1 $f4,0x14($v0) +/* f0f449c: c44c0018 */ lwc1 $f12,0x18($v0) +/* f0f44a0: afae0308 */ sw $t6,0x308($sp) +/* f0f44a4: 46046201 */ sub.s $f8,$f12,$f4 +/* f0f44a8: 460e4182 */ mul.s $f6,$f8,$f14 +/* f0f44ac: 46066281 */ sub.s $f10,$f12,$f6 +/* f0f44b0: 46005407 */ neg.s $f16,$f10 +/* f0f44b4: e7b00304 */ swc1 $f16,0x304($sp) +/* f0f44b8: c444000c */ lwc1 $f4,0xc($v0) +/* f0f44bc: c4520010 */ lwc1 $f18,0x10($v0) +/* f0f44c0: c60a0554 */ lwc1 $f10,0x554($s0) +/* f0f44c4: 46049201 */ sub.s $f8,$f18,$f4 +/* f0f44c8: 460e4182 */ mul.s $f6,$f8,$f14 +/* f0f44cc: 46065403 */ div.s $f16,$f10,$f6 +/* f0f44d0: e7b002f8 */ swc1 $f16,0x2f8($sp) +.PB0f0f44d4: +/* f0f44d4: 0c005900 */ jal 0x16400 +/* f0f44d8: 27a40350 */ addiu $a0,$sp,0x350 +/* f0f44dc: 8fad0448 */ lw $t5,0x448($sp) +/* f0f44e0: 24010001 */ li $at,0x1 +/* f0f44e4: 15a1007d */ bne $t5,$at,.PB0f0f46dc +/* f0f44e8: 3c098009 */ lui $t1,0x8009 +/* f0f44ec: 91292fd0 */ lbu $t1,0x2fd0($t1) +/* f0f44f0: 24010001 */ li $at,0x1 +/* f0f44f4: 5121012c */ beql $t1,$at,.PB0f0f49a8 +/* f0f44f8: 3c01c2c8 */ lui $at,0xc2c8 +/* f0f44fc: c6000538 */ lwc1 $f0,0x538($s0) +/* f0f4500: c6120510 */ lwc1 $f18,0x510($s0) +/* f0f4504: 3c03800a */ lui $v1,0x800a +/* f0f4508: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f0f450c: 46120032 */ c.eq.s $f0,$f18 +/* f0f4510: 00000000 */ nop +/* f0f4514: 45030014 */ bc1tl .PB0f0f4568 +/* f0f4518: c60c053c */ lwc1 $f12,0x53c($s0) +/* f0f451c: 8c780000 */ lw $t8,0x0($v1) +/* f0f4520: 00001025 */ move $v0,$zero +/* f0f4524: 3c017f1b */ lui $at,0x7f1b +/* f0f4528: 5b00000f */ blezl $t8,.PB0f0f4568 +/* f0f452c: c60c053c */ lwc1 $f12,0x53c($s0) +/* f0f4530: c4244670 */ lwc1 $f4,0x4670($at) +/* f0f4534: 3c017f1b */ lui $at,0x7f1b +/* f0f4538: 46040082 */ mul.s $f2,$f0,$f4 +/* f0f453c: c4204674 */ lwc1 $f0,0x4674($at) +/* f0f4540: c6080510 */ lwc1 $f8,0x510($s0) +.PB0f0f4544: +/* f0f4544: 24420001 */ addiu $v0,$v0,0x1 +/* f0f4548: 46080282 */ mul.s $f10,$f0,$f8 +/* f0f454c: 460a1180 */ add.s $f6,$f2,$f10 +/* f0f4550: e6060510 */ swc1 $f6,0x510($s0) +/* f0f4554: 8c6a0000 */ lw $t2,0x0($v1) +/* f0f4558: 004a082a */ slt $at,$v0,$t2 +/* f0f455c: 5420fff9 */ bnezl $at,.PB0f0f4544 +/* f0f4560: c6080510 */ lwc1 $f8,0x510($s0) +/* f0f4564: c60c053c */ lwc1 $f12,0x53c($s0) +.PB0f0f4568: +/* f0f4568: c6100514 */ lwc1 $f16,0x514($s0) +/* f0f456c: 3c03800a */ lui $v1,0x800a +/* f0f4570: 3c017f1b */ lui $at,0x7f1b +/* f0f4574: 46106032 */ c.eq.s $f12,$f16 +/* f0f4578: c4204678 */ lwc1 $f0,0x4678($at) +/* f0f457c: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f0f4580: 45030013 */ bc1tl .PB0f0f45d0 +/* f0f4584: c60c0540 */ lwc1 $f12,0x540($s0) +/* f0f4588: 8c6b0000 */ lw $t3,0x0($v1) +/* f0f458c: 00001025 */ move $v0,$zero +/* f0f4590: 3c017f1b */ lui $at,0x7f1b +/* f0f4594: 5960000e */ blezl $t3,.PB0f0f45d0 +/* f0f4598: c60c0540 */ lwc1 $f12,0x540($s0) +/* f0f459c: c432467c */ lwc1 $f18,0x467c($at) +/* f0f45a0: 46126082 */ mul.s $f2,$f12,$f18 +/* f0f45a4: 00000000 */ nop +/* f0f45a8: c6040514 */ lwc1 $f4,0x514($s0) +.PB0f0f45ac: +/* f0f45ac: 24420001 */ addiu $v0,$v0,0x1 +/* f0f45b0: 46040202 */ mul.s $f8,$f0,$f4 +/* f0f45b4: 46081280 */ add.s $f10,$f2,$f8 +/* f0f45b8: e60a0514 */ swc1 $f10,0x514($s0) +/* f0f45bc: 8c6c0000 */ lw $t4,0x0($v1) +/* f0f45c0: 004c082a */ slt $at,$v0,$t4 +/* f0f45c4: 5420fff9 */ bnezl $at,.PB0f0f45ac +/* f0f45c8: c6040514 */ lwc1 $f4,0x514($s0) +/* f0f45cc: c60c0540 */ lwc1 $f12,0x540($s0) +.PB0f0f45d0: +/* f0f45d0: c6060518 */ lwc1 $f6,0x518($s0) +/* f0f45d4: 46066032 */ c.eq.s $f12,$f6 +/* f0f45d8: 00000000 */ nop +/* f0f45dc: 45030013 */ bc1tl .PB0f0f462c +/* f0f45e0: c60c0544 */ lwc1 $f12,0x544($s0) +/* f0f45e4: 8c6f0000 */ lw $t7,0x0($v1) +/* f0f45e8: 00001025 */ move $v0,$zero +/* f0f45ec: 3c017f1b */ lui $at,0x7f1b +/* f0f45f0: 59e0000e */ blezl $t7,.PB0f0f462c +/* f0f45f4: c60c0544 */ lwc1 $f12,0x544($s0) +/* f0f45f8: c4304680 */ lwc1 $f16,0x4680($at) +/* f0f45fc: 46106082 */ mul.s $f2,$f12,$f16 +/* f0f4600: 00000000 */ nop +/* f0f4604: c6120518 */ lwc1 $f18,0x518($s0) +.PB0f0f4608: +/* f0f4608: 24420001 */ addiu $v0,$v0,0x1 +/* f0f460c: 46120102 */ mul.s $f4,$f0,$f18 +/* f0f4610: 46041200 */ add.s $f8,$f2,$f4 +/* f0f4614: e6080518 */ swc1 $f8,0x518($s0) +/* f0f4618: 8c790000 */ lw $t9,0x0($v1) +/* f0f461c: 0059082a */ slt $at,$v0,$t9 +/* f0f4620: 5420fff9 */ bnezl $at,.PB0f0f4608 +/* f0f4624: c6120518 */ lwc1 $f18,0x518($s0) +/* f0f4628: c60c0544 */ lwc1 $f12,0x544($s0) +.PB0f0f462c: +/* f0f462c: c60e051c */ lwc1 $f14,0x51c($s0) +/* f0f4630: 460e6032 */ c.eq.s $f12,$f14 +/* f0f4634: 00000000 */ nop +/* f0f4638: 45030014 */ bc1tl .PB0f0f468c +/* f0f463c: c6040510 */ lwc1 $f4,0x510($s0) +/* f0f4640: 8c6e0000 */ lw $t6,0x0($v1) +/* f0f4644: 00001025 */ move $v0,$zero +/* f0f4648: 3c017f1b */ lui $at,0x7f1b +/* f0f464c: 59c0000f */ blezl $t6,.PB0f0f468c +/* f0f4650: c6040510 */ lwc1 $f4,0x510($s0) +/* f0f4654: c42a4684 */ lwc1 $f10,0x4684($at) +/* f0f4658: 460a6082 */ mul.s $f2,$f12,$f10 +/* f0f465c: 00000000 */ nop +/* f0f4660: c606051c */ lwc1 $f6,0x51c($s0) +.PB0f0f4664: +/* f0f4664: 24420001 */ addiu $v0,$v0,0x1 +/* f0f4668: 46060402 */ mul.s $f16,$f0,$f6 +/* f0f466c: 46101480 */ add.s $f18,$f2,$f16 +/* f0f4670: e612051c */ swc1 $f18,0x51c($s0) +/* f0f4674: 8c6d0000 */ lw $t5,0x0($v1) +/* f0f4678: 004d082a */ slt $at,$v0,$t5 +/* f0f467c: 5420fff9 */ bnezl $at,.PB0f0f4664 +/* f0f4680: c606051c */ lwc1 $f6,0x51c($s0) +/* f0f4684: c60e051c */ lwc1 $f14,0x51c($s0) +/* f0f4688: c6040510 */ lwc1 $f4,0x510($s0) +.PB0f0f468c: +/* f0f468c: 27a40398 */ addiu $a0,$sp,0x398 +/* f0f4690: 27a50350 */ addiu $a1,$sp,0x350 +/* f0f4694: e7a40430 */ swc1 $f4,0x430($sp) +/* f0f4698: c6080514 */ lwc1 $f8,0x514($s0) +/* f0f469c: e7a8042c */ swc1 $f8,0x42c($sp) +/* f0f46a0: c60a0518 */ lwc1 $f10,0x518($s0) +/* f0f46a4: e7ae0424 */ swc1 $f14,0x424($sp) +/* f0f46a8: e7aa0428 */ swc1 $f10,0x428($sp) +/* f0f46ac: c6020548 */ lwc1 $f2,0x548($s0) +/* f0f46b0: c60c054c */ lwc1 $f12,0x54c($s0) +/* f0f46b4: c6000550 */ lwc1 $f0,0x550($s0) +/* f0f46b8: e6020520 */ swc1 $f2,0x520($s0) +/* f0f46bc: e60c0524 */ swc1 $f12,0x524($s0) +/* f0f46c0: e6000528 */ swc1 $f0,0x528($s0) +/* f0f46c4: e7a20398 */ swc1 $f2,0x398($sp) +/* f0f46c8: e7ac039c */ swc1 $f12,0x39c($sp) +/* f0f46cc: 0c005bb7 */ jal 0x16edc +/* f0f46d0: e7a003a0 */ swc1 $f0,0x3a0($sp) +/* f0f46d4: 100000b4 */ b .PB0f0f49a8 +/* f0f46d8: 3c01c2c8 */ lui $at,0xc2c8 +.PB0f0f46dc: +/* f0f46dc: 8e0205b0 */ lw $v0,0x5b0($s0) +/* f0f46e0: 3c01800a */ lui $at,0x800a +/* f0f46e4: 00024b00 */ sll $t1,$v0,0xc +/* f0f46e8: 000917c2 */ srl $v0,$t1,0x1f +/* f0f46ec: 10400093 */ beqz $v0,.PB0f0f493c +/* f0f46f0: 00000000 */ nop +/* f0f46f4: c426e4e0 */ lwc1 $f6,-0x1b20($at) +/* f0f46f8: 3c014220 */ lui $at,0x4220 +/* f0f46fc: 44818000 */ mtc1 $at,$f16 +/* f0f4700: c6040564 */ lwc1 $f4,0x564($s0) +/* f0f4704: 3c013f80 */ lui $at,0x3f80 +/* f0f4708: 46103483 */ div.s $f18,$f6,$f16 +/* f0f470c: 44815000 */ mtc1 $at,$f10 +/* f0f4710: 3c017f1b */ lui $at,0x7f1b +/* f0f4714: 46122200 */ add.s $f8,$f4,$f18 +/* f0f4718: e6080564 */ swc1 $f8,0x564($s0) +/* f0f471c: c6000564 */ lwc1 $f0,0x564($s0) +/* f0f4720: 4600503c */ c.lt.s $f10,$f0 +/* f0f4724: 00000000 */ nop +/* f0f4728: 45000010 */ bc1f .PB0f0f476c +/* f0f472c: 00000000 */ nop +/* f0f4730: 920a05b1 */ lbu $t2,0x5b1($s0) +/* f0f4734: c6060538 */ lwc1 $f6,0x538($s0) +/* f0f4738: c610053c */ lwc1 $f16,0x53c($s0) +/* f0f473c: 314bfff7 */ andi $t3,$t2,0xfff7 +/* f0f4740: a20b05b1 */ sb $t3,0x5b1($s0) +/* f0f4744: 8e0205b0 */ lw $v0,0x5b0($s0) +/* f0f4748: c6040540 */ lwc1 $f4,0x540($s0) +/* f0f474c: c6120544 */ lwc1 $f18,0x544($s0) +/* f0f4750: 00026300 */ sll $t4,$v0,0xc +/* f0f4754: 000c17c2 */ srl $v0,$t4,0x1f +/* f0f4758: e6060510 */ swc1 $f6,0x510($s0) +/* f0f475c: e6100514 */ swc1 $f16,0x514($s0) +/* f0f4760: e6040518 */ swc1 $f4,0x518($s0) +/* f0f4764: 10000075 */ b .PB0f0f493c +/* f0f4768: e612051c */ swc1 $f18,0x51c($s0) +.PB0f0f476c: +/* f0f476c: c4284688 */ lwc1 $f8,0x4688($at) +/* f0f4770: 46080302 */ mul.s $f12,$f0,$f8 +/* f0f4774: 0c006b88 */ jal 0x1ae20 +/* f0f4778: 00000000 */ nop +/* f0f477c: 3c013f00 */ lui $at,0x3f00 +/* f0f4780: 44813000 */ mtc1 $at,$f6 +/* f0f4784: 46000287 */ neg.s $f10,$f0 +/* f0f4788: 44812000 */ mtc1 $at,$f4 +/* f0f478c: 46065402 */ mul.s $f16,$f10,$f6 +/* f0f4790: 92020568 */ lbu $v0,0x568($s0) +/* f0f4794: 3c013f80 */ lui $at,0x3f80 +/* f0f4798: 44819000 */ mtc1 $at,$f18 +/* f0f479c: 30590002 */ andi $t9,$v0,0x2 +/* f0f47a0: 27a40398 */ addiu $a0,$sp,0x398 +/* f0f47a4: 27a50350 */ addiu $a1,$sp,0x350 +/* f0f47a8: 46048080 */ add.s $f2,$f16,$f4 +/* f0f47ac: 46001386 */ mov.s $f14,$f2 +/* f0f47b0: 13200017 */ beqz $t9,.PB0f0f4810 +/* f0f47b4: 46029301 */ sub.s $f12,$f18,$f2 +/* f0f47b8: c6080510 */ lwc1 $f8,0x510($s0) +/* f0f47bc: c6060538 */ lwc1 $f6,0x538($s0) +/* f0f47c0: 460c4282 */ mul.s $f10,$f8,$f12 +/* f0f47c4: 00000000 */ nop +/* f0f47c8: 46061402 */ mul.s $f16,$f2,$f6 +/* f0f47cc: 46105100 */ add.s $f4,$f10,$f16 +/* f0f47d0: e7a40430 */ swc1 $f4,0x430($sp) +/* f0f47d4: c6120514 */ lwc1 $f18,0x514($s0) +/* f0f47d8: c606053c */ lwc1 $f6,0x53c($s0) +/* f0f47dc: 460c9202 */ mul.s $f8,$f18,$f12 +/* f0f47e0: 00000000 */ nop +/* f0f47e4: 46061282 */ mul.s $f10,$f2,$f6 +/* f0f47e8: 460a4400 */ add.s $f16,$f8,$f10 +/* f0f47ec: e7b0042c */ swc1 $f16,0x42c($sp) +/* f0f47f0: c6040518 */ lwc1 $f4,0x518($s0) +/* f0f47f4: c6060540 */ lwc1 $f6,0x540($s0) +/* f0f47f8: 460c2482 */ mul.s $f18,$f4,$f12 +/* f0f47fc: 00000000 */ nop +/* f0f4800: 46061202 */ mul.s $f8,$f2,$f6 +/* f0f4804: 46089280 */ add.s $f10,$f18,$f8 +/* f0f4808: 1000000b */ b .PB0f0f4838 +/* f0f480c: e7aa0428 */ swc1 $f10,0x428($sp) +.PB0f0f4810: +/* f0f4810: c6000538 */ lwc1 $f0,0x538($s0) +/* f0f4814: e6000510 */ swc1 $f0,0x510($s0) +/* f0f4818: e7a00430 */ swc1 $f0,0x430($sp) +/* f0f481c: c600053c */ lwc1 $f0,0x53c($s0) +/* f0f4820: e6000514 */ swc1 $f0,0x514($s0) +/* f0f4824: e7a0042c */ swc1 $f0,0x42c($sp) +/* f0f4828: c6000540 */ lwc1 $f0,0x540($s0) +/* f0f482c: e6000518 */ swc1 $f0,0x518($s0) +/* f0f4830: e7a00428 */ swc1 $f0,0x428($sp) +/* f0f4834: 92020568 */ lbu $v0,0x568($s0) +.PB0f0f4838: +/* f0f4838: 304e0001 */ andi $t6,$v0,0x1 +/* f0f483c: 51c0000a */ beqzl $t6,.PB0f0f4868 +/* f0f4840: c6000544 */ lwc1 $f0,0x544($s0) +/* f0f4844: c610051c */ lwc1 $f16,0x51c($s0) +/* f0f4848: c6060544 */ lwc1 $f6,0x544($s0) +/* f0f484c: 460c8102 */ mul.s $f4,$f16,$f12 +/* f0f4850: 00000000 */ nop +/* f0f4854: 46067482 */ mul.s $f18,$f14,$f6 +/* f0f4858: 46122200 */ add.s $f8,$f4,$f18 +/* f0f485c: 10000005 */ b .PB0f0f4874 +/* f0f4860: e7a80424 */ swc1 $f8,0x424($sp) +/* f0f4864: c6000544 */ lwc1 $f0,0x544($s0) +.PB0f0f4868: +/* f0f4868: e600051c */ swc1 $f0,0x51c($s0) +/* f0f486c: e7a00424 */ swc1 $f0,0x424($sp) +/* f0f4870: 92020568 */ lbu $v0,0x568($s0) +.PB0f0f4874: +/* f0f4874: 304d0004 */ andi $t5,$v0,0x4 +/* f0f4878: 51a00024 */ beqzl $t5,.PB0f0f490c +/* f0f487c: c6020548 */ lwc1 $f2,0x548($s0) +/* f0f4880: c60a0520 */ lwc1 $f10,0x520($s0) +/* f0f4884: 27b10290 */ addiu $s1,$sp,0x290 +/* f0f4888: 02202025 */ move $a0,$s1 +/* f0f488c: e7aa0290 */ swc1 $f10,0x290($sp) +/* f0f4890: c6100524 */ lwc1 $f16,0x524($s0) +/* f0f4894: 27a502bc */ addiu $a1,$sp,0x2bc +/* f0f4898: e7b00294 */ swc1 $f16,0x294($sp) +/* f0f489c: c6060528 */ lwc1 $f6,0x528($s0) +/* f0f48a0: e7ae02d0 */ swc1 $f14,0x2d0($sp) +/* f0f48a4: 0fc25ac4 */ jal 0xf096b10 +/* f0f48a8: e7a60298 */ swc1 $f6,0x298($sp) +/* f0f48ac: c6040548 */ lwc1 $f4,0x548($s0) +/* f0f48b0: 02202025 */ move $a0,$s1 +/* f0f48b4: 27a502ac */ addiu $a1,$sp,0x2ac +/* f0f48b8: e7a40290 */ swc1 $f4,0x290($sp) +/* f0f48bc: c612054c */ lwc1 $f18,0x54c($s0) +/* f0f48c0: e7b20294 */ swc1 $f18,0x294($sp) +/* f0f48c4: c6080550 */ lwc1 $f8,0x550($s0) +/* f0f48c8: 0fc25ac4 */ jal 0xf096b10 +/* f0f48cc: e7a80298 */ swc1 $f8,0x298($sp) +/* f0f48d0: c7ae02d0 */ lwc1 $f14,0x2d0($sp) +/* f0f48d4: 27b1029c */ addiu $s1,$sp,0x29c +/* f0f48d8: 02203825 */ move $a3,$s1 +/* f0f48dc: 44067000 */ mfc1 $a2,$f14 +/* f0f48e0: 27a402bc */ addiu $a0,$sp,0x2bc +/* f0f48e4: 0fc25c4a */ jal 0xf097128 +/* f0f48e8: 27a502ac */ addiu $a1,$sp,0x2ac +/* f0f48ec: 02202025 */ move $a0,$s1 +/* f0f48f0: 0fc25b51 */ jal 0xf096d44 +/* f0f48f4: 27a50350 */ addiu $a1,$sp,0x350 +/* f0f48f8: 8e0205b0 */ lw $v0,0x5b0($s0) +/* f0f48fc: 00024b00 */ sll $t1,$v0,0xc +/* f0f4900: 1000000e */ b .PB0f0f493c +/* f0f4904: 000917c2 */ srl $v0,$t1,0x1f +/* f0f4908: c6020548 */ lwc1 $f2,0x548($s0) +.PB0f0f490c: +/* f0f490c: c60c054c */ lwc1 $f12,0x54c($s0) +/* f0f4910: c6000550 */ lwc1 $f0,0x550($s0) +/* f0f4914: e6020520 */ swc1 $f2,0x520($s0) +/* f0f4918: e60c0524 */ swc1 $f12,0x524($s0) +/* f0f491c: e6000528 */ swc1 $f0,0x528($s0) +/* f0f4920: e7a20398 */ swc1 $f2,0x398($sp) +/* f0f4924: e7ac039c */ swc1 $f12,0x39c($sp) +/* f0f4928: 0c005bb7 */ jal 0x16edc +/* f0f492c: e7a003a0 */ swc1 $f0,0x3a0($sp) +/* f0f4930: 8e0205b0 */ lw $v0,0x5b0($s0) +/* f0f4934: 00025300 */ sll $t2,$v0,0xc +/* f0f4938: 000a17c2 */ srl $v0,$t2,0x1f +.PB0f0f493c: +/* f0f493c: 5440001a */ bnezl $v0,.PB0f0f49a8 +/* f0f4940: 3c01c2c8 */ lui $at,0xc2c8 +/* f0f4944: c6000538 */ lwc1 $f0,0x538($s0) +/* f0f4948: 27a40398 */ addiu $a0,$sp,0x398 +/* f0f494c: 27a50350 */ addiu $a1,$sp,0x350 +/* f0f4950: e6000510 */ swc1 $f0,0x510($s0) +/* f0f4954: e7a00430 */ swc1 $f0,0x430($sp) +/* f0f4958: c600053c */ lwc1 $f0,0x53c($s0) +/* f0f495c: e6000514 */ swc1 $f0,0x514($s0) +/* f0f4960: e7a0042c */ swc1 $f0,0x42c($sp) +/* f0f4964: c6000540 */ lwc1 $f0,0x540($s0) +/* f0f4968: e6000518 */ swc1 $f0,0x518($s0) +/* f0f496c: e7a00428 */ swc1 $f0,0x428($sp) +/* f0f4970: c6000544 */ lwc1 $f0,0x544($s0) +/* f0f4974: e600051c */ swc1 $f0,0x51c($s0) +/* f0f4978: e7a00424 */ swc1 $f0,0x424($sp) +/* f0f497c: c6020548 */ lwc1 $f2,0x548($s0) +/* f0f4980: c60c054c */ lwc1 $f12,0x54c($s0) +/* f0f4984: c6000550 */ lwc1 $f0,0x550($s0) +/* f0f4988: e6020520 */ swc1 $f2,0x520($s0) +/* f0f498c: e60c0524 */ swc1 $f12,0x524($s0) +/* f0f4990: e6000528 */ swc1 $f0,0x528($s0) +/* f0f4994: e7a20398 */ swc1 $f2,0x398($sp) +/* f0f4998: e7ac039c */ swc1 $f12,0x39c($sp) +/* f0f499c: 0c005bb7 */ jal 0x16edc +/* f0f49a0: e7a003a0 */ swc1 $f0,0x3a0($sp) +/* f0f49a4: 3c01c2c8 */ lui $at,0xc2c8 +.PB0f0f49a8: +/* f0f49a8: 44815000 */ mtc1 $at,$f10 +/* f0f49ac: c7b00428 */ lwc1 $f16,0x428($sp) +/* f0f49b0: 8fac0448 */ lw $t4,0x448($sp) +/* f0f49b4: 24010001 */ li $at,0x1 +/* f0f49b8: 46105180 */ add.s $f6,$f10,$f16 +/* f0f49bc: 15810011 */ bne $t4,$at,.PB0f0f4a04 +/* f0f49c0: e7a6030c */ swc1 $f6,0x30c($sp) +/* f0f49c4: 3c0f8009 */ lui $t7,0x8009 +/* f0f49c8: 91ef2fd0 */ lbu $t7,0x2fd0($t7) +/* f0f49cc: 24010001 */ li $at,0x1 +/* f0f49d0: 3c198008 */ lui $t9,0x8008 +/* f0f49d4: 51e10032 */ beql $t7,$at,.PB0f0f4aa0 +/* f0f49d8: 27a40390 */ addiu $a0,$sp,0x390 +/* f0f49dc: 8f391f90 */ lw $t9,0x1f90($t9) +/* f0f49e0: c6040510 */ lwc1 $f4,0x510($s0) +/* f0f49e4: 44999000 */ mtc1 $t9,$f18 +/* f0f49e8: 00000000 */ nop +/* f0f49ec: 46809220 */ cvt.s.w $f8,$f18 +/* f0f49f0: 46082282 */ mul.s $f10,$f4,$f8 +/* f0f49f4: e7aa0390 */ swc1 $f10,0x390($sp) +/* f0f49f8: c6100514 */ lwc1 $f16,0x514($s0) +/* f0f49fc: 10000027 */ b .PB0f0f4a9c +/* f0f4a00: e7b00394 */ swc1 $f16,0x394($sp) +.PB0f0f4a04: +/* f0f4a04: 0c002e8b */ jal 0xba2c +/* f0f4a08: 00000000 */ nop +/* f0f4a0c: 00028c00 */ sll $s1,$v0,0x10 +/* f0f4a10: 00117403 */ sra $t6,$s1,0x10 +/* f0f4a14: 0c002e6d */ jal 0xb9b4 +/* f0f4a18: 01c08825 */ move $s1,$t6 +/* f0f4a1c: 44823000 */ mtc1 $v0,$f6 +/* f0f4a20: 3c0d8008 */ lui $t5,0x8008 +/* f0f4a24: 8dad1f90 */ lw $t5,0x1f90($t5) +/* f0f4a28: 468034a0 */ cvt.s.w $f18,$f6 +/* f0f4a2c: 3c013f00 */ lui $at,0x3f00 +/* f0f4a30: 448d8000 */ mtc1 $t5,$f16 +/* f0f4a34: 44812000 */ mtc1 $at,$f4 +/* f0f4a38: c7aa0430 */ lwc1 $f10,0x430($sp) +/* f0f4a3c: 468081a0 */ cvt.s.w $f6,$f16 +/* f0f4a40: 46049202 */ mul.s $f8,$f18,$f4 +/* f0f4a44: 44912000 */ mtc1 $s1,$f4 +/* f0f4a48: 46065482 */ mul.s $f18,$f10,$f6 +/* f0f4a4c: 46802420 */ cvt.s.w $f16,$f4 +/* f0f4a50: 46109280 */ add.s $f10,$f18,$f16 +/* f0f4a54: 460a4180 */ add.s $f6,$f8,$f10 +/* f0f4a58: 0c002e8f */ jal 0xba3c +/* f0f4a5c: e7a60390 */ swc1 $f6,0x390($sp) +/* f0f4a60: 00028c00 */ sll $s1,$v0,0x10 +/* f0f4a64: 00114c03 */ sra $t1,$s1,0x10 +/* f0f4a68: 0c002e71 */ jal 0xb9c4 +/* f0f4a6c: 01208825 */ move $s1,$t1 +/* f0f4a70: 44822000 */ mtc1 $v0,$f4 +/* f0f4a74: 44913000 */ mtc1 $s1,$f6 +/* f0f4a78: 3c013f00 */ lui $at,0x3f00 +/* f0f4a7c: 468024a0 */ cvt.s.w $f18,$f4 +/* f0f4a80: 44818000 */ mtc1 $at,$f16 +/* f0f4a84: c7aa042c */ lwc1 $f10,0x42c($sp) +/* f0f4a88: 46803120 */ cvt.s.w $f4,$f6 +/* f0f4a8c: 46109202 */ mul.s $f8,$f18,$f16 +/* f0f4a90: 46045480 */ add.s $f18,$f10,$f4 +/* f0f4a94: 46124400 */ add.s $f16,$f8,$f18 +/* f0f4a98: e7b00394 */ swc1 $f16,0x394($sp) +.PB0f0f4a9c: +/* f0f4a9c: 27a40390 */ addiu $a0,$sp,0x390 +.PB0f0f4aa0: +/* f0f4aa0: 27a50398 */ addiu $a1,$sp,0x398 +/* f0f4aa4: 0fc2d413 */ jal 0xf0b504c +/* f0f4aa8: 3c063f80 */ lui $a2,0x3f80 +/* f0f4aac: 0c005900 */ jal 0x16400 +/* f0f4ab0: 27a40310 */ addiu $a0,$sp,0x310 +/* f0f4ab4: 8e0205b4 */ lw $v0,0x5b4($s0) +/* f0f4ab8: 5040001d */ beqzl $v0,.PB0f0f4b30 +/* f0f4abc: 8fab0448 */ lw $t3,0x448($sp) +/* f0f4ac0: 90450000 */ lbu $a1,0x0($v0) +/* f0f4ac4: 241100ff */ li $s1,0xff +/* f0f4ac8: 00401825 */ move $v1,$v0 +/* f0f4acc: 52250018 */ beql $s1,$a1,.PB0f0f4b30 +/* f0f4ad0: 8fab0448 */ lw $t3,0x448($sp) +/* f0f4ad4: 8e040054 */ lw $a0,0x54($s0) +.PB0f0f4ad8: +/* f0f4ad8: 0c006cdb */ jal 0x1b36c +/* f0f4adc: afa3028c */ sw $v1,0x28c($sp) +/* f0f4ae0: 8fa3028c */ lw $v1,0x28c($sp) +/* f0f4ae4: 1040000d */ beqz $v0,.PB0f0f4b1c +/* f0f4ae8: 00402825 */ move $a1,$v0 +/* f0f4aec: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4af0: 0c006d1b */ jal 0x1b46c +/* f0f4af4: afa3028c */ sw $v1,0x28c($sp) +/* f0f4af8: 10400008 */ beqz $v0,.PB0f0f4b1c +/* f0f4afc: 8fa3028c */ lw $v1,0x28c($sp) +/* f0f4b00: 90780001 */ lbu $t8,0x1($v1) +/* f0f4b04: 240a0001 */ li $t2,0x1 +/* f0f4b08: 53000004 */ beqzl $t8,.PB0f0f4b1c +/* f0f4b0c: ac400000 */ sw $zero,0x0($v0) +/* f0f4b10: 10000002 */ b .PB0f0f4b1c +/* f0f4b14: ac4a0000 */ sw $t2,0x0($v0) +/* f0f4b18: ac400000 */ sw $zero,0x0($v0) +.PB0f0f4b1c: +/* f0f4b1c: 90650002 */ lbu $a1,0x2($v1) +/* f0f4b20: 24630002 */ addiu $v1,$v1,0x2 +/* f0f4b24: 5625ffec */ bnel $s1,$a1,.PB0f0f4ad8 +/* f0f4b28: 8e040054 */ lw $a0,0x54($s0) +/* f0f4b2c: 8fab0448 */ lw $t3,0x448($sp) +.PB0f0f4b30: +/* f0f4b30: 24010003 */ li $at,0x3 +/* f0f4b34: 27a40398 */ addiu $a0,$sp,0x398 +/* f0f4b38: 55610009 */ bnel $t3,$at,.PB0f0f4b60 +/* f0f4b3c: c7a203a0 */ lwc1 $f2,0x3a0($sp) +/* f0f4b40: c6060510 */ lwc1 $f6,0x510($s0) +/* f0f4b44: e7a60398 */ swc1 $f6,0x398($sp) +/* f0f4b48: c60a0514 */ lwc1 $f10,0x514($s0) +/* f0f4b4c: e7aa039c */ swc1 $f10,0x39c($sp) +/* f0f4b50: c6040518 */ lwc1 $f4,0x518($s0) +/* f0f4b54: 1000000e */ b .PB0f0f4b90 +/* f0f4b58: e7a403a0 */ swc1 $f4,0x3a0($sp) +/* f0f4b5c: c7a203a0 */ lwc1 $f2,0x3a0($sp) +.PB0f0f4b60: +/* f0f4b60: c7a8030c */ lwc1 $f8,0x30c($sp) +/* f0f4b64: c7b20398 */ lwc1 $f18,0x398($sp) +/* f0f4b68: c7a6039c */ lwc1 $f6,0x39c($sp) +/* f0f4b6c: 46024003 */ div.s $f0,$f8,$f2 +/* f0f4b70: 46120402 */ mul.s $f16,$f0,$f18 +/* f0f4b74: 00000000 */ nop +/* f0f4b78: 46060282 */ mul.s $f10,$f0,$f6 +/* f0f4b7c: 00000000 */ nop +/* f0f4b80: 46020082 */ mul.s $f2,$f0,$f2 +/* f0f4b84: e7b00398 */ swc1 $f16,0x398($sp) +/* f0f4b88: e7aa039c */ swc1 $f10,0x39c($sp) +/* f0f4b8c: e7a203a0 */ swc1 $f2,0x3a0($sp) +.PB0f0f4b90: +/* f0f4b90: 0c005c4b */ jal 0x1712c +/* f0f4b94: 27a50310 */ addiu $a1,$sp,0x310 +/* f0f4b98: 8fac0308 */ lw $t4,0x308($sp) +/* f0f4b9c: 5180000a */ beqzl $t4,.PB0f0f4bc8 +/* f0f4ba0: c7ac0424 */ lwc1 $f12,0x424($sp) +/* f0f4ba4: c7a40424 */ lwc1 $f4,0x424($sp) +/* f0f4ba8: c7a802f8 */ lwc1 $f8,0x2f8($sp) +/* f0f4bac: 27a50310 */ addiu $a1,$sp,0x310 +/* f0f4bb0: 46082302 */ mul.s $f12,$f4,$f8 +/* f0f4bb4: 0c005a55 */ jal 0x16954 +/* f0f4bb8: 00000000 */ nop +/* f0f4bbc: 10000005 */ b .PB0f0f4bd4 +/* f0f4bc0: 8faf0308 */ lw $t7,0x308($sp) +/* f0f4bc4: c7ac0424 */ lwc1 $f12,0x424($sp) +.PB0f0f4bc8: +/* f0f4bc8: 0c005a55 */ jal 0x16954 +/* f0f4bcc: 27a50310 */ addiu $a1,$sp,0x310 +/* f0f4bd0: 8faf0308 */ lw $t7,0x308($sp) +.PB0f0f4bd4: +/* f0f4bd4: 11e00005 */ beqz $t7,.PB0f0f4bec +/* f0f4bd8: 27a402fc */ addiu $a0,$sp,0x2fc +/* f0f4bdc: 0c005c4b */ jal 0x1712c +/* f0f4be0: 27a50204 */ addiu $a1,$sp,0x204 +/* f0f4be4: 1000000b */ b .PB0f0f4c14 +/* f0f4be8: 27b10244 */ addiu $s1,$sp,0x244 +.PB0f0f4bec: +/* f0f4bec: c612052c */ lwc1 $f18,0x52c($s0) +/* f0f4bf0: 27a40398 */ addiu $a0,$sp,0x398 +/* f0f4bf4: 27a50204 */ addiu $a1,$sp,0x204 +/* f0f4bf8: e7b20398 */ swc1 $f18,0x398($sp) +/* f0f4bfc: c6100530 */ lwc1 $f16,0x530($s0) +/* f0f4c00: e7b0039c */ swc1 $f16,0x39c($sp) +/* f0f4c04: c6060534 */ lwc1 $f6,0x534($s0) +/* f0f4c08: 0c005c4b */ jal 0x1712c +/* f0f4c0c: e7a603a0 */ swc1 $f6,0x3a0($sp) +/* f0f4c10: 27b10244 */ addiu $s1,$sp,0x244 +.PB0f0f4c14: +/* f0f4c14: 02203025 */ move $a2,$s1 +/* f0f4c18: 27a40310 */ addiu $a0,$sp,0x310 +/* f0f4c1c: 0c005914 */ jal 0x16450 +/* f0f4c20: 27a50350 */ addiu $a1,$sp,0x350 +/* f0f4c24: 8fb90448 */ lw $t9,0x448($sp) +/* f0f4c28: 24010003 */ li $at,0x3 +/* f0f4c2c: 5721000f */ bnel $t9,$at,.PB0f0f4c6c +/* f0f4c30: 26060014 */ addiu $a2,$s0,0x14 +/* f0f4c34: 0fc4f0e5 */ jal 0xf13c394 +/* f0f4c38: 27a401c4 */ addiu $a0,$sp,0x1c4 +/* f0f4c3c: 27a401c4 */ addiu $a0,$sp,0x1c4 +/* f0f4c40: 02202825 */ move $a1,$s1 +/* f0f4c44: 0c005914 */ jal 0x16450 +/* f0f4c48: 27a60184 */ addiu $a2,$sp,0x184 +/* f0f4c4c: 26060014 */ addiu $a2,$s0,0x14 +/* f0f4c50: afa60040 */ sw $a2,0x40($sp) +/* f0f4c54: 27a40184 */ addiu $a0,$sp,0x184 +/* f0f4c58: 0c005914 */ jal 0x16450 +/* f0f4c5c: 27a50204 */ addiu $a1,$sp,0x204 +/* f0f4c60: 10000006 */ b .PB0f0f4c7c +/* f0f4c64: 00000000 */ nop +/* f0f4c68: 26060014 */ addiu $a2,$s0,0x14 +.PB0f0f4c6c: +/* f0f4c6c: afa60040 */ sw $a2,0x40($sp) +/* f0f4c70: 02202025 */ move $a0,$s1 +/* f0f4c74: 0c005914 */ jal 0x16450 +/* f0f4c78: 27a50204 */ addiu $a1,$sp,0x204 +.PB0f0f4c7c: +/* f0f4c7c: 0fc38a19 */ jal 0xf0e2864 +/* f0f4c80: 8fa40440 */ lw $a0,0x440($sp) +/* f0f4c84: 8fae0448 */ lw $t6,0x448($sp) +/* f0f4c88: afa20440 */ sw $v0,0x440($sp) +/* f0f4c8c: 29c10003 */ slti $at,$t6,0x3 +/* f0f4c90: 5020006f */ beqzl $at,.PB0f0f4e50 +/* f0f4c94: 8e090054 */ lw $t1,0x54($s0) +/* f0f4c98: 11c0000e */ beqz $t6,.PB0f0f4cd4 +/* f0f4c9c: 3c11800a */ lui $s1,0x800a +/* f0f4ca0: 0fc3539a */ jal 0xf0d4e68 +/* f0f4ca4: 00402025 */ move $a0,$v0 +/* f0f4ca8: 244d0008 */ addiu $t5,$v0,0x8 +/* f0f4cac: 3c090103 */ lui $t1,0x103 +/* f0f4cb0: 35290040 */ ori $t1,$t1,0x40 +/* f0f4cb4: afad0440 */ sw $t5,0x440($sp) +/* f0f4cb8: ac490000 */ sw $t1,0x0($v0) +/* f0f4cbc: 0fc2d4fe */ jal 0xf0b53f8 +/* f0f4cc0: 00408825 */ move $s1,$v0 +/* f0f4cc4: 0c012de0 */ jal 0x4b780 +/* f0f4cc8: 00402025 */ move $a0,$v0 +/* f0f4ccc: 1000005f */ b .PB0f0f4e4c +/* f0f4cd0: ae220004 */ sw $v0,0x4($s1) +.PB0f0f4cd4: +/* f0f4cd4: 26316568 */ addiu $s1,$s1,0x6568 +/* f0f4cd8: 3c18800a */ lui $t8,0x800a +/* f0f4cdc: 3c0c800a */ lui $t4,0x800a +/* f0f4ce0: 3c0f800a */ lui $t7,0x800a +/* f0f4ce4: 8def6570 */ lw $t7,0x6570($t7) +/* f0f4ce8: 8d8c6574 */ lw $t4,0x6574($t4) +/* f0f4cec: 8f18656c */ lw $t8,0x656c($t8) +/* f0f4cf0: 8e2a0000 */ lw $t2,0x0($s1) +/* f0f4cf4: 018fc823 */ subu $t9,$t4,$t7 +/* f0f4cf8: 44994000 */ mtc1 $t9,$f8 +/* f0f4cfc: 030a5823 */ subu $t3,$t8,$t2 +/* f0f4d00: 448b5000 */ mtc1 $t3,$f10 +/* f0f4d04: 468044a0 */ cvt.s.w $f18,$f8 +/* f0f4d08: 3c047f1b */ lui $a0,0x7f1b +/* f0f4d0c: 3c058007 */ lui $a1,0x8007 +/* f0f4d10: 24a53190 */ addiu $a1,$a1,0x3190 +/* f0f4d14: 24844330 */ addiu $a0,$a0,0x4330 +/* f0f4d18: 46805120 */ cvt.s.w $f4,$f10 +/* f0f4d1c: 46122403 */ div.s $f16,$f4,$f18 +/* f0f4d20: 0c003648 */ jal 0xd920 +/* f0f4d24: e7b0017c */ swc1 $f16,0x17c($sp) +/* f0f4d28: 3c047f1b */ lui $a0,0x7f1b +/* f0f4d2c: 3c058007 */ lui $a1,0x8007 +/* f0f4d30: 24a53194 */ addiu $a1,$a1,0x3194 +/* f0f4d34: 0c003648 */ jal 0xd920 +/* f0f4d38: 24844334 */ addiu $a0,$a0,0x4334 +/* f0f4d3c: 0fc3539a */ jal 0xf0d4e68 +/* f0f4d40: 8fa40440 */ lw $a0,0x440($sp) +/* f0f4d44: 3c0d8008 */ lui $t5,0x8008 +/* f0f4d48: 8dad1f90 */ lw $t5,0x1f90($t5) +/* f0f4d4c: 8e2e0000 */ lw $t6,0x0($s1) +/* f0f4d50: 3c05800a */ lui $a1,0x800a +/* f0f4d54: afa20440 */ sw $v0,0x440($sp) +/* f0f4d58: 01cd0019 */ multu $t6,$t5 +/* f0f4d5c: 84a56572 */ lh $a1,0x6572($a1) +/* f0f4d60: 00002012 */ mflo $a0 +/* f0f4d64: 00044c00 */ sll $t1,$a0,0x10 +/* f0f4d68: 0c002e75 */ jal 0xb9d4 +/* f0f4d6c: 00092403 */ sra $a0,$t1,0x10 +/* f0f4d70: 3c0b800a */ lui $t3,0x800a +/* f0f4d74: 8d6b656c */ lw $t3,0x656c($t3) +/* f0f4d78: 8e2c0000 */ lw $t4,0x0($s1) +/* f0f4d7c: 3c198008 */ lui $t9,0x8008 +/* f0f4d80: 8f391f90 */ lw $t9,0x1f90($t9) +/* f0f4d84: 016c7823 */ subu $t7,$t3,$t4 +/* f0f4d88: 3c0a800a */ lui $t2,0x800a +/* f0f4d8c: 01f90019 */ multu $t7,$t9 +/* f0f4d90: 3c09800a */ lui $t1,0x800a +/* f0f4d94: 3c18800a */ lui $t8,0x800a +/* f0f4d98: 8f186570 */ lw $t8,0x6570($t8) +/* f0f4d9c: 8d296574 */ lw $t1,0x6574($t1) +/* f0f4da0: 8d4ae754 */ lw $t2,-0x18ac($t2) +/* f0f4da4: c7ae017c */ lwc1 $f14,0x17c($sp) +/* f0f4da8: 01383823 */ subu $a3,$t1,$t8 +/* f0f4dac: c54c1854 */ lwc1 $f12,0x1854($t2) +/* f0f4db0: 00075400 */ sll $t2,$a3,0x10 +/* f0f4db4: 00003012 */ mflo $a2 +/* f0f4db8: 00067400 */ sll $t6,$a2,0x10 +/* f0f4dbc: 000e3403 */ sra $a2,$t6,0x10 +/* f0f4dc0: 0c002ec1 */ jal 0xbb04 +/* f0f4dc4: 000a3c03 */ sra $a3,$t2,0x10 +/* f0f4dc8: 3c0c8007 */ lui $t4,0x8007 +/* f0f4dcc: 8d8c3118 */ lw $t4,0x3118($t4) +/* f0f4dd0: 3c19800a */ lui $t9,0x800a +/* f0f4dd4: 27396578 */ addiu $t9,$t9,0x6578 +/* f0f4dd8: 000c7940 */ sll $t7,$t4,0x5 +/* f0f4ddc: 01f92821 */ addu $a1,$t7,$t9 +/* f0f4de0: 0c002b0b */ jal 0xac2c +/* f0f4de4: 8fa40440 */ lw $a0,0x440($sp) +/* f0f4de8: 3c0e8007 */ lui $t6,0x8007 +/* f0f4dec: 8dce3190 */ lw $t6,0x3190($t6) +/* f0f4df0: afa20440 */ sw $v0,0x440($sp) +/* f0f4df4: 00402025 */ move $a0,$v0 +/* f0f4df8: 448e3000 */ mtc1 $t6,$f6 +/* f0f4dfc: 3c0d8007 */ lui $t5,0x8007 +/* f0f4e00: 05c10005 */ bgez $t6,.PB0f0f4e18 +/* f0f4e04: 468031a0 */ cvt.s.w $f6,$f6 +/* f0f4e08: 3c014f80 */ lui $at,0x4f80 +/* f0f4e0c: 44815000 */ mtc1 $at,$f10 +/* f0f4e10: 00000000 */ nop +/* f0f4e14: 460a3180 */ add.s $f6,$f6,$f10 +.PB0f0f4e18: +/* f0f4e18: 8dad3194 */ lw $t5,0x3194($t5) +/* f0f4e1c: 44053000 */ mfc1 $a1,$f6 +/* f0f4e20: 3c014f80 */ lui $at,0x4f80 +/* f0f4e24: 448d4000 */ mtc1 $t5,$f8 +/* f0f4e28: 05a10004 */ bgez $t5,.PB0f0f4e3c +/* f0f4e2c: 46804220 */ cvt.s.w $f8,$f8 +/* f0f4e30: 44812000 */ mtc1 $at,$f4 +/* f0f4e34: 00000000 */ nop +/* f0f4e38: 46044200 */ add.s $f8,$f8,$f4 +.PB0f0f4e3c: +/* f0f4e3c: 44064000 */ mfc1 $a2,$f8 +/* f0f4e40: 0c002a74 */ jal 0xa9d0 +/* f0f4e44: 00000000 */ nop +/* f0f4e48: afa20440 */ sw $v0,0x440($sp) +.PB0f0f4e4c: +/* f0f4e4c: 8e090054 */ lw $t1,0x54($s0) +.PB0f0f4e50: +/* f0f4e50: 8524000e */ lh $a0,0xe($t1) +/* f0f4e54: 0004c180 */ sll $t8,$a0,0x6 +/* f0f4e58: 0fc5a419 */ jal 0xf169064 +/* f0f4e5c: 03002025 */ move $a0,$t8 +/* f0f4e60: afa203b4 */ sw $v0,0x3b4($sp) +/* f0f4e64: 8e0a0054 */ lw $t2,0x54($s0) +/* f0f4e68: 00008825 */ move $s1,$zero +/* f0f4e6c: 854b000e */ lh $t3,0xe($t2) +/* f0f4e70: 5960000d */ blezl $t3,.PB0f0f4ea8 +/* f0f4e74: 8605005c */ lh $a1,0x5c($s0) +/* f0f4e78: 8faf03b4 */ lw $t7,0x3b4($sp) +.PB0f0f4e7c: +/* f0f4e7c: 00116180 */ sll $t4,$s1,0x6 +/* f0f4e80: 0c005900 */ jal 0x16400 +/* f0f4e84: 018f2021 */ addu $a0,$t4,$t7 +/* f0f4e88: 8e190054 */ lw $t9,0x54($s0) +/* f0f4e8c: 26310001 */ addiu $s1,$s1,0x1 +/* f0f4e90: 872e000e */ lh $t6,0xe($t9) +/* f0f4e94: 022e082a */ slt $at,$s1,$t6 +/* f0f4e98: 5420fff8 */ bnezl $at,.PB0f0f4e7c +/* f0f4e9c: 8faf03b4 */ lw $t7,0x3b4($sp) +/* f0f4ea0: 00008825 */ move $s1,$zero +/* f0f4ea4: 8605005c */ lh $a1,0x5c($s0) +.PB0f0f4ea8: +/* f0f4ea8: 8fad03b4 */ lw $t5,0x3b4($sp) +/* f0f4eac: 10a00025 */ beqz $a1,.PB0f0f4f44 +/* f0f4eb0: ae0d006c */ sw $t5,0x6c($s0) +/* f0f4eb4: 8609005e */ lh $t1,0x5e($s0) +/* f0f4eb8: 50a90023 */ beql $a1,$t1,.PB0f0f4f48 +/* f0f4ebc: 860f005e */ lh $t7,0x5e($s0) +/* f0f4ec0: 8e1805b0 */ lw $t8,0x5b0($s0) +/* f0f4ec4: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4ec8: 00003025 */ move $a2,$zero +/* f0f4ecc: 00185ac0 */ sll $t3,$t8,0xb +/* f0f4ed0: 05610014 */ bgez $t3,.PB0f0f4f24 +/* f0f4ed4: 3c017f1b */ lui $at,0x7f1b +/* f0f4ed8: 3c017f1b */ lui $at,0x7f1b +/* f0f4edc: c432468c */ lwc1 $f18,0x468c($at) +/* f0f4ee0: 44808000 */ mtc1 $zero,$f16 +/* f0f4ee4: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4ee8: 00003025 */ move $a2,$zero +/* f0f4eec: 24070000 */ li $a3,0x0 +/* f0f4ef0: e7b20010 */ swc1 $f18,0x10($sp) +/* f0f4ef4: 0c0079d7 */ jal 0x1e75c +/* f0f4ef8: e7b00014 */ swc1 $f16,0x14($sp) +/* f0f4efc: 0c00772a */ jal 0x1dca8 +/* f0f4f00: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4f04: 44823000 */ mtc1 $v0,$f6 +/* f0f4f08: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4f0c: 468031a0 */ cvt.s.w $f6,$f6 +/* f0f4f10: 44053000 */ mfc1 $a1,$f6 +/* f0f4f14: 0c007aaa */ jal 0x1eaa8 +/* f0f4f18: 00000000 */ nop +/* f0f4f1c: 10000008 */ b .PB0f0f4f40 +/* f0f4f20: 860c005c */ lh $t4,0x5c($s0) +.PB0f0f4f24: +/* f0f4f24: c42a4690 */ lwc1 $f10,0x4690($at) +/* f0f4f28: 44804000 */ mtc1 $zero,$f8 +/* f0f4f2c: 24070000 */ li $a3,0x0 +/* f0f4f30: e7aa0010 */ swc1 $f10,0x10($sp) +/* f0f4f34: 0c0079d7 */ jal 0x1e75c +/* f0f4f38: e7a80014 */ swc1 $f8,0x14($sp) +/* f0f4f3c: 860c005c */ lh $t4,0x5c($s0) +.PB0f0f4f40: +/* f0f4f40: a60c005e */ sh $t4,0x5e($s0) +.PB0f0f4f44: +/* f0f4f44: 860f005e */ lh $t7,0x5e($s0) +.PB0f0f4f48: +/* f0f4f48: a600005c */ sh $zero,0x5c($s0) +/* f0f4f4c: 11e00023 */ beqz $t7,.PB0f0f4fdc +/* f0f4f50: 3c05800a */ lui $a1,0x800a +/* f0f4f54: 8ca5e510 */ lw $a1,-0x1af0($a1) +/* f0f4f58: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4f5c: 0c007e2a */ jal 0x1f8a8 +/* f0f4f60: 24060001 */ li $a2,0x1 +/* f0f4f64: 8e1905b0 */ lw $t9,0x5b0($s0) +/* f0f4f68: 00196ac0 */ sll $t5,$t9,0xb +/* f0f4f6c: 05a1000c */ bgez $t5,.PB0f0f4fa0 +/* f0f4f70: 00000000 */ nop +/* f0f4f74: 0c00772a */ jal 0x1dca8 +/* f0f4f78: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4f7c: afa2004c */ sw $v0,0x4c($sp) +/* f0f4f80: 0c007703 */ jal 0x1dc0c +/* f0f4f84: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4f88: 8fa9004c */ lw $t1,0x4c($sp) +/* f0f4f8c: 44892000 */ mtc1 $t1,$f4 +/* f0f4f90: 00000000 */ nop +/* f0f4f94: 468024a0 */ cvt.s.w $f18,$f4 +/* f0f4f98: 10000004 */ b .PB0f0f4fac +/* f0f4f9c: 46009081 */ sub.s $f2,$f18,$f0 +.PB0f0f4fa0: +/* f0f4fa0: 0c007703 */ jal 0x1dc0c +/* f0f4fa4: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4fa8: 46000086 */ mov.s $f2,$f0 +.PB0f0f4fac: +/* f0f4fac: 8fa4003c */ lw $a0,0x3c($sp) +/* f0f4fb0: 0c00772a */ jal 0x1dca8 +/* f0f4fb4: e7a20178 */ swc1 $f2,0x178($sp) +/* f0f4fb8: 2458ffff */ addiu $t8,$v0,-1 +/* f0f4fbc: 44988000 */ mtc1 $t8,$f16 +/* f0f4fc0: c7a20178 */ lwc1 $f2,0x178($sp) +/* f0f4fc4: 468081a0 */ cvt.s.w $f6,$f16 +/* f0f4fc8: 4602303e */ c.le.s $f6,$f2 +/* f0f4fcc: 00000000 */ nop +/* f0f4fd0: 45020003 */ bc1fl .PB0f0f4fe0 +/* f0f4fd4: 8fa40040 */ lw $a0,0x40($sp) +/* f0f4fd8: a600005e */ sh $zero,0x5e($s0) +.PB0f0f4fdc: +/* f0f4fdc: 8fa40040 */ lw $a0,0x40($sp) +.PB0f0f4fe0: +/* f0f4fe0: 0c0059da */ jal 0x16768 +/* f0f4fe4: 8fa503b4 */ lw $a1,0x3b4($sp) +/* f0f4fe8: 8faa0040 */ lw $t2,0x40($sp) +/* f0f4fec: 27a403b8 */ addiu $a0,$sp,0x3b8 +/* f0f4ff0: 8fa5003c */ lw $a1,0x3c($sp) +/* f0f4ff4: afaa03b8 */ sw $t2,0x3b8($sp) +/* f0f4ff8: 8e0b006c */ lw $t3,0x6c($s0) +/* f0f4ffc: 0c007653 */ jal 0x1d94c +/* f0f5000: afab03c8 */ sw $t3,0x3c8($sp) +/* f0f5004: 8e040054 */ lw $a0,0x54($s0) +/* f0f5008: 3c0c8008 */ lui $t4,0x8008 +/* f0f500c: 258cf104 */ addiu $t4,$t4,-3836 +/* f0f5010: 8c8f0004 */ lw $t7,0x4($a0) +/* f0f5014: 558f0096 */ bnel $t4,$t7,.PB0f0f5270 +/* f0f5018: 8fad0440 */ lw $t5,0x440($sp) +/* f0f501c: 0c006cdb */ jal 0x1b36c +/* f0f5020: 00002825 */ move $a1,$zero +/* f0f5024: 50400032 */ beqzl $v0,.PB0f0f50f0 +/* f0f5028: 8e040054 */ lw $a0,0x54($s0) +/* f0f502c: 8c450004 */ lw $a1,0x4($v0) +/* f0f5030: 00003825 */ move $a3,$zero +/* f0f5034: 00003025 */ move $a2,$zero +/* f0f5038: 84b90010 */ lh $t9,0x10($a1) +/* f0f503c: 3c0142c8 */ lui $at,0x42c8 +/* f0f5040: 3c08800a */ lui $t0,0x800a +/* f0f5044: 5b20002a */ blezl $t9,.PB0f0f50f0 +/* f0f5048: 8e040054 */ lw $a0,0x54($s0) +/* f0f504c: 44810000 */ mtc1 $at,$f0 +/* f0f5050: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0f5054: c50a0010 */ lwc1 $f10,0x10($t0) +.PB0f0f5058: +/* f0f5058: 8cae000c */ lw $t6,0xc($a1) +/* f0f505c: 460a0202 */ mul.s $f8,$f0,$f10 +/* f0f5060: 01c61021 */ addu $v0,$t6,$a2 +/* f0f5064: 844d0008 */ lh $t5,0x8($v0) +/* f0f5068: 4600410d */ trunc.w.s $f4,$f8 +/* f0f506c: 44182000 */ mfc1 $t8,$f4 +/* f0f5070: 00000000 */ nop +/* f0f5074: 01b85023 */ subu $t2,$t5,$t8 +/* f0f5078: a44a0008 */ sh $t2,0x8($v0) +/* f0f507c: 8cab000c */ lw $t3,0xc($a1) +/* f0f5080: 01666021 */ addu $t4,$t3,$a2 +/* f0f5084: 858f0008 */ lh $t7,0x8($t4) +/* f0f5088: 29e1a000 */ slti $at,$t7,-24576 +/* f0f508c: 50200012 */ beqzl $at,.PB0f0f50d8 +/* f0f5090: 84aa0010 */ lh $t2,0x10($a1) +/* f0f5094: 84b90010 */ lh $t9,0x10($a1) +/* f0f5098: 00001825 */ move $v1,$zero +/* f0f509c: 00002025 */ move $a0,$zero +/* f0f50a0: 5b20000d */ blezl $t9,.PB0f0f50d8 +/* f0f50a4: 84aa0010 */ lh $t2,0x10($a1) +/* f0f50a8: 8cae000c */ lw $t6,0xc($a1) +.PB0f0f50ac: +/* f0f50ac: 24630001 */ addiu $v1,$v1,0x1 +/* f0f50b0: 01c41021 */ addu $v0,$t6,$a0 +/* f0f50b4: 84490008 */ lh $t1,0x8($v0) +/* f0f50b8: 2484000c */ addiu $a0,$a0,0xc +/* f0f50bc: 252d2000 */ addiu $t5,$t1,0x2000 +/* f0f50c0: a44d0008 */ sh $t5,0x8($v0) +/* f0f50c4: 84b80010 */ lh $t8,0x10($a1) +/* f0f50c8: 0078082a */ slt $at,$v1,$t8 +/* f0f50cc: 5420fff7 */ bnezl $at,.PB0f0f50ac +/* f0f50d0: 8cae000c */ lw $t6,0xc($a1) +/* f0f50d4: 84aa0010 */ lh $t2,0x10($a1) +.PB0f0f50d8: +/* f0f50d8: 24e70001 */ addiu $a3,$a3,0x1 +/* f0f50dc: 24c6000c */ addiu $a2,$a2,0xc +/* f0f50e0: 00ea082a */ slt $at,$a3,$t2 +/* f0f50e4: 5420ffdc */ bnezl $at,.PB0f0f5058 +/* f0f50e8: c50a0010 */ lwc1 $f10,0x10($t0) +/* f0f50ec: 8e040054 */ lw $a0,0x54($s0) +.PB0f0f50f0: +/* f0f50f0: 0c006cdb */ jal 0x1b36c +/* f0f50f4: 24050002 */ li $a1,0x2 +/* f0f50f8: 10400019 */ beqz $v0,.PB0f0f5160 +/* f0f50fc: 00402025 */ move $a0,$v0 +/* f0f5100: 0c006bdd */ jal 0x1af74 +/* f0f5104: 00002825 */ move $a1,$zero +/* f0f5108: afa20160 */ sw $v0,0x160($sp) +/* f0f510c: 0c005900 */ jal 0x16400 +/* f0f5110: 27a40120 */ addiu $a0,$sp,0x120 +/* f0f5114: 3c014080 */ lui $at,0x4080 +/* f0f5118: 44816000 */ mtc1 $at,$f12 +/* f0f511c: 0fc01ad1 */ jal 0xf006b44 +/* f0f5120: 00000000 */ nop +/* f0f5124: 46000306 */ mov.s $f12,$f0 +/* f0f5128: 0c005b4e */ jal 0x16d38 +/* f0f512c: 27a50120 */ addiu $a1,$sp,0x120 +/* f0f5130: 8fac0160 */ lw $t4,0x160($sp) +/* f0f5134: 8fab03b4 */ lw $t3,0x3b4($sp) +/* f0f5138: 27a50120 */ addiu $a1,$sp,0x120 +/* f0f513c: 000c7980 */ sll $t7,$t4,0x6 +/* f0f5140: 016f3821 */ addu $a3,$t3,$t7 +/* f0f5144: 00e02025 */ move $a0,$a3 +/* f0f5148: afa70040 */ sw $a3,0x40($sp) +/* f0f514c: 0c005914 */ jal 0x16450 +/* f0f5150: 27a600e0 */ addiu $a2,$sp,0xe0 +/* f0f5154: 8fa50040 */ lw $a1,0x40($sp) +/* f0f5158: 0c0059da */ jal 0x16768 +/* f0f515c: 27a400e0 */ addiu $a0,$sp,0xe0 +.PB0f0f5160: +/* f0f5160: 8e040054 */ lw $a0,0x54($s0) +/* f0f5164: 0c006cdb */ jal 0x1b36c +/* f0f5168: 24050001 */ li $a1,0x1 +/* f0f516c: 1040003f */ beqz $v0,.PB0f0f526c +/* f0f5170: 00402025 */ move $a0,$v0 +/* f0f5174: 3c02800a */ lui $v0,0x800a +/* f0f5178: 8c425ef4 */ lw $v0,0x5ef4($v0) +/* f0f517c: 24010002 */ li $at,0x2 +/* f0f5180: 10410007 */ beq $v0,$at,.PB0f0f51a0 +/* f0f5184: 24010006 */ li $at,0x6 +/* f0f5188: 10410005 */ beq $v0,$at,.PB0f0f51a0 +/* f0f518c: 24010003 */ li $at,0x3 +/* f0f5190: 10410003 */ beq $v0,$at,.PB0f0f51a0 +/* f0f5194: 2401000d */ li $at,0xd +/* f0f5198: 54410035 */ bnel $v0,$at,.PB0f0f5270 +/* f0f519c: 8fad0440 */ lw $t5,0x440($sp) +.PB0f0f51a0: +/* f0f51a0: 0c006bdd */ jal 0x1af74 +/* f0f51a4: 00002825 */ move $a1,$zero +/* f0f51a8: 8fb903b4 */ lw $t9,0x3b4($sp) +/* f0f51ac: 00027180 */ sll $t6,$v0,0x6 +/* f0f51b0: 27a400d0 */ addiu $a0,$sp,0xd0 +/* f0f51b4: 032e1821 */ addu $v1,$t9,$t6 +/* f0f51b8: c4720030 */ lwc1 $f18,0x30($v1) +/* f0f51bc: 27a500c8 */ addiu $a1,$sp,0xc8 +/* f0f51c0: e7b200d0 */ swc1 $f18,0xd0($sp) +/* f0f51c4: c4700034 */ lwc1 $f16,0x34($v1) +/* f0f51c8: e7b000d4 */ swc1 $f16,0xd4($sp) +/* f0f51cc: c4660038 */ lwc1 $f6,0x38($v1) +/* f0f51d0: 0fc2d445 */ jal 0xf0b5114 +/* f0f51d4: e7a600d8 */ swc1 $f6,0xd8($sp) +/* f0f51d8: 0c002e4d */ jal 0xb934 +/* f0f51dc: 00000000 */ nop +/* f0f51e0: c7aa00c8 */ lwc1 $f10,0xc8($sp) +/* f0f51e4: 3c0c8008 */ lui $t4,0x8008 +/* f0f51e8: 8d8c1f90 */ lw $t4,0x1f90($t4) +/* f0f51ec: 4600520d */ trunc.w.s $f8,$f10 +/* f0f51f0: 440d4000 */ mfc1 $t5,$f8 +/* f0f51f4: 04410003 */ bgez $v0,.PB0f0f5204 +/* f0f51f8: 0002c043 */ sra $t8,$v0,0x1 +/* f0f51fc: 24410001 */ addiu $at,$v0,0x1 +/* f0f5200: 0001c043 */ sra $t8,$at,0x1 +.PB0f0f5204: +/* f0f5204: 01b85023 */ subu $t2,$t5,$t8 +/* f0f5208: 014c001a */ div $zero,$t2,$t4 +/* f0f520c: 15800002 */ bnez $t4,.PB0f0f5218 +/* f0f5210: 00000000 */ nop +/* f0f5214: 0007000d */ break 0x7 +.PB0f0f5218: +/* f0f5218: 2401ffff */ li $at,-1 +/* f0f521c: 15810004 */ bne $t4,$at,.PB0f0f5230 +/* f0f5220: 3c018000 */ lui $at,0x8000 +/* f0f5224: 15410002 */ bne $t2,$at,.PB0f0f5230 +/* f0f5228: 00000000 */ nop +/* f0f522c: 0006000d */ break 0x6 +.PB0f0f5230: +/* f0f5230: 3c01800a */ lui $at,0x800a +/* f0f5234: 00005812 */ mflo $t3 +/* f0f5238: ac2b23c8 */ sw $t3,0x23c8($at) +/* f0f523c: 0c002e51 */ jal 0xb944 +/* f0f5240: 00000000 */ nop +/* f0f5244: c7a400cc */ lwc1 $f4,0xcc($sp) +/* f0f5248: 4600248d */ trunc.w.s $f18,$f4 +/* f0f524c: 44199000 */ mfc1 $t9,$f18 +/* f0f5250: 04410003 */ bgez $v0,.PB0f0f5260 +/* f0f5254: 00027043 */ sra $t6,$v0,0x1 +/* f0f5258: 24410001 */ addiu $at,$v0,0x1 +/* f0f525c: 00017043 */ sra $t6,$at,0x1 +.PB0f0f5260: +/* f0f5260: 3c01800a */ lui $at,0x800a +/* f0f5264: 032e4823 */ subu $t1,$t9,$t6 +/* f0f5268: ac2923cc */ sw $t1,0x23cc($at) +.PB0f0f526c: +/* f0f526c: 8fad0440 */ lw $t5,0x440($sp) +.PB0f0f5270: +/* f0f5270: 3c0abc00 */ lui $t2,0xbc00 +/* f0f5274: 3c0c8000 */ lui $t4,0x8000 +/* f0f5278: 25b80008 */ addiu $t8,$t5,0x8 +/* f0f527c: afb80440 */ sw $t8,0x440($sp) +/* f0f5280: 358c0040 */ ori $t4,$t4,0x40 +/* f0f5284: 354a0002 */ ori $t2,$t2,0x2 +/* f0f5288: adaa0000 */ sw $t2,0x0($t5) +/* f0f528c: adac0004 */ sw $t4,0x4($t5) +/* f0f5290: 8fab0440 */ lw $t3,0x440($sp) +/* f0f5294: 3c190386 */ lui $t9,0x386 +/* f0f5298: 3c0e8007 */ lui $t6,0x8007 +/* f0f529c: 256f0008 */ addiu $t7,$t3,0x8 +/* f0f52a0: afaf0440 */ sw $t7,0x440($sp) +/* f0f52a4: 25ce3140 */ addiu $t6,$t6,0x3140 +/* f0f52a8: 37390010 */ ori $t9,$t9,0x10 +/* f0f52ac: ad790000 */ sw $t9,0x0($t3) +/* f0f52b0: ad6e0004 */ sw $t6,0x4($t3) +/* f0f52b4: 8fa90440 */ lw $t1,0x440($sp) +/* f0f52b8: 3c0a8007 */ lui $t2,0x8007 +/* f0f52bc: 3c180388 */ lui $t8,0x388 +/* f0f52c0: 252d0008 */ addiu $t5,$t1,0x8 +/* f0f52c4: afad0440 */ sw $t5,0x440($sp) +/* f0f52c8: 37180010 */ ori $t8,$t8,0x10 +/* f0f52cc: 254a3138 */ addiu $t2,$t2,0x3138 +/* f0f52d0: ad2a0004 */ sw $t2,0x4($t1) +/* f0f52d4: ad380000 */ sw $t8,0x0($t1) +/* f0f52d8: 8fac0440 */ lw $t4,0x440($sp) +/* f0f52dc: 3c0f0384 */ lui $t7,0x384 +/* f0f52e0: 35ef0010 */ ori $t7,$t7,0x10 +/* f0f52e4: 258b0008 */ addiu $t3,$t4,0x8 +/* f0f52e8: afab0440 */ sw $t3,0x440($sp) +/* f0f52ec: ad8f0000 */ sw $t7,0x0($t4) +/* f0f52f0: 0fc2d6ee */ jal 0xf0b5bb8 +/* f0f52f4: afac00b8 */ sw $t4,0xb8($sp) +/* f0f52f8: 8fa500b8 */ lw $a1,0xb8($sp) +/* f0f52fc: 3c090382 */ lui $t1,0x382 +/* f0f5300: 35290010 */ ori $t1,$t1,0x10 +/* f0f5304: aca20004 */ sw $v0,0x4($a1) +/* f0f5308: 8fb90440 */ lw $t9,0x440($sp) +/* f0f530c: 272e0008 */ addiu $t6,$t9,0x8 +/* f0f5310: afae0440 */ sw $t6,0x440($sp) +/* f0f5314: af290000 */ sw $t1,0x0($t9) +/* f0f5318: 0fc2d6ee */ jal 0xf0b5bb8 +/* f0f531c: afb900b4 */ sw $t9,0xb4($sp) +/* f0f5320: 8fa600b4 */ lw $a2,0xb4($sp) +/* f0f5324: 244d0010 */ addiu $t5,$v0,0x10 +/* f0f5328: 24180001 */ li $t8,0x1 +/* f0f532c: accd0004 */ sw $t5,0x4($a2) +/* f0f5330: 8fab0440 */ lw $t3,0x440($sp) +/* f0f5334: 240affff */ li $t2,-1 +/* f0f5338: 240cffff */ li $t4,-1 +/* f0f533c: 256f0008 */ addiu $t7,$t3,0x8 +/* f0f5340: afb803e8 */ sw $t8,0x3e8($sp) +/* f0f5344: afaa03ec */ sw $t2,0x3ec($sp) +/* f0f5348: afac03f0 */ sw $t4,0x3f0($sp) +/* f0f534c: afaf0440 */ sw $t7,0x440($sp) +/* f0f5350: 3c19b700 */ lui $t9,0xb700 +/* f0f5354: 240e0001 */ li $t6,0x1 +/* f0f5358: ad6e0004 */ sw $t6,0x4($t3) +/* f0f535c: ad790000 */ sw $t9,0x0($t3) +/* f0f5360: 8fa90440 */ lw $t1,0x440($sp) +/* f0f5364: 240d0001 */ li $t5,0x1 +/* f0f5368: afad03bc */ sw $t5,0x3bc($sp) +/* f0f536c: 8fa5003c */ lw $a1,0x3c($sp) +/* f0f5370: 27a403b8 */ addiu $a0,$sp,0x3b8 +/* f0f5374: 0c00892e */ jal 0x224b8 +/* f0f5378: afa903c4 */ sw $t1,0x3c4($sp) +/* f0f537c: 8fb803c4 */ lw $t8,0x3c4($sp) +/* f0f5380: 0c005c6c */ jal 0x171b0 +/* f0f5384: afb80440 */ sw $t8,0x440($sp) +/* f0f5388: 8e0a0054 */ lw $t2,0x54($s0) +/* f0f538c: 00001025 */ move $v0,$zero +/* f0f5390: 854c000e */ lh $t4,0xe($t2) +/* f0f5394: 19800013 */ blez $t4,.PB0f0f53e4 +/* f0f5398: 00000000 */ nop +/* f0f539c: 8e0b006c */ lw $t3,0x6c($s0) +.PB0f0f53a0: +/* f0f53a0: afa20040 */ sw $v0,0x40($sp) +/* f0f53a4: 27a50070 */ addiu $a1,$sp,0x70 +/* f0f53a8: 0c0059da */ jal 0x16768 +/* f0f53ac: 01622021 */ addu $a0,$t3,$v0 +/* f0f53b0: 8e0f006c */ lw $t7,0x6c($s0) +/* f0f53b4: 0011c980 */ sll $t9,$s1,0x6 +/* f0f53b8: 27a40070 */ addiu $a0,$sp,0x70 +/* f0f53bc: 0c005aa9 */ jal 0x16aa4 +/* f0f53c0: 01f92821 */ addu $a1,$t7,$t9 +/* f0f53c4: 8e0e0054 */ lw $t6,0x54($s0) +/* f0f53c8: 8fa20040 */ lw $v0,0x40($sp) +/* f0f53cc: 26310001 */ addiu $s1,$s1,0x1 +/* f0f53d0: 85c9000e */ lh $t1,0xe($t6) +/* f0f53d4: 24420040 */ addiu $v0,$v0,0x40 +/* f0f53d8: 0229082a */ slt $at,$s1,$t1 +/* f0f53dc: 5420fff0 */ bnezl $at,.PB0f0f53a0 +/* f0f53e0: 8e0b006c */ lw $t3,0x6c($s0) +.PB0f0f53e4: +/* f0f53e4: 0c005c75 */ jal 0x171d4 +/* f0f53e8: 00000000 */ nop +/* f0f53ec: 8fad0448 */ lw $t5,0x448($sp) +/* f0f53f0: 29a10003 */ slti $at,$t5,0x3 +/* f0f53f4: 50200005 */ beqzl $at,.PB0f0f540c +/* f0f53f8: 8fb80440 */ lw $t8,0x440($sp) +/* f0f53fc: 0fc3530f */ jal 0xf0d4c3c +/* f0f5400: 8fa40440 */ lw $a0,0x440($sp) +/* f0f5404: afa20440 */ sw $v0,0x440($sp) +/* f0f5408: 8fb80440 */ lw $t8,0x440($sp) +.PB0f0f540c: +/* f0f540c: 3c0ce700 */ lui $t4,0xe700 +/* f0f5410: 3c19ba00 */ lui $t9,0xba00 +/* f0f5414: 270a0008 */ addiu $t2,$t8,0x8 +/* f0f5418: afaa0440 */ sw $t2,0x440($sp) +/* f0f541c: af000004 */ sw $zero,0x4($t8) +/* f0f5420: af0c0000 */ sw $t4,0x0($t8) +/* f0f5424: 8fab0440 */ lw $t3,0x440($sp) +/* f0f5428: 37391402 */ ori $t9,$t9,0x1402 +/* f0f542c: 3c0db900 */ lui $t5,0xb900 +/* f0f5430: 256f0008 */ addiu $t7,$t3,0x8 +/* f0f5434: afaf0440 */ sw $t7,0x440($sp) +/* f0f5438: ad600004 */ sw $zero,0x4($t3) +/* f0f543c: ad790000 */ sw $t9,0x0($t3) +/* f0f5440: 8fae0440 */ lw $t6,0x440($sp) +/* f0f5444: 35ad0002 */ ori $t5,$t5,0x2 +/* f0f5448: 3c0cfc12 */ lui $t4,0xfc12 +/* f0f544c: 25c90008 */ addiu $t1,$t6,0x8 +/* f0f5450: afa90440 */ sw $t1,0x440($sp) +/* f0f5454: adc00004 */ sw $zero,0x4($t6) +/* f0f5458: adcd0000 */ sw $t5,0x0($t6) +/* f0f545c: 8fb80440 */ lw $t8,0x440($sp) +/* f0f5460: 358c7e24 */ ori $t4,$t4,0x7e24 +/* f0f5464: 240bf9fc */ li $t3,-1540 +/* f0f5468: 270a0008 */ addiu $t2,$t8,0x8 +/* f0f546c: afaa0440 */ sw $t2,0x440($sp) +/* f0f5470: af0b0004 */ sw $t3,0x4($t8) +/* f0f5474: af0c0000 */ sw $t4,0x0($t8) +/* f0f5478: 8faf0440 */ lw $t7,0x440($sp) +/* f0f547c: 3c0eb600 */ lui $t6,0xb600 +/* f0f5480: 24093000 */ li $t1,0x3000 +/* f0f5484: 25f90008 */ addiu $t9,$t7,0x8 +/* f0f5488: afb90440 */ sw $t9,0x440($sp) +/* f0f548c: ade90004 */ sw $t1,0x4($t7) +/* f0f5490: adee0000 */ sw $t6,0x0($t7) +/* f0f5494: 8fad0440 */ lw $t5,0x440($sp) +/* f0f5498: 3c0aba00 */ lui $t2,0xba00 +/* f0f549c: 354a0c02 */ ori $t2,$t2,0xc02 +/* f0f54a0: 25b80008 */ addiu $t8,$t5,0x8 +/* f0f54a4: afb80440 */ sw $t8,0x440($sp) +/* f0f54a8: 240c2000 */ li $t4,0x2000 +/* f0f54ac: adac0004 */ sw $t4,0x4($t5) +/* f0f54b0: adaa0000 */ sw $t2,0x0($t5) +/* f0f54b4: 27b00440 */ addiu $s0,$sp,0x440 +/* f0f54b8: 240f0001 */ li $t7,0x1 +/* f0f54bc: 240b0002 */ li $t3,0x2 +/* f0f54c0: afab0010 */ sw $t3,0x10($sp) +/* f0f54c4: afaf0014 */ sw $t7,0x14($sp) +/* f0f54c8: 02002025 */ move $a0,$s0 +/* f0f54cc: afa00018 */ sw $zero,0x18($sp) +/* f0f54d0: 00002825 */ move $a1,$zero +/* f0f54d4: 24060002 */ li $a2,0x2 +/* f0f54d8: 0fc2cf74 */ jal 0xf0b3dd0 +/* f0f54dc: 00003825 */ move $a3,$zero +/* f0f54e0: 8fb90440 */ lw $t9,0x440($sp) +/* f0f54e4: 3c09b900 */ lui $t1,0xb900 +/* f0f54e8: 3c0d0050 */ lui $t5,0x50 +/* f0f54ec: 272e0008 */ addiu $t6,$t9,0x8 +/* f0f54f0: afae0440 */ sw $t6,0x440($sp) +/* f0f54f4: 35ad4240 */ ori $t5,$t5,0x4240 +/* f0f54f8: 3529031d */ ori $t1,$t1,0x31d +/* f0f54fc: af290000 */ sw $t1,0x0($t9) +/* f0f5500: af2d0004 */ sw $t5,0x4($t9) +/* f0f5504: 24180002 */ li $t8,0x2 +/* f0f5508: 240a0001 */ li $t2,0x1 +/* f0f550c: afaa0014 */ sw $t2,0x14($sp) +/* f0f5510: afb80010 */ sw $t8,0x10($sp) +/* f0f5514: afa00018 */ sw $zero,0x18($sp) +/* f0f5518: 02002025 */ move $a0,$s0 +/* f0f551c: 00002825 */ move $a1,$zero +/* f0f5520: 24060002 */ li $a2,0x2 +/* f0f5524: 0fc2cf74 */ jal 0xf0b3dd0 +/* f0f5528: 00003825 */ move $a3,$zero +/* f0f552c: 8fac0440 */ lw $t4,0x440($sp) +/* f0f5530: 3c0f0600 */ lui $t7,0x600 +/* f0f5534: 258b0008 */ addiu $t3,$t4,0x8 +/* f0f5538: afab0440 */ sw $t3,0x440($sp) +/* f0f553c: ad8f0000 */ sw $t7,0x0($t4) +/* f0f5540: 8fb90038 */ lw $t9,0x38($sp) +/* f0f5544: ad990004 */ sw $t9,0x4($t4) +.PB0f0f5548: +/* f0f5548: 8fa20440 */ lw $v0,0x440($sp) +.PB0f0f554c: +/* f0f554c: 8fbf002c */ lw $ra,0x2c($sp) +/* f0f5550: 8fb00024 */ lw $s0,0x24($sp) +/* f0f5554: 8fb10028 */ lw $s1,0x28($sp) +/* f0f5558: 03e00008 */ jr $ra +/* f0f555c: 27bd0440 */ addiu $sp,$sp,0x440 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel menuRenderModels @@ -14637,13 +16670,13 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl if (g_MenuData.root == MENUROOT_ENDSCREEN && dialog->type == MENUDIALOGTYPE_SUCCESS && (g_MenuData.bg == MENUBG_8 || g_MenuData.bg == MENUBG_SUCCESS)) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA dialog->transitionfrac += g_Vars.diffframe60freal * 0.01f; #else dialog->transitionfrac += g_Vars.diffframe60f * 0.01f; #endif } else { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA dialog->transitionfrac += g_Vars.diffframe60freal * 0.042f; #else dialog->transitionfrac += g_Vars.diffframe60f * 0.042f; @@ -14665,7 +16698,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl if (dialog->state == MENUDIALOGSTATE_POPULATED) { if (g_MenuData.nextbg != MENUBG_CONEALPHA) { if (dialog->redrawtimer < 0.0f) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA dialog->statefrac += g_Vars.diffframe60freal / 120.0f; #else dialog->statefrac += g_Vars.diffframe60f / 120.0f; @@ -14683,7 +16716,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl // When populating the text for the first time, wait for both the redraw // timer to finish and a minimum duration. if (dialog->state == MENUDIALOGSTATE_POPULATING) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA dialog->statefrac -= 0.05f * g_Vars.diffframe60freal; #else dialog->statefrac -= 0.05f * g_Vars.diffframe60f; @@ -14706,7 +16739,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl if (dialog->statefrac != dialog->height) { for (i = 0; i < g_Vars.diffframe60; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA dialog->statefrac = dialog->height * 0.235f + 0.765f * dialog->statefrac; #else dialog->statefrac = dialog->height * 0.2f + 0.8f * dialog->statefrac; @@ -14736,7 +16769,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl } } else if ((g_Vars.coopplayernum >= 0 || g_Vars.antiplayernum >= 0) && menuGetRoot() == MENUROOT_MPENDSCREEN) { if (var8009dfc0) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA dialog->statefrac += g_Vars.diffframe240freal / 60.0f; #else dialog->statefrac += g_Vars.diffframe240 / 60.0f; @@ -14771,7 +16804,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl if (dialog->redrawtimer < 0.0f) { // Redraw not active } else { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA if (dialog->state == MENUDIALOGSTATE_POPULATED) { dialog->redrawtimer += g_Vars.diffframe60freal + g_Vars.diffframe60freal; } else { @@ -14811,7 +16844,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl newx = dialog->x; for (i = 0; i < g_Vars.diffframe60; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA newx = dialog->dstx * 0.348f + 0.652f * newx; #else newx = dialog->dstx * 0.3f + 0.7f * newx; @@ -14835,7 +16868,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl newy = dialog->y; for (i = 0; i < g_Vars.diffframe60; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA newy = dialog->dsty * 0.348f + 0.652f * newy; #else newy = dialog->dsty * 0.3f + 0.7f * newy; @@ -14860,7 +16893,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl newwidth = dialog->width; for (i = 0; i < g_Vars.diffframe60; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA newwidth = dialog->dstwidth * 0.348f + 0.652f * newwidth; #else newwidth = dialog->dstwidth * 0.3f + 0.7f * newwidth; @@ -14885,7 +16918,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl newheight = dialog->height; for (i = 0; i < g_Vars.diffframe60; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA newheight = dialog->dstheight * 0.348f + 0.652f * newheight; #else newheight = dialog->dstheight * 0.3f + 0.7f * newheight; @@ -15044,7 +17077,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl dialog->dstscroll = 0; } } else if (dialog->definition->flags & MENUDIALOGFLAG_SMOOTHSCROLLABLE) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA s32 adjustment = (s32)(inputs->yaxis * g_Vars.diffframe60freal / 20) - (s32)(inputs->updownheld * g_Vars.diffframe60freal); #else s32 adjustment = inputs->yaxis * g_Vars.diffframe60 / 20 - inputs->updownheld * g_Vars.diffframe60; @@ -15069,7 +17102,7 @@ void dialogTick(struct menudialog *dialog, struct menuinputs *inputs, u32 tickfl s32 i; for (i = 0; i < g_Vars.diffframe60; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA newscroll = (dialog->dstscroll * 0.235f) + (0.765f * newscroll); #else newscroll = (dialog->dstscroll * 0.2f) + (0.8f * newscroll); @@ -16181,6 +18214,1057 @@ glabel var7f1b2ac8 /* f0fbc10: 03e00008 */ jr $ra /* f0fbc14: 27bd0130 */ addiu $sp,$sp,0x130 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel menuProcessInput +.late_rodata +glabel var7f1b2a98 +.word menuProcessInput+0xd64 +glabel var7f1b2a9c +.word menuProcessInput+0xd64 +glabel var7f1b2aa0 +.word menuProcessInput+0xc8c +glabel var7f1b2aa4 +.word menuProcessInput+0xd14 +glabel var7f1b2aa8 +.word menuProcessInput+0xd64 +glabel var7f1b2aac +.word menuProcessInput+0xda8 +glabel var7f1b2ab0 +.word menuProcessInput+0xda8 +glabel var7f1b2ab4 +.word menuProcessInput+0xda8 +glabel var7f1b2ab8 +.word menuProcessInput+0xda8 +glabel var7f1b2abc +.word menuProcessInput+0xda8 +glabel var7f1b2ac0 +.word menuProcessInput+0xc8c +glabel var7f1b2ac4 +.word menuProcessInput+0xda8 +glabel var7f1b2ac8 +.word menuProcessInput+0xd64 +.text +/* f0fac58: 27bdfed0 */ addiu $sp,$sp,-304 +/* f0fac5c: afb70034 */ sw $s7,0x34($sp) +/* f0fac60: 3c178007 */ lui $s7,0x8007 +/* f0fac64: 26f73118 */ addiu $s7,$s7,0x3118 +/* f0fac68: 8eee0000 */ lw $t6,0x0($s7) +/* f0fac6c: afbe0038 */ sw $s8,0x38($sp) +/* f0fac70: 241e0e70 */ li $s8,0xe70 +/* f0fac74: 01de0019 */ multu $t6,$s8 +/* f0fac78: afb60030 */ sw $s6,0x30($sp) +/* f0fac7c: 3c16800a */ lui $s6,0x800a +/* f0fac80: 26d62530 */ addiu $s6,$s6,0x2530 +/* f0fac84: 3c19800a */ lui $t9,0x800a +/* f0fac88: 8f395ef4 */ lw $t9,0x5ef4($t9) +/* f0fac8c: afb5002c */ sw $s5,0x2c($sp) +/* f0fac90: 24010004 */ li $at,0x4 +/* f0fac94: afbf003c */ sw $ra,0x3c($sp) +/* f0fac98: afb40028 */ sw $s4,0x28($sp) +/* f0fac9c: 00007812 */ mflo $t7 +/* f0faca0: 02cf3821 */ addu $a3,$s6,$t7 +/* f0faca4: 8cf804f8 */ lw $t8,0x4f8($a3) +/* f0faca8: afb30024 */ sw $s3,0x24($sp) +/* f0facac: afb20020 */ sw $s2,0x20($sp) +/* f0facb0: afb1001c */ sw $s1,0x1c($sp) +/* f0facb4: afb00018 */ sw $s0,0x18($sp) +/* f0facb8: 00006025 */ move $t4,$zero +/* f0facbc: 00004825 */ move $t1,$zero +/* f0facc0: 00004025 */ move $t0,$zero +/* f0facc4: 0000a825 */ move $s5,$zero +/* f0facc8: afa0011c */ sw $zero,0x11c($sp) +/* f0faccc: afa700fc */ sw $a3,0xfc($sp) +/* f0facd0: 17210005 */ bne $t9,$at,.PB0f0face8 +/* f0facd4: afb80100 */ sw $t8,0x100($sp) +/* f0facd8: 3c0e800a */ lui $t6,0x800a +/* f0facdc: 8dcee75c */ lw $t6,-0x18a4($t6) +/* f0face0: 3c01800a */ lui $at,0x800a +/* f0face4: ac2e66e8 */ sw $t6,0x66e8($at) +.PB0f0face8: +/* f0face8: afa80124 */ sw $t0,0x124($sp) +/* f0facec: afa90128 */ sw $t1,0x128($sp) +/* f0facf0: 0fc3c661 */ jal 0xf0f1984 +/* f0facf4: afac012c */ sw $t4,0x12c($sp) +/* f0facf8: 8eef0000 */ lw $t7,0x0($s7) +/* f0facfc: 8fa80124 */ lw $t0,0x124($sp) +/* f0fad00: 8fa90128 */ lw $t1,0x128($sp) +/* f0fad04: 01fe0019 */ multu $t7,$s8 +/* f0fad08: 8fac012c */ lw $t4,0x12c($sp) +/* f0fad0c: a3a00106 */ sb $zero,0x106($sp) +/* f0fad10: a3a00107 */ sb $zero,0x107($sp) +/* f0fad14: a3a0010a */ sb $zero,0x10a($sp) +/* f0fad18: a3a0010b */ sb $zero,0x10b($sp) +/* f0fad1c: 00005025 */ move $t2,$zero +/* f0fad20: 00005825 */ move $t3,$zero +/* f0fad24: 3c0f800a */ lui $t7,0x800a +/* f0fad28: 0000c012 */ mflo $t8 +/* f0fad2c: 02d8c821 */ addu $t9,$s6,$t8 +/* f0fad30: 8f2e04f8 */ lw $t6,0x4f8($t9) +/* f0fad34: 51c00333 */ beqzl $t6,.PB0f0fba04 +/* f0fad38: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fad3c: 8def5ef4 */ lw $t7,0x5ef4($t7) +/* f0fad40: 24010007 */ li $at,0x7 +/* f0fad44: afa000f8 */ sw $zero,0xf8($sp) +/* f0fad48: 15e1000b */ bne $t7,$at,.PB0f0fad78 +/* f0fad4c: afa000ec */ sw $zero,0xec($sp) +/* f0fad50: 24180001 */ li $t8,0x1 +/* f0fad54: 24190002 */ li $t9,0x2 +/* f0fad58: 240e0003 */ li $t6,0x3 +/* f0fad5c: 240f0004 */ li $t7,0x4 +/* f0fad60: afa000d8 */ sw $zero,0xd8($sp) +/* f0fad64: afb800dc */ sw $t8,0xdc($sp) +/* f0fad68: afb900e0 */ sw $t9,0xe0($sp) +/* f0fad6c: afae00e4 */ sw $t6,0xe4($sp) +/* f0fad70: 1000001b */ b .PB0f0fade0 +/* f0fad74: afaf00ec */ sw $t7,0xec($sp) +.PB0f0fad78: +/* f0fad78: 27a400d7 */ addiu $a0,$sp,0xd7 +/* f0fad7c: 27a500d6 */ addiu $a1,$sp,0xd6 +/* f0fad80: afa80124 */ sw $t0,0x124($sp) +/* f0fad84: afa90128 */ sw $t1,0x128($sp) +/* f0fad88: afaa00f4 */ sw $t2,0xf4($sp) +/* f0fad8c: afab00f0 */ sw $t3,0xf0($sp) +/* f0fad90: 0fc3de81 */ jal 0xf0f7a04 +/* f0fad94: afac012c */ sw $t4,0x12c($sp) +/* f0fad98: 83a200d7 */ lb $v0,0xd7($sp) +/* f0fad9c: 8fa80124 */ lw $t0,0x124($sp) +/* f0fada0: 8fa90128 */ lw $t1,0x128($sp) +/* f0fada4: 8faa00f4 */ lw $t2,0xf4($sp) +/* f0fada8: 8fab00f0 */ lw $t3,0xf0($sp) +/* f0fadac: 04400004 */ bltz $v0,.PB0f0fadc0 +/* f0fadb0: 8fac012c */ lw $t4,0x12c($sp) +/* f0fadb4: 24030001 */ li $v1,0x1 +/* f0fadb8: afa200d8 */ sw $v0,0xd8($sp) +/* f0fadbc: afa300ec */ sw $v1,0xec($sp) +.PB0f0fadc0: +/* f0fadc0: 83a200d6 */ lb $v0,0xd6($sp) +/* f0fadc4: 8fa300ec */ lw $v1,0xec($sp) +/* f0fadc8: 04400005 */ bltz $v0,.PB0f0fade0 +/* f0fadcc: 0003c080 */ sll $t8,$v1,0x2 +/* f0fadd0: 03b8c821 */ addu $t9,$sp,$t8 +/* f0fadd4: af2200d8 */ sw $v0,0xd8($t9) +/* f0fadd8: 24630001 */ addiu $v1,$v1,0x1 +/* f0faddc: afa300ec */ sw $v1,0xec($sp) +.PB0f0fade0: +/* f0fade0: 8eee0000 */ lw $t6,0x0($s7) +/* f0fade4: 01de0019 */ multu $t6,$s8 +/* f0fade8: 00007812 */ mflo $t7 +/* f0fadec: 02cf3821 */ addu $a3,$s6,$t7 +/* f0fadf0: 90e20e41 */ lbu $v0,0xe41($a3) +/* f0fadf4: 1840001a */ blez $v0,.PB0f0fae60 +/* f0fadf8: 2458ffff */ addiu $t8,$v0,-1 +/* f0fadfc: 331900ff */ andi $t9,$t8,0xff +/* f0fae00: 17200014 */ bnez $t9,.PB0f0fae54 +/* f0fae04: a0f80e41 */ sb $t8,0xe41($a3) +/* f0fae08: 8cee0e48 */ lw $t6,0xe48($a3) +/* f0fae0c: 8cef0e4c */ lw $t7,0xe4c($a3) +/* f0fae10: 27a400cc */ addiu $a0,$sp,0xcc +/* f0fae14: 2405ffff */ li $a1,-1 +/* f0fae18: 00003025 */ move $a2,$zero +/* f0fae1c: afa80124 */ sw $t0,0x124($sp) +/* f0fae20: afa90128 */ sw $t1,0x128($sp) +/* f0fae24: afaa00f4 */ sw $t2,0xf4($sp) +/* f0fae28: afab00f0 */ sw $t3,0xf0($sp) +/* f0fae2c: afac012c */ sw $t4,0x12c($sp) +/* f0fae30: afae00cc */ sw $t6,0xcc($sp) +/* f0fae34: 0fc426eb */ jal 0xf109bac +/* f0fae38: a7af00d0 */ sh $t7,0xd0($sp) +/* f0fae3c: 8fa80124 */ lw $t0,0x124($sp) +/* f0fae40: 8fa90128 */ lw $t1,0x128($sp) +/* f0fae44: 8faa00f4 */ lw $t2,0xf4($sp) +/* f0fae48: 8fab00f0 */ lw $t3,0xf0($sp) +/* f0fae4c: 10000004 */ b .PB0f0fae60 +/* f0fae50: 8fac012c */ lw $t4,0x12c($sp) +.PB0f0fae54: +/* f0fae54: 90f90e40 */ lbu $t9,0xe40($a3) +/* f0fae58: 372e0080 */ ori $t6,$t9,0x80 +/* f0fae5c: a0ee0e40 */ sb $t6,0xe40($a3) +.PB0f0fae60: +/* f0fae60: 8faf00ec */ lw $t7,0xec($sp) +/* f0fae64: 0000a025 */ move $s4,$zero +/* f0fae68: 19e00083 */ blez $t7,.PB0f0fb078 +/* f0fae6c: 27b300d8 */ addiu $s3,$sp,0xd8 +.PB0f0fae70: +/* f0fae70: 82640003 */ lb $a0,0x3($s3) +/* f0fae74: afac012c */ sw $t4,0x12c($sp) +/* f0fae78: afab00f0 */ sw $t3,0xf0($sp) +/* f0fae7c: afaa00f4 */ sw $t2,0xf4($sp) +/* f0fae80: afa90128 */ sw $t1,0x128($sp) +/* f0fae84: 0c005616 */ jal 0x15858 +/* f0fae88: afa80124 */ sw $t0,0x124($sp) +/* f0fae8c: 00028600 */ sll $s0,$v0,0x18 +/* f0fae90: 0010c603 */ sra $t8,$s0,0x18 +/* f0fae94: 03008025 */ move $s0,$t8 +/* f0fae98: 0c005640 */ jal 0x15900 +/* f0fae9c: 82640003 */ lb $a0,0x3($s3) +/* f0faea0: 00028e00 */ sll $s1,$v0,0x18 +/* f0faea4: 0011ce03 */ sra $t9,$s1,0x18 +/* f0faea8: 03208825 */ move $s1,$t9 +/* f0faeac: 82640003 */ lb $a0,0x3($s3) +/* f0faeb0: 0c00566a */ jal 0x159a8 +/* f0faeb4: 3405ffff */ li $a1,0xffff +/* f0faeb8: 3052ffff */ andi $s2,$v0,0xffff +/* f0faebc: 82640003 */ lb $a0,0x3($s3) +/* f0faec0: 0c00569a */ jal 0x15a68 +/* f0faec4: 3405ffff */ li $a1,0xffff +/* f0faec8: 304e8000 */ andi $t6,$v0,0x8000 +/* f0faecc: 8fa80124 */ lw $t0,0x124($sp) +/* f0faed0: 8fa90128 */ lw $t1,0x128($sp) +/* f0faed4: 8faa00f4 */ lw $t2,0xf4($sp) +/* f0faed8: 8fab00f0 */ lw $t3,0xf0($sp) +/* f0faedc: 8fac012c */ lw $t4,0x12c($sp) +/* f0faee0: 11c00003 */ beqz $t6,.PB0f0faef0 +/* f0faee4: 00403025 */ move $a2,$v0 +/* f0faee8: 240f0001 */ li $t7,0x1 +/* f0faeec: a3af0106 */ sb $t7,0x106($sp) +.PB0f0faef0: +/* f0faef0: 30d84000 */ andi $t8,$a2,0x4000 +/* f0faef4: 13000003 */ beqz $t8,.PB0f0faf04 +/* f0faef8: 30ce2000 */ andi $t6,$a2,0x2000 +/* f0faefc: 24190001 */ li $t9,0x1 +/* f0faf00: a3b90107 */ sb $t9,0x107($sp) +.PB0f0faf04: +/* f0faf04: 11c00003 */ beqz $t6,.PB0f0faf14 +/* f0faf08: 30d81000 */ andi $t8,$a2,0x1000 +/* f0faf0c: 240f0001 */ li $t7,0x1 +/* f0faf10: a3af0106 */ sb $t7,0x106($sp) +.PB0f0faf14: +/* f0faf14: 13000003 */ beqz $t8,.PB0f0faf24 +/* f0faf18: 324e0010 */ andi $t6,$s2,0x10 +/* f0faf1c: 24190001 */ li $t9,0x1 +/* f0faf20: afb900f8 */ sw $t9,0xf8($sp) +.PB0f0faf24: +/* f0faf24: 11c00003 */ beqz $t6,.PB0f0faf34 +/* f0faf28: 02402825 */ move $a1,$s2 +/* f0faf2c: 240f0001 */ li $t7,0x1 +/* f0faf30: a3af010a */ sb $t7,0x10a($sp) +.PB0f0faf34: +/* f0faf34: 30b80020 */ andi $t8,$a1,0x20 +/* f0faf38: 13000003 */ beqz $t8,.PB0f0faf48 +/* f0faf3c: 30ae0008 */ andi $t6,$a1,0x8 +/* f0faf40: 24190001 */ li $t9,0x1 +/* f0faf44: a3b9010a */ sb $t9,0x10a($sp) +.PB0f0faf48: +/* f0faf48: 05410003 */ bgez $t2,.PB0f0faf58 +/* f0faf4c: 30cf0008 */ andi $t7,$a2,0x8 +/* f0faf50: 10000002 */ b .PB0f0faf5c +/* f0faf54: 000a2023 */ negu $a0,$t2 +.PB0f0faf58: +/* f0faf58: 01402025 */ move $a0,$t2 +.PB0f0faf5c: +/* f0faf5c: 06010003 */ bgez $s0,.PB0f0faf6c +/* f0faf60: 30b80004 */ andi $t8,$a1,0x4 +/* f0faf64: 10000002 */ b .PB0f0faf70 +/* f0faf68: 00101823 */ negu $v1,$s0 +.PB0f0faf6c: +/* f0faf6c: 02001825 */ move $v1,$s0 +.PB0f0faf70: +/* f0faf70: 0083082a */ slt $at,$a0,$v1 +/* f0faf74: 10200002 */ beqz $at,.PB0f0faf80 +/* f0faf78: 30d90004 */ andi $t9,$a2,0x4 +/* f0faf7c: 02005025 */ move $t2,$s0 +.PB0f0faf80: +/* f0faf80: 05610003 */ bgez $t3,.PB0f0faf90 +/* f0faf84: 01602025 */ move $a0,$t3 +/* f0faf88: 10000001 */ b .PB0f0faf90 +/* f0faf8c: 000b2023 */ negu $a0,$t3 +.PB0f0faf90: +/* f0faf90: 06210003 */ bgez $s1,.PB0f0fafa0 +/* f0faf94: 02201825 */ move $v1,$s1 +/* f0faf98: 10000001 */ b .PB0f0fafa0 +/* f0faf9c: 00111823 */ negu $v1,$s1 +.PB0f0fafa0: +/* f0fafa0: 0083082a */ slt $at,$a0,$v1 +/* f0fafa4: 10200002 */ beqz $at,.PB0f0fafb0 +/* f0fafa8: 00000000 */ nop +/* f0fafac: 02205825 */ move $t3,$s1 +.PB0f0fafb0: +/* f0fafb0: 11c00002 */ beqz $t6,.PB0f0fafbc +/* f0fafb4: 00000000 */ nop +/* f0fafb8: 240cffff */ li $t4,-1 +.PB0f0fafbc: +/* f0fafbc: 11e00002 */ beqz $t7,.PB0f0fafc8 +/* f0fafc0: 30ae0002 */ andi $t6,$a1,0x2 +/* f0fafc4: 2408ffff */ li $t0,-1 +.PB0f0fafc8: +/* f0fafc8: 13000002 */ beqz $t8,.PB0f0fafd4 +/* f0fafcc: 30cf0002 */ andi $t7,$a2,0x2 +/* f0fafd0: 240c0001 */ li $t4,0x1 +.PB0f0fafd4: +/* f0fafd4: 13200002 */ beqz $t9,.PB0f0fafe0 +/* f0fafd8: 30b80001 */ andi $t8,$a1,0x1 +/* f0fafdc: 24080001 */ li $t0,0x1 +.PB0f0fafe0: +/* f0fafe0: 11c00002 */ beqz $t6,.PB0f0fafec +/* f0fafe4: 30d90001 */ andi $t9,$a2,0x1 +/* f0fafe8: 2409ffff */ li $t1,-1 +.PB0f0fafec: +/* f0fafec: 11e00002 */ beqz $t7,.PB0f0faff8 +/* f0faff0: 30ae0800 */ andi $t6,$a1,0x800 +/* f0faff4: 2415ffff */ li $s5,-1 +.PB0f0faff8: +/* f0faff8: 13000002 */ beqz $t8,.PB0f0fb004 +/* f0faffc: 30cf0800 */ andi $t7,$a2,0x800 +/* f0fb000: 24090001 */ li $t1,0x1 +.PB0f0fb004: +/* f0fb004: 13200002 */ beqz $t9,.PB0f0fb010 +/* f0fb008: 30b80400 */ andi $t8,$a1,0x400 +/* f0fb00c: 24150001 */ li $s5,0x1 +.PB0f0fb010: +/* f0fb010: 11c00002 */ beqz $t6,.PB0f0fb01c +/* f0fb014: 30d90400 */ andi $t9,$a2,0x400 +/* f0fb018: 240cffff */ li $t4,-1 +.PB0f0fb01c: +/* f0fb01c: 11e00002 */ beqz $t7,.PB0f0fb028 +/* f0fb020: 30ae0200 */ andi $t6,$a1,0x200 +/* f0fb024: 2408ffff */ li $t0,-1 +.PB0f0fb028: +/* f0fb028: 13000002 */ beqz $t8,.PB0f0fb034 +/* f0fb02c: 30cf0200 */ andi $t7,$a2,0x200 +/* f0fb030: 240c0001 */ li $t4,0x1 +.PB0f0fb034: +/* f0fb034: 13200002 */ beqz $t9,.PB0f0fb040 +/* f0fb038: 30b80100 */ andi $t8,$a1,0x100 +/* f0fb03c: 24080001 */ li $t0,0x1 +.PB0f0fb040: +/* f0fb040: 11c00002 */ beqz $t6,.PB0f0fb04c +/* f0fb044: 30d90100 */ andi $t9,$a2,0x100 +/* f0fb048: 2409ffff */ li $t1,-1 +.PB0f0fb04c: +/* f0fb04c: 11e00002 */ beqz $t7,.PB0f0fb058 +/* f0fb050: 8fae00ec */ lw $t6,0xec($sp) +/* f0fb054: 2415ffff */ li $s5,-1 +.PB0f0fb058: +/* f0fb058: 13000002 */ beqz $t8,.PB0f0fb064 +/* f0fb05c: 26940001 */ addiu $s4,$s4,0x1 +/* f0fb060: 24090001 */ li $t1,0x1 +.PB0f0fb064: +/* f0fb064: 13200002 */ beqz $t9,.PB0f0fb070 +/* f0fb068: 00000000 */ nop +/* f0fb06c: 24150001 */ li $s5,0x1 +.PB0f0fb070: +/* f0fb070: 168eff7f */ bne $s4,$t6,.PB0f0fae70 +/* f0fb074: 26730004 */ addiu $s3,$s3,0x4 +.PB0f0fb078: +/* f0fb078: 8eef0000 */ lw $t7,0x0($s7) +/* f0fb07c: 93ae0106 */ lbu $t6,0x106($sp) +/* f0fb080: 24100008 */ li $s0,0x8 +/* f0fb084: 000fc0c0 */ sll $t8,$t7,0x3 +/* f0fb088: 030fc023 */ subu $t8,$t8,$t7 +/* f0fb08c: 0018c080 */ sll $t8,$t8,0x2 +/* f0fb090: 030fc021 */ addu $t8,$t8,$t7 +/* f0fb094: 0018c0c0 */ sll $t8,$t8,0x3 +/* f0fb098: 030fc023 */ subu $t8,$t8,$t7 +/* f0fb09c: 0018c100 */ sll $t8,$t8,0x4 +/* f0fb0a0: 02d8c821 */ addu $t9,$s6,$t8 +/* f0fb0a4: 11c00002 */ beqz $t6,.PB0f0fb0b0 +/* f0fb0a8: 8f2404f8 */ lw $a0,0x4f8($t9) +/* f0fb0ac: a3a00107 */ sb $zero,0x107($sp) +.PB0f0fb0b0: +/* f0fb0b0: 11000002 */ beqz $t0,.PB0f0fb0bc +/* f0fb0b4: 2406001e */ li $a2,0x1e +/* f0fb0b8: 01006025 */ move $t4,$t0 +.PB0f0fb0bc: +/* f0fb0bc: 12a00002 */ beqz $s5,.PB0f0fb0c8 +/* f0fb0c0: 2413003c */ li $s3,0x3c +/* f0fb0c4: 02a04825 */ move $t1,$s5 +.PB0f0fb0c8: +/* f0fb0c8: 24110021 */ li $s1,0x21 +/* f0fb0cc: 2414002c */ li $s4,0x2c +/* f0fb0d0: 10800019 */ beqz $a0,.PB0f0fb138 +/* f0fb0d4: 00009025 */ move $s2,$zero +/* f0fb0d8: 8c820008 */ lw $v0,0x8($a0) +/* f0fb0dc: 10400016 */ beqz $v0,.PB0f0fb138 +/* f0fb0e0: 00000000 */ nop +/* f0fb0e4: 90430000 */ lbu $v1,0x0($v0) +/* f0fb0e8: 24010008 */ li $at,0x8 +/* f0fb0ec: 10610003 */ beq $v1,$at,.PB0f0fb0fc +/* f0fb0f0: 24010010 */ li $at,0x10 +/* f0fb0f4: 54610009 */ bnel $v1,$at,.PB0f0fb11c +/* f0fb0f8: 2401000d */ li $at,0xd +.PB0f0fb0fc: +/* f0fb0fc: 8c8f000c */ lw $t7,0xc($a0) +/* f0fb100: 51e00006 */ beqzl $t7,.PB0f0fb11c +/* f0fb104: 2401000d */ li $at,0xd +/* f0fb108: 24100004 */ li $s0,0x4 +/* f0fb10c: 24060014 */ li $a2,0x14 +/* f0fb110: 2413001e */ li $s3,0x1e +/* f0fb114: 2411000a */ li $s1,0xa +/* f0fb118: 2401000d */ li $at,0xd +.PB0f0fb11c: +/* f0fb11c: 14610006 */ bne $v1,$at,.PB0f0fb138 +/* f0fb120: 00000000 */ nop +/* f0fb124: 24120001 */ li $s2,0x1 +/* f0fb128: 24100004 */ li $s0,0x4 +/* f0fb12c: 24060014 */ li $a2,0x14 +/* f0fb130: 2411000a */ li $s1,0xa +/* f0fb134: 2414000a */ li $s4,0xa +.PB0f0fb138: +/* f0fb138: 15200004 */ bnez $t1,.PB0f0fb14c +/* f0fb13c: 0000f825 */ move $ra,$zero +/* f0fb140: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb144: 2418ffff */ li $t8,-1 +/* f0fb148: a478082c */ sh $t8,0x82c($v1) +.PB0f0fb14c: +/* f0fb14c: 12a00006 */ beqz $s5,.PB0f0fb168 +/* f0fb150: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb154: a460082c */ sh $zero,0x82c($v1) +/* f0fb158: ac600824 */ sw $zero,0x824($v1) +/* f0fb15c: a475082a */ sh $s5,0x82a($v1) +/* f0fb160: 10000004 */ b .PB0f0fb174 +/* f0fb164: 241f0001 */ li $ra,0x1 +.PB0f0fb168: +/* f0fb168: 51200003 */ beqzl $t1,.PB0f0fb178 +/* f0fb16c: 8c620824 */ lw $v0,0x824($v1) +/* f0fb170: 8469082a */ lh $t1,0x82a($v1) +.PB0f0fb174: +/* f0fb174: 8c620824 */ lw $v0,0x824($v1) +.PB0f0fb178: +/* f0fb178: 3c0e800a */ lui $t6,0x800a +/* f0fb17c: 28410033 */ slti $at,$v0,0x33 +/* f0fb180: 14200004 */ bnez $at,.PB0f0fb194 +/* f0fb184: 00000000 */ nop +/* f0fb188: 24190001 */ li $t9,0x1 +/* f0fb18c: a479082c */ sh $t9,0x82c($v1) +/* f0fb190: 8c620824 */ lw $v0,0x824($v1) +.PB0f0fb194: +/* f0fb194: 0050001a */ div $zero,$v0,$s0 +/* f0fb198: 8dcee4d0 */ lw $t6,-0x1b30($t6) +/* f0fb19c: 00003812 */ mflo $a3 +/* f0fb1a0: 8478082c */ lh $t8,0x82c($v1) +/* f0fb1a4: 004e7821 */ addu $t7,$v0,$t6 +/* f0fb1a8: 01f0001a */ div $zero,$t7,$s0 +/* f0fb1ac: 16000002 */ bnez $s0,.PB0f0fb1b8 +/* f0fb1b0: 00000000 */ nop +/* f0fb1b4: 0007000d */ break 0x7 +.PB0f0fb1b8: +/* f0fb1b8: 2401ffff */ li $at,-1 +/* f0fb1bc: 16010004 */ bne $s0,$at,.PB0f0fb1d0 +/* f0fb1c0: 3c018000 */ lui $at,0x8000 +/* f0fb1c4: 14410002 */ bne $v0,$at,.PB0f0fb1d0 +/* f0fb1c8: 00000000 */ nop +/* f0fb1cc: 0006000d */ break 0x6 +.PB0f0fb1d0: +/* f0fb1d0: 00006812 */ mflo $t5 +/* f0fb1d4: 16000002 */ bnez $s0,.PB0f0fb1e0 +/* f0fb1d8: 00000000 */ nop +/* f0fb1dc: 0007000d */ break 0x7 +.PB0f0fb1e0: +/* f0fb1e0: 2401ffff */ li $at,-1 +/* f0fb1e4: 16010004 */ bne $s0,$at,.PB0f0fb1f8 +/* f0fb1e8: 3c018000 */ lui $at,0x8000 +/* f0fb1ec: 15e10002 */ bne $t7,$at,.PB0f0fb1f8 +/* f0fb1f0: 00000000 */ nop +/* f0fb1f4: 0006000d */ break 0x6 +.PB0f0fb1f8: +/* f0fb1f8: 1700000b */ bnez $t8,.PB0f0fb228 +/* f0fb1fc: 00000000 */ nop +/* f0fb200: 04e10003 */ bgez $a3,.PB0f0fb210 +/* f0fb204: 0007c843 */ sra $t9,$a3,0x1 +/* f0fb208: 24e10001 */ addiu $at,$a3,0x1 +/* f0fb20c: 0001c843 */ sra $t9,$at,0x1 +.PB0f0fb210: +/* f0fb210: 03203825 */ move $a3,$t9 +/* f0fb214: 05a10003 */ bgez $t5,.PB0f0fb224 +/* f0fb218: 000d7043 */ sra $t6,$t5,0x1 +/* f0fb21c: 25a10001 */ addiu $at,$t5,0x1 +/* f0fb220: 00017043 */ sra $t6,$at,0x1 +.PB0f0fb224: +/* f0fb224: 01c06825 */ move $t5,$t6 +.PB0f0fb228: +/* f0fb228: 05410003 */ bgez $t2,.PB0f0fb238 +/* f0fb22c: a3a9010c */ sb $t1,0x10c($sp) +/* f0fb230: 10000002 */ b .PB0f0fb23c +/* f0fb234: 000a1023 */ negu $v0,$t2 +.PB0f0fb238: +/* f0fb238: 01401025 */ move $v0,$t2 +.PB0f0fb23c: +/* f0fb23c: 05610003 */ bgez $t3,.PB0f0fb24c +/* f0fb240: 0046082a */ slt $at,$v0,$a2 +/* f0fb244: 10000002 */ b .PB0f0fb250 +/* f0fb248: 000b1823 */ negu $v1,$t3 +.PB0f0fb24c: +/* f0fb24c: 01601825 */ move $v1,$t3 +.PB0f0fb250: +/* f0fb250: 14200070 */ bnez $at,.PB0f0fb414 +/* f0fb254: 0062082a */ slt $at,$v1,$v0 +/* f0fb258: 14200003 */ bnez $at,.PB0f0fb268 +/* f0fb25c: 00000000 */ nop +/* f0fb260: 5240006d */ beqzl $s2,.PB0f0fb418 +/* f0fb264: 8fae00fc */ lw $t6,0xfc($sp) +.PB0f0fb268: +/* f0fb268: 05410006 */ bgez $t2,.PB0f0fb284 +/* f0fb26c: 28410047 */ slti $at,$v0,0x47 +/* f0fb270: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb274: 846f0828 */ lh $t7,0x828($v1) +/* f0fb278: 59e00003 */ blezl $t7,.PB0f0fb288 +/* f0fb27c: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb280: a4600828 */ sh $zero,0x828($v1) +.PB0f0fb284: +/* f0fb284: 8fa300fc */ lw $v1,0xfc($sp) +.PB0f0fb288: +/* f0fb288: 19400005 */ blez $t2,.PB0f0fb2a0 +/* f0fb28c: 84650828 */ lh $a1,0x828($v1) +/* f0fb290: 04a10003 */ bgez $a1,.PB0f0fb2a0 +/* f0fb294: 00000000 */ nop +/* f0fb298: a4600828 */ sh $zero,0x828($v1) +/* f0fb29c: 84650828 */ lh $a1,0x828($v1) +.PB0f0fb2a0: +/* f0fb2a0: 14a00003 */ bnez $a1,.PB0f0fb2b0 +/* f0fb2a4: 00000000 */ nop +/* f0fb2a8: ac600824 */ sw $zero,0x824($v1) +/* f0fb2ac: 84650828 */ lh $a1,0x828($v1) +.PB0f0fb2b0: +/* f0fb2b0: 54200003 */ bnezl $at,.PB0f0fb2c0 +/* f0fb2b4: 00461023 */ subu $v0,$v0,$a2 +/* f0fb2b8: 24020046 */ li $v0,0x46 +/* f0fb2bc: 00461023 */ subu $v0,$v0,$a2 +.PB0f0fb2c0: +/* f0fb2c0: 02220019 */ multu $s1,$v0 +/* f0fb2c4: 24190046 */ li $t9,0x46 +/* f0fb2c8: 03267023 */ subu $t6,$t9,$a2 +/* f0fb2cc: 0000c012 */ mflo $t8 +/* f0fb2d0: 00000000 */ nop +/* f0fb2d4: 00000000 */ nop +/* f0fb2d8: 030e001a */ div $zero,$t8,$t6 +/* f0fb2dc: 15c00002 */ bnez $t6,.PB0f0fb2e8 +/* f0fb2e0: 00000000 */ nop +/* f0fb2e4: 0007000d */ break 0x7 +.PB0f0fb2e8: +/* f0fb2e8: 2401ffff */ li $at,-1 +/* f0fb2ec: 15c10004 */ bne $t6,$at,.PB0f0fb300 +/* f0fb2f0: 3c018000 */ lui $at,0x8000 +/* f0fb2f4: 17010002 */ bne $t8,$at,.PB0f0fb300 +/* f0fb2f8: 00000000 */ nop +/* f0fb2fc: 0006000d */ break 0x6 +.PB0f0fb300: +/* f0fb300: 00007812 */ mflo $t7 +/* f0fb304: 026f2023 */ subu $a0,$s3,$t7 +/* f0fb308: 28a10003 */ slti $at,$a1,0x3 +/* f0fb30c: 10200004 */ beqz $at,.PB0f0fb320 +/* f0fb310: 00801825 */ move $v1,$a0 +/* f0fb314: 28a1fffe */ slti $at,$a1,-2 +/* f0fb318: 10200005 */ beqz $at,.PB0f0fb330 +/* f0fb31c: 00000000 */ nop +.PB0f0fb320: +/* f0fb320: 04810003 */ bgez $a0,.PB0f0fb330 +/* f0fb324: 00041843 */ sra $v1,$a0,0x1 +/* f0fb328: 24810001 */ addiu $at,$a0,0x1 +/* f0fb32c: 00011843 */ sra $v1,$at,0x1 +.PB0f0fb330: +/* f0fb330: 1860003a */ blez $v1,.PB0f0fb41c +/* f0fb334: 28610004 */ slti $at,$v1,0x4 +/* f0fb338: 3c06800a */ lui $a2,0x800a +/* f0fb33c: 1420000b */ bnez $at,.PB0f0fb36c +/* f0fb340: 8cc6e4d0 */ lw $a2,-0x1b30($a2) +/* f0fb344: 0003c880 */ sll $t9,$v1,0x2 +/* f0fb348: 0323c823 */ subu $t9,$t9,$v1 +/* f0fb34c: 0019c8c0 */ sll $t9,$t9,0x3 +/* f0fb350: 0323c821 */ addu $t9,$t9,$v1 +/* f0fb354: 0019c840 */ sll $t9,$t9,0x1 +/* f0fb358: 2401003c */ li $at,0x3c +/* f0fb35c: 0321001a */ div $zero,$t9,$at +/* f0fb360: 0000c012 */ mflo $t8 +/* f0fb364: 03001825 */ move $v1,$t8 +/* f0fb368: 00000000 */ nop +.PB0f0fb36c: +/* f0fb36c: 8fae00fc */ lw $t6,0xfc($sp) +/* f0fb370: 24090001 */ li $t1,0x1 +/* f0fb374: 8dc20824 */ lw $v0,0x824($t6) +/* f0fb378: 0043001a */ div $zero,$v0,$v1 +/* f0fb37c: 00467821 */ addu $t7,$v0,$a2 +/* f0fb380: 00003812 */ mflo $a3 +/* f0fb384: 14600002 */ bnez $v1,.PB0f0fb390 +/* f0fb388: 00000000 */ nop +/* f0fb38c: 0007000d */ break 0x7 +.PB0f0fb390: +/* f0fb390: 2401ffff */ li $at,-1 +/* f0fb394: 14610004 */ bne $v1,$at,.PB0f0fb3a8 +/* f0fb398: 3c018000 */ lui $at,0x8000 +/* f0fb39c: 14410002 */ bne $v0,$at,.PB0f0fb3a8 +/* f0fb3a0: 00000000 */ nop +/* f0fb3a4: 0006000d */ break 0x6 +.PB0f0fb3a8: +/* f0fb3a8: 01e3001a */ div $zero,$t7,$v1 +/* f0fb3ac: 00006812 */ mflo $t5 +/* f0fb3b0: 14600002 */ bnez $v1,.PB0f0fb3bc +/* f0fb3b4: 00000000 */ nop +/* f0fb3b8: 0007000d */ break 0x7 +.PB0f0fb3bc: +/* f0fb3bc: 2401ffff */ li $at,-1 +/* f0fb3c0: 14610004 */ bne $v1,$at,.PB0f0fb3d4 +/* f0fb3c4: 3c018000 */ lui $at,0x8000 +/* f0fb3c8: 15e10002 */ bne $t7,$at,.PB0f0fb3d4 +/* f0fb3cc: 00000000 */ nop +/* f0fb3d0: 0006000d */ break 0x6 +.PB0f0fb3d4: +/* f0fb3d4: 05410003 */ bgez $t2,.PB0f0fb3e4 +/* f0fb3d8: 00000000 */ nop +/* f0fb3dc: 10000001 */ b .PB0f0fb3e4 +/* f0fb3e0: 2409ffff */ li $t1,-1 +.PB0f0fb3e4: +/* f0fb3e4: 10ed0002 */ beq $a3,$t5,.PB0f0fb3f0 +/* f0fb3e8: 00000000 */ nop +/* f0fb3ec: 241f0001 */ li $ra,0x1 +.PB0f0fb3f0: +/* f0fb3f0: 14a00002 */ bnez $a1,.PB0f0fb3fc +/* f0fb3f4: 00000000 */ nop +/* f0fb3f8: 241f0001 */ li $ra,0x1 +.PB0f0fb3fc: +/* f0fb3fc: 13e00007 */ beqz $ra,.PB0f0fb41c +/* f0fb400: 00000000 */ nop +/* f0fb404: 8fb800fc */ lw $t8,0xfc($sp) +/* f0fb408: 00a9c821 */ addu $t9,$a1,$t1 +/* f0fb40c: 10000003 */ b .PB0f0fb41c +/* f0fb410: a7190828 */ sh $t9,0x828($t8) +.PB0f0fb414: +/* f0fb414: 8fae00fc */ lw $t6,0xfc($sp) +.PB0f0fb418: +/* f0fb418: a5c00828 */ sh $zero,0x828($t6) +.PB0f0fb41c: +/* f0fb41c: 10ed0002 */ beq $a3,$t5,.PB0f0fb428 +/* f0fb420: 3c18800a */ lui $t8,0x800a +/* f0fb424: 241f0001 */ li $ra,0x1 +.PB0f0fb428: +/* f0fb428: 17e00002 */ bnez $ra,.PB0f0fb434 +/* f0fb42c: 00000000 */ nop +/* f0fb430: 00004825 */ move $t1,$zero +.PB0f0fb434: +/* f0fb434: 11000007 */ beqz $t0,.PB0f0fb454 +/* f0fb438: 00006825 */ move $t5,$zero +/* f0fb43c: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb440: 240d0001 */ li $t5,0x1 +/* f0fb444: a4600838 */ sh $zero,0x838($v1) +/* f0fb448: ac600830 */ sw $zero,0x830($v1) +/* f0fb44c: 10000005 */ b .PB0f0fb464 +/* f0fb450: a4680836 */ sh $t0,0x836($v1) +.PB0f0fb454: +/* f0fb454: 51800004 */ beqzl $t4,.PB0f0fb468 +/* f0fb458: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb45c: 8faf00fc */ lw $t7,0xfc($sp) +/* f0fb460: 85ec0836 */ lh $t4,0x836($t7) +.PB0f0fb464: +/* f0fb464: 8fa300fc */ lw $v1,0xfc($sp) +.PB0f0fb468: +/* f0fb468: 8c620830 */ lw $v0,0x830($v1) +/* f0fb46c: 28410033 */ slti $at,$v0,0x33 +/* f0fb470: 14200004 */ bnez $at,.PB0f0fb484 +/* f0fb474: 00000000 */ nop +/* f0fb478: 24190001 */ li $t9,0x1 +/* f0fb47c: a4790838 */ sh $t9,0x838($v1) +/* f0fb480: 8c620830 */ lw $v0,0x830($v1) +.PB0f0fb484: +/* f0fb484: 0050001a */ div $zero,$v0,$s0 +/* f0fb488: 8f18e4d0 */ lw $t8,-0x1b30($t8) +/* f0fb48c: 00003812 */ mflo $a3 +/* f0fb490: 846f0838 */ lh $t7,0x838($v1) +/* f0fb494: 00587021 */ addu $t6,$v0,$t8 +/* f0fb498: 01d0001a */ div $zero,$t6,$s0 +/* f0fb49c: 16000002 */ bnez $s0,.PB0f0fb4a8 +/* f0fb4a0: 00000000 */ nop +/* f0fb4a4: 0007000d */ break 0x7 +.PB0f0fb4a8: +/* f0fb4a8: 2401ffff */ li $at,-1 +/* f0fb4ac: 16010004 */ bne $s0,$at,.PB0f0fb4c0 +/* f0fb4b0: 3c018000 */ lui $at,0x8000 +/* f0fb4b4: 14410002 */ bne $v0,$at,.PB0f0fb4c0 +/* f0fb4b8: 00000000 */ nop +/* f0fb4bc: 0006000d */ break 0x6 +.PB0f0fb4c0: +/* f0fb4c0: 00004012 */ mflo $t0 +/* f0fb4c4: 01601025 */ move $v0,$t3 +/* f0fb4c8: 16000002 */ bnez $s0,.PB0f0fb4d4 +/* f0fb4cc: 00000000 */ nop +/* f0fb4d0: 0007000d */ break 0x7 +.PB0f0fb4d4: +/* f0fb4d4: 2401ffff */ li $at,-1 +/* f0fb4d8: 16010004 */ bne $s0,$at,.PB0f0fb4ec +/* f0fb4dc: 3c018000 */ lui $at,0x8000 +/* f0fb4e0: 15c10002 */ bne $t6,$at,.PB0f0fb4ec +/* f0fb4e4: 00000000 */ nop +/* f0fb4e8: 0006000d */ break 0x6 +.PB0f0fb4ec: +/* f0fb4ec: 15e0000b */ bnez $t7,.PB0f0fb51c +/* f0fb4f0: 00000000 */ nop +/* f0fb4f4: 04e10003 */ bgez $a3,.PB0f0fb504 +/* f0fb4f8: 0007c843 */ sra $t9,$a3,0x1 +/* f0fb4fc: 24e10001 */ addiu $at,$a3,0x1 +/* f0fb500: 0001c843 */ sra $t9,$at,0x1 +.PB0f0fb504: +/* f0fb504: 03203825 */ move $a3,$t9 +/* f0fb508: 05010003 */ bgez $t0,.PB0f0fb518 +/* f0fb50c: 0008c043 */ sra $t8,$t0,0x1 +/* f0fb510: 25010001 */ addiu $at,$t0,0x1 +/* f0fb514: 0001c043 */ sra $t8,$at,0x1 +.PB0f0fb518: +/* f0fb518: 03004025 */ move $t0,$t8 +.PB0f0fb51c: +/* f0fb51c: 05610003 */ bgez $t3,.PB0f0fb52c +/* f0fb520: a3ac010d */ sb $t4,0x10d($sp) +/* f0fb524: 10000001 */ b .PB0f0fb52c +/* f0fb528: 000b1023 */ negu $v0,$t3 +.PB0f0fb52c: +/* f0fb52c: 05410003 */ bgez $t2,.PB0f0fb53c +/* f0fb530: 28410014 */ slti $at,$v0,0x14 +/* f0fb534: 10000002 */ b .PB0f0fb540 +/* f0fb538: 000a1823 */ negu $v1,$t2 +.PB0f0fb53c: +/* f0fb53c: 01401825 */ move $v1,$t2 +.PB0f0fb540: +/* f0fb540: 14200067 */ bnez $at,.PB0f0fb6e0 +/* f0fb544: 0062082a */ slt $at,$v1,$v0 +/* f0fb548: 14200003 */ bnez $at,.PB0f0fb558 +/* f0fb54c: 3c06800a */ lui $a2,0x800a +/* f0fb550: 52400064 */ beqzl $s2,.PB0f0fb6e4 +/* f0fb554: 8fa300fc */ lw $v1,0xfc($sp) +.PB0f0fb558: +/* f0fb558: 05610006 */ bgez $t3,.PB0f0fb574 +/* f0fb55c: 28410047 */ slti $at,$v0,0x47 +/* f0fb560: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb564: 846e0834 */ lh $t6,0x834($v1) +/* f0fb568: 05c30003 */ bgezl $t6,.PB0f0fb578 +/* f0fb56c: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb570: a4600834 */ sh $zero,0x834($v1) +.PB0f0fb574: +/* f0fb574: 8fa300fc */ lw $v1,0xfc($sp) +.PB0f0fb578: +/* f0fb578: 19600005 */ blez $t3,.PB0f0fb590 +/* f0fb57c: 84650834 */ lh $a1,0x834($v1) +/* f0fb580: 18a00003 */ blez $a1,.PB0f0fb590 +/* f0fb584: 00000000 */ nop +/* f0fb588: a4600834 */ sh $zero,0x834($v1) +/* f0fb58c: 84650834 */ lh $a1,0x834($v1) +.PB0f0fb590: +/* f0fb590: 14a00003 */ bnez $a1,.PB0f0fb5a0 +/* f0fb594: 00000000 */ nop +/* f0fb598: ac600830 */ sw $zero,0x830($v1) +/* f0fb59c: 84650834 */ lh $a1,0x834($v1) +.PB0f0fb5a0: +/* f0fb5a0: 14200002 */ bnez $at,.PB0f0fb5ac +/* f0fb5a4: 8cc6e4d0 */ lw $a2,-0x1b30($a2) +/* f0fb5a8: 24020046 */ li $v0,0x46 +.PB0f0fb5ac: +/* f0fb5ac: 2442ffec */ addiu $v0,$v0,-20 +/* f0fb5b0: 02820019 */ multu $s4,$v0 +/* f0fb5b4: 24010032 */ li $at,0x32 +/* f0fb5b8: 00007812 */ mflo $t7 +/* f0fb5bc: 00000000 */ nop +/* f0fb5c0: 00000000 */ nop +/* f0fb5c4: 01e1001a */ div $zero,$t7,$at +/* f0fb5c8: 0000c812 */ mflo $t9 +/* f0fb5cc: 02792023 */ subu $a0,$s3,$t9 +/* f0fb5d0: 28a10003 */ slti $at,$a1,0x3 +/* f0fb5d4: 10200003 */ beqz $at,.PB0f0fb5e4 +/* f0fb5d8: 00801825 */ move $v1,$a0 +/* f0fb5dc: 28a1fffe */ slti $at,$a1,-2 +/* f0fb5e0: 10200005 */ beqz $at,.PB0f0fb5f8 +.PB0f0fb5e4: +/* f0fb5e4: 24010003 */ li $at,0x3 +/* f0fb5e8: 0081001a */ div $zero,$a0,$at +/* f0fb5ec: 00001812 */ mflo $v1 +/* f0fb5f0: 00000000 */ nop +/* f0fb5f4: 00000000 */ nop +.PB0f0fb5f8: +/* f0fb5f8: 18600036 */ blez $v1,.PB0f0fb6d4 +/* f0fb5fc: 28610004 */ slti $at,$v1,0x4 +/* f0fb600: 1420000b */ bnez $at,.PB0f0fb630 +/* f0fb604: 8faf00fc */ lw $t7,0xfc($sp) +/* f0fb608: 0003c080 */ sll $t8,$v1,0x2 +/* f0fb60c: 0303c023 */ subu $t8,$t8,$v1 +/* f0fb610: 0018c0c0 */ sll $t8,$t8,0x3 +/* f0fb614: 0303c021 */ addu $t8,$t8,$v1 +/* f0fb618: 0018c040 */ sll $t8,$t8,0x1 +/* f0fb61c: 2401003c */ li $at,0x3c +/* f0fb620: 0301001a */ div $zero,$t8,$at +/* f0fb624: 00007012 */ mflo $t6 +/* f0fb628: 01c01825 */ move $v1,$t6 +/* f0fb62c: 00000000 */ nop +.PB0f0fb630: +/* f0fb630: 8de20830 */ lw $v0,0x830($t7) +/* f0fb634: 240c0001 */ li $t4,0x1 +/* f0fb638: 0043001a */ div $zero,$v0,$v1 +/* f0fb63c: 0046c821 */ addu $t9,$v0,$a2 +/* f0fb640: 00003812 */ mflo $a3 +/* f0fb644: 14600002 */ bnez $v1,.PB0f0fb650 +/* f0fb648: 00000000 */ nop +/* f0fb64c: 0007000d */ break 0x7 +.PB0f0fb650: +/* f0fb650: 2401ffff */ li $at,-1 +/* f0fb654: 14610004 */ bne $v1,$at,.PB0f0fb668 +/* f0fb658: 3c018000 */ lui $at,0x8000 +/* f0fb65c: 14410002 */ bne $v0,$at,.PB0f0fb668 +/* f0fb660: 00000000 */ nop +/* f0fb664: 0006000d */ break 0x6 +.PB0f0fb668: +/* f0fb668: 0323001a */ div $zero,$t9,$v1 +/* f0fb66c: 00004012 */ mflo $t0 +/* f0fb670: 14600002 */ bnez $v1,.PB0f0fb67c +/* f0fb674: 00000000 */ nop +/* f0fb678: 0007000d */ break 0x7 +.PB0f0fb67c: +/* f0fb67c: 2401ffff */ li $at,-1 +/* f0fb680: 14610004 */ bne $v1,$at,.PB0f0fb694 +/* f0fb684: 3c018000 */ lui $at,0x8000 +/* f0fb688: 17210002 */ bne $t9,$at,.PB0f0fb694 +/* f0fb68c: 00000000 */ nop +/* f0fb690: 0006000d */ break 0x6 +.PB0f0fb694: +/* f0fb694: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb698: 19600003 */ blez $t3,.PB0f0fb6a8 +/* f0fb69c: 00000000 */ nop +/* f0fb6a0: 10000001 */ b .PB0f0fb6a8 +/* f0fb6a4: 240cffff */ li $t4,-1 +.PB0f0fb6a8: +/* f0fb6a8: 10e80002 */ beq $a3,$t0,.PB0f0fb6b4 +/* f0fb6ac: 00acc021 */ addu $t8,$a1,$t4 +/* f0fb6b0: 240d0001 */ li $t5,0x1 +.PB0f0fb6b4: +/* f0fb6b4: 14a00002 */ bnez $a1,.PB0f0fb6c0 +/* f0fb6b8: 00000000 */ nop +/* f0fb6bc: 240d0001 */ li $t5,0x1 +.PB0f0fb6c0: +/* f0fb6c0: 51a00005 */ beqzl $t5,.PB0f0fb6d8 +/* f0fb6c4: 8fa300fc */ lw $v1,0xfc($sp) +/* f0fb6c8: a4780834 */ sh $t8,0x834($v1) +/* f0fb6cc: 3c06800a */ lui $a2,0x800a +/* f0fb6d0: 8cc6e4d0 */ lw $a2,-0x1b30($a2) +.PB0f0fb6d4: +/* f0fb6d4: 8fa300fc */ lw $v1,0xfc($sp) +.PB0f0fb6d8: +/* f0fb6d8: 10000006 */ b .PB0f0fb6f4 +/* f0fb6dc: 8c620830 */ lw $v0,0x830($v1) +.PB0f0fb6e0: +/* f0fb6e0: 8fa300fc */ lw $v1,0xfc($sp) +.PB0f0fb6e4: +/* f0fb6e4: 3c06800a */ lui $a2,0x800a +/* f0fb6e8: a4600834 */ sh $zero,0x834($v1) +/* f0fb6ec: 8cc6e4d0 */ lw $a2,-0x1b30($a2) +/* f0fb6f0: 8c620830 */ lw $v0,0x830($v1) +.PB0f0fb6f4: +/* f0fb6f4: 10e80002 */ beq $a3,$t0,.PB0f0fb700 +/* f0fb6f8: 27b50104 */ addiu $s5,$sp,0x104 +/* f0fb6fc: 240d0001 */ li $t5,0x1 +.PB0f0fb700: +/* f0fb700: 55a00003 */ bnezl $t5,.PB0f0fb710 +/* f0fb704: 8c6e0824 */ lw $t6,0x824($v1) +/* f0fb708: 00006025 */ move $t4,$zero +/* f0fb70c: 8c6e0824 */ lw $t6,0x824($v1) +.PB0f0fb710: +/* f0fb710: 8fa500f8 */ lw $a1,0xf8($sp) +/* f0fb714: 3c19800a */ lui $t9,0x800a +/* f0fb718: 01c67821 */ addu $t7,$t6,$a2 +/* f0fb71c: ac6f0824 */ sw $t7,0x824($v1) +/* f0fb720: 8f39e4d0 */ lw $t9,-0x1b30($t9) +/* f0fb724: 240e0001 */ li $t6,0x1 +/* f0fb728: 0059c021 */ addu $t8,$v0,$t9 +/* f0fb72c: ac780830 */ sw $t8,0x830($v1) +/* f0fb730: a3a90104 */ sb $t1,0x104($sp) +/* f0fb734: a3ac0105 */ sb $t4,0x105($sp) +/* f0fb738: a3aa0108 */ sb $t2,0x108($sp) +/* f0fb73c: a3ab0109 */ sb $t3,0x109($sp) +/* f0fb740: 10a00003 */ beqz $a1,.PB0f0fb750 +/* f0fb744: a3a00118 */ sb $zero,0x118($sp) +/* f0fb748: 10000002 */ b .PB0f0fb754 +/* f0fb74c: a3ae010e */ sb $t6,0x10e($sp) +.PB0f0fb750: +/* f0fb750: a3a0010e */ sb $zero,0x10e($sp) +.PB0f0fb754: +/* f0fb754: 8ee30000 */ lw $v1,0x0($s7) +/* f0fb758: 007e0019 */ multu $v1,$s8 +/* f0fb75c: 00007812 */ mflo $t7 +/* f0fb760: 02cf3821 */ addu $a3,$s6,$t7 +/* f0fb764: 8ce404f8 */ lw $a0,0x4f8($a3) +/* f0fb768: 50800016 */ beqzl $a0,.PB0f0fb7c4 +/* f0fb76c: 84e204f4 */ lh $v0,0x4f4($a3) +/* f0fb770: 50a00014 */ beqzl $a1,.PB0f0fb7c4 +/* f0fb774: 84e204f4 */ lh $v0,0x4f4($a3) +/* f0fb778: 8c990000 */ lw $t9,0x0($a0) +/* f0fb77c: 240f0001 */ li $t7,0x1 +/* f0fb780: 8f380010 */ lw $t8,0x10($t9) +/* f0fb784: 24190001 */ li $t9,0x1 +/* f0fb788: 330e0004 */ andi $t6,$t8,0x4 +/* f0fb78c: 51c00004 */ beqzl $t6,.PB0f0fb7a0 +/* f0fb790: 8c820008 */ lw $v0,0x8($a0) +/* f0fb794: a3af0106 */ sb $t7,0x106($sp) +/* f0fb798: afb9011c */ sw $t9,0x11c($sp) +/* f0fb79c: 8c820008 */ lw $v0,0x8($a0) +.PB0f0fb7a0: +/* f0fb7a0: 50400008 */ beqzl $v0,.PB0f0fb7c4 +/* f0fb7a4: 84e204f4 */ lh $v0,0x4f4($a3) +/* f0fb7a8: 90580000 */ lbu $t8,0x0($v0) +/* f0fb7ac: 24010002 */ li $at,0x2 +/* f0fb7b0: 240e0001 */ li $t6,0x1 +/* f0fb7b4: 57010003 */ bnel $t8,$at,.PB0f0fb7c4 +/* f0fb7b8: 84e204f4 */ lh $v0,0x4f4($a3) +/* f0fb7bc: a3ae0106 */ sb $t6,0x106($sp) +/* f0fb7c0: 84e204f4 */ lh $v0,0x4f4($a3) +.PB0f0fb7c4: +/* f0fb7c4: 00009825 */ move $s3,$zero +/* f0fb7c8: 0000a025 */ move $s4,$zero +/* f0fb7cc: 1840003a */ blez $v0,.PB0f0fb8b8 +/* f0fb7d0: 00000000 */ nop +/* f0fb7d4: afa00044 */ sw $zero,0x44($sp) +.PB0f0fb7d8: +/* f0fb7d8: 000378c0 */ sll $t7,$v1,0x3 +/* f0fb7dc: 01e37823 */ subu $t7,$t7,$v1 +/* f0fb7e0: 000f7880 */ sll $t7,$t7,0x2 +/* f0fb7e4: 01e37821 */ addu $t7,$t7,$v1 +/* f0fb7e8: 000f78c0 */ sll $t7,$t7,0x3 +/* f0fb7ec: 8fb80044 */ lw $t8,0x44($sp) +/* f0fb7f0: 01e37823 */ subu $t7,$t7,$v1 +/* f0fb7f4: 000f7900 */ sll $t7,$t7,0x4 +/* f0fb7f8: 02cfc821 */ addu $t9,$s6,$t7 +/* f0fb7fc: 03389021 */ addu $s2,$t9,$t8 +/* f0fb800: 824e0478 */ lb $t6,0x478($s2) +/* f0fb804: 26520464 */ addiu $s2,$s2,0x464 +/* f0fb808: 02408825 */ move $s1,$s2 +/* f0fb80c: 19c00024 */ blez $t6,.PB0f0fb8a0 +/* f0fb810: 00008025 */ move $s0,$zero +/* f0fb814: 8ef90000 */ lw $t9,0x0($s7) +.PB0f0fb818: +/* f0fb818: 268f0001 */ addiu $t7,$s4,0x1 +/* f0fb81c: 00003025 */ move $a2,$zero +/* f0fb820: 033e0019 */ multu $t9,$s8 +/* f0fb824: 02a02825 */ move $a1,$s5 +/* f0fb828: 0000c012 */ mflo $t8 +/* f0fb82c: 02d87021 */ addu $t6,$s6,$t8 +/* f0fb830: 85d904f4 */ lh $t9,0x4f4($t6) +/* f0fb834: 15f90008 */ bne $t7,$t9,.PB0f0fb858 +/* f0fb838: 00000000 */ nop +/* f0fb83c: 82580015 */ lb $t8,0x15($s2) +/* f0fb840: 16180005 */ bne $s0,$t8,.PB0f0fb858 +/* f0fb844: 00000000 */ nop +/* f0fb848: 16600003 */ bnez $s3,.PB0f0fb858 +/* f0fb84c: 00000000 */ nop +/* f0fb850: 24060001 */ li $a2,0x1 +/* f0fb854: 24130001 */ li $s3,0x1 +.PB0f0fb858: +/* f0fb858: 0fc3e62e */ jal 0xf0f98b8 +/* f0fb85c: 8e240000 */ lw $a0,0x0($s1) +/* f0fb860: 824e0014 */ lb $t6,0x14($s2) +/* f0fb864: 26100001 */ addiu $s0,$s0,0x1 +/* f0fb868: 26310004 */ addiu $s1,$s1,0x4 +/* f0fb86c: 020e082a */ slt $at,$s0,$t6 +/* f0fb870: 5420ffe9 */ bnezl $at,.PB0f0fb818 +/* f0fb874: 8ef90000 */ lw $t9,0x0($s7) +/* f0fb878: 8ee30000 */ lw $v1,0x0($s7) +/* f0fb87c: 000378c0 */ sll $t7,$v1,0x3 +/* f0fb880: 01e37823 */ subu $t7,$t7,$v1 +/* f0fb884: 000f7880 */ sll $t7,$t7,0x2 +/* f0fb888: 01e37821 */ addu $t7,$t7,$v1 +/* f0fb88c: 000f78c0 */ sll $t7,$t7,0x3 +/* f0fb890: 01e37823 */ subu $t7,$t7,$v1 +/* f0fb894: 000f7900 */ sll $t7,$t7,0x4 +/* f0fb898: 02cf3821 */ addu $a3,$s6,$t7 +/* f0fb89c: 84e204f4 */ lh $v0,0x4f4($a3) +.PB0f0fb8a0: +/* f0fb8a0: 8fb90044 */ lw $t9,0x44($sp) +/* f0fb8a4: 26940001 */ addiu $s4,$s4,0x1 +/* f0fb8a8: 0282082a */ slt $at,$s4,$v0 +/* f0fb8ac: 27380018 */ addiu $t8,$t9,0x18 +/* f0fb8b0: 1420ffc9 */ bnez $at,.PB0f0fb7d8 +/* f0fb8b4: afb80044 */ sw $t8,0x44($sp) +.PB0f0fb8b8: +/* f0fb8b8: 3c0e800a */ lui $t6,0x800a +/* f0fb8bc: 8dce5ef4 */ lw $t6,0x5ef4($t6) +/* f0fb8c0: 25cfffff */ addiu $t7,$t6,-1 +/* f0fb8c4: 2de1000d */ sltiu $at,$t7,0xd +/* f0fb8c8: 1020004d */ beqz $at,.PB0f0fba00 +/* f0fb8cc: 000f7880 */ sll $t7,$t7,0x2 +/* f0fb8d0: 3c017f1b */ lui $at,0x7f1b +/* f0fb8d4: 002f0821 */ addu $at,$at,$t7 +/* f0fb8d8: 8c2f47e0 */ lw $t7,0x47e0($at) +/* f0fb8dc: 01e00008 */ jr $t7 +/* f0fb8e0: 00000000 */ nop +/* f0fb8e4: 83b9010e */ lb $t9,0x10e($sp) +/* f0fb8e8: 8fb8011c */ lw $t8,0x11c($sp) +/* f0fb8ec: 53200045 */ beqzl $t9,.PB0f0fba04 +/* f0fb8f0: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb8f4: 57000043 */ bnezl $t8,.PB0f0fba04 +/* f0fb8f8: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb8fc: 8ce404f8 */ lw $a0,0x4f8($a3) +/* f0fb900: 8fae0100 */ lw $t6,0x100($sp) +/* f0fb904: 5080003f */ beqzl $a0,.PB0f0fba04 +/* f0fb908: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb90c: 8dcf000c */ lw $t7,0xc($t6) +/* f0fb910: 3c19800a */ lui $t9,0x800a +/* f0fb914: 55e0003b */ bnezl $t7,.PB0f0fba04 +/* f0fb918: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb91c: 8f39e960 */ lw $t9,-0x16a0($t9) +/* f0fb920: 8c820000 */ lw $v0,0x0($a0) +/* f0fb924: 24010002 */ li $at,0x2 +/* f0fb928: 13210008 */ beq $t9,$at,.PB0f0fb94c +/* f0fb92c: 3c048008 */ lui $a0,0x8008 +/* f0fb930: 24847c98 */ addiu $a0,$a0,0x7c98 +/* f0fb934: 10820005 */ beq $a0,$v0,.PB0f0fb94c +/* f0fb938: 00000000 */ nop +/* f0fb93c: 0fc3cd2e */ jal 0xf0f34b8 +/* f0fb940: 00000000 */ nop +/* f0fb944: 1000002f */ b .PB0f0fba04 +/* f0fb948: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f0fb94c: +/* f0fb94c: 3c188009 */ lui $t8,0x8009 +/* f0fb950: 27188b60 */ addiu $t8,$t8,-29856 +/* f0fb954: 5702002b */ bnel $t8,$v0,.PB0f0fba04 +/* f0fb958: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb95c: 0fc603da */ jal 0xf180f68 +/* f0fb960: 00000000 */ nop +/* f0fb964: 10000027 */ b .PB0f0fba04 +/* f0fb968: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb96c: 3c0e8007 */ lui $t6,0x8007 +/* f0fb970: 8dce2434 */ lw $t6,0x2434($t6) +/* f0fb974: 51c00010 */ beqzl $t6,.PB0f0fb9b8 +/* f0fb978: 240e000a */ li $t6,0xa +/* f0fb97c: 0fc3e19f */ jal 0xf0f867c +/* f0fb980: 00000000 */ nop +/* f0fb984: 3c0f8007 */ lui $t7,0x8007 +/* f0fb988: 8def3118 */ lw $t7,0x3118($t7) +/* f0fb98c: 3c18800a */ lui $t8,0x800a +/* f0fb990: 27182530 */ addiu $t8,$t8,0x2530 +/* f0fb994: 000fc8c0 */ sll $t9,$t7,0x3 +/* f0fb998: 032fc823 */ subu $t9,$t9,$t7 +/* f0fb99c: 0019c880 */ sll $t9,$t9,0x2 +/* f0fb9a0: 032fc821 */ addu $t9,$t9,$t7 +/* f0fb9a4: 0019c8c0 */ sll $t9,$t9,0x3 +/* f0fb9a8: 032fc823 */ subu $t9,$t9,$t7 +/* f0fb9ac: 0019c900 */ sll $t9,$t9,0x4 +/* f0fb9b0: 03383821 */ addu $a3,$t9,$t8 +/* f0fb9b4: 240e000a */ li $t6,0xa +.PB0f0fb9b8: +/* f0fb9b8: a0ee083c */ sb $t6,0x83c($a3) +/* f0fb9bc: 83af010e */ lb $t7,0x10e($sp) +/* f0fb9c0: 8fb9011c */ lw $t9,0x11c($sp) +/* f0fb9c4: 51e0000f */ beqzl $t7,.PB0f0fba04 +/* f0fb9c8: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb9cc: 5720000d */ bnezl $t9,.PB0f0fba04 +/* f0fb9d0: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb9d4: 8cf804f8 */ lw $t8,0x4f8($a3) +/* f0fb9d8: 8fae0100 */ lw $t6,0x100($sp) +/* f0fb9dc: 53000009 */ beqzl $t8,.PB0f0fba04 +/* f0fb9e0: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb9e4: 8dcf0000 */ lw $t7,0x0($t6) +/* f0fb9e8: 8df90010 */ lw $t9,0x10($t7) +/* f0fb9ec: 33380020 */ andi $t8,$t9,0x20 +/* f0fb9f0: 57000004 */ bnezl $t8,.PB0f0fba04 +/* f0fb9f4: 8fbf003c */ lw $ra,0x3c($sp) +/* f0fb9f8: 0fc3e19f */ jal 0xf0f867c +/* f0fb9fc: 00000000 */ nop +.PB0f0fba00: +/* f0fba00: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f0fba04: +/* f0fba04: 8fb00018 */ lw $s0,0x18($sp) +/* f0fba08: 8fb1001c */ lw $s1,0x1c($sp) +/* f0fba0c: 8fb20020 */ lw $s2,0x20($sp) +/* f0fba10: 8fb30024 */ lw $s3,0x24($sp) +/* f0fba14: 8fb40028 */ lw $s4,0x28($sp) +/* f0fba18: 8fb5002c */ lw $s5,0x2c($sp) +/* f0fba1c: 8fb60030 */ lw $s6,0x30($sp) +/* f0fba20: 8fb70034 */ lw $s7,0x34($sp) +/* f0fba24: 8fbe0038 */ lw $s8,0x38($sp) +/* f0fba28: 03e00008 */ jr $ra +/* f0fba2c: 27bd0130 */ addiu $sp,$sp,0x130 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel menuProcessInput @@ -19112,7 +22196,7 @@ Gfx *menuRender(Gfx *gdl) // Check which controllers are connected // and update the alpha of the label if (((g_MpSetup.chrslots | ~joyGetConnectedControllers()) & (1 << i)) == 0) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA tmp1 = g_Vars.diffframe60freal * 3; #else tmp1 = g_Vars.diffframe60 * 3; @@ -19126,7 +22210,7 @@ Gfx *menuRender(Gfx *gdl) } } } else { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA tmp2 = g_Vars.diffframe60freal * 9; #else tmp2 = g_Vars.diffframe60 * 9; diff --git a/src/game/menugfx.c b/src/game/menugfx.c index 87c607f12..ffbda683d 100644 --- a/src/game/menugfx.c +++ b/src/game/menugfx.c @@ -189,6 +189,177 @@ glabel menugfxCreateBlur /* f0e1030: 03e00008 */ jr $ra /* f0e1034: 27bd0080 */ addiu $sp,$sp,0x80 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel menugfxCreateBlur +/* f0e0bf0: 27bdff80 */ addiu $sp,$sp,-128 +/* f0e0bf4: afbf003c */ sw $ra,0x3c($sp) +/* f0e0bf8: afbe0038 */ sw $s8,0x38($sp) +/* f0e0bfc: afb70034 */ sw $s7,0x34($sp) +/* f0e0c00: afb60030 */ sw $s6,0x30($sp) +/* f0e0c04: afb5002c */ sw $s5,0x2c($sp) +/* f0e0c08: afb40028 */ sw $s4,0x28($sp) +/* f0e0c0c: afb30024 */ sw $s3,0x24($sp) +/* f0e0c10: afb20020 */ sw $s2,0x20($sp) +/* f0e0c14: afb1001c */ sw $s1,0x1c($sp) +/* f0e0c18: 0c002a16 */ jal 0xa858 +/* f0e0c1c: afb00018 */ sw $s0,0x18($sp) +/* f0e0c20: 0c002e4d */ jal 0xb934 +/* f0e0c24: 00408025 */ move $s0,$v0 +/* f0e0c28: 00026840 */ sll $t5,$v0,0x1 +/* f0e0c2c: 0c002e4d */ jal 0xb934 +/* f0e0c30: afad0070 */ sw $t5,0x70($sp) +/* f0e0c34: 44822000 */ mtc1 $v0,$f4 +/* f0e0c38: 3c0143a0 */ lui $at,0x43a0 +/* f0e0c3c: 44814000 */ mtc1 $at,$f8 +/* f0e0c40: 468021a0 */ cvt.s.w $f6,$f4 +/* f0e0c44: 3c0f8007 */ lui $t7,0x8007 +/* f0e0c48: 8def2e50 */ lw $t7,0x2e50($t7) +/* f0e0c4c: 3c018008 */ lui $at,0x8008 +/* f0e0c50: 240e0001 */ li $t6,0x1 +/* f0e0c54: ac2e1f90 */ sw $t6,0x1f90($at) +/* f0e0c58: 24010001 */ li $at,0x1 +/* f0e0c5c: 8fad0070 */ lw $t5,0x70($sp) +/* f0e0c60: 15e10007 */ bne $t7,$at,.PB0f0e0c80 +/* f0e0c64: 46083003 */ div.s $f0,$f6,$f8 +/* f0e0c68: afad0070 */ sw $t5,0x70($sp) +/* f0e0c6c: 0c002a16 */ jal 0xa858 +/* f0e0c70: e7a0006c */ swc1 $f0,0x6c($sp) +/* f0e0c74: 8fad0070 */ lw $t5,0x70($sp) +/* f0e0c78: c7a0006c */ lwc1 $f0,0x6c($sp) +/* f0e0c7c: 00408025 */ move $s0,$v0 +.PB0f0e0c80: +/* f0e0c80: 3c047f1b */ lui $a0,0x7f1b +/* f0e0c84: 3c058007 */ lui $a1,0x8007 +/* f0e0c88: 24a52e50 */ addiu $a1,$a1,0x2e50 +/* f0e0c8c: 2484fc40 */ addiu $a0,$a0,-960 +/* f0e0c90: afad0070 */ sw $t5,0x70($sp) +/* f0e0c94: 0c003648 */ jal 0xd920 +/* f0e0c98: e7a0006c */ swc1 $f0,0x6c($sp) +/* f0e0c9c: 8fad0070 */ lw $t5,0x70($sp) +/* f0e0ca0: 3c15800a */ lui $s5,0x800a +/* f0e0ca4: c7a0006c */ lwc1 $f0,0x6c($sp) +/* f0e0ca8: 000dc0c0 */ sll $t8,$t5,0x3 +/* f0e0cac: afb80044 */ sw $t8,0x44($sp) +/* f0e0cb0: 26b524ec */ addiu $s5,$s5,0x24ec +/* f0e0cb4: 0000f025 */ move $s8,$zero +/* f0e0cb8: 0000b025 */ move $s6,$zero +/* f0e0cbc: afa00040 */ sw $zero,0x40($sp) +/* f0e0cc0: 24170028 */ li $s7,0x28 +/* f0e0cc4: 240cfffe */ li $t4,-2 +/* f0e0cc8: 240b0008 */ li $t3,0x8 +.PB0f0e0ccc: +/* f0e0ccc: 8fb30040 */ lw $s3,0x40($sp) +/* f0e0cd0: 00009025 */ move $s2,$zero +.PB0f0e0cd4: +/* f0e0cd4: 44925000 */ mtc1 $s2,$f10 +/* f0e0cd8: 3c014000 */ lui $at,0x4000 +/* f0e0cdc: 44819000 */ mtc1 $at,$f18 +/* f0e0ce0: 46805420 */ cvt.s.w $f16,$f10 +/* f0e0ce4: 3c014080 */ lui $at,0x4080 +/* f0e0ce8: 44813000 */ mtc1 $at,$f6 +/* f0e0cec: 3c014000 */ lui $at,0x4000 +/* f0e0cf0: 44815000 */ mtc1 $at,$f10 +/* f0e0cf4: 2401fffe */ li $at,-2 +/* f0e0cf8: 46128102 */ mul.s $f4,$f16,$f18 +/* f0e0cfc: 0260a025 */ move $s4,$s3 +/* f0e0d00: 00004025 */ move $t0,$zero +/* f0e0d04: 00003825 */ move $a3,$zero +/* f0e0d08: 00004825 */ move $t1,$zero +/* f0e0d0c: 0000f825 */ move $ra,$zero +/* f0e0d10: 46062202 */ mul.s $f8,$f4,$f6 +/* f0e0d14: 00000000 */ nop +/* f0e0d18: 460a4402 */ mul.s $f16,$f8,$f10 +/* f0e0d1c: 00000000 */ nop +/* f0e0d20: 46008482 */ mul.s $f18,$f16,$f0 +/* f0e0d24: 4600910d */ trunc.w.s $f4,$f18 +/* f0e0d28: 440e2000 */ mfc1 $t6,$f4 +/* f0e0d2c: 00000000 */ nop +/* f0e0d30: 01d68821 */ addu $s1,$t6,$s6 +/* f0e0d34: 02217824 */ and $t7,$s1,$at +/* f0e0d38: 01e08825 */ move $s1,$t7 +/* f0e0d3c: 449f3000 */ mtc1 $ra,$f6 +.PB0f0e0d40: +/* f0e0d40: 3c014000 */ lui $at,0x4000 +/* f0e0d44: 44815000 */ mtc1 $at,$f10 +/* f0e0d48: 46803220 */ cvt.s.w $f8,$f6 +/* f0e0d4c: 27ff0001 */ addiu $ra,$ra,0x1 +/* f0e0d50: 00002825 */ move $a1,$zero +/* f0e0d54: 00003025 */ move $a2,$zero +/* f0e0d58: 460a4402 */ mul.s $f16,$f8,$f10 +/* f0e0d5c: 00000000 */ nop +/* f0e0d60: 46008482 */ mul.s $f18,$f16,$f0 +/* f0e0d64: 4600910d */ trunc.w.s $f4,$f18 +/* f0e0d68: 44192000 */ mfc1 $t9,$f4 +/* f0e0d6c: 00000000 */ nop +/* f0e0d70: 03315021 */ addu $t2,$t9,$s1 +.PB0f0e0d74: +/* f0e0d74: 01467021 */ addu $t6,$t2,$a2 +/* f0e0d78: 01cc7824 */ and $t7,$t6,$t4 +/* f0e0d7c: 01f01821 */ addu $v1,$t7,$s0 +/* f0e0d80: 90790000 */ lbu $t9,0x0($v1) +/* f0e0d84: 90780001 */ lbu $t8,0x1($v1) +/* f0e0d88: 24a50001 */ addiu $a1,$a1,0x1 +/* f0e0d8c: 00197200 */ sll $t6,$t9,0x8 +/* f0e0d90: 030e1025 */ or $v0,$t8,$t6 +/* f0e0d94: 0002cac3 */ sra $t9,$v0,0xb +/* f0e0d98: 3338001f */ andi $t8,$t9,0x1f +/* f0e0d9c: 03094821 */ addu $t1,$t8,$t1 +/* f0e0da0: 00027183 */ sra $t6,$v0,0x6 +/* f0e0da4: 0002c843 */ sra $t9,$v0,0x1 +/* f0e0da8: 31cf001f */ andi $t7,$t6,0x1f +/* f0e0dac: 3338001f */ andi $t8,$t9,0x1f +/* f0e0db0: 00cd3021 */ addu $a2,$a2,$t5 +/* f0e0db4: 01e73821 */ addu $a3,$t7,$a3 +/* f0e0db8: 14abffee */ bne $a1,$t3,.PB0f0e0d74 +/* f0e0dbc: 03084021 */ addu $t0,$t8,$t0 +/* f0e0dc0: 57ebffdf */ bnel $ra,$t3,.PB0f0e0d40 +/* f0e0dc4: 449f3000 */ mtc1 $ra,$f6 +/* f0e0dc8: 00097182 */ srl $t6,$t1,0x6 +/* f0e0dcc: 00077982 */ srl $t7,$a3,0x6 +/* f0e0dd0: 0008c982 */ srl $t9,$t0,0x6 +/* f0e0dd4: 000ec0c0 */ sll $t8,$t6,0x3 +/* f0e0dd8: 03204025 */ move $t0,$t9 +/* f0e0ddc: 000f7082 */ srl $t6,$t7,0x2 +/* f0e0de0: 030ec825 */ or $t9,$t8,$t6 +/* f0e0de4: 8eb80000 */ lw $t8,0x0($s5) +/* f0e0de8: 01e03825 */ move $a3,$t7 +/* f0e0dec: 00077980 */ sll $t7,$a3,0x6 +/* f0e0df0: 03147021 */ addu $t6,$t8,$s4 +/* f0e0df4: a1d90000 */ sb $t9,0x0($t6) +/* f0e0df8: 3118001f */ andi $t8,$t0,0x1f +/* f0e0dfc: 0018c840 */ sll $t9,$t8,0x1 +/* f0e0e00: 01f9c025 */ or $t8,$t7,$t9 +/* f0e0e04: 8eaf0000 */ lw $t7,0x0($s5) +/* f0e0e08: 26520001 */ addiu $s2,$s2,0x1 +/* f0e0e0c: 26730002 */ addiu $s3,$s3,0x2 +/* f0e0e10: 01f4c821 */ addu $t9,$t7,$s4 +/* f0e0e14: 1657ffaf */ bne $s2,$s7,.PB0f0e0cd4 +/* f0e0e18: a3380001 */ sb $t8,0x1($t9) +/* f0e0e1c: 8fae0040 */ lw $t6,0x40($sp) +/* f0e0e20: 8fb80044 */ lw $t8,0x44($sp) +/* f0e0e24: 27de0001 */ addiu $s8,$s8,0x1 +/* f0e0e28: 2401001e */ li $at,0x1e +/* f0e0e2c: 25cf0050 */ addiu $t7,$t6,0x50 +/* f0e0e30: afaf0040 */ sw $t7,0x40($sp) +/* f0e0e34: 17c1ffa5 */ bne $s8,$at,.PB0f0e0ccc +/* f0e0e38: 02d8b021 */ addu $s6,$s6,$t8 +/* f0e0e3c: 8fbf003c */ lw $ra,0x3c($sp) +/* f0e0e40: 24190001 */ li $t9,0x1 +/* f0e0e44: 3c018008 */ lui $at,0x8008 +/* f0e0e48: 8fb00018 */ lw $s0,0x18($sp) +/* f0e0e4c: 8fb1001c */ lw $s1,0x1c($sp) +/* f0e0e50: 8fb20020 */ lw $s2,0x20($sp) +/* f0e0e54: 8fb30024 */ lw $s3,0x24($sp) +/* f0e0e58: 8fb40028 */ lw $s4,0x28($sp) +/* f0e0e5c: 8fb5002c */ lw $s5,0x2c($sp) +/* f0e0e60: 8fb60030 */ lw $s6,0x30($sp) +/* f0e0e64: 8fb70034 */ lw $s7,0x34($sp) +/* f0e0e68: 8fbe0038 */ lw $s8,0x38($sp) +/* f0e0e6c: ac391f90 */ sw $t9,0x1f90($at) +/* f0e0e70: 03e00008 */ jr $ra +/* f0e0e74: 27bd0080 */ addiu $sp,$sp,0x80 +); #else GLOBAL_ASM( glabel menugfxCreateBlur @@ -698,6 +869,228 @@ glabel menugfxRenderBgBlur /* f0e1390: 03e00008 */ jr $ra /* f0e1394: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel menugfxRenderBgBlur +/* f0e0e78: 27bdff70 */ addiu $sp,$sp,-144 +/* f0e0e7c: 3c0e8009 */ lui $t6,0x8009 +/* f0e0e80: 91ce2fd0 */ lbu $t6,0x2fd0($t6) +/* f0e0e84: afb00028 */ sw $s0,0x28($sp) +/* f0e0e88: 24010001 */ li $at,0x1 +/* f0e0e8c: 00808025 */ move $s0,$a0 +/* f0e0e90: afbf002c */ sw $ra,0x2c($sp) +/* f0e0e94: afa50094 */ sw $a1,0x94($sp) +/* f0e0e98: afa60098 */ sw $a2,0x98($sp) +/* f0e0e9c: 15c10013 */ bne $t6,$at,.PB0f0e0eec +/* f0e0ea0: afa7009c */ sw $a3,0x9c($sp) +/* f0e0ea4: 0c002e4d */ jal 0xb934 +/* f0e0ea8: 00000000 */ nop +/* f0e0eac: 0c002e51 */ jal 0xb944 +/* f0e0eb0: a7a20030 */ sh $v0,0x30($sp) +/* f0e0eb4: 240f00ff */ li $t7,0xff +/* f0e0eb8: 241800ff */ li $t8,0xff +/* f0e0ebc: 241900ff */ li $t9,0xff +/* f0e0ec0: afb9001c */ sw $t9,0x1c($sp) +/* f0e0ec4: afb80018 */ sw $t8,0x18($sp) +/* f0e0ec8: afaf0014 */ sw $t7,0x14($sp) +/* f0e0ecc: 02002025 */ move $a0,$s0 +/* f0e0ed0: 00002825 */ move $a1,$zero +/* f0e0ed4: 00003025 */ move $a2,$zero +/* f0e0ed8: 87a70030 */ lh $a3,0x30($sp) +/* f0e0edc: 0fc38881 */ jal 0xf0e2204 +/* f0e0ee0: afa20010 */ sw $v0,0x10($sp) +/* f0e0ee4: 100000b8 */ b .PB0f0e11c8 +/* f0e0ee8: 8fbf002c */ lw $ra,0x2c($sp) +.PB0f0e0eec: +/* f0e0eec: 0fc5a40f */ jal 0xf16903c +/* f0e0ef0: 24040001 */ li $a0,0x1 +/* f0e0ef4: afa2008c */ sw $v0,0x8c($sp) +/* f0e0ef8: 0fc5a3f5 */ jal 0xf168fd4 +/* f0e0efc: 24040004 */ li $a0,0x4 +/* f0e0f00: 02001825 */ move $v1,$s0 +/* f0e0f04: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0f08: 3c09e700 */ lui $t1,0xe700 +/* f0e0f0c: 02002025 */ move $a0,$s0 +/* f0e0f10: ac690000 */ sw $t1,0x0($v1) +/* f0e0f14: ac600004 */ sw $zero,0x4($v1) +/* f0e0f18: 3c0bbb00 */ lui $t3,0xbb00 +/* f0e0f1c: 356b0001 */ ori $t3,$t3,0x1 +/* f0e0f20: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0f24: 240cffff */ li $t4,-1 +/* f0e0f28: ac8c0004 */ sw $t4,0x4($a0) +/* f0e0f2c: ac8b0000 */ sw $t3,0x0($a0) +/* f0e0f30: 02003025 */ move $a2,$s0 +/* f0e0f34: 3c0dfd10 */ lui $t5,0xfd10 +/* f0e0f38: accd0000 */ sw $t5,0x0($a2) +/* f0e0f3c: 3c0e800a */ lui $t6,0x800a +/* f0e0f40: 8dce24ec */ lw $t6,0x24ec($t6) +/* f0e0f44: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0f48: 02003825 */ move $a3,$s0 +/* f0e0f4c: 3c180708 */ lui $t8,0x708 +/* f0e0f50: acce0004 */ sw $t6,0x4($a2) +/* f0e0f54: 37180200 */ ori $t8,$t8,0x200 +/* f0e0f58: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0f5c: 3c0ff510 */ lui $t7,0xf510 +/* f0e0f60: acef0000 */ sw $t7,0x0($a3) +/* f0e0f64: 02004025 */ move $t0,$s0 +/* f0e0f68: acf80004 */ sw $t8,0x4($a3) +/* f0e0f6c: 00402825 */ move $a1,$v0 +/* f0e0f70: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0f74: 02001025 */ move $v0,$s0 +/* f0e0f78: 3c19e600 */ lui $t9,0xe600 +/* f0e0f7c: ad190000 */ sw $t9,0x0($t0) +/* f0e0f80: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0f84: ad000004 */ sw $zero,0x4($t0) +/* f0e0f88: 3c0c074a */ lui $t4,0x74a +/* f0e0f8c: 358cf0cd */ ori $t4,$t4,0xf0cd +/* f0e0f90: 02001825 */ move $v1,$s0 +/* f0e0f94: 3c0bf300 */ lui $t3,0xf300 +/* f0e0f98: ac4b0000 */ sw $t3,0x0($v0) +/* f0e0f9c: ac4c0004 */ sw $t4,0x4($v0) +/* f0e0fa0: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0fa4: 02002025 */ move $a0,$s0 +/* f0e0fa8: ac600004 */ sw $zero,0x4($v1) +/* f0e0fac: ac690000 */ sw $t1,0x0($v1) +/* f0e0fb0: 3c0df510 */ lui $t5,0xf510 +/* f0e0fb4: 35ad1400 */ ori $t5,$t5,0x1400 +/* f0e0fb8: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0fbc: 3c0e0008 */ lui $t6,0x8 +/* f0e0fc0: 35ce0200 */ ori $t6,$t6,0x200 +/* f0e0fc4: 02003025 */ move $a2,$s0 +/* f0e0fc8: ac8d0000 */ sw $t5,0x0($a0) +/* f0e0fcc: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0fd0: ac8e0004 */ sw $t6,0x4($a0) +/* f0e0fd4: 3c180009 */ lui $t8,0x9 +/* f0e0fd8: 3718c074 */ ori $t8,$t8,0xc074 +/* f0e0fdc: 3c0ff200 */ lui $t7,0xf200 +/* f0e0fe0: 02003825 */ move $a3,$s0 +/* f0e0fe4: accf0000 */ sw $t7,0x0($a2) +/* f0e0fe8: acd80004 */ sw $t8,0x4($a2) +/* f0e0fec: 26100008 */ addiu $s0,$s0,0x8 +/* f0e0ff0: 02001025 */ move $v0,$s0 +/* f0e0ff4: 3c19ba00 */ lui $t9,0xba00 +/* f0e0ff8: ace00004 */ sw $zero,0x4($a3) +/* f0e0ffc: ace90000 */ sw $t1,0x0($a3) +/* f0e1000: 37391402 */ ori $t9,$t9,0x1402 +/* f0e1004: ac590000 */ sw $t9,0x0($v0) +/* f0e1008: 26100008 */ addiu $s0,$s0,0x8 +/* f0e100c: ac400004 */ sw $zero,0x4($v0) +/* f0e1010: 02001825 */ move $v1,$s0 +/* f0e1014: 3c0bb900 */ lui $t3,0xb900 +/* f0e1018: 356b0002 */ ori $t3,$t3,0x2 +/* f0e101c: 26100008 */ addiu $s0,$s0,0x8 +/* f0e1020: ac6b0000 */ sw $t3,0x0($v1) +/* f0e1024: 02002025 */ move $a0,$s0 +/* f0e1028: 3c0cfc12 */ lui $t4,0xfc12 +/* f0e102c: ac600004 */ sw $zero,0x4($v1) +/* f0e1030: 358c7e24 */ ori $t4,$t4,0x7e24 +/* f0e1034: 26100008 */ addiu $s0,$s0,0x8 +/* f0e1038: ac8c0000 */ sw $t4,0x0($a0) +/* f0e103c: 240df9fc */ li $t5,-1540 +/* f0e1040: 02003025 */ move $a2,$s0 +/* f0e1044: ac8d0004 */ sw $t5,0x4($a0) +/* f0e1048: 26100008 */ addiu $s0,$s0,0x8 +/* f0e104c: 240f3000 */ li $t7,0x3000 +/* f0e1050: 3c0eb600 */ lui $t6,0xb600 +/* f0e1054: 02004025 */ move $t0,$s0 +/* f0e1058: acce0000 */ sw $t6,0x0($a2) +/* f0e105c: accf0004 */ sw $t7,0x4($a2) +/* f0e1060: 3c18ba00 */ lui $t8,0xba00 +/* f0e1064: 37180c02 */ ori $t8,$t8,0xc02 +/* f0e1068: 26100008 */ addiu $s0,$s0,0x8 +/* f0e106c: 24192000 */ li $t9,0x2000 +/* f0e1070: ad190004 */ sw $t9,0x4($t0) +/* f0e1074: ad180000 */ sw $t8,0x0($t0) +/* f0e1078: 02001025 */ move $v0,$s0 +/* f0e107c: 3c0c0050 */ lui $t4,0x50 +/* f0e1080: 3c0bb900 */ lui $t3,0xb900 +/* f0e1084: 356b031d */ ori $t3,$t3,0x31d +/* f0e1088: 358c4240 */ ori $t4,$t4,0x4240 +/* f0e108c: ac4c0004 */ sw $t4,0x4($v0) +/* f0e1090: ac4b0000 */ sw $t3,0x0($v0) +/* f0e1094: 26100008 */ addiu $s0,$s0,0x8 +/* f0e1098: 0c002e4d */ jal 0xb934 +/* f0e109c: afa50088 */ sw $a1,0x88($sp) +/* f0e10a0: 00026880 */ sll $t5,$v0,0x2 +/* f0e10a4: 01a26821 */ addu $t5,$t5,$v0 +/* f0e10a8: 000d6840 */ sll $t5,$t5,0x1 +/* f0e10ac: 0c002e51 */ jal 0xb944 +/* f0e10b0: afad0084 */ sw $t5,0x84($sp) +/* f0e10b4: 8fa50088 */ lw $a1,0x88($sp) +/* f0e10b8: 87a9009a */ lh $t1,0x9a($sp) +/* f0e10bc: 87aa009e */ lh $t2,0x9e($sp) +/* f0e10c0: 2408fff6 */ li $t0,-10 +/* f0e10c4: a4a80004 */ sh $t0,0x4($a1) +/* f0e10c8: a4a90000 */ sh $t1,0x0($a1) +/* f0e10cc: a4aa0002 */ sh $t2,0x2($a1) +/* f0e10d0: 8fae0084 */ lw $t6,0x84($sp) +/* f0e10d4: 00027880 */ sll $t7,$v0,0x2 +/* f0e10d8: 01e27821 */ addu $t7,$t7,$v0 +/* f0e10dc: 000f7840 */ sll $t7,$t7,0x1 +/* f0e10e0: 01c93021 */ addu $a2,$t6,$t1 +/* f0e10e4: 24c60028 */ addiu $a2,$a2,0x28 +/* f0e10e8: 01ea3821 */ addu $a3,$t7,$t2 +/* f0e10ec: 24e70032 */ addiu $a3,$a3,0x32 +/* f0e10f0: a4a6000c */ sh $a2,0xc($a1) +/* f0e10f4: a4a80010 */ sh $t0,0x10($a1) +/* f0e10f8: a4a60018 */ sh $a2,0x18($a1) +/* f0e10fc: a4a7001a */ sh $a3,0x1a($a1) +/* f0e1100: a4a8001c */ sh $t0,0x1c($a1) +/* f0e1104: a4a90024 */ sh $t1,0x24($a1) +/* f0e1108: a4aa000e */ sh $t2,0xe($a1) +/* f0e110c: 8fa6008c */ lw $a2,0x8c($sp) +/* f0e1110: 24020500 */ li $v0,0x500 +/* f0e1114: 240403c0 */ li $a0,0x3c0 +/* f0e1118: a4a70026 */ sh $a3,0x26($a1) +/* f0e111c: a4a80028 */ sh $t0,0x28($a1) +/* f0e1120: a4a00008 */ sh $zero,0x8($a1) +/* f0e1124: a4a0000a */ sh $zero,0xa($a1) +/* f0e1128: a4a20014 */ sh $v0,0x14($a1) +/* f0e112c: a4a00016 */ sh $zero,0x16($a1) +/* f0e1130: a4a20020 */ sh $v0,0x20($a1) +/* f0e1134: a4a40022 */ sh $a0,0x22($a1) +/* f0e1138: a4a0002c */ sh $zero,0x2c($a1) +/* f0e113c: a4a4002e */ sh $a0,0x2e($a1) +/* f0e1140: a0a00007 */ sb $zero,0x7($a1) +/* f0e1144: a0a00013 */ sb $zero,0x13($a1) +/* f0e1148: a0a0001f */ sb $zero,0x1f($a1) +/* f0e114c: a0a0002b */ sb $zero,0x2b($a1) +/* f0e1150: 8fb80094 */ lw $t8,0x94($sp) +/* f0e1154: 3c190700 */ lui $t9,0x700 +/* f0e1158: 37390004 */ ori $t9,$t9,0x4 +/* f0e115c: 02001825 */ move $v1,$s0 +/* f0e1160: acd80000 */ sw $t8,0x0($a2) +/* f0e1164: ac790000 */ sw $t9,0x0($v1) +/* f0e1168: afa3003c */ sw $v1,0x3c($sp) +/* f0e116c: 26100008 */ addiu $s0,$s0,0x8 +/* f0e1170: afa50088 */ sw $a1,0x88($sp) +/* f0e1174: 0c012de0 */ jal 0x4b780 +/* f0e1178: 00c02025 */ move $a0,$a2 +/* f0e117c: 8fa3003c */ lw $v1,0x3c($sp) +/* f0e1180: 8fa40088 */ lw $a0,0x88($sp) +/* f0e1184: 3c0b0430 */ lui $t3,0x430 +/* f0e1188: 356b0030 */ ori $t3,$t3,0x30 +/* f0e118c: 02003025 */ move $a2,$s0 +/* f0e1190: ac620004 */ sw $v0,0x4($v1) +/* f0e1194: accb0000 */ sw $t3,0x0($a2) +/* f0e1198: afa60038 */ sw $a2,0x38($sp) +/* f0e119c: 0c012de0 */ jal 0x4b780 +/* f0e11a0: 26100008 */ addiu $s0,$s0,0x8 +/* f0e11a4: 8fa60038 */ lw $a2,0x38($sp) +/* f0e11a8: 3c0cb100 */ lui $t4,0xb100 +/* f0e11ac: 358c0002 */ ori $t4,$t4,0x2 +/* f0e11b0: acc20004 */ sw $v0,0x4($a2) +/* f0e11b4: 240d3210 */ li $t5,0x3210 +/* f0e11b8: ae0d0004 */ sw $t5,0x4($s0) +/* f0e11bc: ae0c0000 */ sw $t4,0x0($s0) +/* f0e11c0: 26020008 */ addiu $v0,$s0,0x8 +/* f0e11c4: 8fbf002c */ lw $ra,0x2c($sp) +.PB0f0e11c8: +/* f0e11c8: 8fb00028 */ lw $s0,0x28($sp) +/* f0e11cc: 27bd0090 */ addiu $sp,$sp,0x90 +/* f0e11d0: 03e00008 */ jr $ra +/* f0e11d4: 00000000 */ nop +); #else GLOBAL_ASM( glabel menugfxRenderBgBlur diff --git a/src/game/menuitem.c b/src/game/menuitem.c index 58e433c5e..ac7402ab3 100644 --- a/src/game/menuitem.c +++ b/src/game/menuitem.c @@ -6212,7 +6212,7 @@ bool menuitemSliderTick(struct menuitem *item, struct menudialog *dialog, struct } else { f0 = data->slider.unk00 / 1000.0f; f0 = (f0 * 100.0f) / item->param3; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA f0 = f0 + inputs->leftrightheld * g_Vars.diffframe60freal; #else f0 = f0 + inputs->leftrightheld * g_Vars.diffframe60; @@ -6250,7 +6250,7 @@ bool menuitemSliderTick(struct menuitem *item, struct menudialog *dialog, struct if (f2 > 20) { f2 = (f2 - 20) * 0.0625f; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA f2 *= g_Vars.diffframe60freal; #else f2 *= g_Vars.diffframe60f; @@ -6757,7 +6757,7 @@ bool menuitemScrollableTick(struct menuitem *item, struct menudialog *dialog, st if (floatval > 20) { floatval = (floatval - 20) / 5; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA floatval *= g_Vars.diffframe60freal; #else floatval *= g_Vars.diffframe60f; @@ -6770,7 +6770,7 @@ bool menuitemScrollableTick(struct menuitem *item, struct menudialog *dialog, st } } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA intval = intval + (s32)(((f32)inputs->updownheld + (f32)inputs->updownheld) * g_Vars.diffframe60freal); #else intval += inputs->updownheld * 2 * g_Vars.diffframe60; @@ -7831,7 +7831,7 @@ bool menuitemRankingTick(struct menuinputs *inputs, u32 tickflags, union menuite if (floatval > 20) { floatval = (floatval - 20) / 5; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA floatval *= g_Vars.diffframe60freal; #else floatval *= g_Vars.diffframe60f; @@ -7840,7 +7840,7 @@ bool menuitemRankingTick(struct menuinputs *inputs, u32 tickflags, union menuite intval = inputs->yaxis < 0 ? (s32)floatval : -(s32)floatval; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA intval = intval + (s32)(((f32)inputs->updownheld + (f32)inputs->updownheld) * g_Vars.diffframe60freal); #else intval += inputs->updownheld * 2 * g_Vars.diffframe60; @@ -8093,7 +8093,7 @@ bool menuitemPlayerStatsTick(struct menuitem *item, struct menudialog *dialog, s if (floatval > 20) { floatval = (floatval - 20) / 5; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA floatval *= g_Vars.diffframe60freal; #else floatval *= g_Vars.diffframe60f; @@ -8102,7 +8102,7 @@ bool menuitemPlayerStatsTick(struct menuitem *item, struct menudialog *dialog, s intval = inputs->yaxis < 0 ? (s32)floatval : -(s32)floatval; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA intval = intval + (s32)(((f32)inputs->updownheld + (f32)inputs->updownheld) * g_Vars.diffframe60freal); #else intval += inputs->updownheld * 2 * g_Vars.diffframe60; @@ -8445,7 +8445,7 @@ Gfx *menuitemControllerRenderText(Gfx *gdl, s32 curmode, struct menurendercontex gdl = func0f153628(gdl); for (i = 0; i < ARRAYCOUNT(labels); i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA ry = i * 8 + context->y + pady - 4; #elif VERSION >= VERSION_NTSC_1_0 ry = i * 7 + context->y + pady; diff --git a/src/game/mplayer/mplayer.c b/src/game/mplayer/mplayer.c index 9ce689852..827c493ae 100644 --- a/src/game/mplayer/mplayer.c +++ b/src/game/mplayer/mplayer.c @@ -4593,6 +4593,220 @@ glabel mpChooseTrack /* f18d858: 03e00008 */ jr $ra /* f18d85c: 27bd0038 */ addiu $sp,$sp,0x38 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel mpChooseTrack +/* f18e064: 27bdffc8 */ addiu $sp,$sp,-56 +/* f18e068: afbf0034 */ sw $ra,0x34($sp) +/* f18e06c: afb60030 */ sw $s6,0x30($sp) +/* f18e070: afb5002c */ sw $s5,0x2c($sp) +/* f18e074: afb40028 */ sw $s4,0x28($sp) +/* f18e078: afb30024 */ sw $s3,0x24($sp) +/* f18e07c: afb20020 */ sw $s2,0x20($sp) +/* f18e080: afb1001c */ sw $s1,0x1c($sp) +/* f18e084: 0fc63792 */ jal 0xf18de48 +/* f18e088: afb00018 */ sw $s0,0x18($sp) +/* f18e08c: 1040006f */ beqz $v0,.PB0f18e24c +/* f18e090: 00000000 */ nop +/* f18e094: 0fc63769 */ jal 0xf18dda4 +/* f18e098: 00000000 */ nop +/* f18e09c: 0040a025 */ move $s4,$v0 +/* f18e0a0: 0000a825 */ move $s5,$zero +/* f18e0a4: 18400009 */ blez $v0,.PB0f18e0cc +/* f18e0a8: 00008025 */ move $s0,$zero +.PB0f18e0ac: +/* f18e0ac: 0fc63795 */ jal 0xf18de54 +/* f18e0b0: 02002025 */ move $a0,$s0 +/* f18e0b4: 10400002 */ beqz $v0,.PB0f18e0c0 +/* f18e0b8: 26100001 */ addiu $s0,$s0,0x1 +/* f18e0bc: 26b50001 */ addiu $s5,$s5,0x1 +.PB0f18e0c0: +/* f18e0c0: 0214082a */ slt $at,$s0,$s4 +/* f18e0c4: 1420fff9 */ bnez $at,.PB0f18e0ac +/* f18e0c8: 00000000 */ nop +.PB0f18e0cc: +/* f18e0cc: 16a00020 */ bnez $s5,.PB0f18e150 +/* f18e0d0: 3c16800b */ lui $s6,0x800b +/* f18e0d4: 26d61240 */ addiu $s6,$s6,0x1240 +.PB0f18e0d8: +/* f18e0d8: 0c004be0 */ jal 0x12f80 +/* f18e0dc: 00000000 */ nop +/* f18e0e0: 0054001b */ divu $zero,$v0,$s4 +/* f18e0e4: 00002010 */ mfhi $a0 +/* f18e0e8: 16800002 */ bnez $s4,.PB0f18e0f4 +/* f18e0ec: 00000000 */ nop +/* f18e0f0: 0007000d */ break 0x7 +.PB0f18e0f4: +/* f18e0f4: 0fc6374e */ jal 0xf18dd38 +/* f18e0f8: 00000000 */ nop +/* f18e0fc: 8ece0004 */ lw $t6,0x4($s6) +/* f18e100: 00409825 */ move $s3,$v0 +/* f18e104: 104efff4 */ beq $v0,$t6,.PB0f18e0d8 +/* f18e108: 00000000 */ nop +/* f18e10c: 00027880 */ sll $t7,$v0,0x2 +/* f18e110: 01e27823 */ subu $t7,$t7,$v0 +/* f18e114: 000f7840 */ sll $t7,$t7,0x1 +/* f18e118: 3c038009 */ lui $v1,0x8009 +/* f18e11c: aec20004 */ sw $v0,0x4($s6) +/* f18e120: 006f1821 */ addu $v1,$v1,$t7 +/* f18e124: 94639f50 */ lhu $v1,-0x60b0($v1) +/* f18e128: 3c018008 */ lui $at,0x8008 +/* f18e12c: 307801ff */ andi $t8,$v1,0x1ff +/* f18e130: 0018c880 */ sll $t9,$t8,0x2 +/* f18e134: 0338c823 */ subu $t9,$t9,$t8 +/* f18e138: 0019c8c0 */ sll $t9,$t9,0x3 +/* f18e13c: 0338c821 */ addu $t9,$t9,$t8 +/* f18e140: 0019c840 */ sll $t9,$t9,0x1 +/* f18e144: ac3965c8 */ sw $t9,0x65c8($at) +/* f18e148: 1000007b */ b .PB0f18e338 +/* f18e14c: 00031242 */ srl $v0,$v1,0x9 +.PB0f18e150: +/* f18e150: 3c16800b */ lui $s6,0x800b +/* f18e154: 26d61240 */ addiu $s6,$s6,0x1240 +/* f18e158: 00008025 */ move $s0,$zero +.PB0f18e15c: +/* f18e15c: 0c004be0 */ jal 0x12f80 +/* f18e160: 00008825 */ move $s1,$zero +/* f18e164: 0055001b */ divu $zero,$v0,$s5 +/* f18e168: 00009010 */ mfhi $s2 +/* f18e16c: 2413ffff */ li $s3,-1 +/* f18e170: 16a00002 */ bnez $s5,.PB0f18e17c +/* f18e174: 00000000 */ nop +/* f18e178: 0007000d */ break 0x7 +.PB0f18e17c: +/* f18e17c: 5a80000d */ blezl $s4,.PB0f18e1b4 +/* f18e180: 2401ffff */ li $at,-1 +.PB0f18e184: +/* f18e184: 0fc63795 */ jal 0xf18de54 +/* f18e188: 02002025 */ move $a0,$s0 +/* f18e18c: 50400006 */ beqzl $v0,.PB0f18e1a8 +/* f18e190: 26100001 */ addiu $s0,$s0,0x1 +/* f18e194: 56510003 */ bnel $s2,$s1,.PB0f18e1a4 +/* f18e198: 26310001 */ addiu $s1,$s1,0x1 +/* f18e19c: 02009825 */ move $s3,$s0 +/* f18e1a0: 26310001 */ addiu $s1,$s1,0x1 +.PB0f18e1a4: +/* f18e1a4: 26100001 */ addiu $s0,$s0,0x1 +.PB0f18e1a8: +/* f18e1a8: 1614fff6 */ bne $s0,$s4,.PB0f18e184 +/* f18e1ac: 00000000 */ nop +/* f18e1b0: 2401ffff */ li $at,-1 +.PB0f18e1b4: +/* f18e1b4: 1661000c */ bne $s3,$at,.PB0f18e1e8 +/* f18e1b8: 3c038009 */ lui $v1,0x8009 +/* f18e1bc: 94639f50 */ lhu $v1,-0x60b0($v1) +/* f18e1c0: 3c018008 */ lui $at,0x8008 +/* f18e1c4: 306801ff */ andi $t0,$v1,0x1ff +/* f18e1c8: 00084880 */ sll $t1,$t0,0x2 +/* f18e1cc: 01284823 */ subu $t1,$t1,$t0 +/* f18e1d0: 000948c0 */ sll $t1,$t1,0x3 +/* f18e1d4: 01284821 */ addu $t1,$t1,$t0 +/* f18e1d8: 00094840 */ sll $t1,$t1,0x1 +/* f18e1dc: ac2965c8 */ sw $t1,0x65c8($at) +/* f18e1e0: 10000055 */ b .PB0f18e338 +/* f18e1e4: 00031242 */ srl $v0,$v1,0x9 +.PB0f18e1e8: +/* f18e1e8: 0fc6374e */ jal 0xf18dd38 +/* f18e1ec: 02602025 */ move $a0,$s3 +/* f18e1f0: 2aa10002 */ slti $at,$s5,0x2 +/* f18e1f4: 14200004 */ bnez $at,.PB0f18e208 +/* f18e1f8: 00409825 */ move $s3,$v0 +/* f18e1fc: 8eca0004 */ lw $t2,0x4($s6) +/* f18e200: 504affd6 */ beql $v0,$t2,.PB0f18e15c +/* f18e204: 00008025 */ move $s0,$zero +.PB0f18e208: +/* f18e208: 00135880 */ sll $t3,$s3,0x2 +/* f18e20c: 01735823 */ subu $t3,$t3,$s3 +/* f18e210: 000b5840 */ sll $t3,$t3,0x1 +/* f18e214: 3c038009 */ lui $v1,0x8009 +/* f18e218: aed30004 */ sw $s3,0x4($s6) +/* f18e21c: 006b1821 */ addu $v1,$v1,$t3 +/* f18e220: 94639f50 */ lhu $v1,-0x60b0($v1) +/* f18e224: 3c018008 */ lui $at,0x8008 +/* f18e228: 306c01ff */ andi $t4,$v1,0x1ff +/* f18e22c: 000c6880 */ sll $t5,$t4,0x2 +/* f18e230: 01ac6823 */ subu $t5,$t5,$t4 +/* f18e234: 000d68c0 */ sll $t5,$t5,0x3 +/* f18e238: 01ac6821 */ addu $t5,$t5,$t4 +/* f18e23c: 000d6840 */ sll $t5,$t5,0x1 +/* f18e240: ac2d65c8 */ sw $t5,0x65c8($at) +/* f18e244: 1000003c */ b .PB0f18e338 +/* f18e248: 00031242 */ srl $v0,$v1,0x9 +.PB0f18e24c: +/* f18e24c: 0fc6380b */ jal 0xf18e02c +/* f18e250: 00000000 */ nop +/* f18e254: 04410024 */ bgez $v0,.PB0f18e2e8 +/* f18e258: 00409825 */ move $s3,$v0 +/* f18e25c: 0fc63769 */ jal 0xf18dda4 +/* f18e260: 00000000 */ nop +/* f18e264: 3c16800b */ lui $s6,0x800b +/* f18e268: 00408025 */ move $s0,$v0 +/* f18e26c: 26d61240 */ addiu $s6,$s6,0x1240 +.PB0f18e270: +/* f18e270: 0c004be0 */ jal 0x12f80 +/* f18e274: 00000000 */ nop +/* f18e278: 0050001b */ divu $zero,$v0,$s0 +/* f18e27c: 00002010 */ mfhi $a0 +/* f18e280: 16000002 */ bnez $s0,.PB0f18e28c +/* f18e284: 00000000 */ nop +/* f18e288: 0007000d */ break 0x7 +.PB0f18e28c: +/* f18e28c: 0fc6374e */ jal 0xf18dd38 +/* f18e290: 00000000 */ nop +/* f18e294: 8ece0004 */ lw $t6,0x4($s6) +/* f18e298: 00409825 */ move $s3,$v0 +/* f18e29c: 104efff4 */ beq $v0,$t6,.PB0f18e270 +/* f18e2a0: 00000000 */ nop +/* f18e2a4: 00027880 */ sll $t7,$v0,0x2 +/* f18e2a8: 01e27823 */ subu $t7,$t7,$v0 +/* f18e2ac: 000f7840 */ sll $t7,$t7,0x1 +/* f18e2b0: 3c038009 */ lui $v1,0x8009 +/* f18e2b4: aec20004 */ sw $v0,0x4($s6) +/* f18e2b8: 006f1821 */ addu $v1,$v1,$t7 +/* f18e2bc: 94639f50 */ lhu $v1,-0x60b0($v1) +/* f18e2c0: 3c018008 */ lui $at,0x8008 +/* f18e2c4: 307801ff */ andi $t8,$v1,0x1ff +/* f18e2c8: 0018c880 */ sll $t9,$t8,0x2 +/* f18e2cc: 0338c823 */ subu $t9,$t9,$t8 +/* f18e2d0: 0019c8c0 */ sll $t9,$t9,0x3 +/* f18e2d4: 0338c821 */ addu $t9,$t9,$t8 +/* f18e2d8: 0019c840 */ sll $t9,$t9,0x1 +/* f18e2dc: ac3965c8 */ sw $t9,0x65c8($at) +/* f18e2e0: 10000015 */ b .PB0f18e338 +/* f18e2e4: 00031242 */ srl $v0,$v1,0x9 +.PB0f18e2e8: +/* f18e2e8: 0fc6374e */ jal 0xf18dd38 +/* f18e2ec: 02602025 */ move $a0,$s3 +/* f18e2f0: 00024080 */ sll $t0,$v0,0x2 +/* f18e2f4: 3c16800b */ lui $s6,0x800b +/* f18e2f8: 01024023 */ subu $t0,$t0,$v0 +/* f18e2fc: 26d61240 */ addiu $s6,$s6,0x1240 +/* f18e300: 00084040 */ sll $t0,$t0,0x1 +/* f18e304: 3c038009 */ lui $v1,0x8009 +/* f18e308: aec20004 */ sw $v0,0x4($s6) +/* f18e30c: 00681821 */ addu $v1,$v1,$t0 +/* f18e310: 94639f50 */ lhu $v1,-0x60b0($v1) +/* f18e314: 3c018008 */ lui $at,0x8008 +/* f18e318: 306901ff */ andi $t1,$v1,0x1ff +/* f18e31c: 00095080 */ sll $t2,$t1,0x2 +/* f18e320: 01495023 */ subu $t2,$t2,$t1 +/* f18e324: 000a50c0 */ sll $t2,$t2,0x3 +/* f18e328: 01495021 */ addu $t2,$t2,$t1 +/* f18e32c: 000a5040 */ sll $t2,$t2,0x1 +/* f18e330: ac2a65c8 */ sw $t2,0x65c8($at) +/* f18e334: 00031242 */ srl $v0,$v1,0x9 +.PB0f18e338: +/* f18e338: 8fbf0034 */ lw $ra,0x34($sp) +/* f18e33c: 8fb00018 */ lw $s0,0x18($sp) +/* f18e340: 8fb1001c */ lw $s1,0x1c($sp) +/* f18e344: 8fb20020 */ lw $s2,0x20($sp) +/* f18e348: 8fb30024 */ lw $s3,0x24($sp) +/* f18e34c: 8fb40028 */ lw $s4,0x28($sp) +/* f18e350: 8fb5002c */ lw $s5,0x2c($sp) +/* f18e354: 8fb60030 */ lw $s6,0x30($sp) +/* f18e358: 03e00008 */ jr $ra +/* f18e35c: 27bd0038 */ addiu $sp,$sp,0x38 +); #else GLOBAL_ASM( glabel mpChooseTrack diff --git a/src/game/mplayer/scenarios.c b/src/game/mplayer/scenarios.c index 1865a42bc..6d9131865 100644 --- a/src/game/mplayer/scenarios.c +++ b/src/game/mplayer/scenarios.c @@ -1059,7 +1059,7 @@ s32 scenarioPickUpBriefcase(struct chrdata *chr, struct prop *prop) weaponPlayPickupSound(WEAPON_BRIEFCASE2); } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA // "%shas the Briefcase" sprintf(text1, langGet(L_MPWEAPONS_000_2), mpchr->name, bgunGetShortName(WEAPON_BRIEFCASE2)); #else @@ -1117,7 +1117,7 @@ s32 scenarioPickUpBriefcase(struct chrdata *chr, struct prop *prop) invRemoveItemByNum(WEAPON_BRIEFCASE2); } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA // "You captured the %s Briefcase" sprintf(text1, langGet(L_MPWEAPONS_004), g_BossFile.teamnames[i]); diff --git a/src/game/mplayer/scenarios/holdthebriefcase.inc b/src/game/mplayer/scenarios/holdthebriefcase.inc index 5c704d9b6..9390977ce 100644 --- a/src/game/mplayer/scenarios/holdthebriefcase.inc +++ b/src/game/mplayer/scenarios/holdthebriefcase.inc @@ -316,7 +316,7 @@ Gfx *htbRenderHud(Gfx *gdl) x = viGetViewLeft() + viGetViewWidth() / 2; y = viGetViewTop() + 10; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA time240 = (30 * 200) - g_Vars.currentplayerstats->tokenheldtime; secs = (time240 + 199) / 200; sprintf(text, "%d:%02d", 0, secs); diff --git a/src/game/nbomb.c b/src/game/nbomb.c index ba102f38d..81416d734 100644 --- a/src/game/nbomb.c +++ b/src/game/nbomb.c @@ -2760,7 +2760,7 @@ glabel var7f1a7f18 void nbombReset(struct nbomb *nbomb) { nbomb->age240 = 0; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA nbomb->radius = 0; #endif } @@ -2906,7 +2906,7 @@ void func0f0099a4(void) } } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel nbombInflictDamage .late_rodata diff --git a/src/game/pak/pak.c b/src/game/pak/pak.c index fadee68a5..6ebed7912 100644 --- a/src/game/pak/pak.c +++ b/src/game/pak/pak.c @@ -2267,7 +2267,7 @@ void pakInitAll(void) } for (i = 0; i < 5; i++) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA pak0f11a32c(i, 7, 2049, "pak.c"); #elif VERSION >= VERSION_NTSC_FINAL pak0f11a32c(i, 7, 2049, "pak/pak.c"); @@ -3118,6 +3118,483 @@ struct serialcount { * - Removes files if partially written * - Returns 1 if filesystem is good, or 0 if unrepairable */ +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel pakRepairFilesystem +/* f119fac: 27bdf850 */ addiu $sp,$sp,-1968 +/* f119fb0: afb4003c */ sw $s4,0x3c($sp) +/* f119fb4: 0004a600 */ sll $s4,$a0,0x18 +/* f119fb8: 00147603 */ sra $t6,$s4,0x18 +/* f119fbc: 000e7880 */ sll $t7,$t6,0x2 +/* f119fc0: 01ee7823 */ subu $t7,$t7,$t6 +/* f119fc4: 000f7880 */ sll $t7,$t7,0x2 +/* f119fc8: 01ee7823 */ subu $t7,$t7,$t6 +/* f119fcc: 000f7880 */ sll $t7,$t7,0x2 +/* f119fd0: 01ee7821 */ addu $t7,$t7,$t6 +/* f119fd4: 000f7880 */ sll $t7,$t7,0x2 +/* f119fd8: afa407b0 */ sw $a0,0x7b0($sp) +/* f119fdc: 01ee7823 */ subu $t7,$t7,$t6 +/* f119fe0: 3c18800a */ lui $t8,0x800a +/* f119fe4: afb60044 */ sw $s6,0x44($sp) +/* f119fe8: 271868b0 */ addiu $t8,$t8,0x68b0 +/* f119fec: 000f7880 */ sll $t7,$t7,0x2 +/* f119ff0: 000e2600 */ sll $a0,$t6,0x18 +/* f119ff4: afbf004c */ sw $ra,0x4c($sp) +/* f119ff8: afb70048 */ sw $s7,0x48($sp) +/* f119ffc: afb10030 */ sw $s1,0x30($sp) +/* f11a000: 01f8b021 */ addu $s6,$t7,$t8 +/* f11a004: 3419baba */ li $t9,0xbaba +/* f11a008: 00044e03 */ sra $t1,$a0,0x18 +/* f11a00c: 01c0a025 */ move $s4,$t6 +/* f11a010: afb50040 */ sw $s5,0x40($sp) +/* f11a014: afb30038 */ sw $s3,0x38($sp) +/* f11a018: afb20034 */ sw $s2,0x34($sp) +/* f11a01c: afb0002c */ sw $s0,0x2c($sp) +/* f11a020: 0000b825 */ move $s7,$zero +/* f11a024: afa007a4 */ sw $zero,0x7a4($sp) +/* f11a028: 00008825 */ move $s1,$zero +/* f11a02c: aed90260 */ sw $t9,0x260($s6) +/* f11a030: a2c002be */ sb $zero,0x2be($s6) +/* f11a034: 0fc45c1e */ jal 0xf117078 +/* f11a038: 01202025 */ move $a0,$t1 +/* f11a03c: 50400004 */ beqzl $v0,.PB0f11a050 +/* f11a040: 8eca02a0 */ lw $t2,0x2a0($s6) +/* f11a044: 1000017c */ b .PB0f11a638 +/* f11a048: 24020001 */ li $v0,0x1 +/* f11a04c: 8eca02a0 */ lw $t2,0x2a0($s6) +.PB0f11a050: +/* f11a050: afa003a4 */ sw $zero,0x3a4($sp) +/* f11a054: 27b50474 */ addiu $s5,$sp,0x474 +/* f11a058: 114000a6 */ beqz $t2,.PB0f11a2f4 +/* f11a05c: 27b30484 */ addiu $s3,$sp,0x484 +/* f11a060: 2412ffff */ li $s2,-1 +/* f11a064: 00142600 */ sll $a0,$s4,0x18 +.PB0f11a068: +/* f11a068: 00045e03 */ sra $t3,$a0,0x18 +/* f11a06c: 01602025 */ move $a0,$t3 +/* f11a070: 8fa503a4 */ lw $a1,0x3a4($sp) +/* f11a074: 0fc45f70 */ jal 0xf117dc0 +/* f11a078: 02a03025 */ move $a2,$s5 +/* f11a07c: 14400071 */ bnez $v0,.PB0f11a244 +/* f11a080: 24010001 */ li $at,0x1 +/* f11a084: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a088: 8fae03a4 */ lw $t6,0x3a4($sp) +/* f11a08c: 00142600 */ sll $a0,$s4,0x18 +/* f11a090: 000615c2 */ srl $v0,$a2,0x17 +/* f11a094: 304c0002 */ andi $t4,$v0,0x2 +/* f11a098: 15800096 */ bnez $t4,.PB0f11a2f4 +/* f11a09c: 304d0004 */ andi $t5,$v0,0x4 +/* f11a0a0: 15a00094 */ bnez $t5,.PB0f11a2f4 +/* f11a0a4: 00001025 */ move $v0,$zero +/* f11a0a8: 8ed902a0 */ lw $t9,0x2a0($s6) +/* f11a0ac: 30cf0fff */ andi $t7,$a2,0xfff +/* f11a0b0: 01cfc021 */ addu $t8,$t6,$t7 +/* f11a0b4: 0319082b */ sltu $at,$t8,$t9 +/* f11a0b8: 14200010 */ bnez $at,.PB0f11a0fc +/* f11a0bc: 00044e03 */ sra $t1,$a0,0x18 +/* f11a0c0: 240a0001 */ li $t2,0x1 +/* f11a0c4: afaa0020 */ sw $t2,0x20($sp) +/* f11a0c8: 01202025 */ move $a0,$t1 +/* f11a0cc: 01c02825 */ move $a1,$t6 +/* f11a0d0: 24060004 */ li $a2,0x4 +/* f11a0d4: 00003825 */ move $a3,$zero +/* f11a0d8: afa00010 */ sw $zero,0x10($sp) +/* f11a0dc: afa00014 */ sw $zero,0x14($sp) +/* f11a0e0: afa00018 */ sw $zero,0x18($sp) +/* f11a0e4: 0fc47144 */ jal 0xf11c510 +/* f11a0e8: afa0001c */ sw $zero,0x1c($sp) +/* f11a0ec: 50400082 */ beqzl $v0,.PB0f11a2f8 +/* f11a0f0: 8fae07a4 */ lw $t6,0x7a4($sp) +/* f11a0f4: 10000079 */ b .PB0f11a2dc +/* f11a0f8: 24170001 */ li $s7,0x1 +.PB0f11a0fc: +/* f11a0fc: 1220003c */ beqz $s1,.PB0f11a1f0 +/* f11a100: afa0039c */ sw $zero,0x39c($sp) +/* f11a104: 27a703a8 */ addiu $a3,$sp,0x3a8 +/* f11a108: 8fa80480 */ lw $t0,0x480($sp) +.PB0f11a10c: +/* f11a10c: 8ceb0000 */ lw $t3,0x0($a3) +/* f11a110: 00026100 */ sll $t4,$v0,0x4 +/* f11a114: 24420001 */ addiu $v0,$v0,0x1 +/* f11a118: 124b0033 */ beq $s2,$t3,.PB0f11a1e8 +/* f11a11c: 026c3021 */ addu $a2,$s3,$t4 +/* f11a120: 8cc3000c */ lw $v1,0xc($a2) +/* f11a124: 00086b40 */ sll $t5,$t0,0xd +/* f11a128: 000d7e42 */ srl $t7,$t5,0x19 +/* f11a12c: 0003c340 */ sll $t8,$v1,0xd +/* f11a130: 0018ce42 */ srl $t9,$t8,0x19 +/* f11a134: 15f9002c */ bne $t7,$t9,.PB0f11a1e8 +/* f11a138: 00087500 */ sll $t6,$t0,0x14 +/* f11a13c: 00035d00 */ sll $t3,$v1,0x14 +/* f11a140: 000b65c2 */ srl $t4,$t3,0x17 +/* f11a144: 000e55c2 */ srl $t2,$t6,0x17 +/* f11a148: 24090001 */ li $t1,0x1 +/* f11a14c: 014c082b */ sltu $at,$t2,$t4 +/* f11a150: 10200009 */ beqz $at,.PB0f11a178 +/* f11a154: afa9039c */ sw $t1,0x39c($sp) +/* f11a158: 00142600 */ sll $a0,$s4,0x18 +/* f11a15c: 00046e03 */ sra $t5,$a0,0x18 +/* f11a160: 01a02025 */ move $a0,$t5 +/* f11a164: 27a503a4 */ addiu $a1,$sp,0x3a4 +/* f11a168: 0fc46760 */ jal 0xf119d80 +/* f11a16c: 02a03025 */ move $a2,$s5 +/* f11a170: 1000001f */ b .PB0f11a1f0 +/* f11a174: 2c570001 */ sltiu $s7,$v0,0x1 +.PB0f11a178: +/* f11a178: 00142600 */ sll $a0,$s4,0x18 +/* f11a17c: 00117900 */ sll $t7,$s1,0x4 +/* f11a180: 026fc821 */ addu $t9,$s3,$t7 +/* f11a184: 0004c603 */ sra $t8,$a0,0x18 +/* f11a188: 00114880 */ sll $t1,$s1,0x2 +/* f11a18c: 27ae03a8 */ addiu $t6,$sp,0x3a8 +/* f11a190: 012e8021 */ addu $s0,$t1,$t6 +/* f11a194: 03002025 */ move $a0,$t8 +/* f11a198: afb90054 */ sw $t9,0x54($sp) +/* f11a19c: 00e02825 */ move $a1,$a3 +/* f11a1a0: 0fc46760 */ jal 0xf119d80 +/* f11a1a4: afa7005c */ sw $a3,0x5c($sp) +/* f11a1a8: 8fa7005c */ lw $a3,0x5c($sp) +/* f11a1ac: 2c570001 */ sltiu $s7,$v0,0x1 +/* f11a1b0: 02a02825 */ move $a1,$s5 +/* f11a1b4: acf20000 */ sw $s2,0x0($a3) +/* f11a1b8: 8fa40054 */ lw $a0,0x54($sp) +/* f11a1bc: 0c012ae8 */ jal 0x4aba0 +/* f11a1c0: 24060010 */ li $a2,0x10 +/* f11a1c4: 8fab03a4 */ lw $t3,0x3a4($sp) +/* f11a1c8: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a1cc: 26310001 */ addiu $s1,$s1,0x1 +/* f11a1d0: ae0b0000 */ sw $t3,0x0($s0) +/* f11a1d4: 8faa03a4 */ lw $t2,0x3a4($sp) +/* f11a1d8: 30cc0fff */ andi $t4,$a2,0xfff +/* f11a1dc: 014c6821 */ addu $t5,$t2,$t4 +/* f11a1e0: 10000003 */ b .PB0f11a1f0 +/* f11a1e4: afad03a4 */ sw $t5,0x3a4($sp) +.PB0f11a1e8: +/* f11a1e8: 1451ffc8 */ bne $v0,$s1,.PB0f11a10c +/* f11a1ec: 24e70004 */ addiu $a3,$a3,0x4 +.PB0f11a1f0: +/* f11a1f0: 8fb8039c */ lw $t8,0x39c($sp) +/* f11a1f4: 17000039 */ bnez $t8,.PB0f11a2dc +/* f11a1f8: 00000000 */ nop +/* f11a1fc: 16e00037 */ bnez $s7,.PB0f11a2dc +/* f11a200: 00117900 */ sll $t7,$s1,0x4 +/* f11a204: 0011c880 */ sll $t9,$s1,0x2 +/* f11a208: 27a903a8 */ addiu $t1,$sp,0x3a8 +/* f11a20c: 03298021 */ addu $s0,$t9,$t1 +/* f11a210: 026f2021 */ addu $a0,$s3,$t7 +/* f11a214: 02a02825 */ move $a1,$s5 +/* f11a218: 0c012ae8 */ jal 0x4aba0 +/* f11a21c: 24060010 */ li $a2,0x10 +/* f11a220: 8fae03a4 */ lw $t6,0x3a4($sp) +/* f11a224: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a228: 26310001 */ addiu $s1,$s1,0x1 +/* f11a22c: ae0e0000 */ sw $t6,0x0($s0) +/* f11a230: 8fab03a4 */ lw $t3,0x3a4($sp) +/* f11a234: 30ca0fff */ andi $t2,$a2,0xfff +/* f11a238: 016a6021 */ addu $t4,$t3,$t2 +/* f11a23c: 10000027 */ b .PB0f11a2dc +/* f11a240: afac03a4 */ sw $t4,0x3a4($sp) +.PB0f11a244: +/* f11a244: 14410003 */ bne $v0,$at,.PB0f11a254 +/* f11a248: 00142600 */ sll $a0,$s4,0x18 +/* f11a24c: 100000fa */ b .PB0f11a638 +/* f11a250: 24020001 */ li $v0,0x1 +.PB0f11a254: +/* f11a254: 24010007 */ li $at,0x7 +/* f11a258: 14410007 */ bne $v0,$at,.PB0f11a278 +/* f11a25c: 00046e03 */ sra $t5,$a0,0x18 +/* f11a260: 01a02025 */ move $a0,$t5 +/* f11a264: 27a503a4 */ addiu $a1,$sp,0x3a4 +/* f11a268: 0fc46760 */ jal 0xf119d80 +/* f11a26c: 00003025 */ move $a2,$zero +/* f11a270: 1000001a */ b .PB0f11a2dc +/* f11a274: 2c570001 */ sltiu $s7,$v0,0x1 +.PB0f11a278: +/* f11a278: 2401000f */ li $at,0xf +/* f11a27c: 1441000a */ bne $v0,$at,.PB0f11a2a8 +/* f11a280: 00142600 */ sll $a0,$s4,0x18 +/* f11a284: 0004c603 */ sra $t8,$a0,0x18 +/* f11a288: 03002025 */ move $a0,$t8 +/* f11a28c: 27a503a4 */ addiu $a1,$sp,0x3a4 +/* f11a290: 0fc46760 */ jal 0xf119d80 +/* f11a294: 02a03025 */ move $a2,$s5 +/* f11a298: 14400010 */ bnez $v0,.PB0f11a2dc +/* f11a29c: 00000000 */ nop +/* f11a2a0: 10000014 */ b .PB0f11a2f4 +/* f11a2a4: 24170001 */ li $s7,0x1 +.PB0f11a2a8: +/* f11a2a8: 24100009 */ li $s0,0x9 +/* f11a2ac: 14500004 */ bne $v0,$s0,.PB0f11a2c0 +/* f11a2b0: 24010004 */ li $at,0x4 +/* f11a2b4: 240f0001 */ li $t7,0x1 +/* f11a2b8: 1000000e */ b .PB0f11a2f4 +/* f11a2bc: afaf07a4 */ sw $t7,0x7a4($sp) +.PB0f11a2c0: +/* f11a2c0: 1041000c */ beq $v0,$at,.PB0f11a2f4 +/* f11a2c4: 24170001 */ li $s7,0x1 +/* f11a2c8: 2401000b */ li $at,0xb +/* f11a2cc: 5441000a */ bnel $v0,$at,.PB0f11a2f8 +/* f11a2d0: 8fae07a4 */ lw $t6,0x7a4($sp) +/* f11a2d4: 10000008 */ b .PB0f11a2f8 +/* f11a2d8: 8fae07a4 */ lw $t6,0x7a4($sp) +.PB0f11a2dc: +/* f11a2dc: 16e00005 */ bnez $s7,.PB0f11a2f4 +/* f11a2e0: 8fb903a4 */ lw $t9,0x3a4($sp) +/* f11a2e4: 8ec902a0 */ lw $t1,0x2a0($s6) +/* f11a2e8: 0329082b */ sltu $at,$t9,$t1 +/* f11a2ec: 5420ff5e */ bnezl $at,.PB0f11a068 +/* f11a2f0: 00142600 */ sll $a0,$s4,0x18 +.PB0f11a2f4: +/* f11a2f4: 8fae07a4 */ lw $t6,0x7a4($sp) +.PB0f11a2f8: +/* f11a2f8: 24100009 */ li $s0,0x9 +/* f11a2fc: 27b50474 */ addiu $s5,$sp,0x474 +/* f11a300: 15c0003d */ bnez $t6,.PB0f11a3f8 +/* f11a304: afa003a4 */ sw $zero,0x3a4($sp) +/* f11a308: 56e0003c */ bnezl $s7,.PB0f11a3fc +/* f11a30c: 8fb907a4 */ lw $t9,0x7a4($sp) +/* f11a310: 8ecb02a0 */ lw $t3,0x2a0($s6) +/* f11a314: 11600038 */ beqz $t3,.PB0f11a3f8 +/* f11a318: 00142600 */ sll $a0,$s4,0x18 +.PB0f11a31c: +/* f11a31c: 00045603 */ sra $t2,$a0,0x18 +/* f11a320: 01402025 */ move $a0,$t2 +/* f11a324: 8fa503a4 */ lw $a1,0x3a4($sp) +/* f11a328: 0fc45f70 */ jal 0xf117dc0 +/* f11a32c: 02a03025 */ move $a2,$s5 +/* f11a330: 14400017 */ bnez $v0,.PB0f11a390 +/* f11a334: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a338: 000615c2 */ srl $v0,$a2,0x17 +/* f11a33c: 304c0002 */ andi $t4,$v0,0x2 +/* f11a340: 11800003 */ beqz $t4,.PB0f11a350 +/* f11a344: 8fad03a4 */ lw $t5,0x3a4($sp) +/* f11a348: 1000000b */ b .PB0f11a378 +/* f11a34c: 30430004 */ andi $v1,$v0,0x4 +.PB0f11a350: +/* f11a350: 11a00003 */ beqz $t5,.PB0f11a360 +/* f11a354: 8fa80480 */ lw $t0,0x480($sp) +/* f11a358: 10000007 */ b .PB0f11a378 +/* f11a35c: 30430004 */ andi $v1,$v0,0x4 +.PB0f11a360: +/* f11a360: 0008c4c2 */ srl $t8,$t0,0x13 +/* f11a364: 30430004 */ andi $v1,$v0,0x4 +/* f11a368: 10600003 */ beqz $v1,.PB0f11a378 +/* f11a36c: aed80260 */ sw $t8,0x260($s6) +/* f11a370: 100000b1 */ b .PB0f11a638 +/* f11a374: 00001025 */ move $v0,$zero +.PB0f11a378: +/* f11a378: 1460001f */ bnez $v1,.PB0f11a3f8 +/* f11a37c: 8faf03a4 */ lw $t7,0x3a4($sp) +/* f11a380: 30d90fff */ andi $t9,$a2,0xfff +/* f11a384: 01f94821 */ addu $t1,$t7,$t9 +/* f11a388: 10000011 */ b .PB0f11a3d0 +/* f11a38c: afa903a4 */ sw $t1,0x3a4($sp) +.PB0f11a390: +/* f11a390: 14500008 */ bne $v0,$s0,.PB0f11a3b4 +/* f11a394: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a398: 8fab03a4 */ lw $t3,0x3a4($sp) +/* f11a39c: 30ca0fff */ andi $t2,$a2,0xfff +/* f11a3a0: 240e0001 */ li $t6,0x1 +/* f11a3a4: 016a6021 */ addu $t4,$t3,$t2 +/* f11a3a8: afae07a4 */ sw $t6,0x7a4($sp) +/* f11a3ac: 10000008 */ b .PB0f11a3d0 +/* f11a3b0: afac03a4 */ sw $t4,0x3a4($sp) +.PB0f11a3b4: +/* f11a3b4: 24010001 */ li $at,0x1 +/* f11a3b8: 14410003 */ bne $v0,$at,.PB0f11a3c8 +/* f11a3bc: 00000000 */ nop +/* f11a3c0: 1000009d */ b .PB0f11a638 +/* f11a3c4: 24020001 */ li $v0,0x1 +.PB0f11a3c8: +/* f11a3c8: 1000009b */ b .PB0f11a638 +/* f11a3cc: 24020001 */ li $v0,0x1 +.PB0f11a3d0: +/* f11a3d0: 8fad07a4 */ lw $t5,0x7a4($sp) +/* f11a3d4: 8fb803a4 */ lw $t8,0x3a4($sp) +/* f11a3d8: 55a00008 */ bnezl $t5,.PB0f11a3fc +/* f11a3dc: 8fb907a4 */ lw $t9,0x7a4($sp) +/* f11a3e0: 56e00006 */ bnezl $s7,.PB0f11a3fc +/* f11a3e4: 8fb907a4 */ lw $t9,0x7a4($sp) +/* f11a3e8: 8ecf02a0 */ lw $t7,0x2a0($s6) +/* f11a3ec: 030f082b */ sltu $at,$t8,$t7 +/* f11a3f0: 5420ffca */ bnezl $at,.PB0f11a31c +/* f11a3f4: 00142600 */ sll $a0,$s4,0x18 +.PB0f11a3f8: +/* f11a3f8: 8fb907a4 */ lw $t9,0x7a4($sp) +.PB0f11a3fc: +/* f11a3fc: 17200079 */ bnez $t9,.PB0f11a5e4 +/* f11a400: 00000000 */ nop +/* f11a404: 16e00077 */ bnez $s7,.PB0f11a5e4 +/* f11a408: 00000000 */ nop +/* f11a40c: 8ec902a0 */ lw $t1,0x2a0($s6) +/* f11a410: 00008025 */ move $s0,$zero +/* f11a414: afa003a4 */ sw $zero,0x3a4($sp) +/* f11a418: 1120002e */ beqz $t1,.PB0f11a4d4 +/* f11a41c: 27b2007c */ addiu $s2,$sp,0x7c +/* f11a420: 24110001 */ li $s1,0x1 +.PB0f11a424: +/* f11a424: 00142600 */ sll $a0,$s4,0x18 +/* f11a428: 00047603 */ sra $t6,$a0,0x18 +/* f11a42c: 01c02025 */ move $a0,$t6 +/* f11a430: 8fa503a4 */ lw $a1,0x3a4($sp) +/* f11a434: 0fc45f70 */ jal 0xf117dc0 +/* f11a438: 02a03025 */ move $a2,$s5 +/* f11a43c: 14400025 */ bnez $v0,.PB0f11a4d4 +/* f11a440: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a444: 000615c2 */ srl $v0,$a2,0x17 +/* f11a448: 304b0002 */ andi $t3,$v0,0x2 +/* f11a44c: 1560001a */ bnez $t3,.PB0f11a4b8 +/* f11a450: 304a0004 */ andi $t2,$v0,0x4 +/* f11a454: 1540001f */ bnez $t2,.PB0f11a4d4 +/* f11a458: 00002825 */ move $a1,$zero +/* f11a45c: 1a00000e */ blez $s0,.PB0f11a498 +/* f11a460: 00001825 */ move $v1,$zero +/* f11a464: 8fa80480 */ lw $t0,0x480($sp) +/* f11a468: 27a2007c */ addiu $v0,$sp,0x7c +/* f11a46c: 000824c2 */ srl $a0,$t0,0x13 +.PB0f11a470: +/* f11a470: 8c4c0000 */ lw $t4,0x0($v0) +/* f11a474: 24630001 */ addiu $v1,$v1,0x1 +/* f11a478: 148c0005 */ bne $a0,$t4,.PB0f11a490 +/* f11a47c: 00000000 */ nop +/* f11a480: 8c4d0004 */ lw $t5,0x4($v0) +/* f11a484: 02202825 */ move $a1,$s1 +/* f11a488: 25b80001 */ addiu $t8,$t5,0x1 +/* f11a48c: ac580004 */ sw $t8,0x4($v0) +.PB0f11a490: +/* f11a490: 1470fff7 */ bne $v1,$s0,.PB0f11a470 +/* f11a494: 24420008 */ addiu $v0,$v0,0x8 +.PB0f11a498: +/* f11a498: 14a00007 */ bnez $a1,.PB0f11a4b8 +/* f11a49c: 8fa80480 */ lw $t0,0x480($sp) +/* f11a4a0: 001078c0 */ sll $t7,$s0,0x3 +/* f11a4a4: 024f1021 */ addu $v0,$s2,$t7 +/* f11a4a8: 0008ccc2 */ srl $t9,$t0,0x13 +/* f11a4ac: ac590000 */ sw $t9,0x0($v0) +/* f11a4b0: ac510004 */ sw $s1,0x4($v0) +/* f11a4b4: 26100001 */ addiu $s0,$s0,0x1 +.PB0f11a4b8: +/* f11a4b8: 8fa903a4 */ lw $t1,0x3a4($sp) +/* f11a4bc: 8ecc02a0 */ lw $t4,0x2a0($s6) +/* f11a4c0: 30ce0fff */ andi $t6,$a2,0xfff +/* f11a4c4: 012e5821 */ addu $t3,$t1,$t6 +/* f11a4c8: 016c082b */ sltu $at,$t3,$t4 +/* f11a4cc: 1420ffd5 */ bnez $at,.PB0f11a424 +/* f11a4d0: afab03a4 */ sw $t3,0x3a4($sp) +.PB0f11a4d4: +/* f11a4d4: 2a010002 */ slti $at,$s0,0x2 +/* f11a4d8: 14200040 */ bnez $at,.PB0f11a5dc +/* f11a4dc: 27b2007c */ addiu $s2,$sp,0x7c +/* f11a4e0: 2406ffff */ li $a2,-1 +/* f11a4e4: 2405ffff */ li $a1,-1 +/* f11a4e8: 1a00000b */ blez $s0,.PB0f11a518 +/* f11a4ec: 00001825 */ move $v1,$zero +/* f11a4f0: 27a2007c */ addiu $v0,$sp,0x7c +.PB0f11a4f4: +/* f11a4f4: 8c440004 */ lw $a0,0x4($v0) +/* f11a4f8: 00a4082a */ slt $at,$a1,$a0 +/* f11a4fc: 50200004 */ beqzl $at,.PB0f11a510 +/* f11a500: 24630001 */ addiu $v1,$v1,0x1 +/* f11a504: 00603025 */ move $a2,$v1 +/* f11a508: 00802825 */ move $a1,$a0 +/* f11a50c: 24630001 */ addiu $v1,$v1,0x1 +.PB0f11a510: +/* f11a510: 1470fff8 */ bne $v1,$s0,.PB0f11a4f4 +/* f11a514: 24420008 */ addiu $v0,$v0,0x8 +.PB0f11a518: +/* f11a518: 2401ffff */ li $at,-1 +/* f11a51c: 10c10031 */ beq $a2,$at,.PB0f11a5e4 +/* f11a520: 000668c0 */ sll $t5,$a2,0x3 +/* f11a524: 024dc021 */ addu $t8,$s2,$t5 +/* f11a528: 8f020000 */ lw $v0,0x0($t8) +/* f11a52c: 00142600 */ sll $a0,$s4,0x18 +/* f11a530: 00047e03 */ sra $t7,$a0,0x18 +/* f11a534: 2c410010 */ sltiu $at,$v0,0x10 +/* f11a538: 10200004 */ beqz $at,.PB0f11a54c +/* f11a53c: aec20260 */ sw $v0,0x260($s6) +/* f11a540: 0fc45bcb */ jal 0xf116f2c +/* f11a544: 01e02025 */ move $a0,$t7 +/* f11a548: aec20260 */ sw $v0,0x260($s6) +.PB0f11a54c: +/* f11a54c: 8ed902a0 */ lw $t9,0x2a0($s6) +/* f11a550: afa003a4 */ sw $zero,0x3a4($sp) +/* f11a554: 13200023 */ beqz $t9,.PB0f11a5e4 +.PB0f11a558: +/* f11a558: 00142600 */ sll $a0,$s4,0x18 +/* f11a55c: 00044e03 */ sra $t1,$a0,0x18 +/* f11a560: 01202025 */ move $a0,$t1 +/* f11a564: 8fa503a4 */ lw $a1,0x3a4($sp) +/* f11a568: 0fc45f70 */ jal 0xf117dc0 +/* f11a56c: 02a03025 */ move $a2,$s5 +/* f11a570: 1440001c */ bnez $v0,.PB0f11a5e4 +/* f11a574: 8fa6047c */ lw $a2,0x47c($sp) +/* f11a578: 000615c2 */ srl $v0,$a2,0x17 +/* f11a57c: 304e0002 */ andi $t6,$v0,0x2 +/* f11a580: 15c0000d */ bnez $t6,.PB0f11a5b8 +/* f11a584: 304b0004 */ andi $t3,$v0,0x4 +/* f11a588: 15600016 */ bnez $t3,.PB0f11a5e4 +/* f11a58c: 8fa80480 */ lw $t0,0x480($sp) +/* f11a590: 8ecc0260 */ lw $t4,0x260($s6) +/* f11a594: 000854c2 */ srl $t2,$t0,0x13 +/* f11a598: 00142600 */ sll $a0,$s4,0x18 +/* f11a59c: 114c0006 */ beq $t2,$t4,.PB0f11a5b8 +/* f11a5a0: 00046e03 */ sra $t5,$a0,0x18 +/* f11a5a4: 01a02025 */ move $a0,$t5 +/* f11a5a8: 8fa503a4 */ lw $a1,0x3a4($sp) +/* f11a5ac: 0fc46746 */ jal 0xf119d18 +/* f11a5b0: 02a03025 */ move $a2,$s5 +/* f11a5b4: 8fa6047c */ lw $a2,0x47c($sp) +.PB0f11a5b8: +/* f11a5b8: 8fb803a4 */ lw $t8,0x3a4($sp) +/* f11a5bc: 8ece02a0 */ lw $t6,0x2a0($s6) +/* f11a5c0: 30cf0fff */ andi $t7,$a2,0xfff +/* f11a5c4: 030fc821 */ addu $t9,$t8,$t7 +/* f11a5c8: 032e082b */ sltu $at,$t9,$t6 +/* f11a5cc: 1420ffe2 */ bnez $at,.PB0f11a558 +/* f11a5d0: afb903a4 */ sw $t9,0x3a4($sp) +/* f11a5d4: 10000003 */ b .PB0f11a5e4 +/* f11a5d8: 00000000 */ nop +.PB0f11a5dc: +/* f11a5dc: 8fab007c */ lw $t3,0x7c($sp) +/* f11a5e0: aecb0260 */ sw $t3,0x260($s6) +.PB0f11a5e4: +/* f11a5e4: 12e00003 */ beqz $s7,.PB0f11a5f4 +/* f11a5e8: 8faa07a4 */ lw $t2,0x7a4($sp) +/* f11a5ec: 10000012 */ b .PB0f11a638 +/* f11a5f0: 2402ffff */ li $v0,-1 +.PB0f11a5f4: +/* f11a5f4: 11400003 */ beqz $t2,.PB0f11a604 +/* f11a5f8: 24010004 */ li $at,0x4 +/* f11a5fc: 1000000e */ b .PB0f11a638 +/* f11a600: 2402ffff */ li $v0,-1 +.PB0f11a604: +/* f11a604: 5281000c */ beql $s4,$at,.PB0f11a638 +/* f11a608: 00001025 */ move $v0,$zero +/* f11a60c: 8ecc0260 */ lw $t4,0x260($s6) +/* f11a610: 00142600 */ sll $a0,$s4,0x18 +/* f11a614: 00046e03 */ sra $t5,$a0,0x18 +/* f11a618: 55800007 */ bnezl $t4,.PB0f11a638 +/* f11a61c: 00001025 */ move $v0,$zero +/* f11a620: 0fc45bcb */ jal 0xf116f2c +/* f11a624: 01a02025 */ move $a0,$t5 +/* f11a628: aec20260 */ sw $v0,0x260($s6) +/* f11a62c: 10000002 */ b .PB0f11a638 +/* f11a630: 2402ffff */ li $v0,-1 +/* f11a634: 00001025 */ move $v0,$zero +.PB0f11a638: +/* f11a638: 8fbf004c */ lw $ra,0x4c($sp) +/* f11a63c: 8fb0002c */ lw $s0,0x2c($sp) +/* f11a640: 8fb10030 */ lw $s1,0x30($sp) +/* f11a644: 8fb20034 */ lw $s2,0x34($sp) +/* f11a648: 8fb30038 */ lw $s3,0x38($sp) +/* f11a64c: 8fb4003c */ lw $s4,0x3c($sp) +/* f11a650: 8fb50040 */ lw $s5,0x40($sp) +/* f11a654: 8fb60044 */ lw $s6,0x44($sp) +/* f11a658: 8fb70048 */ lw $s7,0x48($sp) +/* f11a65c: 03e00008 */ jr $ra +/* f11a660: 27bd07b0 */ addiu $sp,$sp,0x7b0 +); +#else s32 pakRepairFilesystem(s8 device) { s32 ret; @@ -3463,6 +3940,7 @@ s32 pakRepairFilesystem(s8 device) return (VERSION >= VERSION_NTSC_1_0 ? 0 : 1); } +#endif #if VERSION >= VERSION_NTSC_1_0 /** diff --git a/src/game/player.c b/src/game/player.c index d609ed4e3..1971c03e0 100644 --- a/src/game/player.c +++ b/src/game/player.c @@ -86,7 +86,7 @@ s32 var8009de08; u32 var8009de0c; s32 g_CutsceneCurAnimFrame60; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA f32 g_CutsceneCurAnimFrame240; f32 var8009e388pf; #else @@ -96,7 +96,7 @@ s32 g_CutsceneCurAnimFrame240; s16 g_CutsceneAnimNum; f32 g_CutsceneBlurFrac; -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA s32 g_CutsceneFrameOverrun240; #endif @@ -2025,7 +2025,7 @@ void playerStartCutscene2(void) bmoveSetModeForAllPlayers(MOVEMODE_CUTSCENE); playersClearMemCamRoom(); -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA g_CutsceneCurAnimFrame240 = var8009e388pf; g_CutsceneCurAnimFrame60 = floorf(g_CutsceneCurAnimFrame240 + 0.01f); #else @@ -2132,7 +2132,7 @@ void playerTickCutscene(bool arg0) g_Vars.cutsceneskip60ths = 0; if (g_CutsceneCurAnimFrame60 < endframe) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA g_CutsceneCurAnimFrame240 += g_Vars.lvupdate240freal; g_CutsceneCurAnimFrame60 = floorf(g_CutsceneCurAnimFrame240 + 0.01f); #else @@ -2142,7 +2142,7 @@ void playerTickCutscene(bool arg0) if (g_Anims[g_CutsceneAnimNum].flags & ANIMFLAG_08) { while (g_CutsceneCurAnimFrame60 < endframe && anim000239e0(g_CutsceneAnimNum, g_CutsceneCurAnimFrame60)) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA g_CutsceneCurAnimFrame240 += 1.2f; g_CutsceneCurAnimFrame60 = floorf(g_CutsceneCurAnimFrame240 + 0.01f); #else @@ -2155,7 +2155,7 @@ void playerTickCutscene(bool arg0) } if (g_CutsceneCurAnimFrame60 >= endframe) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA var8009e388pf = g_CutsceneCurAnimFrame240 - endframe; #else g_CutsceneFrameOverrun240 = g_CutsceneCurAnimFrame240 - endframe * 4; @@ -3685,6 +3685,2398 @@ void playerConfigureVi(void) viSetBufSize(playerGetFbWidth(), playerGetFbHeight()); } +#if VERSION == VERSION_PAL_BETA +const char var7f1af224pb[] = "tps"; + +GLOBAL_ASM( +glabel playerTick +.late_rodata +glabel var7f1af390 +.word 0x3faaaaab +.word 0x3f986186 +.word 0x3983126f +.word 0x3d4ccccd +.word 0x3d4ccccd +.word 0x3c8ef461 +.word 0x40c907a9 +.word 0x40490fdb +.word 0xc0490fdb +.word 0xbdb851ec +.word 0x3db851ec +.word 0xbe4ccccd +.word 0x3e4ccccd +.text +/* f0bdd70: 27bdfcd0 */ addiu $sp,$sp,-816 +/* f0bdd74: afb30040 */ sw $s3,0x40($sp) +/* f0bdd78: 3c13800a */ lui $s3,0x800a +/* f0bdd7c: 2673e4d0 */ addiu $s3,$s3,-6960 +/* f0bdd80: 8e6f0298 */ lw $t7,0x298($s3) +/* f0bdd84: afb10038 */ sw $s1,0x38($sp) +/* f0bdd88: 3c0e8007 */ lui $t6,0x8007 +/* f0bdd8c: 8dce239c */ lw $t6,0x239c($t6) +/* f0bdd90: 3c118007 */ lui $s1,0x8007 +/* f0bdd94: 26312398 */ addiu $s1,$s1,0x2398 +/* f0bdd98: afbf004c */ sw $ra,0x4c($sp) +/* f0bdd9c: afb50048 */ sw $s5,0x48($sp) +/* f0bdda0: afb40044 */ sw $s4,0x44($sp) +/* f0bdda4: afb2003c */ sw $s2,0x3c($sp) +/* f0bdda8: afb00034 */ sw $s0,0x34($sp) +/* f0bddac: f7b60028 */ sdc1 $f22,0x28($sp) +/* f0bddb0: f7b40020 */ sdc1 $f20,0x20($sp) +/* f0bddb4: afa40330 */ sw $a0,0x330($sp) +/* f0bddb8: 05e10004 */ bgez $t7,.PB0f0bddcc +/* f0bddbc: ae2e0000 */ sw $t6,0x0($s1) +/* f0bddc0: 8e78029c */ lw $t8,0x29c($s3) +/* f0bddc4: 0700001f */ bltz $t8,.PB0f0bde44 +/* f0bddc8: 00000000 */ nop +.PB0f0bddcc: +/* f0bddcc: 8e79006c */ lw $t9,0x6c($s3) +/* f0bddd0: 00003825 */ move $a3,$zero +/* f0bddd4: 00002825 */ move $a1,$zero +/* f0bddd8: 13200003 */ beqz $t9,.PB0f0bdde8 +/* f0bdddc: 00002025 */ move $a0,$zero +/* f0bdde0: 10000001 */ b .PB0f0bdde8 +/* f0bdde4: 24070001 */ li $a3,0x1 +.PB0f0bdde8: +/* f0bdde8: 8e690068 */ lw $t1,0x68($s3) +/* f0bddec: 00001025 */ move $v0,$zero +/* f0bddf0: 11200003 */ beqz $t1,.PB0f0bde00 +/* f0bddf4: 00000000 */ nop +/* f0bddf8: 10000001 */ b .PB0f0bde00 +/* f0bddfc: 24050001 */ li $a1,0x1 +.PB0f0bde00: +/* f0bde00: 8e6a0064 */ lw $t2,0x64($s3) +/* f0bde04: 11400003 */ beqz $t2,.PB0f0bde14 +/* f0bde08: 00000000 */ nop +/* f0bde0c: 10000001 */ b .PB0f0bde14 +/* f0bde10: 24040001 */ li $a0,0x1 +.PB0f0bde14: +/* f0bde14: 8e6b0070 */ lw $t3,0x70($s3) +/* f0bde18: 11600003 */ beqz $t3,.PB0f0bde28 +/* f0bde1c: 00000000 */ nop +/* f0bde20: 10000001 */ b .PB0f0bde28 +/* f0bde24: 24020001 */ li $v0,0x1 +.PB0f0bde28: +/* f0bde28: 00446021 */ addu $t4,$v0,$a0 +/* f0bde2c: 01856821 */ addu $t5,$t4,$a1 +/* f0bde30: 01a77021 */ addu $t6,$t5,$a3 +/* f0bde34: 29c10002 */ slti $at,$t6,0x2 +/* f0bde38: 14200002 */ bnez $at,.PB0f0bde44 +/* f0bde3c: 00000000 */ nop +/* f0bde40: ae200000 */ sw $zero,0x0($s1) +.PB0f0bde44: +/* f0bde44: 0fc55163 */ jal 0xf15458c +/* f0bde48: 00002025 */ move $a0,$zero +/* f0bde4c: 0fc550b3 */ jal 0xf1542cc +/* f0bde50: 00000000 */ nop +/* f0bde54: 24010001 */ li $at,0x1 +/* f0bde58: 14410008 */ bne $v0,$at,.PB0f0bde7c +/* f0bde5c: 00000000 */ nop +/* f0bde60: 0fc2f5f1 */ jal 0xf0bd7c4 +/* f0bde64: 00000000 */ nop +/* f0bde68: 3c017f1b */ lui $at,0x7f1b +/* f0bde6c: c424f390 */ lwc1 $f4,-0xc70($at) +/* f0bde70: 46040382 */ mul.s $f14,$f0,$f4 +/* f0bde74: 10000004 */ b .PB0f0bde88 +/* f0bde78: 00000000 */ nop +.PB0f0bde7c: +/* f0bde7c: 0fc2f5f1 */ jal 0xf0bd7c4 +/* f0bde80: 00000000 */ nop +/* f0bde84: 46000386 */ mov.s $f14,$f0 +.PB0f0bde88: +/* f0bde88: 3c017f1b */ lui $at,0x7f1b +/* f0bde8c: c426f394 */ lwc1 $f6,-0xc6c($at) +/* f0bde90: 3c108007 */ lui $s0,0x8007 +/* f0bde94: 2610250c */ addiu $s0,$s0,0x250c +/* f0bde98: 46067382 */ mul.s $f14,$f14,$f6 +/* f0bde9c: 3c047f1b */ lui $a0,0x7f1b +/* f0bdea0: 2484f224 */ addiu $a0,$a0,-3548 +/* f0bdea4: 02002825 */ move $a1,$s0 +/* f0bdea8: 0c003648 */ jal 0xd920 +/* f0bdeac: e7ae032c */ swc1 $f14,0x32c($sp) +/* f0bdeb0: 8e0f0000 */ lw $t7,0x0($s0) +/* f0bdeb4: 51e00008 */ beqzl $t7,.PB0f0bded8 +/* f0bdeb8: 8e690284 */ lw $t1,0x284($s3) +/* f0bdebc: 8e780284 */ lw $t8,0x284($s3) +/* f0bdec0: ae000000 */ sw $zero,0x0($s0) +/* f0bdec4: 24150001 */ li $s5,0x1 +/* f0bdec8: a3001bfd */ sb $zero,0x1bfd($t8) +/* f0bdecc: 8e790284 */ lw $t9,0x284($s3) +/* f0bded0: a3351bfc */ sb $s5,0x1bfc($t9) +/* f0bded4: 8e690284 */ lw $t1,0x284($s3) +.PB0f0bded8: +/* f0bded8: 24150001 */ li $s5,0x1 +/* f0bdedc: 912a1bfc */ lbu $t2,0x1bfc($t1) +/* f0bdee0: 51400004 */ beqzl $t2,.PB0f0bdef4 +/* f0bdee4: 8e6b04b4 */ lw $t3,0x4b4($s3) +/* f0bdee8: 0fc2f654 */ jal 0xf0bd950 +/* f0bdeec: 27a4032c */ addiu $a0,$sp,0x32c +/* f0bdef0: 8e6b04b4 */ lw $t3,0x4b4($s3) +.PB0f0bdef4: +/* f0bdef4: 2401004e */ li $at,0x4e +/* f0bdef8: 5561000a */ bnel $t3,$at,.PB0f0bdf24 +/* f0bdefc: 3c014270 */ lui $at,0x4270 +/* f0bdf00: 0fc06b7e */ jal 0xf01adf8 +/* f0bdf04: 00000000 */ nop +/* f0bdf08: 50400006 */ beqzl $v0,.PB0f0bdf24 +/* f0bdf0c: 3c014270 */ lui $at,0x4270 +/* f0bdf10: 0fc06b95 */ jal 0xf01ae54 +/* f0bdf14: 00000000 */ nop +/* f0bdf18: 1000083b */ b .PB0f0c0008 +/* f0bdf1c: 8fbf004c */ lw $ra,0x4c($sp) +/* f0bdf20: 3c014270 */ lui $at,0x4270 +.PB0f0bdf24: +/* f0bdf24: 44816000 */ mtc1 $at,$f12 +/* f0bdf28: 0fc4a7ed */ jal 0xf129fb4 +/* f0bdf2c: 00000000 */ nop +/* f0bdf30: 0fc4a7f1 */ jal 0xf129fc4 +/* f0bdf34: c7ac032c */ lwc1 $f12,0x32c($sp) +/* f0bdf38: 0fc2f270 */ jal 0xf0bc9c0 +/* f0bdf3c: 00000000 */ nop +/* f0bdf40: 00028400 */ sll $s0,$v0,0x10 +/* f0bdf44: 00106403 */ sra $t4,$s0,0x10 +/* f0bdf48: 0fc2f3c3 */ jal 0xf0bcf0c +/* f0bdf4c: 01808025 */ move $s0,$t4 +/* f0bdf50: 02002025 */ move $a0,$s0 +/* f0bdf54: 0fc4a7df */ jal 0xf129f7c +/* f0bdf58: 00402825 */ move $a1,$v0 +/* f0bdf5c: 0fc2f306 */ jal 0xf0bcc18 +/* f0bdf60: 00000000 */ nop +/* f0bdf64: 00028400 */ sll $s0,$v0,0x10 +/* f0bdf68: 00106c03 */ sra $t5,$s0,0x10 +/* f0bdf6c: 0fc2f4a4 */ jal 0xf0bd290 +/* f0bdf70: 01a08025 */ move $s0,$t5 +/* f0bdf74: 02002025 */ move $a0,$s0 +/* f0bdf78: 0fc4a7e6 */ jal 0xf129f98 +/* f0bdf7c: 00402825 */ move $a1,$v0 +/* f0bdf80: 8e2e0000 */ lw $t6,0x0($s1) +/* f0bdf84: 3c048007 */ lui $a0,0x8007 +/* f0bdf88: 000e7880 */ sll $t7,$t6,0x2 +/* f0bdf8c: 01ee7823 */ subu $t7,$t7,$t6 +/* f0bdf90: 000f7880 */ sll $t7,$t7,0x2 +/* f0bdf94: 01ee7823 */ subu $t7,$t7,$t6 +/* f0bdf98: 000f7880 */ sll $t7,$t7,0x2 +/* f0bdf9c: 008f2021 */ addu $a0,$a0,$t7 +/* f0bdfa0: 0c0029f7 */ jal 0xa7dc +/* f0bdfa4: 8c842350 */ lw $a0,0x2350($a0) +/* f0bdfa8: 0fc2f270 */ jal 0xf0bc9c0 +/* f0bdfac: 00000000 */ nop +/* f0bdfb0: 00028400 */ sll $s0,$v0,0x10 +/* f0bdfb4: 0010c403 */ sra $t8,$s0,0x10 +/* f0bdfb8: 0fc2f3c3 */ jal 0xf0bcf0c +/* f0bdfbc: 03008025 */ move $s0,$t8 +/* f0bdfc0: 3c014270 */ lui $at,0x4270 +/* f0bdfc4: 00103400 */ sll $a2,$s0,0x10 +/* f0bdfc8: 00023c00 */ sll $a3,$v0,0x10 +/* f0bdfcc: 00074c03 */ sra $t1,$a3,0x10 +/* f0bdfd0: 0006cc03 */ sra $t9,$a2,0x10 +/* f0bdfd4: 44816000 */ mtc1 $at,$f12 +/* f0bdfd8: 03203025 */ move $a2,$t9 +/* f0bdfdc: 01203825 */ move $a3,$t1 +/* f0bdfe0: 0c002ec1 */ jal 0xbb04 +/* f0bdfe4: c7ae032c */ lwc1 $f14,0x32c($sp) +/* f0bdfe8: 0fc2f306 */ jal 0xf0bcc18 +/* f0bdfec: 00000000 */ nop +/* f0bdff0: 00028400 */ sll $s0,$v0,0x10 +/* f0bdff4: 00105403 */ sra $t2,$s0,0x10 +/* f0bdff8: 0fc2f4a4 */ jal 0xf0bd290 +/* f0bdffc: 01408025 */ move $s0,$t2 +/* f0be000: 00102400 */ sll $a0,$s0,0x10 +/* f0be004: 00022c00 */ sll $a1,$v0,0x10 +/* f0be008: 00056403 */ sra $t4,$a1,0x10 +/* f0be00c: 00045c03 */ sra $t3,$a0,0x10 +/* f0be010: 01602025 */ move $a0,$t3 +/* f0be014: 0c002e75 */ jal 0xb9d4 +/* f0be018: 01802825 */ move $a1,$t4 +/* f0be01c: 0fc2f22e */ jal 0xf0bc8b8 +/* f0be020: 00000000 */ nop +/* f0be024: 00028400 */ sll $s0,$v0,0x10 +/* f0be028: 00106c03 */ sra $t5,$s0,0x10 +/* f0be02c: 0fc2f239 */ jal 0xf0bc8e4 +/* f0be030: 01a08025 */ move $s0,$t5 +/* f0be034: 00102400 */ sll $a0,$s0,0x10 +/* f0be038: 00022c00 */ sll $a1,$v0,0x10 +/* f0be03c: 00057c03 */ sra $t7,$a1,0x10 +/* f0be040: 00047403 */ sra $t6,$a0,0x10 +/* f0be044: 01c02025 */ move $a0,$t6 +/* f0be048: 0c002e44 */ jal 0xb910 +/* f0be04c: 01e02825 */ move $a1,$t7 +/* f0be050: 0fc2f22e */ jal 0xf0bc8b8 +/* f0be054: 00000000 */ nop +/* f0be058: 00028400 */ sll $s0,$v0,0x10 +/* f0be05c: 0010c403 */ sra $t8,$s0,0x10 +/* f0be060: 0fc2f239 */ jal 0xf0bc8e4 +/* f0be064: 03008025 */ move $s0,$t8 +/* f0be068: 00102400 */ sll $a0,$s0,0x10 +/* f0be06c: 00022c00 */ sll $a1,$v0,0x10 +/* f0be070: 00054c03 */ sra $t1,$a1,0x10 +/* f0be074: 0004cc03 */ sra $t9,$a0,0x10 +/* f0be078: 03202025 */ move $a0,$t9 +/* f0be07c: 0c002e33 */ jal 0xb8cc +/* f0be080: 01202825 */ move $a1,$t1 +/* f0be084: 0fc2ee1f */ jal 0xf0bb87c +/* f0be088: 00000000 */ nop +/* f0be08c: 0fc2ee8f */ jal 0xf0bba3c +/* f0be090: 00000000 */ nop +/* f0be094: 8e6a0288 */ lw $t2,0x288($s3) +/* f0be098: 0fc54ed5 */ jal 0xf153b54 +/* f0be09c: 8d440070 */ lw $a0,0x70($t2) +/* f0be0a0: 0fc31fac */ jal 0xf0c7eb0 +/* f0be0a4: 00402025 */ move $a0,$v0 +/* f0be0a8: 8e6b0288 */ lw $t3,0x288($s3) +/* f0be0ac: 0fc54ed5 */ jal 0xf153b54 +/* f0be0b0: 8d640070 */ lw $a0,0x70($t3) +/* f0be0b4: 0fc31ffd */ jal 0xf0c7ff4 +/* f0be0b8: 00402025 */ move $a0,$v0 +/* f0be0bc: 8e6c0288 */ lw $t4,0x288($s3) +/* f0be0c0: 0fc54ede */ jal 0xf153b78 +/* f0be0c4: 8d840070 */ lw $a0,0x70($t4) +/* f0be0c8: 0fc31fa4 */ jal 0xf0c7e90 +/* f0be0cc: 00402025 */ move $a0,$v0 +/* f0be0d0: 8e6d0288 */ lw $t5,0x288($s3) +/* f0be0d4: 0fc54ef9 */ jal 0xf153be4 +/* f0be0d8: 8da40070 */ lw $a0,0x70($t5) +/* f0be0dc: 02a02025 */ move $a0,$s5 +/* f0be0e0: 0fc2a662 */ jal 0xf0a9988 +/* f0be0e4: 00402825 */ move $a1,$v0 +/* f0be0e8: 02a02025 */ move $a0,$s5 +/* f0be0ec: 0fc2b020 */ jal 0xf0ac080 +/* f0be0f0: 24050001 */ li $a1,0x1 +/* f0be0f4: 8e6302ac */ lw $v1,0x2ac($s3) +/* f0be0f8: 10600002 */ beqz $v1,.PB0f0be104 +/* f0be0fc: 24010001 */ li $at,0x1 +/* f0be100: 1461000d */ bne $v1,$at,.PB0f0be138 +.PB0f0be104: +/* f0be104: 3c0e8007 */ lui $t6,0x8007 +/* f0be108: 8dce2434 */ lw $t6,0x2434($t6) +/* f0be10c: 3c0f8006 */ lui $t7,0x8006 +/* f0be110: 55c0000a */ bnezl $t6,.PB0f0be13c +/* f0be114: 8e6a0284 */ lw $t2,0x284($s3) +/* f0be118: 8defe4e0 */ lw $t7,-0x1b20($t7) +/* f0be11c: 55e00007 */ bnezl $t7,.PB0f0be13c +/* f0be120: 8e6a0284 */ lw $t2,0x284($s3) +/* f0be124: 8e680284 */ lw $t0,0x284($s3) +/* f0be128: 8e790038 */ lw $t9,0x38($s3) +/* f0be12c: 8d181b7c */ lw $t8,0x1b7c($t0) +/* f0be130: 03194821 */ addu $t1,$t8,$t9 +/* f0be134: ad091b7c */ sw $t1,0x1b7c($t0) +.PB0f0be138: +/* f0be138: 8e6a0284 */ lw $t2,0x284($s3) +.PB0f0be13c: +/* f0be13c: 8d4b00c4 */ lw $t3,0xc4($t2) +/* f0be140: 316c0020 */ andi $t4,$t3,0x20 +/* f0be144: 11800004 */ beqz $t4,.PB0f0be158 +/* f0be148: 00000000 */ nop +/* f0be14c: 8e64028c */ lw $a0,0x28c($s3) +/* f0be150: 0fc3061f */ jal 0xf0c187c +/* f0be154: 24050001 */ li $a1,0x1 +.PB0f0be158: +/* f0be158: 0fc2ef19 */ jal 0xf0bbc64 +/* f0be15c: 00000000 */ nop +/* f0be160: 0fc2f15c */ jal 0xf0bc570 +/* f0be164: 00000000 */ nop +/* f0be168: 8e680284 */ lw $t0,0x284($s3) +/* f0be16c: 8d020480 */ lw $v0,0x480($t0) +/* f0be170: 1040008c */ beqz $v0,.PB0f0be3a4 +/* f0be174: 00000000 */ nop +/* f0be178: 8e6d02ac */ lw $t5,0x2ac($s3) +/* f0be17c: 24010006 */ li $at,0x6 +/* f0be180: 00408825 */ move $s1,$v0 +/* f0be184: 15a10014 */ bne $t5,$at,.PB0f0be1d8 +/* f0be188: 8e70028c */ lw $s0,0x28c($s3) +/* f0be18c: 8e240000 */ lw $a0,0x0($s1) +/* f0be190: 24050001 */ li $a1,0x1 +/* f0be194: 3406ffff */ li $a2,0xffff +/* f0be198: 8c900004 */ lw $s0,0x4($a0) +/* f0be19c: a2200035 */ sb $zero,0x35($s1) +/* f0be1a0: a2350034 */ sb $s5,0x34($s1) +/* f0be1a4: 0fc24943 */ jal 0xf09250c +/* f0be1a8: a2200037 */ sb $zero,0x37($s1) +/* f0be1ac: 8e0e0018 */ lw $t6,0x18($s0) +/* f0be1b0: 2401fffb */ li $at,-5 +/* f0be1b4: 35cf0400 */ ori $t7,$t6,0x400 +/* f0be1b8: ae0f0018 */ sw $t7,0x18($s0) +/* f0be1bc: 35f90010 */ ori $t9,$t7,0x10 +/* f0be1c0: ae190018 */ sw $t9,0x18($s0) +/* f0be1c4: 8e680284 */ lw $t0,0x284($s3) +/* f0be1c8: 8d0900c4 */ lw $t1,0xc4($t0) +/* f0be1cc: 01215024 */ and $t2,$t1,$at +/* f0be1d0: 10000074 */ b .PB0f0be3a4 +/* f0be1d4: ad0a00c4 */ sw $t2,0xc4($t0) +.PB0f0be1d8: +/* f0be1d8: 922b0034 */ lbu $t3,0x34($s1) +/* f0be1dc: 5560002c */ bnezl $t3,.PB0f0be290 +/* f0be1e0: 8d0d1c54 */ lw $t5,0x1c54($t0) +/* f0be1e4: 804c0037 */ lb $t4,0x37($v0) +/* f0be1e8: 51800022 */ beqzl $t4,.PB0f0be274 +/* f0be1ec: 8e6b0034 */ lw $t3,0x34($s3) +/* f0be1f0: 8e6d0288 */ lw $t5,0x288($s3) +/* f0be1f4: 0fc54ebe */ jal 0xf153af8 +/* f0be1f8: 8da40070 */ lw $a0,0x70($t5) +/* f0be1fc: 8faf0330 */ lw $t7,0x330($sp) +/* f0be200: 00022600 */ sll $a0,$v0,0x18 +/* f0be204: 00047603 */ sra $t6,$a0,0x18 +/* f0be208: 11e00005 */ beqz $t7,.PB0f0be220 +/* f0be20c: 01c02025 */ move $a0,$t6 +/* f0be210: 0c00566a */ jal 0x159a8 +/* f0be214: 3405ffff */ li $a1,0xffff +/* f0be218: 10000002 */ b .PB0f0be224 +/* f0be21c: 3043ffff */ andi $v1,$v0,0xffff +.PB0f0be220: +/* f0be220: 00001825 */ move $v1,$zero +.PB0f0be224: +/* f0be224: 8e680284 */ lw $t0,0x284($s3) +/* f0be228: 8d1800d8 */ lw $t8,0xd8($t0) +/* f0be22c: 57000011 */ bnezl $t8,.PB0f0be274 +/* f0be230: 8e6b0034 */ lw $t3,0x34($s3) +/* f0be234: 8d191a24 */ lw $t9,0x1a24($t0) +/* f0be238: 30691000 */ andi $t1,$v1,0x1000 +/* f0be23c: 5720000d */ bnezl $t9,.PB0f0be274 +/* f0be240: 8e6b0034 */ lw $t3,0x34($s3) +/* f0be244: 5120000b */ beqzl $t1,.PB0f0be274 +/* f0be248: 8e6b0034 */ lw $t3,0x34($s3) +/* f0be24c: 8e6a0314 */ lw $t2,0x314($s3) +/* f0be250: 15400005 */ bnez $t2,.PB0f0be268 +/* f0be254: 00000000 */ nop +/* f0be258: 0fc2ecd7 */ jal 0xf0bb35c +/* f0be25c: 24040002 */ li $a0,0x2 +/* f0be260: 10000004 */ b .PB0f0be274 +/* f0be264: 8e6b0034 */ lw $t3,0x34($s3) +.PB0f0be268: +/* f0be268: 0fc5ea40 */ jal 0xf17a900 +/* f0be26c: 00000000 */ nop +/* f0be270: 8e6b0034 */ lw $t3,0x34($s3) +.PB0f0be274: +/* f0be274: 5160001d */ beqzl $t3,.PB0f0be2ec +/* f0be278: 922d0035 */ lbu $t5,0x35($s1) +/* f0be27c: 0fc34372 */ jal 0xf0d0dc8 +/* f0be280: 8fa40330 */ lw $a0,0x330($sp) +/* f0be284: 10000019 */ b .PB0f0be2ec +/* f0be288: 922d0035 */ lbu $t5,0x35($s1) +/* f0be28c: 8d0d1c54 */ lw $t5,0x1c54($t0) +.PB0f0be290: +/* f0be290: 8d0c00c4 */ lw $t4,0xc4($t0) +/* f0be294: 0010c880 */ sll $t9,$s0,0x2 +/* f0be298: 01a07027 */ nor $t6,$t5,$zero +/* f0be29c: 018e7824 */ and $t7,$t4,$t6 +/* f0be2a0: 31f80004 */ andi $t8,$t7,0x4 +/* f0be2a4: 13000010 */ beqz $t8,.PB0f0be2e8 +/* f0be2a8: 3c098007 */ lui $t1,0x8007 +/* f0be2ac: 01394821 */ addu $t1,$t1,$t9 +/* f0be2b0: 8d292420 */ lw $t1,0x2420($t1) +/* f0be2b4: 5120000d */ beqzl $t1,.PB0f0be2ec +/* f0be2b8: 922d0035 */ lbu $t5,0x35($s1) +/* f0be2bc: 0fc341ec */ jal 0xf0d07b0 +/* f0be2c0: 00000000 */ nop +/* f0be2c4: 54400009 */ bnezl $v0,.PB0f0be2ec +/* f0be2c8: 922d0035 */ lbu $t5,0x35($s1) +/* f0be2cc: a2350034 */ sb $s5,0x34($s1) +/* f0be2d0: a2200037 */ sb $zero,0x37($s1) +/* f0be2d4: 8e680284 */ lw $t0,0x284($s3) +/* f0be2d8: 2401fffb */ li $at,-5 +/* f0be2dc: 8d0a00c4 */ lw $t2,0xc4($t0) +/* f0be2e0: 01415824 */ and $t3,$t2,$at +/* f0be2e4: ad0b00c4 */ sw $t3,0xc4($t0) +.PB0f0be2e8: +/* f0be2e8: 922d0035 */ lbu $t5,0x35($s1) +.PB0f0be2ec: +/* f0be2ec: 00106080 */ sll $t4,$s0,0x2 +/* f0be2f0: 3c0e8007 */ lui $t6,0x8007 +/* f0be2f4: 11a0002b */ beqz $t5,.PB0f0be3a4 +/* f0be2f8: 01cc7021 */ addu $t6,$t6,$t4 +/* f0be2fc: 8dce2420 */ lw $t6,0x2420($t6) +/* f0be300: 11c00028 */ beqz $t6,.PB0f0be3a4 +/* f0be304: 00000000 */ nop +/* f0be308: 8e680284 */ lw $t0,0x284($s3) +/* f0be30c: 8d181c54 */ lw $t8,0x1c54($t0) +/* f0be310: 8d0f00c4 */ lw $t7,0xc4($t0) +/* f0be314: 0300c827 */ nor $t9,$t8,$zero +/* f0be318: 01f94824 */ and $t1,$t7,$t9 +/* f0be31c: 312a0004 */ andi $t2,$t1,0x4 +/* f0be320: 11400020 */ beqz $t2,.PB0f0be3a4 +/* f0be324: 00000000 */ nop +/* f0be328: 822b0037 */ lb $t3,0x37($s1) +/* f0be32c: 240d0001 */ li $t5,0x1 +/* f0be330: 240e0008 */ li $t6,0x8 +/* f0be334: 15600019 */ bnez $t3,.PB0f0be39c +/* f0be338: 3c048009 */ lui $a0,0x8009 +/* f0be33c: a2200039 */ sb $zero,0x39($s1) +/* f0be340: 822c0039 */ lb $t4,0x39($s1) +/* f0be344: 8e380000 */ lw $t8,0x0($s1) +/* f0be348: a22d0037 */ sb $t5,0x37($s1) +/* f0be34c: a2200068 */ sb $zero,0x68($s1) +/* f0be350: a2200036 */ sb $zero,0x36($s1) +/* f0be354: a22c0038 */ sb $t4,0x38($s1) +/* f0be358: 8f0f0004 */ lw $t7,0x4($t8) +/* f0be35c: 3c01bf80 */ lui $at,0xbf80 +/* f0be360: 44814000 */ mtc1 $at,$f8 +/* f0be364: adee0120 */ sw $t6,0x120($t7) +/* f0be368: 2419ffff */ li $t9,-1 +/* f0be36c: 2409ffff */ li $t1,-1 +/* f0be370: 240affff */ li $t2,-1 +/* f0be374: afaa001c */ sw $t2,0x1c($sp) +/* f0be378: afa90018 */ sw $t1,0x18($sp) +/* f0be37c: afb90010 */ sw $t9,0x10($sp) +/* f0be380: 8c847f30 */ lw $a0,0x7f30($a0) +/* f0be384: 240580ab */ li $a1,-32597 +/* f0be388: 00003025 */ move $a2,$zero +/* f0be38c: 2407ffff */ li $a3,-1 +/* f0be390: 0c004254 */ jal 0x10950 +/* f0be394: e7a80014 */ swc1 $f8,0x14($sp) +/* f0be398: 8e680284 */ lw $t0,0x284($s3) +.PB0f0be39c: +/* f0be39c: 2410ffdf */ li $s0,-33 +/* f0be3a0: a510024c */ sh $s0,0x24c($t0) +.PB0f0be3a4: +/* f0be3a4: 0fc5b9b8 */ jal 0xf16e6e0 +/* f0be3a8: 2410ffdf */ li $s0,-33 +/* f0be3ac: 50400004 */ beqzl $v0,.PB0f0be3c0 +/* f0be3b0: 8e680284 */ lw $t0,0x284($s3) +/* f0be3b4: 0fc2ec4c */ jal 0xf0bb130 +/* f0be3b8: 00000000 */ nop +/* f0be3bc: 8e680284 */ lw $t0,0x284($s3) +.PB0f0be3c0: +/* f0be3c0: 8d0b1a24 */ lw $t3,0x1a24($t0) +/* f0be3c4: 51600005 */ beqzl $t3,.PB0f0be3dc +/* f0be3c8: 950d0010 */ lhu $t5,0x10($t0) +/* f0be3cc: 0fc2ec6f */ jal 0xf0bb1bc +/* f0be3d0: 00000000 */ nop +/* f0be3d4: 8e680284 */ lw $t0,0x284($s3) +/* f0be3d8: 950d0010 */ lhu $t5,0x10($t0) +.PB0f0be3dc: +/* f0be3dc: 24010002 */ li $at,0x2 +/* f0be3e0: 55a1000c */ bnel $t5,$at,.PB0f0be414 +/* f0be3e4: 8e6302ac */ lw $v1,0x2ac($s3) +/* f0be3e8: 8d0c0264 */ lw $t4,0x264($t0) +/* f0be3ec: 51800005 */ beqzl $t4,.PB0f0be404 +/* f0be3f0: ad000264 */ sw $zero,0x264($t0) +/* f0be3f4: 8d1800d8 */ lw $t8,0xd8($t0) +/* f0be3f8: 53000006 */ beqzl $t8,.PB0f0be414 +/* f0be3fc: 8e6302ac */ lw $v1,0x2ac($s3) +/* f0be400: ad000264 */ sw $zero,0x264($t0) +.PB0f0be404: +/* f0be404: 8e6f0284 */ lw $t7,0x284($s3) +/* f0be408: 240e0003 */ li $t6,0x3 +/* f0be40c: a5ee0010 */ sh $t6,0x10($t7) +/* f0be410: 8e6302ac */ lw $v1,0x2ac($s3) +.PB0f0be414: +/* f0be414: 24010006 */ li $at,0x6 +/* f0be418: 10610002 */ beq $v1,$at,.PB0f0be424 +/* f0be41c: 3c018007 */ lui $at,0x8007 +/* f0be420: ac202434 */ sw $zero,0x2434($at) +.PB0f0be424: +/* f0be424: 24010006 */ li $at,0x6 +/* f0be428: 54610054 */ bnel $v1,$at,.PB0f0be57c +/* f0be42c: 8e680284 */ lw $t0,0x284($s3) +/* f0be430: 0fc2e3ec */ jal 0xf0b8fb0 +/* f0be434: 00000000 */ nop +/* f0be438: 8e680284 */ lw $t0,0x284($s3) +/* f0be43c: 00002025 */ move $a0,$zero +/* f0be440: 00002825 */ move $a1,$zero +/* f0be444: 8d1919c8 */ lw $t9,0x19c8($t0) +/* f0be448: 00003025 */ move $a2,$zero +/* f0be44c: 24070001 */ li $a3,0x1 +/* f0be450: 53200008 */ beqzl $t9,.PB0f0be474 +/* f0be454: 8e6a006c */ lw $t2,0x6c($s3) +/* f0be458: 0fc3303a */ jal 0xf0cc0e8 +/* f0be45c: a510024c */ sh $s0,0x24c($t0) +/* f0be460: 0fc2e9b2 */ jal 0xf0ba6c8 +/* f0be464: 8fa40330 */ lw $a0,0x330($sp) +/* f0be468: 8e690284 */ lw $t1,0x284($s3) +/* f0be46c: a530024c */ sh $s0,0x24c($t1) +/* f0be470: 8e6a006c */ lw $t2,0x6c($s3) +.PB0f0be474: +/* f0be474: 00003025 */ move $a2,$zero +/* f0be478: 00003825 */ move $a3,$zero +/* f0be47c: 11400003 */ beqz $t2,.PB0f0be48c +/* f0be480: 00002825 */ move $a1,$zero +/* f0be484: 10000001 */ b .PB0f0be48c +/* f0be488: 24070001 */ li $a3,0x1 +.PB0f0be48c: +/* f0be48c: 8e6b0068 */ lw $t3,0x68($s3) +/* f0be490: 00002025 */ move $a0,$zero +/* f0be494: 00001025 */ move $v0,$zero +/* f0be498: 11600003 */ beqz $t3,.PB0f0be4a8 +/* f0be49c: 0006c880 */ sll $t9,$a2,0x2 +/* f0be4a0: 10000001 */ b .PB0f0be4a8 +/* f0be4a4: 24050001 */ li $a1,0x1 +.PB0f0be4a8: +/* f0be4a8: 8e6d0064 */ lw $t5,0x64($s3) +/* f0be4ac: 02791821 */ addu $v1,$s3,$t9 +/* f0be4b0: 2408ffff */ li $t0,-1 +/* f0be4b4: 11a00003 */ beqz $t5,.PB0f0be4c4 +/* f0be4b8: 00000000 */ nop +/* f0be4bc: 10000001 */ b .PB0f0be4c4 +/* f0be4c0: 24040001 */ li $a0,0x1 +.PB0f0be4c4: +/* f0be4c4: 8e6c0070 */ lw $t4,0x70($s3) +/* f0be4c8: 11800003 */ beqz $t4,.PB0f0be4d8 +/* f0be4cc: 00000000 */ nop +/* f0be4d0: 10000001 */ b .PB0f0be4d8 +/* f0be4d4: 24020001 */ li $v0,0x1 +.PB0f0be4d8: +/* f0be4d8: 0044c021 */ addu $t8,$v0,$a0 +/* f0be4dc: 03057021 */ addu $t6,$t8,$a1 +/* f0be4e0: 01c77821 */ addu $t7,$t6,$a3 +/* f0be4e4: 19e0062a */ blez $t7,.PB0f0bfd90 +/* f0be4e8: 00000000 */ nop +/* f0be4ec: 8c690064 */ lw $t1,0x64($v1) +.PB0f0be4f0: +/* f0be4f0: 24c60001 */ addiu $a2,$a2,0x1 +/* f0be4f4: 24630004 */ addiu $v1,$v1,0x4 +/* f0be4f8: ad281c40 */ sw $t0,0x1c40($t1) +/* f0be4fc: 8e6a006c */ lw $t2,0x6c($s3) +/* f0be500: 00003825 */ move $a3,$zero +/* f0be504: 00002825 */ move $a1,$zero +/* f0be508: 11400003 */ beqz $t2,.PB0f0be518 +/* f0be50c: 00002025 */ move $a0,$zero +/* f0be510: 10000001 */ b .PB0f0be518 +/* f0be514: 24070001 */ li $a3,0x1 +.PB0f0be518: +/* f0be518: 8e6b0068 */ lw $t3,0x68($s3) +/* f0be51c: 00001025 */ move $v0,$zero +/* f0be520: 11600003 */ beqz $t3,.PB0f0be530 +/* f0be524: 00000000 */ nop +/* f0be528: 10000001 */ b .PB0f0be530 +/* f0be52c: 24050001 */ li $a1,0x1 +.PB0f0be530: +/* f0be530: 8e6d0064 */ lw $t5,0x64($s3) +/* f0be534: 11a00003 */ beqz $t5,.PB0f0be544 +/* f0be538: 00000000 */ nop +/* f0be53c: 10000001 */ b .PB0f0be544 +/* f0be540: 24040001 */ li $a0,0x1 +.PB0f0be544: +/* f0be544: 8e6c0070 */ lw $t4,0x70($s3) +/* f0be548: 11800003 */ beqz $t4,.PB0f0be558 +/* f0be54c: 00000000 */ nop +/* f0be550: 10000001 */ b .PB0f0be558 +/* f0be554: 24020001 */ li $v0,0x1 +.PB0f0be558: +/* f0be558: 0044c021 */ addu $t8,$v0,$a0 +/* f0be55c: 03057021 */ addu $t6,$t8,$a1 +/* f0be560: 01c77821 */ addu $t7,$t6,$a3 +/* f0be564: 00cf082a */ slt $at,$a2,$t7 +/* f0be568: 5420ffe1 */ bnezl $at,.PB0f0be4f0 +/* f0be56c: 8c690064 */ lw $t1,0x64($v1) +/* f0be570: 10000607 */ b .PB0f0bfd90 +/* f0be574: 00000000 */ nop +/* f0be578: 8e680284 */ lw $t0,0x284($s3) +.PB0f0be57c: +/* f0be57c: 8d020480 */ lw $v0,0x480($t0) +/* f0be580: 5040002f */ beqzl $v0,.PB0f0be640 +/* f0be584: 910d1bfc */ lbu $t5,0x1bfc($t0) +/* f0be588: 8d091c54 */ lw $t1,0x1c54($t0) +/* f0be58c: 8d1900c4 */ lw $t9,0xc4($t0) +/* f0be590: 01205027 */ nor $t2,$t1,$zero +/* f0be594: 032a5824 */ and $t3,$t9,$t2 +/* f0be598: 316d0004 */ andi $t5,$t3,0x4 +/* f0be59c: 51a00028 */ beqzl $t5,.PB0f0be640 +/* f0be5a0: 910d1bfc */ lbu $t5,0x1bfc($t0) +/* f0be5a4: 804c0037 */ lb $t4,0x37($v0) +/* f0be5a8: 3c0142f0 */ lui $at,0x42f0 +/* f0be5ac: 51800024 */ beqzl $t4,.PB0f0be640 +/* f0be5b0: 910d1bfc */ lbu $t5,0x1bfc($t0) +/* f0be5b4: 4481a000 */ mtc1 $at,$f20 +/* f0be5b8: 0fc4a7ed */ jal 0xf129fb4 +/* f0be5bc: 4600a306 */ mov.s $f12,$f20 +/* f0be5c0: 0c002e97 */ jal 0xba5c +/* f0be5c4: 4600a306 */ mov.s $f12,$f20 +/* f0be5c8: 8e680284 */ lw $t0,0x284($s3) +/* f0be5cc: 8d180480 */ lw $t8,0x480($t0) +/* f0be5d0: 8f0e0000 */ lw $t6,0x0($t8) +/* f0be5d4: c5ca0008 */ lwc1 $f10,0x8($t6) +/* f0be5d8: e7aa0308 */ swc1 $f10,0x308($sp) +/* f0be5dc: 8d0f0480 */ lw $t7,0x480($t0) +/* f0be5e0: 8de90000 */ lw $t1,0x0($t7) +/* f0be5e4: c532000c */ lwc1 $f18,0xc($t1) +/* f0be5e8: e7b2030c */ swc1 $f18,0x30c($sp) +/* f0be5ec: 8d190480 */ lw $t9,0x480($t0) +/* f0be5f0: 8f2a0000 */ lw $t2,0x0($t9) +/* f0be5f4: c5440010 */ lwc1 $f4,0x10($t2) +/* f0be5f8: 0fc2e3ec */ jal 0xf0b8fb0 +/* f0be5fc: e7a40310 */ swc1 $f4,0x310($sp) +/* f0be600: 00002025 */ move $a0,$zero +/* f0be604: 00002825 */ move $a1,$zero +/* f0be608: 00003025 */ move $a2,$zero +/* f0be60c: 0fc3303a */ jal 0xf0cc0e8 +/* f0be610: 24070001 */ li $a3,0x1 +/* f0be614: 0fc3072a */ jal 0xf0c1ca8 +/* f0be618: 24040002 */ li $a0,0x2 +/* f0be61c: 8e6b0284 */ lw $t3,0x284($s3) +/* f0be620: 27a40308 */ addiu $a0,$sp,0x308 +/* f0be624: 8d620480 */ lw $v0,0x480($t3) +/* f0be628: 24450010 */ addiu $a1,$v0,0x10 +/* f0be62c: 0fc30814 */ jal 0xf0c2050 +/* f0be630: 24460004 */ addiu $a2,$v0,0x4 +/* f0be634: 100005d6 */ b .PB0f0bfd90 +/* f0be638: 00000000 */ nop +/* f0be63c: 910d1bfc */ lbu $t5,0x1bfc($t0) +.PB0f0be640: +/* f0be640: 24020003 */ li $v0,0x3 +/* f0be644: 544d0011 */ bnel $v0,$t5,.PB0f0be68c +/* f0be648: 950e0010 */ lhu $t6,0x10($t0) +/* f0be64c: 0fc2e3ec */ jal 0xf0b8fb0 +/* f0be650: 00000000 */ nop +/* f0be654: 8e6c0284 */ lw $t4,0x284($s3) +/* f0be658: 3c01800a */ lui $at,0x800a +/* f0be65c: 00002025 */ move $a0,$zero +/* f0be660: 95981c00 */ lhu $t8,0x1c00($t4) +/* f0be664: 00002825 */ move $a1,$zero +/* f0be668: 00003025 */ move $a2,$zero +/* f0be66c: 24070001 */ li $a3,0x1 +/* f0be670: 0fc3303a */ jal 0xf0cc0e8 +/* f0be674: a4382318 */ sh $t8,0x2318($at) +/* f0be678: 0fc2e833 */ jal 0xf0ba0cc +/* f0be67c: 00000000 */ nop +/* f0be680: 100005c3 */ b .PB0f0bfd90 +/* f0be684: 00000000 */ nop +/* f0be688: 950e0010 */ lhu $t6,0x10($t0) +.PB0f0be68c: +/* f0be68c: 24010002 */ li $at,0x2 +/* f0be690: 27af02fc */ addiu $t7,$sp,0x2fc +/* f0be694: 15c10241 */ bne $t6,$at,.PB0f0bef9c +/* f0be698: 3c098007 */ lui $t1,0x8007 +/* f0be69c: 252926a0 */ addiu $t1,$t1,0x26a0 +/* f0be6a0: 8d210000 */ lw $at,0x0($t1) +/* f0be6a4: 8d2a0004 */ lw $t2,0x4($t1) +/* f0be6a8: 3c0d8007 */ lui $t5,0x8007 +/* f0be6ac: ade10000 */ sw $at,0x0($t7) +/* f0be6b0: 8d210008 */ lw $at,0x8($t1) +/* f0be6b4: 25ad26ac */ addiu $t5,$t5,0x26ac +/* f0be6b8: adea0004 */ sw $t2,0x4($t7) +/* f0be6bc: ade10008 */ sw $at,0x8($t7) +/* f0be6c0: 8da10000 */ lw $at,0x0($t5) +/* f0be6c4: 27ab02f0 */ addiu $t3,$sp,0x2f0 +/* f0be6c8: 8db80004 */ lw $t8,0x4($t5) +/* f0be6cc: ad610000 */ sw $at,0x0($t3) +/* f0be6d0: 8da10008 */ lw $at,0x8($t5) +/* f0be6d4: 3c198007 */ lui $t9,0x8007 +/* f0be6d8: 273926b8 */ addiu $t9,$t9,0x26b8 +/* f0be6dc: ad780004 */ sw $t8,0x4($t3) +/* f0be6e0: ad610008 */ sw $at,0x8($t3) +/* f0be6e4: 8f210000 */ lw $at,0x0($t9) +/* f0be6e8: 27ae02e4 */ addiu $t6,$sp,0x2e4 +/* f0be6ec: 8f290004 */ lw $t1,0x4($t9) +/* f0be6f0: adc10000 */ sw $at,0x0($t6) +/* f0be6f4: 8f210008 */ lw $at,0x8($t9) +/* f0be6f8: adc90004 */ sw $t1,0x4($t6) +/* f0be6fc: 24040001 */ li $a0,0x1 +/* f0be700: adc10008 */ sw $at,0x8($t6) +/* f0be704: afa002e0 */ sw $zero,0x2e0($sp) +/* f0be708: 0fc3072a */ jal 0xf0c1ca8 +/* f0be70c: 8d110264 */ lw $s1,0x264($t0) +/* f0be710: 0fc2e3ec */ jal 0xf0b8fb0 +/* f0be714: 00000000 */ nop +/* f0be718: 00002025 */ move $a0,$zero +/* f0be71c: 00002825 */ move $a1,$zero +/* f0be720: 00003025 */ move $a2,$zero +/* f0be724: 0fc3303a */ jal 0xf0cc0e8 +/* f0be728: 24070001 */ li $a3,0x1 +/* f0be72c: 0fc2f60c */ jal 0xf0bd830 +/* f0be730: 00000000 */ nop +/* f0be734: 522001fc */ beqzl $s1,.PB0f0bef28 +/* f0be738: 8fa902e0 */ lw $t1,0x2e0($sp) +/* f0be73c: 8e2a0014 */ lw $t2,0x14($s1) +/* f0be740: 514001f9 */ beqzl $t2,.PB0f0bef28 +/* f0be744: 8fa902e0 */ lw $t1,0x2e0($sp) +/* f0be748: c622001c */ lwc1 $f2,0x1c($s1) +/* f0be74c: c62e0028 */ lwc1 $f14,0x28($s1) +/* f0be750: c6200034 */ lwc1 $f0,0x34($s1) +/* f0be754: 46021182 */ mul.s $f6,$f2,$f2 +/* f0be758: 00000000 */ nop +/* f0be75c: 460e7202 */ mul.s $f8,$f14,$f14 +/* f0be760: 46083280 */ add.s $f10,$f6,$f8 +/* f0be764: 46000482 */ mul.s $f18,$f0,$f0 +/* f0be768: 0c012ae4 */ jal 0x4ab90 +/* f0be76c: 460a9300 */ add.s $f12,$f18,$f10 +/* f0be770: e7a002a8 */ swc1 $f0,0x2a8($sp) +/* f0be774: c624001c */ lwc1 $f4,0x1c($s1) +/* f0be778: 27b8024e */ addiu $t8,$sp,0x24e +/* f0be77c: 00008025 */ move $s0,$zero +/* f0be780: 46002183 */ div.s $f6,$f4,$f0 +/* f0be784: 27a402fc */ addiu $a0,$sp,0x2fc +/* f0be788: 27a5027c */ addiu $a1,$sp,0x27c +/* f0be78c: 27a60250 */ addiu $a2,$sp,0x250 +/* f0be790: 24070014 */ li $a3,0x14 +/* f0be794: e7a602b8 */ swc1 $f6,0x2b8($sp) +/* f0be798: c6280020 */ lwc1 $f8,0x20($s1) +/* f0be79c: 46004483 */ div.s $f18,$f8,$f0 +/* f0be7a0: e7b202bc */ swc1 $f18,0x2bc($sp) +/* f0be7a4: c62a0024 */ lwc1 $f10,0x24($s1) +/* f0be7a8: 46005103 */ div.s $f4,$f10,$f0 +/* f0be7ac: e7a402c0 */ swc1 $f4,0x2c0($sp) +/* f0be7b0: c6260028 */ lwc1 $f6,0x28($s1) +/* f0be7b4: 46003203 */ div.s $f8,$f6,$f0 +/* f0be7b8: e7a802c4 */ swc1 $f8,0x2c4($sp) +/* f0be7bc: c632002c */ lwc1 $f18,0x2c($s1) +/* f0be7c0: 46009283 */ div.s $f10,$f18,$f0 +/* f0be7c4: e7aa02c8 */ swc1 $f10,0x2c8($sp) +/* f0be7c8: c6240030 */ lwc1 $f4,0x30($s1) +/* f0be7cc: 46002183 */ div.s $f6,$f4,$f0 +/* f0be7d0: e7a602cc */ swc1 $f6,0x2cc($sp) +/* f0be7d4: c6280034 */ lwc1 $f8,0x34($s1) +/* f0be7d8: 46004483 */ div.s $f18,$f8,$f0 +/* f0be7dc: e7b202d0 */ swc1 $f18,0x2d0($sp) +/* f0be7e0: c62a0038 */ lwc1 $f10,0x38($s1) +/* f0be7e4: 46005103 */ div.s $f4,$f10,$f0 +/* f0be7e8: e7a402d4 */ swc1 $f4,0x2d4($sp) +/* f0be7ec: c626003c */ lwc1 $f6,0x3c($s1) +/* f0be7f0: 46003203 */ div.s $f8,$f6,$f0 +/* f0be7f4: e7a802d8 */ swc1 $f8,0x2d8($sp) +/* f0be7f8: 8e2c0014 */ lw $t4,0x14($s1) +/* f0be7fc: c5920008 */ lwc1 $f18,0x8($t4) +/* f0be800: e7b202fc */ swc1 $f18,0x2fc($sp) +/* f0be804: 8e2b0014 */ lw $t3,0x14($s1) +/* f0be808: c56a000c */ lwc1 $f10,0xc($t3) +/* f0be80c: e7aa0300 */ swc1 $f10,0x300($sp) +/* f0be810: 8e2d0014 */ lw $t5,0x14($s1) +/* f0be814: c5a40010 */ lwc1 $f4,0x10($t5) +/* f0be818: afb80010 */ sw $t8,0x10($sp) +/* f0be81c: 0fc58e01 */ jal 0xf163804 +/* f0be820: e7a40304 */ swc1 $f4,0x304($sp) +/* f0be824: 87af027c */ lh $t7,0x27c($sp) +/* f0be828: 2401ffff */ li $at,-1 +/* f0be82c: 27a402b8 */ addiu $a0,$sp,0x2b8 +/* f0be830: 15e10002 */ bne $t7,$at,.PB0f0be83c +/* f0be834: 00000000 */ nop +/* f0be838: 24100001 */ li $s0,0x1 +.PB0f0be83c: +/* f0be83c: 5200000f */ beqzl $s0,.PB0f0be87c +/* f0be840: 8e680284 */ lw $t0,0x284($s3) +/* f0be844: 8e680284 */ lw $t0,0x284($s3) +/* f0be848: 8e790038 */ lw $t9,0x38($s3) +/* f0be84c: 240c0003 */ li $t4,0x3 +/* f0be850: 8d0e00c8 */ lw $t6,0xc8($t0) +/* f0be854: 01d94821 */ addu $t1,$t6,$t9 +/* f0be858: ad0900c8 */ sw $t1,0xc8($t0) +/* f0be85c: 8e680284 */ lw $t0,0x284($s3) +/* f0be860: 8d0a00c8 */ lw $t2,0xc8($t0) +/* f0be864: 29410065 */ slti $at,$t2,0x65 +/* f0be868: 1420000f */ bnez $at,.PB0f0be8a8 +/* f0be86c: 00000000 */ nop +/* f0be870: 1000000d */ b .PB0f0be8a8 +/* f0be874: a50c0010 */ sh $t4,0x10($t0) +/* f0be878: 8e680284 */ lw $t0,0x284($s3) +.PB0f0be87c: +/* f0be87c: 8d0200c8 */ lw $v0,0xc8($t0) +/* f0be880: 18400009 */ blez $v0,.PB0f0be8a8 +/* f0be884: 00000000 */ nop +/* f0be888: 8e6b0038 */ lw $t3,0x38($s3) +/* f0be88c: 004b6823 */ subu $t5,$v0,$t3 +/* f0be890: ad0d00c8 */ sw $t5,0xc8($t0) +/* f0be894: 8e680284 */ lw $t0,0x284($s3) +/* f0be898: 8d1800c8 */ lw $t8,0xc8($t0) +/* f0be89c: 07010002 */ bgez $t8,.PB0f0be8a8 +/* f0be8a0: 00000000 */ nop +/* f0be8a4: ad0000c8 */ sw $zero,0xc8($t0) +.PB0f0be8a8: +/* f0be8a8: 0c005b16 */ jal 0x16c58 +/* f0be8ac: 27a502f0 */ addiu $a1,$sp,0x2f0 +/* f0be8b0: 27a402b8 */ addiu $a0,$sp,0x2b8 +/* f0be8b4: 0c005b16 */ jal 0x16c58 +/* f0be8b8: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f0be8bc: 8e2f0040 */ lw $t7,0x40($s1) +/* f0be8c0: 31ee0080 */ andi $t6,$t7,0x80 +/* f0be8c4: 51c00198 */ beqzl $t6,.PB0f0bef28 +/* f0be8c8: 8fa902e0 */ lw $t1,0x2e0($sp) +/* f0be8cc: 8e790288 */ lw $t9,0x288($s3) +/* f0be8d0: 8e340048 */ lw $s4,0x48($s1) +/* f0be8d4: 0fc54eb0 */ jal 0xf153ac0 +/* f0be8d8: 8f240070 */ lw $a0,0x70($t9) +/* f0be8dc: 8e690288 */ lw $t1,0x288($s3) +/* f0be8e0: 00408025 */ move $s0,$v0 +/* f0be8e4: 0fc54ebe */ jal 0xf153af8 +/* f0be8e8: 8d240070 */ lw $a0,0x70($t1) +/* f0be8ec: 8e6c0288 */ lw $t4,0x288($s3) +/* f0be8f0: 00029600 */ sll $s2,$v0,0x18 +/* f0be8f4: 00125603 */ sra $t2,$s2,0x18 +/* f0be8f8: 01409025 */ move $s2,$t2 +/* f0be8fc: 0fc54ec5 */ jal 0xf153b14 +/* f0be900: 8d840070 */ lw $a0,0x70($t4) +/* f0be904: 0002ae00 */ sll $s5,$v0,0x18 +/* f0be908: 00155e03 */ sra $t3,$s5,0x18 +/* f0be90c: 24010006 */ li $at,0x6 +/* f0be910: 0160a825 */ move $s5,$t3 +/* f0be914: a3a0023d */ sb $zero,0x23d($sp) +/* f0be918: a3a0023c */ sb $zero,0x23c($sp) +/* f0be91c: afa00118 */ sw $zero,0x118($sp) +/* f0be920: afa00114 */ sw $zero,0x114($sp) +/* f0be924: 12010008 */ beq $s0,$at,.PB0f0be948 +/* f0be928: afa00110 */ sw $zero,0x110($sp) +/* f0be92c: 24010007 */ li $at,0x7 +/* f0be930: 12010005 */ beq $s0,$at,.PB0f0be948 +/* f0be934: 24010005 */ li $at,0x5 +/* f0be938: 12010003 */ beq $s0,$at,.PB0f0be948 +/* f0be93c: 24010004 */ li $at,0x4 +/* f0be940: 56010062 */ bnel $s0,$at,.PB0f0beacc +/* f0be944: 8e6e028c */ lw $t6,0x28c($s3) +.PB0f0be948: +/* f0be948: 8e6d028c */ lw $t5,0x28c($s3) +/* f0be94c: 3c0f8007 */ lui $t7,0x8007 +/* f0be950: 24010004 */ li $at,0x4 +/* f0be954: 000dc080 */ sll $t8,$t5,0x2 +/* f0be958: 01f87821 */ addu $t7,$t7,$t8 +/* f0be95c: 8def2420 */ lw $t7,0x2420($t7) +/* f0be960: 240b0001 */ li $t3,0x1 +/* f0be964: 51e00049 */ beqzl $t7,.PB0f0bea8c +/* f0be968: afab0114 */ sw $t3,0x114($sp) +/* f0be96c: 12010004 */ beq $s0,$at,.PB0f0be980 +/* f0be970: 00122600 */ sll $a0,$s2,0x18 +/* f0be974: 24010005 */ li $at,0x5 +/* f0be978: 1601001d */ bne $s0,$at,.PB0f0be9f0 +/* f0be97c: 3405c000 */ li $a1,0xc000 +.PB0f0be980: +/* f0be980: 00047603 */ sra $t6,$a0,0x18 +/* f0be984: 01c02025 */ move $a0,$t6 +/* f0be988: 0c00566a */ jal 0x159a8 +/* f0be98c: 3405c000 */ li $a1,0xc000 +/* f0be990: 1440000c */ bnez $v0,.PB0f0be9c4 +/* f0be994: 00152600 */ sll $a0,$s5,0x18 +/* f0be998: 0004ce03 */ sra $t9,$a0,0x18 +/* f0be99c: 03202025 */ move $a0,$t9 +/* f0be9a0: 0c00566a */ jal 0x159a8 +/* f0be9a4: 3405c000 */ li $a1,0xc000 +/* f0be9a8: 14400006 */ bnez $v0,.PB0f0be9c4 +/* f0be9ac: 00152600 */ sll $a0,$s5,0x18 +/* f0be9b0: 00044e03 */ sra $t1,$a0,0x18 +/* f0be9b4: 01202025 */ move $a0,$t1 +/* f0be9b8: 0c00566a */ jal 0x159a8 +/* f0be9bc: 24052000 */ li $a1,0x2000 +/* f0be9c0: 10400002 */ beqz $v0,.PB0f0be9cc +.PB0f0be9c4: +/* f0be9c4: 240a0001 */ li $t2,0x1 +/* f0be9c8: afaa0114 */ sw $t2,0x114($sp) +.PB0f0be9cc: +/* f0be9cc: 00122600 */ sll $a0,$s2,0x18 +/* f0be9d0: 00046603 */ sra $t4,$a0,0x18 +/* f0be9d4: 01802025 */ move $a0,$t4 +/* f0be9d8: 0c00569a */ jal 0x15a68 +/* f0be9dc: 24052000 */ li $a1,0x2000 +/* f0be9e0: 1040001e */ beqz $v0,.PB0f0bea5c +/* f0be9e4: 240b0001 */ li $t3,0x1 +/* f0be9e8: 1000001c */ b .PB0f0bea5c +/* f0be9ec: afab0118 */ sw $t3,0x118($sp) +.PB0f0be9f0: +/* f0be9f0: 00122600 */ sll $a0,$s2,0x18 +/* f0be9f4: 00046e03 */ sra $t5,$a0,0x18 +/* f0be9f8: 0c00566a */ jal 0x159a8 +/* f0be9fc: 01a02025 */ move $a0,$t5 +/* f0bea00: 1440000c */ bnez $v0,.PB0f0bea34 +/* f0bea04: 00152600 */ sll $a0,$s5,0x18 +/* f0bea08: 0004c603 */ sra $t8,$a0,0x18 +/* f0bea0c: 03002025 */ move $a0,$t8 +/* f0bea10: 0c00566a */ jal 0x159a8 +/* f0bea14: 3405c000 */ li $a1,0xc000 +/* f0bea18: 14400006 */ bnez $v0,.PB0f0bea34 +/* f0bea1c: 00122600 */ sll $a0,$s2,0x18 +/* f0bea20: 00047e03 */ sra $t7,$a0,0x18 +/* f0bea24: 01e02025 */ move $a0,$t7 +/* f0bea28: 0c00566a */ jal 0x159a8 +/* f0bea2c: 24052000 */ li $a1,0x2000 +/* f0bea30: 10400002 */ beqz $v0,.PB0f0bea3c +.PB0f0bea34: +/* f0bea34: 240e0001 */ li $t6,0x1 +/* f0bea38: afae0114 */ sw $t6,0x114($sp) +.PB0f0bea3c: +/* f0bea3c: 00152600 */ sll $a0,$s5,0x18 +/* f0bea40: 0004ce03 */ sra $t9,$a0,0x18 +/* f0bea44: 03202025 */ move $a0,$t9 +/* f0bea48: 0c00569a */ jal 0x15a68 +/* f0bea4c: 24052000 */ li $a1,0x2000 +/* f0bea50: 10400002 */ beqz $v0,.PB0f0bea5c +/* f0bea54: 24090001 */ li $t1,0x1 +/* f0bea58: afa90118 */ sw $t1,0x118($sp) +.PB0f0bea5c: +/* f0bea5c: 00122600 */ sll $a0,$s2,0x18 +/* f0bea60: 00045603 */ sra $t2,$a0,0x18 +/* f0bea64: 0c005616 */ jal 0x15858 +/* f0bea68: 01402025 */ move $a0,$t2 +/* f0bea6c: 00122600 */ sll $a0,$s2,0x18 +/* f0bea70: 00046603 */ sra $t4,$a0,0x18 +/* f0bea74: a3a2023d */ sb $v0,0x23d($sp) +/* f0bea78: 0c005640 */ jal 0x15900 +/* f0bea7c: 01802025 */ move $a0,$t4 +/* f0bea80: 10000002 */ b .PB0f0bea8c +/* f0bea84: a3a2023c */ sb $v0,0x23c($sp) +/* f0bea88: afab0114 */ sw $t3,0x114($sp) +.PB0f0bea8c: +/* f0bea8c: 00122600 */ sll $a0,$s2,0x18 +/* f0bea90: 00046e03 */ sra $t5,$a0,0x18 +/* f0bea94: 01a02025 */ move $a0,$t5 +/* f0bea98: 0c00566a */ jal 0x159a8 +/* f0bea9c: 24051000 */ li $a1,0x1000 +/* f0beaa0: 14400006 */ bnez $v0,.PB0f0beabc +/* f0beaa4: 00152600 */ sll $a0,$s5,0x18 +/* f0beaa8: 0004c603 */ sra $t8,$a0,0x18 +/* f0beaac: 03002025 */ move $a0,$t8 +/* f0beab0: 0c00566a */ jal 0x159a8 +/* f0beab4: 24051000 */ li $a1,0x1000 +/* f0beab8: 10400044 */ beqz $v0,.PB0f0bebcc +.PB0f0beabc: +/* f0beabc: 240f0001 */ li $t7,0x1 +/* f0beac0: 10000042 */ b .PB0f0bebcc +/* f0beac4: afaf0110 */ sw $t7,0x110($sp) +/* f0beac8: 8e6e028c */ lw $t6,0x28c($s3) +.PB0f0beacc: +/* f0beacc: 3c098007 */ lui $t1,0x8007 +/* f0bead0: 24010002 */ li $at,0x2 +/* f0bead4: 000ec880 */ sll $t9,$t6,0x2 +/* f0bead8: 01394821 */ addu $t1,$t1,$t9 +/* f0beadc: 8d292420 */ lw $t1,0x2420($t1) +/* f0beae0: 240c0001 */ li $t4,0x1 +/* f0beae4: 51200031 */ beqzl $t1,.PB0f0bebac +/* f0beae8: afac0114 */ sw $t4,0x114($sp) +/* f0beaec: 12010004 */ beq $s0,$at,.PB0f0beb00 +/* f0beaf0: 00122600 */ sll $a0,$s2,0x18 +/* f0beaf4: 24010003 */ li $at,0x3 +/* f0beaf8: 16010011 */ bne $s0,$at,.PB0f0beb40 +/* f0beafc: 24052000 */ li $a1,0x2000 +.PB0f0beb00: +/* f0beb00: 00045603 */ sra $t2,$a0,0x18 +/* f0beb04: 01402025 */ move $a0,$t2 +/* f0beb08: 0c00569a */ jal 0x15a68 +/* f0beb0c: 34058000 */ li $a1,0x8000 +/* f0beb10: 10400003 */ beqz $v0,.PB0f0beb20 +/* f0beb14: 00122600 */ sll $a0,$s2,0x18 +/* f0beb18: 240c0001 */ li $t4,0x1 +/* f0beb1c: afac0118 */ sw $t4,0x118($sp) +.PB0f0beb20: +/* f0beb20: 00045e03 */ sra $t3,$a0,0x18 +/* f0beb24: 01602025 */ move $a0,$t3 +/* f0beb28: 0c00566a */ jal 0x159a8 +/* f0beb2c: 24056030 */ li $a1,0x6030 +/* f0beb30: 10400012 */ beqz $v0,.PB0f0beb7c +/* f0beb34: 240d0001 */ li $t5,0x1 +/* f0beb38: 10000010 */ b .PB0f0beb7c +/* f0beb3c: afad0114 */ sw $t5,0x114($sp) +.PB0f0beb40: +/* f0beb40: 00122600 */ sll $a0,$s2,0x18 +/* f0beb44: 0004c603 */ sra $t8,$a0,0x18 +/* f0beb48: 0c00569a */ jal 0x15a68 +/* f0beb4c: 03002025 */ move $a0,$t8 +/* f0beb50: 10400003 */ beqz $v0,.PB0f0beb60 +/* f0beb54: 00122600 */ sll $a0,$s2,0x18 +/* f0beb58: 240f0001 */ li $t7,0x1 +/* f0beb5c: afaf0118 */ sw $t7,0x118($sp) +.PB0f0beb60: +/* f0beb60: 00047603 */ sra $t6,$a0,0x18 +/* f0beb64: 01c02025 */ move $a0,$t6 +/* f0beb68: 0c00566a */ jal 0x159a8 +/* f0beb6c: 3405c030 */ li $a1,0xc030 +/* f0beb70: 10400002 */ beqz $v0,.PB0f0beb7c +/* f0beb74: 24190001 */ li $t9,0x1 +/* f0beb78: afb90114 */ sw $t9,0x114($sp) +.PB0f0beb7c: +/* f0beb7c: 00122600 */ sll $a0,$s2,0x18 +/* f0beb80: 00044e03 */ sra $t1,$a0,0x18 +/* f0beb84: 0c005616 */ jal 0x15858 +/* f0beb88: 01202025 */ move $a0,$t1 +/* f0beb8c: 00122600 */ sll $a0,$s2,0x18 +/* f0beb90: 00045603 */ sra $t2,$a0,0x18 +/* f0beb94: a3a2023d */ sb $v0,0x23d($sp) +/* f0beb98: 0c005640 */ jal 0x15900 +/* f0beb9c: 01402025 */ move $a0,$t2 +/* f0beba0: 10000002 */ b .PB0f0bebac +/* f0beba4: a3a2023c */ sb $v0,0x23c($sp) +/* f0beba8: afac0114 */ sw $t4,0x114($sp) +.PB0f0bebac: +/* f0bebac: 00122600 */ sll $a0,$s2,0x18 +/* f0bebb0: 00045e03 */ sra $t3,$a0,0x18 +/* f0bebb4: 01602025 */ move $a0,$t3 +/* f0bebb8: 0c00566a */ jal 0x159a8 +/* f0bebbc: 24051000 */ li $a1,0x1000 +/* f0bebc0: 10400002 */ beqz $v0,.PB0f0bebcc +/* f0bebc4: 240d0001 */ li $t5,0x1 +/* f0bebc8: afad0110 */ sw $t5,0x110($sp) +.PB0f0bebcc: +/* f0bebcc: 8fb80110 */ lw $t8,0x110($sp) +/* f0bebd0: 5300000b */ beqzl $t8,.PB0f0bec00 +/* f0bebd4: 83b9023c */ lb $t9,0x23c($sp) +/* f0bebd8: 8e6f0314 */ lw $t7,0x314($s3) +/* f0bebdc: 15e00005 */ bnez $t7,.PB0f0bebf4 +/* f0bebe0: 00000000 */ nop +/* f0bebe4: 0fc2ecd7 */ jal 0xf0bb35c +/* f0bebe8: 24040002 */ li $a0,0x2 +/* f0bebec: 10000004 */ b .PB0f0bec00 +/* f0bebf0: 83b9023c */ lb $t9,0x23c($sp) +.PB0f0bebf4: +/* f0bebf4: 0fc5ea40 */ jal 0xf17a900 +/* f0bebf8: 00000000 */ nop +/* f0bebfc: 83b9023c */ lb $t9,0x23c($sp) +.PB0f0bec00: +/* f0bec00: c660004c */ lwc1 $f0,0x4c($s3) +/* f0bec04: 83a9023d */ lb $t1,0x23d($sp) +/* f0bec08: 44993000 */ mtc1 $t9,$f6 +/* f0bec0c: 3c017f1b */ lui $at,0x7f1b +/* f0bec10: 00095023 */ negu $t2,$t1 +/* f0bec14: 46803220 */ cvt.s.w $f8,$f6 +/* f0bec18: 448a5000 */ mtc1 $t2,$f10 +/* f0bec1c: c430f398 */ lwc1 $f16,-0xc68($at) +/* f0bec20: c7ae02c0 */ lwc1 $f14,0x2c0($sp) +/* f0bec24: c7a202b8 */ lwc1 $f2,0x2b8($sp) +/* f0bec28: 46805120 */ cvt.s.w $f4,$f10 +/* f0bec2c: 46004482 */ mul.s $f18,$f8,$f0 +/* f0bec30: 240e0001 */ li $t6,0x1 +/* f0bec34: afae02e0 */ sw $t6,0x2e0($sp) +/* f0bec38: e7ae02b4 */ swc1 $f14,0x2b4($sp) +/* f0bec3c: e7a202ac */ swc1 $f2,0x2ac($sp) +/* f0bec40: 46109582 */ mul.s $f22,$f18,$f16 +/* f0bec44: 00000000 */ nop +/* f0bec48: 46002182 */ mul.s $f6,$f4,$f0 +/* f0bec4c: 00000000 */ nop +/* f0bec50: 46103202 */ mul.s $f8,$f6,$f16 +/* f0bec54: 00000000 */ nop +/* f0bec58: 460e7482 */ mul.s $f18,$f14,$f14 +/* f0bec5c: 00000000 */ nop +/* f0bec60: 46021282 */ mul.s $f10,$f2,$f2 +/* f0bec64: e7a80174 */ swc1 $f8,0x174($sp) +/* f0bec68: 0c012ae4 */ jal 0x4ab90 +/* f0bec6c: 460a9300 */ add.s $f12,$f18,$f10 +/* f0bec70: c7a202ac */ lwc1 $f2,0x2ac($sp) +/* f0bec74: c7ae02b4 */ lwc1 $f14,0x2b4($sp) +/* f0bec78: 4600b306 */ mov.s $f12,$f22 +/* f0bec7c: 46001083 */ div.s $f2,$f2,$f0 +/* f0bec80: 46007383 */ div.s $f14,$f14,$f0 +/* f0bec84: e7a202ac */ swc1 $f2,0x2ac($sp) +/* f0bec88: 0c006b8b */ jal 0x1ae2c +/* f0bec8c: e7ae02b4 */ swc1 $f14,0x2b4($sp) +/* f0bec90: 46000506 */ mov.s $f20,$f0 +/* f0bec94: 0c006b88 */ jal 0x1ae20 +/* f0bec98: 4600b306 */ mov.s $f12,$f22 +/* f0bec9c: c7a202ac */ lwc1 $f2,0x2ac($sp) +/* f0beca0: c7ae02b4 */ lwc1 $f14,0x2b4($sp) +/* f0beca4: 44803000 */ mtc1 $zero,$f6 +/* f0beca8: 46141102 */ mul.s $f4,$f2,$f20 +/* f0becac: e7a0014c */ swc1 $f0,0x14c($sp) +/* f0becb0: c7ac0174 */ lwc1 $f12,0x174($sp) +/* f0becb4: 46147202 */ mul.s $f8,$f14,$f20 +/* f0becb8: e7a60154 */ swc1 $f6,0x154($sp) +/* f0becbc: e7a40150 */ swc1 $f4,0x150($sp) +/* f0becc0: 0c006b8b */ jal 0x1ae2c +/* f0becc4: e7a80158 */ swc1 $f8,0x158($sp) +/* f0becc8: 46000506 */ mov.s $f20,$f0 +/* f0beccc: 0c006b88 */ jal 0x1ae20 +/* f0becd0: c7ac0174 */ lwc1 $f12,0x174($sp) +/* f0becd4: 44801000 */ mtc1 $zero,$f2 +/* f0becd8: c7b202c8 */ lwc1 $f18,0x2c8($sp) +/* f0becdc: 27b5013c */ addiu $s5,$sp,0x13c +/* f0bece0: e7a0015c */ swc1 $f0,0x15c($sp) +/* f0bece4: 4612103e */ c.le.s $f2,$f18 +/* f0bece8: 02a03025 */ move $a2,$s5 +/* f0becec: 27a4015c */ addiu $a0,$sp,0x15c +/* f0becf0: 27a5014c */ addiu $a1,$sp,0x14c +/* f0becf4: 45000003 */ bc1f .PB0f0bed04 +/* f0becf8: e7a20160 */ swc1 $f2,0x160($sp) +/* f0becfc: 10000003 */ b .PB0f0bed0c +/* f0bed00: e7b40164 */ swc1 $f20,0x164($sp) +.PB0f0bed04: +/* f0bed04: 4600a287 */ neg.s $f10,$f20 +/* f0bed08: e7aa0164 */ swc1 $f10,0x164($sp) +.PB0f0bed0c: +/* f0bed0c: 0fc25d6a */ jal 0xf0975a8 +/* f0bed10: e7a20168 */ swc1 $f2,0x168($sp) +/* f0bed14: 27b001fc */ addiu $s0,$sp,0x1fc +/* f0bed18: 02002825 */ move $a1,$s0 +/* f0bed1c: 0fc25b51 */ jal 0xf096d44 +/* f0bed20: 02a02025 */ move $a0,$s5 +/* f0bed24: 02002025 */ move $a0,$s0 +/* f0bed28: 0c005958 */ jal 0x16560 +/* f0bed2c: 26850004 */ addiu $a1,$s4,0x4 +/* f0bed30: 8e8b0000 */ lw $t3,0x0($s4) +/* f0bed34: 44808000 */ mtc1 $zero,$f16 +/* f0bed38: 240cffff */ li $t4,-1 +/* f0bed3c: 356d4000 */ ori $t5,$t3,0x4000 +/* f0bed40: 31af0080 */ andi $t7,$t5,0x80 +/* f0bed44: a68c00b2 */ sh $t4,0xb2($s4) +/* f0bed48: ae8d0000 */ sw $t5,0x0($s4) +/* f0bed4c: e6900018 */ swc1 $f16,0x18($s4) +/* f0bed50: e6900014 */ swc1 $f16,0x14($s4) +/* f0bed54: 15e00002 */ bnez $t7,.PB0f0bed60 +/* f0bed58: e6900010 */ swc1 $f16,0x10($s4) +/* f0bed5c: ae800088 */ sw $zero,0x88($s4) +.PB0f0bed60: +/* f0bed60: 8fae0118 */ lw $t6,0x118($sp) +/* f0bed64: 51c00003 */ beqzl $t6,.PB0f0bed74 +/* f0bed68: c6820004 */ lwc1 $f2,0x4($s4) +/* f0bed6c: a6200062 */ sh $zero,0x62($s1) +/* f0bed70: c6820004 */ lwc1 $f2,0x4($s4) +.PB0f0bed74: +/* f0bed74: c68e0008 */ lwc1 $f14,0x8($s4) +/* f0bed78: c680000c */ lwc1 $f0,0xc($s4) +/* f0bed7c: 46021102 */ mul.s $f4,$f2,$f2 +/* f0bed80: 00000000 */ nop +/* f0bed84: 460e7182 */ mul.s $f6,$f14,$f14 +/* f0bed88: 46062200 */ add.s $f8,$f4,$f6 +/* f0bed8c: 46000482 */ mul.s $f18,$f0,$f0 +/* f0bed90: 0c012ae4 */ jal 0x4ab90 +/* f0bed94: 46089300 */ add.s $f12,$f18,$f8 +/* f0bed98: 8fb90114 */ lw $t9,0x114($sp) +/* f0bed9c: 46000386 */ mov.s $f14,$f0 +/* f0beda0: 3c014140 */ lui $at,0x4140 +/* f0beda4: 53200006 */ beqzl $t9,.PB0f0bedc0 +/* f0beda8: 44816000 */ mtc1 $at,$f12 +/* f0bedac: 3c013f80 */ lui $at,0x3f80 +/* f0bedb0: 44816000 */ mtc1 $at,$f12 +/* f0bedb4: 10000004 */ b .PB0f0bedc8 +/* f0bedb8: 460c003c */ c.lt.s $f0,$f12 +/* f0bedbc: 44816000 */ mtc1 $at,$f12 +.PB0f0bedc0: +/* f0bedc0: 00000000 */ nop +/* f0bedc4: 460c003c */ c.lt.s $f0,$f12 +.PB0f0bedc8: +/* f0bedc8: 46000086 */ mov.s $f2,$f0 +/* f0bedcc: 3c017f1b */ lui $at,0x7f1b +/* f0bedd0: 4502000c */ bc1fl .PB0f0bee04 +/* f0bedd4: 4600603c */ c.lt.s $f12,$f0 +/* f0bedd8: c42af39c */ lwc1 $f10,-0xc64($at) +/* f0beddc: c664004c */ lwc1 $f4,0x4c($s3) +/* f0bede0: 46045182 */ mul.s $f6,$f10,$f4 +/* f0bede4: 46003080 */ add.s $f2,$f6,$f0 +/* f0bede8: 4602603c */ c.lt.s $f12,$f2 +/* f0bedec: 00000000 */ nop +/* f0bedf0: 45020011 */ bc1fl .PB0f0bee38 +/* f0bedf4: c6840004 */ lwc1 $f4,0x4($s4) +/* f0bedf8: 1000000e */ b .PB0f0bee34 +/* f0bedfc: 46006086 */ mov.s $f2,$f12 +/* f0bee00: 4600603c */ c.lt.s $f12,$f0 +.PB0f0bee04: +/* f0bee04: 3c017f1b */ lui $at,0x7f1b +/* f0bee08: 4502000b */ bc1fl .PB0f0bee38 +/* f0bee0c: c6840004 */ lwc1 $f4,0x4($s4) +/* f0bee10: c432f3a0 */ lwc1 $f18,-0xc60($at) +/* f0bee14: c668004c */ lwc1 $f8,0x4c($s3) +/* f0bee18: 46089282 */ mul.s $f10,$f18,$f8 +/* f0bee1c: 460a0081 */ sub.s $f2,$f0,$f10 +/* f0bee20: 460c103c */ c.lt.s $f2,$f12 +/* f0bee24: 00000000 */ nop +/* f0bee28: 45020003 */ bc1fl .PB0f0bee38 +/* f0bee2c: c6840004 */ lwc1 $f4,0x4($s4) +/* f0bee30: 46006086 */ mov.s $f2,$f12 +.PB0f0bee34: +/* f0bee34: c6840004 */ lwc1 $f4,0x4($s4) +.PB0f0bee38: +/* f0bee38: c6880008 */ lwc1 $f8,0x8($s4) +/* f0bee3c: 27b001bc */ addiu $s0,$sp,0x1bc +/* f0bee40: 46022182 */ mul.s $f6,$f4,$f2 +/* f0bee44: 02002825 */ move $a1,$s0 +/* f0bee48: 27a402b8 */ addiu $a0,$sp,0x2b8 +/* f0bee4c: 46024282 */ mul.s $f10,$f8,$f2 +/* f0bee50: 460e3483 */ div.s $f18,$f6,$f14 +/* f0bee54: c686000c */ lwc1 $f6,0xc($s4) +/* f0bee58: 460e5103 */ div.s $f4,$f10,$f14 +/* f0bee5c: e6920004 */ swc1 $f18,0x4($s4) +/* f0bee60: 46023482 */ mul.s $f18,$f6,$f2 +/* f0bee64: 460e9203 */ div.s $f8,$f18,$f14 +/* f0bee68: e6840008 */ swc1 $f4,0x8($s4) +/* f0bee6c: 0c0059e9 */ jal 0x167a4 +/* f0bee70: e688000c */ swc1 $f8,0xc($s4) +/* f0bee74: 27b2012c */ addiu $s2,$sp,0x12c +/* f0bee78: 02402825 */ move $a1,$s2 +/* f0bee7c: 0fc25bad */ jal 0xf096eb4 +/* f0bee80: 02002025 */ move $a0,$s0 +/* f0bee84: 27b0011c */ addiu $s0,$sp,0x11c +/* f0bee88: 02003025 */ move $a2,$s0 +/* f0bee8c: 02a02025 */ move $a0,$s5 +/* f0bee90: 0fc25d6a */ jal 0xf0975a8 +/* f0bee94: 02402825 */ move $a1,$s2 +/* f0bee98: 27b2017c */ addiu $s2,$sp,0x17c +/* f0bee9c: 02402825 */ move $a1,$s2 +/* f0beea0: 0fc25b51 */ jal 0xf096d44 +/* f0beea4: 02002025 */ move $a0,$s0 +/* f0beea8: 02402025 */ move $a0,$s2 +/* f0beeac: 0c0059fc */ jal 0x167f0 +/* f0beeb0: 27a502b8 */ addiu $a1,$sp,0x2b8 +/* f0beeb4: c7a002a8 */ lwc1 $f0,0x2a8($sp) +/* f0beeb8: c7aa02b8 */ lwc1 $f10,0x2b8($sp) +/* f0beebc: 46005102 */ mul.s $f4,$f10,$f0 +/* f0beec0: e624001c */ swc1 $f4,0x1c($s1) +/* f0beec4: c7a602bc */ lwc1 $f6,0x2bc($sp) +/* f0beec8: 46003482 */ mul.s $f18,$f6,$f0 +/* f0beecc: e6320020 */ swc1 $f18,0x20($s1) +/* f0beed0: c7a802c0 */ lwc1 $f8,0x2c0($sp) +/* f0beed4: 46004282 */ mul.s $f10,$f8,$f0 +/* f0beed8: e62a0024 */ swc1 $f10,0x24($s1) +/* f0beedc: c7a402c4 */ lwc1 $f4,0x2c4($sp) +/* f0beee0: 46002182 */ mul.s $f6,$f4,$f0 +/* f0beee4: e6260028 */ swc1 $f6,0x28($s1) +/* f0beee8: c7b202c8 */ lwc1 $f18,0x2c8($sp) +/* f0beeec: 46009202 */ mul.s $f8,$f18,$f0 +/* f0beef0: e628002c */ swc1 $f8,0x2c($s1) +/* f0beef4: c7aa02cc */ lwc1 $f10,0x2cc($sp) +/* f0beef8: 46005102 */ mul.s $f4,$f10,$f0 +/* f0beefc: e6240030 */ swc1 $f4,0x30($s1) +/* f0bef00: c7a602d0 */ lwc1 $f6,0x2d0($sp) +/* f0bef04: 46003482 */ mul.s $f18,$f6,$f0 +/* f0bef08: e6320034 */ swc1 $f18,0x34($s1) +/* f0bef0c: c7a802d4 */ lwc1 $f8,0x2d4($sp) +/* f0bef10: 46004282 */ mul.s $f10,$f8,$f0 +/* f0bef14: e62a0038 */ swc1 $f10,0x38($s1) +/* f0bef18: c7a402d8 */ lwc1 $f4,0x2d8($sp) +/* f0bef1c: 46002182 */ mul.s $f6,$f4,$f0 +/* f0bef20: e626003c */ swc1 $f6,0x3c($s1) +/* f0bef24: 8fa902e0 */ lw $t1,0x2e0($sp) +.PB0f0bef28: +/* f0bef28: 27a402fc */ addiu $a0,$sp,0x2fc +/* f0bef2c: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f0bef30: 15200006 */ bnez $t1,.PB0f0bef4c +/* f0bef34: 27a602f0 */ addiu $a2,$sp,0x2f0 +/* f0bef38: 8e6a0284 */ lw $t2,0x284($s3) +/* f0bef3c: 240c0003 */ li $t4,0x3 +/* f0bef40: ad400264 */ sw $zero,0x264($t2) +/* f0bef44: 8e6b0284 */ lw $t3,0x284($s3) +/* f0bef48: a56c0010 */ sh $t4,0x10($t3) +.PB0f0bef4c: +/* f0bef4c: 8e780284 */ lw $t8,0x284($s3) +/* f0bef50: 240d0001 */ li $t5,0x1 +/* f0bef54: 1220000c */ beqz $s1,.PB0f0bef88 +/* f0bef58: af0d0274 */ sw $t5,0x274($t8) +/* f0bef5c: 8e220014 */ lw $v0,0x14($s1) +/* f0bef60: 10400009 */ beqz $v0,.PB0f0bef88 +/* f0bef64: 24470008 */ addiu $a3,$v0,0x8 +/* f0bef68: 244f0028 */ addiu $t7,$v0,0x28 +/* f0bef6c: afaf0010 */ sw $t7,0x10($sp) +/* f0bef70: 27a402fc */ addiu $a0,$sp,0x2fc +/* f0bef74: 27a502e4 */ addiu $a1,$sp,0x2e4 +/* f0bef78: 0fc3072e */ jal 0xf0c1cb8 +/* f0bef7c: 27a602f0 */ addiu $a2,$sp,0x2f0 +/* f0bef80: 10000383 */ b .PB0f0bfd90 +/* f0bef84: 00000000 */ nop +.PB0f0bef88: +/* f0bef88: 00003825 */ move $a3,$zero +/* f0bef8c: 0fc3072e */ jal 0xf0c1cb8 +/* f0bef90: afa00010 */ sw $zero,0x10($sp) +/* f0bef94: 1000037e */ b .PB0f0bfd90 +/* f0bef98: 00000000 */ nop +.PB0f0bef9c: +/* f0bef9c: 24010001 */ li $at,0x1 +/* f0befa0: 14610261 */ bne $v1,$at,.PB0f0bf928 +/* f0befa4: 00000000 */ nop +/* f0befa8: 0fc2e652 */ jal 0xf0b9948 +/* f0befac: 00000000 */ nop +/* f0befb0: 8e6e028c */ lw $t6,0x28c($s3) +/* f0befb4: 3c098007 */ lui $t1,0x8007 +/* f0befb8: 00003825 */ move $a3,$zero +/* f0befbc: 000ec880 */ sll $t9,$t6,0x2 +/* f0befc0: 01394821 */ addu $t1,$t1,$t9 +/* f0befc4: 8d292420 */ lw $t1,0x2420($t1) +/* f0befc8: 00002025 */ move $a0,$zero +/* f0befcc: 00002825 */ move $a1,$zero +/* f0befd0: 11200007 */ beqz $t1,.PB0f0beff0 +/* f0befd4: 00003025 */ move $a2,$zero +/* f0befd8: 24040001 */ li $a0,0x1 +/* f0befdc: 24050001 */ li $a1,0x1 +/* f0befe0: 0fc3303a */ jal 0xf0cc0e8 +/* f0befe4: 8fa60330 */ lw $a2,0x330($sp) +/* f0befe8: 10000003 */ b .PB0f0beff8 +/* f0befec: 00000000 */ nop +.PB0f0beff0: +/* f0beff0: 0fc3303a */ jal 0xf0cc0e8 +/* f0beff4: 24070001 */ li $a3,0x1 +.PB0f0beff8: +/* f0beff8: 0fc2f60c */ jal 0xf0bd830 +/* f0beffc: 00000000 */ nop +/* f0bf000: 0fc3072a */ jal 0xf0c1ca8 +/* f0bf004: 00002025 */ move $a0,$zero +/* f0bf008: 8e680284 */ lw $t0,0x284($s3) +/* f0bf00c: 44802000 */ mtc1 $zero,$f4 +/* f0bf010: 27a400f4 */ addiu $a0,$sp,0xf4 +/* f0bf014: c512037c */ lwc1 $f18,0x37c($t0) +/* f0bf018: 25050394 */ addiu $a1,$t0,0x394 +/* f0bf01c: 25060388 */ addiu $a2,$t0,0x388 +/* f0bf020: e7b200f4 */ swc1 $f18,0xf4($sp) +/* f0bf024: c5080380 */ lwc1 $f8,0x380($t0) +/* f0bf028: c7a600f4 */ lwc1 $f6,0xf4($sp) +/* f0bf02c: e7a800f8 */ swc1 $f8,0xf8($sp) +/* f0bf030: 46062480 */ add.s $f18,$f4,$f6 +/* f0bf034: c50a0384 */ lwc1 $f10,0x384($t0) +/* f0bf038: 44804000 */ mtc1 $zero,$f8 +/* f0bf03c: 44803000 */ mtc1 $zero,$f6 +/* f0bf040: e7aa00fc */ swc1 $f10,0xfc($sp) +/* f0bf044: c7aa00f8 */ lwc1 $f10,0xf8($sp) +/* f0bf048: e7b200f4 */ swc1 $f18,0xf4($sp) +/* f0bf04c: c7b200fc */ lwc1 $f18,0xfc($sp) +/* f0bf050: 460a4100 */ add.s $f4,$f8,$f10 +/* f0bf054: 46123200 */ add.s $f8,$f6,$f18 +/* f0bf058: e7a400f8 */ swc1 $f4,0xf8($sp) +/* f0bf05c: e7a800fc */ swc1 $f8,0xfc($sp) +/* f0bf060: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf064: 246a0028 */ addiu $t2,$v1,0x28 +/* f0bf068: afaa0010 */ sw $t2,0x10($sp) +/* f0bf06c: 0fc3072e */ jal 0xf0c1cb8 +/* f0bf070: 24670008 */ addiu $a3,$v1,0x8 +/* f0bf074: 8e6c0318 */ lw $t4,0x318($s3) +/* f0bf078: 3c0b800a */ lui $t3,0x800a +/* f0bf07c: 15800344 */ bnez $t4,.PB0f0bfd90 +/* f0bf080: 00000000 */ nop +/* f0bf084: 816d251b */ lb $t5,0x251b($t3) +/* f0bf088: 05a10341 */ bgez $t5,.PB0f0bfd90 +/* f0bf08c: 00000000 */ nop +/* f0bf090: 8e620474 */ lw $v0,0x474($s3) +/* f0bf094: 1840033e */ blez $v0,.PB0f0bfd90 +/* f0bf098: 00000000 */ nop +/* f0bf09c: 8e780478 */ lw $t8,0x478($s3) +/* f0bf0a0: 1700033b */ bnez $t8,.PB0f0bfd90 +/* f0bf0a4: 00000000 */ nop +/* f0bf0a8: 8e6f04b4 */ lw $t7,0x4b4($s3) +/* f0bf0ac: 24010026 */ li $at,0x26 +/* f0bf0b0: 11e10337 */ beq $t7,$at,.PB0f0bfd90 +/* f0bf0b4: 00000000 */ nop +/* f0bf0b8: 8e6e000c */ lw $t6,0xc($s3) +/* f0bf0bc: 24190001 */ li $t9,0x1 +/* f0bf0c0: 29c10015 */ slti $at,$t6,0x15 +/* f0bf0c4: 14200332 */ bnez $at,.PB0f0bfd90 +/* f0bf0c8: 00000000 */ nop +/* f0bf0cc: ae790478 */ sw $t9,0x478($s3) +/* f0bf0d0: 1840032f */ blez $v0,.PB0f0bfd90 +/* f0bf0d4: afa000e8 */ sw $zero,0xe8($sp) +/* f0bf0d8: 3c0141a0 */ lui $at,0x41a0 +/* f0bf0dc: 4481b000 */ mtc1 $at,$f22 +/* f0bf0e0: 3c09800a */ lui $t1,0x800a +/* f0bf0e4: 2529e4d0 */ addiu $t1,$t1,-6960 +/* f0bf0e8: 3c017f1b */ lui $at,0x7f1b +/* f0bf0ec: c434f3a4 */ lwc1 $f20,-0xc5c($at) +/* f0bf0f0: afa90058 */ sw $t1,0x58($sp) +/* f0bf0f4: 24140013 */ li $s4,0x13 +/* f0bf0f8: 24120064 */ li $s2,0x64 +.PB0f0bf0fc: +/* f0bf0fc: 3c0a800a */ lui $t2,0x800a +/* f0bf100: 8d4a6700 */ lw $t2,0x6700($t2) +/* f0bf104: 3c0103c0 */ lui $at,0x3c0 +/* f0bf108: 00008825 */ move $s1,$zero +/* f0bf10c: 01416024 */ and $t4,$t2,$at +/* f0bf110: 15800078 */ bnez $t4,.PB0f0bf2f4 +/* f0bf114: 00000000 */ nop +/* f0bf118: 0fc59b21 */ jal 0xf166c84 +/* f0bf11c: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf120: 14540015 */ bne $v0,$s4,.PB0f0bf178 +/* f0bf124: 00000000 */ nop +/* f0bf128: 0c0063c8 */ jal 0x18f20 +/* f0bf12c: 24040012 */ li $a0,0x12 +/* f0bf130: 8e680284 */ lw $t0,0x284($s3) +/* f0bf134: 3c014000 */ lui $at,0x4000 +/* f0bf138: 44812000 */ mtc1 $at,$f4 +/* f0bf13c: c50a0144 */ lwc1 $f10,0x144($t0) +/* f0bf140: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf144: 240b0010 */ li $t3,0x10 +/* f0bf148: 46045183 */ div.s $f6,$f10,$f4 +/* f0bf14c: afab0018 */ sw $t3,0x18($sp) +/* f0bf150: afa20014 */ sw $v0,0x14($sp) +/* f0bf154: 24040056 */ li $a0,0x56 +/* f0bf158: 2405003e */ li $a1,0x3e +/* f0bf15c: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf160: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf164: 46143482 */ mul.s $f18,$f6,$f20 +/* f0bf168: 0fc12d06 */ jal 0xf04b418 +/* f0bf16c: e7b20010 */ swc1 $f18,0x10($sp) +/* f0bf170: 1000002a */ b .PB0f0bf21c +/* f0bf174: 00408825 */ move $s1,$v0 +.PB0f0bf178: +/* f0bf178: 0fc59b21 */ jal 0xf166c84 +/* f0bf17c: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf180: 24010023 */ li $at,0x23 +/* f0bf184: 14410012 */ bne $v0,$at,.PB0f0bf1d0 +/* f0bf188: 00000000 */ nop +/* f0bf18c: 0c0063c8 */ jal 0x18f20 +/* f0bf190: 24040012 */ li $a0,0x12 +/* f0bf194: 8e680284 */ lw $t0,0x284($s3) +/* f0bf198: 240d0010 */ li $t5,0x10 +/* f0bf19c: 2404005b */ li $a0,0x5b +/* f0bf1a0: c5080144 */ lwc1 $f8,0x144($t0) +/* f0bf1a4: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf1a8: afad0018 */ sw $t5,0x18($sp) +/* f0bf1ac: 46144282 */ mul.s $f10,$f8,$f20 +/* f0bf1b0: afa20014 */ sw $v0,0x14($sp) +/* f0bf1b4: 24050008 */ li $a1,0x8 +/* f0bf1b8: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf1bc: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf1c0: 0fc12d06 */ jal 0xf04b418 +/* f0bf1c4: e7aa0010 */ swc1 $f10,0x10($sp) +/* f0bf1c8: 10000014 */ b .PB0f0bf21c +/* f0bf1cc: 00408825 */ move $s1,$v0 +.PB0f0bf1d0: +/* f0bf1d0: 0c0063c8 */ jal 0x18f20 +/* f0bf1d4: 24040012 */ li $a0,0x12 +/* f0bf1d8: 8e680284 */ lw $t0,0x284($s3) +/* f0bf1dc: 3c014000 */ lui $at,0x4000 +/* f0bf1e0: 44813000 */ mtc1 $at,$f6 +/* f0bf1e4: c5040144 */ lwc1 $f4,0x144($t0) +/* f0bf1e8: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf1ec: 24180010 */ li $t8,0x10 +/* f0bf1f0: 46062483 */ div.s $f18,$f4,$f6 +/* f0bf1f4: afb80018 */ sw $t8,0x18($sp) +/* f0bf1f8: afa20014 */ sw $v0,0x14($sp) +/* f0bf1fc: 24040056 */ li $a0,0x56 +/* f0bf200: 2405003e */ li $a1,0x3e +/* f0bf204: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf208: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf20c: 46149202 */ mul.s $f8,$f18,$f20 +/* f0bf210: 0fc12d06 */ jal 0xf04b418 +/* f0bf214: e7a80010 */ swc1 $f8,0x10($sp) +/* f0bf218: 00408825 */ move $s1,$v0 +.PB0f0bf21c: +/* f0bf21c: 10400035 */ beqz $v0,.PB0f0bf2f4 +/* f0bf220: 3c014030 */ lui $at,0x4030 +/* f0bf224: 8e300004 */ lw $s0,0x4($s1) +/* f0bf228: 240a0010 */ li $t2,0x10 +/* f0bf22c: 240d0003 */ li $t5,0x3 +/* f0bf230: 8e190118 */ lw $t9,0x118($s0) +/* f0bf234: 8e0f0114 */ lw $t7,0x114($s0) +/* f0bf238: 8e0c0014 */ lw $t4,0x14($s0) +/* f0bf23c: 03214825 */ or $t1,$t9,$at +/* f0bf240: 3c018000 */ lui $at,0x8000 +/* f0bf244: 24180032 */ li $t8,0x32 +/* f0bf248: 35ee2000 */ ori $t6,$t7,0x2000 +/* f0bf24c: 01815825 */ or $t3,$t4,$at +/* f0bf250: ae0e0114 */ sw $t6,0x114($s0) +/* f0bf254: ae090118 */ sw $t1,0x118($s0) +/* f0bf258: a20a0125 */ sb $t2,0x125($s0) +/* f0bf25c: a21502a2 */ sb $s5,0x2a2($s0) +/* f0bf260: ae0b0014 */ sw $t3,0x14($s0) +/* f0bf264: a20d02b1 */ sb $t5,0x2b1($s0) +/* f0bf268: a21802e2 */ sb $t8,0x2e2($s0) +/* f0bf26c: a2120002 */ sb $s2,0x2($s0) +/* f0bf270: a2120003 */ sb $s2,0x3($s0) +/* f0bf274: 0fc59b21 */ jal 0xf166c84 +/* f0bf278: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf27c: 14540005 */ bne $v0,$s4,.PB0f0bf294 +/* f0bf280: 02002025 */ move $a0,$s0 +/* f0bf284: 0fc08196 */ jal 0xf020658 +/* f0bf288: 3c054220 */ lui $a1,0x4220 +/* f0bf28c: 10000005 */ b .PB0f0bf2a4 +/* f0bf290: 02002025 */ move $a0,$s0 +.PB0f0bf294: +/* f0bf294: 4405b000 */ mfc1 $a1,$f22 +/* f0bf298: 0fc08196 */ jal 0xf020658 +/* f0bf29c: 02002025 */ move $a0,$s0 +/* f0bf2a0: 02002025 */ move $a0,$s0 +.PB0f0bf2a4: +/* f0bf2a4: 0fc08191 */ jal 0xf020644 +/* f0bf2a8: 3c054080 */ lui $a1,0x4080 +/* f0bf2ac: 8e0f0018 */ lw $t7,0x18($s0) +/* f0bf2b0: 920c02e1 */ lbu $t4,0x2e1($s0) +/* f0bf2b4: 8e190014 */ lw $t9,0x14($s0) +/* f0bf2b8: 3c010004 */ lui $at,0x4 +/* f0bf2bc: 01e17025 */ or $t6,$t7,$at +/* f0bf2c0: 358d0001 */ ori $t5,$t4,0x1 +/* f0bf2c4: 3c012000 */ lui $at,0x2000 +/* f0bf2c8: a20d02e1 */ sb $t5,0x2e1($s0) +/* f0bf2cc: 31b80001 */ andi $t8,$t5,0x1 +/* f0bf2d0: 03214825 */ or $t1,$t9,$at +/* f0bf2d4: ae0e0018 */ sw $t6,0x18($s0) +/* f0bf2d8: ae090014 */ sw $t1,0x14($s0) +/* f0bf2dc: a21802e1 */ sb $t8,0x2e1($s0) +/* f0bf2e0: 02002025 */ move $a0,$s0 +/* f0bf2e4: 240500f5 */ li $a1,0xf5 +/* f0bf2e8: 24060002 */ li $a2,0x2 +/* f0bf2ec: 0fc22e53 */ jal 0xf08b94c +/* f0bf2f0: 00003825 */ move $a3,$zero +.PB0f0bf2f4: +/* f0bf2f4: 0fc41d39 */ jal 0xf1074e4 +/* f0bf2f8: 24040016 */ li $a0,0x16 +/* f0bf2fc: 10400058 */ beqz $v0,.PB0f0bf460 +/* f0bf300: 00000000 */ nop +/* f0bf304: 0fc59b21 */ jal 0xf166c84 +/* f0bf308: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf30c: 24010023 */ li $at,0x23 +/* f0bf310: 14410012 */ bne $v0,$at,.PB0f0bf35c +/* f0bf314: 00000000 */ nop +/* f0bf318: 0c0063c8 */ jal 0x18f20 +/* f0bf31c: 24040012 */ li $a0,0x12 +/* f0bf320: 8e680284 */ lw $t0,0x284($s3) +/* f0bf324: 240f0010 */ li $t7,0x10 +/* f0bf328: 2404005b */ li $a0,0x5b +/* f0bf32c: c50a0144 */ lwc1 $f10,0x144($t0) +/* f0bf330: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf334: afaf0018 */ sw $t7,0x18($sp) +/* f0bf338: 46145102 */ mul.s $f4,$f10,$f20 +/* f0bf33c: afa20014 */ sw $v0,0x14($sp) +/* f0bf340: 24050008 */ li $a1,0x8 +/* f0bf344: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf348: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf34c: 0fc12d06 */ jal 0xf04b418 +/* f0bf350: e7a40010 */ swc1 $f4,0x10($sp) +/* f0bf354: 10000011 */ b .PB0f0bf39c +/* f0bf358: 00408825 */ move $s1,$v0 +.PB0f0bf35c: +/* f0bf35c: 0c0063c8 */ jal 0x18f20 +/* f0bf360: 02802025 */ move $a0,$s4 +/* f0bf364: 8e680284 */ lw $t0,0x284($s3) +/* f0bf368: 240e0010 */ li $t6,0x10 +/* f0bf36c: 2404005a */ li $a0,0x5a +/* f0bf370: c5060144 */ lwc1 $f6,0x144($t0) +/* f0bf374: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf378: afae0018 */ sw $t6,0x18($sp) +/* f0bf37c: 46143482 */ mul.s $f18,$f6,$f20 +/* f0bf380: afa20014 */ sw $v0,0x14($sp) +/* f0bf384: 2405001b */ li $a1,0x1b +/* f0bf388: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf38c: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf390: 0fc12d06 */ jal 0xf04b418 +/* f0bf394: e7b20010 */ swc1 $f18,0x10($sp) +/* f0bf398: 00408825 */ move $s1,$v0 +.PB0f0bf39c: +/* f0bf39c: 10400030 */ beqz $v0,.PB0f0bf460 +/* f0bf3a0: 3c014030 */ lui $at,0x4030 +/* f0bf3a4: 8e300004 */ lw $s0,0x4($s1) +/* f0bf3a8: 34210081 */ ori $at,$at,0x81 +/* f0bf3ac: 240b0010 */ li $t3,0x10 +/* f0bf3b0: 8e0a0118 */ lw $t2,0x118($s0) +/* f0bf3b4: 8e190114 */ lw $t9,0x114($s0) +/* f0bf3b8: 8e180014 */ lw $t8,0x14($s0) +/* f0bf3bc: 01416025 */ or $t4,$t2,$at +/* f0bf3c0: 3c018000 */ lui $at,0x8000 +/* f0bf3c4: 240d0064 */ li $t5,0x64 +/* f0bf3c8: 37292080 */ ori $t1,$t9,0x2080 +/* f0bf3cc: 03017825 */ or $t7,$t8,$at +/* f0bf3d0: ae090114 */ sw $t1,0x114($s0) +/* f0bf3d4: ae0c0118 */ sw $t4,0x118($s0) +/* f0bf3d8: a20b0125 */ sb $t3,0x125($s0) +/* f0bf3dc: a21502a2 */ sb $s5,0x2a2($s0) +/* f0bf3e0: a20d02e2 */ sb $t5,0x2e2($s0) +/* f0bf3e4: ae0f0014 */ sw $t7,0x14($s0) +/* f0bf3e8: a21502b1 */ sb $s5,0x2b1($s0) +/* f0bf3ec: a2120002 */ sb $s2,0x2($s0) +/* f0bf3f0: a2120003 */ sb $s2,0x3($s0) +/* f0bf3f4: 0fc59b21 */ jal 0xf166c84 +/* f0bf3f8: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf3fc: 14540005 */ bne $v0,$s4,.PB0f0bf414 +/* f0bf400: 02002025 */ move $a0,$s0 +/* f0bf404: 0fc08196 */ jal 0xf020658 +/* f0bf408: 3c054220 */ lui $a1,0x4220 +/* f0bf40c: 10000005 */ b .PB0f0bf424 +/* f0bf410: 8e0e0018 */ lw $t6,0x18($s0) +.PB0f0bf414: +/* f0bf414: 4405b000 */ mfc1 $a1,$f22 +/* f0bf418: 0fc08196 */ jal 0xf020658 +/* f0bf41c: 02002025 */ move $a0,$s0 +/* f0bf420: 8e0e0018 */ lw $t6,0x18($s0) +.PB0f0bf424: +/* f0bf424: 920b02e1 */ lbu $t3,0x2e1($s0) +/* f0bf428: 8e090014 */ lw $t1,0x14($s0) +/* f0bf42c: 3c010004 */ lui $at,0x4 +/* f0bf430: 01c1c825 */ or $t9,$t6,$at +/* f0bf434: 35780001 */ ori $t8,$t3,0x1 +/* f0bf438: 3c012000 */ lui $at,0x2000 +/* f0bf43c: a21802e1 */ sb $t8,0x2e1($s0) +/* f0bf440: 330f0001 */ andi $t7,$t8,0x1 +/* f0bf444: 4405b000 */ mfc1 $a1,$f22 +/* f0bf448: 01215025 */ or $t2,$t1,$at +/* f0bf44c: ae190018 */ sw $t9,0x18($s0) +/* f0bf450: ae0a0014 */ sw $t2,0x14($s0) +/* f0bf454: a20f02e1 */ sb $t7,0x2e1($s0) +/* f0bf458: 0fc08191 */ jal 0xf020644 +/* f0bf45c: 02002025 */ move $a0,$s0 +.PB0f0bf460: +/* f0bf460: 0fc41d39 */ jal 0xf1074e4 +/* f0bf464: 24040018 */ li $a0,0x18 +/* f0bf468: 1040005e */ beqz $v0,.PB0f0bf5e4 +/* f0bf46c: 00000000 */ nop +/* f0bf470: 0fc59b21 */ jal 0xf166c84 +/* f0bf474: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf478: 24010023 */ li $at,0x23 +/* f0bf47c: 14410012 */ bne $v0,$at,.PB0f0bf4c8 +/* f0bf480: 00000000 */ nop +/* f0bf484: 0c0063c8 */ jal 0x18f20 +/* f0bf488: 24040012 */ li $a0,0x12 +/* f0bf48c: 8e680284 */ lw $t0,0x284($s3) +/* f0bf490: 240e0010 */ li $t6,0x10 +/* f0bf494: 2404005b */ li $a0,0x5b +/* f0bf498: c5080144 */ lwc1 $f8,0x144($t0) +/* f0bf49c: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf4a0: afae0018 */ sw $t6,0x18($sp) +/* f0bf4a4: 46144282 */ mul.s $f10,$f8,$f20 +/* f0bf4a8: afa20014 */ sw $v0,0x14($sp) +/* f0bf4ac: 24050008 */ li $a1,0x8 +/* f0bf4b0: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf4b4: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf4b8: 0fc12d06 */ jal 0xf04b418 +/* f0bf4bc: e7aa0010 */ swc1 $f10,0x10($sp) +/* f0bf4c0: 10000011 */ b .PB0f0bf508 +/* f0bf4c4: 00408825 */ move $s1,$v0 +.PB0f0bf4c8: +/* f0bf4c8: 0c0063c8 */ jal 0x18f20 +/* f0bf4cc: 24040012 */ li $a0,0x12 +/* f0bf4d0: 8e680284 */ lw $t0,0x284($s3) +/* f0bf4d4: 24190010 */ li $t9,0x10 +/* f0bf4d8: 2404005b */ li $a0,0x5b +/* f0bf4dc: c5040144 */ lwc1 $f4,0x144($t0) +/* f0bf4e0: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf4e4: afb90018 */ sw $t9,0x18($sp) +/* f0bf4e8: 46142182 */ mul.s $f6,$f4,$f20 +/* f0bf4ec: afa20014 */ sw $v0,0x14($sp) +/* f0bf4f0: 24050012 */ li $a1,0x12 +/* f0bf4f4: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf4f8: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf4fc: 0fc12d06 */ jal 0xf04b418 +/* f0bf500: e7a60010 */ swc1 $f6,0x10($sp) +/* f0bf504: 00408825 */ move $s1,$v0 +.PB0f0bf508: +/* f0bf508: 10400036 */ beqz $v0,.PB0f0bf5e4 +/* f0bf50c: 3c018030 */ lui $at,0x8030 +/* f0bf510: 8e300004 */ lw $s0,0x4($s1) +/* f0bf514: 240d0010 */ li $t5,0x10 +/* f0bf518: 240e0002 */ li $t6,0x2 +/* f0bf51c: 8e0c0118 */ lw $t4,0x118($s0) +/* f0bf520: 8e090114 */ lw $t1,0x114($s0) +/* f0bf524: 8e180014 */ lw $t8,0x14($s0) +/* f0bf528: 01815825 */ or $t3,$t4,$at +/* f0bf52c: 3c018000 */ lui $at,0x8000 +/* f0bf530: 352a2000 */ ori $t2,$t1,0x2000 +/* f0bf534: 24190032 */ li $t9,0x32 +/* f0bf538: 24090032 */ li $t1,0x32 +/* f0bf53c: 03017825 */ or $t7,$t8,$at +/* f0bf540: ae0a0114 */ sw $t2,0x114($s0) +/* f0bf544: ae0b0118 */ sw $t3,0x118($s0) +/* f0bf548: a20d0125 */ sb $t5,0x125($s0) +/* f0bf54c: a21502a2 */ sb $s5,0x2a2($s0) +/* f0bf550: ae0f0014 */ sw $t7,0x14($s0) +/* f0bf554: a20e02b1 */ sb $t6,0x2b1($s0) +/* f0bf558: a21902e2 */ sb $t9,0x2e2($s0) +/* f0bf55c: a2090002 */ sb $t1,0x2($s0) +/* f0bf560: a2120003 */ sb $s2,0x3($s0) +/* f0bf564: 0fc59b21 */ jal 0xf166c84 +/* f0bf568: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf56c: 14540006 */ bne $v0,$s4,.PB0f0bf588 +/* f0bf570: 02002025 */ move $a0,$s0 +/* f0bf574: 4405b000 */ mfc1 $a1,$f22 +/* f0bf578: 0fc08196 */ jal 0xf020658 +/* f0bf57c: 02002025 */ move $a0,$s0 +/* f0bf580: 10000004 */ b .PB0f0bf594 +/* f0bf584: 02002025 */ move $a0,$s0 +.PB0f0bf588: +/* f0bf588: 0fc08196 */ jal 0xf020658 +/* f0bf58c: 3c054120 */ lui $a1,0x4120 +/* f0bf590: 02002025 */ move $a0,$s0 +.PB0f0bf594: +/* f0bf594: 0fc08191 */ jal 0xf020644 +/* f0bf598: 3c054120 */ lui $a1,0x4120 +/* f0bf59c: 8e0a0018 */ lw $t2,0x18($s0) +/* f0bf5a0: 920f02e1 */ lbu $t7,0x2e1($s0) +/* f0bf5a4: 8e0b0014 */ lw $t3,0x14($s0) +/* f0bf5a8: 3c010004 */ lui $at,0x4 +/* f0bf5ac: 01416025 */ or $t4,$t2,$at +/* f0bf5b0: 35f90001 */ ori $t9,$t7,0x1 +/* f0bf5b4: 3c012000 */ lui $at,0x2000 +/* f0bf5b8: a21902e1 */ sb $t9,0x2e1($s0) +/* f0bf5bc: 33290001 */ andi $t1,$t9,0x1 +/* f0bf5c0: 01616825 */ or $t5,$t3,$at +/* f0bf5c4: ae0c0018 */ sw $t4,0x18($s0) +/* f0bf5c8: ae0d0014 */ sw $t5,0x14($s0) +/* f0bf5cc: a20902e1 */ sb $t1,0x2e1($s0) +/* f0bf5d0: 02002025 */ move $a0,$s0 +/* f0bf5d4: 24050101 */ li $a1,0x101 +/* f0bf5d8: 24060010 */ li $a2,0x10 +/* f0bf5dc: 0fc22e53 */ jal 0xf08b94c +/* f0bf5e0: 00003825 */ move $a3,$zero +.PB0f0bf5e4: +/* f0bf5e4: 0fc41d39 */ jal 0xf1074e4 +/* f0bf5e8: 24040017 */ li $a0,0x17 +/* f0bf5ec: 10400062 */ beqz $v0,.PB0f0bf778 +/* f0bf5f0: 00000000 */ nop +/* f0bf5f4: 0fc59b21 */ jal 0xf166c84 +/* f0bf5f8: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf5fc: 24010023 */ li $at,0x23 +/* f0bf600: 14410012 */ bne $v0,$at,.PB0f0bf64c +/* f0bf604: 00000000 */ nop +/* f0bf608: 0c0063c8 */ jal 0x18f20 +/* f0bf60c: 24040012 */ li $a0,0x12 +/* f0bf610: 8e680284 */ lw $t0,0x284($s3) +/* f0bf614: 240a0010 */ li $t2,0x10 +/* f0bf618: 2404005b */ li $a0,0x5b +/* f0bf61c: c5120144 */ lwc1 $f18,0x144($t0) +/* f0bf620: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf624: afaa0018 */ sw $t2,0x18($sp) +/* f0bf628: 46149202 */ mul.s $f8,$f18,$f20 +/* f0bf62c: afa20014 */ sw $v0,0x14($sp) +/* f0bf630: 24050008 */ li $a1,0x8 +/* f0bf634: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf638: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf63c: 0fc12d06 */ jal 0xf04b418 +/* f0bf640: e7a80010 */ swc1 $f8,0x10($sp) +/* f0bf644: 10000011 */ b .PB0f0bf68c +/* f0bf648: 00408825 */ move $s1,$v0 +.PB0f0bf64c: +/* f0bf64c: 0c0063c8 */ jal 0x18f20 +/* f0bf650: 24040012 */ li $a0,0x12 +/* f0bf654: 8e680284 */ lw $t0,0x284($s3) +/* f0bf658: 240c0010 */ li $t4,0x10 +/* f0bf65c: 24040092 */ li $a0,0x92 +/* f0bf660: c50a0144 */ lwc1 $f10,0x144($t0) +/* f0bf664: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf668: afac0018 */ sw $t4,0x18($sp) +/* f0bf66c: 46145102 */ mul.s $f4,$f10,$f20 +/* f0bf670: afa20014 */ sw $v0,0x14($sp) +/* f0bf674: 02802825 */ move $a1,$s4 +/* f0bf678: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf67c: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf680: 0fc12d06 */ jal 0xf04b418 +/* f0bf684: e7a40010 */ swc1 $f4,0x10($sp) +/* f0bf688: 00408825 */ move $s1,$v0 +.PB0f0bf68c: +/* f0bf68c: 1040003a */ beqz $v0,.PB0f0bf778 +/* f0bf690: 3c014030 */ lui $at,0x4030 +/* f0bf694: 8e300004 */ lw $s0,0x4($s1) +/* f0bf698: 240e0010 */ li $t6,0x10 +/* f0bf69c: 240a0064 */ li $t2,0x64 +/* f0bf6a0: 8e180118 */ lw $t8,0x118($s0) +/* f0bf6a4: 8e0b0114 */ lw $t3,0x114($s0) +/* f0bf6a8: 8e190014 */ lw $t9,0x14($s0) +/* f0bf6ac: 03017825 */ or $t7,$t8,$at +/* f0bf6b0: 3c018000 */ lui $at,0x8000 +/* f0bf6b4: 240c0032 */ li $t4,0x32 +/* f0bf6b8: 356d2000 */ ori $t5,$t3,0x2000 +/* f0bf6bc: 03214825 */ or $t1,$t9,$at +/* f0bf6c0: ae0d0114 */ sw $t5,0x114($s0) +/* f0bf6c4: ae0f0118 */ sw $t7,0x118($s0) +/* f0bf6c8: a20e0125 */ sb $t6,0x125($s0) +/* f0bf6cc: a21502a2 */ sb $s5,0x2a2($s0) +/* f0bf6d0: ae090014 */ sw $t1,0x14($s0) +/* f0bf6d4: a20002b1 */ sb $zero,0x2b1($s0) +/* f0bf6d8: a20a02e2 */ sb $t2,0x2e2($s0) +/* f0bf6dc: a20c0002 */ sb $t4,0x2($s0) +/* f0bf6e0: a2120003 */ sb $s2,0x3($s0) +/* f0bf6e4: 0fc59b21 */ jal 0xf166c84 +/* f0bf6e8: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf6ec: 14540005 */ bne $v0,$s4,.PB0f0bf704 +/* f0bf6f0: 02002025 */ move $a0,$s0 +/* f0bf6f4: 0fc08196 */ jal 0xf020658 +/* f0bf6f8: 3c054220 */ lui $a1,0x4220 +/* f0bf6fc: 10000005 */ b .PB0f0bf714 +/* f0bf700: 02002025 */ move $a0,$s0 +.PB0f0bf704: +/* f0bf704: 4405b000 */ mfc1 $a1,$f22 +/* f0bf708: 0fc08196 */ jal 0xf020658 +/* f0bf70c: 02002025 */ move $a0,$s0 +/* f0bf710: 02002025 */ move $a0,$s0 +.PB0f0bf714: +/* f0bf714: 0fc08191 */ jal 0xf020644 +/* f0bf718: 3c054120 */ lui $a1,0x4120 +/* f0bf71c: 8e0b0018 */ lw $t3,0x18($s0) +/* f0bf720: 921902e1 */ lbu $t9,0x2e1($s0) +/* f0bf724: 8e180014 */ lw $t8,0x14($s0) +/* f0bf728: 3c010004 */ lui $at,0x4 +/* f0bf72c: 01616825 */ or $t5,$t3,$at +/* f0bf730: 372a0001 */ ori $t2,$t9,0x1 +/* f0bf734: 3c012000 */ lui $at,0x2000 +/* f0bf738: a20a02e1 */ sb $t2,0x2e1($s0) +/* f0bf73c: 314c0001 */ andi $t4,$t2,0x1 +/* f0bf740: 03017825 */ or $t7,$t8,$at +/* f0bf744: ae0d0018 */ sw $t5,0x18($s0) +/* f0bf748: ae0f0014 */ sw $t7,0x14($s0) +/* f0bf74c: a20c02e1 */ sb $t4,0x2e1($s0) +/* f0bf750: 02002025 */ move $a0,$s0 +/* f0bf754: 240500f9 */ li $a1,0xf9 +/* f0bf758: 24060009 */ li $a2,0x9 +/* f0bf75c: 0fc22e53 */ jal 0xf08b94c +/* f0bf760: 00003825 */ move $a3,$zero +/* f0bf764: 02002025 */ move $a0,$s0 +/* f0bf768: 240500f8 */ li $a1,0xf8 +/* f0bf76c: 24060008 */ li $a2,0x8 +/* f0bf770: 0fc22e53 */ jal 0xf08b94c +/* f0bf774: 3c071000 */ lui $a3,0x1000 +.PB0f0bf778: +/* f0bf778: 0fc41d39 */ jal 0xf1074e4 +/* f0bf77c: 24040019 */ li $a0,0x19 +/* f0bf780: 5040005d */ beqzl $v0,.PB0f0bf8f8 +/* f0bf784: 8fad0058 */ lw $t5,0x58($sp) +/* f0bf788: 0fc59b21 */ jal 0xf166c84 +/* f0bf78c: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf790: 24010023 */ li $at,0x23 +/* f0bf794: 14410012 */ bne $v0,$at,.PB0f0bf7e0 +/* f0bf798: 00000000 */ nop +/* f0bf79c: 0c0063c8 */ jal 0x18f20 +/* f0bf7a0: 24040012 */ li $a0,0x12 +/* f0bf7a4: 8e680284 */ lw $t0,0x284($s3) +/* f0bf7a8: 240b0010 */ li $t3,0x10 +/* f0bf7ac: 2404005b */ li $a0,0x5b +/* f0bf7b0: c5060144 */ lwc1 $f6,0x144($t0) +/* f0bf7b4: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf7b8: afab0018 */ sw $t3,0x18($sp) +/* f0bf7bc: 46143482 */ mul.s $f18,$f6,$f20 +/* f0bf7c0: afa20014 */ sw $v0,0x14($sp) +/* f0bf7c4: 24050008 */ li $a1,0x8 +/* f0bf7c8: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf7cc: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf7d0: 0fc12d06 */ jal 0xf04b418 +/* f0bf7d4: e7b20010 */ swc1 $f18,0x10($sp) +/* f0bf7d8: 10000011 */ b .PB0f0bf820 +/* f0bf7dc: 00408825 */ move $s1,$v0 +.PB0f0bf7e0: +/* f0bf7e0: 0c0063c8 */ jal 0x18f20 +/* f0bf7e4: 24040012 */ li $a0,0x12 +/* f0bf7e8: 8e680284 */ lw $t0,0x284($s3) +/* f0bf7ec: 240d0010 */ li $t5,0x10 +/* f0bf7f0: 24040057 */ li $a0,0x57 +/* f0bf7f4: c5080144 */ lwc1 $f8,0x144($t0) +/* f0bf7f8: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf7fc: afad0018 */ sw $t5,0x18($sp) +/* f0bf800: 46144282 */ mul.s $f10,$f8,$f20 +/* f0bf804: afa20014 */ sw $v0,0x14($sp) +/* f0bf808: 24050029 */ li $a1,0x29 +/* f0bf80c: 24660008 */ addiu $a2,$v1,0x8 +/* f0bf810: 24670028 */ addiu $a3,$v1,0x28 +/* f0bf814: 0fc12d06 */ jal 0xf04b418 +/* f0bf818: e7aa0010 */ swc1 $f10,0x10($sp) +/* f0bf81c: 00408825 */ move $s1,$v0 +.PB0f0bf820: +/* f0bf820: 10400034 */ beqz $v0,.PB0f0bf8f4 +/* f0bf824: 3c01c030 */ lui $at,0xc030 +/* f0bf828: 8e300004 */ lw $s0,0x4($s1) +/* f0bf82c: 24090010 */ li $t1,0x10 +/* f0bf830: 240b0096 */ li $t3,0x96 +/* f0bf834: 8e0e0118 */ lw $t6,0x118($s0) +/* f0bf838: 8e180114 */ lw $t8,0x114($s0) +/* f0bf83c: 8e0a0014 */ lw $t2,0x14($s0) +/* f0bf840: 01c1c825 */ or $t9,$t6,$at +/* f0bf844: 3c018000 */ lui $at,0x8000 +/* f0bf848: 370f2000 */ ori $t7,$t8,0x2000 +/* f0bf84c: 01416025 */ or $t4,$t2,$at +/* f0bf850: ae0f0114 */ sw $t7,0x114($s0) +/* f0bf854: ae190118 */ sw $t9,0x118($s0) +/* f0bf858: a2090125 */ sb $t1,0x125($s0) +/* f0bf85c: a21502a2 */ sb $s5,0x2a2($s0) +/* f0bf860: ae0c0014 */ sw $t4,0x14($s0) +/* f0bf864: a20002b1 */ sb $zero,0x2b1($s0) +/* f0bf868: a20b02e2 */ sb $t3,0x2e2($s0) +/* f0bf86c: a2120002 */ sb $s2,0x2($s0) +/* f0bf870: a2120003 */ sb $s2,0x3($s0) +/* f0bf874: 0fc59b21 */ jal 0xf166c84 +/* f0bf878: 8e6404b4 */ lw $a0,0x4b4($s3) +/* f0bf87c: 14540005 */ bne $v0,$s4,.PB0f0bf894 +/* f0bf880: 02002025 */ move $a0,$s0 +/* f0bf884: 0fc08196 */ jal 0xf020658 +/* f0bf888: 3c054220 */ lui $a1,0x4220 +/* f0bf88c: 10000005 */ b .PB0f0bf8a4 +/* f0bf890: 02002025 */ move $a0,$s0 +.PB0f0bf894: +/* f0bf894: 4405b000 */ mfc1 $a1,$f22 +/* f0bf898: 0fc08196 */ jal 0xf020658 +/* f0bf89c: 02002025 */ move $a0,$s0 +/* f0bf8a0: 02002025 */ move $a0,$s0 +.PB0f0bf8a4: +/* f0bf8a4: 0fc08191 */ jal 0xf020644 +/* f0bf8a8: 3c054120 */ lui $a1,0x4120 +/* f0bf8ac: 8e0d0018 */ lw $t5,0x18($s0) +/* f0bf8b0: 920902e1 */ lbu $t1,0x2e1($s0) +/* f0bf8b4: 8e0f0014 */ lw $t7,0x14($s0) +/* f0bf8b8: 3c010004 */ lui $at,0x4 +/* f0bf8bc: 01a1c025 */ or $t8,$t5,$at +/* f0bf8c0: 352c0001 */ ori $t4,$t1,0x1 +/* f0bf8c4: 3c012000 */ lui $at,0x2000 +/* f0bf8c8: a20c02e1 */ sb $t4,0x2e1($s0) +/* f0bf8cc: 318b0001 */ andi $t3,$t4,0x1 +/* f0bf8d0: 01e17025 */ or $t6,$t7,$at +/* f0bf8d4: ae180018 */ sw $t8,0x18($s0) +/* f0bf8d8: ae0e0014 */ sw $t6,0x14($s0) +/* f0bf8dc: a20b02e1 */ sb $t3,0x2e1($s0) +/* f0bf8e0: 02002025 */ move $a0,$s0 +/* f0bf8e4: 24050104 */ li $a1,0x104 +/* f0bf8e8: 2406000d */ li $a2,0xd +/* f0bf8ec: 0fc22e53 */ jal 0xf08b94c +/* f0bf8f0: 00003825 */ move $a3,$zero +.PB0f0bf8f4: +/* f0bf8f4: 8fad0058 */ lw $t5,0x58($sp) +.PB0f0bf8f8: +/* f0bf8f8: adb104b8 */ sw $s1,0x4b8($t5) +/* f0bf8fc: 8fb800e8 */ lw $t8,0xe8($sp) +/* f0bf900: 8e690474 */ lw $t1,0x474($s3) +/* f0bf904: 8fae0058 */ lw $t6,0x58($sp) +/* f0bf908: 270f0001 */ addiu $t7,$t8,0x1 +/* f0bf90c: 01e9082a */ slt $at,$t7,$t1 +/* f0bf910: 25d90004 */ addiu $t9,$t6,0x4 +/* f0bf914: afb90058 */ sw $t9,0x58($sp) +/* f0bf918: 1420fdf8 */ bnez $at,.PB0f0bf0fc +/* f0bf91c: afaf00e8 */ sw $t7,0xe8($sp) +/* f0bf920: 1000011b */ b .PB0f0bfd90 +/* f0bf924: 00000000 */ nop +.PB0f0bf928: +/* f0bf928: 10600003 */ beqz $v1,.PB0f0bf938 +/* f0bf92c: 24010005 */ li $at,0x5 +/* f0bf930: 54610018 */ bnel $v1,$at,.PB0f0bf994 +/* f0bf934: 24010004 */ li $at,0x4 +.PB0f0bf938: +/* f0bf938: 0fc2e652 */ jal 0xf0b9948 +/* f0bf93c: 00000000 */ nop +/* f0bf940: 24040001 */ li $a0,0x1 +/* f0bf944: 24050001 */ li $a1,0x1 +/* f0bf948: 8fa60330 */ lw $a2,0x330($sp) +/* f0bf94c: 0fc3303a */ jal 0xf0cc0e8 +/* f0bf950: 00003825 */ move $a3,$zero +/* f0bf954: 0fc2f60c */ jal 0xf0bd830 +/* f0bf958: 00000000 */ nop +/* f0bf95c: 0fc3072a */ jal 0xf0c1ca8 +/* f0bf960: 00002025 */ move $a0,$zero +/* f0bf964: 8e680284 */ lw $t0,0x284($s3) +/* f0bf968: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bf96c: 2504037c */ addiu $a0,$t0,0x37c +/* f0bf970: 25050394 */ addiu $a1,$t0,0x394 +/* f0bf974: 246a0028 */ addiu $t2,$v1,0x28 +/* f0bf978: afaa0010 */ sw $t2,0x10($sp) +/* f0bf97c: 25060388 */ addiu $a2,$t0,0x388 +/* f0bf980: 0fc3072e */ jal 0xf0c1cb8 +/* f0bf984: 24670008 */ addiu $a3,$v1,0x8 +/* f0bf988: 10000101 */ b .PB0f0bfd90 +/* f0bf98c: 00000000 */ nop +/* f0bf990: 24010004 */ li $at,0x4 +.PB0f0bf994: +/* f0bf994: 1461000c */ bne $v1,$at,.PB0f0bf9c8 +/* f0bf998: 00000000 */ nop +/* f0bf99c: 0fc2e3ec */ jal 0xf0b8fb0 +/* f0bf9a0: 00000000 */ nop +/* f0bf9a4: 00002025 */ move $a0,$zero +/* f0bf9a8: 00002825 */ move $a1,$zero +/* f0bf9ac: 00003025 */ move $a2,$zero +/* f0bf9b0: 0fc3303a */ jal 0xf0cc0e8 +/* f0bf9b4: 24070001 */ li $a3,0x1 +/* f0bf9b8: 0fc2e6be */ jal 0xf0b9af8 +/* f0bf9bc: 00000000 */ nop +/* f0bf9c0: 100000f3 */ b .PB0f0bfd90 +/* f0bf9c4: 00000000 */ nop +.PB0f0bf9c8: +/* f0bf9c8: 1443000c */ bne $v0,$v1,.PB0f0bf9fc +/* f0bf9cc: 24010007 */ li $at,0x7 +/* f0bf9d0: 0fc2e3ec */ jal 0xf0b8fb0 +/* f0bf9d4: 00000000 */ nop +/* f0bf9d8: 00002025 */ move $a0,$zero +/* f0bf9dc: 00002825 */ move $a1,$zero +/* f0bf9e0: 00003025 */ move $a2,$zero +/* f0bf9e4: 0fc3303a */ jal 0xf0cc0e8 +/* f0bf9e8: 24070001 */ li $a3,0x1 +/* f0bf9ec: 0fc2e833 */ jal 0xf0ba0cc +/* f0bf9f0: 00000000 */ nop +/* f0bf9f4: 100000e6 */ b .PB0f0bfd90 +/* f0bf9f8: 00000000 */ nop +.PB0f0bf9fc: +/* f0bf9fc: 146100e4 */ bne $v1,$at,.PB0f0bfd90 +/* f0bfa00: 00000000 */ nop +/* f0bfa04: 0fc2e652 */ jal 0xf0b9948 +/* f0bfa08: 00000000 */ nop +/* f0bfa0c: 8e6c0284 */ lw $t4,0x284($s3) +/* f0bfa10: 24050002 */ li $a1,0x2 +/* f0bfa14: 27a60078 */ addiu $a2,$sp,0x78 +/* f0bfa18: 0fc458d4 */ jal 0xf116350 +/* f0bfa1c: 85841ba4 */ lh $a0,0x1ba4($t4) +/* f0bfa20: 0c003a6e */ jal 0xe9b8 +/* f0bfa24: 00000000 */ nop +/* f0bfa28: 3c0b8008 */ lui $t3,0x8008 +/* f0bfa2c: 856b2480 */ lh $t3,0x2480($t3) +/* f0bfa30: 544b000c */ bnel $v0,$t3,.PB0f0bfa64 +/* f0bfa34: 8e680284 */ lw $t0,0x284($s3) +/* f0bfa38: 8e6d0284 */ lw $t5,0x284($s3) +/* f0bfa3c: 24010019 */ li $at,0x19 +/* f0bfa40: c7a40078 */ lwc1 $f4,0x78($sp) +/* f0bfa44: 85b81ba4 */ lh $t8,0x1ba4($t5) +/* f0bfa48: 17010005 */ bne $t8,$at,.PB0f0bfa60 +/* f0bfa4c: 3c0142c8 */ lui $at,0x42c8 +/* f0bfa50: 44813000 */ mtc1 $at,$f6 +/* f0bfa54: 00000000 */ nop +/* f0bfa58: 46062481 */ sub.s $f18,$f4,$f6 +/* f0bfa5c: e7b20078 */ swc1 $f18,0x78($sp) +.PB0f0bfa60: +/* f0bfa60: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfa64: +/* f0bfa64: c7a80078 */ lwc1 $f8,0x78($sp) +/* f0bfa68: c7a40080 */ lwc1 $f4,0x80($sp) +/* f0bfa6c: c50a037c */ lwc1 $f10,0x37c($t0) +/* f0bfa70: c5060384 */ lwc1 $f6,0x384($t0) +/* f0bfa74: 460a4301 */ sub.s $f12,$f8,$f10 +/* f0bfa78: 46062381 */ sub.s $f14,$f4,$f6 +/* f0bfa7c: e7ac00d8 */ swc1 $f12,0xd8($sp) +/* f0bfa80: 0fc25970 */ jal 0xf0965c0 +/* f0bfa84: e7ae00d4 */ swc1 $f14,0xd4($sp) +/* f0bfa88: 3c017f1b */ lui $at,0x7f1b +/* f0bfa8c: c436f3a8 */ lwc1 $f22,-0xc58($at) +/* f0bfa90: 44809000 */ mtc1 $zero,$f18 +/* f0bfa94: 46000506 */ mov.s $f20,$f0 +/* f0bfa98: 4600b03c */ c.lt.s $f22,$f0 +/* f0bfa9c: 00000000 */ nop +/* f0bfaa0: 45020003 */ bc1fl .PB0f0bfab0 +/* f0bfaa4: 4612a03c */ c.lt.s $f20,$f18 +/* f0bfaa8: 46160501 */ sub.s $f20,$f0,$f22 +/* f0bfaac: 4612a03c */ c.lt.s $f20,$f18 +.PB0f0bfab0: +/* f0bfab0: 00000000 */ nop +/* f0bfab4: 45020003 */ bc1fl .PB0f0bfac4 +/* f0bfab8: 8e680284 */ lw $t0,0x284($s3) +/* f0bfabc: 4616a500 */ add.s $f20,$f20,$f22 +/* f0bfac0: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfac4: +/* f0bfac4: c50c036c */ lwc1 $f12,0x36c($t0) +/* f0bfac8: 0fc25970 */ jal 0xf0965c0 +/* f0bfacc: c50e0374 */ lwc1 $f14,0x374($t0) +/* f0bfad0: 4600b03c */ c.lt.s $f22,$f0 +/* f0bfad4: 44804000 */ mtc1 $zero,$f8 +/* f0bfad8: 46000086 */ mov.s $f2,$f0 +/* f0bfadc: 3c017f1b */ lui $at,0x7f1b +/* f0bfae0: 45020003 */ bc1fl .PB0f0bfaf0 +/* f0bfae4: 4608103c */ c.lt.s $f2,$f8 +/* f0bfae8: 46160081 */ sub.s $f2,$f0,$f22 +/* f0bfaec: 4608103c */ c.lt.s $f2,$f8 +.PB0f0bfaf0: +/* f0bfaf0: 00000000 */ nop +/* f0bfaf4: 45020003 */ bc1fl .PB0f0bfb04 +/* f0bfaf8: 46141301 */ sub.s $f12,$f2,$f20 +/* f0bfafc: 46161080 */ add.s $f2,$f2,$f22 +/* f0bfb00: 46141301 */ sub.s $f12,$f2,$f20 +.PB0f0bfb04: +/* f0bfb04: c42ef3ac */ lwc1 $f14,-0xc54($at) +/* f0bfb08: 3c017f1b */ lui $at,0x7f1b +/* f0bfb0c: 460c703c */ c.lt.s $f14,$f12 +/* f0bfb10: 46006006 */ mov.s $f0,$f12 +/* f0bfb14: 45000002 */ bc1f .PB0f0bfb20 +/* f0bfb18: 00000000 */ nop +/* f0bfb1c: 46166001 */ sub.s $f0,$f12,$f22 +.PB0f0bfb20: +/* f0bfb20: c42af3b0 */ lwc1 $f10,-0xc50($at) +/* f0bfb24: 3c013f80 */ lui $at,0x3f80 +/* f0bfb28: 460a003c */ c.lt.s $f0,$f10 +/* f0bfb2c: 00000000 */ nop +/* f0bfb30: 45020003 */ bc1fl .PB0f0bfb40 +/* f0bfb34: 460e0103 */ div.s $f4,$f0,$f14 +/* f0bfb38: 46160000 */ add.s $f0,$f0,$f22 +/* f0bfb3c: 460e0103 */ div.s $f4,$f0,$f14 +.PB0f0bfb40: +/* f0bfb40: 44803000 */ mtc1 $zero,$f6 +/* f0bfb44: 00000000 */ nop +/* f0bfb48: 4606203c */ c.lt.s $f4,$f6 +/* f0bfb4c: 00000000 */ nop +/* f0bfb50: 45020006 */ bc1fl .PB0f0bfb6c +/* f0bfb54: 44811000 */ mtc1 $at,$f2 +/* f0bfb58: 3c01bf80 */ lui $at,0xbf80 +/* f0bfb5c: 44811000 */ mtc1 $at,$f2 +/* f0bfb60: 10000004 */ b .PB0f0bfb74 +/* f0bfb64: 8e680284 */ lw $t0,0x284($s3) +/* f0bfb68: 44811000 */ mtc1 $at,$f2 +.PB0f0bfb6c: +/* f0bfb6c: 00000000 */ nop +/* f0bfb70: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfb74: +/* f0bfb74: 3c017f1b */ lui $at,0x7f1b +/* f0bfb78: 8d0e1bac */ lw $t6,0x1bac($t0) +/* f0bfb7c: 448e9000 */ mtc1 $t6,$f18 +/* f0bfb80: 00000000 */ nop +/* f0bfb84: 46809220 */ cvt.s.w $f8,$f18 +/* f0bfb88: 46081282 */ mul.s $f10,$f2,$f8 +/* f0bfb8c: 4600510d */ trunc.w.s $f4,$f10 +/* f0bfb90: 440f2000 */ mfc1 $t7,$f4 +/* f0bfb94: 00000000 */ nop +/* f0bfb98: ad0f1bd8 */ sw $t7,0x1bd8($t0) +/* f0bfb9c: c426f3b4 */ lwc1 $f6,-0xc4c($at) +/* f0bfba0: 3c017f1b */ lui $at,0x7f1b +/* f0bfba4: 4606003c */ c.lt.s $f0,$f6 +/* f0bfba8: 00000000 */ nop +/* f0bfbac: 4503000e */ bc1tl .PB0f0bfbe8 +/* f0bfbb0: 8e680284 */ lw $t0,0x284($s3) +/* f0bfbb4: c432f3b8 */ lwc1 $f18,-0xc48($at) +/* f0bfbb8: 4600903c */ c.lt.s $f18,$f0 +/* f0bfbbc: 00000000 */ nop +/* f0bfbc0: 45030009 */ bc1tl .PB0f0bfbe8 +/* f0bfbc4: 8e680284 */ lw $t0,0x284($s3) +/* f0bfbc8: 8e690284 */ lw $t1,0x284($s3) +/* f0bfbcc: ad201bd8 */ sw $zero,0x1bd8($t1) +/* f0bfbd0: 8e680284 */ lw $t0,0x284($s3) +/* f0bfbd4: 850a1baa */ lh $t2,0x1baa($t0) +/* f0bfbd8: 55400003 */ bnezl $t2,.PB0f0bfbe8 +/* f0bfbdc: 8e680284 */ lw $t0,0x284($s3) +/* f0bfbe0: ad001bac */ sw $zero,0x1bac($t0) +/* f0bfbe4: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfbe8: +/* f0bfbe8: 3c0141f0 */ lui $at,0x41f0 +/* f0bfbec: 44814000 */ mtc1 $at,$f8 +/* f0bfbf0: c5020154 */ lwc1 $f2,0x154($t0) +/* f0bfbf4: 4608103e */ c.le.s $f2,$f8 +/* f0bfbf8: 00000000 */ nop +/* f0bfbfc: 4502000d */ bc1fl .PB0f0bfc34 +/* f0bfc00: 85021baa */ lh $v0,0x1baa($t0) +/* f0bfc04: 850c1ba6 */ lh $t4,0x1ba6($t0) +/* f0bfc08: 3c0143b4 */ lui $at,0x43b4 +/* f0bfc0c: 44813000 */ mtc1 $at,$f6 +/* f0bfc10: 448c5000 */ mtc1 $t4,$f10 +/* f0bfc14: 00000000 */ nop +/* f0bfc18: 46805120 */ cvt.s.w $f4,$f10 +/* f0bfc1c: 46062483 */ div.s $f18,$f4,$f6 +/* f0bfc20: 46169202 */ mul.s $f8,$f18,$f22 +/* f0bfc24: 46081280 */ add.s $f10,$f2,$f8 +/* f0bfc28: e50a0154 */ swc1 $f10,0x154($t0) +/* f0bfc2c: 8e680284 */ lw $t0,0x284($s3) +/* f0bfc30: 85021baa */ lh $v0,0x1baa($t0) +.PB0f0bfc34: +/* f0bfc34: c7a400d8 */ lwc1 $f4,0xd8($sp) +/* f0bfc38: 3c017f1b */ lui $at,0x7f1b +/* f0bfc3c: 10400015 */ beqz $v0,.PB0f0bfc94 +/* f0bfc40: 00000000 */ nop +/* f0bfc44: 46042182 */ mul.s $f6,$f4,$f4 +/* f0bfc48: c7a000d4 */ lwc1 $f0,0xd4($sp) +/* f0bfc4c: 46000482 */ mul.s $f18,$f0,$f0 +/* f0bfc50: 0c012ae4 */ jal 0x4ab90 +/* f0bfc54: 46123300 */ add.s $f12,$f6,$f18 +/* f0bfc58: 8e680284 */ lw $t0,0x284($s3) +/* f0bfc5c: e7a000d8 */ swc1 $f0,0xd8($sp) +/* f0bfc60: 850b1ba8 */ lh $t3,0x1ba8($t0) +/* f0bfc64: 448b4000 */ mtc1 $t3,$f8 +/* f0bfc68: 00000000 */ nop +/* f0bfc6c: 468042a0 */ cvt.s.w $f10,$f8 +/* f0bfc70: 460a003c */ c.lt.s $f0,$f10 +/* f0bfc74: 00000000 */ nop +/* f0bfc78: 45000004 */ bc1f .PB0f0bfc8c +/* f0bfc7c: 00000000 */ nop +/* f0bfc80: 0fc2e693 */ jal 0xf0b9a4c +/* f0bfc84: 24040001 */ li $a0,0x1 +/* f0bfc88: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfc8c: +/* f0bfc8c: 10000010 */ b .PB0f0bfcd0 +/* f0bfc90: 85021baa */ lh $v0,0x1baa($t0) +.PB0f0bfc94: +/* f0bfc94: c424f3bc */ lwc1 $f4,-0xc44($at) +/* f0bfc98: 3c017f1b */ lui $at,0x7f1b +/* f0bfc9c: 4600203e */ c.le.s $f4,$f0 +/* f0bfca0: 00000000 */ nop +/* f0bfca4: 4502000b */ bc1fl .PB0f0bfcd4 +/* f0bfca8: 850d1ba8 */ lh $t5,0x1ba8($t0) +/* f0bfcac: c426f3c0 */ lwc1 $f6,-0xc40($at) +/* f0bfcb0: 4606003e */ c.le.s $f0,$f6 +/* f0bfcb4: 00000000 */ nop +/* f0bfcb8: 45020006 */ bc1fl .PB0f0bfcd4 +/* f0bfcbc: 850d1ba8 */ lh $t5,0x1ba8($t0) +/* f0bfcc0: 0fc2e693 */ jal 0xf0b9a4c +/* f0bfcc4: 24040001 */ li $a0,0x1 +/* f0bfcc8: 8e680284 */ lw $t0,0x284($s3) +/* f0bfccc: 85021baa */ lh $v0,0x1baa($t0) +.PB0f0bfcd0: +/* f0bfcd0: 850d1ba8 */ lh $t5,0x1ba8($t0) +.PB0f0bfcd4: +/* f0bfcd4: c7a800d8 */ lwc1 $f8,0xd8($sp) +/* f0bfcd8: 3c013f80 */ lui $at,0x3f80 +/* f0bfcdc: 448d9000 */ mtc1 $t5,$f18 +/* f0bfce0: 44811000 */ mtc1 $at,$f2 +/* f0bfce4: 46809020 */ cvt.s.w $f0,$f18 +/* f0bfce8: 46000280 */ add.s $f10,$f0,$f0 +/* f0bfcec: 460a403c */ c.lt.s $f8,$f10 +/* f0bfcf0: 00000000 */ nop +/* f0bfcf4: 4502000f */ bc1fl .PB0f0bfd34 +/* f0bfcf8: 44824000 */ mtc1 $v0,$f8 +/* f0bfcfc: 4600403c */ c.lt.s $f8,$f0 +/* f0bfd00: c7a400d8 */ lwc1 $f4,0xd8($sp) +/* f0bfd04: 45020005 */ bc1fl .PB0f0bfd1c +/* f0bfd08: 46002181 */ sub.s $f6,$f4,$f0 +/* f0bfd0c: 44801000 */ mtc1 $zero,$f2 +/* f0bfd10: 10000008 */ b .PB0f0bfd34 +/* f0bfd14: 44824000 */ mtc1 $v0,$f8 +/* f0bfd18: 46002181 */ sub.s $f6,$f4,$f0 +.PB0f0bfd1c: +/* f0bfd1c: 3c013f00 */ lui $at,0x3f00 +/* f0bfd20: 44816000 */ mtc1 $at,$f12 +/* f0bfd24: 46003483 */ div.s $f18,$f6,$f0 +/* f0bfd28: 460c9282 */ mul.s $f10,$f18,$f12 +/* f0bfd2c: 460c5080 */ add.s $f2,$f10,$f12 +/* f0bfd30: 44824000 */ mtc1 $v0,$f8 +.PB0f0bfd34: +/* f0bfd34: 24040001 */ li $a0,0x1 +/* f0bfd38: 24050001 */ li $a1,0x1 +/* f0bfd3c: 46804120 */ cvt.s.w $f4,$f8 +/* f0bfd40: 00003025 */ move $a2,$zero +/* f0bfd44: 24070001 */ li $a3,0x1 +/* f0bfd48: 46022182 */ mul.s $f6,$f4,$f2 +/* f0bfd4c: 4600348d */ trunc.w.s $f18,$f6 +/* f0bfd50: 440e9000 */ mfc1 $t6,$f18 +/* f0bfd54: 0fc3303a */ jal 0xf0cc0e8 +/* f0bfd58: ad0e1bdc */ sw $t6,0x1bdc($t0) +/* f0bfd5c: 0fc2f60c */ jal 0xf0bd830 +/* f0bfd60: 00000000 */ nop +/* f0bfd64: 0fc3072a */ jal 0xf0c1ca8 +/* f0bfd68: 00002025 */ move $a0,$zero +/* f0bfd6c: 8e680284 */ lw $t0,0x284($s3) +/* f0bfd70: 8d0300bc */ lw $v1,0xbc($t0) +/* f0bfd74: 2504037c */ addiu $a0,$t0,0x37c +/* f0bfd78: 25050394 */ addiu $a1,$t0,0x394 +/* f0bfd7c: 24790028 */ addiu $t9,$v1,0x28 +/* f0bfd80: afb90010 */ sw $t9,0x10($sp) +/* f0bfd84: 25060388 */ addiu $a2,$t0,0x388 +/* f0bfd88: 0fc3072e */ jal 0xf0c1cb8 +/* f0bfd8c: 24670008 */ addiu $a3,$v1,0x8 +.PB0f0bfd90: +/* f0bfd90: 0fc48074 */ jal 0xf1201d0 +/* f0bfd94: 00000000 */ nop +/* f0bfd98: 50400004 */ beqzl $v0,.PB0f0bfdac +/* f0bfd9c: 8e680284 */ lw $t0,0x284($s3) +/* f0bfda0: 0fc480b6 */ jal 0xf1202d8 +/* f0bfda4: 00000000 */ nop +/* f0bfda8: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfdac: +/* f0bfdac: c6680010 */ lwc1 $f8,0x10($s3) +/* f0bfdb0: 3c118007 */ lui $s1,0x8007 +/* f0bfdb4: c50a1b80 */ lwc1 $f10,0x1b80($t0) +/* f0bfdb8: 2631241c */ addiu $s1,$s1,0x241c +/* f0bfdbc: 46085100 */ add.s $f4,$f10,$f8 +/* f0bfdc0: e5041b80 */ swc1 $f4,0x1b80($t0) +/* f0bfdc4: 8e2f0000 */ lw $t7,0x0($s1) +/* f0bfdc8: 11e00047 */ beqz $t7,.PB0f0bfee8 +/* f0bfdcc: 00000000 */ nop +/* f0bfdd0: 8e690288 */ lw $t1,0x288($s3) +/* f0bfdd4: 0fc54ebe */ jal 0xf153af8 +/* f0bfdd8: 8d240070 */ lw $a0,0x70($t1) +/* f0bfddc: 00028600 */ sll $s0,$v0,0x18 +/* f0bfde0: 00105603 */ sra $t2,$s0,0x18 +/* f0bfde4: 0fc5b9b8 */ jal 0xf16e6e0 +/* f0bfde8: 01408025 */ move $s0,$t2 +/* f0bfdec: 1440002c */ bnez $v0,.PB0f0bfea0 +/* f0bfdf0: 8fac0330 */ lw $t4,0x330($sp) +/* f0bfdf4: 1180002a */ beqz $t4,.PB0f0bfea0 +/* f0bfdf8: 00102600 */ sll $a0,$s0,0x18 +/* f0bfdfc: 00045e03 */ sra $t3,$a0,0x18 +/* f0bfe00: 01602025 */ move $a0,$t3 +/* f0bfe04: 0c00569a */ jal 0x15a68 +/* f0bfe08: 3405f030 */ li $a1,0xf030 +/* f0bfe0c: 10400024 */ beqz $v0,.PB0f0bfea0 +/* f0bfe10: 240d0002 */ li $t5,0x2 +/* f0bfe14: 0fc2ee13 */ jal 0xf0bb84c +/* f0bfe18: ae2d0000 */ sw $t5,0x0($s1) +/* f0bfe1c: 50400016 */ beqzl $v0,.PB0f0bfe78 +/* f0bfe20: 8e680284 */ lw $t0,0x284($s3) +/* f0bfe24: 8e780284 */ lw $t8,0x284($s3) +/* f0bfe28: 44800000 */ mtc1 $zero,$f0 +/* f0bfe2c: 00002025 */ move $a0,$zero +/* f0bfe30: c70602e4 */ lwc1 $f6,0x2e4($t8) +/* f0bfe34: 00002825 */ move $a1,$zero +/* f0bfe38: 46060032 */ c.eq.s $f0,$f6 +/* f0bfe3c: 00000000 */ nop +/* f0bfe40: 45020018 */ bc1fl .PB0f0bfea4 +/* f0bfe44: 8e2e0000 */ lw $t6,0x0($s1) +/* f0bfe48: 44070000 */ mfc1 $a3,$f0 +/* f0bfe4c: 0fc2eddc */ jal 0xf0bb770 +/* f0bfe50: 00003025 */ move $a2,$zero +/* f0bfe54: 3c014270 */ lui $at,0x4270 +/* f0bfe58: 44816000 */ mtc1 $at,$f12 +/* f0bfe5c: 3c013f80 */ lui $at,0x3f80 +/* f0bfe60: 44817000 */ mtc1 $at,$f14 +/* f0bfe64: 0fc2ee06 */ jal 0xf0bb818 +/* f0bfe68: 00000000 */ nop +/* f0bfe6c: 1000000d */ b .PB0f0bfea4 +/* f0bfe70: 8e2e0000 */ lw $t6,0x0($s1) +/* f0bfe74: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bfe78: +/* f0bfe78: 44809000 */ mtc1 $zero,$f18 +/* f0bfe7c: 3c013f80 */ lui $at,0x3f80 +/* f0bfe80: c50a030c */ lwc1 $f10,0x30c($t0) +/* f0bfe84: 460a9032 */ c.eq.s $f18,$f10 +/* f0bfe88: 00000000 */ nop +/* f0bfe8c: 45020005 */ bc1fl .PB0f0bfea4 +/* f0bfe90: 8e2e0000 */ lw $t6,0x0($s1) +/* f0bfe94: 44817000 */ mtc1 $at,$f14 +/* f0bfe98: 0fc2ee06 */ jal 0xf0bb818 +/* f0bfe9c: c50c02e8 */ lwc1 $f12,0x2e8($t0) +.PB0f0bfea0: +/* f0bfea0: 8e2e0000 */ lw $t6,0x0($s1) +.PB0f0bfea4: +/* f0bfea4: 24010002 */ li $at,0x2 +/* f0bfea8: 15c1000f */ bne $t6,$at,.PB0f0bfee8 +/* f0bfeac: 00000000 */ nop +/* f0bfeb0: 0fc2ee13 */ jal 0xf0bb84c +/* f0bfeb4: 00000000 */ nop +/* f0bfeb8: 1040000b */ beqz $v0,.PB0f0bfee8 +/* f0bfebc: 00000000 */ nop +/* f0bfec0: 8e790284 */ lw $t9,0x284($s3) +/* f0bfec4: 3c013f80 */ lui $at,0x3f80 +/* f0bfec8: 44814000 */ mtc1 $at,$f8 +/* f0bfecc: c72402e4 */ lwc1 $f4,0x2e4($t9) +/* f0bfed0: 46044032 */ c.eq.s $f8,$f4 +/* f0bfed4: 00000000 */ nop +/* f0bfed8: 45000003 */ bc1f .PB0f0bfee8 +/* f0bfedc: 00000000 */ nop +/* f0bfee0: 0c003a71 */ jal 0xe9c4 +/* f0bfee4: 00000000 */ nop +.PB0f0bfee8: +/* f0bfee8: 3c0f8007 */ lui $t7,0x8007 +/* f0bfeec: 8def2414 */ lw $t7,0x2414($t7) +/* f0bfef0: 51e00004 */ beqzl $t7,.PB0f0bff04 +/* f0bfef4: 8e680284 */ lw $t0,0x284($s3) +/* f0bfef8: 0fc2e698 */ jal 0xf0b9a60 +/* f0bfefc: 00000000 */ nop +/* f0bff00: 8e680284 */ lw $t0,0x284($s3) +.PB0f0bff04: +/* f0bff04: 8d0900d8 */ lw $t1,0xd8($t0) +/* f0bff08: 51200035 */ beqzl $t1,.PB0f0bffe0 +/* f0bff0c: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bff10: 8d02032c */ lw $v0,0x32c($t0) +/* f0bff14: 14400005 */ bnez $v0,.PB0f0bff2c +/* f0bff18: 00000000 */ nop +/* f0bff1c: 0fc28b13 */ jal 0xf0a2c4c +/* f0bff20: 00000000 */ nop +/* f0bff24: 8e680284 */ lw $t0,0x284($s3) +/* f0bff28: 8d02032c */ lw $v0,0x32c($t0) +.PB0f0bff2c: +/* f0bff2c: 5040002c */ beqzl $v0,.PB0f0bffe0 +/* f0bff30: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bff34: 8d0a0330 */ lw $t2,0x330($t0) +/* f0bff38: 51400029 */ beqzl $t2,.PB0f0bffe0 +/* f0bff3c: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bff40: 8e6c0314 */ lw $t4,0x314($s3) +/* f0bff44: 55800006 */ bnezl $t4,.PB0f0bff60 +/* f0bff48: 8e6b0298 */ lw $t3,0x298($s3) +/* f0bff4c: 0c0039ae */ jal 0xe6b8 +/* f0bff50: 00000000 */ nop +/* f0bff54: 10000022 */ b .PB0f0bffe0 +/* f0bff58: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bff5c: 8e6b0298 */ lw $t3,0x298($s3) +.PB0f0bff60: +/* f0bff60: 05620017 */ bltzl $t3,.PB0f0bffc0 +/* f0bff64: 8e6f029c */ lw $t7,0x29c($s3) +/* f0bff68: 8e6d02a0 */ lw $t5,0x2a0($s3) +/* f0bff6c: 15a8000f */ bne $t5,$t0,.PB0f0bffac +/* f0bff70: 00000000 */ nop +/* f0bff74: 8e6202a4 */ lw $v0,0x2a4($s3) +/* f0bff78: 8c5800d8 */ lw $t8,0xd8($v0) +/* f0bff7c: 1300000b */ beqz $t8,.PB0f0bffac +/* f0bff80: 00000000 */ nop +/* f0bff84: 8c4e032c */ lw $t6,0x32c($v0) +/* f0bff88: 11c00008 */ beqz $t6,.PB0f0bffac +/* f0bff8c: 00000000 */ nop +/* f0bff90: 8c590330 */ lw $t9,0x330($v0) +/* f0bff94: 13200005 */ beqz $t9,.PB0f0bffac +/* f0bff98: 00000000 */ nop +/* f0bff9c: 0c0039ae */ jal 0xe6b8 +/* f0bffa0: 00000000 */ nop +/* f0bffa4: 1000000e */ b .PB0f0bffe0 +/* f0bffa8: 8e6a02ac */ lw $t2,0x2ac($s3) +.PB0f0bffac: +/* f0bffac: 0fc125da */ jal 0xf049768 +/* f0bffb0: 8e64028c */ lw $a0,0x28c($s3) +/* f0bffb4: 1000000a */ b .PB0f0bffe0 +/* f0bffb8: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bffbc: 8e6f029c */ lw $t7,0x29c($s3) +.PB0f0bffc0: +/* f0bffc0: 05e20007 */ bltzl $t7,.PB0f0bffe0 +/* f0bffc4: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bffc8: 8e6902a0 */ lw $t1,0x2a0($s3) +/* f0bffcc: 55280004 */ bnel $t1,$t0,.PB0f0bffe0 +/* f0bffd0: 8e6a02ac */ lw $t2,0x2ac($s3) +/* f0bffd4: 0c0039ae */ jal 0xe6b8 +/* f0bffd8: 00000000 */ nop +/* f0bffdc: 8e6a02ac */ lw $t2,0x2ac($s3) +.PB0f0bffe0: +/* f0bffe0: 24010005 */ li $at,0x5 +/* f0bffe4: 55410008 */ bnel $t2,$at,.PB0f0c0008 +/* f0bffe8: 8fbf004c */ lw $ra,0x4c($sp) +/* f0bffec: 0fc2ee13 */ jal 0xf0bb84c +/* f0bfff0: 00000000 */ nop +/* f0bfff4: 50400004 */ beqzl $v0,.PB0f0c0008 +/* f0bfff8: 8fbf004c */ lw $ra,0x4c($sp) +/* f0bfffc: 0c0039ae */ jal 0xe6b8 +/* f0c0000: 00000000 */ nop +/* f0c0004: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f0c0008: +/* f0c0008: d7b40020 */ ldc1 $f20,0x20($sp) +/* f0c000c: d7b60028 */ ldc1 $f22,0x28($sp) +/* f0c0010: 8fb00034 */ lw $s0,0x34($sp) +/* f0c0014: 8fb10038 */ lw $s1,0x38($sp) +/* f0c0018: 8fb2003c */ lw $s2,0x3c($sp) +/* f0c001c: 8fb30040 */ lw $s3,0x40($sp) +/* f0c0020: 8fb40044 */ lw $s4,0x44($sp) +/* f0c0024: 8fb50048 */ lw $s5,0x48($sp) +/* f0c0028: 03e00008 */ jr $ra +/* f0c002c: 27bd0330 */ addiu $sp,$sp,0x330 +); +#else void playerTick(bool arg0) { f32 aspectratio; @@ -4670,6 +7062,7 @@ void playerTick(bool arg0) mainEndStage(); } } +#endif #define WIELDMODE_PISTOL 0 #define WIELDMODE_HEAVY 1 diff --git a/src/game/playerinit.c b/src/game/playerinit.c index aeb621104..1bde06cc5 100644 --- a/src/game/playerinit.c +++ b/src/game/playerinit.c @@ -486,7 +486,7 @@ void playerInit(void) g_InCutscene = false; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA var8009e388pf = 0; #else g_CutsceneFrameOverrun240 = 0; diff --git a/src/game/prop.c b/src/game/prop.c index f900ad93b..84d372d52 100644 --- a/src/game/prop.c +++ b/src/game/prop.c @@ -2639,6 +2639,1005 @@ glabel var7f1ab190pf /* f064054: 03e00008 */ jr $ra /* f064058: 27bd0098 */ addiu $sp,$sp,0x98 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel propsTick +.late_rodata +glabel var7f1ab184pf +.word 0x3f99999a +glabel var7f1ab188pf +.word 0x3f99999a +glabel var7f1ab18cpf +.word 0x3f99999a +glabel var7f1ab190pf +.word 0x3f99999a +.text +/* f0631dc: 27bdff68 */ addiu $sp,$sp,-152 +/* f0631e0: afb10018 */ sw $s1,0x18($sp) +/* f0631e4: 3c11800a */ lui $s1,0x800a +/* f0631e8: 2631e4d0 */ addiu $s1,$s1,-6960 +/* f0631ec: ae20043c */ sw $zero,0x43c($s1) +/* f0631f0: 3c01800a */ lui $at,0x800a +/* f0631f4: ac2012cc */ sw $zero,0x12cc($at) +/* f0631f8: 3c01800a */ lui $at,0x800a +/* f0631fc: afbf002c */ sw $ra,0x2c($sp) +/* f063200: afb50028 */ sw $s5,0x28($sp) +/* f063204: afb40024 */ sw $s4,0x24($sp) +/* f063208: afb30020 */ sw $s3,0x20($sp) +/* f06320c: afb2001c */ sw $s2,0x1c($sp) +/* f063210: afb00014 */ sw $s0,0x14($sp) +/* f063214: afa40098 */ sw $a0,0x98($sp) +/* f063218: 10800009 */ beqz $a0,.PB0f063240 +/* f06321c: ac2012d0 */ sw $zero,0x12d0($at) +/* f063220: 9622035c */ lhu $v0,0x35c($s1) +/* f063224: 2401ffff */ li $at,-1 +/* f063228: 244f0001 */ addiu $t7,$v0,0x1 +/* f06322c: 31f8ffff */ andi $t8,$t7,0xffff +/* f063230: a62f035c */ sh $t7,0x35c($s1) +/* f063234: 17010002 */ bne $t8,$at,.PB0f063240 +/* f063238: a622035e */ sh $v0,0x35e($s1) +/* f06323c: a620035c */ sh $zero,0x35c($s1) +.PB0f063240: +/* f063240: 92270358 */ lbu $a3,0x358($s1) +/* f063244: 8e390034 */ lw $t9,0x34($s1) +/* f063248: 8e2d0038 */ lw $t5,0x38($s1) +/* f06324c: c6240044 */ lwc1 $f4,0x44($s1) +/* f063250: c626004c */ lwc1 $f6,0x4c($s1) +/* f063254: 00002825 */ move $a1,$zero +/* f063258: afb9008c */ sw $t9,0x8c($sp) +/* f06325c: afad0088 */ sw $t5,0x88($sp) +/* f063260: e7a40084 */ swc1 $f4,0x84($sp) +/* f063264: 18e0000e */ blez $a3,.PB0f0632a0 +/* f063268: e7a60080 */ swc1 $f6,0x80($sp) +/* f06326c: 3c02800a */ lui $v0,0x800a +/* f063270: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f063274: 8c4e0370 */ lw $t6,0x370($v0) +.PB0f063278: +/* f063278: 8e2f0034 */ lw $t7,0x34($s1) +/* f06327c: 24a50001 */ addiu $a1,$a1,0x1 +/* f063280: 2442001c */ addiu $v0,$v0,0x1c +/* f063284: 01cfc021 */ addu $t8,$t6,$t7 +/* f063288: ac580354 */ sw $t8,0x354($v0) +/* f06328c: 92270358 */ lbu $a3,0x358($s1) +/* f063290: 00a7082a */ slt $at,$a1,$a3 +/* f063294: 5420fff8 */ bnezl $at,.PB0f063278 +/* f063298: 8c4e0370 */ lw $t6,0x370($v0) +/* f06329c: 00002825 */ move $a1,$zero +.PB0f0632a0: +/* f0632a0: 9239035a */ lbu $t9,0x35a($s1) +/* f0632a4: 24150001 */ li $s5,0x1 +/* f0632a8: 24140003 */ li $s4,0x3 +/* f0632ac: 272d0001 */ addiu $t5,$t9,0x1 +/* f0632b0: 31a300ff */ andi $v1,$t5,0xff +/* f0632b4: 0067082a */ slt $at,$v1,$a3 +/* f0632b8: 14200003 */ bnez $at,.PB0f0632c8 +/* f0632bc: a22d035a */ sb $t5,0x35a($s1) +/* f0632c0: a220035a */ sb $zero,0x35a($s1) +/* f0632c4: 300300ff */ andi $v1,$zero,0xff +.PB0f0632c8: +/* f0632c8: 306900ff */ andi $t1,$v1,0xff +/* f0632cc: 000970c0 */ sll $t6,$t1,0x3 +/* f0632d0: 01c97023 */ subu $t6,$t6,$t1 +/* f0632d4: 000e7080 */ sll $t6,$t6,0x2 +/* f0632d8: 022e5021 */ addu $t2,$s1,$t6 +/* f0632dc: 8d420370 */ lw $v0,0x370($t2) +/* f0632e0: 3c013e80 */ lui $at,0x3e80 +/* f0632e4: 8d4f0374 */ lw $t7,0x374($t2) +/* f0632e8: 44824000 */ mtc1 $v0,$f8 +/* f0632ec: 44818000 */ mtc1 $at,$f16 +/* f0632f0: 01e24021 */ addu $t0,$t7,$v0 +/* f0632f4: 468042a0 */ cvt.s.w $f10,$f8 +/* f0632f8: 31180003 */ andi $t8,$t0,0x3 +/* f0632fc: ad580374 */ sw $t8,0x374($t2) +/* f063300: 922d0358 */ lbu $t5,0x358($s1) +/* f063304: 24480002 */ addiu $t0,$v0,0x2 +/* f063308: 0008c883 */ sra $t9,$t0,0x2 +/* f06330c: 46105482 */ mul.s $f18,$f10,$f16 +/* f063310: afa2007c */ sw $v0,0x7c($sp) +/* f063314: 03204025 */ move $t0,$t9 +/* f063318: 3c02800a */ lui $v0,0x800a +/* f06331c: 2413008c */ li $s3,0x8c +/* f063320: 2412ffff */ li $s2,-1 +/* f063324: 19a0000c */ blez $t5,.PB0f063358 +/* f063328: e7b20074 */ swc1 $f18,0x74($sp) +/* f06332c: 2442e4d0 */ addiu $v0,$v0,-6960 +/* f063330: a4400360 */ sh $zero,0x360($v0) +.PB0f063334: +/* f063334: a4400362 */ sh $zero,0x362($v0) +/* f063338: a4400364 */ sh $zero,0x364($v0) +/* f06333c: a4400366 */ sh $zero,0x366($v0) +/* f063340: 922e0358 */ lbu $t6,0x358($s1) +/* f063344: 24a50001 */ addiu $a1,$a1,0x1 +/* f063348: 2442001c */ addiu $v0,$v0,0x1c +/* f06334c: 00ae082a */ slt $at,$a1,$t6 +/* f063350: 5420fff8 */ bnezl $at,.PB0f063334 +/* f063354: a4400360 */ sh $zero,0x360($v0) +.PB0f063358: +/* f063358: 8e2f0290 */ lw $t7,0x290($s1) +/* f06335c: 55e00024 */ bnezl $t7,.PB0f0633f0 +/* f063360: 8e380334 */ lw $t8,0x334($s1) +/* f063364: 8e380334 */ lw $t8,0x334($s1) +/* f063368: 8e300338 */ lw $s0,0x338($s1) +/* f06336c: 2407ff7f */ li $a3,-129 +/* f063370: 0018c8c0 */ sll $t9,$t8,0x3 +/* f063374: 0338c821 */ addu $t9,$t9,$t8 +/* f063378: 0019c8c0 */ sll $t9,$t9,0x3 +/* f06337c: 03302821 */ addu $a1,$t9,$s0 +/* f063380: 0205082b */ sltu $at,$s0,$a1 +/* f063384: 1020002e */ beqz $at,.PB0f063440 +/* f063388: 2406ffbf */ li $a2,-65 +/* f06338c: 2404fffd */ li $a0,-3 +.PB0f063390: +/* f063390: 92020001 */ lbu $v0,0x1($s0) +/* f063394: 304d0002 */ andi $t5,$v0,0x2 +/* f063398: 11a00003 */ beqz $t5,.PB0f0633a8 +/* f06339c: 00401825 */ move $v1,$v0 +/* f0633a0: 00441024 */ and $v0,$v0,$a0 +/* f0633a4: 304300ff */ andi $v1,$v0,0xff +.PB0f0633a8: +/* f0633a8: 306f0040 */ andi $t7,$v1,0x40 +/* f0633ac: 11e00005 */ beqz $t7,.PB0f0633c4 +/* f0633b0: 306d0080 */ andi $t5,$v1,0x80 +/* f0633b4: 34780080 */ ori $t8,$v1,0x80 +/* f0633b8: 03061024 */ and $v0,$t8,$a2 +/* f0633bc: 10000004 */ b .PB0f0633d0 +/* f0633c0: 304300ff */ andi $v1,$v0,0xff +.PB0f0633c4: +/* f0633c4: 11a00002 */ beqz $t5,.PB0f0633d0 +/* f0633c8: 00671024 */ and $v0,$v1,$a3 +/* f0633cc: 304300ff */ andi $v1,$v0,0xff +.PB0f0633d0: +/* f0633d0: 26100048 */ addiu $s0,$s0,0x48 +/* f0633d4: 0205082b */ sltu $at,$s0,$a1 +/* f0633d8: 346f0008 */ ori $t7,$v1,0x8 +/* f0633dc: 1420ffec */ bnez $at,.PB0f063390 +/* f0633e0: a20fffb9 */ sb $t7,-0x47($s0) +/* f0633e4: 10000017 */ b .PB0f063444 +/* f0633e8: afaa0034 */ sw $t2,0x34($sp) +/* f0633ec: 8e380334 */ lw $t8,0x334($s1) +.PB0f0633f0: +/* f0633f0: 8e300338 */ lw $s0,0x338($s1) +/* f0633f4: 2404fffd */ li $a0,-3 +/* f0633f8: 0018c8c0 */ sll $t9,$t8,0x3 +/* f0633fc: 0338c821 */ addu $t9,$t9,$t8 +/* f063400: 0019c8c0 */ sll $t9,$t9,0x3 +/* f063404: 03302821 */ addu $a1,$t9,$s0 +/* f063408: 0205082b */ sltu $at,$s0,$a1 +/* f06340c: 5020000d */ beqzl $at,.PB0f063444 +/* f063410: afaa0034 */ sw $t2,0x34($sp) +.PB0f063414: +/* f063414: 92020001 */ lbu $v0,0x1($s0) +/* f063418: 304d0002 */ andi $t5,$v0,0x2 +/* f06341c: 11a00004 */ beqz $t5,.PB0f063430 +/* f063420: 00401825 */ move $v1,$v0 +/* f063424: 00641024 */ and $v0,$v1,$a0 +/* f063428: 304e00ff */ andi $t6,$v0,0xff +/* f06342c: 01c01025 */ move $v0,$t6 +.PB0f063430: +/* f063430: 26100048 */ addiu $s0,$s0,0x48 +/* f063434: 0205082b */ sltu $at,$s0,$a1 +/* f063438: 1420fff6 */ bnez $at,.PB0f063414 +/* f06343c: a202ffb9 */ sb $v0,-0x47($s0) +.PB0f063440: +/* f063440: afaa0034 */ sw $t2,0x34($sp) +.PB0f063444: +/* f063444: afaa0034 */ sw $t2,0x34($sp) +/* f063448: 8e30033c */ lw $s0,0x33c($s1) +/* f06344c: afa80078 */ sw $t0,0x78($sp) +/* f063450: a3a90069 */ sb $t1,0x69($sp) +/* f063454: 8e0f0020 */ lw $t7,0x20($s0) +.PB0f063458: +/* f063458: 8e390354 */ lw $t9,0x354($s1) +/* f06345c: 8e2e02ac */ lw $t6,0x2ac($s1) +/* f063460: 00003025 */ move $a2,$zero +/* f063464: 01f96826 */ xor $t5,$t7,$t9 +/* f063468: 2dad0001 */ sltiu $t5,$t5,0x1 +/* f06346c: afad004c */ sw $t5,0x4c($sp) +/* f063470: 12ae0003 */ beq $s5,$t6,.PB0f063480 +/* f063474: afaf005c */ sw $t7,0x5c($sp) +/* f063478: 10000002 */ b .PB0f063484 +/* f06347c: 02a02825 */ move $a1,$s5 +.PB0f063480: +/* f063480: 9225035b */ lbu $a1,0x35b($s1) +.PB0f063484: +/* f063484: 86080028 */ lh $t0,0x28($s0) +/* f063488: 26070028 */ addiu $a3,$s0,0x28 +/* f06348c: 00e01825 */ move $v1,$a3 +/* f063490: 1248000f */ beq $s2,$t0,.PB0f0634d0 +/* f063494: 3c04800b */ lui $a0,0x800b +/* f063498: 8c848f48 */ lw $a0,-0x70b8($a0) +/* f06349c: 84620000 */ lh $v0,0x0($v1) +.PB0f0634a0: +/* f0634a0: 00530019 */ multu $v0,$s3 +/* f0634a4: 00007812 */ mflo $t7 +/* f0634a8: 008fc021 */ addu $t8,$a0,$t7 +/* f0634ac: 97190000 */ lhu $t9,0x0($t8) +/* f0634b0: 332d0004 */ andi $t5,$t9,0x4 +/* f0634b4: 51a00003 */ beqzl $t5,.PB0f0634c4 +/* f0634b8: 84620002 */ lh $v0,0x2($v1) +/* f0634bc: 24a50001 */ addiu $a1,$a1,0x1 +/* f0634c0: 84620002 */ lh $v0,0x2($v1) +.PB0f0634c4: +/* f0634c4: 24630002 */ addiu $v1,$v1,0x2 +/* f0634c8: 1642fff5 */ bne $s2,$v0,.PB0f0634a0 +/* f0634cc: 00000000 */ nop +.PB0f0634d0: +/* f0634d0: 54a0003c */ bnezl $a1,.PB0f0635c4 +/* f0634d4: 960d003a */ lhu $t5,0x3a($s0) +/* f0634d8: 92030000 */ lbu $v1,0x0($s0) +/* f0634dc: 24010006 */ li $at,0x6 +/* f0634e0: 14610003 */ bne $v1,$at,.PB0f0634f0 +/* f0634e4: 00000000 */ nop +/* f0634e8: 1000000b */ b .PB0f063518 +/* f0634ec: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f0634f0: +/* f0634f0: 12a30003 */ beq $s5,$v1,.PB0f063500 +/* f0634f4: 24010004 */ li $at,0x4 +/* f0634f8: 14610007 */ bne $v1,$at,.PB0f063518 +/* f0634fc: 00000000 */ nop +.PB0f063500: +/* f063500: 8e020004 */ lw $v0,0x4($s0) +/* f063504: 8c4e0040 */ lw $t6,0x40($v0) +/* f063508: 31cf0080 */ andi $t7,$t6,0x80 +/* f06350c: 11e00002 */ beqz $t7,.PB0f063518 +/* f063510: 00000000 */ nop +/* f063514: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f063518: +/* f063518: 54a0002a */ bnezl $a1,.PB0f0635c4 +/* f06351c: 960d003a */ lhu $t5,0x3a($s0) +/* f063520: 92180001 */ lbu $t8,0x1($s0) +/* f063524: 24010084 */ li $at,0x84 +/* f063528: 33190084 */ andi $t9,$t8,0x84 +/* f06352c: 57210004 */ bnel $t9,$at,.PB0f063540 +/* f063530: 9202003f */ lbu $v0,0x3f($s0) +/* f063534: 10000022 */ b .PB0f0635c0 +/* f063538: 24a50001 */ addiu $a1,$a1,0x1 +/* f06353c: 9202003f */ lbu $v0,0x3f($s0) +.PB0f063540: +/* f063540: 000269c2 */ srl $t5,$v0,0x7 +/* f063544: 11a00004 */ beqz $t5,.PB0f063558 +/* f063548: 304eff7f */ andi $t6,$v0,0xff7f +/* f06354c: 24a50001 */ addiu $a1,$a1,0x1 +/* f063550: 1000001b */ b .PB0f0635c0 +/* f063554: a20e003f */ sb $t6,0x3f($s0) +.PB0f063558: +/* f063558: 8e0f003c */ lw $t7,0x3c($s0) +/* f06355c: 000fce80 */ sll $t9,$t7,0x1a +/* f063560: 07210003 */ bgez $t9,.PB0f063570 +/* f063564: 00000000 */ nop +/* f063568: 10000015 */ b .PB0f0635c0 +/* f06356c: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f063570: +/* f063570: 1248000f */ beq $s2,$t0,.PB0f0635b0 +/* f063574: 00e01825 */ move $v1,$a3 +/* f063578: 3c04800b */ lui $a0,0x800b +/* f06357c: 8c848f48 */ lw $a0,-0x70b8($a0) +/* f063580: 84e20000 */ lh $v0,0x0($a3) +.PB0f063584: +/* f063584: 00530019 */ multu $v0,$s3 +/* f063588: 00006812 */ mflo $t5 +/* f06358c: 008d7021 */ addu $t6,$a0,$t5 +/* f063590: 95cf0000 */ lhu $t7,0x0($t6) +/* f063594: 31f80008 */ andi $t8,$t7,0x8 +/* f063598: 57000006 */ bnezl $t8,.PB0f0635b4 +/* f06359c: 84790000 */ lh $t9,0x0($v1) +/* f0635a0: 84620002 */ lh $v0,0x2($v1) +/* f0635a4: 24630002 */ addiu $v1,$v1,0x2 +/* f0635a8: 1642fff6 */ bne $s2,$v0,.PB0f063584 +/* f0635ac: 00000000 */ nop +.PB0f0635b0: +/* f0635b0: 84790000 */ lh $t9,0x0($v1) +.PB0f0635b4: +/* f0635b4: 52590003 */ beql $s2,$t9,.PB0f0635c4 +/* f0635b8: 960d003a */ lhu $t5,0x3a($s0) +/* f0635bc: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f0635c0: +/* f0635c0: 960d003a */ lhu $t5,0x3a($s0) +.PB0f0635c4: +/* f0635c4: 8e2e0034 */ lw $t6,0x34($s1) +/* f0635c8: 01ae7821 */ addu $t7,$t5,$t6 +/* f0635cc: 18a00080 */ blez $a1,.PB0f0637d0 +/* f0635d0: a60f003a */ sh $t7,0x3a($s0) +/* f0635d4: 9638035e */ lhu $t8,0x35e($s1) +/* f0635d8: 96190038 */ lhu $t9,0x38($s0) +/* f0635dc: 31edffff */ andi $t5,$t7,0xffff +/* f0635e0: 53190019 */ beql $t8,$t9,.PB0f063648 +/* f0635e4: 8fb9008c */ lw $t9,0x8c($sp) +/* f0635e8: ae2d0034 */ sw $t5,0x34($s1) +/* f0635ec: 920f003c */ lbu $t7,0x3c($s0) +/* f0635f0: 960e003a */ lhu $t6,0x3a($s0) +/* f0635f4: 3c013e80 */ lui $at,0x3e80 +/* f0635f8: 44814000 */ mtc1 $at,$f8 +/* f0635fc: 01cfc021 */ addu $t8,$t6,$t7 +/* f063600: ae380038 */ sw $t8,0x38($s1) +/* f063604: 330d0003 */ andi $t5,$t8,0x3 +/* f063608: a20d003c */ sb $t5,0x3c($s0) +/* f06360c: 8e380034 */ lw $t8,0x34($s1) +/* f063610: 8e2e0038 */ lw $t6,0x38($s1) +/* f063614: 3c017f1b */ lui $at,0x7f1b +/* f063618: 44982000 */ mtc1 $t8,$f4 +/* f06361c: 000e7883 */ sra $t7,$t6,0x2 +/* f063620: ae2f0038 */ sw $t7,0x38($s1) +/* f063624: 468021a0 */ cvt.s.w $f6,$f4 +/* f063628: 46083282 */ mul.s $f10,$f6,$f8 +/* f06362c: e62a0044 */ swc1 $f10,0x44($s1) +/* f063630: c432bc08 */ lwc1 $f18,-0x43f8($at) +/* f063634: c6300044 */ lwc1 $f16,0x44($s1) +/* f063638: 46128102 */ mul.s $f4,$f16,$f18 +/* f06363c: 10000009 */ b .PB0f063664 +/* f063640: e624004c */ swc1 $f4,0x4c($s1) +/* f063644: 8fb9008c */ lw $t9,0x8c($sp) +.PB0f063648: +/* f063648: 8fad0088 */ lw $t5,0x88($sp) +/* f06364c: c7a60084 */ lwc1 $f6,0x84($sp) +/* f063650: c7a80080 */ lwc1 $f8,0x80($sp) +/* f063654: ae390034 */ sw $t9,0x34($s1) +/* f063658: ae2d0038 */ sw $t5,0x38($s1) +/* f06365c: e6260044 */ swc1 $f6,0x44($s1) +/* f063660: e628004c */ swc1 $f8,0x4c($s1) +.PB0f063664: +/* f063664: 920e0000 */ lbu $t6,0x0($s0) +/* f063668: a200003e */ sb $zero,0x3e($s0) +/* f06366c: 568e001c */ bnel $s4,$t6,.PB0f0636e0 +/* f063670: 920f003d */ lbu $t7,0x3d($s0) +/* f063674: 8e020004 */ lw $v0,0x4($s0) +/* f063678: 02002025 */ move $a0,$s0 +/* f06367c: 0fc527cc */ jal 0xf149f30 +/* f063680: afa20048 */ sw $v0,0x48($sp) +/* f063684: 8fa20048 */ lw $v0,0x48($sp) +/* f063688: 10400008 */ beqz $v0,.PB0f0636ac +/* f06368c: 00000000 */ nop +/* f063690: 8c4f02d4 */ lw $t7,0x2d4($v0) +/* f063694: 11e00005 */ beqz $t7,.PB0f0636ac +/* f063698: 00000000 */ nop +/* f06369c: 0fc64d1e */ jal 0xf193478 +/* f0636a0: 02002025 */ move $a0,$s0 +/* f0636a4: 10000004 */ b .PB0f0636b8 +/* f0636a8: 00403025 */ move $a2,$v0 +.PB0f0636ac: +/* f0636ac: 0fc08c5d */ jal 0xf023174 +/* f0636b0: 02002025 */ move $a0,$s0 +/* f0636b4: 00403025 */ move $a2,$v0 +.PB0f0636b8: +/* f0636b8: 9218003d */ lbu $t8,0x3d($s0) +/* f0636bc: 0018c8c0 */ sll $t9,$t8,0x3 +/* f0636c0: 0338c823 */ subu $t9,$t9,$t8 +/* f0636c4: 0019c880 */ sll $t9,$t9,0x2 +/* f0636c8: 02391021 */ addu $v0,$s1,$t9 +/* f0636cc: 944d0366 */ lhu $t5,0x366($v0) +/* f0636d0: 25ae0001 */ addiu $t6,$t5,0x1 +/* f0636d4: 1000002b */ b .PB0f063784 +/* f0636d8: a44e0366 */ sh $t6,0x366($v0) +/* f0636dc: 920f003d */ lbu $t7,0x3d($s0) +.PB0f0636e0: +/* f0636e0: 24010004 */ li $at,0x4 +/* f0636e4: 000fc0c0 */ sll $t8,$t7,0x3 +/* f0636e8: 030fc023 */ subu $t8,$t8,$t7 +/* f0636ec: 0018c080 */ sll $t8,$t8,0x2 +/* f0636f0: 02381021 */ addu $v0,$s1,$t8 +/* f0636f4: 94590364 */ lhu $t9,0x364($v0) +/* f0636f8: 272d0001 */ addiu $t5,$t9,0x1 +/* f0636fc: a44d0364 */ sh $t5,0x364($v0) +/* f063700: 92030000 */ lbu $v1,0x0($s0) +/* f063704: 12a30005 */ beq $s5,$v1,.PB0f06371c +/* f063708: 00000000 */ nop +/* f06370c: 10610003 */ beq $v1,$at,.PB0f06371c +/* f063710: 24010002 */ li $at,0x2 +/* f063714: 54610006 */ bnel $v1,$at,.PB0f063730 +/* f063718: 24010007 */ li $at,0x7 +.PB0f06371c: +/* f06371c: 0fc1fa3e */ jal 0xf07e8f8 +/* f063720: 02002025 */ move $a0,$s0 +/* f063724: 10000017 */ b .PB0f063784 +/* f063728: 00403025 */ move $a2,$v0 +/* f06372c: 24010007 */ li $at,0x7 +.PB0f063730: +/* f063730: 54610006 */ bnel $v1,$at,.PB0f06374c +/* f063734: 24010008 */ li $at,0x8 +/* f063738: 0fc4b6ba */ jal 0xf12dae8 +/* f06373c: 02002025 */ move $a0,$s0 +/* f063740: 10000010 */ b .PB0f063784 +/* f063744: 00403025 */ move $a2,$v0 +/* f063748: 24010008 */ li $at,0x8 +.PB0f06374c: +/* f06374c: 54610006 */ bnel $v1,$at,.PB0f063768 +/* f063750: 24010006 */ li $at,0x6 +/* f063754: 0fc4c1b5 */ jal 0xf1306d4 +/* f063758: 02002025 */ move $a0,$s0 +/* f06375c: 10000009 */ b .PB0f063784 +/* f063760: 00403025 */ move $a2,$v0 +/* f063764: 24010006 */ li $at,0x6 +.PB0f063768: +/* f063768: 54610007 */ bnel $v1,$at,.PB0f063788 +/* f06376c: 962e035e */ lhu $t6,0x35e($s1) +/* f063770: 0fc527cc */ jal 0xf149f30 +/* f063774: 02002025 */ move $a0,$s0 +/* f063778: 0fc309fe */ jal 0xf0c27f8 +/* f06377c: 02002025 */ move $a0,$s0 +/* f063780: 00403025 */ move $a2,$v0 +.PB0f063784: +/* f063784: 962e035e */ lhu $t6,0x35e($s1) +.PB0f063788: +/* f063788: 960f0038 */ lhu $t7,0x38($s0) +/* f06378c: 8fb8008c */ lw $t8,0x8c($sp) +/* f063790: 51cf0009 */ beql $t6,$t7,.PB0f0637b8 +/* f063794: 920e003f */ lbu $t6,0x3f($s0) +/* f063798: 8fb90088 */ lw $t9,0x88($sp) +/* f06379c: c7aa0084 */ lwc1 $f10,0x84($sp) +/* f0637a0: c7b00080 */ lwc1 $f16,0x80($sp) +/* f0637a4: ae380034 */ sw $t8,0x34($s1) +/* f0637a8: ae390038 */ sw $t9,0x38($s1) +/* f0637ac: e62a0044 */ swc1 $f10,0x44($s1) +/* f0637b0: e630004c */ swc1 $f16,0x4c($s1) +/* f0637b4: 920e003f */ lbu $t6,0x3f($s0) +.PB0f0637b8: +/* f0637b8: 962d035c */ lhu $t5,0x35c($s1) +/* f0637bc: a600003a */ sh $zero,0x3a($s0) +/* f0637c0: 31cfffbf */ andi $t7,$t6,0xffbf +/* f0637c4: a20f003f */ sb $t7,0x3f($s0) +/* f0637c8: 100000a5 */ b .PB0f063a60 +/* f0637cc: a60d0038 */ sh $t5,0x38($s0) +.PB0f0637d0: +/* f0637d0: 92180000 */ lbu $t8,0x0($s0) +/* f0637d4: 93a30069 */ lbu $v1,0x69($sp) +/* f0637d8: 5698000b */ bnel $s4,$t8,.PB0f063808 +/* f0637dc: 9218003d */ lbu $t8,0x3d($s0) +/* f0637e0: 9219003d */ lbu $t9,0x3d($s0) +/* f0637e4: 001968c0 */ sll $t5,$t9,0x3 +/* f0637e8: 01b96823 */ subu $t5,$t5,$t9 +/* f0637ec: 000d6880 */ sll $t5,$t5,0x2 +/* f0637f0: 022d1021 */ addu $v0,$s1,$t5 +/* f0637f4: 944e0362 */ lhu $t6,0x362($v0) +/* f0637f8: 25cf0001 */ addiu $t7,$t6,0x1 +/* f0637fc: 10000009 */ b .PB0f063824 +/* f063800: a44f0362 */ sh $t7,0x362($v0) +/* f063804: 9218003d */ lbu $t8,0x3d($s0) +.PB0f063808: +/* f063808: 0018c8c0 */ sll $t9,$t8,0x3 +/* f06380c: 0338c823 */ subu $t9,$t9,$t8 +/* f063810: 0019c880 */ sll $t9,$t9,0x2 +/* f063814: 02391021 */ addu $v0,$s1,$t9 +/* f063818: 944d0360 */ lhu $t5,0x360($v0) +/* f06381c: 25ae0001 */ addiu $t6,$t5,0x1 +/* f063820: a44e0360 */ sh $t6,0x360($v0) +.PB0f063824: +/* f063824: 920f003d */ lbu $t7,0x3d($s0) +/* f063828: 8fb90034 */ lw $t9,0x34($sp) +/* f06382c: 546f008d */ bnel $v1,$t7,.PB0f063a64 +/* f063830: 8fad008c */ lw $t5,0x8c($sp) +/* f063834: 96180038 */ lhu $t8,0x38($s0) +/* f063838: 972d0378 */ lhu $t5,0x378($t9) +/* f06383c: 3c017f1b */ lui $at,0x7f1b +/* f063840: 530d001a */ beql $t8,$t5,.PB0f0638ac +/* f063844: 8fad007c */ lw $t5,0x7c($sp) +/* f063848: 960e003a */ lhu $t6,0x3a($s0) +/* f06384c: 3c013e80 */ lui $at,0x3e80 +/* f063850: 44813000 */ mtc1 $at,$f6 +/* f063854: ae2e0034 */ sw $t6,0x34($s1) +/* f063858: 9219003c */ lbu $t9,0x3c($s0) +/* f06385c: 960f003a */ lhu $t7,0x3a($s0) +/* f063860: 3c017f1b */ lui $at,0x7f1b +/* f063864: 01f9c021 */ addu $t8,$t7,$t9 +/* f063868: ae380038 */ sw $t8,0x38($s1) +/* f06386c: 330e0003 */ andi $t6,$t8,0x3 +/* f063870: a20e003c */ sb $t6,0x3c($s0) +/* f063874: 8e380034 */ lw $t8,0x34($s1) +/* f063878: 8e2f0038 */ lw $t7,0x38($s1) +/* f06387c: 44989000 */ mtc1 $t8,$f18 +/* f063880: 000fc883 */ sra $t9,$t7,0x2 +/* f063884: ae390038 */ sw $t9,0x38($s1) +/* f063888: 46809120 */ cvt.s.w $f4,$f18 +/* f06388c: 46062202 */ mul.s $f8,$f4,$f6 +/* f063890: e6280044 */ swc1 $f8,0x44($s1) +/* f063894: c430bc0c */ lwc1 $f16,-0x43f4($at) +/* f063898: c62a0044 */ lwc1 $f10,0x44($s1) +/* f06389c: 46105482 */ mul.s $f18,$f10,$f16 +/* f0638a0: 1000000c */ b .PB0f0638d4 +/* f0638a4: e632004c */ swc1 $f18,0x4c($s1) +/* f0638a8: 8fad007c */ lw $t5,0x7c($sp) +.PB0f0638ac: +/* f0638ac: 8fae0078 */ lw $t6,0x78($sp) +/* f0638b0: c7a40074 */ lwc1 $f4,0x74($sp) +/* f0638b4: ae2d0034 */ sw $t5,0x34($s1) +/* f0638b8: ae2e0038 */ sw $t6,0x38($s1) +/* f0638bc: e6240044 */ swc1 $f4,0x44($s1) +/* f0638c0: c428bc10 */ lwc1 $f8,-0x43f0($at) +/* f0638c4: c7a60074 */ lwc1 $f6,0x74($sp) +/* f0638c8: 3c01800a */ lui $at,0x800a +/* f0638cc: 46083282 */ mul.s $f10,$f6,$f8 +/* f0638d0: e42ae51c */ swc1 $f10,-0x1ae4($at) +.PB0f0638d4: +/* f0638d4: 92030000 */ lbu $v1,0x0($s0) +/* f0638d8: 16830013 */ bne $s4,$v1,.PB0f063928 +/* f0638dc: 00000000 */ nop +/* f0638e0: 8e020004 */ lw $v0,0x4($s0) +/* f0638e4: 02002025 */ move $a0,$s0 +/* f0638e8: 0fc527cc */ jal 0xf149f30 +/* f0638ec: afa20044 */ sw $v0,0x44($sp) +/* f0638f0: 8fa20044 */ lw $v0,0x44($sp) +/* f0638f4: 10400008 */ beqz $v0,.PB0f063918 +/* f0638f8: 00000000 */ nop +/* f0638fc: 8c4f02d4 */ lw $t7,0x2d4($v0) +/* f063900: 11e00005 */ beqz $t7,.PB0f063918 +/* f063904: 00000000 */ nop +/* f063908: 0fc64d1e */ jal 0xf193478 +/* f06390c: 02002025 */ move $a0,$s0 +/* f063910: 1000003c */ b .PB0f063a04 +/* f063914: 00403025 */ move $a2,$v0 +.PB0f063918: +/* f063918: 0fc08c5d */ jal 0xf023174 +/* f06391c: 02002025 */ move $a0,$s0 +/* f063920: 10000038 */ b .PB0f063a04 +/* f063924: 00403025 */ move $a2,$v0 +.PB0f063928: +/* f063928: 12a30005 */ beq $s5,$v1,.PB0f063940 +/* f06392c: 24010004 */ li $at,0x4 +/* f063930: 10610003 */ beq $v1,$at,.PB0f063940 +/* f063934: 24010002 */ li $at,0x2 +/* f063938: 5461001d */ bnel $v1,$at,.PB0f0639b0 +/* f06393c: 24010007 */ li $at,0x7 +.PB0f063940: +/* f063940: 8e020004 */ lw $v0,0x4($s0) +/* f063944: 3c188007 */ lui $t8,0x8007 +/* f063948: 90590003 */ lbu $t9,0x3($v0) +/* f06394c: 0319c021 */ addu $t8,$t8,$t9 +/* f063950: 9318af54 */ lbu $t8,-0x50ac($t8) +/* f063954: 57000006 */ bnezl $t8,.PB0f063970 +/* f063958: 860d0002 */ lh $t5,0x2($s0) +/* f06395c: 0fc1fa3e */ jal 0xf07e8f8 +/* f063960: 02002025 */ move $a0,$s0 +/* f063964: 10000027 */ b .PB0f063a04 +/* f063968: 00403025 */ move $a2,$v0 +/* f06396c: 860d0002 */ lh $t5,0x2($s0) +.PB0f063970: +/* f063970: 5da00025 */ bgtzl $t5,.PB0f063a08 +/* f063974: 8faf0034 */ lw $t7,0x34($sp) +/* f063978: 920e003e */ lbu $t6,0x3e($s0) +/* f06397c: 25cf0001 */ addiu $t7,$t6,0x1 +/* f063980: a20f003e */ sb $t7,0x3e($s0) +/* f063984: 92380358 */ lbu $t8,0x358($s1) +/* f063988: 31f900ff */ andi $t9,$t7,0xff +/* f06398c: 270dffff */ addiu $t5,$t8,-1 +/* f063990: 01b9082a */ slt $at,$t5,$t9 +/* f063994: 5020001c */ beqzl $at,.PB0f063a08 +/* f063998: 8faf0034 */ lw $t7,0x34($sp) +/* f06399c: 0fc18c2a */ jal 0xf0630a8 +/* f0639a0: 02002025 */ move $a0,$s0 +/* f0639a4: 10000017 */ b .PB0f063a04 +/* f0639a8: 24060005 */ li $a2,0x5 +/* f0639ac: 24010007 */ li $at,0x7 +.PB0f0639b0: +/* f0639b0: 54610006 */ bnel $v1,$at,.PB0f0639cc +/* f0639b4: 24010008 */ li $at,0x8 +/* f0639b8: 0fc4b6ba */ jal 0xf12dae8 +/* f0639bc: 02002025 */ move $a0,$s0 +/* f0639c0: 10000010 */ b .PB0f063a04 +/* f0639c4: 00403025 */ move $a2,$v0 +/* f0639c8: 24010008 */ li $at,0x8 +.PB0f0639cc: +/* f0639cc: 54610006 */ bnel $v1,$at,.PB0f0639e8 +/* f0639d0: 24010006 */ li $at,0x6 +/* f0639d4: 0fc4c1b5 */ jal 0xf1306d4 +/* f0639d8: 02002025 */ move $a0,$s0 +/* f0639dc: 10000009 */ b .PB0f063a04 +/* f0639e0: 00403025 */ move $a2,$v0 +/* f0639e4: 24010006 */ li $at,0x6 +.PB0f0639e8: +/* f0639e8: 54610007 */ bnel $v1,$at,.PB0f063a08 +/* f0639ec: 8faf0034 */ lw $t7,0x34($sp) +/* f0639f0: 0fc527cc */ jal 0xf149f30 +/* f0639f4: 02002025 */ move $a0,$s0 +/* f0639f8: 0fc309fe */ jal 0xf0c27f8 +/* f0639fc: 02002025 */ move $a0,$s0 +/* f063a00: 00403025 */ move $a2,$v0 +.PB0f063a04: +/* f063a04: 8faf0034 */ lw $t7,0x34($sp) +.PB0f063a08: +/* f063a08: 960e0038 */ lhu $t6,0x38($s0) +/* f063a0c: 8fb9007c */ lw $t9,0x7c($sp) +/* f063a10: 95f80378 */ lhu $t8,0x378($t7) +/* f063a14: 3c017f1b */ lui $at,0x7f1b +/* f063a18: 51d8000c */ beql $t6,$t8,.PB0f063a4c +/* f063a1c: 9218003f */ lbu $t8,0x3f($s0) +/* f063a20: 8fad0078 */ lw $t5,0x78($sp) +/* f063a24: c7b00074 */ lwc1 $f16,0x74($sp) +/* f063a28: ae390034 */ sw $t9,0x34($s1) +/* f063a2c: ae2d0038 */ sw $t5,0x38($s1) +/* f063a30: e6300044 */ swc1 $f16,0x44($s1) +/* f063a34: c424bc14 */ lwc1 $f4,-0x43ec($at) +/* f063a38: c7b20074 */ lwc1 $f18,0x74($sp) +/* f063a3c: 3c01800a */ lui $at,0x800a +/* f063a40: 46049182 */ mul.s $f6,$f18,$f4 +/* f063a44: e426e51c */ swc1 $f6,-0x1ae4($at) +/* f063a48: 9218003f */ lbu $t8,0x3f($s0) +.PB0f063a4c: +/* f063a4c: 962f035c */ lhu $t7,0x35c($s1) +/* f063a50: a600003a */ sh $zero,0x3a($s0) +/* f063a54: 37190040 */ ori $t9,$t8,0x40 +/* f063a58: a219003f */ sb $t9,0x3f($s0) +/* f063a5c: a60f0038 */ sh $t7,0x38($s0) +.PB0f063a60: +/* f063a60: 8fad008c */ lw $t5,0x8c($sp) +.PB0f063a64: +/* f063a64: 8faf0088 */ lw $t7,0x88($sp) +/* f063a68: c7a80084 */ lwc1 $f8,0x84($sp) +/* f063a6c: c7aa0080 */ lwc1 $f10,0x80($sp) +/* f063a70: 24010005 */ li $at,0x5 +/* f063a74: ae2d0034 */ sw $t5,0x34($s1) +/* f063a78: ae2f0038 */ sw $t7,0x38($s1) +/* f063a7c: e6280044 */ swc1 $f8,0x44($s1) +/* f063a80: 14c10003 */ bne $a2,$at,.PB0f063a90 +/* f063a84: e62a004c */ swc1 $f10,0x4c($s1) +/* f063a88: 1000001d */ b .PB0f063b00 +/* f063a8c: 8fa2005c */ lw $v0,0x5c($sp) +.PB0f063a90: +/* f063a90: 8e020020 */ lw $v0,0x20($s0) +/* f063a94: 8e2e0354 */ lw $t6,0x354($s1) +/* f063a98: 02002025 */ move $a0,$s0 +/* f063a9c: 00c02825 */ move $a1,$a2 +/* f063aa0: 004ec026 */ xor $t8,$v0,$t6 +/* f063aa4: 2f180001 */ sltiu $t8,$t8,0x1 +/* f063aa8: 14d40012 */ bne $a2,$s4,.PB0f063af4 +/* f063aac: afb8004c */ sw $t8,0x4c($sp) +/* f063ab0: 920f003f */ lbu $t7,0x3f($s0) +/* f063ab4: 3419ffff */ li $t9,0xffff +/* f063ab8: a6190038 */ sh $t9,0x38($s0) +/* f063abc: 35ee0080 */ ori $t6,$t7,0x80 +/* f063ac0: a20e003f */ sb $t6,0x3f($s0) +/* f063ac4: afa20060 */ sw $v0,0x60($sp) +/* f063ac8: 0fc181dd */ jal 0xf060774 +/* f063acc: 02002025 */ move $a0,$s0 +/* f063ad0: 0fc181ba */ jal 0xf0606e8 +/* f063ad4: 02002025 */ move $a0,$s0 +/* f063ad8: 8fb8004c */ lw $t8,0x4c($sp) +/* f063adc: 8fa20060 */ lw $v0,0x60($sp) +/* f063ae0: 53000008 */ beqzl $t8,.PB0f063b04 +/* f063ae4: 8fb9004c */ lw $t9,0x4c($sp) +/* f063ae8: 02001025 */ move $v0,$s0 +/* f063aec: 10000004 */ b .PB0f063b00 +/* f063af0: afa0004c */ sw $zero,0x4c($sp) +.PB0f063af4: +/* f063af4: 0fc18b45 */ jal 0xf062d14 +/* f063af8: afa20060 */ sw $v0,0x60($sp) +/* f063afc: 8fa20060 */ lw $v0,0x60($sp) +.PB0f063b00: +/* f063b00: 8fb9004c */ lw $t9,0x4c($sp) +.PB0f063b04: +/* f063b04: 00408025 */ move $s0,$v0 +/* f063b08: 5320fe53 */ beqzl $t9,.PB0f063458 +/* f063b0c: 8e0f0020 */ lw $t7,0x20($s0) +/* f063b10: 8e2d0290 */ lw $t5,0x290($s1) +/* f063b14: 8faa0034 */ lw $t2,0x34($sp) +/* f063b18: 24140003 */ li $s4,0x3 +/* f063b1c: 15a00104 */ bnez $t5,.PB0f063f30 +/* f063b20: 24150001 */ li $s5,0x1 +/* f063b24: 922f035a */ lbu $t7,0x35a($s1) +/* f063b28: afaa0034 */ sw $t2,0x34($sp) +/* f063b2c: 24087fff */ li $t0,0x7fff +/* f063b30: 55e00100 */ bnezl $t7,.PB0f063f34 +/* f063b34: 8fb9008c */ lw $t9,0x8c($sp) +/* f063b38: 922c0358 */ lbu $t4,0x358($s1) +/* f063b3c: 00004825 */ move $t1,$zero +/* f063b40: 00002825 */ move $a1,$zero +/* f063b44: 01805025 */ move $t2,$t4 +/* f063b48: 318b00ff */ andi $t3,$t4,0xff +/* f063b4c: 19800015 */ blez $t4,.PB0f063ba4 +/* f063b50: 01803825 */ move $a3,$t4 +/* f063b54: 3c02800a */ lui $v0,0x800a +/* f063b58: 2442e4d0 */ addiu $v0,$v0,-6960 +.PB0f063b5c: +/* f063b5c: 94430360 */ lhu $v1,0x360($v0) +/* f063b60: 01202025 */ move $a0,$t1 +/* f063b64: 0068082a */ slt $at,$v1,$t0 +/* f063b68: 10200003 */ beqz $at,.PB0f063b78 +/* f063b6c: 00603025 */ move $a2,$v1 +/* f063b70: 3068ffff */ andi $t0,$v1,0xffff +/* f063b74: 30aa00ff */ andi $t2,$a1,0xff +.PB0f063b78: +/* f063b78: 0086082a */ slt $at,$a0,$a2 +/* f063b7c: 50200004 */ beqzl $at,.PB0f063b90 +/* f063b80: 24a50001 */ addiu $a1,$a1,0x1 +/* f063b84: 3069ffff */ andi $t1,$v1,0xffff +/* f063b88: 30ab00ff */ andi $t3,$a1,0xff +/* f063b8c: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f063b90: +/* f063b90: 00a7082a */ slt $at,$a1,$a3 +/* f063b94: 1420fff1 */ bnez $at,.PB0f063b5c +/* f063b98: 2442001c */ addiu $v0,$v0,0x1c +/* f063b9c: 24087fff */ li $t0,0x7fff +/* f063ba0: 00004825 */ move $t1,$zero +.PB0f063ba4: +/* f063ba4: 2403001c */ li $v1,0x1c +/* f063ba8: 01630019 */ multu $t3,$v1 +/* f063bac: 00007012 */ mflo $t6 +/* f063bb0: 022ec021 */ addu $t8,$s1,$t6 +/* f063bb4: 97190360 */ lhu $t9,0x360($t8) +/* f063bb8: 01430019 */ multu $t2,$v1 +/* f063bbc: 00006812 */ mflo $t5 +/* f063bc0: 022d7821 */ addu $t7,$s1,$t5 +/* f063bc4: 95ee0360 */ lhu $t6,0x360($t7) +/* f063bc8: 032e2823 */ subu $a1,$t9,$t6 +/* f063bcc: 0005c043 */ sra $t8,$a1,0x1 +/* f063bd0: 1300001d */ beqz $t8,.PB0f063c48 +/* f063bd4: 03002825 */ move $a1,$t8 +/* f063bd8: 8e30033c */ lw $s0,0x33c($s1) +/* f063bdc: 8e2d0354 */ lw $t5,0x354($s1) +/* f063be0: 01601025 */ move $v0,$t3 +/* f063be4: 520d0019 */ beql $s0,$t5,.PB0f063c4c +/* f063be8: 318a00ff */ andi $t2,$t4,0xff +/* f063bec: 920f003d */ lbu $t7,0x3d($s0) +.PB0f063bf0: +/* f063bf0: 544f0010 */ bnel $v0,$t7,.PB0f063c34 +/* f063bf4: 8e100020 */ lw $s0,0x20($s0) +/* f063bf8: 8e19003c */ lw $t9,0x3c($s0) +/* f063bfc: 00197640 */ sll $t6,$t9,0x19 +/* f063c00: 000ec7c2 */ srl $t8,$t6,0x1f +/* f063c04: 56b8000b */ bnel $s5,$t8,.PB0f063c34 +/* f063c08: 8e100020 */ lw $s0,0x20($s0) +/* f063c0c: 920d0000 */ lbu $t5,0x0($s0) +/* f063c10: 528d0008 */ beql $s4,$t5,.PB0f063c34 +/* f063c14: 8e100020 */ lw $s0,0x20($s0) +/* f063c18: 24a5ffff */ addiu $a1,$a1,-1 +/* f063c1c: 14a00004 */ bnez $a1,.PB0f063c30 +/* f063c20: a20a003d */ sb $t2,0x3d($s0) +/* f063c24: 922c0358 */ lbu $t4,0x358($s1) +/* f063c28: 10000007 */ b .PB0f063c48 +/* f063c2c: 01803825 */ move $a3,$t4 +.PB0f063c30: +/* f063c30: 8e100020 */ lw $s0,0x20($s0) +.PB0f063c34: +/* f063c34: 8e2f0354 */ lw $t7,0x354($s1) +/* f063c38: 560fffed */ bnel $s0,$t7,.PB0f063bf0 +/* f063c3c: 920f003d */ lbu $t7,0x3d($s0) +/* f063c40: 922c0358 */ lbu $t4,0x358($s1) +/* f063c44: 01803825 */ move $a3,$t4 +.PB0f063c48: +/* f063c48: 318a00ff */ andi $t2,$t4,0xff +.PB0f063c4c: +/* f063c4c: 318b00ff */ andi $t3,$t4,0xff +/* f063c50: 18e00016 */ blez $a3,.PB0f063cac +/* f063c54: 00002825 */ move $a1,$zero +/* f063c58: 3c02800a */ lui $v0,0x800a +/* f063c5c: 2442e4d0 */ addiu $v0,$v0,-6960 +.PB0f063c60: +/* f063c60: 94430364 */ lhu $v1,0x364($v0) +/* f063c64: 01202025 */ move $a0,$t1 +/* f063c68: 0068082a */ slt $at,$v1,$t0 +/* f063c6c: 10200003 */ beqz $at,.PB0f063c7c +/* f063c70: 00603025 */ move $a2,$v1 +/* f063c74: 3068ffff */ andi $t0,$v1,0xffff +/* f063c78: 30aa00ff */ andi $t2,$a1,0xff +.PB0f063c7c: +/* f063c7c: 0086082a */ slt $at,$a0,$a2 +/* f063c80: 50200004 */ beqzl $at,.PB0f063c94 +/* f063c84: 24a50001 */ addiu $a1,$a1,0x1 +/* f063c88: 3069ffff */ andi $t1,$v1,0xffff +/* f063c8c: 30ab00ff */ andi $t3,$a1,0xff +/* f063c90: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f063c94: +/* f063c94: 00a7082a */ slt $at,$a1,$a3 +/* f063c98: 1420fff1 */ bnez $at,.PB0f063c60 +/* f063c9c: 2442001c */ addiu $v0,$v0,0x1c +/* f063ca0: 24087fff */ li $t0,0x7fff +/* f063ca4: 00004825 */ move $t1,$zero +/* f063ca8: 2403001c */ li $v1,0x1c +.PB0f063cac: +/* f063cac: 01630019 */ multu $t3,$v1 +/* f063cb0: 0000c812 */ mflo $t9 +/* f063cb4: 02397021 */ addu $t6,$s1,$t9 +/* f063cb8: 95d80364 */ lhu $t8,0x364($t6) +/* f063cbc: 01430019 */ multu $t2,$v1 +/* f063cc0: 00006812 */ mflo $t5 +/* f063cc4: 022d7821 */ addu $t7,$s1,$t5 +/* f063cc8: 95f90364 */ lhu $t9,0x364($t7) +/* f063ccc: 03192823 */ subu $a1,$t8,$t9 +/* f063cd0: 00057043 */ sra $t6,$a1,0x1 +/* f063cd4: 11c0001c */ beqz $t6,.PB0f063d48 +/* f063cd8: 01c02825 */ move $a1,$t6 +/* f063cdc: 8e30033c */ lw $s0,0x33c($s1) +/* f063ce0: 8e2d0354 */ lw $t5,0x354($s1) +/* f063ce4: 01601025 */ move $v0,$t3 +/* f063ce8: 520d0018 */ beql $s0,$t5,.PB0f063d4c +/* f063cec: 318a00ff */ andi $t2,$t4,0xff +/* f063cf0: 920f003d */ lbu $t7,0x3d($s0) +.PB0f063cf4: +/* f063cf4: 544f000f */ bnel $v0,$t7,.PB0f063d34 +/* f063cf8: 8e100020 */ lw $s0,0x20($s0) +/* f063cfc: 8e18003c */ lw $t8,0x3c($s0) +/* f063d00: 00187640 */ sll $t6,$t8,0x19 +/* f063d04: 05c2000b */ bltzl $t6,.PB0f063d34 +/* f063d08: 8e100020 */ lw $s0,0x20($s0) +/* f063d0c: 920d0000 */ lbu $t5,0x0($s0) +/* f063d10: 528d0008 */ beql $s4,$t5,.PB0f063d34 +/* f063d14: 8e100020 */ lw $s0,0x20($s0) +/* f063d18: 24a5ffff */ addiu $a1,$a1,-1 +/* f063d1c: 14a00004 */ bnez $a1,.PB0f063d30 +/* f063d20: a20a003d */ sb $t2,0x3d($s0) +/* f063d24: 922c0358 */ lbu $t4,0x358($s1) +/* f063d28: 10000007 */ b .PB0f063d48 +/* f063d2c: 01803825 */ move $a3,$t4 +.PB0f063d30: +/* f063d30: 8e100020 */ lw $s0,0x20($s0) +.PB0f063d34: +/* f063d34: 8e2f0354 */ lw $t7,0x354($s1) +/* f063d38: 560fffee */ bnel $s0,$t7,.PB0f063cf4 +/* f063d3c: 920f003d */ lbu $t7,0x3d($s0) +/* f063d40: 922c0358 */ lbu $t4,0x358($s1) +/* f063d44: 01803825 */ move $a3,$t4 +.PB0f063d48: +/* f063d48: 318a00ff */ andi $t2,$t4,0xff +.PB0f063d4c: +/* f063d4c: 318b00ff */ andi $t3,$t4,0xff +/* f063d50: 18e00016 */ blez $a3,.PB0f063dac +/* f063d54: 00002825 */ move $a1,$zero +/* f063d58: 3c02800a */ lui $v0,0x800a +/* f063d5c: 2442e4d0 */ addiu $v0,$v0,-6960 +.PB0f063d60: +/* f063d60: 94430362 */ lhu $v1,0x362($v0) +/* f063d64: 01202025 */ move $a0,$t1 +/* f063d68: 0068082a */ slt $at,$v1,$t0 +/* f063d6c: 10200003 */ beqz $at,.PB0f063d7c +/* f063d70: 00603025 */ move $a2,$v1 +/* f063d74: 3068ffff */ andi $t0,$v1,0xffff +/* f063d78: 30aa00ff */ andi $t2,$a1,0xff +.PB0f063d7c: +/* f063d7c: 0086082a */ slt $at,$a0,$a2 +/* f063d80: 50200004 */ beqzl $at,.PB0f063d94 +/* f063d84: 24a50001 */ addiu $a1,$a1,0x1 +/* f063d88: 3069ffff */ andi $t1,$v1,0xffff +/* f063d8c: 30ab00ff */ andi $t3,$a1,0xff +/* f063d90: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f063d94: +/* f063d94: 00a7082a */ slt $at,$a1,$a3 +/* f063d98: 1420fff1 */ bnez $at,.PB0f063d60 +/* f063d9c: 2442001c */ addiu $v0,$v0,0x1c +/* f063da0: 24087fff */ li $t0,0x7fff +/* f063da4: 00004825 */ move $t1,$zero +/* f063da8: 2403001c */ li $v1,0x1c +.PB0f063dac: +/* f063dac: 01630019 */ multu $t3,$v1 +/* f063db0: 0000c012 */ mflo $t8 +/* f063db4: 0238c821 */ addu $t9,$s1,$t8 +/* f063db8: 972e0362 */ lhu $t6,0x362($t9) +/* f063dbc: 01430019 */ multu $t2,$v1 +/* f063dc0: 00006812 */ mflo $t5 +/* f063dc4: 022d7821 */ addu $t7,$s1,$t5 +/* f063dc8: 95f80362 */ lhu $t8,0x362($t7) +/* f063dcc: 01d82823 */ subu $a1,$t6,$t8 +/* f063dd0: 0005c843 */ sra $t9,$a1,0x1 +/* f063dd4: 1320001d */ beqz $t9,.PB0f063e4c +/* f063dd8: 03202825 */ move $a1,$t9 +/* f063ddc: 8e30033c */ lw $s0,0x33c($s1) +/* f063de0: 8e2d0354 */ lw $t5,0x354($s1) +/* f063de4: 01601025 */ move $v0,$t3 +/* f063de8: 520d0019 */ beql $s0,$t5,.PB0f063e50 +/* f063dec: 318a00ff */ andi $t2,$t4,0xff +/* f063df0: 920f003d */ lbu $t7,0x3d($s0) +.PB0f063df4: +/* f063df4: 544f0010 */ bnel $v0,$t7,.PB0f063e38 +/* f063df8: 8e100020 */ lw $s0,0x20($s0) +/* f063dfc: 8e0e003c */ lw $t6,0x3c($s0) +/* f063e00: 000ec640 */ sll $t8,$t6,0x19 +/* f063e04: 0018cfc2 */ srl $t9,$t8,0x1f +/* f063e08: 56b9000b */ bnel $s5,$t9,.PB0f063e38 +/* f063e0c: 8e100020 */ lw $s0,0x20($s0) +/* f063e10: 920d0000 */ lbu $t5,0x0($s0) +/* f063e14: 568d0008 */ bnel $s4,$t5,.PB0f063e38 +/* f063e18: 8e100020 */ lw $s0,0x20($s0) +/* f063e1c: 24a5ffff */ addiu $a1,$a1,-1 +/* f063e20: 14a00004 */ bnez $a1,.PB0f063e34 +/* f063e24: a20a003d */ sb $t2,0x3d($s0) +/* f063e28: 922c0358 */ lbu $t4,0x358($s1) +/* f063e2c: 10000007 */ b .PB0f063e4c +/* f063e30: 01803825 */ move $a3,$t4 +.PB0f063e34: +/* f063e34: 8e100020 */ lw $s0,0x20($s0) +.PB0f063e38: +/* f063e38: 8e2f0354 */ lw $t7,0x354($s1) +/* f063e3c: 560fffed */ bnel $s0,$t7,.PB0f063df4 +/* f063e40: 920f003d */ lbu $t7,0x3d($s0) +/* f063e44: 922c0358 */ lbu $t4,0x358($s1) +/* f063e48: 01803825 */ move $a3,$t4 +.PB0f063e4c: +/* f063e4c: 318a00ff */ andi $t2,$t4,0xff +.PB0f063e50: +/* f063e50: 318b00ff */ andi $t3,$t4,0xff +/* f063e54: 18e00014 */ blez $a3,.PB0f063ea8 +/* f063e58: 00002825 */ move $a1,$zero +/* f063e5c: 3c02800a */ lui $v0,0x800a +/* f063e60: 2442e4d0 */ addiu $v0,$v0,-6960 +.PB0f063e64: +/* f063e64: 94430366 */ lhu $v1,0x366($v0) +/* f063e68: 01202025 */ move $a0,$t1 +/* f063e6c: 0068082a */ slt $at,$v1,$t0 +/* f063e70: 10200003 */ beqz $at,.PB0f063e80 +/* f063e74: 00603025 */ move $a2,$v1 +/* f063e78: 3068ffff */ andi $t0,$v1,0xffff +/* f063e7c: 30aa00ff */ andi $t2,$a1,0xff +.PB0f063e80: +/* f063e80: 0086082a */ slt $at,$a0,$a2 +/* f063e84: 50200004 */ beqzl $at,.PB0f063e98 +/* f063e88: 24a50001 */ addiu $a1,$a1,0x1 +/* f063e8c: 3069ffff */ andi $t1,$v1,0xffff +/* f063e90: 30ab00ff */ andi $t3,$a1,0xff +/* f063e94: 24a50001 */ addiu $a1,$a1,0x1 +.PB0f063e98: +/* f063e98: 00a7082a */ slt $at,$a1,$a3 +/* f063e9c: 1420fff1 */ bnez $at,.PB0f063e64 +/* f063ea0: 2442001c */ addiu $v0,$v0,0x1c +/* f063ea4: 2403001c */ li $v1,0x1c +.PB0f063ea8: +/* f063ea8: 01630019 */ multu $t3,$v1 +/* f063eac: 00007012 */ mflo $t6 +/* f063eb0: 022ec021 */ addu $t8,$s1,$t6 +/* f063eb4: 97190366 */ lhu $t9,0x366($t8) +/* f063eb8: 01430019 */ multu $t2,$v1 +/* f063ebc: 00006812 */ mflo $t5 +/* f063ec0: 022d7821 */ addu $t7,$s1,$t5 +/* f063ec4: 95ee0366 */ lhu $t6,0x366($t7) +/* f063ec8: 032e2823 */ subu $a1,$t9,$t6 +/* f063ecc: 0005c043 */ sra $t8,$a1,0x1 +/* f063ed0: 13000017 */ beqz $t8,.PB0f063f30 +/* f063ed4: 03002825 */ move $a1,$t8 +/* f063ed8: 8e30033c */ lw $s0,0x33c($s1) +/* f063edc: 8e2d0354 */ lw $t5,0x354($s1) +/* f063ee0: 01601025 */ move $v0,$t3 +/* f063ee4: 520d0013 */ beql $s0,$t5,.PB0f063f34 +/* f063ee8: 8fb9008c */ lw $t9,0x8c($sp) +/* f063eec: 920f003d */ lbu $t7,0x3d($s0) +.PB0f063ef0: +/* f063ef0: 544f000c */ bnel $v0,$t7,.PB0f063f24 +/* f063ef4: 8e100020 */ lw $s0,0x20($s0) +/* f063ef8: 8e19003c */ lw $t9,0x3c($s0) +/* f063efc: 0019c640 */ sll $t8,$t9,0x19 +/* f063f00: 07020008 */ bltzl $t8,.PB0f063f24 +/* f063f04: 8e100020 */ lw $s0,0x20($s0) +/* f063f08: 920d0000 */ lbu $t5,0x0($s0) +/* f063f0c: 568d0005 */ bnel $s4,$t5,.PB0f063f24 +/* f063f10: 8e100020 */ lw $s0,0x20($s0) +/* f063f14: 24a5ffff */ addiu $a1,$a1,-1 +/* f063f18: 10a00005 */ beqz $a1,.PB0f063f30 +/* f063f1c: a20a003d */ sb $t2,0x3d($s0) +/* f063f20: 8e100020 */ lw $s0,0x20($s0) +.PB0f063f24: +/* f063f24: 8e2f0354 */ lw $t7,0x354($s1) +/* f063f28: 560ffff1 */ bnel $s0,$t7,.PB0f063ef0 +/* f063f2c: 920f003d */ lbu $t7,0x3d($s0) +.PB0f063f30: +/* f063f30: 8fb9008c */ lw $t9,0x8c($sp) +.PB0f063f34: +/* f063f34: 8fae0088 */ lw $t6,0x88($sp) +/* f063f38: c7b00084 */ lwc1 $f16,0x84($sp) +/* f063f3c: c7b20080 */ lwc1 $f18,0x80($sp) +/* f063f40: 8faa0034 */ lw $t2,0x34($sp) +/* f063f44: ae390034 */ sw $t9,0x34($s1) +/* f063f48: ae2e0038 */ sw $t6,0x38($s1) +/* f063f4c: e6300044 */ swc1 $f16,0x44($s1) +/* f063f50: e632004c */ swc1 $f18,0x4c($s1) +/* f063f54: 8fad0098 */ lw $t5,0x98($sp) +/* f063f58: ad400370 */ sw $zero,0x370($t2) +/* f063f5c: 9638035c */ lhu $t8,0x35c($s1) +/* f063f60: 11a00007 */ beqz $t5,.PB0f063f80 +/* f063f64: a5580378 */ sh $t8,0x378($t2) +/* f063f68: 0fc24301 */ jal 0xf090c04 +/* f063f6c: 00000000 */ nop +/* f063f70: 0fc24cd2 */ jal 0xf093348 +/* f063f74: 00000000 */ nop +/* f063f78: 0fc1988d */ jal 0xf066234 +/* f063f7c: 00000000 */ nop +.PB0f063f80: +/* f063f80: 0fc091ff */ jal 0xf0247fc +/* f063f84: 00000000 */ nop +/* f063f88: 8fbf002c */ lw $ra,0x2c($sp) +/* f063f8c: 8fb00014 */ lw $s0,0x14($sp) +/* f063f90: 8fb10018 */ lw $s1,0x18($sp) +/* f063f94: 8fb2001c */ lw $s2,0x1c($sp) +/* f063f98: 8fb30020 */ lw $s3,0x20($sp) +/* f063f9c: 8fb40024 */ lw $s4,0x24($sp) +/* f063fa0: 8fb50028 */ lw $s5,0x28($sp) +/* f063fa4: 03e00008 */ jr $ra +/* f063fa8: 27bd0098 */ addiu $sp,$sp,0x98 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel propsTick diff --git a/src/game/propobj.c b/src/game/propobj.c index 04f72cc08..a9a225a63 100644 --- a/src/game/propobj.c +++ b/src/game/propobj.c @@ -74,7 +74,7 @@ #include "data.h" #include "types.h" -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA const char var7f1a9f60[] = "debugdoors"; #endif @@ -2905,6 +2905,269 @@ glabel func0f068c04 /* f069248: 03e00008 */ jr $ra /* f06924c: 00601025 */ move $v0,$v1 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f068c04 +/* f068de4: 27bdfed0 */ addiu $sp,$sp,-304 +/* f068de8: afbf0054 */ sw $ra,0x54($sp) +/* f068dec: afbe0050 */ sw $s8,0x50($sp) +/* f068df0: afb7004c */ sw $s7,0x4c($sp) +/* f068df4: afb60048 */ sw $s6,0x48($sp) +/* f068df8: afb50044 */ sw $s5,0x44($sp) +/* f068dfc: afb40040 */ sw $s4,0x40($sp) +/* f068e00: afb3003c */ sw $s3,0x3c($sp) +/* f068e04: afb20038 */ sw $s2,0x38($sp) +/* f068e08: afb10034 */ sw $s1,0x34($sp) +/* f068e0c: afb00030 */ sw $s0,0x30($sp) +/* f068e10: f7b80028 */ sdc1 $f24,0x28($sp) +/* f068e14: f7b60020 */ sdc1 $f22,0x20($sp) +/* f068e18: f7b40018 */ sdc1 $f20,0x18($sp) +/* f068e1c: afa40130 */ sw $a0,0x130($sp) +/* f068e20: afa50134 */ sw $a1,0x134($sp) +/* f068e24: afa60138 */ sw $a2,0x138($sp) +/* f068e28: 8c8f0004 */ lw $t7,0x4($a0) +/* f068e2c: 00807025 */ move $t6,$a0 +/* f068e30: 00009825 */ move $s3,$zero +/* f068e34: 0000a025 */ move $s4,$zero +/* f068e38: 00009025 */ move $s2,$zero +/* f068e3c: 0000a825 */ move $s5,$zero +/* f068e40: afaf012c */ sw $t7,0x12c($sp) +/* f068e44: 11e00095 */ beqz $t7,.PB0f06909c +/* f068e48: 01e03825 */ move $a3,$t7 +/* f068e4c: 8df80014 */ lw $t8,0x14($t7) +/* f068e50: 13000092 */ beqz $t8,.PB0f06909c +/* f068e54: 00000000 */ nop +/* f068e58: 3c17800b */ lui $s7,0x800b +/* f068e5c: 4480c000 */ mtc1 $zero,$f24 +/* f068e60: 26f78f48 */ addiu $s7,$s7,-28856 +/* f068e64: 241e008c */ li $s8,0x8c +/* f068e68: 2416ffff */ li $s6,-1 +/* f068e6c: 8fb9012c */ lw $t9,0x12c($sp) +.PB0f068e70: +/* f068e70: afa70128 */ sw $a3,0x128($sp) +/* f068e74: 84e900c4 */ lh $t1,0xc4($a3) +/* f068e78: 872800c4 */ lh $t0,0xc4($t9) +/* f068e7c: 5509007e */ bnel $t0,$t1,.PB0f069078 +/* f068e80: 8fa70128 */ lw $a3,0x128($sp) +/* f068e84: 3c02800a */ lui $v0,0x800a +/* f068e88: 8c42e754 */ lw $v0,-0x18ac($v0) +/* f068e8c: afa70128 */ sw $a3,0x128($sp) +/* f068e90: 8c4a00bc */ lw $t2,0xbc($v0) +/* f068e94: 51400078 */ beqzl $t2,.PB0f069078 +/* f068e98: 8fa70128 */ lw $a3,0x128($sp) +/* f068e9c: 8ce30014 */ lw $v1,0x14($a3) +/* f068ea0: 84e40006 */ lh $a0,0x6($a3) +/* f068ea4: 24501bb0 */ addiu $s0,$v0,0x1bb0 +/* f068ea8: afa70128 */ sw $a3,0x128($sp) +/* f068eac: 2405005e */ li $a1,0x5e +/* f068eb0: 27a600b0 */ addiu $a2,$sp,0xb0 +/* f068eb4: 0fc458d4 */ jal 0xf116350 +/* f068eb8: afa30104 */ sw $v1,0x104($sp) +/* f068ebc: 8fab012c */ lw $t3,0x12c($sp) +/* f068ec0: 3c010400 */ lui $at,0x400 +/* f068ec4: 8fa30104 */ lw $v1,0x104($sp) +/* f068ec8: 8d6c0010 */ lw $t4,0x10($t3) +/* f068ecc: 8fae012c */ lw $t6,0x12c($sp) +/* f068ed0: 01816824 */ and $t5,$t4,$at +/* f068ed4: 51a0000f */ beqzl $t5,.PB0f068f14 +/* f068ed8: 95cf0070 */ lhu $t7,0x70($t6) +/* f068edc: 0fc002c9 */ jal 0xf000b24 +/* f068ee0: 8fa400f8 */ lw $a0,0xf8($sp) +/* f068ee4: 02629821 */ addu $s3,$s3,$v0 +/* f068ee8: 0fc00315 */ jal 0xf000c54 +/* f068eec: 8fa400f8 */ lw $a0,0xf8($sp) +/* f068ef0: 0282a021 */ addu $s4,$s4,$v0 +/* f068ef4: 02741821 */ addu $v1,$s3,$s4 +/* f068ef8: 28610100 */ slti $at,$v1,0x100 +/* f068efc: 26b50001 */ addiu $s5,$s5,0x1 +/* f068f00: 1420005c */ bnez $at,.PB0f069074 +/* f068f04: 00609025 */ move $s2,$v1 +/* f068f08: 1000005a */ b .PB0f069074 +/* f068f0c: 241200ff */ li $s2,0xff +/* f068f10: 95cf0070 */ lhu $t7,0x70($t6) +.PB0f068f14: +/* f068f14: 00001025 */ move $v0,$zero +/* f068f18: 31f80008 */ andi $t8,$t7,0x8 +/* f068f1c: 5300000b */ beqzl $t8,.PB0f068f4c +/* f068f20: c6080000 */ lwc1 $f8,0x0($s0) +/* f068f24: c7b600d4 */ lwc1 $f22,0xd4($sp) +/* f068f28: c7a800d8 */ lwc1 $f8,0xd8($sp) +/* f068f2c: c7ac00dc */ lwc1 $f12,0xdc($sp) +/* f068f30: 4600b587 */ neg.s $f22,$f22 +/* f068f34: 46004287 */ neg.s $f10,$f8 +/* f068f38: 46006307 */ neg.s $f12,$f12 +/* f068f3c: e7b600d4 */ swc1 $f22,0xd4($sp) +/* f068f40: e7aa00d8 */ swc1 $f10,0xd8($sp) +/* f068f44: e7ac00dc */ swc1 $f12,0xdc($sp) +/* f068f48: c6080000 */ lwc1 $f8,0x0($s0) +.PB0f068f4c: +/* f068f4c: c7aa00b0 */ lwc1 $f10,0xb0($sp) +/* f068f50: c6040004 */ lwc1 $f4,0x4($s0) +/* f068f54: c7a600b4 */ lwc1 $f6,0xb4($sp) +/* f068f58: 460a4001 */ sub.s $f0,$f8,$f10 +/* f068f5c: c7aa00b8 */ lwc1 $f10,0xb8($sp) +/* f068f60: c6080008 */ lwc1 $f8,0x8($s0) +/* f068f64: 46062081 */ sub.s $f2,$f4,$f6 +/* f068f68: c7a400d4 */ lwc1 $f4,0xd4($sp) +/* f068f6c: 84790028 */ lh $t9,0x28($v1) +/* f068f70: 460a4301 */ sub.s $f12,$f8,$f10 +/* f068f74: 46002182 */ mul.s $f6,$f4,$f0 +/* f068f78: c7a800d8 */ lwc1 $f8,0xd8($sp) +/* f068f7c: 46081282 */ mul.s $f10,$f2,$f8 +/* f068f80: c7a800dc */ lwc1 $f8,0xdc($sp) +/* f068f84: 460a3100 */ add.s $f4,$f6,$f10 +/* f068f88: 46086182 */ mul.s $f6,$f12,$f8 +/* f068f8c: 12d90039 */ beq $s6,$t9,.PB0f069074 +/* f068f90: 46062580 */ add.s $f22,$f4,$f6 +/* f068f94: 00608825 */ move $s1,$v1 +/* f068f98: 84640028 */ lh $a0,0x28($v1) +.PB0f068f9c: +/* f068f9c: 009e0019 */ multu $a0,$s8 +/* f068fa0: 8ee80000 */ lw $t0,0x0($s7) +/* f068fa4: c7aa00b0 */ lwc1 $f10,0xb0($sp) +/* f068fa8: c7a800b4 */ lwc1 $f8,0xb4($sp) +/* f068fac: c7a600d4 */ lwc1 $f6,0xd4($sp) +/* f068fb0: c7a400b8 */ lwc1 $f4,0xb8($sp) +/* f068fb4: 4618b03c */ c.lt.s $f22,$f24 +/* f068fb8: 00004812 */ mflo $t1 +/* f068fbc: 01091021 */ addu $v0,$t0,$t1 +/* f068fc0: c4400030 */ lwc1 $f0,0x30($v0) +/* f068fc4: c4420034 */ lwc1 $f2,0x34($v0) +/* f068fc8: c44c0038 */ lwc1 $f12,0x38($v0) +/* f068fcc: 460a0381 */ sub.s $f14,$f0,$f10 +/* f068fd0: 46081401 */ sub.s $f16,$f2,$f8 +/* f068fd4: 460e3282 */ mul.s $f10,$f6,$f14 +/* f068fd8: c7a800d8 */ lwc1 $f8,0xd8($sp) +/* f068fdc: 46046481 */ sub.s $f18,$f12,$f4 +/* f068fe0: 46088102 */ mul.s $f4,$f16,$f8 +/* f068fe4: c7a800dc */ lwc1 $f8,0xdc($sp) +/* f068fe8: 46045180 */ add.s $f6,$f10,$f4 +/* f068fec: 46089282 */ mul.s $f10,$f18,$f8 +/* f068ff0: 45000005 */ bc1f .PB0f069008 +/* f068ff4: 460a3500 */ add.s $f20,$f6,$f10 +/* f068ff8: 4618b03c */ c.lt.s $f22,$f24 +/* f068ffc: 00000000 */ nop +/* f069000: 45010009 */ bc1t .PB0f069028 +/* f069004: 00000000 */ nop +.PB0f069008: +/* f069008: 4616c03c */ c.lt.s $f24,$f22 +/* f06900c: 00000000 */ nop +/* f069010: 45020015 */ bc1fl .PB0f069068 +/* f069014: 8624002a */ lh $a0,0x2a($s1) +/* f069018: 4614c03c */ c.lt.s $f24,$f20 +/* f06901c: 00000000 */ nop +/* f069020: 45020011 */ bc1fl .PB0f069068 +/* f069024: 8624002a */ lh $a0,0x2a($s1) +.PB0f069028: +/* f069028: 0fc00315 */ jal 0xf000c54 +/* f06902c: 00000000 */ nop +/* f069030: 00408025 */ move $s0,$v0 +/* f069034: 0fc002c9 */ jal 0xf000b24 +/* f069038: 86240028 */ lh $a0,0x28($s1) +/* f06903c: 00501821 */ addu $v1,$v0,$s0 +/* f069040: 28610100 */ slti $at,$v1,0x100 +/* f069044: 00602825 */ move $a1,$v1 +/* f069048: 14200002 */ bnez $at,.PB0f069054 +/* f06904c: 00402025 */ move $a0,$v0 +/* f069050: 240500ff */ li $a1,0xff +.PB0f069054: +/* f069054: 26b50001 */ addiu $s5,$s5,0x1 +/* f069058: 02649821 */ addu $s3,$s3,$a0 +/* f06905c: 0290a021 */ addu $s4,$s4,$s0 +/* f069060: 02459021 */ addu $s2,$s2,$a1 +/* f069064: 8624002a */ lh $a0,0x2a($s1) +.PB0f069068: +/* f069068: 26310002 */ addiu $s1,$s1,0x2 +/* f06906c: 16c4ffcb */ bne $s6,$a0,.PB0f068f9c +/* f069070: 00000000 */ nop +.PB0f069074: +/* f069074: 8fa70128 */ lw $a3,0x128($sp) +.PB0f069078: +/* f069078: 8faa012c */ lw $t2,0x12c($sp) +/* f06907c: 8ce700bc */ lw $a3,0xbc($a3) +/* f069080: 10ea0006 */ beq $a3,$t2,.PB0f06909c +/* f069084: 00000000 */ nop +/* f069088: 10e00004 */ beqz $a3,.PB0f06909c +/* f06908c: 00000000 */ nop +/* f069090: 8ceb0014 */ lw $t3,0x14($a3) +/* f069094: 5560ff76 */ bnezl $t3,.PB0f068e70 +/* f069098: 8fb9012c */ lw $t9,0x12c($sp) +.PB0f06909c: +/* f06909c: 16a0000c */ bnez $s5,.PB0f0690d0 +/* f0690a0: 00000000 */ nop +/* f0690a4: 8fb00130 */ lw $s0,0x130($sp) +/* f0690a8: 00002825 */ move $a1,$zero +/* f0690ac: 26100028 */ addiu $s0,$s0,0x28 +/* f0690b0: 0fc1a33d */ jal 0xf068cf4 +/* f0690b4: 02002025 */ move $a0,$s0 +/* f0690b8: 00408825 */ move $s1,$v0 +/* f0690bc: 02002025 */ move $a0,$s0 +/* f0690c0: 0fc1a33d */ jal 0xf068cf4 +/* f0690c4: 24050001 */ li $a1,0x1 +/* f0690c8: 10000017 */ b .PB0f069128 +/* f0690cc: 00401825 */ move $v1,$v0 +.PB0f0690d0: +/* f0690d0: 0275001a */ div $zero,$s3,$s5 +/* f0690d4: 00008812 */ mflo $s1 +/* f0690d8: 16a00002 */ bnez $s5,.PB0f0690e4 +/* f0690dc: 00000000 */ nop +/* f0690e0: 0007000d */ break 0x7 +.PB0f0690e4: +/* f0690e4: 2401ffff */ li $at,-1 +/* f0690e8: 16a10004 */ bne $s5,$at,.PB0f0690fc +/* f0690ec: 3c018000 */ lui $at,0x8000 +/* f0690f0: 16610002 */ bne $s3,$at,.PB0f0690fc +/* f0690f4: 00000000 */ nop +/* f0690f8: 0006000d */ break 0x6 +.PB0f0690fc: +/* f0690fc: 0295001a */ div $zero,$s4,$s5 +/* f069100: 00001812 */ mflo $v1 +/* f069104: 16a00002 */ bnez $s5,.PB0f069110 +/* f069108: 00000000 */ nop +/* f06910c: 0007000d */ break 0x7 +.PB0f069110: +/* f069110: 2401ffff */ li $at,-1 +/* f069114: 16a10004 */ bne $s5,$at,.PB0f069128 +/* f069118: 3c018000 */ lui $at,0x8000 +/* f06911c: 16810002 */ bne $s4,$at,.PB0f069128 +/* f069120: 00000000 */ nop +/* f069124: 0006000d */ break 0x6 +.PB0f069128: +/* f069128: 8fac0134 */ lw $t4,0x134($sp) +/* f06912c: 02231021 */ addu $v0,$s1,$v1 +/* f069130: 284100ff */ slti $at,$v0,0xff +/* f069134: 51800003 */ beqzl $t4,.PB0f069144 +/* f069138: 8fad0138 */ lw $t5,0x138($sp) +/* f06913c: ad910000 */ sw $s1,0x0($t4) +/* f069140: 8fad0138 */ lw $t5,0x138($sp) +.PB0f069144: +/* f069144: 11a00002 */ beqz $t5,.PB0f069150 +/* f069148: 00000000 */ nop +/* f06914c: ada30000 */ sw $v1,0x0($t5) +.PB0f069150: +/* f069150: 10200003 */ beqz $at,.PB0f069160 +/* f069154: d7b40018 */ ldc1 $f20,0x18($sp) +/* f069158: 10000002 */ b .PB0f069164 +/* f06915c: 00401825 */ move $v1,$v0 +.PB0f069160: +/* f069160: 240300ff */ li $v1,0xff +.PB0f069164: +/* f069164: 8fbf0054 */ lw $ra,0x54($sp) +/* f069168: d7b60020 */ ldc1 $f22,0x20($sp) +/* f06916c: d7b80028 */ ldc1 $f24,0x28($sp) +/* f069170: 8fb00030 */ lw $s0,0x30($sp) +/* f069174: 8fb10034 */ lw $s1,0x34($sp) +/* f069178: 8fb20038 */ lw $s2,0x38($sp) +/* f06917c: 8fb3003c */ lw $s3,0x3c($sp) +/* f069180: 8fb40040 */ lw $s4,0x40($sp) +/* f069184: 8fb50044 */ lw $s5,0x44($sp) +/* f069188: 8fb60048 */ lw $s6,0x48($sp) +/* f06918c: 8fb7004c */ lw $s7,0x4c($sp) +/* f069190: 8fbe0050 */ lw $s8,0x50($sp) +/* f069194: 27bd0130 */ addiu $sp,$sp,0x130 +/* f069198: 03e00008 */ jr $ra +/* f06919c: 00601025 */ move $v0,$v1 +); #else GLOBAL_ASM( glabel func0f068c04 @@ -4637,6 +4900,313 @@ glabel var7f1aa1fc /* f06a168: 03e00008 */ jr $ra /* f06a16c: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f069d38 +.late_rodata +glabel var7f1aa1dc +.word 0x40555555 +glabel var7f1aa1e0 +.word 0x40d55555 +glabel var7f1aa1e4 +.word 0x40555555 +glabel var7f1aa1e8 +.word 0x3d713c65 +glabel var7f1aa1ec +.word 0x3cf13c65 +glabel var7f1aa1f0 +.word 0x3d713c65 +glabel var7f1aa1f4 +.word 0x3cf13c65 +glabel var7f1aa1f8 +.word 0x3d713c65 +glabel var7f1aa1fc +.word 0x3cf13c65 +.text +/* f069d38: 27bdff58 */ addiu $sp,$sp,-168 +/* f069d3c: afbf001c */ sw $ra,0x1c($sp) +/* f069d40: afb00018 */ sw $s0,0x18($sp) +/* f069d44: afa400a8 */ sw $a0,0xa8($sp) +/* f069d48: afa500ac */ sw $a1,0xac($sp) +/* f069d4c: 0fc22a23 */ jal func0f08a88c +/* f069d50: afa600b0 */ sw $a2,0xb0($sp) +/* f069d54: 10400101 */ beqz $v0,.L0f06a15c +/* f069d58: 00408025 */ or $s0,$v0,$zero +/* f069d5c: 3c0e8007 */ lui $t6,%hi(var80069980) +/* f069d60: 27a20048 */ addiu $v0,$sp,0x48 +/* f069d64: 25ce9980 */ addiu $t6,$t6,%lo(var80069980) +/* f069d68: 25d80054 */ addiu $t8,$t6,0x54 +/* f069d6c: 0040c825 */ or $t9,$v0,$zero +.L0f069d70: +/* f069d70: 8dc10000 */ lw $at,0x0($t6) +/* f069d74: 25ce000c */ addiu $t6,$t6,0xc +/* f069d78: 2739000c */ addiu $t9,$t9,0xc +/* f069d7c: af21fff4 */ sw $at,-0xc($t9) +/* f069d80: 8dc1fff8 */ lw $at,-0x8($t6) +/* f069d84: af21fff8 */ sw $at,-0x8($t9) +/* f069d88: 8dc1fffc */ lw $at,-0x4($t6) +/* f069d8c: 15d8fff8 */ bne $t6,$t8,.L0f069d70 +/* f069d90: af21fffc */ sw $at,-0x4($t9) +/* f069d94: 8dc10000 */ lw $at,0x0($t6) +/* f069d98: 00405025 */ or $t2,$v0,$zero +/* f069d9c: 02005825 */ or $t3,$s0,$zero +/* f069da0: af210000 */ sw $at,0x0($t9) +/* f069da4: 8dd80004 */ lw $t8,0x4($t6) +/* f069da8: 24490054 */ addiu $t1,$v0,0x54 +/* f069dac: af380004 */ sw $t8,0x4($t9) +.L0f069db0: +/* f069db0: 8d410000 */ lw $at,0x0($t2) +/* f069db4: 254a000c */ addiu $t2,$t2,0xc +/* f069db8: 256b000c */ addiu $t3,$t3,0xc +/* f069dbc: ad61fff4 */ sw $at,-0xc($t3) +/* f069dc0: 8d41fff8 */ lw $at,-0x8($t2) +/* f069dc4: ad61fff8 */ sw $at,-0x8($t3) +/* f069dc8: 8d41fffc */ lw $at,-0x4($t2) +/* f069dcc: 1549fff8 */ bne $t2,$t1,.L0f069db0 +/* f069dd0: ad61fffc */ sw $at,-0x4($t3) +/* f069dd4: 8d410000 */ lw $at,0x0($t2) +/* f069dd8: 3c058008 */ lui $a1,%hi(g_ModelStates) +/* f069ddc: 02002025 */ or $a0,$s0,$zero +/* f069de0: ad610000 */ sw $at,0x0($t3) +/* f069de4: 8d490004 */ lw $t1,0x4($t2) +/* f069de8: ad690004 */ sw $t1,0x4($t3) +/* f069dec: 8fac00a8 */ lw $t4,0xa8($sp) +/* f069df0: 858d0004 */ lh $t5,0x4($t4) +/* f069df4: a60d0004 */ sh $t5,0x4($s0) +/* f069df8: 860f0004 */ lh $t7,0x4($s0) +/* f069dfc: 000fc0c0 */ sll $t8,$t7,0x3 +/* f069e00: 00b82821 */ addu $a1,$a1,$t8 +/* f069e04: 0fc1a94b */ jal objInitWithModelDef +/* f069e08: 8ca5b06c */ lw $a1,%lo(g_ModelStates)($a1) +/* f069e0c: 104000d3 */ beqz $v0,.L0f06a15c +/* f069e10: 8fae00a8 */ lw $t6,0xa8($sp) +/* f069e14: 8e040014 */ lw $a0,0x14($s0) +/* f069e18: 0fc181a6 */ jal propReparent +/* f069e1c: 8dc50014 */ lw $a1,0x14($t6) +/* f069e20: 8e040014 */ lw $a0,0x14($s0) +/* f069e24: 0fc20a59 */ jal objSetDropped +/* f069e28: 24050005 */ addiu $a1,$zero,0x5 +/* f069e2c: 8e190040 */ lw $t9,0x40($s0) +/* f069e30: 8fa200b0 */ lw $v0,0xb0($sp) +/* f069e34: 33280080 */ andi $t0,$t9,0x80 +/* f069e38: 510000a4 */ beqzl $t0,.L0f06a0cc +/* f069e3c: 8fa900a8 */ lw $t1,0xa8($sp) +/* f069e40: 8e090048 */ lw $t1,0x48($s0) +/* f069e44: 3c0b8007 */ lui $t3,%hi(var800699dc) +/* f069e48: 256b99dc */ addiu $t3,$t3,%lo(var800699dc) +/* f069e4c: afa9003c */ sw $t1,0x3c($sp) +/* f069e50: 8d610000 */ lw $at,0x0($t3) +/* f069e54: 27aa0030 */ addiu $t2,$sp,0x30 +/* f069e58: 8d6f0004 */ lw $t7,0x4($t3) +/* f069e5c: ad410000 */ sw $at,0x0($t2) +/* f069e60: 8d610008 */ lw $at,0x8($t3) +/* f069e64: ad4f0004 */ sw $t7,0x4($t2) +/* f069e68: 44805000 */ mtc1 $zero,$f10 +/* f069e6c: ad410008 */ sw $at,0x8($t2) +/* f069e70: 8fb800a8 */ lw $t8,0xa8($sp) +/* f069e74: c4460008 */ lwc1 $f6,0x8($v0) +/* f069e78: 8f0e0014 */ lw $t6,0x14($t8) +/* f069e7c: c5c40008 */ lwc1 $f4,0x8($t6) +/* f069e80: e7aa0028 */ swc1 $f10,0x28($sp) +/* f069e84: 46062201 */ sub.s $f8,$f4,$f6 +/* f069e88: e7a80024 */ swc1 $f8,0x24($sp) +/* f069e8c: 8f190014 */ lw $t9,0x14($t8) +/* f069e90: c4520010 */ lwc1 $f18,0x10($v0) +/* f069e94: c7300010 */ lwc1 $f16,0x10($t9) +/* f069e98: 46128101 */ sub.s $f4,$f16,$f18 +/* f069e9c: 46042182 */ mul.s $f6,$f4,$f4 +/* f069ea0: e7a4002c */ swc1 $f4,0x2c($sp) +/* f069ea4: 46084282 */ mul.s $f10,$f8,$f8 +/* f069ea8: 0c012974 */ jal sqrtf +/* f069eac: 460a3300 */ add.s $f12,$f6,$f10 +/* f069eb0: 44808000 */ mtc1 $zero,$f16 +/* f069eb4: 00000000 */ nop +/* f069eb8: 4600803c */ c.lt.s $f16,$f0 +/* f069ebc: 00000000 */ nop +/* f069ec0: 4500000b */ bc1f .L0f069ef0 +/* f069ec4: 3c013f80 */ lui $at,0x3f80 +/* f069ec8: 44819000 */ mtc1 $at,$f18 +/* f069ecc: c7a40024 */ lwc1 $f4,0x24($sp) +/* f069ed0: c7a6002c */ lwc1 $f6,0x2c($sp) +/* f069ed4: 46009083 */ div.s $f2,$f18,$f0 +/* f069ed8: 46022202 */ mul.s $f8,$f4,$f2 +/* f069edc: 00000000 */ nop +/* f069ee0: 46023282 */ mul.s $f10,$f6,$f2 +/* f069ee4: e7a80024 */ swc1 $f8,0x24($sp) +/* f069ee8: 10000022 */ b .L0f069f74 +/* f069eec: e7aa002c */ swc1 $f10,0x2c($sp) +.L0f069ef0: +/* f069ef0: 0c004b70 */ jal random +/* f069ef4: 00000000 */ nop +/* f069ef8: 44828000 */ mtc1 $v0,$f16 +/* f069efc: 3c014f80 */ lui $at,0x4f80 +/* f069f00: 04410004 */ bgez $v0,.L0f069f14 +/* f069f04: 468084a0 */ cvt.s.w $f18,$f16 +/* f069f08: 44812000 */ mtc1 $at,$f4 +/* f069f0c: 00000000 */ nop +/* f069f10: 46049480 */ add.s $f18,$f18,$f4 +.L0f069f14: +/* f069f14: 3c012f80 */ lui $at,0x2f80 +/* f069f18: 44814000 */ mtc1 $at,$f8 +/* f069f1c: 3c013f00 */ lui $at,0x3f00 +/* f069f20: 44815000 */ mtc1 $at,$f10 +/* f069f24: 46089182 */ mul.s $f6,$f18,$f8 +/* f069f28: 00000000 */ nop +/* f069f2c: 460a3402 */ mul.s $f16,$f6,$f10 +/* f069f30: 0c004b70 */ jal random +/* f069f34: e7b00024 */ swc1 $f16,0x24($sp) +/* f069f38: 44822000 */ mtc1 $v0,$f4 +/* f069f3c: 3c014f80 */ lui $at,0x4f80 +/* f069f40: 04410004 */ bgez $v0,.L0f069f54 +/* f069f44: 468024a0 */ cvt.s.w $f18,$f4 +/* f069f48: 44814000 */ mtc1 $at,$f8 +/* f069f4c: 00000000 */ nop +/* f069f50: 46089480 */ add.s $f18,$f18,$f8 +.L0f069f54: +/* f069f54: 3c012f80 */ lui $at,0x2f80 +/* f069f58: 44813000 */ mtc1 $at,$f6 +/* f069f5c: 3c013f00 */ lui $at,0x3f00 +/* f069f60: 44818000 */ mtc1 $at,$f16 +/* f069f64: 46069282 */ mul.s $f10,$f18,$f6 +/* f069f68: 00000000 */ nop +/* f069f6c: 46105102 */ mul.s $f4,$f10,$f16 +/* f069f70: e7a4002c */ swc1 $f4,0x2c($sp) +.L0f069f74: +/* f069f74: 3c017f1b */ lui $at,%hi(var7f1aa1dc) +/* f069f78: c432a1dc */ lwc1 $f18,%lo(var7f1aa1dc)($at) +/* f069f7c: c7a80024 */ lwc1 $f8,0x24($sp) +/* f069f80: 8fa8003c */ lw $t0,0x3c($sp) +/* f069f84: 46124182 */ mul.s $f6,$f8,$f18 +/* f069f88: 0c004b70 */ jal random +/* f069f8c: e5060004 */ swc1 $f6,0x4($t0) +/* f069f90: 44825000 */ mtc1 $v0,$f10 +/* f069f94: 8fa3003c */ lw $v1,0x3c($sp) +/* f069f98: 04410005 */ bgez $v0,.L0f069fb0 +/* f069f9c: 46805420 */ cvt.s.w $f16,$f10 +/* f069fa0: 3c014f80 */ lui $at,0x4f80 +/* f069fa4: 44812000 */ mtc1 $at,$f4 +/* f069fa8: 00000000 */ nop +/* f069fac: 46048400 */ add.s $f16,$f16,$f4 +.L0f069fb0: +/* f069fb0: 3c012f80 */ lui $at,0x2f80 +/* f069fb4: 44814000 */ mtc1 $at,$f8 +/* f069fb8: 3c017f1b */ lui $at,%hi(var7f1aa1e0) +/* f069fbc: c426a1e0 */ lwc1 $f6,%lo(var7f1aa1e0)($at) +/* f069fc0: 46088482 */ mul.s $f18,$f16,$f8 +/* f069fc4: 3c017f1b */ lui $at,%hi(var7f1aa1e4) +/* f069fc8: 46069282 */ mul.s $f10,$f18,$f6 +/* f069fcc: e46a0008 */ swc1 $f10,0x8($v1) +/* f069fd0: c430a1e4 */ lwc1 $f16,%lo(var7f1aa1e4)($at) +/* f069fd4: c7a4002c */ lwc1 $f4,0x2c($sp) +/* f069fd8: 46102202 */ mul.s $f8,$f4,$f16 +/* f069fdc: 0c004b70 */ jal random +/* f069fe0: e468000c */ swc1 $f8,0xc($v1) +/* f069fe4: 44829000 */ mtc1 $v0,$f18 +/* f069fe8: 3c014f80 */ lui $at,0x4f80 +/* f069fec: 04410004 */ bgez $v0,.L0f06a000 +/* f069ff0: 468091a0 */ cvt.s.w $f6,$f18 +/* f069ff4: 44815000 */ mtc1 $at,$f10 +/* f069ff8: 00000000 */ nop +/* f069ffc: 460a3180 */ add.s $f6,$f6,$f10 +.L0f06a000: +/* f06a000: 3c012f80 */ lui $at,0x2f80 +/* f06a004: 44812000 */ mtc1 $at,$f4 +/* f06a008: 3c017f1b */ lui $at,%hi(var7f1aa1e8) +/* f06a00c: c428a1e8 */ lwc1 $f8,%lo(var7f1aa1e8)($at) +/* f06a010: 46043402 */ mul.s $f16,$f6,$f4 +/* f06a014: 3c017f1b */ lui $at,%hi(var7f1aa1ec) +/* f06a018: c42aa1ec */ lwc1 $f10,%lo(var7f1aa1ec)($at) +/* f06a01c: 46088482 */ mul.s $f18,$f16,$f8 +/* f06a020: 460a9181 */ sub.s $f6,$f18,$f10 +/* f06a024: 0c004b70 */ jal random +/* f06a028: e7a60030 */ swc1 $f6,0x30($sp) +/* f06a02c: 44822000 */ mtc1 $v0,$f4 +/* f06a030: 3c014f80 */ lui $at,0x4f80 +/* f06a034: 04410004 */ bgez $v0,.L0f06a048 +/* f06a038: 46802420 */ cvt.s.w $f16,$f4 +/* f06a03c: 44814000 */ mtc1 $at,$f8 +/* f06a040: 00000000 */ nop +/* f06a044: 46088400 */ add.s $f16,$f16,$f8 +.L0f06a048: +/* f06a048: 3c012f80 */ lui $at,0x2f80 +/* f06a04c: 44819000 */ mtc1 $at,$f18 +/* f06a050: 3c017f1b */ lui $at,%hi(var7f1aa1f0) +/* f06a054: c426a1f0 */ lwc1 $f6,%lo(var7f1aa1f0)($at) +/* f06a058: 46128282 */ mul.s $f10,$f16,$f18 +/* f06a05c: 3c017f1b */ lui $at,%hi(var7f1aa1f4) +/* f06a060: c428a1f4 */ lwc1 $f8,%lo(var7f1aa1f4)($at) +/* f06a064: 46065102 */ mul.s $f4,$f10,$f6 +/* f06a068: 46082401 */ sub.s $f16,$f4,$f8 +/* f06a06c: 0c004b70 */ jal random +/* f06a070: e7b00034 */ swc1 $f16,0x34($sp) +/* f06a074: 44829000 */ mtc1 $v0,$f18 +/* f06a078: 3c014f80 */ lui $at,0x4f80 +/* f06a07c: 04410004 */ bgez $v0,.L0f06a090 +/* f06a080: 468092a0 */ cvt.s.w $f10,$f18 +/* f06a084: 44813000 */ mtc1 $at,$f6 +/* f06a088: 00000000 */ nop +/* f06a08c: 46065280 */ add.s $f10,$f10,$f6 +.L0f06a090: +/* f06a090: 3c012f80 */ lui $at,0x2f80 +/* f06a094: 44812000 */ mtc1 $at,$f4 +/* f06a098: 3c017f1b */ lui $at,%hi(var7f1aa1f8) +/* f06a09c: c430a1f8 */ lwc1 $f16,%lo(var7f1aa1f8)($at) +/* f06a0a0: 46045202 */ mul.s $f8,$f10,$f4 +/* f06a0a4: 3c017f1b */ lui $at,%hi(var7f1aa1fc) +/* f06a0a8: c426a1fc */ lwc1 $f6,%lo(var7f1aa1fc)($at) +/* f06a0ac: 8fa5003c */ lw $a1,0x3c($sp) +/* f06a0b0: 27a40030 */ addiu $a0,$sp,0x30 +/* f06a0b4: 24a50020 */ addiu $a1,$a1,0x20 +/* f06a0b8: 46104482 */ mul.s $f18,$f8,$f16 +/* f06a0bc: 46069281 */ sub.s $f10,$f18,$f6 +/* f06a0c0: 0c005923 */ jal mtx4LoadRotation +/* f06a0c4: e7aa0038 */ swc1 $f10,0x38($sp) +/* f06a0c8: 8fa900a8 */ lw $t1,0xa8($sp) +.L0f06a0cc: +/* f06a0cc: 8e0c0018 */ lw $t4,0x18($s0) +/* f06a0d0: 3c010122 */ lui $at,0x122 +/* f06a0d4: 8d2d0018 */ lw $t5,0x18($t1) +/* f06a0d8: 240500c8 */ addiu $a1,$zero,0xc8 +/* f06a0dc: c5a40014 */ lwc1 $f4,0x14($t5) +/* f06a0e0: e5840014 */ swc1 $f4,0x14($t4) +/* f06a0e4: 8e0a0008 */ lw $t2,0x8($s0) +/* f06a0e8: 8e0f000c */ lw $t7,0xc($s0) +/* f06a0ec: 8e180010 */ lw $t8,0x10($s0) +/* f06a0f0: 01415825 */ or $t3,$t2,$at +/* f06a0f4: 3c010020 */ lui $at,0x20 +/* f06a0f8: 34214000 */ ori $at,$at,0x4000 +/* f06a0fc: 8e080018 */ lw $t0,0x18($s0) +/* f06a100: 01e17025 */ or $t6,$t7,$at +/* f06a104: 37190008 */ ori $t9,$t8,0x8 +/* f06a108: ae0b0008 */ sw $t3,0x8($s0) +/* f06a10c: ae0e000c */ sw $t6,0xc($s0) +/* f06a110: ae190010 */ sw $t9,0x10($s0) +/* f06a114: 0c006a47 */ jal modelGetPart +/* f06a118: 8d040008 */ lw $a0,0x8($t0) +/* f06a11c: 10400004 */ beqz $v0,.L0f06a130 +/* f06a120: 00402825 */ or $a1,$v0,$zero +/* f06a124: 0c006a87 */ jal modelGetNodeRwData +/* f06a128: 8e040018 */ lw $a0,0x18($s0) +/* f06a12c: ac400000 */ sw $zero,0x0($v0) +.L0f06a130: +/* f06a130: 8e090018 */ lw $t1,0x18($s0) +/* f06a134: 8fa500ac */ lw $a1,0xac($sp) +/* f06a138: 8d240008 */ lw $a0,0x8($t1) +/* f06a13c: 0c006a47 */ jal modelGetPart +/* f06a140: 24a500c9 */ addiu $a1,$a1,0xc9 +/* f06a144: 10400005 */ beqz $v0,.L0f06a15c +/* f06a148: 00402825 */ or $a1,$v0,$zero +/* f06a14c: 0c006a87 */ jal modelGetNodeRwData +/* f06a150: 8e040018 */ lw $a0,0x18($s0) +/* f06a154: 240d0001 */ addiu $t5,$zero,0x1 +/* f06a158: ac4d0000 */ sw $t5,0x0($v0) +.L0f06a15c: +/* f06a15c: 8fbf001c */ lw $ra,0x1c($sp) +/* f06a160: 8fb00018 */ lw $s0,0x18($sp) +/* f06a164: 27bd00a8 */ addiu $sp,$sp,0xa8 +/* f06a168: 03e00008 */ jr $ra +/* f06a16c: 00000000 */ nop +); #else GLOBAL_ASM( glabel func0f069d38 @@ -18021,6 +18591,871 @@ glabel var7f1ab5c0pf /* f072330: 03e00008 */ jr $ra /* f072334: 27bd01d8 */ addiu $sp,$sp,0x1d8 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f0714b8 +.late_rodata +glabel var7f1ab570pf +.word 0x3f666666 +glabel var7f1ab574pf +.word 0x3f666666 +glabel var7f1ab578pf +.word 0xc6ea6000 +glabel var7f1ab57cpf +.word 0x40490fdb +glabel var7f1ab580pf +.word 0x40c907a9 +glabel var7f1ab584pf +.word 0x40490fdb +glabel var7f1ab588pf +.word 0x40c907a9 +glabel var7f1ab58cpf +.word 0x40490fdb +glabel var7f1ab590pf +.word 0x40c907a9 +glabel var7f1ab594pf +.word 0x40490fdb +glabel var7f1ab598pf +.word 0x40c907a9 +glabel var7f1ab59cpf +.word 0x40490fdb +glabel var7f1ab5a0pf +.word 0x40c907a9 +glabel var7f1ab5a4pf +.word 0x3dd0e561 +glabel var7f1ab5a8pf +.word 0x3db6e2eb +glabel var7f1ab5acpf +.word 0x3e4ccccd +glabel var7f1ab5b0pf +.word 0x3f19999a +glabel var7f1ab5b4pf +.word 0x3f19999a +glabel var7f1ab5b8pf +.word 0x40c907a9 +glabel var7f1ab5bcpf +.word 0x40c907a9 +glabel var7f1ab5c0pf +.word 0x40c907a9 +.text +/* f071690: 27bdfe28 */ addiu $sp,$sp,-472 +/* f071694: afbf004c */ sw $ra,0x4c($sp) +/* f071698: afb10048 */ sw $s1,0x48($sp) +/* f07169c: afb00044 */ sw $s0,0x44($sp) +/* f0716a0: 3c0f800a */ lui $t7,0x800a +/* f0716a4: 8defe4d8 */ lw $t7,-0x1b28($t7) +/* f0716a8: 8cae0038 */ lw $t6,0x38($a1) +/* f0716ac: 00a08025 */ move $s0,$a1 +/* f0716b0: 00808825 */ move $s1,$a0 +/* f0716b4: 01cf082a */ slt $at,$t6,$t7 +/* f0716b8: 502002ef */ beqzl $at,.PB0f072278 +/* f0716bc: 8fbf004c */ lw $ra,0x4c($sp) +/* f0716c0: 8c980014 */ lw $t8,0x14($a0) +/* f0716c4: 0fc1a335 */ jal 0xf068cd4 +/* f0716c8: afb801d4 */ sw $t8,0x1d4($sp) +/* f0716cc: 92190000 */ lbu $t9,0x0($s0) +/* f0716d0: 3c0a8007 */ lui $t2,0x8007 +/* f0716d4: 254ab13c */ addiu $t2,$t2,-20164 +/* f0716d8: 00194880 */ sll $t1,$t9,0x2 +/* f0716dc: 01394823 */ subu $t1,$t1,$t9 +/* f0716e0: 00094880 */ sll $t1,$t1,0x2 +/* f0716e4: 01394821 */ addu $t1,$t1,$t9 +/* f0716e8: 00094880 */ sll $t1,$t1,0x2 +/* f0716ec: 012a5821 */ addu $t3,$t1,$t2 +/* f0716f0: afab00c0 */ sw $t3,0xc0($sp) +/* f0716f4: afa0008c */ sw $zero,0x8c($sp) +/* f0716f8: 3c03800a */ lui $v1,0x800a +/* f0716fc: 8c63e4d8 */ lw $v1,-0x1b28($v1) +/* f071700: 8e0c003c */ lw $t4,0x3c($s0) +/* f071704: 00404025 */ move $t0,$v0 +/* f071708: 0183082a */ slt $at,$t4,$v1 +/* f07170c: 5020000e */ beqzl $at,.PB0f071748 +/* f071710: ae030038 */ sw $v1,0x38($s0) +/* f071714: 8fa201d4 */ lw $v0,0x1d4($sp) +/* f071718: 262d001c */ addiu $t5,$s1,0x1c +/* f07171c: afad0010 */ sw $t5,0x10($sp) +/* f071720: 02202025 */ move $a0,$s1 +/* f071724: 02002825 */ move $a1,$s0 +/* f071728: afa801c0 */ sw $t0,0x1c0($sp) +/* f07172c: 24460008 */ addiu $a2,$v0,0x8 +/* f071730: 0fc1c56f */ jal 0xf0715bc +/* f071734: 24470028 */ addiu $a3,$v0,0x28 +/* f071738: 3c03800a */ lui $v1,0x800a +/* f07173c: 8c63e4d8 */ lw $v1,-0x1b28($v1) +/* f071740: 8fa801c0 */ lw $t0,0x1c0($sp) +/* f071744: ae030038 */ sw $v1,0x38($s0) +.PB0f071748: +/* f071748: 262e001c */ addiu $t6,$s1,0x1c +/* f07174c: afae005c */ sw $t6,0x5c($sp) +/* f071750: 8e2f0008 */ lw $t7,0x8($s1) +/* f071754: 000fc0c0 */ sll $t8,$t7,0x3 +/* f071758: 07030005 */ bgezl $t8,.PB0f071770 +/* f07175c: 8fa401d4 */ lw $a0,0x1d4($sp) +/* f071760: 44802000 */ mtc1 $zero,$f4 +/* f071764: 100000b6 */ b .PB0f071a40 +/* f071768: e7a400b4 */ swc1 $f4,0xb4($sp) +/* f07176c: 8fa401d4 */ lw $a0,0x1d4($sp) +.PB0f071770: +/* f071770: 24990008 */ addiu $t9,$a0,0x8 +/* f071774: 24890028 */ addiu $t1,$a0,0x28 +/* f071778: afa90060 */ sw $t1,0x60($sp) +/* f07177c: afb90064 */ sw $t9,0x64($sp) +/* f071780: 8e2a0010 */ lw $t2,0x10($s1) +/* f071784: 000a5980 */ sll $t3,$t2,0x6 +/* f071788: 0561000c */ bgez $t3,.PB0f0717bc +/* f07178c: 27a50088 */ addiu $a1,$sp,0x88 +/* f071790: 27a60084 */ addiu $a2,$sp,0x84 +/* f071794: 0fc21dc3 */ jal 0xf08770c +/* f071798: 27a70080 */ addiu $a3,$sp,0x80 +/* f07179c: 3c017f1b */ lui $at,0x7f1b +/* f0717a0: c422bfc0 */ lwc1 $f2,-0x4040($at) +/* f0717a4: c7a60088 */ lwc1 $f6,0x88($sp) +/* f0717a8: 46023002 */ mul.s $f0,$f6,$f2 +/* f0717ac: 46000207 */ neg.s $f8,$f0 +/* f0717b0: e7a001cc */ swc1 $f0,0x1cc($sp) +/* f0717b4: 1000000e */ b .PB0f0717f0 +/* f0717b8: e7a801d0 */ swc1 $f8,0x1d0($sp) +.PB0f0717bc: +/* f0717bc: 3c017f1b */ lui $at,0x7f1b +/* f0717c0: c422bfc4 */ lwc1 $f2,-0x403c($at) +/* f0717c4: c50a0014 */ lwc1 $f10,0x14($t0) +/* f0717c8: 8e2c0018 */ lw $t4,0x18($s1) +/* f0717cc: 46025102 */ mul.s $f4,$f10,$f2 +/* f0717d0: c5800014 */ lwc1 $f0,0x14($t4) +/* f0717d4: 46002182 */ mul.s $f6,$f4,$f0 +/* f0717d8: e7a601d0 */ swc1 $f6,0x1d0($sp) +/* f0717dc: c5080018 */ lwc1 $f8,0x18($t0) +/* f0717e0: 46024282 */ mul.s $f10,$f8,$f2 +/* f0717e4: 00000000 */ nop +/* f0717e8: 46005102 */ mul.s $f4,$f10,$f0 +/* f0717ec: e7a401cc */ swc1 $f4,0x1cc($sp) +.PB0f0717f0: +/* f0717f0: 0c006b88 */ jal 0x1ae20 +/* f0717f4: c60c0010 */ lwc1 $f12,0x10($s0) +/* f0717f8: c60c0010 */ lwc1 $f12,0x10($s0) +/* f0717fc: 0c006b8b */ jal 0x1ae2c +/* f071800: e7a000bc */ swc1 $f0,0xbc($sp) +/* f071804: c7ac01d0 */ lwc1 $f12,0x1d0($sp) +/* f071808: 8fa201d4 */ lw $v0,0x1d4($sp) +/* f07180c: c7a200bc */ lwc1 $f2,0xbc($sp) +/* f071810: 46006202 */ mul.s $f8,$f12,$f0 +/* f071814: c4460008 */ lwc1 $f6,0x8($v0) +/* f071818: c7ae01cc */ lwc1 $f14,0x1cc($sp) +/* f07181c: 3c014248 */ lui $at,0x4248 +/* f071820: 8fa40060 */ lw $a0,0x60($sp) +/* f071824: 27a5009c */ addiu $a1,$sp,0x9c +/* f071828: 46083280 */ add.s $f10,$f6,$f8 +/* f07182c: 46026202 */ mul.s $f8,$f12,$f2 +/* f071830: e7aa01b4 */ swc1 $f10,0x1b4($sp) +/* f071834: c444000c */ lwc1 $f4,0xc($v0) +/* f071838: e7a401b8 */ swc1 $f4,0x1b8($sp) +/* f07183c: c4460010 */ lwc1 $f6,0x10($v0) +/* f071840: 46083280 */ add.s $f10,$f6,$f8 +/* f071844: 46007182 */ mul.s $f6,$f14,$f0 +/* f071848: e7aa01bc */ swc1 $f10,0x1bc($sp) +/* f07184c: c4440008 */ lwc1 $f4,0x8($v0) +/* f071850: 46062200 */ add.s $f8,$f4,$f6 +/* f071854: 46027182 */ mul.s $f6,$f14,$f2 +/* f071858: e7a801a8 */ swc1 $f8,0x1a8($sp) +/* f07185c: c44a000c */ lwc1 $f10,0xc($v0) +/* f071860: e7aa01ac */ swc1 $f10,0x1ac($sp) +/* f071864: c4440010 */ lwc1 $f4,0x10($v0) +/* f071868: 46062200 */ add.s $f8,$f4,$f6 +/* f07186c: 44813000 */ mtc1 $at,$f6 +/* f071870: e7a801b0 */ swc1 $f8,0x1b0($sp) +/* f071874: c44a0008 */ lwc1 $f10,0x8($v0) +/* f071878: e7aa0090 */ swc1 $f10,0x90($sp) +/* f07187c: c444000c */ lwc1 $f4,0xc($v0) +/* f071880: 46062201 */ sub.s $f8,$f4,$f6 +/* f071884: e7a80094 */ swc1 $f8,0x94($sp) +/* f071888: c44a0010 */ lwc1 $f10,0x10($v0) +/* f07188c: 0fc19661 */ jal 0xf065984 +/* f071890: e7aa0098 */ swc1 $f10,0x98($sp) +/* f071894: 02202025 */ move $a0,$s1 +/* f071898: 27a50090 */ addiu $a1,$sp,0x90 +/* f07189c: 8fa6005c */ lw $a2,0x5c($sp) +/* f0718a0: 0fc24863 */ jal 0xf09218c +/* f0718a4: 27a7009c */ addiu $a3,$sp,0x9c +/* f0718a8: 8fa40064 */ lw $a0,0x64($sp) +/* f0718ac: 8fa50060 */ lw $a1,0x60($sp) +/* f0718b0: 27a601b4 */ addiu $a2,$sp,0x1b4 +/* f0718b4: 0fc19815 */ jal 0xf066054 +/* f0718b8: 27a70198 */ addiu $a3,$sp,0x198 +/* f0718bc: 27a4009c */ addiu $a0,$sp,0x9c +/* f0718c0: 27a50198 */ addiu $a1,$sp,0x198 +/* f0718c4: 0fc1966e */ jal 0xf0659b8 +/* f0718c8: 24060008 */ li $a2,0x8 +/* f0718cc: 27a401b4 */ addiu $a0,$sp,0x1b4 +/* f0718d0: 3c0540a0 */ lui $a1,0x40a0 +/* f0718d4: 27a60198 */ addiu $a2,$sp,0x198 +/* f0718d8: 26270058 */ addiu $a3,$s1,0x58 +/* f0718dc: 0c00aa3c */ jal 0x2a8f0 +/* f0718e0: afa00010 */ sw $zero,0x10($sp) +/* f0718e4: 8fa40064 */ lw $a0,0x64($sp) +/* f0718e8: 8fa50060 */ lw $a1,0x60($sp) +/* f0718ec: 27a601a8 */ addiu $a2,$sp,0x1a8 +/* f0718f0: 27a70188 */ addiu $a3,$sp,0x188 +/* f0718f4: 0fc19815 */ jal 0xf066054 +/* f0718f8: e7a001c8 */ swc1 $f0,0x1c8($sp) +/* f0718fc: 27a4009c */ addiu $a0,$sp,0x9c +/* f071900: 27a50188 */ addiu $a1,$sp,0x188 +/* f071904: 0fc1966e */ jal 0xf0659b8 +/* f071908: 24060008 */ li $a2,0x8 +/* f07190c: 27a401a8 */ addiu $a0,$sp,0x1a8 +/* f071910: 3c0540a0 */ lui $a1,0x40a0 +/* f071914: 27a60188 */ addiu $a2,$sp,0x188 +/* f071918: 00003825 */ move $a3,$zero +/* f07191c: 0c00aa3c */ jal 0x2a8f0 +/* f071920: afa00010 */ sw $zero,0x10($sp) +/* f071924: 3c017f1b */ lui $at,0x7f1b +/* f071928: c42cbfc8 */ lwc1 $f12,-0x4038($at) +/* f07192c: c7a201c8 */ lwc1 $f2,0x1c8($sp) +/* f071930: 46000406 */ mov.s $f16,$f0 +/* f071934: 4602603e */ c.le.s $f12,$f2 +/* f071938: 00000000 */ nop +/* f07193c: 45020016 */ bc1fl .PB0f071998 +/* f071940: 4602603e */ c.le.s $f12,$f2 +/* f071944: 4600603e */ c.le.s $f12,$f0 +/* f071948: c7a401cc */ lwc1 $f4,0x1cc($sp) +/* f07194c: c7a601d0 */ lwc1 $f6,0x1d0($sp) +/* f071950: 45020011 */ bc1fl .PB0f071998 +/* f071954: 4602603e */ c.le.s $f12,$f2 +/* f071958: 46101301 */ sub.s $f12,$f2,$f16 +/* f07195c: 0fc25970 */ jal 0xf0965c0 +/* f071960: 46062381 */ sub.s $f14,$f4,$f6 +/* f071964: 3c017f1b */ lui $at,0x7f1b +/* f071968: c428bfcc */ lwc1 $f8,-0x4034($at) +/* f07196c: 46000086 */ mov.s $f2,$f0 +/* f071970: 3c017f1b */ lui $at,0x7f1b +/* f071974: 4600403e */ c.le.s $f8,$f0 +/* f071978: 00000000 */ nop +/* f07197c: 45000003 */ bc1f .PB0f07198c +/* f071980: 00000000 */ nop +/* f071984: c42abfd0 */ lwc1 $f10,-0x4030($at) +/* f071988: 460a0081 */ sub.s $f2,$f0,$f10 +.PB0f07198c: +/* f07198c: 1000002c */ b .PB0f071a40 +/* f071990: e7a200b4 */ swc1 $f2,0xb4($sp) +/* f071994: 4602603e */ c.le.s $f12,$f2 +.PB0f071998: +/* f071998: c7ae01d0 */ lwc1 $f14,0x1d0($sp) +/* f07199c: 45020012 */ bc1fl .PB0f0719e8 +/* f0719a0: 4600603e */ c.le.s $f12,$f0 +/* f0719a4: c6040034 */ lwc1 $f4,0x34($s0) +/* f0719a8: 46007387 */ neg.s $f14,$f14 +/* f0719ac: 0fc25970 */ jal 0xf0965c0 +/* f0719b0: 46041301 */ sub.s $f12,$f2,$f4 +/* f0719b4: 3c017f1b */ lui $at,0x7f1b +/* f0719b8: c426bfd4 */ lwc1 $f6,-0x402c($at) +/* f0719bc: 46000086 */ mov.s $f2,$f0 +/* f0719c0: 3c017f1b */ lui $at,0x7f1b +/* f0719c4: 4600303e */ c.le.s $f6,$f0 +/* f0719c8: 00000000 */ nop +/* f0719cc: 45000003 */ bc1f .PB0f0719dc +/* f0719d0: 00000000 */ nop +/* f0719d4: c428bfd8 */ lwc1 $f8,-0x4028($at) +/* f0719d8: 46080081 */ sub.s $f2,$f0,$f8 +.PB0f0719dc: +/* f0719dc: 10000018 */ b .PB0f071a40 +/* f0719e0: e7a200b4 */ swc1 $f2,0xb4($sp) +/* f0719e4: 4600603e */ c.le.s $f12,$f0 +.PB0f0719e8: +/* f0719e8: 00000000 */ nop +/* f0719ec: 45020012 */ bc1fl .PB0f071a38 +/* f0719f0: 44804000 */ mtc1 $zero,$f8 +/* f0719f4: c60a0034 */ lwc1 $f10,0x34($s0) +/* f0719f8: c7ae01cc */ lwc1 $f14,0x1cc($sp) +/* f0719fc: 0fc25970 */ jal 0xf0965c0 +/* f071a00: 46105301 */ sub.s $f12,$f10,$f16 +/* f071a04: 3c017f1b */ lui $at,0x7f1b +/* f071a08: c424bfdc */ lwc1 $f4,-0x4024($at) +/* f071a0c: 46000086 */ mov.s $f2,$f0 +/* f071a10: 3c017f1b */ lui $at,0x7f1b +/* f071a14: 4600203e */ c.le.s $f4,$f0 +/* f071a18: 00000000 */ nop +/* f071a1c: 45000003 */ bc1f .PB0f071a2c +/* f071a20: 00000000 */ nop +/* f071a24: c426bfe0 */ lwc1 $f6,-0x4020($at) +/* f071a28: 46060081 */ sub.s $f2,$f0,$f6 +.PB0f071a2c: +/* f071a2c: 10000004 */ b .PB0f071a40 +/* f071a30: e7a200b4 */ swc1 $f2,0xb4($sp) +/* f071a34: 44804000 */ mtc1 $zero,$f8 +.PB0f071a38: +/* f071a38: 00000000 */ nop +/* f071a3c: e7a800b4 */ swc1 $f8,0xb4($sp) +.PB0f071a40: +/* f071a40: c60a0034 */ lwc1 $f10,0x34($s0) +/* f071a44: e7aa00ac */ swc1 $f10,0xac($sp) +/* f071a48: 8e2d0040 */ lw $t5,0x40($s1) +/* f071a4c: 000d7100 */ sll $t6,$t5,0x4 +/* f071a50: 05c1000c */ bgez $t6,.PB0f071a84 +/* f071a54: 3c0f800a */ lui $t7,0x800a +/* f071a58: 8defe754 */ lw $t7,-0x18ac($t7) +/* f071a5c: 3c01428c */ lui $at,0x428c +/* f071a60: 44813000 */ mtc1 $at,$f6 +/* f071a64: c5e00078 */ lwc1 $f0,0x78($t7) +/* f071a68: c7a400ac */ lwc1 $f4,0xac($sp) +/* f071a6c: 46060201 */ sub.s $f8,$f0,$f6 +/* f071a70: 4608203c */ c.lt.s $f4,$f8 +/* f071a74: 00000000 */ nop +/* f071a78: 45020003 */ bc1fl .PB0f071a88 +/* f071a7c: 92020001 */ lbu $v0,0x1($s0) +/* f071a80: e7a000ac */ swc1 $f0,0xac($sp) +.PB0f071a84: +/* f071a84: 92020001 */ lbu $v0,0x1($s0) +.PB0f071a88: +/* f071a88: 30580001 */ andi $t8,$v0,0x1 +/* f071a8c: 53000023 */ beqzl $t8,.PB0f071b1c +/* f071a90: 8fae00c0 */ lw $t6,0xc0($sp) +/* f071a94: 8fa900c0 */ lw $t1,0xc0($sp) +/* f071a98: 24190001 */ li $t9,0x1 +/* f071a9c: afb9008c */ sw $t9,0x8c($sp) +/* f071aa0: c5200000 */ lwc1 $f0,0x0($t1) +/* f071aa4: 304afffe */ andi $t2,$v0,0xfffe +/* f071aa8: 24010033 */ li $at,0x33 +/* f071aac: e6000008 */ swc1 $f0,0x8($s0) +/* f071ab0: e6000004 */ swc1 $f0,0x4($s0) +/* f071ab4: c7aa00ac */ lwc1 $f10,0xac($sp) +/* f071ab8: a20a0001 */ sb $t2,0x1($s0) +/* f071abc: 00002025 */ move $a0,$zero +/* f071ac0: e60a0030 */ swc1 $f10,0x30($s0) +/* f071ac4: 922b0003 */ lbu $t3,0x3($s1) +/* f071ac8: 240680af */ li $a2,-32593 +/* f071acc: 2407ffff */ li $a3,-1 +/* f071ad0: 15610011 */ bne $t3,$at,.PB0f071b18 +/* f071ad4: 240cffff */ li $t4,-1 +/* f071ad8: 8e250014 */ lw $a1,0x14($s1) +/* f071adc: 3c01bf80 */ lui $at,0xbf80 +/* f071ae0: 44810000 */ mtc1 $at,$f0 +/* f071ae4: 240dffff */ li $t5,-1 +/* f071ae8: afad002c */ sw $t5,0x2c($sp) +/* f071aec: afa00028 */ sw $zero,0x28($sp) +/* f071af0: afa00020 */ sw $zero,0x20($sp) +/* f071af4: afa0001c */ sw $zero,0x1c($sp) +/* f071af8: afa00018 */ sw $zero,0x18($sp) +/* f071afc: afa00014 */ sw $zero,0x14($sp) +/* f071b00: afac0010 */ sw $t4,0x10($sp) +/* f071b04: e7a00024 */ swc1 $f0,0x24($sp) +/* f071b08: e7a00030 */ swc1 $f0,0x30($sp) +/* f071b0c: e7a00034 */ swc1 $f0,0x34($sp) +/* f071b10: 0fc24e0e */ jal 0xf093838 +/* f071b14: e7a00038 */ swc1 $f0,0x38($sp) +.PB0f071b18: +/* f071b18: 8fae00c0 */ lw $t6,0xc0($sp) +.PB0f071b1c: +/* f071b1c: 8e050008 */ lw $a1,0x8($s0) +/* f071b20: 26040004 */ addiu $a0,$s0,0x4 +/* f071b24: c5c0000c */ lwc1 $f0,0xc($t6) +/* f071b28: 2606000c */ addiu $a2,$s0,0xc +/* f071b2c: e7a00010 */ swc1 $f0,0x10($sp) +/* f071b30: c5c60010 */ lwc1 $f6,0x10($t6) +/* f071b34: 44070000 */ mfc1 $a3,$f0 +/* f071b38: 0fc1b6b9 */ jal 0xf06dae4 +/* f071b3c: e7a60014 */ swc1 $f6,0x14($sp) +/* f071b40: 8fa200c0 */ lw $v0,0xc0($sp) +/* f071b44: c6000008 */ lwc1 $f0,0x8($s0) +/* f071b48: c4420000 */ lwc1 $f2,0x0($v0) +/* f071b4c: 4600103e */ c.le.s $f2,$f0 +/* f071b50: 00000000 */ nop +/* f071b54: 4502001f */ bc1fl .PB0f071bd4 +/* f071b58: 4602003c */ c.lt.s $f0,$f2 +/* f071b5c: c6040004 */ lwc1 $f4,0x4($s0) +/* f071b60: 4604003e */ c.le.s $f0,$f4 +/* f071b64: 00000000 */ nop +/* f071b68: 4502001a */ bc1fl .PB0f071bd4 +/* f071b6c: 4602003c */ c.lt.s $f0,$f2 +/* f071b70: 44804000 */ mtc1 $zero,$f8 +/* f071b74: 0c004be0 */ jal 0x12f80 +/* f071b78: e608000c */ swc1 $f8,0xc($s0) +/* f071b7c: 8fa300c0 */ lw $v1,0xc0($sp) +/* f071b80: 44824000 */ mtc1 $v0,$f8 +/* f071b84: 3c014f80 */ lui $at,0x4f80 +/* f071b88: c46a0000 */ lwc1 $f10,0x0($v1) +/* f071b8c: c4660004 */ lwc1 $f6,0x4($v1) +/* f071b90: 46065101 */ sub.s $f4,$f10,$f6 +/* f071b94: 04410004 */ bgez $v0,.PB0f071ba8 +/* f071b98: 468042a0 */ cvt.s.w $f10,$f8 +/* f071b9c: 44813000 */ mtc1 $at,$f6 +/* f071ba0: 00000000 */ nop +/* f071ba4: 46065280 */ add.s $f10,$f10,$f6 +.PB0f071ba8: +/* f071ba8: 3c012f80 */ lui $at,0x2f80 +/* f071bac: 44814000 */ mtc1 $at,$f8 +/* f071bb0: 00000000 */ nop +/* f071bb4: 46085182 */ mul.s $f6,$f10,$f8 +/* f071bb8: c46a0008 */ lwc1 $f10,0x8($v1) +/* f071bbc: 460a3202 */ mul.s $f8,$f6,$f10 +/* f071bc0: 46082181 */ sub.s $f6,$f4,$f8 +/* f071bc4: e6060008 */ swc1 $f6,0x8($s0) +/* f071bc8: 10000020 */ b .PB0f071c4c +/* f071bcc: 8fa200c0 */ lw $v0,0xc0($sp) +/* f071bd0: 4602003c */ c.lt.s $f0,$f2 +.PB0f071bd4: +/* f071bd4: 00000000 */ nop +/* f071bd8: 4502001d */ bc1fl .PB0f071c50 +/* f071bdc: c440001c */ lwc1 $f0,0x1c($v0) +/* f071be0: c60a0004 */ lwc1 $f10,0x4($s0) +/* f071be4: 4600503e */ c.le.s $f10,$f0 +/* f071be8: 00000000 */ nop +/* f071bec: 45020018 */ bc1fl .PB0f071c50 +/* f071bf0: c440001c */ lwc1 $f0,0x1c($v0) +/* f071bf4: 44802000 */ mtc1 $zero,$f4 +/* f071bf8: 0c004be0 */ jal 0x12f80 +/* f071bfc: e604000c */ swc1 $f4,0xc($s0) +/* f071c00: 44824000 */ mtc1 $v0,$f8 +/* f071c04: 3c014f80 */ lui $at,0x4f80 +/* f071c08: 04410004 */ bgez $v0,.PB0f071c1c +/* f071c0c: 468041a0 */ cvt.s.w $f6,$f8 +/* f071c10: 44815000 */ mtc1 $at,$f10 +/* f071c14: 00000000 */ nop +/* f071c18: 460a3180 */ add.s $f6,$f6,$f10 +.PB0f071c1c: +/* f071c1c: 3c012f80 */ lui $at,0x2f80 +/* f071c20: 44812000 */ mtc1 $at,$f4 +/* f071c24: 8faf00c0 */ lw $t7,0xc0($sp) +/* f071c28: 46043202 */ mul.s $f8,$f6,$f4 +/* f071c2c: c5ea0008 */ lwc1 $f10,0x8($t7) +/* f071c30: c5e40000 */ lwc1 $f4,0x0($t7) +/* f071c34: 460a4182 */ mul.s $f6,$f8,$f10 +/* f071c38: c5e80004 */ lwc1 $f8,0x4($t7) +/* f071c3c: 46082280 */ add.s $f10,$f4,$f8 +/* f071c40: 460a3100 */ add.s $f4,$f6,$f10 +/* f071c44: e6040008 */ swc1 $f4,0x8($s0) +/* f071c48: 8fa200c0 */ lw $v0,0xc0($sp) +.PB0f071c4c: +/* f071c4c: c440001c */ lwc1 $f0,0x1c($v0) +.PB0f071c50: +/* f071c50: 8e050018 */ lw $a1,0x18($s0) +/* f071c54: 26040014 */ addiu $a0,$s0,0x14 +/* f071c58: e7a00010 */ swc1 $f0,0x10($sp) +/* f071c5c: c4480020 */ lwc1 $f8,0x20($v0) +/* f071c60: 44070000 */ mfc1 $a3,$f0 +/* f071c64: 2606001c */ addiu $a2,$s0,0x1c +/* f071c68: 0fc1b736 */ jal 0xf06dcd8 +/* f071c6c: e7a80014 */ swc1 $f8,0x14($sp) +/* f071c70: c60c0018 */ lwc1 $f12,0x18($s0) +/* f071c74: c6060014 */ lwc1 $f6,0x14($s0) +/* f071c78: 46066032 */ c.eq.s $f12,$f6 +/* f071c7c: 00000000 */ nop +/* f071c80: 45020041 */ bc1fl .PB0f071d88 +/* f071c84: 8fa200c0 */ lw $v0,0xc0($sp) +/* f071c88: 8fa200c0 */ lw $v0,0xc0($sp) +/* f071c8c: c60e001c */ lwc1 $f14,0x1c($s0) +/* f071c90: c440001c */ lwc1 $f0,0x1c($v0) +/* f071c94: 46000280 */ add.s $f10,$f0,$f0 +/* f071c98: 460a703e */ c.le.s $f14,$f10 +/* f071c9c: 00000000 */ nop +/* f071ca0: 45020039 */ bc1fl .PB0f071d88 +/* f071ca4: 8fa200c0 */ lw $v0,0xc0($sp) +/* f071ca8: 46000087 */ neg.s $f2,$f0 +/* f071cac: 46021100 */ add.s $f4,$f2,$f2 +/* f071cb0: 460e203e */ c.le.s $f4,$f14 +/* f071cb4: 00000000 */ nop +/* f071cb8: 45020033 */ bc1fl .PB0f071d88 +/* f071cbc: 8fa200c0 */ lw $v0,0xc0($sp) +/* f071cc0: 44804000 */ mtc1 $zero,$f8 +/* f071cc4: 3c017f1b */ lui $at,0x7f1b +/* f071cc8: e608001c */ swc1 $f8,0x1c($s0) +/* f071ccc: c426bfe4 */ lwc1 $f6,-0x401c($at) +/* f071cd0: 4606603c */ c.lt.s $f12,$f6 +/* f071cd4: 00000000 */ nop +/* f071cd8: 45000018 */ bc1f .PB0f071d3c +/* f071cdc: 00000000 */ nop +/* f071ce0: 0c004be0 */ jal 0x12f80 +/* f071ce4: 00000000 */ nop +/* f071ce8: 8fa300c0 */ lw $v1,0xc0($sp) +/* f071cec: 3c017f1b */ lui $at,0x7f1b +/* f071cf0: c42abfe8 */ lwc1 $f10,-0x4018($at) +/* f071cf4: c4640014 */ lwc1 $f4,0x14($v1) +/* f071cf8: 44823000 */ mtc1 $v0,$f6 +/* f071cfc: 3c014f80 */ lui $at,0x4f80 +/* f071d00: 46045201 */ sub.s $f8,$f10,$f4 +/* f071d04: 04410004 */ bgez $v0,.PB0f071d18 +/* f071d08: 468032a0 */ cvt.s.w $f10,$f6 +/* f071d0c: 44812000 */ mtc1 $at,$f4 +/* f071d10: 00000000 */ nop +/* f071d14: 46045280 */ add.s $f10,$f10,$f4 +.PB0f071d18: +/* f071d18: 3c012f80 */ lui $at,0x2f80 +/* f071d1c: 44813000 */ mtc1 $at,$f6 +/* f071d20: 00000000 */ nop +/* f071d24: 46065102 */ mul.s $f4,$f10,$f6 +/* f071d28: c46a0018 */ lwc1 $f10,0x18($v1) +/* f071d2c: 460a2182 */ mul.s $f6,$f4,$f10 +/* f071d30: 46064101 */ sub.s $f4,$f8,$f6 +/* f071d34: 10000013 */ b .PB0f071d84 +/* f071d38: e6040018 */ swc1 $f4,0x18($s0) +.PB0f071d3c: +/* f071d3c: 0c004be0 */ jal 0x12f80 +/* f071d40: 00000000 */ nop +/* f071d44: 44825000 */ mtc1 $v0,$f10 +/* f071d48: 3c014f80 */ lui $at,0x4f80 +/* f071d4c: 04410004 */ bgez $v0,.PB0f071d60 +/* f071d50: 46805220 */ cvt.s.w $f8,$f10 +/* f071d54: 44813000 */ mtc1 $at,$f6 +/* f071d58: 00000000 */ nop +/* f071d5c: 46064200 */ add.s $f8,$f8,$f6 +.PB0f071d60: +/* f071d60: 3c012f80 */ lui $at,0x2f80 +/* f071d64: 44812000 */ mtc1 $at,$f4 +/* f071d68: 8fb800c0 */ lw $t8,0xc0($sp) +/* f071d6c: 46044282 */ mul.s $f10,$f8,$f4 +/* f071d70: c7060018 */ lwc1 $f6,0x18($t8) +/* f071d74: c7040014 */ lwc1 $f4,0x14($t8) +/* f071d78: 46065202 */ mul.s $f8,$f10,$f6 +/* f071d7c: 46044280 */ add.s $f10,$f8,$f4 +/* f071d80: e60a0018 */ swc1 $f10,0x18($s0) +.PB0f071d84: +/* f071d84: 8fa200c0 */ lw $v0,0xc0($sp) +.PB0f071d88: +/* f071d88: 8e050024 */ lw $a1,0x24($s0) +/* f071d8c: 26040020 */ addiu $a0,$s0,0x20 +/* f071d90: c440002c */ lwc1 $f0,0x2c($v0) +/* f071d94: 26060028 */ addiu $a2,$s0,0x28 +/* f071d98: e7a00010 */ swc1 $f0,0x10($sp) +/* f071d9c: c4460030 */ lwc1 $f6,0x30($v0) +/* f071da0: 44070000 */ mfc1 $a3,$f0 +/* f071da4: 0fc1b736 */ jal 0xf06dcd8 +/* f071da8: e7a60014 */ swc1 $f6,0x14($sp) +/* f071dac: c60c0024 */ lwc1 $f12,0x24($s0) +/* f071db0: c6080020 */ lwc1 $f8,0x20($s0) +/* f071db4: 46086032 */ c.eq.s $f12,$f8 +/* f071db8: 00000000 */ nop +/* f071dbc: 45000040 */ bc1f .PB0f071ec0 +/* f071dc0: 00000000 */ nop +/* f071dc4: 8fb900c0 */ lw $t9,0xc0($sp) +/* f071dc8: c60e0028 */ lwc1 $f14,0x28($s0) +/* f071dcc: c720002c */ lwc1 $f0,0x2c($t9) +/* f071dd0: 46000100 */ add.s $f4,$f0,$f0 +/* f071dd4: 4604703e */ c.le.s $f14,$f4 +/* f071dd8: 00000000 */ nop +/* f071ddc: 45000038 */ bc1f .PB0f071ec0 +/* f071de0: 00000000 */ nop +/* f071de4: 46000087 */ neg.s $f2,$f0 +/* f071de8: 46021280 */ add.s $f10,$f2,$f2 +/* f071dec: 460e503e */ c.le.s $f10,$f14 +/* f071df0: 00000000 */ nop +/* f071df4: 45000032 */ bc1f .PB0f071ec0 +/* f071df8: 00000000 */ nop +/* f071dfc: 44803000 */ mtc1 $zero,$f6 +/* f071e00: 3c017f1b */ lui $at,0x7f1b +/* f071e04: e6060028 */ swc1 $f6,0x28($s0) +/* f071e08: c428bfec */ lwc1 $f8,-0x4014($at) +/* f071e0c: 4608603c */ c.lt.s $f12,$f8 +/* f071e10: 00000000 */ nop +/* f071e14: 45000018 */ bc1f .PB0f071e78 +/* f071e18: 00000000 */ nop +/* f071e1c: 0c004be0 */ jal 0x12f80 +/* f071e20: 00000000 */ nop +/* f071e24: 8fa900c0 */ lw $t1,0xc0($sp) +/* f071e28: 3c017f1b */ lui $at,0x7f1b +/* f071e2c: c424bff0 */ lwc1 $f4,-0x4010($at) +/* f071e30: c52a0024 */ lwc1 $f10,0x24($t1) +/* f071e34: 44824000 */ mtc1 $v0,$f8 +/* f071e38: 3c014f80 */ lui $at,0x4f80 +/* f071e3c: 460a2181 */ sub.s $f6,$f4,$f10 +/* f071e40: 04410004 */ bgez $v0,.PB0f071e54 +/* f071e44: 46804120 */ cvt.s.w $f4,$f8 +/* f071e48: 44815000 */ mtc1 $at,$f10 +/* f071e4c: 00000000 */ nop +/* f071e50: 460a2100 */ add.s $f4,$f4,$f10 +.PB0f071e54: +/* f071e54: 3c012f80 */ lui $at,0x2f80 +/* f071e58: 44814000 */ mtc1 $at,$f8 +/* f071e5c: 00000000 */ nop +/* f071e60: 46082282 */ mul.s $f10,$f4,$f8 +/* f071e64: c5240028 */ lwc1 $f4,0x28($t1) +/* f071e68: 46045202 */ mul.s $f8,$f10,$f4 +/* f071e6c: 46083281 */ sub.s $f10,$f6,$f8 +/* f071e70: 10000013 */ b .PB0f071ec0 +/* f071e74: e60a0024 */ swc1 $f10,0x24($s0) +.PB0f071e78: +/* f071e78: 0c004be0 */ jal 0x12f80 +/* f071e7c: 00000000 */ nop +/* f071e80: 44822000 */ mtc1 $v0,$f4 +/* f071e84: 3c014f80 */ lui $at,0x4f80 +/* f071e88: 04410004 */ bgez $v0,.PB0f071e9c +/* f071e8c: 468021a0 */ cvt.s.w $f6,$f4 +/* f071e90: 44814000 */ mtc1 $at,$f8 +/* f071e94: 00000000 */ nop +/* f071e98: 46083180 */ add.s $f6,$f6,$f8 +.PB0f071e9c: +/* f071e9c: 3c012f80 */ lui $at,0x2f80 +/* f071ea0: 44815000 */ mtc1 $at,$f10 +/* f071ea4: 8faa00c0 */ lw $t2,0xc0($sp) +/* f071ea8: 460a3102 */ mul.s $f4,$f6,$f10 +/* f071eac: c5480028 */ lwc1 $f8,0x28($t2) +/* f071eb0: c54a0024 */ lwc1 $f10,0x24($t2) +/* f071eb4: 46082182 */ mul.s $f6,$f4,$f8 +/* f071eb8: 460a3100 */ add.s $f4,$f6,$f10 +/* f071ebc: e6040024 */ swc1 $f4,0x24($s0) +.PB0f071ec0: +/* f071ec0: 3c04800a */ lui $a0,0x800a +/* f071ec4: 2484e4d0 */ addiu $a0,$a0,-6960 +/* f071ec8: 8c8b0038 */ lw $t3,0x38($a0) +/* f071ecc: 00001025 */ move $v0,$zero +/* f071ed0: 19600070 */ blez $t3,.PB0f072094 +/* f071ed4: 3c017f1b */ lui $at,0x7f1b +/* f071ed8: c432bff4 */ lwc1 $f18,-0x400c($at) +/* f071edc: 3c014120 */ lui $at,0x4120 +/* f071ee0: 44818000 */ mtc1 $at,$f16 +/* f071ee4: 3c030400 */ lui $v1,0x400 +/* f071ee8: c602002c */ lwc1 $f2,0x2c($s0) +.PB0f071eec: +/* f071eec: c7a800b4 */ lwc1 $f8,0xb4($sp) +/* f071ef0: 3c017f1b */ lui $at,0x7f1b +/* f071ef4: c42abff8 */ lwc1 $f10,-0x4008($at) +/* f071ef8: 46024181 */ sub.s $f6,$f8,$f2 +/* f071efc: c60e0030 */ lwc1 $f14,0x30($s0) +/* f071f00: 46009306 */ mov.s $f12,$f18 +/* f071f04: 240e0001 */ li $t6,0x1 +/* f071f08: 460a3102 */ mul.s $f4,$f6,$f10 +/* f071f0c: c60a0034 */ lwc1 $f10,0x34($s0) +/* f071f10: 460a703c */ c.lt.s $f14,$f10 +/* f071f14: 46041200 */ add.s $f8,$f2,$f4 +/* f071f18: e608002c */ swc1 $f8,0x2c($s0) +/* f071f1c: c7a600ac */ lwc1 $f6,0xac($sp) +/* f071f20: 45000021 */ bc1f .PB0f071fa8 +/* f071f24: 460e3001 */ sub.s $f0,$f6,$f14 +/* f071f28: 44802000 */ mtc1 $zero,$f4 +/* f071f2c: 3c017f1b */ lui $at,0x7f1b +/* f071f30: 4600203e */ c.le.s $f4,$f0 +/* f071f34: 00000000 */ nop +/* f071f38: 45020004 */ bc1fl .PB0f071f4c +/* f071f3c: 46000087 */ neg.s $f2,$f0 +/* f071f40: 10000002 */ b .PB0f071f4c +/* f071f44: 46000086 */ mov.s $f2,$f0 +/* f071f48: 46000087 */ neg.s $f2,$f0 +.PB0f071f4c: +/* f071f4c: 4602803c */ c.lt.s $f16,$f2 +/* f071f50: 00000000 */ nop +/* f071f54: 45000009 */ bc1f .PB0f071f7c +/* f071f58: 00000000 */ nop +/* f071f5c: 46101201 */ sub.s $f8,$f2,$f16 +/* f071f60: c426bffc */ lwc1 $f6,-0x4004($at) +/* f071f64: 3c013f80 */ lui $at,0x3f80 +/* f071f68: 44812000 */ mtc1 $at,$f4 +/* f071f6c: 46064282 */ mul.s $f10,$f8,$f6 +/* f071f70: 460a2200 */ add.s $f8,$f4,$f10 +/* f071f74: 46089302 */ mul.s $f12,$f18,$f8 +/* f071f78: 00000000 */ nop +.PB0f071f7c: +/* f071f7c: 3c017f1b */ lui $at,0x7f1b +/* f071f80: c426c000 */ lwc1 $f6,-0x4000($at) +/* f071f84: 3c017f1b */ lui $at,0x7f1b +/* f071f88: 460c303c */ c.lt.s $f6,$f12 +/* f071f8c: 00000000 */ nop +/* f071f90: 45000002 */ bc1f .PB0f071f9c +/* f071f94: 00000000 */ nop +/* f071f98: c42cc004 */ lwc1 $f12,-0x3ffc($at) +.PB0f071f9c: +/* f071f9c: 460c0002 */ mul.s $f0,$f0,$f12 +/* f071fa0: 10000029 */ b .PB0f072048 +/* f071fa4: 3c013f80 */ lui $at,0x3f80 +.PB0f071fa8: +/* f071fa8: 8e2c0040 */ lw $t4,0x40($s1) +/* f071fac: 46120002 */ mul.s $f0,$f0,$f18 +/* f071fb0: 3c0140a0 */ lui $at,0x40a0 +/* f071fb4: 01836824 */ and $t5,$t4,$v1 +/* f071fb8: 51a00011 */ beqzl $t5,.PB0f072000 +/* f071fbc: 44815000 */ mtc1 $at,$f10 +/* f071fc0: 4600803c */ c.lt.s $f16,$f0 +/* f071fc4: 3c01c120 */ lui $at,0xc120 +/* f071fc8: 45020004 */ bc1fl .PB0f071fdc +/* f071fcc: 44812000 */ mtc1 $at,$f4 +/* f071fd0: 1000001c */ b .PB0f072044 +/* f071fd4: 46008006 */ mov.s $f0,$f16 +/* f071fd8: 44812000 */ mtc1 $at,$f4 +.PB0f071fdc: +/* f071fdc: 3c01c120 */ lui $at,0xc120 +/* f071fe0: 4604003c */ c.lt.s $f0,$f4 +/* f071fe4: 00000000 */ nop +/* f071fe8: 45020017 */ bc1fl .PB0f072048 +/* f071fec: 3c013f80 */ lui $at,0x3f80 +/* f071ff0: 44810000 */ mtc1 $at,$f0 +/* f071ff4: 10000014 */ b .PB0f072048 +/* f071ff8: 3c013f80 */ lui $at,0x3f80 +/* f071ffc: 44815000 */ mtc1 $at,$f10 +.PB0f072000: +/* f072000: 3c01c0a0 */ lui $at,0xc0a0 +/* f072004: 4600503c */ c.lt.s $f10,$f0 +/* f072008: 00000000 */ nop +/* f07200c: 45020006 */ bc1fl .PB0f072028 +/* f072010: 44814000 */ mtc1 $at,$f8 +/* f072014: 3c0140a0 */ lui $at,0x40a0 +/* f072018: 44810000 */ mtc1 $at,$f0 +/* f07201c: 1000000a */ b .PB0f072048 +/* f072020: 3c013f80 */ lui $at,0x3f80 +/* f072024: 44814000 */ mtc1 $at,$f8 +.PB0f072028: +/* f072028: 3c01c0a0 */ lui $at,0xc0a0 +/* f07202c: 4608003c */ c.lt.s $f0,$f8 +/* f072030: 00000000 */ nop +/* f072034: 45020004 */ bc1fl .PB0f072048 +/* f072038: 3c013f80 */ lui $at,0x3f80 +/* f07203c: 44810000 */ mtc1 $at,$f0 +/* f072040: 00000000 */ nop +.PB0f072044: +/* f072044: 3c013f80 */ lui $at,0x3f80 +.PB0f072048: +/* f072048: 44812000 */ mtc1 $at,$f4 +/* f07204c: 46007180 */ add.s $f6,$f14,$f0 +/* f072050: 3c01bf80 */ lui $at,0xbf80 +/* f072054: 4600203c */ c.lt.s $f4,$f0 +/* f072058: e6060030 */ swc1 $f6,0x30($s0) +/* f07205c: 45030008 */ bc1tl .PB0f072080 +/* f072060: afae008c */ sw $t6,0x8c($sp) +/* f072064: 44815000 */ mtc1 $at,$f10 +/* f072068: 00000000 */ nop +/* f07206c: 460a003c */ c.lt.s $f0,$f10 +/* f072070: 00000000 */ nop +/* f072074: 45020003 */ bc1fl .PB0f072084 +/* f072078: 8c8f0038 */ lw $t7,0x38($a0) +/* f07207c: afae008c */ sw $t6,0x8c($sp) +.PB0f072080: +/* f072080: 8c8f0038 */ lw $t7,0x38($a0) +.PB0f072084: +/* f072084: 24420001 */ addiu $v0,$v0,0x1 +/* f072088: 004f082a */ slt $at,$v0,$t7 +/* f07208c: 5420ff97 */ bnezl $at,.PB0f071eec +/* f072090: c602002c */ lwc1 $f2,0x2c($s0) +.PB0f072094: +/* f072094: 8fb8008c */ lw $t8,0x8c($sp) +/* f072098: 13000004 */ beqz $t8,.PB0f0720ac +/* f07209c: 02202025 */ move $a0,$s1 +/* f0720a0: 24050001 */ li $a1,0x1 +/* f0720a4: 0fc1a792 */ jal 0xf069e48 +/* f0720a8: 24060001 */ li $a2,0x1 +.PB0f0720ac: +/* f0720ac: 3c0140a0 */ lui $at,0x40a0 +/* f0720b0: 44811000 */ mtc1 $at,$f2 +/* f0720b4: c6000034 */ lwc1 $f0,0x34($s0) +/* f0720b8: c60e0030 */ lwc1 $f14,0x30($s0) +/* f0720bc: 46020201 */ sub.s $f8,$f0,$f2 +/* f0720c0: 4608703c */ c.lt.s $f14,$f8 +/* f0720c4: 00000000 */ nop +/* f0720c8: 45030007 */ bc1tl .PB0f0720e8 +/* f0720cc: 8e390008 */ lw $t9,0x8($s1) +/* f0720d0: 46020180 */ add.s $f6,$f0,$f2 +/* f0720d4: 460e303c */ c.lt.s $f6,$f14 +/* f0720d8: 00000000 */ nop +/* f0720dc: 45020007 */ bc1fl .PB0f0720fc +/* f0720e0: 8e2a0008 */ lw $t2,0x8($s1) +/* f0720e4: 8e390008 */ lw $t9,0x8($s1) +.PB0f0720e8: +/* f0720e8: 3c018000 */ lui $at,0x8000 +/* f0720ec: 03214825 */ or $t1,$t9,$at +/* f0720f0: 10000006 */ b .PB0f07210c +/* f0720f4: ae290008 */ sw $t1,0x8($s1) +/* f0720f8: 8e2a0008 */ lw $t2,0x8($s1) +.PB0f0720fc: +/* f0720fc: 3c017fff */ lui $at,0x7fff +/* f072100: 3421ffff */ ori $at,$at,0xffff +/* f072104: 01415824 */ and $t3,$t2,$at +/* f072108: ae2b0008 */ sw $t3,0x8($s1) +.PB0f07210c: +/* f07210c: 0fc1c54e */ jal 0xf071538 +/* f072110: 02202025 */ move $a0,$s1 +/* f072114: c6040030 */ lwc1 $f4,0x30($s0) +/* f072118: 8fac01d4 */ lw $t4,0x1d4($sp) +/* f07211c: 27a50148 */ addiu $a1,$sp,0x148 +/* f072120: 46040280 */ add.s $f10,$f0,$f4 +/* f072124: e58a000c */ swc1 $f10,0xc($t4) +/* f072128: 0c005b94 */ jal 0x16e50 +/* f07212c: c60c0020 */ lwc1 $f12,0x20($s0) +/* f072130: c608002c */ lwc1 $f8,0x2c($s0) +/* f072134: c6060014 */ lwc1 $f6,0x14($s0) +/* f072138: 3c017f1b */ lui $at,0x7f1b +/* f07213c: c424c008 */ lwc1 $f4,-0x3ff8($at) +/* f072140: 46064300 */ add.s $f12,$f8,$f6 +/* f072144: 3c017f1b */ lui $at,0x7f1b +/* f072148: 460c203e */ c.le.s $f4,$f12 +/* f07214c: 00000000 */ nop +/* f072150: 45020005 */ bc1fl .PB0f072168 +/* f072154: 44804000 */ mtc1 $zero,$f8 +/* f072158: c42ac00c */ lwc1 $f10,-0x3ff4($at) +/* f07215c: 10000009 */ b .PB0f072184 +/* f072160: 460a6301 */ sub.s $f12,$f12,$f10 +/* f072164: 44804000 */ mtc1 $zero,$f8 +.PB0f072168: +/* f072168: 3c017f1b */ lui $at,0x7f1b +/* f07216c: 4608603c */ c.lt.s $f12,$f8 +/* f072170: 00000000 */ nop +/* f072174: 45000003 */ bc1f .PB0f072184 +/* f072178: 00000000 */ nop +/* f07217c: c426c010 */ lwc1 $f6,-0x3ff0($at) +/* f072180: 46066300 */ add.s $f12,$f12,$f6 +.PB0f072184: +/* f072184: 0c005b4e */ jal 0x16d38 +/* f072188: 27a50108 */ addiu $a1,$sp,0x108 +/* f07218c: 27a40108 */ addiu $a0,$sp,0x108 +/* f072190: 0c00598c */ jal 0x16630 +/* f072194: 27a50148 */ addiu $a1,$sp,0x148 +/* f072198: c60c0010 */ lwc1 $f12,0x10($s0) +/* f07219c: 0c005b71 */ jal 0x16dc4 +/* f0721a0: 27a50108 */ addiu $a1,$sp,0x108 +/* f0721a4: 27b00108 */ addiu $s0,$sp,0x108 +/* f0721a8: 02002025 */ move $a0,$s0 +/* f0721ac: 0c00598c */ jal 0x16630 +/* f0721b0: 27a50148 */ addiu $a1,$sp,0x148 +/* f0721b4: 8e2d0018 */ lw $t5,0x18($s1) +/* f0721b8: 27a50148 */ addiu $a1,$sp,0x148 +/* f0721bc: 0c005a55 */ jal 0x16954 +/* f0721c0: c5ac0014 */ lwc1 $f12,0x14($t5) +/* f0721c4: 922e0003 */ lbu $t6,0x3($s1) +/* f0721c8: 24010033 */ li $at,0x33 +/* f0721cc: 55c10027 */ bnel $t6,$at,.PB0f07226c +/* f0721d0: 27a40148 */ addiu $a0,$sp,0x148 +/* f0721d4: c62400bc */ lwc1 $f4,0xbc($s1) +/* f0721d8: c62a00c0 */ lwc1 $f10,0xc0($s1) +/* f0721dc: 44803000 */ mtc1 $zero,$f6 +/* f0721e0: 460a2200 */ add.s $f8,$f4,$f10 +/* f0721e4: e7a8006c */ swc1 $f8,0x6c($sp) +/* f0721e8: c62c00b8 */ lwc1 $f12,0xb8($s1) +/* f0721ec: 460c3032 */ c.eq.s $f6,$f12 +/* f0721f0: 00000000 */ nop +/* f0721f4: 4503000c */ bc1tl .PB0f072228 +/* f0721f8: c7a4006c */ lwc1 $f4,0x6c($sp) +/* f0721fc: 0c005b4e */ jal 0x16d38 +/* f072200: 02002825 */ move $a1,$s0 +/* f072204: 27b100c8 */ addiu $s1,$sp,0xc8 +/* f072208: 02203025 */ move $a2,$s1 +/* f07220c: 27a40148 */ addiu $a0,$sp,0x148 +/* f072210: 0c00598d */ jal 0x16634 +/* f072214: 02002825 */ move $a1,$s0 +/* f072218: 02202025 */ move $a0,$s1 +/* f07221c: 0c0059da */ jal 0x16768 +/* f072220: 27a50148 */ addiu $a1,$sp,0x148 +/* f072224: c7a4006c */ lwc1 $f4,0x6c($sp) +.PB0f072228: +/* f072228: 44805000 */ mtc1 $zero,$f10 +/* f07222c: 27b100c8 */ addiu $s1,$sp,0xc8 +/* f072230: 02002825 */ move $a1,$s0 +/* f072234: 460a2032 */ c.eq.s $f4,$f10 +/* f072238: 00000000 */ nop +/* f07223c: 4503000b */ bc1tl .PB0f07226c +/* f072240: 27a40148 */ addiu $a0,$sp,0x148 +/* f072244: 0c005b94 */ jal 0x16e50 +/* f072248: 46002306 */ mov.s $f12,$f4 +/* f07224c: 27a40148 */ addiu $a0,$sp,0x148 +/* f072250: 02002825 */ move $a1,$s0 +/* f072254: 0c00598d */ jal 0x16634 +/* f072258: 02203025 */ move $a2,$s1 +/* f07225c: 02202025 */ move $a0,$s1 +/* f072260: 0c0059da */ jal 0x16768 +/* f072264: 27a50148 */ addiu $a1,$sp,0x148 +/* f072268: 27a40148 */ addiu $a0,$sp,0x148 +.PB0f07226c: +/* f07226c: 0c0059fc */ jal 0x167f0 +/* f072270: 8fa5005c */ lw $a1,0x5c($sp) +/* f072274: 8fbf004c */ lw $ra,0x4c($sp) +.PB0f072278: +/* f072278: 8fb00044 */ lw $s0,0x44($sp) +/* f07227c: 8fb10048 */ lw $s1,0x48($sp) +/* f072280: 03e00008 */ jr $ra +/* f072284: 27bd01d8 */ addiu $sp,$sp,0x1d8 +); #else GLOBAL_ASM( glabel func0f0714b8 @@ -20565,6 +22000,616 @@ glabel var7f1ab654pf /* f073544: 03e00008 */ jr $ra /* f073548: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel hoverbikeUpdateMovement +.late_rodata +glabel var7f1ab5d0pf +.word 0x3d32b179 +glabel var7f1ab5d4pf +.word 0x3db6e2eb +glabel var7f1ab5d8pf +.word 0x3e99999a +glabel var7f1ab5dcpf +.word 0x3dcccccd +glabel var7f1ab5e0pf +.word 0x3e99999a +glabel var7f1ab5e4pf +.word 0x3dcccccd +glabel var7f1ab5e8pf +.word 0x3f6e147b +glabel var7f1ab5ecpf +.word 0x3f333333 +glabel var7f1ab5f0pf +.word 0x3d23d70a +glabel var7f1ab5f4pf +.word 0x40c907a9 +glabel var7f1ab5f8pf +.word 0x3dcccccd +glabel var7f1ab5fcpf +.word 0x3dcccccd +glabel var7f1ab600pf +.word 0x3ecccccd +glabel var7f1ab604pf +.word 0x3e80a8be +glabel var7f1ab608pf +.word 0x3fa5e355 +glabel var7f1ab60cpf +.word 0x3f5d2f1c +glabel var7f1ab610pf +.word 0x3fa5e355 +glabel var7f1ab614pf +.word 0x3f5d2f1c +glabel var7f1ab618pf +.word 0x3f76c8b4 +glabel var7f1ab61cpf +.word 0x3e353f7d +glabel var7f1ab620pf +.word 0x3d43c9ef +glabel var7f1ab624pf +.word 0x3f7d70a4 +glabel var7f1ab628pf +.word 0x3f4ccccd +glabel var7f1ab62cpf +.word 0xbdcccccd +glabel var7f1ab630pf +.word 0x459c4000 +glabel var7f1ab634pf +.word 0x49f42400 +glabel var7f1ab638pf +.word 0x3dcccccd +glabel var7f1ab63cpf +.word 0x3dcccccd +glabel var7f1ab640pf +.word 0x3a83126f +glabel var7f1ab644pf +.word 0x3dcccccd +glabel var7f1ab648pf +.word 0xbdcccccd +glabel var7f1ab64cpf +.word 0xbdcccccd +glabel var7f1ab650pf +.word 0xba83126f +glabel var7f1ab654pf +.word 0xbdcccccd +.text +/* f072cb0: 27bdff78 */ addiu $sp,$sp,-136 +/* f072cb4: f7b40010 */ sdc1 $f20,0x10($sp) +/* f072cb8: afa5008c */ sw $a1,0x8c($sp) +/* f072cbc: 4480a000 */ mtc1 $zero,$f20 +/* f072cc0: c7a6008c */ lwc1 $f6,0x8c($sp) +/* f072cc4: 3c017f1b */ lui $at,0x7f1b +/* f072cc8: 44877000 */ mtc1 $a3,$f14 +/* f072ccc: 4614303c */ c.lt.s $f6,$f20 +/* f072cd0: c424c020 */ lwc1 $f4,-0x3fe0($at) +/* f072cd4: afbf001c */ sw $ra,0x1c($sp) +/* f072cd8: afa60090 */ sw $a2,0x90($sp) +/* f072cdc: 46047302 */ mul.s $f12,$f14,$f4 +/* f072ce0: 45000009 */ bc1f .PB0f072d08 +/* f072ce4: 3c05800a */ lui $a1,0x800a +/* f072ce8: 3c013f00 */ lui $at,0x3f00 +/* f072cec: 44814000 */ mtc1 $at,$f8 +/* f072cf0: 3c013f80 */ lui $at,0x3f80 +/* f072cf4: 44812000 */ mtc1 $at,$f4 +/* f072cf8: 46083282 */ mul.s $f10,$f6,$f8 +/* f072cfc: 460a2181 */ sub.s $f6,$f4,$f10 +/* f072d00: 46066302 */ mul.s $f12,$f12,$f6 +/* f072d04: 00000000 */ nop +.PB0f072d08: +/* f072d08: 3c013f00 */ lui $at,0x3f00 +/* f072d0c: 44812000 */ mtc1 $at,$f4 +/* f072d10: c7a8008c */ lwc1 $f8,0x8c($sp) +/* f072d14: 24a5e4d0 */ addiu $a1,$a1,-6960 +/* f072d18: 8cae0038 */ lw $t6,0x38($a1) +/* f072d1c: 46044382 */ mul.s $f14,$f8,$f4 +/* f072d20: 00001825 */ move $v1,$zero +/* f072d24: 19c0000d */ blez $t6,.PB0f072d5c +/* f072d28: 3c017f1b */ lui $at,0x7f1b +/* f072d2c: c420c024 */ lwc1 $f0,-0x3fdc($at) +/* f072d30: c48200ac */ lwc1 $f2,0xac($a0) +.PB0f072d34: +/* f072d34: 24630001 */ addiu $v1,$v1,0x1 +/* f072d38: 46026281 */ sub.s $f10,$f12,$f2 +/* f072d3c: 46005182 */ mul.s $f6,$f10,$f0 +/* f072d40: 46061200 */ add.s $f8,$f2,$f6 +/* f072d44: e48800ac */ swc1 $f8,0xac($a0) +/* f072d48: 8caf0038 */ lw $t7,0x38($a1) +/* f072d4c: 006f082a */ slt $at,$v1,$t7 +/* f072d50: 5420fff8 */ bnezl $at,.PB0f072d34 +/* f072d54: c48200ac */ lwc1 $f2,0xac($a0) +/* f072d58: 00001825 */ move $v1,$zero +.PB0f072d5c: +/* f072d5c: 3c014140 */ lui $at,0x4140 +/* f072d60: 44815000 */ mtc1 $at,$f10 +/* f072d64: c48400ac */ lwc1 $f4,0xac($a0) +/* f072d68: e7ae0044 */ swc1 $f14,0x44($sp) +/* f072d6c: afa40088 */ sw $a0,0x88($sp) +/* f072d70: 460a2182 */ mul.s $f6,$f4,$f10 +/* f072d74: afa30064 */ sw $v1,0x64($sp) +/* f072d78: 4606a200 */ add.s $f8,$f20,$f6 +/* f072d7c: 0fc1c8ab */ jal 0xf0722ac +/* f072d80: e7a8006c */ swc1 $f8,0x6c($sp) +/* f072d84: e7a00080 */ swc1 $f0,0x80($sp) +/* f072d88: 0c006b8b */ jal 0x1ae2c +/* f072d8c: 46000306 */ mov.s $f12,$f0 +/* f072d90: e7a0007c */ swc1 $f0,0x7c($sp) +/* f072d94: 0c006b88 */ jal 0x1ae20 +/* f072d98: c7ac0080 */ lwc1 $f12,0x80($sp) +/* f072d9c: c7b0008c */ lwc1 $f16,0x8c($sp) +/* f072da0: 3c05800a */ lui $a1,0x800a +/* f072da4: 24a5e4d0 */ addiu $a1,$a1,-6960 +/* f072da8: 4610a03e */ c.le.s $f20,$f16 +/* f072dac: 8fa30064 */ lw $v1,0x64($sp) +/* f072db0: 8fa40088 */ lw $a0,0x88($sp) +/* f072db4: c7ae0044 */ lwc1 $f14,0x44($sp) +/* f072db8: 4500000c */ bc1f .PB0f072dec +/* f072dbc: 3c017f1b */ lui $at,0x7f1b +/* f072dc0: 3c017f1b */ lui $at,0x7f1b +/* f072dc4: c432c028 */ lwc1 $f18,-0x3fd8($at) +/* f072dc8: 3c017f1b */ lui $at,0x7f1b +/* f072dcc: c424c02c */ lwc1 $f4,-0x3fd4($at) +/* f072dd0: c4a8004c */ lwc1 $f8,0x4c($a1) +/* f072dd4: 46048280 */ add.s $f10,$f16,$f4 +/* f072dd8: 46125182 */ mul.s $f6,$f10,$f18 +/* f072ddc: 00000000 */ nop +/* f072de0: 46083082 */ mul.s $f2,$f6,$f8 +/* f072de4: 1000000a */ b .PB0f072e10 +/* f072de8: 00000000 */ nop +.PB0f072dec: +/* f072dec: c432c030 */ lwc1 $f18,-0x3fd0($at) +/* f072df0: 3c017f1b */ lui $at,0x7f1b +/* f072df4: c424c034 */ lwc1 $f4,-0x3fcc($at) +/* f072df8: c4a8004c */ lwc1 $f8,0x4c($a1) +/* f072dfc: 46102281 */ sub.s $f10,$f4,$f16 +/* f072e00: 46125182 */ mul.s $f6,$f10,$f18 +/* f072e04: 00000000 */ nop +/* f072e08: 46083082 */ mul.s $f2,$f6,$f8 +/* f072e0c: 00000000 */ nop +.PB0f072e10: +/* f072e10: c48c00b4 */ lwc1 $f12,0xb4($a0) +/* f072e14: 3c013f80 */ lui $at,0x3f80 +/* f072e18: 460e603c */ c.lt.s $f12,$f14 +/* f072e1c: 00000000 */ nop +/* f072e20: 4502000b */ bc1fl .PB0f072e50 +/* f072e24: 46026181 */ sub.s $f6,$f12,$f2 +/* f072e28: 46026100 */ add.s $f4,$f12,$f2 +/* f072e2c: e48400b4 */ swc1 $f4,0xb4($a0) +/* f072e30: c48a00b4 */ lwc1 $f10,0xb4($a0) +/* f072e34: 460a703c */ c.lt.s $f14,$f10 +/* f072e38: 00000000 */ nop +/* f072e3c: 4502000c */ bc1fl .PB0f072e70 +/* f072e40: 44816000 */ mtc1 $at,$f12 +/* f072e44: 10000009 */ b .PB0f072e6c +/* f072e48: e48e00b4 */ swc1 $f14,0xb4($a0) +/* f072e4c: 46026181 */ sub.s $f6,$f12,$f2 +.PB0f072e50: +/* f072e50: e48600b4 */ swc1 $f6,0xb4($a0) +/* f072e54: c48800b4 */ lwc1 $f8,0xb4($a0) +/* f072e58: 460e403c */ c.lt.s $f8,$f14 +/* f072e5c: 00000000 */ nop +/* f072e60: 45020003 */ bc1fl .PB0f072e70 +/* f072e64: 44816000 */ mtc1 $at,$f12 +/* f072e68: e48e00b4 */ swc1 $f14,0xb4($a0) +.PB0f072e6c: +/* f072e6c: 44816000 */ mtc1 $at,$f12 +.PB0f072e70: +/* f072e70: 3c017f1b */ lui $at,0x7f1b +/* f072e74: c42ac038 */ lwc1 $f10,-0x3fc8($at) +/* f072e78: c48400c8 */ lwc1 $f4,0xc8($a0) +/* f072e7c: 3c0140a0 */ lui $at,0x40a0 +/* f072e80: 460a2182 */ mul.s $f6,$f4,$f10 +/* f072e84: c48400c4 */ lwc1 $f4,0xc4($a0) +/* f072e88: e49000c4 */ swc1 $f16,0xc4($a0) +/* f072e8c: 46048281 */ sub.s $f10,$f16,$f4 +/* f072e90: e48600c8 */ swc1 $f6,0xc8($a0) +/* f072e94: c48800c8 */ lwc1 $f8,0xc8($a0) +/* f072e98: 460a4180 */ add.s $f6,$f8,$f10 +/* f072e9c: 44814000 */ mtc1 $at,$f8 +/* f072ea0: 3c01bf80 */ lui $at,0xbf80 +/* f072ea4: e48600c8 */ swc1 $f6,0xc8($a0) +/* f072ea8: c48400c8 */ lwc1 $f4,0xc8($a0) +/* f072eac: 46082082 */ mul.s $f2,$f4,$f8 +/* f072eb0: 4602603c */ c.lt.s $f12,$f2 +/* f072eb4: 00000000 */ nop +/* f072eb8: 45020004 */ bc1fl .PB0f072ecc +/* f072ebc: 44816000 */ mtc1 $at,$f12 +/* f072ec0: 10000008 */ b .PB0f072ee4 +/* f072ec4: 46006086 */ mov.s $f2,$f12 +/* f072ec8: 44816000 */ mtc1 $at,$f12 +.PB0f072ecc: +/* f072ecc: 00000000 */ nop +/* f072ed0: 460c103c */ c.lt.s $f2,$f12 +/* f072ed4: 00000000 */ nop +/* f072ed8: 45020003 */ bc1fl .PB0f072ee8 +/* f072edc: 4610a03e */ c.le.s $f20,$f16 +/* f072ee0: 46006086 */ mov.s $f2,$f12 +.PB0f072ee4: +/* f072ee4: 4610a03e */ c.le.s $f20,$f16 +.PB0f072ee8: +/* f072ee8: 00000000 */ nop +/* f072eec: 45020010 */ bc1fl .PB0f072f30 +/* f072ef0: 4614103c */ c.lt.s $f2,$f20 +/* f072ef4: 4602a03c */ c.lt.s $f20,$f2 +/* f072ef8: 3c017f1b */ lui $at,0x7f1b +/* f072efc: 45000008 */ bc1f .PB0f072f20 +/* f072f00: 00000000 */ nop +/* f072f04: 46128282 */ mul.s $f10,$f16,$f18 +/* f072f08: c426c03c */ lwc1 $f6,-0x3fc4($at) +/* f072f0c: 46068102 */ mul.s $f4,$f16,$f6 +/* f072f10: 00000000 */ nop +/* f072f14: 46022202 */ mul.s $f8,$f4,$f2 +/* f072f18: 1000000c */ b .PB0f072f4c +/* f072f1c: 46085300 */ add.s $f12,$f10,$f8 +.PB0f072f20: +/* f072f20: 46128302 */ mul.s $f12,$f16,$f18 +/* f072f24: 10000009 */ b .PB0f072f4c +/* f072f28: 00000000 */ nop +/* f072f2c: 4614103c */ c.lt.s $f2,$f20 +.PB0f072f30: +/* f072f30: 00000000 */ nop +/* f072f34: 45020005 */ bc1fl .PB0f072f4c +/* f072f38: 46007306 */ mov.s $f12,$f14 +/* f072f3c: 46027182 */ mul.s $f6,$f14,$f2 +/* f072f40: 10000002 */ b .PB0f072f4c +/* f072f44: 46067301 */ sub.s $f12,$f14,$f6 +/* f072f48: 46007306 */ mov.s $f12,$f14 +.PB0f072f4c: +/* f072f4c: 3c017f1b */ lui $at,0x7f1b +/* f072f50: c424c040 */ lwc1 $f4,-0x3fc0($at) +/* f072f54: 3c017f1b */ lui $at,0x7f1b +/* f072f58: c428c044 */ lwc1 $f8,-0x3fbc($at) +/* f072f5c: 46046282 */ mul.s $f10,$f12,$f4 +/* f072f60: 3c017f1b */ lui $at,0x7f1b +/* f072f64: 46085182 */ mul.s $f6,$f10,$f8 +/* f072f68: c7aa0090 */ lwc1 $f10,0x90($sp) +/* f072f6c: 460aa03e */ c.le.s $f20,$f10 +/* f072f70: 4606a100 */ add.s $f4,$f20,$f6 +/* f072f74: c7a60090 */ lwc1 $f6,0x90($sp) +/* f072f78: 4500000a */ bc1f .PB0f072fa4 +/* f072f7c: e7a40070 */ swc1 $f4,0x70($sp) +/* f072f80: 3c017f1b */ lui $at,0x7f1b +/* f072f84: c428c048 */ lwc1 $f8,-0x3fb8($at) +/* f072f88: 46085180 */ add.s $f6,$f10,$f8 +/* f072f8c: c4aa004c */ lwc1 $f10,0x4c($a1) +/* f072f90: 46123102 */ mul.s $f4,$f6,$f18 +/* f072f94: 00000000 */ nop +/* f072f98: 460a2302 */ mul.s $f12,$f4,$f10 +/* f072f9c: 10000008 */ b .PB0f072fc0 +/* f072fa0: 00000000 */ nop +.PB0f072fa4: +/* f072fa4: c428c04c */ lwc1 $f8,-0x3fb4($at) +/* f072fa8: 46064101 */ sub.s $f4,$f8,$f6 +/* f072fac: c4a8004c */ lwc1 $f8,0x4c($a1) +/* f072fb0: 46122282 */ mul.s $f10,$f4,$f18 +/* f072fb4: 00000000 */ nop +/* f072fb8: 46085302 */ mul.s $f12,$f10,$f8 +/* f072fbc: 00000000 */ nop +.PB0f072fc0: +/* f072fc0: 3c017f1b */ lui $at,0x7f1b +/* f072fc4: c426c050 */ lwc1 $f6,-0x3fb0($at) +/* f072fc8: c7a40090 */ lwc1 $f4,0x90($sp) +/* f072fcc: c48e00b0 */ lwc1 $f14,0xb0($a0) +/* f072fd0: 3c017f1b */ lui $at,0x7f1b +/* f072fd4: 46043082 */ mul.s $f2,$f6,$f4 +/* f072fd8: 4602703c */ c.lt.s $f14,$f2 +/* f072fdc: 00000000 */ nop +/* f072fe0: 4502000b */ bc1fl .PB0f073010 +/* f072fe4: 460c7181 */ sub.s $f6,$f14,$f12 +/* f072fe8: 460c7280 */ add.s $f10,$f14,$f12 +/* f072fec: e48a00b0 */ swc1 $f10,0xb0($a0) +/* f072ff0: c48800b0 */ lwc1 $f8,0xb0($a0) +/* f072ff4: 4608103c */ c.lt.s $f2,$f8 +/* f072ff8: 00000000 */ nop +/* f072ffc: 4502000c */ bc1fl .PB0f073030 +/* f073000: c7aa0090 */ lwc1 $f10,0x90($sp) +/* f073004: 10000009 */ b .PB0f07302c +/* f073008: e48200b0 */ swc1 $f2,0xb0($a0) +/* f07300c: 460c7181 */ sub.s $f6,$f14,$f12 +.PB0f073010: +/* f073010: e48600b0 */ swc1 $f6,0xb0($a0) +/* f073014: c48400b0 */ lwc1 $f4,0xb0($a0) +/* f073018: 4602203c */ c.lt.s $f4,$f2 +/* f07301c: 00000000 */ nop +/* f073020: 45020003 */ bc1fl .PB0f073030 +/* f073024: c7aa0090 */ lwc1 $f10,0x90($sp) +/* f073028: e48200b0 */ swc1 $f2,0xb0($a0) +.PB0f07302c: +/* f07302c: c7aa0090 */ lwc1 $f10,0x90($sp) +.PB0f073030: +/* f073030: c428c054 */ lwc1 $f8,-0x3fac($at) +/* f073034: 8ca20038 */ lw $v0,0x38($a1) +/* f073038: 46085182 */ mul.s $f6,$f10,$f8 +/* f07303c: c7a8007c */ lwc1 $f8,0x7c($sp) +/* f073040: 4606a100 */ add.s $f4,$f20,$f6 +/* f073044: 18400033 */ blez $v0,.PB0f073114 +/* f073048: e7a40068 */ swc1 $f4,0x68($sp) +/* f07304c: c48a00b4 */ lwc1 $f10,0xb4($a0) +/* f073050: 3c017f1b */ lui $at,0x7f1b +/* f073054: c424c058 */ lwc1 $f4,-0x3fa8($at) +/* f073058: 46085182 */ mul.s $f6,$f10,$f8 +/* f07305c: c48a00b0 */ lwc1 $f10,0xb0($a0) +/* f073060: 3c017f1b */ lui $at,0x7f1b +/* f073064: 46043302 */ mul.s $f12,$f6,$f4 +/* f073068: c424c05c */ lwc1 $f4,-0x3fa4($at) +/* f07306c: 3c017f1b */ lui $at,0x7f1b +/* f073070: 46085182 */ mul.s $f6,$f10,$f8 +/* f073074: c48a00b4 */ lwc1 $f10,0xb4($a0) +/* f073078: 46043382 */ mul.s $f14,$f6,$f4 +/* f07307c: c426c060 */ lwc1 $f6,-0x3fa0($at) +/* f073080: c48400b0 */ lwc1 $f4,0xb0($a0) +/* f073084: 46005202 */ mul.s $f8,$f10,$f0 +/* f073088: 3c017f1b */ lui $at,0x7f1b +/* f07308c: 46002287 */ neg.s $f10,$f4 +/* f073090: 46064402 */ mul.s $f16,$f8,$f6 +/* f073094: c426c064 */ lwc1 $f6,-0x3f9c($at) +/* f073098: 3c017f1b */ lui $at,0x7f1b +/* f07309c: 46005202 */ mul.s $f8,$f10,$f0 +/* f0730a0: c422c068 */ lwc1 $f2,-0x3f98($at) +/* f0730a4: 46064482 */ mul.s $f18,$f8,$f6 +/* f0730a8: 00000000 */ nop +.PB0f0730ac: +/* f0730ac: c48400d4 */ lwc1 $f4,0xd4($a0) +/* f0730b0: c48800d0 */ lwc1 $f8,0xd0($a0) +/* f0730b4: 24630001 */ addiu $v1,$v1,0x1 +/* f0730b8: 46022282 */ mul.s $f10,$f4,$f2 +/* f0730bc: 00000000 */ nop +/* f0730c0: 46024182 */ mul.s $f6,$f8,$f2 +/* f0730c4: e48a00d4 */ swc1 $f10,0xd4($a0) +/* f0730c8: c48400d4 */ lwc1 $f4,0xd4($a0) +/* f0730cc: e48600d0 */ swc1 $f6,0xd0($a0) +/* f0730d0: c48800d0 */ lwc1 $f8,0xd0($a0) +/* f0730d4: 46102280 */ add.s $f10,$f4,$f16 +/* f0730d8: 460c4180 */ add.s $f6,$f8,$f12 +/* f0730dc: e48a00d4 */ swc1 $f10,0xd4($a0) +/* f0730e0: c48400d4 */ lwc1 $f4,0xd4($a0) +/* f0730e4: e48600d0 */ swc1 $f6,0xd0($a0) +/* f0730e8: c48800d0 */ lwc1 $f8,0xd0($a0) +/* f0730ec: 460e2280 */ add.s $f10,$f4,$f14 +/* f0730f0: 46124180 */ add.s $f6,$f8,$f18 +/* f0730f4: e48a00d4 */ swc1 $f10,0xd4($a0) +/* f0730f8: e48600d0 */ swc1 $f6,0xd0($a0) +/* f0730fc: 8ca20038 */ lw $v0,0x38($a1) +/* f073100: 0062082a */ slt $at,$v1,$v0 +/* f073104: 1420ffe9 */ bnez $at,.PB0f0730ac +/* f073108: 00000000 */ nop +/* f07310c: 00001825 */ move $v1,$zero +/* f073110: c7b0008c */ lwc1 $f16,0x8c($sp) +.PB0f073114: +/* f073114: 1840001c */ blez $v0,.PB0f073188 +/* f073118: 3c017f1b */ lui $at,0x7f1b +/* f07311c: c42cc06c */ lwc1 $f12,-0x3f94($at) +/* f073120: 3c017f1b */ lui $at,0x7f1b +/* f073124: c422c070 */ lwc1 $f2,-0x3f90($at) +/* f073128: c48e00b8 */ lwc1 $f14,0xb8($a0) +.PB0f07312c: +/* f07312c: c7a40070 */ lwc1 $f4,0x70($sp) +/* f073130: c49000bc */ lwc1 $f16,0xbc($a0) +/* f073134: c49200c0 */ lwc1 $f18,0xc0($a0) +/* f073138: 460e2281 */ sub.s $f10,$f4,$f14 +/* f07313c: 24630001 */ addiu $v1,$v1,0x1 +/* f073140: 46025202 */ mul.s $f8,$f10,$f2 +/* f073144: 46087180 */ add.s $f6,$f14,$f8 +/* f073148: e48600b8 */ swc1 $f6,0xb8($a0) +/* f07314c: c7a4006c */ lwc1 $f4,0x6c($sp) +/* f073150: 46102281 */ sub.s $f10,$f4,$f16 +/* f073154: 460c5202 */ mul.s $f8,$f10,$f12 +/* f073158: 46088180 */ add.s $f6,$f16,$f8 +/* f07315c: e48600bc */ swc1 $f6,0xbc($a0) +/* f073160: c7a40068 */ lwc1 $f4,0x68($sp) +/* f073164: 46122281 */ sub.s $f10,$f4,$f18 +/* f073168: 46025202 */ mul.s $f8,$f10,$f2 +/* f07316c: 46089180 */ add.s $f6,$f18,$f8 +/* f073170: e48600c0 */ swc1 $f6,0xc0($a0) +/* f073174: 8cb80038 */ lw $t8,0x38($a1) +/* f073178: 0078082a */ slt $at,$v1,$t8 +/* f07317c: 5420ffeb */ bnezl $at,.PB0f07312c +/* f073180: c48e00b8 */ lwc1 $f14,0xb8($a0) +/* f073184: c7b0008c */ lwc1 $f16,0x8c($sp) +.PB0f073188: +/* f073188: 3c017f1b */ lui $at,0x7f1b +/* f07318c: c424c074 */ lwc1 $f4,-0x3f8c($at) +/* f073190: 4610203e */ c.le.s $f4,$f16 +/* f073194: 00000000 */ nop +/* f073198: 4502000b */ bc1fl .PB0f0731c8 +/* f07319c: 8c8200cc */ lw $v0,0xcc($a0) +/* f0731a0: 8c9900cc */ lw $t9,0xcc($a0) +/* f0731a4: 8ca80034 */ lw $t0,0x34($a1) +/* f0731a8: 03281021 */ addu $v0,$t9,$t0 +/* f0731ac: 284107d1 */ slti $at,$v0,0x7d1 +/* f0731b0: 1420001e */ bnez $at,.PB0f07322c +/* f0731b4: ac8200cc */ sw $v0,0xcc($a0) +/* f0731b8: 240207d0 */ li $v0,0x7d0 +/* f0731bc: 1000001b */ b .PB0f07322c +/* f0731c0: ac8200cc */ sw $v0,0xcc($a0) +/* f0731c4: 8c8200cc */ lw $v0,0xcc($a0) +.PB0f0731c8: +/* f0731c8: 3c017f1b */ lui $at,0x7f1b +/* f0731cc: 58400018 */ blezl $v0,.PB0f073230 +/* f0731d0: 44822000 */ mtc1 $v0,$f4 +/* f0731d4: c42ac078 */ lwc1 $f10,-0x3f88($at) +/* f0731d8: 3c017f1b */ lui $at,0x7f1b +/* f0731dc: c7a8008c */ lwc1 $f8,0x8c($sp) +/* f0731e0: 4610503e */ c.le.s $f10,$f16 +/* f0731e4: 00000000 */ nop +/* f0731e8: 45030011 */ bc1tl .PB0f073230 +/* f0731ec: 44822000 */ mtc1 $v0,$f4 +/* f0731f0: c426c07c */ lwc1 $f6,-0x3f84($at) +/* f0731f4: 4608303e */ c.le.s $f6,$f8 +/* f0731f8: 00000000 */ nop +/* f0731fc: 4502000a */ bc1fl .PB0f073228 +/* f073200: ac8000cc */ sw $zero,0xcc($a0) +/* f073204: 8cab0034 */ lw $t3,0x34($a1) +/* f073208: 004b6023 */ subu $t4,$v0,$t3 +/* f07320c: ac8c00cc */ sw $t4,0xcc($a0) +/* f073210: 05810006 */ bgez $t4,.PB0f07322c +/* f073214: 01801025 */ move $v0,$t4 +/* f073218: ac8000cc */ sw $zero,0xcc($a0) +/* f07321c: 10000003 */ b .PB0f07322c +/* f073220: 00001025 */ move $v0,$zero +/* f073224: ac8000cc */ sw $zero,0xcc($a0) +.PB0f073228: +/* f073228: 00001025 */ move $v0,$zero +.PB0f07322c: +/* f07322c: 44822000 */ mtc1 $v0,$f4 +.PB0f073230: +/* f073230: 3c017f1b */ lui $at,0x7f1b +/* f073234: c428c080 */ lwc1 $f8,-0x3f80($at) +/* f073238: 468022a0 */ cvt.s.w $f10,$f4 +/* f07323c: 3c017f1b */ lui $at,0x7f1b +/* f073240: c424c084 */ lwc1 $f4,-0x3f7c($at) +/* f073244: c48c00d8 */ lwc1 $f12,0xd8($a0) +/* f073248: 8c8d0008 */ lw $t5,0x8($a0) +/* f07324c: 46085182 */ mul.s $f6,$f10,$f8 +/* f073250: c48a00d4 */ lwc1 $f10,0xd4($a0) +/* f073254: 000d7040 */ sll $t6,$t5,0x1 +/* f073258: 46043083 */ div.s $f2,$f6,$f4 +/* f07325c: 46001202 */ mul.s $f8,$f2,$f0 +/* f073260: e48200dc */ swc1 $f2,0xdc($a0) +/* f073264: c7a4007c */ lwc1 $f4,0x7c($sp) +/* f073268: 46085180 */ add.s $f6,$f10,$f8 +/* f07326c: 46046282 */ mul.s $f10,$f12,$f4 +/* f073270: c48400d0 */ lwc1 $f4,0xd0($a0) +/* f073274: 46065200 */ add.s $f8,$f10,$f6 +/* f073278: e48800a0 */ swc1 $f8,0xa0($a0) +/* f07327c: c7aa007c */ lwc1 $f10,0x7c($sp) +/* f073280: 460a1182 */ mul.s $f6,$f2,$f10 +/* f073284: 46062200 */ add.s $f8,$f4,$f6 +/* f073288: 46006282 */ mul.s $f10,$f12,$f0 +/* f07328c: 460a4101 */ sub.s $f4,$f8,$f10 +/* f073290: 05c1007d */ bgez $t6,.PB0f073488 +/* f073294: e484009c */ swc1 $f4,0x9c($a0) +/* f073298: c486009c */ lwc1 $f6,0x9c($a0) +/* f07329c: 3c017f1b */ lui $at,0x7f1b +/* f0732a0: c428c088 */ lwc1 $f8,-0x3f78($at) +/* f0732a4: e7a60028 */ swc1 $f6,0x28($sp) +/* f0732a8: c7aa0028 */ lwc1 $f10,0x28($sp) +/* f0732ac: 460a403c */ c.lt.s $f8,$f10 +/* f0732b0: 00000000 */ nop +/* f0732b4: 45030075 */ bc1tl .PB0f07348c +/* f0732b8: 8fbf001c */ lw $ra,0x1c($sp) +/* f0732bc: c48400a0 */ lwc1 $f4,0xa0($a0) +/* f0732c0: 3c017f1b */ lui $at,0x7f1b +/* f0732c4: c426c08c */ lwc1 $f6,-0x3f74($at) +/* f0732c8: e7a40024 */ swc1 $f4,0x24($sp) +/* f0732cc: c7a80024 */ lwc1 $f8,0x24($sp) +/* f0732d0: 3c017f1b */ lui $at,0x7f1b +/* f0732d4: 4608303c */ c.lt.s $f6,$f8 +/* f0732d8: 00000000 */ nop +/* f0732dc: 4503006b */ bc1tl .PB0f07348c +/* f0732e0: 8fbf001c */ lw $ra,0x1c($sp) +/* f0732e4: c420c090 */ lwc1 $f0,-0x3f70($at) +/* f0732e8: c48200ac */ lwc1 $f2,0xac($a0) +/* f0732ec: 4602003c */ c.lt.s $f0,$f2 +/* f0732f0: 00000000 */ nop +/* f0732f4: 45030065 */ bc1tl .PB0f07348c +/* f0732f8: 8fbf001c */ lw $ra,0x1c($sp) +/* f0732fc: c49200b0 */ lwc1 $f18,0xb0($a0) +/* f073300: 4612003c */ c.lt.s $f0,$f18 +/* f073304: 00000000 */ nop +/* f073308: 45030060 */ bc1tl .PB0f07348c +/* f07330c: 8fbf001c */ lw $ra,0x1c($sp) +/* f073310: c48c00b4 */ lwc1 $f12,0xb4($a0) +/* f073314: 460c003c */ c.lt.s $f0,$f12 +/* f073318: 00000000 */ nop +/* f07331c: 4503005b */ bc1tl .PB0f07348c +/* f073320: 8fbf001c */ lw $ra,0x1c($sp) +/* f073324: c48e00b8 */ lwc1 $f14,0xb8($a0) +/* f073328: 460e003c */ c.lt.s $f0,$f14 +/* f07332c: 00000000 */ nop +/* f073330: 45030056 */ bc1tl .PB0f07348c +/* f073334: 8fbf001c */ lw $ra,0x1c($sp) +/* f073338: c49000bc */ lwc1 $f16,0xbc($a0) +/* f07333c: e7b20038 */ swc1 $f18,0x38($sp) +/* f073340: 4610003c */ c.lt.s $f0,$f16 +/* f073344: 00000000 */ nop +/* f073348: 45030050 */ bc1tl .PB0f07348c +/* f07334c: 8fbf001c */ lw $ra,0x1c($sp) +/* f073350: c49200c0 */ lwc1 $f18,0xc0($a0) +/* f073354: 3c017f1b */ lui $at,0x7f1b +/* f073358: 4612003c */ c.lt.s $f0,$f18 +/* f07335c: 00000000 */ nop +/* f073360: 4503004a */ bc1tl .PB0f07348c +/* f073364: 8fbf001c */ lw $ra,0x1c($sp) +/* f073368: c48000c8 */ lwc1 $f0,0xc8($a0) +/* f07336c: c424c094 */ lwc1 $f4,-0x3f6c($at) +/* f073370: 3c017f1b */ lui $at,0x7f1b +/* f073374: 4600203c */ c.lt.s $f4,$f0 +/* f073378: 00000000 */ nop +/* f07337c: 45030043 */ bc1tl .PB0f07348c +/* f073380: 8fbf001c */ lw $ra,0x1c($sp) +/* f073384: c426c098 */ lwc1 $f6,-0x3f68($at) +/* f073388: 3c017f1b */ lui $at,0x7f1b +/* f07338c: 4606503c */ c.lt.s $f10,$f6 +/* f073390: 00000000 */ nop +/* f073394: 4503003d */ bc1tl .PB0f07348c +/* f073398: 8fbf001c */ lw $ra,0x1c($sp) +/* f07339c: c424c09c */ lwc1 $f4,-0x3f64($at) +/* f0733a0: 3c017f1b */ lui $at,0x7f1b +/* f0733a4: e7a0003c */ swc1 $f0,0x3c($sp) +/* f0733a8: 4604403c */ c.lt.s $f8,$f4 +/* f0733ac: 00000000 */ nop +/* f0733b0: 45030036 */ bc1tl .PB0f07348c +/* f0733b4: 8fbf001c */ lw $ra,0x1c($sp) +/* f0733b8: c420c0a0 */ lwc1 $f0,-0x3f60($at) +/* f0733bc: c7aa0038 */ lwc1 $f10,0x38($sp) +/* f0733c0: 4600103c */ c.lt.s $f2,$f0 +/* f0733c4: 00000000 */ nop +/* f0733c8: 45030030 */ bc1tl .PB0f07348c +/* f0733cc: 8fbf001c */ lw $ra,0x1c($sp) +/* f0733d0: 4600503c */ c.lt.s $f10,$f0 +/* f0733d4: 00000000 */ nop +/* f0733d8: 4503002c */ bc1tl .PB0f07348c +/* f0733dc: 8fbf001c */ lw $ra,0x1c($sp) +/* f0733e0: 4600603c */ c.lt.s $f12,$f0 +/* f0733e4: 00000000 */ nop +/* f0733e8: 45030028 */ bc1tl .PB0f07348c +/* f0733ec: 8fbf001c */ lw $ra,0x1c($sp) +/* f0733f0: 4600703c */ c.lt.s $f14,$f0 +/* f0733f4: 00000000 */ nop +/* f0733f8: 45030024 */ bc1tl .PB0f07348c +/* f0733fc: 8fbf001c */ lw $ra,0x1c($sp) +/* f073400: 4600803c */ c.lt.s $f16,$f0 +/* f073404: 00000000 */ nop +/* f073408: 45030020 */ bc1tl .PB0f07348c +/* f07340c: 8fbf001c */ lw $ra,0x1c($sp) +/* f073410: 4600903c */ c.lt.s $f18,$f0 +/* f073414: c7a6003c */ lwc1 $f6,0x3c($sp) +/* f073418: 3c017f1b */ lui $at,0x7f1b +/* f07341c: 4503001b */ bc1tl .PB0f07348c +/* f073420: 8fbf001c */ lw $ra,0x1c($sp) +/* f073424: c428c0a4 */ lwc1 $f8,-0x3f5c($at) +/* f073428: 3c01bfff */ lui $at,0xbfff +/* f07342c: 3421ffff */ ori $at,$at,0xffff +/* f073430: 4608303c */ c.lt.s $f6,$f8 +/* f073434: 00000000 */ nop +/* f073438: 45030014 */ bc1tl .PB0f07348c +/* f07343c: 8fbf001c */ lw $ra,0x1c($sp) +/* f073440: 8c8f0008 */ lw $t7,0x8($a0) +/* f073444: e494009c */ swc1 $f20,0x9c($a0) +/* f073448: e49400a0 */ swc1 $f20,0xa0($a0) +/* f07344c: 01e1c024 */ and $t8,$t7,$at +/* f073450: e49400ac */ swc1 $f20,0xac($a0) +/* f073454: e49400b0 */ swc1 $f20,0xb0($a0) +/* f073458: e49400b4 */ swc1 $f20,0xb4($a0) +/* f07345c: e49400b8 */ swc1 $f20,0xb8($a0) +/* f073460: e49400bc */ swc1 $f20,0xbc($a0) +/* f073464: e49400c0 */ swc1 $f20,0xc0($a0) +/* f073468: e49400c4 */ swc1 $f20,0xc4($a0) +/* f07346c: e49400c8 */ swc1 $f20,0xc8($a0) +/* f073470: ac8000cc */ sw $zero,0xcc($a0) +/* f073474: e49400d0 */ swc1 $f20,0xd0($a0) +/* f073478: e49400d4 */ swc1 $f20,0xd4($a0) +/* f07347c: e49400d8 */ swc1 $f20,0xd8($a0) +/* f073480: e49400dc */ swc1 $f20,0xdc($a0) +/* f073484: ac980008 */ sw $t8,0x8($a0) +.PB0f073488: +/* f073488: 8fbf001c */ lw $ra,0x1c($sp) +.PB0f07348c: +/* f07348c: d7b40010 */ ldc1 $f20,0x10($sp) +/* f073490: 27bd0088 */ addiu $sp,$sp,0x88 +/* f073494: 03e00008 */ jr $ra +/* f073498: 00000000 */ nop +); #else GLOBAL_ASM( glabel hoverbikeUpdateMovement @@ -21955,6 +24000,463 @@ glabel var7f1aa3d0 /* f073ae0: 03e00008 */ jr $ra /* f073ae4: 27bd0188 */ addiu $sp,$sp,0x188 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f073478 +.late_rodata +glabel var7f1aa3bc +.word 0x461c4000 +glabel var7f1aa3c0 +.word 0x40c907a9 +glabel var7f1aa3c4 +.word 0x3df5c290 +glabel var7f1aa3c8 +.word 0x3b0d8eca +glabel var7f1aa3cc +.word 0x461c4000 +glabel var7f1aa3d0 +.word 0x47742400 +.text +/* f073640: 27bdfe78 */ addiu $sp,$sp,-392 +/* f073644: afbf003c */ sw $ra,0x3c($sp) +/* f073648: afb50038 */ sw $s5,0x38($sp) +/* f07364c: afb40034 */ sw $s4,0x34($sp) +/* f073650: afb30030 */ sw $s3,0x30($sp) +/* f073654: afb2002c */ sw $s2,0x2c($sp) +/* f073658: afb10028 */ sw $s1,0x28($sp) +/* f07365c: afb00024 */ sw $s0,0x24($sp) +/* f073660: f7b40018 */ sdc1 $f20,0x18($sp) +/* f073664: afa40188 */ sw $a0,0x188($sp) +/* f073668: 8c920048 */ lw $s2,0x48($a0) +/* f07366c: 8c930014 */ lw $s3,0x14($a0) +/* f073670: 8e460088 */ lw $a2,0x88($s2) +/* f073674: 50c00008 */ beqzl $a2,.PB0f073698 +/* f073678: 0000a025 */ move $s4,$zero +/* f07367c: 90cf0000 */ lbu $t7,0x0($a2) +/* f073680: 24010003 */ li $at,0x3 +/* f073684: 55e10004 */ bnel $t7,$at,.PB0f073698 +/* f073688: 0000a025 */ move $s4,$zero +/* f07368c: 10000002 */ b .PB0f073698 +/* f073690: 8cd40004 */ lw $s4,0x4($a2) +/* f073694: 0000a025 */ move $s4,$zero +.PB0f073698: +/* f073698: c64400c4 */ lwc1 $f4,0xc4($s2) +/* f07369c: c6660008 */ lwc1 $f6,0x8($s3) +/* f0736a0: c64800c8 */ lwc1 $f8,0xc8($s2) +/* f0736a4: c66a000c */ lwc1 $f10,0xc($s3) +/* f0736a8: c65000cc */ lwc1 $f16,0xcc($s2) +/* f0736ac: c6720010 */ lwc1 $f18,0x10($s3) +/* f0736b0: 46062301 */ sub.s $f12,$f4,$f6 +/* f0736b4: 460a4501 */ sub.s $f20,$f8,$f10 +/* f0736b8: 1280002f */ beqz $s4,.PB0f073778 +/* f0736bc: 46128381 */ sub.s $f14,$f16,$f18 +/* f0736c0: 460c6102 */ mul.s $f4,$f12,$f12 +/* f0736c4: 3c017f1b */ lui $at,0x7f1b +/* f0736c8: c432c0a8 */ lwc1 $f18,-0x3f58($at) +/* f0736cc: 4614a182 */ mul.s $f6,$f20,$f20 +/* f0736d0: 46062200 */ add.s $f8,$f4,$f6 +/* f0736d4: 460e7282 */ mul.s $f10,$f14,$f14 +/* f0736d8: 460a4400 */ add.s $f16,$f8,$f10 +/* f0736dc: 4612803c */ c.lt.s $f16,$f18 +/* f0736e0: 00000000 */ nop +/* f0736e4: 45000024 */ bc1f .PB0f073778 +/* f0736e8: 00000000 */ nop +/* f0736ec: 92580105 */ lbu $t8,0x105($s2) +/* f0736f0: 92430104 */ lbu $v1,0x104($s2) +/* f0736f4: 02802025 */ move $a0,$s4 +/* f0736f8: 27190001 */ addiu $t9,$t8,0x1 +/* f0736fc: 18600005 */ blez $v1,.PB0f073714 +/* f073700: a2590105 */ sb $t9,0x105($s2) +/* f073704: 332200ff */ andi $v0,$t9,0xff +/* f073708: 0043082a */ slt $at,$v0,$v1 +/* f07370c: 14200012 */ bnez $at,.PB0f073758 +/* f073710: 00025040 */ sll $t2,$v0,0x1 +.PB0f073714: +/* f073714: e7ac0094 */ swc1 $f12,0x94($sp) +/* f073718: 0fc0a255 */ jal 0xf028954 +/* f07371c: e7ae008c */ swc1 $f14,0x8c($sp) +/* f073720: 24480028 */ addiu $t0,$v0,0x28 +/* f073724: afa80010 */ sw $t0,0x10($sp) +/* f073728: 02802025 */ move $a0,$s4 +/* f07372c: 26650008 */ addiu $a1,$s3,0x8 +/* f073730: 24460008 */ addiu $a2,$v0,0x8 +/* f073734: 26670028 */ addiu $a3,$s3,0x28 +/* f073738: 0fc670ac */ jal 0xf19c2b0 +/* f07373c: afb20014 */ sw $s2,0x14($sp) +/* f073740: c7ac0094 */ lwc1 $f12,0x94($sp) +/* f073744: 1440000c */ bnez $v0,.PB0f073778 +/* f073748: c7ae008c */ lwc1 $f14,0x8c($sp) +/* f07374c: 8fa90188 */ lw $t1,0x188($sp) +/* f073750: 10000009 */ b .PB0f073778 +/* f073754: a5200062 */ sh $zero,0x62($t1) +.PB0f073758: +/* f073758: 024a5821 */ addu $t3,$s2,$t2 +/* f07375c: 956400f8 */ lhu $a0,0xf8($t3) +/* f073760: e7ae008c */ swc1 $f14,0x8c($sp) +/* f073764: e7ac0094 */ swc1 $f12,0x94($sp) +/* f073768: 0fc670ec */ jal 0xf19c3b0 +/* f07376c: 264500c4 */ addiu $a1,$s2,0xc4 +/* f073770: c7ac0094 */ lwc1 $f12,0x94($sp) +/* f073774: c7ae008c */ lwc1 $f14,0x8c($sp) +.PB0f073778: +/* f073778: 1280003e */ beqz $s4,.PB0f073874 +/* f07377c: 00000000 */ nop +/* f073780: 460c6102 */ mul.s $f4,$f12,$f12 +/* f073784: 00000000 */ nop +/* f073788: 460e7182 */ mul.s $f6,$f14,$f14 +/* f07378c: e7a40044 */ swc1 $f4,0x44($sp) +/* f073790: 0fc25970 */ jal 0xf0965c0 +/* f073794: e7a60040 */ swc1 $f6,0x40($sp) +/* f073798: c7a80044 */ lwc1 $f8,0x44($sp) +/* f07379c: c7aa0040 */ lwc1 $f10,0x40($sp) +/* f0737a0: e7a00084 */ swc1 $f0,0x84($sp) +/* f0737a4: 0c012ae4 */ jal 0x4ab90 +/* f0737a8: 460a4300 */ add.s $f12,$f8,$f10 +/* f0737ac: 4600a306 */ mov.s $f12,$f20 +/* f0737b0: 0fc25970 */ jal 0xf0965c0 +/* f0737b4: 46000386 */ mov.s $f14,$f0 +/* f0737b8: 3c15800a */ lui $s5,0x800a +/* f0737bc: 26b5e4d0 */ addiu $s5,$s5,-6960 +/* f0737c0: 8eac0034 */ lw $t4,0x34($s5) +/* f0737c4: 46000506 */ mov.s $f20,$f0 +/* f0737c8: 00008825 */ move $s1,$zero +/* f0737cc: 19800011 */ blez $t4,.PB0f073814 +/* f0737d0: 3c063cb7 */ lui $a2,0x3cb7 +.PB0f0737d4: +/* f0737d4: 34c6fe09 */ ori $a2,$a2,0xfe09 +/* f0737d8: c64c0018 */ lwc1 $f12,0x18($s2) +/* f0737dc: 0c006e8e */ jal 0x1ba38 +/* f0737e0: c7ae0084 */ lwc1 $f14,0x84($sp) +/* f0737e4: 3c063cb7 */ lui $a2,0x3cb7 +/* f0737e8: e6400018 */ swc1 $f0,0x18($s2) +/* f0737ec: 34c6fe09 */ ori $a2,$a2,0xfe09 +/* f0737f0: c64c0014 */ lwc1 $f12,0x14($s2) +/* f0737f4: 0c006e8e */ jal 0x1ba38 +/* f0737f8: 4600a386 */ mov.s $f14,$f20 +/* f0737fc: e6400014 */ swc1 $f0,0x14($s2) +/* f073800: 8ead0034 */ lw $t5,0x34($s5) +/* f073804: 26310001 */ addiu $s1,$s1,0x1 +/* f073808: 022d082a */ slt $at,$s1,$t5 +/* f07380c: 5420fff1 */ bnezl $at,.PB0f0737d4 +/* f073810: 3c063cb7 */ lui $a2,0x3cb7 +.PB0f073814: +/* f073814: 3c017f1b */ lui $at,0x7f1b +/* f073818: c430c0ac */ lwc1 $f16,-0x3f54($at) +/* f07381c: c6520014 */ lwc1 $f18,0x14($s2) +/* f073820: 27b10118 */ addiu $s1,$sp,0x118 +/* f073824: 02202825 */ move $a1,$s1 +/* f073828: 0c005b4e */ jal 0x16d38 +/* f07382c: 46128301 */ sub.s $f12,$f16,$f18 +/* f073830: c64c0018 */ lwc1 $f12,0x18($s2) +/* f073834: 0c005b71 */ jal 0x16dc4 +/* f073838: 27a500d8 */ addiu $a1,$sp,0xd8 +/* f07383c: 27b00098 */ addiu $s0,$sp,0x98 +/* f073840: 02003025 */ move $a2,$s0 +/* f073844: 27a400d8 */ addiu $a0,$sp,0xd8 +/* f073848: 0c005914 */ jal 0x16450 +/* f07384c: 02202825 */ move $a1,$s1 +/* f073850: 8fae0188 */ lw $t6,0x188($sp) +/* f073854: 02002825 */ move $a1,$s0 +/* f073858: 8dcf0018 */ lw $t7,0x18($t6) +/* f07385c: 0c005a55 */ jal 0x16954 +/* f073860: c5ec0014 */ lwc1 $f12,0x14($t7) +/* f073864: 8fa50188 */ lw $a1,0x188($sp) +/* f073868: 02002025 */ move $a0,$s0 +/* f07386c: 0c0059fc */ jal 0x167f0 +/* f073870: 24a5001c */ addiu $a1,$a1,0x1c +.PB0f073874: +/* f073874: 3c15800a */ lui $s5,0x800a +/* f073878: 26b5e4d0 */ addiu $s5,$s5,-6960 +/* f07387c: c64c0018 */ lwc1 $f12,0x18($s2) +/* f073880: 0c006b8b */ jal 0x1ae2c +/* f073884: 00008825 */ move $s1,$zero +/* f073888: 46000506 */ mov.s $f20,$f0 +/* f07388c: 0c006b88 */ jal 0x1ae20 +/* f073890: c64c0014 */ lwc1 $f12,0x14($s2) +/* f073894: 46140102 */ mul.s $f4,$f0,$f20 +/* f073898: e7a40068 */ swc1 $f4,0x68($sp) +/* f07389c: 0c006b8b */ jal 0x1ae2c +/* f0738a0: c64c0014 */ lwc1 $f12,0x14($s2) +/* f0738a4: e7a0006c */ swc1 $f0,0x6c($sp) +/* f0738a8: 0c006b88 */ jal 0x1ae20 +/* f0738ac: c64c0018 */ lwc1 $f12,0x18($s2) +/* f0738b0: 46000506 */ mov.s $f20,$f0 +/* f0738b4: 0c006b88 */ jal 0x1ae20 +/* f0738b8: c64c0014 */ lwc1 $f12,0x14($s2) +/* f0738bc: 46140182 */ mul.s $f6,$f0,$f20 +/* f0738c0: 8eb80038 */ lw $t8,0x38($s5) +/* f0738c4: 3c017f1b */ lui $at,0x7f1b +/* f0738c8: 2402ffff */ li $v0,-1 +/* f0738cc: e7a60070 */ swc1 $f6,0x70($sp) +/* f0738d0: c6680008 */ lwc1 $f8,0x8($s3) +/* f0738d4: e7a80074 */ swc1 $f8,0x74($sp) +/* f0738d8: c66a000c */ lwc1 $f10,0xc($s3) +/* f0738dc: e7aa0078 */ swc1 $f10,0x78($sp) +/* f0738e0: c6700010 */ lwc1 $f16,0x10($s3) +/* f0738e4: 1b000020 */ blez $t8,.PB0f073968 +/* f0738e8: e7b0007c */ swc1 $f16,0x7c($sp) +/* f0738ec: c42cc0b0 */ lwc1 $f12,-0x3f50($at) +/* f0738f0: 3c017f1b */ lui $at,0x7f1b +/* f0738f4: c422c0b4 */ lwc1 $f2,-0x3f4c($at) +.PB0f0738f8: +/* f0738f8: c6520010 */ lwc1 $f18,0x10($s2) +/* f0738fc: 46029100 */ add.s $f4,$f18,$f2 +/* f073900: e6440010 */ swc1 $f4,0x10($s2) +/* f073904: c6400010 */ lwc1 $f0,0x10($s2) +/* f073908: 12800005 */ beqz $s4,.PB0f073920 +/* f07390c: c7a80068 */ lwc1 $f8,0x68($sp) +/* f073910: 8699017e */ lh $t9,0x17e($s4) +/* f073914: 14590002 */ bne $v0,$t9,.PB0f073920 +/* f073918: 00000000 */ nop +/* f07391c: 46006006 */ mov.s $f0,$f12 +.PB0f073920: +/* f073920: 46004282 */ mul.s $f10,$f8,$f0 +/* f073924: c7a60074 */ lwc1 $f6,0x74($sp) +/* f073928: c7a4006c */ lwc1 $f4,0x6c($sp) +/* f07392c: c7b20078 */ lwc1 $f18,0x78($sp) +/* f073930: 8ea80038 */ lw $t0,0x38($s5) +/* f073934: 46002202 */ mul.s $f8,$f4,$f0 +/* f073938: 26310001 */ addiu $s1,$s1,0x1 +/* f07393c: 460a3400 */ add.s $f16,$f6,$f10 +/* f073940: c7aa007c */ lwc1 $f10,0x7c($sp) +/* f073944: 0228082a */ slt $at,$s1,$t0 +/* f073948: e7b00074 */ swc1 $f16,0x74($sp) +/* f07394c: c7b00070 */ lwc1 $f16,0x70($sp) +/* f073950: 46089180 */ add.s $f6,$f18,$f8 +/* f073954: 46008102 */ mul.s $f4,$f16,$f0 +/* f073958: e7a60078 */ swc1 $f6,0x78($sp) +/* f07395c: 46045480 */ add.s $f18,$f10,$f4 +/* f073960: 1420ffe5 */ bnez $at,.PB0f0738f8 +/* f073964: e7b2007c */ swc1 $f18,0x7c($sp) +.PB0f073968: +/* f073968: 8e460088 */ lw $a2,0x88($s2) +/* f07396c: 10c00003 */ beqz $a2,.PB0f07397c +/* f073970: 00c02025 */ move $a0,$a2 +/* f073974: 0fc190d6 */ jal 0xf064358 +/* f073978: 00002825 */ move $a1,$zero +.PB0f07397c: +/* f07397c: 8fa40188 */ lw $a0,0x188($sp) +/* f073980: 27a50074 */ addiu $a1,$sp,0x74 +/* f073984: 27a60164 */ addiu $a2,$sp,0x164 +/* f073988: 0fc1b3b6 */ jal 0xf06ced8 +/* f07398c: 27a70158 */ addiu $a3,$sp,0x158 +/* f073990: afa20184 */ sw $v0,0x184($sp) +/* f073994: 8e460088 */ lw $a2,0x88($s2) +/* f073998: 10c00003 */ beqz $a2,.PB0f0739a8 +/* f07399c: 00c02025 */ move $a0,$a2 +/* f0739a0: 0fc190d6 */ jal 0xf064358 +/* f0739a4: 24050001 */ li $a1,0x1 +.PB0f0739a8: +/* f0739a8: 8fa90184 */ lw $t1,0x184($sp) +/* f0739ac: 24010001 */ li $at,0x1 +/* f0739b0: 27b10050 */ addiu $s1,$sp,0x50 +/* f0739b4: 15210018 */ bne $t1,$at,.PB0f073a18 +/* f0739b8: 8faa0188 */ lw $t2,0x188($sp) +/* f0739bc: 26700028 */ addiu $s0,$s3,0x28 +/* f0739c0: 02002825 */ move $a1,$s0 +/* f0739c4: 26640008 */ addiu $a0,$s3,0x8 +/* f0739c8: 27a60074 */ addiu $a2,$sp,0x74 +/* f0739cc: 0fc19815 */ jal 0xf066054 +/* f0739d0: 02203825 */ move $a3,$s1 +/* f0739d4: c7a80074 */ lwc1 $f8,0x74($sp) +/* f0739d8: 02602025 */ move $a0,$s3 +/* f0739dc: e6680008 */ swc1 $f8,0x8($s3) +/* f0739e0: c7a60078 */ lwc1 $f6,0x78($sp) +/* f0739e4: e666000c */ swc1 $f6,0xc($s3) +/* f0739e8: c7b0007c */ lwc1 $f16,0x7c($sp) +/* f0739ec: 0fc19789 */ jal 0xf065e24 +/* f0739f0: e6700010 */ swc1 $f16,0x10($s3) +/* f0739f4: 02202025 */ move $a0,$s1 +/* f0739f8: 0fc19661 */ jal 0xf065984 +/* f0739fc: 02002825 */ move $a1,$s0 +/* f073a00: 8fa40188 */ lw $a0,0x188($sp) +/* f073a04: 24050001 */ li $a1,0x1 +/* f073a08: 0fc1a792 */ jal 0xf069e48 +/* f073a0c: 24060001 */ li $a2,0x1 +/* f073a10: 10000003 */ b .PB0f073a20 +/* f073a14: 8e4200f4 */ lw $v0,0xf4($s2) +.PB0f073a18: +/* f073a18: a5400062 */ sh $zero,0x62($t2) +/* f073a1c: 8e4200f4 */ lw $v0,0xf4($s2) +.PB0f073a20: +/* f073a20: 240b0014 */ li $t3,0x14 +/* f073a24: 26640008 */ addiu $a0,$s3,0x8 +/* f073a28: 1c400006 */ bgtz $v0,.PB0f073a44 +/* f073a2c: 26650028 */ addiu $a1,$s3,0x28 +/* f073a30: ae4b00f4 */ sw $t3,0xf4($s2) +/* f073a34: 0fc4bf5c */ jal 0xf12fd70 +/* f073a38: 24060008 */ li $a2,0x8 +/* f073a3c: 10000004 */ b .PB0f073a50 +/* f073a40: 00000000 */ nop +.PB0f073a44: +/* f073a44: 8eac0034 */ lw $t4,0x34($s5) +/* f073a48: 004c6823 */ subu $t5,$v0,$t4 +/* f073a4c: ae4d00f4 */ sw $t5,0xf4($s2) +.PB0f073a50: +/* f073a50: 3c017f1b */ lui $at,0x7f1b +/* f073a54: c42ac0b8 */ lwc1 $f10,-0x3f48($at) +/* f073a58: c664000c */ lwc1 $f4,0xc($s3) +/* f073a5c: 8fae0188 */ lw $t6,0x188($sp) +/* f073a60: 4604503c */ c.lt.s $f10,$f4 +/* f073a64: 00000000 */ nop +/* f073a68: 45000002 */ bc1f .PB0f073a74 +/* f073a6c: 00000000 */ nop +/* f073a70: a5c00062 */ sh $zero,0x62($t6) +.PB0f073a74: +/* f073a74: 12800065 */ beqz $s4,.PB0f073c0c +/* f073a78: 8faf0188 */ lw $t7,0x188($sp) +/* f073a7c: 85f80062 */ lh $t8,0x62($t7) +/* f073a80: 3c19800b */ lui $t9,0x800b +/* f073a84: 13000061 */ beqz $t8,.PB0f073c0c +/* f073a88: 00000000 */ nop +/* f073a8c: 8f390b50 */ lw $t9,0xb50($t9) +/* f073a90: 00008825 */ move $s1,$zero +/* f073a94: 1b20005d */ blez $t9,.PB0f073c0c +/* f073a98: 00000000 */ nop +.PB0f073a9c: +/* f073a9c: 0fc63b03 */ jal 0xf18ec0c +/* f073aa0: 02202025 */ move $a0,$s1 +/* f073aa4: 10540053 */ beq $v0,$s4,.PB0f073bf4 +/* f073aa8: 00408025 */ move $s0,$v0 +/* f073aac: 0fc0e6e9 */ jal 0xf039ba4 +/* f073ab0: 00402025 */ move $a0,$v0 +/* f073ab4: 1440004f */ bnez $v0,.PB0f073bf4 +/* f073ab8: 02802025 */ move $a0,$s4 +/* f073abc: 02002825 */ move $a1,$s0 +/* f073ac0: 0fc12aec */ jal 0xf04abb0 +/* f073ac4: 24060002 */ li $a2,0x2 +/* f073ac8: 1040004a */ beqz $v0,.PB0f073bf4 +/* f073acc: 00002025 */ move $a0,$zero +/* f073ad0: 0fc6513d */ jal 0xf1944f4 +/* f073ad4: 02002825 */ move $a1,$s0 +/* f073ad8: 14400046 */ bnez $v0,.PB0f073bf4 +/* f073adc: 00000000 */ nop +/* f073ae0: 8e02001c */ lw $v0,0x1c($s0) +/* f073ae4: c6720008 */ lwc1 $f18,0x8($s3) +/* f073ae8: c666000c */ lwc1 $f6,0xc($s3) +/* f073aec: c4480008 */ lwc1 $f8,0x8($v0) +/* f073af0: c450000c */ lwc1 $f16,0xc($v0) +/* f073af4: c66a0010 */ lwc1 $f10,0x10($s3) +/* f073af8: 46089301 */ sub.s $f12,$f18,$f8 +/* f073afc: c4440010 */ lwc1 $f4,0x10($v0) +/* f073b00: 3c017f1b */ lui $at,0x7f1b +/* f073b04: 46103501 */ sub.s $f20,$f6,$f16 +/* f073b08: 460c6482 */ mul.s $f18,$f12,$f12 +/* f073b0c: 46045381 */ sub.s $f14,$f10,$f4 +/* f073b10: 4614a202 */ mul.s $f8,$f20,$f20 +/* f073b14: c424c0bc */ lwc1 $f4,-0x3f44($at) +/* f073b18: 460e7402 */ mul.s $f16,$f14,$f14 +/* f073b1c: 46089180 */ add.s $f6,$f18,$f8 +/* f073b20: 46103280 */ add.s $f10,$f6,$f16 +/* f073b24: 4604503c */ c.lt.s $f10,$f4 +/* f073b28: 00000000 */ nop +/* f073b2c: 45000004 */ bc1f .PB0f073b40 +/* f073b30: 00000000 */ nop +/* f073b34: 8fa80188 */ lw $t0,0x188($sp) +/* f073b38: 10000034 */ b .PB0f073c0c +/* f073b3c: a5000062 */ sh $zero,0x62($t0) +.PB0f073b40: +/* f073b40: 0fc0a255 */ jal 0xf028954 +/* f073b44: 02802025 */ move $a0,$s4 +/* f073b48: 8e09001c */ lw $t1,0x1c($s0) +/* f073b4c: 14490029 */ bne $v0,$t1,.PB0f073bf4 +/* f073b50: 00000000 */ nop +/* f073b54: 0fc63af1 */ jal 0xf18ebc4 +/* f073b58: 02802025 */ move $a0,$s4 +/* f073b5c: 3c0b800b */ lui $t3,0x800b +/* f073b60: 8d6b0b50 */ lw $t3,0xb50($t3) +/* f073b64: 8eaa000c */ lw $t2,0xc($s5) +/* f073b68: 26640008 */ addiu $a0,$s3,0x8 +/* f073b6c: 26650028 */ addiu $a1,$s3,0x28 +/* f073b70: 014b001a */ div $zero,$t2,$t3 +/* f073b74: 00006010 */ mfhi $t4 +/* f073b78: 240d0133 */ li $t5,0x133 +/* f073b7c: 15600002 */ bnez $t3,.PB0f073b88 +/* f073b80: 00000000 */ nop +/* f073b84: 0007000d */ break 0x7 +.PB0f073b88: +/* f073b88: 2401ffff */ li $at,-1 +/* f073b8c: 15610004 */ bne $t3,$at,.PB0f073ba0 +/* f073b90: 3c018000 */ lui $at,0x8000 +/* f073b94: 15410002 */ bne $t2,$at,.PB0f073ba0 +/* f073b98: 00000000 */ nop +/* f073b9c: 0006000d */ break 0x6 +.PB0f073ba0: +/* f073ba0: 240e0008 */ li $t6,0x8 +/* f073ba4: 144c0013 */ bne $v0,$t4,.PB0f073bf4 +/* f073ba8: 00000000 */ nop +/* f073bac: 8e02001c */ lw $v0,0x1c($s0) +/* f073bb0: afae0014 */ sw $t6,0x14($sp) +/* f073bb4: afad0010 */ sw $t5,0x10($sp) +/* f073bb8: 24460008 */ addiu $a2,$v0,0x8 +/* f073bbc: 0c00b87f */ jal 0x2e1fc +/* f073bc0: 24470028 */ addiu $a3,$v0,0x28 +/* f073bc4: 1040000b */ beqz $v0,.PB0f073bf4 +/* f073bc8: 00000000 */ nop +/* f073bcc: 8e0f001c */ lw $t7,0x1c($s0) +/* f073bd0: c5f20008 */ lwc1 $f18,0x8($t7) +/* f073bd4: e65200c4 */ swc1 $f18,0xc4($s2) +/* f073bd8: 8e18001c */ lw $t8,0x1c($s0) +/* f073bdc: c708000c */ lwc1 $f8,0xc($t8) +/* f073be0: e64800c8 */ swc1 $f8,0xc8($s2) +/* f073be4: 8e19001c */ lw $t9,0x1c($s0) +/* f073be8: c7260010 */ lwc1 $f6,0x10($t9) +/* f073bec: a2400104 */ sb $zero,0x104($s2) +/* f073bf0: e64600cc */ swc1 $f6,0xcc($s2) +.PB0f073bf4: +/* f073bf4: 3c08800b */ lui $t0,0x800b +/* f073bf8: 8d080b50 */ lw $t0,0xb50($t0) +/* f073bfc: 26310001 */ addiu $s1,$s1,0x1 +/* f073c00: 0228082a */ slt $at,$s1,$t0 +/* f073c04: 1420ffa5 */ bnez $at,.PB0f073a9c +/* f073c08: 00000000 */ nop +.PB0f073c0c: +/* f073c0c: 52800010 */ beqzl $s4,.PB0f073c50 +/* f073c10: ae4000d0 */ sw $zero,0xd0($s2) +/* f073c14: 8689017e */ lh $t1,0x17e($s4) +/* f073c18: 2401ffff */ li $at,-1 +/* f073c1c: 5521000c */ bnel $t1,$at,.PB0f073c50 +/* f073c20: ae4000d0 */ sw $zero,0xd0($s2) +/* f073c24: a2400104 */ sb $zero,0x104($s2) +/* f073c28: 8eab0034 */ lw $t3,0x34($s5) +/* f073c2c: 8e4a00d0 */ lw $t2,0xd0($s2) +/* f073c30: 014b6021 */ addu $t4,$t2,$t3 +/* f073c34: 29810641 */ slti $at,$t4,0x641 +/* f073c38: 14200005 */ bnez $at,.PB0f073c50 +/* f073c3c: ae4c00d0 */ sw $t4,0xd0($s2) +/* f073c40: 8fae0188 */ lw $t6,0x188($sp) +/* f073c44: 10000002 */ b .PB0f073c50 +/* f073c48: a5c00062 */ sh $zero,0x62($t6) +/* f073c4c: ae4000d0 */ sw $zero,0xd0($s2) +.PB0f073c50: +/* f073c50: 5280000d */ beqzl $s4,.PB0f073c88 +/* f073c54: 8fbf003c */ lw $ra,0x3c($sp) +/* f073c58: 8e8202d4 */ lw $v0,0x2d4($s4) +/* f073c5c: 10400004 */ beqz $v0,.PB0f073c70 +/* f073c60: 00000000 */ nop +/* f073c64: 8c4f0044 */ lw $t7,0x44($v0) +/* f073c68: 51e00006 */ beqzl $t7,.PB0f073c84 +/* f073c6c: ae400088 */ sw $zero,0x88($s2) +.PB0f073c70: +/* f073c70: 0fc0e6e9 */ jal 0xf039ba4 +/* f073c74: 02802025 */ move $a0,$s4 +/* f073c78: 50400003 */ beqzl $v0,.PB0f073c88 +/* f073c7c: 8fbf003c */ lw $ra,0x3c($sp) +/* f073c80: ae400088 */ sw $zero,0x88($s2) +.PB0f073c84: +/* f073c84: 8fbf003c */ lw $ra,0x3c($sp) +.PB0f073c88: +/* f073c88: 8fa20184 */ lw $v0,0x184($sp) +/* f073c8c: d7b40018 */ ldc1 $f20,0x18($sp) +/* f073c90: 8fb00024 */ lw $s0,0x24($sp) +/* f073c94: 8fb10028 */ lw $s1,0x28($sp) +/* f073c98: 8fb2002c */ lw $s2,0x2c($sp) +/* f073c9c: 8fb30030 */ lw $s3,0x30($sp) +/* f073ca0: 8fb40034 */ lw $s4,0x34($sp) +/* f073ca4: 8fb50038 */ lw $s5,0x38($sp) +/* f073ca8: 03e00008 */ jr $ra +/* f073cac: 27bd0188 */ addiu $sp,$sp,0x188 +); #else GLOBAL_ASM( glabel func0f073478 @@ -26173,6 +28675,3551 @@ glabel var7f1ab6dcpf /* f0771c4: 03e00008 */ jr $ra /* f0771c8: 27bd0608 */ addiu $sp,$sp,0x608 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f073c6c +.late_rodata +glabel var7f1ab670pf +.word 0x3c23d70a +glabel var7f1ab674pf +.word 0x3c23d70a +glabel var7f1ab678pf +.word 0x38d1b717 +glabel var7f1ab67cpf +.word 0x3c23d70a +glabel var7f1ab680pf +.word 0x3c23d70a +glabel var7f1ab684pf +.word 0x3c23d70a +glabel var7f1ab688pf +.word 0xc6ea6000 +glabel var7f1ab68cpf +.word 0xc69c4000 +glabel var7f1ab690pf +.word 0x3e8e38e4 +glabel var7f1ab694pf +.word 0x3c360b61 +glabel var7f1ab698pf +.word 0x3d8f5c29 +glabel var7f1ab69cpf +.word 0x3e8e38e4 +glabel var7f1ab6a0pf +.word 0x3a83126f +glabel var7f1ab6a4pf +.word 0xba83126f +glabel var7f1ab6a8pf +.word 0x3e8e38e4 +glabel var7f1ab6acpf +.word 0x3e0e38e4 +glabel var7f1ab6b0pf +.word 0x400e38e4 +glabel var7f1ab6b4pf +.word 0x46d9038c +glabel var7f1ab6b8pf +.word 0x3dcccccd +glabel var7f1ab6bcpf +.word 0xbdcccccd +glabel var7f1ab6c0pf +.word 0xbdcccccd +glabel var7f1ab6c4pf +.word 0x3f8ccccd +glabel var7f1ab6c8pf +.word 0x3f666666 +glabel var7f1ab6ccpf +.word 0x3f99999a +glabel var7f1ab6d0pf +.word 0x3f99999a +glabel var7f1ab6d4pf +.word 0x3f666666 +glabel var7f1ab6d8pf +.word 0x3dcccccd +glabel var7f1ab6dcpf +.word 0xbdcccccd +.text +/* f073e34: 27bdf9f8 */ addiu $sp,$sp,-1544 +/* f073e38: 3c03800a */ lui $v1,0x800a +/* f073e3c: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f073e40: 8c6e0034 */ lw $t6,0x34($v1) +/* f073e44: afbf005c */ sw $ra,0x5c($sp) +/* f073e48: afb20058 */ sw $s2,0x58($sp) +/* f073e4c: afb10054 */ sw $s1,0x54($sp) +/* f073e50: afb00050 */ sw $s0,0x50($sp) +/* f073e54: f7b40048 */ sdc1 $f20,0x48($sp) +/* f073e58: afa5060c */ sw $a1,0x60c($sp) +/* f073e5c: 8c900048 */ lw $s0,0x48($a0) +/* f073e60: afa005d8 */ sw $zero,0x5d8($sp) +/* f073e64: 00808825 */ move $s1,$a0 +/* f073e68: 19c00ca4 */ blez $t6,.PB0f0770fc +/* f073e6c: 8c920014 */ lw $s2,0x14($a0) +/* f073e70: 908f0003 */ lbu $t7,0x3($a0) +/* f073e74: 24010008 */ li $at,0x8 +/* f073e78: 55e1000a */ bnel $t7,$at,.PB0f073ea4 +/* f073e7c: 8e020000 */ lw $v0,0x0($s0) +/* f073e80: 9098005c */ lbu $t8,0x5c($a0) +/* f073e84: 24010058 */ li $at,0x58 +/* f073e88: 57010006 */ bnel $t8,$at,.PB0f073ea4 +/* f073e8c: 8e020000 */ lw $v0,0x0($s0) +/* f073e90: 0fc1cd90 */ jal 0xf073640 +/* f073e94: 00000000 */ nop +/* f073e98: 10000c98 */ b .PB0f0770fc +/* f073e9c: afa205d8 */ sw $v0,0x5d8($sp) +/* f073ea0: 8e020000 */ lw $v0,0x0($s0) +.PB0f073ea4: +/* f073ea4: 2401cfff */ li $at,-12289 +/* f073ea8: 30591000 */ andi $t9,$v0,0x1000 +/* f073eac: 13200006 */ beqz $t9,.PB0f073ec8 +/* f073eb0: 30492000 */ andi $t1,$v0,0x2000 +/* f073eb4: 0009502b */ sltu $t2,$zero,$t1 +/* f073eb8: afaa05d8 */ sw $t2,0x5d8($sp) +/* f073ebc: 00415824 */ and $t3,$v0,$at +/* f073ec0: 10000c8e */ b .PB0f0770fc +/* f073ec4: ae0b0000 */ sw $t3,0x0($s0) +.PB0f073ec8: +/* f073ec8: 8e2c0040 */ lw $t4,0x40($s1) +/* f073ecc: 3c01fffd */ lui $at,0xfffd +/* f073ed0: 3421ffff */ ori $at,$at,0xffff +/* f073ed4: 01816824 */ and $t5,$t4,$at +/* f073ed8: ae2d0040 */ sw $t5,0x40($s1) +/* f073edc: 8e0e0000 */ lw $t6,0x0($s0) +/* f073ee0: 02202025 */ move $a0,$s1 +/* f073ee4: 02002825 */ move $a1,$s0 +/* f073ee8: 31cf0080 */ andi $t7,$t6,0x80 +/* f073eec: 11e00005 */ beqz $t7,.PB0f073f04 +/* f073ef0: 27a605e8 */ addiu $a2,$sp,0x5e8 +/* f073ef4: 0fc1cf2c */ jal 0xf073cb0 +/* f073ef8: 27a705f4 */ addiu $a3,$sp,0x5f4 +/* f073efc: 3c03800a */ lui $v1,0x800a +/* f073f00: 2463e4d0 */ addiu $v1,$v1,-6960 +.PB0f073f04: +/* f073f04: c6440008 */ lwc1 $f4,0x8($s2) +/* f073f08: 2624001c */ addiu $a0,$s1,0x1c +/* f073f0c: 27a50504 */ addiu $a1,$sp,0x504 +/* f073f10: e7a405dc */ swc1 $f4,0x5dc($sp) +/* f073f14: c646000c */ lwc1 $f6,0xc($s2) +/* f073f18: e7a605e0 */ swc1 $f6,0x5e0($sp) +/* f073f1c: c6480010 */ lwc1 $f8,0x10($s2) +/* f073f20: e7a805e4 */ swc1 $f8,0x5e4($sp) +/* f073f24: 8e0200b4 */ lw $v0,0xb4($s0) +/* f073f28: 58400005 */ blezl $v0,.PB0f073f40 +/* f073f2c: 8e020000 */ lw $v0,0x0($s0) +/* f073f30: 8c780034 */ lw $t8,0x34($v1) +/* f073f34: 0058c823 */ subu $t9,$v0,$t8 +/* f073f38: ae1900b4 */ sw $t9,0xb4($s0) +/* f073f3c: 8e020000 */ lw $v0,0x0($s0) +.PB0f073f40: +/* f073f40: 30490800 */ andi $t1,$v0,0x800 +/* f073f44: 11200379 */ beqz $t1,.PB0f074d2c +/* f073f48: 304e0001 */ andi $t6,$v0,0x1 +/* f073f4c: 0c0059e9 */ jal 0x167a4 +/* f073f50: afa40074 */ sw $a0,0x74($sp) +/* f073f54: 26440008 */ addiu $a0,$s2,0x8 +/* f073f58: afa40070 */ sw $a0,0x70($sp) +/* f073f5c: 0c005a09 */ jal 0x16824 +/* f073f60: 27a50504 */ addiu $a1,$sp,0x504 +/* f073f64: 4480a000 */ mtc1 $zero,$f20 +/* f073f68: c60000dc */ lwc1 $f0,0xdc($s0) +/* f073f6c: 3c01800a */ lui $at,0x800a +/* f073f70: 4600a03c */ c.lt.s $f20,$f0 +/* f073f74: 00000000 */ nop +/* f073f78: 4502002c */ bc1fl .PB0f07402c +/* f073f7c: 4614003c */ c.lt.s $f0,$f20 +/* f073f80: c60a00e0 */ lwc1 $f10,0xe0($s0) +/* f073f84: c424e51c */ lwc1 $f4,-0x1ae4($at) +/* f073f88: 3c013f80 */ lui $at,0x3f80 +/* f073f8c: 46045182 */ mul.s $f6,$f10,$f4 +/* f073f90: 46060201 */ sub.s $f8,$f0,$f6 +/* f073f94: e60800dc */ swc1 $f8,0xdc($s0) +/* f073f98: c60a00dc */ lwc1 $f10,0xdc($s0) +/* f073f9c: 4614503c */ c.lt.s $f10,$f20 +/* f073fa0: 00000000 */ nop +/* f073fa4: 45020004 */ bc1fl .PB0f073fb8 +/* f073fa8: c61000e4 */ lwc1 $f16,0xe4($s0) +/* f073fac: 1000004b */ b .PB0f0740dc +/* f073fb0: e61400dc */ swc1 $f20,0xdc($s0) +/* f073fb4: c61000e4 */ lwc1 $f16,0xe4($s0) +.PB0f073fb8: +/* f073fb8: 44812000 */ mtc1 $at,$f4 +/* f073fbc: 3c03800a */ lui $v1,0x800a +/* f073fc0: 4604803c */ c.lt.s $f16,$f4 +/* f073fc4: 00000000 */ nop +/* f073fc8: 45020045 */ bc1fl .PB0f0740e0 +/* f073fcc: c60e0004 */ lwc1 $f14,0x4($s0) +/* f073fd0: 8c63e508 */ lw $v1,-0x1af8($v1) +/* f073fd4: 00001025 */ move $v0,$zero +/* f073fd8: 58600041 */ blezl $v1,.PB0f0740e0 +/* f073fdc: c60e0004 */ lwc1 $f14,0x4($s0) +/* f073fe0: c60200ec */ lwc1 $f2,0xec($s0) +/* f073fe4: c60000dc */ lwc1 $f0,0xdc($s0) +.PB0f073fe8: +/* f073fe8: 24420001 */ addiu $v0,$v0,0x1 +/* f073fec: 4600103c */ c.lt.s $f2,$f0 +/* f073ff0: 00000000 */ nop +/* f073ff4: 45020008 */ bc1fl .PB0f074018 +/* f073ff8: 0043082a */ slt $at,$v0,$v1 +/* f073ffc: 46020181 */ sub.s $f6,$f0,$f2 +/* f074000: 3c03800a */ lui $v1,0x800a +/* f074004: 46103202 */ mul.s $f8,$f6,$f16 +/* f074008: 46081280 */ add.s $f10,$f2,$f8 +/* f07400c: e60a00dc */ swc1 $f10,0xdc($s0) +/* f074010: 8c63e508 */ lw $v1,-0x1af8($v1) +/* f074014: 0043082a */ slt $at,$v0,$v1 +.PB0f074018: +/* f074018: 5420fff3 */ bnezl $at,.PB0f073fe8 +/* f07401c: c60000dc */ lwc1 $f0,0xdc($s0) +/* f074020: 1000002f */ b .PB0f0740e0 +/* f074024: c60e0004 */ lwc1 $f14,0x4($s0) +/* f074028: 4614003c */ c.lt.s $f0,$f20 +.PB0f07402c: +/* f07402c: 3c04800a */ lui $a0,0x800a +/* f074030: 2484e4d0 */ addiu $a0,$a0,-6960 +/* f074034: 4502002a */ bc1fl .PB0f0740e0 +/* f074038: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07403c: c60400e0 */ lwc1 $f4,0xe0($s0) +/* f074040: c486004c */ lwc1 $f6,0x4c($a0) +/* f074044: 3c013f80 */ lui $at,0x3f80 +/* f074048: 46062202 */ mul.s $f8,$f4,$f6 +/* f07404c: 46080280 */ add.s $f10,$f0,$f8 +/* f074050: e60a00dc */ swc1 $f10,0xdc($s0) +/* f074054: c60400dc */ lwc1 $f4,0xdc($s0) +/* f074058: 4604a03c */ c.lt.s $f20,$f4 +/* f07405c: 00000000 */ nop +/* f074060: 45020004 */ bc1fl .PB0f074074 +/* f074064: c61000e4 */ lwc1 $f16,0xe4($s0) +/* f074068: 1000001c */ b .PB0f0740dc +/* f07406c: e61400dc */ swc1 $f20,0xdc($s0) +/* f074070: c61000e4 */ lwc1 $f16,0xe4($s0) +.PB0f074074: +/* f074074: 44813000 */ mtc1 $at,$f6 +/* f074078: 00000000 */ nop +/* f07407c: 4606803c */ c.lt.s $f16,$f6 +/* f074080: 00000000 */ nop +/* f074084: 45020016 */ bc1fl .PB0f0740e0 +/* f074088: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07408c: 8c830038 */ lw $v1,0x38($a0) +/* f074090: 00001025 */ move $v0,$zero +/* f074094: 58600012 */ blezl $v1,.PB0f0740e0 +/* f074098: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07409c: c60200ec */ lwc1 $f2,0xec($s0) +/* f0740a0: 46001307 */ neg.s $f12,$f2 +/* f0740a4: c60000dc */ lwc1 $f0,0xdc($s0) +.PB0f0740a8: +/* f0740a8: 24420001 */ addiu $v0,$v0,0x1 +/* f0740ac: 460c003c */ c.lt.s $f0,$f12 +/* f0740b0: 00000000 */ nop +/* f0740b4: 45020007 */ bc1fl .PB0f0740d4 +/* f0740b8: 0043082a */ slt $at,$v0,$v1 +/* f0740bc: 46020200 */ add.s $f8,$f0,$f2 +/* f0740c0: 46104282 */ mul.s $f10,$f8,$f16 +/* f0740c4: 460a6100 */ add.s $f4,$f12,$f10 +/* f0740c8: e60400dc */ swc1 $f4,0xdc($s0) +/* f0740cc: 8c830038 */ lw $v1,0x38($a0) +/* f0740d0: 0043082a */ slt $at,$v0,$v1 +.PB0f0740d4: +/* f0740d4: 5420fff4 */ bnezl $at,.PB0f0740a8 +/* f0740d8: c60000dc */ lwc1 $f0,0xdc($s0) +.PB0f0740dc: +/* f0740dc: c60e0004 */ lwc1 $f14,0x4($s0) +.PB0f0740e0: +/* f0740e0: 460ea032 */ c.eq.s $f20,$f14 +/* f0740e4: 00000000 */ nop +/* f0740e8: 45020007 */ bc1fl .PB0f074108 +/* f0740ec: c6080098 */ lwc1 $f8,0x98($s0) +/* f0740f0: c606000c */ lwc1 $f6,0xc($s0) +/* f0740f4: 4606a032 */ c.eq.s $f20,$f6 +/* f0740f8: 00000000 */ nop +/* f0740fc: 45030061 */ bc1tl .PB0f074284 +/* f074100: 8e040088 */ lw $a0,0x88($s0) +/* f074104: c6080098 */ lwc1 $f8,0x98($s0) +.PB0f074108: +/* f074108: 4608a03c */ c.lt.s $f20,$f8 +/* f07410c: 00000000 */ nop +/* f074110: 4502005c */ bc1fl .PB0f074284 +/* f074114: 8e040088 */ lw $a0,0x88($s0) +/* f074118: c602000c */ lwc1 $f2,0xc($s0) +/* f07411c: 46021282 */ mul.s $f10,$f2,$f2 +/* f074120: 00000000 */ nop +/* f074124: 460e7102 */ mul.s $f4,$f14,$f14 +/* f074128: 0c012ae4 */ jal 0x4ab90 +/* f07412c: 46045300 */ add.s $f12,$f10,$f4 +/* f074130: 4600a03c */ c.lt.s $f20,$f0 +/* f074134: 3c03800a */ lui $v1,0x800a +/* f074138: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f07413c: 4502004f */ bc1fl .PB0f07427c +/* f074140: e6140004 */ swc1 $f20,0x4($s0) +/* f074144: c6060098 */ lwc1 $f6,0x98($s0) +/* f074148: c468004c */ lwc1 $f8,0x4c($v1) +/* f07414c: 3c013f80 */ lui $at,0x3f80 +/* f074150: 44812000 */ mtc1 $at,$f4 +/* f074154: 46083282 */ mul.s $f10,$f6,$f8 +/* f074158: 46005303 */ div.s $f12,$f10,$f0 +/* f07415c: 460c203e */ c.le.s $f4,$f12 +/* f074160: 00000000 */ nop +/* f074164: 45020005 */ bc1fl .PB0f07417c +/* f074168: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07416c: e6140004 */ swc1 $f20,0x4($s0) +/* f074170: 10000043 */ b .PB0f074280 +/* f074174: e614000c */ swc1 $f20,0xc($s0) +/* f074178: c60e0004 */ lwc1 $f14,0x4($s0) +.PB0f07417c: +/* f07417c: c602000c */ lwc1 $f2,0xc($s0) +/* f074180: 3c013f80 */ lui $at,0x3f80 +/* f074184: 460c7182 */ mul.s $f6,$f14,$f12 +/* f074188: c61000e4 */ lwc1 $f16,0xe4($s0) +/* f07418c: 460c1282 */ mul.s $f10,$f2,$f12 +/* f074190: 46067201 */ sub.s $f8,$f14,$f6 +/* f074194: 44813000 */ mtc1 $at,$f6 +/* f074198: 460a1101 */ sub.s $f4,$f2,$f10 +/* f07419c: e6080004 */ swc1 $f8,0x4($s0) +/* f0741a0: 4606803c */ c.lt.s $f16,$f6 +/* f0741a4: e604000c */ swc1 $f4,0xc($s0) +/* f0741a8: 45020036 */ bc1fl .PB0f074284 +/* f0741ac: 8e040088 */ lw $a0,0x88($s0) +/* f0741b0: 8c6a0038 */ lw $t2,0x38($v1) +/* f0741b4: 00001025 */ move $v0,$zero +/* f0741b8: 59400032 */ blezl $t2,.PB0f074284 +/* f0741bc: 8e040088 */ lw $a0,0x88($s0) +/* f0741c0: c60c00f0 */ lwc1 $f12,0xf0($s0) +/* f0741c4: c60e0004 */ lwc1 $f14,0x4($s0) +.PB0f0741c8: +/* f0741c8: 460e603c */ c.lt.s $f12,$f14 +/* f0741cc: 00000000 */ nop +/* f0741d0: 45020007 */ bc1fl .PB0f0741f0 +/* f0741d4: 46006007 */ neg.s $f0,$f12 +/* f0741d8: 460c7201 */ sub.s $f8,$f14,$f12 +/* f0741dc: 46104282 */ mul.s $f10,$f8,$f16 +/* f0741e0: 460c5100 */ add.s $f4,$f10,$f12 +/* f0741e4: 1000000a */ b .PB0f074210 +/* f0741e8: e6040004 */ swc1 $f4,0x4($s0) +/* f0741ec: 46006007 */ neg.s $f0,$f12 +.PB0f0741f0: +/* f0741f0: 4600703c */ c.lt.s $f14,$f0 +/* f0741f4: 00000000 */ nop +/* f0741f8: 45020006 */ bc1fl .PB0f074214 +/* f0741fc: c602000c */ lwc1 $f2,0xc($s0) +/* f074200: 460c7180 */ add.s $f6,$f14,$f12 +/* f074204: 46103202 */ mul.s $f8,$f6,$f16 +/* f074208: 46004280 */ add.s $f10,$f8,$f0 +/* f07420c: e60a0004 */ swc1 $f10,0x4($s0) +.PB0f074210: +/* f074210: c602000c */ lwc1 $f2,0xc($s0) +.PB0f074214: +/* f074214: 4602603c */ c.lt.s $f12,$f2 +/* f074218: 00000000 */ nop +/* f07421c: 45020007 */ bc1fl .PB0f07423c +/* f074220: 46006007 */ neg.s $f0,$f12 +/* f074224: 460c1101 */ sub.s $f4,$f2,$f12 +/* f074228: 46102182 */ mul.s $f6,$f4,$f16 +/* f07422c: 460c3200 */ add.s $f8,$f6,$f12 +/* f074230: 1000000a */ b .PB0f07425c +/* f074234: e608000c */ swc1 $f8,0xc($s0) +/* f074238: 46006007 */ neg.s $f0,$f12 +.PB0f07423c: +/* f07423c: 4600103c */ c.lt.s $f2,$f0 +/* f074240: 00000000 */ nop +/* f074244: 45020006 */ bc1fl .PB0f074260 +/* f074248: 8c6b0038 */ lw $t3,0x38($v1) +/* f07424c: 460c1280 */ add.s $f10,$f2,$f12 +/* f074250: 46105102 */ mul.s $f4,$f10,$f16 +/* f074254: 46002180 */ add.s $f6,$f4,$f0 +/* f074258: e606000c */ swc1 $f6,0xc($s0) +.PB0f07425c: +/* f07425c: 8c6b0038 */ lw $t3,0x38($v1) +.PB0f074260: +/* f074260: 24420001 */ addiu $v0,$v0,0x1 +/* f074264: 004b082a */ slt $at,$v0,$t3 +/* f074268: 5420ffd7 */ bnezl $at,.PB0f0741c8 +/* f07426c: c60e0004 */ lwc1 $f14,0x4($s0) +/* f074270: 10000004 */ b .PB0f074284 +/* f074274: 8e040088 */ lw $a0,0x88($s0) +/* f074278: e6140004 */ swc1 $f20,0x4($s0) +.PB0f07427c: +/* f07427c: e614000c */ swc1 $f20,0xc($s0) +.PB0f074280: +/* f074280: 8e040088 */ lw $a0,0x88($s0) +.PB0f074284: +/* f074284: 50800004 */ beqzl $a0,.PB0f074298 +/* f074288: 86240006 */ lh $a0,0x6($s1) +/* f07428c: 0fc190d6 */ jal 0xf064358 +/* f074290: 00002825 */ move $a1,$zero +/* f074294: 86240006 */ lh $a0,0x6($s1) +.PB0f074298: +/* f074298: 288c0000 */ slti $t4,$a0,0x0 +/* f07429c: 398c0001 */ xori $t4,$t4,0x1 +/* f0742a0: 11800007 */ beqz $t4,.PB0f0742c0 +/* f0742a4: afac0088 */ sw $t4,0x88($sp) +/* f0742a8: 8e2e0010 */ lw $t6,0x10($s1) +/* f0742ac: 3c010100 */ lui $at,0x100 +/* f0742b0: 34210002 */ ori $at,$at,0x2 +/* f0742b4: 01c17824 */ and $t7,$t6,$at +/* f0742b8: 2df80001 */ sltiu $t8,$t7,0x1 +/* f0742bc: afb80088 */ sw $t8,0x88($sp) +.PB0f0742c0: +/* f0742c0: 8fb90088 */ lw $t9,0x88($sp) +/* f0742c4: 1320003b */ beqz $t9,.PB0f0743b4 +/* f0742c8: 24050002 */ li $a1,0x2 +/* f0742cc: 0fc458d4 */ jal 0xf116350 +/* f0742d0: 27a60430 */ addiu $a2,$sp,0x430 +/* f0742d4: 3c014348 */ lui $at,0x4348 +/* f0742d8: 44811000 */ mtc1 $at,$f2 +/* f0742dc: 8e290010 */ lw $t1,0x10($s1) +/* f0742e0: 3c014396 */ lui $at,0x4396 +/* f0742e4: 44816000 */ mtc1 $at,$f12 +/* f0742e8: 00095200 */ sll $t2,$t1,0x8 +/* f0742ec: 46001406 */ mov.s $f16,$f2 +/* f0742f0: 05410006 */ bgez $t2,.PB0f07430c +/* f0742f4: 46006386 */ mov.s $f14,$f12 +/* f0742f8: 3c01442f */ lui $at,0x442f +/* f0742fc: 44810000 */ mtc1 $at,$f0 +/* f074300: 00000000 */ nop +/* f074304: 46001400 */ add.s $f16,$f2,$f0 +/* f074308: 46006380 */ add.s $f14,$f12,$f0 +.PB0f07430c: +/* f07430c: 862b0004 */ lh $t3,0x4($s1) +/* f074310: 240101a8 */ li $at,0x1a8 +/* f074314: c7aa0430 */ lwc1 $f10,0x430($sp) +/* f074318: 15610006 */ bne $t3,$at,.PB0f074334 +/* f07431c: 3c0141a0 */ lui $at,0x41a0 +/* f074320: 44810000 */ mtc1 $at,$f0 +/* f074324: 3c014248 */ lui $at,0x4248 +/* f074328: 44814000 */ mtc1 $at,$f8 +/* f07432c: 46007380 */ add.s $f14,$f14,$f0 +/* f074330: 46088400 */ add.s $f16,$f16,$f8 +.PB0f074334: +/* f074334: c6440008 */ lwc1 $f4,0x8($s2) +/* f074338: c7a60438 */ lwc1 $f6,0x438($sp) +/* f07433c: c6480010 */ lwc1 $f8,0x10($s2) +/* f074340: 46045001 */ sub.s $f0,$f10,$f4 +/* f074344: e7b0041c */ swc1 $f16,0x41c($sp) +/* f074348: e7ae0418 */ swc1 $f14,0x418($sp) +/* f07434c: 46083081 */ sub.s $f2,$f6,$f8 +/* f074350: 46000282 */ mul.s $f10,$f0,$f0 +/* f074354: 00000000 */ nop +/* f074358: 46021102 */ mul.s $f4,$f2,$f2 +/* f07435c: 0c012ae4 */ jal 0x4ab90 +/* f074360: 46045300 */ add.s $f12,$f10,$f4 +/* f074364: c7a60418 */ lwc1 $f6,0x418($sp) +/* f074368: c7a8041c */ lwc1 $f8,0x41c($sp) +/* f07436c: 4600303c */ c.lt.s $f6,$f0 +/* f074370: 00000000 */ nop +/* f074374: 45020004 */ bc1fl .PB0f074388 +/* f074378: 4600403c */ c.lt.s $f8,$f0 +/* f07437c: 1000000d */ b .PB0f0743b4 +/* f074380: e61400dc */ swc1 $f20,0xdc($s0) +/* f074384: 4600403c */ c.lt.s $f8,$f0 +.PB0f074388: +/* f074388: c7aa0418 */ lwc1 $f10,0x418($sp) +/* f07438c: 3c017f1b */ lui $at,0x7f1b +/* f074390: 45000008 */ bc1f .PB0f0743b4 +/* f074394: 00000000 */ nop +/* f074398: 46005101 */ sub.s $f4,$f10,$f0 +/* f07439c: c426c0c0 */ lwc1 $f6,-0x3f40($at) +/* f0743a0: c60a00dc */ lwc1 $f10,0xdc($s0) +/* f0743a4: 46062202 */ mul.s $f8,$f4,$f6 +/* f0743a8: 00000000 */ nop +/* f0743ac: 46085102 */ mul.s $f4,$f10,$f8 +/* f0743b0: e60400dc */ swc1 $f4,0xdc($s0) +.PB0f0743b4: +/* f0743b4: 3c01800a */ lui $at,0x800a +/* f0743b8: c42ae51c */ lwc1 $f10,-0x1ae4($at) +/* f0743bc: c60600dc */ lwc1 $f6,0xdc($s0) +/* f0743c0: 460a3002 */ mul.s $f0,$f6,$f10 +/* f0743c4: 46140032 */ c.eq.s $f0,$f20 +/* f0743c8: 00000000 */ nop +/* f0743cc: 4501001c */ bc1t .PB0f074440 +/* f0743d0: 3c0c8007 */ lui $t4,0x8007 +/* f0743d4: 258cb258 */ addiu $t4,$t4,-19880 +/* f0743d8: 8d810000 */ lw $at,0x0($t4) +/* f0743dc: 27a50404 */ addiu $a1,$sp,0x404 +/* f0743e0: 44060000 */ mfc1 $a2,$f0 +/* f0743e4: aca10000 */ sw $at,0x0($a1) +/* f0743e8: 8d8e0004 */ lw $t6,0x4($t4) +/* f0743ec: 02202025 */ move $a0,$s1 +/* f0743f0: 24070001 */ li $a3,0x1 +/* f0743f4: acae0004 */ sw $t6,0x4($a1) +/* f0743f8: 8d810008 */ lw $at,0x8($t4) +/* f0743fc: aca10008 */ sw $at,0x8($a1) +/* f074400: 0fc1c8c6 */ jal 0xf072318 +/* f074404: e7a005a8 */ swc1 $f0,0x5a8($sp) +/* f074408: 2401ffff */ li $at,-1 +/* f07440c: 1041000c */ beq $v0,$at,.PB0f074440 +/* f074410: c7a005a8 */ lwc1 $f0,0x5a8($sp) +/* f074414: 1440000a */ bnez $v0,.PB0f074440 +/* f074418: 00000000 */ nop +/* f07441c: c60800dc */ lwc1 $f8,0xdc($s0) +/* f074420: c606008c */ lwc1 $f6,0x8c($s0) +/* f074424: 44060000 */ mfc1 $a2,$f0 +/* f074428: 46004107 */ neg.s $f4,$f8 +/* f07442c: 02202025 */ move $a0,$s1 +/* f074430: 46062282 */ mul.s $f10,$f4,$f6 +/* f074434: 27a50404 */ addiu $a1,$sp,0x404 +/* f074438: 0fc1ca6a */ jal 0xf0729a8 +/* f07443c: e60a00dc */ swc1 $f10,0xdc($s0) +.PB0f074440: +/* f074440: 3c01800a */ lui $at,0x800a +/* f074444: c422e51c */ lwc1 $f2,-0x1ae4($at) +/* f074448: c6080004 */ lwc1 $f8,0x4($s0) +/* f07444c: e7b405a0 */ swc1 $f20,0x5a0($sp) +/* f074450: 8faf0088 */ lw $t7,0x88($sp) +/* f074454: 46024102 */ mul.s $f4,$f8,$f2 +/* f074458: e7a4059c */ swc1 $f4,0x59c($sp) +/* f07445c: c606000c */ lwc1 $f6,0xc($s0) +/* f074460: 46023282 */ mul.s $f10,$f6,$f2 +/* f074464: 11e00031 */ beqz $t7,.PB0f07452c +/* f074468: e7aa05a4 */ swc1 $f10,0x5a4($sp) +/* f07446c: c7a80430 */ lwc1 $f8,0x430($sp) +/* f074470: c6440008 */ lwc1 $f4,0x8($s2) +/* f074474: c7aa059c */ lwc1 $f10,0x59c($sp) +/* f074478: 46044181 */ sub.s $f6,$f8,$f4 +/* f07447c: c6440010 */ lwc1 $f4,0x10($s2) +/* f074480: c7a80438 */ lwc1 $f8,0x438($sp) +/* f074484: 460a3001 */ sub.s $f0,$f6,$f10 +/* f074488: c7aa05a4 */ lwc1 $f10,0x5a4($sp) +/* f07448c: 46044181 */ sub.s $f6,$f8,$f4 +/* f074490: 46000202 */ mul.s $f8,$f0,$f0 +/* f074494: 460a3081 */ sub.s $f2,$f6,$f10 +/* f074498: 46021102 */ mul.s $f4,$f2,$f2 +/* f07449c: 0c012ae4 */ jal 0x4ab90 +/* f0744a0: 46044300 */ add.s $f12,$f8,$f4 +/* f0744a4: c7ac0418 */ lwc1 $f12,0x418($sp) +/* f0744a8: c7a6041c */ lwc1 $f6,0x41c($sp) +/* f0744ac: 4600603c */ c.lt.s $f12,$f0 +/* f0744b0: 00000000 */ nop +/* f0744b4: 45020009 */ bc1fl .PB0f0744dc +/* f0744b8: 4600303c */ c.lt.s $f6,$f0 +/* f0744bc: e7b405a4 */ swc1 $f20,0x5a4($sp) +/* f0744c0: c7a005a4 */ lwc1 $f0,0x5a4($sp) +/* f0744c4: e7a0059c */ swc1 $f0,0x59c($sp) +/* f0744c8: e6000004 */ swc1 $f0,0x4($s0) +/* f0744cc: e600000c */ swc1 $f0,0xc($s0) +/* f0744d0: 10000016 */ b .PB0f07452c +/* f0744d4: e60000dc */ swc1 $f0,0xdc($s0) +/* f0744d8: 4600303c */ c.lt.s $f6,$f0 +.PB0f0744dc: +/* f0744dc: 3c017f1b */ lui $at,0x7f1b +/* f0744e0: 45020013 */ bc1fl .PB0f074530 +/* f0744e4: 4406a000 */ mfc1 $a2,$f20 +/* f0744e8: 46006281 */ sub.s $f10,$f12,$f0 +/* f0744ec: c428c0c4 */ lwc1 $f8,-0x3f3c($at) +/* f0744f0: c6040004 */ lwc1 $f4,0x4($s0) +/* f0744f4: 46085082 */ mul.s $f2,$f10,$f8 +/* f0744f8: c60a000c */ lwc1 $f10,0xc($s0) +/* f0744fc: 46022182 */ mul.s $f6,$f4,$f2 +/* f074500: 00000000 */ nop +/* f074504: 46025202 */ mul.s $f8,$f10,$f2 +/* f074508: e6060004 */ swc1 $f6,0x4($s0) +/* f07450c: e608000c */ swc1 $f8,0xc($s0) +/* f074510: c7a4059c */ lwc1 $f4,0x59c($sp) +/* f074514: c7aa05a4 */ lwc1 $f10,0x5a4($sp) +/* f074518: 46022182 */ mul.s $f6,$f4,$f2 +/* f07451c: 00000000 */ nop +/* f074520: 46025202 */ mul.s $f8,$f10,$f2 +/* f074524: e7a6059c */ swc1 $f6,0x59c($sp) +/* f074528: e7a805a4 */ swc1 $f8,0x5a4($sp) +.PB0f07452c: +/* f07452c: 4406a000 */ mfc1 $a2,$f20 +.PB0f074530: +/* f074530: 02202025 */ move $a0,$s1 +/* f074534: 27a5059c */ addiu $a1,$sp,0x59c +/* f074538: 0fc1c8c6 */ jal 0xf072318 +/* f07453c: 24070001 */ li $a3,0x1 +/* f074540: 144001ae */ bnez $v0,.PB0f074bfc +/* f074544: afa20600 */ sw $v0,0x600($sp) +/* f074548: 4406a000 */ mfc1 $a2,$f20 +/* f07454c: 02202025 */ move $a0,$s1 +/* f074550: 0fc1ca6a */ jal 0xf0729a8 +/* f074554: 27a5059c */ addiu $a1,$sp,0x59c +/* f074558: c604008c */ lwc1 $f4,0x8c($s0) +/* f07455c: 27a403d0 */ addiu $a0,$sp,0x3d0 +/* f074560: 27a503c4 */ addiu $a1,$sp,0x3c4 +/* f074564: 46040402 */ mul.s $f16,$f0,$f4 +/* f074568: 4610a03c */ c.lt.s $f20,$f16 +/* f07456c: 00000000 */ nop +/* f074570: 450201a3 */ bc1fl .PB0f074c00 +/* f074574: 8fab0600 */ lw $t3,0x600($sp) +/* f074578: 0c009649 */ jal 0x25924 +/* f07457c: e7b0058c */ swc1 $f16,0x58c($sp) +/* f074580: 1040000e */ beqz $v0,.PB0f0745bc +/* f074584: c7b0058c */ lwc1 $f16,0x58c($sp) +/* f074588: c7a603c4 */ lwc1 $f6,0x3c4($sp) +/* f07458c: c7aa03d0 */ lwc1 $f10,0x3d0($sp) +/* f074590: c7a403c8 */ lwc1 $f4,0x3c8($sp) +/* f074594: 460a3201 */ sub.s $f8,$f6,$f10 +/* f074598: c7a603d4 */ lwc1 $f6,0x3d4($sp) +/* f07459c: 46062281 */ sub.s $f10,$f4,$f6 +/* f0745a0: e7a803c4 */ swc1 $f8,0x3c4($sp) +/* f0745a4: c7a803cc */ lwc1 $f8,0x3cc($sp) +/* f0745a8: c7a403d8 */ lwc1 $f4,0x3d8($sp) +/* f0745ac: e7aa03c8 */ swc1 $f10,0x3c8($sp) +/* f0745b0: 46044181 */ sub.s $f6,$f8,$f4 +/* f0745b4: 10000020 */ b .PB0f074638 +/* f0745b8: e7a603cc */ swc1 $f6,0x3cc($sp) +.PB0f0745bc: +/* f0745bc: 3c077f1b */ lui $a3,0x7f1b +/* f0745c0: 24e7bcac */ addiu $a3,$a3,-17236 +/* f0745c4: 27a403d0 */ addiu $a0,$sp,0x3d0 +/* f0745c8: 27a503c4 */ addiu $a1,$sp,0x3c4 +/* f0745cc: 240620a8 */ li $a2,0x20a8 +/* f0745d0: 0c009503 */ jal 0x2540c +/* f0745d4: e7b0058c */ swc1 $f16,0x58c($sp) +/* f0745d8: c7aa03d0 */ lwc1 $f10,0x3d0($sp) +/* f0745dc: c7a803c4 */ lwc1 $f8,0x3c4($sp) +/* f0745e0: c7a603d4 */ lwc1 $f6,0x3d4($sp) +/* f0745e4: c7b0058c */ lwc1 $f16,0x58c($sp) +/* f0745e8: 46085101 */ sub.s $f4,$f10,$f8 +/* f0745ec: c7aa03c8 */ lwc1 $f10,0x3c8($sp) +/* f0745f0: 460a3201 */ sub.s $f8,$f6,$f10 +/* f0745f4: e7a403d0 */ swc1 $f4,0x3d0($sp) +/* f0745f8: c7a403d8 */ lwc1 $f4,0x3d8($sp) +/* f0745fc: c7a603cc */ lwc1 $f6,0x3cc($sp) +/* f074600: e7a803d4 */ swc1 $f8,0x3d4($sp) +/* f074604: e7a803c8 */ swc1 $f8,0x3c8($sp) +/* f074608: 46062281 */ sub.s $f10,$f4,$f6 +/* f07460c: c7a603d0 */ lwc1 $f6,0x3d0($sp) +/* f074610: 46005107 */ neg.s $f4,$f10 +/* f074614: e7aa03d8 */ swc1 $f10,0x3d8($sp) +/* f074618: e7a403c4 */ swc1 $f4,0x3c4($sp) +/* f07461c: e7a603cc */ swc1 $f6,0x3cc($sp) +/* f074620: c64a0008 */ lwc1 $f10,0x8($s2) +/* f074624: e7aa03d0 */ swc1 $f10,0x3d0($sp) +/* f074628: c644000c */ lwc1 $f4,0xc($s2) +/* f07462c: e7a403d4 */ swc1 $f4,0x3d4($sp) +/* f074630: c6480010 */ lwc1 $f8,0x10($s2) +/* f074634: e7a803d8 */ swc1 $f8,0x3d8($sp) +.PB0f074638: +/* f074638: 27a403d0 */ addiu $a0,$sp,0x3d0 +/* f07463c: 27a503c4 */ addiu $a1,$sp,0x3c4 +/* f074640: 27a603b8 */ addiu $a2,$sp,0x3b8 +/* f074644: 0fc0b972 */ jal 0xf02e5c8 +/* f074648: e7b0058c */ swc1 $f16,0x58c($sp) +/* f07464c: c6460008 */ lwc1 $f6,0x8($s2) +/* f074650: c7aa05dc */ lwc1 $f10,0x5dc($sp) +/* f074654: e7b403b0 */ swc1 $f20,0x3b0($sp) +/* f074658: 3c017f1b */ lui $at,0x7f1b +/* f07465c: 460a3101 */ sub.s $f4,$f6,$f10 +/* f074660: c7a605e4 */ lwc1 $f6,0x5e4($sp) +/* f074664: c7b0058c */ lwc1 $f16,0x58c($sp) +/* f074668: e7a403ac */ swc1 $f4,0x3ac($sp) +/* f07466c: c6480010 */ lwc1 $f8,0x10($s2) +/* f074670: c7a403b8 */ lwc1 $f4,0x3b8($sp) +/* f074674: 46064281 */ sub.s $f10,$f8,$f6 +/* f074678: e7aa03b4 */ swc1 $f10,0x3b4($sp) +/* f07467c: c6480008 */ lwc1 $f8,0x8($s2) +/* f074680: c7aa03c0 */ lwc1 $f10,0x3c0($sp) +/* f074684: 46082181 */ sub.s $f6,$f4,$f8 +/* f074688: e7a603b8 */ swc1 $f6,0x3b8($sp) +/* f07468c: c6440010 */ lwc1 $f4,0x10($s2) +/* f074690: 46045201 */ sub.s $f8,$f10,$f4 +/* f074694: c7aa03ac */ lwc1 $f10,0x3ac($sp) +/* f074698: 46085102 */ mul.s $f4,$f10,$f8 +/* f07469c: e7a803c0 */ swc1 $f8,0x3c0($sp) +/* f0746a0: c7a803b4 */ lwc1 $f8,0x3b4($sp) +/* f0746a4: 46003287 */ neg.s $f10,$f6 +/* f0746a8: c60200ec */ lwc1 $f2,0xec($s0) +/* f0746ac: 46085182 */ mul.s $f6,$f10,$f8 +/* f0746b0: c428c0c8 */ lwc1 $f8,-0x3f38($at) +/* f0746b4: 46062280 */ add.s $f10,$f4,$f6 +/* f0746b8: 46085382 */ mul.s $f14,$f10,$f8 +/* f0746bc: 460e103c */ c.lt.s $f2,$f14 +/* f0746c0: 46007006 */ mov.s $f0,$f14 +/* f0746c4: 45020004 */ bc1fl .PB0f0746d8 +/* f0746c8: 46001307 */ neg.s $f12,$f2 +/* f0746cc: 10000007 */ b .PB0f0746ec +/* f0746d0: 46001006 */ mov.s $f0,$f2 +/* f0746d4: 46001307 */ neg.s $f12,$f2 +.PB0f0746d8: +/* f0746d8: 460c703c */ c.lt.s $f14,$f12 +/* f0746dc: 00000000 */ nop +/* f0746e0: 45020003 */ bc1fl .PB0f0746f0 +/* f0746e4: c60400dc */ lwc1 $f4,0xdc($s0) +/* f0746e8: 46006006 */ mov.s $f0,$f12 +.PB0f0746ec: +/* f0746ec: c60400dc */ lwc1 $f4,0xdc($s0) +.PB0f0746f0: +/* f0746f0: 3c077f1b */ lui $a3,0x7f1b +/* f0746f4: 24e7bcb8 */ addiu $a3,$a3,-17224 +/* f0746f8: 46002180 */ add.s $f6,$f4,$f0 +/* f0746fc: 27a403e8 */ addiu $a0,$sp,0x3e8 +/* f074700: 27a503dc */ addiu $a1,$sp,0x3dc +/* f074704: 240620ce */ li $a2,0x20ce +/* f074708: e60600dc */ swc1 $f6,0xdc($s0) +/* f07470c: 0c009503 */ jal 0x2540c +/* f074710: e7b0058c */ swc1 $f16,0x58c($sp) +/* f074714: c7aa03e4 */ lwc1 $f10,0x3e4($sp) +/* f074718: c7a803f0 */ lwc1 $f8,0x3f0($sp) +/* f07471c: c7ae03e8 */ lwc1 $f14,0x3e8($sp) +/* f074720: c7b203dc */ lwc1 $f18,0x3dc($sp) +/* f074724: 46085001 */ sub.s $f0,$f10,$f8 +/* f074728: c7b0058c */ lwc1 $f16,0x58c($sp) +/* f07472c: e7b403f8 */ swc1 $f20,0x3f8($sp) +/* f074730: 46127101 */ sub.s $f4,$f14,$f18 +/* f074734: e7a003f4 */ swc1 $f0,0x3f4($sp) +/* f074738: 27a403f4 */ addiu $a0,$sp,0x3f4 +/* f07473c: 4600a032 */ c.eq.s $f20,$f0 +/* f074740: e7a403fc */ swc1 $f4,0x3fc($sp) +/* f074744: c7a603fc */ lwc1 $f6,0x3fc($sp) +/* f074748: 27a503f8 */ addiu $a1,$sp,0x3f8 +/* f07474c: 45000005 */ bc1f .PB0f074764 +/* f074750: 27a603fc */ addiu $a2,$sp,0x3fc +/* f074754: 4606a032 */ c.eq.s $f20,$f6 +/* f074758: 3c013f80 */ lui $at,0x3f80 +/* f07475c: 45030006 */ bc1tl .PB0f074778 +/* f074760: 44815000 */ mtc1 $at,$f10 +.PB0f074764: +/* f074764: 0c0011d8 */ jal 0x4760 +/* f074768: e7b0058c */ swc1 $f16,0x58c($sp) +/* f07476c: 10000004 */ b .PB0f074780 +/* f074770: c7b0058c */ lwc1 $f16,0x58c($sp) +/* f074774: 44815000 */ mtc1 $at,$f10 +.PB0f074778: +/* f074778: 00000000 */ nop +/* f07477c: e7aa03fc */ swc1 $f10,0x3fc($sp) +.PB0f074780: +/* f074780: c7a803fc */ lwc1 $f8,0x3fc($sp) +/* f074784: c604000c */ lwc1 $f4,0xc($s0) +/* f074788: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07478c: c7aa03f4 */ lwc1 $f10,0x3f4($sp) +/* f074790: 46044182 */ mul.s $f6,$f8,$f4 +/* f074794: 3c013f80 */ lui $at,0x3f80 +/* f074798: e7b40594 */ swc1 $f20,0x594($sp) +/* f07479c: 460a7102 */ mul.s $f4,$f14,$f10 +/* f0747a0: 8fb80088 */ lw $t8,0x88($sp) +/* f0747a4: 46043000 */ add.s $f0,$f6,$f4 +/* f0747a8: 44813000 */ mtc1 $at,$f6 +/* f0747ac: 3c01800a */ lui $at,0x800a +/* f0747b0: c422e51c */ lwc1 $f2,-0x1ae4($at) +/* f0747b4: 46068100 */ add.s $f4,$f16,$f6 +/* f0747b8: 46002187 */ neg.s $f6,$f4 +/* f0747bc: 46060002 */ mul.s $f0,$f0,$f6 +/* f0747c0: 00000000 */ nop +/* f0747c4: 46005102 */ mul.s $f4,$f10,$f0 +/* f0747c8: 460e2180 */ add.s $f6,$f4,$f14 +/* f0747cc: 46004282 */ mul.s $f10,$f8,$f0 +/* f0747d0: e7a60590 */ swc1 $f6,0x590($sp) +/* f0747d4: c604000c */ lwc1 $f4,0xc($s0) +/* f0747d8: e7b405a0 */ swc1 $f20,0x5a0($sp) +/* f0747dc: 46045200 */ add.s $f8,$f10,$f4 +/* f0747e0: 46023282 */ mul.s $f10,$f6,$f2 +/* f0747e4: c7a60430 */ lwc1 $f6,0x430($sp) +/* f0747e8: 46024102 */ mul.s $f4,$f8,$f2 +/* f0747ec: e7a80598 */ swc1 $f8,0x598($sp) +/* f0747f0: e7aa059c */ swc1 $f10,0x59c($sp) +/* f0747f4: 1300002f */ beqz $t8,.PB0f0748b4 +/* f0747f8: e7a405a4 */ swc1 $f4,0x5a4($sp) +/* f0747fc: c6480008 */ lwc1 $f8,0x8($s2) +/* f074800: 46083181 */ sub.s $f6,$f6,$f8 +/* f074804: c7a80438 */ lwc1 $f8,0x438($sp) +/* f074808: 460a3001 */ sub.s $f0,$f6,$f10 +/* f07480c: c6460010 */ lwc1 $f6,0x10($s2) +/* f074810: 46064281 */ sub.s $f10,$f8,$f6 +/* f074814: 46000202 */ mul.s $f8,$f0,$f0 +/* f074818: 46045081 */ sub.s $f2,$f10,$f4 +/* f07481c: 46021182 */ mul.s $f6,$f2,$f2 +/* f074820: 0c012ae4 */ jal 0x4ab90 +/* f074824: 46064300 */ add.s $f12,$f8,$f6 +/* f074828: c7aa0418 */ lwc1 $f10,0x418($sp) +/* f07482c: c7a4041c */ lwc1 $f4,0x41c($sp) +/* f074830: 4600503c */ c.lt.s $f10,$f0 +/* f074834: 00000000 */ nop +/* f074838: 45020009 */ bc1fl .PB0f074860 +/* f07483c: 4600203c */ c.lt.s $f4,$f0 +/* f074840: e7b405a4 */ swc1 $f20,0x5a4($sp) +/* f074844: c7a005a4 */ lwc1 $f0,0x5a4($sp) +/* f074848: e7a0059c */ swc1 $f0,0x59c($sp) +/* f07484c: e6000004 */ swc1 $f0,0x4($s0) +/* f074850: e600000c */ swc1 $f0,0xc($s0) +/* f074854: 10000017 */ b .PB0f0748b4 +/* f074858: e60000dc */ swc1 $f0,0xdc($s0) +/* f07485c: 4600203c */ c.lt.s $f4,$f0 +.PB0f074860: +/* f074860: c7a80418 */ lwc1 $f8,0x418($sp) +/* f074864: 3c017f1b */ lui $at,0x7f1b +/* f074868: 45020013 */ bc1fl .PB0f0748b8 +/* f07486c: 4406a000 */ mfc1 $a2,$f20 +/* f074870: 46004181 */ sub.s $f6,$f8,$f0 +/* f074874: c42ac0cc */ lwc1 $f10,-0x3f34($at) +/* f074878: c6040004 */ lwc1 $f4,0x4($s0) +/* f07487c: 460a3082 */ mul.s $f2,$f6,$f10 +/* f074880: c606000c */ lwc1 $f6,0xc($s0) +/* f074884: 46022202 */ mul.s $f8,$f4,$f2 +/* f074888: 00000000 */ nop +/* f07488c: 46023282 */ mul.s $f10,$f6,$f2 +/* f074890: e6080004 */ swc1 $f8,0x4($s0) +/* f074894: e60a000c */ swc1 $f10,0xc($s0) +/* f074898: c7a4059c */ lwc1 $f4,0x59c($sp) +/* f07489c: c7a605a4 */ lwc1 $f6,0x5a4($sp) +/* f0748a0: 46022202 */ mul.s $f8,$f4,$f2 +/* f0748a4: 00000000 */ nop +/* f0748a8: 46023282 */ mul.s $f10,$f6,$f2 +/* f0748ac: e7a8059c */ swc1 $f8,0x59c($sp) +/* f0748b0: e7aa05a4 */ swc1 $f10,0x5a4($sp) +.PB0f0748b4: +/* f0748b4: 4406a000 */ mfc1 $a2,$f20 +.PB0f0748b8: +/* f0748b8: 02202025 */ move $a0,$s1 +/* f0748bc: 27a5059c */ addiu $a1,$sp,0x59c +/* f0748c0: 0fc1c8c6 */ jal 0xf072318 +/* f0748c4: 24070001 */ li $a3,0x1 +/* f0748c8: 144000c2 */ bnez $v0,.PB0f074bd4 +/* f0748cc: afa20600 */ sw $v0,0x600($sp) +/* f0748d0: 4406a000 */ mfc1 $a2,$f20 +/* f0748d4: 02202025 */ move $a0,$s1 +/* f0748d8: 0fc1ca6a */ jal 0xf0729a8 +/* f0748dc: 27a5059c */ addiu $a1,$sp,0x59c +/* f0748e0: c604008c */ lwc1 $f4,0x8c($s0) +/* f0748e4: c6080004 */ lwc1 $f8,0x4($s0) +/* f0748e8: e7b40594 */ swc1 $f20,0x594($sp) +/* f0748ec: 46040402 */ mul.s $f16,$f0,$f4 +/* f0748f0: 46004187 */ neg.s $f6,$f8 +/* f0748f4: 3c01800a */ lui $at,0x800a +/* f0748f8: c422e51c */ lwc1 $f2,-0x1ae4($at) +/* f0748fc: 8fb90088 */ lw $t9,0x88($sp) +/* f074900: 46103282 */ mul.s $f10,$f6,$f16 +/* f074904: e7aa0590 */ swc1 $f10,0x590($sp) +/* f074908: c604000c */ lwc1 $f4,0xc($s0) +/* f07490c: e7b405a0 */ swc1 $f20,0x5a0($sp) +/* f074910: 46002207 */ neg.s $f8,$f4 +/* f074914: 46104182 */ mul.s $f6,$f8,$f16 +/* f074918: 00000000 */ nop +/* f07491c: 46025102 */ mul.s $f4,$f10,$f2 +/* f074920: c7aa0430 */ lwc1 $f10,0x430($sp) +/* f074924: 46023202 */ mul.s $f8,$f6,$f2 +/* f074928: e7a60598 */ swc1 $f6,0x598($sp) +/* f07492c: e7a4059c */ swc1 $f4,0x59c($sp) +/* f074930: 1320002f */ beqz $t9,.PB0f0749f0 +/* f074934: e7a805a4 */ swc1 $f8,0x5a4($sp) +/* f074938: c6460008 */ lwc1 $f6,0x8($s2) +/* f07493c: 46065281 */ sub.s $f10,$f10,$f6 +/* f074940: c7a60438 */ lwc1 $f6,0x438($sp) +/* f074944: 46045001 */ sub.s $f0,$f10,$f4 +/* f074948: c64a0010 */ lwc1 $f10,0x10($s2) +/* f07494c: 460a3101 */ sub.s $f4,$f6,$f10 +/* f074950: 46000182 */ mul.s $f6,$f0,$f0 +/* f074954: 46082081 */ sub.s $f2,$f4,$f8 +/* f074958: 46021282 */ mul.s $f10,$f2,$f2 +/* f07495c: 0c012ae4 */ jal 0x4ab90 +/* f074960: 460a3300 */ add.s $f12,$f6,$f10 +/* f074964: c7a40418 */ lwc1 $f4,0x418($sp) +/* f074968: c7a8041c */ lwc1 $f8,0x41c($sp) +/* f07496c: 4600203c */ c.lt.s $f4,$f0 +/* f074970: 00000000 */ nop +/* f074974: 45020009 */ bc1fl .PB0f07499c +/* f074978: 4600403c */ c.lt.s $f8,$f0 +/* f07497c: e7b405a4 */ swc1 $f20,0x5a4($sp) +/* f074980: c7a005a4 */ lwc1 $f0,0x5a4($sp) +/* f074984: e7a0059c */ swc1 $f0,0x59c($sp) +/* f074988: e6000004 */ swc1 $f0,0x4($s0) +/* f07498c: e600000c */ swc1 $f0,0xc($s0) +/* f074990: 10000017 */ b .PB0f0749f0 +/* f074994: e60000dc */ swc1 $f0,0xdc($s0) +/* f074998: 4600403c */ c.lt.s $f8,$f0 +.PB0f07499c: +/* f07499c: c7a60418 */ lwc1 $f6,0x418($sp) +/* f0749a0: 3c017f1b */ lui $at,0x7f1b +/* f0749a4: 45020013 */ bc1fl .PB0f0749f4 +/* f0749a8: 4406a000 */ mfc1 $a2,$f20 +/* f0749ac: 46003281 */ sub.s $f10,$f6,$f0 +/* f0749b0: c424c0d0 */ lwc1 $f4,-0x3f30($at) +/* f0749b4: c6080004 */ lwc1 $f8,0x4($s0) +/* f0749b8: 46045082 */ mul.s $f2,$f10,$f4 +/* f0749bc: c60a000c */ lwc1 $f10,0xc($s0) +/* f0749c0: 46024182 */ mul.s $f6,$f8,$f2 +/* f0749c4: 00000000 */ nop +/* f0749c8: 46025102 */ mul.s $f4,$f10,$f2 +/* f0749cc: e6060004 */ swc1 $f6,0x4($s0) +/* f0749d0: e604000c */ swc1 $f4,0xc($s0) +/* f0749d4: c7a8059c */ lwc1 $f8,0x59c($sp) +/* f0749d8: c7aa05a4 */ lwc1 $f10,0x5a4($sp) +/* f0749dc: 46024182 */ mul.s $f6,$f8,$f2 +/* f0749e0: 00000000 */ nop +/* f0749e4: 46025102 */ mul.s $f4,$f10,$f2 +/* f0749e8: e7a6059c */ swc1 $f6,0x59c($sp) +/* f0749ec: e7a405a4 */ swc1 $f4,0x5a4($sp) +.PB0f0749f0: +/* f0749f0: 4406a000 */ mfc1 $a2,$f20 +.PB0f0749f4: +/* f0749f4: 02202025 */ move $a0,$s1 +/* f0749f8: 27a5059c */ addiu $a1,$sp,0x59c +/* f0749fc: 0fc1c8c6 */ jal 0xf072318 +/* f074a00: 24070001 */ li $a3,0x1 +/* f074a04: 14400073 */ bnez $v0,.PB0f074bd4 +/* f074a08: afa20600 */ sw $v0,0x600($sp) +/* f074a0c: 4406a000 */ mfc1 $a2,$f20 +/* f074a10: 02202025 */ move $a0,$s1 +/* f074a14: 0fc1ca6a */ jal 0xf0729a8 +/* f074a18: 27a5059c */ addiu $a1,$sp,0x59c +/* f074a1c: c7ae03e8 */ lwc1 $f14,0x3e8($sp) +/* f074a20: c7b203dc */ lwc1 $f18,0x3dc($sp) +/* f074a24: c7a803f0 */ lwc1 $f8,0x3f0($sp) +/* f074a28: c7a603e4 */ lwc1 $f6,0x3e4($sp) +/* f074a2c: 46127032 */ c.eq.s $f14,$f18 +/* f074a30: c7aa03e4 */ lwc1 $f10,0x3e4($sp) +/* f074a34: c7a403f0 */ lwc1 $f4,0x3f0($sp) +/* f074a38: 45020006 */ bc1fl .PB0f074a54 +/* f074a3c: 46045081 */ sub.s $f2,$f10,$f4 +/* f074a40: 46064032 */ c.eq.s $f8,$f6 +/* f074a44: 00000000 */ nop +/* f074a48: 45030063 */ bc1tl .PB0f074bd8 +/* f074a4c: 8faa0600 */ lw $t2,0x600($sp) +/* f074a50: 46045081 */ sub.s $f2,$f10,$f4 +.PB0f074a54: +/* f074a54: 460e9001 */ sub.s $f0,$f18,$f14 +/* f074a58: 46021202 */ mul.s $f8,$f2,$f2 +/* f074a5c: e7a203a0 */ swc1 $f2,0x3a0($sp) +/* f074a60: 46000182 */ mul.s $f6,$f0,$f0 +/* f074a64: e7a00398 */ swc1 $f0,0x398($sp) +/* f074a68: 0c012ae4 */ jal 0x4ab90 +/* f074a6c: 46064300 */ add.s $f12,$f8,$f6 +/* f074a70: 3c013f80 */ lui $at,0x3f80 +/* f074a74: 44815000 */ mtc1 $at,$f10 +/* f074a78: c7a40398 */ lwc1 $f4,0x398($sp) +/* f074a7c: c7a603a0 */ lwc1 $f6,0x3a0($sp) +/* f074a80: 46005303 */ div.s $f12,$f10,$f0 +/* f074a84: 3c01800a */ lui $at,0x800a +/* f074a88: c422e51c */ lwc1 $f2,-0x1ae4($at) +/* f074a8c: 8fa90088 */ lw $t1,0x88($sp) +/* f074a90: 460c2202 */ mul.s $f8,$f4,$f12 +/* f074a94: 00000000 */ nop +/* f074a98: 460c3282 */ mul.s $f10,$f6,$f12 +/* f074a9c: e7a80398 */ swc1 $f8,0x398($sp) +/* f074aa0: e7aa03a0 */ swc1 $f10,0x3a0($sp) +/* f074aa4: c604000c */ lwc1 $f4,0xc($s0) +/* f074aa8: 46045182 */ mul.s $f6,$f10,$f4 +/* f074aac: c6040004 */ lwc1 $f4,0x4($s0) +/* f074ab0: e7b40594 */ swc1 $f20,0x594($sp) +/* f074ab4: e7b405a0 */ swc1 $f20,0x5a0($sp) +/* f074ab8: 46082102 */ mul.s $f4,$f4,$f8 +/* f074abc: 46043380 */ add.s $f14,$f6,$f4 +/* f074ac0: 460e4182 */ mul.s $f6,$f8,$f14 +/* f074ac4: 00000000 */ nop +/* f074ac8: 460e5102 */ mul.s $f4,$f10,$f14 +/* f074acc: 00000000 */ nop +/* f074ad0: 46023202 */ mul.s $f8,$f6,$f2 +/* f074ad4: e7a60590 */ swc1 $f6,0x590($sp) +/* f074ad8: c7a60430 */ lwc1 $f6,0x430($sp) +/* f074adc: 46022282 */ mul.s $f10,$f4,$f2 +/* f074ae0: e7a40598 */ swc1 $f4,0x598($sp) +/* f074ae4: e7a8059c */ swc1 $f8,0x59c($sp) +/* f074ae8: 1120002f */ beqz $t1,.PB0f074ba8 +/* f074aec: e7aa05a4 */ swc1 $f10,0x5a4($sp) +/* f074af0: c6440008 */ lwc1 $f4,0x8($s2) +/* f074af4: 46043181 */ sub.s $f6,$f6,$f4 +/* f074af8: c7a40438 */ lwc1 $f4,0x438($sp) +/* f074afc: 46083001 */ sub.s $f0,$f6,$f8 +/* f074b00: c6460010 */ lwc1 $f6,0x10($s2) +/* f074b04: 46062201 */ sub.s $f8,$f4,$f6 +/* f074b08: 46000102 */ mul.s $f4,$f0,$f0 +/* f074b0c: 460a4081 */ sub.s $f2,$f8,$f10 +/* f074b10: 46021182 */ mul.s $f6,$f2,$f2 +/* f074b14: 0c012ae4 */ jal 0x4ab90 +/* f074b18: 46062300 */ add.s $f12,$f4,$f6 +/* f074b1c: c7a80418 */ lwc1 $f8,0x418($sp) +/* f074b20: c7aa041c */ lwc1 $f10,0x41c($sp) +/* f074b24: 4600403c */ c.lt.s $f8,$f0 +/* f074b28: 00000000 */ nop +/* f074b2c: 45020009 */ bc1fl .PB0f074b54 +/* f074b30: 4600503c */ c.lt.s $f10,$f0 +/* f074b34: e7b405a4 */ swc1 $f20,0x5a4($sp) +/* f074b38: c7a005a4 */ lwc1 $f0,0x5a4($sp) +/* f074b3c: e7a0059c */ swc1 $f0,0x59c($sp) +/* f074b40: e6000004 */ swc1 $f0,0x4($s0) +/* f074b44: e600000c */ swc1 $f0,0xc($s0) +/* f074b48: 10000017 */ b .PB0f074ba8 +/* f074b4c: e60000dc */ swc1 $f0,0xdc($s0) +/* f074b50: 4600503c */ c.lt.s $f10,$f0 +.PB0f074b54: +/* f074b54: c7a40418 */ lwc1 $f4,0x418($sp) +/* f074b58: 3c017f1b */ lui $at,0x7f1b +/* f074b5c: 45020013 */ bc1fl .PB0f074bac +/* f074b60: 4406a000 */ mfc1 $a2,$f20 +/* f074b64: 46002181 */ sub.s $f6,$f4,$f0 +/* f074b68: c428c0d4 */ lwc1 $f8,-0x3f2c($at) +/* f074b6c: c60a0004 */ lwc1 $f10,0x4($s0) +/* f074b70: 46083082 */ mul.s $f2,$f6,$f8 +/* f074b74: c606000c */ lwc1 $f6,0xc($s0) +/* f074b78: 46025102 */ mul.s $f4,$f10,$f2 +/* f074b7c: 00000000 */ nop +/* f074b80: 46023202 */ mul.s $f8,$f6,$f2 +/* f074b84: e6040004 */ swc1 $f4,0x4($s0) +/* f074b88: e608000c */ swc1 $f8,0xc($s0) +/* f074b8c: c7aa059c */ lwc1 $f10,0x59c($sp) +/* f074b90: c7a605a4 */ lwc1 $f6,0x5a4($sp) +/* f074b94: 46025102 */ mul.s $f4,$f10,$f2 +/* f074b98: 00000000 */ nop +/* f074b9c: 46023202 */ mul.s $f8,$f6,$f2 +/* f074ba0: e7a4059c */ swc1 $f4,0x59c($sp) +/* f074ba4: e7a805a4 */ swc1 $f8,0x5a4($sp) +.PB0f074ba8: +/* f074ba8: 4406a000 */ mfc1 $a2,$f20 +.PB0f074bac: +/* f074bac: 02202025 */ move $a0,$s1 +/* f074bb0: 27a5059c */ addiu $a1,$sp,0x59c +/* f074bb4: 0fc1c8c6 */ jal 0xf072318 +/* f074bb8: 24070001 */ li $a3,0x1 +/* f074bbc: 14400005 */ bnez $v0,.PB0f074bd4 +/* f074bc0: afa20600 */ sw $v0,0x600($sp) +/* f074bc4: 4406a000 */ mfc1 $a2,$f20 +/* f074bc8: 02202025 */ move $a0,$s1 +/* f074bcc: 0fc1ca6a */ jal 0xf0729a8 +/* f074bd0: 27a5059c */ addiu $a1,$sp,0x59c +.PB0f074bd4: +/* f074bd4: 8faa0600 */ lw $t2,0x600($sp) +.PB0f074bd8: +/* f074bd8: 24010001 */ li $at,0x1 +/* f074bdc: c7aa0590 */ lwc1 $f10,0x590($sp) +/* f074be0: 55410007 */ bnel $t2,$at,.PB0f074c00 +/* f074be4: 8fab0600 */ lw $t3,0x600($sp) +/* f074be8: e60a0004 */ swc1 $f10,0x4($s0) +/* f074bec: c7a40594 */ lwc1 $f4,0x594($sp) +/* f074bf0: e6040008 */ swc1 $f4,0x8($s0) +/* f074bf4: c7a60598 */ lwc1 $f6,0x598($sp) +/* f074bf8: e606000c */ swc1 $f6,0xc($s0) +.PB0f074bfc: +/* f074bfc: 8fab0600 */ lw $t3,0x600($sp) +.PB0f074c00: +/* f074c00: 24010001 */ li $at,0x1 +/* f074c04: 51610005 */ beql $t3,$at,.PB0f074c1c +/* f074c08: 8e040088 */ lw $a0,0x88($s0) +/* f074c0c: e61400dc */ swc1 $f20,0xdc($s0) +/* f074c10: e614000c */ swc1 $f20,0xc($s0) +/* f074c14: e6140004 */ swc1 $f20,0x4($s0) +/* f074c18: 8e040088 */ lw $a0,0x88($s0) +.PB0f074c1c: +/* f074c1c: 50800004 */ beqzl $a0,.PB0f074c30 +/* f074c20: c6080004 */ lwc1 $f8,0x4($s0) +/* f074c24: 0fc190d6 */ jal 0xf064358 +/* f074c28: 24050001 */ li $a1,0x1 +/* f074c2c: c6080004 */ lwc1 $f8,0x4($s0) +.PB0f074c30: +/* f074c30: 4608a032 */ c.eq.s $f20,$f8 +/* f074c34: 00000000 */ nop +/* f074c38: 4502000e */ bc1fl .PB0f074c74 +/* f074c3c: 8fad0600 */ lw $t5,0x600($sp) +/* f074c40: c60a000c */ lwc1 $f10,0xc($s0) +/* f074c44: 460aa032 */ c.eq.s $f20,$f10 +/* f074c48: 00000000 */ nop +/* f074c4c: 45020009 */ bc1fl .PB0f074c74 +/* f074c50: 8fad0600 */ lw $t5,0x600($sp) +/* f074c54: c60400dc */ lwc1 $f4,0xdc($s0) +/* f074c58: 4604a032 */ c.eq.s $f20,$f4 +/* f074c5c: 00000000 */ nop +/* f074c60: 45020004 */ bc1fl .PB0f074c74 +/* f074c64: 8fad0600 */ lw $t5,0x600($sp) +/* f074c68: 0fc1ab86 */ jal 0xf06ae18 +/* f074c6c: 02202025 */ move $a0,$s1 +/* f074c70: 8fad0600 */ lw $t5,0x600($sp) +.PB0f074c74: +/* f074c74: 24010001 */ li $at,0x1 +/* f074c78: 8fa40070 */ lw $a0,0x70($sp) +/* f074c7c: 15a10012 */ bne $t5,$at,.PB0f074cc8 +/* f074c80: 3c054000 */ lui $a1,0x4000 +/* f074c84: 26460028 */ addiu $a2,$s2,0x28 +/* f074c88: 26270058 */ addiu $a3,$s1,0x58 +/* f074c8c: 0c00aa3c */ jal 0x2a8f0 +/* f074c90: afa00010 */ sw $zero,0x10($sp) +/* f074c94: 3c017f1b */ lui $at,0x7f1b +/* f074c98: c426c0d8 */ lwc1 $f6,-0x3f28($at) +/* f074c9c: 46000086 */ mov.s $f2,$f0 +/* f074ca0: 02202025 */ move $a0,$s1 +/* f074ca4: 4600303c */ c.lt.s $f6,$f0 +/* f074ca8: 00000000 */ nop +/* f074cac: 45020007 */ bc1fl .PB0f074ccc +/* f074cb0: 02202025 */ move $a0,$s1 +/* f074cb4: 0fc1c54e */ jal 0xf071538 +/* f074cb8: e7a20584 */ swc1 $f2,0x584($sp) +/* f074cbc: c7a20584 */ lwc1 $f2,0x584($sp) +/* f074cc0: 46020200 */ add.s $f8,$f0,$f2 +/* f074cc4: e648000c */ swc1 $f8,0xc($s2) +.PB0f074cc8: +/* f074cc8: 02202025 */ move $a0,$s1 +.PB0f074ccc: +/* f074ccc: 00002825 */ move $a1,$zero +/* f074cd0: 0fc1a792 */ jal 0xf069e48 +/* f074cd4: 24060001 */ li $a2,0x1 +/* f074cd8: 27b00484 */ addiu $s0,$sp,0x484 +/* f074cdc: 02002825 */ move $a1,$s0 +/* f074ce0: 0c0059e9 */ jal 0x167a4 +/* f074ce4: 8fa40074 */ lw $a0,0x74($sp) +/* f074ce8: 8fa40070 */ lw $a0,0x70($sp) +/* f074cec: 0c005a09 */ jal 0x16824 +/* f074cf0: 02002825 */ move $a1,$s0 +/* f074cf4: 27b104c4 */ addiu $s1,$sp,0x4c4 +/* f074cf8: 02202825 */ move $a1,$s1 +/* f074cfc: 0c005f50 */ jal 0x17d40 +/* f074d00: 27a40504 */ addiu $a0,$sp,0x504 +/* f074d04: 02002025 */ move $a0,$s0 +/* f074d08: 02202825 */ move $a1,$s1 +/* f074d0c: 0c005914 */ jal 0x16450 +/* f074d10: 27a60544 */ addiu $a2,$sp,0x544 +/* f074d14: 02402025 */ move $a0,$s2 +/* f074d18: 0fc1cd27 */ jal 0xf07349c +/* f074d1c: 27a50544 */ addiu $a1,$sp,0x544 +/* f074d20: 240c0001 */ li $t4,0x1 +/* f074d24: 100008f5 */ b .PB0f0770fc +/* f074d28: afac05d8 */ sw $t4,0x5d8($sp) +.PB0f074d2c: +/* f074d2c: 11c007c2 */ beqz $t6,.PB0f076c38 +/* f074d30: 304c0400 */ andi $t4,$v0,0x400 +/* f074d34: afa00354 */ sw $zero,0x354($sp) +/* f074d38: afa00350 */ sw $zero,0x350($sp) +/* f074d3c: afa0034c */ sw $zero,0x34c($sp) +/* f074d40: 8e0f00d0 */ lw $t7,0xd0($s0) +/* f074d44: 8c780034 */ lw $t8,0x34($v1) +/* f074d48: 30494000 */ andi $t1,$v0,0x4000 +/* f074d4c: 01f8c821 */ addu $t9,$t7,$t8 +/* f074d50: 15200003 */ bnez $t1,.PB0f074d60 +/* f074d54: ae1900d0 */ sw $t9,0xd0($s0) +/* f074d58: 2b211f41 */ slti $at,$t9,0x1f41 +/* f074d5c: 10200021 */ beqz $at,.PB0f074de4 +.PB0f074d60: +/* f074d60: 3c017f1b */ lui $at,0x7f1b +/* f074d64: c42ac0dc */ lwc1 $f10,-0x3f24($at) +/* f074d68: c640000c */ lwc1 $f0,0xc($s2) +/* f074d6c: 3c0146fa */ lui $at,0x46fa +/* f074d70: 460a003c */ c.lt.s $f0,$f10 +/* f074d74: 00000000 */ nop +/* f074d78: 4503001b */ bc1tl .PB0f074de8 +/* f074d7c: 8e2b0040 */ lw $t3,0x40($s1) +/* f074d80: 44811000 */ mtc1 $at,$f2 +/* f074d84: 3c01c6fa */ lui $at,0xc6fa +/* f074d88: 4600103c */ c.lt.s $f2,$f0 +/* f074d8c: 00000000 */ nop +/* f074d90: 45030015 */ bc1tl .PB0f074de8 +/* f074d94: 8e2b0040 */ lw $t3,0x40($s1) +/* f074d98: 44816000 */ mtc1 $at,$f12 +/* f074d9c: c6400008 */ lwc1 $f0,0x8($s2) +/* f074da0: 460c003c */ c.lt.s $f0,$f12 +/* f074da4: 00000000 */ nop +/* f074da8: 4503000f */ bc1tl .PB0f074de8 +/* f074dac: 8e2b0040 */ lw $t3,0x40($s1) +/* f074db0: 4600103c */ c.lt.s $f2,$f0 +/* f074db4: 00000000 */ nop +/* f074db8: 4503000b */ bc1tl .PB0f074de8 +/* f074dbc: 8e2b0040 */ lw $t3,0x40($s1) +/* f074dc0: c6400010 */ lwc1 $f0,0x10($s2) +/* f074dc4: 460c003c */ c.lt.s $f0,$f12 +/* f074dc8: 00000000 */ nop +/* f074dcc: 45030006 */ bc1tl .PB0f074de8 +/* f074dd0: 8e2b0040 */ lw $t3,0x40($s1) +/* f074dd4: 4600103c */ c.lt.s $f2,$f0 +/* f074dd8: 00000000 */ nop +/* f074ddc: 45020005 */ bc1fl .PB0f074df4 +/* f074de0: 8e0c00a0 */ lw $t4,0xa0($s0) +.PB0f074de4: +/* f074de4: 8e2b0040 */ lw $t3,0x40($s1) +.PB0f074de8: +/* f074de8: 356d0004 */ ori $t5,$t3,0x4 +/* f074dec: ae2d0040 */ sw $t5,0x40($s1) +/* f074df0: 8e0c00a0 */ lw $t4,0xa0($s0) +.PB0f074df4: +/* f074df4: 8c6e0034 */ lw $t6,0x34($v1) +/* f074df8: 2624001c */ addiu $a0,$s1,0x1c +/* f074dfc: 27a50358 */ addiu $a1,$sp,0x358 +/* f074e00: 018e7821 */ addu $t7,$t4,$t6 +/* f074e04: ae0f00a0 */ sw $t7,0xa0($s0) +/* f074e08: 0c0059ca */ jal 0x16728 +/* f074e0c: afa40074 */ sw $a0,0x74($sp) +/* f074e10: 8e180000 */ lw $t8,0x0($s0) +/* f074e14: 3c017f1b */ lui $at,0x7f1b +/* f074e18: 33190020 */ andi $t9,$t8,0x20 +/* f074e1c: 5320004b */ beqzl $t9,.PB0f074f4c +/* f074e20: 922c0003 */ lbu $t4,0x3($s1) +/* f074e24: c430c0e0 */ lwc1 $f16,-0x3f20($at) +/* f074e28: c600001c */ lwc1 $f0,0x1c($s0) +/* f074e2c: 3c03800a */ lui $v1,0x800a +/* f074e30: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f074e34: 4610003c */ c.lt.s $f0,$f16 +/* f074e38: 00000000 */ nop +/* f074e3c: 4502001b */ bc1fl .PB0f074eac +/* f074e40: c60000a8 */ lwc1 $f0,0xa8($s0) +/* f074e44: c6040014 */ lwc1 $f4,0x14($s0) +/* f074e48: c466004c */ lwc1 $f6,0x4c($v1) +/* f074e4c: c60a00ac */ lwc1 $f10,0xac($s0) +/* f074e50: 3c017f1b */ lui $at,0x7f1b +/* f074e54: 46062202 */ mul.s $f8,$f4,$f6 +/* f074e58: 46085100 */ add.s $f4,$f10,$f8 +/* f074e5c: e60400ac */ swc1 $f4,0xac($s0) +/* f074e60: c46a004c */ lwc1 $f10,0x4c($v1) +/* f074e64: c60600ac */ lwc1 $f6,0xac($s0) +/* f074e68: c60400a8 */ lwc1 $f4,0xa8($s0) +/* f074e6c: 460a3202 */ mul.s $f8,$f6,$f10 +/* f074e70: 46082180 */ add.s $f6,$f4,$f8 +/* f074e74: e60600a8 */ swc1 $f6,0xa8($s0) +/* f074e78: c464004c */ lwc1 $f4,0x4c($v1) +/* f074e7c: c42ac0e4 */ lwc1 $f10,-0x3f1c($at) +/* f074e80: 46045202 */ mul.s $f8,$f10,$f4 +/* f074e84: 46080180 */ add.s $f6,$f0,$f8 +/* f074e88: e606001c */ swc1 $f6,0x1c($s0) +/* f074e8c: c60a001c */ lwc1 $f10,0x1c($s0) +/* f074e90: 460a803c */ c.lt.s $f16,$f10 +/* f074e94: 00000000 */ nop +/* f074e98: 4502002c */ bc1fl .PB0f074f4c +/* f074e9c: 922c0003 */ lbu $t4,0x3($s1) +/* f074ea0: 10000029 */ b .PB0f074f48 +/* f074ea4: e610001c */ swc1 $f16,0x1c($s0) +/* f074ea8: c60000a8 */ lwc1 $f0,0xa8($s0) +.PB0f074eac: +/* f074eac: c7a405e0 */ lwc1 $f4,0x5e0($sp) +/* f074eb0: 4600203c */ c.lt.s $f4,$f0 +/* f074eb4: 00000000 */ nop +/* f074eb8: 45000018 */ bc1f .PB0f074f1c +/* f074ebc: 3c01800a */ lui $at,0x800a +/* f074ec0: c426e51c */ lwc1 $f6,-0x1ae4($at) +/* f074ec4: c6080014 */ lwc1 $f8,0x14($s0) +/* f074ec8: c60400ac */ lwc1 $f4,0xac($s0) +/* f074ecc: 46064282 */ mul.s $f10,$f8,$f6 +/* f074ed0: 460a2200 */ add.s $f8,$f4,$f10 +/* f074ed4: e60800ac */ swc1 $f8,0xac($s0) +/* f074ed8: c424e51c */ lwc1 $f4,-0x1ae4($at) +/* f074edc: c60600ac */ lwc1 $f6,0xac($s0) +/* f074ee0: 3c017f1b */ lui $at,0x7f1b +/* f074ee4: 46043282 */ mul.s $f10,$f6,$f4 +/* f074ee8: 460a0200 */ add.s $f8,$f0,$f10 +/* f074eec: e60800a8 */ swc1 $f8,0xa8($s0) +/* f074ef0: c7a405e0 */ lwc1 $f4,0x5e0($sp) +/* f074ef4: c60600a8 */ lwc1 $f6,0xa8($s0) +/* f074ef8: c428c0e8 */ lwc1 $f8,-0x3f18($at) +/* f074efc: 3c01800a */ lui $at,0x800a +/* f074f00: 46043281 */ sub.s $f10,$f6,$f4 +/* f074f04: 460a4182 */ mul.s $f6,$f8,$f10 +/* f074f08: c428e51c */ lwc1 $f8,-0x1ae4($at) +/* f074f0c: 46083282 */ mul.s $f10,$f6,$f8 +/* f074f10: 460a2180 */ add.s $f6,$f4,$f10 +/* f074f14: 1000000c */ b .PB0f074f48 +/* f074f18: e7a605e0 */ swc1 $f6,0x5e0($sp) +.PB0f074f1c: +/* f074f1c: e7a005e0 */ swc1 $f0,0x5e0($sp) +/* f074f20: 8e090000 */ lw $t1,0x0($s0) +/* f074f24: 2401ffdf */ li $at,-33 +/* f074f28: 4480a000 */ mtc1 $zero,$f20 +/* f074f2c: c60800ac */ lwc1 $f8,0xac($s0) +/* f074f30: 01215024 */ and $t2,$t1,$at +/* f074f34: ae0a0000 */ sw $t2,0x0($s0) +/* f074f38: 354d0010 */ ori $t5,$t2,0x10 +/* f074f3c: ae0d0000 */ sw $t5,0x0($s0) +/* f074f40: e6080008 */ swc1 $f8,0x8($s0) +/* f074f44: e614001c */ swc1 $f20,0x1c($s0) +.PB0f074f48: +/* f074f48: 922c0003 */ lbu $t4,0x3($s1) +.PB0f074f4c: +/* f074f4c: 4480a000 */ mtc1 $zero,$f20 +/* f074f50: 24010008 */ li $at,0x8 +/* f074f54: 15810006 */ bne $t4,$at,.PB0f074f70 +/* f074f58: 00001025 */ move $v0,$zero +/* f074f5c: 922e005c */ lbu $t6,0x5c($s1) +/* f074f60: 24010054 */ li $at,0x54 +/* f074f64: 15c10002 */ bne $t6,$at,.PB0f074f70 +/* f074f68: 00000000 */ nop +/* f074f6c: 24020001 */ li $v0,0x1 +.PB0f074f70: +/* f074f70: 10400129 */ beqz $v0,.PB0f075418 +/* f074f74: 3c188007 */ lui $t8,0x8007 +/* f074f78: 2718b264 */ addiu $t8,$t8,-19868 +/* f074f7c: 8f010000 */ lw $at,0x0($t8) +/* f074f80: 27af02f8 */ addiu $t7,$sp,0x2f8 +/* f074f84: 8f090004 */ lw $t1,0x4($t8) +/* f074f88: ade10000 */ sw $at,0x0($t7) +/* f074f8c: 8f010008 */ lw $at,0x8($t8) +/* f074f90: 3c0b8007 */ lui $t3,0x8007 +/* f074f94: 256bb270 */ addiu $t3,$t3,-19856 +/* f074f98: ade90004 */ sw $t1,0x4($t7) +/* f074f9c: ade10008 */ sw $at,0x8($t7) +/* f074fa0: 8d610000 */ lw $at,0x0($t3) +/* f074fa4: 27aa02ec */ addiu $t2,$sp,0x2ec +/* f074fa8: 8d6c0004 */ lw $t4,0x4($t3) +/* f074fac: ad410000 */ sw $at,0x0($t2) +/* f074fb0: 8d610008 */ lw $at,0x8($t3) +/* f074fb4: 3c198007 */ lui $t9,0x8007 +/* f074fb8: 2739b27c */ addiu $t9,$t9,-19844 +/* f074fbc: ad4c0004 */ sw $t4,0x4($t2) +/* f074fc0: ad410008 */ sw $at,0x8($t2) +/* f074fc4: 8f210000 */ lw $at,0x0($t9) +/* f074fc8: 27ae02e0 */ addiu $t6,$sp,0x2e0 +/* f074fcc: 8f380004 */ lw $t8,0x4($t9) +/* f074fd0: adc10000 */ sw $at,0x0($t6) +/* f074fd4: 8f210008 */ lw $at,0x8($t9) +/* f074fd8: add80004 */ sw $t8,0x4($t6) +/* f074fdc: 1220010e */ beqz $s1,.PB0f075418 +/* f074fe0: adc10008 */ sw $at,0x8($t6) +/* f074fe4: 8e290014 */ lw $t1,0x14($s1) +/* f074fe8: 5120010c */ beqzl $t1,.PB0f07541c +/* f074fec: 8e020000 */ lw $v0,0x0($s0) +/* f074ff0: 8e0d00e8 */ lw $t5,0xe8($s0) +/* f074ff4: 51a00109 */ beqzl $t5,.PB0f07541c +/* f074ff8: 8e020000 */ lw $v0,0x0($s0) +/* f074ffc: c622001c */ lwc1 $f2,0x1c($s1) +/* f075000: c62e0028 */ lwc1 $f14,0x28($s1) +/* f075004: c6200034 */ lwc1 $f0,0x34($s1) +/* f075008: 46021102 */ mul.s $f4,$f2,$f2 +/* f07500c: 00000000 */ nop +/* f075010: 460e7282 */ mul.s $f10,$f14,$f14 +/* f075014: 460a2180 */ add.s $f6,$f4,$f10 +/* f075018: 46000202 */ mul.s $f8,$f0,$f0 +/* f07501c: 0c012ae4 */ jal 0x4ab90 +/* f075020: 46064300 */ add.s $f12,$f8,$f6 +/* f075024: 27a402a0 */ addiu $a0,$sp,0x2a0 +/* f075028: 0c005900 */ jal 0x16400 +/* f07502c: e7a0029c */ swc1 $f0,0x29c($sp) +/* f075030: c7ae029c */ lwc1 $f14,0x29c($sp) +/* f075034: c624001c */ lwc1 $f4,0x1c($s1) +/* f075038: 27a40290 */ addiu $a0,$sp,0x290 +/* f07503c: 27a50294 */ addiu $a1,$sp,0x294 +/* f075040: 460e2283 */ div.s $f10,$f4,$f14 +/* f075044: 27a60298 */ addiu $a2,$sp,0x298 +/* f075048: e7aa02a0 */ swc1 $f10,0x2a0($sp) +/* f07504c: c6280020 */ lwc1 $f8,0x20($s1) +/* f075050: 460e4183 */ div.s $f6,$f8,$f14 +/* f075054: e7a602a4 */ swc1 $f6,0x2a4($sp) +/* f075058: c6240024 */ lwc1 $f4,0x24($s1) +/* f07505c: 460e2283 */ div.s $f10,$f4,$f14 +/* f075060: e7aa02a8 */ swc1 $f10,0x2a8($sp) +/* f075064: c6280028 */ lwc1 $f8,0x28($s1) +/* f075068: 460e4183 */ div.s $f6,$f8,$f14 +/* f07506c: e7a602b0 */ swc1 $f6,0x2b0($sp) +/* f075070: c624002c */ lwc1 $f4,0x2c($s1) +/* f075074: 460e2283 */ div.s $f10,$f4,$f14 +/* f075078: e7aa02b4 */ swc1 $f10,0x2b4($sp) +/* f07507c: c6280030 */ lwc1 $f8,0x30($s1) +/* f075080: 460e4183 */ div.s $f6,$f8,$f14 +/* f075084: e7a602b8 */ swc1 $f6,0x2b8($sp) +/* f075088: c6240034 */ lwc1 $f4,0x34($s1) +/* f07508c: 460e2283 */ div.s $f10,$f4,$f14 +/* f075090: e7aa02c0 */ swc1 $f10,0x2c0($sp) +/* f075094: c6280038 */ lwc1 $f8,0x38($s1) +/* f075098: 460e4183 */ div.s $f6,$f8,$f14 +/* f07509c: e7a602c4 */ swc1 $f6,0x2c4($sp) +/* f0750a0: c624003c */ lwc1 $f4,0x3c($s1) +/* f0750a4: 460e2283 */ div.s $f10,$f4,$f14 +/* f0750a8: e7aa02c8 */ swc1 $f10,0x2c8($sp) +/* f0750ac: 8e2a0014 */ lw $t2,0x14($s1) +/* f0750b0: c5480008 */ lwc1 $f8,0x8($t2) +/* f0750b4: e7a802f8 */ swc1 $f8,0x2f8($sp) +/* f0750b8: 8e2b0014 */ lw $t3,0x14($s1) +/* f0750bc: c7a802f8 */ lwc1 $f8,0x2f8($sp) +/* f0750c0: c566000c */ lwc1 $f6,0xc($t3) +/* f0750c4: e7a602fc */ swc1 $f6,0x2fc($sp) +/* f0750c8: 8e2c0014 */ lw $t4,0x14($s1) +/* f0750cc: c5840010 */ lwc1 $f4,0x10($t4) +/* f0750d0: e7a40300 */ swc1 $f4,0x300($sp) +/* f0750d4: 8e0f00e8 */ lw $t7,0xe8($s0) +/* f0750d8: c5ea0008 */ lwc1 $f10,0x8($t7) +/* f0750dc: 46085181 */ sub.s $f6,$f10,$f8 +/* f0750e0: c7aa02fc */ lwc1 $f10,0x2fc($sp) +/* f0750e4: e7a60290 */ swc1 $f6,0x290($sp) +/* f0750e8: 8e0e00e8 */ lw $t6,0xe8($s0) +/* f0750ec: c5c4000c */ lwc1 $f4,0xc($t6) +/* f0750f0: 460a2201 */ sub.s $f8,$f4,$f10 +/* f0750f4: c7a40300 */ lwc1 $f4,0x300($sp) +/* f0750f8: e7a80294 */ swc1 $f8,0x294($sp) +/* f0750fc: 8e1900e8 */ lw $t9,0xe8($s0) +/* f075100: c7260010 */ lwc1 $f6,0x10($t9) +/* f075104: e7ae029c */ swc1 $f14,0x29c($sp) +/* f075108: 46043281 */ sub.s $f10,$f6,$f4 +/* f07510c: 0c0011d8 */ jal 0x4760 +/* f075110: e7aa0298 */ swc1 $f10,0x298($sp) +/* f075114: c6080004 */ lwc1 $f8,0x4($s0) +/* f075118: 27a402ec */ addiu $a0,$sp,0x2ec +/* f07511c: 27a502f0 */ addiu $a1,$sp,0x2f0 +/* f075120: e7a802ec */ swc1 $f8,0x2ec($sp) +/* f075124: c6060008 */ lwc1 $f6,0x8($s0) +/* f075128: 27a602f4 */ addiu $a2,$sp,0x2f4 +/* f07512c: e7a602f0 */ swc1 $f6,0x2f0($sp) +/* f075130: c604000c */ lwc1 $f4,0xc($s0) +/* f075134: 0c0011d8 */ jal 0x4760 +/* f075138: e7a402f4 */ swc1 $f4,0x2f4($sp) +/* f07513c: c7aa0298 */ lwc1 $f10,0x298($sp) +/* f075140: c7a802f4 */ lwc1 $f8,0x2f4($sp) +/* f075144: c7b00290 */ lwc1 $f16,0x290($sp) +/* f075148: c7a402ec */ lwc1 $f4,0x2ec($sp) +/* f07514c: 46085182 */ mul.s $f6,$f10,$f8 +/* f075150: c7b20294 */ lwc1 $f18,0x294($sp) +/* f075154: c7a802f0 */ lwc1 $f8,0x2f0($sp) +/* f075158: 46102282 */ mul.s $f10,$f4,$f16 +/* f07515c: 00000000 */ nop +/* f075160: 46124102 */ mul.s $f4,$f8,$f18 +/* f075164: 46045200 */ add.s $f8,$f10,$f4 +/* f075168: 0fc25a10 */ jal 0xf096840 +/* f07516c: 46083300 */ add.s $f12,$f6,$f8 +/* f075170: 3c017f1b */ lui $at,0x7f1b +/* f075174: c42ac0f0 */ lwc1 $f10,-0x3f10($at) +/* f075178: 3c047f1b */ lui $a0,0x7f1b +/* f07517c: c7ae029c */ lwc1 $f14,0x29c($sp) +/* f075180: 4600503c */ c.lt.s $f10,$f0 +/* f075184: e7a0028c */ swc1 $f0,0x28c($sp) +/* f075188: 3c017f1b */ lui $at,0x7f1b +/* f07518c: 2484bcc4 */ addiu $a0,$a0,-17212 +/* f075190: 45010005 */ bc1t .PB0f0751a8 +/* f075194: 3c058007 */ lui $a1,0x8007 +/* f075198: c424c0f4 */ lwc1 $f4,-0x3f0c($at) +/* f07519c: 4604003c */ c.lt.s $f0,$f4 +/* f0751a0: 00000000 */ nop +/* f0751a4: 4500009c */ bc1f .PB0f075418 +.PB0f0751a8: +/* f0751a8: 24a5b294 */ addiu $a1,$a1,-19820 +/* f0751ac: 0c003648 */ jal 0xd920 +/* f0751b0: e7ae029c */ swc1 $f14,0x29c($sp) +/* f0751b4: 3c047f1b */ lui $a0,0x7f1b +/* f0751b8: 3c058007 */ lui $a1,0x8007 +/* f0751bc: 24a5b298 */ addiu $a1,$a1,-19816 +/* f0751c0: 0c003648 */ jal 0xd920 +/* f0751c4: 2484bcc8 */ addiu $a0,$a0,-17208 +/* f0751c8: 3c047f1b */ lui $a0,0x7f1b +/* f0751cc: 3c058007 */ lui $a1,0x8007 +/* f0751d0: 24a5b29c */ addiu $a1,$a1,-19812 +/* f0751d4: 0c003648 */ jal 0xd920 +/* f0751d8: 2484bccc */ addiu $a0,$a0,-17204 +/* f0751dc: 3c188007 */ lui $t8,0x8007 +/* f0751e0: 8f18b298 */ lw $t8,-0x4d68($t8) +/* f0751e4: 3c01800a */ lui $at,0x800a +/* f0751e8: c7b00290 */ lwc1 $f16,0x290($sp) +/* f0751ec: 44983000 */ mtc1 $t8,$f6 +/* f0751f0: c7b20294 */ lwc1 $f18,0x294($sp) +/* f0751f4: c422e51c */ lwc1 $f2,-0x1ae4($at) +/* f0751f8: 07010005 */ bgez $t8,.PB0f075210 +/* f0751fc: 46803220 */ cvt.s.w $f8,$f6 +/* f075200: 3c014f80 */ lui $at,0x4f80 +/* f075204: 44815000 */ mtc1 $at,$f10 +/* f075208: 00000000 */ nop +/* f07520c: 460a4200 */ add.s $f8,$f8,$f10 +.PB0f075210: +/* f075210: 3c0142c8 */ lui $at,0x42c8 +/* f075214: 44812000 */ mtc1 $at,$f4 +/* f075218: 3c018007 */ lui $at,0x8007 +/* f07521c: c42ab290 */ lwc1 $f10,-0x4d70($at) +/* f075220: 46044183 */ div.s $f6,$f8,$f4 +/* f075224: 3c098007 */ lui $t1,0x8007 +/* f075228: 8d29b29c */ lw $t1,-0x4d64($t1) +/* f07522c: 460a3202 */ mul.s $f8,$f6,$f10 +/* f075230: 44893000 */ mtc1 $t1,$f6 +/* f075234: 00000000 */ nop +/* f075238: 468032a0 */ cvt.s.w $f10,$f6 +/* f07523c: 05210005 */ bgez $t1,.PB0f075254 +/* f075240: 46024103 */ div.s $f4,$f8,$f2 +/* f075244: 3c014f80 */ lui $at,0x4f80 +/* f075248: 44814000 */ mtc1 $at,$f8 +/* f07524c: 00000000 */ nop +/* f075250: 46085280 */ add.s $f10,$f10,$f8 +.PB0f075254: +/* f075254: 3c0142c8 */ lui $at,0x42c8 +/* f075258: 44813000 */ mtc1 $at,$f6 +/* f07525c: 3c0d8007 */ lui $t5,0x8007 +/* f075260: 8dadb294 */ lw $t5,-0x4d6c($t5) +/* f075264: 46065203 */ div.s $f8,$f10,$f6 +/* f075268: c7aa028c */ lwc1 $f10,0x28c($sp) +/* f07526c: 3c014f80 */ lui $at,0x4f80 +/* f075270: 460a4182 */ mul.s $f6,$f8,$f10 +/* f075274: 00000000 */ nop +/* f075278: 46023202 */ mul.s $f8,$f6,$f2 +/* f07527c: 46082180 */ add.s $f6,$f4,$f8 +/* f075280: 448d2000 */ mtc1 $t5,$f4 +/* f075284: 05a10004 */ bgez $t5,.PB0f075298 +/* f075288: 46802220 */ cvt.s.w $f8,$f4 +/* f07528c: 44812000 */ mtc1 $at,$f4 +/* f075290: 00000000 */ nop +/* f075294: 46044200 */ add.s $f8,$f8,$f4 +.PB0f075298: +/* f075298: 3c0142c8 */ lui $at,0x42c8 +/* f07529c: 44812000 */ mtc1 $at,$f4 +/* f0752a0: 3c018007 */ lui $at,0x8007 +/* f0752a4: e42ab290 */ swc1 $f10,-0x4d70($at) +/* f0752a8: 46044203 */ div.s $f8,$f8,$f4 +/* f0752ac: c7a402f0 */ lwc1 $f4,0x2f0($sp) +/* f0752b0: c7aa02f4 */ lwc1 $f10,0x2f4($sp) +/* f0752b4: 3c013f00 */ lui $at,0x3f00 +/* f0752b8: 46083002 */ mul.s $f0,$f6,$f8 +/* f0752bc: c7a60298 */ lwc1 $f6,0x298($sp) +/* f0752c0: 46062202 */ mul.s $f8,$f4,$f6 +/* f0752c4: 00000000 */ nop +/* f0752c8: 460a9182 */ mul.s $f6,$f18,$f10 +/* f0752cc: 46064281 */ sub.s $f10,$f8,$f6 +/* f0752d0: c7a60298 */ lwc1 $f6,0x298($sp) +/* f0752d4: c7a802ec */ lwc1 $f8,0x2ec($sp) +/* f0752d8: e7aa0280 */ swc1 $f10,0x280($sp) +/* f0752dc: 46064282 */ mul.s $f10,$f8,$f6 +/* f0752e0: c7a802f4 */ lwc1 $f8,0x2f4($sp) +/* f0752e4: 46088182 */ mul.s $f6,$f16,$f8 +/* f0752e8: 46065201 */ sub.s $f8,$f10,$f6 +/* f0752ec: c7a602ec */ lwc1 $f6,0x2ec($sp) +/* f0752f0: 46004287 */ neg.s $f10,$f8 +/* f0752f4: 46123202 */ mul.s $f8,$f6,$f18 +/* f0752f8: e7aa0284 */ swc1 $f10,0x284($sp) +/* f0752fc: 46048282 */ mul.s $f10,$f16,$f4 +/* f075300: 44812000 */ mtc1 $at,$f4 +/* f075304: 00000000 */ nop +/* f075308: 46040302 */ mul.s $f12,$f0,$f4 +/* f07530c: 460a4181 */ sub.s $f6,$f8,$f10 +/* f075310: e7ac0078 */ swc1 $f12,0x78($sp) +/* f075314: 0c006b88 */ jal 0x1ae20 +/* f075318: e7a60288 */ swc1 $f6,0x288($sp) +/* f07531c: e7a00260 */ swc1 $f0,0x260($sp) +/* f075320: 0c006b8b */ jal 0x1ae2c +/* f075324: c7ac0078 */ lwc1 $f12,0x78($sp) +/* f075328: c7a80280 */ lwc1 $f8,0x280($sp) +/* f07532c: c7ac0078 */ lwc1 $f12,0x78($sp) +/* f075330: 46080282 */ mul.s $f10,$f0,$f8 +/* f075334: 0c006b8b */ jal 0x1ae2c +/* f075338: e7aa0264 */ swc1 $f10,0x264($sp) +/* f07533c: c7a60284 */ lwc1 $f6,0x284($sp) +/* f075340: c7ac0078 */ lwc1 $f12,0x78($sp) +/* f075344: 46060102 */ mul.s $f4,$f0,$f6 +/* f075348: 0c006b8b */ jal 0x1ae2c +/* f07534c: e7a40268 */ swc1 $f4,0x268($sp) +/* f075350: c7a80288 */ lwc1 $f8,0x288($sp) +/* f075354: 27a40260 */ addiu $a0,$sp,0x260 +/* f075358: 27a5020c */ addiu $a1,$sp,0x20c +/* f07535c: 46080282 */ mul.s $f10,$f0,$f8 +/* f075360: 0fc25b51 */ jal 0xf096d44 +/* f075364: e7aa026c */ swc1 $f10,0x26c($sp) +/* f075368: e6140018 */ swc1 $f20,0x18($s0) +/* f07536c: e6140014 */ swc1 $f20,0x14($s0) +/* f075370: e6140010 */ swc1 $f20,0x10($s0) +/* f075374: 27a4020c */ addiu $a0,$sp,0x20c +/* f075378: 0c005958 */ jal 0x16560 +/* f07537c: 26050004 */ addiu $a1,$s0,0x4 +/* f075380: 27a402a0 */ addiu $a0,$sp,0x2a0 +/* f075384: 0fc25bad */ jal 0xf096eb4 +/* f075388: 27a50270 */ addiu $a1,$sp,0x270 +/* f07538c: 27a40270 */ addiu $a0,$sp,0x270 +/* f075390: 27a50260 */ addiu $a1,$sp,0x260 +/* f075394: 0fc25d6a */ jal 0xf0975a8 +/* f075398: 27a60250 */ addiu $a2,$sp,0x250 +/* f07539c: 27a40250 */ addiu $a0,$sp,0x250 +/* f0753a0: 0fc25b51 */ jal 0xf096d44 +/* f0753a4: 27a5020c */ addiu $a1,$sp,0x20c +/* f0753a8: c7ae029c */ lwc1 $f14,0x29c($sp) +/* f0753ac: c7a6020c */ lwc1 $f6,0x20c($sp) +/* f0753b0: 460e3102 */ mul.s $f4,$f6,$f14 +/* f0753b4: e624001c */ swc1 $f4,0x1c($s1) +/* f0753b8: c7a80210 */ lwc1 $f8,0x210($sp) +/* f0753bc: 460e4282 */ mul.s $f10,$f8,$f14 +/* f0753c0: e62a0020 */ swc1 $f10,0x20($s1) +/* f0753c4: c7a60214 */ lwc1 $f6,0x214($sp) +/* f0753c8: 460e3102 */ mul.s $f4,$f6,$f14 +/* f0753cc: e6240024 */ swc1 $f4,0x24($s1) +/* f0753d0: c7a8021c */ lwc1 $f8,0x21c($sp) +/* f0753d4: 460e4282 */ mul.s $f10,$f8,$f14 +/* f0753d8: e62a0028 */ swc1 $f10,0x28($s1) +/* f0753dc: c7a60220 */ lwc1 $f6,0x220($sp) +/* f0753e0: 460e3102 */ mul.s $f4,$f6,$f14 +/* f0753e4: e624002c */ swc1 $f4,0x2c($s1) +/* f0753e8: c7a80224 */ lwc1 $f8,0x224($sp) +/* f0753ec: 460e4282 */ mul.s $f10,$f8,$f14 +/* f0753f0: e62a0030 */ swc1 $f10,0x30($s1) +/* f0753f4: c7a6022c */ lwc1 $f6,0x22c($sp) +/* f0753f8: 460e3102 */ mul.s $f4,$f6,$f14 +/* f0753fc: e6240034 */ swc1 $f4,0x34($s1) +/* f075400: c7a80230 */ lwc1 $f8,0x230($sp) +/* f075404: 460e4282 */ mul.s $f10,$f8,$f14 +/* f075408: e62a0038 */ swc1 $f10,0x38($s1) +/* f07540c: c7a60234 */ lwc1 $f6,0x234($sp) +/* f075410: 460e3102 */ mul.s $f4,$f6,$f14 +/* f075414: e624003c */ swc1 $f4,0x3c($s1) +.PB0f075418: +/* f075418: 8e020000 */ lw $v0,0x0($s0) +.PB0f07541c: +/* f07541c: 3c03800a */ lui $v1,0x800a +/* f075420: 2463e4d0 */ addiu $v1,$v1,-6960 +/* f075424: 3c017f1b */ lui $at,0x7f1b +/* f075428: 304a0010 */ andi $t2,$v0,0x10 +/* f07542c: c430c0f8 */ lwc1 $f16,-0x3f08($at) +/* f075430: c462004c */ lwc1 $f2,0x4c($v1) +/* f075434: c600001c */ lwc1 $f0,0x1c($s0) +/* f075438: 1540001e */ bnez $t2,.PB0f0754b4 +/* f07543c: c60c0014 */ lwc1 $f12,0x14($s0) +/* f075440: 46006280 */ add.s $f10,$f12,$f0 +/* f075444: c6080008 */ lwc1 $f8,0x8($s0) +/* f075448: 00025840 */ sll $t3,$v0,0x1 +/* f07544c: 3c017f1b */ lui $at,0x7f1b +/* f075450: 46025182 */ mul.s $f6,$f10,$f2 +/* f075454: 46064100 */ add.s $f4,$f8,$f6 +/* f075458: 05610007 */ bgez $t3,.PB0f075478 +/* f07545c: e6040008 */ swc1 $f4,0x8($s0) +/* f075460: c462004c */ lwc1 $f2,0x4c($v1) +/* f075464: c42ac0fc */ lwc1 $f10,-0x3f04($at) +/* f075468: c60c0008 */ lwc1 $f12,0x8($s0) +/* f07546c: 46025202 */ mul.s $f8,$f10,$f2 +/* f075470: 10000005 */ b .PB0f075488 +/* f075474: 46086001 */ sub.s $f0,$f12,$f8 +.PB0f075478: +/* f075478: c462004c */ lwc1 $f2,0x4c($v1) +/* f07547c: c60c0008 */ lwc1 $f12,0x8($s0) +/* f075480: 46028182 */ mul.s $f6,$f16,$f2 +/* f075484: 46066001 */ sub.s $f0,$f12,$f6 +.PB0f075488: +/* f075488: 46006100 */ add.s $f4,$f12,$f0 +/* f07548c: 3c013f00 */ lui $at,0x3f00 +/* f075490: 44814000 */ mtc1 $at,$f8 +/* f075494: 46041282 */ mul.s $f10,$f2,$f4 +/* f075498: c7a405e0 */ lwc1 $f4,0x5e0($sp) +/* f07549c: 46085182 */ mul.s $f6,$f10,$f8 +/* f0754a0: 46062280 */ add.s $f10,$f4,$f6 +/* f0754a4: e7aa05e0 */ swc1 $f10,0x5e0($sp) +/* f0754a8: e6000008 */ swc1 $f0,0x8($s0) +/* f0754ac: 1000000c */ b .PB0f0754e0 +/* f0754b0: c462004c */ lwc1 $f2,0x4c($v1) +.PB0f0754b4: +/* f0754b4: 46006100 */ add.s $f4,$f12,$f0 +/* f0754b8: c6080008 */ lwc1 $f8,0x8($s0) +/* f0754bc: 46022182 */ mul.s $f6,$f4,$f2 +/* f0754c0: 46064280 */ add.s $f10,$f8,$f6 +/* f0754c4: e60a0008 */ swc1 $f10,0x8($s0) +/* f0754c8: c6080008 */ lwc1 $f8,0x8($s0) +/* f0754cc: c462004c */ lwc1 $f2,0x4c($v1) +/* f0754d0: c7a405e0 */ lwc1 $f4,0x5e0($sp) +/* f0754d4: 46024182 */ mul.s $f6,$f8,$f2 +/* f0754d8: 46062280 */ add.s $f10,$f4,$f6 +/* f0754dc: e7aa05e0 */ swc1 $f10,0x5e0($sp) +.PB0f0754e0: +/* f0754e0: c6040010 */ lwc1 $f4,0x10($s0) +/* f0754e4: c6080004 */ lwc1 $f8,0x4($s0) +/* f0754e8: 27a5030c */ addiu $a1,$sp,0x30c +/* f0754ec: 46022182 */ mul.s $f6,$f4,$f2 +/* f0754f0: c6040018 */ lwc1 $f4,0x18($s0) +/* f0754f4: 46064280 */ add.s $f10,$f8,$f6 +/* f0754f8: e60a0004 */ swc1 $f10,0x4($s0) +/* f0754fc: c468004c */ lwc1 $f8,0x4c($v1) +/* f075500: c60a000c */ lwc1 $f10,0xc($s0) +/* f075504: 46082182 */ mul.s $f6,$f4,$f8 +/* f075508: 46065100 */ add.s $f4,$f10,$f6 +/* f07550c: c60a0004 */ lwc1 $f10,0x4($s0) +/* f075510: e604000c */ swc1 $f4,0xc($s0) +/* f075514: c462004c */ lwc1 $f2,0x4c($v1) +/* f075518: c7a805dc */ lwc1 $f8,0x5dc($sp) +/* f07551c: 8fa40074 */ lw $a0,0x74($sp) +/* f075520: 46025182 */ mul.s $f6,$f10,$f2 +/* f075524: c7aa05e4 */ lwc1 $f10,0x5e4($sp) +/* f075528: 46064100 */ add.s $f4,$f8,$f6 +/* f07552c: e7a405dc */ swc1 $f4,0x5dc($sp) +/* f075530: c608000c */ lwc1 $f8,0xc($s0) +/* f075534: 46024182 */ mul.s $f6,$f8,$f2 +/* f075538: 46065100 */ add.s $f4,$f10,$f6 +/* f07553c: 0c0059e9 */ jal 0x167a4 +/* f075540: e7a405e4 */ swc1 $f4,0x5e4($sp) +/* f075544: 26050020 */ addiu $a1,$s0,0x20 +/* f075548: 3c06800a */ lui $a2,0x800a +/* f07554c: 8cc6e504 */ lw $a2,-0x1afc($a2) +/* f075550: afa50064 */ sw $a1,0x64($sp) +/* f075554: 0fc25942 */ jal 0xf096508 +/* f075558: 27a4030c */ addiu $a0,$sp,0x30c +/* f07555c: 27a4030c */ addiu $a0,$sp,0x30c +/* f075560: 0c0059fc */ jal 0x167f0 +/* f075564: 8fa50074 */ lw $a1,0x74($sp) +/* f075568: c6480008 */ lwc1 $f8,0x8($s2) +/* f07556c: 26440028 */ addiu $a0,$s2,0x28 +/* f075570: 27a505b8 */ addiu $a1,$sp,0x5b8 +/* f075574: e7a805c8 */ swc1 $f8,0x5c8($sp) +/* f075578: c64a000c */ lwc1 $f10,0xc($s2) +/* f07557c: e7aa05cc */ swc1 $f10,0x5cc($sp) +/* f075580: c6460010 */ lwc1 $f6,0x10($s2) +/* f075584: afa4006c */ sw $a0,0x6c($sp) +/* f075588: 0fc19661 */ jal 0xf065984 +/* f07558c: e7a605d0 */ swc1 $f6,0x5d0($sp) +/* f075590: 8e040088 */ lw $a0,0x88($s0) +/* f075594: 50800004 */ beqzl $a0,.PB0f0755a8 +/* f075598: 8e0c0000 */ lw $t4,0x0($s0) +/* f07559c: 0fc190d6 */ jal 0xf064358 +/* f0755a0: 00002825 */ move $a1,$zero +/* f0755a4: 8e0c0000 */ lw $t4,0x0($s0) +.PB0f0755a8: +/* f0755a8: 318f0004 */ andi $t7,$t4,0x4 +/* f0755ac: 11e00007 */ beqz $t7,.PB0f0755cc +/* f0755b0: 02202025 */ move $a0,$s1 +/* f0755b4: 27a505dc */ addiu $a1,$sp,0x5dc +/* f0755b8: 27a605e8 */ addiu $a2,$sp,0x5e8 +/* f0755bc: 0fc1b3b6 */ jal 0xf06ced8 +/* f0755c0: 27a705f4 */ addiu $a3,$sp,0x5f4 +/* f0755c4: 10000007 */ b .PB0f0755e4 +/* f0755c8: afa20600 */ sw $v0,0x600($sp) +.PB0f0755cc: +/* f0755cc: 02202025 */ move $a0,$s1 +/* f0755d0: 27a505dc */ addiu $a1,$sp,0x5dc +/* f0755d4: 27a605e8 */ addiu $a2,$sp,0x5e8 +/* f0755d8: 0fc1b555 */ jal 0xf06d554 +/* f0755dc: 27a705f4 */ addiu $a3,$sp,0x5f4 +/* f0755e0: afa20600 */ sw $v0,0x600($sp) +.PB0f0755e4: +/* f0755e4: 8e040088 */ lw $a0,0x88($s0) +/* f0755e8: 50800004 */ beqzl $a0,.PB0f0755fc +/* f0755ec: 240e0001 */ li $t6,0x1 +/* f0755f0: 0fc190d6 */ jal 0xf064358 +/* f0755f4: 24050001 */ li $a1,0x1 +/* f0755f8: 240e0001 */ li $t6,0x1 +.PB0f0755fc: +/* f0755fc: afae05d8 */ sw $t6,0x5d8($sp) +/* f075600: 8e190000 */ lw $t9,0x0($s0) +/* f075604: 33380004 */ andi $t8,$t9,0x4 +/* f075608: 53000318 */ beqzl $t8,.PB0f07626c +/* f07560c: 8fae034c */ lw $t6,0x34c($sp) +/* f075610: 8fa90600 */ lw $t1,0x600($sp) +/* f075614: 3c038007 */ lui $v1,0x8007 +/* f075618: 552002da */ bnezl $t1,.PB0f076184 +/* f07561c: 8faa034c */ lw $t2,0x34c($sp) +/* f075620: 8c63b000 */ lw $v1,-0x5000($v1) +/* f075624: afa001f8 */ sw $zero,0x1f8($sp) +/* f075628: afa001f4 */ sw $zero,0x1f4($sp) +/* f07562c: 5060000a */ beqzl $v1,.PB0f075658 +/* f075630: 92220003 */ lbu $v0,0x3($s1) +/* f075634: afa301f4 */ sw $v1,0x1f4($sp) +/* f075638: 8c620018 */ lw $v0,0x18($v1) +/* f07563c: 10400005 */ beqz $v0,.PB0f075654 +/* f075640: 00401825 */ move $v1,$v0 +.PB0f075644: +/* f075644: 8c420018 */ lw $v0,0x18($v0) +/* f075648: 5440fffe */ bnezl $v0,.PB0f075644 +/* f07564c: 00401825 */ move $v1,$v0 +/* f075650: afa301f4 */ sw $v1,0x1f4($sp) +.PB0f075654: +/* f075654: 92220003 */ lbu $v0,0x3($s1) +.PB0f075658: +/* f075658: 2401000d */ li $at,0xd +/* f07565c: 8faa01f4 */ lw $t2,0x1f4($sp) +/* f075660: 54410006 */ bnel $v0,$at,.PB0f07567c +/* f075664: 24010008 */ li $at,0x8 +/* f075668: 15400030 */ bnez $t2,.PB0f07572c +/* f07566c: 240b0001 */ li $t3,0x1 +/* f075670: 1000002e */ b .PB0f07572c +/* f075674: afab01f8 */ sw $t3,0x1f8($sp) +/* f075678: 24010008 */ li $at,0x8 +.PB0f07567c: +/* f07567c: 5441002c */ bnel $v0,$at,.PB0f075730 +/* f075680: 8fb801f8 */ lw $t8,0x1f8($sp) +/* f075684: 9227005c */ lbu $a3,0x5c($s1) +/* f075688: 24010022 */ li $at,0x22 +/* f07568c: 10e10016 */ beq $a3,$at,.PB0f0756e8 +/* f075690: 24010020 */ li $at,0x20 +/* f075694: 10e10014 */ beq $a3,$at,.PB0f0756e8 +/* f075698: 24010021 */ li $at,0x21 +/* f07569c: 10e10012 */ beq $a3,$at,.PB0f0756e8 +/* f0756a0: 2401003d */ li $at,0x3d +/* f0756a4: 10e10010 */ beq $a3,$at,.PB0f0756e8 +/* f0756a8: 2401003e */ li $at,0x3e +/* f0756ac: 10e1000e */ beq $a3,$at,.PB0f0756e8 +/* f0756b0: 2401003f */ li $at,0x3f +/* f0756b4: 10e1000c */ beq $a3,$at,.PB0f0756e8 +/* f0756b8: 24010056 */ li $at,0x56 +/* f0756bc: 10e1000a */ beq $a3,$at,.PB0f0756e8 +/* f0756c0: 2401001a */ li $at,0x1a +/* f0756c4: 10e10008 */ beq $a3,$at,.PB0f0756e8 +/* f0756c8: 24010035 */ li $at,0x35 +/* f0756cc: 10e10006 */ beq $a3,$at,.PB0f0756e8 +/* f0756d0: 2624005c */ addiu $a0,$s1,0x5c +/* f0756d4: 0fc2c8ae */ jal 0xf0b22b8 +/* f0756d8: 24050100 */ li $a1,0x100 +/* f0756dc: 50400014 */ beqzl $v0,.PB0f075730 +/* f0756e0: 8fb801f8 */ lw $t8,0x1f8($sp) +/* f0756e4: 9227005c */ lbu $a3,0x5c($s1) +.PB0f0756e8: +/* f0756e8: 240c0001 */ li $t4,0x1 +/* f0756ec: 24010055 */ li $at,0x55 +/* f0756f0: 14e1000e */ bne $a3,$at,.PB0f07572c +/* f0756f4: afac01f8 */ sw $t4,0x1f8($sp) +/* f0756f8: 922f005f */ lbu $t7,0x5f($s1) +/* f0756fc: 24010001 */ li $at,0x1 +/* f075700: 55e1000b */ bnel $t7,$at,.PB0f075730 +/* f075704: 8fb801f8 */ lw $t8,0x1f8($sp) +/* f075708: 862e0062 */ lh $t6,0x62($s1) +/* f07570c: 24010001 */ li $at,0x1 +/* f075710: 24190190 */ li $t9,0x190 +/* f075714: 55c10005 */ bnel $t6,$at,.PB0f07572c +/* f075718: a6390062 */ sh $t9,0x62($s1) +/* f07571c: afa001f8 */ sw $zero,0x1f8($sp) +/* f075720: 10000002 */ b .PB0f07572c +/* f075724: a6200062 */ sh $zero,0x62($s1) +/* f075728: a6390062 */ sh $t9,0x62($s1) +.PB0f07572c: +/* f07572c: 8fb801f8 */ lw $t8,0x1f8($sp) +.PB0f075730: +/* f075730: 00004025 */ move $t0,$zero +/* f075734: 53000071 */ beqzl $t8,.PB0f0758fc +/* f075738: 8fae034c */ lw $t6,0x34c($sp) +/* f07573c: 92290003 */ lbu $t1,0x3($s1) +/* f075740: 3c038007 */ lui $v1,0x8007 +/* f075744: 24010008 */ li $at,0x8 +/* f075748: 15210002 */ bne $t1,$at,.PB0f075754 +/* f07574c: 8c63b000 */ lw $v1,-0x5000($v1) +/* f075750: 02204025 */ move $t0,$s1 +.PB0f075754: +/* f075754: 50600017 */ beqzl $v1,.PB0f0757b4 +/* f075758: 8faa01f4 */ lw $t2,0x1f4($sp) +/* f07575c: 90620000 */ lbu $v0,0x0($v1) +/* f075760: 24010001 */ li $at,0x1 +/* f075764: 10410005 */ beq $v0,$at,.PB0f07577c +/* f075768: 24010004 */ li $at,0x4 +/* f07576c: 10410003 */ beq $v0,$at,.PB0f07577c +/* f075770: 24010002 */ li $at,0x2 +/* f075774: 5441000f */ bnel $v0,$at,.PB0f0757b4 +/* f075778: 8faa01f4 */ lw $t2,0x1f4($sp) +.PB0f07577c: +/* f07577c: 1100000c */ beqz $t0,.PB0f0757b0 +/* f075780: 8c640004 */ lw $a0,0x4($v1) +/* f075784: 9102005c */ lbu $v0,0x5c($t0) +/* f075788: 24010056 */ li $at,0x56 +/* f07578c: 10410003 */ beq $v0,$at,.PB0f07579c +/* f075790: 2401001a */ li $at,0x1a +/* f075794: 54410007 */ bnel $v0,$at,.PB0f0757b4 +/* f075798: 8faa01f4 */ lw $t2,0x1f4($sp) +.PB0f07579c: +/* f07579c: 908d0003 */ lbu $t5,0x3($a0) +/* f0757a0: 24010008 */ li $at,0x8 +/* f0757a4: 55a10003 */ bnel $t5,$at,.PB0f0757b4 +/* f0757a8: 8faa01f4 */ lw $t2,0x1f4($sp) +/* f0757ac: afa001f8 */ sw $zero,0x1f8($sp) +.PB0f0757b0: +/* f0757b0: 8faa01f4 */ lw $t2,0x1f4($sp) +.PB0f0757b4: +/* f0757b4: 51400051 */ beqzl $t2,.PB0f0758fc +/* f0757b8: 8fae034c */ lw $t6,0x34c($sp) +/* f0757bc: 91420000 */ lbu $v0,0x0($t2) +/* f0757c0: 24010001 */ li $at,0x1 +/* f0757c4: 8fab01f4 */ lw $t3,0x1f4($sp) +/* f0757c8: 10410006 */ beq $v0,$at,.PB0f0757e4 +/* f0757cc: 3c098007 */ lui $t1,0x8007 +/* f0757d0: 24010004 */ li $at,0x4 +/* f0757d4: 10410003 */ beq $v0,$at,.PB0f0757e4 +/* f0757d8: 24010002 */ li $at,0x2 +/* f0757dc: 5441003a */ bnel $v0,$at,.PB0f0758c8 +/* f0757e0: 24010003 */ li $at,0x3 +.PB0f0757e4: +/* f0757e4: 8d630004 */ lw $v1,0x4($t3) +/* f0757e8: 8c6c0040 */ lw $t4,0x40($v1) +/* f0757ec: 318f0080 */ andi $t7,$t4,0x80 +/* f0757f0: 11e00007 */ beqz $t7,.PB0f075810 +/* f0757f4: 00000000 */ nop +/* f0757f8: 8c6e0048 */ lw $t6,0x48($v1) +/* f0757fc: 8dd90000 */ lw $t9,0x0($t6) +/* f075800: 33380800 */ andi $t8,$t9,0x800 +/* f075804: 17000002 */ bnez $t8,.PB0f075810 +/* f075808: 00000000 */ nop +/* f07580c: afa001f8 */ sw $zero,0x1f8($sp) +.PB0f075810: +/* f075810: 8d29b014 */ lw $t1,-0x4fec($t1) +/* f075814: 24012710 */ li $at,0x2710 +/* f075818: 15210002 */ bne $t1,$at,.PB0f075824 +/* f07581c: 00000000 */ nop +/* f075820: afa001f8 */ sw $zero,0x1f8($sp) +.PB0f075824: +/* f075824: 51000035 */ beqzl $t0,.PB0f0758fc +/* f075828: 8fae034c */ lw $t6,0x34c($sp) +/* f07582c: 9102005c */ lbu $v0,0x5c($t0) +/* f075830: 24010056 */ li $at,0x56 +/* f075834: 10410003 */ beq $v0,$at,.PB0f075844 +/* f075838: 2401001a */ li $at,0x1a +/* f07583c: 5441002f */ bnel $v0,$at,.PB0f0758fc +/* f075840: 8fae034c */ lw $t6,0x34c($sp) +.PB0f075844: +/* f075844: 90620003 */ lbu $v0,0x3($v1) +/* f075848: 2401002a */ li $at,0x2a +/* f07584c: 26440008 */ addiu $a0,$s2,0x8 +/* f075850: 10410003 */ beq $v0,$at,.PB0f075860 +/* f075854: 8fa5006c */ lw $a1,0x6c($sp) +/* f075858: 2401002f */ li $at,0x2f +/* f07585c: 14410026 */ bne $v0,$at,.PB0f0758f8 +.PB0f075860: +/* f075860: 2406ffff */ li $a2,-1 +/* f075864: afa301e4 */ sw $v1,0x1e4($sp) +/* f075868: afa40070 */ sw $a0,0x70($sp) +/* f07586c: 0fc2a1e8 */ jal 0xf0a87a0 +/* f075870: afa801ec */ sw $t0,0x1ec($sp) +/* f075874: 8fa401e4 */ lw $a0,0x1e4($sp) +/* f075878: 8fa801ec */ lw $t0,0x1ec($sp) +/* f07587c: 3c0542c8 */ lui $a1,0x42c8 +/* f075880: 8c8d000c */ lw $t5,0xc($a0) +/* f075884: 8fa60070 */ lw $a2,0x70($sp) +/* f075888: 3c0b800a */ lui $t3,0x800a +/* f07588c: 31aa4000 */ andi $t2,$t5,0x4000 +/* f075890: 5540001a */ bnezl $t2,.PB0f0758fc +/* f075894: 8fae034c */ lw $t6,0x34c($sp) +/* f075898: 8d6be75c */ lw $t3,-0x18a4($t3) +/* f07589c: 9107005c */ lbu $a3,0x5c($t0) +/* f0758a0: afa001f8 */ sw $zero,0x1f8($sp) +/* f0758a4: 0fc21504 */ jal 0xf085410 +/* f0758a8: afab0010 */ sw $t3,0x10($sp) +/* f0758ac: 8fa401f4 */ lw $a0,0x1f4($sp) +/* f0758b0: 0fc1c21c */ jal 0xf070870 +/* f0758b4: 00002825 */ move $a1,$zero +/* f0758b8: 240c0001 */ li $t4,0x1 +/* f0758bc: 1000000e */ b .PB0f0758f8 +/* f0758c0: afac034c */ sw $t4,0x34c($sp) +/* f0758c4: 24010003 */ li $at,0x3 +.PB0f0758c8: +/* f0758c8: 10410004 */ beq $v0,$at,.PB0f0758dc +/* f0758cc: 8faf01f4 */ lw $t7,0x1f4($sp) +/* f0758d0: 24010006 */ li $at,0x6 +/* f0758d4: 54410009 */ bnel $v0,$at,.PB0f0758fc +/* f0758d8: 8fae034c */ lw $t6,0x34c($sp) +.PB0f0758dc: +/* f0758dc: 0fc0d025 */ jal 0xf034094 +/* f0758e0: 8de40004 */ lw $a0,0x4($t7) +/* f0758e4: 4600a03c */ c.lt.s $f20,$f0 +/* f0758e8: 00000000 */ nop +/* f0758ec: 45020003 */ bc1fl .PB0f0758fc +/* f0758f0: 8fae034c */ lw $t6,0x34c($sp) +/* f0758f4: afa001f8 */ sw $zero,0x1f8($sp) +.PB0f0758f8: +/* f0758f8: 8fae034c */ lw $t6,0x34c($sp) +.PB0f0758fc: +/* f0758fc: 3c198007 */ lui $t9,0x8007 +/* f075900: 55c00163 */ bnezl $t6,.PB0f075e90 +/* f075904: 8faf034c */ lw $t7,0x34c($sp) +/* f075908: 8f39b000 */ lw $t9,-0x5000($t9) +/* f07590c: 1320015f */ beqz $t9,.PB0f075e8c +/* f075910: afb90068 */ sw $t9,0x68($sp) +/* f075914: 92380003 */ lbu $t8,0x3($s1) +/* f075918: 24010008 */ li $at,0x8 +/* f07591c: 5701015c */ bnel $t8,$at,.PB0f075e90 +/* f075920: 8faf034c */ lw $t7,0x34c($sp) +/* f075924: 9227005c */ lbu $a3,0x5c($s1) +/* f075928: 24010056 */ li $at,0x56 +/* f07592c: 8fa901f4 */ lw $t1,0x1f4($sp) +/* f075930: 10e10003 */ beq $a3,$at,.PB0f075940 +/* f075934: 2401001a */ li $at,0x1a +/* f075938: 54e100aa */ bnel $a3,$at,.PB0f075be4 +/* f07593c: 24010053 */ li $at,0x53 +.PB0f075940: +/* f075940: 91220000 */ lbu $v0,0x0($t1) +/* f075944: 24010003 */ li $at,0x3 +/* f075948: 10410006 */ beq $v0,$at,.PB0f075964 +/* f07594c: 24010006 */ li $at,0x6 +/* f075950: 54410072 */ bnel $v0,$at,.PB0f075b1c +/* f075954: 24010001 */ li $at,0x1 +/* f075958: 8d2d0004 */ lw $t5,0x4($t1) +/* f07595c: 51a0006f */ beqzl $t5,.PB0f075b1c +/* f075960: 24010001 */ li $at,0x1 +.PB0f075964: +/* f075964: 8e220048 */ lw $v0,0x48($s1) +/* f075968: 8faa01f4 */ lw $t2,0x1f4($sp) +/* f07596c: 8c4b0000 */ lw $t3,0x0($v0) +/* f075970: 8d440004 */ lw $a0,0x4($t2) +/* f075974: 316c0001 */ andi $t4,$t3,0x1 +/* f075978: 51800145 */ beqzl $t4,.PB0f075e90 +/* f07597c: 8faf034c */ lw $t7,0x34c($sp) +/* f075980: 8c4f0090 */ lw $t7,0x90($v0) +/* f075984: 2627005c */ addiu $a3,$s1,0x5c +/* f075988: 5de00141 */ bgtzl $t7,.PB0f075e90 +/* f07598c: 8faf034c */ lw $t7,0x34c($sp) +/* f075990: 8c4e0088 */ lw $t6,0x88($v0) +/* f075994: afa70070 */ sw $a3,0x70($sp) +/* f075998: afa401dc */ sw $a0,0x1dc($sp) +/* f07599c: 0fc0d025 */ jal 0xf034094 +/* f0759a0: afae01d4 */ sw $t6,0x1d4($sp) +/* f0759a4: 8fa40070 */ lw $a0,0x70($sp) +/* f0759a8: 0fc2c84e */ jal 0xf0b2138 +/* f0759ac: e7a001d8 */ swc1 $f0,0x1d8($sp) +/* f0759b0: 3c188007 */ lui $t8,0x8007 +/* f0759b4: 3c098007 */ lui $t1,0x8007 +/* f0759b8: 3c0d800a */ lui $t5,0x800a +/* f0759bc: 3c0a800a */ lui $t2,0x800a +/* f0759c0: 3c0b8007 */ lui $t3,0x8007 +/* f0759c4: 8d6bb008 */ lw $t3,-0x4ff8($t3) +/* f0759c8: 8d4a1390 */ lw $t2,0x1390($t2) +/* f0759cc: 8dad1394 */ lw $t5,0x1394($t5) +/* f0759d0: 8d29b000 */ lw $t1,-0x5000($t1) +/* f0759d4: 8f18b004 */ lw $t8,-0x4ffc($t8) +/* f0759d8: 8fb901d4 */ lw $t9,0x1d4($sp) +/* f0759dc: 3c0c8007 */ lui $t4,0x8007 +/* f0759e0: 258cb00c */ addiu $t4,$t4,-20468 +/* f0759e4: 44050000 */ mfc1 $a1,$f0 +/* f0759e8: 3c06800a */ lui $a2,0x800a +/* f0759ec: 24c61398 */ addiu $a2,$a2,0x1398 +/* f0759f0: afac0028 */ sw $t4,0x28($sp) +/* f0759f4: 8fa70070 */ lw $a3,0x70($sp) +/* f0759f8: 8fa401dc */ lw $a0,0x1dc($sp) +/* f0759fc: afab0024 */ sw $t3,0x24($sp) +/* f075a00: afaa0020 */ sw $t2,0x20($sp) +/* f075a04: afad001c */ sw $t5,0x1c($sp) +/* f075a08: afa90018 */ sw $t1,0x18($sp) +/* f075a0c: afb80014 */ sw $t8,0x14($sp) +/* f075a10: 0fc0d0b4 */ jal 0xf0342d0 +/* f075a14: afb90010 */ sw $t9,0x10($sp) +/* f075a18: c7a401d8 */ lwc1 $f4,0x1d8($sp) +/* f075a1c: 8faf01d4 */ lw $t7,0x1d4($sp) +/* f075a20: 3c058007 */ lui $a1,0x8007 +/* f075a24: 4614203e */ c.le.s $f4,$f20 +/* f075a28: 3c068007 */ lui $a2,0x8007 +/* f075a2c: 27a705e8 */ addiu $a3,$sp,0x5e8 +/* f075a30: 27b905f4 */ addiu $t9,$sp,0x5f4 +/* f075a34: 45020116 */ bc1fl .PB0f075e90 +/* f075a38: 8faf034c */ lw $t7,0x34c($sp) +/* f075a3c: 51e00005 */ beqzl $t7,.PB0f075a54 +/* f075a40: afa00088 */ sw $zero,0x88($sp) +/* f075a44: 8dee0004 */ lw $t6,0x4($t7) +/* f075a48: 10000002 */ b .PB0f075a54 +/* f075a4c: afae0088 */ sw $t6,0x88($sp) +/* f075a50: afa00088 */ sw $zero,0x88($sp) +.PB0f075a54: +/* f075a54: 8fb80088 */ lw $t8,0x88($sp) +/* f075a58: 8fa401dc */ lw $a0,0x1dc($sp) +/* f075a5c: 8ca5b000 */ lw $a1,-0x5000($a1) +/* f075a60: 8cc6b004 */ lw $a2,-0x4ffc($a2) +/* f075a64: afb90010 */ sw $t9,0x10($sp) +/* f075a68: 0fc097dd */ jal 0xf025f74 +/* f075a6c: afb80014 */ sw $t8,0x14($sp) +/* f075a70: 3c098007 */ lui $t1,0x8007 +/* f075a74: 8d29b000 */ lw $t1,-0x5000($t1) +/* f075a78: 3c04800a */ lui $a0,0x800a +/* f075a7c: 912d0001 */ lbu $t5,0x1($t1) +/* f075a80: 31aa0002 */ andi $t2,$t5,0x2 +/* f075a84: 51400102 */ beqzl $t2,.PB0f075e90 +/* f075a88: 8faf034c */ lw $t7,0x34c($sp) +/* f075a8c: 8c841390 */ lw $a0,0x1390($a0) +/* f075a90: 3c028007 */ lui $v0,0x8007 +/* f075a94: 508000fe */ beqzl $a0,.PB0f075e90 +/* f075a98: 8faf034c */ lw $t7,0x34c($sp) +/* f075a9c: 8c42b004 */ lw $v0,-0x4ffc($v0) +/* f075aa0: 24010064 */ li $at,0x64 +/* f075aa4: 104100f9 */ beq $v0,$at,.PB0f075e8c +/* f075aa8: 2401006e */ li $at,0x6e +/* f075aac: 104100f7 */ beq $v0,$at,.PB0f075e8c +/* f075ab0: 3c05800a */ lui $a1,0x800a +/* f075ab4: 8ca51394 */ lw $a1,0x1394($a1) +/* f075ab8: 0c006c07 */ jal 0x1b01c +/* f075abc: 00003025 */ move $a2,$zero +/* f075ac0: 0fc2d6c2 */ jal 0xf0b5b08 +/* f075ac4: afa20184 */ sw $v0,0x184($sp) +/* f075ac8: 00402025 */ move $a0,$v0 +/* f075acc: 27a505e8 */ addiu $a1,$sp,0x5e8 +/* f075ad0: 0c00596e */ jal 0x165b8 +/* f075ad4: 27a601c8 */ addiu $a2,$sp,0x1c8 +/* f075ad8: 8fa40184 */ lw $a0,0x184($sp) +/* f075adc: 0c005efb */ jal 0x17bec +/* f075ae0: 27a50188 */ addiu $a1,$sp,0x188 +/* f075ae4: 27a40188 */ addiu $a0,$sp,0x188 +/* f075ae8: 0c00596d */ jal 0x165b4 +/* f075aec: 27a501c8 */ addiu $a1,$sp,0x1c8 +/* f075af0: 3c04800a */ lui $a0,0x800a +/* f075af4: 3c058007 */ lui $a1,0x8007 +/* f075af8: 3c06800a */ lui $a2,0x800a +/* f075afc: 8cc61394 */ lw $a2,0x1394($a2) +/* f075b00: 8ca5b004 */ lw $a1,-0x4ffc($a1) +/* f075b04: 8c841390 */ lw $a0,0x1390($a0) +/* f075b08: 0fc09865 */ jal 0xf026194 +/* f075b0c: 27a701c8 */ addiu $a3,$sp,0x1c8 +/* f075b10: 100000df */ b .PB0f075e90 +/* f075b14: 8faf034c */ lw $t7,0x34c($sp) +/* f075b18: 24010001 */ li $at,0x1 +.PB0f075b1c: +/* f075b1c: 144100db */ bne $v0,$at,.PB0f075e8c +/* f075b20: 8fab01f4 */ lw $t3,0x1f4($sp) +/* f075b24: 3c0f8007 */ lui $t7,0x8007 +/* f075b28: 8defb014 */ lw $t7,-0x4fec($t7) +/* f075b2c: 8d6c0004 */ lw $t4,0x4($t3) +/* f075b30: 24012710 */ li $at,0x2710 +/* f075b34: 15e1001a */ bne $t7,$at,.PB0f075ba0 +/* f075b38: afac0180 */ sw $t4,0x180($sp) +/* f075b3c: 8d8e0010 */ lw $t6,0x10($t4) +/* f075b40: 8fa60068 */ lw $a2,0x68($sp) +/* f075b44: 8fa401f4 */ lw $a0,0x1f4($sp) +/* f075b48: 31d91000 */ andi $t9,$t6,0x1000 +/* f075b4c: 13200005 */ beqz $t9,.PB0f075b64 +/* f075b50: 3c07800a */ lui $a3,0x800a +/* f075b54: 3c014080 */ lui $at,0x4080 +/* f075b58: 44810000 */ mtc1 $at,$f0 +/* f075b5c: 10000004 */ b .PB0f075b70 +/* f075b60: 00000000 */ nop +.PB0f075b64: +/* f075b64: 3c014100 */ lui $at,0x4100 +/* f075b68: 44810000 */ mtc1 $at,$f0 +/* f075b6c: 00000000 */ nop +.PB0f075b70: +/* f075b70: 3c18800a */ lui $t8,0x800a +/* f075b74: 3c098007 */ lui $t1,0x8007 +/* f075b78: 8d29b008 */ lw $t1,-0x4ff8($t1) +/* f075b7c: 8f181390 */ lw $t8,0x1390($t8) +/* f075b80: 3c0d8007 */ lui $t5,0x8007 +/* f075b84: 25adb00c */ addiu $t5,$t5,-20468 +/* f075b88: 44050000 */ mfc1 $a1,$f0 +/* f075b8c: afad0018 */ sw $t5,0x18($sp) +/* f075b90: 8ce71394 */ lw $a3,0x1394($a3) +/* f075b94: afa90014 */ sw $t1,0x14($sp) +/* f075b98: 0fc0a413 */ jal 0xf02904c +/* f075b9c: afb80010 */ sw $t8,0x10($sp) +.PB0f075ba0: +/* f075ba0: 8faa0180 */ lw $t2,0x180($sp) +/* f075ba4: 2401014c */ li $at,0x14c +/* f075ba8: 3c0f8007 */ lui $t7,0x8007 +/* f075bac: 854b0004 */ lh $t3,0x4($t2) +/* f075bb0: 556100b7 */ bnel $t3,$at,.PB0f075e90 +/* f075bb4: 8faf034c */ lw $t7,0x34c($sp) +/* f075bb8: 8defb014 */ lw $t7,-0x4fec($t7) +/* f075bbc: 24010b9e */ li $at,0xb9e +/* f075bc0: 01402025 */ move $a0,$t2 +/* f075bc4: 55e100b2 */ bnel $t7,$at,.PB0f075e90 +/* f075bc8: 8faf034c */ lw $t7,0x34c($sp) +/* f075bcc: 4406a000 */ mfc1 $a2,$f20 +/* f075bd0: 0fc68a52 */ jal 0xf1a2948 +/* f075bd4: 27a505e8 */ addiu $a1,$sp,0x5e8 +/* f075bd8: 100000ad */ b .PB0f075e90 +/* f075bdc: 8faf034c */ lw $t7,0x34c($sp) +/* f075be0: 24010053 */ li $at,0x53 +.PB0f075be4: +/* f075be4: 10e10003 */ beq $a3,$at,.PB0f075bf4 +/* f075be8: 24010054 */ li $at,0x54 +/* f075bec: 14e1006b */ bne $a3,$at,.PB0f075d9c +/* f075bf0: 8fa901f4 */ lw $t1,0x1f4($sp) +.PB0f075bf4: +/* f075bf4: 8e2c0040 */ lw $t4,0x40($s1) +/* f075bf8: 3c01f000 */ lui $at,0xf000 +/* f075bfc: 8fb80068 */ lw $t8,0x68($sp) +/* f075c00: 01817024 */ and $t6,$t4,$at +/* f075c04: 000ecf02 */ srl $t9,$t6,0x1c +/* f075c08: afb9017c */ sw $t9,0x17c($sp) +/* f075c0c: 93020000 */ lbu $v0,0x0($t8) +/* f075c10: 24010003 */ li $at,0x3 +/* f075c14: 24090001 */ li $t1,0x1 +/* f075c18: 10410006 */ beq $v0,$at,.PB0f075c34 +/* f075c1c: afa9034c */ sw $t1,0x34c($sp) +/* f075c20: 24010006 */ li $at,0x6 +/* f075c24: 5441002b */ bnel $v0,$at,.PB0f075cd4 +/* f075c28: 24010001 */ li $at,0x1 +/* f075c2c: 8f0d0004 */ lw $t5,0x4($t8) +/* f075c30: 11a00027 */ beqz $t5,.PB0f075cd0 +.PB0f075c34: +/* f075c34: 3c0b800a */ lui $t3,0x800a +/* f075c38: 8d6be7e8 */ lw $t3,-0x1818($t3) +/* f075c3c: 00001825 */ move $v1,$zero +/* f075c40: 2627005c */ addiu $a3,$s1,0x5c +/* f075c44: 11600008 */ beqz $t3,.PB0f075c68 +/* f075c48: 8fa4017c */ lw $a0,0x17c($sp) +/* f075c4c: afa00178 */ sw $zero,0x178($sp) +/* f075c50: 0fc63b03 */ jal 0xf18ec0c +/* f075c54: afa70070 */ sw $a3,0x70($sp) +/* f075c58: 8fa30178 */ lw $v1,0x178($sp) +/* f075c5c: 10400002 */ beqz $v0,.PB0f075c68 +/* f075c60: 8fa70070 */ lw $a3,0x70($sp) +/* f075c64: 8c43001c */ lw $v1,0x1c($v0) +.PB0f075c68: +/* f075c68: 3c028007 */ lui $v0,0x8007 +/* f075c6c: 8c42b000 */ lw $v0,-0x5000($v0) +/* f075c70: 3c0f8007 */ lui $t7,0x8007 +/* f075c74: 3c0a800a */ lui $t2,0x800a +/* f075c78: 8c440004 */ lw $a0,0x4($v0) +/* f075c7c: 3c0c800a */ lui $t4,0x800a +/* f075c80: 3c0e8007 */ lui $t6,0x8007 +/* f075c84: 8dceb008 */ lw $t6,-0x4ff8($t6) +/* f075c88: 8d8c1390 */ lw $t4,0x1390($t4) +/* f075c8c: 8d4a1394 */ lw $t2,0x1394($t2) +/* f075c90: 8defb004 */ lw $t7,-0x4ffc($t7) +/* f075c94: 3c198007 */ lui $t9,0x8007 +/* f075c98: 2739b00c */ addiu $t9,$t9,-20468 +/* f075c9c: 3c06800a */ lui $a2,0x800a +/* f075ca0: 24c61398 */ addiu $a2,$a2,0x1398 +/* f075ca4: afb90028 */ sw $t9,0x28($sp) +/* f075ca8: afa30010 */ sw $v1,0x10($sp) +/* f075cac: 3c054000 */ lui $a1,0x4000 +/* f075cb0: afa20018 */ sw $v0,0x18($sp) +/* f075cb4: afae0024 */ sw $t6,0x24($sp) +/* f075cb8: afac0020 */ sw $t4,0x20($sp) +/* f075cbc: afaa001c */ sw $t2,0x1c($sp) +/* f075cc0: 0fc0d0b4 */ jal 0xf0342d0 +/* f075cc4: afaf0014 */ sw $t7,0x14($sp) +/* f075cc8: 1000002f */ b .PB0f075d88 +/* f075ccc: 02202025 */ move $a0,$s1 +.PB0f075cd0: +/* f075cd0: 24010001 */ li $at,0x1 +.PB0f075cd4: +/* f075cd4: 10410003 */ beq $v0,$at,.PB0f075ce4 +/* f075cd8: 8fa60068 */ lw $a2,0x68($sp) +/* f075cdc: 24010004 */ li $at,0x4 +/* f075ce0: 14410028 */ bne $v0,$at,.PB0f075d84 +.PB0f075ce4: +/* f075ce4: 3c188007 */ lui $t8,0x8007 +/* f075ce8: 8f18b014 */ lw $t8,-0x4fec($t8) +/* f075cec: 26490008 */ addiu $t1,$s2,0x8 +/* f075cf0: afa90070 */ sw $t1,0x70($sp) +/* f075cf4: 24012710 */ li $at,0x2710 +/* f075cf8: 1701001d */ bne $t8,$at,.PB0f075d70 +/* f075cfc: 8cc40004 */ lw $a0,0x4($a2) +/* f075d00: 8c8d0010 */ lw $t5,0x10($a0) +/* f075d04: 8fa401f4 */ lw $a0,0x1f4($sp) +/* f075d08: 3c07800a */ lui $a3,0x800a +/* f075d0c: 31ab1000 */ andi $t3,$t5,0x1000 +/* f075d10: 11600005 */ beqz $t3,.PB0f075d28 +/* f075d14: 3c0f800a */ lui $t7,0x800a +/* f075d18: 3c014080 */ lui $at,0x4080 +/* f075d1c: 44810000 */ mtc1 $at,$f0 +/* f075d20: 10000004 */ b .PB0f075d34 +/* f075d24: 00000000 */ nop +.PB0f075d28: +/* f075d28: 3c014100 */ lui $at,0x4100 +/* f075d2c: 44810000 */ mtc1 $at,$f0 +/* f075d30: 00000000 */ nop +.PB0f075d34: +/* f075d34: 3c0a8007 */ lui $t2,0x8007 +/* f075d38: 8d4ab008 */ lw $t2,-0x4ff8($t2) +/* f075d3c: 8def1390 */ lw $t7,0x1390($t7) +/* f075d40: 3c0c8007 */ lui $t4,0x8007 +/* f075d44: 258cb00c */ addiu $t4,$t4,-20468 +/* f075d48: 44050000 */ mfc1 $a1,$f0 +/* f075d4c: afac0018 */ sw $t4,0x18($sp) +/* f075d50: 8ce71394 */ lw $a3,0x1394($a3) +/* f075d54: afaa0014 */ sw $t2,0x14($sp) +/* f075d58: 0fc0a413 */ jal 0xf02904c +/* f075d5c: afaf0010 */ sw $t7,0x10($sp) +/* f075d60: 3c0e8007 */ lui $t6,0x8007 +/* f075d64: 8dceb000 */ lw $t6,-0x5000($t6) +/* f075d68: 9227005c */ lbu $a3,0x5c($s1) +/* f075d6c: 8dc40004 */ lw $a0,0x4($t6) +.PB0f075d70: +/* f075d70: 8fb9017c */ lw $t9,0x17c($sp) +/* f075d74: 3c0542c8 */ lui $a1,0x42c8 +/* f075d78: 8fa60070 */ lw $a2,0x70($sp) +/* f075d7c: 0fc21513 */ jal 0xf08544c +/* f075d80: afb90010 */ sw $t9,0x10($sp) +.PB0f075d84: +/* f075d84: 02202025 */ move $a0,$s1 +.PB0f075d88: +/* f075d88: 24050001 */ li $a1,0x1 +/* f075d8c: 0fc1a792 */ jal 0xf069e48 +/* f075d90: 24060001 */ li $a2,0x1 +/* f075d94: 1000003d */ b .PB0f075e8c +/* f075d98: a6200062 */ sh $zero,0x62($s1) +.PB0f075d9c: +/* f075d9c: 91220000 */ lbu $v0,0x0($t1) +/* f075da0: 24010003 */ li $at,0x3 +/* f075da4: 8fa60068 */ lw $a2,0x68($sp) +/* f075da8: 10410006 */ beq $v0,$at,.PB0f075dc4 +/* f075dac: 8fad01f4 */ lw $t5,0x1f4($sp) +/* f075db0: 24010006 */ li $at,0x6 +/* f075db4: 54410012 */ bnel $v0,$at,.PB0f075e00 +/* f075db8: 24010001 */ li $at,0x1 +/* f075dbc: 8d380004 */ lw $t8,0x4($t1) +/* f075dc0: 1300000e */ beqz $t8,.PB0f075dfc +.PB0f075dc4: +/* f075dc4: 3c0b8007 */ lui $t3,0x8007 +/* f075dc8: 8d6bb008 */ lw $t3,-0x4ff8($t3) +/* f075dcc: 3c0f8007 */ lui $t7,0x8007 +/* f075dd0: 8da40004 */ lw $a0,0x4($t5) +/* f075dd4: 25efb00c */ addiu $t7,$t7,-20468 +/* f075dd8: 3c05800a */ lui $a1,0x800a +/* f075ddc: 3c07800a */ lui $a3,0x800a +/* f075de0: 8ce71390 */ lw $a3,0x1390($a3) +/* f075de4: 8ca51394 */ lw $a1,0x1394($a1) +/* f075de8: afaf0014 */ sw $t7,0x14($sp) +/* f075dec: 0fc0d05d */ jal 0xf034174 +/* f075df0: afab0010 */ sw $t3,0x10($sp) +/* f075df4: 10000026 */ b .PB0f075e90 +/* f075df8: 8faf034c */ lw $t7,0x34c($sp) +.PB0f075dfc: +/* f075dfc: 24010001 */ li $at,0x1 +.PB0f075e00: +/* f075e00: 10410004 */ beq $v0,$at,.PB0f075e14 +/* f075e04: 3c0a8007 */ lui $t2,0x8007 +/* f075e08: 24010004 */ li $at,0x4 +/* f075e0c: 54410020 */ bnel $v0,$at,.PB0f075e90 +/* f075e10: 8faf034c */ lw $t7,0x34c($sp) +.PB0f075e14: +/* f075e14: 8d4ab014 */ lw $t2,-0x4fec($t2) +/* f075e18: 24012710 */ li $at,0x2710 +/* f075e1c: 8fac01f4 */ lw $t4,0x1f4($sp) +/* f075e20: 1541001a */ bne $t2,$at,.PB0f075e8c +/* f075e24: 8fa60068 */ lw $a2,0x68($sp) +/* f075e28: 8d8e0004 */ lw $t6,0x4($t4) +/* f075e2c: 8fa401f4 */ lw $a0,0x1f4($sp) +/* f075e30: 3c07800a */ lui $a3,0x800a +/* f075e34: 8dd90010 */ lw $t9,0x10($t6) +/* f075e38: 3c18800a */ lui $t8,0x800a +/* f075e3c: 3c0d8007 */ lui $t5,0x8007 +/* f075e40: 33291000 */ andi $t1,$t9,0x1000 +/* f075e44: 11200005 */ beqz $t1,.PB0f075e5c +/* f075e48: 3c0b8007 */ lui $t3,0x8007 +/* f075e4c: 3c014080 */ lui $at,0x4080 +/* f075e50: 44810000 */ mtc1 $at,$f0 +/* f075e54: 10000004 */ b .PB0f075e68 +/* f075e58: 00000000 */ nop +.PB0f075e5c: +/* f075e5c: 3c014100 */ lui $at,0x4100 +/* f075e60: 44810000 */ mtc1 $at,$f0 +/* f075e64: 00000000 */ nop +.PB0f075e68: +/* f075e68: 8f181390 */ lw $t8,0x1390($t8) +/* f075e6c: 8dadb008 */ lw $t5,-0x4ff8($t5) +/* f075e70: 44050000 */ mfc1 $a1,$f0 +/* f075e74: 256bb00c */ addiu $t3,$t3,-20468 +/* f075e78: afab0018 */ sw $t3,0x18($sp) +/* f075e7c: 8ce71394 */ lw $a3,0x1394($a3) +/* f075e80: afb80010 */ sw $t8,0x10($sp) +/* f075e84: 0fc0a413 */ jal 0xf02904c +/* f075e88: afad0014 */ sw $t5,0x14($sp) +.PB0f075e8c: +/* f075e8c: 8faf034c */ lw $t7,0x34c($sp) +.PB0f075e90: +/* f075e90: 8faa01f8 */ lw $t2,0x1f8($sp) +/* f075e94: 55e000bb */ bnezl $t7,.PB0f076184 +/* f075e98: 8faa034c */ lw $t2,0x34c($sp) +/* f075e9c: 114000b8 */ beqz $t2,.PB0f076180 +/* f075ea0: 240c0001 */ li $t4,0x1 +/* f075ea4: afac034c */ sw $t4,0x34c($sp) +/* f075ea8: 02202025 */ move $a0,$s1 +/* f075eac: 24050001 */ li $a1,0x1 +/* f075eb0: 0fc1a792 */ jal 0xf069e48 +/* f075eb4: 24060001 */ li $a2,0x1 +/* f075eb8: 922e0003 */ lbu $t6,0x3($s1) +/* f075ebc: 24010008 */ li $at,0x8 +/* f075ec0: 55c100ab */ bnel $t6,$at,.PB0f076170 +/* f075ec4: 02402025 */ move $a0,$s2 +/* f075ec8: 9227005c */ lbu $a3,0x5c($s1) +/* f075ecc: 24010056 */ li $at,0x56 +/* f075ed0: 10e10003 */ beq $a3,$at,.PB0f075ee0 +/* f075ed4: 2401001a */ li $at,0x1a +/* f075ed8: 54e100a5 */ bnel $a3,$at,.PB0f076170 +/* f075edc: 02402025 */ move $a0,$s2 +.PB0f075ee0: +/* f075ee0: 8e390048 */ lw $t9,0x48($s1) +/* f075ee4: 8f240088 */ lw $a0,0x88($t9) +/* f075ee8: 5080006b */ beqzl $a0,.PB0f076098 +/* f075eec: 8fae01f4 */ lw $t6,0x1f4($sp) +/* f075ef0: 90890000 */ lbu $t1,0x0($a0) +/* f075ef4: 24010006 */ li $at,0x6 +/* f075ef8: 3c18800a */ lui $t8,0x800a +/* f075efc: 15210065 */ bne $t1,$at,.PB0f076094 +/* f075f00: 2627005c */ addiu $a3,$s1,0x5c +/* f075f04: 8f18e75c */ lw $t8,-0x18a4($t8) +/* f075f08: afa70070 */ sw $a3,0x70($sp) +/* f075f0c: 0fc4a797 */ jal 0xf129e5c +/* f075f10: afb80164 */ sw $t8,0x164($sp) +/* f075f14: 0fc4a783 */ jal 0xf129e0c +/* f075f18: 00402025 */ move $a0,$v0 +/* f075f1c: 8fa40070 */ lw $a0,0x70($sp) +/* f075f20: 0fc2c20c */ jal 0xf0b0830 +/* f075f24: 00002825 */ move $a1,$zero +/* f075f28: 3c058007 */ lui $a1,0x8007 +/* f075f2c: 8ca5b000 */ lw $a1,-0x5000($a1) +/* f075f30: 8fa70070 */ lw $a3,0x70($sp) +/* f075f34: 10a00055 */ beqz $a1,.PB0f07608c +/* f075f38: 00000000 */ nop +/* f075f3c: 90a20000 */ lbu $v0,0x0($a1) +/* f075f40: 24010001 */ li $at,0x1 +/* f075f44: 5441000c */ bnel $v0,$at,.PB0f075f78 +/* f075f48: 24010003 */ li $at,0x3 +/* f075f4c: 8ca40004 */ lw $a0,0x4($a1) +/* f075f50: 0fc21ad2 */ jal 0xf086b48 +/* f075f54: afa70070 */ sw $a3,0x70($sp) +/* f075f58: 1040004c */ beqz $v0,.PB0f07608c +/* f075f5c: 8fa70070 */ lw $a3,0x70($sp) +/* f075f60: 00e02025 */ move $a0,$a3 +/* f075f64: 0fc2c20c */ jal 0xf0b0830 +/* f075f68: 24050006 */ li $a1,0x6 +/* f075f6c: 10000047 */ b .PB0f07608c +/* f075f70: 00000000 */ nop +/* f075f74: 24010003 */ li $at,0x3 +.PB0f075f78: +/* f075f78: 10410003 */ beq $v0,$at,.PB0f075f88 +/* f075f7c: 24010006 */ li $at,0x6 +/* f075f80: 14410042 */ bne $v0,$at,.PB0f07608c +/* f075f84: 00000000 */ nop +.PB0f075f88: +/* f075f88: 8ca30004 */ lw $v1,0x4($a1) +/* f075f8c: 00003025 */ move $a2,$zero +/* f075f90: 00a02025 */ move $a0,$a1 +/* f075f94: 50600007 */ beqzl $v1,.PB0f075fb4 +/* f075f98: 24010006 */ li $at,0x6 +/* f075f9c: 806d0007 */ lb $t5,0x7($v1) +/* f075fa0: 24010005 */ li $at,0x5 +/* f075fa4: 55a10003 */ bnel $t5,$at,.PB0f075fb4 +/* f075fa8: 24010006 */ li $at,0x6 +/* f075fac: 24060001 */ li $a2,0x1 +/* f075fb0: 24010006 */ li $at,0x6 +.PB0f075fb4: +/* f075fb4: 1441000e */ bne $v0,$at,.PB0f075ff0 +/* f075fb8: 00000000 */ nop +/* f075fbc: afa6015c */ sw $a2,0x15c($sp) +/* f075fc0: 0fc4a797 */ jal 0xf129e5c +/* f075fc4: afa70070 */ sw $a3,0x70($sp) +/* f075fc8: 00025880 */ sll $t3,$v0,0x2 +/* f075fcc: 3c0f800a */ lui $t7,0x800a +/* f075fd0: 01eb7821 */ addu $t7,$t7,$t3 +/* f075fd4: 8defe534 */ lw $t7,-0x1acc($t7) +/* f075fd8: 8fa6015c */ lw $a2,0x15c($sp) +/* f075fdc: 8fa70070 */ lw $a3,0x70($sp) +/* f075fe0: 8dea00d8 */ lw $t2,0xd8($t7) +/* f075fe4: 11400002 */ beqz $t2,.PB0f075ff0 +/* f075fe8: 00000000 */ nop +/* f075fec: 24060001 */ li $a2,0x1 +.PB0f075ff0: +/* f075ff0: 14c00026 */ bnez $a2,.PB0f07608c +/* f075ff4: 3c0c8007 */ lui $t4,0x8007 +/* f075ff8: 8d8cb004 */ lw $t4,-0x4ffc($t4) +/* f075ffc: 24010007 */ li $at,0x7 +/* f076000: 11800022 */ beqz $t4,.PB0f07608c +/* f076004: afac0088 */ sw $t4,0x88($sp) +/* f076008: 1181001a */ beq $t4,$at,.PB0f076074 +/* f07600c: 00e02025 */ move $a0,$a3 +/* f076010: 24010008 */ li $at,0x8 +/* f076014: 1181000b */ beq $t4,$at,.PB0f076044 +/* f076018: 24050001 */ li $a1,0x1 +/* f07601c: 2401000f */ li $at,0xf +/* f076020: 11810014 */ beq $t4,$at,.PB0f076074 +/* f076024: 24010064 */ li $at,0x64 +/* f076028: 1181000a */ beq $t4,$at,.PB0f076054 +/* f07602c: 00e02025 */ move $a0,$a3 +/* f076030: 2401006e */ li $at,0x6e +/* f076034: 1181000b */ beq $t4,$at,.PB0f076064 +/* f076038: 00e02025 */ move $a0,$a3 +/* f07603c: 10000011 */ b .PB0f076084 +/* f076040: 00e02025 */ move $a0,$a3 +.PB0f076044: +/* f076044: 0fc2c20c */ jal 0xf0b0830 +/* f076048: 00e02025 */ move $a0,$a3 +/* f07604c: 1000000f */ b .PB0f07608c +/* f076050: 00000000 */ nop +.PB0f076054: +/* f076054: 0fc2c20c */ jal 0xf0b0830 +/* f076058: 24050004 */ li $a1,0x4 +/* f07605c: 1000000b */ b .PB0f07608c +/* f076060: 00000000 */ nop +.PB0f076064: +/* f076064: 0fc2c20c */ jal 0xf0b0830 +/* f076068: 24050005 */ li $a1,0x5 +/* f07606c: 10000007 */ b .PB0f07608c +/* f076070: 00000000 */ nop +.PB0f076074: +/* f076074: 0fc2c20c */ jal 0xf0b0830 +/* f076078: 24050002 */ li $a1,0x2 +/* f07607c: 10000003 */ b .PB0f07608c +/* f076080: 00000000 */ nop +.PB0f076084: +/* f076084: 0fc2c20c */ jal 0xf0b0830 +/* f076088: 24050003 */ li $a1,0x3 +.PB0f07608c: +/* f07608c: 0fc4a783 */ jal 0xf129e0c +/* f076090: 8fa40164 */ lw $a0,0x164($sp) +.PB0f076094: +/* f076094: 8fae01f4 */ lw $t6,0x1f4($sp) +.PB0f076098: +/* f076098: 51c0000a */ beqzl $t6,.PB0f0760c4 +/* f07609c: 8e390048 */ lw $t9,0x48($s1) +/* f0760a0: 91c20000 */ lbu $v0,0x0($t6) +/* f0760a4: 24010001 */ li $at,0x1 +/* f0760a8: 10410005 */ beq $v0,$at,.PB0f0760c0 +/* f0760ac: 24010004 */ li $at,0x4 +/* f0760b0: 10410003 */ beq $v0,$at,.PB0f0760c0 +/* f0760b4: 24010002 */ li $at,0x2 +/* f0760b8: 5441002d */ bnel $v0,$at,.PB0f076170 +/* f0760bc: 02402025 */ move $a0,$s2 +.PB0f0760c0: +/* f0760c0: 8e390048 */ lw $t9,0x48($s1) +.PB0f0760c4: +/* f0760c4: c6080004 */ lwc1 $f8,0x4($s0) +/* f0760c8: 27a40150 */ addiu $a0,$sp,0x150 +/* f0760cc: 8f220088 */ lw $v0,0x88($t9) +/* f0760d0: e7a80150 */ swc1 $f8,0x150($sp) +/* f0760d4: c60a0008 */ lwc1 $f10,0x8($s0) +/* f0760d8: 27a50154 */ addiu $a1,$sp,0x154 +/* f0760dc: 27a60158 */ addiu $a2,$sp,0x158 +/* f0760e0: e7aa0154 */ swc1 $f10,0x154($sp) +/* f0760e4: c606000c */ lwc1 $f6,0xc($s0) +/* f0760e8: afa2014c */ sw $v0,0x14c($sp) +/* f0760ec: 0c0011d8 */ jal 0x4760 +/* f0760f0: e7a60158 */ swc1 $f6,0x158($sp) +/* f0760f4: 8fa2014c */ lw $v0,0x14c($sp) +/* f0760f8: 50400005 */ beqzl $v0,.PB0f076110 +/* f0760fc: afa00088 */ sw $zero,0x88($sp) +/* f076100: 8c490004 */ lw $t1,0x4($v0) +/* f076104: 10000002 */ b .PB0f076110 +/* f076108: afa90088 */ sw $t1,0x88($sp) +/* f07610c: afa00088 */ sw $zero,0x88($sp) +.PB0f076110: +/* f076110: 0fc4fe8e */ jal 0xf13fa38 +/* f076114: 8fa40088 */ lw $a0,0x88($sp) +/* f076118: 1040000c */ beqz $v0,.PB0f07614c +/* f07611c: 02402825 */ move $a1,$s2 +/* f076120: 86440028 */ lh $a0,0x28($s2) +/* f076124: 27b805f4 */ addiu $t8,$sp,0x5f4 +/* f076128: 240d0019 */ li $t5,0x19 +/* f07612c: afad0014 */ sw $t5,0x14($sp) +/* f076130: afb80010 */ sw $t8,0x10($sp) +/* f076134: 02402825 */ move $a1,$s2 +/* f076138: 27a605e8 */ addiu $a2,$sp,0x5e8 +/* f07613c: 0fc4c3dd */ jal 0xf130f74 +/* f076140: 27a70150 */ addiu $a3,$sp,0x150 +/* f076144: 1000000a */ b .PB0f076170 +/* f076148: 02402025 */ move $a0,$s2 +.PB0f07614c: +/* f07614c: 86440028 */ lh $a0,0x28($s2) +/* f076150: 27ab05f4 */ addiu $t3,$sp,0x5f4 +/* f076154: 240f0010 */ li $t7,0x10 +/* f076158: afaf0014 */ sw $t7,0x14($sp) +/* f07615c: afab0010 */ sw $t3,0x10($sp) +/* f076160: 27a605e8 */ addiu $a2,$sp,0x5e8 +/* f076164: 0fc4c3dd */ jal 0xf130f74 +/* f076168: 27a70150 */ addiu $a3,$sp,0x150 +/* f07616c: 02402025 */ move $a0,$s2 +.PB0f076170: +/* f076170: 27a505e8 */ addiu $a1,$sp,0x5e8 +/* f076174: 27a605f4 */ addiu $a2,$sp,0x5f4 +/* f076178: 0fc1bc9e */ jal 0xf06f278 +/* f07617c: 8fa7060c */ lw $a3,0x60c($sp) +.PB0f076180: +/* f076180: 8faa034c */ lw $t2,0x34c($sp) +.PB0f076184: +/* f076184: 8fac0600 */ lw $t4,0x600($sp) +/* f076188: 55400038 */ bnezl $t2,.PB0f07626c +/* f07618c: 8fae034c */ lw $t6,0x34c($sp) +/* f076190: 11800012 */ beqz $t4,.PB0f0761dc +/* f076194: 26440008 */ addiu $a0,$s2,0x8 +/* f076198: 8fa5006c */ lw $a1,0x6c($sp) +/* f07619c: 27a605dc */ addiu $a2,$sp,0x5dc +/* f0761a0: 0fc19815 */ jal 0xf066054 +/* f0761a4: 27a7013c */ addiu $a3,$sp,0x13c +/* f0761a8: c7a405dc */ lwc1 $f4,0x5dc($sp) +/* f0761ac: 02402025 */ move $a0,$s2 +/* f0761b0: e6440008 */ swc1 $f4,0x8($s2) +/* f0761b4: c7a805e0 */ lwc1 $f8,0x5e0($sp) +/* f0761b8: e648000c */ swc1 $f8,0xc($s2) +/* f0761bc: c7aa05e4 */ lwc1 $f10,0x5e4($sp) +/* f0761c0: 0fc19789 */ jal 0xf065e24 +/* f0761c4: e64a0010 */ swc1 $f10,0x10($s2) +/* f0761c8: 27a4013c */ addiu $a0,$sp,0x13c +/* f0761cc: 0fc19661 */ jal 0xf065984 +/* f0761d0: 8fa5006c */ lw $a1,0x6c($sp) +/* f0761d4: 10000025 */ b .PB0f07626c +/* f0761d8: 8fae034c */ lw $t6,0x34c($sp) +.PB0f0761dc: +/* f0761dc: 3c038007 */ lui $v1,0x8007 +/* f0761e0: 8c63b000 */ lw $v1,-0x5000($v1) +/* f0761e4: c7a805e8 */ lwc1 $f8,0x5e8($sp) +/* f0761e8: 27a605dc */ addiu $a2,$sp,0x5dc +/* f0761ec: 1060000c */ beqz $v1,.PB0f076220 +/* f0761f0: 27a7012c */ addiu $a3,$sp,0x12c +/* f0761f4: 90620000 */ lbu $v0,0x0($v1) +/* f0761f8: 24010003 */ li $at,0x3 +/* f0761fc: 10410003 */ beq $v0,$at,.PB0f07620c +/* f076200: 24010006 */ li $at,0x6 +/* f076204: 54410007 */ bnel $v0,$at,.PB0f076224 +/* f076208: c7aa05ec */ lwc1 $f10,0x5ec($sp) +.PB0f07620c: +/* f07620c: c6460008 */ lwc1 $f6,0x8($s2) +/* f076210: e7a605dc */ swc1 $f6,0x5dc($sp) +/* f076214: c6440010 */ lwc1 $f4,0x10($s2) +/* f076218: 10000006 */ b .PB0f076234 +/* f07621c: e7a405e4 */ swc1 $f4,0x5e4($sp) +.PB0f076220: +/* f076220: c7aa05ec */ lwc1 $f10,0x5ec($sp) +.PB0f076224: +/* f076224: c7a605f0 */ lwc1 $f6,0x5f0($sp) +/* f076228: e7a805dc */ swc1 $f8,0x5dc($sp) +/* f07622c: e7aa05e0 */ swc1 $f10,0x5e0($sp) +/* f076230: e7a605e4 */ swc1 $f6,0x5e4($sp) +.PB0f076234: +/* f076234: 0fc19815 */ jal 0xf066054 +/* f076238: 8fa5006c */ lw $a1,0x6c($sp) +/* f07623c: c7a405dc */ lwc1 $f4,0x5dc($sp) +/* f076240: 02402025 */ move $a0,$s2 +/* f076244: e6440008 */ swc1 $f4,0x8($s2) +/* f076248: c7a805e0 */ lwc1 $f8,0x5e0($sp) +/* f07624c: e648000c */ swc1 $f8,0xc($s2) +/* f076250: c7aa05e4 */ lwc1 $f10,0x5e4($sp) +/* f076254: 0fc19789 */ jal 0xf065e24 +/* f076258: e64a0010 */ swc1 $f10,0x10($s2) +/* f07625c: 27a4012c */ addiu $a0,$sp,0x12c +/* f076260: 0fc19661 */ jal 0xf065984 +/* f076264: 8fa5006c */ lw $a1,0x6c($sp) +/* f076268: 8fae034c */ lw $t6,0x34c($sp) +.PB0f07626c: +/* f07626c: 55c003a4 */ bnezl $t6,.PB0f077100 +/* f076270: 8fbf005c */ lw $ra,0x5c($sp) +/* f076274: 0fc1a335 */ jal 0xf068cd4 +/* f076278: 02202025 */ move $a0,$s1 +/* f07627c: 00402025 */ move $a0,$v0 +/* f076280: 0fc19acf */ jal 0xf066b3c +/* f076284: 8fa50074 */ lw $a1,0x74($sp) +/* f076288: e7a0037c */ swc1 $f0,0x37c($sp) +/* f07628c: c6460008 */ lwc1 $f6,0x8($s2) +/* f076290: 26270058 */ addiu $a3,$s1,0x58 +/* f076294: 27b9012a */ addiu $t9,$sp,0x12a +/* f076298: e7a605ac */ swc1 $f6,0x5ac($sp) +/* f07629c: c644000c */ lwc1 $f4,0xc($s2) +/* f0762a0: 27a90380 */ addiu $t1,$sp,0x380 +/* f0762a4: 27a405ac */ addiu $a0,$sp,0x5ac +/* f0762a8: 46002200 */ add.s $f8,$f4,$f0 +/* f0762ac: 8fa5006c */ lw $a1,0x6c($sp) +/* f0762b0: 27a60390 */ addiu $a2,$sp,0x390 +/* f0762b4: e7a805b0 */ swc1 $f8,0x5b0($sp) +/* f0762b8: c64a0010 */ lwc1 $f10,0x10($s2) +/* f0762bc: afa70074 */ sw $a3,0x74($sp) +/* f0762c0: afa90014 */ sw $t1,0x14($sp) +/* f0762c4: afb90010 */ sw $t9,0x10($sp) +/* f0762c8: 0c00aae9 */ jal 0x2aba4 +/* f0762cc: e7aa05b4 */ swc1 $f10,0x5b4($sp) +/* f0762d0: 00021c00 */ sll $v1,$v0,0x10 +/* f0762d4: 1840002e */ blez $v0,.PB0f076390 +/* f0762d8: 0003c403 */ sra $t8,$v1,0x10 +/* f0762dc: c646000c */ lwc1 $f6,0xc($s2) +/* f0762e0: c7a4037c */ lwc1 $f4,0x37c($sp) +/* f0762e4: c7aa0390 */ lwc1 $f10,0x390($sp) +/* f0762e8: 27a405c8 */ addiu $a0,$sp,0x5c8 +/* f0762ec: 46043200 */ add.s $f8,$f6,$f4 +/* f0762f0: 27a505b8 */ addiu $a1,$sp,0x5b8 +/* f0762f4: 27a605ac */ addiu $a2,$sp,0x5ac +/* f0762f8: 24070021 */ li $a3,0x21 +/* f0762fc: 460a403c */ c.lt.s $f8,$f10 +/* f076300: 240d0003 */ li $t5,0x3 +/* f076304: 45020023 */ bc1fl .PB0f076394 +/* f076308: 26440008 */ addiu $a0,$s2,0x8 +/* f07630c: afad0010 */ sw $t5,0x10($sp) +/* f076310: 0c00b856 */ jal 0x2e158 +/* f076314: a7b8038e */ sh $t8,0x38e($sp) +/* f076318: 1440001d */ bnez $v0,.PB0f076390 +/* f07631c: 87a3038e */ lh $v1,0x38e($sp) +/* f076320: c7a60380 */ lwc1 $f6,0x380($sp) +/* f076324: c7a40384 */ lwc1 $f4,0x384($sp) +/* f076328: c7a80388 */ lwc1 $f8,0x388($sp) +/* f07632c: 240b0001 */ li $t3,0x1 +/* f076330: afab0354 */ sw $t3,0x354($sp) +/* f076334: 27a405f4 */ addiu $a0,$sp,0x5f4 +/* f076338: 27a505f8 */ addiu $a1,$sp,0x5f8 +/* f07633c: 27a605fc */ addiu $a2,$sp,0x5fc +/* f076340: a7a3038e */ sh $v1,0x38e($sp) +/* f076344: e7a605f4 */ swc1 $f6,0x5f4($sp) +/* f076348: e7a405f8 */ swc1 $f4,0x5f8($sp) +/* f07634c: 0c0011d8 */ jal 0x4760 +/* f076350: e7a805fc */ swc1 $f8,0x5fc($sp) +/* f076354: c64a0008 */ lwc1 $f10,0x8($s2) +/* f076358: c7a60390 */ lwc1 $f6,0x390($sp) +/* f07635c: 97af012a */ lhu $t7,0x12a($sp) +/* f076360: e7aa05e8 */ swc1 $f10,0x5e8($sp) +/* f076364: e7a605ec */ swc1 $f6,0x5ec($sp) +/* f076368: c6440010 */ lwc1 $f4,0x10($s2) +/* f07636c: 31ea4000 */ andi $t2,$t7,0x4000 +/* f076370: 87a3038e */ lh $v1,0x38e($sp) +/* f076374: afa00600 */ sw $zero,0x600($sp) +/* f076378: 1140003d */ beqz $t2,.PB0f076470 +/* f07637c: e7a405f0 */ swc1 $f4,0x5f0($sp) +/* f076380: 8e2c0040 */ lw $t4,0x40($s1) +/* f076384: 358e0004 */ ori $t6,$t4,0x4 +/* f076388: 10000039 */ b .PB0f076470 +/* f07638c: ae2e0040 */ sw $t6,0x40($s1) +.PB0f076390: +/* f076390: 26440008 */ addiu $a0,$s2,0x8 +.PB0f076394: +/* f076394: 27b90380 */ addiu $t9,$sp,0x380 +/* f076398: afb90010 */ sw $t9,0x10($sp) +/* f07639c: afa40070 */ sw $a0,0x70($sp) +/* f0763a0: 8fa5006c */ lw $a1,0x6c($sp) +/* f0763a4: 27a60390 */ addiu $a2,$sp,0x390 +/* f0763a8: 8fa70074 */ lw $a3,0x74($sp) +/* f0763ac: 0c00aac9 */ jal 0x2ab24 +/* f0763b0: afa00014 */ sw $zero,0x14($sp) +/* f0763b4: 00021c00 */ sll $v1,$v0,0x10 +/* f0763b8: 00034c03 */ sra $t1,$v1,0x10 +/* f0763bc: 1c40002c */ bgtz $v0,.PB0f076470 +/* f0763c0: 01201825 */ move $v1,$t1 +/* f0763c4: 8e020000 */ lw $v0,0x0($s0) +/* f0763c8: 30580004 */ andi $t8,$v0,0x4 +/* f0763cc: 17000028 */ bnez $t8,.PB0f076470 +/* f0763d0: 00026bc0 */ sll $t5,$v0,0xf +/* f0763d4: 05a0000c */ bltz $t5,.PB0f076408 +/* f0763d8: 3c010001 */ lui $at,0x1 +/* f0763dc: 00415825 */ or $t3,$v0,$at +/* f0763e0: ae0b0000 */ sw $t3,0x0($s0) +/* f0763e4: a7a9038e */ sh $t1,0x38e($sp) +/* f0763e8: 27a405c8 */ addiu $a0,$sp,0x5c8 +/* f0763ec: 0c00aa70 */ jal 0x2a9c0 +/* f0763f0: 27a505b8 */ addiu $a1,$sp,0x5b8 +/* f0763f4: 18400004 */ blez $v0,.PB0f076408 +/* f0763f8: 87a3038e */ lh $v1,0x38e($sp) +/* f0763fc: 8e0f0000 */ lw $t7,0x0($s0) +/* f076400: 35ea8000 */ ori $t2,$t7,0x8000 +/* f076404: ae0a0000 */ sw $t2,0x0($s0) +.PB0f076408: +/* f076408: 8e0c0000 */ lw $t4,0x0($s0) +/* f07640c: c7a805c8 */ lwc1 $f8,0x5c8($sp) +/* f076410: 318e8000 */ andi $t6,$t4,0x8000 +/* f076414: 11c00016 */ beqz $t6,.PB0f076470 +/* f076418: 00000000 */ nop +/* f07641c: e6480008 */ swc1 $f8,0x8($s2) +/* f076420: c7aa05cc */ lwc1 $f10,0x5cc($sp) +/* f076424: 02402025 */ move $a0,$s2 +/* f076428: e64a000c */ swc1 $f10,0xc($s2) +/* f07642c: c7a605d0 */ lwc1 $f6,0x5d0($sp) +/* f076430: 0fc19789 */ jal 0xf065e24 +/* f076434: e6460010 */ swc1 $f6,0x10($s2) +/* f076438: 27a405b8 */ addiu $a0,$sp,0x5b8 +/* f07643c: 0fc19661 */ jal 0xf065984 +/* f076440: 8fa5006c */ lw $a1,0x6c($sp) +/* f076444: 8fa40070 */ lw $a0,0x70($sp) +/* f076448: 8fa5006c */ lw $a1,0x6c($sp) +/* f07644c: 27a60390 */ addiu $a2,$sp,0x390 +/* f076450: 8fa70074 */ lw $a3,0x74($sp) +/* f076454: 0c00aa80 */ jal 0x2aa00 +/* f076458: afa00010 */ sw $zero,0x10($sp) +/* f07645c: 00021c00 */ sll $v1,$v0,0x10 +/* f076460: 0003cc03 */ sra $t9,$v1,0x10 +/* f076464: 03201825 */ move $v1,$t9 +/* f076468: e6140004 */ swc1 $f20,0x4($s0) +/* f07646c: e614000c */ swc1 $f20,0xc($s0) +.PB0f076470: +/* f076470: 18600004 */ blez $v1,.PB0f076484 +/* f076474: 8e020000 */ lw $v0,0x0($s0) +/* f076478: 34498000 */ ori $t1,$v0,0x8000 +/* f07647c: 10000005 */ b .PB0f076494 +/* f076480: ae090000 */ sw $t1,0x0($s0) +.PB0f076484: +/* f076484: 3c01ffff */ lui $at,0xffff +/* f076488: 34217fff */ ori $at,$at,0x7fff +/* f07648c: 0041c024 */ and $t8,$v0,$at +/* f076490: ae180000 */ sw $t8,0x0($s0) +.PB0f076494: +/* f076494: 8fad0600 */ lw $t5,0x600($sp) +/* f076498: 55a000ac */ bnezl $t5,.PB0f07674c +/* f07649c: 922b0003 */ lbu $t3,0x3($s1) +/* f0764a0: c60c0008 */ lwc1 $f12,0x8($s0) +/* f0764a4: c7a805cc */ lwc1 $f8,0x5cc($sp) +/* f0764a8: 4614603e */ c.le.s $f12,$f20 +/* f0764ac: 00000000 */ nop +/* f0764b0: 45020007 */ bc1fl .PB0f0764d0 +/* f0764b4: 8e0b0000 */ lw $t3,0x0($s0) +/* f0764b8: c644000c */ lwc1 $f4,0xc($s2) +/* f0764bc: 4604403e */ c.le.s $f8,$f4 +/* f0764c0: 00000000 */ nop +/* f0764c4: 45030008 */ bc1tl .PB0f0764e8 +/* f0764c8: 240c0001 */ li $t4,0x1 +/* f0764cc: 8e0b0000 */ lw $t3,0x0($s0) +.PB0f0764d0: +/* f0764d0: 8faa0354 */ lw $t2,0x354($sp) +/* f0764d4: 316f0004 */ andi $t7,$t3,0x4 +/* f0764d8: 55e00005 */ bnezl $t7,.PB0f0764f0 +/* f0764dc: c612008c */ lwc1 $f18,0x8c($s0) +/* f0764e0: 11400002 */ beqz $t2,.PB0f0764ec +/* f0764e4: 240c0001 */ li $t4,0x1 +.PB0f0764e8: +/* f0764e8: afac0350 */ sw $t4,0x350($sp) +.PB0f0764ec: +/* f0764ec: c612008c */ lwc1 $f18,0x8c($s0) +.PB0f0764f0: +/* f0764f0: c7aa05f4 */ lwc1 $f10,0x5f4($sp) +/* f0764f4: 4612a03c */ c.lt.s $f20,$f18 +/* f0764f8: 00000000 */ nop +/* f0764fc: 45020034 */ bc1fl .PB0f0765d0 +/* f076500: 8fad0350 */ lw $t5,0x350($sp) +/* f076504: c60e0004 */ lwc1 $f14,0x4($s0) +/* f076508: c7a405f8 */ lwc1 $f4,0x5f8($sp) +/* f07650c: c602000c */ lwc1 $f2,0xc($s0) +/* f076510: 460a7182 */ mul.s $f6,$f14,$f10 +/* f076514: 3c013f80 */ lui $at,0x3f80 +/* f076518: 4614603e */ c.le.s $f12,$f20 +/* f07651c: 46046202 */ mul.s $f8,$f12,$f4 +/* f076520: 46083100 */ add.s $f4,$f6,$f8 +/* f076524: c7a605fc */ lwc1 $f6,0x5fc($sp) +/* f076528: 46023202 */ mul.s $f8,$f6,$f2 +/* f07652c: 44813000 */ mtc1 $at,$f6 +/* f076530: 46044000 */ add.s $f0,$f8,$f4 +/* f076534: 46069200 */ add.s $f8,$f18,$f6 +/* f076538: 46004107 */ neg.s $f4,$f8 +/* f07653c: 46040002 */ mul.s $f0,$f0,$f4 +/* f076540: 00000000 */ nop +/* f076544: 460a0182 */ mul.s $f6,$f0,$f10 +/* f076548: 46067200 */ add.s $f8,$f14,$f6 +/* f07654c: e6080004 */ swc1 $f8,0x4($s0) +/* f076550: c7a405f8 */ lwc1 $f4,0x5f8($sp) +/* f076554: 46040282 */ mul.s $f10,$f0,$f4 +/* f076558: 460a6180 */ add.s $f6,$f12,$f10 +/* f07655c: e6060008 */ swc1 $f6,0x8($s0) +/* f076560: c7a805fc */ lwc1 $f8,0x5fc($sp) +/* f076564: 46080102 */ mul.s $f4,$f0,$f8 +/* f076568: 46041280 */ add.s $f10,$f2,$f4 +/* f07656c: 45000008 */ bc1f .PB0f076590 +/* f076570: e60a000c */ swc1 $f10,0xc($s0) +/* f076574: c6060008 */ lwc1 $f6,0x8($s0) +/* f076578: 240e0001 */ li $t6,0x1 +/* f07657c: 4606a03e */ c.le.s $f20,$f6 +/* f076580: 00000000 */ nop +/* f076584: 45020003 */ bc1fl .PB0f076594 +/* f076588: 92390003 */ lbu $t9,0x3($s1) +/* f07658c: afae0350 */ sw $t6,0x350($sp) +.PB0f076590: +/* f076590: 92390003 */ lbu $t9,0x3($s1) +.PB0f076594: +/* f076594: 24010008 */ li $at,0x8 +/* f076598: 5721000d */ bnel $t9,$at,.PB0f0765d0 +/* f07659c: 8fad0350 */ lw $t5,0x350($sp) +/* f0765a0: 9229005c */ lbu $t1,0x5c($s1) +/* f0765a4: 2401001e */ li $at,0x1e +/* f0765a8: 55210009 */ bnel $t1,$at,.PB0f0765d0 +/* f0765ac: 8fad0350 */ lw $t5,0x350($sp) +/* f0765b0: 9238005f */ lbu $t8,0x5f($s1) +/* f0765b4: 24010001 */ li $at,0x1 +/* f0765b8: 02402025 */ move $a0,$s2 +/* f0765bc: 57010004 */ bnel $t8,$at,.PB0f0765d0 +/* f0765c0: 8fad0350 */ lw $t5,0x350($sp) +/* f0765c4: 0fc4bf19 */ jal 0xf12fc64 +/* f0765c8: 24050013 */ li $a1,0x13 +/* f0765cc: 8fad0350 */ lw $t5,0x350($sp) +.PB0f0765d0: +/* f0765d0: c7a805ec */ lwc1 $f8,0x5ec($sp) +/* f0765d4: c7a4037c */ lwc1 $f4,0x37c($sp) +/* f0765d8: 51a0000c */ beqzl $t5,.PB0f07660c +/* f0765dc: 8e0f0000 */ lw $t7,0x0($s0) +/* f0765e0: 46044281 */ sub.s $f10,$f8,$f4 +/* f0765e4: e64a000c */ swc1 $f10,0xc($s2) +/* f0765e8: 8fab0354 */ lw $t3,0x354($sp) +/* f0765ec: 51600007 */ beqzl $t3,.PB0f07660c +/* f0765f0: 8e0f0000 */ lw $t7,0x0($s0) +/* f0765f4: 0fc1a9fe */ jal 0xf06a7f8 +/* f0765f8: 02202025 */ move $a0,$s1 +/* f0765fc: c646000c */ lwc1 $f6,0xc($s2) +/* f076600: 46003200 */ add.s $f8,$f6,$f0 +/* f076604: e648000c */ swc1 $f8,0xc($s2) +/* f076608: 8e0f0000 */ lw $t7,0x0($s0) +.PB0f07660c: +/* f07660c: 31ea0100 */ andi $t2,$t7,0x100 +/* f076610: 5540000d */ bnezl $t2,.PB0f076648 +/* f076614: 8e190090 */ lw $t9,0x90($s0) +/* f076618: 8e020094 */ lw $v0,0x94($s0) +/* f07661c: 3c0c800a */ lui $t4,0x800a +/* f076620: 04400006 */ bltz $v0,.PB0f07663c +/* f076624: 00000000 */ nop +/* f076628: 8d8ce4d8 */ lw $t4,-0x1b28($t4) +/* f07662c: 258effce */ addiu $t6,$t4,-50 +/* f076630: 004e082a */ slt $at,$v0,$t6 +/* f076634: 50200004 */ beqzl $at,.PB0f076648 +/* f076638: 8e190090 */ lw $t9,0x90($s0) +.PB0f07663c: +/* f07663c: 0fc25874 */ jal 0xf0961d0 +/* f076640: 8fa40064 */ lw $a0,0x64($sp) +/* f076644: 8e190090 */ lw $t9,0x90($s0) +.PB0f076648: +/* f076648: 3c18800a */ lui $t8,0x800a +/* f07664c: 27290001 */ addiu $t1,$t9,0x1 +/* f076650: ae090090 */ sw $t1,0x90($s0) +/* f076654: 8f18e4d8 */ lw $t8,-0x1b28($t8) +/* f076658: ae180094 */ sw $t8,0x94($s0) +/* f07665c: 8e220040 */ lw $v0,0x40($s1) +/* f076660: 00026bc0 */ sll $t5,$v0,0xf +/* f076664: 05a00002 */ bltz $t5,.PB0f076670 +/* f076668: 344b0100 */ ori $t3,$v0,0x100 +/* f07666c: ae2b0040 */ sw $t3,0x40($s1) +.PB0f076670: +/* f076670: 8faf0350 */ lw $t7,0x350($sp) +/* f076674: 51e00035 */ beqzl $t7,.PB0f07674c +/* f076678: 922b0003 */ lbu $t3,0x3($s1) +/* f07667c: 8e020000 */ lw $v0,0x0($s0) +/* f076680: 304a0004 */ andi $t2,$v0,0x4 +/* f076684: 5540000d */ bnezl $t2,.PB0f0766bc +/* f076688: c604008c */ lwc1 $f4,0x8c($s0) +/* f07668c: 8e0c0090 */ lw $t4,0x90($s0) +/* f076690: 8fae0354 */ lw $t6,0x354($sp) +/* f076694: 29810006 */ slti $at,$t4,0x6 +/* f076698: 54200008 */ bnezl $at,.PB0f0766bc +/* f07669c: c604008c */ lwc1 $f4,0x8c($s0) +/* f0766a0: 11c00029 */ beqz $t6,.PB0f076748 +/* f0766a4: 02202025 */ move $a0,$s1 +/* f0766a8: 0fc1b76c */ jal 0xf06ddb0 +/* f0766ac: 27a50358 */ addiu $a1,$sp,0x358 +/* f0766b0: 10000026 */ b .PB0f07674c +/* f0766b4: 922b0003 */ lbu $t3,0x3($s1) +/* f0766b8: c604008c */ lwc1 $f4,0x8c($s0) +.PB0f0766bc: +/* f0766bc: 8fad0354 */ lw $t5,0x354($sp) +/* f0766c0: 4604a03c */ c.lt.s $f20,$f4 +/* f0766c4: 00000000 */ nop +/* f0766c8: 4500001b */ bc1f .PB0f076738 +/* f0766cc: 00000000 */ nop +/* f0766d0: c60c0008 */ lwc1 $f12,0x8($s0) +/* f0766d4: 3c017f1b */ lui $at,0x7f1b +/* f0766d8: 460ca03e */ c.le.s $f20,$f12 +/* f0766dc: 00000000 */ nop +/* f0766e0: 4502001a */ bc1fl .PB0f07674c +/* f0766e4: 922b0003 */ lbu $t3,0x3($s1) +/* f0766e8: c420c100 */ lwc1 $f0,-0x3f00($at) +/* f0766ec: 30590002 */ andi $t9,$v0,0x2 +/* f0766f0: 4600603c */ c.lt.s $f12,$f0 +/* f0766f4: 00000000 */ nop +/* f0766f8: 45020014 */ bc1fl .PB0f07674c +/* f0766fc: 922b0003 */ lbu $t3,0x3($s1) +/* f076700: 13200007 */ beqz $t9,.PB0f076720 +/* f076704: 8fb80354 */ lw $t8,0x354($sp) +/* f076708: 8e090090 */ lw $t1,0x90($s0) +/* f07670c: 24010001 */ li $at,0x1 +/* f076710: 15210003 */ bne $t1,$at,.PB0f076720 +/* f076714: 00000000 */ nop +/* f076718: 1000000b */ b .PB0f076748 +/* f07671c: e6000008 */ swc1 $f0,0x8($s0) +.PB0f076720: +/* f076720: 13000009 */ beqz $t8,.PB0f076748 +/* f076724: 02202025 */ move $a0,$s1 +/* f076728: 0fc1b76c */ jal 0xf06ddb0 +/* f07672c: 27a50358 */ addiu $a1,$sp,0x358 +/* f076730: 10000006 */ b .PB0f07674c +/* f076734: 922b0003 */ lbu $t3,0x3($s1) +.PB0f076738: +/* f076738: 11a00003 */ beqz $t5,.PB0f076748 +/* f07673c: 02202025 */ move $a0,$s1 +/* f076740: 0fc1b76c */ jal 0xf06ddb0 +/* f076744: 27a50358 */ addiu $a1,$sp,0x358 +.PB0f076748: +/* f076748: 922b0003 */ lbu $t3,0x3($s1) +.PB0f07674c: +/* f07674c: 24010008 */ li $at,0x8 +/* f076750: 55610134 */ bnel $t3,$at,.PB0f076c24 +/* f076754: 02202025 */ move $a0,$s1 +/* f076758: 9227005c */ lbu $a3,0x5c($s1) +/* f07675c: 2401001a */ li $at,0x1a +/* f076760: 54e1000a */ bnel $a3,$at,.PB0f07678c +/* f076764: 24010053 */ li $at,0x53 +/* f076768: 922f005f */ lbu $t7,0x5f($s1) +/* f07676c: 24010001 */ li $at,0x1 +/* f076770: 55e10006 */ bnel $t7,$at,.PB0f07678c +/* f076774: 24010053 */ li $at,0x53 +/* f076778: 0fc1ba95 */ jal 0xf06ea54 +/* f07677c: 02202025 */ move $a0,$s1 +/* f076780: 100000b0 */ b .PB0f076a44 +/* f076784: 8fac0600 */ lw $t4,0x600($sp) +/* f076788: 24010053 */ li $at,0x53 +.PB0f07678c: +/* f07678c: 14e10044 */ bne $a3,$at,.PB0f0768a0 +/* f076790: 8faa0600 */ lw $t2,0x600($sp) +/* f076794: 55400004 */ bnezl $t2,.PB0f0767a8 +/* f076798: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07679c: 100000a8 */ b .PB0f076a40 +/* f0767a0: a6200062 */ sh $zero,0x62($s1) +/* f0767a4: c60e0004 */ lwc1 $f14,0x4($s0) +.PB0f0767a8: +/* f0767a8: c60c0008 */ lwc1 $f12,0x8($s0) +/* f0767ac: c602000c */ lwc1 $f2,0xc($s0) +/* f0767b0: 460e7282 */ mul.s $f10,$f14,$f14 +/* f0767b4: 3c017f1b */ lui $at,0x7f1b +/* f0767b8: 460c6182 */ mul.s $f6,$f12,$f12 +/* f0767bc: 46065200 */ add.s $f8,$f10,$f6 +/* f0767c0: 46021102 */ mul.s $f4,$f2,$f2 +/* f0767c4: c42ac104 */ lwc1 $f10,-0x3efc($at) +/* f0767c8: 46082000 */ add.s $f0,$f4,$f8 +/* f0767cc: 4600503c */ c.lt.s $f10,$f0 +/* f0767d0: 00000000 */ nop +/* f0767d4: 45020005 */ bc1fl .PB0f0767ec +/* f0767d8: 860200b2 */ lh $v0,0xb2($s0) +/* f0767dc: e6140010 */ swc1 $f20,0x10($s0) +/* f0767e0: e6140014 */ swc1 $f20,0x14($s0) +/* f0767e4: e6140018 */ swc1 $f20,0x18($s0) +/* f0767e8: 860200b2 */ lh $v0,0xb2($s0) +.PB0f0767ec: +/* f0767ec: 0442000c */ bltzl $v0,.PB0f076820 +/* f0767f0: c6060004 */ lwc1 $f6,0x4($s0) +/* f0767f4: 8e0c00a0 */ lw $t4,0xa0($s0) +/* f0767f8: 004c082a */ slt $at,$v0,$t4 +/* f0767fc: 50200008 */ beqzl $at,.PB0f076820 +/* f076800: c6060004 */ lwc1 $f6,0x4($s0) +/* f076804: 8e0e0000 */ lw $t6,0x0($s0) +/* f076808: 2401ffcf */ li $at,-49 +/* f07680c: e614001c */ swc1 $f20,0x1c($s0) +/* f076810: 01c1c824 */ and $t9,$t6,$at +/* f076814: 1000008a */ b .PB0f076a40 +/* f076818: ae190000 */ sw $t9,0x0($s0) +/* f07681c: c6060004 */ lwc1 $f6,0x4($s0) +.PB0f076820: +/* f076820: 27a40108 */ addiu $a0,$sp,0x108 +/* f076824: 27a5010c */ addiu $a1,$sp,0x10c +/* f076828: e7a60108 */ swc1 $f6,0x108($sp) +/* f07682c: c6040008 */ lwc1 $f4,0x8($s0) +/* f076830: 27a60110 */ addiu $a2,$sp,0x110 +/* f076834: e7a4010c */ swc1 $f4,0x10c($sp) +/* f076838: c608000c */ lwc1 $f8,0xc($s0) +/* f07683c: 0c0011d8 */ jal 0x4760 +/* f076840: e7a80110 */ swc1 $f8,0x110($sp) +/* f076844: 3c0141a0 */ lui $at,0x41a0 +/* f076848: 44810000 */ mtc1 $at,$f0 +/* f07684c: c7a60108 */ lwc1 $f6,0x108($sp) +/* f076850: c64a0008 */ lwc1 $f10,0x8($s2) +/* f076854: 27a40108 */ addiu $a0,$sp,0x108 +/* f076858: 46003102 */ mul.s $f4,$f6,$f0 +/* f07685c: 8fa5006c */ lw $a1,0x6c($sp) +/* f076860: 24060008 */ li $a2,0x8 +/* f076864: 46045201 */ sub.s $f8,$f10,$f4 +/* f076868: c7aa010c */ lwc1 $f10,0x10c($sp) +/* f07686c: 46005102 */ mul.s $f4,$f10,$f0 +/* f076870: e7a80108 */ swc1 $f8,0x108($sp) +/* f076874: c646000c */ lwc1 $f6,0xc($s2) +/* f076878: 46043201 */ sub.s $f8,$f6,$f4 +/* f07687c: c7a60110 */ lwc1 $f6,0x110($sp) +/* f076880: 46003102 */ mul.s $f4,$f6,$f0 +/* f076884: e7a8010c */ swc1 $f8,0x10c($sp) +/* f076888: c64a0010 */ lwc1 $f10,0x10($s2) +/* f07688c: 46045201 */ sub.s $f8,$f10,$f4 +/* f076890: 0fc4bf5c */ jal 0xf12fd70 +/* f076894: e7a80110 */ swc1 $f8,0x110($sp) +/* f076898: 1000006a */ b .PB0f076a44 +/* f07689c: 8fac0600 */ lw $t4,0x600($sp) +.PB0f0768a0: +/* f0768a0: 24010054 */ li $at,0x54 +/* f0768a4: 14e1000a */ bne $a3,$at,.PB0f0768d0 +/* f0768a8: 8fa90600 */ lw $t1,0x600($sp) +/* f0768ac: 15200003 */ bnez $t1,.PB0f0768bc +/* f0768b0: 26440008 */ addiu $a0,$s2,0x8 +/* f0768b4: 10000062 */ b .PB0f076a40 +/* f0768b8: a6200062 */ sh $zero,0x62($s1) +.PB0f0768bc: +/* f0768bc: 8fa5006c */ lw $a1,0x6c($sp) +/* f0768c0: 0fc4bf5c */ jal 0xf12fd70 +/* f0768c4: 2406000b */ li $a2,0xb +/* f0768c8: 1000005e */ b .PB0f076a44 +/* f0768cc: 8fac0600 */ lw $t4,0x600($sp) +.PB0f0768d0: +/* f0768d0: 24010055 */ li $at,0x55 +/* f0768d4: 10e10006 */ beq $a3,$at,.PB0f0768f0 +/* f0768d8: 2402001f */ li $v0,0x1f +/* f0768dc: 54470059 */ bnel $v0,$a3,.PB0f076a44 +/* f0768e0: 8fac0600 */ lw $t4,0x600($sp) +/* f0768e4: 9238005f */ lbu $t8,0x5f($s1) +/* f0768e8: 57000056 */ bnezl $t8,.PB0f076a44 +/* f0768ec: 8fac0600 */ lw $t4,0x600($sp) +.PB0f0768f0: +/* f0768f0: 8fad0350 */ lw $t5,0x350($sp) +/* f0768f4: 2402001f */ li $v0,0x1f +/* f0768f8: 15a00045 */ bnez $t5,.PB0f076a10 +/* f0768fc: 00000000 */ nop +/* f076900: 8e0b0000 */ lw $t3,0x0($s0) +/* f076904: 3c017f1b */ lui $at,0x7f1b +/* f076908: 316f0400 */ andi $t7,$t3,0x400 +/* f07690c: 15e00040 */ bnez $t7,.PB0f076a10 +/* f076910: 00000000 */ nop +/* f076914: c430c108 */ lwc1 $f16,-0x3ef8($at) +/* f076918: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07691c: 3c017f1b */ lui $at,0x7f1b +/* f076920: c7aa05c8 */ lwc1 $f10,0x5c8($sp) +/* f076924: 4610703c */ c.lt.s $f14,$f16 +/* f076928: 00000000 */ nop +/* f07692c: 45020019 */ bc1fl .PB0f076994 +/* f076930: c6460008 */ lwc1 $f6,0x8($s2) +/* f076934: c432c10c */ lwc1 $f18,-0x3ef4($at) +/* f076938: 460e903c */ c.lt.s $f18,$f14 +/* f07693c: 00000000 */ nop +/* f076940: 45020014 */ bc1fl .PB0f076994 +/* f076944: c6460008 */ lwc1 $f6,0x8($s2) +/* f076948: c60c0008 */ lwc1 $f12,0x8($s0) +/* f07694c: 4610603c */ c.lt.s $f12,$f16 +/* f076950: 00000000 */ nop +/* f076954: 4502000f */ bc1fl .PB0f076994 +/* f076958: c6460008 */ lwc1 $f6,0x8($s2) +/* f07695c: 460c903c */ c.lt.s $f18,$f12 +/* f076960: 00000000 */ nop +/* f076964: 4502000b */ bc1fl .PB0f076994 +/* f076968: c6460008 */ lwc1 $f6,0x8($s2) +/* f07696c: c602000c */ lwc1 $f2,0xc($s0) +/* f076970: 4610103c */ c.lt.s $f2,$f16 +/* f076974: 00000000 */ nop +/* f076978: 45020006 */ bc1fl .PB0f076994 +/* f07697c: c6460008 */ lwc1 $f6,0x8($s2) +/* f076980: 4602903c */ c.lt.s $f18,$f2 +/* f076984: 00000000 */ nop +/* f076988: 45010021 */ bc1t .PB0f076a10 +/* f07698c: 00000000 */ nop +/* f076990: c6460008 */ lwc1 $f6,0x8($s2) +.PB0f076994: +/* f076994: 3c017f1b */ lui $at,0x7f1b +/* f076998: c432c110 */ lwc1 $f18,-0x3ef0($at) +/* f07699c: 460a3001 */ sub.s $f0,$f6,$f10 +/* f0769a0: 4610003c */ c.lt.s $f0,$f16 +/* f0769a4: 00000000 */ nop +/* f0769a8: 45000020 */ bc1f .PB0f076a2c +/* f0769ac: 00000000 */ nop +/* f0769b0: 4600903c */ c.lt.s $f18,$f0 +/* f0769b4: c7a805cc */ lwc1 $f8,0x5cc($sp) +/* f0769b8: 4500001c */ bc1f .PB0f076a2c +/* f0769bc: 00000000 */ nop +/* f0769c0: c644000c */ lwc1 $f4,0xc($s2) +/* f0769c4: 46082001 */ sub.s $f0,$f4,$f8 +/* f0769c8: 4610003c */ c.lt.s $f0,$f16 +/* f0769cc: 00000000 */ nop +/* f0769d0: 45000016 */ bc1f .PB0f076a2c +/* f0769d4: 00000000 */ nop +/* f0769d8: 4600903c */ c.lt.s $f18,$f0 +/* f0769dc: c7aa05d0 */ lwc1 $f10,0x5d0($sp) +/* f0769e0: 45000012 */ bc1f .PB0f076a2c +/* f0769e4: 00000000 */ nop +/* f0769e8: c6460010 */ lwc1 $f6,0x10($s2) +/* f0769ec: 460a3001 */ sub.s $f0,$f6,$f10 +/* f0769f0: 4610003c */ c.lt.s $f0,$f16 +/* f0769f4: 00000000 */ nop +/* f0769f8: 4500000c */ bc1f .PB0f076a2c +/* f0769fc: 00000000 */ nop +/* f076a00: 4600903c */ c.lt.s $f18,$f0 +/* f076a04: 00000000 */ nop +/* f076a08: 45000008 */ bc1f .PB0f076a2c +/* f076a0c: 00000000 */ nop +.PB0f076a10: +/* f076a10: 14470004 */ bne $v0,$a3,.PB0f076a24 +/* f076a14: 00000000 */ nop +/* f076a18: 862a0062 */ lh $t2,0x62($s1) +/* f076a1c: 05420009 */ bltzl $t2,.PB0f076a44 +/* f076a20: 8fac0600 */ lw $t4,0x600($sp) +.PB0f076a24: +/* f076a24: 10000006 */ b .PB0f076a40 +/* f076a28: a6200062 */ sh $zero,0x62($s1) +.PB0f076a2c: +/* f076a2c: 10470004 */ beq $v0,$a3,.PB0f076a40 +/* f076a30: 26440008 */ addiu $a0,$s2,0x8 +/* f076a34: 8fa5006c */ lw $a1,0x6c($sp) +/* f076a38: 0fc4bf5c */ jal 0xf12fd70 +/* f076a3c: 24060009 */ li $a2,0x9 +.PB0f076a40: +/* f076a40: 8fac0600 */ lw $t4,0x600($sp) +.PB0f076a44: +/* f076a44: 3c03800a */ lui $v1,0x800a +/* f076a48: 55800076 */ bnezl $t4,.PB0f076c24 +/* f076a4c: 02202025 */ move $a0,$s1 +/* f076a50: 8c63e4dc */ lw $v1,-0x1b24($v1) +/* f076a54: 8e0e00a4 */ lw $t6,0xa4($s0) +/* f076a58: 2479fffe */ addiu $t9,$v1,-2 +/* f076a5c: 01d9082a */ slt $at,$t6,$t9 +/* f076a60: 5020006f */ beqzl $at,.PB0f076c20 +/* f076a64: ae0300a4 */ sw $v1,0xa4($s0) +/* f076a68: 9227005c */ lbu $a3,0x5c($s1) +/* f076a6c: 2401001a */ li $at,0x1a +/* f076a70: 00002025 */ move $a0,$zero +/* f076a74: 10e10003 */ beq $a3,$at,.PB0f076a84 +/* f076a78: 02402825 */ move $a1,$s2 +/* f076a7c: 2401001a */ li $at,0x1a +/* f076a80: 14e10015 */ bne $a3,$at,.PB0f076ad8 +.PB0f076a84: +/* f076a84: 3c01bf80 */ lui $at,0xbf80 +/* f076a88: 44810000 */ mtc1 $at,$f0 +/* f076a8c: 2409ffff */ li $t1,-1 +/* f076a90: 2418ffff */ li $t8,-1 +/* f076a94: afb8002c */ sw $t8,0x2c($sp) +/* f076a98: afa90010 */ sw $t1,0x10($sp) +/* f076a9c: 2406808b */ li $a2,-32629 +/* f076aa0: 2407ffff */ li $a3,-1 +/* f076aa4: afa00014 */ sw $zero,0x14($sp) +/* f076aa8: afa00018 */ sw $zero,0x18($sp) +/* f076aac: afa0001c */ sw $zero,0x1c($sp) +/* f076ab0: afa00020 */ sw $zero,0x20($sp) +/* f076ab4: afa00028 */ sw $zero,0x28($sp) +/* f076ab8: e7a00024 */ swc1 $f0,0x24($sp) +/* f076abc: e7a00030 */ swc1 $f0,0x30($sp) +/* f076ac0: e7a00034 */ swc1 $f0,0x34($sp) +/* f076ac4: 0fc24e0e */ jal 0xf093838 +/* f076ac8: e7a00038 */ swc1 $f0,0x38($sp) +/* f076acc: 3c03800a */ lui $v1,0x800a +/* f076ad0: 10000052 */ b .PB0f076c1c +/* f076ad4: 8c63e4dc */ lw $v1,-0x1b24($v1) +.PB0f076ad8: +/* f076ad8: 2401001e */ li $at,0x1e +/* f076adc: 14e1003a */ bne $a3,$at,.PB0f076bc8 +/* f076ae0: 00002025 */ move $a0,$zero +/* f076ae4: 922d005f */ lbu $t5,0x5f($s1) +/* f076ae8: 24010001 */ li $at,0x1 +/* f076aec: 3c0f8007 */ lui $t7,0x8007 +/* f076af0: 15a10035 */ bne $t5,$at,.PB0f076bc8 +/* f076af4: 25efb288 */ addiu $t7,$t7,-19832 +/* f076af8: 8de10000 */ lw $at,0x0($t7) +/* f076afc: 8dec0004 */ lw $t4,0x4($t7) +/* f076b00: 27ab0100 */ addiu $t3,$sp,0x100 +/* f076b04: ad610000 */ sw $at,0x0($t3) +/* f076b08: 0c004be0 */ jal 0x12f80 +/* f076b0c: ad6c0004 */ sw $t4,0x4($t3) +/* f076b10: 304e0003 */ andi $t6,$v0,0x3 +/* f076b14: 000ec840 */ sll $t9,$t6,0x1 +/* f076b18: 03b93021 */ addu $a2,$sp,$t9 +/* f076b1c: 84c60100 */ lh $a2,0x100($a2) +/* f076b20: 3c01bf80 */ lui $at,0xbf80 +/* f076b24: 44810000 */ mtc1 $at,$f0 +/* f076b28: 2409ffff */ li $t1,-1 +/* f076b2c: 2418ffff */ li $t8,-1 +/* f076b30: afb8002c */ sw $t8,0x2c($sp) +/* f076b34: afa90010 */ sw $t1,0x10($sp) +/* f076b38: afa00028 */ sw $zero,0x28($sp) +/* f076b3c: afa00020 */ sw $zero,0x20($sp) +/* f076b40: afa0001c */ sw $zero,0x1c($sp) +/* f076b44: afa00018 */ sw $zero,0x18($sp) +/* f076b48: afa00014 */ sw $zero,0x14($sp) +/* f076b4c: 00002025 */ move $a0,$zero +/* f076b50: 02402825 */ move $a1,$s2 +/* f076b54: 2407ffff */ li $a3,-1 +/* f076b58: e7a00024 */ swc1 $f0,0x24($sp) +/* f076b5c: e7a00030 */ swc1 $f0,0x30($sp) +/* f076b60: e7a00034 */ swc1 $f0,0x34($sp) +/* f076b64: 0fc24e0e */ jal 0xf093838 +/* f076b68: e7a00038 */ swc1 $f0,0x38($sp) +/* f076b6c: 3c01bf80 */ lui $at,0xbf80 +/* f076b70: 44810000 */ mtc1 $at,$f0 +/* f076b74: 240dffff */ li $t5,-1 +/* f076b78: 240affff */ li $t2,-1 +/* f076b7c: afaa002c */ sw $t2,0x2c($sp) +/* f076b80: afad0010 */ sw $t5,0x10($sp) +/* f076b84: 00002025 */ move $a0,$zero +/* f076b88: 02402825 */ move $a1,$s2 +/* f076b8c: 2406808c */ li $a2,-32628 +/* f076b90: 2407ffff */ li $a3,-1 +/* f076b94: afa00014 */ sw $zero,0x14($sp) +/* f076b98: afa00018 */ sw $zero,0x18($sp) +/* f076b9c: afa0001c */ sw $zero,0x1c($sp) +/* f076ba0: afa00020 */ sw $zero,0x20($sp) +/* f076ba4: afa00028 */ sw $zero,0x28($sp) +/* f076ba8: e7a00024 */ swc1 $f0,0x24($sp) +/* f076bac: e7a00030 */ swc1 $f0,0x30($sp) +/* f076bb0: e7a00034 */ swc1 $f0,0x34($sp) +/* f076bb4: 0fc24e0e */ jal 0xf093838 +/* f076bb8: e7a00038 */ swc1 $f0,0x38($sp) +/* f076bbc: 3c03800a */ lui $v1,0x800a +/* f076bc0: 10000016 */ b .PB0f076c1c +/* f076bc4: 8c63e4dc */ lw $v1,-0x1b24($v1) +.PB0f076bc8: +/* f076bc8: 3c01bf80 */ lui $at,0xbf80 +/* f076bcc: 44810000 */ mtc1 $at,$f0 +/* f076bd0: 240bffff */ li $t3,-1 +/* f076bd4: 240fffff */ li $t7,-1 +/* f076bd8: afaf002c */ sw $t7,0x2c($sp) +/* f076bdc: afab0010 */ sw $t3,0x10($sp) +/* f076be0: 02402825 */ move $a1,$s2 +/* f076be4: 2406808c */ li $a2,-32628 +/* f076be8: 2407ffff */ li $a3,-1 +/* f076bec: afa00014 */ sw $zero,0x14($sp) +/* f076bf0: afa00018 */ sw $zero,0x18($sp) +/* f076bf4: afa0001c */ sw $zero,0x1c($sp) +/* f076bf8: afa00020 */ sw $zero,0x20($sp) +/* f076bfc: afa00028 */ sw $zero,0x28($sp) +/* f076c00: e7a00024 */ swc1 $f0,0x24($sp) +/* f076c04: e7a00030 */ swc1 $f0,0x30($sp) +/* f076c08: e7a00034 */ swc1 $f0,0x34($sp) +/* f076c0c: 0fc24e0e */ jal 0xf093838 +/* f076c10: e7a00038 */ swc1 $f0,0x38($sp) +/* f076c14: 3c03800a */ lui $v1,0x800a +/* f076c18: 8c63e4dc */ lw $v1,-0x1b24($v1) +.PB0f076c1c: +/* f076c1c: ae0300a4 */ sw $v1,0xa4($s0) +.PB0f076c20: +/* f076c20: 02202025 */ move $a0,$s1 +.PB0f076c24: +/* f076c24: 24050001 */ li $a1,0x1 +/* f076c28: 0fc1a792 */ jal 0xf069e48 +/* f076c2c: 24060001 */ li $a2,0x1 +/* f076c30: 10000133 */ b .PB0f077100 +/* f076c34: 8fbf005c */ lw $ra,0x5c($sp) +.PB0f076c38: +/* f076c38: 11800130 */ beqz $t4,.PB0f0770fc +/* f076c3c: 3c013f80 */ lui $at,0x3f80 +/* f076c40: 240e0001 */ li $t6,0x1 +/* f076c44: afae00fc */ sw $t6,0xfc($sp) +/* f076c48: 44816000 */ mtc1 $at,$f12 +/* f076c4c: c6000060 */ lwc1 $f0,0x60($s0) +/* f076c50: 26040068 */ addiu $a0,$s0,0x68 +/* f076c54: 26050078 */ addiu $a1,$s0,0x78 +/* f076c58: 460c003c */ c.lt.s $f0,$f12 +/* f076c5c: 00000000 */ nop +/* f076c60: 4502002a */ bc1fl .PB0f076d0c +/* f076c64: 4480a000 */ mtc1 $zero,$f20 +/* f076c68: c6020064 */ lwc1 $f2,0x64($s0) +/* f076c6c: c464004c */ lwc1 $f4,0x4c($v1) +/* f076c70: 3c017f1b */ lui $at,0x7f1b +/* f076c74: 46041202 */ mul.s $f8,$f2,$f4 +/* f076c78: 46080180 */ add.s $f6,$f0,$f8 +/* f076c7c: e6060060 */ swc1 $f6,0x60($s0) +/* f076c80: 8c790038 */ lw $t9,0x38($v1) +/* f076c84: 5b200005 */ blezl $t9,.PB0f076c9c +/* f076c88: c6000060 */ lwc1 $f0,0x60($s0) +/* f076c8c: c42ac114 */ lwc1 $f10,-0x3eec($at) +/* f076c90: 460a1102 */ mul.s $f4,$f2,$f10 +/* f076c94: e6040064 */ swc1 $f4,0x64($s0) +/* f076c98: c6000060 */ lwc1 $f0,0x60($s0) +.PB0f076c9c: +/* f076c9c: 4600603c */ c.lt.s $f12,$f0 +/* f076ca0: 00000000 */ nop +/* f076ca4: 45020004 */ bc1fl .PB0f076cb8 +/* f076ca8: 44060000 */ mfc1 $a2,$f0 +/* f076cac: e60c0060 */ swc1 $f12,0x60($s0) +/* f076cb0: c6000060 */ lwc1 $f0,0x60($s0) +/* f076cb4: 44060000 */ mfc1 $a2,$f0 +.PB0f076cb8: +/* f076cb8: 0fc25c4a */ jal 0xf097128 +/* f076cbc: 27a700ec */ addiu $a3,$sp,0xec +/* f076cc0: 27a400ec */ addiu $a0,$sp,0xec +/* f076cc4: 0fc25b51 */ jal 0xf096d44 +/* f076cc8: 27a500ac */ addiu $a1,$sp,0xac +/* f076ccc: c60c00b8 */ lwc1 $f12,0xb8($s0) +/* f076cd0: 0c005a1d */ jal 0x16874 +/* f076cd4: 27a500ac */ addiu $a1,$sp,0xac +/* f076cd8: c60c00bc */ lwc1 $f12,0xbc($s0) +/* f076cdc: 0c005a34 */ jal 0x168d0 +/* f076ce0: 27a500ac */ addiu $a1,$sp,0xac +/* f076ce4: c60c00c0 */ lwc1 $f12,0xc0($s0) +/* f076ce8: 0c005a4b */ jal 0x1692c +/* f076cec: 27a500ac */ addiu $a1,$sp,0xac +/* f076cf0: 27a400ac */ addiu $a0,$sp,0xac +/* f076cf4: 0c0059fc */ jal 0x167f0 +/* f076cf8: 2625001c */ addiu $a1,$s1,0x1c +/* f076cfc: 3c013f80 */ lui $at,0x3f80 +/* f076d00: 44816000 */ mtc1 $at,$f12 +/* f076d04: afa000fc */ sw $zero,0xfc($sp) +/* f076d08: 4480a000 */ mtc1 $zero,$f20 +.PB0f076d0c: +/* f076d0c: c6080004 */ lwc1 $f8,0x4($s0) +/* f076d10: 02202025 */ move $a0,$s1 +/* f076d14: 2629001c */ addiu $t1,$s1,0x1c +/* f076d18: 4608a032 */ c.eq.s $f20,$f8 +/* f076d1c: 00000000 */ nop +/* f076d20: 4502000c */ bc1fl .PB0f076d54 +/* f076d24: afa90074 */ sw $t1,0x74($sp) +/* f076d28: c606000c */ lwc1 $f6,0xc($s0) +/* f076d2c: 4606a032 */ c.eq.s $f20,$f6 +/* f076d30: 00000000 */ nop +/* f076d34: 45020007 */ bc1fl .PB0f076d54 +/* f076d38: afa90074 */ sw $t1,0x74($sp) +/* f076d3c: c60a0060 */ lwc1 $f10,0x60($s0) +/* f076d40: 460c503c */ c.lt.s $f10,$f12 +/* f076d44: 00000000 */ nop +/* f076d48: 450200da */ bc1fl .PB0f0770b4 +/* f076d4c: 8faf00fc */ lw $t7,0xfc($sp) +/* f076d50: afa90074 */ sw $t1,0x74($sp) +.PB0f076d54: +/* f076d54: 0fc1a335 */ jal 0xf068cd4 +/* f076d58: afa000fc */ sw $zero,0xfc($sp) +/* f076d5c: 00402025 */ move $a0,$v0 +/* f076d60: 0fc19acf */ jal 0xf066b3c +/* f076d64: 8fa50074 */ lw $a1,0x74($sp) +/* f076d68: 3c03800a */ lui $v1,0x800a +/* f076d6c: 8c63e508 */ lw $v1,-0x1af8($v1) +/* f076d70: e7a00098 */ swc1 $f0,0x98($sp) +/* f076d74: 00001025 */ move $v0,$zero +/* f076d78: 18600053 */ blez $v1,.PB0f076ec8 +/* f076d7c: 3c017f1b */ lui $at,0x7f1b +/* f076d80: c432c118 */ lwc1 $f18,-0x3ee8($at) +/* f076d84: 3c017f1b */ lui $at,0x7f1b +/* f076d88: c430c11c */ lwc1 $f16,-0x3ee4($at) +/* f076d8c: c6080004 */ lwc1 $f8,0x4($s0) +.PB0f076d90: +/* f076d90: c7a405dc */ lwc1 $f4,0x5dc($sp) +/* f076d94: 3c013f80 */ lui $at,0x3f80 +/* f076d98: 46104182 */ mul.s $f6,$f8,$f16 +/* f076d9c: c7a805e4 */ lwc1 $f8,0x5e4($sp) +/* f076da0: 46062280 */ add.s $f10,$f4,$f6 +/* f076da4: e7aa05dc */ swc1 $f10,0x5dc($sp) +/* f076da8: c604000c */ lwc1 $f4,0xc($s0) +/* f076dac: 46102182 */ mul.s $f6,$f4,$f16 +/* f076db0: 46064280 */ add.s $f10,$f8,$f6 +/* f076db4: 44814000 */ mtc1 $at,$f8 +/* f076db8: e7aa05e4 */ swc1 $f10,0x5e4($sp) +/* f076dbc: c6040060 */ lwc1 $f4,0x60($s0) +/* f076dc0: 4604403e */ c.le.s $f8,$f4 +/* f076dc4: 00000000 */ nop +/* f076dc8: 4502003c */ bc1fl .PB0f076ebc +/* f076dcc: 24420001 */ addiu $v0,$v0,0x1 +/* f076dd0: c6060098 */ lwc1 $f6,0x98($s0) +/* f076dd4: 4606a03c */ c.lt.s $f20,$f6 +/* f076dd8: 00000000 */ nop +/* f076ddc: 4502002e */ bc1fl .PB0f076e98 +/* f076de0: c6080004 */ lwc1 $f8,0x4($s0) +/* f076de4: c602000c */ lwc1 $f2,0xc($s0) +/* f076de8: c60e0004 */ lwc1 $f14,0x4($s0) +/* f076dec: afa2009c */ sw $v0,0x9c($sp) +/* f076df0: 46021282 */ mul.s $f10,$f2,$f2 +/* f076df4: 00000000 */ nop +/* f076df8: 460e7102 */ mul.s $f4,$f14,$f14 +/* f076dfc: 0c012ae4 */ jal 0x4ab90 +/* f076e00: 46045300 */ add.s $f12,$f10,$f4 +/* f076e04: 4600a03c */ c.lt.s $f20,$f0 +/* f076e08: 3c017f1b */ lui $at,0x7f1b +/* f076e0c: c430c120 */ lwc1 $f16,-0x3ee0($at) +/* f076e10: 3c017f1b */ lui $at,0x7f1b +/* f076e14: c432c124 */ lwc1 $f18,-0x3edc($at) +/* f076e18: 45000019 */ bc1f .PB0f076e80 +/* f076e1c: 8fa2009c */ lw $v0,0x9c($sp) +/* f076e20: 3c01800a */ lui $at,0x800a +/* f076e24: c426e51c */ lwc1 $f6,-0x1ae4($at) +/* f076e28: c6080098 */ lwc1 $f8,0x98($s0) +/* f076e2c: 3c013f80 */ lui $at,0x3f80 +/* f076e30: 44812000 */ mtc1 $at,$f4 +/* f076e34: 46064282 */ mul.s $f10,$f8,$f6 +/* f076e38: 46005303 */ div.s $f12,$f10,$f0 +/* f076e3c: 460c203e */ c.le.s $f4,$f12 +/* f076e40: 00000000 */ nop +/* f076e44: 45020005 */ bc1fl .PB0f076e5c +/* f076e48: c60e0004 */ lwc1 $f14,0x4($s0) +/* f076e4c: e6140004 */ swc1 $f20,0x4($s0) +/* f076e50: 1000000d */ b .PB0f076e88 +/* f076e54: e614000c */ swc1 $f20,0xc($s0) +/* f076e58: c60e0004 */ lwc1 $f14,0x4($s0) +.PB0f076e5c: +/* f076e5c: c602000c */ lwc1 $f2,0xc($s0) +/* f076e60: 460c7202 */ mul.s $f8,$f14,$f12 +/* f076e64: 00000000 */ nop +/* f076e68: 460c1282 */ mul.s $f10,$f2,$f12 +/* f076e6c: 46087181 */ sub.s $f6,$f14,$f8 +/* f076e70: 460a1101 */ sub.s $f4,$f2,$f10 +/* f076e74: e6060004 */ swc1 $f6,0x4($s0) +/* f076e78: 10000003 */ b .PB0f076e88 +/* f076e7c: e604000c */ swc1 $f4,0xc($s0) +.PB0f076e80: +/* f076e80: e6140004 */ swc1 $f20,0x4($s0) +/* f076e84: e614000c */ swc1 $f20,0xc($s0) +.PB0f076e88: +/* f076e88: 3c03800a */ lui $v1,0x800a +/* f076e8c: 1000000a */ b .PB0f076eb8 +/* f076e90: 8c63e508 */ lw $v1,-0x1af8($v1) +/* f076e94: c6080004 */ lwc1 $f8,0x4($s0) +.PB0f076e98: +/* f076e98: c60a000c */ lwc1 $f10,0xc($s0) +/* f076e9c: 3c03800a */ lui $v1,0x800a +/* f076ea0: 46124182 */ mul.s $f6,$f8,$f18 +/* f076ea4: 00000000 */ nop +/* f076ea8: 46125102 */ mul.s $f4,$f10,$f18 +/* f076eac: e6060004 */ swc1 $f6,0x4($s0) +/* f076eb0: e604000c */ swc1 $f4,0xc($s0) +/* f076eb4: 8c63e508 */ lw $v1,-0x1af8($v1) +.PB0f076eb8: +/* f076eb8: 24420001 */ addiu $v0,$v0,0x1 +.PB0f076ebc: +/* f076ebc: 0043082a */ slt $at,$v0,$v1 +/* f076ec0: 5420ffb3 */ bnezl $at,.PB0f076d90 +/* f076ec4: c6080004 */ lwc1 $f8,0x4($s0) +.PB0f076ec8: +/* f076ec8: c6480008 */ lwc1 $f8,0x8($s2) +/* f076ecc: 26440028 */ addiu $a0,$s2,0x28 +/* f076ed0: 27a505b8 */ addiu $a1,$sp,0x5b8 +/* f076ed4: e7a805c8 */ swc1 $f8,0x5c8($sp) +/* f076ed8: c646000c */ lwc1 $f6,0xc($s2) +/* f076edc: e7a605cc */ swc1 $f6,0x5cc($sp) +/* f076ee0: c64a0010 */ lwc1 $f10,0x10($s2) +/* f076ee4: afa4006c */ sw $a0,0x6c($sp) +/* f076ee8: 0fc19661 */ jal 0xf065984 +/* f076eec: e7aa05d0 */ swc1 $f10,0x5d0($sp) +/* f076ef0: 02202025 */ move $a0,$s1 +/* f076ef4: 27a505dc */ addiu $a1,$sp,0x5dc +/* f076ef8: 27a605e8 */ addiu $a2,$sp,0x5e8 +/* f076efc: 0fc1b555 */ jal 0xf06d554 +/* f076f00: 27a705f4 */ addiu $a3,$sp,0x5f4 +/* f076f04: 24180001 */ li $t8,0x1 +/* f076f08: afb805d8 */ sw $t8,0x5d8($sp) +/* f076f0c: c6440008 */ lwc1 $f4,0x8($s2) +/* f076f10: c7a60098 */ lwc1 $f6,0x98($sp) +/* f076f14: 26270058 */ addiu $a3,$s1,0x58 +/* f076f18: e7a405ac */ swc1 $f4,0x5ac($sp) +/* f076f1c: c648000c */ lwc1 $f8,0xc($s2) +/* f076f20: 27ad0096 */ addiu $t5,$sp,0x96 +/* f076f24: 27a405ac */ addiu $a0,$sp,0x5ac +/* f076f28: 46064280 */ add.s $f10,$f8,$f6 +/* f076f2c: 8fa5006c */ lw $a1,0x6c($sp) +/* f076f30: 27a600a4 */ addiu $a2,$sp,0xa4 +/* f076f34: e7aa05b0 */ swc1 $f10,0x5b0($sp) +/* f076f38: c6440010 */ lwc1 $f4,0x10($s2) +/* f076f3c: afa70074 */ sw $a3,0x74($sp) +/* f076f40: afad0010 */ sw $t5,0x10($sp) +/* f076f44: 0c00aaa4 */ jal 0x2aa90 +/* f076f48: e7a405b4 */ swc1 $f4,0x5b4($sp) +/* f076f4c: 00021c00 */ sll $v1,$v0,0x10 +/* f076f50: 1840000b */ blez $v0,.PB0f076f80 +/* f076f54: 00035403 */ sra $t2,$v1,0x10 +/* f076f58: 240b0003 */ li $t3,0x3 +/* f076f5c: afab0010 */ sw $t3,0x10($sp) +/* f076f60: 27a405c8 */ addiu $a0,$sp,0x5c8 +/* f076f64: 27a505b8 */ addiu $a1,$sp,0x5b8 +/* f076f68: 27a605ac */ addiu $a2,$sp,0x5ac +/* f076f6c: 24070021 */ li $a3,0x21 +/* f076f70: 0c00b856 */ jal 0x2e158 +/* f076f74: a7aa00a2 */ sh $t2,0xa2($sp) +/* f076f78: 1040000b */ beqz $v0,.PB0f076fa8 +/* f076f7c: 87a300a2 */ lh $v1,0xa2($sp) +.PB0f076f80: +/* f076f80: 27af0096 */ addiu $t7,$sp,0x96 +/* f076f84: afaf0010 */ sw $t7,0x10($sp) +/* f076f88: 26440008 */ addiu $a0,$s2,0x8 +/* f076f8c: 8fa5006c */ lw $a1,0x6c($sp) +/* f076f90: 27a600a4 */ addiu $a2,$sp,0xa4 +/* f076f94: 0c00aa80 */ jal 0x2aa00 +/* f076f98: 8fa70074 */ lw $a3,0x74($sp) +/* f076f9c: 00021c00 */ sll $v1,$v0,0x10 +/* f076fa0: 00036403 */ sra $t4,$v1,0x10 +/* f076fa4: 01801825 */ move $v1,$t4 +.PB0f076fa8: +/* f076fa8: 1c600017 */ bgtz $v1,.PB0f077008 +/* f076fac: c7a805c8 */ lwc1 $f8,0x5c8($sp) +/* f076fb0: e6480008 */ swc1 $f8,0x8($s2) +/* f076fb4: c7a605d0 */ lwc1 $f6,0x5d0($sp) +/* f076fb8: 264e0008 */ addiu $t6,$s2,0x8 +/* f076fbc: 02402025 */ move $a0,$s2 +/* f076fc0: e6460010 */ swc1 $f6,0x10($s2) +/* f076fc4: 0fc19789 */ jal 0xf065e24 +/* f076fc8: afae0070 */ sw $t6,0x70($sp) +/* f076fcc: 27a405b8 */ addiu $a0,$sp,0x5b8 +/* f076fd0: 0fc19661 */ jal 0xf065984 +/* f076fd4: 8fa5006c */ lw $a1,0x6c($sp) +/* f076fd8: 27b90096 */ addiu $t9,$sp,0x96 +/* f076fdc: afb90010 */ sw $t9,0x10($sp) +/* f076fe0: 8fa40070 */ lw $a0,0x70($sp) +/* f076fe4: 8fa5006c */ lw $a1,0x6c($sp) +/* f076fe8: 27a600a4 */ addiu $a2,$sp,0xa4 +/* f076fec: 0c00aa80 */ jal 0x2aa00 +/* f076ff0: 8fa70074 */ lw $a3,0x74($sp) +/* f076ff4: 00021c00 */ sll $v1,$v0,0x10 +/* f076ff8: 00034c03 */ sra $t1,$v1,0x10 +/* f076ffc: 01201825 */ move $v1,$t1 +/* f077000: e6140004 */ swc1 $f20,0x4($s0) +/* f077004: e614000c */ swc1 $f20,0xc($s0) +.PB0f077008: +/* f077008: 18600010 */ blez $v1,.PB0f07704c +/* f07700c: c7aa05cc */ lwc1 $f10,0x5cc($sp) +/* f077010: 0fc1a9fe */ jal 0xf06a7f8 +/* f077014: 02202025 */ move $a0,$s1 +/* f077018: c7aa00a4 */ lwc1 $f10,0xa4($sp) +/* f07701c: c7a40098 */ lwc1 $f4,0x98($sp) +/* f077020: 46045201 */ sub.s $f8,$f10,$f4 +/* f077024: 46080180 */ add.s $f6,$f0,$f8 +/* f077028: e646000c */ swc1 $f6,0xc($s2) +/* f07702c: 97b80096 */ lhu $t8,0x96($sp) +/* f077030: 330d4000 */ andi $t5,$t8,0x4000 +/* f077034: 11a00006 */ beqz $t5,.PB0f077050 +/* f077038: 00000000 */ nop +/* f07703c: 8e2a0040 */ lw $t2,0x40($s1) +/* f077040: 354b0004 */ ori $t3,$t2,0x4 +/* f077044: 10000002 */ b .PB0f077050 +/* f077048: ae2b0040 */ sw $t3,0x40($s1) +.PB0f07704c: +/* f07704c: e64a000c */ swc1 $f10,0xc($s2) +.PB0f077050: +/* f077050: 3c017f1b */ lui $at,0x7f1b +/* f077054: c430c128 */ lwc1 $f16,-0x3ed8($at) +/* f077058: c60e0004 */ lwc1 $f14,0x4($s0) +/* f07705c: 3c017f1b */ lui $at,0x7f1b +/* f077060: 4610703c */ c.lt.s $f14,$f16 +/* f077064: 00000000 */ nop +/* f077068: 45020012 */ bc1fl .PB0f0770b4 +/* f07706c: 8faf00fc */ lw $t7,0xfc($sp) +/* f077070: c432c12c */ lwc1 $f18,-0x3ed4($at) +/* f077074: 460e903c */ c.lt.s $f18,$f14 +/* f077078: 00000000 */ nop +/* f07707c: 4502000d */ bc1fl .PB0f0770b4 +/* f077080: 8faf00fc */ lw $t7,0xfc($sp) +/* f077084: c602000c */ lwc1 $f2,0xc($s0) +/* f077088: 4610103c */ c.lt.s $f2,$f16 +/* f07708c: 00000000 */ nop +/* f077090: 45020008 */ bc1fl .PB0f0770b4 +/* f077094: 8faf00fc */ lw $t7,0xfc($sp) +/* f077098: 4602903c */ c.lt.s $f18,$f2 +/* f07709c: 00000000 */ nop +/* f0770a0: 45020004 */ bc1fl .PB0f0770b4 +/* f0770a4: 8faf00fc */ lw $t7,0xfc($sp) +/* f0770a8: e614000c */ swc1 $f20,0xc($s0) +/* f0770ac: e6140004 */ swc1 $f20,0x4($s0) +/* f0770b0: 8faf00fc */ lw $t7,0xfc($sp) +.PB0f0770b4: +/* f0770b4: 51e0000b */ beqzl $t7,.PB0f0770e4 +/* f0770b8: 8fae05d8 */ lw $t6,0x5d8($sp) +/* f0770bc: 0fc1ab86 */ jal 0xf06ae18 +/* f0770c0: 02202025 */ move $a0,$s1 +/* f0770c4: 922c0003 */ lbu $t4,0x3($s1) +/* f0770c8: 24010008 */ li $at,0x8 +/* f0770cc: 26450028 */ addiu $a1,$s2,0x28 +/* f0770d0: 55810004 */ bnel $t4,$at,.PB0f0770e4 +/* f0770d4: 8fae05d8 */ lw $t6,0x5d8($sp) +/* f0770d8: 0fc25792 */ jal 0xf095e48 +/* f0770dc: 9224005c */ lbu $a0,0x5c($s1) +/* f0770e0: 8fae05d8 */ lw $t6,0x5d8($sp) +.PB0f0770e4: +/* f0770e4: 02202025 */ move $a0,$s1 +/* f0770e8: 24050001 */ li $a1,0x1 +/* f0770ec: 51c00004 */ beqzl $t6,.PB0f077100 +/* f0770f0: 8fbf005c */ lw $ra,0x5c($sp) +/* f0770f4: 0fc1a792 */ jal 0xf069e48 +/* f0770f8: 24060001 */ li $a2,0x1 +.PB0f0770fc: +/* f0770fc: 8fbf005c */ lw $ra,0x5c($sp) +.PB0f077100: +/* f077100: 8fa205d8 */ lw $v0,0x5d8($sp) +/* f077104: d7b40048 */ ldc1 $f20,0x48($sp) +/* f077108: 8fb00050 */ lw $s0,0x50($sp) +/* f07710c: 8fb10054 */ lw $s1,0x54($sp) +/* f077110: 8fb20058 */ lw $s2,0x58($sp) +/* f077114: 03e00008 */ jr $ra +/* f077118: 27bd0608 */ addiu $sp,$sp,0x608 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel func0f073c6c @@ -33139,7 +39186,7 @@ void doorTick(struct prop *doorprop) f32 prevfrac = door->frac; u32 stack[2]; -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA static u32 debugdoor = 0; mainOverrideVariable("debugdoor", &debugdoor); @@ -33529,7 +39576,7 @@ glabel var7f1aa44c // } //} -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel platformDisplaceProps .late_rodata @@ -35106,7 +41153,7 @@ void fanUpdateModel(struct prop *prop) mtx3Copy(sp24, fan->base.realrot); } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel autogunTick .late_rodata @@ -40797,7 +46844,7 @@ void chopperFireRocket(struct chopperobj *chopper, bool side) } } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel func0f07b3f0 .late_rodata @@ -42182,7 +48229,7 @@ glabel var7f1aa610 ); #endif -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel func0f07ba38 .late_rodata @@ -43756,7 +49803,7 @@ glabel var7f1aa668 ); #endif -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel chopperTickFall .late_rodata @@ -45946,7 +51993,7 @@ glabel var7f1aa6a8 /* f07d1e0: 27bd0170 */ addiu $sp,$sp,0x170 ); -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel hovercarTick .late_rodata @@ -53854,7 +59901,7 @@ u32 var8006abb0 = 0x00000000; u32 var8006abb4 = 0x00000000; u32 var8006abb8 = 0x00000000; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel func0f0826cc .late_rodata @@ -54278,7 +60325,7 @@ void objSetDropped(struct prop *prop, u32 droptype) } } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel func0f082a1c .late_rodata @@ -55352,7 +61399,7 @@ bool objDrop(struct prop *prop, bool lazy) return false; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel func0f083db0 .late_rodata @@ -59673,14 +65720,14 @@ void propObjGetBbox(struct prop *prop, f32 *width, f32 *ymax, f32 *ymin) } } -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA void ammotypeGetPickedUpText(char *dst) { strcat(dst, langGet(L_PROPOBJ_000)); // "Picked up" } #endif -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA struct nameinfo { s32 id; u16 singulartext; @@ -59714,7 +65761,7 @@ glabel func0f087888pf ); #endif -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA #define DETERMINER_A 1 #define DETERMINER_AN 2 @@ -59840,6 +65887,7 @@ struct nameinfo var8006aa94pf[] = { { 0 }, }; +#if VERSION >= VERSION_PAL_FINAL GLOBAL_ASM( glabel func0f0878c8pf .late_rodata @@ -60141,6 +66189,296 @@ glabel var7f1abe2cpf /* f087c74: 03e00008 */ jr $ra /* f087c78: 00000000 */ nop ); +#else +GLOBAL_ASM( +glabel func0f0878c8pf +.late_rodata +glabel var7f1abdf8pf +.word 0x7f0878f0 +.word 0x7f0878f0 +.word 0x7f0878f0 +.word 0x7f0878f0 +.word 0x7f0878f8 +.word 0x7f087998 +.word 0x7f0879b0 +.word 0x7f0879cc +.word 0x7f0879e8 +.word 0x7f087a04 +.word 0x7f087a20 +.word 0x7f087a3c +.word 0x7f087a58 +.word 0x7f087a74 +.text +/* f087818: 3c0b8008 */ lui $t3,0x8008 +/* f08781c: 8d6b6600 */ lw $t3,0x6600($t3) +/* f087820: 27bdff58 */ addiu $sp,$sp,-168 +/* f087824: afbf0014 */ sw $ra,0x14($sp) +/* f087828: 29610005 */ slti $at,$t3,0x5 +/* f08782c: afa400a8 */ sw $a0,0xa8($sp) +/* f087830: afa500ac */ sw $a1,0xac($sp) +/* f087834: afa700b4 */ sw $a3,0xb4($sp) +/* f087838: 00004025 */ move $t0,$zero +/* f08783c: 14200002 */ bnez $at,.PB0f087848 +/* f087840: 00004825 */ move $t1,$zero +/* f087844: 00005825 */ move $t3,$zero +.PB0f087848: +/* f087848: 8fae00a8 */ lw $t6,0xa8($sp) +/* f08784c: a1c00000 */ sb $zero,0x0($t6) +/* f087850: afab009c */ sw $t3,0x9c($sp) +/* f087854: afa90094 */ sw $t1,0x94($sp) +/* f087858: a7a80098 */ sh $t0,0x98($sp) +/* f08785c: afa600b0 */ sw $a2,0xb0($sp) +/* f087860: 8fa500bc */ lw $a1,0xbc($sp) +/* f087864: 0fc21df6 */ jal 0xf0877d8 +/* f087868: 8fa400ac */ lw $a0,0xac($sp) +/* f08786c: 8fa600b0 */ lw $a2,0xb0($sp) +/* f087870: 97a80098 */ lhu $t0,0x98($sp) +/* f087874: 8fa90094 */ lw $t1,0x94($sp) +/* f087878: 8faa00b4 */ lw $t2,0xb4($sp) +/* f08787c: 104000cf */ beqz $v0,.PB0f087bbc +/* f087880: 8fab009c */ lw $t3,0x9c($sp) +/* f087884: 004b7821 */ addu $t7,$v0,$t3 +/* f087888: 91e40008 */ lbu $a0,0x8($t7) +/* f08788c: 24010005 */ li $at,0x5 +/* f087890: 00803825 */ move $a3,$a0 +/* f087894: 30f8007f */ andi $t8,$a3,0x7f +/* f087898: 03003825 */ move $a3,$t8 +/* f08789c: 13010008 */ beq $t8,$at,.PB0f0878c0 +/* f0878a0: 03001825 */ move $v1,$t8 +/* f0878a4: 24010006 */ li $at,0x6 +/* f0878a8: 13010005 */ beq $t8,$at,.PB0f0878c0 +/* f0878ac: 24010007 */ li $at,0x7 +/* f0878b0: 13010003 */ beq $t8,$at,.PB0f0878c0 +/* f0878b4: 24010008 */ li $at,0x8 +/* f0878b8: 57010003 */ bnel $t8,$at,.PB0f0878c8 +/* f0878bc: 30990080 */ andi $t9,$a0,0x80 +.PB0f0878c0: +/* f0878c0: 24060001 */ li $a2,0x1 +/* f0878c4: 30990080 */ andi $t9,$a0,0x80 +.PB0f0878c8: +/* f0878c8: 1320000c */ beqz $t9,.PB0f0878fc +/* f0878cc: 246cffff */ addiu $t4,$v1,-1 +/* f0878d0: 2d810005 */ sltiu $at,$t4,0x5 +/* f0878d4: 10200009 */ beqz $at,.PB0f0878fc +/* f0878d8: 000c6080 */ sll $t4,$t4,0x2 +/* f0878dc: 3c017f1b */ lui $at,0x7f1b +/* f0878e0: 002c0821 */ addu $at,$at,$t4 +/* f0878e4: 8c2cc848 */ lw $t4,-0x37b8($at) +/* f0878e8: 01800008 */ jr $t4 +/* f0878ec: 00000000 */ nop +/* f0878f0: 10000002 */ b .PB0f0878fc +/* f0878f4: 00003025 */ move $a2,$zero +/* f0878f8: 24060001 */ li $a2,0x1 +.PB0f0878fc: +/* f0878fc: 50c0001b */ beqzl $a2,.PB0f08796c +/* f087900: 94450004 */ lhu $a1,0x4($v0) +/* f087904: 94440006 */ lhu $a0,0x6($v0) +/* f087908: 24010001 */ li $at,0x1 +/* f08790c: 10800014 */ beqz $a0,.PB0f087960 +/* f087910: 00000000 */ nop +/* f087914: 1061000a */ beq $v1,$at,.PB0f087940 +/* f087918: 3085ffff */ andi $a1,$a0,0xffff +/* f08791c: 24010002 */ li $at,0x2 +/* f087920: 10610009 */ beq $v1,$at,.PB0f087948 +/* f087924: 24010003 */ li $at,0x3 +/* f087928: 10610009 */ beq $v1,$at,.PB0f087950 +/* f08792c: 24010004 */ li $at,0x4 +/* f087930: 10610009 */ beq $v1,$at,.PB0f087958 +/* f087934: 00000000 */ nop +/* f087938: 1000000c */ b .PB0f08796c +/* f08793c: 00000000 */ nop +.PB0f087940: +/* f087940: 1000000a */ b .PB0f08796c +/* f087944: 24070005 */ li $a3,0x5 +.PB0f087948: +/* f087948: 10000008 */ b .PB0f08796c +/* f08794c: 24070006 */ li $a3,0x6 +.PB0f087950: +/* f087950: 10000006 */ b .PB0f08796c +/* f087954: 24070007 */ li $a3,0x7 +.PB0f087958: +/* f087958: 10000004 */ b .PB0f08796c +/* f08795c: 24070008 */ li $a3,0x8 +.PB0f087960: +/* f087960: 10000002 */ b .PB0f08796c +/* f087964: 94450004 */ lhu $a1,0x4($v0) +/* f087968: 94450004 */ lhu $a1,0x4($v0) +.PB0f08796c: +/* f08796c: 10a00093 */ beqz $a1,.PB0f087bbc +/* f087970: 00a03025 */ move $a2,$a1 +/* f087974: 24edffff */ addiu $t5,$a3,-1 +/* f087978: 2da10009 */ sltiu $at,$t5,0x9 +/* f08797c: 10200042 */ beqz $at,.PB0f087a88 +/* f087980: 000d6880 */ sll $t5,$t5,0x2 +/* f087984: 3c017f1b */ lui $at,0x7f1b +/* f087988: 002d0821 */ addu $at,$at,$t5 +/* f08798c: 8c2dc85c */ lw $t5,-0x37a4($at) +/* f087990: 01a00008 */ jr $t5 +/* f087994: 00000000 */ nop +/* f087998: 11400003 */ beqz $t2,.PB0f0879a8 +/* f08799c: 00000000 */ nop +/* f0879a0: 10000039 */ b .PB0f087a88 +/* f0879a4: 2408523a */ li $t0,0x523a +.PB0f0879a8: +/* f0879a8: 10000037 */ b .PB0f087a88 +/* f0879ac: 24085239 */ li $t0,0x5239 +/* f0879b0: 11400004 */ beqz $t2,.PB0f0879c4 +/* f0879b4: 2408523b */ li $t0,0x523b +/* f0879b8: 2408523c */ li $t0,0x523c +/* f0879bc: 10000032 */ b .PB0f087a88 +/* f0879c0: 24090001 */ li $t1,0x1 +.PB0f0879c4: +/* f0879c4: 10000030 */ b .PB0f087a88 +/* f0879c8: 24090001 */ li $t1,0x1 +/* f0879cc: 11400004 */ beqz $t2,.PB0f0879e0 +/* f0879d0: 2408523d */ li $t0,0x523d +/* f0879d4: 2408523e */ li $t0,0x523e +/* f0879d8: 1000002b */ b .PB0f087a88 +/* f0879dc: 24090002 */ li $t1,0x2 +.PB0f0879e0: +/* f0879e0: 10000029 */ b .PB0f087a88 +/* f0879e4: 24090002 */ li $t1,0x2 +/* f0879e8: 11400004 */ beqz $t2,.PB0f0879fc +/* f0879ec: 2408523f */ li $t0,0x523f +/* f0879f0: 24085240 */ li $t0,0x5240 +/* f0879f4: 10000024 */ b .PB0f087a88 +/* f0879f8: 24090003 */ li $t1,0x3 +.PB0f0879fc: +/* f0879fc: 10000022 */ b .PB0f087a88 +/* f087a00: 24090003 */ li $t1,0x3 +/* f087a04: 11400004 */ beqz $t2,.PB0f087a18 +/* f087a08: 24085231 */ li $t0,0x5231 +/* f087a0c: 24085232 */ li $t0,0x5232 +/* f087a10: 1000001d */ b .PB0f087a88 +/* f087a14: 24090004 */ li $t1,0x4 +.PB0f087a18: +/* f087a18: 1000001b */ b .PB0f087a88 +/* f087a1c: 24090004 */ li $t1,0x4 +/* f087a20: 11400004 */ beqz $t2,.PB0f087a34 +/* f087a24: 24085233 */ li $t0,0x5233 +/* f087a28: 24085234 */ li $t0,0x5234 +/* f087a2c: 10000016 */ b .PB0f087a88 +/* f087a30: 24090005 */ li $t1,0x5 +.PB0f087a34: +/* f087a34: 10000014 */ b .PB0f087a88 +/* f087a38: 24090005 */ li $t1,0x5 +/* f087a3c: 11400004 */ beqz $t2,.PB0f087a50 +/* f087a40: 24085235 */ li $t0,0x5235 +/* f087a44: 24085236 */ li $t0,0x5236 +/* f087a48: 1000000f */ b .PB0f087a88 +/* f087a4c: 24090006 */ li $t1,0x6 +.PB0f087a50: +/* f087a50: 1000000d */ b .PB0f087a88 +/* f087a54: 24090006 */ li $t1,0x6 +/* f087a58: 11400004 */ beqz $t2,.PB0f087a6c +/* f087a5c: 24085237 */ li $t0,0x5237 +/* f087a60: 24085238 */ li $t0,0x5238 +/* f087a64: 10000008 */ b .PB0f087a88 +/* f087a68: 24090007 */ li $t1,0x7 +.PB0f087a6c: +/* f087a6c: 10000006 */ b .PB0f087a88 +/* f087a70: 24090007 */ li $t1,0x7 +/* f087a74: 11400003 */ beqz $t2,.PB0f087a84 +/* f087a78: 24090001 */ li $t1,0x1 +/* f087a7c: 10000002 */ b .PB0f087a88 +/* f087a80: 24085230 */ li $t0,0x5230 +.PB0f087a84: +/* f087a84: 2408522f */ li $t0,0x522f +.PB0f087a88: +/* f087a88: 15400005 */ bnez $t2,.PB0f087aa0 +/* f087a8c: 8fae00b8 */ lw $t6,0xb8($sp) +/* f087a90: 24010002 */ li $at,0x2 +/* f087a94: 15610002 */ bne $t3,$at,.PB0f087aa0 +/* f087a98: 00000000 */ nop +/* f087a9c: 00004025 */ move $t0,$zero +.PB0f087aa0: +/* f087aa0: 11c00002 */ beqz $t6,.PB0f087aac +/* f087aa4: 00c02025 */ move $a0,$a2 +/* f087aa8: 00004025 */ move $t0,$zero +.PB0f087aac: +/* f087aac: 11000011 */ beqz $t0,.PB0f087af4 +/* f087ab0: 00000000 */ nop +/* f087ab4: 01002025 */ move $a0,$t0 +/* f087ab8: afa60020 */ sw $a2,0x20($sp) +/* f087abc: 0fc5c06a */ jal 0xf1701a8 +/* f087ac0: afa90094 */ sw $t1,0x94($sp) +/* f087ac4: 8fa40020 */ lw $a0,0x20($sp) +/* f087ac8: 0fc5c06a */ jal 0xf1701a8 +/* f087acc: afa20024 */ sw $v0,0x24($sp) +/* f087ad0: 3c057f1b */ lui $a1,0x7f1b +/* f087ad4: 24a5bd4c */ addiu $a1,$a1,-17076 +/* f087ad8: 27a4002c */ addiu $a0,$sp,0x2c +/* f087adc: 8fa60024 */ lw $a2,0x24($sp) +/* f087ae0: 0c004e1d */ jal 0x13874 +/* f087ae4: 00403825 */ move $a3,$v0 +/* f087ae8: 8fa90094 */ lw $t1,0x94($sp) +/* f087aec: 1000000a */ b .PB0f087b18 +/* f087af0: 8faa00b4 */ lw $t2,0xb4($sp) +.PB0f087af4: +/* f087af4: 0fc5c06a */ jal 0xf1701a8 +/* f087af8: afa90094 */ sw $t1,0x94($sp) +/* f087afc: 3c057f1b */ lui $a1,0x7f1b +/* f087b00: 24a5bd54 */ addiu $a1,$a1,-17068 +/* f087b04: 27a4002c */ addiu $a0,$sp,0x2c +/* f087b08: 0c004e1d */ jal 0x13874 +/* f087b0c: 00403025 */ move $a2,$v0 +/* f087b10: 8fa90094 */ lw $t1,0x94($sp) +/* f087b14: 8faa00b4 */ lw $t2,0xb4($sp) +.PB0f087b18: +/* f087b18: 93af002c */ lbu $t7,0x2c($sp) +/* f087b1c: 27a6002c */ addiu $a2,$sp,0x2c +/* f087b20: 00c01825 */ move $v1,$a2 +/* f087b24: 11e0000b */ beqz $t7,.PB0f087b54 +/* f087b28: 27b8002c */ addiu $t8,$sp,0x2c +/* f087b2c: 93020000 */ lbu $v0,0x0($t8) +/* f087b30: 2404000a */ li $a0,0xa +.PB0f087b34: +/* f087b34: 54820004 */ bnel $a0,$v0,.PB0f087b48 +/* f087b38: 24630001 */ addiu $v1,$v1,0x1 +/* f087b3c: 10000002 */ b .PB0f087b48 +/* f087b40: a0600000 */ sb $zero,0x0($v1) +/* f087b44: 24630001 */ addiu $v1,$v1,0x1 +.PB0f087b48: +/* f087b48: 90620000 */ lbu $v0,0x0($v1) +/* f087b4c: 1440fff9 */ bnez $v0,.PB0f087b34 +/* f087b50: 00000000 */ nop +.PB0f087b54: +/* f087b54: 8fb900b8 */ lw $t9,0xb8($sp) +/* f087b58: 1320000b */ beqz $t9,.PB0f087b88 +/* f087b5c: 00000000 */ nop +/* f087b60: 0fc5c06a */ jal 0xf1701a8 +/* f087b64: 24045208 */ li $a0,0x5208 +/* f087b68: 3c057f1b */ lui $a1,0x7f1b +/* f087b6c: 24a5bd58 */ addiu $a1,$a1,-17064 +/* f087b70: 8fa400a8 */ lw $a0,0xa8($sp) +/* f087b74: 00403025 */ move $a2,$v0 +/* f087b78: 0c004e1d */ jal 0x13874 +/* f087b7c: 27a7002c */ addiu $a3,$sp,0x2c +/* f087b80: 1000000f */ b .PB0f087bc0 +/* f087b84: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f087b88: +/* f087b88: 15400009 */ bnez $t2,.PB0f087bb0 +/* f087b8c: 8fa400a8 */ lw $a0,0xa8($sp) +/* f087b90: 0fc5c06a */ jal 0xf1701a8 +/* f087b94: 25245200 */ addiu $a0,$t1,0x5200 +/* f087b98: 8fa400a8 */ lw $a0,0xa8($sp) +/* f087b9c: 00402825 */ move $a1,$v0 +/* f087ba0: 0c004e1d */ jal 0x13874 +/* f087ba4: 27a6002c */ addiu $a2,$sp,0x2c +/* f087ba8: 10000005 */ b .PB0f087bc0 +/* f087bac: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f087bb0: +/* f087bb0: 3c057f1b */ lui $a1,0x7f1b +/* f087bb4: 0c004e1d */ jal 0x13874 +/* f087bb8: 24a5bd60 */ addiu $a1,$a1,-17056 +.PB0f087bbc: +/* f087bbc: 8fbf0014 */ lw $ra,0x14($sp) +.PB0f087bc0: +/* f087bc0: 27bd00a8 */ addiu $sp,$sp,0xa8 +/* f087bc4: 03e00008 */ jr $ra +/* f087bc8: 00000000 */ nop +); +#endif const char varf71ab2f8pf[] = "%s%s"; const char varf71ab300pf[] = "%s"; @@ -60292,7 +66630,7 @@ const char varf71ab30cpf[] = "%s.\n"; //} #endif -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA void ammotypeGetDeterminer(char *dst, s32 ammotype, s32 qty) { bool determiner_a = false; @@ -60390,7 +66728,7 @@ void ammotypeGetDeterminer(char *dst, s32 ammotype, s32 qty) } #endif -#if VERSION < VERSION_PAL_FINAL +#if VERSION < VERSION_PAL_BETA GLOBAL_ASM( glabel ammotypeGetPickupName .late_rodata @@ -60757,7 +67095,7 @@ void ammotypeGetPickupMessage(char *dst, s32 ammotype, s32 qty) *dst = '\0'; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA if (g_Jpn) { strcat(dst, "\n"); } else { @@ -60930,7 +67268,7 @@ s32 weaponGetPickupAmmoQty(struct weaponobj *weapon) void weaponGetPickupText(char *buffer, s32 weaponnum, bool dual) { -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA // PAL changes the implementation of this function to use a lookup table, // with some fake weaponnums for the different eyespy types. s32 playercount = PLAYERCOUNT(); @@ -61040,7 +67378,7 @@ void currentPlayerQueuePickupWeaponHudmsg(u32 weaponnum, bool dual) const char var7f1aa140[] = "autodoorcanclose: blocking door\n\n"; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel propPickupByPlayer .late_rodata diff --git a/src/game/sight.c b/src/game/sight.c index aa590c0b7..3dc128642 100644 --- a/src/game/sight.c +++ b/src/game/sight.c @@ -332,7 +332,7 @@ s32 func0f0d789c(s32 arg0, s32 arg1, s32 arg2, s32 arg3) return value / arg3 + arg1; } -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel sightRenderTargetBox /* f0d78f4: 27bdff68 */ addiu $sp,$sp,-152 @@ -2311,6 +2311,548 @@ glabel var7f1af0ccpf /* f0d9510: 03e00008 */ jr $ra /* f0d9514: 27bd00d0 */ addiu $sp,$sp,0xd0 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f0d87a8 +.late_rodata +glabel var7f1adde0 +.word 0xc019999a +glabel var7f1adde4 +.word 0x4019999a +glabel var7f1adde8 +.word 0x3d4ccccd +glabel var7f1af0bcpf +.word 0x3d75c290 +glabel var7f1af0c0pf +.word 0xbd75c290 +glabel var7f1af0c4pf +.word 0x3d4ccccd +glabel var7f1af0c8pf +.word 0x3d75c290 +glabel var7f1af0ccpf +.word 0xbd75c290 +.text +/* f0d8c48: 27bdff30 */ addiu $sp,$sp,-208 +/* f0d8c4c: 3c03800a */ lui $v1,0x800a +/* f0d8c50: 8c63e508 */ lw $v1,-0x1af8($v1) +/* f0d8c54: afb00048 */ sw $s0,0x48($sp) +/* f0d8c58: 00808025 */ move $s0,$a0 +/* f0d8c5c: afbf004c */ sw $ra,0x4c($sp) +/* f0d8c60: f7be0040 */ sdc1 $f30,0x40($sp) +/* f0d8c64: f7bc0038 */ sdc1 $f28,0x38($sp) +/* f0d8c68: f7ba0030 */ sdc1 $f26,0x30($sp) +/* f0d8c6c: f7b80028 */ sdc1 $f24,0x28($sp) +/* f0d8c70: f7b60020 */ sdc1 $f22,0x20($sp) +/* f0d8c74: f7b40018 */ sdc1 $f20,0x18($sp) +/* f0d8c78: afa500d4 */ sw $a1,0xd4($sp) +/* f0d8c7c: afa600d8 */ sw $a2,0xd8($sp) +/* f0d8c80: afa700dc */ sw $a3,0xdc($sp) +/* f0d8c84: 1860008c */ blez $v1,.PB0f0d8eb8 +/* f0d8c88: 00001025 */ move $v0,$zero +/* f0d8c8c: 3c01bf00 */ lui $at,0xbf00 +/* f0d8c90: 4481f000 */ mtc1 $at,$f30 +/* f0d8c94: 3c013f00 */ lui $at,0x3f00 +/* f0d8c98: 4481e000 */ mtc1 $at,$f28 +/* f0d8c9c: 3c018007 */ lui $at,0x8007 +/* f0d8ca0: c43a2c58 */ lwc1 $f26,0x2c58($at) +/* f0d8ca4: 44852000 */ mtc1 $a1,$f4 +/* f0d8ca8: 44864000 */ mtc1 $a2,$f8 +/* f0d8cac: 3c018007 */ lui $at,0x8007 +/* f0d8cb0: c4382c54 */ lwc1 $f24,0x2c54($at) +/* f0d8cb4: 3c017f1b */ lui $at,0x7f1b +/* f0d8cb8: 468021a0 */ cvt.s.w $f6,$f4 +/* f0d8cbc: c434fb00 */ lwc1 $f20,-0x500($at) +/* f0d8cc0: 3c017f1b */ lui $at,0x7f1b +/* f0d8cc4: c432fb04 */ lwc1 $f18,-0x4fc($at) +/* f0d8cc8: 3c018007 */ lui $at,0x8007 +/* f0d8ccc: 468042a0 */ cvt.s.w $f10,$f8 +/* f0d8cd0: c4302c60 */ lwc1 $f16,0x2c60($at) +/* f0d8cd4: 3c018007 */ lui $at,0x8007 +/* f0d8cd8: 4480b000 */ mtc1 $zero,$f22 +/* f0d8cdc: c42e2c5c */ lwc1 $f14,0x2c5c($at) +/* f0d8ce0: e7a60074 */ swc1 $f6,0x74($sp) +/* f0d8ce4: e7aa006c */ swc1 $f10,0x6c($sp) +/* f0d8ce8: c7a40074 */ lwc1 $f4,0x74($sp) +.PB0f0d8cec: +/* f0d8cec: 24420001 */ addiu $v0,$v0,0x1 +/* f0d8cf0: 3c017f1b */ lui $at,0x7f1b +/* f0d8cf4: 46182301 */ sub.s $f12,$f4,$f24 +/* f0d8cf8: c7a8006c */ lwc1 $f8,0x6c($sp) +/* f0d8cfc: 460ce03c */ c.lt.s $f28,$f12 +/* f0d8d00: 00000000 */ nop +/* f0d8d04: 45010005 */ bc1t .PB0f0d8d1c +/* f0d8d08: 00000000 */ nop +/* f0d8d0c: 461e603c */ c.lt.s $f12,$f30 +/* f0d8d10: 00000000 */ nop +/* f0d8d14: 45020029 */ bc1fl .PB0f0d8dbc +/* f0d8d18: c7b80074 */ lwc1 $f24,0x74($sp) +.PB0f0d8d1c: +/* f0d8d1c: c426fb08 */ lwc1 $f6,-0x4f8($at) +/* f0d8d20: 3c017f1b */ lui $at,0x7f1b +/* f0d8d24: 46066002 */ mul.s $f0,$f12,$f6 +/* f0d8d28: 4600903c */ c.lt.s $f18,$f0 +/* f0d8d2c: 00000000 */ nop +/* f0d8d30: 45020003 */ bc1fl .PB0f0d8d40 +/* f0d8d34: 4614003c */ c.lt.s $f0,$f20 +/* f0d8d38: 46009006 */ mov.s $f0,$f18 +/* f0d8d3c: 4614003c */ c.lt.s $f0,$f20 +.PB0f0d8d40: +/* f0d8d40: 00000000 */ nop +/* f0d8d44: 45020003 */ bc1fl .PB0f0d8d54 +/* f0d8d48: 4600703c */ c.lt.s $f14,$f0 +/* f0d8d4c: 4600a006 */ mov.s $f0,$f20 +/* f0d8d50: 4600703c */ c.lt.s $f14,$f0 +.PB0f0d8d54: +/* f0d8d54: 00000000 */ nop +/* f0d8d58: 45020004 */ bc1fl .PB0f0d8d6c +/* f0d8d5c: 460e003c */ c.lt.s $f0,$f14 +/* f0d8d60: 10000008 */ b .PB0f0d8d84 +/* f0d8d64: c420fb0c */ lwc1 $f0,-0x4f4($at) +/* f0d8d68: 460e003c */ c.lt.s $f0,$f14 +.PB0f0d8d6c: +/* f0d8d6c: 3c017f1b */ lui $at,0x7f1b +/* f0d8d70: 45020004 */ bc1fl .PB0f0d8d84 +/* f0d8d74: 4600b006 */ mov.s $f0,$f22 +/* f0d8d78: 10000002 */ b .PB0f0d8d84 +/* f0d8d7c: c420fb10 */ lwc1 $f0,-0x4f0($at) +/* f0d8d80: 4600b006 */ mov.s $f0,$f22 +.PB0f0d8d84: +/* f0d8d84: 46007380 */ add.s $f14,$f14,$f0 +/* f0d8d88: 460e903c */ c.lt.s $f18,$f14 +/* f0d8d8c: 00000000 */ nop +/* f0d8d90: 45020003 */ bc1fl .PB0f0d8da0 +/* f0d8d94: 4614703c */ c.lt.s $f14,$f20 +/* f0d8d98: 46009386 */ mov.s $f14,$f18 +/* f0d8d9c: 4614703c */ c.lt.s $f14,$f20 +.PB0f0d8da0: +/* f0d8da0: 00000000 */ nop +/* f0d8da4: 45000002 */ bc1f .PB0f0d8db0 +/* f0d8da8: 00000000 */ nop +/* f0d8dac: 4600a386 */ mov.s $f14,$f20 +.PB0f0d8db0: +/* f0d8db0: 10000003 */ b .PB0f0d8dc0 +/* f0d8db4: 460ec600 */ add.s $f24,$f24,$f14 +/* f0d8db8: c7b80074 */ lwc1 $f24,0x74($sp) +.PB0f0d8dbc: +/* f0d8dbc: 4600b386 */ mov.s $f14,$f22 +.PB0f0d8dc0: +/* f0d8dc0: 461a4301 */ sub.s $f12,$f8,$f26 +/* f0d8dc4: 3c017f1b */ lui $at,0x7f1b +/* f0d8dc8: 460ce03c */ c.lt.s $f28,$f12 +/* f0d8dcc: 00000000 */ nop +/* f0d8dd0: 45010005 */ bc1t .PB0f0d8de8 +/* f0d8dd4: 00000000 */ nop +/* f0d8dd8: 461e603c */ c.lt.s $f12,$f30 +/* f0d8ddc: 00000000 */ nop +/* f0d8de0: 45020029 */ bc1fl .PB0f0d8e88 +/* f0d8de4: c7ba006c */ lwc1 $f26,0x6c($sp) +.PB0f0d8de8: +/* f0d8de8: c42afb14 */ lwc1 $f10,-0x4ec($at) +/* f0d8dec: 3c017f1b */ lui $at,0x7f1b +/* f0d8df0: 460a6002 */ mul.s $f0,$f12,$f10 +/* f0d8df4: 4600903c */ c.lt.s $f18,$f0 +/* f0d8df8: 00000000 */ nop +/* f0d8dfc: 45020003 */ bc1fl .PB0f0d8e0c +/* f0d8e00: 4614003c */ c.lt.s $f0,$f20 +/* f0d8e04: 46009006 */ mov.s $f0,$f18 +/* f0d8e08: 4614003c */ c.lt.s $f0,$f20 +.PB0f0d8e0c: +/* f0d8e0c: 00000000 */ nop +/* f0d8e10: 45020003 */ bc1fl .PB0f0d8e20 +/* f0d8e14: 4600803c */ c.lt.s $f16,$f0 +/* f0d8e18: 4600a006 */ mov.s $f0,$f20 +/* f0d8e1c: 4600803c */ c.lt.s $f16,$f0 +.PB0f0d8e20: +/* f0d8e20: 00000000 */ nop +/* f0d8e24: 45020004 */ bc1fl .PB0f0d8e38 +/* f0d8e28: 4610003c */ c.lt.s $f0,$f16 +/* f0d8e2c: 10000008 */ b .PB0f0d8e50 +/* f0d8e30: c420fb18 */ lwc1 $f0,-0x4e8($at) +/* f0d8e34: 4610003c */ c.lt.s $f0,$f16 +.PB0f0d8e38: +/* f0d8e38: 3c017f1b */ lui $at,0x7f1b +/* f0d8e3c: 45020004 */ bc1fl .PB0f0d8e50 +/* f0d8e40: 4600b006 */ mov.s $f0,$f22 +/* f0d8e44: 10000002 */ b .PB0f0d8e50 +/* f0d8e48: c420fb1c */ lwc1 $f0,-0x4e4($at) +/* f0d8e4c: 4600b006 */ mov.s $f0,$f22 +.PB0f0d8e50: +/* f0d8e50: 46008400 */ add.s $f16,$f16,$f0 +/* f0d8e54: 4610903c */ c.lt.s $f18,$f16 +/* f0d8e58: 00000000 */ nop +/* f0d8e5c: 45020003 */ bc1fl .PB0f0d8e6c +/* f0d8e60: 4614803c */ c.lt.s $f16,$f20 +/* f0d8e64: 46009406 */ mov.s $f16,$f18 +/* f0d8e68: 4614803c */ c.lt.s $f16,$f20 +.PB0f0d8e6c: +/* f0d8e6c: 00000000 */ nop +/* f0d8e70: 45000002 */ bc1f .PB0f0d8e7c +/* f0d8e74: 00000000 */ nop +/* f0d8e78: 4600a406 */ mov.s $f16,$f20 +.PB0f0d8e7c: +/* f0d8e7c: 10000003 */ b .PB0f0d8e8c +/* f0d8e80: 4610d680 */ add.s $f26,$f26,$f16 +/* f0d8e84: c7ba006c */ lwc1 $f26,0x6c($sp) +.PB0f0d8e88: +/* f0d8e88: 4600b406 */ mov.s $f16,$f22 +.PB0f0d8e8c: +/* f0d8e8c: 0043082a */ slt $at,$v0,$v1 +/* f0d8e90: 5420ff96 */ bnezl $at,.PB0f0d8cec +/* f0d8e94: c7a40074 */ lwc1 $f4,0x74($sp) +/* f0d8e98: 3c018007 */ lui $at,0x8007 +/* f0d8e9c: e4302c60 */ swc1 $f16,0x2c60($at) +/* f0d8ea0: 3c018007 */ lui $at,0x8007 +/* f0d8ea4: e42e2c5c */ swc1 $f14,0x2c5c($at) +/* f0d8ea8: 3c018007 */ lui $at,0x8007 +/* f0d8eac: e4382c54 */ swc1 $f24,0x2c54($at) +/* f0d8eb0: 3c018007 */ lui $at,0x8007 +/* f0d8eb4: e43a2c58 */ swc1 $f26,0x2c58($at) +.PB0f0d8eb8: +/* f0d8eb8: 3c018007 */ lui $at,0x8007 +/* f0d8ebc: c4382c54 */ lwc1 $f24,0x2c54($at) +/* f0d8ec0: 3c018007 */ lui $at,0x8007 +/* f0d8ec4: c43a2c58 */ lwc1 $f26,0x2c58($at) +/* f0d8ec8: 4600c10d */ trunc.w.s $f4,$f24 +/* f0d8ecc: 3c0500ff */ lui $a1,0xff +/* f0d8ed0: 34a50028 */ ori $a1,$a1,0x28 +/* f0d8ed4: 4600d18d */ trunc.w.s $f6,$f26 +/* f0d8ed8: 44192000 */ mfc1 $t9,$f4 +/* f0d8edc: 02002025 */ move $a0,$s0 +/* f0d8ee0: 440f3000 */ mfc1 $t7,$f6 +/* f0d8ee4: afb900cc */ sw $t9,0xcc($sp) +/* f0d8ee8: 0fc552fc */ jal 0xf154bf0 +/* f0d8eec: afaf00c8 */ sw $t7,0xc8($sp) +/* f0d8ef0: 3c038008 */ lui $v1,0x8008 +/* f0d8ef4: 8fab00d4 */ lw $t3,0xd4($sp) +/* f0d8ef8: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0d8efc: 8c790000 */ lw $t9,0x0($v1) +/* f0d8f00: 25650002 */ addiu $a1,$t3,0x2 +/* f0d8f04: 8faa00d8 */ lw $t2,0xd8($sp) +/* f0d8f08: 00b90019 */ multu $a1,$t9 +/* f0d8f0c: 3c06f600 */ lui $a2,0xf600 +/* f0d8f10: 314803ff */ andi $t0,$t2,0x3ff +/* f0d8f14: 0008c080 */ sll $t8,$t0,0x2 +/* f0d8f18: 03004025 */ move $t0,$t8 +/* f0d8f1c: 2567ffff */ addiu $a3,$t3,-1 +/* f0d8f20: 25490001 */ addiu $t1,$t2,0x1 +/* f0d8f24: 24440018 */ addiu $a0,$v0,0x18 +/* f0d8f28: 00007012 */ mflo $t6 +/* f0d8f2c: 31cf03ff */ andi $t7,$t6,0x3ff +/* f0d8f30: 000fc380 */ sll $t8,$t7,0xe +/* f0d8f34: 0306c825 */ or $t9,$t8,$a2 +/* f0d8f38: 03287025 */ or $t6,$t9,$t0 +/* f0d8f3c: ac4e0000 */ sw $t6,0x0($v0) +/* f0d8f40: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d8f44: 00ef0019 */ multu $a3,$t7 +/* f0d8f48: 254fffff */ addiu $t7,$t2,-1 +/* f0d8f4c: 0000c012 */ mflo $t8 +/* f0d8f50: 331903ff */ andi $t9,$t8,0x3ff +/* f0d8f54: 00197380 */ sll $t6,$t9,0xe +/* f0d8f58: 31f803ff */ andi $t8,$t7,0x3ff +/* f0d8f5c: 0018c880 */ sll $t9,$t8,0x2 +/* f0d8f60: 01d97825 */ or $t7,$t6,$t9 +/* f0d8f64: ac4f0004 */ sw $t7,0x4($v0) +/* f0d8f68: 8c790000 */ lw $t9,0x0($v1) +/* f0d8f6c: 313803ff */ andi $t8,$t1,0x3ff +/* f0d8f70: 00184880 */ sll $t1,$t8,0x2 +/* f0d8f74: 00b90019 */ multu $a1,$t9 +/* f0d8f78: 00007812 */ mflo $t7 +/* f0d8f7c: 31f803ff */ andi $t8,$t7,0x3ff +/* f0d8f80: 00187380 */ sll $t6,$t8,0xe +/* f0d8f84: 01c6c825 */ or $t9,$t6,$a2 +/* f0d8f88: 03297825 */ or $t7,$t9,$t1 +/* f0d8f8c: ac4f0008 */ sw $t7,0x8($v0) +/* f0d8f90: 8c780000 */ lw $t8,0x0($v1) +/* f0d8f94: 00f80019 */ multu $a3,$t8 +/* f0d8f98: 00007012 */ mflo $t6 +/* f0d8f9c: 31d903ff */ andi $t9,$t6,0x3ff +/* f0d8fa0: 00197b80 */ sll $t7,$t9,0xe +/* f0d8fa4: 01e8c025 */ or $t8,$t7,$t0 +/* f0d8fa8: ac58000c */ sw $t8,0xc($v0) +/* f0d8fac: 8c6e0000 */ lw $t6,0x0($v1) +/* f0d8fb0: 00ae0019 */ multu $a1,$t6 +/* f0d8fb4: 0000c812 */ mflo $t9 +/* f0d8fb8: 332f03ff */ andi $t7,$t9,0x3ff +/* f0d8fbc: 000fc380 */ sll $t8,$t7,0xe +/* f0d8fc0: 25590002 */ addiu $t9,$t2,0x2 +/* f0d8fc4: 332f03ff */ andi $t7,$t9,0x3ff +/* f0d8fc8: 03067025 */ or $t6,$t8,$a2 +/* f0d8fcc: 000fc080 */ sll $t8,$t7,0x2 +/* f0d8fd0: 01d8c825 */ or $t9,$t6,$t8 +/* f0d8fd4: ac590010 */ sw $t9,0x10($v0) +/* f0d8fd8: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d8fdc: 00ef0019 */ multu $a3,$t7 +/* f0d8fe0: 00007012 */ mflo $t6 +/* f0d8fe4: 31d803ff */ andi $t8,$t6,0x3ff +/* f0d8fe8: 0018cb80 */ sll $t9,$t8,0xe +/* f0d8fec: 03297825 */ or $t7,$t9,$t1 +/* f0d8ff0: 0fc55313 */ jal 0xf154c4c +/* f0d8ff4: ac4f0014 */ sw $t7,0x14($v0) +/* f0d8ff8: 00402025 */ move $a0,$v0 +/* f0d8ffc: 0fc552fc */ jal 0xf154bf0 +/* f0d9000: 8fa500e4 */ lw $a1,0xe4($sp) +/* f0d9004: 8fb800dc */ lw $t8,0xdc($sp) +/* f0d9008: 8fb900c8 */ lw $t9,0xc8($sp) +/* f0d900c: 8fae00cc */ lw $t6,0xcc($sp) +/* f0d9010: 3c038008 */ lui $v1,0x8008 +/* f0d9014: 24631f90 */ addiu $v1,$v1,0x1f90 +/* f0d9018: 0338f821 */ addu $ra,$t9,$t8 +/* f0d901c: 8c790000 */ lw $t9,0x0($v1) +/* f0d9020: 01d82823 */ subu $a1,$t6,$t8 +/* f0d9024: 24ac0001 */ addiu $t4,$a1,0x1 +/* f0d9028: 01990019 */ multu $t4,$t9 +/* f0d902c: 27e80001 */ addiu $t0,$ra,0x1 +/* f0d9030: 310f03ff */ andi $t7,$t0,0x3ff +/* f0d9034: 000f4080 */ sll $t0,$t7,0x2 +/* f0d9038: 3c06f600 */ lui $a2,0xf600 +/* f0d903c: 244b0018 */ addiu $t3,$v0,0x18 +/* f0d9040: 25700008 */ addiu $s0,$t3,0x8 +/* f0d9044: 0000c012 */ mflo $t8 +/* f0d9048: 330f03ff */ andi $t7,$t8,0x3ff +/* f0d904c: 000f7380 */ sll $t6,$t7,0xe +/* f0d9050: 01c6c825 */ or $t9,$t6,$a2 +/* f0d9054: 0328c025 */ or $t8,$t9,$t0 +/* f0d9058: ac580000 */ sw $t8,0x0($v0) +/* f0d905c: 8c780000 */ lw $t8,0x0($v1) +/* f0d9060: 8faf00c8 */ lw $t7,0xc8($sp) +/* f0d9064: 8fae00dc */ lw $t6,0xdc($sp) +/* f0d9068: 00b80019 */ multu $a1,$t8 +/* f0d906c: 01ee3823 */ subu $a3,$t7,$t6 +/* f0d9070: 30e403ff */ andi $a0,$a3,0x3ff +/* f0d9074: 0004c880 */ sll $t9,$a0,0x2 +/* f0d9078: 03202025 */ move $a0,$t9 +/* f0d907c: 24ed0001 */ addiu $t5,$a3,0x1 +/* f0d9080: 00007812 */ mflo $t7 +/* f0d9084: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0d9088: 000ecb80 */ sll $t9,$t6,0xe +/* f0d908c: 0324c025 */ or $t8,$t9,$a0 +/* f0d9090: ac580004 */ sw $t8,0x4($v0) +/* f0d9094: 8faf00cc */ lw $t7,0xcc($sp) +/* f0d9098: 8fae00dc */ lw $t6,0xdc($sp) +/* f0d909c: 8c790000 */ lw $t9,0x0($v1) +/* f0d90a0: 01ee5021 */ addu $t2,$t7,$t6 +/* f0d90a4: 25490001 */ addiu $t1,$t2,0x1 +/* f0d90a8: 01390019 */ multu $t1,$t9 +/* f0d90ac: 0000c012 */ mflo $t8 +/* f0d90b0: 330f03ff */ andi $t7,$t8,0x3ff +/* f0d90b4: 000f7380 */ sll $t6,$t7,0xe +/* f0d90b8: 01c6c825 */ or $t9,$t6,$a2 +/* f0d90bc: 0328c025 */ or $t8,$t9,$t0 +/* f0d90c0: ac580008 */ sw $t8,0x8($v0) +/* f0d90c4: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d90c8: 014f0019 */ multu $t2,$t7 +/* f0d90cc: 00007012 */ mflo $t6 +/* f0d90d0: 31d903ff */ andi $t9,$t6,0x3ff +/* f0d90d4: 0019c380 */ sll $t8,$t9,0xe +/* f0d90d8: 03047825 */ or $t7,$t8,$a0 +/* f0d90dc: ac4f000c */ sw $t7,0xc($v0) +/* f0d90e0: 8c780000 */ lw $t8,0x0($v1) +/* f0d90e4: 31ae03ff */ andi $t6,$t5,0x3ff +/* f0d90e8: 000e6880 */ sll $t5,$t6,0x2 +/* f0d90ec: 01380019 */ multu $t1,$t8 +/* f0d90f0: 00007812 */ mflo $t7 +/* f0d90f4: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0d90f8: 000ecb80 */ sll $t9,$t6,0xe +/* f0d90fc: 0326c025 */ or $t8,$t9,$a2 +/* f0d9100: 030d7825 */ or $t7,$t8,$t5 +/* f0d9104: ac4f0010 */ sw $t7,0x10($v0) +/* f0d9108: 8c6e0000 */ lw $t6,0x0($v1) +/* f0d910c: afbf006c */ sw $ra,0x6c($sp) +/* f0d9110: 00ae0019 */ multu $a1,$t6 +/* f0d9114: 0000c812 */ mflo $t9 +/* f0d9118: 333803ff */ andi $t8,$t9,0x3ff +/* f0d911c: 00187b80 */ sll $t7,$t8,0xe +/* f0d9120: 01e47025 */ or $t6,$t7,$a0 +/* f0d9124: ac4e0014 */ sw $t6,0x14($v0) +/* f0d9128: 8c790000 */ lw $t9,0x0($v1) +/* f0d912c: 01390019 */ multu $t1,$t9 +/* f0d9130: 0000c012 */ mflo $t8 +/* f0d9134: 330f03ff */ andi $t7,$t8,0x3ff +/* f0d9138: 000f7380 */ sll $t6,$t7,0xe +/* f0d913c: 01c6c825 */ or $t9,$t6,$a2 +/* f0d9140: 0328c025 */ or $t8,$t9,$t0 +/* f0d9144: ad780000 */ sw $t8,0x0($t3) +/* f0d9148: 8c790000 */ lw $t9,0x0($v1) +/* f0d914c: 8fbf006c */ lw $ra,0x6c($sp) +/* f0d9150: 00b90019 */ multu $a1,$t9 +/* f0d9154: 33ef03ff */ andi $t7,$ra,0x3ff +/* f0d9158: 000ff880 */ sll $ra,$t7,0x2 +/* f0d915c: 0000c012 */ mflo $t8 +/* f0d9160: 330f03ff */ andi $t7,$t8,0x3ff +/* f0d9164: 000f7380 */ sll $t6,$t7,0xe +/* f0d9168: 01dfc825 */ or $t9,$t6,$ra +/* f0d916c: ad790004 */ sw $t9,0x4($t3) +/* f0d9170: 8faf00e0 */ lw $t7,0xe0($sp) +/* f0d9174: 8fb800c8 */ lw $t8,0xc8($sp) +/* f0d9178: afb00098 */ sw $s0,0x98($sp) +/* f0d917c: 26100008 */ addiu $s0,$s0,0x8 +/* f0d9180: 030f7023 */ subu $t6,$t8,$t7 +/* f0d9184: 25d90001 */ addiu $t9,$t6,0x1 +/* f0d9188: 8c6e0000 */ lw $t6,0x0($v1) +/* f0d918c: 333803ff */ andi $t8,$t9,0x3ff +/* f0d9190: 00187880 */ sll $t7,$t8,0x2 +/* f0d9194: 018e0019 */ multu $t4,$t6 +/* f0d9198: afaf0050 */ sw $t7,0x50($sp) +/* f0d919c: 02001025 */ move $v0,$s0 +/* f0d91a0: 26100008 */ addiu $s0,$s0,0x8 +/* f0d91a4: 02005825 */ move $t3,$s0 +/* f0d91a8: 26100008 */ addiu $s0,$s0,0x8 +/* f0d91ac: 0000c812 */ mflo $t9 +/* f0d91b0: 333803ff */ andi $t8,$t9,0x3ff +/* f0d91b4: 00187380 */ sll $t6,$t8,0xe +/* f0d91b8: 01c6c825 */ or $t9,$t6,$a2 +/* f0d91bc: 8fae0098 */ lw $t6,0x98($sp) +/* f0d91c0: 032fc025 */ or $t8,$t9,$t7 +/* f0d91c4: add80000 */ sw $t8,0x0($t6) +/* f0d91c8: 8c790000 */ lw $t9,0x0($v1) +/* f0d91cc: 00b90019 */ multu $a1,$t9 +/* f0d91d0: 00007812 */ mflo $t7 +/* f0d91d4: 31f803ff */ andi $t8,$t7,0x3ff +/* f0d91d8: 0018cb80 */ sll $t9,$t8,0xe +/* f0d91dc: 03247825 */ or $t7,$t9,$a0 +/* f0d91e0: adcf0004 */ sw $t7,0x4($t6) +/* f0d91e4: 8c780000 */ lw $t8,0x0($v1) +/* f0d91e8: 01980019 */ multu $t4,$t8 +/* f0d91ec: 0000c812 */ mflo $t9 +/* f0d91f0: 332f03ff */ andi $t7,$t9,0x3ff +/* f0d91f4: 000f7380 */ sll $t6,$t7,0xe +/* f0d91f8: 01c6c025 */ or $t8,$t6,$a2 +/* f0d91fc: 0308c825 */ or $t9,$t8,$t0 +/* f0d9200: ac590000 */ sw $t9,0x0($v0) +/* f0d9204: 8fae00e0 */ lw $t6,0xe0($sp) +/* f0d9208: 8faf00c8 */ lw $t7,0xc8($sp) +/* f0d920c: 01ee3821 */ addu $a3,$t7,$t6 +/* f0d9210: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d9214: 30f803ff */ andi $t8,$a3,0x3ff +/* f0d9218: 00183880 */ sll $a3,$t8,0x2 +/* f0d921c: 00af0019 */ multu $a1,$t7 +/* f0d9220: 00007012 */ mflo $t6 +/* f0d9224: 31d803ff */ andi $t8,$t6,0x3ff +/* f0d9228: 0018cb80 */ sll $t9,$t8,0xe +/* f0d922c: 03277825 */ or $t7,$t9,$a3 +/* f0d9230: ac4f0004 */ sw $t7,0x4($v0) +/* f0d9234: 8c6e0000 */ lw $t6,0x0($v1) +/* f0d9238: 02001025 */ move $v0,$s0 +/* f0d923c: 26100008 */ addiu $s0,$s0,0x8 +/* f0d9240: 012e0019 */ multu $t1,$t6 +/* f0d9244: 02006025 */ move $t4,$s0 +/* f0d9248: 26100008 */ addiu $s0,$s0,0x8 +/* f0d924c: 0000c012 */ mflo $t8 +/* f0d9250: 331903ff */ andi $t9,$t8,0x3ff +/* f0d9254: 8fb80050 */ lw $t8,0x50($sp) +/* f0d9258: 00197b80 */ sll $t7,$t9,0xe +/* f0d925c: 01e67025 */ or $t6,$t7,$a2 +/* f0d9260: 01d8c825 */ or $t9,$t6,$t8 +/* f0d9264: ad790000 */ sw $t9,0x0($t3) +/* f0d9268: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d926c: 014f0019 */ multu $t2,$t7 +/* f0d9270: 00007012 */ mflo $t6 +/* f0d9274: 31d803ff */ andi $t8,$t6,0x3ff +/* f0d9278: 0018cb80 */ sll $t9,$t8,0xe +/* f0d927c: 03247825 */ or $t7,$t9,$a0 +/* f0d9280: ad6f0004 */ sw $t7,0x4($t3) +/* f0d9284: 8c6e0000 */ lw $t6,0x0($v1) +/* f0d9288: 012e0019 */ multu $t1,$t6 +/* f0d928c: 0000c012 */ mflo $t8 +/* f0d9290: 331903ff */ andi $t9,$t8,0x3ff +/* f0d9294: 00197b80 */ sll $t7,$t9,0xe +/* f0d9298: 01e67025 */ or $t6,$t7,$a2 +/* f0d929c: 01c8c025 */ or $t8,$t6,$t0 +/* f0d92a0: ac580000 */ sw $t8,0x0($v0) +/* f0d92a4: 8c790000 */ lw $t9,0x0($v1) +/* f0d92a8: 01590019 */ multu $t2,$t9 +/* f0d92ac: 00007812 */ mflo $t7 +/* f0d92b0: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0d92b4: 000ec380 */ sll $t8,$t6,0xe +/* f0d92b8: 0307c825 */ or $t9,$t8,$a3 +/* f0d92bc: ac590004 */ sw $t9,0x4($v0) +/* f0d92c0: 8fae00e0 */ lw $t6,0xe0($sp) +/* f0d92c4: 8faf00cc */ lw $t7,0xcc($sp) +/* f0d92c8: 02001025 */ move $v0,$s0 +/* f0d92cc: 26100008 */ addiu $s0,$s0,0x8 +/* f0d92d0: 01eec023 */ subu $t8,$t7,$t6 +/* f0d92d4: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d92d8: 27190001 */ addiu $t9,$t8,0x1 +/* f0d92dc: afb90070 */ sw $t9,0x70($sp) +/* f0d92e0: 032f0019 */ multu $t9,$t7 +/* f0d92e4: 02005025 */ move $t2,$s0 +/* f0d92e8: 26100008 */ addiu $s0,$s0,0x8 +/* f0d92ec: 00007012 */ mflo $t6 +/* f0d92f0: 31d803ff */ andi $t8,$t6,0x3ff +/* f0d92f4: 0018cb80 */ sll $t9,$t8,0xe +/* f0d92f8: 03267825 */ or $t7,$t9,$a2 +/* f0d92fc: 01ed7025 */ or $t6,$t7,$t5 +/* f0d9300: ad8e0000 */ sw $t6,0x0($t4) +/* f0d9304: 8c780000 */ lw $t8,0x0($v1) +/* f0d9308: 00b80019 */ multu $a1,$t8 +/* f0d930c: 0000c812 */ mflo $t9 +/* f0d9310: 332f03ff */ andi $t7,$t9,0x3ff +/* f0d9314: 000f7380 */ sll $t6,$t7,0xe +/* f0d9318: 01c4c025 */ or $t8,$t6,$a0 +/* f0d931c: ad980004 */ sw $t8,0x4($t4) +/* f0d9320: 8c790000 */ lw $t9,0x0($v1) +/* f0d9324: 01390019 */ multu $t1,$t9 +/* f0d9328: 00007812 */ mflo $t7 +/* f0d932c: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0d9330: 000ec380 */ sll $t8,$t6,0xe +/* f0d9334: 0306c825 */ or $t9,$t8,$a2 +/* f0d9338: 032d7825 */ or $t7,$t9,$t5 +/* f0d933c: ac4f0000 */ sw $t7,0x0($v0) +/* f0d9340: 8fb800e0 */ lw $t8,0xe0($sp) +/* f0d9344: 8fae00cc */ lw $t6,0xcc($sp) +/* f0d9348: 8c790000 */ lw $t9,0x0($v1) +/* f0d934c: 01d83821 */ addu $a3,$t6,$t8 +/* f0d9350: 00f90019 */ multu $a3,$t9 +/* f0d9354: 00007812 */ mflo $t7 +/* f0d9358: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0d935c: 000ec380 */ sll $t8,$t6,0xe +/* f0d9360: 0304c825 */ or $t9,$t8,$a0 +/* f0d9364: ac590004 */ sw $t9,0x4($v0) +/* f0d9368: 8c6e0000 */ lw $t6,0x0($v1) +/* f0d936c: 8faf0070 */ lw $t7,0x70($sp) +/* f0d9370: 01ee0019 */ multu $t7,$t6 +/* f0d9374: 0000c012 */ mflo $t8 +/* f0d9378: 331903ff */ andi $t9,$t8,0x3ff +/* f0d937c: 00197b80 */ sll $t7,$t9,0xe +/* f0d9380: 01e67025 */ or $t6,$t7,$a2 +/* f0d9384: 01c8c025 */ or $t8,$t6,$t0 +/* f0d9388: ad580000 */ sw $t8,0x0($t2) +/* f0d938c: 8c790000 */ lw $t9,0x0($v1) +/* f0d9390: 00b90019 */ multu $a1,$t9 +/* f0d9394: 00007812 */ mflo $t7 +/* f0d9398: 31ee03ff */ andi $t6,$t7,0x3ff +/* f0d939c: 000ec380 */ sll $t8,$t6,0xe +/* f0d93a0: 031fc825 */ or $t9,$t8,$ra +/* f0d93a4: ad590004 */ sw $t9,0x4($t2) +/* f0d93a8: 8c6f0000 */ lw $t7,0x0($v1) +/* f0d93ac: 02001025 */ move $v0,$s0 +/* f0d93b0: 26040008 */ addiu $a0,$s0,0x8 +/* f0d93b4: 012f0019 */ multu $t1,$t7 +/* f0d93b8: 00007012 */ mflo $t6 +/* f0d93bc: 31d803ff */ andi $t8,$t6,0x3ff +/* f0d93c0: 0018cb80 */ sll $t9,$t8,0xe +/* f0d93c4: 03267825 */ or $t7,$t9,$a2 +/* f0d93c8: 01e87025 */ or $t6,$t7,$t0 +/* f0d93cc: ac4e0000 */ sw $t6,0x0($v0) +/* f0d93d0: 8c780000 */ lw $t8,0x0($v1) +/* f0d93d4: 00f80019 */ multu $a3,$t8 +/* f0d93d8: 0000c812 */ mflo $t9 +/* f0d93dc: 332f03ff */ andi $t7,$t9,0x3ff +/* f0d93e0: 000f7380 */ sll $t6,$t7,0xe +/* f0d93e4: 01dfc025 */ or $t8,$t6,$ra +/* f0d93e8: 0fc55313 */ jal 0xf154c4c +/* f0d93ec: ac580004 */ sw $t8,0x4($v0) +/* f0d93f0: 8fbf004c */ lw $ra,0x4c($sp) +/* f0d93f4: d7b40018 */ ldc1 $f20,0x18($sp) +/* f0d93f8: d7b60020 */ ldc1 $f22,0x20($sp) +/* f0d93fc: d7b80028 */ ldc1 $f24,0x28($sp) +/* f0d9400: d7ba0030 */ ldc1 $f26,0x30($sp) +/* f0d9404: d7bc0038 */ ldc1 $f28,0x38($sp) +/* f0d9408: d7be0040 */ ldc1 $f30,0x40($sp) +/* f0d940c: 8fb00048 */ lw $s0,0x48($sp) +/* f0d9410: 03e00008 */ jr $ra +/* f0d9414: 27bd00d0 */ addiu $sp,$sp,0xd0 +); #else GLOBAL_ASM( glabel func0f0d87a8 @@ -4449,7 +4991,7 @@ glabel func0f0d9948 /* f0d9b9c: 27bd0040 */ addiu $sp,$sp,0x40 ); -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA GLOBAL_ASM( glabel sightRenderSkedar /* f0d9ba0: 27bdff70 */ addiu $sp,$sp,-144 diff --git a/src/game/sparks/sparks.c b/src/game/sparks/sparks.c index f4abcc0b8..ebfc59df8 100644 --- a/src/game/sparks/sparks.c +++ b/src/game/sparks/sparks.c @@ -14,7 +14,7 @@ const u32 var7f1b5600[] = {0xb8d1b717}; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA const u32 var7f1b6914pf[] = {0x3f99999a}; #endif @@ -298,6 +298,202 @@ glabel func0f12f6c0 /* f1304c8: 03e00008 */ jr $ra /* f1304cc: 27bd0028 */ addiu $sp,$sp,0x28 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel func0f12f6c0 +/* f130c10: 3c03800b */ lui $v1,0x800b +/* f130c14: 246385e0 */ addiu $v1,$v1,-31264 +/* f130c18: 8c620000 */ lw $v0,0x0($v1) +/* f130c1c: 24010064 */ li $at,0x64 +/* f130c20: 27bdffd8 */ addiu $sp,$sp,-40 +/* f130c24: 24580001 */ addiu $t8,$v0,0x1 +/* f130c28: 0301001a */ div $zero,$t8,$at +/* f130c2c: 000270c0 */ sll $t6,$v0,0x3 +/* f130c30: 44800000 */ mtc1 $zero,$f0 +/* f130c34: 3c0f800a */ lui $t7,0x800a +/* f130c38: 01c27023 */ subu $t6,$t6,$v0 +/* f130c3c: afb00014 */ sw $s0,0x14($sp) +/* f130c40: 000e7080 */ sll $t6,$t6,0x2 +/* f130c44: 25ef7af0 */ addiu $t7,$t7,0x7af0 +/* f130c48: 0000c810 */ mfhi $t9 +/* f130c4c: afbf001c */ sw $ra,0x1c($sp) +/* f130c50: afb10018 */ sw $s1,0x18($sp) +/* f130c54: afa40028 */ sw $a0,0x28($sp) +/* f130c58: 01cf8021 */ addu $s0,$t6,$t7 +/* f130c5c: ac790000 */ sw $t9,0x0($v1) +/* f130c60: e6000000 */ swc1 $f0,0x0($s0) +/* f130c64: e6000004 */ swc1 $f0,0x4($s0) +/* f130c68: e6000008 */ swc1 $f0,0x8($s0) +/* f130c6c: 00a08825 */ move $s1,$a1 +/* f130c70: 0c004be0 */ jal 0x12f80 +/* f130c74: e7a00020 */ swc1 $f0,0x20($sp) +/* f130c78: 96230000 */ lhu $v1,0x0($s1) +/* f130c7c: c7ae0020 */ lwc1 $f14,0x20($sp) +/* f130c80: 00034040 */ sll $t0,$v1,0x1 +/* f130c84: 25090001 */ addiu $t1,$t0,0x1 +/* f130c88: 0049001b */ divu $zero,$v0,$t1 +/* f130c8c: 00005010 */ mfhi $t2 +/* f130c90: 01435823 */ subu $t3,$t2,$v1 +/* f130c94: 448b2000 */ mtc1 $t3,$f4 +/* f130c98: 15200002 */ bnez $t1,.PB0f130ca4 +/* f130c9c: 00000000 */ nop +/* f130ca0: 0007000d */ break 0x7 +.PB0f130ca4: +/* f130ca4: 468021a0 */ cvt.s.w $f6,$f4 +/* f130ca8: 0c004be0 */ jal 0x12f80 +/* f130cac: e606000c */ swc1 $f6,0xc($s0) +/* f130cb0: 96230000 */ lhu $v1,0x0($s1) +/* f130cb4: c7ae0020 */ lwc1 $f14,0x20($sp) +/* f130cb8: 00036040 */ sll $t4,$v1,0x1 +/* f130cbc: 258d0001 */ addiu $t5,$t4,0x1 +/* f130cc0: 004d001b */ divu $zero,$v0,$t5 +/* f130cc4: 00007010 */ mfhi $t6 +/* f130cc8: 01c37823 */ subu $t7,$t6,$v1 +/* f130ccc: 448f4000 */ mtc1 $t7,$f8 +/* f130cd0: 15a00002 */ bnez $t5,.PB0f130cdc +/* f130cd4: 00000000 */ nop +/* f130cd8: 0007000d */ break 0x7 +.PB0f130cdc: +/* f130cdc: 468042a0 */ cvt.s.w $f10,$f8 +/* f130ce0: 0c004be0 */ jal 0x12f80 +/* f130ce4: e60a0010 */ swc1 $f10,0x10($s0) +/* f130ce8: 96230000 */ lhu $v1,0x0($s1) +/* f130cec: c6100010 */ lwc1 $f16,0x10($s0) +/* f130cf0: 44803000 */ mtc1 $zero,$f6 +/* f130cf4: 0003c040 */ sll $t8,$v1,0x1 +/* f130cf8: 27190001 */ addiu $t9,$t8,0x1 +/* f130cfc: 0059001b */ divu $zero,$v0,$t9 +/* f130d00: 00004010 */ mfhi $t0 +/* f130d04: 01034823 */ subu $t1,$t0,$v1 +/* f130d08: 44899000 */ mtc1 $t1,$f18 +/* f130d0c: 46103032 */ c.eq.s $f6,$f16 +/* f130d10: c7ae0020 */ lwc1 $f14,0x20($sp) +/* f130d14: 46809120 */ cvt.s.w $f4,$f18 +/* f130d18: 17200002 */ bnez $t9,.PB0f130d24 +/* f130d1c: 00000000 */ nop +/* f130d20: 0007000d */ break 0x7 +.PB0f130d24: +/* f130d24: e6040014 */ swc1 $f4,0x14($s0) +/* f130d28: 45000005 */ bc1f .PB0f130d40 +/* f130d2c: 00001025 */ move $v0,$zero +/* f130d30: 3c017f1b */ lui $at,0x7f1b +/* f130d34: c4287610 */ lwc1 $f8,0x7610($at) +/* f130d38: e6080010 */ swc1 $f8,0x10($s0) +/* f130d3c: c6100010 */ lwc1 $f16,0x10($s0) +.PB0f130d40: +/* f130d40: 02001825 */ move $v1,$s0 +/* f130d44: 2404000c */ li $a0,0xc +.PB0f130d48: +/* f130d48: c460000c */ lwc1 $f0,0xc($v1) +/* f130d4c: 24420004 */ addiu $v0,$v0,0x4 +/* f130d50: 4600703c */ c.lt.s $f14,$f0 +/* f130d54: 46000087 */ neg.s $f2,$f0 +/* f130d58: 45020003 */ bc1fl .PB0f130d68 +/* f130d5c: 4602703c */ c.lt.s $f14,$f2 +/* f130d60: 46000386 */ mov.s $f14,$f0 +/* f130d64: 4602703c */ c.lt.s $f14,$f2 +.PB0f130d68: +/* f130d68: 00000000 */ nop +/* f130d6c: 45000002 */ bc1f .PB0f130d78 +/* f130d70: 00000000 */ nop +/* f130d74: 46001386 */ mov.s $f14,$f2 +.PB0f130d78: +/* f130d78: 1444fff3 */ bne $v0,$a0,.PB0f130d48 +/* f130d7c: 24630004 */ addiu $v1,$v1,0x4 +/* f130d80: c602000c */ lwc1 $f2,0xc($s0) +/* f130d84: c6000014 */ lwc1 $f0,0x14($s0) +/* f130d88: e7ae0020 */ swc1 $f14,0x20($sp) +/* f130d8c: 46021282 */ mul.s $f10,$f2,$f2 +/* f130d90: 00000000 */ nop +/* f130d94: 46108482 */ mul.s $f18,$f16,$f16 +/* f130d98: 46125100 */ add.s $f4,$f10,$f18 +/* f130d9c: 46000182 */ mul.s $f6,$f0,$f0 +/* f130da0: 0c012ae4 */ jal 0x4ab90 +/* f130da4: 46043300 */ add.s $f12,$f6,$f4 +/* f130da8: c7ae0020 */ lwc1 $f14,0x20($sp) +/* f130dac: c608000c */ lwc1 $f8,0xc($s0) +/* f130db0: c6120010 */ lwc1 $f18,0x10($s0) +/* f130db4: 46007083 */ div.s $f2,$f14,$f0 +/* f130db8: c6040014 */ lwc1 $f4,0x14($s0) +/* f130dbc: 8fa20028 */ lw $v0,0x28($sp) +/* f130dc0: 46024282 */ mul.s $f10,$f8,$f2 +/* f130dc4: 00000000 */ nop +/* f130dc8: 46029182 */ mul.s $f6,$f18,$f2 +/* f130dcc: 00000000 */ nop +/* f130dd0: 46022202 */ mul.s $f8,$f4,$f2 +/* f130dd4: e60a000c */ swc1 $f10,0xc($s0) +/* f130dd8: e6060010 */ swc1 $f6,0x10($s0) +/* f130ddc: c60a0010 */ lwc1 $f10,0x10($s0) +/* f130de0: e6080014 */ swc1 $f8,0x14($s0) +/* f130de4: 962a0000 */ lhu $t2,0x0($s1) +/* f130de8: c608000c */ lwc1 $f8,0xc($s0) +/* f130dec: 05410003 */ bgez $t2,.PB0f130dfc +/* f130df0: 000a5843 */ sra $t3,$t2,0x1 +/* f130df4: 25410001 */ addiu $at,$t2,0x1 +/* f130df8: 00015843 */ sra $t3,$at,0x1 +.PB0f130dfc: +/* f130dfc: 448b9000 */ mtc1 $t3,$f18 +/* f130e00: 3c017f1b */ lui $at,0x7f1b +/* f130e04: 468091a0 */ cvt.s.w $f6,$f18 +/* f130e08: 46065100 */ add.s $f4,$f10,$f6 +/* f130e0c: e6040010 */ swc1 $f4,0x10($s0) +/* f130e10: c4520000 */ lwc1 $f18,0x0($v0) +/* f130e14: c6060010 */ lwc1 $f6,0x10($s0) +/* f130e18: 46124280 */ add.s $f10,$f8,$f18 +/* f130e1c: c6120014 */ lwc1 $f18,0x14($s0) +/* f130e20: e60a000c */ swc1 $f10,0xc($s0) +/* f130e24: c4440004 */ lwc1 $f4,0x4($v0) +/* f130e28: 46043200 */ add.s $f8,$f6,$f4 +/* f130e2c: c604000c */ lwc1 $f4,0xc($s0) +/* f130e30: e6080010 */ swc1 $f8,0x10($s0) +/* f130e34: c44a0008 */ lwc1 $f10,0x8($v0) +/* f130e38: 460a9180 */ add.s $f6,$f18,$f10 +/* f130e3c: c6120010 */ lwc1 $f18,0x10($s0) +/* f130e40: e6060014 */ swc1 $f6,0x14($s0) +/* f130e44: c4207614 */ lwc1 $f0,0x7614($at) +/* f130e48: c6060014 */ lwc1 $f6,0x14($s0) +/* f130e4c: 3c017f1b */ lui $at,0x7f1b +/* f130e50: 46002202 */ mul.s $f8,$f4,$f0 +/* f130e54: 00000000 */ nop +/* f130e58: 46009282 */ mul.s $f10,$f18,$f0 +/* f130e5c: e608000c */ swc1 $f8,0xc($s0) +/* f130e60: 44804000 */ mtc1 $zero,$f8 +/* f130e64: 46003102 */ mul.s $f4,$f6,$f0 +/* f130e68: e60a0010 */ swc1 $f10,0x10($s0) +/* f130e6c: c6120010 */ lwc1 $f18,0x10($s0) +/* f130e70: 46124032 */ c.eq.s $f8,$f18 +/* f130e74: e6040014 */ swc1 $f4,0x14($s0) +/* f130e78: 45000003 */ bc1f .PB0f130e88 +/* f130e7c: 00000000 */ nop +/* f130e80: c42a7618 */ lwc1 $f10,0x7618($at) +/* f130e84: e60a0010 */ swc1 $f10,0x10($s0) +.PB0f130e88: +/* f130e88: 8e2c0018 */ lw $t4,0x18($s1) +/* f130e8c: 318d0001 */ andi $t5,$t4,0x1 +/* f130e90: 51a0000d */ beqzl $t5,.PB0f130ec8 +/* f130e94: 96380010 */ lhu $t8,0x10($s1) +/* f130e98: 0c004be0 */ jal 0x12f80 +/* f130e9c: 00000000 */ nop +/* f130ea0: 962e0010 */ lhu $t6,0x10($s1) +/* f130ea4: 004e001b */ divu $zero,$v0,$t6 +/* f130ea8: 00007810 */ mfhi $t7 +/* f130eac: ae0f0018 */ sw $t7,0x18($s0) +/* f130eb0: 15c00002 */ bnez $t6,.PB0f130ebc +/* f130eb4: 00000000 */ nop +/* f130eb8: 0007000d */ break 0x7 +.PB0f130ebc: +/* f130ebc: 10000004 */ b .PB0f130ed0 +/* f130ec0: 8fbf001c */ lw $ra,0x1c($sp) +/* f130ec4: 96380010 */ lhu $t8,0x10($s1) +.PB0f130ec8: +/* f130ec8: ae180018 */ sw $t8,0x18($s0) +/* f130ecc: 8fbf001c */ lw $ra,0x1c($sp) +.PB0f130ed0: +/* f130ed0: 8fb00014 */ lw $s0,0x14($sp) +/* f130ed4: 8fb10018 */ lw $s1,0x18($sp) +/* f130ed8: 03e00008 */ jr $ra +/* f130edc: 27bd0028 */ addiu $sp,$sp,0x28 +); #else GLOBAL_ASM( glabel func0f12f6c0 diff --git a/src/game/title.c b/src/game/title.c index 398d42cb6..9349a0a74 100644 --- a/src/game/title.c +++ b/src/game/title.c @@ -299,6 +299,47 @@ glabel func0f01616c /* f016400: a0980012 */ sb $t8,0x12($a0) ); +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel titleInitLegal +/* f016424: 27bdffd8 */ addiu $sp,$sp,-40 +/* f016428: afbf0024 */ sw $ra,0x24($sp) +/* f01642c: 0fc5bb4c */ jal 0xf16ed30 +/* f016430: 00000000 */ nop +/* f016434: 240e0001 */ li $t6,0x1 +/* f016438: 3c018006 */ lui $at,0x8006 +/* f01643c: ac2e3bb4 */ sw $t6,0x3bb4($at) +/* f016440: 3c018006 */ lui $at,0x8006 +/* f016444: ac203b84 */ sw $zero,0x3b84($at) +/* f016448: 3c0f8006 */ lui $t7,0x8006 +/* f01644c: 8defdf40 */ lw $t7,-0x20c0($t7) +/* f016450: 3c018006 */ lui $at,0x8006 +/* f016454: ac203b68 */ sw $zero,0x3b68($at) +/* f016458: 3c018006 */ lui $at,0x8006 +/* f01645c: 11e00010 */ beqz $t7,.PB0f0164a0 +/* f016460: ac203b6c */ sw $zero,0x3b6c($at) +/* f016464: 3c01bf80 */ lui $at,0xbf80 +/* f016468: 44812000 */ mtc1 $at,$f4 +/* f01646c: 3c048009 */ lui $a0,0x8009 +/* f016470: 2418ffff */ li $t8,-1 +/* f016474: 2419ffff */ li $t9,-1 +/* f016478: 2408ffff */ li $t0,-1 +/* f01647c: afa8001c */ sw $t0,0x1c($sp) +/* f016480: afb90018 */ sw $t9,0x18($sp) +/* f016484: afb80010 */ sw $t8,0x10($sp) +/* f016488: 8c847f30 */ lw $a0,0x7f30($a0) +/* f01648c: 24058113 */ li $a1,-32493 +/* f016490: 00003025 */ move $a2,$zero +/* f016494: 2407ffff */ li $a3,-1 +/* f016498: 0c004254 */ jal 0x10950 +/* f01649c: e7a40014 */ swc1 $f4,0x14($sp) +.PB0f0164a0: +/* f0164a0: 8fbf0024 */ lw $ra,0x24($sp) +/* f0164a4: 27bd0028 */ addiu $sp,$sp,0x28 +/* f0164a8: 03e00008 */ jr $ra +/* f0164ac: 00000000 */ nop +); +#else void titleInitLegal(void) { musicQueueStopAllEvent(); @@ -307,6 +348,7 @@ void titleInitLegal(void) g_TitleButtonPressed = false; g_TitleFastForward = false; } +#endif void titleExitLegal(void) { @@ -434,6 +476,443 @@ struct legalelement g_LegalElements[] = { { 69, 344, 0, 1, LEGALELEMENTTYPE_DOLBYLOGO, 0 }, }; +#if VERSION == VERSION_PAL_BETA +GLOBAL_ASM( +glabel titleRenderLegal +.late_rodata +glabel var7f1aa08cnb +.word 0x7f016848 +.word 0x7f016858 +.word 0x7f01686c +.word 0x7f0168e0 +.word 0x7f0168e0 +.word 0x7f016878 +.word 0x7f0168cc +.text +/* f016758: 27bdfed8 */ addiu $sp,$sp,-296 +/* f01675c: 3c0f8006 */ lui $t7,0x8006 +/* f016760: afb30044 */ sw $s3,0x44($sp) +/* f016764: 25ef3dac */ addiu $t7,$t7,0x3dac +/* f016768: afbf005c */ sw $ra,0x5c($sp) +/* f01676c: afbe0058 */ sw $s8,0x58($sp) +/* f016770: afb70054 */ sw $s7,0x54($sp) +/* f016774: afb60050 */ sw $s6,0x50($sp) +/* f016778: afb5004c */ sw $s5,0x4c($sp) +/* f01677c: afb40048 */ sw $s4,0x48($sp) +/* f016780: afb20040 */ sw $s2,0x40($sp) +/* f016784: afb1003c */ sw $s1,0x3c($sp) +/* f016788: afb00038 */ sw $s0,0x38($sp) +/* f01678c: afa40128 */ sw $a0,0x128($sp) +/* f016790: 00009825 */ move $s3,$zero +/* f016794: 25eb003c */ addiu $t3,$t7,0x3c +/* f016798: 27ae00dc */ addiu $t6,$sp,0xdc +.PB0f01679c: +/* f01679c: 8de10000 */ lw $at,0x0($t7) +/* f0167a0: 25ef000c */ addiu $t7,$t7,0xc +/* f0167a4: 25ce000c */ addiu $t6,$t6,0xc +/* f0167a8: adc1fff4 */ sw $at,-0xc($t6) +/* f0167ac: 8de1fff8 */ lw $at,-0x8($t7) +/* f0167b0: adc1fff8 */ sw $at,-0x8($t6) +/* f0167b4: 8de1fffc */ lw $at,-0x4($t7) +/* f0167b8: 15ebfff8 */ bne $t7,$t3,.PB0f01679c +/* f0167bc: adc1fffc */ sw $at,-0x4($t6) +/* f0167c0: 8de10000 */ lw $at,0x0($t7) +/* f0167c4: 3c0c8006 */ lui $t4,0x8006 +/* f0167c8: adc10000 */ sw $at,0x0($t6) +/* f0167cc: 8d8c3dec */ lw $t4,0x3dec($t4) +/* f0167d0: 5180016f */ beqzl $t4,.PB0f016d90 +/* f0167d4: 8fbf005c */ lw $ra,0x5c($sp) +/* f0167d8: 0fc06c14 */ jal 0xf01b050 +/* f0167dc: 8fa40128 */ lw $a0,0x128($sp) +/* f0167e0: afa20128 */ sw $v0,0x128($sp) +/* f0167e4: 0fc5528f */ jal 0xf154a3c +/* f0167e8: 00402025 */ move $a0,$v0 +/* f0167ec: 3c0d8006 */ lui $t5,0x8006 +/* f0167f0: 3c108006 */ lui $s0,0x8006 +/* f0167f4: 25ad3dac */ addiu $t5,$t5,0x3dac +/* f0167f8: 3c1e8008 */ lui $s8,0x8008 +/* f0167fc: 3c178008 */ lui $s7,0x8008 +/* f016800: 3c168008 */ lui $s6,0x8008 +/* f016804: afa20128 */ sw $v0,0x128($sp) +/* f016808: 26103cb0 */ addiu $s0,$s0,0x3cb0 +/* f01680c: afad011c */ sw $t5,0x11c($sp) +/* f016810: 26d61ff0 */ addiu $s6,$s6,0x1ff0 +/* f016814: 26f71fec */ addiu $s7,$s7,0x1fec +/* f016818: 27de1fe0 */ addiu $s8,$s8,0x1fe0 +/* f01681c: 86030008 */ lh $v1,0x8($s0) +.PB0f016820: +/* f016820: 3c157f7f */ lui $s5,0x7f7f +/* f016824: 36b5ffff */ ori $s5,$s5,0xffff +/* f016828: 2c610007 */ sltiu $at,$v1,0x7 +/* f01682c: 1020002c */ beqz $at,.PB0f0168e0 +/* f016830: 0003c880 */ sll $t9,$v1,0x2 +/* f016834: 3c017f1b */ lui $at,0x7f1b +/* f016838: 00390821 */ addu $at,$at,$t9 +/* f01683c: 8c39a08c */ lw $t9,-0x5f74($at) +/* f016840: 03200008 */ jr $t9 +/* f016844: 00000000 */ nop +/* f016848: 3c128008 */ lui $s2,0x8008 +/* f01684c: 8fd10000 */ lw $s1,0x0($s8) +/* f016850: 10000025 */ b .PB0f0168e8 +/* f016854: 8e521fdc */ lw $s2,0x1fdc($s2) +/* f016858: 3c118008 */ lui $s1,0x8008 +/* f01685c: 3c128008 */ lui $s2,0x8008 +/* f016860: 8e311fe8 */ lw $s1,0x1fe8($s1) +/* f016864: 10000020 */ b .PB0f0168e8 +/* f016868: 8e521fe4 */ lw $s2,0x1fe4($s2) +/* f01686c: 8ed10000 */ lw $s1,0x0($s6) +/* f016870: 1000001d */ b .PB0f0168e8 +/* f016874: 8ef20000 */ lw $s2,0x0($s7) +/* f016878: 9602000a */ lhu $v0,0xa($s0) +/* f01687c: 2401564a */ li $at,0x564a +/* f016880: 8ed10000 */ lw $s1,0x0($s6) +/* f016884: 8ef20000 */ lw $s2,0x0($s7) +/* f016888: 10410003 */ beq $v0,$at,.PB0f016898 +/* f01688c: 2415ffff */ li $s5,-1 +/* f016890: 24015649 */ li $at,0x5649 +/* f016894: 14410014 */ bne $v0,$at,.PB0f0168e8 +.PB0f016898: +/* f016898: 3c188009 */ lui $t8,0x8009 +/* f01689c: 93182fd0 */ lbu $t8,0x2fd0($t8) +/* f0168a0: 24010001 */ li $at,0x1 +/* f0168a4: 2673000a */ addiu $s3,$s3,0xa +/* f0168a8: 17010005 */ bne $t8,$at,.PB0f0168c0 +/* f0168ac: 240f5649 */ li $t7,0x5649 +/* f0168b0: 240b564a */ li $t3,0x564a +/* f0168b4: a60b000a */ sh $t3,0xa($s0) +/* f0168b8: 1000000b */ b .PB0f0168e8 +/* f0168bc: 86030008 */ lh $v1,0x8($s0) +.PB0f0168c0: +/* f0168c0: a60f000a */ sh $t7,0xa($s0) +/* f0168c4: 10000008 */ b .PB0f0168e8 +/* f0168c8: 86030008 */ lh $v1,0x8($s0) +/* f0168cc: 3c128008 */ lui $s2,0x8008 +/* f0168d0: 8fd10000 */ lw $s1,0x0($s8) +/* f0168d4: 8e521fdc */ lw $s2,0x1fdc($s2) +/* f0168d8: 10000003 */ b .PB0f0168e8 +/* f0168dc: 2415ffff */ li $s5,-1 +.PB0f0168e0: +/* f0168e0: 8ed10000 */ lw $s1,0x0($s6) +/* f0168e4: 8ef20000 */ lw $s2,0x0($s7) +.PB0f0168e8: +/* f0168e8: 24010003 */ li $at,0x3 +/* f0168ec: 54610015 */ bnel $v1,$at,.PB0f016944 +/* f0168f0: 24010004 */ li $at,0x4 +/* f0168f4: 0fc552e5 */ jal 0xf154b94 +/* f0168f8: 8fa40128 */ lw $a0,0x128($sp) +/* f0168fc: 0c002e4d */ jal 0xb934 +/* f016900: afa20128 */ sw $v0,0x128($sp) +/* f016904: 86060002 */ lh $a2,0x2($s0) +/* f016908: 3c0c7f7f */ lui $t4,0x7f7f +/* f01690c: 358cff7f */ ori $t4,$t4,0xff7f +/* f016910: 86050000 */ lh $a1,0x0($s0) +/* f016914: 24ce0002 */ addiu $t6,$a2,0x2 +/* f016918: afae0010 */ sw $t6,0x10($sp) +/* f01691c: afac0014 */ sw $t4,0x14($sp) +/* f016920: 8fa40128 */ lw $a0,0x128($sp) +/* f016924: 0fc55392 */ jal 0xf154e48 +/* f016928: 00403825 */ move $a3,$v0 +/* f01692c: afa20128 */ sw $v0,0x128($sp) +/* f016930: 0fc5528f */ jal 0xf154a3c +/* f016934: 00402025 */ move $a0,$v0 +/* f016938: 1000010c */ b .PB0f016d6c +/* f01693c: afa20128 */ sw $v0,0x128($sp) +/* f016940: 24010004 */ li $at,0x4 +.PB0f016944: +/* f016944: 54610075 */ bnel $v1,$at,.PB0f016b1c +/* f016948: 24010007 */ li $at,0x7 +/* f01694c: 0fc552e5 */ jal 0xf154b94 +/* f016950: 8fa40128 */ lw $a0,0x128($sp) +/* f016954: 244d0008 */ addiu $t5,$v0,0x8 +/* f016958: afad0128 */ sw $t5,0x128($sp) +/* f01695c: 3c19e700 */ lui $t9,0xe700 +/* f016960: ac590000 */ sw $t9,0x0($v0) +/* f016964: ac400004 */ sw $zero,0x4($v0) +/* f016968: 8fb80128 */ lw $t8,0x128($sp) +/* f01696c: 3c0fba00 */ lui $t7,0xba00 +/* f016970: 35ef1301 */ ori $t7,$t7,0x1301 +/* f016974: 270b0008 */ addiu $t3,$t8,0x8 +/* f016978: afab0128 */ sw $t3,0x128($sp) +/* f01697c: af000004 */ sw $zero,0x4($t8) +/* f016980: af0f0000 */ sw $t7,0x0($t8) +/* f016984: 8fae0128 */ lw $t6,0x128($sp) +/* f016988: 3c0db900 */ lui $t5,0xb900 +/* f01698c: 35ad0002 */ ori $t5,$t5,0x2 +/* f016990: 25cc0008 */ addiu $t4,$t6,0x8 +/* f016994: afac0128 */ sw $t4,0x128($sp) +/* f016998: adc00004 */ sw $zero,0x4($t6) +/* f01699c: adcd0000 */ sw $t5,0x0($t6) +/* f0169a0: 8fb90128 */ lw $t9,0x128($sp) +/* f0169a4: 3c0bba00 */ lui $t3,0xba00 +/* f0169a8: 356b1001 */ ori $t3,$t3,0x1001 +/* f0169ac: 27380008 */ addiu $t8,$t9,0x8 +/* f0169b0: afb80128 */ sw $t8,0x128($sp) +/* f0169b4: af200004 */ sw $zero,0x4($t9) +/* f0169b8: af2b0000 */ sw $t3,0x0($t9) +/* f0169bc: 8faf0128 */ lw $t7,0x128($sp) +/* f0169c0: 3c0cba00 */ lui $t4,0xba00 +/* f0169c4: 358c0903 */ ori $t4,$t4,0x903 +/* f0169c8: 25ee0008 */ addiu $t6,$t7,0x8 +/* f0169cc: afae0128 */ sw $t6,0x128($sp) +/* f0169d0: 240d0c00 */ li $t5,0xc00 +/* f0169d4: 3c05800b */ lui $a1,0x800b +/* f0169d8: aded0004 */ sw $t5,0x4($t7) +/* f0169dc: adec0000 */ sw $t4,0x0($t7) +/* f0169e0: 8ca5fbc8 */ lw $a1,-0x438($a1) +/* f0169e4: 24190002 */ li $t9,0x2 +/* f0169e8: 24180001 */ li $t8,0x1 +/* f0169ec: afb80014 */ sw $t8,0x14($sp) +/* f0169f0: afb90010 */ sw $t9,0x10($sp) +/* f0169f4: afa00018 */ sw $zero,0x18($sp) +/* f0169f8: 27a40128 */ addiu $a0,$sp,0x128 +/* f0169fc: 24060001 */ li $a2,0x1 +/* f016a00: 00003825 */ move $a3,$zero +/* f016a04: 0fc2cf74 */ jal 0xf0b3dd0 +/* f016a08: 24a50234 */ addiu $a1,$a1,0x234 +/* f016a0c: 8fab0128 */ lw $t3,0x128($sp) +/* f016a10: 3c0eba00 */ lui $t6,0xba00 +/* f016a14: 35ce1402 */ ori $t6,$t6,0x1402 +/* f016a18: 256f0008 */ addiu $t7,$t3,0x8 +/* f016a1c: afaf0128 */ sw $t7,0x128($sp) +/* f016a20: ad600004 */ sw $zero,0x4($t3) +/* f016a24: ad6e0000 */ sw $t6,0x0($t3) +/* f016a28: 8fac0128 */ lw $t4,0x128($sp) +/* f016a2c: 3c19fcff */ lui $t9,0xfcff +/* f016a30: 3c18fffc */ lui $t8,0xfffc +/* f016a34: 258d0008 */ addiu $t5,$t4,0x8 +/* f016a38: afad0128 */ sw $t5,0x128($sp) +/* f016a3c: 3718f279 */ ori $t8,$t8,0xf279 +/* f016a40: 3739ffff */ ori $t9,$t9,0xffff +/* f016a44: ad990000 */ sw $t9,0x0($t4) +/* f016a48: ad980004 */ sw $t8,0x4($t4) +/* f016a4c: 8fab0128 */ lw $t3,0x128($sp) +/* f016a50: 3c0eba00 */ lui $t6,0xba00 +/* f016a54: 35ce0c02 */ ori $t6,$t6,0xc02 +/* f016a58: 256f0008 */ addiu $t7,$t3,0x8 +/* f016a5c: afaf0128 */ sw $t7,0x128($sp) +/* f016a60: ad600004 */ sw $zero,0x4($t3) +/* f016a64: ad6e0000 */ sw $t6,0x0($t3) +/* f016a68: 8fa50128 */ lw $a1,0x128($sp) +/* f016a6c: 3c01e400 */ lui $at,0xe400 +/* f016a70: 24ad0008 */ addiu $t5,$a1,0x8 +/* f016a74: afad0128 */ sw $t5,0x128($sp) +/* f016a78: 86190000 */ lh $t9,0x0($s0) +/* f016a7c: 860d0002 */ lh $t5,0x2($s0) +/* f016a80: 27380040 */ addiu $t8,$t9,0x40 +/* f016a84: 00185880 */ sll $t3,$t8,0x2 +/* f016a88: 316f0fff */ andi $t7,$t3,0xfff +/* f016a8c: 25b90018 */ addiu $t9,$t5,0x18 +/* f016a90: 0019c080 */ sll $t8,$t9,0x2 +/* f016a94: 000f7300 */ sll $t6,$t7,0xc +/* f016a98: 01c16025 */ or $t4,$t6,$at +/* f016a9c: 330b0fff */ andi $t3,$t8,0xfff +/* f016aa0: 018b7825 */ or $t7,$t4,$t3 +/* f016aa4: acaf0000 */ sw $t7,0x0($a1) +/* f016aa8: 860e0000 */ lh $t6,0x0($s0) +/* f016aac: 860c0002 */ lh $t4,0x2($s0) +/* f016ab0: 000e6880 */ sll $t5,$t6,0x2 +/* f016ab4: 31b90fff */ andi $t9,$t5,0xfff +/* f016ab8: 000c5880 */ sll $t3,$t4,0x2 +/* f016abc: 316f0fff */ andi $t7,$t3,0xfff +/* f016ac0: 0019c300 */ sll $t8,$t9,0xc +/* f016ac4: 030f7025 */ or $t6,$t8,$t7 +/* f016ac8: acae0004 */ sw $t6,0x4($a1) +/* f016acc: 8fad0128 */ lw $t5,0x128($sp) +/* f016ad0: 240b0300 */ li $t3,0x300 +/* f016ad4: 3c0cb400 */ lui $t4,0xb400 +/* f016ad8: 25b90008 */ addiu $t9,$t5,0x8 +/* f016adc: afb90128 */ sw $t9,0x128($sp) +/* f016ae0: adab0004 */ sw $t3,0x4($t5) +/* f016ae4: adac0000 */ sw $t4,0x0($t5) +/* f016ae8: 8fb80128 */ lw $t8,0x128($sp) +/* f016aec: 3c0d0400 */ lui $t5,0x400 +/* f016af0: 35adfc00 */ ori $t5,$t5,0xfc00 +/* f016af4: 270f0008 */ addiu $t7,$t8,0x8 +/* f016af8: afaf0128 */ sw $t7,0x128($sp) +/* f016afc: 3c0eb300 */ lui $t6,0xb300 +/* f016b00: af0e0000 */ sw $t6,0x0($t8) +/* f016b04: af0d0004 */ sw $t5,0x4($t8) +/* f016b08: 0fc5528f */ jal 0xf154a3c +/* f016b0c: 8fa40128 */ lw $a0,0x128($sp) +/* f016b10: 10000096 */ b .PB0f016d6c +/* f016b14: afa20128 */ sw $v0,0x128($sp) +/* f016b18: 24010007 */ li $at,0x7 +.PB0f016b1c: +/* f016b1c: 54610075 */ bnel $v1,$at,.PB0f016cf4 +/* f016b20: 86020000 */ lh $v0,0x0($s0) +/* f016b24: 0fc552e5 */ jal 0xf154b94 +/* f016b28: 8fa40128 */ lw $a0,0x128($sp) +/* f016b2c: 24590008 */ addiu $t9,$v0,0x8 +/* f016b30: afb90128 */ sw $t9,0x128($sp) +/* f016b34: 3c0ce700 */ lui $t4,0xe700 +/* f016b38: ac4c0000 */ sw $t4,0x0($v0) +/* f016b3c: ac400004 */ sw $zero,0x4($v0) +/* f016b40: 8fab0128 */ lw $t3,0x128($sp) +/* f016b44: 3c0fba00 */ lui $t7,0xba00 +/* f016b48: 35ef1301 */ ori $t7,$t7,0x1301 +/* f016b4c: 25780008 */ addiu $t8,$t3,0x8 +/* f016b50: afb80128 */ sw $t8,0x128($sp) +/* f016b54: ad600004 */ sw $zero,0x4($t3) +/* f016b58: ad6f0000 */ sw $t7,0x0($t3) +/* f016b5c: 8fae0128 */ lw $t6,0x128($sp) +/* f016b60: 3c19b900 */ lui $t9,0xb900 +/* f016b64: 37390002 */ ori $t9,$t9,0x2 +/* f016b68: 25cd0008 */ addiu $t5,$t6,0x8 +/* f016b6c: afad0128 */ sw $t5,0x128($sp) +/* f016b70: adc00004 */ sw $zero,0x4($t6) +/* f016b74: add90000 */ sw $t9,0x0($t6) +/* f016b78: 8fac0128 */ lw $t4,0x128($sp) +/* f016b7c: 3c18ba00 */ lui $t8,0xba00 +/* f016b80: 37181001 */ ori $t8,$t8,0x1001 +/* f016b84: 258b0008 */ addiu $t3,$t4,0x8 +/* f016b88: afab0128 */ sw $t3,0x128($sp) +/* f016b8c: ad800004 */ sw $zero,0x4($t4) +/* f016b90: ad980000 */ sw $t8,0x0($t4) +/* f016b94: 8faf0128 */ lw $t7,0x128($sp) +/* f016b98: 3c0dba00 */ lui $t5,0xba00 +/* f016b9c: 35ad0903 */ ori $t5,$t5,0x903 +/* f016ba0: 25ee0008 */ addiu $t6,$t7,0x8 +/* f016ba4: afae0128 */ sw $t6,0x128($sp) +/* f016ba8: 24190c00 */ li $t9,0xc00 +/* f016bac: 3c05800b */ lui $a1,0x800b +/* f016bb0: adf90004 */ sw $t9,0x4($t7) +/* f016bb4: aded0000 */ sw $t5,0x0($t7) +/* f016bb8: 8ca5fbc8 */ lw $a1,-0x438($a1) +/* f016bbc: 240c0002 */ li $t4,0x2 +/* f016bc0: 240b0001 */ li $t3,0x1 +/* f016bc4: afab0014 */ sw $t3,0x14($sp) +/* f016bc8: afac0010 */ sw $t4,0x10($sp) +/* f016bcc: afa00018 */ sw $zero,0x18($sp) +/* f016bd0: 27a40128 */ addiu $a0,$sp,0x128 +/* f016bd4: 24060001 */ li $a2,0x1 +/* f016bd8: 00003825 */ move $a3,$zero +/* f016bdc: 0fc2cf74 */ jal 0xf0b3dd0 +/* f016be0: 24a5024c */ addiu $a1,$a1,0x24c +/* f016be4: 8fb80128 */ lw $t8,0x128($sp) +/* f016be8: 3c0eba00 */ lui $t6,0xba00 +/* f016bec: 35ce1402 */ ori $t6,$t6,0x1402 +/* f016bf0: 270f0008 */ addiu $t7,$t8,0x8 +/* f016bf4: afaf0128 */ sw $t7,0x128($sp) +/* f016bf8: af000004 */ sw $zero,0x4($t8) +/* f016bfc: af0e0000 */ sw $t6,0x0($t8) +/* f016c00: 8fad0128 */ lw $t5,0x128($sp) +/* f016c04: 3c0cfcff */ lui $t4,0xfcff +/* f016c08: 3c0bfffc */ lui $t3,0xfffc +/* f016c0c: 25b90008 */ addiu $t9,$t5,0x8 +/* f016c10: afb90128 */ sw $t9,0x128($sp) +/* f016c14: 356bf279 */ ori $t3,$t3,0xf279 +/* f016c18: 358cffff */ ori $t4,$t4,0xffff +/* f016c1c: adac0000 */ sw $t4,0x0($t5) +/* f016c20: adab0004 */ sw $t3,0x4($t5) +/* f016c24: 8fb80128 */ lw $t8,0x128($sp) +/* f016c28: 3c0eba00 */ lui $t6,0xba00 +/* f016c2c: 35ce0c02 */ ori $t6,$t6,0xc02 +/* f016c30: 270f0008 */ addiu $t7,$t8,0x8 +/* f016c34: afaf0128 */ sw $t7,0x128($sp) +/* f016c38: af000004 */ sw $zero,0x4($t8) +/* f016c3c: af0e0000 */ sw $t6,0x0($t8) +/* f016c40: 8fa50128 */ lw $a1,0x128($sp) +/* f016c44: 3c01e400 */ lui $at,0xe400 +/* f016c48: 24b90008 */ addiu $t9,$a1,0x8 +/* f016c4c: afb90128 */ sw $t9,0x128($sp) +/* f016c50: 860c0000 */ lh $t4,0x0($s0) +/* f016c54: 86190002 */ lh $t9,0x2($s0) +/* f016c58: 258b0020 */ addiu $t3,$t4,0x20 +/* f016c5c: 000bc080 */ sll $t8,$t3,0x2 +/* f016c60: 330f0fff */ andi $t7,$t8,0xfff +/* f016c64: 272c002a */ addiu $t4,$t9,0x2a +/* f016c68: 000c5880 */ sll $t3,$t4,0x2 +/* f016c6c: 000f7300 */ sll $t6,$t7,0xc +/* f016c70: 01c16825 */ or $t5,$t6,$at +/* f016c74: 31780fff */ andi $t8,$t3,0xfff +/* f016c78: 01b87825 */ or $t7,$t5,$t8 +/* f016c7c: acaf0000 */ sw $t7,0x0($a1) +/* f016c80: 860e0000 */ lh $t6,0x0($s0) +/* f016c84: 860d0002 */ lh $t5,0x2($s0) +/* f016c88: 000ec880 */ sll $t9,$t6,0x2 +/* f016c8c: 332c0fff */ andi $t4,$t9,0xfff +/* f016c90: 000dc080 */ sll $t8,$t5,0x2 +/* f016c94: 330f0fff */ andi $t7,$t8,0xfff +/* f016c98: 000c5b00 */ sll $t3,$t4,0xc +/* f016c9c: 016f7025 */ or $t6,$t3,$t7 +/* f016ca0: acae0004 */ sw $t6,0x4($a1) +/* f016ca4: 8fb90128 */ lw $t9,0x128($sp) +/* f016ca8: 24180540 */ li $t8,0x540 +/* f016cac: 3c0db400 */ lui $t5,0xb400 +/* f016cb0: 272c0008 */ addiu $t4,$t9,0x8 +/* f016cb4: afac0128 */ sw $t4,0x128($sp) +/* f016cb8: af380004 */ sw $t8,0x4($t9) +/* f016cbc: af2d0000 */ sw $t5,0x0($t9) +/* f016cc0: 8fab0128 */ lw $t3,0x128($sp) +/* f016cc4: 3c190400 */ lui $t9,0x400 +/* f016cc8: 3739fc00 */ ori $t9,$t9,0xfc00 +/* f016ccc: 256f0008 */ addiu $t7,$t3,0x8 +/* f016cd0: afaf0128 */ sw $t7,0x128($sp) +/* f016cd4: 3c0eb300 */ lui $t6,0xb300 +/* f016cd8: ad6e0000 */ sw $t6,0x0($t3) +/* f016cdc: ad790004 */ sw $t9,0x4($t3) +/* f016ce0: 0fc5528f */ jal 0xf154a3c +/* f016ce4: 8fa40128 */ lw $a0,0x128($sp) +/* f016ce8: 10000020 */ b .PB0f016d6c +/* f016cec: afa20128 */ sw $v0,0x128($sp) +/* f016cf0: 86020000 */ lh $v0,0x0($s0) +.PB0f016cf4: +/* f016cf4: 2401ffff */ li $at,-1 +/* f016cf8: 54410004 */ bnel $v0,$at,.PB0f016d0c +/* f016cfc: afa200d8 */ sw $v0,0xd8($sp) +/* f016d00: 10000002 */ b .PB0f016d0c +/* f016d04: afb300d8 */ sw $s3,0xd8($sp) +/* f016d08: afa200d8 */ sw $v0,0xd8($sp) +.PB0f016d0c: +/* f016d0c: 860c0002 */ lh $t4,0x2($s0) +/* f016d10: afac00d4 */ sw $t4,0xd4($sp) +/* f016d14: 0fc5c06a */ jal 0xf1701a8 +/* f016d18: 9604000a */ lhu $a0,0xa($s0) +/* f016d1c: 0c002e4d */ jal 0xb934 +/* f016d20: 00409825 */ move $s3,$v0 +/* f016d24: 0002a400 */ sll $s4,$v0,0x10 +/* f016d28: 00146c03 */ sra $t5,$s4,0x10 +/* f016d2c: 0c002e51 */ jal 0xb944 +/* f016d30: 01a0a025 */ move $s4,$t5 +/* f016d34: 8fa40128 */ lw $a0,0x128($sp) +/* f016d38: 27a500d8 */ addiu $a1,$sp,0xd8 +/* f016d3c: 27a600d4 */ addiu $a2,$sp,0xd4 +/* f016d40: 02603825 */ move $a3,$s3 +/* f016d44: afb10010 */ sw $s1,0x10($sp) +/* f016d48: afb20014 */ sw $s2,0x14($sp) +/* f016d4c: afb50018 */ sw $s5,0x18($sp) +/* f016d50: afb4001c */ sw $s4,0x1c($sp) +/* f016d54: afa20020 */ sw $v0,0x20($sp) +/* f016d58: afa00024 */ sw $zero,0x24($sp) +/* f016d5c: 0fc55e10 */ jal 0xf157840 +/* f016d60: afa00028 */ sw $zero,0x28($sp) +/* f016d64: afa20128 */ sw $v0,0x128($sp) +/* f016d68: 8fb300d8 */ lw $s3,0xd8($sp) +.PB0f016d6c: +/* f016d6c: 8fb8011c */ lw $t8,0x11c($sp) +/* f016d70: 2610000c */ addiu $s0,$s0,0xc +/* f016d74: 0218082b */ sltu $at,$s0,$t8 +/* f016d78: 5420fea9 */ bnezl $at,.PB0f016820 +/* f016d7c: 86030008 */ lh $v1,0x8($s0) +/* f016d80: 0fc552e5 */ jal 0xf154b94 +/* f016d84: 8fa40128 */ lw $a0,0x128($sp) +/* f016d88: afa20128 */ sw $v0,0x128($sp) +/* f016d8c: 8fbf005c */ lw $ra,0x5c($sp) +.PB0f016d90: +/* f016d90: 8fa20128 */ lw $v0,0x128($sp) +/* f016d94: 8fb00038 */ lw $s0,0x38($sp) +/* f016d98: 8fb1003c */ lw $s1,0x3c($sp) +/* f016d9c: 8fb20040 */ lw $s2,0x40($sp) +/* f016da0: 8fb30044 */ lw $s3,0x44($sp) +/* f016da4: 8fb40048 */ lw $s4,0x48($sp) +/* f016da8: 8fb5004c */ lw $s5,0x4c($sp) +/* f016dac: 8fb60050 */ lw $s6,0x50($sp) +/* f016db0: 8fb70054 */ lw $s7,0x54($sp) +/* f016db4: 8fbe0058 */ lw $s8,0x58($sp) +/* f016db8: 03e00008 */ jr $ra +/* f016dbc: 27bd0128 */ addiu $sp,$sp,0x128 +); +#else Gfx *titleRenderLegal(Gfx *gdl) { #if VERSION >= VERSION_PAL_FINAL @@ -575,6 +1054,7 @@ Gfx *titleRenderLegal(Gfx *gdl) return gdl; } +#endif bool g_LegalEnabled = true; bool g_PdLogoIsFirstTick = true; @@ -2875,6 +3355,1337 @@ glabel var7f1a8468 /* f018e8c: 03e00008 */ jr $ra /* f018e90: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel titleRenderPdLogo +.late_rodata +glabel var7f1a8400 +.word 0x456a6000 +glabel var7f1a8404 +.word 0x3dcccccd +glabel var7f1a8408 +.word 0x4087b1f9 +glabel var7f1a840c +.word 0x3c9a6417 +glabel var7f1a8410 +.word 0x3ef13c64 +glabel var7f1a8414 +.word 0x3eb33333 +glabel var7f1a8418 +.word 0x3fc907a9 +glabel var7f1a841c +.word 0x39459ed6 +glabel var7f1a8420 +.word 0x3c9a6417 +glabel var7f1a8424 +.word 0x40c907a9 +glabel var7f1a8428 +.word 0x40c907a9 +glabel var7f1a842c +.word 0x40c907a9 +glabel var7f1a8430 +.word 0x40c907a9 +glabel var7f1a8434 +.word 0x3b83126f +glabel var7f1a8438 +.word 0x3f4ccccd +glabel var7f1a843c +.word 0x38ed2501 +glabel var7f1a8440 +.word 0x3c3944e9 +glabel var7f1a8444 +.word 0x40c907a9 +glabel var7f1a8448 +.word 0x3bf5c28f +glabel var7f1a844c +.word 0x3ccccccd +glabel var7f1a8450 +.word 0x3db851ec +glabel var7f1a8454 +.word 0x3dcccccd +glabel var7f1a8458 +.word 0x3bcddaca +glabel var7f1a845c +.word 0x3c8b4396 +glabel var7f1a8460 +.word 0x40490fdb +glabel var7f1a8464 +.word 0x3e19999a +glabel var7f1a8468 +.word 0x3e9db22d +.text +/* f017b4c: 27bdfcd0 */ addiu $sp,$sp,-816 +/* f017b50: 3c0f8006 */ lui $t7,0x8006 +/* f017b54: 3c028006 */ lui $v0,0x8006 +/* f017b58: 25ef3ed8 */ addiu $t7,$t7,0x3ed8 +/* f017b5c: 24423df0 */ addiu $v0,$v0,0x3df0 +/* f017b60: afbf0034 */ sw $ra,0x34($sp) +/* f017b64: afa40330 */ sw $a0,0x330($sp) +/* f017b68: 25f9003c */ addiu $t9,$t7,0x3c +/* f017b6c: 27ae02f0 */ addiu $t6,$sp,0x2f0 +.PB0f017b70: +/* f017b70: 8de10000 */ lw $at,0x0($t7) +/* f017b74: 25ef000c */ addiu $t7,$t7,0xc +/* f017b78: 25ce000c */ addiu $t6,$t6,0xc +/* f017b7c: adc1fff4 */ sw $at,-0xc($t6) +/* f017b80: 8de1fff8 */ lw $at,-0x8($t7) +/* f017b84: adc1fff8 */ sw $at,-0x8($t6) +/* f017b88: 8de1fffc */ lw $at,-0x4($t7) +/* f017b8c: 15f9fff8 */ bne $t7,$t9,.PB0f017b70 +/* f017b90: adc1fffc */ sw $at,-0x4($t6) +/* f017b94: 8de10000 */ lw $at,0x0($t7) +/* f017b98: 3c188006 */ lui $t8,0x8006 +/* f017b9c: 3c048006 */ lui $a0,0x8006 +/* f017ba0: adc10000 */ sw $at,0x0($t6) +/* f017ba4: 8f183b84 */ lw $t8,0x3b84($t8) +/* f017ba8: 3c017f1b */ lui $at,0x7f1b +/* f017bac: c428a0c0 */ lwc1 $f8,-0x5f40($at) +/* f017bb0: 44982000 */ mtc1 $t8,$f4 +/* f017bb4: 3c017f1b */ lui $at,0x7f1b +/* f017bb8: 8c590000 */ lw $t9,0x0($v0) +/* f017bbc: 468021a0 */ cvt.s.w $f6,$f4 +/* f017bc0: c424a0c4 */ lwc1 $f4,-0x5f3c($at) +/* f017bc4: 3c098006 */ lui $t1,0x8006 +/* f017bc8: 3c0a8006 */ lui $t2,0x8006 +/* f017bcc: 3c0c8006 */ lui $t4,0x8006 +/* f017bd0: 3c0d8006 */ lui $t5,0x8006 +/* f017bd4: 46083283 */ div.s $f10,$f6,$f8 +/* f017bd8: 3c0b8006 */ lui $t3,0x8006 +/* f017bdc: 25ad3ec0 */ addiu $t5,$t5,0x3ec0 +/* f017be0: 258c3eb0 */ addiu $t4,$t4,0x3eb0 +/* f017be4: 254a3ea0 */ addiu $t2,$t2,0x3ea0 +/* f017be8: 25293e94 */ addiu $t1,$t1,0x3e94 +/* f017bec: 3c013f80 */ lui $at,0x3f80 +/* f017bf0: 24843e8c */ addiu $a0,$a0,0x3e8c +/* f017bf4: 24030001 */ li $v1,0x1 +/* f017bf8: 256b3e84 */ addiu $t3,$t3,0x3e84 +/* f017bfc: 46045181 */ sub.s $f6,$f10,$f4 +/* f017c00: 13200041 */ beqz $t9,.PB0f017d08 +/* f017c04: e7a6013c */ swc1 $f6,0x13c($sp) +/* f017c08: 44817000 */ mtc1 $at,$f14 +/* f017c0c: 3c017f1b */ lui $at,0x7f1b +/* f017c10: c428a0c8 */ lwc1 $f8,-0x5f38($at) +/* f017c14: 3c018006 */ lui $at,0x8006 +/* f017c18: 44809000 */ mtc1 $zero,$f18 +/* f017c1c: e4283e68 */ swc1 $f8,0x3e68($at) +/* f017c20: 3c017f1b */ lui $at,0x7f1b +/* f017c24: c42aa0cc */ lwc1 $f10,-0x5f34($at) +/* f017c28: 3c018006 */ lui $at,0x8006 +/* f017c2c: 3c1f8006 */ lui $ra,0x8006 +/* f017c30: e42a3e6c */ swc1 $f10,0x3e6c($at) +/* f017c34: 3c017f1b */ lui $at,0x7f1b +/* f017c38: c424a0d0 */ lwc1 $f4,-0x5f30($at) +/* f017c3c: 3c018006 */ lui $at,0x8006 +/* f017c40: 27ff3e98 */ addiu $ra,$ra,0x3e98 +/* f017c44: e4243e70 */ swc1 $f4,0x3e70($at) +/* f017c48: 3c018006 */ lui $at,0x8006 +/* f017c4c: e4323e74 */ swc1 $f18,0x3e74($at) +/* f017c50: 3c017f1b */ lui $at,0x7f1b +/* f017c54: c426a0d4 */ lwc1 $f6,-0x5f2c($at) +/* f017c58: 3c018006 */ lui $at,0x8006 +/* f017c5c: 240fffff */ li $t7,-1 +/* f017c60: e4263e78 */ swc1 $f6,0x3e78($at) +/* f017c64: 3c018006 */ lui $at,0x8006 +/* f017c68: e4323e7c */ swc1 $f18,0x3e7c($at) +/* f017c6c: 3c018006 */ lui $at,0x8006 +/* f017c70: ac203e80 */ sw $zero,0x3e80($at) +/* f017c74: 3c018006 */ lui $at,0x8006 +/* f017c78: e42e3e88 */ swc1 $f14,0x3e88($at) +/* f017c7c: ac400000 */ sw $zero,0x0($v0) +/* f017c80: ac830000 */ sw $v1,0x0($a0) +/* f017c84: 3c018006 */ lui $at,0x8006 +/* f017c88: ac203e90 */ sw $zero,0x3e90($at) +/* f017c8c: ad200000 */ sw $zero,0x0($t1) +/* f017c90: afe00000 */ sw $zero,0x0($ra) +/* f017c94: 3c018006 */ lui $at,0x8006 +/* f017c98: ac203e9c */ sw $zero,0x3e9c($at) +/* f017c9c: ad400000 */ sw $zero,0x0($t2) +/* f017ca0: 3c018006 */ lui $at,0x8006 +/* f017ca4: ac203ea4 */ sw $zero,0x3ea4($at) +/* f017ca8: 3c018006 */ lui $at,0x8006 +/* f017cac: ac203ea8 */ sw $zero,0x3ea8($at) +/* f017cb0: 3c018006 */ lui $at,0x8006 +/* f017cb4: ac233ec4 */ sw $v1,0x3ec4($at) +/* f017cb8: 3c018006 */ lui $at,0x8006 +/* f017cbc: ac203eac */ sw $zero,0x3eac($at) +/* f017cc0: ad800000 */ sw $zero,0x0($t4) +/* f017cc4: 3c018006 */ lui $at,0x8006 +/* f017cc8: e4323eb4 */ swc1 $f18,0x3eb4($at) +/* f017ccc: 3c018006 */ lui $at,0x8006 +/* f017cd0: ac203ebc */ sw $zero,0x3ebc($at) +/* f017cd4: 3c018006 */ lui $at,0x8006 +/* f017cd8: ac2f3eb8 */ sw $t7,0x3eb8($at) +/* f017cdc: ada00000 */ sw $zero,0x0($t5) +/* f017ce0: 3c018006 */ lui $at,0x8006 +/* f017ce4: ac203ecc */ sw $zero,0x3ecc($at) +/* f017ce8: 3c017f1b */ lui $at,0x7f1b +/* f017cec: c428a0d8 */ lwc1 $f8,-0x5f28($at) +/* f017cf0: 3c018006 */ lui $at,0x8006 +/* f017cf4: e4283ec8 */ swc1 $f8,0x3ec8($at) +/* f017cf8: 3c018006 */ lui $at,0x8006 +/* f017cfc: ac203ed0 */ sw $zero,0x3ed0($at) +/* f017d00: 3c018006 */ lui $at,0x8006 +/* f017d04: e4323ed4 */ swc1 $f18,0x3ed4($at) +.PB0f017d08: +/* f017d08: 3c048006 */ lui $a0,0x8006 +/* f017d0c: 24843e8c */ addiu $a0,$a0,0x3e8c +/* f017d10: 8c820000 */ lw $v0,0x0($a0) +/* f017d14: 3c013f80 */ lui $at,0x3f80 +/* f017d18: 44817000 */ mtc1 $at,$f14 +/* f017d1c: 3c098006 */ lui $t1,0x8006 +/* f017d20: 3c0a8006 */ lui $t2,0x8006 +/* f017d24: 3c0c8006 */ lui $t4,0x8006 +/* f017d28: 3c0d8006 */ lui $t5,0x8006 +/* f017d2c: 3c1f8006 */ lui $ra,0x8006 +/* f017d30: 44809000 */ mtc1 $zero,$f18 +/* f017d34: 27ff3e98 */ addiu $ra,$ra,0x3e98 +/* f017d38: 25ad3ec0 */ addiu $t5,$t5,0x3ec0 +/* f017d3c: 258c3eb0 */ addiu $t4,$t4,0x3eb0 +/* f017d40: 254a3ea0 */ addiu $t2,$t2,0x3ea0 +/* f017d44: 25293e94 */ addiu $t1,$t1,0x3e94 +/* f017d48: 10400009 */ beqz $v0,.PB0f017d70 +/* f017d4c: 24030001 */ li $v1,0x1 +/* f017d50: 244e0001 */ addiu $t6,$v0,0x1 +/* f017d54: 29c10004 */ slti $at,$t6,0x4 +/* f017d58: 14200005 */ bnez $at,.PB0f017d70 +/* f017d5c: ac8e0000 */ sw $t6,0x0($a0) +/* f017d60: ac800000 */ sw $zero,0x0($a0) +/* f017d64: 3c018006 */ lui $at,0x8006 +/* f017d68: ac233e90 */ sw $v1,0x3e90($at) +/* f017d6c: ad230000 */ sw $v1,0x0($t1) +.PB0f017d70: +/* f017d70: 3c198006 */ lui $t9,0x8006 +/* f017d74: 8f393ea4 */ lw $t9,0x3ea4($t9) +/* f017d78: 3c018006 */ lui $at,0x8006 +/* f017d7c: 13200049 */ beqz $t9,.PB0f017ea4 +/* f017d80: 00000000 */ nop +/* f017d84: c4203e68 */ lwc1 $f0,0x3e68($at) +/* f017d88: c5620000 */ lwc1 $f2,0x0($t3) +/* f017d8c: 3c048006 */ lui $a0,0x8006 +/* f017d90: 3c068006 */ lui $a2,0x8006 +/* f017d94: 4602003c */ c.lt.s $f0,$f2 +/* f017d98: 3c017f1b */ lui $at,0x7f1b +/* f017d9c: 24c63e6c */ addiu $a2,$a2,0x3e6c +/* f017da0: 24843e68 */ addiu $a0,$a0,0x3e68 +/* f017da4: 45020038 */ bc1fl .PB0f017e88 +/* f017da8: 4600103e */ c.le.s $f2,$f0 +/* f017dac: c420a0dc */ lwc1 $f0,-0x5f24($at) +/* f017db0: 3c017f1b */ lui $at,0x7f1b +/* f017db4: c42aa0e0 */ lwc1 $f10,-0x5f20($at) +/* f017db8: 44051000 */ mfc1 $a1,$f2 +/* f017dbc: 44070000 */ mfc1 $a3,$f0 +/* f017dc0: e7a00010 */ swc1 $f0,0x10($sp) +/* f017dc4: 0fc1b6b9 */ jal 0xf06dae4 +/* f017dc8: e7aa0014 */ swc1 $f10,0x14($sp) +/* f017dcc: 3c028006 */ lui $v0,0x8006 +/* f017dd0: 3c0b8006 */ lui $t3,0x8006 +/* f017dd4: 256b3e84 */ addiu $t3,$t3,0x3e84 +/* f017dd8: 24423e68 */ addiu $v0,$v0,0x3e68 +/* f017ddc: c4400000 */ lwc1 $f0,0x0($v0) +/* f017de0: c5620000 */ lwc1 $f2,0x0($t3) +/* f017de4: 3c098006 */ lui $t1,0x8006 +/* f017de8: 3c0a8006 */ lui $t2,0x8006 +/* f017dec: 4600103e */ c.le.s $f2,$f0 +/* f017df0: 3c0c8006 */ lui $t4,0x8006 +/* f017df4: 3c0d8006 */ lui $t5,0x8006 +/* f017df8: 3c1f8006 */ lui $ra,0x8006 +/* f017dfc: 44809000 */ mtc1 $zero,$f18 +/* f017e00: 27ff3e98 */ addiu $ra,$ra,0x3e98 +/* f017e04: 25ad3ec0 */ addiu $t5,$t5,0x3ec0 +/* f017e08: 258c3eb0 */ addiu $t4,$t4,0x3eb0 +/* f017e0c: 254a3ea0 */ addiu $t2,$t2,0x3ea0 +/* f017e10: 45000005 */ bc1f .PB0f017e28 +/* f017e14: 25293e94 */ addiu $t1,$t1,0x3e94 +/* f017e18: e4420000 */ swc1 $f2,0x0($v0) +/* f017e1c: 3c018006 */ lui $at,0x8006 +/* f017e20: e4323e6c */ swc1 $f18,0x3e6c($at) +/* f017e24: c4400000 */ lwc1 $f0,0x0($v0) +.PB0f017e28: +/* f017e28: 3c017f1b */ lui $at,0x7f1b +/* f017e2c: c42ca0e4 */ lwc1 $f12,-0x5f1c($at) +/* f017e30: 4600603e */ c.le.s $f12,$f0 +/* f017e34: 00000000 */ nop +/* f017e38: 45020009 */ bc1fl .PB0f017e60 +/* f017e3c: 4612003c */ c.lt.s $f0,$f18 +/* f017e40: 460c0101 */ sub.s $f4,$f0,$f12 +/* f017e44: 460c1181 */ sub.s $f6,$f2,$f12 +/* f017e48: e4440000 */ swc1 $f4,0x0($v0) +/* f017e4c: c4400000 */ lwc1 $f0,0x0($v0) +/* f017e50: e5660000 */ swc1 $f6,0x0($t3) +/* f017e54: 1000000b */ b .PB0f017e84 +/* f017e58: c5620000 */ lwc1 $f2,0x0($t3) +/* f017e5c: 4612003c */ c.lt.s $f0,$f18 +.PB0f017e60: +/* f017e60: 00000000 */ nop +/* f017e64: 45020008 */ bc1fl .PB0f017e88 +/* f017e68: 4600103e */ c.le.s $f2,$f0 +/* f017e6c: 460c0200 */ add.s $f8,$f0,$f12 +/* f017e70: 460c1280 */ add.s $f10,$f2,$f12 +/* f017e74: e4480000 */ swc1 $f8,0x0($v0) +/* f017e78: c4400000 */ lwc1 $f0,0x0($v0) +/* f017e7c: e56a0000 */ swc1 $f10,0x0($t3) +/* f017e80: c5620000 */ lwc1 $f2,0x0($t3) +.PB0f017e84: +/* f017e84: 4600103e */ c.le.s $f2,$f0 +.PB0f017e88: +/* f017e88: 3c013f80 */ lui $at,0x3f80 +/* f017e8c: 44817000 */ mtc1 $at,$f14 +/* f017e90: 24030001 */ li $v1,0x1 +/* f017e94: 45000021 */ bc1f .PB0f017f1c +/* f017e98: 3c018006 */ lui $at,0x8006 +/* f017e9c: 1000001f */ b .PB0f017f1c +/* f017ea0: ac203ea4 */ sw $zero,0x3ea4($at) +.PB0f017ea4: +/* f017ea4: 3c0f8006 */ lui $t7,0x8006 +/* f017ea8: 8def3e90 */ lw $t7,0x3e90($t7) +/* f017eac: 11e0001b */ beqz $t7,.PB0f017f1c +/* f017eb0: 3c017f1b */ lui $at,0x7f1b +/* f017eb4: c42ca0ec */ lwc1 $f12,-0x5f14($at) +/* f017eb8: 3c08800a */ lui $t0,0x800a +/* f017ebc: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f017ec0: 3c018006 */ lui $at,0x8006 +/* f017ec4: c4243e6c */ lwc1 $f4,0x3e6c($at) +/* f017ec8: c506004c */ lwc1 $f6,0x4c($t0) +/* f017ecc: 3c028006 */ lui $v0,0x8006 +/* f017ed0: 24423e68 */ addiu $v0,$v0,0x3e68 +/* f017ed4: 46062202 */ mul.s $f8,$f4,$f6 +/* f017ed8: c44a0000 */ lwc1 $f10,0x0($v0) +/* f017edc: 46085100 */ add.s $f4,$f10,$f8 +/* f017ee0: e4440000 */ swc1 $f4,0x0($v0) +/* f017ee4: c4400000 */ lwc1 $f0,0x0($v0) +/* f017ee8: 4600603e */ c.le.s $f12,$f0 +/* f017eec: 00000000 */ nop +/* f017ef0: 45020005 */ bc1fl .PB0f017f08 +/* f017ef4: 4612003c */ c.lt.s $f0,$f18 +/* f017ef8: 460c0181 */ sub.s $f6,$f0,$f12 +/* f017efc: 10000007 */ b .PB0f017f1c +/* f017f00: e4460000 */ swc1 $f6,0x0($v0) +/* f017f04: 4612003c */ c.lt.s $f0,$f18 +.PB0f017f08: +/* f017f08: 00000000 */ nop +/* f017f0c: 45020004 */ bc1fl .PB0f017f20 +/* f017f10: 8d220000 */ lw $v0,0x0($t1) +/* f017f14: 460c0280 */ add.s $f10,$f0,$f12 +/* f017f18: e44a0000 */ swc1 $f10,0x0($v0) +.PB0f017f1c: +/* f017f1c: 8d220000 */ lw $v0,0x0($t1) +.PB0f017f20: +/* f017f20: 3c08800a */ lui $t0,0x800a +/* f017f24: 3c0b8006 */ lui $t3,0x8006 +/* f017f28: 3c017f1b */ lui $at,0x7f1b +/* f017f2c: c42ca0f0 */ lwc1 $f12,-0x5f10($at) +/* f017f30: 256b3e84 */ addiu $t3,$t3,0x3e84 +/* f017f34: 1040001a */ beqz $v0,.PB0f017fa0 +/* f017f38: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f017f3c: 8d0e0038 */ lw $t6,0x38($t0) +/* f017f40: 24190042 */ li $t9,0x42 +/* f017f44: 3c018006 */ lui $at,0x8006 +/* f017f48: 004ec021 */ addu $t8,$v0,$t6 +/* f017f4c: ad380000 */ sw $t8,0x0($t1) +/* f017f50: 1b000009 */ blez $t8,.PB0f017f78 +/* f017f54: 03001025 */ move $v0,$t8 +/* f017f58: 44824000 */ mtc1 $v0,$f8 +/* f017f5c: 44993000 */ mtc1 $t9,$f6 +/* f017f60: 3c018006 */ lui $at,0x8006 +/* f017f64: 46804120 */ cvt.s.w $f4,$f8 +/* f017f68: 468032a0 */ cvt.s.w $f10,$f6 +/* f017f6c: 460a2203 */ div.s $f8,$f4,$f10 +/* f017f70: 10000002 */ b .PB0f017f7c +/* f017f74: e4283e7c */ swc1 $f8,0x3e7c($at) +.PB0f017f78: +/* f017f78: e4323e7c */ swc1 $f18,0x3e7c($at) +.PB0f017f7c: +/* f017f7c: 28410043 */ slti $at,$v0,0x43 +/* f017f80: 54200008 */ bnezl $at,.PB0f017fa4 +/* f017f84: 8fef0000 */ lw $t7,0x0($ra) +/* f017f88: ad200000 */ sw $zero,0x0($t1) +/* f017f8c: afe30000 */ sw $v1,0x0($ra) +/* f017f90: 3c018006 */ lui $at,0x8006 +/* f017f94: e4323e7c */ swc1 $f18,0x3e7c($at) +/* f017f98: 3c018006 */ lui $at,0x8006 +/* f017f9c: ac233e80 */ sw $v1,0x3e80($at) +.PB0f017fa0: +/* f017fa0: 8fef0000 */ lw $t7,0x0($ra) +.PB0f017fa4: +/* f017fa4: 11e00019 */ beqz $t7,.PB0f01800c +/* f017fa8: 3c017f1b */ lui $at,0x7f1b +/* f017fac: c426a0f4 */ lwc1 $f6,-0x5f0c($at) +/* f017fb0: c504004c */ lwc1 $f4,0x4c($t0) +/* f017fb4: 3c018006 */ lui $at,0x8006 +/* f017fb8: c4283e7c */ lwc1 $f8,0x3e7c($at) +/* f017fbc: 46043282 */ mul.s $f10,$f6,$f4 +/* f017fc0: 460a4000 */ add.s $f0,$f8,$f10 +/* f017fc4: e4203e7c */ swc1 $f0,0x3e7c($at) +/* f017fc8: 3c017f1b */ lui $at,0x7f1b +/* f017fcc: c424a0f8 */ lwc1 $f4,-0x5f08($at) +/* f017fd0: 3c018006 */ lui $at,0x8006 +/* f017fd4: 4600203e */ c.le.s $f4,$f0 +/* f017fd8: 00000000 */ nop +/* f017fdc: 45020006 */ bc1fl .PB0f017ff8 +/* f017fe0: 4600703e */ c.le.s $f14,$f0 +/* f017fe4: 8d4e0000 */ lw $t6,0x0($t2) +/* f017fe8: 55c00003 */ bnezl $t6,.PB0f017ff8 +/* f017fec: 4600703e */ c.le.s $f14,$f0 +/* f017ff0: ad430000 */ sw $v1,0x0($t2) +/* f017ff4: 4600703e */ c.le.s $f14,$f0 +.PB0f017ff8: +/* f017ff8: 00000000 */ nop +/* f017ffc: 45020004 */ bc1fl .PB0f018010 +/* f018000: 8d430000 */ lw $v1,0x0($t2) +/* f018004: e42e3e7c */ swc1 $f14,0x3e7c($at) +/* f018008: afe00000 */ sw $zero,0x0($ra) +.PB0f01800c: +/* f01800c: 8d430000 */ lw $v1,0x0($t2) +.PB0f018010: +/* f018010: 10600064 */ beqz $v1,.PB0f0181a4 +/* f018014: 00000000 */ nop +/* f018018: 8d180038 */ lw $t8,0x38($t0) +/* f01801c: 3c018006 */ lui $at,0x8006 +/* f018020: 3c048006 */ lui $a0,0x8006 +/* f018024: 0078c821 */ addu $t9,$v1,$t8 +/* f018028: ad590000 */ sw $t9,0x0($t2) +/* f01802c: c4283e70 */ lwc1 $f8,0x3e70($at) +/* f018030: 3c068006 */ lui $a2,0x8006 +/* f018034: 3c017f1b */ lui $at,0x7f1b +/* f018038: 4608903c */ c.lt.s $f18,$f8 +/* f01803c: 24c63e74 */ addiu $a2,$a2,0x3e74 +/* f018040: 24843e70 */ addiu $a0,$a0,0x3e70 +/* f018044: 4502001f */ bc1fl .PB0f0180c4 +/* f018048: 8d430000 */ lw $v1,0x0($t2) +/* f01804c: c420a0fc */ lwc1 $f0,-0x5f04($at) +/* f018050: 3c017f1b */ lui $at,0x7f1b +/* f018054: c42aa100 */ lwc1 $f10,-0x5f00($at) +/* f018058: 44059000 */ mfc1 $a1,$f18 +/* f01805c: 44070000 */ mfc1 $a3,$f0 +/* f018060: e7a00010 */ swc1 $f0,0x10($sp) +/* f018064: 0fc1b736 */ jal 0xf06dcd8 +/* f018068: e7aa0014 */ swc1 $f10,0x14($sp) +/* f01806c: 3c017f1b */ lui $at,0x7f1b +/* f018070: c42ca104 */ lwc1 $f12,-0x5efc($at) +/* f018074: 3c018006 */ lui $at,0x8006 +/* f018078: 44809000 */ mtc1 $zero,$f18 +/* f01807c: c4263e70 */ lwc1 $f6,0x3e70($at) +/* f018080: 3c08800a */ lui $t0,0x800a +/* f018084: 3c0a8006 */ lui $t2,0x8006 +/* f018088: 4612303e */ c.le.s $f6,$f18 +/* f01808c: 3c0b8006 */ lui $t3,0x8006 +/* f018090: 3c0c8006 */ lui $t4,0x8006 +/* f018094: 3c0d8006 */ lui $t5,0x8006 +/* f018098: 25ad3ec0 */ addiu $t5,$t5,0x3ec0 +/* f01809c: 258c3eb0 */ addiu $t4,$t4,0x3eb0 +/* f0180a0: 256b3e84 */ addiu $t3,$t3,0x3e84 +/* f0180a4: 254a3ea0 */ addiu $t2,$t2,0x3ea0 +/* f0180a8: 45000005 */ bc1f .PB0f0180c0 +/* f0180ac: 2508e4d0 */ addiu $t0,$t0,-6960 +/* f0180b0: 3c018006 */ lui $at,0x8006 +/* f0180b4: e4323e70 */ swc1 $f18,0x3e70($at) +/* f0180b8: 3c018006 */ lui $at,0x8006 +/* f0180bc: e4323e74 */ swc1 $f18,0x3e74($at) +.PB0f0180c0: +/* f0180c0: 8d430000 */ lw $v1,0x0($t2) +.PB0f0180c4: +/* f0180c4: 3c013f80 */ lui $at,0x3f80 +/* f0180c8: 44817000 */ mtc1 $at,$f14 +/* f0180cc: 2861001a */ slti $at,$v1,0x1a +/* f0180d0: 1420001c */ bnez $at,.PB0f018144 +/* f0180d4: 00000000 */ nop +/* f0180d8: 8d0f0038 */ lw $t7,0x38($t0) +/* f0180dc: 24040001 */ li $a0,0x1 +/* f0180e0: 006f7023 */ subu $t6,$v1,$t7 +/* f0180e4: 29c1001a */ slti $at,$t6,0x1a +/* f0180e8: 10200016 */ beqz $at,.PB0f018144 +/* f0180ec: 3c018006 */ lui $at,0x8006 +/* f0180f0: ac203e90 */ sw $zero,0x3e90($at) +/* f0180f4: 3c018006 */ lui $at,0x8006 +/* f0180f8: ac243ea4 */ sw $a0,0x3ea4($at) +/* f0180fc: 3c018006 */ lui $at,0x8006 +/* f018100: c4243e68 */ lwc1 $f4,0x3e68($at) +/* f018104: 3c014080 */ lui $at,0x4080 +/* f018108: 44814000 */ mtc1 $at,$f8 +/* f01810c: 3c013e80 */ lui $at,0x3e80 +/* f018110: 46082282 */ mul.s $f10,$f4,$f8 +/* f018114: 460c5183 */ div.s $f6,$f10,$f12 +/* f018118: 4600310d */ trunc.w.s $f4,$f6 +/* f01811c: 44022000 */ mfc1 $v0,$f4 +/* f018120: 44812000 */ mtc1 $at,$f4 +/* f018124: 24420002 */ addiu $v0,$v0,0x2 +/* f018128: 44824000 */ mtc1 $v0,$f8 +/* f01812c: 00000000 */ nop +/* f018130: 468042a0 */ cvt.s.w $f10,$f8 +/* f018134: 460c5182 */ mul.s $f6,$f10,$f12 +/* f018138: 00000000 */ nop +/* f01813c: 46043202 */ mul.s $f8,$f6,$f4 +/* f018140: e5680000 */ swc1 $f8,0x0($t3) +.PB0f018144: +/* f018144: 3c028006 */ lui $v0,0x8006 +/* f018148: 28610054 */ slti $at,$v1,0x54 +/* f01814c: 24040001 */ li $a0,0x1 +/* f018150: 14200009 */ bnez $at,.PB0f018178 +/* f018154: 8c423ea4 */ lw $v0,0x3ea4($v0) +/* f018158: 8d190038 */ lw $t9,0x38($t0) +/* f01815c: 3c058006 */ lui $a1,0x8006 +/* f018160: 24a53ea8 */ addiu $a1,$a1,0x3ea8 +/* f018164: 00797823 */ subu $t7,$v1,$t9 +/* f018168: 29e10054 */ slti $at,$t7,0x54 +/* f01816c: 10200002 */ beqz $at,.PB0f018178 +/* f018170: 00000000 */ nop +/* f018174: aca40000 */ sw $a0,0x0($a1) +.PB0f018178: +/* f018178: 3c058006 */ lui $a1,0x8006 +/* f01817c: 14400009 */ bnez $v0,.PB0f0181a4 +/* f018180: 24a53ea8 */ addiu $a1,$a1,0x3ea8 +/* f018184: 3c018006 */ lui $at,0x8006 +/* f018188: c42a3e70 */ lwc1 $f10,0x3e70($at) +/* f01818c: 4612503e */ c.le.s $f10,$f18 +/* f018190: 00000000 */ nop +/* f018194: 45000003 */ bc1f .PB0f0181a4 +/* f018198: 00000000 */ nop +/* f01819c: ad400000 */ sw $zero,0x0($t2) +/* f0181a0: aca40000 */ sw $a0,0x0($a1) +.PB0f0181a4: +/* f0181a4: 3c058006 */ lui $a1,0x8006 +/* f0181a8: 24a53ea8 */ addiu $a1,$a1,0x3ea8 +/* f0181ac: 8cae0000 */ lw $t6,0x0($a1) +/* f0181b0: 24040001 */ li $a0,0x1 +/* f0181b4: 3c0f8006 */ lui $t7,0x8006 +/* f0181b8: 11c00012 */ beqz $t6,.PB0f018204 +/* f0181bc: 3c017f1b */ lui $at,0x7f1b +/* f0181c0: c426a108 */ lwc1 $f6,-0x5ef8($at) +/* f0181c4: c504004c */ lwc1 $f4,0x4c($t0) +/* f0181c8: 3c038006 */ lui $v1,0x8006 +/* f0181cc: 24633e88 */ addiu $v1,$v1,0x3e88 +/* f0181d0: 46043202 */ mul.s $f8,$f6,$f4 +/* f0181d4: c46a0000 */ lwc1 $f10,0x0($v1) +/* f0181d8: 3c018006 */ lui $at,0x8006 +/* f0181dc: 46085181 */ sub.s $f6,$f10,$f8 +/* f0181e0: e4263e88 */ swc1 $f6,0x3e88($at) +/* f0181e4: c4640000 */ lwc1 $f4,0x0($v1) +/* f0181e8: 4612203e */ c.le.s $f4,$f18 +/* f0181ec: 00000000 */ nop +/* f0181f0: 45020005 */ bc1fl .PB0f018208 +/* f0181f4: 8d820000 */ lw $v0,0x0($t4) +/* f0181f8: e4720000 */ swc1 $f18,0x0($v1) +/* f0181fc: aca00000 */ sw $zero,0x0($a1) +/* f018200: ad840000 */ sw $a0,0x0($t4) +.PB0f018204: +/* f018204: 8d820000 */ lw $v0,0x0($t4) +.PB0f018208: +/* f018208: 3c0e8006 */ lui $t6,0x8006 +/* f01820c: 10400009 */ beqz $v0,.PB0f018234 +/* f018210: 00000000 */ nop +/* f018214: 8d180038 */ lw $t8,0x38($t0) +/* f018218: 0058c821 */ addu $t9,$v0,$t8 +/* f01821c: 2b210011 */ slti $at,$t9,0x11 +/* f018220: 14200004 */ bnez $at,.PB0f018234 +/* f018224: ad990000 */ sw $t9,0x0($t4) +/* f018228: ad800000 */ sw $zero,0x0($t4) +/* f01822c: 3c018006 */ lui $at,0x8006 +/* f018230: ac243eac */ sw $a0,0x3eac($at) +.PB0f018234: +/* f018234: 8dce3eac */ lw $t6,0x3eac($t6) +/* f018238: 3c018006 */ lui $at,0x8006 +/* f01823c: 51c00004 */ beqzl $t6,.PB0f018250 +/* f018240: 8da20000 */ lw $v0,0x0($t5) +/* f018244: ac203eac */ sw $zero,0x3eac($at) +/* f018248: ada40000 */ sw $a0,0x0($t5) +/* f01824c: 8da20000 */ lw $v0,0x0($t5) +.PB0f018250: +/* f018250: 3c018006 */ lui $at,0x8006 +/* f018254: 1040000f */ beqz $v0,.PB0f018294 +/* f018258: 00000000 */ nop +/* f01825c: 8d180038 */ lw $t8,0x38($t0) +/* f018260: 3c068006 */ lui $a2,0x8006 +/* f018264: 24c63ed0 */ addiu $a2,$a2,0x3ed0 +/* f018268: 0058c821 */ addu $t9,$v0,$t8 +/* f01826c: 1b200009 */ blez $t9,.PB0f018294 +/* f018270: adb90000 */ sw $t9,0x0($t5) +/* f018274: 3c078006 */ lui $a3,0x8006 +/* f018278: 3c098006 */ lui $t1,0x8006 +/* f01827c: 25293eb8 */ addiu $t1,$t1,0x3eb8 +/* f018280: 24e73ebc */ addiu $a3,$a3,0x3ebc +/* f018284: ada00000 */ sw $zero,0x0($t5) +/* f018288: ace40000 */ sw $a0,0x0($a3) +/* f01828c: ad240000 */ sw $a0,0x0($t1) +/* f018290: acc40000 */ sw $a0,0x0($a2) +.PB0f018294: +/* f018294: 3c078006 */ lui $a3,0x8006 +/* f018298: 24e73ebc */ addiu $a3,$a3,0x3ebc +/* f01829c: 8cee0000 */ lw $t6,0x0($a3) +/* f0182a0: 3c068006 */ lui $a2,0x8006 +/* f0182a4: 3c098006 */ lui $t1,0x8006 +/* f0182a8: 25293eb8 */ addiu $t1,$t1,0x3eb8 +/* f0182ac: 11c0002c */ beqz $t6,.PB0f018360 +/* f0182b0: 24c63ed0 */ addiu $a2,$a2,0x3ed0 +/* f0182b4: ac243ecc */ sw $a0,0x3ecc($at) +/* f0182b8: 8d220000 */ lw $v0,0x0($t1) +/* f0182bc: 3c018006 */ lui $at,0x8006 +/* f0182c0: 14400008 */ bnez $v0,.PB0f0182e4 +/* f0182c4: 24580001 */ addiu $t8,$v0,0x1 +/* f0182c8: c42a3eb4 */ lwc1 $f10,0x3eb4($at) +/* f0182cc: 3c017f1b */ lui $at,0x7f1b +/* f0182d0: c428a10c */ lwc1 $f8,-0x5ef4($at) +/* f0182d4: 3c018006 */ lui $at,0x8006 +/* f0182d8: 46085180 */ add.s $f6,$f10,$f8 +/* f0182dc: 10000011 */ b .PB0f018324 +/* f0182e0: e4263eb4 */ swc1 $f6,0x3eb4($at) +.PB0f0182e4: +/* f0182e4: 14820009 */ bne $a0,$v0,.PB0f01830c +/* f0182e8: 3c018006 */ lui $at,0x8006 +/* f0182ec: 3c018006 */ lui $at,0x8006 +/* f0182f0: c4243eb4 */ lwc1 $f4,0x3eb4($at) +/* f0182f4: 3c017f1b */ lui $at,0x7f1b +/* f0182f8: c42aa110 */ lwc1 $f10,-0x5ef0($at) +/* f0182fc: 3c018006 */ lui $at,0x8006 +/* f018300: 460a2200 */ add.s $f8,$f4,$f10 +/* f018304: 10000007 */ b .PB0f018324 +/* f018308: e4283eb4 */ swc1 $f8,0x3eb4($at) +.PB0f01830c: +/* f01830c: c4263eb4 */ lwc1 $f6,0x3eb4($at) +/* f018310: 3c017f1b */ lui $at,0x7f1b +/* f018314: c424a114 */ lwc1 $f4,-0x5eec($at) +/* f018318: 3c018006 */ lui $at,0x8006 +/* f01831c: 46043280 */ add.s $f10,$f6,$f4 +/* f018320: e42a3eb4 */ swc1 $f10,0x3eb4($at) +.PB0f018324: +/* f018324: 3c018006 */ lui $at,0x8006 +/* f018328: c4283eb4 */ lwc1 $f8,0x3eb4($at) +/* f01832c: 3c018006 */ lui $at,0x8006 +/* f018330: 4608703e */ c.le.s $f14,$f8 +/* f018334: 00000000 */ nop +/* f018338: 45000009 */ bc1f .PB0f018360 +/* f01833c: 00000000 */ nop +/* f018340: e4323eb4 */ swc1 $f18,0x3eb4($at) +/* f018344: 2401000a */ li $at,0xa +/* f018348: 17010005 */ bne $t8,$at,.PB0f018360 +/* f01834c: ad380000 */ sw $t8,0x0($t1) +/* f018350: 3c058006 */ lui $a1,0x8006 +/* f018354: 24a53e9c */ addiu $a1,$a1,0x3e9c +/* f018358: ace00000 */ sw $zero,0x0($a3) +/* f01835c: aca40000 */ sw $a0,0x0($a1) +.PB0f018360: +/* f018360: 8def3ecc */ lw $t7,0x3ecc($t7) +/* f018364: 3c058006 */ lui $a1,0x8006 +/* f018368: 24a53e9c */ addiu $a1,$a1,0x3e9c +/* f01836c: 11e00012 */ beqz $t7,.PB0f0183b8 +/* f018370: 00003825 */ move $a3,$zero +/* f018374: 3c017f1b */ lui $at,0x7f1b +/* f018378: c426a118 */ lwc1 $f6,-0x5ee8($at) +/* f01837c: c504004c */ lwc1 $f4,0x4c($t0) +/* f018380: 3c028006 */ lui $v0,0x8006 +/* f018384: 24423ec8 */ addiu $v0,$v0,0x3ec8 +/* f018388: 46043282 */ mul.s $f10,$f6,$f4 +/* f01838c: c4480000 */ lwc1 $f8,0x0($v0) +/* f018390: 3c018006 */ lui $at,0x8006 +/* f018394: 460a4180 */ add.s $f6,$f8,$f10 +/* f018398: e4263ec8 */ swc1 $f6,0x3ec8($at) +/* f01839c: c4400000 */ lwc1 $f0,0x0($v0) +/* f0183a0: 4600603e */ c.le.s $f12,$f0 +/* f0183a4: 00000000 */ nop +/* f0183a8: 45020004 */ bc1fl .PB0f0183bc +/* f0183ac: 8cce0000 */ lw $t6,0x0($a2) +/* f0183b0: 460c0101 */ sub.s $f4,$f0,$f12 +/* f0183b4: e4440000 */ swc1 $f4,0x0($v0) +.PB0f0183b8: +/* f0183b8: 8cce0000 */ lw $t6,0x0($a2) +.PB0f0183bc: +/* f0183bc: 3c017f1b */ lui $at,0x7f1b +/* f0183c0: 51c00012 */ beqzl $t6,.PB0f01840c +/* f0183c4: 8ca20000 */ lw $v0,0x0($a1) +/* f0183c8: c428a11c */ lwc1 $f8,-0x5ee4($at) +/* f0183cc: c50a004c */ lwc1 $f10,0x4c($t0) +/* f0183d0: 3c0a8006 */ lui $t2,0x8006 +/* f0183d4: 254a3ed4 */ addiu $t2,$t2,0x3ed4 +/* f0183d8: 460a4182 */ mul.s $f6,$f8,$f10 +/* f0183dc: c5440000 */ lwc1 $f4,0x0($t2) +/* f0183e0: 3c018006 */ lui $at,0x8006 +/* f0183e4: 46062200 */ add.s $f8,$f4,$f6 +/* f0183e8: e4283ed4 */ swc1 $f8,0x3ed4($at) +/* f0183ec: c54a0000 */ lwc1 $f10,0x0($t2) +/* f0183f0: 460a703e */ c.le.s $f14,$f10 +/* f0183f4: 00000000 */ nop +/* f0183f8: 45020004 */ bc1fl .PB0f01840c +/* f0183fc: 8ca20000 */ lw $v0,0x0($a1) +/* f018400: e54e0000 */ swc1 $f14,0x0($t2) +/* f018404: acc00000 */ sw $zero,0x0($a2) +/* f018408: 8ca20000 */ lw $v0,0x0($a1) +.PB0f01840c: +/* f01840c: 00003025 */ move $a2,$zero +/* f018410: 5040000a */ beqzl $v0,.PB0f01843c +/* f018414: 8fa40330 */ lw $a0,0x330($sp) +/* f018418: 8d180038 */ lw $t8,0x38($t0) +/* f01841c: 0058c821 */ addu $t9,$v0,$t8 +/* f018420: 2b210033 */ slti $at,$t9,0x33 +/* f018424: 14200004 */ bnez $at,.PB0f018438 +/* f018428: acb90000 */ sw $t9,0x0($a1) +/* f01842c: aca00000 */ sw $zero,0x0($a1) +/* f018430: 3c018006 */ lui $at,0x8006 +/* f018434: ac243df4 */ sw $a0,0x3df4($at) +.PB0f018438: +/* f018438: 8fa40330 */ lw $a0,0x330($sp) +.PB0f01843c: +/* f01843c: 0c002f0c */ jal 0xbc30 +/* f018440: 00002825 */ move $a1,$zero +/* f018444: 0c002bfc */ jal 0xaff0 +/* f018448: 00402025 */ move $a0,$v0 +/* f01844c: 3c0e8006 */ lui $t6,0x8006 +/* f018450: 8dce3e8c */ lw $t6,0x3e8c($t6) +/* f018454: 00401825 */ move $v1,$v0 +/* f018458: 24040002 */ li $a0,0x2 +/* f01845c: 11c00003 */ beqz $t6,.PB0f01846c +/* f018460: 00000000 */ nop +/* f018464: 10000272 */ b .PB0f018e30 +/* f018468: 8fbf0034 */ lw $ra,0x34($sp) +.PB0f01846c: +/* f01846c: 0fc5a408 */ jal 0xf169020 +/* f018470: afa30330 */ sw $v1,0x330($sp) +/* f018474: 44809000 */ mtc1 $zero,$f18 +/* f018478: 3c01457a */ lui $at,0x457a +/* f01847c: 44812000 */ mtc1 $at,$f4 +/* f018480: 3c013f80 */ lui $at,0x3f80 +/* f018484: 44813000 */ mtc1 $at,$f6 +/* f018488: 44069000 */ mfc1 $a2,$f18 +/* f01848c: 44079000 */ mfc1 $a3,$f18 +/* f018490: 27a400f0 */ addiu $a0,$sp,0xf0 +/* f018494: 00402825 */ move $a1,$v0 +/* f018498: afa20134 */ sw $v0,0x134($sp) +/* f01849c: e7b20014 */ swc1 $f18,0x14($sp) +/* f0184a0: e7b20018 */ swc1 $f18,0x18($sp) +/* f0184a4: e7b2001c */ swc1 $f18,0x1c($sp) +/* f0184a8: e7b20020 */ swc1 $f18,0x20($sp) +/* f0184ac: e7b20028 */ swc1 $f18,0x28($sp) +/* f0184b0: e7a40010 */ swc1 $f4,0x10($sp) +/* f0184b4: 0c0011b7 */ jal 0x46dc +/* f0184b8: e7a60024 */ swc1 $f6,0x24($sp) +/* f0184bc: 8fa30330 */ lw $v1,0x330($sp) +/* f0184c0: 3c017f1b */ lui $at,0x7f1b +/* f0184c4: c422a120 */ lwc1 $f2,-0x5ee0($at) +/* f0184c8: 8fa80134 */ lw $t0,0x134($sp) +/* f0184cc: 3c180384 */ lui $t8,0x384 +/* f0184d0: 37180010 */ ori $t8,$t8,0x10 +/* f0184d4: 3c190382 */ lui $t9,0x382 +/* f0184d8: ac780000 */ sw $t8,0x0($v1) +/* f0184dc: 24640008 */ addiu $a0,$v1,0x8 +/* f0184e0: ac680004 */ sw $t0,0x4($v1) +/* f0184e4: 37390010 */ ori $t9,$t9,0x10 +/* f0184e8: 250f0010 */ addiu $t7,$t0,0x10 +/* f0184ec: ac8f0004 */ sw $t7,0x4($a0) +/* f0184f0: ac990000 */ sw $t9,0x0($a0) +/* f0184f4: 3c018006 */ lui $at,0x8006 +/* f0184f8: c4203ed4 */ lwc1 $f0,0x3ed4($at) +/* f0184fc: 3c01bf80 */ lui $at,0xbf80 +/* f018500: 44814000 */ mtc1 $at,$f8 +/* f018504: 3c017f1b */ lui $at,0x7f1b +/* f018508: c42aa124 */ lwc1 $f10,-0x5edc($at) +/* f01850c: 46080380 */ add.s $f14,$f0,$f8 +/* f018510: 44809000 */ mtc1 $zero,$f18 +/* f018514: 46005102 */ mul.s $f4,$f10,$f0 +/* f018518: 3c058006 */ lui $a1,0x8006 +/* f01851c: 24a53c38 */ addiu $a1,$a1,0x3c38 +/* f018520: 46027182 */ mul.s $f6,$f14,$f2 +/* f018524: 240200ff */ li $v0,0xff +/* f018528: 24860008 */ addiu $a2,$a0,0x8 +/* f01852c: a0a00006 */ sb $zero,0x6($a1) +/* f018530: a0a00005 */ sb $zero,0x5($a1) +/* f018534: 46049401 */ sub.s $f16,$f18,$f4 +/* f018538: a0a00004 */ sb $zero,0x4($a1) +/* f01853c: a0a00002 */ sb $zero,0x2($a1) +/* f018540: 46023300 */ add.s $f12,$f6,$f2 +/* f018544: 46028202 */ mul.s $f8,$f16,$f2 +/* f018548: a0a00001 */ sb $zero,0x1($a1) +/* f01854c: a0a00000 */ sb $zero,0x0($a1) +/* f018550: a0a2000e */ sb $v0,0xe($a1) +/* f018554: a0a2000d */ sb $v0,0xd($a1) +/* f018558: a0a2000c */ sb $v0,0xc($a1) +/* f01855c: a0a2000a */ sb $v0,0xa($a1) +/* f018560: 46024400 */ add.s $f16,$f8,$f2 +/* f018564: a0a20009 */ sb $v0,0x9($a1) +/* f018568: a0a20008 */ sb $v0,0x8($a1) +/* f01856c: e7ac00e4 */ swc1 $f12,0xe4($sp) +/* f018570: e7b000e0 */ swc1 $f16,0xe0($sp) +/* f018574: 0c006b8b */ jal 0x1ae2c +/* f018578: afa60330 */ sw $a2,0x330($sp) +/* f01857c: e7a00050 */ swc1 $f0,0x50($sp) +/* f018580: 0c006b88 */ jal 0x1ae20 +/* f018584: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f018588: 3c0142fe */ lui $at,0x42fe +/* f01858c: 44815000 */ mtc1 $at,$f10 +/* f018590: c7a40050 */ lwc1 $f4,0x50($sp) +/* f018594: 3c018006 */ lui $at,0x8006 +/* f018598: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f01859c: 46045182 */ mul.s $f6,$f10,$f4 +/* f0185a0: 00000000 */ nop +/* f0185a4: 46060202 */ mul.s $f8,$f0,$f6 +/* f0185a8: 4600428d */ trunc.w.s $f10,$f8 +/* f0185ac: 44195000 */ mfc1 $t9,$f10 +/* f0185b0: 0c006b8b */ jal 0x1ae2c +/* f0185b4: a0393c48 */ sb $t9,0x3c48($at) +/* f0185b8: 3c0142fe */ lui $at,0x42fe +/* f0185bc: 44812000 */ mtc1 $at,$f4 +/* f0185c0: 3c018006 */ lui $at,0x8006 +/* f0185c4: c7ac00e4 */ lwc1 $f12,0xe4($sp) +/* f0185c8: 46040182 */ mul.s $f6,$f0,$f4 +/* f0185cc: 4600320d */ trunc.w.s $f8,$f6 +/* f0185d0: 440e4000 */ mfc1 $t6,$f8 +/* f0185d4: 0c006b88 */ jal 0x1ae20 +/* f0185d8: a02e3c49 */ sb $t6,0x3c49($at) +/* f0185dc: e7a00050 */ swc1 $f0,0x50($sp) +/* f0185e0: 0c006b88 */ jal 0x1ae20 +/* f0185e4: c7ac00e0 */ lwc1 $f12,0xe0($sp) +/* f0185e8: 3c0142fe */ lui $at,0x42fe +/* f0185ec: 44815000 */ mtc1 $at,$f10 +/* f0185f0: c7a40050 */ lwc1 $f4,0x50($sp) +/* f0185f4: 44809000 */ mtc1 $zero,$f18 +/* f0185f8: 3c018006 */ lui $at,0x8006 +/* f0185fc: 46045182 */ mul.s $f6,$f10,$f4 +/* f018600: 44059000 */ mfc1 $a1,$f18 +/* f018604: 44069000 */ mfc1 $a2,$f18 +/* f018608: 27a402b0 */ addiu $a0,$sp,0x2b0 +/* f01860c: 3c07457a */ lui $a3,0x457a +/* f018610: e7b20010 */ swc1 $f18,0x10($sp) +/* f018614: e7b20014 */ swc1 $f18,0x14($sp) +/* f018618: 46060202 */ mul.s $f8,$f0,$f6 +/* f01861c: e7b20018 */ swc1 $f18,0x18($sp) +/* f018620: e7b2001c */ swc1 $f18,0x1c($sp) +/* f018624: e7b20024 */ swc1 $f18,0x24($sp) +/* f018628: 4600428d */ trunc.w.s $f10,$f8 +/* f01862c: 44195000 */ mfc1 $t9,$f10 +/* f018630: 00000000 */ nop +/* f018634: a0393c4a */ sb $t9,0x3c4a($at) +/* f018638: 3c013f80 */ lui $at,0x3f80 +/* f01863c: 44812000 */ mtc1 $at,$f4 +/* f018640: 0c005d4d */ jal 0x17534 +/* f018644: e7a40020 */ swc1 $f4,0x20($sp) +/* f018648: 3c0f8006 */ lui $t7,0x8006 +/* f01864c: 8def3e80 */ lw $t7,0x3e80($t7) +/* f018650: 24010001 */ li $at,0x1 +/* f018654: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018658: 15e10004 */ bne $t7,$at,.PB0f01866c +/* f01865c: 3c0e8006 */ lui $t6,0x8006 +/* f018660: 8dce3bb8 */ lw $t6,0x3bb8($t6) +/* f018664: 10000004 */ b .PB0f018678 +/* f018668: afae022c */ sw $t6,0x22c($sp) +.PB0f01866c: +/* f01866c: 3c188006 */ lui $t8,0x8006 +/* f018670: 8f183bbc */ lw $t8,0x3bbc($t8) +/* f018674: afb8022c */ sw $t8,0x22c($sp) +.PB0f018678: +/* f018678: 3c018006 */ lui $at,0x8006 +/* f01867c: 0c005b71 */ jal 0x16dc4 +/* f018680: c42c3e68 */ lwc1 $f12,0x3e68($at) +/* f018684: 3c018006 */ lui $at,0x8006 +/* f018688: c42c3e70 */ lwc1 $f12,0x3e70($at) +/* f01868c: 0c005b4e */ jal 0x16d38 +/* f018690: 27a501a8 */ addiu $a1,$sp,0x1a8 +/* f018694: 27a401a8 */ addiu $a0,$sp,0x1a8 +/* f018698: 0c005913 */ jal 0x1644c +/* f01869c: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f0186a0: 27a402b0 */ addiu $a0,$sp,0x2b0 +/* f0186a4: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f0186a8: 0c005914 */ jal 0x16450 +/* f0186ac: 27a60270 */ addiu $a2,$sp,0x270 +/* f0186b0: 3c018006 */ lui $at,0x8006 +/* f0186b4: c42c3e78 */ lwc1 $f12,0x3e78($at) +/* f0186b8: 0c005a55 */ jal 0x16954 +/* f0186bc: 27a50270 */ addiu $a1,$sp,0x270 +/* f0186c0: 3c01437f */ lui $at,0x437f +/* f0186c4: 44813000 */ mtc1 $at,$f6 +/* f0186c8: 3c018006 */ lui $at,0x8006 +/* f0186cc: c4283e88 */ lwc1 $f8,0x3e88($at) +/* f0186d0: 24020001 */ li $v0,0x1 +/* f0186d4: 3c038006 */ lui $v1,0x8006 +/* f0186d8: 46083282 */ mul.s $f10,$f6,$f8 +/* f0186dc: 24633c20 */ addiu $v1,$v1,0x3c20 +/* f0186e0: 24050002 */ li $a1,0x2 +/* f0186e4: 4459f800 */ cfc1 $t9,$31 +/* f0186e8: 44c2f800 */ ctc1 $v0,$31 +/* f0186ec: 00000000 */ nop +/* f0186f0: 46005124 */ cvt.w.s $f4,$f10 +/* f0186f4: 4442f800 */ cfc1 $v0,$31 +/* f0186f8: 00000000 */ nop +/* f0186fc: 30420078 */ andi $v0,$v0,0x78 +/* f018700: 10400012 */ beqz $v0,.PB0f01874c +/* f018704: 3c014f00 */ lui $at,0x4f00 +/* f018708: 44812000 */ mtc1 $at,$f4 +/* f01870c: 24020001 */ li $v0,0x1 +/* f018710: 46045101 */ sub.s $f4,$f10,$f4 +/* f018714: 44c2f800 */ ctc1 $v0,$31 +/* f018718: 00000000 */ nop +/* f01871c: 46002124 */ cvt.w.s $f4,$f4 +/* f018720: 4442f800 */ cfc1 $v0,$31 +/* f018724: 00000000 */ nop +/* f018728: 30420078 */ andi $v0,$v0,0x78 +/* f01872c: 14400005 */ bnez $v0,.PB0f018744 +/* f018730: 00000000 */ nop +/* f018734: 44022000 */ mfc1 $v0,$f4 +/* f018738: 3c018000 */ lui $at,0x8000 +/* f01873c: 10000007 */ b .PB0f01875c +/* f018740: 00411025 */ or $v0,$v0,$at +.PB0f018744: +/* f018744: 10000005 */ b .PB0f01875c +/* f018748: 2402ffff */ li $v0,-1 +.PB0f01874c: +/* f01874c: 44022000 */ mfc1 $v0,$f4 +/* f018750: 00000000 */ nop +/* f018754: 0440fffb */ bltz $v0,.PB0f018744 +/* f018758: 00000000 */ nop +.PB0f01875c: +/* f01875c: 8fae022c */ lw $t6,0x22c($sp) +/* f018760: 44d9f800 */ ctc1 $t9,$31 +/* f018764: a0620006 */ sb $v0,0x6($v1) +/* f018768: a0620005 */ sb $v0,0x5($v1) +/* f01876c: a0620004 */ sb $v0,0x4($v1) +/* f018770: a0620002 */ sb $v0,0x2($v1) +/* f018774: a0620001 */ sb $v0,0x1($v1) +/* f018778: a0620000 */ sb $v0,0x0($v1) +/* f01877c: afa000dc */ sw $zero,0xdc($sp) +/* f018780: afa000d8 */ sw $zero,0xd8($sp) +/* f018784: 0c006cdb */ jal 0x1b36c +/* f018788: 8dc40008 */ lw $a0,0x8($t6) +/* f01878c: 10400027 */ beqz $v0,.PB0f01882c +/* f018790: 00402825 */ move $a1,$v0 +/* f018794: 8c460004 */ lw $a2,0x4($v0) +/* f018798: 8fa4022c */ lw $a0,0x22c($sp) +/* f01879c: 84d80010 */ lh $t8,0x10($a2) +/* f0187a0: 27190001 */ addiu $t9,$t8,0x1 +/* f0187a4: afb900dc */ sw $t9,0xdc($sp) +/* f0187a8: 94cf0016 */ lhu $t7,0x16($a2) +/* f0187ac: afa60164 */ sw $a2,0x164($sp) +/* f0187b0: 25ee0001 */ addiu $t6,$t7,0x1 +/* f0187b4: 0c006d1b */ jal 0x1b46c +/* f0187b8: afae00d8 */ sw $t6,0xd8($sp) +/* f0187bc: afa20160 */ sw $v0,0x160($sp) +/* f0187c0: 0fc5a419 */ jal 0xf169064 +/* f0187c4: 24040028 */ li $a0,0x28 +/* f0187c8: 8fb80160 */ lw $t8,0x160($sp) +/* f0187cc: 8fa60164 */ lw $a2,0x164($sp) +/* f0187d0: 3c19bc00 */ lui $t9,0xbc00 +/* f0187d4: af020004 */ sw $v0,0x4($t8) +/* f0187d8: 3c0f8000 */ lui $t7,0x8000 +/* f0187dc: 35ef0040 */ ori $t7,$t7,0x40 +/* f0187e0: 37390002 */ ori $t9,$t9,0x2 +/* f0187e4: 3c0e0386 */ lui $t6,0x386 +/* f0187e8: 35ce0010 */ ori $t6,$t6,0x10 +/* f0187ec: ac590000 */ sw $t9,0x0($v0) +/* f0187f0: ac4f0004 */ sw $t7,0x4($v0) +/* f0187f4: 3c0f8006 */ lui $t7,0x8006 +/* f0187f8: 3c190388 */ lui $t9,0x388 +/* f0187fc: ac4e0008 */ sw $t6,0x8($v0) +/* f018800: 3c188006 */ lui $t8,0x8006 +/* f018804: 27183bf8 */ addiu $t8,$t8,0x3bf8 +/* f018808: 37390010 */ ori $t9,$t9,0x10 +/* f01880c: 25ef3bf0 */ addiu $t7,$t7,0x3bf0 +/* f018810: 3c0e0601 */ lui $t6,0x601 +/* f018814: ac4f0014 */ sw $t7,0x14($v0) +/* f018818: ac590010 */ sw $t9,0x10($v0) +/* f01881c: ac58000c */ sw $t8,0xc($v0) +/* f018820: ac4e0018 */ sw $t6,0x18($v0) +/* f018824: 8cd80000 */ lw $t8,0x0($a2) +/* f018828: ac58001c */ sw $t8,0x1c($v0) +.PB0f01882c: +/* f01882c: 8fb9022c */ lw $t9,0x22c($sp) +/* f018830: 24050004 */ li $a1,0x4 +/* f018834: 0c006cdb */ jal 0x1b36c +/* f018838: 8f240008 */ lw $a0,0x8($t9) +/* f01883c: 10400037 */ beqz $v0,.PB0f01891c +/* f018840: 00402825 */ move $a1,$v0 +/* f018844: 8c460004 */ lw $a2,0x4($v0) +/* f018848: 8faf00dc */ lw $t7,0xdc($sp) +/* f01884c: 8fa4022c */ lw $a0,0x22c($sp) +/* f018850: 84ce0010 */ lh $t6,0x10($a2) +/* f018854: 01eec021 */ addu $t8,$t7,$t6 +/* f018858: 27190001 */ addiu $t9,$t8,0x1 +/* f01885c: afb900dc */ sw $t9,0xdc($sp) +/* f018860: 8faf00d8 */ lw $t7,0xd8($sp) +/* f018864: 94ce0016 */ lhu $t6,0x16($a2) +/* f018868: afa60164 */ sw $a2,0x164($sp) +/* f01886c: 01eec021 */ addu $t8,$t7,$t6 +/* f018870: 27190001 */ addiu $t9,$t8,0x1 +/* f018874: 0c006d1b */ jal 0x1b46c +/* f018878: afb900d8 */ sw $t9,0xd8($sp) +/* f01887c: afa20160 */ sw $v0,0x160($sp) +/* f018880: 0fc5a419 */ jal 0xf169064 +/* f018884: 24040028 */ li $a0,0x28 +/* f018888: 8faf0160 */ lw $t7,0x160($sp) +/* f01888c: 8fa60164 */ lw $a2,0x164($sp) +/* f018890: 3c018006 */ lui $at,0x8006 +/* f018894: ade20004 */ sw $v0,0x4($t7) +/* f018898: 44809000 */ mtc1 $zero,$f18 +/* f01889c: c4263e88 */ lwc1 $f6,0x3e88($at) +/* f0188a0: 24450008 */ addiu $a1,$v0,0x8 +/* f0188a4: 3c188000 */ lui $t8,0x8000 +/* f0188a8: 4606903c */ c.lt.s $f18,$f6 +/* f0188ac: 37180040 */ ori $t8,$t8,0x40 +/* f0188b0: 24a70008 */ addiu $a3,$a1,0x8 +/* f0188b4: 3c190386 */ lui $t9,0x386 +/* f0188b8: 45000016 */ bc1f .PB0f018914 +/* f0188bc: 3c0eb800 */ lui $t6,0xb800 +/* f0188c0: 3c0ebc00 */ lui $t6,0xbc00 +/* f0188c4: 35ce0002 */ ori $t6,$t6,0x2 +/* f0188c8: ac4e0000 */ sw $t6,0x0($v0) +/* f0188cc: ac580004 */ sw $t8,0x4($v0) +/* f0188d0: 37390010 */ ori $t9,$t9,0x10 +/* f0188d4: 3c0f8006 */ lui $t7,0x8006 +/* f0188d8: 25ef3c28 */ addiu $t7,$t7,0x3c28 +/* f0188dc: acb90000 */ sw $t9,0x0($a1) +/* f0188e0: acaf0004 */ sw $t7,0x4($a1) +/* f0188e4: 3c188006 */ lui $t8,0x8006 +/* f0188e8: 3c0e0388 */ lui $t6,0x388 +/* f0188ec: 35ce0010 */ ori $t6,$t6,0x10 +/* f0188f0: 27183c20 */ addiu $t8,$t8,0x3c20 +/* f0188f4: acf80004 */ sw $t8,0x4($a3) +/* f0188f8: acee0000 */ sw $t6,0x0($a3) +/* f0188fc: 24e30008 */ addiu $v1,$a3,0x8 +/* f018900: 3c190601 */ lui $t9,0x601 +/* f018904: ac790000 */ sw $t9,0x0($v1) +/* f018908: 8ccf0000 */ lw $t7,0x0($a2) +/* f01890c: 10000003 */ b .PB0f01891c +/* f018910: ac6f0004 */ sw $t7,0x4($v1) +.PB0f018914: +/* f018914: ac4e0000 */ sw $t6,0x0($v0) +/* f018918: ac400004 */ sw $zero,0x4($v0) +.PB0f01891c: +/* f01891c: 8fb8022c */ lw $t8,0x22c($sp) +/* f018920: 24050006 */ li $a1,0x6 +/* f018924: 0c006cdb */ jal 0x1b36c +/* f018928: 8f040008 */ lw $a0,0x8($t8) +/* f01892c: 10400037 */ beqz $v0,.PB0f018a0c +/* f018930: 00402825 */ move $a1,$v0 +/* f018934: 8c460004 */ lw $a2,0x4($v0) +/* f018938: 8fb900dc */ lw $t9,0xdc($sp) +/* f01893c: 8fa4022c */ lw $a0,0x22c($sp) +/* f018940: 84cf0010 */ lh $t7,0x10($a2) +/* f018944: 032f7021 */ addu $t6,$t9,$t7 +/* f018948: 25d80001 */ addiu $t8,$t6,0x1 +/* f01894c: afb800dc */ sw $t8,0xdc($sp) +/* f018950: 8fb900d8 */ lw $t9,0xd8($sp) +/* f018954: 94cf0016 */ lhu $t7,0x16($a2) +/* f018958: afa60164 */ sw $a2,0x164($sp) +/* f01895c: 032f7021 */ addu $t6,$t9,$t7 +/* f018960: 25d80001 */ addiu $t8,$t6,0x1 +/* f018964: 0c006d1b */ jal 0x1b46c +/* f018968: afb800d8 */ sw $t8,0xd8($sp) +/* f01896c: afa20160 */ sw $v0,0x160($sp) +/* f018970: 0fc5a419 */ jal 0xf169064 +/* f018974: 24040028 */ li $a0,0x28 +/* f018978: 8fb90160 */ lw $t9,0x160($sp) +/* f01897c: 8fa60164 */ lw $a2,0x164($sp) +/* f018980: 3c018006 */ lui $at,0x8006 +/* f018984: af220004 */ sw $v0,0x4($t9) +/* f018988: 44809000 */ mtc1 $zero,$f18 +/* f01898c: c4283e88 */ lwc1 $f8,0x3e88($at) +/* f018990: 24450008 */ addiu $a1,$v0,0x8 +/* f018994: 3c0e8000 */ lui $t6,0x8000 +/* f018998: 4608903c */ c.lt.s $f18,$f8 +/* f01899c: 35ce0040 */ ori $t6,$t6,0x40 +/* f0189a0: 24a70008 */ addiu $a3,$a1,0x8 +/* f0189a4: 3c180386 */ lui $t8,0x386 +/* f0189a8: 45000016 */ bc1f .PB0f018a04 +/* f0189ac: 3c0fb800 */ lui $t7,0xb800 +/* f0189b0: 3c0fbc00 */ lui $t7,0xbc00 +/* f0189b4: 35ef0002 */ ori $t7,$t7,0x2 +/* f0189b8: ac4f0000 */ sw $t7,0x0($v0) +/* f0189bc: ac4e0004 */ sw $t6,0x4($v0) +/* f0189c0: 37180010 */ ori $t8,$t8,0x10 +/* f0189c4: 3c198006 */ lui $t9,0x8006 +/* f0189c8: 27393c28 */ addiu $t9,$t9,0x3c28 +/* f0189cc: acb80000 */ sw $t8,0x0($a1) +/* f0189d0: acb90004 */ sw $t9,0x4($a1) +/* f0189d4: 3c0e8006 */ lui $t6,0x8006 +/* f0189d8: 3c0f0388 */ lui $t7,0x388 +/* f0189dc: 35ef0010 */ ori $t7,$t7,0x10 +/* f0189e0: 25ce3c20 */ addiu $t6,$t6,0x3c20 +/* f0189e4: acee0004 */ sw $t6,0x4($a3) +/* f0189e8: acef0000 */ sw $t7,0x0($a3) +/* f0189ec: 24e30008 */ addiu $v1,$a3,0x8 +/* f0189f0: 3c180601 */ lui $t8,0x601 +/* f0189f4: ac780000 */ sw $t8,0x0($v1) +/* f0189f8: 8cd90000 */ lw $t9,0x0($a2) +/* f0189fc: 10000003 */ b .PB0f018a0c +/* f018a00: ac790004 */ sw $t9,0x4($v1) +.PB0f018a04: +/* f018a04: ac4f0000 */ sw $t7,0x0($v0) +/* f018a08: ac400004 */ sw $zero,0x4($v0) +.PB0f018a0c: +/* f018a0c: 8fae022c */ lw $t6,0x22c($sp) +/* f018a10: 24050008 */ li $a1,0x8 +/* f018a14: 0c006cdb */ jal 0x1b36c +/* f018a18: 8dc40008 */ lw $a0,0x8($t6) +/* f018a1c: 10400037 */ beqz $v0,.PB0f018afc +/* f018a20: 00402825 */ move $a1,$v0 +/* f018a24: 8c460004 */ lw $a2,0x4($v0) +/* f018a28: 8fb800dc */ lw $t8,0xdc($sp) +/* f018a2c: 8fa4022c */ lw $a0,0x22c($sp) +/* f018a30: 84d90010 */ lh $t9,0x10($a2) +/* f018a34: 03197821 */ addu $t7,$t8,$t9 +/* f018a38: 25ee0001 */ addiu $t6,$t7,0x1 +/* f018a3c: afae00dc */ sw $t6,0xdc($sp) +/* f018a40: 8fb800d8 */ lw $t8,0xd8($sp) +/* f018a44: 94d90016 */ lhu $t9,0x16($a2) +/* f018a48: afa60164 */ sw $a2,0x164($sp) +/* f018a4c: 03197821 */ addu $t7,$t8,$t9 +/* f018a50: 25ee0001 */ addiu $t6,$t7,0x1 +/* f018a54: 0c006d1b */ jal 0x1b46c +/* f018a58: afae00d8 */ sw $t6,0xd8($sp) +/* f018a5c: afa20160 */ sw $v0,0x160($sp) +/* f018a60: 0fc5a419 */ jal 0xf169064 +/* f018a64: 24040028 */ li $a0,0x28 +/* f018a68: 8fb80160 */ lw $t8,0x160($sp) +/* f018a6c: 8fa60164 */ lw $a2,0x164($sp) +/* f018a70: 3c018006 */ lui $at,0x8006 +/* f018a74: af020004 */ sw $v0,0x4($t8) +/* f018a78: 44809000 */ mtc1 $zero,$f18 +/* f018a7c: c42a3e88 */ lwc1 $f10,0x3e88($at) +/* f018a80: 24450008 */ addiu $a1,$v0,0x8 +/* f018a84: 3c0f8000 */ lui $t7,0x8000 +/* f018a88: 460a903c */ c.lt.s $f18,$f10 +/* f018a8c: 35ef0040 */ ori $t7,$t7,0x40 +/* f018a90: 24a70008 */ addiu $a3,$a1,0x8 +/* f018a94: 3c0e0386 */ lui $t6,0x386 +/* f018a98: 45000016 */ bc1f .PB0f018af4 +/* f018a9c: 3c19b800 */ lui $t9,0xb800 +/* f018aa0: 3c19bc00 */ lui $t9,0xbc00 +/* f018aa4: 37390002 */ ori $t9,$t9,0x2 +/* f018aa8: ac590000 */ sw $t9,0x0($v0) +/* f018aac: ac4f0004 */ sw $t7,0x4($v0) +/* f018ab0: 35ce0010 */ ori $t6,$t6,0x10 +/* f018ab4: 3c188006 */ lui $t8,0x8006 +/* f018ab8: 27183c28 */ addiu $t8,$t8,0x3c28 +/* f018abc: acae0000 */ sw $t6,0x0($a1) +/* f018ac0: acb80004 */ sw $t8,0x4($a1) +/* f018ac4: 3c0f8006 */ lui $t7,0x8006 +/* f018ac8: 3c190388 */ lui $t9,0x388 +/* f018acc: 37390010 */ ori $t9,$t9,0x10 +/* f018ad0: 25ef3c20 */ addiu $t7,$t7,0x3c20 +/* f018ad4: acef0004 */ sw $t7,0x4($a3) +/* f018ad8: acf90000 */ sw $t9,0x0($a3) +/* f018adc: 24e30008 */ addiu $v1,$a3,0x8 +/* f018ae0: 3c0e0601 */ lui $t6,0x601 +/* f018ae4: ac6e0000 */ sw $t6,0x0($v1) +/* f018ae8: 8cd80000 */ lw $t8,0x0($a2) +/* f018aec: 10000003 */ b .PB0f018afc +/* f018af0: ac780004 */ sw $t8,0x4($v1) +.PB0f018af4: +/* f018af4: ac590000 */ sw $t9,0x0($v0) +/* f018af8: ac400004 */ sw $zero,0x4($v0) +.PB0f018afc: +/* f018afc: 0fc5a3f5 */ jal 0xf168fd4 +/* f018b00: 8fa400dc */ lw $a0,0xdc($sp) +/* f018b04: afa20044 */ sw $v0,0x44($sp) +/* f018b08: 0fc5a40f */ jal 0xf16903c +/* f018b0c: 8fa400d8 */ lw $a0,0xd8($sp) +/* f018b10: 3c013f80 */ lui $at,0x3f80 +/* f018b14: 44812000 */ mtc1 $at,$f4 +/* f018b18: 8fb80044 */ lw $t8,0x44($sp) +/* f018b1c: 3c068006 */ lui $a2,0x8006 +/* f018b20: 3c078006 */ lui $a3,0x8006 +/* f018b24: 240f00f0 */ li $t7,0xf0 +/* f018b28: 27ae0270 */ addiu $t6,$sp,0x270 +/* f018b2c: afae0018 */ sw $t6,0x18($sp) +/* f018b30: afaf0010 */ sw $t7,0x10($sp) +/* f018b34: 8ce73e7c */ lw $a3,0x3e7c($a3) +/* f018b38: 8cc63ec4 */ lw $a2,0x3ec4($a2) +/* f018b3c: 8fa40330 */ lw $a0,0x330($sp) +/* f018b40: 8fa5022c */ lw $a1,0x22c($sp) +/* f018b44: afa20020 */ sw $v0,0x20($sp) +/* f018b48: afb8001c */ sw $t8,0x1c($sp) +/* f018b4c: 0fc05cb5 */ jal 0xf0172d4 +/* f018b50: e7a40014 */ swc1 $f4,0x14($sp) +/* f018b54: 3c19bc00 */ lui $t9,0xbc00 +/* f018b58: 3c0f8000 */ lui $t7,0x8000 +/* f018b5c: 3c0e0386 */ lui $t6,0x386 +/* f018b60: 35ce0010 */ ori $t6,$t6,0x10 +/* f018b64: 35ef0040 */ ori $t7,$t7,0x40 +/* f018b68: 37390002 */ ori $t9,$t9,0x2 +/* f018b6c: 3c188006 */ lui $t8,0x8006 +/* f018b70: 27183c40 */ addiu $t8,$t8,0x3c40 +/* f018b74: ac590000 */ sw $t9,0x0($v0) +/* f018b78: ac4f0004 */ sw $t7,0x4($v0) +/* f018b7c: ac4e0008 */ sw $t6,0x8($v0) +/* f018b80: 24590018 */ addiu $t9,$v0,0x18 +/* f018b84: ac58000c */ sw $t8,0xc($v0) +/* f018b88: afb90330 */ sw $t9,0x330($sp) +/* f018b8c: 3c0e8006 */ lui $t6,0x8006 +/* f018b90: 3c0f0388 */ lui $t7,0x388 +/* f018b94: 35ef0010 */ ori $t7,$t7,0x10 +/* f018b98: 25ce3c38 */ addiu $t6,$t6,0x3c38 +/* f018b9c: 3c188006 */ lui $t8,0x8006 +/* f018ba0: ac4e0014 */ sw $t6,0x14($v0) +/* f018ba4: ac4f0010 */ sw $t7,0x10($v0) +/* f018ba8: 27183f18 */ addiu $t8,$t8,0x3f18 +/* f018bac: 8f010000 */ lw $at,0x0($t8) +/* f018bb0: 27a40064 */ addiu $a0,$sp,0x64 +/* f018bb4: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018bb8: ac810000 */ sw $at,0x0($a0) +/* f018bbc: 8f0f0004 */ lw $t7,0x4($t8) +/* f018bc0: ac8f0004 */ sw $t7,0x4($a0) +/* f018bc4: 8f010008 */ lw $at,0x8($t8) +/* f018bc8: 0c005c4b */ jal 0x1712c +/* f018bcc: ac810008 */ sw $at,0x8($a0) +/* f018bd0: 3c013f80 */ lui $at,0x3f80 +/* f018bd4: 44813000 */ mtc1 $at,$f6 +/* f018bd8: c7a8013c */ lwc1 $f8,0x13c($sp) +/* f018bdc: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018be0: 0c005a76 */ jal 0x169d8 +/* f018be4: 46083300 */ add.s $f12,$f6,$f8 +/* f018be8: 27a402b0 */ addiu $a0,$sp,0x2b0 +/* f018bec: 27a501e8 */ addiu $a1,$sp,0x1e8 +/* f018bf0: 0c005914 */ jal 0x16450 +/* f018bf4: 27a60230 */ addiu $a2,$sp,0x230 +/* f018bf8: 3c017f1b */ lui $at,0x7f1b +/* f018bfc: c42ca128 */ lwc1 $f12,-0x5ed8($at) +/* f018c00: 0c005a55 */ jal 0x16954 +/* f018c04: 27a50230 */ addiu $a1,$sp,0x230 +/* f018c08: 3c028006 */ lui $v0,0x8006 +/* f018c0c: 8c423eb8 */ lw $v0,0x3eb8($v0) +/* f018c10: 27a30230 */ addiu $v1,$sp,0x230 +/* f018c14: 04420085 */ bltzl $v0,.PB0f018e2c +/* f018c18: 8fa20330 */ lw $v0,0x330($sp) +/* f018c1c: 10400082 */ beqz $v0,.PB0f018e28 +/* f018c20: 24010001 */ li $at,0x1 +/* f018c24: 1441001f */ bne $v0,$at,.PB0f018ca4 +/* f018c28: 3c058006 */ lui $a1,0x8006 +/* f018c2c: 3c018006 */ lui $at,0x8006 +/* f018c30: c4203eb4 */ lwc1 $f0,0x3eb4($at) +/* f018c34: 3c013f00 */ lui $at,0x3f00 +/* f018c38: 44815000 */ mtc1 $at,$f10 +/* f018c3c: 44070000 */ mfc1 $a3,$f0 +/* f018c40: 00003025 */ move $a2,$zero +/* f018c44: 460a003c */ c.lt.s $f0,$f10 +/* f018c48: 8fa40330 */ lw $a0,0x330($sp) +/* f018c4c: 240e00ff */ li $t6,0xff +/* f018c50: 3c02800a */ lui $v0,0x800a +/* f018c54: 45000002 */ bc1f .PB0f018c60 +/* f018c58: 3c18800a */ lui $t8,0x800a +/* f018c5c: 24060001 */ li $a2,0x1 +.PB0f018c60: +/* f018c60: 8c4211d8 */ lw $v0,0x11d8($v0) +/* f018c64: 3c0f800a */ lui $t7,0x800a +/* f018c68: 8ca53bcc */ lw $a1,0x3bcc($a1) +/* f018c6c: 0002c880 */ sll $t9,$v0,0x2 +/* f018c70: 0319c021 */ addu $t8,$t8,$t9 +/* f018c74: 01f97821 */ addu $t7,$t7,$t9 +/* f018c78: 8def11d0 */ lw $t7,0x11d0($t7) +/* f018c7c: 8f1811c8 */ lw $t8,0x11c8($t8) +/* f018c80: 03201025 */ move $v0,$t9 +/* f018c84: afae0010 */ sw $t6,0x10($sp) +/* f018c88: e7a00014 */ swc1 $f0,0x14($sp) +/* f018c8c: afa30018 */ sw $v1,0x18($sp) +/* f018c90: afaf0020 */ sw $t7,0x20($sp) +/* f018c94: 0fc05cb5 */ jal 0xf0172d4 +/* f018c98: afb8001c */ sw $t8,0x1c($sp) +/* f018c9c: 10000062 */ b .PB0f018e28 +/* f018ca0: afa20330 */ sw $v0,0x330($sp) +.PB0f018ca4: +/* f018ca4: 24010002 */ li $at,0x2 +/* f018ca8: 14410023 */ bne $v0,$at,.PB0f018d38 +/* f018cac: 3c058006 */ lui $a1,0x8006 +/* f018cb0: 3c018006 */ lui $at,0x8006 +/* f018cb4: c4203eb4 */ lwc1 $f0,0x3eb4($at) +/* f018cb8: 3c013f00 */ lui $at,0x3f00 +/* f018cbc: 44812000 */ mtc1 $at,$f4 +/* f018cc0: 3c013f80 */ lui $at,0x3f80 +/* f018cc4: 44813000 */ mtc1 $at,$f6 +/* f018cc8: 4604003c */ c.lt.s $f0,$f4 +/* f018ccc: 00003025 */ move $a2,$zero +/* f018cd0: 8fa40330 */ lw $a0,0x330($sp) +/* f018cd4: 240e00ff */ li $t6,0xff +/* f018cd8: 45000002 */ bc1f .PB0f018ce4 +/* f018cdc: 46003201 */ sub.s $f8,$f6,$f0 +/* f018ce0: 24060001 */ li $a2,0x1 +.PB0f018ce4: +/* f018ce4: 3c02800a */ lui $v0,0x800a +/* f018ce8: 8c4211d8 */ lw $v0,0x11d8($v0) +/* f018cec: 3c18800a */ lui $t8,0x800a +/* f018cf0: 3c0f800a */ lui $t7,0x800a +/* f018cf4: 0002c880 */ sll $t9,$v0,0x2 +/* f018cf8: 0319c021 */ addu $t8,$t8,$t9 +/* f018cfc: 01f97821 */ addu $t7,$t7,$t9 +/* f018d00: 8def11d0 */ lw $t7,0x11d0($t7) +/* f018d04: 8f1811c8 */ lw $t8,0x11c8($t8) +/* f018d08: 44815000 */ mtc1 $at,$f10 +/* f018d0c: 44074000 */ mfc1 $a3,$f8 +/* f018d10: 8ca53bc8 */ lw $a1,0x3bc8($a1) +/* f018d14: 03201025 */ move $v0,$t9 +/* f018d18: afae0010 */ sw $t6,0x10($sp) +/* f018d1c: afa30018 */ sw $v1,0x18($sp) +/* f018d20: afaf0020 */ sw $t7,0x20($sp) +/* f018d24: afb8001c */ sw $t8,0x1c($sp) +/* f018d28: 0fc05cb5 */ jal 0xf0172d4 +/* f018d2c: e7aa0014 */ swc1 $f10,0x14($sp) +/* f018d30: 1000003d */ b .PB0f018e28 +/* f018d34: afa20330 */ sw $v0,0x330($sp) +.PB0f018d38: +/* f018d38: 24010003 */ li $at,0x3 +/* f018d3c: 14410022 */ bne $v0,$at,.PB0f018dc8 +/* f018d40: 3c058006 */ lui $a1,0x8006 +/* f018d44: 3c018006 */ lui $at,0x8006 +/* f018d48: c4203eb4 */ lwc1 $f0,0x3eb4($at) +/* f018d4c: 3c013f00 */ lui $at,0x3f00 +/* f018d50: 44812000 */ mtc1 $at,$f4 +/* f018d54: 44070000 */ mfc1 $a3,$f0 +/* f018d58: 00003025 */ move $a2,$zero +/* f018d5c: 4604003c */ c.lt.s $f0,$f4 +/* f018d60: 3c058006 */ lui $a1,0x8006 +/* f018d64: 3c013f80 */ lui $at,0x3f80 +/* f018d68: 8fa40330 */ lw $a0,0x330($sp) +/* f018d6c: 45000002 */ bc1f .PB0f018d78 +/* f018d70: 240e00ff */ li $t6,0xff +/* f018d74: 24060001 */ li $a2,0x1 +.PB0f018d78: +/* f018d78: 3c02800a */ lui $v0,0x800a +/* f018d7c: 8c4211d8 */ lw $v0,0x11d8($v0) +/* f018d80: 3c18800a */ lui $t8,0x800a +/* f018d84: 3c0f800a */ lui $t7,0x800a +/* f018d88: 0002c880 */ sll $t9,$v0,0x2 +/* f018d8c: 0319c021 */ addu $t8,$t8,$t9 +/* f018d90: 01f97821 */ addu $t7,$t7,$t9 +/* f018d94: 8def11d0 */ lw $t7,0x11d0($t7) +/* f018d98: 8f1811c8 */ lw $t8,0x11c8($t8) +/* f018d9c: 44813000 */ mtc1 $at,$f6 +/* f018da0: 8ca53bc8 */ lw $a1,0x3bc8($a1) +/* f018da4: 03201025 */ move $v0,$t9 +/* f018da8: afae0010 */ sw $t6,0x10($sp) +/* f018dac: afa30018 */ sw $v1,0x18($sp) +/* f018db0: afaf0020 */ sw $t7,0x20($sp) +/* f018db4: afb8001c */ sw $t8,0x1c($sp) +/* f018db8: 0fc05cb5 */ jal 0xf0172d4 +/* f018dbc: e7a60014 */ swc1 $f6,0x14($sp) +/* f018dc0: 10000019 */ b .PB0f018e28 +/* f018dc4: afa20330 */ sw $v0,0x330($sp) +.PB0f018dc8: +/* f018dc8: 3c02800a */ lui $v0,0x800a +/* f018dcc: 8c4211d8 */ lw $v0,0x11d8($v0) +/* f018dd0: 3c18800a */ lui $t8,0x800a +/* f018dd4: 3c0f800a */ lui $t7,0x800a +/* f018dd8: 0002c880 */ sll $t9,$v0,0x2 +/* f018ddc: 0319c021 */ addu $t8,$t8,$t9 +/* f018de0: 01f97821 */ addu $t7,$t7,$t9 +/* f018de4: 3c013f80 */ lui $at,0x3f80 +/* f018de8: 44814000 */ mtc1 $at,$f8 +/* f018dec: 8def11d0 */ lw $t7,0x11d0($t7) +/* f018df0: 8f1811c8 */ lw $t8,0x11c8($t8) +/* f018df4: 240e00ff */ li $t6,0xff +/* f018df8: 8ca53bc8 */ lw $a1,0x3bc8($a1) +/* f018dfc: afae0010 */ sw $t6,0x10($sp) +/* f018e00: 03201025 */ move $v0,$t9 +/* f018e04: 8fa40330 */ lw $a0,0x330($sp) +/* f018e08: 00003025 */ move $a2,$zero +/* f018e0c: 3c073f80 */ lui $a3,0x3f80 +/* f018e10: afa30018 */ sw $v1,0x18($sp) +/* f018e14: afaf0020 */ sw $t7,0x20($sp) +/* f018e18: e7a80014 */ swc1 $f8,0x14($sp) +/* f018e1c: 0fc05cb5 */ jal 0xf0172d4 +/* f018e20: afb8001c */ sw $t8,0x1c($sp) +/* f018e24: afa20330 */ sw $v0,0x330($sp) +.PB0f018e28: +/* f018e28: 8fa20330 */ lw $v0,0x330($sp) +.PB0f018e2c: +/* f018e2c: 8fbf0034 */ lw $ra,0x34($sp) +.PB0f018e30: +/* f018e30: 27bd0330 */ addiu $sp,$sp,0x330 +/* f018e34: 03e00008 */ jr $ra +/* f018e38: 00000000 */ nop +); #else GLOBAL_ASM( glabel titleRenderPdLogo @@ -4857,7 +6668,12 @@ void titleTickNintendoLogo(void) titleSetNextMode(TITLEMODE_PDLOGO); } - if (g_TitleTimer > (PAL ? 183 : 240)) { +#if VERSION >= VERSION_PAL_FINAL + if (g_TitleTimer > TICKS(220)) +#else + if (g_TitleTimer > TICKS(240)) +#endif + { titleSetNextMode(TITLEMODE_PDLOGO); } } diff --git a/src/game/training/training.c b/src/game/training/training.c index 54ae080ab..4b0feced5 100644 --- a/src/game/training/training.c +++ b/src/game/training/training.c @@ -1459,6 +1459,248 @@ glabel var7f1b941c /* f19f4ec: 03e00008 */ jr $ra /* f19f4f0: 00000000 */ nop ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel frExecuteTargetScript +.late_rodata +glabel var7f1baa50pf +.word 0x7f19fddc +.word 0x7f19ff90 +.word 0x7f19ff9c +.word 0x7f19ffd4 +.word 0x7f1a0080 +.word 0x7f1a0080 +.word 0x7f1a0080 +.word 0x7f19fdc0 +.word 0xbfc90fdb +.word 0xc0490fdb +.word 0x3fc90fdb +.word 0x40490fdb +.text +/* f19fd38: 00047900 */ sll $t7,$a0,0x4 +/* f19fd3c: 01e47823 */ subu $t7,$t7,$a0 +/* f19fd40: 3c18800b */ lui $t8,0x800b +/* f19fd44: 27181340 */ addiu $t8,$t8,0x1340 +/* f19fd48: 000f7880 */ sll $t7,$t7,0x2 +/* f19fd4c: 01f81821 */ addu $v1,$t7,$t8 +/* f19fd50: 8c670010 */ lw $a3,0x10($v1) +/* f19fd54: 27bdff30 */ addiu $sp,$sp,-208 +/* f19fd58: afbf0044 */ sw $ra,0x44($sp) +/* f19fd5c: 0007cfc2 */ srl $t9,$a3,0x1f +/* f19fd60: 132000c7 */ beqz $t9,.PB0f1a0080 +/* f19fd64: afa400d0 */ sw $a0,0xd0($sp) +/* f19fd68: 90620012 */ lbu $v0,0x12($v1) +/* f19fd6c: 3c0a8009 */ lui $t2,0x8009 +/* f19fd70: 8d4aace0 */ lw $t2,-0x5320($t2) +/* f19fd74: 24420022 */ addiu $v0,$v0,0x22 +/* f19fd78: 00025840 */ sll $t3,$v0,0x1 +/* f19fd7c: 3c0e8009 */ lui $t6,0x8009 +/* f19fd80: 014b6021 */ addu $t4,$t2,$t3 +/* f19fd84: 958d0000 */ lhu $t5,0x0($t4) +/* f19fd88: 8dceacf0 */ lw $t6,-0x5310($t6) +/* f19fd8c: 90660031 */ lbu $a2,0x31($v1) +/* f19fd90: 01ae2021 */ addu $a0,$t5,$t6 +/* f19fd94: 00864021 */ addu $t0,$a0,$a2 +/* f19fd98: 910f0000 */ lbu $t7,0x0($t0) +/* f19fd9c: 25f8fff4 */ addiu $t8,$t7,-12 +/* f19fda0: 2f010008 */ sltiu $at,$t8,0x8 +/* f19fda4: 102000b6 */ beqz $at,.PB0f1a0080 +/* f19fda8: 0018c080 */ sll $t8,$t8,0x2 +/* f19fdac: 3c017f1c */ lui $at,0x7f1c +/* f19fdb0: 00380821 */ addu $at,$at,$t8 +/* f19fdb4: 8c38b7d0 */ lw $t8,-0x4830($at) +/* f19fdb8: 03000008 */ jr $t8 +/* f19fdbc: 00000000 */ nop +/* f19fdc0: 906a0010 */ lbu $t2,0x10($v1) +/* f19fdc4: 240c3bc4 */ li $t4,0x3bc4 +/* f19fdc8: ac6c0024 */ sw $t4,0x24($v1) +/* f19fdcc: 354b0010 */ ori $t3,$t2,0x10 +/* f19fdd0: a06b0010 */ sb $t3,0x10($v1) +/* f19fdd4: 100000ab */ b .PB0f1a0084 +/* f19fdd8: 24020001 */ li $v0,0x1 +/* f19fddc: 91040001 */ lbu $a0,0x1($t0) +/* f19fde0: afa8004c */ sw $t0,0x4c($sp) +/* f19fde4: 0fc67d1e */ jal 0xf19f478 +/* f19fde8: afa30058 */ sw $v1,0x58($sp) +/* f19fdec: 8fa30058 */ lw $v1,0x58($sp) +/* f19fdf0: 00403825 */ move $a3,$v0 +/* f19fdf4: 0007c040 */ sll $t8,$a3,0x1 +/* f19fdf8: 806d0044 */ lb $t5,0x44($v1) +/* f19fdfc: 3c048009 */ lui $a0,0x8009 +/* f19fe00: 8fa8004c */ lw $t0,0x4c($sp) +/* f19fe04: 144d0006 */ bne $v0,$t5,.PB0f19fe20 +/* f19fe08: 00982021 */ addu $a0,$a0,$t8 +/* f19fe0c: 906e0031 */ lbu $t6,0x31($v1) +/* f19fe10: 00001025 */ move $v0,$zero +/* f19fe14: 25cf0004 */ addiu $t7,$t6,0x4 +/* f19fe18: 1000009a */ b .PB0f1a0084 +/* f19fe1c: a06f0031 */ sb $t7,0x31($v1) +.PB0f19fe20: +/* f19fe20: a0670044 */ sb $a3,0x44($v1) +/* f19fe24: 9484acf4 */ lhu $a0,-0x530c($a0) +/* f19fe28: 24050002 */ li $a1,0x2 +/* f19fe2c: 27a60070 */ addiu $a2,$sp,0x70 +/* f19fe30: afa30058 */ sw $v1,0x58($sp) +/* f19fe34: 0fc458d4 */ jal 0xf116350 +/* f19fe38: afa8004c */ sw $t0,0x4c($sp) +/* f19fe3c: 8fb900d0 */ lw $t9,0xd0($sp) +/* f19fe40: 3c0140c0 */ lui $at,0x40c0 +/* f19fe44: 44814000 */ mtc1 $at,$f8 +/* f19fe48: 44995000 */ mtc1 $t9,$f10 +/* f19fe4c: 8fa30058 */ lw $v1,0x58($sp) +/* f19fe50: c7a40070 */ lwc1 $f4,0x70($sp) +/* f19fe54: 46805420 */ cvt.s.w $f16,$f10 +/* f19fe58: c7a60074 */ lwc1 $f6,0x74($sp) +/* f19fe5c: e4640018 */ swc1 $f4,0x18($v1) +/* f19fe60: c7a40078 */ lwc1 $f4,0x78($sp) +/* f19fe64: e466001c */ swc1 $f6,0x1c($v1) +/* f19fe68: 8fa8004c */ lw $t0,0x4c($sp) +/* f19fe6c: 46104482 */ mul.s $f18,$f8,$f16 +/* f19fe70: 240100ff */ li $at,0xff +/* f19fe74: 3c098009 */ lui $t1,0x8009 +/* f19fe78: 2529acec */ addiu $t1,$t1,-21268 +/* f19fe7c: 240a0001 */ li $t2,0x1 +/* f19fe80: 46122180 */ add.s $f6,$f4,$f18 +/* f19fe84: e4660020 */ swc1 $f6,0x20($v1) +/* f19fe88: 91040002 */ lbu $a0,0x2($t0) +/* f19fe8c: 14810005 */ bne $a0,$at,.PB0f19fea4 +/* f19fe90: 3c01bf80 */ lui $at,0xbf80 +/* f19fe94: 44810000 */ mtc1 $at,$f0 +/* f19fe98: a06a0043 */ sb $t2,0x43($v1) +/* f19fe9c: 1000002f */ b .PB0f19ff5c +/* f19fea0: e460002c */ swc1 $f0,0x2c($v1) +.PB0f19fea4: +/* f19fea4: 91220000 */ lbu $v0,0x0($t1) +/* f19fea8: 240605d9 */ li $a2,0x5d9 +/* f19feac: 2407ffff */ li $a3,-1 +/* f19feb0: 28410003 */ slti $at,$v0,0x3 +/* f19feb4: 10200019 */ beqz $at,.PB0f19ff1c +/* f19feb8: 244b0001 */ addiu $t3,$v0,0x1 +/* f19febc: 3c01bf80 */ lui $at,0xbf80 +/* f19fec0: 44810000 */ mtc1 $at,$f0 +/* f19fec4: 240cffff */ li $t4,-1 +/* f19fec8: 240dffff */ li $t5,-1 +/* f19fecc: a12b0000 */ sb $t3,0x0($t1) +/* f19fed0: afad002c */ sw $t5,0x2c($sp) +/* f19fed4: afac0010 */ sw $t4,0x10($sp) +/* f19fed8: 00002025 */ move $a0,$zero +/* f19fedc: 8c650014 */ lw $a1,0x14($v1) +/* f19fee0: afa00014 */ sw $zero,0x14($sp) +/* f19fee4: afa00018 */ sw $zero,0x18($sp) +/* f19fee8: afa0001c */ sw $zero,0x1c($sp) +/* f19feec: afa00020 */ sw $zero,0x20($sp) +/* f19fef0: afa00028 */ sw $zero,0x28($sp) +/* f19fef4: afa30058 */ sw $v1,0x58($sp) +/* f19fef8: afa8004c */ sw $t0,0x4c($sp) +/* f19fefc: e7a00024 */ swc1 $f0,0x24($sp) +/* f19ff00: e7a00030 */ swc1 $f0,0x30($sp) +/* f19ff04: e7a00034 */ swc1 $f0,0x34($sp) +/* f19ff08: 0fc24e0e */ jal 0xf093838 +/* f19ff0c: e7a00038 */ swc1 $f0,0x38($sp) +/* f19ff10: 8fa8004c */ lw $t0,0x4c($sp) +/* f19ff14: 8fa30058 */ lw $v1,0x58($sp) +/* f19ff18: 91040002 */ lbu $a0,0x2($t0) +.PB0f19ff1c: +/* f19ff1c: 44845000 */ mtc1 $a0,$f10 +/* f19ff20: 3c014f80 */ lui $at,0x4f80 +/* f19ff24: 04810004 */ bgez $a0,.PB0f19ff38 +/* f19ff28: 46805220 */ cvt.s.w $f8,$f10 +/* f19ff2c: 44818000 */ mtc1 $at,$f16 +/* f19ff30: 00000000 */ nop +/* f19ff34: 46104200 */ add.s $f8,$f8,$f16 +.PB0f19ff38: +/* f19ff38: 3c014270 */ lui $at,0x4270 +/* f19ff3c: 44812000 */ mtc1 $at,$f4 +/* f19ff40: 3c01800b */ lui $at,0x800b +/* f19ff44: c426134c */ lwc1 $f6,0x134c($at) +/* f19ff48: 46044483 */ div.s $f18,$f8,$f4 +/* f19ff4c: 240e0001 */ li $t6,0x1 +/* f19ff50: a06e0043 */ sb $t6,0x43($v1) +/* f19ff54: 46069282 */ mul.s $f10,$f18,$f6 +/* f19ff58: e46a002c */ swc1 $f10,0x2c($v1) +.PB0f19ff5c: +/* f19ff5c: 910f0003 */ lbu $t7,0x3($t0) +/* f19ff60: 90790031 */ lbu $t9,0x31($v1) +/* f19ff64: a0600042 */ sb $zero,0x42($v1) +/* f19ff68: 000fc080 */ sll $t8,$t7,0x2 +/* f19ff6c: 030fc023 */ subu $t8,$t8,$t7 +/* f19ff70: 0018c0c0 */ sll $t8,$t8,0x3 +/* f19ff74: 030fc021 */ addu $t8,$t8,$t7 +/* f19ff78: 0018c040 */ sll $t8,$t8,0x1 +/* f19ff7c: 272a0004 */ addiu $t2,$t9,0x4 +/* f19ff80: ac780024 */ sw $t8,0x24($v1) +/* f19ff84: a06a0031 */ sb $t2,0x31($v1) +/* f19ff88: 1000003e */ b .PB0f1a0084 +/* f19ff8c: 24020001 */ li $v0,0x1 +/* f19ff90: a0600031 */ sb $zero,0x31($v1) +/* f19ff94: 1000003b */ b .PB0f1a0084 +/* f19ff98: 24020001 */ li $v0,0x1 +/* f19ff9c: 906c0010 */ lbu $t4,0x10($v1) +/* f19ffa0: 24d80002 */ addiu $t8,$a2,0x2 +/* f19ffa4: 24020001 */ li $v0,0x1 +/* f19ffa8: 358d0010 */ ori $t5,$t4,0x10 +/* f19ffac: a06d0010 */ sb $t5,0x10($v1) +/* f19ffb0: 910e0001 */ lbu $t6,0x1($t0) +/* f19ffb4: a0780031 */ sb $t8,0x31($v1) +/* f19ffb8: 000e7880 */ sll $t7,$t6,0x2 +/* f19ffbc: 01ee7823 */ subu $t7,$t7,$t6 +/* f19ffc0: 000f78c0 */ sll $t7,$t7,0x3 +/* f19ffc4: 01ee7821 */ addu $t7,$t7,$t6 +/* f19ffc8: 000f7840 */ sll $t7,$t7,0x1 +/* f19ffcc: 1000002d */ b .PB0f1a0084 +/* f19ffd0: ac6f0024 */ sw $t7,0x24($v1) +/* f19ffd4: 00075140 */ sll $t2,$a3,0x5 +/* f19ffd8: 05400025 */ bltz $t2,.PB0f1a0070 +/* f19ffdc: 3c017f1c */ lui $at,0x7f1c +/* f19ffe0: c430b7f0 */ lwc1 $f16,-0x4810($at) +/* f19ffe4: 3c017f1c */ lui $at,0x7f1c +/* f19ffe8: c428b7f4 */ lwc1 $f8,-0x480c($at) +/* f19ffec: 3c017f1c */ lui $at,0x7f1c +/* f19fff0: c424b7f8 */ lwc1 $f4,-0x4808($at) +/* f19fff4: 3c017f1c */ lui $at,0x7f1c +/* f19fff8: c432b7fc */ lwc1 $f18,-0x4804($at) +/* f19fffc: e7b0005c */ swc1 $f16,0x5c($sp) +/* f1a0000: e7a80060 */ swc1 $f8,0x60($sp) +/* f1a0004: e7a40064 */ swc1 $f4,0x64($sp) +/* f1a0008: e7b20068 */ swc1 $f18,0x68($sp) +/* f1a000c: 910b0001 */ lbu $t3,0x1($t0) +/* f1a0010: 27a2005c */ addiu $v0,$sp,0x5c +/* f1a0014: c46a0038 */ lwc1 $f10,0x38($v1) +/* f1a0018: 000b6080 */ sll $t4,$t3,0x2 +/* f1a001c: 004c6821 */ addu $t5,$v0,$t4 +/* f1a0020: c5a60000 */ lwc1 $f6,0x0($t5) +/* f1a0024: 906c0010 */ lbu $t4,0x10($v1) +/* f1a0028: 90660031 */ lbu $a2,0x31($v1) +/* f1a002c: 460a3400 */ add.s $f16,$f6,$f10 +/* f1a0030: e470003c */ swc1 $f16,0x3c($v1) +/* f1a0034: 91190002 */ lbu $t9,0x2($t0) +/* f1a0038: 910e0001 */ lbu $t6,0x1($t0) +/* f1a003c: 00195100 */ sll $t2,$t9,0x4 +/* f1a0040: 01595023 */ subu $t2,$t2,$t9 +/* f1a0044: 448a2000 */ mtc1 $t2,$f4 +/* f1a0048: 000e7880 */ sll $t7,$t6,0x2 +/* f1a004c: 004fc021 */ addu $t8,$v0,$t7 +/* f1a0050: 468024a0 */ cvt.s.w $f18,$f4 +/* f1a0054: c7080000 */ lwc1 $f8,0x0($t8) +/* f1a0058: 358e0008 */ ori $t6,$t4,0x8 +/* f1a005c: a06e0010 */ sb $t6,0x10($v1) +/* f1a0060: 31cf00ef */ andi $t7,$t6,0xef +/* f1a0064: a06f0010 */ sb $t7,0x10($v1) +/* f1a0068: 46124183 */ div.s $f6,$f8,$f18 +/* f1a006c: e4660034 */ swc1 $f6,0x34($v1) +.PB0f1a0070: +/* f1a0070: 24d80003 */ addiu $t8,$a2,0x3 +/* f1a0074: a0780031 */ sb $t8,0x31($v1) +/* f1a0078: 10000002 */ b .PB0f1a0084 +/* f1a007c: 24020001 */ li $v0,0x1 +.PB0f1a0080: +/* f1a0080: 24020001 */ li $v0,0x1 +.PB0f1a0084: +/* f1a0084: 8fbf0044 */ lw $ra,0x44($sp) +/* f1a0088: 27bd00d0 */ addiu $sp,$sp,0xd0 +/* f1a008c: 03e00008 */ jr $ra +/* f1a0090: 00000000 */ nop +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel frExecuteTargetScript @@ -4121,6 +4363,1106 @@ glabel var7f1b94e4 /* f1a1a04: 03e00008 */ jr $ra /* f1a1a08: 27bd0170 */ addiu $sp,$sp,0x170 ); +#elif VERSION >= VERSION_PAL_BETA +GLOBAL_ASM( +glabel frTick +.late_rodata +glabel var7f1b94c0 +.word 0x4012a974 +glabel var7f1b94c4 +.word 0x407f7642 +glabel var7f1b94c8 +.word 0x40490fdb +glabel var7f1b94cc +.word 0xc59c4000 +glabel var7f1b94d0 +.word 0x40c907a9 +glabel var7f1b94d4 +.word 0x40490fdb +glabel var7f1b94d8 +.word 0xbd0efa35 +glabel var7f1b94dc +.word 0x40490fdb +glabel var7f1b94e0 +.word 0x3d0efa35 +glabel var7f1b94e4 +.word 0x40490fdb +.text +/* f1a1648: 27bdfe90 */ addiu $sp,$sp,-368 +/* f1a164c: 3c0e8009 */ lui $t6,0x8009 +/* f1a1650: 91ceace4 */ lbu $t6,-0x531c($t6) +/* f1a1654: afbf007c */ sw $ra,0x7c($sp) +/* f1a1658: afb60078 */ sw $s6,0x78($sp) +/* f1a165c: afb50074 */ sw $s5,0x74($sp) +/* f1a1660: afb40070 */ sw $s4,0x70($sp) +/* f1a1664: afb3006c */ sw $s3,0x6c($sp) +/* f1a1668: afb20068 */ sw $s2,0x68($sp) +/* f1a166c: afb10064 */ sw $s1,0x64($sp) +/* f1a1670: afb00060 */ sw $s0,0x60($sp) +/* f1a1674: f7b80058 */ sdc1 $f24,0x58($sp) +/* f1a1678: f7b60050 */ sdc1 $f22,0x50($sp) +/* f1a167c: 11c00014 */ beqz $t6,.PB0f1a16d0 +/* f1a1680: f7b40048 */ sdc1 $f20,0x48($sp) +/* f1a1684: 3c16800a */ lui $s6,0x800a +/* f1a1688: 26d6e4d0 */ addiu $s6,$s6,-6960 +/* f1a168c: 8ecf0284 */ lw $t7,0x284($s6) +/* f1a1690: 3c15800b */ lui $s5,0x800b +/* f1a1694: 26b51340 */ addiu $s5,$s5,0x1340 +/* f1a1698: 8df81580 */ lw $t8,0x1580($t7) +/* f1a169c: 00184f00 */ sll $t1,$t8,0x1c +/* f1a16a0: 0520000b */ bltz $t1,.PB0f1a16d0 +/* f1a16a4: 00000000 */ nop +/* f1a16a8: 0fc67bc2 */ jal 0xf19ef08 +/* f1a16ac: 96a40456 */ lhu $a0,0x456($s5) +/* f1a16b0: 0fc4494f */ jal 0xf11253c +/* f1a16b4: 00402025 */ move $a0,$v0 +/* f1a16b8: 10400005 */ beqz $v0,.PB0f1a16d0 +/* f1a16bc: 00000000 */ nop +/* f1a16c0: 0fc67bc2 */ jal 0xf19ef08 +/* f1a16c4: 96a40456 */ lhu $a0,0x456($s5) +/* f1a16c8: 0fc286fc */ jal 0xf0a1bf0 +/* f1a16cc: 00402025 */ move $a0,$v0 +.PB0f1a16d0: +/* f1a16d0: 3c15800b */ lui $s5,0x800b +/* f1a16d4: 26b51340 */ addiu $s5,$s5,0x1340 +/* f1a16d8: 82a30464 */ lb $v1,0x464($s5) +/* f1a16dc: 3c16800a */ lui $s6,0x800a +/* f1a16e0: 26d6e4d0 */ addiu $s6,$s6,-6960 +/* f1a16e4: 5060006e */ beqzl $v1,.PB0f1a18a0 +/* f1a16e8: 8ec20284 */ lw $v0,0x284($s6) +/* f1a16ec: 8eca0038 */ lw $t2,0x38($s6) +/* f1a16f0: 3c10800b */ lui $s0,0x800b +/* f1a16f4: 3c11800b */ lui $s1,0x800b +/* f1a16f8: 006a5823 */ subu $t3,$v1,$t2 +/* f1a16fc: a2ab0464 */ sb $t3,0x464($s5) +/* f1a1700: 82a30464 */ lb $v1,0x464($s5) +/* f1a1704: 26311778 */ addiu $s1,$s1,0x1778 +/* f1a1708: 26101340 */ addiu $s0,$s0,0x1340 +/* f1a170c: 1c60000f */ bgtz $v1,.PB0f1a174c +/* f1a1710: 00000000 */ nop +/* f1a1714: 92a20465 */ lbu $v0,0x465($s5) +/* f1a1718: 24010002 */ li $at,0x2 +/* f1a171c: 00026142 */ srl $t4,$v0,0x5 +/* f1a1720: 11810003 */ beq $t4,$at,.PB0f1a1730 +/* f1a1724: 24010003 */ li $at,0x3 +/* f1a1728: 15810008 */ bne $t4,$at,.PB0f1a174c +/* f1a172c: 00000000 */ nop +.PB0f1a1730: +/* f1a1730: 8ecd0284 */ lw $t5,0x284($s6) +/* f1a1734: 24130001 */ li $s3,0x1 +/* f1a1738: 91ae0638 */ lbu $t6,0x638($t5) +/* f1a173c: 126e0003 */ beq $s3,$t6,.PB0f1a174c +/* f1a1740: 00000000 */ nop +/* f1a1744: a2b30464 */ sb $s3,0x464($s5) +/* f1a1748: 82a30464 */ lb $v1,0x464($s5) +.PB0f1a174c: +/* f1a174c: 1c60038a */ bgtz $v1,.PB0f1a2578 +/* f1a1750: 24130001 */ li $s3,0x1 +/* f1a1754: a2a00464 */ sb $zero,0x464($s5) +/* f1a1758: 8e040014 */ lw $a0,0x14($s0) +.PB0f1a175c: +/* f1a175c: 02602825 */ move $a1,$s3 +/* f1a1760: 50800004 */ beqzl $a0,.PB0f1a1774 +/* f1a1764: 2610003c */ addiu $s0,$s0,0x3c +/* f1a1768: 0fc24943 */ jal 0xf09250c +/* f1a176c: 3406ffff */ li $a2,0xffff +/* f1a1770: 2610003c */ addiu $s0,$s0,0x3c +.PB0f1a1774: +/* f1a1774: 5611fff9 */ bnel $s0,$s1,.PB0f1a175c +/* f1a1778: 8e040014 */ lw $a0,0x14($s0) +/* f1a177c: 3c02800b */ lui $v0,0x800b +/* f1a1780: 904217a5 */ lbu $v0,0x17a5($v0) +/* f1a1784: 00027942 */ srl $t7,$v0,0x5 +/* f1a1788: 11e0000b */ beqz $t7,.PB0f1a17b8 +/* f1a178c: 00000000 */ nop +/* f1a1790: 11f30010 */ beq $t7,$s3,.PB0f1a17d4 +/* f1a1794: 3c048009 */ lui $a0,0x8009 +/* f1a1798: 24010002 */ li $at,0x2 +/* f1a179c: 11e10012 */ beq $t7,$at,.PB0f1a17e8 +/* f1a17a0: 3c048009 */ lui $a0,0x8009 +/* f1a17a4: 24010003 */ li $at,0x3 +/* f1a17a8: 11e10023 */ beq $t7,$at,.PB0f1a1838 +/* f1a17ac: 3c048009 */ lui $a0,0x8009 +/* f1a17b0: 10000372 */ b .PB0f1a257c +/* f1a17b4: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a17b8: +/* f1a17b8: 0fc6a47e */ jal 0xf1a91f8 +/* f1a17bc: 00000000 */ nop +/* f1a17c0: 00402025 */ move $a0,$v0 +/* f1a17c4: 0fc3e2cf */ jal 0xf0f8b3c +/* f1a17c8: 2405000d */ li $a1,0xd +/* f1a17cc: 1000036b */ b .PB0f1a257c +/* f1a17d0: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a17d4: +/* f1a17d4: 2484b440 */ addiu $a0,$a0,-19392 +/* f1a17d8: 0fc3e2cf */ jal 0xf0f8b3c +/* f1a17dc: 2405000d */ li $a1,0xd +/* f1a17e0: 10000366 */ b .PB0f1a257c +/* f1a17e4: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a17e8: +/* f1a17e8: 3c01bf80 */ lui $at,0xbf80 +/* f1a17ec: 4481c000 */ mtc1 $at,$f24 +/* f1a17f0: 2418ffff */ li $t8,-1 +/* f1a17f4: 2419ffff */ li $t9,-1 +/* f1a17f8: 2409ffff */ li $t1,-1 +/* f1a17fc: afa9001c */ sw $t1,0x1c($sp) +/* f1a1800: afb90018 */ sw $t9,0x18($sp) +/* f1a1804: afb80010 */ sw $t8,0x10($sp) +/* f1a1808: 8c847f30 */ lw $a0,0x7f30($a0) +/* f1a180c: 240505db */ li $a1,0x5db +/* f1a1810: 00003025 */ move $a2,$zero +/* f1a1814: 2407ffff */ li $a3,-1 +/* f1a1818: 0c004254 */ jal 0x10950 +/* f1a181c: e7b80014 */ swc1 $f24,0x14($sp) +/* f1a1820: 3c048009 */ lui $a0,0x8009 +/* f1a1824: 2484b678 */ addiu $a0,$a0,-18824 +/* f1a1828: 0fc3e2cf */ jal 0xf0f8b3c +/* f1a182c: 2405000d */ li $a1,0xd +/* f1a1830: 10000352 */ b .PB0f1a257c +/* f1a1834: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a1838: +/* f1a1838: 3c01bf80 */ lui $at,0xbf80 +/* f1a183c: 4481c000 */ mtc1 $at,$f24 +/* f1a1840: 240affff */ li $t2,-1 +/* f1a1844: 240bffff */ li $t3,-1 +/* f1a1848: 240cffff */ li $t4,-1 +/* f1a184c: afac001c */ sw $t4,0x1c($sp) +/* f1a1850: afab0018 */ sw $t3,0x18($sp) +/* f1a1854: afaa0010 */ sw $t2,0x10($sp) +/* f1a1858: 8c847f30 */ lw $a0,0x7f30($a0) +/* f1a185c: 240505dc */ li $a1,0x5dc +/* f1a1860: 00003025 */ move $a2,$zero +/* f1a1864: 2407ffff */ li $a3,-1 +/* f1a1868: 0c004254 */ jal 0x10950 +/* f1a186c: e7b80014 */ swc1 $f24,0x14($sp) +/* f1a1870: 3c048009 */ lui $a0,0x8009 +/* f1a1874: 2484b55c */ addiu $a0,$a0,-19108 +/* f1a1878: 0fc3e2cf */ jal 0xf0f8b3c +/* f1a187c: 2405000d */ li $a1,0xd +/* f1a1880: 3c04800a */ lui $a0,0x800a +/* f1a1884: 248467f0 */ addiu $a0,$a0,0x67f0 +/* f1a1888: 00002825 */ move $a1,$zero +/* f1a188c: 0fc426eb */ jal 0xf109bac +/* f1a1890: 00003025 */ move $a2,$zero +/* f1a1894: 10000339 */ b .PB0f1a257c +/* f1a1898: 8fbf007c */ lw $ra,0x7c($sp) +/* f1a189c: 8ec20284 */ lw $v0,0x284($s6) +.PB0f1a18a0: +/* f1a18a0: 3c038009 */ lui $v1,0x8009 +/* f1a18a4: 2401000a */ li $at,0xa +/* f1a18a8: 8c4d00bc */ lw $t5,0xbc($v0) +/* f1a18ac: 9063ace4 */ lbu $v1,-0x531c($v1) +/* f1a18b0: 85ae0028 */ lh $t6,0x28($t5) +/* f1a18b4: 11c10024 */ beq $t6,$at,.PB0f1a1948 +/* f1a18b8: 00000000 */ nop +/* f1a18bc: 1060032e */ beqz $v1,.PB0f1a2578 +/* f1a18c0: 3c10800b */ lui $s0,0x800b +/* f1a18c4: 3c11800b */ lui $s1,0x800b +/* f1a18c8: 26311778 */ addiu $s1,$s1,0x1778 +/* f1a18cc: 26101340 */ addiu $s0,$s0,0x1340 +/* f1a18d0: 8e020010 */ lw $v0,0x10($s0) +.PB0f1a18d4: +/* f1a18d4: 00027fc2 */ srl $t7,$v0,0x1f +/* f1a18d8: 11e0000e */ beqz $t7,.PB0f1a1914 +/* f1a18dc: 0002c880 */ sll $t9,$v0,0x2 +/* f1a18e0: 0722000d */ bltzl $t9,.PB0f1a1918 +/* f1a18e4: 2610003c */ addiu $s0,$s0,0x3c +/* f1a18e8: 92090041 */ lbu $t1,0x41($s0) +/* f1a18ec: 5520000a */ bnezl $t1,.PB0f1a1918 +/* f1a18f0: 2610003c */ addiu $s0,$s0,0x3c +/* f1a18f4: 920a0043 */ lbu $t2,0x43($s0) +/* f1a18f8: 240b0001 */ li $t3,0x1 +/* f1a18fc: 24050001 */ li $a1,0x1 +/* f1a1900: 11400004 */ beqz $t2,.PB0f1a1914 +/* f1a1904: 3406ffff */ li $a2,0xffff +/* f1a1908: a20b0041 */ sb $t3,0x41($s0) +/* f1a190c: 0fc24943 */ jal 0xf09250c +/* f1a1910: 8e040014 */ lw $a0,0x14($s0) +.PB0f1a1914: +/* f1a1914: 2610003c */ addiu $s0,$s0,0x3c +.PB0f1a1918: +/* f1a1918: 5611ffee */ bnel $s0,$s1,.PB0f1a18d4 +/* f1a191c: 8e020010 */ lw $v0,0x10($s0) +/* f1a1920: 3c02800a */ lui $v0,0x800a +/* f1a1924: 8c42e754 */ lw $v0,-0x18ac($v0) +/* f1a1928: 24040001 */ li $a0,0x1 +/* f1a192c: 0fc68264 */ jal 0xf1a0990 +/* f1a1930: ac401c08 */ sw $zero,0x1c08($v0) +/* f1a1934: 00002025 */ move $a0,$zero +/* f1a1938: 0fc1281b */ jal 0xf04a06c +/* f1a193c: 24050001 */ li $a1,0x1 +/* f1a1940: 1000030e */ b .PB0f1a257c +/* f1a1944: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a1948: +/* f1a1948: 5060030c */ beqzl $v1,.PB0f1a257c +/* f1a194c: 8fbf007c */ lw $ra,0x7c($sp) +/* f1a1950: 8c4c00d8 */ lw $t4,0xd8($v0) +/* f1a1954: 51800004 */ beqzl $t4,.PB0f1a1968 +/* f1a1958: 8ecd0034 */ lw $t5,0x34($s6) +/* f1a195c: 0fc68264 */ jal 0xf1a0990 +/* f1a1960: 00002025 */ move $a0,$zero +/* f1a1964: 8ecd0034 */ lw $t5,0x34($s6) +.PB0f1a1968: +/* f1a1968: 3c10800b */ lui $s0,0x800b +/* f1a196c: 26101340 */ addiu $s0,$s0,0x1340 +/* f1a1970: 15a00018 */ bnez $t5,.PB0f1a19d4 +/* f1a1974: 3c11800b */ lui $s1,0x800b +/* f1a1978: 26311778 */ addiu $s1,$s1,0x1778 +/* f1a197c: 8e020010 */ lw $v0,0x10($s0) +.PB0f1a1980: +/* f1a1980: 000277c2 */ srl $t6,$v0,0x1f +/* f1a1984: 11c0000e */ beqz $t6,.PB0f1a19c0 +/* f1a1988: 0002c080 */ sll $t8,$v0,0x2 +/* f1a198c: 0702000d */ bltzl $t8,.PB0f1a19c4 +/* f1a1990: 2610003c */ addiu $s0,$s0,0x3c +/* f1a1994: 92190041 */ lbu $t9,0x41($s0) +/* f1a1998: 5720000a */ bnezl $t9,.PB0f1a19c4 +/* f1a199c: 2610003c */ addiu $s0,$s0,0x3c +/* f1a19a0: 92090043 */ lbu $t1,0x43($s0) +/* f1a19a4: 240a0001 */ li $t2,0x1 +/* f1a19a8: 24050001 */ li $a1,0x1 +/* f1a19ac: 11200004 */ beqz $t1,.PB0f1a19c0 +/* f1a19b0: 3406ffff */ li $a2,0xffff +/* f1a19b4: a20a0041 */ sb $t2,0x41($s0) +/* f1a19b8: 0fc24943 */ jal 0xf09250c +/* f1a19bc: 8e040014 */ lw $a0,0x14($s0) +.PB0f1a19c0: +/* f1a19c0: 2610003c */ addiu $s0,$s0,0x3c +.PB0f1a19c4: +/* f1a19c4: 5611ffee */ bnel $s0,$s1,.PB0f1a1980 +/* f1a19c8: 8e020010 */ lw $v0,0x10($s0) +/* f1a19cc: 100002eb */ b .PB0f1a257c +/* f1a19d0: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a19d4: +/* f1a19d4: 8ecc0284 */ lw $t4,0x284($s6) +/* f1a19d8: 240b0001 */ li $t3,0x1 +/* f1a19dc: 0fc67efe */ jal 0xf19fbf8 +/* f1a19e0: ad8b1c08 */ sw $t3,0x1c08($t4) +/* f1a19e4: 92ad045a */ lbu $t5,0x45a($s5) +/* f1a19e8: 51a0004b */ beqzl $t5,.PB0f1a1b18 +/* f1a19ec: 8eab044c */ lw $t3,0x44c($s5) +/* f1a19f0: 0fc67bc2 */ jal 0xf19ef08 +/* f1a19f4: 96a40456 */ lhu $a0,0x456($s5) +/* f1a19f8: 00409025 */ move $s2,$v0 +/* f1a19fc: 00402025 */ move $a0,$v0 +/* f1a1a00: 0fc2a76c */ jal 0xf0a9db0 +/* f1a1a04: 00002825 */ move $a1,$zero +/* f1a1a08: 00408825 */ move $s1,$v0 +/* f1a1a0c: 0fc2a724 */ jal 0xf0a9c90 +/* f1a1a10: 00402025 */ move $a0,$v0 +/* f1a1a14: 00408025 */ move $s0,$v0 +/* f1a1a18: 02402025 */ move $a0,$s2 +/* f1a1a1c: 0fc2c57f */ jal 0xf0b15fc +/* f1a1a20: 00002825 */ move $a1,$zero +/* f1a1a24: 10400003 */ beqz $v0,.PB0f1a1a34 +/* f1a1a28: 00001825 */ move $v1,$zero +/* f1a1a2c: 10000001 */ b .PB0f1a1a34 +/* f1a1a30: 84430008 */ lh $v1,0x8($v0) +.PB0f1a1a34: +/* f1a1a34: 86a20476 */ lh $v0,0x476($s5) +/* f1a1a38: 02038023 */ subu $s0,$s0,$v1 +/* f1a1a3c: 2401ffff */ li $at,-1 +/* f1a1a40: 18400011 */ blez $v0,.PB0f1a1a88 +/* f1a1a44: 00000000 */ nop +/* f1a1a48: 0fc2a6c3 */ jal 0xf0a9b0c +/* f1a1a4c: 02202025 */ move $a0,$s1 +/* f1a1a50: 92a3045a */ lbu $v1,0x45a($s5) +/* f1a1a54: 86ae0476 */ lh $t6,0x476($s5) +/* f1a1a58: 00403025 */ move $a2,$v0 +/* f1a1a5c: 00662821 */ addu $a1,$v1,$a2 +/* f1a1a60: 01c37823 */ subu $t7,$t6,$v1 +/* f1a1a64: a6af0476 */ sh $t7,0x476($s5) +/* f1a1a68: 86b80476 */ lh $t8,0x476($s5) +/* f1a1a6c: 07010002 */ bgez $t8,.PB0f1a1a78 +/* f1a1a70: 00000000 */ nop +/* f1a1a74: a6a00476 */ sh $zero,0x476($s5) +.PB0f1a1a78: +/* f1a1a78: 0fc2a671 */ jal 0xf0a99c4 +/* f1a1a7c: 02202025 */ move $a0,$s1 +/* f1a1a80: 10000006 */ b .PB0f1a1a9c +/* f1a1a84: 24010012 */ li $at,0x12 +.PB0f1a1a88: +/* f1a1a88: 14410003 */ bne $v0,$at,.PB0f1a1a98 +/* f1a1a8c: 02202025 */ move $a0,$s1 +/* f1a1a90: 0fc2a671 */ jal 0xf0a99c4 +/* f1a1a94: 02002825 */ move $a1,$s0 +.PB0f1a1a98: +/* f1a1a98: 24010012 */ li $at,0x12 +.PB0f1a1a9c: +/* f1a1a9c: 5641001d */ bnel $s2,$at,.PB0f1a1b14 +/* f1a1aa0: a2a0045a */ sb $zero,0x45a($s5) +/* f1a1aa4: 0fc2a724 */ jal 0xf0a9c90 +/* f1a1aa8: 2404000b */ li $a0,0xb +/* f1a1aac: 86a30478 */ lh $v1,0x478($s5) +/* f1a1ab0: 00408025 */ move $s0,$v0 +/* f1a1ab4: 2401ffff */ li $at,-1 +/* f1a1ab8: 18600011 */ blez $v1,.PB0f1a1b00 +/* f1a1abc: 00000000 */ nop +/* f1a1ac0: 0fc2a6c3 */ jal 0xf0a9b0c +/* f1a1ac4: 2404000b */ li $a0,0xb +/* f1a1ac8: 92a3045a */ lbu $v1,0x45a($s5) +/* f1a1acc: 86b90478 */ lh $t9,0x478($s5) +/* f1a1ad0: 00403025 */ move $a2,$v0 +/* f1a1ad4: 00662821 */ addu $a1,$v1,$a2 +/* f1a1ad8: 03234823 */ subu $t1,$t9,$v1 +/* f1a1adc: a6a90478 */ sh $t1,0x478($s5) +/* f1a1ae0: 86aa0478 */ lh $t2,0x478($s5) +/* f1a1ae4: 05410002 */ bgez $t2,.PB0f1a1af0 +/* f1a1ae8: 00000000 */ nop +/* f1a1aec: a6a00478 */ sh $zero,0x478($s5) +.PB0f1a1af0: +/* f1a1af0: 0fc2a671 */ jal 0xf0a99c4 +/* f1a1af4: 2404000b */ li $a0,0xb +/* f1a1af8: 10000006 */ b .PB0f1a1b14 +/* f1a1afc: a2a0045a */ sb $zero,0x45a($s5) +.PB0f1a1b00: +/* f1a1b00: 14610003 */ bne $v1,$at,.PB0f1a1b10 +/* f1a1b04: 2404000b */ li $a0,0xb +/* f1a1b08: 0fc2a671 */ jal 0xf0a99c4 +/* f1a1b0c: 02002825 */ move $a1,$s0 +.PB0f1a1b10: +/* f1a1b10: a2a0045a */ sb $zero,0x45a($s5) +.PB0f1a1b14: +/* f1a1b14: 8eab044c */ lw $t3,0x44c($s5) +.PB0f1a1b18: +/* f1a1b18: 8ecc0038 */ lw $t4,0x38($s6) +/* f1a1b1c: 016c6821 */ addu $t5,$t3,$t4 +/* f1a1b20: 05a10032 */ bgez $t5,.PB0f1a1bec +/* f1a1b24: aead044c */ sw $t5,0x44c($s5) +/* f1a1b28: 96ae0458 */ lhu $t6,0x458($s5) +/* f1a1b2c: 55c00026 */ bnezl $t6,.PB0f1a1bc8 +/* f1a1b30: 8eb90464 */ lw $t9,0x464($s5) +/* f1a1b34: 8ea30464 */ lw $v1,0x464($s5) +/* f1a1b38: 29a1ff6b */ slti $at,$t5,-149 +/* f1a1b3c: 0003c300 */ sll $t8,$v1,0xc +/* f1a1b40: 07020016 */ bltzl $t8,.PB0f1a1b9c +/* f1a1b44: 00037ac0 */ sll $t7,$v1,0xb +/* f1a1b48: 14200013 */ bnez $at,.PB0f1a1b98 +/* f1a1b4c: 3c048009 */ lui $a0,0x8009 +/* f1a1b50: 92a90465 */ lbu $t1,0x465($s5) +/* f1a1b54: 3c01bf80 */ lui $at,0xbf80 +/* f1a1b58: 4481c000 */ mtc1 $at,$f24 +/* f1a1b5c: 352a0008 */ ori $t2,$t1,0x8 +/* f1a1b60: a2aa0465 */ sb $t2,0x465($s5) +/* f1a1b64: 240bffff */ li $t3,-1 +/* f1a1b68: 240cffff */ li $t4,-1 +/* f1a1b6c: 240dffff */ li $t5,-1 +/* f1a1b70: afad001c */ sw $t5,0x1c($sp) +/* f1a1b74: afac0018 */ sw $t4,0x18($sp) +/* f1a1b78: afab0010 */ sw $t3,0x10($sp) +/* f1a1b7c: 8c847f30 */ lw $a0,0x7f30($a0) +/* f1a1b80: 240505d4 */ li $a1,0x5d4 +/* f1a1b84: 00003025 */ move $a2,$zero +/* f1a1b88: 2407ffff */ li $a3,-1 +/* f1a1b8c: 0c004254 */ jal 0x10950 +/* f1a1b90: e7b80014 */ swc1 $f24,0x14($sp) +/* f1a1b94: 8ea30464 */ lw $v1,0x464($s5) +.PB0f1a1b98: +/* f1a1b98: 00037ac0 */ sll $t7,$v1,0xb +.PB0f1a1b9c: +/* f1a1b9c: 05e20277 */ bltzl $t7,.PB0f1a257c +/* f1a1ba0: 8fbf007c */ lw $ra,0x7c($sp) +/* f1a1ba4: 8eb8044c */ lw $t8,0x44c($s5) +/* f1a1ba8: 2b01ff46 */ slti $at,$t8,-186 +/* f1a1bac: 54200273 */ bnezl $at,.PB0f1a257c +/* f1a1bb0: 8fbf007c */ lw $ra,0x7c($sp) +/* f1a1bb4: 0fc67bf6 */ jal 0xf19efd8 +/* f1a1bb8: 00000000 */ nop +/* f1a1bbc: 1000026f */ b .PB0f1a257c +/* f1a1bc0: 8fbf007c */ lw $ra,0x7c($sp) +/* f1a1bc4: 8eb90464 */ lw $t9,0x464($s5) +.PB0f1a1bc8: +/* f1a1bc8: 001952c0 */ sll $t2,$t9,0xb +/* f1a1bcc: 05420004 */ bltzl $t2,.PB0f1a1be0 +/* f1a1bd0: 92ac0465 */ lbu $t4,0x465($s5) +/* f1a1bd4: 0fc67bf6 */ jal 0xf19efd8 +/* f1a1bd8: 00000000 */ nop +/* f1a1bdc: 92ac0465 */ lbu $t4,0x465($s5) +.PB0f1a1be0: +/* f1a1be0: aea0044c */ sw $zero,0x44c($s5) +/* f1a1be4: 358d0008 */ ori $t5,$t4,0x8 +/* f1a1be8: a2ad0465 */ sb $t5,0x465($s5) +.PB0f1a1bec: +/* f1a1bec: 3c01bf80 */ lui $at,0xbf80 +/* f1a1bf0: 4481c000 */ mtc1 $at,$f24 +/* f1a1bf4: 3c017f1c */ lui $at,0x7f1c +/* f1a1bf8: 3c10800b */ lui $s0,0x800b +/* f1a1bfc: 3c14800b */ lui $s4,0x800b +/* f1a1c00: 4480b000 */ mtc1 $zero,$f22 +/* f1a1c04: 26941778 */ addiu $s4,$s4,0x1778 +/* f1a1c08: 26101340 */ addiu $s0,$s0,0x1340 +/* f1a1c0c: c434b8a0 */ lwc1 $f20,-0x4760($at) +/* f1a1c10: 8e020010 */ lw $v0,0x10($s0) +.PB0f1a1c14: +/* f1a1c14: 000277c2 */ srl $t6,$v0,0x1f +/* f1a1c18: 11c000d5 */ beqz $t6,.PB0f1a1f70 +/* f1a1c1c: 0002c080 */ sll $t8,$v0,0x2 +/* f1a1c20: 070000d3 */ bltz $t8,.PB0f1a1f70 +/* f1a1c24: 00024840 */ sll $t1,$v0,0x1 +/* f1a1c28: 052100d1 */ bgez $t1,.PB0f1a1f70 +/* f1a1c2c: 00009025 */ move $s2,$zero +/* f1a1c30: a3a00123 */ sb $zero,0x123($sp) +/* f1a1c34: 0fc67bc2 */ jal 0xf19ef08 +/* f1a1c38: 96a40456 */ lhu $a0,0x456($s5) +/* f1a1c3c: 8e110014 */ lw $s1,0x14($s0) +/* f1a1c40: 304300ff */ andi $v1,$v0,0xff +/* f1a1c44: 2401001e */ li $at,0x1e +/* f1a1c48: 10610003 */ beq $v1,$at,.PB0f1a1c58 +/* f1a1c4c: 8e330004 */ lw $s3,0x4($s1) +/* f1a1c50: 24010021 */ li $at,0x21 +/* f1a1c54: 14610003 */ bne $v1,$at,.PB0f1a1c64 +.PB0f1a1c58: +/* f1a1c58: 26240008 */ addiu $a0,$s1,0x8 +/* f1a1c5c: 0fc22a94 */ jal 0xf08aa50 +/* f1a1c60: 24050001 */ li $a1,0x1 +.PB0f1a1c64: +/* f1a1c64: 920a0043 */ lbu $t2,0x43($s0) +/* f1a1c68: 5140001c */ beqzl $t2,.PB0f1a1cdc +/* f1a1c6c: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a1c70: 920b0041 */ lbu $t3,0x41($s0) +/* f1a1c74: 51600019 */ beqzl $t3,.PB0f1a1cdc +/* f1a1c78: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a1c7c: c604002c */ lwc1 $f4,0x2c($s0) +/* f1a1c80: 00002025 */ move $a0,$zero +/* f1a1c84: 240605d9 */ li $a2,0x5d9 +/* f1a1c88: 4604c032 */ c.eq.s $f24,$f4 +/* f1a1c8c: 2407ffff */ li $a3,-1 +/* f1a1c90: 240cffff */ li $t4,-1 +/* f1a1c94: 240dffff */ li $t5,-1 +/* f1a1c98: 45030010 */ bc1tl .PB0f1a1cdc +/* f1a1c9c: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a1ca0: a2000041 */ sb $zero,0x41($s0) +/* f1a1ca4: 8e050014 */ lw $a1,0x14($s0) +/* f1a1ca8: afac0010 */ sw $t4,0x10($sp) +/* f1a1cac: afa00014 */ sw $zero,0x14($sp) +/* f1a1cb0: afa00018 */ sw $zero,0x18($sp) +/* f1a1cb4: afa0001c */ sw $zero,0x1c($sp) +/* f1a1cb8: afa00020 */ sw $zero,0x20($sp) +/* f1a1cbc: e7b80024 */ swc1 $f24,0x24($sp) +/* f1a1cc0: afa00028 */ sw $zero,0x28($sp) +/* f1a1cc4: afad002c */ sw $t5,0x2c($sp) +/* f1a1cc8: e7b80030 */ swc1 $f24,0x30($sp) +/* f1a1ccc: e7b80034 */ swc1 $f24,0x34($sp) +/* f1a1cd0: 0fc24e0e */ jal 0xf093838 +/* f1a1cd4: e7b80038 */ swc1 $f24,0x38($sp) +/* f1a1cd8: c6000038 */ lwc1 $f0,0x38($s0) +.PB0f1a1cdc: +/* f1a1cdc: 3c017f1c */ lui $at,0x7f1c +/* f1a1ce0: 4600a03c */ c.lt.s $f20,$f0 +/* f1a1ce4: 00000000 */ nop +/* f1a1ce8: 45020008 */ bc1fl .PB0f1a1d0c +/* f1a1cec: 920e0040 */ lbu $t6,0x40($s0) +/* f1a1cf0: c426b8a4 */ lwc1 $f6,-0x475c($at) +/* f1a1cf4: 4606003c */ c.lt.s $f0,$f6 +/* f1a1cf8: 00000000 */ nop +/* f1a1cfc: 45020003 */ bc1fl .PB0f1a1d0c +/* f1a1d00: 920e0040 */ lbu $t6,0x40($s0) +/* f1a1d04: a660004c */ sh $zero,0x4c($s3) +/* f1a1d08: 920e0040 */ lbu $t6,0x40($s0) +.PB0f1a1d0c: +/* f1a1d0c: 31cf0080 */ andi $t7,$t6,0x80 +/* f1a1d10: 51e0000a */ beqzl $t7,.PB0f1a1d3c +/* f1a1d14: 8662004c */ lh $v0,0x4c($s3) +/* f1a1d18: 8e020048 */ lw $v0,0x48($s0) +/* f1a1d1c: 284100fa */ slti $at,$v0,0xfa +/* f1a1d20: 50200006 */ beqzl $at,.PB0f1a1d3c +/* f1a1d24: 8662004c */ lh $v0,0x4c($s3) +/* f1a1d28: 8ed80038 */ lw $t8,0x38($s6) +/* f1a1d2c: 24120001 */ li $s2,0x1 +/* f1a1d30: 0058c821 */ addu $t9,$v0,$t8 +/* f1a1d34: ae190048 */ sw $t9,0x48($s0) +/* f1a1d38: 8662004c */ lh $v0,0x4c($s3) +.PB0f1a1d3c: +/* f1a1d3c: 58400025 */ blezl $v0,.PB0f1a1dd4 +/* f1a1d40: 93aa0123 */ lbu $t2,0x123($sp) +/* f1a1d44: 16400007 */ bnez $s2,.PB0f1a1d64 +/* f1a1d48: 3c017f1c */ lui $at,0x7f1c +/* f1a1d4c: c428b8a8 */ lwc1 $f8,-0x4758($at) +/* f1a1d50: c60a0038 */ lwc1 $f10,0x38($s0) +/* f1a1d54: 460a4032 */ c.eq.s $f8,$f10 +/* f1a1d58: 00000000 */ nop +/* f1a1d5c: 45020004 */ bc1fl .PB0f1a1d70 +/* f1a1d60: 92090040 */ lbu $t1,0x40($s0) +.PB0f1a1d64: +/* f1a1d64: 1000001a */ b .PB0f1a1dd0 +/* f1a1d68: a660004c */ sh $zero,0x4c($s3) +/* f1a1d6c: 92090040 */ lbu $t1,0x40($s0) +.PB0f1a1d70: +/* f1a1d70: 312a0020 */ andi $t2,$t1,0x20 +/* f1a1d74: 5540000b */ bnezl $t2,.PB0f1a1da4 +/* f1a1d78: 96ac045c */ lhu $t4,0x45c($s5) +/* f1a1d7c: 866b004e */ lh $t3,0x4e($s3) +/* f1a1d80: 004b082a */ slt $at,$v0,$t3 +/* f1a1d84: 50200007 */ beqzl $at,.PB0f1a1da4 +/* f1a1d88: 96ac045c */ lhu $t4,0x45c($s5) +/* f1a1d8c: 0fc67bc2 */ jal 0xf19ef08 +/* f1a1d90: 96a40456 */ lhu $a0,0x456($s5) +/* f1a1d94: 24010007 */ li $at,0x7 +/* f1a1d98: 5441000e */ bnel $v0,$at,.PB0f1a1dd4 +/* f1a1d9c: 93aa0123 */ lbu $t2,0x123($sp) +/* f1a1da0: 96ac045c */ lhu $t4,0x45c($s5) +.PB0f1a1da4: +/* f1a1da4: 8eae0450 */ lw $t6,0x450($s5) +/* f1a1da8: 24180001 */ li $t8,0x1 +/* f1a1dac: 24190032 */ li $t9,0x32 +/* f1a1db0: 2409000b */ li $t1,0xb +/* f1a1db4: 258d0001 */ addiu $t5,$t4,0x1 +/* f1a1db8: 25cf000a */ addiu $t7,$t6,0xa +/* f1a1dbc: a6ad045c */ sh $t5,0x45c($s5) +/* f1a1dc0: aeaf0450 */ sw $t7,0x450($s5) +/* f1a1dc4: a3b80123 */ sb $t8,0x123($sp) +/* f1a1dc8: a2b90472 */ sb $t9,0x472($s5) +/* f1a1dcc: a2a90471 */ sb $t1,0x471($s5) +.PB0f1a1dd0: +/* f1a1dd0: 93aa0123 */ lbu $t2,0x123($sp) +.PB0f1a1dd4: +/* f1a1dd4: 02602025 */ move $a0,$s3 +/* f1a1dd8: 26320008 */ addiu $s2,$s1,0x8 +/* f1a1ddc: 15400009 */ bnez $t2,.PB0f1a1e04 +/* f1a1de0: 00000000 */ nop +/* f1a1de4: 92020011 */ lbu $v0,0x11($s0) +/* f1a1de8: 240100ff */ li $at,0xff +/* f1a1dec: 10410060 */ beq $v0,$at,.PB0f1a1f70 +/* f1a1df0: 00000000 */ nop +/* f1a1df4: 920b0030 */ lbu $t3,0x30($s0) +/* f1a1df8: 0162082a */ slt $at,$t3,$v0 +/* f1a1dfc: 1420005c */ bnez $at,.PB0f1a1f70 +/* f1a1e00: 00000000 */ nop +.PB0f1a1e04: +/* f1a1e04: 0fc1a335 */ jal 0xf068cd4 +/* f1a1e08: 00001025 */ move $v0,$zero +/* f1a1e0c: 3c038009 */ lui $v1,0x8009 +/* f1a1e10: 9063acec */ lbu $v1,-0x5314($v1) +/* f1a1e14: 00404025 */ move $t0,$v0 +/* f1a1e18: 5060000d */ beqzl $v1,.PB0f1a1e50 +/* f1a1e1c: c5100004 */ lwc1 $f16,0x4($t0) +/* f1a1e20: 920c0043 */ lbu $t4,0x43($s0) +/* f1a1e24: 246dffff */ addiu $t5,$v1,-1 +/* f1a1e28: 3c018009 */ lui $at,0x8009 +/* f1a1e2c: 11800007 */ beqz $t4,.PB0f1a1e4c +/* f1a1e30: 02202025 */ move $a0,$s1 +/* f1a1e34: a02dacec */ sb $t5,-0x5314($at) +/* f1a1e38: 24050001 */ li $a1,0x1 +/* f1a1e3c: 3406ffff */ li $a2,0xffff +/* f1a1e40: 0fc24943 */ jal 0xf09250c +/* f1a1e44: afa20118 */ sw $v0,0x118($sp) +/* f1a1e48: 8fa80118 */ lw $t0,0x118($sp) +.PB0f1a1e4c: +/* f1a1e4c: c5100004 */ lwc1 $f16,0x4($t0) +.PB0f1a1e50: +/* f1a1e50: 240e0002 */ li $t6,0x2 +/* f1a1e54: 02402025 */ move $a0,$s2 +/* f1a1e58: e7b00010 */ swc1 $f16,0x10($sp) +/* f1a1e5c: c5120008 */ lwc1 $f18,0x8($t0) +/* f1a1e60: 2665001c */ addiu $a1,$s3,0x1c +/* f1a1e64: 26660028 */ addiu $a2,$s3,0x28 +/* f1a1e68: e7b20014 */ swc1 $f18,0x14($sp) +/* f1a1e6c: c504000c */ lwc1 $f4,0xc($t0) +/* f1a1e70: 26670034 */ addiu $a3,$s3,0x34 +/* f1a1e74: e7a40018 */ swc1 $f4,0x18($sp) +/* f1a1e78: c5060010 */ lwc1 $f6,0x10($t0) +/* f1a1e7c: afb10024 */ sw $s1,0x24($sp) +/* f1a1e80: afae0020 */ sw $t6,0x20($sp) +/* f1a1e84: 0fc546f4 */ jal 0xf151bd0 +/* f1a1e88: e7a6001c */ swc1 $f6,0x1c($sp) +/* f1a1e8c: 92af0455 */ lbu $t7,0x455($s5) +/* f1a1e90: 24070005 */ li $a3,0x5 +/* f1a1e94: 25f80001 */ addiu $t8,$t7,0x1 +/* f1a1e98: a2b80455 */ sb $t8,0x455($s5) +/* f1a1e9c: 92190040 */ lbu $t9,0x40($s0) +/* f1a1ea0: 33290020 */ andi $t1,$t9,0x20 +/* f1a1ea4: 51200008 */ beqzl $t1,.PB0f1a1ec8 +/* f1a1ea8: 920b0010 */ lbu $t3,0x10($s0) +/* f1a1eac: 8e040014 */ lw $a0,0x14($s0) +/* f1a1eb0: 240a0001 */ li $t2,0x1 +/* f1a1eb4: afaa0010 */ sw $t2,0x10($sp) +/* f1a1eb8: 24850008 */ addiu $a1,$a0,0x8 +/* f1a1ebc: 0fc4ab78 */ jal 0xf12ade0 +/* f1a1ec0: 24860028 */ addiu $a2,$a0,0x28 +/* f1a1ec4: 920b0010 */ lbu $t3,0x10($s0) +.PB0f1a1ec8: +/* f1a1ec8: a2000043 */ sb $zero,0x43($s0) +/* f1a1ecc: 3c010008 */ lui $at,0x8 +/* f1a1ed0: 316effbf */ andi $t6,$t3,0xffbf +/* f1a1ed4: a20e0010 */ sb $t6,0x10($s0) +/* f1a1ed8: 35cf0020 */ ori $t7,$t6,0x20 +/* f1a1edc: a20f0010 */ sb $t7,0x10($s0) +/* f1a1ee0: 8e78000c */ lw $t8,0xc($s3) +/* f1a1ee4: 02602025 */ move $a0,$s3 +/* f1a1ee8: 24050001 */ li $a1,0x1 +/* f1a1eec: 0301c825 */ or $t9,$t8,$at +/* f1a1ef0: ae79000c */ sw $t9,0xc($s3) +/* f1a1ef4: e6360008 */ swc1 $f22,0x8($s1) +/* f1a1ef8: 3c017f1c */ lui $at,0x7f1c +/* f1a1efc: c428b8ac */ lwc1 $f8,-0x4754($at) +/* f1a1f00: e6360010 */ swc1 $f22,0x10($s1) +/* f1a1f04: 00003025 */ move $a2,$zero +/* f1a1f08: 0fc1a792 */ jal 0xf069e48 +/* f1a1f0c: e628000c */ swc1 $f8,0xc($s1) +/* f1a1f10: 3c03800b */ lui $v1,0x800b +/* f1a1f14: 24631340 */ addiu $v1,$v1,0x1340 +/* f1a1f18: 8c620010 */ lw $v0,0x10($v1) +.PB0f1a1f1c: +/* f1a1f1c: 00025080 */ sll $t2,$v0,0x2 +/* f1a1f20: 05400010 */ bltz $t2,.PB0f1a1f64 +/* f1a1f24: 00025fc2 */ srl $t3,$v0,0x1f +/* f1a1f28: 1160000e */ beqz $t3,.PB0f1a1f64 +/* f1a1f2c: 00026840 */ sll $t5,$v0,0x1 +/* f1a1f30: 05a2000d */ bltzl $t5,.PB0f1a1f68 +/* f1a1f34: 2463003c */ addiu $v1,$v1,0x3c +/* f1a1f38: 8c6e0014 */ lw $t6,0x14($v1) +/* f1a1f3c: 90780010 */ lbu $t8,0x10($v1) +/* f1a1f40: 3c01fff7 */ lui $at,0xfff7 +/* f1a1f44: 8dc20004 */ lw $v0,0x4($t6) +/* f1a1f48: 37190040 */ ori $t9,$t8,0x40 +/* f1a1f4c: a0790010 */ sb $t9,0x10($v1) +/* f1a1f50: 8c49000c */ lw $t1,0xc($v0) +/* f1a1f54: 3421ffff */ ori $at,$at,0xffff +/* f1a1f58: 01215024 */ and $t2,$t1,$at +/* f1a1f5c: 10000004 */ b .PB0f1a1f70 +/* f1a1f60: ac4a000c */ sw $t2,0xc($v0) +.PB0f1a1f64: +/* f1a1f64: 2463003c */ addiu $v1,$v1,0x3c +.PB0f1a1f68: +/* f1a1f68: 5474ffec */ bnel $v1,$s4,.PB0f1a1f1c +/* f1a1f6c: 8c620010 */ lw $v0,0x10($v1) +.PB0f1a1f70: +/* f1a1f70: 3c0b800b */ lui $t3,0x800b +/* f1a1f74: 256b1778 */ addiu $t3,$t3,0x1778 +/* f1a1f78: 2610003c */ addiu $s0,$s0,0x3c +/* f1a1f7c: 020b082b */ sltu $at,$s0,$t3 +/* f1a1f80: 5420ff24 */ bnezl $at,.PB0f1a1c14 +/* f1a1f84: 8e020010 */ lw $v0,0x10($s0) +/* f1a1f88: 92a30004 */ lbu $v1,0x4($s5) +/* f1a1f8c: 240100ff */ li $at,0xff +/* f1a1f90: 5461000f */ bnel $v1,$at,.PB0f1a1fd0 +/* f1a1f94: 92a20455 */ lbu $v0,0x455($s5) +/* f1a1f98: 96a20002 */ lhu $v0,0x2($s5) +/* f1a1f9c: 10400009 */ beqz $v0,.PB0f1a1fc4 +/* f1a1fa0: 00000000 */ nop +/* f1a1fa4: 8eac0450 */ lw $t4,0x450($s5) +/* f1a1fa8: 0182082a */ slt $at,$t4,$v0 +/* f1a1fac: 14200005 */ bnez $at,.PB0f1a1fc4 +/* f1a1fb0: 00000000 */ nop +/* f1a1fb4: 0fc68390 */ jal 0xf1a0e40 +/* f1a1fb8: 00000000 */ nop +/* f1a1fbc: 1000016f */ b .PB0f1a257c +/* f1a1fc0: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a1fc4: +/* f1a1fc4: 10000010 */ b .PB0f1a2008 +/* f1a1fc8: 92a20455 */ lbu $v0,0x455($s5) +/* f1a1fcc: 92a20455 */ lbu $v0,0x455($s5) +.PB0f1a1fd0: +/* f1a1fd0: 0043082a */ slt $at,$v0,$v1 +/* f1a1fd4: 5420000d */ bnezl $at,.PB0f1a200c +/* f1a1fd8: 92ae0454 */ lbu $t6,0x454($s5) +/* f1a1fdc: 96a30002 */ lhu $v1,0x2($s5) +/* f1a1fe0: 10600005 */ beqz $v1,.PB0f1a1ff8 +/* f1a1fe4: 00000000 */ nop +/* f1a1fe8: 8ead0450 */ lw $t5,0x450($s5) +/* f1a1fec: 01a3082a */ slt $at,$t5,$v1 +/* f1a1ff0: 54200006 */ bnezl $at,.PB0f1a200c +/* f1a1ff4: 92ae0454 */ lbu $t6,0x454($s5) +.PB0f1a1ff8: +/* f1a1ff8: 0fc68390 */ jal 0xf1a0e40 +/* f1a1ffc: 00000000 */ nop +/* f1a2000: 1000015e */ b .PB0f1a257c +/* f1a2004: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a2008: +/* f1a2008: 92ae0454 */ lbu $t6,0x454($s5) +.PB0f1a200c: +/* f1a200c: 004e082a */ slt $at,$v0,$t6 +/* f1a2010: 14200005 */ bnez $at,.PB0f1a2028 +/* f1a2014: 00000000 */ nop +/* f1a2018: 0fc68376 */ jal 0xf1a0dd8 +/* f1a201c: 24040003 */ li $a0,0x3 +/* f1a2020: 10000156 */ b .PB0f1a257c +/* f1a2024: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a2028: +/* f1a2028: 0fc68476 */ jal 0xf1a11d8 +/* f1a202c: 00000000 */ nop +/* f1a2030: 50400006 */ beqzl $v0,.PB0f1a204c +/* f1a2034: 92a20005 */ lbu $v0,0x5($s5) +/* f1a2038: 0fc68376 */ jal 0xf1a0dd8 +/* f1a203c: 24040001 */ li $a0,0x1 +/* f1a2040: 1000014e */ b .PB0f1a257c +/* f1a2044: 8fbf007c */ lw $ra,0x7c($sp) +/* f1a2048: 92a20005 */ lbu $v0,0x5($s5) +.PB0f1a204c: +/* f1a204c: 240100ff */ li $at,0xff +/* f1a2050: 00009025 */ move $s2,$zero +/* f1a2054: 1041000d */ beq $v0,$at,.PB0f1a208c +/* f1a2058: 0002c080 */ sll $t8,$v0,0x2 +/* f1a205c: 0302c023 */ subu $t8,$t8,$v0 +/* f1a2060: 8eaf044c */ lw $t7,0x44c($s5) +/* f1a2064: 0018c0c0 */ sll $t8,$t8,0x3 +/* f1a2068: 0302c021 */ addu $t8,$t8,$v0 +/* f1a206c: 0018c040 */ sll $t8,$t8,0x1 +/* f1a2070: 01f8082a */ slt $at,$t7,$t8 +/* f1a2074: 14200005 */ bnez $at,.PB0f1a208c +/* f1a2078: 00000000 */ nop +/* f1a207c: 0fc68376 */ jal 0xf1a0dd8 +/* f1a2080: 24040002 */ li $a0,0x2 +/* f1a2084: 1000013d */ b .PB0f1a257c +/* f1a2088: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a208c: +/* f1a208c: 3c10800b */ lui $s0,0x800b +/* f1a2090: 3c017f1c */ lui $at,0x7f1c +/* f1a2094: c434b8b0 */ lwc1 $f20,-0x4750($at) +/* f1a2098: 26101340 */ addiu $s0,$s0,0x1340 +/* f1a209c: 27b50098 */ addiu $s5,$sp,0x98 +/* f1a20a0: 27b400bc */ addiu $s4,$sp,0xbc +.PB0f1a20a4: +/* f1a20a4: 8e020010 */ lw $v0,0x10($s0) +/* f1a20a8: 0002cfc2 */ srl $t9,$v0,0x1f +/* f1a20ac: 1320012e */ beqz $t9,.PB0f1a2568 +/* f1a20b0: 00025080 */ sll $t2,$v0,0x2 +/* f1a20b4: 0540012c */ bltz $t2,.PB0f1a2568 +/* f1a20b8: 00026040 */ sll $t4,$v0,0x1 +/* f1a20bc: 0583012b */ bgezl $t4,.PB0f1a256c +/* f1a20c0: 26520001 */ addiu $s2,$s2,0x1 +/* f1a20c4: 920d0043 */ lbu $t5,0x43($s0) +/* f1a20c8: 8e110014 */ lw $s1,0x14($s0) +/* f1a20cc: 11a00083 */ beqz $t5,.PB0f1a22dc +/* f1a20d0: 8e330004 */ lw $s3,0x4($s1) +/* f1a20d4: c60a002c */ lwc1 $f10,0x2c($s0) +/* f1a20d8: 3c013f80 */ lui $at,0x3f80 +/* f1a20dc: 44817000 */ mtc1 $at,$f14 +/* f1a20e0: 460ac032 */ c.eq.s $f24,$f10 +/* f1a20e4: 240e0001 */ li $t6,0x1 +/* f1a20e8: 3c01c000 */ lui $at,0xc000 +/* f1a20ec: 45020006 */ bc1fl .PB0f1a2108 +/* f1a20f0: c6100018 */ lwc1 $f16,0x18($s0) +/* f1a20f4: 44816000 */ mtc1 $at,$f12 +/* f1a20f8: a20e0042 */ sb $t6,0x42($s0) +/* f1a20fc: 1000003d */ b .PB0f1a21f4 +/* f1a2100: a2000043 */ sb $zero,0x43($s0) +/* f1a2104: c6100018 */ lwc1 $f16,0x18($s0) +.PB0f1a2108: +/* f1a2108: c6320008 */ lwc1 $f18,0x8($s1) +/* f1a210c: c606001c */ lwc1 $f6,0x1c($s0) +/* f1a2110: 46128101 */ sub.s $f4,$f16,$f18 +/* f1a2114: c6100020 */ lwc1 $f16,0x20($s0) +/* f1a2118: e7a40158 */ swc1 $f4,0x158($sp) +/* f1a211c: c628000c */ lwc1 $f8,0xc($s1) +/* f1a2120: 46083281 */ sub.s $f10,$f6,$f8 +/* f1a2124: c7a60158 */ lwc1 $f6,0x158($sp) +/* f1a2128: e7aa015c */ swc1 $f10,0x15c($sp) +/* f1a212c: c6320010 */ lwc1 $f18,0x10($s1) +/* f1a2130: 46063202 */ mul.s $f8,$f6,$f6 +/* f1a2134: c7aa015c */ lwc1 $f10,0x15c($sp) +/* f1a2138: 46128101 */ sub.s $f4,$f16,$f18 +/* f1a213c: e7ae0110 */ swc1 $f14,0x110($sp) +/* f1a2140: 460a5402 */ mul.s $f16,$f10,$f10 +/* f1a2144: e7a40160 */ swc1 $f4,0x160($sp) +/* f1a2148: c7a40160 */ lwc1 $f4,0x160($sp) +/* f1a214c: 46042182 */ mul.s $f6,$f4,$f4 +/* f1a2150: 46104480 */ add.s $f18,$f8,$f16 +/* f1a2154: 0c012ae4 */ jal 0x4ab90 +/* f1a2158: 46123300 */ add.s $f12,$f6,$f18 +/* f1a215c: 46160032 */ c.eq.s $f0,$f22 +/* f1a2160: c7ae0110 */ lwc1 $f14,0x110($sp) +/* f1a2164: 46000306 */ mov.s $f12,$f0 +/* f1a2168: 3c01c000 */ lui $at,0xc000 +/* f1a216c: 45030020 */ bc1tl .PB0f1a21f0 +/* f1a2170: 44816000 */ mtc1 $at,$f12 +/* f1a2174: 3c013f80 */ lui $at,0x3f80 +/* f1a2178: 44818000 */ mtc1 $at,$f16 +/* f1a217c: c60a002c */ lwc1 $f10,0x2c($s0) +/* f1a2180: c6c8004c */ lwc1 $f8,0x4c($s6) +/* f1a2184: 46008083 */ div.s $f2,$f16,$f0 +/* f1a2188: c7a40158 */ lwc1 $f4,0x158($sp) +/* f1a218c: c7b2015c */ lwc1 $f18,0x15c($sp) +/* f1a2190: 46085382 */ mul.s $f14,$f10,$f8 +/* f1a2194: c7a80160 */ lwc1 $f8,0x160($sp) +/* f1a2198: 46022182 */ mul.s $f6,$f4,$f2 +/* f1a219c: 00000000 */ nop +/* f1a21a0: 46029282 */ mul.s $f10,$f18,$f2 +/* f1a21a4: 00000000 */ nop +/* f1a21a8: 46024402 */ mul.s $f16,$f8,$f2 +/* f1a21ac: e7a60158 */ swc1 $f6,0x158($sp) +/* f1a21b0: 460e3102 */ mul.s $f4,$f6,$f14 +/* f1a21b4: e7aa015c */ swc1 $f10,0x15c($sp) +/* f1a21b8: 460e5182 */ mul.s $f6,$f10,$f14 +/* f1a21bc: e7b00160 */ swc1 $f16,0x160($sp) +/* f1a21c0: c6320008 */ lwc1 $f18,0x8($s1) +/* f1a21c4: 46122200 */ add.s $f8,$f4,$f18 +/* f1a21c8: e7a8014c */ swc1 $f8,0x14c($sp) +/* f1a21cc: c624000c */ lwc1 $f4,0xc($s1) +/* f1a21d0: 460e8202 */ mul.s $f8,$f16,$f14 +/* f1a21d4: 46043480 */ add.s $f18,$f6,$f4 +/* f1a21d8: e7b20150 */ swc1 $f18,0x150($sp) +/* f1a21dc: c62a0010 */ lwc1 $f10,0x10($s1) +/* f1a21e0: 460a4180 */ add.s $f6,$f8,$f10 +/* f1a21e4: 10000003 */ b .PB0f1a21f4 +/* f1a21e8: e7a60154 */ swc1 $f6,0x154($sp) +/* f1a21ec: 44816000 */ mtc1 $at,$f12 +.PB0f1a21f0: +/* f1a21f0: 00000000 */ nop +.PB0f1a21f4: +/* f1a21f4: 460e603e */ c.le.s $f12,$f14 +/* f1a21f8: 00000000 */ nop +/* f1a21fc: 4502002d */ bc1fl .PB0f1a22b4 +/* f1a2200: c7a8014c */ lwc1 $f8,0x14c($sp) +/* f1a2204: 92180010 */ lbu $t8,0x10($s0) +/* f1a2208: 92090042 */ lbu $t1,0x42($s0) +/* f1a220c: c6040018 */ lwc1 $f4,0x18($s0) +/* f1a2210: c612001c */ lwc1 $f18,0x1c($s0) +/* f1a2214: c6100020 */ lwc1 $f16,0x20($s0) +/* f1a2218: 37190010 */ ori $t9,$t8,0x10 +/* f1a221c: a2190010 */ sb $t9,0x10($s0) +/* f1a2220: a2000043 */ sb $zero,0x43($s0) +/* f1a2224: e7a4014c */ swc1 $f4,0x14c($sp) +/* f1a2228: e7b20150 */ swc1 $f18,0x150($sp) +/* f1a222c: 15200020 */ bnez $t1,.PB0f1a22b0 +/* f1a2230: e7b00154 */ swc1 $f16,0x154($sp) +/* f1a2234: 3c028009 */ lui $v0,0x8009 +/* f1a2238: 2442acec */ addiu $v0,$v0,-21268 +/* f1a223c: 90430000 */ lbu $v1,0x0($v0) +/* f1a2240: 240a0001 */ li $t2,0x1 +/* f1a2244: a20a0042 */ sb $t2,0x42($s0) +/* f1a2248: 10600003 */ beqz $v1,.PB0f1a2258 +/* f1a224c: 02202025 */ move $a0,$s1 +/* f1a2250: 246bffff */ addiu $t3,$v1,-1 +/* f1a2254: a04b0000 */ sb $t3,0x0($v0) +.PB0f1a2258: +/* f1a2258: 24050001 */ li $a1,0x1 +/* f1a225c: 0fc24943 */ jal 0xf09250c +/* f1a2260: 3406ffff */ li $a2,0xffff +/* f1a2264: 240cffff */ li $t4,-1 +/* f1a2268: 240d0400 */ li $t5,0x400 +/* f1a226c: 240effff */ li $t6,-1 +/* f1a2270: afae002c */ sw $t6,0x2c($sp) +/* f1a2274: afad0014 */ sw $t5,0x14($sp) +/* f1a2278: afac0010 */ sw $t4,0x10($sp) +/* f1a227c: 00002025 */ move $a0,$zero +/* f1a2280: 02202825 */ move $a1,$s1 +/* f1a2284: 240605da */ li $a2,0x5da +/* f1a2288: 2407ffff */ li $a3,-1 +/* f1a228c: afa00018 */ sw $zero,0x18($sp) +/* f1a2290: afa0001c */ sw $zero,0x1c($sp) +/* f1a2294: afa00020 */ sw $zero,0x20($sp) +/* f1a2298: e7b80024 */ swc1 $f24,0x24($sp) +/* f1a229c: afa00028 */ sw $zero,0x28($sp) +/* f1a22a0: e7b80030 */ swc1 $f24,0x30($sp) +/* f1a22a4: e7b80034 */ swc1 $f24,0x34($sp) +/* f1a22a8: 0fc24e0e */ jal 0xf093838 +/* f1a22ac: e7b80038 */ swc1 $f24,0x38($sp) +.PB0f1a22b0: +/* f1a22b0: c7a8014c */ lwc1 $f8,0x14c($sp) +.PB0f1a22b4: +/* f1a22b4: 02602025 */ move $a0,$s3 +/* f1a22b8: 24050001 */ li $a1,0x1 +/* f1a22bc: e6280008 */ swc1 $f8,0x8($s1) +/* f1a22c0: c7aa0150 */ lwc1 $f10,0x150($sp) +/* f1a22c4: 00003025 */ move $a2,$zero +/* f1a22c8: e62a000c */ swc1 $f10,0xc($s1) +/* f1a22cc: c7a60154 */ lwc1 $f6,0x154($sp) +/* f1a22d0: 0fc1a792 */ jal 0xf069e48 +/* f1a22d4: e6260010 */ swc1 $f6,0x10($s1) +/* f1a22d8: 8e020010 */ lw $v0,0x10($s0) +.PB0f1a22dc: +/* f1a22dc: 0002c140 */ sll $t8,$v0,0x5 +/* f1a22e0: 07010033 */ bgez $t8,.PB0f1a23b0 +/* f1a22e4: 00024900 */ sll $t1,$v0,0x4 +/* f1a22e8: 05220032 */ bltzl $t1,.PB0f1a23b4 +/* f1a22ec: 00026900 */ sll $t5,$v0,0x4 +/* f1a22f0: 8e020028 */ lw $v0,0x28($s0) +/* f1a22f4: 54400025 */ bnezl $v0,.PB0f1a238c +/* f1a22f8: 8ecf0038 */ lw $t7,0x38($s6) +/* f1a22fc: 8eca0284 */ lw $t2,0x284($s6) +/* f1a2300: 3c017f1c */ lui $at,0x7f1c +/* f1a2304: 8d4b00bc */ lw $t3,0xbc($t2) +/* f1a2308: 8d620004 */ lw $v0,0x4($t3) +/* f1a230c: 8c430014 */ lw $v1,0x14($v0) +/* f1a2310: 00036080 */ sll $t4,$v1,0x2 +/* f1a2314: 0583000f */ bgezl $t4,.PB0f1a2354 +/* f1a2318: c6080038 */ lwc1 $f8,0x38($s0) +/* f1a231c: c424b8b4 */ lwc1 $f4,-0x474c($at) +/* f1a2320: c6120038 */ lwc1 $f18,0x38($s0) +/* f1a2324: 240d0032 */ li $t5,0x32 +/* f1a2328: 3c017f1c */ lui $at,0x7f1c +/* f1a232c: 46122032 */ c.eq.s $f4,$f18 +/* f1a2330: 00000000 */ nop +/* f1a2334: 4500001c */ bc1f .PB0f1a23a8 +/* f1a2338: 00000000 */ nop +/* f1a233c: ae0d0028 */ sw $t5,0x28($s0) +/* f1a2340: e616003c */ swc1 $f22,0x3c($s0) +/* f1a2344: c430b8b8 */ lwc1 $f16,-0x4748($at) +/* f1a2348: 10000017 */ b .PB0f1a23a8 +/* f1a234c: e6100034 */ swc1 $f16,0x34($s0) +/* f1a2350: c6080038 */ lwc1 $f8,0x38($s0) +.PB0f1a2354: +/* f1a2354: 240e0032 */ li $t6,0x32 +/* f1a2358: 3c017f1c */ lui $at,0x7f1c +/* f1a235c: 4608b032 */ c.eq.s $f22,$f8 +/* f1a2360: 00000000 */ nop +/* f1a2364: 45000010 */ bc1f .PB0f1a23a8 +/* f1a2368: 00000000 */ nop +/* f1a236c: ae0e0028 */ sw $t6,0x28($s0) +/* f1a2370: c42ab8bc */ lwc1 $f10,-0x4744($at) +/* f1a2374: 3c017f1c */ lui $at,0x7f1c +/* f1a2378: e60a003c */ swc1 $f10,0x3c($s0) +/* f1a237c: c426b8c0 */ lwc1 $f6,-0x4740($at) +/* f1a2380: 10000009 */ b .PB0f1a23a8 +/* f1a2384: e6060034 */ swc1 $f6,0x34($s0) +/* f1a2388: 8ecf0038 */ lw $t7,0x38($s6) +.PB0f1a238c: +/* f1a238c: 004fc023 */ subu $t8,$v0,$t7 +/* f1a2390: 1f000005 */ bgtz $t8,.PB0f1a23a8 +/* f1a2394: ae180028 */ sw $t8,0x28($s0) +/* f1a2398: 920a0010 */ lbu $t2,0x10($s0) +/* f1a239c: ae000028 */ sw $zero,0x28($s0) +/* f1a23a0: 354b0008 */ ori $t3,$t2,0x8 +/* f1a23a4: a20b0010 */ sb $t3,0x10($s0) +.PB0f1a23a8: +/* f1a23a8: 1000004d */ b .PB0f1a24e0 +/* f1a23ac: 8e020010 */ lw $v0,0x10($s0) +.PB0f1a23b0: +/* f1a23b0: 00026900 */ sll $t5,$v0,0x4 +.PB0f1a23b4: +/* f1a23b4: 05a1004a */ bgez $t5,.PB0f1a24e0 +/* f1a23b8: 3c017f1c */ lui $at,0x7f1c +/* f1a23bc: c60c003c */ lwc1 $f12,0x3c($s0) +/* f1a23c0: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a23c4: c60e0034 */ lwc1 $f14,0x34($s0) +/* f1a23c8: 00001025 */ move $v0,$zero +/* f1a23cc: 460c003c */ c.lt.s $f0,$f12 +/* f1a23d0: 46006086 */ mov.s $f2,$f12 +/* f1a23d4: 45020003 */ bc1fl .PB0f1a23e4 +/* f1a23d8: c6c4004c */ lwc1 $f4,0x4c($s6) +/* f1a23dc: 24020001 */ li $v0,0x1 +/* f1a23e0: c6c4004c */ lwc1 $f4,0x4c($s6) +.PB0f1a23e4: +/* f1a23e4: 304e00ff */ andi $t6,$v0,0xff +/* f1a23e8: 01c01025 */ move $v0,$t6 +/* f1a23ec: 46047482 */ mul.s $f18,$f14,$f4 +/* f1a23f0: 00001825 */ move $v1,$zero +/* f1a23f4: 46120400 */ add.s $f16,$f0,$f18 +/* f1a23f8: e6100038 */ swc1 $f16,0x38($s0) +/* f1a23fc: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a2400: 4602003c */ c.lt.s $f0,$f2 +/* f1a2404: 00000000 */ nop +/* f1a2408: 45020003 */ bc1fl .PB0f1a2418 +/* f1a240c: 306f00ff */ andi $t7,$v1,0xff +/* f1a2410: 24030001 */ li $v1,0x1 +/* f1a2414: 306f00ff */ andi $t7,$v1,0xff +.PB0f1a2418: +/* f1a2418: 55e20006 */ bnel $t7,$v0,.PB0f1a2434 +/* f1a241c: 92180010 */ lbu $t8,0x10($s0) +/* f1a2420: 46001032 */ c.eq.s $f2,$f0 +/* f1a2424: 00000000 */ nop +/* f1a2428: 4500001e */ bc1f .PB0f1a24a4 +/* f1a242c: 00000000 */ nop +/* f1a2430: 92180010 */ lbu $t8,0x10($s0) +.PB0f1a2434: +/* f1a2434: 460ca03c */ c.lt.s $f20,$f12 +/* f1a2438: e60c0038 */ swc1 $f12,0x38($s0) +/* f1a243c: 330afff7 */ andi $t2,$t8,0xfff7 +/* f1a2440: a20a0010 */ sb $t2,0x10($s0) +/* f1a2444: 354b0010 */ ori $t3,$t2,0x10 +/* f1a2448: a20b0010 */ sb $t3,0x10($s0) +/* f1a244c: 45000009 */ bc1f .PB0f1a2474 +/* f1a2450: ae000024 */ sw $zero,0x24($s0) +/* f1a2454: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a2458: 46140201 */ sub.s $f8,$f0,$f20 +.PB0f1a245c: +/* f1a245c: e6080038 */ swc1 $f8,0x38($s0) +/* f1a2460: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a2464: 4600a03c */ c.lt.s $f20,$f0 +/* f1a2468: 00000000 */ nop +/* f1a246c: 4503fffb */ bc1tl .PB0f1a245c +/* f1a2470: 46140201 */ sub.s $f8,$f0,$f20 +.PB0f1a2474: +/* f1a2474: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a2478: 4616003c */ c.lt.s $f0,$f22 +/* f1a247c: 00000000 */ nop +/* f1a2480: 45000008 */ bc1f .PB0f1a24a4 +/* f1a2484: 00000000 */ nop +/* f1a2488: 46140280 */ add.s $f10,$f0,$f20 +.PB0f1a248c: +/* f1a248c: e60a0038 */ swc1 $f10,0x38($s0) +/* f1a2490: c6000038 */ lwc1 $f0,0x38($s0) +/* f1a2494: 4616003c */ c.lt.s $f0,$f22 +/* f1a2498: 00000000 */ nop +/* f1a249c: 4503fffb */ bc1tl .PB0f1a248c +/* f1a24a0: 46140280 */ add.s $f10,$f0,$f20 +.PB0f1a24a4: +/* f1a24a4: c426b8c4 */ lwc1 $f6,-0x473c($at) +/* f1a24a8: 02802825 */ move $a1,$s4 +/* f1a24ac: 0c005b71 */ jal 0x16dc4 +/* f1a24b0: 46060300 */ add.s $f12,$f0,$f6 +/* f1a24b4: 8e6c0018 */ lw $t4,0x18($s3) +/* f1a24b8: 02802825 */ move $a1,$s4 +/* f1a24bc: 0c005a55 */ jal 0x16954 +/* f1a24c0: c58c0014 */ lwc1 $f12,0x14($t4) +/* f1a24c4: 02802025 */ move $a0,$s4 +/* f1a24c8: 0c0059fc */ jal 0x167f0 +/* f1a24cc: 02a02825 */ move $a1,$s5 +/* f1a24d0: 02a02025 */ move $a0,$s5 +/* f1a24d4: 0c0059ca */ jal 0x16728 +/* f1a24d8: 2665001c */ addiu $a1,$s3,0x1c +/* f1a24dc: 8e020010 */ lw $v0,0x10($s0) +.PB0f1a24e0: +/* f1a24e0: 000270c0 */ sll $t6,$v0,0x3 +/* f1a24e4: 05c30021 */ bgezl $t6,.PB0f1a256c +/* f1a24e8: 26520001 */ addiu $s2,$s2,0x1 +/* f1a24ec: 8e020024 */ lw $v0,0x24($s0) +/* f1a24f0: 24013bc4 */ li $at,0x3bc4 +/* f1a24f4: 5041001d */ beql $v0,$at,.PB0f1a256c +/* f1a24f8: 26520001 */ addiu $s2,$s2,0x1 +/* f1a24fc: 8ecf0038 */ lw $t7,0x38($s6) +/* f1a2500: 004fc023 */ subu $t8,$v0,$t7 +/* f1a2504: 1f000018 */ bgtz $t8,.PB0f1a2568 +/* f1a2508: ae180024 */ sw $t8,0x24($s0) +/* f1a250c: 92090010 */ lbu $t1,0x10($s0) +/* f1a2510: 02402025 */ move $a0,$s2 +/* f1a2514: 312affef */ andi $t2,$t1,0xffef +/* f1a2518: 0fc67f4e */ jal 0xf19fd38 +/* f1a251c: a20a0010 */ sb $t2,0x10($s0) +/* f1a2520: 14400005 */ bnez $v0,.PB0f1a2538 +/* f1a2524: 00000000 */ nop +.PB0f1a2528: +/* f1a2528: 0fc67f4e */ jal 0xf19fd38 +/* f1a252c: 02402025 */ move $a0,$s2 +/* f1a2530: 1040fffd */ beqz $v0,.PB0f1a2528 +/* f1a2534: 00000000 */ nop +.PB0f1a2538: +/* f1a2538: 0fc67ee5 */ jal 0xf19fb94 +/* f1a253c: 02402025 */ move $a0,$s2 +/* f1a2540: 5040000a */ beqzl $v0,.PB0f1a256c +/* f1a2544: 26520001 */ addiu $s2,$s2,0x1 +/* f1a2548: 0fc67f4e */ jal 0xf19fd38 +/* f1a254c: 02402025 */ move $a0,$s2 +/* f1a2550: 54400006 */ bnezl $v0,.PB0f1a256c +/* f1a2554: 26520001 */ addiu $s2,$s2,0x1 +.PB0f1a2558: +/* f1a2558: 0fc67f4e */ jal 0xf19fd38 +/* f1a255c: 02402025 */ move $a0,$s2 +/* f1a2560: 1040fffd */ beqz $v0,.PB0f1a2558 +/* f1a2564: 00000000 */ nop +.PB0f1a2568: +/* f1a2568: 26520001 */ addiu $s2,$s2,0x1 +.PB0f1a256c: +/* f1a256c: 24010012 */ li $at,0x12 +/* f1a2570: 1641fecc */ bne $s2,$at,.PB0f1a20a4 +/* f1a2574: 2610003c */ addiu $s0,$s0,0x3c +.PB0f1a2578: +/* f1a2578: 8fbf007c */ lw $ra,0x7c($sp) +.PB0f1a257c: +/* f1a257c: d7b40048 */ ldc1 $f20,0x48($sp) +/* f1a2580: d7b60050 */ ldc1 $f22,0x50($sp) +/* f1a2584: d7b80058 */ ldc1 $f24,0x58($sp) +/* f1a2588: 8fb00060 */ lw $s0,0x60($sp) +/* f1a258c: 8fb10064 */ lw $s1,0x64($sp) +/* f1a2590: 8fb20068 */ lw $s2,0x68($sp) +/* f1a2594: 8fb3006c */ lw $s3,0x6c($sp) +/* f1a2598: 8fb40070 */ lw $s4,0x70($sp) +/* f1a259c: 8fb50074 */ lw $s5,0x74($sp) +/* f1a25a0: 8fb60078 */ lw $s6,0x78($sp) +/* f1a25a4: 03e00008 */ jr $ra +/* f1a25a8: 27bd0170 */ addiu $sp,$sp,0x170 +); #elif VERSION >= VERSION_NTSC_1_0 GLOBAL_ASM( glabel frTick @@ -8267,7 +9609,7 @@ Gfx *frRenderHud(Gfx *gdl) s32 alpha = 0xa0; f32 mult; - if (viGetViewWidth() > (PAL ? 330 : 400)) { + if (viGetViewWidth() > (VERSION >= VERSION_PAL_FINAL ? 330 : 400)) { mult = PAL ? 1.5f : 2; } else { mult = 1; diff --git a/src/game/vmstats.c b/src/game/vmstats.c index 28b68782c..985c7fa9c 100644 --- a/src/game/vmstats.c +++ b/src/game/vmstats.c @@ -11,7 +11,7 @@ void vmPrintStatsIfEnabled(void) char buffer[80]; if (g_Is4Mb) { -#if VERSION < VERSION_NTSC_1_0 +#if VERSION == VERSION_NTSC_BETA || VERSION == VERSION_PAL_BETA if (g_VmShowStats) { dhudSetFgColour(0xff, 0xff, 0xff, 0xff); dhudSetBgColour(0, 0, 0, 0xff); diff --git a/src/include/bss.h b/src/include/bss.h index bc9bd8782..23c3a903d 100644 --- a/src/include/bss.h +++ b/src/include/bss.h @@ -159,7 +159,7 @@ extern f32 var8009dd6c; extern s32 g_DefaultWeapons[2]; extern s32 g_CutsceneCurAnimFrame60; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA extern f32 var8009e388pf; #endif diff --git a/src/include/types.h b/src/include/types.h index d7e15b598..31e46b3df 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -2253,7 +2253,7 @@ struct hand { /*0x066c*/ u32 typechange; /*0x0670*/ s32 pausetime60; /*0x0674*/ u32 pausechange; - /*0x0678*/ u32 nextprevchange; // " + /*0x0678*/ u32 nextprevchange; /*0x067c*/ struct coord posstart; /*0x0688*/ f32 rotxstart; /*0x068c*/ struct coord posend; @@ -2369,7 +2369,7 @@ struct hand { /*0x0cb4*/ s32 gs_int4; /*0x0cb8*/ s32 animload; /*0x0cbc*/ s32 animframeinc; -#if VERSION >= VERSION_PAL_FINAL +#if VERSION >= VERSION_PAL_BETA /*0x0cc0*/ f32 animframeincfreal; #else /*0x0cc0*/ u32 animframeincfreal;