mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
33 lines
1.4 KiB
ArmAsm
33 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_80045C28
|
|
/* 021028 80045C28 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 02102C 80045C2C AFB10014 */ sw $s1, 0x14($sp)
|
|
/* 021030 80045C30 0000882D */ daddu $s1, $zero, $zero
|
|
/* 021034 80045C34 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 021038 80045C38 3C10800A */ lui $s0, 0x800a
|
|
/* 02103C 80045C3C 26100BC0 */ addiu $s0, $s0, 0xbc0
|
|
/* 021040 80045C40 AFBF0018 */ sw $ra, 0x18($sp)
|
|
.L80045C44:
|
|
/* 021044 80045C44 86020010 */ lh $v0, 0x10($s0)
|
|
/* 021048 80045C48 50400007 */ beql $v0, $zero, .L80045C68
|
|
/* 02104C 80045C4C 26310001 */ addiu $s1, $s1, 1
|
|
/* 021050 80045C50 8E02000C */ lw $v0, 0xc($s0)
|
|
/* 021054 80045C54 50400004 */ beql $v0, $zero, .L80045C68
|
|
/* 021058 80045C58 26310001 */ addiu $s1, $s1, 1
|
|
/* 02105C 80045C5C 0040F809 */ jalr $v0
|
|
/* 021060 80045C60 0200202D */ daddu $a0, $s0, $zero
|
|
/* 021064 80045C64 26310001 */ addiu $s1, $s1, 1
|
|
.L80045C68:
|
|
/* 021068 80045C68 2A220020 */ slti $v0, $s1, 0x20
|
|
/* 02106C 80045C6C 1440FFF5 */ bnez $v0, .L80045C44
|
|
/* 021070 80045C70 2610001C */ addiu $s0, $s0, 0x1c
|
|
/* 021074 80045C74 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 021078 80045C78 8FB10014 */ lw $s1, 0x14($sp)
|
|
/* 02107C 80045C7C 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 021080 80045C80 03E00008 */ jr $ra
|
|
/* 021084 80045C84 27BD0020 */ addiu $sp, $sp, 0x20
|
|
|