mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +01:00
merge master
This commit is contained in:
commit
b5f0c2588a
@ -8,8 +8,8 @@ glabel func_80242BAC
|
||||
/* 135EF8 80242BB8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 135EFC 80242BBC 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* 135F00 80242BC0 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 135F04 80242BC4 3C148016 */ lui $s4, %hi(D_80159D50)
|
||||
/* 135F08 80242BC8 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
|
||||
/* 135F04 80242BC4 3C148016 */ lui $s4, %hi(gUIPanels)
|
||||
/* 135F08 80242BC8 26949D50 */ addiu $s4, $s4, %lo(gUIPanels)
|
||||
/* 135F0C 80242BCC 00042140 */ sll $a0, $a0, 5
|
||||
/* 135F10 80242BD0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 135F14 80242BD4 3C128025 */ lui $s2, 0x8025
|
||||
@ -80,14 +80,14 @@ glabel func_80242BAC
|
||||
/* 135FFC 80242CBC 14400009 */ bnez $v0, .L80242CE4
|
||||
/* 136000 80242CC0 00000000 */ nop
|
||||
.L80242CC4:
|
||||
/* 136004 80242CC4 3C018025 */ lui $at, 0x8025
|
||||
/* 136008 80242CC8 AC31EFA8 */ sw $s1, -0x1058($at)
|
||||
/* 13600C 80242CCC 3C018025 */ lui $at, 0x8025
|
||||
/* 136010 80242CD0 AC31EF9C */ sw $s1, -0x1064($at)
|
||||
/* 136014 80242CD4 3C018025 */ lui $at, 0x8025
|
||||
/* 136018 80242CD8 AC33EFAC */ sw $s3, -0x1054($at)
|
||||
/* 13601C 80242CDC 3C018025 */ lui $at, 0x8025
|
||||
/* 136020 80242CE0 AC33EFA0 */ sw $s3, -0x1060($at)
|
||||
/* 136004 80242CC4 3C018025 */ lui $at, %hi(gPauseMenuTargetPosX)
|
||||
/* 136008 80242CC8 AC31EFA8 */ sw $s1, %lo(gPauseMenuTargetPosX)($at)
|
||||
/* 13600C 80242CCC 3C018025 */ lui $at, %hi(gPauseMenuCursorPosX)
|
||||
/* 136010 80242CD0 AC31EF9C */ sw $s1, %lo(gPauseMenuCursorPosX)($at)
|
||||
/* 136014 80242CD4 3C018025 */ lui $at, %hi(gPauseMenuTargetPosY)
|
||||
/* 136018 80242CD8 AC33EFAC */ sw $s3, %lo(gPauseMenuTargetPosY)($at)
|
||||
/* 13601C 80242CDC 3C018025 */ lui $at, %hi(gPauseMenuCursorPosY)
|
||||
/* 136020 80242CE0 AC33EFA0 */ sw $s3, %lo(gPauseMenuCursorPosY)($at)
|
||||
.L80242CE4:
|
||||
/* 136024 80242CE4 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 136028 80242CE8 8FB40020 */ lw $s4, 0x20($sp)
|
||||
|
@ -8,8 +8,8 @@ glabel func_80242D04
|
||||
/* 136050 80242D10 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 136054 80242D14 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* 136058 80242D18 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 13605C 80242D1C 3C148016 */ lui $s4, %hi(D_80159D50)
|
||||
/* 136060 80242D20 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
|
||||
/* 13605C 80242D1C 3C148016 */ lui $s4, %hi(gUIPanels)
|
||||
/* 136060 80242D20 26949D50 */ addiu $s4, $s4, %lo(gUIPanels)
|
||||
/* 136064 80242D24 00042140 */ sll $a0, $a0, 5
|
||||
/* 136068 80242D28 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 13606C 80242D2C 3C118025 */ lui $s1, 0x8025
|
||||
@ -66,15 +66,15 @@ glabel func_80242D04
|
||||
/* 136120 80242DE0 3C018025 */ lui $at, 0x8025
|
||||
/* 136124 80242DE4 AC20EFB4 */ sw $zero, -0x104c($at)
|
||||
.L80242DE8:
|
||||
/* 136128 80242DE8 3C018025 */ lui $at, 0x8025
|
||||
/* 13612C 80242DEC AC32EFA8 */ sw $s2, -0x1058($at)
|
||||
/* 136130 80242DF0 3C018025 */ lui $at, 0x8025
|
||||
/* 136134 80242DF4 AC32EF9C */ sw $s2, -0x1064($at)
|
||||
/* 136138 80242DF8 3C018025 */ lui $at, 0x8025
|
||||
/* 13613C 80242DFC AC33EFAC */ sw $s3, -0x1054($at)
|
||||
/* 136140 80242E00 3C018025 */ lui $at, 0x8025
|
||||
/* 136128 80242DE8 3C018025 */ lui $at, %hi(gPauseMenuTargetPosX)
|
||||
/* 13612C 80242DEC AC32EFA8 */ sw $s2, %lo(gPauseMenuTargetPosX)($at)
|
||||
/* 136130 80242DF0 3C018025 */ lui $at, %hi(gPauseMenuCursorPosX)
|
||||
/* 136134 80242DF4 AC32EF9C */ sw $s2, %lo(gPauseMenuCursorPosX)($at)
|
||||
/* 136138 80242DF8 3C018025 */ lui $at, %hi(gPauseMenuTargetPosY)
|
||||
/* 13613C 80242DFC AC33EFAC */ sw $s3, %lo(gPauseMenuTargetPosY)($at)
|
||||
/* 136140 80242E00 3C018025 */ lui $at, %hi(gPauseMenuCursorPosY)
|
||||
/* 136144 80242E04 08090B93 */ j .L80242E4C
|
||||
/* 136148 80242E08 AC33EFA0 */ sw $s3, -0x1060($at)
|
||||
/* 136148 80242E08 AC33EFA0 */ sw $s3, %lo(gPauseMenuCursorPosY)($at)
|
||||
.L80242E0C:
|
||||
/* 13614C 80242E0C 92020000 */ lbu $v0, ($s0)
|
||||
/* 136150 80242E10 30420008 */ andi $v0, $v0, 8
|
||||
@ -89,10 +89,10 @@ glabel func_80242D04
|
||||
/* 136174 80242E34 14400005 */ bnez $v0, .L80242E4C
|
||||
/* 136178 80242E38 00000000 */ nop
|
||||
.L80242E3C:
|
||||
/* 13617C 80242E3C 3C018025 */ lui $at, 0x8025
|
||||
/* 136180 80242E40 AC32EFA8 */ sw $s2, -0x1058($at)
|
||||
/* 136184 80242E44 3C018025 */ lui $at, 0x8025
|
||||
/* 136188 80242E48 AC33EFAC */ sw $s3, -0x1054($at)
|
||||
/* 13617C 80242E3C 3C018025 */ lui $at, %hi(gPauseMenuTargetPosX)
|
||||
/* 136180 80242E40 AC32EFA8 */ sw $s2, %lo(gPauseMenuTargetPosX)($at)
|
||||
/* 136184 80242E44 3C018025 */ lui $at, %hi(gPauseMenuTargetPosY)
|
||||
/* 136188 80242E48 AC33EFAC */ sw $s3, %lo(gPauseMenuTargetPosY)($at)
|
||||
.L80242E4C:
|
||||
/* 13618C 80242E4C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 136190 80242E50 8FB40020 */ lw $s4, 0x20($sp)
|
||||
|
@ -6,8 +6,8 @@ glabel func_80242F90
|
||||
/* 1362D4 80242F94 8FA30028 */ lw $v1, 0x28($sp)
|
||||
/* 1362D8 80242F98 00042140 */ sll $a0, $a0, 5
|
||||
/* 1362DC 80242F9C AC620000 */ sw $v0, ($v1)
|
||||
/* 1362E0 80242FA0 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 1362E4 80242FA4 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 1362E0 80242FA0 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 1362E4 80242FA4 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 1362E8 80242FA8 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1362EC 80242FAC 90820000 */ lbu $v0, ($a0)
|
||||
/* 1362F0 80242FB0 304200F3 */ andi $v0, $v0, 0xf3
|
||||
|
@ -9,8 +9,8 @@ glabel func_80242FBC
|
||||
/* 13630C 80242FCC AC620000 */ sw $v0, ($v1)
|
||||
/* 136310 80242FD0 24020050 */ addiu $v0, $zero, 0x50
|
||||
/* 136314 80242FD4 ACA20000 */ sw $v0, ($a1)
|
||||
/* 136318 80242FD8 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 13631C 80242FDC 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 136318 80242FD8 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 13631C 80242FDC 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 136320 80242FE0 00822021 */ addu $a0, $a0, $v0
|
||||
/* 136324 80242FE4 90820000 */ lbu $v0, ($a0)
|
||||
/* 136328 80242FE8 304200F3 */ andi $v0, $v0, 0xf3
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel func_80242FF4
|
||||
/* 136334 80242FF4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 136338 80242FF8 3C038016 */ lui $v1, %hi(D_80159D50)
|
||||
/* 13633C 80242FFC 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
|
||||
/* 136338 80242FF8 3C038016 */ lui $v1, %hi(gUIPanels)
|
||||
/* 13633C 80242FFC 24639D50 */ addiu $v1, $v1, %lo(gUIPanels)
|
||||
/* 136340 80243000 00041140 */ sll $v0, $a0, 5
|
||||
/* 136344 80243004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 136348 80243008 00438021 */ addu $s0, $v0, $v1
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel func_80243090
|
||||
/* 1363D0 80243090 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1363D4 80243094 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 1363D8 80243098 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 1363D4 80243094 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 1363D8 80243098 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 1363DC 8024309C 00041940 */ sll $v1, $a0, 5
|
||||
/* 1363E0 802430A0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1363E4 802430A4 00628021 */ addu $s0, $v1, $v0
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802430E4
|
||||
/* 136424 802430E4 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 136428 802430E8 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 136424 802430E4 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 136428 802430E8 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 13642C 802430EC 00042140 */ sll $a0, $a0, 5
|
||||
/* 136430 802430F0 00822021 */ addu $a0, $a0, $v0
|
||||
/* 136434 802430F4 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024313C
|
||||
/* 13647C 8024313C 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 136480 80243140 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 13647C 8024313C 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 136480 80243140 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 136484 80243144 00042140 */ sll $a0, $a0, 5
|
||||
/* 136488 80243148 00822021 */ addu $a0, $a0, $v0
|
||||
/* 13648C 8024314C 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243188
|
||||
/* 1364C8 80243188 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 1364CC 8024318C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 1364C8 80243188 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 1364CC 8024318C 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 1364D0 80243190 00042140 */ sll $a0, $a0, 5
|
||||
/* 1364D4 80243194 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1364D8 80243198 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243238
|
||||
/* 136578 80243238 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 13657C 8024323C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 136578 80243238 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 13657C 8024323C 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 136580 80243240 00042140 */ sll $a0, $a0, 5
|
||||
/* 136584 80243244 00822021 */ addu $a0, $a0, $v0
|
||||
/* 136588 80243248 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802432E8
|
||||
/* 136628 802432E8 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 13662C 802432EC 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 136628 802432E8 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 13662C 802432EC 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 136630 802432F0 00042140 */ sll $a0, $a0, 5
|
||||
/* 136634 802432F4 00822021 */ addu $a0, $a0, $v0
|
||||
/* 136638 802432F8 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243388
|
||||
/* 1366C8 80243388 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 1366CC 8024338C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 1366C8 80243388 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 1366CC 8024338C 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 1366D0 80243390 00042140 */ sll $a0, $a0, 5
|
||||
/* 1366D4 80243394 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1366D8 80243398 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -1,39 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_comparator
|
||||
/* 13A320 80246FE0 84820000 */ lh $v0, ($a0)
|
||||
/* 13A324 80246FE4 14400003 */ bnez $v0, .L80246FF4
|
||||
/* 13A328 80246FE8 00021140 */ sll $v0, $v0, 5
|
||||
/* 13A32C 80246FEC 08091C00 */ j .L80247000
|
||||
/* 13A330 80246FF0 24037FFF */ addiu $v1, $zero, 0x7fff
|
||||
.L80246FF4:
|
||||
/* 13A334 80246FF4 3C038008 */ lui $v1, %hi(gItemTable+0x6)
|
||||
/* 13A338 80246FF8 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13A33C 80246FFC 946378E6 */ lhu $v1, %lo(gItemTable+0x6)($v1)
|
||||
.L80247000:
|
||||
/* 13A340 80247000 84A20000 */ lh $v0, ($a1)
|
||||
/* 13A344 80247004 14400003 */ bnez $v0, .L80247014
|
||||
/* 13A348 80247008 00021140 */ sll $v0, $v0, 5
|
||||
/* 13A34C 8024700C 08091C08 */ j .L80247020
|
||||
/* 13A350 80247010 24047FFF */ addiu $a0, $zero, 0x7fff
|
||||
.L80247014:
|
||||
/* 13A354 80247014 3C048008 */ lui $a0, %hi(gItemTable+0x6)
|
||||
/* 13A358 80247018 00822021 */ addu $a0, $a0, $v0
|
||||
/* 13A35C 8024701C 948478E6 */ lhu $a0, %lo(gItemTable+0x6)($a0)
|
||||
.L80247020:
|
||||
/* 13A360 80247020 00031400 */ sll $v0, $v1, 0x10
|
||||
/* 13A364 80247024 00021C03 */ sra $v1, $v0, 0x10
|
||||
/* 13A368 80247028 00041400 */ sll $v0, $a0, 0x10
|
||||
/* 13A36C 8024702C 00022403 */ sra $a0, $v0, 0x10
|
||||
/* 13A370 80247030 10640005 */ beq $v1, $a0, .L80247048
|
||||
/* 13A374 80247034 0064182A */ slt $v1, $v1, $a0
|
||||
/* 13A378 80247038 14600004 */ bnez $v1, .L8024704C
|
||||
/* 13A37C 8024703C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 13A380 80247040 03E00008 */ jr $ra
|
||||
/* 13A384 80247044 24020001 */ addiu $v0, $zero, 1
|
||||
.L80247048:
|
||||
/* 13A388 80247048 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024704C:
|
||||
/* 13A38C 8024704C 03E00008 */ jr $ra
|
||||
/* 13A390 80247050 00000000 */ nop
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_count_all
|
||||
/* 13A394 80247054 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 13A398 80247058 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13A39C 8024705C 3C108011 */ lui $s0, %hi(gPlayerData)
|
||||
/* 13A3A0 80247060 2610F290 */ addiu $s0, $s0, %lo(gPlayerData)
|
||||
/* 13A3A4 80247064 260400B4 */ addiu $a0, $s0, 0xb4
|
||||
/* 13A3A8 80247068 3C068024 */ lui $a2, %hi(pause_badges_comparator)
|
||||
/* 13A3AC 8024706C 24C66FE0 */ addiu $a2, $a2, %lo(pause_badges_comparator)
|
||||
/* 13A3B0 80247070 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 13A3B4 80247074 0C091293 */ jal pause_sort_item_list
|
||||
/* 13A3B8 80247078 24050080 */ addiu $a1, $zero, 0x80
|
||||
/* 13A3BC 8024707C 0000182D */ daddu $v1, $zero, $zero
|
||||
.L80247080:
|
||||
/* 13A3C0 80247080 860200B4 */ lh $v0, 0xb4($s0)
|
||||
/* 13A3C4 80247084 10400005 */ beqz $v0, .L8024709C
|
||||
/* 13A3C8 80247088 00000000 */ nop
|
||||
/* 13A3CC 8024708C 24630001 */ addiu $v1, $v1, 1
|
||||
/* 13A3D0 80247090 28620080 */ slti $v0, $v1, 0x80
|
||||
/* 13A3D4 80247094 1440FFFA */ bnez $v0, .L80247080
|
||||
/* 13A3D8 80247098 26100002 */ addiu $s0, $s0, 2
|
||||
.L8024709C:
|
||||
/* 13A3DC 8024709C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 13A3E0 802470A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 13A3E4 802470A4 0060102D */ daddu $v0, $v1, $zero
|
||||
/* 13A3E8 802470A8 03E00008 */ jr $ra
|
||||
/* 13A3EC 802470AC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_count_equipped
|
||||
/* 13A3F0 802470B0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 13A3F4 802470B4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13A3F8 802470B8 3C108011 */ lui $s0, %hi(gPlayerData)
|
||||
/* 13A3FC 802470BC 2610F290 */ addiu $s0, $s0, %lo(gPlayerData)
|
||||
/* 13A400 802470C0 26040208 */ addiu $a0, $s0, 0x208
|
||||
/* 13A404 802470C4 3C068024 */ lui $a2, %hi(pause_badges_comparator)
|
||||
/* 13A408 802470C8 24C66FE0 */ addiu $a2, $a2, %lo(pause_badges_comparator)
|
||||
/* 13A40C 802470CC AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 13A410 802470D0 0C091293 */ jal pause_sort_item_list
|
||||
/* 13A414 802470D4 24050040 */ addiu $a1, $zero, 0x40
|
||||
/* 13A418 802470D8 0000182D */ daddu $v1, $zero, $zero
|
||||
.L802470DC:
|
||||
/* 13A41C 802470DC 86020208 */ lh $v0, 0x208($s0)
|
||||
/* 13A420 802470E0 10400005 */ beqz $v0, .L802470F8
|
||||
/* 13A424 802470E4 00000000 */ nop
|
||||
/* 13A428 802470E8 24630001 */ addiu $v1, $v1, 1
|
||||
/* 13A42C 802470EC 28620040 */ slti $v0, $v1, 0x40
|
||||
/* 13A430 802470F0 1440FFFA */ bnez $v0, .L802470DC
|
||||
/* 13A434 802470F4 26100002 */ addiu $s0, $s0, 2
|
||||
.L802470F8:
|
||||
/* 13A438 802470F8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 13A43C 802470FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 13A440 80247100 0060102D */ daddu $v0, $v1, $zero
|
||||
/* 13A444 80247104 03E00008 */ jr $ra
|
||||
/* 13A448 80247108 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,24 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_get_column
|
||||
/* 13A518 802471D8 00041040 */ sll $v0, $a0, 1
|
||||
/* 13A51C 802471DC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13A520 802471E0 00021080 */ sll $v0, $v0, 2
|
||||
/* 13A524 802471E4 3C018027 */ lui $at, 0x8027
|
||||
/* 13A528 802471E8 00220821 */ addu $at, $at, $v0
|
||||
/* 13A52C 802471EC 9022028A */ lbu $v0, 0x28a($at)
|
||||
/* 13A530 802471F0 14400002 */ bnez $v0, .L802471FC
|
||||
/* 13A534 802471F4 00A2001A */ div $zero, $a1, $v0
|
||||
/* 13A538 802471F8 0007000D */ break 7
|
||||
.L802471FC:
|
||||
/* 13A53C 802471FC 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13A540 80247200 14410004 */ bne $v0, $at, .L80247214
|
||||
/* 13A544 80247204 3C018000 */ lui $at, 0x8000
|
||||
/* 13A548 80247208 14A10002 */ bne $a1, $at, .L80247214
|
||||
/* 13A54C 8024720C 00000000 */ nop
|
||||
/* 13A550 80247210 0006000D */ break 6
|
||||
.L80247214:
|
||||
/* 13A554 80247214 00001010 */ mfhi $v0
|
||||
/* 13A558 80247218 03E00008 */ jr $ra
|
||||
/* 13A55C 8024721C 00000000 */ nop
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_get_pos_x
|
||||
/* 13A44C 8024710C 00041040 */ sll $v0, $a0, 1
|
||||
/* 13A450 80247110 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13A454 80247114 00021080 */ sll $v0, $v0, 2
|
||||
/* 13A458 80247118 3C018027 */ lui $at, 0x8027
|
||||
/* 13A45C 8024711C 00220821 */ addu $at, $at, $v0
|
||||
/* 13A460 80247120 9022028A */ lbu $v0, 0x28a($at)
|
||||
/* 13A464 80247124 14400002 */ bnez $v0, .L80247130
|
||||
/* 13A468 80247128 00A2001A */ div $zero, $a1, $v0
|
||||
/* 13A46C 8024712C 0007000D */ break 7
|
||||
.L80247130:
|
||||
/* 13A470 80247130 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13A474 80247134 14410004 */ bne $v0, $at, .L80247148
|
||||
/* 13A478 80247138 3C018000 */ lui $at, 0x8000
|
||||
/* 13A47C 8024713C 14A10002 */ bne $a1, $at, .L80247148
|
||||
/* 13A480 80247140 00000000 */ nop
|
||||
/* 13A484 80247144 0006000D */ break 6
|
||||
.L80247148:
|
||||
/* 13A488 80247148 00001810 */ mfhi $v1
|
||||
/* 13A48C 8024714C 000310C0 */ sll $v0, $v1, 3
|
||||
/* 13A490 80247150 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13A494 80247154 00021080 */ sll $v0, $v0, 2
|
||||
/* 13A498 80247158 00431023 */ subu $v0, $v0, $v1
|
||||
/* 13A49C 8024715C 00021080 */ sll $v0, $v0, 2
|
||||
/* 13A4A0 80247160 03E00008 */ jr $ra
|
||||
/* 13A4A4 80247164 00431021 */ addu $v0, $v0, $v1
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_get_pos_y
|
||||
/* 13A4A8 80247168 3C028027 */ lui $v0, 0x8027
|
||||
/* 13A4AC 8024716C 24420288 */ addiu $v0, $v0, 0x288
|
||||
/* 13A4B0 80247170 00041840 */ sll $v1, $a0, 1
|
||||
/* 13A4B4 80247174 00641821 */ addu $v1, $v1, $a0
|
||||
/* 13A4B8 80247178 00031880 */ sll $v1, $v1, 2
|
||||
/* 13A4BC 8024717C 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13A4C0 80247180 90620002 */ lbu $v0, 2($v1)
|
||||
/* 13A4C4 80247184 14400002 */ bnez $v0, .L80247190
|
||||
/* 13A4C8 80247188 00A2001A */ div $zero, $a1, $v0
|
||||
/* 13A4CC 8024718C 0007000D */ break 7
|
||||
.L80247190:
|
||||
/* 13A4D0 80247190 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13A4D4 80247194 14410004 */ bne $v0, $at, .L802471A8
|
||||
/* 13A4D8 80247198 3C018000 */ lui $at, 0x8000
|
||||
/* 13A4DC 8024719C 14A10002 */ bne $a1, $at, .L802471A8
|
||||
/* 13A4E0 802471A0 00000000 */ nop
|
||||
/* 13A4E4 802471A4 0006000D */ break 6
|
||||
.L802471A8:
|
||||
/* 13A4E8 802471A8 00002812 */ mflo $a1
|
||||
/* 13A4EC 802471AC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 13A4F0 802471B0 90630001 */ lbu $v1, 1($v1)
|
||||
/* 13A4F4 802471B4 00041040 */ sll $v0, $a0, 1
|
||||
/* 13A4F8 802471B8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13A4FC 802471BC 00021080 */ sll $v0, $v0, 2
|
||||
/* 13A500 802471C0 00441023 */ subu $v0, $v0, $a0
|
||||
/* 13A504 802471C4 00031900 */ sll $v1, $v1, 4
|
||||
/* 13A508 802471C8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13A50C 802471CC 00052900 */ sll $a1, $a1, 4
|
||||
/* 13A510 802471D0 03E00008 */ jr $ra
|
||||
/* 13A514 802471D4 00451021 */ addu $v0, $v0, $a1
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_get_row
|
||||
/* 13A560 80247220 3C038027 */ lui $v1, 0x8027
|
||||
/* 13A564 80247224 24630288 */ addiu $v1, $v1, 0x288
|
||||
/* 13A568 80247228 00041040 */ sll $v0, $a0, 1
|
||||
/* 13A56C 8024722C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13A570 80247230 00021080 */ sll $v0, $v0, 2
|
||||
/* 13A574 80247234 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13A578 80247238 90430002 */ lbu $v1, 2($v0)
|
||||
/* 13A57C 8024723C 14600002 */ bnez $v1, .L80247248
|
||||
/* 13A580 80247240 00A3001A */ div $zero, $a1, $v1
|
||||
/* 13A584 80247244 0007000D */ break 7
|
||||
.L80247248:
|
||||
/* 13A588 80247248 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13A58C 8024724C 14610004 */ bne $v1, $at, .L80247260
|
||||
/* 13A590 80247250 3C018000 */ lui $at, 0x8000
|
||||
/* 13A594 80247254 14A10002 */ bne $a1, $at, .L80247260
|
||||
/* 13A598 80247258 00000000 */ nop
|
||||
/* 13A59C 8024725C 0006000D */ break 6
|
||||
.L80247260:
|
||||
/* 13A5A0 80247260 00002812 */ mflo $a1
|
||||
/* 13A5A4 80247264 90420001 */ lbu $v0, 1($v0)
|
||||
/* 13A5A8 80247268 03E00008 */ jr $ra
|
||||
/* 13A5AC 8024726C 00451021 */ addu $v0, $v0, $a1
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_is_visible
|
||||
/* 13A5B0 80247270 3C038027 */ lui $v1, 0x8027
|
||||
/* 13A5B4 80247274 8C63038C */ lw $v1, 0x38c($v1)
|
||||
/* 13A5B8 80247278 2462FFE0 */ addiu $v0, $v1, -0x20
|
||||
/* 13A5BC 8024727C 0082102A */ slt $v0, $a0, $v0
|
||||
/* 13A5C0 80247280 14400003 */ bnez $v0, .L80247290
|
||||
/* 13A5C4 80247284 24620080 */ addiu $v0, $v1, 0x80
|
||||
/* 13A5C8 80247288 03E00008 */ jr $ra
|
||||
/* 13A5CC 8024728C 0082102A */ slt $v0, $a0, $v0
|
||||
.L80247290:
|
||||
/* 13A5D0 80247290 03E00008 */ jr $ra
|
||||
/* 13A5D4 80247294 0000102D */ daddu $v0, $zero, $zero
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_scroll_offset_y
|
||||
/* 13A5D8 80247298 3C028027 */ lui $v0, 0x8027
|
||||
/* 13A5DC 8024729C 8C42038C */ lw $v0, 0x38c($v0)
|
||||
/* 13A5E0 802472A0 03E00008 */ jr $ra
|
||||
/* 13A5E4 802472A4 00821023 */ subu $v0, $a0, $v0
|
@ -1,90 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_update
|
||||
/* 13C95C 8024961C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 13C960 80249620 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C964 80249624 8C630280 */ lw $v1, 0x280($v1)
|
||||
/* 13C968 80249628 3C048027 */ lui $a0, 0x8027
|
||||
/* 13C96C 8024962C 24840288 */ addiu $a0, $a0, 0x288
|
||||
/* 13C970 80249630 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 13C974 80249634 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13C978 80249638 00031040 */ sll $v0, $v1, 1
|
||||
/* 13C97C 8024963C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13C980 80249640 00021080 */ sll $v0, $v0, 2
|
||||
/* 13C984 80249644 00443021 */ addu $a2, $v0, $a0
|
||||
/* 13C988 80249648 90C30002 */ lbu $v1, 2($a2)
|
||||
/* 13C98C 8024964C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C990 80249650 8C420378 */ lw $v0, 0x378($v0)
|
||||
/* 13C994 80249654 14600002 */ bnez $v1, .L80249660
|
||||
/* 13C998 80249658 0043001A */ div $zero, $v0, $v1
|
||||
/* 13C99C 8024965C 0007000D */ break 7
|
||||
.L80249660:
|
||||
/* 13C9A0 80249660 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13C9A4 80249664 14610004 */ bne $v1, $at, .L80249678
|
||||
/* 13C9A8 80249668 3C018000 */ lui $at, 0x8000
|
||||
/* 13C9AC 8024966C 14410002 */ bne $v0, $at, .L80249678
|
||||
/* 13C9B0 80249670 00000000 */ nop
|
||||
/* 13C9B4 80249674 0006000D */ break 6
|
||||
.L80249678:
|
||||
/* 13C9B8 80249678 00001012 */ mflo $v0
|
||||
/* 13C9BC 8024967C 90C30001 */ lbu $v1, 1($a2)
|
||||
/* 13C9C0 80249680 00432023 */ subu $a0, $v0, $v1
|
||||
/* 13C9C4 80249684 28820002 */ slti $v0, $a0, 2
|
||||
/* 13C9C8 80249688 14400005 */ bnez $v0, .L802496A0
|
||||
/* 13C9CC 8024968C 00000000 */ nop
|
||||
/* 13C9D0 80249690 90C20003 */ lbu $v0, 3($a2)
|
||||
/* 13C9D4 80249694 2C420009 */ sltiu $v0, $v0, 9
|
||||
/* 13C9D8 80249698 10400005 */ beqz $v0, .L802496B0
|
||||
/* 13C9DC 8024969C 00000000 */ nop
|
||||
.L802496A0:
|
||||
/* 13C9E0 802496A0 3C018027 */ lui $at, 0x8027
|
||||
/* 13C9E4 802496A4 AC200394 */ sw $zero, 0x394($at)
|
||||
/* 13C9E8 802496A8 080925BF */ j .L802496FC
|
||||
/* 13C9EC 802496AC 00000000 */ nop
|
||||
.L802496B0:
|
||||
/* 13C9F0 802496B0 90C30003 */ lbu $v1, 3($a2)
|
||||
/* 13C9F4 802496B4 2462FFFE */ addiu $v0, $v1, -2
|
||||
/* 13C9F8 802496B8 0082102A */ slt $v0, $a0, $v0
|
||||
/* 13C9FC 802496BC 14400005 */ bnez $v0, .L802496D4
|
||||
/* 13CA00 802496C0 2462FFF8 */ addiu $v0, $v1, -8
|
||||
/* 13CA04 802496C4 3C018027 */ lui $at, 0x8027
|
||||
/* 13CA08 802496C8 AC220394 */ sw $v0, 0x394($at)
|
||||
/* 13CA0C 802496CC 080925BF */ j .L802496FC
|
||||
/* 13CA10 802496D0 00000000 */ nop
|
||||
.L802496D4:
|
||||
/* 13CA14 802496D4 3C058027 */ lui $a1, 0x8027
|
||||
/* 13CA18 802496D8 24A50394 */ addiu $a1, $a1, 0x394
|
||||
/* 13CA1C 802496DC 8CA20000 */ lw $v0, ($a1)
|
||||
/* 13CA20 802496E0 00821823 */ subu $v1, $a0, $v0
|
||||
/* 13CA24 802496E4 28620007 */ slti $v0, $v1, 7
|
||||
/* 13CA28 802496E8 10400003 */ beqz $v0, .L802496F8
|
||||
/* 13CA2C 802496EC 2482FFFA */ addiu $v0, $a0, -6
|
||||
/* 13CA30 802496F0 1C600002 */ bgtz $v1, .L802496FC
|
||||
/* 13CA34 802496F4 2482FFFF */ addiu $v0, $a0, -1
|
||||
.L802496F8:
|
||||
/* 13CA38 802496F8 ACA20000 */ sw $v0, ($a1)
|
||||
.L802496FC:
|
||||
/* 13CA3C 802496FC 90C20002 */ lbu $v0, 2($a2)
|
||||
/* 13CA40 80249700 3C058027 */ lui $a1, 0x8027
|
||||
/* 13CA44 80249704 8CA50394 */ lw $a1, 0x394($a1)
|
||||
/* 13CA48 80249708 00A20018 */ mult $a1, $v0
|
||||
/* 13CA4C 8024970C 3C048027 */ lui $a0, 0x8027
|
||||
/* 13CA50 80249710 8C840280 */ lw $a0, 0x280($a0)
|
||||
/* 13CA54 80249714 00002812 */ mflo $a1
|
||||
/* 13CA58 80249718 0C091C5A */ jal pause_badges_get_pos_y
|
||||
/* 13CA5C 8024971C 00000000 */ nop
|
||||
/* 13CA60 80249720 3C108027 */ lui $s0, 0x8027
|
||||
/* 13CA64 80249724 2610038C */ addiu $s0, $s0, 0x38c
|
||||
/* 13CA68 80249728 8E040000 */ lw $a0, ($s0)
|
||||
/* 13CA6C 8024972C 3C018027 */ lui $at, 0x8027
|
||||
/* 13CA70 80249730 AC220390 */ sw $v0, 0x390($at)
|
||||
/* 13CA74 80249734 0C090D1B */ jal pause_interp_vertical_scroll
|
||||
/* 13CA78 80249738 00442023 */ subu $a0, $v0, $a0
|
||||
/* 13CA7C 8024973C 8E030000 */ lw $v1, ($s0)
|
||||
/* 13CA80 80249740 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13CA84 80249744 AE030000 */ sw $v1, ($s0)
|
||||
/* 13CA88 80249748 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 13CA8C 8024974C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 13CA90 80249750 03E00008 */ jr $ra
|
||||
/* 13CA94 80249754 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -6,8 +6,8 @@ glabel pause_cleanup
|
||||
/* 137A4C 8024470C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 137A50 80244710 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 137A54 80244714 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 137A58 80244718 3C118027 */ lui $s1, 0x8027
|
||||
/* 137A5C 8024471C 263100E8 */ addiu $s1, $s1, 0xe8
|
||||
/* 137A58 80244718 3C118027 */ lui $s1, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 137A5C 8024471C 263100E8 */ addiu $s1, $s1, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 137A60 80244720 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L80244724:
|
||||
/* 137A64 80244724 8E240000 */ lw $a0, ($s1)
|
||||
@ -33,8 +33,8 @@ glabel pause_cleanup
|
||||
/* 137AB0 80244770 1440FFFA */ bnez $v0, .L8024475C
|
||||
/* 137AB4 80244774 00000000 */ nop
|
||||
.L80244778:
|
||||
/* 137AB8 80244778 3C118025 */ lui $s1, 0x8025
|
||||
/* 137ABC 8024477C 2631EF80 */ addiu $s1, $s1, -0x1080
|
||||
/* 137AB8 80244778 3C118025 */ lui $s1, %hi(gPauseMenuTabs)
|
||||
/* 137ABC 8024477C 2631EF80 */ addiu $s1, $s1, %lo(gPauseMenuTabs)
|
||||
/* 137AC0 80244780 0000802D */ daddu $s0, $zero, $zero
|
||||
.L80244784:
|
||||
/* 137AC4 80244784 8E240000 */ lw $a0, ($s1)
|
||||
|
@ -8,21 +8,21 @@ glabel pause_handle_input
|
||||
/* 137770 80244430 AFB60048 */ sw $s6, 0x48($sp)
|
||||
/* 137774 80244434 00A0B02D */ daddu $s6, $a1, $zero
|
||||
/* 137778 80244438 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13777C 8024443C 3C028027 */ lui $v0, 0x8027
|
||||
/* 137780 80244440 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 13777C 8024443C 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 137780 80244440 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 137784 80244444 3C05F840 */ lui $a1, 0xf840
|
||||
/* 137788 80244448 AFB3003C */ sw $s3, 0x3c($sp)
|
||||
/* 13778C 8024444C 3C138027 */ lui $s3, 0x8027
|
||||
/* 137790 80244450 8E7300C8 */ lw $s3, 0xc8($s3)
|
||||
/* 13778C 8024444C 3C138027 */ lui $s3, %hi(gPauseMenuCurrentDescString)
|
||||
/* 137790 80244450 8E7300C8 */ lw $s3, %lo(gPauseMenuCurrentDescString)($s3)
|
||||
/* 137794 80244454 AFBF004C */ sw $ra, 0x4c($sp)
|
||||
/* 137798 80244458 AFB40040 */ sw $s4, 0x40($sp)
|
||||
/* 13779C 8024445C AFB20038 */ sw $s2, 0x38($sp)
|
||||
/* 1377A0 80244460 AFB10034 */ sw $s1, 0x34($sp)
|
||||
/* 1377A4 80244464 AFB00030 */ sw $s0, 0x30($sp)
|
||||
/* 1377A8 80244468 00021080 */ sll $v0, $v0, 2
|
||||
/* 1377AC 8024446C 3C148025 */ lui $s4, 0x8025
|
||||
/* 1377AC 8024446C 3C148025 */ lui $s4, %hi(gPauseMenuTabs)
|
||||
/* 1377B0 80244470 0282A021 */ addu $s4, $s4, $v0
|
||||
/* 1377B4 80244474 8E94EF80 */ lw $s4, -0x1080($s4)
|
||||
/* 1377B4 80244474 8E94EF80 */ lw $s4, %lo(gPauseMenuTabs)($s4)
|
||||
/* 1377B8 80244478 0C0B1EAF */ jal get_variable
|
||||
/* 1377BC 8024447C 34A55BDE */ ori $a1, $a1, 0x5bde
|
||||
/* 1377C0 80244480 1040000F */ beqz $v0, .L802444C0
|
||||
@ -46,10 +46,10 @@ glabel pause_handle_input
|
||||
/* 137800 802444C0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 137804 802444C4 3C05F840 */ lui $a1, 0xf840
|
||||
/* 137808 802444C8 34A55BDE */ ori $a1, $a1, 0x5bde
|
||||
/* 13780C 802444CC 3C108027 */ lui $s0, 0x8027
|
||||
/* 137810 802444D0 261000C4 */ addiu $s0, $s0, 0xc4
|
||||
/* 137814 802444D4 3C118027 */ lui $s1, 0x8027
|
||||
/* 137818 802444D8 263100C0 */ addiu $s1, $s1, 0xc0
|
||||
/* 13780C 802444CC 3C108027 */ lui $s0, %hi(gPauseMenuPressedButtons)
|
||||
/* 137810 802444D0 261000C4 */ addiu $s0, $s0, %lo(gPauseMenuPressedButtons)
|
||||
/* 137814 802444D4 3C118027 */ lui $s1, %hi(gPauseMenuHeldButtons)
|
||||
/* 137818 802444D8 263100C0 */ addiu $s1, $s1, %lo(gPauseMenuHeldButtons)
|
||||
/* 13781C 802444DC AE150000 */ sw $s5, ($s0)
|
||||
/* 137820 802444E0 0C0B1EAF */ jal get_variable
|
||||
/* 137824 802444E4 AE360000 */ sw $s6, ($s1)
|
||||
@ -62,8 +62,8 @@ glabel pause_handle_input
|
||||
/* 13783C 802444FC 30821000 */ andi $v0, $a0, 0x1000
|
||||
/* 137840 80244500 14400007 */ bnez $v0, .L80244520
|
||||
/* 137844 80244504 00000000 */ nop
|
||||
/* 137848 80244508 3C028027 */ lui $v0, 0x8027
|
||||
/* 13784C 8024450C 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 137848 80244508 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 13784C 8024450C 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 137850 80244510 1440000B */ bnez $v0, .L80244540
|
||||
/* 137854 80244514 30824000 */ andi $v0, $a0, 0x4000
|
||||
/* 137858 80244518 10400009 */ beqz $v0, .L80244540
|
||||
@ -80,8 +80,8 @@ glabel pause_handle_input
|
||||
.L80244540:
|
||||
/* 137880 80244540 3C048027 */ lui $a0, 0x8027
|
||||
/* 137884 80244544 24840118 */ addiu $a0, $a0, 0x118
|
||||
/* 137888 80244548 3C038027 */ lui $v1, 0x8027
|
||||
/* 13788C 8024454C 8C6300CC */ lw $v1, 0xcc($v1)
|
||||
/* 137888 80244548 3C038027 */ lui $v1, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13788C 8024454C 8C6300CC */ lw $v1, %lo(gPauseMenuCurrentDescIconScript)($v1)
|
||||
/* 137890 80244550 8C820000 */ lw $v0, ($a0)
|
||||
/* 137894 80244554 54620001 */ bnel $v1, $v0, .L8024455C
|
||||
/* 137898 80244558 AC830000 */ sw $v1, ($a0)
|
||||
@ -125,8 +125,8 @@ glabel pause_handle_input
|
||||
/* 137924 802445E4 3C018027 */ lui $at, 0x8027
|
||||
/* 137928 802445E8 AC20010C */ sw $zero, 0x10c($at)
|
||||
.L802445EC:
|
||||
/* 13792C 802445EC 3C028027 */ lui $v0, 0x8027
|
||||
/* 137930 802445F0 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13792C 802445EC 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 137930 802445F0 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 137934 802445F4 30420008 */ andi $v0, $v0, 8
|
||||
/* 137938 802445F8 10400008 */ beqz $v0, .L8024461C
|
||||
/* 13793C 802445FC 00000000 */ nop
|
||||
@ -138,8 +138,8 @@ glabel pause_handle_input
|
||||
/* 137954 80244614 AC620000 */ sw $v0, ($v1)
|
||||
/* 137958 80244618 AC600000 */ sw $zero, ($v1)
|
||||
.L8024461C:
|
||||
/* 13795C 8024461C 3C028027 */ lui $v0, 0x8027
|
||||
/* 137960 80244620 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13795C 8024461C 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 137960 80244620 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 137964 80244624 30420004 */ andi $v0, $v0, 4
|
||||
/* 137968 80244628 1040000B */ beqz $v0, .L80244658
|
||||
/* 13796C 8024462C 00000000 */ nop
|
||||
@ -174,8 +174,8 @@ glabel pause_handle_input
|
||||
/* 1379DC 8024469C 0040F809 */ jalr $v0
|
||||
/* 1379E0 802446A0 0280202D */ daddu $a0, $s4, $zero
|
||||
.L802446A4:
|
||||
/* 1379E4 802446A4 3C118025 */ lui $s1, 0x8025
|
||||
/* 1379E8 802446A8 2631EF80 */ addiu $s1, $s1, -0x1080
|
||||
/* 1379E4 802446A4 3C118025 */ lui $s1, %hi(gPauseMenuTabs)
|
||||
/* 1379E8 802446A8 2631EF80 */ addiu $s1, $s1, %lo(gPauseMenuTabs)
|
||||
/* 1379EC 802446AC 0000802D */ daddu $s0, $zero, $zero
|
||||
.L802446B0:
|
||||
/* 1379F0 802446B0 8E240000 */ lw $a0, ($s1)
|
||||
|
@ -20,10 +20,10 @@ glabel pause_init
|
||||
/* 1373DC 8024409C 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 1373E0 802440A0 3C138024 */ lui $s3, 0x8024
|
||||
/* 1373E4 802440A4 26731ECC */ addiu $s3, $s3, 0x1ecc
|
||||
/* 1373E8 802440A8 3C108025 */ lui $s0, 0x8025
|
||||
/* 1373EC 802440AC 2610EF60 */ addiu $s0, $s0, -0x10a0
|
||||
/* 1373F0 802440B0 3C128027 */ lui $s2, 0x8027
|
||||
/* 1373F4 802440B4 265200E8 */ addiu $s2, $s2, 0xe8
|
||||
/* 1373E8 802440A8 3C108025 */ lui $s0, %hi(gPauseMenuIconScripts)
|
||||
/* 1373EC 802440AC 2610EF60 */ addiu $s0, $s0, %lo(gPauseMenuIconScripts)
|
||||
/* 1373F0 802440B0 3C128027 */ lui $s2, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1373F4 802440B4 265200E8 */ addiu $s2, $s2, %lo(gPauseMenuCommonIconIDs)
|
||||
.L802440B8:
|
||||
/* 1373F8 802440B8 0C050529 */ jal create_icon
|
||||
/* 1373FC 802440BC 8E040000 */ lw $a0, ($s0)
|
||||
@ -44,10 +44,10 @@ glabel pause_init
|
||||
/* 137434 802440F4 3C048025 */ lui $a0, 0x8025
|
||||
/* 137438 802440F8 2484F114 */ addiu $a0, $a0, -0xeec
|
||||
/* 13743C 802440FC 24050004 */ addiu $a1, $zero, 4
|
||||
/* 137440 80244100 3C108025 */ lui $s0, 0x8025
|
||||
/* 137444 80244104 2610EF80 */ addiu $s0, $s0, -0x1080
|
||||
/* 137448 80244108 3C028027 */ lui $v0, 0x8027
|
||||
/* 13744C 8024410C 8C4200E8 */ lw $v0, 0xe8($v0)
|
||||
/* 137440 80244100 3C108025 */ lui $s0, %hi(gPauseMenuTabs)
|
||||
/* 137444 80244104 2610EF80 */ addiu $s0, $s0, %lo(gPauseMenuTabs)
|
||||
/* 137448 80244108 3C028027 */ lui $v0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 13744C 8024410C 8C4200E8 */ lw $v0, %lo(gPauseMenuCommonIconIDs)($v0)
|
||||
/* 137450 80244110 3C018027 */ lui $at, 0x8027
|
||||
/* 137454 80244114 AC2200D0 */ sw $v0, 0xd0($at)
|
||||
/* 137458 80244118 0C051FCC */ jal func_80147F30
|
||||
@ -62,12 +62,12 @@ glabel pause_init
|
||||
/* 13747C 8024413C AC20010C */ sw $zero, 0x10c($at)
|
||||
/* 137480 80244140 3C018027 */ lui $at, 0x8027
|
||||
/* 137484 80244144 AC200118 */ sw $zero, 0x118($at)
|
||||
/* 137488 80244148 3C018027 */ lui $at, 0x8027
|
||||
/* 13748C 8024414C AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 137490 80244150 3C018027 */ lui $at, 0x8027
|
||||
/* 137494 80244154 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 137498 80244158 3C018027 */ lui $at, 0x8027
|
||||
/* 13749C 8024415C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 137488 80244148 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13748C 8024414C AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 137490 80244150 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 137494 80244154 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 137498 80244158 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13749C 8024415C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
.L80244160:
|
||||
/* 1374A0 80244160 8E040000 */ lw $a0, ($s0)
|
||||
/* 1374A4 80244164 8C82000C */ lw $v0, 0xc($a0)
|
||||
@ -81,8 +81,8 @@ glabel pause_init
|
||||
/* 1374C0 80244180 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1374C4 80244184 241400E1 */ addiu $s4, $zero, 0xe1
|
||||
/* 1374C8 80244188 24110006 */ addiu $s1, $zero, 6
|
||||
/* 1374CC 8024418C 3C158016 */ lui $s5, %hi(D_80159D50)
|
||||
/* 1374D0 80244190 26B59D50 */ addiu $s5, $s5, %lo(D_80159D50)
|
||||
/* 1374CC 8024418C 3C158016 */ lui $s5, %hi(gUIPanels)
|
||||
/* 1374D0 80244190 26B59D50 */ addiu $s5, $s5, %lo(gUIPanels)
|
||||
/* 1374D4 80244194 241303C0 */ addiu $s3, $zero, 0x3c0
|
||||
/* 1374D8 80244198 2412001E */ addiu $s2, $zero, 0x1e
|
||||
/* 1374DC 8024419C 3C108025 */ lui $s0, 0x8025
|
||||
@ -107,8 +107,8 @@ glabel pause_init
|
||||
/* 13751C 802441DC 2631FFFF */ addiu $s1, $s1, -1
|
||||
/* 137520 802441E0 1E20FFF0 */ bgtz $s1, .L802441A4
|
||||
/* 137524 802441E4 2610FFFC */ addiu $s0, $s0, -4
|
||||
/* 137528 802441E8 3C028025 */ lui $v0, 0x8025
|
||||
/* 13752C 802441EC 8C42EF80 */ lw $v0, -0x1080($v0)
|
||||
/* 137528 802441E8 3C028025 */ lui $v0, %hi(gPauseMenuTabs)
|
||||
/* 13752C 802441EC 8C42EF80 */ lw $v0, %lo(gPauseMenuTabs)($v0)
|
||||
/* 137530 802441F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 137534 802441F4 80420001 */ lb $v0, 1($v0)
|
||||
/* 137538 802441F8 3C05F840 */ lui $a1, 0xf840
|
||||
|
@ -2,10 +2,10 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_interp_cursor
|
||||
/* 1361AC 80242E6C 3C0A8025 */ lui $t2, 0x8025
|
||||
/* 1361B0 80242E70 254AEF9C */ addiu $t2, $t2, -0x1064
|
||||
/* 1361B4 80242E74 3C058025 */ lui $a1, 0x8025
|
||||
/* 1361B8 80242E78 8CA5EFA8 */ lw $a1, -0x1058($a1)
|
||||
/* 1361AC 80242E6C 3C0A8025 */ lui $t2, %hi(gPauseMenuCursorPosX)
|
||||
/* 1361B0 80242E70 254AEF9C */ addiu $t2, $t2, %lo(gPauseMenuCursorPosX)
|
||||
/* 1361B4 80242E74 3C058025 */ lui $a1, %hi(gPauseMenuTargetPosX)
|
||||
/* 1361B8 80242E78 8CA5EFA8 */ lw $a1, %lo(gPauseMenuTargetPosX)($a1)
|
||||
/* 1361BC 80242E7C 8D430000 */ lw $v1, ($t2)
|
||||
/* 1361C0 80242E80 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* 1361C4 80242E84 44812800 */ mtc1 $at, $f5
|
||||
@ -16,10 +16,10 @@ glabel pause_interp_cursor
|
||||
/* 1361D8 80242E98 468010A1 */ cvt.d.w $f2, $f2
|
||||
/* 1361DC 80242E9C 46241082 */ mul.d $f2, $f2, $f4
|
||||
/* 1361E0 80242EA0 00000000 */ nop
|
||||
/* 1361E4 80242EA4 3C098025 */ lui $t1, 0x8025
|
||||
/* 1361E8 80242EA8 2529EFA0 */ addiu $t1, $t1, -0x1060
|
||||
/* 1361EC 80242EAC 3C048025 */ lui $a0, 0x8025
|
||||
/* 1361F0 80242EB0 8C84EFAC */ lw $a0, -0x1054($a0)
|
||||
/* 1361E4 80242EA4 3C098025 */ lui $t1, %hi(gPauseMenuCursorPosY)
|
||||
/* 1361E8 80242EA8 2529EFA0 */ addiu $t1, $t1, %lo(gPauseMenuCursorPosY)
|
||||
/* 1361EC 80242EAC 3C048025 */ lui $a0, %hi(gPauseMenuTargetPosY)
|
||||
/* 1361F0 80242EB0 8C84EFAC */ lw $a0, %lo(gPauseMenuTargetPosY)($a0)
|
||||
/* 1361F4 80242EB4 8D260000 */ lw $a2, ($t1)
|
||||
/* 1361F8 80242EB8 00861023 */ subu $v0, $a0, $a2
|
||||
/* 1361FC 80242EBC 44820000 */ mtc1 $v0, $f0
|
||||
@ -43,21 +43,21 @@ glabel pause_interp_cursor
|
||||
/* 136240 80242F00 AD450000 */ sw $a1, ($t2)
|
||||
/* 136244 80242F04 AD240000 */ sw $a0, ($t1)
|
||||
.L80242F08:
|
||||
/* 136248 80242F08 3C038025 */ lui $v1, 0x8025
|
||||
/* 13624C 80242F0C 2463EF9C */ addiu $v1, $v1, -0x1064
|
||||
/* 136248 80242F08 3C038025 */ lui $v1, %hi(gPauseMenuCursorPosX)
|
||||
/* 13624C 80242F0C 2463EF9C */ addiu $v1, $v1, %lo(gPauseMenuCursorPosX)
|
||||
/* 136250 80242F10 8C620000 */ lw $v0, ($v1)
|
||||
/* 136254 80242F14 00471021 */ addu $v0, $v0, $a3
|
||||
/* 136258 80242F18 AC620000 */ sw $v0, ($v1)
|
||||
/* 13625C 80242F1C 3C038025 */ lui $v1, 0x8025
|
||||
/* 136260 80242F20 2463EFA0 */ addiu $v1, $v1, -0x1060
|
||||
/* 13625C 80242F1C 3C038025 */ lui $v1, %hi(gPauseMenuCursorPosY)
|
||||
/* 136260 80242F20 2463EFA0 */ addiu $v1, $v1, %lo(gPauseMenuCursorPosY)
|
||||
/* 136264 80242F24 8C620000 */ lw $v0, ($v1)
|
||||
/* 136268 80242F28 3C048025 */ lui $a0, 0x8025
|
||||
/* 13626C 80242F2C 8C84EFB0 */ lw $a0, -0x1050($a0)
|
||||
/* 136268 80242F28 3C048025 */ lui $a0, %hi(gPauseMenuCursorTargetOpacity)
|
||||
/* 13626C 80242F2C 8C84EFB0 */ lw $a0, %lo(gPauseMenuCursorTargetOpacity)($a0)
|
||||
/* 136270 80242F30 00481021 */ addu $v0, $v0, $t0
|
||||
/* 136274 80242F34 14800009 */ bnez $a0, .L80242F5C
|
||||
/* 136278 80242F38 AC620000 */ sw $v0, ($v1)
|
||||
/* 13627C 80242F3C 3C038025 */ lui $v1, 0x8025
|
||||
/* 136280 80242F40 2463EFA4 */ addiu $v1, $v1, -0x105c
|
||||
/* 13627C 80242F3C 3C038025 */ lui $v1, %hi(gPauseMenuCursorOpacity)
|
||||
/* 136280 80242F40 2463EFA4 */ addiu $v1, $v1, %lo(gPauseMenuCursorOpacity)
|
||||
/* 136284 80242F44 8C620000 */ lw $v0, ($v1)
|
||||
/* 136288 80242F48 2442FF80 */ addiu $v0, $v0, -0x80
|
||||
/* 13628C 80242F4C 0441000C */ bgez $v0, .L80242F80
|
||||
@ -65,8 +65,8 @@ glabel pause_interp_cursor
|
||||
/* 136294 80242F54 08090BE0 */ j .L80242F80
|
||||
/* 136298 80242F58 AC600000 */ sw $zero, ($v1)
|
||||
.L80242F5C:
|
||||
/* 13629C 80242F5C 3C038025 */ lui $v1, 0x8025
|
||||
/* 1362A0 80242F60 2463EFA4 */ addiu $v1, $v1, -0x105c
|
||||
/* 13629C 80242F5C 3C038025 */ lui $v1, %hi(gPauseMenuCursorOpacity)
|
||||
/* 1362A0 80242F60 2463EFA4 */ addiu $v1, $v1, %lo(gPauseMenuCursorOpacity)
|
||||
/* 1362A4 80242F64 8C620000 */ lw $v0, ($v1)
|
||||
/* 1362A8 80242F68 24420020 */ addiu $v0, $v0, 0x20
|
||||
/* 1362AC 80242F6C AC620000 */ sw $v0, ($v1)
|
||||
@ -77,6 +77,6 @@ glabel pause_interp_cursor
|
||||
.L80242F80:
|
||||
/* 1362C0 80242F80 240200FF */ addiu $v0, $zero, 0xff
|
||||
.L80242F84:
|
||||
/* 1362C4 80242F84 3C018025 */ lui $at, 0x8025
|
||||
/* 1362C4 80242F84 3C018025 */ lui $at, %hi(gPauseMenuCursorTargetOpacity)
|
||||
/* 1362C8 80242F88 03E00008 */ jr $ra
|
||||
/* 1362CC 80242F8C AC22EFB0 */ sw $v0, -0x1050($at)
|
||||
/* 1362CC 80242F8C AC22EFB0 */ sw $v0, %lo(gPauseMenuCursorTargetOpacity)($at)
|
||||
|
@ -15,9 +15,9 @@ glabel pause_interp_text_scroll
|
||||
/* 13677C 8024343C 2A020010 */ slti $v0, $s0, 0x10
|
||||
/* 136780 80243440 10400004 */ beqz $v0, .L80243454
|
||||
/* 136784 80243444 24020008 */ addiu $v0, $zero, 8
|
||||
/* 136788 80243448 3C028025 */ lui $v0, 0x8025
|
||||
/* 136788 80243448 3C028025 */ lui $v0, %hi(gPauseMenuTextScrollInterpEasingLUT)
|
||||
/* 13678C 8024344C 00501021 */ addu $v0, $v0, $s0
|
||||
/* 136790 80243450 9042F0AC */ lbu $v0, -0xf54($v0)
|
||||
/* 136790 80243450 9042F0AC */ lbu $v0, %lo(gPauseMenuTextScrollInterpEasingLUT)($v0)
|
||||
.L80243454:
|
||||
/* 136794 80243454 00430018 */ mult $v0, $v1
|
||||
/* 136798 80243458 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
|
@ -23,9 +23,9 @@ glabel pause_interp_vertical_scroll
|
||||
/* 1367F0 802434B0 08090D32 */ j .L802434C8
|
||||
/* 1367F4 802434B4 00830018 */ mult $a0, $v1
|
||||
.L802434B8:
|
||||
/* 1367F8 802434B8 3C048025 */ lui $a0, 0x8025
|
||||
/* 1367F8 802434B8 3C048025 */ lui $a0, %hi(gPauseMenuPageScrollInterpEasingLUT)
|
||||
/* 1367FC 802434BC 00902021 */ addu $a0, $a0, $s0
|
||||
/* 136800 802434C0 9084F0BC */ lbu $a0, -0xf44($a0)
|
||||
/* 136800 802434C0 9084F0BC */ lbu $a0, %lo(gPauseMenuPageScrollInterpEasingLUT)($a0)
|
||||
.L802434C4:
|
||||
/* 136804 802434C4 00830018 */ mult $a0, $v1
|
||||
.L802434C8:
|
||||
|
@ -2,6 +2,6 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_set_cursor_opacity
|
||||
/* 135EE0 80242BA0 3C018025 */ lui $at, 0x8025
|
||||
/* 135EE0 80242BA0 3C018025 */ lui $at, %hi(gPauseMenuCursorTargetOpacity)
|
||||
/* 135EE4 80242BA4 03E00008 */ jr $ra
|
||||
/* 135EE8 80242BA8 AC24EFB0 */ sw $a0, -0x1050($at)
|
||||
/* 135EE8 80242BA8 AC24EFB0 */ sw $a0, %lo(gPauseMenuCursorTargetOpacity)($at)
|
||||
|
@ -1,24 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_stats_cleanup
|
||||
/* 13A2D4 80246F94 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 13A2D8 80246F98 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 13A2DC 80246F9C 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 13A2E0 80246FA0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13A2E4 80246FA4 3C108027 */ lui $s0, 0x8027
|
||||
/* 13A2E8 80246FA8 26100150 */ addiu $s0, $s0, 0x150
|
||||
/* 13A2EC 80246FAC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L80246FB0:
|
||||
/* 13A2F0 80246FB0 8E040000 */ lw $a0, ($s0)
|
||||
/* 13A2F4 80246FB4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 13A2F8 80246FB8 0C05123D */ jal free_icon
|
||||
/* 13A2FC 80246FBC 26310001 */ addiu $s1, $s1, 1
|
||||
/* 13A300 80246FC0 2A22000C */ slti $v0, $s1, 0xc
|
||||
/* 13A304 80246FC4 1440FFFA */ bnez $v0, .L80246FB0
|
||||
/* 13A308 80246FC8 00000000 */ nop
|
||||
/* 13A30C 80246FCC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 13A310 80246FD0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 13A314 80246FD4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 13A318 80246FD8 03E00008 */ jr $ra
|
||||
/* 13A31C 80246FDC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_tabs_cleanup
|
||||
/* 138C70 80245930 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 138C74 80245934 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 138C78 80245938 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 138C7C 8024593C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 138C80 80245940 3C108027 */ lui $s0, 0x8027
|
||||
/* 138C84 80245944 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138C88 80245948 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L8024594C:
|
||||
/* 138C8C 8024594C 8E040000 */ lw $a0, ($s0)
|
||||
/* 138C90 80245950 26100004 */ addiu $s0, $s0, 4
|
||||
/* 138C94 80245954 0C05123D */ jal free_icon
|
||||
/* 138C98 80245958 26310001 */ addiu $s1, $s1, 1
|
||||
/* 138C9C 8024595C 2A220006 */ slti $v0, $s1, 6
|
||||
/* 138CA0 80245960 1440FFFA */ bnez $v0, .L8024594C
|
||||
/* 138CA4 80245964 00000000 */ nop
|
||||
/* 138CA8 80245968 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 138CAC 8024596C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 138CB0 80245970 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 138CB4 80245974 03E00008 */ jr $ra
|
||||
/* 138CB8 80245978 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 138CBC 8024597C 00000000 */ nop
|
@ -14,8 +14,8 @@ glabel pause_tabs_draw_badges
|
||||
/* 138024 80244CE4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 138028 80244CE8 12200016 */ beqz $s1, .L80244D44
|
||||
/* 13802C 80244CEC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 138030 80244CF0 3C108027 */ lui $s0, 0x8027
|
||||
/* 138034 80244CF4 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138030 80244CF0 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138034 80244CF4 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 138038 80244CF8 8E040004 */ lw $a0, 4($s0)
|
||||
/* 13803C 80244CFC 0C051280 */ jal set_icon_flags
|
||||
/* 138040 80244D00 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -36,8 +36,8 @@ glabel pause_tabs_draw_badges
|
||||
/* 13807C 80244D3C 08091358 */ j .L80244D60
|
||||
/* 138080 80244D40 00000000 */ nop
|
||||
.L80244D44:
|
||||
/* 138084 80244D44 3C108027 */ lui $s0, 0x8027
|
||||
/* 138088 80244D48 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138084 80244D44 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138088 80244D48 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 13808C 80244D4C 8E040004 */ lw $a0, 4($s0)
|
||||
/* 138090 80244D50 0C05128B */ jal clear_icon_flags
|
||||
/* 138094 80244D54 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -47,16 +47,16 @@ glabel pause_tabs_draw_badges
|
||||
/* 1380A0 80244D60 0C0513AC */ jal icon_set_opacity
|
||||
/* 1380A4 80244D64 00000000 */ nop
|
||||
/* 1380A8 80244D68 26450016 */ addiu $a1, $s2, 0x16
|
||||
/* 1380AC 80244D6C 3C108027 */ lui $s0, 0x8027
|
||||
/* 1380B0 80244D70 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1380AC 80244D6C 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1380B0 80244D70 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1380B4 80244D74 8E040004 */ lw $a0, 4($s0)
|
||||
/* 1380B8 80244D78 0C051261 */ jal set_icon_render_pos
|
||||
/* 1380BC 80244D7C 26660007 */ addiu $a2, $s3, 7
|
||||
/* 1380C0 80244D80 8E040004 */ lw $a0, 4($s0)
|
||||
/* 1380C4 80244D84 0C0511F8 */ jal draw_icon_2
|
||||
/* 1380C8 80244D88 00000000 */ nop
|
||||
/* 1380CC 80244D8C 3C028027 */ lui $v0, 0x8027
|
||||
/* 1380D0 80244D90 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 1380CC 80244D8C 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 1380D0 80244D90 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 1380D4 80244D94 1440000C */ bnez $v0, .L80244DC8
|
||||
/* 1380D8 80244D98 00000000 */ nop
|
||||
/* 1380DC 80244D9C 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -14,8 +14,8 @@ glabel pause_tabs_draw_items
|
||||
/* 13814C 80244E0C AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 138150 80244E10 12200016 */ beqz $s1, .L80244E6C
|
||||
/* 138154 80244E14 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 138158 80244E18 3C108027 */ lui $s0, 0x8027
|
||||
/* 13815C 80244E1C 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138158 80244E18 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 13815C 80244E1C 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 138160 80244E20 8E040008 */ lw $a0, 8($s0)
|
||||
/* 138164 80244E24 0C051280 */ jal set_icon_flags
|
||||
/* 138168 80244E28 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -36,8 +36,8 @@ glabel pause_tabs_draw_items
|
||||
/* 1381A4 80244E64 080913A2 */ j .L80244E88
|
||||
/* 1381A8 80244E68 00000000 */ nop
|
||||
.L80244E6C:
|
||||
/* 1381AC 80244E6C 3C108027 */ lui $s0, 0x8027
|
||||
/* 1381B0 80244E70 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1381AC 80244E6C 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1381B0 80244E70 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1381B4 80244E74 8E040008 */ lw $a0, 8($s0)
|
||||
/* 1381B8 80244E78 0C05128B */ jal clear_icon_flags
|
||||
/* 1381BC 80244E7C 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -47,16 +47,16 @@ glabel pause_tabs_draw_items
|
||||
/* 1381C8 80244E88 0C0513AC */ jal icon_set_opacity
|
||||
/* 1381CC 80244E8C 00000000 */ nop
|
||||
/* 1381D0 80244E90 26450016 */ addiu $a1, $s2, 0x16
|
||||
/* 1381D4 80244E94 3C108027 */ lui $s0, 0x8027
|
||||
/* 1381D8 80244E98 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1381D4 80244E94 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1381D8 80244E98 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1381DC 80244E9C 8E040008 */ lw $a0, 8($s0)
|
||||
/* 1381E0 80244EA0 0C051261 */ jal set_icon_render_pos
|
||||
/* 1381E4 80244EA4 26660007 */ addiu $a2, $s3, 7
|
||||
/* 1381E8 80244EA8 8E040008 */ lw $a0, 8($s0)
|
||||
/* 1381EC 80244EAC 0C0511F8 */ jal draw_icon_2
|
||||
/* 1381F0 80244EB0 00000000 */ nop
|
||||
/* 1381F4 80244EB4 3C028027 */ lui $v0, 0x8027
|
||||
/* 1381F8 80244EB8 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 1381F4 80244EB4 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 1381F8 80244EB8 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 1381FC 80244EBC 1440000C */ bnez $v0, .L80244EF0
|
||||
/* 138200 80244EC0 00000000 */ nop
|
||||
/* 138204 80244EC4 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -14,8 +14,8 @@ glabel pause_tabs_draw_map
|
||||
/* 1384C4 80245184 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 1384C8 80245188 12200016 */ beqz $s1, .L802451E4
|
||||
/* 1384CC 8024518C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1384D0 80245190 3C108027 */ lui $s0, 0x8027
|
||||
/* 1384D4 80245194 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1384D0 80245190 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1384D4 80245194 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1384D8 80245198 8E040014 */ lw $a0, 0x14($s0)
|
||||
/* 1384DC 8024519C 0C051280 */ jal set_icon_flags
|
||||
/* 1384E0 802451A0 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -36,8 +36,8 @@ glabel pause_tabs_draw_map
|
||||
/* 13851C 802451DC 08091480 */ j .L80245200
|
||||
/* 138520 802451E0 00000000 */ nop
|
||||
.L802451E4:
|
||||
/* 138524 802451E4 3C108027 */ lui $s0, 0x8027
|
||||
/* 138528 802451E8 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138524 802451E4 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138528 802451E8 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 13852C 802451EC 8E040014 */ lw $a0, 0x14($s0)
|
||||
/* 138530 802451F0 0C05128B */ jal clear_icon_flags
|
||||
/* 138534 802451F4 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -47,16 +47,16 @@ glabel pause_tabs_draw_map
|
||||
/* 138540 80245200 0C0513AC */ jal icon_set_opacity
|
||||
/* 138544 80245204 00000000 */ nop
|
||||
/* 138548 80245208 26450017 */ addiu $a1, $s2, 0x17
|
||||
/* 13854C 8024520C 3C108027 */ lui $s0, 0x8027
|
||||
/* 138550 80245210 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 13854C 8024520C 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138550 80245210 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 138554 80245214 8E040014 */ lw $a0, 0x14($s0)
|
||||
/* 138558 80245218 0C051261 */ jal set_icon_render_pos
|
||||
/* 13855C 8024521C 26660007 */ addiu $a2, $s3, 7
|
||||
/* 138560 80245220 8E040014 */ lw $a0, 0x14($s0)
|
||||
/* 138564 80245224 0C0511F8 */ jal draw_icon_2
|
||||
/* 138568 80245228 00000000 */ nop
|
||||
/* 13856C 8024522C 3C028027 */ lui $v0, 0x8027
|
||||
/* 138570 80245230 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 13856C 8024522C 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 138570 80245230 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 138574 80245234 1440000C */ bnez $v0, .L80245268
|
||||
/* 138578 80245238 00000000 */ nop
|
||||
/* 13857C 8024523C 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -14,8 +14,8 @@ glabel pause_tabs_draw_party
|
||||
/* 138274 80244F34 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 138278 80244F38 12200016 */ beqz $s1, .L80244F94
|
||||
/* 13827C 80244F3C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 138280 80244F40 3C108027 */ lui $s0, 0x8027
|
||||
/* 138284 80244F44 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138280 80244F40 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138284 80244F44 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 138288 80244F48 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 13828C 80244F4C 0C051280 */ jal set_icon_flags
|
||||
/* 138290 80244F50 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -36,8 +36,8 @@ glabel pause_tabs_draw_party
|
||||
/* 1382CC 80244F8C 080913EC */ j .L80244FB0
|
||||
/* 1382D0 80244F90 00000000 */ nop
|
||||
.L80244F94:
|
||||
/* 1382D4 80244F94 3C108027 */ lui $s0, 0x8027
|
||||
/* 1382D8 80244F98 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1382D4 80244F94 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1382D8 80244F98 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1382DC 80244F9C 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 1382E0 80244FA0 0C05128B */ jal clear_icon_flags
|
||||
/* 1382E4 80244FA4 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -47,16 +47,16 @@ glabel pause_tabs_draw_party
|
||||
/* 1382F0 80244FB0 0C0513AC */ jal icon_set_opacity
|
||||
/* 1382F4 80244FB4 00000000 */ nop
|
||||
/* 1382F8 80244FB8 26450016 */ addiu $a1, $s2, 0x16
|
||||
/* 1382FC 80244FBC 3C108027 */ lui $s0, 0x8027
|
||||
/* 138300 80244FC0 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1382FC 80244FBC 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138300 80244FC0 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 138304 80244FC4 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 138308 80244FC8 0C051261 */ jal set_icon_render_pos
|
||||
/* 13830C 80244FCC 26660007 */ addiu $a2, $s3, 7
|
||||
/* 138310 80244FD0 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 138314 80244FD4 0C0511F8 */ jal draw_icon_2
|
||||
/* 138318 80244FD8 00000000 */ nop
|
||||
/* 13831C 80244FDC 3C028027 */ lui $v0, 0x8027
|
||||
/* 138320 80244FE0 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 13831C 80244FDC 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 138320 80244FE0 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 138324 80244FE4 1440000C */ bnez $v0, .L80245018
|
||||
/* 138328 80244FE8 00000000 */ nop
|
||||
/* 13832C 80244FEC 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -14,8 +14,8 @@ glabel pause_tabs_draw_spirits
|
||||
/* 13839C 8024505C AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 1383A0 80245060 12200016 */ beqz $s1, .L802450BC
|
||||
/* 1383A4 80245064 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1383A8 80245068 3C108027 */ lui $s0, 0x8027
|
||||
/* 1383AC 8024506C 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1383A8 80245068 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1383AC 8024506C 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1383B0 80245070 8E040010 */ lw $a0, 0x10($s0)
|
||||
/* 1383B4 80245074 0C051280 */ jal set_icon_flags
|
||||
/* 1383B8 80245078 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -36,8 +36,8 @@ glabel pause_tabs_draw_spirits
|
||||
/* 1383F4 802450B4 08091436 */ j .L802450D8
|
||||
/* 1383F8 802450B8 00000000 */ nop
|
||||
.L802450BC:
|
||||
/* 1383FC 802450BC 3C108027 */ lui $s0, 0x8027
|
||||
/* 138400 802450C0 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 1383FC 802450BC 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138400 802450C0 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 138404 802450C4 8E040010 */ lw $a0, 0x10($s0)
|
||||
/* 138408 802450C8 0C05128B */ jal clear_icon_flags
|
||||
/* 13840C 802450CC 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -47,16 +47,16 @@ glabel pause_tabs_draw_spirits
|
||||
/* 138418 802450D8 0C0513AC */ jal icon_set_opacity
|
||||
/* 13841C 802450DC 00000000 */ nop
|
||||
/* 138420 802450E0 26450016 */ addiu $a1, $s2, 0x16
|
||||
/* 138424 802450E4 3C108027 */ lui $s0, 0x8027
|
||||
/* 138428 802450E8 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 138424 802450E4 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 138428 802450E8 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 13842C 802450EC 8E040010 */ lw $a0, 0x10($s0)
|
||||
/* 138430 802450F0 0C051261 */ jal set_icon_render_pos
|
||||
/* 138434 802450F4 26660007 */ addiu $a2, $s3, 7
|
||||
/* 138438 802450F8 8E040010 */ lw $a0, 0x10($s0)
|
||||
/* 13843C 802450FC 0C0511F8 */ jal draw_icon_2
|
||||
/* 138440 80245100 00000000 */ nop
|
||||
/* 138444 80245104 3C028027 */ lui $v0, 0x8027
|
||||
/* 138448 80245108 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 138444 80245104 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 138448 80245108 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 13844C 8024510C 1440000C */ bnez $v0, .L80245140
|
||||
/* 138450 80245110 00000000 */ nop
|
||||
/* 138454 80245114 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -14,8 +14,8 @@ glabel pause_tabs_draw_stats
|
||||
/* 137EFC 80244BBC AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 137F00 80244BC0 12200016 */ beqz $s1, .L80244C1C
|
||||
/* 137F04 80244BC4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 137F08 80244BC8 3C108027 */ lui $s0, 0x8027
|
||||
/* 137F0C 80244BCC 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 137F08 80244BC8 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 137F0C 80244BCC 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 137F10 80244BD0 8E040000 */ lw $a0, ($s0)
|
||||
/* 137F14 80244BD4 0C051280 */ jal set_icon_flags
|
||||
/* 137F18 80244BD8 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -36,8 +36,8 @@ glabel pause_tabs_draw_stats
|
||||
/* 137F54 80244C14 0809130E */ j .L80244C38
|
||||
/* 137F58 80244C18 00000000 */ nop
|
||||
.L80244C1C:
|
||||
/* 137F5C 80244C1C 3C108027 */ lui $s0, 0x8027
|
||||
/* 137F60 80244C20 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 137F5C 80244C1C 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 137F60 80244C20 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 137F64 80244C24 8E040000 */ lw $a0, ($s0)
|
||||
/* 137F68 80244C28 0C05128B */ jal clear_icon_flags
|
||||
/* 137F6C 80244C2C 24050020 */ addiu $a1, $zero, 0x20
|
||||
@ -47,16 +47,16 @@ glabel pause_tabs_draw_stats
|
||||
/* 137F78 80244C38 0C0513AC */ jal icon_set_opacity
|
||||
/* 137F7C 80244C3C 00000000 */ nop
|
||||
/* 137F80 80244C40 26450016 */ addiu $a1, $s2, 0x16
|
||||
/* 137F84 80244C44 3C108027 */ lui $s0, 0x8027
|
||||
/* 137F88 80244C48 26100130 */ addiu $s0, $s0, 0x130
|
||||
/* 137F84 80244C44 3C108027 */ lui $s0, %hi(gPauseMenuTabIconIDs)
|
||||
/* 137F88 80244C48 26100130 */ addiu $s0, $s0, %lo(gPauseMenuTabIconIDs)
|
||||
/* 137F8C 80244C4C 8E040000 */ lw $a0, ($s0)
|
||||
/* 137F90 80244C50 0C051261 */ jal set_icon_render_pos
|
||||
/* 137F94 80244C54 26660007 */ addiu $a2, $s3, 7
|
||||
/* 137F98 80244C58 8E040000 */ lw $a0, ($s0)
|
||||
/* 137F9C 80244C5C 0C0511F8 */ jal draw_icon_2
|
||||
/* 137FA0 80244C60 00000000 */ nop
|
||||
/* 137FA4 80244C64 3C028027 */ lui $v0, 0x8027
|
||||
/* 137FA8 80244C68 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 137FA4 80244C64 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 137FA8 80244C68 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 137FAC 80244C6C 1440000C */ bnez $v0, .L80244CA0
|
||||
/* 137FB0 80244C70 00000000 */ nop
|
||||
/* 137FB4 80244C74 82830001 */ lb $v1, 1($s4)
|
||||
|
@ -6,8 +6,8 @@ glabel pause_tabs_handle_input
|
||||
/* 138698 80245358 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13869C 8024535C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1386A0 80245360 3C030004 */ lui $v1, 4
|
||||
/* 1386A4 80245364 3C028027 */ lui $v0, 0x8027
|
||||
/* 1386A8 80245368 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 1386A4 80245364 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 1386A8 80245368 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 1386AC 8024536C 34632000 */ ori $v1, $v1, 0x2000
|
||||
/* 1386B0 80245370 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 1386B4 80245374 00431024 */ and $v0, $v0, $v1
|
||||
@ -16,8 +16,8 @@ glabel pause_tabs_handle_input
|
||||
/* 1386C0 80245380 24070005 */ addiu $a3, $zero, 5
|
||||
/* 1386C4 80245384 3C048027 */ lui $a0, 0x8027
|
||||
/* 1386C8 80245388 2484014C */ addiu $a0, $a0, 0x14c
|
||||
/* 1386CC 8024538C 3C068025 */ lui $a2, 0x8025
|
||||
/* 1386D0 80245390 24C6EF80 */ addiu $a2, $a2, -0x1080
|
||||
/* 1386CC 8024538C 3C068025 */ lui $a2, %hi(gPauseMenuTabs)
|
||||
/* 1386D0 80245390 24C6EF80 */ addiu $a2, $a2, %lo(gPauseMenuTabs)
|
||||
/* 1386D4 80245394 3C058025 */ lui $a1, 0x8025
|
||||
/* 1386D8 80245398 24A5F1D0 */ addiu $a1, $a1, -0xe30
|
||||
.L8024539C:
|
||||
@ -45,16 +45,16 @@ glabel pause_tabs_handle_input
|
||||
/* 13872C 802453EC 00000000 */ nop
|
||||
.L802453F0:
|
||||
/* 138730 802453F0 3C030008 */ lui $v1, 8
|
||||
/* 138734 802453F4 3C028027 */ lui $v0, 0x8027
|
||||
/* 138738 802453F8 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 138734 802453F4 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 138738 802453F8 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13873C 802453FC 34630010 */ ori $v1, $v1, 0x10
|
||||
/* 138740 80245400 00431024 */ and $v0, $v0, $v1
|
||||
/* 138744 80245404 1040001D */ beqz $v0, .L8024547C
|
||||
/* 138748 80245408 00000000 */ nop
|
||||
/* 13874C 8024540C 3C038027 */ lui $v1, 0x8027
|
||||
/* 138750 80245410 2463014C */ addiu $v1, $v1, 0x14c
|
||||
/* 138754 80245414 3C058025 */ lui $a1, 0x8025
|
||||
/* 138758 80245418 24A5EF80 */ addiu $a1, $a1, -0x1080
|
||||
/* 138754 80245414 3C058025 */ lui $a1, %hi(gPauseMenuTabs)
|
||||
/* 138758 80245418 24A5EF80 */ addiu $a1, $a1, %lo(gPauseMenuTabs)
|
||||
/* 13875C 8024541C 3C048025 */ lui $a0, 0x8025
|
||||
/* 138760 80245420 2484F1D0 */ addiu $a0, $a0, -0xe30
|
||||
.L80245424:
|
||||
@ -122,8 +122,8 @@ glabel pause_tabs_handle_input
|
||||
/* 138850 80245510 0C05272D */ jal play_sound
|
||||
/* 138854 80245514 AE220000 */ sw $v0, ($s1)
|
||||
.L80245518:
|
||||
/* 138858 80245518 3C028027 */ lui $v0, 0x8027
|
||||
/* 13885C 8024551C 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 138858 80245518 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13885C 8024551C 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 138860 80245520 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 138864 80245524 10400016 */ beqz $v0, .L80245580
|
||||
/* 138868 80245528 00000000 */ nop
|
||||
@ -132,9 +132,9 @@ glabel pause_tabs_handle_input
|
||||
/* 138874 80245534 00220821 */ addu $at, $at, $v0
|
||||
/* 138878 80245538 9022F1D0 */ lbu $v0, -0xe30($at)
|
||||
/* 13887C 8024553C 00021080 */ sll $v0, $v0, 2
|
||||
/* 138880 80245540 3C018025 */ lui $at, 0x8025
|
||||
/* 138880 80245540 3C018025 */ lui $at, %hi(gPauseMenuTabs)
|
||||
/* 138884 80245544 00220821 */ addu $at, $at, $v0
|
||||
/* 138888 80245548 8C22EF80 */ lw $v0, -0x1080($at)
|
||||
/* 138888 80245548 8C22EF80 */ lw $v0, %lo(gPauseMenuTabs)($at)
|
||||
/* 13888C 8024554C 3C118025 */ lui $s1, 0x8025
|
||||
/* 138890 80245550 2631F1D0 */ addiu $s1, $s1, -0xe30
|
||||
/* 138894 80245554 90430000 */ lbu $v1, ($v0)
|
||||
@ -146,8 +146,8 @@ glabel pause_tabs_handle_input
|
||||
/* 1388AC 8024556C 82020001 */ lb $v0, 1($s0)
|
||||
/* 1388B0 80245570 00511021 */ addu $v0, $v0, $s1
|
||||
/* 1388B4 80245574 90420000 */ lbu $v0, ($v0)
|
||||
/* 1388B8 80245578 3C018027 */ lui $at, 0x8027
|
||||
/* 1388BC 8024557C A02200D4 */ sb $v0, 0xd4($at)
|
||||
/* 1388B8 80245578 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 1388BC 8024557C A02200D4 */ sb $v0, %lo(gPauseMenuCurrentTab)($at)
|
||||
.L80245580:
|
||||
/* 1388C0 80245580 82020001 */ lb $v0, 1($s0)
|
||||
/* 1388C4 80245584 00021080 */ sll $v0, $v0, 2
|
||||
@ -158,9 +158,9 @@ glabel pause_tabs_handle_input
|
||||
/* 1388D8 80245598 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1388DC 8024559C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1388E0 802455A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1388E4 802455A4 3C018027 */ lui $at, 0x8027
|
||||
/* 1388E8 802455A8 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 1388EC 802455AC 3C018027 */ lui $at, 0x8027
|
||||
/* 1388F0 802455B0 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 1388E4 802455A4 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 1388E8 802455A8 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 1388EC 802455AC 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 1388F0 802455B0 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 1388F4 802455B4 03E00008 */ jr $ra
|
||||
/* 1388F8 802455B8 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
|
@ -8,8 +8,8 @@ glabel pause_tabs_init
|
||||
/* 1385D4 80245294 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1385D8 80245298 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 1385DC 8024529C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1385E0 802452A0 3C128027 */ lui $s2, 0x8027
|
||||
/* 1385E4 802452A4 26520130 */ addiu $s2, $s2, 0x130
|
||||
/* 1385E0 802452A0 3C128027 */ lui $s2, %hi(gPauseMenuTabIconIDs)
|
||||
/* 1385E4 802452A4 26520130 */ addiu $s2, $s2, %lo(gPauseMenuTabIconIDs)
|
||||
/* 1385E8 802452A8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1385EC 802452AC 3C118025 */ lui $s1, 0x8025
|
||||
/* 1385F0 802452B0 2631F1B0 */ addiu $s1, $s1, -0xe50
|
||||
|
@ -110,12 +110,12 @@ glabel pause_tabs_update
|
||||
/* 138A84 80245744 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80245748:
|
||||
/* 138A88 80245748 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 138A8C 8024574C 3C078025 */ lui $a3, 0x8025
|
||||
/* 138A90 80245750 24E7EF80 */ addiu $a3, $a3, -0x1080
|
||||
/* 138A8C 8024574C 3C078025 */ lui $a3, %hi(gPauseMenuTabs)
|
||||
/* 138A90 80245750 24E7EF80 */ addiu $a3, $a3, %lo(gPauseMenuTabs)
|
||||
/* 138A94 80245754 3C068025 */ lui $a2, 0x8025
|
||||
/* 138A98 80245758 24C6F1D0 */ addiu $a2, $a2, -0xe30
|
||||
/* 138A9C 8024575C 3C058016 */ lui $a1, %hi(D_80159D50)
|
||||
/* 138AA0 80245760 24A59D50 */ addiu $a1, $a1, %lo(D_80159D50)
|
||||
/* 138A9C 8024575C 3C058016 */ lui $a1, %hi(gUIPanels)
|
||||
/* 138AA0 80245760 24A59D50 */ addiu $a1, $a1, %lo(gUIPanels)
|
||||
/* 138AA4 80245764 3C038025 */ lui $v1, 0x8025
|
||||
/* 138AA8 80245768 2463F1E0 */ addiu $v1, $v1, -0xe20
|
||||
/* 138AAC 8024576C 02061021 */ addu $v0, $s0, $a2
|
||||
@ -156,16 +156,16 @@ glabel pause_tabs_update
|
||||
/* 138B28 802457E8 2508F1D0 */ addiu $t0, $t0, -0xe30
|
||||
/* 138B2C 802457EC 02081021 */ addu $v0, $s0, $t0
|
||||
/* 138B30 802457F0 90420000 */ lbu $v0, ($v0)
|
||||
/* 138B34 802457F4 3C088025 */ lui $t0, 0x8025
|
||||
/* 138B38 802457F8 2508EF80 */ addiu $t0, $t0, -0x1080
|
||||
/* 138B34 802457F4 3C088025 */ lui $t0, %hi(gPauseMenuTabs)
|
||||
/* 138B38 802457F8 2508EF80 */ addiu $t0, $t0, %lo(gPauseMenuTabs)
|
||||
/* 138B3C 802457FC 00021080 */ sll $v0, $v0, 2
|
||||
/* 138B40 80245800 00481021 */ addu $v0, $v0, $t0
|
||||
/* 138B44 80245804 8C420000 */ lw $v0, ($v0)
|
||||
/* 138B48 80245808 90420000 */ lbu $v0, ($v0)
|
||||
/* 138B4C 8024580C 50400017 */ beql $v0, $zero, .L8024586C
|
||||
/* 138B50 80245810 26100001 */ addiu $s0, $s0, 1
|
||||
/* 138B54 80245814 3C088016 */ lui $t0, %hi(D_80159D50)
|
||||
/* 138B58 80245818 25089D50 */ addiu $t0, $t0, %lo(D_80159D50)
|
||||
/* 138B54 80245814 3C088016 */ lui $t0, %hi(gUIPanels)
|
||||
/* 138B58 80245818 25089D50 */ addiu $t0, $t0, %lo(gUIPanels)
|
||||
/* 138B5C 8024581C 92220000 */ lbu $v0, ($s1)
|
||||
/* 138B60 80245820 82630001 */ lb $v1, 1($s3)
|
||||
/* 138B64 80245824 00021140 */ sll $v0, $v0, 5
|
||||
|
@ -24,8 +24,8 @@ glabel pause_textbox_draw_contents
|
||||
/* 1368FC 802435BC 1040000B */ beqz $v0, .L802435EC
|
||||
/* 136900 802435C0 02752821 */ addu $a1, $s3, $s5
|
||||
/* 136904 802435C4 24A5FFFC */ addiu $a1, $a1, -4
|
||||
/* 136908 802435C8 3C108027 */ lui $s0, 0x8027
|
||||
/* 13690C 802435CC 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136908 802435C8 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 13690C 802435CC 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 136910 802435D0 8E040004 */ lw $a0, 4($s0)
|
||||
/* 136914 802435D4 0C051261 */ jal set_icon_render_pos
|
||||
/* 136918 802435D8 26860004 */ addiu $a2, $s4, 4
|
||||
@ -40,8 +40,8 @@ glabel pause_textbox_draw_contents
|
||||
/* 136938 802435F8 1040000B */ beqz $v0, .L80243628
|
||||
/* 13693C 802435FC 02752821 */ addu $a1, $s3, $s5
|
||||
/* 136940 80243600 24A5FFFC */ addiu $a1, $a1, -4
|
||||
/* 136944 80243604 3C108027 */ lui $s0, 0x8027
|
||||
/* 136948 80243608 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136944 80243604 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 136948 80243608 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 13694C 8024360C 02963021 */ addu $a2, $s4, $s6
|
||||
/* 136950 80243610 8E040008 */ lw $a0, 8($s0)
|
||||
/* 136954 80243614 0C051261 */ jal set_icon_render_pos
|
||||
@ -134,8 +134,8 @@ glabel pause_textbox_draw_contents
|
||||
/* 136AAC 8024376C 26860010 */ addiu $a2, $s4, 0x10
|
||||
/* 136AB0 80243770 0060102D */ daddu $v0, $v1, $zero
|
||||
/* 136AB4 80243774 AC500000 */ sw $s0, ($v0)
|
||||
/* 136AB8 80243778 3C108027 */ lui $s0, 0x8027
|
||||
/* 136ABC 8024377C 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 136AB8 80243778 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 136ABC 8024377C 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 136AC0 80243780 AC440004 */ sw $a0, 4($v0)
|
||||
/* 136AC4 80243784 8E04000C */ lw $a0, 0xc($s0)
|
||||
/* 136AC8 80243788 24630008 */ addiu $v1, $v1, 8
|
||||
|
@ -460,9 +460,9 @@ glabel pause_tutorial_draw_contents
|
||||
/* 13723C 80243EFC 8C42F090 */ lw $v0, -0xf70($v0)
|
||||
/* 137240 80243F00 8FAE0128 */ lw $t6, 0x128($sp)
|
||||
/* 137244 80243F04 00021080 */ sll $v0, $v0, 2
|
||||
/* 137248 80243F08 3C048027 */ lui $a0, 0x8027
|
||||
/* 137248 80243F08 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 13724C 80243F0C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 137250 80243F10 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 137250 80243F10 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 137254 80243F14 0C051261 */ jal set_icon_render_pos
|
||||
/* 137258 80243F18 25C60034 */ addiu $a2, $t6, 0x34
|
||||
/* 13725C 80243F1C 8EA20000 */ lw $v0, ($s5)
|
||||
@ -471,9 +471,9 @@ glabel pause_tutorial_draw_contents
|
||||
/* 137268 80243F28 00220821 */ addu $at, $at, $v0
|
||||
/* 13726C 80243F2C 8C22F090 */ lw $v0, -0xf70($at)
|
||||
/* 137270 80243F30 00021080 */ sll $v0, $v0, 2
|
||||
/* 137274 80243F34 3C048027 */ lui $a0, 0x8027
|
||||
/* 137274 80243F34 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 137278 80243F38 00822021 */ addu $a0, $a0, $v0
|
||||
/* 13727C 80243F3C 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 13727C 80243F3C 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 137280 80243F40 0C051280 */ jal set_icon_flags
|
||||
/* 137284 80243F44 34058000 */ ori $a1, $zero, 0x8000
|
||||
/* 137288 80243F48 8EA20000 */ lw $v0, ($s5)
|
||||
@ -483,9 +483,9 @@ glabel pause_tutorial_draw_contents
|
||||
/* 137298 80243F58 8C22F090 */ lw $v0, -0xf70($at)
|
||||
/* 13729C 80243F5C 3C053F00 */ lui $a1, 0x3f00
|
||||
/* 1372A0 80243F60 00021080 */ sll $v0, $v0, 2
|
||||
/* 1372A4 80243F64 3C048027 */ lui $a0, 0x8027
|
||||
/* 1372A4 80243F64 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1372A8 80243F68 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1372AC 80243F6C 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 1372AC 80243F6C 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 1372B0 80243F70 0C051308 */ jal func_80144C20
|
||||
/* 1372B4 80243F74 00000000 */ nop
|
||||
/* 1372B8 80243F78 8EA20000 */ lw $v0, ($s5)
|
||||
@ -494,14 +494,14 @@ glabel pause_tutorial_draw_contents
|
||||
/* 1372C4 80243F84 00220821 */ addu $at, $at, $v0
|
||||
/* 1372C8 80243F88 8C22F090 */ lw $v0, -0xf70($at)
|
||||
/* 1372CC 80243F8C 00021080 */ sll $v0, $v0, 2
|
||||
/* 1372D0 80243F90 3C048027 */ lui $a0, 0x8027
|
||||
/* 1372D0 80243F90 3C048027 */ lui $a0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1372D4 80243F94 00822021 */ addu $a0, $a0, $v0
|
||||
/* 1372D8 80243F98 8C8400E8 */ lw $a0, 0xe8($a0)
|
||||
/* 1372D8 80243F98 8C8400E8 */ lw $a0, %lo(gPauseMenuCommonIconIDs)($a0)
|
||||
/* 1372DC 80243F9C 0C0511F8 */ jal draw_icon_2
|
||||
/* 1372E0 80243FA0 00000000 */ nop
|
||||
/* 1372E4 80243FA4 8EA20000 */ lw $v0, ($s5)
|
||||
/* 1372E8 80243FA8 3C108027 */ lui $s0, 0x8027
|
||||
/* 1372EC 80243FAC 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 1372E8 80243FA8 3C108027 */ lui $s0, %hi(gPauseMenuCommonIconIDs)
|
||||
/* 1372EC 80243FAC 261000E8 */ addiu $s0, $s0, %lo(gPauseMenuCommonIconIDs)
|
||||
/* 1372F0 80243FB0 00021080 */ sll $v0, $v0, 2
|
||||
/* 1372F4 80243FB4 3C038025 */ lui $v1, 0x8025
|
||||
/* 1372F8 80243FB8 00621821 */ addu $v1, $v1, $v0
|
||||
|
@ -1,41 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_update_cursor
|
||||
/* 13681C 802434DC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 136820 802434E0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 136824 802434E4 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 136828 802434E8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 13682C 802434EC 00C0902D */ daddu $s2, $a2, $zero
|
||||
/* 136830 802434F0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 136834 802434F4 0C090B9B */ jal pause_interp_cursor
|
||||
/* 136838 802434F8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13683C 802434FC 3C058025 */ lui $a1, 0x8025
|
||||
/* 136840 80243500 8CA5EFA4 */ lw $a1, -0x105c($a1)
|
||||
/* 136844 80243504 18A00012 */ blez $a1, .L80243550
|
||||
/* 136848 80243508 28A20100 */ slti $v0, $a1, 0x100
|
||||
/* 13684C 8024350C 50400001 */ beql $v0, $zero, .L80243514
|
||||
/* 136850 80243510 240500FF */ addiu $a1, $zero, 0xff
|
||||
.L80243514:
|
||||
/* 136854 80243514 3C108027 */ lui $s0, 0x8027
|
||||
/* 136858 80243518 261000E8 */ addiu $s0, $s0, 0xe8
|
||||
/* 13685C 8024351C 0C0513AC */ jal icon_set_opacity
|
||||
/* 136860 80243520 8E040000 */ lw $a0, ($s0)
|
||||
/* 136864 80243524 8E040000 */ lw $a0, ($s0)
|
||||
/* 136868 80243528 3C058025 */ lui $a1, 0x8025
|
||||
/* 13686C 8024352C 8CA5EF9C */ lw $a1, -0x1064($a1)
|
||||
/* 136870 80243530 3C068025 */ lui $a2, 0x8025
|
||||
/* 136874 80243534 8CC6EFA0 */ lw $a2, -0x1060($a2)
|
||||
/* 136878 80243538 02252821 */ addu $a1, $s1, $a1
|
||||
/* 13687C 8024353C 0C051261 */ jal set_icon_render_pos
|
||||
/* 136880 80243540 02463021 */ addu $a2, $s2, $a2
|
||||
/* 136884 80243544 8E040000 */ lw $a0, ($s0)
|
||||
/* 136888 80243548 0C0511F8 */ jal draw_icon_2
|
||||
/* 13688C 8024354C 00000000 */ nop
|
||||
.L80243550:
|
||||
/* 136890 80243550 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 136894 80243554 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 136898 80243558 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 13689C 8024355C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1368A0 80243560 03E00008 */ jr $ra
|
||||
/* 1368A4 80243564 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -6,8 +6,8 @@ glabel pause_badges_cleanup
|
||||
/* 13CA9C 8024975C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 13CAA0 80249760 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 13CAA4 80249764 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13CAA8 80249768 3C108027 */ lui $s0, 0x8027
|
||||
/* 13CAAC 8024976C 261003A8 */ addiu $s0, $s0, 0x3a8
|
||||
/* 13CAA8 80249768 3C108027 */ lui $s0, %hi(D_802703A8)
|
||||
/* 13CAAC 8024976C 261003A8 */ addiu $s0, $s0, %lo(D_802703A8)
|
||||
/* 13CAB0 80249770 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
.L80249774:
|
||||
/* 13CAB4 80249774 8E040000 */ lw $a0, ($s0)
|
@ -4,10 +4,10 @@
|
||||
glabel pause_badges_draw_contents
|
||||
/* 13A848 80247508 27BDFF40 */ addiu $sp, $sp, -0xc0
|
||||
/* 13A84C 8024750C 240A0001 */ addiu $t2, $zero, 1
|
||||
/* 13A850 80247510 3C028027 */ lui $v0, 0x8027
|
||||
/* 13A854 80247514 8C420280 */ lw $v0, 0x280($v0)
|
||||
/* 13A858 80247518 3C038027 */ lui $v1, 0x8027
|
||||
/* 13A85C 8024751C 24630288 */ addiu $v1, $v1, 0x288
|
||||
/* 13A850 80247510 3C028027 */ lui $v0, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13A854 80247514 8C420280 */ lw $v0, %lo(gBadgeMenuCurrentPage)($v0)
|
||||
/* 13A858 80247518 3C038027 */ lui $v1, %hi(gBadgeMenuPages)
|
||||
/* 13A85C 8024751C 24630288 */ addiu $v1, $v1, %lo(gBadgeMenuPages)
|
||||
/* 13A860 80247520 AFBF00BC */ sw $ra, 0xbc($sp)
|
||||
/* 13A864 80247524 AFBE00B8 */ sw $fp, 0xb8($sp)
|
||||
/* 13A868 80247528 AFB700B4 */ sw $s7, 0xb4($sp)
|
||||
@ -42,8 +42,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13A8DC 8024759C AFA30044 */ sw $v1, 0x44($sp)
|
||||
/* 13A8E0 802475A0 240300F0 */ addiu $v1, $zero, 0xf0
|
||||
/* 13A8E4 802475A4 AFA30048 */ sw $v1, 0x48($sp)
|
||||
/* 13A8E8 802475A8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13A8EC 802475AC 8C630378 */ lw $v1, 0x378($v1)
|
||||
/* 13A8E8 802475A8 3C038027 */ lui $v1, %hi(gBadgeMenuSelectedIndex)
|
||||
/* 13A8EC 802475AC 8C630378 */ lw $v1, %lo(gBadgeMenuSelectedIndex)($v1)
|
||||
/* 13A8F0 802475B0 AFAB0018 */ sw $t3, 0x18($sp)
|
||||
/* 13A8F4 802475B4 15200002 */ bnez $t1, .L802475C0
|
||||
/* 13A8F8 802475B8 0069001A */ div $zero, $v1, $t1
|
||||
@ -80,8 +80,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13A96C 8024762C AFAA0060 */ sw $t2, 0x60($sp)
|
||||
/* 13A970 80247630 0C03D4B8 */ jal draw_box
|
||||
/* 13A974 80247634 AFAB005C */ sw $t3, 0x5c($sp)
|
||||
/* 13A978 80247638 3C108027 */ lui $s0, 0x8027
|
||||
/* 13A97C 8024763C 261003A8 */ addiu $s0, $s0, 0x3a8
|
||||
/* 13A978 80247638 3C108027 */ lui $s0, %hi(D_802703A8)
|
||||
/* 13A97C 8024763C 261003A8 */ addiu $s0, $s0, %lo(D_802703A8)
|
||||
/* 13A980 80247640 8FAA00C4 */ lw $t2, 0xc4($sp)
|
||||
/* 13A984 80247644 8E040050 */ lw $a0, 0x50($s0)
|
||||
/* 13A988 80247648 8FAB00C8 */ lw $t3, 0xc8($sp)
|
||||
@ -187,8 +187,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13AB04 802477C4 AFA00050 */ sw $zero, 0x50($sp)
|
||||
.L802477C8:
|
||||
/* 13AB08 802477C8 8FAB0050 */ lw $t3, 0x50($sp)
|
||||
/* 13AB0C 802477CC 3C028027 */ lui $v0, 0x8027
|
||||
/* 13AB10 802477D0 24420288 */ addiu $v0, $v0, 0x288
|
||||
/* 13AB0C 802477CC 3C028027 */ lui $v0, %hi(gBadgeMenuPages)
|
||||
/* 13AB10 802477D0 24420288 */ addiu $v0, $v0, %lo(gBadgeMenuPages)
|
||||
/* 13AB14 802477D4 000B1840 */ sll $v1, $t3, 1
|
||||
/* 13AB18 802477D8 006B1821 */ addu $v1, $v1, $t3
|
||||
/* 13AB1C 802477DC 00031880 */ sll $v1, $v1, 2
|
||||
@ -219,12 +219,12 @@ glabel pause_badges_draw_contents
|
||||
/* 13AB7C 8024783C AFA0008C */ sw $zero, 0x8c($sp)
|
||||
/* 13AB80 80247840 005E1021 */ addu $v0, $v0, $fp
|
||||
/* 13AB84 80247844 00021040 */ sll $v0, $v0, 1
|
||||
/* 13AB88 80247848 3C118027 */ lui $s1, 0x8027
|
||||
/* 13AB88 80247848 3C118027 */ lui $s1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13AB8C 8024784C 02228821 */ addu $s1, $s1, $v0
|
||||
/* 13AB90 80247850 86310180 */ lh $s1, 0x180($s1)
|
||||
/* 13AB94 80247854 3C138027 */ lui $s3, 0x8027
|
||||
/* 13AB90 80247850 86310180 */ lh $s1, %lo(gBadgeMenuItemIDs)($s1)
|
||||
/* 13AB94 80247854 3C138027 */ lui $s3, %hi(gBadgeMenuItemIDs)
|
||||
/* 13AB98 80247858 02629821 */ addu $s3, $s3, $v0
|
||||
/* 13AB9C 8024785C 96730180 */ lhu $s3, 0x180($s3)
|
||||
/* 13AB9C 8024785C 96730180 */ lhu $s3, %lo(gBadgeMenuItemIDs)($s3)
|
||||
/* 13ABA0 80247860 12230239 */ beq $s1, $v1, .L80248148
|
||||
/* 13ABA4 80247864 0000A82D */ daddu $s5, $zero, $zero
|
||||
/* 13ABA8 80247868 8FA40050 */ lw $a0, 0x50($sp)
|
||||
@ -248,13 +248,13 @@ glabel pause_badges_draw_contents
|
||||
/* 13ABEC 802478AC 1440FFFB */ bnez $v0, .L8024789C
|
||||
/* 13ABF0 802478B0 26520002 */ addiu $s2, $s2, 2
|
||||
.L802478B4:
|
||||
/* 13ABF4 802478B4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13ABF8 802478B8 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13ABF4 802478B4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13ABF8 802478B8 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13ABFC 802478BC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 13AC00 802478C0 14620029 */ bne $v1, $v0, .L80247968
|
||||
/* 13AC04 802478C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13AC08 802478C8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13AC0C 802478CC 8C630398 */ lw $v1, 0x398($v1)
|
||||
/* 13AC08 802478C8 3C038027 */ lui $v1, %hi(gBadgeMenuLevel)
|
||||
/* 13AC0C 802478CC 8C630398 */ lw $v1, %lo(gBadgeMenuLevel)($v1)
|
||||
/* 13AC10 802478D0 14620025 */ bne $v1, $v0, .L80247968
|
||||
/* 13AC14 802478D4 00000000 */ nop
|
||||
/* 13AC18 802478D8 8FA40050 */ lw $a0, 0x50($sp)
|
||||
@ -486,8 +486,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13AF70 80247C30 3C052000 */ lui $a1, 0x2000
|
||||
/* 13AF74 80247C34 8FAA0058 */ lw $t2, 0x58($sp)
|
||||
/* 13AF78 80247C38 000A1080 */ sll $v0, $t2, 2
|
||||
/* 13AF7C 80247C3C 3C0B8027 */ lui $t3, 0x8027
|
||||
/* 13AF80 80247C40 256B03A8 */ addiu $t3, $t3, 0x3a8
|
||||
/* 13AF7C 80247C3C 3C0B8027 */ lui $t3, %hi(D_802703A8)
|
||||
/* 13AF80 80247C40 256B03A8 */ addiu $t3, $t3, %lo(D_802703A8)
|
||||
/* 13AF84 80247C44 004B1021 */ addu $v0, $v0, $t3
|
||||
/* 13AF88 80247C48 8C510000 */ lw $s1, ($v0)
|
||||
/* 13AF8C 80247C4C 0C05128B */ jal clear_icon_flags
|
||||
@ -518,8 +518,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13AFEC 80247CAC 000210C0 */ sll $v0, $v0, 3
|
||||
/* 13AFF0 80247CB0 004A1021 */ addu $v0, $v0, $t2
|
||||
/* 13AFF4 80247CB4 8C420000 */ lw $v0, ($v0)
|
||||
/* 13AFF8 80247CB8 3C018027 */ lui $at, 0x8027
|
||||
/* 13AFFC 80247CBC AC2200CC */ sw $v0, 0xcc($at)
|
||||
/* 13AFF8 80247CB8 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13AFFC 80247CBC AC2200CC */ sw $v0, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L80247CC0:
|
||||
/* 13B000 80247CC0 8FAB0084 */ lw $t3, 0x84($sp)
|
||||
/* 13B004 80247CC4 1560000F */ bnez $t3, .L80247D04
|
||||
@ -935,23 +935,23 @@ glabel pause_badges_draw_contents
|
||||
/* 13B608 802482C8 00000000 */ nop
|
||||
/* 13B60C 802482CC 30630FFF */ andi $v1, $v1, 0xfff
|
||||
/* 13B610 802482D0 00431025 */ or $v0, $v0, $v1
|
||||
/* 13B614 802482D4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13B618 802482D8 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13B614 802482D4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13B618 802482D8 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13B61C 802482DC ACA20004 */ sw $v0, 4($a1)
|
||||
/* 13B620 802482E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 13B624 802482E4 1462002A */ bne $v1, $v0, .L80248390
|
||||
/* 13B628 802482E8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13B62C 802482EC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13B630 802482F0 8C630398 */ lw $v1, 0x398($v1)
|
||||
/* 13B62C 802482EC 3C038027 */ lui $v1, %hi(gBadgeMenuLevel)
|
||||
/* 13B630 802482F0 8C630398 */ lw $v1, %lo(gBadgeMenuLevel)($v1)
|
||||
/* 13B634 802482F4 14620026 */ bne $v1, $v0, .L80248390
|
||||
/* 13B638 802482F8 00000000 */ nop
|
||||
/* 13B63C 802482FC 3C118027 */ lui $s1, 0x8027
|
||||
/* 13B640 80248300 26310280 */ addiu $s1, $s1, 0x280
|
||||
/* 13B63C 802482FC 3C118027 */ lui $s1, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13B640 80248300 26310280 */ addiu $s1, $s1, %lo(gBadgeMenuCurrentPage)
|
||||
/* 13B644 80248304 8E220000 */ lw $v0, ($s1)
|
||||
/* 13B648 80248308 1840000E */ blez $v0, .L80248344
|
||||
/* 13B64C 8024830C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 13B650 80248310 3C108027 */ lui $s0, 0x8027
|
||||
/* 13B654 80248314 261003A8 */ addiu $s0, $s0, 0x3a8
|
||||
/* 13B650 80248310 3C108027 */ lui $s0, %hi(D_802703A8)
|
||||
/* 13B654 80248314 261003A8 */ addiu $s0, $s0, %lo(D_802703A8)
|
||||
/* 13B658 80248318 8FAB00C4 */ lw $t3, 0xc4($sp)
|
||||
/* 13B65C 8024831C 8E040044 */ lw $a0, 0x44($s0)
|
||||
/* 13B660 80248320 8FAA00C8 */ lw $t2, 0xc8($sp)
|
||||
@ -967,13 +967,13 @@ glabel pause_badges_draw_contents
|
||||
/* 13B684 80248344 00021840 */ sll $v1, $v0, 1
|
||||
/* 13B688 80248348 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13B68C 8024834C 00031880 */ sll $v1, $v1, 2
|
||||
/* 13B690 80248350 3C028027 */ lui $v0, 0x8027
|
||||
/* 13B690 80248350 3C028027 */ lui $v0, %hi(gBadgeMenuPages)
|
||||
/* 13B694 80248354 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13B698 80248358 90420288 */ lbu $v0, 0x288($v0)
|
||||
/* 13B698 80248358 90420288 */ lbu $v0, %lo(gBadgeMenuPages)($v0)
|
||||
/* 13B69C 8024835C 1040000C */ beqz $v0, .L80248390
|
||||
/* 13B6A0 80248360 00000000 */ nop
|
||||
/* 13B6A4 80248364 3C108027 */ lui $s0, 0x8027
|
||||
/* 13B6A8 80248368 261003A8 */ addiu $s0, $s0, 0x3a8
|
||||
/* 13B6A4 80248364 3C108027 */ lui $s0, %hi(D_802703A8)
|
||||
/* 13B6A8 80248368 261003A8 */ addiu $s0, $s0, %lo(D_802703A8)
|
||||
/* 13B6AC 8024836C 8FAB00C4 */ lw $t3, 0xc4($sp)
|
||||
/* 13B6B0 80248370 8E040048 */ lw $a0, 0x48($s0)
|
||||
/* 13B6B4 80248374 8FAA00C8 */ lw $t2, 0xc8($sp)
|
||||
@ -984,8 +984,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13B6C8 80248388 0C0511F8 */ jal draw_icon_2
|
||||
/* 13B6CC 8024838C 00000000 */ nop
|
||||
.L80248390:
|
||||
/* 13B6D0 80248390 3C108027 */ lui $s0, 0x8027
|
||||
/* 13B6D4 80248394 261003A8 */ addiu $s0, $s0, 0x3a8
|
||||
/* 13B6D0 80248390 3C108027 */ lui $s0, %hi(D_802703A8)
|
||||
/* 13B6D4 80248394 261003A8 */ addiu $s0, $s0, %lo(D_802703A8)
|
||||
/* 13B6D8 80248398 8FAB00C4 */ lw $t3, 0xc4($sp)
|
||||
/* 13B6DC 8024839C 8E040040 */ lw $a0, 0x40($s0)
|
||||
/* 13B6E0 802483A0 8FAA00C8 */ lw $t2, 0xc8($sp)
|
||||
@ -1322,8 +1322,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13BBE8 802488A8 3C02E700 */ lui $v0, 0xe700
|
||||
/* 13BBEC 802488AC AC820000 */ sw $v0, ($a0)
|
||||
/* 13BBF0 802488B0 AC800004 */ sw $zero, 4($a0)
|
||||
/* 13BBF4 802488B4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13BBF8 802488B8 8C63039C */ lw $v1, 0x39c($v1)
|
||||
/* 13BBF4 802488B4 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13BBF8 802488B8 8C63039C */ lw $v1, %lo(gBadgeMenuCurrentTab)($v1)
|
||||
/* 13BBFC 802488BC 8FA600C4 */ lw $a2, 0xc4($sp)
|
||||
/* 13BC00 802488C0 50600001 */ beql $v1, $zero, .L802488C8
|
||||
/* 13BC04 802488C4 24C60009 */ addiu $a2, $a2, 9
|
||||
@ -1364,8 +1364,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13BC84 80248944 AFA0004C */ sw $zero, 0x4c($sp)
|
||||
/* 13BC88 80248948 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13BC8C 8024894C 24040047 */ addiu $a0, $zero, 0x47
|
||||
/* 13BC90 80248950 3C118027 */ lui $s1, 0x8027
|
||||
/* 13BC94 80248954 2631039C */ addiu $s1, $s1, 0x39c
|
||||
/* 13BC90 80248950 3C118027 */ lui $s1, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13BC94 80248954 2631039C */ addiu $s1, $s1, %lo(gBadgeMenuCurrentTab)
|
||||
/* 13BC98 80248958 8FAB00C4 */ lw $t3, 0xc4($sp)
|
||||
/* 13BC9C 8024895C 8E230000 */ lw $v1, ($s1)
|
||||
/* 13BCA0 80248960 14600002 */ bnez $v1, .L8024896C
|
||||
@ -1423,8 +1423,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13BD5C 80248A1C AFA0004C */ sw $zero, 0x4c($sp)
|
||||
/* 13BD60 80248A20 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13BD64 80248A24 24040048 */ addiu $a0, $zero, 0x48
|
||||
/* 13BD68 80248A28 3C118027 */ lui $s1, 0x8027
|
||||
/* 13BD6C 80248A2C 2631039C */ addiu $s1, $s1, 0x39c
|
||||
/* 13BD68 80248A28 3C118027 */ lui $s1, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13BD6C 80248A2C 2631039C */ addiu $s1, $s1, %lo(gBadgeMenuCurrentTab)
|
||||
/* 13BD70 80248A30 24100001 */ addiu $s0, $zero, 1
|
||||
/* 13BD74 80248A34 8FAA00C4 */ lw $t2, 0xc4($sp)
|
||||
/* 13BD78 80248A38 8E230000 */ lw $v1, ($s1)
|
||||
@ -1460,13 +1460,13 @@ glabel pause_badges_draw_contents
|
||||
/* 13BDE0 80248AA0 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 13BDE4 80248AA4 0C04993B */ jal draw_string
|
||||
/* 13BDE8 80248AA8 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 13BDEC 80248AAC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13BDF0 80248AB0 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13BDEC 80248AAC 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13BDF0 80248AB0 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13BDF4 80248AB4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 13BDF8 80248AB8 14620050 */ bne $v1, $v0, .L80248BFC
|
||||
/* 13BDFC 80248ABC 00000000 */ nop
|
||||
/* 13BE00 80248AC0 3C028027 */ lui $v0, 0x8027
|
||||
/* 13BE04 80248AC4 8C420398 */ lw $v0, 0x398($v0)
|
||||
/* 13BE00 80248AC0 3C028027 */ lui $v0, %hi(gBadgeMenuLevel)
|
||||
/* 13BE04 80248AC4 8C420398 */ lw $v0, %lo(gBadgeMenuLevel)($v0)
|
||||
/* 13BE08 80248AC8 14400009 */ bnez $v0, .L80248AF0
|
||||
/* 13BE0C 80248ACC 24040020 */ addiu $a0, $zero, 0x20
|
||||
/* 13BE10 80248AD0 8E260000 */ lw $a2, ($s1)
|
||||
@ -1478,11 +1478,11 @@ glabel pause_badges_draw_contents
|
||||
/* 13BE28 80248AE8 080922FD */ j .L80248BF4
|
||||
/* 13BE2C 80248AEC 01663021 */ addu $a2, $t3, $a2
|
||||
.L80248AF0:
|
||||
/* 13BE30 80248AF0 3C118027 */ lui $s1, 0x8027
|
||||
/* 13BE34 80248AF4 26310280 */ addiu $s1, $s1, 0x280
|
||||
/* 13BE30 80248AF0 3C118027 */ lui $s1, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13BE34 80248AF4 26310280 */ addiu $s1, $s1, %lo(gBadgeMenuCurrentPage)
|
||||
/* 13BE38 80248AF8 8E240000 */ lw $a0, ($s1)
|
||||
/* 13BE3C 80248AFC 3C128027 */ lui $s2, 0x8027
|
||||
/* 13BE40 80248B00 26520288 */ addiu $s2, $s2, 0x288
|
||||
/* 13BE3C 80248AFC 3C128027 */ lui $s2, %hi(gBadgeMenuPages)
|
||||
/* 13BE40 80248B00 26520288 */ addiu $s2, $s2, %lo(gBadgeMenuPages)
|
||||
/* 13BE44 80248B04 00041040 */ sll $v0, $a0, 1
|
||||
/* 13BE48 80248B08 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13BE4C 80248B0C 00021080 */ sll $v0, $v0, 2
|
||||
@ -1490,8 +1490,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13BE54 80248B14 90430001 */ lbu $v1, 1($v0)
|
||||
/* 13BE58 80248B18 90420002 */ lbu $v0, 2($v0)
|
||||
/* 13BE5C 80248B1C 00620018 */ mult $v1, $v0
|
||||
/* 13BE60 80248B20 3C108027 */ lui $s0, 0x8027
|
||||
/* 13BE64 80248B24 26100378 */ addiu $s0, $s0, 0x378
|
||||
/* 13BE60 80248B20 3C108027 */ lui $s0, %hi(gBadgeMenuSelectedIndex)
|
||||
/* 13BE64 80248B24 26100378 */ addiu $s0, $s0, %lo(gBadgeMenuSelectedIndex)
|
||||
/* 13BE68 80248B28 8E050000 */ lw $a1, ($s0)
|
||||
/* 13BE6C 80248B2C 00005012 */ mflo $t2
|
||||
/* 13BE70 80248B30 0C091C43 */ jal pause_badges_get_pos_x
|
||||
@ -1524,10 +1524,10 @@ glabel pause_badges_draw_contents
|
||||
/* 13BED8 80248B98 50400001 */ beql $v0, $zero, .L80248BA0
|
||||
/* 13BEDC 80248B9C 24060070 */ addiu $a2, $zero, 0x70
|
||||
.L80248BA0:
|
||||
/* 13BEE0 80248BA0 3C038027 */ lui $v1, 0x8027
|
||||
/* 13BEE4 80248BA4 8C63038C */ lw $v1, 0x38c($v1)
|
||||
/* 13BEE8 80248BA8 3C028027 */ lui $v0, 0x8027
|
||||
/* 13BEEC 80248BAC 8C420390 */ lw $v0, 0x390($v0)
|
||||
/* 13BEE0 80248BA0 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentScrollPos)
|
||||
/* 13BEE4 80248BA4 8C63038C */ lw $v1, %lo(gBadgeMenuCurrentScrollPos)($v1)
|
||||
/* 13BEE8 80248BA8 3C028027 */ lui $v0, %hi(gBadgeMenuTargetScrollPos)
|
||||
/* 13BEEC 80248BAC 8C420390 */ lw $v0, %lo(gBadgeMenuTargetScrollPos)($v0)
|
||||
/* 13BEF0 80248BB0 1062000A */ beq $v1, $v0, .L80248BDC
|
||||
/* 13BEF4 80248BB4 24040020 */ addiu $a0, $zero, 0x20
|
||||
/* 13BEF8 80248BB8 2605005D */ addiu $a1, $s0, 0x5d
|
||||
@ -1550,8 +1550,8 @@ glabel pause_badges_draw_contents
|
||||
/* 13BF34 80248BF4 0C090B41 */ jal func_80242D04
|
||||
/* 13BF38 80248BF8 00000000 */ nop
|
||||
.L80248BFC:
|
||||
/* 13BF3C 80248BFC 3C108027 */ lui $s0, 0x8027
|
||||
/* 13BF40 80248C00 261003A0 */ addiu $s0, $s0, 0x3a0
|
||||
/* 13BF3C 80248BFC 3C108027 */ lui $s0, %hi(gBadgeMenuBShowNotEnoughBP)
|
||||
/* 13BF40 80248C00 261003A0 */ addiu $s0, $s0, %lo(gBadgeMenuBShowNotEnoughBP)
|
||||
/* 13BF44 80248C04 8E020000 */ lw $v0, ($s0)
|
||||
/* 13BF48 80248C08 10400054 */ beqz $v0, .L80248D5C
|
||||
/* 13BF4C 80248C0C 00000000 */ nop
|
@ -2,10 +2,10 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_badges_handle_input
|
||||
/* 13C3E8 802490A8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C3EC 802490AC 8C630280 */ lw $v1, 0x280($v1)
|
||||
/* 13C3F0 802490B0 3C098027 */ lui $t1, 0x8027
|
||||
/* 13C3F4 802490B4 8D290378 */ lw $t1, 0x378($t1)
|
||||
/* 13C3E8 802490A8 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C3EC 802490AC 8C630280 */ lw $v1, %lo(gBadgeMenuCurrentPage)($v1)
|
||||
/* 13C3F0 802490B0 3C098027 */ lui $t1, %hi(gBadgeMenuSelectedIndex)
|
||||
/* 13C3F4 802490B4 8D290378 */ lw $t1, %lo(gBadgeMenuSelectedIndex)($t1)
|
||||
/* 13C3F8 802490B8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 13C3FC 802490BC AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 13C400 802490C0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
@ -17,8 +17,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C418 802490D8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C41C 802490DC 00220821 */ addu $at, $at, $v0
|
||||
/* 13C420 802490E0 9022028A */ lbu $v0, 0x28a($at)
|
||||
/* 13C424 802490E4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C428 802490E8 8C6300C4 */ lw $v1, 0xc4($v1)
|
||||
/* 13C424 802490E4 3C038027 */ lui $v1, %hi(gPauseMenuPressedButtons)
|
||||
/* 13C428 802490E8 8C6300C4 */ lw $v1, %lo(gPauseMenuPressedButtons)($v1)
|
||||
/* 13C42C 802490EC 14400002 */ bnez $v0, .L802490F8
|
||||
/* 13C430 802490F0 0122001A */ div $zero, $t1, $v0
|
||||
/* 13C434 802490F4 0007000D */ break 7
|
||||
@ -35,22 +35,22 @@ glabel pause_badges_handle_input
|
||||
/* 13C458 80249118 30628000 */ andi $v0, $v1, 0x8000
|
||||
/* 13C45C 8024911C 1040003F */ beqz $v0, .L8024921C
|
||||
/* 13C460 80249120 00000000 */ nop
|
||||
/* 13C464 80249124 3C128027 */ lui $s2, 0x8027
|
||||
/* 13C468 80249128 265203A0 */ addiu $s2, $s2, 0x3a0
|
||||
/* 13C464 80249124 3C128027 */ lui $s2, %hi(gBadgeMenuBShowNotEnoughBP)
|
||||
/* 13C468 80249128 265203A0 */ addiu $s2, $s2, %lo(gBadgeMenuBShowNotEnoughBP)
|
||||
/* 13C46C 8024912C 8E420000 */ lw $v0, ($s2)
|
||||
/* 13C470 80249130 10400003 */ beqz $v0, .L80249140
|
||||
/* 13C474 80249134 00000000 */ nop
|
||||
/* 13C478 80249138 08092581 */ j .L80249604
|
||||
/* 13C47C 8024913C AE400000 */ sw $zero, ($s2)
|
||||
.L80249140:
|
||||
/* 13C480 80249140 3C048027 */ lui $a0, 0x8027
|
||||
/* 13C484 80249144 24840398 */ addiu $a0, $a0, 0x398
|
||||
/* 13C480 80249140 3C048027 */ lui $a0, %hi(gBadgeMenuLevel)
|
||||
/* 13C484 80249144 24840398 */ addiu $a0, $a0, %lo(gBadgeMenuLevel)
|
||||
/* 13C488 80249148 8C820000 */ lw $v0, ($a0)
|
||||
/* 13C48C 8024914C 14400010 */ bnez $v0, .L80249190
|
||||
/* 13C490 80249150 00091040 */ sll $v0, $t1, 1
|
||||
/* 13C494 80249154 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C494 80249154 3C038027 */ lui $v1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C498 80249158 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13C49C 8024915C 84630180 */ lh $v1, 0x180($v1)
|
||||
/* 13C49C 8024915C 84630180 */ lh $v1, %lo(gBadgeMenuItemIDs)($v1)
|
||||
/* 13C4A0 80249160 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13C4A4 80249164 14620005 */ bne $v1, $v0, .L8024917C
|
||||
/* 13C4A8 80249168 24020001 */ addiu $v0, $zero, 1
|
||||
@ -65,9 +65,9 @@ glabel pause_badges_handle_input
|
||||
/* 13C4C8 80249188 08092581 */ j .L80249604
|
||||
/* 13C4CC 8024918C 00000000 */ nop
|
||||
.L80249190:
|
||||
/* 13C4D0 80249190 3C118027 */ lui $s1, 0x8027
|
||||
/* 13C4D0 80249190 3C118027 */ lui $s1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C4D4 80249194 02228821 */ addu $s1, $s1, $v0
|
||||
/* 13C4D8 80249198 86310180 */ lh $s1, 0x180($s1)
|
||||
/* 13C4D8 80249198 86310180 */ lh $s1, %lo(gBadgeMenuItemIDs)($s1)
|
||||
/* 13C4DC 8024919C 0C091CCE */ jal pause_badges_try_equip
|
||||
/* 13C4E0 802491A0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 13C4E4 802491A4 0040802D */ daddu $s0, $v0, $zero
|
||||
@ -107,26 +107,26 @@ glabel pause_badges_handle_input
|
||||
.L8024921C:
|
||||
/* 13C55C 8024921C 14600005 */ bnez $v1, .L80249234
|
||||
/* 13C560 80249220 00000000 */ nop
|
||||
/* 13C564 80249224 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C568 80249228 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13C564 80249224 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C568 80249228 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13C56C 8024922C 10400003 */ beqz $v0, .L8024923C
|
||||
/* 13C570 80249230 00000000 */ nop
|
||||
.L80249234:
|
||||
/* 13C574 80249234 3C018027 */ lui $at, 0x8027
|
||||
/* 13C578 80249238 AC2003A0 */ sw $zero, 0x3a0($at)
|
||||
/* 13C574 80249234 3C018027 */ lui $at, %hi(gBadgeMenuBShowNotEnoughBP)
|
||||
/* 13C578 80249238 AC2003A0 */ sw $zero, %lo(gBadgeMenuBShowNotEnoughBP)($at)
|
||||
.L8024923C:
|
||||
/* 13C57C 8024923C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C580 80249240 84420384 */ lh $v0, 0x384($v0)
|
||||
/* 13C57C 8024923C 3C028027 */ lui $v0, %hi(gBadgeMenuNumItems)
|
||||
/* 13C580 80249240 84420384 */ lh $v0, %lo(gBadgeMenuNumItems)($v0)
|
||||
/* 13C584 80249244 104000B1 */ beqz $v0, .L8024950C
|
||||
/* 13C588 80249248 00000000 */ nop
|
||||
/* 13C58C 8024924C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C590 80249250 8C420398 */ lw $v0, 0x398($v0)
|
||||
/* 13C58C 8024924C 3C028027 */ lui $v0, %hi(gBadgeMenuLevel)
|
||||
/* 13C590 80249250 8C420398 */ lw $v0, %lo(gBadgeMenuLevel)($v0)
|
||||
/* 13C594 80249254 14400015 */ bnez $v0, .L802492AC
|
||||
/* 13C598 80249258 3C020001 */ lui $v0, 1
|
||||
/* 13C59C 8024925C 3C108027 */ lui $s0, 0x8027
|
||||
/* 13C5A0 80249260 2610039C */ addiu $s0, $s0, 0x39c
|
||||
/* 13C5A4 80249264 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C5A8 80249268 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13C59C 8024925C 3C108027 */ lui $s0, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13C5A0 80249260 2610039C */ addiu $s0, $s0, %lo(gBadgeMenuCurrentTab)
|
||||
/* 13C5A4 80249264 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C5A8 80249268 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13C5AC 8024926C 3C030003 */ lui $v1, 3
|
||||
/* 13C5B0 80249270 00431024 */ and $v0, $v0, $v1
|
||||
/* 13C5B4 80249274 8E030000 */ lw $v1, ($s0)
|
||||
@ -145,8 +145,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C5E4 802492A4 08092543 */ j .L8024950C
|
||||
/* 13C5E8 802492A8 00000000 */ nop
|
||||
.L802492AC:
|
||||
/* 13C5EC 802492AC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C5F0 802492B0 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13C5EC 802492AC 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C5F0 802492B0 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13C5F4 802492B4 34422000 */ ori $v0, $v0, 0x2000
|
||||
/* 13C5F8 802492B8 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C5FC 802492BC 10400022 */ beqz $v0, .L80249348
|
||||
@ -157,8 +157,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C610 802492D0 04A20001 */ bltzl $a1, .L802492D8
|
||||
/* 13C614 802492D4 0000282D */ daddu $a1, $zero, $zero
|
||||
.L802492D8:
|
||||
/* 13C618 802492D8 3C048027 */ lui $a0, 0x8027
|
||||
/* 13C61C 802492DC 24840280 */ addiu $a0, $a0, 0x280
|
||||
/* 13C618 802492D8 3C048027 */ lui $a0, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C61C 802492DC 24840280 */ addiu $a0, $a0, %lo(gBadgeMenuCurrentPage)
|
||||
/* 13C620 802492E0 8C830000 */ lw $v1, ($a0)
|
||||
/* 13C624 802492E4 00031040 */ sll $v0, $v1, 1
|
||||
/* 13C628 802492E8 00431021 */ addu $v0, $v0, $v1
|
||||
@ -172,8 +172,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C648 80249308 080924D2 */ j .L80249348
|
||||
/* 13C64C 8024930C AC820000 */ sw $v0, ($a0)
|
||||
.L80249310:
|
||||
/* 13C650 80249310 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C654 80249314 24630280 */ addiu $v1, $v1, 0x280
|
||||
/* 13C650 80249310 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C654 80249314 24630280 */ addiu $v1, $v1, %lo(gBadgeMenuCurrentPage)
|
||||
/* 13C658 80249318 8C620000 */ lw $v0, ($v1)
|
||||
/* 13C65C 8024931C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 13C660 80249320 04410002 */ bgez $v0, .L8024932C
|
||||
@ -189,8 +189,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C684 80249344 90A50289 */ lbu $a1, 0x289($a1)
|
||||
.L80249348:
|
||||
/* 13C688 80249348 3C020002 */ lui $v0, 2
|
||||
/* 13C68C 8024934C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C690 80249350 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13C68C 8024934C 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C690 80249350 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13C694 80249354 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 13C698 80249358 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C69C 8024935C 10400030 */ beqz $v0, .L80249420
|
||||
@ -198,11 +198,11 @@ glabel pause_badges_handle_input
|
||||
/* 13C6A4 80249364 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C6A8 80249368 1040001C */ beqz $v0, .L802493DC
|
||||
/* 13C6AC 8024936C 00000000 */ nop
|
||||
/* 13C6B0 80249370 3C068027 */ lui $a2, 0x8027
|
||||
/* 13C6B4 80249374 24C60280 */ addiu $a2, $a2, 0x280
|
||||
/* 13C6B0 80249370 3C068027 */ lui $a2, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C6B4 80249374 24C60280 */ addiu $a2, $a2, %lo(gBadgeMenuCurrentPage)
|
||||
/* 13C6B8 80249378 8CC40000 */ lw $a0, ($a2)
|
||||
/* 13C6BC 8024937C 3C078027 */ lui $a3, 0x8027
|
||||
/* 13C6C0 80249380 24E70288 */ addiu $a3, $a3, 0x288
|
||||
/* 13C6BC 8024937C 3C078027 */ lui $a3, %hi(gBadgeMenuPages)
|
||||
/* 13C6C0 80249380 24E70288 */ addiu $a3, $a3, %lo(gBadgeMenuPages)
|
||||
/* 13C6C4 80249384 00041040 */ sll $v0, $a0, 1
|
||||
/* 13C6C8 80249388 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13C6CC 8024938C 00021080 */ sll $v0, $v0, 2
|
||||
@ -226,11 +226,11 @@ glabel pause_badges_handle_input
|
||||
/* 13C714 802493D4 08092508 */ j .L80249420
|
||||
/* 13C718 802493D8 24A5FFFF */ addiu $a1, $a1, -1
|
||||
.L802493DC:
|
||||
/* 13C71C 802493DC 3C068027 */ lui $a2, 0x8027
|
||||
/* 13C720 802493E0 24C60280 */ addiu $a2, $a2, 0x280
|
||||
/* 13C71C 802493DC 3C068027 */ lui $a2, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C720 802493E0 24C60280 */ addiu $a2, $a2, %lo(gBadgeMenuCurrentPage)
|
||||
/* 13C724 802493E4 8CC70000 */ lw $a3, ($a2)
|
||||
/* 13C728 802493E8 3C048027 */ lui $a0, 0x8027
|
||||
/* 13C72C 802493EC 24840288 */ addiu $a0, $a0, 0x288
|
||||
/* 13C728 802493E8 3C048027 */ lui $a0, %hi(gBadgeMenuPages)
|
||||
/* 13C72C 802493EC 24840288 */ addiu $a0, $a0, %lo(gBadgeMenuPages)
|
||||
/* 13C730 802493F0 24E30001 */ addiu $v1, $a3, 1
|
||||
/* 13C734 802493F4 00031040 */ sll $v0, $v1, 1
|
||||
/* 13C738 802493F8 00431021 */ addu $v0, $v0, $v1
|
||||
@ -245,8 +245,8 @@ glabel pause_badges_handle_input
|
||||
.L8024941C:
|
||||
/* 13C75C 8024941C 90650001 */ lbu $a1, 1($v1)
|
||||
.L80249420:
|
||||
/* 13C760 80249420 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C764 80249424 8C630280 */ lw $v1, 0x280($v1)
|
||||
/* 13C760 80249420 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C764 80249424 8C630280 */ lw $v1, %lo(gBadgeMenuCurrentPage)($v1)
|
||||
/* 13C768 80249428 00031040 */ sll $v0, $v1, 1
|
||||
/* 13C76C 8024942C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13C770 80249430 00021080 */ sll $v0, $v0, 2
|
||||
@ -256,14 +256,14 @@ glabel pause_badges_handle_input
|
||||
/* 13C780 80249440 00A40018 */ mult $a1, $a0
|
||||
/* 13C784 80249444 00005012 */ mflo $t2
|
||||
/* 13C788 80249448 000A1040 */ sll $v0, $t2, 1
|
||||
/* 13C78C 8024944C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C78C 8024944C 3C038027 */ lui $v1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C790 80249450 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13C794 80249454 84630180 */ lh $v1, 0x180($v1)
|
||||
/* 13C794 80249454 84630180 */ lh $v1, %lo(gBadgeMenuItemIDs)($v1)
|
||||
/* 13C798 80249458 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13C79C 8024945C 10620012 */ beq $v1, $v0, .L802494A8
|
||||
/* 13C7A0 80249460 3C020004 */ lui $v0, 4
|
||||
/* 13C7A4 80249464 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C7A8 80249468 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13C7A4 80249464 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13C7A8 80249468 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13C7AC 8024946C 00621024 */ and $v0, $v1, $v0
|
||||
/* 13C7B0 80249470 10400006 */ beqz $v0, .L8024948C
|
||||
/* 13C7B4 80249474 3C020008 */ lui $v0, 8
|
||||
@ -283,8 +283,8 @@ glabel pause_badges_handle_input
|
||||
.L802494A8:
|
||||
/* 13C7E8 802494A8 0000402D */ daddu $t0, $zero, $zero
|
||||
.L802494AC:
|
||||
/* 13C7EC 802494AC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C7F0 802494B0 8C630280 */ lw $v1, 0x280($v1)
|
||||
/* 13C7EC 802494AC 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C7F0 802494B0 8C630280 */ lw $v1, %lo(gBadgeMenuCurrentPage)($v1)
|
||||
/* 13C7F4 802494B4 00031040 */ sll $v0, $v1, 1
|
||||
/* 13C7F8 802494B8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13C7FC 802494BC 00021080 */ sll $v0, $v0, 2
|
||||
@ -292,8 +292,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C804 802494C4 00220821 */ addu $at, $at, $v0
|
||||
/* 13C808 802494C8 9022028A */ lbu $v0, 0x28a($at)
|
||||
/* 13C80C 802494CC 00A20018 */ mult $a1, $v0
|
||||
/* 13C810 802494D0 3C108027 */ lui $s0, 0x8027
|
||||
/* 13C814 802494D4 26100378 */ addiu $s0, $s0, 0x378
|
||||
/* 13C810 802494D0 3C108027 */ lui $s0, %hi(gBadgeMenuSelectedIndex)
|
||||
/* 13C814 802494D4 26100378 */ addiu $s0, $s0, %lo(gBadgeMenuSelectedIndex)
|
||||
/* 13C818 802494D8 00005012 */ mflo $t2
|
||||
/* 13C81C 802494DC 010A1021 */ addu $v0, $t0, $t2
|
||||
/* 13C820 802494E0 10490003 */ beq $v0, $t1, .L802494F0
|
||||
@ -303,19 +303,19 @@ glabel pause_badges_handle_input
|
||||
.L802494F0:
|
||||
/* 13C830 802494F0 8E020000 */ lw $v0, ($s0)
|
||||
/* 13C834 802494F4 00021040 */ sll $v0, $v0, 1
|
||||
/* 13C838 802494F8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C838 802494F8 3C018027 */ lui $at, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C83C 802494FC 00220821 */ addu $at, $at, $v0
|
||||
/* 13C840 80249500 84220180 */ lh $v0, 0x180($at)
|
||||
/* 13C844 80249504 3C018027 */ lui $at, 0x8027
|
||||
/* 13C848 80249508 AC220380 */ sw $v0, 0x380($at)
|
||||
/* 13C840 80249500 84220180 */ lh $v0, %lo(gBadgeMenuItemIDs)($at)
|
||||
/* 13C844 80249504 3C018027 */ lui $at, %hi(gBadgeMenuSelectedItemID)
|
||||
/* 13C848 80249508 AC220380 */ sw $v0, %lo(gBadgeMenuSelectedItemID)($at)
|
||||
.L8024950C:
|
||||
/* 13C84C 8024950C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C850 80249510 8C630398 */ lw $v1, 0x398($v1)
|
||||
/* 13C84C 8024950C 3C038027 */ lui $v1, %hi(gBadgeMenuLevel)
|
||||
/* 13C850 80249510 8C630398 */ lw $v1, %lo(gBadgeMenuLevel)($v1)
|
||||
/* 13C854 80249514 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13C858 80249518 14620014 */ bne $v1, $v0, .L8024956C
|
||||
/* 13C85C 8024951C 00000000 */ nop
|
||||
/* 13C860 80249520 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C864 80249524 8C630380 */ lw $v1, 0x380($v1)
|
||||
/* 13C860 80249520 3C038027 */ lui $v1, %hi(gBadgeMenuSelectedItemID)
|
||||
/* 13C864 80249524 8C630380 */ lw $v1, %lo(gBadgeMenuSelectedItemID)($v1)
|
||||
/* 13C868 80249528 24628002 */ addiu $v0, $v1, -0x7ffe
|
||||
/* 13C86C 8024952C 2C420002 */ sltiu $v0, $v0, 2
|
||||
/* 13C870 80249530 1440000A */ bnez $v0, .L8024955C
|
||||
@ -325,44 +325,44 @@ glabel pause_badges_handle_input
|
||||
/* 13C880 80249540 3C018008 */ lui $at, %hi(gItemTable+0x10)
|
||||
/* 13C884 80249544 00220821 */ addu $at, $at, $v0
|
||||
/* 13C888 80249548 8C2278F0 */ lw $v0, %lo(gItemTable+0x10)($at)
|
||||
/* 13C88C 8024954C 3C018027 */ lui $at, 0x8027
|
||||
/* 13C890 80249550 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13C88C 8024954C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13C890 80249550 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13C894 80249554 08092566 */ j .L80249598
|
||||
/* 13C898 80249558 00000000 */ nop
|
||||
.L8024955C:
|
||||
/* 13C89C 8024955C 3C018027 */ lui $at, 0x8027
|
||||
/* 13C8A0 80249560 AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 13C89C 8024955C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13C8A0 80249560 AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13C8A4 80249564 08092564 */ j .L80249590
|
||||
/* 13C8A8 80249568 00000000 */ nop
|
||||
.L8024956C:
|
||||
/* 13C8AC 8024956C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C8B0 80249570 8C42039C */ lw $v0, 0x39c($v0)
|
||||
/* 13C8AC 8024956C 3C028027 */ lui $v0, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13C8B0 80249570 8C42039C */ lw $v0, %lo(gBadgeMenuCurrentTab)($v0)
|
||||
/* 13C8B4 80249574 14400002 */ bnez $v0, .L80249580
|
||||
/* 13C8B8 80249578 2404004D */ addiu $a0, $zero, 0x4d
|
||||
/* 13C8BC 8024957C 2404004C */ addiu $a0, $zero, 0x4c
|
||||
.L80249580:
|
||||
/* 13C8C0 80249580 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13C8C4 80249584 00000000 */ nop
|
||||
/* 13C8C8 80249588 3C018027 */ lui $at, 0x8027
|
||||
/* 13C8CC 8024958C AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13C8C8 80249588 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13C8CC 8024958C AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L80249590:
|
||||
/* 13C8D0 80249590 3C018027 */ lui $at, 0x8027
|
||||
/* 13C8D4 80249594 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13C8D0 80249590 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13C8D4 80249594 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L80249598:
|
||||
/* 13C8D8 80249598 3C028027 */ lui $v0, 0x8027
|
||||
/* 13C8DC 8024959C 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13C8D8 80249598 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13C8DC 8024959C 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13C8E0 802495A0 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 13C8E4 802495A4 10400017 */ beqz $v0, .L80249604
|
||||
/* 13C8E8 802495A8 00000000 */ nop
|
||||
/* 13C8EC 802495AC 3C108027 */ lui $s0, 0x8027
|
||||
/* 13C8F0 802495B0 26100398 */ addiu $s0, $s0, 0x398
|
||||
/* 13C8EC 802495AC 3C108027 */ lui $s0, %hi(gBadgeMenuLevel)
|
||||
/* 13C8F0 802495B0 26100398 */ addiu $s0, $s0, %lo(gBadgeMenuLevel)
|
||||
/* 13C8F4 802495B4 8E020000 */ lw $v0, ($s0)
|
||||
/* 13C8F8 802495B8 14400007 */ bnez $v0, .L802495D8
|
||||
/* 13C8FC 802495BC 00000000 */ nop
|
||||
/* 13C900 802495C0 0C05272D */ jal play_sound
|
||||
/* 13C904 802495C4 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13C908 802495C8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C90C 802495CC A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13C908 802495C8 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13C90C 802495CC A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 13C910 802495D0 08092581 */ j .L80249604
|
||||
/* 13C914 802495D4 00000000 */ nop
|
||||
.L802495D8:
|
||||
@ -370,8 +370,8 @@ glabel pause_badges_handle_input
|
||||
/* 13C91C 802495DC 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13C920 802495E0 0C039E1B */ jal enforce_hpfp_limits
|
||||
/* 13C924 802495E4 AE000000 */ sw $zero, ($s0)
|
||||
/* 13C928 802495E8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C92C 802495EC 8C63039C */ lw $v1, 0x39c($v1)
|
||||
/* 13C928 802495E8 3C038027 */ lui $v1, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13C92C 802495EC 8C63039C */ lw $v1, %lo(gBadgeMenuCurrentTab)($v1)
|
||||
/* 13C930 802495F0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13C934 802495F4 14620003 */ bne $v1, $v0, .L80249604
|
||||
/* 13C938 802495F8 00000000 */ nop
|
@ -10,24 +10,24 @@ glabel pause_badges_init
|
||||
/* 13C314 80248FD4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 13C318 80248FD8 0C091C15 */ jal pause_badges_count_all
|
||||
/* 13C31C 80248FDC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13C320 80248FE0 3C018027 */ lui $at, 0x8027
|
||||
/* 13C324 80248FE4 AC200398 */ sw $zero, 0x398($at)
|
||||
/* 13C328 80248FE8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C32C 80248FEC AC20039C */ sw $zero, 0x39c($at)
|
||||
/* 13C330 80248FF0 3C018027 */ lui $at, 0x8027
|
||||
/* 13C334 80248FF4 AC2003A0 */ sw $zero, 0x3a0($at)
|
||||
/* 13C320 80248FE0 3C018027 */ lui $at, %hi(gBadgeMenuLevel)
|
||||
/* 13C324 80248FE4 AC200398 */ sw $zero, %lo(gBadgeMenuLevel)($at)
|
||||
/* 13C328 80248FE8 3C018027 */ lui $at, %hi(gBadgeMenuCurrentTab)
|
||||
/* 13C32C 80248FEC AC20039C */ sw $zero, %lo(gBadgeMenuCurrentTab)($at)
|
||||
/* 13C330 80248FF0 3C018027 */ lui $at, %hi(gBadgeMenuBShowNotEnoughBP)
|
||||
/* 13C334 80248FF4 AC2003A0 */ sw $zero, %lo(gBadgeMenuBShowNotEnoughBP)($at)
|
||||
/* 13C338 80248FF8 0C092363 */ jal pause_badges_load_badges
|
||||
/* 13C33C 80248FFC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13C340 80249000 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C344 80249004 84630180 */ lh $v1, 0x180($v1)
|
||||
/* 13C340 80249000 3C038027 */ lui $v1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C344 80249004 84630180 */ lh $v1, %lo(gBadgeMenuItemIDs)($v1)
|
||||
/* 13C348 80249008 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13C34C 8024900C 14620003 */ bne $v1, $v0, .L8024901C
|
||||
/* 13C350 80249010 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 13C354 80249014 08092423 */ j .L8024908C
|
||||
/* 13C358 80249018 A2600000 */ sb $zero, ($s3)
|
||||
.L8024901C:
|
||||
/* 13C35C 8024901C 3C128027 */ lui $s2, 0x8027
|
||||
/* 13C360 80249020 265203A8 */ addiu $s2, $s2, 0x3a8
|
||||
/* 13C35C 8024901C 3C128027 */ lui $s2, %hi(D_802703A8)
|
||||
/* 13C360 80249020 265203A8 */ addiu $s2, $s2, %lo(D_802703A8)
|
||||
/* 13C364 80249024 3C118025 */ lui $s1, 0x8025
|
||||
/* 13C368 80249028 2631F4D0 */ addiu $s1, $s1, -0xb30
|
||||
.L8024902C:
|
@ -8,14 +8,14 @@ glabel pause_badges_load_badges
|
||||
/* 13C0D8 80248D98 3C118011 */ lui $s1, %hi(gPlayerData)
|
||||
/* 13C0DC 80248D9C 2631F290 */ addiu $s1, $s1, %lo(gPlayerData)
|
||||
/* 13C0E0 80248DA0 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 13C0E4 80248DA4 3C018027 */ lui $at, 0x8027
|
||||
/* 13C0E8 80248DA8 AC200388 */ sw $zero, 0x388($at)
|
||||
/* 13C0E4 80248DA4 3C018027 */ lui $at, %hi(D_80270388)
|
||||
/* 13C0E8 80248DA8 AC200388 */ sw $zero, %lo(D_80270388)($at)
|
||||
/* 13C0EC 80248DAC 14800014 */ bnez $a0, .L80248E00
|
||||
/* 13C0F0 80248DB0 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 13C0F4 80248DB4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 13C0F8 80248DB8 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 13C0FC 80248DBC 3C058027 */ lui $a1, 0x8027
|
||||
/* 13C100 80248DC0 24A50180 */ addiu $a1, $a1, 0x180
|
||||
/* 13C0FC 80248DBC 3C058027 */ lui $a1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C100 80248DC0 24A50180 */ addiu $a1, $a1, %lo(gBadgeMenuItemIDs)
|
||||
.L80248DC4:
|
||||
/* 13C104 80248DC4 84C200B4 */ lh $v0, 0xb4($a2)
|
||||
/* 13C108 80248DC8 94C300B4 */ lhu $v1, 0xb4($a2)
|
||||
@ -38,8 +38,8 @@ glabel pause_badges_load_badges
|
||||
/* 13C144 80248E04 00000000 */ nop
|
||||
/* 13C148 80248E08 26260208 */ addiu $a2, $s1, 0x208
|
||||
/* 13C14C 80248E0C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13C150 80248E10 3C058027 */ lui $a1, 0x8027
|
||||
/* 13C154 80248E14 24A50180 */ addiu $a1, $a1, 0x180
|
||||
/* 13C150 80248E10 3C058027 */ lui $a1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C154 80248E14 24A50180 */ addiu $a1, $a1, %lo(gBadgeMenuItemIDs)
|
||||
.L80248E18:
|
||||
/* 13C158 80248E18 84C20000 */ lh $v0, ($a2)
|
||||
/* 13C15C 80248E1C 94C30000 */ lhu $v1, ($a2)
|
||||
@ -55,18 +55,18 @@ glabel pause_badges_load_badges
|
||||
.L80248E40:
|
||||
/* 13C180 80248E40 16000004 */ bnez $s0, .L80248E54
|
||||
/* 13C184 80248E44 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13C188 80248E48 3C018027 */ lui $at, 0x8027
|
||||
/* 13C18C 80248E4C A4220180 */ sh $v0, 0x180($at)
|
||||
/* 13C188 80248E48 3C018027 */ lui $at, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C18C 80248E4C A4220180 */ sh $v0, %lo(gBadgeMenuItemIDs)($at)
|
||||
/* 13C190 80248E50 24100001 */ addiu $s0, $zero, 1
|
||||
.L80248E54:
|
||||
/* 13C194 80248E54 3C018027 */ lui $at, 0x8027
|
||||
/* 13C198 80248E58 A4300384 */ sh $s0, 0x384($at)
|
||||
/* 13C194 80248E54 3C018027 */ lui $at, %hi(gBadgeMenuNumItems)
|
||||
/* 13C198 80248E58 A4300384 */ sh $s0, %lo(gBadgeMenuNumItems)($at)
|
||||
/* 13C19C 80248E5C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 13C1A0 80248E60 28820080 */ slti $v0, $a0, 0x80
|
||||
/* 13C1A4 80248E64 1040000A */ beqz $v0, .L80248E90
|
||||
/* 13C1A8 80248E68 24057FFF */ addiu $a1, $zero, 0x7fff
|
||||
/* 13C1AC 80248E6C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13C1B0 80248E70 24630180 */ addiu $v1, $v1, 0x180
|
||||
/* 13C1AC 80248E6C 3C038027 */ lui $v1, %hi(gBadgeMenuItemIDs)
|
||||
/* 13C1B0 80248E70 24630180 */ addiu $v1, $v1, %lo(gBadgeMenuItemIDs)
|
||||
/* 13C1B4 80248E74 00041040 */ sll $v0, $a0, 1
|
||||
/* 13C1B8 80248E78 00431821 */ addu $v1, $v0, $v1
|
||||
.L80248E7C:
|
||||
@ -76,25 +76,25 @@ glabel pause_badges_load_badges
|
||||
/* 13C1C8 80248E88 1440FFFC */ bnez $v0, .L80248E7C
|
||||
/* 13C1CC 80248E8C 24630002 */ addiu $v1, $v1, 2
|
||||
.L80248E90:
|
||||
/* 13C1D0 80248E90 3C058027 */ lui $a1, 0x8027
|
||||
/* 13C1D4 80248E94 24A50288 */ addiu $a1, $a1, 0x288
|
||||
/* 13C1D0 80248E90 3C058027 */ lui $a1, %hi(gBadgeMenuPages)
|
||||
/* 13C1D4 80248E94 24A50288 */ addiu $a1, $a1, %lo(gBadgeMenuPages)
|
||||
/* 13C1D8 80248E98 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13C1DC 80248E9C 3C078027 */ lui $a3, 0x8027
|
||||
/* 13C1E0 80248EA0 24E70384 */ addiu $a3, $a3, 0x384
|
||||
/* 13C1DC 80248E9C 3C078027 */ lui $a3, %hi(gBadgeMenuNumItems)
|
||||
/* 13C1E0 80248EA0 24E70384 */ addiu $a3, $a3, %lo(gBadgeMenuNumItems)
|
||||
/* 13C1E4 80248EA4 24060001 */ addiu $a2, $zero, 1
|
||||
/* 13C1E8 80248EA8 24090008 */ addiu $t1, $zero, 8
|
||||
/* 13C1EC 80248EAC 24080008 */ addiu $t0, $zero, 8
|
||||
/* 13C1F0 80248EB0 00A81821 */ addu $v1, $a1, $t0
|
||||
/* 13C1F4 80248EB4 3C018027 */ lui $at, 0x8027
|
||||
/* 13C1F8 80248EB8 AC200378 */ sw $zero, 0x378($at)
|
||||
/* 13C1FC 80248EBC 3C018027 */ lui $at, 0x8027
|
||||
/* 13C200 80248EC0 AC200380 */ sw $zero, 0x380($at)
|
||||
/* 13C1F4 80248EB4 3C018027 */ lui $at, %hi(gBadgeMenuSelectedIndex)
|
||||
/* 13C1F8 80248EB8 AC200378 */ sw $zero, %lo(gBadgeMenuSelectedIndex)($at)
|
||||
/* 13C1FC 80248EBC 3C018027 */ lui $at, %hi(gBadgeMenuSelectedItemID)
|
||||
/* 13C200 80248EC0 AC200380 */ sw $zero, %lo(gBadgeMenuSelectedItemID)($at)
|
||||
/* 13C204 80248EC4 3C018027 */ lui $at, 0x8027
|
||||
/* 13C208 80248EC8 AC20037C */ sw $zero, 0x37c($at)
|
||||
/* 13C20C 80248ECC 3C018027 */ lui $at, 0x8027
|
||||
/* 13C210 80248ED0 AC200394 */ sw $zero, 0x394($at)
|
||||
/* 13C214 80248ED4 3C018027 */ lui $at, 0x8027
|
||||
/* 13C218 80248ED8 AC200280 */ sw $zero, 0x280($at)
|
||||
/* 13C20C 80248ECC 3C018027 */ lui $at, %hi(D_80270394)
|
||||
/* 13C210 80248ED0 AC200394 */ sw $zero, %lo(D_80270394)($at)
|
||||
/* 13C214 80248ED4 3C018027 */ lui $at, %hi(gBadgeMenuCurrentPage)
|
||||
/* 13C218 80248ED8 AC200280 */ sw $zero, %lo(gBadgeMenuCurrentPage)($at)
|
||||
.L80248EDC:
|
||||
/* 13C21C 80248EDC 84E20000 */ lh $v0, ($a3)
|
||||
/* 13C220 80248EE0 04420001 */ bltzl $v0, .L80248EE8
|
||||
@ -153,9 +153,9 @@ glabel pause_badges_load_badges
|
||||
/* 13C2DC 80248F9C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 13C2E0 80248FA0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 13C2E4 80248FA4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 13C2E8 80248FA8 3C018027 */ lui $at, 0x8027
|
||||
/* 13C2EC 80248FAC AC22038C */ sw $v0, 0x38c($at)
|
||||
/* 13C2F0 80248FB0 3C018027 */ lui $at, 0x8027
|
||||
/* 13C2F4 80248FB4 AC220390 */ sw $v0, 0x390($at)
|
||||
/* 13C2E8 80248FA8 3C018027 */ lui $at, %hi(gBadgeMenuCurrentScrollPos)
|
||||
/* 13C2EC 80248FAC AC22038C */ sw $v0, %lo(gBadgeMenuCurrentScrollPos)($at)
|
||||
/* 13C2F0 80248FB0 3C018027 */ lui $at, %hi(gBadgeMenuTargetScrollPos)
|
||||
/* 13C2F4 80248FB4 AC220390 */ sw $v0, %lo(gBadgeMenuTargetScrollPos)($at)
|
||||
/* 13C2F8 80248FB8 03E00008 */ jr $ra
|
||||
/* 13C2FC 80248FBC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -9,8 +9,8 @@ glabel pause_stats_draw_contents
|
||||
/* 138CD0 80245990 24A8008F */ addiu $t0, $a1, 0x8f
|
||||
/* 138CD4 80245994 0100282D */ daddu $a1, $t0, $zero
|
||||
/* 138CD8 80245998 AFB1005C */ sw $s1, 0x5c($sp)
|
||||
/* 138CDC 8024599C 3C118027 */ lui $s1, 0x8027
|
||||
/* 138CE0 802459A0 26310150 */ addiu $s1, $s1, 0x150
|
||||
/* 138CDC 8024599C 3C118027 */ lui $s1, %hi(gStatsMenuIconIDs)
|
||||
/* 138CE0 802459A0 26310150 */ addiu $s1, $s1, %lo(gStatsMenuIconIDs)
|
||||
/* 138CE4 802459A4 AFBF007C */ sw $ra, 0x7c($sp)
|
||||
/* 138CE8 802459A8 AFB70074 */ sw $s7, 0x74($sp)
|
||||
/* 138CEC 802459AC AFB60070 */ sw $s6, 0x70($sp)
|
||||
@ -468,8 +468,8 @@ glabel pause_stats_draw_contents
|
||||
/* 1393F0 802460B0 AFA20048 */ sw $v0, 0x48($sp)
|
||||
/* 1393F4 802460B4 0C03D4B8 */ jal draw_box
|
||||
/* 1393F8 802460B8 AFA0004C */ sw $zero, 0x4c($sp)
|
||||
/* 1393FC 802460BC 3C168027 */ lui $s6, 0x8027
|
||||
/* 139400 802460C0 26D60150 */ addiu $s6, $s6, 0x150
|
||||
/* 1393FC 802460BC 3C168027 */ lui $s6, %hi(gStatsMenuIconIDs)
|
||||
/* 139400 802460C0 26D60150 */ addiu $s6, $s6, %lo(gStatsMenuIconIDs)
|
||||
/* 139404 802460C4 27C60015 */ addiu $a2, $fp, 0x15
|
||||
/* 139408 802460C8 8FA80084 */ lw $t0, 0x84($sp)
|
||||
/* 13940C 802460CC 8EC40000 */ lw $a0, ($s6)
|
||||
@ -1130,8 +1130,8 @@ glabel pause_stats_draw_contents
|
||||
/* 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)
|
||||
/* 139D8C 80246A4C 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 139D90 80246A50 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 139D94 80246A54 24020001 */ addiu $v0, $zero, 1
|
||||
/* 139D98 80246A58 1462000F */ bne $v1, $v0, .L80246A98
|
||||
/* 139D9C 80246A5C 2404001F */ addiu $a0, $zero, 0x1f
|
@ -5,8 +5,8 @@ glabel pause_stats_handle_input
|
||||
/* 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)
|
||||
/* 139EC0 80246B80 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 139EC4 80246B84 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 139EC8 80246B88 3C030004 */ lui $v1, 4
|
||||
/* 139ECC 80246B8C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 139ED0 80246B90 AFB10014 */ sw $s1, 0x14($sp)
|
||||
@ -43,8 +43,8 @@ glabel pause_stats_handle_input
|
||||
/* 139F48 80246C08 1082FFE6 */ beq $a0, $v0, .L80246BA4
|
||||
/* 139F4C 80246C0C 00000000 */ nop
|
||||
.L80246C10:
|
||||
/* 139F50 80246C10 3C028027 */ lui $v0, 0x8027
|
||||
/* 139F54 80246C14 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 139F50 80246C10 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 139F54 80246C14 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 139F58 80246C18 3C030008 */ lui $v1, 8
|
||||
/* 139F5C 80246C1C 00431024 */ and $v0, $v0, $v1
|
||||
/* 139F60 80246C20 1040001E */ beqz $v0, .L80246C9C
|
||||
@ -80,8 +80,8 @@ glabel pause_stats_handle_input
|
||||
/* 139FD4 80246C94 1082FFE6 */ beq $a0, $v0, .L80246C30
|
||||
/* 139FD8 80246C98 00000000 */ nop
|
||||
.L80246C9C:
|
||||
/* 139FDC 80246C9C 3C028027 */ lui $v0, 0x8027
|
||||
/* 139FE0 80246CA0 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 139FDC 80246C9C 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 139FE0 80246CA0 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 139FE4 80246CA4 3C030001 */ lui $v1, 1
|
||||
/* 139FE8 80246CA8 00431024 */ and $v0, $v0, $v1
|
||||
/* 139FEC 80246CAC 1040001D */ beqz $v0, .L80246D24
|
||||
@ -116,8 +116,8 @@ glabel pause_stats_handle_input
|
||||
/* 13A05C 80246D1C 1082FFE5 */ beq $a0, $v0, .L80246CB4
|
||||
/* 13A060 80246D20 00000000 */ nop
|
||||
.L80246D24:
|
||||
/* 13A064 80246D24 3C028027 */ lui $v0, 0x8027
|
||||
/* 13A068 80246D28 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13A064 80246D24 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13A068 80246D28 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13A06C 80246D2C 3C030002 */ lui $v1, 2
|
||||
/* 13A070 80246D30 00431024 */ and $v0, $v0, $v1
|
||||
/* 13A074 80246D34 10400020 */ beqz $v0, .L80246DB8
|
||||
@ -268,19 +268,19 @@ glabel pause_stats_handle_input
|
||||
/* 13A280 80246F40 8C84F3B8 */ lw $a0, -0xc48($a0)
|
||||
/* 13A284 80246F44 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13A288 80246F48 00912021 */ addu $a0, $a0, $s1
|
||||
/* 13A28C 80246F4C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13A290 80246F50 8C6300C4 */ lw $v1, 0xc4($v1)
|
||||
/* 13A294 80246F54 3C018027 */ lui $at, 0x8027
|
||||
/* 13A298 80246F58 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13A29C 80246F5C 3C018027 */ lui $at, 0x8027
|
||||
/* 13A2A0 80246F60 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13A28C 80246F4C 3C038027 */ lui $v1, %hi(gPauseMenuPressedButtons)
|
||||
/* 13A290 80246F50 8C6300C4 */ lw $v1, %lo(gPauseMenuPressedButtons)($v1)
|
||||
/* 13A294 80246F54 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13A298 80246F58 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13A29C 80246F5C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13A2A0 80246F60 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 13A2A4 80246F64 30634000 */ andi $v1, $v1, 0x4000
|
||||
/* 13A2A8 80246F68 10600005 */ beqz $v1, .L80246F80
|
||||
/* 13A2AC 80246F6C 00000000 */ nop
|
||||
/* 13A2B0 80246F70 0C05272D */ jal play_sound
|
||||
/* 13A2B4 80246F74 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13A2B8 80246F78 3C018027 */ lui $at, 0x8027
|
||||
/* 13A2BC 80246F7C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13A2B8 80246F78 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13A2BC 80246F7C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
.L80246F80:
|
||||
/* 13A2C0 80246F80 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 13A2C4 80246F84 8FB10014 */ lw $s1, 0x14($sp)
|
@ -8,8 +8,8 @@ glabel pause_stats_init
|
||||
/* 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
|
||||
/* 139E20 80246AE0 3C128027 */ lui $s2, %hi(gStatsMenuIconIDs)
|
||||
/* 139E24 80246AE4 26520150 */ addiu $s2, $s2, %lo(gStatsMenuIconIDs)
|
||||
/* 139E28 80246AE8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 139E2C 80246AEC 3C118025 */ lui $s1, 0x8025
|
||||
/* 139E30 80246AF0 2631F330 */ addiu $s1, $s1, -0xcd0
|
@ -1,13 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_comparator
|
||||
/* 13CAF0 802497B0 84840000 */ lh $a0, ($a0)
|
||||
/* 13CAF4 802497B4 84A30000 */ lh $v1, ($a1)
|
||||
/* 13CAF8 802497B8 0064182A */ slt $v1, $v1, $a0
|
||||
/* 13CAFC 802497BC 14600002 */ bnez $v1, .L802497C8
|
||||
/* 13CB00 802497C0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13CB04 802497C4 2402FFFF */ addiu $v0, $zero, -1
|
||||
.L802497C8:
|
||||
/* 13CB08 802497C8 03E00008 */ jr $ra
|
||||
/* 13CB0C 802497CC 00000000 */ nop
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel pause_items_draw_contents
|
||||
/* 13CCB0 80249970 27BDFF58 */ addiu $sp, $sp, -0xa8
|
||||
/* 13CCB4 80249974 3C038027 */ lui $v1, 0x8027
|
||||
/* 13CCB8 80249978 8C6304C8 */ lw $v1, 0x4c8($v1)
|
||||
/* 13CCB4 80249974 3C038027 */ lui $v1, %hi(gItemMenuCurrentPage)
|
||||
/* 13CCB8 80249978 8C6304C8 */ lw $v1, %lo(gItemMenuCurrentPage)($v1)
|
||||
/* 13CCBC 8024997C 240A0001 */ addiu $t2, $zero, 1
|
||||
/* 13CCC0 80249980 AFA500AC */ sw $a1, 0xac($sp)
|
||||
/* 13CCC4 80249984 AFAA0060 */ sw $t2, 0x60($sp)
|
||||
@ -48,8 +48,8 @@ glabel pause_items_draw_contents
|
||||
/* 13CD5C 80249A1C AFA0003C */ sw $zero, 0x3c($sp)
|
||||
/* 13CD60 80249A20 AFAA0018 */ sw $t2, 0x18($sp)
|
||||
/* 13CD64 80249A24 AFA00040 */ sw $zero, 0x40($sp)
|
||||
/* 13CD68 80249A28 3C038027 */ lui $v1, 0x8027
|
||||
/* 13CD6C 80249A2C 8C6305C0 */ lw $v1, 0x5c0($v1)
|
||||
/* 13CD68 80249A28 3C038027 */ lui $v1, %hi(gItemMenuSelectedIndex)
|
||||
/* 13CD6C 80249A2C 8C6305C0 */ lw $v1, %lo(gItemMenuSelectedIndex)($v1)
|
||||
/* 13CD70 80249A30 15000002 */ bnez $t0, .L80249A3C
|
||||
/* 13CD74 80249A34 0068001A */ div $zero, $v1, $t0
|
||||
/* 13CD78 80249A38 0007000D */ break 7
|
||||
@ -74,8 +74,8 @@ glabel pause_items_draw_contents
|
||||
/* 13CDBC 80249A7C AFAA005C */ sw $t2, 0x5c($sp)
|
||||
/* 13CDC0 80249A80 0C03D4B8 */ jal draw_box
|
||||
/* 13CDC4 80249A84 AFAB0058 */ sw $t3, 0x58($sp)
|
||||
/* 13CDC8 80249A88 3C108027 */ lui $s0, 0x8027
|
||||
/* 13CDCC 80249A8C 261004D0 */ addiu $s0, $s0, 0x4d0
|
||||
/* 13CDC8 80249A88 3C108027 */ lui $s0, %hi(gItemMenuPages)
|
||||
/* 13CDCC 80249A8C 261004D0 */ addiu $s0, $s0, %lo(gItemMenuPages)
|
||||
/* 13CDD0 80249A90 8FAB00B0 */ lw $t3, 0xb0($sp)
|
||||
/* 13CDD4 80249A94 8FAA00AC */ lw $t2, 0xac($sp)
|
||||
/* 13CDD8 80249A98 25660007 */ addiu $a2, $t3, 7
|
||||
@ -169,8 +169,8 @@ glabel pause_items_draw_contents
|
||||
/* 13CF28 80249BE8 ACA20004 */ sw $v0, 4($a1)
|
||||
.L80249BEC:
|
||||
/* 13CF2C 80249BEC 0000F02D */ daddu $fp, $zero, $zero
|
||||
/* 13CF30 80249BF0 3C0B8027 */ lui $t3, 0x8027
|
||||
/* 13CF34 80249BF4 256B04D0 */ addiu $t3, $t3, 0x4d0
|
||||
/* 13CF30 80249BF0 3C0B8027 */ lui $t3, %hi(gItemMenuPages)
|
||||
/* 13CF34 80249BF4 256B04D0 */ addiu $t3, $t3, %lo(gItemMenuPages)
|
||||
/* 13CF38 80249BF8 AFAB007C */ sw $t3, 0x7c($sp)
|
||||
.L80249BFC:
|
||||
/* 13CF3C 80249BFC 8FAA007C */ lw $t2, 0x7c($sp)
|
||||
@ -192,8 +192,8 @@ glabel pause_items_draw_contents
|
||||
/* 13CF7C 80249C3C AFAB0078 */ sw $t3, 0x78($sp)
|
||||
.L80249C40:
|
||||
/* 13CF80 80249C40 8FAA007C */ lw $t2, 0x7c($sp)
|
||||
/* 13CF84 80249C44 3C0B8027 */ lui $t3, 0x8027
|
||||
/* 13CF88 80249C48 256B0400 */ addiu $t3, $t3, 0x400
|
||||
/* 13CF84 80249C44 3C0B8027 */ lui $t3, %hi(gItemMenuItemIDs)
|
||||
/* 13CF88 80249C48 256B0400 */ addiu $t3, $t3, %lo(gItemMenuItemIDs)
|
||||
/* 13CF8C 80249C4C 8D420004 */ lw $v0, 4($t2)
|
||||
/* 13CF90 80249C50 24037FFF */ addiu $v1, $zero, 0x7fff
|
||||
/* 13CF94 80249C54 00521021 */ addu $v0, $v0, $s2
|
||||
@ -212,15 +212,15 @@ glabel pause_items_draw_contents
|
||||
/* 13CFC8 80249C88 AFA20068 */ sw $v0, 0x68($sp)
|
||||
/* 13CFCC 80249C8C 0040B82D */ daddu $s7, $v0, $zero
|
||||
/* 13CFD0 80249C90 3A027FFE */ xori $v0, $s0, 0x7ffe
|
||||
/* 13CFD4 80249C94 3C038027 */ lui $v1, 0x8027
|
||||
/* 13CFD8 80249C98 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13CFD4 80249C94 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13CFD8 80249C98 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13CFDC 80249C9C 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 13CFE0 80249CA0 AFA20074 */ sw $v0, 0x74($sp)
|
||||
/* 13CFE4 80249CA4 24020003 */ addiu $v0, $zero, 3
|
||||
/* 13CFE8 80249CA8 14620012 */ bne $v1, $v0, .L80249CF4
|
||||
/* 13CFEC 80249CAC 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 13CFF0 80249CB0 3C028027 */ lui $v0, 0x8027
|
||||
/* 13CFF4 80249CB4 8C4205E0 */ lw $v0, 0x5e0($v0)
|
||||
/* 13CFF0 80249CB0 3C028027 */ lui $v0, %hi(gItemMenuLevel)
|
||||
/* 13CFF4 80249CB4 8C4205E0 */ lw $v0, %lo(gItemMenuLevel)($v0)
|
||||
/* 13CFF8 80249CB8 240A0001 */ addiu $t2, $zero, 1
|
||||
/* 13CFFC 80249CBC 144A000D */ bne $v0, $t2, .L80249CF4
|
||||
/* 13D000 80249CC0 03C0202D */ daddu $a0, $fp, $zero
|
||||
@ -348,8 +348,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D1CC 80249E8C 000210C0 */ sll $v0, $v0, 3
|
||||
/* 13D1D0 80249E90 004B1021 */ addu $v0, $v0, $t3
|
||||
/* 13D1D4 80249E94 8C420000 */ lw $v0, ($v0)
|
||||
/* 13D1D8 80249E98 3C018027 */ lui $at, 0x8027
|
||||
/* 13D1DC 80249E9C AC2200CC */ sw $v0, 0xcc($at)
|
||||
/* 13D1D8 80249E98 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13D1DC 80249E9C AC2200CC */ sw $v0, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L80249EA0:
|
||||
/* 13D1E0 80249EA0 00161400 */ sll $v0, $s6, 0x10
|
||||
/* 13D1E4 80249EA4 000212C3 */ sra $v0, $v0, 0xb
|
||||
@ -509,18 +509,18 @@ glabel pause_items_draw_contents
|
||||
/* 13D424 8024A0E4 00000000 */ nop
|
||||
/* 13D428 8024A0E8 30630FFF */ andi $v1, $v1, 0xfff
|
||||
/* 13D42C 8024A0EC 00431025 */ or $v0, $v0, $v1
|
||||
/* 13D430 8024A0F0 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D434 8024A0F4 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13D430 8024A0F0 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13D434 8024A0F4 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13D438 8024A0F8 ACA20004 */ sw $v0, 4($a1)
|
||||
/* 13D43C 8024A0FC 24020003 */ addiu $v0, $zero, 3
|
||||
/* 13D440 8024A100 1462002A */ bne $v1, $v0, .L8024A1AC
|
||||
/* 13D444 8024A104 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13D448 8024A108 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D44C 8024A10C 8C6305E0 */ lw $v1, 0x5e0($v1)
|
||||
/* 13D448 8024A108 3C038027 */ lui $v1, %hi(gItemMenuLevel)
|
||||
/* 13D44C 8024A10C 8C6305E0 */ lw $v1, %lo(gItemMenuLevel)($v1)
|
||||
/* 13D450 8024A110 14620026 */ bne $v1, $v0, .L8024A1AC
|
||||
/* 13D454 8024A114 00000000 */ nop
|
||||
/* 13D458 8024A118 3C118027 */ lui $s1, 0x8027
|
||||
/* 13D45C 8024A11C 263104C8 */ addiu $s1, $s1, 0x4c8
|
||||
/* 13D458 8024A118 3C118027 */ lui $s1, %hi(gItemMenuCurrentPage)
|
||||
/* 13D45C 8024A11C 263104C8 */ addiu $s1, $s1, %lo(gItemMenuCurrentPage)
|
||||
/* 13D460 8024A120 8E220000 */ lw $v0, ($s1)
|
||||
/* 13D464 8024A124 1840000E */ blez $v0, .L8024A160
|
||||
/* 13D468 8024A128 24420001 */ addiu $v0, $v0, 1
|
||||
@ -541,9 +541,9 @@ glabel pause_items_draw_contents
|
||||
/* 13D4A0 8024A160 00021840 */ sll $v1, $v0, 1
|
||||
/* 13D4A4 8024A164 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13D4A8 8024A168 00031880 */ sll $v1, $v1, 2
|
||||
/* 13D4AC 8024A16C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13D4AC 8024A16C 3C028027 */ lui $v0, %hi(gItemMenuPages)
|
||||
/* 13D4B0 8024A170 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13D4B4 8024A174 904204D0 */ lbu $v0, 0x4d0($v0)
|
||||
/* 13D4B4 8024A174 904204D0 */ lbu $v0, %lo(gItemMenuPages)($v0)
|
||||
/* 13D4B8 8024A178 1040000C */ beqz $v0, .L8024A1AC
|
||||
/* 13D4BC 8024A17C 00000000 */ nop
|
||||
/* 13D4C0 8024A180 3C108027 */ lui $s0, 0x8027
|
||||
@ -558,8 +558,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D4E4 8024A1A4 0C0511F8 */ jal draw_icon_2
|
||||
/* 13D4E8 8024A1A8 00000000 */ nop
|
||||
.L8024A1AC:
|
||||
/* 13D4EC 8024A1AC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D4F0 8024A1B0 8C6305E4 */ lw $v1, 0x5e4($v1)
|
||||
/* 13D4EC 8024A1AC 3C038027 */ lui $v1, %hi(gItemMenuCurrentTab)
|
||||
/* 13D4F0 8024A1B0 8C6305E4 */ lw $v1, %lo(gItemMenuCurrentTab)($v1)
|
||||
/* 13D4F4 8024A1B4 8FA600AC */ lw $a2, 0xac($sp)
|
||||
/* 13D4F8 8024A1B8 50600001 */ beql $v1, $zero, .L8024A1C0
|
||||
/* 13D4FC 8024A1BC 24C60009 */ addiu $a2, $a2, 9
|
||||
@ -600,8 +600,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D57C 8024A23C AFA0004C */ sw $zero, 0x4c($sp)
|
||||
/* 13D580 8024A240 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13D584 8024A244 2404004F */ addiu $a0, $zero, 0x4f
|
||||
/* 13D588 8024A248 3C118027 */ lui $s1, 0x8027
|
||||
/* 13D58C 8024A24C 263105E4 */ addiu $s1, $s1, 0x5e4
|
||||
/* 13D588 8024A248 3C118027 */ lui $s1, %hi(gItemMenuCurrentTab)
|
||||
/* 13D58C 8024A24C 263105E4 */ addiu $s1, $s1, %lo(gItemMenuCurrentTab)
|
||||
/* 13D590 8024A250 8FAA00AC */ lw $t2, 0xac($sp)
|
||||
/* 13D594 8024A254 8E230000 */ lw $v1, ($s1)
|
||||
/* 13D598 8024A258 14600002 */ bnez $v1, .L8024A264
|
||||
@ -659,8 +659,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D654 8024A314 AFA0004C */ sw $zero, 0x4c($sp)
|
||||
/* 13D658 8024A318 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13D65C 8024A31C 24040050 */ addiu $a0, $zero, 0x50
|
||||
/* 13D660 8024A320 3C108027 */ lui $s0, 0x8027
|
||||
/* 13D664 8024A324 261005E4 */ addiu $s0, $s0, 0x5e4
|
||||
/* 13D660 8024A320 3C108027 */ lui $s0, %hi(gItemMenuCurrentTab)
|
||||
/* 13D664 8024A324 261005E4 */ addiu $s0, $s0, %lo(gItemMenuCurrentTab)
|
||||
/* 13D668 8024A328 24080001 */ addiu $t0, $zero, 1
|
||||
/* 13D66C 8024A32C 8FAB00AC */ lw $t3, 0xac($sp)
|
||||
/* 13D670 8024A330 8E030000 */ lw $v1, ($s0)
|
||||
@ -678,13 +678,13 @@ glabel pause_items_draw_contents
|
||||
/* 13D698 8024A358 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 13D69C 8024A35C 0C04993B */ jal draw_string
|
||||
/* 13D6A0 8024A360 AFA80014 */ sw $t0, 0x14($sp)
|
||||
/* 13D6A4 8024A364 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D6A8 8024A368 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13D6A4 8024A364 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13D6A8 8024A368 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13D6AC 8024A36C 24020003 */ addiu $v0, $zero, 3
|
||||
/* 13D6B0 8024A370 1462004E */ bne $v1, $v0, .L8024A4AC
|
||||
/* 13D6B4 8024A374 00000000 */ nop
|
||||
/* 13D6B8 8024A378 3C028027 */ lui $v0, 0x8027
|
||||
/* 13D6BC 8024A37C 8C4205E0 */ lw $v0, 0x5e0($v0)
|
||||
/* 13D6B8 8024A378 3C028027 */ lui $v0, %hi(gItemMenuLevel)
|
||||
/* 13D6BC 8024A37C 8C4205E0 */ lw $v0, %lo(gItemMenuLevel)($v0)
|
||||
/* 13D6C0 8024A380 14400008 */ bnez $v0, .L8024A3A4
|
||||
/* 13D6C4 8024A384 24040021 */ addiu $a0, $zero, 0x21
|
||||
/* 13D6C8 8024A388 8E060000 */ lw $a2, ($s0)
|
||||
@ -695,11 +695,11 @@ glabel pause_items_draw_contents
|
||||
/* 13D6DC 8024A39C 08092929 */ j .L8024A4A4
|
||||
/* 13D6E0 8024A3A0 24C6001A */ addiu $a2, $a2, 0x1a
|
||||
.L8024A3A4:
|
||||
/* 13D6E4 8024A3A4 3C118027 */ lui $s1, 0x8027
|
||||
/* 13D6E8 8024A3A8 263104C8 */ addiu $s1, $s1, 0x4c8
|
||||
/* 13D6E4 8024A3A4 3C118027 */ lui $s1, %hi(gItemMenuCurrentPage)
|
||||
/* 13D6E8 8024A3A8 263104C8 */ addiu $s1, $s1, %lo(gItemMenuCurrentPage)
|
||||
/* 13D6EC 8024A3AC 8E240000 */ lw $a0, ($s1)
|
||||
/* 13D6F0 8024A3B0 3C128027 */ lui $s2, 0x8027
|
||||
/* 13D6F4 8024A3B4 265204D0 */ addiu $s2, $s2, 0x4d0
|
||||
/* 13D6F0 8024A3B0 3C128027 */ lui $s2, %hi(gItemMenuPages)
|
||||
/* 13D6F4 8024A3B4 265204D0 */ addiu $s2, $s2, %lo(gItemMenuPages)
|
||||
/* 13D6F8 8024A3B8 00041040 */ sll $v0, $a0, 1
|
||||
/* 13D6FC 8024A3BC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13D700 8024A3C0 00021080 */ sll $v0, $v0, 2
|
||||
@ -707,8 +707,8 @@ glabel pause_items_draw_contents
|
||||
/* 13D708 8024A3C8 90430001 */ lbu $v1, 1($v0)
|
||||
/* 13D70C 8024A3CC 90420002 */ lbu $v0, 2($v0)
|
||||
/* 13D710 8024A3D0 00620018 */ mult $v1, $v0
|
||||
/* 13D714 8024A3D4 3C108027 */ lui $s0, 0x8027
|
||||
/* 13D718 8024A3D8 261005C0 */ addiu $s0, $s0, 0x5c0
|
||||
/* 13D714 8024A3D4 3C108027 */ lui $s0, %hi(gItemMenuSelectedIndex)
|
||||
/* 13D718 8024A3D8 261005C0 */ addiu $s0, $s0, %lo(gItemMenuSelectedIndex)
|
||||
/* 13D71C 8024A3DC 8E050000 */ lw $a1, ($s0)
|
||||
/* 13D720 8024A3E0 00005012 */ mflo $t2
|
||||
/* 13D724 8024A3E4 0C0925F4 */ jal pause_items_get_pos_x
|
||||
@ -741,10 +741,10 @@ glabel pause_items_draw_contents
|
||||
/* 13D78C 8024A44C 50400001 */ beql $v0, $zero, .L8024A454
|
||||
/* 13D790 8024A450 24060070 */ addiu $a2, $zero, 0x70
|
||||
.L8024A454:
|
||||
/* 13D794 8024A454 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D798 8024A458 8C6305D4 */ lw $v1, 0x5d4($v1)
|
||||
/* 13D79C 8024A45C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13D7A0 8024A460 8C4205D8 */ lw $v0, 0x5d8($v0)
|
||||
/* 13D794 8024A454 3C038027 */ lui $v1, %hi(gItemMenuCurrentScrollPos)
|
||||
/* 13D798 8024A458 8C6305D4 */ lw $v1, %lo(gItemMenuCurrentScrollPos)($v1)
|
||||
/* 13D79C 8024A45C 3C028027 */ lui $v0, %hi(gItemMenuTargetScrollPos)
|
||||
/* 13D7A0 8024A460 8C4205D8 */ lw $v0, %lo(gItemMenuTargetScrollPos)($v0)
|
||||
/* 13D7A4 8024A464 1062000A */ beq $v1, $v0, .L8024A490
|
||||
/* 13D7A8 8024A468 24040021 */ addiu $a0, $zero, 0x21
|
||||
/* 13D7AC 8024A46C 26050055 */ addiu $a1, $s0, 0x55
|
||||
|
@ -1,24 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_get_column
|
||||
/* 13CBD8 80249898 00041040 */ sll $v0, $a0, 1
|
||||
/* 13CBDC 8024989C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13CBE0 802498A0 00021080 */ sll $v0, $v0, 2
|
||||
/* 13CBE4 802498A4 3C018027 */ lui $at, 0x8027
|
||||
/* 13CBE8 802498A8 00220821 */ addu $at, $at, $v0
|
||||
/* 13CBEC 802498AC 902204D2 */ lbu $v0, 0x4d2($at)
|
||||
/* 13CBF0 802498B0 14400002 */ bnez $v0, .L802498BC
|
||||
/* 13CBF4 802498B4 00A2001A */ div $zero, $a1, $v0
|
||||
/* 13CBF8 802498B8 0007000D */ break 7
|
||||
.L802498BC:
|
||||
/* 13CBFC 802498BC 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13CC00 802498C0 14410004 */ bne $v0, $at, .L802498D4
|
||||
/* 13CC04 802498C4 3C018000 */ lui $at, 0x8000
|
||||
/* 13CC08 802498C8 14A10002 */ bne $a1, $at, .L802498D4
|
||||
/* 13CC0C 802498CC 00000000 */ nop
|
||||
/* 13CC10 802498D0 0006000D */ break 6
|
||||
.L802498D4:
|
||||
/* 13CC14 802498D4 00001010 */ mfhi $v0
|
||||
/* 13CC18 802498D8 03E00008 */ jr $ra
|
||||
/* 13CC1C 802498DC 00000000 */ nop
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_get_pos_x
|
||||
/* 13CB10 802497D0 00041040 */ sll $v0, $a0, 1
|
||||
/* 13CB14 802497D4 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13CB18 802497D8 00021080 */ sll $v0, $v0, 2
|
||||
/* 13CB1C 802497DC 3C018027 */ lui $at, 0x8027
|
||||
/* 13CB20 802497E0 00220821 */ addu $at, $at, $v0
|
||||
/* 13CB24 802497E4 902204D2 */ lbu $v0, 0x4d2($at)
|
||||
/* 13CB28 802497E8 14400002 */ bnez $v0, .L802497F4
|
||||
/* 13CB2C 802497EC 00A2001A */ div $zero, $a1, $v0
|
||||
/* 13CB30 802497F0 0007000D */ break 7
|
||||
.L802497F4:
|
||||
/* 13CB34 802497F4 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13CB38 802497F8 14410004 */ bne $v0, $at, .L8024980C
|
||||
/* 13CB3C 802497FC 3C018000 */ lui $at, 0x8000
|
||||
/* 13CB40 80249800 14A10002 */ bne $a1, $at, .L8024980C
|
||||
/* 13CB44 80249804 00000000 */ nop
|
||||
/* 13CB48 80249808 0006000D */ break 6
|
||||
.L8024980C:
|
||||
/* 13CB4C 8024980C 00001810 */ mfhi $v1
|
||||
/* 13CB50 80249810 00031040 */ sll $v0, $v1, 1
|
||||
/* 13CB54 80249814 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13CB58 80249818 00021100 */ sll $v0, $v0, 4
|
||||
/* 13CB5C 8024981C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13CB60 80249820 03E00008 */ jr $ra
|
||||
/* 13CB64 80249824 00021040 */ sll $v0, $v0, 1
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_get_pos_y
|
||||
/* 13CB68 80249828 3C028027 */ lui $v0, 0x8027
|
||||
/* 13CB6C 8024982C 244204D0 */ addiu $v0, $v0, 0x4d0
|
||||
/* 13CB70 80249830 00041840 */ sll $v1, $a0, 1
|
||||
/* 13CB74 80249834 00641821 */ addu $v1, $v1, $a0
|
||||
/* 13CB78 80249838 00031880 */ sll $v1, $v1, 2
|
||||
/* 13CB7C 8024983C 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13CB80 80249840 90620002 */ lbu $v0, 2($v1)
|
||||
/* 13CB84 80249844 14400002 */ bnez $v0, .L80249850
|
||||
/* 13CB88 80249848 00A2001A */ div $zero, $a1, $v0
|
||||
/* 13CB8C 8024984C 0007000D */ break 7
|
||||
.L80249850:
|
||||
/* 13CB90 80249850 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13CB94 80249854 14410004 */ bne $v0, $at, .L80249868
|
||||
/* 13CB98 80249858 3C018000 */ lui $at, 0x8000
|
||||
/* 13CB9C 8024985C 14A10002 */ bne $a1, $at, .L80249868
|
||||
/* 13CBA0 80249860 00000000 */ nop
|
||||
/* 13CBA4 80249864 0006000D */ break 6
|
||||
.L80249868:
|
||||
/* 13CBA8 80249868 00002812 */ mflo $a1
|
||||
/* 13CBAC 8024986C 24840001 */ addiu $a0, $a0, 1
|
||||
/* 13CBB0 80249870 90630001 */ lbu $v1, 1($v1)
|
||||
/* 13CBB4 80249874 00041040 */ sll $v0, $a0, 1
|
||||
/* 13CBB8 80249878 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13CBBC 8024987C 00021080 */ sll $v0, $v0, 2
|
||||
/* 13CBC0 80249880 00441023 */ subu $v0, $v0, $a0
|
||||
/* 13CBC4 80249884 00031900 */ sll $v1, $v1, 4
|
||||
/* 13CBC8 80249888 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13CBCC 8024988C 00052900 */ sll $a1, $a1, 4
|
||||
/* 13CBD0 80249890 03E00008 */ jr $ra
|
||||
/* 13CBD4 80249894 00451021 */ addu $v0, $v0, $a1
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_get_row
|
||||
/* 13CC20 802498E0 3C038027 */ lui $v1, 0x8027
|
||||
/* 13CC24 802498E4 246304D0 */ addiu $v1, $v1, 0x4d0
|
||||
/* 13CC28 802498E8 00041040 */ sll $v0, $a0, 1
|
||||
/* 13CC2C 802498EC 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13CC30 802498F0 00021080 */ sll $v0, $v0, 2
|
||||
/* 13CC34 802498F4 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13CC38 802498F8 90430002 */ lbu $v1, 2($v0)
|
||||
/* 13CC3C 802498FC 14600002 */ bnez $v1, .L80249908
|
||||
/* 13CC40 80249900 00A3001A */ div $zero, $a1, $v1
|
||||
/* 13CC44 80249904 0007000D */ break 7
|
||||
.L80249908:
|
||||
/* 13CC48 80249908 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 13CC4C 8024990C 14610004 */ bne $v1, $at, .L80249920
|
||||
/* 13CC50 80249910 3C018000 */ lui $at, 0x8000
|
||||
/* 13CC54 80249914 14A10002 */ bne $a1, $at, .L80249920
|
||||
/* 13CC58 80249918 00000000 */ nop
|
||||
/* 13CC5C 8024991C 0006000D */ break 6
|
||||
.L80249920:
|
||||
/* 13CC60 80249920 00002812 */ mflo $a1
|
||||
/* 13CC64 80249924 90420001 */ lbu $v0, 1($v0)
|
||||
/* 13CC68 80249928 03E00008 */ jr $ra
|
||||
/* 13CC6C 8024992C 00451021 */ addu $v0, $v0, $a1
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_handle_input
|
||||
/* 13DB18 8024A7D8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DB1C 8024A7DC 8C6304C8 */ lw $v1, 0x4c8($v1)
|
||||
/* 13DB18 8024A7D8 3C038027 */ lui $v1, %hi(gItemMenuCurrentPage)
|
||||
/* 13DB1C 8024A7DC 8C6304C8 */ lw $v1, %lo(gItemMenuCurrentPage)($v1)
|
||||
/* 13DB20 8024A7E0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 13DB24 8024A7E4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 13DB28 8024A7E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
@ -13,10 +13,10 @@ glabel pause_items_handle_input
|
||||
/* 13DB38 8024A7F8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DB3C 8024A7FC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13DB40 8024A800 906304D2 */ lbu $v1, 0x4d2($v1)
|
||||
/* 13DB44 8024A804 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DB48 8024A808 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13DB4C 8024A80C 3C098027 */ lui $t1, 0x8027
|
||||
/* 13DB50 8024A810 8D2905C0 */ lw $t1, 0x5c0($t1)
|
||||
/* 13DB44 8024A804 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13DB48 8024A808 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13DB4C 8024A80C 3C098027 */ lui $t1, %hi(gItemMenuSelectedIndex)
|
||||
/* 13DB50 8024A810 8D2905C0 */ lw $t1, %lo(gItemMenuSelectedIndex)($t1)
|
||||
/* 13DB54 8024A814 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 13DB58 8024A818 14600002 */ bnez $v1, .L8024A824
|
||||
/* 13DB5C 8024A81C 0123001A */ div $zero, $t1, $v1
|
||||
@ -33,14 +33,14 @@ glabel pause_items_handle_input
|
||||
/* 13DB80 8024A840 00004010 */ mfhi $t0
|
||||
/* 13DB84 8024A844 10400015 */ beqz $v0, .L8024A89C
|
||||
/* 13DB88 8024A848 00000000 */ nop
|
||||
/* 13DB8C 8024A84C 3C048027 */ lui $a0, 0x8027
|
||||
/* 13DB90 8024A850 248405E0 */ addiu $a0, $a0, 0x5e0
|
||||
/* 13DB8C 8024A84C 3C048027 */ lui $a0, %hi(gItemMenuLevel)
|
||||
/* 13DB90 8024A850 248405E0 */ addiu $a0, $a0, %lo(gItemMenuLevel)
|
||||
/* 13DB94 8024A854 8C820000 */ lw $v0, ($a0)
|
||||
/* 13DB98 8024A858 14400010 */ bnez $v0, .L8024A89C
|
||||
/* 13DB9C 8024A85C 00091040 */ sll $v0, $t1, 1
|
||||
/* 13DBA0 8024A860 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DBA0 8024A860 3C038027 */ lui $v1, %hi(gItemMenuItemIDs)
|
||||
/* 13DBA4 8024A864 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13DBA8 8024A868 84630400 */ lh $v1, 0x400($v1)
|
||||
/* 13DBA8 8024A868 84630400 */ lh $v1, %lo(gItemMenuItemIDs)($v1)
|
||||
/* 13DBAC 8024A86C 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13DBB0 8024A870 14620005 */ bne $v1, $v0, .L8024A888
|
||||
/* 13DBB4 8024A874 24020001 */ addiu $v0, $zero, 1
|
||||
@ -55,18 +55,18 @@ glabel pause_items_handle_input
|
||||
/* 13DBD4 8024A894 08092B11 */ j .L8024AC44
|
||||
/* 13DBD8 8024A898 00000000 */ nop
|
||||
.L8024A89C:
|
||||
/* 13DBDC 8024A89C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DBE0 8024A8A0 844205CC */ lh $v0, 0x5cc($v0)
|
||||
/* 13DBDC 8024A89C 3C028027 */ lui $v0, %hi(gItemMenuNumItems)
|
||||
/* 13DBE0 8024A8A0 844205CC */ lh $v0, %lo(gItemMenuNumItems)($v0)
|
||||
/* 13DBE4 8024A8A4 104000B1 */ beqz $v0, .L8024AB6C
|
||||
/* 13DBE8 8024A8A8 00000000 */ nop
|
||||
/* 13DBEC 8024A8AC 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DBF0 8024A8B0 8C4205E0 */ lw $v0, 0x5e0($v0)
|
||||
/* 13DBEC 8024A8AC 3C028027 */ lui $v0, %hi(gItemMenuLevel)
|
||||
/* 13DBF0 8024A8B0 8C4205E0 */ lw $v0, %lo(gItemMenuLevel)($v0)
|
||||
/* 13DBF4 8024A8B4 14400015 */ bnez $v0, .L8024A90C
|
||||
/* 13DBF8 8024A8B8 3C020001 */ lui $v0, 1
|
||||
/* 13DBFC 8024A8BC 3C108027 */ lui $s0, 0x8027
|
||||
/* 13DC00 8024A8C0 261005E4 */ addiu $s0, $s0, 0x5e4
|
||||
/* 13DC04 8024A8C4 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DC08 8024A8C8 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13DBFC 8024A8BC 3C108027 */ lui $s0, %hi(gItemMenuCurrentTab)
|
||||
/* 13DC00 8024A8C0 261005E4 */ addiu $s0, $s0, %lo(gItemMenuCurrentTab)
|
||||
/* 13DC04 8024A8C4 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DC08 8024A8C8 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13DC0C 8024A8CC 3C030003 */ lui $v1, 3
|
||||
/* 13DC10 8024A8D0 00431024 */ and $v0, $v0, $v1
|
||||
/* 13DC14 8024A8D4 8E030000 */ lw $v1, ($s0)
|
||||
@ -85,8 +85,8 @@ glabel pause_items_handle_input
|
||||
/* 13DC44 8024A904 08092ADB */ j .L8024AB6C
|
||||
/* 13DC48 8024A908 00000000 */ nop
|
||||
.L8024A90C:
|
||||
/* 13DC4C 8024A90C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DC50 8024A910 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13DC4C 8024A90C 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DC50 8024A910 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13DC54 8024A914 34422000 */ ori $v0, $v0, 0x2000
|
||||
/* 13DC58 8024A918 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DC5C 8024A91C 10400022 */ beqz $v0, .L8024A9A8
|
||||
@ -97,8 +97,8 @@ glabel pause_items_handle_input
|
||||
/* 13DC70 8024A930 04A20001 */ bltzl $a1, .L8024A938
|
||||
/* 13DC74 8024A934 0000282D */ daddu $a1, $zero, $zero
|
||||
.L8024A938:
|
||||
/* 13DC78 8024A938 3C048027 */ lui $a0, 0x8027
|
||||
/* 13DC7C 8024A93C 248404C8 */ addiu $a0, $a0, 0x4c8
|
||||
/* 13DC78 8024A938 3C048027 */ lui $a0, %hi(gItemMenuCurrentPage)
|
||||
/* 13DC7C 8024A93C 248404C8 */ addiu $a0, $a0, %lo(gItemMenuCurrentPage)
|
||||
/* 13DC80 8024A940 8C830000 */ lw $v1, ($a0)
|
||||
/* 13DC84 8024A944 00031040 */ sll $v0, $v1, 1
|
||||
/* 13DC88 8024A948 00431021 */ addu $v0, $v0, $v1
|
||||
@ -112,8 +112,8 @@ glabel pause_items_handle_input
|
||||
/* 13DCA8 8024A968 08092A6A */ j .L8024A9A8
|
||||
/* 13DCAC 8024A96C AC820000 */ sw $v0, ($a0)
|
||||
.L8024A970:
|
||||
/* 13DCB0 8024A970 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DCB4 8024A974 246304C8 */ addiu $v1, $v1, 0x4c8
|
||||
/* 13DCB0 8024A970 3C038027 */ lui $v1, %hi(gItemMenuCurrentPage)
|
||||
/* 13DCB4 8024A974 246304C8 */ addiu $v1, $v1, %lo(gItemMenuCurrentPage)
|
||||
/* 13DCB8 8024A978 8C620000 */ lw $v0, ($v1)
|
||||
/* 13DCBC 8024A97C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 13DCC0 8024A980 04410002 */ bgez $v0, .L8024A98C
|
||||
@ -129,8 +129,8 @@ glabel pause_items_handle_input
|
||||
/* 13DCE4 8024A9A4 90A504D1 */ lbu $a1, 0x4d1($a1)
|
||||
.L8024A9A8:
|
||||
/* 13DCE8 8024A9A8 3C020002 */ lui $v0, 2
|
||||
/* 13DCEC 8024A9AC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DCF0 8024A9B0 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13DCEC 8024A9AC 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DCF0 8024A9B0 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13DCF4 8024A9B4 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 13DCF8 8024A9B8 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DCFC 8024A9BC 10400030 */ beqz $v0, .L8024AA80
|
||||
@ -138,11 +138,11 @@ glabel pause_items_handle_input
|
||||
/* 13DD04 8024A9C4 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DD08 8024A9C8 1040001C */ beqz $v0, .L8024AA3C
|
||||
/* 13DD0C 8024A9CC 00000000 */ nop
|
||||
/* 13DD10 8024A9D0 3C068027 */ lui $a2, 0x8027
|
||||
/* 13DD14 8024A9D4 24C604C8 */ addiu $a2, $a2, 0x4c8
|
||||
/* 13DD10 8024A9D0 3C068027 */ lui $a2, %hi(gItemMenuCurrentPage)
|
||||
/* 13DD14 8024A9D4 24C604C8 */ addiu $a2, $a2, %lo(gItemMenuCurrentPage)
|
||||
/* 13DD18 8024A9D8 8CC40000 */ lw $a0, ($a2)
|
||||
/* 13DD1C 8024A9DC 3C078027 */ lui $a3, 0x8027
|
||||
/* 13DD20 8024A9E0 24E704D0 */ addiu $a3, $a3, 0x4d0
|
||||
/* 13DD1C 8024A9DC 3C078027 */ lui $a3, %hi(gItemMenuPages)
|
||||
/* 13DD20 8024A9E0 24E704D0 */ addiu $a3, $a3, %lo(gItemMenuPages)
|
||||
/* 13DD24 8024A9E4 00041040 */ sll $v0, $a0, 1
|
||||
/* 13DD28 8024A9E8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 13DD2C 8024A9EC 00021080 */ sll $v0, $v0, 2
|
||||
@ -166,11 +166,11 @@ glabel pause_items_handle_input
|
||||
/* 13DD74 8024AA34 08092AA0 */ j .L8024AA80
|
||||
/* 13DD78 8024AA38 24A5FFFF */ addiu $a1, $a1, -1
|
||||
.L8024AA3C:
|
||||
/* 13DD7C 8024AA3C 3C068027 */ lui $a2, 0x8027
|
||||
/* 13DD80 8024AA40 24C604C8 */ addiu $a2, $a2, 0x4c8
|
||||
/* 13DD7C 8024AA3C 3C068027 */ lui $a2, %hi(gItemMenuCurrentPage)
|
||||
/* 13DD80 8024AA40 24C604C8 */ addiu $a2, $a2, %lo(gItemMenuCurrentPage)
|
||||
/* 13DD84 8024AA44 8CC70000 */ lw $a3, ($a2)
|
||||
/* 13DD88 8024AA48 3C048027 */ lui $a0, 0x8027
|
||||
/* 13DD8C 8024AA4C 248404D0 */ addiu $a0, $a0, 0x4d0
|
||||
/* 13DD88 8024AA48 3C048027 */ lui $a0, %hi(gItemMenuPages)
|
||||
/* 13DD8C 8024AA4C 248404D0 */ addiu $a0, $a0, %lo(gItemMenuPages)
|
||||
/* 13DD90 8024AA50 24E30001 */ addiu $v1, $a3, 1
|
||||
/* 13DD94 8024AA54 00031040 */ sll $v0, $v1, 1
|
||||
/* 13DD98 8024AA58 00431021 */ addu $v0, $v0, $v1
|
||||
@ -185,8 +185,8 @@ glabel pause_items_handle_input
|
||||
.L8024AA7C:
|
||||
/* 13DDBC 8024AA7C 90650001 */ lbu $a1, 1($v1)
|
||||
.L8024AA80:
|
||||
/* 13DDC0 8024AA80 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DDC4 8024AA84 8C6304C8 */ lw $v1, 0x4c8($v1)
|
||||
/* 13DDC0 8024AA80 3C038027 */ lui $v1, %hi(gItemMenuCurrentPage)
|
||||
/* 13DDC4 8024AA84 8C6304C8 */ lw $v1, %lo(gItemMenuCurrentPage)($v1)
|
||||
/* 13DDC8 8024AA88 00031040 */ sll $v0, $v1, 1
|
||||
/* 13DDCC 8024AA8C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13DDD0 8024AA90 00021080 */ sll $v0, $v0, 2
|
||||
@ -196,14 +196,14 @@ glabel pause_items_handle_input
|
||||
/* 13DDE0 8024AAA0 00A40018 */ mult $a1, $a0
|
||||
/* 13DDE4 8024AAA4 00005012 */ mflo $t2
|
||||
/* 13DDE8 8024AAA8 000A1040 */ sll $v0, $t2, 1
|
||||
/* 13DDEC 8024AAAC 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DDEC 8024AAAC 3C038027 */ lui $v1, %hi(gItemMenuItemIDs)
|
||||
/* 13DDF0 8024AAB0 00621821 */ addu $v1, $v1, $v0
|
||||
/* 13DDF4 8024AAB4 84630400 */ lh $v1, 0x400($v1)
|
||||
/* 13DDF4 8024AAB4 84630400 */ lh $v1, %lo(gItemMenuItemIDs)($v1)
|
||||
/* 13DDF8 8024AAB8 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13DDFC 8024AABC 10620012 */ beq $v1, $v0, .L8024AB08
|
||||
/* 13DE00 8024AAC0 3C020004 */ lui $v0, 4
|
||||
/* 13DE04 8024AAC4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DE08 8024AAC8 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13DE04 8024AAC4 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13DE08 8024AAC8 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13DE0C 8024AACC 00621024 */ and $v0, $v1, $v0
|
||||
/* 13DE10 8024AAD0 10400006 */ beqz $v0, .L8024AAEC
|
||||
/* 13DE14 8024AAD4 3C020008 */ lui $v0, 8
|
||||
@ -223,8 +223,8 @@ glabel pause_items_handle_input
|
||||
.L8024AB08:
|
||||
/* 13DE48 8024AB08 0000402D */ daddu $t0, $zero, $zero
|
||||
.L8024AB0C:
|
||||
/* 13DE4C 8024AB0C 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DE50 8024AB10 8C6304C8 */ lw $v1, 0x4c8($v1)
|
||||
/* 13DE4C 8024AB0C 3C038027 */ lui $v1, %hi(gItemMenuCurrentPage)
|
||||
/* 13DE50 8024AB10 8C6304C8 */ lw $v1, %lo(gItemMenuCurrentPage)($v1)
|
||||
/* 13DE54 8024AB14 00031040 */ sll $v0, $v1, 1
|
||||
/* 13DE58 8024AB18 00431021 */ addu $v0, $v0, $v1
|
||||
/* 13DE5C 8024AB1C 00021080 */ sll $v0, $v0, 2
|
||||
@ -232,8 +232,8 @@ glabel pause_items_handle_input
|
||||
/* 13DE64 8024AB24 00220821 */ addu $at, $at, $v0
|
||||
/* 13DE68 8024AB28 902204D2 */ lbu $v0, 0x4d2($at)
|
||||
/* 13DE6C 8024AB2C 00A20018 */ mult $a1, $v0
|
||||
/* 13DE70 8024AB30 3C108027 */ lui $s0, 0x8027
|
||||
/* 13DE74 8024AB34 261005C0 */ addiu $s0, $s0, 0x5c0
|
||||
/* 13DE70 8024AB30 3C108027 */ lui $s0, %hi(gItemMenuSelectedIndex)
|
||||
/* 13DE74 8024AB34 261005C0 */ addiu $s0, $s0, %lo(gItemMenuSelectedIndex)
|
||||
/* 13DE78 8024AB38 00005012 */ mflo $t2
|
||||
/* 13DE7C 8024AB3C 010A1021 */ addu $v0, $t0, $t2
|
||||
/* 13DE80 8024AB40 10490003 */ beq $v0, $t1, .L8024AB50
|
||||
@ -243,19 +243,19 @@ glabel pause_items_handle_input
|
||||
.L8024AB50:
|
||||
/* 13DE90 8024AB50 8E020000 */ lw $v0, ($s0)
|
||||
/* 13DE94 8024AB54 00021040 */ sll $v0, $v0, 1
|
||||
/* 13DE98 8024AB58 3C018027 */ lui $at, 0x8027
|
||||
/* 13DE98 8024AB58 3C018027 */ lui $at, %hi(gItemMenuItemIDs)
|
||||
/* 13DE9C 8024AB5C 00220821 */ addu $at, $at, $v0
|
||||
/* 13DEA0 8024AB60 84220400 */ lh $v0, 0x400($at)
|
||||
/* 13DEA4 8024AB64 3C018027 */ lui $at, 0x8027
|
||||
/* 13DEA8 8024AB68 AC2205C8 */ sw $v0, 0x5c8($at)
|
||||
/* 13DEA0 8024AB60 84220400 */ lh $v0, %lo(gItemMenuItemIDs)($at)
|
||||
/* 13DEA4 8024AB64 3C018027 */ lui $at, %hi(gItemMenuSelectedItemID)
|
||||
/* 13DEA8 8024AB68 AC2205C8 */ sw $v0, %lo(gItemMenuSelectedItemID)($at)
|
||||
.L8024AB6C:
|
||||
/* 13DEAC 8024AB6C 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DEB0 8024AB70 8C4205E0 */ lw $v0, 0x5e0($v0)
|
||||
/* 13DEAC 8024AB6C 3C028027 */ lui $v0, %hi(gItemMenuLevel)
|
||||
/* 13DEB0 8024AB70 8C4205E0 */ lw $v0, %lo(gItemMenuLevel)($v0)
|
||||
/* 13DEB4 8024AB74 24030001 */ addiu $v1, $zero, 1
|
||||
/* 13DEB8 8024AB78 14430014 */ bne $v0, $v1, .L8024ABCC
|
||||
/* 13DEBC 8024AB7C 00000000 */ nop
|
||||
/* 13DEC0 8024AB80 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DEC4 8024AB84 8C6305C8 */ lw $v1, 0x5c8($v1)
|
||||
/* 13DEC0 8024AB80 3C038027 */ lui $v1, %hi(gItemMenuSelectedItemID)
|
||||
/* 13DEC4 8024AB84 8C6305C8 */ lw $v1, %lo(gItemMenuSelectedItemID)($v1)
|
||||
/* 13DEC8 8024AB88 24628002 */ addiu $v0, $v1, -0x7ffe
|
||||
/* 13DECC 8024AB8C 2C420002 */ sltiu $v0, $v0, 2
|
||||
/* 13DED0 8024AB90 1440000A */ bnez $v0, .L8024ABBC
|
||||
@ -265,44 +265,44 @@ glabel pause_items_handle_input
|
||||
/* 13DEE0 8024ABA0 3C018008 */ lui $at, %hi(gItemTable+0x10)
|
||||
/* 13DEE4 8024ABA4 00220821 */ addu $at, $at, $v0
|
||||
/* 13DEE8 8024ABA8 8C2278F0 */ lw $v0, %lo(gItemTable+0x10)($at)
|
||||
/* 13DEEC 8024ABAC 3C018027 */ lui $at, 0x8027
|
||||
/* 13DEF0 8024ABB0 AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13DEEC 8024ABAC 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13DEF0 8024ABB0 AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13DEF4 8024ABB4 08092AFE */ j .L8024ABF8
|
||||
/* 13DEF8 8024ABB8 00000000 */ nop
|
||||
.L8024ABBC:
|
||||
/* 13DEFC 8024ABBC 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF00 8024ABC0 AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 13DEFC 8024ABBC 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13DF00 8024ABC0 AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 13DF04 8024ABC4 08092AFC */ j .L8024ABF0
|
||||
/* 13DF08 8024ABC8 00000000 */ nop
|
||||
.L8024ABCC:
|
||||
/* 13DF0C 8024ABCC 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DF10 8024ABD0 8C4205E4 */ lw $v0, 0x5e4($v0)
|
||||
/* 13DF0C 8024ABCC 3C028027 */ lui $v0, %hi(gItemMenuCurrentTab)
|
||||
/* 13DF10 8024ABD0 8C4205E4 */ lw $v0, %lo(gItemMenuCurrentTab)($v0)
|
||||
/* 13DF14 8024ABD4 14430002 */ bne $v0, $v1, .L8024ABE0
|
||||
/* 13DF18 8024ABD8 24040052 */ addiu $a0, $zero, 0x52
|
||||
/* 13DF1C 8024ABDC 24040051 */ addiu $a0, $zero, 0x51
|
||||
.L8024ABE0:
|
||||
/* 13DF20 8024ABE0 0C093BA0 */ jal pause_get_menu_string
|
||||
/* 13DF24 8024ABE4 00000000 */ nop
|
||||
/* 13DF28 8024ABE8 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF2C 8024ABEC AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13DF28 8024ABE8 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13DF2C 8024ABEC AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L8024ABF0:
|
||||
/* 13DF30 8024ABF0 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF34 8024ABF4 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13DF30 8024ABF0 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13DF34 8024ABF4 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
.L8024ABF8:
|
||||
/* 13DF38 8024ABF8 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DF3C 8024ABFC 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13DF38 8024ABF8 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13DF3C 8024ABFC 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13DF40 8024AC00 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 13DF44 8024AC04 1040000F */ beqz $v0, .L8024AC44
|
||||
/* 13DF48 8024AC08 00000000 */ nop
|
||||
/* 13DF4C 8024AC0C 3C108027 */ lui $s0, 0x8027
|
||||
/* 13DF50 8024AC10 261005E0 */ addiu $s0, $s0, 0x5e0
|
||||
/* 13DF4C 8024AC0C 3C108027 */ lui $s0, %hi(gItemMenuLevel)
|
||||
/* 13DF50 8024AC10 261005E0 */ addiu $s0, $s0, %lo(gItemMenuLevel)
|
||||
/* 13DF54 8024AC14 8E020000 */ lw $v0, ($s0)
|
||||
/* 13DF58 8024AC18 14400007 */ bnez $v0, .L8024AC38
|
||||
/* 13DF5C 8024AC1C 00000000 */ nop
|
||||
/* 13DF60 8024AC20 0C05272D */ jal play_sound
|
||||
/* 13DF64 8024AC24 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13DF68 8024AC28 3C018027 */ lui $at, 0x8027
|
||||
/* 13DF6C 8024AC2C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13DF68 8024AC28 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13DF6C 8024AC2C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 13DF70 8024AC30 08092B11 */ j .L8024AC44
|
||||
/* 13DF74 8024AC34 00000000 */ nop
|
||||
.L8024AC38:
|
||||
|
@ -9,10 +9,10 @@ glabel pause_items_init
|
||||
/* 13DA64 8024A724 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 13DA68 8024A728 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 13DA6C 8024A72C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13DA70 8024A730 3C018027 */ lui $at, 0x8027
|
||||
/* 13DA74 8024A734 AC2005E0 */ sw $zero, 0x5e0($at)
|
||||
/* 13DA78 8024A738 3C018027 */ lui $at, 0x8027
|
||||
/* 13DA7C 8024A73C AC2005E4 */ sw $zero, 0x5e4($at)
|
||||
/* 13DA70 8024A730 3C018027 */ lui $at, %hi(gItemMenuLevel)
|
||||
/* 13DA74 8024A734 AC2005E0 */ sw $zero, %lo(gItemMenuLevel)($at)
|
||||
/* 13DA78 8024A738 3C018027 */ lui $at, %hi(gItemMenuCurrentTab)
|
||||
/* 13DA7C 8024A73C AC2005E4 */ sw $zero, %lo(gItemMenuCurrentTab)($at)
|
||||
/* 13DA80 8024A740 0C092937 */ jal pause_items_load_items
|
||||
/* 13DA84 8024A744 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13DA88 8024A748 0000802D */ daddu $s0, $zero, $zero
|
||||
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_is_visible
|
||||
/* 13CC70 80249930 3C038027 */ lui $v1, 0x8027
|
||||
/* 13CC74 80249934 8C6305D4 */ lw $v1, 0x5d4($v1)
|
||||
/* 13CC78 80249938 2462FFE0 */ addiu $v0, $v1, -0x20
|
||||
/* 13CC7C 8024993C 0082102A */ slt $v0, $a0, $v0
|
||||
/* 13CC80 80249940 14400003 */ bnez $v0, .L80249950
|
||||
/* 13CC84 80249944 24620080 */ addiu $v0, $v1, 0x80
|
||||
/* 13CC88 80249948 03E00008 */ jr $ra
|
||||
/* 13CC8C 8024994C 0082102A */ slt $v0, $a0, $v0
|
||||
.L80249950:
|
||||
/* 13CC90 80249950 03E00008 */ jr $ra
|
||||
/* 13CC94 80249954 0000102D */ daddu $v0, $zero, $zero
|
@ -8,14 +8,14 @@ glabel pause_items_load_items
|
||||
/* 13D828 8024A4E8 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 13D82C 8024A4EC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 13D830 8024A4F0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 13D834 8024A4F4 3C018027 */ lui $at, 0x8027
|
||||
/* 13D838 8024A4F8 AC2005D0 */ sw $zero, 0x5d0($at)
|
||||
/* 13D834 8024A4F4 3C018027 */ lui $at, %hi(D_802705D0)
|
||||
/* 13D838 8024A4F8 AC2005D0 */ sw $zero, %lo(D_802705D0)($at)
|
||||
/* 13D83C 8024A4FC 14820011 */ bne $a0, $v0, .L8024A544
|
||||
/* 13D840 8024A500 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 13D844 8024A504 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 13D848 8024A508 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 13D84C 8024A50C 3C058027 */ lui $a1, 0x8027
|
||||
/* 13D850 8024A510 24A50400 */ addiu $a1, $a1, 0x400
|
||||
/* 13D84C 8024A50C 3C058027 */ lui $a1, %hi(gItemMenuItemIDs)
|
||||
/* 13D850 8024A510 24A50400 */ addiu $a1, $a1, %lo(gItemMenuItemIDs)
|
||||
.L8024A514:
|
||||
/* 13D854 8024A514 84C201B4 */ lh $v0, 0x1b4($a2)
|
||||
/* 13D858 8024A518 94C301B4 */ lhu $v1, 0x1b4($a2)
|
||||
@ -33,8 +33,8 @@ glabel pause_items_load_items
|
||||
.L8024A544:
|
||||
/* 13D884 8024A544 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13D888 8024A548 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 13D88C 8024A54C 3C058027 */ lui $a1, 0x8027
|
||||
/* 13D890 8024A550 24A50400 */ addiu $a1, $a1, 0x400
|
||||
/* 13D88C 8024A54C 3C058027 */ lui $a1, %hi(gItemMenuItemIDs)
|
||||
/* 13D890 8024A550 24A50400 */ addiu $a1, $a1, %lo(gItemMenuItemIDs)
|
||||
.L8024A554:
|
||||
/* 13D894 8024A554 84C20074 */ lh $v0, 0x74($a2)
|
||||
/* 13D898 8024A558 94C30074 */ lhu $v1, 0x74($a2)
|
||||
@ -50,26 +50,26 @@ glabel pause_items_load_items
|
||||
.L8024A57C:
|
||||
/* 13D8BC 8024A57C 16000005 */ bnez $s0, .L8024A594
|
||||
/* 13D8C0 8024A580 24027FFE */ addiu $v0, $zero, 0x7ffe
|
||||
/* 13D8C4 8024A584 3C018027 */ lui $at, 0x8027
|
||||
/* 13D8C8 8024A588 A4220400 */ sh $v0, 0x400($at)
|
||||
/* 13D8C4 8024A584 3C018027 */ lui $at, %hi(gItemMenuItemIDs)
|
||||
/* 13D8C8 8024A588 A4220400 */ sh $v0, %lo(gItemMenuItemIDs)($at)
|
||||
/* 13D8CC 8024A58C 0809296B */ j .L8024A5AC
|
||||
/* 13D8D0 8024A590 24100001 */ addiu $s0, $zero, 1
|
||||
.L8024A594:
|
||||
/* 13D8D4 8024A594 3C048027 */ lui $a0, 0x8027
|
||||
/* 13D8D8 8024A598 24840400 */ addiu $a0, $a0, 0x400
|
||||
/* 13D8D4 8024A594 3C048027 */ lui $a0, %hi(gItemMenuItemIDs)
|
||||
/* 13D8D8 8024A598 24840400 */ addiu $a0, $a0, %lo(gItemMenuItemIDs)
|
||||
/* 13D8DC 8024A59C 3C068025 */ lui $a2, %hi(pause_items_comparator)
|
||||
/* 13D8E0 8024A5A0 24C697B0 */ addiu $a2, $a2, %lo(pause_items_comparator)
|
||||
/* 13D8E4 8024A5A4 0C091293 */ jal pause_sort_item_list
|
||||
/* 13D8E8 8024A5A8 0200282D */ daddu $a1, $s0, $zero
|
||||
.L8024A5AC:
|
||||
/* 13D8EC 8024A5AC 3C018027 */ lui $at, 0x8027
|
||||
/* 13D8F0 8024A5B0 A43005CC */ sh $s0, 0x5cc($at)
|
||||
/* 13D8EC 8024A5AC 3C018027 */ lui $at, %hi(gItemMenuNumItems)
|
||||
/* 13D8F0 8024A5B0 A43005CC */ sh $s0, %lo(gItemMenuNumItems)($at)
|
||||
/* 13D8F4 8024A5B4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 13D8F8 8024A5B8 28820064 */ slti $v0, $a0, 0x64
|
||||
/* 13D8FC 8024A5BC 1040000A */ beqz $v0, .L8024A5E8
|
||||
/* 13D900 8024A5C0 24057FFF */ addiu $a1, $zero, 0x7fff
|
||||
/* 13D904 8024A5C4 3C038027 */ lui $v1, 0x8027
|
||||
/* 13D908 8024A5C8 24630400 */ addiu $v1, $v1, 0x400
|
||||
/* 13D904 8024A5C4 3C038027 */ lui $v1, %hi(gItemMenuItemIDs)
|
||||
/* 13D908 8024A5C8 24630400 */ addiu $v1, $v1, %lo(gItemMenuItemIDs)
|
||||
/* 13D90C 8024A5CC 00041040 */ sll $v0, $a0, 1
|
||||
/* 13D910 8024A5D0 00431821 */ addu $v1, $v0, $v1
|
||||
.L8024A5D4:
|
||||
@ -79,25 +79,25 @@ glabel pause_items_load_items
|
||||
/* 13D920 8024A5E0 1440FFFC */ bnez $v0, .L8024A5D4
|
||||
/* 13D924 8024A5E4 24630002 */ addiu $v1, $v1, 2
|
||||
.L8024A5E8:
|
||||
/* 13D928 8024A5E8 3C058027 */ lui $a1, 0x8027
|
||||
/* 13D92C 8024A5EC 24A504D0 */ addiu $a1, $a1, 0x4d0
|
||||
/* 13D928 8024A5E8 3C058027 */ lui $a1, %hi(gItemMenuPages)
|
||||
/* 13D92C 8024A5EC 24A504D0 */ addiu $a1, $a1, %lo(gItemMenuPages)
|
||||
/* 13D930 8024A5F0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 13D934 8024A5F4 3C078027 */ lui $a3, 0x8027
|
||||
/* 13D938 8024A5F8 24E705CC */ addiu $a3, $a3, 0x5cc
|
||||
/* 13D934 8024A5F4 3C078027 */ lui $a3, %hi(gItemMenuNumItems)
|
||||
/* 13D938 8024A5F8 24E705CC */ addiu $a3, $a3, %lo(gItemMenuNumItems)
|
||||
/* 13D93C 8024A5FC 24060001 */ addiu $a2, $zero, 1
|
||||
/* 13D940 8024A600 24090008 */ addiu $t1, $zero, 8
|
||||
/* 13D944 8024A604 24080008 */ addiu $t0, $zero, 8
|
||||
/* 13D948 8024A608 00A81821 */ addu $v1, $a1, $t0
|
||||
/* 13D94C 8024A60C 3C018027 */ lui $at, 0x8027
|
||||
/* 13D950 8024A610 AC2005C0 */ sw $zero, 0x5c0($at)
|
||||
/* 13D954 8024A614 3C018027 */ lui $at, 0x8027
|
||||
/* 13D958 8024A618 AC2005C8 */ sw $zero, 0x5c8($at)
|
||||
/* 13D94C 8024A60C 3C018027 */ lui $at, %hi(gItemMenuSelectedIndex)
|
||||
/* 13D950 8024A610 AC2005C0 */ sw $zero, %lo(gItemMenuSelectedIndex)($at)
|
||||
/* 13D954 8024A614 3C018027 */ lui $at, %hi(gItemMenuSelectedItemID)
|
||||
/* 13D958 8024A618 AC2005C8 */ sw $zero, %lo(gItemMenuSelectedItemID)($at)
|
||||
/* 13D95C 8024A61C 3C018027 */ lui $at, 0x8027
|
||||
/* 13D960 8024A620 AC2005C4 */ sw $zero, 0x5c4($at)
|
||||
/* 13D964 8024A624 3C018027 */ lui $at, 0x8027
|
||||
/* 13D968 8024A628 AC2005DC */ sw $zero, 0x5dc($at)
|
||||
/* 13D96C 8024A62C 3C018027 */ lui $at, 0x8027
|
||||
/* 13D970 8024A630 AC2004C8 */ sw $zero, 0x4c8($at)
|
||||
/* 13D964 8024A624 3C018027 */ lui $at, %hi(D_802705DC)
|
||||
/* 13D968 8024A628 AC2005DC */ sw $zero, %lo(D_802705DC)($at)
|
||||
/* 13D96C 8024A62C 3C018027 */ lui $at, %hi(gItemMenuCurrentPage)
|
||||
/* 13D970 8024A630 AC2004C8 */ sw $zero, %lo(gItemMenuCurrentPage)($at)
|
||||
.L8024A634:
|
||||
/* 13D974 8024A634 84E20000 */ lh $v0, ($a3)
|
||||
/* 13D978 8024A638 04420001 */ bltzl $v0, .L8024A640
|
||||
@ -155,9 +155,9 @@ glabel pause_items_load_items
|
||||
/* 13DA30 8024A6F0 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 13DA34 8024A6F4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 13DA38 8024A6F8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 13DA3C 8024A6FC 3C018027 */ lui $at, 0x8027
|
||||
/* 13DA40 8024A700 AC2205D4 */ sw $v0, 0x5d4($at)
|
||||
/* 13DA44 8024A704 3C018027 */ lui $at, 0x8027
|
||||
/* 13DA48 8024A708 AC2205D8 */ sw $v0, 0x5d8($at)
|
||||
/* 13DA3C 8024A6FC 3C018027 */ lui $at, %hi(gItemMenuCurrentScrollPos)
|
||||
/* 13DA40 8024A700 AC2205D4 */ sw $v0, %lo(gItemMenuCurrentScrollPos)($at)
|
||||
/* 13DA44 8024A704 3C018027 */ lui $at, %hi(gItemMenuTargetScrollPos)
|
||||
/* 13DA48 8024A708 AC2205D8 */ sw $v0, %lo(gItemMenuTargetScrollPos)($at)
|
||||
/* 13DA4C 8024A70C 03E00008 */ jr $ra
|
||||
/* 13DA50 8024A710 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
|
@ -1,8 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel pause_items_scroll_offset_y
|
||||
/* 13CC98 80249958 3C028027 */ lui $v0, 0x8027
|
||||
/* 13CC9C 8024995C 8C4205D4 */ lw $v0, 0x5d4($v0)
|
||||
/* 13CCA0 80249960 03E00008 */ jr $ra
|
||||
/* 13CCA4 80249964 00821023 */ subu $v0, $a0, $v0
|
@ -3,10 +3,10 @@
|
||||
|
||||
glabel pause_items_update
|
||||
/* 13DF94 8024AC54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 13DF98 8024AC58 3C038027 */ lui $v1, 0x8027
|
||||
/* 13DF9C 8024AC5C 8C6304C8 */ lw $v1, 0x4c8($v1)
|
||||
/* 13DFA0 8024AC60 3C048027 */ lui $a0, 0x8027
|
||||
/* 13DFA4 8024AC64 248404D0 */ addiu $a0, $a0, 0x4d0
|
||||
/* 13DF98 8024AC58 3C038027 */ lui $v1, %hi(gItemMenuCurrentPage)
|
||||
/* 13DF9C 8024AC5C 8C6304C8 */ lw $v1, %lo(gItemMenuCurrentPage)($v1)
|
||||
/* 13DFA0 8024AC60 3C048027 */ lui $a0, %hi(gItemMenuPages)
|
||||
/* 13DFA4 8024AC64 248404D0 */ addiu $a0, $a0, %lo(gItemMenuPages)
|
||||
/* 13DFA8 8024AC68 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 13DFAC 8024AC6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 13DFB0 8024AC70 00031040 */ sll $v0, $v1, 1
|
||||
@ -14,8 +14,8 @@ glabel pause_items_update
|
||||
/* 13DFB8 8024AC78 00021080 */ sll $v0, $v0, 2
|
||||
/* 13DFBC 8024AC7C 00443021 */ addu $a2, $v0, $a0
|
||||
/* 13DFC0 8024AC80 90C30002 */ lbu $v1, 2($a2)
|
||||
/* 13DFC4 8024AC84 3C028027 */ lui $v0, 0x8027
|
||||
/* 13DFC8 8024AC88 8C4205C0 */ lw $v0, 0x5c0($v0)
|
||||
/* 13DFC4 8024AC84 3C028027 */ lui $v0, %hi(gItemMenuSelectedIndex)
|
||||
/* 13DFC8 8024AC88 8C4205C0 */ lw $v0, %lo(gItemMenuSelectedIndex)($v0)
|
||||
/* 13DFCC 8024AC8C 14600002 */ bnez $v1, .L8024AC98
|
||||
/* 13DFD0 8024AC90 0043001A */ div $zero, $v0, $v1
|
||||
/* 13DFD4 8024AC94 0007000D */ break 7
|
||||
@ -38,8 +38,8 @@ glabel pause_items_update
|
||||
/* 13E010 8024ACD0 10400005 */ beqz $v0, .L8024ACE8
|
||||
/* 13E014 8024ACD4 00000000 */ nop
|
||||
.L8024ACD8:
|
||||
/* 13E018 8024ACD8 3C018027 */ lui $at, 0x8027
|
||||
/* 13E01C 8024ACDC AC2005DC */ sw $zero, 0x5dc($at)
|
||||
/* 13E018 8024ACD8 3C018027 */ lui $at, %hi(D_802705DC)
|
||||
/* 13E01C 8024ACDC AC2005DC */ sw $zero, %lo(D_802705DC)($at)
|
||||
/* 13E020 8024ACE0 08092B4D */ j .L8024AD34
|
||||
/* 13E024 8024ACE4 00000000 */ nop
|
||||
.L8024ACE8:
|
||||
@ -48,13 +48,13 @@ glabel pause_items_update
|
||||
/* 13E030 8024ACF0 0082102A */ slt $v0, $a0, $v0
|
||||
/* 13E034 8024ACF4 14400005 */ bnez $v0, .L8024AD0C
|
||||
/* 13E038 8024ACF8 2462FFF8 */ addiu $v0, $v1, -8
|
||||
/* 13E03C 8024ACFC 3C018027 */ lui $at, 0x8027
|
||||
/* 13E040 8024AD00 AC2205DC */ sw $v0, 0x5dc($at)
|
||||
/* 13E03C 8024ACFC 3C018027 */ lui $at, %hi(D_802705DC)
|
||||
/* 13E040 8024AD00 AC2205DC */ sw $v0, %lo(D_802705DC)($at)
|
||||
/* 13E044 8024AD04 08092B4D */ j .L8024AD34
|
||||
/* 13E048 8024AD08 00000000 */ nop
|
||||
.L8024AD0C:
|
||||
/* 13E04C 8024AD0C 3C058027 */ lui $a1, 0x8027
|
||||
/* 13E050 8024AD10 24A505DC */ addiu $a1, $a1, 0x5dc
|
||||
/* 13E04C 8024AD0C 3C058027 */ lui $a1, %hi(D_802705DC)
|
||||
/* 13E050 8024AD10 24A505DC */ addiu $a1, $a1, %lo(D_802705DC)
|
||||
/* 13E054 8024AD14 8CA20000 */ lw $v0, ($a1)
|
||||
/* 13E058 8024AD18 00821823 */ subu $v1, $a0, $v0
|
||||
/* 13E05C 8024AD1C 28620007 */ slti $v0, $v1, 7
|
||||
@ -66,19 +66,19 @@ glabel pause_items_update
|
||||
/* 13E070 8024AD30 ACA20000 */ sw $v0, ($a1)
|
||||
.L8024AD34:
|
||||
/* 13E074 8024AD34 90C20002 */ lbu $v0, 2($a2)
|
||||
/* 13E078 8024AD38 3C058027 */ lui $a1, 0x8027
|
||||
/* 13E07C 8024AD3C 8CA505DC */ lw $a1, 0x5dc($a1)
|
||||
/* 13E078 8024AD38 3C058027 */ lui $a1, %hi(D_802705DC)
|
||||
/* 13E07C 8024AD3C 8CA505DC */ lw $a1, %lo(D_802705DC)($a1)
|
||||
/* 13E080 8024AD40 00A20018 */ mult $a1, $v0
|
||||
/* 13E084 8024AD44 3C048027 */ lui $a0, 0x8027
|
||||
/* 13E088 8024AD48 8C8404C8 */ lw $a0, 0x4c8($a0)
|
||||
/* 13E084 8024AD44 3C048027 */ lui $a0, %hi(gItemMenuCurrentPage)
|
||||
/* 13E088 8024AD48 8C8404C8 */ lw $a0, %lo(gItemMenuCurrentPage)($a0)
|
||||
/* 13E08C 8024AD4C 00002812 */ mflo $a1
|
||||
/* 13E090 8024AD50 0C09260A */ jal pause_items_get_pos_y
|
||||
/* 13E094 8024AD54 00000000 */ nop
|
||||
/* 13E098 8024AD58 3C108027 */ lui $s0, 0x8027
|
||||
/* 13E09C 8024AD5C 261005D4 */ addiu $s0, $s0, 0x5d4
|
||||
/* 13E098 8024AD58 3C108027 */ lui $s0, %hi(gItemMenuCurrentScrollPos)
|
||||
/* 13E09C 8024AD5C 261005D4 */ addiu $s0, $s0, %lo(gItemMenuCurrentScrollPos)
|
||||
/* 13E0A0 8024AD60 8E040000 */ lw $a0, ($s0)
|
||||
/* 13E0A4 8024AD64 3C018027 */ lui $at, 0x8027
|
||||
/* 13E0A8 8024AD68 AC2205D8 */ sw $v0, 0x5d8($at)
|
||||
/* 13E0A4 8024AD64 3C018027 */ lui $at, %hi(gItemMenuTargetScrollPos)
|
||||
/* 13E0A8 8024AD68 AC2205D8 */ sw $v0, %lo(gItemMenuTargetScrollPos)($at)
|
||||
/* 13E0AC 8024AD6C 0C090D1B */ jal pause_interp_vertical_scroll
|
||||
/* 13E0B0 8024AD70 00442023 */ subu $a0, $v0, $a0
|
||||
/* 13E0B4 8024AD74 8E030000 */ lw $v1, ($s0)
|
||||
|
@ -366,8 +366,8 @@ glabel pause_partners_draw_contents
|
||||
/* 13E7A8 8024B468 2463A66C */ addiu $v1, $v1, -0x5994
|
||||
/* 13E7AC 8024B46C 34A50002 */ ori $a1, $a1, 2
|
||||
/* 13E7B0 8024B470 8C620000 */ lw $v0, ($v1)
|
||||
/* 13E7B4 8024B474 3C128027 */ lui $s2, 0x8027
|
||||
/* 13E7B8 8024B478 265200D4 */ addiu $s2, $s2, 0xd4
|
||||
/* 13E7B4 8024B474 3C128027 */ lui $s2, %hi(gPauseMenuCurrentTab)
|
||||
/* 13E7B8 8024B478 265200D4 */ addiu $s2, $s2, %lo(gPauseMenuCurrentTab)
|
||||
/* 13E7BC 8024B47C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 13E7C0 8024B480 24420008 */ addiu $v0, $v0, 8
|
||||
/* 13E7C4 8024B484 AC620000 */ sw $v0, ($v1)
|
@ -175,8 +175,8 @@ glabel pause_partners_draw_movelist
|
||||
/* 13F2FC 8024BFBC 2A420004 */ slti $v0, $s2, 4
|
||||
/* 13F300 8024BFC0 1440FF8B */ bnez $v0, .L8024BDF0
|
||||
/* 13F304 8024BFC4 26730001 */ addiu $s3, $s3, 1
|
||||
/* 13F308 8024BFC8 3C038027 */ lui $v1, 0x8027
|
||||
/* 13F30C 8024BFCC 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 13F308 8024BFC8 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 13F30C 8024BFCC 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 13F310 8024BFD0 24020004 */ addiu $v0, $zero, 4
|
||||
/* 13F314 8024BFD4 14620010 */ bne $v1, $v0, .L8024C018
|
||||
/* 13F318 8024BFD8 24020001 */ addiu $v0, $zero, 1
|
@ -16,14 +16,14 @@ glabel pause_partners_handle_input
|
||||
/* 13F6A4 8024C364 8C4206AC */ lw $v0, 0x6ac($v0)
|
||||
/* 13F6A8 8024C368 10400006 */ beqz $v0, .L8024C384
|
||||
/* 13F6AC 8024C36C 00000000 */ nop
|
||||
/* 13F6B0 8024C370 3C028027 */ lui $v0, 0x8027
|
||||
/* 13F6B4 8024C374 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 13F6B0 8024C370 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 13F6B4 8024C374 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 13F6B8 8024C378 30422010 */ andi $v0, $v0, 0x2010
|
||||
/* 13F6BC 8024C37C 1040003E */ beqz $v0, .L8024C478
|
||||
/* 13F6C0 8024C380 00000000 */ nop
|
||||
.L8024C384:
|
||||
/* 13F6C4 8024C384 3C038027 */ lui $v1, 0x8027
|
||||
/* 13F6C8 8024C388 8C6300C0 */ lw $v1, 0xc0($v1)
|
||||
/* 13F6C4 8024C384 3C038027 */ lui $v1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13F6C8 8024C388 8C6300C0 */ lw $v1, %lo(gPauseMenuHeldButtons)($v1)
|
||||
/* 13F6CC 8024C38C 3C020004 */ lui $v0, 4
|
||||
/* 13F6D0 8024C390 00621024 */ and $v0, $v1, $v0
|
||||
/* 13F6D4 8024C394 10400002 */ beqz $v0, .L8024C3A0
|
||||
@ -162,8 +162,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F8B8 8024C578 50800001 */ beql $a0, $zero, .L8024C580
|
||||
/* 13F8BC 8024C57C 24040002 */ addiu $a0, $zero, 2
|
||||
.L8024C580:
|
||||
/* 13F8C0 8024C580 3C058027 */ lui $a1, 0x8027
|
||||
/* 13F8C4 8024C584 24A500C0 */ addiu $a1, $a1, 0xc0
|
||||
/* 13F8C0 8024C580 3C058027 */ lui $a1, %hi(gPauseMenuHeldButtons)
|
||||
/* 13F8C4 8024C584 24A500C0 */ addiu $a1, $a1, %lo(gPauseMenuHeldButtons)
|
||||
/* 13F8C8 8024C588 8CA20000 */ lw $v0, ($a1)
|
||||
/* 13F8CC 8024C58C 3C030001 */ lui $v1, 1
|
||||
/* 13F8D0 8024C590 00431024 */ and $v0, $v0, $v1
|
||||
@ -205,8 +205,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F950 8024C610 0C05272D */ jal play_sound
|
||||
/* 13F954 8024C614 240400C7 */ addiu $a0, $zero, 0xc7
|
||||
.L8024C618:
|
||||
/* 13F958 8024C618 3C028027 */ lui $v0, 0x8027
|
||||
/* 13F95C 8024C61C 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13F958 8024C618 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13F95C 8024C61C 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13F960 8024C620 30428000 */ andi $v0, $v0, 0x8000
|
||||
/* 13F964 8024C624 1040000E */ beqz $v0, .L8024C660
|
||||
/* 13F968 8024C628 00000000 */ nop
|
||||
@ -224,8 +224,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F998 8024C658 080931E4 */ j .L8024C790
|
||||
/* 13F99C 8024C65C 00000000 */ nop
|
||||
.L8024C660:
|
||||
/* 13F9A0 8024C660 3C028027 */ lui $v0, 0x8027
|
||||
/* 13F9A4 8024C664 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 13F9A0 8024C660 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 13F9A4 8024C664 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 13F9A8 8024C668 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 13F9AC 8024C66C 10400013 */ beqz $v0, .L8024C6BC
|
||||
/* 13F9B0 8024C670 00000000 */ nop
|
||||
@ -234,8 +234,8 @@ glabel pause_partners_handle_input
|
||||
/* 13F9BC 8024C67C 8C620000 */ lw $v0, ($v1)
|
||||
/* 13F9C0 8024C680 54400007 */ bnel $v0, $zero, .L8024C6A0
|
||||
/* 13F9C4 8024C684 AC600000 */ sw $zero, ($v1)
|
||||
/* 13F9C8 8024C688 3C018027 */ lui $at, 0x8027
|
||||
/* 13F9CC 8024C68C A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 13F9C8 8024C688 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 13F9CC 8024C68C A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 13F9D0 8024C690 0C05272D */ jal play_sound
|
||||
/* 13F9D4 8024C694 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 13F9D8 8024C698 080931E4 */ j .L8024C790
|
||||
@ -251,8 +251,8 @@ glabel pause_partners_handle_input
|
||||
.L8024C6BC:
|
||||
/* 13F9FC 8024C6BC 3C028027 */ lui $v0, 0x8027
|
||||
/* 13FA00 8024C6C0 8C4206AC */ lw $v0, 0x6ac($v0)
|
||||
/* 13FA04 8024C6C4 3C018027 */ lui $at, 0x8027
|
||||
/* 13FA08 8024C6C8 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 13FA04 8024C6C4 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 13FA08 8024C6C8 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 13FA0C 8024C6CC 1440000C */ bnez $v0, .L8024C700
|
||||
/* 13FA10 8024C6D0 00000000 */ nop
|
||||
/* 13FA14 8024C6D4 3C028027 */ lui $v0, 0x8027
|
||||
@ -304,8 +304,8 @@ glabel pause_partners_handle_input
|
||||
/* 13FAC0 8024C780 00220821 */ addu $at, $at, $v0
|
||||
/* 13FAC4 8024C784 8C22F06C */ lw $v0, -0xf94($at)
|
||||
.L8024C788:
|
||||
/* 13FAC8 8024C788 3C018027 */ lui $at, 0x8027
|
||||
/* 13FACC 8024C78C AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 13FAC8 8024C788 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 13FACC 8024C78C AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L8024C790:
|
||||
/* 13FAD0 8024C790 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 13FAD4 8024C794 8FB10014 */ lw $s1, 0x14($sp)
|
@ -525,8 +525,8 @@ glabel pause_spirits_draw_contents
|
||||
/* 140538 8024D1F8 AFB80044 */ sw $t8, 0x44($sp)
|
||||
/* 14053C 8024D1FC 0C03D4B8 */ jal draw_box
|
||||
/* 140540 8024D200 AFA20048 */ sw $v0, 0x48($sp)
|
||||
/* 140544 8024D204 3C038027 */ lui $v1, 0x8027
|
||||
/* 140548 8024D208 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 140544 8024D204 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 140548 8024D208 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 14054C 8024D20C 24020005 */ addiu $v0, $zero, 5
|
||||
/* 140550 8024D210 1462000E */ bne $v1, $v0, .L8024D24C
|
||||
/* 140554 8024D214 24040027 */ addiu $a0, $zero, 0x27
|
||||
|
@ -14,8 +14,8 @@ glabel pause_spirits_draw_title
|
||||
/* 1405F8 8024D2B8 0C039D59 */ jal get_player_data
|
||||
/* 1405FC 8024D2BC 00E0882D */ daddu $s1, $a3, $zero
|
||||
/* 140600 8024D2C0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 140604 8024D2C4 3C038027 */ lui $v1, 0x8027
|
||||
/* 140608 8024D2C8 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 140604 8024D2C4 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 140608 8024D2C8 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 14060C 8024D2CC 24020005 */ addiu $v0, $zero, 5
|
||||
/* 140610 8024D2D0 1462001C */ bne $v1, $v0, .L8024D344
|
||||
/* 140614 8024D2D4 00000000 */ nop
|
||||
|
@ -5,8 +5,8 @@ glabel pause_spirits_handle_input
|
||||
/* 14078C 8024D44C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 140790 8024D450 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 140794 8024D454 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 140798 8024D458 3C028027 */ lui $v0, 0x8027
|
||||
/* 14079C 8024D45C 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 140798 8024D458 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 14079C 8024D45C 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 1407A0 8024D460 3C030004 */ lui $v1, 4
|
||||
/* 1407A4 8024D464 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1407A8 8024D468 92070003 */ lbu $a3, 3($s0)
|
||||
@ -42,8 +42,8 @@ glabel pause_spirits_handle_input
|
||||
/* 14081C 8024D4DC 1082FFE6 */ beq $a0, $v0, .L8024D478
|
||||
/* 140820 8024D4E0 00000000 */ nop
|
||||
.L8024D4E4:
|
||||
/* 140824 8024D4E4 3C028027 */ lui $v0, 0x8027
|
||||
/* 140828 8024D4E8 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 140824 8024D4E4 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 140828 8024D4E8 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 14082C 8024D4EC 3C030008 */ lui $v1, 8
|
||||
/* 140830 8024D4F0 00431024 */ and $v0, $v0, $v1
|
||||
/* 140834 8024D4F4 1040001E */ beqz $v0, .L8024D570
|
||||
@ -79,8 +79,8 @@ glabel pause_spirits_handle_input
|
||||
/* 1408A8 8024D568 1082FFE6 */ beq $a0, $v0, .L8024D504
|
||||
/* 1408AC 8024D56C 00000000 */ nop
|
||||
.L8024D570:
|
||||
/* 1408B0 8024D570 3C028027 */ lui $v0, 0x8027
|
||||
/* 1408B4 8024D574 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 1408B0 8024D570 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 1408B4 8024D574 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 1408B8 8024D578 3C030001 */ lui $v1, 1
|
||||
/* 1408BC 8024D57C 00431024 */ and $v0, $v0, $v1
|
||||
/* 1408C0 8024D580 10400029 */ beqz $v0, .L8024D628
|
||||
@ -130,8 +130,8 @@ glabel pause_spirits_handle_input
|
||||
/* 140960 8024D620 1082FFE5 */ beq $a0, $v0, .L8024D5B8
|
||||
/* 140964 8024D624 00000000 */ nop
|
||||
.L8024D628:
|
||||
/* 140968 8024D628 3C028027 */ lui $v0, 0x8027
|
||||
/* 14096C 8024D62C 8C4200C0 */ lw $v0, 0xc0($v0)
|
||||
/* 140968 8024D628 3C028027 */ lui $v0, %hi(gPauseMenuHeldButtons)
|
||||
/* 14096C 8024D62C 8C4200C0 */ lw $v0, %lo(gPauseMenuHeldButtons)($v0)
|
||||
/* 140970 8024D630 3C030002 */ lui $v1, 2
|
||||
/* 140974 8024D634 00431024 */ and $v0, $v0, $v1
|
||||
/* 140978 8024D638 1040002F */ beqz $v0, .L8024D6F8
|
||||
@ -219,20 +219,20 @@ glabel pause_spirits_handle_input
|
||||
/* 140AA8 8024D768 0C05272D */ jal play_sound
|
||||
/* 140AAC 8024D76C 240400C7 */ addiu $a0, $zero, 0xc7
|
||||
.L8024D770:
|
||||
/* 140AB0 8024D770 3C028027 */ lui $v0, 0x8027
|
||||
/* 140AB4 8024D774 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 140AB0 8024D770 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 140AB4 8024D774 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 140AB8 8024D778 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 140ABC 8024D77C 10400007 */ beqz $v0, .L8024D79C
|
||||
/* 140AC0 8024D780 00000000 */ nop
|
||||
/* 140AC4 8024D784 3C018027 */ lui $at, 0x8027
|
||||
/* 140AC8 8024D788 A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 140AC4 8024D784 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 140AC8 8024D788 A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 140ACC 8024D78C 0C05272D */ jal play_sound
|
||||
/* 140AD0 8024D790 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 140AD4 8024D794 080935FC */ j .L8024D7F0
|
||||
/* 140AD8 8024D798 00000000 */ nop
|
||||
.L8024D79C:
|
||||
/* 140ADC 8024D79C 3C018027 */ lui $at, 0x8027
|
||||
/* 140AE0 8024D7A0 AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 140ADC 8024D79C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 140AE0 8024D7A0 AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 140AE4 8024D7A4 0C039D59 */ jal get_player_data
|
||||
/* 140AE8 8024D7A8 00000000 */ nop
|
||||
/* 140AEC 8024D7AC 92030003 */ lbu $v1, 3($s0)
|
||||
@ -252,8 +252,8 @@ glabel pause_spirits_handle_input
|
||||
/* 140B20 8024D7E0 34420031 */ ori $v0, $v0, 0x31
|
||||
/* 140B24 8024D7E4 00621021 */ addu $v0, $v1, $v0
|
||||
.L8024D7E8:
|
||||
/* 140B28 8024D7E8 3C018027 */ lui $at, 0x8027
|
||||
/* 140B2C 8024D7EC AC2200C8 */ sw $v0, 0xc8($at)
|
||||
/* 140B28 8024D7E8 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 140B2C 8024D7EC AC2200C8 */ sw $v0, %lo(gPauseMenuCurrentDescString)($at)
|
||||
.L8024D7F0:
|
||||
/* 140B30 8024D7F0 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 140B34 8024D7F4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
|
@ -27,8 +27,8 @@ glabel pause_spirits_update
|
||||
/* 140B94 8024D854 0242102A */ slt $v0, $s2, $v0
|
||||
/* 140B98 8024D858 1040000B */ beqz $v0, .L8024D888
|
||||
/* 140B9C 8024D85C 00000000 */ nop
|
||||
/* 140BA0 8024D860 3C028027 */ lui $v0, 0x8027
|
||||
/* 140BA4 8024D864 804200D4 */ lb $v0, 0xd4($v0)
|
||||
/* 140BA0 8024D860 3C028027 */ lui $v0, %hi(gPauseMenuCurrentTab)
|
||||
/* 140BA4 8024D864 804200D4 */ lb $v0, %lo(gPauseMenuCurrentTab)($v0)
|
||||
/* 140BA8 8024D868 14540007 */ bne $v0, $s4, .L8024D888
|
||||
/* 140BAC 8024D86C 00000000 */ nop
|
||||
/* 140BB0 8024D870 92A20003 */ lbu $v0, 3($s5)
|
||||
|
@ -414,8 +414,8 @@ glabel pause_map_draw_contents
|
||||
/* 14148C 8024E14C 8E040000 */ lw $a0, ($s0)
|
||||
/* 141490 8024E150 0C0511F8 */ jal draw_icon_2
|
||||
/* 141494 8024E154 00000000 */ nop
|
||||
/* 141498 8024E158 3C138027 */ lui $s3, 0x8027
|
||||
/* 14149C 8024E15C 267300D4 */ addiu $s3, $s3, 0xd4
|
||||
/* 141498 8024E158 3C138027 */ lui $s3, %hi(gPauseMenuCurrentTab)
|
||||
/* 14149C 8024E15C 267300D4 */ addiu $s3, $s3, %lo(gPauseMenuCurrentTab)
|
||||
/* 1414A0 8024E160 82700000 */ lb $s0, ($s3)
|
||||
/* 1414A4 8024E164 24020006 */ addiu $v0, $zero, 6
|
||||
/* 1414A8 8024E168 16020081 */ bne $s0, $v0, .L8024E370
|
||||
|
@ -9,8 +9,8 @@ glabel pause_map_draw_title
|
||||
/* 14189C 8024E55C 00C0A02D */ daddu $s4, $a2, $zero
|
||||
/* 1418A0 8024E560 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 1418A4 8024E564 00E0902D */ daddu $s2, $a3, $zero
|
||||
/* 1418A8 8024E568 3C038027 */ lui $v1, 0x8027
|
||||
/* 1418AC 8024E56C 806300D4 */ lb $v1, 0xd4($v1)
|
||||
/* 1418A8 8024E568 3C038027 */ lui $v1, %hi(gPauseMenuCurrentTab)
|
||||
/* 1418AC 8024E56C 806300D4 */ lb $v1, %lo(gPauseMenuCurrentTab)($v1)
|
||||
/* 1418B0 8024E570 24020006 */ addiu $v0, $zero, 6
|
||||
/* 1418B4 8024E574 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 1418B8 8024E578 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
|
@ -234,27 +234,27 @@ glabel pause_map_handle_input
|
||||
/* 141F1C 8024EBDC 45030001 */ bc1tl .L8024EBE4
|
||||
/* 141F20 8024EBE0 E4A20000 */ swc1 $f2, ($a1)
|
||||
.L8024EBE4:
|
||||
/* 141F24 8024EBE4 3C028027 */ lui $v0, 0x8027
|
||||
/* 141F28 8024EBE8 8C4200C4 */ lw $v0, 0xc4($v0)
|
||||
/* 141F24 8024EBE4 3C028027 */ lui $v0, %hi(gPauseMenuPressedButtons)
|
||||
/* 141F28 8024EBE8 8C4200C4 */ lw $v0, %lo(gPauseMenuPressedButtons)($v0)
|
||||
/* 141F2C 8024EBEC 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 141F30 8024EBF0 10400007 */ beqz $v0, .L8024EC10
|
||||
/* 141F34 8024EBF4 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 141F38 8024EBF8 0C05272D */ jal play_sound
|
||||
/* 141F3C 8024EBFC 240400CA */ addiu $a0, $zero, 0xca
|
||||
/* 141F40 8024EC00 3C018027 */ lui $at, 0x8027
|
||||
/* 141F44 8024EC04 A02000D4 */ sb $zero, 0xd4($at)
|
||||
/* 141F40 8024EC00 3C018027 */ lui $at, %hi(gPauseMenuCurrentTab)
|
||||
/* 141F44 8024EC04 A02000D4 */ sb $zero, %lo(gPauseMenuCurrentTab)($at)
|
||||
/* 141F48 8024EC08 08093B27 */ j .L8024EC9C
|
||||
/* 141F4C 8024EC0C 00000000 */ nop
|
||||
.L8024EC10:
|
||||
/* 141F50 8024EC10 3C118027 */ lui $s1, 0x8027
|
||||
/* 141F54 8024EC14 2631071C */ addiu $s1, $s1, 0x71c
|
||||
/* 141F58 8024EC18 3C018027 */ lui $at, 0x8027
|
||||
/* 141F5C 8024EC1C AC2000CC */ sw $zero, 0xcc($at)
|
||||
/* 141F58 8024EC18 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescIconScript)
|
||||
/* 141F5C 8024EC1C AC2000CC */ sw $zero, %lo(gPauseMenuCurrentDescIconScript)($at)
|
||||
/* 141F60 8024EC20 8E260000 */ lw $a2, ($s1)
|
||||
/* 141F64 8024EC24 14C20005 */ bne $a2, $v0, .L8024EC3C
|
||||
/* 141F68 8024EC28 3C03001D */ lui $v1, 0x1d
|
||||
/* 141F6C 8024EC2C 3C018027 */ lui $at, 0x8027
|
||||
/* 141F70 8024EC30 AC2000C8 */ sw $zero, 0xc8($at)
|
||||
/* 141F6C 8024EC2C 3C018027 */ lui $at, %hi(gPauseMenuCurrentDescString)
|
||||
/* 141F70 8024EC30 AC2000C8 */ sw $zero, %lo(gPauseMenuCurrentDescString)($at)
|
||||
/* 141F74 8024EC34 08093B27 */ j .L8024EC9C
|
||||
/* 141F78 8024EC38 00000000 */ nop
|
||||
.L8024EC3C:
|
||||
@ -262,8 +262,8 @@ glabel pause_map_handle_input
|
||||
/* 141F80 8024EC40 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 141F84 8024EC44 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 141F88 8024EC48 34A50180 */ ori $a1, $a1, 0x180
|
||||
/* 141F8C 8024EC4C 3C108027 */ lui $s0, 0x8027
|
||||
/* 141F90 8024EC50 261000C8 */ addiu $s0, $s0, 0xc8
|
||||
/* 141F8C 8024EC4C 3C108027 */ lui $s0, %hi(gPauseMenuCurrentDescString)
|
||||
/* 141F90 8024EC50 261000C8 */ addiu $s0, $s0, %lo(gPauseMenuCurrentDescString)
|
||||
/* 141F94 8024EC54 00061040 */ sll $v0, $a2, 1
|
||||
/* 141F98 8024EC58 00461021 */ addu $v0, $v0, $a2
|
||||
/* 141F9C 8024EC5C 00431021 */ addu $v0, $v0, $v1
|
||||
|
@ -8,8 +8,8 @@ glabel func_80242E00
|
||||
/* 16366C 80242E0C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 163670 80242E10 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* 163674 80242E14 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 163678 80242E18 3C148016 */ lui $s4, %hi(D_80159D50)
|
||||
/* 16367C 80242E1C 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
|
||||
/* 163678 80242E18 3C148016 */ lui $s4, %hi(gUIPanels)
|
||||
/* 16367C 80242E1C 26949D50 */ addiu $s4, $s4, %lo(gUIPanels)
|
||||
/* 163680 80242E20 00042140 */ sll $a0, $a0, 5
|
||||
/* 163684 80242E24 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 163688 80242E28 3C118025 */ lui $s1, 0x8025
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024330C
|
||||
/* 163B6C 8024330C 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163B70 80243310 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163B6C 8024330C 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163B70 80243310 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163B74 80243314 00042140 */ sll $a0, $a0, 5
|
||||
/* 163B78 80243318 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163B7C 8024331C 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243380
|
||||
/* 163BE0 80243380 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163BE4 80243384 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163BE0 80243380 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163BE4 80243384 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163BE8 80243388 00042140 */ sll $a0, $a0, 5
|
||||
/* 163BEC 8024338C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163BF0 80243390 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802433F4
|
||||
/* 163C54 802433F4 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163C58 802433F8 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163C54 802433F4 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163C58 802433F8 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163C5C 802433FC 00042140 */ sll $a0, $a0, 5
|
||||
/* 163C60 80243400 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163C64 80243404 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243468
|
||||
/* 163CC8 80243468 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163CCC 8024346C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163CC8 80243468 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163CCC 8024346C 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163CD0 80243470 00042140 */ sll $a0, $a0, 5
|
||||
/* 163CD4 80243474 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163CD8 80243478 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243550
|
||||
/* 163DB0 80243550 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163DB4 80243554 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163DB0 80243550 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163DB4 80243554 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163DB8 80243558 00042140 */ sll $a0, $a0, 5
|
||||
/* 163DBC 8024355C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163DC0 80243560 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802435C4
|
||||
/* 163E24 802435C4 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163E28 802435C8 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163E24 802435C4 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163E28 802435C8 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163E2C 802435CC 00042140 */ sll $a0, $a0, 5
|
||||
/* 163E30 802435D0 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163E34 802435D4 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243628
|
||||
/* 163E88 80243628 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163E8C 8024362C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163E88 80243628 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163E8C 8024362C 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163E90 80243630 00042140 */ sll $a0, $a0, 5
|
||||
/* 163E94 80243634 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163E98 80243638 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024368C
|
||||
/* 163EEC 8024368C 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163EF0 80243690 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163EEC 8024368C 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163EF0 80243690 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163EF4 80243694 00042140 */ sll $a0, $a0, 5
|
||||
/* 163EF8 80243698 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163EFC 8024369C 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802436F0
|
||||
/* 163F50 802436F0 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163F54 802436F4 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163F50 802436F0 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163F54 802436F4 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163F58 802436F8 00042140 */ sll $a0, $a0, 5
|
||||
/* 163F5C 802436FC 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163F60 80243700 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243754
|
||||
/* 163FB4 80243754 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 163FB8 80243758 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 163FB4 80243754 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 163FB8 80243758 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 163FBC 8024375C 00042140 */ sll $a0, $a0, 5
|
||||
/* 163FC0 80243760 00822021 */ addu $a0, $a0, $v0
|
||||
/* 163FC4 80243764 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802437B8
|
||||
/* 164018 802437B8 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 16401C 802437BC 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 164018 802437B8 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 16401C 802437BC 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 164020 802437C0 00042140 */ sll $a0, $a0, 5
|
||||
/* 164024 802437C4 00822021 */ addu $a0, $a0, $v0
|
||||
/* 164028 802437C8 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024381C
|
||||
/* 16407C 8024381C 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 164080 80243820 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 16407C 8024381C 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 164080 80243820 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 164084 80243824 00042140 */ sll $a0, $a0, 5
|
||||
/* 164088 80243828 00822021 */ addu $a0, $a0, $v0
|
||||
/* 16408C 8024382C 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243898
|
||||
/* 1640F8 80243898 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 1640FC 8024389C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 1640F8 80243898 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 1640FC 8024389C 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 164100 802438A0 00042140 */ sll $a0, $a0, 5
|
||||
/* 164104 802438A4 00822021 */ addu $a0, $a0, $v0
|
||||
/* 164108 802438A8 9083001C */ lbu $v1, 0x1c($a0)
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel func_80243908
|
||||
/* 164168 80243908 00C0482D */ daddu $t1, $a2, $zero
|
||||
/* 16416C 8024390C 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 164170 80243910 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 16416C 8024390C 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 164170 80243910 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 164174 80243914 00042140 */ sll $a0, $a0, 5
|
||||
/* 164178 80243918 00824021 */ addu $t0, $a0, $v0
|
||||
/* 16417C 8024391C 81050003 */ lb $a1, 3($t0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80243B10
|
||||
/* 164370 80243B10 3C028016 */ lui $v0, %hi(D_80159D50)
|
||||
/* 164374 80243B14 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
|
||||
/* 164370 80243B10 3C028016 */ lui $v0, %hi(gUIPanels)
|
||||
/* 164374 80243B14 24429D50 */ addiu $v0, $v0, %lo(gUIPanels)
|
||||
/* 164378 80243B18 00042140 */ sll $a0, $a0, 5
|
||||
/* 16437C 80243B1C 00822021 */ addu $a0, $a0, $v0
|
||||
/* 164380 80243B20 9082001C */ lbu $v0, 0x1c($a0)
|
||||
|
@ -17,8 +17,8 @@ glabel func_80243CCC
|
||||
/* 16455C 80243CFC 35084340 */ ori $t0, $t0, 0x4340
|
||||
/* 164560 80243D00 3C05800A */ lui $a1, 0x800a
|
||||
/* 164564 80243D04 24A5A66C */ addiu $a1, $a1, -0x5994
|
||||
/* 164568 80243D08 3C038016 */ lui $v1, %hi(D_80159D50)
|
||||
/* 16456C 80243D0C 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
|
||||
/* 164568 80243D08 3C038016 */ lui $v1, %hi(gUIPanels)
|
||||
/* 16456C 80243D0C 24639D50 */ addiu $v1, $v1, %lo(gUIPanels)
|
||||
/* 164570 80243D10 00042140 */ sll $a0, $a0, 5
|
||||
/* 164574 80243D14 AFB40038 */ sw $s4, 0x38($sp)
|
||||
/* 164578 80243D18 0083A021 */ addu $s4, $a0, $v1
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user