{"type": "func", "start": 3819232, "end": 3819330, "name": "EditorUI::processSelectObjects", "pseudocode": "// \n// EditorUI::processSelectObjects from 0x3a46e0 to 0x3a4742 (98 bytes)\n// \n// 2 xrefs:\n// > EditorUI::selectAll @ 0x3a5aaa\n// > EditorUI::selectAllWithDirection @ 0x3a5ba8\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\nvoid EditorUI::processSelectObjects(EditorUI *a1, cocos2d::CCArray *a2)\n{\n  unsigned int i; // r6\n  cocos2d::CCObject *v5; // r0\n  GameObject *m_selectedObject; // r3\n\n  if ( cocos2d::CCArray::count(a2) )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )\n    {\n      v5 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(a2, i);\n      m_selectedObject = a1->m_selectedObject;\n      if ( m_selectedObject && m_selectedObject->m_uniqueID != v5[14].m_uOrderOfArrival\n        || !cocos2d::CCArray::containsObject(a1->m_selectedObjects, v5) )\n      {\n        EditorUI::createUndoSelectObject(a1, 0);\n        break;\n      }\n    }\n    EditorUI::selectObjects(a1, a2, 0);\n    EditorUI::updateSpecialUIElements(a1);\n  }\n}", "assembly": "; \n; EditorUI::processSelectObjects from 0x3a46e0 to 0x3a4742 (98 bytes)\n; \n; 2 xrefs:\n; > EditorUI::selectAll @ 0x3a5aaa\n; > EditorUI::selectAllWithDirection @ 0x3a5ba8\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            {R4-R6,LR}                                             ; +0x0, 0x3a46e0\nMOV             R4, R0                                                 ; +0x2, 0x3a46e2\nMOV             R0, R1; this                                           ; +0x4, 0x3a46e4\nMOV             R5, R1                                                 ; +0x6, 0x3a46e6\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x8, 0x3a46e8\nCBZ             R0, locret_3A4740                                      ; +0xc, 0x3a46ec\nMOVS            R6, #0                                                 ; +0xe, 0x3a46ee\nMOV             R0, R5; this                                           ; +0x10, 0x3a46f0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x12, 0x3a46f2\nCMP             R6, R0                                                 ; +0x16, 0x3a46f6\nBCS             loc_3A472C                                             ; +0x18, 0x3a46f8\nMOV             R1, R6; unsigned int                                   ; +0x1a, 0x3a46fa\nMOV             R0, R5; this                                           ; +0x1c, 0x3a46fc\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1e, 0x3a46fe\nLDR.W           R3, [R4,#0x374]                                        ; +0x22, 0x3a4702\nMOV             R1, R0; cocos2d::CCObject *                            ; +0x26, 0x3a4706\nCBZ             R3, loc_3A4716                                         ; +0x28, 0x3a4708\nLDR.W           R2, [R3,#0x304]                                        ; +0x2a, 0x3a470a\nLDR.W           R3, [R0,#0x304]                                        ; +0x2e, 0x3a470e\nCMP             R2, R3                                                 ; +0x32, 0x3a4712\nBNE             loc_3A4724                                             ; +0x34, 0x3a4714\nLDR.W           R0, [R4,#0x260]; this                                  ; +0x36, 0x3a4716\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x3a, 0x3a471a\nCBZ             R0, loc_3A4724                                         ; +0x3e, 0x3a471e\nADDS            R6, #1                                                 ; +0x40, 0x3a4720\nB               loc_3A46F0                                             ; +0x42, 0x3a4722\nMOV             R0, R4; this                                           ; +0x44, 0x3a4724\nMOVS            R1, #0; bool                                           ; +0x46, 0x3a4726\nBL              _ZN8EditorUI22createUndoSelectObjectEb; EditorUI::createUndoSelectObject(bool) ; +0x48, 0x3a4728\nMOV             R0, R4; this                                           ; +0x4c, 0x3a472c\nMOV             R1, R5; cocos2d::CCArray *                             ; +0x4e, 0x3a472e\nMOVS            R2, #0; bool                                           ; +0x50, 0x3a4730\nBL              _ZN8EditorUI13selectObjectsEPN7cocos2d7CCArrayEb; EditorUI::selectObjects(cocos2d::CCArray *,bool) ; +0x52, 0x3a4732\nMOV             R0, R4; this                                           ; +0x56, 0x3a4736\nPOP.W           {R4-R6,LR}                                             ; +0x58, 0x3a4738\nB.W             _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x5c, 0x3a473c\nPOP             {R4-R6,PC}                                             ; +0x60, 0x3a4740", "xrefs": ["EditorUI::selectAll @ 0x3a5aaa", "EditorUI::selectAllWithDirection @ 0x3a5ba8"], "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"}