//
// EditorUI::onDeselectAll from 0x10002c1e0 to 0x10002c23b (91 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x10000abe3
//
// 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 __fastcall EditorUI::onDeselectAll(EditorUI *a1, cocos2d::CCObject *a2)
{
cocos2d::CCArray *SelectedObjects; // rax
UndoObject *v3; // rax
if ( a1->m_selectedObject || (unsigned int)sub_100720070(a1->m_selectedObjects) )
{
SelectedObjects = EditorUI::getSelectedObjects(a1);
v3 = UndoObject::createWithArray(SelectedObjects, Select);
v3->m_redo = 0;
LevelEditorLayer::addToUndoList(a1->m_editorLayer, v3, 0);
}
EditorUI::deselectAll(a1);
}