papermario/asm/nonmatchings/code_fee30_len_2d60/func_802DBD40.s

27 lines
1.1 KiB
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
glabel func_802DBD40
/* 0FEE30 802DBD40 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 0FEE34 802DBD44 3C048035 */ lui $a0, 0x8035
/* 0FEE38 802DBD48 2484F800 */ addiu $a0, $a0, -0x800
/* 0FEE3C 802DBD4C AFBF0010 */ sw $ra, 0x10($sp)
/* 0FEE40 802DBD50 0C00A41B */ jal _heap_malloc
/* 0FEE44 802DBD54 24050580 */ addiu $a1, $zero, 0x580
/* 0FEE48 802DBD58 2404FFFF */ addiu $a0, $zero, -1
/* 0FEE4C 802DBD5C 24030015 */ addiu $v1, $zero, 0x15
/* 0FEE50 802DBD60 3C01802E */ lui $at, 0x802e
/* 0FEE54 802DBD64 AC22FE44 */ sw $v0, -0x1bc($at)
/* 0FEE58 802DBD68 3C02802E */ lui $v0, 0x802e
/* 0FEE5C 802DBD6C 2442FE9C */ addiu $v0, $v0, -0x164
.L802DBD70:
/* 0FEE60 802DBD70 AC440000 */ sw $a0, ($v0)
/* 0FEE64 802DBD74 2463FFFF */ addiu $v1, $v1, -1
/* 0FEE68 802DBD78 0461FFFD */ bgez $v1, .L802DBD70
/* 0FEE6C 802DBD7C 2442FFFC */ addiu $v0, $v0, -4
/* 0FEE70 802DBD80 8FBF0010 */ lw $ra, 0x10($sp)
/* 0FEE74 802DBD84 03E00008 */ jr $ra
/* 0FEE78 802DBD88 27BD0018 */ addiu $sp, $sp, 0x18