{"type": "func", "start": 11522224, "end": 11522344, "name": "CreateParticlePopup::onAnimateActiveOnly", "pseudocode": "// \n// CreateParticlePopup::onAnimateActiveOnly from 0xafd0b0 to 0xafd128 (120 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xb2678\n// > CreateParticlePopup::init @ 0xb041ac\n// > <???> @ 0x1545160\n// \n// This function is hookable on this platform (idp: arm, 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 13:01:18 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onAnimateActiveOnly(CreateParticlePopup *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x1\n  __int64 result; // x0\n  unsigned int v5; // w20\n  bool v6; // cf\n  unsigned int v7; // w1\n\n  v3 = *((_QWORD *)this + 85);\n  result = *((unsigned __int8 *)this + 1002) ^ 1u;\n  *((_BYTE *)this + 1002) = result;\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1440) = result;\n  }\n  else\n  {\n    result = *((_QWORD *)this + 86);\n    if ( result )\n    {\n      v5 = 0;\n      while ( 1 )\n      {\n        result = cocos2d::CCArray::count((cocos2d::CCArray *)result);\n        v6 = v5 >= (unsigned int)result;\n        v7 = v5++;\n        if ( v6 )\n          break;\n        *(_BYTE *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v7) + 1440) = *((_BYTE *)this + 1002);\n        result = *((_QWORD *)this + 86);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::onAnimateActiveOnly from 0xafd0b0 to 0xafd128 (120 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xb2678\n; > CreateParticlePopup::init @ 0xb041ac\n; > <???> @ 0x1545160\n; \n; This function is hookable on this platform (idp: arm, 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 13:01:18 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xafd0b0\nMOV             X29, SP                                                ; +0x4, 0xafd0b4\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xafd0b8\nMOV             X19, X0                                                ; +0xc, 0xafd0bc\nLDRB            W0, [X0,#0x3EA]                                        ; +0x10, 0xafd0c0\nLDR             X1, [X19,#0x2A8]                                       ; +0x14, 0xafd0c4\nEOR             W0, W0, #1                                             ; +0x18, 0xafd0c8\nSTRB            W0, [X19,#0x3EA]                                       ; +0x1c, 0xafd0cc\nCBZ             X1, loc_AFD0E4                                         ; +0x20, 0xafd0d0\nSTRB            W0, [X1,#0x5A0]                                        ; +0x24, 0xafd0d4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x28, 0xafd0d8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x2c, 0xafd0dc\nRET                                                                    ; +0x30, 0xafd0e0\nLDR             X0, [X19,#0x2B0]                                       ; +0x34, 0xafd0e4\nCBZ             X0, loc_AFD0D8                                         ; +0x38, 0xafd0e8\nMOV             W20, #0                                                ; +0x3c, 0xafd0ec\nB               loc_AFD108                                             ; +0x40, 0xafd0f0\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x44, 0xafd0f4\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0xafd0f8\nLDRB            W1, [X19,#0x3EA]                                       ; +0x4c, 0xafd0fc\nSTRB            W1, [X0,#0x5A0]                                        ; +0x50, 0xafd100\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x54, 0xafd104\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x58, 0xafd108\nCMP             W20, W0                                                ; +0x5c, 0xafd10c\nMOV             W1, W20; unsigned int                                  ; +0x60, 0xafd110\nADD             W20, W20, #1                                           ; +0x64, 0xafd114\nB.CC            loc_AFD0F4                                             ; +0x68, 0xafd118\nLDP             X19, X20, [SP,#var_s10]                                ; +0x6c, 0xafd11c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x70, 0xafd120\nRET                                                                    ; +0x74, 0xafd124", "xrefs": ["<???> @ 0xb2678", "CreateParticlePopup::init @ 0xb041ac", "<???> @ 0x1545160"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}