//
// GJUserMessage::create_1 from 0x1005607d0 to 0x100560853 (131 bytes)
//
// 2 xrefs:
// > GJMessagePopup::onReply @ 0x1002a7cc7
// > GJWriteMessagePopup::closeMessagePopup @ 0x1002aa1eb
//
// 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
//
GJUserMessage *__fastcall GJUserMessage::create_1()
{
char *v0; // rbx
v0 = (char *)operator new(0x1B0u);
cocos2d::CCNode::CCNode((__int64)v0);
*(_QWORD *)v0 = off_100961A10;
*(_OWORD *)(v0 + 316) = 0;
*(_OWORD *)(v0 + 332) = 0;
*(_OWORD *)(v0 + 348) = 0;
*(_OWORD *)(v0 + 364) = 0;
*(_OWORD *)(v0 + 380) = 0;
*(_OWORD *)(v0 + 396) = 0;
*(_OWORD *)(v0 + 411) = 0;
if ( cocos2d::CCNode::init((cocos2d::CCNode *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (GJUserMessage *)v0;
}