papermario/asm/nonmatchings/os/code_3b4a0_len_270/nuGfxThread.s

58 lines
2.7 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel nuGfxThread
2020-09-24 05:16:13 +02:00
/* 3B648 80060248 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 3B64C 8006024C AFB00028 */ sw $s0, 0x28($sp)
2020-11-29 08:13:07 +01:00
/* 3B650 80060250 3C10800B */ lui $s0, %hi(D_800B42F0)
/* 3B654 80060254 261042F0 */ addiu $s0, $s0, %lo(D_800B42F0)
2020-09-24 05:16:13 +02:00
/* 3B658 80060258 0200202D */ daddu $a0, $s0, $zero
2020-11-29 08:13:07 +01:00
/* 3B65C 8006025C 3C05800B */ lui $a1, %hi(D_800AC6B0)
/* 3B660 80060260 24A5C6B0 */ addiu $a1, $a1, %lo(D_800AC6B0)
2020-09-24 05:16:13 +02:00
/* 3B664 80060264 24060008 */ addiu $a2, $zero, 8
/* 3B668 80060268 AFBF0030 */ sw $ra, 0x30($sp)
/* 3B66C 8006026C 0C019560 */ jal osCreateMesgQueue
/* 3B670 80060270 AFB1002C */ sw $s1, 0x2c($sp)
/* 3B674 80060274 27A40010 */ addiu $a0, $sp, 0x10
/* 3B678 80060278 0200282D */ daddu $a1, $s0, $zero
/* 3B67C 8006027C 0C017B8C */ jal nuScAddClient
/* 3B680 80060280 24060003 */ addiu $a2, $zero, 3
/* 3B684 80060284 24110001 */ addiu $s1, $zero, 1
/* 3B688 80060288 24100002 */ addiu $s0, $zero, 2
2020-08-04 08:49:11 +02:00
.L8006028C:
2020-11-29 08:13:07 +01:00
/* 3B68C 8006028C 3C04800B */ lui $a0, %hi(D_800B42F0)
/* 3B690 80060290 248442F0 */ addiu $a0, $a0, %lo(D_800B42F0)
2020-09-24 05:16:13 +02:00
/* 3B694 80060294 27A50020 */ addiu $a1, $sp, 0x20
/* 3B698 80060298 0C0195BC */ jal osRecvMesg
/* 3B69C 8006029C 24060001 */ addiu $a2, $zero, 1
/* 3B6A0 800602A0 8FA20020 */ lw $v0, 0x20($sp)
/* 3B6A4 800602A4 84420000 */ lh $v0, ($v0)
/* 3B6A8 800602A8 10510005 */ beq $v0, $s1, .L800602C0
2021-01-11 13:40:52 +01:00
/* 3B6AC 800602AC 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 3B6B0 800602B0 1050000D */ beq $v0, $s0, .L800602E8
2021-01-11 13:40:52 +01:00
/* 3B6B4 800602B4 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 3B6B8 800602B8 080180A3 */ j .L8006028C
2021-01-11 13:40:52 +01:00
/* 3B6BC 800602BC 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L800602C0:
2020-10-15 04:56:47 +02:00
/* 3B6C0 800602C0 3C028009 */ lui $v0, %hi(nuGfxFunc)
/* 3B6C4 800602C4 8C423D10 */ lw $v0, %lo(nuGfxFunc)($v0)
2020-09-24 05:16:13 +02:00
/* 3B6C8 800602C8 1040FFF0 */ beqz $v0, .L8006028C
2021-01-11 13:40:52 +01:00
/* 3B6CC 800602CC 00000000 */ nop
2020-10-15 04:56:47 +02:00
/* 3B6D0 800602D0 3C04800A */ lui $a0, %hi(nuGfxTaskSpool)
/* 3B6D4 800602D4 8C84A618 */ lw $a0, %lo(nuGfxTaskSpool)($a0)
2020-09-24 05:16:13 +02:00
/* 3B6D8 800602D8 0040F809 */ jalr $v0
2021-01-11 13:40:52 +01:00
/* 3B6DC 800602DC 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 3B6E0 800602E0 080180A3 */ j .L8006028C
2021-01-11 13:40:52 +01:00
/* 3B6E4 800602E4 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L800602E8:
2020-10-15 04:56:47 +02:00
/* 3B6E8 800602E8 3C028009 */ lui $v0, %hi(nuGfxPreNMIFunc)
/* 3B6EC 800602EC 8C423D14 */ lw $v0, %lo(nuGfxPreNMIFunc)($v0)
2020-09-24 05:16:13 +02:00
/* 3B6F0 800602F0 1040FFE6 */ beqz $v0, .L8006028C
2021-01-11 13:40:52 +01:00
/* 3B6F4 800602F4 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 3B6F8 800602F8 0040F809 */ jalr $v0
2021-01-11 13:40:52 +01:00
/* 3B6FC 800602FC 00000000 */ nop
2020-09-24 05:16:13 +02:00
/* 3B700 80060300 080180A3 */ j .L8006028C
2021-01-11 13:40:52 +01:00
/* 3B704 80060304 00000000 */ nop
/* 3B708 80060308 00000000 */ nop
/* 3B70C 8006030C 00000000 */ nop