// // kmQuaternionInverse from 0x7d0680 to 0x7d06f0 (112 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:34 +0000 // int __fastcall kmQuaternionInverse(int a1, float *a2) { float v4; // s16 float *v5; // r0 _BYTE v7[16]; // [sp+4h] [bp-14h] BYREF v4 = kmQuaternionLength(a2); if ( fabsf(v4) <= 0.015625 ) { v5 = (float *)kmQuaternionConjugate((int)v7, (int)a2); kmQuaternionScale((float *)a1, v5, 1.0 / v4); } else { *(_DWORD *)a1 = 0; *(_DWORD *)(a1 + 4) = 0; *(_DWORD *)(a1 + 8) = 0; *(_DWORD *)(a1 + 12) = 0; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source