{"type": "func", "start": 6442519600, "end": 6442519705, "name": "cocos2d::extension::CCEditBox::setFont", "pseudocode": "// \n// cocos2d::extension::CCEditBox::setFont from 0x180010c30 to 0x180010c99 (105 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004a1a0\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::setFont(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 + 84, a2, v5);\n  *((_DWORD *)this + 184) = a3;\n  if ( a2 )\n  {\n    v7 = (__int64)*(this + 72);\n    if ( v7 )\n      (*(void (__fastcall **)(__int64, char *, _QWORD))(*(_QWORD *)v7 + 16LL))(v7, a2, a3);\n  }\n}", "assembly": "; \n; cocos2d::extension::CCEditBox::setFont from 0x180010c30 to 0x180010c99 (105 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004a1a0\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, 0x180010c30\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180010c35\npush    rdi                                                            ; +0xa, 0x180010c3a\nsub     rsp, 20h                                                       ; +0xb, 0x180010c3b\nmov     esi, r8d                                                       ; +0xf, 0x180010c3f\nmov     rbx, rdx                                                       ; +0x12, 0x180010c42\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x15, 0x180010c45\nmov     rdi, rcx                                                       ; +0x1c, 0x180010c4c\nnop                                                                    ; +0x1f, 0x180010c4f\ninc     r8; Size                                                       ; +0x20, 0x180010c50\ncmp     byte ptr [rdx+r8], 0                                           ; +0x23, 0x180010c53\njnz     short loc_180010C50                                            ; +0x28, 0x180010c58\nadd     rcx, 2A0h; void *                                              ; +0x2a, 0x180010c5a\ncall    sub_180003BC0                                                  ; +0x31, 0x180010c61\nmov     [rdi+2E0h], esi                                                ; +0x36, 0x180010c66\ntest    rbx, rbx                                                       ; +0x3c, 0x180010c6c\njz      short loc_180010C89                                            ; +0x3f, 0x180010c6f\nmov     rcx, [rdi+240h]                                                ; +0x41, 0x180010c71\ntest    rcx, rcx                                                       ; +0x48, 0x180010c78\njz      short loc_180010C89                                            ; +0x4b, 0x180010c7b\nmov     rax, [rcx]                                                     ; +0x4d, 0x180010c7d\nmov     r8d, esi                                                       ; +0x50, 0x180010c80\nmov     rdx, rbx                                                       ; +0x53, 0x180010c83\ncall    qword ptr [rax+10h]                                            ; +0x56, 0x180010c86\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x59, 0x180010c89\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5e, 0x180010c8e\nadd     rsp, 20h                                                       ; +0x63, 0x180010c93\npop     rdi                                                            ; +0x67, 0x180010c97\nretn                                                                   ; +0x68, 0x180010c98", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004a1a0"], "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"}