//
// LevelInfoLayer::levelDownloadFailed from 0x10002a0d0 to 0x10002a16c (156 bytes)
//
// 2 xrefs:
// > sub_10002A188 @ 0x10002a18c
// > ??> @ 0x1007649f8
//
// 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::levelDownloadFailed(LevelInfoLayer *a1, int a2)
{
_QWORD *v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
sub_100009900(__p, "Level download failed, please try again later.");
v2 = (_QWORD *)FLAlertLayer::create_1(0, "Error", __p, "OK", 0, 300.0);
if ( v4 < 0 )
operator delete(__p[0]);
v2[70] = AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage;
(*(void (__fastcall **)(_QWORD *))(*v2 + 1288LL))(v2);
}