//
// LevelListLayer::confirmOwnerDelete from 0x10035dc10 to 0x10035dd05 (245 bytes)
//
// 1 xrefs:
// > LevelListLayer::init @ 0x10035d2f3
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall LevelListLayer::confirmOwnerDelete(LevelListLayer *a1, cocos2d::CCObject *a2)
{
__int64 v2; // rbx
_QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
if ( !a1->m_exiting )
{
__p = operator new(0x80u);
v3[0] = 129;
v3[1] = 127;
strcpy(
(char *)__p,
"Do you want to delete this list from the server? (Your list will no longer be available online)");
v2 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, "Remove Server List", v3, "NO", "YES", 300.0);
if ( (v3[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1004);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);
}
}