mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
14 lines
541 B
ArmAsm
14 lines
541 B
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel alLink
|
||
|
/* 267EC 8004B3EC 8CA20000 */ lw $v0, ($a1)
|
||
|
/* 267F0 8004B3F0 AC850004 */ sw $a1, 4($a0)
|
||
|
/* 267F4 8004B3F4 AC820000 */ sw $v0, ($a0)
|
||
|
/* 267F8 8004B3F8 8CA20000 */ lw $v0, ($a1)
|
||
|
/* 267FC 8004B3FC 54400001 */ bnel $v0, $zero, .L8004B404
|
||
|
/* 26800 8004B400 AC440004 */ sw $a0, 4($v0)
|
||
|
.L8004B404:
|
||
|
/* 26804 8004B404 03E00008 */ jr $ra
|
||
|
/* 26808 8004B408 ACA40000 */ sw $a0, ($a1)
|