{"type": "func", "start": 10228752, "end": 10228876, "name": "CreateParticlePopup::onQuickStart", "pseudocode": "// \n// CreateParticlePopup::onQuickStart from 0x9c1410 to 0x9c148c (124 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x63540\n// > CreateParticlePopup::init @ 0x9c80d0\n// > <???> @ 0x122b360\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateParticlePopup::onQuickStart(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  ParticleGameObject *m_targetObject; // x2\n  bool v3; // w1\n  cocos2d::CCArray *m_targetObjects; // x1\n  unsigned int v6; // w20\n  __int64 v7; // x0\n  bool v8; // cf\n  unsigned int v9; // w1\n\n  m_targetObject = a1->m_targetObject;\n  v3 = !a1->m_quickStart;\n  a1->m_quickStart = v3;\n  if ( m_targetObject )\n  {\n    m_targetObject->m_shouldQuickStart = v3;\n  }\n  else\n  {\n    m_targetObjects = a1->m_targetObjects;\n    if ( m_targetObjects )\n    {\n      v6 = 0;\n      while ( 1 )\n      {\n        v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_targetObjects);\n        v9 = v6++;\n        if ( v8 )\n          break;\n        v7 = cocos2d::CCArray::objectAtIndex(a1->m_targetObjects, v9);\n        m_targetObjects = a1->m_targetObjects;\n        *(_BYTE *)(v7 + 1728) = a1->m_quickStart;\n      }\n    }\n  }\n}", "assembly": "; \n; CreateParticlePopup::onQuickStart from 0x9c1410 to 0x9c148c (124 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x63540\n; > CreateParticlePopup::init @ 0x9c80d0\n; > <???> @ 0x122b360\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x9c1410\nMOV             X29, SP                                                ; +0x4, 0x9c1414\nLDRB            W1, [X0,#0x3AB]                                        ; +0x8, 0x9c1418\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x9c141c\nLDR             X2, [X0,#0x290]                                        ; +0x10, 0x9c1420\nEOR             W1, W1, #1                                             ; +0x14, 0x9c1424\nSTRB            W1, [X0,#0x3AB]                                        ; +0x18, 0x9c1428\nCBZ             X2, loc_9C1440                                         ; +0x1c, 0x9c142c\nSTRB            W1, [X2,#0x6C0]                                        ; +0x20, 0x9c1430\nLDP             X19, X20, [SP,#var_s10]                                ; +0x24, 0x9c1434\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x28, 0x9c1438\nRET                                                                    ; +0x2c, 0x9c143c\nLDR             X1, [X0,#0x298]                                        ; +0x30, 0x9c1440\nCBZ             X1, loc_9C1434                                         ; +0x34, 0x9c1444\nMOV             X19, X0                                                ; +0x38, 0x9c1448\nMOV             W20, #0                                                ; +0x3c, 0x9c144c\nB               loc_9C1468                                             ; +0x40, 0x9c1450\nLDR             X0, [X19,#0x298]; this                                 ; +0x44, 0x9c1454\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0x9c1458\nLDRB            W2, [X19,#0x3AB]                                       ; +0x4c, 0x9c145c\nLDR             X1, [X19,#0x298]                                       ; +0x50, 0x9c1460\nSTRB            W2, [X0,#0x6C0]                                        ; +0x54, 0x9c1464\nMOV             X0, X1; this                                           ; +0x58, 0x9c1468\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5c, 0x9c146c\nCMP             W20, W0                                                ; +0x60, 0x9c1470\nMOV             W1, W20; unsigned int                                  ; +0x64, 0x9c1474\nADD             W20, W20, #1                                           ; +0x68, 0x9c1478\nB.CC            loc_9C1454                                             ; +0x6c, 0x9c147c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x70, 0x9c1480\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x74, 0x9c1484\nRET                                                                    ; +0x78, 0x9c1488", "xrefs": ["<???> @ 0x63540", "CreateParticlePopup::init @ 0x9c80d0", "<???> @ 0x122b360"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}