From 5781a64158c88cf58cee5f1ea5514f54aa6b2253 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 21 Jul 2022 12:22:56 +1000 Subject: [PATCH] Decompile dialogRender --- ld/pd.ld | 2 - src/game/game_1531a0.c | 6 +- src/game/menu.c | 7918 +++------------------------------------- src/game/menuitem.c | 2 +- src/include/data.h | 2 +- 5 files changed, 607 insertions(+), 7323 deletions(-) diff --git a/ld/pd.ld b/ld/pd.ld index c278ad3d1..75145f5fd 100644 --- a/ld/pd.ld +++ b/ld/pd.ld @@ -279,8 +279,6 @@ SECTIONS aspDataStart = gspDataEnd; aspDataEnd = aspDataStart + 0xb50; - g_MenuScissorX2_2 = g_MenuScissorX2; - /*************************************************************************** * bss * ------------------------------------------------------------------------- diff --git a/src/game/game_1531a0.c b/src/game/game_1531a0.c index 150921c53..f910dda56 100644 --- a/src/game/game_1531a0.c +++ b/src/game/game_1531a0.c @@ -146,7 +146,7 @@ u32 var800801f0jf = 0xffccffdd; u32 var800801f4jf = 0xffeeffff; #endif -u32 var8007fb9c = 0x00000000; +bool var8007fb9c = false; s32 var8007fba0 = 0; s32 var8007fba4 = -1; u32 var8007fba8 = 0x00000000; @@ -705,7 +705,7 @@ Gfx *text0f153ab0(Gfx *gdl) { Gfx *allocation; - var8007fb9c = 1; + var8007fb9c = true; allocation = gfxAllocate(sizeof(Gfx) * 530); @@ -724,7 +724,7 @@ Gfx *text0f153ab0(Gfx *gdl) void text0f153b40(void) { - var8007fb9c = 0; + var8007fb9c = false; gSPEndDisplayList(var800a4634++); } diff --git a/src/game/menu.c b/src/game/menu.c index 2561d31d1..db56912e7 100644 --- a/src/game/menu.c +++ b/src/game/menu.c @@ -12712,6719 +12712,6 @@ Gfx *menuApplyScissor(Gfx *gdl) return gdl; } -#if VERSION == VERSION_JPN_FINAL -GLOBAL_ASM( -glabel dialogRender -/* f0f6004: 27bdfe18 */ addiu $sp,$sp,-488 -/* f0f6008: afbe0060 */ sw $s8,0x60($sp) -/* f0f600c: afbf0064 */ sw $ra,0x64($sp) -/* f0f6010: afb7005c */ sw $s7,0x5c($sp) -/* f0f6014: afb60058 */ sw $s6,0x58($sp) -/* f0f6018: afb50054 */ sw $s5,0x54($sp) -/* f0f601c: afb40050 */ sw $s4,0x50($sp) -/* f0f6020: afb3004c */ sw $s3,0x4c($sp) -/* f0f6024: afb20048 */ sw $s2,0x48($sp) -/* f0f6028: afb10044 */ sw $s1,0x44($sp) -/* f0f602c: afb00040 */ sw $s0,0x40($sp) -/* f0f6030: f7b40038 */ sdc1 $f20,0x38($sp) -/* f0f6034: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f6038: afa601f0 */ sw $a2,0x1f0($sp) -/* f0f603c: afa701f4 */ sw $a3,0x1f4($sp) -/* f0f6040: 3c1e800a */ lui $s8,0x800a -/* f0f6044: 27dea630 */ addiu $s8,$s8,-22992 -/* f0f6048: 8fd80298 */ lw $t8,0x298($s8) -/* f0f604c: 8cb50014 */ lw $s5,0x14($a1) -/* f0f6050: 8cb30018 */ lw $s3,0x18($a1) -/* f0f6054: 8cae001c */ lw $t6,0x1c($a1) -/* f0f6058: 8caf0020 */ lw $t7,0x20($a1) -/* f0f605c: 00a08025 */ move $s0,$a1 -/* f0f6060: 02aeb021 */ addu $s6,$s5,$t6 -/* f0f6064: 07010005 */ bgez $t8,.JF0f0f607c -/* f0f6068: 026fa021 */ addu $s4,$s3,$t7 -/* f0f606c: 8fd9029c */ lw $t9,0x29c($s8) -/* f0f6070: afa501ec */ sw $a1,0x1ec($sp) -/* f0f6074: 0722000c */ bltzl $t9,.JF0f0f60a8 -/* f0f6078: 8fb001ec */ lw $s0,0x1ec($sp) -.JF0f0f607c: -/* f0f607c: 0fc3f641 */ jal menuGetRoot -/* f0f6080: afb001ec */ sw $s0,0x1ec($sp) -/* f0f6084: 24010005 */ li $at,0x5 -/* f0f6088: 14410006 */ bne $v0,$at,.JF0f0f60a4 -/* f0f608c: 3c0b800a */ lui $t3,0x800a -/* f0f6090: 8d6be6c0 */ lw $t3,-0x1940($t3) -/* f0f6094: 55600004 */ bnezl $t3,.JF0f0f60a8 -/* f0f6098: 8fb001ec */ lw $s0,0x1ec($sp) -/* f0f609c: 1000081e */ b .JF0f0f8118 -/* f0f60a0: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f60a4: -/* f0f60a4: 8fb001ec */ lw $s0,0x1ec($sp) -.JF0f0f60a8: -/* f0f60a8: 4480a000 */ mtc1 $zero,$f20 -/* f0f60ac: 3c197f1b */ lui $t9,0x7f1b -/* f0f60b0: c6040040 */ lwc1 $f4,0x40($s0) -/* f0f60b4: 27392ce0 */ addiu $t9,$t9,0x2ce0 -/* f0f60b8: 4614203c */ c.lt.s $f4,$f20 -/* f0f60bc: 00000000 */ nop -/* f0f60c0: 4502000c */ bc1fl .JF0f0f60f4 -/* f0f60c4: 920f003d */ lbu $t7,0x3d($s0) -/* f0f60c8: 920c003c */ lbu $t4,0x3c($s0) -/* f0f60cc: 3c0e7f1b */ lui $t6,0x7f1b -/* f0f60d0: afb001ec */ sw $s0,0x1ec($sp) -/* f0f60d4: 000c6900 */ sll $t5,$t4,0x4 -/* f0f60d8: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f60dc: 000d6880 */ sll $t5,$t5,0x2 -/* f0f60e0: 01cd7021 */ addu $t6,$t6,$t5 -/* f0f60e4: 8dce2d08 */ lw $t6,0x2d08($t6) -/* f0f60e8: 10000011 */ b .JF0f0f6130 -/* f0f60ec: afae01bc */ sw $t6,0x1bc($sp) -/* f0f60f0: 920f003d */ lbu $t7,0x3d($s0) -.JF0f0f60f4: -/* f0f60f4: 920c003c */ lbu $t4,0x3c($s0) -/* f0f60f8: 8e060044 */ lw $a2,0x44($s0) -/* f0f60fc: 000fc100 */ sll $t8,$t7,0x4 -/* f0f6100: 000c6900 */ sll $t5,$t4,0x4 -/* f0f6104: 030fc023 */ subu $t8,$t8,$t7 -/* f0f6108: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f610c: 000d6880 */ sll $t5,$t5,0x2 -/* f0f6110: 0018c080 */ sll $t8,$t8,0x2 -/* f0f6114: 03195821 */ addu $t3,$t8,$t9 -/* f0f6118: 01b97021 */ addu $t6,$t5,$t9 -/* f0f611c: 8dc50028 */ lw $a1,0x28($t6) -/* f0f6120: 8d640028 */ lw $a0,0x28($t3) -/* f0f6124: 0fc01a60 */ jal colourBlend -/* f0f6128: afb001ec */ sw $s0,0x1ec($sp) -/* f0f612c: afa201bc */ sw $v0,0x1bc($sp) -.JF0f0f6130: -/* f0f6130: 0fc55883 */ jal text0f156030 -/* f0f6134: 8fa401bc */ lw $a0,0x1bc($sp) -/* f0f6138: 3c0f8007 */ lui $t7,0x8007 -/* f0f613c: 8def1998 */ lw $t7,0x1998($t7) -/* f0f6140: 3c0b800a */ lui $t3,0x800a -/* f0f6144: 3c018008 */ lui $at,0x8008 -/* f0f6148: 000fc0c0 */ sll $t8,$t7,0x3 -/* f0f614c: 030fc023 */ subu $t8,$t8,$t7 -/* f0f6150: 0018c080 */ sll $t8,$t8,0x2 -/* f0f6154: 030fc021 */ addu $t8,$t8,$t7 -/* f0f6158: 0018c0c0 */ sll $t8,$t8,0x3 -/* f0f615c: 030fc023 */ subu $t8,$t8,$t7 -/* f0f6160: 0018c100 */ sll $t8,$t8,0x4 -/* f0f6164: 256be700 */ addiu $t3,$t3,-6400 -/* f0f6168: ac2001f8 */ sw $zero,0x1f8($at) -/* f0f616c: 030b1821 */ addu $v1,$t8,$t3 -/* f0f6170: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f6174: 8c6c04f8 */ lw $t4,0x4f8($v1) -/* f0f6178: 54ec002d */ bnel $a3,$t4,.JF0f0f6230 -/* f0f617c: 8cf8001c */ lw $t8,0x1c($a3) -/* f0f6180: 8ced0000 */ lw $t5,0x0($a3) -/* f0f6184: 8faf01f4 */ lw $t7,0x1f4($sp) -/* f0f6188: 8db90010 */ lw $t9,0x10($t5) -/* f0f618c: 332e0002 */ andi $t6,$t9,0x2 -/* f0f6190: 51c00027 */ beqzl $t6,.JF0f0f6230 -/* f0f6194: 8cf8001c */ lw $t8,0x1c($a3) -/* f0f6198: 55e00025 */ bnezl $t7,.JF0f0f6230 -/* f0f619c: 8cf8001c */ lw $t8,0x1c($a3) -/* f0f61a0: 8c780df0 */ lw $t8,0xdf0($v1) -/* f0f61a4: 8fad01e8 */ lw $t5,0x1e8($sp) -/* f0f61a8: 24010001 */ li $at,0x1 -/* f0f61ac: 00185b80 */ sll $t3,$t8,0xe -/* f0f61b0: 000b67c2 */ srl $t4,$t3,0x1f -/* f0f61b4: 1581001d */ bne $t4,$at,.JF0f0f622c -/* f0f61b8: 25b90008 */ addiu $t9,$t5,0x8 -/* f0f61bc: afb901e8 */ sw $t9,0x1e8($sp) -/* f0f61c0: 3c0eb700 */ lui $t6,0xb700 -/* f0f61c4: 240f0001 */ li $t7,0x1 -/* f0f61c8: adaf0004 */ sw $t7,0x4($t5) -/* f0f61cc: adae0000 */ sw $t6,0x0($t5) -/* f0f61d0: 3c188007 */ lui $t8,0x8007 -/* f0f61d4: 8f181998 */ lw $t8,0x1998($t8) -/* f0f61d8: 3c0d800a */ lui $t5,0x800a -/* f0f61dc: 25ade700 */ addiu $t5,$t5,-6400 -/* f0f61e0: 001858c0 */ sll $t3,$t8,0x3 -/* f0f61e4: 01785823 */ subu $t3,$t3,$t8 -/* f0f61e8: 000b5880 */ sll $t3,$t3,0x2 -/* f0f61ec: 01785821 */ addu $t3,$t3,$t8 -/* f0f61f0: 000b58c0 */ sll $t3,$t3,0x3 -/* f0f61f4: 01785823 */ subu $t3,$t3,$t8 -/* f0f61f8: 000b5900 */ sll $t3,$t3,0x4 -/* f0f61fc: 256c0840 */ addiu $t4,$t3,0x840 -/* f0f6200: 018d2821 */ addu $a1,$t4,$t5 -/* f0f6204: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6208: 0fc3d151 */ jal menuRenderModels -/* f0f620c: 24060002 */ li $a2,0x2 -/* f0f6210: 24590008 */ addiu $t9,$v0,0x8 -/* f0f6214: afb901e8 */ sw $t9,0x1e8($sp) -/* f0f6218: 3c0eb600 */ lui $t6,0xb600 -/* f0f621c: 240f0001 */ li $t7,0x1 -/* f0f6220: ac4f0004 */ sw $t7,0x4($v0) -/* f0f6224: ac4e0000 */ sw $t6,0x0($v0) -/* f0f6228: 8fa701ec */ lw $a3,0x1ec($sp) -.JF0f0f622c: -/* f0f622c: 8cf8001c */ lw $t8,0x1c($a3) -.JF0f0f6230: -/* f0f6230: 3c0c8008 */ lui $t4,0x8008 -/* f0f6234: 258c5e34 */ addiu $t4,$t4,0x5e34 -/* f0f6238: a7b801ca */ sh $t8,0x1ca($sp) -/* f0f623c: 90eb0060 */ lbu $t3,0x60($a3) -/* f0f6240: 84f00022 */ lh $s0,0x22($a3) -/* f0f6244: 8ce40000 */ lw $a0,0x0($a3) -/* f0f6248: 55600029 */ bnezl $t3,.JF0f0f62f0 -/* f0f624c: 8ced0014 */ lw $t5,0x14($a3) -/* f0f6250: 15840003 */ bne $t4,$a0,.JF0f0f6260 -/* f0f6254: 3c013f80 */ lui $at,0x3f80 -/* f0f6258: 100007af */ b .JF0f0f8118 -/* f0f625c: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f6260: -/* f0f6260: 44813000 */ mtc1 $at,$f6 -/* f0f6264: 8fcd0298 */ lw $t5,0x298($s8) -/* f0f6268: 3c01800a */ lui $at,0x800a -/* f0f626c: c42820d0 */ lwc1 $f8,0x20d0($at) -/* f0f6270: 05a10004 */ bgez $t5,.JF0f0f6284 -/* f0f6274: 46083001 */ sub.s $f0,$f6,$f8 -/* f0f6278: 8fd9029c */ lw $t9,0x29c($s8) -/* f0f627c: 0720000b */ bltz $t9,.JF0f0f62ac -/* f0f6280: 00000000 */ nop -.JF0f0f6284: -/* f0f6284: 0fc3f641 */ jal menuGetRoot -/* f0f6288: e7a00170 */ swc1 $f0,0x170($sp) -/* f0f628c: 24010005 */ li $at,0x5 -/* f0f6290: 14410006 */ bne $v0,$at,.JF0f0f62ac -/* f0f6294: c7a00170 */ lwc1 $f0,0x170($sp) -/* f0f6298: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f629c: 3c013f80 */ lui $at,0x3f80 -/* f0f62a0: 44815000 */ mtc1 $at,$f10 -/* f0f62a4: c5d00050 */ lwc1 $f16,0x50($t6) -/* f0f62a8: 46105001 */ sub.s $f0,$f10,$f16 -.JF0f0f62ac: -/* f0f62ac: 46000102 */ mul.s $f4,$f0,$f0 -/* f0f62b0: 44903000 */ mtc1 $s0,$f6 -/* f0f62b4: 3c013f80 */ lui $at,0x3f80 -/* f0f62b8: 44819000 */ mtc1 $at,$f18 -/* f0f62bc: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f62c0: 46803220 */ cvt.s.w $f8,$f6 -/* f0f62c4: 8cec0018 */ lw $t4,0x18($a3) -/* f0f62c8: 8ce40000 */ lw $a0,0x0($a3) -/* f0f62cc: 46049001 */ sub.s $f0,$f18,$f4 -/* f0f62d0: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f62d4: 4600540d */ trunc.w.s $f16,$f10 -/* f0f62d8: 44108000 */ mfc1 $s0,$f16 -/* f0f62dc: 00000000 */ nop -/* f0f62e0: 0010c400 */ sll $t8,$s0,0x10 -/* f0f62e4: 00188403 */ sra $s0,$t8,0x10 -/* f0f62e8: 0190a021 */ addu $s4,$t4,$s0 -/* f0f62ec: 8ced0014 */ lw $t5,0x14($a3) -.JF0f0f62f0: -/* f0f62f0: afad01e0 */ sw $t5,0x1e0($sp) -/* f0f62f4: 8ce20018 */ lw $v0,0x18($a3) -/* f0f62f8: 02021821 */ addu $v1,$s0,$v0 -/* f0f62fc: afa301d4 */ sw $v1,0x1d4($sp) -/* f0f6300: afa30084 */ sw $v1,0x84($sp) -/* f0f6304: 0fc3c883 */ jal menuResolveDialogTitle -/* f0f6308: afa201dc */ sw $v0,0x1dc($sp) -/* f0f630c: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f6310: 0040b825 */ move $s7,$v0 -/* f0f6314: c4f20040 */ lwc1 $f18,0x40($a3) -/* f0f6318: 4614903c */ c.lt.s $f18,$f20 -/* f0f631c: 00000000 */ nop -/* f0f6320: 4502000c */ bc1fl .JF0f0f6354 -/* f0f6324: 90eb003d */ lbu $t3,0x3d($a3) -/* f0f6328: 90f9003c */ lbu $t9,0x3c($a3) -/* f0f632c: 2408003c */ li $t0,0x3c -/* f0f6330: 3c097f1b */ lui $t1,0x7f1b -/* f0f6334: 03280019 */ multu $t9,$t0 -/* f0f6338: 25292ce0 */ addiu $t1,$t1,0x2ce0 -/* f0f633c: 00007012 */ mflo $t6 -/* f0f6340: 012e7821 */ addu $t7,$t1,$t6 -/* f0f6344: 8df80000 */ lw $t8,0x0($t7) -/* f0f6348: 10000016 */ b .JF0f0f63a4 -/* f0f634c: afb801bc */ sw $t8,0x1bc($sp) -/* f0f6350: 90eb003d */ lbu $t3,0x3d($a3) -.JF0f0f6354: -/* f0f6354: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f6358: 3c0d7f1b */ lui $t5,0x7f1b -/* f0f635c: 000b6100 */ sll $t4,$t3,0x4 -/* f0f6360: 000e7900 */ sll $t7,$t6,0x4 -/* f0f6364: 25ad2ce0 */ addiu $t5,$t5,0x2ce0 -/* f0f6368: 018b6023 */ subu $t4,$t4,$t3 -/* f0f636c: 01ee7823 */ subu $t7,$t7,$t6 -/* f0f6370: 000f7880 */ sll $t7,$t7,0x2 -/* f0f6374: 000c6080 */ sll $t4,$t4,0x2 -/* f0f6378: 018dc821 */ addu $t9,$t4,$t5 -/* f0f637c: 01edc021 */ addu $t8,$t7,$t5 -/* f0f6380: 8f050000 */ lw $a1,0x0($t8) -/* f0f6384: 8f240000 */ lw $a0,0x0($t9) -/* f0f6388: 0fc01a60 */ jal colourBlend -/* f0f638c: 8ce60044 */ lw $a2,0x44($a3) -/* f0f6390: 3c097f1b */ lui $t1,0x7f1b -/* f0f6394: 25292ce0 */ addiu $t1,$t1,0x2ce0 -/* f0f6398: afa201bc */ sw $v0,0x1bc($sp) -/* f0f639c: 2408003c */ li $t0,0x3c -/* f0f63a0: 8fa701ec */ lw $a3,0x1ec($sp) -.JF0f0f63a4: -/* f0f63a4: c4e40040 */ lwc1 $f4,0x40($a3) -/* f0f63a8: 4614203c */ c.lt.s $f4,$f20 -/* f0f63ac: 00000000 */ nop -/* f0f63b0: 45020009 */ bc1fl .JF0f0f63d8 -/* f0f63b4: 90ef003d */ lbu $t7,0x3d($a3) -/* f0f63b8: 90eb003c */ lbu $t3,0x3c($a3) -/* f0f63bc: 01680019 */ multu $t3,$t0 -/* f0f63c0: 00006012 */ mflo $t4 -/* f0f63c4: 012cc821 */ addu $t9,$t1,$t4 -/* f0f63c8: 8f2e0004 */ lw $t6,0x4($t9) -/* f0f63cc: 10000012 */ b .JF0f0f6418 -/* f0f63d0: afae01b8 */ sw $t6,0x1b8($sp) -/* f0f63d4: 90ef003d */ lbu $t7,0x3d($a3) -.JF0f0f63d8: -/* f0f63d8: 90eb003c */ lbu $t3,0x3c($a3) -/* f0f63dc: 8ce60044 */ lw $a2,0x44($a3) -/* f0f63e0: 01e80019 */ multu $t7,$t0 -/* f0f63e4: 00006812 */ mflo $t5 -/* f0f63e8: 012dc021 */ addu $t8,$t1,$t5 -/* f0f63ec: 8f040004 */ lw $a0,0x4($t8) -/* f0f63f0: 01680019 */ multu $t3,$t0 -/* f0f63f4: 00006012 */ mflo $t4 -/* f0f63f8: 012cc821 */ addu $t9,$t1,$t4 -/* f0f63fc: 0fc01a60 */ jal colourBlend -/* f0f6400: 8f250004 */ lw $a1,0x4($t9) -/* f0f6404: 3c097f1b */ lui $t1,0x7f1b -/* f0f6408: 25292ce0 */ addiu $t1,$t1,0x2ce0 -/* f0f640c: afa201b8 */ sw $v0,0x1b8($sp) -/* f0f6410: 2408003c */ li $t0,0x3c -/* f0f6414: 8fa701ec */ lw $a3,0x1ec($sp) -.JF0f0f6418: -/* f0f6418: c4e60040 */ lwc1 $f6,0x40($a3) -/* f0f641c: 4614303c */ c.lt.s $f6,$f20 -/* f0f6420: 00000000 */ nop -/* f0f6424: 45020009 */ bc1fl .JF0f0f644c -/* f0f6428: 90eb003d */ lbu $t3,0x3d($a3) -/* f0f642c: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f6430: 01c80019 */ multu $t6,$t0 -/* f0f6434: 00007812 */ mflo $t7 -/* f0f6438: 012f6821 */ addu $t5,$t1,$t7 -/* f0f643c: 8db80008 */ lw $t8,0x8($t5) -/* f0f6440: 1000000f */ b .JF0f0f6480 -/* f0f6444: afb801b4 */ sw $t8,0x1b4($sp) -/* f0f6448: 90eb003d */ lbu $t3,0x3d($a3) -.JF0f0f644c: -/* f0f644c: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f6450: 8ce60044 */ lw $a2,0x44($a3) -/* f0f6454: 01680019 */ multu $t3,$t0 -/* f0f6458: 00006012 */ mflo $t4 -/* f0f645c: 012cc821 */ addu $t9,$t1,$t4 -/* f0f6460: 8f240008 */ lw $a0,0x8($t9) -/* f0f6464: 01c80019 */ multu $t6,$t0 -/* f0f6468: 00007812 */ mflo $t7 -/* f0f646c: 012f6821 */ addu $t5,$t1,$t7 -/* f0f6470: 0fc01a60 */ jal colourBlend -/* f0f6474: 8da50008 */ lw $a1,0x8($t5) -/* f0f6478: afa201b4 */ sw $v0,0x1b4($sp) -/* f0f647c: 8fa701ec */ lw $a3,0x1ec($sp) -.JF0f0f6480: -/* f0f6480: 8fb801e8 */ lw $t8,0x1e8($sp) -/* f0f6484: 3c0cb600 */ lui $t4,0xb600 -/* f0f6488: 24190001 */ li $t9,0x1 -/* f0f648c: 270b0008 */ addiu $t3,$t8,0x8 -/* f0f6490: afab01e8 */ sw $t3,0x1e8($sp) -/* f0f6494: af190004 */ sw $t9,0x4($t8) -/* f0f6498: af0c0000 */ sw $t4,0x0($t8) -/* f0f649c: 8fae01bc */ lw $t6,0x1bc($sp) -/* f0f64a0: 8fb201b4 */ lw $s2,0x1b4($sp) -/* f0f64a4: 8fb801b4 */ lw $t8,0x1b4($sp) -/* f0f64a8: 31cf00ff */ andi $t7,$t6,0xff -/* f0f64ac: 2de10040 */ sltiu $at,$t7,0x40 -/* f0f64b0: 14200005 */ bnez $at,.JF0f0f64c8 -/* f0f64b4: 01c08825 */ move $s1,$t6 -/* f0f64b8: 2401ff00 */ li $at,-256 -/* f0f64bc: 01c18824 */ and $s1,$t6,$at -/* f0f64c0: 362d003f */ ori $t5,$s1,0x3f -/* f0f64c4: 01a08825 */ move $s1,$t5 -.JF0f0f64c8: -/* f0f64c8: 330b00ff */ andi $t3,$t8,0xff -/* f0f64cc: 2d610040 */ sltiu $at,$t3,0x40 -/* f0f64d0: 14200005 */ bnez $at,.JF0f0f64e8 -/* f0f64d4: 2419fc18 */ li $t9,-1000 -/* f0f64d8: 2401ff00 */ li $at,-256 -/* f0f64dc: 03019024 */ and $s2,$t8,$at -/* f0f64e0: 364c003f */ ori $t4,$s2,0x3f -/* f0f64e4: 01809025 */ move $s2,$t4 -.JF0f0f64e8: -/* f0f64e8: 3c01800a */ lui $at,0x800a -/* f0f64ec: ac39e560 */ sw $t9,-0x1aa0($at) -/* f0f64f0: 3c01800a */ lui $at,0x800a -/* f0f64f4: 240f03e8 */ li $t7,0x3e8 -/* f0f64f8: ac2fe564 */ sw $t7,-0x1a9c($at) -/* f0f64fc: 8cee0000 */ lw $t6,0x0($a3) -/* f0f6500: 3c03800a */ lui $v1,0x800a -/* f0f6504: 8dc40010 */ lw $a0,0x10($t6) -/* f0f6508: 308d0100 */ andi $t5,$a0,0x100 -/* f0f650c: 11a00002 */ beqz $t5,.JF0f0f6518 -/* f0f6510: 01a02025 */ move $a0,$t5 -/* f0f6514: 2673000e */ addiu $s3,$s3,0xe -.JF0f0f6518: -/* f0f6518: 8c6320c4 */ lw $v1,0x20c4($v1) -/* f0f651c: 24010003 */ li $at,0x3 -/* f0f6520: 10610060 */ beq $v1,$at,.JF0f0f66a4 -/* f0f6524: 24010004 */ li $at,0x4 -/* f0f6528: 14610004 */ bne $v1,$at,.JF0f0f653c -/* f0f652c: 02a02825 */ move $a1,$s5 -/* f0f6530: 8fcb0318 */ lw $t3,0x318($s8) -/* f0f6534: 1160005b */ beqz $t3,.JF0f0f66a4 -/* f0f6538: 00000000 */ nop -.JF0f0f653c: -/* f0f653c: 3c10800a */ lui $s0,0x800a -/* f0f6540: 26104ffc */ addiu $s0,$s0,0x4ffc -/* f0f6544: 8e040000 */ lw $a0,0x0($s0) -/* f0f6548: 02603025 */ move $a2,$s3 -/* f0f654c: 02c03825 */ move $a3,$s6 -/* f0f6550: afb30010 */ sw $s3,0x10($sp) -/* f0f6554: afb10014 */ sw $s1,0x14($sp) -/* f0f6558: afb20018 */ sw $s2,0x18($sp) -/* f0f655c: 0fc35773 */ jal func0f0d4d0c -/* f0f6560: afa0001c */ sw $zero,0x1c($sp) -/* f0f6564: ae020000 */ sw $v0,0x0($s0) -/* f0f6568: 00402025 */ move $a0,$v0 -/* f0f656c: 02c02825 */ move $a1,$s6 -/* f0f6570: 02603025 */ move $a2,$s3 -/* f0f6574: 02c03825 */ move $a3,$s6 -/* f0f6578: afb40010 */ sw $s4,0x10($sp) -/* f0f657c: afb20014 */ sw $s2,0x14($sp) -/* f0f6580: afb10018 */ sw $s1,0x18($sp) -/* f0f6584: 0fc35773 */ jal func0f0d4d0c -/* f0f6588: afa0001c */ sw $zero,0x1c($sp) -/* f0f658c: ae020000 */ sw $v0,0x0($s0) -/* f0f6590: 00402025 */ move $a0,$v0 -/* f0f6594: 02c02825 */ move $a1,$s6 -/* f0f6598: 02803025 */ move $a2,$s4 -/* f0f659c: 02a03825 */ move $a3,$s5 -/* f0f65a0: afb40010 */ sw $s4,0x10($sp) -/* f0f65a4: afb10014 */ sw $s1,0x14($sp) -/* f0f65a8: afb20018 */ sw $s2,0x18($sp) -/* f0f65ac: 0fc35773 */ jal func0f0d4d0c -/* f0f65b0: afa0001c */ sw $zero,0x1c($sp) -/* f0f65b4: ae020000 */ sw $v0,0x0($s0) -/* f0f65b8: 00402025 */ move $a0,$v0 -/* f0f65bc: 02a02825 */ move $a1,$s5 -/* f0f65c0: 02803025 */ move $a2,$s4 -/* f0f65c4: 02a03825 */ move $a3,$s5 -/* f0f65c8: afb30010 */ sw $s3,0x10($sp) -/* f0f65cc: afb20014 */ sw $s2,0x14($sp) -/* f0f65d0: afb10018 */ sw $s1,0x18($sp) -/* f0f65d4: 0fc35773 */ jal func0f0d4d0c -/* f0f65d8: afa0001c */ sw $zero,0x1c($sp) -/* f0f65dc: 24180001 */ li $t8,0x1 -/* f0f65e0: ae020000 */ sw $v0,0x0($s0) -/* f0f65e4: afb8001c */ sw $t8,0x1c($sp) -/* f0f65e8: 00402025 */ move $a0,$v0 -/* f0f65ec: 02a02825 */ move $a1,$s5 -/* f0f65f0: 02603025 */ move $a2,$s3 -/* f0f65f4: 02c03825 */ move $a3,$s6 -/* f0f65f8: afb30010 */ sw $s3,0x10($sp) -/* f0f65fc: afb20014 */ sw $s2,0x14($sp) -/* f0f6600: 0fc35773 */ jal func0f0d4d0c -/* f0f6604: afb10018 */ sw $s1,0x18($sp) -/* f0f6608: 240c0001 */ li $t4,0x1 -/* f0f660c: ae020000 */ sw $v0,0x0($s0) -/* f0f6610: afac001c */ sw $t4,0x1c($sp) -/* f0f6614: 00402025 */ move $a0,$v0 -/* f0f6618: 02c02825 */ move $a1,$s6 -/* f0f661c: 02603025 */ move $a2,$s3 -/* f0f6620: 02c03825 */ move $a3,$s6 -/* f0f6624: afb40010 */ sw $s4,0x10($sp) -/* f0f6628: afb10014 */ sw $s1,0x14($sp) -/* f0f662c: 0fc35773 */ jal func0f0d4d0c -/* f0f6630: afb20018 */ sw $s2,0x18($sp) -/* f0f6634: 24190001 */ li $t9,0x1 -/* f0f6638: ae020000 */ sw $v0,0x0($s0) -/* f0f663c: afb9001c */ sw $t9,0x1c($sp) -/* f0f6640: 00402025 */ move $a0,$v0 -/* f0f6644: 02c02825 */ move $a1,$s6 -/* f0f6648: 02803025 */ move $a2,$s4 -/* f0f664c: 02a03825 */ move $a3,$s5 -/* f0f6650: afb40010 */ sw $s4,0x10($sp) -/* f0f6654: afb20014 */ sw $s2,0x14($sp) -/* f0f6658: 0fc35773 */ jal func0f0d4d0c -/* f0f665c: afb10018 */ sw $s1,0x18($sp) -/* f0f6660: 240f0001 */ li $t7,0x1 -/* f0f6664: ae020000 */ sw $v0,0x0($s0) -/* f0f6668: afaf001c */ sw $t7,0x1c($sp) -/* f0f666c: 00402025 */ move $a0,$v0 -/* f0f6670: 02a02825 */ move $a1,$s5 -/* f0f6674: 02803025 */ move $a2,$s4 -/* f0f6678: 02a03825 */ move $a3,$s5 -/* f0f667c: afb30010 */ sw $s3,0x10($sp) -/* f0f6680: afb10014 */ sw $s1,0x14($sp) -/* f0f6684: 0fc35773 */ jal func0f0d4d0c -/* f0f6688: afb20018 */ sw $s2,0x18($sp) -/* f0f668c: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f6690: ae020000 */ sw $v0,0x0($s0) -/* f0f6694: 8dcd0000 */ lw $t5,0x0($t6) -/* f0f6698: 8da40010 */ lw $a0,0x10($t5) -/* f0f669c: 308b0100 */ andi $t3,$a0,0x100 -/* f0f66a0: 01602025 */ move $a0,$t3 -.JF0f0f66a4: -/* f0f66a4: 148000e3 */ bnez $a0,.JF0f0f6a34 -/* f0f66a8: 3c03800a */ lui $v1,0x800a -/* f0f66ac: 8c6320c4 */ lw $v1,0x20c4($v1) -/* f0f66b0: 24010003 */ li $at,0x3 -/* f0f66b4: 10610002 */ beq $v1,$at,.JF0f0f66c0 -/* f0f66b8: 2401000b */ li $at,0xb -/* f0f66bc: 1461000c */ bne $v1,$at,.JF0f0f66f0 -.JF0f0f66c0: -/* f0f66c0: 3c18800b */ lui $t8,0x800b -/* f0f66c4: 8f18d5c4 */ lw $t8,-0x2a3c($t8) -/* f0f66c8: 330c0002 */ andi $t4,$t8,0x2 -/* f0f66cc: 51800009 */ beqzl $t4,.JF0f0f66f4 -/* f0f66d0: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f66d4: 8fd90490 */ lw $t9,0x490($s8) -/* f0f66d8: 24010002 */ li $at,0x2 -/* f0f66dc: 27a401bc */ addiu $a0,$sp,0x1bc -/* f0f66e0: 13210003 */ beq $t9,$at,.JF0f0f66f0 -/* f0f66e4: 27a501b8 */ addiu $a1,$sp,0x1b8 -/* f0f66e8: 0fc3d72a */ jal menuGetTeamTitlebarColours -/* f0f66ec: 27a601b4 */ addiu $a2,$sp,0x1b4 -.JF0f0f66f0: -/* f0f66f0: 8fa301e0 */ lw $v1,0x1e0($sp) -.JF0f0f66f4: -/* f0f66f4: 87af01ca */ lh $t7,0x1ca($sp) -/* f0f66f8: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f66fc: 8fad01bc */ lw $t5,0x1bc($sp) -/* f0f6700: 8fab01b8 */ lw $t3,0x1b8($sp) -/* f0f6704: 8fae01b4 */ lw $t6,0x1b4($sp) -/* f0f6708: 01e31021 */ addu $v0,$t7,$v1 -/* f0f670c: 24510002 */ addiu $s1,$v0,0x2 -/* f0f6710: 2470fffe */ addiu $s0,$v1,-2 -/* f0f6714: 24d5000e */ addiu $s5,$a2,0xe -/* f0f6718: afb50010 */ sw $s5,0x10($sp) -/* f0f671c: 02002825 */ move $a1,$s0 -/* f0f6720: 02203825 */ move $a3,$s1 -/* f0f6724: afa20088 */ sw $v0,0x88($sp) -/* f0f6728: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f672c: afad0014 */ sw $t5,0x14($sp) -/* f0f6730: afab0018 */ sw $t3,0x18($sp) -/* f0f6734: 0fc38aa7 */ jal menugfxRenderGradient -/* f0f6738: afae001c */ sw $t6,0x1c($sp) -/* f0f673c: 8fac01bc */ lw $t4,0x1bc($sp) -/* f0f6740: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f6744: 240d0001 */ li $t5,0x1 -/* f0f6748: 319900ff */ andi $t9,$t4,0xff -/* f0f674c: 00197842 */ srl $t7,$t9,0x1 -/* f0f6750: 240b0028 */ li $t3,0x28 -/* f0f6754: 24d80001 */ addiu $t8,$a2,0x1 -/* f0f6758: afb80010 */ sw $t8,0x10($sp) -/* f0f675c: afab001c */ sw $t3,0x1c($sp) -/* f0f6760: afaf0014 */ sw $t7,0x14($sp) -/* f0f6764: afad0018 */ sw $t5,0x18($sp) -/* f0f6768: 00402025 */ move $a0,$v0 -/* f0f676c: 02002825 */ move $a1,$s0 -/* f0f6770: 02203825 */ move $a3,$s1 -/* f0f6774: 0fc38e16 */ jal menugfxDrawShimmer -/* f0f6778: afa00020 */ sw $zero,0x20($sp) -/* f0f677c: 8fae01bc */ lw $t6,0x1bc($sp) -/* f0f6780: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f6784: 24190028 */ li $t9,0x28 -/* f0f6788: 31d800ff */ andi $t8,$t6,0xff -/* f0f678c: 00186042 */ srl $t4,$t8,0x1 -/* f0f6790: 240f0001 */ li $t7,0x1 -/* f0f6794: afaf0020 */ sw $t7,0x20($sp) -/* f0f6798: afac0014 */ sw $t4,0x14($sp) -/* f0f679c: afb9001c */ sw $t9,0x1c($sp) -/* f0f67a0: 00402025 */ move $a0,$v0 -/* f0f67a4: 02002825 */ move $a1,$s0 -/* f0f67a8: 02203825 */ move $a3,$s1 -/* f0f67ac: afb50010 */ sw $s5,0x10($sp) -/* f0f67b0: afa00018 */ sw $zero,0x18($sp) -/* f0f67b4: 0fc38e16 */ jal menugfxDrawShimmer -/* f0f67b8: 24c6000a */ addiu $a2,$a2,0xa -/* f0f67bc: 8fb201e0 */ lw $s2,0x1e0($sp) -/* f0f67c0: 8fb001dc */ lw $s0,0x1dc($sp) -/* f0f67c4: 00402025 */ move $a0,$v0 -/* f0f67c8: 26520002 */ addiu $s2,$s2,0x2 -/* f0f67cc: 26100002 */ addiu $s0,$s0,0x2 -/* f0f67d0: afb001cc */ sw $s0,0x1cc($sp) -/* f0f67d4: 0fc54b55 */ jal text0f153628 -/* f0f67d8: afb201d0 */ sw $s2,0x1d0($sp) -/* f0f67dc: 8fad01f4 */ lw $t5,0x1f4($sp) -/* f0f67e0: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f67e4: afa001b0 */ sw $zero,0x1b0($sp) -/* f0f67e8: 11a00003 */ beqz $t5,.JF0f0f67f8 -/* f0f67ec: 3c0e8007 */ lui $t6,0x8007 -/* f0f67f0: 240b0001 */ li $t3,0x1 -/* f0f67f4: afab01b0 */ sw $t3,0x1b0($sp) -.JF0f0f67f8: -/* f0f67f8: 25ce1a18 */ addiu $t6,$t6,0x1a18 -/* f0f67fc: 8dc10000 */ lw $at,0x0($t6) -/* f0f6800: 8fa301ec */ lw $v1,0x1ec($sp) -/* f0f6804: 27b40154 */ addiu $s4,$sp,0x154 -/* f0f6808: ae810000 */ sw $at,0x0($s4) -/* f0f680c: 8dd90004 */ lw $t9,0x4($t6) -/* f0f6810: ae990004 */ sw $t9,0x4($s4) -/* f0f6814: 8dc10008 */ lw $at,0x8($t6) -/* f0f6818: ae810008 */ sw $at,0x8($s4) -/* f0f681c: 8dd9000c */ lw $t9,0xc($t6) -/* f0f6820: 3c0e7f1b */ lui $t6,0x7f1b -/* f0f6824: 25ce2ce0 */ addiu $t6,$t6,0x2ce0 -/* f0f6828: ae99000c */ sw $t9,0xc($s4) -/* f0f682c: c4680040 */ lwc1 $f8,0x40($v1) -/* f0f6830: 4614403c */ c.lt.s $f8,$f20 -/* f0f6834: 00000000 */ nop -/* f0f6838: 4502000b */ bc1fl .JF0f0f6868 -/* f0f683c: 906c003d */ lbu $t4,0x3d($v1) -/* f0f6840: 906f003c */ lbu $t7,0x3c($v1) -/* f0f6844: 3c0b7f1b */ lui $t3,0x7f1b -/* f0f6848: 000f6900 */ sll $t5,$t7,0x4 -/* f0f684c: 01af6823 */ subu $t5,$t5,$t7 -/* f0f6850: 000d6880 */ sll $t5,$t5,0x2 -/* f0f6854: 016d5821 */ addu $t3,$t3,$t5 -/* f0f6858: 8d6b2cec */ lw $t3,0x2cec($t3) -/* f0f685c: 10000011 */ b .JF0f0f68a4 -/* f0f6860: afab01bc */ sw $t3,0x1bc($sp) -/* f0f6864: 906c003d */ lbu $t4,0x3d($v1) -.JF0f0f6868: -/* f0f6868: 906f003c */ lbu $t7,0x3c($v1) -/* f0f686c: 8c660044 */ lw $a2,0x44($v1) -/* f0f6870: 000cc100 */ sll $t8,$t4,0x4 -/* f0f6874: 000f6900 */ sll $t5,$t7,0x4 -/* f0f6878: 030cc023 */ subu $t8,$t8,$t4 -/* f0f687c: 01af6823 */ subu $t5,$t5,$t7 -/* f0f6880: 000d6880 */ sll $t5,$t5,0x2 -/* f0f6884: 0018c080 */ sll $t8,$t8,0x2 -/* f0f6888: 030ec821 */ addu $t9,$t8,$t6 -/* f0f688c: 01ae5821 */ addu $t3,$t5,$t6 -/* f0f6890: 8d65000c */ lw $a1,0xc($t3) -/* f0f6894: 0fc01a60 */ jal colourBlend -/* f0f6898: 8f24000c */ lw $a0,0xc($t9) -/* f0f689c: afa201bc */ sw $v0,0x1bc($sp) -/* f0f68a0: 8fa301ec */ lw $v1,0x1ec($sp) -.JF0f0f68a4: -/* f0f68a4: 9062003c */ lbu $v0,0x3c($v1) -/* f0f68a8: 3c047f1b */ lui $a0,0x7f1b -/* f0f68ac: 3c057f1b */ lui $a1,0x7f1b -/* f0f68b0: 00026100 */ sll $t4,$v0,0x4 -/* f0f68b4: 01826023 */ subu $t4,$t4,$v0 -/* f0f68b8: 000c1080 */ sll $v0,$t4,0x2 -/* f0f68bc: 00822021 */ addu $a0,$a0,$v0 -/* f0f68c0: 00a22821 */ addu $a1,$a1,$v0 -/* f0f68c4: 8ca52e54 */ lw $a1,0x2e54($a1) -/* f0f68c8: 0fc54d69 */ jal textSetWaveColours -/* f0f68cc: 8c842fbc */ lw $a0,0x2fbc($a0) -/* f0f68d0: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f68d4: 8fa501dc */ lw $a1,0x1dc($sp) -/* f0f68d8: 24630003 */ addiu $v1,$v1,0x3 -/* f0f68dc: 24a50003 */ addiu $a1,$a1,0x3 -/* f0f68e0: afa501cc */ sw $a1,0x1cc($sp) -/* f0f68e4: 0c002eef */ jal viGetHeight -/* f0f68e8: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f68ec: 8faf01bc */ lw $t7,0x1bc($sp) -/* f0f68f0: 3c118008 */ lui $s1,0x8008 -/* f0f68f4: 3c138008 */ lui $s3,0x8008 -/* f0f68f8: 26730148 */ addiu $s3,$s3,0x148 -/* f0f68fc: 2631014c */ addiu $s1,$s1,0x14c -/* f0f6900: 8e380000 */ lw $t8,0x0($s1) -/* f0f6904: 8e790000 */ lw $t9,0x0($s3) -/* f0f6908: 87ae01ca */ lh $t6,0x1ca($sp) -/* f0f690c: 31ed00ff */ andi $t5,$t7,0xff -/* f0f6910: afad0018 */ sw $t5,0x18($sp) -/* f0f6914: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6918: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f691c: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f6920: 02e03825 */ move $a3,$s7 -/* f0f6924: afa20020 */ sw $v0,0x20($sp) -/* f0f6928: afa00024 */ sw $zero,0x24($sp) -/* f0f692c: afa00028 */ sw $zero,0x28($sp) -/* f0f6930: afb80010 */ sw $t8,0x10($sp) -/* f0f6934: afb90014 */ sw $t9,0x14($sp) -/* f0f6938: 0fc55886 */ jal textRenderProjected -/* f0f693c: afae001c */ sw $t6,0x1c($sp) -/* f0f6940: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6944: afb201d0 */ sw $s2,0x1d0($sp) -/* f0f6948: 0c002eef */ jal viGetHeight -/* f0f694c: afb001cc */ sw $s0,0x1cc($sp) -/* f0f6950: 8e2b0000 */ lw $t3,0x0($s1) -/* f0f6954: 8e6c0000 */ lw $t4,0x0($s3) -/* f0f6958: 8fb801bc */ lw $t8,0x1bc($sp) -/* f0f695c: 87b901ca */ lh $t9,0x1ca($sp) -/* f0f6960: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6964: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f6968: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f696c: 02e03825 */ move $a3,$s7 -/* f0f6970: afa20020 */ sw $v0,0x20($sp) -/* f0f6974: afa00024 */ sw $zero,0x24($sp) -/* f0f6978: afa00028 */ sw $zero,0x28($sp) -/* f0f697c: afab0010 */ sw $t3,0x10($sp) -/* f0f6980: afac0014 */ sw $t4,0x14($sp) -/* f0f6984: afb80018 */ sw $t8,0x18($sp) -/* f0f6988: 0fc55886 */ jal textRenderProjected -/* f0f698c: afb9001c */ sw $t9,0x1c($sp) -/* f0f6990: 3c03800a */ lui $v1,0x800a -/* f0f6994: 8c6320c4 */ lw $v1,0x20c4($v1) -/* f0f6998: 24010003 */ li $at,0x3 -/* f0f699c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f69a0: 10610007 */ beq $v1,$at,.JF0f0f69c0 -/* f0f69a4: 24010004 */ li $at,0x4 -/* f0f69a8: 10610005 */ beq $v1,$at,.JF0f0f69c0 -/* f0f69ac: 24010005 */ li $at,0x5 -/* f0f69b0: 10610003 */ beq $v1,$at,.JF0f0f69c0 -/* f0f69b4: 2401000b */ li $at,0xb -/* f0f69b8: 1461001b */ bne $v1,$at,.JF0f0f6a28 -/* f0f69bc: 00000000 */ nop -.JF0f0f69c0: -/* f0f69c0: 8fa30088 */ lw $v1,0x88($sp) -/* f0f69c4: afb001cc */ sw $s0,0x1cc($sp) -/* f0f69c8: 2463fff7 */ addiu $v1,$v1,-9 -/* f0f69cc: 0c002eef */ jal viGetHeight -/* f0f69d0: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f69d4: 3c0f8007 */ lui $t7,0x8007 -/* f0f69d8: 8def1998 */ lw $t7,0x1998($t7) -/* f0f69dc: 8e2b0000 */ lw $t3,0x0($s1) -/* f0f69e0: 8e6c0000 */ lw $t4,0x0($s3) -/* f0f69e4: 000f6880 */ sll $t5,$t7,0x2 -/* f0f69e8: 028d7021 */ addu $t6,$s4,$t5 -/* f0f69ec: 8dc70000 */ lw $a3,0x0($t6) -/* f0f69f0: 8fb801bc */ lw $t8,0x1bc($sp) -/* f0f69f4: 87b901ca */ lh $t9,0x1ca($sp) -/* f0f69f8: afa00028 */ sw $zero,0x28($sp) -/* f0f69fc: afa00024 */ sw $zero,0x24($sp) -/* f0f6a00: afa20020 */ sw $v0,0x20($sp) -/* f0f6a04: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6a08: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f6a0c: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f6a10: afab0010 */ sw $t3,0x10($sp) -/* f0f6a14: afac0014 */ sw $t4,0x14($sp) -/* f0f6a18: afb80018 */ sw $t8,0x18($sp) -/* f0f6a1c: 0fc55886 */ jal textRenderProjected -/* f0f6a20: afb9001c */ sw $t9,0x1c($sp) -/* f0f6a24: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f6a28: -/* f0f6a28: 0fc54bb7 */ jal text0f153780 -/* f0f6a2c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6a30: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f6a34: -/* f0f6a34: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6a38: 8fb501dc */ lw $s5,0x1dc($sp) -/* f0f6a3c: 3c0f800a */ lui $t7,0x800a -/* f0f6a40: c4400048 */ lwc1 $f0,0x48($v0) -/* f0f6a44: 26b5000e */ addiu $s5,$s5,0xe -/* f0f6a48: 4614003c */ c.lt.s $f0,$f20 -/* f0f6a4c: 00000000 */ nop -/* f0f6a50: 4503001b */ bc1tl .JF0f0f6ac0 -/* f0f6a54: 904b0060 */ lbu $t3,0x60($v0) -/* f0f6a58: 8def20c4 */ lw $t7,0x20c4($t7) -/* f0f6a5c: 24010004 */ li $at,0x4 -/* f0f6a60: 51e1001e */ beql $t7,$at,.JF0f0f6adc -/* f0f6a64: 8fac0084 */ lw $t4,0x84($sp) -/* f0f6a68: 904d0060 */ lbu $t5,0x60($v0) -/* f0f6a6c: 00003825 */ move $a3,$zero -/* f0f6a70: 29a10003 */ slti $at,$t5,0x3 -/* f0f6a74: 54200009 */ bnezl $at,.JF0f0f6a9c -/* f0f6a78: 44060000 */ mfc1 $a2,$f0 -/* f0f6a7c: 44060000 */ mfc1 $a2,$f0 -/* f0f6a80: 8c440014 */ lw $a0,0x14($v0) -/* f0f6a84: 8c450018 */ lw $a1,0x18($v0) -/* f0f6a88: 0fc54ce3 */ jal textSetDiagonalBlend -/* f0f6a8c: 24070001 */ li $a3,0x1 -/* f0f6a90: 10000006 */ b .JF0f0f6aac -/* f0f6a94: 240e0001 */ li $t6,0x1 -/* f0f6a98: 44060000 */ mfc1 $a2,$f0 -.JF0f0f6a9c: -/* f0f6a9c: 8c440014 */ lw $a0,0x14($v0) -/* f0f6aa0: 0fc54ce3 */ jal textSetDiagonalBlend -/* f0f6aa4: 8c450018 */ lw $a1,0x18($v0) -/* f0f6aa8: 240e0001 */ li $t6,0x1 -.JF0f0f6aac: -/* f0f6aac: 3c018008 */ lui $at,0x8008 -/* f0f6ab0: ac2e01f8 */ sw $t6,0x1f8($at) -/* f0f6ab4: 10000008 */ b .JF0f0f6ad8 -/* f0f6ab8: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6abc: 904b0060 */ lbu $t3,0x60($v0) -.JF0f0f6ac0: -/* f0f6ac0: 24010003 */ li $at,0x3 -/* f0f6ac4: 55610005 */ bnel $t3,$at,.JF0f0f6adc -/* f0f6ac8: 8fac0084 */ lw $t4,0x84($sp) -/* f0f6acc: 0fc54d3d */ jal textSetMenuBlend -/* f0f6ad0: c44c0050 */ lwc1 $f12,0x50($v0) -/* f0f6ad4: 8fa201ec */ lw $v0,0x1ec($sp) -.JF0f0f6ad8: -/* f0f6ad8: 8fac0084 */ lw $t4,0x84($sp) -.JF0f0f6adc: -/* f0f6adc: 3c0b7f1b */ lui $t3,0x7f1b -/* f0f6ae0: 256b2ce0 */ addiu $t3,$t3,0x2ce0 -/* f0f6ae4: 0195082a */ slt $at,$t4,$s5 -/* f0f6ae8: 50200003 */ beqzl $at,.JF0f0f6af8 -/* f0f6aec: c44a0040 */ lwc1 $f10,0x40($v0) -/* f0f6af0: afb501d4 */ sw $s5,0x1d4($sp) -/* f0f6af4: c44a0040 */ lwc1 $f10,0x40($v0) -.JF0f0f6af8: -/* f0f6af8: 4614503c */ c.lt.s $f10,$f20 -/* f0f6afc: 00000000 */ nop -/* f0f6b00: 4502000b */ bc1fl .JF0f0f6b30 -/* f0f6b04: 904d003d */ lbu $t5,0x3d($v0) -/* f0f6b08: 9058003c */ lbu $t8,0x3c($v0) -/* f0f6b0c: 3c0f7f1b */ lui $t7,0x7f1b -/* f0f6b10: 0018c900 */ sll $t9,$t8,0x4 -/* f0f6b14: 0338c823 */ subu $t9,$t9,$t8 -/* f0f6b18: 0019c880 */ sll $t9,$t9,0x2 -/* f0f6b1c: 01f97821 */ addu $t7,$t7,$t9 -/* f0f6b20: 8def2cf0 */ lw $t7,0x2cf0($t7) -/* f0f6b24: 10000011 */ b .JF0f0f6b6c -/* f0f6b28: afaf01bc */ sw $t7,0x1bc($sp) -/* f0f6b2c: 904d003d */ lbu $t5,0x3d($v0) -.JF0f0f6b30: -/* f0f6b30: 9058003c */ lbu $t8,0x3c($v0) -/* f0f6b34: 8c460044 */ lw $a2,0x44($v0) -/* f0f6b38: 000d7100 */ sll $t6,$t5,0x4 -/* f0f6b3c: 0018c900 */ sll $t9,$t8,0x4 -/* f0f6b40: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f6b44: 0338c823 */ subu $t9,$t9,$t8 -/* f0f6b48: 0019c880 */ sll $t9,$t9,0x2 -/* f0f6b4c: 000e7080 */ sll $t6,$t6,0x2 -/* f0f6b50: 01cb6021 */ addu $t4,$t6,$t3 -/* f0f6b54: 032b7821 */ addu $t7,$t9,$t3 -/* f0f6b58: 8de50010 */ lw $a1,0x10($t7) -/* f0f6b5c: 0fc01a60 */ jal colourBlend -/* f0f6b60: 8d840010 */ lw $a0,0x10($t4) -/* f0f6b64: afa201bc */ sw $v0,0x1bc($sp) -/* f0f6b68: 8fa201ec */ lw $v0,0x1ec($sp) -.JF0f0f6b6c: -/* f0f6b6c: 8c4d000c */ lw $t5,0xc($v0) -/* f0f6b70: 8fa401bc */ lw $a0,0x1bc($sp) -/* f0f6b74: 00002825 */ move $a1,$zero -/* f0f6b78: 51a0000b */ beqzl $t5,.JF0f0f6ba8 -/* f0f6b7c: c4500040 */ lwc1 $f16,0x40($v0) -/* f0f6b80: 0fc01a60 */ jal colourBlend -/* f0f6b84: 2406002c */ li $a2,0x2c -/* f0f6b88: 8fac01bc */ lw $t4,0x1bc($sp) -/* f0f6b8c: 2401ff00 */ li $at,-256 -/* f0f6b90: 00417024 */ and $t6,$v0,$at -/* f0f6b94: 319800ff */ andi $t8,$t4,0xff -/* f0f6b98: 01d8c825 */ or $t9,$t6,$t8 -/* f0f6b9c: afb901bc */ sw $t9,0x1bc($sp) -/* f0f6ba0: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6ba4: c4500040 */ lwc1 $f16,0x40($v0) -.JF0f0f6ba8: -/* f0f6ba8: 3c187f1b */ lui $t8,0x7f1b -/* f0f6bac: 27182ce0 */ addiu $t8,$t8,0x2ce0 -/* f0f6bb0: 4614803c */ c.lt.s $f16,$f20 -/* f0f6bb4: 00000000 */ nop -/* f0f6bb8: 4502000b */ bc1fl .JF0f0f6be8 -/* f0f6bbc: 904c003d */ lbu $t4,0x3d($v0) -/* f0f6bc0: 904b003c */ lbu $t3,0x3c($v0) -/* f0f6bc4: 3c0d7f1b */ lui $t5,0x7f1b -/* f0f6bc8: 000b7900 */ sll $t7,$t3,0x4 -/* f0f6bcc: 01eb7823 */ subu $t7,$t7,$t3 -/* f0f6bd0: 000f7880 */ sll $t7,$t7,0x2 -/* f0f6bd4: 01af6821 */ addu $t5,$t5,$t7 -/* f0f6bd8: 8dad2cf4 */ lw $t5,0x2cf4($t5) -/* f0f6bdc: 10000011 */ b .JF0f0f6c24 -/* f0f6be0: afad01b8 */ sw $t5,0x1b8($sp) -/* f0f6be4: 904c003d */ lbu $t4,0x3d($v0) -.JF0f0f6be8: -/* f0f6be8: 904b003c */ lbu $t3,0x3c($v0) -/* f0f6bec: 8c460044 */ lw $a2,0x44($v0) -/* f0f6bf0: 000c7100 */ sll $t6,$t4,0x4 -/* f0f6bf4: 000b7900 */ sll $t7,$t3,0x4 -/* f0f6bf8: 01cc7023 */ subu $t6,$t6,$t4 -/* f0f6bfc: 01eb7823 */ subu $t7,$t7,$t3 -/* f0f6c00: 000f7880 */ sll $t7,$t7,0x2 -/* f0f6c04: 000e7080 */ sll $t6,$t6,0x2 -/* f0f6c08: 01d8c821 */ addu $t9,$t6,$t8 -/* f0f6c0c: 01f86821 */ addu $t5,$t7,$t8 -/* f0f6c10: 8da50014 */ lw $a1,0x14($t5) -/* f0f6c14: 0fc01a60 */ jal colourBlend -/* f0f6c18: 8f240014 */ lw $a0,0x14($t9) -/* f0f6c1c: afa201b8 */ sw $v0,0x1b8($sp) -/* f0f6c20: 8fa201ec */ lw $v0,0x1ec($sp) -.JF0f0f6c24: -/* f0f6c24: 8fac01f4 */ lw $t4,0x1f4($sp) -/* f0f6c28: 8fa901e0 */ lw $t1,0x1e0($sp) -/* f0f6c2c: 5580008a */ bnezl $t4,.JF0f0f6e58 -/* f0f6c30: 904d0060 */ lbu $t5,0x60($v0) -/* f0f6c34: 90430060 */ lbu $v1,0x60($v0) -/* f0f6c38: 87ae01ca */ lh $t6,0x1ca($sp) -/* f0f6c3c: 24010001 */ li $at,0x1 -/* f0f6c40: 14610014 */ bne $v1,$at,.JF0f0f6c94 -/* f0f6c44: 01c94021 */ addu $t0,$t6,$t1 -/* f0f6c48: 3c013f80 */ lui $at,0x3f80 -/* f0f6c4c: 44819000 */ mtc1 $at,$f18 -/* f0f6c50: 8fb901d4 */ lw $t9,0x1d4($sp) -/* f0f6c54: 8fab01bc */ lw $t3,0x1bc($sp) -/* f0f6c58: 8faf01b8 */ lw $t7,0x1b8($sp) -/* f0f6c5c: 25300001 */ addiu $s0,$t1,0x1 -/* f0f6c60: 2511ffff */ addiu $s1,$t0,-1 -/* f0f6c64: 02203825 */ move $a3,$s1 -/* f0f6c68: 02002825 */ move $a1,$s0 -/* f0f6c6c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6c70: 02a03025 */ move $a2,$s5 -/* f0f6c74: afa20014 */ sw $v0,0x14($sp) -/* f0f6c78: afb90010 */ sw $t9,0x10($sp) -/* f0f6c7c: e7b20020 */ swc1 $f18,0x20($sp) -/* f0f6c80: afab0018 */ sw $t3,0x18($sp) -/* f0f6c84: 0fc386d8 */ jal menugfxRenderDialogBackground -/* f0f6c88: afaf001c */ sw $t7,0x1c($sp) -/* f0f6c8c: 10000027 */ b .JF0f0f6d2c -/* f0f6c90: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f6c94: -/* f0f6c94: 24010002 */ li $at,0x2 -/* f0f6c98: 14610013 */ bne $v1,$at,.JF0f0f6ce8 -/* f0f6c9c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6ca0: 8fb801d4 */ lw $t8,0x1d4($sp) -/* f0f6ca4: 8fad01bc */ lw $t5,0x1bc($sp) -/* f0f6ca8: 8fac01b8 */ lw $t4,0x1b8($sp) -/* f0f6cac: afa20014 */ sw $v0,0x14($sp) -/* f0f6cb0: afb80010 */ sw $t8,0x10($sp) -/* f0f6cb4: afad0018 */ sw $t5,0x18($sp) -/* f0f6cb8: afac001c */ sw $t4,0x1c($sp) -/* f0f6cbc: c4440050 */ lwc1 $f4,0x50($v0) -/* f0f6cc0: 25300001 */ addiu $s0,$t1,0x1 -/* f0f6cc4: 2511ffff */ addiu $s1,$t0,-1 -/* f0f6cc8: 02203825 */ move $a3,$s1 -/* f0f6ccc: 02002825 */ move $a1,$s0 -/* f0f6cd0: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6cd4: 02a03025 */ move $a2,$s5 -/* f0f6cd8: 0fc386d8 */ jal menugfxRenderDialogBackground -/* f0f6cdc: e7a40020 */ swc1 $f4,0x20($sp) -/* f0f6ce0: 10000012 */ b .JF0f0f6d2c -/* f0f6ce4: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f6ce8: -/* f0f6ce8: 3c01bf80 */ lui $at,0xbf80 -/* f0f6cec: 44813000 */ mtc1 $at,$f6 -/* f0f6cf0: 8fae01d4 */ lw $t6,0x1d4($sp) -/* f0f6cf4: 8fb901bc */ lw $t9,0x1bc($sp) -/* f0f6cf8: 8fab01b8 */ lw $t3,0x1b8($sp) -/* f0f6cfc: 25300001 */ addiu $s0,$t1,0x1 -/* f0f6d00: 2511ffff */ addiu $s1,$t0,-1 -/* f0f6d04: 02203825 */ move $a3,$s1 -/* f0f6d08: 02002825 */ move $a1,$s0 -/* f0f6d0c: 02a03025 */ move $a2,$s5 -/* f0f6d10: afa20014 */ sw $v0,0x14($sp) -/* f0f6d14: afae0010 */ sw $t6,0x10($sp) -/* f0f6d18: e7a60020 */ swc1 $f6,0x20($sp) -/* f0f6d1c: afb90018 */ sw $t9,0x18($sp) -/* f0f6d20: 0fc386d8 */ jal menugfxRenderDialogBackground -/* f0f6d24: afab001c */ sw $t3,0x1c($sp) -/* f0f6d28: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f6d2c: -/* f0f6d2c: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6d30: 8c4f0000 */ lw $t7,0x0($v0) -/* f0f6d34: 8df80010 */ lw $t8,0x10($t7) -/* f0f6d38: 330d0100 */ andi $t5,$t8,0x100 -/* f0f6d3c: 51a00046 */ beqzl $t5,.JF0f0f6e58 -/* f0f6d40: 904d0060 */ lbu $t5,0x60($v0) -/* f0f6d44: c4400040 */ lwc1 $f0,0x40($v0) -/* f0f6d48: 4614003c */ c.lt.s $f0,$f20 -/* f0f6d4c: 00000000 */ nop -/* f0f6d50: 4502000b */ bc1fl .JF0f0f6d80 -/* f0f6d54: 904b003d */ lbu $t3,0x3d($v0) -/* f0f6d58: 904c003c */ lbu $t4,0x3c($v0) -/* f0f6d5c: 3c197f1b */ lui $t9,0x7f1b -/* f0f6d60: 27392ce0 */ addiu $t9,$t9,0x2ce0 -/* f0f6d64: 000c7100 */ sll $t6,$t4,0x4 -/* f0f6d68: 01cc7023 */ subu $t6,$t6,$t4 -/* f0f6d6c: 000e7080 */ sll $t6,$t6,0x2 -/* f0f6d70: 01d91821 */ addu $v1,$t6,$t9 -/* f0f6d74: 1000001b */ b .JF0f0f6de4 -/* f0f6d78: 8c720000 */ lw $s2,0x0($v1) -/* f0f6d7c: 904b003d */ lbu $t3,0x3d($v0) -.JF0f0f6d80: -/* f0f6d80: 904c003c */ lbu $t4,0x3c($v0) -/* f0f6d84: 3c187f1b */ lui $t8,0x7f1b -/* f0f6d88: 000b7900 */ sll $t7,$t3,0x4 -/* f0f6d8c: 000c7100 */ sll $t6,$t4,0x4 -/* f0f6d90: 27182ce0 */ addiu $t8,$t8,0x2ce0 -/* f0f6d94: 01eb7823 */ subu $t7,$t7,$t3 -/* f0f6d98: 01cc7023 */ subu $t6,$t6,$t4 -/* f0f6d9c: 000e7080 */ sll $t6,$t6,0x2 -/* f0f6da0: 000f7880 */ sll $t7,$t7,0x2 -/* f0f6da4: 01f86821 */ addu $t5,$t7,$t8 -/* f0f6da8: 01d8c821 */ addu $t9,$t6,$t8 -/* f0f6dac: 8f250000 */ lw $a1,0x0($t9) -/* f0f6db0: 8da40000 */ lw $a0,0x0($t5) -/* f0f6db4: 0fc01a60 */ jal colourBlend -/* f0f6db8: 8c460044 */ lw $a2,0x44($v0) -/* f0f6dbc: 00409025 */ move $s2,$v0 -/* f0f6dc0: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6dc4: 3c0c7f1b */ lui $t4,0x7f1b -/* f0f6dc8: 258c2ce0 */ addiu $t4,$t4,0x2ce0 -/* f0f6dcc: 904f003c */ lbu $t7,0x3c($v0) -/* f0f6dd0: c4400040 */ lwc1 $f0,0x40($v0) -/* f0f6dd4: 000f6900 */ sll $t5,$t7,0x4 -/* f0f6dd8: 01af6823 */ subu $t5,$t5,$t7 -/* f0f6ddc: 000d6880 */ sll $t5,$t5,0x2 -/* f0f6de0: 01ac1821 */ addu $v1,$t5,$t4 -.JF0f0f6de4: -/* f0f6de4: 4614003c */ c.lt.s $f0,$f20 -/* f0f6de8: 3c047f1b */ lui $a0,0x7f1b -/* f0f6dec: 45020004 */ bc1fl .JF0f0f6e00 -/* f0f6df0: 904e003d */ lbu $t6,0x3d($v0) -/* f0f6df4: 1000000b */ b .JF0f0f6e24 -/* f0f6df8: 8c680008 */ lw $t0,0x8($v1) -/* f0f6dfc: 904e003d */ lbu $t6,0x3d($v0) -.JF0f0f6e00: -/* f0f6e00: 8c650008 */ lw $a1,0x8($v1) -/* f0f6e04: 8c460044 */ lw $a2,0x44($v0) -/* f0f6e08: 000ec100 */ sll $t8,$t6,0x4 -/* f0f6e0c: 030ec023 */ subu $t8,$t8,$t6 -/* f0f6e10: 0018c080 */ sll $t8,$t8,0x2 -/* f0f6e14: 00982021 */ addu $a0,$a0,$t8 -/* f0f6e18: 0fc01a60 */ jal colourBlend -/* f0f6e1c: 8c842ce8 */ lw $a0,0x2ce8($a0) -/* f0f6e20: 00404025 */ move $t0,$v0 -.JF0f0f6e24: -/* f0f6e24: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f6e28: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6e2c: 02002825 */ move $a1,$s0 -/* f0f6e30: 272f000f */ addiu $t7,$t9,0xf -/* f0f6e34: afaf0010 */ sw $t7,0x10($sp) -/* f0f6e38: 02a03025 */ move $a2,$s5 -/* f0f6e3c: 02203825 */ move $a3,$s1 -/* f0f6e40: afb20014 */ sw $s2,0x14($sp) -/* f0f6e44: 0fc38f27 */ jal menugfxDrawDialogBorderLine -/* f0f6e48: afa80018 */ sw $t0,0x18($sp) -/* f0f6e4c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6e50: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6e54: 904d0060 */ lbu $t5,0x60($v0) -.JF0f0f6e58: -/* f0f6e58: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f6e5c: 87ac01ca */ lh $t4,0x1ca($sp) -/* f0f6e60: 15a00003 */ bnez $t5,.JF0f0f6e70 -/* f0f6e64: 24720002 */ addiu $s2,$v1,0x2 -/* f0f6e68: 100004ab */ b .JF0f0f8118 -/* f0f6e6c: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f6e70: -/* f0f6e70: 01835821 */ addu $t3,$t4,$v1 -/* f0f6e74: 0c002f29 */ jal viGetViewLeft -/* f0f6e78: afab0088 */ sw $t3,0x88($sp) -/* f0f6e7c: 3c0e8008 */ lui $t6,0x8008 -/* f0f6e80: 8dce00f4 */ lw $t6,0xf4($t6) -/* f0f6e84: 004e001a */ div $zero,$v0,$t6 -/* f0f6e88: 00009812 */ mflo $s3 -/* f0f6e8c: 15c00002 */ bnez $t6,.JF0f0f6e98 -/* f0f6e90: 00000000 */ nop -/* f0f6e94: 0007000d */ break 0x7 -.JF0f0f6e98: -/* f0f6e98: 2401ffff */ li $at,-1 -/* f0f6e9c: 15c10004 */ bne $t6,$at,.JF0f0f6eb0 -/* f0f6ea0: 3c018000 */ lui $at,0x8000 -/* f0f6ea4: 14410002 */ bne $v0,$at,.JF0f0f6eb0 -/* f0f6ea8: 00000000 */ nop -/* f0f6eac: 0006000d */ break 0x6 -.JF0f0f6eb0: -/* f0f6eb0: 0c002f2d */ jal viGetViewTop -/* f0f6eb4: 00000000 */ nop -/* f0f6eb8: 0c002f29 */ jal viGetViewLeft -/* f0f6ebc: 0040a025 */ move $s4,$v0 -/* f0f6ec0: 00028400 */ sll $s0,$v0,0x10 -/* f0f6ec4: 0010c403 */ sra $t8,$s0,0x10 -/* f0f6ec8: 0c002f0b */ jal viGetViewWidth -/* f0f6ecc: 03008025 */ move $s0,$t8 -/* f0f6ed0: 3c0f8008 */ lui $t7,0x8008 -/* f0f6ed4: 8def00f4 */ lw $t7,0xf4($t7) -/* f0f6ed8: 0050c821 */ addu $t9,$v0,$s0 -/* f0f6edc: 032f001a */ div $zero,$t9,$t7 -/* f0f6ee0: 00008812 */ mflo $s1 -/* f0f6ee4: 15e00002 */ bnez $t7,.JF0f0f6ef0 -/* f0f6ee8: 00000000 */ nop -/* f0f6eec: 0007000d */ break 0x7 -.JF0f0f6ef0: -/* f0f6ef0: 2401ffff */ li $at,-1 -/* f0f6ef4: 15e10004 */ bne $t7,$at,.JF0f0f6f08 -/* f0f6ef8: 3c018000 */ lui $at,0x8000 -/* f0f6efc: 17210002 */ bne $t9,$at,.JF0f0f6f08 -/* f0f6f00: 00000000 */ nop -/* f0f6f04: 0006000d */ break 0x6 -.JF0f0f6f08: -/* f0f6f08: 0c002f2d */ jal viGetViewTop -/* f0f6f0c: 00000000 */ nop -/* f0f6f10: 00028400 */ sll $s0,$v0,0x10 -/* f0f6f14: 00106c03 */ sra $t5,$s0,0x10 -/* f0f6f18: 0c002f0f */ jal viGetViewHeight -/* f0f6f1c: 01a08025 */ move $s0,$t5 -/* f0f6f20: 8fac0088 */ lw $t4,0x88($sp) -/* f0f6f24: 3c08800a */ lui $t0,0x800a -/* f0f6f28: 25082738 */ addiu $t0,$t0,0x2738 -/* f0f6f2c: 3c0a800a */ lui $t2,0x800a -/* f0f6f30: ad120000 */ sw $s2,0x0($t0) -/* f0f6f34: 3c01800a */ lui $at,0x800a -/* f0f6f38: 258bfffe */ addiu $t3,$t4,-2 -/* f0f6f3c: 254a273c */ addiu $t2,$t2,0x273c -/* f0f6f40: ac2b273c */ sw $t3,0x273c($at) -/* f0f6f44: 8fae01d4 */ lw $t6,0x1d4($sp) -/* f0f6f48: 8d440000 */ lw $a0,0x0($t2) -/* f0f6f4c: 3c03800a */ lui $v1,0x800a -/* f0f6f50: 3c09800a */ lui $t1,0x800a -/* f0f6f54: 25292740 */ addiu $t1,$t1,0x2740 -/* f0f6f58: 24632744 */ addiu $v1,$v1,0x2744 -/* f0f6f5c: 25d8ffff */ addiu $t8,$t6,-1 -/* f0f6f60: 0093082a */ slt $at,$a0,$s3 -/* f0f6f64: ad350000 */ sw $s5,0x0($t1) -/* f0f6f68: 10200003 */ beqz $at,.JF0f0f6f78 -/* f0f6f6c: ac780000 */ sw $t8,0x0($v1) -/* f0f6f70: 10000469 */ b .JF0f0f8118 -/* f0f6f74: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f6f78: -/* f0f6f78: 8c650000 */ lw $a1,0x0($v1) -/* f0f6f7c: 00b4082a */ slt $at,$a1,$s4 -/* f0f6f80: 50200004 */ beqzl $at,.JF0f0f6f94 -/* f0f6f84: 8d060000 */ lw $a2,0x0($t0) -/* f0f6f88: 10000463 */ b .JF0f0f8118 -/* f0f6f8c: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f6f90: 8d060000 */ lw $a2,0x0($t0) -.JF0f0f6f94: -/* f0f6f94: 0226082a */ slt $at,$s1,$a2 -/* f0f6f98: 50200004 */ beqzl $at,.JF0f0f6fac -/* f0f6f9c: 8d270000 */ lw $a3,0x0($t1) -/* f0f6fa0: 1000045d */ b .JF0f0f8118 -/* f0f6fa4: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f6fa8: 8d270000 */ lw $a3,0x0($t1) -.JF0f0f6fac: -/* f0f6fac: 00501821 */ addu $v1,$v0,$s0 -/* f0f6fb0: 0067082a */ slt $at,$v1,$a3 -/* f0f6fb4: 50200004 */ beqzl $at,.JF0f0f6fc8 -/* f0f6fb8: 0224082a */ slt $at,$s1,$a0 -/* f0f6fbc: 10000456 */ b .JF0f0f8118 -/* f0f6fc0: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f6fc4: 0224082a */ slt $at,$s1,$a0 -.JF0f0f6fc8: -/* f0f6fc8: 50200004 */ beqzl $at,.JF0f0f6fdc -/* f0f6fcc: 0065082a */ slt $at,$v1,$a1 -/* f0f6fd0: ad510000 */ sw $s1,0x0($t2) -/* f0f6fd4: 02202025 */ move $a0,$s1 -/* f0f6fd8: 0065082a */ slt $at,$v1,$a1 -.JF0f0f6fdc: -/* f0f6fdc: 10200004 */ beqz $at,.JF0f0f6ff0 -/* f0f6fe0: 3c01800a */ lui $at,0x800a -/* f0f6fe4: ac232744 */ sw $v1,0x2744($at) -/* f0f6fe8: 3c05800a */ lui $a1,0x800a -/* f0f6fec: 8ca52744 */ lw $a1,0x2744($a1) -.JF0f0f6ff0: -/* f0f6ff0: 00d3082a */ slt $at,$a2,$s3 -/* f0f6ff4: 50200003 */ beqzl $at,.JF0f0f7004 -/* f0f6ff8: 0094082a */ slt $at,$a0,$s4 -/* f0f6ffc: ad130000 */ sw $s3,0x0($t0) -/* f0f7000: 0094082a */ slt $at,$a0,$s4 -.JF0f0f7004: -/* f0f7004: 10200002 */ beqz $at,.JF0f0f7010 -/* f0f7008: 00000000 */ nop -/* f0f700c: ad540000 */ sw $s4,0x0($t2) -.JF0f0f7010: -/* f0f7010: 3c01800a */ lui $at,0x800a -/* f0f7014: ac27e560 */ sw $a3,-0x1aa0($at) -/* f0f7018: 3c01800a */ lui $at,0x800a -/* f0f701c: ac25e564 */ sw $a1,-0x1a9c($at) -/* f0f7020: 0fc3d768 */ jal menuApplyScissor -/* f0f7024: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7028: 3c198007 */ lui $t9,0x8007 -/* f0f702c: 8f391998 */ lw $t9,0x1998($t9) -/* f0f7030: 3c0d800a */ lui $t5,0x800a -/* f0f7034: 25ade700 */ addiu $t5,$t5,-6400 -/* f0f7038: 001978c0 */ sll $t7,$t9,0x3 -/* f0f703c: 01f97823 */ subu $t7,$t7,$t9 -/* f0f7040: 000f7880 */ sll $t7,$t7,0x2 -/* f0f7044: 01f97821 */ addu $t7,$t7,$t9 -/* f0f7048: 000f78c0 */ sll $t7,$t7,0x3 -/* f0f704c: 01f97823 */ subu $t7,$t7,$t9 -/* f0f7050: 000f7900 */ sll $t7,$t7,0x4 -/* f0f7054: 01ed1821 */ addu $v1,$t7,$t5 -/* f0f7058: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f705c: 8c6c04f8 */ lw $t4,0x4f8($v1) -/* f0f7060: 00402025 */ move $a0,$v0 -/* f0f7064: 54ec0033 */ bnel $a3,$t4,.JF0f0f7134 -/* f0f7068: 90f8003c */ lbu $t8,0x3c($a3) -/* f0f706c: 8ceb0000 */ lw $t3,0x0($a3) -/* f0f7070: 8fb901f4 */ lw $t9,0x1f4($sp) -/* f0f7074: 8d6e0010 */ lw $t6,0x10($t3) -/* f0f7078: 31d80002 */ andi $t8,$t6,0x2 -/* f0f707c: 5300002d */ beqzl $t8,.JF0f0f7134 -/* f0f7080: 90f8003c */ lbu $t8,0x3c($a3) -/* f0f7084: 5720002b */ bnezl $t9,.JF0f0f7134 -/* f0f7088: 90f8003c */ lbu $t8,0x3c($a3) -/* f0f708c: 8c6f0df0 */ lw $t7,0xdf0($v1) -/* f0f7090: 3c0bb700 */ lui $t3,0xb700 -/* f0f7094: 240e0001 */ li $t6,0x1 -/* f0f7098: 000f6380 */ sll $t4,$t7,0xe -/* f0f709c: 05800024 */ bltz $t4,.JF0f0f7130 -/* f0f70a0: 3c188007 */ lui $t8,0x8007 -/* f0f70a4: ac4b0000 */ sw $t3,0x0($v0) -/* f0f70a8: ac4e0004 */ sw $t6,0x4($v0) -/* f0f70ac: 8f181998 */ lw $t8,0x1998($t8) -/* f0f70b0: 3c0d800a */ lui $t5,0x800a -/* f0f70b4: 25ade700 */ addiu $t5,$t5,-6400 -/* f0f70b8: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0f70bc: 0338c823 */ subu $t9,$t9,$t8 -/* f0f70c0: 0019c880 */ sll $t9,$t9,0x2 -/* f0f70c4: 0338c821 */ addu $t9,$t9,$t8 -/* f0f70c8: 0019c8c0 */ sll $t9,$t9,0x3 -/* f0f70cc: 0338c823 */ subu $t9,$t9,$t8 -/* f0f70d0: 0019c900 */ sll $t9,$t9,0x4 -/* f0f70d4: 272f0840 */ addiu $t7,$t9,0x840 -/* f0f70d8: 24840008 */ addiu $a0,$a0,0x8 -/* f0f70dc: 01ed2821 */ addu $a1,$t7,$t5 -/* f0f70e0: 0fc3d151 */ jal menuRenderModels -/* f0f70e4: 00003025 */ move $a2,$zero -/* f0f70e8: 244c0008 */ addiu $t4,$v0,0x8 -/* f0f70ec: afac01e8 */ sw $t4,0x1e8($sp) -/* f0f70f0: 3c0bb600 */ lui $t3,0xb600 -/* f0f70f4: 240e0001 */ li $t6,0x1 -/* f0f70f8: ac4e0004 */ sw $t6,0x4($v0) -/* f0f70fc: ac4b0000 */ sw $t3,0x0($v0) -/* f0f7100: 8fd00284 */ lw $s0,0x284($s8) -/* f0f7104: 86040634 */ lh $a0,0x634($s0) -/* f0f7108: 0c002f13 */ jal viSetViewPosition -/* f0f710c: 86050636 */ lh $a1,0x636($s0) -/* f0f7110: 8fd00284 */ lw $s0,0x284($s8) -/* f0f7114: c60c1854 */ lwc1 $f12,0x1854($s0) -/* f0f7118: c60e1858 */ lwc1 $f14,0x1858($s0) -/* f0f711c: 86060630 */ lh $a2,0x630($s0) -/* f0f7120: 0c002f5f */ jal viSetFovAspectAndSize -/* f0f7124: 86070632 */ lh $a3,0x632($s0) -/* f0f7128: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f712c: 8fa401e8 */ lw $a0,0x1e8($sp) -.JF0f0f7130: -/* f0f7130: 90f8003c */ lbu $t8,0x3c($a3) -.JF0f0f7134: -/* f0f7134: 57000008 */ bnezl $t8,.JF0f0f7158 -/* f0f7138: 8fb901e0 */ lw $t9,0x1e0($sp) -/* f0f713c: c4e80040 */ lwc1 $f8,0x40($a3) -/* f0f7140: 00809825 */ move $s3,$a0 -/* f0f7144: 4608a03e */ c.le.s $f20,$f8 -/* f0f7148: 00000000 */ nop -/* f0f714c: 45020292 */ bc1fl .JF0f0f7b98 -/* f0f7150: 24840008 */ addiu $a0,$a0,0x8 -/* f0f7154: 8fb901e0 */ lw $t9,0x1e0($sp) -.JF0f0f7158: -/* f0f7158: afa00130 */ sw $zero,0x130($sp) -/* f0f715c: afa001e4 */ sw $zero,0x1e4($sp) -/* f0f7160: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f7164: afb90194 */ sw $t9,0x194($sp) -/* f0f7168: 90ef0005 */ lbu $t7,0x5($a3) -/* f0f716c: 59e001e7 */ blezl $t7,.JF0f0f790c -/* f0f7170: 8fad01f4 */ lw $t5,0x1f4($sp) -/* f0f7174: afa401e8 */ sw $a0,0x1e8($sp) -.JF0f0f7178: -/* f0f7178: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f717c: 8fad01dc */ lw $t5,0x1dc($sp) -/* f0f7180: 3c057f1b */ lui $a1,0x7f1b -/* f0f7184: 8c4c0064 */ lw $t4,0x64($v0) -/* f0f7188: afa00128 */ sw $zero,0x128($sp) -/* f0f718c: 01ac5821 */ addu $t3,$t5,$t4 -/* f0f7190: 256e000f */ addiu $t6,$t3,0xf -/* f0f7194: afae012c */ sw $t6,0x12c($sp) -/* f0f7198: 9058003c */ lbu $t8,0x3c($v0) -/* f0f719c: afa001c0 */ sw $zero,0x1c0($sp) -/* f0f71a0: c44a0040 */ lwc1 $f10,0x40($v0) -/* f0f71a4: 0018c900 */ sll $t9,$t8,0x4 -/* f0f71a8: 0338c823 */ subu $t9,$t9,$t8 -/* f0f71ac: 4614503c */ c.lt.s $f10,$f20 -/* f0f71b0: 0019c880 */ sll $t9,$t9,0x2 -/* f0f71b4: 00b92821 */ addu $a1,$a1,$t9 -/* f0f71b8: 8ca52cf8 */ lw $a1,0x2cf8($a1) -/* f0f71bc: 45020005 */ bc1fl .JF0f0f71d4 -/* f0f71c0: 904f003d */ lbu $t7,0x3d($v0) -/* f0f71c4: afa50120 */ sw $a1,0x120($sp) -/* f0f71c8: 1000000d */ b .JF0f0f7200 -/* f0f71cc: 90430004 */ lbu $v1,0x4($v0) -/* f0f71d0: 904f003d */ lbu $t7,0x3d($v0) -.JF0f0f71d4: -/* f0f71d4: 3c047f1b */ lui $a0,0x7f1b -/* f0f71d8: 8c460044 */ lw $a2,0x44($v0) -/* f0f71dc: 000f6900 */ sll $t5,$t7,0x4 -/* f0f71e0: 01af6823 */ subu $t5,$t5,$t7 -/* f0f71e4: 000d6880 */ sll $t5,$t5,0x2 -/* f0f71e8: 008d2021 */ addu $a0,$a0,$t5 -/* f0f71ec: 0fc01a60 */ jal colourBlend -/* f0f71f0: 8c842cf8 */ lw $a0,0x2cf8($a0) -/* f0f71f4: afa20120 */ sw $v0,0x120($sp) -/* f0f71f8: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f71fc: 90430004 */ lbu $v1,0x4($v0) -.JF0f0f7200: -/* f0f7200: 8fab0120 */ lw $t3,0x120($sp) -/* f0f7204: 8fb901e4 */ lw $t9,0x1e4($sp) -/* f0f7208: 2401ff00 */ li $at,-256 -/* f0f720c: 01617024 */ and $t6,$t3,$at -/* f0f7210: 35d8003f */ ori $t8,$t6,0x3f -/* f0f7214: afb80120 */ sw $t8,0x120($sp) -/* f0f7218: 13200010 */ beqz $t9,.JF0f0f725c -/* f0f721c: 00798021 */ addu $s0,$v1,$t9 -/* f0f7220: 8c4f0000 */ lw $t7,0x0($v0) -/* f0f7224: 8fa70194 */ lw $a3,0x194($sp) -/* f0f7228: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f722c: 8ded0010 */ lw $t5,0x10($t7) -/* f0f7230: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7234: 24e5ffff */ addiu $a1,$a3,-1 -/* f0f7238: 31ac0400 */ andi $t4,$t5,0x400 -/* f0f723c: 15800007 */ bnez $t4,.JF0f0f725c -/* f0f7240: 24c6000f */ addiu $a2,$a2,0xf -/* f0f7244: 8fab01d4 */ lw $t3,0x1d4($sp) -/* f0f7248: afb80014 */ sw $t8,0x14($sp) -/* f0f724c: afb80018 */ sw $t8,0x18($sp) -/* f0f7250: 0fc38f44 */ jal menugfxDrawFilledRect -/* f0f7254: afab0010 */ sw $t3,0x10($sp) -/* f0f7258: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f725c: -/* f0f725c: 8fae01f0 */ lw $t6,0x1f0($sp) -/* f0f7260: 0010c880 */ sll $t9,$s0,0x2 -/* f0f7264: 0330c821 */ addu $t9,$t9,$s0 -/* f0f7268: 0019c840 */ sll $t9,$t9,0x1 -/* f0f726c: 01d92821 */ addu $a1,$t6,$t9 -/* f0f7270: 84a40660 */ lh $a0,0x660($a1) -/* f0f7274: 8faf0130 */ lw $t7,0x130($sp) -/* f0f7278: 8fb801ec */ lw $t8,0x1ec($sp) -/* f0f727c: 8fab01e4 */ lw $t3,0x1e4($sp) -/* f0f7280: 01e46021 */ addu $t4,$t7,$a0 -/* f0f7284: afac0130 */ sw $t4,0x130($sp) -/* f0f7288: afa40124 */ sw $a0,0x124($sp) -/* f0f728c: 93030005 */ lbu $v1,0x5($t8) -/* f0f7290: 256e0001 */ addiu $t6,$t3,0x1 -/* f0f7294: 8fb90088 */ lw $t9,0x88($sp) -/* f0f7298: 15c30009 */ bne $t6,$v1,.JF0f0f72c0 -/* f0f729c: 00806825 */ move $t5,$a0 -/* f0f72a0: 8faf01e0 */ lw $t7,0x1e0($sp) -/* f0f72a4: 032f1023 */ subu $v0,$t9,$t7 -/* f0f72a8: 2442fffe */ addiu $v0,$v0,-2 -/* f0f72ac: 0182082a */ slt $at,$t4,$v0 -/* f0f72b0: 10200003 */ beqz $at,.JF0f0f72c0 -/* f0f72b4: 01a2c021 */ addu $t8,$t5,$v0 -/* f0f72b8: 030c5823 */ subu $t3,$t8,$t4 -/* f0f72bc: afab0124 */ sw $t3,0x124($sp) -.JF0f0f72c0: -/* f0f72c0: 90ae0668 */ lbu $t6,0x668($a1) -/* f0f72c4: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f72c8: 19c00187 */ blez $t6,.JF0f0f78e8 -/* f0f72cc: 272f000f */ addiu $t7,$t9,0xf -/* f0f72d0: afaf0084 */ sw $t7,0x84($sp) -/* f0f72d4: afa50080 */ sw $a1,0x80($sp) -/* f0f72d8: 8fb80080 */ lw $t8,0x80($sp) -.JF0f0f72dc: -/* f0f72dc: afa00114 */ sw $zero,0x114($sp) -/* f0f72e0: 8fab01c0 */ lw $t3,0x1c0($sp) -/* f0f72e4: 970c0666 */ lhu $t4,0x666($t8) -/* f0f72e8: 8fae01f0 */ lw $t6,0x1f0($sp) -/* f0f72ec: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f72f0: 018b1821 */ addu $v1,$t4,$t3 -/* f0f72f4: 0003c880 */ sll $t9,$v1,0x2 -/* f0f72f8: 01d91021 */ addu $v0,$t6,$t9 -/* f0f72fc: 904f04fe */ lbu $t7,0x4fe($v0) -/* f0f7300: 8dac0000 */ lw $t4,0x0($t5) -/* f0f7304: 00002825 */ move $a1,$zero -/* f0f7308: 000fc080 */ sll $t8,$t7,0x2 -/* f0f730c: 8d8b0008 */ lw $t3,0x8($t4) -/* f0f7310: 030fc021 */ addu $t8,$t8,$t7 -/* f0f7314: 0018c080 */ sll $t8,$t8,0x2 -/* f0f7318: 030b3021 */ addu $a2,$t8,$t3 -/* f0f731c: afa60118 */ sw $a2,0x118($sp) -/* f0f7320: afa2007c */ sw $v0,0x7c($sp) -/* f0f7324: 8dae0008 */ lw $t6,0x8($t5) -/* f0f7328: 00002025 */ move $a0,$zero -/* f0f732c: 24190001 */ li $t9,0x1 -/* f0f7330: 54ce0008 */ bnel $a2,$t6,.JF0f0f7354 -/* f0f7334: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f7338: afb90114 */ sw $t9,0x114($sp) -/* f0f733c: 8daf000c */ lw $t7,0xc($t5) -/* f0f7340: 240c0003 */ li $t4,0x3 -/* f0f7344: 51e00003 */ beqzl $t7,.JF0f0f7354 -/* f0f7348: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f734c: afac0114 */ sw $t4,0x114($sp) -/* f0f7350: 8fb8007c */ lw $t8,0x7c($sp) -.JF0f0f7354: -/* f0f7354: 2401ffff */ li $at,-1 -/* f0f7358: 8fa3012c */ lw $v1,0x12c($sp) -/* f0f735c: 830204ff */ lb $v0,0x4ff($t8) -/* f0f7360: 8fab01f0 */ lw $t3,0x1f0($sp) -/* f0f7364: 8fb90194 */ lw $t9,0x194($sp) -/* f0f7368: 10410003 */ beq $v0,$at,.JF0f0f7378 -/* f0f736c: 00027080 */ sll $t6,$v0,0x2 -/* f0f7370: 016e2821 */ addu $a1,$t3,$t6 -/* f0f7374: 24a506dc */ addiu $a1,$a1,0x6dc -.JF0f0f7378: -/* f0f7378: 8fad0124 */ lw $t5,0x124($sp) -/* f0f737c: 8faf007c */ lw $t7,0x7c($sp) -/* f0f7380: a7b90198 */ sh $t9,0x198($sp) -/* f0f7384: a7a3019a */ sh $v1,0x19a($sp) -/* f0f7388: a7ad019c */ sh $t5,0x19c($sp) -/* f0f738c: 85ec04fc */ lh $t4,0x4fc($t7) -/* f0f7390: 8fae0084 */ lw $t6,0x84($sp) -/* f0f7394: 00031400 */ sll $v0,$v1,0x10 -/* f0f7398: 0002c403 */ sra $t8,$v0,0x10 -/* f0f739c: 030c5821 */ addu $t3,$t8,$t4 -/* f0f73a0: 016e082a */ slt $at,$t3,$t6 -/* f0f73a4: 03001025 */ move $v0,$t8 -/* f0f73a8: 10200002 */ beqz $at,.JF0f0f73b4 -/* f0f73ac: a7ac019e */ sh $t4,0x19e($sp) -/* f0f73b0: 24040001 */ li $a0,0x1 -.JF0f0f73b4: -/* f0f73b4: 8fb901d4 */ lw $t9,0x1d4($sp) -/* f0f73b8: 87ad019e */ lh $t5,0x19e($sp) -/* f0f73bc: 8faf0118 */ lw $t7,0x118($sp) -/* f0f73c0: 0322082a */ slt $at,$t9,$v0 -/* f0f73c4: 10200002 */ beqz $at,.JF0f0f73d0 -/* f0f73c8: 00000000 */ nop -/* f0f73cc: 24040001 */ li $a0,0x1 -.JF0f0f73d0: -/* f0f73d0: 15a00002 */ bnez $t5,.JF0f0f73dc -/* f0f73d4: 00000000 */ nop -/* f0f73d8: 24040001 */ li $a0,0x1 -.JF0f0f73dc: -/* f0f73dc: 54800133 */ bnezl $a0,.JF0f0f78ac -/* f0f73e0: 8fae007c */ lw $t6,0x7c($sp) -/* f0f73e4: 8fab0128 */ lw $t3,0x128($sp) -/* f0f73e8: 8fb80114 */ lw $t8,0x114($sp) -/* f0f73ec: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f73f0: afaf01a0 */ sw $t7,0x1a0($sp) -/* f0f73f4: afa501ac */ sw $a1,0x1ac($sp) -/* f0f73f8: afb801a4 */ sw $t8,0x1a4($sp) -/* f0f73fc: 1160000e */ beqz $t3,.JF0f0f7438 -/* f0f7400: afac01a8 */ sw $t4,0x1a8($sp) -/* f0f7404: 8fa30120 */ lw $v1,0x120($sp) -/* f0f7408: 87b00196 */ lh $s0,0x196($sp) -/* f0f740c: 87ae0126 */ lh $t6,0x126($sp) -/* f0f7410: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7414: 2446ffff */ addiu $a2,$v0,-1 -/* f0f7418: afa20010 */ sw $v0,0x10($sp) -/* f0f741c: afa00128 */ sw $zero,0x128($sp) -/* f0f7420: afa30014 */ sw $v1,0x14($sp) -/* f0f7424: afa30018 */ sw $v1,0x18($sp) -/* f0f7428: 02002825 */ move $a1,$s0 -/* f0f742c: 0fc38f44 */ jal menugfxDrawFilledRect -/* f0f7430: 020e3821 */ addu $a3,$s0,$t6 -/* f0f7434: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f7438: -/* f0f7438: 8fb90118 */ lw $t9,0x118($sp) -/* f0f743c: 8fb801f4 */ lw $t8,0x1f4($sp) -/* f0f7440: 8f2d0004 */ lw $t5,0x4($t9) -/* f0f7444: 31af4000 */ andi $t7,$t5,0x4000 -/* f0f7448: 51e00046 */ beqzl $t7,.JF0f0f7564 -/* f0f744c: 8fb90114 */ lw $t9,0x114($sp) -/* f0f7450: 17000043 */ bnez $t8,.JF0f0f7560 -/* f0f7454: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f7458: c5b00040 */ lwc1 $f16,0x40($t5) -/* f0f745c: 87b00198 */ lh $s0,0x198($sp) -/* f0f7460: 87ae019c */ lh $t6,0x19c($sp) -/* f0f7464: 4614803c */ c.lt.s $f16,$f20 -/* f0f7468: 87b1019a */ lh $s1,0x19a($sp) -/* f0f746c: 87b9019e */ lh $t9,0x19e($sp) -/* f0f7470: 01d09021 */ addu $s2,$t6,$s0 -/* f0f7474: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f7478: 45000009 */ bc1f .JF0f0f74a0 -/* f0f747c: 03319821 */ addu $s3,$t9,$s1 -/* f0f7480: 91af003c */ lbu $t7,0x3c($t5) -/* f0f7484: 3c047f1b */ lui $a0,0x7f1b -/* f0f7488: 000fc100 */ sll $t8,$t7,0x4 -/* f0f748c: 030fc023 */ subu $t8,$t8,$t7 -/* f0f7490: 0018c080 */ sll $t8,$t8,0x2 -/* f0f7494: 00982021 */ addu $a0,$a0,$t8 -/* f0f7498: 10000011 */ b .JF0f0f74e0 -/* f0f749c: 8c842d08 */ lw $a0,0x2d08($a0) -.JF0f0f74a0: -/* f0f74a0: 91cc003d */ lbu $t4,0x3d($t6) -/* f0f74a4: 2402003c */ li $v0,0x3c -/* f0f74a8: 91cd003c */ lbu $t5,0x3c($t6) -/* f0f74ac: 01820019 */ multu $t4,$v0 -/* f0f74b0: 3c037f1b */ lui $v1,0x7f1b -/* f0f74b4: 24632ce0 */ addiu $v1,$v1,0x2ce0 -/* f0f74b8: 8dc60044 */ lw $a2,0x44($t6) -/* f0f74bc: 0000c812 */ mflo $t9 -/* f0f74c0: 00795821 */ addu $t3,$v1,$t9 -/* f0f74c4: 8d640028 */ lw $a0,0x28($t3) -/* f0f74c8: 01a20019 */ multu $t5,$v0 -/* f0f74cc: 00007812 */ mflo $t7 -/* f0f74d0: 006fc021 */ addu $t8,$v1,$t7 -/* f0f74d4: 0fc01a60 */ jal colourBlend -/* f0f74d8: 8f050028 */ lw $a1,0x28($t8) -/* f0f74dc: 00402025 */ move $a0,$v0 -.JF0f0f74e0: -/* f0f74e0: 2401ff00 */ li $at,-256 -/* f0f74e4: 00812824 */ and $a1,$a0,$at -/* f0f74e8: 0fc01a60 */ jal colourBlend -/* f0f74ec: 2406007f */ li $a2,0x7f -/* f0f74f0: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f74f4: 0fc54bce */ jal textSetPrimColour -/* f0f74f8: 00402825 */ move $a1,$v0 -/* f0f74fc: 3c038008 */ lui $v1,0x8008 -/* f0f7500: 246300f4 */ addiu $v1,$v1,0xf4 -/* f0f7504: 8c6c0000 */ lw $t4,0x0($v1) -/* f0f7508: 3c01f600 */ lui $at,0xf600 -/* f0f750c: 327803ff */ andi $t8,$s3,0x3ff -/* f0f7510: 024c0019 */ multu $s2,$t4 -/* f0f7514: 00187080 */ sll $t6,$t8,0x2 -/* f0f7518: 24440008 */ addiu $a0,$v0,0x8 -/* f0f751c: 0000c812 */ mflo $t9 -/* f0f7520: 332b03ff */ andi $t3,$t9,0x3ff -/* f0f7524: 000b6b80 */ sll $t5,$t3,0xe -/* f0f7528: 01a17825 */ or $t7,$t5,$at -/* f0f752c: 01ee6025 */ or $t4,$t7,$t6 -/* f0f7530: ac4c0000 */ sw $t4,0x0($v0) -/* f0f7534: 8c790000 */ lw $t9,0x0($v1) -/* f0f7538: 322f03ff */ andi $t7,$s1,0x3ff -/* f0f753c: 000f7080 */ sll $t6,$t7,0x2 -/* f0f7540: 02190019 */ multu $s0,$t9 -/* f0f7544: 00005812 */ mflo $t3 -/* f0f7548: 316d03ff */ andi $t5,$t3,0x3ff -/* f0f754c: 000dc380 */ sll $t8,$t5,0xe -/* f0f7550: 030e6025 */ or $t4,$t8,$t6 -/* f0f7554: 0fc54be5 */ jal text0f153838 -/* f0f7558: ac4c0004 */ sw $t4,0x4($v0) -/* f0f755c: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f7560: -/* f0f7560: 8fb90114 */ lw $t9,0x114($sp) -.JF0f0f7564: -/* f0f7564: 8fab0118 */ lw $t3,0x118($sp) -/* f0f7568: 532000c0 */ beqzl $t9,.JF0f0f786c -/* f0f756c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7570: 91620000 */ lbu $v0,0x0($t3) -/* f0f7574: 24010003 */ li $at,0x3 -/* f0f7578: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f757c: 1041000b */ beq $v0,$at,.JF0f0f75ac -/* f0f7580: 24010004 */ li $at,0x4 -/* f0f7584: 10410009 */ beq $v0,$at,.JF0f0f75ac -/* f0f7588: 24010009 */ li $at,0x9 -/* f0f758c: 10410007 */ beq $v0,$at,.JF0f0f75ac -/* f0f7590: 2401000a */ li $at,0xa -/* f0f7594: 10410005 */ beq $v0,$at,.JF0f0f75ac -/* f0f7598: 24010008 */ li $at,0x8 -/* f0f759c: 10410003 */ beq $v0,$at,.JF0f0f75ac -/* f0f75a0: 2401000c */ li $at,0xc -/* f0f75a4: 54410015 */ bnel $v0,$at,.JF0f0f75fc -/* f0f75a8: 24010004 */ li $at,0x4 -.JF0f0f75ac: -/* f0f75ac: c5a00040 */ lwc1 $f0,0x40($t5) -/* f0f75b0: 4600a03e */ c.le.s $f20,$f0 -/* f0f75b4: 00000000 */ nop -/* f0f75b8: 45020005 */ bc1fl .JF0f0f75d0 -/* f0f75bc: 4614003c */ c.lt.s $f0,$f20 -/* f0f75c0: 91af003d */ lbu $t7,0x3d($t5) -/* f0f75c4: 51e0000d */ beqzl $t7,.JF0f0f75fc -/* f0f75c8: 24010004 */ li $at,0x4 -/* f0f75cc: 4614003c */ c.lt.s $f0,$f20 -.JF0f0f75d0: -/* f0f75d0: 8fb801ec */ lw $t8,0x1ec($sp) -/* f0f75d4: 45000004 */ bc1f .JF0f0f75e8 -/* f0f75d8: 00000000 */ nop -/* f0f75dc: 930e003c */ lbu $t6,0x3c($t8) -/* f0f75e0: 51c00006 */ beqzl $t6,.JF0f0f75fc -/* f0f75e4: 24010004 */ li $at,0x4 -.JF0f0f75e8: -/* f0f75e8: 0fc55880 */ jal text0f156024 -/* f0f75ec: 24040001 */ li $a0,0x1 -/* f0f75f0: 8fac0118 */ lw $t4,0x118($sp) -/* f0f75f4: 91820000 */ lbu $v0,0x0($t4) -/* f0f75f8: 24010004 */ li $at,0x4 -.JF0f0f75fc: -/* f0f75fc: 10410008 */ beq $v0,$at,.JF0f0f7620 -/* f0f7600: 87a3019c */ lh $v1,0x19c($sp) -/* f0f7604: 24010009 */ li $at,0x9 -/* f0f7608: 10410005 */ beq $v0,$at,.JF0f0f7620 -/* f0f760c: 2401000a */ li $at,0xa -/* f0f7610: 10410003 */ beq $v0,$at,.JF0f0f7620 -/* f0f7614: 2401000c */ li $at,0xc -/* f0f7618: 54410094 */ bnel $v0,$at,.JF0f0f786c -/* f0f761c: 8fa401e8 */ lw $a0,0x1e8($sp) -.JF0f0f7620: -/* f0f7620: 87ab019e */ lh $t3,0x19e($sp) -/* f0f7624: 8fb70120 */ lw $s7,0x120($sp) -/* f0f7628: 87a20198 */ lh $v0,0x198($sp) -/* f0f762c: 87b9019a */ lh $t9,0x19a($sp) -/* f0f7630: 05610003 */ bgez $t3,.JF0f0f7640 -/* f0f7634: 000b6843 */ sra $t5,$t3,0x1 -/* f0f7638: 25610001 */ addiu $at,$t3,0x1 -/* f0f763c: 00016843 */ sra $t5,$at,0x1 -.JF0f0f7640: -/* f0f7640: 24010003 */ li $at,0x3 -/* f0f7644: 0061001a */ div $zero,$v1,$at -/* f0f7648: 2401ff00 */ li $at,-256 -/* f0f764c: 02e1c024 */ and $t8,$s7,$at -/* f0f7650: 00007812 */ mflo $t7 -/* f0f7654: 370e002f */ ori $t6,$t8,0x2f -/* f0f7658: 032d8021 */ addu $s0,$t9,$t5 -/* f0f765c: 2610ffff */ addiu $s0,$s0,-1 -/* f0f7660: afae0078 */ sw $t6,0x78($sp) -/* f0f7664: 0300b825 */ move $s7,$t8 -/* f0f7668: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f766c: 0040a025 */ move $s4,$v0 -/* f0f7670: 24510008 */ addiu $s1,$v0,0x8 -/* f0f7674: 0fc38c93 */ jal menugfx0f0e2498 -/* f0f7678: 004ff021 */ addu $s8,$v0,$t7 -/* f0f767c: 8fa30120 */ lw $v1,0x120($sp) -/* f0f7680: 2615ffff */ addiu $s5,$s0,-1 -/* f0f7684: 2632fffd */ addiu $s2,$s1,-3 -/* f0f7688: 02403825 */ move $a3,$s2 -/* f0f768c: 02a03025 */ move $a2,$s5 -/* f0f7690: 00402025 */ move $a0,$v0 -/* f0f7694: 02802825 */ move $a1,$s4 -/* f0f7698: afb00010 */ sw $s0,0x10($sp) -/* f0f769c: afa0001c */ sw $zero,0x1c($sp) -/* f0f76a0: afa30014 */ sw $v1,0x14($sp) -/* f0f76a4: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f76a8: afa30018 */ sw $v1,0x18($sp) -/* f0f76ac: 8fac0120 */ lw $t4,0x120($sp) -/* f0f76b0: 240bffff */ li $t3,-1 -/* f0f76b4: afab0018 */ sw $t3,0x18($sp) -/* f0f76b8: 00402025 */ move $a0,$v0 -/* f0f76bc: 02402825 */ move $a1,$s2 -/* f0f76c0: 02a03025 */ move $a2,$s5 -/* f0f76c4: 02203825 */ move $a3,$s1 -/* f0f76c8: afb00010 */ sw $s0,0x10($sp) -/* f0f76cc: afa0001c */ sw $zero,0x1c($sp) -/* f0f76d0: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f76d4: afac0014 */ sw $t4,0x14($sp) -/* f0f76d8: 8fa30120 */ lw $v1,0x120($sp) -/* f0f76dc: 26130001 */ addiu $s3,$s0,0x1 -/* f0f76e0: 26160002 */ addiu $s6,$s0,0x2 -/* f0f76e4: afb60010 */ sw $s6,0x10($sp) -/* f0f76e8: 02603025 */ move $a2,$s3 -/* f0f76ec: 00402025 */ move $a0,$v0 -/* f0f76f0: 02802825 */ move $a1,$s4 -/* f0f76f4: 02403825 */ move $a3,$s2 -/* f0f76f8: afa0001c */ sw $zero,0x1c($sp) -/* f0f76fc: afa30014 */ sw $v1,0x14($sp) -/* f0f7700: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f7704: afa30018 */ sw $v1,0x18($sp) -/* f0f7708: 8fb90120 */ lw $t9,0x120($sp) -/* f0f770c: 240dffff */ li $t5,-1 -/* f0f7710: afad0018 */ sw $t5,0x18($sp) -/* f0f7714: 00402025 */ move $a0,$v0 -/* f0f7718: 02402825 */ move $a1,$s2 -/* f0f771c: 02603025 */ move $a2,$s3 -/* f0f7720: 02203825 */ move $a3,$s1 -/* f0f7724: afb60010 */ sw $s6,0x10($sp) -/* f0f7728: afa0001c */ sw $zero,0x1c($sp) -/* f0f772c: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f7730: afb90014 */ sw $t9,0x14($sp) -/* f0f7734: 8faf0078 */ lw $t7,0x78($sp) -/* f0f7738: 00402025 */ move $a0,$v0 -/* f0f773c: 2625fffe */ addiu $a1,$s1,-2 -/* f0f7740: 02003025 */ move $a2,$s0 -/* f0f7744: 03c03825 */ move $a3,$s8 -/* f0f7748: afb30010 */ sw $s3,0x10($sp) -/* f0f774c: afb70018 */ sw $s7,0x18($sp) -/* f0f7750: afa0001c */ sw $zero,0x1c($sp) -/* f0f7754: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f7758: afaf0014 */ sw $t7,0x14($sp) -/* f0f775c: 8fb80118 */ lw $t8,0x118($sp) -/* f0f7760: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7764: 87a20198 */ lh $v0,0x198($sp) -/* f0f7768: 8f0e0004 */ lw $t6,0x4($t8) -/* f0f776c: 87a3019c */ lh $v1,0x19c($sp) -/* f0f7770: 8fa80120 */ lw $t0,0x120($sp) -/* f0f7774: 31cc0020 */ andi $t4,$t6,0x20 -/* f0f7778: 1180003b */ beqz $t4,.JF0f0f7868 -/* f0f777c: 00433821 */ addu $a3,$v0,$v1 -/* f0f7780: 24010003 */ li $at,0x3 -/* f0f7784: 0061001a */ div $zero,$v1,$at -/* f0f7788: 00005812 */ mflo $t3 -/* f0f778c: 00e0a025 */ move $s4,$a3 -/* f0f7790: 24f1fff8 */ addiu $s1,$a3,-8 -/* f0f7794: 00ebf023 */ subu $s8,$a3,$t3 -/* f0f7798: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f779c: 24e5fffb */ addiu $a1,$a3,-5 -/* f0f77a0: 02a03025 */ move $a2,$s5 -/* f0f77a4: afb00010 */ sw $s0,0x10($sp) -/* f0f77a8: afa80014 */ sw $t0,0x14($sp) -/* f0f77ac: afa80018 */ sw $t0,0x18($sp) -/* f0f77b0: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f77b4: afa0001c */ sw $zero,0x1c($sp) -/* f0f77b8: 8fad0120 */ lw $t5,0x120($sp) -/* f0f77bc: 26320003 */ addiu $s2,$s1,0x3 -/* f0f77c0: 2419ffff */ li $t9,-1 -/* f0f77c4: afb90014 */ sw $t9,0x14($sp) -/* f0f77c8: 02403825 */ move $a3,$s2 -/* f0f77cc: 00402025 */ move $a0,$v0 -/* f0f77d0: 02202825 */ move $a1,$s1 -/* f0f77d4: 02a03025 */ move $a2,$s5 -/* f0f77d8: afb00010 */ sw $s0,0x10($sp) -/* f0f77dc: afa0001c */ sw $zero,0x1c($sp) -/* f0f77e0: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f77e4: afad0018 */ sw $t5,0x18($sp) -/* f0f77e8: 8faf0120 */ lw $t7,0x120($sp) -/* f0f77ec: 00402025 */ move $a0,$v0 -/* f0f77f0: 02402825 */ move $a1,$s2 -/* f0f77f4: 02603025 */ move $a2,$s3 -/* f0f77f8: 02803825 */ move $a3,$s4 -/* f0f77fc: afb60010 */ sw $s6,0x10($sp) -/* f0f7800: afa0001c */ sw $zero,0x1c($sp) -/* f0f7804: afaf0014 */ sw $t7,0x14($sp) -/* f0f7808: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f780c: afaf0018 */ sw $t7,0x18($sp) -/* f0f7810: 8fae0120 */ lw $t6,0x120($sp) -/* f0f7814: 2418ffff */ li $t8,-1 -/* f0f7818: afb80014 */ sw $t8,0x14($sp) -/* f0f781c: 00402025 */ move $a0,$v0 -/* f0f7820: 02202825 */ move $a1,$s1 -/* f0f7824: 02603025 */ move $a2,$s3 -/* f0f7828: 02403825 */ move $a3,$s2 -/* f0f782c: afb60010 */ sw $s6,0x10($sp) -/* f0f7830: afa0001c */ sw $zero,0x1c($sp) -/* f0f7834: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f7838: afae0018 */ sw $t6,0x18($sp) -/* f0f783c: 8fac0078 */ lw $t4,0x78($sp) -/* f0f7840: 00402025 */ move $a0,$v0 -/* f0f7844: 03c02825 */ move $a1,$s8 -/* f0f7848: 02003025 */ move $a2,$s0 -/* f0f784c: 26270002 */ addiu $a3,$s1,0x2 -/* f0f7850: afb30010 */ sw $s3,0x10($sp) -/* f0f7854: afb70014 */ sw $s7,0x14($sp) -/* f0f7858: afa0001c */ sw $zero,0x1c($sp) -/* f0f785c: 0fc38cd0 */ jal menugfxDrawTri2 -/* f0f7860: afac0018 */ sw $t4,0x18($sp) -/* f0f7864: afa201e8 */ sw $v0,0x1e8($sp) -.JF0f0f7868: -/* f0f7868: 8fa401e8 */ lw $a0,0x1e8($sp) -.JF0f0f786c: -/* f0f786c: 0fc3c4bd */ jal menuitemRender -/* f0f7870: 27a50198 */ addiu $a1,$sp,0x198 -/* f0f7874: 8fab0118 */ lw $t3,0x118($sp) -/* f0f7878: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f787c: 24010002 */ li $at,0x2 -/* f0f7880: 91790000 */ lbu $t9,0x0($t3) -/* f0f7884: 240d0001 */ li $t5,0x1 -/* f0f7888: 57210003 */ bnel $t9,$at,.JF0f0f7898 -/* f0f788c: 8faf0114 */ lw $t7,0x114($sp) -/* f0f7890: afad0128 */ sw $t5,0x128($sp) -/* f0f7894: 8faf0114 */ lw $t7,0x114($sp) -.JF0f0f7898: -/* f0f7898: 51e00004 */ beqzl $t7,.JF0f0f78ac -/* f0f789c: 8fae007c */ lw $t6,0x7c($sp) -/* f0f78a0: 0fc55880 */ jal text0f156024 -/* f0f78a4: 00002025 */ move $a0,$zero -/* f0f78a8: 8fae007c */ lw $t6,0x7c($sp) -.JF0f0f78ac: -/* f0f78ac: 8fb901c0 */ lw $t9,0x1c0($sp) -/* f0f78b0: 8fb8012c */ lw $t8,0x12c($sp) -/* f0f78b4: 85cc04fc */ lh $t4,0x4fc($t6) -/* f0f78b8: 8fa20080 */ lw $v0,0x80($sp) -/* f0f78bc: 272d0001 */ addiu $t5,$t9,0x1 -/* f0f78c0: 030c5821 */ addu $t3,$t8,$t4 -/* f0f78c4: afad01c0 */ sw $t5,0x1c0($sp) -/* f0f78c8: afab012c */ sw $t3,0x12c($sp) -/* f0f78cc: 904f0668 */ lbu $t7,0x668($v0) -/* f0f78d0: 01af082a */ slt $at,$t5,$t7 -/* f0f78d4: 5420fe81 */ bnezl $at,.JF0f0f72dc -/* f0f78d8: 8fb80080 */ lw $t8,0x80($sp) -/* f0f78dc: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f78e0: 84440660 */ lh $a0,0x660($v0) -/* f0f78e4: 91c30005 */ lbu $v1,0x5($t6) -.JF0f0f78e8: -/* f0f78e8: 8fab01e4 */ lw $t3,0x1e4($sp) -/* f0f78ec: 8fb80194 */ lw $t8,0x194($sp) -/* f0f78f0: 25790001 */ addiu $t9,$t3,0x1 -/* f0f78f4: 0323082a */ slt $at,$t9,$v1 -/* f0f78f8: 03046021 */ addu $t4,$t8,$a0 -/* f0f78fc: afb901e4 */ sw $t9,0x1e4($sp) -/* f0f7900: 1420fe1d */ bnez $at,.JF0f0f7178 -/* f0f7904: afac0194 */ sw $t4,0x194($sp) -/* f0f7908: 8fad01f4 */ lw $t5,0x1f4($sp) -.JF0f0f790c: -/* f0f790c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7910: 00002825 */ move $a1,$zero -/* f0f7914: 15a00061 */ bnez $t5,.JF0f0f7a9c -/* f0f7918: 8faf01e0 */ lw $t7,0x1e0($sp) -/* f0f791c: afaf0194 */ sw $t7,0x194($sp) -/* f0f7920: 0fc54bce */ jal textSetPrimColour -/* f0f7924: afa001e4 */ sw $zero,0x1e4($sp) -/* f0f7928: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f792c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7930: 91c30005 */ lbu $v1,0x5($t6) -/* f0f7934: 18600055 */ blez $v1,.JF0f0f7a8c -/* f0f7938: 00000000 */ nop -.JF0f0f793c: -/* f0f793c: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f7940: 8fad01e4 */ lw $t5,0x1e4($sp) -/* f0f7944: 8fb801dc */ lw $t8,0x1dc($sp) -/* f0f7948: 91990004 */ lbu $t9,0x4($t4) -/* f0f794c: 8d8b0064 */ lw $t3,0x64($t4) -/* f0f7950: 8faf01f0 */ lw $t7,0x1f0($sp) -/* f0f7954: 032d8021 */ addu $s0,$t9,$t5 -/* f0f7958: 00107080 */ sll $t6,$s0,0x2 -/* f0f795c: 01d07021 */ addu $t6,$t6,$s0 -/* f0f7960: 000e7040 */ sll $t6,$t6,0x1 -/* f0f7964: 030b8821 */ addu $s1,$t8,$t3 -/* f0f7968: 01eec021 */ addu $t8,$t7,$t6 -/* f0f796c: afb80080 */ sw $t8,0x80($sp) -/* f0f7970: afa001c0 */ sw $zero,0x1c0($sp) -/* f0f7974: 930b0668 */ lbu $t3,0x668($t8) -/* f0f7978: 2631000f */ addiu $s1,$s1,0xf -/* f0f797c: 87b00196 */ lh $s0,0x196($sp) -/* f0f7980: 59600039 */ blezl $t3,.JF0f0f7a68 -/* f0f7984: 8fb80080 */ lw $t8,0x80($sp) -/* f0f7988: 8fac0080 */ lw $t4,0x80($sp) -.JF0f0f798c: -/* f0f798c: 8fad01c0 */ lw $t5,0x1c0($sp) -/* f0f7990: 8faf01f0 */ lw $t7,0x1f0($sp) -/* f0f7994: 95990666 */ lhu $t9,0x666($t4) -/* f0f7998: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f799c: 2401ffff */ li $at,-1 -/* f0f79a0: 032d1821 */ addu $v1,$t9,$t5 -/* f0f79a4: 00037080 */ sll $t6,$v1,0x2 -/* f0f79a8: 01ee2021 */ addu $a0,$t7,$t6 -/* f0f79ac: 909804fe */ lbu $t8,0x4fe($a0) -/* f0f79b0: 8d990000 */ lw $t9,0x0($t4) -/* f0f79b4: 808204ff */ lb $v0,0x4ff($a0) -/* f0f79b8: 00185880 */ sll $t3,$t8,0x2 -/* f0f79bc: 8f2d0008 */ lw $t5,0x8($t9) -/* f0f79c0: 01785821 */ addu $t3,$t3,$t8 -/* f0f79c4: 000b5880 */ sll $t3,$t3,0x2 -/* f0f79c8: 00004025 */ move $t0,$zero -/* f0f79cc: afa4007c */ sw $a0,0x7c($sp) -/* f0f79d0: 10410005 */ beq $v0,$at,.JF0f0f79e8 -/* f0f79d4: 016d4821 */ addu $t1,$t3,$t5 -/* f0f79d8: 00027080 */ sll $t6,$v0,0x2 -/* f0f79dc: 01ee4021 */ addu $t0,$t7,$t6 -/* f0f79e0: 250806dc */ addiu $t0,$t0,0x6dc -/* f0f79e4: afa4007c */ sw $a0,0x7c($sp) -.JF0f0f79e8: -/* f0f79e8: 8fb90080 */ lw $t9,0x80($sp) -/* f0f79ec: 8fab007c */ lw $t3,0x7c($sp) -/* f0f79f0: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f79f4: 87270660 */ lh $a3,0x660($t9) -/* f0f79f8: 856d04fc */ lh $t5,0x4fc($t3) -/* f0f79fc: 00102c00 */ sll $a1,$s0,0x10 -/* f0f7a00: 00113400 */ sll $a2,$s1,0x10 -/* f0f7a04: 00066403 */ sra $t4,$a2,0x10 -/* f0f7a08: 0005c403 */ sra $t8,$a1,0x10 -/* f0f7a0c: 03002825 */ move $a1,$t8 -/* f0f7a10: 01803025 */ move $a2,$t4 -/* f0f7a14: afa8001c */ sw $t0,0x1c($sp) -/* f0f7a18: afa90014 */ sw $t1,0x14($sp) -/* f0f7a1c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7a20: afaf0018 */ sw $t7,0x18($sp) -/* f0f7a24: 0fc3c59c */ jal menuitemOverlay -/* f0f7a28: afad0010 */ sw $t5,0x10($sp) -/* f0f7a2c: 8fac01c0 */ lw $t4,0x1c0($sp) -/* f0f7a30: 8fae007c */ lw $t6,0x7c($sp) -/* f0f7a34: 8fab0080 */ lw $t3,0x80($sp) -/* f0f7a38: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7a3c: 85d804fc */ lh $t8,0x4fc($t6) -/* f0f7a40: 25990001 */ addiu $t9,$t4,0x1 -/* f0f7a44: afb901c0 */ sw $t9,0x1c0($sp) -/* f0f7a48: 916d0668 */ lbu $t5,0x668($t3) -/* f0f7a4c: 02388821 */ addu $s1,$s1,$t8 -/* f0f7a50: 032d082a */ slt $at,$t9,$t5 -/* f0f7a54: 5420ffcd */ bnezl $at,.JF0f0f798c -/* f0f7a58: 8fac0080 */ lw $t4,0x80($sp) -/* f0f7a5c: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f7a60: 91e30005 */ lbu $v1,0x5($t7) -/* f0f7a64: 8fb80080 */ lw $t8,0x80($sp) -.JF0f0f7a68: -/* f0f7a68: 8fb901e4 */ lw $t9,0x1e4($sp) -/* f0f7a6c: 8fae0194 */ lw $t6,0x194($sp) -/* f0f7a70: 870c0660 */ lh $t4,0x660($t8) -/* f0f7a74: 272d0001 */ addiu $t5,$t9,0x1 -/* f0f7a78: 01a3082a */ slt $at,$t5,$v1 -/* f0f7a7c: 01cc5821 */ addu $t3,$t6,$t4 -/* f0f7a80: afad01e4 */ sw $t5,0x1e4($sp) -/* f0f7a84: 1420ffad */ bnez $at,.JF0f0f793c -/* f0f7a88: afab0194 */ sw $t3,0x194($sp) -.JF0f0f7a8c: -/* f0f7a8c: 0fc54be5 */ jal text0f153838 -/* f0f7a90: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7a94: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7a98: 00402025 */ move $a0,$v0 -.JF0f0f7a9c: -/* f0f7a9c: 00809825 */ move $s3,$a0 -/* f0f7aa0: 24840008 */ addiu $a0,$a0,0x8 -/* f0f7aa4: 0c002f29 */ jal viGetViewLeft -/* f0f7aa8: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f7aac: 00028400 */ sll $s0,$v0,0x10 -/* f0f7ab0: 00107c03 */ sra $t7,$s0,0x10 -/* f0f7ab4: 0c002f2d */ jal viGetViewTop -/* f0f7ab8: 01e08025 */ move $s0,$t7 -/* f0f7abc: 44829000 */ mtc1 $v0,$f18 -/* f0f7ac0: 44905000 */ mtc1 $s0,$f10 -/* f0f7ac4: 3c014080 */ lui $at,0x4080 -/* f0f7ac8: 46809120 */ cvt.s.w $f4,$f18 -/* f0f7acc: 44810000 */ mtc1 $at,$f0 -/* f0f7ad0: 3c01ed00 */ lui $at,0xed00 -/* f0f7ad4: 46805420 */ cvt.s.w $f16,$f10 -/* f0f7ad8: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f7adc: 00000000 */ nop -/* f0f7ae0: 46008482 */ mul.s $f18,$f16,$f0 -/* f0f7ae4: 4600320d */ trunc.w.s $f8,$f6 -/* f0f7ae8: 4600910d */ trunc.w.s $f4,$f18 -/* f0f7aec: 440e4000 */ mfc1 $t6,$f8 -/* f0f7af0: 440d2000 */ mfc1 $t5,$f4 -/* f0f7af4: 31cc0fff */ andi $t4,$t6,0xfff -/* f0f7af8: 01815825 */ or $t3,$t4,$at -/* f0f7afc: 31af0fff */ andi $t7,$t5,0xfff -/* f0f7b00: 000fc300 */ sll $t8,$t7,0xc -/* f0f7b04: 01787025 */ or $t6,$t3,$t8 -/* f0f7b08: 0c002f0b */ jal viGetViewWidth -/* f0f7b0c: ae6e0000 */ sw $t6,0x0($s3) -/* f0f7b10: 00028c00 */ sll $s1,$v0,0x10 -/* f0f7b14: 00116403 */ sra $t4,$s1,0x10 -/* f0f7b18: 0c002f29 */ jal viGetViewLeft -/* f0f7b1c: 01808825 */ move $s1,$t4 -/* f0f7b20: 00029400 */ sll $s2,$v0,0x10 -/* f0f7b24: 0012cc03 */ sra $t9,$s2,0x10 -/* f0f7b28: 0c002f2d */ jal viGetViewTop -/* f0f7b2c: 03209025 */ move $s2,$t9 -/* f0f7b30: 00028400 */ sll $s0,$v0,0x10 -/* f0f7b34: 00106c03 */ sra $t5,$s0,0x10 -/* f0f7b38: 0c002f0f */ jal viGetViewHeight -/* f0f7b3c: 01a08025 */ move $s0,$t5 -/* f0f7b40: 00507821 */ addu $t7,$v0,$s0 -/* f0f7b44: 448f3000 */ mtc1 $t7,$f6 -/* f0f7b48: 02516021 */ addu $t4,$s2,$s1 -/* f0f7b4c: 448c9000 */ mtc1 $t4,$f18 -/* f0f7b50: 46803220 */ cvt.s.w $f8,$f6 -/* f0f7b54: 3c014080 */ lui $at,0x4080 -/* f0f7b58: 44810000 */ mtc1 $at,$f0 -/* f0f7b5c: 46809120 */ cvt.s.w $f4,$f18 -/* f0f7b60: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f7b64: 00000000 */ nop -/* f0f7b68: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f7b6c: 4600540d */ trunc.w.s $f16,$f10 -/* f0f7b70: 4600320d */ trunc.w.s $f8,$f6 -/* f0f7b74: 44188000 */ mfc1 $t8,$f16 -/* f0f7b78: 440d4000 */ mfc1 $t5,$f8 -/* f0f7b7c: 330e0fff */ andi $t6,$t8,0xfff -/* f0f7b80: 31af0fff */ andi $t7,$t5,0xfff -/* f0f7b84: 000f5b00 */ sll $t3,$t7,0xc -/* f0f7b88: 01cbc025 */ or $t8,$t6,$t3 -/* f0f7b8c: 1000003e */ b .JF0f0f7c88 -/* f0f7b90: ae780004 */ sw $t8,0x4($s3) -/* f0f7b94: 24840008 */ addiu $a0,$a0,0x8 -.JF0f0f7b98: -/* f0f7b98: 0c002f29 */ jal viGetViewLeft -/* f0f7b9c: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f7ba0: 00028400 */ sll $s0,$v0,0x10 -/* f0f7ba4: 00106403 */ sra $t4,$s0,0x10 -/* f0f7ba8: 0c002f2d */ jal viGetViewTop -/* f0f7bac: 01808025 */ move $s0,$t4 -/* f0f7bb0: 44825000 */ mtc1 $v0,$f10 -/* f0f7bb4: 44903000 */ mtc1 $s0,$f6 -/* f0f7bb8: 3c014080 */ lui $at,0x4080 -/* f0f7bbc: 46805420 */ cvt.s.w $f16,$f10 -/* f0f7bc0: 44810000 */ mtc1 $at,$f0 -/* f0f7bc4: 3c01ed00 */ lui $at,0xed00 -/* f0f7bc8: 46803220 */ cvt.s.w $f8,$f6 -/* f0f7bcc: 46008482 */ mul.s $f18,$f16,$f0 -/* f0f7bd0: 00000000 */ nop -/* f0f7bd4: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f7bd8: 4600910d */ trunc.w.s $f4,$f18 -/* f0f7bdc: 4600540d */ trunc.w.s $f16,$f10 -/* f0f7be0: 440d2000 */ mfc1 $t5,$f4 -/* f0f7be4: 44188000 */ mfc1 $t8,$f16 -/* f0f7be8: 31af0fff */ andi $t7,$t5,0xfff -/* f0f7bec: 01e17025 */ or $t6,$t7,$at -/* f0f7bf0: 330c0fff */ andi $t4,$t8,0xfff -/* f0f7bf4: 000ccb00 */ sll $t9,$t4,0xc -/* f0f7bf8: 01d96825 */ or $t5,$t6,$t9 -/* f0f7bfc: 0c002f0b */ jal viGetViewWidth -/* f0f7c00: ae6d0000 */ sw $t5,0x0($s3) -/* f0f7c04: 00028c00 */ sll $s1,$v0,0x10 -/* f0f7c08: 00117c03 */ sra $t7,$s1,0x10 -/* f0f7c0c: 0c002f29 */ jal viGetViewLeft -/* f0f7c10: 01e08825 */ move $s1,$t7 -/* f0f7c14: 00029400 */ sll $s2,$v0,0x10 -/* f0f7c18: 00125c03 */ sra $t3,$s2,0x10 -/* f0f7c1c: 0c002f2d */ jal viGetViewTop -/* f0f7c20: 01609025 */ move $s2,$t3 -/* f0f7c24: 00028400 */ sll $s0,$v0,0x10 -/* f0f7c28: 0010c403 */ sra $t8,$s0,0x10 -/* f0f7c2c: 0c002f0f */ jal viGetViewHeight -/* f0f7c30: 03008025 */ move $s0,$t8 -/* f0f7c34: 00506021 */ addu $t4,$v0,$s0 -/* f0f7c38: 448c9000 */ mtc1 $t4,$f18 -/* f0f7c3c: 02517821 */ addu $t7,$s2,$s1 -/* f0f7c40: 448f8000 */ mtc1 $t7,$f16 -/* f0f7c44: 46809120 */ cvt.s.w $f4,$f18 -/* f0f7c48: 3c014080 */ lui $at,0x4080 -/* f0f7c4c: 44813000 */ mtc1 $at,$f6 -/* f0f7c50: 468084a0 */ cvt.s.w $f18,$f16 -/* f0f7c54: 46062202 */ mul.s $f8,$f4,$f6 -/* f0f7c58: 44812000 */ mtc1 $at,$f4 -/* f0f7c5c: 00000000 */ nop -/* f0f7c60: 46049182 */ mul.s $f6,$f18,$f4 -/* f0f7c64: 4600428d */ trunc.w.s $f10,$f8 -/* f0f7c68: 4600320d */ trunc.w.s $f8,$f6 -/* f0f7c6c: 44195000 */ mfc1 $t9,$f10 -/* f0f7c70: 44184000 */ mfc1 $t8,$f8 -/* f0f7c74: 332d0fff */ andi $t5,$t9,0xfff -/* f0f7c78: 330c0fff */ andi $t4,$t8,0xfff -/* f0f7c7c: 000c7300 */ sll $t6,$t4,0xc -/* f0f7c80: 01aec825 */ or $t9,$t5,$t6 -/* f0f7c84: ae790004 */ sw $t9,0x4($s3) -.JF0f0f7c88: -/* f0f7c88: 3c0f8007 */ lui $t7,0x8007 -/* f0f7c8c: 8def1998 */ lw $t7,0x1998($t7) -/* f0f7c90: 3c18800a */ lui $t8,0x800a -/* f0f7c94: 2718e700 */ addiu $t8,$t8,-6400 -/* f0f7c98: 000f58c0 */ sll $t3,$t7,0x3 -/* f0f7c9c: 016f5823 */ subu $t3,$t3,$t7 -/* f0f7ca0: 000b5880 */ sll $t3,$t3,0x2 -/* f0f7ca4: 016f5821 */ addu $t3,$t3,$t7 -/* f0f7ca8: 000b58c0 */ sll $t3,$t3,0x3 -/* f0f7cac: 016f5823 */ subu $t3,$t3,$t7 -/* f0f7cb0: 000b5900 */ sll $t3,$t3,0x4 -/* f0f7cb4: 01781821 */ addu $v1,$t3,$t8 -/* f0f7cb8: 846c04f4 */ lh $t4,0x4f4($v1) -/* f0f7cbc: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f7cc0: 000c6880 */ sll $t5,$t4,0x2 -/* f0f7cc4: 91d9003c */ lbu $t9,0x3c($t6) -/* f0f7cc8: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f7ccc: 000d68c0 */ sll $t5,$t5,0x3 -/* f0f7cd0: 006d8821 */ addu $s1,$v1,$t5 -/* f0f7cd4: 17200006 */ bnez $t9,.JF0f0f7cf0 -/* f0f7cd8: 2631044c */ addiu $s1,$s1,0x44c -/* f0f7cdc: c5ca0040 */ lwc1 $f10,0x40($t6) -/* f0f7ce0: 460aa03e */ c.le.s $f20,$f10 -/* f0f7ce4: 00000000 */ nop -/* f0f7ce8: 4502010b */ bc1fl .JF0f0f8118 -/* f0f7cec: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f7cf0: -/* f0f7cf0: 822b0015 */ lb $t3,0x15($s1) -/* f0f7cf4: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f7cf8: 000bc080 */ sll $t8,$t3,0x2 -/* f0f7cfc: 02386021 */ addu $t4,$s1,$t8 -/* f0f7d00: 8d8d0000 */ lw $t5,0x0($t4) -/* f0f7d04: 55ed0104 */ bnel $t7,$t5,.JF0f0f8118 -/* f0f7d08: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f7d0c: 82390014 */ lb $t9,0x14($s1) -/* f0f7d10: 2b210002 */ slti $at,$t9,0x2 -/* f0f7d14: 142000ff */ bnez $at,.JF0f0f8114 -/* f0f7d18: 3c014120 */ lui $at,0x4120 -/* f0f7d1c: 44816000 */ mtc1 $at,$f12 -/* f0f7d20: 0fc01ae2 */ jal func0f006b08 -/* f0f7d24: 00000000 */ nop -/* f0f7d28: 3c01437f */ lui $at,0x437f -/* f0f7d2c: 44818000 */ mtc1 $at,$f16 -/* f0f7d30: 24100001 */ li $s0,0x1 -/* f0f7d34: 3c014f00 */ lui $at,0x4f00 -/* f0f7d38: 46100482 */ mul.s $f18,$f0,$f16 -/* f0f7d3c: 8fab01ec */ lw $t3,0x1ec($sp) -/* f0f7d40: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f7d44: 444ef800 */ cfc1 $t6,$31 -/* f0f7d48: 44d0f800 */ ctc1 $s0,$31 -/* f0f7d4c: 00000000 */ nop -/* f0f7d50: 46009124 */ cvt.w.s $f4,$f18 -/* f0f7d54: 4450f800 */ cfc1 $s0,$31 -/* f0f7d58: 00000000 */ nop -/* f0f7d5c: 32100078 */ andi $s0,$s0,0x78 -/* f0f7d60: 52000013 */ beqzl $s0,.JF0f0f7db0 -/* f0f7d64: 44102000 */ mfc1 $s0,$f4 -/* f0f7d68: 44812000 */ mtc1 $at,$f4 -/* f0f7d6c: 24100001 */ li $s0,0x1 -/* f0f7d70: 46049101 */ sub.s $f4,$f18,$f4 -/* f0f7d74: 44d0f800 */ ctc1 $s0,$31 -/* f0f7d78: 00000000 */ nop -/* f0f7d7c: 46002124 */ cvt.w.s $f4,$f4 -/* f0f7d80: 4450f800 */ cfc1 $s0,$31 -/* f0f7d84: 00000000 */ nop -/* f0f7d88: 32100078 */ andi $s0,$s0,0x78 -/* f0f7d8c: 16000005 */ bnez $s0,.JF0f0f7da4 -/* f0f7d90: 00000000 */ nop -/* f0f7d94: 44102000 */ mfc1 $s0,$f4 -/* f0f7d98: 3c018000 */ lui $at,0x8000 -/* f0f7d9c: 10000007 */ b .JF0f0f7dbc -/* f0f7da0: 02018025 */ or $s0,$s0,$at -.JF0f0f7da4: -/* f0f7da4: 10000005 */ b .JF0f0f7dbc -/* f0f7da8: 2410ffff */ li $s0,-1 -/* f0f7dac: 44102000 */ mfc1 $s0,$f4 -.JF0f0f7db0: -/* f0f7db0: 00000000 */ nop -/* f0f7db4: 0600fffb */ bltz $s0,.JF0f0f7da4 -/* f0f7db8: 00000000 */ nop -.JF0f0f7dbc: -/* f0f7dbc: 44cef800 */ ctc1 $t6,$31 -/* f0f7dc0: c5660040 */ lwc1 $f6,0x40($t3) -/* f0f7dc4: 4614303c */ c.lt.s $f6,$f20 -/* f0f7dc8: 00000000 */ nop -/* f0f7dcc: 4502000a */ bc1fl .JF0f0f7df8 -/* f0f7dd0: 91ed003d */ lbu $t5,0x3d($t7) -/* f0f7dd4: 9178003c */ lbu $t8,0x3c($t3) -/* f0f7dd8: 3c057f1b */ lui $a1,0x7f1b -/* f0f7ddc: 00186100 */ sll $t4,$t8,0x4 -/* f0f7de0: 01986023 */ subu $t4,$t4,$t8 -/* f0f7de4: 000c6080 */ sll $t4,$t4,0x2 -/* f0f7de8: 00ac2821 */ addu $a1,$a1,$t4 -/* f0f7dec: 10000011 */ b .JF0f0f7e34 -/* f0f7df0: 8ca52ce0 */ lw $a1,0x2ce0($a1) -/* f0f7df4: 91ed003d */ lbu $t5,0x3d($t7) -.JF0f0f7df8: -/* f0f7df8: 2402003c */ li $v0,0x3c -/* f0f7dfc: 91eb003c */ lbu $t3,0x3c($t7) -/* f0f7e00: 01a20019 */ multu $t5,$v0 -/* f0f7e04: 3c037f1b */ lui $v1,0x7f1b -/* f0f7e08: 24632ce0 */ addiu $v1,$v1,0x2ce0 -/* f0f7e0c: 8de60044 */ lw $a2,0x44($t7) -/* f0f7e10: 0000c812 */ mflo $t9 -/* f0f7e14: 00797021 */ addu $t6,$v1,$t9 -/* f0f7e18: 8dc40000 */ lw $a0,0x0($t6) -/* f0f7e1c: 01620019 */ multu $t3,$v0 -/* f0f7e20: 0000c012 */ mflo $t8 -/* f0f7e24: 00786021 */ addu $t4,$v1,$t8 -/* f0f7e28: 0fc01a60 */ jal colourBlend -/* f0f7e2c: 8d850000 */ lw $a1,0x0($t4) -/* f0f7e30: 00402825 */ move $a1,$v0 -.JF0f0f7e34: -/* f0f7e34: 2404ffff */ li $a0,-1 -/* f0f7e38: 0fc01a60 */ jal colourBlend -/* f0f7e3c: 02003025 */ move $a2,$s0 -/* f0f7e40: 3c0141a0 */ lui $at,0x41a0 -/* f0f7e44: 4481a000 */ mtc1 $at,$f20 -/* f0f7e48: 00408025 */ move $s0,$v0 -/* f0f7e4c: 0fc01ae2 */ jal func0f006b08 -/* f0f7e50: 4600a306 */ mov.s $f12,$f20 -/* f0f7e54: 8fad01dc */ lw $t5,0x1dc($sp) -/* f0f7e58: 8fb901d4 */ lw $t9,0x1d4($sp) -/* f0f7e5c: 8fa501e0 */ lw $a1,0x1e0($sp) -/* f0f7e60: 240e0001 */ li $t6,0x1 -/* f0f7e64: 01b9a821 */ addu $s5,$t5,$t9 -/* f0f7e68: afae0010 */ sw $t6,0x10($sp) -/* f0f7e6c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7e70: 24070009 */ li $a3,0x9 -/* f0f7e74: afb00014 */ sw $s0,0x14($sp) -/* f0f7e78: afb00018 */ sw $s0,0x18($sp) -/* f0f7e7c: e7a0001c */ swc1 $f0,0x1c($sp) -/* f0f7e80: 24a5fffb */ addiu $a1,$a1,-5 -/* f0f7e84: 06a10003 */ bgez $s5,.JF0f0f7e94 -/* f0f7e88: 0015a043 */ sra $s4,$s5,0x1 -/* f0f7e8c: 26a10001 */ addiu $at,$s5,0x1 -/* f0f7e90: 0001a043 */ sra $s4,$at,0x1 -.JF0f0f7e94: -/* f0f7e94: 0fc39036 */ jal menugfxDrawDialogChevron -/* f0f7e98: 02803025 */ move $a2,$s4 -/* f0f7e9c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7ea0: 0fc01ae2 */ jal func0f006b08 -/* f0f7ea4: 4600a306 */ mov.s $f12,$f20 -/* f0f7ea8: 8fa50088 */ lw $a1,0x88($sp) -/* f0f7eac: 240b0003 */ li $t3,0x3 -/* f0f7eb0: afab0010 */ sw $t3,0x10($sp) -/* f0f7eb4: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7eb8: 02803025 */ move $a2,$s4 -/* f0f7ebc: 24070009 */ li $a3,0x9 -/* f0f7ec0: afb00014 */ sw $s0,0x14($sp) -/* f0f7ec4: afb00018 */ sw $s0,0x18($sp) -/* f0f7ec8: e7a0001c */ swc1 $f0,0x1c($sp) -/* f0f7ecc: 0fc39036 */ jal menugfxDrawDialogChevron -/* f0f7ed0: 24a50005 */ addiu $a1,$a1,0x5 -/* f0f7ed4: 3c03800a */ lui $v1,0x800a -/* f0f7ed8: 8c6320c4 */ lw $v1,0x20c4($v1) -/* f0f7edc: 24010002 */ li $at,0x2 -/* f0f7ee0: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7ee4: 10610007 */ beq $v1,$at,.JF0f0f7f04 -/* f0f7ee8: 2401000a */ li $at,0xa -/* f0f7eec: 10610005 */ beq $v1,$at,.JF0f0f7f04 -/* f0f7ef0: 2401000d */ li $at,0xd -/* f0f7ef4: 10610003 */ beq $v1,$at,.JF0f0f7f04 -/* f0f7ef8: 24010006 */ li $at,0x6 -/* f0f7efc: 54610086 */ bnel $v1,$at,.JF0f0f8118 -/* f0f7f00: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f7f04: -/* f0f7f04: 0fc54d6e */ jal textResetBlends -/* f0f7f08: 00000000 */ nop -/* f0f7f0c: 0fc54a1a */ jal textSetRotation90 -/* f0f7f10: 24040001 */ li $a0,0x1 -/* f0f7f14: 0fc54b55 */ jal text0f153628 -/* f0f7f18: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7f1c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7f20: 82230015 */ lb $v1,0x15($s1) -/* f0f7f24: 2463ffff */ addiu $v1,$v1,-1 -/* f0f7f28: 04630004 */ bgezl $v1,.JF0f0f7f3c -/* f0f7f2c: 0003c080 */ sll $t8,$v1,0x2 -/* f0f7f30: 82230014 */ lb $v1,0x14($s1) -/* f0f7f34: 2463ffff */ addiu $v1,$v1,-1 -/* f0f7f38: 0003c080 */ sll $t8,$v1,0x2 -.JF0f0f7f3c: -/* f0f7f3c: 02386021 */ addu $t4,$s1,$t8 -/* f0f7f40: 8d8f0000 */ lw $t7,0x0($t4) -/* f0f7f44: 0fc3c883 */ jal menuResolveDialogTitle -/* f0f7f48: 8de40000 */ lw $a0,0x0($t7) -/* f0f7f4c: 3c138008 */ lui $s3,0x8008 -/* f0f7f50: 26730140 */ addiu $s3,$s3,0x140 -/* f0f7f54: 8e6d0000 */ lw $t5,0x0($s3) -/* f0f7f58: 3c128008 */ lui $s2,0x8008 -/* f0f7f5c: 26520144 */ addiu $s2,$s2,0x144 -/* f0f7f60: 27b600b0 */ addiu $s6,$sp,0xb0 -/* f0f7f64: 27b700ac */ addiu $s7,$sp,0xac -/* f0f7f68: 00408025 */ move $s0,$v0 -/* f0f7f6c: 02e02825 */ move $a1,$s7 -/* f0f7f70: 02c02025 */ move $a0,$s6 -/* f0f7f74: 8e470000 */ lw $a3,0x0($s2) -/* f0f7f78: 00403025 */ move $a2,$v0 -/* f0f7f7c: afa00014 */ sw $zero,0x14($sp) -/* f0f7f80: 0fc55d49 */ jal textMeasure -/* f0f7f84: afad0010 */ sw $t5,0x10($sp) -/* f0f7f88: 8fa200ac */ lw $v0,0xac($sp) -/* f0f7f8c: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f7f90: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f7f94: 02822823 */ subu $a1,$s4,$v0 -/* f0f7f98: 24a5fffd */ addiu $a1,$a1,-3 -/* f0f7f9c: 2463ffff */ addiu $v1,$v1,-1 -/* f0f7fa0: 00b9082a */ slt $at,$a1,$t9 -/* f0f7fa4: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f7fa8: 10200009 */ beqz $at,.JF0f0f7fd0 -/* f0f7fac: afa501cc */ sw $a1,0x1cc($sp) -/* f0f7fb0: 02a22823 */ subu $a1,$s5,$v0 -/* f0f7fb4: 04a10003 */ bgez $a1,.JF0f0f7fc4 -/* f0f7fb8: 00057043 */ sra $t6,$a1,0x1 -/* f0f7fbc: 24a10001 */ addiu $at,$a1,0x1 -/* f0f7fc0: 00017043 */ sra $t6,$at,0x1 -.JF0f0f7fc4: -/* f0f7fc4: 2463fffd */ addiu $v1,$v1,-3 -/* f0f7fc8: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f7fcc: afae01cc */ sw $t6,0x1cc($sp) -.JF0f0f7fd0: -/* f0f7fd0: 0c002eef */ jal viGetHeight -/* f0f7fd4: 00000000 */ nop -/* f0f7fd8: 8e4b0000 */ lw $t3,0x0($s2) -/* f0f7fdc: 8e780000 */ lw $t8,0x0($s3) -/* f0f7fe0: 87af01ca */ lh $t7,0x1ca($sp) -/* f0f7fe4: 240cffff */ li $t4,-1 -/* f0f7fe8: afac0018 */ sw $t4,0x18($sp) -/* f0f7fec: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7ff0: 27a501cc */ addiu $a1,$sp,0x1cc -/* f0f7ff4: 27a601d0 */ addiu $a2,$sp,0x1d0 -/* f0f7ff8: 02003825 */ move $a3,$s0 -/* f0f7ffc: afa20020 */ sw $v0,0x20($sp) -/* f0f8000: afa00024 */ sw $zero,0x24($sp) -/* f0f8004: afa00028 */ sw $zero,0x28($sp) -/* f0f8008: afab0010 */ sw $t3,0x10($sp) -/* f0f800c: afb80014 */ sw $t8,0x14($sp) -/* f0f8010: 0fc55886 */ jal textRenderProjected -/* f0f8014: afaf001c */ sw $t7,0x1c($sp) -/* f0f8018: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f801c: 82230015 */ lb $v1,0x15($s1) -/* f0f8020: 822d0014 */ lb $t5,0x14($s1) -/* f0f8024: 24630001 */ addiu $v1,$v1,0x1 -/* f0f8028: 006d082a */ slt $at,$v1,$t5 -/* f0f802c: 54200003 */ bnezl $at,.JF0f0f803c -/* f0f8030: 0003c880 */ sll $t9,$v1,0x2 -/* f0f8034: 00001825 */ move $v1,$zero -/* f0f8038: 0003c880 */ sll $t9,$v1,0x2 -.JF0f0f803c: -/* f0f803c: 02397021 */ addu $t6,$s1,$t9 -/* f0f8040: 8dcb0000 */ lw $t3,0x0($t6) -/* f0f8044: 0fc3c883 */ jal menuResolveDialogTitle -/* f0f8048: 8d640000 */ lw $a0,0x0($t3) -/* f0f804c: 8e780000 */ lw $t8,0x0($s3) -/* f0f8050: 00408025 */ move $s0,$v0 -/* f0f8054: 02c02025 */ move $a0,$s6 -/* f0f8058: 02e02825 */ move $a1,$s7 -/* f0f805c: 00403025 */ move $a2,$v0 -/* f0f8060: 8e470000 */ lw $a3,0x0($s2) -/* f0f8064: afa00014 */ sw $zero,0x14($sp) -/* f0f8068: 0fc55d49 */ jal textMeasure -/* f0f806c: afb80010 */ sw $t8,0x10($sp) -/* f0f8070: 8fa200ac */ lw $v0,0xac($sp) -/* f0f8074: 8fa30088 */ lw $v1,0x88($sp) -/* f0f8078: 8fac01d4 */ lw $t4,0x1d4($sp) -/* f0f807c: 26850003 */ addiu $a1,$s4,0x3 -/* f0f8080: 00a27821 */ addu $t7,$a1,$v0 -/* f0f8084: 2463000d */ addiu $v1,$v1,0xd -/* f0f8088: 018f082a */ slt $at,$t4,$t7 -/* f0f808c: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f8090: 10200009 */ beqz $at,.JF0f0f80b8 -/* f0f8094: afa501cc */ sw $a1,0x1cc($sp) -/* f0f8098: 02a22823 */ subu $a1,$s5,$v0 -/* f0f809c: 04a10003 */ bgez $a1,.JF0f0f80ac -/* f0f80a0: 00056843 */ sra $t5,$a1,0x1 -/* f0f80a4: 24a10001 */ addiu $at,$a1,0x1 -/* f0f80a8: 00016843 */ sra $t5,$at,0x1 -.JF0f0f80ac: -/* f0f80ac: 24630003 */ addiu $v1,$v1,0x3 -/* f0f80b0: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f80b4: afad01cc */ sw $t5,0x1cc($sp) -.JF0f0f80b8: -/* f0f80b8: 0c002eef */ jal viGetHeight -/* f0f80bc: 00000000 */ nop -/* f0f80c0: 8e590000 */ lw $t9,0x0($s2) -/* f0f80c4: 8e6e0000 */ lw $t6,0x0($s3) -/* f0f80c8: 87b801ca */ lh $t8,0x1ca($sp) -/* f0f80cc: 240bffff */ li $t3,-1 -/* f0f80d0: afab0018 */ sw $t3,0x18($sp) -/* f0f80d4: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f80d8: 27a501cc */ addiu $a1,$sp,0x1cc -/* f0f80dc: 27a601d0 */ addiu $a2,$sp,0x1d0 -/* f0f80e0: 02003825 */ move $a3,$s0 -/* f0f80e4: afa20020 */ sw $v0,0x20($sp) -/* f0f80e8: afa00024 */ sw $zero,0x24($sp) -/* f0f80ec: afa00028 */ sw $zero,0x28($sp) -/* f0f80f0: afb90010 */ sw $t9,0x10($sp) -/* f0f80f4: afae0014 */ sw $t6,0x14($sp) -/* f0f80f8: 0fc55886 */ jal textRenderProjected -/* f0f80fc: afb8001c */ sw $t8,0x1c($sp) -/* f0f8100: 0fc54bb7 */ jal text0f153780 -/* f0f8104: 00402025 */ move $a0,$v0 -/* f0f8108: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f810c: 0fc54a1a */ jal textSetRotation90 -/* f0f8110: 00002025 */ move $a0,$zero -.JF0f0f8114: -/* f0f8114: 8fa201e8 */ lw $v0,0x1e8($sp) -.JF0f0f8118: -/* f0f8118: 8fbf0064 */ lw $ra,0x64($sp) -/* f0f811c: d7b40038 */ ldc1 $f20,0x38($sp) -/* f0f8120: 8fb00040 */ lw $s0,0x40($sp) -/* f0f8124: 8fb10044 */ lw $s1,0x44($sp) -/* f0f8128: 8fb20048 */ lw $s2,0x48($sp) -/* f0f812c: 8fb3004c */ lw $s3,0x4c($sp) -/* f0f8130: 8fb40050 */ lw $s4,0x50($sp) -/* f0f8134: 8fb50054 */ lw $s5,0x54($sp) -/* f0f8138: 8fb60058 */ lw $s6,0x58($sp) -/* f0f813c: 8fb7005c */ lw $s7,0x5c($sp) -/* f0f8140: 8fbe0060 */ lw $s8,0x60($sp) -/* f0f8144: 03e00008 */ jr $ra -/* f0f8148: 27bd01e8 */ addiu $sp,$sp,0x1e8 -); -#elif VERSION >= VERSION_NTSC_1_0 -GLOBAL_ASM( -glabel dialogRender -/* f0f5360: 27bdfe18 */ addiu $sp,$sp,-488 -/* f0f5364: afbe0060 */ sw $s8,0x60($sp) -/* f0f5368: afbf0064 */ sw $ra,0x64($sp) -/* f0f536c: afb7005c */ sw $s7,0x5c($sp) -/* f0f5370: afb60058 */ sw $s6,0x58($sp) -/* f0f5374: afb50054 */ sw $s5,0x54($sp) -/* f0f5378: afb40050 */ sw $s4,0x50($sp) -/* f0f537c: afb3004c */ sw $s3,0x4c($sp) -/* f0f5380: afb20048 */ sw $s2,0x48($sp) -/* f0f5384: afb10044 */ sw $s1,0x44($sp) -/* f0f5388: afb00040 */ sw $s0,0x40($sp) -/* f0f538c: f7b40038 */ sdc1 $f20,0x38($sp) -/* f0f5390: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f5394: afa601f0 */ sw $a2,0x1f0($sp) -/* f0f5398: afa701f4 */ sw $a3,0x1f4($sp) -/* f0f539c: 3c1e800a */ lui $s8,%hi(g_Vars) -/* f0f53a0: 27de9fc0 */ addiu $s8,$s8,%lo(g_Vars) -/* f0f53a4: 8fd80298 */ lw $t8,0x298($s8) -/* f0f53a8: 8cb50014 */ lw $s5,0x14($a1) -/* f0f53ac: 8cb30018 */ lw $s3,0x18($a1) -/* f0f53b0: 8cae001c */ lw $t6,0x1c($a1) -/* f0f53b4: 8caf0020 */ lw $t7,0x20($a1) -/* f0f53b8: 00a08025 */ or $s0,$a1,$zero -/* f0f53bc: 02aeb021 */ addu $s6,$s5,$t6 -/* f0f53c0: 07010005 */ bgez $t8,.L0f0f53d8 -/* f0f53c4: 026fa021 */ addu $s4,$s3,$t7 -/* f0f53c8: 8fd9029c */ lw $t9,0x29c($s8) -/* f0f53cc: afa501ec */ sw $a1,0x1ec($sp) -/* f0f53d0: 0722000c */ bltzl $t9,.L0f0f5404 -/* f0f53d4: 8fb001ec */ lw $s0,0x1ec($sp) -.L0f0f53d8: -/* f0f53d8: 0fc3f303 */ jal menuGetRoot -/* f0f53dc: afb001ec */ sw $s0,0x1ec($sp) -/* f0f53e0: 24010005 */ addiu $at,$zero,0x5 -/* f0f53e4: 14410006 */ bne $v0,$at,.L0f0f5400 -/* f0f53e8: 3c0b800a */ lui $t3,%hi(var8009dfc0) -/* f0f53ec: 8d6bdfc0 */ lw $t3,%lo(var8009dfc0)($t3) -/* f0f53f0: 55600004 */ bnezl $t3,.L0f0f5404 -/* f0f53f4: 8fb001ec */ lw $s0,0x1ec($sp) -/* f0f53f8: 1000081e */ b .L0f0f7474 -/* f0f53fc: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f5400: -/* f0f5400: 8fb001ec */ lw $s0,0x1ec($sp) -.L0f0f5404: -/* f0f5404: 4480a000 */ mtc1 $zero,$f20 -/* f0f5408: 3c197f1b */ lui $t9,%hi(g_MenuColourPalettes) -/* f0f540c: c6040040 */ lwc1 $f4,0x40($s0) -/* f0f5410: 27391fb0 */ addiu $t9,$t9,%lo(g_MenuColourPalettes) -/* f0f5414: 4614203c */ c.lt.s $f4,$f20 -/* f0f5418: 00000000 */ nop -/* f0f541c: 4502000c */ bc1fl .L0f0f5450 -/* f0f5420: 920f003d */ lbu $t7,0x3d($s0) -/* f0f5424: 920c003c */ lbu $t4,0x3c($s0) -/* f0f5428: 3c0e7f1b */ lui $t6,%hi(g_MenuColourPalettes+0x28) -/* f0f542c: afb001ec */ sw $s0,0x1ec($sp) -/* f0f5430: 000c6900 */ sll $t5,$t4,0x4 -/* f0f5434: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f5438: 000d6880 */ sll $t5,$t5,0x2 -/* f0f543c: 01cd7021 */ addu $t6,$t6,$t5 -/* f0f5440: 8dce1fd8 */ lw $t6,%lo(g_MenuColourPalettes+0x28)($t6) -/* f0f5444: 10000011 */ b .L0f0f548c -/* f0f5448: afae01bc */ sw $t6,0x1bc($sp) -/* f0f544c: 920f003d */ lbu $t7,0x3d($s0) -.L0f0f5450: -/* f0f5450: 920c003c */ lbu $t4,0x3c($s0) -/* f0f5454: 8e060044 */ lw $a2,0x44($s0) -/* f0f5458: 000fc100 */ sll $t8,$t7,0x4 -/* f0f545c: 000c6900 */ sll $t5,$t4,0x4 -/* f0f5460: 030fc023 */ subu $t8,$t8,$t7 -/* f0f5464: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f5468: 000d6880 */ sll $t5,$t5,0x2 -/* f0f546c: 0018c080 */ sll $t8,$t8,0x2 -/* f0f5470: 03195821 */ addu $t3,$t8,$t9 -/* f0f5474: 01b97021 */ addu $t6,$t5,$t9 -/* f0f5478: 8dc50028 */ lw $a1,0x28($t6) -/* f0f547c: 8d640028 */ lw $a0,0x28($t3) -/* f0f5480: 0fc01a40 */ jal colourBlend -/* f0f5484: afb001ec */ sw $s0,0x1ec($sp) -/* f0f5488: afa201bc */ sw $v0,0x1bc($sp) -.L0f0f548c: -/* f0f548c: 0fc5580c */ jal text0f156030 -/* f0f5490: 8fa401bc */ lw $a0,0x1bc($sp) -/* f0f5494: 3c0f8007 */ lui $t7,%hi(g_MpPlayerNum) -/* f0f5498: 8def1448 */ lw $t7,%lo(g_MpPlayerNum)($t7) -/* f0f549c: 3c0b800a */ lui $t3,%hi(g_Menus) -/* f0f54a0: 3c018008 */ lui $at,%hi(var8007fb9c) -/* f0f54a4: 000fc0c0 */ sll $t8,$t7,0x3 -/* f0f54a8: 030fc023 */ subu $t8,$t8,$t7 -/* f0f54ac: 0018c080 */ sll $t8,$t8,0x2 -/* f0f54b0: 030fc021 */ addu $t8,$t8,$t7 -/* f0f54b4: 0018c0c0 */ sll $t8,$t8,0x3 -/* f0f54b8: 030fc023 */ subu $t8,$t8,$t7 -/* f0f54bc: 0018c100 */ sll $t8,$t8,0x4 -/* f0f54c0: 256be000 */ addiu $t3,$t3,%lo(g_Menus) -/* f0f54c4: ac20fb9c */ sw $zero,%lo(var8007fb9c)($at) -/* f0f54c8: 030b1821 */ addu $v1,$t8,$t3 -/* f0f54cc: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f54d0: 8c6c04f8 */ lw $t4,0x4f8($v1) -/* f0f54d4: 54ec002d */ bnel $a3,$t4,.L0f0f558c -/* f0f54d8: 8cf8001c */ lw $t8,0x1c($a3) -/* f0f54dc: 8ced0000 */ lw $t5,0x0($a3) -/* f0f54e0: 8faf01f4 */ lw $t7,0x1f4($sp) -/* f0f54e4: 8db90010 */ lw $t9,0x10($t5) -/* f0f54e8: 332e0002 */ andi $t6,$t9,0x2 -/* f0f54ec: 51c00027 */ beqzl $t6,.L0f0f558c -/* f0f54f0: 8cf8001c */ lw $t8,0x1c($a3) -/* f0f54f4: 55e00025 */ bnezl $t7,.L0f0f558c -/* f0f54f8: 8cf8001c */ lw $t8,0x1c($a3) -/* f0f54fc: 8c780df0 */ lw $t8,0xdf0($v1) -/* f0f5500: 8fad01e8 */ lw $t5,0x1e8($sp) -/* f0f5504: 24010001 */ addiu $at,$zero,0x1 -/* f0f5508: 00185b80 */ sll $t3,$t8,0xe -/* f0f550c: 000b67c2 */ srl $t4,$t3,0x1f -/* f0f5510: 1581001d */ bne $t4,$at,.L0f0f5588 -/* f0f5514: 25b90008 */ addiu $t9,$t5,0x8 -/* f0f5518: afb901e8 */ sw $t9,0x1e8($sp) -/* f0f551c: 3c0eb700 */ lui $t6,0xb700 -/* f0f5520: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f5524: adaf0004 */ sw $t7,0x4($t5) -/* f0f5528: adae0000 */ sw $t6,0x0($t5) -/* f0f552c: 3c188007 */ lui $t8,%hi(g_MpPlayerNum) -/* f0f5530: 8f181448 */ lw $t8,%lo(g_MpPlayerNum)($t8) -/* f0f5534: 3c0d800a */ lui $t5,%hi(g_Menus) -/* f0f5538: 25ade000 */ addiu $t5,$t5,%lo(g_Menus) -/* f0f553c: 001858c0 */ sll $t3,$t8,0x3 -/* f0f5540: 01785823 */ subu $t3,$t3,$t8 -/* f0f5544: 000b5880 */ sll $t3,$t3,0x2 -/* f0f5548: 01785821 */ addu $t3,$t3,$t8 -/* f0f554c: 000b58c0 */ sll $t3,$t3,0x3 -/* f0f5550: 01785823 */ subu $t3,$t3,$t8 -/* f0f5554: 000b5900 */ sll $t3,$t3,0x4 -/* f0f5558: 256c0840 */ addiu $t4,$t3,0x840 -/* f0f555c: 018d2821 */ addu $a1,$t4,$t5 -/* f0f5560: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5564: 0fc3ce2c */ jal menuRenderModels -/* f0f5568: 24060002 */ addiu $a2,$zero,0x2 -/* f0f556c: 24590008 */ addiu $t9,$v0,0x8 -/* f0f5570: afb901e8 */ sw $t9,0x1e8($sp) -/* f0f5574: 3c0eb600 */ lui $t6,0xb600 -/* f0f5578: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f557c: ac4f0004 */ sw $t7,0x4($v0) -/* f0f5580: ac4e0000 */ sw $t6,0x0($v0) -/* f0f5584: 8fa701ec */ lw $a3,0x1ec($sp) -.L0f0f5588: -/* f0f5588: 8cf8001c */ lw $t8,0x1c($a3) -.L0f0f558c: -/* f0f558c: 3c0c8008 */ lui $t4,%hi(g_MpReadyMenuDialog) -/* f0f5590: 258c57b8 */ addiu $t4,$t4,%lo(g_MpReadyMenuDialog) -/* f0f5594: a7b801ca */ sh $t8,0x1ca($sp) -/* f0f5598: 90eb0060 */ lbu $t3,0x60($a3) -/* f0f559c: 84f00022 */ lh $s0,0x22($a3) -/* f0f55a0: 8ce40000 */ lw $a0,0x0($a3) -/* f0f55a4: 55600029 */ bnezl $t3,.L0f0f564c -/* f0f55a8: 8ced0014 */ lw $t5,0x14($a3) -/* f0f55ac: 15840003 */ bne $t4,$a0,.L0f0f55bc -/* f0f55b0: 3c013f80 */ lui $at,0x3f80 -/* f0f55b4: 100007af */ b .L0f0f7474 -/* f0f55b8: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f55bc: -/* f0f55bc: 44813000 */ mtc1 $at,$f6 -/* f0f55c0: 8fcd0298 */ lw $t5,0x298($s8) -/* f0f55c4: 3c01800a */ lui $at,%hi(g_MenuData+0x10) -/* f0f55c8: c42819d0 */ lwc1 $f8,%lo(g_MenuData+0x10)($at) -/* f0f55cc: 05a10004 */ bgez $t5,.L0f0f55e0 -/* f0f55d0: 46083001 */ sub.s $f0,$f6,$f8 -/* f0f55d4: 8fd9029c */ lw $t9,0x29c($s8) -/* f0f55d8: 0720000b */ bltz $t9,.L0f0f5608 -/* f0f55dc: 00000000 */ nop -.L0f0f55e0: -/* f0f55e0: 0fc3f303 */ jal menuGetRoot -/* f0f55e4: e7a00170 */ swc1 $f0,0x170($sp) -/* f0f55e8: 24010005 */ addiu $at,$zero,0x5 -/* f0f55ec: 14410006 */ bne $v0,$at,.L0f0f5608 -/* f0f55f0: c7a00170 */ lwc1 $f0,0x170($sp) -/* f0f55f4: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f55f8: 3c013f80 */ lui $at,0x3f80 -/* f0f55fc: 44815000 */ mtc1 $at,$f10 -/* f0f5600: c5d00050 */ lwc1 $f16,0x50($t6) -/* f0f5604: 46105001 */ sub.s $f0,$f10,$f16 -.L0f0f5608: -/* f0f5608: 46000102 */ mul.s $f4,$f0,$f0 -/* f0f560c: 44903000 */ mtc1 $s0,$f6 -/* f0f5610: 3c013f80 */ lui $at,0x3f80 -/* f0f5614: 44819000 */ mtc1 $at,$f18 -/* f0f5618: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f561c: 46803220 */ cvt.s.w $f8,$f6 -/* f0f5620: 8cec0018 */ lw $t4,0x18($a3) -/* f0f5624: 8ce40000 */ lw $a0,0x0($a3) -/* f0f5628: 46049001 */ sub.s $f0,$f18,$f4 -/* f0f562c: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f5630: 4600540d */ trunc.w.s $f16,$f10 -/* f0f5634: 44108000 */ mfc1 $s0,$f16 -/* f0f5638: 00000000 */ nop -/* f0f563c: 0010c400 */ sll $t8,$s0,0x10 -/* f0f5640: 00188403 */ sra $s0,$t8,0x10 -/* f0f5644: 0190a021 */ addu $s4,$t4,$s0 -/* f0f5648: 8ced0014 */ lw $t5,0x14($a3) -.L0f0f564c: -/* f0f564c: afad01e0 */ sw $t5,0x1e0($sp) -/* f0f5650: 8ce20018 */ lw $v0,0x18($a3) -/* f0f5654: 02021821 */ addu $v1,$s0,$v0 -/* f0f5658: afa301d4 */ sw $v1,0x1d4($sp) -/* f0f565c: afa30084 */ sw $v1,0x84($sp) -/* f0f5660: 0fc3c560 */ jal menuResolveDialogTitle -/* f0f5664: afa201dc */ sw $v0,0x1dc($sp) -/* f0f5668: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f566c: 0040b825 */ or $s7,$v0,$zero -/* f0f5670: c4f20040 */ lwc1 $f18,0x40($a3) -/* f0f5674: 4614903c */ c.lt.s $f18,$f20 -/* f0f5678: 00000000 */ nop -/* f0f567c: 4502000c */ bc1fl .L0f0f56b0 -/* f0f5680: 90eb003d */ lbu $t3,0x3d($a3) -/* f0f5684: 90f9003c */ lbu $t9,0x3c($a3) -/* f0f5688: 2408003c */ addiu $t0,$zero,0x3c -/* f0f568c: 3c097f1b */ lui $t1,%hi(g_MenuColourPalettes) -/* f0f5690: 03280019 */ multu $t9,$t0 -/* f0f5694: 25291fb0 */ addiu $t1,$t1,%lo(g_MenuColourPalettes) -/* f0f5698: 00007012 */ mflo $t6 -/* f0f569c: 012e7821 */ addu $t7,$t1,$t6 -/* f0f56a0: 8df80000 */ lw $t8,0x0($t7) -/* f0f56a4: 10000016 */ b .L0f0f5700 -/* f0f56a8: afb801bc */ sw $t8,0x1bc($sp) -/* f0f56ac: 90eb003d */ lbu $t3,0x3d($a3) -.L0f0f56b0: -/* f0f56b0: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f56b4: 3c0d7f1b */ lui $t5,%hi(g_MenuColourPalettes) -/* f0f56b8: 000b6100 */ sll $t4,$t3,0x4 -/* f0f56bc: 000e7900 */ sll $t7,$t6,0x4 -/* f0f56c0: 25ad1fb0 */ addiu $t5,$t5,%lo(g_MenuColourPalettes) -/* f0f56c4: 018b6023 */ subu $t4,$t4,$t3 -/* f0f56c8: 01ee7823 */ subu $t7,$t7,$t6 -/* f0f56cc: 000f7880 */ sll $t7,$t7,0x2 -/* f0f56d0: 000c6080 */ sll $t4,$t4,0x2 -/* f0f56d4: 018dc821 */ addu $t9,$t4,$t5 -/* f0f56d8: 01edc021 */ addu $t8,$t7,$t5 -/* f0f56dc: 8f050000 */ lw $a1,0x0($t8) -/* f0f56e0: 8f240000 */ lw $a0,0x0($t9) -/* f0f56e4: 0fc01a40 */ jal colourBlend -/* f0f56e8: 8ce60044 */ lw $a2,0x44($a3) -/* f0f56ec: 3c097f1b */ lui $t1,%hi(g_MenuColourPalettes) -/* f0f56f0: 25291fb0 */ addiu $t1,$t1,%lo(g_MenuColourPalettes) -/* f0f56f4: afa201bc */ sw $v0,0x1bc($sp) -/* f0f56f8: 2408003c */ addiu $t0,$zero,0x3c -/* f0f56fc: 8fa701ec */ lw $a3,0x1ec($sp) -.L0f0f5700: -/* f0f5700: c4e40040 */ lwc1 $f4,0x40($a3) -/* f0f5704: 4614203c */ c.lt.s $f4,$f20 -/* f0f5708: 00000000 */ nop -/* f0f570c: 45020009 */ bc1fl .L0f0f5734 -/* f0f5710: 90ef003d */ lbu $t7,0x3d($a3) -/* f0f5714: 90eb003c */ lbu $t3,0x3c($a3) -/* f0f5718: 01680019 */ multu $t3,$t0 -/* f0f571c: 00006012 */ mflo $t4 -/* f0f5720: 012cc821 */ addu $t9,$t1,$t4 -/* f0f5724: 8f2e0004 */ lw $t6,0x4($t9) -/* f0f5728: 10000012 */ b .L0f0f5774 -/* f0f572c: afae01b8 */ sw $t6,0x1b8($sp) -/* f0f5730: 90ef003d */ lbu $t7,0x3d($a3) -.L0f0f5734: -/* f0f5734: 90eb003c */ lbu $t3,0x3c($a3) -/* f0f5738: 8ce60044 */ lw $a2,0x44($a3) -/* f0f573c: 01e80019 */ multu $t7,$t0 -/* f0f5740: 00006812 */ mflo $t5 -/* f0f5744: 012dc021 */ addu $t8,$t1,$t5 -/* f0f5748: 8f040004 */ lw $a0,0x4($t8) -/* f0f574c: 01680019 */ multu $t3,$t0 -/* f0f5750: 00006012 */ mflo $t4 -/* f0f5754: 012cc821 */ addu $t9,$t1,$t4 -/* f0f5758: 0fc01a40 */ jal colourBlend -/* f0f575c: 8f250004 */ lw $a1,0x4($t9) -/* f0f5760: 3c097f1b */ lui $t1,%hi(g_MenuColourPalettes) -/* f0f5764: 25291fb0 */ addiu $t1,$t1,%lo(g_MenuColourPalettes) -/* f0f5768: afa201b8 */ sw $v0,0x1b8($sp) -/* f0f576c: 2408003c */ addiu $t0,$zero,0x3c -/* f0f5770: 8fa701ec */ lw $a3,0x1ec($sp) -.L0f0f5774: -/* f0f5774: c4e60040 */ lwc1 $f6,0x40($a3) -/* f0f5778: 4614303c */ c.lt.s $f6,$f20 -/* f0f577c: 00000000 */ nop -/* f0f5780: 45020009 */ bc1fl .L0f0f57a8 -/* f0f5784: 90eb003d */ lbu $t3,0x3d($a3) -/* f0f5788: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f578c: 01c80019 */ multu $t6,$t0 -/* f0f5790: 00007812 */ mflo $t7 -/* f0f5794: 012f6821 */ addu $t5,$t1,$t7 -/* f0f5798: 8db80008 */ lw $t8,0x8($t5) -/* f0f579c: 1000000f */ b .L0f0f57dc -/* f0f57a0: afb801b4 */ sw $t8,0x1b4($sp) -/* f0f57a4: 90eb003d */ lbu $t3,0x3d($a3) -.L0f0f57a8: -/* f0f57a8: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f57ac: 8ce60044 */ lw $a2,0x44($a3) -/* f0f57b0: 01680019 */ multu $t3,$t0 -/* f0f57b4: 00006012 */ mflo $t4 -/* f0f57b8: 012cc821 */ addu $t9,$t1,$t4 -/* f0f57bc: 8f240008 */ lw $a0,0x8($t9) -/* f0f57c0: 01c80019 */ multu $t6,$t0 -/* f0f57c4: 00007812 */ mflo $t7 -/* f0f57c8: 012f6821 */ addu $t5,$t1,$t7 -/* f0f57cc: 0fc01a40 */ jal colourBlend -/* f0f57d0: 8da50008 */ lw $a1,0x8($t5) -/* f0f57d4: afa201b4 */ sw $v0,0x1b4($sp) -/* f0f57d8: 8fa701ec */ lw $a3,0x1ec($sp) -.L0f0f57dc: -/* f0f57dc: 8fb801e8 */ lw $t8,0x1e8($sp) -/* f0f57e0: 3c0cb600 */ lui $t4,0xb600 -/* f0f57e4: 24190001 */ addiu $t9,$zero,0x1 -/* f0f57e8: 270b0008 */ addiu $t3,$t8,0x8 -/* f0f57ec: afab01e8 */ sw $t3,0x1e8($sp) -/* f0f57f0: af190004 */ sw $t9,0x4($t8) -/* f0f57f4: af0c0000 */ sw $t4,0x0($t8) -/* f0f57f8: 8fae01bc */ lw $t6,0x1bc($sp) -/* f0f57fc: 8fb201b4 */ lw $s2,0x1b4($sp) -/* f0f5800: 8fb801b4 */ lw $t8,0x1b4($sp) -/* f0f5804: 31cf00ff */ andi $t7,$t6,0xff -/* f0f5808: 2de10040 */ sltiu $at,$t7,0x40 -/* f0f580c: 14200005 */ bnez $at,.L0f0f5824 -/* f0f5810: 01c08825 */ or $s1,$t6,$zero -/* f0f5814: 2401ff00 */ addiu $at,$zero,-256 -/* f0f5818: 01c18824 */ and $s1,$t6,$at -/* f0f581c: 362d003f */ ori $t5,$s1,0x3f -/* f0f5820: 01a08825 */ or $s1,$t5,$zero -.L0f0f5824: -/* f0f5824: 330b00ff */ andi $t3,$t8,0xff -/* f0f5828: 2d610040 */ sltiu $at,$t3,0x40 -/* f0f582c: 14200005 */ bnez $at,.L0f0f5844 -/* f0f5830: 2419fc18 */ addiu $t9,$zero,-1000 -/* f0f5834: 2401ff00 */ addiu $at,$zero,-256 -/* f0f5838: 03019024 */ and $s2,$t8,$at -/* f0f583c: 364c003f */ ori $t4,$s2,0x3f -/* f0f5840: 01809025 */ or $s2,$t4,$zero -.L0f0f5844: -/* f0f5844: 3c01800a */ lui $at,%hi(var8009de90) -/* f0f5848: ac39de90 */ sw $t9,%lo(var8009de90)($at) -/* f0f584c: 3c01800a */ lui $at,%hi(var8009de94) -/* f0f5850: 240f03e8 */ addiu $t7,$zero,0x3e8 -/* f0f5854: ac2fde94 */ sw $t7,%lo(var8009de94)($at) -/* f0f5858: 8cee0000 */ lw $t6,0x0($a3) -/* f0f585c: 3c03800a */ lui $v1,%hi(g_MenuData+0x4) -/* f0f5860: 8dc40010 */ lw $a0,0x10($t6) -/* f0f5864: 308d0100 */ andi $t5,$a0,0x100 -/* f0f5868: 11a00002 */ beqz $t5,.L0f0f5874 -/* f0f586c: 01a02025 */ or $a0,$t5,$zero -/* f0f5870: 2673000b */ addiu $s3,$s3,0xb -.L0f0f5874: -/* f0f5874: 8c6319c4 */ lw $v1,%lo(g_MenuData+0x4)($v1) -/* f0f5878: 24010003 */ addiu $at,$zero,0x3 -/* f0f587c: 10610060 */ beq $v1,$at,.L0f0f5a00 -/* f0f5880: 24010004 */ addiu $at,$zero,0x4 -/* f0f5884: 14610004 */ bne $v1,$at,.L0f0f5898 -/* f0f5888: 02a02825 */ or $a1,$s5,$zero -/* f0f588c: 8fcb0318 */ lw $t3,0x318($s8) -/* f0f5890: 1160005b */ beqz $t3,.L0f0f5a00 -/* f0f5894: 00000000 */ nop -.L0f0f5898: -/* f0f5898: 3c10800a */ lui $s0,%hi(var800a4634) -/* f0f589c: 26104634 */ addiu $s0,$s0,%lo(var800a4634) -/* f0f58a0: 8e040000 */ lw $a0,0x0($s0) -/* f0f58a4: 02603025 */ or $a2,$s3,$zero -/* f0f58a8: 02c03825 */ or $a3,$s6,$zero -/* f0f58ac: afb30010 */ sw $s3,0x10($sp) -/* f0f58b0: afb10014 */ sw $s1,0x14($sp) -/* f0f58b4: afb20018 */ sw $s2,0x18($sp) -/* f0f58b8: 0fc35343 */ jal func0f0d4d0c -/* f0f58bc: afa0001c */ sw $zero,0x1c($sp) -/* f0f58c0: ae020000 */ sw $v0,0x0($s0) -/* f0f58c4: 00402025 */ or $a0,$v0,$zero -/* f0f58c8: 02c02825 */ or $a1,$s6,$zero -/* f0f58cc: 02603025 */ or $a2,$s3,$zero -/* f0f58d0: 02c03825 */ or $a3,$s6,$zero -/* f0f58d4: afb40010 */ sw $s4,0x10($sp) -/* f0f58d8: afb20014 */ sw $s2,0x14($sp) -/* f0f58dc: afb10018 */ sw $s1,0x18($sp) -/* f0f58e0: 0fc35343 */ jal func0f0d4d0c -/* f0f58e4: afa0001c */ sw $zero,0x1c($sp) -/* f0f58e8: ae020000 */ sw $v0,0x0($s0) -/* f0f58ec: 00402025 */ or $a0,$v0,$zero -/* f0f58f0: 02c02825 */ or $a1,$s6,$zero -/* f0f58f4: 02803025 */ or $a2,$s4,$zero -/* f0f58f8: 02a03825 */ or $a3,$s5,$zero -/* f0f58fc: afb40010 */ sw $s4,0x10($sp) -/* f0f5900: afb10014 */ sw $s1,0x14($sp) -/* f0f5904: afb20018 */ sw $s2,0x18($sp) -/* f0f5908: 0fc35343 */ jal func0f0d4d0c -/* f0f590c: afa0001c */ sw $zero,0x1c($sp) -/* f0f5910: ae020000 */ sw $v0,0x0($s0) -/* f0f5914: 00402025 */ or $a0,$v0,$zero -/* f0f5918: 02a02825 */ or $a1,$s5,$zero -/* f0f591c: 02803025 */ or $a2,$s4,$zero -/* f0f5920: 02a03825 */ or $a3,$s5,$zero -/* f0f5924: afb30010 */ sw $s3,0x10($sp) -/* f0f5928: afb20014 */ sw $s2,0x14($sp) -/* f0f592c: afb10018 */ sw $s1,0x18($sp) -/* f0f5930: 0fc35343 */ jal func0f0d4d0c -/* f0f5934: afa0001c */ sw $zero,0x1c($sp) -/* f0f5938: 24180001 */ addiu $t8,$zero,0x1 -/* f0f593c: ae020000 */ sw $v0,0x0($s0) -/* f0f5940: afb8001c */ sw $t8,0x1c($sp) -/* f0f5944: 00402025 */ or $a0,$v0,$zero -/* f0f5948: 02a02825 */ or $a1,$s5,$zero -/* f0f594c: 02603025 */ or $a2,$s3,$zero -/* f0f5950: 02c03825 */ or $a3,$s6,$zero -/* f0f5954: afb30010 */ sw $s3,0x10($sp) -/* f0f5958: afb20014 */ sw $s2,0x14($sp) -/* f0f595c: 0fc35343 */ jal func0f0d4d0c -/* f0f5960: afb10018 */ sw $s1,0x18($sp) -/* f0f5964: 240c0001 */ addiu $t4,$zero,0x1 -/* f0f5968: ae020000 */ sw $v0,0x0($s0) -/* f0f596c: afac001c */ sw $t4,0x1c($sp) -/* f0f5970: 00402025 */ or $a0,$v0,$zero -/* f0f5974: 02c02825 */ or $a1,$s6,$zero -/* f0f5978: 02603025 */ or $a2,$s3,$zero -/* f0f597c: 02c03825 */ or $a3,$s6,$zero -/* f0f5980: afb40010 */ sw $s4,0x10($sp) -/* f0f5984: afb10014 */ sw $s1,0x14($sp) -/* f0f5988: 0fc35343 */ jal func0f0d4d0c -/* f0f598c: afb20018 */ sw $s2,0x18($sp) -/* f0f5990: 24190001 */ addiu $t9,$zero,0x1 -/* f0f5994: ae020000 */ sw $v0,0x0($s0) -/* f0f5998: afb9001c */ sw $t9,0x1c($sp) -/* f0f599c: 00402025 */ or $a0,$v0,$zero -/* f0f59a0: 02c02825 */ or $a1,$s6,$zero -/* f0f59a4: 02803025 */ or $a2,$s4,$zero -/* f0f59a8: 02a03825 */ or $a3,$s5,$zero -/* f0f59ac: afb40010 */ sw $s4,0x10($sp) -/* f0f59b0: afb20014 */ sw $s2,0x14($sp) -/* f0f59b4: 0fc35343 */ jal func0f0d4d0c -/* f0f59b8: afb10018 */ sw $s1,0x18($sp) -/* f0f59bc: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f59c0: ae020000 */ sw $v0,0x0($s0) -/* f0f59c4: afaf001c */ sw $t7,0x1c($sp) -/* f0f59c8: 00402025 */ or $a0,$v0,$zero -/* f0f59cc: 02a02825 */ or $a1,$s5,$zero -/* f0f59d0: 02803025 */ or $a2,$s4,$zero -/* f0f59d4: 02a03825 */ or $a3,$s5,$zero -/* f0f59d8: afb30010 */ sw $s3,0x10($sp) -/* f0f59dc: afb10014 */ sw $s1,0x14($sp) -/* f0f59e0: 0fc35343 */ jal func0f0d4d0c -/* f0f59e4: afb20018 */ sw $s2,0x18($sp) -/* f0f59e8: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f59ec: ae020000 */ sw $v0,0x0($s0) -/* f0f59f0: 8dcd0000 */ lw $t5,0x0($t6) -/* f0f59f4: 8da40010 */ lw $a0,0x10($t5) -/* f0f59f8: 308b0100 */ andi $t3,$a0,0x100 -/* f0f59fc: 01602025 */ or $a0,$t3,$zero -.L0f0f5a00: -/* f0f5a00: 148000e3 */ bnez $a0,.L0f0f5d90 -/* f0f5a04: 3c03800a */ lui $v1,%hi(g_MenuData+0x4) -/* f0f5a08: 8c6319c4 */ lw $v1,%lo(g_MenuData+0x4)($v1) -/* f0f5a0c: 24010003 */ addiu $at,$zero,0x3 -/* f0f5a10: 10610002 */ beq $v1,$at,.L0f0f5a1c -/* f0f5a14: 2401000b */ addiu $at,$zero,0xb -/* f0f5a18: 1461000c */ bne $v1,$at,.L0f0f5a4c -.L0f0f5a1c: -/* f0f5a1c: 3c18800b */ lui $t8,%hi(g_MpSetup+0xc) -/* f0f5a20: 8f18cb94 */ lw $t8,%lo(g_MpSetup+0xc)($t8) -/* f0f5a24: 330c0002 */ andi $t4,$t8,0x2 -/* f0f5a28: 51800009 */ beqzl $t4,.L0f0f5a50 -/* f0f5a2c: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f5a30: 8fd90490 */ lw $t9,0x490($s8) -/* f0f5a34: 24010002 */ addiu $at,$zero,0x2 -/* f0f5a38: 27a401bc */ addiu $a0,$sp,0x1bc -/* f0f5a3c: 13210003 */ beq $t9,$at,.L0f0f5a4c -/* f0f5a40: 27a501b8 */ addiu $a1,$sp,0x1b8 -/* f0f5a44: 0fc3d401 */ jal menuGetTeamTitlebarColours -/* f0f5a48: 27a601b4 */ addiu $a2,$sp,0x1b4 -.L0f0f5a4c: -/* f0f5a4c: 8fa301e0 */ lw $v1,0x1e0($sp) -.L0f0f5a50: -/* f0f5a50: 87af01ca */ lh $t7,0x1ca($sp) -/* f0f5a54: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f5a58: 8fad01bc */ lw $t5,0x1bc($sp) -/* f0f5a5c: 8fab01b8 */ lw $t3,0x1b8($sp) -/* f0f5a60: 8fae01b4 */ lw $t6,0x1b4($sp) -/* f0f5a64: 01e31021 */ addu $v0,$t7,$v1 -/* f0f5a68: 24510002 */ addiu $s1,$v0,0x2 -/* f0f5a6c: 2470fffe */ addiu $s0,$v1,-2 -/* f0f5a70: 24d5000b */ addiu $s5,$a2,0xb -/* f0f5a74: afb50010 */ sw $s5,0x10($sp) -/* f0f5a78: 02002825 */ or $a1,$s0,$zero -/* f0f5a7c: 02203825 */ or $a3,$s1,$zero -/* f0f5a80: afa20088 */ sw $v0,0x88($sp) -/* f0f5a84: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5a88: afad0014 */ sw $t5,0x14($sp) -/* f0f5a8c: afab0018 */ sw $t3,0x18($sp) -/* f0f5a90: 0fc3873a */ jal menugfxRenderGradient -/* f0f5a94: afae001c */ sw $t6,0x1c($sp) -/* f0f5a98: 8fac01bc */ lw $t4,0x1bc($sp) -/* f0f5a9c: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f5aa0: 240d0001 */ addiu $t5,$zero,0x1 -/* f0f5aa4: 319900ff */ andi $t9,$t4,0xff -/* f0f5aa8: 00197842 */ srl $t7,$t9,0x1 -/* f0f5aac: 240b0028 */ addiu $t3,$zero,0x28 -/* f0f5ab0: 24d80001 */ addiu $t8,$a2,0x1 -/* f0f5ab4: afb80010 */ sw $t8,0x10($sp) -/* f0f5ab8: afab001c */ sw $t3,0x1c($sp) -/* f0f5abc: afaf0014 */ sw $t7,0x14($sp) -/* f0f5ac0: afad0018 */ sw $t5,0x18($sp) -/* f0f5ac4: 00402025 */ or $a0,$v0,$zero -/* f0f5ac8: 02002825 */ or $a1,$s0,$zero -/* f0f5acc: 02203825 */ or $a3,$s1,$zero -/* f0f5ad0: 0fc38aa9 */ jal menugfxDrawShimmer -/* f0f5ad4: afa00020 */ sw $zero,0x20($sp) -/* f0f5ad8: 8fae01bc */ lw $t6,0x1bc($sp) -/* f0f5adc: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f5ae0: 24190028 */ addiu $t9,$zero,0x28 -/* f0f5ae4: 31d800ff */ andi $t8,$t6,0xff -/* f0f5ae8: 00186042 */ srl $t4,$t8,0x1 -/* f0f5aec: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f5af0: afaf0020 */ sw $t7,0x20($sp) -/* f0f5af4: afac0014 */ sw $t4,0x14($sp) -/* f0f5af8: afb9001c */ sw $t9,0x1c($sp) -/* f0f5afc: 00402025 */ or $a0,$v0,$zero -/* f0f5b00: 02002825 */ or $a1,$s0,$zero -/* f0f5b04: 02203825 */ or $a3,$s1,$zero -/* f0f5b08: afb50010 */ sw $s5,0x10($sp) -/* f0f5b0c: afa00018 */ sw $zero,0x18($sp) -/* f0f5b10: 0fc38aa9 */ jal menugfxDrawShimmer -/* f0f5b14: 24c6000a */ addiu $a2,$a2,0xa -/* f0f5b18: 8fb201e0 */ lw $s2,0x1e0($sp) -/* f0f5b1c: 8fb001dc */ lw $s0,0x1dc($sp) -/* f0f5b20: 00402025 */ or $a0,$v0,$zero -/* f0f5b24: 26520002 */ addiu $s2,$s2,0x2 -/* f0f5b28: 26100002 */ addiu $s0,$s0,0x2 -/* f0f5b2c: afb001cc */ sw $s0,0x1cc($sp) -/* f0f5b30: 0fc54d8a */ jal text0f153628 -/* f0f5b34: afb201d0 */ sw $s2,0x1d0($sp) -/* f0f5b38: 8fad01f4 */ lw $t5,0x1f4($sp) -/* f0f5b3c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f5b40: afa001b0 */ sw $zero,0x1b0($sp) -/* f0f5b44: 11a00003 */ beqz $t5,.L0f0f5b54 -/* f0f5b48: 3c0e8007 */ lui $t6,%hi(var800714c8) -/* f0f5b4c: 240b0001 */ addiu $t3,$zero,0x1 -/* f0f5b50: afab01b0 */ sw $t3,0x1b0($sp) -.L0f0f5b54: -/* f0f5b54: 25ce14c8 */ addiu $t6,$t6,%lo(var800714c8) -/* f0f5b58: 8dc10000 */ lw $at,0x0($t6) -/* f0f5b5c: 8fa301ec */ lw $v1,0x1ec($sp) -/* f0f5b60: 27b40154 */ addiu $s4,$sp,0x154 -/* f0f5b64: ae810000 */ sw $at,0x0($s4) -/* f0f5b68: 8dd90004 */ lw $t9,0x4($t6) -/* f0f5b6c: ae990004 */ sw $t9,0x4($s4) -/* f0f5b70: 8dc10008 */ lw $at,0x8($t6) -/* f0f5b74: ae810008 */ sw $at,0x8($s4) -/* f0f5b78: 8dd9000c */ lw $t9,0xc($t6) -/* f0f5b7c: 3c0e7f1b */ lui $t6,%hi(g_MenuColourPalettes) -/* f0f5b80: 25ce1fb0 */ addiu $t6,$t6,%lo(g_MenuColourPalettes) -/* f0f5b84: ae99000c */ sw $t9,0xc($s4) -/* f0f5b88: c4680040 */ lwc1 $f8,0x40($v1) -/* f0f5b8c: 4614403c */ c.lt.s $f8,$f20 -/* f0f5b90: 00000000 */ nop -/* f0f5b94: 4502000b */ bc1fl .L0f0f5bc4 -/* f0f5b98: 906c003d */ lbu $t4,0x3d($v1) -/* f0f5b9c: 906f003c */ lbu $t7,0x3c($v1) -/* f0f5ba0: 3c0b7f1b */ lui $t3,%hi(g_MenuColourPalettes+0xc) -/* f0f5ba4: 000f6900 */ sll $t5,$t7,0x4 -/* f0f5ba8: 01af6823 */ subu $t5,$t5,$t7 -/* f0f5bac: 000d6880 */ sll $t5,$t5,0x2 -/* f0f5bb0: 016d5821 */ addu $t3,$t3,$t5 -/* f0f5bb4: 8d6b1fbc */ lw $t3,%lo(g_MenuColourPalettes+0xc)($t3) -/* f0f5bb8: 10000011 */ b .L0f0f5c00 -/* f0f5bbc: afab01bc */ sw $t3,0x1bc($sp) -/* f0f5bc0: 906c003d */ lbu $t4,0x3d($v1) -.L0f0f5bc4: -/* f0f5bc4: 906f003c */ lbu $t7,0x3c($v1) -/* f0f5bc8: 8c660044 */ lw $a2,0x44($v1) -/* f0f5bcc: 000cc100 */ sll $t8,$t4,0x4 -/* f0f5bd0: 000f6900 */ sll $t5,$t7,0x4 -/* f0f5bd4: 030cc023 */ subu $t8,$t8,$t4 -/* f0f5bd8: 01af6823 */ subu $t5,$t5,$t7 -/* f0f5bdc: 000d6880 */ sll $t5,$t5,0x2 -/* f0f5be0: 0018c080 */ sll $t8,$t8,0x2 -/* f0f5be4: 030ec821 */ addu $t9,$t8,$t6 -/* f0f5be8: 01ae5821 */ addu $t3,$t5,$t6 -/* f0f5bec: 8d65000c */ lw $a1,0xc($t3) -/* f0f5bf0: 0fc01a40 */ jal colourBlend -/* f0f5bf4: 8f24000c */ lw $a0,0xc($t9) -/* f0f5bf8: afa201bc */ sw $v0,0x1bc($sp) -/* f0f5bfc: 8fa301ec */ lw $v1,0x1ec($sp) -.L0f0f5c00: -/* f0f5c00: 9062003c */ lbu $v0,0x3c($v1) -/* f0f5c04: 3c047f1b */ lui $a0,%hi(g_MenuColourPalettes3+0xc) -/* f0f5c08: 3c057f1b */ lui $a1,%hi(g_MenuColourPalettes2+0xc) -/* f0f5c0c: 00026100 */ sll $t4,$v0,0x4 -/* f0f5c10: 01826023 */ subu $t4,$t4,$v0 -/* f0f5c14: 000c1080 */ sll $v0,$t4,0x2 -/* f0f5c18: 00822021 */ addu $a0,$a0,$v0 -/* f0f5c1c: 00a22821 */ addu $a1,$a1,$v0 -/* f0f5c20: 8ca52124 */ lw $a1,%lo(g_MenuColourPalettes2+0xc)($a1) -/* f0f5c24: 0fc54f8e */ jal textSetWaveColours -/* f0f5c28: 8c84228c */ lw $a0,%lo(g_MenuColourPalettes3+0xc)($a0) -/* f0f5c2c: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f5c30: 8fa501dc */ lw $a1,0x1dc($sp) -/* f0f5c34: 24630003 */ addiu $v1,$v1,0x3 -/* f0f5c38: 24a50003 */ addiu $a1,$a1,0x3 -/* f0f5c3c: afa501cc */ sw $a1,0x1cc($sp) -/* f0f5c40: 0c002f06 */ jal viGetHeight -/* f0f5c44: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f5c48: 8faf01bc */ lw $t7,0x1bc($sp) -/* f0f5c4c: 3c118008 */ lui $s1,%hi(g_CharsHandelGothicSm) -/* f0f5c50: 3c138008 */ lui $s3,%hi(g_FontHandelGothicSm) -/* f0f5c54: 2673fb0c */ addiu $s3,$s3,%lo(g_FontHandelGothicSm) -/* f0f5c58: 2631fb10 */ addiu $s1,$s1,%lo(g_CharsHandelGothicSm) -/* f0f5c5c: 8e380000 */ lw $t8,0x0($s1) -/* f0f5c60: 8e790000 */ lw $t9,0x0($s3) -/* f0f5c64: 87ae01ca */ lh $t6,0x1ca($sp) -/* f0f5c68: 31ed00ff */ andi $t5,$t7,0xff -/* f0f5c6c: afad0018 */ sw $t5,0x18($sp) -/* f0f5c70: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5c74: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f5c78: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f5c7c: 02e03825 */ or $a3,$s7,$zero -/* f0f5c80: afa20020 */ sw $v0,0x20($sp) -/* f0f5c84: afa00024 */ sw $zero,0x24($sp) -/* f0f5c88: afa00028 */ sw $zero,0x28($sp) -/* f0f5c8c: afb80010 */ sw $t8,0x10($sp) -/* f0f5c90: afb90014 */ sw $t9,0x14($sp) -/* f0f5c94: 0fc5580f */ jal textRenderProjected -/* f0f5c98: afae001c */ sw $t6,0x1c($sp) -/* f0f5c9c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f5ca0: afb201d0 */ sw $s2,0x1d0($sp) -/* f0f5ca4: 0c002f06 */ jal viGetHeight -/* f0f5ca8: afb001cc */ sw $s0,0x1cc($sp) -/* f0f5cac: 8e2b0000 */ lw $t3,0x0($s1) -/* f0f5cb0: 8e6c0000 */ lw $t4,0x0($s3) -/* f0f5cb4: 8fb801bc */ lw $t8,0x1bc($sp) -/* f0f5cb8: 87b901ca */ lh $t9,0x1ca($sp) -/* f0f5cbc: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5cc0: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f5cc4: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f5cc8: 02e03825 */ or $a3,$s7,$zero -/* f0f5ccc: afa20020 */ sw $v0,0x20($sp) -/* f0f5cd0: afa00024 */ sw $zero,0x24($sp) -/* f0f5cd4: afa00028 */ sw $zero,0x28($sp) -/* f0f5cd8: afab0010 */ sw $t3,0x10($sp) -/* f0f5cdc: afac0014 */ sw $t4,0x14($sp) -/* f0f5ce0: afb80018 */ sw $t8,0x18($sp) -/* f0f5ce4: 0fc5580f */ jal textRenderProjected -/* f0f5ce8: afb9001c */ sw $t9,0x1c($sp) -/* f0f5cec: 3c03800a */ lui $v1,%hi(g_MenuData+0x4) -/* f0f5cf0: 8c6319c4 */ lw $v1,%lo(g_MenuData+0x4)($v1) -/* f0f5cf4: 24010003 */ addiu $at,$zero,0x3 -/* f0f5cf8: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f5cfc: 10610007 */ beq $v1,$at,.L0f0f5d1c -/* f0f5d00: 24010004 */ addiu $at,$zero,0x4 -/* f0f5d04: 10610005 */ beq $v1,$at,.L0f0f5d1c -/* f0f5d08: 24010005 */ addiu $at,$zero,0x5 -/* f0f5d0c: 10610003 */ beq $v1,$at,.L0f0f5d1c -/* f0f5d10: 2401000b */ addiu $at,$zero,0xb -/* f0f5d14: 1461001b */ bne $v1,$at,.L0f0f5d84 -/* f0f5d18: 00000000 */ nop -.L0f0f5d1c: -/* f0f5d1c: 8fa30088 */ lw $v1,0x88($sp) -/* f0f5d20: afb001cc */ sw $s0,0x1cc($sp) -/* f0f5d24: 2463fff7 */ addiu $v1,$v1,-9 -/* f0f5d28: 0c002f06 */ jal viGetHeight -/* f0f5d2c: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f5d30: 3c0f8007 */ lui $t7,%hi(g_MpPlayerNum) -/* f0f5d34: 8def1448 */ lw $t7,%lo(g_MpPlayerNum)($t7) -/* f0f5d38: 8e2b0000 */ lw $t3,0x0($s1) -/* f0f5d3c: 8e6c0000 */ lw $t4,0x0($s3) -/* f0f5d40: 000f6880 */ sll $t5,$t7,0x2 -/* f0f5d44: 028d7021 */ addu $t6,$s4,$t5 -/* f0f5d48: 8dc70000 */ lw $a3,0x0($t6) -/* f0f5d4c: 8fb801bc */ lw $t8,0x1bc($sp) -/* f0f5d50: 87b901ca */ lh $t9,0x1ca($sp) -/* f0f5d54: afa00028 */ sw $zero,0x28($sp) -/* f0f5d58: afa00024 */ sw $zero,0x24($sp) -/* f0f5d5c: afa20020 */ sw $v0,0x20($sp) -/* f0f5d60: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5d64: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f5d68: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f5d6c: afab0010 */ sw $t3,0x10($sp) -/* f0f5d70: afac0014 */ sw $t4,0x14($sp) -/* f0f5d74: afb80018 */ sw $t8,0x18($sp) -/* f0f5d78: 0fc5580f */ jal textRenderProjected -/* f0f5d7c: afb9001c */ sw $t9,0x1c($sp) -/* f0f5d80: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f5d84: -/* f0f5d84: 0fc54de0 */ jal text0f153780 -/* f0f5d88: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5d8c: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f5d90: -/* f0f5d90: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f5d94: 8fb501dc */ lw $s5,0x1dc($sp) -/* f0f5d98: 3c0f800a */ lui $t7,%hi(g_MenuData+0x4) -/* f0f5d9c: c4400048 */ lwc1 $f0,0x48($v0) -/* f0f5da0: 26b5000b */ addiu $s5,$s5,0xb -/* f0f5da4: 4614003c */ c.lt.s $f0,$f20 -/* f0f5da8: 00000000 */ nop -/* f0f5dac: 4503001b */ bc1tl .L0f0f5e1c -/* f0f5db0: 904b0060 */ lbu $t3,0x60($v0) -/* f0f5db4: 8def19c4 */ lw $t7,%lo(g_MenuData+0x4)($t7) -/* f0f5db8: 24010004 */ addiu $at,$zero,0x4 -/* f0f5dbc: 51e1001e */ beql $t7,$at,.L0f0f5e38 -/* f0f5dc0: 8fac0084 */ lw $t4,0x84($sp) -/* f0f5dc4: 904d0060 */ lbu $t5,0x60($v0) -/* f0f5dc8: 00003825 */ or $a3,$zero,$zero -/* f0f5dcc: 29a10003 */ slti $at,$t5,0x3 -/* f0f5dd0: 54200009 */ bnezl $at,.L0f0f5df8 -/* f0f5dd4: 44060000 */ mfc1 $a2,$f0 -/* f0f5dd8: 44060000 */ mfc1 $a2,$f0 -/* f0f5ddc: 8c440014 */ lw $a0,0x14($v0) -/* f0f5de0: 8c450018 */ lw $a1,0x18($v0) -/* f0f5de4: 0fc54f08 */ jal textSetDiagonalBlend -/* f0f5de8: 24070001 */ addiu $a3,$zero,0x1 -/* f0f5dec: 10000006 */ b .L0f0f5e08 -/* f0f5df0: 240e0001 */ addiu $t6,$zero,0x1 -/* f0f5df4: 44060000 */ mfc1 $a2,$f0 -.L0f0f5df8: -/* f0f5df8: 8c440014 */ lw $a0,0x14($v0) -/* f0f5dfc: 0fc54f08 */ jal textSetDiagonalBlend -/* f0f5e00: 8c450018 */ lw $a1,0x18($v0) -/* f0f5e04: 240e0001 */ addiu $t6,$zero,0x1 -.L0f0f5e08: -/* f0f5e08: 3c018008 */ lui $at,%hi(var8007fb9c) -/* f0f5e0c: ac2efb9c */ sw $t6,%lo(var8007fb9c)($at) -/* f0f5e10: 10000008 */ b .L0f0f5e34 -/* f0f5e14: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f5e18: 904b0060 */ lbu $t3,0x60($v0) -.L0f0f5e1c: -/* f0f5e1c: 24010003 */ addiu $at,$zero,0x3 -/* f0f5e20: 55610005 */ bnel $t3,$at,.L0f0f5e38 -/* f0f5e24: 8fac0084 */ lw $t4,0x84($sp) -/* f0f5e28: 0fc54f62 */ jal textSetMenuBlend -/* f0f5e2c: c44c0050 */ lwc1 $f12,0x50($v0) -/* f0f5e30: 8fa201ec */ lw $v0,0x1ec($sp) -.L0f0f5e34: -/* f0f5e34: 8fac0084 */ lw $t4,0x84($sp) -.L0f0f5e38: -/* f0f5e38: 3c0b7f1b */ lui $t3,%hi(g_MenuColourPalettes) -/* f0f5e3c: 256b1fb0 */ addiu $t3,$t3,%lo(g_MenuColourPalettes) -/* f0f5e40: 0195082a */ slt $at,$t4,$s5 -/* f0f5e44: 50200003 */ beqzl $at,.L0f0f5e54 -/* f0f5e48: c44a0040 */ lwc1 $f10,0x40($v0) -/* f0f5e4c: afb501d4 */ sw $s5,0x1d4($sp) -/* f0f5e50: c44a0040 */ lwc1 $f10,0x40($v0) -.L0f0f5e54: -/* f0f5e54: 4614503c */ c.lt.s $f10,$f20 -/* f0f5e58: 00000000 */ nop -/* f0f5e5c: 4502000b */ bc1fl .L0f0f5e8c -/* f0f5e60: 904d003d */ lbu $t5,0x3d($v0) -/* f0f5e64: 9058003c */ lbu $t8,0x3c($v0) -/* f0f5e68: 3c0f7f1b */ lui $t7,%hi(g_MenuColourPalettes+0x10) -/* f0f5e6c: 0018c900 */ sll $t9,$t8,0x4 -/* f0f5e70: 0338c823 */ subu $t9,$t9,$t8 -/* f0f5e74: 0019c880 */ sll $t9,$t9,0x2 -/* f0f5e78: 01f97821 */ addu $t7,$t7,$t9 -/* f0f5e7c: 8def1fc0 */ lw $t7,%lo(g_MenuColourPalettes+0x10)($t7) -/* f0f5e80: 10000011 */ b .L0f0f5ec8 -/* f0f5e84: afaf01bc */ sw $t7,0x1bc($sp) -/* f0f5e88: 904d003d */ lbu $t5,0x3d($v0) -.L0f0f5e8c: -/* f0f5e8c: 9058003c */ lbu $t8,0x3c($v0) -/* f0f5e90: 8c460044 */ lw $a2,0x44($v0) -/* f0f5e94: 000d7100 */ sll $t6,$t5,0x4 -/* f0f5e98: 0018c900 */ sll $t9,$t8,0x4 -/* f0f5e9c: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f5ea0: 0338c823 */ subu $t9,$t9,$t8 -/* f0f5ea4: 0019c880 */ sll $t9,$t9,0x2 -/* f0f5ea8: 000e7080 */ sll $t6,$t6,0x2 -/* f0f5eac: 01cb6021 */ addu $t4,$t6,$t3 -/* f0f5eb0: 032b7821 */ addu $t7,$t9,$t3 -/* f0f5eb4: 8de50010 */ lw $a1,0x10($t7) -/* f0f5eb8: 0fc01a40 */ jal colourBlend -/* f0f5ebc: 8d840010 */ lw $a0,0x10($t4) -/* f0f5ec0: afa201bc */ sw $v0,0x1bc($sp) -/* f0f5ec4: 8fa201ec */ lw $v0,0x1ec($sp) -.L0f0f5ec8: -/* f0f5ec8: 8c4d000c */ lw $t5,0xc($v0) -/* f0f5ecc: 8fa401bc */ lw $a0,0x1bc($sp) -/* f0f5ed0: 00002825 */ or $a1,$zero,$zero -/* f0f5ed4: 51a0000b */ beqzl $t5,.L0f0f5f04 -/* f0f5ed8: c4500040 */ lwc1 $f16,0x40($v0) -/* f0f5edc: 0fc01a40 */ jal colourBlend -/* f0f5ee0: 2406002c */ addiu $a2,$zero,0x2c -/* f0f5ee4: 8fac01bc */ lw $t4,0x1bc($sp) -/* f0f5ee8: 2401ff00 */ addiu $at,$zero,-256 -/* f0f5eec: 00417024 */ and $t6,$v0,$at -/* f0f5ef0: 319800ff */ andi $t8,$t4,0xff -/* f0f5ef4: 01d8c825 */ or $t9,$t6,$t8 -/* f0f5ef8: afb901bc */ sw $t9,0x1bc($sp) -/* f0f5efc: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f5f00: c4500040 */ lwc1 $f16,0x40($v0) -.L0f0f5f04: -/* f0f5f04: 3c187f1b */ lui $t8,%hi(g_MenuColourPalettes) -/* f0f5f08: 27181fb0 */ addiu $t8,$t8,%lo(g_MenuColourPalettes) -/* f0f5f0c: 4614803c */ c.lt.s $f16,$f20 -/* f0f5f10: 00000000 */ nop -/* f0f5f14: 4502000b */ bc1fl .L0f0f5f44 -/* f0f5f18: 904c003d */ lbu $t4,0x3d($v0) -/* f0f5f1c: 904b003c */ lbu $t3,0x3c($v0) -/* f0f5f20: 3c0d7f1b */ lui $t5,%hi(g_MenuColourPalettes+0x14) -/* f0f5f24: 000b7900 */ sll $t7,$t3,0x4 -/* f0f5f28: 01eb7823 */ subu $t7,$t7,$t3 -/* f0f5f2c: 000f7880 */ sll $t7,$t7,0x2 -/* f0f5f30: 01af6821 */ addu $t5,$t5,$t7 -/* f0f5f34: 8dad1fc4 */ lw $t5,%lo(g_MenuColourPalettes+0x14)($t5) -/* f0f5f38: 10000011 */ b .L0f0f5f80 -/* f0f5f3c: afad01b8 */ sw $t5,0x1b8($sp) -/* f0f5f40: 904c003d */ lbu $t4,0x3d($v0) -.L0f0f5f44: -/* f0f5f44: 904b003c */ lbu $t3,0x3c($v0) -/* f0f5f48: 8c460044 */ lw $a2,0x44($v0) -/* f0f5f4c: 000c7100 */ sll $t6,$t4,0x4 -/* f0f5f50: 000b7900 */ sll $t7,$t3,0x4 -/* f0f5f54: 01cc7023 */ subu $t6,$t6,$t4 -/* f0f5f58: 01eb7823 */ subu $t7,$t7,$t3 -/* f0f5f5c: 000f7880 */ sll $t7,$t7,0x2 -/* f0f5f60: 000e7080 */ sll $t6,$t6,0x2 -/* f0f5f64: 01d8c821 */ addu $t9,$t6,$t8 -/* f0f5f68: 01f86821 */ addu $t5,$t7,$t8 -/* f0f5f6c: 8da50014 */ lw $a1,0x14($t5) -/* f0f5f70: 0fc01a40 */ jal colourBlend -/* f0f5f74: 8f240014 */ lw $a0,0x14($t9) -/* f0f5f78: afa201b8 */ sw $v0,0x1b8($sp) -/* f0f5f7c: 8fa201ec */ lw $v0,0x1ec($sp) -.L0f0f5f80: -/* f0f5f80: 8fac01f4 */ lw $t4,0x1f4($sp) -/* f0f5f84: 8fa901e0 */ lw $t1,0x1e0($sp) -/* f0f5f88: 5580008a */ bnezl $t4,.L0f0f61b4 -/* f0f5f8c: 904d0060 */ lbu $t5,0x60($v0) -/* f0f5f90: 90430060 */ lbu $v1,0x60($v0) -/* f0f5f94: 87ae01ca */ lh $t6,0x1ca($sp) -/* f0f5f98: 24010001 */ addiu $at,$zero,0x1 -/* f0f5f9c: 14610014 */ bne $v1,$at,.L0f0f5ff0 -/* f0f5fa0: 01c94021 */ addu $t0,$t6,$t1 -/* f0f5fa4: 3c013f80 */ lui $at,0x3f80 -/* f0f5fa8: 44819000 */ mtc1 $at,$f18 -/* f0f5fac: 8fb901d4 */ lw $t9,0x1d4($sp) -/* f0f5fb0: 8fab01bc */ lw $t3,0x1bc($sp) -/* f0f5fb4: 8faf01b8 */ lw $t7,0x1b8($sp) -/* f0f5fb8: 25300001 */ addiu $s0,$t1,0x1 -/* f0f5fbc: 2511ffff */ addiu $s1,$t0,-1 -/* f0f5fc0: 02203825 */ or $a3,$s1,$zero -/* f0f5fc4: 02002825 */ or $a1,$s0,$zero -/* f0f5fc8: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5fcc: 02a03025 */ or $a2,$s5,$zero -/* f0f5fd0: afa20014 */ sw $v0,0x14($sp) -/* f0f5fd4: afb90010 */ sw $t9,0x10($sp) -/* f0f5fd8: e7b20020 */ swc1 $f18,0x20($sp) -/* f0f5fdc: afab0018 */ sw $t3,0x18($sp) -/* f0f5fe0: 0fc3836b */ jal menugfxRenderDialogBackground -/* f0f5fe4: afaf001c */ sw $t7,0x1c($sp) -/* f0f5fe8: 10000027 */ b .L0f0f6088 -/* f0f5fec: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f5ff0: -/* f0f5ff0: 24010002 */ addiu $at,$zero,0x2 -/* f0f5ff4: 14610013 */ bne $v1,$at,.L0f0f6044 -/* f0f5ff8: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f5ffc: 8fb801d4 */ lw $t8,0x1d4($sp) -/* f0f6000: 8fad01bc */ lw $t5,0x1bc($sp) -/* f0f6004: 8fac01b8 */ lw $t4,0x1b8($sp) -/* f0f6008: afa20014 */ sw $v0,0x14($sp) -/* f0f600c: afb80010 */ sw $t8,0x10($sp) -/* f0f6010: afad0018 */ sw $t5,0x18($sp) -/* f0f6014: afac001c */ sw $t4,0x1c($sp) -/* f0f6018: c4440050 */ lwc1 $f4,0x50($v0) -/* f0f601c: 25300001 */ addiu $s0,$t1,0x1 -/* f0f6020: 2511ffff */ addiu $s1,$t0,-1 -/* f0f6024: 02203825 */ or $a3,$s1,$zero -/* f0f6028: 02002825 */ or $a1,$s0,$zero -/* f0f602c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6030: 02a03025 */ or $a2,$s5,$zero -/* f0f6034: 0fc3836b */ jal menugfxRenderDialogBackground -/* f0f6038: e7a40020 */ swc1 $f4,0x20($sp) -/* f0f603c: 10000012 */ b .L0f0f6088 -/* f0f6040: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f6044: -/* f0f6044: 3c01bf80 */ lui $at,0xbf80 -/* f0f6048: 44813000 */ mtc1 $at,$f6 -/* f0f604c: 8fae01d4 */ lw $t6,0x1d4($sp) -/* f0f6050: 8fb901bc */ lw $t9,0x1bc($sp) -/* f0f6054: 8fab01b8 */ lw $t3,0x1b8($sp) -/* f0f6058: 25300001 */ addiu $s0,$t1,0x1 -/* f0f605c: 2511ffff */ addiu $s1,$t0,-1 -/* f0f6060: 02203825 */ or $a3,$s1,$zero -/* f0f6064: 02002825 */ or $a1,$s0,$zero -/* f0f6068: 02a03025 */ or $a2,$s5,$zero -/* f0f606c: afa20014 */ sw $v0,0x14($sp) -/* f0f6070: afae0010 */ sw $t6,0x10($sp) -/* f0f6074: e7a60020 */ swc1 $f6,0x20($sp) -/* f0f6078: afb90018 */ sw $t9,0x18($sp) -/* f0f607c: 0fc3836b */ jal menugfxRenderDialogBackground -/* f0f6080: afab001c */ sw $t3,0x1c($sp) -/* f0f6084: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f6088: -/* f0f6088: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f608c: 8c4f0000 */ lw $t7,0x0($v0) -/* f0f6090: 8df80010 */ lw $t8,0x10($t7) -/* f0f6094: 330d0100 */ andi $t5,$t8,0x100 -/* f0f6098: 51a00046 */ beqzl $t5,.L0f0f61b4 -/* f0f609c: 904d0060 */ lbu $t5,0x60($v0) -/* f0f60a0: c4400040 */ lwc1 $f0,0x40($v0) -/* f0f60a4: 4614003c */ c.lt.s $f0,$f20 -/* f0f60a8: 00000000 */ nop -/* f0f60ac: 4502000b */ bc1fl .L0f0f60dc -/* f0f60b0: 904b003d */ lbu $t3,0x3d($v0) -/* f0f60b4: 904c003c */ lbu $t4,0x3c($v0) -/* f0f60b8: 3c197f1b */ lui $t9,%hi(g_MenuColourPalettes) -/* f0f60bc: 27391fb0 */ addiu $t9,$t9,%lo(g_MenuColourPalettes) -/* f0f60c0: 000c7100 */ sll $t6,$t4,0x4 -/* f0f60c4: 01cc7023 */ subu $t6,$t6,$t4 -/* f0f60c8: 000e7080 */ sll $t6,$t6,0x2 -/* f0f60cc: 01d91821 */ addu $v1,$t6,$t9 -/* f0f60d0: 1000001b */ b .L0f0f6140 -/* f0f60d4: 8c720000 */ lw $s2,0x0($v1) -/* f0f60d8: 904b003d */ lbu $t3,0x3d($v0) -.L0f0f60dc: -/* f0f60dc: 904c003c */ lbu $t4,0x3c($v0) -/* f0f60e0: 3c187f1b */ lui $t8,%hi(g_MenuColourPalettes) -/* f0f60e4: 000b7900 */ sll $t7,$t3,0x4 -/* f0f60e8: 000c7100 */ sll $t6,$t4,0x4 -/* f0f60ec: 27181fb0 */ addiu $t8,$t8,%lo(g_MenuColourPalettes) -/* f0f60f0: 01eb7823 */ subu $t7,$t7,$t3 -/* f0f60f4: 01cc7023 */ subu $t6,$t6,$t4 -/* f0f60f8: 000e7080 */ sll $t6,$t6,0x2 -/* f0f60fc: 000f7880 */ sll $t7,$t7,0x2 -/* f0f6100: 01f86821 */ addu $t5,$t7,$t8 -/* f0f6104: 01d8c821 */ addu $t9,$t6,$t8 -/* f0f6108: 8f250000 */ lw $a1,0x0($t9) -/* f0f610c: 8da40000 */ lw $a0,0x0($t5) -/* f0f6110: 0fc01a40 */ jal colourBlend -/* f0f6114: 8c460044 */ lw $a2,0x44($v0) -/* f0f6118: 00409025 */ or $s2,$v0,$zero -/* f0f611c: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6120: 3c0c7f1b */ lui $t4,%hi(g_MenuColourPalettes) -/* f0f6124: 258c1fb0 */ addiu $t4,$t4,%lo(g_MenuColourPalettes) -/* f0f6128: 904f003c */ lbu $t7,0x3c($v0) -/* f0f612c: c4400040 */ lwc1 $f0,0x40($v0) -/* f0f6130: 000f6900 */ sll $t5,$t7,0x4 -/* f0f6134: 01af6823 */ subu $t5,$t5,$t7 -/* f0f6138: 000d6880 */ sll $t5,$t5,0x2 -/* f0f613c: 01ac1821 */ addu $v1,$t5,$t4 -.L0f0f6140: -/* f0f6140: 4614003c */ c.lt.s $f0,$f20 -/* f0f6144: 3c047f1b */ lui $a0,%hi(g_MenuColourPalettes+0x8) -/* f0f6148: 45020004 */ bc1fl .L0f0f615c -/* f0f614c: 904e003d */ lbu $t6,0x3d($v0) -/* f0f6150: 1000000b */ b .L0f0f6180 -/* f0f6154: 8c680008 */ lw $t0,0x8($v1) -/* f0f6158: 904e003d */ lbu $t6,0x3d($v0) -.L0f0f615c: -/* f0f615c: 8c650008 */ lw $a1,0x8($v1) -/* f0f6160: 8c460044 */ lw $a2,0x44($v0) -/* f0f6164: 000ec100 */ sll $t8,$t6,0x4 -/* f0f6168: 030ec023 */ subu $t8,$t8,$t6 -/* f0f616c: 0018c080 */ sll $t8,$t8,0x2 -/* f0f6170: 00982021 */ addu $a0,$a0,$t8 -/* f0f6174: 0fc01a40 */ jal colourBlend -/* f0f6178: 8c841fb8 */ lw $a0,%lo(g_MenuColourPalettes+0x8)($a0) -/* f0f617c: 00404025 */ or $t0,$v0,$zero -.L0f0f6180: -/* f0f6180: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f6184: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6188: 02002825 */ or $a1,$s0,$zero -/* f0f618c: 272f000c */ addiu $t7,$t9,0xc -/* f0f6190: afaf0010 */ sw $t7,0x10($sp) -/* f0f6194: 02a03025 */ or $a2,$s5,$zero -/* f0f6198: 02203825 */ or $a3,$s1,$zero -/* f0f619c: afb20014 */ sw $s2,0x14($sp) -/* f0f61a0: 0fc38bba */ jal menugfxDrawDialogBorderLine -/* f0f61a4: afa80018 */ sw $t0,0x18($sp) -/* f0f61a8: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f61ac: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f61b0: 904d0060 */ lbu $t5,0x60($v0) -.L0f0f61b4: -/* f0f61b4: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f61b8: 87ac01ca */ lh $t4,0x1ca($sp) -/* f0f61bc: 15a00003 */ bnez $t5,.L0f0f61cc -/* f0f61c0: 24720002 */ addiu $s2,$v1,0x2 -/* f0f61c4: 100004ab */ b .L0f0f7474 -/* f0f61c8: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f61cc: -/* f0f61cc: 01835821 */ addu $t3,$t4,$v1 -/* f0f61d0: 0c002f40 */ jal viGetViewLeft -/* f0f61d4: afab0088 */ sw $t3,0x88($sp) -/* f0f61d8: 3c0e8008 */ lui $t6,%hi(g_ScaleX) -/* f0f61dc: 8dcefac0 */ lw $t6,%lo(g_ScaleX)($t6) -/* f0f61e0: 004e001a */ div $zero,$v0,$t6 -/* f0f61e4: 00009812 */ mflo $s3 -/* f0f61e8: 15c00002 */ bnez $t6,.L0f0f61f4 -/* f0f61ec: 00000000 */ nop -/* f0f61f0: 0007000d */ break 0x7 -.L0f0f61f4: -/* f0f61f4: 2401ffff */ addiu $at,$zero,-1 -/* f0f61f8: 15c10004 */ bne $t6,$at,.L0f0f620c -/* f0f61fc: 3c018000 */ lui $at,0x8000 -/* f0f6200: 14410002 */ bne $v0,$at,.L0f0f620c -/* f0f6204: 00000000 */ nop -/* f0f6208: 0006000d */ break 0x6 -.L0f0f620c: -/* f0f620c: 0c002f44 */ jal viGetViewTop -/* f0f6210: 00000000 */ nop -/* f0f6214: 0c002f40 */ jal viGetViewLeft -/* f0f6218: 0040a025 */ or $s4,$v0,$zero -/* f0f621c: 00028400 */ sll $s0,$v0,0x10 -/* f0f6220: 0010c403 */ sra $t8,$s0,0x10 -/* f0f6224: 0c002f22 */ jal viGetViewWidth -/* f0f6228: 03008025 */ or $s0,$t8,$zero -/* f0f622c: 3c0f8008 */ lui $t7,%hi(g_ScaleX) -/* f0f6230: 8deffac0 */ lw $t7,%lo(g_ScaleX)($t7) -/* f0f6234: 0050c821 */ addu $t9,$v0,$s0 -/* f0f6238: 032f001a */ div $zero,$t9,$t7 -/* f0f623c: 00008812 */ mflo $s1 -/* f0f6240: 15e00002 */ bnez $t7,.L0f0f624c -/* f0f6244: 00000000 */ nop -/* f0f6248: 0007000d */ break 0x7 -.L0f0f624c: -/* f0f624c: 2401ffff */ addiu $at,$zero,-1 -/* f0f6250: 15e10004 */ bne $t7,$at,.L0f0f6264 -/* f0f6254: 3c018000 */ lui $at,0x8000 -/* f0f6258: 17210002 */ bne $t9,$at,.L0f0f6264 -/* f0f625c: 00000000 */ nop -/* f0f6260: 0006000d */ break 0x6 -.L0f0f6264: -/* f0f6264: 0c002f44 */ jal viGetViewTop -/* f0f6268: 00000000 */ nop -/* f0f626c: 00028400 */ sll $s0,$v0,0x10 -/* f0f6270: 00106c03 */ sra $t5,$s0,0x10 -/* f0f6274: 0c002f26 */ jal viGetViewHeight -/* f0f6278: 01a08025 */ or $s0,$t5,$zero -/* f0f627c: 8fac0088 */ lw $t4,0x88($sp) -/* f0f6280: 3c08800a */ lui $t0,%hi(g_MenuScissorX1) -/* f0f6284: 25082038 */ addiu $t0,$t0,%lo(g_MenuScissorX1) -/* f0f6288: 3c0a800a */ lui $t2,%hi(g_MenuScissorX2) -/* f0f628c: ad120000 */ sw $s2,0x0($t0) -/* f0f6290: 3c01800a */ lui $at,%hi(g_MenuScissorX2) -/* f0f6294: 258bfffe */ addiu $t3,$t4,-2 -/* f0f6298: 254a203c */ addiu $t2,$t2,%lo(g_MenuScissorX2) -/* f0f629c: ac2b203c */ sw $t3,%lo(g_MenuScissorX2)($at) -/* f0f62a0: 8fae01d4 */ lw $t6,0x1d4($sp) -/* f0f62a4: 8d440000 */ lw $a0,0x0($t2) -/* f0f62a8: 3c03800a */ lui $v1,%hi(g_MenuScissorY2) -/* f0f62ac: 3c09800a */ lui $t1,%hi(g_MenuScissorY1) -/* f0f62b0: 25292040 */ addiu $t1,$t1,%lo(g_MenuScissorY1) -/* f0f62b4: 24632044 */ addiu $v1,$v1,%lo(g_MenuScissorY2) -/* f0f62b8: 25d8ffff */ addiu $t8,$t6,-1 -/* f0f62bc: 0093082a */ slt $at,$a0,$s3 -/* f0f62c0: ad350000 */ sw $s5,0x0($t1) -/* f0f62c4: 10200003 */ beqz $at,.L0f0f62d4 -/* f0f62c8: ac780000 */ sw $t8,0x0($v1) -/* f0f62cc: 10000469 */ b .L0f0f7474 -/* f0f62d0: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f62d4: -/* f0f62d4: 8c650000 */ lw $a1,0x0($v1) -/* f0f62d8: 00b4082a */ slt $at,$a1,$s4 -/* f0f62dc: 50200004 */ beqzl $at,.L0f0f62f0 -/* f0f62e0: 8d060000 */ lw $a2,0x0($t0) -/* f0f62e4: 10000463 */ b .L0f0f7474 -/* f0f62e8: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f62ec: 8d060000 */ lw $a2,0x0($t0) -.L0f0f62f0: -/* f0f62f0: 0226082a */ slt $at,$s1,$a2 -/* f0f62f4: 50200004 */ beqzl $at,.L0f0f6308 -/* f0f62f8: 8d270000 */ lw $a3,0x0($t1) -/* f0f62fc: 1000045d */ b .L0f0f7474 -/* f0f6300: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f6304: 8d270000 */ lw $a3,0x0($t1) -.L0f0f6308: -/* f0f6308: 00501821 */ addu $v1,$v0,$s0 -/* f0f630c: 0067082a */ slt $at,$v1,$a3 -/* f0f6310: 50200004 */ beqzl $at,.L0f0f6324 -/* f0f6314: 0224082a */ slt $at,$s1,$a0 -/* f0f6318: 10000456 */ b .L0f0f7474 -/* f0f631c: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f6320: 0224082a */ slt $at,$s1,$a0 -.L0f0f6324: -/* f0f6324: 50200004 */ beqzl $at,.L0f0f6338 -/* f0f6328: 0065082a */ slt $at,$v1,$a1 -/* f0f632c: ad510000 */ sw $s1,0x0($t2) -/* f0f6330: 02202025 */ or $a0,$s1,$zero -/* f0f6334: 0065082a */ slt $at,$v1,$a1 -.L0f0f6338: -/* f0f6338: 10200004 */ beqz $at,.L0f0f634c -/* f0f633c: 3c01800a */ lui $at,%hi(g_MenuScissorY2) -/* f0f6340: ac232044 */ sw $v1,%lo(g_MenuScissorY2)($at) -/* f0f6344: 3c05800a */ lui $a1,%hi(g_MenuScissorY2) -/* f0f6348: 8ca52044 */ lw $a1,%lo(g_MenuScissorY2)($a1) -.L0f0f634c: -/* f0f634c: 00d3082a */ slt $at,$a2,$s3 -/* f0f6350: 50200003 */ beqzl $at,.L0f0f6360 -/* f0f6354: 0094082a */ slt $at,$a0,$s4 -/* f0f6358: ad130000 */ sw $s3,0x0($t0) -/* f0f635c: 0094082a */ slt $at,$a0,$s4 -.L0f0f6360: -/* f0f6360: 10200002 */ beqz $at,.L0f0f636c -/* f0f6364: 00000000 */ nop -/* f0f6368: ad540000 */ sw $s4,0x0($t2) -.L0f0f636c: -/* f0f636c: 3c01800a */ lui $at,%hi(var8009de90) -/* f0f6370: ac27de90 */ sw $a3,%lo(var8009de90)($at) -/* f0f6374: 3c01800a */ lui $at,%hi(var8009de94) -/* f0f6378: ac25de94 */ sw $a1,%lo(var8009de94)($at) -/* f0f637c: 0fc3d43f */ jal menuApplyScissor -/* f0f6380: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6384: 3c198007 */ lui $t9,%hi(g_MpPlayerNum) -/* f0f6388: 8f391448 */ lw $t9,%lo(g_MpPlayerNum)($t9) -/* f0f638c: 3c0d800a */ lui $t5,%hi(g_Menus) -/* f0f6390: 25ade000 */ addiu $t5,$t5,%lo(g_Menus) -/* f0f6394: 001978c0 */ sll $t7,$t9,0x3 -/* f0f6398: 01f97823 */ subu $t7,$t7,$t9 -/* f0f639c: 000f7880 */ sll $t7,$t7,0x2 -/* f0f63a0: 01f97821 */ addu $t7,$t7,$t9 -/* f0f63a4: 000f78c0 */ sll $t7,$t7,0x3 -/* f0f63a8: 01f97823 */ subu $t7,$t7,$t9 -/* f0f63ac: 000f7900 */ sll $t7,$t7,0x4 -/* f0f63b0: 01ed1821 */ addu $v1,$t7,$t5 -/* f0f63b4: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f63b8: 8c6c04f8 */ lw $t4,0x4f8($v1) -/* f0f63bc: 00402025 */ or $a0,$v0,$zero -/* f0f63c0: 54ec0033 */ bnel $a3,$t4,.L0f0f6490 -/* f0f63c4: 90f8003c */ lbu $t8,0x3c($a3) -/* f0f63c8: 8ceb0000 */ lw $t3,0x0($a3) -/* f0f63cc: 8fb901f4 */ lw $t9,0x1f4($sp) -/* f0f63d0: 8d6e0010 */ lw $t6,0x10($t3) -/* f0f63d4: 31d80002 */ andi $t8,$t6,0x2 -/* f0f63d8: 5300002d */ beqzl $t8,.L0f0f6490 -/* f0f63dc: 90f8003c */ lbu $t8,0x3c($a3) -/* f0f63e0: 5720002b */ bnezl $t9,.L0f0f6490 -/* f0f63e4: 90f8003c */ lbu $t8,0x3c($a3) -/* f0f63e8: 8c6f0df0 */ lw $t7,0xdf0($v1) -/* f0f63ec: 3c0bb700 */ lui $t3,0xb700 -/* f0f63f0: 240e0001 */ addiu $t6,$zero,0x1 -/* f0f63f4: 000f6380 */ sll $t4,$t7,0xe -/* f0f63f8: 05800024 */ bltz $t4,.L0f0f648c -/* f0f63fc: 3c188007 */ lui $t8,%hi(g_MpPlayerNum) -/* f0f6400: ac4b0000 */ sw $t3,0x0($v0) -/* f0f6404: ac4e0004 */ sw $t6,0x4($v0) -/* f0f6408: 8f181448 */ lw $t8,%lo(g_MpPlayerNum)($t8) -/* f0f640c: 3c0d800a */ lui $t5,%hi(g_Menus) -/* f0f6410: 25ade000 */ addiu $t5,$t5,%lo(g_Menus) -/* f0f6414: 0018c8c0 */ sll $t9,$t8,0x3 -/* f0f6418: 0338c823 */ subu $t9,$t9,$t8 -/* f0f641c: 0019c880 */ sll $t9,$t9,0x2 -/* f0f6420: 0338c821 */ addu $t9,$t9,$t8 -/* f0f6424: 0019c8c0 */ sll $t9,$t9,0x3 -/* f0f6428: 0338c823 */ subu $t9,$t9,$t8 -/* f0f642c: 0019c900 */ sll $t9,$t9,0x4 -/* f0f6430: 272f0840 */ addiu $t7,$t9,0x840 -/* f0f6434: 24840008 */ addiu $a0,$a0,0x8 -/* f0f6438: 01ed2821 */ addu $a1,$t7,$t5 -/* f0f643c: 0fc3ce2c */ jal menuRenderModels -/* f0f6440: 00003025 */ or $a2,$zero,$zero -/* f0f6444: 244c0008 */ addiu $t4,$v0,0x8 -/* f0f6448: afac01e8 */ sw $t4,0x1e8($sp) -/* f0f644c: 3c0bb600 */ lui $t3,0xb600 -/* f0f6450: 240e0001 */ addiu $t6,$zero,0x1 -/* f0f6454: ac4e0004 */ sw $t6,0x4($v0) -/* f0f6458: ac4b0000 */ sw $t3,0x0($v0) -/* f0f645c: 8fd00284 */ lw $s0,0x284($s8) -/* f0f6460: 86040634 */ lh $a0,0x634($s0) -/* f0f6464: 0c002f2a */ jal viSetViewPosition -/* f0f6468: 86050636 */ lh $a1,0x636($s0) -/* f0f646c: 8fd00284 */ lw $s0,0x284($s8) -/* f0f6470: c60c1854 */ lwc1 $f12,0x1854($s0) -/* f0f6474: c60e1858 */ lwc1 $f14,0x1858($s0) -/* f0f6478: 86060630 */ lh $a2,0x630($s0) -/* f0f647c: 0c002f76 */ jal viSetFovAspectAndSize -/* f0f6480: 86070632 */ lh $a3,0x632($s0) -/* f0f6484: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f6488: 8fa401e8 */ lw $a0,0x1e8($sp) -.L0f0f648c: -/* f0f648c: 90f8003c */ lbu $t8,0x3c($a3) -.L0f0f6490: -/* f0f6490: 57000008 */ bnezl $t8,.L0f0f64b4 -/* f0f6494: 8fb901e0 */ lw $t9,0x1e0($sp) -/* f0f6498: c4e80040 */ lwc1 $f8,0x40($a3) -/* f0f649c: 00809825 */ or $s3,$a0,$zero -/* f0f64a0: 4608a03e */ c.le.s $f20,$f8 -/* f0f64a4: 00000000 */ nop -/* f0f64a8: 45020292 */ bc1fl .L0f0f6ef4 -/* f0f64ac: 24840008 */ addiu $a0,$a0,0x8 -/* f0f64b0: 8fb901e0 */ lw $t9,0x1e0($sp) -.L0f0f64b4: -/* f0f64b4: afa00130 */ sw $zero,0x130($sp) -/* f0f64b8: afa001e4 */ sw $zero,0x1e4($sp) -/* f0f64bc: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f64c0: afb90194 */ sw $t9,0x194($sp) -/* f0f64c4: 90ef0005 */ lbu $t7,0x5($a3) -/* f0f64c8: 59e001e7 */ blezl $t7,.L0f0f6c68 -/* f0f64cc: 8fad01f4 */ lw $t5,0x1f4($sp) -/* f0f64d0: afa401e8 */ sw $a0,0x1e8($sp) -.L0f0f64d4: -/* f0f64d4: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f64d8: 8fad01dc */ lw $t5,0x1dc($sp) -/* f0f64dc: 3c057f1b */ lui $a1,%hi(g_MenuColourPalettes+0x18) -/* f0f64e0: 8c4c0064 */ lw $t4,0x64($v0) -/* f0f64e4: afa00128 */ sw $zero,0x128($sp) -/* f0f64e8: 01ac5821 */ addu $t3,$t5,$t4 -/* f0f64ec: 256e000c */ addiu $t6,$t3,0xc -/* f0f64f0: afae012c */ sw $t6,0x12c($sp) -/* f0f64f4: 9058003c */ lbu $t8,0x3c($v0) -/* f0f64f8: afa001c0 */ sw $zero,0x1c0($sp) -/* f0f64fc: c44a0040 */ lwc1 $f10,0x40($v0) -/* f0f6500: 0018c900 */ sll $t9,$t8,0x4 -/* f0f6504: 0338c823 */ subu $t9,$t9,$t8 -/* f0f6508: 4614503c */ c.lt.s $f10,$f20 -/* f0f650c: 0019c880 */ sll $t9,$t9,0x2 -/* f0f6510: 00b92821 */ addu $a1,$a1,$t9 -/* f0f6514: 8ca51fc8 */ lw $a1,%lo(g_MenuColourPalettes+0x18)($a1) -/* f0f6518: 45020005 */ bc1fl .L0f0f6530 -/* f0f651c: 904f003d */ lbu $t7,0x3d($v0) -/* f0f6520: afa50120 */ sw $a1,0x120($sp) -/* f0f6524: 1000000d */ b .L0f0f655c -/* f0f6528: 90430004 */ lbu $v1,0x4($v0) -/* f0f652c: 904f003d */ lbu $t7,0x3d($v0) -.L0f0f6530: -/* f0f6530: 3c047f1b */ lui $a0,%hi(g_MenuColourPalettes+0x18) -/* f0f6534: 8c460044 */ lw $a2,0x44($v0) -/* f0f6538: 000f6900 */ sll $t5,$t7,0x4 -/* f0f653c: 01af6823 */ subu $t5,$t5,$t7 -/* f0f6540: 000d6880 */ sll $t5,$t5,0x2 -/* f0f6544: 008d2021 */ addu $a0,$a0,$t5 -/* f0f6548: 0fc01a40 */ jal colourBlend -/* f0f654c: 8c841fc8 */ lw $a0,%lo(g_MenuColourPalettes+0x18)($a0) -/* f0f6550: afa20120 */ sw $v0,0x120($sp) -/* f0f6554: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f6558: 90430004 */ lbu $v1,0x4($v0) -.L0f0f655c: -/* f0f655c: 8fab0120 */ lw $t3,0x120($sp) -/* f0f6560: 8fb901e4 */ lw $t9,0x1e4($sp) -/* f0f6564: 2401ff00 */ addiu $at,$zero,-256 -/* f0f6568: 01617024 */ and $t6,$t3,$at -/* f0f656c: 35d8003f */ ori $t8,$t6,0x3f -/* f0f6570: afb80120 */ sw $t8,0x120($sp) -/* f0f6574: 13200010 */ beqz $t9,.L0f0f65b8 -/* f0f6578: 00798021 */ addu $s0,$v1,$t9 -/* f0f657c: 8c4f0000 */ lw $t7,0x0($v0) -/* f0f6580: 8fa70194 */ lw $a3,0x194($sp) -/* f0f6584: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f6588: 8ded0010 */ lw $t5,0x10($t7) -/* f0f658c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6590: 24e5ffff */ addiu $a1,$a3,-1 -/* f0f6594: 31ac0400 */ andi $t4,$t5,0x400 -/* f0f6598: 15800007 */ bnez $t4,.L0f0f65b8 -/* f0f659c: 24c6000c */ addiu $a2,$a2,0xc -/* f0f65a0: 8fab01d4 */ lw $t3,0x1d4($sp) -/* f0f65a4: afb80014 */ sw $t8,0x14($sp) -/* f0f65a8: afb80018 */ sw $t8,0x18($sp) -/* f0f65ac: 0fc38bd7 */ jal menugfxDrawFilledRect -/* f0f65b0: afab0010 */ sw $t3,0x10($sp) -/* f0f65b4: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f65b8: -/* f0f65b8: 8fae01f0 */ lw $t6,0x1f0($sp) -/* f0f65bc: 0010c880 */ sll $t9,$s0,0x2 -/* f0f65c0: 0330c821 */ addu $t9,$t9,$s0 -/* f0f65c4: 0019c840 */ sll $t9,$t9,0x1 -/* f0f65c8: 01d92821 */ addu $a1,$t6,$t9 -/* f0f65cc: 84a40660 */ lh $a0,0x660($a1) -/* f0f65d0: 8faf0130 */ lw $t7,0x130($sp) -/* f0f65d4: 8fb801ec */ lw $t8,0x1ec($sp) -/* f0f65d8: 8fab01e4 */ lw $t3,0x1e4($sp) -/* f0f65dc: 01e46021 */ addu $t4,$t7,$a0 -/* f0f65e0: afac0130 */ sw $t4,0x130($sp) -/* f0f65e4: afa40124 */ sw $a0,0x124($sp) -/* f0f65e8: 93030005 */ lbu $v1,0x5($t8) -/* f0f65ec: 256e0001 */ addiu $t6,$t3,0x1 -/* f0f65f0: 8fb90088 */ lw $t9,0x88($sp) -/* f0f65f4: 15c30009 */ bne $t6,$v1,.L0f0f661c -/* f0f65f8: 00806825 */ or $t5,$a0,$zero -/* f0f65fc: 8faf01e0 */ lw $t7,0x1e0($sp) -/* f0f6600: 032f1023 */ subu $v0,$t9,$t7 -/* f0f6604: 2442fffe */ addiu $v0,$v0,-2 -/* f0f6608: 0182082a */ slt $at,$t4,$v0 -/* f0f660c: 10200003 */ beqz $at,.L0f0f661c -/* f0f6610: 01a2c021 */ addu $t8,$t5,$v0 -/* f0f6614: 030c5823 */ subu $t3,$t8,$t4 -/* f0f6618: afab0124 */ sw $t3,0x124($sp) -.L0f0f661c: -/* f0f661c: 90ae0668 */ lbu $t6,0x668($a1) -/* f0f6620: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f6624: 19c00187 */ blez $t6,.L0f0f6c44 -/* f0f6628: 272f000c */ addiu $t7,$t9,0xc -/* f0f662c: afaf0084 */ sw $t7,0x84($sp) -/* f0f6630: afa50080 */ sw $a1,0x80($sp) -/* f0f6634: 8fb80080 */ lw $t8,0x80($sp) -.L0f0f6638: -/* f0f6638: afa00114 */ sw $zero,0x114($sp) -/* f0f663c: 8fab01c0 */ lw $t3,0x1c0($sp) -/* f0f6640: 970c0666 */ lhu $t4,0x666($t8) -/* f0f6644: 8fae01f0 */ lw $t6,0x1f0($sp) -/* f0f6648: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f664c: 018b1821 */ addu $v1,$t4,$t3 -/* f0f6650: 0003c880 */ sll $t9,$v1,0x2 -/* f0f6654: 01d91021 */ addu $v0,$t6,$t9 -/* f0f6658: 904f04fe */ lbu $t7,0x4fe($v0) -/* f0f665c: 8dac0000 */ lw $t4,0x0($t5) -/* f0f6660: 00002825 */ or $a1,$zero,$zero -/* f0f6664: 000fc080 */ sll $t8,$t7,0x2 -/* f0f6668: 8d8b0008 */ lw $t3,0x8($t4) -/* f0f666c: 030fc021 */ addu $t8,$t8,$t7 -/* f0f6670: 0018c080 */ sll $t8,$t8,0x2 -/* f0f6674: 030b3021 */ addu $a2,$t8,$t3 -/* f0f6678: afa60118 */ sw $a2,0x118($sp) -/* f0f667c: afa2007c */ sw $v0,0x7c($sp) -/* f0f6680: 8dae0008 */ lw $t6,0x8($t5) -/* f0f6684: 00002025 */ or $a0,$zero,$zero -/* f0f6688: 24190001 */ addiu $t9,$zero,0x1 -/* f0f668c: 54ce0008 */ bnel $a2,$t6,.L0f0f66b0 -/* f0f6690: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f6694: afb90114 */ sw $t9,0x114($sp) -/* f0f6698: 8daf000c */ lw $t7,0xc($t5) -/* f0f669c: 240c0003 */ addiu $t4,$zero,0x3 -/* f0f66a0: 51e00003 */ beqzl $t7,.L0f0f66b0 -/* f0f66a4: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f66a8: afac0114 */ sw $t4,0x114($sp) -/* f0f66ac: 8fb8007c */ lw $t8,0x7c($sp) -.L0f0f66b0: -/* f0f66b0: 2401ffff */ addiu $at,$zero,-1 -/* f0f66b4: 8fa3012c */ lw $v1,0x12c($sp) -/* f0f66b8: 830204ff */ lb $v0,0x4ff($t8) -/* f0f66bc: 8fab01f0 */ lw $t3,0x1f0($sp) -/* f0f66c0: 8fb90194 */ lw $t9,0x194($sp) -/* f0f66c4: 10410003 */ beq $v0,$at,.L0f0f66d4 -/* f0f66c8: 00027080 */ sll $t6,$v0,0x2 -/* f0f66cc: 016e2821 */ addu $a1,$t3,$t6 -/* f0f66d0: 24a506dc */ addiu $a1,$a1,0x6dc -.L0f0f66d4: -/* f0f66d4: 8fad0124 */ lw $t5,0x124($sp) -/* f0f66d8: 8faf007c */ lw $t7,0x7c($sp) -/* f0f66dc: a7b90198 */ sh $t9,0x198($sp) -/* f0f66e0: a7a3019a */ sh $v1,0x19a($sp) -/* f0f66e4: a7ad019c */ sh $t5,0x19c($sp) -/* f0f66e8: 85ec04fc */ lh $t4,0x4fc($t7) -/* f0f66ec: 8fae0084 */ lw $t6,0x84($sp) -/* f0f66f0: 00031400 */ sll $v0,$v1,0x10 -/* f0f66f4: 0002c403 */ sra $t8,$v0,0x10 -/* f0f66f8: 030c5821 */ addu $t3,$t8,$t4 -/* f0f66fc: 016e082a */ slt $at,$t3,$t6 -/* f0f6700: 03001025 */ or $v0,$t8,$zero -/* f0f6704: 10200002 */ beqz $at,.L0f0f6710 -/* f0f6708: a7ac019e */ sh $t4,0x19e($sp) -/* f0f670c: 24040001 */ addiu $a0,$zero,0x1 -.L0f0f6710: -/* f0f6710: 8fb901d4 */ lw $t9,0x1d4($sp) -/* f0f6714: 87ad019e */ lh $t5,0x19e($sp) -/* f0f6718: 8faf0118 */ lw $t7,0x118($sp) -/* f0f671c: 0322082a */ slt $at,$t9,$v0 -/* f0f6720: 10200002 */ beqz $at,.L0f0f672c -/* f0f6724: 00000000 */ nop -/* f0f6728: 24040001 */ addiu $a0,$zero,0x1 -.L0f0f672c: -/* f0f672c: 15a00002 */ bnez $t5,.L0f0f6738 -/* f0f6730: 00000000 */ nop -/* f0f6734: 24040001 */ addiu $a0,$zero,0x1 -.L0f0f6738: -/* f0f6738: 54800133 */ bnezl $a0,.L0f0f6c08 -/* f0f673c: 8fae007c */ lw $t6,0x7c($sp) -/* f0f6740: 8fab0128 */ lw $t3,0x128($sp) -/* f0f6744: 8fb80114 */ lw $t8,0x114($sp) -/* f0f6748: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f674c: afaf01a0 */ sw $t7,0x1a0($sp) -/* f0f6750: afa501ac */ sw $a1,0x1ac($sp) -/* f0f6754: afb801a4 */ sw $t8,0x1a4($sp) -/* f0f6758: 1160000e */ beqz $t3,.L0f0f6794 -/* f0f675c: afac01a8 */ sw $t4,0x1a8($sp) -/* f0f6760: 8fa30120 */ lw $v1,0x120($sp) -/* f0f6764: 87b00196 */ lh $s0,0x196($sp) -/* f0f6768: 87ae0126 */ lh $t6,0x126($sp) -/* f0f676c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6770: 2446ffff */ addiu $a2,$v0,-1 -/* f0f6774: afa20010 */ sw $v0,0x10($sp) -/* f0f6778: afa00128 */ sw $zero,0x128($sp) -/* f0f677c: afa30014 */ sw $v1,0x14($sp) -/* f0f6780: afa30018 */ sw $v1,0x18($sp) -/* f0f6784: 02002825 */ or $a1,$s0,$zero -/* f0f6788: 0fc38bd7 */ jal menugfxDrawFilledRect -/* f0f678c: 020e3821 */ addu $a3,$s0,$t6 -/* f0f6790: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f6794: -/* f0f6794: 8fb90118 */ lw $t9,0x118($sp) -/* f0f6798: 8fb801f4 */ lw $t8,0x1f4($sp) -/* f0f679c: 8f2d0004 */ lw $t5,0x4($t9) -/* f0f67a0: 31af4000 */ andi $t7,$t5,0x4000 -/* f0f67a4: 51e00046 */ beqzl $t7,.L0f0f68c0 -/* f0f67a8: 8fb90114 */ lw $t9,0x114($sp) -/* f0f67ac: 17000043 */ bnez $t8,.L0f0f68bc -/* f0f67b0: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f67b4: c5b00040 */ lwc1 $f16,0x40($t5) -/* f0f67b8: 87b00198 */ lh $s0,0x198($sp) -/* f0f67bc: 87ae019c */ lh $t6,0x19c($sp) -/* f0f67c0: 4614803c */ c.lt.s $f16,$f20 -/* f0f67c4: 87b1019a */ lh $s1,0x19a($sp) -/* f0f67c8: 87b9019e */ lh $t9,0x19e($sp) -/* f0f67cc: 01d09021 */ addu $s2,$t6,$s0 -/* f0f67d0: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f67d4: 45000009 */ bc1f .L0f0f67fc -/* f0f67d8: 03319821 */ addu $s3,$t9,$s1 -/* f0f67dc: 91af003c */ lbu $t7,0x3c($t5) -/* f0f67e0: 3c047f1b */ lui $a0,%hi(g_MenuColourPalettes+0x28) -/* f0f67e4: 000fc100 */ sll $t8,$t7,0x4 -/* f0f67e8: 030fc023 */ subu $t8,$t8,$t7 -/* f0f67ec: 0018c080 */ sll $t8,$t8,0x2 -/* f0f67f0: 00982021 */ addu $a0,$a0,$t8 -/* f0f67f4: 10000011 */ b .L0f0f683c -/* f0f67f8: 8c841fd8 */ lw $a0,%lo(g_MenuColourPalettes+0x28)($a0) -.L0f0f67fc: -/* f0f67fc: 91cc003d */ lbu $t4,0x3d($t6) -/* f0f6800: 2402003c */ addiu $v0,$zero,0x3c -/* f0f6804: 91cd003c */ lbu $t5,0x3c($t6) -/* f0f6808: 01820019 */ multu $t4,$v0 -/* f0f680c: 3c037f1b */ lui $v1,%hi(g_MenuColourPalettes) -/* f0f6810: 24631fb0 */ addiu $v1,$v1,%lo(g_MenuColourPalettes) -/* f0f6814: 8dc60044 */ lw $a2,0x44($t6) -/* f0f6818: 0000c812 */ mflo $t9 -/* f0f681c: 00795821 */ addu $t3,$v1,$t9 -/* f0f6820: 8d640028 */ lw $a0,0x28($t3) -/* f0f6824: 01a20019 */ multu $t5,$v0 -/* f0f6828: 00007812 */ mflo $t7 -/* f0f682c: 006fc021 */ addu $t8,$v1,$t7 -/* f0f6830: 0fc01a40 */ jal colourBlend -/* f0f6834: 8f050028 */ lw $a1,0x28($t8) -/* f0f6838: 00402025 */ or $a0,$v0,$zero -.L0f0f683c: -/* f0f683c: 2401ff00 */ addiu $at,$zero,-256 -/* f0f6840: 00812824 */ and $a1,$a0,$at -/* f0f6844: 0fc01a40 */ jal colourBlend -/* f0f6848: 2406007f */ addiu $a2,$zero,0x7f -/* f0f684c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6850: 0fc54df7 */ jal textSetPrimColour -/* f0f6854: 00402825 */ or $a1,$v0,$zero -/* f0f6858: 3c038008 */ lui $v1,%hi(g_ScaleX) -/* f0f685c: 2463fac0 */ addiu $v1,$v1,%lo(g_ScaleX) -/* f0f6860: 8c6c0000 */ lw $t4,0x0($v1) -/* f0f6864: 3c01f600 */ lui $at,0xf600 -/* f0f6868: 327803ff */ andi $t8,$s3,0x3ff -/* f0f686c: 024c0019 */ multu $s2,$t4 -/* f0f6870: 00187080 */ sll $t6,$t8,0x2 -/* f0f6874: 24440008 */ addiu $a0,$v0,0x8 -/* f0f6878: 0000c812 */ mflo $t9 -/* f0f687c: 332b03ff */ andi $t3,$t9,0x3ff -/* f0f6880: 000b6b80 */ sll $t5,$t3,0xe -/* f0f6884: 01a17825 */ or $t7,$t5,$at -/* f0f6888: 01ee6025 */ or $t4,$t7,$t6 -/* f0f688c: ac4c0000 */ sw $t4,0x0($v0) -/* f0f6890: 8c790000 */ lw $t9,0x0($v1) -/* f0f6894: 322f03ff */ andi $t7,$s1,0x3ff -/* f0f6898: 000f7080 */ sll $t6,$t7,0x2 -/* f0f689c: 02190019 */ multu $s0,$t9 -/* f0f68a0: 00005812 */ mflo $t3 -/* f0f68a4: 316d03ff */ andi $t5,$t3,0x3ff -/* f0f68a8: 000dc380 */ sll $t8,$t5,0xe -/* f0f68ac: 030e6025 */ or $t4,$t8,$t6 -/* f0f68b0: 0fc54e0e */ jal text0f153838 -/* f0f68b4: ac4c0004 */ sw $t4,0x4($v0) -/* f0f68b8: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f68bc: -/* f0f68bc: 8fb90114 */ lw $t9,0x114($sp) -.L0f0f68c0: -/* f0f68c0: 8fab0118 */ lw $t3,0x118($sp) -/* f0f68c4: 532000c0 */ beqzl $t9,.L0f0f6bc8 -/* f0f68c8: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f68cc: 91620000 */ lbu $v0,0x0($t3) -/* f0f68d0: 24010003 */ addiu $at,$zero,0x3 -/* f0f68d4: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f68d8: 1041000b */ beq $v0,$at,.L0f0f6908 -/* f0f68dc: 24010004 */ addiu $at,$zero,0x4 -/* f0f68e0: 10410009 */ beq $v0,$at,.L0f0f6908 -/* f0f68e4: 24010009 */ addiu $at,$zero,0x9 -/* f0f68e8: 10410007 */ beq $v0,$at,.L0f0f6908 -/* f0f68ec: 2401000a */ addiu $at,$zero,0xa -/* f0f68f0: 10410005 */ beq $v0,$at,.L0f0f6908 -/* f0f68f4: 24010008 */ addiu $at,$zero,0x8 -/* f0f68f8: 10410003 */ beq $v0,$at,.L0f0f6908 -/* f0f68fc: 2401000c */ addiu $at,$zero,0xc -/* f0f6900: 54410015 */ bnel $v0,$at,.L0f0f6958 -/* f0f6904: 24010004 */ addiu $at,$zero,0x4 -.L0f0f6908: -/* f0f6908: c5a00040 */ lwc1 $f0,0x40($t5) -/* f0f690c: 4600a03e */ c.le.s $f20,$f0 -/* f0f6910: 00000000 */ nop -/* f0f6914: 45020005 */ bc1fl .L0f0f692c -/* f0f6918: 4614003c */ c.lt.s $f0,$f20 -/* f0f691c: 91af003d */ lbu $t7,0x3d($t5) -/* f0f6920: 51e0000d */ beqzl $t7,.L0f0f6958 -/* f0f6924: 24010004 */ addiu $at,$zero,0x4 -/* f0f6928: 4614003c */ c.lt.s $f0,$f20 -.L0f0f692c: -/* f0f692c: 8fb801ec */ lw $t8,0x1ec($sp) -/* f0f6930: 45000004 */ bc1f .L0f0f6944 -/* f0f6934: 00000000 */ nop -/* f0f6938: 930e003c */ lbu $t6,0x3c($t8) -/* f0f693c: 51c00006 */ beqzl $t6,.L0f0f6958 -/* f0f6940: 24010004 */ addiu $at,$zero,0x4 -.L0f0f6944: -/* f0f6944: 0fc55809 */ jal text0f156024 -/* f0f6948: 24040001 */ addiu $a0,$zero,0x1 -/* f0f694c: 8fac0118 */ lw $t4,0x118($sp) -/* f0f6950: 91820000 */ lbu $v0,0x0($t4) -/* f0f6954: 24010004 */ addiu $at,$zero,0x4 -.L0f0f6958: -/* f0f6958: 10410008 */ beq $v0,$at,.L0f0f697c -/* f0f695c: 87a3019c */ lh $v1,0x19c($sp) -/* f0f6960: 24010009 */ addiu $at,$zero,0x9 -/* f0f6964: 10410005 */ beq $v0,$at,.L0f0f697c -/* f0f6968: 2401000a */ addiu $at,$zero,0xa -/* f0f696c: 10410003 */ beq $v0,$at,.L0f0f697c -/* f0f6970: 2401000c */ addiu $at,$zero,0xc -/* f0f6974: 54410094 */ bnel $v0,$at,.L0f0f6bc8 -/* f0f6978: 8fa401e8 */ lw $a0,0x1e8($sp) -.L0f0f697c: -/* f0f697c: 87ab019e */ lh $t3,0x19e($sp) -/* f0f6980: 8fb70120 */ lw $s7,0x120($sp) -/* f0f6984: 87a20198 */ lh $v0,0x198($sp) -/* f0f6988: 87b9019a */ lh $t9,0x19a($sp) -/* f0f698c: 05610003 */ bgez $t3,.L0f0f699c -/* f0f6990: 000b6843 */ sra $t5,$t3,0x1 -/* f0f6994: 25610001 */ addiu $at,$t3,0x1 -/* f0f6998: 00016843 */ sra $t5,$at,0x1 -.L0f0f699c: -/* f0f699c: 24010003 */ addiu $at,$zero,0x3 -/* f0f69a0: 0061001a */ div $zero,$v1,$at -/* f0f69a4: 2401ff00 */ addiu $at,$zero,-256 -/* f0f69a8: 02e1c024 */ and $t8,$s7,$at -/* f0f69ac: 00007812 */ mflo $t7 -/* f0f69b0: 370e002f */ ori $t6,$t8,0x2f -/* f0f69b4: 032d8021 */ addu $s0,$t9,$t5 -/* f0f69b8: 2610ffff */ addiu $s0,$s0,-1 -/* f0f69bc: afae0078 */ sw $t6,0x78($sp) -/* f0f69c0: 0300b825 */ or $s7,$t8,$zero -/* f0f69c4: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f69c8: 0040a025 */ or $s4,$v0,$zero -/* f0f69cc: 24510008 */ addiu $s1,$v0,0x8 -/* f0f69d0: 0fc38926 */ jal menugfx0f0e2498 -/* f0f69d4: 004ff021 */ addu $s8,$v0,$t7 -/* f0f69d8: 8fa30120 */ lw $v1,0x120($sp) -/* f0f69dc: 2615ffff */ addiu $s5,$s0,-1 -/* f0f69e0: 2632fffd */ addiu $s2,$s1,-3 -/* f0f69e4: 02403825 */ or $a3,$s2,$zero -/* f0f69e8: 02a03025 */ or $a2,$s5,$zero -/* f0f69ec: 00402025 */ or $a0,$v0,$zero -/* f0f69f0: 02802825 */ or $a1,$s4,$zero -/* f0f69f4: afb00010 */ sw $s0,0x10($sp) -/* f0f69f8: afa0001c */ sw $zero,0x1c($sp) -/* f0f69fc: afa30014 */ sw $v1,0x14($sp) -/* f0f6a00: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6a04: afa30018 */ sw $v1,0x18($sp) -/* f0f6a08: 8fac0120 */ lw $t4,0x120($sp) -/* f0f6a0c: 240bffff */ addiu $t3,$zero,-1 -/* f0f6a10: afab0018 */ sw $t3,0x18($sp) -/* f0f6a14: 00402025 */ or $a0,$v0,$zero -/* f0f6a18: 02402825 */ or $a1,$s2,$zero -/* f0f6a1c: 02a03025 */ or $a2,$s5,$zero -/* f0f6a20: 02203825 */ or $a3,$s1,$zero -/* f0f6a24: afb00010 */ sw $s0,0x10($sp) -/* f0f6a28: afa0001c */ sw $zero,0x1c($sp) -/* f0f6a2c: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6a30: afac0014 */ sw $t4,0x14($sp) -/* f0f6a34: 8fa30120 */ lw $v1,0x120($sp) -/* f0f6a38: 26130001 */ addiu $s3,$s0,0x1 -/* f0f6a3c: 26160002 */ addiu $s6,$s0,0x2 -/* f0f6a40: afb60010 */ sw $s6,0x10($sp) -/* f0f6a44: 02603025 */ or $a2,$s3,$zero -/* f0f6a48: 00402025 */ or $a0,$v0,$zero -/* f0f6a4c: 02802825 */ or $a1,$s4,$zero -/* f0f6a50: 02403825 */ or $a3,$s2,$zero -/* f0f6a54: afa0001c */ sw $zero,0x1c($sp) -/* f0f6a58: afa30014 */ sw $v1,0x14($sp) -/* f0f6a5c: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6a60: afa30018 */ sw $v1,0x18($sp) -/* f0f6a64: 8fb90120 */ lw $t9,0x120($sp) -/* f0f6a68: 240dffff */ addiu $t5,$zero,-1 -/* f0f6a6c: afad0018 */ sw $t5,0x18($sp) -/* f0f6a70: 00402025 */ or $a0,$v0,$zero -/* f0f6a74: 02402825 */ or $a1,$s2,$zero -/* f0f6a78: 02603025 */ or $a2,$s3,$zero -/* f0f6a7c: 02203825 */ or $a3,$s1,$zero -/* f0f6a80: afb60010 */ sw $s6,0x10($sp) -/* f0f6a84: afa0001c */ sw $zero,0x1c($sp) -/* f0f6a88: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6a8c: afb90014 */ sw $t9,0x14($sp) -/* f0f6a90: 8faf0078 */ lw $t7,0x78($sp) -/* f0f6a94: 00402025 */ or $a0,$v0,$zero -/* f0f6a98: 2625fffe */ addiu $a1,$s1,-2 -/* f0f6a9c: 02003025 */ or $a2,$s0,$zero -/* f0f6aa0: 03c03825 */ or $a3,$s8,$zero -/* f0f6aa4: afb30010 */ sw $s3,0x10($sp) -/* f0f6aa8: afb70018 */ sw $s7,0x18($sp) -/* f0f6aac: afa0001c */ sw $zero,0x1c($sp) -/* f0f6ab0: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6ab4: afaf0014 */ sw $t7,0x14($sp) -/* f0f6ab8: 8fb80118 */ lw $t8,0x118($sp) -/* f0f6abc: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6ac0: 87a20198 */ lh $v0,0x198($sp) -/* f0f6ac4: 8f0e0004 */ lw $t6,0x4($t8) -/* f0f6ac8: 87a3019c */ lh $v1,0x19c($sp) -/* f0f6acc: 8fa80120 */ lw $t0,0x120($sp) -/* f0f6ad0: 31cc0020 */ andi $t4,$t6,0x20 -/* f0f6ad4: 1180003b */ beqz $t4,.L0f0f6bc4 -/* f0f6ad8: 00433821 */ addu $a3,$v0,$v1 -/* f0f6adc: 24010003 */ addiu $at,$zero,0x3 -/* f0f6ae0: 0061001a */ div $zero,$v1,$at -/* f0f6ae4: 00005812 */ mflo $t3 -/* f0f6ae8: 00e0a025 */ or $s4,$a3,$zero -/* f0f6aec: 24f1fff8 */ addiu $s1,$a3,-8 -/* f0f6af0: 00ebf023 */ subu $s8,$a3,$t3 -/* f0f6af4: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6af8: 24e5fffb */ addiu $a1,$a3,-5 -/* f0f6afc: 02a03025 */ or $a2,$s5,$zero -/* f0f6b00: afb00010 */ sw $s0,0x10($sp) -/* f0f6b04: afa80014 */ sw $t0,0x14($sp) -/* f0f6b08: afa80018 */ sw $t0,0x18($sp) -/* f0f6b0c: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6b10: afa0001c */ sw $zero,0x1c($sp) -/* f0f6b14: 8fad0120 */ lw $t5,0x120($sp) -/* f0f6b18: 26320003 */ addiu $s2,$s1,0x3 -/* f0f6b1c: 2419ffff */ addiu $t9,$zero,-1 -/* f0f6b20: afb90014 */ sw $t9,0x14($sp) -/* f0f6b24: 02403825 */ or $a3,$s2,$zero -/* f0f6b28: 00402025 */ or $a0,$v0,$zero -/* f0f6b2c: 02202825 */ or $a1,$s1,$zero -/* f0f6b30: 02a03025 */ or $a2,$s5,$zero -/* f0f6b34: afb00010 */ sw $s0,0x10($sp) -/* f0f6b38: afa0001c */ sw $zero,0x1c($sp) -/* f0f6b3c: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6b40: afad0018 */ sw $t5,0x18($sp) -/* f0f6b44: 8faf0120 */ lw $t7,0x120($sp) -/* f0f6b48: 00402025 */ or $a0,$v0,$zero -/* f0f6b4c: 02402825 */ or $a1,$s2,$zero -/* f0f6b50: 02603025 */ or $a2,$s3,$zero -/* f0f6b54: 02803825 */ or $a3,$s4,$zero -/* f0f6b58: afb60010 */ sw $s6,0x10($sp) -/* f0f6b5c: afa0001c */ sw $zero,0x1c($sp) -/* f0f6b60: afaf0014 */ sw $t7,0x14($sp) -/* f0f6b64: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6b68: afaf0018 */ sw $t7,0x18($sp) -/* f0f6b6c: 8fae0120 */ lw $t6,0x120($sp) -/* f0f6b70: 2418ffff */ addiu $t8,$zero,-1 -/* f0f6b74: afb80014 */ sw $t8,0x14($sp) -/* f0f6b78: 00402025 */ or $a0,$v0,$zero -/* f0f6b7c: 02202825 */ or $a1,$s1,$zero -/* f0f6b80: 02603025 */ or $a2,$s3,$zero -/* f0f6b84: 02403825 */ or $a3,$s2,$zero -/* f0f6b88: afb60010 */ sw $s6,0x10($sp) -/* f0f6b8c: afa0001c */ sw $zero,0x1c($sp) -/* f0f6b90: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6b94: afae0018 */ sw $t6,0x18($sp) -/* f0f6b98: 8fac0078 */ lw $t4,0x78($sp) -/* f0f6b9c: 00402025 */ or $a0,$v0,$zero -/* f0f6ba0: 03c02825 */ or $a1,$s8,$zero -/* f0f6ba4: 02003025 */ or $a2,$s0,$zero -/* f0f6ba8: 26270002 */ addiu $a3,$s1,0x2 -/* f0f6bac: afb30010 */ sw $s3,0x10($sp) -/* f0f6bb0: afb70014 */ sw $s7,0x14($sp) -/* f0f6bb4: afa0001c */ sw $zero,0x1c($sp) -/* f0f6bb8: 0fc38963 */ jal menugfxDrawTri2 -/* f0f6bbc: afac0018 */ sw $t4,0x18($sp) -/* f0f6bc0: afa201e8 */ sw $v0,0x1e8($sp) -.L0f0f6bc4: -/* f0f6bc4: 8fa401e8 */ lw $a0,0x1e8($sp) -.L0f0f6bc8: -/* f0f6bc8: 0fc3c167 */ jal menuitemRender -/* f0f6bcc: 27a50198 */ addiu $a1,$sp,0x198 -/* f0f6bd0: 8fab0118 */ lw $t3,0x118($sp) -/* f0f6bd4: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6bd8: 24010002 */ addiu $at,$zero,0x2 -/* f0f6bdc: 91790000 */ lbu $t9,0x0($t3) -/* f0f6be0: 240d0001 */ addiu $t5,$zero,0x1 -/* f0f6be4: 57210003 */ bnel $t9,$at,.L0f0f6bf4 -/* f0f6be8: 8faf0114 */ lw $t7,0x114($sp) -/* f0f6bec: afad0128 */ sw $t5,0x128($sp) -/* f0f6bf0: 8faf0114 */ lw $t7,0x114($sp) -.L0f0f6bf4: -/* f0f6bf4: 51e00004 */ beqzl $t7,.L0f0f6c08 -/* f0f6bf8: 8fae007c */ lw $t6,0x7c($sp) -/* f0f6bfc: 0fc55809 */ jal text0f156024 -/* f0f6c00: 00002025 */ or $a0,$zero,$zero -/* f0f6c04: 8fae007c */ lw $t6,0x7c($sp) -.L0f0f6c08: -/* f0f6c08: 8fb901c0 */ lw $t9,0x1c0($sp) -/* f0f6c0c: 8fb8012c */ lw $t8,0x12c($sp) -/* f0f6c10: 85cc04fc */ lh $t4,0x4fc($t6) -/* f0f6c14: 8fa20080 */ lw $v0,0x80($sp) -/* f0f6c18: 272d0001 */ addiu $t5,$t9,0x1 -/* f0f6c1c: 030c5821 */ addu $t3,$t8,$t4 -/* f0f6c20: afad01c0 */ sw $t5,0x1c0($sp) -/* f0f6c24: afab012c */ sw $t3,0x12c($sp) -/* f0f6c28: 904f0668 */ lbu $t7,0x668($v0) -/* f0f6c2c: 01af082a */ slt $at,$t5,$t7 -/* f0f6c30: 5420fe81 */ bnezl $at,.L0f0f6638 -/* f0f6c34: 8fb80080 */ lw $t8,0x80($sp) -/* f0f6c38: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f6c3c: 84440660 */ lh $a0,0x660($v0) -/* f0f6c40: 91c30005 */ lbu $v1,0x5($t6) -.L0f0f6c44: -/* f0f6c44: 8fab01e4 */ lw $t3,0x1e4($sp) -/* f0f6c48: 8fb80194 */ lw $t8,0x194($sp) -/* f0f6c4c: 25790001 */ addiu $t9,$t3,0x1 -/* f0f6c50: 0323082a */ slt $at,$t9,$v1 -/* f0f6c54: 03046021 */ addu $t4,$t8,$a0 -/* f0f6c58: afb901e4 */ sw $t9,0x1e4($sp) -/* f0f6c5c: 1420fe1d */ bnez $at,.L0f0f64d4 -/* f0f6c60: afac0194 */ sw $t4,0x194($sp) -/* f0f6c64: 8fad01f4 */ lw $t5,0x1f4($sp) -.L0f0f6c68: -/* f0f6c68: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6c6c: 00002825 */ or $a1,$zero,$zero -/* f0f6c70: 15a00061 */ bnez $t5,.L0f0f6df8 -/* f0f6c74: 8faf01e0 */ lw $t7,0x1e0($sp) -/* f0f6c78: afaf0194 */ sw $t7,0x194($sp) -/* f0f6c7c: 0fc54df7 */ jal textSetPrimColour -/* f0f6c80: afa001e4 */ sw $zero,0x1e4($sp) -/* f0f6c84: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f6c88: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6c8c: 91c30005 */ lbu $v1,0x5($t6) -/* f0f6c90: 18600055 */ blez $v1,.L0f0f6de8 -/* f0f6c94: 00000000 */ nop -.L0f0f6c98: -/* f0f6c98: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f6c9c: 8fad01e4 */ lw $t5,0x1e4($sp) -/* f0f6ca0: 8fb801dc */ lw $t8,0x1dc($sp) -/* f0f6ca4: 91990004 */ lbu $t9,0x4($t4) -/* f0f6ca8: 8d8b0064 */ lw $t3,0x64($t4) -/* f0f6cac: 8faf01f0 */ lw $t7,0x1f0($sp) -/* f0f6cb0: 032d8021 */ addu $s0,$t9,$t5 -/* f0f6cb4: 00107080 */ sll $t6,$s0,0x2 -/* f0f6cb8: 01d07021 */ addu $t6,$t6,$s0 -/* f0f6cbc: 000e7040 */ sll $t6,$t6,0x1 -/* f0f6cc0: 030b8821 */ addu $s1,$t8,$t3 -/* f0f6cc4: 01eec021 */ addu $t8,$t7,$t6 -/* f0f6cc8: afb80080 */ sw $t8,0x80($sp) -/* f0f6ccc: afa001c0 */ sw $zero,0x1c0($sp) -/* f0f6cd0: 930b0668 */ lbu $t3,0x668($t8) -/* f0f6cd4: 2631000c */ addiu $s1,$s1,0xc -/* f0f6cd8: 87b00196 */ lh $s0,0x196($sp) -/* f0f6cdc: 59600039 */ blezl $t3,.L0f0f6dc4 -/* f0f6ce0: 8fb80080 */ lw $t8,0x80($sp) -/* f0f6ce4: 8fac0080 */ lw $t4,0x80($sp) -.L0f0f6ce8: -/* f0f6ce8: 8fad01c0 */ lw $t5,0x1c0($sp) -/* f0f6cec: 8faf01f0 */ lw $t7,0x1f0($sp) -/* f0f6cf0: 95990666 */ lhu $t9,0x666($t4) -/* f0f6cf4: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f6cf8: 2401ffff */ addiu $at,$zero,-1 -/* f0f6cfc: 032d1821 */ addu $v1,$t9,$t5 -/* f0f6d00: 00037080 */ sll $t6,$v1,0x2 -/* f0f6d04: 01ee2021 */ addu $a0,$t7,$t6 -/* f0f6d08: 909804fe */ lbu $t8,0x4fe($a0) -/* f0f6d0c: 8d990000 */ lw $t9,0x0($t4) -/* f0f6d10: 808204ff */ lb $v0,0x4ff($a0) -/* f0f6d14: 00185880 */ sll $t3,$t8,0x2 -/* f0f6d18: 8f2d0008 */ lw $t5,0x8($t9) -/* f0f6d1c: 01785821 */ addu $t3,$t3,$t8 -/* f0f6d20: 000b5880 */ sll $t3,$t3,0x2 -/* f0f6d24: 00004025 */ or $t0,$zero,$zero -/* f0f6d28: afa4007c */ sw $a0,0x7c($sp) -/* f0f6d2c: 10410005 */ beq $v0,$at,.L0f0f6d44 -/* f0f6d30: 016d4821 */ addu $t1,$t3,$t5 -/* f0f6d34: 00027080 */ sll $t6,$v0,0x2 -/* f0f6d38: 01ee4021 */ addu $t0,$t7,$t6 -/* f0f6d3c: 250806dc */ addiu $t0,$t0,0x6dc -/* f0f6d40: afa4007c */ sw $a0,0x7c($sp) -.L0f0f6d44: -/* f0f6d44: 8fb90080 */ lw $t9,0x80($sp) -/* f0f6d48: 8fab007c */ lw $t3,0x7c($sp) -/* f0f6d4c: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f6d50: 87270660 */ lh $a3,0x660($t9) -/* f0f6d54: 856d04fc */ lh $t5,0x4fc($t3) -/* f0f6d58: 00102c00 */ sll $a1,$s0,0x10 -/* f0f6d5c: 00113400 */ sll $a2,$s1,0x10 -/* f0f6d60: 00066403 */ sra $t4,$a2,0x10 -/* f0f6d64: 0005c403 */ sra $t8,$a1,0x10 -/* f0f6d68: 03002825 */ or $a1,$t8,$zero -/* f0f6d6c: 01803025 */ or $a2,$t4,$zero -/* f0f6d70: afa8001c */ sw $t0,0x1c($sp) -/* f0f6d74: afa90014 */ sw $t1,0x14($sp) -/* f0f6d78: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6d7c: afaf0018 */ sw $t7,0x18($sp) -/* f0f6d80: 0fc3c246 */ jal menuitemOverlay -/* f0f6d84: afad0010 */ sw $t5,0x10($sp) -/* f0f6d88: 8fac01c0 */ lw $t4,0x1c0($sp) -/* f0f6d8c: 8fae007c */ lw $t6,0x7c($sp) -/* f0f6d90: 8fab0080 */ lw $t3,0x80($sp) -/* f0f6d94: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6d98: 85d804fc */ lh $t8,0x4fc($t6) -/* f0f6d9c: 25990001 */ addiu $t9,$t4,0x1 -/* f0f6da0: afb901c0 */ sw $t9,0x1c0($sp) -/* f0f6da4: 916d0668 */ lbu $t5,0x668($t3) -/* f0f6da8: 02388821 */ addu $s1,$s1,$t8 -/* f0f6dac: 032d082a */ slt $at,$t9,$t5 -/* f0f6db0: 5420ffcd */ bnezl $at,.L0f0f6ce8 -/* f0f6db4: 8fac0080 */ lw $t4,0x80($sp) -/* f0f6db8: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f6dbc: 91e30005 */ lbu $v1,0x5($t7) -/* f0f6dc0: 8fb80080 */ lw $t8,0x80($sp) -.L0f0f6dc4: -/* f0f6dc4: 8fb901e4 */ lw $t9,0x1e4($sp) -/* f0f6dc8: 8fae0194 */ lw $t6,0x194($sp) -/* f0f6dcc: 870c0660 */ lh $t4,0x660($t8) -/* f0f6dd0: 272d0001 */ addiu $t5,$t9,0x1 -/* f0f6dd4: 01a3082a */ slt $at,$t5,$v1 -/* f0f6dd8: 01cc5821 */ addu $t3,$t6,$t4 -/* f0f6ddc: afad01e4 */ sw $t5,0x1e4($sp) -/* f0f6de0: 1420ffad */ bnez $at,.L0f0f6c98 -/* f0f6de4: afab0194 */ sw $t3,0x194($sp) -.L0f0f6de8: -/* f0f6de8: 0fc54e0e */ jal text0f153838 -/* f0f6dec: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f6df0: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f6df4: 00402025 */ or $a0,$v0,$zero -.L0f0f6df8: -/* f0f6df8: 00809825 */ or $s3,$a0,$zero -/* f0f6dfc: 24840008 */ addiu $a0,$a0,0x8 -/* f0f6e00: 0c002f40 */ jal viGetViewLeft -/* f0f6e04: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f6e08: 00028400 */ sll $s0,$v0,0x10 -/* f0f6e0c: 00107c03 */ sra $t7,$s0,0x10 -/* f0f6e10: 0c002f44 */ jal viGetViewTop -/* f0f6e14: 01e08025 */ or $s0,$t7,$zero -/* f0f6e18: 44829000 */ mtc1 $v0,$f18 -/* f0f6e1c: 44905000 */ mtc1 $s0,$f10 -/* f0f6e20: 3c014080 */ lui $at,0x4080 -/* f0f6e24: 46809120 */ cvt.s.w $f4,$f18 -/* f0f6e28: 44810000 */ mtc1 $at,$f0 -/* f0f6e2c: 3c01ed00 */ lui $at,0xed00 -/* f0f6e30: 46805420 */ cvt.s.w $f16,$f10 -/* f0f6e34: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f6e38: 00000000 */ nop -/* f0f6e3c: 46008482 */ mul.s $f18,$f16,$f0 -/* f0f6e40: 4600320d */ trunc.w.s $f8,$f6 -/* f0f6e44: 4600910d */ trunc.w.s $f4,$f18 -/* f0f6e48: 440e4000 */ mfc1 $t6,$f8 -/* f0f6e4c: 440d2000 */ mfc1 $t5,$f4 -/* f0f6e50: 31cc0fff */ andi $t4,$t6,0xfff -/* f0f6e54: 01815825 */ or $t3,$t4,$at -/* f0f6e58: 31af0fff */ andi $t7,$t5,0xfff -/* f0f6e5c: 000fc300 */ sll $t8,$t7,0xc -/* f0f6e60: 01787025 */ or $t6,$t3,$t8 -/* f0f6e64: 0c002f22 */ jal viGetViewWidth -/* f0f6e68: ae6e0000 */ sw $t6,0x0($s3) -/* f0f6e6c: 00028c00 */ sll $s1,$v0,0x10 -/* f0f6e70: 00116403 */ sra $t4,$s1,0x10 -/* f0f6e74: 0c002f40 */ jal viGetViewLeft -/* f0f6e78: 01808825 */ or $s1,$t4,$zero -/* f0f6e7c: 00029400 */ sll $s2,$v0,0x10 -/* f0f6e80: 0012cc03 */ sra $t9,$s2,0x10 -/* f0f6e84: 0c002f44 */ jal viGetViewTop -/* f0f6e88: 03209025 */ or $s2,$t9,$zero -/* f0f6e8c: 00028400 */ sll $s0,$v0,0x10 -/* f0f6e90: 00106c03 */ sra $t5,$s0,0x10 -/* f0f6e94: 0c002f26 */ jal viGetViewHeight -/* f0f6e98: 01a08025 */ or $s0,$t5,$zero -/* f0f6e9c: 00507821 */ addu $t7,$v0,$s0 -/* f0f6ea0: 448f3000 */ mtc1 $t7,$f6 -/* f0f6ea4: 02516021 */ addu $t4,$s2,$s1 -/* f0f6ea8: 448c9000 */ mtc1 $t4,$f18 -/* f0f6eac: 46803220 */ cvt.s.w $f8,$f6 -/* f0f6eb0: 3c014080 */ lui $at,0x4080 -/* f0f6eb4: 44810000 */ mtc1 $at,$f0 -/* f0f6eb8: 46809120 */ cvt.s.w $f4,$f18 -/* f0f6ebc: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f6ec0: 00000000 */ nop -/* f0f6ec4: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f6ec8: 4600540d */ trunc.w.s $f16,$f10 -/* f0f6ecc: 4600320d */ trunc.w.s $f8,$f6 -/* f0f6ed0: 44188000 */ mfc1 $t8,$f16 -/* f0f6ed4: 440d4000 */ mfc1 $t5,$f8 -/* f0f6ed8: 330e0fff */ andi $t6,$t8,0xfff -/* f0f6edc: 31af0fff */ andi $t7,$t5,0xfff -/* f0f6ee0: 000f5b00 */ sll $t3,$t7,0xc -/* f0f6ee4: 01cbc025 */ or $t8,$t6,$t3 -/* f0f6ee8: 1000003e */ b .L0f0f6fe4 -/* f0f6eec: ae780004 */ sw $t8,0x4($s3) -/* f0f6ef0: 24840008 */ addiu $a0,$a0,0x8 -.L0f0f6ef4: -/* f0f6ef4: 0c002f40 */ jal viGetViewLeft -/* f0f6ef8: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f6efc: 00028400 */ sll $s0,$v0,0x10 -/* f0f6f00: 00106403 */ sra $t4,$s0,0x10 -/* f0f6f04: 0c002f44 */ jal viGetViewTop -/* f0f6f08: 01808025 */ or $s0,$t4,$zero -/* f0f6f0c: 44825000 */ mtc1 $v0,$f10 -/* f0f6f10: 44903000 */ mtc1 $s0,$f6 -/* f0f6f14: 3c014080 */ lui $at,0x4080 -/* f0f6f18: 46805420 */ cvt.s.w $f16,$f10 -/* f0f6f1c: 44810000 */ mtc1 $at,$f0 -/* f0f6f20: 3c01ed00 */ lui $at,0xed00 -/* f0f6f24: 46803220 */ cvt.s.w $f8,$f6 -/* f0f6f28: 46008482 */ mul.s $f18,$f16,$f0 -/* f0f6f2c: 00000000 */ nop -/* f0f6f30: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f6f34: 4600910d */ trunc.w.s $f4,$f18 -/* f0f6f38: 4600540d */ trunc.w.s $f16,$f10 -/* f0f6f3c: 440d2000 */ mfc1 $t5,$f4 -/* f0f6f40: 44188000 */ mfc1 $t8,$f16 -/* f0f6f44: 31af0fff */ andi $t7,$t5,0xfff -/* f0f6f48: 01e17025 */ or $t6,$t7,$at -/* f0f6f4c: 330c0fff */ andi $t4,$t8,0xfff -/* f0f6f50: 000ccb00 */ sll $t9,$t4,0xc -/* f0f6f54: 01d96825 */ or $t5,$t6,$t9 -/* f0f6f58: 0c002f22 */ jal viGetViewWidth -/* f0f6f5c: ae6d0000 */ sw $t5,0x0($s3) -/* f0f6f60: 00028c00 */ sll $s1,$v0,0x10 -/* f0f6f64: 00117c03 */ sra $t7,$s1,0x10 -/* f0f6f68: 0c002f40 */ jal viGetViewLeft -/* f0f6f6c: 01e08825 */ or $s1,$t7,$zero -/* f0f6f70: 00029400 */ sll $s2,$v0,0x10 -/* f0f6f74: 00125c03 */ sra $t3,$s2,0x10 -/* f0f6f78: 0c002f44 */ jal viGetViewTop -/* f0f6f7c: 01609025 */ or $s2,$t3,$zero -/* f0f6f80: 00028400 */ sll $s0,$v0,0x10 -/* f0f6f84: 0010c403 */ sra $t8,$s0,0x10 -/* f0f6f88: 0c002f26 */ jal viGetViewHeight -/* f0f6f8c: 03008025 */ or $s0,$t8,$zero -/* f0f6f90: 00506021 */ addu $t4,$v0,$s0 -/* f0f6f94: 448c9000 */ mtc1 $t4,$f18 -/* f0f6f98: 02517821 */ addu $t7,$s2,$s1 -/* f0f6f9c: 448f8000 */ mtc1 $t7,$f16 -/* f0f6fa0: 46809120 */ cvt.s.w $f4,$f18 -/* f0f6fa4: 3c014080 */ lui $at,0x4080 -/* f0f6fa8: 44813000 */ mtc1 $at,$f6 -/* f0f6fac: 468084a0 */ cvt.s.w $f18,$f16 -/* f0f6fb0: 46062202 */ mul.s $f8,$f4,$f6 -/* f0f6fb4: 44812000 */ mtc1 $at,$f4 -/* f0f6fb8: 00000000 */ nop -/* f0f6fbc: 46049182 */ mul.s $f6,$f18,$f4 -/* f0f6fc0: 4600428d */ trunc.w.s $f10,$f8 -/* f0f6fc4: 4600320d */ trunc.w.s $f8,$f6 -/* f0f6fc8: 44195000 */ mfc1 $t9,$f10 -/* f0f6fcc: 44184000 */ mfc1 $t8,$f8 -/* f0f6fd0: 332d0fff */ andi $t5,$t9,0xfff -/* f0f6fd4: 330c0fff */ andi $t4,$t8,0xfff -/* f0f6fd8: 000c7300 */ sll $t6,$t4,0xc -/* f0f6fdc: 01aec825 */ or $t9,$t5,$t6 -/* f0f6fe0: ae790004 */ sw $t9,0x4($s3) -.L0f0f6fe4: -/* f0f6fe4: 3c0f8007 */ lui $t7,%hi(g_MpPlayerNum) -/* f0f6fe8: 8def1448 */ lw $t7,%lo(g_MpPlayerNum)($t7) -/* f0f6fec: 3c18800a */ lui $t8,%hi(g_Menus) -/* f0f6ff0: 2718e000 */ addiu $t8,$t8,%lo(g_Menus) -/* f0f6ff4: 000f58c0 */ sll $t3,$t7,0x3 -/* f0f6ff8: 016f5823 */ subu $t3,$t3,$t7 -/* f0f6ffc: 000b5880 */ sll $t3,$t3,0x2 -/* f0f7000: 016f5821 */ addu $t3,$t3,$t7 -/* f0f7004: 000b58c0 */ sll $t3,$t3,0x3 -/* f0f7008: 016f5823 */ subu $t3,$t3,$t7 -/* f0f700c: 000b5900 */ sll $t3,$t3,0x4 -/* f0f7010: 01781821 */ addu $v1,$t3,$t8 -/* f0f7014: 846c04f4 */ lh $t4,0x4f4($v1) -/* f0f7018: 8fae01ec */ lw $t6,0x1ec($sp) -/* f0f701c: 000c6880 */ sll $t5,$t4,0x2 -/* f0f7020: 91d9003c */ lbu $t9,0x3c($t6) -/* f0f7024: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f7028: 000d68c0 */ sll $t5,$t5,0x3 -/* f0f702c: 006d8821 */ addu $s1,$v1,$t5 -/* f0f7030: 17200006 */ bnez $t9,.L0f0f704c -/* f0f7034: 2631044c */ addiu $s1,$s1,0x44c -/* f0f7038: c5ca0040 */ lwc1 $f10,0x40($t6) -/* f0f703c: 460aa03e */ c.le.s $f20,$f10 -/* f0f7040: 00000000 */ nop -/* f0f7044: 4502010b */ bc1fl .L0f0f7474 -/* f0f7048: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f704c: -/* f0f704c: 822b0015 */ lb $t3,0x15($s1) -/* f0f7050: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f7054: 000bc080 */ sll $t8,$t3,0x2 -/* f0f7058: 02386021 */ addu $t4,$s1,$t8 -/* f0f705c: 8d8d0000 */ lw $t5,0x0($t4) -/* f0f7060: 55ed0104 */ bnel $t7,$t5,.L0f0f7474 -/* f0f7064: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f7068: 82390014 */ lb $t9,0x14($s1) -/* f0f706c: 2b210002 */ slti $at,$t9,0x2 -/* f0f7070: 142000ff */ bnez $at,.L0f0f7470 -/* f0f7074: 3c014120 */ lui $at,0x4120 -/* f0f7078: 44816000 */ mtc1 $at,$f12 -/* f0f707c: 0fc01ac2 */ jal func0f006b08 -/* f0f7080: 00000000 */ nop -/* f0f7084: 3c01437f */ lui $at,0x437f -/* f0f7088: 44818000 */ mtc1 $at,$f16 -/* f0f708c: 24100001 */ addiu $s0,$zero,0x1 -/* f0f7090: 3c014f00 */ lui $at,0x4f00 -/* f0f7094: 46100482 */ mul.s $f18,$f0,$f16 -/* f0f7098: 8fab01ec */ lw $t3,0x1ec($sp) -/* f0f709c: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f70a0: 444ef800 */ cfc1 $t6,$31 -/* f0f70a4: 44d0f800 */ ctc1 $s0,$31 -/* f0f70a8: 00000000 */ nop -/* f0f70ac: 46009124 */ cvt.w.s $f4,$f18 -/* f0f70b0: 4450f800 */ cfc1 $s0,$31 -/* f0f70b4: 00000000 */ nop -/* f0f70b8: 32100078 */ andi $s0,$s0,0x78 -/* f0f70bc: 52000013 */ beqzl $s0,.L0f0f710c -/* f0f70c0: 44102000 */ mfc1 $s0,$f4 -/* f0f70c4: 44812000 */ mtc1 $at,$f4 -/* f0f70c8: 24100001 */ addiu $s0,$zero,0x1 -/* f0f70cc: 46049101 */ sub.s $f4,$f18,$f4 -/* f0f70d0: 44d0f800 */ ctc1 $s0,$31 -/* f0f70d4: 00000000 */ nop -/* f0f70d8: 46002124 */ cvt.w.s $f4,$f4 -/* f0f70dc: 4450f800 */ cfc1 $s0,$31 -/* f0f70e0: 00000000 */ nop -/* f0f70e4: 32100078 */ andi $s0,$s0,0x78 -/* f0f70e8: 16000005 */ bnez $s0,.L0f0f7100 -/* f0f70ec: 00000000 */ nop -/* f0f70f0: 44102000 */ mfc1 $s0,$f4 -/* f0f70f4: 3c018000 */ lui $at,0x8000 -/* f0f70f8: 10000007 */ b .L0f0f7118 -/* f0f70fc: 02018025 */ or $s0,$s0,$at -.L0f0f7100: -/* f0f7100: 10000005 */ b .L0f0f7118 -/* f0f7104: 2410ffff */ addiu $s0,$zero,-1 -/* f0f7108: 44102000 */ mfc1 $s0,$f4 -.L0f0f710c: -/* f0f710c: 00000000 */ nop -/* f0f7110: 0600fffb */ bltz $s0,.L0f0f7100 -/* f0f7114: 00000000 */ nop -.L0f0f7118: -/* f0f7118: 44cef800 */ ctc1 $t6,$31 -/* f0f711c: c5660040 */ lwc1 $f6,0x40($t3) -/* f0f7120: 4614303c */ c.lt.s $f6,$f20 -/* f0f7124: 00000000 */ nop -/* f0f7128: 4502000a */ bc1fl .L0f0f7154 -/* f0f712c: 91ed003d */ lbu $t5,0x3d($t7) -/* f0f7130: 9178003c */ lbu $t8,0x3c($t3) -/* f0f7134: 3c057f1b */ lui $a1,%hi(g_MenuColourPalettes) -/* f0f7138: 00186100 */ sll $t4,$t8,0x4 -/* f0f713c: 01986023 */ subu $t4,$t4,$t8 -/* f0f7140: 000c6080 */ sll $t4,$t4,0x2 -/* f0f7144: 00ac2821 */ addu $a1,$a1,$t4 -/* f0f7148: 10000011 */ b .L0f0f7190 -/* f0f714c: 8ca51fb0 */ lw $a1,%lo(g_MenuColourPalettes)($a1) -/* f0f7150: 91ed003d */ lbu $t5,0x3d($t7) -.L0f0f7154: -/* f0f7154: 2402003c */ addiu $v0,$zero,0x3c -/* f0f7158: 91eb003c */ lbu $t3,0x3c($t7) -/* f0f715c: 01a20019 */ multu $t5,$v0 -/* f0f7160: 3c037f1b */ lui $v1,%hi(g_MenuColourPalettes) -/* f0f7164: 24631fb0 */ addiu $v1,$v1,%lo(g_MenuColourPalettes) -/* f0f7168: 8de60044 */ lw $a2,0x44($t7) -/* f0f716c: 0000c812 */ mflo $t9 -/* f0f7170: 00797021 */ addu $t6,$v1,$t9 -/* f0f7174: 8dc40000 */ lw $a0,0x0($t6) -/* f0f7178: 01620019 */ multu $t3,$v0 -/* f0f717c: 0000c012 */ mflo $t8 -/* f0f7180: 00786021 */ addu $t4,$v1,$t8 -/* f0f7184: 0fc01a40 */ jal colourBlend -/* f0f7188: 8d850000 */ lw $a1,0x0($t4) -/* f0f718c: 00402825 */ or $a1,$v0,$zero -.L0f0f7190: -/* f0f7190: 2404ffff */ addiu $a0,$zero,-1 -/* f0f7194: 0fc01a40 */ jal colourBlend -/* f0f7198: 02003025 */ or $a2,$s0,$zero -/* f0f719c: 3c0141a0 */ lui $at,0x41a0 -/* f0f71a0: 4481a000 */ mtc1 $at,$f20 -/* f0f71a4: 00408025 */ or $s0,$v0,$zero -/* f0f71a8: 0fc01ac2 */ jal func0f006b08 -/* f0f71ac: 4600a306 */ mov.s $f12,$f20 -/* f0f71b0: 8fad01dc */ lw $t5,0x1dc($sp) -/* f0f71b4: 8fb901d4 */ lw $t9,0x1d4($sp) -/* f0f71b8: 8fa501e0 */ lw $a1,0x1e0($sp) -/* f0f71bc: 240e0001 */ addiu $t6,$zero,0x1 -/* f0f71c0: 01b9a821 */ addu $s5,$t5,$t9 -/* f0f71c4: afae0010 */ sw $t6,0x10($sp) -/* f0f71c8: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f71cc: 24070009 */ addiu $a3,$zero,0x9 -/* f0f71d0: afb00014 */ sw $s0,0x14($sp) -/* f0f71d4: afb00018 */ sw $s0,0x18($sp) -/* f0f71d8: e7a0001c */ swc1 $f0,0x1c($sp) -/* f0f71dc: 24a5fffb */ addiu $a1,$a1,-5 -/* f0f71e0: 06a10003 */ bgez $s5,.L0f0f71f0 -/* f0f71e4: 0015a043 */ sra $s4,$s5,0x1 -/* f0f71e8: 26a10001 */ addiu $at,$s5,0x1 -/* f0f71ec: 0001a043 */ sra $s4,$at,0x1 -.L0f0f71f0: -/* f0f71f0: 0fc38cc9 */ jal menugfxDrawDialogChevron -/* f0f71f4: 02803025 */ or $a2,$s4,$zero -/* f0f71f8: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f71fc: 0fc01ac2 */ jal func0f006b08 -/* f0f7200: 4600a306 */ mov.s $f12,$f20 -/* f0f7204: 8fa50088 */ lw $a1,0x88($sp) -/* f0f7208: 240b0003 */ addiu $t3,$zero,0x3 -/* f0f720c: afab0010 */ sw $t3,0x10($sp) -/* f0f7210: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7214: 02803025 */ or $a2,$s4,$zero -/* f0f7218: 24070009 */ addiu $a3,$zero,0x9 -/* f0f721c: afb00014 */ sw $s0,0x14($sp) -/* f0f7220: afb00018 */ sw $s0,0x18($sp) -/* f0f7224: e7a0001c */ swc1 $f0,0x1c($sp) -/* f0f7228: 0fc38cc9 */ jal menugfxDrawDialogChevron -/* f0f722c: 24a50005 */ addiu $a1,$a1,0x5 -/* f0f7230: 3c03800a */ lui $v1,%hi(g_MenuData+0x4) -/* f0f7234: 8c6319c4 */ lw $v1,%lo(g_MenuData+0x4)($v1) -/* f0f7238: 24010002 */ addiu $at,$zero,0x2 -/* f0f723c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7240: 10610007 */ beq $v1,$at,.L0f0f7260 -/* f0f7244: 2401000a */ addiu $at,$zero,0xa -/* f0f7248: 10610005 */ beq $v1,$at,.L0f0f7260 -/* f0f724c: 2401000d */ addiu $at,$zero,0xd -/* f0f7250: 10610003 */ beq $v1,$at,.L0f0f7260 -/* f0f7254: 24010006 */ addiu $at,$zero,0x6 -/* f0f7258: 54610086 */ bnel $v1,$at,.L0f0f7474 -/* f0f725c: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f7260: -/* f0f7260: 0fc54f93 */ jal textResetBlends -/* f0f7264: 00000000 */ nop -/* f0f7268: 0fc54c6e */ jal textSetRotation90 -/* f0f726c: 24040001 */ addiu $a0,$zero,0x1 -/* f0f7270: 0fc54d8a */ jal text0f153628 -/* f0f7274: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7278: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f727c: 82230015 */ lb $v1,0x15($s1) -/* f0f7280: 2463ffff */ addiu $v1,$v1,-1 -/* f0f7284: 04630004 */ bgezl $v1,.L0f0f7298 -/* f0f7288: 0003c080 */ sll $t8,$v1,0x2 -/* f0f728c: 82230014 */ lb $v1,0x14($s1) -/* f0f7290: 2463ffff */ addiu $v1,$v1,-1 -/* f0f7294: 0003c080 */ sll $t8,$v1,0x2 -.L0f0f7298: -/* f0f7298: 02386021 */ addu $t4,$s1,$t8 -/* f0f729c: 8d8f0000 */ lw $t7,0x0($t4) -/* f0f72a0: 0fc3c560 */ jal menuResolveDialogTitle -/* f0f72a4: 8de40000 */ lw $a0,0x0($t7) -/* f0f72a8: 3c138008 */ lui $s3,%hi(g_FontHandelGothicXs) -/* f0f72ac: 2673fb04 */ addiu $s3,$s3,%lo(g_FontHandelGothicXs) -/* f0f72b0: 8e6d0000 */ lw $t5,0x0($s3) -/* f0f72b4: 3c128008 */ lui $s2,%hi(g_CharsHandelGothicXs) -/* f0f72b8: 2652fb08 */ addiu $s2,$s2,%lo(g_CharsHandelGothicXs) -/* f0f72bc: 27b600b0 */ addiu $s6,$sp,0xb0 -/* f0f72c0: 27b700ac */ addiu $s7,$sp,0xac -/* f0f72c4: 00408025 */ or $s0,$v0,$zero -/* f0f72c8: 02e02825 */ or $a1,$s7,$zero -/* f0f72cc: 02c02025 */ or $a0,$s6,$zero -/* f0f72d0: 8e470000 */ lw $a3,0x0($s2) -/* f0f72d4: 00403025 */ or $a2,$v0,$zero -/* f0f72d8: afa00014 */ sw $zero,0x14($sp) -/* f0f72dc: 0fc55cbe */ jal textMeasure -/* f0f72e0: afad0010 */ sw $t5,0x10($sp) -/* f0f72e4: 8fa200ac */ lw $v0,0xac($sp) -/* f0f72e8: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f72ec: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f72f0: 02822823 */ subu $a1,$s4,$v0 -/* f0f72f4: 24a5fffd */ addiu $a1,$a1,-3 -/* f0f72f8: 2463ffff */ addiu $v1,$v1,-1 -/* f0f72fc: 00b9082a */ slt $at,$a1,$t9 -/* f0f7300: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f7304: 10200009 */ beqz $at,.L0f0f732c -/* f0f7308: afa501cc */ sw $a1,0x1cc($sp) -/* f0f730c: 02a22823 */ subu $a1,$s5,$v0 -/* f0f7310: 04a10003 */ bgez $a1,.L0f0f7320 -/* f0f7314: 00057043 */ sra $t6,$a1,0x1 -/* f0f7318: 24a10001 */ addiu $at,$a1,0x1 -/* f0f731c: 00017043 */ sra $t6,$at,0x1 -.L0f0f7320: -/* f0f7320: 2463fffd */ addiu $v1,$v1,-3 -/* f0f7324: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f7328: afae01cc */ sw $t6,0x1cc($sp) -.L0f0f732c: -/* f0f732c: 0c002f06 */ jal viGetHeight -/* f0f7330: 00000000 */ nop -/* f0f7334: 8e4b0000 */ lw $t3,0x0($s2) -/* f0f7338: 8e780000 */ lw $t8,0x0($s3) -/* f0f733c: 87af01ca */ lh $t7,0x1ca($sp) -/* f0f7340: 240cffff */ addiu $t4,$zero,-1 -/* f0f7344: afac0018 */ sw $t4,0x18($sp) -/* f0f7348: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f734c: 27a501cc */ addiu $a1,$sp,0x1cc -/* f0f7350: 27a601d0 */ addiu $a2,$sp,0x1d0 -/* f0f7354: 02003825 */ or $a3,$s0,$zero -/* f0f7358: afa20020 */ sw $v0,0x20($sp) -/* f0f735c: afa00024 */ sw $zero,0x24($sp) -/* f0f7360: afa00028 */ sw $zero,0x28($sp) -/* f0f7364: afab0010 */ sw $t3,0x10($sp) -/* f0f7368: afb80014 */ sw $t8,0x14($sp) -/* f0f736c: 0fc5580f */ jal textRenderProjected -/* f0f7370: afaf001c */ sw $t7,0x1c($sp) -/* f0f7374: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7378: 82230015 */ lb $v1,0x15($s1) -/* f0f737c: 822d0014 */ lb $t5,0x14($s1) -/* f0f7380: 24630001 */ addiu $v1,$v1,0x1 -/* f0f7384: 006d082a */ slt $at,$v1,$t5 -/* f0f7388: 54200003 */ bnezl $at,.L0f0f7398 -/* f0f738c: 0003c880 */ sll $t9,$v1,0x2 -/* f0f7390: 00001825 */ or $v1,$zero,$zero -/* f0f7394: 0003c880 */ sll $t9,$v1,0x2 -.L0f0f7398: -/* f0f7398: 02397021 */ addu $t6,$s1,$t9 -/* f0f739c: 8dcb0000 */ lw $t3,0x0($t6) -/* f0f73a0: 0fc3c560 */ jal menuResolveDialogTitle -/* f0f73a4: 8d640000 */ lw $a0,0x0($t3) -/* f0f73a8: 8e780000 */ lw $t8,0x0($s3) -/* f0f73ac: 00408025 */ or $s0,$v0,$zero -/* f0f73b0: 02c02025 */ or $a0,$s6,$zero -/* f0f73b4: 02e02825 */ or $a1,$s7,$zero -/* f0f73b8: 00403025 */ or $a2,$v0,$zero -/* f0f73bc: 8e470000 */ lw $a3,0x0($s2) -/* f0f73c0: afa00014 */ sw $zero,0x14($sp) -/* f0f73c4: 0fc55cbe */ jal textMeasure -/* f0f73c8: afb80010 */ sw $t8,0x10($sp) -/* f0f73cc: 8fa200ac */ lw $v0,0xac($sp) -/* f0f73d0: 8fa30088 */ lw $v1,0x88($sp) -/* f0f73d4: 8fac01d4 */ lw $t4,0x1d4($sp) -/* f0f73d8: 26850003 */ addiu $a1,$s4,0x3 -/* f0f73dc: 00a27821 */ addu $t7,$a1,$v0 -/* f0f73e0: 24630007 */ addiu $v1,$v1,0x7 -/* f0f73e4: 018f082a */ slt $at,$t4,$t7 -/* f0f73e8: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f73ec: 10200009 */ beqz $at,.L0f0f7414 -/* f0f73f0: afa501cc */ sw $a1,0x1cc($sp) -/* f0f73f4: 02a22823 */ subu $a1,$s5,$v0 -/* f0f73f8: 04a10003 */ bgez $a1,.L0f0f7408 -/* f0f73fc: 00056843 */ sra $t5,$a1,0x1 -/* f0f7400: 24a10001 */ addiu $at,$a1,0x1 -/* f0f7404: 00016843 */ sra $t5,$at,0x1 -.L0f0f7408: -/* f0f7408: 24630003 */ addiu $v1,$v1,0x3 -/* f0f740c: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f7410: afad01cc */ sw $t5,0x1cc($sp) -.L0f0f7414: -/* f0f7414: 0c002f06 */ jal viGetHeight -/* f0f7418: 00000000 */ nop -/* f0f741c: 8e590000 */ lw $t9,0x0($s2) -/* f0f7420: 8e6e0000 */ lw $t6,0x0($s3) -/* f0f7424: 87b801ca */ lh $t8,0x1ca($sp) -/* f0f7428: 240bffff */ addiu $t3,$zero,-1 -/* f0f742c: afab0018 */ sw $t3,0x18($sp) -/* f0f7430: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f7434: 27a501cc */ addiu $a1,$sp,0x1cc -/* f0f7438: 27a601d0 */ addiu $a2,$sp,0x1d0 -/* f0f743c: 02003825 */ or $a3,$s0,$zero -/* f0f7440: afa20020 */ sw $v0,0x20($sp) -/* f0f7444: afa00024 */ sw $zero,0x24($sp) -/* f0f7448: afa00028 */ sw $zero,0x28($sp) -/* f0f744c: afb90010 */ sw $t9,0x10($sp) -/* f0f7450: afae0014 */ sw $t6,0x14($sp) -/* f0f7454: 0fc5580f */ jal textRenderProjected -/* f0f7458: afb8001c */ sw $t8,0x1c($sp) -/* f0f745c: 0fc54de0 */ jal text0f153780 -/* f0f7460: 00402025 */ or $a0,$v0,$zero -/* f0f7464: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f7468: 0fc54c6e */ jal textSetRotation90 -/* f0f746c: 00002025 */ or $a0,$zero,$zero -.L0f0f7470: -/* f0f7470: 8fa201e8 */ lw $v0,0x1e8($sp) -.L0f0f7474: -/* f0f7474: 8fbf0064 */ lw $ra,0x64($sp) -/* f0f7478: d7b40038 */ ldc1 $f20,0x38($sp) -/* f0f747c: 8fb00040 */ lw $s0,0x40($sp) -/* f0f7480: 8fb10044 */ lw $s1,0x44($sp) -/* f0f7484: 8fb20048 */ lw $s2,0x48($sp) -/* f0f7488: 8fb3004c */ lw $s3,0x4c($sp) -/* f0f748c: 8fb40050 */ lw $s4,0x50($sp) -/* f0f7490: 8fb50054 */ lw $s5,0x54($sp) -/* f0f7494: 8fb60058 */ lw $s6,0x58($sp) -/* f0f7498: 8fb7005c */ lw $s7,0x5c($sp) -/* f0f749c: 8fbe0060 */ lw $s8,0x60($sp) -/* f0f74a0: 03e00008 */ jr $ra -/* f0f74a4: 27bd01e8 */ addiu $sp,$sp,0x1e8 -); -#else -GLOBAL_ASM( -glabel dialogRender -/* f0f1d94: 27bdfe18 */ addiu $sp,$sp,-488 -/* f0f1d98: f7b40038 */ sdc1 $f20,0x38($sp) -/* f0f1d9c: afbf0064 */ sw $ra,0x64($sp) -/* f0f1da0: afbe0060 */ sw $s8,0x60($sp) -/* f0f1da4: afb7005c */ sw $s7,0x5c($sp) -/* f0f1da8: afb60058 */ sw $s6,0x58($sp) -/* f0f1dac: afb50054 */ sw $s5,0x54($sp) -/* f0f1db0: afb40050 */ sw $s4,0x50($sp) -/* f0f1db4: afb3004c */ sw $s3,0x4c($sp) -/* f0f1db8: afb20048 */ sw $s2,0x48($sp) -/* f0f1dbc: afb10044 */ sw $s1,0x44($sp) -/* f0f1dc0: afb00040 */ sw $s0,0x40($sp) -/* f0f1dc4: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f1dc8: afa601f0 */ sw $a2,0x1f0($sp) -/* f0f1dcc: afa701f4 */ sw $a3,0x1f4($sp) -/* f0f1dd0: 4480a000 */ mtc1 $zero,$f20 -/* f0f1dd4: c4a40040 */ lwc1 $f4,0x40($a1) -/* f0f1dd8: 8cb50014 */ lw $s5,0x14($a1) -/* f0f1ddc: 8cb30018 */ lw $s3,0x18($a1) -/* f0f1de0: 4614203c */ c.lt.s $f4,$f20 -/* f0f1de4: 8cae001c */ lw $t6,0x1c($a1) -/* f0f1de8: 8caf0020 */ lw $t7,0x20($a1) -/* f0f1dec: 00a08025 */ or $s0,$a1,$zero -/* f0f1df0: 02aeb021 */ addu $s6,$s5,$t6 -/* f0f1df4: 4500000b */ bc1f .NB0f0f1e24 -/* f0f1df8: 026fa021 */ addu $s4,$s3,$t7 -/* f0f1dfc: 90b8003c */ lbu $t8,0x3c($a1) -/* f0f1e00: 3c0b7f1b */ lui $t3,0x7f1b -/* f0f1e04: afa501ec */ sw $a1,0x1ec($sp) -/* f0f1e08: 0018c900 */ sll $t9,$t8,0x4 -/* f0f1e0c: 0338c823 */ subu $t9,$t9,$t8 -/* f0f1e10: 0019c880 */ sll $t9,$t9,0x2 -/* f0f1e14: 01795821 */ addu $t3,$t3,$t9 -/* f0f1e18: 8d6bc308 */ lw $t3,-0x3cf8($t3) -/* f0f1e1c: 10000013 */ beqz $zero,.NB0f0f1e6c -/* f0f1e20: afab01bc */ sw $t3,0x1bc($sp) -.NB0f0f1e24: -/* f0f1e24: 920c003d */ lbu $t4,0x3d($s0) -/* f0f1e28: 9218003c */ lbu $t8,0x3c($s0) -/* f0f1e2c: 3c0e7f1b */ lui $t6,0x7f1b -/* f0f1e30: 000c6900 */ sll $t5,$t4,0x4 -/* f0f1e34: 0018c900 */ sll $t9,$t8,0x4 -/* f0f1e38: 25cec2e0 */ addiu $t6,$t6,-15648 -/* f0f1e3c: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f1e40: 0338c823 */ subu $t9,$t9,$t8 -/* f0f1e44: 0019c880 */ sll $t9,$t9,0x2 -/* f0f1e48: 000d6880 */ sll $t5,$t5,0x2 -/* f0f1e4c: 01ae7821 */ addu $t7,$t5,$t6 -/* f0f1e50: 032e5821 */ addu $t3,$t9,$t6 -/* f0f1e54: 8d650028 */ lw $a1,0x28($t3) -/* f0f1e58: 8de40028 */ lw $a0,0x28($t7) -/* f0f1e5c: 8e060044 */ lw $a2,0x44($s0) -/* f0f1e60: 0fc01990 */ jal colourBlend -/* f0f1e64: afb001ec */ sw $s0,0x1ec($sp) -/* f0f1e68: afa201bc */ sw $v0,0x1bc($sp) -.NB0f0f1e6c: -/* f0f1e6c: 8fb001ec */ lw $s0,0x1ec($sp) -/* f0f1e70: 0fc541a3 */ jal text0f156030 -/* f0f1e74: 8fa401bc */ lw $a0,0x1bc($sp) -/* f0f1e78: 3c0c8007 */ lui $t4,0x8007 -/* f0f1e7c: 8d8c3af0 */ lw $t4,0x3af0($t4) -/* f0f1e80: 3c0f800a */ lui $t7,0x800a -/* f0f1e84: 3c018008 */ lui $at,0x8008 -/* f0f1e88: 000c68c0 */ sll $t5,$t4,0x3 -/* f0f1e8c: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f1e90: 000d68c0 */ sll $t5,$t5,0x3 -/* f0f1e94: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f1e98: 000d6900 */ sll $t5,$t5,0x4 -/* f0f1e9c: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f1ea0: 000d6880 */ sll $t5,$t5,0x2 -/* f0f1ea4: 25ef27c0 */ addiu $t7,$t7,0x27c0 -/* f0f1ea8: ac2023fc */ sw $zero,0x23fc($at) -/* f0f1eac: 01af1821 */ addu $v1,$t5,$t7 -/* f0f1eb0: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f1eb4: 8c780488 */ lw $t8,0x488($v1) -/* f0f1eb8: 54f8002d */ bnel $a3,$t8,.NB0f0f1f70 -/* f0f1ebc: 8ced001c */ lw $t5,0x1c($a3) -/* f0f1ec0: 8cf90000 */ lw $t9,0x0($a3) -/* f0f1ec4: 8fac01f4 */ lw $t4,0x1f4($sp) -/* f0f1ec8: 8f2e0010 */ lw $t6,0x10($t9) -/* f0f1ecc: 31cb0002 */ andi $t3,$t6,0x2 -/* f0f1ed0: 51600027 */ beqzl $t3,.NB0f0f1f70 -/* f0f1ed4: 8ced001c */ lw $t5,0x1c($a3) -/* f0f1ed8: 55800025 */ bnezl $t4,.NB0f0f1f70 -/* f0f1edc: 8ced001c */ lw $t5,0x1c($a3) -/* f0f1ee0: 8c6d0d4c */ lw $t5,0xd4c($v1) -/* f0f1ee4: 8fb901e8 */ lw $t9,0x1e8($sp) -/* f0f1ee8: 24010001 */ addiu $at,$zero,0x1 -/* f0f1eec: 000d7b80 */ sll $t7,$t5,0xe -/* f0f1ef0: 000fc7c2 */ srl $t8,$t7,0x1f -/* f0f1ef4: 1701001d */ bne $t8,$at,.NB0f0f1f6c -/* f0f1ef8: 272e0008 */ addiu $t6,$t9,0x8 -/* f0f1efc: afae01e8 */ sw $t6,0x1e8($sp) -/* f0f1f00: 3c0bb700 */ lui $t3,0xb700 -/* f0f1f04: 240c0001 */ addiu $t4,$zero,0x1 -/* f0f1f08: af2c0004 */ sw $t4,0x4($t9) -/* f0f1f0c: af2b0000 */ sw $t3,0x0($t9) -/* f0f1f10: 3c0d8007 */ lui $t5,0x8007 -/* f0f1f14: 8dad3af0 */ lw $t5,0x3af0($t5) -/* f0f1f18: 3c19800a */ lui $t9,0x800a -/* f0f1f1c: 273927c0 */ addiu $t9,$t9,0x27c0 -/* f0f1f20: 000d78c0 */ sll $t7,$t5,0x3 -/* f0f1f24: 01ed7823 */ subu $t7,$t7,$t5 -/* f0f1f28: 000f78c0 */ sll $t7,$t7,0x3 -/* f0f1f2c: 01ed7823 */ subu $t7,$t7,$t5 -/* f0f1f30: 000f7900 */ sll $t7,$t7,0x4 -/* f0f1f34: 01ed7823 */ subu $t7,$t7,$t5 -/* f0f1f38: 000f7880 */ sll $t7,$t7,0x2 -/* f0f1f3c: 25f8079c */ addiu $t8,$t7,0x79c -/* f0f1f40: 03192821 */ addu $a1,$t8,$t9 -/* f0f1f44: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f1f48: 0fc3c0fd */ jal menuRenderModels -/* f0f1f4c: 24060002 */ addiu $a2,$zero,0x2 -/* f0f1f50: 244e0008 */ addiu $t6,$v0,0x8 -/* f0f1f54: afae01e8 */ sw $t6,0x1e8($sp) -/* f0f1f58: 3c0bb600 */ lui $t3,0xb600 -/* f0f1f5c: 240c0001 */ addiu $t4,$zero,0x1 -/* f0f1f60: ac4c0004 */ sw $t4,0x4($v0) -/* f0f1f64: ac4b0000 */ sw $t3,0x0($v0) -/* f0f1f68: 8fa701ec */ lw $a3,0x1ec($sp) -.NB0f0f1f6c: -/* f0f1f6c: 8ced001c */ lw $t5,0x1c($a3) -.NB0f0f1f70: -/* f0f1f70: 3c013f80 */ lui $at,0x3f80 -/* f0f1f74: a7ad01ca */ sh $t5,0x1ca($sp) -/* f0f1f78: 90ef0060 */ lbu $t7,0x60($a3) -/* f0f1f7c: 84e20022 */ lh $v0,0x22($a3) -/* f0f1f80: 8ce40000 */ lw $a0,0x0($a3) -/* f0f1f84: 55e00014 */ bnezl $t7,.NB0f0f1fd8 -/* f0f1f88: 8cec0014 */ lw $t4,0x14($a3) -/* f0f1f8c: 44813000 */ mtc1 $at,$f6 -/* f0f1f90: 3c01800a */ lui $at,0x800a -/* f0f1f94: c4285ec0 */ lwc1 $f8,0x5ec0($at) -/* f0f1f98: 44829000 */ mtc1 $v0,$f18 -/* f0f1f9c: 3c013f80 */ lui $at,0x3f80 -/* f0f1fa0: 46083001 */ sub.s $f0,$f6,$f8 -/* f0f1fa4: 44815000 */ mtc1 $at,$f10 -/* f0f1fa8: 8ceb0018 */ lw $t3,0x18($a3) -/* f0f1fac: 46809120 */ cvt.s.w $f4,$f18 -/* f0f1fb0: 46000402 */ mul.s $f16,$f0,$f0 -/* f0f1fb4: 46105001 */ sub.s $f0,$f10,$f16 -/* f0f1fb8: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f1fbc: 4600320d */ trunc.w.s $f8,$f6 -/* f0f1fc0: 44024000 */ mfc1 $v0,$f8 -/* f0f1fc4: 00000000 */ sll $zero,$zero,0x0 -/* f0f1fc8: 0002cc00 */ sll $t9,$v0,0x10 -/* f0f1fcc: 00191403 */ sra $v0,$t9,0x10 -/* f0f1fd0: 0162a021 */ addu $s4,$t3,$v0 -/* f0f1fd4: 8cec0014 */ lw $t4,0x14($a3) -.NB0f0f1fd8: -/* f0f1fd8: afac01e0 */ sw $t4,0x1e0($sp) -/* f0f1fdc: 8ce30018 */ lw $v1,0x18($a3) -/* f0f1fe0: 0043f021 */ addu $s8,$v0,$v1 -/* f0f1fe4: afbe01d4 */ sw $s8,0x1d4($sp) -/* f0f1fe8: 0fc3b864 */ jal menuResolveDialogTitle -/* f0f1fec: afa301dc */ sw $v1,0x1dc($sp) -/* f0f1ff0: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f1ff4: 0040b825 */ or $s7,$v0,$zero -/* f0f1ff8: c4ea0040 */ lwc1 $f10,0x40($a3) -/* f0f1ffc: 4614503c */ c.lt.s $f10,$f20 -/* f0f2000: 00000000 */ sll $zero,$zero,0x0 -/* f0f2004: 4502000c */ bc1fl .NB0f0f2038 -/* f0f2008: 90ee003d */ lbu $t6,0x3d($a3) -/* f0f200c: 90ed003c */ lbu $t5,0x3c($a3) -/* f0f2010: 2408003c */ addiu $t0,$zero,0x3c -/* f0f2014: 3c097f1b */ lui $t1,0x7f1b -/* f0f2018: 01a80019 */ multu $t5,$t0 -/* f0f201c: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f2020: 00007812 */ mflo $t7 -/* f0f2024: 012fc021 */ addu $t8,$t1,$t7 -/* f0f2028: 8f190000 */ lw $t9,0x0($t8) -/* f0f202c: 10000016 */ beqz $zero,.NB0f0f2088 -/* f0f2030: afb901bc */ sw $t9,0x1bc($sp) -/* f0f2034: 90ee003d */ lbu $t6,0x3d($a3) -.NB0f0f2038: -/* f0f2038: 90ef003c */ lbu $t7,0x3c($a3) -/* f0f203c: 3c0c7f1b */ lui $t4,0x7f1b -/* f0f2040: 000e5900 */ sll $t3,$t6,0x4 -/* f0f2044: 000fc100 */ sll $t8,$t7,0x4 -/* f0f2048: 258cc2e0 */ addiu $t4,$t4,-15648 -/* f0f204c: 016e5823 */ subu $t3,$t3,$t6 -/* f0f2050: 030fc023 */ subu $t8,$t8,$t7 -/* f0f2054: 0018c080 */ sll $t8,$t8,0x2 -/* f0f2058: 000b5880 */ sll $t3,$t3,0x2 -/* f0f205c: 016c6821 */ addu $t5,$t3,$t4 -/* f0f2060: 030cc821 */ addu $t9,$t8,$t4 -/* f0f2064: 8f250000 */ lw $a1,0x0($t9) -/* f0f2068: 8da40000 */ lw $a0,0x0($t5) -/* f0f206c: 0fc01990 */ jal colourBlend -/* f0f2070: 8ce60044 */ lw $a2,0x44($a3) -/* f0f2074: 3c097f1b */ lui $t1,0x7f1b -/* f0f2078: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f207c: afa201bc */ sw $v0,0x1bc($sp) -/* f0f2080: 2408003c */ addiu $t0,$zero,0x3c -/* f0f2084: 8fa701ec */ lw $a3,0x1ec($sp) -.NB0f0f2088: -/* f0f2088: c4f00040 */ lwc1 $f16,0x40($a3) -/* f0f208c: 4614803c */ c.lt.s $f16,$f20 -/* f0f2090: 00000000 */ sll $zero,$zero,0x0 -/* f0f2094: 45020009 */ bc1fl .NB0f0f20bc -/* f0f2098: 90f8003d */ lbu $t8,0x3d($a3) -/* f0f209c: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f20a0: 01c80019 */ multu $t6,$t0 -/* f0f20a4: 00005812 */ mflo $t3 -/* f0f20a8: 012b6821 */ addu $t5,$t1,$t3 -/* f0f20ac: 8daf0004 */ lw $t7,0x4($t5) -/* f0f20b0: 10000012 */ beqz $zero,.NB0f0f20fc -/* f0f20b4: afaf01b8 */ sw $t7,0x1b8($sp) -/* f0f20b8: 90f8003d */ lbu $t8,0x3d($a3) -.NB0f0f20bc: -/* f0f20bc: 90ee003c */ lbu $t6,0x3c($a3) -/* f0f20c0: 8ce60044 */ lw $a2,0x44($a3) -/* f0f20c4: 03080019 */ multu $t8,$t0 -/* f0f20c8: 00006012 */ mflo $t4 -/* f0f20cc: 012cc821 */ addu $t9,$t1,$t4 -/* f0f20d0: 8f240004 */ lw $a0,0x4($t9) -/* f0f20d4: 01c80019 */ multu $t6,$t0 -/* f0f20d8: 00005812 */ mflo $t3 -/* f0f20dc: 012b6821 */ addu $t5,$t1,$t3 -/* f0f20e0: 0fc01990 */ jal colourBlend -/* f0f20e4: 8da50004 */ lw $a1,0x4($t5) -/* f0f20e8: 3c097f1b */ lui $t1,0x7f1b -/* f0f20ec: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f20f0: afa201b8 */ sw $v0,0x1b8($sp) -/* f0f20f4: 2408003c */ addiu $t0,$zero,0x3c -/* f0f20f8: 8fa701ec */ lw $a3,0x1ec($sp) -.NB0f0f20fc: -/* f0f20fc: c4f20040 */ lwc1 $f18,0x40($a3) -/* f0f2100: 4614903c */ c.lt.s $f18,$f20 -/* f0f2104: 00000000 */ sll $zero,$zero,0x0 -/* f0f2108: 45020009 */ bc1fl .NB0f0f2130 -/* f0f210c: 90ee003d */ lbu $t6,0x3d($a3) -/* f0f2110: 90ef003c */ lbu $t7,0x3c($a3) -/* f0f2114: 01e80019 */ multu $t7,$t0 -/* f0f2118: 0000c012 */ mflo $t8 -/* f0f211c: 01386021 */ addu $t4,$t1,$t8 -/* f0f2120: 8d990008 */ lw $t9,0x8($t4) -/* f0f2124: 10000012 */ beqz $zero,.NB0f0f2170 -/* f0f2128: afb901b4 */ sw $t9,0x1b4($sp) -/* f0f212c: 90ee003d */ lbu $t6,0x3d($a3) -.NB0f0f2130: -/* f0f2130: 90ef003c */ lbu $t7,0x3c($a3) -/* f0f2134: 8ce60044 */ lw $a2,0x44($a3) -/* f0f2138: 01c80019 */ multu $t6,$t0 -/* f0f213c: 00005812 */ mflo $t3 -/* f0f2140: 012b6821 */ addu $t5,$t1,$t3 -/* f0f2144: 8da40008 */ lw $a0,0x8($t5) -/* f0f2148: 01e80019 */ multu $t7,$t0 -/* f0f214c: 0000c012 */ mflo $t8 -/* f0f2150: 01386021 */ addu $t4,$t1,$t8 -/* f0f2154: 0fc01990 */ jal colourBlend -/* f0f2158: 8d850008 */ lw $a1,0x8($t4) -/* f0f215c: 3c097f1b */ lui $t1,0x7f1b -/* f0f2160: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f2164: afa201b4 */ sw $v0,0x1b4($sp) -/* f0f2168: 2408003c */ addiu $t0,$zero,0x3c -/* f0f216c: 8fa701ec */ lw $a3,0x1ec($sp) -.NB0f0f2170: -/* f0f2170: 8fb901e8 */ lw $t9,0x1e8($sp) -/* f0f2174: 3c0bb600 */ lui $t3,0xb600 -/* f0f2178: 240d0001 */ addiu $t5,$zero,0x1 -/* f0f217c: 272e0008 */ addiu $t6,$t9,0x8 -/* f0f2180: afae01e8 */ sw $t6,0x1e8($sp) -/* f0f2184: af2d0004 */ sw $t5,0x4($t9) -/* f0f2188: af2b0000 */ sw $t3,0x0($t9) -/* f0f218c: 8faf01bc */ lw $t7,0x1bc($sp) -/* f0f2190: 8fb201b4 */ lw $s2,0x1b4($sp) -/* f0f2194: 8fb901b4 */ lw $t9,0x1b4($sp) -/* f0f2198: 31f800ff */ andi $t8,$t7,0xff -/* f0f219c: 2f010040 */ sltiu $at,$t8,0x40 -/* f0f21a0: 14200005 */ bnez $at,.NB0f0f21b8 -/* f0f21a4: 01e08825 */ or $s1,$t7,$zero -/* f0f21a8: 2401ff00 */ addiu $at,$zero,-256 -/* f0f21ac: 01e18824 */ and $s1,$t7,$at -/* f0f21b0: 362c003f */ ori $t4,$s1,0x3f -/* f0f21b4: 01808825 */ or $s1,$t4,$zero -.NB0f0f21b8: -/* f0f21b8: 332e00ff */ andi $t6,$t9,0xff -/* f0f21bc: 2dc10040 */ sltiu $at,$t6,0x40 -/* f0f21c0: 14200005 */ bnez $at,.NB0f0f21d8 -/* f0f21c4: 240dfc18 */ addiu $t5,$zero,-1000 -/* f0f21c8: 2401ff00 */ addiu $at,$zero,-256 -/* f0f21cc: 03219024 */ and $s2,$t9,$at -/* f0f21d0: 364b003f */ ori $t3,$s2,0x3f -/* f0f21d4: 01609025 */ or $s2,$t3,$zero -.NB0f0f21d8: -/* f0f21d8: 3c01800a */ lui $at,0x800a -/* f0f21dc: ac2d2680 */ sw $t5,0x2680($at) -/* f0f21e0: 3c01800a */ lui $at,0x800a -/* f0f21e4: 241803e8 */ addiu $t8,$zero,0x3e8 -/* f0f21e8: ac382684 */ sw $t8,0x2684($at) -/* f0f21ec: 8cef0000 */ lw $t7,0x0($a3) -/* f0f21f0: 3c03800a */ lui $v1,0x800a -/* f0f21f4: 8de40010 */ lw $a0,0x10($t7) -/* f0f21f8: 308c0100 */ andi $t4,$a0,0x100 -/* f0f21fc: 11800002 */ beqz $t4,.NB0f0f2208 -/* f0f2200: 01802025 */ or $a0,$t4,$zero -/* f0f2204: 2673000b */ addiu $s3,$s3,0xb -.NB0f0f2208: -/* f0f2208: 8c635eb4 */ lw $v1,0x5eb4($v1) -/* f0f220c: 24010003 */ addiu $at,$zero,0x3 -/* f0f2210: 10610064 */ beq $v1,$at,.NB0f0f23a4 -/* f0f2214: 24010004 */ addiu $at,$zero,0x4 -/* f0f2218: 14610004 */ bne $v1,$at,.NB0f0f222c -/* f0f221c: 3c0e800a */ lui $t6,0x800a -/* f0f2220: 8dcee9d8 */ lw $t6,-0x1628($t6) -/* f0f2224: 11c0005f */ beqz $t6,.NB0f0f23a4 -/* f0f2228: 00000000 */ sll $zero,$zero,0x0 -.NB0f0f222c: -/* f0f222c: 3c10800b */ lui $s0,0x800b -/* f0f2230: 26108db4 */ addiu $s0,$s0,-29260 -/* f0f2234: 8e040000 */ lw $a0,0x0($s0) -/* f0f2238: 02a02825 */ or $a1,$s5,$zero -/* f0f223c: 02603025 */ or $a2,$s3,$zero -/* f0f2240: 02c03825 */ or $a3,$s6,$zero -/* f0f2244: afb30010 */ sw $s3,0x10($sp) -/* f0f2248: afb10014 */ sw $s1,0x14($sp) -/* f0f224c: afb20018 */ sw $s2,0x18($sp) -/* f0f2250: 0fc34923 */ jal func0f0d4d0c -/* f0f2254: afa0001c */ sw $zero,0x1c($sp) -/* f0f2258: ae020000 */ sw $v0,0x0($s0) -/* f0f225c: 00402025 */ or $a0,$v0,$zero -/* f0f2260: 02c02825 */ or $a1,$s6,$zero -/* f0f2264: 02603025 */ or $a2,$s3,$zero -/* f0f2268: 02c03825 */ or $a3,$s6,$zero -/* f0f226c: afb40010 */ sw $s4,0x10($sp) -/* f0f2270: afb20014 */ sw $s2,0x14($sp) -/* f0f2274: afb10018 */ sw $s1,0x18($sp) -/* f0f2278: 0fc34923 */ jal func0f0d4d0c -/* f0f227c: afa0001c */ sw $zero,0x1c($sp) -/* f0f2280: ae020000 */ sw $v0,0x0($s0) -/* f0f2284: 00402025 */ or $a0,$v0,$zero -/* f0f2288: 02c02825 */ or $a1,$s6,$zero -/* f0f228c: 02803025 */ or $a2,$s4,$zero -/* f0f2290: 02a03825 */ or $a3,$s5,$zero -/* f0f2294: afb40010 */ sw $s4,0x10($sp) -/* f0f2298: afb10014 */ sw $s1,0x14($sp) -/* f0f229c: afb20018 */ sw $s2,0x18($sp) -/* f0f22a0: 0fc34923 */ jal func0f0d4d0c -/* f0f22a4: afa0001c */ sw $zero,0x1c($sp) -/* f0f22a8: ae020000 */ sw $v0,0x0($s0) -/* f0f22ac: 00402025 */ or $a0,$v0,$zero -/* f0f22b0: 02a02825 */ or $a1,$s5,$zero -/* f0f22b4: 02803025 */ or $a2,$s4,$zero -/* f0f22b8: 02a03825 */ or $a3,$s5,$zero -/* f0f22bc: afb30010 */ sw $s3,0x10($sp) -/* f0f22c0: afb20014 */ sw $s2,0x14($sp) -/* f0f22c4: afb10018 */ sw $s1,0x18($sp) -/* f0f22c8: 0fc34923 */ jal func0f0d4d0c -/* f0f22cc: afa0001c */ sw $zero,0x1c($sp) -/* f0f22d0: 24190001 */ addiu $t9,$zero,0x1 -/* f0f22d4: ae020000 */ sw $v0,0x0($s0) -/* f0f22d8: afb9001c */ sw $t9,0x1c($sp) -/* f0f22dc: 00402025 */ or $a0,$v0,$zero -/* f0f22e0: 02a02825 */ or $a1,$s5,$zero -/* f0f22e4: 02603025 */ or $a2,$s3,$zero -/* f0f22e8: 02c03825 */ or $a3,$s6,$zero -/* f0f22ec: afb30010 */ sw $s3,0x10($sp) -/* f0f22f0: afb20014 */ sw $s2,0x14($sp) -/* f0f22f4: 0fc34923 */ jal func0f0d4d0c -/* f0f22f8: afb10018 */ sw $s1,0x18($sp) -/* f0f22fc: 240b0001 */ addiu $t3,$zero,0x1 -/* f0f2300: ae020000 */ sw $v0,0x0($s0) -/* f0f2304: afab001c */ sw $t3,0x1c($sp) -/* f0f2308: 00402025 */ or $a0,$v0,$zero -/* f0f230c: 02c02825 */ or $a1,$s6,$zero -/* f0f2310: 02603025 */ or $a2,$s3,$zero -/* f0f2314: 02c03825 */ or $a3,$s6,$zero -/* f0f2318: afb40010 */ sw $s4,0x10($sp) -/* f0f231c: afb10014 */ sw $s1,0x14($sp) -/* f0f2320: 0fc34923 */ jal func0f0d4d0c -/* f0f2324: afb20018 */ sw $s2,0x18($sp) -/* f0f2328: 240d0001 */ addiu $t5,$zero,0x1 -/* f0f232c: ae020000 */ sw $v0,0x0($s0) -/* f0f2330: afad001c */ sw $t5,0x1c($sp) -/* f0f2334: 00402025 */ or $a0,$v0,$zero -/* f0f2338: 02c02825 */ or $a1,$s6,$zero -/* f0f233c: 02803025 */ or $a2,$s4,$zero -/* f0f2340: 02a03825 */ or $a3,$s5,$zero -/* f0f2344: afb40010 */ sw $s4,0x10($sp) -/* f0f2348: afb20014 */ sw $s2,0x14($sp) -/* f0f234c: 0fc34923 */ jal func0f0d4d0c -/* f0f2350: afb10018 */ sw $s1,0x18($sp) -/* f0f2354: 24180001 */ addiu $t8,$zero,0x1 -/* f0f2358: ae020000 */ sw $v0,0x0($s0) -/* f0f235c: afb8001c */ sw $t8,0x1c($sp) -/* f0f2360: 00402025 */ or $a0,$v0,$zero -/* f0f2364: 02a02825 */ or $a1,$s5,$zero -/* f0f2368: 02803025 */ or $a2,$s4,$zero -/* f0f236c: 02a03825 */ or $a3,$s5,$zero -/* f0f2370: afb30010 */ sw $s3,0x10($sp) -/* f0f2374: afb10014 */ sw $s1,0x14($sp) -/* f0f2378: 0fc34923 */ jal func0f0d4d0c -/* f0f237c: afb20018 */ sw $s2,0x18($sp) -/* f0f2380: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f2384: ae020000 */ sw $v0,0x0($s0) -/* f0f2388: 3c097f1b */ lui $t1,0x7f1b -/* f0f238c: 8dec0000 */ lw $t4,0x0($t7) -/* f0f2390: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f2394: 2408003c */ addiu $t0,$zero,0x3c -/* f0f2398: 8d840010 */ lw $a0,0x10($t4) -/* f0f239c: 308e0100 */ andi $t6,$a0,0x100 -/* f0f23a0: 01c02025 */ or $a0,$t6,$zero -.NB0f0f23a4: -/* f0f23a4: 148000e7 */ bnez $a0,.NB0f0f2744 -/* f0f23a8: 3c03800a */ lui $v1,0x800a -/* f0f23ac: 8c635eb4 */ lw $v1,0x5eb4($v1) -/* f0f23b0: 24010003 */ addiu $at,$zero,0x3 -/* f0f23b4: 10610002 */ beq $v1,$at,.NB0f0f23c0 -/* f0f23b8: 2401000b */ addiu $at,$zero,0xb -/* f0f23bc: 1461000d */ bne $v1,$at,.NB0f0f23f4 -.NB0f0f23c0: -/* f0f23c0: 3c19800b */ lui $t9,0x800b -/* f0f23c4: 8f391444 */ lw $t9,0x1444($t9) -/* f0f23c8: 3c0d800a */ lui $t5,0x800a -/* f0f23cc: 332b0002 */ andi $t3,$t9,0x2 -/* f0f23d0: 51600009 */ beqzl $t3,.NB0f0f23f8 -/* f0f23d4: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f23d8: 8dadeb50 */ lw $t5,-0x14b0($t5) -/* f0f23dc: 24010002 */ addiu $at,$zero,0x2 -/* f0f23e0: 27a401bc */ addiu $a0,$sp,0x1bc -/* f0f23e4: 11a10003 */ beq $t5,$at,.NB0f0f23f4 -/* f0f23e8: 27a501b8 */ addiu $a1,$sp,0x1b8 -/* f0f23ec: 0fc3c6ea */ jal menuGetTeamTitlebarColours -/* f0f23f0: 27a601b4 */ addiu $a2,$sp,0x1b4 -.NB0f0f23f4: -/* f0f23f4: 8fa301e0 */ lw $v1,0x1e0($sp) -.NB0f0f23f8: -/* f0f23f8: 87b801ca */ lh $t8,0x1ca($sp) -/* f0f23fc: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f2400: 8fac01bc */ lw $t4,0x1bc($sp) -/* f0f2404: 8fae01b8 */ lw $t6,0x1b8($sp) -/* f0f2408: 8faf01b4 */ lw $t7,0x1b4($sp) -/* f0f240c: 03031021 */ addu $v0,$t8,$v1 -/* f0f2410: 24510002 */ addiu $s1,$v0,0x2 -/* f0f2414: 2470fffe */ addiu $s0,$v1,-2 -/* f0f2418: 24d5000b */ addiu $s5,$a2,0xb -/* f0f241c: afb50010 */ sw $s5,0x10($sp) -/* f0f2420: 02002825 */ or $a1,$s0,$zero -/* f0f2424: 02203825 */ or $a3,$s1,$zero -/* f0f2428: afa20088 */ sw $v0,0x88($sp) -/* f0f242c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f2430: afac0014 */ sw $t4,0x14($sp) -/* f0f2434: afae0018 */ sw $t6,0x18($sp) -/* f0f2438: 0fc37c5f */ jal menugfxRenderGradient -/* f0f243c: afaf001c */ sw $t7,0x1c($sp) -/* f0f2440: 8fab01bc */ lw $t3,0x1bc($sp) -/* f0f2444: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f2448: 240c0001 */ addiu $t4,$zero,0x1 -/* f0f244c: 316d00ff */ andi $t5,$t3,0xff -/* f0f2450: 000dc042 */ srl $t8,$t5,0x1 -/* f0f2454: 240e0028 */ addiu $t6,$zero,0x28 -/* f0f2458: 24d90001 */ addiu $t9,$a2,0x1 -/* f0f245c: afb90010 */ sw $t9,0x10($sp) -/* f0f2460: afae001c */ sw $t6,0x1c($sp) -/* f0f2464: afb80014 */ sw $t8,0x14($sp) -/* f0f2468: afac0018 */ sw $t4,0x18($sp) -/* f0f246c: 00402025 */ or $a0,$v0,$zero -/* f0f2470: 02002825 */ or $a1,$s0,$zero -/* f0f2474: 02203825 */ or $a3,$s1,$zero -/* f0f2478: 0fc37fce */ jal menugfxDrawShimmer -/* f0f247c: afa00020 */ sw $zero,0x20($sp) -/* f0f2480: 8faf01bc */ lw $t7,0x1bc($sp) -/* f0f2484: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f2488: 240d0028 */ addiu $t5,$zero,0x28 -/* f0f248c: 31f900ff */ andi $t9,$t7,0xff -/* f0f2490: 00195842 */ srl $t3,$t9,0x1 -/* f0f2494: 24180001 */ addiu $t8,$zero,0x1 -/* f0f2498: afb80020 */ sw $t8,0x20($sp) -/* f0f249c: afab0014 */ sw $t3,0x14($sp) -/* f0f24a0: afad001c */ sw $t5,0x1c($sp) -/* f0f24a4: 00402025 */ or $a0,$v0,$zero -/* f0f24a8: 02002825 */ or $a1,$s0,$zero -/* f0f24ac: 02203825 */ or $a3,$s1,$zero -/* f0f24b0: afb50010 */ sw $s5,0x10($sp) -/* f0f24b4: afa00018 */ sw $zero,0x18($sp) -/* f0f24b8: 0fc37fce */ jal menugfxDrawShimmer -/* f0f24bc: 24c6000a */ addiu $a2,$a2,0xa -/* f0f24c0: 8fb201e0 */ lw $s2,0x1e0($sp) -/* f0f24c4: 8fb001dc */ lw $s0,0x1dc($sp) -/* f0f24c8: 00402025 */ or $a0,$v0,$zero -/* f0f24cc: 26520002 */ addiu $s2,$s2,0x2 -/* f0f24d0: 26100002 */ addiu $s0,$s0,0x2 -/* f0f24d4: afb001cc */ sw $s0,0x1cc($sp) -/* f0f24d8: 0fc5374a */ jal text0f153628 -/* f0f24dc: afb201d0 */ sw $s2,0x1d0($sp) -/* f0f24e0: 8fac01f4 */ lw $t4,0x1f4($sp) -/* f0f24e4: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f24e8: afa001b0 */ sw $zero,0x1b0($sp) -/* f0f24ec: 11800003 */ beqz $t4,.NB0f0f24fc -/* f0f24f0: 3c0f8007 */ lui $t7,0x8007 -/* f0f24f4: 240e0001 */ addiu $t6,$zero,0x1 -/* f0f24f8: afae01b0 */ sw $t6,0x1b0($sp) -.NB0f0f24fc: -/* f0f24fc: 25ef3b7c */ addiu $t7,$t7,0x3b7c -/* f0f2500: 8de10000 */ lw $at,0x0($t7) -/* f0f2504: 8fa301ec */ lw $v1,0x1ec($sp) -/* f0f2508: 27b40154 */ addiu $s4,$sp,0x154 -/* f0f250c: ae810000 */ sw $at,0x0($s4) -/* f0f2510: 8ded0004 */ lw $t5,0x4($t7) -/* f0f2514: ae8d0004 */ sw $t5,0x4($s4) -/* f0f2518: 8de10008 */ lw $at,0x8($t7) -/* f0f251c: ae810008 */ sw $at,0x8($s4) -/* f0f2520: 8ded000c */ lw $t5,0xc($t7) -/* f0f2524: 3c0f7f1b */ lui $t7,0x7f1b -/* f0f2528: 25efc2e0 */ addiu $t7,$t7,-15648 -/* f0f252c: ae8d000c */ sw $t5,0xc($s4) -/* f0f2530: c4640040 */ lwc1 $f4,0x40($v1) -/* f0f2534: 4614203c */ c.lt.s $f4,$f20 -/* f0f2538: 00000000 */ sll $zero,$zero,0x0 -/* f0f253c: 4502000b */ bc1fl .NB0f0f256c -/* f0f2540: 906b003d */ lbu $t3,0x3d($v1) -/* f0f2544: 9078003c */ lbu $t8,0x3c($v1) -/* f0f2548: 3c0e7f1b */ lui $t6,0x7f1b -/* f0f254c: 00186100 */ sll $t4,$t8,0x4 -/* f0f2550: 01986023 */ subu $t4,$t4,$t8 -/* f0f2554: 000c6080 */ sll $t4,$t4,0x2 -/* f0f2558: 01cc7021 */ addu $t6,$t6,$t4 -/* f0f255c: 8dcec2ec */ lw $t6,-0x3d14($t6) -/* f0f2560: 10000011 */ beqz $zero,.NB0f0f25a8 -/* f0f2564: afae01bc */ sw $t6,0x1bc($sp) -/* f0f2568: 906b003d */ lbu $t3,0x3d($v1) -.NB0f0f256c: -/* f0f256c: 9078003c */ lbu $t8,0x3c($v1) -/* f0f2570: 8c660044 */ lw $a2,0x44($v1) -/* f0f2574: 000bc900 */ sll $t9,$t3,0x4 -/* f0f2578: 00186100 */ sll $t4,$t8,0x4 -/* f0f257c: 032bc823 */ subu $t9,$t9,$t3 -/* f0f2580: 01986023 */ subu $t4,$t4,$t8 -/* f0f2584: 000c6080 */ sll $t4,$t4,0x2 -/* f0f2588: 0019c880 */ sll $t9,$t9,0x2 -/* f0f258c: 032f6821 */ addu $t5,$t9,$t7 -/* f0f2590: 018f7021 */ addu $t6,$t4,$t7 -/* f0f2594: 8dc5000c */ lw $a1,0xc($t6) -/* f0f2598: 0fc01990 */ jal colourBlend -/* f0f259c: 8da4000c */ lw $a0,0xc($t5) -/* f0f25a0: afa201bc */ sw $v0,0x1bc($sp) -/* f0f25a4: 8fa301ec */ lw $v1,0x1ec($sp) -.NB0f0f25a8: -/* f0f25a8: 9062003c */ lbu $v0,0x3c($v1) -/* f0f25ac: 3c047f1b */ lui $a0,0x7f1b -/* f0f25b0: 3c057f1b */ lui $a1,0x7f1b -/* f0f25b4: 00025900 */ sll $t3,$v0,0x4 -/* f0f25b8: 01625823 */ subu $t3,$t3,$v0 -/* f0f25bc: 000b1080 */ sll $v0,$t3,0x2 -/* f0f25c0: 00822021 */ addu $a0,$a0,$v0 -/* f0f25c4: 00a22821 */ addu $a1,$a1,$v0 -/* f0f25c8: 8ca5c454 */ lw $a1,-0x3bac($a1) -/* f0f25cc: 0fc53925 */ jal textSetWaveColours -/* f0f25d0: 8c84c5bc */ lw $a0,-0x3a44($a0) -/* f0f25d4: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f25d8: 8fa501dc */ lw $a1,0x1dc($sp) -/* f0f25dc: 24630003 */ addiu $v1,$v1,0x3 -/* f0f25e0: 24a50003 */ addiu $a1,$a1,0x3 -/* f0f25e4: afa501cc */ sw $a1,0x1cc($sp) -/* f0f25e8: 0c002f7b */ jal viGetHeight -/* f0f25ec: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f25f0: 8fb801bc */ lw $t8,0x1bc($sp) -/* f0f25f4: 3c118008 */ lui $s1,0x8008 -/* f0f25f8: 3c138008 */ lui $s3,0x8008 -/* f0f25fc: 2673236c */ addiu $s3,$s3,0x236c -/* f0f2600: 26312370 */ addiu $s1,$s1,0x2370 -/* f0f2604: 8e390000 */ lw $t9,0x0($s1) -/* f0f2608: 8e6d0000 */ lw $t5,0x0($s3) -/* f0f260c: 87af01ca */ lh $t7,0x1ca($sp) -/* f0f2610: 330c00ff */ andi $t4,$t8,0xff -/* f0f2614: afac0018 */ sw $t4,0x18($sp) -/* f0f2618: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f261c: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f2620: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f2624: 02e03825 */ or $a3,$s7,$zero -/* f0f2628: afa20020 */ sw $v0,0x20($sp) -/* f0f262c: afa00024 */ sw $zero,0x24($sp) -/* f0f2630: afa00028 */ sw $zero,0x28($sp) -/* f0f2634: afb90010 */ sw $t9,0x10($sp) -/* f0f2638: afad0014 */ sw $t5,0x14($sp) -/* f0f263c: 0fc541a6 */ jal textRenderProjected -/* f0f2640: afaf001c */ sw $t7,0x1c($sp) -/* f0f2644: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f2648: afb201d0 */ sw $s2,0x1d0($sp) -/* f0f264c: 0c002f7b */ jal viGetHeight -/* f0f2650: afb001cc */ sw $s0,0x1cc($sp) -/* f0f2654: 8e2e0000 */ lw $t6,0x0($s1) -/* f0f2658: 8e6b0000 */ lw $t3,0x0($s3) -/* f0f265c: 8fb901bc */ lw $t9,0x1bc($sp) -/* f0f2660: 87ad01ca */ lh $t5,0x1ca($sp) -/* f0f2664: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f2668: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f266c: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f2670: 02e03825 */ or $a3,$s7,$zero -/* f0f2674: afa20020 */ sw $v0,0x20($sp) -/* f0f2678: afa00024 */ sw $zero,0x24($sp) -/* f0f267c: afa00028 */ sw $zero,0x28($sp) -/* f0f2680: afae0010 */ sw $t6,0x10($sp) -/* f0f2684: afab0014 */ sw $t3,0x14($sp) -/* f0f2688: afb90018 */ sw $t9,0x18($sp) -/* f0f268c: 0fc541a6 */ jal textRenderProjected -/* f0f2690: afad001c */ sw $t5,0x1c($sp) -/* f0f2694: 3c03800a */ lui $v1,0x800a -/* f0f2698: 8c635eb4 */ lw $v1,0x5eb4($v1) -/* f0f269c: 24010003 */ addiu $at,$zero,0x3 -/* f0f26a0: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f26a4: 10610007 */ beq $v1,$at,.NB0f0f26c4 -/* f0f26a8: 24010004 */ addiu $at,$zero,0x4 -/* f0f26ac: 10610005 */ beq $v1,$at,.NB0f0f26c4 -/* f0f26b0: 24010005 */ addiu $at,$zero,0x5 -/* f0f26b4: 10610003 */ beq $v1,$at,.NB0f0f26c4 -/* f0f26b8: 2401000b */ addiu $at,$zero,0xb -/* f0f26bc: 1461001b */ bne $v1,$at,.NB0f0f272c -/* f0f26c0: 00000000 */ sll $zero,$zero,0x0 -.NB0f0f26c4: -/* f0f26c4: 8fa30088 */ lw $v1,0x88($sp) -/* f0f26c8: afb001cc */ sw $s0,0x1cc($sp) -/* f0f26cc: 2463fff7 */ addiu $v1,$v1,-9 -/* f0f26d0: 0c002f7b */ jal viGetHeight -/* f0f26d4: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f26d8: 3c188007 */ lui $t8,0x8007 -/* f0f26dc: 8f183af0 */ lw $t8,0x3af0($t8) -/* f0f26e0: 8e2e0000 */ lw $t6,0x0($s1) -/* f0f26e4: 8e6b0000 */ lw $t3,0x0($s3) -/* f0f26e8: 00186080 */ sll $t4,$t8,0x2 -/* f0f26ec: 028c7821 */ addu $t7,$s4,$t4 -/* f0f26f0: 8de70000 */ lw $a3,0x0($t7) -/* f0f26f4: 8fb901bc */ lw $t9,0x1bc($sp) -/* f0f26f8: 87ad01ca */ lh $t5,0x1ca($sp) -/* f0f26fc: afa00028 */ sw $zero,0x28($sp) -/* f0f2700: afa00024 */ sw $zero,0x24($sp) -/* f0f2704: afa20020 */ sw $v0,0x20($sp) -/* f0f2708: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f270c: 27a501d0 */ addiu $a1,$sp,0x1d0 -/* f0f2710: 27a601cc */ addiu $a2,$sp,0x1cc -/* f0f2714: afae0010 */ sw $t6,0x10($sp) -/* f0f2718: afab0014 */ sw $t3,0x14($sp) -/* f0f271c: afb90018 */ sw $t9,0x18($sp) -/* f0f2720: 0fc541a6 */ jal textRenderProjected -/* f0f2724: afad001c */ sw $t5,0x1c($sp) -/* f0f2728: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f272c: -/* f0f272c: 0fc537a0 */ jal text0f153780 -/* f0f2730: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f2734: 3c097f1b */ lui $t1,0x7f1b -/* f0f2738: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f273c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f2740: 2408003c */ addiu $t0,$zero,0x3c -.NB0f0f2744: -/* f0f2744: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2748: 8fb501dc */ lw $s5,0x1dc($sp) -/* f0f274c: 3c18800a */ lui $t8,0x800a -/* f0f2750: c4400048 */ lwc1 $f0,0x48($v0) -/* f0f2754: 26b5000b */ addiu $s5,$s5,0xb -/* f0f2758: 4614003c */ c.lt.s $f0,$f20 -/* f0f275c: 00000000 */ sll $zero,$zero,0x0 -/* f0f2760: 4503001e */ bc1tl .NB0f0f27dc -/* f0f2764: 904e0060 */ lbu $t6,0x60($v0) -/* f0f2768: 8f185eb4 */ lw $t8,0x5eb4($t8) -/* f0f276c: 24010004 */ addiu $at,$zero,0x4 -/* f0f2770: 53010024 */ beql $t8,$at,.NB0f0f2804 -/* f0f2774: 03d5082a */ slt $at,$s8,$s5 -/* f0f2778: 904c0060 */ lbu $t4,0x60($v0) -/* f0f277c: 00003825 */ or $a3,$zero,$zero -/* f0f2780: 29810003 */ slti $at,$t4,0x3 -/* f0f2784: 54200009 */ bnezl $at,.NB0f0f27ac -/* f0f2788: 44060000 */ mfc1 $a2,$f0 -/* f0f278c: 44060000 */ mfc1 $a2,$f0 -/* f0f2790: 8c440014 */ lw $a0,0x14($v0) -/* f0f2794: 8c450018 */ lw $a1,0x18($v0) -/* f0f2798: 0fc5389f */ jal textSetDiagonalBlend -/* f0f279c: 24070001 */ addiu $a3,$zero,0x1 -/* f0f27a0: 10000006 */ beqz $zero,.NB0f0f27bc -/* f0f27a4: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f27a8: 44060000 */ mfc1 $a2,$f0 -.NB0f0f27ac: -/* f0f27ac: 8c440014 */ lw $a0,0x14($v0) -/* f0f27b0: 0fc5389f */ jal textSetDiagonalBlend -/* f0f27b4: 8c450018 */ lw $a1,0x18($v0) -/* f0f27b8: 240f0001 */ addiu $t7,$zero,0x1 -.NB0f0f27bc: -/* f0f27bc: 3c018008 */ lui $at,0x8008 -/* f0f27c0: 3c097f1b */ lui $t1,0x7f1b -/* f0f27c4: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f27c8: ac2f23fc */ sw $t7,0x23fc($at) -/* f0f27cc: 2408003c */ addiu $t0,$zero,0x3c -/* f0f27d0: 1000000b */ beqz $zero,.NB0f0f2800 -/* f0f27d4: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f27d8: 904e0060 */ lbu $t6,0x60($v0) -.NB0f0f27dc: -/* f0f27dc: 24010003 */ addiu $at,$zero,0x3 -/* f0f27e0: 55c10008 */ bnel $t6,$at,.NB0f0f2804 -/* f0f27e4: 03d5082a */ slt $at,$s8,$s5 -/* f0f27e8: 0fc538f9 */ jal textSetMenuBlend -/* f0f27ec: c44c0050 */ lwc1 $f12,0x50($v0) -/* f0f27f0: 3c097f1b */ lui $t1,0x7f1b -/* f0f27f4: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f27f8: 2408003c */ addiu $t0,$zero,0x3c -/* f0f27fc: 8fa201ec */ lw $v0,0x1ec($sp) -.NB0f0f2800: -/* f0f2800: 03d5082a */ slt $at,$s8,$s5 -.NB0f0f2804: -/* f0f2804: 50200003 */ beqzl $at,.NB0f0f2814 -/* f0f2808: c4460040 */ lwc1 $f6,0x40($v0) -/* f0f280c: afb501d4 */ sw $s5,0x1d4($sp) -/* f0f2810: c4460040 */ lwc1 $f6,0x40($v0) -.NB0f0f2814: -/* f0f2814: 4614303c */ c.lt.s $f6,$f20 -/* f0f2818: 00000000 */ sll $zero,$zero,0x0 -/* f0f281c: 45020009 */ bc1fl .NB0f0f2844 -/* f0f2820: 904c003d */ lbu $t4,0x3d($v0) -/* f0f2824: 904b003c */ lbu $t3,0x3c($v0) -/* f0f2828: 01680019 */ multu $t3,$t0 -/* f0f282c: 0000c812 */ mflo $t9 -/* f0f2830: 01396821 */ addu $t5,$t1,$t9 -/* f0f2834: 8db80010 */ lw $t8,0x10($t5) -/* f0f2838: 10000012 */ beqz $zero,.NB0f0f2884 -/* f0f283c: afb801bc */ sw $t8,0x1bc($sp) -/* f0f2840: 904c003d */ lbu $t4,0x3d($v0) -.NB0f0f2844: -/* f0f2844: 904b003c */ lbu $t3,0x3c($v0) -/* f0f2848: 8c460044 */ lw $a2,0x44($v0) -/* f0f284c: 01880019 */ multu $t4,$t0 -/* f0f2850: 00007812 */ mflo $t7 -/* f0f2854: 012f7021 */ addu $t6,$t1,$t7 -/* f0f2858: 8dc40010 */ lw $a0,0x10($t6) -/* f0f285c: 01680019 */ multu $t3,$t0 -/* f0f2860: 0000c812 */ mflo $t9 -/* f0f2864: 01396821 */ addu $t5,$t1,$t9 -/* f0f2868: 0fc01990 */ jal colourBlend -/* f0f286c: 8da50010 */ lw $a1,0x10($t5) -/* f0f2870: afa201bc */ sw $v0,0x1bc($sp) -/* f0f2874: 3c097f1b */ lui $t1,0x7f1b -/* f0f2878: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f287c: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2880: 2408003c */ addiu $t0,$zero,0x3c -.NB0f0f2884: -/* f0f2884: 8c58000c */ lw $t8,0xc($v0) -/* f0f2888: 8fa401bc */ lw $a0,0x1bc($sp) -/* f0f288c: 00002825 */ or $a1,$zero,$zero -/* f0f2890: 5300000e */ beqzl $t8,.NB0f0f28cc -/* f0f2894: c4480040 */ lwc1 $f8,0x40($v0) -/* f0f2898: 0fc01990 */ jal colourBlend -/* f0f289c: 2406002c */ addiu $a2,$zero,0x2c -/* f0f28a0: 8faf01bc */ lw $t7,0x1bc($sp) -/* f0f28a4: 2401ff00 */ addiu $at,$zero,-256 -/* f0f28a8: 00416024 */ and $t4,$v0,$at -/* f0f28ac: 31ee00ff */ andi $t6,$t7,0xff -/* f0f28b0: 018e5825 */ or $t3,$t4,$t6 -/* f0f28b4: 3c097f1b */ lui $t1,0x7f1b -/* f0f28b8: 2529c2e0 */ addiu $t1,$t1,-15648 -/* f0f28bc: afab01bc */ sw $t3,0x1bc($sp) -/* f0f28c0: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f28c4: 2408003c */ addiu $t0,$zero,0x3c -/* f0f28c8: c4480040 */ lwc1 $f8,0x40($v0) -.NB0f0f28cc: -/* f0f28cc: 4614403c */ c.lt.s $f8,$f20 -/* f0f28d0: 00000000 */ sll $zero,$zero,0x0 -/* f0f28d4: 45020009 */ bc1fl .NB0f0f28fc -/* f0f28d8: 904c003d */ lbu $t4,0x3d($v0) -/* f0f28dc: 9059003c */ lbu $t9,0x3c($v0) -/* f0f28e0: 03280019 */ multu $t9,$t0 -/* f0f28e4: 00006812 */ mflo $t5 -/* f0f28e8: 012dc021 */ addu $t8,$t1,$t5 -/* f0f28ec: 8f0f0014 */ lw $t7,0x14($t8) -/* f0f28f0: 1000000f */ beqz $zero,.NB0f0f2930 -/* f0f28f4: afaf01b8 */ sw $t7,0x1b8($sp) -/* f0f28f8: 904c003d */ lbu $t4,0x3d($v0) -.NB0f0f28fc: -/* f0f28fc: 9059003c */ lbu $t9,0x3c($v0) -/* f0f2900: 8c460044 */ lw $a2,0x44($v0) -/* f0f2904: 01880019 */ multu $t4,$t0 -/* f0f2908: 00007012 */ mflo $t6 -/* f0f290c: 012e5821 */ addu $t3,$t1,$t6 -/* f0f2910: 8d640014 */ lw $a0,0x14($t3) -/* f0f2914: 03280019 */ multu $t9,$t0 -/* f0f2918: 00006812 */ mflo $t5 -/* f0f291c: 012dc021 */ addu $t8,$t1,$t5 -/* f0f2920: 0fc01990 */ jal colourBlend -/* f0f2924: 8f050014 */ lw $a1,0x14($t8) -/* f0f2928: afa201b8 */ sw $v0,0x1b8($sp) -/* f0f292c: 8fa201ec */ lw $v0,0x1ec($sp) -.NB0f0f2930: -/* f0f2930: 8faf01f4 */ lw $t7,0x1f4($sp) -/* f0f2934: 8fa901e0 */ lw $t1,0x1e0($sp) -/* f0f2938: 55e0008a */ bnezl $t7,.NB0f0f2b64 -/* f0f293c: 90580060 */ lbu $t8,0x60($v0) -/* f0f2940: 90430060 */ lbu $v1,0x60($v0) -/* f0f2944: 87ac01ca */ lh $t4,0x1ca($sp) -/* f0f2948: 24010001 */ addiu $at,$zero,0x1 -/* f0f294c: 14610014 */ bne $v1,$at,.NB0f0f29a0 -/* f0f2950: 01894021 */ addu $t0,$t4,$t1 -/* f0f2954: 3c013f80 */ lui $at,0x3f80 -/* f0f2958: 44815000 */ mtc1 $at,$f10 -/* f0f295c: 8fae01d4 */ lw $t6,0x1d4($sp) -/* f0f2960: 8fab01bc */ lw $t3,0x1bc($sp) -/* f0f2964: 8fb901b8 */ lw $t9,0x1b8($sp) -/* f0f2968: 25300001 */ addiu $s0,$t1,0x1 -/* f0f296c: 2511ffff */ addiu $s1,$t0,-1 -/* f0f2970: 02203825 */ or $a3,$s1,$zero -/* f0f2974: 02002825 */ or $a1,$s0,$zero -/* f0f2978: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f297c: 02a03025 */ or $a2,$s5,$zero -/* f0f2980: afa20014 */ sw $v0,0x14($sp) -/* f0f2984: afae0010 */ sw $t6,0x10($sp) -/* f0f2988: e7aa0020 */ swc1 $f10,0x20($sp) -/* f0f298c: afab0018 */ sw $t3,0x18($sp) -/* f0f2990: 0fc3787b */ jal menugfxRenderDialogBackground -/* f0f2994: afb9001c */ sw $t9,0x1c($sp) -/* f0f2998: 10000027 */ beqz $zero,.NB0f0f2a38 -/* f0f299c: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f29a0: -/* f0f29a0: 24010002 */ addiu $at,$zero,0x2 -/* f0f29a4: 14610013 */ bne $v1,$at,.NB0f0f29f4 -/* f0f29a8: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f29ac: 8fad01d4 */ lw $t5,0x1d4($sp) -/* f0f29b0: 8fb801bc */ lw $t8,0x1bc($sp) -/* f0f29b4: 8faf01b8 */ lw $t7,0x1b8($sp) -/* f0f29b8: afa20014 */ sw $v0,0x14($sp) -/* f0f29bc: afad0010 */ sw $t5,0x10($sp) -/* f0f29c0: afb80018 */ sw $t8,0x18($sp) -/* f0f29c4: afaf001c */ sw $t7,0x1c($sp) -/* f0f29c8: c4500050 */ lwc1 $f16,0x50($v0) -/* f0f29cc: 25300001 */ addiu $s0,$t1,0x1 -/* f0f29d0: 2511ffff */ addiu $s1,$t0,-1 -/* f0f29d4: 02203825 */ or $a3,$s1,$zero -/* f0f29d8: 02002825 */ or $a1,$s0,$zero -/* f0f29dc: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f29e0: 02a03025 */ or $a2,$s5,$zero -/* f0f29e4: 0fc3787b */ jal menugfxRenderDialogBackground -/* f0f29e8: e7b00020 */ swc1 $f16,0x20($sp) -/* f0f29ec: 10000012 */ beqz $zero,.NB0f0f2a38 -/* f0f29f0: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f29f4: -/* f0f29f4: 3c01bf80 */ lui $at,0xbf80 -/* f0f29f8: 44819000 */ mtc1 $at,$f18 -/* f0f29fc: 8fac01d4 */ lw $t4,0x1d4($sp) -/* f0f2a00: 8fae01bc */ lw $t6,0x1bc($sp) -/* f0f2a04: 8fab01b8 */ lw $t3,0x1b8($sp) -/* f0f2a08: 25300001 */ addiu $s0,$t1,0x1 -/* f0f2a0c: 2511ffff */ addiu $s1,$t0,-1 -/* f0f2a10: 02203825 */ or $a3,$s1,$zero -/* f0f2a14: 02002825 */ or $a1,$s0,$zero -/* f0f2a18: 02a03025 */ or $a2,$s5,$zero -/* f0f2a1c: afa20014 */ sw $v0,0x14($sp) -/* f0f2a20: afac0010 */ sw $t4,0x10($sp) -/* f0f2a24: e7b20020 */ swc1 $f18,0x20($sp) -/* f0f2a28: afae0018 */ sw $t6,0x18($sp) -/* f0f2a2c: 0fc3787b */ jal menugfxRenderDialogBackground -/* f0f2a30: afab001c */ sw $t3,0x1c($sp) -/* f0f2a34: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f2a38: -/* f0f2a38: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2a3c: 8c590000 */ lw $t9,0x0($v0) -/* f0f2a40: 8f2d0010 */ lw $t5,0x10($t9) -/* f0f2a44: 31b80100 */ andi $t8,$t5,0x100 -/* f0f2a48: 53000046 */ beqzl $t8,.NB0f0f2b64 -/* f0f2a4c: 90580060 */ lbu $t8,0x60($v0) -/* f0f2a50: c4400040 */ lwc1 $f0,0x40($v0) -/* f0f2a54: 4614003c */ c.lt.s $f0,$f20 -/* f0f2a58: 00000000 */ sll $zero,$zero,0x0 -/* f0f2a5c: 4502000b */ bc1fl .NB0f0f2a8c -/* f0f2a60: 904b003d */ lbu $t3,0x3d($v0) -/* f0f2a64: 904f003c */ lbu $t7,0x3c($v0) -/* f0f2a68: 3c0e7f1b */ lui $t6,0x7f1b -/* f0f2a6c: 25cec2e0 */ addiu $t6,$t6,-15648 -/* f0f2a70: 000f6100 */ sll $t4,$t7,0x4 -/* f0f2a74: 018f6023 */ subu $t4,$t4,$t7 -/* f0f2a78: 000c6080 */ sll $t4,$t4,0x2 -/* f0f2a7c: 018e1821 */ addu $v1,$t4,$t6 -/* f0f2a80: 1000001b */ beqz $zero,.NB0f0f2af0 -/* f0f2a84: 8c720000 */ lw $s2,0x0($v1) -/* f0f2a88: 904b003d */ lbu $t3,0x3d($v0) -.NB0f0f2a8c: -/* f0f2a8c: 904f003c */ lbu $t7,0x3c($v0) -/* f0f2a90: 3c0d7f1b */ lui $t5,0x7f1b -/* f0f2a94: 000bc900 */ sll $t9,$t3,0x4 -/* f0f2a98: 000f6100 */ sll $t4,$t7,0x4 -/* f0f2a9c: 25adc2e0 */ addiu $t5,$t5,-15648 -/* f0f2aa0: 032bc823 */ subu $t9,$t9,$t3 -/* f0f2aa4: 018f6023 */ subu $t4,$t4,$t7 -/* f0f2aa8: 000c6080 */ sll $t4,$t4,0x2 -/* f0f2aac: 0019c880 */ sll $t9,$t9,0x2 -/* f0f2ab0: 032dc021 */ addu $t8,$t9,$t5 -/* f0f2ab4: 018d7021 */ addu $t6,$t4,$t5 -/* f0f2ab8: 8dc50000 */ lw $a1,0x0($t6) -/* f0f2abc: 8f040000 */ lw $a0,0x0($t8) -/* f0f2ac0: 0fc01990 */ jal colourBlend -/* f0f2ac4: 8c460044 */ lw $a2,0x44($v0) -/* f0f2ac8: 00409025 */ or $s2,$v0,$zero -/* f0f2acc: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2ad0: 3c0f7f1b */ lui $t7,0x7f1b -/* f0f2ad4: 25efc2e0 */ addiu $t7,$t7,-15648 -/* f0f2ad8: 9059003c */ lbu $t9,0x3c($v0) -/* f0f2adc: c4400040 */ lwc1 $f0,0x40($v0) -/* f0f2ae0: 0019c100 */ sll $t8,$t9,0x4 -/* f0f2ae4: 0319c023 */ subu $t8,$t8,$t9 -/* f0f2ae8: 0018c080 */ sll $t8,$t8,0x2 -/* f0f2aec: 030f1821 */ addu $v1,$t8,$t7 -.NB0f0f2af0: -/* f0f2af0: 4614003c */ c.lt.s $f0,$f20 -/* f0f2af4: 3c047f1b */ lui $a0,0x7f1b -/* f0f2af8: 45020004 */ bc1fl .NB0f0f2b0c -/* f0f2afc: 904c003d */ lbu $t4,0x3d($v0) -/* f0f2b00: 1000000b */ beqz $zero,.NB0f0f2b30 -/* f0f2b04: 8c680008 */ lw $t0,0x8($v1) -/* f0f2b08: 904c003d */ lbu $t4,0x3d($v0) -.NB0f0f2b0c: -/* f0f2b0c: 8c650008 */ lw $a1,0x8($v1) -/* f0f2b10: 8c460044 */ lw $a2,0x44($v0) -/* f0f2b14: 000c6900 */ sll $t5,$t4,0x4 -/* f0f2b18: 01ac6823 */ subu $t5,$t5,$t4 -/* f0f2b1c: 000d6880 */ sll $t5,$t5,0x2 -/* f0f2b20: 008d2021 */ addu $a0,$a0,$t5 -/* f0f2b24: 0fc01990 */ jal colourBlend -/* f0f2b28: 8c84c2e8 */ lw $a0,-0x3d18($a0) -/* f0f2b2c: 00404025 */ or $t0,$v0,$zero -.NB0f0f2b30: -/* f0f2b30: 8fae01dc */ lw $t6,0x1dc($sp) -/* f0f2b34: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f2b38: 02002825 */ or $a1,$s0,$zero -/* f0f2b3c: 25d9000c */ addiu $t9,$t6,0xc -/* f0f2b40: afb90010 */ sw $t9,0x10($sp) -/* f0f2b44: 02a03025 */ or $a2,$s5,$zero -/* f0f2b48: 02203825 */ or $a3,$s1,$zero -/* f0f2b4c: afb20014 */ sw $s2,0x14($sp) -/* f0f2b50: 0fc380df */ jal menugfxDrawDialogBorderLine -/* f0f2b54: afa80018 */ sw $t0,0x18($sp) -/* f0f2b58: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f2b5c: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2b60: 90580060 */ lbu $t8,0x60($v0) -.NB0f0f2b64: -/* f0f2b64: 57000004 */ bnezl $t8,.NB0f0f2b78 -/* f0f2b68: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f2b6c: 1000049f */ beqz $zero,.NB0f0f3dec -/* f0f2b70: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f2b74: 8fa301e0 */ lw $v1,0x1e0($sp) -.NB0f0f2b78: -/* f0f2b78: 87af01ca */ lh $t7,0x1ca($sp) -/* f0f2b7c: 24720002 */ addiu $s2,$v1,0x2 -/* f0f2b80: 01e35821 */ addu $t3,$t7,$v1 -/* f0f2b84: 0c002fb5 */ jal viGetViewLeft -/* f0f2b88: afab0088 */ sw $t3,0x88($sp) -/* f0f2b8c: 3c0c8008 */ lui $t4,0x8008 -/* f0f2b90: 8d8c2320 */ lw $t4,0x2320($t4) -/* f0f2b94: 004c001a */ div $zero,$v0,$t4 -/* f0f2b98: 00009812 */ mflo $s3 -/* f0f2b9c: 15800002 */ bnez $t4,.NB0f0f2ba8 -/* f0f2ba0: 00000000 */ sll $zero,$zero,0x0 -/* f0f2ba4: 0007000d */ break 0x7 -.NB0f0f2ba8: -/* f0f2ba8: 2401ffff */ addiu $at,$zero,-1 -/* f0f2bac: 15810004 */ bne $t4,$at,.NB0f0f2bc0 -/* f0f2bb0: 3c018000 */ lui $at,0x8000 -/* f0f2bb4: 14410002 */ bne $v0,$at,.NB0f0f2bc0 -/* f0f2bb8: 00000000 */ sll $zero,$zero,0x0 -/* f0f2bbc: 0006000d */ break 0x6 -.NB0f0f2bc0: -/* f0f2bc0: 0c002fb9 */ jal viGetViewTop -/* f0f2bc4: 00000000 */ sll $zero,$zero,0x0 -/* f0f2bc8: 0c002fb5 */ jal viGetViewLeft -/* f0f2bcc: 0040a025 */ or $s4,$v0,$zero -/* f0f2bd0: 00028400 */ sll $s0,$v0,0x10 -/* f0f2bd4: 00106c03 */ sra $t5,$s0,0x10 -/* f0f2bd8: 0c002f97 */ jal viGetViewWidth -/* f0f2bdc: 01a08025 */ or $s0,$t5,$zero -/* f0f2be0: 3c198008 */ lui $t9,0x8008 -/* f0f2be4: 8f392320 */ lw $t9,0x2320($t9) -/* f0f2be8: 00507021 */ addu $t6,$v0,$s0 -/* f0f2bec: 01d9001a */ div $zero,$t6,$t9 -/* f0f2bf0: 00008812 */ mflo $s1 -/* f0f2bf4: 17200002 */ bnez $t9,.NB0f0f2c00 -/* f0f2bf8: 00000000 */ sll $zero,$zero,0x0 -/* f0f2bfc: 0007000d */ break 0x7 -.NB0f0f2c00: -/* f0f2c00: 2401ffff */ addiu $at,$zero,-1 -/* f0f2c04: 17210004 */ bne $t9,$at,.NB0f0f2c18 -/* f0f2c08: 3c018000 */ lui $at,0x8000 -/* f0f2c0c: 15c10002 */ bne $t6,$at,.NB0f0f2c18 -/* f0f2c10: 00000000 */ sll $zero,$zero,0x0 -/* f0f2c14: 0006000d */ break 0x6 -.NB0f0f2c18: -/* f0f2c18: 0c002fb9 */ jal viGetViewTop -/* f0f2c1c: 00000000 */ sll $zero,$zero,0x0 -/* f0f2c20: 00028400 */ sll $s0,$v0,0x10 -/* f0f2c24: 0010c403 */ sra $t8,$s0,0x10 -/* f0f2c28: 0c002f9b */ jal viGetViewHeight -/* f0f2c2c: 03008025 */ or $s0,$t8,$zero -/* f0f2c30: 8faf0088 */ lw $t7,0x88($sp) -/* f0f2c34: 3c08800a */ lui $t0,0x800a -/* f0f2c38: 25086528 */ addiu $t0,$t0,0x6528 -/* f0f2c3c: 3c0a800a */ lui $t2,0x800a -/* f0f2c40: ad120000 */ sw $s2,0x0($t0) -/* f0f2c44: 3c01800a */ lui $at,0x800a -/* f0f2c48: 25ebfffe */ addiu $t3,$t7,-2 -/* f0f2c4c: 254a652c */ addiu $t2,$t2,0x652c -/* f0f2c50: ac2b652c */ sw $t3,0x652c($at) -/* f0f2c54: 8fac01d4 */ lw $t4,0x1d4($sp) -/* f0f2c58: 8d440000 */ lw $a0,0x0($t2) -/* f0f2c5c: 3c03800a */ lui $v1,0x800a -/* f0f2c60: 3c09800a */ lui $t1,0x800a -/* f0f2c64: 25296530 */ addiu $t1,$t1,0x6530 -/* f0f2c68: 24636534 */ addiu $v1,$v1,0x6534 -/* f0f2c6c: 258dffff */ addiu $t5,$t4,-1 -/* f0f2c70: 0093082a */ slt $at,$a0,$s3 -/* f0f2c74: ad350000 */ sw $s5,0x0($t1) -/* f0f2c78: 10200003 */ beqz $at,.NB0f0f2c88 -/* f0f2c7c: ac6d0000 */ sw $t5,0x0($v1) -/* f0f2c80: 1000045a */ beqz $zero,.NB0f0f3dec -/* f0f2c84: 8fa201e8 */ lw $v0,0x1e8($sp) -.NB0f0f2c88: -/* f0f2c88: 8c650000 */ lw $a1,0x0($v1) -/* f0f2c8c: 00b4082a */ slt $at,$a1,$s4 -/* f0f2c90: 50200004 */ beqzl $at,.NB0f0f2ca4 -/* f0f2c94: 8d060000 */ lw $a2,0x0($t0) -/* f0f2c98: 10000454 */ beqz $zero,.NB0f0f3dec -/* f0f2c9c: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f2ca0: 8d060000 */ lw $a2,0x0($t0) -.NB0f0f2ca4: -/* f0f2ca4: 0226082a */ slt $at,$s1,$a2 -/* f0f2ca8: 50200004 */ beqzl $at,.NB0f0f2cbc -/* f0f2cac: 8d270000 */ lw $a3,0x0($t1) -/* f0f2cb0: 1000044e */ beqz $zero,.NB0f0f3dec -/* f0f2cb4: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f2cb8: 8d270000 */ lw $a3,0x0($t1) -.NB0f0f2cbc: -/* f0f2cbc: 00501821 */ addu $v1,$v0,$s0 -/* f0f2cc0: 0067082a */ slt $at,$v1,$a3 -/* f0f2cc4: 50200004 */ beqzl $at,.NB0f0f2cd8 -/* f0f2cc8: 0224082a */ slt $at,$s1,$a0 -/* f0f2ccc: 10000447 */ beqz $zero,.NB0f0f3dec -/* f0f2cd0: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f2cd4: 0224082a */ slt $at,$s1,$a0 -.NB0f0f2cd8: -/* f0f2cd8: 50200004 */ beqzl $at,.NB0f0f2cec -/* f0f2cdc: 0065082a */ slt $at,$v1,$a1 -/* f0f2ce0: ad510000 */ sw $s1,0x0($t2) -/* f0f2ce4: 02202025 */ or $a0,$s1,$zero -/* f0f2ce8: 0065082a */ slt $at,$v1,$a1 -.NB0f0f2cec: -/* f0f2cec: 10200004 */ beqz $at,.NB0f0f2d00 -/* f0f2cf0: 3c01800a */ lui $at,0x800a -/* f0f2cf4: ac236534 */ sw $v1,0x6534($at) -/* f0f2cf8: 3c05800a */ lui $a1,0x800a -/* f0f2cfc: 8ca56534 */ lw $a1,0x6534($a1) -.NB0f0f2d00: -/* f0f2d00: 00d3082a */ slt $at,$a2,$s3 -/* f0f2d04: 50200003 */ beqzl $at,.NB0f0f2d14 -/* f0f2d08: 0094082a */ slt $at,$a0,$s4 -/* f0f2d0c: ad130000 */ sw $s3,0x0($t0) -/* f0f2d10: 0094082a */ slt $at,$a0,$s4 -.NB0f0f2d14: -/* f0f2d14: 10200002 */ beqz $at,.NB0f0f2d20 -/* f0f2d18: 00000000 */ sll $zero,$zero,0x0 -/* f0f2d1c: ad540000 */ sw $s4,0x0($t2) -.NB0f0f2d20: -/* f0f2d20: 3c01800a */ lui $at,0x800a -/* f0f2d24: ac272680 */ sw $a3,0x2680($at) -/* f0f2d28: 3c01800a */ lui $at,0x800a -/* f0f2d2c: ac252684 */ sw $a1,0x2684($at) -/* f0f2d30: 0fc3c728 */ jal menuApplyScissor -/* f0f2d34: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f2d38: 3c0e8007 */ lui $t6,0x8007 -/* f0f2d3c: 8dce3af0 */ lw $t6,0x3af0($t6) -/* f0f2d40: 3c18800a */ lui $t8,0x800a -/* f0f2d44: 271827c0 */ addiu $t8,$t8,0x27c0 -/* f0f2d48: 000ec8c0 */ sll $t9,$t6,0x3 -/* f0f2d4c: 032ec823 */ subu $t9,$t9,$t6 -/* f0f2d50: 0019c8c0 */ sll $t9,$t9,0x3 -/* f0f2d54: 032ec823 */ subu $t9,$t9,$t6 -/* f0f2d58: 0019c900 */ sll $t9,$t9,0x4 -/* f0f2d5c: 032ec823 */ subu $t9,$t9,$t6 -/* f0f2d60: 0019c880 */ sll $t9,$t9,0x2 -/* f0f2d64: 03381821 */ addu $v1,$t9,$t8 -/* f0f2d68: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f2d6c: 8c6f0488 */ lw $t7,0x488($v1) -/* f0f2d70: 00402025 */ or $a0,$v0,$zero -/* f0f2d74: 54ef0035 */ bnel $a3,$t7,.NB0f0f2e4c -/* f0f2d78: 90ed003c */ lbu $t5,0x3c($a3) -/* f0f2d7c: 8ceb0000 */ lw $t3,0x0($a3) -/* f0f2d80: 8fae01f4 */ lw $t6,0x1f4($sp) -/* f0f2d84: 8d6c0010 */ lw $t4,0x10($t3) -/* f0f2d88: 318d0002 */ andi $t5,$t4,0x2 -/* f0f2d8c: 51a0002f */ beqzl $t5,.NB0f0f2e4c -/* f0f2d90: 90ed003c */ lbu $t5,0x3c($a3) -/* f0f2d94: 55c0002d */ bnezl $t6,.NB0f0f2e4c -/* f0f2d98: 90ed003c */ lbu $t5,0x3c($a3) -/* f0f2d9c: 8c790d4c */ lw $t9,0xd4c($v1) -/* f0f2da0: 3c0bb700 */ lui $t3,0xb700 -/* f0f2da4: 240c0001 */ addiu $t4,$zero,0x1 -/* f0f2da8: 00197b80 */ sll $t7,$t9,0xe -/* f0f2dac: 05e00026 */ bltz $t7,.NB0f0f2e48 -/* f0f2db0: 3c0d8007 */ lui $t5,0x8007 -/* f0f2db4: ac4b0000 */ sw $t3,0x0($v0) -/* f0f2db8: ac4c0004 */ sw $t4,0x4($v0) -/* f0f2dbc: 8dad3af0 */ lw $t5,0x3af0($t5) -/* f0f2dc0: 3c18800a */ lui $t8,0x800a -/* f0f2dc4: 271827c0 */ addiu $t8,$t8,0x27c0 -/* f0f2dc8: 000d70c0 */ sll $t6,$t5,0x3 -/* f0f2dcc: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f2dd0: 000e70c0 */ sll $t6,$t6,0x3 -/* f0f2dd4: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f2dd8: 000e7100 */ sll $t6,$t6,0x4 -/* f0f2ddc: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f2de0: 000e7080 */ sll $t6,$t6,0x2 -/* f0f2de4: 25d9079c */ addiu $t9,$t6,0x79c -/* f0f2de8: 24840008 */ addiu $a0,$a0,0x8 -/* f0f2dec: 03382821 */ addu $a1,$t9,$t8 -/* f0f2df0: 0fc3c0fd */ jal menuRenderModels -/* f0f2df4: 00003025 */ or $a2,$zero,$zero -/* f0f2df8: 244f0008 */ addiu $t7,$v0,0x8 -/* f0f2dfc: afaf01e8 */ sw $t7,0x1e8($sp) -/* f0f2e00: 3c0bb600 */ lui $t3,0xb600 -/* f0f2e04: 240c0001 */ addiu $t4,$zero,0x1 -/* f0f2e08: ac4c0004 */ sw $t4,0x4($v0) -/* f0f2e0c: ac4b0000 */ sw $t3,0x0($v0) -/* f0f2e10: 3c10800a */ lui $s0,0x800a -/* f0f2e14: 8e10e944 */ lw $s0,-0x16bc($s0) -/* f0f2e18: 86040634 */ lh $a0,0x634($s0) -/* f0f2e1c: 0c002f9f */ jal viSetViewPosition -/* f0f2e20: 86050636 */ lh $a1,0x636($s0) -/* f0f2e24: 3c10800a */ lui $s0,0x800a -/* f0f2e28: 8e10e944 */ lw $s0,-0x16bc($s0) -/* f0f2e2c: c60c1854 */ lwc1 $f12,0x1854($s0) -/* f0f2e30: c60e1858 */ lwc1 $f14,0x1858($s0) -/* f0f2e34: 86060630 */ lh $a2,0x630($s0) -/* f0f2e38: 0c002feb */ jal viSetFovAspectAndSize -/* f0f2e3c: 86070632 */ lh $a3,0x632($s0) -/* f0f2e40: 8fa701ec */ lw $a3,0x1ec($sp) -/* f0f2e44: 8fa401e8 */ lw $a0,0x1e8($sp) -.NB0f0f2e48: -/* f0f2e48: 90ed003c */ lbu $t5,0x3c($a3) -.NB0f0f2e4c: -/* f0f2e4c: 55a00008 */ bnezl $t5,.NB0f0f2e70 -/* f0f2e50: 8fae01e0 */ lw $t6,0x1e0($sp) -/* f0f2e54: c4e40040 */ lwc1 $f4,0x40($a3) -/* f0f2e58: 00809825 */ or $s3,$a0,$zero -/* f0f2e5c: 4604a03e */ c.le.s $f20,$f4 -/* f0f2e60: 00000000 */ sll $zero,$zero,0x0 -/* f0f2e64: 45020281 */ bc1fl .NB0f0f386c -/* f0f2e68: 24840008 */ addiu $a0,$a0,0x8 -/* f0f2e6c: 8fae01e0 */ lw $t6,0x1e0($sp) -.NB0f0f2e70: -/* f0f2e70: afa00130 */ sw $zero,0x130($sp) -/* f0f2e74: afa001e4 */ sw $zero,0x1e4($sp) -/* f0f2e78: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f2e7c: afae0194 */ sw $t6,0x194($sp) -/* f0f2e80: 90f90005 */ lbu $t9,0x5($a3) -/* f0f2e84: 5b2001d6 */ blezl $t9,.NB0f0f35e0 -/* f0f2e88: 8fae01f4 */ lw $t6,0x1f4($sp) -/* f0f2e8c: afa401e8 */ sw $a0,0x1e8($sp) -.NB0f0f2e90: -/* f0f2e90: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2e94: 8fb801dc */ lw $t8,0x1dc($sp) -/* f0f2e98: 3c057f1b */ lui $a1,0x7f1b -/* f0f2e9c: 8c4f0064 */ lw $t7,0x64($v0) -/* f0f2ea0: afa00128 */ sw $zero,0x128($sp) -/* f0f2ea4: 030f5821 */ addu $t3,$t8,$t7 -/* f0f2ea8: 256c000c */ addiu $t4,$t3,0xc -/* f0f2eac: afac012c */ sw $t4,0x12c($sp) -/* f0f2eb0: 904d003c */ lbu $t5,0x3c($v0) -/* f0f2eb4: afa001c0 */ sw $zero,0x1c0($sp) -/* f0f2eb8: c4460040 */ lwc1 $f6,0x40($v0) -/* f0f2ebc: 000d7100 */ sll $t6,$t5,0x4 -/* f0f2ec0: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f2ec4: 4614303c */ c.lt.s $f6,$f20 -/* f0f2ec8: 000e7080 */ sll $t6,$t6,0x2 -/* f0f2ecc: 00ae2821 */ addu $a1,$a1,$t6 -/* f0f2ed0: 8ca5c2f8 */ lw $a1,-0x3d08($a1) -/* f0f2ed4: 45020005 */ bc1fl .NB0f0f2eec -/* f0f2ed8: 9059003d */ lbu $t9,0x3d($v0) -/* f0f2edc: afa50120 */ sw $a1,0x120($sp) -/* f0f2ee0: 1000000d */ beqz $zero,.NB0f0f2f18 -/* f0f2ee4: 90430004 */ lbu $v1,0x4($v0) -/* f0f2ee8: 9059003d */ lbu $t9,0x3d($v0) -.NB0f0f2eec: -/* f0f2eec: 3c047f1b */ lui $a0,0x7f1b -/* f0f2ef0: 8c460044 */ lw $a2,0x44($v0) -/* f0f2ef4: 0019c100 */ sll $t8,$t9,0x4 -/* f0f2ef8: 0319c023 */ subu $t8,$t8,$t9 -/* f0f2efc: 0018c080 */ sll $t8,$t8,0x2 -/* f0f2f00: 00982021 */ addu $a0,$a0,$t8 -/* f0f2f04: 0fc01990 */ jal colourBlend -/* f0f2f08: 8c84c2f8 */ lw $a0,-0x3d08($a0) -/* f0f2f0c: afa20120 */ sw $v0,0x120($sp) -/* f0f2f10: 8fa201ec */ lw $v0,0x1ec($sp) -/* f0f2f14: 90430004 */ lbu $v1,0x4($v0) -.NB0f0f2f18: -/* f0f2f18: 8fab0120 */ lw $t3,0x120($sp) -/* f0f2f1c: 8fae01e4 */ lw $t6,0x1e4($sp) -/* f0f2f20: 2401ff00 */ addiu $at,$zero,-256 -/* f0f2f24: 01616024 */ and $t4,$t3,$at -/* f0f2f28: 358d003f */ ori $t5,$t4,0x3f -/* f0f2f2c: afad0120 */ sw $t5,0x120($sp) -/* f0f2f30: 11c00010 */ beqz $t6,.NB0f0f2f74 -/* f0f2f34: 006e8021 */ addu $s0,$v1,$t6 -/* f0f2f38: 8c590000 */ lw $t9,0x0($v0) -/* f0f2f3c: 8fa70194 */ lw $a3,0x194($sp) -/* f0f2f40: 8fa601dc */ lw $a2,0x1dc($sp) -/* f0f2f44: 8f380010 */ lw $t8,0x10($t9) -/* f0f2f48: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f2f4c: 24e5ffff */ addiu $a1,$a3,-1 -/* f0f2f50: 330f0400 */ andi $t7,$t8,0x400 -/* f0f2f54: 15e00007 */ bnez $t7,.NB0f0f2f74 -/* f0f2f58: 24c6000c */ addiu $a2,$a2,0xc -/* f0f2f5c: 8fab01d4 */ lw $t3,0x1d4($sp) -/* f0f2f60: afad0014 */ sw $t5,0x14($sp) -/* f0f2f64: afad0018 */ sw $t5,0x18($sp) -/* f0f2f68: 0fc380fc */ jal menugfxDrawFilledRect -/* f0f2f6c: afab0010 */ sw $t3,0x10($sp) -/* f0f2f70: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f2f74: -/* f0f2f74: 8fac01f0 */ lw $t4,0x1f0($sp) -/* f0f2f78: 00107080 */ sll $t6,$s0,0x2 -/* f0f2f7c: 01d07021 */ addu $t6,$t6,$s0 -/* f0f2f80: 000e7040 */ sll $t6,$t6,0x1 -/* f0f2f84: 018e3021 */ addu $a2,$t4,$t6 -/* f0f2f88: 84c505d0 */ lh $a1,0x5d0($a2) -/* f0f2f8c: 8fb90130 */ lw $t9,0x130($sp) -/* f0f2f90: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f2f94: 8fad01e4 */ lw $t5,0x1e4($sp) -/* f0f2f98: 0325c021 */ addu $t8,$t9,$a1 -/* f0f2f9c: afb80130 */ sw $t8,0x130($sp) -/* f0f2fa0: 91e30005 */ lbu $v1,0x5($t7) -/* f0f2fa4: 25ab0001 */ addiu $t3,$t5,0x1 -/* f0f2fa8: 8fac0088 */ lw $t4,0x88($sp) -/* f0f2fac: 15630008 */ bne $t3,$v1,.NB0f0f2fd0 -/* f0f2fb0: 00a02025 */ or $a0,$a1,$zero -/* f0f2fb4: 8fae01e0 */ lw $t6,0x1e0($sp) -/* f0f2fb8: 018e1023 */ subu $v0,$t4,$t6 -/* f0f2fbc: 2442fffe */ addiu $v0,$v0,-2 -/* f0f2fc0: 0302082a */ slt $at,$t8,$v0 -/* f0f2fc4: 10200002 */ beqz $at,.NB0f0f2fd0 -/* f0f2fc8: 0082c821 */ addu $t9,$a0,$v0 -/* f0f2fcc: 03382023 */ subu $a0,$t9,$t8 -.NB0f0f2fd0: -/* f0f2fd0: 90cf05d8 */ lbu $t7,0x5d8($a2) -/* f0f2fd4: 8fad01dc */ lw $t5,0x1dc($sp) -/* f0f2fd8: 19e00178 */ blez $t7,.NB0f0f35bc -/* f0f2fdc: 25ab000c */ addiu $t3,$t5,0xc -/* f0f2fe0: afab008c */ sw $t3,0x8c($sp) -/* f0f2fe4: afa40124 */ sw $a0,0x124($sp) -/* f0f2fe8: afa60080 */ sw $a2,0x80($sp) -/* f0f2fec: 8fae0080 */ lw $t6,0x80($sp) -.NB0f0f2ff0: -/* f0f2ff0: afa00114 */ sw $zero,0x114($sp) -/* f0f2ff4: 8fb801c0 */ lw $t8,0x1c0($sp) -/* f0f2ff8: 95d905d6 */ lhu $t9,0x5d6($t6) -/* f0f2ffc: 8faf01f0 */ lw $t7,0x1f0($sp) -/* f0f3000: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f3004: 03381821 */ addu $v1,$t9,$t8 -/* f0f3008: 00036880 */ sll $t5,$v1,0x2 -/* f0f300c: 01ed1021 */ addu $v0,$t7,$t5 -/* f0f3010: 904b048e */ lbu $t3,0x48e($v0) -/* f0f3014: 8d990000 */ lw $t9,0x0($t4) -/* f0f3018: 00002825 */ or $a1,$zero,$zero -/* f0f301c: 000b7080 */ sll $t6,$t3,0x2 -/* f0f3020: 8f380008 */ lw $t8,0x8($t9) -/* f0f3024: 01cb7021 */ addu $t6,$t6,$t3 -/* f0f3028: 000e7080 */ sll $t6,$t6,0x2 -/* f0f302c: 01d83021 */ addu $a2,$t6,$t8 -/* f0f3030: afa60118 */ sw $a2,0x118($sp) -/* f0f3034: afa2007c */ sw $v0,0x7c($sp) -/* f0f3038: 8d8f0008 */ lw $t7,0x8($t4) -/* f0f303c: 00002025 */ or $a0,$zero,$zero -/* f0f3040: 240d0001 */ addiu $t5,$zero,0x1 -/* f0f3044: 54cf0008 */ bnel $a2,$t7,.NB0f0f3068 -/* f0f3048: 8fae007c */ lw $t6,0x7c($sp) -/* f0f304c: afad0114 */ sw $t5,0x114($sp) -/* f0f3050: 8d8b000c */ lw $t3,0xc($t4) -/* f0f3054: 24190003 */ addiu $t9,$zero,0x3 -/* f0f3058: 51600003 */ beqzl $t3,.NB0f0f3068 -/* f0f305c: 8fae007c */ lw $t6,0x7c($sp) -/* f0f3060: afb90114 */ sw $t9,0x114($sp) -/* f0f3064: 8fae007c */ lw $t6,0x7c($sp) -.NB0f0f3068: -/* f0f3068: 2401ffff */ addiu $at,$zero,-1 -/* f0f306c: 8fa3012c */ lw $v1,0x12c($sp) -/* f0f3070: 81c2048f */ lb $v0,0x48f($t6) -/* f0f3074: 8fb801f0 */ lw $t8,0x1f0($sp) -/* f0f3078: 8fad0194 */ lw $t5,0x194($sp) -/* f0f307c: 10410003 */ beq $v0,$at,.NB0f0f308c -/* f0f3080: 00027880 */ sll $t7,$v0,0x2 -/* f0f3084: 030f2821 */ addu $a1,$t8,$t7 -/* f0f3088: 24a50638 */ addiu $a1,$a1,0x638 -.NB0f0f308c: -/* f0f308c: 8fac0124 */ lw $t4,0x124($sp) -/* f0f3090: 8fab007c */ lw $t3,0x7c($sp) -/* f0f3094: a7ad0198 */ sh $t5,0x198($sp) -/* f0f3098: a7a3019a */ sh $v1,0x19a($sp) -/* f0f309c: a7ac019c */ sh $t4,0x19c($sp) -/* f0f30a0: 8579048c */ lh $t9,0x48c($t3) -/* f0f30a4: 8faf008c */ lw $t7,0x8c($sp) -/* f0f30a8: 00031400 */ sll $v0,$v1,0x10 -/* f0f30ac: 00027403 */ sra $t6,$v0,0x10 -/* f0f30b0: 01d9c021 */ addu $t8,$t6,$t9 -/* f0f30b4: 030f082a */ slt $at,$t8,$t7 -/* f0f30b8: 01c01025 */ or $v0,$t6,$zero -/* f0f30bc: 10200002 */ beqz $at,.NB0f0f30c8 -/* f0f30c0: a7b9019e */ sh $t9,0x19e($sp) -/* f0f30c4: 24040001 */ addiu $a0,$zero,0x1 -.NB0f0f30c8: -/* f0f30c8: 8fad01d4 */ lw $t5,0x1d4($sp) -/* f0f30cc: 87ac019e */ lh $t4,0x19e($sp) -/* f0f30d0: 8fab0118 */ lw $t3,0x118($sp) -/* f0f30d4: 01a2082a */ slt $at,$t5,$v0 -/* f0f30d8: 10200002 */ beqz $at,.NB0f0f30e4 -/* f0f30dc: 00000000 */ sll $zero,$zero,0x0 -/* f0f30e0: 24040001 */ addiu $a0,$zero,0x1 -.NB0f0f30e4: -/* f0f30e4: 15800002 */ bnez $t4,.NB0f0f30f0 -/* f0f30e8: 00000000 */ sll $zero,$zero,0x0 -/* f0f30ec: 24040001 */ addiu $a0,$zero,0x1 -.NB0f0f30f0: -/* f0f30f0: 54800123 */ bnezl $a0,.NB0f0f3580 -/* f0f30f4: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f30f8: 8fb80128 */ lw $t8,0x128($sp) -/* f0f30fc: 8fae0114 */ lw $t6,0x114($sp) -/* f0f3100: 8fb901ec */ lw $t9,0x1ec($sp) -/* f0f3104: afab01a0 */ sw $t3,0x1a0($sp) -/* f0f3108: afa501ac */ sw $a1,0x1ac($sp) -/* f0f310c: afae01a4 */ sw $t6,0x1a4($sp) -/* f0f3110: 1300000e */ beqz $t8,.NB0f0f314c -/* f0f3114: afb901a8 */ sw $t9,0x1a8($sp) -/* f0f3118: 8fa30120 */ lw $v1,0x120($sp) -/* f0f311c: 87b00196 */ lh $s0,0x196($sp) -/* f0f3120: 87af0126 */ lh $t7,0x126($sp) -/* f0f3124: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3128: 2446ffff */ addiu $a2,$v0,-1 -/* f0f312c: afa20010 */ sw $v0,0x10($sp) -/* f0f3130: afa00128 */ sw $zero,0x128($sp) -/* f0f3134: afa30014 */ sw $v1,0x14($sp) -/* f0f3138: afa30018 */ sw $v1,0x18($sp) -/* f0f313c: 02002825 */ or $a1,$s0,$zero -/* f0f3140: 0fc380fc */ jal menugfxDrawFilledRect -/* f0f3144: 020f3821 */ addu $a3,$s0,$t7 -/* f0f3148: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f314c: -/* f0f314c: 8fad0118 */ lw $t5,0x118($sp) -/* f0f3150: 8fae01f4 */ lw $t6,0x1f4($sp) -/* f0f3154: 8dac0004 */ lw $t4,0x4($t5) -/* f0f3158: 318b4000 */ andi $t3,$t4,0x4000 -/* f0f315c: 51600046 */ beqzl $t3,.NB0f0f3278 -/* f0f3160: 8fad0114 */ lw $t5,0x114($sp) -/* f0f3164: 15c00043 */ bnez $t6,.NB0f0f3274 -/* f0f3168: 8fac01ec */ lw $t4,0x1ec($sp) -/* f0f316c: c5880040 */ lwc1 $f8,0x40($t4) -/* f0f3170: 87b00198 */ lh $s0,0x198($sp) -/* f0f3174: 87af019c */ lh $t7,0x19c($sp) -/* f0f3178: 4614403c */ c.lt.s $f8,$f20 -/* f0f317c: 87b1019a */ lh $s1,0x19a($sp) -/* f0f3180: 87ad019e */ lh $t5,0x19e($sp) -/* f0f3184: 01f09021 */ addu $s2,$t7,$s0 -/* f0f3188: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f318c: 45000009 */ bc1f .NB0f0f31b4 -/* f0f3190: 01b19821 */ addu $s3,$t5,$s1 -/* f0f3194: 918b003c */ lbu $t3,0x3c($t4) -/* f0f3198: 3c047f1b */ lui $a0,0x7f1b -/* f0f319c: 000b7100 */ sll $t6,$t3,0x4 -/* f0f31a0: 01cb7023 */ subu $t6,$t6,$t3 -/* f0f31a4: 000e7080 */ sll $t6,$t6,0x2 -/* f0f31a8: 008e2021 */ addu $a0,$a0,$t6 -/* f0f31ac: 10000011 */ beqz $zero,.NB0f0f31f4 -/* f0f31b0: 8c84c308 */ lw $a0,-0x3cf8($a0) -.NB0f0f31b4: -/* f0f31b4: 91f9003d */ lbu $t9,0x3d($t7) -/* f0f31b8: 2402003c */ addiu $v0,$zero,0x3c -/* f0f31bc: 91ec003c */ lbu $t4,0x3c($t7) -/* f0f31c0: 03220019 */ multu $t9,$v0 -/* f0f31c4: 3c037f1b */ lui $v1,0x7f1b -/* f0f31c8: 2463c2e0 */ addiu $v1,$v1,-15648 -/* f0f31cc: 8de60044 */ lw $a2,0x44($t7) -/* f0f31d0: 00006812 */ mflo $t5 -/* f0f31d4: 006dc021 */ addu $t8,$v1,$t5 -/* f0f31d8: 8f040028 */ lw $a0,0x28($t8) -/* f0f31dc: 01820019 */ multu $t4,$v0 -/* f0f31e0: 00005812 */ mflo $t3 -/* f0f31e4: 006b7021 */ addu $t6,$v1,$t3 -/* f0f31e8: 0fc01990 */ jal colourBlend -/* f0f31ec: 8dc50028 */ lw $a1,0x28($t6) -/* f0f31f0: 00402025 */ or $a0,$v0,$zero -.NB0f0f31f4: -/* f0f31f4: 2401ff00 */ addiu $at,$zero,-256 -/* f0f31f8: 00812824 */ and $a1,$a0,$at -/* f0f31fc: 0fc01990 */ jal colourBlend -/* f0f3200: 2406007f */ addiu $a2,$zero,0x7f -/* f0f3204: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3208: 0fc537b7 */ jal textSetPrimColour -/* f0f320c: 00402825 */ or $a1,$v0,$zero -/* f0f3210: 3c038008 */ lui $v1,0x8008 -/* f0f3214: 24632320 */ addiu $v1,$v1,0x2320 -/* f0f3218: 8c790000 */ lw $t9,0x0($v1) -/* f0f321c: 3c01f600 */ lui $at,0xf600 -/* f0f3220: 326e03ff */ andi $t6,$s3,0x3ff -/* f0f3224: 02590019 */ multu $s2,$t9 -/* f0f3228: 000e7880 */ sll $t7,$t6,0x2 -/* f0f322c: 24440008 */ addiu $a0,$v0,0x8 -/* f0f3230: 00006812 */ mflo $t5 -/* f0f3234: 31b803ff */ andi $t8,$t5,0x3ff -/* f0f3238: 00186380 */ sll $t4,$t8,0xe -/* f0f323c: 01815825 */ or $t3,$t4,$at -/* f0f3240: 016fc825 */ or $t9,$t3,$t7 -/* f0f3244: ac590000 */ sw $t9,0x0($v0) -/* f0f3248: 8c6d0000 */ lw $t5,0x0($v1) -/* f0f324c: 322b03ff */ andi $t3,$s1,0x3ff -/* f0f3250: 000b7880 */ sll $t7,$t3,0x2 -/* f0f3254: 020d0019 */ multu $s0,$t5 -/* f0f3258: 0000c012 */ mflo $t8 -/* f0f325c: 330c03ff */ andi $t4,$t8,0x3ff -/* f0f3260: 000c7380 */ sll $t6,$t4,0xe -/* f0f3264: 01cfc825 */ or $t9,$t6,$t7 -/* f0f3268: 0fc537ce */ jal text0f153838 -/* f0f326c: ac590004 */ sw $t9,0x4($v0) -/* f0f3270: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f3274: -/* f0f3274: 8fad0114 */ lw $t5,0x114($sp) -.NB0f0f3278: -/* f0f3278: 8fb80118 */ lw $t8,0x118($sp) -/* f0f327c: 51a000b0 */ beqzl $t5,.NB0f0f3540 -/* f0f3280: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3284: 93020000 */ lbu $v0,0x0($t8) -/* f0f3288: 24010003 */ addiu $at,$zero,0x3 -/* f0f328c: 1041000b */ beq $v0,$at,.NB0f0f32bc -/* f0f3290: 24010004 */ addiu $at,$zero,0x4 -/* f0f3294: 10410009 */ beq $v0,$at,.NB0f0f32bc -/* f0f3298: 24010009 */ addiu $at,$zero,0x9 -/* f0f329c: 10410007 */ beq $v0,$at,.NB0f0f32bc -/* f0f32a0: 2401000a */ addiu $at,$zero,0xa -/* f0f32a4: 10410005 */ beq $v0,$at,.NB0f0f32bc -/* f0f32a8: 24010008 */ addiu $at,$zero,0x8 -/* f0f32ac: 10410003 */ beq $v0,$at,.NB0f0f32bc -/* f0f32b0: 2401000c */ addiu $at,$zero,0xc -/* f0f32b4: 54410006 */ bnel $v0,$at,.NB0f0f32d0 -/* f0f32b8: 24010004 */ addiu $at,$zero,0x4 -.NB0f0f32bc: -/* f0f32bc: 0fc541a0 */ jal text0f156024 -/* f0f32c0: 24040001 */ addiu $a0,$zero,0x1 -/* f0f32c4: 8fac0118 */ lw $t4,0x118($sp) -/* f0f32c8: 91820000 */ lbu $v0,0x0($t4) -/* f0f32cc: 24010004 */ addiu $at,$zero,0x4 -.NB0f0f32d0: -/* f0f32d0: 10410008 */ beq $v0,$at,.NB0f0f32f4 -/* f0f32d4: 87a3019c */ lh $v1,0x19c($sp) -/* f0f32d8: 24010009 */ addiu $at,$zero,0x9 -/* f0f32dc: 10410005 */ beq $v0,$at,.NB0f0f32f4 -/* f0f32e0: 2401000a */ addiu $at,$zero,0xa -/* f0f32e4: 10410003 */ beq $v0,$at,.NB0f0f32f4 -/* f0f32e8: 2401000c */ addiu $at,$zero,0xc -/* f0f32ec: 54410094 */ bnel $v0,$at,.NB0f0f3540 -/* f0f32f0: 8fa401e8 */ lw $a0,0x1e8($sp) -.NB0f0f32f4: -/* f0f32f4: 87ae019e */ lh $t6,0x19e($sp) -/* f0f32f8: 8fb70120 */ lw $s7,0x120($sp) -/* f0f32fc: 87a20198 */ lh $v0,0x198($sp) -/* f0f3300: 87ab019a */ lh $t3,0x19a($sp) -/* f0f3304: 05c10003 */ bgez $t6,.NB0f0f3314 -/* f0f3308: 000e7843 */ sra $t7,$t6,0x1 -/* f0f330c: 25c10001 */ addiu $at,$t6,0x1 -/* f0f3310: 00017843 */ sra $t7,$at,0x1 -.NB0f0f3314: -/* f0f3314: 24010003 */ addiu $at,$zero,0x3 -/* f0f3318: 0061001a */ div $zero,$v1,$at -/* f0f331c: 2401ff00 */ addiu $at,$zero,-256 -/* f0f3320: 02e16824 */ and $t5,$s7,$at -/* f0f3324: 0000c812 */ mflo $t9 -/* f0f3328: 35b8002f */ ori $t8,$t5,0x2f -/* f0f332c: 016f8021 */ addu $s0,$t3,$t7 -/* f0f3330: 2610ffff */ addiu $s0,$s0,-1 -/* f0f3334: afb80078 */ sw $t8,0x78($sp) -/* f0f3338: 01a0b825 */ or $s7,$t5,$zero -/* f0f333c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3340: 0040a025 */ or $s4,$v0,$zero -/* f0f3344: 24510008 */ addiu $s1,$v0,0x8 -/* f0f3348: 0fc37e4b */ jal menugfx0f0e2498 -/* f0f334c: 0059f021 */ addu $s8,$v0,$t9 -/* f0f3350: 8fa30120 */ lw $v1,0x120($sp) -/* f0f3354: 2615ffff */ addiu $s5,$s0,-1 -/* f0f3358: 2632fffd */ addiu $s2,$s1,-3 -/* f0f335c: 02403825 */ or $a3,$s2,$zero -/* f0f3360: 02a03025 */ or $a2,$s5,$zero -/* f0f3364: 00402025 */ or $a0,$v0,$zero -/* f0f3368: 02802825 */ or $a1,$s4,$zero -/* f0f336c: afb00010 */ sw $s0,0x10($sp) -/* f0f3370: afa0001c */ sw $zero,0x1c($sp) -/* f0f3374: afa30014 */ sw $v1,0x14($sp) -/* f0f3378: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f337c: afa30018 */ sw $v1,0x18($sp) -/* f0f3380: 8fac0120 */ lw $t4,0x120($sp) -/* f0f3384: 240effff */ addiu $t6,$zero,-1 -/* f0f3388: afae0018 */ sw $t6,0x18($sp) -/* f0f338c: 00402025 */ or $a0,$v0,$zero -/* f0f3390: 02402825 */ or $a1,$s2,$zero -/* f0f3394: 02a03025 */ or $a2,$s5,$zero -/* f0f3398: 02203825 */ or $a3,$s1,$zero -/* f0f339c: afb00010 */ sw $s0,0x10($sp) -/* f0f33a0: afa0001c */ sw $zero,0x1c($sp) -/* f0f33a4: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f33a8: afac0014 */ sw $t4,0x14($sp) -/* f0f33ac: 8fa30120 */ lw $v1,0x120($sp) -/* f0f33b0: 26130001 */ addiu $s3,$s0,0x1 -/* f0f33b4: 26160002 */ addiu $s6,$s0,0x2 -/* f0f33b8: afb60010 */ sw $s6,0x10($sp) -/* f0f33bc: 02603025 */ or $a2,$s3,$zero -/* f0f33c0: 00402025 */ or $a0,$v0,$zero -/* f0f33c4: 02802825 */ or $a1,$s4,$zero -/* f0f33c8: 02403825 */ or $a3,$s2,$zero -/* f0f33cc: afa0001c */ sw $zero,0x1c($sp) -/* f0f33d0: afa30014 */ sw $v1,0x14($sp) -/* f0f33d4: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f33d8: afa30018 */ sw $v1,0x18($sp) -/* f0f33dc: 8fab0120 */ lw $t3,0x120($sp) -/* f0f33e0: 240fffff */ addiu $t7,$zero,-1 -/* f0f33e4: afaf0018 */ sw $t7,0x18($sp) -/* f0f33e8: 00402025 */ or $a0,$v0,$zero -/* f0f33ec: 02402825 */ or $a1,$s2,$zero -/* f0f33f0: 02603025 */ or $a2,$s3,$zero -/* f0f33f4: 02203825 */ or $a3,$s1,$zero -/* f0f33f8: afb60010 */ sw $s6,0x10($sp) -/* f0f33fc: afa0001c */ sw $zero,0x1c($sp) -/* f0f3400: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f3404: afab0014 */ sw $t3,0x14($sp) -/* f0f3408: 8fb90078 */ lw $t9,0x78($sp) -/* f0f340c: 00402025 */ or $a0,$v0,$zero -/* f0f3410: 2625fffe */ addiu $a1,$s1,-2 -/* f0f3414: 02003025 */ or $a2,$s0,$zero -/* f0f3418: 03c03825 */ or $a3,$s8,$zero -/* f0f341c: afb30010 */ sw $s3,0x10($sp) -/* f0f3420: afb70018 */ sw $s7,0x18($sp) -/* f0f3424: afa0001c */ sw $zero,0x1c($sp) -/* f0f3428: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f342c: afb90014 */ sw $t9,0x14($sp) -/* f0f3430: 8fad0118 */ lw $t5,0x118($sp) -/* f0f3434: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3438: 87a20198 */ lh $v0,0x198($sp) -/* f0f343c: 8db80004 */ lw $t8,0x4($t5) -/* f0f3440: 87a3019c */ lh $v1,0x19c($sp) -/* f0f3444: 8fa80120 */ lw $t0,0x120($sp) -/* f0f3448: 330c0020 */ andi $t4,$t8,0x20 -/* f0f344c: 1180003b */ beqz $t4,.NB0f0f353c -/* f0f3450: 00433821 */ addu $a3,$v0,$v1 -/* f0f3454: 24010003 */ addiu $at,$zero,0x3 -/* f0f3458: 0061001a */ div $zero,$v1,$at -/* f0f345c: 00007012 */ mflo $t6 -/* f0f3460: 00e0a025 */ or $s4,$a3,$zero -/* f0f3464: 24f1fff8 */ addiu $s1,$a3,-8 -/* f0f3468: 00eef023 */ subu $s8,$a3,$t6 -/* f0f346c: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3470: 24e5fffb */ addiu $a1,$a3,-5 -/* f0f3474: 02a03025 */ or $a2,$s5,$zero -/* f0f3478: afb00010 */ sw $s0,0x10($sp) -/* f0f347c: afa80014 */ sw $t0,0x14($sp) -/* f0f3480: afa80018 */ sw $t0,0x18($sp) -/* f0f3484: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f3488: afa0001c */ sw $zero,0x1c($sp) -/* f0f348c: 8faf0120 */ lw $t7,0x120($sp) -/* f0f3490: 26320003 */ addiu $s2,$s1,0x3 -/* f0f3494: 240bffff */ addiu $t3,$zero,-1 -/* f0f3498: afab0014 */ sw $t3,0x14($sp) -/* f0f349c: 02403825 */ or $a3,$s2,$zero -/* f0f34a0: 00402025 */ or $a0,$v0,$zero -/* f0f34a4: 02202825 */ or $a1,$s1,$zero -/* f0f34a8: 02a03025 */ or $a2,$s5,$zero -/* f0f34ac: afb00010 */ sw $s0,0x10($sp) -/* f0f34b0: afa0001c */ sw $zero,0x1c($sp) -/* f0f34b4: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f34b8: afaf0018 */ sw $t7,0x18($sp) -/* f0f34bc: 8fb90120 */ lw $t9,0x120($sp) -/* f0f34c0: 00402025 */ or $a0,$v0,$zero -/* f0f34c4: 02402825 */ or $a1,$s2,$zero -/* f0f34c8: 02603025 */ or $a2,$s3,$zero -/* f0f34cc: 02803825 */ or $a3,$s4,$zero -/* f0f34d0: afb60010 */ sw $s6,0x10($sp) -/* f0f34d4: afa0001c */ sw $zero,0x1c($sp) -/* f0f34d8: afb90014 */ sw $t9,0x14($sp) -/* f0f34dc: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f34e0: afb90018 */ sw $t9,0x18($sp) -/* f0f34e4: 8fb80120 */ lw $t8,0x120($sp) -/* f0f34e8: 240dffff */ addiu $t5,$zero,-1 -/* f0f34ec: afad0014 */ sw $t5,0x14($sp) -/* f0f34f0: 00402025 */ or $a0,$v0,$zero -/* f0f34f4: 02202825 */ or $a1,$s1,$zero -/* f0f34f8: 02603025 */ or $a2,$s3,$zero -/* f0f34fc: 02403825 */ or $a3,$s2,$zero -/* f0f3500: afb60010 */ sw $s6,0x10($sp) -/* f0f3504: afa0001c */ sw $zero,0x1c($sp) -/* f0f3508: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f350c: afb80018 */ sw $t8,0x18($sp) -/* f0f3510: 8fac0078 */ lw $t4,0x78($sp) -/* f0f3514: 00402025 */ or $a0,$v0,$zero -/* f0f3518: 03c02825 */ or $a1,$s8,$zero -/* f0f351c: 02003025 */ or $a2,$s0,$zero -/* f0f3520: 26270002 */ addiu $a3,$s1,0x2 -/* f0f3524: afb30010 */ sw $s3,0x10($sp) -/* f0f3528: afb70014 */ sw $s7,0x14($sp) -/* f0f352c: afa0001c */ sw $zero,0x1c($sp) -/* f0f3530: 0fc37e88 */ jal menugfxDrawTri2 -/* f0f3534: afac0018 */ sw $t4,0x18($sp) -/* f0f3538: afa201e8 */ sw $v0,0x1e8($sp) -.NB0f0f353c: -/* f0f353c: 8fa401e8 */ lw $a0,0x1e8($sp) -.NB0f0f3540: -/* f0f3540: 0fc3b4b3 */ jal menuitemRender -/* f0f3544: 27a50198 */ addiu $a1,$sp,0x198 -/* f0f3548: 8fae0118 */ lw $t6,0x118($sp) -/* f0f354c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3550: 24010002 */ addiu $at,$zero,0x2 -/* f0f3554: 91cb0000 */ lbu $t3,0x0($t6) -/* f0f3558: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f355c: 55610003 */ bnel $t3,$at,.NB0f0f356c -/* f0f3560: 8fb90114 */ lw $t9,0x114($sp) -/* f0f3564: afaf0128 */ sw $t7,0x128($sp) -/* f0f3568: 8fb90114 */ lw $t9,0x114($sp) -.NB0f0f356c: -/* f0f356c: 53200004 */ beqzl $t9,.NB0f0f3580 -/* f0f3570: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f3574: 0fc541a0 */ jal text0f156024 -/* f0f3578: 00002025 */ or $a0,$zero,$zero -/* f0f357c: 8fb8007c */ lw $t8,0x7c($sp) -.NB0f0f3580: -/* f0f3580: 8fa201c0 */ lw $v0,0x1c0($sp) -/* f0f3584: 8fad012c */ lw $t5,0x12c($sp) -/* f0f3588: 870c048c */ lh $t4,0x48c($t8) -/* f0f358c: 8fa40080 */ lw $a0,0x80($sp) -/* f0f3590: 24420001 */ addiu $v0,$v0,0x1 -/* f0f3594: 01ac7021 */ addu $t6,$t5,$t4 -/* f0f3598: afa201c0 */ sw $v0,0x1c0($sp) -/* f0f359c: afae012c */ sw $t6,0x12c($sp) -/* f0f35a0: 908b05d8 */ lbu $t3,0x5d8($a0) -/* f0f35a4: 004b082a */ slt $at,$v0,$t3 -/* f0f35a8: 5420fe91 */ bnezl $at,.NB0f0f2ff0 -/* f0f35ac: 8fae0080 */ lw $t6,0x80($sp) -/* f0f35b0: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f35b4: 848505d0 */ lh $a1,0x5d0($a0) -/* f0f35b8: 91e30005 */ lbu $v1,0x5($t7) -.NB0f0f35bc: -/* f0f35bc: 8fad01e4 */ lw $t5,0x1e4($sp) -/* f0f35c0: 8fb90194 */ lw $t9,0x194($sp) -/* f0f35c4: 25ac0001 */ addiu $t4,$t5,0x1 -/* f0f35c8: 0183082a */ slt $at,$t4,$v1 -/* f0f35cc: 0325c021 */ addu $t8,$t9,$a1 -/* f0f35d0: afac01e4 */ sw $t4,0x1e4($sp) -/* f0f35d4: 1420fe2e */ bnez $at,.NB0f0f2e90 -/* f0f35d8: afb80194 */ sw $t8,0x194($sp) -/* f0f35dc: 8fae01f4 */ lw $t6,0x1f4($sp) -.NB0f0f35e0: -/* f0f35e0: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f35e4: 00002825 */ or $a1,$zero,$zero -/* f0f35e8: 15c00061 */ bnez $t6,.NB0f0f3770 -/* f0f35ec: 8fab01e0 */ lw $t3,0x1e0($sp) -/* f0f35f0: afab0194 */ sw $t3,0x194($sp) -/* f0f35f4: 0fc537b7 */ jal textSetPrimColour -/* f0f35f8: afa001e4 */ sw $zero,0x1e4($sp) -/* f0f35fc: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f3600: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3604: 8fb901dc */ lw $t9,0x1dc($sp) -/* f0f3608: 91e30005 */ lbu $v1,0x5($t7) -/* f0f360c: 2738000c */ addiu $t8,$t9,0xc -/* f0f3610: 18600053 */ blez $v1,.NB0f0f3760 -/* f0f3614: 00000000 */ sll $zero,$zero,0x0 -/* f0f3618: afb8008c */ sw $t8,0x8c($sp) -.NB0f0f361c: -/* f0f361c: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f3620: 8fae01e4 */ lw $t6,0x1e4($sp) -/* f0f3624: 8fab01f0 */ lw $t3,0x1f0($sp) -/* f0f3628: 91ac0004 */ lbu $t4,0x4($t5) -/* f0f362c: afa001c0 */ sw $zero,0x1c0($sp) -/* f0f3630: 8fb1008c */ lw $s1,0x8c($sp) -/* f0f3634: 018e8021 */ addu $s0,$t4,$t6 -/* f0f3638: 00107880 */ sll $t7,$s0,0x2 -/* f0f363c: 01f07821 */ addu $t7,$t7,$s0 -/* f0f3640: 000f7840 */ sll $t7,$t7,0x1 -/* f0f3644: 016fc821 */ addu $t9,$t3,$t7 -/* f0f3648: afb90080 */ sw $t9,0x80($sp) -/* f0f364c: 933805d8 */ lbu $t8,0x5d8($t9) -/* f0f3650: 87b00196 */ lh $s0,0x196($sp) -/* f0f3654: 5b000039 */ blezl $t8,.NB0f0f373c -/* f0f3658: 8fb90080 */ lw $t9,0x80($sp) -/* f0f365c: 8fad0080 */ lw $t5,0x80($sp) -.NB0f0f3660: -/* f0f3660: 8fae01c0 */ lw $t6,0x1c0($sp) -/* f0f3664: 8fab01f0 */ lw $t3,0x1f0($sp) -/* f0f3668: 95ac05d6 */ lhu $t4,0x5d6($t5) -/* f0f366c: 8fad01ec */ lw $t5,0x1ec($sp) -/* f0f3670: 2401ffff */ addiu $at,$zero,-1 -/* f0f3674: 018e1821 */ addu $v1,$t4,$t6 -/* f0f3678: 00037880 */ sll $t7,$v1,0x2 -/* f0f367c: 016f2021 */ addu $a0,$t3,$t7 -/* f0f3680: 9099048e */ lbu $t9,0x48e($a0) -/* f0f3684: 8dac0000 */ lw $t4,0x0($t5) -/* f0f3688: 8082048f */ lb $v0,0x48f($a0) -/* f0f368c: 0019c080 */ sll $t8,$t9,0x2 -/* f0f3690: 8d8e0008 */ lw $t6,0x8($t4) -/* f0f3694: 0319c021 */ addu $t8,$t8,$t9 -/* f0f3698: 0018c080 */ sll $t8,$t8,0x2 -/* f0f369c: 00004025 */ or $t0,$zero,$zero -/* f0f36a0: afa4007c */ sw $a0,0x7c($sp) -/* f0f36a4: 10410005 */ beq $v0,$at,.NB0f0f36bc -/* f0f36a8: 030e4821 */ addu $t1,$t8,$t6 -/* f0f36ac: 00027880 */ sll $t7,$v0,0x2 -/* f0f36b0: 016f4021 */ addu $t0,$t3,$t7 -/* f0f36b4: 25080638 */ addiu $t0,$t0,0x638 -/* f0f36b8: afa4007c */ sw $a0,0x7c($sp) -.NB0f0f36bc: -/* f0f36bc: 8fac0080 */ lw $t4,0x80($sp) -/* f0f36c0: 8fb8007c */ lw $t8,0x7c($sp) -/* f0f36c4: 8fab01ec */ lw $t3,0x1ec($sp) -/* f0f36c8: 858705d0 */ lh $a3,0x5d0($t4) -/* f0f36cc: 870e048c */ lh $t6,0x48c($t8) -/* f0f36d0: 00102c00 */ sll $a1,$s0,0x10 -/* f0f36d4: 00113400 */ sll $a2,$s1,0x10 -/* f0f36d8: 00066c03 */ sra $t5,$a2,0x10 -/* f0f36dc: 0005cc03 */ sra $t9,$a1,0x10 -/* f0f36e0: 03202825 */ or $a1,$t9,$zero -/* f0f36e4: 01a03025 */ or $a2,$t5,$zero -/* f0f36e8: afa8001c */ sw $t0,0x1c($sp) -/* f0f36ec: afa90014 */ sw $t1,0x14($sp) -/* f0f36f0: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f36f4: afab0018 */ sw $t3,0x18($sp) -/* f0f36f8: 0fc3b592 */ jal menuitemOverlay -/* f0f36fc: afae0010 */ sw $t6,0x10($sp) -/* f0f3700: 8fad01c0 */ lw $t5,0x1c0($sp) -/* f0f3704: 8faf007c */ lw $t7,0x7c($sp) -/* f0f3708: 8fb80080 */ lw $t8,0x80($sp) -/* f0f370c: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3710: 85f9048c */ lh $t9,0x48c($t7) -/* f0f3714: 25ac0001 */ addiu $t4,$t5,0x1 -/* f0f3718: afac01c0 */ sw $t4,0x1c0($sp) -/* f0f371c: 930e05d8 */ lbu $t6,0x5d8($t8) -/* f0f3720: 02398821 */ addu $s1,$s1,$t9 -/* f0f3724: 018e082a */ slt $at,$t4,$t6 -/* f0f3728: 5420ffcd */ bnezl $at,.NB0f0f3660 -/* f0f372c: 8fad0080 */ lw $t5,0x80($sp) -/* f0f3730: 8fab01ec */ lw $t3,0x1ec($sp) -/* f0f3734: 91630005 */ lbu $v1,0x5($t3) -/* f0f3738: 8fb90080 */ lw $t9,0x80($sp) -.NB0f0f373c: -/* f0f373c: 8fac01e4 */ lw $t4,0x1e4($sp) -/* f0f3740: 8faf0194 */ lw $t7,0x194($sp) -/* f0f3744: 872d05d0 */ lh $t5,0x5d0($t9) -/* f0f3748: 258e0001 */ addiu $t6,$t4,0x1 -/* f0f374c: 01c3082a */ slt $at,$t6,$v1 -/* f0f3750: 01edc021 */ addu $t8,$t7,$t5 -/* f0f3754: afae01e4 */ sw $t6,0x1e4($sp) -/* f0f3758: 1420ffb0 */ bnez $at,.NB0f0f361c -/* f0f375c: afb80194 */ sw $t8,0x194($sp) -.NB0f0f3760: -/* f0f3760: 0fc537ce */ jal text0f153838 -/* f0f3764: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3768: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f376c: 00402025 */ or $a0,$v0,$zero -.NB0f0f3770: -/* f0f3770: 00809825 */ or $s3,$a0,$zero -/* f0f3774: 24840008 */ addiu $a0,$a0,0x8 -/* f0f3778: 0c002fb5 */ jal viGetViewLeft -/* f0f377c: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f3780: 00028400 */ sll $s0,$v0,0x10 -/* f0f3784: 00105c03 */ sra $t3,$s0,0x10 -/* f0f3788: 0c002fb9 */ jal viGetViewTop -/* f0f378c: 01608025 */ or $s0,$t3,$zero -/* f0f3790: 44825000 */ mtc1 $v0,$f10 -/* f0f3794: 44903000 */ mtc1 $s0,$f6 -/* f0f3798: 3c014080 */ lui $at,0x4080 -/* f0f379c: 46805420 */ cvt.s.w $f16,$f10 -/* f0f37a0: 44810000 */ mtc1 $at,$f0 -/* f0f37a4: 3c01ed00 */ lui $at,0xed00 -/* f0f37a8: 46803220 */ cvt.s.w $f8,$f6 -/* f0f37ac: 46008482 */ mul.s $f18,$f16,$f0 -/* f0f37b0: 00000000 */ sll $zero,$zero,0x0 -/* f0f37b4: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f37b8: 4600910d */ trunc.w.s $f4,$f18 -/* f0f37bc: 4600540d */ trunc.w.s $f16,$f10 -/* f0f37c0: 440f2000 */ mfc1 $t7,$f4 -/* f0f37c4: 440e8000 */ mfc1 $t6,$f16 -/* f0f37c8: 31ed0fff */ andi $t5,$t7,0xfff -/* f0f37cc: 01a1c025 */ or $t8,$t5,$at -/* f0f37d0: 31cb0fff */ andi $t3,$t6,0xfff -/* f0f37d4: 000bcb00 */ sll $t9,$t3,0xc -/* f0f37d8: 03197825 */ or $t7,$t8,$t9 -/* f0f37dc: 0c002f97 */ jal viGetViewWidth -/* f0f37e0: ae6f0000 */ sw $t7,0x0($s3) -/* f0f37e4: 00028c00 */ sll $s1,$v0,0x10 -/* f0f37e8: 00116c03 */ sra $t5,$s1,0x10 -/* f0f37ec: 0c002fb5 */ jal viGetViewLeft -/* f0f37f0: 01a08825 */ or $s1,$t5,$zero -/* f0f37f4: 00029400 */ sll $s2,$v0,0x10 -/* f0f37f8: 00126403 */ sra $t4,$s2,0x10 -/* f0f37fc: 0c002fb9 */ jal viGetViewTop -/* f0f3800: 01809025 */ or $s2,$t4,$zero -/* f0f3804: 00028400 */ sll $s0,$v0,0x10 -/* f0f3808: 00107403 */ sra $t6,$s0,0x10 -/* f0f380c: 0c002f9b */ jal viGetViewHeight -/* f0f3810: 01c08025 */ or $s0,$t6,$zero -/* f0f3814: 00505821 */ addu $t3,$v0,$s0 -/* f0f3818: 448b9000 */ mtc1 $t3,$f18 -/* f0f381c: 02516821 */ addu $t5,$s2,$s1 -/* f0f3820: 448d5000 */ mtc1 $t5,$f10 -/* f0f3824: 46809120 */ cvt.s.w $f4,$f18 -/* f0f3828: 3c014080 */ lui $at,0x4080 -/* f0f382c: 44810000 */ mtc1 $at,$f0 -/* f0f3830: 46805420 */ cvt.s.w $f16,$f10 -/* f0f3834: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f3838: 00000000 */ sll $zero,$zero,0x0 -/* f0f383c: 46008482 */ mul.s $f18,$f16,$f0 -/* f0f3840: 4600320d */ trunc.w.s $f8,$f6 -/* f0f3844: 4600910d */ trunc.w.s $f4,$f18 -/* f0f3848: 44194000 */ mfc1 $t9,$f8 -/* f0f384c: 440e2000 */ mfc1 $t6,$f4 -/* f0f3850: 332f0fff */ andi $t7,$t9,0xfff -/* f0f3854: 31cb0fff */ andi $t3,$t6,0xfff -/* f0f3858: 000bc300 */ sll $t8,$t3,0xc -/* f0f385c: 01f8c825 */ or $t9,$t7,$t8 -/* f0f3860: 1000003e */ beqz $zero,.NB0f0f395c -/* f0f3864: ae790004 */ sw $t9,0x4($s3) -/* f0f3868: 24840008 */ addiu $a0,$a0,0x8 -.NB0f0f386c: -/* f0f386c: 0c002fb5 */ jal viGetViewLeft -/* f0f3870: afa401e8 */ sw $a0,0x1e8($sp) -/* f0f3874: 00028400 */ sll $s0,$v0,0x10 -/* f0f3878: 00106c03 */ sra $t5,$s0,0x10 -/* f0f387c: 0c002fb9 */ jal viGetViewTop -/* f0f3880: 01a08025 */ or $s0,$t5,$zero -/* f0f3884: 44823000 */ mtc1 $v0,$f6 -/* f0f3888: 44909000 */ mtc1 $s0,$f18 -/* f0f388c: 3c014080 */ lui $at,0x4080 -/* f0f3890: 46803220 */ cvt.s.w $f8,$f6 -/* f0f3894: 44810000 */ mtc1 $at,$f0 -/* f0f3898: 3c01ed00 */ lui $at,0xed00 -/* f0f389c: 46809120 */ cvt.s.w $f4,$f18 -/* f0f38a0: 46004282 */ mul.s $f10,$f8,$f0 -/* f0f38a4: 00000000 */ sll $zero,$zero,0x0 -/* f0f38a8: 46002182 */ mul.s $f6,$f4,$f0 -/* f0f38ac: 4600540d */ trunc.w.s $f16,$f10 -/* f0f38b0: 4600320d */ trunc.w.s $f8,$f6 -/* f0f38b4: 440e8000 */ mfc1 $t6,$f16 -/* f0f38b8: 44194000 */ mfc1 $t9,$f8 -/* f0f38bc: 31cb0fff */ andi $t3,$t6,0xfff -/* f0f38c0: 01617825 */ or $t7,$t3,$at -/* f0f38c4: 332d0fff */ andi $t5,$t9,0xfff -/* f0f38c8: 000d6300 */ sll $t4,$t5,0xc -/* f0f38cc: 01ec7025 */ or $t6,$t7,$t4 -/* f0f38d0: 0c002f97 */ jal viGetViewWidth -/* f0f38d4: ae6e0000 */ sw $t6,0x0($s3) -/* f0f38d8: 00028c00 */ sll $s1,$v0,0x10 -/* f0f38dc: 00115c03 */ sra $t3,$s1,0x10 -/* f0f38e0: 0c002fb5 */ jal viGetViewLeft -/* f0f38e4: 01608825 */ or $s1,$t3,$zero -/* f0f38e8: 00029400 */ sll $s2,$v0,0x10 -/* f0f38ec: 0012c403 */ sra $t8,$s2,0x10 -/* f0f38f0: 0c002fb9 */ jal viGetViewTop -/* f0f38f4: 03009025 */ or $s2,$t8,$zero -/* f0f38f8: 00028400 */ sll $s0,$v0,0x10 -/* f0f38fc: 0010cc03 */ sra $t9,$s0,0x10 -/* f0f3900: 0c002f9b */ jal viGetViewHeight -/* f0f3904: 03208025 */ or $s0,$t9,$zero -/* f0f3908: 00506821 */ addu $t5,$v0,$s0 -/* f0f390c: 448d5000 */ mtc1 $t5,$f10 -/* f0f3910: 02515821 */ addu $t3,$s2,$s1 -/* f0f3914: 448b4000 */ mtc1 $t3,$f8 -/* f0f3918: 46805420 */ cvt.s.w $f16,$f10 -/* f0f391c: 3c014080 */ lui $at,0x4080 -/* f0f3920: 44819000 */ mtc1 $at,$f18 -/* f0f3924: 468042a0 */ cvt.s.w $f10,$f8 -/* f0f3928: 46128102 */ mul.s $f4,$f16,$f18 -/* f0f392c: 44818000 */ mtc1 $at,$f16 -/* f0f3930: 00000000 */ sll $zero,$zero,0x0 -/* f0f3934: 46105482 */ mul.s $f18,$f10,$f16 -/* f0f3938: 4600218d */ trunc.w.s $f6,$f4 -/* f0f393c: 4600910d */ trunc.w.s $f4,$f18 -/* f0f3940: 440c3000 */ mfc1 $t4,$f6 -/* f0f3944: 44192000 */ mfc1 $t9,$f4 -/* f0f3948: 318e0fff */ andi $t6,$t4,0xfff -/* f0f394c: 332d0fff */ andi $t5,$t9,0xfff -/* f0f3950: 000d7b00 */ sll $t7,$t5,0xc -/* f0f3954: 01cf6025 */ or $t4,$t6,$t7 -/* f0f3958: ae6c0004 */ sw $t4,0x4($s3) -.NB0f0f395c: -/* f0f395c: 3c0b8007 */ lui $t3,0x8007 -/* f0f3960: 8d6b3af0 */ lw $t3,0x3af0($t3) -/* f0f3964: 3c19800a */ lui $t9,0x800a -/* f0f3968: 273927c0 */ addiu $t9,$t9,0x27c0 -/* f0f396c: 000bc0c0 */ sll $t8,$t3,0x3 -/* f0f3970: 030bc023 */ subu $t8,$t8,$t3 -/* f0f3974: 0018c0c0 */ sll $t8,$t8,0x3 -/* f0f3978: 030bc023 */ subu $t8,$t8,$t3 -/* f0f397c: 0018c100 */ sll $t8,$t8,0x4 -/* f0f3980: 030bc023 */ subu $t8,$t8,$t3 -/* f0f3984: 0018c080 */ sll $t8,$t8,0x2 -/* f0f3988: 03191821 */ addu $v1,$t8,$t9 -/* f0f398c: 846d0484 */ lh $t5,0x484($v1) -/* f0f3990: 8faf01ec */ lw $t7,0x1ec($sp) -/* f0f3994: 000d7080 */ sll $t6,$t5,0x2 -/* f0f3998: 91ec003c */ lbu $t4,0x3c($t7) -/* f0f399c: 01cd7023 */ subu $t6,$t6,$t5 -/* f0f39a0: 000e70c0 */ sll $t6,$t6,0x3 -/* f0f39a4: 006e8821 */ addu $s1,$v1,$t6 -/* f0f39a8: 15800006 */ bnez $t4,.NB0f0f39c4 -/* f0f39ac: 263103dc */ addiu $s1,$s1,0x3dc -/* f0f39b0: c5e60040 */ lwc1 $f6,0x40($t7) -/* f0f39b4: 4606a03e */ c.le.s $f20,$f6 -/* f0f39b8: 00000000 */ sll $zero,$zero,0x0 -/* f0f39bc: 4502010b */ bc1fl .NB0f0f3dec -/* f0f39c0: 8fa201e8 */ lw $v0,0x1e8($sp) -.NB0f0f39c4: -/* f0f39c4: 82380015 */ lb $t8,0x15($s1) -/* f0f39c8: 8fab01ec */ lw $t3,0x1ec($sp) -/* f0f39cc: 0018c880 */ sll $t9,$t8,0x2 -/* f0f39d0: 02396821 */ addu $t5,$s1,$t9 -/* f0f39d4: 8dae0000 */ lw $t6,0x0($t5) -/* f0f39d8: 556e0104 */ bnel $t3,$t6,.NB0f0f3dec -/* f0f39dc: 8fa201e8 */ lw $v0,0x1e8($sp) -/* f0f39e0: 822c0014 */ lb $t4,0x14($s1) -/* f0f39e4: 29810002 */ slti $at,$t4,0x2 -/* f0f39e8: 142000ff */ bnez $at,.NB0f0f3de8 -/* f0f39ec: 3c014120 */ lui $at,0x4120 -/* f0f39f0: 44816000 */ mtc1 $at,$f12 -/* f0f39f4: 0fc019eb */ jal func0f006b08 -/* f0f39f8: 00000000 */ sll $zero,$zero,0x0 -/* f0f39fc: 3c01437f */ lui $at,0x437f -/* f0f3a00: 44814000 */ mtc1 $at,$f8 -/* f0f3a04: 24100001 */ addiu $s0,$zero,0x1 -/* f0f3a08: 3c014f00 */ lui $at,0x4f00 -/* f0f3a0c: 46080282 */ mul.s $f10,$f0,$f8 -/* f0f3a10: 8fb801ec */ lw $t8,0x1ec($sp) -/* f0f3a14: 8fab01ec */ lw $t3,0x1ec($sp) -/* f0f3a18: 444ff800 */ cfc1 $t7,$31 -/* f0f3a1c: 44d0f800 */ ctc1 $s0,$31 -/* f0f3a20: 00000000 */ sll $zero,$zero,0x0 -/* f0f3a24: 46005424 */ cvt.w.s $f16,$f10 -/* f0f3a28: 4450f800 */ cfc1 $s0,$31 -/* f0f3a2c: 00000000 */ sll $zero,$zero,0x0 -/* f0f3a30: 32100078 */ andi $s0,$s0,0x78 -/* f0f3a34: 52000013 */ beqzl $s0,.NB0f0f3a84 -/* f0f3a38: 44108000 */ mfc1 $s0,$f16 -/* f0f3a3c: 44818000 */ mtc1 $at,$f16 -/* f0f3a40: 24100001 */ addiu $s0,$zero,0x1 -/* f0f3a44: 46105401 */ sub.s $f16,$f10,$f16 -/* f0f3a48: 44d0f800 */ ctc1 $s0,$31 -/* f0f3a4c: 00000000 */ sll $zero,$zero,0x0 -/* f0f3a50: 46008424 */ cvt.w.s $f16,$f16 -/* f0f3a54: 4450f800 */ cfc1 $s0,$31 -/* f0f3a58: 00000000 */ sll $zero,$zero,0x0 -/* f0f3a5c: 32100078 */ andi $s0,$s0,0x78 -/* f0f3a60: 16000005 */ bnez $s0,.NB0f0f3a78 -/* f0f3a64: 00000000 */ sll $zero,$zero,0x0 -/* f0f3a68: 44108000 */ mfc1 $s0,$f16 -/* f0f3a6c: 3c018000 */ lui $at,0x8000 -/* f0f3a70: 10000007 */ beqz $zero,.NB0f0f3a90 -/* f0f3a74: 02018025 */ or $s0,$s0,$at -.NB0f0f3a78: -/* f0f3a78: 10000005 */ beqz $zero,.NB0f0f3a90 -/* f0f3a7c: 2410ffff */ addiu $s0,$zero,-1 -/* f0f3a80: 44108000 */ mfc1 $s0,$f16 -.NB0f0f3a84: -/* f0f3a84: 00000000 */ sll $zero,$zero,0x0 -/* f0f3a88: 0600fffb */ bltz $s0,.NB0f0f3a78 -/* f0f3a8c: 00000000 */ sll $zero,$zero,0x0 -.NB0f0f3a90: -/* f0f3a90: 44cff800 */ ctc1 $t7,$31 -/* f0f3a94: c7120040 */ lwc1 $f18,0x40($t8) -/* f0f3a98: 4614903c */ c.lt.s $f18,$f20 -/* f0f3a9c: 00000000 */ sll $zero,$zero,0x0 -/* f0f3aa0: 4502000a */ bc1fl .NB0f0f3acc -/* f0f3aa4: 916e003d */ lbu $t6,0x3d($t3) -/* f0f3aa8: 9319003c */ lbu $t9,0x3c($t8) -/* f0f3aac: 3c057f1b */ lui $a1,0x7f1b -/* f0f3ab0: 00196900 */ sll $t5,$t9,0x4 -/* f0f3ab4: 01b96823 */ subu $t5,$t5,$t9 -/* f0f3ab8: 000d6880 */ sll $t5,$t5,0x2 -/* f0f3abc: 00ad2821 */ addu $a1,$a1,$t5 -/* f0f3ac0: 10000011 */ beqz $zero,.NB0f0f3b08 -/* f0f3ac4: 8ca5c2e0 */ lw $a1,-0x3d20($a1) -/* f0f3ac8: 916e003d */ lbu $t6,0x3d($t3) -.NB0f0f3acc: -/* f0f3acc: 2402003c */ addiu $v0,$zero,0x3c -/* f0f3ad0: 9178003c */ lbu $t8,0x3c($t3) -/* f0f3ad4: 01c20019 */ multu $t6,$v0 -/* f0f3ad8: 3c037f1b */ lui $v1,0x7f1b -/* f0f3adc: 2463c2e0 */ addiu $v1,$v1,-15648 -/* f0f3ae0: 8d660044 */ lw $a2,0x44($t3) -/* f0f3ae4: 00006012 */ mflo $t4 -/* f0f3ae8: 006c7821 */ addu $t7,$v1,$t4 -/* f0f3aec: 8de40000 */ lw $a0,0x0($t7) -/* f0f3af0: 03020019 */ multu $t8,$v0 -/* f0f3af4: 0000c812 */ mflo $t9 -/* f0f3af8: 00796821 */ addu $t5,$v1,$t9 -/* f0f3afc: 0fc01990 */ jal colourBlend -/* f0f3b00: 8da50000 */ lw $a1,0x0($t5) -/* f0f3b04: 00402825 */ or $a1,$v0,$zero -.NB0f0f3b08: -/* f0f3b08: 2404ffff */ addiu $a0,$zero,-1 -/* f0f3b0c: 0fc01990 */ jal colourBlend -/* f0f3b10: 02003025 */ or $a2,$s0,$zero -/* f0f3b14: 3c0141a0 */ lui $at,0x41a0 -/* f0f3b18: 4481a000 */ mtc1 $at,$f20 -/* f0f3b1c: 00408025 */ or $s0,$v0,$zero -/* f0f3b20: 0fc019eb */ jal func0f006b08 -/* f0f3b24: 4600a306 */ mov.s $f12,$f20 -/* f0f3b28: 8fae01dc */ lw $t6,0x1dc($sp) -/* f0f3b2c: 8fac01d4 */ lw $t4,0x1d4($sp) -/* f0f3b30: 8fa501e0 */ lw $a1,0x1e0($sp) -/* f0f3b34: 240f0001 */ addiu $t7,$zero,0x1 -/* f0f3b38: 01cca821 */ addu $s5,$t6,$t4 -/* f0f3b3c: afaf0010 */ sw $t7,0x10($sp) -/* f0f3b40: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3b44: 24070009 */ addiu $a3,$zero,0x9 -/* f0f3b48: afb00014 */ sw $s0,0x14($sp) -/* f0f3b4c: afb00018 */ sw $s0,0x18($sp) -/* f0f3b50: e7a0001c */ swc1 $f0,0x1c($sp) -/* f0f3b54: 24a5fffb */ addiu $a1,$a1,-5 -/* f0f3b58: 06a10003 */ bgez $s5,.NB0f0f3b68 -/* f0f3b5c: 0015a043 */ sra $s4,$s5,0x1 -/* f0f3b60: 26a10001 */ addiu $at,$s5,0x1 -/* f0f3b64: 0001a043 */ sra $s4,$at,0x1 -.NB0f0f3b68: -/* f0f3b68: 0fc381ee */ jal menugfxDrawDialogChevron -/* f0f3b6c: 02803025 */ or $a2,$s4,$zero -/* f0f3b70: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3b74: 0fc019eb */ jal func0f006b08 -/* f0f3b78: 4600a306 */ mov.s $f12,$f20 -/* f0f3b7c: 8fa50088 */ lw $a1,0x88($sp) -/* f0f3b80: 24180003 */ addiu $t8,$zero,0x3 -/* f0f3b84: afb80010 */ sw $t8,0x10($sp) -/* f0f3b88: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3b8c: 02803025 */ or $a2,$s4,$zero -/* f0f3b90: 24070009 */ addiu $a3,$zero,0x9 -/* f0f3b94: afb00014 */ sw $s0,0x14($sp) -/* f0f3b98: afb00018 */ sw $s0,0x18($sp) -/* f0f3b9c: e7a0001c */ swc1 $f0,0x1c($sp) -/* f0f3ba0: 0fc381ee */ jal menugfxDrawDialogChevron -/* f0f3ba4: 24a50005 */ addiu $a1,$a1,0x5 -/* f0f3ba8: 3c03800a */ lui $v1,0x800a -/* f0f3bac: 8c635eb4 */ lw $v1,0x5eb4($v1) -/* f0f3bb0: 24010002 */ addiu $at,$zero,0x2 -/* f0f3bb4: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3bb8: 10610007 */ beq $v1,$at,.NB0f0f3bd8 -/* f0f3bbc: 2401000a */ addiu $at,$zero,0xa -/* f0f3bc0: 10610005 */ beq $v1,$at,.NB0f0f3bd8 -/* f0f3bc4: 2401000d */ addiu $at,$zero,0xd -/* f0f3bc8: 10610003 */ beq $v1,$at,.NB0f0f3bd8 -/* f0f3bcc: 24010006 */ addiu $at,$zero,0x6 -/* f0f3bd0: 54610086 */ bnel $v1,$at,.NB0f0f3dec -/* f0f3bd4: 8fa201e8 */ lw $v0,0x1e8($sp) -.NB0f0f3bd8: -/* f0f3bd8: 0fc5392a */ jal textResetBlends -/* f0f3bdc: 00000000 */ sll $zero,$zero,0x0 -/* f0f3be0: 0fc5362e */ jal textSetRotation90 -/* f0f3be4: 24040001 */ addiu $a0,$zero,0x1 -/* f0f3be8: 0fc5374a */ jal text0f153628 -/* f0f3bec: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3bf0: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3bf4: 82230015 */ lb $v1,0x15($s1) -/* f0f3bf8: 2463ffff */ addiu $v1,$v1,-1 -/* f0f3bfc: 04630004 */ bgezl $v1,.NB0f0f3c10 -/* f0f3c00: 0003c880 */ sll $t9,$v1,0x2 -/* f0f3c04: 82230014 */ lb $v1,0x14($s1) -/* f0f3c08: 2463ffff */ addiu $v1,$v1,-1 -/* f0f3c0c: 0003c880 */ sll $t9,$v1,0x2 -.NB0f0f3c10: -/* f0f3c10: 02396821 */ addu $t5,$s1,$t9 -/* f0f3c14: 8dab0000 */ lw $t3,0x0($t5) -/* f0f3c18: 0fc3b864 */ jal menuResolveDialogTitle -/* f0f3c1c: 8d640000 */ lw $a0,0x0($t3) -/* f0f3c20: 3c138008 */ lui $s3,0x8008 -/* f0f3c24: 26732364 */ addiu $s3,$s3,0x2364 -/* f0f3c28: 8e6e0000 */ lw $t6,0x0($s3) -/* f0f3c2c: 3c128008 */ lui $s2,0x8008 -/* f0f3c30: 26522368 */ addiu $s2,$s2,0x2368 -/* f0f3c34: 27b600b0 */ addiu $s6,$sp,0xb0 -/* f0f3c38: 27b700ac */ addiu $s7,$sp,0xac -/* f0f3c3c: 00408025 */ or $s0,$v0,$zero -/* f0f3c40: 02e02825 */ or $a1,$s7,$zero -/* f0f3c44: 02c02025 */ or $a0,$s6,$zero -/* f0f3c48: 8e470000 */ lw $a3,0x0($s2) -/* f0f3c4c: 00403025 */ or $a2,$v0,$zero -/* f0f3c50: afa00014 */ sw $zero,0x14($sp) -/* f0f3c54: 0fc54655 */ jal textMeasure -/* f0f3c58: afae0010 */ sw $t6,0x10($sp) -/* f0f3c5c: 8fa200ac */ lw $v0,0xac($sp) -/* f0f3c60: 8fa301e0 */ lw $v1,0x1e0($sp) -/* f0f3c64: 8fac01dc */ lw $t4,0x1dc($sp) -/* f0f3c68: 02822823 */ subu $a1,$s4,$v0 -/* f0f3c6c: 24a5fffd */ addiu $a1,$a1,-3 -/* f0f3c70: 2463ffff */ addiu $v1,$v1,-1 -/* f0f3c74: 00ac082a */ slt $at,$a1,$t4 -/* f0f3c78: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f3c7c: 10200009 */ beqz $at,.NB0f0f3ca4 -/* f0f3c80: afa501cc */ sw $a1,0x1cc($sp) -/* f0f3c84: 02a22823 */ subu $a1,$s5,$v0 -/* f0f3c88: 04a10003 */ bgez $a1,.NB0f0f3c98 -/* f0f3c8c: 00057843 */ sra $t7,$a1,0x1 -/* f0f3c90: 24a10001 */ addiu $at,$a1,0x1 -/* f0f3c94: 00017843 */ sra $t7,$at,0x1 -.NB0f0f3c98: -/* f0f3c98: 2463fffd */ addiu $v1,$v1,-3 -/* f0f3c9c: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f3ca0: afaf01cc */ sw $t7,0x1cc($sp) -.NB0f0f3ca4: -/* f0f3ca4: 0c002f7b */ jal viGetHeight -/* f0f3ca8: 00000000 */ sll $zero,$zero,0x0 -/* f0f3cac: 8e580000 */ lw $t8,0x0($s2) -/* f0f3cb0: 8e790000 */ lw $t9,0x0($s3) -/* f0f3cb4: 87ab01ca */ lh $t3,0x1ca($sp) -/* f0f3cb8: 240dffff */ addiu $t5,$zero,-1 -/* f0f3cbc: afad0018 */ sw $t5,0x18($sp) -/* f0f3cc0: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3cc4: 27a501cc */ addiu $a1,$sp,0x1cc -/* f0f3cc8: 27a601d0 */ addiu $a2,$sp,0x1d0 -/* f0f3ccc: 02003825 */ or $a3,$s0,$zero -/* f0f3cd0: afa20020 */ sw $v0,0x20($sp) -/* f0f3cd4: afa00024 */ sw $zero,0x24($sp) -/* f0f3cd8: afa00028 */ sw $zero,0x28($sp) -/* f0f3cdc: afb80010 */ sw $t8,0x10($sp) -/* f0f3ce0: afb90014 */ sw $t9,0x14($sp) -/* f0f3ce4: 0fc541a6 */ jal textRenderProjected -/* f0f3ce8: afab001c */ sw $t3,0x1c($sp) -/* f0f3cec: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3cf0: 82230015 */ lb $v1,0x15($s1) -/* f0f3cf4: 822e0014 */ lb $t6,0x14($s1) -/* f0f3cf8: 24630001 */ addiu $v1,$v1,0x1 -/* f0f3cfc: 006e082a */ slt $at,$v1,$t6 -/* f0f3d00: 54200003 */ bnezl $at,.NB0f0f3d10 -/* f0f3d04: 00036080 */ sll $t4,$v1,0x2 -/* f0f3d08: 00001825 */ or $v1,$zero,$zero -/* f0f3d0c: 00036080 */ sll $t4,$v1,0x2 -.NB0f0f3d10: -/* f0f3d10: 022c7821 */ addu $t7,$s1,$t4 -/* f0f3d14: 8df80000 */ lw $t8,0x0($t7) -/* f0f3d18: 0fc3b864 */ jal menuResolveDialogTitle -/* f0f3d1c: 8f040000 */ lw $a0,0x0($t8) -/* f0f3d20: 8e790000 */ lw $t9,0x0($s3) -/* f0f3d24: 00408025 */ or $s0,$v0,$zero -/* f0f3d28: 02c02025 */ or $a0,$s6,$zero -/* f0f3d2c: 02e02825 */ or $a1,$s7,$zero -/* f0f3d30: 00403025 */ or $a2,$v0,$zero -/* f0f3d34: 8e470000 */ lw $a3,0x0($s2) -/* f0f3d38: afa00014 */ sw $zero,0x14($sp) -/* f0f3d3c: 0fc54655 */ jal textMeasure -/* f0f3d40: afb90010 */ sw $t9,0x10($sp) -/* f0f3d44: 8fa200ac */ lw $v0,0xac($sp) -/* f0f3d48: 8fa30088 */ lw $v1,0x88($sp) -/* f0f3d4c: 8fad01d4 */ lw $t5,0x1d4($sp) -/* f0f3d50: 26850003 */ addiu $a1,$s4,0x3 -/* f0f3d54: 00a25821 */ addu $t3,$a1,$v0 -/* f0f3d58: 24630007 */ addiu $v1,$v1,0x7 -/* f0f3d5c: 01ab082a */ slt $at,$t5,$t3 -/* f0f3d60: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f3d64: 10200009 */ beqz $at,.NB0f0f3d8c -/* f0f3d68: afa501cc */ sw $a1,0x1cc($sp) -/* f0f3d6c: 02a22823 */ subu $a1,$s5,$v0 -/* f0f3d70: 04a10003 */ bgez $a1,.NB0f0f3d80 -/* f0f3d74: 00057043 */ sra $t6,$a1,0x1 -/* f0f3d78: 24a10001 */ addiu $at,$a1,0x1 -/* f0f3d7c: 00017043 */ sra $t6,$at,0x1 -.NB0f0f3d80: -/* f0f3d80: 24630003 */ addiu $v1,$v1,0x3 -/* f0f3d84: afa301d0 */ sw $v1,0x1d0($sp) -/* f0f3d88: afae01cc */ sw $t6,0x1cc($sp) -.NB0f0f3d8c: -/* f0f3d8c: 0c002f7b */ jal viGetHeight -/* f0f3d90: 00000000 */ sll $zero,$zero,0x0 -/* f0f3d94: 8e4c0000 */ lw $t4,0x0($s2) -/* f0f3d98: 8e6f0000 */ lw $t7,0x0($s3) -/* f0f3d9c: 87b901ca */ lh $t9,0x1ca($sp) -/* f0f3da0: 2418ffff */ addiu $t8,$zero,-1 -/* f0f3da4: afb80018 */ sw $t8,0x18($sp) -/* f0f3da8: 8fa401e8 */ lw $a0,0x1e8($sp) -/* f0f3dac: 27a501cc */ addiu $a1,$sp,0x1cc -/* f0f3db0: 27a601d0 */ addiu $a2,$sp,0x1d0 -/* f0f3db4: 02003825 */ or $a3,$s0,$zero -/* f0f3db8: afa20020 */ sw $v0,0x20($sp) -/* f0f3dbc: afa00024 */ sw $zero,0x24($sp) -/* f0f3dc0: afa00028 */ sw $zero,0x28($sp) -/* f0f3dc4: afac0010 */ sw $t4,0x10($sp) -/* f0f3dc8: afaf0014 */ sw $t7,0x14($sp) -/* f0f3dcc: 0fc541a6 */ jal textRenderProjected -/* f0f3dd0: afb9001c */ sw $t9,0x1c($sp) -/* f0f3dd4: 0fc537a0 */ jal text0f153780 -/* f0f3dd8: 00402025 */ or $a0,$v0,$zero -/* f0f3ddc: afa201e8 */ sw $v0,0x1e8($sp) -/* f0f3de0: 0fc5362e */ jal textSetRotation90 -/* f0f3de4: 00002025 */ or $a0,$zero,$zero -.NB0f0f3de8: -/* f0f3de8: 8fa201e8 */ lw $v0,0x1e8($sp) -.NB0f0f3dec: -/* f0f3dec: 8fbf0064 */ lw $ra,0x64($sp) -/* f0f3df0: d7b40038 */ ldc1 $f20,0x38($sp) -/* f0f3df4: 8fb00040 */ lw $s0,0x40($sp) -/* f0f3df8: 8fb10044 */ lw $s1,0x44($sp) -/* f0f3dfc: 8fb20048 */ lw $s2,0x48($sp) -/* f0f3e00: 8fb3004c */ lw $s3,0x4c($sp) -/* f0f3e04: 8fb40050 */ lw $s4,0x50($sp) -/* f0f3e08: 8fb50054 */ lw $s5,0x54($sp) -/* f0f3e0c: 8fb60058 */ lw $s6,0x58($sp) -/* f0f3e10: 8fb7005c */ lw $s7,0x5c($sp) -/* f0f3e14: 8fbe0060 */ lw $s8,0x60($sp) -/* f0f3e18: 03e00008 */ jr $ra -/* f0f3e1c: 27bd01e8 */ addiu $sp,$sp,0x1e8 -); -#endif - -const char var7f1b2658[] = "1\n"; -const char var7f1b265c[] = "2\n"; -const char var7f1b2660[] = "3\n"; -const char var7f1b2664[] = "4\n"; - -u32 var800714c8 = (u32)&var7f1b2658; -u32 var800714cc = (u32)&var7f1b265c; -u32 var800714d0 = (u32)&var7f1b2660; -u32 var800714d4 = (u32)&var7f1b2664; - /** * Render a single menu dialog. * @@ -19432,609 +12719,608 @@ u32 var800714d4 = (u32)&var7f1b2664; * variant of the dialog is rendered which has no borders, less background, * no overlays and no models such as inventory weapons. */ -// Mismatch: Regalloc, and possibly some differences in compiler-managed stack -// usage. -//Gfx *dialogRender(Gfx *gdl, struct menudialog *dialog, struct menu *menu, bool lightweight) -//{ -// s32 i; // 1e4 -// s32 dialogleft; // 1e0 -// s32 dialogtop; // 1dc -// s32 dialogright; -// s32 dialogbottom; // 1d4 -// s32 x; // 1d0 -// s32 y; // 1cc -// s16 dialogwidth; // 1ca -// union menuitemdata *itemdata; -// s32 j; // 1c0 -// u32 colour1; // 1bc -// u32 colour2; // 1b8 -// u32 colour3; // 1b4 -// struct menurendercontext context; // 198 -// s32 curx; // 194 -// s32 bgx1; -// s32 bgy1; -// s32 bgx2; -// s32 bgy2; -// s16 dialogheight; -// char *title; -// u32 colour4; -// u32 colour5; -// f32 sp170; -// -// bgx1 = dialog->x; -// bgy1 = dialog->y; -// bgx2 = dialog->x + dialog->width; -// bgy2 = dialog->y + dialog->height; -// -//#if VERSION >= VERSION_NTSC_1_0 -// if ((g_Vars.coopplayernum >= 0 || g_Vars.antiplayernum >= 0) -// && menuGetRoot() == MENUROOT_MPENDSCREEN -// && !var8009dfc0) { -// return gdl; -// } -//#endif -// -// colour1 = MIXCOLOUR(dialog, unk28); -// -// text0f156030(colour1); -// -// var8007fb9c = 0; -// -// if (g_Menus[g_MpPlayerNum].curdialog == dialog -// && (dialog->definition->flags & MENUDIALOGFLAG_0002) -// && !lightweight -// && g_Menus[g_MpPlayerNum].unk840.unk5b1_07 == 1) { -// gSPSetGeometryMode(gdl++, G_ZBUFFER); -// gdl = menuRenderModels(gdl, &g_Menus[g_MpPlayerNum].unk840, 2); -// gSPClearGeometryMode(gdl++, G_ZBUFFER); -// } -// -// dialogwidth = dialog->width; -// dialogheight = dialog->height; -// -// if (dialog->state == MENUDIALOGSTATE_PREOPEN) { -//#if VERSION >= VERSION_NTSC_1_0 -// if (dialog->definition == &g_MpReadyMenuDialog) { -// return gdl; -// } -//#endif -// -// sp170 = 1.0f - g_MenuData.unk010; -// -//#if VERSION >= VERSION_NTSC_1_0 -// if ((g_Vars.coopplayernum >= 0 || g_Vars.antiplayernum >= 0) && menuGetRoot() == MENUROOT_MPENDSCREEN) { -// sp170 = 1.0f - dialog->statefrac; -// } -//#endif -// -// sp170 = 1.0f - sp170 * sp170; -// dialogheight *= sp170; -// bgy2 = dialog->y + dialogheight; -// } -// -// dialogleft = dialog->x; -// dialogtop = dialog->y; -// dialogbottom = dialogtop + dialogheight; -// -// title = menuResolveDialogTitle(dialog->definition); -// -// colour1 = MIXCOLOUR(dialog, unk00); -// colour2 = MIXCOLOUR(dialog, unk04); -// colour3 = MIXCOLOUR(dialog, unk08); -// -// gSPClearGeometryMode(gdl++, G_ZBUFFER); -// -// colour4 = colour1; -// colour5 = colour3; -// -// if ((colour4 & 0xff) > 0x3f) { -// colour4 = (colour4 & 0xffffff00) | 0x3f; -// } -// -// if ((colour5 & 0xff) > 0x3f) { -// colour5 = (colour5 & 0xffffff00) | 0x3f; -// } -// -// var8009de90 = -1000; -// var8009de94 = 1000; -// -// if (dialog->definition->flags & MENUDIALOGFLAG_DISABLETITLEBAR) { -// bgy1 += 11; -// } -// -// // Render the walls/floor/ceiling coming from the projection source. -// // Each surface is rendered a second time with the colours swapped. -// // The order is top, right, bottom, left. -// if (g_MenuData.root != MENUROOT_MPSETUP && (g_MenuData.root != MENUROOT_MPPAUSE || g_Vars.normmplayerisrunning)) { -// var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy1, bgx2, bgy1, colour4, colour5, 0); -// var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy1, bgx2, bgy2, colour5, colour4, 0); -// var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy2, bgx1, bgy2, colour4, colour5, 0); -// var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy2, bgx1, bgy1, colour5, colour4, 0); -// var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy1, bgx2, bgy1, colour5, colour4, 1); -// var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy1, bgx2, bgy2, colour4, colour5, 1); -// var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy2, bgx1, bgy2, colour5, colour4, 1); -// var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy2, bgx1, bgy1, colour4, colour5, 1); -// } -// -// // Render the title bar -// if ((dialog->definition->flags & MENUDIALOGFLAG_DISABLETITLEBAR) == 0) { -// if (((g_MenuData.root == MENUROOT_MPSETUP) || (g_MenuData.root == MENUROOT_4MBMAINMENU)) -// && (g_MpSetup.options & MPOPTION_TEAMSENABLED) -// && g_Vars.mpsetupmenu != MPSETUPMENU_GENERAL) { -// menuGetTeamTitlebarColours(&colour1, &colour2, &colour3); -// } -// -// gdl = menugfxRenderGradient(gdl, dialogleft - 2, dialogtop, dialogleft + dialogwidth + 2, dialogtop + 11, colour1, colour2, colour3); -// gdl = menugfxDrawShimmer(gdl, dialogleft - 2, dialogtop, dialogleft + dialogwidth + 2, dialogtop + 1, (colour1 & 0xff) >> 1, 1, 40, 0); -// gdl = menugfxDrawShimmer(gdl, dialogleft - 2, dialogtop + 10, dialogleft + dialogwidth + 2, dialogtop + 11, (colour1 & 0xff) >> 1, 0, 40, 1); -// -// x = dialogleft + 2; -// y = dialogtop + 2; -// -// gdl = text0f153628(gdl); -// -// context.unk18 = false; -// -// if (lightweight) { -// context.unk18 = true; -// } -// -// { -// char *sp154[] = { -// "1\n", -// "2\n", -// "3\n", -// "4\n", -// }; -// -// u32 stack; -// -// colour1 = MIXCOLOUR(dialog, unk0c); -// -// textSetWaveColours(g_MenuColourPalettes3[dialog->type].unk0c, g_MenuColourPalettes2[dialog->type].unk0c); -// -// // Title shadow -// x = dialogleft + 3; -// y = dialogtop + 3; -// -// gdl = textRenderProjected(gdl, &x, &y, title, g_CharsHandelGothicSm, g_FontHandelGothicSm, colour1 & 0xff, dialogwidth, viGetHeight(), 0, 0); -// -// // Title proper -// x = dialogleft + 2; -// y = dialogtop + 2; -// -// gdl = textRenderProjected(gdl, &x, &y, title, g_CharsHandelGothicSm, g_FontHandelGothicSm, colour1, dialogwidth, viGetHeight(), 0, 0); -// -// // In MP dialogs, render the player number in the top right -// if (g_MenuData.root == MENUROOT_MPSETUP -// || g_MenuData.root == MENUROOT_MPPAUSE -// || g_MenuData.root == MENUROOT_MPENDSCREEN -// || g_MenuData.root == MENUROOT_4MBMAINMENU) { -// x = dialogleft + dialogwidth - 9; -// y = dialogtop + 2; -// -// gdl = textRenderProjected(gdl, &x, &y, sp154[g_MpPlayerNum], g_CharsHandelGothicSm, g_FontHandelGothicSm, colour1, dialogwidth, viGetHeight(), 0, 0); -// } -// } -// -// gdl = text0f153780(gdl); -// } -// -// // Configure things for the redraw effect -// if (!(dialog->redrawtimer < 0.0f)) { -// if (g_MenuData.root != MENUROOT_MPPAUSE) { -// if (dialog->state >= MENUDIALOGSTATE_POPULATED) { -// textSetDiagonalBlend(dialog->x, dialog->y, dialog->redrawtimer, DIAGMODE_REDRAW); -// } else { -// textSetDiagonalBlend(dialog->x, dialog->y, dialog->redrawtimer, DIAGMODE_FADEIN); -// } -// -// var8007fb9c = 1; -// } -// } else if (dialog->state == MENUDIALOGSTATE_POPULATED) { -// textSetMenuBlend(dialog->statefrac); -// } -// -// if (dialogbottom < dialogtop + 11) { -// dialogbottom = dialogtop + 11; -// } -// -// colour1 = MIXCOLOUR(dialog, unk10); -// -// if (dialog->dimmed) { -// colour1 = (colourBlend(colour1, 0x00000000, 44) & 0xffffff00) | (colour1 & 0xff); -// } -// -// colour2 = MIXCOLOUR(dialog, unk14); -// -// // Draw the dialog's background and outer borders -// if (!lightweight) { -// if (dialog->state == MENUDIALOGSTATE_OPENING) { -// gdl = menugfxRenderDialogBackground(gdl, dialogleft + 1, dialogtop + 11, dialogleft + dialogwidth - 1, dialogbottom, dialog, colour1, colour2, 1.0f); -// } else if (dialog->state == MENUDIALOGSTATE_POPULATING) { -// gdl = menugfxRenderDialogBackground(gdl, dialogleft + 1, dialogtop + 11, dialogleft + dialogwidth - 1, dialogbottom, dialog, colour1, colour2, dialog->statefrac); -// } else { -// gdl = menugfxRenderDialogBackground(gdl, dialogleft + 1, dialogtop + 11, dialogleft + dialogwidth - 1, dialogbottom, dialog, colour1, colour2, -1.0f); -// } -// -// // No dialog has this flag, so this branch is unused -// if (dialog->definition->flags & MENUDIALOGFLAG_DISABLETITLEBAR) { -// gdl = menugfxDrawDialogBorderLine(gdl, dialogleft + 1, dialogtop + 11, dialogleft + dialogwidth - 1, dialogtop + 12, MIXCOLOUR(dialog, unk00), MIXCOLOUR(dialog, unk08)); -// } -// } -// -// if (dialog->state == MENUDIALOGSTATE_PREOPEN) { -// return gdl; -// } -// -// { -// struct menulayer *layer; -// s32 viewleft = viGetViewLeft() / g_ScaleX; -// s32 viewtop = viGetViewTop(); -// s32 viewright = (viGetViewLeft() + viGetViewWidth()) / g_ScaleX; -// s32 viewbottom = viGetViewTop() + viGetViewHeight(); -// -// // Goal loads the address of g_MenuScissorX2 for the store then loads it -// // again for the load for the subsequent if statement. If we use one -// // variable for this then it reuses the register instead of loading it -// // again. To make this match, a second variable has been configured in -// // the linker map with the same address as g_MenuScissorX2. This forces -// // the compiler to do the second load. It's obviously not correct though. -// extern s32 g_MenuScissorX2_2; -// -// g_MenuScissorX1 = dialogleft + 2; -// g_MenuScissorX2_2 = dialogleft + dialogwidth - 2; -// g_MenuScissorY1 = dialogtop + 11; -// g_MenuScissorY2 = dialogbottom - 1; -// -// if (g_MenuScissorX2 < viewleft) { -// return gdl; -// } -// -// if (g_MenuScissorY2 < viewtop) { -// return gdl; -// } -// -// if (g_MenuScissorX1 > viewright) { -// return gdl; -// } -// -// if (g_MenuScissorY1 > viewbottom) { -// return gdl; -// } -// -// if (g_MenuScissorX2 > viewright) { -// g_MenuScissorX2 = viewright; -// } -// -// if (g_MenuScissorY2 > viewbottom) { -// g_MenuScissorY2 = viewbottom; -// } -// -// if (g_MenuScissorX1 < viewleft) { -// g_MenuScissorX1 = viewleft; -// } -// -// // @bug: This should be g_MenuScissorY1 -// // but the condition can't pass anyway. -// if (g_MenuScissorX2 < viewtop) { -// g_MenuScissorX2 = viewtop; -// } -// -// var8009de90 = g_MenuScissorY1; -// var8009de94 = g_MenuScissorY2; -// -// gdl = menuApplyScissor(gdl); -// -// // Render models (inventory, chr/vehicle bios) -// if (g_Menus[g_MpPlayerNum].curdialog == dialog -// && (dialog->definition->flags & MENUDIALOGFLAG_0002) -// && !lightweight -// && !g_Menus[g_MpPlayerNum].unk840.unk5b1_07) { -// gSPSetGeometryMode(gdl++, G_ZBUFFER); -// -// gdl = menuRenderModels(gdl, &g_Menus[g_MpPlayerNum].unk840, 0); -// -// gSPClearGeometryMode(gdl++, G_ZBUFFER); -// -// viSetViewPosition(g_Vars.currentplayer->viewleft, g_Vars.currentplayer->viewtop); -// viSetFovAspectAndSize(g_Vars.currentplayer->fovy, g_Vars.currentplayer->aspect, -// g_Vars.currentplayer->viewwidth, g_Vars.currentplayer->viewheight); -// } -// -// // Render menu items -// if (dialog->type != 0 || dialog->transitionfrac >= 0.0f) { -// s32 sumwidth; // 130 -// s32 cury; // 12c -// bool prevwaslist; // 128 -// s32 colwidth; // 124 -// u32 sp120; // 120 -// bool offscreen; -// struct menuitem *item; // 118 -// s32 focused; // 114 -// s32 colindex; -// s32 rowindex; -// -// sumwidth = 0; -// curx = dialogleft; -// -// for (i = 0; i < dialog->numcols; i++) { -// cury = dialogtop + 12 + dialog->scroll; -// prevwaslist = false; -// -// sp120 = MIXCOLOUR(dialog, unfocused); -// sp120 = (sp120 & 0xffffff00) | 0x3f; -// -// colindex = dialog->colstart + i; -// -// if (i != 0 && (dialog->definition->flags & MENUDIALOGFLAG_0400) == 0) { -// gdl = menugfxDrawFilledRect(gdl, curx - 1, dialogtop + 12, curx, dialogbottom, sp120, sp120); -// } -// -// colwidth = menu->cols[colindex].width; -// sumwidth += colwidth; -// -// if (i == dialog->numcols - 1) { -// s32 v0 = (dialogleft + dialogwidth - dialogleft) - 2; -// -// if (sumwidth < v0) { -// colwidth = (colwidth + v0) - sumwidth; -// } -// } -// -// for (j = 0; j < menu->cols[colindex].numrows; j++) { -// focused = 0; -// rowindex = menu->cols[colindex].rowstart + j; -// item = &dialog->definition->items[menu->rows[rowindex].itemindex]; -// itemdata = NULL; -// offscreen = false; -// -// if (item == dialog->focuseditem) { -// focused = 1; -// -// if (dialog->dimmed) { -// focused = 3; -// } -// } -// -// if (menu->rows[rowindex].blockindex != -1) { -// itemdata = (union menuitemdata *)&menu->blocks[menu->rows[rowindex].blockindex]; -// } -// -// context.x = curx; -// context.y = cury; -// context.width = colwidth; -// context.height = menu->rows[rowindex].height; -// -// if (context.y + context.height < dialogtop + 12) { -// offscreen = true; -// } -// -// if (context.y > dialogbottom) { -// offscreen = true; -// } -// -// if (context.height == 0) { -// offscreen = true; -// } -// -// if (!offscreen) { -// context.item = item; -// context.data = itemdata; -// context.focused = focused; -// context.dialog = dialog; -// -// if (prevwaslist) { -// gdl = menugfxDrawFilledRect(gdl, context.x, context.y - 1, context.x + context.width, context.y, sp120, sp120); -// prevwaslist = false; -// } -// -// if ((item->flags & MENUITEMFLAG_00004000) && !lightweight) { -// // Render a darker background behind the item -// s32 x1 = context.x; -// s32 y1 = context.y; -// s32 x2 = x1 + context.width; -// s32 y2 = y1 + context.height; -// u32 colour; -// u32 colour2; -// -// colour2 = MIXCOLOUR(dialog, unk28); -// colour = colourBlend(colour2, colour2 & 0xffffff00, 127); -// -// gdl = textSetPrimColour(gdl, colour); -// gDPFillRectangleScaled(gdl++, x1, y1, x2, y2); -// gdl = text0f153838(gdl); -// } -// -// if (focused) { -// if (item->type == MENUITEMTYPE_03 -// || item->type == MENUITEMTYPE_SELECTABLE -// || item->type == MENUITEMTYPE_CHECKBOX -// || item->type == MENUITEMTYPE_0A -// || item->type == MENUITEMTYPE_SLIDER -// || item->type == MENUITEMTYPE_DROPDOWN) { -//#if VERSION >= VERSION_NTSC_1_0 -// if (!(dialog->transitionfrac >= 0.0f && dialog->type2 == 0) -// && !(dialog->transitionfrac < 0.0f && dialog->type == 0)) { -// text0f156024(1); -// } -//#else -// text0f156024(1); -//#endif -// } -// -// // Render the horizontal line behind the focused item -// if (item->type == MENUITEMTYPE_SELECTABLE -// || item->type == MENUITEMTYPE_CHECKBOX -// || item->type == MENUITEMTYPE_0A -// || item->type == MENUITEMTYPE_DROPDOWN) { -// s32 liney = context.y + context.height / 2 - 1; -// s32 x1 = context.x; -// s32 x3 = context.x + 8; -// s32 x4 = context.x + context.width / 3; -// -// // Left side -// gdl = menugfx0f0e2498(gdl); -// gdl = menugfxDrawTri2(gdl, x1, liney - 1, x3 - 3, liney, sp120, sp120, 0); -// gdl = menugfxDrawTri2(gdl, x3 - 3, liney - 1, x3, liney, sp120, 0xffffffff, 0); -// gdl = menugfxDrawTri2(gdl, x1, liney + 1, x3 - 3, liney + 2, sp120, sp120, 0); -// gdl = menugfxDrawTri2(gdl, x3 - 3, liney + 1, x3, liney + 2, sp120, 0xffffffff, 0); -// gdl = menugfxDrawTri2(gdl, x3 - 2, liney, x4, liney + 1, (sp120 & 0xffffff00) | 0x2f, sp120 & 0xffffff00, 0); -// -// if (item->flags & MENUITEMFLAG_00000020) { -// // Right side -// x1 = context.x + context.width; -// x3 = context.x + context.width - 8; -// x4 = context.x + context.width - context.width / 3; -// -// gdl = menugfxDrawTri2(gdl, x1 - 5, liney - 1, x1, liney, sp120, sp120, 0); -// gdl = menugfxDrawTri2(gdl, x3, liney - 1, x3 + 3, liney, -1, sp120, 0); -// gdl = menugfxDrawTri2(gdl, x3 + 3, liney + 1, x1, liney + 2, sp120, sp120, 0); -// gdl = menugfxDrawTri2(gdl, x3, liney + 1, x3 + 3, liney + 2, -1, sp120, 0); -// gdl = menugfxDrawTri2(gdl, x4, liney, x3 + 2, liney + 1, sp120 & 0xffffff00, (sp120 & 0xffffff00) | 0x2f, 0); -// } -// } -// } -// -// gdl = menuitemRender(gdl, &context); -// -// if (item->type == MENUITEMTYPE_LIST) { -// prevwaslist = true; -// } -// -// if (focused) { -// text0f156024(0); -// } -// } -// -// cury += menu->rows[rowindex].height; -// } -// -// curx += menu->cols[colindex].width; -// } -// -// // Render overlays, such as dropdown menus -// if (!lightweight) { -// gdl = textSetPrimColour(gdl, 0x00000000); -// -// curx = dialogleft; -// -// for (i = 0; i < dialog->numcols; i++) { -// s32 cury = dialogtop + 12 + dialog->scroll; -// colindex = dialog->colstart + i; -// -// for (j = 0; j < menu->cols[colindex].numrows; j++) { -// union menuitemdata *itemdata; -// struct menuitem *item; -// -// rowindex = menu->cols[colindex].rowstart + j; -// itemdata = NULL; -// item = &dialog->definition->items[menu->rows[rowindex].itemindex]; -// -// if (menu->rows[rowindex].blockindex != -1) { -// itemdata = (union menuitemdata *)&menu->blocks[menu->rows[rowindex].blockindex]; -// } -// -// gdl = menuitemOverlay(gdl, curx, cury, menu->cols[colindex].width, menu->rows[rowindex].height, item, dialog, itemdata); -// -// cury += menu->rows[rowindex].height; -// } -// -// curx += menu->cols[colindex].width; -// } -// -// gdl = text0f153838(gdl); -// } -// -// gDPSetScissor(gdl++, G_SC_NON_INTERLACE, viGetViewLeft(), viGetViewTop(), -// viGetViewLeft() + viGetViewWidth(), viGetViewTop() + viGetViewHeight()); -// } else { -// gDPSetScissor(gdl++, G_SC_NON_INTERLACE, viGetViewLeft(), viGetViewTop(), -// viGetViewLeft() + viGetViewWidth(), viGetViewTop() + viGetViewHeight()); -// } -// -// // Render left/right chevrons and sibling dialog titles -// layer = &g_Menus[g_MpPlayerNum].layers[g_Menus[g_MpPlayerNum].depth - 1]; -// -// if ((dialog->type != 0 || dialog->transitionfrac >= 0.0f) -// && layer->siblings[layer->cursibling] == dialog -// && (layer->numsiblings >= 2)) { -// // Draw chevrons -// u32 colour1; -// u32 colour; -// u32 weight = func0f006b08(10) * 255.0f; -// -// colour1 = MIXCOLOUR(dialog, unk00); -// colour = colourBlend(0xffffffff, colour1, weight); -// -// gdl = menugfxDrawDialogChevron(gdl, dialogleft - 5, (dialogtop + dialogbottom) / 2, 9, 1, colour, colour, func0f006b08(20)); -// gdl = menugfxDrawDialogChevron(gdl, dialogleft + dialogwidth + 5, (dialogtop + dialogbottom) / 2, 9, 3, colour, colour, func0f006b08(20)); -// -// if (g_MenuData.root == MENUROOT_MAINMENU -// || g_MenuData.root == MENUROOT_4MBFILEMGR -// || g_MenuData.root == MENUROOT_TRAINING -// || g_MenuData.root == MENUROOT_FILEMGR) { -// s32 previndex; -// s32 nextindex; -// s32 textheight; // b0 -// s32 textwidth; // ac -// char *title; -// -// textResetBlends(); -// textSetRotation90(true); -// -// gdl = text0f153628(gdl); -// -// // Left/previous title -// previndex = layer->cursibling - 1; -// -// if (previndex < 0) { -// previndex = layer->numsiblings - 1; -// } -// -// title = menuResolveDialogTitle(layer->siblings[previndex]->definition); -// -// textMeasure(&textheight, &textwidth, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0); -// -// x = dialogleft - 1; -// y = (dialogtop + dialogbottom) / 2 - textwidth - 3; -// -// if (y < dialogtop) { -// y = (dialogtop + dialogbottom - textwidth) / 2; -// x -= 3; -// } -// -// gdl = textRenderProjected(gdl, &y, &x, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0xffffffff, dialogwidth, viGetHeight(), 0, 0); -// -// // Right/next title -// nextindex = layer->cursibling + 1; -// -// if (nextindex >= layer->numsiblings) { -// nextindex = 0; -// } -// -// title = menuResolveDialogTitle(layer->siblings[nextindex]->definition); -// -// textMeasure(&textheight, &textwidth, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0); -// -// x = dialogleft + dialogwidth + 7; -// y = (dialogtop + dialogbottom) / 2 + 3; -// -// if (y + textwidth > dialogbottom) { -// y = (dialogtop + dialogbottom - textwidth) / 2; -// x += 3; -// } -// -// gdl = textRenderProjected(gdl, &y, &x, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, -1, dialogwidth, viGetHeight(), 0, 0); -// gdl = text0f153780(gdl); -// -// textSetRotation90(false); -// } -// } -// } -// -// return gdl; -//} +Gfx *dialogRender(Gfx *gdl, struct menudialog *dialog, struct menu *menu, bool lightweight) +{ + s32 i; + s32 dialogleft; + s32 dialogtop; + s32 dialogright; + s32 dialogbottom; + s32 x; + s32 y; + s16 dialogwidth; + union menuitemdata *itemdata; + s32 j; + u32 colour1; + u32 colour2; + u32 colour3; + struct menurendercontext context; + s32 curx; + s32 bgx1; + s32 bgy1; + s32 bgx2; + s32 bgy2; + s16 dialogheight; + char *title; + u32 colour4; + u32 colour5; + f32 sp170; + + bgx1 = dialog->x; + bgy1 = dialog->y; + bgx2 = dialog->x + dialog->width; + bgy2 = dialog->y + dialog->height; + +#if VERSION >= VERSION_NTSC_1_0 + if ((g_Vars.coopplayernum >= 0 || g_Vars.antiplayernum >= 0) + && menuGetRoot() == MENUROOT_MPENDSCREEN + && !var8009dfc0) { + return gdl; + } +#endif + + colour1 = MIXCOLOUR(dialog, unk28); + + text0f156030(colour1); + + var8007fb9c = false; + + if (g_Menus[g_MpPlayerNum].curdialog == dialog + && (dialog->definition->flags & MENUDIALOGFLAG_0002) + && !lightweight + && g_Menus[g_MpPlayerNum].unk840.unk5b1_07 == 1) { + gSPSetGeometryMode(gdl++, G_ZBUFFER); + gdl = menuRenderModels(gdl, &g_Menus[g_MpPlayerNum].unk840, 2); + gSPClearGeometryMode(gdl++, G_ZBUFFER); + } + + dialogwidth = dialog->width; + dialogheight = dialog->height; + + if (dialog->state == MENUDIALOGSTATE_PREOPEN) { +#if VERSION >= VERSION_NTSC_1_0 + if (dialog->definition == &g_MpReadyMenuDialog) { + return gdl; + } +#endif + + sp170 = 1.0f - g_MenuData.unk010; + +#if VERSION >= VERSION_NTSC_1_0 + if ((g_Vars.coopplayernum >= 0 || g_Vars.antiplayernum >= 0) && menuGetRoot() == MENUROOT_MPENDSCREEN) { + sp170 = 1.0f - dialog->statefrac; + } +#endif + + sp170 = 1.0f - sp170 * sp170; + dialogheight *= sp170; + bgy2 = dialog->y + dialogheight; + } + + dialogleft = dialog->x; + dialogtop = dialog->y; + dialogright = dialogleft + dialogwidth; + dialogbottom = dialogtop + dialogheight; + + title = menuResolveDialogTitle(dialog->definition); + + colour1 = MIXCOLOUR(dialog, unk00); + colour2 = MIXCOLOUR(dialog, unk04); + colour3 = MIXCOLOUR(dialog, unk08); + + gSPClearGeometryMode(gdl++, G_ZBUFFER); + + colour4 = colour1; + colour5 = colour3; + + if ((colour4 & 0xff) > 0x3f) { + colour4 = (colour4 & 0xffffff00) | 0x3f; + } + + if ((colour5 & 0xff) > 0x3f) { + colour5 = (colour5 & 0xffffff00) | 0x3f; + } + + var8009de90 = -1000; + var8009de94 = 1000; + + if (dialog->definition->flags & MENUDIALOGFLAG_DISABLETITLEBAR) { + bgy1 += LINEHEIGHT; + } + + // Render the walls/floor/ceiling coming from the projection source. + // Each surface is rendered a second time with the colours swapped. + // The order is top, right, bottom, left. + if (g_MenuData.root != MENUROOT_MPSETUP && (g_MenuData.root != MENUROOT_MPPAUSE || g_Vars.normmplayerisrunning)) { + var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy1, bgx2, bgy1, colour4, colour5, 0); + var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy1, bgx2, bgy2, colour5, colour4, 0); + var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy2, bgx1, bgy2, colour4, colour5, 0); + var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy2, bgx1, bgy1, colour5, colour4, 0); + var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy1, bgx2, bgy1, colour5, colour4, 1); + var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy1, bgx2, bgy2, colour4, colour5, 1); + var800a4634 = func0f0d4d0c(var800a4634, bgx2, bgy2, bgx1, bgy2, colour5, colour4, 1); + var800a4634 = func0f0d4d0c(var800a4634, bgx1, bgy2, bgx1, bgy1, colour4, colour5, 1); + } + + // Render the title bar + if ((dialog->definition->flags & MENUDIALOGFLAG_DISABLETITLEBAR) == 0) { + if (((g_MenuData.root == MENUROOT_MPSETUP) || (g_MenuData.root == MENUROOT_4MBMAINMENU)) + && (g_MpSetup.options & MPOPTION_TEAMSENABLED) + && g_Vars.mpsetupmenu != MPSETUPMENU_GENERAL) { + menuGetTeamTitlebarColours(&colour1, &colour2, &colour3); + } + + gdl = menugfxRenderGradient(gdl, dialogleft - 2, dialogtop, dialogright + 2, dialogtop + LINEHEIGHT, colour1, colour2, colour3); + gdl = menugfxDrawShimmer(gdl, dialogleft - 2, dialogtop, dialogright + 2, dialogtop + 1, (colour1 & 0xff) >> 1, 1, 40, 0); + gdl = menugfxDrawShimmer(gdl, dialogleft - 2, dialogtop + 10, dialogright + 2, dialogtop + LINEHEIGHT, (colour1 & 0xff) >> 1, 0, 40, 1); + + x = dialogleft + 2; + y = dialogtop + 2; + + gdl = text0f153628(gdl); + + context.unk18 = false; + + if (lightweight) { + context.unk18 = true; + } + + { + char *sp154[] = { + "1\n", + "2\n", + "3\n", + "4\n", + }; + + colour1 = MIXCOLOUR(dialog, unk0c); + + textSetWaveColours(g_MenuColourPalettes3[dialog->type].unk0c, g_MenuColourPalettes2[dialog->type].unk0c); + + // Title shadow + x = dialogleft + 3; + y = dialogtop + 3; + + gdl = textRenderProjected(gdl, &x, &y, title, g_CharsHandelGothicSm, g_FontHandelGothicSm, colour1 & 0xff, dialogwidth, viGetHeight(), 0, 0); + + // Title proper + x = dialogleft + 2; + y = dialogtop + 2; + + gdl = textRenderProjected(gdl, &x, &y, title, g_CharsHandelGothicSm, g_FontHandelGothicSm, colour1, dialogwidth, viGetHeight(), 0, 0); + + // In MP dialogs, render the player number in the top right + if (g_MenuData.root == MENUROOT_MPSETUP + || g_MenuData.root == MENUROOT_MPPAUSE + || g_MenuData.root == MENUROOT_MPENDSCREEN + || g_MenuData.root == MENUROOT_4MBMAINMENU) { + x = dialogright - 9; + y = dialogtop + 2; + + gdl = textRenderProjected(gdl, &x, &y, sp154[g_MpPlayerNum], g_CharsHandelGothicSm, g_FontHandelGothicSm, colour1, dialogwidth, viGetHeight(), 0, 0); + } + } + + gdl = text0f153780(gdl); + } + + // Configure things for the redraw effect + if (!(dialog->redrawtimer < 0.0f)) { + if (g_MenuData.root != MENUROOT_MPPAUSE) { + if (dialog->state >= MENUDIALOGSTATE_POPULATED) { + textSetDiagonalBlend(dialog->x, dialog->y, dialog->redrawtimer, DIAGMODE_REDRAW); + } else { + textSetDiagonalBlend(dialog->x, dialog->y, dialog->redrawtimer, DIAGMODE_FADEIN); + } + + var8007fb9c = true; + } + } else if (dialog->state == MENUDIALOGSTATE_POPULATED) { + textSetMenuBlend(dialog->statefrac); + } + + if (dialogbottom < dialogtop + LINEHEIGHT) { + dialogbottom = dialogtop + LINEHEIGHT; + } + + colour1 = MIXCOLOUR(dialog, unk10); + + if (dialog->dimmed) { + colour1 = (colourBlend(colour1, 0x00000000, 44) & 0xffffff00) | (colour1 & 0xff); + } + + colour2 = MIXCOLOUR(dialog, unk14); + + // Draw the dialog's background and outer borders + if (!lightweight) { + if (dialog->state == MENUDIALOGSTATE_OPENING) { + gdl = menugfxRenderDialogBackground(gdl, dialogleft + 1, dialogtop + LINEHEIGHT, dialogright - 1, dialogbottom, dialog, colour1, colour2, 1.0f); + } else if (dialog->state == MENUDIALOGSTATE_POPULATING) { + gdl = menugfxRenderDialogBackground(gdl, dialogleft + 1, dialogtop + LINEHEIGHT, dialogright - 1, dialogbottom, dialog, colour1, colour2, dialog->statefrac); + } else { + gdl = menugfxRenderDialogBackground(gdl, dialogleft + 1, dialogtop + LINEHEIGHT, dialogright - 1, dialogbottom, dialog, colour1, colour2, -1.0f); + } + + // No dialog has this flag, so this branch is unused + if (dialog->definition->flags & MENUDIALOGFLAG_DISABLETITLEBAR) { + gdl = menugfxDrawDialogBorderLine(gdl, dialogleft + 1, dialogtop + LINEHEIGHT, dialogright - 1, dialogtop + LINEHEIGHT + 1, MIXCOLOUR(dialog, unk00), MIXCOLOUR(dialog, unk08)); + } + } + + if (dialog->state == MENUDIALOGSTATE_PREOPEN) { + return gdl; + } + + { + struct menulayer *layer; + s32 viewleft = viGetViewLeft() / g_ScaleX; + s32 viewtop = viGetViewTop(); + s32 viewright = (viGetViewLeft() + viGetViewWidth()) / g_ScaleX; + s32 viewbottom = viGetViewTop() + viGetViewHeight(); + + g_MenuScissorX1 = dialogleft + 2; + g_MenuScissorX2 = dialogright - 2; + g_MenuScissorY1 = dialogtop + LINEHEIGHT; + g_MenuScissorY2 = dialogbottom - 1; + + if (g_MenuScissorX2 < viewleft) { + return gdl; + } + + if (g_MenuScissorY2 < viewtop) { + return gdl; + } + + if (g_MenuScissorX1 > viewright) { + return gdl; + } + + if (g_MenuScissorY1 > viewbottom) { + return gdl; + } + + if (g_MenuScissorX2 > viewright) { + g_MenuScissorX2 = viewright; + } + + if (g_MenuScissorY2 > viewbottom) { + g_MenuScissorY2 = viewbottom; + } + + if (g_MenuScissorX1 < viewleft) { + g_MenuScissorX1 = viewleft; + } + + // @bug: This should be g_MenuScissorY1 + // but the condition can't pass anyway. + if (g_MenuScissorX2 < viewtop) { + g_MenuScissorX2 = viewtop; + } + + var8009de90 = g_MenuScissorY1; + var8009de94 = g_MenuScissorY2; + + gdl = menuApplyScissor(gdl); + + // Render models (inventory, chr/vehicle bios) + if (g_Menus[g_MpPlayerNum].curdialog == dialog + && (dialog->definition->flags & MENUDIALOGFLAG_0002) + && !lightweight + && !g_Menus[g_MpPlayerNum].unk840.unk5b1_07) { + gSPSetGeometryMode(gdl++, G_ZBUFFER); + + gdl = menuRenderModels(gdl, &g_Menus[g_MpPlayerNum].unk840, 0); + + gSPClearGeometryMode(gdl++, G_ZBUFFER); + + viSetViewPosition(g_Vars.currentplayer->viewleft, g_Vars.currentplayer->viewtop); + viSetFovAspectAndSize(g_Vars.currentplayer->fovy, g_Vars.currentplayer->aspect, + g_Vars.currentplayer->viewwidth, g_Vars.currentplayer->viewheight); + } + + // Render menu items + if (dialog->type != 0 || dialog->transitionfrac >= 0.0f) { + u32 stack; + s32 sumwidth; + s32 cury; + bool prevwaslist; + s32 colwidth; + u32 sp120; + bool offscreen; + struct menuitem *item; + s32 focused; + s32 colindex; + s32 rowindex; + + sumwidth = 0; + curx = dialogleft; + + for (i = 0; i < dialog->numcols; i++) { + cury = dialogtop + LINEHEIGHT + 1 + dialog->scroll; + prevwaslist = false; + + sp120 = MIXCOLOUR(dialog, unfocused); + sp120 = (sp120 & 0xffffff00) | 0x3f; + + colindex = dialog->colstart + i; + + if (i != 0 && (dialog->definition->flags & MENUDIALOGFLAG_0400) == 0) { + gdl = menugfxDrawFilledRect(gdl, curx - 1, dialogtop + LINEHEIGHT + 1, curx, dialogbottom, sp120, sp120); + } + + colwidth = menu->cols[colindex].width; + sumwidth += colwidth; + + if (i == dialog->numcols - 1) { + s32 v0 = (dialogright - dialogleft) - 2; + + if (sumwidth < v0) { + colwidth = (colwidth + v0) - sumwidth; + } + } + + for (j = 0; j < menu->cols[colindex].numrows; j++) { + focused = 0; + rowindex = menu->cols[colindex].rowstart + j; + item = &dialog->definition->items[menu->rows[rowindex].itemindex]; + itemdata = NULL; + offscreen = false; + + if (item == dialog->focuseditem) { + focused = 1; + + if (dialog->dimmed) { + focused = 3; + } + } + + if (menu->rows[rowindex].blockindex != -1) { + itemdata = (union menuitemdata *)&menu->blocks[menu->rows[rowindex].blockindex]; + } + + context.x = curx; + context.y = cury; + context.width = colwidth; + context.height = menu->rows[rowindex].height; + + if (context.y + context.height < dialogtop + LINEHEIGHT + 1) { + offscreen = true; + } + + if (context.y > dialogbottom) { + offscreen = true; + } + + if (context.height == 0) { + offscreen = true; + } + + if (!offscreen) { + context.item = item; + context.data = itemdata; + context.focused = focused; + context.dialog = dialog; + + if (prevwaslist) { + gdl = menugfxDrawFilledRect(gdl, context.x, context.y - 1, context.x + context.width, context.y, sp120, sp120); + prevwaslist = false; + } + + if ((item->flags & MENUITEMFLAG_00004000) && !lightweight) { + // Render a darker background behind the item + s32 x1 = context.x; + s32 y1 = context.y; + s32 x2 = x1 + context.width; + s32 y2 = y1 + context.height; + u32 colour; + u32 colour2; + + colour2 = MIXCOLOUR(dialog, unk28); + colour = colourBlend(colour2, colour2 & 0xffffff00, 127); + + gdl = textSetPrimColour(gdl, colour); + gDPFillRectangleScaled(gdl++, x1, y1, x2, y2); + gdl = text0f153838(gdl); + } + + if (focused) { + if (item->type == MENUITEMTYPE_03 + || item->type == MENUITEMTYPE_SELECTABLE + || item->type == MENUITEMTYPE_CHECKBOX + || item->type == MENUITEMTYPE_0A + || item->type == MENUITEMTYPE_SLIDER + || item->type == MENUITEMTYPE_DROPDOWN) { +#if VERSION >= VERSION_NTSC_1_0 + if (!(dialog->transitionfrac >= 0.0f && dialog->type2 == 0) + && !(dialog->transitionfrac < 0.0f && dialog->type == 0)) { + text0f156024(1); + } +#else + text0f156024(1); +#endif + } + + // Render the horizontal line behind the focused item + if (item->type == MENUITEMTYPE_SELECTABLE + || item->type == MENUITEMTYPE_CHECKBOX + || item->type == MENUITEMTYPE_0A + || item->type == MENUITEMTYPE_DROPDOWN) { + s32 liney = context.y + context.height / 2 - 1; + s32 x1 = context.x; + s32 x3 = context.x + 8; + s32 x4 = context.x + context.width / 3; + u32 colour = (sp120 & 0xffffff00) | 0x2f; + + // Left side + gdl = menugfx0f0e2498(gdl); + gdl = menugfxDrawTri2(gdl, x1, liney - 1, x3 - 3, liney, sp120, sp120, 0); + gdl = menugfxDrawTri2(gdl, x3 - 3, liney - 1, x3, liney, sp120, 0xffffffff, 0); + gdl = menugfxDrawTri2(gdl, x1, liney + 1, x3 - 3, liney + 2, sp120, sp120, 0); + gdl = menugfxDrawTri2(gdl, x3 - 3, liney + 1, x3, liney + 2, sp120, 0xffffffff, 0); + gdl = menugfxDrawTri2(gdl, x3 - 2, liney, x4, liney + 1, colour, sp120 & 0xffffff00, 0); + + if (item->flags & MENUITEMFLAG_00000020) { + // Right side + x1 = context.x + context.width; + x3 = context.x + context.width - 8; + x4 = context.x + context.width - context.width / 3; + + gdl = menugfxDrawTri2(gdl, x1 - 5, liney - 1, x1, liney, sp120, sp120, 0); + gdl = menugfxDrawTri2(gdl, x3, liney - 1, x3 + 3, liney, -1, sp120, 0); + gdl = menugfxDrawTri2(gdl, x3 + 3, liney + 1, x1, liney + 2, sp120, sp120, 0); + gdl = menugfxDrawTri2(gdl, x3, liney + 1, x3 + 3, liney + 2, -1, sp120, 0); + gdl = menugfxDrawTri2(gdl, x4, liney, x3 + 2, liney + 1, sp120 & 0xffffff00, colour, 0); + } + } + } + + gdl = menuitemRender(gdl, &context); + + if (item->type == MENUITEMTYPE_LIST) { + prevwaslist = true; + } + + if (focused) { + text0f156024(0); + } + } + + cury += menu->rows[rowindex].height; + } + + curx += menu->cols[colindex].width; + } + + // Render overlays, such as dropdown menus + if (!lightweight) { + gdl = textSetPrimColour(gdl, 0x00000000); + + curx = dialogleft; + + for (i = 0; i < dialog->numcols; i++) { +#if VERSION >= VERSION_NTSC_1_0 + s32 cury = dialogtop + LINEHEIGHT + 1 + dialog->scroll; +#else + s32 cury = dialogtop + LINEHEIGHT + 1; +#endif + colindex = dialog->colstart + i; + + for (j = 0; j < menu->cols[colindex].numrows; j++) { + union menuitemdata *itemdata; + struct menuitem *item; + + rowindex = menu->cols[colindex].rowstart + j; + itemdata = NULL; + item = &dialog->definition->items[menu->rows[rowindex].itemindex]; + + if (menu->rows[rowindex].blockindex != -1) { + itemdata = (union menuitemdata *)&menu->blocks[menu->rows[rowindex].blockindex]; + } + + gdl = menuitemOverlay(gdl, curx, cury, menu->cols[colindex].width, menu->rows[rowindex].height, item, dialog, itemdata); + + cury += menu->rows[rowindex].height; + } + + curx += menu->cols[colindex].width; + } + + gdl = text0f153838(gdl); + } + + gDPSetScissor(gdl++, G_SC_NON_INTERLACE, viGetViewLeft(), viGetViewTop(), + viGetViewLeft() + viGetViewWidth(), viGetViewTop() + viGetViewHeight()); + } else { + gDPSetScissor(gdl++, G_SC_NON_INTERLACE, viGetViewLeft(), viGetViewTop(), + viGetViewLeft() + viGetViewWidth(), viGetViewTop() + viGetViewHeight()); + } + + // Render left/right chevrons and sibling dialog titles + layer = &g_Menus[g_MpPlayerNum].layers[g_Menus[g_MpPlayerNum].depth - 1]; + + if ((dialog->type != 0 || dialog->transitionfrac >= 0.0f) + && layer->siblings[layer->cursibling] == dialog + && layer->numsiblings >= 2) { + // Draw chevrons + u32 colour1; + u32 colour; + u32 weight = func0f006b08(10) * 255.0f; + + colour1 = MIXCOLOUR(dialog, unk00); + colour = colourBlend(0xffffffff, colour1, weight); + + gdl = menugfxDrawDialogChevron(gdl, dialogleft - 5, (dialogtop + dialogbottom) / 2, 9, 1, colour, colour, func0f006b08(20)); + gdl = menugfxDrawDialogChevron(gdl, dialogright + 5, (dialogtop + dialogbottom) / 2, 9, 3, colour, colour, func0f006b08(20)); + + if (g_MenuData.root == MENUROOT_MAINMENU + || g_MenuData.root == MENUROOT_4MBFILEMGR + || g_MenuData.root == MENUROOT_TRAINING + || g_MenuData.root == MENUROOT_FILEMGR) { + char *title; + s32 textheight; + s32 textwidth; + s32 previndex; + s32 nextindex; + + textResetBlends(); + textSetRotation90(true); + + gdl = text0f153628(gdl); + + // Left/previous title + previndex = layer->cursibling - 1; + + if (previndex < 0) { + previndex = layer->numsiblings - 1; + } + + title = menuResolveDialogTitle(layer->siblings[previndex]->definition); + + textMeasure(&textheight, &textwidth, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0); + + x = dialogleft - 1; + y = (dialogtop + dialogbottom) / 2 - textwidth - 3; + + if (y < dialogtop) { + y = (dialogtop + dialogbottom - textwidth) / 2; + x -= 3; + } + + gdl = textRenderProjected(gdl, &y, &x, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0xffffffff, dialogwidth, viGetHeight(), 0, 0); + + // Right/next title + nextindex = layer->cursibling + 1; + + if (nextindex >= layer->numsiblings) { + nextindex = 0; + } + + title = menuResolveDialogTitle(layer->siblings[nextindex]->definition); + + textMeasure(&textheight, &textwidth, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0); + +#if VERSION == VERSION_JPN_FINAL + x = dialogright + 13; +#else + x = dialogright + 7; +#endif + y = (dialogtop + dialogbottom) / 2 + 3; + + if (y + textwidth > dialogbottom) { + y = (dialogtop + dialogbottom - textwidth) / 2; + x += 3; + } + + gdl = textRenderProjected(gdl, &y, &x, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, -1, dialogwidth, viGetHeight(), 0, 0); + gdl = text0f153780(gdl); + + textSetRotation90(false); + } + } + } + + return gdl; +} const char var7f1b2668[] = "[]-[] Terminate Complete\n"; const char var7f1b2684[] = "Enabling control %d\n"; diff --git a/src/game/menuitem.c b/src/game/menuitem.c index afe3f18ab..a67d1d8c5 100644 --- a/src/game/menuitem.c +++ b/src/game/menuitem.c @@ -7691,7 +7691,7 @@ Gfx *menuitemLabelRender(Gfx *gdl, struct menurendercontext *context) textBackupDiagonalBlendSettings(); textSetDiagonalBlend(x, y, menudfc->unk04 * 300, 0); - var8007fb9c = 1; + var8007fb9c = true; } colour2 = colour1; diff --git a/src/include/data.h b/src/include/data.h index 6a87996d5..8ab8e52a4 100644 --- a/src/include/data.h +++ b/src/include/data.h @@ -437,7 +437,7 @@ extern struct font *g_FontHandelGothicMd; extern struct fontchar *g_CharsHandelGothicMd; extern struct font *g_FontHandelGothicLg; extern struct fontchar *g_CharsHandelGothicLg; -extern u32 var8007fb9c; +extern bool var8007fb9c; extern s32 g_StageIndex; extern s16 var8007fc0c; extern struct var800a4640_00 *var8007fc24;