//
// GJMapPack::create from 0x806918 to 0x8069d8 (192 bytes)
//
// 2 xrefs:
// > GJMapPack::create @ 0x81a85c
// > ??> @ 0xec3c8
//
// 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 GJMapPack::create(GJMapPack *this)
{
__int64 v1; // x19
v1 = operator new(0x198u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*(_QWORD *)(v1 + 320) = 0;
*(_DWORD *)(v1 + 328) = 0;
*(_DWORD *)(v1 + 332) = 0;
*(_QWORD *)v1 = &off_143FBE0;
*(_DWORD *)(v1 + 336) = 0;
*(_DWORD *)(v1 + 340) = 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;
*(_DWORD *)(v1 + 400) = 0;
*(_BYTE *)(v1 + 404) = 0;
if ( (unsigned __int8)GJMapPack::init((GJMapPack *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}