//
// GJBaseGameLayer::sortAllGroupsX from 0x10011a940 to 0x10011a9a0 (96 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::recreateGroups @ 0x1000c47d4
//
// This function is hookable on this platform (idp: pc, 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 12:24:35 +0000
//
void __fastcall GJBaseGameLayer::sortAllGroupsX(__int64 a1)
{
__int64 i; // r15
__int64 v2; // rax
for ( i = 1; i != 10000; ++i )
{
v2 = *(_QWORD *)(*(_QWORD *)(a1 + 3616) + 8 * i);
if ( v2 )
qsort(
*(void **)(*(_QWORD *)(v2 + 56) + 16LL),
**(unsigned int **)(v2 + 56),
8u,
(int (__cdecl *)(const void *, const void *))sub_1000E9F50);
}
}