First pass

This commit is contained in:
Ethan Roseman 2020-10-14 22:56:47 -04:00
parent 6a21d15b33
commit 84f211a2ae
158 changed files with 1424 additions and 1361 deletions

View File

@ -1,16 +1,16 @@
.section .text_0, "a"
.byte 0x80, 0x37, 0x12, 0x40 # PI BSD Domain 1 register
.word 0x0000000F # clock rate setting
.word 0x80125C00 # entry point
.word 0x0000144B # release
.word 0x65EEE53A # checksum1
.word 0xED7D733C # checksum2
.word 0x00000000 # unknown
.word 0x00000000 # unknown
.ascii "PAPER MARIO " # ROM name: 20 bytes
.word 0x00000000 # unknown
.word 0x0000004E # cartridge
.ascii "MQ" # cartridge ID
.ascii "E" # country
.byte 0x00 # version
.section .header, "a"
.word 0x80371240 /* PI PSD Domain 1 register */
.word 0x0000000F /* Clockrate setting */
.word 0x80125C00 /* Entrypoint address */
.word 0x0000144B /* Revision */
.word 0x65EEE53A /* Checksum 1 */
.word 0xED7D733C /* Checksum 2 */
.word 0x00000000 /* Unknown 1 */
.word 0x00000000 /* Unknown 2 */
.ascii "PAPER MARIO " /* Internal ROM name */
.word 0x00000000 /* Unknown 3 */
.word 0x0000004E /* Cartridge */
.ascii "MQ" /* Cartridge ID */
.ascii "E" /* Country code */
.byte 00 /* Version */

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel entry_point
/* 1000 80025C00 3C08800A */ lui $t0, 0x800a
/* 1004 80025C04 2508A5B0 */ addiu $t0, $t0, -0x5a50
/* 1000 80025C00 3C08800A */ lui $t0, %hi(D_8009A5B0)
/* 1004 80025C04 2508A5B0 */ addiu $t0, $t0, %lo(D_8009A5B0)
/* 1008 80025C08 3C090004 */ lui $t1, 4
/* 100C 80025C0C 25291F50 */ addiu $t1, $t1, 0x1f50
.L80025C10:

View File

@ -6,8 +6,8 @@ glabel func_80025C60
/* 1064 80025C64 3C05B3FF */ lui $a1, 0xb3ff
/* 1068 80025C68 34A50014 */ ori $a1, $a1, 0x14
/* 106C 80025C6C AFB00010 */ sw $s0, 0x10($sp)
/* 1070 80025C70 3C10800A */ lui $s0, 0x800a
/* 1074 80025C74 2610A638 */ addiu $s0, $s0, -0x59c8
/* 1070 80025C70 3C10800A */ lui $s0, %hi(carthandle)
/* 1074 80025C74 2610A638 */ addiu $s0, $s0, %lo(carthandle)
/* 1078 80025C78 AFBF0014 */ sw $ra, 0x14($sp)
/* 107C 80025C7C 8E040000 */ lw $a0, ($s0)
/* 1080 80025C80 0C018358 */ jal osEPiWriteIo

View File

@ -9,8 +9,8 @@ glabel func_80025D74
/* 1184 80025D84 00C0A02D */ daddu $s4, $a2, $zero
/* 1188 80025D88 3C05B3FF */ lui $a1, 0xb3ff
/* 118C 80025D8C AFB1001C */ sw $s1, 0x1c($sp)
/* 1190 80025D90 3C11800A */ lui $s1, 0x800a
/* 1194 80025D94 2631A638 */ addiu $s1, $s1, -0x59c8
/* 1190 80025D90 3C11800A */ lui $s1, %hi(carthandle)
/* 1194 80025D94 2631A638 */ addiu $s1, $s1, %lo(carthandle)
/* 1198 80025D98 AFB00018 */ sw $s0, 0x18($sp)
/* 119C 80025D9C 27B00010 */ addiu $s0, $sp, 0x10
/* 11A0 80025DA0 AFBF003C */ sw $ra, 0x3c($sp)
@ -66,8 +66,8 @@ glabel func_80025D74
/* 1260 80025E60 37DEFFFC */ ori $fp, $fp, 0xfffc
/* 1264 80025E64 3C17B3FF */ lui $s7, 0xb3ff
/* 1268 80025E68 36F70020 */ ori $s7, $s7, 0x20
/* 126C 80025E6C 3C15800A */ lui $s5, 0x800a
/* 1270 80025E70 26B5A638 */ addiu $s5, $s5, -0x59c8
/* 126C 80025E6C 3C15800A */ lui $s5, %hi(carthandle)
/* 1270 80025E70 26B5A638 */ addiu $s5, $s5, %lo(carthandle)
/* 1274 80025E74 3C16FFFF */ lui $s6, 0xffff
/* 1278 80025E78 36D60020 */ ori $s6, $s6, 0x20
.L80025E7C:
@ -104,8 +104,8 @@ glabel func_80025D74
/* 12F0 80025EF0 1680FFE2 */ bnez $s4, .L80025E7C
/* 12F4 80025EF4 26730001 */ addiu $s3, $s3, 1
.L80025EF8:
/* 12F8 80025EF8 3C04800A */ lui $a0, 0x800a
/* 12FC 80025EFC 8C84A638 */ lw $a0, -0x59c8($a0)
/* 12F8 80025EF8 3C04800A */ lui $a0, %hi(carthandle)
/* 12FC 80025EFC 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 1300 80025F00 3C05B3FF */ lui $a1, 0xb3ff
/* 1304 80025F04 34A50014 */ ori $a1, $a1, 0x14
/* 1308 80025F08 0C018358 */ jal osEPiWriteIo

View File

@ -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, 0x8016
/* 135F08 80242BC8 26949D50 */ addiu $s4, $s4, -0x62b0
/* 135F04 80242BC4 3C148016 */ lui $s4, %hi(D_80159D50)
/* 135F08 80242BC8 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
/* 135F0C 80242BCC 00042140 */ sll $a0, $a0, 5
/* 135F10 80242BD0 AFB20018 */ sw $s2, 0x18($sp)
/* 135F14 80242BD4 3C128025 */ lui $s2, 0x8025

View File

@ -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, 0x8016
/* 136060 80242D20 26949D50 */ addiu $s4, $s4, -0x62b0
/* 13605C 80242D1C 3C148016 */ lui $s4, %hi(D_80159D50)
/* 136060 80242D20 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
/* 136064 80242D24 00042140 */ sll $a0, $a0, 5
/* 136068 80242D28 AFB10014 */ sw $s1, 0x14($sp)
/* 13606C 80242D2C 3C118025 */ lui $s1, 0x8025

View File

@ -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, 0x8016
/* 1362E4 80242FA4 24429D50 */ addiu $v0, $v0, -0x62b0
/* 1362E0 80242FA0 3C028016 */ lui $v0, %hi(D_80159D50)
/* 1362E4 80242FA4 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 1362E8 80242FA8 00822021 */ addu $a0, $a0, $v0
/* 1362EC 80242FAC 90820000 */ lbu $v0, ($a0)
/* 1362F0 80242FB0 304200F3 */ andi $v0, $v0, 0xf3

View File

@ -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, 0x8016
/* 13631C 80242FDC 24429D50 */ addiu $v0, $v0, -0x62b0
/* 136318 80242FD8 3C028016 */ lui $v0, %hi(D_80159D50)
/* 13631C 80242FDC 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 136320 80242FE0 00822021 */ addu $a0, $a0, $v0
/* 136324 80242FE4 90820000 */ lbu $v0, ($a0)
/* 136328 80242FE8 304200F3 */ andi $v0, $v0, 0xf3

View File

@ -3,8 +3,8 @@
glabel func_80242FF4
/* 136334 80242FF4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 136338 80242FF8 3C038016 */ lui $v1, 0x8016
/* 13633C 80242FFC 24639D50 */ addiu $v1, $v1, -0x62b0
/* 136338 80242FF8 3C038016 */ lui $v1, %hi(D_80159D50)
/* 13633C 80242FFC 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* 136340 80243000 00041140 */ sll $v0, $a0, 5
/* 136344 80243004 AFB00010 */ sw $s0, 0x10($sp)
/* 136348 80243008 00438021 */ addu $s0, $v0, $v1

View File

@ -3,8 +3,8 @@
glabel func_80243090
/* 1363D0 80243090 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1363D4 80243094 3C028016 */ lui $v0, 0x8016
/* 1363D8 80243098 24429D50 */ addiu $v0, $v0, -0x62b0
/* 1363D4 80243094 3C028016 */ lui $v0, %hi(D_80159D50)
/* 1363D8 80243098 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 1363DC 8024309C 00041940 */ sll $v1, $a0, 5
/* 1363E0 802430A0 AFB00010 */ sw $s0, 0x10($sp)
/* 1363E4 802430A4 00628021 */ addu $s0, $v1, $v0

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802430E4
/* 136424 802430E4 3C028016 */ lui $v0, 0x8016
/* 136428 802430E8 24429D50 */ addiu $v0, $v0, -0x62b0
/* 136424 802430E4 3C028016 */ lui $v0, %hi(D_80159D50)
/* 136428 802430E8 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 13642C 802430EC 00042140 */ sll $a0, $a0, 5
/* 136430 802430F0 00822021 */ addu $a0, $a0, $v0
/* 136434 802430F4 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_8024313C
/* 13647C 8024313C 3C028016 */ lui $v0, 0x8016
/* 136480 80243140 24429D50 */ addiu $v0, $v0, -0x62b0
/* 13647C 8024313C 3C028016 */ lui $v0, %hi(D_80159D50)
/* 136480 80243140 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 136484 80243144 00042140 */ sll $a0, $a0, 5
/* 136488 80243148 00822021 */ addu $a0, $a0, $v0
/* 13648C 8024314C 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243188
/* 1364C8 80243188 3C028016 */ lui $v0, 0x8016
/* 1364CC 8024318C 24429D50 */ addiu $v0, $v0, -0x62b0
/* 1364C8 80243188 3C028016 */ lui $v0, %hi(D_80159D50)
/* 1364CC 8024318C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 1364D0 80243190 00042140 */ sll $a0, $a0, 5
/* 1364D4 80243194 00822021 */ addu $a0, $a0, $v0
/* 1364D8 80243198 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243238
/* 136578 80243238 3C028016 */ lui $v0, 0x8016
/* 13657C 8024323C 24429D50 */ addiu $v0, $v0, -0x62b0
/* 136578 80243238 3C028016 */ lui $v0, %hi(D_80159D50)
/* 13657C 8024323C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 136580 80243240 00042140 */ sll $a0, $a0, 5
/* 136584 80243244 00822021 */ addu $a0, $a0, $v0
/* 136588 80243248 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802432E8
/* 136628 802432E8 3C028016 */ lui $v0, 0x8016
/* 13662C 802432EC 24429D50 */ addiu $v0, $v0, -0x62b0
/* 136628 802432E8 3C028016 */ lui $v0, %hi(D_80159D50)
/* 13662C 802432EC 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 136630 802432F0 00042140 */ sll $a0, $a0, 5
/* 136634 802432F4 00822021 */ addu $a0, $a0, $v0
/* 136638 802432F8 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243388
/* 1366C8 80243388 3C028016 */ lui $v0, 0x8016
/* 1366CC 8024338C 24429D50 */ addiu $v0, $v0, -0x62b0
/* 1366C8 80243388 3C028016 */ lui $v0, %hi(D_80159D50)
/* 1366CC 8024338C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 1366D0 80243390 00042140 */ sll $a0, $a0, 5
/* 1366D4 80243394 00822021 */ addu $a0, $a0, $v0
/* 1366D8 80243398 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -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, 0x8016
/* 1374D0 80244190 26B59D50 */ addiu $s5, $s5, -0x62b0
/* 1374CC 8024418C 3C158016 */ lui $s5, %hi(D_80159D50)
/* 1374D0 80244190 26B59D50 */ addiu $s5, $s5, %lo(D_80159D50)
/* 1374D4 80244194 241303C0 */ addiu $s3, $zero, 0x3c0
/* 1374D8 80244198 2412001E */ addiu $s2, $zero, 0x1e
/* 1374DC 8024419C 3C108025 */ lui $s0, 0x8025

View File

@ -114,8 +114,8 @@ glabel pause_tabs_update
/* 138A90 80245750 24E7EF80 */ addiu $a3, $a3, -0x1080
/* 138A94 80245754 3C068025 */ lui $a2, 0x8025
/* 138A98 80245758 24C6F1D0 */ addiu $a2, $a2, -0xe30
/* 138A9C 8024575C 3C058016 */ lui $a1, 0x8016
/* 138AA0 80245760 24A59D50 */ addiu $a1, $a1, -0x62b0
/* 138A9C 8024575C 3C058016 */ lui $a1, %hi(D_80159D50)
/* 138AA0 80245760 24A59D50 */ addiu $a1, $a1, %lo(D_80159D50)
/* 138AA4 80245764 3C038025 */ lui $v1, 0x8025
/* 138AA8 80245768 2463F1E0 */ addiu $v1, $v1, -0xe20
/* 138AAC 8024576C 02061021 */ addu $v0, $s0, $a2
@ -164,8 +164,8 @@ glabel pause_tabs_update
/* 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, 0x8016
/* 138B58 80245818 25089D50 */ addiu $t0, $t0, -0x62b0
/* 138B54 80245814 3C088016 */ lui $t0, %hi(D_80159D50)
/* 138B58 80245818 25089D50 */ addiu $t0, $t0, %lo(D_80159D50)
/* 138B5C 8024581C 92220000 */ lbu $v0, ($s1)
/* 138B60 80245820 82630001 */ lb $v1, 1($s3)
/* 138B64 80245824 00021140 */ sll $v0, $v0, 5

View File

@ -3,8 +3,8 @@
glabel boot_main
/* 1370 80025F70 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1374 80025F74 3C038000 */ lui $v1, 0x8000
/* 1378 80025F78 8C630300 */ lw $v1, 0x300($v1)
/* 1374 80025F74 3C038000 */ lui $v1, %hi(osTvType)
/* 1378 80025F78 8C630300 */ lw $v1, %lo(osTvType)($v1)
/* 137C 80025F7C 24020001 */ addiu $v0, $zero, 1
/* 1380 80025F80 14620005 */ bne $v1, $v0, .L80025F98
/* 1384 80025F84 AFBF0010 */ sw $ra, 0x10($sp)
@ -66,72 +66,3 @@ glabel boot_main
.L80026054:
/* 1454 80026054 08009815 */ j .L80026054
/* 1458 80026058 00000000 */ nop
/* 145C 8002605C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1460 80026060 AFB10014 */ sw $s1, 0x14($sp)
/* 1464 80026064 3C118007 */ lui $s1, 0x8007
/* 1468 80026068 26313E00 */ addiu $s1, $s1, 0x3e00
/* 146C 8002606C AFBF0018 */ sw $ra, 0x18($sp)
/* 1470 80026070 AFB00010 */ sw $s0, 0x10($sp)
/* 1474 80026074 8E230000 */ lw $v1, ($s1)
/* 1478 80026078 10600022 */ beqz $v1, .L80026104
/* 147C 8002607C 0080802D */ daddu $s0, $a0, $zero
/* 1480 80026080 24020001 */ addiu $v0, $zero, 1
/* 1484 80026084 14620016 */ bne $v1, $v0, .L800260E0
/* 1488 80026088 00000000 */ nop
/* 148C 8002608C 0C017CB4 */ jal nuGfxTaskAllEndWait
/* 1490 80026090 00000000 */ nop
/* 1494 80026094 16000012 */ bnez $s0, .L800260E0
/* 1498 80026098 00000000 */ nop
/* 149C 8002609C 0C019A6C */ jal osViGetCurrentFramebuffer
/* 14A0 800260A0 00000000 */ nop
/* 14A4 800260A4 3C10800A */ lui $s0, 0x800a
/* 14A8 800260A8 2610A680 */ addiu $s0, $s0, -0x5980
/* 14AC 800260AC 0200202D */ daddu $a0, $s0, $zero
/* 14B0 800260B0 AE020008 */ sw $v0, 8($s0)
/* 14B4 800260B4 AE020004 */ sw $v0, 4($s0)
/* 14B8 800260B8 AE020000 */ sw $v0, ($s0)
/* 14BC 800260BC 3C018007 */ lui $at, 0x8007
/* 14C0 800260C0 AC223E04 */ sw $v0, 0x3e04($at)
/* 14C4 800260C4 0C017CBC */ jal nuGfxSetCfb
/* 14C8 800260C8 24050003 */ addiu $a1, $zero, 3
/* 14CC 800260CC 8E040000 */ lw $a0, ($s0)
/* 14D0 800260D0 0C019C08 */ jal osViSwapBuffer
/* 14D4 800260D4 00000000 */ nop
/* 14D8 800260D8 24020002 */ addiu $v0, $zero, 2
/* 14DC 800260DC AE220000 */ sw $v0, ($s1)
.L800260E0:
/* 14E0 800260E0 3C038007 */ lui $v1, 0x8007
/* 14E4 800260E4 8C633E00 */ lw $v1, 0x3e00($v1)
/* 14E8 800260E8 24020002 */ addiu $v0, $zero, 2
/* 14EC 800260EC 14620018 */ bne $v1, $v0, .L80026150
/* 14F0 800260F0 00000000 */ nop
/* 14F4 800260F4 0C009859 */ jal func_80026164
/* 14F8 800260F8 00000000 */ nop
/* 14FC 800260FC 08009854 */ j .L80026150
/* 1500 80026100 00000000 */ nop
.L80026104:
/* 1504 80026104 3C038007 */ lui $v1, 0x8007
/* 1508 80026108 24633E0A */ addiu $v1, $v1, 0x3e0a
/* 150C 8002610C 94620000 */ lhu $v0, ($v1)
/* 1510 80026110 38420001 */ xori $v0, $v0, 1
/* 1514 80026114 1440000E */ bnez $v0, .L80026150
/* 1518 80026118 A4620000 */ sh $v0, ($v1)
/* 151C 8002611C 0C0099D0 */ jal step_game_loop
/* 1520 80026120 00000000 */ nop
/* 1524 80026124 3C038007 */ lui $v1, 0x8007
/* 1528 80026128 24633E08 */ addiu $v1, $v1, 0x3e08
/* 152C 8002612C 24020001 */ addiu $v0, $zero, 1
/* 1530 80026130 A4620000 */ sh $v0, ($v1)
/* 1534 80026134 2A020003 */ slti $v0, $s0, 3
/* 1538 80026138 10400005 */ beqz $v0, .L80026150
/* 153C 8002613C 00000000 */ nop
/* 1540 80026140 0C009A7B */ jal func_800269EC
/* 1544 80026144 A4600000 */ sh $zero, ($v1)
/* 1548 80026148 0C009AC2 */ jal gfx_draw_frame
/* 154C 8002614C 00000000 */ nop
.L80026150:
/* 1550 80026150 8FBF0018 */ lw $ra, 0x18($sp)
/* 1554 80026154 8FB10014 */ lw $s1, 0x14($sp)
/* 1558 80026158 8FB00010 */ lw $s0, 0x10($sp)
/* 155C 8002615C 03E00008 */ jr $ra
/* 1560 80026160 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -48,8 +48,8 @@ glabel func_80026164
/* 1610 80026210 26100008 */ addiu $s0, $s0, 8
/* 1614 80026214 AE500000 */ sw $s0, ($s2)
/* 1618 80026218 ACA20000 */ sw $v0, ($a1)
/* 161C 8002621C 3C02800A */ lui $v0, 0x800a
/* 1620 80026220 8C42A5DC */ lw $v0, -0x5a24($v0)
/* 161C 8002621C 3C02800A */ lui $v0, %hi(nuGfxZBuffer)
/* 1620 80026220 8C42A5DC */ lw $v0, %lo(nuGfxZBuffer)($v0)
/* 1624 80026224 0220202D */ daddu $a0, $s1, $zero
/* 1628 80026228 00431021 */ addu $v0, $v0, $v1
/* 162C 8002622C ACA20004 */ sw $v0, 4($a1)

