//
// WorldSelectLayer::scene from 0x1003c1bb0 to 0x1003c1cab (251 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCScene *__fastcall WorldSelectLayer::scene(int a1)
{
cocos2d::CCScene *v1; // rbx
WorldSelectLayer *v2; // r14
v1 = cocos2d::CCScene::create();
AppDelegate::get()->m_runningScene = v1;
v2 = (WorldSelectLayer *)operator new(0x1D8u);
cocos2d::CCLayer::CCLayer(v2);
v2->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (WorldSelectLayer_vtbl *)off_10092D9C0;
v2->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10092DE58;
v2->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10092DEC8;
v2->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10092DEE0;
v2->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_10092DF00;
v2->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10092DF20;
v2->BoomScrollLayerDelegate::__vftable = (BoomScrollLayerDelegate_vtbl *)off_10092DF48;
*(_WORD *)&v2->m_cleanupSprites = 0;
v2->m_worldNode = nullptr;
v2->m_buttonsLocked = 0;
*(_OWORD *)&v2->m_background = 0;
if ( WorldSelectLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(WorldSelectLayer *))v2->~WorldSelectLayer_0)(v2);
v2 = nullptr;
}
((void (__fastcall *)(cocos2d::CCScene *, WorldSelectLayer *))v1->addChild)(v1, v2);
return v1;
}