{"type": "func", "start": 6442518384, "end": 6442518489, "name": "cocos2d::extension::CCEditBox::setPlaceholderFont", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setPlaceholderFont from 0x180010770 to 0x1800107d9 (105 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c098\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:39 +0000\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_1800035E0(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 0x180010770 to 0x1800107d9 (105 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c098\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:39 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180010770\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180010775\npush    rdi                                                            ; +0xa, 0x18001077a\nsub     rsp, 20h                                                       ; +0xb, 0x18001077b\nmov     esi, r8d                                                       ; +0xf, 0x18001077f\nmov     rbx, rdx                                                       ; +0x12, 0x180010782\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x15, 0x180010785\nmov     rdi, rcx                                                       ; +0x1c, 0x18001078c\nnop                                                                    ; +0x1f, 0x18001078f\ninc     r8; Size                                                       ; +0x20, 0x180010790\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180010793\njnz     short loc_180010790                                            ; +0x28, 0x180010798\nadd     rcx, 2C0h; void *                                              ; +0x2a, 0x18001079a\ncall    sub_1800035E0                                                  ; +0x31, 0x1800107a1\nmov     [rdi+2E4h], esi                                                ; +0x36, 0x1800107a6\ntest    rbx, rbx                                                       ; +0x3c, 0x1800107ac\njz      short loc_1800107C9                                            ; +0x3f, 0x1800107af\nmov     rcx, [rdi+240h]                                                ; +0x41, 0x1800107b1\ntest    rcx, rcx                                                       ; +0x48, 0x1800107b8\njz      short loc_1800107C9                                            ; +0x4b, 0x1800107bb\nmov     rax, [rcx]                                                     ; +0x4d, 0x1800107bd\nmov     r8d, esi                                                       ; +0x50, 0x1800107c0\nmov     rdx, rbx                                                       ; +0x53, 0x1800107c3\ncall    qword ptr [rax+20h]                                            ; +0x56, 0x1800107c6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x59, 0x1800107c9\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5e, 0x1800107ce\nadd     rsp, 20h                                                       ; +0x63, 0x1800107d3\npop     rdi                                                            ; +0x67, 0x1800107d7\nretn                                                                   ; +0x68, 0x1800107d8", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004c098"], "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"}