//
// sub_100704C2C from 0x100704c2c to 0x100704c74 (72 bytes)
//
// 3 xrefs:
// > sub_100669AA8 @ 0x100669ba0
// > sub_100669C1C @ 0x10066a4c8
// > sub_10071A6D0 @ 0x10071a734
//
// 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:12:50 +0000
//
void __fastcall sub_100704C2C(int *a1)
{
int (__cdecl *v2)(const void *, const void *); // x3
if ( a1 && !a1[4] )
{
v2 = *((int (__cdecl **)(const void *, const void *))a1 + 3);
if ( v2 )
{
qsort(*((void **)a1 + 1), *a1, 8u, v2);
a1[4] = 1;
}
}
}