//
// kmQuaternionNormalize from 0x5c93e8 to 0x5c9410 (40 bytes)
//
// 2 xrefs:
// > kmQuaternionRotationYawPitchRoll @ 0x5c94de
// > kmQuaternionRotationBetweenVec3 @ 0x5c97a8
//
// 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 kmQuaternionNormalize(float *a1, float *a2)
{
float v4; // r0
v4 = kmQuaternionLength(a2);
kmQuaternionScale(a1, a2, 1.0 / v4);
return a1;
}