//
// EditLevelLayer::onDelete from 0x7ef238 to 0x7ef280 (72 bytes)
//
// 2 xrefs:
// > EditLevelLayer::FLAlert_Clicked @ 0x7f1af0
// > ??> @ 0xe0440
//
// 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:34 +0000
//
__int64 __fastcall EditLevelLayer::onDelete(EditLevelLayer *this)
{
GameLevelManager *v2; // x0
GameLevelManager *v3; // x0
v2 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 58) + 1272LL))(
*((_QWORD *)this + 58),
0);
v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);
GameLevelManager::deleteLevel(v3, *((GJGameLevel **)this + 59));
return EditLevelLayer::onBack((cocos2d::CCArray **)this, nullptr);
}