{"type": "func", "start": 7293208, "end": 7293306, "name": "EditorUI::processSelectObjects", "pseudocode": "// \n// EditorUI::processSelectObjects from 0x6f4918 to 0x6f497a (98 bytes)\n// \n// 4 xrefs:\n// > EditorUI::selectObjectsInRect @ 0x6f49b8\n// > EditorUI::selectAll @ 0x6f4a1a\n// > EditorUI::selectAllWithDirection @ 0x6f4b0c\n// > EditorUI::findObject @ 0x6f4d48\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:38 +0000\n// \n\nint __fastcall EditorUI::processSelectObjects(EditorUI *this, cocos2d::CCArray *a2)\n{\n  int result; // r0\n  unsigned int i; // r6\n  cocos2d::CCObject *v6; // r0\n  int v7; // r3\n\n  result = cocos2d::CCArray::count(a2);\n  if ( result )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )\n    {\n      v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, i);\n      v7 = *((_DWORD *)this + 249);\n      if ( v7 && *(_DWORD *)(v7 + 780) != *((_DWORD *)v6 + 195)\n        || !cocos2d::CCArray::containsObject(*((cocos2d::CCArray **)this + 167), v6) )\n      {\n        EditorUI::createUndoSelectObject((cocos2d::CCArray ***)this, 0);\n        break;\n      }\n    }\n    EditorUI::selectObjects(this, a2, 0);\n    return EditorUI::updateSelectionUI((cocos2d::CCArray **)this);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::processSelectObjects from 0x6f4918 to 0x6f497a (98 bytes)\n; \n; 4 xrefs:\n; > EditorUI::selectObjectsInRect @ 0x6f49b8\n; > EditorUI::selectAll @ 0x6f4a1a\n; > EditorUI::selectAllWithDirection @ 0x6f4b0c\n; > EditorUI::findObject @ 0x6f4d48\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:38 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x6f4918\nMOV             R4, R0                                                 ; +0x2, 0x6f491a\nMOV             R0, R1; this                                           ; +0x4, 0x6f491c\nMOV             R5, R1                                                 ; +0x6, 0x6f491e\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x8, 0x6f4920\nCBZ             R0, locret_6F4978                                      ; +0xc, 0x6f4924\nMOVS            R6, #0                                                 ; +0xe, 0x6f4926\nMOV             R0, R5; this                                           ; +0x10, 0x6f4928\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x6f492a\nCMP             R6, R0                                                 ; +0x16, 0x6f492e\nBCS             loc_6F4964                                             ; +0x18, 0x6f4930\nMOV             R1, R6; unsigned int                                   ; +0x1a, 0x6f4932\nMOV             R0, R5; this                                           ; +0x1c, 0x6f4934\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1e, 0x6f4936\nLDR.W           R3, [R4,#0x3E4]                                        ; +0x22, 0x6f493a\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x26, 0x6f493e\nCBZ             R3, loc_6F494E                                         ; +0x28, 0x6f4940\nLDR.W           R2, [R3,#0x30C]                                        ; +0x2a, 0x6f4942\nLDR.W           R3, [R0,#0x30C]                                        ; +0x2e, 0x6f4946\nCMP             R2, R3                                                 ; +0x32, 0x6f494a\nBNE             loc_6F495C                                             ; +0x34, 0x6f494c\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0x36, 0x6f494e\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x3a, 0x6f4952\nCBZ             R0, loc_6F495C                                         ; +0x3e, 0x6f4956\nADDS            R6, #1                                                 ; +0x40, 0x6f4958\nB               loc_6F4928                                             ; +0x42, 0x6f495a\nMOV             R0, R4; this                                           ; +0x44, 0x6f495c\nMOVS            R1, #0; bool                                           ; +0x46, 0x6f495e\nBL              _ZN8EditorUI22createUndoSelectObjectEb; EditorUI::createUndoSelectObject(bool) ; +0x48, 0x6f4960\nMOV             R0, R4; this                                           ; +0x4c, 0x6f4964\nMOV             R1, R5; cocos2d::CCArray *                             ; +0x4e, 0x6f4966\nMOVS            R2, #0; bool                                           ; +0x50, 0x6f4968\nBL              _ZN8EditorUI13selectObjectsEPN7cocos2d7CCArrayEb; EditorUI::selectObjects(cocos2d::CCArray *,bool) ; +0x52, 0x6f496a\nMOV             R0, R4; this                                           ; +0x56, 0x6f496e\nPOP.W           {R4-R6,LR}                                             ; +0x58, 0x6f4970\nB.W             _ZN8EditorUI17updateSelectionUIEv; EditorUI::updateSelectionUI(void) ; +0x5c, 0x6f4974\nPOP             {R4-R6,PC}                                             ; +0x60, 0x6f4978", "xrefs": ["EditorUI::selectObjectsInRect @ 0x6f49b8", "EditorUI::selectAll @ 0x6f4a1a", "EditorUI::selectAllWithDirection @ 0x6f4b0c", "EditorUI::findObject @ 0x6f4d48"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}