//
// GJWriteMessagePopup::create from 0x8d0c1c to 0x8d0d90 (372 bytes)
//
// 4 xrefs:
// > GJUserCell::onSendMessage @ 0x60aae0
// > GJMessagePopup::onReply @ 0x8d0ddc
// > ProfilePage::onSendMessage @ 0x8fd13c
// > ??> @ 0x715b0
//
// 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
//
GJWriteMessagePopup *GJWriteMessagePopup::create(int a1, int a2)
{
GJWriteMessagePopup *v4; // x19
v4 = (GJWriteMessagePopup *)operator new(0x2E8u);
cocos2d::CCLayerColor::CCLayerColor(v4);
v4->m_buttonMenu = nullptr;
v4->m_alertProtocol = nullptr;
v4->m_scene = nullptr;
v4->m_controlConnected = -1;
v4->m_joystickConnected = -1;
v4->m_reverseKeyBack = 0;
v4->m_mainLayer = nullptr;
v4->m_ZOrder = 0;
v4->m_noElasticity = 0;
v4->m_button1 = nullptr;
v4->m_button2 = nullptr;
v4->m_scrollingLayer = nullptr;
v4->m_containsBorder = 0;
v4->m_noAction = 0;
v4->m_forcePrioRegistered = 0;
v4->m_messageID = 0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJWriteMessagePopup_vtbl *)&off_1199590;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1199AF8;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1199B68;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_1199B80;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1199BA0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1199BC0;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1199BE8;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_1199C68;
v4->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1199C88;
v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_1199D08;
v4->UploadMessageDelegate::__vftable = (UploadMessageDelegate_vtbl *)off_1199CD0;
v4->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_1199CF0;
v4->m_accountID = 0;
v4->m_messageInput = nullptr;
v4->m_subjectInput = nullptr;
v4->m_messageText.m_data.m_data = (stl::StringData::Internal *)&byte_124B6C8;
v4->m_subjectText.m_data.m_data = (stl::StringData::Internal *)&byte_124B6C8;
v4->m_messageCountLabel = nullptr;
v4->m_subjectCountLabel = nullptr;
v4->m_uploadPopup = nullptr;
v4->m_uploadSuccess = 0;
if ( GJWriteMessagePopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
v4->~GJWriteMessagePopup_0(v4);
return nullptr;
}
}