//
// FRequestProfilePage::getUserListFailed from 0x10024c8fc to 0x10024c9f8 (252 bytes)
//
// 2 xrefs:
// > sub_10024C9F8 @ 0x10024c9fc
// > ??> @ 0x10090a380
//
// This function is hookable on this platform (idp: arm, 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:01:29 +0000
//
__int64 __fastcall FRequestProfilePage::getUserListFailed(__int64 result, int a2, int a3)
{
__int64 v4; // x19
_DWORD *v5; // x0
const char *v6; // x1
if ( a2 == 2 )
{
v4 = result;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(result + 792) + 344LL))(*(_QWORD *)(result + 792), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 832) + 344LL))(*(_QWORD *)(v4 + 832), 1);
if ( a3 == -2 )
{
v5 = *(_DWORD **)(v4 + 872);
if ( v5 )
{
cocos2d::CCObject::release(v5);
*(_QWORD *)(v4 + 872) = 0;
}
*(_BYTE *)(v4 + 880) = 1;
FRequestProfilePage::setupCommentsBrowser(v4, 0);
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(v4 + 760) + 928LL))(*(_QWORD *)(v4 + 760), " ");
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 824) + 344LL))(*(_QWORD *)(v4 + 824), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 816) + 344LL))(*(_QWORD *)(v4 + 816), 0);
sub_10024C268(v4);
v6 = "Nothing found";
}
else
{
v6 = "Something went wrong";
}
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(v4 + 776) + 928LL))(*(_QWORD *)(v4 + 776), v6);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 776) + 344LL))(*(_QWORD *)(v4 + 776), 1);
}
return result;
}