{"type": "func", "start": 4298654944, "end": 4298655014, "name": "GameManager::getOrderedCustomObjectKeys", "pseudocode": "// \n// GameManager::getOrderedCustomObjectKeys from 0x1003844e0 to 0x100384526 (70 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createCustomItems @ 0x1000316c0\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; // rbx\n\n  v1 = cocos2d::CCDictionary::allKeys(a1->m_customObjectDict);\n  if ( (unsigned int)sub_100720070(v1) )\n    qsort(v1->data->arr, v1->data->num, 8u, (int (__cdecl *)(const void *, const void *))sub_1003768B0);\n  return v1;\n}", "assembly": "; \n; GameManager::getOrderedCustomObjectKeys from 0x1003844e0 to 0x100384526 (70 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createCustomItems @ 0x1000316c0\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\npush    rbp                                                            ; +0x0, 0x1003844e0\nmov     rbp, rsp                                                       ; +0x1, 0x1003844e1\npush    rbx                                                            ; +0x4, 0x1003844e4\npush    rax                                                            ; +0x5, 0x1003844e5\nmov     rdi, [rdi+1A0h]                                                ; +0x6, 0x1003844e6\ncall    cocos2d__CCDictionary__allKeys                                 ; +0xd, 0x1003844ed\nmov     rbx, rax                                                       ; +0x12, 0x1003844f2\nmov     rdi, rax                                                       ; +0x15, 0x1003844f5\ncall    sub_100720070                                                  ; +0x18, 0x1003844f8\ntest    eax, eax                                                       ; +0x1d, 0x1003844fd\njz      short loc_10038451C                                            ; +0x1f, 0x1003844ff\nmov     rax, [rbx+38h]                                                 ; +0x21, 0x100384501\nmov     rdi, [rax+10h]; __base                                         ; +0x25, 0x100384505\nmov     esi, [rax]; __nel                                              ; +0x29, 0x100384509\nlea     rcx, sub_1003768B0; __compar                                   ; +0x2b, 0x10038450b\nmov     edx, 8; __width                                                ; +0x32, 0x100384512\ncall    _qsort                                                         ; +0x37, 0x100384517\nmov     rax, rbx                                                       ; +0x3c, 0x10038451c\nadd     rsp, 8                                                         ; +0x3f, 0x10038451f\npop     rbx                                                            ; +0x43, 0x100384523\npop     rbp                                                            ; +0x44, 0x100384524\nretn                                                                   ; +0x45, 0x100384525", "xrefs": ["EditorUI::createCustomItems @ 0x1000316c0"], "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"}