2021-01-10 14:41:06 +01:00
|
|
|
.set noat # allow manual use of $at
|
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel func_802A123C_72E76C
|
|
|
|
/* 72E76C 802A123C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
|
|
/* 72E770 802A1240 AFB10014 */ sw $s1, 0x14($sp)
|
|
|
|
/* 72E774 802A1244 0080882D */ daddu $s1, $a0, $zero
|
|
|
|
/* 72E778 802A1248 AFBF0020 */ sw $ra, 0x20($sp)
|
|
|
|
/* 72E77C 802A124C AFB3001C */ sw $s3, 0x1c($sp)
|
|
|
|
/* 72E780 802A1250 AFB20018 */ sw $s2, 0x18($sp)
|
|
|
|
/* 72E784 802A1254 AFB00010 */ sw $s0, 0x10($sp)
|
|
|
|
/* 72E788 802A1258 8E30000C */ lw $s0, 0xc($s1)
|
|
|
|
/* 72E78C 802A125C 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* 72E790 802A1260 0C0B1EAF */ jal get_variable
|
|
|
|
/* 72E794 802A1264 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* 72E798 802A1268 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* 72E79C 802A126C 26100004 */ addiu $s0, $s0, 4
|
|
|
|
/* 72E7A0 802A1270 0220202D */ daddu $a0, $s1, $zero
|
|
|
|
/* 72E7A4 802A1274 0C0B1EAF */ jal get_variable
|
|
|
|
/* 72E7A8 802A1278 0040982D */ daddu $s3, $v0, $zero
|
|
|
|
/* 72E7AC 802A127C 0220202D */ daddu $a0, $s1, $zero
|
|
|
|
/* 72E7B0 802A1280 8E050000 */ lw $a1, ($s0)
|
|
|
|
/* 72E7B4 802A1284 0C0B1EAF */ jal get_variable
|
|
|
|
/* 72E7B8 802A1288 0040902D */ daddu $s2, $v0, $zero
|
|
|
|
/* 72E7BC 802A128C 8E2400BC */ lw $a0, 0xbc($s1)
|
|
|
|
/* 72E7C0 802A1290 0C04C3D6 */ jal get_item_entity
|
|
|
|
/* 72E7C4 802A1294 0040802D */ daddu $s0, $v0, $zero
|
|
|
|
/* 72E7C8 802A1298 0040182D */ daddu $v1, $v0, $zero
|
|
|
|
/* 72E7CC 802A129C 44930000 */ mtc1 $s3, $f0
|
2021-01-12 16:42:27 +01:00
|
|
|
/* 72E7D0 802A12A0 00000000 */ nop
|
2021-01-10 14:41:06 +01:00
|
|
|
/* 72E7D4 802A12A4 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* 72E7D8 802A12A8 E4600008 */ swc1 $f0, 8($v1)
|
|
|
|
/* 72E7DC 802A12AC 44920000 */ mtc1 $s2, $f0
|
2021-01-12 16:42:27 +01:00
|
|
|
/* 72E7E0 802A12B0 00000000 */ nop
|
2021-01-10 14:41:06 +01:00
|
|
|
/* 72E7E4 802A12B4 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* 72E7E8 802A12B8 E460000C */ swc1 $f0, 0xc($v1)
|
|
|
|
/* 72E7EC 802A12BC 44900000 */ mtc1 $s0, $f0
|
2021-01-12 16:42:27 +01:00
|
|
|
/* 72E7F0 802A12C0 00000000 */ nop
|
2021-01-10 14:41:06 +01:00
|
|
|
/* 72E7F4 802A12C4 46800020 */ cvt.s.w $f0, $f0
|
|
|
|
/* 72E7F8 802A12C8 E4600010 */ swc1 $f0, 0x10($v1)
|
|
|
|
/* 72E7FC 802A12CC 8FBF0020 */ lw $ra, 0x20($sp)
|
|
|
|
/* 72E800 802A12D0 8FB3001C */ lw $s3, 0x1c($sp)
|
|
|
|
/* 72E804 802A12D4 8FB20018 */ lw $s2, 0x18($sp)
|
|
|
|
/* 72E808 802A12D8 8FB10014 */ lw $s1, 0x14($sp)
|
|
|
|
/* 72E80C 802A12DC 8FB00010 */ lw $s0, 0x10($sp)
|
|
|
|
/* 72E810 802A12E0 24020002 */ addiu $v0, $zero, 2
|
|
|
|
/* 72E814 802A12E4 03E00008 */ jr $ra
|
|
|
|
/* 72E818 802A12E8 27BD0028 */ addiu $sp, $sp, 0x28
|