{"type": "func", "start": 5374765920, "end": 5374766058, "name": "CreateParticlePopup::onAnimateActiveOnly", "pseudocode": "// \n// CreateParticlePopup::onAnimateActiveOnly from 0x1405c6b60 to 0x1405c6bea (138 bytes)\n// \n// 4 xrefs:\n// > CreateParticlePopup::init @ 0x1405c5224\n// > <???> @ 0x1408e0874\n// > <???> @ 0x1408e0884\n// > <???> @ 0x14092e214\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:34:51 +0000\n// \n\nchar __fastcall CreateParticlePopup::onAnimateActiveOnly(__int64 a1)\n{\n  unsigned int v2; // eax\n  __int64 v3; // rcx\n  cocos2d::CCArray *v4; // rcx\n  unsigned int v5; // edi\n  struct cocos2d::CCObject *v6; // rax\n\n  LOBYTE(v2) = *(_BYTE *)(a1 + 1002) == 0;\n  *(_BYTE *)(a1 + 1002) = v2;\n  v3 = *(_QWORD *)(a1 + 680);\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1456) = v2;\n  }\n  else\n  {\n    v4 = *(cocos2d::CCArray **)(a1 + 688);\n    if ( v4 )\n    {\n      v5 = 0;\n      v2 = cocos2d::CCArray::count(v4);\n      if ( v2 )\n      {\n        do\n        {\n          v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v5++);\n          *((_BYTE *)v6 + 1456) = *(_BYTE *)(a1 + 1002);\n          v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688));\n        }\n        while ( v5 < v2 );\n      }\n    }\n  }\n  return v2;\n}", "assembly": "; \n; CreateParticlePopup::onAnimateActiveOnly from 0x1405c6b60 to 0x1405c6bea (138 bytes)\n; \n; 4 xrefs:\n; > CreateParticlePopup::init @ 0x1405c5224\n; > <???> @ 0x1408e0874\n; > <???> @ 0x1408e0884\n; > <???> @ 0x14092e214\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:34:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x1405c6b60\nsub     rsp, 20h                                                       ; +0x2, 0x1405c6b62\ncmp     byte ptr [rcx+3EAh], 0                                         ; +0x6, 0x1405c6b66\nmov     rbx, rcx                                                       ; +0xd, 0x1405c6b6d\nsetz    al                                                             ; +0x10, 0x1405c6b70\nmov     [rcx+3EAh], al                                                 ; +0x13, 0x1405c6b73\nmov     rcx, [rcx+2A8h]                                                ; +0x19, 0x1405c6b79\ntest    rcx, rcx                                                       ; +0x20, 0x1405c6b80\njz      short loc_1405C6B91                                            ; +0x23, 0x1405c6b83\nmov     [rcx+5B0h], al                                                 ; +0x25, 0x1405c6b85\nadd     rsp, 20h                                                       ; +0x2b, 0x1405c6b8b\npop     rbx                                                            ; +0x2f, 0x1405c6b8f\nretn                                                                   ; +0x30, 0x1405c6b90\nmov     rcx, [rbx+2B0h]                                                ; +0x31, 0x1405c6b91\ntest    rcx, rcx                                                       ; +0x38, 0x1405c6b98\njz      short loc_1405C6BE4                                            ; +0x3b, 0x1405c6b9b\nmov     [rsp+28h+arg_0], rdi                                           ; +0x3d, 0x1405c6b9d\nxor     edi, edi                                                       ; +0x42, 0x1405c6ba2\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x44, 0x1405c6ba4\ntest    eax, eax                                                       ; +0x4a, 0x1405c6baa\njz      short loc_1405C6BDF                                            ; +0x4c, 0x1405c6bac\nxchg    ax, ax                                                         ; +0x4e, 0x1405c6bae\nmov     rcx, [rbx+2B0h]                                                ; +0x50, 0x1405c6bb0\nmov     edx, edi                                                       ; +0x57, 0x1405c6bb7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x1405c6bb9\nmovzx   ecx, byte ptr [rbx+3EAh]                                       ; +0x5f, 0x1405c6bbf\ninc     edi                                                            ; +0x66, 0x1405c6bc6\nmov     [rax+5B0h], cl                                                 ; +0x68, 0x1405c6bc8\nmov     rcx, [rbx+2B0h]                                                ; +0x6e, 0x1405c6bce\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x1405c6bd5\ncmp     edi, eax                                                       ; +0x7b, 0x1405c6bdb\njb      short loc_1405C6BB0                                            ; +0x7d, 0x1405c6bdd\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7f, 0x1405c6bdf\nadd     rsp, 20h                                                       ; +0x84, 0x1405c6be4\npop     rbx                                                            ; +0x88, 0x1405c6be8\nretn                                                                   ; +0x89, 0x1405c6be9", "xrefs": ["CreateParticlePopup::init @ 0x1405c5224", "<???> @ 0x1408e0874", "<???> @ 0x1408e0884", "<???> @ 0x14092e214"], "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"}