//
// LevelInfoLayer::levelDownloadFailed from 0x49a5c0 to 0x49a644 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelInfoLayer::levelDownloadFailed @ 0x49a65c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:45 +0000
//
int __fastcall LevelInfoLayer::levelDownloadFailed(LevelInfoLayer *this, int a2)
{
int *v3; // r4
int v4; // r0
int v5; // r3
int v7[3]; // [sp+8h] [bp-14h] BYREF
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 110) + 172))(*((_DWORD *)this + 110), 0);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Level download failed, please try again later.", 0x2Eu);
v3 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Error", (int)v7, (ButtonSprite *)"OK", nullptr, 300.0);
std::string::~string((int)v7);
v4 = (*(int (__fastcall **)(LevelInfoLayer *))(*(_DWORD *)this + 256))(this);
v5 = *v3;
v3[113] = v4;
return (*(int (__fastcall **)(int *))(v5 + 656))(v3);
}