//
// sub_10000A144 from 0x10000a144 to 0x10000a1ac (104 bytes)
//
// 6 xrefs:
// > sub_100009FDC @ 0x10000a018
// > sub_100009FDC @ 0x10000a03c
// > sub_1000D9098 @ 0x1000d90c8
// > sub_1000D9098 @ 0x1000d90dc
// > sub_1000D9514 @ 0x1000d9550
// > sub_1000D9514 @ 0x1000d957c
//
// 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 10:57:13 +0000
//
bool __fastcall sub_10000A144(__int64 a1, const void **a2, const void **a3)
{
int v3; // w9
int v4; // w13
size_t v5; // x19
const void *v6; // x0
size_t v7; // x20
const void *v8; // x1
size_t v9; // x2
int v10; // w0
v3 = *((char *)a3 + 23);
v4 = *((char *)a2 + 23);
if ( v4 >= 0 )
v5 = *((unsigned __int8 *)a2 + 23);
else
v5 = (size_t)a2[1];
if ( v4 >= 0 )
v6 = a2;
else
v6 = *a2;
if ( v3 >= 0 )
v7 = *((unsigned __int8 *)a3 + 23);
else
v7 = (size_t)a3[1];
if ( v3 >= 0 )
v8 = a3;
else
v8 = *a3;
if ( v7 >= v5 )
v9 = v5;
else
v9 = v7;
v10 = memcmp(v6, v8, v9);
if ( v10 )
return v10 < 0;
else
return v5 < v7;
}