mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 13:02:41 +01:00
144 lines
7.0 KiB
ArmAsm
Generated
144 lines
7.0 KiB
ArmAsm
Generated
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80240124_EE66D4
|
|
/* EE66D4 80240124 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* EE66D8 80240128 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* EE66DC 8024012C 0080802D */ daddu $s0, $a0, $zero
|
|
/* EE66E0 80240130 10A00005 */ beqz $a1, .L80240148
|
|
/* EE66E4 80240134 AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* EE66E8 80240138 AE000070 */ sw $zero, 0x70($s0)
|
|
/* EE66EC 8024013C AE000074 */ sw $zero, 0x74($s0)
|
|
/* EE66F0 80240140 AE000078 */ sw $zero, 0x78($s0)
|
|
/* EE66F4 80240144 AE00007C */ sw $zero, 0x7c($s0)
|
|
.L80240148:
|
|
/* EE66F8 80240148 8E020070 */ lw $v0, 0x70($s0)
|
|
/* EE66FC 8024014C 1440000E */ bnez $v0, .L80240188
|
|
/* EE6700 80240150 00000000 */ nop
|
|
/* EE6704 80240154 8E0300A8 */ lw $v1, 0xa8($s0)
|
|
/* EE6708 80240158 8E020088 */ lw $v0, 0x88($s0)
|
|
/* EE670C 8024015C 00621821 */ addu $v1, $v1, $v0
|
|
/* EE6710 80240160 04610004 */ bgez $v1, .L80240174
|
|
/* EE6714 80240164 AE0300A8 */ sw $v1, 0xa8($s0)
|
|
/* EE6718 80240168 3C020002 */ lui $v0, 2
|
|
/* EE671C 8024016C 08090061 */ j .L80240184
|
|
/* EE6720 80240170 00621021 */ addu $v0, $v1, $v0
|
|
.L80240174:
|
|
/* EE6724 80240174 3C040002 */ lui $a0, 2
|
|
/* EE6728 80240178 0083102A */ slt $v0, $a0, $v1
|
|
/* EE672C 8024017C 10400002 */ beqz $v0, .L80240188
|
|
/* EE6730 80240180 00641023 */ subu $v0, $v1, $a0
|
|
.L80240184:
|
|
/* EE6734 80240184 AE0200A8 */ sw $v0, 0xa8($s0)
|
|
.L80240188:
|
|
/* EE6738 80240188 8E020074 */ lw $v0, 0x74($s0)
|
|
/* EE673C 8024018C 1440000E */ bnez $v0, .L802401C8
|
|
/* EE6740 80240190 00000000 */ nop
|
|
/* EE6744 80240194 8E0300AC */ lw $v1, 0xac($s0)
|
|
/* EE6748 80240198 8E02008C */ lw $v0, 0x8c($s0)
|
|
/* EE674C 8024019C 00621821 */ addu $v1, $v1, $v0
|
|
/* EE6750 802401A0 04610004 */ bgez $v1, .L802401B4
|
|
/* EE6754 802401A4 AE0300AC */ sw $v1, 0xac($s0)
|
|
/* EE6758 802401A8 3C020002 */ lui $v0, 2
|
|
/* EE675C 802401AC 08090071 */ j .L802401C4
|
|
/* EE6760 802401B0 00621021 */ addu $v0, $v1, $v0
|
|
.L802401B4:
|
|
/* EE6764 802401B4 3C040002 */ lui $a0, 2
|
|
/* EE6768 802401B8 0083102A */ slt $v0, $a0, $v1
|
|
/* EE676C 802401BC 10400002 */ beqz $v0, .L802401C8
|
|
/* EE6770 802401C0 00641023 */ subu $v0, $v1, $a0
|
|
.L802401C4:
|
|
/* EE6774 802401C4 AE0200AC */ sw $v0, 0xac($s0)
|
|
.L802401C8:
|
|
/* EE6778 802401C8 8E020078 */ lw $v0, 0x78($s0)
|
|
/* EE677C 802401CC 1440000E */ bnez $v0, .L80240208
|
|
/* EE6780 802401D0 00000000 */ nop
|
|
/* EE6784 802401D4 8E0300B0 */ lw $v1, 0xb0($s0)
|
|
/* EE6788 802401D8 8E020090 */ lw $v0, 0x90($s0)
|
|
/* EE678C 802401DC 00621821 */ addu $v1, $v1, $v0
|
|
/* EE6790 802401E0 04610004 */ bgez $v1, .L802401F4
|
|
/* EE6794 802401E4 AE0300B0 */ sw $v1, 0xb0($s0)
|
|
/* EE6798 802401E8 3C020002 */ lui $v0, 2
|
|
/* EE679C 802401EC 08090081 */ j .L80240204
|
|
/* EE67A0 802401F0 00621021 */ addu $v0, $v1, $v0
|
|
.L802401F4:
|
|
/* EE67A4 802401F4 3C040002 */ lui $a0, 2
|
|
/* EE67A8 802401F8 0083102A */ slt $v0, $a0, $v1
|
|
/* EE67AC 802401FC 10400002 */ beqz $v0, .L80240208
|
|
/* EE67B0 80240200 00641023 */ subu $v0, $v1, $a0
|
|
.L80240204:
|
|
/* EE67B4 80240204 AE0200B0 */ sw $v0, 0xb0($s0)
|
|
.L80240208:
|
|
/* EE67B8 80240208 8E02007C */ lw $v0, 0x7c($s0)
|
|
/* EE67BC 8024020C 1440000E */ bnez $v0, .L80240248
|
|
/* EE67C0 80240210 00000000 */ nop
|
|
/* EE67C4 80240214 8E0300B4 */ lw $v1, 0xb4($s0)
|
|
/* EE67C8 80240218 8E020094 */ lw $v0, 0x94($s0)
|
|
/* EE67CC 8024021C 00621821 */ addu $v1, $v1, $v0
|
|
/* EE67D0 80240220 04610004 */ bgez $v1, .L80240234
|
|
/* EE67D4 80240224 AE0300B4 */ sw $v1, 0xb4($s0)
|
|
/* EE67D8 80240228 3C020002 */ lui $v0, 2
|
|
/* EE67DC 8024022C 08090091 */ j .L80240244
|
|
/* EE67E0 80240230 00621021 */ addu $v0, $v1, $v0
|
|
.L80240234:
|
|
/* EE67E4 80240234 3C040002 */ lui $a0, 2
|
|
/* EE67E8 80240238 0083102A */ slt $v0, $a0, $v1
|
|
/* EE67EC 8024023C 10400002 */ beqz $v0, .L80240248
|
|
/* EE67F0 80240240 00641023 */ subu $v0, $v1, $a0
|
|
.L80240244:
|
|
/* EE67F4 80240244 AE0200B4 */ sw $v0, 0xb4($s0)
|
|
.L80240248:
|
|
/* EE67F8 80240248 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EE67FC 8024024C 0C049819 */ jal func_80126064
|
|
/* EE6800 80240250 8E0500A8 */ lw $a1, 0xa8($s0)
|
|
/* EE6804 80240254 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EE6808 80240258 0C04981F */ jal func_8012607C
|
|
/* EE680C 8024025C 8E0500AC */ lw $a1, 0xac($s0)
|
|
/* EE6810 80240260 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EE6814 80240264 0C049825 */ jal func_80126094
|
|
/* EE6818 80240268 8E0500B0 */ lw $a1, 0xb0($s0)
|
|
/* EE681C 8024026C 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EE6820 80240270 0C04982B */ jal func_801260AC
|
|
/* EE6824 80240274 8E0500B4 */ lw $a1, 0xb4($s0)
|
|
/* EE6828 80240278 8E020070 */ lw $v0, 0x70($s0)
|
|
/* EE682C 8024027C 8E030078 */ lw $v1, 0x78($s0)
|
|
/* EE6830 80240280 8E040098 */ lw $a0, 0x98($s0)
|
|
/* EE6834 80240284 24420001 */ addiu $v0, $v0, 1
|
|
/* EE6838 80240288 AE020070 */ sw $v0, 0x70($s0)
|
|
/* EE683C 8024028C 8E020074 */ lw $v0, 0x74($s0)
|
|
/* EE6840 80240290 24630001 */ addiu $v1, $v1, 1
|
|
/* EE6844 80240294 AE030078 */ sw $v1, 0x78($s0)
|
|
/* EE6848 80240298 8E030070 */ lw $v1, 0x70($s0)
|
|
/* EE684C 8024029C 24420001 */ addiu $v0, $v0, 1
|
|
/* EE6850 802402A0 AE020074 */ sw $v0, 0x74($s0)
|
|
/* EE6854 802402A4 8E02007C */ lw $v0, 0x7c($s0)
|
|
/* EE6858 802402A8 0064182A */ slt $v1, $v1, $a0
|
|
/* EE685C 802402AC 24420001 */ addiu $v0, $v0, 1
|
|
/* EE6860 802402B0 14600002 */ bnez $v1, .L802402BC
|
|
/* EE6864 802402B4 AE02007C */ sw $v0, 0x7c($s0)
|
|
/* EE6868 802402B8 AE000070 */ sw $zero, 0x70($s0)
|
|
.L802402BC:
|
|
/* EE686C 802402BC 8E020074 */ lw $v0, 0x74($s0)
|
|
/* EE6870 802402C0 8E03009C */ lw $v1, 0x9c($s0)
|
|
/* EE6874 802402C4 0043102A */ slt $v0, $v0, $v1
|
|
/* EE6878 802402C8 50400001 */ beql $v0, $zero, .L802402D0
|
|
/* EE687C 802402CC AE000074 */ sw $zero, 0x74($s0)
|
|
.L802402D0:
|
|
/* EE6880 802402D0 8E020078 */ lw $v0, 0x78($s0)
|
|
/* EE6884 802402D4 8E0300A0 */ lw $v1, 0xa0($s0)
|
|
/* EE6888 802402D8 0043102A */ slt $v0, $v0, $v1
|
|
/* EE688C 802402DC 50400001 */ beql $v0, $zero, .L802402E4
|
|
/* EE6890 802402E0 AE000078 */ sw $zero, 0x78($s0)
|
|
.L802402E4:
|
|
/* EE6894 802402E4 8E02007C */ lw $v0, 0x7c($s0)
|
|
/* EE6898 802402E8 8E0300A4 */ lw $v1, 0xa4($s0)
|
|
/* EE689C 802402EC 0043102A */ slt $v0, $v0, $v1
|
|
/* EE68A0 802402F0 50400001 */ beql $v0, $zero, .L802402F8
|
|
/* EE68A4 802402F4 AE00007C */ sw $zero, 0x7c($s0)
|
|
.L802402F8:
|
|
/* EE68A8 802402F8 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* EE68AC 802402FC 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* EE68B0 80240300 0000102D */ daddu $v0, $zero, $zero
|
|
/* EE68B4 80240304 03E00008 */ jr $ra
|
|
/* EE68B8 80240308 27BD0018 */ addiu $sp, $sp, 0x18
|