{"type": "func", "start": 5369065744, "end": 5369065962, "name": "CCTextInputNode::textChanged", "pseudocode": "// \n// CCTextInputNode::textChanged from 0x140057110 to 0x1400571ea (218 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14070d518\n// > <???> @ 0x1409103f4\n// \n// This function is hookable on this platform (idp: pc, 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:25:40 +0000\n// \n\nvoid __fastcall CCTextInputNode::textChanged(_QWORD *a1, __int64 a2)\n{\n  cocos2d::CCObject *v2; // rdi\n  _BYTE *v4; // rax\n  size_t v5; // r8\n  void (__fastcall ***v6)(_QWORD, __int64); // rcx\n  void (__fastcall ***v7)(_QWORD, __int64); // rcx\n  __int128 v8; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v9; // [rsp+30h] [rbp-18h]\n  __int64 v10; // [rsp+38h] [rbp-10h]\n\n  v2 = (cocos2d::CCObject *)a1[35];\n  if ( v2 )\n  {\n    a1[35] = 0;\n    LOBYTE(a2) = 1;\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v2 + 520LL))(v2, a2);\n    cocos2d::CCObject::release(v2);\n  }\n  v4 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1[22] + 600LL) + 8LL))(a1[22] + 600LL);\n  v9 = 0;\n  v8 = 0;\n  v10 = 0;\n  v5 = -1;\n  do\n    ++v5;\n  while ( v4[v5] );\n  sub_14003D230(&v8, v4, v5);\n  CCTextInputNode::updateLabel((__int64)(a1 - 52), (__int64 *)&v8);\n  v6 = (void (__fastcall ***)(_QWORD, __int64))a1[23];\n  if ( v6 )\n    (**v6)(v6, (__int64)(a1 - 52));\n  v7 = (void (__fastcall ***)(_QWORD, __int64))a1[12];\n  if ( v7 )\n    (**v7)(v7, (__int64)(a1 - 52));\n}", "assembly": "; \n; CCTextInputNode::textChanged from 0x140057110 to 0x1400571ea (218 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14070d518\n; > <???> @ 0x1409103f4\n; \n; This function is hookable on this platform (idp: pc, 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:25:40 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140057110\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140057115\npush    rdi                                                            ; +0xa, 0x14005711a\nsub     rsp, 40h                                                       ; +0xb, 0x14005711b\nmov     rdi, [rcx+118h]                                                ; +0xf, 0x14005711f\nmov     rsi, rcx                                                       ; +0x16, 0x140057126\ntest    rdi, rdi                                                       ; +0x19, 0x140057129\njz      short loc_140057150                                            ; +0x1c, 0x14005712c\nmov     qword ptr [rcx+118h], 0                                        ; +0x1e, 0x14005712e\nmov     dl, 1                                                          ; +0x29, 0x140057139\nmov     rax, [rdi]                                                     ; +0x2b, 0x14005713b\nmov     rcx, rdi                                                       ; +0x2e, 0x14005713e\ncall    qword ptr [rax+208h]                                           ; +0x31, 0x140057141\nmov     rcx, rdi                                                       ; +0x37, 0x140057147\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3a, 0x14005714a\nmov     rcx, [rsi+0B0h]                                                ; +0x40, 0x140057150\nadd     rcx, 258h                                                      ; +0x47, 0x140057157\nmov     rax, [rcx]                                                     ; +0x4e, 0x14005715e\ncall    qword ptr [rax+8]                                              ; +0x51, 0x140057161\nxorps   xmm0, xmm0                                                     ; +0x54, 0x140057164\nmov     [rsp+48h+var_18], 0                                            ; +0x57, 0x140057167\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x60, 0x140057170\nmov     [rsp+48h+var_10], 0                                            ; +0x65, 0x140057175\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x6e, 0x14005717e\ninc     r8                                                             ; +0x75, 0x140057185\ncmp     byte ptr [rax+r8], 0                                           ; +0x78, 0x140057188\njnz     short loc_140057185                                            ; +0x7d, 0x14005718d\nmov     rdx, rax                                                       ; +0x7f, 0x14005718f\nlea     rcx, [rsp+48h+var_28]                                          ; +0x82, 0x140057192\ncall    sub_14003D230                                                  ; +0x87, 0x140057197\nlea     rdx, [rsp+48h+var_28]                                          ; +0x8c, 0x14005719c\nlea     rcx, [rsi-1A0h]                                                ; +0x91, 0x1400571a1\ncall    CCTextInputNode__updateLabel                                   ; +0x98, 0x1400571a8\nmov     rcx, [rsi+0B8h]                                                ; +0x9d, 0x1400571ad\ntest    rcx, rcx                                                       ; +0xa4, 0x1400571b4\njz      short loc_1400571C5                                            ; +0xa7, 0x1400571b7\nmov     rax, [rcx]                                                     ; +0xa9, 0x1400571b9\nlea     rdx, [rsi-1A0h]                                                ; +0xac, 0x1400571bc\ncall    qword ptr [rax]                                                ; +0xb3, 0x1400571c3\nmov     rcx, [rsi+60h]                                                 ; +0xb5, 0x1400571c5\ntest    rcx, rcx                                                       ; +0xb9, 0x1400571c9\njz      short loc_1400571DA                                            ; +0xbc, 0x1400571cc\nmov     rax, [rcx]                                                     ; +0xbe, 0x1400571ce\nlea     rdx, [rsi-1A0h]                                                ; +0xc1, 0x1400571d1\ncall    qword ptr [rax]                                                ; +0xc8, 0x1400571d8\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xca, 0x1400571da\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xcf, 0x1400571df\nadd     rsp, 40h                                                       ; +0xd4, 0x1400571e4\npop     rdi                                                            ; +0xd8, 0x1400571e8\nretn                                                                   ; +0xd9, 0x1400571e9", "xrefs": ["<???> @ 0x14070d518", "<???> @ 0x1409103f4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}