//
// cocos2d::CCLayerRGBA::init from 0x100149414 to 0x100149470 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007973b8
//
// 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
//
bool __fastcall cocos2d::CCLayerRGBA::init(cocos2d::CCLayerRGBA *a1)
{
_BOOL4 v2; // w19
v2 = cocos2d::CCLayer::init(a1);
if ( v2 )
{
*(_QWORD *)&a1->_displayedOpacity = -1;
((void (__fastcall *)(cocos2d::CCLayerRGBA *, _QWORD))a1->setCascadeOpacityEnabled)(a1, 0);
((void (__fastcall *)(cocos2d::CCLayerRGBA *, _QWORD))a1->setCascadeColorEnabled)(a1, 0);
}
return v2;
}