{"type": "func", "start": 6442519936, "end": 6442520041, "name": "cocos2d::extension::CCEditBox::setPlaceholderFont", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setPlaceholderFont from 0x180010d80 to 0x180010de9 (105 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a1b8\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::setPlaceholderFont(void **this, char *a2, unsigned int a3)\n{\n  size_t v5; // r8\n  __int64 v7; // rcx\n\n  v5 = -1;\n  do\n    ++v5;\n  while ( a2[v5] );\n  sub_180003BC0(this + 88, a2, v5);\n  *((_DWORD *)this + 185) = a3;\n  if ( a2 )\n  {\n    v7 = (__int64)*(this + 72);\n    if ( v7 )\n      (*(void (__fastcall **)(__int64, char *, _QWORD))(*(_QWORD *)v7 + 32LL))(v7, a2, a3);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::setPlaceholderFont from 0x180010d80 to 0x180010de9 (105 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a1b8\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_0], rbx                                               ; +0x0, 0x180010d80\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180010d85\npush    rdi                                                            ; +0xa, 0x180010d8a\nsub     rsp, 20h                                                       ; +0xb, 0x180010d8b\nmov     esi, r8d                                                       ; +0xf, 0x180010d8f\nmov     rbx, rdx                                                       ; +0x12, 0x180010d92\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x15, 0x180010d95\nmov     rdi, rcx                                                       ; +0x1c, 0x180010d9c\nnop                                                                    ; +0x1f, 0x180010d9f\ninc     r8; Size                                                       ; +0x20, 0x180010da0\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180010da3\njnz     short loc_180010DA0                                            ; +0x28, 0x180010da8\nadd     rcx, 2C0h; void *                                              ; +0x2a, 0x180010daa\ncall    sub_180003BC0                                                  ; +0x31, 0x180010db1\nmov     [rdi+2E4h], esi                                                ; +0x36, 0x180010db6\ntest    rbx, rbx                                                       ; +0x3c, 0x180010dbc\njz      short loc_180010DD9                                            ; +0x3f, 0x180010dbf\nmov     rcx, [rdi+240h]                                                ; +0x41, 0x180010dc1\ntest    rcx, rcx                                                       ; +0x48, 0x180010dc8\njz      short loc_180010DD9                                            ; +0x4b, 0x180010dcb\nmov     rax, [rcx]                                                     ; +0x4d, 0x180010dcd\nmov     r8d, esi                                                       ; +0x50, 0x180010dd0\nmov     rdx, rbx                                                       ; +0x53, 0x180010dd3\ncall    qword ptr [rax+20h]                                            ; +0x56, 0x180010dd6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x59, 0x180010dd9\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5e, 0x180010dde\nadd     rsp, 20h                                                       ; +0x63, 0x180010de3\npop     rdi                                                            ; +0x67, 0x180010de7\nretn                                                                   ; +0x68, 0x180010de8", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a1b8"], "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"}