papermario/asm/nonmatchings/code_28910_len_5090/func_8004DAA8.s

23 lines
883 B
ArmAsm
Raw Normal View History

2020-08-04 08:49:11 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.include "include/macro.inc"
glabel func_8004DAA8
/* 028EA8 8004DAA8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 028EAC 8004DAAC AFBF0010 */ sw $ra, 0x10($sp)
/* 028EB0 8004DAB0 90820221 */ lbu $v0, 0x221($a0)
/* 028EB4 8004DAB4 10400007 */ beqz $v0, .L8004DAD4
/* 028EB8 8004DAB8 24020004 */ addiu $v0, $zero, 4
/* 028EBC 8004DABC A0820221 */ sb $v0, 0x221($a0)
/* 028EC0 8004DAC0 24020001 */ addiu $v0, $zero, 1
/* 028EC4 8004DAC4 AC820010 */ sw $v0, 0x10($a0)
/* 028EC8 8004DAC8 AC820008 */ sw $v0, 8($a0)
/* 028ECC 8004DACC 0C014E86 */ jal func_80053A18
/* 028ED0 8004DAD0 2484002C */ addiu $a0, $a0, 0x2c
.L8004DAD4:
/* 028ED4 8004DAD4 8FBF0010 */ lw $ra, 0x10($sp)
/* 028ED8 8004DAD8 03E00008 */ jr $ra
/* 028EDC 8004DADC 27BD0018 */ addiu $sp, $sp, 0x18