{"type": "func", "start": 5370582384, "end": 5370582567, "name": "EditorUI::processSelectObjects", "pseudocode": "// \n// EditorUI::processSelectObjects from 0x1401c9570 to 0x1401c9627 (183 bytes)\n// \n// 7 xrefs:\n// > EditorUI::ccTouchEnded @ 0x1401c161f\n// > EditorUI::selectAll @ 0x1401c7f7d\n// > EditorUI::selectAllWithDirection @ 0x1401c814d\n// > EditorUI::findObject @ 0x1401c93ff\n// > <???> @ 0x1408a2e58\n// > <???> @ 0x1408a2e68\n// > <???> @ 0x14091a87c\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 11:28:06 +0000\n// \n\nunsigned int __fastcall EditorUI::processSelectObjects(__int64 a1, cocos2d::CCArray *a2)\n{\n  unsigned int result; // eax\n  unsigned int v5; // ebx\n  struct cocos2d::CCObject *v6; // rax\n  __int64 v7; // rdx\n\n  result = cocos2d::CCArray::count(a2);\n  if ( result )\n  {\n    v5 = 0;\n    if ( cocos2d::CCArray::count(a2) )\n    {\n      while ( 1 )\n      {\n        v6 = cocos2d::CCArray::objectAtIndex(a2, v5);\n        v7 = *(_QWORD *)(a1 + 1568);\n        if ( v7 )\n        {\n          if ( *(_DWORD *)(v7 + 924) != *((_DWORD *)v6 + 231) )\n            break;\n        }\n        if ( !cocos2d::CCArray::containsObject(*(cocos2d::CCArray **)(a1 + 944), v6) )\n          break;\n        if ( ++v5 >= cocos2d::CCArray::count(a2) )\n          goto LABEL_9;\n      }\n      EditorUI::createUndoSelectObject(a1, 0);\n    }\nLABEL_9:\n    EditorUI::selectObjects(a1, a2, 0);\n    EditorUI::updateButtons(a1);\n    return EditorUI::updateSpecialUIElements(a1);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::processSelectObjects from 0x1401c9570 to 0x1401c9627 (183 bytes)\n; \n; 7 xrefs:\n; > EditorUI::ccTouchEnded @ 0x1401c161f\n; > EditorUI::selectAll @ 0x1401c7f7d\n; > EditorUI::selectAllWithDirection @ 0x1401c814d\n; > EditorUI::findObject @ 0x1401c93ff\n; > <???> @ 0x1408a2e58\n; > <???> @ 0x1408a2e68\n; > <???> @ 0x14091a87c\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 11:28:06 +0000\n; \nmov     [rsp+arg_8], rsi                                               ; +0x0, 0x1401c9570\npush    rdi                                                            ; +0x5, 0x1401c9575\nsub     rsp, 20h                                                       ; +0x6, 0x1401c9576\nmov     rdi, rcx                                                       ; +0xa, 0x1401c957a\nmov     rsi, rdx                                                       ; +0xd, 0x1401c957d\nmov     rcx, rdx                                                       ; +0x10, 0x1401c9580\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x13, 0x1401c9583\ntest    eax, eax                                                       ; +0x19, 0x1401c9589\njz      loc_1401C961C                                                  ; +0x1b, 0x1401c958b\nmov     [rsp+28h+arg_0], rbx                                           ; +0x21, 0x1401c9591\nmov     rcx, rsi                                                       ; +0x26, 0x1401c9596\nxor     ebx, ebx                                                       ; +0x29, 0x1401c9599\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2b, 0x1401c959b\ntest    eax, eax                                                       ; +0x31, 0x1401c95a1\njz      short loc_1401C95F9                                            ; +0x33, 0x1401c95a3\nmov     edx, ebx                                                       ; +0x35, 0x1401c95a5\nmov     rcx, rsi                                                       ; +0x37, 0x1401c95a7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3a, 0x1401c95aa\nmov     rdx, [rdi+620h]                                                ; +0x40, 0x1401c95b0\ntest    rdx, rdx                                                       ; +0x47, 0x1401c95b7\njz      short loc_1401C95CA                                            ; +0x4a, 0x1401c95ba\nmov     ecx, [rax+39Ch]                                                ; +0x4c, 0x1401c95bc\ncmp     [rdx+39Ch], ecx                                                ; +0x52, 0x1401c95c2\njnz     short loc_1401C95EF                                            ; +0x58, 0x1401c95c8\nmov     rcx, [rdi+3B0h]                                                ; +0x5a, 0x1401c95ca\nmov     rdx, rax                                                       ; +0x61, 0x1401c95d1\ncall    cs:?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x64, 0x1401c95d4\ntest    al, al                                                         ; +0x6a, 0x1401c95da\njz      short loc_1401C95EF                                            ; +0x6c, 0x1401c95dc\nmov     rcx, rsi                                                       ; +0x6e, 0x1401c95de\ninc     ebx                                                            ; +0x71, 0x1401c95e1\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x73, 0x1401c95e3\ncmp     ebx, eax                                                       ; +0x79, 0x1401c95e9\njb      short loc_1401C95A5                                            ; +0x7b, 0x1401c95eb\njmp     short loc_1401C95F9                                            ; +0x7d, 0x1401c95ed\nxor     edx, edx                                                       ; +0x7f, 0x1401c95ef\nmov     rcx, rdi                                                       ; +0x81, 0x1401c95f1\ncall    EditorUI__createUndoSelectObject                               ; +0x84, 0x1401c95f4\nxor     r8d, r8d                                                       ; +0x89, 0x1401c95f9\nmov     rdx, rsi                                                       ; +0x8c, 0x1401c95fc\nmov     rcx, rdi                                                       ; +0x8f, 0x1401c95ff\ncall    EditorUI__selectObjects                                        ; +0x92, 0x1401c9602\nmov     rcx, rdi                                                       ; +0x97, 0x1401c9607\ncall    EditorUI__updateButtons                                        ; +0x9a, 0x1401c960a\nmov     rcx, rdi                                                       ; +0x9f, 0x1401c960f\ncall    EditorUI__updateSpecialUIElements                              ; +0xa2, 0x1401c9612\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa7, 0x1401c9617\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xac, 0x1401c961c\nadd     rsp, 20h                                                       ; +0xb1, 0x1401c9621\npop     rdi                                                            ; +0xb5, 0x1401c9625\nretn                                                                   ; +0xb6, 0x1401c9626", "xrefs": ["EditorUI::ccTouchEnded @ 0x1401c161f", "EditorUI::selectAll @ 0x1401c7f7d", "EditorUI::selectAllWithDirection @ 0x1401c814d", "EditorUI::findObject @ 0x1401c93ff", "<???> @ 0x1408a2e58", "<???> @ 0x1408a2e68", "<???> @ 0x14091a87c"], "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"}