//
// kmVec3Cross from 0x1003c30ac to 0x1003c30ec (64 bytes)
//
// 2 xrefs:
// > kmMat4LookAt @ 0x10045a014
// > kmMat4LookAt @ 0x10045a030
//
// 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:04:03 +0000
//
float32_t __fastcall kmVec3Cross(float32x2_t *a1, __int64 a2, __int64 a3)
{
float32x2_t v3; // d2
float32x2_t v4; // d3
float32x2_t v5; // d4
float32x2_t v6; // d5
float32_t result; // s0
v3 = *(float32x2_t *)(a2 + 4);
v4 = *(float32x2_t *)(a3 + 4);
v5.i32[0] = vdup_lane_s32((int32x2_t)v3, 1).u32[0];
v5.i32[1] = *(_DWORD *)a2;
v6.i32[0] = vdup_lane_s32((int32x2_t)v4, 1).u32[0];
v6.i32[1] = *(_DWORD *)a3;
result = (float)(*(float *)a2 * v4.f32[0]) - (float)(v3.f32[0] * *(float *)a3);
*a1 = vmla_f32(vmul_f32(v4, vneg_f32(v5)), v6, v3);
a1[1].f32[0] = result;
return result;
}