{"type": "func", "start": 5374771664, "end": 5374772003, "name": "CreateParticlePopup::textChanged", "pseudocode": "// \n// CreateParticlePopup::textChanged from 0x1405c81d0 to 0x1405c8323 (339 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1407f9170\n// > <???> @ 0x1408e09e0\n// > <???> @ 0x1408e09f0\n// > <???> @ 0x14092e358\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\nvoid __fastcall CreateParticlePopup::textChanged(__int64 a1, _QWORD *a2)\n{\n  __int64 v2; // rdi\n  _BYTE *v4; // rax\n  size_t v5; // r8\n  const char *v6; // rcx\n  char *v7; // rcx\n  unsigned int v8; // eax\n  __int64 v9; // rdx\n  unsigned int v10; // eax\n  char *String[2]; // [rsp+38h] [rbp-40h] BYREF\n  __int128 v12; // [rsp+48h] [rbp-30h]\n\n  v2 = a1 - 544;\n  if ( !*(_BYTE *)(a1 + 160) )\n  {\n    v4 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a2[74] + 600LL) + 8LL))(a2[74] + 600LL);\n    *(_OWORD *)String = 0;\n    v5 = -1;\n    v12 = 0;\n    do\n      ++v5;\n    while ( v4[v5] );\n    sub_14003D230(String, v4, v5);\n    v6 = (const char *)String;\n    if ( *((_QWORD *)&v12 + 1) > 0xFu )\n      v6 = String[0];\n    atof(v6);\n    if ( *((_QWORD *)&v12 + 1) > 0xFu )\n    {\n      v7 = String[0];\n      if ( (unsigned __int64)(*((_QWORD *)&v12 + 1) + 1LL) >= 0x1000 )\n      {\n        v7 = *((char **)String[0] - 1);\n        if ( (unsigned __int64)(String[0] - v7 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v7);\n    }\n    (*(__int64 (__fastcall **)(_QWORD *))(*a2 + 56LL))(a2);\n    v8 = (*(__int64 (__fastcall **)(_QWORD *))(*a2 + 56LL))(a2);\n    CreateParticlePopup::updateParticleValueForType(v2, v9, v8, 0);\n    v10 = (*(__int64 (__fastcall **)(_QWORD *))(*a2 + 56LL))(a2);\n    CreateParticlePopup::updateSliderForType(v2, v10);\n  }\n}", "assembly": "; \n; CreateParticlePopup::textChanged from 0x1405c81d0 to 0x1405c8323 (339 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1407f9170\n; > <???> @ 0x1408e09e0\n; > <???> @ 0x1408e09f0\n; > <???> @ 0x14092e358\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; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1405c81d0\npush    rdi                                                            ; +0x5, 0x1405c81d5\nsub     rsp, 70h                                                       ; +0x6, 0x1405c81d6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1405c81da\nxor     rax, rsp                                                       ; +0x11, 0x1405c81e1\nmov     [rsp+78h+var_20], rax                                          ; +0x14, 0x1405c81e4\ncmp     byte ptr [rcx+0A0h], 0                                         ; +0x19, 0x1405c81e9\nlea     rdi, [rcx-220h]                                                ; +0x20, 0x1405c81f0\nmov     rbx, rdx                                                       ; +0x27, 0x1405c81f7\njnz     loc_1405C8308                                                  ; +0x2a, 0x1405c81fa\nmov     rcx, [rdx+250h]                                                ; +0x30, 0x1405c8200\nadd     rcx, 258h                                                      ; +0x37, 0x1405c8207\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x3e, 0x1405c820e\nmov     rax, [rcx]                                                     ; +0x43, 0x1405c8213\ncall    qword ptr [rax+8]                                              ; +0x46, 0x1405c8216\nxorps   xmm0, xmm0                                                     ; +0x49, 0x1405c8219\nxorps   xmm1, xmm1                                                     ; +0x4c, 0x1405c821c\nmovups  xmmword ptr [rsp+78h+String], xmm0                             ; +0x4f, 0x1405c821f\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x54, 0x1405c8224\nmovdqu  [rsp+78h+var_30], xmm1                                         ; +0x5b, 0x1405c822b\ninc     r8                                                             ; +0x61, 0x1405c8231\ncmp     byte ptr [rax+r8], 0                                           ; +0x64, 0x1405c8234\njnz     short loc_1405C8231                                            ; +0x69, 0x1405c8239\nmov     rdx, rax                                                       ; +0x6b, 0x1405c823b\nlea     rcx, [rsp+78h+String]                                          ; +0x6e, 0x1405c823e\ncall    sub_14003D230                                                  ; +0x73, 0x1405c8243\ncmp     qword ptr [rsp+78h+var_30+8], 0Fh                              ; +0x78, 0x1405c8248\nlea     rcx, [rsp+78h+String]                                          ; +0x7e, 0x1405c824e\ncmova   rcx, [rsp+78h+String]; String                                  ; +0x83, 0x1405c8253\ncall    cs:atof                                                        ; +0x89, 0x1405c8259\nmov     rdx, qword ptr [rsp+78h+var_30+8]                              ; +0x8f, 0x1405c825f\nxorps   xmm6, xmm6                                                     ; +0x94, 0x1405c8264\ncvtsd2ss xmm6, xmm0                                                    ; +0x97, 0x1405c8267\ncmp     rdx, 0Fh                                                       ; +0x9b, 0x1405c826b\njbe     short loc_1405C82B9                                            ; +0x9f, 0x1405c826f\nmov     rcx, [rsp+78h+String]; Block                                   ; +0xa1, 0x1405c8271\ninc     rdx                                                            ; +0xa6, 0x1405c8276\nmov     rax, rcx                                                       ; +0xa9, 0x1405c8279\ncmp     rdx, 1000h                                                     ; +0xac, 0x1405c827c\njb      short loc_1405C82B4                                            ; +0xb3, 0x1405c8283\nmov     rcx, [rcx-8]                                                   ; +0xb5, 0x1405c8285\nadd     rdx, 27h ; '''                                                 ; +0xb9, 0x1405c8289\nsub     rax, rcx                                                       ; +0xbd, 0x1405c828d\nsub     rax, 8                                                         ; +0xc0, 0x1405c8290\ncmp     rax, 1Fh                                                       ; +0xc4, 0x1405c8294\njbe     short loc_1405C82B4                                            ; +0xc8, 0x1405c8298\nxor     r9d, r9d; LineNo                                               ; +0xca, 0x1405c829a\nmov     [rsp+78h+Reserved], 0; Reserved                                ; +0xcd, 0x1405c829d\nxor     r8d, r8d; FileName                                             ; +0xd6, 0x1405c82a6\nxor     edx, edx; FunctionName                                         ; +0xd9, 0x1405c82a9\nxor     ecx, ecx; Expression                                           ; +0xdb, 0x1405c82ab\ncall    cs:_invoke_watson                                              ; +0xdd, 0x1405c82ad\nalign 4                                                                ; +0xe3, 0x1405c82b3\ncall    j_j_free                                                       ; +0xe4, 0x1405c82b4\nmov     rax, [rbx]                                                     ; +0xe9, 0x1405c82b9\nmov     rcx, rbx                                                       ; +0xec, 0x1405c82bc\ncall    qword ptr [rax+38h]                                            ; +0xef, 0x1405c82bf\ncmp     eax, 5                                                         ; +0xf2, 0x1405c82c2\njnz     short loc_1405C82D6                                            ; +0xf5, 0x1405c82c5\nmovss   xmm0, cs:flt_140835080                                         ; +0xf7, 0x1405c82c7\nmaxss   xmm0, xmm6                                                     ; +0xff, 0x1405c82cf\nmovaps  xmm6, xmm0                                                     ; +0x103, 0x1405c82d3\nmov     rax, [rbx]                                                     ; +0x106, 0x1405c82d6\nmov     rcx, rbx                                                       ; +0x109, 0x1405c82d9\ncall    qword ptr [rax+38h]                                            ; +0x10c, 0x1405c82dc\nxor     r9d, r9d                                                       ; +0x10f, 0x1405c82df\nmovaps  xmm1, xmm6                                                     ; +0x112, 0x1405c82e2\nmov     r8d, eax                                                       ; +0x115, 0x1405c82e5\nmov     rcx, rdi                                                       ; +0x118, 0x1405c82e8\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x11b, 0x1405c82eb\nmov     rax, [rbx]                                                     ; +0x120, 0x1405c82f0\nmov     rcx, rbx                                                       ; +0x123, 0x1405c82f3\ncall    qword ptr [rax+38h]                                            ; +0x126, 0x1405c82f6\nmov     edx, eax                                                       ; +0x129, 0x1405c82f9\nmov     rcx, rdi                                                       ; +0x12b, 0x1405c82fb\ncall    CreateParticlePopup__updateSliderForType                       ; +0x12e, 0x1405c82fe\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0x133, 0x1405c8303\nmov     rcx, [rsp+78h+var_20]                                          ; +0x138, 0x1405c8308\nxor     rcx, rsp; StackCookie                                          ; +0x13d, 0x1405c830d\ncall    __security_check_cookie                                        ; +0x140, 0x1405c8310\nmov     rbx, [rsp+78h+arg_10]                                          ; +0x145, 0x1405c8315\nadd     rsp, 70h                                                       ; +0x14d, 0x1405c831d\npop     rdi                                                            ; +0x151, 0x1405c8321\nretn                                                                   ; +0x152, 0x1405c8322", "xrefs": ["<???> @ 0x1407f9170", "<???> @ 0x1408e09e0", "<???> @ 0x1408e09f0", "<???> @ 0x14092e358"], "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"}