//
// kmQuaternionNormalize from 0xadf38c to 0xadf3cc (64 bytes)
//
// 3 xrefs:
// > kmQuaternionRotationYawPitchRoll @ 0xadf4b0
// > kmQuaternionRotationBetweenVec3 @ 0xadf788
// > ??> @ 0xbbc98
//
// 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 v3; // s0
v3 = kmQuaternionLength(a2);
kmQuaternionScale(a1, a2, 1.0 / v3);
return a1;
}