{"type": "func", "start": 4078572, "end": 4078700, "name": "CCTextInputNode::textChanged", "pseudocode": "// \n// CCTextInputNode::textChanged from 0x3e3bec to 0x3e3c6c (128 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCTextInputNode::textChanged @ 0x3e3c74\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:03 +0000\n// \n\nint (__fastcall ***__fastcall CCTextInputNode::textChanged(CCTextInputNode *this))(_DWORD, CCTextInputNode *)\n{\n  const char *v2; // r0\n  const char *v3; // r7\n  size_t v4; // r0\n  void (__fastcall ***v5)(_DWORD, CCTextInputNode *); // r0\n  int (__fastcall ***result)(_DWORD, CCTextInputNode *); // r0\n  int v7[3]; // [sp+0h] [bp-14h] BYREF\n\n  CCTextInputNode::closeEditMenu((int)this);\n  v2 = (const char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 104) + 624))(*((_DWORD *)this + 104));\n  memset(v7, 0, sizeof(v7));\n  v3 = v2;\n  v4 = strlen(v2);\n  std::string::__init(v7, v3, v4);\n  CCTextInputNode::updateLabel((float *)this, (int)v7);\n  std::string::~string((int)v7);\n  v5 = *((void (__fastcall ****)(_DWORD, CCTextInputNode *))this + 105);\n  if ( v5 )\n    (**v5)(v5, this);\n  result = *((int (__fastcall ****)(_DWORD, CCTextInputNode *))this + 92);\n  if ( result )\n    return (int (__fastcall ***)(_DWORD, CCTextInputNode *))(**result)(result, this);\n  return result;\n}", "assembly": "; \n; CCTextInputNode::textChanged from 0x3e3bec to 0x3e3c6c (128 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCTextInputNode::textChanged @ 0x3e3c74\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:03 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x3e3bec\nSUB             SP, SP, #0x14                                          ; +0x2, 0x3e3bee\nLDR             R5, =(__stack_chk_guard_ptr - 0x3E3BFA)                ; +0x4, 0x3e3bf0\nMOV             R6, R0                                                 ; +0x6, 0x3e3bf2\nMOV             R4, SP                                                 ; +0x8, 0x3e3bf4\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xa, 0x3e3bf6\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xc, 0x3e3bf8\nLDR             R3, [R5]                                               ; +0xe, 0x3e3bfa\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x10, 0x3e3bfc\nBL              _ZN15CCTextInputNode13closeEditMenuEv; CCTextInputNode::closeEditMenu(void) ; +0x12, 0x3e3bfe\nLDR.W           R0, [R6,#0x1A0]                                        ; +0x16, 0x3e3c02\nLDR             R3, [R0]                                               ; +0x1a, 0x3e3c06\nLDR.W           R3, [R3,#0x270]                                        ; +0x1c, 0x3e3c08\nBLX             R3                                                     ; +0x20, 0x3e3c0c\nMOVS            R3, #0                                                 ; +0x22, 0x3e3c0e\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x24, 0x3e3c10\nSTR             R3, [SP,#0x14+var_10]                                  ; +0x26, 0x3e3c12\nSTR             R3, [SP,#0x14+var_C]                                   ; +0x28, 0x3e3c14\nMOV             R7, R0                                                 ; +0x2a, 0x3e3c16\nBLX             strlen                                                 ; +0x2c, 0x3e3c18\nMOV             R1, R7                                                 ; +0x30, 0x3e3c1c\nMOV             R2, R0                                                 ; +0x32, 0x3e3c1e\nMOV             R0, SP                                                 ; +0x34, 0x3e3c20\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x36, 0x3e3c22\nMOV             R0, R6                                                 ; +0x3a, 0x3e3c26\nMOV             R1, SP                                                 ; +0x3c, 0x3e3c28\nBL              _ZN15CCTextInputNode11updateLabelENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::updateLabel(std::string) ; +0x3e, 0x3e3c2a\nMOV             R0, SP                                                 ; +0x42, 0x3e3c2e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x44, 0x3e3c30\nLDR.W           R0, [R6,#0x1A4]                                        ; +0x48, 0x3e3c34\nCBZ             R0, loc_3E3C42                                         ; +0x4c, 0x3e3c38\nLDR             R3, [R0]                                               ; +0x4e, 0x3e3c3a\nMOV             R1, R6                                                 ; +0x50, 0x3e3c3c\nLDR             R3, [R3]                                               ; +0x52, 0x3e3c3e\nBLX             R3                                                     ; +0x54, 0x3e3c40\nLDR.W           R0, [R6,#0x170]                                        ; +0x56, 0x3e3c42\nCBZ             R0, loc_3E3C5C                                         ; +0x5a, 0x3e3c46\nLDR             R3, [R0]                                               ; +0x5c, 0x3e3c48\nMOV             R1, R6                                                 ; +0x5e, 0x3e3c4a\nLDR             R3, [R3]                                               ; +0x60, 0x3e3c4c\nBLX             R3                                                     ; +0x62, 0x3e3c4e\nB               loc_3E3C5C                                             ; +0x64, 0x3e3c50\nMOV             R0, R4                                                 ; +0x66, 0x3e3c52\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x68, 0x3e3c54\nBL              __cxa_end_cleanup                                      ; +0x6c, 0x3e3c58\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x70, 0x3e3c5c\nLDR             R3, [R5]                                               ; +0x72, 0x3e3c5e\nCMP             R2, R3                                                 ; +0x74, 0x3e3c60\nBEQ             loc_3E3C68                                             ; +0x76, 0x3e3c62\nBLX             __stack_chk_fail                                       ; +0x78, 0x3e3c64\nADD             SP, SP, #0x14                                          ; +0x7c, 0x3e3c68\nPOP             {R4-R7,PC}                                             ; +0x7e, 0x3e3c6a", "xrefs": ["`non-virtual thunk to'CCTextInputNode::textChanged @ 0x3e3c74"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}