//
// EditorUI::deselectAll from 0x3a2cb8 to 0x3a2d14 (92 bytes)
//
// 18 xrefs:
// > LevelEditorLayer::removeAllObjects @ 0x36ac56
// > LevelEditorLayer::breakApartTextObject @ 0x37152e
// > EditorUI::onDeleteAll @ 0x3a2d18
// > EditorUI::onDeleteSelectedType @ 0x3a2db2
// > EditorUI::onDeleteStartPos @ 0x3a2dd6
// > EditorUI::selectObject @ 0x3a2e26
// > EditorUI::selectObject @ 0x3a2e66
// > EditorUI::onDeselectAll @ 0x3a338a
// > EditorUI::onPlaytest @ 0x3a33de
// > EditorUI::createNewKeyframeAnim @ 0x3a350c
// > EditorUI::pasteObjects @ 0x3a3766
// > EditorUI::changeSelectedObjects @ 0x3a4628
// > EditorUI::createSmartObjectsFromType @ 0x3a47f6
// > EditorUI::createSmartObjectsFromType @ 0x3a49ae
// > EditorUI::createSmartObjectsFromTemplate @ 0x3a4f02
// > EditorUI::createSmartObjectsFromTemplate @ 0x3a5242
// > SetupKeyframePopup::onCustomButton @ 0x5749aa
// > SetupKeyframePopup::onCustomButton @ 0x574a2c
//
// 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)
{
unsigned int i; // r5
GameObject *v3; // r0
EditorUI::deselectObject(a1);
if ( cocos2d::CCArray::count(a1->m_selectedObjects) )
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_selectedObjects); ++i )
{
v3 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_selectedObjects, i);
GameObject::deselectObject(v3);
}
}
cocos2d::CCArray::removeAllObjects(a1->m_selectedObjects);
EditorUI::updateButtons(a1);
EditorUI::deactivateRotationControl(a1);
EditorUI::deactivateScaleControl(a1);
EditorUI::deactivateTransformControl(a1);
EditorUI::updateObjectInfoLabel(a1);
}