mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 20:12:30 +01:00
79 lines
3.7 KiB
ArmAsm
Generated
79 lines
3.7 KiB
ArmAsm
Generated
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_802666E4
|
|
/* 194FC4 802666E4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
/* 194FC8 802666E8 44850000 */ mtc1 $a1, $f0
|
|
/* 194FCC 802666EC 44861000 */ mtc1 $a2, $f2
|
|
/* 194FD0 802666F0 44872000 */ mtc1 $a3, $f4
|
|
/* 194FD4 802666F4 8FA30030 */ lw $v1, 0x30($sp)
|
|
/* 194FD8 802666F8 3C05800E */ lui $a1, %hi(gBattleStatus)
|
|
/* 194FDC 802666FC 24A5C070 */ addiu $a1, $a1, %lo(gBattleStatus)
|
|
/* 194FE0 80266700 28620003 */ slti $v0, $v1, 3
|
|
/* 194FE4 80266704 10400003 */ beqz $v0, .L80266714
|
|
/* 194FE8 80266708 AFBF0018 */ sw $ra, 0x18($sp)
|
|
/* 194FEC 8026670C 080999E9 */ j .L802667A4
|
|
/* 194FF0 80266710 0000402D */ daddu $t0, $zero, $zero
|
|
.L80266714:
|
|
/* 194FF4 80266714 28620005 */ slti $v0, $v1, 5
|
|
/* 194FF8 80266718 1040001E */ beqz $v0, .L80266794
|
|
/* 194FFC 8026671C 24080001 */ addiu $t0, $zero, 1
|
|
/* 195000 80266720 080999E9 */ j .L802667A4
|
|
/* 195004 80266724 00000000 */ nop
|
|
.L80266728:
|
|
/* 195008 80266728 0000202D */ daddu $a0, $zero, $zero
|
|
/* 19500C 8026672C 44050000 */ mfc1 $a1, $f0
|
|
/* 195010 80266730 44061000 */ mfc1 $a2, $f2
|
|
/* 195014 80266734 44072000 */ mfc1 $a3, $f4
|
|
/* 195018 80266738 3C013F80 */ lui $at, 0x3f80
|
|
/* 19501C 8026673C 44810000 */ mtc1 $at, $f0
|
|
/* 195020 80266740 24020018 */ addiu $v0, $zero, 0x18
|
|
/* 195024 80266744 AFA20014 */ sw $v0, 0x14($sp)
|
|
/* 195028 80266748 0C01C184 */ jal func_80070610
|
|
/* 19502C 8026674C E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 195030 80266750 080999F9 */ j .L802667E4
|
|
/* 195034 80266754 00000000 */ nop
|
|
.L80266758:
|
|
/* 195038 80266758 0C09451D */ jal func_80251474
|
|
/* 19503C 8026675C 00000000 */ nop
|
|
/* 195040 80266760 080999F9 */ j .L802667E4
|
|
/* 195044 80266764 00000000 */ nop
|
|
.L80266768:
|
|
/* 195048 80266768 44050000 */ mfc1 $a1, $f0
|
|
/* 19504C 8026676C 44061000 */ mfc1 $a2, $f2
|
|
/* 195050 80266770 44072000 */ mfc1 $a3, $f4
|
|
/* 195054 80266774 3C013F80 */ lui $at, 0x3f80
|
|
/* 195058 80266778 44810000 */ mtc1 $at, $f0
|
|
/* 19505C 8026677C 24020018 */ addiu $v0, $zero, 0x18
|
|
/* 195060 80266780 AFA20014 */ sw $v0, 0x14($sp)
|
|
/* 195064 80266784 0C01C70C */ jal func_80071C30
|
|
/* 195068 80266788 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
/* 19506C 8026678C 080999F9 */ j .L802667E4
|
|
/* 195070 80266790 00000000 */ nop
|
|
.L80266794:
|
|
/* 195074 80266794 28620009 */ slti $v0, $v1, 9
|
|
/* 195078 80266798 10400002 */ beqz $v0, .L802667A4
|
|
/* 19507C 8026679C 24080003 */ addiu $t0, $zero, 3
|
|
/* 195080 802667A0 24080002 */ addiu $t0, $zero, 2
|
|
.L802667A4:
|
|
/* 195084 802667A4 8CA30188 */ lw $v1, 0x188($a1)
|
|
/* 195088 802667A8 30620002 */ andi $v0, $v1, 2
|
|
/* 19508C 802667AC 1440FFDE */ bnez $v0, .L80266728
|
|
/* 195090 802667B0 30620020 */ andi $v0, $v1, 0x20
|
|
/* 195094 802667B4 1440FFE8 */ bnez $v0, .L80266758
|
|
/* 195098 802667B8 30620004 */ andi $v0, $v1, 4
|
|
/* 19509C 802667BC 1440FFEA */ bnez $v0, .L80266768
|
|
/* 1950A0 802667C0 0000202D */ daddu $a0, $zero, $zero
|
|
/* 1950A4 802667C4 44050000 */ mfc1 $a1, $f0
|
|
/* 1950A8 802667C8 44061000 */ mfc1 $a2, $f2
|
|
/* 1950AC 802667CC 44072000 */ mfc1 $a3, $f4
|
|
/* 1950B0 802667D0 3C013F80 */ lui $at, 0x3f80
|
|
/* 1950B4 802667D4 44810000 */ mtc1 $at, $f0
|
|
/* 1950B8 802667D8 AFA80014 */ sw $t0, 0x14($sp)
|
|
/* 1950BC 802667DC 0C01C46C */ jal func_800711B0
|
|
/* 1950C0 802667E0 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
.L802667E4:
|
|
/* 1950C4 802667E4 8FBF0018 */ lw $ra, 0x18($sp)
|
|
/* 1950C8 802667E8 03E00008 */ jr $ra
|
|
/* 1950CC 802667EC 27BD0020 */ addiu $sp, $sp, 0x20
|