//
// FRequestProfilePage::getUserListFinished from 0x140210c80 to 0x140210d8c (268 bytes)
//
// 4 xrefs:
// > ??> @ 0x140755f98
// > ??> @ 0x1408a4e48
// > ??> @ 0x1408a4e58
// > ??> @ 0x14091b4a0
//
// 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
//
void __fastcall FRequestProfilePage::getUserListFinished(__int64 a1, cocos2d::CCObject *a2, int a3)
{
cocos2d::CCObject *v4; // rcx
__int64 v6; // rdx
__int64 v7; // rdx
unsigned int v8; // eax
cocos2d::CCString *v9; // rax
const char *CString; // rax
__int64 v11; // rdx
if ( a3 == 2 )
{
v4 = *(cocos2d::CCObject **)(a1 + 192);
if ( v4 )
cocos2d::CCObject::release(v4);
*(_QWORD *)(a1 + 192) = a2;
cocos2d::CCObject::retain(a2);
v6 = *(_QWORD *)(a1 + 192);
*(_BYTE *)(a1 + 200) = 1;
FRequestProfilePage::setupCommentsBrowser(a1 - 696, v6);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 112) + 336LL))(*(_QWORD *)(a1 + 112), 0);
LOBYTE(v7) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 152) + 336LL))(*(_QWORD *)(a1 + 152), v7);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 96) + 336LL))(*(_QWORD *)(a1 + 96), 0);
if ( a2 )
v8 = cocos2d::CCArray::count(a2);
else
v8 = 0;
v9 = cocos2d::CCString::createWithFormat("Found: %i users", v8);
CString = cocos2d::CCString::getCString(v9);
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 80) + 360LL))(
*(_QWORD *)(a1 + 80) + 360LL,
CString);
(*(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, v11);
}
}