Files
SpaghettiKart/asm/non_matchings/memory/func_802ABD40.s
T
CoderStig 8ab4557b39 Split asm using autodecompiler (#49)
* Split asm using autodecompiler

* Placed libultra bss and linked more C
2021-11-05 05:17:09 -06:00

17 lines
819 B
ArmAsm

glabel func_802ABD40
/* 115350 802ABD40 308EFFFF */ andi $t6, $a0, 0xffff
/* 115354 802ABD44 000E7880 */ sll $t7, $t6, 2
/* 115358 802ABD48 01EE7823 */ subu $t7, $t7, $t6
/* 11535C 802ABD4C 3C188016 */ lui $t8, %hi(D_8015F580) # $t8, 0x8016
/* 115360 802ABD50 8F18F580 */ lw $t8, %lo(D_8015F580)($t8)
/* 115364 802ABD54 000F7880 */ sll $t7, $t7, 2
/* 115368 802ABD58 01EE7823 */ subu $t7, $t7, $t6
/* 11536C 802ABD5C 000F7880 */ sll $t7, $t7, 2
/* 115370 802ABD60 AFA40000 */ sw $a0, ($sp)
/* 115374 802ABD64 01F81821 */ addu $v1, $t7, $t8
/* 115378 802ABD68 94620000 */ lhu $v0, ($v1)
/* 11537C 802ABD6C 305900FF */ andi $t9, $v0, 0xff
/* 115380 802ABD70 00194400 */ sll $t0, $t9, 0x10
/* 115384 802ABD74 03E00008 */ jr $ra
/* 115388 802ABD78 00081403 */ sra $v0, $t0, 0x10