{"type": "func", "start": 7090448, "end": 7090664, "name": "EditorUI::selectAll", "pseudocode": "// \n// EditorUI::selectAll from 0x6c3110 to 0x6c31e8 (216 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::onSelectAll @ 0x78abc4\n// > <???> @ 0x3caf8\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::selectAll(EditorUI *a1)\n{\n  unsigned int v2; // w19\n  cocos2d::CCArray *AllObjects; // x20\n  cocos2d::CCArray *v4; // x23\n  bool v5; // cf\n  unsigned int v6; // w1\n  cocos2d::CCArray *v7; // x0\n  GameObject *v8; // x21\n\n  v2 = 0;\n  AllObjects = LevelEditorLayer::getAllObjects(a1->m_editorLayer);\n  v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(AllObjects);\n  while ( 1 )\n  {\n    v5 = v2 >= (unsigned int)cocos2d::CCArray::count(AllObjects);\n    v6 = v2;\n    v7 = AllObjects;\n    ++v2;\n    if ( v5 )\n      break;\n    while ( 1 )\n    {\n      v8 = (GameObject *)cocos2d::CCArray::objectAtIndex(v7, v6);\n      if ( !LevelEditorLayer::validGroup(a1->m_editorLayer, v8, 0) )\n        break;\n      cocos2d::CCArray::addObject(v4, v8);\n      v5 = v2 >= (unsigned int)cocos2d::CCArray::count(AllObjects);\n      v6 = v2;\n      v7 = AllObjects;\n      ++v2;\n      if ( v5 )\n        goto LABEL_6;\n    }\n  }\nLABEL_6:\n  EditorUI::processSelectObjects(a1, v4);\n  EditorUI::updateButtons(a1);\n  EditorUI::deactivateRotationControl(a1);\n  EditorUI::deactivateScaleControl(a1);\n  EditorUI::deactivateTransformControl(a1);\n  EditorUI::updateObjectInfoLabel(a1);\n}", "assembly": "; \n; EditorUI::selectAll from 0x6c3110 to 0x6c31e8 (216 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::onSelectAll @ 0x78abc4\n; > <???> @ 0x3caf8\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_40]!                                ; +0x0, 0x6c3110\nMOV             X29, SP                                                ; +0x4, 0x6c3114\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x8, 0x6c3118\nMOV             X22, X0                                                ; +0xc, 0x6c311c\nLDR             X0, [X0,#0x4F8]; this                                  ; +0x10, 0x6c3120\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x14, 0x6c3124\nSTR             X23, [SP,#0x40+var_10]                                 ; +0x18, 0x6c3128\nMOV             W19, #0                                                ; +0x1c, 0x6c312c\nBL              _ZN16LevelEditorLayer13getAllObjectsEv; LevelEditorLayer::getAllObjects(void) ; +0x20, 0x6c3130\nMOV             X20, X0                                                ; +0x24, 0x6c3134\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x28, 0x6c3138\nMOV             X23, X0                                                ; +0x2c, 0x6c313c\nMOV             X0, X20; this                                          ; +0x30, 0x6c3140\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x34, 0x6c3144\nCMP             W19, W0                                                ; +0x38, 0x6c3148\nMOV             W1, W19; unsigned int                                  ; +0x3c, 0x6c314c\nMOV             X0, X20; this                                          ; +0x40, 0x6c3150\nADD             W19, W19, #1                                           ; +0x44, 0x6c3154\nB.CS            loc_6C31A4                                             ; +0x48, 0x6c3158\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c, 0x6c315c\nMOV             X21, X0                                                ; +0x50, 0x6c3160\nLDR             X0, [X22,#0x4F8]; this                                 ; +0x54, 0x6c3164\nMOV             X1, X21; GameObject *                                  ; +0x58, 0x6c3168\nMOV             W2, #0; bool                                           ; +0x5c, 0x6c316c\nBL              _ZN16LevelEditorLayer10validGroupEP10GameObjectb; LevelEditorLayer::validGroup(GameObject *,bool) ; +0x60, 0x6c3170\nUXTB            W0, W0                                                 ; +0x64, 0x6c3174\nCBZ             W0, loc_6C3140                                         ; +0x68, 0x6c3178\nMOV             X1, X21; cocos2d::CCObject *                           ; +0x6c, 0x6c317c\nMOV             X0, X23; this                                          ; +0x70, 0x6c3180\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x74, 0x6c3184\nMOV             X0, X20; this                                          ; +0x78, 0x6c3188\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x7c, 0x6c318c\nCMP             W19, W0                                                ; +0x80, 0x6c3190\nMOV             W1, W19                                                ; +0x84, 0x6c3194\nMOV             X0, X20                                                ; +0x88, 0x6c3198\nADD             W19, W19, #1                                           ; +0x8c, 0x6c319c\nB.CC            loc_6C315C                                             ; +0x90, 0x6c31a0\nMOV             X1, X23; cocos2d::CCArray *                            ; +0x94, 0x6c31a4\nMOV             X0, X22; this                                          ; +0x98, 0x6c31a8\nBL              _ZN8EditorUI20processSelectObjectsEPN7cocos2d7CCArrayE; EditorUI::processSelectObjects(cocos2d::CCArray *) ; +0x9c, 0x6c31ac\nMOV             X0, X22; this                                          ; +0xa0, 0x6c31b0\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0xa4, 0x6c31b4\nMOV             X0, X22; this                                          ; +0xa8, 0x6c31b8\nBL              _ZN8EditorUI25deactivateRotationControlEv; EditorUI::deactivateRotationControl(void) ; +0xac, 0x6c31bc\nMOV             X0, X22; this                                          ; +0xb0, 0x6c31c0\nBL              _ZN8EditorUI22deactivateScaleControlEv; EditorUI::deactivateScaleControl(void) ; +0xb4, 0x6c31c4\nMOV             X0, X22; this                                          ; +0xb8, 0x6c31c8\nBL              _ZN8EditorUI26deactivateTransformControlEv; EditorUI::deactivateTransformControl(void) ; +0xbc, 0x6c31cc\nLDR             X23, [SP,#0x40+var_10]                                 ; +0xc0, 0x6c31d0\nMOV             X0, X22; this                                          ; +0xc4, 0x6c31d4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xc8, 0x6c31d8\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0xcc, 0x6c31dc\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xd0, 0x6c31e0\nB               _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0xd4, 0x6c31e4", "xrefs": ["EditorPauseLayer::onSelectAll @ 0x78abc4", "<???> @ 0x3caf8"], "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"}