mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
34 lines
1.3 KiB
ArmAsm
34 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
.include "include/macro.inc"
|
|
|
|
glabel osViSetEvent
|
|
/* 0421B0 80066DB0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 0421B4 80066DB4 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 0421B8 80066DB8 00808021 */ addu $s0, $a0, $zero
|
|
/* 0421BC 80066DBC AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 0421C0 80066DC0 00A08821 */ addu $s1, $a1, $zero
|
|
/* 0421C4 80066DC4 AFB20018 */ sw $s2, 0x18($sp)
|
|
/* 0421C8 80066DC8 AFBF001C */ sw $ra, 0x1c($sp)
|
|
/* 0421CC 80066DCC 0C01ACD8 */ jal __osDisableInt
|
|
/* 0421D0 80066DD0 00C09021 */ addu $s2, $a2, $zero
|
|
/* 0421D4 80066DD4 3C038009 */ lui $v1, 0x8009
|
|
/* 0421D8 80066DD8 8C6359D4 */ lw $v1, 0x59d4($v1)
|
|
/* 0421DC 80066DDC 00402021 */ addu $a0, $v0, $zero
|
|
/* 0421E0 80066DE0 AC700010 */ sw $s0, 0x10($v1)
|
|
/* 0421E4 80066DE4 AC710014 */ sw $s1, 0x14($v1)
|
|
/* 0421E8 80066DE8 0C01ACF4 */ jal __osRestoreInt
|
|
/* 0421EC 80066DEC A4720002 */ sh $s2, 2($v1)
|
|
/* 0421F0 80066DF0 8FBF001C */ lw $ra, 0x1c($sp)
|
|
/* 0421F4 80066DF4 8FB20018 */ lw $s2, 0x18($sp)
|
|
/* 0421F8 80066DF8 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 0421FC 80066DFC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 042200 80066E00 03E00008 */ jr $ra
|
|
/* 042204 80066E04 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|
|
/* 042208 80066E08 00000000 */ nop
|
|
/* 04220C 80066E0C 00000000 */ nop
|
|
|
|
|