//
// CCContentLayer::create from 0x1008aa220 to 0x1008aa300 (224 bytes)
//
// 1 xrefs:
// > CCScrollLayerExt::CCScrollLayerExt @ 0x10041ac2a
//
// 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:37:17 +0000
//
_QWORD *__fastcall CCContentLayer::create(unsigned int *a1, float a2, float a3)
{
_QWORD *v3; // rbx
v3 = operator new(0x220u);
__bzero(v3, 544);
cocos2d::CCLayerColor::CCLayerColor((__int64)v3);
*v3 = off_100BAB610;
v3[40] = off_100BABB38;
v3[41] = &off_100BABBA8;
v3[42] = off_100BABBC0;
v3[43] = off_100BABBE0;
v3[44] = off_100BABC08;
v3[51] = off_100BABC38;
v3[54] = off_100BABCB8;
if ( cocos2d::CCLayerColor::initWithColor_1((__int64)v3, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v3);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v3 + 16LL))(v3);
return nullptr;
}
return v3;
}