{"type": "func", "start": 7070328, "end": 7070460, "name": "EditorUI::deselectAll", "pseudocode": "// \n// EditorUI::deselectAll from 0x6be278 to 0x6be2fc (132 bytes)\n// \n// 19 xrefs:\n// > LevelEditorLayer::removeAllObjects @ 0x665950\n// > LevelEditorLayer::breakApartTextObject @ 0x672190\n// > EditorUI::onDeleteAll @ 0x6be30c\n// > EditorUI::onDeleteSelectedType @ 0x6be430\n// > EditorUI::onDeleteStartPos @ 0x6be474\n// > EditorUI::selectObject @ 0x6be4e4\n// > EditorUI::selectObject @ 0x6be518\n// > EditorUI::onDeselectAll @ 0x6bedfc\n// > EditorUI::onPlaytest @ 0x6bee74\n// > EditorUI::createNewKeyframeAnim @ 0x6bf03c\n// > EditorUI::pasteObjects @ 0x6bf750\n// > EditorUI::changeSelectedObjects @ 0x6c0f6c\n// > EditorUI::createSmartObjectsFromType @ 0x6c1294\n// > EditorUI::createSmartObjectsFromType @ 0x6c1424\n// > EditorUI::createSmartObjectsFromTemplate @ 0x6c1dfc\n// > EditorUI::createSmartObjectsFromTemplate @ 0x6c219c\n// > SetupKeyframePopup::onCustomButton @ 0xa3d2f0\n// > SetupKeyframePopup::onCustomButton @ 0xa3d4e0\n// > <???> @ 0xa3170\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::deselectAll(EditorUI *a1)\n{\n  unsigned int v2; // w19\n  GameObject *v3; // x0\n  bool v4; // cf\n  unsigned int v5; // w1\n\n  EditorUI::deselectObject(a1);\n  v2 = 0;\n  if ( (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects) )\n  {\n    while ( 1 )\n    {\n      v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_selectedObjects);\n      v5 = v2++;\n      if ( v4 )\n        break;\n      v3 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, v5);\n      GameObject::deselectObject(v3);\n    }\n  }\n  cocos2d::CCArray::removeAllObjects(a1->m_selectedObjects);\n  EditorUI::updateButtons(a1);\n  EditorUI::deactivateRotationControl(a1);\n  EditorUI::deactivateScaleControl(a1);\n  EditorUI::deactivateTransformControl(a1);\n  EditorUI::updateObjectInfoLabel(a1);\n}", "assembly": "; \n; EditorUI::deselectAll from 0x6be278 to 0x6be2fc (132 bytes)\n; \n; 19 xrefs:\n; > LevelEditorLayer::removeAllObjects @ 0x665950\n; > LevelEditorLayer::breakApartTextObject @ 0x672190\n; > EditorUI::onDeleteAll @ 0x6be30c\n; > EditorUI::onDeleteSelectedType @ 0x6be430\n; > EditorUI::onDeleteStartPos @ 0x6be474\n; > EditorUI::selectObject @ 0x6be4e4\n; > EditorUI::selectObject @ 0x6be518\n; > EditorUI::onDeselectAll @ 0x6bedfc\n; > EditorUI::onPlaytest @ 0x6bee74\n; > EditorUI::createNewKeyframeAnim @ 0x6bf03c\n; > EditorUI::pasteObjects @ 0x6bf750\n; > EditorUI::changeSelectedObjects @ 0x6c0f6c\n; > EditorUI::createSmartObjectsFromType @ 0x6c1294\n; > EditorUI::createSmartObjectsFromType @ 0x6c1424\n; > EditorUI::createSmartObjectsFromTemplate @ 0x6c1dfc\n; > EditorUI::createSmartObjectsFromTemplate @ 0x6c219c\n; > SetupKeyframePopup::onCustomButton @ 0xa3d2f0\n; > SetupKeyframePopup::onCustomButton @ 0xa3d4e0\n; > <???> @ 0xa3170\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,#-0x20+var_s0]!                          ; +0x0, 0x6be278\nMOV             X29, SP                                                ; +0x4, 0x6be27c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x6be280\nMOV             X20, X0                                                ; +0xc, 0x6be284\nBL              _ZN8EditorUI14deselectObjectEv; EditorUI::deselectObject(void) ; +0x10, 0x6be288\nMOV             W19, #0                                                ; +0x14, 0x6be28c\nLDR             X0, [X20,#0x338]; this                                 ; +0x18, 0x6be290\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1c, 0x6be294\nCBNZ            W0, loc_6BE2AC                                         ; +0x20, 0x6be298\nB               loc_6BE2C4                                             ; +0x24, 0x6be29c\nLDR             X0, [X20,#0x338]; this                                 ; +0x28, 0x6be2a0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2c, 0x6be2a4\nBL              _ZN10GameObject14deselectObjectEv; GameObject::deselectObject(void) ; +0x30, 0x6be2a8\nLDR             X0, [X20,#0x338]; this                                 ; +0x34, 0x6be2ac\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x38, 0x6be2b0\nCMP             W19, W0                                                ; +0x3c, 0x6be2b4\nMOV             W1, W19; unsigned int                                  ; +0x40, 0x6be2b8\nADD             W19, W19, #1                                           ; +0x44, 0x6be2bc\nB.CC            loc_6BE2A0                                             ; +0x48, 0x6be2c0\nLDR             X0, [X20,#0x338]; this                                 ; +0x4c, 0x6be2c4\nBL              _ZN7cocos2d7CCArray16removeAllObjectsEv; cocos2d::CCArray::removeAllObjects(void) ; +0x50, 0x6be2c8\nMOV             X0, X20; this                                          ; +0x54, 0x6be2cc\nBL              _ZN8EditorUI13updateButtonsEv; EditorUI::updateButtons(void) ; +0x58, 0x6be2d0\nMOV             X0, X20; this                                          ; +0x5c, 0x6be2d4\nBL              _ZN8EditorUI25deactivateRotationControlEv; EditorUI::deactivateRotationControl(void) ; +0x60, 0x6be2d8\nMOV             X0, X20; this                                          ; +0x64, 0x6be2dc\nBL              _ZN8EditorUI22deactivateScaleControlEv; EditorUI::deactivateScaleControl(void) ; +0x68, 0x6be2e0\nMOV             X0, X20; this                                          ; +0x6c, 0x6be2e4\nBL              _ZN8EditorUI26deactivateTransformControlEv; EditorUI::deactivateTransformControl(void) ; +0x70, 0x6be2e8\nMOV             X0, X20; this                                          ; +0x74, 0x6be2ec\nLDP             X19, X20, [SP,#var_s10]                                ; +0x78, 0x6be2f0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x7c, 0x6be2f4\nB               _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x80, 0x6be2f8", "xrefs": ["LevelEditorLayer::removeAllObjects @ 0x665950", "LevelEditorLayer::breakApartTextObject @ 0x672190", "EditorUI::onDeleteAll @ 0x6be30c", "EditorUI::onDeleteSelectedType @ 0x6be430", "EditorUI::onDeleteStartPos @ 0x6be474", "EditorUI::selectObject @ 0x6be4e4", "EditorUI::selectObject @ 0x6be518", "EditorUI::onDeselectAll @ 0x6bedfc", "EditorUI::onPlaytest @ 0x6bee74", "EditorUI::createNewKeyframeAnim @ 0x6bf03c", "EditorUI::pasteObjects @ 0x6bf750", "EditorUI::changeSelectedObjects @ 0x6c0f6c", "EditorUI::createSmartObjectsFromType @ 0x6c1294", "EditorUI::createSmartObjectsFromType @ 0x6c1424", "EditorUI::createSmartObjectsFromTemplate @ 0x6c1dfc", "EditorUI::createSmartObjectsFromTemplate @ 0x6c219c", "SetupKeyframePopup::onCustomButton @ 0xa3d2f0", "SetupKeyframePopup::onCustomButton @ 0xa3d4e0", "<???> @ 0xa3170"], "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"}