{"type": "func", "start": 6442522096, "end": 6442522219, "name": "cocos2d::extension::CCEditBoxImplWin::setPlaceHolder", "pseudocode": "// \n// cocos2d::extension::CCEditBoxImplWin::setPlaceHolder from 0x1800115f0 to 0x18001166b (123 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x18002a830\n// > <???> @ 0x180030c58\n// > <???> @ 0x180030c68\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c1c4\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 12:15:40 +0000\n// \n\nvoid __fastcall cocos2d::extension::CCEditBoxImplWin::setPlaceHolder(void **this, char *a2)\n{\n  size_t v3; // r8\n  _QWORD *v4; // rbx\n  __int64 v5; // rdx\n\n  if ( a2 )\n  {\n    v3 = -1;\n    do\n      ++v3;\n    while ( a2[v3] );\n    v4 = this + 11;\n    sub_1800035E0(this + 11, a2, v3);\n    if ( *(this + 13) && !*(this + 9) )\n    {\n      LOBYTE(v5) = 1;\n      (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*(this + 4) + 336LL))(*(this + 4), v5);\n    }\n    if ( v4[3] > 0xFu )\n      v4 = (_QWORD *)*v4;\n    (**((void (__fastcall ***)(__int64, _QWORD *))*(this + 4) + 75))((__int64)*(this + 4) + 600, v4);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBoxImplWin::setPlaceHolder from 0x1800115f0 to 0x18001166b (123 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x18002a830\n; > <???> @ 0x180030c58\n; > <???> @ 0x180030c68\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c1c4\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 12:15:40 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x1800115f0\njz      short locret_18001166A                                         ; +0x3, 0x1800115f3\npush    rdi                                                            ; +0x5, 0x1800115f5\nsub     rsp, 20h                                                       ; +0x6, 0x1800115f6\nmov     rdi, rcx                                                       ; +0xa, 0x1800115fa\nmov     [rsp+28h+arg_0], rbx                                           ; +0xd, 0x1800115fd\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x12, 0x180011602\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x180011609\ninc     r8; Size                                                       ; +0x20, 0x180011610\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180011613\njnz     short loc_180011610                                            ; +0x28, 0x180011618\nlea     rbx, [rcx+58h]                                                 ; +0x2a, 0x18001161a\nmov     rcx, rbx; void *                                               ; +0x2e, 0x18001161e\ncall    sub_1800035E0                                                  ; +0x31, 0x180011621\ncmp     qword ptr [rdi+68h], 0                                         ; +0x36, 0x180011626\njbe     short loc_180011643                                            ; +0x3b, 0x18001162b\ncmp     qword ptr [rdi+48h], 0                                         ; +0x3d, 0x18001162d\njnz     short loc_180011643                                            ; +0x42, 0x180011632\nmov     rcx, [rdi+20h]                                                 ; +0x44, 0x180011634\nmov     dl, 1                                                          ; +0x48, 0x180011638\nmov     rax, [rcx]                                                     ; +0x4a, 0x18001163a\ncall    qword ptr [rax+150h]                                           ; +0x4d, 0x18001163d\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x53, 0x180011643\njbe     short loc_18001164D                                            ; +0x58, 0x180011648\nmov     rbx, [rbx]                                                     ; +0x5a, 0x18001164a\nmov     rcx, [rdi+20h]                                                 ; +0x5d, 0x18001164d\nmov     rdx, rbx                                                       ; +0x61, 0x180011651\nadd     rcx, 258h                                                      ; +0x64, 0x180011654\nmov     rax, [rcx]                                                     ; +0x6b, 0x18001165b\ncall    qword ptr [rax]                                                ; +0x6e, 0x18001165e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x70, 0x180011660\nadd     rsp, 20h                                                       ; +0x75, 0x180011665\npop     rdi                                                            ; +0x79, 0x180011669\nretn                                                                   ; +0x7a, 0x18001166a", "xrefs": ["<???> @ 0x18002a830", "<???> @ 0x180030c58", "<???> @ 0x180030c68", "<???> @ 0x180032408", "<???> @ 0x18004c1c4"], "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"}