//
// GJUserMessage::create_1 from 0x1000b014c to 0x1000b01c8 (124 bytes)
//
// 3 xrefs:
// > GJUserMessage::create @ 0x1000a4ec0
// > GJMessagePopup::onReply @ 0x1002db128
// > GJWriteMessagePopup::closeMessagePopup @ 0x1002dce98
//
// 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; // x19
v0 = (char *)operator new(0x1B0u);
cocos2d::CCNode::CCNode();
*(_QWORD *)v0 = off_100780380;
*(_OWORD *)(v0 + 316) = 0u;
*(_OWORD *)(v0 + 332) = 0u;
*(_OWORD *)(v0 + 348) = 0u;
*(_OWORD *)(v0 + 364) = 0u;
*(_OWORD *)(v0 + 380) = 0u;
*(_OWORD *)(v0 + 396) = 0u;
*(_OWORD *)(v0 + 411) = 0u;
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;
}