//
// FriendPickerPopup::create from 0x74a3f8 to 0x74a4ee (246 bytes)
//
// 3 xrefs:
// > MessageThreadsPage::onUserFilter @ 0x74a502
// > MemberListPopup::onAddMember @ 0x74a544
// > NewThreadPopup::onOpenPicker @ 0x74a57a
//
// 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:45 +0000
//
PagedListPopup *__fastcall FriendPickerPopup::create(
FriendPickerPopup *this,
FriendPickerDelegate *a2,
int a3,
bool a4,
bool a5,
bool a6)
{
PagedListPopup *v10; // r4
int v11; // r3
int *v12; // r0
v10 = (PagedListPopup *)operator new(0x290u);
PagedListPopup::PagedListPopup(v10);
*(_DWORD *)v10 = &off_CF1468;
*((_DWORD *)v10 + 66) = &off_CF1734;
*((_DWORD *)v10 + 67) = &off_CF176C;
*((_DWORD *)v10 + 68) = &off_CF1778;
*((_DWORD *)v10 + 69) = &off_CF1788;
*((_DWORD *)v10 + 70) = &off_CF179C;
*((_DWORD *)v10 + 79) = &off_CF17B4;
*((_DWORD *)v10 + 83) = &off_CF17F4;
*((_DWORD *)v10 + 110) = &off_CF1804;
*((_DWORD *)v10 + 150) = &off_CF1840;
*((_DWORD *)v10 + 151) = 0;
*((_DWORD *)v10 + 152) = 0;
*((_DWORD *)v10 + 153) = 0;
*((_DWORD *)v10 + 154) = 0;
*((_BYTE *)v10 + 620) = 0;
*((_BYTE *)v10 + 621) = 0;
*((_BYTE *)v10 + 622) = 0;
*((_BYTE *)v10 + 623) = 0;
*((_BYTE *)v10 + 624) = 0;
*((_DWORD *)v10 + 157) = 0;
*((_DWORD *)v10 + 158) = 0;
*((_DWORD *)v10 + 159) = 0;
*((_BYTE *)v10 + 640) = 0;
*((_DWORD *)v10 + 161) = 0;
*((_DWORD *)v10 + 162) = 0;
*((_DWORD *)v10 + 163) = 0;
*((_DWORD *)v10 + 149) = &off_CF1828;
if ( FriendPickerPopup::init(v10, this, (int)a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease(v10);
}
else
{
v11 = *(_DWORD *)v10;
v12 = (int *)v10;
v10 = nullptr;
(*(void (__fastcall **)(int *))(v11 + 8))(v12);
}
return v10;
}