//
// cocos2d::CCParticleBatchNode::draw from 0xb01eb8 to 0xb01f48 (144 bytes)
//
// 2 xrefs:
// > ??> @ 0x938d0
// > ??> @ 0x1217148
//
// 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::CCParticleBatchNode::draw(cocos2d::CCParticleBatchNode *a1)
{
cocos2d::CCGLProgram *v2; // x0
cocos2d::CCGLProgram *v3; // x0
if ( a1->m_pTextureAtlas->getTotalQuads(a1->m_pTextureAtlas) )
{
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_tBlendFunc.src, a1->m_tBlendFunc.dst);
cocos2d::CCTextureAtlas::drawQuads(a1->m_pTextureAtlas);
}
}