//
// cocos2d::CCLayerColor::create from 0xd5d69c to 0xd5d710 (116 bytes)
//
// 14 xrefs:
// > CCLightFlash::showFlash @ 0x6c7a14
// > ScrollingLayer::init @ 0x6c9944
// > ScrollableContentLayer::ensureScrollThumb @ 0x6e1d64
// > PlayLayer::showNewBest @ 0x6fe588
// > GJShopLayer::dialogClosed @ 0xa7cff4
// > SecretLayer3::dialogClosed @ 0xa8b4e0
// > LevelAreaLayer::fadeInsideTower @ 0xb59cfc
// > LevelAreaInnerLayer::onDoor @ 0xb5b094
// > GJPathPage::playUnlockAnimation @ 0xba5530
// > GJPathPage::unlockAnimationStep3 @ 0xba7d44
// > SecretLayer5::showSuccessAnimation @ 0xbc4230
// > cocos2d::CCTransitionFade::onEnter @ 0xd61da4
// > cocos2d::CCTransitionCrossFade::onEnter @ 0xd61edc
// > ??> @ 0x6ac48
//
// This function is hookable on this platform (idp: arm, 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 13:07:48 +0000
//
cocos2d::CCLayerColor *__fastcall cocos2d::CCLayerColor::create(__int64 a1)
{
cocos2d::CCLayerColor *v1; // x19
v1 = (cocos2d::CCLayerColor *)operator new(0x220u);
cocos2d::CCLayerColor::CCLayerColor(v1);
if ( (*(unsigned __int8 (__fastcall **)(cocos2d::CCLayerColor *, __int64))(*(_QWORD *)v1 + 1272LL))(v1, a1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}