mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
66 lines
3.2 KiB
ArmAsm
Generated
66 lines
3.2 KiB
ArmAsm
Generated
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80238114_707DB4
|
|
/* 707DB4 80238114 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
|
/* 707DB8 80238118 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
|
/* 707DBC 8023811C 8C860084 */ lw $a2, 0x84($a0)
|
|
/* 707DC0 80238120 AC800084 */ sw $zero, 0x84($a0)
|
|
/* 707DC4 80238124 8C420008 */ lw $v0, 8($v0)
|
|
/* 707DC8 80238128 90430006 */ lbu $v1, 6($v0)
|
|
/* 707DCC 8023812C 24070001 */ addiu $a3, $zero, 1
|
|
/* 707DD0 80238130 10670013 */ beq $v1, $a3, .L80238180
|
|
/* 707DD4 80238134 0000282D */ daddu $a1, $zero, $zero
|
|
/* 707DD8 80238138 28620002 */ slti $v0, $v1, 2
|
|
/* 707DDC 8023813C 10400005 */ beqz $v0, .L80238154
|
|
/* 707DE0 80238140 24020002 */ addiu $v0, $zero, 2
|
|
/* 707DE4 80238144 10600007 */ beqz $v1, .L80238164
|
|
/* 707DE8 80238148 28C20029 */ slti $v0, $a2, 0x29
|
|
/* 707DEC 8023814C 0808E079 */ j .L802381E4
|
|
/* 707DF0 80238150 AC8500C0 */ sw $a1, 0xc0($a0)
|
|
.L80238154:
|
|
/* 707DF4 80238154 10620015 */ beq $v1, $v0, .L802381AC
|
|
/* 707DF8 80238158 28C20015 */ slti $v0, $a2, 0x15
|
|
/* 707DFC 8023815C 03E00008 */ jr $ra
|
|
/* 707E00 80238160 AC8500C0 */ sw $a1, 0xc0($a0)
|
|
.L80238164:
|
|
/* 707E04 80238164 1440001E */ bnez $v0, .L802381E0
|
|
/* 707E08 80238168 24050003 */ addiu $a1, $zero, 3
|
|
/* 707E0C 8023816C 28C2004C */ slti $v0, $a2, 0x4c
|
|
/* 707E10 80238170 1440001B */ bnez $v0, .L802381E0
|
|
/* 707E14 80238174 24050004 */ addiu $a1, $zero, 4
|
|
/* 707E18 80238178 0808E077 */ j .L802381DC
|
|
/* 707E1C 8023817C 24050005 */ addiu $a1, $zero, 5
|
|
.L80238180:
|
|
/* 707E20 80238180 28C20024 */ slti $v0, $a2, 0x24
|
|
/* 707E24 80238184 14400016 */ bnez $v0, .L802381E0
|
|
/* 707E28 80238188 24050003 */ addiu $a1, $zero, 3
|
|
/* 707E2C 8023818C 28C2003D */ slti $v0, $a2, 0x3d
|
|
/* 707E30 80238190 14400013 */ bnez $v0, .L802381E0
|
|
/* 707E34 80238194 24050004 */ addiu $a1, $zero, 4
|
|
/* 707E38 80238198 28C20051 */ slti $v0, $a2, 0x51
|
|
/* 707E3C 8023819C 14400010 */ bnez $v0, .L802381E0
|
|
/* 707E40 802381A0 24050005 */ addiu $a1, $zero, 5
|
|
/* 707E44 802381A4 0808E077 */ j .L802381DC
|
|
/* 707E48 802381A8 24050006 */ addiu $a1, $zero, 6
|
|
.L802381AC:
|
|
/* 707E4C 802381AC 1440000C */ bnez $v0, .L802381E0
|
|
/* 707E50 802381B0 24050003 */ addiu $a1, $zero, 3
|
|
/* 707E54 802381B4 28C2001F */ slti $v0, $a2, 0x1f
|
|
/* 707E58 802381B8 14400009 */ bnez $v0, .L802381E0
|
|
/* 707E5C 802381BC 24050004 */ addiu $a1, $zero, 4
|
|
/* 707E60 802381C0 28C2003D */ slti $v0, $a2, 0x3d
|
|
/* 707E64 802381C4 14400006 */ bnez $v0, .L802381E0
|
|
/* 707E68 802381C8 24050005 */ addiu $a1, $zero, 5
|
|
/* 707E6C 802381CC 28C20051 */ slti $v0, $a2, 0x51
|
|
/* 707E70 802381D0 14400003 */ bnez $v0, .L802381E0
|
|
/* 707E74 802381D4 24050006 */ addiu $a1, $zero, 6
|
|
/* 707E78 802381D8 24050007 */ addiu $a1, $zero, 7
|
|
.L802381DC:
|
|
/* 707E7C 802381DC AC870084 */ sw $a3, 0x84($a0)
|
|
.L802381E0:
|
|
/* 707E80 802381E0 AC8500C0 */ sw $a1, 0xc0($a0)
|
|
.L802381E4:
|
|
/* 707E84 802381E4 03E00008 */ jr $ra
|
|
/* 707E88 802381E8 24020002 */ addiu $v0, $zero, 2
|