//
// FriendsProfilePage::getUserListFailed from 0x140215600 to 0x1402156ca (202 bytes)
//
// 2 xrefs:
// > ??> @ 0x140757458
// > ??> @ 0x14091b6bc
//
// This function is hookable on this platform (idp: pc, 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 11:28:20 +0000
//
__int64 __fastcall FriendsProfilePage::getUserListFailed(__int64 a1, __int64 a2, int a3)
{
__int64 result; // rax
__int64 v4; // rdi
__int64 v7; // rcx
cocos2d::CCObject *v8; // rcx
const char *v9; // rdx
__int64 v10; // rcx
result = *(unsigned int *)(a1 + 8);
v4 = a1 - 808;
if ( (_DWORD)a2 == 2 )
{
if ( (_DWORD)result == 1 )
return result;
v7 = *(_QWORD *)(a1 - 112);
if ( v7 )
LoadingCircle::fadeAndRemove(v7);
LOBYTE(a2) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 104) + 336LL))(*(_QWORD *)(a1 + 104), a2);
if ( a3 == -2 )
{
v8 = *(cocos2d::CCObject **)(v4 + 872);
if ( v8 )
{
cocos2d::CCObject::release(v8);
*(_QWORD *)(a1 + 64) = 0;
}
*(_BYTE *)(a1 + 120) = 1;
FriendsProfilePage::updateCountLabel(v4);
v9 = "Nothing found";
return PagedListPopup::showStatus(v4, v9);
}
goto LABEL_13;
}
if ( (_DWORD)result != (_DWORD)a2 )
return result;
v10 = *(_QWORD *)(a1 - 112);
if ( v10 )
LoadingCircle::fadeAndRemove(v10);
LOBYTE(a2) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 104) + 336LL))(*(_QWORD *)(a1 + 104), a2);
v9 = "Nothing found";
if ( a3 != -2 )
LABEL_13:
v9 = "Something went wrong";
return PagedListPopup::showStatus(v4, v9);
}