//
// cocos2d::CCLayerColor::create from 0x7d7f40 to 0x7d7f78 (56 bytes)
//
// 13 xrefs:
// > CCLightFlash::showFlash @ 0x3e5e9a
// > ScrollingLayer::init @ 0x3e72e8
// > ScrollableContentLayer::ensureScrollThumb @ 0x3f498a
// > PlayLayer::showNewBest @ 0x4057b2
// > GJShopLayer::dialogClosed @ 0x6115b4
// > SecretLayer3::dialogClosed @ 0x61b066
// > LevelAreaLayer::fadeInsideTower @ 0x6a3652
// > LevelAreaInnerLayer::onDoor @ 0x6a441a
// > GJPathPage::playUnlockAnimation @ 0x6d26b0
// > GJPathPage::unlockAnimationStep3 @ 0x6d4166
// > SecretLayer5::showSuccessAnimation @ 0x6e3c38
// > cocos2d::CCTransitionFade::onEnter @ 0x7dacaa
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x7dad92
//
// 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 12:00:41 +0000
//
cocos2d::CCLayerColor *__fastcall cocos2d::CCLayerColor::create(int a1)
{
cocos2d::CCLayerColor *v2; // r4
float v3; // r1
float v4; // r2
float v5; // r3
v2 = (cocos2d::CCLayerColor *)operator new(0x1B8u);
cocos2d::CCLayerColor::CCLayerColor(v2, v3, v4, v5);
if ( (*(int (__fastcall **)(cocos2d::CCLayerColor *, int))(*(_DWORD *)v2 + 636))(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(*(_DWORD *)v2 + 8))(v2);
return nullptr;
}
}