{"type": "func", "start": 6442861088, "end": 6442861202, "name": "cocos2d::CCParticleBatchNode::updateAllAtlasIndexes", "pseudocode": "// \n// cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x180064220 to 0x180064292 (114 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCParticleBatchNode::insertChild @ 0x180063d21\n// > cocos2d::CCParticleBatchNode::removeChild @ 0x180063e9e\n// > cocos2d::CCParticleBatchNode::reorderChild @ 0x180064084\n// > <???> @ 0x180142dbc\n// > <???> @ 0x180142df0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bda80\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:52 +0000\n// \n\nvoid __fastcall cocos2d::CCParticleBatchNode::updateAllAtlasIndexes(cocos2d::CCParticleBatchNode *this)\n{\n  __int64 v1; // rax\n  int v2; // edi\n  unsigned int *v3; // rbx\n  __int64 v4; // rax\n  __int64 **v5; // rbx\n  __int64 **i; // rsi\n  __int64 *v7; // rcx\n  __int64 v8; // rax\n\n  v1 = *((_QWORD *)this + 26);\n  v2 = 0;\n  if ( v1 )\n  {\n    v3 = *(unsigned int **)(v1 + 56);\n    v4 = *v3;\n    if ( (_DWORD)v4 )\n    {\n      v5 = *((__int64 ***)v3 + 2);\n      for ( i = &v5[v4 - 1]; v5 <= i; ++v5 )\n      {\n        v7 = *v5;\n        if ( !*v5 )\n          break;\n        v8 = *v7;\n        *((_DWORD *)v7 + 112) = v2;\n        v2 += (*(__int64 (**)(void))(v8 + 1488))();\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x180064220 to 0x180064292 (114 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCParticleBatchNode::insertChild @ 0x180063d21\n; > cocos2d::CCParticleBatchNode::removeChild @ 0x180063e9e\n; > cocos2d::CCParticleBatchNode::reorderChild @ 0x180064084\n; > <???> @ 0x180142dbc\n; > <???> @ 0x180142df0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bda80\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:52 +0000\n; \npush    rdi                                                            ; +0x0, 0x180064220\nsub     rsp, 20h                                                       ; +0x2, 0x180064222\nmov     rax, [rcx+0D0h]                                                ; +0x6, 0x180064226\nxor     edi, edi                                                       ; +0xd, 0x18006422d\ntest    rax, rax                                                       ; +0xf, 0x18006422f\njz      short loc_18006428C                                            ; +0x12, 0x180064232\nmov     [rsp+28h+arg_0], rbx                                           ; +0x14, 0x180064234\nmov     rbx, [rax+38h]                                                 ; +0x19, 0x180064239\nmov     eax, [rbx]                                                     ; +0x1d, 0x18006423d\ntest    eax, eax                                                       ; +0x1f, 0x18006423f\njz      short loc_180064287                                            ; +0x21, 0x180064241\nmov     rbx, [rbx+10h]                                                 ; +0x23, 0x180064243\nmov     [rsp+28h+arg_8], rsi                                           ; +0x27, 0x180064247\nlea     rsi, [rax-1]                                                   ; +0x2c, 0x18006424c\nlea     rsi, [rbx+rsi*8]                                               ; +0x30, 0x180064250\ncmp     rbx, rsi                                                       ; +0x34, 0x180064254\nja      short loc_180064282                                            ; +0x37, 0x180064257\nnop     dword ptr [rax+00000000h]                                      ; +0x39, 0x180064259\nmov     rcx, [rbx]                                                     ; +0x40, 0x180064260\ntest    rcx, rcx                                                       ; +0x43, 0x180064263\njz      short loc_180064282                                            ; +0x46, 0x180064266\nmov     rax, [rcx]                                                     ; +0x48, 0x180064268\nmov     [rcx+1C0h], edi                                                ; +0x4b, 0x18006426b\ncall    qword ptr [rax+5D0h]                                           ; +0x51, 0x180064271\nadd     edi, eax                                                       ; +0x57, 0x180064277\nadd     rbx, 8                                                         ; +0x59, 0x180064279\ncmp     rbx, rsi                                                       ; +0x5d, 0x18006427d\njbe     short loc_180064260                                            ; +0x60, 0x180064280\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x62, 0x180064282\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x67, 0x180064287\nadd     rsp, 20h                                                       ; +0x6c, 0x18006428c\npop     rdi                                                            ; +0x70, 0x180064290\nretn                                                                   ; +0x71, 0x180064291", "xrefs": ["cocos2d::CCParticleBatchNode::insertChild @ 0x180063d21", "cocos2d::CCParticleBatchNode::removeChild @ 0x180063e9e", "cocos2d::CCParticleBatchNode::reorderChild @ 0x180064084", "<???> @ 0x180142dbc", "<???> @ 0x180142df0", "<???> @ 0x18014cf68", "<???> @ 0x1801bda80"], "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"}