{"type": "func", "start": 4298859256, "end": 4298859332, "name": "GameManager::getOrderedCustomObjectKeys", "pseudocode": "// \n// GameManager::getOrderedCustomObjectKeys from 0x1003b62f8 to 0x1003b6344 (76 bytes)\n// \n// 3 xrefs:\n// > EditorUI::createCustomItems @ 0x1001848ec\n// > sub_1003B6288 @ 0x1003b6298\n// > sub_1003B6344 @ 0x1003b6364\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:56 +0000\n// \n\n__int64 __fastcall GameManager::getOrderedCustomObjectKeys(__int64 a1)\n{\n  __int64 v1; // x19\n\n  v1 = cocos2d::CCDictionary::allKeys(*(_QWORD *)(a1 + 456));\n  if ( (unsigned int)sub_1002E757C(v1) )\n    qsort(\n      *(void **)(*(_QWORD *)(v1 + 56) + 16LL),\n      **(unsigned int **)(v1 + 56),\n      8u,\n      (int (__cdecl *)(const void *, const void *))sub_1003AE880);\n  return v1;\n}", "assembly": "; \n; GameManager::getOrderedCustomObjectKeys from 0x1003b62f8 to 0x1003b6344 (76 bytes)\n; \n; 3 xrefs:\n; > EditorUI::createCustomItems @ 0x1001848ec\n; > sub_1003B6288 @ 0x1003b6298\n; > sub_1003B6344 @ 0x1003b6364\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:56 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003b62f8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003b62fc\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003b6300\nLDR             X0, [X0,#0x1C8]                                        ; +0xc, 0x1003b6304\nBL              cocos2d__CCDictionary__allKeys                         ; +0x10, 0x1003b6308\nMOV             X19, X0                                                ; +0x14, 0x1003b630c\nBL              sub_1002E757C                                          ; +0x18, 0x1003b6310\nCBZ             W0, loc_1003B6334                                      ; +0x1c, 0x1003b6314\nLDR             X8, [X19,#0x38]                                        ; +0x20, 0x1003b6318\nLDR             X0, [X8,#0x10]; __base                                 ; +0x24, 0x1003b631c\nLDR             W1, [X8]; __nel                                        ; +0x28, 0x1003b6320\nADRL            X3, sub_1003AE880; __compar                            ; +0x2c, 0x1003b6324\nMOV             W2, #8; __width                                        ; +0x34, 0x1003b632c\nBL              _qsort                                                 ; +0x38, 0x1003b6330\nMOV             X0, X19                                                ; +0x3c, 0x1003b6334\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1003b6338\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x1003b633c\nRET                                                                    ; +0x48, 0x1003b6340", "xrefs": ["EditorUI::createCustomItems @ 0x1001848ec", "sub_1003B6288 @ 0x1003b6298", "sub_1003B6344 @ 0x1003b6364"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}