//
// SecretLayer2::create from 0x4ebfdc to 0x4ec0a0 (196 bytes)
//
// 1 xrefs:
// > SecretLayer2::scene @ 0x4ec0b2
//
// 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
//
SecretLayer2 *SecretLayer2::create()
{
SecretLayer2 *v0; // r4
SecretLayer2_vtbl *v1; // r3
SecretLayer2 *v2; // r0
v0 = (SecretLayer2 *)operator new(0x184u);
cocos2d::CCLayer::CCLayer(v0);
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretLayer2_vtbl *)&off_A7A7A8;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A7A9FC;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A7AA34;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A7AA40;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A7AA50;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A7AA60;
v0->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A7AA74;
v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A7AA98;
v0->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_A7AAA4;
v0->m_threadTag = -1;
v0->m_basicMessageIndex = -1;
v0->m_selectedThread = 0;
v0->m_threadMessageIndex = 0;
v0->m_basicMessageCount = 0;
v0->m_errorMessageIndex = -1;
v0->m_searchInput = nullptr;
v0->m_messageLabel = nullptr;
v0->m_messageThreads = nullptr;
v0->m_exiting = 0;
v0->m_doorDialogIndex = -1;
v0->m_secretLevelButton = nullptr;
v0->m_secretLevelLabels = nullptr;
v0->m_secretDoorButton = nullptr;
if ( SecretLayer2::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~SecretLayer2_0(v2);
}
return v0;
}