//
// LevelInfoLayer::levelUpdateFailed from 0x10002a2b0 to 0x10002a350 (160 bytes)
//
// 2 xrefs:
// > sub_10002A36C @ 0x10002a370
// > ??> @ 0x100764a08
//
// 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::levelUpdateFailed(LevelInfoLayer *a1, int a2)
{
_QWORD *v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, "Level update failed, please try again later.");
v3 = (_QWORD *)FLAlertLayer::create_1(0, "Error", __p, "OK", 0, 300.0);
if ( v5 < 0 )
operator delete(__p[0]);
v3[70] = AppDelegate::get()->m_resourceRootPath.m_data.m_long.longStorage;
(*(void (__fastcall **)(_QWORD *))(*v3 + 1288LL))(v3);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
}