//
// EditorUI::onDeselectAll from 0x1401c98d0 to 0x1401c991d (77 bytes)
//
// 2 xrefs:
// > EditorUI::init @ 0x1401ab83e
// > ??> @ 0x14091a8f4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:28:06 +0000
//
void __fastcall EditorUI::onDeselectAll(__int64 a1)
{
__int64 v2; // rax
if ( *(_QWORD *)(a1 + 1568) || cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)) )
{
v2 = EditorSFXManager::sharedState();
EditorSFXManager::playAction(v2, 120);
EditorUI::createUndoSelectObject(a1, 0);
}
EditorUI::deselectAll(a1);
}