//
// sub_100529A10 from 0x100529a10 to 0x100529a80 (112 bytes)
//
// 1 xrefs:
// > sub_100528E64 @ 0x100528f5c
//
// 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:07:16 +0000
//
bool __fastcall sub_100529A10(__int64 a1, __int64 a2)
{
__int64 v2; // x1
__int64 v3; // x8
__int64 v4; // t1
int v5; // w10
__int64 v6; // x0
__int64 v7; // x11
__int64 v8; // t1
int v9; // w14
size_t v10; // x19
size_t v11; // x20
size_t v12; // x2
int v13; // w0
v4 = *(_QWORD *)(a2 + 104);
v2 = a2 + 104;
v3 = v4;
v5 = *(char *)(v2 + 23);
v8 = *(_QWORD *)(a1 + 104);
v6 = a1 + 104;
v7 = v8;
v9 = *(char *)(v6 + 23);
if ( v9 >= 0 )
v10 = *(unsigned __int8 *)(v6 + 23);
else
v10 = *(_QWORD *)(v6 + 8);
if ( v9 < 0 )
v6 = v7;
if ( v5 >= 0 )
v11 = *(unsigned __int8 *)(v2 + 23);
else
v11 = *(_QWORD *)(v2 + 8);
if ( v5 < 0 )
v2 = v3;
if ( v11 >= v10 )
v12 = v10;
else
v12 = v11;
v13 = memcmp((const void *)v6, (const void *)v2, v12);
if ( v13 )
return v13 < 0;
else
return v10 < v11;
}