papermario/asm/nonmatchings/os/code_3b710_len_40/nuGfxSwapCfbFuncSet.s
2020-08-12 21:56:23 -04:00

26 lines
956 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.include "include/macro.inc"
glabel nuGfxSwapCfbFuncSet
/* 03B710 80060310 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 03B714 80060314 AFB00010 */ sw $s0, 0x10($sp)
/* 03B718 80060318 0080802D */ daddu $s0, $a0, $zero
/* 03B71C 8006031C AFBF0014 */ sw $ra, 0x14($sp)
/* 03B720 80060320 0C018250 */ jal osSetIntMask
/* 03B724 80060324 24040001 */ addiu $a0, $zero, 1
/* 03B728 80060328 3C018007 */ lui $at, 0x8007
/* 03B72C 8006032C AC3073F4 */ sw $s0, 0x73f4($at)
/* 03B730 80060330 0C018250 */ jal osSetIntMask
/* 03B734 80060334 0040202D */ daddu $a0, $v0, $zero
/* 03B738 80060338 8FBF0014 */ lw $ra, 0x14($sp)
/* 03B73C 8006033C 8FB00010 */ lw $s0, 0x10($sp)
/* 03B740 80060340 03E00008 */ jr $ra
/* 03B744 80060344 27BD0018 */ addiu $sp, $sp, 0x18
/* 03B748 80060348 00000000 */ nop
/* 03B74C 8006034C 00000000 */ nop