//
// LevelListLayer::onDelete from 0x6d4ec0 to 0x6d4ef2 (50 bytes)
//
// 1 xrefs:
// > LevelListLayer::FLAlert_Clicked @ 0x6d9c32
//
// 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:57:06 +0000
//
int __fastcall LevelListLayer::onDelete(LevelListLayer *this)
{
GameLevelManager *v2; // r0
cocos2d::CCDictionary **v3; // r0
int result; // r0
v2 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 156) + 636))(
*((_DWORD *)this + 156),
0);
v3 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v2);
GameLevelManager::deleteLevelList(v3, *((const char ***)this + 160));
result = (*(int (__fastcall **)(LevelListLayer *, _DWORD))(*(_DWORD *)this + 664))(this, 0);
*((_BYTE *)this + 660) = 1;
return result;
}