//
// kmQuaternionNormalize from 0xd51ff4 to 0xd52034 (64 bytes)
//
// 3 xrefs:
// > kmQuaternionRotationYawPitchRoll @ 0xd52118
// > kmQuaternionRotationBetweenVec3 @ 0xd523f0
// > ??> @ 0xf4df8
//
// 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 13:07:41 +0000
//
float *__fastcall kmQuaternionNormalize(float *a1, float *a2)
{
float v3; // s0
v3 = kmQuaternionLength(a2);
kmQuaternionScale(a1, a2, 1.0 / v3);
return a1;
}