//
// GameLevelManager::getStoredUserList from 0x4af08c to 0x4af15e (210 bytes)
//
// 5 xrefs:
// > GameLevelManager::removeUserFromList @ 0x4af180
// > GameLevelManager::storedFriendForAccountID @ 0x4af1d8
// > GameLevelManager::onRemoveFriendCompleted @ 0x4c284e
// > FriendsProfilePage::init @ 0x5f44ba
// > FriendPickerPopup::init @ 0x74a390
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:50:01 +0000
//
int __fastcall GameLevelManager::getStoredUserList(int a1, int a2, int a3, int a4)
{
int v4; // r4
int v5; // r0
int v6; // r4
int v7; // r4
int v8; // r4
int v9; // r4
int v11; // [sp+0h] [bp-10h] BYREF
int v12; // [sp+4h] [bp-Ch]
int v13; // [sp+8h] [bp-8h]
int v14; // [sp+Ch] [bp-4h]
v11 = a1;
v12 = a2;
v13 = a3;
v14 = a4;
switch ( a2 )
{
case 0:
v4 = *(_DWORD *)(a1 + 724);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "get_friends", 0xBu);
v5 = cocos2d::CCDictionary::objectForKey(v4, &v11);
goto LABEL_6;
case 1:
v6 = *(_DWORD *)(a1 + 724);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "get_blocked", 0xBu);
v5 = cocos2d::CCDictionary::objectForKey(v6, &v11);
goto LABEL_6;
case 3:
v7 = *(_DWORD *)(a1 + 724);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "get_following", 0xDu);
v5 = cocos2d::CCDictionary::objectForKey(v7, &v11);
goto LABEL_6;
case 4:
v8 = *(_DWORD *)(a1 + 724);
v11 = 0;
v12 = 0;
v13 = 0;
std::string::__init(&v11, "get_muted", 9u);
v5 = cocos2d::CCDictionary::objectForKey(v8, &v11);
LABEL_6:
v9 = v5;
std::string::~string((int)&v11);
break;
default:
v9 = 0;
break;
}
return v9;
}