//
// cocos2d::CCLayerColor::create from 0x5cfdb0 to 0x5cfde8 (56 bytes)
//
// 12 xrefs:
// > CCLightFlash::showFlash @ 0x2fc996
// > ScrollingLayer::init @ 0x2fdcbc
// > PlayLayer::showNewBest @ 0x3108ee
// > GJShopLayer::dialogClosed @ 0x4e1d94
// > SecretLayer3::dialogClosed @ 0x4ee2ee
// > LevelAreaLayer::fadeInsideTower @ 0x56b94e
// > LevelAreaInnerLayer::onDoor @ 0x56bd16
// > GJPathPage::playUnlockAnimation @ 0x58c524
// > GJPathPage::unlockAnimationStep3 @ 0x58c9da
// > SecretLayer5::showSuccessAnimation @ 0x59cfe8
// > cocos2d::CCTransitionFade::onEnter @ 0x5d2b1a
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x5d2c02
//
// 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
//
cocos2d::CCLayerColor *cocos2d::CCLayerColor::create()
{
int v0; // r0
int v1; // r5
cocos2d::CCLayerColor *v2; // r4
float v3; // r1
float v4; // r2
int v5; // r3
v1 = v0;
v2 = (cocos2d::CCLayerColor *)operator new(0x1B8u);
cocos2d::CCLayerColor::CCLayerColor(v2, v3, v4, v5);
if ( ((int (__fastcall *)(cocos2d::CCLayerColor *, int))v2->initWithColor_0)(v2, v1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
v2->~CCLayerColor_0(v2);
return nullptr;
}
}