//
// GJMapPack::create from 0x4b1564 to 0x4b1610 (172 bytes)
//
// 1 xrefs:
// > GJMapPack::create @ 0x4c4034
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:50:03 +0000
//
int *__fastcall GJMapPack::create(GJMapPack *this)
{
int *v1; // r4
int v2; // r3
int v3; // r3
int *v4; // r0
v1 = (int *)operator new(0x144u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*v1 = (int)&off_C999C8;
v1[66] = 0;
v1[67] = 0;
v1[68] = 0;
v1[69] = 0;
v1[70] = 0;
v1[71] = 0;
v1[72] = 0;
v1[73] = 0;
std::string::__init(v1 + 71, &unk_B6B226, 0);
v1[74] = 0;
v1[75] = 0;
v1[76] = 0;
std::string::__init(v1 + 74, &unk_B6B226, 0);
v2 = *v1;
v1[79] = 0;
*((_BYTE *)v1 + 320) = 0;
if ( (*(int (__fastcall **)(int *))(v2 + 40))(v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v3 = *v1;
v4 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v3 + 8))(v4);
}
return v1;
}