//
// LevelListLayer::confirmOwnerDelete from 0x6d5f2c to 0x6d6018 (236 bytes)
//
// 0 xrefs:
//
// 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::confirmOwnerDelete(int this, cocos2d::CCObject *a2)
{
int v2; // r6
int v3; // r5
int v4; // r4
int v5; // r0
int v6; // r0
int *v7; // r0
int *v8; // r5
int v9[3]; // [sp+Ch] [bp-20h] BYREF
int v10[3]; // [sp+18h] [bp-14h] BYREF
v2 = *(unsigned __int8 *)(this + 660);
v3 = this;
if ( !*(_BYTE *)(this + 660) )
{
v4 = *(_DWORD *)(*(_DWORD *)(this + 640) + 296);
v5 = GJAccountManager::sharedState((GJAccountManager *)this);
if ( v4 == *(_DWORD *)(v5 + 280) - *(_DWORD *)(v5 + 284) )
{
v9[0] = v2;
v9[1] = v2;
v9[2] = v2;
std::string::__init(
v9,
"Do you want to delete this list from the server? (Your list will no longer be available online)",
0x7Fu);
std::string::basic_string(v10, (int)v9);
v8 = FLAlertLayer::create(
v3 + 444,
(cocos2d::CCLabelBMFont *)"Remove Server List",
(int)v10,
(ButtonSprite *)"NO",
(ButtonSprite *)"YES",
300.0);
std::string::~string((int)v10);
(*(void (__fastcall **)(int *, int))(*v8 + 36))(v8, 1004);
(*(void (__fastcall **)(int *))(*v8 + 656))(v8);
v7 = v9;
}
else
{
std::string::basic_string(v10, *(_DWORD *)(v3 + 640) + 348);
v6 = AdminActionConfirmPopup::createContentDelete(v3 + 620, 1004, "Remove Server List", v10, 2);
(*(void (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6);
v7 = v10;
}
return std::string::~string((int)v7);
}
return this;
}