papermario/ver/us/asm/nonmatchings/os/nuContMgr/nuContDataLock.s
JoshDuMan f0585ec87c
Some Libultra data and decompilation work (#200)
* Move osWritebackDCacheAll.s to hasm

* Fix build

* Work on Libultra data and decompilation

* Fix Build

* Fix JP build

* Address comments
2021-03-10 14:06:53 +09:00

17 lines
788 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, %hi(D_8009A5E0)
/* 3BCD8 800608D8 AC23A5E0 */ sw $v1, %lo(D_8009A5E0)($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