{"type": "func", "start": 11529420, "end": 11529704, "name": "CreateParticlePopup::textChanged", "pseudocode": "// \n// CreateParticlePopup::textChanged from 0xafeccc to 0xafede8 (284 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CreateParticlePopup::textChanged @ 0xafedec\n// > <???> @ 0x8e0c0\n// > <???> @ 0x14b0340\n// \n// This function is hookable on this platform (idp: arm, 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 13:01:19 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::textChanged(CreateParticlePopup *this, CCTextInputNode *a2)\n{\n  float v5; // s8\n  long double v6; // q0\n  unsigned int v7; // w0\n  unsigned int v8; // w0\n  __int64 v9[2]; // [xsp+40h] [xbp+40h] BYREF\n  char *v10; // [xsp+50h] [xbp+50h]\n\n  if ( *((_BYTE *)this + 704) )\n    return _stack_chk_guard;\n  CCTextInputNode::getString(a2, v9);\n  if ( (v9[0] & 1) != 0 )\n  {\n    v5 = atof(v10);\n    if ( (v9[0] & 1) == 0 )\n      goto LABEL_5;\n  }\n  else\n  {\n    v5 = atof((const char *)v9 + 1);\n    if ( (v9[0] & 1) == 0 )\n      goto LABEL_5;\n  }\n  operator delete(v10);\nLABEL_5:\n  if ( (*(unsigned int (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2) == 5 && v5 < 1.0 )\n    v5 = 1.0;\n  *(__n128 *)&v6 = ((__n128 (__fastcall *)(CCTextInputNode *))*(_QWORD *)(*(_QWORD *)a2 + 64LL))(a2);\n  *(float *)&v6 = v5;\n  CreateParticlePopup::updateParticleValueForType((__int64)this, v7, nullptr, v6);\n  v8 = (*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2);\n  CreateParticlePopup::updateSliderForType((cocos2d::CCArray **)this, v8);\n  return _stack_chk_guard;\n}", "assembly": "; \n; CreateParticlePopup::textChanged from 0xafeccc to 0xafede8 (284 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CreateParticlePopup::textChanged @ 0xafedec\n; > <???> @ 0x8e0c0\n; > <???> @ 0x14b0340\n; \n; This function is hookable on this platform (idp: arm, 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 13:01:19 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0xafeccc\nMOV             X29, SP                                                ; +0x4, 0xafecd0\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0xafecd4\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xafecd8\nMOV             X20, X1                                                ; +0x10, 0xafecdc\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0xafece0\nSTR             D8, [SP,#0x60+var_30]                                  ; +0x18, 0xafece4\nMOV             X22, X0                                                ; +0x1c, 0xafece8\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xafecec\nLDRB            W0, [X0,#0x2C0]                                        ; +0x24, 0xafecf0\nLDR             X1, [X1]                                               ; +0x28, 0xafecf4\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x2c, 0xafecf8\nCBZ             W0, loc_AFED28                                         ; +0x30, 0xafecfc\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x34, 0xafed00\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x38, 0xafed04\nLDR             X0, [X19]                                              ; +0x3c, 0xafed08\nCMP             X1, X0                                                 ; +0x40, 0xafed0c\nB.NE            loc_AFEDE4                                             ; +0x44, 0xafed10\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x48, 0xafed14\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x4c, 0xafed18\nLDR             D8, [SP,#0x60+var_30]                                  ; +0x50, 0xafed1c\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x54, 0xafed20\nRET                                                                    ; +0x58, 0xafed24\nADD             X21, X29, #0x60+var_20                                 ; +0x5c, 0xafed28\nMOV             X0, X20; this                                          ; +0x60, 0xafed2c\nMOV             X8, X21                                                ; +0x64, 0xafed30\nBL              _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x68, 0xafed34\nLDRB            W1, [X29,#0x60+var_20]                                 ; +0x6c, 0xafed38\nADD             X0, X21, #1; char *                                    ; +0x70, 0xafed3c\nTBNZ            W1, #0, loc_AFEDBC                                     ; +0x74, 0xafed40\nBL              .atof                                                  ; +0x78, 0xafed44\nLDRB            W0, [X29,#0x60+var_20]                                 ; +0x7c, 0xafed48\nFCVT            S8, D0                                                 ; +0x80, 0xafed4c\nTBNZ            W0, #0, loc_AFEDD0                                     ; +0x84, 0xafed50\nLDR             X1, [X20]                                              ; +0x88, 0xafed54\nMOV             X0, X20                                                ; +0x8c, 0xafed58\nLDR             X1, [X1,#0x40]                                         ; +0x90, 0xafed5c\nBLR             X1                                                     ; +0x94, 0xafed60\nCMP             W0, #5                                                 ; +0x98, 0xafed64\nB.NE            loc_AFED78                                             ; +0x9c, 0xafed68\nFMOV            S0, #1.0                                               ; +0xa0, 0xafed6c\nFCMPE           S8, S0                                                 ; +0xa4, 0xafed70\nB.MI            loc_AFEDDC                                             ; +0xa8, 0xafed74\nLDR             X1, [X20]                                              ; +0xac, 0xafed78\nMOV             X0, X20                                                ; +0xb0, 0xafed7c\nLDR             X1, [X1,#0x40]                                         ; +0xb4, 0xafed80\nBLR             X1                                                     ; +0xb8, 0xafed84\nMOV             W1, W0                                                 ; +0xbc, 0xafed88\nFMOV            S0, S8                                                 ; +0xc0, 0xafed8c\nMOV             X0, X22                                                ; +0xc4, 0xafed90\nMOV             X2, #0                                                 ; +0xc8, 0xafed94\nBL              _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xcc, 0xafed98\nLDR             X1, [X20]                                              ; +0xd0, 0xafed9c\nMOV             X0, X20                                                ; +0xd4, 0xafeda0\nLDR             X1, [X1,#0x40]                                         ; +0xd8, 0xafeda4\nBLR             X1                                                     ; +0xdc, 0xafeda8\nMOV             W1, W0                                                 ; +0xe0, 0xafedac\nMOV             X0, X22                                                ; +0xe4, 0xafedb0\nBL              _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0xe8, 0xafedb4\nB               loc_AFED00                                             ; +0xec, 0xafedb8\nLDR             X0, [X29,#0x60+var_10]; char *                         ; +0xf0, 0xafedbc\nBL              .atof                                                  ; +0xf4, 0xafedc0\nLDRB            W0, [X29,#0x60+var_20]                                 ; +0xf8, 0xafedc4\nFCVT            S8, D0                                                 ; +0xfc, 0xafedc8\nTBZ             W0, #0, loc_AFED54                                     ; +0x100, 0xafedcc\nLDR             X0, [X29,#0x60+var_10]; void *                         ; +0x104, 0xafedd0\nBL              _ZdlPv; operator delete(void *)                        ; +0x108, 0xafedd4\nB               loc_AFED54                                             ; +0x10c, 0xafedd8\nFMOV            S8, S0                                                 ; +0x110, 0xafeddc\nB               loc_AFED78                                             ; +0x114, 0xafede0\nBL              .__stack_chk_fail                                      ; +0x118, 0xafede4", "xrefs": ["`non-virtual thunk to'CreateParticlePopup::textChanged @ 0xafedec", "<???> @ 0x8e0c0", "<???> @ 0x14b0340"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}