//
// SecretGame01Layer::create from 0x59dd90 to 0x59de26 (150 bytes)
//
// 1 xrefs:
// > SecretLayer6::init @ 0x59f910
//
// 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
//
SecretGame01Layer *SecretGame01Layer::create()
{
SecretGame01Layer *v0; // r4
SecretGame01Layer_vtbl *v1; // r3
int *v2; // r0
v0 = (SecretGame01Layer *)operator new(0x160u);
cocos2d::CCLayer::CCLayer(v0);
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SecretGame01Layer_vtbl *)&off_A9B2B8;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A9B4F8;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A9B530;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A9B53C;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A9B54C;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A9B55C;
v0->m_timeElapsed = 0.0;
v0->m_gameObjects = nullptr;
v0->m_requiredObjects = nullptr;
v0->m_mainMenu = nullptr;
v0->m_selectedObject = 0;
v0->m_gameDifficulty = 0;
v0->m_gameActive = 0;
v0->m_gameTime = 0.0;
v0->m_timeBarSprite = nullptr;
if ( SecretGame01Layer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = (int *)v0;
v0 = nullptr;
v1->~SecretGame01Layer_0((SecretGame01Layer *)v2);
}
return v0;
}