// // kmQuaternionLength from 0x1800b96f0 to 0x1800b9737 (71 bytes) // // 1 xrefs: // > @ 0x1801438a8 // // 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 kmQuaternionLength(float *a1) { float v1; // xmm3_4 v1 = (float)((float)((float)(*a1 * *a1) + (float)(a1[1] * a1[1])) + (float)(a1[2] * a1[2])) + (float)(a1[3] * a1[3]); if ( v1 < 0.0 ) return sqrtf(v1); else return fsqrt(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source