//
// cocos2d::CCDrawNode::draw from 0x180012260 to 0x1800122c6 (102 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800eca38
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8440
//
// 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:21:22 +0000
//
void __fastcall cocos2d::CCDrawNode::draw(GLenum *this, float a2)
{
cocos2d::CCGLProgram *v3; // rax
cocos2d::CCGLProgram *v4; // rax
unsigned int v5; // r8d
cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)*(this + 62), a2);
(*(void (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);
v3 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);
cocos2d::CCGLProgram::use(v3);
v4 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);
cocos2d::CCGLProgram::setUniformsForBuiltins(v4);
cocos2d::ccGLBlendFunc(*(this + 92), *(this + 93), v5);
cocos2d::CCDrawNode::render((cocos2d::CCDrawNode *)this);
}