//
// sub_1005F6DD4 from 0x1005f6dd4 to 0x1005f6e14 (64 bytes)
//
// 1 xrefs:
// > sub_1005F660C @ 0x1005f6998
//
// 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_1005F6DD4(__int64 a1, __int64 a2)
{
int v2; // w8
int v3; // w9
unsigned int v4; // w19
__int64 result; // x0
v2 = *(_DWORD *)(a1 + 8);
v3 = *(_DWORD *)(a2 + 8);
v4 = v2 - v3;
if ( v2 >= v3 )
v2 = *(_DWORD *)(a2 + 8);
LODWORD(result) = memcmp(*(const void **)a1, *(const void **)a2, v2);
if ( (_DWORD)result )
return (unsigned int)result;
else
return v4;
}