mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
32 lines
1.5 KiB
ArmAsm
32 lines
1.5 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_800E5938
|
|
/* 7EDE8 800E5938 3C088011 */ lui $t0, 0x8011
|
|
/* 7EDEC 800E593C 8D08C944 */ lw $t0, -0x36bc($t0)
|
|
/* 7EDF0 800E5940 01044023 */ subu $t0, $t0, $a0
|
|
/* 7EDF4 800E5944 05020001 */ bltzl $t0, .L800E594C
|
|
/* 7EDF8 800E5948 25080005 */ addiu $t0, $t0, 5
|
|
.L800E594C:
|
|
/* 7EDFC 800E594C 00081880 */ sll $v1, $t0, 2
|
|
/* 7EE00 800E5950 3C028011 */ lui $v0, 0x8011
|
|
/* 7EE04 800E5954 00431021 */ addu $v0, $v0, $v1
|
|
/* 7EE08 800E5958 8C42EF28 */ lw $v0, -0x10d8($v0)
|
|
/* 7EE0C 800E595C ACA20000 */ sw $v0, ($a1)
|
|
/* 7EE10 800E5960 3C028011 */ lui $v0, 0x8011
|
|
/* 7EE14 800E5964 00431021 */ addu $v0, $v0, $v1
|
|
/* 7EE18 800E5968 8C42EF10 */ lw $v0, -0x10f0($v0)
|
|
/* 7EE1C 800E596C ACC20000 */ sw $v0, ($a2)
|
|
/* 7EE20 800E5970 3C028011 */ lui $v0, 0x8011
|
|
/* 7EE24 800E5974 00431021 */ addu $v0, $v0, $v1
|
|
/* 7EE28 800E5978 8C42EF40 */ lw $v0, -0x10c0($v0)
|
|
/* 7EE2C 800E597C ACE20000 */ sw $v0, ($a3)
|
|
/* 7EE30 800E5980 00081040 */ sll $v0, $t0, 1
|
|
/* 7EE34 800E5984 3C018011 */ lui $at, 0x8011
|
|
/* 7EE38 800E5988 00220821 */ addu $at, $at, $v0
|
|
/* 7EE3C 800E598C 8422F6B8 */ lh $v0, -0x948($at)
|
|
/* 7EE40 800E5990 44820000 */ mtc1 $v0, $f0
|
|
/* 7EE44 800E5994 00000000 */ nop
|
|
/* 7EE48 800E5998 03E00008 */ jr $ra
|
|
/* 7EE4C 800E599C 46800020 */ cvt.s.w $f0, $f0
|