//
// FriendPickerPopup::getUserListFinished from 0xc81324 to 0xc813f4 (208 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'FriendPickerPopup::getUserListFinished @ 0xc813f8
// > ??> @ 0x58060
// > ??> @ 0x14ee310
//
// 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:05:39 +0000
//
PagedListPopup *__fastcall FriendPickerPopup::getUserListFinished(
PagedListPopup *result,
cocos2d::CCObject *a2,
int a3)
{
PagedListPopup *v3; // x19
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x1
cocos2d::CCObject *v6; // x0
cocos2d::CCObject *v7; // x1
v3 = result;
if ( a3 == 2 )
{
PagedListPopup::fadeLoading(result);
v6 = *((cocos2d::CCObject **)v3 + 101);
v7 = a2;
if ( v6 )
{
cocos2d::CCObject::release(v6);
v7 = a2;
}
*((_QWORD *)v3 + 101) = v7;
cocos2d::CCObject::retain(v7);
*((_BYTE *)v3 + 824) = 1;
return (PagedListPopup *)FriendPickerPopup::buildRows(v3);
}
else if ( !a3 )
{
PagedListPopup::fadeLoading(result);
v4 = *((cocos2d::CCObject **)v3 + 100);
v5 = a2;
if ( v4 )
{
cocos2d::CCObject::release(v4);
v5 = a2;
}
*((_QWORD *)v3 + 100) = v5;
cocos2d::CCObject::retain(v5);
if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)v3 + 100)) > 1 )
qsort(
*(void **)(*(_QWORD *)(*((_QWORD *)v3 + 100) + 56LL) + 16LL),
**(unsigned int **)(*((_QWORD *)v3 + 100) + 56LL),
8u,
(int (*)(const void *, const void *))sub_C6E548);
return (PagedListPopup *)FriendPickerPopup::buildRows(v3);
}
return result;
}