mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
21 lines
1003 B
ArmAsm
21 lines
1003 B
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel osSetGlobalIntMask
|
|
/* 467F0 8006B3F0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 467F4 8006B3F4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 467F8 8006B3F8 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 467FC 8006B3FC 0C01ACD8 */ jal __osDisableInt
|
|
/* 46800 8006B400 00808021 */ addu $s0, $a0, $zero
|
|
/* 46804 8006B404 3C038009 */ lui $v1, 0x8009
|
|
/* 46808 8006B408 8C635900 */ lw $v1, 0x5900($v1)
|
|
/* 4680C 8006B40C 00701825 */ or $v1, $v1, $s0
|
|
/* 46810 8006B410 3C018009 */ lui $at, 0x8009
|
|
/* 46814 8006B414 AC235900 */ sw $v1, 0x5900($at)
|
|
/* 46818 8006B418 0C01ACF4 */ jal __osRestoreInt
|
|
/* 4681C 8006B41C 00402021 */ addu $a0, $v0, $zero
|
|
/* 46820 8006B420 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 46824 8006B424 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 46828 8006B428 03E00008 */ jr $ra
|
|
/* 4682C 8006B42C 27BD0018 */ addiu $sp, $sp, 0x18
|