//
// CreatorLayer::create from 0x100297520 to 0x1002975e7 (199 bytes)
//
// 0 xrefs:
//
// 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()
{
char *v0; // rbx
v0 = (char *)operator new(0x1C0u);
cocos2d::CCLayer::CCLayer(v0);
*(_QWORD *)v0 = off_1008F78A0;
*((_QWORD *)v0 + 40) = off_1008F7D30;
*((_QWORD *)v0 + 41) = &off_1008F7DA0;
*((_QWORD *)v0 + 42) = off_1008F7DB8;
*((_QWORD *)v0 + 43) = off_1008F7DD8;
*((_QWORD *)v0 + 44) = off_1008F7DF8;
*((_QWORD *)v0 + 51) = &off_1008F7E20;
*((_QWORD *)v0 + 52) = &off_1008F7E38;
*(_OWORD *)(v0 + 424) = 0;
*((_QWORD *)v0 + 55) = 0xFFFFFFFFLL;
if ( CreatorLayer::init((CreatorLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (CreatorLayer *)v0;
}