//
// LevelInfoLayer::onDelete from 0x7e6360 to 0x7e63b4 (84 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::FLAlert_Clicked @ 0x7e8470
// > ??> @ 0xbe258
//
// 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:29 +0000
//
__int64 __fastcall LevelInfoLayer::onDelete(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
GameLevelManager *v4; // x0
v3 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 62) + 1272LL))(
*((_QWORD *)this + 62),
0);
v4 = (GameLevelManager *)GameLevelManager::sharedState(v3);
GameLevelManager::deleteLevel(v4, *((GJGameLevel **)this + 63));
LevelInfoLayer::onBack(this, nullptr);
*((_BYTE *)this + 488) = 1;
return 1;
}