//
// kmAlmostEqual from 0x10087a700 to 0x10087a737 (55 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:36:54 +0000
//
__int64 __fastcall kmAlmostEqual(__m128d a1, __m128d a2)
{
__m128d v2; // xmm2
a1.f64[0] = *(float *)a1.f64;
v2 = (__m128d)0x3F90000000000000uLL;
v2.f64[0] = a1.f64[0] + 0.015625;
a2.f64[0] = *(float *)a2.f64;
a1.f64[0] = a1.f64[0] + -0.015625;
return _mm_cvtsi128_si32((__m128i)_mm_and_pd(_mm_cmplt_pd(a2, v2), _mm_cmplt_pd(a1, a2))) & 1;
}