//
// kmVec3LengthSq from 0xae0138 to 0xae0180 (72 bytes)
//
// 3 xrefs:
// > kmQuaternionRotationBetweenVec3 @ 0xadf7c4
// > kmQuaternionRotationBetweenVec3 @ 0xadf800
// > ??> @ 0xadc58
//
// 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
//
float __fastcall kmVec3LengthSq(float *a1)
{
float v2; // s8
float v3; // s8
v2 = kmSQR(*a1);
v3 = v2 + kmSQR(a1[1]);
return v3 + kmSQR(a1[2]);
}