//
// LevelInfoLayer::startServerDelete from 0x10002e378 to 0x10002e3ec (116 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::onOwnerDelete @ 0x10002e318
// > LevelInfoLayer::adminActionConfirmed @ 0x10002e3f8
// > sub_10002E400 @ 0x10002e410
//
// 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 10:57:29 +0000
//
__int64 __fastcall LevelInfoLayer::startServerDelete(__int64 result, __int64 a2, __int64 a3)
{
__int64 v5; // x19
__int64 v6; // x0
__int64 v7; // x0
if ( (*(_BYTE *)(result + 488) & 1) == 0 )
{
v5 = result;
v6 = GameLevelManager::sharedState(result);
*(_QWORD *)(v6 + 1304) = v5 + 448;
v7 = GameLevelManager::sharedState(v6);
sub_1000BB6EC(
v7,
(unsigned int)(*(_DWORD *)(*(_QWORD *)(v5 + 504) + 328LL) - *(_DWORD *)(*(_QWORD *)(v5 + 504) + 332LL)),
a2,
a3);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v5 + 648) + 344LL))(*(_QWORD *)(v5 + 648), 1);
}
return result;
}