//
// GJMessagePopup::create from 0x140297370 to 0x1402974af (319 bytes)
//
// 3 xrefs:
// > GJMessageCell::onViewMessage @ 0x1400bde71
// > GJWriteMessagePopup::closeMessagePopup @ 0x14029a6e6
// > ??> @ 0x1406d1c4c
//
// 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
GJMessagePopup *GJMessagePopup::create(GJUserMessage *a1)
{
GJMessagePopup *v2; // rdi
v2 = (GJMessagePopup *)operator new(0x2C8u);
FLAlertLayer::FLAlertLayer(v2);
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJMessagePopup_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GJMessagePopup::`vftable';
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&GJMessagePopup::`vftable';
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&GJMessagePopup::`vftable';
v2->DownloadMessageDelegate::__vftable = (DownloadMessageDelegate_vtbl *)&GJMessagePopup::`vftable';
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);
return v2;
}
else
{
((void (__fastcall *)(GJMessagePopup *, __int64))v2->~GJMessagePopup)(v2, 1);
return nullptr;
}
}