//
// cocos2d::CCDrawNode::dCCDrawNode from 0x100045b50 to 0x100045bb8 (104 bytes)
//
// 4 xrefs:
// > j_cocos2d::CCDrawNode::dCCDrawNode @ 0x100045bbc
// > sub_100045BC0 @ 0x100045bc8
// > sub_100065ED0 @ 0x100065f0c
// > sub_100066E5C @ 0x100066e64
//
// This function is hookable on this platform (idp: arm, 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 10:57:38 +0000
//
__int64 __fastcall cocos2d::CCDrawNode::dCCDrawNode(__int64 a1)
{
*(_QWORD *)a1 = off_1008BADC8;
*(_QWORD *)(a1 + 320) = off_1008BB1C8;
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);
}