.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel close_action_command_instruction_popup /* 17E3EC 8024FB0C 3C038028 */ lui $v1, 0x8028 /* 17E3F0 8024FB10 8C6338F8 */ lw $v1, 0x38f8($v1) /* 17E3F4 8024FB14 10600007 */ beqz $v1, .L8024FB34 /* 17E3F8 8024FB18 00000000 */ nop /* 17E3FC 8024FB1C 84640012 */ lh $a0, 0x12($v1) /* 17E400 8024FB20 28820043 */ slti $v0, $a0, 0x43 /* 17E404 8024FB24 10400003 */ beqz $v0, .L8024FB34 /* 17E408 8024FB28 2882002E */ slti $v0, $a0, 0x2e /* 17E40C 8024FB2C 50400001 */ beql $v0, $zero, .L8024FB34 /* 17E410 8024FB30 A4600014 */ sh $zero, 0x14($v1) .L8024FB34: /* 17E414 8024FB34 03E00008 */ jr $ra /* 17E418 8024FB38 00000000 */ nop /* 17E41C 8024FB3C 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 17E420 8024FB40 AFB10014 */ sw $s1, 0x14($sp) /* 17E424 8024FB44 0080882D */ daddu $s1, $a0, $zero /* 17E428 8024FB48 AFB20018 */ sw $s2, 0x18($sp) /* 17E42C 8024FB4C AFBF001C */ sw $ra, 0x1c($sp) /* 17E430 8024FB50 AFB00010 */ sw $s0, 0x10($sp) /* 17E434 8024FB54 86230012 */ lh $v1, 0x12($s1) /* 17E438 8024FB58 3C04800E */ lui $a0, 0x800e /* 17E43C 8024FB5C 2484C070 */ addiu $a0, $a0, -0x3f90 /* 17E440 8024FB60 2C620055 */ sltiu $v0, $v1, 0x55 /* 17E444 8024FB64 1040031D */ beqz $v0, .L802507DC /* 17E448 8024FB68 0000902D */ daddu $s2, $zero, $zero /* 17E44C 8024FB6C 00031080 */ sll $v0, $v1, 2 /* 17E450 8024FB70 3C01802A */ lui $at, 0x802a /* 17E454 8024FB74 00220821 */ addu $at, $at, $v0 /* 17E458 8024FB78 8C22CD98 */ lw $v0, -0x3268($at) /* 17E45C 8024FB7C 00400008 */ jr $v0 /* 17E460 8024FB80 00000000 */ nop /* 17E464 8024FB84 82230016 */ lb $v1, 0x16($s1) /* 17E468 8024FB88 2C620005 */ sltiu $v0, $v1, 5 /* 17E46C 8024FB8C 10400313 */ beqz $v0, .L802507DC /* 17E470 8024FB90 00031080 */ sll $v0, $v1, 2 /* 17E474 8024FB94 3C01802A */ lui $at, 0x802a /* 17E478 8024FB98 00220821 */ addu $at, $at, $v0 /* 17E47C 8024FB9C 8C22CEF0 */ lw $v0, -0x3110($at) /* 17E480 8024FBA0 00400008 */ jr $v0 /* 17E484 8024FBA4 00000000 */ nop /* 17E488 8024FBA8 8C820214 */ lw $v0, 0x214($a0) /* 17E48C 8024FBAC 3042C000 */ andi $v0, $v0, 0xc000 /* 17E490 8024FBB0 544002B8 */ bnezl $v0, .L80250694 /* 17E494 8024FBB4 A6200014 */ sh $zero, 0x14($s1) /* 17E498 8024FBB8 080941A5 */ j .L80250694 /* 17E49C 8024FBBC 00000000 */ nop /* 17E4A0 8024FBC0 3C03802A */ lui $v1, 0x802a /* 17E4A4 8024FBC4 2463F64A */ addiu $v1, $v1, -0x9b6 /* 17E4A8 8024FBC8 80840083 */ lb $a0, 0x83($a0) /* 17E4AC 8024FBCC 24020001 */ addiu $v0, $zero, 1 /* 17E4B0 8024FBD0 14800004 */ bnez $a0, .L8024FBE4 /* 17E4B4 8024FBD4 A4620000 */ sh $v0, ($v1) /* 17E4B8 8024FBD8 A4600000 */ sh $zero, ($v1) /* 17E4BC 8024FBDC 080941F7 */ j .L802507DC /* 17E4C0 8024FBE0 24120001 */ addiu $s2, $zero, 1 .L8024FBE4: /* 17E4C4 8024FBE4 82230016 */ lb $v1, 0x16($s1) /* 17E4C8 8024FBE8 24020001 */ addiu $v0, $zero, 1 /* 17E4CC 8024FBEC 1062016A */ beq $v1, $v0, .L80250198 /* 17E4D0 8024FBF0 28620002 */ slti $v0, $v1, 2 /* 17E4D4 8024FBF4 50400005 */ beql $v0, $zero, .L8024FC0C /* 17E4D8 8024FBF8 24020002 */ addiu $v0, $zero, 2 /* 17E4DC 8024FBFC 10600007 */ beqz $v1, .L8024FC1C /* 17E4E0 8024FC00 3C04FFFE */ lui $a0, 0xfffe /* 17E4E4 8024FC04 080941F7 */ j .L802507DC /* 17E4E8 8024FC08 00000000 */ nop .L8024FC0C: /* 17E4EC 8024FC0C 10620231 */ beq $v1, $v0, .L802504D4 /* 17E4F0 8024FC10 00000000 */ nop /* 17E4F4 8024FC14 080941F7 */ j .L802507DC /* 17E4F8 8024FC18 00000000 */ nop .L8024FC1C: /* 17E4FC 8024FC1C 3C03800E */ lui $v1, 0x800e /* 17E500 8024FC20 2463C070 */ addiu $v1, $v1, -0x3f90 /* 17E504 8024FC24 8C620000 */ lw $v0, ($v1) /* 17E508 8024FC28 3484FFFF */ ori $a0, $a0, 0xffff /* 17E50C 8024FC2C 34424000 */ ori $v0, $v0, 0x4000 /* 17E510 8024FC30 00441024 */ and $v0, $v0, $a0 /* 17E514 8024FC34 AC620000 */ sw $v0, ($v1) /* 17E518 8024FC38 96220012 */ lhu $v0, 0x12($s1) /* 17E51C 8024FC3C 2442FFD2 */ addiu $v0, $v0, -0x2e /* 17E520 8024FC40 00021400 */ sll $v0, $v0, 0x10 /* 17E524 8024FC44 00021C03 */ sra $v1, $v0, 0x10 /* 17E528 8024FC48 2C620015 */ sltiu $v0, $v1, 0x15 /* 17E52C 8024FC4C 104002D6 */ beqz $v0, .L802507A8 /* 17E530 8024FC50 00031080 */ sll $v0, $v1, 2 /* 17E534 8024FC54 3C01802A */ lui $at, 0x802a /* 17E538 8024FC58 00220821 */ addu $at, $at, $v0 /* 17E53C 8024FC5C 8C22CF08 */ lw $v0, -0x30f8($at) /* 17E540 8024FC60 00400008 */ jr $v0 /* 17E544 8024FC64 00000000 */ nop /* 17E548 8024FC68 3C048011 */ lui $a0, 0x8011 /* 17E54C 8024FC6C 24848E1C */ addiu $a0, $a0, -0x71e4 /* 17E550 8024FC70 08094060 */ j .L80250180 /* 17E554 8024FC74 00000000 */ nop /* 17E558 8024FC78 3C048011 */ lui $a0, 0x8011 /* 17E55C 8024FC7C 24848E1C */ addiu $a0, $a0, -0x71e4 /* 17E560 8024FC80 0C050529 */ jal create_icon /* 17E564 8024FC84 00000000 */ nop /* 17E568 8024FC88 00022400 */ sll $a0, $v0, 0x10 /* 17E56C 8024FC8C 00042403 */ sra $a0, $a0, 0x10 /* 17E570 8024FC90 34058080 */ ori $a1, $zero, 0x8080 /* 17E574 8024FC94 3C10802A */ lui $s0, 0x802a /* 17E578 8024FC98 2610F642 */ addiu $s0, $s0, -0x9be /* 17E57C 8024FC9C 0C051280 */ jal set_icon_flags /* 17E580 8024FCA0 A6020000 */ sh $v0, ($s0) /* 17E584 8024FCA4 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E588 8024FCA8 86040000 */ lh $a0, ($s0) /* 17E58C 8024FCAC 0C051261 */ jal set_icon_render_pos /* 17E590 8024FCB0 00A0302D */ daddu $a2, $a1, $zero /* 17E594 8024FCB4 3C048029 */ lui $a0, 0x8029 /* 17E598 8024FCB8 24842788 */ addiu $a0, $a0, 0x2788 /* 17E59C 8024FCBC 0C050529 */ jal create_icon /* 17E5A0 8024FCC0 00000000 */ nop /* 17E5A4 8024FCC4 00022400 */ sll $a0, $v0, 0x10 /* 17E5A8 8024FCC8 00042403 */ sra $a0, $a0, 0x10 /* 17E5AC 8024FCCC 3C10802A */ lui $s0, 0x802a /* 17E5B0 8024FCD0 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E5B4 8024FCD4 080941E3 */ j .L8025078C /* 17E5B8 8024FCD8 24050080 */ addiu $a1, $zero, 0x80 /* 17E5BC 8024FCDC 3C048011 */ lui $a0, 0x8011 /* 17E5C0 8024FCE0 24848E1C */ addiu $a0, $a0, -0x71e4 /* 17E5C4 8024FCE4 0C050529 */ jal create_icon /* 17E5C8 8024FCE8 00000000 */ nop /* 17E5CC 8024FCEC 00022400 */ sll $a0, $v0, 0x10 /* 17E5D0 8024FCF0 00042403 */ sra $a0, $a0, 0x10 /* 17E5D4 8024FCF4 34058080 */ ori $a1, $zero, 0x8080 /* 17E5D8 8024FCF8 3C10802A */ lui $s0, 0x802a /* 17E5DC 8024FCFC 2610F642 */ addiu $s0, $s0, -0x9be /* 17E5E0 8024FD00 0C051280 */ jal set_icon_flags /* 17E5E4 8024FD04 A6020000 */ sh $v0, ($s0) /* 17E5E8 8024FD08 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E5EC 8024FD0C 86040000 */ lh $a0, ($s0) /* 17E5F0 8024FD10 0C051261 */ jal set_icon_render_pos /* 17E5F4 8024FD14 00A0302D */ daddu $a2, $a1, $zero /* 17E5F8 8024FD18 3C048029 */ lui $a0, 0x8029 /* 17E5FC 8024FD1C 248436D4 */ addiu $a0, $a0, 0x36d4 /* 17E600 8024FD20 0C050529 */ jal create_icon /* 17E604 8024FD24 00000000 */ nop /* 17E608 8024FD28 00022400 */ sll $a0, $v0, 0x10 /* 17E60C 8024FD2C 00042403 */ sra $a0, $a0, 0x10 /* 17E610 8024FD30 3C10802A */ lui $s0, 0x802a /* 17E614 8024FD34 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E618 8024FD38 08094044 */ j .L80250110 /* 17E61C 8024FD3C 34058080 */ ori $a1, $zero, 0x8080 /* 17E620 8024FD40 3C048029 */ lui $a0, 0x8029 /* 17E624 8024FD44 2484259C */ addiu $a0, $a0, 0x259c /* 17E628 8024FD48 0C050529 */ jal create_icon /* 17E62C 8024FD4C 00000000 */ nop /* 17E630 8024FD50 00022400 */ sll $a0, $v0, 0x10 /* 17E634 8024FD54 00042403 */ sra $a0, $a0, 0x10 /* 17E638 8024FD58 34058080 */ ori $a1, $zero, 0x8080 /* 17E63C 8024FD5C 3C10802A */ lui $s0, 0x802a /* 17E640 8024FD60 2610F642 */ addiu $s0, $s0, -0x9be /* 17E644 8024FD64 0C051280 */ jal set_icon_flags /* 17E648 8024FD68 A6020000 */ sh $v0, ($s0) /* 17E64C 8024FD6C 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E650 8024FD70 86040000 */ lh $a0, ($s0) /* 17E654 8024FD74 0C051261 */ jal set_icon_render_pos /* 17E658 8024FD78 00A0302D */ daddu $a2, $a1, $zero /* 17E65C 8024FD7C 3C048029 */ lui $a0, 0x8029 /* 17E660 8024FD80 24842630 */ addiu $a0, $a0, 0x2630 /* 17E664 8024FD84 0C050529 */ jal create_icon /* 17E668 8024FD88 00000000 */ nop /* 17E66C 8024FD8C 00022400 */ sll $a0, $v0, 0x10 /* 17E670 8024FD90 00042403 */ sra $a0, $a0, 0x10 /* 17E674 8024FD94 24050080 */ addiu $a1, $zero, 0x80 /* 17E678 8024FD98 3C10802A */ lui $s0, 0x802a /* 17E67C 8024FD9C 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E680 8024FDA0 0C051280 */ jal set_icon_flags /* 17E684 8024FDA4 A6020000 */ sh $v0, ($s0) /* 17E688 8024FDA8 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E68C 8024FDAC 86040000 */ lh $a0, ($s0) /* 17E690 8024FDB0 0C051261 */ jal set_icon_render_pos /* 17E694 8024FDB4 00A0302D */ daddu $a2, $a1, $zero /* 17E698 8024FDB8 3C048029 */ lui $a0, 0x8029 /* 17E69C 8024FDBC 24842438 */ addiu $a0, $a0, 0x2438 /* 17E6A0 8024FDC0 0C050529 */ jal create_icon /* 17E6A4 8024FDC4 00000000 */ nop /* 17E6A8 8024FDC8 00022400 */ sll $a0, $v0, 0x10 /* 17E6AC 8024FDCC 00042403 */ sra $a0, $a0, 0x10 /* 17E6B0 8024FDD0 24050080 */ addiu $a1, $zero, 0x80 /* 17E6B4 8024FDD4 3C10802A */ lui $s0, 0x802a /* 17E6B8 8024FDD8 2610F646 */ addiu $s0, $s0, -0x9ba /* 17E6BC 8024FDDC 0C051280 */ jal set_icon_flags /* 17E6C0 8024FDE0 A6020000 */ sh $v0, ($s0) /* 17E6C4 8024FDE4 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E6C8 8024FDE8 86040000 */ lh $a0, ($s0) /* 17E6CC 8024FDEC 0C051261 */ jal set_icon_render_pos /* 17E6D0 8024FDF0 00A0302D */ daddu $a2, $a1, $zero /* 17E6D4 8024FDF4 3C048029 */ lui $a0, 0x8029 /* 17E6D8 8024FDF8 248424CC */ addiu $a0, $a0, 0x24cc /* 17E6DC 8024FDFC 0C050529 */ jal create_icon /* 17E6E0 8024FE00 00000000 */ nop /* 17E6E4 8024FE04 00022400 */ sll $a0, $v0, 0x10 /* 17E6E8 8024FE08 00042403 */ sra $a0, $a0, 0x10 /* 17E6EC 8024FE0C 3C10802A */ lui $s0, 0x802a /* 17E6F0 8024FE10 2610F648 */ addiu $s0, $s0, -0x9b8 /* 17E6F4 8024FE14 080941E3 */ j .L8025078C /* 17E6F8 8024FE18 24050080 */ addiu $a1, $zero, 0x80 /* 17E6FC 8024FE1C 3C048011 */ lui $a0, 0x8011 /* 17E700 8024FE20 24848E1C */ addiu $a0, $a0, -0x71e4 /* 17E704 8024FE24 08094060 */ j .L80250180 /* 17E708 8024FE28 00000000 */ nop /* 17E70C 8024FE2C 3C048011 */ lui $a0, 0x8011 /* 17E710 8024FE30 24848B28 */ addiu $a0, $a0, -0x74d8 /* 17E714 8024FE34 0C050529 */ jal create_icon /* 17E718 8024FE38 00000000 */ nop /* 17E71C 8024FE3C 00022400 */ sll $a0, $v0, 0x10 /* 17E720 8024FE40 00042403 */ sra $a0, $a0, 0x10 /* 17E724 8024FE44 34058080 */ ori $a1, $zero, 0x8080 /* 17E728 8024FE48 3C10802A */ lui $s0, 0x802a /* 17E72C 8024FE4C 2610F642 */ addiu $s0, $s0, -0x9be /* 17E730 8024FE50 0C051280 */ jal set_icon_flags /* 17E734 8024FE54 A6020000 */ sh $v0, ($s0) /* 17E738 8024FE58 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E73C 8024FE5C 86040000 */ lh $a0, ($s0) /* 17E740 8024FE60 0C051261 */ jal set_icon_render_pos /* 17E744 8024FE64 00A0302D */ daddu $a2, $a1, $zero /* 17E748 8024FE68 3C048029 */ lui $a0, 0x8029 /* 17E74C 8024FE6C 2484231C */ addiu $a0, $a0, 0x231c /* 17E750 8024FE70 0C050529 */ jal create_icon /* 17E754 8024FE74 00000000 */ nop /* 17E758 8024FE78 00022400 */ sll $a0, $v0, 0x10 /* 17E75C 8024FE7C 00042403 */ sra $a0, $a0, 0x10 /* 17E760 8024FE80 34058080 */ ori $a1, $zero, 0x8080 /* 17E764 8024FE84 3C10802A */ lui $s0, 0x802a /* 17E768 8024FE88 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E76C 8024FE8C 0C051280 */ jal set_icon_flags /* 17E770 8024FE90 A6020000 */ sh $v0, ($s0) /* 17E774 8024FE94 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E778 8024FE98 86040000 */ lh $a0, ($s0) /* 17E77C 8024FE9C 0C051261 */ jal set_icon_render_pos /* 17E780 8024FEA0 00A0302D */ daddu $a2, $a1, $zero /* 17E784 8024FEA4 3C048029 */ lui $a0, 0x8029 /* 17E788 8024FEA8 24842630 */ addiu $a0, $a0, 0x2630 /* 17E78C 8024FEAC 0C050529 */ jal create_icon /* 17E790 8024FEB0 00000000 */ nop /* 17E794 8024FEB4 00022400 */ sll $a0, $v0, 0x10 /* 17E798 8024FEB8 00042403 */ sra $a0, $a0, 0x10 /* 17E79C 8024FEBC 3C10802A */ lui $s0, 0x802a /* 17E7A0 8024FEC0 2610F646 */ addiu $s0, $s0, -0x9ba /* 17E7A4 8024FEC4 080941E3 */ j .L8025078C /* 17E7A8 8024FEC8 34058080 */ ori $a1, $zero, 0x8080 /* 17E7AC 8024FECC 3C048011 */ lui $a0, 0x8011 /* 17E7B0 8024FED0 24848E1C */ addiu $a0, $a0, -0x71e4 /* 17E7B4 8024FED4 08094060 */ j .L80250180 /* 17E7B8 8024FED8 00000000 */ nop /* 17E7BC 8024FEDC 3C048029 */ lui $a0, 0x8029 /* 17E7C0 8024FEE0 24842788 */ addiu $a0, $a0, 0x2788 /* 17E7C4 8024FEE4 0C050529 */ jal create_icon /* 17E7C8 8024FEE8 00000000 */ nop /* 17E7CC 8024FEEC 00022400 */ sll $a0, $v0, 0x10 /* 17E7D0 8024FEF0 00042403 */ sra $a0, $a0, 0x10 /* 17E7D4 8024FEF4 24050080 */ addiu $a1, $zero, 0x80 /* 17E7D8 8024FEF8 3C10802A */ lui $s0, 0x802a /* 17E7DC 8024FEFC 2610F642 */ addiu $s0, $s0, -0x9be /* 17E7E0 8024FF00 0C051280 */ jal set_icon_flags /* 17E7E4 8024FF04 A6020000 */ sh $v0, ($s0) /* 17E7E8 8024FF08 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E7EC 8024FF0C 86040000 */ lh $a0, ($s0) /* 17E7F0 8024FF10 0C051261 */ jal set_icon_render_pos /* 17E7F4 8024FF14 00A0302D */ daddu $a2, $a1, $zero /* 17E7F8 8024FF18 3C048011 */ lui $a0, 0x8011 /* 17E7FC 8024FF1C 24848B28 */ addiu $a0, $a0, -0x74d8 /* 17E800 8024FF20 0C050529 */ jal create_icon /* 17E804 8024FF24 00000000 */ nop /* 17E808 8024FF28 00022400 */ sll $a0, $v0, 0x10 /* 17E80C 8024FF2C 00042403 */ sra $a0, $a0, 0x10 /* 17E810 8024FF30 3C10802A */ lui $s0, 0x802a /* 17E814 8024FF34 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E818 8024FF38 080941E3 */ j .L8025078C /* 17E81C 8024FF3C 34058080 */ ori $a1, $zero, 0x8080 /* 17E820 8024FF40 3C048011 */ lui $a0, 0x8011 /* 17E824 8024FF44 24848B28 */ addiu $a0, $a0, -0x74d8 /* 17E828 8024FF48 0C050529 */ jal create_icon /* 17E82C 8024FF4C 00000000 */ nop /* 17E830 8024FF50 00022400 */ sll $a0, $v0, 0x10 /* 17E834 8024FF54 00042403 */ sra $a0, $a0, 0x10 /* 17E838 8024FF58 34058080 */ ori $a1, $zero, 0x8080 /* 17E83C 8024FF5C 3C10802A */ lui $s0, 0x802a /* 17E840 8024FF60 2610F642 */ addiu $s0, $s0, -0x9be /* 17E844 8024FF64 0C051280 */ jal set_icon_flags /* 17E848 8024FF68 A6020000 */ sh $v0, ($s0) /* 17E84C 8024FF6C 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E850 8024FF70 86040000 */ lh $a0, ($s0) /* 17E854 8024FF74 0C051261 */ jal set_icon_render_pos /* 17E858 8024FF78 00A0302D */ daddu $a2, $a1, $zero /* 17E85C 8024FF7C 3C048029 */ lui $a0, 0x8029 /* 17E860 8024FF80 2484231C */ addiu $a0, $a0, 0x231c /* 17E864 8024FF84 0C050529 */ jal create_icon /* 17E868 8024FF88 00000000 */ nop /* 17E86C 8024FF8C 86040000 */ lh $a0, ($s0) /* 17E870 8024FF90 3C01802A */ lui $at, 0x802a /* 17E874 8024FF94 A422F644 */ sh $v0, -0x9bc($at) /* 17E878 8024FF98 080941E4 */ j .L80250790 /* 17E87C 8024FF9C 34058080 */ ori $a1, $zero, 0x8080 /* 17E880 8024FFA0 3C048011 */ lui $a0, 0x8011 /* 17E884 8024FFA4 24848B28 */ addiu $a0, $a0, -0x74d8 /* 17E888 8024FFA8 0C050529 */ jal create_icon /* 17E88C 8024FFAC 00000000 */ nop /* 17E890 8024FFB0 00022400 */ sll $a0, $v0, 0x10 /* 17E894 8024FFB4 00042403 */ sra $a0, $a0, 0x10 /* 17E898 8024FFB8 34058080 */ ori $a1, $zero, 0x8080 /* 17E89C 8024FFBC 3C10802A */ lui $s0, 0x802a /* 17E8A0 8024FFC0 2610F642 */ addiu $s0, $s0, -0x9be /* 17E8A4 8024FFC4 0C051280 */ jal set_icon_flags /* 17E8A8 8024FFC8 A6020000 */ sh $v0, ($s0) /* 17E8AC 8024FFCC 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E8B0 8024FFD0 86040000 */ lh $a0, ($s0) /* 17E8B4 8024FFD4 0C051261 */ jal set_icon_render_pos /* 17E8B8 8024FFD8 00A0302D */ daddu $a2, $a1, $zero /* 17E8BC 8024FFDC 3C048029 */ lui $a0, 0x8029 /* 17E8C0 8024FFE0 2484231C */ addiu $a0, $a0, 0x231c /* 17E8C4 8024FFE4 0C050529 */ jal create_icon /* 17E8C8 8024FFE8 00000000 */ nop /* 17E8CC 8024FFEC 00022400 */ sll $a0, $v0, 0x10 /* 17E8D0 8024FFF0 00042403 */ sra $a0, $a0, 0x10 /* 17E8D4 8024FFF4 3C10802A */ lui $s0, 0x802a /* 17E8D8 8024FFF8 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E8DC 8024FFFC 080941E3 */ j .L8025078C /* 17E8E0 80250000 34058080 */ ori $a1, $zero, 0x8080 /* 17E8E4 80250004 3C048029 */ lui $a0, 0x8029 /* 17E8E8 80250008 24842788 */ addiu $a0, $a0, 0x2788 /* 17E8EC 8025000C 0C050529 */ jal create_icon /* 17E8F0 80250010 00000000 */ nop /* 17E8F4 80250014 00022400 */ sll $a0, $v0, 0x10 /* 17E8F8 80250018 00042403 */ sra $a0, $a0, 0x10 /* 17E8FC 8025001C 24050080 */ addiu $a1, $zero, 0x80 /* 17E900 80250020 3C10802A */ lui $s0, 0x802a /* 17E904 80250024 2610F642 */ addiu $s0, $s0, -0x9be /* 17E908 80250028 0C051280 */ jal set_icon_flags /* 17E90C 8025002C A6020000 */ sh $v0, ($s0) /* 17E910 80250030 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E914 80250034 86040000 */ lh $a0, ($s0) /* 17E918 80250038 0C051261 */ jal set_icon_render_pos /* 17E91C 8025003C 00A0302D */ daddu $a2, $a1, $zero /* 17E920 80250040 3C048011 */ lui $a0, 0x8011 /* 17E924 80250044 24848B54 */ addiu $a0, $a0, -0x74ac /* 17E928 80250048 0C050529 */ jal create_icon /* 17E92C 8025004C 00000000 */ nop /* 17E930 80250050 00022400 */ sll $a0, $v0, 0x10 /* 17E934 80250054 00042403 */ sra $a0, $a0, 0x10 /* 17E938 80250058 3C10802A */ lui $s0, 0x802a /* 17E93C 8025005C 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E940 80250060 080941E3 */ j .L8025078C /* 17E944 80250064 34058080 */ ori $a1, $zero, 0x8080 /* 17E948 80250068 3C048011 */ lui $a0, 0x8011 /* 17E94C 8025006C 24848E1C */ addiu $a0, $a0, -0x71e4 /* 17E950 80250070 0C050529 */ jal create_icon /* 17E954 80250074 00000000 */ nop /* 17E958 80250078 00022400 */ sll $a0, $v0, 0x10 /* 17E95C 8025007C 00042403 */ sra $a0, $a0, 0x10 /* 17E960 80250080 34058080 */ ori $a1, $zero, 0x8080 /* 17E964 80250084 3C10802A */ lui $s0, 0x802a /* 17E968 80250088 2610F642 */ addiu $s0, $s0, -0x9be /* 17E96C 8025008C 0C051280 */ jal set_icon_flags /* 17E970 80250090 A6020000 */ sh $v0, ($s0) /* 17E974 80250094 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E978 80250098 86040000 */ lh $a0, ($s0) /* 17E97C 8025009C 0C051261 */ jal set_icon_render_pos /* 17E980 802500A0 00A0302D */ daddu $a2, $a1, $zero /* 17E984 802500A4 3C048029 */ lui $a0, 0x8029 /* 17E988 802500A8 248436D4 */ addiu $a0, $a0, 0x36d4 /* 17E98C 802500AC 0C050529 */ jal create_icon /* 17E990 802500B0 00000000 */ nop /* 17E994 802500B4 00022400 */ sll $a0, $v0, 0x10 /* 17E998 802500B8 00042403 */ sra $a0, $a0, 0x10 /* 17E99C 802500BC 34058080 */ ori $a1, $zero, 0x8080 /* 17E9A0 802500C0 3C10802A */ lui $s0, 0x802a /* 17E9A4 802500C4 2610F644 */ addiu $s0, $s0, -0x9bc /* 17E9A8 802500C8 0C051280 */ jal set_icon_flags /* 17E9AC 802500CC A6020000 */ sh $v0, ($s0) /* 17E9B0 802500D0 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E9B4 802500D4 86040000 */ lh $a0, ($s0) /* 17E9B8 802500D8 0C051261 */ jal set_icon_render_pos /* 17E9BC 802500DC 00A0302D */ daddu $a2, $a1, $zero /* 17E9C0 802500E0 86040000 */ lh $a0, ($s0) /* 17E9C4 802500E4 0C0513F6 */ jal func_80144FD8 /* 17E9C8 802500E8 00000000 */ nop /* 17E9CC 802500EC 3C048029 */ lui $a0, 0x8029 /* 17E9D0 802500F0 2484369C */ addiu $a0, $a0, 0x369c /* 17E9D4 802500F4 0C050529 */ jal create_icon /* 17E9D8 802500F8 00000000 */ nop /* 17E9DC 802500FC 00022400 */ sll $a0, $v0, 0x10 /* 17E9E0 80250100 00042403 */ sra $a0, $a0, 0x10 /* 17E9E4 80250104 34058080 */ ori $a1, $zero, 0x8080 /* 17E9E8 80250108 3C10802A */ lui $s0, 0x802a /* 17E9EC 8025010C 2610F646 */ addiu $s0, $s0, -0x9ba .L80250110: /* 17E9F0 80250110 0C051280 */ jal set_icon_flags /* 17E9F4 80250114 A6020000 */ sh $v0, ($s0) /* 17E9F8 80250118 2405FF9C */ addiu $a1, $zero, -0x64 /* 17E9FC 8025011C 86040000 */ lh $a0, ($s0) /* 17EA00 80250120 0C051261 */ jal set_icon_render_pos /* 17EA04 80250124 00A0302D */ daddu $a2, $a1, $zero /* 17EA08 80250128 86040000 */ lh $a0, ($s0) /* 17EA0C 8025012C 0C0513F6 */ jal func_80144FD8 /* 17EA10 80250130 00000000 */ nop /* 17EA14 80250134 080941EB */ j .L802507AC /* 17EA18 80250138 24020001 */ addiu $v0, $zero, 1 /* 17EA1C 8025013C 3C048011 */ lui $a0, 0x8011 /* 17EA20 80250140 24848B28 */ addiu $a0, $a0, -0x74d8 /* 17EA24 80250144 0C050529 */ jal create_icon /* 17EA28 80250148 00000000 */ nop /* 17EA2C 8025014C 00022400 */ sll $a0, $v0, 0x10 /* 17EA30 80250150 00042403 */ sra $a0, $a0, 0x10 /* 17EA34 80250154 34058080 */ ori $a1, $zero, 0x8080 /* 17EA38 80250158 3C10802A */ lui $s0, 0x802a /* 17EA3C 8025015C 2610F642 */ addiu $s0, $s0, -0x9be /* 17EA40 80250160 0C051280 */ jal set_icon_flags /* 17EA44 80250164 A6020000 */ sh $v0, ($s0) /* 17EA48 80250168 2405FF9C */ addiu $a1, $zero, -0x64 /* 17EA4C 8025016C 86040000 */ lh $a0, ($s0) /* 17EA50 80250170 0C051261 */ jal set_icon_render_pos /* 17EA54 80250174 00A0302D */ daddu $a2, $a1, $zero /* 17EA58 80250178 3C048011 */ lui $a0, 0x8011 /* 17EA5C 8025017C 24848B28 */ addiu $a0, $a0, -0x74d8 .L80250180: /* 17EA60 80250180 0C050529 */ jal create_icon /* 17EA64 80250184 00000000 */ nop /* 17EA68 80250188 00022400 */ sll $a0, $v0, 0x10 /* 17EA6C 8025018C 00042403 */ sra $a0, $a0, 0x10 /* 17EA70 80250190 080941E1 */ j .L80250784 /* 17EA74 80250194 34058080 */ ori $a1, $zero, 0x8080 .L80250198: /* 17EA78 80250198 3C06800E */ lui $a2, 0x800e /* 17EA7C 8025019C 24C6C070 */ addiu $a2, $a2, -0x3f90 /* 17EA80 802501A0 8CC30000 */ lw $v1, ($a2) /* 17EA84 802501A4 3C020001 */ lui $v0, 1 /* 17EA88 802501A8 00621024 */ and $v0, $v1, $v0 /* 17EA8C 802501AC 1040000A */ beqz $v0, .L802501D8 /* 17EA90 802501B0 24050007 */ addiu $a1, $zero, 7 /* 17EA94 802501B4 24040009 */ addiu $a0, $zero, 9 /* 17EA98 802501B8 2402BFFF */ addiu $v0, $zero, -0x4001 /* 17EA9C 802501BC 00621024 */ and $v0, $v1, $v0 /* 17EAA0 802501C0 0C051F9F */ jal func_80147E7C /* 17EAA4 802501C4 ACC20000 */ sw $v0, ($a2) /* 17EAA8 802501C8 24020002 */ addiu $v0, $zero, 2 /* 17EAAC 802501CC A6200014 */ sh $zero, 0x14($s1) /* 17EAB0 802501D0 080941F7 */ j .L802507DC /* 17EAB4 802501D4 A2220016 */ sb $v0, 0x16($s1) .L802501D8: /* 17EAB8 802501D8 30624000 */ andi $v0, $v1, 0x4000 /* 17EABC 802501DC 1440017F */ bnez $v0, .L802507DC /* 17EAC0 802501E0 24020002 */ addiu $v0, $zero, 2 /* 17EAC4 802501E4 1082017D */ beq $a0, $v0, .L802507DC /* 17EAC8 802501E8 24040009 */ addiu $a0, $zero, 9 /* 17EACC 802501EC 0C051F9F */ jal func_80147E7C /* 17EAD0 802501F0 24050007 */ addiu $a1, $zero, 7 /* 17EAD4 802501F4 96220012 */ lhu $v0, 0x12($s1) /* 17EAD8 802501F8 2442FFD2 */ addiu $v0, $v0, -0x2e /* 17EADC 802501FC 00021400 */ sll $v0, $v0, 0x10 /* 17EAE0 80250200 00021C03 */ sra $v1, $v0, 0x10 /* 17EAE4 80250204 2C620015 */ sltiu $v0, $v1, 0x15 /* 17EAE8 80250208 104000AC */ beqz $v0, .L802504BC /* 17EAEC 8025020C 00031080 */ sll $v0, $v1, 2 /* 17EAF0 80250210 3C01802A */ lui $at, 0x802a /* 17EAF4 80250214 00220821 */ addu $at, $at, $v0 /* 17EAF8 80250218 8C22CF60 */ lw $v0, -0x30a0($at) /* 17EAFC 8025021C 00400008 */ jr $v0 /* 17EB00 80250220 00000000 */ nop /* 17EB04 80250224 3C04802A */ lui $a0, 0x802a /* 17EB08 80250228 8484F642 */ lh $a0, -0x9be($a0) /* 17EB0C 8025022C 3C058011 */ lui $a1, 0x8011 /* 17EB10 80250230 24A58B80 */ addiu $a1, $a1, -0x7480 /* 17EB14 80250234 0809412D */ j .L802504B4 /* 17EB18 80250238 00000000 */ nop /* 17EB1C 8025023C 3C04802A */ lui $a0, 0x802a /* 17EB20 80250240 8484F642 */ lh $a0, -0x9be($a0) /* 17EB24 80250244 3C058011 */ lui $a1, 0x8011 /* 17EB28 80250248 24A58F30 */ addiu $a1, $a1, -0x70d0 /* 17EB2C 8025024C 0809412D */ j .L802504B4 /* 17EB30 80250250 00000000 */ nop /* 17EB34 80250254 3C04802A */ lui $a0, 0x802a /* 17EB38 80250258 8484F642 */ lh $a0, -0x9be($a0) /* 17EB3C 8025025C 3C058011 */ lui $a1, 0x8011 /* 17EB40 80250260 24A58F90 */ addiu $a1, $a1, -0x7070 /* 17EB44 80250264 0C0511FF */ jal set_menu_icon_script /* 17EB48 80250268 00000000 */ nop /* 17EB4C 8025026C 3C04802A */ lui $a0, 0x802a /* 17EB50 80250270 8484F644 */ lh $a0, -0x9bc($a0) /* 17EB54 80250274 3C058029 */ lui $a1, 0x8029 /* 17EB58 80250278 24A527B4 */ addiu $a1, $a1, 0x27b4 /* 17EB5C 8025027C 0809412D */ j .L802504B4 /* 17EB60 80250280 00000000 */ nop /* 17EB64 80250284 3C04802A */ lui $a0, 0x802a /* 17EB68 80250288 8484F642 */ lh $a0, -0x9be($a0) /* 17EB6C 8025028C 3C058011 */ lui $a1, 0x8011 /* 17EB70 80250290 24A58F90 */ addiu $a1, $a1, -0x7070 /* 17EB74 80250294 0C0511FF */ jal set_menu_icon_script /* 17EB78 80250298 00000000 */ nop /* 17EB7C 8025029C 3C04802A */ lui $a0, 0x802a /* 17EB80 802502A0 8484F644 */ lh $a0, -0x9bc($a0) /* 17EB84 802502A4 3C058029 */ lui $a1, 0x8029 /* 17EB88 802502A8 24A536D4 */ addiu $a1, $a1, 0x36d4 /* 17EB8C 802502AC 0809412D */ j .L802504B4 /* 17EB90 802502B0 00000000 */ nop /* 17EB94 802502B4 3C04802A */ lui $a0, 0x802a /* 17EB98 802502B8 8484F642 */ lh $a0, -0x9be($a0) /* 17EB9C 802502BC 3C058029 */ lui $a1, 0x8029 /* 17EBA0 802502C0 24A525F4 */ addiu $a1, $a1, 0x25f4 /* 17EBA4 802502C4 0C0511FF */ jal set_menu_icon_script /* 17EBA8 802502C8 00000000 */ nop /* 17EBAC 802502CC 3C04802A */ lui $a0, 0x802a /* 17EBB0 802502D0 8484F644 */ lh $a0, -0x9bc($a0) /* 17EBB4 802502D4 3C058029 */ lui $a1, 0x8029 /* 17EBB8 802502D8 24A52688 */ addiu $a1, $a1, 0x2688 /* 17EBBC 802502DC 0C0511FF */ jal set_menu_icon_script /* 17EBC0 802502E0 00000000 */ nop /* 17EBC4 802502E4 3C04802A */ lui $a0, 0x802a /* 17EBC8 802502E8 8484F646 */ lh $a0, -0x9ba($a0) /* 17EBCC 802502EC 3C058029 */ lui $a1, 0x8029 /* 17EBD0 802502F0 24A52490 */ addiu $a1, $a1, 0x2490 /* 17EBD4 802502F4 0C0511FF */ jal set_menu_icon_script /* 17EBD8 802502F8 00000000 */ nop /* 17EBDC 802502FC 3C04802A */ lui $a0, 0x802a /* 17EBE0 80250300 8484F648 */ lh $a0, -0x9b8($a0) /* 17EBE4 80250304 3C058029 */ lui $a1, 0x8029 /* 17EBE8 80250308 24A52524 */ addiu $a1, $a1, 0x2524 /* 17EBEC 8025030C 0809412D */ j .L802504B4 /* 17EBF0 80250310 00000000 */ nop /* 17EBF4 80250314 3C04802A */ lui $a0, 0x802a /* 17EBF8 80250318 8484F642 */ lh $a0, -0x9be($a0) /* 17EBFC 8025031C 3C058011 */ lui $a1, 0x8011 /* 17EC00 80250320 24A58E80 */ addiu $a1, $a1, -0x7180 /* 17EC04 80250324 0809412D */ j .L802504B4 /* 17EC08 80250328 00000000 */ nop /* 17EC0C 8025032C 3C04802A */ lui $a0, 0x802a /* 17EC10 80250330 8484F642 */ lh $a0, -0x9be($a0) /* 17EC14 80250334 3C058011 */ lui $a1, 0x8011 /* 17EC18 80250338 24A58BBC */ addiu $a1, $a1, -0x7444 /* 17EC1C 8025033C 0C0511FF */ jal set_menu_icon_script /* 17EC20 80250340 00000000 */ nop /* 17EC24 80250344 3C04802A */ lui $a0, 0x802a /* 17EC28 80250348 8484F644 */ lh $a0, -0x9bc($a0) /* 17EC2C 8025034C 3C058029 */ lui $a1, 0x8029 /* 17EC30 80250350 24A523B0 */ addiu $a1, $a1, 0x23b0 /* 17EC34 80250354 0C0511FF */ jal set_menu_icon_script /* 17EC38 80250358 00000000 */ nop /* 17EC3C 8025035C 3C04802A */ lui $a0, 0x802a /* 17EC40 80250360 8484F646 */ lh $a0, -0x9ba($a0) /* 17EC44 80250364 3C058029 */ lui $a1, 0x8029 /* 17EC48 80250368 24A526C4 */ addiu $a1, $a1, 0x26c4 /* 17EC4C 8025036C 0809412D */ j .L802504B4 /* 17EC50 80250370 00000000 */ nop /* 17EC54 80250374 3C04802A */ lui $a0, 0x802a /* 17EC58 80250378 8484F642 */ lh $a0, -0x9be($a0) /* 17EC5C 8025037C 3C058011 */ lui $a1, 0x8011 /* 17EC60 80250380 24A58D6C */ addiu $a1, $a1, -0x7294 /* 17EC64 80250384 0809412D */ j .L802504B4 /* 17EC68 80250388 00000000 */ nop /* 17EC6C 8025038C 3C04802A */ lui $a0, 0x802a /* 17EC70 80250390 8484F642 */ lh $a0, -0x9be($a0) /* 17EC74 80250394 3C058029 */ lui $a1, 0x8029 /* 17EC78 80250398 24A527B4 */ addiu $a1, $a1, 0x27b4 /* 17EC7C 8025039C 0C0511FF */ jal set_menu_icon_script /* 17EC80 802503A0 00000000 */ nop /* 17EC84 802503A4 3C04802A */ lui $a0, 0x802a /* 17EC88 802503A8 8484F644 */ lh $a0, -0x9bc($a0) /* 17EC8C 802503AC 3C058011 */ lui $a1, 0x8011 /* 17EC90 802503B0 24A58B80 */ addiu $a1, $a1, -0x7480 /* 17EC94 802503B4 0809412D */ j .L802504B4 /* 17EC98 802503B8 00000000 */ nop /* 17EC9C 802503BC 3C04802A */ lui $a0, 0x802a /* 17ECA0 802503C0 8484F642 */ lh $a0, -0x9be($a0) /* 17ECA4 802503C4 3C058011 */ lui $a1, 0x8011 /* 17ECA8 802503C8 24A58B80 */ addiu $a1, $a1, -0x7480 /* 17ECAC 802503CC 0C0511FF */ jal set_menu_icon_script /* 17ECB0 802503D0 00000000 */ nop /* 17ECB4 802503D4 3C04802A */ lui $a0, 0x802a /* 17ECB8 802503D8 8484F644 */ lh $a0, -0x9bc($a0) /* 17ECBC 802503DC 3C058029 */ lui $a1, 0x8029 /* 17ECC0 802503E0 24A523FC */ addiu $a1, $a1, 0x23fc /* 17ECC4 802503E4 0809412D */ j .L802504B4 /* 17ECC8 802503E8 00000000 */ nop /* 17ECCC 802503EC 3C04802A */ lui $a0, 0x802a /* 17ECD0 802503F0 8484F642 */ lh $a0, -0x9be($a0) /* 17ECD4 802503F4 3C058011 */ lui $a1, 0x8011 /* 17ECD8 802503F8 24A58B80 */ addiu $a1, $a1, -0x7480 /* 17ECDC 802503FC 0C0511FF */ jal set_menu_icon_script /* 17ECE0 80250400 00000000 */ nop /* 17ECE4 80250404 3C04802A */ lui $a0, 0x802a /* 17ECE8 80250408 8484F644 */ lh $a0, -0x9bc($a0) /* 17ECEC 8025040C 3C058029 */ lui $a1, 0x8029 /* 17ECF0 80250410 24A52374 */ addiu $a1, $a1, 0x2374 /* 17ECF4 80250414 0809412D */ j .L802504B4 /* 17ECF8 80250418 00000000 */ nop /* 17ECFC 8025041C 3C04802A */ lui $a0, 0x802a /* 17ED00 80250420 8484F642 */ lh $a0, -0x9be($a0) /* 17ED04 80250424 3C058011 */ lui $a1, 0x8011 /* 17ED08 80250428 24A58B80 */ addiu $a1, $a1, -0x7480 /* 17ED0C 8025042C 0809412D */ j .L802504B4 /* 17ED10 80250430 00000000 */ nop /* 17ED14 80250434 3C04802A */ lui $a0, 0x802a /* 17ED18 80250438 8484F642 */ lh $a0, -0x9be($a0) /* 17ED1C 8025043C 3C058029 */ lui $a1, 0x8029 /* 17ED20 80250440 24A527B4 */ addiu $a1, $a1, 0x27b4 /* 17ED24 80250444 0C0511FF */ jal set_menu_icon_script /* 17ED28 80250448 00000000 */ nop /* 17ED2C 8025044C 3C04802A */ lui $a0, 0x802a /* 17ED30 80250450 8484F644 */ lh $a0, -0x9bc($a0) /* 17ED34 80250454 0809412B */ j .L802504AC /* 17ED38 80250458 00000000 */ nop /* 17ED3C 8025045C 3C04802A */ lui $a0, 0x802a /* 17ED40 80250460 8484F642 */ lh $a0, -0x9be($a0) /* 17ED44 80250464 3C058011 */ lui $a1, 0x8011 /* 17ED48 80250468 24A591E4 */ addiu $a1, $a1, -0x6e1c /* 17ED4C 8025046C 0809412D */ j .L802504B4 /* 17ED50 80250470 00000000 */ nop /* 17ED54 80250474 3C04802A */ lui $a0, 0x802a /* 17ED58 80250478 8484F642 */ lh $a0, -0x9be($a0) /* 17ED5C 8025047C 3C058011 */ lui $a1, 0x8011 /* 17ED60 80250480 24A58B80 */ addiu $a1, $a1, -0x7480 /* 17ED64 80250484 0809412D */ j .L802504B4 /* 17ED68 80250488 00000000 */ nop /* 17ED6C 8025048C 3C04802A */ lui $a0, 0x802a /* 17ED70 80250490 8484F642 */ lh $a0, -0x9be($a0) /* 17ED74 80250494 3C058011 */ lui $a1, 0x8011 /* 17ED78 80250498 24A58BBC */ addiu $a1, $a1, -0x7444 /* 17ED7C 8025049C 0C0511FF */ jal set_menu_icon_script /* 17ED80 802504A0 00000000 */ nop /* 17ED84 802504A4 3C04802A */ lui $a0, 0x802a /* 17ED88 802504A8 8484F642 */ lh $a0, -0x9be($a0) .L802504AC: /* 17ED8C 802504AC 3C058011 */ lui $a1, 0x8011 /* 17ED90 802504B0 24A58BBC */ addiu $a1, $a1, -0x7444 .L802504B4: /* 17ED94 802504B4 0C0511FF */ jal set_menu_icon_script /* 17ED98 802504B8 00000000 */ nop .L802504BC: /* 17ED9C 802504BC 86230014 */ lh $v1, 0x14($s1) /* 17EDA0 802504C0 2402FFFF */ addiu $v0, $zero, -1 /* 17EDA4 802504C4 1062006C */ beq $v1, $v0, .L80250678 /* 17EDA8 802504C8 2402001E */ addiu $v0, $zero, 0x1e /* 17EDAC 802504CC 0809419E */ j .L80250678 /* 17EDB0 802504D0 A6220014 */ sh $v0, 0x14($s1) .L802504D4: /* 17EDB4 802504D4 14830006 */ bne $a0, $v1, .L802504F0 /* 17EDB8 802504D8 3C030001 */ lui $v1, 1 /* 17EDBC 802504DC 3C02800E */ lui $v0, 0x800e /* 17EDC0 802504E0 8C42C070 */ lw $v0, -0x3f90($v0) /* 17EDC4 802504E4 00431024 */ and $v0, $v0, $v1 /* 17EDC8 802504E8 104000BC */ beqz $v0, .L802507DC /* 17EDCC 802504EC 00000000 */ nop .L802504F0: /* 17EDD0 802504F0 3C04802A */ lui $a0, 0x802a /* 17EDD4 802504F4 2484F64E */ addiu $a0, $a0, -0x9b2 /* 17EDD8 802504F8 84820000 */ lh $v0, ($a0) /* 17EDDC 802504FC 94830000 */ lhu $v1, ($a0) /* 17EDE0 80250500 284200C0 */ slti $v0, $v0, 0xc0 /* 17EDE4 80250504 1040000C */ beqz $v0, .L80250538 /* 17EDE8 80250508 00000000 */ nop /* 17EDEC 8025050C 3C02802A */ lui $v0, 0x802a /* 17EDF0 80250510 8442F64C */ lh $v0, -0x9b4($v0) /* 17EDF4 80250514 144000B1 */ bnez $v0, .L802507DC /* 17EDF8 80250518 2462000A */ addiu $v0, $v1, 0xa /* 17EDFC 8025051C A4820000 */ sh $v0, ($a0) /* 17EE00 80250520 00021400 */ sll $v0, $v0, 0x10 /* 17EE04 80250524 00021403 */ sra $v0, $v0, 0x10 /* 17EE08 80250528 284200C1 */ slti $v0, $v0, 0xc1 /* 17EE0C 8025052C 14400002 */ bnez $v0, .L80250538 /* 17EE10 80250530 240200C0 */ addiu $v0, $zero, 0xc0 /* 17EE14 80250534 A4820000 */ sh $v0, ($a0) .L80250538: /* 17EE18 80250538 3C02802A */ lui $v0, 0x802a /* 17EE1C 8025053C 9442F64E */ lhu $v0, -0x9b2($v0) /* 17EE20 80250540 3C03802A */ lui $v1, 0x802a /* 17EE24 80250544 9463F650 */ lhu $v1, -0x9b0($v1) /* 17EE28 80250548 00431021 */ addu $v0, $v0, $v1 /* 17EE2C 8025054C 3C018016 */ lui $at, 0x8016 /* 17EE30 80250550 A4229E7E */ sh $v0, -0x6182($at) /* 17EE34 80250554 2402FFFF */ addiu $v0, $zero, -1 /* 17EE38 80250558 86240014 */ lh $a0, 0x14($s1) /* 17EE3C 8025055C 1082009F */ beq $a0, $v0, .L802507DC /* 17EE40 80250560 96230014 */ lhu $v1, 0x14($s1) /* 17EE44 80250564 10800003 */ beqz $a0, .L80250574 /* 17EE48 80250568 00621021 */ addu $v0, $v1, $v0 /* 17EE4C 8025056C 080941F7 */ j .L802507DC /* 17EE50 80250570 A6220014 */ sh $v0, 0x14($s1) .L80250574: /* 17EE54 80250574 96220012 */ lhu $v0, 0x12($s1) /* 17EE58 80250578 2442FFD2 */ addiu $v0, $v0, -0x2e /* 17EE5C 8025057C 00021400 */ sll $v0, $v0, 0x10 /* 17EE60 80250580 00021C03 */ sra $v1, $v0, 0x10 /* 17EE64 80250584 2C620015 */ sltiu $v0, $v1, 0x15 /* 17EE68 80250588 1040002E */ beqz $v0, .L80250644 /* 17EE6C 8025058C 00031080 */ sll $v0, $v1, 2 /* 17EE70 80250590 3C01802A */ lui $at, 0x802a /* 17EE74 80250594 00220821 */ addu $at, $at, $v0 /* 17EE78 80250598 8C22CFB8 */ lw $v0, -0x3048($at) /* 17EE7C 8025059C 00400008 */ jr $v0 /* 17EE80 802505A0 00000000 */ nop /* 17EE84 802505A4 3C04802A */ lui $a0, 0x802a /* 17EE88 802505A8 8484F642 */ lh $a0, -0x9be($a0) /* 17EE8C 802505AC 0809418F */ j .L8025063C /* 17EE90 802505B0 00000000 */ nop /* 17EE94 802505B4 3C04802A */ lui $a0, 0x802a /* 17EE98 802505B8 8484F642 */ lh $a0, -0x9be($a0) /* 17EE9C 802505BC 0C05123D */ jal free_icon /* 17EEA0 802505C0 00000000 */ nop /* 17EEA4 802505C4 3C04802A */ lui $a0, 0x802a /* 17EEA8 802505C8 8484F644 */ lh $a0, -0x9bc($a0) /* 17EEAC 802505CC 0809418F */ j .L8025063C /* 17EEB0 802505D0 00000000 */ nop /* 17EEB4 802505D4 3C04802A */ lui $a0, 0x802a /* 17EEB8 802505D8 8484F642 */ lh $a0, -0x9be($a0) /* 17EEBC 802505DC 0C05123D */ jal free_icon /* 17EEC0 802505E0 00000000 */ nop /* 17EEC4 802505E4 3C04802A */ lui $a0, 0x802a /* 17EEC8 802505E8 8484F644 */ lh $a0, -0x9bc($a0) /* 17EECC 802505EC 0C05123D */ jal free_icon /* 17EED0 802505F0 00000000 */ nop /* 17EED4 802505F4 3C04802A */ lui $a0, 0x802a /* 17EED8 802505F8 8484F646 */ lh $a0, -0x9ba($a0) /* 17EEDC 802505FC 0809418F */ j .L8025063C /* 17EEE0 80250600 00000000 */ nop /* 17EEE4 80250604 3C04802A */ lui $a0, 0x802a /* 17EEE8 80250608 8484F642 */ lh $a0, -0x9be($a0) /* 17EEEC 8025060C 0C05123D */ jal free_icon /* 17EEF0 80250610 00000000 */ nop /* 17EEF4 80250614 3C04802A */ lui $a0, 0x802a /* 17EEF8 80250618 8484F644 */ lh $a0, -0x9bc($a0) /* 17EEFC 8025061C 0C05123D */ jal free_icon /* 17EF00 80250620 00000000 */ nop /* 17EF04 80250624 3C04802A */ lui $a0, 0x802a /* 17EF08 80250628 8484F646 */ lh $a0, -0x9ba($a0) /* 17EF0C 8025062C 0C05123D */ jal free_icon /* 17EF10 80250630 00000000 */ nop /* 17EF14 80250634 3C04802A */ lui $a0, 0x802a /* 17EF18 80250638 8484F648 */ lh $a0, -0x9b8($a0) .L8025063C: /* 17EF1C 8025063C 0C05123D */ jal free_icon /* 17EF20 80250640 00000000 */ nop .L80250644: /* 17EF24 80250644 3C01802A */ lui $at, 0x802a /* 17EF28 80250648 A420F64A */ sh $zero, -0x9b6($at) /* 17EF2C 8025064C 080941F7 */ j .L802507DC /* 17EF30 80250650 24120001 */ addiu $s2, $zero, 1 /* 17EF34 80250654 82230016 */ lb $v1, 0x16($s1) /* 17EF38 80250658 2C620005 */ sltiu $v0, $v1, 5 /* 17EF3C 8025065C 1040005F */ beqz $v0, .L802507DC /* 17EF40 80250660 00031080 */ sll $v0, $v1, 2 /* 17EF44 80250664 3C01802A */ lui $at, 0x802a /* 17EF48 80250668 00220821 */ addu $at, $at, $v0 /* 17EF4C 8025066C 8C22D010 */ lw $v0, -0x2ff0($at) /* 17EF50 80250670 00400008 */ jr $v0 /* 17EF54 80250674 00000000 */ nop .L80250678: .L80250678: /* 17EF58 80250678 24020002 */ addiu $v0, $zero, 2 /* 17EF5C 8025067C 080941F7 */ j .L802507DC /* 17EF60 80250680 A2220016 */ sb $v0, 0x16($s1) /* 17EF64 80250684 8C820214 */ lw $v0, 0x214($a0) /* 17EF68 80250688 3042C000 */ andi $v0, $v0, 0xc000 /* 17EF6C 8025068C 54400001 */ bnezl $v0, .L80250694 /* 17EF70 80250690 A6200014 */ sh $zero, 0x14($s1) .L80250694: .L80250694: /* 17EF74 80250694 86220014 */ lh $v0, 0x14($s1) /* 17EF78 80250698 96230014 */ lhu $v1, 0x14($s1) /* 17EF7C 8025069C 14400049 */ bnez $v0, .L802507C4 /* 17EF80 802506A0 2462FFFF */ addiu $v0, $v1, -1 /* 17EF84 802506A4 24020003 */ addiu $v0, $zero, 3 /* 17EF88 802506A8 080941F7 */ j .L802507DC /* 17EF8C 802506AC A2220016 */ sb $v0, 0x16($s1) /* 17EF90 802506B0 24020004 */ addiu $v0, $zero, 4 /* 17EF94 802506B4 080941F7 */ j .L802507DC /* 17EF98 802506B8 A2220016 */ sb $v0, 0x16($s1) /* 17EF9C 802506BC 82230016 */ lb $v1, 0x16($s1) /* 17EFA0 802506C0 10600005 */ beqz $v1, .L802506D8 /* 17EFA4 802506C4 24020001 */ addiu $v0, $zero, 1 /* 17EFA8 802506C8 1062003A */ beq $v1, $v0, .L802507B4 /* 17EFAC 802506CC 00000000 */ nop /* 17EFB0 802506D0 080941F7 */ j .L802507DC /* 17EFB4 802506D4 00000000 */ nop .L802506D8: /* 17EFB8 802506D8 96220012 */ lhu $v0, 0x12($s1) /* 17EFBC 802506DC 2442FFB7 */ addiu $v0, $v0, -0x49 /* 17EFC0 802506E0 00021400 */ sll $v0, $v0, 0x10 /* 17EFC4 802506E4 00021C03 */ sra $v1, $v0, 0x10 /* 17EFC8 802506E8 2C620007 */ sltiu $v0, $v1, 7 /* 17EFCC 802506EC 1040002E */ beqz $v0, .L802507A8 /* 17EFD0 802506F0 00031080 */ sll $v0, $v1, 2 /* 17EFD4 802506F4 3C01802A */ lui $at, 0x802a /* 17EFD8 802506F8 00220821 */ addu $at, $at, $v0 /* 17EFDC 802506FC 8C22D028 */ lw $v0, -0x2fd8($at) /* 17EFE0 80250700 00400008 */ jr $v0 /* 17EFE4 80250704 00000000 */ nop /* 17EFE8 80250708 3C048008 */ lui $a0, 0x8008 /* 17EFEC 8025070C 248406A0 */ addiu $a0, $a0, 0x6a0 /* 17EFF0 80250710 080941DC */ j .L80250770 /* 17EFF4 80250714 00000000 */ nop /* 17EFF8 80250718 3C048008 */ lui $a0, 0x8008 /* 17EFFC 8025071C 248406D0 */ addiu $a0, $a0, 0x6d0 /* 17F000 80250720 080941DC */ j .L80250770 /* 17F004 80250724 00000000 */ nop /* 17F008 80250728 3C048008 */ lui $a0, 0x8008 /* 17F00C 8025072C 24840700 */ addiu $a0, $a0, 0x700 /* 17F010 80250730 080941DC */ j .L80250770 /* 17F014 80250734 00000000 */ nop /* 17F018 80250738 3C048008 */ lui $a0, 0x8008 /* 17F01C 8025073C 24840730 */ addiu $a0, $a0, 0x730 /* 17F020 80250740 080941DC */ j .L80250770 /* 17F024 80250744 00000000 */ nop /* 17F028 80250748 3C048008 */ lui $a0, 0x8008 /* 17F02C 8025074C 24840760 */ addiu $a0, $a0, 0x760 /* 17F030 80250750 080941DC */ j .L80250770 /* 17F034 80250754 00000000 */ nop /* 17F038 80250758 3C048008 */ lui $a0, 0x8008 /* 17F03C 8025075C 24840790 */ addiu $a0, $a0, 0x790 /* 17F040 80250760 080941DC */ j .L80250770 /* 17F044 80250764 00000000 */ nop /* 17F048 80250768 3C048008 */ lui $a0, 0x8008 /* 17F04C 8025076C 248407C0 */ addiu $a0, $a0, 0x7c0 .L80250770: /* 17F050 80250770 0C050529 */ jal create_icon /* 17F054 80250774 00000000 */ nop /* 17F058 80250778 00022400 */ sll $a0, $v0, 0x10 /* 17F05C 8025077C 00042403 */ sra $a0, $a0, 0x10 /* 17F060 80250780 24050080 */ addiu $a1, $zero, 0x80 .L80250784: /* 17F064 80250784 3C10802A */ lui $s0, 0x802a /* 17F068 80250788 2610F642 */ addiu $s0, $s0, -0x9be .L8025078C: /* 17F06C 8025078C A6020000 */ sh $v0, ($s0) .L80250790: /* 17F070 80250790 0C051280 */ jal set_icon_flags /* 17F074 80250794 00000000 */ nop /* 17F078 80250798 2405FF9C */ addiu $a1, $zero, -0x64 /* 17F07C 8025079C 86040000 */ lh $a0, ($s0) /* 17F080 802507A0 0C051261 */ jal set_icon_render_pos /* 17F084 802507A4 00A0302D */ daddu $a2, $a1, $zero .L802507A8: /* 17F088 802507A8 24020001 */ addiu $v0, $zero, 1 .L802507AC: /* 17F08C 802507AC 080941F7 */ j .L802507DC /* 17F090 802507B0 A2220016 */ sb $v0, 0x16($s1) .L802507B4: /* 17F094 802507B4 86220014 */ lh $v0, 0x14($s1) /* 17F098 802507B8 96230014 */ lhu $v1, 0x14($s1) /* 17F09C 802507BC 10400003 */ beqz $v0, .L802507CC /* 17F0A0 802507C0 2462FFFF */ addiu $v0, $v1, -1 .L802507C4: /* 17F0A4 802507C4 080941F7 */ j .L802507DC /* 17F0A8 802507C8 A6220014 */ sh $v0, 0x14($s1) .L802507CC: /* 17F0AC 802507CC 3C04802A */ lui $a0, 0x802a /* 17F0B0 802507D0 8484F642 */ lh $a0, -0x9be($a0) /* 17F0B4 802507D4 0C05123D */ jal free_icon /* 17F0B8 802507D8 24120001 */ addiu $s2, $zero, 1 .L802507DC: .L802507DC: /* 17F0BC 802507DC 12400008 */ beqz $s2, .L80250800 /* 17F0C0 802507E0 00000000 */ nop /* 17F0C4 802507E4 24040009 */ addiu $a0, $zero, 9 /* 17F0C8 802507E8 0C051F9F */ jal func_80147E7C /* 17F0CC 802507EC 24050002 */ addiu $a1, $zero, 2 /* 17F0D0 802507F0 3C018028 */ lui $at, 0x8028 /* 17F0D4 802507F4 AC2038F8 */ sw $zero, 0x38f8($at) /* 17F0D8 802507F8 0C093BE9 */ jal func_8024EFA4 /* 17F0DC 802507FC 0220202D */ daddu $a0, $s1, $zero .L80250800: /* 17F0E0 80250800 8FBF001C */ lw $ra, 0x1c($sp) /* 17F0E4 80250804 8FB20018 */ lw $s2, 0x18($sp) /* 17F0E8 80250808 8FB10014 */ lw $s1, 0x14($sp) /* 17F0EC 8025080C 8FB00010 */ lw $s0, 0x10($sp) /* 17F0F0 80250810 03E00008 */ jr $ra /* 17F0F4 80250814 27BD0020 */ addiu $sp, $sp, 0x20 /* 17F0F8 80250818 27BDFFC8 */ addiu $sp, $sp, -0x38 /* 17F0FC 8025081C AFB20020 */ sw $s2, 0x20($sp) /* 17F100 80250820 24B2000F */ addiu $s2, $a1, 0xf /* 17F104 80250824 AFB30024 */ sw $s3, 0x24($sp) /* 17F108 80250828 0080982D */ daddu $s3, $a0, $zero /* 17F10C 8025082C AFBF002C */ sw $ra, 0x2c($sp) /* 17F110 80250830 AFB40028 */ sw $s4, 0x28($sp) /* 17F114 80250834 AFB1001C */ sw $s1, 0x1c($sp) /* 17F118 80250838 AFB00018 */ sw $s0, 0x18($sp) /* 17F11C 8025083C F7B40030 */ sdc1 $f20, 0x30($sp) /* 17F120 80250840 86630012 */ lh $v1, 0x12($s3) /* 17F124 80250844 2C620055 */ sltiu $v0, $v1, 0x55 /* 17F128 80250848 1040018D */ beqz $v0, .L80250E80 /* 17F12C 8025084C 24D10006 */ addiu $s1, $a2, 6 /* 17F130 80250850 00031080 */ sll $v0, $v1, 2 /* 17F134 80250854 3C01802A */ lui $at, 0x802a /* 17F138 80250858 00220821 */ addu $at, $at, $v0 /* 17F13C 8025085C 8C22D048 */ lw $v0, -0x2fb8($at) /* 17F140 80250860 00400008 */ jr $v0 /* 17F144 80250864 00000000 */ nop /* 17F148 80250868 86620012 */ lh $v0, 0x12($s3) /* 17F14C 8025086C 00021080 */ sll $v0, $v0, 2 /* 17F150 80250870 3C108028 */ lui $s0, 0x8028 /* 17F154 80250874 02028021 */ addu $s0, $s0, $v0 /* 17F158 80250878 8E103770 */ lw $s0, 0x3770($s0) /* 17F15C 8025087C 0C04992C */ jal func_801264B0 /* 17F160 80250880 0200202D */ daddu $a0, $s0, $zero /* 17F164 80250884 2443FFFF */ addiu $v1, $v0, -1 /* 17F168 80250888 0200202D */ daddu $a0, $s0, $zero /* 17F16C 8025088C 0240282D */ daddu $a1, $s2, $zero /* 17F170 80250890 240700FF */ addiu $a3, $zero, 0xff /* 17F174 80250894 00031040 */ sll $v0, $v1, 1 /* 17F178 80250898 3C068028 */ lui $a2, 0x8028 /* 17F17C 8025089C 00C23021 */ addu $a2, $a2, $v0 /* 17F180 802508A0 84C635D4 */ lh $a2, 0x35d4($a2) /* 17F184 802508A4 2402000F */ addiu $v0, $zero, 0xf /* 17F188 802508A8 AFA20010 */ sw $v0, 0x10($sp) /* 17F18C 802508AC AFA00014 */ sw $zero, 0x14($sp) /* 17F190 802508B0 0C04993B */ jal draw_string /* 17F194 802508B4 02263021 */ addu $a2, $s1, $a2 /* 17F198 802508B8 080943A0 */ j .L80250E80 /* 17F19C 802508BC 00000000 */ nop /* 17F1A0 802508C0 86620012 */ lh $v0, 0x12($s3) /* 17F1A4 802508C4 00021080 */ sll $v0, $v0, 2 /* 17F1A8 802508C8 3C108028 */ lui $s0, 0x8028 /* 17F1AC 802508CC 02028021 */ addu $s0, $s0, $v0 /* 17F1B0 802508D0 8E103770 */ lw $s0, 0x3770($s0) /* 17F1B4 802508D4 0C04992C */ jal func_801264B0 /* 17F1B8 802508D8 0200202D */ daddu $a0, $s0, $zero /* 17F1BC 802508DC 2443FFFF */ addiu $v1, $v0, -1 /* 17F1C0 802508E0 0000282D */ daddu $a1, $zero, $zero /* 17F1C4 802508E4 00031040 */ sll $v0, $v1, 1 /* 17F1C8 802508E8 3C018028 */ lui $at, 0x8028 /* 17F1CC 802508EC 00220821 */ addu $at, $at, $v0 /* 17F1D0 802508F0 842235D4 */ lh $v0, 0x35d4($at) /* 17F1D4 802508F4 3C04802A */ lui $a0, 0x802a /* 17F1D8 802508F8 8484F640 */ lh $a0, -0x9c0($a0) /* 17F1DC 802508FC 0C0496FA */ jal set_message_value /* 17F1E0 80250900 02228821 */ addu $s1, $s1, $v0 /* 17F1E4 80250904 08094259 */ j .L80250964 /* 17F1E8 80250908 0200202D */ daddu $a0, $s0, $zero /* 17F1EC 8025090C 86620012 */ lh $v0, 0x12($s3) /* 17F1F0 80250910 00021080 */ sll $v0, $v0, 2 /* 17F1F4 80250914 3C108028 */ lui $s0, 0x8028 /* 17F1F8 80250918 02028021 */ addu $s0, $s0, $v0 /* 17F1FC 8025091C 8E103770 */ lw $s0, 0x3770($s0) /* 17F200 80250920 0C04992C */ jal func_801264B0 /* 17F204 80250924 0200202D */ daddu $a0, $s0, $zero /* 17F208 80250928 2443FFFF */ addiu $v1, $v0, -1 /* 17F20C 8025092C 0000282D */ daddu $a1, $zero, $zero /* 17F210 80250930 00031840 */ sll $v1, $v1, 1 /* 17F214 80250934 3C02802A */ lui $v0, 0x802a /* 17F218 80250938 8442F640 */ lh $v0, -0x9c0($v0) /* 17F21C 8025093C 3C018028 */ lui $at, 0x8028 /* 17F220 80250940 00230821 */ addu $at, $at, $v1 /* 17F224 80250944 842335D4 */ lh $v1, 0x35d4($at) /* 17F228 80250948 00021080 */ sll $v0, $v0, 2 /* 17F22C 8025094C 3C048028 */ lui $a0, 0x8028 /* 17F230 80250950 00822021 */ addu $a0, $a0, $v0 /* 17F234 80250954 8C8438C4 */ lw $a0, 0x38c4($a0) /* 17F238 80250958 0C0496CF */ jal set_message_string /* 17F23C 8025095C 02238821 */ addu $s1, $s1, $v1 /* 17F240 80250960 0200202D */ daddu $a0, $s0, $zero .L80250964: /* 17F244 80250964 0240282D */ daddu $a1, $s2, $zero /* 17F248 80250968 0220302D */ daddu $a2, $s1, $zero /* 17F24C 8025096C 240700FF */ addiu $a3, $zero, 0xff /* 17F250 80250970 2402000F */ addiu $v0, $zero, 0xf /* 17F254 80250974 AFA20010 */ sw $v0, 0x10($sp) /* 17F258 80250978 0C04993B */ jal draw_string /* 17F25C 8025097C AFA00014 */ sw $zero, 0x14($sp) /* 17F260 80250980 080943A0 */ j .L80250E80 /* 17F264 80250984 00000000 */ nop /* 17F268 80250988 2645001D */ addiu $a1, $s2, 0x1d /* 17F26C 8025098C 26260006 */ addiu $a2, $s1, 6 /* 17F270 80250990 86620012 */ lh $v0, 0x12($s3) /* 17F274 80250994 240700FF */ addiu $a3, $zero, 0xff /* 17F278 80250998 00021080 */ sll $v0, $v0, 2 /* 17F27C 8025099C 3C108028 */ lui $s0, 0x8028 /* 17F280 802509A0 02028021 */ addu $s0, $s0, $v0 /* 17F284 802509A4 8E103770 */ lw $s0, 0x3770($s0) /* 17F288 802509A8 2402000F */ addiu $v0, $zero, 0xf /* 17F28C 802509AC AFA20010 */ sw $v0, 0x10($sp) /* 17F290 802509B0 AFA00014 */ sw $zero, 0x14($sp) /* 17F294 802509B4 0C04993B */ jal draw_string /* 17F298 802509B8 0200202D */ daddu $a0, $s0, $zero /* 17F29C 802509BC 2645000D */ addiu $a1, $s2, 0xd /* 17F2A0 802509C0 3C10802A */ lui $s0, 0x802a /* 17F2A4 802509C4 2610F642 */ addiu $s0, $s0, -0x9be /* 17F2A8 802509C8 86040000 */ lh $a0, ($s0) /* 17F2AC 802509CC 0C051261 */ jal set_icon_render_pos /* 17F2B0 802509D0 2626000E */ addiu $a2, $s1, 0xe /* 17F2B4 802509D4 0809439D */ j .L80250E74 /* 17F2B8 802509D8 00000000 */ nop /* 17F2BC 802509DC 82620016 */ lb $v0, 0x16($s3) /* 17F2C0 802509E0 28420002 */ slti $v0, $v0, 2 /* 17F2C4 802509E4 10400002 */ beqz $v0, .L802509F0 /* 17F2C8 802509E8 241400FF */ addiu $s4, $zero, 0xff /* 17F2CC 802509EC 241400A0 */ addiu $s4, $zero, 0xa0 .L802509F0: /* 17F2D0 802509F0 86630012 */ lh $v1, 0x12($s3) /* 17F2D4 802509F4 2402003B */ addiu $v0, $zero, 0x3b /* 17F2D8 802509F8 50620001 */ beql $v1, $v0, .L80250A00 /* 17F2DC 802509FC 241400FF */ addiu $s4, $zero, 0xff .L80250A00: /* 17F2E0 80250A00 2652FFF5 */ addiu $s2, $s2, -0xb /* 17F2E4 80250A04 00031080 */ sll $v0, $v1, 2 /* 17F2E8 80250A08 3C108028 */ lui $s0, 0x8028 /* 17F2EC 80250A0C 02028021 */ addu $s0, $s0, $v0 /* 17F2F0 80250A10 8E103770 */ lw $s0, 0x3770($s0) /* 17F2F4 80250A14 2631FFFA */ addiu $s1, $s1, -6 /* 17F2F8 80250A18 0C04992C */ jal func_801264B0 /* 17F2FC 80250A1C 0200202D */ daddu $a0, $s0, $zero /* 17F300 80250A20 2443FFFF */ addiu $v1, $v0, -1 /* 17F304 80250A24 0200202D */ daddu $a0, $s0, $zero /* 17F308 80250A28 2645000B */ addiu $a1, $s2, 0xb /* 17F30C 80250A2C 0280382D */ daddu $a3, $s4, $zero /* 17F310 80250A30 00031040 */ sll $v0, $v1, 1 /* 17F314 80250A34 3C038028 */ lui $v1, 0x8028 /* 17F318 80250A38 00621821 */ addu $v1, $v1, $v0 /* 17F31C 80250A3C 846335D4 */ lh $v1, 0x35d4($v1) /* 17F320 80250A40 2402000F */ addiu $v0, $zero, 0xf /* 17F324 80250A44 AFA20010 */ sw $v0, 0x10($sp) /* 17F328 80250A48 AFA00014 */ sw $zero, 0x14($sp) /* 17F32C 80250A4C 02238821 */ addu $s1, $s1, $v1 /* 17F330 80250A50 0C04993B */ jal draw_string /* 17F334 80250A54 26260006 */ addiu $a2, $s1, 6 /* 17F338 80250A58 96620012 */ lhu $v0, 0x12($s3) /* 17F33C 80250A5C 2442FFD2 */ addiu $v0, $v0, -0x2e /* 17F340 80250A60 00021400 */ sll $v0, $v0, 0x10 /* 17F344 80250A64 00021C03 */ sra $v1, $v0, 0x10 /* 17F348 80250A68 2C620014 */ sltiu $v0, $v1, 0x14 /* 17F34C 80250A6C 10400104 */ beqz $v0, .L80250E80 /* 17F350 80250A70 00031080 */ sll $v0, $v1, 2 /* 17F354 80250A74 3C01802A */ lui $at, 0x802a /* 17F358 80250A78 00220821 */ addu $at, $at, $v0 /* 17F35C 80250A7C 8C22D1A0 */ lw $v0, -0x2e60($at) /* 17F360 80250A80 00400008 */ jr $v0 /* 17F364 80250A84 00000000 */ nop /* 17F368 80250A88 26450041 */ addiu $a1, $s2, 0x41 /* 17F36C 80250A8C 3C10802A */ lui $s0, 0x802a /* 17F370 80250A90 2610F642 */ addiu $s0, $s0, -0x9be /* 17F374 80250A94 86040000 */ lh $a0, ($s0) /* 17F378 80250A98 08094394 */ j .L80250E50 /* 17F37C 80250A9C 2626000E */ addiu $a2, $s1, 0xe /* 17F380 80250AA0 26450037 */ addiu $a1, $s2, 0x37 /* 17F384 80250AA4 3C10802A */ lui $s0, 0x802a /* 17F388 80250AA8 2610F642 */ addiu $s0, $s0, -0x9be /* 17F38C 80250AAC 86040000 */ lh $a0, ($s0) /* 17F390 80250AB0 0C051261 */ jal set_icon_render_pos /* 17F394 80250AB4 2626000E */ addiu $a2, $s1, 0xe /* 17F398 80250AB8 86040000 */ lh $a0, ($s0) /* 17F39C 80250ABC 3C053F19 */ lui $a1, 0x3f19 /* 17F3A0 80250AC0 0C051308 */ jal func_80144C20 /* 17F3A4 80250AC4 34A5999A */ ori $a1, $a1, 0x999a /* 17F3A8 80250AC8 86040000 */ lh $a0, ($s0) /* 17F3AC 80250ACC 0C0513AC */ jal func_80144EB0 /* 17F3B0 80250AD0 0280282D */ daddu $a1, $s4, $zero /* 17F3B4 80250AD4 86040000 */ lh $a0, ($s0) /* 17F3B8 80250AD8 0C0511EA */ jal draw_icon_0 /* 17F3BC 80250ADC 00000000 */ nop /* 17F3C0 80250AE0 26450049 */ addiu $a1, $s2, 0x49 /* 17F3C4 80250AE4 3C10802A */ lui $s0, 0x802a /* 17F3C8 80250AE8 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F3CC 80250AEC 86040000 */ lh $a0, ($s0) /* 17F3D0 80250AF0 0C051261 */ jal set_icon_render_pos /* 17F3D4 80250AF4 2626001F */ addiu $a2, $s1, 0x1f /* 17F3D8 80250AF8 0809439A */ j .L80250E68 /* 17F3DC 80250AFC 00000000 */ nop /* 17F3E0 80250B00 26450040 */ addiu $a1, $s2, 0x40 /* 17F3E4 80250B04 3C10802A */ lui $s0, 0x802a /* 17F3E8 80250B08 2610F642 */ addiu $s0, $s0, -0x9be /* 17F3EC 80250B0C 86040000 */ lh $a0, ($s0) /* 17F3F0 80250B10 08094394 */ j .L80250E50 /* 17F3F4 80250B14 2626000E */ addiu $a2, $s1, 0xe /* 17F3F8 80250B18 26450043 */ addiu $a1, $s2, 0x43 /* 17F3FC 80250B1C 3C10802A */ lui $s0, 0x802a /* 17F400 80250B20 2610F642 */ addiu $s0, $s0, -0x9be /* 17F404 80250B24 86040000 */ lh $a0, ($s0) /* 17F408 80250B28 08094394 */ j .L80250E50 /* 17F40C 80250B2C 2626000E */ addiu $a2, $s1, 0xe /* 17F410 80250B30 26450038 */ addiu $a1, $s2, 0x38 /* 17F414 80250B34 3C10802A */ lui $s0, 0x802a /* 17F418 80250B38 2610F642 */ addiu $s0, $s0, -0x9be /* 17F41C 80250B3C 86040000 */ lh $a0, ($s0) /* 17F420 80250B40 0C051261 */ jal set_icon_render_pos /* 17F424 80250B44 2626000E */ addiu $a2, $s1, 0xe /* 17F428 80250B48 86040000 */ lh $a0, ($s0) /* 17F42C 80250B4C 3C053F19 */ lui $a1, 0x3f19 /* 17F430 80250B50 08094398 */ j .L80250E60 /* 17F434 80250B54 34A5999A */ ori $a1, $a1, 0x999a /* 17F438 80250B58 26450041 */ addiu $a1, $s2, 0x41 /* 17F43C 80250B5C 3C10802A */ lui $s0, 0x802a /* 17F440 80250B60 2610F642 */ addiu $s0, $s0, -0x9be /* 17F444 80250B64 86040000 */ lh $a0, ($s0) /* 17F448 80250B68 0C051261 */ jal set_icon_render_pos /* 17F44C 80250B6C 2626000D */ addiu $a2, $s1, 0xd /* 17F450 80250B70 86040000 */ lh $a0, ($s0) /* 17F454 80250B74 3C053F19 */ lui $a1, 0x3f19 /* 17F458 80250B78 0C051308 */ jal func_80144C20 /* 17F45C 80250B7C 34A5999A */ ori $a1, $a1, 0x999a /* 17F460 80250B80 86040000 */ lh $a0, ($s0) /* 17F464 80250B84 0C0513AC */ jal func_80144EB0 /* 17F468 80250B88 0280282D */ daddu $a1, $s4, $zero /* 17F46C 80250B8C 86040000 */ lh $a0, ($s0) /* 17F470 80250B90 0C0511EA */ jal draw_icon_0 /* 17F474 80250B94 00000000 */ nop /* 17F478 80250B98 26450092 */ addiu $a1, $s2, 0x92 /* 17F47C 80250B9C 3C10802A */ lui $s0, 0x802a /* 17F480 80250BA0 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F484 80250BA4 86040000 */ lh $a0, ($s0) /* 17F488 80250BA8 08094381 */ j .L80250E04 /* 17F48C 80250BAC 26260020 */ addiu $a2, $s1, 0x20 /* 17F490 80250BB0 26450056 */ addiu $a1, $s2, 0x56 /* 17F494 80250BB4 3C10802A */ lui $s0, 0x802a /* 17F498 80250BB8 2610F642 */ addiu $s0, $s0, -0x9be /* 17F49C 80250BBC 2631000D */ addiu $s1, $s1, 0xd /* 17F4A0 80250BC0 86040000 */ lh $a0, ($s0) /* 17F4A4 80250BC4 0C051261 */ jal set_icon_render_pos /* 17F4A8 80250BC8 0220302D */ daddu $a2, $s1, $zero /* 17F4AC 80250BCC 3C013F00 */ lui $at, 0x3f00 /* 17F4B0 80250BD0 4481A000 */ mtc1 $at, $f20 /* 17F4B4 80250BD4 86040000 */ lh $a0, ($s0) /* 17F4B8 80250BD8 4405A000 */ mfc1 $a1, $f20 /* 17F4BC 80250BDC 0C051308 */ jal func_80144C20 /* 17F4C0 80250BE0 00000000 */ nop /* 17F4C4 80250BE4 86040000 */ lh $a0, ($s0) /* 17F4C8 80250BE8 0C0513AC */ jal func_80144EB0 /* 17F4CC 80250BEC 0280282D */ daddu $a1, $s4, $zero /* 17F4D0 80250BF0 86040000 */ lh $a0, ($s0) /* 17F4D4 80250BF4 0C0511EA */ jal draw_icon_0 /* 17F4D8 80250BF8 00000000 */ nop /* 17F4DC 80250BFC 26450040 */ addiu $a1, $s2, 0x40 /* 17F4E0 80250C00 3C10802A */ lui $s0, 0x802a /* 17F4E4 80250C04 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F4E8 80250C08 86040000 */ lh $a0, ($s0) /* 17F4EC 80250C0C 0C051261 */ jal set_icon_render_pos /* 17F4F0 80250C10 0220302D */ daddu $a2, $s1, $zero /* 17F4F4 80250C14 86040000 */ lh $a0, ($s0) /* 17F4F8 80250C18 4405A000 */ mfc1 $a1, $f20 /* 17F4FC 80250C1C 0C051308 */ jal func_80144C20 /* 17F500 80250C20 00000000 */ nop /* 17F504 80250C24 86040000 */ lh $a0, ($s0) /* 17F508 80250C28 0C0513AC */ jal func_80144EB0 /* 17F50C 80250C2C 0280282D */ daddu $a1, $s4, $zero /* 17F510 80250C30 86040000 */ lh $a0, ($s0) /* 17F514 80250C34 0C0511EA */ jal draw_icon_0 /* 17F518 80250C38 00000000 */ nop /* 17F51C 80250C3C 2645006C */ addiu $a1, $s2, 0x6c /* 17F520 80250C40 3C10802A */ lui $s0, 0x802a /* 17F524 80250C44 2610F646 */ addiu $s0, $s0, -0x9ba /* 17F528 80250C48 86040000 */ lh $a0, ($s0) /* 17F52C 80250C4C 08094394 */ j .L80250E50 /* 17F530 80250C50 0220302D */ daddu $a2, $s1, $zero /* 17F534 80250C54 26450069 */ addiu $a1, $s2, 0x69 /* 17F538 80250C58 3C10802A */ lui $s0, 0x802a /* 17F53C 80250C5C 2610F642 */ addiu $s0, $s0, -0x9be /* 17F540 80250C60 86040000 */ lh $a0, ($s0) /* 17F544 80250C64 0C051261 */ jal set_icon_render_pos /* 17F548 80250C68 2626000D */ addiu $a2, $s1, 0xd /* 17F54C 80250C6C 86040000 */ lh $a0, ($s0) /* 17F550 80250C70 0C0513AC */ jal func_80144EB0 /* 17F554 80250C74 0280282D */ daddu $a1, $s4, $zero /* 17F558 80250C78 86040000 */ lh $a0, ($s0) /* 17F55C 80250C7C 0C0511EA */ jal draw_icon_0 /* 17F560 80250C80 00000000 */ nop /* 17F564 80250C84 26450041 */ addiu $a1, $s2, 0x41 /* 17F568 80250C88 3C10802A */ lui $s0, 0x802a /* 17F56C 80250C8C 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F570 80250C90 86040000 */ lh $a0, ($s0) /* 17F574 80250C94 08094394 */ j .L80250E50 /* 17F578 80250C98 2626000E */ addiu $a2, $s1, 0xe /* 17F57C 80250C9C 2645003F */ addiu $a1, $s2, 0x3f /* 17F580 80250CA0 3C10802A */ lui $s0, 0x802a /* 17F584 80250CA4 2610F642 */ addiu $s0, $s0, -0x9be /* 17F588 80250CA8 2631000E */ addiu $s1, $s1, 0xe /* 17F58C 80250CAC 86040000 */ lh $a0, ($s0) /* 17F590 80250CB0 0C051261 */ jal set_icon_render_pos /* 17F594 80250CB4 0220302D */ daddu $a2, $s1, $zero /* 17F598 80250CB8 3C013F00 */ lui $at, 0x3f00 /* 17F59C 80250CBC 4481A000 */ mtc1 $at, $f20 /* 17F5A0 80250CC0 86040000 */ lh $a0, ($s0) /* 17F5A4 80250CC4 4405A000 */ mfc1 $a1, $f20 /* 17F5A8 80250CC8 0C051308 */ jal func_80144C20 /* 17F5AC 80250CCC 00000000 */ nop /* 17F5B0 80250CD0 86040000 */ lh $a0, ($s0) /* 17F5B4 80250CD4 0C0513AC */ jal func_80144EB0 /* 17F5B8 80250CD8 0280282D */ daddu $a1, $s4, $zero /* 17F5BC 80250CDC 86040000 */ lh $a0, ($s0) /* 17F5C0 80250CE0 0C0511EA */ jal draw_icon_0 /* 17F5C4 80250CE4 00000000 */ nop /* 17F5C8 80250CE8 26450054 */ addiu $a1, $s2, 0x54 /* 17F5CC 80250CEC 3C10802A */ lui $s0, 0x802a /* 17F5D0 80250CF0 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F5D4 80250CF4 86040000 */ lh $a0, ($s0) /* 17F5D8 80250CF8 08094394 */ j .L80250E50 /* 17F5DC 80250CFC 0220302D */ daddu $a2, $s1, $zero /* 17F5E0 80250D00 2645007C */ addiu $a1, $s2, 0x7c /* 17F5E4 80250D04 3C10802A */ lui $s0, 0x802a /* 17F5E8 80250D08 2610F642 */ addiu $s0, $s0, -0x9be /* 17F5EC 80250D0C 86040000 */ lh $a0, ($s0) /* 17F5F0 80250D10 08094394 */ j .L80250E50 /* 17F5F4 80250D14 2626000E */ addiu $a2, $s1, 0xe /* 17F5F8 80250D18 26450038 */ addiu $a1, $s2, 0x38 /* 17F5FC 80250D1C 3C10802A */ lui $s0, 0x802a /* 17F600 80250D20 2610F642 */ addiu $s0, $s0, -0x9be /* 17F604 80250D24 86040000 */ lh $a0, ($s0) /* 17F608 80250D28 0C051261 */ jal set_icon_render_pos /* 17F60C 80250D2C 2626001F */ addiu $a2, $s1, 0x1f /* 17F610 80250D30 86040000 */ lh $a0, ($s0) /* 17F614 80250D34 0C0513AC */ jal func_80144EB0 /* 17F618 80250D38 0280282D */ daddu $a1, $s4, $zero /* 17F61C 80250D3C 86040000 */ lh $a0, ($s0) /* 17F620 80250D40 0C0511EA */ jal draw_icon_0 /* 17F624 80250D44 00000000 */ nop /* 17F628 80250D48 26450035 */ addiu $a1, $s2, 0x35 /* 17F62C 80250D4C 3C10802A */ lui $s0, 0x802a /* 17F630 80250D50 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F634 80250D54 86040000 */ lh $a0, ($s0) /* 17F638 80250D58 08094394 */ j .L80250E50 /* 17F63C 80250D5C 2626000E */ addiu $a2, $s1, 0xe /* 17F640 80250D60 2645006B */ addiu $a1, $s2, 0x6b /* 17F644 80250D64 3C10802A */ lui $s0, 0x802a /* 17F648 80250D68 2610F642 */ addiu $s0, $s0, -0x9be /* 17F64C 80250D6C 86040000 */ lh $a0, ($s0) /* 17F650 80250D70 0C051261 */ jal set_icon_render_pos /* 17F654 80250D74 2626000D */ addiu $a2, $s1, 0xd /* 17F658 80250D78 86040000 */ lh $a0, ($s0) /* 17F65C 80250D7C 3C053F19 */ lui $a1, 0x3f19 /* 17F660 80250D80 34A5999A */ ori $a1, $a1, 0x999a /* 17F664 80250D84 0C051308 */ jal func_80144C20 /* 17F668 80250D88 2631000F */ addiu $s1, $s1, 0xf /* 17F66C 80250D8C 86040000 */ lh $a0, ($s0) /* 17F670 80250D90 0C0513AC */ jal func_80144EB0 /* 17F674 80250D94 0280282D */ daddu $a1, $s4, $zero /* 17F678 80250D98 86040000 */ lh $a0, ($s0) /* 17F67C 80250D9C 0C0511EA */ jal draw_icon_0 /* 17F680 80250DA0 00000000 */ nop /* 17F684 80250DA4 264500D2 */ addiu $a1, $s2, 0xd2 /* 17F688 80250DA8 3C10802A */ lui $s0, 0x802a /* 17F68C 80250DAC 2610F644 */ addiu $s0, $s0, -0x9bc /* 17F690 80250DB0 86040000 */ lh $a0, ($s0) /* 17F694 80250DB4 0C051261 */ jal set_icon_render_pos /* 17F698 80250DB8 0220302D */ daddu $a2, $s1, $zero /* 17F69C 80250DBC 3C013F4C */ lui $at, 0x3f4c /* 17F6A0 80250DC0 3421CCCD */ ori $at, $at, 0xcccd /* 17F6A4 80250DC4 4481A000 */ mtc1 $at, $f20 /* 17F6A8 80250DC8 86040000 */ lh $a0, ($s0) /* 17F6AC 80250DCC 4405A000 */ mfc1 $a1, $f20 /* 17F6B0 80250DD0 0C051308 */ jal func_80144C20 /* 17F6B4 80250DD4 00000000 */ nop /* 17F6B8 80250DD8 86040000 */ lh $a0, ($s0) /* 17F6BC 80250DDC 0C0513AC */ jal func_80144EB0 /* 17F6C0 80250DE0 0280282D */ daddu $a1, $s4, $zero /* 17F6C4 80250DE4 86040000 */ lh $a0, ($s0) /* 17F6C8 80250DE8 0C051086 */ jal func_80144218 /* 17F6CC 80250DEC 00000000 */ nop /* 17F6D0 80250DF0 26450038 */ addiu $a1, $s2, 0x38 /* 17F6D4 80250DF4 3C10802A */ lui $s0, 0x802a /* 17F6D8 80250DF8 2610F646 */ addiu $s0, $s0, -0x9ba /* 17F6DC 80250DFC 86040000 */ lh $a0, ($s0) /* 17F6E0 80250E00 0220302D */ daddu $a2, $s1, $zero .L80250E04: /* 17F6E4 80250E04 0C051261 */ jal set_icon_render_pos /* 17F6E8 80250E08 00000000 */ nop /* 17F6EC 80250E0C 86040000 */ lh $a0, ($s0) /* 17F6F0 80250E10 3C053F4C */ lui $a1, 0x3f4c /* 17F6F4 80250E14 0C051308 */ jal func_80144C20 /* 17F6F8 80250E18 34A5CCCD */ ori $a1, $a1, 0xcccd /* 17F6FC 80250E1C 86040000 */ lh $a0, ($s0) /* 17F700 80250E20 0C0513AC */ jal func_80144EB0 /* 17F704 80250E24 0280282D */ daddu $a1, $s4, $zero /* 17F708 80250E28 86040000 */ lh $a0, ($s0) /* 17F70C 80250E2C 0C051086 */ jal func_80144218 /* 17F710 80250E30 00000000 */ nop /* 17F714 80250E34 080943A0 */ j .L80250E80 /* 17F718 80250E38 00000000 */ nop /* 17F71C 80250E3C 26450040 */ addiu $a1, $s2, 0x40 /* 17F720 80250E40 3C10802A */ lui $s0, 0x802a /* 17F724 80250E44 2610F642 */ addiu $s0, $s0, -0x9be /* 17F728 80250E48 86040000 */ lh $a0, ($s0) /* 17F72C 80250E4C 2626000D */ addiu $a2, $s1, 0xd .L80250E50: /* 17F730 80250E50 0C051261 */ jal set_icon_render_pos /* 17F734 80250E54 00000000 */ nop /* 17F738 80250E58 86040000 */ lh $a0, ($s0) /* 17F73C 80250E5C 3C053F00 */ lui $a1, 0x3f00 .L80250E60: /* 17F740 80250E60 0C051308 */ jal func_80144C20 /* 17F744 80250E64 00000000 */ nop .L80250E68: /* 17F748 80250E68 86040000 */ lh $a0, ($s0) /* 17F74C 80250E6C 0C0513AC */ jal func_80144EB0 /* 17F750 80250E70 0280282D */ daddu $a1, $s4, $zero .L80250E74: /* 17F754 80250E74 86040000 */ lh $a0, ($s0) /* 17F758 80250E78 0C0511EA */ jal draw_icon_0 /* 17F75C 80250E7C 00000000 */ nop .L80250E80: .L80250E80: /* 17F760 80250E80 8FBF002C */ lw $ra, 0x2c($sp) /* 17F764 80250E84 8FB40028 */ lw $s4, 0x28($sp) /* 17F768 80250E88 8FB30024 */ lw $s3, 0x24($sp) /* 17F76C 80250E8C 8FB20020 */ lw $s2, 0x20($sp) /* 17F770 80250E90 8FB1001C */ lw $s1, 0x1c($sp) /* 17F774 80250E94 8FB00018 */ lw $s0, 0x18($sp) /* 17F778 80250E98 D7B40030 */ ldc1 $f20, 0x30($sp) /* 17F77C 80250E9C 03E00008 */ jr $ra /* 17F780 80250EA0 27BD0038 */ addiu $sp, $sp, 0x38