//
// FriendsProfilePage::create from 0x100271580 to 0x100271688 (264 bytes)
//
// 2 xrefs:
// > ProfilePage::onFriends @ 0x10022f2b8
// > FriendsProfilePage::onSwitchList @ 0x1002722d4
//
// 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:01:47 +0000
//
char *__fastcall FriendsProfilePage::create(__int64 a1)
{
char *v2; // x19
v2 = (char *)operator new(0x3D0u);
bzero(v2, 0x3D0u);
PagedListPopup::PagedListPopup(v2);
*(_QWORD *)v2 = off_100917DA8;
*((_QWORD *)v2 + 40) = off_100918370;
*((_QWORD *)v2 + 41) = &off_1009183E0;
*((_QWORD *)v2 + 42) = off_1009183F8;
*((_QWORD *)v2 + 43) = off_100918418;
*((_QWORD *)v2 + 44) = off_100918440;
*((_QWORD *)v2 + 51) = off_100918470;
*((_QWORD *)v2 + 54) = off_1009184F0;
*((_QWORD *)v2 + 68) = off_100918510;
*((_QWORD *)v2 + 97) = off_100918558;
*((_QWORD *)v2 + 98) = &off_100918588;
*((_QWORD *)v2 + 99) = off_1009185A0;
*((_QWORD *)v2 + 100) = &off_1009185C0;
*((_QWORD *)v2 + 101) = off_1009185D8;
*((_DWORD *)v2 + 204) = 0;
v2[920] = 0;
*(_OWORD *)(v2 + 824) = 0u;
*(_OWORD *)(v2 + 840) = 0u;
*(_OWORD *)(v2 + 856) = 0u;
*(_OWORD *)(v2 + 872) = 0u;
*(_OWORD *)(v2 + 888) = 0u;
*(_OWORD *)(v2 + 904) = 0u;
v2[944] = 0;
*((_OWORD *)v2 + 58) = 0u;
*(_OWORD *)(v2 + 952) = 0u;
v2[968] = 0;
if ( (unsigned int)FriendsProfilePage::init(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}