//
// FRequestProfilePage::getUserListFinished from 0xa4cc64 to 0xa4cd8c (296 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FRequestProfilePage::getUserListFinished @ 0xa4cd90
// > ??> @ 0x63730
// > ??> @ 0x148b9a0
//
// 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::getUserListFinished(__int64 result, cocos2d::CCObject *this, int a3)
{
__int64 v3; // x19
cocos2d::CCObject *v4; // x0
__int64 v6; // x21
void (__fastcall *v7)(__int64, __int64); // x22
const char *v8; // x1
cocos2d::CCString *v9; // x0
__int64 CString; // x0
if ( a3 == 2 )
{
v3 = result;
v4 = *(cocos2d::CCObject **)(result + 872);
if ( v4 )
cocos2d::CCObject::release(v4);
*(_QWORD *)(v3 + 872) = this;
cocos2d::CCObject::retain(this);
*(_BYTE *)(v3 + 880) = 1;
FRequestProfilePage::setupCommentsBrowser((FRequestProfilePage *)v3, *(cocos2d::CCArray **)(v3 + 872));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 792) + 344LL))(*(_QWORD *)(v3 + 792), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v3 + 832) + 344LL))(*(_QWORD *)(v3 + 832), 1);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 776) + 344LL))(*(_QWORD *)(v3 + 776), 0);
v6 = *(_QWORD *)(v3 + 760);
v7 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL);
if ( this )
{
v8 = (const char *)(unsigned int)cocos2d::CCArray::count(this);
v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Found: %i users", v8);
}
else
{
v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Found: %i users", nullptr);
}
CString = cocos2d::CCString::getCString(v9);
v7(v6, CString);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 824) + 344LL))(*(_QWORD *)(v3 + 824), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v3 + 816) + 344LL))(*(_QWORD *)(v3 + 816), 0);
return FRequestProfilePage::updateSelectUI((GJSelectionStrip **)v3);
}
return result;
}