//
// cocos2d::CCDrawNode::CCDrawNode from 0x1800c4d50 to 0x1800c4e3a (234 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9744
//
// 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
//
// Hidden C++ exception states: #wind=1
cocos2d::CCDrawNode *__fastcall cocos2d::CCDrawNode::CCDrawNode(
cocos2d::CCDrawNode *this,
const struct cocos2d::CCDrawNode *a2)
{
cocos2d::CCNodeRGBA::CCNodeRGBA(this, a2);
this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCDrawNode_vtbl *)&cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCNode'};
this->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCRGBAProtocol'};
this->m_uVao = a2->m_uVao;
this->m_uVbo = a2->m_uVbo;
this->m_uBufferCapacity = a2->m_uBufferCapacity;
this->m_nBufferCount = a2->m_nBufferCount;
this->m_pBuffer = a2->m_pBuffer;
this->m_sBlendFunc = a2->m_sBlendFunc;
this->m_bDirty = a2->m_bDirty;
this->m_bUseArea = a2->m_bUseArea;
cocos2d::CCRect::CCRect(&this->m_rDrawArea, &a2->m_rDrawArea);
this->m_fMinAreaX = a2->m_fMinAreaX;
this->m_fMaxAreaX = a2->m_fMaxAreaX;
this->m_fMaxAreaY = a2->m_fMaxAreaY;
this->m_fMinAreaY = a2->m_fMinAreaY;
return this;
}