//
// FRequestProfilePage::getUserListFailed from 0xa4cd94 to 0xa4cecc (312 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FRequestProfilePage::getUserListFailed @ 0xa4ced0
// > ??> @ 0x100930
// > ??> @ 0x148b9a8
//
// 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 13:00:03 +0000
//
__int64 __fastcall FRequestProfilePage::getUserListFailed(__int64 result, int a2, int a3)
{
__int64 v4; // x19
cocos2d::CCObject *v5; // x0
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 = *(cocos2d::CCObject **)(v4 + 872);
if ( v5 )
{
cocos2d::CCObject::release(v5);
*(_QWORD *)(v4 + 872) = 0;
}
*(_BYTE *)(v4 + 880) = 1;
FRequestProfilePage::setupCommentsBrowser((FRequestProfilePage *)v4, nullptr);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(v4 + 760) + 928LL))(*(_QWORD *)(v4 + 760), &byte_11E1A70);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 824) + 344LL))(*(_QWORD *)(v4 + 824), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 816) + 344LL))(*(_QWORD *)(v4 + 816), 0);
FRequestProfilePage::updateSelectUI((GJSelectionStrip **)v4);
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(v4 + 776) + 928LL))(
*(_QWORD *)(v4 + 776),
"Nothing found");
}
else
{
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(v4 + 776) + 928LL))(
*(_QWORD *)(v4 + 776),
"Something went wrong");
}
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 776) + 344LL))(*(_QWORD *)(v4 + 776), 1);
}
return result;
}