{"type": "func", "start": 4299599792, "end": 4299599977, "name": "CreateParticlePopup::textChanged", "pseudocode": "// \n// CreateParticlePopup::textChanged from 0x10046afb0 to 0x10046b069 (185 bytes)\n// \n// 2 xrefs:\n// > sub_10046B070 @ 0x10046b07c\n// > <???> @ 0x100b44650\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:31 +0000\n// \n\nvoid __fastcall CreateParticlePopup::textChanged(__int64 a1, __int64 a2)\n{\n  double v2; // xmm0_8\n  char *v3; // r14\n  float v4; // xmm0_4\n  unsigned int v5; // eax\n  float v6; // xmm0_4\n  unsigned int v7; // eax\n  _QWORD v8[2]; // [rsp-40h] [rbp-40h] BYREF\n  char *v9; // [rsp-30h] [rbp-30h]\n  double v10; // [rsp-28h] [rbp-28h]\n\n  if ( !*(_BYTE *)(a1 + 704) )\n  {\n    CCTextInputNode::getString(v8, a2);\n    if ( (v8[0] & 1) != 0 )\n    {\n      v3 = v9;\n      v10 = atof(v9);\n      operator delete(v3);\n      v2 = v10;\n    }\n    else\n    {\n      v2 = atof((const char *)v8 + 1);\n    }\n    v4 = v2;\n    *(float *)&v10 = v4;\n    if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 5 )\n      LODWORD(v10) = fmaxf(1.0, *(float *)&v10);\n    v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n    CreateParticlePopup::updateParticleValueForType(a1, v5, nullptr, (__m128)LODWORD(v10));\n    v6 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n    CreateParticlePopup::updateSliderForType(a1, v7, v6);\n  }\n}", "assembly": "; \n; CreateParticlePopup::textChanged from 0x10046afb0 to 0x10046b069 (185 bytes)\n; \n; 2 xrefs:\n; > sub_10046B070 @ 0x10046b07c\n; > <???> @ 0x100b44650\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:31 +0000\n; \ncmp     byte ptr [rdi+2C0h], 0                                         ; +0x0, 0x10046afb0\njnz     locret_10046B068                                               ; +0x7, 0x10046afb7\npush    rbp                                                            ; +0xd, 0x10046afbd\nmov     rbp, rsp                                                       ; +0xe, 0x10046afbe\npush    r15                                                            ; +0x11, 0x10046afc1\npush    r14                                                            ; +0x13, 0x10046afc3\npush    rbx                                                            ; +0x15, 0x10046afc5\nsub     rsp, 28h                                                       ; +0x16, 0x10046afc6\nmov     rbx, rsi                                                       ; +0x1a, 0x10046afca\nmov     r15, rdi                                                       ; +0x1d, 0x10046afcd\nlea     rdi, [rbp-38h]                                                 ; +0x20, 0x10046afd0\ncall    CCTextInputNode__getString                                     ; +0x24, 0x10046afd4\ntest    byte ptr [rbp-38h], 1                                          ; +0x29, 0x10046afd9\njnz     short loc_10046AFEA                                            ; +0x2d, 0x10046afdd\nlea     rdi, [rbp-37h]; char *                                         ; +0x2f, 0x10046afdf\ncall    _atof                                                          ; +0x33, 0x10046afe3\njmp     short loc_10046B008                                            ; +0x38, 0x10046afe8\nmov     r14, [rbp-28h]                                                 ; +0x3a, 0x10046afea\nmov     rdi, r14; char *                                               ; +0x3e, 0x10046afee\ncall    _atof                                                          ; +0x41, 0x10046aff1\nmovsd   qword ptr [rbp-20h], xmm0                                      ; +0x46, 0x10046aff6\nmov     rdi, r14; __p                                                  ; +0x4b, 0x10046affb\ncall    __ZdlPv; operator delete(void *)                               ; +0x4e, 0x10046affe\nmovsd   xmm0, qword ptr [rbp-20h]                                      ; +0x53, 0x10046b003\ncvtsd2ss xmm0, xmm0                                                    ; +0x58, 0x10046b008\nmovss   dword ptr [rbp-20h], xmm0                                      ; +0x5c, 0x10046b00c\nmov     rax, [rbx]                                                     ; +0x61, 0x10046b011\nmov     rdi, rbx                                                       ; +0x64, 0x10046b014\ncall    qword ptr [rax+40h]                                            ; +0x67, 0x10046b017\ncmp     eax, 5                                                         ; +0x6a, 0x10046b01a\njnz     short loc_10046B031                                            ; +0x6d, 0x10046b01d\nmovss   xmm0, cs:alpha                                                 ; +0x6f, 0x10046b01f\nmaxss   xmm0, dword ptr [rbp-20h]                                      ; +0x77, 0x10046b027\nmovss   dword ptr [rbp-20h], xmm0                                      ; +0x7c, 0x10046b02c\nmov     rax, [rbx]                                                     ; +0x81, 0x10046b031\nmov     rdi, rbx                                                       ; +0x84, 0x10046b034\ncall    qword ptr [rax+40h]                                            ; +0x87, 0x10046b037\nmov     rdi, r15                                                       ; +0x8a, 0x10046b03a\nmovss   xmm0, dword ptr [rbp-20h]                                      ; +0x8d, 0x10046b03d\nmov     esi, eax                                                       ; +0x92, 0x10046b042\nxor     edx, edx                                                       ; +0x94, 0x10046b044\ncall    CreateParticlePopup__updateParticleValueForType                ; +0x96, 0x10046b046\nmov     rax, [rbx]                                                     ; +0x9b, 0x10046b04b\nmov     rdi, rbx                                                       ; +0x9e, 0x10046b04e\ncall    qword ptr [rax+40h]                                            ; +0xa1, 0x10046b051\nmov     rdi, r15                                                       ; +0xa4, 0x10046b054\nmov     esi, eax                                                       ; +0xa7, 0x10046b057\ncall    CreateParticlePopup__updateSliderForType                       ; +0xa9, 0x10046b059\nadd     rsp, 28h                                                       ; +0xae, 0x10046b05e\npop     rbx                                                            ; +0xb2, 0x10046b062\npop     r14                                                            ; +0xb3, 0x10046b063\npop     r15                                                            ; +0xb5, 0x10046b065\npop     rbp                                                            ; +0xb7, 0x10046b067\nretn                                                                   ; +0xb8, 0x10046b068", "xrefs": ["sub_10046B070 @ 0x10046b07c", "<???> @ 0x100b44650"], "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"}