//
// FriendsProfilePage::getUserListFailed from 0xa50360 to 0xa5044c (236 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendsProfilePage::getUserListFailed @ 0xa50450
// > ??> @ 0x88d08
// > ??> @ 0x148c678
//
// 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
//
PagedListPopup *__fastcall FriendsProfilePage::getUserListFailed(PagedListPopup *result, int a2, int a3)
{
PagedListPopup *v3; // x19
cocos2d::CCObject *v4; // x0
PagedListPopup *v5; // x0
const char *v6; // x1
v3 = result;
if ( a2 != 2 )
{
if ( *((_DWORD *)result + 204) != a2 )
return result;
PagedListPopup::fadeLoading(result);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)v3 + 113) + 344LL))(*((_QWORD *)v3 + 113), 1);
v5 = v3;
if ( a3 != -2 )
goto LABEL_12;
goto LABEL_9;
}
if ( *((_DWORD *)result + 204) != 1 )
{
PagedListPopup::fadeLoading(result);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)v3 + 113) + 344LL))(*((_QWORD *)v3 + 113), 1);
if ( a3 != -2 )
{
v5 = v3;
LABEL_12:
v6 = "Something went wrong";
return (PagedListPopup *)PagedListPopup::showStatus(v5, v6);
}
v4 = *((cocos2d::CCObject **)v3 + 109);
if ( v4 )
{
cocos2d::CCObject::release(v4);
*((_QWORD *)v3 + 109) = 0;
}
*((_BYTE *)v3 + 920) = 1;
FriendsProfilePage::rebuildList((cocos2d::CCArray **)v3);
v5 = v3;
LABEL_9:
v6 = "Nothing found";
return (PagedListPopup *)PagedListPopup::showStatus(v5, v6);
}
return result;
}