//
// kmVec3LengthSq from 0x5c9f38 to 0x5c9f70 (56 bytes)
//
// 2 xrefs:
// > kmQuaternionRotationBetweenVec3 @ 0x5c96e2
// > kmQuaternionRotationBetweenVec3 @ 0x5c9716
//
// 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; // s16
float v3; // s15
v2 = kmSQR(*a1);
v3 = kmSQR(a1[1]);
return (float)(v2 + v3) + kmSQR(a1[2]);
}