//
// SecretLayer::create from 0x906750 to 0x90683c (236 bytes)
//
// 2 xrefs:
// > SecretLayer::scene @ 0x906858
// > ??> @ 0x8e470
//
// 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
//
SecretLayer *SecretLayer::create()
{
SecretLayer *v0; // x19
v0 = (SecretLayer *)operator new(0x1E8u);
cocos2d::CCLayer::CCLayer(v0);
v0->m_basicMessageIndex = -1;
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretLayer_vtbl *)&off_11A7A70;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11A7F10;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11A7F80;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11A7F98;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11A7FB8;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11A7FD8;
v0->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_11A8000;
v0->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_11A8048;
v0->m_selectedThread = 0;
v0->m_threadMessageIndex = 0;
v0->m_basicMessageCount = 0;
v0->m_doomedIndex = 0;
v0->m_searchInput = nullptr;
v0->m_messageLabel = nullptr;
v0->m_messageThreads = nullptr;
v0->m_threadTag = -1;
if ( SecretLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
v0->~SecretLayer_0(v0);
return nullptr;
}
}