{"type": "func", "start": 6442858768, "end": 6442858897, "name": "cocos2d::CCParticleBatchNode::draw", "pseudocode": "// \n// cocos2d::CCParticleBatchNode::draw from 0x180063910 to 0x180063991 (129 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180100888\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd984\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:51 +0000\n// \n\nvoid __fastcall cocos2d::CCParticleBatchNode::draw(GLenum *this, float a2)\n{\n  cocos2d::CCGLProgram *v3; // rax\n  cocos2d::CCGLProgram *v4; // rax\n  unsigned int v5; // r8d\n\n  if ( (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 72LL))(*((_QWORD *)this + 41)) )\n  {\n    cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)*(this + 62), a2);\n    (*(void (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);\n    v3 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);\n    cocos2d::CCGLProgram::use(v3);\n    v4 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);\n    cocos2d::CCGLProgram::setUniformsForBuiltins(v4);\n    cocos2d::ccGLBlendFunc(*(this + 84), *(this + 85), v5);\n    cocos2d::CCTextureAtlas::drawQuads(*((cocos2d::CCTextureAtlas **)this + 41));\n  }\n}", "assembly": "; \n; cocos2d::CCParticleBatchNode::draw from 0x180063910 to 0x180063991 (129 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180100888\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd984\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x180063910\nsub     rsp, 20h                                                       ; +0x2, 0x180063912\nmov     rbx, rcx                                                       ; +0x6, 0x180063916\nmov     rcx, [rcx+148h]                                                ; +0x9, 0x180063919\nmov     rax, [rcx]                                                     ; +0x10, 0x180063920\ncall    qword ptr [rax+48h]                                            ; +0x13, 0x180063923\ntest    eax, eax                                                       ; +0x16, 0x180063926\njz      short loc_18006398B                                            ; +0x18, 0x180063928\nmov     ecx, [rbx+0F8h]; this                                          ; +0x1a, 0x18006392a\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x20, 0x180063930\nmov     rax, [rbx]                                                     ; +0x25, 0x180063935\nmov     rcx, rbx                                                       ; +0x28, 0x180063938\ncall    qword ptr [rax+288h]                                           ; +0x2b, 0x18006393b\nmov     rax, [rbx]                                                     ; +0x31, 0x180063941\nmov     rcx, rbx                                                       ; +0x34, 0x180063944\ncall    qword ptr [rax+288h]                                           ; +0x37, 0x180063947\nmov     rcx, rax; this                                                 ; +0x3d, 0x18006394d\ncall    ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x40, 0x180063950\nmov     rax, [rbx]                                                     ; +0x45, 0x180063955\nmov     rcx, rbx                                                       ; +0x48, 0x180063958\ncall    qword ptr [rax+288h]                                           ; +0x4b, 0x18006395b\nmov     rcx, rax; this                                                 ; +0x51, 0x180063961\ncall    ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x54, 0x180063964\nmov     edx, [rbx+154h]; dfactor                                       ; +0x59, 0x180063969\nmov     ecx, [rbx+150h]; sfactor                                       ; +0x5f, 0x18006396f\ncall    ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x65, 0x180063975\nmov     rcx, [rbx+148h]; this                                          ; +0x6a, 0x18006397a\nadd     rsp, 20h                                                       ; +0x71, 0x180063981\npop     rbx                                                            ; +0x75, 0x180063985\njmp     ?drawQuads@CCTextureAtlas@cocos2d@@QEAAXXZ; cocos2d::CCTextureAtlas::drawQuads(void) ; +0x76, 0x180063986\nadd     rsp, 20h                                                       ; +0x7b, 0x18006398b\npop     rbx                                                            ; +0x7f, 0x18006398f\nretn                                                                   ; +0x80, 0x180063990", "xrefs": ["<???> @ 0x180100888", "<???> @ 0x18014cf68", "<???> @ 0x1801bd984"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}