//
// GameLevelManager::resetStoredUserList from 0x100555370 to 0x1005553f4 (132 bytes)
//
// 1 xrefs:
// > GameLevelManager::invalidateUserList @ 0x100556b62
//
// 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::resetStoredUserList(GameLevelManager *a1, UserListType a2)
{
cocos2d::CCDictionary *v2; // rdi
cocos2d::CCDictionary *m_storedLevels; // rdi
char v4; // [rsp+0h] [rbp-20h] BYREF
void *v5[3]; // [rsp+1h] [rbp-1Fh] BYREF
if ( a2 == Blocked )
{
m_storedLevels = a1->m_storedLevels;
v4 = 22;
strcpy((char *)v5, "get_blocked");
cocos2d::CCDictionary::removeObjectForKey_1((__int64)m_storedLevels, &v4);
}
else
{
if ( a2 )
return;
v2 = a1->m_storedLevels;
v4 = 22;
strcpy((char *)v5, "get_friends");
cocos2d::CCDictionary::removeObjectForKey_1((__int64)v2, &v4);
}
if ( (v4 & 1) != 0 )
operator delete(*(void **)((char *)&v5[1] + 7));
}