{"type": "func", "start": 4300114384, "end": 4300114580, "name": "IDNameInput::textChanged", "pseudocode": "// \n// IDNameInput::textChanged from 0x1004e89d0 to 0x1004e8a94 (196 bytes)\n// \n// 2 xrefs:\n// > sub_1004E8AB0 @ 0x1004e8ab4\n// > <???> @ 0x100993128\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 11:06:41 +0000\n// \n\nvoid __fastcall IDNameInput::textChanged(__int64 a1, __int64 a2)\n{\n  std::string::size_type size; // x8\n  __int64 v5; // x0\n  void (__fastcall ***v6)(_QWORD, __int64); // x0\n  std::string __str; // [xsp+8h] [xbp-28h] BYREF\n\n  CCTextInputNode::getString(a2, &__str);\n  if ( *(_BYTE *)(a2 + 460) != 1 )\n    goto LABEL_6;\n  size = HIBYTE(__str.__r_.__value_.__r.__words[2]);\n  if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) != 0LL )\n    size = __str.__r_.__value_.__l.__size_;\n  if ( size && (sub_1004E68A8((__int64 *)&__str) & 1) == 0 )\n  {\n    sub_1004E7FB8(a1);\n  }\n  else\n  {\nLABEL_6:\n    std::string::operator=((std::string *)(a1 + 464), &__str);\n    v5 = *(_QWORD *)(a1 + 440);\n    if ( v5 )\n    {\n      *(_QWORD *)(a1 + 440) = 0;\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1112LL))(v5);\n    }\n    v6 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 368);\n    if ( v6 )\n      (**v6)(v6, a2);\n  }\n  sub_1004E7BB0(a1);\n  if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__str.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; IDNameInput::textChanged from 0x1004e89d0 to 0x1004e8a94 (196 bytes)\n; \n; 2 xrefs:\n; > sub_1004E8AB0 @ 0x1004e8ab4\n; > <???> @ 0x100993128\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 11:06:41 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1004e89d0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1004e89d4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1004e89d8\nADD             X29, SP, #0x30                                         ; +0xc, 0x1004e89dc\nMOV             X20, X1                                                ; +0x10, 0x1004e89e0\nMOV             X19, X0                                                ; +0x14, 0x1004e89e4\nADD             X8, SP, #0x30+__str                                    ; +0x18, 0x1004e89e8\nMOV             X0, X1                                                 ; +0x1c, 0x1004e89ec\nBL              CCTextInputNode__getString                             ; +0x20, 0x1004e89f0\nLDRB            W8, [X20,#0x1CC]                                       ; +0x24, 0x1004e89f4\nCMP             W8, #1                                                 ; +0x28, 0x1004e89f8\nB.NE            loc_1004E8A24                                          ; +0x2c, 0x1004e89fc\nLDRB            W8, [SP,#0x30+__str.__r_.__value_+0x17]                ; +0x30, 0x1004e8a00\nSXTB            W9, W8                                                 ; +0x34, 0x1004e8a04\nLDR             X10, [SP,#0x30+__str.__r_.__value_+8]                  ; +0x38, 0x1004e8a08\nCMP             W9, #0                                                 ; +0x3c, 0x1004e8a0c\nCSEL            X8, X10, X8, LT                                        ; +0x40, 0x1004e8a10\nCBZ             X8, loc_1004E8A24                                      ; +0x44, 0x1004e8a14\nADD             X0, SP, #0x30+__str                                    ; +0x48, 0x1004e8a18\nBL              sub_1004E68A8                                          ; +0x4c, 0x1004e8a1c\nTBZ             W0, #0, loc_1004E8A64                                  ; +0x50, 0x1004e8a20\nADD             X0, X19, #0x1D0; this                                  ; +0x54, 0x1004e8a24\nADD             X1, SP, #0x30+__str; __str                             ; +0x58, 0x1004e8a28\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x5c, 0x1004e8a2c\nLDR             X0, [X19,#0x1B8]                                       ; +0x60, 0x1004e8a30\nCBZ             X0, loc_1004E8A48                                      ; +0x64, 0x1004e8a34\nSTR             XZR, [X19,#0x1B8]                                      ; +0x68, 0x1004e8a38\nLDR             X8, [X0]                                               ; +0x6c, 0x1004e8a3c\nLDR             X8, [X8,#0x458]                                        ; +0x70, 0x1004e8a40\nBLR             X8                                                     ; +0x74, 0x1004e8a44\nLDR             X0, [X19,#0x170]                                       ; +0x78, 0x1004e8a48\nCBZ             X0, loc_1004E8A6C                                      ; +0x7c, 0x1004e8a4c\nLDR             X8, [X0]                                               ; +0x80, 0x1004e8a50\nLDR             X8, [X8]                                               ; +0x84, 0x1004e8a54\nMOV             X1, X20                                                ; +0x88, 0x1004e8a58\nBLR             X8                                                     ; +0x8c, 0x1004e8a5c\nB               loc_1004E8A6C                                          ; +0x90, 0x1004e8a60\nMOV             X0, X19                                                ; +0x94, 0x1004e8a64\nBL              sub_1004E7FB8                                          ; +0x98, 0x1004e8a68\nMOV             X0, X19                                                ; +0x9c, 0x1004e8a6c\nBL              sub_1004E7BB0                                          ; +0xa0, 0x1004e8a70\nLDRSB           W8, [SP,#0x30+__str.__r_.__value_+0x17]                ; +0xa4, 0x1004e8a74\nTBZ             W8, #0x1F, loc_1004E8A84                               ; +0xa8, 0x1004e8a78\nLDR             X0, [SP,#0x30+__str]; __p                              ; +0xac, 0x1004e8a7c\nBL              __ZdlPv; operator delete(void *)                       ; +0xb0, 0x1004e8a80\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xb4, 0x1004e8a84\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xb8, 0x1004e8a88\nADD             SP, SP, #0x40 ; '@'                                    ; +0xbc, 0x1004e8a8c\nRET                                                                    ; +0xc0, 0x1004e8a90", "xrefs": ["sub_1004E8AB0 @ 0x1004e8ab4", "<???> @ 0x100993128"], "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"}