//
// EditorUI::onDeselectAll from 0xbdd548 to 0xbdd598 (80 bytes)
//
// 4 xrefs:
// > EditorUI::handleEditorAction @ 0xbd8428
// > ??> @ 0xcec80
// > EditorUI::init @ 0x7d057c
// > ??> @ 0x1546170
//
// 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 13:03:44 +0000
//
__int64 __fastcall EditorUI::onDeselectAll(EditorUI *this, cocos2d::CCObject *a2)
{
EditorSFXManager *v3; // x0
EditorSFXManager *v4; // x0
v3 = *((EditorSFXManager **)this + 187);
if ( v3 || (v3 = (EditorSFXManager *)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)), (_DWORD)v3) )
{
v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);
EditorSFXManager::playAction(v4, 120);
EditorUI::createUndoSelectObject((cocos2d::CCArray ***)this, 0);
}
return EditorUI::deselectAll((GameObject **)this);
}