//
// GameLevelManager::getStoredUserList from 0x8092f8 to 0x809484 (396 bytes)
//
// 7 xrefs:
// > GameLevelManager::removeUserFromList @ 0x8094ac
// > GameLevelManager::storedFriendForAccountID @ 0x809550
// > GameLevelManager::onRemoveFriendCompleted @ 0x80e720
// > FriendsProfilePage::init @ 0xa50fe4
// > FriendPickerPopup::init @ 0xc69720
// > FriendPickerPopup::init @ 0xc69aa4
// > ??> @ 0x76c78
//
// This function is hookable on this platform (idp: arm, 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:54:46 +0000
//
__int64 __fastcall GameLevelManager::getStoredUserList(__int64 a1, int a2)
{
__int64 v2; // x20
__int64 v3; // x21
__int64 v4; // x0
__int64 v6; // x21
__int64 v7; // x21
__int64 v8; // x21
__int64 v9; // [xsp+30h] [xbp+30h] BYREF
__int64 v10; // [xsp+38h] [xbp+38h]
void *v11; // [xsp+40h] [xbp+40h]
switch ( a2 )
{
case 0:
v8 = *(_QWORD *)(a1 + 1040);
v9 = 0;
v10 = 0;
v11 = nullptr;
std::string::__init(&v9, "get_friends", 0xBu);
v4 = cocos2d::CCDictionary::objectForKey(v8, &v9);
goto LABEL_5;
case 1:
v7 = *(_QWORD *)(a1 + 1040);
v9 = 0;
v10 = 0;
v11 = nullptr;
std::string::__init(&v9, "get_blocked", 0xBu);
v4 = cocos2d::CCDictionary::objectForKey(v7, &v9);
goto LABEL_5;
case 3:
v6 = *(_QWORD *)(a1 + 1040);
v9 = 0;
v10 = 0;
v11 = nullptr;
std::string::__init(&v9, "get_following", 0xDu);
v4 = cocos2d::CCDictionary::objectForKey(v6, &v9);
goto LABEL_5;
case 4:
v3 = *(_QWORD *)(a1 + 1040);
v9 = 0;
v10 = 0;
v11 = nullptr;
std::string::__init(&v9, "get_muted", 9u);
v4 = cocos2d::CCDictionary::objectForKey(v3, &v9);
LABEL_5:
v2 = v4;
if ( (v9 & 1) != 0 )
operator delete(v11);
break;
default:
v2 = 0;
break;
}
return v2;
}