{"type": "func", "start": 11522104, "end": 11522224, "name": "CreateParticlePopup::onAnimateOnTrigger", "pseudocode": "// \n// CreateParticlePopup::onAnimateOnTrigger from 0xafd038 to 0xafd0b0 (120 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xcce80\n// > CreateParticlePopup::init @ 0xb040d0\n// > <???> @ 0x1546028\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::onAnimateOnTrigger(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 + 1001) ^ 1u;\n  *((_BYTE *)this + 1001) = result;\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1417) = 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) + 1417) = *((_BYTE *)this + 1001);\n        result = *((_QWORD *)this + 86);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::onAnimateOnTrigger from 0xafd038 to 0xafd0b0 (120 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xcce80\n; > CreateParticlePopup::init @ 0xb040d0\n; > <???> @ 0x1546028\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, 0xafd038\nMOV             X29, SP                                                ; +0x4, 0xafd03c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xafd040\nMOV             X19, X0                                                ; +0xc, 0xafd044\nLDRB            W0, [X0,#0x3E9]                                        ; +0x10, 0xafd048\nLDR             X1, [X19,#0x2A8]                                       ; +0x14, 0xafd04c\nEOR             W0, W0, #1                                             ; +0x18, 0xafd050\nSTRB            W0, [X19,#0x3E9]                                       ; +0x1c, 0xafd054\nCBZ             X1, loc_AFD06C                                         ; +0x20, 0xafd058\nSTRB            W0, [X1,#0x589]                                        ; +0x24, 0xafd05c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x28, 0xafd060\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x2c, 0xafd064\nRET                                                                    ; +0x30, 0xafd068\nLDR             X0, [X19,#0x2B0]                                       ; +0x34, 0xafd06c\nCBZ             X0, loc_AFD060                                         ; +0x38, 0xafd070\nMOV             W20, #0                                                ; +0x3c, 0xafd074\nB               loc_AFD090                                             ; +0x40, 0xafd078\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x44, 0xafd07c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0xafd080\nLDRB            W1, [X19,#0x3E9]                                       ; +0x4c, 0xafd084\nSTRB            W1, [X0,#0x589]                                        ; +0x50, 0xafd088\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x54, 0xafd08c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x58, 0xafd090\nCMP             W20, W0                                                ; +0x5c, 0xafd094\nMOV             W1, W20; unsigned int                                  ; +0x60, 0xafd098\nADD             W20, W20, #1                                           ; +0x64, 0xafd09c\nB.CC            loc_AFD07C                                             ; +0x68, 0xafd0a0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x6c, 0xafd0a4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x70, 0xafd0a8\nRET                                                                    ; +0x74, 0xafd0ac", "xrefs": ["<???> @ 0xcce80", "CreateParticlePopup::init @ 0xb040d0", "<???> @ 0x1546028"], "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"}