{"type": "func", "start": 6442518160, "end": 6442518259, "name": "cocos2d::extension::CCEditBox::setFontName", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setFontName from 0x180010690 to 0x1800106f3 (99 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004c08c\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::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_1800035E0(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 0x180010690 to 0x1800106f3 (99 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004c08c\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, 0x180010690\npush    rdi                                                            ; +0x5, 0x180010695\nsub     rsp, 20h                                                       ; +0x6, 0x180010696\nmov     rbx, rdx                                                       ; +0xa, 0x18001069a\nmov     rdi, rcx                                                       ; +0xd, 0x18001069d\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x10, 0x1800106a0\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x1800106a7\ninc     r8; Size                                                       ; +0x20, 0x1800106b0\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x1800106b3\njnz     short loc_1800106B0                                            ; +0x28, 0x1800106b8\nadd     rcx, 2A0h; void *                                              ; +0x2a, 0x1800106ba\ncall    sub_1800035E0                                                  ; +0x31, 0x1800106c1\nmov     rcx, [rdi+240h]                                                ; +0x36, 0x1800106c6\ntest    rcx, rcx                                                       ; +0x3d, 0x1800106cd\njz      short loc_1800106E8                                            ; +0x40, 0x1800106d0\nmov     r8d, [rdi+2E0h]                                                ; +0x42, 0x1800106d2\ncmp     r8d, 0FFFFFFFFh                                                ; +0x49, 0x1800106d9\njz      short loc_1800106E8                                            ; +0x4d, 0x1800106dd\nmov     rax, [rcx]                                                     ; +0x4f, 0x1800106df\nmov     rdx, rbx                                                       ; +0x52, 0x1800106e2\ncall    qword ptr [rax+10h]                                            ; +0x55, 0x1800106e5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x58, 0x1800106e8\nadd     rsp, 20h                                                       ; +0x5d, 0x1800106ed\npop     rdi                                                            ; +0x61, 0x1800106f1\nretn                                                                   ; +0x62, 0x1800106f2", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004c08c"], "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"}