{"type": "func", "start": 6442545584, "end": 6442545672, "name": "fmt::internal::UTF16ToUTF8::UTF16ToUTF8", "pseudocode": "// \n// fmt::internal::UTF16ToUTF8::UTF16ToUTF8 from 0x1800171b0 to 0x180017208 (88 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8704\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\nsize_t *__fastcall fmt::internal::UTF16ToUTF8::UTF16ToUTF8(size_t *a1, size_t *a2)\n{\n  size_t v2; // r8\n  size_t *v4; // rcx\n\n  v2 = *a2;\n  *a1 = *a2;\n  a1[1] = a2[1];\n  v4 = (size_t *)a2[2];\n  if ( v4 == a2 + 3 )\n  {\n    a1[2] = (size_t)(a1 + 3);\n    memmove(a1 + 3, a2 + 3, v2);\n  }\n  else\n  {\n    a1[2] = (size_t)v4;\n    a2[2] = (size_t)(a2 + 3);\n  }\n  return a1;\n}", "assembly": "; \n; fmt::internal::UTF16ToUTF8::UTF16ToUTF8 from 0x1800171b0 to 0x180017208 (88 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8704\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, 0x1800171b0\nsub     rsp, 20h                                                       ; +0x2, 0x1800171b2\nmov     r8, [rdx]                                                      ; +0x6, 0x1800171b6\nmov     rbx, rcx                                                       ; +0x9, 0x1800171b9\nmov     [rcx], r8                                                      ; +0xc, 0x1800171bc\nmov     rax, [rdx+8]                                                   ; +0xf, 0x1800171bf\nmov     [rcx+8], rax                                                   ; +0x13, 0x1800171c3\nlea     rax, [rdx+18h]                                                 ; +0x17, 0x1800171c7\nmov     rcx, [rdx+10h]                                                 ; +0x1b, 0x1800171cb\ncmp     rcx, rax                                                       ; +0x1f, 0x1800171cf\njnz     short loc_1800171F7                                            ; +0x22, 0x1800171d2\nadd     rdx, 18h                                                       ; +0x24, 0x1800171d4\nlea     rcx, [rbx+18h]; void *                                         ; +0x28, 0x1800171d8\nsub     r8, rax                                                        ; +0x2c, 0x1800171dc\nmov     [rbx+10h], rcx                                                 ; +0x2f, 0x1800171df\nadd     r8, rdx; Size                                                  ; +0x33, 0x1800171e3\nmov     rdx, rax; Src                                                  ; +0x36, 0x1800171e6\ncall    memmove                                                        ; +0x39, 0x1800171e9\nmov     rax, rbx                                                       ; +0x3e, 0x1800171ee\nadd     rsp, 20h                                                       ; +0x41, 0x1800171f1\npop     rbx                                                            ; +0x45, 0x1800171f5\nretn                                                                   ; +0x46, 0x1800171f6\nmov     [rbx+10h], rcx                                                 ; +0x47, 0x1800171f7\nmov     [rdx+10h], rax                                                 ; +0x4b, 0x1800171fb\nmov     rax, rbx                                                       ; +0x4f, 0x1800171ff\nadd     rsp, 20h                                                       ; +0x52, 0x180017202\npop     rbx                                                            ; +0x56, 0x180017206\nretn                                                                   ; +0x57, 0x180017207", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b8704"], "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"}