//
// LevelListLayer::levelListDeleteFailed from 0x100360830 to 0x1003608f0 (192 bytes)
//
// 2 xrefs:
// > sub_100360910 @ 0x10036091c
// > ??> @ 0x1009186c8
//
// 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 v2; // r14
_QWORD v3[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
if ( a1->m_levelList->m_listID == a2 )
{
__p = operator new(0x30u);
v3[0] = 49;
v3[1] = 43;
strcpy((char *)__p, "List delete failed, please try again later.");
v2 = FLAlertLayer::create_1(0, "Error", v3, "OK", 0, 300.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
}
}