mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
69 lines
3.3 KiB
ArmAsm
69 lines
3.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel transform_point
|
|
/* 4A20 80029620 44853000 */ mtc1 $a1, $f6
|
|
/* 4A24 80029624 C4800000 */ lwc1 $f0, ($a0)
|
|
/* 4A28 80029628 46060002 */ mul.s $f0, $f0, $f6
|
|
/* 4A2C 8002962C 00000000 */ nop
|
|
/* 4A30 80029630 44864000 */ mtc1 $a2, $f8
|
|
/* 4A34 80029634 C4820010 */ lwc1 $f2, 0x10($a0)
|
|
/* 4A38 80029638 46081082 */ mul.s $f2, $f2, $f8
|
|
/* 4A3C 8002963C 00000000 */ nop
|
|
/* 4A40 80029640 44875000 */ mtc1 $a3, $f10
|
|
/* 4A44 80029644 C4840020 */ lwc1 $f4, 0x20($a0)
|
|
/* 4A48 80029648 460A2102 */ mul.s $f4, $f4, $f10
|
|
/* 4A4C 8002964C 00000000 */ nop
|
|
/* 4A50 80029650 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4A54 80029654 8FA20014 */ lw $v0, 0x14($sp)
|
|
/* 4A58 80029658 8FA30018 */ lw $v1, 0x18($sp)
|
|
/* 4A5C 8002965C 46040000 */ add.s $f0, $f0, $f4
|
|
/* 4A60 80029660 C4820030 */ lwc1 $f2, 0x30($a0)
|
|
/* 4A64 80029664 8FA5001C */ lw $a1, 0x1c($sp)
|
|
/* 4A68 80029668 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4A6C 8002966C 8FA60020 */ lw $a2, 0x20($sp)
|
|
/* 4A70 80029670 E4400000 */ swc1 $f0, ($v0)
|
|
/* 4A74 80029674 C4800004 */ lwc1 $f0, 4($a0)
|
|
/* 4A78 80029678 46060002 */ mul.s $f0, $f0, $f6
|
|
/* 4A7C 8002967C 00000000 */ nop
|
|
/* 4A80 80029680 C4840014 */ lwc1 $f4, 0x14($a0)
|
|
/* 4A84 80029684 46082102 */ mul.s $f4, $f4, $f8
|
|
/* 4A88 80029688 00000000 */ nop
|
|
/* 4A8C 8002968C C4820024 */ lwc1 $f2, 0x24($a0)
|
|
/* 4A90 80029690 460A1082 */ mul.s $f2, $f2, $f10
|
|
/* 4A94 80029694 00000000 */ nop
|
|
/* 4A98 80029698 46040000 */ add.s $f0, $f0, $f4
|
|
/* 4A9C 8002969C 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4AA0 800296A0 C4820034 */ lwc1 $f2, 0x34($a0)
|
|
/* 4AA4 800296A4 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4AA8 800296A8 E4600000 */ swc1 $f0, ($v1)
|
|
/* 4AAC 800296AC C4800008 */ lwc1 $f0, 8($a0)
|
|
/* 4AB0 800296B0 46060002 */ mul.s $f0, $f0, $f6
|
|
/* 4AB4 800296B4 00000000 */ nop
|
|
/* 4AB8 800296B8 C4840018 */ lwc1 $f4, 0x18($a0)
|
|
/* 4ABC 800296BC 46082102 */ mul.s $f4, $f4, $f8
|
|
/* 4AC0 800296C0 00000000 */ nop
|
|
/* 4AC4 800296C4 C4820028 */ lwc1 $f2, 0x28($a0)
|
|
/* 4AC8 800296C8 460A1082 */ mul.s $f2, $f2, $f10
|
|
/* 4ACC 800296CC 00000000 */ nop
|
|
/* 4AD0 800296D0 46040000 */ add.s $f0, $f0, $f4
|
|
/* 4AD4 800296D4 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4AD8 800296D8 C4820038 */ lwc1 $f2, 0x38($a0)
|
|
/* 4ADC 800296DC 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4AE0 800296E0 E4A00000 */ swc1 $f0, ($a1)
|
|
/* 4AE4 800296E4 C480000C */ lwc1 $f0, 0xc($a0)
|
|
/* 4AE8 800296E8 46060002 */ mul.s $f0, $f0, $f6
|
|
/* 4AEC 800296EC 00000000 */ nop
|
|
/* 4AF0 800296F0 C484001C */ lwc1 $f4, 0x1c($a0)
|
|
/* 4AF4 800296F4 46082102 */ mul.s $f4, $f4, $f8
|
|
/* 4AF8 800296F8 00000000 */ nop
|
|
/* 4AFC 800296FC C482002C */ lwc1 $f2, 0x2c($a0)
|
|
/* 4B00 80029700 460A1082 */ mul.s $f2, $f2, $f10
|
|
/* 4B04 80029704 00000000 */ nop
|
|
/* 4B08 80029708 46040000 */ add.s $f0, $f0, $f4
|
|
/* 4B0C 8002970C 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4B10 80029710 C482003C */ lwc1 $f2, 0x3c($a0)
|
|
/* 4B14 80029714 46020000 */ add.s $f0, $f0, $f2
|
|
/* 4B18 80029718 03E00008 */ jr $ra
|
|
/* 4B1C 8002971C E4C00000 */ swc1 $f0, ($a2)
|