//
// sub_10020343C from 0x10020343c to 0x1002034e0 (164 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateCamera @ 0x100200158
// > GJBaseGameLayer::updateCamera @ 0x100200b6c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
float32x2_t __usercall sub_10020343C@(
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_1000229B0(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;
}