//
// cocos2d::CCLayerGradient::CCLayerGradient from 0x1800c6a60 to 0x1800c6b72 (274 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b996c
//
// 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
//
// Alternative name is '??0CCLayerGradient@cocos2d@@QEAA@$$QEAV01@@Z'
// Hidden C++ exception states: #wind=1
cocos2d::CCLayerGradient *__fastcall cocos2d::CCLayerGradient::CCLayerGradient(
cocos2d::CCLayerGradient *this,
const struct cocos2d::CCLayerGradient *a2)
{
cocos2d::CCLayerColor::CCLayerColor(this, a2);
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayerGradient_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCTouchDelegate'};
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCKeypadDelegate'};
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCKeyboardDelegate'};
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCMouseDelegate'};
this->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCLayerRGBA'};
this->cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCBlendProtocol'};
this->m_startColor = a2->m_startColor;
this->m_endColor = a2->m_endColor;
this->m_cStartOpacity = a2->m_cStartOpacity;
this->m_cEndOpacity = a2->m_cEndOpacity;
cocos2d::cc_timeval::operator=(&this->m_AlongVector, &a2->m_AlongVector);
this->m_bCompressedInterpolation = a2->m_bCompressedInterpolation;
this->m_bShouldPremultiply = a2->m_bShouldPremultiply;
return this;
}