//
// CreatorLayer::create from 0x1000b4fc8 to 0x1000b5064 (156 bytes)
//
// 1 xrefs:
// > CreatorLayer::scene @ 0x1000b4f8c
//
// 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 *__fastcall CreatorLayer::create()
{
CreatorLayer *v0; // x19
v0 = (CreatorLayer *)operator new(0x1C0u);
cocos2d::CCLayer::CCLayer(v0);
v0->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CreatorLayer_vtbl *)&off_100781620;
v0->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100781AB0;
v0->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100781B20;
v0->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100781B38;
v0->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_100781B58;
v0->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100781B78;
v0->cocos2d::CCSceneTransitionDelegate::__vftable = (cocos2d::CCSceneTransitionDelegate_vtbl *)&off_100781BA0;
v0->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_100781BB8;
v0->m_secretDoorSprite = nullptr;
v0->m_questsSprite = nullptr;
*(_QWORD *)&v0->m_vaultDialogIndex = 0xFFFFFFFFLL;
if ( CreatorLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
((void (__fastcall *)(CreatorLayer *))v0->~CreatorLayer_0)(v0);
return nullptr;
}
return v0;
}