//
// GJWriteMessagePopup::create from 0x1002db59c to 0x1002db60c (112 bytes)
//
// 3 xrefs:
// > GJUserCell::onSendMessage @ 0x100111870
// > ProfilePage::onSendMessage @ 0x10019adfc
// > GJMessagePopup::onReply @ 0x1002db29c
//
// 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 *__fastcall GJWriteMessagePopup::create(int a1, int a2)
{
GJWriteMessagePopup *v4; // x19
v4 = (GJWriteMessagePopup *)operator new(0x308u);
sub_1002E6720();
if ( GJWriteMessagePopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
((void (__fastcall *)(GJWriteMessagePopup *))v4->~GJWriteMessagePopup_0)(v4);
return nullptr;
}
return v4;
}