//
// MessagesProfilePage::create from 0x140336570 to 0x140336703 (403 bytes)
//
// 4 xrefs:
// > MessagesProfilePage::onSentMessages @ 0x140337365
// > MessagesProfilePage::onClose @ 0x140337b37
// > ProfilePage::onMessages @ 0x1403c5e5d
// > ??> @ 0x1406d5234
//
// 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
//
// Hidden C++ exception states: #wind=1
MessagesProfilePage *MessagesProfilePage::create(bool a1)
{
MessagesProfilePage *v2; // rdi
v2 = (MessagesProfilePage *)operator new(0x328u);
FLAlertLayer::FLAlertLayer(v2);
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (MessagesProfilePage_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&MessagesProfilePage::`vftable';
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&MessagesProfilePage::`vftable';
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->MessageListDelegate::__vftable = (MessageListDelegate_vtbl *)&MessagesProfilePage::`vftable';
v2->m_sentMessages = 0;
v2->m_messageKey.m_data.0 = 0;
v2->m_messageKey.m_data.m_size = 0;
v2->m_messageKey.m_data.m_capacity = 15;
v2->m_messageKey.m_data.m_smallStorage._Elems[0] = 0;
v2->m_levelsLabel = nullptr;
v2->m_errorLabel = nullptr;
v2->m_listLayer = nullptr;
v2->m_loadingCircle = nullptr;
v2->m_actionPopup = nullptr;
v2->m_unkPtr = nullptr;
v2->m_nextButton = nullptr;
v2->m_prevButton = nullptr;
*(_QWORD *)&v2->m_itemCount = 0;
*(_QWORD *)&v2->m_pageEndIdx = 0;
v2->m_toggledAll = 0;
if ( MessagesProfilePage::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
((void (__fastcall *)(MessagesProfilePage *, __int64))v2->~MessagesProfilePage)(v2, 1);
return nullptr;
}
}