{"type": "func", "start": 6442519712, "end": 6442519811, "name": "cocos2d::extension::CCEditBox::setFontName", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setFontName from 0x180010ca0 to 0x180010d03 (99 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a1ac\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::setFontName(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 + 84, a2, v4);\n  v5 = (__int64)*(this + 72);\n  if ( v5 )\n  {\n    if ( *((_DWORD *)this + 184) != -1 )\n      (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 16LL))(v5, a2);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::setFontName from 0x180010ca0 to 0x180010d03 (99 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a1ac\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, 0x180010ca0\npush    rdi                                                            ; +0x5, 0x180010ca5\nsub     rsp, 20h                                                       ; +0x6, 0x180010ca6\nmov     rbx, rdx                                                       ; +0xa, 0x180010caa\nmov     rdi, rcx                                                       ; +0xd, 0x180010cad\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x10, 0x180010cb0\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x180010cb7\ninc     r8; Size                                                       ; +0x20, 0x180010cc0\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180010cc3\njnz     short loc_180010CC0                                            ; +0x28, 0x180010cc8\nadd     rcx, 2A0h; void *                                              ; +0x2a, 0x180010cca\ncall    sub_180003BC0                                                  ; +0x31, 0x180010cd1\nmov     rcx, [rdi+240h]                                                ; +0x36, 0x180010cd6\ntest    rcx, rcx                                                       ; +0x3d, 0x180010cdd\njz      short loc_180010CF8                                            ; +0x40, 0x180010ce0\nmov     r8d, [rdi+2E0h]                                                ; +0x42, 0x180010ce2\ncmp     r8d, 0FFFFFFFFh                                                ; +0x49, 0x180010ce9\njz      short loc_180010CF8                                            ; +0x4d, 0x180010ced\nmov     rax, [rcx]                                                     ; +0x4f, 0x180010cef\nmov     rdx, rbx                                                       ; +0x52, 0x180010cf2\ncall    qword ptr [rax+10h]                                            ; +0x55, 0x180010cf5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x58, 0x180010cf8\nadd     rsp, 20h                                                       ; +0x5d, 0x180010cfd\npop     rdi                                                            ; +0x61, 0x180010d01\nretn                                                                   ; +0x62, 0x180010d02", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a1ac"], "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"}