//
// LevelListLayer::onDelete from 0x10034b620 to 0x10034b66b (75 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:28:47 +0000
//
__int64 __fastcall LevelListLayer::onDelete(__int64 a1)
{
double v1; // xmm0_8
__int64 v2; // rax
__int64 result; // rax
v1 = (*(double (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 880) + 1272LL))(*(_QWORD *)(a1 + 880), 0);
v2 = GameLevelManager::sharedState(v1);
GameLevelManager::deleteLevelList(v2, *(_QWORD *)(a1 + 912));
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1328LL))(a1, 0);
*(_BYTE *)(a1 + 952) = 1;
return result;
}