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