//
// cocos2d::CCDrawNode::dCCDrawNode from 0x100041dac to 0x100041e14 (104 bytes)
//
// 4 xrefs:
// > j_cocos2d::CCDrawNode::dCCDrawNode @ 0x100041e18
// > sub_100041E1C @ 0x100041e24
// > sub_10005D750 @ 0x10005d78c
// > sub_10005E3D4 @ 0x10005e3dc
//
// 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
//
__int64 __fastcall cocos2d::CCDrawNode::dCCDrawNode(__int64 a1)
{
*(_QWORD *)a1 = off_10076EA18;
*(_QWORD *)(a1 + 320) = off_10076EE08;
free(*(void **)(a1 + 360));
*(_QWORD *)(a1 + 360) = 0;
glDeleteBuffers(1, (const GLuint *)(a1 + 344));
*(_DWORD *)(a1 + 344) = 0;
glDeleteVertexArraysOES(1, a1 + 340);
cocos2d::ccGLBindVAO(0);
*(_DWORD *)(a1 + 340) = 0;
return cocos2d::CCNodeRGBA::dCCNodeRGBA(a1);
}