papermario/asm/nonmatchings/code_7900D0/func_802A153C_79060C.s

69 lines
3.4 KiB
ArmAsm
Raw Normal View History

2021-01-10 15:52:28 +01:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A153C_79060C
/* 79060C 802A153C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 790610 802A1540 AFBF0018 */ sw $ra, 0x18($sp)
/* 790614 802A1544 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 790618 802A1548 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 79061C 802A154C 0C00A67F */ jal rand_int
/* 790620 802A1550 240400C8 */ addiu $a0, $zero, 0xc8
/* 790624 802A1554 2442FFE7 */ addiu $v0, $v0, -0x19
/* 790628 802A1558 4482B000 */ mtc1 $v0, $f22
2021-01-11 13:40:52 +01:00
/* 79062C 802A155C 00000000 */ nop
2021-01-10 15:52:28 +01:00
/* 790630 802A1560 4680B5A0 */ cvt.s.w $f22, $f22
/* 790634 802A1564 0C00A67F */ jal rand_int
/* 790638 802A1568 24040078 */ addiu $a0, $zero, 0x78
/* 79063C 802A156C 24420007 */ addiu $v0, $v0, 7
/* 790640 802A1570 4482A000 */ mtc1 $v0, $f20
2021-01-11 13:40:52 +01:00
/* 790644 802A1574 00000000 */ nop
2021-01-10 15:52:28 +01:00
/* 790648 802A1578 4680A520 */ cvt.s.w $f20, $f20
/* 79064C 802A157C 0C00A67F */ jal rand_int
/* 790650 802A1580 24040032 */ addiu $a0, $zero, 0x32
/* 790654 802A1584 24040002 */ addiu $a0, $zero, 2
/* 790658 802A1588 2442FFE7 */ addiu $v0, $v0, -0x19
/* 79065C 802A158C 44821000 */ mtc1 $v0, $f2
2021-01-11 13:40:52 +01:00
/* 790660 802A1590 00000000 */ nop
2021-01-10 15:52:28 +01:00
/* 790664 802A1594 468010A0 */ cvt.s.w $f2, $f2
/* 790668 802A1598 44071000 */ mfc1 $a3, $f2
/* 79066C 802A159C 4405B000 */ mfc1 $a1, $f22
/* 790670 802A15A0 4406A000 */ mfc1 $a2, $f20
/* 790674 802A15A4 3C014000 */ lui $at, 0x4000
/* 790678 802A15A8 44810000 */ mtc1 $at, $f0
/* 79067C 802A15AC 24020014 */ addiu $v0, $zero, 0x14
/* 790680 802A15B0 AFA20014 */ sw $v0, 0x14($sp)
/* 790684 802A15B4 0C01C88C */ jal func_80072230
/* 790688 802A15B8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 79068C 802A15BC 0C00A67F */ jal rand_int
/* 790690 802A15C0 240400C8 */ addiu $a0, $zero, 0xc8
/* 790694 802A15C4 2442FFE7 */ addiu $v0, $v0, -0x19
/* 790698 802A15C8 4482B000 */ mtc1 $v0, $f22
2021-01-11 13:40:52 +01:00
/* 79069C 802A15CC 00000000 */ nop
2021-01-10 15:52:28 +01:00
/* 7906A0 802A15D0 4680B5A0 */ cvt.s.w $f22, $f22
/* 7906A4 802A15D4 0C00A67F */ jal rand_int
/* 7906A8 802A15D8 24040078 */ addiu $a0, $zero, 0x78
/* 7906AC 802A15DC 24420007 */ addiu $v0, $v0, 7
/* 7906B0 802A15E0 4482A000 */ mtc1 $v0, $f20
2021-01-11 13:40:52 +01:00
/* 7906B4 802A15E4 00000000 */ nop
2021-01-10 15:52:28 +01:00
/* 7906B8 802A15E8 4680A520 */ cvt.s.w $f20, $f20
/* 7906BC 802A15EC 0C00A67F */ jal rand_int
/* 7906C0 802A15F0 24040032 */ addiu $a0, $zero, 0x32
/* 7906C4 802A15F4 2442FFE7 */ addiu $v0, $v0, -0x19
/* 7906C8 802A15F8 44821000 */ mtc1 $v0, $f2
2021-01-11 13:40:52 +01:00
/* 7906CC 802A15FC 00000000 */ nop
2021-01-10 15:52:28 +01:00
/* 7906D0 802A1600 468010A0 */ cvt.s.w $f2, $f2
/* 7906D4 802A1604 4405B000 */ mfc1 $a1, $f22
/* 7906D8 802A1608 4406A000 */ mfc1 $a2, $f20
/* 7906DC 802A160C 3C014220 */ lui $at, 0x4220
/* 7906E0 802A1610 44810000 */ mtc1 $at, $f0
/* 7906E4 802A1614 44071000 */ mfc1 $a3, $f2
/* 7906E8 802A1618 24040004 */ addiu $a0, $zero, 4
/* 7906EC 802A161C 0C01BFBC */ jal func_8006FEF0
/* 7906F0 802A1620 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7906F4 802A1624 8FBF0018 */ lw $ra, 0x18($sp)
/* 7906F8 802A1628 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 7906FC 802A162C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 790700 802A1630 24020002 */ addiu $v0, $zero, 2
/* 790704 802A1634 03E00008 */ jr $ra
/* 790708 802A1638 27BD0030 */ addiu $sp, $sp, 0x30