papermario/asm/nonmatchings/code_190B20/func_80264084.s
2020-10-14 23:49:49 -04:00

51 lines
2.4 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80264084
/* 192964 80264084 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 192968 80264088 AFB00010 */ sw $s0, 0x10($sp)
/* 19296C 8026408C 0080802D */ daddu $s0, $a0, $zero
/* 192970 80264090 AFB20018 */ sw $s2, 0x18($sp)
/* 192974 80264094 00A0902D */ daddu $s2, $a1, $zero
/* 192978 80264098 AFB10014 */ sw $s1, 0x14($sp)
/* 19297C 8026409C AFBF001C */ sw $ra, 0x1c($sp)
/* 192980 802640A0 0C09A75B */ jal get_actor
/* 192984 802640A4 00C0882D */ daddu $s1, $a2, $zero
/* 192988 802640A8 0040202D */ daddu $a0, $v0, $zero
/* 19298C 802640AC 32100700 */ andi $s0, $s0, 0x700
/* 192990 802640B0 24020100 */ addiu $v0, $zero, 0x100
/* 192994 802640B4 12020009 */ beq $s0, $v0, .L802640DC
/* 192998 802640B8 2A020101 */ slti $v0, $s0, 0x101
/* 19299C 802640BC 50400005 */ beql $v0, $zero, .L802640D4
/* 1929A0 802640C0 24020200 */ addiu $v0, $zero, 0x200
/* 1929A4 802640C4 12000007 */ beqz $s0, .L802640E4
/* 1929A8 802640C8 00000000 */ nop
/* 1929AC 802640CC 08099044 */ j .L80264110
/* 1929B0 802640D0 00000000 */ nop
.L802640D4:
/* 1929B4 802640D4 1602000E */ bne $s0, $v0, .L80264110
/* 1929B8 802640D8 00000000 */ nop
.L802640DC:
/* 1929BC 802640DC 16400006 */ bnez $s2, .L802640F8
/* 1929C0 802640E0 00000000 */ nop
.L802640E4:
/* 1929C4 802640E4 8C820000 */ lw $v0, ($a0)
/* 1929C8 802640E8 00111827 */ nor $v1, $zero, $s1
/* 1929CC 802640EC 00431024 */ and $v0, $v0, $v1
/* 1929D0 802640F0 08099044 */ j .L80264110
/* 1929D4 802640F4 AC820000 */ sw $v0, ($a0)
.L802640F8:
/* 1929D8 802640F8 0C099117 */ jal get_actor_part
/* 1929DC 802640FC 0240282D */ daddu $a1, $s2, $zero
/* 1929E0 80264100 8C430000 */ lw $v1, ($v0)
/* 1929E4 80264104 00112027 */ nor $a0, $zero, $s1
/* 1929E8 80264108 00641824 */ and $v1, $v1, $a0
/* 1929EC 8026410C AC430000 */ sw $v1, ($v0)
.L80264110:
/* 1929F0 80264110 8FBF001C */ lw $ra, 0x1c($sp)
/* 1929F4 80264114 8FB20018 */ lw $s2, 0x18($sp)
/* 1929F8 80264118 8FB10014 */ lw $s1, 0x14($sp)
/* 1929FC 8026411C 8FB00010 */ lw $s0, 0x10($sp)
/* 192A00 80264120 03E00008 */ jr $ra
/* 192A04 80264124 27BD0020 */ addiu $sp, $sp, 0x20