papermario/asm/nonmatchings/os/code_3b910_len_410/nuContDataLock.s
2020-09-23 23:16:13 -04:00

17 lines
771 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuContDataLock
/* 3BCC0 800608C0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3BCC4 800608C4 AFBF0010 */ sw $ra, 0x10($sp)
/* 3BCC8 800608C8 0C018250 */ jal osSetIntMask
/* 3BCCC 800608CC 24040001 */ addiu $a0, $zero, 1
/* 3BCD0 800608D0 24030001 */ addiu $v1, $zero, 1
/* 3BCD4 800608D4 3C01800A */ lui $at, 0x800a
/* 3BCD8 800608D8 AC23A5E0 */ sw $v1, -0x5a20($at)
/* 3BCDC 800608DC 0C018250 */ jal osSetIntMask
/* 3BCE0 800608E0 0040202D */ daddu $a0, $v0, $zero
/* 3BCE4 800608E4 8FBF0010 */ lw $ra, 0x10($sp)
/* 3BCE8 800608E8 03E00008 */ jr $ra
/* 3BCEC 800608EC 27BD0018 */ addiu $sp, $sp, 0x18