.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80246358 /* 139698 80246358 0220202D */ daddu $a0, $s1, $zero /* 13969C 8024635C 0220202D */ daddu $a0, $s1, $zero /* 1396A0 80246360 27C6004B */ addiu $a2, $fp, 0x4b /* 1396A4 80246364 02158021 */ addu $s0, $s0, $s5 /* 1396A8 80246368 00108080 */ sll $s0, $s0, 2 /* 1396AC 8024636C 2610008C */ addiu $s0, $s0, 0x8c /* 1396B0 80246370 8FA80084 */ lw $t0, 0x84($sp) /* 1396B4 80246374 3C058025 */ lui $a1, 0x8025 /* 1396B8 80246378 8CA5F46C */ lw $a1, -0xb94($a1) /* 1396BC 8024637C 01108021 */ addu $s0, $t0, $s0 /* 1396C0 80246380 0C051261 */ jal set_icon_render_pos /* 1396C4 80246384 02052821 */ addu $a1, $s0, $a1 /* 1396C8 80246388 12800005 */ beqz $s4, .L802463A0 /* 1396CC 8024638C 00000000 */ nop /* 1396D0 80246390 0C0511F8 */ jal func_801447E0 /* 1396D4 80246394 0220202D */ daddu $a0, $s1, $zero /* 1396D8 80246398 080918EA */ j .L802463A8 /* 1396DC 8024639C 0000A02D */ daddu $s4, $zero, $zero .L802463A0: /* 1396E0 802463A0 0C0511F1 */ jal draw_icon_1 /* 1396E4 802463A4 0220202D */ daddu $a0, $s1, $zero .L802463A8: /* 1396E8 802463A8 0276102A */ slt $v0, $s3, $s6 /* 1396EC 802463AC 104000CA */ beqz $v0, .L802466D8 /* 1396F0 802463B0 26520001 */ addiu $s2, $s2, 1 /* 1396F4 802463B4 26730001 */ addiu $s3, $s3, 1 /* 1396F8 802463B8 00158080 */ sll $s0, $s5, 2 /* 1396FC 802463BC 3C058025 */ lui $a1, 0x8025 /* 139700 802463C0 00B02821 */ addu $a1, $a1, $s0 /* 139704 802463C4 8CA5F434 */ lw $a1, -0xbcc($a1) /* 139708 802463C8 0C0511FF */ jal set_menu_icon_script /* 13970C 802463CC 0220202D */ daddu $a0, $s1, $zero /* 139710 802463D0 0220202D */ daddu $a0, $s1, $zero /* 139714 802463D4 27C6004B */ addiu $a2, $fp, 0x4b /* 139718 802463D8 02158021 */ addu $s0, $s0, $s5 /* 13971C 802463DC 00108080 */ sll $s0, $s0, 2 /* 139720 802463E0 2610008C */ addiu $s0, $s0, 0x8c /* 139724 802463E4 8FA80084 */ lw $t0, 0x84($sp) /* 139728 802463E8 3C058025 */ lui $a1, 0x8025 /* 13972C 802463EC 8CA5F470 */ lw $a1, -0xb90($a1) /* 139730 802463F0 01108021 */ addu $s0, $t0, $s0 /* 139734 802463F4 0C051261 */ jal set_icon_render_pos /* 139738 802463F8 02052821 */ addu $a1, $s0, $a1 /* 13973C 802463FC 12800005 */ beqz $s4, .L80246414 /* 139740 80246400 00000000 */ nop /* 139744 80246404 0C0511F8 */ jal func_801447E0 /* 139748 80246408 0220202D */ daddu $a0, $s1, $zero /* 13974C 8024640C 08091907 */ j .L8024641C /* 139750 80246410 0000A02D */ daddu $s4, $zero, $zero .L80246414: /* 139754 80246414 0C0511F1 */ jal draw_icon_1 /* 139758 80246418 0220202D */ daddu $a0, $s1, $zero .L8024641C: /* 13975C 8024641C 0276102A */ slt $v0, $s3, $s6 /* 139760 80246420 104000AD */ beqz $v0, .L802466D8 /* 139764 80246424 26520001 */ addiu $s2, $s2, 1 /* 139768 80246428 26730001 */ addiu $s3, $s3, 1 /* 13976C 8024642C 00158080 */ sll $s0, $s5, 2 /* 139770 80246430 3C058025 */ lui $a1, 0x8025 /* 139774 80246434 00B02821 */ addu $a1, $a1, $s0 /* 139778 80246438 8CA5F434 */ lw $a1, -0xbcc($a1) /* 13977C 8024643C 0C0511FF */ jal set_menu_icon_script /* 139780 80246440 0220202D */ daddu $a0, $s1, $zero /* 139784 80246444 0220202D */ daddu $a0, $s1, $zero /* 139788 80246448 27C6004B */ addiu $a2, $fp, 0x4b /* 13978C 8024644C 02158021 */ addu $s0, $s0, $s5 /* 139790 80246450 00108080 */ sll $s0, $s0, 2 /* 139794 80246454 2610008C */ addiu $s0, $s0, 0x8c /* 139798 80246458 8FA80084 */ lw $t0, 0x84($sp) /* 13979C 8024645C 3C058025 */ lui $a1, 0x8025 /* 1397A0 80246460 8CA5F474 */ lw $a1, -0xb8c($a1) /* 1397A4 80246464 01108021 */ addu $s0, $t0, $s0 /* 1397A8 80246468 0C051261 */ jal set_icon_render_pos /* 1397AC 8024646C 02052821 */ addu $a1, $s0, $a1 /* 1397B0 80246470 12800005 */ beqz $s4, .L80246488 /* 1397B4 80246474 00000000 */ nop /* 1397B8 80246478 0C0511F8 */ jal func_801447E0 /* 1397BC 8024647C 0220202D */ daddu $a0, $s1, $zero /* 1397C0 80246480 08091924 */ j func_80246490 /* 1397C4 80246484 0000A02D */ daddu $s4, $zero, $zero .L80246488: /* 1397C8 80246488 0C0511F1 */ jal draw_icon_1 /* 1397CC 8024648C 0220202D */ daddu $a0, $s1, $zero