//
// SecretLayer3::create from 0x4edda8 to 0x4ede34 (140 bytes)
//
// 1 xrefs:
// > SecretLayer3::scene @ 0x4ede46
//
// 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
//
SecretLayer3 *SecretLayer3::create()
{
SecretLayer3 *v0; // r4
SecretLayer3_vtbl *v1; // r3
SecretLayer3 *v2; // r0
v0 = (SecretLayer3 *)operator new(0x158u);
cocos2d::CCLayer::CCLayer(v0);
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretLayer3_vtbl *)&off_A7AD68;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A7AFAC;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A7AFE4;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A7AFF0;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A7B000;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A7B010;
v0->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_A7B024;
v0->m_lockInput = 0;
v0->m_locksArray = nullptr;
v0->m_demonEyes = nullptr;
v0->m_demonBody = nullptr;
v0->m_secretChest = nullptr;
if ( SecretLayer3::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~SecretLayer3_0(v2);
}
return v0;
}