{"type": "func", "start": 6442852032, "end": 6442852148, "name": "cocos2d::CCParticleBatchNode::visit", "pseudocode": "// \n// cocos2d::CCParticleBatchNode::visit from 0x180061ec0 to 0x180061f34 (116 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fa368\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3774\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCParticleBatchNode::visit(cocos2d::CCParticleBatchNode *this)\n{\n  cocos2d::CCGridBase *m_pGrid; // rcx\n  cocos2d::CCGridBase *v3; // rcx\n\n  if ( this->m_bVisible )\n  {\n    kmGLPushMatrix();\n    m_pGrid = this->m_pGrid;\n    if ( m_pGrid && m_pGrid->m_bActive )\n    {\n      cocos2d::CCGridBase::beforeDraw(m_pGrid);\n      cocos2d::CCNode::transformAncestors(this);\n    }\n    cocos2d::CCNode::transform(this);\n    ((void (__fastcall *)(cocos2d::CCParticleBatchNode *))this->draw)(this);\n    v3 = this->m_pGrid;\n    if ( v3 )\n    {\n      if ( v3->m_bActive )\n        cocos2d::CCGridBase::afterDraw(v3, this);\n    }\n    kmGLPopMatrix();\n  }\n}", "assembly": "; \n; cocos2d::CCParticleBatchNode::visit from 0x180061ec0 to 0x180061f34 (116 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fa368\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3774\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180061ec0\nsub     rsp, 20h                                                       ; +0x2, 0x180061ec2\ncmp     byte ptr [rcx+11Eh], 0                                         ; +0x6, 0x180061ec6\nmov     rbx, rcx                                                       ; +0xd, 0x180061ecd\njz      short loc_180061F2E                                            ; +0x10, 0x180061ed0\ncall    kmGLPushMatrix                                                 ; +0x12, 0x180061ed2\nmov     rcx, [rbx+0C8h]; this                                          ; +0x17, 0x180061ed7\ntest    rcx, rcx                                                       ; +0x1e, 0x180061ede\njz      short loc_180061EF6                                            ; +0x21, 0x180061ee1\ncmp     byte ptr [rcx+38h], 0                                          ; +0x23, 0x180061ee3\njz      short loc_180061EF6                                            ; +0x27, 0x180061ee7\ncall    ?beforeDraw@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::beforeDraw(void) ; +0x29, 0x180061ee9\nmov     rcx, rbx; this                                                 ; +0x2e, 0x180061eee\ncall    ?transformAncestors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transformAncestors(void) ; +0x31, 0x180061ef1\nmov     rcx, rbx; this                                                 ; +0x36, 0x180061ef6\ncall    ?transform@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transform(void) ; +0x39, 0x180061ef9\nmov     rax, [rbx]                                                     ; +0x3e, 0x180061efe\nmov     rcx, rbx                                                       ; +0x41, 0x180061f01\ncall    qword ptr [rax+2D0h]                                           ; +0x44, 0x180061f04\nmov     rcx, [rbx+0C8h]; this                                          ; +0x4a, 0x180061f0a\ntest    rcx, rcx                                                       ; +0x51, 0x180061f11\njz      short loc_180061F24                                            ; +0x54, 0x180061f14\ncmp     byte ptr [rcx+38h], 0                                          ; +0x56, 0x180061f16\njz      short loc_180061F24                                            ; +0x5a, 0x180061f1a\nmov     rdx, rbx; struct cocos2d::CCNode *                             ; +0x5c, 0x180061f1c\ncall    ?afterDraw@CCGridBase@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCGridBase::afterDraw(cocos2d::CCNode *) ; +0x5f, 0x180061f1f\nadd     rsp, 20h                                                       ; +0x64, 0x180061f24\npop     rbx                                                            ; +0x68, 0x180061f28\njmp     kmGLPopMatrix                                                  ; +0x69, 0x180061f29\nadd     rsp, 20h                                                       ; +0x6e, 0x180061f2e\npop     rbx                                                            ; +0x72, 0x180061f32\nretn                                                                   ; +0x73, 0x180061f33", "xrefs": ["<???> @ 0x1800fa368", "<???> @ 0x1801438a8", "<???> @ 0x1801b3774"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}