//
// CreatorLayer::create from 0x6ccce4 to 0x6ccdbc (216 bytes)
//
// 2 xrefs:
// > CreatorLayer::scene @ 0x6ccdd8
// > ??> @ 0x32fa0
//
// 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()
{
__int64 v0; // x19
v0 = operator new(0x1C0u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v0);
*(_QWORD *)(v0 + 424) = 0;
*(_QWORD *)v0 = &off_1159020;
*(_QWORD *)(v0 + 416) = &off_11595B8;
*(_QWORD *)(v0 + 320) = off_11594B0;
*(_QWORD *)(v0 + 328) = &off_1159520;
*(_QWORD *)(v0 + 336) = &off_1159538;
*(_QWORD *)(v0 + 344) = &off_1159558;
*(_QWORD *)(v0 + 352) = off_1159578;
*(_QWORD *)(v0 + 408) = &off_11595A0;
*(_QWORD *)(v0 + 432) = 0;
*(_QWORD *)(v0 + 440) = 0xFFFFFFFFLL;
if ( CreatorLayer::init((CreatorLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (CreatorLayer *)v0;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
}