//
// SecretLayer3::scene from 0x1004a0d10 to 0x1004a0def (223 bytes)
//
// 1 xrefs:
// > SecretLayer2::onDoor @ 0x10049fb3e
//
// 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 SecretLayer3::scene()
{
cocos2d::CCScene *v0; // rbx
SecretLayer3 *v1; // r14
v0 = cocos2d::CCScene::create();
AppDelegate::get()->m_runningScene = v0;
v1 = (SecretLayer3 *)operator new(0x1D0u);
cocos2d::CCLayer::CCLayer(v1);
v1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretLayer3_vtbl *)off_100945C28;
v1->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1009460B0;
v1->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100946120;
v1->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100946138;
v1->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100946158;
v1->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100946178;
v1->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_1009461A0;
v1->m_lockInput = 0;
*(_OWORD *)&v1->m_locksArray = 0;
*(_OWORD *)&v1->m_demonBody = 0;
if ( SecretLayer3::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
((void (__fastcall *)(SecretLayer3 *))v1->~SecretLayer3_0)(v1);
v1 = nullptr;
}
((void (__fastcall *)(cocos2d::CCScene *, SecretLayer3 *))v0->addChild)(v0, v1);
return v0;
}