{"type": "func", "start": 6442520048, "end": 6442520150, "name": "cocos2d::extension::CCEditBox::setPlaceholderFontName", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setPlaceholderFontName from 0x180010df0 to 0x180010e56 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a1c4\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::setPlaceholderFontName(void **this, char *a2)\n{\n  size_t v4; // r8\n  __int64 v5; // rcx\n\n  v4 = -1;\n  do\n    ++v4;\n  while ( a2[v4] );\n  sub_180003BC0(this + 88, a2, v4);\n  v5 = (__int64)*(this + 72);\n  if ( v5 )\n  {\n    if ( *((_DWORD *)this + 185) != -1 )\n      (*(void (__fastcall **)(__int64, char *, _QWORD))(*(_QWORD *)v5 + 32LL))(v5, a2, *((unsigned int *)this + 184));\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::setPlaceholderFontName from 0x180010df0 to 0x180010e56 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a1c4\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, 0x180010df0\npush    rdi                                                            ; +0x5, 0x180010df5\nsub     rsp, 20h                                                       ; +0x6, 0x180010df6\nmov     rbx, rdx                                                       ; +0xa, 0x180010dfa\nmov     rdi, rcx                                                       ; +0xd, 0x180010dfd\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x10, 0x180010e00\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x180010e07\ninc     r8; Size                                                       ; +0x20, 0x180010e10\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180010e13\njnz     short loc_180010E10                                            ; +0x28, 0x180010e18\nadd     rcx, 2C0h; void *                                              ; +0x2a, 0x180010e1a\ncall    sub_180003BC0                                                  ; +0x31, 0x180010e21\nmov     rcx, [rdi+240h]                                                ; +0x36, 0x180010e26\ntest    rcx, rcx                                                       ; +0x3d, 0x180010e2d\njz      short loc_180010E4B                                            ; +0x40, 0x180010e30\ncmp     dword ptr [rdi+2E4h], 0FFFFFFFFh                               ; +0x42, 0x180010e32\njz      short loc_180010E4B                                            ; +0x49, 0x180010e39\nmov     rax, [rcx]                                                     ; +0x4b, 0x180010e3b\nmov     rdx, rbx                                                       ; +0x4e, 0x180010e3e\nmov     r8d, [rdi+2E0h]                                                ; +0x51, 0x180010e41\ncall    qword ptr [rax+20h]                                            ; +0x58, 0x180010e48\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x180010e4b\nadd     rsp, 20h                                                       ; +0x60, 0x180010e50\npop     rdi                                                            ; +0x64, 0x180010e54\nretn                                                                   ; +0x65, 0x180010e55", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a1c4"], "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"}