//
// sub_100724EC8 from 0x100724ec8 to 0x100724f68 (160 bytes)
//
// 2 xrefs:
// > sub_1007291FC @ 0x100729238
// > sub_100729828 @ 0x1007298d0
//
// This function is hookable on this platform (idp: arm, 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 11:13:07 +0000
//
__int64 __fastcall sub_100724EC8(__int64 a1, __int64 a2)
{
__int64 v2; // x19
__int64 v3; // x20
size_t v4; // x2
int v5; // w8
v2 = *(_QWORD *)(*(_QWORD *)a1 + 40LL);
v3 = *(_QWORD *)(*(_QWORD *)a2 + 40LL);
if ( (!*(_QWORD *)(v2 + 24) || *(_DWORD *)(v2 + 8))
&& (sub_10071998C(*(_QWORD *)(*(_QWORD *)a1 + 40LL), 0) & 0x80000000) != 0 )
{
return 4294967294LL;
}
if ( (!*(_QWORD *)(v3 + 24) || *(_DWORD *)(v3 + 8)) && (sub_10071998C(v3, 0) & 0x80000000) != 0 )
return 4294967294LL;
v4 = *(int *)(v2 + 32);
v5 = *(_DWORD *)(v3 + 32);
if ( (_DWORD)v4 == v5 )
return memcmp(*(const void **)(v2 + 24), *(const void **)(v3 + 24), v4);
else
return (unsigned int)(v4 - v5);
}