mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
45 lines
2.0 KiB
ArmAsm
45 lines
2.0 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
glabel func_8024412C
|
|
/* 13746C 8024412C AC200110 */ sw $zero, 0x110($at)
|
|
/* 137470 80244130 3C018027 */ lui $at, 0x8027
|
|
/* 137474 80244134 AC200114 */ sw $zero, 0x114($at)
|
|
/* 137478 80244138 3C018027 */ lui $at, 0x8027
|
|
/* 13747C 8024413C AC20010C */ sw $zero, 0x10c($at)
|
|
/* 137480 80244140 3C018027 */ lui $at, 0x8027
|
|
/* 137484 80244144 AC200118 */ sw $zero, 0x118($at)
|
|
/* 137488 80244148 3C018027 */ lui $at, 0x8027
|
|
/* 13748C 8024414C AC2000C8 */ sw $zero, 0xc8($at)
|
|
/* 137490 80244150 3C018027 */ lui $at, 0x8027
|
|
/* 137494 80244154 AC2000CC */ sw $zero, 0xcc($at)
|
|
/* 137498 80244158 3C018027 */ lui $at, 0x8027
|
|
/* 13749C 8024415C A02000D4 */ sb $zero, 0xd4($at)
|
|
.L80244160:
|
|
/* 1374A0 80244160 8E040000 */ lw $a0, ($s0)
|
|
/* 1374A4 80244164 8C82000C */ lw $v0, 0xc($a0)
|
|
/* 1374A8 80244168 10400003 */ beqz $v0, .L80244178
|
|
/* 1374AC 8024416C 26310001 */ addiu $s1, $s1, 1
|
|
/* 1374B0 80244170 0040F809 */ jalr $v0
|
|
/* 1374B4 80244174 00000000 */ nop
|
|
.L80244178:
|
|
/* 1374B8 80244178 2A220007 */ slti $v0, $s1, 7
|
|
/* 1374BC 8024417C 1440FFF8 */ bnez $v0, .L80244160
|
|
/* 1374C0 80244180 26100004 */ addiu $s0, $s0, 4
|
|
/* 1374C4 80244184 241400E1 */ addiu $s4, $zero, 0xe1
|
|
/* 1374C8 80244188 24110006 */ addiu $s1, $zero, 6
|
|
/* 1374CC 8024418C 3C158016 */ lui $s5, 0x8016
|
|
/* 1374D0 80244190 26B59D50 */ addiu $s5, $s5, -0x62b0
|
|
/* 1374D4 80244194 241303C0 */ addiu $s3, $zero, 0x3c0
|
|
/* 1374D8 80244198 2412001E */ addiu $s2, $zero, 0x1e
|
|
/* 1374DC 8024419C 3C108025 */ lui $s0, 0x8025
|
|
/* 1374E0 802441A0 2610EF98 */ addiu $s0, $s0, -0x1068
|
|
.L802441A4:
|
|
/* 1374E4 802441A4 8E020000 */ lw $v0, ($s0)
|
|
/* 1374E8 802441A8 90420000 */ lbu $v0, ($v0)
|
|
/* 1374EC 802441AC 14400006 */ bnez $v0, .L802441C8
|
|
/* 1374F0 802441B0 02751821 */ addu $v1, $s3, $s5
|
|
/* 1374F4 802441B4 0240202D */ daddu $a0, $s2, $zero
|
|
/* 1374F8 802441B8 0C051F9F */ jal func_80147E7C
|