{"type": "func", "start": 6442549552, "end": 6442549689, "name": "fmt::internal::UTF16ToUTF8::operator=", "pseudocode": "// \n// fmt::internal::UTF16ToUTF8::operator= from 0x180018130 to 0x1800181b9 (137 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae7a0\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\nsize_t *__fastcall fmt::internal::UTF16ToUTF8::operator=(size_t *a1, size_t *a2)\n{\n  void *v2; // rsi\n  void *v4; // rcx\n  size_t v6; // rdx\n  size_t *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 = (size_t *)a2[2];\n  if ( v7 == a2 + 3 )\n  {\n    a1[2] = (size_t)v2;\n    memmove(v2, a2 + 3, v6);\n  }\n  else\n  {\n    a1[2] = (size_t)v7;\n    a2[2] = (size_t)(a2 + 3);\n  }\n  return a1;\n}", "assembly": "; \n; fmt::internal::UTF16ToUTF8::operator= from 0x180018130 to 0x1800181b9 (137 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae7a0\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, 0x180018130\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180018135\npush    rdi                                                            ; +0xa, 0x18001813a\nsub     rsp, 20h                                                       ; +0xb, 0x18001813b\nlea     rsi, [rcx+18h]                                                 ; +0xf, 0x18001813f\nmov     rbx, rcx                                                       ; +0x13, 0x180018143\nmov     rcx, [rcx+10h]; Block                                          ; +0x16, 0x180018146\nmov     rdi, rdx                                                       ; +0x1a, 0x18001814a\ncmp     rcx, rsi                                                       ; +0x1d, 0x18001814d\njz      short loc_180018157                                            ; +0x20, 0x180018150\ncall    j_j_free_0                                                     ; +0x22, 0x180018152\nmov     rdx, [rdi]                                                     ; +0x27, 0x180018157\nmov     [rbx], rdx                                                     ; +0x2a, 0x18001815a\nmov     rax, [rdi+8]                                                   ; +0x2d, 0x18001815d\nmov     [rbx+8], rax                                                   ; +0x31, 0x180018161\nlea     rax, [rdi+18h]                                                 ; +0x35, 0x180018165\nmov     rcx, [rdi+10h]                                                 ; +0x39, 0x180018169\ncmp     rcx, rax                                                       ; +0x3d, 0x18001816d\njnz     short loc_18001819E                                            ; +0x40, 0x180018170\nsub     rdx, rax                                                       ; +0x42, 0x180018172\nmov     [rbx+10h], rsi                                                 ; +0x45, 0x180018175\nlea     r8, [rdi+18h]                                                  ; +0x49, 0x180018179\nmov     rcx, rsi; void *                                               ; +0x4d, 0x18001817d\nadd     r8, rdx; Size                                                  ; +0x50, 0x180018180\nmov     rdx, rax; Src                                                  ; +0x53, 0x180018183\ncall    memmove                                                        ; +0x56, 0x180018186\nmov     rax, rbx                                                       ; +0x5b, 0x18001818b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5e, 0x18001818e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x63, 0x180018193\nadd     rsp, 20h                                                       ; +0x68, 0x180018198\npop     rdi                                                            ; +0x6c, 0x18001819c\nretn                                                                   ; +0x6d, 0x18001819d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6e, 0x18001819e\nmov     [rbx+10h], rcx                                                 ; +0x73, 0x1800181a3\nmov     [rdi+10h], rax                                                 ; +0x77, 0x1800181a7\nmov     rax, rbx                                                       ; +0x7b, 0x1800181ab\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7e, 0x1800181ae\nadd     rsp, 20h                                                       ; +0x83, 0x1800181b3\npop     rdi                                                            ; +0x87, 0x1800181b7\nretn                                                                   ; +0x88, 0x1800181b8", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ae7a0"], "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"}