//
// GJWorldNode::create from 0x960b74 to 0x960c54 (224 bytes)
//
// 2 xrefs:
// > WorldSelectLayer::setupWorlds @ 0x960d0c
// > ??> @ 0xc8c88
//
// 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; // x19
v4 = (GJWorldNode *)operator new(0x180u);
cocos2d::CCNode::CCNode(v4);
v4->m_activeObjects = nullptr;
v4->m_activeButton = nullptr;
v4->__vftable = (GJWorldNode_vtbl *)&off_11BC1C0;
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);
return v4;
}
else
{
v4->~GJWorldNode_0(v4);
return nullptr;
}
}