//
// LevelListLayer::levelListDeleteFailed from 0x6d5888 to 0x6d590e (134 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LevelListLayer::levelListDeleteFailed @ 0x6d5928
//
// 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:57:06 +0000
//
int __fastcall LevelListLayer::levelListDeleteFailed(int this, int a2)
{
int v2; // r7
int *v3; // r4
int v4[3]; // [sp+8h] [bp-14h] BYREF
v2 = this;
if ( *(_DWORD *)(*(_DWORD *)(this + 640) + 276) == a2 )
{
memset(v4, 0, sizeof(v4));
std::string::__init(v4, "List delete failed, please try again later.", 0x2Bu);
v3 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Error", (int)v4, (ButtonSprite *)"OK", nullptr, 300.0);
std::string::~string((int)v4);
(*(void (__fastcall **)(int *))(*v3 + 656))(v3);
return (*(int (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v2 + 540) + 172))(*(_DWORD *)(v2 + 540), 0);
}
return this;
}