papermario/asm/nonmatchings/code_a5dd0_len_114e0/func_801110B4.s
2020-09-23 23:16:13 -04:00

56 lines
2.5 KiB
ArmAsm
Generated

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_801110B4
/* A77B4 801110B4 2407FFFF */ addiu $a3, $zero, -1
/* A77B8 801110B8 3C08000F */ lui $t0, 0xf
/* A77BC 801110BC 8C820008 */ lw $v0, 8($a0)
/* A77C0 801110C0 3508FFFF */ ori $t0, $t0, 0xffff
/* A77C4 801110C4 00A22021 */ addu $a0, $a1, $v0
.L801110C8:
/* A77C8 801110C8 8C820000 */ lw $v0, ($a0)
/* A77CC 801110CC 14470003 */ bne $v0, $a3, .L801110DC
/* A77D0 801110D0 3042FFFF */ andi $v0, $v0, 0xffff
/* A77D4 801110D4 03E00008 */ jr $ra
/* A77D8 801110D8 AC800000 */ sw $zero, ($a0)
.L801110DC:
/* A77DC 801110DC 00A21821 */ addu $v1, $a1, $v0
/* A77E0 801110E0 AC830000 */ sw $v1, ($a0)
/* A77E4 801110E4 8C620000 */ lw $v0, ($v1)
/* A77E8 801110E8 10470005 */ beq $v0, $a3, .L80111100
/* A77EC 801110EC 24840004 */ addiu $a0, $a0, 4
/* A77F0 801110F0 3042FFFF */ andi $v0, $v0, 0xffff
/* A77F4 801110F4 00C21021 */ addu $v0, $a2, $v0
/* A77F8 801110F8 08044441 */ j .L80111104
/* A77FC 801110FC AC620000 */ sw $v0, ($v1)
.L80111100:
/* A7800 80111100 AC600000 */ sw $zero, ($v1)
.L80111104:
/* A7804 80111104 8C620018 */ lw $v0, 0x18($v1)
/* A7808 80111108 10470004 */ beq $v0, $a3, .L8011111C
/* A780C 8011110C 3042FFFF */ andi $v0, $v0, 0xffff
/* A7810 80111110 00A21021 */ addu $v0, $a1, $v0
/* A7814 80111114 08044448 */ j .L80111120
/* A7818 80111118 AC620018 */ sw $v0, 0x18($v1)
.L8011111C:
/* A781C 8011111C AC600018 */ sw $zero, 0x18($v1)
.L80111120:
/* A7820 80111120 8C62001C */ lw $v0, 0x1c($v1)
/* A7824 80111124 10470004 */ beq $v0, $a3, .L80111138
/* A7828 80111128 3042FFFF */ andi $v0, $v0, 0xffff
/* A782C 8011112C 00A21021 */ addu $v0, $a1, $v0
/* A7830 80111130 0804444F */ j .L8011113C
/* A7834 80111134 AC62001C */ sw $v0, 0x1c($v1)
.L80111138:
/* A7838 80111138 AC60001C */ sw $zero, 0x1c($v1)
.L8011113C:
/* A783C 8011113C 8C620024 */ lw $v0, 0x24($v1)
/* A7840 80111140 10470004 */ beq $v0, $a3, .L80111154
/* A7844 80111144 00481024 */ and $v0, $v0, $t0
/* A7848 80111148 00C21021 */ addu $v0, $a2, $v0
/* A784C 8011114C 08044432 */ j .L801110C8
/* A7850 80111150 AC620024 */ sw $v0, 0x24($v1)
.L80111154:
/* A7854 80111154 08044432 */ j .L801110C8
/* A7858 80111158 AC600024 */ sw $zero, 0x24($v1)