{"type": "func", "start": 6701856, "end": 6701928, "name": "CreateParticlePopup::onAnimateActiveOnly", "pseudocode": "// \n// CreateParticlePopup::onAnimateActiveOnly from 0x664320 to 0x664368 (72 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:55:39 +0000\n// \n\nunsigned int __fastcall CreateParticlePopup::onAnimateActiveOnly(unsigned int this, cocos2d::CCObject *a2)\n{\n  unsigned int v2; // r5\n  unsigned int v3; // r4\n  char v4; // r3\n  int v5; // r0\n\n  v2 = this;\n  v3 = *(_DWORD *)(this + 528);\n  v4 = *(_BYTE *)(this + 706) ^ 1;\n  *(_BYTE *)(this + 706) = v4;\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1260) = v4;\n  }\n  else if ( *(_DWORD *)(this + 532) )\n  {\n    while ( 1 )\n    {\n      this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 532));\n      if ( v3 >= this )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 532), v3++);\n      *(_BYTE *)(v5 + 1260) = *(_BYTE *)(v2 + 706);\n    }\n  }\n  return this;\n}", "assembly": "; \n; CreateParticlePopup::onAnimateActiveOnly from 0x664320 to 0x664368 (72 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:55:39 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x664320\nMOV             R5, R0                                                 ; +0x2, 0x664322\nLDR.W           R4, [R0,#0x210]                                        ; +0x4, 0x664324\nLDRB.W          R3, [R0,#0x2C2]                                        ; +0x8, 0x664328\nEOR.W           R3, R3, #1                                             ; +0xc, 0x66432c\nSTRB.W          R3, [R0,#0x2C2]                                        ; +0x10, 0x664330\nCBZ             R4, loc_66433C                                         ; +0x14, 0x664334\nSTRB.W          R3, [R4,#0x4EC]                                        ; +0x16, 0x664336\nPOP             {R3-R5,PC}                                             ; +0x1a, 0x66433a\nLDR.W           R3, [R0,#0x214]                                        ; +0x1c, 0x66433c\nCBNZ            R3, loc_664344                                         ; +0x20, 0x664340\nPOP             {R3-R5,PC}                                             ; +0x22, 0x664342\nLDR.W           R0, [R5,#0x214]; this                                  ; +0x24, 0x664344\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x664348\nCMP             R4, R0                                                 ; +0x2c, 0x66434c\nBCS             locret_664366                                          ; +0x2e, 0x66434e\nMOV             R1, R4; unsigned int                                   ; +0x30, 0x664350\nLDR.W           R0, [R5,#0x214]; this                                  ; +0x32, 0x664352\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x664356\nLDRB.W          R3, [R5,#0x2C2]                                        ; +0x3a, 0x66435a\nADDS            R4, #1                                                 ; +0x3e, 0x66435e\nSTRB.W          R3, [R0,#0x4EC]                                        ; +0x40, 0x664360\nB               loc_664344                                             ; +0x44, 0x664364\nPOP             {R3-R5,PC}                                             ; +0x46, 0x664366", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}