//
// EditorSoundConfigInfoLayer::startServerDelete from 0x140197cc0 to 0x140197d60 (160 bytes)
//
// 3 xrefs:
// > EditorSoundConfigInfoLayer::adminActionConfirmed @ 0x140197d72
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x140198608
// > ??> @ 0x1409195e0
//
// 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:27:45 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall EditorSoundConfigInfoLayer::startServerDelete(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v6; // rdi
__int64 v7; // rcx
void *v8; // [rsp+30h] [rbp+8h]
if ( *(_QWORD *)(a1 + 1072) )
{
v6 = a1 + 1008;
v7 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v8 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v8);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v7 = *(_QWORD *)&qword_14090BFB0;
}
*(_QWORD *)(v7 + 1472) = v6;
GameLevelManager::deleteServerEditorSound(v7, *(unsigned int *)(*(_QWORD *)(a1 + 1072) + 320LL), a2, a3);
}
}