//
// CreatorLayer::create from 0x100281ef0 to 0x100281fd3 (227 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:43 +0000
//
_QWORD *CreatorLayer::create()
{
_QWORD *v0; // rbx
v0 = operator new(0x1E8u);
cocos2d::CCLayer::CCLayer(v0);
*v0 = off_100AFE290;
v0[40] = off_100AFE738;
v0[41] = &off_100AFE7A8;
v0[42] = off_100AFE7C0;
v0[43] = off_100AFE7E0;
v0[44] = off_100AFE808;
v0[51] = &off_100AFE838;
v0[52] = &off_100AFE850;
v0[53] = &off_100AFE868;
*((_OWORD *)v0 + 27) = 0;
*((_OWORD *)v0 + 28) = 0;
*((_OWORD *)v0 + 29) = 0;
v0[60] = 0xFFFFFFFFLL;
if ( (unsigned __int8)CreatorLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}