mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
425 lines
20 KiB
ArmAsm
425 lines
20 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_802465EC
|
|
/* 13992C 802465EC 0276102A */ slt $v0, $s3, $s6
|
|
/* 139930 802465F0 10400039 */ beqz $v0, .L802466D8
|
|
/* 139934 802465F4 26520001 */ addiu $s2, $s2, 1
|
|
/* 139938 802465F8 26730001 */ addiu $s3, $s3, 1
|
|
/* 13993C 802465FC 00158080 */ sll $s0, $s5, 2
|
|
/* 139940 80246600 3C058025 */ lui $a1, 0x8025
|
|
/* 139944 80246604 00B02821 */ addu $a1, $a1, $s0
|
|
/* 139948 80246608 8CA5F434 */ lw $a1, -0xbcc($a1)
|
|
/* 13994C 8024660C 0C0511FF */ jal set_menu_icon_script
|
|
/* 139950 80246610 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139954 80246614 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139958 80246618 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 13995C 8024661C 02158021 */ addu $s0, $s0, $s5
|
|
/* 139960 80246620 00108080 */ sll $s0, $s0, 2
|
|
/* 139964 80246624 2610008C */ addiu $s0, $s0, 0x8c
|
|
/* 139968 80246628 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 13996C 8024662C 3C058025 */ lui $a1, 0x8025
|
|
/* 139970 80246630 8CA5F484 */ lw $a1, -0xb7c($a1)
|
|
/* 139974 80246634 01108021 */ addu $s0, $t0, $s0
|
|
/* 139978 80246638 0C051261 */ jal set_icon_render_pos
|
|
/* 13997C 8024663C 02052821 */ addu $a1, $s0, $a1
|
|
/* 139980 80246640 12800005 */ beqz $s4, .L80246658
|
|
/* 139984 80246644 00000000 */ nop
|
|
/* 139988 80246648 0C0511F8 */ jal func_801447E0
|
|
/* 13998C 8024664C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139990 80246650 08091998 */ j .L80246660
|
|
/* 139994 80246654 0000A02D */ daddu $s4, $zero, $zero
|
|
.L80246658:
|
|
/* 139998 80246658 0C0511F1 */ jal draw_icon_1
|
|
/* 13999C 8024665C 0220202D */ daddu $a0, $s1, $zero
|
|
.L80246660:
|
|
/* 1399A0 80246660 0276102A */ slt $v0, $s3, $s6
|
|
/* 1399A4 80246664 1040001C */ beqz $v0, .L802466D8
|
|
/* 1399A8 80246668 26520001 */ addiu $s2, $s2, 1
|
|
/* 1399AC 8024666C 26730001 */ addiu $s3, $s3, 1
|
|
/* 1399B0 80246670 00158080 */ sll $s0, $s5, 2
|
|
/* 1399B4 80246674 3C058025 */ lui $a1, 0x8025
|
|
/* 1399B8 80246678 00B02821 */ addu $a1, $a1, $s0
|
|
/* 1399BC 8024667C 8CA5F450 */ lw $a1, -0xbb0($a1)
|
|
/* 1399C0 80246680 0C0511FF */ jal set_menu_icon_script
|
|
/* 1399C4 80246684 0220202D */ daddu $a0, $s1, $zero
|
|
/* 1399C8 80246688 0220202D */ daddu $a0, $s1, $zero
|
|
/* 1399CC 8024668C 02158021 */ addu $s0, $s0, $s5
|
|
/* 1399D0 80246690 00108080 */ sll $s0, $s0, 2
|
|
/* 1399D4 80246694 26100098 */ addiu $s0, $s0, 0x98
|
|
/* 1399D8 80246698 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 1399DC 8024669C 27C6004D */ addiu $a2, $fp, 0x4d
|
|
/* 1399E0 802466A0 0C051261 */ jal set_icon_render_pos
|
|
/* 1399E4 802466A4 01102821 */ addu $a1, $t0, $s0
|
|
/* 1399E8 802466A8 12800005 */ beqz $s4, .L802466C0
|
|
/* 1399EC 802466AC 00000000 */ nop
|
|
/* 1399F0 802466B0 0C0511F8 */ jal func_801447E0
|
|
/* 1399F4 802466B4 0220202D */ daddu $a0, $s1, $zero
|
|
/* 1399F8 802466B8 080919B2 */ j .L802466C8
|
|
/* 1399FC 802466BC 0000A02D */ daddu $s4, $zero, $zero
|
|
.L802466C0:
|
|
/* 139A00 802466C0 0C0511F1 */ jal draw_icon_1
|
|
/* 139A04 802466C4 0220202D */ daddu $a0, $s1, $zero
|
|
.L802466C8:
|
|
/* 139A08 802466C8 0000902D */ daddu $s2, $zero, $zero
|
|
/* 139A0C 802466CC 0276102A */ slt $v0, $s3, $s6
|
|
/* 139A10 802466D0 1440FF1B */ bnez $v0, .L80246340
|
|
/* 139A14 802466D4 26B50001 */ addiu $s5, $s5, 1
|
|
.L802466D8:
|
|
/* 139A18 802466D8 82E4028E */ lb $a0, 0x28e($s7)
|
|
/* 139A1C 802466DC 3C178025 */ lui $s7, 0x8025
|
|
/* 139A20 802466E0 26F7F46C */ addiu $s7, $s7, -0xb94
|
|
/* 139A24 802466E4 00151080 */ sll $v0, $s5, 2
|
|
/* 139A28 802466E8 00551021 */ addu $v0, $v0, $s5
|
|
/* 139A2C 802466EC 00021080 */ sll $v0, $v0, 2
|
|
/* 139A30 802466F0 24550098 */ addiu $s5, $v0, 0x98
|
|
/* 139A34 802466F4 2450008C */ addiu $s0, $v0, 0x8c
|
|
/* 139A38 802466F8 0004B0C0 */ sll $s6, $a0, 3
|
|
.L802466FC:
|
|
/* 139A3C 802466FC 0276102A */ slt $v0, $s3, $s6
|
|
/* 139A40 80246700 104000D2 */ beqz $v0, .L80246A4C
|
|
/* 139A44 80246704 00000000 */ nop
|
|
/* 139A48 80246708 1640001A */ bnez $s2, .L80246774
|
|
/* 139A4C 8024670C 24020001 */ addiu $v0, $zero, 1
|
|
/* 139A50 80246710 26730001 */ addiu $s3, $s3, 1
|
|
/* 139A54 80246714 3C058011 */ lui $a1, 0x8011
|
|
/* 139A58 80246718 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139A5C 8024671C 0C0511FF */ jal set_menu_icon_script
|
|
/* 139A60 80246720 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139A64 80246724 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139A68 80246728 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139A6C 8024672C 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139A70 80246730 3C028025 */ lui $v0, 0x8025
|
|
/* 139A74 80246734 8C42F46C */ lw $v0, -0xb94($v0)
|
|
/* 139A78 80246738 01102821 */ addu $a1, $t0, $s0
|
|
/* 139A7C 8024673C 0C051261 */ jal set_icon_render_pos
|
|
/* 139A80 80246740 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139A84 80246744 12800005 */ beqz $s4, .L8024675C
|
|
/* 139A88 80246748 00000000 */ nop
|
|
/* 139A8C 8024674C 0C0511F8 */ jal func_801447E0
|
|
/* 139A90 80246750 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139A94 80246754 080919D9 */ j .L80246764
|
|
/* 139A98 80246758 0000A02D */ daddu $s4, $zero, $zero
|
|
.L8024675C:
|
|
/* 139A9C 8024675C 0C0511F1 */ jal draw_icon_1
|
|
/* 139AA0 80246760 0220202D */ daddu $a0, $s1, $zero
|
|
.L80246764:
|
|
/* 139AA4 80246764 0276102A */ slt $v0, $s3, $s6
|
|
/* 139AA8 80246768 104000B8 */ beqz $v0, .L80246A4C
|
|
/* 139AAC 8024676C 26520001 */ addiu $s2, $s2, 1
|
|
/* 139AB0 80246770 24020001 */ addiu $v0, $zero, 1
|
|
.L80246774:
|
|
/* 139AB4 80246774 56420019 */ bnel $s2, $v0, .L802467DC
|
|
/* 139AB8 80246778 24020002 */ addiu $v0, $zero, 2
|
|
/* 139ABC 8024677C 02629821 */ addu $s3, $s3, $v0
|
|
/* 139AC0 80246780 3C058011 */ lui $a1, 0x8011
|
|
/* 139AC4 80246784 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139AC8 80246788 0C0511FF */ jal set_menu_icon_script
|
|
/* 139ACC 8024678C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139AD0 80246790 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139AD4 80246794 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139AD8 80246798 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139ADC 8024679C 8EE20004 */ lw $v0, 4($s7)
|
|
/* 139AE0 802467A0 01102821 */ addu $a1, $t0, $s0
|
|
/* 139AE4 802467A4 0C051261 */ jal set_icon_render_pos
|
|
/* 139AE8 802467A8 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139AEC 802467AC 12800005 */ beqz $s4, .L802467C4
|
|
/* 139AF0 802467B0 00000000 */ nop
|
|
/* 139AF4 802467B4 0C0511F8 */ jal func_801447E0
|
|
/* 139AF8 802467B8 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139AFC 802467BC 080919F3 */ j .L802467CC
|
|
/* 139B00 802467C0 0000A02D */ daddu $s4, $zero, $zero
|
|
.L802467C4:
|
|
/* 139B04 802467C4 0C0511F1 */ jal draw_icon_1
|
|
/* 139B08 802467C8 0220202D */ daddu $a0, $s1, $zero
|
|
.L802467CC:
|
|
/* 139B0C 802467CC 0276102A */ slt $v0, $s3, $s6
|
|
/* 139B10 802467D0 1040009E */ beqz $v0, .L80246A4C
|
|
/* 139B14 802467D4 26520001 */ addiu $s2, $s2, 1
|
|
/* 139B18 802467D8 24020002 */ addiu $v0, $zero, 2
|
|
.L802467DC:
|
|
/* 139B1C 802467DC 16420019 */ bne $s2, $v0, .L80246844
|
|
/* 139B20 802467E0 24020003 */ addiu $v0, $zero, 3
|
|
/* 139B24 802467E4 26730001 */ addiu $s3, $s3, 1
|
|
/* 139B28 802467E8 3C058011 */ lui $a1, 0x8011
|
|
/* 139B2C 802467EC 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139B30 802467F0 0C0511FF */ jal set_menu_icon_script
|
|
/* 139B34 802467F4 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139B38 802467F8 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139B3C 802467FC 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139B40 80246800 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139B44 80246804 8EE20008 */ lw $v0, 8($s7)
|
|
/* 139B48 80246808 01102821 */ addu $a1, $t0, $s0
|
|
/* 139B4C 8024680C 0C051261 */ jal set_icon_render_pos
|
|
/* 139B50 80246810 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139B54 80246814 12800005 */ beqz $s4, .L8024682C
|
|
/* 139B58 80246818 00000000 */ nop
|
|
/* 139B5C 8024681C 0C0511F8 */ jal func_801447E0
|
|
/* 139B60 80246820 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139B64 80246824 08091A0D */ j .L80246834
|
|
/* 139B68 80246828 0000A02D */ daddu $s4, $zero, $zero
|
|
.L8024682C:
|
|
/* 139B6C 8024682C 0C0511F1 */ jal draw_icon_1
|
|
/* 139B70 80246830 0220202D */ daddu $a0, $s1, $zero
|
|
.L80246834:
|
|
/* 139B74 80246834 0276102A */ slt $v0, $s3, $s6
|
|
/* 139B78 80246838 10400084 */ beqz $v0, .L80246A4C
|
|
/* 139B7C 8024683C 26520001 */ addiu $s2, $s2, 1
|
|
/* 139B80 80246840 24020003 */ addiu $v0, $zero, 3
|
|
.L80246844:
|
|
/* 139B84 80246844 16420019 */ bne $s2, $v0, .L802468AC
|
|
/* 139B88 80246848 24020004 */ addiu $v0, $zero, 4
|
|
/* 139B8C 8024684C 26730001 */ addiu $s3, $s3, 1
|
|
/* 139B90 80246850 3C058011 */ lui $a1, 0x8011
|
|
/* 139B94 80246854 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139B98 80246858 0C0511FF */ jal set_menu_icon_script
|
|
/* 139B9C 8024685C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139BA0 80246860 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139BA4 80246864 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139BA8 80246868 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139BAC 8024686C 8EE2000C */ lw $v0, 0xc($s7)
|
|
/* 139BB0 80246870 01102821 */ addu $a1, $t0, $s0
|
|
/* 139BB4 80246874 0C051261 */ jal set_icon_render_pos
|
|
/* 139BB8 80246878 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139BBC 8024687C 12800005 */ beqz $s4, .L80246894
|
|
/* 139BC0 80246880 00000000 */ nop
|
|
/* 139BC4 80246884 0C0511F8 */ jal func_801447E0
|
|
/* 139BC8 80246888 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139BCC 8024688C 08091A27 */ j .L8024689C
|
|
/* 139BD0 80246890 0000A02D */ daddu $s4, $zero, $zero
|
|
.L80246894:
|
|
/* 139BD4 80246894 0C0511F1 */ jal draw_icon_1
|
|
/* 139BD8 80246898 0220202D */ daddu $a0, $s1, $zero
|
|
.L8024689C:
|
|
/* 139BDC 8024689C 0276102A */ slt $v0, $s3, $s6
|
|
/* 139BE0 802468A0 1040006A */ beqz $v0, .L80246A4C
|
|
/* 139BE4 802468A4 26520001 */ addiu $s2, $s2, 1
|
|
/* 139BE8 802468A8 24020004 */ addiu $v0, $zero, 4
|
|
.L802468AC:
|
|
/* 139BEC 802468AC 16420019 */ bne $s2, $v0, .L80246914
|
|
/* 139BF0 802468B0 24020005 */ addiu $v0, $zero, 5
|
|
/* 139BF4 802468B4 26730001 */ addiu $s3, $s3, 1
|
|
/* 139BF8 802468B8 3C058011 */ lui $a1, 0x8011
|
|
/* 139BFC 802468BC 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139C00 802468C0 0C0511FF */ jal set_menu_icon_script
|
|
/* 139C04 802468C4 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139C08 802468C8 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139C0C 802468CC 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139C10 802468D0 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139C14 802468D4 8EE20010 */ lw $v0, 0x10($s7)
|
|
/* 139C18 802468D8 01102821 */ addu $a1, $t0, $s0
|
|
/* 139C1C 802468DC 0C051261 */ jal set_icon_render_pos
|
|
/* 139C20 802468E0 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139C24 802468E4 12800005 */ beqz $s4, .L802468FC
|
|
/* 139C28 802468E8 00000000 */ nop
|
|
/* 139C2C 802468EC 0C0511F8 */ jal func_801447E0
|
|
/* 139C30 802468F0 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139C34 802468F4 08091A41 */ j .L80246904
|
|
/* 139C38 802468F8 0000A02D */ daddu $s4, $zero, $zero
|
|
.L802468FC:
|
|
/* 139C3C 802468FC 0C0511F1 */ jal draw_icon_1
|
|
/* 139C40 80246900 0220202D */ daddu $a0, $s1, $zero
|
|
.L80246904:
|
|
/* 139C44 80246904 0276102A */ slt $v0, $s3, $s6
|
|
/* 139C48 80246908 10400050 */ beqz $v0, .L80246A4C
|
|
/* 139C4C 8024690C 26520001 */ addiu $s2, $s2, 1
|
|
/* 139C50 80246910 24020005 */ addiu $v0, $zero, 5
|
|
.L80246914:
|
|
/* 139C54 80246914 16420019 */ bne $s2, $v0, .L8024697C
|
|
/* 139C58 80246918 24020006 */ addiu $v0, $zero, 6
|
|
/* 139C5C 8024691C 26730001 */ addiu $s3, $s3, 1
|
|
/* 139C60 80246920 3C058011 */ lui $a1, 0x8011
|
|
/* 139C64 80246924 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139C68 80246928 0C0511FF */ jal set_menu_icon_script
|
|
/* 139C6C 8024692C 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139C70 80246930 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139C74 80246934 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139C78 80246938 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139C7C 8024693C 8EE20014 */ lw $v0, 0x14($s7)
|
|
/* 139C80 80246940 01102821 */ addu $a1, $t0, $s0
|
|
/* 139C84 80246944 0C051261 */ jal set_icon_render_pos
|
|
/* 139C88 80246948 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139C8C 8024694C 12800005 */ beqz $s4, .L80246964
|
|
/* 139C90 80246950 00000000 */ nop
|
|
/* 139C94 80246954 0C0511F8 */ jal func_801447E0
|
|
/* 139C98 80246958 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139C9C 8024695C 08091A5B */ j .L8024696C
|
|
/* 139CA0 80246960 0000A02D */ daddu $s4, $zero, $zero
|
|
.L80246964:
|
|
/* 139CA4 80246964 0C0511F1 */ jal draw_icon_1
|
|
/* 139CA8 80246968 0220202D */ daddu $a0, $s1, $zero
|
|
.L8024696C:
|
|
/* 139CAC 8024696C 0276102A */ slt $v0, $s3, $s6
|
|
/* 139CB0 80246970 10400036 */ beqz $v0, .L80246A4C
|
|
/* 139CB4 80246974 26520001 */ addiu $s2, $s2, 1
|
|
/* 139CB8 80246978 24020006 */ addiu $v0, $zero, 6
|
|
.L8024697C:
|
|
/* 139CBC 8024697C 16420019 */ bne $s2, $v0, .L802469E4
|
|
/* 139CC0 80246980 24020007 */ addiu $v0, $zero, 7
|
|
/* 139CC4 80246984 26730001 */ addiu $s3, $s3, 1
|
|
/* 139CC8 80246988 3C058011 */ lui $a1, 0x8011
|
|
/* 139CCC 8024698C 24A583B0 */ addiu $a1, $a1, -0x7c50
|
|
/* 139CD0 80246990 0C0511FF */ jal set_menu_icon_script
|
|
/* 139CD4 80246994 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139CD8 80246998 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139CDC 8024699C 27C6004B */ addiu $a2, $fp, 0x4b
|
|
/* 139CE0 802469A0 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139CE4 802469A4 8EE20018 */ lw $v0, 0x18($s7)
|
|
/* 139CE8 802469A8 01102821 */ addu $a1, $t0, $s0
|
|
/* 139CEC 802469AC 0C051261 */ jal set_icon_render_pos
|
|
/* 139CF0 802469B0 00A22821 */ addu $a1, $a1, $v0
|
|
/* 139CF4 802469B4 12800005 */ beqz $s4, .L802469CC
|
|
/* 139CF8 802469B8 00000000 */ nop
|
|
/* 139CFC 802469BC 0C0511F8 */ jal func_801447E0
|
|
/* 139D00 802469C0 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139D04 802469C4 08091A75 */ j .L802469D4
|
|
/* 139D08 802469C8 0000A02D */ daddu $s4, $zero, $zero
|
|
.L802469CC:
|
|
/* 139D0C 802469CC 0C0511F1 */ jal draw_icon_1
|
|
/* 139D10 802469D0 0220202D */ daddu $a0, $s1, $zero
|
|
.L802469D4:
|
|
/* 139D14 802469D4 0276102A */ slt $v0, $s3, $s6
|
|
/* 139D18 802469D8 1040001C */ beqz $v0, .L80246A4C
|
|
/* 139D1C 802469DC 26520001 */ addiu $s2, $s2, 1
|
|
/* 139D20 802469E0 24020007 */ addiu $v0, $zero, 7
|
|
.L802469E4:
|
|
/* 139D24 802469E4 56420016 */ bnel $s2, $v0, .L80246A40
|
|
/* 139D28 802469E8 0000902D */ daddu $s2, $zero, $zero
|
|
/* 139D2C 802469EC 26730001 */ addiu $s3, $s3, 1
|
|
/* 139D30 802469F0 3C058011 */ lui $a1, 0x8011
|
|
/* 139D34 802469F4 24A584F0 */ addiu $a1, $a1, -0x7b10
|
|
/* 139D38 802469F8 0C0511FF */ jal set_menu_icon_script
|
|
/* 139D3C 802469FC 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139D40 80246A00 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139D44 80246A04 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139D48 80246A08 27C6004D */ addiu $a2, $fp, 0x4d
|
|
/* 139D4C 80246A0C 0C051261 */ jal set_icon_render_pos
|
|
/* 139D50 80246A10 01152821 */ addu $a1, $t0, $s5
|
|
/* 139D54 80246A14 12800005 */ beqz $s4, .L80246A2C
|
|
/* 139D58 80246A18 00000000 */ nop
|
|
/* 139D5C 80246A1C 0C0511F8 */ jal func_801447E0
|
|
/* 139D60 80246A20 0220202D */ daddu $a0, $s1, $zero
|
|
/* 139D64 80246A24 08091A8D */ j .L80246A34
|
|
/* 139D68 80246A28 0000A02D */ daddu $s4, $zero, $zero
|
|
.L80246A2C:
|
|
/* 139D6C 80246A2C 0C0511F1 */ jal draw_icon_1
|
|
/* 139D70 80246A30 0220202D */ daddu $a0, $s1, $zero
|
|
.L80246A34:
|
|
/* 139D74 80246A34 0276102A */ slt $v0, $s3, $s6
|
|
/* 139D78 80246A38 10400004 */ beqz $v0, .L80246A4C
|
|
/* 139D7C 80246A3C 0000902D */ daddu $s2, $zero, $zero
|
|
.L80246A40:
|
|
/* 139D80 80246A40 26B50014 */ addiu $s5, $s5, 0x14
|
|
/* 139D84 80246A44 080919BF */ j .L802466FC
|
|
/* 139D88 80246A48 26100014 */ addiu $s0, $s0, 0x14
|
|
.L80246A4C:
|
|
/* 139D8C 80246A4C 3C038027 */ lui $v1, 0x8027
|
|
/* 139D90 80246A50 806300D4 */ lb $v1, 0xd4($v1)
|
|
/* 139D94 80246A54 24020001 */ addiu $v0, $zero, 1
|
|
/* 139D98 80246A58 1462000F */ bne $v1, $v0, .L80246A98
|
|
/* 139D9C 80246A5C 2404001F */ addiu $a0, $zero, 0x1f
|
|
/* 139DA0 80246A60 8FA80080 */ lw $t0, 0x80($sp)
|
|
/* 139DA4 80246A64 3C058025 */ lui $a1, 0x8025
|
|
/* 139DA8 80246A68 24A5F3B0 */ addiu $a1, $a1, -0xc50
|
|
/* 139DAC 80246A6C 91030003 */ lbu $v1, 3($t0)
|
|
/* 139DB0 80246A70 8FA80084 */ lw $t0, 0x84($sp)
|
|
/* 139DB4 80246A74 00431004 */ sllv $v0, $v1, $v0
|
|
/* 139DB8 80246A78 00431021 */ addu $v0, $v0, $v1
|
|
/* 139DBC 80246A7C 00021080 */ sll $v0, $v0, 2
|
|
/* 139DC0 80246A80 00451021 */ addu $v0, $v0, $a1
|
|
/* 139DC4 80246A84 8C450000 */ lw $a1, ($v0)
|
|
/* 139DC8 80246A88 8C460004 */ lw $a2, 4($v0)
|
|
/* 139DCC 80246A8C 01052821 */ addu $a1, $t0, $a1
|
|
/* 139DD0 80246A90 0C090B41 */ jal func_80242D04
|
|
/* 139DD4 80246A94 03C63021 */ addu $a2, $fp, $a2
|
|
.L80246A98:
|
|
/* 139DD8 80246A98 8FBF007C */ lw $ra, 0x7c($sp)
|
|
/* 139DDC 80246A9C 8FBE0078 */ lw $fp, 0x78($sp)
|
|
/* 139DE0 80246AA0 8FB70074 */ lw $s7, 0x74($sp)
|
|
/* 139DE4 80246AA4 8FB60070 */ lw $s6, 0x70($sp)
|
|
/* 139DE8 80246AA8 8FB5006C */ lw $s5, 0x6c($sp)
|
|
/* 139DEC 80246AAC 8FB40068 */ lw $s4, 0x68($sp)
|
|
/* 139DF0 80246AB0 8FB30064 */ lw $s3, 0x64($sp)
|
|
/* 139DF4 80246AB4 8FB20060 */ lw $s2, 0x60($sp)
|
|
/* 139DF8 80246AB8 8FB1005C */ lw $s1, 0x5c($sp)
|
|
/* 139DFC 80246ABC 8FB00058 */ lw $s0, 0x58($sp)
|
|
/* 139E00 80246AC0 03E00008 */ jr $ra
|
|
/* 139E04 80246AC4 27BD0080 */ addiu $sp, $sp, 0x80
|
|
|
|
/* 139E08 80246AC8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
/* 139E0C 80246ACC AFB3001C */ sw $s3, 0x1c($sp)
|
|
/* 139E10 80246AD0 0080982D */ daddu $s3, $a0, $zero
|
|
/* 139E14 80246AD4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 139E18 80246AD8 0000802D */ daddu $s0, $zero, $zero
|
|
/* 139E1C 80246ADC AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 139E20 80246AE0 3C128027 */ lui $s2, 0x8027
|
|
/* 139E24 80246AE4 26520150 */ addiu $s2, $s2, 0x150
|
|
/* 139E28 80246AE8 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 139E2C 80246AEC 3C118025 */ lui $s1, 0x8025
|
|
/* 139E30 80246AF0 2631F330 */ addiu $s1, $s1, -0xcd0
|
|
/* 139E34 80246AF4 AFBF0020 */ sw $ra, 0x20($sp)
|
|
.L80246AF8:
|
|
/* 139E38 80246AF8 8E240000 */ lw $a0, ($s1)
|
|
/* 139E3C 80246AFC 26310004 */ addiu $s1, $s1, 4
|
|
/* 139E40 80246B00 0C050529 */ jal create_icon
|
|
/* 139E44 80246B04 26100001 */ addiu $s0, $s0, 1
|
|
/* 139E48 80246B08 0040202D */ daddu $a0, $v0, $zero
|
|
/* 139E4C 80246B0C 24050080 */ addiu $a1, $zero, 0x80
|
|
/* 139E50 80246B10 0C051280 */ jal set_icon_flags
|
|
/* 139E54 80246B14 AE440000 */ sw $a0, ($s2)
|
|
/* 139E58 80246B18 2A02000C */ slti $v0, $s0, 0xc
|
|
/* 139E5C 80246B1C 1440FFF6 */ bnez $v0, .L80246AF8
|
|
/* 139E60 80246B20 26520004 */ addiu $s2, $s2, 4
|
|
/* 139E64 80246B24 0000802D */ daddu $s0, $zero, $zero
|
|
/* 139E68 80246B28 3C028025 */ lui $v0, 0x8025
|
|
/* 139E6C 80246B2C 2442F488 */ addiu $v0, $v0, -0xb78
|
|
.L80246B30:
|
|
/* 139E70 80246B30 AC530010 */ sw $s3, 0x10($v0)
|
|
/* 139E74 80246B34 26100001 */ addiu $s0, $s0, 1
|
|
/* 139E78 80246B38 1A00FFFD */ blez $s0, .L80246B30
|
|
/* 139E7C 80246B3C 24420024 */ addiu $v0, $v0, 0x24
|
|
/* 139E80 80246B40 3C048025 */ lui $a0, 0x8025
|
|
/* 139E84 80246B44 2484F488 */ addiu $a0, $a0, -0xb78
|
|
/* 139E88 80246B48 0C051FCC */ jal func_80147F30
|
|
/* 139E8C 80246B4C 24050001 */ addiu $a1, $zero, 1
|
|
/* 139E90 80246B50 24020001 */ addiu $v0, $zero, 1
|
|
/* 139E94 80246B54 A2620000 */ sb $v0, ($s3)
|
|
/* 139E98 80246B58 8FBF0020 */ lw $ra, 0x20($sp)
|
|
/* 139E9C 80246B5C 8FB3001C */ lw $s3, 0x1c($sp)
|
|
/* 139EA0 80246B60 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 139EA4 80246B64 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 139EA8 80246B68 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 139EAC 80246B6C 03E00008 */ jr $ra
|
|
/* 139EB0 80246B70 27BD0028 */ addiu $sp, $sp, 0x28
|
|
|
|
/* 139EB4 80246B74 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 139EB8 80246B78 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 139EBC 80246B7C 0080802D */ daddu $s0, $a0, $zero
|
|
/* 139EC0 80246B80 3C028027 */ lui $v0, 0x8027
|
|
/* 139EC4 80246B84 8C4200C0 */ lw $v0, 0xc0($v0)
|
|
/* 139EC8 80246B88 3C030004 */ lui $v1, 4
|
|
/* 139ECC 80246B8C AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 139ED0 80246B90 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 139ED4 80246B94 92070003 */ lbu $a3, 3($s0)
|
|
/* 139ED8 80246B98 00431024 */ and $v0, $v0, $v1
|
|
/* 139EDC 80246B9C 1040001C */ beqz $v0, .L80246C10
|
|
/* 139EE0 80246BA0 00000000 */ nop
|
|
.L80246BA4:
|
|
/* 139EE4 80246BA4 92020001 */ lbu $v0, 1($s0)
|
|
/* 139EE8 80246BA8 2442FFFF */ addiu $v0, $v0, -1
|
|
/* 139EEC 80246BAC A2020001 */ sb $v0, 1($s0)
|
|
/* 139EF0 80246BB0 00021600 */ sll $v0, $v0, 0x18
|
|
/* 139EF4 80246BB4 00022E03 */ sra $a1, $v0, 0x18
|
|
/* 139EF8 80246BB8 04A20015 */ bltzl $a1, .L80246C10
|
|
/* 139EFC 80246BBC A2000001 */ sb $zero, 1($s0)
|
|
/* 139F00 80246BC0 82020004 */ lb $v0, 4($s0)
|
|
/* 139F04 80246BC4 82030005 */ lb $v1, 5($s0)
|
|
/* 139F08 80246BC8 00430018 */ mult $v0, $v1
|
|
/* 139F0C 80246BCC 00003012 */ mflo $a2
|
|
/* 139F10 80246BD0 82020006 */ lb $v0, 6($s0)
|
|
/* 139F14 80246BD4 00000000 */ nop
|
|
/* 139F18 80246BD8 00C20018 */ mult $a2, $v0
|
|
/* 139F1C 80246BDC 00002012 */ mflo $a0
|
|
/* 139F20 80246BE0 82020002 */ lb $v0, 2($s0)
|