{"type": "func", "start": 6442545680, "end": 6442545772, "name": "fmt::internal::UTF8ToUTF16::UTF8ToUTF16", "pseudocode": "// \n// fmt::internal::UTF8ToUTF16::UTF8ToUTF16 from 0x180017210 to 0x18001726c (92 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8710\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 11:21:25 +0000\n// \n\n__int64 *__fastcall fmt::internal::UTF8ToUTF16::UTF8ToUTF16(__int64 *a1, __int64 *a2)\n{\n  __int64 v2; // r8\n  __int64 *v4; // rcx\n\n  v2 = *a2;\n  *a1 = *a2;\n  a1[1] = a2[1];\n  v4 = (__int64 *)a2[2];\n  if ( v4 == a2 + 3 )\n  {\n    a1[2] = (__int64)(a1 + 3);\n    memmove(a1 + 3, a2 + 3, 2 * v2);\n  }\n  else\n  {\n    a1[2] = (__int64)v4;\n    a2[2] = (__int64)(a2 + 3);\n  }\n  return a1;\n}", "assembly": "; \n; fmt::internal::UTF8ToUTF16::UTF8ToUTF16 from 0x180017210 to 0x18001726c (92 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8710\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 11:21:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x180017210\nsub     rsp, 20h                                                       ; +0x2, 0x180017212\nmov     r8, [rdx]                                                      ; +0x6, 0x180017216\nmov     rbx, rcx                                                       ; +0x9, 0x180017219\nmov     [rcx], r8                                                      ; +0xc, 0x18001721c\nmov     rax, [rdx+8]                                                   ; +0xf, 0x18001721f\nmov     [rcx+8], rax                                                   ; +0x13, 0x180017223\nlea     rax, [rdx+18h]                                                 ; +0x17, 0x180017227\nmov     rcx, [rdx+10h]                                                 ; +0x1b, 0x18001722b\ncmp     rcx, rax                                                       ; +0x1f, 0x18001722f\njnz     short loc_18001725B                                            ; +0x22, 0x180017232\nlea     r8, ds:18h[r8*2]                                               ; +0x24, 0x180017234\nsub     r8, rax                                                        ; +0x2c, 0x18001723c\nlea     rcx, [rbx+18h]; void *                                         ; +0x2f, 0x18001723f\nadd     r8, rdx; Size                                                  ; +0x33, 0x180017243\nmov     [rbx+10h], rcx                                                 ; +0x36, 0x180017246\nmov     rdx, rax; Src                                                  ; +0x3a, 0x18001724a\ncall    memmove                                                        ; +0x3d, 0x18001724d\nmov     rax, rbx                                                       ; +0x42, 0x180017252\nadd     rsp, 20h                                                       ; +0x45, 0x180017255\npop     rbx                                                            ; +0x49, 0x180017259\nretn                                                                   ; +0x4a, 0x18001725a\nmov     [rbx+10h], rcx                                                 ; +0x4b, 0x18001725b\nmov     [rdx+10h], rax                                                 ; +0x4f, 0x18001725f\nmov     rax, rbx                                                       ; +0x53, 0x180017263\nadd     rsp, 20h                                                       ; +0x56, 0x180017266\npop     rbx                                                            ; +0x5a, 0x18001726a\nretn                                                                   ; +0x5b, 0x18001726b", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b8710"], "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"}