papermario/ver/us/asm/os/osEPiLinkHandle/osEPiLinkHandle.s
Ethan Roseman 33c9dda3a5
KMC GCC, effects, cleanup, map funcs (#476)
* warnings, cleanup, 2 npc ai funcs

* kmcgcc stuff

* effect_75

* effect_9.c done

* cleanup, work on kmc gcc

* start on fx_73

* guOrtho/guOrthoF

* more libultra/cleanup

* more libultra

* add wine for darwin

* effect_73 done

* UnkQuizFunc

* effect func naming

* name appendGfx funcs

* fix fx_66

* Add KMC wrapper to Jenkinsfile

* mac fixes

* fix macro usage

* oopz

* 3 fixes

* blah

* KMC_ASM

* config changes
2021-10-22 23:01:27 +09:00

25 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel osEPiLinkHandle
/* 3C2C0 80060EC0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 3C2C4 80060EC4 AFB00010 */ sw $s0, 0x10($sp)
/* 3C2C8 80060EC8 AFBF0014 */ sw $ra, 0x14($sp)
/* 3C2CC 80060ECC 0C01ACD8 */ jal __osDisableInt
/* 3C2D0 80060ED0 00808021 */ addu $s0, $a0, $zero
/* 3C2D4 80060ED4 3C038009 */ lui $v1, %hi(__osPiTable)
/* 3C2D8 80060ED8 8C633D6C */ lw $v1, %lo(__osPiTable)($v1)
/* 3C2DC 80060EDC 00402021 */ addu $a0, $v0, $zero
/* 3C2E0 80060EE0 3C018009 */ lui $at, %hi(__osPiTable)
/* 3C2E4 80060EE4 AC303D6C */ sw $s0, %lo(__osPiTable)($at)
/* 3C2E8 80060EE8 0C01ACF4 */ jal __osRestoreInt
/* 3C2EC 80060EEC AE030000 */ sw $v1, ($s0)
/* 3C2F0 80060EF0 00001021 */ addu $v0, $zero, $zero
/* 3C2F4 80060EF4 8FBF0014 */ lw $ra, 0x14($sp)
/* 3C2F8 80060EF8 8FB00010 */ lw $s0, 0x10($sp)
/* 3C2FC 80060EFC 03E00008 */ jr $ra
/* 3C300 80060F00 27BD0018 */ addiu $sp, $sp, 0x18
/* 3C304 80060F04 00000000 */ nop
/* 3C308 80060F08 00000000 */ nop
/* 3C30C 80060F0C 00000000 */ nop