//
// GameLevelManager::removeUserFromList from 0x10057c590 to 0x10057c63d (173 bytes)
//
// 0 xrefs:
//
// 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:32:19 +0000
//
__int64 __fastcall GameLevelManager::removeUserFromList(__int64 a1, int a2, unsigned int a3)
{
__int64 result; // rax
__int64 v5; // r14
unsigned int v6; // r13d
__int64 v7; // rdi
result = sub_10057BF90(a1, a3);
if ( result )
{
v5 = result;
result = sub_1007FEF90(result);
if ( (_DWORD)result )
{
v6 = 0;
while ( *(_DWORD *)(sub_1007FEFE0(v5, v6) + 376) != a2 )
{
++v6;
result = sub_1007FEF90(v5);
if ( v6 >= (unsigned int)result )
return result;
}
result = sub_1007FF150(v5, v6, 1);
v7 = *(_QWORD *)(a1 + 1368);
if ( v7 )
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v7 + 16LL))(v7, v5, a3);
}
}
return result;
}