{"type": "func", "start": 4299587680, "end": 4299587981, "name": "CreateParticlePopup::onDuplicateColor", "pseudocode": "// \n// CreateParticlePopup::onDuplicateColor from 0x100468060 to 0x10046818d (301 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::init @ 0x100464a53\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:30 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onDuplicateColor(__int64 a1)\n{\n  __int64 v1; // rax\n  float *v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rax\n  float *v6; // rax\n  __m128 v7; // xmm0\n  __int64 v8; // rdi\n  int v10; // [rsp+0h] [rbp-Ch] BYREF\n\n  v10 = HIDWORD(v1);\n  v3 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1352LL))(*(_QWORD *)(a1 + 712));\n  CreateParticlePopup::updateParticleValueForType(a1, 34, 0, *v3);\n  v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1352LL))(*(_QWORD *)(a1 + 712));\n  CreateParticlePopup::updateParticleValueForType(a1, 36, 0, *(float *)(v4 + 4));\n  v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1352LL))(*(_QWORD *)(a1 + 712));\n  CreateParticlePopup::updateParticleValueForType(a1, 38, 0, *(float *)(v5 + 8));\n  CreateParticlePopup::updateInputNodeStringForType(a1, 34);\n  CreateParticlePopup::updateInputNodeStringForType(a1, 36);\n  CreateParticlePopup::updateInputNodeStringForType(a1, 38);\n  CreateParticlePopup::updateSliderForType(a1, 34);\n  CreateParticlePopup::updateSliderForType(a1, 36);\n  CreateParticlePopup::updateSliderForType(a1, 38);\n  v6 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1352LL))(*(_QWORD *)(a1 + 712));\n  v7 = (__m128)*(unsigned __int64 *)v6;\n  v8 = *(_QWORD *)(a1 + 952);\n  BYTE2(v10) = (int)(float)(255.0 * v6[2]);\n  LOWORD(v10) = ((unsigned __int8)(int)(float)(_mm_movehdup_ps(v7).f32[0] * 255.0) << 8)\n              | (unsigned __int8)(int)(float)(v7.f32[0] * 255.0);\n  return (*(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)v8 + 960LL))(v8, &v10);\n}", "assembly": "; \n; CreateParticlePopup::onDuplicateColor from 0x100468060 to 0x10046818d (301 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::init @ 0x100464a53\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:30 +0000\n; \npush    rbp                                                            ; +0x0, 0x100468060\nmov     rbp, rsp                                                       ; +0x1, 0x100468061\npush    rbx                                                            ; +0x4, 0x100468064\npush    rax                                                            ; +0x5, 0x100468065\nmov     rbx, rdi                                                       ; +0x6, 0x100468066\nmov     rdi, [rdi+2C8h]                                                ; +0x9, 0x100468069\nmov     rax, [rdi]                                                     ; +0x10, 0x100468070\ncall    qword ptr [rax+548h]                                           ; +0x13, 0x100468073\nmovss   xmm0, dword ptr [rax]                                          ; +0x19, 0x100468079\nmov     rdi, rbx                                                       ; +0x1d, 0x10046807d\nmov     esi, 22h ; '\"'                                                 ; +0x20, 0x100468080\nxor     edx, edx                                                       ; +0x25, 0x100468085\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x27, 0x100468087\nmov     rdi, [rbx+2C8h]                                                ; +0x2c, 0x10046808c\nmov     rax, [rdi]                                                     ; +0x33, 0x100468093\ncall    qword ptr [rax+548h]                                           ; +0x36, 0x100468096\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x3c, 0x10046809c\nmov     rdi, rbx                                                       ; +0x41, 0x1004680a1\nmov     esi, 24h ; '$'                                                 ; +0x44, 0x1004680a4\nxor     edx, edx                                                       ; +0x49, 0x1004680a9\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x4b, 0x1004680ab\nmov     rdi, [rbx+2C8h]                                                ; +0x50, 0x1004680b0\nmov     rax, [rdi]                                                     ; +0x57, 0x1004680b7\ncall    qword ptr [rax+548h]                                           ; +0x5a, 0x1004680ba\nmovss   xmm0, dword ptr [rax+8]                                        ; +0x60, 0x1004680c0\nmov     rdi, rbx                                                       ; +0x65, 0x1004680c5\nmov     esi, 26h ; '&'                                                 ; +0x68, 0x1004680c8\nxor     edx, edx                                                       ; +0x6d, 0x1004680cd\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x6f, 0x1004680cf\nmov     rdi, rbx                                                       ; +0x74, 0x1004680d4\nmov     esi, 22h ; '\"'                                                 ; +0x77, 0x1004680d7\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x7c, 0x1004680dc\nmov     rdi, rbx                                                       ; +0x81, 0x1004680e1\nmov     esi, 24h ; '$'                                                 ; +0x84, 0x1004680e4\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x89, 0x1004680e9\nmov     rdi, rbx                                                       ; +0x8e, 0x1004680ee\nmov     esi, 26h ; '&'                                                 ; +0x91, 0x1004680f1\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x96, 0x1004680f6\nmov     rdi, rbx                                                       ; +0x9b, 0x1004680fb\nmov     esi, 22h ; '\"'                                                 ; +0x9e, 0x1004680fe\ncall    CreateParticlePopup__updateSliderForType                       ; +0xa3, 0x100468103\nmov     rdi, rbx                                                       ; +0xa8, 0x100468108\nmov     esi, 24h ; '$'                                                 ; +0xab, 0x10046810b\ncall    CreateParticlePopup__updateSliderForType                       ; +0xb0, 0x100468110\nmov     rdi, rbx                                                       ; +0xb5, 0x100468115\nmov     esi, 26h ; '&'                                                 ; +0xb8, 0x100468118\ncall    CreateParticlePopup__updateSliderForType                       ; +0xbd, 0x10046811d\nmov     rdi, [rbx+2C8h]                                                ; +0xc2, 0x100468122\nmov     rax, [rdi]                                                     ; +0xc9, 0x100468129\ncall    qword ptr [rax+548h]                                           ; +0xcc, 0x10046812c\nmovsd   xmm0, qword ptr [rax]                                          ; +0xd2, 0x100468132\nmovss   xmm1, cs:dword_100A03F80                                       ; +0xd6, 0x100468136\nmovshdup xmm2, xmm0                                                    ; +0xde, 0x10046813e\nmulss   xmm0, xmm1                                                     ; +0xe2, 0x100468142\ncvttss2si ecx, xmm0                                                    ; +0xe6, 0x100468146\nmulss   xmm2, xmm1                                                     ; +0xea, 0x10046814a\ncvttss2si edx, xmm2                                                    ; +0xee, 0x10046814e\nmulss   xmm1, dword ptr [rax+8]                                        ; +0xf2, 0x100468152\ncvttss2si eax, xmm1                                                    ; +0xf7, 0x100468157\nmov     rdi, [rbx+3B8h]                                                ; +0xfb, 0x10046815b\nmov     [rbp+var_A], al                                                ; +0x102, 0x100468162\nshl     eax, 10h                                                       ; +0x105, 0x100468165\nmovzx   edx, dl                                                        ; +0x108, 0x100468168\nshl     edx, 8                                                         ; +0x10b, 0x10046816b\nor      edx, eax                                                       ; +0x10e, 0x10046816e\nmovzx   eax, cl                                                        ; +0x110, 0x100468170\nor      eax, edx                                                       ; +0x113, 0x100468173\nmov     [rbp+var_C], ax                                                ; +0x115, 0x100468175\nmov     rax, [rdi]                                                     ; +0x119, 0x100468179\nlea     rsi, [rbp+var_C]                                               ; +0x11c, 0x10046817c\ncall    qword ptr [rax+3C0h]                                           ; +0x120, 0x100468180\nadd     rsp, 8                                                         ; +0x126, 0x100468186\npop     rbx                                                            ; +0x12a, 0x10046818a\npop     rbp                                                            ; +0x12b, 0x10046818b\nretn                                                                   ; +0x12c, 0x10046818c", "xrefs": ["CreateParticlePopup::init @ 0x100464a53"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}