//
// kmQuaternionIsIdentity from 0x100510000 to 0x100510046 (70 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:31:36 +0000
//
__int64 __fastcall kmQuaternionIsIdentity(__int64 a1)
{
__int64 result; // rax
__m128 v2; // rt1
result = 0;
if ( *(float *)a1 == 0.0 && *(float *)(a1 + 4) == 0.0 && *(float *)(a1 + 8) == 0.0 )
{
v2.i32[0] = *(_DWORD *)(a1 + 12);
return _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss((__m128)0x3F800000u, v2)) & 1;
}
return result;
}