//
// FriendsProfilePage::create from 0x8f73d0 to 0x8f7518 (328 bytes)
//
// 4 xrefs:
// > FriendsProfilePage::onBlocked @ 0x8f7564
// > FriendsProfilePage::onClose @ 0x8f75fc
// > ProfilePage::onFriends @ 0x8f7d2c
// > ??> @ 0x9b4f0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
FriendsProfilePage *FriendsProfilePage::create(UserListType a1)
{
__int64 v2; // x19
v2 = operator new(0x2D8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v2);
*(_DWORD *)(v2 + 616) = -1;
*(_DWORD *)(v2 + 624) = -1;
*(_QWORD *)(v2 + 544) = 0;
*(_QWORD *)(v2 + 552) = 0;
*(_QWORD *)(v2 + 560) = 0;
*(_BYTE *)(v2 + 568) = 0;
*(_QWORD *)(v2 + 576) = 0;
*(_DWORD *)(v2 + 584) = 0;
*(_BYTE *)(v2 + 588) = 0;
*(_QWORD *)(v2 + 592) = 0;
*(_QWORD *)(v2 + 600) = 0;
*(_QWORD *)(v2 + 608) = 0;
*(_BYTE *)(v2 + 620) = 0;
*(_BYTE *)(v2 + 621) = 0;
*(_BYTE *)(v2 + 628) = 0;
*(_DWORD *)(v2 + 664) = 0;
*(_QWORD *)v2 = &off_11A5C30;
*(_QWORD *)(v2 + 320) = off_11A6170;
*(_QWORD *)(v2 + 328) = &off_11A61E0;
*(_QWORD *)(v2 + 336) = &off_11A61F8;
*(_QWORD *)(v2 + 344) = &off_11A6218;
*(_QWORD *)(v2 + 352) = off_11A6238;
*(_QWORD *)(v2 + 408) = &off_11A6260;
*(_QWORD *)(v2 + 432) = &off_11A62E0;
*(_QWORD *)(v2 + 632) = &off_11A6300;
*(_QWORD *)(v2 + 640) = off_11A6318;
*(_QWORD *)(v2 + 648) = &off_11A6338;
*(_QWORD *)(v2 + 656) = &off_11A6350;
*(_QWORD *)(v2 + 672) = 0;
*(_QWORD *)(v2 + 680) = 0;
*(_QWORD *)(v2 + 688) = 0;
*(_QWORD *)(v2 + 696) = 0;
*(_QWORD *)(v2 + 704) = 0;
*(_QWORD *)(v2 + 712) = 0;
if ( FriendsProfilePage::init((FriendsProfilePage *)v2, a1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (FriendsProfilePage *)v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}