//
// CCContentLayer::create from 0x3c5044 to 0x3c50da (150 bytes)
//
// 1 xrefs:
// > CCScrollLayerExt::CCScrollLayerExt @ 0x3c86f6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:33 +0000
//
_DWORD *__fastcall CCContentLayer::create(int a1, int a2, int a3)
{
_DWORD *v6; // r4
v6 = (_DWORD *)operator new(0x1B8u);
memset(v6, 0, 0x1B8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6);
*v6 = &off_C83B70;
v6[66] = &off_C83E04;
v6[67] = &off_C83E3C;
v6[68] = &off_C83E48;
v6[69] = &off_C83E58;
v6[70] = &off_C83E6C;
v6[79] = &off_C83E84;
v6[83] = &off_C83EC4;
if ( cocos2d::CCLayerColor::initWithColor(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return v6;
}
else
{
(*(void (__fastcall **)(_DWORD *))(*v6 + 8))(v6);
return nullptr;
}
}