{"type": "func", "start": 11522344, "end": 11522464, "name": "CreateParticlePopup::onQuickStart", "pseudocode": "// \n// CreateParticlePopup::onQuickStart from 0xafd128 to 0xafd1a0 (120 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x874c0\n// > CreateParticlePopup::init @ 0xb04288\n// > <???> @ 0x15438c8\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::onQuickStart(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 + 1003) ^ 1u;\n  *((_BYTE *)this + 1003) = result;\n  if ( v3 )\n  {\n    *(_BYTE *)(v3 + 1776) = 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) + 1776) = *((_BYTE *)this + 1003);\n        result = *((_QWORD *)this + 86);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; CreateParticlePopup::onQuickStart from 0xafd128 to 0xafd1a0 (120 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x874c0\n; > CreateParticlePopup::init @ 0xb04288\n; > <???> @ 0x15438c8\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, 0xafd128\nMOV             X29, SP                                                ; +0x4, 0xafd12c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xafd130\nMOV             X19, X0                                                ; +0xc, 0xafd134\nLDRB            W0, [X0,#0x3EB]                                        ; +0x10, 0xafd138\nLDR             X1, [X19,#0x2A8]                                       ; +0x14, 0xafd13c\nEOR             W0, W0, #1                                             ; +0x18, 0xafd140\nSTRB            W0, [X19,#0x3EB]                                       ; +0x1c, 0xafd144\nCBZ             X1, loc_AFD15C                                         ; +0x20, 0xafd148\nSTRB            W0, [X1,#0x6F0]                                        ; +0x24, 0xafd14c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x28, 0xafd150\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x2c, 0xafd154\nRET                                                                    ; +0x30, 0xafd158\nLDR             X0, [X19,#0x2B0]                                       ; +0x34, 0xafd15c\nCBZ             X0, loc_AFD150                                         ; +0x38, 0xafd160\nMOV             W20, #0                                                ; +0x3c, 0xafd164\nB               loc_AFD180                                             ; +0x40, 0xafd168\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x44, 0xafd16c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0xafd170\nLDRB            W1, [X19,#0x3EB]                                       ; +0x4c, 0xafd174\nSTRB            W1, [X0,#0x6F0]                                        ; +0x50, 0xafd178\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x54, 0xafd17c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x58, 0xafd180\nCMP             W20, W0                                                ; +0x5c, 0xafd184\nMOV             W1, W20; unsigned int                                  ; +0x60, 0xafd188\nADD             W20, W20, #1                                           ; +0x64, 0xafd18c\nB.CC            loc_AFD16C                                             ; +0x68, 0xafd190\nLDP             X19, X20, [SP,#var_s10]                                ; +0x6c, 0xafd194\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x70, 0xafd198\nRET                                                                    ; +0x74, 0xafd19c", "xrefs": ["<???> @ 0x874c0", "CreateParticlePopup::init @ 0xb04288", "<???> @ 0x15438c8"], "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"}