//
// LevelInfoLayer::levelDeleteFinished from 0x10002a374 to 0x10002a420 (172 bytes)
//
// 2 xrefs:
// > sub_10002A43C @ 0x10002a440
// > ??> @ 0x100764a10
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelInfoLayer::levelDeleteFinished(LevelInfoLayer *a1, int a2)
{
__int64 v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed == a2 )
{
sub_100009900(__p, "The level has been removed from the server.");
v3 = FLAlertLayer::create_1(0, "Level Deleted", __p, "OK", 0, 300.0);
if ( v5 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
}
}