//
// CreatorLayer::create from 0x3aaf50 to 0x3aafe4 (148 bytes)
//
// 1 xrefs:
// > CreatorLayer::scene @ 0x3aaff6
//
// 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
//
CreatorLayer *CreatorLayer::create()
{
CreatorLayer *v0; // r4
CreatorLayer_vtbl *v1; // r3
CreatorLayer *v2; // r0
v0 = (CreatorLayer *)operator new(0x154u);
cocos2d::CCLayer::CCLayer(v0);
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CreatorLayer_vtbl *)&off_A4D9D8;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A4DC20;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A4DC58;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A4DC64;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A4DC74;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A4DC84;
v0->cocos2d::CCSceneTransitionDelegate::__vftable = (cocos2d::CCSceneTransitionDelegate_vtbl *)&off_A4DC98;
v0->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_A4DCA4;
v0->m_vaultDialogIndex = -1;
v0->m_secretDoorSprite = nullptr;
v0->m_questsSprite = nullptr;
v0->m_versusDialogIndex = 0;
if ( CreatorLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
v1 = v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v2 = v0;
v0 = nullptr;
v1->~CreatorLayer_0(v2);
}
return v0;
}