// // EditorUI::deselectAll from 0x140111480 to 0x1401115a4 (292 bytes) // // 20 xrefs: // > EditorUI::onDeleteSelectedType @ 0x1400e69ef // > EditorUI::onDeleteStartPos @ 0x1400e6a29 // > EditorUI::FLAlert_Clicked @ 0x1400e6b24 // > EditorUI::FLAlert_Clicked @ 0x1400e6b43 // > EditorUI::selectObject @ 0x14011059c // > EditorUI::selectObject @ 0x1401105cc // > EditorUI::onDeselectAll @ 0x140111476 // > EditorUI::onPlaytest @ 0x140112122 // > EditorUI::pasteObjects @ 0x140114199 // > EditorUI::createSmartObjectsFromTemplate @ 0x140116ec2 // > EditorUI::createSmartObjectsFromTemplate @ 0x14011760f // > EditorUI::createSmartObjectsFromType @ 0x140117f71 // > EditorUI::createSmartObjectsFromType @ 0x1401182e7 // > EditorUI::createNewKeyframeAnim @ 0x1401193ee // > EditorUI::keyDown @ 0x140125481 // > LevelEditorLayer::handleAction @ 0x1402d6aca // > LevelEditorLayer::breakApartTextObject @ 0x1402df61d // > SetupKeyframePopup::onCustomButton @ 0x140426878 // > SetupKeyframePopup::onCustomButton @ 0x140426a74 // > @ 0x1406c8f64 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void EditorUI::deselectAll(EditorUI *a1) { GameObject *m_selectedObject; // rcx unsigned int v3; // edi GameObject *v4; // rax GJRotationControl *m_rotationControl; // rcx cocos2d::CCNode::stopActionByTag(a1, 124); m_selectedObject = a1->m_selectedObject; if ( m_selectedObject ) { m_selectedObject->m_isSelected = 0; GameObject::updateObjectEditorColor(m_selectedObject); } v3 = 0; a1->m_selectedObject = nullptr; EditorUI::toggleEditObjectButton(a1); a1->m_canActivateControls = 1; cocos2d::CCPoint::operator=(&a1->m_lastTouchPoint, &dword_1406C1AA8); if ( cocos2d::CCArray::count(a1->m_selectedObjects) && cocos2d::CCArray::count(a1->m_selectedObjects) ) { do { v4 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, v3); v4->m_isSelected = 0; GameObject::updateObjectEditorColor(v4); ++v3; } while ( v3 < cocos2d::CCArray::count(a1->m_selectedObjects) ); } cocos2d::CCArray::removeAllObjects(a1->m_selectedObjects); EditorUI::updateButtons(a1); m_rotationControl = a1->m_rotationControl; a1->m_rotationTouchID = -1; if ( m_rotationControl->isVisible(m_rotationControl) ) { a1->m_rotationControl->setVisible(a1->m_rotationControl, 0); GJRotationControl::finishTouch(a1->m_rotationControl); } EditorUI::deactivateScaleControl(a1); EditorUI::deactivateTransformControl(a1); EditorUI::updateObjectInfoLabel(a1); }