//
// LevelInfoLayer::levelUpdateFailed from 0x1002c3e20 to 0x1002c3edd (189 bytes)
//
// 2 xrefs:
// > sub_1002C3F00 @ 0x1002c3f0c
// > ??> @ 0x100906cc0
//
// 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 *v2; // r14
_QWORD v3[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
__p = operator new(0x30u);
v3[0] = 49;
v3[1] = 44;
strcpy((char *)__p, "Level update failed, please try again later.");
v2 = (_QWORD *)FLAlertLayer::create_1(0, "Error", v3, "OK", 0, 300.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
v2[70] = AppDelegate::get()->m_runningScene;
(*(void (__fastcall **)(_QWORD *))(*v2 + 1288LL))(v2);
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
}