//
// EditLevelLayer::onDelete from 0x1001e0c20 to 0x1001e0c5d (61 bytes)
//
// 0 xrefs:
//
// 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:26:28 +0000
//
__int64 __fastcall EditLevelLayer::onDelete(__int64 a1)
{
double v1; // xmm0_8
__int64 v2; // rax
__int64 v3; // rsi
double v4; // xmm0_8
v1 = (*(double (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 464) + 1272LL))(*(_QWORD *)(a1 + 464), 0);
v2 = GameLevelManager::sharedState(v1);
v3 = *(_QWORD *)(a1 + 472);
v4 = GameLevelManager::deleteLevel(v2, v3);
return EditLevelLayer::onBack((_QWORD *)a1, v3, v4);
}