mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
45 lines
1.9 KiB
ArmAsm
45 lines
1.9 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_8024EDC0
|
|
/* 17D6A0 8024EDC0 0000202D */ daddu $a0, $zero, $zero
|
|
/* 17D6A4 8024EDC4 3C03802A */ lui $v1, 0x802a
|
|
/* 17D6A8 8024EDC8 2463F2C0 */ addiu $v1, $v1, -0xd40
|
|
.L8024EDCC:
|
|
/* 17D6AC 8024EDCC A4600010 */ sh $zero, 0x10($v1)
|
|
/* 17D6B0 8024EDD0 AC600018 */ sw $zero, 0x18($v1)
|
|
/* 17D6B4 8024EDD4 24840001 */ addiu $a0, $a0, 1
|
|
/* 17D6B8 8024EDD8 28820020 */ slti $v0, $a0, 0x20
|
|
/* 17D6BC 8024EDDC 1440FFFB */ bnez $v0, .L8024EDCC
|
|
/* 17D6C0 8024EDE0 2463001C */ addiu $v1, $v1, 0x1c
|
|
/* 17D6C4 8024EDE4 03E00008 */ jr $ra
|
|
/* 17D6C8 8024EDE8 00000000 */ nop
|
|
|
|
/* 17D6CC 8024EDEC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 17D6D0 8024EDF0 AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 17D6D4 8024EDF4 0000882D */ daddu $s1, $zero, $zero
|
|
/* 17D6D8 8024EDF8 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 17D6DC 8024EDFC 3C10802A */ lui $s0, 0x802a
|
|
/* 17D6E0 8024EE00 2610F2C0 */ addiu $s0, $s0, -0xd40
|
|
/* 17D6E4 8024EE04 AFBF0018 */ sw $ra, 0x18($sp)
|
|
.L8024EE08:
|
|
/* 17D6E8 8024EE08 8E040018 */ lw $a0, 0x18($s0)
|
|
/* 17D6EC 8024EE0C 50800005 */ beql $a0, $zero, .L8024EE24
|
|
/* 17D6F0 8024EE10 A6000010 */ sh $zero, 0x10($s0)
|
|
/* 17D6F4 8024EE14 0C00AB4B */ jal heap_free
|
|
/* 17D6F8 8024EE18 00000000 */ nop
|
|
/* 17D6FC 8024EE1C AE000018 */ sw $zero, 0x18($s0)
|
|
/* 17D700 8024EE20 A6000010 */ sh $zero, 0x10($s0)
|
|
.L8024EE24:
|
|
/* 17D704 8024EE24 26310001 */ addiu $s1, $s1, 1
|
|
/* 17D708 8024EE28 2A220020 */ slti $v0, $s1, 0x20
|
|
/* 17D70C 8024EE2C 1440FFF6 */ bnez $v0, .L8024EE08
|
|
/* 17D710 8024EE30 2610001C */ addiu $s0, $s0, 0x1c
|
|
/* 17D714 8024EE34 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 17D718 8024EE38 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 17D71C 8024EE3C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 17D720 8024EE40 03E00008 */ jr $ra
|
|
/* 17D724 8024EE44 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|