//
// FRequestProfilePage::getUserListFailed from 0x100871410 to 0x100871500 (240 bytes)
//
// 2 xrefs:
// > sub_100871500 @ 0x10087150c
// > ??> @ 0x100b9fe50
//
// 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:51 +0000
//
__int64 __fastcall FRequestProfilePage::getUserListFailed(__int64 a1, int a2, int a3)
{
_DWORD *v5; // rdi
const char *v6; // rsi
__int64 result; // rax
if ( a2 == 2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 832) + 344LL))(*(_QWORD *)(a1 + 832), 1);
if ( a3 == -2 )
{
v5 = *(_DWORD **)(a1 + 872);
if ( v5 )
{
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 872) = 0;
}
*(_BYTE *)(a1 + 880) = 1;
FRequestProfilePage::setupCommentsBrowser(a1, 0);
(*(void (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 760) + 928LL))(
*(_QWORD *)(a1 + 760),
" ");
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 824) + 344LL))(*(_QWORD *)(a1 + 824), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 816) + 344LL))(*(_QWORD *)(a1 + 816), 0);
sub_100870A20(a1);
v6 = "Nothing found";
}
else
{
v6 = "Something went wrong";
}
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 776) + 928LL))(*(_QWORD *)(a1 + 776), v6);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 776) + 344LL))(*(_QWORD *)(a1 + 776), 1);
}
return result;
}