mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
41 lines
1.7 KiB
ArmAsm
41 lines
1.7 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel al_CopyFileTableEntry
|
||
|
/* 02F87C 8005447C 27BDFFF8 */ addiu $sp, $sp, -8
|
||
|
/* 02F880 80054480 3C07800A */ lui $a3, 0x800a
|
||
|
/* 02F884 80054484 8CE7A5C0 */ lw $a3, -0x5a40($a3)
|
||
|
/* 02F888 80054488 00A0482D */ daddu $t1, $a1, $zero
|
||
|
/* 02F88C 8005448C 8CE20024 */ lw $v0, 0x24($a3)
|
||
|
/* 02F890 80054490 0082102B */ sltu $v0, $a0, $v0
|
||
|
/* 02F894 80054494 10400014 */ beqz $v0, .L800544E8
|
||
|
/* 02F898 80054498 0000402D */ daddu $t0, $zero, $zero
|
||
|
/* 02F89C 8005449C 3C0500FF */ lui $a1, 0xff
|
||
|
/* 02F8A0 800544A0 34A5FFFF */ ori $a1, $a1, 0xffff
|
||
|
/* 02F8A4 800544A4 8CE30020 */ lw $v1, 0x20($a3)
|
||
|
/* 02F8A8 800544A8 000410C0 */ sll $v0, $a0, 3
|
||
|
/* 02F8AC 800544AC 00621821 */ addu $v1, $v1, $v0
|
||
|
/* 02F8B0 800544B0 8C620000 */ lw $v0, ($v1)
|
||
|
/* 02F8B4 800544B4 8CE4001C */ lw $a0, 0x1c($a3)
|
||
|
/* 02F8B8 800544B8 00451024 */ and $v0, $v0, $a1
|
||
|
/* 02F8BC 800544BC 00442021 */ addu $a0, $v0, $a0
|
||
|
/* 02F8C0 800544C0 AFA40000 */ sw $a0, ($sp)
|
||
|
/* 02F8C4 800544C4 8C620004 */ lw $v0, 4($v1)
|
||
|
/* 02F8C8 800544C8 AFA20004 */ sw $v0, 4($sp)
|
||
|
/* 02F8CC 800544CC 00021602 */ srl $v0, $v0, 0x18
|
||
|
/* 02F8D0 800544D0 54490006 */ bnel $v0, $t1, .L800544EC
|
||
|
/* 02F8D4 800544D4 24080066 */ addiu $t0, $zero, 0x66
|
||
|
/* 02F8D8 800544D8 ACC40000 */ sw $a0, ($a2)
|
||
|
/* 02F8DC 800544DC 8FA20004 */ lw $v0, 4($sp)
|
||
|
/* 02F8E0 800544E0 0801513B */ j .L800544EC
|
||
|
/* 02F8E4 800544E4 ACC20004 */ sw $v0, 4($a2)
|
||
|
|
||
|
.L800544E8:
|
||
|
/* 02F8E8 800544E8 24080065 */ addiu $t0, $zero, 0x65
|
||
|
.L800544EC:
|
||
|
/* 02F8EC 800544EC 0100102D */ daddu $v0, $t0, $zero
|
||
|
/* 02F8F0 800544F0 03E00008 */ jr $ra
|
||
|
/* 02F8F4 800544F4 27BD0008 */ addiu $sp, $sp, 8
|
||
|
|