//
// FriendsProfilePage::create from 0x4c3c78 to 0x4c3d78 (256 bytes)
//
// 3 xrefs:
// > FriendsProfilePage::onBlocked @ 0x4c3daa
// > FriendsProfilePage::onClose @ 0x4c3e24
// > ProfilePage::onFriends @ 0x4c4f22
//
// 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)
{
FriendsProfilePage *v2; // r4
FriendsProfilePage_vtbl *v3; // r3
int *v4; // r0
v2 = (FriendsProfilePage *)operator new(0x220u);
cocos2d::CCLayerColor::CCLayerColor(v2);
v2->m_controlConnected = -1;
v2->m_joystickConnected = -1;
v2->m_buttonMenu = nullptr;
v2->m_alertProtocol = nullptr;
v2->m_scene = nullptr;
v2->m_reverseKeyBack = 0;
v2->m_mainLayer = nullptr;
v2->m_ZOrder = 0;
v2->m_noElasticity = 0;
v2->m_button1 = nullptr;
v2->m_button2 = nullptr;
v2->m_scrollingLayer = nullptr;
v2->m_containsBorder = 0;
v2->m_noAction = 0;
v2->m_forcePrioRegistered = 0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FriendsProfilePage_vtbl *)&off_A740A0;
v2->m_type = 0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A74340;
v2->m_noInternet = nullptr;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A74378;
v2->m_totalFriends = nullptr;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A74384;
v2->m_listLayer = nullptr;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A74394;
v2->m_circle = nullptr;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A743A4;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A743B8;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A743F8;
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A74408;
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A74414;
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A74424;
v2->UserListDelegate::__vftable = (UserListDelegate_vtbl *)&off_A74430;
v2->m_unk532 = nullptr;
v2->m_users = nullptr;
if ( FriendsProfilePage::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~FriendsProfilePage_0((FriendsProfilePage *)v4);
}
return v2;
}