mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
45 lines
1.8 KiB
ArmAsm
45 lines
1.8 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
|
||
|
glabel func_8024950C
|
||
|
.L8024950C:
|
||
|
/* 13C84C 8024950C 3C038027 */ lui $v1, 0x8027
|
||
|
/* 13C850 80249510 8C630398 */ lw $v1, 0x398($v1)
|
||
|
/* 13C854 80249514 24020001 */ addiu $v0, $zero, 1
|
||
|
/* 13C858 80249518 14620014 */ bne $v1, $v0, .L8024956C
|
||
|
/* 13C85C 8024951C 00000000 */ nop
|
||
|
/* 13C860 80249520 3C038027 */ lui $v1, 0x8027
|
||
|
/* 13C864 80249524 8C630380 */ lw $v1, 0x380($v1)
|
||
|
/* 13C868 80249528 24628002 */ addiu $v0, $v1, -0x7ffe
|
||
|
/* 13C86C 8024952C 2C420002 */ sltiu $v0, $v0, 2
|
||
|
/* 13C870 80249530 1440000A */ bnez $v0, .L8024955C
|
||
|
/* 13C874 80249534 00000000 */ nop
|
||
|
/* 13C878 80249538 10600008 */ beqz $v1, .L8024955C
|
||
|
/* 13C87C 8024953C 00031140 */ sll $v0, $v1, 5
|
||
|
/* 13C880 80249540 3C018008 */ lui $at, 0x8008
|
||
|
/* 13C884 80249544 00220821 */ addu $at, $at, $v0
|
||
|
/* 13C888 80249548 8C2278F0 */ lw $v0, 0x78f0($at)
|
||
|
/* 13C88C 8024954C 3C018027 */ lui $at, 0x8027
|
||
|
/* 13C890 80249550 AC2200C8 */ sw $v0, 0xc8($at)
|
||
|
/* 13C894 80249554 08092566 */ j func_80249598
|
||
|
/* 13C898 80249558 00000000 */ nop
|
||
|
|
||
|
.L8024955C:
|
||
|
/* 13C89C 8024955C 3C018027 */ lui $at, 0x8027
|
||
|
/* 13C8A0 80249560 AC2000C8 */ sw $zero, 0xc8($at)
|
||
|
/* 13C8A4 80249564 08092564 */ j func_80249590
|
||
|
/* 13C8A8 80249568 00000000 */ nop
|
||
|
|
||
|
.L8024956C:
|
||
|
/* 13C8AC 8024956C 3C028027 */ lui $v0, 0x8027
|
||
|
/* 13C8B0 80249570 8C42039C */ lw $v0, 0x39c($v0)
|
||
|
/* 13C8B4 80249574 14400002 */ bnez $v0, .L80249580
|
||
|
/* 13C8B8 80249578 2404004D */ addiu $a0, $zero, 0x4d
|
||
|
/* 13C8BC 8024957C 2404004C */ addiu $a0, $zero, 0x4c
|
||
|
.L80249580:
|
||
|
/* 13C8C0 80249580 0C093BA0 */ jal func_8024EE80
|
||
|
/* 13C8C4 80249584 00000000 */ nop
|
||
|
/* 13C8C8 80249588 3C018027 */ lui $at, 0x8027
|
||
|
/* 13C8CC 8024958C AC2200C8 */ sw $v0, 0xc8($at)
|