//
// GameLevelManager::removeUserFromList from 0x100556310 to 0x1005563bd (173 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall GameLevelManager::removeUserFromList(GameLevelManager *a1, int a2, UserListType a3)
{
cocos2d::CCArray *StoredUserList; // rax
cocos2d::CCArray *v5; // r14
unsigned int v6; // r13d
UserListDelegate *m_userListDelegate; // rdi
StoredUserList = GameLevelManager::getStoredUserList(a1, a3);
if ( StoredUserList )
{
v5 = StoredUserList;
if ( (unsigned int)sub_100720070(StoredUserList) )
{
v6 = 0;
while ( *(_DWORD *)(sub_1007200C0(v5, v6) + 376) != a2 )
{
if ( ++v6 >= (unsigned int)sub_100720070(v5) )
return;
}
sub_100720230(v5, v6, 1);
m_userListDelegate = a1->m_userListDelegate;
if ( m_userListDelegate )
((void (__fastcall *)(UserListDelegate *, cocos2d::CCArray *, _QWORD))m_userListDelegate->userListChanged)(
m_userListDelegate,
v5,
(unsigned int)a3);
}
}
}