mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
74 lines
3.8 KiB
ArmAsm
74 lines
3.8 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_802A1228_761B48
|
|
/* 761B48 802A1228 27BDFFB0 */ addiu $sp, $sp, -0x50
|
|
/* 761B4C 802A122C AFB20020 */ sw $s2, 0x20($sp)
|
|
/* 761B50 802A1230 0080902D */ daddu $s2, $a0, $zero
|
|
/* 761B54 802A1234 AFBF0028 */ sw $ra, 0x28($sp)
|
|
/* 761B58 802A1238 AFB30024 */ sw $s3, 0x24($sp)
|
|
/* 761B5C 802A123C AFB1001C */ sw $s1, 0x1c($sp)
|
|
/* 761B60 802A1240 AFB00018 */ sw $s0, 0x18($sp)
|
|
/* 761B64 802A1244 F7BA0048 */ sdc1 $f26, 0x48($sp)
|
|
/* 761B68 802A1248 F7B80040 */ sdc1 $f24, 0x40($sp)
|
|
/* 761B6C 802A124C F7B60038 */ sdc1 $f22, 0x38($sp)
|
|
/* 761B70 802A1250 F7B40030 */ sdc1 $f20, 0x30($sp)
|
|
/* 761B74 802A1254 8E50000C */ lw $s0, 0xc($s2)
|
|
/* 761B78 802A1258 8E050000 */ lw $a1, ($s0)
|
|
/* 761B7C 802A125C 0C0B1EAF */ jal get_variable
|
|
/* 761B80 802A1260 26100004 */ addiu $s0, $s0, 4
|
|
/* 761B84 802A1264 8E050000 */ lw $a1, ($s0)
|
|
/* 761B88 802A1268 26100004 */ addiu $s0, $s0, 4
|
|
/* 761B8C 802A126C 0240202D */ daddu $a0, $s2, $zero
|
|
/* 761B90 802A1270 0C0B1EAF */ jal get_variable
|
|
/* 761B94 802A1274 0040982D */ daddu $s3, $v0, $zero
|
|
/* 761B98 802A1278 8E050000 */ lw $a1, ($s0)
|
|
/* 761B9C 802A127C 26100004 */ addiu $s0, $s0, 4
|
|
/* 761BA0 802A1280 0240202D */ daddu $a0, $s2, $zero
|
|
/* 761BA4 802A1284 0C0B1EAF */ jal get_variable
|
|
/* 761BA8 802A1288 0040882D */ daddu $s1, $v0, $zero
|
|
/* 761BAC 802A128C 0240202D */ daddu $a0, $s2, $zero
|
|
/* 761BB0 802A1290 8E050000 */ lw $a1, ($s0)
|
|
/* 761BB4 802A1294 0C0B210B */ jal get_float_variable
|
|
/* 761BB8 802A1298 0040802D */ daddu $s0, $v0, $zero
|
|
/* 761BBC 802A129C 24040006 */ addiu $a0, $zero, 6
|
|
/* 761BC0 802A12A0 2673000A */ addiu $s3, $s3, 0xa
|
|
/* 761BC4 802A12A4 4493D000 */ mtc1 $s3, $f26
|
|
/* 761BC8 802A12A8 00000000 */ nop
|
|
/* 761BCC 802A12AC 4680D6A0 */ cvt.s.w $f26, $f26
|
|
/* 761BD0 802A12B0 26310012 */ addiu $s1, $s1, 0x12
|
|
/* 761BD4 802A12B4 4491C000 */ mtc1 $s1, $f24
|
|
/* 761BD8 802A12B8 00000000 */ nop
|
|
/* 761BDC 802A12BC 4680C620 */ cvt.s.w $f24, $f24
|
|
/* 761BE0 802A12C0 4490A000 */ mtc1 $s0, $f20
|
|
/* 761BE4 802A12C4 00000000 */ nop
|
|
/* 761BE8 802A12C8 4680A520 */ cvt.s.w $f20, $f20
|
|
/* 761BEC 802A12CC 46000586 */ mov.s $f22, $f0
|
|
/* 761BF0 802A12D0 4405D000 */ mfc1 $a1, $f26
|
|
/* 761BF4 802A12D4 4406C000 */ mfc1 $a2, $f24
|
|
/* 761BF8 802A12D8 4407A000 */ mfc1 $a3, $f20
|
|
/* 761BFC 802A12DC 2402002D */ addiu $v0, $zero, 0x2d
|
|
/* 761C00 802A12E0 E7B60010 */ swc1 $f22, 0x10($sp)
|
|
/* 761C04 802A12E4 0C01C82C */ jal func_800720B0
|
|
/* 761C08 802A12E8 AFA20014 */ sw $v0, 0x14($sp)
|
|
/* 761C0C 802A12EC 2404000D */ addiu $a0, $zero, 0xd
|
|
/* 761C10 802A12F0 4405D000 */ mfc1 $a1, $f26
|
|
/* 761C14 802A12F4 4406C000 */ mfc1 $a2, $f24
|
|
/* 761C18 802A12F8 4407A000 */ mfc1 $a3, $f20
|
|
/* 761C1C 802A12FC 2402001E */ addiu $v0, $zero, 0x1e
|
|
/* 761C20 802A1300 E7B60010 */ swc1 $f22, 0x10($sp)
|
|
/* 761C24 802A1304 0C01C2EC */ jal func_80070BB0
|
|
/* 761C28 802A1308 AFA20014 */ sw $v0, 0x14($sp)
|
|
/* 761C2C 802A130C 8FBF0028 */ lw $ra, 0x28($sp)
|
|
/* 761C30 802A1310 8FB30024 */ lw $s3, 0x24($sp)
|
|
/* 761C34 802A1314 8FB20020 */ lw $s2, 0x20($sp)
|
|
/* 761C38 802A1318 8FB1001C */ lw $s1, 0x1c($sp)
|
|
/* 761C3C 802A131C 8FB00018 */ lw $s0, 0x18($sp)
|
|
/* 761C40 802A1320 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
|
/* 761C44 802A1324 D7B80040 */ ldc1 $f24, 0x40($sp)
|
|
/* 761C48 802A1328 D7B60038 */ ldc1 $f22, 0x38($sp)
|
|
/* 761C4C 802A132C D7B40030 */ ldc1 $f20, 0x30($sp)
|
|
/* 761C50 802A1330 24020002 */ addiu $v0, $zero, 2
|
|
/* 761C54 802A1334 03E00008 */ jr $ra
|
|
/* 761C58 802A1338 27BD0050 */ addiu $sp, $sp, 0x50
|