mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
33 lines
1.5 KiB
ArmAsm
33 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80263C60
|
|
/* 192540 80263C60 0000202D */ daddu $a0, $zero, $zero
|
|
/* 192544 80263C64 3C05800E */ lui $a1, %hi(gBattleStatus)
|
|
/* 192548 80263C68 24A5C070 */ addiu $a1, $a1, %lo(gBattleStatus)
|
|
/* 19254C 80263C6C 00A0182D */ daddu $v1, $a1, $zero
|
|
.L80263C70:
|
|
/* 192550 80263C70 8C6200E0 */ lw $v0, 0xe0($v1)
|
|
/* 192554 80263C74 10400004 */ beqz $v0, .L80263C88
|
|
/* 192558 80263C78 24840001 */ addiu $a0, $a0, 1
|
|
/* 19255C 80263C7C A44001FA */ sh $zero, 0x1fa($v0)
|
|
/* 192560 80263C80 A44001FC */ sh $zero, 0x1fc($v0)
|
|
/* 192564 80263C84 A0400204 */ sb $zero, 0x204($v0)
|
|
.L80263C88:
|
|
/* 192568 80263C88 28820018 */ slti $v0, $a0, 0x18
|
|
/* 19256C 80263C8C 1440FFF8 */ bnez $v0, .L80263C70
|
|
/* 192570 80263C90 24630004 */ addiu $v1, $v1, 4
|
|
/* 192574 80263C94 8CA200D8 */ lw $v0, 0xd8($a1)
|
|
/* 192578 80263C98 A44001FA */ sh $zero, 0x1fa($v0)
|
|
/* 19257C 80263C9C A44001FC */ sh $zero, 0x1fc($v0)
|
|
/* 192580 80263CA0 A0400204 */ sb $zero, 0x204($v0)
|
|
/* 192584 80263CA4 8CA200DC */ lw $v0, 0xdc($a1)
|
|
/* 192588 80263CA8 10400004 */ beqz $v0, .L80263CBC
|
|
/* 19258C 80263CAC 00000000 */ nop
|
|
/* 192590 80263CB0 A44001FA */ sh $zero, 0x1fa($v0)
|
|
/* 192594 80263CB4 A44001FC */ sh $zero, 0x1fc($v0)
|
|
/* 192598 80263CB8 A0400204 */ sb $zero, 0x204($v0)
|
|
.L80263CBC:
|
|
/* 19259C 80263CBC 03E00008 */ jr $ra
|
|
/* 1925A0 80263CC0 00000000 */ nop
|