//
// sub_1005F7200 from 0x1005f7200 to 0x1005f7344 (324 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:34:27 +0000
//
char __fastcall sub_1005F7200(__int64 *a1, __int64 *a2)
{
__int64 v2; // rcx
__int64 v3; // rax
__int64 v4; // rdx
int v5; // esi
__int64 v6; // rsi
char result; // al
__int64 v8; // rdi
int v9; // r9d
bool v10; // r8
char v11; // r9
__m128 v12; // xmm6
char v13; // r10
__int64 v14; // r9
int v15; // r8d
__int64 v16; // r9
v2 = *a1;
v3 = a1[1] - *a1;
v4 = *a2;
if ( v3 != a2[1] - *a2 )
return 0;
v5 = -1431655765 * (v3 >> 4);
if ( v5 <= 0 )
return 1;
v6 = 48LL * (v5 & 0x7FFFFFFF);
result = 1;
v8 = 0;
do
{
v14 = *(_QWORD *)(v2 + v8);
v15 = 0;
if ( v14 )
v15 = *(_DWORD *)(v14 + 916);
v16 = *(_QWORD *)(v4 + v8);
if ( v16 )
v9 = *(_DWORD *)(v16 + 916);
else
v9 = 0;
v10 = v15 == v9;
v11 = _mm_movemask_pd(
_mm_cmpnlt_pd(
(__m128d)xmmword_100A0D570,
_mm_and_pd(_mm_sub_pd(*(__m128d *)(v2 + v8 + 8), *(__m128d *)(v4 + v8 + 8)), (__m128d)xmmword_100A04950)));
v12 = _mm_cmpnlt_ps(
(__m128)xmmword_100A0D560,
_mm_and_ps(
_mm_sub_ps((__m128)*(unsigned __int64 *)(v2 + v8 + 24), (__m128)*(unsigned __int64 *)(v4 + v8 + 24)),
(__m128)xmmword_100A038A0));
v13 = _mm_movemask_pd((__m128d)_mm_unpacklo_ps(v12, v12));
result &= ((unsigned __int8)(v13 & v11) >> 1)
& v11
& v10
& v13
& (_mm_movemask_ps(
_mm_cmplt_ps(
(__m128)xmmword_100A0D580,
_mm_and_ps(
_mm_sub_ps(*(__m128 *)(v2 + v8 + 32), *(__m128 *)(v4 + v8 + 32)),
(__m128)xmmword_100A038A0))) == 0);
v8 += 48;
}
while ( v6 != v8 );
return result;
}