{"type": "func", "start": 5369037952, "end": 5369038090, "name": "CCTextInputNode::textChanged", "pseudocode": "// \n// CCTextInputNode::textChanged from 0x140050480 to 0x14005050a (138 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140532348\n// > <???> @ 0x1406c4d58\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 CCTextInputNode::textChanged(CCTextInputNode *a1)\n{\n  _BYTE *v2; // rax\n  size_t v3; // r8\n  void (__fastcall ***v4)(_QWORD, cocos2d::CCGridBase **); // rcx\n  __int128 v5; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v6; // [rsp+30h] [rbp-18h]\n  __int64 v7; // [rsp+38h] [rbp-10h]\n\n  v2 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)&a1->m_sAdditionalTransform.ty + 600LL) + 8LL))(*(_QWORD *)&a1->m_sAdditionalTransform.ty + 600LL);\n  v5 = 0;\n  v6 = 0;\n  v3 = -1;\n  v7 = 0;\n  do\n    ++v3;\n  while ( v2[v3] );\n  sub_14003A930(&v5, v2, v3);\n  CCTextInputNode::updateLabel((CCTextInputNode *)((char *)a1 - 416), (__int64)&v5);\n  v4 = *(void (__fastcall ****)(_QWORD, cocos2d::CCGridBase **))&a1->m_sTransform.b;\n  if ( v4 )\n    (**v4)(v4, &a1[-1].m_pGrid);\n}", "assembly": "; \n; CCTextInputNode::textChanged from 0x140050480 to 0x14005050a (138 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140532348\n; > <???> @ 0x1406c4d58\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140050480\npush    rdi                                                            ; +0x5, 0x140050485\nsub     rsp, 40h                                                       ; +0x6, 0x140050486\nmov     rdi, rcx                                                       ; +0xa, 0x14005048a\nmov     rcx, [rcx+88h]                                                 ; +0xd, 0x14005048d\nadd     rcx, 258h                                                      ; +0x14, 0x140050494\nmov     rax, [rcx]                                                     ; +0x1b, 0x14005049b\ncall    qword ptr [rax+8]                                              ; +0x1e, 0x14005049e\nxor     ecx, ecx                                                       ; +0x21, 0x1400504a1\nxorps   xmm0, xmm0                                                     ; +0x23, 0x1400504a3\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x26, 0x1400504a6\nmov     [rsp+48h+var_18], rcx                                          ; +0x2b, 0x1400504ab\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x30, 0x1400504b0\nmov     [rsp+48h+var_10], rcx                                          ; +0x37, 0x1400504b7\nnop     dword ptr [rax+00h]                                            ; +0x3c, 0x1400504bc\ninc     r8                                                             ; +0x40, 0x1400504c0\ncmp     [rax+r8], cl                                                   ; +0x43, 0x1400504c3\njnz     short loc_1400504C0                                            ; +0x47, 0x1400504c7\nmov     rdx, rax                                                       ; +0x49, 0x1400504c9\nlea     rcx, [rsp+48h+var_28]                                          ; +0x4c, 0x1400504cc\ncall    sub_14003A930                                                  ; +0x51, 0x1400504d1\nlea     rdx, [rsp+48h+var_28]                                          ; +0x56, 0x1400504d6\nlea     rcx, [rdi-1A0h]                                                ; +0x5b, 0x1400504db\ncall    CCTextInputNode__updateLabel                                   ; +0x62, 0x1400504e2\nmov     rcx, [rdi+90h]                                                 ; +0x67, 0x1400504e7\ntest    rcx, rcx                                                       ; +0x6e, 0x1400504ee\njz      short loc_1400504FF                                            ; +0x71, 0x1400504f1\nmov     rax, [rcx]                                                     ; +0x73, 0x1400504f3\nlea     rdx, [rdi-1A0h]                                                ; +0x76, 0x1400504f6\ncall    qword ptr [rax]                                                ; +0x7d, 0x1400504fd\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x7f, 0x1400504ff\nadd     rsp, 40h                                                       ; +0x84, 0x140050504\npop     rdi                                                            ; +0x88, 0x140050508\nretn                                                                   ; +0x89, 0x140050509", "xrefs": ["<???> @ 0x140532348", "<???> @ 0x1406c4d58"], "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"}