{"type": "func", "start": 4297918456, "end": 4297918680, "name": "CreateParticlePopup::textChanged", "pseudocode": "// \n// CreateParticlePopup::textChanged from 0x1002d07f8 to 0x1002d08d8 (224 bytes)\n// \n// 2 xrefs:\n// > sub_1002D08D8 @ 0x1002d08dc\n// > <???> @ 0x1007d78e0\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 __fastcall CreateParticlePopup::textChanged(CreateParticlePopup *a1, CCTextInputNode *a2)\n{\n  double v4; // d8\n  char *v5; // x21\n  float v6; // s8\n  int v7; // w0\n  gjParticleValue v9; // w0\n  gjParticleValue v10; // w0\n  char *v11[2]; // [xsp+8h] [xbp-48h] BYREF\n  char v12; // [xsp+1Fh] [xbp-31h]\n\n  if ( !a1->m_disableTextDelegate )\n  {\n    CCTextInputNode::getString((__int64)a2, v11);\n    if ( v12 < 0 )\n    {\n      v5 = v11[0];\n      v4 = atof(v11[0]);\n      operator delete(v5);\n    }\n    else\n    {\n      v4 = atof((const char *)v11);\n    }\n    v6 = v4;\n    v7 = ((__int64 (__fastcall *)(CCTextInputNode *))a2->getTag)(a2);\n    if ( v6 < 1.0 && v7 == 5 )\n      v6 = 1.0;\n    v9 = ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2);\n    CreateParticlePopup::updateParticleValueForType(a1, v6, v9, nullptr);\n    v10 = ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2);\n    CreateParticlePopup::updateSliderForType(a1, v10);\n  }\n}", "assembly": "; \n; CreateParticlePopup::textChanged from 0x1002d07f8 to 0x1002d08d8 (224 bytes)\n; \n; 2 xrefs:\n; > sub_1002D08D8 @ 0x1002d08dc\n; > <???> @ 0x1007d78e0\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\nLDRB            W8, [X0,#0x2A8]                                        ; +0x0, 0x1002d07f8\nTBNZ            W8, #0, locret_1002D08D4                               ; +0x4, 0x1002d07fc\nSUB             SP, SP, #0x60                                          ; +0x8, 0x1002d0800\nSTP             D9, D8, [SP,#0x50+var_30]                              ; +0xc, 0x1002d0804\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x10, 0x1002d0808\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x14, 0x1002d080c\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x18, 0x1002d0810\nADD             X29, SP, #0x50                                         ; +0x1c, 0x1002d0814\nMOV             X20, X1                                                ; +0x20, 0x1002d0818\nMOV             X19, X0                                                ; +0x24, 0x1002d081c\nADD             X8, SP, #0x50+var_48                                   ; +0x28, 0x1002d0820\nMOV             X0, X1                                                 ; +0x2c, 0x1002d0824\nBL              CCTextInputNode__getString                             ; +0x30, 0x1002d0828\nLDRSB           W8, [SP,#0x50+var_31]                                  ; +0x34, 0x1002d082c\nTBNZ            W8, #0x1F, loc_1002D0844                               ; +0x38, 0x1002d0830\nADD             X0, SP, #0x50+var_48; char *                           ; +0x3c, 0x1002d0834\nBL              _atof                                                  ; +0x40, 0x1002d0838\nFMOV            D8, D0                                                 ; +0x44, 0x1002d083c\nB               loc_1002D085C                                          ; +0x48, 0x1002d0840\nLDR             X21, [SP,#0x50+var_48]                                 ; +0x4c, 0x1002d0844\nMOV             X0, X21; char *                                        ; +0x50, 0x1002d0848\nBL              _atof                                                  ; +0x54, 0x1002d084c\nFMOV            D8, D0                                                 ; +0x58, 0x1002d0850\nMOV             X0, X21; __p                                           ; +0x5c, 0x1002d0854\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1002d0858\nFCVT            S8, D8                                                 ; +0x64, 0x1002d085c\nLDR             X8, [X20]                                              ; +0x68, 0x1002d0860\nLDR             X8, [X8,#0x40]                                         ; +0x6c, 0x1002d0864\nMOV             X0, X20                                                ; +0x70, 0x1002d0868\nBLR             X8                                                     ; +0x74, 0x1002d086c\nFMOV            S0, #1.0                                               ; +0x78, 0x1002d0870\nFCMP            S8, S0                                                 ; +0x7c, 0x1002d0874\nCCMP            W0, #5, #0, MI                                         ; +0x80, 0x1002d0878\nFCSEL           S8, S0, S8, EQ                                         ; +0x84, 0x1002d087c\nLDR             X8, [X20]                                              ; +0x88, 0x1002d0880\nLDR             X8, [X8,#0x40]                                         ; +0x8c, 0x1002d0884\nMOV             X0, X20                                                ; +0x90, 0x1002d0888\nBLR             X8                                                     ; +0x94, 0x1002d088c\nMOV             X1, X0                                                 ; +0x98, 0x1002d0890\nMOV             X0, X19                                                ; +0x9c, 0x1002d0894\nFMOV            S0, S8                                                 ; +0xa0, 0x1002d0898\nMOV             X2, #0                                                 ; +0xa4, 0x1002d089c\nBL              CreateParticlePopup__updateParticleValueForType        ; +0xa8, 0x1002d08a0\nLDR             X8, [X20]                                              ; +0xac, 0x1002d08a4\nLDR             X8, [X8,#0x40]                                         ; +0xb0, 0x1002d08a8\nMOV             X0, X20                                                ; +0xb4, 0x1002d08ac\nBLR             X8                                                     ; +0xb8, 0x1002d08b0\nMOV             X1, X0                                                 ; +0xbc, 0x1002d08b4\nMOV             X0, X19                                                ; +0xc0, 0x1002d08b8\nBL              CreateParticlePopup__updateSliderForType               ; +0xc4, 0x1002d08bc\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc8, 0x1002d08c0\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0xcc, 0x1002d08c4\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0xd0, 0x1002d08c8\nLDP             D9, D8, [SP,#0x50+var_30]                              ; +0xd4, 0x1002d08cc\nADD             SP, SP, #0x60 ; '`'                                    ; +0xd8, 0x1002d08d0\nRET                                                                    ; +0xdc, 0x1002d08d4", "xrefs": ["sub_1002D08D8 @ 0x1002d08dc", "<???> @ 0x1007d78e0"], "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"}