{"type": "func", "start": 5374767024, "end": 5374767392, "name": "CreateParticlePopup::onDuplicateColor", "pseudocode": "// \n// CreateParticlePopup::onDuplicateColor from 0x1405c6fb0 to 0x1405c7120 (368 bytes)\n// \n// 2 xrefs:\n// > CreateParticlePopup::init @ 0x1405c3624\n// > <???> @ 0x14092e2b0\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 11:34:51 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::onDuplicateColor(__int64 a1)\n{\n  __int64 v2; // rdx\n  __int64 v3; // rdx\n  __int64 v4; // rdx\n  __m128 v5; // xmm2\n  __int64 v6; // rcx\n  char v8; // [rsp+30h] [rbp+8h] BYREF\n  char v9; // [rsp+31h] [rbp+9h]\n  char v10; // [rsp+32h] [rbp+Ah]\n\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1344LL))(*(_QWORD *)(a1 + 712));\n  CreateParticlePopup::updateParticleValueForType(a1, v2, 34, 0);\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1344LL))(*(_QWORD *)(a1 + 712));\n  CreateParticlePopup::updateParticleValueForType(a1, v3, 36, 0);\n  (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1344LL))(*(_QWORD *)(a1 + 712));\n  CreateParticlePopup::updateParticleValueForType(a1, v4, 38, 0);\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  v5 = *(__m128 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 1344LL))(*(_QWORD *)(a1 + 712));\n  v10 = (int)(float)(_mm_shuffle_ps(v5, v5, 170).m128_f32[0] * 255.0);\n  v9 = (int)(float)(_mm_shuffle_ps(v5, v5, 85).m128_f32[0] * 255.0);\n  v6 = *(_QWORD *)(a1 + 952);\n  v8 = (int)(float)(v5.m128_f32[0] * 255.0);\n  return (**(__int64 (__fastcall ***)(__int64, char *))(v6 + 320))(v6 + 320, &v8);\n}", "assembly": "; \n; CreateParticlePopup::onDuplicateColor from 0x1405c6fb0 to 0x1405c7120 (368 bytes)\n; \n; 2 xrefs:\n; > CreateParticlePopup::init @ 0x1405c3624\n; > <???> @ 0x14092e2b0\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 11:34:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x1405c6fb0\nsub     rsp, 20h                                                       ; +0x2, 0x1405c6fb2\nmov     rbx, rcx                                                       ; +0x6, 0x1405c6fb6\nmov     rcx, [rcx+2C8h]                                                ; +0x9, 0x1405c6fb9\nmov     rax, [rcx]                                                     ; +0x10, 0x1405c6fc0\ncall    qword ptr [rax+540h]                                           ; +0x13, 0x1405c6fc3\nxor     r9d, r9d                                                       ; +0x19, 0x1405c6fc9\nmov     r8d, 22h ; '\"'                                                 ; +0x1c, 0x1405c6fcc\nmov     rcx, rbx                                                       ; +0x22, 0x1405c6fd2\nmovss   xmm1, dword ptr [rax]                                          ; +0x25, 0x1405c6fd5\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x29, 0x1405c6fd9\nmov     rcx, [rbx+2C8h]                                                ; +0x2e, 0x1405c6fde\nmov     rax, [rcx]                                                     ; +0x35, 0x1405c6fe5\ncall    qword ptr [rax+540h]                                           ; +0x38, 0x1405c6fe8\nxor     r9d, r9d                                                       ; +0x3e, 0x1405c6fee\nmov     r8d, 24h ; '$'                                                 ; +0x41, 0x1405c6ff1\nmov     rcx, rbx                                                       ; +0x47, 0x1405c6ff7\nmovss   xmm1, dword ptr [rax+4]                                        ; +0x4a, 0x1405c6ffa\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x4f, 0x1405c6fff\nmov     rcx, [rbx+2C8h]                                                ; +0x54, 0x1405c7004\nmov     rax, [rcx]                                                     ; +0x5b, 0x1405c700b\ncall    qword ptr [rax+540h]                                           ; +0x5e, 0x1405c700e\nxor     r9d, r9d                                                       ; +0x64, 0x1405c7014\nmov     r8d, 26h ; '&'                                                 ; +0x67, 0x1405c7017\nmov     rcx, rbx                                                       ; +0x6d, 0x1405c701d\nmovss   xmm1, dword ptr [rax+8]                                        ; +0x70, 0x1405c7020\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x75, 0x1405c7025\nmov     edx, 22h ; '\"'                                                 ; +0x7a, 0x1405c702a\nmov     rcx, rbx                                                       ; +0x7f, 0x1405c702f\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x82, 0x1405c7032\nmov     edx, 24h ; '$'                                                 ; +0x87, 0x1405c7037\nmov     rcx, rbx                                                       ; +0x8c, 0x1405c703c\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x8f, 0x1405c703f\nmov     edx, 26h ; '&'                                                 ; +0x94, 0x1405c7044\nmov     rcx, rbx                                                       ; +0x99, 0x1405c7049\ncall    CreateParticlePopup__updateInputNodeStringForType              ; +0x9c, 0x1405c704c\nmov     edx, 22h ; '\"'                                                 ; +0xa1, 0x1405c7051\nmov     rcx, rbx                                                       ; +0xa6, 0x1405c7056\ncall    CreateParticlePopup__updateSliderForType                       ; +0xa9, 0x1405c7059\nmov     edx, 24h ; '$'                                                 ; +0xae, 0x1405c705e\nmov     rcx, rbx                                                       ; +0xb3, 0x1405c7063\ncall    CreateParticlePopup__updateSliderForType                       ; +0xb6, 0x1405c7066\nmov     edx, 26h ; '&'                                                 ; +0xbb, 0x1405c706b\nmov     rcx, rbx                                                       ; +0xc0, 0x1405c7070\ncall    CreateParticlePopup__updateSliderForType                       ; +0xc3, 0x1405c7073\nmov     rcx, [rbx+2C8h]                                                ; +0xc8, 0x1405c7078\nmov     rax, [rcx]                                                     ; +0xcf, 0x1405c707f\ncall    qword ptr [rax+540h]                                           ; +0xd2, 0x1405c7082\nmovss   xmm1, cs:dword_140835964                                       ; +0xd8, 0x1405c7088\nmovups  xmm2, xmmword ptr [rax]                                        ; +0xe0, 0x1405c7090\nmovaps  xmm0, xmm2                                                     ; +0xe3, 0x1405c7093\nshufps  xmm0, xmm2, 0FFh                                               ; +0xe6, 0x1405c7096\nmulss   xmm0, xmm1                                                     ; +0xea, 0x1405c709a\ncvttss2si eax, xmm0                                                    ; +0xee, 0x1405c709e\nmovaps  xmm0, xmm2                                                     ; +0xf2, 0x1405c70a2\nmovzx   r8d, al                                                        ; +0xf5, 0x1405c70a5\nshufps  xmm0, xmm2, 0AAh                                               ; +0xf9, 0x1405c70a9\nmulss   xmm0, xmm1                                                     ; +0xfd, 0x1405c70ad\nshl     r8d, 8                                                         ; +0x101, 0x1405c70b1\ncvttss2si eax, xmm0                                                    ; +0x105, 0x1405c70b5\nmovaps  xmm0, xmm2                                                     ; +0x109, 0x1405c70b9\nmovzx   ecx, al                                                        ; +0x10c, 0x1405c70bc\nor      r8d, ecx                                                       ; +0x10f, 0x1405c70bf\nshufps  xmm0, xmm2, 55h ; 'U'                                          ; +0x112, 0x1405c70c2\nmulss   xmm0, xmm1                                                     ; +0x116, 0x1405c70c6\nmov     [rsp+28h+arg_2], r8b                                           ; +0x11a, 0x1405c70ca\nmulss   xmm2, xmm1                                                     ; +0x11f, 0x1405c70cf\ncvttss2si eax, xmm0                                                    ; +0x123, 0x1405c70d3\nmovzx   edx, al                                                        ; +0x127, 0x1405c70d7\nmov     eax, r8d                                                       ; +0x12a, 0x1405c70da\nshl     eax, 8                                                         ; +0x12d, 0x1405c70dd\nor      edx, eax                                                       ; +0x130, 0x1405c70e0\nmov     ecx, edx                                                       ; +0x132, 0x1405c70e2\nmov     byte ptr [rsp+28h+arg_0+1], dl                                 ; +0x134, 0x1405c70e4\nshl     ecx, 8                                                         ; +0x138, 0x1405c70e8\ncvttss2si eax, xmm2                                                    ; +0x13b, 0x1405c70eb\nmovzx   eax, al                                                        ; +0x13f, 0x1405c70ef\nor      eax, ecx                                                       ; +0x142, 0x1405c70f2\nmov     rcx, [rbx+3B8h]                                                ; +0x144, 0x1405c70f4\nmov     byte ptr [rsp+28h+arg_0], al                                   ; +0x14b, 0x1405c70fb\nadd     rcx, 140h                                                      ; +0x14f, 0x1405c70ff\nmovzx   eax, [rsp+28h+arg_0]                                           ; +0x156, 0x1405c7106\nmov     [rsp+28h+arg_0], ax                                            ; +0x15b, 0x1405c710b\nmov     rax, [rcx]                                                     ; +0x160, 0x1405c7110\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x163, 0x1405c7113\ncall    qword ptr [rax]                                                ; +0x168, 0x1405c7118\nadd     rsp, 20h                                                       ; +0x16a, 0x1405c711a\npop     rbx                                                            ; +0x16e, 0x1405c711e\nretn                                                                   ; +0x16f, 0x1405c711f", "xrefs": ["CreateParticlePopup::init @ 0x1405c3624", "<???> @ 0x14092e2b0"], "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"}