//
// FriendsProfilePage::forceReloadList from 0x5f3940 to 0x5f39b2 (114 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendsProfilePage::forceReloadList @ 0x5f39b6
//
// 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:54:29 +0000
//
int __fastcall FriendsProfilePage::forceReloadList(int result, int a2)
{
int v2; // r4
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
GameLevelManager *v6; // r0
GameLevelManager *v7; // r0
v2 = result;
if ( *(_DWORD *)(result + 616) == a2 )
{
*(_BYTE *)(result + 668) = 0;
v3 = *(cocos2d::CCObject **)(result + 644);
if ( v3 )
{
cocos2d::CCObject::release(v3);
*(_DWORD *)(v2 + 644) = 0;
}
v4 = *(cocos2d::CCObject **)(v2 + 640);
if ( v4 )
{
cocos2d::CCObject::release(v4);
*(_DWORD *)(v2 + 640) = 0;
}
v5 = *(cocos2d::CCObject **)(v2 + 636);
if ( v5 )
{
cocos2d::CCObject::release(v5);
*(_DWORD *)(v2 + 636) = 0;
}
PagedListPopup::showLoading((PagedListPopup *)v2);
PagedListPopup::clearStatus((PagedListPopup *)v2);
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v2 + 660) + 172))(*(_DWORD *)(v2 + 660), 0);
FriendsProfilePage::rebuildList((cocos2d::CCArray **)v2);
v7 = (GameLevelManager *)GameLevelManager::sharedState(v6);
return GameLevelManager::getUserList(v7, *(const char **)(v2 + 616));
}
return result;
}