{"type": "func", "start": 4298216056, "end": 4298216132, "name": "GameManager::getOrderedCustomObjectKeys", "pseudocode": "// \n// GameManager::getOrderedCustomObjectKeys from 0x100319278 to 0x1003192c4 (76 bytes)\n// \n// 3 xrefs:\n// > GameManager::getNextUniqueObjectKey @ 0x100319218\n// > GameManager::getNextUsedKey @ 0x1003192e4\n// > EditorUI::createCustomItems @ 0x1003e8c54\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCArray *__fastcall GameManager::getOrderedCustomObjectKeys(GameManager *a1)\n{\n  cocos2d::CCArray *v1; // x19\n\n  v1 = cocos2d::CCDictionary::allKeys(a1->m_customObjectDict);\n  if ( (unsigned int)sub_10024A36C((__int64)v1) )\n    qsort(v1->data->arr, v1->data->num, 8u, (int (__cdecl *)(const void *, const void *))sub_100311B68);\n  return v1;\n}", "assembly": "; \n; GameManager::getOrderedCustomObjectKeys from 0x100319278 to 0x1003192c4 (76 bytes)\n; \n; 3 xrefs:\n; > GameManager::getNextUniqueObjectKey @ 0x100319218\n; > GameManager::getNextUsedKey @ 0x1003192e4\n; > EditorUI::createCustomItems @ 0x1003e8c54\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100319278\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10031927c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100319280\nLDR             X0, [X0,#0x1A0]                                        ; +0xc, 0x100319284\nBL              cocos2d__CCDictionary__allKeys                         ; +0x10, 0x100319288\nMOV             X19, X0                                                ; +0x14, 0x10031928c\nBL              sub_10024A36C                                          ; +0x18, 0x100319290\nCBZ             W0, loc_1003192B4                                      ; +0x1c, 0x100319294\nLDR             X8, [X19,#0x38]                                        ; +0x20, 0x100319298\nLDR             X0, [X8,#0x10]; __base                                 ; +0x24, 0x10031929c\nLDR             W1, [X8]; __nel                                        ; +0x28, 0x1003192a0\nADRL            X3, sub_100311B68; __compar                            ; +0x2c, 0x1003192a4\nMOV             W2, #8; __width                                        ; +0x34, 0x1003192ac\nBL              _qsort                                                 ; +0x38, 0x1003192b0\nMOV             X0, X19                                                ; +0x3c, 0x1003192b4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1003192b8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x1003192bc\nRET                                                                    ; +0x48, 0x1003192c0", "xrefs": ["GameManager::getNextUniqueObjectKey @ 0x100319218", "GameManager::getNextUsedKey @ 0x1003192e4", "EditorUI::createCustomItems @ 0x1003e8c54"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}