//
// cocos2d::CCLayerColor::create from 0x7d7ec8 to 0x7d7efa (50 bytes)
//
// 0 xrefs:
//
// 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(cocos2d::CCLayerColor *this)
{
cocos2d::CCLayerColor *v1; // r4
float v2; // r1
float v3; // r2
float v4; // r3
int v5; // r3
cocos2d::CCLayerColor *v6; // r0
v1 = (cocos2d::CCLayerColor *)operator new(0x1B8u);
cocos2d::CCLayerColor::CCLayerColor(v1, v2, v3, v4);
if ( (*(int (__fastcall **)(cocos2d::CCLayerColor *))(*(_DWORD *)v1 + 40))(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v5 = *(_DWORD *)v1;
v6 = v1;
v1 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(v5 + 8))(v6);
}
return v1;
}