//
// cocos2d::CCLayerColor::CCLayerColor from 0x1800c6960 to 0x1800c6a51 (241 bytes)
//
// 3 xrefs:
// > cocos2d::CCLayerGradient::CCLayerGradient @ 0x1800c6a75
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9960
//
// 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 *__fastcall cocos2d::CCLayerColor::CCLayerColor(
cocos2d::CCLayerColor *this,
const struct cocos2d::CCLayerColor *a2)
{
cocos2d::CCLayerRGBA::CCLayerRGBA(this, a2);
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLayerColor_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCTouchDelegate'};
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCKeypadDelegate'};
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCKeyboardDelegate'};
this->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCMouseDelegate'};
this->cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCLayerRGBA'};
this->cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&cocos2d::CCLayerColor::`vftable'{for `cocos2d::CCBlendProtocol'};
*(_OWORD *)&this->m_pSquareVertices[0].x = *(_OWORD *)&a2->m_pSquareVertices[0].x;
*(_OWORD *)&this->m_pSquareVertices[2].x = *(_OWORD *)&a2->m_pSquareVertices[2].x;
this->m_pSquareColors[0] = a2->m_pSquareColors[0];
this->m_pSquareColors[1] = a2->m_pSquareColors[1];
this->m_pSquareColors[2] = a2->m_pSquareColors[2];
this->m_pSquareColors[3] = a2->m_pSquareColors[3];
this->m_tBlendFunc = a2->m_tBlendFunc;
return this;
}