//
// LevelListLayer::onDelete from 0xba980c to 0xba9868 (92 bytes)
//
// 2 xrefs:
// > LevelListLayer::FLAlert_Clicked @ 0xbb0fdc
// > ??> @ 0xed040
//
// 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 13:02:51 +0000
//
__int64 __fastcall LevelListLayer::onDelete(LevelListLayer *this)
{
GameLevelManager *v2; // x0
GameLevelManager *v3; // x0
v2 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 110) + 1272LL))(
*((_QWORD *)this + 110),
0);
v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);
GameLevelManager::deleteLevelList(v3, *((GJLevelList **)this + 114));
(*(void (__fastcall **)(LevelListLayer *, _QWORD))(*(_QWORD *)this + 1328LL))(this, 0);
*((_BYTE *)this + 952) = 1;
return 1;
}