//
// GJUserMessage::create from 0x806eec to 0x806fc0 (212 bytes)
//
// 3 xrefs:
// > GJUserMessage::create @ 0x83eec4
// > GJWriteMessagePopup::closeMessagePopup @ 0xa34358
// > ??> @ 0x5d358
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:45 +0000
//
__int64 __fastcall GJUserMessage::create(GJUserMessage *this)
{
__int64 v1; // x19
v1 = operator new(0x1B0u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*(_DWORD *)(v1 + 316) = 0;
*(_DWORD *)(v1 + 320) = 0;
*(_DWORD *)(v1 + 324) = 0;
*(_QWORD *)v1 = &off_1440690;
*(_QWORD *)(v1 + 328) = 0;
*(_QWORD *)(v1 + 336) = 0;
*(_QWORD *)(v1 + 344) = 0;
*(_QWORD *)(v1 + 352) = 0;
*(_QWORD *)(v1 + 360) = 0;
*(_QWORD *)(v1 + 368) = 0;
*(_QWORD *)(v1 + 376) = 0;
*(_QWORD *)(v1 + 384) = 0;
*(_QWORD *)(v1 + 392) = 0;
*(_QWORD *)(v1 + 400) = 0;
*(_QWORD *)(v1 + 408) = 0;
*(_QWORD *)(v1 + 416) = 0;
*(_BYTE *)(v1 + 424) = 0;
*(_BYTE *)(v1 + 425) = 0;
*(_BYTE *)(v1 + 426) = 0;
if ( (unsigned __int8)GJUserMessage::init((GJUserMessage *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}