//
// EditorUI::onDeleteStartPos from 0x7c1d98 to 0x7c1e00 (104 bytes)
//
// 3 xrefs:
// > ??> @ 0x998c8
// > EditorUI::setupDeleteMenu @ 0xbdea20
// > ??> @ 0x1544318
//
// 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 12:54:07 +0000
//
__int64 __fastcall EditorUI::onDeleteStartPos(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
cocos2d::CCArray *v3; // x0
int v4; // w19
EditorUI::deselectAll((EditorUI *)this);
v3 = *(this + 180);
v4 = *((_DWORD *)v3 + 3568) - *((_DWORD *)v3 + 3569);
LevelEditorLayer::removeAllObjectsOfType(v3, 31);
*((_DWORD *)*(this + 180) + 3678) += v4 - (*((_DWORD *)*(this + 180) + 3568) - *((_DWORD *)*(this + 180) + 3569));
return EditorBuildStats::noteAction((cocos2d::CCArray *)((char *)*(this + 180) + 14704));
}