// // cocos2d::CCParticleBatchNode::draw from 0x1003c9650 to 0x1003c96d3 (131 bytes) // // 1 xrefs: // > @ 0x10092edd0 // // 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::CCParticleBatchNode::draw(cocos2d::CCParticleBatchNode *a1) { cocos2d::CCGLProgram *v1; // rax cocos2d::CCGLProgram *v2; // rax if ( ((unsigned int (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pTextureAtlas->getTotalQuads)(a1->m_pTextureAtlas) ) { cocos2d::ccGLEnable(a1->m_eGLServerState); ((void (__fastcall *)(cocos2d::CCParticleBatchNode *))a1->getShaderProgram)(a1); v1 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCParticleBatchNode *))a1->getShaderProgram)(a1); cocos2d::CCGLProgram::use(v1); v2 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCParticleBatchNode *))a1->getShaderProgram)(a1); cocos2d::CCGLProgram::setUniformsForBuiltins(v2); cocos2d::ccGLBlendFunc(a1->m_tBlendFunc.src, a1->m_tBlendFunc.dst); cocos2d::CCTextureAtlas::drawQuads(a1->m_pTextureAtlas); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source