View File

@ -0,0 +1,73 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel gfxRetrace_Callback
/* 145C 8002605C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 1460 80026060 AFB10014 */ sw $s1, 0x14($sp)
/* 1464 80026064 3C118007 */ lui $s1, 0x8007
/* 1468 80026068 26313E00 */ addiu $s1, $s1, 0x3e00
/* 146C 8002606C AFBF0018 */ sw $ra, 0x18($sp)
/* 1470 80026070 AFB00010 */ sw $s0, 0x10($sp)
/* 1474 80026074 8E230000 */ lw $v1, ($s1)
/* 1478 80026078 10600022 */ beqz $v1, .L80026104
/* 147C 8002607C 0080802D */ daddu $s0, $a0, $zero
/* 1480 80026080 24020001 */ addiu $v0, $zero, 1
/* 1484 80026084 14620016 */ bne $v1, $v0, .L800260E0
/* 1488 80026088 00000000 */ nop
/* 148C 8002608C 0C017CB4 */ jal nuGfxTaskAllEndWait
/* 1490 80026090 00000000 */ nop
/* 1494 80026094 16000012 */ bnez $s0, .L800260E0
/* 1498 80026098 00000000 */ nop
/* 149C 8002609C 0C019A6C */ jal osViGetCurrentFramebuffer
/* 14A0 800260A0 00000000 */ nop
/* 14A4 800260A4 3C10800A */ lui $s0, 0x800a
/* 14A8 800260A8 2610A680 */ addiu $s0, $s0, -0x5980
/* 14AC 800260AC 0200202D */ daddu $a0, $s0, $zero
/* 14B0 800260B0 AE020008 */ sw $v0, 8($s0)
/* 14B4 800260B4 AE020004 */ sw $v0, 4($s0)
/* 14B8 800260B8 AE020000 */ sw $v0, ($s0)
/* 14BC 800260BC 3C018007 */ lui $at, 0x8007
/* 14C0 800260C0 AC223E04 */ sw $v0, 0x3e04($at)
/* 14C4 800260C4 0C017CBC */ jal nuGfxSetCfb
/* 14C8 800260C8 24050003 */ addiu $a1, $zero, 3
/* 14CC 800260CC 8E040000 */ lw $a0, ($s0)
/* 14D0 800260D0 0C019C08 */ jal osViSwapBuffer
/* 14D4 800260D4 00000000 */ nop
/* 14D8 800260D8 24020002 */ addiu $v0, $zero, 2
/* 14DC 800260DC AE220000 */ sw $v0, ($s1)
.L800260E0:
/* 14E0 800260E0 3C038007 */ lui $v1, 0x8007
/* 14E4 800260E4 8C633E00 */ lw $v1, 0x3e00($v1)
/* 14E8 800260E8 24020002 */ addiu $v0, $zero, 2
/* 14EC 800260EC 14620018 */ bne $v1, $v0, .L80026150
/* 14F0 800260F0 00000000 */ nop
/* 14F4 800260F4 0C009859 */ jal func_80026164
/* 14F8 800260F8 00000000 */ nop
/* 14FC 800260FC 08009854 */ j .L80026150
/* 1500 80026100 00000000 */ nop
.L80026104:
/* 1504 80026104 3C038007 */ lui $v1, 0x8007
/* 1508 80026108 24633E0A */ addiu $v1, $v1, 0x3e0a
/* 150C 8002610C 94620000 */ lhu $v0, ($v1)
/* 1510 80026110 38420001 */ xori $v0, $v0, 1
/* 1514 80026114 1440000E */ bnez $v0, .L80026150
/* 1518 80026118 A4620000 */ sh $v0, ($v1)
/* 151C 8002611C 0C0099D0 */ jal step_game_loop
/* 1520 80026120 00000000 */ nop
/* 1524 80026124 3C038007 */ lui $v1, 0x8007
/* 1528 80026128 24633E08 */ addiu $v1, $v1, 0x3e08
/* 152C 8002612C 24020001 */ addiu $v0, $zero, 1
/* 1530 80026130 A4620000 */ sh $v0, ($v1)
/* 1534 80026134 2A020003 */ slti $v0, $s0, 3
/* 1538 80026138 10400005 */ beqz $v0, .L80026150
/* 153C 8002613C 00000000 */ nop
/* 1540 80026140 0C009A7B */ jal func_800269EC
/* 1544 80026144 A4600000 */ sh $zero, ($v1)
/* 1548 80026148 0C009AC2 */ jal gfx_draw_frame
/* 154C 8002614C 00000000 */ nop
.L80026150:
/* 1550 80026150 8FBF0018 */ lw $ra, 0x18($sp)
/* 1554 80026154 8FB10014 */ lw $s1, 0x14($sp)
/* 1558 80026158 8FB00010 */ lw $s0, 0x10($sp)
/* 155C 8002615C 03E00008 */ jr $ra
/* 1560 80026160 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -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, 0x8016
/* 16367C 80242E1C 26949D50 */ addiu $s4, $s4, -0x62b0
/* 163678 80242E18 3C148016 */ lui $s4, %hi(D_80159D50)
/* 16367C 80242E1C 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
/* 163680 80242E20 00042140 */ sll $a0, $a0, 5
/* 163684 80242E24 AFB10014 */ sw $s1, 0x14($sp)
/* 163688 80242E28 3C118025 */ lui $s1, 0x8025

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_8024330C
/* 163B6C 8024330C 3C028016 */ lui $v0, 0x8016
/* 163B70 80243310 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163B6C 8024330C 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163B70 80243310 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163B74 80243314 00042140 */ sll $a0, $a0, 5
/* 163B78 80243318 00822021 */ addu $a0, $a0, $v0
/* 163B7C 8024331C 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243380
/* 163BE0 80243380 3C028016 */ lui $v0, 0x8016
/* 163BE4 80243384 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163BE0 80243380 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163BE4 80243384 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163BE8 80243388 00042140 */ sll $a0, $a0, 5
/* 163BEC 8024338C 00822021 */ addu $a0, $a0, $v0
/* 163BF0 80243390 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802433F4
/* 163C54 802433F4 3C028016 */ lui $v0, 0x8016
/* 163C58 802433F8 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163C54 802433F4 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163C58 802433F8 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163C5C 802433FC 00042140 */ sll $a0, $a0, 5
/* 163C60 80243400 00822021 */ addu $a0, $a0, $v0
/* 163C64 80243404 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243468
/* 163CC8 80243468 3C028016 */ lui $v0, 0x8016
/* 163CCC 8024346C 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163CC8 80243468 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163CCC 8024346C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163CD0 80243470 00042140 */ sll $a0, $a0, 5
/* 163CD4 80243474 00822021 */ addu $a0, $a0, $v0
/* 163CD8 80243478 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243550
/* 163DB0 80243550 3C028016 */ lui $v0, 0x8016
/* 163DB4 80243554 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163DB0 80243550 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163DB4 80243554 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163DB8 80243558 00042140 */ sll $a0, $a0, 5
/* 163DBC 8024355C 00822021 */ addu $a0, $a0, $v0
/* 163DC0 80243560 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802435C4
/* 163E24 802435C4 3C028016 */ lui $v0, 0x8016
/* 163E28 802435C8 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163E24 802435C4 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163E28 802435C8 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163E2C 802435CC 00042140 */ sll $a0, $a0, 5
/* 163E30 802435D0 00822021 */ addu $a0, $a0, $v0
/* 163E34 802435D4 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243628
/* 163E88 80243628 3C028016 */ lui $v0, 0x8016
/* 163E8C 8024362C 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163E88 80243628 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163E8C 8024362C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163E90 80243630 00042140 */ sll $a0, $a0, 5
/* 163E94 80243634 00822021 */ addu $a0, $a0, $v0
/* 163E98 80243638 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_8024368C
/* 163EEC 8024368C 3C028016 */ lui $v0, 0x8016
/* 163EF0 80243690 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163EEC 8024368C 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163EF0 80243690 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163EF4 80243694 00042140 */ sll $a0, $a0, 5
/* 163EF8 80243698 00822021 */ addu $a0, $a0, $v0
/* 163EFC 8024369C 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802436F0
/* 163F50 802436F0 3C028016 */ lui $v0, 0x8016
/* 163F54 802436F4 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163F50 802436F0 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163F54 802436F4 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163F58 802436F8 00042140 */ sll $a0, $a0, 5
/* 163F5C 802436FC 00822021 */ addu $a0, $a0, $v0
/* 163F60 80243700 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243754
/* 163FB4 80243754 3C028016 */ lui $v0, 0x8016
/* 163FB8 80243758 24429D50 */ addiu $v0, $v0, -0x62b0
/* 163FB4 80243754 3C028016 */ lui $v0, %hi(D_80159D50)
/* 163FB8 80243758 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 163FBC 8024375C 00042140 */ sll $a0, $a0, 5
/* 163FC0 80243760 00822021 */ addu $a0, $a0, $v0
/* 163FC4 80243764 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802437B8
/* 164018 802437B8 3C028016 */ lui $v0, 0x8016
/* 16401C 802437BC 24429D50 */ addiu $v0, $v0, -0x62b0
/* 164018 802437B8 3C028016 */ lui $v0, %hi(D_80159D50)
/* 16401C 802437BC 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 164020 802437C0 00042140 */ sll $a0, $a0, 5
/* 164024 802437C4 00822021 */ addu $a0, $a0, $v0
/* 164028 802437C8 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_8024381C
/* 16407C 8024381C 3C028016 */ lui $v0, 0x8016
/* 164080 80243820 24429D50 */ addiu $v0, $v0, -0x62b0
/* 16407C 8024381C 3C028016 */ lui $v0, %hi(D_80159D50)
/* 164080 80243820 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 164084 80243824 00042140 */ sll $a0, $a0, 5
/* 164088 80243828 00822021 */ addu $a0, $a0, $v0
/* 16408C 8024382C 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243898
/* 1640F8 80243898 3C028016 */ lui $v0, 0x8016
/* 1640FC 8024389C 24429D50 */ addiu $v0, $v0, -0x62b0
/* 1640F8 80243898 3C028016 */ lui $v0, %hi(D_80159D50)
/* 1640FC 8024389C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 164100 802438A0 00042140 */ sll $a0, $a0, 5
/* 164104 802438A4 00822021 */ addu $a0, $a0, $v0
/* 164108 802438A8 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -3,8 +3,8 @@
glabel func_80243908
/* 164168 80243908 00C0482D */ daddu $t1, $a2, $zero
/* 16416C 8024390C 3C028016 */ lui $v0, 0x8016
/* 164170 80243910 24429D50 */ addiu $v0, $v0, -0x62b0
/* 16416C 8024390C 3C028016 */ lui $v0, %hi(D_80159D50)
/* 164170 80243910 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 164174 80243914 00042140 */ sll $a0, $a0, 5
/* 164178 80243918 00824021 */ addu $t0, $a0, $v0
/* 16417C 8024391C 81050003 */ lb $a1, 3($t0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80243B10
/* 164370 80243B10 3C028016 */ lui $v0, 0x8016
/* 164374 80243B14 24429D50 */ addiu $v0, $v0, -0x62b0
/* 164370 80243B10 3C028016 */ lui $v0, %hi(D_80159D50)
/* 164374 80243B14 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 164378 80243B18 00042140 */ sll $a0, $a0, 5
/* 16437C 80243B1C 00822021 */ addu $a0, $a0, $v0
/* 164380 80243B20 9082001C */ lbu $v0, 0x1c($a0)

View File

@ -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, 0x8016
/* 16456C 80243D0C 24639D50 */ addiu $v1, $v1, -0x62b0
/* 164568 80243D08 3C038016 */ lui $v1, %hi(D_80159D50)
/* 16456C 80243D0C 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* 164570 80243D10 00042140 */ sll $a0, $a0, 5
/* 164574 80243D14 AFB40038 */ sw $s4, 0x38($sp)
/* 164578 80243D18 0083A021 */ addu $s4, $a0, $v1

View File

@ -3,8 +3,8 @@
glabel func_80243EEC
/* 16474C 80243EEC 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 164750 80243EF0 3C028016 */ lui $v0, 0x8016
/* 164754 80243EF4 24429D50 */ addiu $v0, $v0, -0x62b0
/* 164750 80243EF0 3C028016 */ lui $v0, %hi(D_80159D50)
/* 164754 80243EF4 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* 164758 80243EF8 00042140 */ sll $a0, $a0, 5
/* 16475C 80243EFC 00822021 */ addu $a0, $a0, $v0
/* 164760 80243F00 AFBF0030 */ sw $ra, 0x30($sp)

View File

@ -61,22 +61,22 @@ glabel func_80245808
/* 166140 802458E0 24020002 */ addiu $v0, $zero, 2
/* 166144 802458E4 14620006 */ bne $v1, $v0, .L80245900
/* 166148 802458E8 24020001 */ addiu $v0, $zero, 1
/* 16614C 802458EC 3C038016 */ lui $v1, 0x8016
/* 166150 802458F0 24639D50 */ addiu $v1, $v1, -0x62b0
/* 16614C 802458EC 3C038016 */ lui $v1, %hi(D_80159D50)
/* 166150 802458F0 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* 166154 802458F4 A46205AE */ sh $v0, 0x5ae($v1)
/* 166158 802458F8 08091644 */ j .L80245910
/* 16615C 802458FC 240200D3 */ addiu $v0, $zero, 0xd3
.L80245900:
/* 166160 80245900 3C038016 */ lui $v1, 0x8016
/* 166164 80245904 24639D50 */ addiu $v1, $v1, -0x62b0
/* 166160 80245900 3C038016 */ lui $v1, %hi(D_80159D50)
/* 166164 80245904 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* 166168 80245908 A46205AE */ sh $v0, 0x5ae($v1)
/* 16616C 8024590C 240200A2 */ addiu $v0, $zero, 0xa2
.L80245910:
/* 166170 80245910 A46205B0 */ sh $v0, 0x5b0($v1)
/* 166174 80245914 24020019 */ addiu $v0, $zero, 0x19
/* 166178 80245918 A46205B2 */ sh $v0, 0x5b2($v1)
/* 16617C 8024591C 3C048016 */ lui $a0, 0x8016
/* 166180 80245920 24849D50 */ addiu $a0, $a0, -0x62b0
/* 16617C 8024591C 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166180 80245920 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 166184 80245924 948205B0 */ lhu $v0, 0x5b0($a0)
/* 166188 80245928 00021400 */ sll $v0, $v0, 0x10
/* 16618C 8024592C 00021C03 */ sra $v1, $v0, 0x10
@ -100,8 +100,8 @@ glabel func_80245808
.L80245974:
/* 1661D4 80245974 240200A0 */ addiu $v0, $zero, 0xa0
/* 1661D8 80245978 00451023 */ subu $v0, $v0, $a1
/* 1661DC 8024597C 3C048016 */ lui $a0, 0x8016
/* 1661E0 80245980 24849D50 */ addiu $a0, $a0, -0x62b0
/* 1661DC 8024597C 3C048016 */ lui $a0, %hi(D_80159D50)
/* 1661E0 80245980 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L80245984:
/* 1661E4 80245984 A4C20000 */ sh $v0, ($a2)
/* 1661E8 80245988 948206D0 */ lhu $v0, 0x6d0($a0)

View File

@ -457,8 +457,8 @@ glabel func_80245A40
/* 166958 802460F8 24040032 */ addiu $a0, $zero, 0x32
/* 16695C 802460FC 0C051F9F */ jal func_80147E7C
/* 166960 80246100 24050001 */ addiu $a1, $zero, 1
/* 166964 80246104 3C048016 */ lui $a0, 0x8016
/* 166968 80246108 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166964 80246104 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166968 80246108 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 16696C 8024610C 2402008F */ addiu $v0, $zero, 0x8f
/* 166970 80246110 A482064E */ sh $v0, 0x64e($a0)
/* 166974 80246114 24020045 */ addiu $v0, $zero, 0x45
@ -481,8 +481,8 @@ glabel func_80245A40
/* 1669B8 80246158 2463FFDE */ addiu $v1, $v1, -0x22
.L8024615C:
/* 1669BC 8024615C 2403007E */ addiu $v1, $zero, 0x7e
/* 1669C0 80246160 3C048016 */ lui $a0, 0x8016
/* 1669C4 80246164 24849D50 */ addiu $a0, $a0, -0x62b0
/* 1669C0 80246160 3C048016 */ lui $a0, %hi(D_80159D50)
/* 1669C4 80246164 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L80246168:
/* 1669C8 80246168 2402FFE3 */ addiu $v0, $zero, -0x1d
/* 1669CC 8024616C A4A30000 */ sh $v1, ($a1)
@ -560,8 +560,8 @@ glabel func_80245A40
/* 166AE0 80246280 24A53CCC */ addiu $a1, $a1, 0x3ccc
/* 166AE4 80246284 0C051F9F */ jal func_80147E7C
/* 166AE8 80246288 24040032 */ addiu $a0, $zero, 0x32
/* 166AEC 8024628C 3C048016 */ lui $a0, 0x8016
/* 166AF0 80246290 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166AEC 8024628C 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166AF0 80246290 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 166AF4 80246294 24020079 */ addiu $v0, $zero, 0x79
/* 166AF8 80246298 A482064E */ sh $v0, 0x64e($a0)
/* 166AFC 8024629C 24020045 */ addiu $v0, $zero, 0x45
@ -584,8 +584,8 @@ glabel func_80245A40
/* 166B40 802462E0 2463FFDE */ addiu $v1, $v1, -0x22
.L802462E4:
/* 166B44 802462E4 2403007E */ addiu $v1, $zero, 0x7e
/* 166B48 802462E8 3C048016 */ lui $a0, 0x8016
/* 166B4C 802462EC 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166B48 802462E8 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166B4C 802462EC 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L802462F0:
/* 166B50 802462F0 2402FFE3 */ addiu $v0, $zero, -0x1d
/* 166B54 802462F4 A4A30000 */ sh $v1, ($a1)
@ -706,8 +706,8 @@ glabel func_80245A40
/* 166D08 802464A8 3C018025 */ lui $at, 0x8025
/* 166D0C 802464AC A022C098 */ sb $v0, -0x3f68($at)
/* 166D10 802464B0 24020002 */ addiu $v0, $zero, 2
/* 166D14 802464B4 3C048016 */ lui $a0, 0x8016
/* 166D18 802464B8 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166D14 802464B4 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166D18 802464B8 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 166D1C 802464BC 3C038025 */ lui $v1, 0x8025
/* 166D20 802464C0 8C639B8C */ lw $v1, -0x6474($v1)
/* 166D24 802464C4 A0620004 */ sb $v0, 4($v1)
@ -731,8 +731,8 @@ glabel func_80245A40
/* 166D6C 8024650C 2463FFB3 */ addiu $v1, $v1, -0x4d
.L80246510:
/* 166D70 80246510 24030053 */ addiu $v1, $zero, 0x53
/* 166D74 80246514 3C048016 */ lui $a0, 0x8016
/* 166D78 80246518 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166D74 80246514 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166D78 80246518 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L8024651C:
/* 166D7C 8024651C A4A30000 */ sh $v1, ($a1)
/* 166D80 80246520 948205F2 */ lhu $v0, 0x5f2($a0)
@ -812,8 +812,8 @@ glabel func_80245A40
/* 166E9C 8024663C 24A53CCC */ addiu $a1, $a1, 0x3ccc
/* 166EA0 80246640 0C051F9F */ jal func_80147E7C
/* 166EA4 80246644 24040032 */ addiu $a0, $zero, 0x32
/* 166EA8 80246648 3C048016 */ lui $a0, 0x8016
/* 166EAC 8024664C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166EA8 80246648 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166EAC 8024664C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 166EB0 80246650 24020079 */ addiu $v0, $zero, 0x79
/* 166EB4 80246654 A482064E */ sh $v0, 0x64e($a0)
/* 166EB8 80246658 24020045 */ addiu $v0, $zero, 0x45
@ -836,8 +836,8 @@ glabel func_80245A40
/* 166EFC 8024669C 2463FFDE */ addiu $v1, $v1, -0x22
.L802466A0:
/* 166F00 802466A0 2403007E */ addiu $v1, $zero, 0x7e
/* 166F04 802466A4 3C048016 */ lui $a0, 0x8016
/* 166F08 802466A8 24849D50 */ addiu $a0, $a0, -0x62b0
/* 166F04 802466A4 3C048016 */ lui $a0, %hi(D_80159D50)
/* 166F08 802466A8 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L802466AC:
/* 166F0C 802466AC 2402FFD5 */ addiu $v0, $zero, -0x2b
/* 166F10 802466B0 A4A30000 */ sh $v1, ($a1)
@ -927,8 +927,8 @@ glabel func_80245A40
/* 167050 802467F0 24A53CCC */ addiu $a1, $a1, 0x3ccc
/* 167054 802467F4 0C051F9F */ jal func_80147E7C
/* 167058 802467F8 24040032 */ addiu $a0, $zero, 0x32
/* 16705C 802467FC 3C048016 */ lui $a0, 0x8016
/* 167060 80246800 24849D50 */ addiu $a0, $a0, -0x62b0
/* 16705C 802467FC 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167060 80246800 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 167064 80246804 2402007F */ addiu $v0, $zero, 0x7f
/* 167068 80246808 A482064E */ sh $v0, 0x64e($a0)
/* 16706C 8024680C 24020045 */ addiu $v0, $zero, 0x45
@ -951,8 +951,8 @@ glabel func_80245A40
/* 1670B0 80246850 2463FFDE */ addiu $v1, $v1, -0x22
.L80246854:
/* 1670B4 80246854 2403007E */ addiu $v1, $zero, 0x7e
/* 1670B8 80246858 3C048016 */ lui $a0, 0x8016
/* 1670BC 8024685C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 1670B8 80246858 3C048016 */ lui $a0, %hi(D_80159D50)
/* 1670BC 8024685C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L80246860:
/* 1670C0 80246860 2402FFCE */ addiu $v0, $zero, -0x32
/* 1670C4 80246864 A4A30000 */ sh $v1, ($a1)

View File

@ -107,8 +107,8 @@ glabel func_802471EC
/* 167BD0 80247370 24020002 */ addiu $v0, $zero, 2
/* 167BD4 80247374 3C038025 */ lui $v1, 0x8025
/* 167BD8 80247378 8C639B8C */ lw $v1, -0x6474($v1)
/* 167BDC 8024737C 3C048016 */ lui $a0, 0x8016
/* 167BE0 80247380 24849D50 */ addiu $a0, $a0, -0x62b0
/* 167BDC 8024737C 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167BE0 80247380 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 167BE4 80247384 3C018025 */ lui $at, 0x8025
/* 167BE8 80247388 A022C098 */ sb $v0, -0x3f68($at)
/* 167BEC 8024738C 240200B6 */ addiu $v0, $zero, 0xb6
@ -132,8 +132,8 @@ glabel func_802471EC
/* 167C34 802473D4 2463FFA5 */ addiu $v1, $v1, -0x5b
.L802473D8:
/* 167C38 802473D8 24030045 */ addiu $v1, $zero, 0x45
/* 167C3C 802473DC 3C048016 */ lui $a0, 0x8016
/* 167C40 802473E0 24849D50 */ addiu $a0, $a0, -0x62b0
/* 167C3C 802473DC 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167C40 802473E0 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L802473E4:
/* 167C44 802473E4 A4A30000 */ sh $v1, ($a1)
/* 167C48 802473E8 948205F2 */ lhu $v0, 0x5f2($a0)
@ -206,8 +206,8 @@ glabel func_802471EC
/* 167D48 802474E8 3C018025 */ lui $at, 0x8025
/* 167D4C 802474EC A022C098 */ sb $v0, -0x3f68($at)
/* 167D50 802474F0 24020002 */ addiu $v0, $zero, 2
/* 167D54 802474F4 3C048016 */ lui $a0, 0x8016
/* 167D58 802474F8 24849D50 */ addiu $a0, $a0, -0x62b0
/* 167D54 802474F4 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167D58 802474F8 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 167D5C 802474FC 3C038025 */ lui $v1, 0x8025
/* 167D60 80247500 8C639B8C */ lw $v1, -0x6474($v1)
/* 167D64 80247504 A0620004 */ sb $v0, 4($v1)
@ -231,8 +231,8 @@ glabel func_802471EC
/* 167DAC 8024754C 2463FFB3 */ addiu $v1, $v1, -0x4d
.L80247550:
/* 167DB0 80247550 24030053 */ addiu $v1, $zero, 0x53
/* 167DB4 80247554 3C048016 */ lui $a0, 0x8016
/* 167DB8 80247558 24849D50 */ addiu $a0, $a0, -0x62b0
/* 167DB4 80247554 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167DB8 80247558 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L8024755C:
/* 167DBC 8024755C A4A30000 */ sh $v1, ($a1)
/* 167DC0 80247560 948205F2 */ lhu $v0, 0x5f2($a0)
@ -306,8 +306,8 @@ glabel func_802471EC
/* 167EC8 80247668 3C018025 */ lui $at, 0x8025
/* 167ECC 8024766C A022C098 */ sb $v0, -0x3f68($at)
/* 167ED0 80247670 24020001 */ addiu $v0, $zero, 1
/* 167ED4 80247674 3C048016 */ lui $a0, 0x8016
/* 167ED8 80247678 24849D50 */ addiu $a0, $a0, -0x62b0
/* 167ED4 80247674 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167ED8 80247678 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 167EDC 8024767C 3C038025 */ lui $v1, 0x8025
/* 167EE0 80247680 8C639B8C */ lw $v1, -0x6474($v1)
/* 167EE4 80247684 A0620004 */ sb $v0, 4($v1)
@ -331,8 +331,8 @@ glabel func_802471EC
/* 167F2C 802476CC 2463FFB4 */ addiu $v1, $v1, -0x4c
.L802476D0:
/* 167F30 802476D0 24030054 */ addiu $v1, $zero, 0x54
/* 167F34 802476D4 3C048016 */ lui $a0, 0x8016
/* 167F38 802476D8 24849D50 */ addiu $a0, $a0, -0x62b0
/* 167F34 802476D4 3C048016 */ lui $a0, %hi(D_80159D50)
/* 167F38 802476D8 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L802476DC:
/* 167F3C 802476DC A4A30000 */ sh $v1, ($a1)
/* 167F40 802476E0 948205F2 */ lhu $v0, 0x5f2($a0)
@ -501,8 +501,8 @@ glabel func_802471EC
/* 1681BC 8024795C 3C018025 */ lui $at, 0x8025
/* 1681C0 80247960 A022C098 */ sb $v0, -0x3f68($at)
/* 1681C4 80247964 24020003 */ addiu $v0, $zero, 3
/* 1681C8 80247968 3C048016 */ lui $a0, 0x8016
/* 1681CC 8024796C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 1681C8 80247968 3C048016 */ lui $a0, %hi(D_80159D50)
/* 1681CC 8024796C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 1681D0 80247970 3C038025 */ lui $v1, 0x8025
/* 1681D4 80247974 8C639B8C */ lw $v1, -0x6474($v1)
/* 1681D8 80247978 A0620004 */ sb $v0, 4($v1)
@ -526,8 +526,8 @@ glabel func_802471EC
/* 168220 802479C0 2463FFA4 */ addiu $v1, $v1, -0x5c
.L802479C4:
/* 168224 802479C4 24030044 */ addiu $v1, $zero, 0x44
/* 168228 802479C8 3C048016 */ lui $a0, 0x8016
/* 16822C 802479CC 24849D50 */ addiu $a0, $a0, -0x62b0
/* 168228 802479C8 3C048016 */ lui $a0, %hi(D_80159D50)
/* 16822C 802479CC 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L802479D0:
/* 168230 802479D0 A4A30000 */ sh $v1, ($a1)
/* 168234 802479D4 948205F2 */ lhu $v0, 0x5f2($a0)

View File

@ -3,8 +3,8 @@
glabel func_80248170
/* 1689D0 80248170 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 1689D4 80248174 3C038016 */ lui $v1, 0x8016
/* 1689D8 80248178 24639D50 */ addiu $v1, $v1, -0x62b0
/* 1689D4 80248174 3C038016 */ lui $v1, %hi(D_80159D50)
/* 1689D8 80248178 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* 1689DC 8024817C 00041140 */ sll $v0, $a0, 5
/* 1689E0 80248180 00432821 */ addu $a1, $v0, $v1
/* 1689E4 80248184 AFBF0010 */ sw $ra, 0x10($sp)

View File

@ -38,8 +38,8 @@ glabel func_80248A80
/* 16935C 80248AFC 2484A190 */ addiu $a0, $a0, -0x5e70
/* 169360 80248B00 0C051FCC */ jal func_80147F30
/* 169364 80248B04 24050002 */ addiu $a1, $zero, 2
/* 169368 80248B08 3C048016 */ lui $a0, 0x8016
/* 16936C 80248B0C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 169368 80248B08 3C048016 */ lui $a0, %hi(D_80159D50)
/* 16936C 80248B0C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 169370 80248B10 94820610 */ lhu $v0, 0x610($a0)
/* 169374 80248B14 00021400 */ sll $v0, $v0, 0x10
/* 169378 80248B18 00021C03 */ sra $v1, $v0, 0x10
@ -63,8 +63,8 @@ glabel func_80248A80
.L80248B60:
/* 1693C0 80248B60 240200A0 */ addiu $v0, $zero, 0xa0
/* 1693C4 80248B64 00451023 */ subu $v0, $v0, $a1
/* 1693C8 80248B68 3C048016 */ lui $a0, 0x8016
/* 1693CC 80248B6C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 1693C8 80248B68 3C048016 */ lui $a0, %hi(D_80159D50)
/* 1693CC 80248B6C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L80248B70:
/* 1693D0 80248B70 A4C20000 */ sh $v0, ($a2)
/* 1693D4 80248B74 94820630 */ lhu $v0, 0x630($a0)

View File

@ -227,8 +227,8 @@ glabel func_80248BF4
/* 16978C 80248F2C 24A53CCC */ addiu $a1, $a1, 0x3ccc
/* 169790 80248F30 0C051F9F */ jal func_80147E7C
/* 169794 80248F34 24040032 */ addiu $a0, $zero, 0x32
/* 169798 80248F38 3C048016 */ lui $a0, 0x8016
/* 16979C 80248F3C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 169798 80248F38 3C048016 */ lui $a0, %hi(D_80159D50)
/* 16979C 80248F3C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 1697A0 80248F40 24020079 */ addiu $v0, $zero, 0x79
/* 1697A4 80248F44 A482064E */ sh $v0, 0x64e($a0)
/* 1697A8 80248F48 24020045 */ addiu $v0, $zero, 0x45
@ -251,8 +251,8 @@ glabel func_80248BF4
/* 1697EC 80248F8C 2463FFDE */ addiu $v1, $v1, -0x22
.L80248F90:
/* 1697F0 80248F90 2403007E */ addiu $v1, $zero, 0x7e
/* 1697F4 80248F94 3C048016 */ lui $a0, 0x8016
/* 1697F8 80248F98 24849D50 */ addiu $a0, $a0, -0x62b0
/* 1697F4 80248F94 3C048016 */ lui $a0, %hi(D_80159D50)
/* 1697F8 80248F98 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L80248F9C:
/* 1697FC 80248F9C 2402FFBA */ addiu $v0, $zero, -0x46
/* 169800 80248FA0 A4A30000 */ sh $v1, ($a1)
@ -429,8 +429,8 @@ glabel func_80248BF4
/* 169A7C 8024921C 24A53CCC */ addiu $a1, $a1, 0x3ccc
/* 169A80 80249220 0C051F9F */ jal func_80147E7C
/* 169A84 80249224 24040032 */ addiu $a0, $zero, 0x32
/* 169A88 80249228 3C048016 */ lui $a0, 0x8016
/* 169A8C 8024922C 24849D50 */ addiu $a0, $a0, -0x62b0
/* 169A88 80249228 3C048016 */ lui $a0, %hi(D_80159D50)
/* 169A8C 8024922C 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* 169A90 80249230 24020079 */ addiu $v0, $zero, 0x79
/* 169A94 80249234 A482064E */ sh $v0, 0x64e($a0)
/* 169A98 80249238 24020045 */ addiu $v0, $zero, 0x45
@ -453,8 +453,8 @@ glabel func_80248BF4
/* 169ADC 8024927C 2463FFDE */ addiu $v1, $v1, -0x22
.L80249280:
/* 169AE0 80249280 2403007E */ addiu $v1, $zero, 0x7e
/* 169AE4 80249284 3C048016 */ lui $a0, 0x8016
/* 169AE8 80249288 24849D50 */ addiu $a0, $a0, -0x62b0
/* 169AE4 80249284 3C048016 */ lui $a0, %hi(D_80159D50)
/* 169AE8 80249288 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L8024928C:
/* 169AEC 8024928C 2402FFBA */ addiu $v0, $zero, -0x46
/* 169AF0 80249290 A4A30000 */ sh $v1, ($a1)

View File

@ -110,7 +110,7 @@ glabel draw_main_battle_ui
/* 16D4F4 8023EC14 00000000 */ nop
/* 16D4F8 8023EC18 0808FB4E */ j .L8023ED38
/* 16D4FC 8023EC1C 00000000 */ nop
/* 16D500 8023EC20 0C091ACB */ jal func_80246B2C_code
/* 16D500 8023EC20 0C091ACB */ jal func_80246B2C
/* 16D504 8023EC24 00000000 */ nop
/* 16D508 8023EC28 0808FB4E */ j .L8023ED38
/* 16D50C 8023EC2C 00000000 */ nop

View File

@ -808,8 +808,8 @@ glabel func_8023F088
/* 16E5B8 8023FCD8 AE180090 */ sw $t8, 0x90($s0)
/* 16E5BC 8023FCDC AE030094 */ sw $v1, 0x94($s0)
/* 16E5C0 8023FCE0 AFC20000 */ sw $v0, ($fp)
/* 16E5C4 8023FCE4 3C04800A */ lui $a0, 0x800a
/* 16E5C8 8023FCE8 8C84A5DC */ lw $a0, -0x5a24($a0)
/* 16E5C4 8023FCE4 3C04800A */ lui $a0, %hi(nuGfxZBuffer)
/* 16E5C8 8023FCE8 8C84A5DC */ lw $a0, %lo(nuGfxZBuffer)($a0)
/* 16E5CC 8023FCEC 260200A8 */ addiu $v0, $s0, 0xa8
/* 16E5D0 8023FCF0 AE190098 */ sw $t9, 0x98($s0)
/* 16E5D4 8023FCF4 AE03009C */ sw $v1, 0x9c($s0)

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80246B2C
/* 17540C 80246B2C 03E00008 */ jr $ra
/* 175410 80246B30 00000000 */ nop

View File

@ -0,0 +1,6 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel pause_cleanup
/* 172FE8 80244708 03E00008 */ jr $ra
/* 172FEC 8024470C 00000000 */ nop

View File

@ -296,8 +296,8 @@ glabel func_80041F10
/* 1D74C 8004234C 080108E2 */ j .L80042388
/* 1D750 80042350 AED2009C */ sw $s2, 0x9c($s6)
.L80042354:
/* 1D754 80042354 3C048007 */ lui $a0, 0x8007
/* 1D758 80042358 24847E38 */ addiu $a0, $a0, 0x7e38
/* 1D754 80042354 3C048007 */ lui $a0, %hi(SCRIPT_NpcDefeat)
/* 1D758 80042358 24847E38 */ addiu $a0, $a0, %lo(SCRIPT_NpcDefeat)
/* 1D75C 8004235C 0000302D */ daddu $a2, $zero, $zero
/* 1D760 80042360 0C0B0D74 */ jal start_script_in_group
/* 1D764 80042364 00C0382D */ daddu $a3, $a2, $zero

View File

@ -126,8 +126,8 @@ glabel func_80027E10
.L80027FEC:
/* 33EC 80027FEC 3C02800A */ lui $v0, 0x800a
/* 33F0 80027FF0 8C42A658 */ lw $v0, -0x59a8($v0)
/* 33F4 80027FF4 3C06800A */ lui $a2, 0x800a
/* 33F8 80027FF8 8CC6A5DC */ lw $a2, -0x5a24($a2)
/* 33F4 80027FF4 3C06800A */ lui $a2, %hi(nuGfxZBuffer)
/* 33F8 80027FF8 8CC6A5DC */ lw $a2, %lo(nuGfxZBuffer)($a2)
/* 33FC 80027FFC 8C440000 */ lw $a0, ($v0)
/* 3400 80028000 0C009E6D */ jal func_800279B4
/* 3404 80028004 8C450004 */ lw $a1, 4($v0)
@ -271,8 +271,8 @@ glabel func_80027E10
/* 3620 80028220 26940018 */ addiu $s4, $s4, 0x18
/* 3624 80028224 27390001 */ addiu $t9, $t9, 1
/* 3628 80028228 8E430000 */ lw $v1, ($s2)
/* 362C 8002822C 3C02800A */ lui $v0, 0x800a
/* 3630 80028230 8C42A5DC */ lw $v0, -0x5a24($v0)
/* 362C 8002822C 3C02800A */ lui $v0, %hi(nuGfxZBuffer)
/* 3630 80028230 8C42A5DC */ lw $v0, %lo(nuGfxZBuffer)($v0)
/* 3634 80028234 0060202D */ daddu $a0, $v1, $zero
/* 3638 80028238 24630008 */ addiu $v1, $v1, 8
/* 363C 8002823C 00531021 */ addu $v0, $v0, $s3
@ -374,8 +374,8 @@ glabel func_80027E10
/* 37B4 800283B4 0200282D */ daddu $a1, $s0, $zero
/* 37B8 800283B8 26100008 */ addiu $s0, $s0, 8
/* 37BC 800283BC AE300000 */ sw $s0, ($s1)
/* 37C0 800283C0 3C03800A */ lui $v1, 0x800a
/* 37C4 800283C4 8C63A5DC */ lw $v1, -0x5a24($v1)
/* 37C0 800283C0 3C03800A */ lui $v1, %hi(nuGfxZBuffer)
/* 37C4 800283C4 8C63A5DC */ lw $v1, %lo(nuGfxZBuffer)($v1)
/* 37C8 800283C8 3C12F700 */ lui $s2, 0xf700
/* 37CC 800283CC ACA20000 */ sw $v0, ($a1)
/* 37D0 800283D0 3C028000 */ lui $v0, 0x8000

View File

@ -267,8 +267,8 @@ glabel func_8004AE08
/* 265C8 8004B1C8 AE22000C */ sw $v0, 0xc($s1)
/* 265CC 8004B1CC AC830000 */ sw $v1, ($a0)
/* 265D0 8004B1D0 A0A00002 */ sb $zero, 2($a1)
/* 265D4 8004B1D4 3C04800A */ lui $a0, 0x800a
/* 265D8 8004B1D8 8C84A638 */ lw $a0, -0x59c8($a0)
/* 265D4 8004B1D4 3C04800A */ lui $a0, %hi(carthandle)
/* 265D8 8004B1D8 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 265DC 8004B1DC 3C02800A */ lui $v0, 0x800a
/* 265E0 8004B1E0 24423640 */ addiu $v0, $v0, 0x3640
/* 265E4 8004B1E4 ACA20004 */ sw $v0, 4($a1)

View File

@ -12,8 +12,8 @@ glabel func_802AE000
/* 316DAC 802AE01C 0000802D */ daddu $s0, $zero, $zero
/* 316DB0 802AE020 3C05B000 */ lui $a1, 0xb000
/* 316DB4 802AE024 34A50800 */ ori $a1, $a1, 0x800
/* 316DB8 802AE028 3C04800A */ lui $a0, 0x800a
/* 316DBC 802AE02C 8C84A638 */ lw $a0, -0x59c8($a0)
/* 316DB8 802AE028 3C04800A */ lui $a0, %hi(carthandle)
/* 316DBC 802AE02C 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 316DC0 802AE030 27A60010 */ addiu $a2, $sp, 0x10
/* 316DC4 802AE034 AFB20020 */ sw $s2, 0x20($sp)
/* 316DC8 802AE038 0200902D */ daddu $s2, $s0, $zero
@ -39,8 +39,8 @@ glabel func_802AE000
/* 316E18 802AE088 0060B02D */ daddu $s6, $v1, $zero
.L802AE08C:
/* 316E1C 802AE08C 0220282D */ daddu $a1, $s1, $zero
/* 316E20 802AE090 3C04800A */ lui $a0, 0x800a
/* 316E24 802AE094 8C84A638 */ lw $a0, -0x59c8($a0)
/* 316E20 802AE090 3C04800A */ lui $a0, %hi(carthandle)
/* 316E24 802AE094 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 316E28 802AE098 02A0F809 */ jalr $s5
/* 316E2C 802AE09C 27A60010 */ addiu $a2, $sp, 0x10
/* 316E30 802AE0A0 8FA30010 */ lw $v1, 0x10($sp)

View File

@ -110,23 +110,23 @@ glabel update_input
/* 3DF8 800289F8 00431024 */ and $v0, $v0, $v1
/* 3DFC 800289FC 14400005 */ bnez $v0, .L80028A14
/* 3E00 80028A00 00832025 */ or $a0, $a0, $v1
/* 3E04 80028A04 3C01800A */ lui $at, 0x800a
/* 3E08 80028A08 A425A6A0 */ sh $a1, -0x5960($at)
/* 3E04 80028A04 3C01800A */ lui $at, %hi(D_8009A6A0)
/* 3E08 80028A08 A425A6A0 */ sh $a1, %lo(D_8009A6A0)($at)
/* 3E0C 80028A0C 0800A295 */ j .L80028A54
/* 3E10 80028A10 00051400 */ sll $v0, $a1, 0x10
.L80028A14:
/* 3E14 80028A14 3C02800A */ lui $v0, 0x800a
/* 3E18 80028A18 8442A6A4 */ lh $v0, -0x595c($v0)
/* 3E14 80028A14 3C02800A */ lui $v0, %hi(D_8009A6A4)
/* 3E18 80028A18 8442A6A4 */ lh $v0, %lo(D_8009A6A4)($v0)
/* 3E1C 80028A1C 14400006 */ bnez $v0, .L80028A38
/* 3E20 80028A20 00000000 */ nop
/* 3E24 80028A24 3C03800A */ lui $v1, 0x800a
/* 3E28 80028A28 2463A6A0 */ addiu $v1, $v1, -0x5960
/* 3E24 80028A24 3C03800A */ lui $v1, %hi(D_8009A6A0)
/* 3E28 80028A28 2463A6A0 */ addiu $v1, $v1, %lo(D_8009A6A0)
/* 3E2C 80028A2C 84620000 */ lh $v0, ($v1)
/* 3E30 80028A30 0800A292 */ j .L80028A48
/* 3E34 80028A34 0046102A */ slt $v0, $v0, $a2
.L80028A38:
/* 3E38 80028A38 3C03800A */ lui $v1, 0x800a
/* 3E3C 80028A3C 2463A6A0 */ addiu $v1, $v1, -0x5960
/* 3E38 80028A38 3C03800A */ lui $v1, %hi(D_8009A6A0)
/* 3E3C 80028A3C 2463A6A0 */ addiu $v1, $v1, %lo(D_8009A6A0)
/* 3E40 80028A40 84620000 */ lh $v0, ($v1)
/* 3E44 80028A44 00C2102A */ slt $v0, $a2, $v0
.L80028A48:
@ -147,23 +147,23 @@ glabel update_input
/* 3E78 80028A78 00431024 */ and $v0, $v0, $v1
/* 3E7C 80028A7C 14400005 */ bnez $v0, .L80028A94
/* 3E80 80028A80 00832025 */ or $a0, $a0, $v1
/* 3E84 80028A84 3C01800A */ lui $at, 0x800a
/* 3E88 80028A88 A425A6A0 */ sh $a1, -0x5960($at)
/* 3E84 80028A84 3C01800A */ lui $at, %hi(D_8009A6A0)
/* 3E88 80028A88 A425A6A0 */ sh $a1, %lo(D_8009A6A0)($at)
/* 3E8C 80028A8C 0800A2B5 */ j .L80028AD4
/* 3E90 80028A90 0100102D */ daddu $v0, $t0, $zero
.L80028A94:
/* 3E94 80028A94 3C02800A */ lui $v0, 0x800a
/* 3E98 80028A98 8442A6A4 */ lh $v0, -0x595c($v0)
/* 3E94 80028A94 3C02800A */ lui $v0, %hi(D_8009A6A4)
/* 3E98 80028A98 8442A6A4 */ lh $v0, %lo(D_8009A6A4)($v0)
/* 3E9C 80028A9C 14400006 */ bnez $v0, .L80028AB8
/* 3EA0 80028AA0 00000000 */ nop
/* 3EA4 80028AA4 3C03800A */ lui $v1, 0x800a
/* 3EA8 80028AA8 2463A6A0 */ addiu $v1, $v1, -0x5960
/* 3EA4 80028AA4 3C03800A */ lui $v1, %hi(D_8009A6A0)
/* 3EA8 80028AA8 2463A6A0 */ addiu $v1, $v1, %lo(D_8009A6A0)
/* 3EAC 80028AAC 84620000 */ lh $v0, ($v1)
/* 3EB0 80028AB0 0800A2B2 */ j .L80028AC8
/* 3EB4 80028AB4 00C2102A */ slt $v0, $a2, $v0
.L80028AB8:
/* 3EB8 80028AB8 3C03800A */ lui $v1, 0x800a
/* 3EBC 80028ABC 2463A6A0 */ addiu $v1, $v1, -0x5960
/* 3EB8 80028AB8 3C03800A */ lui $v1, %hi(D_8009A6A0)
/* 3EBC 80028ABC 2463A6A0 */ addiu $v1, $v1, %lo(D_8009A6A0)
/* 3EC0 80028AC0 84620000 */ lh $v0, ($v1)
/* 3EC4 80028AC4 0046102A */ slt $v0, $v0, $a2
.L80028AC8:
@ -174,10 +174,10 @@ glabel update_input
.L80028AD4:
/* 3ED4 80028AD4 14400005 */ bnez $v0, .L80028AEC
/* 3ED8 80028AD8 00071400 */ sll $v0, $a3, 0x10
/* 3EDC 80028ADC 3C01800A */ lui $at, 0x800a
/* 3EE0 80028AE0 A420A6A4 */ sh $zero, -0x595c($at)
/* 3EE4 80028AE4 3C01800A */ lui $at, 0x800a
/* 3EE8 80028AE8 A425A6A0 */ sh $a1, -0x5960($at)
/* 3EDC 80028ADC 3C01800A */ lui $at, %hi(D_8009A6A4)
/* 3EE0 80028AE0 A420A6A4 */ sh $zero, %lo(D_8009A6A4)($at)
/* 3EE4 80028AE4 3C01800A */ lui $at, %hi(D_8009A6A0)
/* 3EE8 80028AE8 A425A6A0 */ sh $a1, %lo(D_8009A6A0)($at)
.L80028AEC:
/* 3EEC 80028AEC 00023403 */ sra $a2, $v0, 0x10
/* 3EF0 80028AF0 28C20021 */ slti $v0, $a2, 0x21
@ -191,23 +191,23 @@ glabel update_input
/* 3F10 80028B10 00431024 */ and $v0, $v0, $v1
/* 3F14 80028B14 14400005 */ bnez $v0, .L80028B2C
/* 3F18 80028B18 00832025 */ or $a0, $a0, $v1
/* 3F1C 80028B1C 3C01800A */ lui $at, 0x800a
/* 3F20 80028B20 A427A6A2 */ sh $a3, -0x595e($at)
/* 3F1C 80028B1C 3C01800A */ lui $at, %hi(D_8009A6A2)
/* 3F20 80028B20 A427A6A2 */ sh $a3, %lo(D_8009A6A2)($at)
/* 3F24 80028B24 0800A2DB */ j .L80028B6C
/* 3F28 80028B28 00071400 */ sll $v0, $a3, 0x10
.L80028B2C:
/* 3F2C 80028B2C 3C02800A */ lui $v0, 0x800a
/* 3F30 80028B30 8442A6A6 */ lh $v0, -0x595a($v0)
/* 3F2C 80028B2C 3C02800A */ lui $v0, %hi(D_8009A6A6)
/* 3F30 80028B30 8442A6A6 */ lh $v0, %lo(D_8009A6A6)($v0)
/* 3F34 80028B34 14400006 */ bnez $v0, .L80028B50
/* 3F38 80028B38 00000000 */ nop
/* 3F3C 80028B3C 3C03800A */ lui $v1, 0x800a
/* 3F40 80028B40 2463A6A2 */ addiu $v1, $v1, -0x595e
/* 3F3C 80028B3C 3C03800A */ lui $v1, %hi(D_8009A6A2)
/* 3F40 80028B40 2463A6A2 */ addiu $v1, $v1, %lo(D_8009A6A2)
/* 3F44 80028B44 84620000 */ lh $v0, ($v1)
/* 3F48 80028B48 0800A2D8 */ j .L80028B60
/* 3F4C 80028B4C 0046102A */ slt $v0, $v0, $a2
.L80028B50:
/* 3F50 80028B50 3C03800A */ lui $v1, 0x800a
/* 3F54 80028B54 2463A6A2 */ addiu $v1, $v1, -0x595e
/* 3F50 80028B50 3C03800A */ lui $v1, %hi(D_8009A6A2)
/* 3F54 80028B54 2463A6A2 */ addiu $v1, $v1, %lo(D_8009A6A2)
/* 3F58 80028B58 84620000 */ lh $v0, ($v1)
/* 3F5C 80028B5C 00C2102A */ slt $v0, $a2, $v0
.L80028B60:
@ -228,17 +228,17 @@ glabel update_input
/* 3F90 80028B90 00431024 */ and $v0, $v0, $v1
/* 3F94 80028B94 14400005 */ bnez $v0, .L80028BAC
/* 3F98 80028B98 00832025 */ or $a0, $a0, $v1
/* 3F9C 80028B9C 3C01800A */ lui $at, 0x800a
/* 3FA0 80028BA0 A427A6A2 */ sh $a3, -0x595e($at)
/* 3F9C 80028B9C 3C01800A */ lui $at, %hi(D_8009A6A2)
/* 3FA0 80028BA0 A427A6A2 */ sh $a3, %lo(D_8009A6A2)($at)
/* 3FA4 80028BA4 0800A309 */ j .L80028C24
/* 3FA8 80028BA8 0100102D */ daddu $v0, $t0, $zero
.L80028BAC:
/* 3FAC 80028BAC 3C02800A */ lui $v0, 0x800a
/* 3FB0 80028BB0 8442A6A6 */ lh $v0, -0x595a($v0)
/* 3FAC 80028BAC 3C02800A */ lui $v0, %hi(D_8009A6A6)
/* 3FB0 80028BB0 8442A6A6 */ lh $v0, %lo(D_8009A6A6)($v0)
/* 3FB4 80028BB4 14400014 */ bnez $v0, .L80028C08
/* 3FB8 80028BB8 00000000 */ nop
/* 3FBC 80028BBC 3C03800A */ lui $v1, 0x800a
/* 3FC0 80028BC0 2463A6A2 */ addiu $v1, $v1, -0x595e
/* 3FBC 80028BBC 3C03800A */ lui $v1, %hi(D_8009A6A2)
/* 3FC0 80028BC0 2463A6A2 */ addiu $v1, $v1, %lo(D_8009A6A2)
/* 3FC4 80028BC4 84620000 */ lh $v0, ($v1)
/* 3FC8 80028BC8 0800A306 */ j .L80028C18
/* 3FCC 80028BCC 00C2102A */ slt $v0, $a2, $v0
@ -259,8 +259,8 @@ glabel update_input
/* 4000 80028C00 0800A3AB */ j .L80028EAC
/* 4004 80028C04 ACA00020 */ sw $zero, 0x20($a1)
.L80028C08:
/* 4008 80028C08 3C03800A */ lui $v1, 0x800a
/* 400C 80028C0C 2463A6A2 */ addiu $v1, $v1, -0x595e
/* 4008 80028C08 3C03800A */ lui $v1, %hi(D_8009A6A2)
/* 400C 80028C0C 2463A6A2 */ addiu $v1, $v1, %lo(D_8009A6A2)
/* 4010 80028C10 84620000 */ lh $v0, ($v1)
/* 4014 80028C14 0046102A */ slt $v0, $v0, $a2
.L80028C18:
@ -271,23 +271,23 @@ glabel update_input
.L80028C24:
/* 4024 80028C24 14400005 */ bnez $v0, .L80028C3C
/* 4028 80028C28 00051400 */ sll $v0, $a1, 0x10
/* 402C 80028C2C 3C01800A */ lui $at, 0x800a
/* 4030 80028C30 A420A6A6 */ sh $zero, -0x595a($at)
/* 4034 80028C34 3C01800A */ lui $at, 0x800a
/* 4038 80028C38 A427A6A2 */ sh $a3, -0x595e($at)
/* 402C 80028C2C 3C01800A */ lui $at, %hi(D_8009A6A6)
/* 4030 80028C30 A420A6A6 */ sh $zero, %lo(D_8009A6A6)($at)
/* 4034 80028C34 3C01800A */ lui $at, %hi(D_8009A6A2)
/* 4038 80028C38 A427A6A2 */ sh $a3, %lo(D_8009A6A2)($at)
.L80028C3C:
/* 403C 80028C3C 00023403 */ sra $a2, $v0, 0x10
/* 4040 80028C40 28C20021 */ slti $v0, $a2, 0x21
/* 4044 80028C44 1440001C */ bnez $v0, .L80028CB8
/* 4048 80028C48 00051400 */ sll $v0, $a1, 0x10
/* 404C 80028C4C 3C08800A */ lui $t0, 0x800a
/* 4050 80028C50 2508A6A4 */ addiu $t0, $t0, -0x595c
/* 404C 80028C4C 3C08800A */ lui $t0, %hi(D_8009A6A4)
/* 4050 80028C50 2508A6A4 */ addiu $t0, $t0, %lo(D_8009A6A4)
/* 4054 80028C54 85030000 */ lh $v1, ($t0)
/* 4058 80028C58 24020001 */ addiu $v0, $zero, 1
/* 405C 80028C5C 1462000A */ bne $v1, $v0, .L80028C88
/* 4060 80028C60 00000000 */ nop
/* 4064 80028C64 3C02800A */ lui $v0, 0x800a
/* 4068 80028C68 8442A6A0 */ lh $v0, -0x5960($v0)
/* 4064 80028C64 3C02800A */ lui $v0, %hi(D_8009A6A0)
/* 4068 80028C68 8442A6A0 */ lh $v0, %lo(D_8009A6A0)($v0)
/* 406C 80028C6C 00C21023 */ subu $v0, $a2, $v0
/* 4070 80028C70 28420011 */ slti $v0, $v0, 0x11
/* 4074 80028C74 14400004 */ bnez $v0, .L80028C88
@ -296,8 +296,8 @@ glabel update_input
/* 4080 80028C80 00822024 */ and $a0, $a0, $v0
/* 4084 80028C84 A5000000 */ sh $zero, ($t0)
.L80028C88:
/* 4088 80028C88 3C03800A */ lui $v1, 0x800a
/* 408C 80028C8C 8463A6A0 */ lh $v1, -0x5960($v1)
/* 4088 80028C88 3C03800A */ lui $v1, %hi(D_8009A6A0)
/* 408C 80028C8C 8463A6A0 */ lh $v1, %lo(D_8009A6A0)($v1)
/* 4090 80028C90 00051400 */ sll $v0, $a1, 0x10
/* 4094 80028C94 00021403 */ sra $v0, $v0, 0x10
/* 4098 80028C98 00621823 */ subu $v1, $v1, $v0
@ -305,21 +305,21 @@ glabel update_input
/* 40A0 80028CA0 14600005 */ bnez $v1, .L80028CB8
/* 40A4 80028CA4 00051400 */ sll $v0, $a1, 0x10
/* 40A8 80028CA8 24020001 */ addiu $v0, $zero, 1
/* 40AC 80028CAC 3C01800A */ lui $at, 0x800a
/* 40B0 80028CB0 A422A6A4 */ sh $v0, -0x595c($at)
/* 40AC 80028CAC 3C01800A */ lui $at, %hi(D_8009A6A4)
/* 40B0 80028CB0 A422A6A4 */ sh $v0, %lo(D_8009A6A4)($at)
/* 40B4 80028CB4 00051400 */ sll $v0, $a1, 0x10
.L80028CB8:
/* 40B8 80028CB8 00023403 */ sra $a2, $v0, 0x10
/* 40BC 80028CBC 28C2FFE0 */ slti $v0, $a2, -0x20
/* 40C0 80028CC0 1040001B */ beqz $v0, .L80028D30
/* 40C4 80028CC4 24020001 */ addiu $v0, $zero, 1
/* 40C8 80028CC8 3C08800A */ lui $t0, 0x800a
/* 40CC 80028CCC 2508A6A4 */ addiu $t0, $t0, -0x595c
/* 40C8 80028CC8 3C08800A */ lui $t0, %hi(D_8009A6A4)
/* 40CC 80028CCC 2508A6A4 */ addiu $t0, $t0, %lo(D_8009A6A4)
/* 40D0 80028CD0 85030000 */ lh $v1, ($t0)
/* 40D4 80028CD4 1462000C */ bne $v1, $v0, .L80028D08
/* 40D8 80028CD8 00051400 */ sll $v0, $a1, 0x10
/* 40DC 80028CDC 3C02800A */ lui $v0, 0x800a
/* 40E0 80028CE0 8442A6A0 */ lh $v0, -0x5960($v0)
/* 40DC 80028CDC 3C02800A */ lui $v0, %hi(D_8009A6A0)
/* 40E0 80028CE0 8442A6A0 */ lh $v0, %lo(D_8009A6A0)($v0)
/* 40E4 80028CE4 00461023 */ subu $v0, $v0, $a2
/* 40E8 80028CE8 28420011 */ slti $v0, $v0, 0x11
/* 40EC 80028CEC 14400006 */ bnez $v0, .L80028D08
@ -330,16 +330,16 @@ glabel update_input
/* 4100 80028D00 A5000000 */ sh $zero, ($t0)
/* 4104 80028D04 00051400 */ sll $v0, $a1, 0x10
.L80028D08:
/* 4108 80028D08 3C03800A */ lui $v1, 0x800a
/* 410C 80028D0C 8463A6A0 */ lh $v1, -0x5960($v1)
/* 4108 80028D08 3C03800A */ lui $v1, %hi(D_8009A6A0)
/* 410C 80028D0C 8463A6A0 */ lh $v1, %lo(D_8009A6A0)($v1)
/* 4110 80028D10 00021403 */ sra $v0, $v0, 0x10
/* 4114 80028D14 00431023 */ subu $v0, $v0, $v1
/* 4118 80028D18 28420011 */ slti $v0, $v0, 0x11
/* 411C 80028D1C 14400005 */ bnez $v0, .L80028D34
/* 4120 80028D20 00071400 */ sll $v0, $a3, 0x10
/* 4124 80028D24 24020001 */ addiu $v0, $zero, 1
/* 4128 80028D28 3C01800A */ lui $at, 0x800a
/* 412C 80028D2C A422A6A4 */ sh $v0, -0x595c($at)
/* 4128 80028D28 3C01800A */ lui $at, %hi(D_8009A6A4)
/* 412C 80028D2C A422A6A4 */ sh $v0, %lo(D_8009A6A4)($at)
.L80028D30:
/* 4130 80028D30 00071400 */ sll $v0, $a3, 0x10
.L80028D34:
@ -347,14 +347,14 @@ glabel update_input
/* 4138 80028D38 28A20021 */ slti $v0, $a1, 0x21
/* 413C 80028D3C 1440001C */ bnez $v0, .L80028DB0
/* 4140 80028D40 00071400 */ sll $v0, $a3, 0x10
/* 4144 80028D44 3C06800A */ lui $a2, 0x800a
/* 4148 80028D48 24C6A6A6 */ addiu $a2, $a2, -0x595a
/* 4144 80028D44 3C06800A */ lui $a2, %hi(D_8009A6A6)
/* 4148 80028D48 24C6A6A6 */ addiu $a2, $a2, %lo(D_8009A6A6)
/* 414C 80028D4C 84C30000 */ lh $v1, ($a2)
/* 4150 80028D50 24020001 */ addiu $v0, $zero, 1
/* 4154 80028D54 1462000A */ bne $v1, $v0, .L80028D80
/* 4158 80028D58 00000000 */ nop
/* 415C 80028D5C 3C02800A */ lui $v0, 0x800a
/* 4160 80028D60 8442A6A2 */ lh $v0, -0x595e($v0)
/* 415C 80028D5C 3C02800A */ lui $v0, %hi(D_8009A6A2)
/* 4160 80028D60 8442A6A2 */ lh $v0, %lo(D_8009A6A2)($v0)
/* 4164 80028D64 00A21023 */ subu $v0, $a1, $v0
/* 4168 80028D68 28420011 */ slti $v0, $v0, 0x11
/* 416C 80028D6C 14400004 */ bnez $v0, .L80028D80
@ -363,8 +363,8 @@ glabel update_input
/* 4178 80028D78 00822024 */ and $a0, $a0, $v0
/* 417C 80028D7C A4C00000 */ sh $zero, ($a2)
.L80028D80:
/* 4180 80028D80 3C03800A */ lui $v1, 0x800a
/* 4184 80028D84 8463A6A2 */ lh $v1, -0x595e($v1)
/* 4180 80028D80 3C03800A */ lui $v1, %hi(D_8009A6A2)
/* 4184 80028D84 8463A6A2 */ lh $v1, %lo(D_8009A6A2)($v1)
/* 4188 80028D88 00071400 */ sll $v0, $a3, 0x10
/* 418C 80028D8C 00021403 */ sra $v0, $v0, 0x10
/* 4190 80028D90 00621823 */ subu $v1, $v1, $v0
@ -372,21 +372,21 @@ glabel update_input
/* 4198 80028D98 14600005 */ bnez $v1, .L80028DB0
/* 419C 80028D9C 00071400 */ sll $v0, $a3, 0x10
/* 41A0 80028DA0 24020001 */ addiu $v0, $zero, 1
/* 41A4 80028DA4 3C01800A */ lui $at, 0x800a
/* 41A8 80028DA8 A422A6A6 */ sh $v0, -0x595a($at)
/* 41A4 80028DA4 3C01800A */ lui $at, %hi(D_8009A6A6)
/* 41A8 80028DA8 A422A6A6 */ sh $v0, %lo(D_8009A6A6)($at)
/* 41AC 80028DAC 00071400 */ sll $v0, $a3, 0x10
.L80028DB0:
/* 41B0 80028DB0 00022C03 */ sra $a1, $v0, 0x10
/* 41B4 80028DB4 28A2FFE0 */ slti $v0, $a1, -0x20
/* 41B8 80028DB8 1040001A */ beqz $v0, .L80028E24
/* 41BC 80028DBC 24020001 */ addiu $v0, $zero, 1
/* 41C0 80028DC0 3C06800A */ lui $a2, 0x800a
/* 41C4 80028DC4 24C6A6A6 */ addiu $a2, $a2, -0x595a
/* 41C0 80028DC0 3C06800A */ lui $a2, %hi(D_8009A6A6)
/* 41C4 80028DC4 24C6A6A6 */ addiu $a2, $a2, %lo(D_8009A6A6)
/* 41C8 80028DC8 84C30000 */ lh $v1, ($a2)
/* 41CC 80028DCC 1462000C */ bne $v1, $v0, .L80028E00
/* 41D0 80028DD0 00071400 */ sll $v0, $a3, 0x10
/* 41D4 80028DD4 3C02800A */ lui $v0, 0x800a
/* 41D8 80028DD8 8442A6A2 */ lh $v0, -0x595e($v0)
/* 41D4 80028DD4 3C02800A */ lui $v0, %hi(D_8009A6A2)
/* 41D8 80028DD8 8442A6A2 */ lh $v0, %lo(D_8009A6A2)($v0)
/* 41DC 80028DDC 00451023 */ subu $v0, $v0, $a1
/* 41E0 80028DE0 28420011 */ slti $v0, $v0, 0x11
/* 41E4 80028DE4 14400006 */ bnez $v0, .L80028E00
@ -397,15 +397,15 @@ glabel update_input
/* 41F8 80028DF8 A4C00000 */ sh $zero, ($a2)
/* 41FC 80028DFC 00071400 */ sll $v0, $a3, 0x10
.L80028E00:
/* 4200 80028E00 3C03800A */ lui $v1, 0x800a
/* 4204 80028E04 8463A6A2 */ lh $v1, -0x595e($v1)
/* 4200 80028E00 3C03800A */ lui $v1, %hi(D_8009A6A2)
/* 4204 80028E04 8463A6A2 */ lh $v1, %lo(D_8009A6A2)($v1)
/* 4208 80028E08 00021403 */ sra $v0, $v0, 0x10
/* 420C 80028E0C 00431023 */ subu $v0, $v0, $v1
/* 4210 80028E10 28420011 */ slti $v0, $v0, 0x11
/* 4214 80028E14 14400003 */ bnez $v0, .L80028E24
/* 4218 80028E18 24020001 */ addiu $v0, $zero, 1
/* 421C 80028E1C 3C01800A */ lui $at, 0x800a
/* 4220 80028E20 A422A6A6 */ sh $v0, -0x595a($at)
/* 421C 80028E1C 3C01800A */ lui $at, %hi(D_8009A6A6)
/* 4220 80028E20 A422A6A6 */ sh $v0, %lo(D_8009A6A6)($at)
.L80028E24:
/* 4224 80028E24 3C058007 */ lui $a1, %hi(gGameStatusPtr)
/* 4228 80028E28 8CA5419C */ lw $a1, %lo(gGameStatusPtr)($a1)

View File

@ -21,8 +21,8 @@ glabel func_80029860
/* 4CA0 800298A0 0C019560 */ jal osCreateMesgQueue
/* 4CA4 800298A4 24060001 */ addiu $a2, $zero, 1
/* 4CA8 800298A8 27A50010 */ addiu $a1, $sp, 0x10
/* 4CAC 800298AC 3C04800A */ lui $a0, 0x800a
/* 4CB0 800298B0 8C84A638 */ lw $a0, -0x59c8($a0)
/* 4CAC 800298AC 3C04800A */ lui $a0, %hi(carthandle)
/* 4CB0 800298B0 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 4CB4 800298B4 24060001 */ addiu $a2, $zero, 1
/* 4CB8 800298B8 A3A00012 */ sb $zero, 0x12($sp)
/* 4CBC 800298BC AFB00014 */ sw $s0, 0x14($sp)

View File

@ -16,8 +16,8 @@ glabel func_8002D160
/* 858C 8002D18C 0000802D */ daddu $s0, $zero, $zero
/* 8590 8002D190 3C05B000 */ lui $a1, 0xb000
/* 8594 8002D194 34A50D10 */ ori $a1, $a1, 0xd10
/* 8598 8002D198 3C04800A */ lui $a0, 0x800a
/* 859C 8002D19C 8C84A638 */ lw $a0, -0x59c8($a0)
/* 8598 8002D198 3C04800A */ lui $a0, %hi(carthandle)
/* 859C 8002D19C 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 85A0 8002D1A0 27A60010 */ addiu $a2, $sp, 0x10
/* 85A4 8002D1A4 AFB20020 */ sw $s2, 0x20($sp)
/* 85A8 8002D1A8 0200902D */ daddu $s2, $s0, $zero
@ -41,8 +41,8 @@ glabel func_8002D160
/* 85F0 8002D1F0 0060B82D */ daddu $s7, $v1, $zero
.L8002D1F4:
/* 85F4 8002D1F4 0220282D */ daddu $a1, $s1, $zero
/* 85F8 8002D1F8 3C04800A */ lui $a0, 0x800a
/* 85FC 8002D1FC 8C84A638 */ lw $a0, -0x59c8($a0)
/* 85F8 8002D1F8 3C04800A */ lui $a0, %hi(carthandle)
/* 85FC 8002D1FC 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 8600 8002D200 0280F809 */ jalr $s4
/* 8604 8002D204 27A60010 */ addiu $a2, $sp, 0x10
/* 8608 8002D208 8FA30010 */ lw $v1, 0x10($sp)
@ -96,8 +96,8 @@ glabel func_8002D160
/* 86B8 8002D2B8 3C05B000 */ lui $a1, 0xb000
/* 86BC 8002D2BC 34A50E38 */ ori $a1, $a1, 0xe38
/* 86C0 8002D2C0 27A60014 */ addiu $a2, $sp, 0x14
/* 86C4 8002D2C4 3C04800A */ lui $a0, 0x800a
/* 86C8 8002D2C8 8C84A638 */ lw $a0, -0x59c8($a0)
/* 86C4 8002D2C4 3C04800A */ lui $a0, %hi(carthandle)
/* 86C8 8002D2C8 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 86CC 8002D2CC 3C148006 */ lui $s4, 0x8006
/* 86D0 8002D2D0 26940DC0 */ addiu $s4, $s4, 0xdc0
/* 86D4 8002D2D4 0280F809 */ jalr $s4
@ -114,8 +114,8 @@ glabel func_8002D160
/* 8700 8002D300 0060B82D */ daddu $s7, $v1, $zero
.L8002D304:
/* 8704 8002D304 0220282D */ daddu $a1, $s1, $zero
/* 8708 8002D308 3C04800A */ lui $a0, 0x800a
/* 870C 8002D30C 8C84A638 */ lw $a0, -0x59c8($a0)
/* 8708 8002D308 3C04800A */ lui $a0, %hi(carthandle)
/* 870C 8002D30C 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 8710 8002D310 0280F809 */ jalr $s4
/* 8714 8002D314 27A60014 */ addiu $a2, $sp, 0x14
/* 8718 8002D318 8FA30014 */ lw $v1, 0x14($sp)

View File

@ -4,8 +4,8 @@
glabel nuSiMgrInit
/* 8230 8002CE30 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 8234 8002CE34 AFB00030 */ sw $s0, 0x30($sp)
/* 8238 8002CE38 3C10800E */ lui $s0, 0x800e
/* 823C 8002CE3C 2610AC78 */ addiu $s0, $s0, -0x5388
/* 8238 8002CE38 3C10800E */ lui $s0, %hi(nuSiMesgQ)
/* 823C 8002CE3C 2610AC78 */ addiu $s0, $s0, %lo(nuSiMesgQ)
/* 8240 8002CE40 0200202D */ daddu $a0, $s0, $zero
/* 8244 8002CE44 3C05800A */ lui $a1, 0x800a
/* 8248 8002CE48 24A5E6F0 */ addiu $a1, $a1, -0x1910

View File

@ -11,8 +11,8 @@ glabel AssignAreaFlag
/* A8710 80112010 8C83000C */ lw $v1, 0xc($a0)
/* A8714 80112014 0C0B1EAF */ jal get_variable
/* A8718 80112018 8C650000 */ lw $a1, ($v1)
/* A871C 8011201C 3C048015 */ lui $a0, 0x8015
/* A8720 80112020 8C8412EC */ lw $a0, 0x12ec($a0)
/* A871C 8011201C 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A8720 80112020 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A8724 80112024 0C04417A */ jal get_entity_by_index
/* A8728 80112028 0040802D */ daddu $s0, $v0, $zero
/* A872C 8011202C 0040882D */ daddu $s1, $v0, $zero

View File

@ -10,8 +10,8 @@ glabel AssignBlockFlag
/* A8780 80112080 8C83000C */ lw $v1, 0xc($a0)
/* A8784 80112084 0C0B1F6A */ jal get_variable_index
/* A8788 80112088 8C650000 */ lw $a1, ($v1)
/* A878C 8011208C 3C048015 */ lui $a0, 0x8015
/* A8790 80112090 8C8412EC */ lw $a0, 0x12ec($a0)
/* A878C 8011208C 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A8790 80112090 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A8794 80112094 0C04417A */ jal get_entity_by_index
/* A8798 80112098 0040802D */ daddu $s0, $v0, $zero
/* A879C 8011209C 8C430040 */ lw $v1, 0x40($v0)

View File

@ -10,8 +10,8 @@ glabel AssignCrateFlag
/* A8884 80112184 AFB00010 */ sw $s0, 0x10($sp)
/* A8888 80112188 14A2000B */ bne $a1, $v0, .L801121B8
/* A888C 8011218C 8E30000C */ lw $s0, 0xc($s1)
/* A8890 80112190 3C048015 */ lui $a0, 0x8015
/* A8894 80112194 8C8412EC */ lw $a0, 0x12ec($a0)
/* A8890 80112190 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A8894 80112194 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A8898 80112198 0C04417A */ jal get_entity_by_index
/* A889C 8011219C 00000000 */ nop
/* A88A0 801121A0 8E050000 */ lw $a1, ($s0)

View File

@ -10,8 +10,8 @@ glabel AssignPanelFlag
/* A8828 80112128 AFB00010 */ sw $s0, 0x10($sp)
/* A882C 8011212C 14A2000B */ bne $a1, $v0, .L8011215C
/* A8830 80112130 8E30000C */ lw $s0, 0xc($s1)
/* A8834 80112134 3C048015 */ lui $a0, 0x8015
/* A8838 80112138 8C8412EC */ lw $a0, 0x12ec($a0)
/* A8834 80112134 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A8838 80112138 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A883C 8011213C 0C04417A */ jal get_entity_by_index
/* A8840 80112140 00000000 */ nop
/* A8844 80112144 8E050000 */ lw $a1, ($s0)

View File

@ -10,8 +10,8 @@ glabel AssignScript
/* A86C4 80111FC4 8C83000C */ lw $v1, 0xc($a0)
/* A86C8 80111FC8 0C0B1EAF */ jal get_variable
/* A86CC 80111FCC 8C650000 */ lw $a1, ($v1)
/* A86D0 80111FD0 3C048015 */ lui $a0, 0x8015
/* A86D4 80111FD4 8C8412EC */ lw $a0, 0x12ec($a0)
/* A86D0 80111FD0 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A86D4 80111FD4 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A86D8 80111FD8 0C04417A */ jal get_entity_by_index
/* A86DC 80111FDC 0040802D */ daddu $s0, $v0, $zero
/* A86E0 80111FE0 AC500028 */ sw $s0, 0x28($v0)

View File

@ -78,8 +78,8 @@ glabel MakeEntity
/* A8554 80111E54 AFA2001C */ sw $v0, 0x1c($sp)
/* A8558 80111E58 0040182D */ daddu $v1, $v0, $zero
/* A855C 80111E5C 24020002 */ addiu $v0, $zero, 2
/* A8560 80111E60 3C018015 */ lui $at, 0x8015
/* A8564 80111E64 AC2312EC */ sw $v1, 0x12ec($at)
/* A8560 80111E60 3C018015 */ lui $at, %hi(gLastCreatedEntityIndex)
/* A8564 80111E64 AC2312EC */ sw $v1, %lo(gLastCreatedEntityIndex)($at)
/* A8568 80111E68 AE430084 */ sw $v1, 0x84($s2)
.L80111E6C:
/* A856C 80111E6C 8FBF004C */ lw $ra, 0x4c($sp)

View File

@ -5,8 +5,8 @@ glabel func_80111E9C
/* A859C 80111E9C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* A85A0 80111EA0 AFB00010 */ sw $s0, 0x10($sp)
/* A85A4 80111EA4 0080802D */ daddu $s0, $a0, $zero
/* A85A8 80111EA8 3C048015 */ lui $a0, 0x8015
/* A85AC 80111EAC 8C8412EC */ lw $a0, 0x12ec($a0)
/* A85A8 80111EA8 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A85AC 80111EAC 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A85B0 80111EB0 AFBF0014 */ sw $ra, 0x14($sp)
/* A85B4 80111EB4 0C04417A */ jal get_entity_by_index
/* A85B8 80111EB8 00000000 */ nop

View File

@ -5,8 +5,8 @@ glabel func_80111F2C
/* A862C 80111F2C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* A8630 80111F30 AFB00010 */ sw $s0, 0x10($sp)
/* A8634 80111F34 0080802D */ daddu $s0, $a0, $zero
/* A8638 80111F38 3C048015 */ lui $a0, 0x8015
/* A863C 80111F3C 8C8412EC */ lw $a0, 0x12ec($a0)
/* A8638 80111F38 3C048015 */ lui $a0, %hi(gLastCreatedEntityIndex)
/* A863C 80111F3C 8C8412EC */ lw $a0, %lo(gLastCreatedEntityIndex)($a0)
/* A8640 80111F40 AFBF0014 */ sw $ra, 0x14($sp)
/* A8644 80111F44 0C04417A */ jal get_entity_by_index
/* A8648 80111F48 00000000 */ nop

View File

@ -185,8 +185,8 @@ glabel func_8011C80C
/* B31D4 8011CAD4 000421C0 */ sll $a0, $a0, 7
/* B31D8 8011CAD8 3C13E700 */ lui $s3, 0xe700
/* B31DC 8011CADC 8E320000 */ lw $s2, ($s1)
/* B31E0 8011CAE0 3C02800A */ lui $v0, 0x800a
/* B31E4 8011CAE4 8C42A5DC */ lw $v0, -0x5a24($v0)
/* B31E0 8011CAE0 3C02800A */ lui $v0, %hi(nuGfxZBuffer)
/* B31E4 8011CAE4 8C42A5DC */ lw $v0, %lo(nuGfxZBuffer)($v0)
/* B31E8 8011CAE8 0240182D */ daddu $v1, $s2, $zero
/* B31EC 8011CAEC 26520008 */ addiu $s2, $s2, 8
/* B31F0 8011CAF0 00442021 */ addu $a0, $v0, $a0

View File

@ -166,8 +166,8 @@ glabel func_8011CFBC
/* B3938 8011D238 000421C0 */ sll $a0, $a0, 7
/* B393C 8011D23C 3C13E700 */ lui $s3, 0xe700
/* B3940 8011D240 8E320000 */ lw $s2, ($s1)
/* B3944 8011D244 3C02800A */ lui $v0, 0x800a
/* B3948 8011D248 8C42A5DC */ lw $v0, -0x5a24($v0)
/* B3944 8011D244 3C02800A */ lui $v0, %hi(nuGfxZBuffer)
/* B3948 8011D248 8C42A5DC */ lw $v0, %lo(nuGfxZBuffer)($v0)
/* B394C 8011D24C 0240182D */ daddu $v1, $s2, $zero
/* B3950 8011D250 26520008 */ addiu $s2, $s2, 8
/* B3954 8011D254 00442021 */ addu $a0, $v0, $a0

View File

@ -517,8 +517,8 @@ glabel update_item_entity_temp
/* CC53C 80135E3C 24020003 */ addiu $v0, $zero, 3
/* CC540 80135E40 0804D8DF */ j .L8013637C
/* CC544 80135E44 A222001A */ sb $v0, 0x1a($s1)
/* CC548 80135E48 3C038016 */ lui $v1, 0x8016
/* CC54C 80135E4C 24639D50 */ addiu $v1, $v1, -0x62b0
/* CC548 80135E48 3C038016 */ lui $v1, %hi(D_80159D50)
/* CC54C 80135E4C 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* CC550 80135E50 90620180 */ lbu $v0, 0x180($v1)
/* CC554 80135E54 30420008 */ andi $v0, $v0, 8
/* CC558 80135E58 14400148 */ bnez $v0, .L8013637C
@ -702,8 +702,8 @@ glabel update_item_entity_temp
/* CC800 80136100 AC2068E4 */ sw $zero, 0x68e4($at)
/* CC804 80136104 0804D8DF */ j .L8013637C
/* CC808 80136108 A222001A */ sb $v0, 0x1a($s1)
/* CC80C 8013610C 3C038016 */ lui $v1, 0x8016
/* CC810 80136110 24639D50 */ addiu $v1, $v1, -0x62b0
/* CC80C 8013610C 3C038016 */ lui $v1, %hi(D_80159D50)
/* CC810 80136110 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* CC814 80136114 90620180 */ lbu $v0, 0x180($v1)
/* CC818 80136118 30420008 */ andi $v0, $v0, 8
/* CC81C 8013611C 14400097 */ bnez $v0, .L8013637C
@ -818,8 +818,8 @@ glabel update_item_entity_temp
/* CC9C4 801362C4 2402000E */ addiu $v0, $zero, 0xe
/* CC9C8 801362C8 0804D8DF */ j .L8013637C
/* CC9CC 801362CC A222001A */ sb $v0, 0x1a($s1)
/* CC9D0 801362D0 3C038016 */ lui $v1, 0x8016
/* CC9D4 801362D4 24639D50 */ addiu $v1, $v1, -0x62b0
/* CC9D0 801362D0 3C038016 */ lui $v1, %hi(D_80159D50)
/* CC9D4 801362D4 24639D50 */ addiu $v1, $v1, %lo(D_80159D50)
/* CC9D8 801362D8 90620180 */ lbu $v0, 0x180($v1)
/* CC9DC 801362DC 30420008 */ andi $v0, $v0, 8
/* CC9E0 801362E0 14400026 */ bnez $v0, .L8013637C

View File

@ -163,8 +163,8 @@ glabel func_80138E54
/* CF7C4 801390C4 3C09FF18 */ lui $t1, 0xff18
/* CF7C8 801390C8 3529003F */ ori $t1, $t1, 0x3f
/* CF7CC 801390CC 8E500000 */ lw $s0, ($s2)
/* CF7D0 801390D0 3C04800A */ lui $a0, 0x800a
/* CF7D4 801390D4 8C84A5DC */ lw $a0, -0x5a24($a0)
/* CF7D0 801390D0 3C04800A */ lui $a0, %hi(nuGfxZBuffer)
/* CF7D4 801390D4 8C84A5DC */ lw $a0, %lo(nuGfxZBuffer)($a0)
/* CF7D8 801390D8 96820000 */ lhu $v0, ($s4)
/* CF7DC 801390DC 0200282D */ daddu $a1, $s0, $zero
/* CF7E0 801390E0 26100008 */ addiu $s0, $s0, 8
@ -408,8 +408,8 @@ glabel func_80138E54
/* CFB88 80139488 24120040 */ addiu $s2, $zero, 0x40
/* CFB8C 8013948C 02A0102D */ daddu $v0, $s5, $zero
/* CFB90 80139490 8E300000 */ lw $s0, ($s1)
/* CFB94 80139494 3C04800A */ lui $a0, 0x800a
/* CFB98 80139498 8C84A5DC */ lw $a0, -0x5a24($a0)
/* CFB94 80139494 3C04800A */ lui $a0, %hi(nuGfxZBuffer)
/* CFB98 80139498 8C84A5DC */ lw $a0, %lo(nuGfxZBuffer)($a0)
/* CFB9C 8013949C 0200182D */ daddu $v1, $s0, $zero
/* CFBA0 801394A0 26100008 */ addiu $s0, $s0, 8
/* CFBA4 801394A4 AE300000 */ sw $s0, ($s1)
@ -446,8 +446,8 @@ glabel func_80138E54
/* CFC1C 8013951C 34A5003F */ ori $a1, $a1, 0x3f
/* CFC20 80139520 00132300 */ sll $a0, $s3, 0xc
/* CFC24 80139524 8E220000 */ lw $v0, ($s1)
/* CFC28 80139528 3C03800A */ lui $v1, 0x800a
/* CFC2C 8013952C 8C63A5DC */ lw $v1, -0x5a24($v1)
/* CFC28 80139528 3C03800A */ lui $v1, %hi(nuGfxZBuffer)
/* CFC2C 8013952C 8C63A5DC */ lw $v1, %lo(nuGfxZBuffer)($v1)
/* CFC30 80139530 0040802D */ daddu $s0, $v0, $zero
/* CFC34 80139534 24420008 */ addiu $v0, $v0, 8
/* CFC38 80139538 00642021 */ addu $a0, $v1, $a0
@ -530,8 +530,8 @@ glabel func_80138E54
/* CFD6C 8013966C 36B5001C */ ori $s5, $s5, 0x1c
/* CFD70 80139670 3C16800A */ lui $s6, 0x800a
/* CFD74 80139674 26D6A66C */ addiu $s6, $s6, -0x5994
/* CFD78 80139678 3C13800A */ lui $s3, 0x800a
/* CFD7C 8013967C 2673A5DC */ addiu $s3, $s3, -0x5a24
/* CFD78 80139678 3C13800A */ lui $s3, %hi(nuGfxZBuffer)
/* CFD7C 8013967C 2673A5DC */ addiu $s3, $s3, %lo(nuGfxZBuffer)
/* CFD80 80139680 8EC20000 */ lw $v0, ($s6)
/* CFD84 80139684 8E640000 */ lw $a0, ($s3)
/* CFD88 80139688 0040882D */ daddu $s1, $v0, $zero

View File

@ -115,8 +115,8 @@ glabel func_80143C48
/* DA500 80143E00 AE0D0040 */ sw $t5, 0x40($s0)
/* DA504 80143E04 AE420000 */ sw $v0, ($s2)
/* DA508 80143E08 AE0E0048 */ sw $t6, 0x48($s0)
/* DA50C 80143E0C 3C04800A */ lui $a0, 0x800a
/* DA510 80143E10 8C84A5DC */ lw $a0, -0x5a24($a0)
/* DA50C 80143E0C 3C04800A */ lui $a0, %hi(nuGfxZBuffer)
/* DA510 80143E10 8C84A5DC */ lw $a0, %lo(nuGfxZBuffer)($a0)
/* DA514 80143E14 26020058 */ addiu $v0, $s0, 0x58
/* DA518 80143E18 AE03004C */ sw $v1, 0x4c($s0)
/* DA51C 80143E1C AE420000 */ sw $v0, ($s2)

View File

@ -3,8 +3,8 @@
glabel func_80147414
/* DDB14 80147414 0000302D */ daddu $a2, $zero, $zero
/* DDB18 80147418 3C058016 */ lui $a1, 0x8016
/* DDB1C 8014741C 24A59D50 */ addiu $a1, $a1, -0x62b0
/* DDB18 80147418 3C058016 */ lui $a1, %hi(D_80159D50)
/* DDB1C 8014741C 24A59D50 */ addiu $a1, $a1, %lo(D_80159D50)
/* DDB20 80147420 24A4001C */ addiu $a0, $a1, 0x1c
.L80147424:
/* DDB24 80147424 90A30000 */ lbu $v1, ($a1)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80147474
/* DDB74 80147474 3C028016 */ lui $v0, 0x8016
/* DDB78 80147478 24429D50 */ addiu $v0, $v0, -0x62b0
/* DDB74 80147474 3C028016 */ lui $v0, %hi(D_80159D50)
/* DDB78 80147478 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* DDB7C 8014747C 00042140 */ sll $a0, $a0, 5
/* DDB80 80147480 00822021 */ addu $a0, $a0, $v0
/* DDB84 80147484 8FA70014 */ lw $a3, 0x14($sp)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80147574
/* DDC74 80147574 3C028016 */ lui $v0, 0x8016
/* DDC78 80147578 24429D50 */ addiu $v0, $v0, -0x62b0
/* DDC74 80147574 3C028016 */ lui $v0, %hi(D_80159D50)
/* DDC78 80147578 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* DDC7C 8014757C 00042140 */ sll $a0, $a0, 5
/* DDC80 80147580 00822021 */ addu $a0, $a0, $v0
/* DDC84 80147584 9086001C */ lbu $a2, 0x1c($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80147650
/* DDD50 80147650 3C028016 */ lui $v0, 0x8016
/* DDD54 80147654 24429D50 */ addiu $v0, $v0, -0x62b0
/* DDD50 80147650 3C028016 */ lui $v0, %hi(D_80159D50)
/* DDD54 80147654 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* DDD58 80147658 00042140 */ sll $a0, $a0, 5
/* DDD5C 8014765C 00822021 */ addu $a0, $a0, $v0
/* DDD60 80147660 9083001C */ lbu $v1, 0x1c($a0)

View File

@ -13,8 +13,8 @@ glabel func_80147698
/* DDDB8 801476B8 00171140 */ sll $v0, $s7, 5
/* DDDBC 801476BC F7B400E8 */ sdc1 $f20, 0xe8($sp)
/* DDDC0 801476C0 4480A000 */ mtc1 $zero, $f20
/* DDDC4 801476C4 3C0B8016 */ lui $t3, 0x8016
/* DDDC8 801476C8 256B9D50 */ addiu $t3, $t3, -0x62b0
/* DDDC4 801476C4 3C0B8016 */ lui $t3, %hi(D_80159D50)
/* DDDC8 801476C8 256B9D50 */ addiu $t3, $t3, %lo(D_80159D50)
/* DDDCC 801476CC AFBE00E0 */ sw $fp, 0xe0($sp)
/* DDDD0 801476D0 004BF021 */ addu $fp, $v0, $t3
/* DDDD4 801476D4 AFBF00E4 */ sw $ra, 0xe4($sp)
@ -30,8 +30,8 @@ glabel func_80147698
/* DDDF8 801476F8 064200E2 */ bltzl $s2, .L80147A84
/* DDDFC 801476FC 26D60001 */ addiu $s6, $s6, 1
/* DDE00 80147700 00121140 */ sll $v0, $s2, 5
/* DDE04 80147704 3C0B8016 */ lui $t3, 0x8016
/* DDE08 80147708 256B9D50 */ addiu $t3, $t3, -0x62b0
/* DDE04 80147704 3C0B8016 */ lui $t3, %hi(D_80159D50)
/* DDE08 80147708 256B9D50 */ addiu $t3, $t3, %lo(D_80159D50)
/* DDE0C 8014770C 004B8821 */ addu $s1, $v0, $t3
/* DDE10 80147710 92220000 */ lbu $v0, ($s1)
/* DDE14 80147714 504000DB */ beql $v0, $zero, .L80147A84

View File

@ -16,8 +16,8 @@ glabel func_80147AC4
/* DE1EC 80147AEC 0461FFFD */ bgez $v1, .L80147AE4
/* DE1F0 80147AF0 24420004 */ addiu $v0, $v0, 4
/* DE1F4 80147AF4 0000182D */ daddu $v1, $zero, $zero
/* DE1F8 80147AF8 3C048016 */ lui $a0, 0x8016
/* DE1FC 80147AFC 24849D50 */ addiu $a0, $a0, -0x62b0
/* DE1F8 80147AF8 3C048016 */ lui $a0, %hi(D_80159D50)
/* DE1FC 80147AFC 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
/* DE200 80147B00 27A50020 */ addiu $a1, $sp, 0x20
.L80147B04:
/* DE204 80147B04 90820000 */ lbu $v0, ($a0)

View File

@ -21,8 +21,8 @@ glabel func_80147D70
/* DE4A8 80147DA8 03A31821 */ addu $v1, $sp, $v1
/* DE4AC 80147DAC AC640000 */ sw $a0, ($v1)
/* DE4B0 80147DB0 0000302D */ daddu $a2, $zero, $zero
/* DE4B4 80147DB4 3C058016 */ lui $a1, 0x8016
/* DE4B8 80147DB8 24A59D50 */ addiu $a1, $a1, -0x62b0
/* DE4B4 80147DB4 3C058016 */ lui $a1, %hi(D_80159D50)
/* DE4B8 80147DB8 24A59D50 */ addiu $a1, $a1, %lo(D_80159D50)
/* DE4BC 80147DBC 0040382D */ daddu $a3, $v0, $zero
.L80147DC0:
/* DE4C0 80147DC0 90A20000 */ lbu $v0, ($a1)
@ -47,8 +47,8 @@ glabel func_80147D70
/* DE504 80147E04 0060302D */ daddu $a2, $v1, $zero
/* DE508 80147E08 03A0382D */ daddu $a3, $sp, $zero
/* DE50C 80147E0C 2405FFFF */ addiu $a1, $zero, -1
/* DE510 80147E10 3C048016 */ lui $a0, 0x8016
/* DE514 80147E14 24849D50 */ addiu $a0, $a0, -0x62b0
/* DE510 80147E10 3C048016 */ lui $a0, %hi(D_80159D50)
/* DE514 80147E14 24849D50 */ addiu $a0, $a0, %lo(D_80159D50)
.L80147E18:
/* DE518 80147E18 8CE20000 */ lw $v0, ($a3)
/* DE51C 80147E1C 10450005 */ beq $v0, $a1, .L80147E34

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80147E48
/* DE548 80147E48 3C028016 */ lui $v0, 0x8016
/* DE54C 80147E4C 24429D50 */ addiu $v0, $v0, -0x62b0
/* DE548 80147E48 3C028016 */ lui $v0, %hi(D_80159D50)
/* DE54C 80147E4C 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* DE550 80147E50 00042140 */ sll $a0, $a0, 5
/* DE554 80147E54 00822021 */ addu $a0, $a0, $v0
/* DE558 80147E58 90830000 */ lbu $v1, ($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80147E7C
/* DE57C 80147E7C 3C028016 */ lui $v0, 0x8016
/* DE580 80147E80 24429D50 */ addiu $v0, $v0, -0x62b0
/* DE57C 80147E7C 3C028016 */ lui $v0, %hi(D_80159D50)
/* DE580 80147E80 24429D50 */ addiu $v0, $v0, %lo(D_80159D50)
/* DE584 80147E84 00042140 */ sll $a0, $a0, 5
/* DE588 80147E88 00822021 */ addu $a0, $a0, $v0
/* DE58C 80147E8C 90830000 */ lbu $v1, ($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80147EC4
/* DE5C4 80147EC4 3C068016 */ lui $a2, 0x8016
/* DE5C8 80147EC8 24C69D50 */ addiu $a2, $a2, -0x62b0
/* DE5C4 80147EC4 3C068016 */ lui $a2, %hi(D_80159D50)
/* DE5C8 80147EC8 24C69D50 */ addiu $a2, $a2, %lo(D_80159D50)
/* DE5CC 80147ECC 0000282D */ daddu $a1, $zero, $zero
/* DE5D0 80147ED0 3C028015 */ lui $v0, 0x8015
/* DE5D4 80147ED4 2442F2C0 */ addiu $v0, $v0, -0xd40

View File

@ -18,8 +18,8 @@ glabel func_80147F30
/* DE664 80147F64 2416FFFF */ addiu $s6, $zero, -1
/* DE668 80147F68 3C158015 */ lui $s5, 0x8015
/* DE66C 80147F6C 26B5F150 */ addiu $s5, $s5, -0xeb0
/* DE670 80147F70 3C148016 */ lui $s4, 0x8016
/* DE674 80147F74 26949D50 */ addiu $s4, $s4, -0x62b0
/* DE670 80147F70 3C148016 */ lui $s4, %hi(D_80159D50)
/* DE674 80147F74 26949D50 */ addiu $s4, $s4, %lo(D_80159D50)
/* DE678 80147F78 2490001C */ addiu $s0, $a0, 0x1c
.L80147F7C:
/* DE67C 80147F7C 8602FFEC */ lh $v0, -0x14($s0)

View File

@ -4,8 +4,8 @@
glabel set_ui_panel_properties
/* DE3C8 80147CC8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* DE3CC 80147CCC 0080582D */ daddu $t3, $a0, $zero
/* DE3D0 80147CD0 3C0A8016 */ lui $t2, 0x8016
/* DE3D4 80147CD4 254A9D50 */ addiu $t2, $t2, -0x62b0
/* DE3D0 80147CD0 3C0A8016 */ lui $t2, %hi(D_80159D50)
/* DE3D4 80147CD4 254A9D50 */ addiu $t2, $t2, %lo(D_80159D50)
/* DE3D8 80147CD8 8FA90030 */ lw $t1, 0x30($sp)
/* DE3DC 80147CDC 000B1140 */ sll $v0, $t3, 5
/* DE3E0 80147CE0 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -60,8 +60,8 @@ glabel func_802C39F8
/* E846C 802C3ABC AE11006C */ sw $s1, 0x6c($s0)
/* E8470 802C3AC0 AE000068 */ sw $zero, 0x68($s0)
/* E8474 802C3AC4 92220003 */ lbu $v0, 3($s1)
/* E8478 802C3AC8 3C04802E */ lui $a0, 0x802e
/* E847C 802C3ACC 24849CA0 */ addiu $a0, $a0, -0x6360
/* E8478 802C3AC8 3C04802E */ lui $a0, %hi(gStaticScriptCounter)
/* E847C 802C3ACC 24849CA0 */ addiu $a0, $a0, %lo(gStaticScriptCounter)
/* E8480 802C3AD0 A2020003 */ sb $v0, 3($s0)
/* E8484 802C3AD4 8C820000 */ lw $v0, ($a0)
/* E8488 802C3AD8 AE020144 */ sw $v0, 0x144($s0)
@ -118,9 +118,9 @@ glabel func_802C39F8
/* E854C 802C3B9C 24A5AC98 */ addiu $a1, $a1, %lo(gScriptListCount)
/* E8550 802C3BA0 8CA20000 */ lw $v0, ($a1)
/* E8554 802C3BA4 00022080 */ sll $a0, $v0, 2
/* E8558 802C3BA8 3C01802E */ lui $at, 0x802e
/* E8558 802C3BA8 3C01802E */ lui $at, %hi(gScriptIndexList)
/* E855C 802C3BAC 00240821 */ addu $at, $at, $a0
/* E8560 802C3BB0 AC34A898 */ sw $s4, -0x5768($at)
/* E8560 802C3BB0 AC34A898 */ sw $s4, %lo(gScriptIndexList)($at)
/* E8564 802C3BB4 8E030144 */ lw $v1, 0x144($s0)
/* E8568 802C3BB8 24420001 */ addiu $v0, $v0, 1
/* E856C 802C3BBC ACA20000 */ sw $v0, ($a1)
@ -128,8 +128,8 @@ glabel func_802C39F8
/* E8574 802C3BC4 00240821 */ addu $at, $at, $a0
/* E8578 802C3BC8 AC23AA98 */ sw $v1, %lo(gScriptIdList)($at)
.L802C3BCC:
/* E857C 802C3BCC 3C03802E */ lui $v1, 0x802e
/* E8580 802C3BD0 24639CA0 */ addiu $v1, $v1, -0x6360
/* E857C 802C3BCC 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
/* E8580 802C3BD0 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
/* E8584 802C3BD4 8C620000 */ lw $v0, ($v1)
/* E8588 802C3BD8 14400002 */ bnez $v0, .L802C3BE4
/* E858C 802C3BDC 24020001 */ addiu $v0, $zero, 1

View File

@ -64,8 +64,8 @@ glabel start_child_script
/* E824C 802C389C AE000068 */ sw $zero, 0x68($s0)
/* E8250 802C38A0 AE00006C */ sw $zero, 0x6c($s0)
/* E8254 802C38A4 92220003 */ lbu $v0, 3($s1)
/* E8258 802C38A8 3C04802E */ lui $a0, 0x802e
/* E825C 802C38AC 24849CA0 */ addiu $a0, $a0, -0x6360
/* E8258 802C38A8 3C04802E */ lui $a0, %hi(gStaticScriptCounter)
/* E825C 802C38AC 24849CA0 */ addiu $a0, $a0, %lo(gStaticScriptCounter)
/* E8260 802C38B0 24420001 */ addiu $v0, $v0, 1
/* E8264 802C38B4 A2020003 */ sb $v0, 3($s0)
/* E8268 802C38B8 8C820000 */ lw $v0, ($a0)
@ -123,9 +123,9 @@ glabel start_child_script
/* E8330 802C3980 24A5AC98 */ addiu $a1, $a1, %lo(gScriptListCount)
/* E8334 802C3984 8CA20000 */ lw $v0, ($a1)
/* E8338 802C3988 00022080 */ sll $a0, $v0, 2
/* E833C 802C398C 3C01802E */ lui $at, 0x802e
/* E833C 802C398C 3C01802E */ lui $at, %hi(gScriptIndexList)
/* E8340 802C3990 00240821 */ addu $at, $at, $a0
/* E8344 802C3994 AC33A898 */ sw $s3, -0x5768($at)
/* E8344 802C3994 AC33A898 */ sw $s3, %lo(gScriptIndexList)($at)
/* E8348 802C3998 8E030144 */ lw $v1, 0x144($s0)
/* E834C 802C399C 24420001 */ addiu $v0, $v0, 1
/* E8350 802C39A0 ACA20000 */ sw $v0, ($a1)
@ -135,8 +135,8 @@ glabel start_child_script
.L802C39B0:
/* E8360 802C39B0 0C0B0CE4 */ jal func_802C3390
/* E8364 802C39B4 0200202D */ daddu $a0, $s0, $zero
/* E8368 802C39B8 3C03802E */ lui $v1, 0x802e
/* E836C 802C39BC 24639CA0 */ addiu $v1, $v1, -0x6360
/* E8368 802C39B8 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
/* E836C 802C39BC 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
/* E8370 802C39C0 8C620000 */ lw $v0, ($v1)
/* E8374 802C39C4 14400004 */ bnez $v0, .L802C39D8
/* E8378 802C39C8 0200102D */ daddu $v0, $s0, $zero

View File

@ -50,8 +50,8 @@ glabel start_script
/* E7E30 802C3480 00000000 */ nop
.L802C3484:
/* E7E34 802C3484 36620001 */ ori $v0, $s3, 1
/* E7E38 802C3488 3C03802E */ lui $v1, 0x802e
/* E7E3C 802C348C 24639CA0 */ addiu $v1, $v1, -0x6360
/* E7E38 802C3488 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
/* E7E3C 802C348C 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
/* E7E40 802C3490 A2020000 */ sb $v0, ($s0)
/* E7E44 802C3494 A2000002 */ sb $zero, 2($s0)
/* E7E48 802C3498 A2140003 */ sb $s4, 3($s0)
@ -107,9 +107,9 @@ glabel start_script
/* E7F08 802C3558 24A5AC98 */ addiu $a1, $a1, %lo(gScriptListCount)
/* E7F0C 802C355C 8CA20000 */ lw $v0, ($a1)
/* E7F10 802C3560 00022080 */ sll $a0, $v0, 2
/* E7F14 802C3564 3C01802E */ lui $at, 0x802e
/* E7F14 802C3564 3C01802E */ lui $at, %hi(gScriptIndexList)
/* E7F18 802C3568 00240821 */ addu $at, $at, $a0
/* E7F1C 802C356C AC32A898 */ sw $s2, -0x5768($at)
/* E7F1C 802C356C AC32A898 */ sw $s2, %lo(gScriptIndexList)($at)
/* E7F20 802C3570 8E030144 */ lw $v1, 0x144($s0)
/* E7F24 802C3574 24420001 */ addiu $v0, $v0, 1
/* E7F28 802C3578 ACA20000 */ sw $v0, ($a1)
@ -119,8 +119,8 @@ glabel start_script
.L802C3588:
/* E7F38 802C3588 0C0B0CE4 */ jal func_802C3390
/* E7F3C 802C358C 0200202D */ daddu $a0, $s0, $zero
/* E7F40 802C3590 3C03802E */ lui $v1, 0x802e
/* E7F44 802C3594 24639CA0 */ addiu $v1, $v1, -0x6360
/* E7F40 802C3590 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
/* E7F44 802C3594 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
/* E7F48 802C3598 8C620000 */ lw $v0, ($v1)
/* E7F4C 802C359C 14400004 */ bnez $v0, .L802C35B0
/* E7F50 802C35A0 0200102D */ daddu $v0, $s0, $zero

View File

@ -52,8 +52,8 @@ glabel start_script_in_group
/* E8028 802C3678 00000000 */ nop
.L802C367C:
/* E802C 802C367C 36620001 */ ori $v0, $s3, 1
/* E8030 802C3680 3C03802E */ lui $v1, 0x802e
/* E8034 802C3684 24639CA0 */ addiu $v1, $v1, -0x6360
/* E8030 802C3680 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
/* E8034 802C3684 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
/* E8038 802C3688 A2020000 */ sb $v0, ($s0)
/* E803C 802C368C A2000002 */ sb $zero, 2($s0)
/* E8040 802C3690 A2140003 */ sb $s4, 3($s0)
@ -108,9 +108,9 @@ glabel start_script_in_group
/* E80FC 802C374C 24A5AC98 */ addiu $a1, $a1, %lo(gScriptListCount)
/* E8100 802C3750 8CA20000 */ lw $v0, ($a1)
/* E8104 802C3754 00022080 */ sll $a0, $v0, 2
/* E8108 802C3758 3C01802E */ lui $at, 0x802e
/* E8108 802C3758 3C01802E */ lui $at, %hi(gScriptIndexList)
/* E810C 802C375C 00240821 */ addu $at, $at, $a0
/* E8110 802C3760 AC32A898 */ sw $s2, -0x5768($at)
/* E8110 802C3760 AC32A898 */ sw $s2, %lo(gScriptIndexList)($at)
/* E8114 802C3764 8E030144 */ lw $v1, 0x144($s0)
/* E8118 802C3768 24420001 */ addiu $v0, $v0, 1
/* E811C 802C376C ACA20000 */ sw $v0, ($a1)
@ -120,8 +120,8 @@ glabel start_script_in_group
.L802C377C:
/* E812C 802C377C 0C0B0CE4 */ jal func_802C3390
/* E8130 802C3780 0200202D */ daddu $a0, $s0, $zero
/* E8134 802C3784 3C03802E */ lui $v1, 0x802e
/* E8138 802C3788 24639CA0 */ addiu $v1, $v1, -0x6360
/* E8134 802C3784 3C03802E */ lui $v1, %hi(gStaticScriptCounter)
/* E8138 802C3788 24639CA0 */ addiu $v1, $v1, %lo(gStaticScriptCounter)
/* E813C 802C378C 8C620000 */ lw $v0, ($v1)
/* E8140 802C3790 14400004 */ bnez $v0, .L802C37A4
/* E8144 802C3794 0200102D */ daddu $v0, $s0, $zero

View File

@ -32,8 +32,8 @@ glabel update_scripts
/* E8790 802C3DE0 2415FFFF */ addiu $s5, $zero, -1
/* E8794 802C3DE4 3C14802E */ lui $s4, %hi(gScriptIdList)
/* E8798 802C3DE8 2694AA98 */ addiu $s4, $s4, %lo(gScriptIdList)
/* E879C 802C3DEC 3C13802E */ lui $s3, 0x802e
/* E87A0 802C3DF0 2673A898 */ addiu $s3, $s3, -0x5768
/* E879C 802C3DEC 3C13802E */ lui $s3, %hi(gScriptIndexList)
/* E87A0 802C3DF0 2673A898 */ addiu $s3, $s3, %lo(gScriptIndexList)
.L802C3DF4:
/* E87A4 802C3DF4 8E620000 */ lw $v0, ($s3)
/* E87A8 802C3DF8 3C03802E */ lui $v1, %hi(gCurrentScriptListPtr)

View File

@ -9,8 +9,8 @@ glabel nuBoot
/* 39CC0 8005E8C0 3C10800A */ lui $s0, 0x800a
/* 39CC4 8005E8C4 26104270 */ addiu $s0, $s0, 0x4270
/* 39CC8 8005E8C8 0200202D */ daddu $a0, $s0, $zero
/* 39CCC 8005E8CC 3C02800A */ lui $v0, 0x800a
/* 39CD0 8005E8D0 244265D0 */ addiu $v0, $v0, 0x65d0
/* 39CCC 8005E8CC 3C02800A */ lui $v0, %hi(nuScStack)
/* 39CD0 8005E8D0 244265D0 */ addiu $v0, $v0, %lo(nuScStack)
/* 39CD4 8005E8D4 AFA20010 */ sw $v0, 0x10($sp)
/* 39CD8 8005E8D8 2402000A */ addiu $v0, $zero, 0xa
/* 39CDC 8005E8DC 24050001 */ addiu $a1, $zero, 1

View File

@ -34,19 +34,19 @@ glabel nuGfxThread
/* 3B6B8 800602B8 080180A3 */ j .L8006028C
/* 3B6BC 800602BC 00000000 */ nop
.L800602C0:
/* 3B6C0 800602C0 3C028009 */ lui $v0, 0x8009
/* 3B6C4 800602C4 8C423D10 */ lw $v0, 0x3d10($v0)
/* 3B6C0 800602C0 3C028009 */ lui $v0, %hi(nuGfxFunc)
/* 3B6C4 800602C4 8C423D10 */ lw $v0, %lo(nuGfxFunc)($v0)
/* 3B6C8 800602C8 1040FFF0 */ beqz $v0, .L8006028C
/* 3B6CC 800602CC 00000000 */ nop
/* 3B6D0 800602D0 3C04800A */ lui $a0, 0x800a
/* 3B6D4 800602D4 8C84A618 */ lw $a0, -0x59e8($a0)
/* 3B6D0 800602D0 3C04800A */ lui $a0, %hi(nuGfxTaskSpool)
/* 3B6D4 800602D4 8C84A618 */ lw $a0, %lo(nuGfxTaskSpool)($a0)
/* 3B6D8 800602D8 0040F809 */ jalr $v0
/* 3B6DC 800602DC 00000000 */ nop
/* 3B6E0 800602E0 080180A3 */ j .L8006028C
/* 3B6E4 800602E4 00000000 */ nop
.L800602E8:
/* 3B6E8 800602E8 3C028009 */ lui $v0, 0x8009
/* 3B6EC 800602EC 8C423D14 */ lw $v0, 0x3d14($v0)
/* 3B6E8 800602E8 3C028009 */ lui $v0, %hi(nuGfxPreNMIFunc)
/* 3B6EC 800602EC 8C423D14 */ lw $v0, %lo(nuGfxPreNMIFunc)($v0)
/* 3B6F0 800602F0 1040FFE6 */ beqz $v0, .L8006028C
/* 3B6F4 800602F4 00000000 */ nop
/* 3B6F8 800602F8 0040F809 */ jalr $v0

View File

@ -40,8 +40,8 @@ glabel nuPiReadRomOverlay
/* 3B568 80060168 24104000 */ addiu $s0, $zero, 0x4000
.L8006016C:
/* 3B56C 8006016C 27A50010 */ addiu $a1, $sp, 0x10
/* 3B570 80060170 3C04800A */ lui $a0, 0x800a
/* 3B574 80060174 8C84A638 */ lw $a0, -0x59c8($a0)
/* 3B570 80060170 3C04800A */ lui $a0, %hi(carthandle)
/* 3B574 80060174 8C84A638 */ lw $a0, %lo(carthandle)($a0)
/* 3B578 80060178 0000302D */ daddu $a2, $zero, $zero
/* 3B57C 8006017C AFB30018 */ sw $s3, 0x18($sp)
/* 3B580 80060180 AFB2001C */ sw $s2, 0x1c($sp)

View File

@ -4,8 +4,8 @@
glabel contQuery
/* 3BC70 80060870 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3BC74 80060874 AFB00010 */ sw $s0, 0x10($sp)
/* 3BC78 80060878 3C10800E */ lui $s0, 0x800e
/* 3BC7C 8006087C 2610AC78 */ addiu $s0, $s0, -0x5388
/* 3BC78 80060878 3C10800E */ lui $s0, %hi(nuSiMesgQ)
/* 3BC7C 8006087C 2610AC78 */ addiu $s0, $s0, %lo(nuSiMesgQ)
/* 3BC80 80060880 AFBF0014 */ sw $ra, 0x14($sp)
/* 3BC84 80060884 0C018640 */ jal osContStartQuery
/* 3BC88 80060888 0200202D */ daddu $a0, $s0, $zero

View File

@ -6,14 +6,14 @@ glabel contReadData
/* 3BB3C 8006073C AFBF0014 */ sw $ra, 0x14($sp)
/* 3BB40 80060740 AFB00010 */ sw $s0, 0x10($sp)
/* 3BB44 80060744 8C90000C */ lw $s0, 0xc($a0)
/* 3BB48 80060748 3C04800E */ lui $a0, 0x800e
/* 3BB4C 8006074C 2484AC78 */ addiu $a0, $a0, -0x5388
/* 3BB48 80060748 3C04800E */ lui $a0, %hi(nuSiMesgQ)
/* 3BB4C 8006074C 2484AC78 */ addiu $a0, $a0, %lo(nuSiMesgQ)
/* 3BB50 80060750 0C018668 */ jal osContStartReadData
/* 3BB54 80060754 00000000 */ nop
/* 3BB58 80060758 14400012 */ bnez $v0, .L800607A4
/* 3BB5C 8006075C 0000282D */ daddu $a1, $zero, $zero
/* 3BB60 80060760 3C04800E */ lui $a0, 0x800e
/* 3BB64 80060764 2484AC78 */ addiu $a0, $a0, -0x5388
/* 3BB60 80060760 3C04800E */ lui $a0, %hi(nuSiMesgQ)
/* 3BB64 80060764 2484AC78 */ addiu $a0, $a0, %lo(nuSiMesgQ)
/* 3BB68 80060768 0C0195BC */ jal osRecvMesg
/* 3BB6C 8006076C 24060001 */ addiu $a2, $zero, 1
/* 3BB70 80060770 3C04800E */ lui $a0, 0x800e

View File

@ -11,14 +11,14 @@ glabel contReadNW
/* 3BBCC 800607CC AFBF0014 */ sw $ra, 0x14($sp)
/* 3BBD0 800607D0 0C0195BC */ jal osRecvMesg
/* 3BBD4 800607D4 00A0302D */ daddu $a2, $a1, $zero
/* 3BBD8 800607D8 3C04800E */ lui $a0, 0x800e
/* 3BBDC 800607DC 2484AC78 */ addiu $a0, $a0, -0x5388
/* 3BBD8 800607D8 3C04800E */ lui $a0, %hi(nuSiMesgQ)
/* 3BBDC 800607DC 2484AC78 */ addiu $a0, $a0, %lo(nuSiMesgQ)
/* 3BBE0 800607E0 0C018668 */ jal osContStartReadData
/* 3BBE4 800607E4 00000000 */ nop
/* 3BBE8 800607E8 14400013 */ bnez $v0, .L80060838
/* 3BBEC 800607EC 0000282D */ daddu $a1, $zero, $zero
/* 3BBF0 800607F0 3C04800E */ lui $a0, 0x800e
/* 3BBF4 800607F4 2484AC78 */ addiu $a0, $a0, -0x5388
/* 3BBF0 800607F0 3C04800E */ lui $a0, %hi(nuSiMesgQ)
/* 3BBF4 800607F4 2484AC78 */ addiu $a0, $a0, %lo(nuSiMesgQ)
/* 3BBF8 800607F8 0C0195BC */ jal osRecvMesg
/* 3BBFC 800607FC 24060001 */ addiu $a2, $zero, 1
/* 3BC00 80060800 3C04800E */ lui $a0, 0x800e
@ -26,9 +26,9 @@ glabel contReadNW
/* 3BC08 80060808 0000282D */ daddu $a1, $zero, $zero
/* 3BC0C 8006080C 0C019608 */ jal osSendMesg
/* 3BC10 80060810 24060001 */ addiu $a2, $zero, 1
/* 3BC14 80060814 3C04800B */ lui $a0, 0x800b
/* 3BC14 80060814 3C04800B */ lui $a0, %hi(nuContData)
/* 3BC18 80060818 0C01868A */ jal osContGetReadData
/* 3BC1C 8006081C 24841D68 */ addiu $a0, $a0, 0x1d68
/* 3BC1C 8006081C 24841D68 */ addiu $a0, $a0, %lo(nuContData)
/* 3BC20 80060820 3C04800E */ lui $a0, 0x800e
/* 3BC24 80060824 2484C040 */ addiu $a0, $a0, -0x3fc0
/* 3BC28 80060828 0000282D */ daddu $a1, $zero, $zero

View File

@ -14,14 +14,14 @@ glabel contRetrace
/* 3BA80 80060680 0000282D */ daddu $a1, $zero, $zero
/* 3BA84 80060684 0C0195BC */ jal osRecvMesg
/* 3BA88 80060688 00A0302D */ daddu $a2, $a1, $zero
/* 3BA8C 8006068C 3C04800E */ lui $a0, 0x800e
/* 3BA90 80060690 2484AC78 */ addiu $a0, $a0, -0x5388
/* 3BA8C 8006068C 3C04800E */ lui $a0, %hi(nuSiMesgQ)
/* 3BA90 80060690 2484AC78 */ addiu $a0, $a0, %lo(nuSiMesgQ)
/* 3BA94 80060694 0C018668 */ jal osContStartReadData
/* 3BA98 80060698 00000000 */ nop
/* 3BA9C 8006069C 14400016 */ bnez $v0, .L800606F8
/* 3BAA0 800606A0 0000282D */ daddu $a1, $zero, $zero
/* 3BAA4 800606A4 3C04800E */ lui $a0, 0x800e
/* 3BAA8 800606A8 2484AC78 */ addiu $a0, $a0, -0x5388
/* 3BAA4 800606A4 3C04800E */ lui $a0, %hi(nuSiMesgQ)
/* 3BAA8 800606A8 2484AC78 */ addiu $a0, $a0, %lo(nuSiMesgQ)
/* 3BAAC 800606AC 0C0195BC */ jal osRecvMesg
/* 3BAB0 800606B0 24060001 */ addiu $a2, $zero, 1
/* 3BAB4 800606B4 3C02800A */ lui $v0, 0x800a
@ -33,9 +33,9 @@ glabel contRetrace
/* 3BACC 800606CC 2484C040 */ addiu $a0, $a0, -0x3fc0
/* 3BAD0 800606D0 0C019608 */ jal osSendMesg
/* 3BAD4 800606D4 24060001 */ addiu $a2, $zero, 1
/* 3BAD8 800606D8 3C04800B */ lui $a0, 0x800b
/* 3BAD8 800606D8 3C04800B */ lui $a0, %hi(nuContData)
/* 3BADC 800606DC 0C01868A */ jal osContGetReadData
/* 3BAE0 800606E0 24841D68 */ addiu $a0, $a0, 0x1d68
/* 3BAE0 800606E0 24841D68 */ addiu $a0, $a0, %lo(nuContData)
/* 3BAE4 800606E4 3C04800E */ lui $a0, 0x800e
/* 3BAE8 800606E8 2484C040 */ addiu $a0, $a0, -0x3fc0
/* 3BAEC 800606EC 0000282D */ daddu $a1, $zero, $zero

View File

@ -20,7 +20,6 @@ glabel __osMotorAccess
/* 4323C 80067E3C 00449021 */ addu $s2, $v0, $a0
/* 43240 80067E40 08019FCA */ j .L80067F28
/* 43244 80067E44 24020005 */ addiu $v0, $zero, 5
.L80067E48:
/* 43248 80067E48 0C019771 */ jal osSiGetAccess
/* 4324C 80067E4C 00000000 */ nop

View File

@ -153,8 +153,8 @@ glabel osInitialize
/* 45D50 8006A950 0C01925C */ jal bzero
/* 45D54 8006A954 24050040 */ addiu $a1, $zero, 0x40
.L8006A958:
/* 45D58 8006A958 3C038000 */ lui $v1, 0x8000
/* 45D5C 8006A95C 8C630300 */ lw $v1, 0x300($v1)
/* 45D58 8006A958 3C038000 */ lui $v1, %hi(osTvType)
/* 45D5C 8006A95C 8C630300 */ lw $v1, %lo(osTvType)($v1)
/* 45D60 8006A960 54600004 */ bnel $v1, $zero, .L8006A974
/* 45D64 8006A964 24020002 */ addiu $v0, $zero, 2
/* 45D68 8006A968 3C0202F5 */ lui $v0, 0x2f5

View File

@ -1,7 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel IP6_Hdlr
/* 46044 8006AC44 2401DFFF */ addiu $at, $zero, -0x2001
/* 46048 8006AC48 1000FFF0 */ b next_interrupt
/* 4604C 8006AC4C 02018024 */ and $s0, $s0, $at

View File

@ -1,7 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel IP7_Hdlr
/* 46050 8006AC50 2401BFFF */ addiu $at, $zero, -0x4001
/* 46054 8006AC54 1000FFED */ b next_interrupt
/* 46058 8006AC58 02018024 */ and $s0, $s0, $at

View File

@ -1,7 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel NoMoreRcpInts
/* 46230 8006AE30 2401FBFF */ addiu $at, $zero, -0x401
/* 46234 8006AE34 1000FF75 */ b next_interrupt
/* 46238 8006AE38 02018024 */ and $s0, $s0, $at

View File

@ -1,15 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel ai
/* 46164 8006AD64 32290004 */ andi $t1, $s1, 4
/* 46168 8006AD68 11200009 */ beqz $t1, si
/* 4616C 8006AD6C 00000000 */ nop
/* 46170 8006AD70 3231003B */ andi $s1, $s1, 0x3b
/* 46174 8006AD74 24090001 */ addiu $t1, $zero, 1
/* 46178 8006AD78 3C01A450 */ lui $at, 0xa450
/* 4617C 8006AD7C AC29000C */ sw $t1, 0xc($at)
/* 46180 8006AD80 0C01ABDF */ jal send_mesg
/* 46184 8006AD84 24040030 */ addiu $a0, $zero, 0x30
/* 46188 8006AD88 12200029 */ beqz $s1, NoMoreRcpInts
/* 4618C 8006AD8C 00000000 */ nop

Some files were not shown because too many files have changed in this diff Show More