//
// LevelInfoLayer::levelDownloadFailed from 0x10002d7fc to 0x10002d8a4 (168 bytes)
//
// 2 xrefs:
// > sub_10002D8C0 @ 0x10002d8c4
// > ??> @ 0x1008b0978
//
// This function is hookable on this platform (idp: arm, 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 10:57:29 +0000
//
__int64 __fastcall LevelInfoLayer::levelDownloadFailed(_QWORD **a1)
{
_QWORD *v2; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[81] + 344LL))(a1[81], 0);
sub_100009900(__p, "Level download failed, please try again later.");
v2 = (_QWORD *)FLAlertLayer::create_1(0, "Error", __p, "OK", 0, 300.0);
if ( v5 < 0 )
operator delete(__p[0]);
v2[71] = ((__int64 (__fastcall *)(_QWORD **))(*a1)[64])(a1);
return (*(__int64 (__fastcall **)(_QWORD *))(*v2 + 1312LL))(v2);
}