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

20 lines
764 B
ArmAsm

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