//
// kmQuaternionConjugate from 0x5c8f20 to 0x5c8f4a (42 bytes)
//
// 1 xrefs:
// > kmQuaternionInverse @ 0x5c93b2
//
// 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
//
int __fastcall kmQuaternionConjugate(int result, int a2)
{
int v2; // r2
float v3; // s15
v2 = *(_DWORD *)(a2 + 12);
*(float *)result = -*(float *)a2;
*(float *)(result + 4) = -*(float *)(a2 + 4);
v3 = *(float *)(a2 + 8);
*(_DWORD *)(result + 12) = v2;
*(float *)(result + 8) = -v3;
return result;
}