papermario/asm/nonmatchings/code_415D90/func_802A2C84.s
2020-08-12 22:37:16 -04:00

1780 lines
84 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A2C84
/* 417A14 802A2C84 3C02802B */ lui $v0, 0x802b
/* 417A18 802A2C88 9042D108 */ lbu $v0, -0x2ef8($v0)
/* 417A1C 802A2C8C 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 417A20 802A2C90 AFB1002C */ sw $s1, 0x2c($sp)
/* 417A24 802A2C94 3C11800E */ lui $s1, 0x800e
/* 417A28 802A2C98 2631C070 */ addiu $s1, $s1, -0x3f90
/* 417A2C 802A2C9C AFBF0044 */ sw $ra, 0x44($sp)
/* 417A30 802A2CA0 AFB60040 */ sw $s6, 0x40($sp)
/* 417A34 802A2CA4 AFB5003C */ sw $s5, 0x3c($sp)
/* 417A38 802A2CA8 AFB40038 */ sw $s4, 0x38($sp)
/* 417A3C 802A2CAC AFB30034 */ sw $s3, 0x34($sp)
/* 417A40 802A2CB0 AFB20030 */ sw $s2, 0x30($sp)
/* 417A44 802A2CB4 24420002 */ addiu $v0, $v0, 2
/* 417A48 802A2CB8 00021600 */ sll $v0, $v0, 0x18
/* 417A4C 802A2CBC 00021E03 */ sra $v1, $v0, 0x18
/* 417A50 802A2CC0 2C62002D */ sltiu $v0, $v1, 0x2d
/* 417A54 802A2CC4 104003E9 */ beqz $v0, .L802A3C6C
/* 417A58 802A2CC8 AFB00028 */ sw $s0, 0x28($sp)
/* 417A5C 802A2CCC 00031080 */ sll $v0, $v1, 2
/* 417A60 802A2CD0 3C01802B */ lui $at, 0x802b
/* 417A64 802A2CD4 00220821 */ addu $at, $at, $v0
/* 417A68 802A2CD8 8C22B808 */ lw $v0, -0x47f8($at)
/* 417A6C 802A2CDC 00400008 */ jr $v0
/* 417A70 802A2CE0 00000000 */ nop
/* 417A74 802A2CE4 3C05802B */ lui $a1, 0x802b
/* 417A78 802A2CE8 80A5D10C */ lb $a1, -0x2ef4($a1)
/* 417A7C 802A2CEC 3C04802B */ lui $a0, 0x802b
/* 417A80 802A2CF0 8084D109 */ lb $a0, -0x2ef7($a0)
/* 417A84 802A2CF4 24020014 */ addiu $v0, $zero, 0x14
/* 417A88 802A2CF8 3C01802B */ lui $at, 0x802b
/* 417A8C 802A2CFC A422D1F0 */ sh $v0, -0x2e10($at)
/* 417A90 802A2D00 24020044 */ addiu $v0, $zero, 0x44
/* 417A94 802A2D04 3C01802B */ lui $at, 0x802b
/* 417A98 802A2D08 A422D1F2 */ sh $v0, -0x2e0e($at)
/* 417A9C 802A2D0C 00051823 */ negu $v1, $a1
/* 417AA0 802A2D10 00031040 */ sll $v0, $v1, 1
/* 417AA4 802A2D14 00431021 */ addu $v0, $v0, $v1
/* 417AA8 802A2D18 00021080 */ sll $v0, $v0, 2
/* 417AAC 802A2D1C 00431021 */ addu $v0, $v0, $v1
/* 417AB0 802A2D20 00852023 */ subu $a0, $a0, $a1
/* 417AB4 802A2D24 3C01802B */ lui $at, 0x802b
/* 417AB8 802A2D28 A422D110 */ sh $v0, -0x2ef0($at)
/* 417ABC 802A2D2C 00041040 */ sll $v0, $a0, 1
/* 417AC0 802A2D30 00441021 */ addu $v0, $v0, $a0
/* 417AC4 802A2D34 00021080 */ sll $v0, $v0, 2
/* 417AC8 802A2D38 3C05802B */ lui $a1, 0x802b
/* 417ACC 802A2D3C 24A5D4A4 */ addiu $a1, $a1, -0x2b5c
/* 417AD0 802A2D40 8CA30000 */ lw $v1, ($a1)
/* 417AD4 802A2D44 00441021 */ addu $v0, $v0, $a0
/* 417AD8 802A2D48 3C01802B */ lui $at, 0x802b
/* 417ADC 802A2D4C A422D112 */ sh $v0, -0x2eee($at)
/* 417AE0 802A2D50 18600009 */ blez $v1, .L802A2D78
/* 417AE4 802A2D54 0000802D */ daddu $s0, $zero, $zero
/* 417AE8 802A2D58 3C03802B */ lui $v1, 0x802b
/* 417AEC 802A2D5C 2463D1F8 */ addiu $v1, $v1, -0x2e08
.L802A2D60:
/* 417AF0 802A2D60 AC700000 */ sw $s0, ($v1)
/* 417AF4 802A2D64 8CA20000 */ lw $v0, ($a1)
/* 417AF8 802A2D68 26100001 */ addiu $s0, $s0, 1
/* 417AFC 802A2D6C 0202102A */ slt $v0, $s0, $v0
/* 417B00 802A2D70 1440FFFB */ bnez $v0, .L802A2D60
/* 417B04 802A2D74 24630004 */ addiu $v1, $v1, 4
.L802A2D78:
/* 417B08 802A2D78 3C02802B */ lui $v0, 0x802b
/* 417B0C 802A2D7C 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 417B10 802A2D80 14400042 */ bnez $v0, .L802A2E8C
/* 417B14 802A2D84 00000000 */ nop
/* 417B18 802A2D88 3C03802B */ lui $v1, 0x802b
/* 417B1C 802A2D8C 8C63D4A4 */ lw $v1, -0x2b5c($v1)
/* 417B20 802A2D90 2462FFFF */ addiu $v0, $v1, -1
/* 417B24 802A2D94 1840003D */ blez $v0, .L802A2E8C
/* 417B28 802A2D98 0000802D */ daddu $s0, $zero, $zero
/* 417B2C 802A2D9C 0060882D */ daddu $s1, $v1, $zero
/* 417B30 802A2DA0 3C0E802B */ lui $t6, 0x802b
/* 417B34 802A2DA4 25CED5D0 */ addiu $t6, $t6, -0x2a30
/* 417B38 802A2DA8 3C0D802B */ lui $t5, 0x802b
/* 417B3C 802A2DAC 25ADD320 */ addiu $t5, $t5, -0x2ce0
/* 417B40 802A2DB0 3C0C802B */ lui $t4, 0x802b
/* 417B44 802A2DB4 258CD440 */ addiu $t4, $t4, -0x2bc0
/* 417B48 802A2DB8 3C0F802B */ lui $t7, 0x802b
/* 417B4C 802A2DBC 25EFD1F8 */ addiu $t7, $t7, -0x2e08
/* 417B50 802A2DC0 01E0502D */ daddu $t2, $t7, $zero
.L802A2DC4:
/* 417B54 802A2DC4 26090001 */ addiu $t1, $s0, 1
/* 417B58 802A2DC8 0131102A */ slt $v0, $t1, $s1
/* 417B5C 802A2DCC 10400028 */ beqz $v0, .L802A2E70
/* 417B60 802A2DD0 00091080 */ sll $v0, $t1, 2
/* 417B64 802A2DD4 0140402D */ daddu $t0, $t2, $zero
/* 417B68 802A2DD8 3C0B802B */ lui $t3, 0x802b
/* 417B6C 802A2DDC 8D6BD4A4 */ lw $t3, -0x2b5c($t3)
/* 417B70 802A2DE0 004F3821 */ addu $a3, $v0, $t7
.L802A2DE4:
/* 417B74 802A2DE4 8D060000 */ lw $a2, ($t0)
/* 417B78 802A2DE8 8CE40000 */ lw $a0, ($a3)
/* 417B7C 802A2DEC 00CE1021 */ addu $v0, $a2, $t6
/* 417B80 802A2DF0 008E1821 */ addu $v1, $a0, $t6
/* 417B84 802A2DF4 80450000 */ lb $a1, ($v0)
/* 417B88 802A2DF8 80630000 */ lb $v1, ($v1)
/* 417B8C 802A2DFC 00A3102A */ slt $v0, $a1, $v1
/* 417B90 802A2E00 54400018 */ bnezl $v0, .L802A2E64
/* 417B94 802A2E04 25290001 */ addiu $t1, $t1, 1
/* 417B98 802A2E08 14A30011 */ bne $a1, $v1, .L802A2E50
/* 417B9C 802A2E0C 00063080 */ sll $a2, $a2, 2
/* 417BA0 802A2E10 00CD1821 */ addu $v1, $a2, $t5
/* 417BA4 802A2E14 00042080 */ sll $a0, $a0, 2
/* 417BA8 802A2E18 008D1021 */ addu $v0, $a0, $t5
/* 417BAC 802A2E1C 8C630000 */ lw $v1, ($v1)
/* 417BB0 802A2E20 8C450000 */ lw $a1, ($v0)
/* 417BB4 802A2E24 0065102A */ slt $v0, $v1, $a1
/* 417BB8 802A2E28 5440000E */ bnezl $v0, .L802A2E64
/* 417BBC 802A2E2C 25290001 */ addiu $t1, $t1, 1
/* 417BC0 802A2E30 14650007 */ bne $v1, $a1, .L802A2E50
/* 417BC4 802A2E34 00CC1021 */ addu $v0, $a2, $t4
/* 417BC8 802A2E38 008C2021 */ addu $a0, $a0, $t4
/* 417BCC 802A2E3C 8C430000 */ lw $v1, ($v0)
/* 417BD0 802A2E40 8C820000 */ lw $v0, ($a0)
/* 417BD4 802A2E44 0062182A */ slt $v1, $v1, $v0
/* 417BD8 802A2E48 54600006 */ bnezl $v1, .L802A2E64
/* 417BDC 802A2E4C 25290001 */ addiu $t1, $t1, 1
.L802A2E50:
/* 417BE0 802A2E50 8CE20000 */ lw $v0, ($a3)
/* 417BE4 802A2E54 8D030000 */ lw $v1, ($t0)
/* 417BE8 802A2E58 AD020000 */ sw $v0, ($t0)
/* 417BEC 802A2E5C ACE30000 */ sw $v1, ($a3)
/* 417BF0 802A2E60 25290001 */ addiu $t1, $t1, 1
.L802A2E64:
/* 417BF4 802A2E64 012B102A */ slt $v0, $t1, $t3
/* 417BF8 802A2E68 1440FFDE */ bnez $v0, .L802A2DE4
/* 417BFC 802A2E6C 24E70004 */ addiu $a3, $a3, 4
.L802A2E70:
/* 417C00 802A2E70 3C02802B */ lui $v0, 0x802b
/* 417C04 802A2E74 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 417C08 802A2E78 26100001 */ addiu $s0, $s0, 1
/* 417C0C 802A2E7C 2442FFFF */ addiu $v0, $v0, -1
/* 417C10 802A2E80 0202102A */ slt $v0, $s0, $v0
/* 417C14 802A2E84 1440FFCF */ bnez $v0, .L802A2DC4
/* 417C18 802A2E88 254A0004 */ addiu $t2, $t2, 4
.L802A2E8C:
/* 417C1C 802A2E8C 3C02802B */ lui $v0, 0x802b
/* 417C20 802A2E90 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 417C24 802A2E94 1840001C */ blez $v0, .L802A2F08
/* 417C28 802A2E98 0000802D */ daddu $s0, $zero, $zero
/* 417C2C 802A2E9C 3C14802B */ lui $s4, 0x802b
/* 417C30 802A2EA0 2694D260 */ addiu $s4, $s4, -0x2da0
/* 417C34 802A2EA4 3C13802B */ lui $s3, 0x802b
/* 417C38 802A2EA8 2673D128 */ addiu $s3, $s3, -0x2ed8
/* 417C3C 802A2EAC 3C11802B */ lui $s1, 0x802b
/* 417C40 802A2EB0 2631D1F8 */ addiu $s1, $s1, -0x2e08
.L802A2EB4:
/* 417C44 802A2EB4 8E220000 */ lw $v0, ($s1)
/* 417C48 802A2EB8 26310004 */ addiu $s1, $s1, 4
/* 417C4C 802A2EBC 00021080 */ sll $v0, $v0, 2
/* 417C50 802A2EC0 00541021 */ addu $v0, $v0, $s4
/* 417C54 802A2EC4 8C440000 */ lw $a0, ($v0)
/* 417C58 802A2EC8 0C050529 */ jal create_icon
/* 417C5C 802A2ECC 26100001 */ addiu $s0, $s0, 1
/* 417C60 802A2ED0 0040902D */ daddu $s2, $v0, $zero
/* 417C64 802A2ED4 3C053EE6 */ lui $a1, 0x3ee6
/* 417C68 802A2ED8 34A56666 */ ori $a1, $a1, 0x6666
/* 417C6C 802A2EDC 0240202D */ daddu $a0, $s2, $zero
/* 417C70 802A2EE0 0C051308 */ jal func_80144C20
/* 417C74 802A2EE4 AE720000 */ sw $s2, ($s3)
/* 417C78 802A2EE8 0240202D */ daddu $a0, $s2, $zero
/* 417C7C 802A2EEC 0C051280 */ jal set_icon_flags
/* 417C80 802A2EF0 34058080 */ ori $a1, $zero, 0x8080
/* 417C84 802A2EF4 3C02802B */ lui $v0, 0x802b
/* 417C88 802A2EF8 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 417C8C 802A2EFC 0202102A */ slt $v0, $s0, $v0
/* 417C90 802A2F00 1440FFEC */ bnez $v0, .L802A2EB4
/* 417C94 802A2F04 26730004 */ addiu $s3, $s3, 4
.L802A2F08:
/* 417C98 802A2F08 3C048010 */ lui $a0, 0x8010
/* 417C9C 802A2F0C 24844A28 */ addiu $a0, $a0, 0x4a28
/* 417CA0 802A2F10 0C050529 */ jal create_icon
/* 417CA4 802A2F14 00000000 */ nop
/* 417CA8 802A2F18 0040902D */ daddu $s2, $v0, $zero
/* 417CAC 802A2F1C 0240202D */ daddu $a0, $s2, $zero
/* 417CB0 802A2F20 3C052000 */ lui $a1, 0x2000
/* 417CB4 802A2F24 3C01802B */ lui $at, 0x802b
/* 417CB8 802A2F28 AC32D118 */ sw $s2, -0x2ee8($at)
/* 417CBC 802A2F2C 0C051280 */ jal set_icon_flags
/* 417CC0 802A2F30 34A50080 */ ori $a1, $a1, 0x80
/* 417CC4 802A2F34 3C11802B */ lui $s1, 0x802b
/* 417CC8 802A2F38 2631D1F0 */ addiu $s1, $s1, -0x2e10
/* 417CCC 802A2F3C 3C10802B */ lui $s0, 0x802b
/* 417CD0 802A2F40 2610D1F2 */ addiu $s0, $s0, -0x2e0e
/* 417CD4 802A2F44 86250000 */ lh $a1, ($s1)
/* 417CD8 802A2F48 86060000 */ lh $a2, ($s0)
/* 417CDC 802A2F4C 0C051261 */ jal set_icon_render_pos
/* 417CE0 802A2F50 0240202D */ daddu $a0, $s2, $zero
/* 417CE4 802A2F54 3C048010 */ lui $a0, 0x8010
/* 417CE8 802A2F58 248477E4 */ addiu $a0, $a0, 0x77e4
/* 417CEC 802A2F5C 0C050529 */ jal create_icon
/* 417CF0 802A2F60 00000000 */ nop
/* 417CF4 802A2F64 0040902D */ daddu $s2, $v0, $zero
/* 417CF8 802A2F68 0240202D */ daddu $a0, $s2, $zero
/* 417CFC 802A2F6C 3C052000 */ lui $a1, 0x2000
/* 417D00 802A2F70 3C01802B */ lui $at, 0x802b
/* 417D04 802A2F74 AC32D11C */ sw $s2, -0x2ee4($at)
/* 417D08 802A2F78 0C051280 */ jal set_icon_flags
/* 417D0C 802A2F7C 34A50080 */ ori $a1, $a1, 0x80
/* 417D10 802A2F80 0240202D */ daddu $a0, $s2, $zero
/* 417D14 802A2F84 86250000 */ lh $a1, ($s1)
/* 417D18 802A2F88 86060000 */ lh $a2, ($s0)
/* 417D1C 802A2F8C 24A50027 */ addiu $a1, $a1, 0x27
/* 417D20 802A2F90 0C051261 */ jal set_icon_render_pos
/* 417D24 802A2F94 24C6FFF9 */ addiu $a2, $a2, -7
/* 417D28 802A2F98 3C048010 */ lui $a0, 0x8010
/* 417D2C 802A2F9C 24847798 */ addiu $a0, $a0, 0x7798
/* 417D30 802A2FA0 0C050529 */ jal create_icon
/* 417D34 802A2FA4 00000000 */ nop
/* 417D38 802A2FA8 0040902D */ daddu $s2, $v0, $zero
/* 417D3C 802A2FAC 0240202D */ daddu $a0, $s2, $zero
/* 417D40 802A2FB0 3C052000 */ lui $a1, 0x2000
/* 417D44 802A2FB4 3C01802B */ lui $at, 0x802b
/* 417D48 802A2FB8 AC32D120 */ sw $s2, -0x2ee0($at)
/* 417D4C 802A2FBC 0C051280 */ jal set_icon_flags
/* 417D50 802A2FC0 34A50080 */ ori $a1, $a1, 0x80
/* 417D54 802A2FC4 0240202D */ daddu $a0, $s2, $zero
/* 417D58 802A2FC8 86250000 */ lh $a1, ($s1)
/* 417D5C 802A2FCC 86060000 */ lh $a2, ($s0)
/* 417D60 802A2FD0 24A50027 */ addiu $a1, $a1, 0x27
/* 417D64 802A2FD4 0C051261 */ jal set_icon_render_pos
/* 417D68 802A2FD8 24C6004E */ addiu $a2, $a2, 0x4e
/* 417D6C 802A2FDC 3C02802B */ lui $v0, 0x802b
/* 417D70 802A2FE0 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 417D74 802A2FE4 1440000A */ bnez $v0, .L802A3010
/* 417D78 802A2FE8 00000000 */ nop
/* 417D7C 802A2FEC 3C048011 */ lui $a0, 0x8011
/* 417D80 802A2FF0 24848538 */ addiu $a0, $a0, -0x7ac8
/* 417D84 802A2FF4 0C050529 */ jal create_icon
/* 417D88 802A2FF8 00000000 */ nop
/* 417D8C 802A2FFC 0040902D */ daddu $s2, $v0, $zero
/* 417D90 802A3000 3C01802B */ lui $at, 0x802b
/* 417D94 802A3004 AC22D188 */ sw $v0, -0x2e78($at)
/* 417D98 802A3008 080A8C0F */ j .L802A303C
/* 417D9C 802A300C 0240202D */ daddu $a0, $s2, $zero
.L802A3010:
/* 417DA0 802A3010 3C048011 */ lui $a0, 0x8011
/* 417DA4 802A3014 24848974 */ addiu $a0, $a0, -0x768c
/* 417DA8 802A3018 0C050529 */ jal create_icon
/* 417DAC 802A301C 00000000 */ nop
/* 417DB0 802A3020 0040902D */ daddu $s2, $v0, $zero
/* 417DB4 802A3024 3C053F40 */ lui $a1, 0x3f40
/* 417DB8 802A3028 3C01802B */ lui $at, 0x802b
/* 417DBC 802A302C AC32D188 */ sw $s2, -0x2e78($at)
/* 417DC0 802A3030 0C051308 */ jal func_80144C20
/* 417DC4 802A3034 0240202D */ daddu $a0, $s2, $zero
/* 417DC8 802A3038 0240202D */ daddu $a0, $s2, $zero
.L802A303C:
/* 417DCC 802A303C 0C051280 */ jal set_icon_flags
/* 417DD0 802A3040 24050080 */ addiu $a1, $zero, 0x80
/* 417DD4 802A3044 0240202D */ daddu $a0, $s2, $zero
/* 417DD8 802A3048 3C05802B */ lui $a1, 0x802b
/* 417DDC 802A304C 84A5D1F0 */ lh $a1, -0x2e10($a1)
/* 417DE0 802A3050 3C06802B */ lui $a2, 0x802b
/* 417DE4 802A3054 84C6D1F2 */ lh $a2, -0x2e0e($a2)
/* 417DE8 802A3058 0C051261 */ jal set_icon_render_pos
/* 417DEC 802A305C 24A50038 */ addiu $a1, $a1, 0x38
/* 417DF0 802A3060 3C02802B */ lui $v0, 0x802b
/* 417DF4 802A3064 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 417DF8 802A3068 1840004B */ blez $v0, .L802A3198
/* 417DFC 802A306C 0000802D */ daddu $s0, $zero, $zero
/* 417E00 802A3070 24160001 */ addiu $s6, $zero, 1
/* 417E04 802A3074 3C13802B */ lui $s3, 0x802b
/* 417E08 802A3078 2673D190 */ addiu $s3, $s3, -0x2e70
/* 417E0C 802A307C 0260A82D */ daddu $s5, $s3, $zero
/* 417E10 802A3080 0200882D */ daddu $s1, $s0, $zero
/* 417E14 802A3084 3C14802B */ lui $s4, 0x802b
/* 417E18 802A3088 2694D3E0 */ addiu $s4, $s4, -0x2c20
.L802A308C:
/* 417E1C 802A308C 3C02802B */ lui $v0, 0x802b
/* 417E20 802A3090 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 417E24 802A3094 14400014 */ bnez $v0, .L802A30E8
/* 417E28 802A3098 00000000 */ nop
/* 417E2C 802A309C 8E820000 */ lw $v0, ($s4)
/* 417E30 802A30A0 10400005 */ beqz $v0, .L802A30B8
/* 417E34 802A30A4 00000000 */ nop
/* 417E38 802A30A8 10560007 */ beq $v0, $s6, .L802A30C8
/* 417E3C 802A30AC 00000000 */ nop
/* 417E40 802A30B0 080A8C36 */ j .L802A30D8
/* 417E44 802A30B4 00000000 */ nop
.L802A30B8:
/* 417E48 802A30B8 3C048010 */ lui $a0, 0x8010
/* 417E4C 802A30BC 24847638 */ addiu $a0, $a0, 0x7638
/* 417E50 802A30C0 080A8C47 */ j .L802A311C
/* 417E54 802A30C4 00000000 */ nop
.L802A30C8:
/* 417E58 802A30C8 3C048010 */ lui $a0, 0x8010
/* 417E5C 802A30CC 24847664 */ addiu $a0, $a0, 0x7664
/* 417E60 802A30D0 080A8C47 */ j .L802A311C
/* 417E64 802A30D4 00000000 */ nop
.L802A30D8:
/* 417E68 802A30D8 3C048010 */ lui $a0, 0x8010
/* 417E6C 802A30DC 24847690 */ addiu $a0, $a0, 0x7690
/* 417E70 802A30E0 080A8C4F */ j .L802A313C
/* 417E74 802A30E4 00000000 */ nop
.L802A30E8:
/* 417E78 802A30E8 8E820000 */ lw $v0, ($s4)
/* 417E7C 802A30EC 10400005 */ beqz $v0, .L802A3104
/* 417E80 802A30F0 00000000 */ nop
/* 417E84 802A30F4 10560007 */ beq $v0, $s6, .L802A3114
/* 417E88 802A30F8 00000000 */ nop
/* 417E8C 802A30FC 080A8C4D */ j .L802A3134
/* 417E90 802A3100 00000000 */ nop
.L802A3104:
/* 417E94 802A3104 3C048010 */ lui $a0, 0x8010
/* 417E98 802A3108 248476E8 */ addiu $a0, $a0, 0x76e8
/* 417E9C 802A310C 080A8C47 */ j .L802A311C
/* 417EA0 802A3110 00000000 */ nop
.L802A3114:
/* 417EA4 802A3114 3C048010 */ lui $a0, 0x8010
/* 417EA8 802A3118 24847714 */ addiu $a0, $a0, 0x7714
.L802A311C:
/* 417EAC 802A311C 0C050529 */ jal create_icon
/* 417EB0 802A3120 00000000 */ nop
/* 417EB4 802A3124 0040902D */ daddu $s2, $v0, $zero
/* 417EB8 802A3128 02351021 */ addu $v0, $s1, $s5
/* 417EBC 802A312C 080A8C53 */ j .L802A314C
/* 417EC0 802A3130 AC520000 */ sw $s2, ($v0)
.L802A3134:
/* 417EC4 802A3134 3C048010 */ lui $a0, 0x8010
/* 417EC8 802A3138 24847740 */ addiu $a0, $a0, 0x7740
.L802A313C:
/* 417ECC 802A313C 0C050529 */ jal create_icon
/* 417ED0 802A3140 00000000 */ nop
/* 417ED4 802A3144 0040902D */ daddu $s2, $v0, $zero
/* 417ED8 802A3148 AE720000 */ sw $s2, ($s3)
.L802A314C:
/* 417EDC 802A314C 0240202D */ daddu $a0, $s2, $zero
/* 417EE0 802A3150 0C051280 */ jal set_icon_flags
/* 417EE4 802A3154 24050080 */ addiu $a1, $zero, 0x80
/* 417EE8 802A3158 0240202D */ daddu $a0, $s2, $zero
/* 417EEC 802A315C 26730004 */ addiu $s3, $s3, 4
/* 417EF0 802A3160 26310004 */ addiu $s1, $s1, 4
/* 417EF4 802A3164 26940004 */ addiu $s4, $s4, 4
/* 417EF8 802A3168 3C05802B */ lui $a1, 0x802b
/* 417EFC 802A316C 84A5D1F0 */ lh $a1, -0x2e10($a1)
/* 417F00 802A3170 3C06802B */ lui $a2, 0x802b
/* 417F04 802A3174 84C6D1F2 */ lh $a2, -0x2e0e($a2)
/* 417F08 802A3178 0C051261 */ jal set_icon_render_pos
/* 417F0C 802A317C 24A50038 */ addiu $a1, $a1, 0x38
/* 417F10 802A3180 3C02802B */ lui $v0, 0x802b
/* 417F14 802A3184 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 417F18 802A3188 26100001 */ addiu $s0, $s0, 1
/* 417F1C 802A318C 0202102A */ slt $v0, $s0, $v0
/* 417F20 802A3190 1440FFBE */ bnez $v0, .L802A308C
/* 417F24 802A3194 00000000 */ nop
.L802A3198:
/* 417F28 802A3198 3C13802B */ lui $s3, 0x802b
/* 417F2C 802A319C 8673D1F0 */ lh $s3, -0x2e10($s3)
/* 417F30 802A31A0 2402000A */ addiu $v0, $zero, 0xa
/* 417F34 802A31A4 3C01802B */ lui $at, 0x802b
/* 417F38 802A31A8 A422D114 */ sh $v0, -0x2eec($at)
/* 417F3C 802A31AC 3C02802B */ lui $v0, 0x802b
/* 417F40 802A31B0 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 417F44 802A31B4 3C12802B */ lui $s2, 0x802b
/* 417F48 802A31B8 8652D1F2 */ lh $s2, -0x2e0e($s2)
/* 417F4C 802A31BC 14400028 */ bnez $v0, .L802A3260
/* 417F50 802A31C0 24040001 */ addiu $a0, $zero, 1
/* 417F54 802A31C4 0260282D */ daddu $a1, $s3, $zero
/* 417F58 802A31C8 0240302D */ daddu $a2, $s2, $zero
/* 417F5C 802A31CC 24070096 */ addiu $a3, $zero, 0x96
/* 417F60 802A31D0 3C02802A */ lui $v0, 0x802a
/* 417F64 802A31D4 24423C98 */ addiu $v0, $v0, 0x3c98
/* 417F68 802A31D8 3C03802B */ lui $v1, 0x802b
/* 417F6C 802A31DC 8063D10E */ lb $v1, -0x2ef2($v1)
/* 417F70 802A31E0 2410FFFF */ addiu $s0, $zero, -1
/* 417F74 802A31E4 AFA00014 */ sw $zero, 0x14($sp)
/* 417F78 802A31E8 AFA20018 */ sw $v0, 0x18($sp)
/* 417F7C 802A31EC AFA0001C */ sw $zero, 0x1c($sp)
/* 417F80 802A31F0 AFB00020 */ sw $s0, 0x20($sp)
/* 417F84 802A31F4 00831004 */ sllv $v0, $v1, $a0
/* 417F88 802A31F8 00431021 */ addu $v0, $v0, $v1
/* 417F8C 802A31FC 00021080 */ sll $v0, $v0, 2
/* 417F90 802A3200 00431021 */ addu $v0, $v0, $v1
/* 417F94 802A3204 2442001C */ addiu $v0, $v0, 0x1c
/* 417F98 802A3208 0C051F32 */ jal func_80147CC8
/* 417F9C 802A320C AFA20010 */ sw $v0, 0x10($sp)
/* 417FA0 802A3210 24040002 */ addiu $a0, $zero, 2
/* 417FA4 802A3214 26650010 */ addiu $a1, $s3, 0x10
/* 417FA8 802A3218 2646FFFA */ addiu $a2, $s2, -6
/* 417FAC 802A321C 2407005A */ addiu $a3, $zero, 0x5a
/* 417FB0 802A3220 24020010 */ addiu $v0, $zero, 0x10
/* 417FB4 802A3224 24110001 */ addiu $s1, $zero, 1
/* 417FB8 802A3228 AFA20010 */ sw $v0, 0x10($sp)
/* 417FBC 802A322C 3C02802A */ lui $v0, 0x802a
/* 417FC0 802A3230 244243DC */ addiu $v0, $v0, 0x43dc
/* 417FC4 802A3234 AFB10014 */ sw $s1, 0x14($sp)
/* 417FC8 802A3238 AFA20018 */ sw $v0, 0x18($sp)
/* 417FCC 802A323C AFA0001C */ sw $zero, 0x1c($sp)
/* 417FD0 802A3240 0C051F32 */ jal func_80147CC8
/* 417FD4 802A3244 AFB00020 */ sw $s0, 0x20($sp)
/* 417FD8 802A3248 24040003 */ addiu $a0, $zero, 3
/* 417FDC 802A324C 26650072 */ addiu $a1, $s3, 0x72
/* 417FE0 802A3250 2646FFF4 */ addiu $a2, $s2, -0xc
/* 417FE4 802A3254 24070020 */ addiu $a3, $zero, 0x20
/* 417FE8 802A3258 080A8CBE */ j .L802A32F8
/* 417FEC 802A325C 00E0102D */ daddu $v0, $a3, $zero
.L802A3260:
/* 417FF0 802A3260 0260282D */ daddu $a1, $s3, $zero
/* 417FF4 802A3264 0240302D */ daddu $a2, $s2, $zero
/* 417FF8 802A3268 24070090 */ addiu $a3, $zero, 0x90
/* 417FFC 802A326C 3C02802A */ lui $v0, 0x802a
/* 418000 802A3270 24423C98 */ addiu $v0, $v0, 0x3c98
/* 418004 802A3274 3C03802B */ lui $v1, 0x802b
/* 418008 802A3278 8063D10E */ lb $v1, -0x2ef2($v1)
/* 41800C 802A327C 2410FFFF */ addiu $s0, $zero, -1
/* 418010 802A3280 AFA00014 */ sw $zero, 0x14($sp)
/* 418014 802A3284 AFA20018 */ sw $v0, 0x18($sp)
/* 418018 802A3288 AFA0001C */ sw $zero, 0x1c($sp)
/* 41801C 802A328C AFB00020 */ sw $s0, 0x20($sp)
/* 418020 802A3290 00831004 */ sllv $v0, $v1, $a0
/* 418024 802A3294 00431021 */ addu $v0, $v0, $v1
/* 418028 802A3298 00021080 */ sll $v0, $v0, 2
/* 41802C 802A329C 00431021 */ addu $v0, $v0, $v1
/* 418030 802A32A0 2442001C */ addiu $v0, $v0, 0x1c
/* 418034 802A32A4 0C051F32 */ jal func_80147CC8
/* 418038 802A32A8 AFA20010 */ sw $v0, 0x10($sp)
/* 41803C 802A32AC 24040004 */ addiu $a0, $zero, 4
/* 418040 802A32B0 2665000A */ addiu $a1, $s3, 0xa
/* 418044 802A32B4 2646FFFA */ addiu $a2, $s2, -6
/* 418048 802A32B8 24070064 */ addiu $a3, $zero, 0x64
/* 41804C 802A32BC 24020010 */ addiu $v0, $zero, 0x10
/* 418050 802A32C0 24110001 */ addiu $s1, $zero, 1
/* 418054 802A32C4 AFA20010 */ sw $v0, 0x10($sp)
/* 418058 802A32C8 3C02802A */ lui $v0, 0x802a
/* 41805C 802A32CC 244243DC */ addiu $v0, $v0, 0x43dc
/* 418060 802A32D0 AFB10014 */ sw $s1, 0x14($sp)
/* 418064 802A32D4 AFA20018 */ sw $v0, 0x18($sp)
/* 418068 802A32D8 AFA0001C */ sw $zero, 0x1c($sp)
/* 41806C 802A32DC 0C051F32 */ jal func_80147CC8
/* 418070 802A32E0 AFB00020 */ sw $s0, 0x20($sp)
/* 418074 802A32E4 24040005 */ addiu $a0, $zero, 5
/* 418078 802A32E8 2665006E */ addiu $a1, $s3, 0x6e
/* 41807C 802A32EC 2646FFF4 */ addiu $a2, $s2, -0xc
/* 418080 802A32F0 24070020 */ addiu $a3, $zero, 0x20
/* 418084 802A32F4 24020023 */ addiu $v0, $zero, 0x23
.L802A32F8:
/* 418088 802A32F8 AFA20010 */ sw $v0, 0x10($sp)
/* 41808C 802A32FC 3C02802A */ lui $v0, 0x802a
/* 418090 802A3300 24424448 */ addiu $v0, $v0, 0x4448
/* 418094 802A3304 AFB10014 */ sw $s1, 0x14($sp)
/* 418098 802A3308 AFA20018 */ sw $v0, 0x18($sp)
/* 41809C 802A330C AFA0001C */ sw $zero, 0x1c($sp)
/* 4180A0 802A3310 0C051F32 */ jal func_80147CC8
/* 4180A4 802A3314 AFB00020 */ sw $s0, 0x20($sp)
/* 4180A8 802A3318 24130014 */ addiu $s3, $zero, 0x14
/* 4180AC 802A331C 24040008 */ addiu $a0, $zero, 8
/* 4180B0 802A3320 0260282D */ daddu $a1, $s3, $zero
/* 4180B4 802A3324 240600BA */ addiu $a2, $zero, 0xba
/* 4180B8 802A3328 24070118 */ addiu $a3, $zero, 0x118
/* 4180BC 802A332C 24020020 */ addiu $v0, $zero, 0x20
/* 4180C0 802A3330 AFA20010 */ sw $v0, 0x10($sp)
/* 4180C4 802A3334 3C02802A */ lui $v0, 0x802a
/* 4180C8 802A3338 24424494 */ addiu $v0, $v0, 0x4494
/* 4180CC 802A333C AFA20018 */ sw $v0, 0x18($sp)
/* 4180D0 802A3340 2402FFFF */ addiu $v0, $zero, -1
/* 4180D4 802A3344 AFB30014 */ sw $s3, 0x14($sp)
/* 4180D8 802A3348 AFA0001C */ sw $zero, 0x1c($sp)
/* 4180DC 802A334C 0C051F32 */ jal func_80147CC8
/* 4180E0 802A3350 AFA20020 */ sw $v0, 0x20($sp)
/* 4180E4 802A3354 24040001 */ addiu $a0, $zero, 1
/* 4180E8 802A3358 0C051F9F */ jal func_80147E7C
/* 4180EC 802A335C 0080282D */ daddu $a1, $a0, $zero
/* 4180F0 802A3360 3C02802B */ lui $v0, 0x802b
/* 4180F4 802A3364 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 4180F8 802A3368 54400006 */ bnezl $v0, .L802A3384
/* 4180FC 802A336C 24040004 */ addiu $a0, $zero, 4
/* 418100 802A3370 24040002 */ addiu $a0, $zero, 2
/* 418104 802A3374 0C051F9F */ jal func_80147E7C
/* 418108 802A3378 24050001 */ addiu $a1, $zero, 1
/* 41810C 802A337C 080A8CE4 */ j .L802A3390
/* 418110 802A3380 24040003 */ addiu $a0, $zero, 3
.L802A3384:
/* 418114 802A3384 0C051F9F */ jal func_80147E7C
/* 418118 802A3388 24050001 */ addiu $a1, $zero, 1
/* 41811C 802A338C 24040005 */ addiu $a0, $zero, 5
.L802A3390:
/* 418120 802A3390 0C051F9F */ jal func_80147E7C
/* 418124 802A3394 24050001 */ addiu $a1, $zero, 1
/* 418128 802A3398 24040008 */ addiu $a0, $zero, 8
/* 41812C 802A339C 0C051F9F */ jal func_80147E7C
/* 418130 802A33A0 24050001 */ addiu $a1, $zero, 1
/* 418134 802A33A4 3C05802B */ lui $a1, 0x802b
/* 418138 802A33A8 24A5D10C */ addiu $a1, $a1, -0x2ef4
/* 41813C 802A33AC 3C06802B */ lui $a2, 0x802b
/* 418140 802A33B0 24C6D4A4 */ addiu $a2, $a2, -0x2b5c
/* 418144 802A33B4 3C08802B */ lui $t0, 0x802b
/* 418148 802A33B8 8108D109 */ lb $t0, -0x2ef7($t0)
/* 41814C 802A33BC 3C07802B */ lui $a3, 0x802b
/* 418150 802A33C0 80E7D10D */ lb $a3, -0x2ef3($a3)
.L802A33C4:
/* 418154 802A33C4 80A20000 */ lb $v0, ($a1)
/* 418158 802A33C8 90A30000 */ lbu $v1, ($a1)
/* 41815C 802A33CC 00471021 */ addu $v0, $v0, $a3
/* 418160 802A33D0 2442FFFF */ addiu $v0, $v0, -1
/* 418164 802A33D4 0102102A */ slt $v0, $t0, $v0
/* 418168 802A33D8 14400010 */ bnez $v0, .L802A341C
/* 41816C 802A33DC 0000202D */ daddu $a0, $zero, $zero
/* 418170 802A33E0 24630001 */ addiu $v1, $v1, 1
/* 418174 802A33E4 A0A30000 */ sb $v1, ($a1)
/* 418178 802A33E8 00031E00 */ sll $v1, $v1, 0x18
/* 41817C 802A33EC 8CC20000 */ lw $v0, ($a2)
/* 418180 802A33F0 00031E03 */ sra $v1, $v1, 0x18
/* 418184 802A33F4 2442FFFA */ addiu $v0, $v0, -6
/* 418188 802A33F8 0043102A */ slt $v0, $v0, $v1
/* 41818C 802A33FC 50400007 */ beql $v0, $zero, .L802A341C
/* 418190 802A3400 24040001 */ addiu $a0, $zero, 1
/* 418194 802A3404 90C20003 */ lbu $v0, 3($a2)
/* 418198 802A3408 2442FFFA */ addiu $v0, $v0, -6
/* 41819C 802A340C A0A20000 */ sb $v0, ($a1)
/* 4181A0 802A3410 00021600 */ sll $v0, $v0, 0x18
/* 4181A4 802A3414 04420001 */ bltzl $v0, .L802A341C
/* 4181A8 802A3418 A0A00000 */ sb $zero, ($a1)
.L802A341C:
/* 4181AC 802A341C 1480FFE9 */ bnez $a0, .L802A33C4
/* 4181B0 802A3420 24020001 */ addiu $v0, $zero, 1
/* 4181B4 802A3424 3C03802B */ lui $v1, 0x802b
/* 4181B8 802A3428 9063D10C */ lbu $v1, -0x2ef4($v1)
/* 4181BC 802A342C 3C04802B */ lui $a0, 0x802b
/* 4181C0 802A3430 8084D109 */ lb $a0, -0x2ef7($a0)
/* 4181C4 802A3434 3C01802B */ lui $at, 0x802b
/* 4181C8 802A3438 A022D108 */ sb $v0, -0x2ef8($at)
/* 4181CC 802A343C 24620006 */ addiu $v0, $v1, 6
/* 4181D0 802A3440 00031E00 */ sll $v1, $v1, 0x18
/* 4181D4 802A3444 00031E03 */ sra $v1, $v1, 0x18
/* 4181D8 802A3448 00032823 */ negu $a1, $v1
/* 4181DC 802A344C 3C01802B */ lui $at, 0x802b
/* 4181E0 802A3450 A022D10D */ sb $v0, -0x2ef3($at)
/* 4181E4 802A3454 00051040 */ sll $v0, $a1, 1
/* 4181E8 802A3458 00451021 */ addu $v0, $v0, $a1
/* 4181EC 802A345C 00021080 */ sll $v0, $v0, 2
/* 4181F0 802A3460 00451021 */ addu $v0, $v0, $a1
/* 4181F4 802A3464 00832023 */ subu $a0, $a0, $v1
/* 4181F8 802A3468 3C01802B */ lui $at, 0x802b
/* 4181FC 802A346C A422D110 */ sh $v0, -0x2ef0($at)
/* 418200 802A3470 00041040 */ sll $v0, $a0, 1
/* 418204 802A3474 00441021 */ addu $v0, $v0, $a0
/* 418208 802A3478 00021080 */ sll $v0, $v0, 2
/* 41820C 802A347C 00441021 */ addu $v0, $v0, $a0
/* 418210 802A3480 3C01802B */ lui $at, 0x802b
/* 418214 802A3484 A422D112 */ sh $v0, -0x2eee($at)
/* 418218 802A3488 080A8F1C */ j .L802A3C70
/* 41821C 802A348C 0000102D */ daddu $v0, $zero, $zero
/* 418220 802A3490 3C050001 */ lui $a1, 1
/* 418224 802A3494 3C04802B */ lui $a0, 0x802b
/* 418228 802A3498 2484D109 */ addiu $a0, $a0, -0x2ef7
/* 41822C 802A349C 34A52000 */ ori $a1, $a1, 0x2000
/* 418230 802A34A0 8E220218 */ lw $v0, 0x218($s1)
/* 418234 802A34A4 90830000 */ lbu $v1, ($a0)
/* 418238 802A34A8 00451024 */ and $v0, $v0, $a1
/* 41823C 802A34AC 3C01802B */ lui $at, 0x802b
/* 418240 802A34B0 A023D10A */ sb $v1, -0x2ef6($at)
/* 418244 802A34B4 10400008 */ beqz $v0, .L802A34D8
/* 418248 802A34B8 00031600 */ sll $v0, $v1, 0x18
/* 41824C 802A34BC 1C400005 */ bgtz $v0, .L802A34D4
/* 418250 802A34C0 2462FFFF */ addiu $v0, $v1, -1
/* 418254 802A34C4 8E220214 */ lw $v0, 0x214($s1)
/* 418258 802A34C8 00451024 */ and $v0, $v0, $a1
/* 41825C 802A34CC 10400002 */ beqz $v0, .L802A34D8
/* 418260 802A34D0 2462FFFF */ addiu $v0, $v1, -1
.L802A34D4:
/* 418264 802A34D4 A0820000 */ sb $v0, ($a0)
.L802A34D8:
/* 418268 802A34D8 3C060002 */ lui $a2, 2
/* 41826C 802A34DC 8E220218 */ lw $v0, 0x218($s1)
/* 418270 802A34E0 34C60010 */ ori $a2, $a2, 0x10
/* 418274 802A34E4 00461024 */ and $v0, $v0, $a2
/* 418278 802A34E8 10400010 */ beqz $v0, .L802A352C
/* 41827C 802A34EC 00000000 */ nop
/* 418280 802A34F0 3C05802B */ lui $a1, 0x802b
/* 418284 802A34F4 24A5D109 */ addiu $a1, $a1, -0x2ef7
/* 418288 802A34F8 3C02802B */ lui $v0, 0x802b
/* 41828C 802A34FC 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 418290 802A3500 80A30000 */ lb $v1, ($a1)
/* 418294 802A3504 90A40000 */ lbu $a0, ($a1)
/* 418298 802A3508 2442FFFF */ addiu $v0, $v0, -1
/* 41829C 802A350C 0062182A */ slt $v1, $v1, $v0
/* 4182A0 802A3510 14600005 */ bnez $v1, .L802A3528
/* 4182A4 802A3514 24820001 */ addiu $v0, $a0, 1
/* 4182A8 802A3518 8E220214 */ lw $v0, 0x214($s1)
/* 4182AC 802A351C 00461024 */ and $v0, $v0, $a2
/* 4182B0 802A3520 10400002 */ beqz $v0, .L802A352C
/* 4182B4 802A3524 24820001 */ addiu $v0, $a0, 1
.L802A3528:
/* 4182B8 802A3528 A0A20000 */ sb $v0, ($a1)
.L802A352C:
/* 4182BC 802A352C 3C10802B */ lui $s0, 0x802b
/* 4182C0 802A3530 2610D109 */ addiu $s0, $s0, -0x2ef7
/* 4182C4 802A3534 82020000 */ lb $v0, ($s0)
/* 4182C8 802A3538 04410005 */ bgez $v0, .L802A3550
/* 4182CC 802A353C 00000000 */ nop
/* 4182D0 802A3540 3C02802B */ lui $v0, 0x802b
/* 4182D4 802A3544 9042D4A7 */ lbu $v0, -0x2b59($v0)
/* 4182D8 802A3548 2442FFFF */ addiu $v0, $v0, -1
/* 4182DC 802A354C A2020000 */ sb $v0, ($s0)
.L802A3550:
/* 4182E0 802A3550 3C02802B */ lui $v0, 0x802b
/* 4182E4 802A3554 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 4182E8 802A3558 82030000 */ lb $v1, ($s0)
/* 4182EC 802A355C 2442FFFF */ addiu $v0, $v0, -1
/* 4182F0 802A3560 0043102A */ slt $v0, $v0, $v1
/* 4182F4 802A3564 54400001 */ bnezl $v0, .L802A356C
/* 4182F8 802A3568 A2000000 */ sb $zero, ($s0)
.L802A356C:
/* 4182FC 802A356C 3C03802B */ lui $v1, 0x802b
/* 418300 802A3570 8063D10A */ lb $v1, -0x2ef6($v1)
/* 418304 802A3574 82020000 */ lb $v0, ($s0)
/* 418308 802A3578 10620009 */ beq $v1, $v0, .L802A35A0
/* 41830C 802A357C 00031080 */ sll $v0, $v1, 2
/* 418310 802A3580 3C04802B */ lui $a0, 0x802b
/* 418314 802A3584 00822021 */ addu $a0, $a0, $v0
/* 418318 802A3588 8C84D128 */ lw $a0, -0x2ed8($a0)
/* 41831C 802A358C 3C053EE6 */ lui $a1, 0x3ee6
/* 418320 802A3590 0C051308 */ jal func_80144C20
/* 418324 802A3594 34A56666 */ ori $a1, $a1, 0x6666
/* 418328 802A3598 0C05272D */ jal play_sound
/* 41832C 802A359C 240400C7 */ addiu $a0, $zero, 0xc7
.L802A35A0:
/* 418330 802A35A0 3C04802B */ lui $a0, 0x802b
/* 418334 802A35A4 2484D10C */ addiu $a0, $a0, -0x2ef4
/* 418338 802A35A8 80820000 */ lb $v0, ($a0)
/* 41833C 802A35AC 82030000 */ lb $v1, ($s0)
/* 418340 802A35B0 24420001 */ addiu $v0, $v0, 1
/* 418344 802A35B4 0062182A */ slt $v1, $v1, $v0
/* 418348 802A35B8 90820000 */ lbu $v0, ($a0)
/* 41834C 802A35BC 10600005 */ beqz $v1, .L802A35D4
/* 418350 802A35C0 2442FFFF */ addiu $v0, $v0, -1
/* 418354 802A35C4 A0820000 */ sb $v0, ($a0)
/* 418358 802A35C8 00021600 */ sll $v0, $v0, 0x18
/* 41835C 802A35CC 04420001 */ bltzl $v0, .L802A35D4
/* 418360 802A35D0 A0800000 */ sb $zero, ($a0)
.L802A35D4:
/* 418364 802A35D4 3C02802B */ lui $v0, 0x802b
/* 418368 802A35D8 8042D10D */ lb $v0, -0x2ef3($v0)
/* 41836C 802A35DC 3C03802B */ lui $v1, 0x802b
/* 418370 802A35E0 8063D109 */ lb $v1, -0x2ef7($v1)
/* 418374 802A35E4 2442FFFF */ addiu $v0, $v0, -1
/* 418378 802A35E8 0062182A */ slt $v1, $v1, $v0
/* 41837C 802A35EC 14600015 */ bnez $v1, .L802A3644
/* 418380 802A35F0 00000000 */ nop
/* 418384 802A35F4 3C04802B */ lui $a0, 0x802b
/* 418388 802A35F8 2484D10C */ addiu $a0, $a0, -0x2ef4
/* 41838C 802A35FC 90820000 */ lbu $v0, ($a0)
/* 418390 802A3600 3C05802B */ lui $a1, 0x802b
/* 418394 802A3604 24A5D4A4 */ addiu $a1, $a1, -0x2b5c
/* 418398 802A3608 24420001 */ addiu $v0, $v0, 1
/* 41839C 802A360C A0820000 */ sb $v0, ($a0)
/* 4183A0 802A3610 00021600 */ sll $v0, $v0, 0x18
/* 4183A4 802A3614 8CA30000 */ lw $v1, ($a1)
/* 4183A8 802A3618 00021603 */ sra $v0, $v0, 0x18
/* 4183AC 802A361C 2463FFFA */ addiu $v1, $v1, -6
/* 4183B0 802A3620 0062182A */ slt $v1, $v1, $v0
/* 4183B4 802A3624 10600007 */ beqz $v1, .L802A3644
/* 4183B8 802A3628 00000000 */ nop
/* 4183BC 802A362C 90A20003 */ lbu $v0, 3($a1)
/* 4183C0 802A3630 2442FFFA */ addiu $v0, $v0, -6
/* 4183C4 802A3634 A0820000 */ sb $v0, ($a0)
/* 4183C8 802A3638 00021600 */ sll $v0, $v0, 0x18
/* 4183CC 802A363C 04420001 */ bltzl $v0, .L802A3644
/* 4183D0 802A3640 A0800000 */ sb $zero, ($a0)
.L802A3644:
/* 4183D4 802A3644 3C02802B */ lui $v0, 0x802b
/* 4183D8 802A3648 9042D10C */ lbu $v0, -0x2ef4($v0)
/* 4183DC 802A364C 8E230214 */ lw $v1, 0x214($s1)
/* 4183E0 802A3650 24420006 */ addiu $v0, $v0, 6
/* 4183E4 802A3654 3C01802B */ lui $at, 0x802b
/* 4183E8 802A3658 A022D10D */ sb $v0, -0x2ef3($at)
/* 4183EC 802A365C 30628000 */ andi $v0, $v1, 0x8000
/* 4183F0 802A3660 10400025 */ beqz $v0, .L802A36F8
/* 4183F4 802A3664 30624000 */ andi $v0, $v1, 0x4000
/* 4183F8 802A3668 3C11802B */ lui $s1, 0x802b
/* 4183FC 802A366C 2631D109 */ addiu $s1, $s1, -0x2ef7
/* 418400 802A3670 82220000 */ lb $v0, ($s1)
/* 418404 802A3674 00021080 */ sll $v0, $v0, 2
/* 418408 802A3678 3C01802B */ lui $at, 0x802b
/* 41840C 802A367C 00220821 */ addu $at, $at, $v0
/* 418410 802A3680 8C22D1F8 */ lw $v0, -0x2e08($at)
/* 418414 802A3684 3C10802B */ lui $s0, 0x802b
/* 418418 802A3688 2610D1F8 */ addiu $s0, $s0, -0x2e08
/* 41841C 802A368C 00021080 */ sll $v0, $v0, 2
/* 418420 802A3690 3C03802B */ lui $v1, 0x802b
/* 418424 802A3694 00621821 */ addu $v1, $v1, $v0
/* 418428 802A3698 8C63D510 */ lw $v1, -0x2af0($v1)
/* 41842C 802A369C 24020001 */ addiu $v0, $zero, 1
/* 418430 802A36A0 14620005 */ bne $v1, $v0, .L802A36B8
/* 418434 802A36A4 00000000 */ nop
/* 418438 802A36A8 0C05272D */ jal play_sound
/* 41843C 802A36AC 240400C9 */ addiu $a0, $zero, 0xc9
/* 418440 802A36B0 080A8F19 */ j .L802A3C64
/* 418444 802A36B4 2402FFFF */ addiu $v0, $zero, -1
.L802A36B8:
/* 418448 802A36B8 0C05272D */ jal play_sound
/* 41844C 802A36BC 2404021D */ addiu $a0, $zero, 0x21d
/* 418450 802A36C0 82220000 */ lb $v0, ($s1)
/* 418454 802A36C4 00021080 */ sll $v0, $v0, 2
/* 418458 802A36C8 00501021 */ addu $v0, $v0, $s0
/* 41845C 802A36CC 8C420000 */ lw $v0, ($v0)
/* 418460 802A36D0 3C03802B */ lui $v1, 0x802b
/* 418464 802A36D4 2463D258 */ addiu $v1, $v1, -0x2da8
/* 418468 802A36D8 AC600000 */ sw $zero, ($v1)
/* 41846C 802A36DC 3C01802B */ lui $at, 0x802b
/* 418470 802A36E0 00220821 */ addu $at, $at, $v0
/* 418474 802A36E4 8022D5E8 */ lb $v0, -0x2a18($at)
/* 418478 802A36E8 54400001 */ bnezl $v0, .L802A36F0
/* 41847C 802A36EC AC620000 */ sw $v0, ($v1)
.L802A36F0:
/* 418480 802A36F0 080A8F19 */ j .L802A3C64
/* 418484 802A36F4 24020028 */ addiu $v0, $zero, 0x28
.L802A36F8:
/* 418488 802A36F8 1040015D */ beqz $v0, .L802A3C70
/* 41848C 802A36FC 0000102D */ daddu $v0, $zero, $zero
/* 418490 802A3700 0C05272D */ jal play_sound
/* 418494 802A3704 240400CA */ addiu $a0, $zero, 0xca
/* 418498 802A3708 0C0A89F9 */ jal func_802A27E4
/* 41849C 802A370C 00000000 */ nop
/* 4184A0 802A3710 080A8F19 */ j .L802A3C64
/* 4184A4 802A3714 2402FFFE */ addiu $v0, $zero, -2
/* 4184A8 802A3718 3C02802B */ lui $v0, 0x802b
/* 4184AC 802A371C 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 4184B0 802A3720 1840000F */ blez $v0, .L802A3760
/* 4184B4 802A3724 0000802D */ daddu $s0, $zero, $zero
/* 4184B8 802A3728 3C11802B */ lui $s1, 0x802b
/* 4184BC 802A372C 2631D128 */ addiu $s1, $s1, -0x2ed8
/* 4184C0 802A3730 240500A0 */ addiu $a1, $zero, 0xa0
.L802A3734:
/* 4184C4 802A3734 00A0302D */ daddu $a2, $a1, $zero
/* 4184C8 802A3738 00A0382D */ daddu $a3, $a1, $zero
/* 4184CC 802A373C 8E240000 */ lw $a0, ($s1)
/* 4184D0 802A3740 0C0513BF */ jal func_80144EFC
/* 4184D4 802A3744 26310004 */ addiu $s1, $s1, 4
/* 4184D8 802A3748 3C02802B */ lui $v0, 0x802b
/* 4184DC 802A374C 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 4184E0 802A3750 26100001 */ addiu $s0, $s0, 1
/* 4184E4 802A3754 0202102A */ slt $v0, $s0, $v0
/* 4184E8 802A3758 1440FFF6 */ bnez $v0, .L802A3734
/* 4184EC 802A375C 240500A0 */ addiu $a1, $zero, 0xa0
.L802A3760:
/* 4184F0 802A3760 240500A0 */ addiu $a1, $zero, 0xa0
/* 4184F4 802A3764 00A0302D */ daddu $a2, $a1, $zero
/* 4184F8 802A3768 3C04802B */ lui $a0, 0x802b
/* 4184FC 802A376C 8C84D118 */ lw $a0, -0x2ee8($a0)
/* 418500 802A3770 0C0513BF */ jal func_80144EFC
/* 418504 802A3774 00A0382D */ daddu $a3, $a1, $zero
/* 418508 802A3778 240500A0 */ addiu $a1, $zero, 0xa0
/* 41850C 802A377C 00A0302D */ daddu $a2, $a1, $zero
/* 418510 802A3780 3C04802B */ lui $a0, 0x802b
/* 418514 802A3784 8C84D11C */ lw $a0, -0x2ee4($a0)
/* 418518 802A3788 0C0513BF */ jal func_80144EFC
/* 41851C 802A378C 00A0382D */ daddu $a3, $a1, $zero
/* 418520 802A3790 240500A0 */ addiu $a1, $zero, 0xa0
/* 418524 802A3794 00A0302D */ daddu $a2, $a1, $zero
/* 418528 802A3798 3C04802B */ lui $a0, 0x802b
/* 41852C 802A379C 8C84D120 */ lw $a0, -0x2ee0($a0)
/* 418530 802A37A0 0C0513BF */ jal func_80144EFC
/* 418534 802A37A4 00A0382D */ daddu $a3, $a1, $zero
/* 418538 802A37A8 240500A0 */ addiu $a1, $zero, 0xa0
/* 41853C 802A37AC 00A0302D */ daddu $a2, $a1, $zero
/* 418540 802A37B0 3C04802B */ lui $a0, 0x802b
/* 418544 802A37B4 8C84D188 */ lw $a0, -0x2e78($a0)
/* 418548 802A37B8 0C0513BF */ jal func_80144EFC
/* 41854C 802A37BC 00A0382D */ daddu $a3, $a1, $zero
/* 418550 802A37C0 3C02802B */ lui $v0, 0x802b
/* 418554 802A37C4 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 418558 802A37C8 1840000F */ blez $v0, .L802A3808
/* 41855C 802A37CC 0000802D */ daddu $s0, $zero, $zero
/* 418560 802A37D0 3C11802B */ lui $s1, 0x802b
/* 418564 802A37D4 2631D190 */ addiu $s1, $s1, -0x2e70
/* 418568 802A37D8 240500A0 */ addiu $a1, $zero, 0xa0
.L802A37DC:
/* 41856C 802A37DC 00A0302D */ daddu $a2, $a1, $zero
/* 418570 802A37E0 00A0382D */ daddu $a3, $a1, $zero
/* 418574 802A37E4 8E240000 */ lw $a0, ($s1)
/* 418578 802A37E8 0C0513BF */ jal func_80144EFC
/* 41857C 802A37EC 26310004 */ addiu $s1, $s1, 4
/* 418580 802A37F0 3C02802B */ lui $v0, 0x802b
/* 418584 802A37F4 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 418588 802A37F8 26100001 */ addiu $s0, $s0, 1
/* 41858C 802A37FC 0202102A */ slt $v0, $s0, $v0
/* 418590 802A3800 5440FFF6 */ bnezl $v0, .L802A37DC
/* 418594 802A3804 240500A0 */ addiu $a1, $zero, 0xa0
.L802A3808:
/* 418598 802A3808 3C04802B */ lui $a0, 0x802b
/* 41859C 802A380C 8C84D118 */ lw $a0, -0x2ee8($a0)
/* 4185A0 802A3810 3C058010 */ lui $a1, 0x8010
/* 4185A4 802A3814 24A54A00 */ addiu $a1, $a1, 0x4a00
/* 4185A8 802A3818 0C0511FF */ jal set_menu_icon_script
/* 4185AC 802A381C 00000000 */ nop
/* 4185B0 802A3820 24040001 */ addiu $a0, $zero, 1
/* 4185B4 802A3824 2402000D */ addiu $v0, $zero, 0xd
/* 4185B8 802A3828 3C01802B */ lui $at, 0x802b
/* 4185BC 802A382C A422D114 */ sh $v0, -0x2eec($at)
/* 4185C0 802A3830 0C051F9F */ jal func_80147E7C
/* 4185C4 802A3834 24050004 */ addiu $a1, $zero, 4
/* 4185C8 802A3838 3C02802B */ lui $v0, 0x802b
/* 4185CC 802A383C 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 4185D0 802A3840 54400006 */ bnezl $v0, .L802A385C
/* 4185D4 802A3844 24040004 */ addiu $a0, $zero, 4
/* 4185D8 802A3848 24040002 */ addiu $a0, $zero, 2
/* 4185DC 802A384C 0C051F9F */ jal func_80147E7C
/* 4185E0 802A3850 24050004 */ addiu $a1, $zero, 4
/* 4185E4 802A3854 080A8E1A */ j .L802A3868
/* 4185E8 802A3858 24040003 */ addiu $a0, $zero, 3
.L802A385C:
/* 4185EC 802A385C 0C051F9F */ jal func_80147E7C
/* 4185F0 802A3860 0080282D */ daddu $a1, $a0, $zero
/* 4185F4 802A3864 24040005 */ addiu $a0, $zero, 5
.L802A3868:
/* 4185F8 802A3868 0C051F9F */ jal func_80147E7C
/* 4185FC 802A386C 24050004 */ addiu $a1, $zero, 4
/* 418600 802A3870 24040008 */ addiu $a0, $zero, 8
/* 418604 802A3874 0C051F9F */ jal func_80147E7C
/* 418608 802A3878 24050002 */ addiu $a1, $zero, 2
/* 41860C 802A387C 3C02802B */ lui $v0, 0x802b
/* 418610 802A3880 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418614 802A3884 14400005 */ bnez $v0, .L802A389C
/* 418618 802A3888 00000000 */ nop
/* 41861C 802A388C 0C03A674 */ jal status_menu_stop_blinking_fp
/* 418620 802A3890 00000000 */ nop
/* 418624 802A3894 080A8E5D */ j .L802A3974
/* 418628 802A3898 00000000 */ nop
.L802A389C:
/* 41862C 802A389C 0C03A6A5 */ jal status_menu_stop_blinking_sp
/* 418630 802A38A0 00000000 */ nop
/* 418634 802A38A4 080A8E5D */ j .L802A3974
/* 418638 802A38A8 00000000 */ nop
/* 41863C 802A38AC 3C02802B */ lui $v0, 0x802b
/* 418640 802A38B0 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418644 802A38B4 14400005 */ bnez $v0, .L802A38CC
/* 418648 802A38B8 00000000 */ nop
/* 41864C 802A38BC 0C03A674 */ jal status_menu_stop_blinking_fp
/* 418650 802A38C0 00000000 */ nop
/* 418654 802A38C4 080A8F1C */ j .L802A3C70
/* 418658 802A38C8 240200FF */ addiu $v0, $zero, 0xff
.L802A38CC:
/* 41865C 802A38CC 0C03A6A5 */ jal status_menu_stop_blinking_sp
/* 418660 802A38D0 00000000 */ nop
/* 418664 802A38D4 080A8F1C */ j .L802A3C70
/* 418668 802A38D8 240200FF */ addiu $v0, $zero, 0xff
/* 41866C 802A38DC 24040001 */ addiu $a0, $zero, 1
/* 418670 802A38E0 0C051F9F */ jal func_80147E7C
/* 418674 802A38E4 24050002 */ addiu $a1, $zero, 2
/* 418678 802A38E8 3C02802B */ lui $v0, 0x802b
/* 41867C 802A38EC 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418680 802A38F0 54400006 */ bnezl $v0, .L802A390C
/* 418684 802A38F4 24040004 */ addiu $a0, $zero, 4
/* 418688 802A38F8 24040002 */ addiu $a0, $zero, 2
/* 41868C 802A38FC 0C051F9F */ jal func_80147E7C
/* 418690 802A3900 0080282D */ daddu $a1, $a0, $zero
/* 418694 802A3904 080A8E46 */ j .L802A3918
/* 418698 802A3908 24040003 */ addiu $a0, $zero, 3
.L802A390C:
/* 41869C 802A390C 0C051F9F */ jal func_80147E7C
/* 4186A0 802A3910 24050002 */ addiu $a1, $zero, 2
/* 4186A4 802A3914 24040005 */ addiu $a0, $zero, 5
.L802A3918:
/* 4186A8 802A3918 0C051F9F */ jal func_80147E7C
/* 4186AC 802A391C 24050002 */ addiu $a1, $zero, 2
/* 4186B0 802A3920 24040008 */ addiu $a0, $zero, 8
/* 4186B4 802A3924 0C051F9F */ jal func_80147E7C
/* 4186B8 802A3928 24050002 */ addiu $a1, $zero, 2
/* 4186BC 802A392C 3C02802B */ lui $v0, 0x802b
/* 4186C0 802A3930 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 4186C4 802A3934 14400005 */ bnez $v0, .L802A394C
/* 4186C8 802A3938 00000000 */ nop
/* 4186CC 802A393C 0C03A674 */ jal status_menu_stop_blinking_fp
/* 4186D0 802A3940 00000000 */ nop
/* 4186D4 802A3944 080A8E55 */ j .L802A3954
/* 4186D8 802A3948 00000000 */ nop
.L802A394C:
/* 4186DC 802A394C 0C03A6A5 */ jal status_menu_stop_blinking_sp
/* 4186E0 802A3950 00000000 */ nop
.L802A3954:
/* 4186E4 802A3954 3C04802B */ lui $a0, 0x802b
/* 4186E8 802A3958 8084D109 */ lb $a0, -0x2ef7($a0)
/* 4186EC 802A395C 00041080 */ sll $v0, $a0, 2
/* 4186F0 802A3960 3C01802B */ lui $at, 0x802b
/* 4186F4 802A3964 00220821 */ addu $at, $at, $v0
/* 4186F8 802A3968 8C22D1F8 */ lw $v0, -0x2e08($at)
/* 4186FC 802A396C 080A8E82 */ j .L802A3A08
/* 418700 802A3970 2403000B */ addiu $v1, $zero, 0xb
.L802A3974:
/* 418704 802A3974 3C03802B */ lui $v1, 0x802b
/* 418708 802A3978 8063D109 */ lb $v1, -0x2ef7($v1)
/* 41870C 802A397C 00031080 */ sll $v0, $v1, 2
/* 418710 802A3980 3C01802B */ lui $at, 0x802b
/* 418714 802A3984 00220821 */ addu $at, $at, $v0
/* 418718 802A3988 8C22D1F8 */ lw $v0, -0x2e08($at)
/* 41871C 802A398C 3C01802B */ lui $at, 0x802b
/* 418720 802A3990 AC23D600 */ sw $v1, -0x2a00($at)
/* 418724 802A3994 080A8F1C */ j .L802A3C70
/* 418728 802A3998 24420001 */ addiu $v0, $v0, 1
/* 41872C 802A399C 24040001 */ addiu $a0, $zero, 1
/* 418730 802A39A0 0C051F9F */ jal func_80147E7C
/* 418734 802A39A4 0080282D */ daddu $a1, $a0, $zero
/* 418738 802A39A8 3C02802B */ lui $v0, 0x802b
/* 41873C 802A39AC 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418740 802A39B0 54400006 */ bnezl $v0, .L802A39CC
/* 418744 802A39B4 24040004 */ addiu $a0, $zero, 4
/* 418748 802A39B8 24040002 */ addiu $a0, $zero, 2
/* 41874C 802A39BC 0C051F9F */ jal func_80147E7C
/* 418750 802A39C0 24050001 */ addiu $a1, $zero, 1
/* 418754 802A39C4 080A8E76 */ j .L802A39D8
/* 418758 802A39C8 24040003 */ addiu $a0, $zero, 3
.L802A39CC:
/* 41875C 802A39CC 0C051F9F */ jal func_80147E7C
/* 418760 802A39D0 24050001 */ addiu $a1, $zero, 1
/* 418764 802A39D4 24040005 */ addiu $a0, $zero, 5
.L802A39D8:
/* 418768 802A39D8 0C051F9F */ jal func_80147E7C
/* 41876C 802A39DC 24050001 */ addiu $a1, $zero, 1
/* 418770 802A39E0 24040008 */ addiu $a0, $zero, 8
/* 418774 802A39E4 0C051F9F */ jal func_80147E7C
/* 418778 802A39E8 24050001 */ addiu $a1, $zero, 1
/* 41877C 802A39EC 3C04802B */ lui $a0, 0x802b
/* 418780 802A39F0 8084D109 */ lb $a0, -0x2ef7($a0)
/* 418784 802A39F4 00041080 */ sll $v0, $a0, 2
/* 418788 802A39F8 3C01802B */ lui $at, 0x802b
/* 41878C 802A39FC 00220821 */ addu $at, $at, $v0
/* 418790 802A3A00 8C22D1F8 */ lw $v0, -0x2e08($at)
/* 418794 802A3A04 24030001 */ addiu $v1, $zero, 1
.L802A3A08:
/* 418798 802A3A08 3C01802B */ lui $at, 0x802b
/* 41879C 802A3A0C A023D108 */ sb $v1, -0x2ef8($at)
/* 4187A0 802A3A10 3C01802B */ lui $at, 0x802b
/* 4187A4 802A3A14 AC24D600 */ sw $a0, -0x2a00($at)
/* 4187A8 802A3A18 080A8F1C */ j .L802A3C70
/* 4187AC 802A3A1C 24420001 */ addiu $v0, $v0, 1
/* 4187B0 802A3A20 24040001 */ addiu $a0, $zero, 1
/* 4187B4 802A3A24 0C051F9F */ jal func_80147E7C
/* 4187B8 802A3A28 24050009 */ addiu $a1, $zero, 9
/* 4187BC 802A3A2C 3C02802B */ lui $v0, 0x802b
/* 4187C0 802A3A30 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 4187C4 802A3A34 54400006 */ bnezl $v0, .L802A3A50
/* 4187C8 802A3A38 24040004 */ addiu $a0, $zero, 4
/* 4187CC 802A3A3C 24040002 */ addiu $a0, $zero, 2
/* 4187D0 802A3A40 0C051F9F */ jal func_80147E7C
/* 4187D4 802A3A44 24050009 */ addiu $a1, $zero, 9
/* 4187D8 802A3A48 080A8E97 */ j .L802A3A5C
/* 4187DC 802A3A4C 24040003 */ addiu $a0, $zero, 3
.L802A3A50:
/* 4187E0 802A3A50 0C051F9F */ jal func_80147E7C
/* 4187E4 802A3A54 24050009 */ addiu $a1, $zero, 9
/* 4187E8 802A3A58 24040005 */ addiu $a0, $zero, 5
.L802A3A5C:
/* 4187EC 802A3A5C 0C051F9F */ jal func_80147E7C
/* 4187F0 802A3A60 24050009 */ addiu $a1, $zero, 9
/* 4187F4 802A3A64 24040008 */ addiu $a0, $zero, 8
/* 4187F8 802A3A68 0C051F9F */ jal func_80147E7C
/* 4187FC 802A3A6C 24050002 */ addiu $a1, $zero, 2
/* 418800 802A3A70 080A8F19 */ j .L802A3C64
/* 418804 802A3A74 2402FFFF */ addiu $v0, $zero, -1
/* 418808 802A3A78 2402FFFF */ addiu $v0, $zero, -1
/* 41880C 802A3A7C 0040182D */ daddu $v1, $v0, $zero
/* 418810 802A3A80 3C01802B */ lui $at, 0x802b
/* 418814 802A3A84 AC23D600 */ sw $v1, -0x2a00($at)
/* 418818 802A3A88 24030029 */ addiu $v1, $zero, 0x29
/* 41881C 802A3A8C 3C01802B */ lui $at, 0x802b
/* 418820 802A3A90 A023D108 */ sb $v1, -0x2ef8($at)
/* 418824 802A3A94 080A8F1C */ j .L802A3C70
/* 418828 802A3A98 00000000 */ nop
/* 41882C 802A3A9C 24040001 */ addiu $a0, $zero, 1
/* 418830 802A3AA0 0C051F9F */ jal func_80147E7C
/* 418834 802A3AA4 24050002 */ addiu $a1, $zero, 2
/* 418838 802A3AA8 3C02802B */ lui $v0, 0x802b
/* 41883C 802A3AAC 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418840 802A3AB0 54400006 */ bnezl $v0, .L802A3ACC
/* 418844 802A3AB4 24040004 */ addiu $a0, $zero, 4
/* 418848 802A3AB8 24040002 */ addiu $a0, $zero, 2
/* 41884C 802A3ABC 0C051F9F */ jal func_80147E7C
/* 418850 802A3AC0 0080282D */ daddu $a1, $a0, $zero
/* 418854 802A3AC4 080A8EB6 */ j .L802A3AD8
/* 418858 802A3AC8 24040003 */ addiu $a0, $zero, 3
.L802A3ACC:
/* 41885C 802A3ACC 0C051F9F */ jal func_80147E7C
/* 418860 802A3AD0 24050002 */ addiu $a1, $zero, 2
/* 418864 802A3AD4 24040005 */ addiu $a0, $zero, 5
.L802A3AD8:
/* 418868 802A3AD8 0C051F9F */ jal func_80147E7C
/* 41886C 802A3ADC 24050002 */ addiu $a1, $zero, 2
/* 418870 802A3AE0 24040008 */ addiu $a0, $zero, 8
/* 418874 802A3AE4 0C051F9F */ jal func_80147E7C
/* 418878 802A3AE8 24050002 */ addiu $a1, $zero, 2
/* 41887C 802A3AEC 3C11001D */ lui $s1, 0x1d
/* 418880 802A3AF0 3C02802B */ lui $v0, 0x802b
/* 418884 802A3AF4 8C42D258 */ lw $v0, -0x2da8($v0)
/* 418888 802A3AF8 14400008 */ bnez $v0, .L802A3B1C
/* 41888C 802A3AFC 363100C3 */ ori $s1, $s1, 0xc3
/* 418890 802A3B00 3C11001D */ lui $s1, 0x1d
/* 418894 802A3B04 3C02802B */ lui $v0, 0x802b
/* 418898 802A3B08 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 41889C 802A3B0C 14400003 */ bnez $v0, .L802A3B1C
/* 4188A0 802A3B10 363100A0 */ ori $s1, $s1, 0xa0
/* 4188A4 802A3B14 3C11001D */ lui $s1, 0x1d
/* 4188A8 802A3B18 3631009F */ ori $s1, $s1, 0x9f
.L802A3B1C:
/* 4188AC 802A3B1C 0220202D */ daddu $a0, $s1, $zero
/* 4188B0 802A3B20 0C04991D */ jal get_string_width
/* 4188B4 802A3B24 0000282D */ daddu $a1, $zero, $zero
/* 4188B8 802A3B28 24500017 */ addiu $s0, $v0, 0x17
/* 4188BC 802A3B2C 001017C2 */ srl $v0, $s0, 0x1f
/* 4188C0 802A3B30 02021021 */ addu $v0, $s0, $v0
/* 4188C4 802A3B34 00021043 */ sra $v0, $v0, 1
/* 4188C8 802A3B38 240300A0 */ addiu $v1, $zero, 0xa0
/* 4188CC 802A3B3C 00629823 */ subu $s3, $v1, $v0
/* 4188D0 802A3B40 0C04992C */ jal func_801264B0
/* 4188D4 802A3B44 0220202D */ daddu $a0, $s1, $zero
/* 4188D8 802A3B48 24040009 */ addiu $a0, $zero, 9
/* 4188DC 802A3B4C 0260282D */ daddu $a1, $s3, $zero
/* 4188E0 802A3B50 24060050 */ addiu $a2, $zero, 0x50
/* 4188E4 802A3B54 0200382D */ daddu $a3, $s0, $zero
/* 4188E8 802A3B58 2442FFFF */ addiu $v0, $v0, -1
/* 4188EC 802A3B5C 00021040 */ sll $v0, $v0, 1
/* 4188F0 802A3B60 3C03802B */ lui $v1, 0x802b
/* 4188F4 802A3B64 00621821 */ addu $v1, $v1, $v0
/* 4188F8 802A3B68 8463B340 */ lh $v1, -0x4cc0($v1)
/* 4188FC 802A3B6C 24020014 */ addiu $v0, $zero, 0x14
/* 418900 802A3B70 AFA20014 */ sw $v0, 0x14($sp)
/* 418904 802A3B74 3C02802A */ lui $v0, 0x802a
/* 418908 802A3B78 24424534 */ addiu $v0, $v0, 0x4534
/* 41890C 802A3B7C AFA20018 */ sw $v0, 0x18($sp)
/* 418910 802A3B80 2402FFFF */ addiu $v0, $zero, -1
/* 418914 802A3B84 AFA0001C */ sw $zero, 0x1c($sp)
/* 418918 802A3B88 AFA20020 */ sw $v0, 0x20($sp)
/* 41891C 802A3B8C 0C051F32 */ jal func_80147CC8
/* 418920 802A3B90 AFA30010 */ sw $v1, 0x10($sp)
/* 418924 802A3B94 24040009 */ addiu $a0, $zero, 9
/* 418928 802A3B98 0C051F9F */ jal func_80147E7C
/* 41892C 802A3B9C 24050001 */ addiu $a1, $zero, 1
/* 418930 802A3BA0 2403003C */ addiu $v1, $zero, 0x3c
/* 418934 802A3BA4 3C01802B */ lui $at, 0x802b
/* 418938 802A3BA8 A023D10B */ sb $v1, -0x2ef5($at)
/* 41893C 802A3BAC 2403002A */ addiu $v1, $zero, 0x2a
/* 418940 802A3BB0 3C01802B */ lui $at, 0x802b
/* 418944 802A3BB4 A023D108 */ sb $v1, -0x2ef8($at)
/* 418948 802A3BB8 080A8F1C */ j .L802A3C70
/* 41894C 802A3BBC 2402FFFF */ addiu $v0, $zero, -1
/* 418950 802A3BC0 3C028007 */ lui $v0, 0x8007
/* 418954 802A3BC4 8C42419C */ lw $v0, 0x419c($v0)
/* 418958 802A3BC8 8C420010 */ lw $v0, 0x10($v0)
/* 41895C 802A3BCC 3042C000 */ andi $v0, $v0, 0xc000
/* 418960 802A3BD0 10400003 */ beqz $v0, .L802A3BE0
/* 418964 802A3BD4 00000000 */ nop
/* 418968 802A3BD8 3C01802B */ lui $at, 0x802b
/* 41896C 802A3BDC A020D10B */ sb $zero, -0x2ef5($at)
.L802A3BE0:
/* 418970 802A3BE0 3C04802B */ lui $a0, 0x802b
/* 418974 802A3BE4 2484D10B */ addiu $a0, $a0, -0x2ef5
/* 418978 802A3BE8 80820000 */ lb $v0, ($a0)
/* 41897C 802A3BEC 90830000 */ lbu $v1, ($a0)
/* 418980 802A3BF0 10400004 */ beqz $v0, .L802A3C04
/* 418984 802A3BF4 2462FFFF */ addiu $v0, $v1, -1
/* 418988 802A3BF8 A0820000 */ sb $v0, ($a0)
/* 41898C 802A3BFC 080A8F1C */ j .L802A3C70
/* 418990 802A3C00 2402FFFF */ addiu $v0, $zero, -1
.L802A3C04:
/* 418994 802A3C04 24040009 */ addiu $a0, $zero, 9
/* 418998 802A3C08 0C051F9F */ jal func_80147E7C
/* 41899C 802A3C0C 24050002 */ addiu $a1, $zero, 2
/* 4189A0 802A3C10 24040001 */ addiu $a0, $zero, 1
/* 4189A4 802A3C14 0C051F9F */ jal func_80147E7C
/* 4189A8 802A3C18 0080282D */ daddu $a1, $a0, $zero
/* 4189AC 802A3C1C 3C02802B */ lui $v0, 0x802b
/* 4189B0 802A3C20 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 4189B4 802A3C24 54400006 */ bnezl $v0, .L802A3C40
/* 4189B8 802A3C28 24040004 */ addiu $a0, $zero, 4
/* 4189BC 802A3C2C 24040002 */ addiu $a0, $zero, 2
/* 4189C0 802A3C30 0C051F9F */ jal func_80147E7C
/* 4189C4 802A3C34 24050001 */ addiu $a1, $zero, 1
/* 4189C8 802A3C38 080A8F13 */ j .L802A3C4C
/* 4189CC 802A3C3C 24040003 */ addiu $a0, $zero, 3
.L802A3C40:
/* 4189D0 802A3C40 0C051F9F */ jal func_80147E7C
/* 4189D4 802A3C44 24050001 */ addiu $a1, $zero, 1
/* 4189D8 802A3C48 24040005 */ addiu $a0, $zero, 5
.L802A3C4C:
/* 4189DC 802A3C4C 0C051F9F */ jal func_80147E7C
/* 4189E0 802A3C50 24050001 */ addiu $a1, $zero, 1
/* 4189E4 802A3C54 24040008 */ addiu $a0, $zero, 8
/* 4189E8 802A3C58 0C051F9F */ jal func_80147E7C
/* 4189EC 802A3C5C 24050001 */ addiu $a1, $zero, 1
/* 4189F0 802A3C60 24020001 */ addiu $v0, $zero, 1
.L802A3C64:
/* 4189F4 802A3C64 3C01802B */ lui $at, 0x802b
/* 4189F8 802A3C68 A022D108 */ sb $v0, -0x2ef8($at)
.L802A3C6C:
/* 4189FC 802A3C6C 0000102D */ daddu $v0, $zero, $zero
.L802A3C70:
/* 418A00 802A3C70 8FBF0044 */ lw $ra, 0x44($sp)
/* 418A04 802A3C74 8FB60040 */ lw $s6, 0x40($sp)
/* 418A08 802A3C78 8FB5003C */ lw $s5, 0x3c($sp)
/* 418A0C 802A3C7C 8FB40038 */ lw $s4, 0x38($sp)
/* 418A10 802A3C80 8FB30034 */ lw $s3, 0x34($sp)
/* 418A14 802A3C84 8FB20030 */ lw $s2, 0x30($sp)
/* 418A18 802A3C88 8FB1002C */ lw $s1, 0x2c($sp)
/* 418A1C 802A3C8C 8FB00028 */ lw $s0, 0x28($sp)
/* 418A20 802A3C90 03E00008 */ jr $ra
/* 418A24 802A3C94 27BD0048 */ addiu $sp, $sp, 0x48
/* 418A28 802A3C98 3C02802B */ lui $v0, 0x802b
/* 418A2C 802A3C9C 9042D108 */ lbu $v0, -0x2ef8($v0)
/* 418A30 802A3CA0 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 418A34 802A3CA4 AFBF0044 */ sw $ra, 0x44($sp)
/* 418A38 802A3CA8 AFBE0040 */ sw $fp, 0x40($sp)
/* 418A3C 802A3CAC AFB7003C */ sw $s7, 0x3c($sp)
/* 418A40 802A3CB0 AFB60038 */ sw $s6, 0x38($sp)
/* 418A44 802A3CB4 AFB50034 */ sw $s5, 0x34($sp)
/* 418A48 802A3CB8 AFB40030 */ sw $s4, 0x30($sp)
/* 418A4C 802A3CBC AFB3002C */ sw $s3, 0x2c($sp)
/* 418A50 802A3CC0 AFB20028 */ sw $s2, 0x28($sp)
/* 418A54 802A3CC4 AFB10024 */ sw $s1, 0x24($sp)
/* 418A58 802A3CC8 AFB00020 */ sw $s0, 0x20($sp)
/* 418A5C 802A3CCC AFA5004C */ sw $a1, 0x4c($sp)
/* 418A60 802A3CD0 24420001 */ addiu $v0, $v0, 1
/* 418A64 802A3CD4 00021600 */ sll $v0, $v0, 0x18
/* 418A68 802A3CD8 00021E03 */ sra $v1, $v0, 0x18
/* 418A6C 802A3CDC 2C62002B */ sltiu $v0, $v1, 0x2b
/* 418A70 802A3CE0 104001B2 */ beqz $v0, .L802A43AC
/* 418A74 802A3CE4 AFA60050 */ sw $a2, 0x50($sp)
/* 418A78 802A3CE8 00031080 */ sll $v0, $v1, 2
/* 418A7C 802A3CEC 3C01802B */ lui $at, 0x802b
/* 418A80 802A3CF0 00220821 */ addu $at, $at, $v0
/* 418A84 802A3CF4 8C22B8C0 */ lw $v0, -0x4740($at)
/* 418A88 802A3CF8 00400008 */ jr $v0
/* 418A8C 802A3CFC 00000000 */ nop
/* 418A90 802A3D00 3C03802B */ lui $v1, 0x802b
/* 418A94 802A3D04 8063D10C */ lb $v1, -0x2ef4($v1)
/* 418A98 802A3D08 3C08802B */ lui $t0, 0x802b
/* 418A9C 802A3D0C 8508D110 */ lh $t0, -0x2ef0($t0)
/* 418AA0 802A3D10 3C013FE0 */ lui $at, 0x3fe0
/* 418AA4 802A3D14 44811800 */ mtc1 $at, $f3
/* 418AA8 802A3D18 44801000 */ mtc1 $zero, $f2
/* 418AAC 802A3D1C 00031823 */ negu $v1, $v1
/* 418AB0 802A3D20 00031040 */ sll $v0, $v1, 1
/* 418AB4 802A3D24 00431021 */ addu $v0, $v0, $v1
/* 418AB8 802A3D28 00021080 */ sll $v0, $v0, 2
/* 418ABC 802A3D2C 00438821 */ addu $s1, $v0, $v1
/* 418AC0 802A3D30 02281023 */ subu $v0, $s1, $t0
/* 418AC4 802A3D34 44820000 */ mtc1 $v0, $f0
/* 418AC8 802A3D38 00000000 */ nop
/* 418ACC 802A3D3C 46800021 */ cvt.d.w $f0, $f0
/* 418AD0 802A3D40 46220002 */ mul.d $f0, $f0, $f2
/* 418AD4 802A3D44 00000000 */ nop
/* 418AD8 802A3D48 4620018D */ trunc.w.d $f6, $f0
/* 418ADC 802A3D4C 44023000 */ mfc1 $v0, $f6
/* 418AE0 802A3D50 00000000 */ nop
/* 418AE4 802A3D54 14400002 */ bnez $v0, .L802A3D60
/* 418AE8 802A3D58 01024021 */ addu $t0, $t0, $v0
/* 418AEC 802A3D5C 0220402D */ daddu $t0, $s1, $zero
.L802A3D60:
/* 418AF0 802A3D60 0000982D */ daddu $s3, $zero, $zero
/* 418AF4 802A3D64 3C06800A */ lui $a2, 0x800a
/* 418AF8 802A3D68 24C6A66C */ addiu $a2, $a2, -0x5994
/* 418AFC 802A3D6C 3C05802B */ lui $a1, 0x802b
/* 418B00 802A3D70 24A5D110 */ addiu $a1, $a1, -0x2ef0
/* 418B04 802A3D74 8FA9004C */ lw $t1, 0x4c($sp)
/* 418B08 802A3D78 8CC40000 */ lw $a0, ($a2)
/* 418B0C 802A3D7C 3C03802B */ lui $v1, 0x802b
/* 418B10 802A3D80 8063D10E */ lb $v1, -0x2ef2($v1)
/* 418B14 802A3D84 3C014080 */ lui $at, 0x4080
/* 418B18 802A3D88 44812000 */ mtc1 $at, $f4
/* 418B1C 802A3D8C 25350002 */ addiu $s5, $t1, 2
/* 418B20 802A3D90 44951000 */ mtc1 $s5, $f2
/* 418B24 802A3D94 00000000 */ nop
/* 418B28 802A3D98 468010A0 */ cvt.s.w $f2, $f2
/* 418B2C 802A3D9C 00031040 */ sll $v0, $v1, 1
/* 418B30 802A3DA0 00431021 */ addu $v0, $v0, $v1
/* 418B34 802A3DA4 00021080 */ sll $v0, $v0, 2
/* 418B38 802A3DA8 00431021 */ addu $v0, $v0, $v1
/* 418B3C 802A3DAC 24420001 */ addiu $v0, $v0, 1
/* 418B40 802A3DB0 0080382D */ daddu $a3, $a0, $zero
/* 418B44 802A3DB4 8FA90050 */ lw $t1, 0x50($sp)
/* 418B48 802A3DB8 46041082 */ mul.s $f2, $f2, $f4
/* 418B4C 802A3DBC 00000000 */ nop
/* 418B50 802A3DC0 25310012 */ addiu $s1, $t1, 0x12
/* 418B54 802A3DC4 8FA9004C */ lw $t1, 0x4c($sp)
/* 418B58 802A3DC8 24840008 */ addiu $a0, $a0, 8
/* 418B5C 802A3DCC A4A80000 */ sh $t0, ($a1)
/* 418B60 802A3DD0 02224021 */ addu $t0, $s1, $v0
/* 418B64 802A3DD4 44910000 */ mtc1 $s1, $f0
/* 418B68 802A3DD8 00000000 */ nop
/* 418B6C 802A3DDC 46800020 */ cvt.s.w $f0, $f0
/* 418B70 802A3DE0 46040002 */ mul.s $f0, $f0, $f4
/* 418B74 802A3DE4 00000000 */ nop
/* 418B78 802A3DE8 84A20000 */ lh $v0, ($a1)
/* 418B7C 802A3DEC 2535001F */ addiu $s5, $t1, 0x1f
/* 418B80 802A3DF0 8FA90050 */ lw $t1, 0x50($sp)
/* 418B84 802A3DF4 24420013 */ addiu $v0, $v0, 0x13
/* 418B88 802A3DF8 ACC40000 */ sw $a0, ($a2)
/* 418B8C 802A3DFC 01228821 */ addu $s1, $t1, $v0
/* 418B90 802A3E00 4600118D */ trunc.w.s $f6, $f2
/* 418B94 802A3E04 44033000 */ mfc1 $v1, $f6
/* 418B98 802A3E08 00000000 */ nop
/* 418B9C 802A3E0C 30630FFF */ andi $v1, $v1, 0xfff
/* 418BA0 802A3E10 00031B00 */ sll $v1, $v1, 0xc
/* 418BA4 802A3E14 4600018D */ trunc.w.s $f6, $f0
/* 418BA8 802A3E18 44043000 */ mfc1 $a0, $f6
/* 418BAC 802A3E1C 00000000 */ nop
/* 418BB0 802A3E20 30840FFF */ andi $a0, $a0, 0xfff
/* 418BB4 802A3E24 8FA9004C */ lw $t1, 0x4c($sp)
/* 418BB8 802A3E28 44880000 */ mtc1 $t0, $f0
/* 418BBC 802A3E2C 00000000 */ nop
/* 418BC0 802A3E30 46800020 */ cvt.s.w $f0, $f0
/* 418BC4 802A3E34 25220099 */ addiu $v0, $t1, 0x99
/* 418BC8 802A3E38 44821000 */ mtc1 $v0, $f2
/* 418BCC 802A3E3C 00000000 */ nop
/* 418BD0 802A3E40 468010A0 */ cvt.s.w $f2, $f2
/* 418BD4 802A3E44 46041082 */ mul.s $f2, $f2, $f4
/* 418BD8 802A3E48 00000000 */ nop
/* 418BDC 802A3E4C 3C02ED00 */ lui $v0, 0xed00
/* 418BE0 802A3E50 00822025 */ or $a0, $a0, $v0
/* 418BE4 802A3E54 00641825 */ or $v1, $v1, $a0
/* 418BE8 802A3E58 3C04802B */ lui $a0, 0x802b
/* 418BEC 802A3E5C 8C84D4A4 */ lw $a0, -0x2b5c($a0)
/* 418BF0 802A3E60 46040002 */ mul.s $f0, $f0, $f4
/* 418BF4 802A3E64 00000000 */ nop
/* 418BF8 802A3E68 ACE30000 */ sw $v1, ($a3)
/* 418BFC 802A3E6C 4600118D */ trunc.w.s $f6, $f2
/* 418C00 802A3E70 44023000 */ mfc1 $v0, $f6
/* 418C04 802A3E74 00000000 */ nop
/* 418C08 802A3E78 30420FFF */ andi $v0, $v0, 0xfff
/* 418C0C 802A3E7C 00021300 */ sll $v0, $v0, 0xc
/* 418C10 802A3E80 4600018D */ trunc.w.s $f6, $f0
/* 418C14 802A3E84 44033000 */ mfc1 $v1, $f6
/* 418C18 802A3E88 00000000 */ nop
/* 418C1C 802A3E8C 30630FFF */ andi $v1, $v1, 0xfff
/* 418C20 802A3E90 00431025 */ or $v0, $v0, $v1
/* 418C24 802A3E94 188000BC */ blez $a0, .L802A4188
/* 418C28 802A3E98 ACE20004 */ sw $v0, 4($a3)
/* 418C2C 802A3E9C 3C16802B */ lui $s6, 0x802b
/* 418C30 802A3EA0 26D6D510 */ addiu $s6, $s6, -0x2af0
/* 418C34 802A3EA4 3C1E802B */ lui $fp, 0x802b
/* 418C38 802A3EA8 27DED320 */ addiu $fp, $fp, -0x2ce0
/* 418C3C 802A3EAC 3C14802B */ lui $s4, 0x802b
/* 418C40 802A3EB0 2694D1F8 */ addiu $s4, $s4, -0x2e08
/* 418C44 802A3EB4 0260B82D */ daddu $s7, $s3, $zero
.L802A3EB8:
/* 418C48 802A3EB8 3C03802B */ lui $v1, 0x802b
/* 418C4C 802A3EBC 8063D10C */ lb $v1, -0x2ef4($v1)
/* 418C50 802A3EC0 2462FFFF */ addiu $v0, $v1, -1
/* 418C54 802A3EC4 0262102A */ slt $v0, $s3, $v0
/* 418C58 802A3EC8 544000A7 */ bnezl $v0, .L802A4168
/* 418C5C 802A3ECC 2631000D */ addiu $s1, $s1, 0xd
/* 418C60 802A3ED0 3C02802B */ lui $v0, 0x802b
/* 418C64 802A3ED4 8042D10E */ lb $v0, -0x2ef2($v0)
/* 418C68 802A3ED8 00621021 */ addu $v0, $v1, $v0
/* 418C6C 802A3EDC 0053102A */ slt $v0, $v0, $s3
/* 418C70 802A3EE0 544000A1 */ bnezl $v0, .L802A4168
/* 418C74 802A3EE4 2631000D */ addiu $s1, $s1, 0xd
/* 418C78 802A3EE8 8E820000 */ lw $v0, ($s4)
/* 418C7C 802A3EEC 00022080 */ sll $a0, $v0, 2
/* 418C80 802A3EF0 00961021 */ addu $v0, $a0, $s6
/* 418C84 802A3EF4 8C420000 */ lw $v0, ($v0)
/* 418C88 802A3EF8 3C08802B */ lui $t0, 0x802b
/* 418C8C 802A3EFC 8508D114 */ lh $t0, -0x2eec($t0)
/* 418C90 802A3F00 58400001 */ blezl $v0, .L802A3F08
/* 418C94 802A3F04 2408000B */ addiu $t0, $zero, 0xb
.L802A3F08:
/* 418C98 802A3F08 3C02802B */ lui $v0, 0x802b
/* 418C9C 802A3F0C 2442D2C0 */ addiu $v0, $v0, -0x2d40
/* 418CA0 802A3F10 00822021 */ addu $a0, $a0, $v0
/* 418CA4 802A3F14 8C820000 */ lw $v0, ($a0)
/* 418CA8 802A3F18 04400009 */ bltz $v0, .L802A3F40
/* 418CAC 802A3F1C 02A0282D */ daddu $a1, $s5, $zero
/* 418CB0 802A3F20 3C07802B */ lui $a3, 0x802b
/* 418CB4 802A3F24 84E7D116 */ lh $a3, -0x2eea($a3)
/* 418CB8 802A3F28 24020001 */ addiu $v0, $zero, 1
/* 418CBC 802A3F2C AFA80010 */ sw $t0, 0x10($sp)
/* 418CC0 802A3F30 AFA20014 */ sw $v0, 0x14($sp)
/* 418CC4 802A3F34 8C840000 */ lw $a0, ($a0)
/* 418CC8 802A3F38 0C04993B */ jal draw_string
/* 418CCC 802A3F3C 0220302D */ daddu $a2, $s1, $zero
.L802A3F40:
/* 418CD0 802A3F40 8E820000 */ lw $v0, ($s4)
/* 418CD4 802A3F44 00021880 */ sll $v1, $v0, 2
/* 418CD8 802A3F48 3C04802B */ lui $a0, 0x802b
/* 418CDC 802A3F4C 00832021 */ addu $a0, $a0, $v1
/* 418CE0 802A3F50 8C84D380 */ lw $a0, -0x2c80($a0)
/* 418CE4 802A3F54 007E1021 */ addu $v0, $v1, $fp
/* 418CE8 802A3F58 8C420000 */ lw $v0, ($v0)
/* 418CEC 802A3F5C 10400003 */ beqz $v0, .L802A3F6C
/* 418CF0 802A3F60 00449023 */ subu $s2, $v0, $a0
/* 418CF4 802A3F64 5A400001 */ blezl $s2, .L802A3F6C
/* 418CF8 802A3F68 24120001 */ addiu $s2, $zero, 1
.L802A3F6C:
/* 418CFC 802A3F6C 3C02802B */ lui $v0, 0x802b
/* 418D00 802A3F70 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418D04 802A3F74 14400015 */ bnez $v0, .L802A3FCC
/* 418D08 802A3F78 00000000 */ nop
/* 418D0C 802A3F7C 3C02802B */ lui $v0, 0x802b
/* 418D10 802A3F80 8042D109 */ lb $v0, -0x2ef7($v0)
/* 418D14 802A3F84 16620025 */ bne $s3, $v0, .L802A401C
/* 418D18 802A3F88 00131080 */ sll $v0, $s3, 2
/* 418D1C 802A3F8C 12400007 */ beqz $s2, .L802A3FAC
/* 418D20 802A3F90 00000000 */ nop
/* 418D24 802A3F94 8E820000 */ lw $v0, ($s4)
/* 418D28 802A3F98 00021080 */ sll $v0, $v0, 2
/* 418D2C 802A3F9C 00561021 */ addu $v0, $v0, $s6
/* 418D30 802A3FA0 8C420000 */ lw $v0, ($v0)
/* 418D34 802A3FA4 1C400005 */ bgtz $v0, .L802A3FBC
/* 418D38 802A3FA8 00000000 */ nop
.L802A3FAC:
/* 418D3C 802A3FAC 0C03A674 */ jal status_menu_stop_blinking_fp
/* 418D40 802A3FB0 00000000 */ nop
/* 418D44 802A3FB4 080A9007 */ j .L802A401C
/* 418D48 802A3FB8 00131080 */ sll $v0, $s3, 2
.L802A3FBC:
/* 418D4C 802A3FBC 0C03A663 */ jal status_menu_start_blinking_fp
/* 418D50 802A3FC0 00000000 */ nop
/* 418D54 802A3FC4 080A9007 */ j .L802A401C
/* 418D58 802A3FC8 00131080 */ sll $v0, $s3, 2
.L802A3FCC:
/* 418D5C 802A3FCC 3C02802B */ lui $v0, 0x802b
/* 418D60 802A3FD0 8042D109 */ lb $v0, -0x2ef7($v0)
/* 418D64 802A3FD4 16620011 */ bne $s3, $v0, .L802A401C
/* 418D68 802A3FD8 00131080 */ sll $v0, $s3, 2
/* 418D6C 802A3FDC 12400007 */ beqz $s2, .L802A3FFC
/* 418D70 802A3FE0 00000000 */ nop
/* 418D74 802A3FE4 8E820000 */ lw $v0, ($s4)
/* 418D78 802A3FE8 00021880 */ sll $v1, $v0, 2
/* 418D7C 802A3FEC 00761021 */ addu $v0, $v1, $s6
/* 418D80 802A3FF0 8C420000 */ lw $v0, ($v0)
/* 418D84 802A3FF4 1C400005 */ bgtz $v0, .L802A400C
/* 418D88 802A3FF8 007E1021 */ addu $v0, $v1, $fp
.L802A3FFC:
/* 418D8C 802A3FFC 0C03A6A5 */ jal status_menu_stop_blinking_sp
/* 418D90 802A4000 00000000 */ nop
/* 418D94 802A4004 080A9007 */ j .L802A401C
/* 418D98 802A4008 00131080 */ sll $v0, $s3, 2
.L802A400C:
/* 418D9C 802A400C 8C440000 */ lw $a0, ($v0)
/* 418DA0 802A4010 0C03A6AE */ jal status_menu_start_blinking_sp_bars
/* 418DA4 802A4014 00000000 */ nop
/* 418DA8 802A4018 00131080 */ sll $v0, $s3, 2
.L802A401C:
/* 418DAC 802A401C 3C03802B */ lui $v1, 0x802b
/* 418DB0 802A4020 00621821 */ addu $v1, $v1, $v0
/* 418DB4 802A4024 8C63D3E0 */ lw $v1, -0x2c20($v1)
/* 418DB8 802A4028 10600005 */ beqz $v1, .L802A4040
/* 418DBC 802A402C 24020001 */ addiu $v0, $zero, 1
/* 418DC0 802A4030 10620005 */ beq $v1, $v0, .L802A4048
/* 418DC4 802A4034 24080038 */ addiu $t0, $zero, 0x38
/* 418DC8 802A4038 080A9013 */ j .L802A404C
/* 418DCC 802A403C 00000000 */ nop
.L802A4040:
/* 418DD0 802A4040 080A9013 */ j .L802A404C
/* 418DD4 802A4044 2408000A */ addiu $t0, $zero, 0xa
.L802A4048:
/* 418DD8 802A4048 24080037 */ addiu $t0, $zero, 0x37
.L802A404C:
/* 418DDC 802A404C 8E820000 */ lw $v0, ($s4)
/* 418DE0 802A4050 00021880 */ sll $v1, $v0, 2
/* 418DE4 802A4054 00761021 */ addu $v0, $v1, $s6
/* 418DE8 802A4058 8C420000 */ lw $v0, ($v0)
/* 418DEC 802A405C 58400001 */ blezl $v0, .L802A4064
/* 418DF0 802A4060 2408000B */ addiu $t0, $zero, 0xb
.L802A4064:
/* 418DF4 802A4064 007E1021 */ addu $v0, $v1, $fp
/* 418DF8 802A4068 8C420000 */ lw $v0, ($v0)
/* 418DFC 802A406C 5040003E */ beql $v0, $zero, .L802A4168
/* 418E00 802A4070 2631000D */ addiu $s1, $s1, 0xd
/* 418E04 802A4074 3C02802B */ lui $v0, 0x802b
/* 418E08 802A4078 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 418E0C 802A407C 3C10802B */ lui $s0, 0x802b
/* 418E10 802A4080 02178021 */ addu $s0, $s0, $s7
/* 418E14 802A4084 8E10D190 */ lw $s0, -0x2e70($s0)
/* 418E18 802A4088 14400018 */ bnez $v0, .L802A40EC
/* 418E1C 802A408C 0240202D */ daddu $a0, $s2, $zero
/* 418E20 802A4090 26A5006C */ addiu $a1, $s5, 0x6c
/* 418E24 802A4094 0220302D */ daddu $a2, $s1, $zero
/* 418E28 802A4098 24070001 */ addiu $a3, $zero, 1
/* 418E2C 802A409C 3C03802B */ lui $v1, 0x802b
/* 418E30 802A40A0 8463D116 */ lh $v1, -0x2eea($v1)
/* 418E34 802A40A4 24020003 */ addiu $v0, $zero, 3
/* 418E38 802A40A8 AFA80010 */ sw $t0, 0x10($sp)
/* 418E3C 802A40AC AFA20018 */ sw $v0, 0x18($sp)
/* 418E40 802A40B0 0C049DA7 */ jal draw_number
/* 418E44 802A40B4 AFA30014 */ sw $v1, 0x14($sp)
/* 418E48 802A40B8 8E820000 */ lw $v0, ($s4)
/* 418E4C 802A40BC 00021080 */ sll $v0, $v0, 2
/* 418E50 802A40C0 00561021 */ addu $v0, $v0, $s6
/* 418E54 802A40C4 8C420000 */ lw $v0, ($v0)
/* 418E58 802A40C8 5C400006 */ bgtzl $v0, .L802A40E4
/* 418E5C 802A40CC 0200202D */ daddu $a0, $s0, $zero
/* 418E60 802A40D0 3C058010 */ lui $a1, 0x8010
/* 418E64 802A40D4 24A576BC */ addiu $a1, $a1, 0x76bc
/* 418E68 802A40D8 0C0511FF */ jal set_menu_icon_script
/* 418E6C 802A40DC 0200202D */ daddu $a0, $s0, $zero
/* 418E70 802A40E0 0200202D */ daddu $a0, $s0, $zero
.L802A40E4:
/* 418E74 802A40E4 080A9051 */ j .L802A4144
/* 418E78 802A40E8 26A50074 */ addiu $a1, $s5, 0x74
.L802A40EC:
/* 418E7C 802A40EC 26A5005D */ addiu $a1, $s5, 0x5d
/* 418E80 802A40F0 0220302D */ daddu $a2, $s1, $zero
/* 418E84 802A40F4 24070001 */ addiu $a3, $zero, 1
/* 418E88 802A40F8 3C03802B */ lui $v1, 0x802b
/* 418E8C 802A40FC 8463D116 */ lh $v1, -0x2eea($v1)
/* 418E90 802A4100 24020003 */ addiu $v0, $zero, 3
/* 418E94 802A4104 AFA80010 */ sw $t0, 0x10($sp)
/* 418E98 802A4108 AFA20018 */ sw $v0, 0x18($sp)
/* 418E9C 802A410C 0C049DA7 */ jal draw_number
/* 418EA0 802A4110 AFA30014 */ sw $v1, 0x14($sp)
/* 418EA4 802A4114 8E820000 */ lw $v0, ($s4)
/* 418EA8 802A4118 00021080 */ sll $v0, $v0, 2
/* 418EAC 802A411C 00561021 */ addu $v0, $v0, $s6
/* 418EB0 802A4120 8C420000 */ lw $v0, ($v0)
/* 418EB4 802A4124 5C400006 */ bgtzl $v0, .L802A4140
/* 418EB8 802A4128 0200202D */ daddu $a0, $s0, $zero
/* 418EBC 802A412C 3C058010 */ lui $a1, 0x8010
/* 418EC0 802A4130 24A5776C */ addiu $a1, $a1, 0x776c
/* 418EC4 802A4134 0C0511FF */ jal set_menu_icon_script
/* 418EC8 802A4138 0200202D */ daddu $a0, $s0, $zero
/* 418ECC 802A413C 0200202D */ daddu $a0, $s0, $zero
.L802A4140:
/* 418ED0 802A4140 26A50066 */ addiu $a1, $s5, 0x66
.L802A4144:
/* 418ED4 802A4144 0C051261 */ jal set_icon_render_pos
/* 418ED8 802A4148 26260007 */ addiu $a2, $s1, 7
/* 418EDC 802A414C 3C05802B */ lui $a1, 0x802b
/* 418EE0 802A4150 84A5D116 */ lh $a1, -0x2eea($a1)
/* 418EE4 802A4154 0C0513AC */ jal func_80144EB0
/* 418EE8 802A4158 0200202D */ daddu $a0, $s0, $zero
/* 418EEC 802A415C 0C0511F8 */ jal func_801447E0
/* 418EF0 802A4160 0200202D */ daddu $a0, $s0, $zero
/* 418EF4 802A4164 2631000D */ addiu $s1, $s1, 0xd
.L802A4168:
/* 418EF8 802A4168 26730001 */ addiu $s3, $s3, 1
/* 418EFC 802A416C 26940004 */ addiu $s4, $s4, 4
/* 418F00 802A4170 3C02802B */ lui $v0, 0x802b
/* 418F04 802A4174 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 418F08 802A4178 0262102A */ slt $v0, $s3, $v0
/* 418F0C 802A417C 1440FF4E */ bnez $v0, .L802A3EB8
/* 418F10 802A4180 26F70004 */ addiu $s7, $s7, 4
/* 418F14 802A4184 0000982D */ daddu $s3, $zero, $zero
.L802A4188:
/* 418F18 802A4188 8FA9004C */ lw $t1, 0x4c($sp)
/* 418F1C 802A418C 3C02802B */ lui $v0, 0x802b
/* 418F20 802A4190 8442D110 */ lh $v0, -0x2ef0($v0)
/* 418F24 802A4194 25350018 */ addiu $s5, $t1, 0x18
/* 418F28 802A4198 8FA90050 */ lw $t1, 0x50($sp)
/* 418F2C 802A419C 3C03802B */ lui $v1, 0x802b
/* 418F30 802A41A0 8C63D4A4 */ lw $v1, -0x2b5c($v1)
/* 418F34 802A41A4 00491021 */ addu $v0, $v0, $t1
/* 418F38 802A41A8 18600022 */ blez $v1, .L802A4234
/* 418F3C 802A41AC 24510018 */ addiu $s1, $v0, 0x18
/* 418F40 802A41B0 3C12802B */ lui $s2, 0x802b
/* 418F44 802A41B4 2652D128 */ addiu $s2, $s2, -0x2ed8
.L802A41B8:
/* 418F48 802A41B8 3C03802B */ lui $v1, 0x802b
/* 418F4C 802A41BC 8063D10C */ lb $v1, -0x2ef4($v1)
/* 418F50 802A41C0 2462FFFF */ addiu $v0, $v1, -1
/* 418F54 802A41C4 0262102A */ slt $v0, $s3, $v0
/* 418F58 802A41C8 54400014 */ bnezl $v0, .L802A421C
/* 418F5C 802A41CC 2631000D */ addiu $s1, $s1, 0xd
/* 418F60 802A41D0 3C02802B */ lui $v0, 0x802b
/* 418F64 802A41D4 8042D10E */ lb $v0, -0x2ef2($v0)
/* 418F68 802A41D8 00621021 */ addu $v0, $v1, $v0
/* 418F6C 802A41DC 0053102A */ slt $v0, $v0, $s3
/* 418F70 802A41E0 10400003 */ beqz $v0, .L802A41F0
/* 418F74 802A41E4 02A0282D */ daddu $a1, $s5, $zero
/* 418F78 802A41E8 080A9087 */ j .L802A421C
/* 418F7C 802A41EC 2631000D */ addiu $s1, $s1, 0xd
.L802A41F0:
/* 418F80 802A41F0 0220302D */ daddu $a2, $s1, $zero
/* 418F84 802A41F4 8E500000 */ lw $s0, ($s2)
/* 418F88 802A41F8 2631000D */ addiu $s1, $s1, 0xd
/* 418F8C 802A41FC 0C051261 */ jal set_icon_render_pos
/* 418F90 802A4200 0200202D */ daddu $a0, $s0, $zero
/* 418F94 802A4204 3C05802B */ lui $a1, 0x802b
/* 418F98 802A4208 84A5D116 */ lh $a1, -0x2eea($a1)
/* 418F9C 802A420C 0C0513AC */ jal func_80144EB0
/* 418FA0 802A4210 0200202D */ daddu $a0, $s0, $zero
/* 418FA4 802A4214 0C0511F8 */ jal func_801447E0
/* 418FA8 802A4218 0200202D */ daddu $a0, $s0, $zero
.L802A421C:
/* 418FAC 802A421C 26730001 */ addiu $s3, $s3, 1
/* 418FB0 802A4220 3C02802B */ lui $v0, 0x802b
/* 418FB4 802A4224 8C42D4A4 */ lw $v0, -0x2b5c($v0)
/* 418FB8 802A4228 0262102A */ slt $v0, $s3, $v0
/* 418FBC 802A422C 1440FFE2 */ bnez $v0, .L802A41B8
/* 418FC0 802A4230 26520004 */ addiu $s2, $s2, 4
.L802A4234:
/* 418FC4 802A4234 8FA9004C */ lw $t1, 0x4c($sp)
/* 418FC8 802A4238 3C03802B */ lui $v1, 0x802b
/* 418FCC 802A423C 8063D109 */ lb $v1, -0x2ef7($v1)
/* 418FD0 802A4240 3C02802B */ lui $v0, 0x802b
/* 418FD4 802A4244 8042D10C */ lb $v0, -0x2ef4($v0)
/* 418FD8 802A4248 3C08802B */ lui $t0, 0x802b
/* 418FDC 802A424C 8508D112 */ lh $t0, -0x2eee($t0)
/* 418FE0 802A4250 2535000A */ addiu $s5, $t1, 0xa
/* 418FE4 802A4254 00621823 */ subu $v1, $v1, $v0
/* 418FE8 802A4258 00031040 */ sll $v0, $v1, 1
/* 418FEC 802A425C 00431021 */ addu $v0, $v0, $v1
/* 418FF0 802A4260 00021080 */ sll $v0, $v0, 2
/* 418FF4 802A4264 00438821 */ addu $s1, $v0, $v1
/* 418FF8 802A4268 02281023 */ subu $v0, $s1, $t0
/* 418FFC 802A426C 44820000 */ mtc1 $v0, $f0
/* 419000 802A4270 00000000 */ nop
/* 419004 802A4274 46800021 */ cvt.d.w $f0, $f0
/* 419008 802A4278 4620018D */ trunc.w.d $f6, $f0
/* 41900C 802A427C 44023000 */ mfc1 $v0, $f6
/* 419010 802A4280 00000000 */ nop
/* 419014 802A4284 14400002 */ bnez $v0, .L802A4290
/* 419018 802A4288 01024021 */ addu $t0, $t0, $v0
/* 41901C 802A428C 0220402D */ daddu $t0, $s1, $zero
.L802A4290:
/* 419020 802A4290 02A0282D */ daddu $a1, $s5, $zero
/* 419024 802A4294 00083400 */ sll $a2, $t0, 0x10
/* 419028 802A4298 00063403 */ sra $a2, $a2, 0x10
/* 41902C 802A429C 3C10802B */ lui $s0, 0x802b
/* 419030 802A42A0 8E10D118 */ lw $s0, -0x2ee8($s0)
/* 419034 802A42A4 8FA90050 */ lw $t1, 0x50($sp)
/* 419038 802A42A8 24C6001A */ addiu $a2, $a2, 0x1a
/* 41903C 802A42AC 3C01802B */ lui $at, 0x802b
/* 419040 802A42B0 A428D112 */ sh $t0, -0x2eee($at)
/* 419044 802A42B4 01263021 */ addu $a2, $t1, $a2
/* 419048 802A42B8 0C051261 */ jal set_icon_render_pos
/* 41904C 802A42BC 0200202D */ daddu $a0, $s0, $zero
/* 419050 802A42C0 3C11802B */ lui $s1, 0x802b
/* 419054 802A42C4 2631D116 */ addiu $s1, $s1, -0x2eea
/* 419058 802A42C8 86250000 */ lh $a1, ($s1)
/* 41905C 802A42CC 0C0513AC */ jal func_80144EB0
/* 419060 802A42D0 0200202D */ daddu $a0, $s0, $zero
/* 419064 802A42D4 0C0511F8 */ jal func_801447E0
/* 419068 802A42D8 0200202D */ daddu $a0, $s0, $zero
/* 41906C 802A42DC 3C02802B */ lui $v0, 0x802b
/* 419070 802A42E0 8042D10C */ lb $v0, -0x2ef4($v0)
/* 419074 802A42E4 1840000E */ blez $v0, .L802A4320
/* 419078 802A42E8 00000000 */ nop
/* 41907C 802A42EC 8FA9004C */ lw $t1, 0x4c($sp)
/* 419080 802A42F0 3C10802B */ lui $s0, 0x802b
/* 419084 802A42F4 8E10D11C */ lw $s0, -0x2ee4($s0)
/* 419088 802A42F8 25250048 */ addiu $a1, $t1, 0x48
/* 41908C 802A42FC 8FA90050 */ lw $t1, 0x50($sp)
/* 419090 802A4300 0200202D */ daddu $a0, $s0, $zero
/* 419094 802A4304 0C051261 */ jal set_icon_render_pos
/* 419098 802A4308 2526000F */ addiu $a2, $t1, 0xf
/* 41909C 802A430C 86250000 */ lh $a1, ($s1)
/* 4190A0 802A4310 0C0513AC */ jal func_80144EB0
/* 4190A4 802A4314 0200202D */ daddu $a0, $s0, $zero
/* 4190A8 802A4318 0C0511EA */ jal draw_icon_0
/* 4190AC 802A431C 0200202D */ daddu $a0, $s0, $zero
.L802A4320:
/* 4190B0 802A4320 3C02802B */ lui $v0, 0x802b
/* 4190B4 802A4324 8042D10D */ lb $v0, -0x2ef3($v0)
/* 4190B8 802A4328 3C03802B */ lui $v1, 0x802b
/* 4190BC 802A432C 8C63D4A4 */ lw $v1, -0x2b5c($v1)
/* 4190C0 802A4330 0043102A */ slt $v0, $v0, $v1
/* 4190C4 802A4334 1040000E */ beqz $v0, .L802A4370
/* 4190C8 802A4338 00000000 */ nop
/* 4190CC 802A433C 8FA9004C */ lw $t1, 0x4c($sp)
/* 4190D0 802A4340 3C10802B */ lui $s0, 0x802b
/* 4190D4 802A4344 8E10D120 */ lw $s0, -0x2ee0($s0)
/* 4190D8 802A4348 25250048 */ addiu $a1, $t1, 0x48
/* 4190DC 802A434C 8FA90050 */ lw $t1, 0x50($sp)
/* 4190E0 802A4350 0200202D */ daddu $a0, $s0, $zero
/* 4190E4 802A4354 0C051261 */ jal set_icon_render_pos
/* 4190E8 802A4358 25260064 */ addiu $a2, $t1, 0x64
/* 4190EC 802A435C 86250000 */ lh $a1, ($s1)
/* 4190F0 802A4360 0C0513AC */ jal func_80144EB0
/* 4190F4 802A4364 0200202D */ daddu $a0, $s0, $zero
/* 4190F8 802A4368 0C0511EA */ jal draw_icon_0
/* 4190FC 802A436C 0200202D */ daddu $a0, $s0, $zero
.L802A4370:
/* 419100 802A4370 3C03802B */ lui $v1, 0x802b
/* 419104 802A4374 8063D108 */ lb $v1, -0x2ef8($v1)
/* 419108 802A4378 2402FFFF */ addiu $v0, $zero, -1
/* 41910C 802A437C 1462000B */ bne $v1, $v0, .L802A43AC
/* 419110 802A4380 00000000 */ nop
/* 419114 802A4384 3C02802B */ lui $v0, 0x802b
/* 419118 802A4388 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 41911C 802A438C 14400005 */ bnez $v0, .L802A43A4
/* 419120 802A4390 00000000 */ nop
/* 419124 802A4394 0C03A674 */ jal status_menu_stop_blinking_fp
/* 419128 802A4398 00000000 */ nop
/* 41912C 802A439C 080A90EB */ j .L802A43AC
/* 419130 802A43A0 00000000 */ nop
.L802A43A4:
/* 419134 802A43A4 0C03A6A5 */ jal status_menu_stop_blinking_sp
/* 419138 802A43A8 00000000 */ nop
.L802A43AC:
/* 41913C 802A43AC 8FBF0044 */ lw $ra, 0x44($sp)
/* 419140 802A43B0 8FBE0040 */ lw $fp, 0x40($sp)
/* 419144 802A43B4 8FB7003C */ lw $s7, 0x3c($sp)
/* 419148 802A43B8 8FB60038 */ lw $s6, 0x38($sp)
/* 41914C 802A43BC 8FB50034 */ lw $s5, 0x34($sp)
/* 419150 802A43C0 8FB40030 */ lw $s4, 0x30($sp)
/* 419154 802A43C4 8FB3002C */ lw $s3, 0x2c($sp)
/* 419158 802A43C8 8FB20028 */ lw $s2, 0x28($sp)
/* 41915C 802A43CC 8FB10024 */ lw $s1, 0x24($sp)
/* 419160 802A43D0 8FB00020 */ lw $s0, 0x20($sp)
/* 419164 802A43D4 03E00008 */ jr $ra
/* 419168 802A43D8 27BD0048 */ addiu $sp, $sp, 0x48
/* 41916C 802A43DC 3C02802B */ lui $v0, 0x802b
/* 419170 802A43E0 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 419174 802A43E4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 419178 802A43E8 14400009 */ bnez $v0, .L802A4410
/* 41917C 802A43EC AFBF0018 */ sw $ra, 0x18($sp)
/* 419180 802A43F0 3C04001D */ lui $a0, 0x1d
/* 419184 802A43F4 34840045 */ ori $a0, $a0, 0x45
/* 419188 802A43F8 24A50010 */ addiu $a1, $a1, 0x10
/* 41918C 802A43FC 24C60002 */ addiu $a2, $a2, 2
/* 419190 802A4400 3C07802B */ lui $a3, 0x802b
/* 419194 802A4404 84E7D116 */ lh $a3, -0x2eea($a3)
/* 419198 802A4408 080A910B */ j .L802A442C
/* 41919C 802A440C 24020030 */ addiu $v0, $zero, 0x30
.L802A4410:
/* 4191A0 802A4410 3C04001D */ lui $a0, 0x1d
/* 4191A4 802A4414 3484003A */ ori $a0, $a0, 0x3a
/* 4191A8 802A4418 24A50006 */ addiu $a1, $a1, 6
/* 4191AC 802A441C 24C60002 */ addiu $a2, $a2, 2
/* 4191B0 802A4420 3C07802B */ lui $a3, 0x802b
/* 4191B4 802A4424 84E7D116 */ lh $a3, -0x2eea($a3)
/* 4191B8 802A4428 24020031 */ addiu $v0, $zero, 0x31
.L802A442C:
/* 4191BC 802A442C AFA20010 */ sw $v0, 0x10($sp)
/* 4191C0 802A4430 24020001 */ addiu $v0, $zero, 1
/* 4191C4 802A4434 0C04993B */ jal draw_string
/* 4191C8 802A4438 AFA20014 */ sw $v0, 0x14($sp)
/* 4191CC 802A443C 8FBF0018 */ lw $ra, 0x18($sp)
/* 4191D0 802A4440 03E00008 */ jr $ra
/* 4191D4 802A4444 27BD0020 */ addiu $sp, $sp, 0x20
/* 4191D8 802A4448 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4191DC 802A444C 24A50010 */ addiu $a1, $a1, 0x10
/* 4191E0 802A4450 AFB00010 */ sw $s0, 0x10($sp)
/* 4191E4 802A4454 3C10802B */ lui $s0, 0x802b
/* 4191E8 802A4458 8E10D188 */ lw $s0, -0x2e78($s0)
/* 4191EC 802A445C 24C6000F */ addiu $a2, $a2, 0xf
/* 4191F0 802A4460 AFBF0014 */ sw $ra, 0x14($sp)
/* 4191F4 802A4464 0C051261 */ jal set_icon_render_pos
/* 4191F8 802A4468 0200202D */ daddu $a0, $s0, $zero
/* 4191FC 802A446C 3C05802B */ lui $a1, 0x802b
/* 419200 802A4470 84A5D116 */ lh $a1, -0x2eea($a1)
/* 419204 802A4474 0C0513AC */ jal func_80144EB0
/* 419208 802A4478 0200202D */ daddu $a0, $s0, $zero
/* 41920C 802A447C 0C0511EA */ jal draw_icon_0
/* 419210 802A4480 0200202D */ daddu $a0, $s0, $zero
/* 419214 802A4484 8FBF0014 */ lw $ra, 0x14($sp)
/* 419218 802A4488 8FB00010 */ lw $s0, 0x10($sp)
/* 41921C 802A448C 03E00008 */ jr $ra
/* 419220 802A4490 27BD0018 */ addiu $sp, $sp, 0x18
/* 419224 802A4494 3C02802B */ lui $v0, 0x802b
/* 419228 802A4498 9042D108 */ lbu $v0, -0x2ef8($v0)
/* 41922C 802A449C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 419230 802A44A0 24420001 */ addiu $v0, $v0, 1
/* 419234 802A44A4 00021600 */ sll $v0, $v0, 0x18
/* 419238 802A44A8 00021E03 */ sra $v1, $v0, 0x18
/* 41923C 802A44AC 2C620020 */ sltiu $v0, $v1, 0x20
/* 419240 802A44B0 1040001D */ beqz $v0, .L802A4528
/* 419244 802A44B4 AFBF0018 */ sw $ra, 0x18($sp)
/* 419248 802A44B8 00031080 */ sll $v0, $v1, 2
/* 41924C 802A44BC 3C01802B */ lui $at, 0x802b
/* 419250 802A44C0 00220821 */ addu $at, $at, $v0
/* 419254 802A44C4 8C22B970 */ lw $v0, -0x4690($at)
/* 419258 802A44C8 00400008 */ jr $v0
/* 41925C 802A44CC 00000000 */ nop
/* 419260 802A44D0 3C02802B */ lui $v0, 0x802b
/* 419264 802A44D4 8042D10F */ lb $v0, -0x2ef1($v0)
/* 419268 802A44D8 10400013 */ beqz $v0, .L802A4528
/* 41926C 802A44DC 00000000 */ nop
/* 419270 802A44E0 3C02802B */ lui $v0, 0x802b
/* 419274 802A44E4 8042D109 */ lb $v0, -0x2ef7($v0)
/* 419278 802A44E8 3C03802B */ lui $v1, 0x802b
/* 41927C 802A44EC 8463D114 */ lh $v1, -0x2eec($v1)
/* 419280 802A44F0 3C07802B */ lui $a3, 0x802b
/* 419284 802A44F4 84E7D116 */ lh $a3, -0x2eea($a3)
/* 419288 802A44F8 00021080 */ sll $v0, $v0, 2
/* 41928C 802A44FC 3C01802B */ lui $at, 0x802b
/* 419290 802A4500 00220821 */ addu $at, $at, $v0
/* 419294 802A4504 8C22D1F8 */ lw $v0, -0x2e08($at)
/* 419298 802A4508 AFA30010 */ sw $v1, 0x10($sp)
/* 41929C 802A450C AFA00014 */ sw $zero, 0x14($sp)
/* 4192A0 802A4510 00021080 */ sll $v0, $v0, 2
/* 4192A4 802A4514 3C04802B */ lui $a0, 0x802b
/* 4192A8 802A4518 00822021 */ addu $a0, $a0, $v0
/* 4192AC 802A451C 8C84D570 */ lw $a0, -0x2a90($a0)
/* 4192B0 802A4520 0C04993B */ jal draw_string
/* 4192B4 802A4524 24A50008 */ addiu $a1, $a1, 8
.L802A4528:
/* 4192B8 802A4528 8FBF0018 */ lw $ra, 0x18($sp)
/* 4192BC 802A452C 03E00008 */ jr $ra
/* 4192C0 802A4530 27BD0020 */ addiu $sp, $sp, 0x20
/* 4192C4 802A4534 3C02802B */ lui $v0, 0x802b
/* 4192C8 802A4538 8C42D258 */ lw $v0, -0x2da8($v0)
/* 4192CC 802A453C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4192D0 802A4540 AFB1001C */ sw $s1, 0x1c($sp)
/* 4192D4 802A4544 24D10006 */ addiu $s1, $a2, 6
/* 4192D8 802A4548 AFB20020 */ sw $s2, 0x20($sp)
/* 4192DC 802A454C 24B2000B */ addiu $s2, $a1, 0xb
/* 4192E0 802A4550 AFBF0024 */ sw $ra, 0x24($sp)
/* 4192E4 802A4554 10400004 */ beqz $v0, .L802A4568
/* 4192E8 802A4558 AFB00018 */ sw $s0, 0x18($sp)
/* 4192EC 802A455C 3C10001D */ lui $s0, 0x1d
/* 4192F0 802A4560 080A9161 */ j .L802A4584
/* 4192F4 802A4564 361000C3 */ ori $s0, $s0, 0xc3
.L802A4568:
/* 4192F8 802A4568 3C10001D */ lui $s0, 0x1d
/* 4192FC 802A456C 3C02802B */ lui $v0, 0x802b
/* 419300 802A4570 8C42D4A0 */ lw $v0, -0x2b60($v0)
/* 419304 802A4574 14400003 */ bnez $v0, .L802A4584
/* 419308 802A4578 361000A0 */ ori $s0, $s0, 0xa0
/* 41930C 802A457C 3C10001D */ lui $s0, 0x1d
/* 419310 802A4580 3610009F */ ori $s0, $s0, 0x9f
.L802A4584:
/* 419314 802A4584 0C04992C */ jal func_801264B0
/* 419318 802A4588 0200202D */ daddu $a0, $s0, $zero
/* 41931C 802A458C 0200202D */ daddu $a0, $s0, $zero
/* 419320 802A4590 2442FFFF */ addiu $v0, $v0, -1
/* 419324 802A4594 00021040 */ sll $v0, $v0, 1
/* 419328 802A4598 3C06802B */ lui $a2, 0x802b
/* 41932C 802A459C 00C23021 */ addu $a2, $a2, $v0
/* 419330 802A45A0 84C6B344 */ lh $a2, -0x4cbc($a2)
/* 419334 802A45A4 2402000F */ addiu $v0, $zero, 0xf
/* 419338 802A45A8 0240282D */ daddu $a1, $s2, $zero
/* 41933C 802A45AC 240700FF */ addiu $a3, $zero, 0xff
/* 419340 802A45B0 AFA20010 */ sw $v0, 0x10($sp)
/* 419344 802A45B4 AFA00014 */ sw $zero, 0x14($sp)
/* 419348 802A45B8 0C04993B */ jal draw_string
/* 41934C 802A45BC 02263021 */ addu $a2, $s1, $a2
/* 419350 802A45C0 8FBF0024 */ lw $ra, 0x24($sp)
/* 419354 802A45C4 8FB20020 */ lw $s2, 0x20($sp)
/* 419358 802A45C8 8FB1001C */ lw $s1, 0x1c($sp)
/* 41935C 802A45CC 8FB00018 */ lw $s0, 0x18($sp)
/* 419360 802A45D0 03E00008 */ jr $ra
/* 419364 802A45D4 27BD0028 */ addiu $sp, $sp, 0x28