//
// FRequestProfilePage::getUserListFinished from 0x10024c684 to 0x10024c794 (272 bytes)
//
// 2 xrefs:
// > sub_10024C8F4 @ 0x10024c8f8
// > ??> @ 0x10090a378
//
// 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::getUserListFinished(__int64 result, __int64 a2, int a3)
{
__int64 v4; // x19
_DWORD *v5; // x0
__int64 v6; // x21
int v7; // w0
__int64 v8; // x0
__int64 CString; // x0
if ( a3 == 2 )
{
v4 = result;
v5 = *(_DWORD **)(result + 872);
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(v4 + 872) = a2;
cocos2d::CCObject::retain(a2);
*(_BYTE *)(v4 + 880) = 1;
FRequestProfilePage::setupCommentsBrowser(v4, *(_QWORD *)(v4 + 872));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 792) + 344LL))(*(_QWORD *)(v4 + 792), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v4 + 832) + 344LL))(*(_QWORD *)(v4 + 832), 1);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 776) + 344LL))(*(_QWORD *)(v4 + 776), 0);
v6 = *(_QWORD *)(v4 + 760);
if ( a2 )
v7 = sub_1002E757C(a2);
else
v7 = 0;
v8 = sub_1003065B0("Found: %i users", v7);
CString = cocos2d::CCString::getCString(v8);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL))(v6, CString);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 824) + 344LL))(*(_QWORD *)(v4 + 824), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v4 + 816) + 344LL))(*(_QWORD *)(v4 + 816), 0);
return sub_10024C268(v4);
}
return result;
}