{"type": "func", "start": 6442519440, "end": 6442519526, "name": "cocos2d::extension::CCEditBox::setText", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setText from 0x180010b90 to 0x180010be6 (86 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a188\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 __fastcall cocos2d::extension::CCEditBox::setText(void **this, char *a2)\n{\n  size_t v4; // r8\n  __int64 v5; // rcx\n\n  if ( a2 )\n  {\n    v4 = -1;\n    do\n      ++v4;\n    while ( a2[v4] );\n    sub_180003BC0(this + 76, a2, v4);\n    v5 = (__int64)*(this + 72);\n    if ( v5 )\n      (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 96LL))(v5, a2);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::setText from 0x180010b90 to 0x180010be6 (86 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a188\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\ntest    rdx, rdx                                                       ; +0x0, 0x180010b90\njz      short locret_180010BE5                                         ; +0x3, 0x180010b93\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x180010b95\npush    rdi                                                            ; +0xa, 0x180010b9a\nsub     rsp, 20h                                                       ; +0xb, 0x180010b9b\nmov     rbx, rdx                                                       ; +0xf, 0x180010b9f\nmov     rdi, rcx                                                       ; +0x12, 0x180010ba2\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x15, 0x180010ba5\nnop     dword ptr [rax+00h]                                            ; +0x1c, 0x180010bac\ninc     r8; Size                                                       ; +0x20, 0x180010bb0\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180010bb3\njnz     short loc_180010BB0                                            ; +0x28, 0x180010bb8\nadd     rcx, 260h; void *                                              ; +0x2a, 0x180010bba\ncall    sub_180003BC0                                                  ; +0x31, 0x180010bc1\nmov     rcx, [rdi+240h]                                                ; +0x36, 0x180010bc6\ntest    rcx, rcx                                                       ; +0x3d, 0x180010bcd\njz      short loc_180010BDB                                            ; +0x40, 0x180010bd0\nmov     rax, [rcx]                                                     ; +0x42, 0x180010bd2\nmov     rdx, rbx                                                       ; +0x45, 0x180010bd5\ncall    qword ptr [rax+60h]                                            ; +0x48, 0x180010bd8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4b, 0x180010bdb\nadd     rsp, 20h                                                       ; +0x50, 0x180010be0\npop     rdi                                                            ; +0x54, 0x180010be4\nretn                                                                   ; +0x55, 0x180010be5", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a188"], "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"}