{"type": "func", "start": 5373560528, "end": 5373560710, "name": "ParticleGameObject::particleWasActivated", "pseudocode": "// \n// ParticleGameObject::particleWasActivated from 0x1404a06d0 to 0x1404a0786 (182 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14060d8e0\n// > <???> @ 0x1406a7928\n// > <???> @ 0x1406a7938\n// > <???> @ 0x1406dc518\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::particleWasActivated(ParticleGameObject *a1)\n{\n  cocos2d::CCParticleSystemQuad *m_particle; // rcx\n  __int64 v3; // rdi\n\n  if ( a1->m_shouldQuickStart )\n  {\n    m_particle = a1->m_particle;\n    if ( m_particle )\n    {\n      if ( cocos2d::CCParticleSystem::getTimeElapsed(m_particle) <= 0.0 )\n      {\n        if ( (float)(a1->m_particle->getLife(a1->m_particle) / 10.0) <= 0.2 )\n          a1->m_particle->getLife(a1->m_particle);\n        v3 = 10;\n        do\n        {\n          ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *))a1->m_particle->update)(a1->m_particle);\n          --v3;\n        }\n        while ( v3 );\n      }\n    }\n  }\n}", "assembly": "; \n; ParticleGameObject::particleWasActivated from 0x1404a06d0 to 0x1404a0786 (182 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14060d8e0\n; > <???> @ 0x1406a7928\n; > <???> @ 0x1406a7938\n; > <???> @ 0x1406dc518\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, 0x1404a06d0\nsub     rsp, 30h                                                       ; +0x2, 0x1404a06d2\ncmp     byte ptr [rcx+710h], 0                                         ; +0x6, 0x1404a06d6\nmov     rbx, rcx                                                       ; +0xd, 0x1404a06dd\njz      loc_1404A0780                                                  ; +0x10, 0x1404a06e0\nmov     rcx, [rcx+308h]                                                ; +0x16, 0x1404a06e6\ntest    rcx, rcx                                                       ; +0x1d, 0x1404a06ed\njz      loc_1404A0780                                                  ; +0x20, 0x1404a06f0\ncall    cs:?getTimeElapsed@CCParticleSystem@cocos2d@@QEAAMXZ; cocos2d::CCParticleSystem::getTimeElapsed(void) ; +0x26, 0x1404a06f6\nxorps   xmm1, xmm1                                                     ; +0x2c, 0x1404a06fc\ncomiss  xmm0, xmm1                                                     ; +0x2f, 0x1404a06ff\nja      short loc_1404A0780                                            ; +0x32, 0x1404a0702\nmov     rcx, [rbx+308h]                                                ; +0x34, 0x1404a0704\nmov     [rsp+38h+arg_0], rdi                                           ; +0x3b, 0x1404a070b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x40, 0x1404a0710\nmov     rax, [rcx]                                                     ; +0x45, 0x1404a0715\ncall    qword ptr [rax+3B0h]                                           ; +0x48, 0x1404a0718\ndivss   xmm0, cs:flt_14062307C                                         ; +0x4e, 0x1404a071e\nmovss   xmm6, cs:dword_140622A74                                       ; +0x56, 0x1404a0726\ncomiss  xmm0, xmm6                                                     ; +0x5e, 0x1404a072e\nja      short loc_1404A074E                                            ; +0x61, 0x1404a0731\nmov     rcx, [rbx+308h]                                                ; +0x63, 0x1404a0733\nmov     rax, [rcx]                                                     ; +0x6a, 0x1404a073a\ncall    qword ptr [rax+3B0h]                                           ; +0x6d, 0x1404a073d\nmovaps  xmm6, xmm0                                                     ; +0x73, 0x1404a0743\ndivss   xmm6, cs:flt_14062307C                                         ; +0x76, 0x1404a0746\nmov     edi, 0Ah                                                       ; +0x7e, 0x1404a074e\nnop     dword ptr [rax+00h]                                            ; +0x83, 0x1404a0753\nnop     word ptr [rax+rax+00000000h]                                   ; +0x87, 0x1404a0757\nmov     rcx, [rbx+308h]                                                ; +0x90, 0x1404a0760\nmovaps  xmm1, xmm6                                                     ; +0x97, 0x1404a0767\nmov     rax, [rcx]                                                     ; +0x9a, 0x1404a076a\ncall    qword ptr [rax+20h]                                            ; +0x9d, 0x1404a076d\nsub     rdi, 1                                                         ; +0xa0, 0x1404a0770\njnz     short loc_1404A0760                                            ; +0xa4, 0x1404a0774\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa6, 0x1404a0776\nmov     rdi, [rsp+38h+arg_0]                                           ; +0xab, 0x1404a077b\nadd     rsp, 30h                                                       ; +0xb0, 0x1404a0780\npop     rbx                                                            ; +0xb4, 0x1404a0784\nretn                                                                   ; +0xb5, 0x1404a0785", "xrefs": ["<???> @ 0x14060d8e0", "<???> @ 0x1406a7928", "<???> @ 0x1406a7938", "<???> @ 0x1406dc518"], "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"}