{"type": "func", "start": 4297912036, "end": 4297912156, "name": "CreateParticlePopup::onAnimateOnTrigger", "pseudocode": "// \n// CreateParticlePopup::onAnimateOnTrigger from 0x1002ceee4 to 0x1002cef5c (120 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::init @ 0x1002cced4\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 __fastcall CreateParticlePopup::onAnimateOnTrigger(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  bool v2; // w8\n  ParticleGameObject *m_targetObject; // x9\n  cocos2d::CCArray *m_targetObjects; // x0\n  unsigned int v6; // w20\n\n  v2 = !a1->m_animateOnTrigger;\n  a1->m_animateOnTrigger = v2;\n  m_targetObject = a1->m_targetObject;\n  if ( m_targetObject )\n  {\n    m_targetObject->m_animateOnTrigger = v2;\n  }\n  else\n  {\n    m_targetObjects = a1->m_targetObjects;\n    if ( m_targetObjects && (unsigned int)sub_10024A36C((__int64)m_targetObjects) )\n    {\n      v6 = 0;\n      do\n        *(_BYTE *)(sub_10024A388((__int64)a1->m_targetObjects, v6++) + 1417) = a1->m_animateOnTrigger;\n      while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_targetObjects) );\n    }\n  }\n}", "assembly": "; \n; CreateParticlePopup::onAnimateOnTrigger from 0x1002ceee4 to 0x1002cef5c (120 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::init @ 0x1002cced4\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002ceee4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002ceee8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002ceeec\nLDRB            W8, [X0,#0x3A9]                                        ; +0xc, 0x1002ceef0\nMOV             W9, #1                                                 ; +0x10, 0x1002ceef4\nBIC             W8, W9, W8                                             ; +0x14, 0x1002ceef8\nSTRB            W8, [X0,#0x3A9]                                        ; +0x18, 0x1002ceefc\nLDR             X9, [X0,#0x290]                                        ; +0x1c, 0x1002cef00\nCBZ             X9, loc_1002CEF18                                      ; +0x20, 0x1002cef04\nSTRB            W8, [X9,#0x589]                                        ; +0x24, 0x1002cef08\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x1002cef0c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x1002cef10\nRET                                                                    ; +0x30, 0x1002cef14\nMOV             X19, X0                                                ; +0x34, 0x1002cef18\nLDR             X0, [X0,#0x298]                                        ; +0x38, 0x1002cef1c\nCBZ             X0, loc_1002CEF0C                                      ; +0x3c, 0x1002cef20\nBL              sub_10024A36C                                          ; +0x40, 0x1002cef24\nCBZ             W0, loc_1002CEF0C                                      ; +0x44, 0x1002cef28\nMOV             W20, #0                                                ; +0x48, 0x1002cef2c\nLDR             X0, [X19,#0x298]                                       ; +0x4c, 0x1002cef30\nMOV             X1, X20                                                ; +0x50, 0x1002cef34\nBL              sub_10024A388                                          ; +0x54, 0x1002cef38\nLDRB            W8, [X19,#0x3A9]                                       ; +0x58, 0x1002cef3c\nSTRB            W8, [X0,#0x589]                                        ; +0x5c, 0x1002cef40\nADD             W20, W20, #1                                           ; +0x60, 0x1002cef44\nLDR             X0, [X19,#0x298]                                       ; +0x64, 0x1002cef48\nBL              sub_10024A36C                                          ; +0x68, 0x1002cef4c\nCMP             W20, W0                                                ; +0x6c, 0x1002cef50\nB.CC            loc_1002CEF30                                          ; +0x70, 0x1002cef54\nB               loc_1002CEF0C                                          ; +0x74, 0x1002cef58", "xrefs": ["CreateParticlePopup::init @ 0x1002cced4"], "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"}