//
// FRequestProfilePage::getUserListFailed from 0x140210d90 to 0x140210e90 (256 bytes)
//
// 4 xrefs:
// > ??> @ 0x140755fa0
// > ??> @ 0x1408a4e78
// > ??> @ 0x1408a4e88
// > ??> @ 0x14091b4c4
//
// 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:19 +0000
//
__int64 __fastcall FRequestProfilePage::getUserListFailed(__int64 a1, int a2, int a3)
{
__int64 v5; // rdx
cocos2d::CCObject *v6; // rcx
__int64 v7; // rdx
const char *v8; // rdx
__int64 v9; // rdx
__int64 result; // rax
if ( a2 == 2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 112) + 336LL))(*(_QWORD *)(a1 + 112), 0);
LOBYTE(v5) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 152) + 336LL))(*(_QWORD *)(a1 + 152), v5);
if ( a3 == -2 )
{
v6 = *(cocos2d::CCObject **)(a1 + 192);
if ( v6 )
{
cocos2d::CCObject::release(v6);
*(_QWORD *)(a1 + 192) = 0;
}
*(_BYTE *)(a1 + 200) = 1;
FRequestProfilePage::setupCommentsBrowser(a1 - 696, 0);
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 80) + 360LL))(
*(_QWORD *)(a1 + 80) + 360LL,
" ");
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 144) + 336LL))(*(_QWORD *)(a1 + 144), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 136) + 336LL))(*(_QWORD *)(a1 + 136), 0);
FRequestProfilePage::updateSelectUI(a1 - 696, v7);
v8 = "Nothing found";
}
else
{
v8 = "Something went wrong";
}
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 96) + 360LL))(*(_QWORD *)(a1 + 96) + 360LL, v8);
LOBYTE(v9) = 1;
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 96) + 336LL))(*(_QWORD *)(a1 + 96), v9);
}
return result;
}