{"type": "func", "start": 4298562352, "end": 4298562422, "name": "GameManager::getOrderedCustomObjectKeys", "pseudocode": "// \n// GameManager::getOrderedCustomObjectKeys from 0x10036db30 to 0x10036db76 (70 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createCustomItems @ 0x100638530\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:29:01 +0000\n// \n\n__int64 __fastcall GameManager::getOrderedCustomObjectKeys(__int64 a1)\n{\n  __int64 v1; // rbx\n\n  v1 = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 456));\n  if ( (unsigned int)sub_1007FEF90(v1) )\n    qsort(\n      *(void **)(*(_QWORD *)(v1 + 56) + 16LL),\n      **(unsigned int **)(v1 + 56),\n      8u,\n      (int (__cdecl *)(const void *, const void *))sub_10035FC40);\n  return v1;\n}", "assembly": "; \n; GameManager::getOrderedCustomObjectKeys from 0x10036db30 to 0x10036db76 (70 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createCustomItems @ 0x100638530\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:29:01 +0000\n; \npush    rbp                                                            ; +0x0, 0x10036db30\nmov     rbp, rsp                                                       ; +0x1, 0x10036db31\npush    rbx                                                            ; +0x4, 0x10036db34\npush    rax                                                            ; +0x5, 0x10036db35\nmov     rdi, [rdi+1C8h]                                                ; +0x6, 0x10036db36\ncall    cocos2d__CCDictionary__allKeys                                 ; +0xd, 0x10036db3d\nmov     rbx, rax                                                       ; +0x12, 0x10036db42\nmov     rdi, rax                                                       ; +0x15, 0x10036db45\ncall    sub_1007FEF90                                                  ; +0x18, 0x10036db48\ntest    eax, eax                                                       ; +0x1d, 0x10036db4d\njz      short loc_10036DB6C                                            ; +0x1f, 0x10036db4f\nmov     rax, [rbx+38h]                                                 ; +0x21, 0x10036db51\nmov     rdi, [rax+10h]; __base                                         ; +0x25, 0x10036db55\nmov     esi, [rax]; __nel                                              ; +0x29, 0x10036db59\nlea     rcx, sub_10035FC40; __compar                                   ; +0x2b, 0x10036db5b\nmov     edx, 8; __width                                                ; +0x32, 0x10036db62\ncall    _qsort                                                         ; +0x37, 0x10036db67\nmov     rax, rbx                                                       ; +0x3c, 0x10036db6c\nadd     rsp, 8                                                         ; +0x3f, 0x10036db6f\npop     rbx                                                            ; +0x43, 0x10036db73\npop     rbp                                                            ; +0x44, 0x10036db74\nretn                                                                   ; +0x45, 0x10036db75", "xrefs": ["EditorUI::createCustomItems @ 0x100638530"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}