//
// FriendsProfilePage::create from 0x100734a40 to 0x100734bb2 (370 bytes)
//
// 2 xrefs:
// > FriendsProfilePage::onSwitchList @ 0x100735b42
// > ProfilePage::onFriends @ 0x1008a44f0
//
// This function is hookable on this platform (idp: pc, 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 12:36:24 +0000
//
char *__fastcall FriendsProfilePage::create(unsigned int a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x3D0u);
__bzero(v1, 976);
sub_100737E80(v1);
*(_QWORD *)v1 = off_100B99D48;
*((_QWORD *)v1 + 40) = off_100B9A310;
*((_QWORD *)v1 + 41) = &off_100B9A380;
*((_QWORD *)v1 + 42) = off_100B9A398;
*((_QWORD *)v1 + 43) = off_100B9A3B8;
*((_QWORD *)v1 + 44) = off_100B9A3E0;
*((_QWORD *)v1 + 51) = off_100B9A410;
*((_QWORD *)v1 + 54) = off_100B9A490;
*((_QWORD *)v1 + 68) = off_100B9A4B0;
*((_QWORD *)v1 + 97) = off_100B9A4F8;
*((_QWORD *)v1 + 98) = &off_100B9A528;
*((_QWORD *)v1 + 99) = off_100B9A540;
*((_QWORD *)v1 + 100) = &off_100B9A560;
*((_QWORD *)v1 + 101) = off_100B9A578;
*((_DWORD *)v1 + 204) = 0;
*(_OWORD *)(v1 + 824) = 0;
*(_OWORD *)(v1 + 840) = 0;
*(_OWORD *)(v1 + 856) = 0;
*(_OWORD *)(v1 + 872) = 0;
*(_OWORD *)(v1 + 888) = 0;
*(_OWORD *)(v1 + 904) = 0;
v1[920] = 0;
*((_OWORD *)v1 + 58) = 0;
v1[944] = 0;
*(_OWORD *)(v1 + 952) = 0;
v1[968] = 0;
if ( (unsigned __int8)FriendsProfilePage::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}