//
// GameLevelManager::onDeleteServerLevelListCompleted from 0x3ce6ec to 0x3ce75e (114 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x3d7652
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_DWORD **__fastcall GameLevelManager::onDeleteServerLevelListCompleted(int a1, int a2, const char **a3, int a4)
{
int v7; // r6
_BOOL4 v8; // r8
int v9; // r2
_DWORD **result; // r0
_DWORD v11[2]; // [sp+8h] [bp-8h] BYREF
v11[0] = a3;
v11[1] = a4;
std::_Rb_tree,std::less,std::allocator>::erase(
(_DWORD *)(a1 + 264),
(int)a3);
v7 = atoi(*a3);
sub_776584((int)v11, "-1");
v8 = sub_3BE0D8(a2, (int)v11);
sub_774008(v11);
result = *(_DWORD ***)(a1 + 528);
if ( v8 )
{
if ( result )
return (_DWORD **)((int (__fastcall *)(_DWORD **, int, int, _DWORD))(*result)[1])(result, v7, v9, (*result)[1]);
}
else if ( result )
{
return (_DWORD **)((int (__fastcall *)(_DWORD **, int, int, _DWORD))**result)(result, v7, v9, **result);
}
return result;
}