//
// GameLevelManager::getStoredUserList from 0x1000a9438 to 0x1000a94c8 (144 bytes)
//
// 3 xrefs:
// > GameLevelManager::onRemoveFriendCompleted @ 0x10008d39c
// > GameLevelManager::removeUserFromList @ 0x1000a9744
// > FriendsProfilePage::init @ 0x1001d9370
//
// 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
//
cocos2d::CCArray *__fastcall GameLevelManager::getStoredUserList(GameLevelManager *a1, UserListType a2)
{
cocos2d::CCDictionary *v2; // x19
__int64 v3; // x0
cocos2d::CCDictionary *m_storedLevels; // x19
cocos2d::CCArray *v5; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v8; // [xsp+1Fh] [xbp-11h]
if ( a2 == Blocked )
{
m_storedLevels = a1->m_storedLevels;
sub_100009900(__p, "get_blocked");
v3 = cocos2d::CCDictionary::objectForKey_1(m_storedLevels, __p);
}
else
{
if ( a2 )
return nullptr;
v2 = a1->m_storedLevels;
sub_100009900(__p, "get_friends");
v3 = cocos2d::CCDictionary::objectForKey_1(v2, __p);
}
v5 = (cocos2d::CCArray *)v3;
if ( v8 < 0 )
operator delete(__p[0]);
return v5;
}