//
// cocos2d::CCDrawNode::draw from 0x180012080 to 0x1800120e6 (102 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e69e0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ae38c
//
// 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
//
void __fastcall cocos2d::CCDrawNode::draw(cocos2d::CCDrawNode *this, float a2)
{
cocos2d::CCGLProgram *v3; // rax
cocos2d::CCGLProgram *v4; // rax
unsigned int v5; // r8d
cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)(unsigned int)this->m_eGLServerState, a2);
((void (__fastcall *)(cocos2d::CCDrawNode *))this->getShaderProgram)(this);
v3 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCDrawNode *))this->getShaderProgram)(this);
cocos2d::CCGLProgram::use(v3);
v4 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCDrawNode *))this->getShaderProgram)(this);
cocos2d::CCGLProgram::setUniformsForBuiltins(v4);
cocos2d::ccGLBlendFunc(this->m_sBlendFunc.src, this->m_sBlendFunc.dst, v5);
cocos2d::CCDrawNode::render(this);
}