//
// GJBaseGameLayer::sortAllGroupsX from 0x10013d4c0 to 0x10013d520 (96 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::recreateGroups @ 0x1000f1084
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::sortAllGroupsX(GJBaseGameLayer *a1)
{
__int64 i; // r15
cocos2d::CCArray *v2; // rax
for ( i = 1; i != 10000; ++i )
{
v2 = a1->m_groups.__begin_[i];
if ( v2 )
qsort(v2->data->arr, v2->data->num, 8u, (int (__cdecl *)(const void *, const void *))sub_10010DED0);
}
}