{"type": "func", "start": 7082152, "end": 7082336, "name": "EditorUI::processSelectObjects", "pseudocode": "// \n// EditorUI::processSelectObjects from 0x6c10a8 to 0x6c1160 (184 bytes)\n// \n// 3 xrefs:\n// > EditorUI::selectAll @ 0x6c31ac\n// > EditorUI::selectAllWithDirection @ 0x6c32fc\n// > <???> @ 0x4ee70\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 v3; // w19\n  __int64 v5; // x1\n  GameObject *m_selectedObject; // x0\n\n  v3 = 0;\n  if ( (unsigned int)cocos2d::CCArray::count(a2) )\n  {\n    while ( v3 < (unsigned int)cocos2d::CCArray::count(a2) )\n    {\n      v5 = cocos2d::CCArray::objectAtIndex(a2, v3);\n      m_selectedObject = a1->m_selectedObject;\n      if ( !m_selectedObject || m_selectedObject->m_uniqueID == *(_DWORD *)(v5 + 900) )\n      {\n        ++v3;\n        if ( (unsigned __int8)cocos2d::CCArray::containsObject(a1->m_selectedObjects, (cocos2d::CCObject *)v5) )\n          continue;\n      }\n      EditorUI::createUndoSelectObject(a1, 0);\n      break;\n    }\n    EditorUI::selectObjects(a1, a2, 0);\n    EditorUI::updateSpecialUIElements(a1);\n  }\n}", "assembly": "; \n; EditorUI::processSelectObjects from 0x6c10a8 to 0x6c1160 (184 bytes)\n; \n; 3 xrefs:\n; > EditorUI::selectAll @ 0x6c31ac\n; > EditorUI::selectAllWithDirection @ 0x6c32fc\n; > <???> @ 0x4ee70\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6c10a8\nMOV             X29, SP                                                ; +0x4, 0x6c10ac\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x6c10b0\nMOV             X20, X0                                                ; +0xc, 0x6c10b4\nMOV             X0, X1; this                                           ; +0x10, 0x6c10b8\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x14, 0x6c10bc\nMOV             W19, #0                                                ; +0x18, 0x6c10c0\nMOV             X21, X1                                                ; +0x1c, 0x6c10c4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x20, 0x6c10c8\nCBZ             W0, loc_6C1150                                         ; +0x24, 0x6c10cc\nMOV             X0, X21; this                                          ; +0x28, 0x6c10d0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2c, 0x6c10d4\nCMP             W19, W0                                                ; +0x30, 0x6c10d8\nMOV             W1, W19; unsigned int                                  ; +0x34, 0x6c10dc\nMOV             X0, X21; this                                          ; +0x38, 0x6c10e0\nB.CS            loc_6C1114                                             ; +0x3c, 0x6c10e4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x40, 0x6c10e8\nMOV             X1, X0; cocos2d::CCObject *                            ; +0x44, 0x6c10ec\nLDR             X0, [X20,#0x530]                                       ; +0x48, 0x6c10f0\nCBZ             X0, loc_6C1138                                         ; +0x4c, 0x6c10f4\nLDR             W2, [X0,#0x384]                                        ; +0x50, 0x6c10f8\nLDR             W0, [X1,#0x384]                                        ; +0x54, 0x6c10fc\nCMP             W2, W0                                                 ; +0x58, 0x6c1100\nB.EQ            loc_6C1138                                             ; +0x5c, 0x6c1104\nMOV             X0, X20; this                                          ; +0x60, 0x6c1108\nMOV             W1, #0; bool                                           ; +0x64, 0x6c110c\nBL              _ZN8EditorUI22createUndoSelectObjectEb; EditorUI::createUndoSelectObject(bool) ; +0x68, 0x6c1110\nMOV             X0, X20; this                                          ; +0x6c, 0x6c1114\nMOV             X1, X21; cocos2d::CCArray *                            ; +0x70, 0x6c1118\nMOV             W2, #0; bool                                           ; +0x74, 0x6c111c\nBL              _ZN8EditorUI13selectObjectsEPN7cocos2d7CCArrayEb; EditorUI::selectObjects(cocos2d::CCArray *,bool) ; +0x78, 0x6c1120\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x7c, 0x6c1124\nMOV             X0, X20; this                                          ; +0x80, 0x6c1128\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x84, 0x6c112c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x88, 0x6c1130\nB               _ZN8EditorUI23updateSpecialUIElementsEv; EditorUI::updateSpecialUIElements(void) ; +0x8c, 0x6c1134\nLDR             X0, [X20,#0x338]; this                                 ; +0x90, 0x6c1138\nADD             W19, W19, #1                                           ; +0x94, 0x6c113c\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x98, 0x6c1140\nUXTB            W0, W0                                                 ; +0x9c, 0x6c1144\nCBZ             W0, loc_6C1108                                         ; +0xa0, 0x6c1148\nB               loc_6C10D0                                             ; +0xa4, 0x6c114c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xa8, 0x6c1150\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xac, 0x6c1154\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xb0, 0x6c1158\nRET                                                                    ; +0xb4, 0x6c115c", "xrefs": ["EditorUI::selectAll @ 0x6c31ac", "EditorUI::selectAllWithDirection @ 0x6c32fc", "<???> @ 0x4ee70"], "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"}