mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
90 lines
4.2 KiB
ArmAsm
Generated
90 lines
4.2 KiB
ArmAsm
Generated
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80240040_EA7010
|
|
/* EA7010 80240040 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* EA7014 80240044 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* EA7018 80240048 0080802D */ daddu $s0, $a0, $zero
|
|
/* EA701C 8024004C AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* EA7020 80240050 8E0300A8 */ lw $v1, 0xa8($s0)
|
|
/* EA7024 80240054 8E020088 */ lw $v0, 0x88($s0)
|
|
/* EA7028 80240058 00621821 */ addu $v1, $v1, $v0
|
|
/* EA702C 8024005C 04610004 */ bgez $v1, .L80240070
|
|
/* EA7030 80240060 AE0300A8 */ sw $v1, 0xa8($s0)
|
|
/* EA7034 80240064 3C020002 */ lui $v0, 2
|
|
/* EA7038 80240068 08090020 */ j .L80240080
|
|
/* EA703C 8024006C 00621021 */ addu $v0, $v1, $v0
|
|
.L80240070:
|
|
/* EA7040 80240070 3C040002 */ lui $a0, 2
|
|
/* EA7044 80240074 0083102A */ slt $v0, $a0, $v1
|
|
/* EA7048 80240078 10400002 */ beqz $v0, .L80240084
|
|
/* EA704C 8024007C 00641023 */ subu $v0, $v1, $a0
|
|
.L80240080:
|
|
/* EA7050 80240080 AE0200A8 */ sw $v0, 0xa8($s0)
|
|
.L80240084:
|
|
/* EA7054 80240084 8E0300AC */ lw $v1, 0xac($s0)
|
|
/* EA7058 80240088 8E02008C */ lw $v0, 0x8c($s0)
|
|
/* EA705C 8024008C 00621821 */ addu $v1, $v1, $v0
|
|
/* EA7060 80240090 04610004 */ bgez $v1, .L802400A4
|
|
/* EA7064 80240094 AE0300AC */ sw $v1, 0xac($s0)
|
|
/* EA7068 80240098 3C020002 */ lui $v0, 2
|
|
/* EA706C 8024009C 0809002D */ j .L802400B4
|
|
/* EA7070 802400A0 00621021 */ addu $v0, $v1, $v0
|
|
.L802400A4:
|
|
/* EA7074 802400A4 3C040002 */ lui $a0, 2
|
|
/* EA7078 802400A8 0083102A */ slt $v0, $a0, $v1
|
|
/* EA707C 802400AC 10400002 */ beqz $v0, .L802400B8
|
|
/* EA7080 802400B0 00641023 */ subu $v0, $v1, $a0
|
|
.L802400B4:
|
|
/* EA7084 802400B4 AE0200AC */ sw $v0, 0xac($s0)
|
|
.L802400B8:
|
|
/* EA7088 802400B8 8E0300B0 */ lw $v1, 0xb0($s0)
|
|
/* EA708C 802400BC 8E020090 */ lw $v0, 0x90($s0)
|
|
/* EA7090 802400C0 00621821 */ addu $v1, $v1, $v0
|
|
/* EA7094 802400C4 04610004 */ bgez $v1, .L802400D8
|
|
/* EA7098 802400C8 AE0300B0 */ sw $v1, 0xb0($s0)
|
|
/* EA709C 802400CC 3C020002 */ lui $v0, 2
|
|
/* EA70A0 802400D0 0809003A */ j .L802400E8
|
|
/* EA70A4 802400D4 00621021 */ addu $v0, $v1, $v0
|
|
.L802400D8:
|
|
/* EA70A8 802400D8 3C040002 */ lui $a0, 2
|
|
/* EA70AC 802400DC 0083102A */ slt $v0, $a0, $v1
|
|
/* EA70B0 802400E0 10400002 */ beqz $v0, .L802400EC
|
|
/* EA70B4 802400E4 00641023 */ subu $v0, $v1, $a0
|
|
.L802400E8:
|
|
/* EA70B8 802400E8 AE0200B0 */ sw $v0, 0xb0($s0)
|
|
.L802400EC:
|
|
/* EA70BC 802400EC 8E0300B4 */ lw $v1, 0xb4($s0)
|
|
/* EA70C0 802400F0 8E020094 */ lw $v0, 0x94($s0)
|
|
/* EA70C4 802400F4 00621821 */ addu $v1, $v1, $v0
|
|
/* EA70C8 802400F8 04610004 */ bgez $v1, .L8024010C
|
|
/* EA70CC 802400FC AE0300B4 */ sw $v1, 0xb4($s0)
|
|
/* EA70D0 80240100 3C020002 */ lui $v0, 2
|
|
/* EA70D4 80240104 08090047 */ j .L8024011C
|
|
/* EA70D8 80240108 00621021 */ addu $v0, $v1, $v0
|
|
.L8024010C:
|
|
/* EA70DC 8024010C 3C040002 */ lui $a0, 2
|
|
/* EA70E0 80240110 0083102A */ slt $v0, $a0, $v1
|
|
/* EA70E4 80240114 10400002 */ beqz $v0, .L80240120
|
|
/* EA70E8 80240118 00641023 */ subu $v0, $v1, $a0
|
|
.L8024011C:
|
|
/* EA70EC 8024011C AE0200B4 */ sw $v0, 0xb4($s0)
|
|
.L80240120:
|
|
/* EA70F0 80240120 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EA70F4 80240124 0C049819 */ jal func_80126064
|
|
/* EA70F8 80240128 8E0500A8 */ lw $a1, 0xa8($s0)
|
|
/* EA70FC 8024012C 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EA7100 80240130 0C04981F */ jal func_8012607C
|
|
/* EA7104 80240134 8E0500AC */ lw $a1, 0xac($s0)
|
|
/* EA7108 80240138 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EA710C 8024013C 0C049825 */ jal func_80126094
|
|
/* EA7110 80240140 8E0500B0 */ lw $a1, 0xb0($s0)
|
|
/* EA7114 80240144 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EA7118 80240148 0C04982B */ jal func_801260AC
|
|
/* EA711C 8024014C 8E0500B4 */ lw $a1, 0xb4($s0)
|
|
/* EA7120 80240150 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* EA7124 80240154 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* EA7128 80240158 0000102D */ daddu $v0, $zero, $zero
|
|
/* EA712C 8024015C 03E00008 */ jr $ra
|
|
/* EA7130 80240160 27BD0018 */ addiu $sp, $sp, 0x18
|