//
// LevelInfoLayer::onDelete from 0x49a12e to 0x49a15c (46 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::FLAlert_Clicked @ 0x49bbac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:44 +0000
//
_BYTE *__fastcall LevelInfoLayer::onDelete(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r0
GameLevelManager *v4; // r0
_BYTE *result; // r0
v3 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 90) + 636))(
*((_DWORD *)this + 90),
0);
v4 = (GameLevelManager *)GameLevelManager::sharedState(v3);
GameLevelManager::deleteLevel(v4, *((GJGameLevel **)this + 91));
result = LevelInfoLayer::onBack(this, nullptr);
*((_BYTE *)this + 356) = 1;
return result;
}