//
// FriendsProfilePage::forceReloadList from 0xa50454 to 0xa504f4 (160 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendsProfilePage::forceReloadList @ 0xa504f8
// > ??> @ 0x5e018
// > ??> @ 0x148c688
//
// 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 13:00:04 +0000
//
__int64 __fastcall FriendsProfilePage::forceReloadList(__int64 this, int a2)
{
__int64 v2; // x19
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
ScrollableContentLayer *v6; // x0
GameLevelManager *v7; // x0
if ( *(_DWORD *)(this + 816) == a2 )
{
v2 = this;
v3 = *(cocos2d::CCObject **)(this + 872);
*(_BYTE *)(v2 + 920) = 0;
if ( v3 )
{
cocos2d::CCObject::release(v3);
*(_QWORD *)(v2 + 872) = 0;
}
v4 = *(cocos2d::CCObject **)(v2 + 864);
if ( v4 )
{
cocos2d::CCObject::release(v4);
*(_QWORD *)(v2 + 864) = 0;
}
v5 = *(cocos2d::CCObject **)(v2 + 856);
if ( v5 )
{
cocos2d::CCObject::release(v5);
*(_QWORD *)(v2 + 856) = 0;
}
PagedListPopup::showLoading((PagedListPopup *)v2);
PagedListPopup::clearStatus((PagedListPopup *)v2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v2 + 904) + 344LL))(*(_QWORD *)(v2 + 904), 0);
v6 = FriendsProfilePage::rebuildList((cocos2d::CCArray **)v2);
v7 = (GameLevelManager *)GameLevelManager::sharedState(v6);
return GameLevelManager::getUserList(v7, *(_DWORD *)(v2 + 816));
}
return this;
}