//
// LevelInfoLayer::levelDownloadFailed from 0x1002b0670 to 0x1002b0730 (192 bytes)
//
// 2 xrefs:
// > sub_1002B0750 @ 0x1002b075c
// > ??> @ 0x100b0e2f0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:01 +0000
//
__int64 __fastcall LevelInfoLayer::levelDownloadFailed(_QWORD **a1)
{
_QWORD *v1; // r14
_QWORD v3[2]; // [rsp+8h] [rbp-28h] BYREF
void *__p; // [rsp+18h] [rbp-18h]
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[81] + 344LL))(a1[81], 0);
__p = operator new(0x30u);
v3[0] = 49;
v3[1] = 46;
strcpy((char *)__p, "Level download failed, please try again later.");
v1 = (_QWORD *)FLAlertLayer::create_1(0, "Error", v3, "OK", 0, 300.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
v1[71] = ((__int64 (__fastcall *)(_QWORD **))(*a1)[64])(a1);
return (*(__int64 (__fastcall **)(_QWORD *))(*v1 + 1312LL))(v1);
}