//
// cocos2d::CCParticleBatchNode::draw from 0x180063910 to 0x180063991 (129 bytes)
//
// 3 xrefs:
// > ??> @ 0x180100888
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd984
//
// 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:51 +0000
//
void __fastcall cocos2d::CCParticleBatchNode::draw(GLenum *this, float a2)
{
cocos2d::CCGLProgram *v3; // rax
cocos2d::CCGLProgram *v4; // rax
unsigned int v5; // r8d
if ( (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 72LL))(*((_QWORD *)this + 41)) )
{
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 + 84), *(this + 85), v5);
cocos2d::CCTextureAtlas::drawQuads(*((cocos2d::CCTextureAtlas **)this + 41));
}
}