{"type": "func", "start": 5373563968, "end": 5373564054, "name": "ParticleGameObject::updateSecondaryParticleOpacity", "pseudocode": "// \n// ParticleGameObject::updateSecondaryParticleOpacity from 0x1404a1440 to 0x1404a1496 (86 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x14060d9e0\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::updateSecondaryParticleOpacity(ParticleGameObject *a1, unsigned __int8 a2)\n{\n  cocos2d::CCParticleSystemQuad *m_particle; // r8\n\n  m_particle = a1->m_particle;\n  if ( m_particle )\n  {\n    if ( a1->m_particleUseObjectColor )\n    {\n      m_particle->m_tEndColor.a = (float)a2 / 255.0;\n    }\n    else if ( a1->m_hasUniformObjectColor )\n    {\n      m_particle->m_tUniformDeltaColor.a = (float)a2 / 255.0;\n    }\n  }\n}", "assembly": "; \n; ParticleGameObject::updateSecondaryParticleOpacity from 0x1404a1440 to 0x1404a1496 (86 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x14060d9e0\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\nmov     r8, [rcx+308h]                                                 ; +0x0, 0x1404a1440\ntest    r8, r8                                                         ; +0x7, 0x1404a1447\njz      short locret_1404A1495                                         ; +0xa, 0x1404a144a\ncmp     byte ptr [rcx+331h], 0                                         ; +0xc, 0x1404a144c\njz      short loc_1404A1471                                            ; +0x13, 0x1404a1453\nmovzx   eax, dl                                                        ; +0x15, 0x1404a1455\nmovd    xmm0, eax                                                      ; +0x18, 0x1404a1458\ncvtdq2ps xmm0, xmm0                                                    ; +0x1c, 0x1404a145c\ndivss   xmm0, cs:dword_140623418                                       ; +0x1f, 0x1404a145f\nmovss   dword ptr [r8+270h], xmm0                                      ; +0x27, 0x1404a1467\nretn                                                                   ; +0x30, 0x1404a1470\ncmp     byte ptr [rcx+708h], 0                                         ; +0x31, 0x1404a1471\njz      short locret_1404A1495                                         ; +0x38, 0x1404a1478\nmovzx   eax, dl                                                        ; +0x3a, 0x1404a147a\nmovd    xmm0, eax                                                      ; +0x3d, 0x1404a147d\ncvtdq2ps xmm0, xmm0                                                    ; +0x41, 0x1404a1481\ndivss   xmm0, cs:dword_140623418                                       ; +0x44, 0x1404a1484\nmovss   dword ptr [r8+2E8h], xmm0                                      ; +0x4c, 0x1404a148c\nretn                                                                   ; +0x55, 0x1404a1495", "xrefs": ["<???> @ 0x14060d9e0"], "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"}