papermario/asm/nonmatchings/code_b72b0_len_15ed0/get_dynamic_entity.s
Ethan Roseman 51c076bd8e symbols!
2020-09-27 21:13:56 -04:00

14 lines
645 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_dynamic_entity
/* B9D3C 8012363C 2402F7FF */ addiu $v0, $zero, -0x801
/* B9D40 80123640 00822024 */ and $a0, $a0, $v0
/* B9D44 80123644 3C028015 */ lui $v0, %hi(gCurrentDynamicEntityListPtr)
/* B9D48 80123648 8C424420 */ lw $v0, %lo(gCurrentDynamicEntityListPtr)($v0)
/* B9D4C 8012364C 00042080 */ sll $a0, $a0, 2
/* B9D50 80123650 00822021 */ addu $a0, $a0, $v0
/* B9D54 80123654 03E00008 */ jr $ra
/* B9D58 80123658 8C820000 */ lw $v0, ($a0)
/* B9D5C 8012365C 00000000 */ nop