mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +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_80240000_EB7230
|
|
/* EB7230 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* EB7234 80240004 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* EB7238 80240008 0080802D */ daddu $s0, $a0, $zero
|
|
/* EB723C 8024000C AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* EB7240 80240010 8E0300A8 */ lw $v1, 0xa8($s0)
|
|
/* EB7244 80240014 8E020088 */ lw $v0, 0x88($s0)
|
|
/* EB7248 80240018 00621821 */ addu $v1, $v1, $v0
|
|
/* EB724C 8024001C 04610004 */ bgez $v1, .L80240030
|
|
/* EB7250 80240020 AE0300A8 */ sw $v1, 0xa8($s0)
|
|
/* EB7254 80240024 3C020002 */ lui $v0, 2
|
|
/* EB7258 80240028 08090010 */ j .L80240040
|
|
/* EB725C 8024002C 00621021 */ addu $v0, $v1, $v0
|
|
.L80240030:
|
|
/* EB7260 80240030 3C040002 */ lui $a0, 2
|
|
/* EB7264 80240034 0083102A */ slt $v0, $a0, $v1
|
|
/* EB7268 80240038 10400002 */ beqz $v0, .L80240044
|
|
/* EB726C 8024003C 00641023 */ subu $v0, $v1, $a0
|
|
.L80240040:
|
|
/* EB7270 80240040 AE0200A8 */ sw $v0, 0xa8($s0)
|
|
.L80240044:
|
|
/* EB7274 80240044 8E0300AC */ lw $v1, 0xac($s0)
|
|
/* EB7278 80240048 8E02008C */ lw $v0, 0x8c($s0)
|
|
/* EB727C 8024004C 00621821 */ addu $v1, $v1, $v0
|
|
/* EB7280 80240050 04610004 */ bgez $v1, .L80240064
|
|
/* EB7284 80240054 AE0300AC */ sw $v1, 0xac($s0)
|
|
/* EB7288 80240058 3C020002 */ lui $v0, 2
|
|
/* EB728C 8024005C 0809001D */ j .L80240074
|
|
/* EB7290 80240060 00621021 */ addu $v0, $v1, $v0
|
|
.L80240064:
|
|
/* EB7294 80240064 3C040002 */ lui $a0, 2
|
|
/* EB7298 80240068 0083102A */ slt $v0, $a0, $v1
|
|
/* EB729C 8024006C 10400002 */ beqz $v0, .L80240078
|
|
/* EB72A0 80240070 00641023 */ subu $v0, $v1, $a0
|
|
.L80240074:
|
|
/* EB72A4 80240074 AE0200AC */ sw $v0, 0xac($s0)
|
|
.L80240078:
|
|
/* EB72A8 80240078 8E0300B0 */ lw $v1, 0xb0($s0)
|
|
/* EB72AC 8024007C 8E020090 */ lw $v0, 0x90($s0)
|
|
/* EB72B0 80240080 00621821 */ addu $v1, $v1, $v0
|
|
/* EB72B4 80240084 04610004 */ bgez $v1, .L80240098
|
|
/* EB72B8 80240088 AE0300B0 */ sw $v1, 0xb0($s0)
|
|
/* EB72BC 8024008C 3C020002 */ lui $v0, 2
|
|
/* EB72C0 80240090 0809002A */ j .L802400A8
|
|
/* EB72C4 80240094 00621021 */ addu $v0, $v1, $v0
|
|
.L80240098:
|
|
/* EB72C8 80240098 3C040002 */ lui $a0, 2
|
|
/* EB72CC 8024009C 0083102A */ slt $v0, $a0, $v1
|
|
/* EB72D0 802400A0 10400002 */ beqz $v0, .L802400AC
|
|
/* EB72D4 802400A4 00641023 */ subu $v0, $v1, $a0
|
|
.L802400A8:
|
|
/* EB72D8 802400A8 AE0200B0 */ sw $v0, 0xb0($s0)
|
|
.L802400AC:
|
|
/* EB72DC 802400AC 8E0300B4 */ lw $v1, 0xb4($s0)
|
|
/* EB72E0 802400B0 8E020094 */ lw $v0, 0x94($s0)
|
|
/* EB72E4 802400B4 00621821 */ addu $v1, $v1, $v0
|
|
/* EB72E8 802400B8 04610004 */ bgez $v1, .L802400CC
|
|
/* EB72EC 802400BC AE0300B4 */ sw $v1, 0xb4($s0)
|
|
/* EB72F0 802400C0 3C020002 */ lui $v0, 2
|
|
/* EB72F4 802400C4 08090037 */ j .L802400DC
|
|
/* EB72F8 802400C8 00621021 */ addu $v0, $v1, $v0
|
|
.L802400CC:
|
|
/* EB72FC 802400CC 3C040002 */ lui $a0, 2
|
|
/* EB7300 802400D0 0083102A */ slt $v0, $a0, $v1
|
|
/* EB7304 802400D4 10400002 */ beqz $v0, .L802400E0
|
|
/* EB7308 802400D8 00641023 */ subu $v0, $v1, $a0
|
|
.L802400DC:
|
|
/* EB730C 802400DC AE0200B4 */ sw $v0, 0xb4($s0)
|
|
.L802400E0:
|
|
/* EB7310 802400E0 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EB7314 802400E4 0C049819 */ jal func_80126064
|
|
/* EB7318 802400E8 8E0500A8 */ lw $a1, 0xa8($s0)
|
|
/* EB731C 802400EC 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EB7320 802400F0 0C04981F */ jal func_8012607C
|
|
/* EB7324 802400F4 8E0500AC */ lw $a1, 0xac($s0)
|
|
/* EB7328 802400F8 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EB732C 802400FC 0C049825 */ jal func_80126094
|
|
/* EB7330 80240100 8E0500B0 */ lw $a1, 0xb0($s0)
|
|
/* EB7334 80240104 8E040084 */ lw $a0, 0x84($s0)
|
|
/* EB7338 80240108 0C04982B */ jal func_801260AC
|
|
/* EB733C 8024010C 8E0500B4 */ lw $a1, 0xb4($s0)
|
|
/* EB7340 80240110 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* EB7344 80240114 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* EB7348 80240118 0000102D */ daddu $v0, $zero, $zero
|
|
/* EB734C 8024011C 03E00008 */ jr $ra
|
|
/* EB7350 80240120 27BD0018 */ addiu $sp, $sp, 0x18
|