//
// LevelInfoLayer::startServerDelete from 0x140423240 to 0x1404232f7 (183 bytes)
//
// 4 xrefs:
// > LevelInfoLayer::adminActionConfirmed @ 0x14042330f
// > LevelInfoLayer::FLAlert_Clicked @ 0x140426087
// > ??> @ 0x1409268c4
// > ??> @ 0x1409268d0
//
// 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:10 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall LevelInfoLayer::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 + 488) )
{
v6 = a1 + 448;
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 + 1432) = v6;
GameLevelManager::deleteServerLevel(
v7,
*(_DWORD *)(*(_QWORD *)(a1 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 332LL),
a2,
a3);
LOBYTE(v8) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 648) + 336LL))(*(_QWORD *)(a1 + 648), v8);
}
}