//
// GameManager::getOrderedCustomObjectKeys from 0x7172a8 to 0x7172f4 (76 bytes)
//
// 4 xrefs:
// > GameManager::getNextUniqueObjectKey @ 0x717304
// > GameManager::getNextUsedKey @ 0x717500
// > EditorUI::createCustomItems @ 0xbdfafc
// > ??> @ 0xb6548
//
// 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 12:52:16 +0000
//
cocos2d::CCArray *__fastcall GameManager::getOrderedCustomObjectKeys(cocos2d::CCDictionary **this)
{
cocos2d::CCArray *v1; // x19
v1 = (cocos2d::CCArray *)cocos2d::CCDictionary::allKeys(*(this + 57));
if ( (unsigned int)cocos2d::CCArray::count(v1) )
qsort(
*(void **)(*((_QWORD *)v1 + 7) + 16LL),
**((unsigned int **)v1 + 7),
8u,
(int (*)(const void *, const void *))customObjectCompare);
return v1;
}