//
// LevelListLayer::startServerDelete from 0x140430740 to 0x1404307f1 (177 bytes)
//
// 3 xrefs:
// > LevelListLayer::FLAlert_Clicked @ 0x14042f3e6
// > LevelListLayer::adminActionConfirmed @ 0x140430812
// > ??> @ 0x140926c60
//
// This function is hookable on this platform (idp: pc, 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:32:15 +0000
//
void __fastcall LevelListLayer::startServerDelete(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // rdi
__int64 v7; // rcx
__int64 v8; // rdx
void *v9; // [rsp+30h] [rbp+8h]
if ( !*(_BYTE *)(a1 + 968) )
{
v6 = a1 + 864;
v7 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v9 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v9);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v7 = *(_QWORD *)&qword_14090BFB0;
}
*(_QWORD *)(v7 + 1440) = v6;
GameLevelManager::deleteServerLevelList(v7, *(_DWORD *)(*(_QWORD *)(a1 + 920) + 344LL), a2, a3);
LOBYTE(v8) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 736) + 336LL))(*(_QWORD *)(a1 + 736), v8);
}
}