//
// FriendPickerPopup::create from 0x1004f6768 to 0x1004f6874 (268 bytes)
//
// 3 xrefs:
// > sub_1004F52B0 @ 0x1004f52cc
// > sub_1005070C0 @ 0x100507140
// > sub_10050A184 @ 0x10050a1c4
//
// 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 11:06:48 +0000
//
char *__fastcall FriendPickerPopup::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
char *v10; // x19
v10 = (char *)operator new(0x378u);
PagedListPopup::PagedListPopup((__int64)v10);
*(_QWORD *)v10 = off_100996C00;
*((_QWORD *)v10 + 40) = off_100997198;
*((_QWORD *)v10 + 41) = &off_100997208;
*((_QWORD *)v10 + 42) = off_100997220;
*((_QWORD *)v10 + 43) = off_100997240;
*((_QWORD *)v10 + 44) = off_100997268;
*((_QWORD *)v10 + 51) = off_100997298;
*((_QWORD *)v10 + 54) = off_100997318;
*((_QWORD *)v10 + 68) = off_100997338;
*((_QWORD *)v10 + 97) = off_100997380;
*((_QWORD *)v10 + 98) = off_1009973B0;
*(_OWORD *)(v10 + 792) = 0u;
*(_OWORD *)(v10 + 808) = 0u;
*(_QWORD *)(v10 + 821) = 0;
*((_QWORD *)v10 + 104) = 0;
v10[856] = 0;
*(_OWORD *)(v10 + 840) = 0u;
*((_QWORD *)v10 + 110) = 0;
*((_OWORD *)v10 + 54) = 0u;
if ( (unsigned int)FriendPickerPopup::init(v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((__int64)v10);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return v10;
}