//
// GJBaseGameLayer::sortAllGroupsX from 0x10028e2b8 to 0x10028e320 (104 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::sortGroups @ 0x10027a4ac
// > sub_100403764 @ 0x1004038f8
//
// 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:02:02 +0000
//
void __fastcall GJBaseGameLayer::sortAllGroupsX(__int64 a1)
{
__int64 i; // x21
__int64 v3; // x8
for ( i = 8; i != 80000; i += 8 )
{
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 3616) + i);
if ( v3 )
qsort(
*(void **)(*(_QWORD *)(v3 + 56) + 16LL),
**(unsigned int **)(v3 + 56),
8u,
(int (__cdecl *)(const void *, const void *))sub_100273FD0);
}
}