//
// LevelListLayer::levelListDeleteFinished from 0x1002e42ac to 0x1002e4350 (164 bytes)
//
// 2 xrefs:
// > sub_1002E436C @ 0x1002e4370
// > ??> @ 0x100923a40
//
// 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 11:02:49 +0000
//
__int64 __fastcall LevelListLayer::levelListDeleteFinished(__int64 result, int a2)
{
__int64 v2; // x19
__int64 v3; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( *(_DWORD *)(*(_QWORD *)(result + 912) + 344LL) == a2 )
{
v2 = result;
sub_100009900(__p, "The list has been removed from the server.");
v3 = FLAlertLayer::create_1(0, "List Deleted", __p, "OK", 0, 300.0);
if ( v5 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v2 + 736) + 344LL))(*(_QWORD *)(v2 + 736), 0);
}
return result;
}