//
// cocos2d::CCDrawNode::dCCDrawNode from 0x100610c00 to 0x100610c83 (131 bytes)
//
// 4 xrefs:
// > sub_10009CC70 @ 0x10009ccab
// > sub_10009CCC0 @ 0x10009ccfb
// > sub_10009CD10 @ 0x10009cd45
// > ??> @ 0x10009cdfe
//
// 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_1009815B8;
*(_QWORD *)(a1 + 320) = off_1009819A8;
free(*(void **)(a1 + 360));
*(_QWORD *)(a1 + 360) = 0;
glDeleteBuffers(1, (const GLuint *)(a1 + 344));
*(_DWORD *)(a1 + 344) = 0;
glDeleteVertexArraysAPPLE(1, (const GLuint *)(a1 + 340));
cocos2d::ccGLBindVAO(0);
*(_DWORD *)(a1 + 340) = 0;
return cocos2d::CCNodeRGBA::dCCNodeRGBA(a1);
}