//
// sub_100799F40 from 0x100799f40 to 0x100799f77 (55 bytes)
//
// 0 xrefs:
//
// 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
//
__int64 __fastcall sub_100799F40(__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;
}