//
// EditorUI::onDeleteStartPos from 0x100010020 to 0x100010086 (102 bytes)
//
// 1 xrefs:
// > EditorUI::setupDeleteMenu @ 0x10063b586
//
// 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:18:51 +0000
//
__int64 __fastcall EditorUI::onDeleteStartPos(__int64 a1)
{
__int64 v2; // rdi
int v3; // r14d
int v4; // r15d
_DWORD *v5; // rdi
EditorUI::deselectAll(a1);
v2 = *(_QWORD *)(a1 + 1440);
v3 = *(_DWORD *)(v2 + 14272);
v4 = *(_DWORD *)(v2 + 14276);
LevelEditorLayer::removeAllObjectsOfType(v2, 31);
v5 = *(_DWORD **)(a1 + 1440);
v5[3678] += v5[3569] + v3 - (v5[3568] + v4);
return EditorBuildStats::noteAction(v5 + 3676);
}