//
// GJWorldNode::create from 0x4fde9c to 0x4fdf1c (128 bytes)
//
// 1 xrefs:
// > WorldSelectLayer::setupWorlds @ 0x4fdfc2
//
// 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
//
GJWorldNode *GJWorldNode::create(int a1, WorldSelectLayer *a2)
{
GJWorldNode *v4; // r4
GJWorldNode_vtbl *v5; // r3
GJWorldNode *v6; // r0
v4 = (GJWorldNode *)operator new(0x134u);
cocos2d::CCNode::CCNode(v4);
v4->__vftable = (GJWorldNode_vtbl *)&off_A7F3A0;
v4->m_activeObjects = nullptr;
v4->m_activeButton = nullptr;
v4->m_level = nullptr;
v4->m_selectLayer = nullptr;
v4->m_unlocked = 0;
cocos2d::CCPoint::CCPoint(&v4->m_levelPosition);
v4->m_islandType = 0;
v4->m_islandUnlocked = 0;
v4->m_arrowSprite = nullptr;
if ( GJWorldNode::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->__vftable;
v6 = v4;
v4 = nullptr;
v5->~GJWorldNode_0(v6);
}
return v4;
}