{"type": "func", "start": 6442549696, "end": 6442549837, "name": "fmt::internal::UTF8ToUTF16::operator=", "pseudocode": "// \n// fmt::internal::UTF8ToUTF16::operator= from 0x1800181c0 to 0x18001824d (141 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae7ac\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\n__int64 *__fastcall fmt::internal::UTF8ToUTF16::operator=(__int64 *a1, __int64 *a2)\n{\n  void *v2; // rsi\n  void *v4; // rcx\n  __int64 v6; // r8\n  __int64 *v7; // rcx\n\n  v2 = a1 + 3;\n  v4 = (void *)a1[2];\n  if ( v4 != v2 )\n    j_j_free_0(v4);\n  v6 = *a2;\n  *a1 = *a2;\n  a1[1] = a2[1];\n  v7 = (__int64 *)a2[2];\n  if ( v7 == a2 + 3 )\n  {\n    a1[2] = (__int64)v2;\n    memmove(v2, a2 + 3, 2 * v6);\n  }\n  else\n  {\n    a1[2] = (__int64)v7;\n    a2[2] = (__int64)(a2 + 3);\n  }\n  return a1;\n}", "assembly": "; \n; fmt::internal::UTF8ToUTF16::operator= from 0x1800181c0 to 0x18001824d (141 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae7ac\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, 0x1800181c0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800181c5\npush    rdi                                                            ; +0xa, 0x1800181ca\nsub     rsp, 20h                                                       ; +0xb, 0x1800181cb\nlea     rsi, [rcx+18h]                                                 ; +0xf, 0x1800181cf\nmov     rbx, rcx                                                       ; +0x13, 0x1800181d3\nmov     rcx, [rcx+10h]; Block                                          ; +0x16, 0x1800181d6\nmov     rdi, rdx                                                       ; +0x1a, 0x1800181da\ncmp     rcx, rsi                                                       ; +0x1d, 0x1800181dd\njz      short loc_1800181E7                                            ; +0x20, 0x1800181e0\ncall    j_j_free_0                                                     ; +0x22, 0x1800181e2\nmov     r8, [rdi]                                                      ; +0x27, 0x1800181e7\nmov     [rbx], r8                                                      ; +0x2a, 0x1800181ea\nmov     rax, [rdi+8]                                                   ; +0x2d, 0x1800181ed\nmov     [rbx+8], rax                                                   ; +0x31, 0x1800181f1\nlea     rax, [rdi+18h]                                                 ; +0x35, 0x1800181f5\nmov     rcx, [rdi+10h]                                                 ; +0x39, 0x1800181f9\ncmp     rcx, rax                                                       ; +0x3d, 0x1800181fd\njnz     short loc_180018232                                            ; +0x40, 0x180018200\nlea     r8, ds:18h[r8*2]                                               ; +0x42, 0x180018202\nmov     [rbx+10h], rsi                                                 ; +0x4a, 0x18001820a\nsub     r8, rax                                                        ; +0x4e, 0x18001820e\nmov     rdx, rax; Src                                                  ; +0x51, 0x180018211\nadd     r8, rdi; Size                                                  ; +0x54, 0x180018214\nmov     rcx, rsi; void *                                               ; +0x57, 0x180018217\ncall    memmove                                                        ; +0x5a, 0x18001821a\nmov     rax, rbx                                                       ; +0x5f, 0x18001821f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x180018222\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x67, 0x180018227\nadd     rsp, 20h                                                       ; +0x6c, 0x18001822c\npop     rdi                                                            ; +0x70, 0x180018230\nretn                                                                   ; +0x71, 0x180018231\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x72, 0x180018232\nmov     [rbx+10h], rcx                                                 ; +0x77, 0x180018237\nmov     [rdi+10h], rax                                                 ; +0x7b, 0x18001823b\nmov     rax, rbx                                                       ; +0x7f, 0x18001823f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x82, 0x180018242\nadd     rsp, 20h                                                       ; +0x87, 0x180018247\npop     rdi                                                            ; +0x8b, 0x18001824b\nretn                                                                   ; +0x8c, 0x18001824c", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ae7ac"], "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"}