//
// FriendPickerPopup::getUserListFinished from 0x758a14 to 0x758a84 (112 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'FriendPickerPopup::getUserListFinished @ 0x758a8c
//
// 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:58:57 +0000
//
PagedListPopup *__fastcall FriendPickerPopup::getUserListFinished(
PagedListPopup *result,
cocos2d::CCObject *a2,
int a3)
{
PagedListPopup *v3; // r4
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
v3 = result;
if ( a3 == 2 )
{
PagedListPopup::fadeLoading(result, (int)a2, 2);
v5 = *((cocos2d::CCObject **)v3 + 153);
if ( v5 )
cocos2d::CCObject::release(v5);
*((_DWORD *)v3 + 153) = a2;
cocos2d::CCObject::retain(a2);
*((_BYTE *)v3 + 620) = 1;
}
else
{
if ( a3 )
return result;
PagedListPopup::fadeLoading(result, (int)a2, 0);
v6 = *((cocos2d::CCObject **)v3 + 152);
if ( v6 )
cocos2d::CCObject::release(v6);
*((_DWORD *)v3 + 152) = a2;
cocos2d::CCObject::retain(a2);
if ( cocos2d::CCArray::count(*((cocos2d::CCArray **)v3 + 152)) > 1u )
qsort(
*(void **)(*(_DWORD *)(*((_DWORD *)v3 + 152) + 52) + 12),
**(_DWORD **)(*((_DWORD *)v3 + 152) + 52),
4u,
(int (*)(const void *, const void *))sub_74CD4C);
}
return (PagedListPopup *)FriendPickerPopup::buildRows((ScrollableContentLayer **)v3);
}