//
// sub_10034B860 from 0x10034b860 to 0x10034b8fc (156 bytes)
//
// 1 xrefs:
// > LevelListLayer::FLAlert_Clicked @ 0x10034b5d5
//
// 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:47 +0000
//
void __fastcall sub_10034B860(__int64 a1)
{
__int64 v1; // rax
_WORD v2[8]; // [rsp+8h] [rbp-38h] BYREF
void *v3; // [rsp+18h] [rbp-28h]
void *__p[2]; // [rsp+20h] [rbp-20h] BYREF
__int64 v5; // [rsp+30h] [rbp-10h]
v2[0] = 0;
*(_OWORD *)__p = 0;
v5 = 0;
if ( !*(_BYTE *)(a1 + 952) )
{
*(_QWORD *)(GameLevelManager::sharedState(0.0) + 1312) = a1 + 864;
v1 = GameLevelManager::sharedState(0.0);
GameLevelManager::deleteServerLevelList(v1, *(unsigned int *)(*(_QWORD *)(a1 + 912) + 344LL), v2, __p);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 736) + 344LL))(*(_QWORD *)(a1 + 736), 1);
if ( __p[0] )
{
__p[1] = __p[0];
operator delete(__p[0]);
}
}
if ( (v2[0] & 1) != 0 )
operator delete(v3);
}