//
// LevelInfoLayer::adminActionConfirmed from 0x1002b16f0 to 0x1002b176d (125 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0e2e0
//
// 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 12:28:01 +0000
//
__int64 __fastcall LevelInfoLayer::adminActionConfirmed(__int64 a1, int a2, __int64 a3, __int64 a4, double a5)
{
__int64 v7; // rax
__int64 result; // rax
if ( a2 == 5 && !*(_BYTE *)(a1 + 488) )
{
*(_QWORD *)(GameLevelManager::sharedState(a5) + 1304) = a1 + 448;
v7 = GameLevelManager::sharedState(a5);
GameLevelManager::deleteServerLevel(
v7,
(unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 332LL)),
a4,
a3);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 648) + 344LL))(*(_QWORD *)(a1 + 648), 1);
}
return result;
}