papermario/asm/nonmatchings/code_b72b0_len_15ed0/func_801234E0.s

35 lines
1.6 KiB
ArmAsm
Raw Normal View History

2020-09-24 05:16:13 +02:00
.set noat # allow manual use of $at
2020-08-04 08:49:11 +02:00
.set noreorder # don't insert nops after branches
glabel func_801234E0
2020-09-24 05:16:13 +02:00
/* B9BE0 801234E0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B9BE4 801234E4 AFB00010 */ sw $s0, 0x10($sp)
/* B9BE8 801234E8 0000802D */ daddu $s0, $zero, $zero
/* B9BEC 801234EC AFBF0014 */ sw $ra, 0x14($sp)
2020-08-04 08:49:11 +02:00
.L801234F0:
2020-09-28 03:13:56 +02:00
/* B9BF0 801234F0 3C038015 */ lui $v1, %hi(gCurrentDynamicEntityListPtr)
/* B9BF4 801234F4 8C634420 */ lw $v1, %lo(gCurrentDynamicEntityListPtr)($v1)
2020-09-24 05:16:13 +02:00
/* B9BF8 801234F8 00101080 */ sll $v0, $s0, 2
/* B9BFC 801234FC 00431021 */ addu $v0, $v0, $v1
/* B9C00 80123500 8C430000 */ lw $v1, ($v0)
/* B9C04 80123504 5060000B */ beql $v1, $zero, .L80123534
/* B9C08 80123508 26100001 */ addiu $s0, $s0, 1
/* B9C0C 8012350C 8C640000 */ lw $a0, ($v1)
/* B9C10 80123510 30820002 */ andi $v0, $a0, 2
/* B9C14 80123514 14400007 */ bnez $v0, .L80123534
/* B9C18 80123518 26100001 */ addiu $s0, $s0, 1
/* B9C1C 8012351C 30820004 */ andi $v0, $a0, 4
/* B9C20 80123520 10400004 */ beqz $v0, .L80123534
/* B9C24 80123524 00000000 */ nop
/* B9C28 80123528 8C620008 */ lw $v0, 8($v1)
/* B9C2C 8012352C 0040F809 */ jalr $v0
/* B9C30 80123530 00000000 */ nop
2020-08-04 08:49:11 +02:00
.L80123534:
2020-09-24 05:16:13 +02:00
/* B9C34 80123534 2A020010 */ slti $v0, $s0, 0x10
/* B9C38 80123538 1440FFED */ bnez $v0, .L801234F0
/* B9C3C 8012353C 00000000 */ nop
/* B9C40 80123540 8FBF0014 */ lw $ra, 0x14($sp)
/* B9C44 80123544 8FB00010 */ lw $s0, 0x10($sp)
/* B9C48 80123548 03E00008 */ jr $ra
/* B9C4C 8012354C 27BD0018 */ addiu $sp, $sp, 0x18