//
// EditorUI::deselectAll from 0x1003e9cd0 to 0x1003e9d5c (140 bytes)
//
// 18 xrefs:
// > SetupKeyframePopup::onCustomButton @ 0x1001b5b70
// > SetupKeyframePopup::onCustomButton @ 0x1001b5c7c
// > LevelEditorLayer::removeAllObjects @ 0x10035b994
// > LevelEditorLayer::breakApartTextObject @ 0x100362440
// > EditorUI::onPlaytest @ 0x1003c78e4
// > EditorUI::onDeselectAll @ 0x1003e56a8
// > EditorUI::selectObject @ 0x1003e6eac
// > EditorUI::selectObject @ 0x1003e6ee0
// > EditorUI::onDeleteStartPos @ 0x1003e9158
// > EditorUI::onDeleteSelectedType @ 0x1003e918c
// > EditorUI::FLAlert_Clicked @ 0x1003e9e64
// > EditorUI::pasteObjects @ 0x1003ece00
// > EditorUI::changeSelectedObjects @ 0x1003ede00
// > EditorUI::createSmartObjectsFromTemplate @ 0x1003f1760
// > EditorUI::createSmartObjectsFromTemplate @ 0x1003f1d78
// > EditorUI::createSmartObjectsFromType @ 0x1003f25f0
// > EditorUI::createSmartObjectsFromType @ 0x1003f2874
// > EditorUI::createNewKeyframeAnim @ 0x1003f3538
//
// 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::deselectAll(EditorUI *a1)
{
unsigned int v2; // w20
GameObject *v3; // x0
EditorUI::deselectObject_1(a1);
if ( (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects)
&& (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) )
{
v2 = 0;
do
{
v3 = (GameObject *)sub_10024A388((__int64)a1->m_selectedObjects, v2);
GameObject::deselectObject(v3);
++v2;
}
while ( v2 < (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) );
}
sub_10024A45C((__int64)a1->m_selectedObjects);
EditorUI::updateButtons(a1);
EditorUI::deactivateRotationControl(a1);
EditorUI::deactivateScaleControl(a1);
EditorUI::deactivateTransformControl(a1);
EditorUI::updateObjectInfoLabel(a1);
}