papermario/asm/nonmatchings/code_f4c60_len_4300/DisablePartner.s
2020-08-12 22:37:16 -04:00

21 lines
832 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel DisablePartner
/* 0F68E8 802D1F38 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0F68EC 802D1F3C AFBF0010 */ sw $ra, 0x10($sp)
/* 0F68F0 802D1F40 8C82000C */ lw $v0, 0xc($a0)
/* 0F68F4 802D1F44 0C0B1EAF */ jal get_variable
/* 0F68F8 802D1F48 8C450000 */ lw $a1, ($v0)
/* 0F68FC 802D1F4C 2443FFFF */ addiu $v1, $v0, -1
/* 0F6900 802D1F50 000318C0 */ sll $v1, $v1, 3
/* 0F6904 802D1F54 3C018011 */ lui $at, 0x8011
/* 0F6908 802D1F58 00230821 */ addu $at, $at, $v1
/* 0F690C 802D1F5C A020F2A4 */ sb $zero, -0xd5c($at)
/* 0F6910 802D1F60 8FBF0010 */ lw $ra, 0x10($sp)
/* 0F6914 802D1F64 24020002 */ addiu $v0, $zero, 2
/* 0F6918 802D1F68 03E00008 */ jr $ra
/* 0F691C 802D1F6C 27BD0018 */ addiu $sp, $sp, 0x18