//
// sub_1002A01EC from 0x1002a01ec to 0x1002a0290 (164 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateCamera @ 0x10029c2bc
// > GJBaseGameLayer::updateCamera @ 0x10029ccd0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:02:12 +0000
//
float32x2_t __usercall sub_1002A01EC@(
float32x2_t *a1@,
float32x2_t *a2@,
float32x2_t *a3@,
float32x2_t *a4@,
_QWORD *a5@,
float a6@)
{
float32x2_t *v10; // x0
float32x2_t result; // d0
float v17; // [xsp+0h] [xbp-40h]
v17 = 1.0 - a6;
v10 = (float32x2_t *)sub_1000262EC(a5);
__asm { FMOV V2.2S, #3.0 }
result = vmul_n_f32(vmul_n_f32(*a4, a6), a6);
*v10 = vmla_n_f32(
vmla_n_f32(
vmla_n_f32(
vmul_n_f32(vmul_n_f32(vmul_n_f32(vmul_f32(*a2, _D2), a6), v17), v17),
vmul_n_f32(vmul_n_f32(*a1, v17), v17),
v17),
vmul_n_f32(vmul_n_f32(vmul_f32(*a3, _D2), a6), a6),
v17),
result,
a6);
return result;
}