//
// SecretNumberLayer::create from 0x1004a1230 to 0x1004a12c5 (149 bytes)
//
// 1 xrefs:
// > SecretLayer2::onSubmit @ 0x10049f4fe
//
// 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
//
SecretNumberLayer *__fastcall SecretNumberLayer::create()
{
SecretNumberLayer *v0; // rbx
v0 = (SecretNumberLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v0);
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretNumberLayer_vtbl *)off_100946210;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100946690;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100946700;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100946718;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100946738;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100946758;
if ( cocos2d::CCLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(SecretNumberLayer *))v0->~SecretNumberLayer_0)(v0);
return nullptr;
}
return v0;
}