//
// EditorUI::onDeleteStartPos from 0x1004765e8 to 0x100476650 (104 bytes)
//
// 1 xrefs:
// > EditorUI::setupDeleteMenu @ 0x100187040
//
// 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:05:41 +0000
//
__int64 __fastcall EditorUI::onDeleteStartPos(__int64 a1, double a2)
{
__int64 v3; // x0
int v4; // w20
int v5; // w21
_DWORD *v6; // x8
EditorUI::deselectAll(a1, a2);
v3 = *(_QWORD *)(a1 + 1440);
v4 = *(_DWORD *)(v3 + 14272);
v5 = *(_DWORD *)(v3 + 14276);
LevelEditorLayer::removeAllObjectsOfType(v3, 31);
v6 = *(_DWORD **)(a1 + 1440);
v6[3678] += v4 - (v5 + v6[3568]) + v6[3569];
return EditorBuildStats::noteAction((__int64)(v6 + 3676));
}