//
// FRequestProfilePage::getUserListFinished from 0x5f148c to 0x5f1536 (170 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FRequestProfilePage::getUserListFinished @ 0x5f1540
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:28 +0000
//
int __fastcall FRequestProfilePage::getUserListFinished(int result, cocos2d::CCObject *this, int a3)
{
int v3; // r4
cocos2d::CCObject *v5; // r0
int v6; // r6
void (__fastcall *v7)(int, int); // r7
const char *v8; // r1
cocos2d::CCString *v9; // r0
int CString; // r0
v3 = result;
if ( a3 == 2 )
{
v5 = *(cocos2d::CCObject **)(result + 624);
if ( v5 )
cocos2d::CCObject::release(v5);
*(_DWORD *)(v3 + 624) = this;
cocos2d::CCObject::retain(this);
*(_BYTE *)(v3 + 628) = 1;
FRequestProfilePage::setupCommentsBrowser((FRequestProfilePage *)v3, *(cocos2d::CCArray **)(v3 + 624));
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v3 + 584) + 172))(*(_DWORD *)(v3 + 584), 0);
(*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v3 + 604) + 172))(*(_DWORD *)(v3 + 604), 1);
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v3 + 576) + 172))(*(_DWORD *)(v3 + 576), 0);
v6 = *(_DWORD *)(v3 + 568);
v7 = *(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 464);
if ( this )
{
v8 = (const char *)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 **)(_DWORD, _DWORD))(**(_DWORD **)(v3 + 600) + 172))(*(_DWORD *)(v3 + 600), 0);
(*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v3 + 596) + 172))(*(_DWORD *)(v3 + 596), 0);
return FRequestProfilePage::updateSelectUI((GJSelectionStrip **)v3);
}
return result;
}