//
// LevelInfoLayer::levelUpdateFailed from 0x10002d9e8 to 0x10002daa4 (188 bytes)
//
// 2 xrefs:
// > sub_10002DAC0 @ 0x10002dac4
// > ??> @ 0x1008b0988
//
// 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::levelUpdateFailed(_QWORD **a1)
{
_QWORD *v2; // 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.");
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);
(*(void (__fastcall **)(_QWORD *))(*v2 + 1312LL))(v2);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[81] + 344LL))(a1[81], 0);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1[62] + 344LL))(a1[62], 1);
}