//
// LevelListLayer::levelListDeleteFailed from 0x100247134 to 0x1002471d8 (164 bytes)
//
// 2 xrefs:
// > sub_1002471F4 @ 0x1002471f8
// > ??> @ 0x1007cb340
//
// 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 LevelListLayer::levelListDeleteFailed(LevelListLayer *a1, int a2)
{
__int64 v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( a1->m_levelList->m_listID == a2 )
{
sub_100009900(__p, "List delete failed, please try again later.");
v3 = FLAlertLayer::create_1(0, "Error", __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);
}
}