.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_80048064 /* 023464 80048064 27BDFFE0 */ addiu $sp, $sp, -0x20 /* 023468 80048068 00041040 */ sll $v0, $a0, 1 /* 02346C 8004806C 00441021 */ addu $v0, $v0, $a0 /* 023470 80048070 00021080 */ sll $v0, $v0, 2 /* 023474 80048074 00441023 */ subu $v0, $v0, $a0 /* 023478 80048078 3C03800A */ lui $v1, 0x800a /* 02347C 8004807C 8C630F44 */ lw $v1, 0xf44($v1) /* 023480 80048080 00021100 */ sll $v0, $v0, 4 /* 023484 80048084 AFBF0018 */ sw $ra, 0x18($sp) /* 023488 80048088 AFB10014 */ sw $s1, 0x14($sp) /* 02348C 8004808C AFB00010 */ sw $s0, 0x10($sp) /* 023490 80048090 00628821 */ addu $s1, $v1, $v0 /* 023494 80048094 2403FBFF */ addiu $v1, $zero, -0x401 /* 023498 80048098 8E220000 */ lw $v0, ($s1) /* 02349C 8004809C 822400A0 */ lb $a0, 0xa0($s1) /* 0234A0 800480A0 00431024 */ and $v0, $v0, $v1 /* 0234A4 800480A4 1480000E */ bnez $a0, .L800480E0 /* 0234A8 800480A8 AE220000 */ sw $v0, ($s1) /* 0234AC 800480AC 3C048011 */ lui $a0, 0x8011 /* 0234B0 800480B0 248489C4 */ addiu $a0, $a0, -0x763c /* 0234B4 800480B4 24020001 */ addiu $v0, $zero, 1 /* 0234B8 800480B8 0C050529 */ jal create_icon /* 0234BC 800480BC A22200A0 */ sb $v0, 0xa0($s1) /* 0234C0 800480C0 0040802D */ daddu $s0, $v0, $zero /* 0234C4 800480C4 0200202D */ daddu $a0, $s0, $zero /* 0234C8 800480C8 0C051280 */ jal set_icon_flags /* 0234CC 800480CC 24050002 */ addiu $a1, $zero, 2 /* 0234D0 800480D0 0200202D */ daddu $a0, $s0, $zero /* 0234D4 800480D4 0C051280 */ jal set_icon_flags /* 0234D8 800480D8 24050080 */ addiu $a1, $zero, 0x80 /* 0234DC 800480DC AE3000A4 */ sw $s0, 0xa4($s1) .L800480E0: /* 0234E0 800480E0 8FBF0018 */ lw $ra, 0x18($sp) /* 0234E4 800480E4 8FB10014 */ lw $s1, 0x14($sp) /* 0234E8 800480E8 8FB00010 */ lw $s0, 0x10($sp) /* 0234EC 800480EC 03E00008 */ jr $ra /* 0234F0 800480F0 27BD0020 */ addiu $sp, $sp, 0x20