//
// FriendsProfilePage::getUserListFailed from 0x5f38a4 to 0x5f3928 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendsProfilePage::getUserListFailed @ 0x5f393c
//
// 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
//
PagedListPopup *__fastcall FriendsProfilePage::getUserListFailed(PagedListPopup *result, int a2, int a3)
{
PagedListPopup *v3; // r4
int v5; // r3
cocos2d::CCObject *v6; // r0
const char *v7; // r1
v3 = result;
v5 = *((_DWORD *)result + 154);
if ( a2 == 2 )
{
if ( v5 != 1 )
{
PagedListPopup::fadeLoading(result);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)v3 + 165) + 172))(*((_DWORD *)v3 + 165), 1);
if ( a3 == -2 )
{
v6 = *((cocos2d::CCObject **)v3 + 161);
if ( v6 )
{
cocos2d::CCObject::release(v6);
*((_DWORD *)v3 + 161) = 0;
}
*((_BYTE *)v3 + 668) = 1;
FriendsProfilePage::rebuildList((cocos2d::CCArray **)v3);
return (PagedListPopup *)PagedListPopup::showStatus(v3, "Nothing found");
}
else
{
return (PagedListPopup *)PagedListPopup::showStatus(v3, "Something went wrong");
}
}
}
else if ( v5 == a2 )
{
PagedListPopup::fadeLoading(result);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)v3 + 165) + 172))(*((_DWORD *)v3 + 165), 1);
if ( a3 == -2 )
v7 = "Nothing found";
else
v7 = "Something went wrong";
return (PagedListPopup *)PagedListPopup::showStatus(v3, v7);
}
return result;
}