//
// sub_100611790 from 0x100611790 to 0x1006117e3 (83 bytes)
//
// 20 xrefs:
// > EditorUI::init @ 0x1000055f8
// > EditorUI::undoLastAction @ 0x1000081a1
// > EditorUI::redoLastAction @ 0x100008241
// > EditorUI::onDeleteSelected @ 0x100008391
// > EditorUI::onDeleteSelected @ 0x100008468
// > EditorUI::onDeleteSelected @ 0x1000084cf
// > EditorUI::clickOnPosition @ 0x10000c8d6
// > EditorUI::onDelete @ 0x10000cd28
// > EditorUI::onDelete @ 0x10000cdb3
// > EditorUI::updateSpecialUIElements @ 0x10000d576
// > sub_10000FEF0 @ 0x10000ff48
// > EditorUI::addObjectsToSmartTemplate @ 0x100013895
// > EditorUI::createSmartObjectsFromTemplate @ 0x100014590
// > EditorUI::deleteSmartBlocksFromObjects @ 0x100014729
// > EditorUI::deleteTypeFromObjects @ 0x100014dc7
// > EditorUI::createSmartObjectsFromType @ 0x1000152a0
// > LevelEditorLayer::handleAction @ 0x1000b27a8
// > EditorUI::deselectAll @ 0x1005b89c2
// > EditorUI::selectAll @ 0x1005b920c
// > EditorUI::selectAllWithDirection @ 0x1005b93a5
//
// 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 12:34:35 +0000
//
__int64 __fastcall sub_100611790(__int64 a1)
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 0);
sub_100645530(*(_QWORD *)(a1 + 792));
}
return EditorUI::updateEditButtonColor(a1, 47, 0xFFFFFF);
}