//
// GameLevelManager::resetStoredUserList from 0x3c2a98 to 0x3c2b08 (112 bytes)
//
// 3 xrefs:
// > GameLevelManager::onAcceptFriendRequestCompleted @ 0x3c2ca2
// > GameLevelManager::onBlockUserCompleted @ 0x3c2d7e
// > GameLevelManager::invalidateUserList @ 0x3c2f58
//
// 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 GameLevelManager::resetStoredUserList(GameLevelManager *a1, UserListType a2)
{
cocos2d::CCDictionary *m_storedLevels; // r6
cocos2d::CCDictionary *v3; // r6
_BYTE v4[4]; // [sp+8h] [bp-8h] BYREF
if ( !a2 )
{
m_storedLevels = a1->m_storedLevels;
sub_776584((int)v4, "get_friends");
cocos2d::CCDictionary::removeObjectForKey(m_storedLevels);
LABEL_6:
sub_774008(v4);
return;
}
if ( a2 == Blocked )
{
v3 = a1->m_storedLevels;
sub_776584((int)v4, "get_blocked");
cocos2d::CCDictionary::removeObjectForKey(v3);
goto LABEL_6;
}
}