//
// GJMessagePopup::create from 0x4ae2ec to 0x4ae3a4 (184 bytes)
//
// 2 xrefs:
// > GJMessageCell::onViewMessage @ 0x339fc4
// > GJWriteMessagePopup::closeMessagePopup @ 0x4ae5aa
//
// 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
//
GJMessagePopup *GJMessagePopup::create(GJUserMessage *a1)
{
GJMessagePopup *v2; // r4
GJMessagePopup_vtbl *v3; // r3
GJMessagePopup *v4; // r0
v2 = (GJMessagePopup *)operator new(0x218u);
FLAlertLayer::FLAlertLayer(v2);
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJMessagePopup_vtbl *)&off_A6D9A0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A6DC48;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A6DC80;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A6DC8C;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A6DC9C;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A6DCAC;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A6DCC0;
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A6DD00;
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A6DD10;
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A6DD20;
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A6DD2C;
v2->DownloadMessageDelegate::__vftable = (DownloadMessageDelegate_vtbl *)&off_A6DD38;
v2->m_actionSuccess = 0;
v2->m_message = nullptr;
v2->m_loadingCircle = nullptr;
v2->m_closeButton = nullptr;
v2->m_uploadPopup = nullptr;
if ( GJMessagePopup::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 = v2;
v2 = nullptr;
v3->~GJMessagePopup_0(v4);
}
return v2;
}