//
// FriendsProfilePage::getUserListFailed from 0x100737680 to 0x10073775c (220 bytes)
//
// 2 xrefs:
// > sub_100737760 @ 0x10073776c
// > ??> @ 0x100b9a2c0
//
// 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 12:36:25 +0000
//
__int64 __fastcall FriendsProfilePage::getUserListFailed(__int64 a1, int a2, int a3)
{
__int64 result; // rax
_DWORD *v6; // rdi
const char *v7; // rsi
result = *(unsigned int *)(a1 + 816);
if ( a2 == 2 )
{
if ( (_DWORD)result != 1 )
{
sub_10095D090(a1);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 904) + 344LL))(*(_QWORD *)(a1 + 904), 1);
if ( a3 == -2 )
{
v6 = *(_DWORD **)(a1 + 872);
if ( v6 )
{
cocos2d::CCObject::release(v6);
*(_QWORD *)(a1 + 872) = 0;
}
*(_BYTE *)(a1 + 920) = 1;
FriendsProfilePage::updateCountLabel(a1);
ScrollableContentLayer::reloadVirtualRows(*(_QWORD *)(a1 + 688), 0.0);
v7 = "Nothing found";
}
else
{
v7 = "Something went wrong";
}
return sub_10095D0B0(a1, v7);
}
}
else if ( (_DWORD)result == a2 )
{
sub_10095D090(a1);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 904) + 344LL))(*(_QWORD *)(a1 + 904), 1);
v7 = "Something went wrong";
if ( a3 == -2 )
v7 = "Nothing found";
return sub_10095D0B0(a1, v7);
}
return result;
}