//
// cocos2d::CCDrawNode::CCDrawNode from 0x1800c8c20 to 0x1800c8d0a (234 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3a68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:22:28 +0000
//
// 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);
*(_QWORD *)this = &cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCDrawNode::`vftable'{for `cocos2d::CCRGBAProtocol'};
*((_DWORD *)this + 86) = *((_DWORD *)a2 + 86);
*((_DWORD *)this + 87) = *((_DWORD *)a2 + 87);
*((_DWORD *)this + 88) = *((_DWORD *)a2 + 88);
*((_DWORD *)this + 89) = *((_DWORD *)a2 + 89);
*((_QWORD *)this + 45) = *((_QWORD *)a2 + 45);
*((_QWORD *)this + 46) = *((_QWORD *)a2 + 46);
*((_BYTE *)this + 376) = *((_BYTE *)a2 + 376);
*((_BYTE *)this + 377) = *((_BYTE *)a2 + 377);
cocos2d::CCRect::CCRect(
(cocos2d::CCDrawNode *)((char *)this + 380),
(const struct cocos2d::CCDrawNode *)((char *)a2 + 380));
*((_DWORD *)this + 99) = *((_DWORD *)a2 + 99);
*((_DWORD *)this + 100) = *((_DWORD *)a2 + 100);
*((_DWORD *)this + 101) = *((_DWORD *)a2 + 101);
*((_DWORD *)this + 102) = *((_DWORD *)a2 + 102);
return this;
}