{"type": "func", "start": 6442881136, "end": 6442881216, "name": "cocos2d::CCParticleSystem::setBatchNode", "pseudocode": "// \n// cocos2d::CCParticleSystem::setBatchNode from 0x180069070 to 0x1800690c0 (80 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab15\n// > <???> @ 0x1800ff318\n// > <???> @ 0x1801438a8\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::CCParticleSystem::setBatchNode(\n        cocos2d::CCParticleSystem *this,\n        struct cocos2d::CCParticleBatchNode *a2)\n{\n  unsigned int i; // eax\n\n  if ( this->m_pBatchNode != a2 )\n  {\n    this->m_pBatchNode = a2;\n    if ( a2 )\n    {\n      for ( i = 0; i < this->m_uTotalParticles; ++i )\n        *((_DWORD *)&this->m_pParticles->modeA.dir.x + 37 * i) = i;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::setBatchNode from 0x180069070 to 0x1800690c0 (80 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab15\n; > <???> @ 0x1800ff318\n; > <???> @ 0x1801438a8\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\nmov     r8, rcx                                                        ; +0x0, 0x180069070\ncmp     [rcx+1B8h], rdx                                                ; +0x3, 0x180069073\njz      short locret_1800690BF                                         ; +0xa, 0x18006907a\nmov     [rcx+1B8h], rdx                                                ; +0xc, 0x18006907c\ntest    rdx, rdx                                                       ; +0x13, 0x180069083\njz      short locret_1800690BF                                         ; +0x16, 0x180069086\nxor     eax, eax                                                       ; +0x18, 0x180069088\ncmp     [rcx+298h], eax                                                ; +0x1a, 0x18006908a\njbe     short locret_1800690BF                                         ; +0x20, 0x180069090\nnop     dword ptr [rax+00h]                                            ; +0x22, 0x180069092\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x180069096\nmov     ecx, eax                                                       ; +0x30, 0x1800690a0\nimul    rdx, rcx, 94h                                                  ; +0x32, 0x1800690a2\nmov     rcx, [r8+1A8h]                                                 ; +0x39, 0x1800690a9\nmov     [rdx+rcx+48h], eax                                             ; +0x40, 0x1800690b0\ninc     eax                                                            ; +0x44, 0x1800690b4\ncmp     eax, [r8+298h]                                                 ; +0x46, 0x1800690b6\njb      short loc_1800690A0                                            ; +0x4d, 0x1800690bd\nretn                                                                   ; +0x4f, 0x1800690bf", "xrefs": ["cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab15", "<???> @ 0x1800ff318", "<???> @ 0x1801438a8"], "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"}