{"type": "func", "start": 6442889712, "end": 6442889792, "name": "cocos2d::CCParticleSystem::setBatchNode", "pseudocode": "// \n// cocos2d::CCParticleSystem::setBatchNode from 0x18006b1f0 to 0x18006b240 (80 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ccd5\n// > <???> @ 0x180105780\n// > <???> @ 0x18014cf68\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:54 +0000\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 ( *((struct cocos2d::CCParticleBatchNode **)this + 55) != a2 )\n  {\n    *((_QWORD *)this + 55) = a2;\n    if ( a2 )\n    {\n      for ( i = 0; i < *((_DWORD *)this + 167); ++i )\n        *(_DWORD *)(148LL * i + *((_QWORD *)this + 53) + 72) = i;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystem::setBatchNode from 0x18006b1f0 to 0x18006b240 (80 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ccd5\n; > <???> @ 0x180105780\n; > <???> @ 0x18014cf68\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:54 +0000\n; \nmov     r8, rcx                                                        ; +0x0, 0x18006b1f0\ncmp     [rcx+1B8h], rdx                                                ; +0x3, 0x18006b1f3\njz      short locret_18006B23F                                         ; +0xa, 0x18006b1fa\nmov     [rcx+1B8h], rdx                                                ; +0xc, 0x18006b1fc\ntest    rdx, rdx                                                       ; +0x13, 0x18006b203\njz      short locret_18006B23F                                         ; +0x16, 0x18006b206\nxor     eax, eax                                                       ; +0x18, 0x18006b208\ncmp     [rcx+29Ch], eax                                                ; +0x1a, 0x18006b20a\njbe     short locret_18006B23F                                         ; +0x20, 0x18006b210\nnop     dword ptr [rax+00h]                                            ; +0x22, 0x18006b212\nnop     word ptr [rax+rax+00000000h]                                   ; +0x26, 0x18006b216\nmov     ecx, eax                                                       ; +0x30, 0x18006b220\nimul    rdx, rcx, 94h                                                  ; +0x32, 0x18006b222\nmov     rcx, [r8+1A8h]                                                 ; +0x39, 0x18006b229\nmov     [rdx+rcx+48h], eax                                             ; +0x40, 0x18006b230\ninc     eax                                                            ; +0x44, 0x18006b234\ncmp     eax, [r8+29Ch]                                                 ; +0x46, 0x18006b236\njb      short loc_18006B220                                            ; +0x4d, 0x18006b23d\nretn                                                                   ; +0x4f, 0x18006b23f", "xrefs": ["cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ccd5", "<???> @ 0x180105780", "<???> @ 0x18014cf68"], "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"}