//
// cocos2d::CCDrawNode::draw from 0xad9828 to 0xad9894 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x2b128
// > ??> @ 0x11891f8
// > ??> @ 0x1201368
//
// 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 cocos2d::CCDrawNode::draw(cocos2d::CCDrawNode *a1)
{
cocos2d::CCGLProgram *v2; // x0
cocos2d::CCGLProgram *v3; // x0
cocos2d::ccGLEnable(a1->m_eGLServerState);
a1->getShaderProgram(a1);
v2 = a1->getShaderProgram(a1);
cocos2d::CCGLProgram::use(v2);
v3 = a1->getShaderProgram(a1);
cocos2d::CCGLProgram::setUniformsForBuiltins(v3);
cocos2d::ccGLBlendFunc(a1->m_sBlendFunc.src, a1->m_sBlendFunc.dst);
cocos2d::CCDrawNode::render(a1);
}