{"type": "func", "start": 5373564592, "end": 5373564707, "name": "ParticleGameObject::updateAnimateOnTrigger", "pseudocode": "// \n// ParticleGameObject::updateAnimateOnTrigger from 0x1404a16b0 to 0x1404a1723 (115 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14060da98\n// > <???> @ 0x1406dc6ec\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 ParticleGameObject::updateAnimateOnTrigger(ParticleGameObject *a1, bool a2)\n{\n  cocos2d::CCParticleSystemQuad *m_particle; // rcx\n\n  if ( a1->m_hasCustomAnimation && a1->m_animateOnTrigger )\n  {\n    a1->m_animationTriggered = 0;\n    *(_QWORD *)&a1->m_unk540 = 0;\n    *(_QWORD *)&a1->m_animationRandomizedStartValue = 0;\n    a1->m_isDisabled2 = 1;\n    a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, 0);\n    m_particle = a1->m_particle;\n    if ( m_particle )\n    {\n      cocos2d::CCParticleSystem::resetSystem(m_particle);\n      cocos2d::CCParticleSystem::stopSystem(a1->m_particle);\n    }\n  }\n}", "assembly": "; \n; ParticleGameObject::updateAnimateOnTrigger from 0x1404a16b0 to 0x1404a1723 (115 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14060da98\n; > <???> @ 0x1406dc6ec\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\npush    rbx                                                            ; +0x0, 0x1404a16b0\nsub     rsp, 20h                                                       ; +0x2, 0x1404a16b2\ncmp     byte ptr [rcx+57Ah], 0                                         ; +0x6, 0x1404a16b6\nmov     rbx, rcx                                                       ; +0xd, 0x1404a16bd\njz      short loc_1404A171D                                            ; +0x10, 0x1404a16c0\ncmp     byte ptr [rcx+599h], 0                                         ; +0x12, 0x1404a16c2\njz      short loc_1404A171D                                            ; +0x19, 0x1404a16c9\nxor     eax, eax                                                       ; +0x1b, 0x1404a16cb\nmov     byte ptr [rcx+5A1h], 0                                         ; +0x1d, 0x1404a16cd\nmov     [rcx+560h], rax                                                ; +0x24, 0x1404a16d4\nxor     edx, edx                                                       ; +0x2b, 0x1404a16db\nmov     [rcx+558h], rax                                                ; +0x2d, 0x1404a16dd\nmov     byte ptr [rcx+306h], 1                                         ; +0x34, 0x1404a16e4\nadd     rcx, 140h                                                      ; +0x3b, 0x1404a16eb\nmov     rax, [rcx]                                                     ; +0x42, 0x1404a16f2\ncall    qword ptr [rax+28h]                                            ; +0x45, 0x1404a16f5\nmov     rcx, [rbx+308h]                                                ; +0x48, 0x1404a16f8\ntest    rcx, rcx                                                       ; +0x4f, 0x1404a16ff\njz      short loc_1404A171D                                            ; +0x52, 0x1404a1702\ncall    cs:?resetSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::resetSystem(void) ; +0x54, 0x1404a1704\nmov     rcx, [rbx+308h]                                                ; +0x5a, 0x1404a170a\nadd     rsp, 20h                                                       ; +0x61, 0x1404a1711\npop     rbx                                                            ; +0x65, 0x1404a1715\njmp     cs:?stopSystem@CCParticleSystem@cocos2d@@QEAAXXZ; cocos2d::CCParticleSystem::stopSystem(void) ; +0x66, 0x1404a1716\nadd     rsp, 20h                                                       ; +0x6d, 0x1404a171d\npop     rbx                                                            ; +0x71, 0x1404a1721\nretn                                                                   ; +0x72, 0x1404a1722", "xrefs": ["<???> @ 0x14060da98", "<???> @ 0x1406dc6ec"], "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"}