//
// kmQuaternionConjugate from 0xd51a10 to 0xd51a40 (48 bytes)
//
// 2 xrefs:
// > kmQuaternionInverse @ 0xd51fcc
// > ??> @ 0xf09b8
//
// 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 kmQuaternionConjugate(__int64 a1, __int64 a2)
{
float v2; // s1
float v3; // s0
float v4; // s2
int v5; // w1
float result; // s0
v2 = *(float *)(a2 + 4);
v3 = *(float *)(a2 + 8);
v4 = -*(float *)a2;
v5 = *(_DWORD *)(a2 + 12);
result = -v3;
*(float *)a1 = v4;
*(_DWORD *)(a1 + 12) = v5;
*(float *)(a1 + 4) = -v2;
*(float *)(a1 + 8) = result;
return result;
}