//
// EditorUI::onDeselectAll from 0x1001a6d38 to 0x1001a6d84 (76 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x10016308c
// > EditorUI::init @ 0x10046ff14
//
// This function is hookable on this platform (idp: arm, 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:00:03 +0000
//
__int64 __fastcall EditorUI::onDeselectAll(__int64 a1, __n128 a2)
{
__int64 v3; // x0
if ( *(_QWORD *)(a1 + 1496) || (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 896)) )
{
v3 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v3, 120);
a2.n128_f64[0] = EditorUI::createUndoSelectObject(a1, 0);
}
return EditorUI::deselectAll(a1, a2.n128_f64[0]);
}