{"type": "func", "start": 5373561680, "end": 5373561805, "name": "ParticleGameObject::updateParticlePreviewArtOpacity", "pseudocode": "// \n// ParticleGameObject::updateParticlePreviewArtOpacity from 0x1404a0b50 to 0x1404a0bcd (125 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::updatePreviewParticle @ 0x1402e16cb\n// > <???> @ 0x1406dc560\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::updateParticlePreviewArtOpacity(ParticleGameObject *a1, float a2)\n{\n  cocos2d::CCNode *v3; // rax\n  int v4; // edi\n  cocos2d::CCSprite *m_colorSprite; // rcx\n  __int64 v6; // rax\n\n  v3 = a1->getChildByTag(a1, 1);\n  v4 = (int)a2;\n  if ( v3 )\n    v3[1].encodeWithCoder(v3 + 1, (DS_Dictionary *)(unsigned __int8)v4);\n  m_colorSprite = a1->m_colorSprite;\n  if ( m_colorSprite )\n  {\n    v6 = (__int64)m_colorSprite->getChildByTag(m_colorSprite, 1);\n    if ( v6 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v6 + 320) + 40LL))(v6 + 320, (unsigned __int8)v4);\n  }\n}", "assembly": "; \n; ParticleGameObject::updateParticlePreviewArtOpacity from 0x1404a0b50 to 0x1404a0bcd (125 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::updatePreviewParticle @ 0x1402e16cb\n; > <???> @ 0x1406dc560\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1404a0b50\npush    rdi                                                            ; +0x5, 0x1404a0b55\nsub     rsp, 30h                                                       ; +0x6, 0x1404a0b56\nmov     rax, [rcx]                                                     ; +0xa, 0x1404a0b5a\nmov     edx, 1                                                         ; +0xd, 0x1404a0b5d\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x12, 0x1404a0b62\nmov     rbx, rcx                                                       ; +0x17, 0x1404a0b67\nmovaps  xmm6, xmm1                                                     ; +0x1a, 0x1404a0b6a\ncall    qword ptr [rax+1C8h]                                           ; +0x1d, 0x1404a0b6d\ncvttss2si edi, xmm6                                                    ; +0x23, 0x1404a0b73\ntest    rax, rax                                                       ; +0x27, 0x1404a0b77\njz      short loc_1404A0B8D                                            ; +0x2a, 0x1404a0b7a\nlea     rcx, [rax+140h]                                                ; +0x2c, 0x1404a0b7c\nmovzx   edx, dil                                                       ; +0x33, 0x1404a0b83\nmov     rax, [rcx]                                                     ; +0x37, 0x1404a0b87\ncall    qword ptr [rax+28h]                                            ; +0x3a, 0x1404a0b8a\nmov     rcx, [rbx+380h]                                                ; +0x3d, 0x1404a0b8d\ntest    rcx, rcx                                                       ; +0x44, 0x1404a0b94\njz      short loc_1404A0BBD                                            ; +0x47, 0x1404a0b97\nmov     rax, [rcx]                                                     ; +0x49, 0x1404a0b99\nmov     edx, 1                                                         ; +0x4c, 0x1404a0b9c\ncall    qword ptr [rax+1C8h]                                           ; +0x51, 0x1404a0ba1\ntest    rax, rax                                                       ; +0x57, 0x1404a0ba7\njz      short loc_1404A0BBD                                            ; +0x5a, 0x1404a0baa\nlea     rcx, [rax+140h]                                                ; +0x5c, 0x1404a0bac\nmovzx   edx, dil                                                       ; +0x63, 0x1404a0bb3\nmov     rax, [rcx]                                                     ; +0x67, 0x1404a0bb7\ncall    qword ptr [rax+28h]                                            ; +0x6a, 0x1404a0bba\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x6d, 0x1404a0bbd\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x72, 0x1404a0bc2\nadd     rsp, 30h                                                       ; +0x77, 0x1404a0bc7\npop     rdi                                                            ; +0x7b, 0x1404a0bcb\nretn                                                                   ; +0x7c, 0x1404a0bcc", "xrefs": ["LevelEditorLayer::updatePreviewParticle @ 0x1402e16cb", "<???> @ 0x1406dc560"], "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"}