{"type": "func", "start": 5443972, "end": 5444116, "name": "CreateParticlePopup::textChanged", "pseudocode": "// \n// CreateParticlePopup::textChanged from 0x531184 to 0x531214 (144 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CreateParticlePopup::textChanged @ 0x53121c\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 CreateParticlePopup::textChanged(CreateParticlePopup *a1, CCTextInputNode *a2)\n{\n  float v4; // s16\n  gjParticleValue v5; // r0\n  gjParticleValue v6; // r0\n  char *v7; // [sp+0h] [bp-Ch] BYREF\n\n  if ( !a1->m_disableTextDelegate )\n  {\n    CCTextInputNode::getString((CCTextInputNode *)&v7, (int)a2);\n    v4 = atof(v7);\n    sub_774008(&v7);\n    if ( a2->getTag(a2) == 5 && v4 < 1.0 )\n      v4 = 1.0;\n    v5 = a2->getTag(a2);\n    CreateParticlePopup::updateParticleValueForType(a1, v4, v5, nullptr);\n    v6 = a2->getTag(a2);\n    CreateParticlePopup::updateSliderForType(a1, v6);\n  }\n}", "assembly": "; \n; CreateParticlePopup::textChanged from 0x531184 to 0x531214 (144 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CreateParticlePopup::textChanged @ 0x53121c\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x53118C)                ; +0x0, 0x531184\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x531186\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x531188\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x53118a\nVPUSH           {D8}                                                   ; +0x8, 0x53118c\nMOV             R6, R0                                                 ; +0xc, 0x531190\nLDR             R2, [R3]                                               ; +0xe, 0x531192\nMOV             R4, R1                                                 ; +0x10, 0x531194\nMOV             R5, R3                                                 ; +0x12, 0x531196\nSUB             SP, SP, #0xC                                           ; +0x14, 0x531198\nSTR             R2, [SP,#0xC+var_8]                                    ; +0x16, 0x53119a\nLDRB.W          R2, [R0,#0x208]                                        ; +0x18, 0x53119c\nCBNZ            R2, loc_531200                                         ; +0x1c, 0x5311a0\nMOV             R0, SP; this                                           ; +0x1e, 0x5311a2\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x20, 0x5311a4\nLDR             R0, [SP,#0xC+var_C]; char *                            ; +0x24, 0x5311a8\nBLX             atof                                                   ; +0x26, 0x5311aa\nVMOV            D7, R0, R1                                             ; +0x2a, 0x5311ae\nMOV             R0, SP                                                 ; +0x2e, 0x5311b2\nVCVT.F32.F64    S16, D7                                                ; +0x30, 0x5311b4\nBL              sub_774008                                             ; +0x34, 0x5311b8\nLDR             R3, [R4]                                               ; +0x38, 0x5311bc\nMOV             R0, R4                                                 ; +0x3a, 0x5311be\nLDR             R3, [R3,#0x20]                                         ; +0x3c, 0x5311c0\nBLX             R3                                                     ; +0x3e, 0x5311c2\nCMP             R0, #5                                                 ; +0x40, 0x5311c4\nBNE             loc_5311DA                                             ; +0x42, 0x5311c6\nVMOV.F32        S15, #1.0                                              ; +0x44, 0x5311c8\nVCMP.F32        S16, S15                                               ; +0x48, 0x5311cc\nVMRS            APSR_nzcv, FPSCR                                       ; +0x4c, 0x5311d0\nIT MI                                                                  ; +0x50, 0x5311d4\nVMOVMI.F32      S16, S15                                               ; +0x52, 0x5311d6\nLDR             R3, [R4]                                               ; +0x56, 0x5311da\nMOV             R0, R4                                                 ; +0x58, 0x5311dc\nLDR             R3, [R3,#0x20]                                         ; +0x5a, 0x5311de\nBLX             R3                                                     ; +0x5c, 0x5311e0\nVMOV            R1, S16                                                ; +0x5e, 0x5311e2\nMOVS            R3, #0                                                 ; +0x62, 0x5311e6\nMOV             R2, R0                                                 ; +0x64, 0x5311e8\nMOV             R0, R6                                                 ; +0x66, 0x5311ea\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x68, 0x5311ec\nLDR             R3, [R4]                                               ; +0x6c, 0x5311f0\nMOV             R0, R4                                                 ; +0x6e, 0x5311f2\nLDR             R3, [R3,#0x20]                                         ; +0x70, 0x5311f4\nBLX             R3                                                     ; +0x72, 0x5311f6\nMOV             R1, R0                                                 ; +0x74, 0x5311f8\nMOV             R0, R6                                                 ; +0x76, 0x5311fa\nBL              _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x78, 0x5311fc\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x7c, 0x531200\nLDR             R3, [R5]                                               ; +0x7e, 0x531202\nCMP             R2, R3                                                 ; +0x80, 0x531204\nBEQ             loc_53120C                                             ; +0x82, 0x531206\nBLX             __stack_chk_fail                                       ; +0x84, 0x531208\nADD             SP, SP, #0xC                                           ; +0x88, 0x53120c\nVPOP            {D8}                                                   ; +0x8a, 0x53120e\nPOP             {R4-R7,PC}                                             ; +0x8e, 0x531212", "xrefs": ["`non-virtual thunk to'CreateParticlePopup::textChanged @ 0x53121c"], "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"}