{"type": "func", "start": 6442705808, "end": 6442706984, "name": "sub_18003E390", "pseudocode": "// \n// sub_18003E390 from 0x18003e390 to 0x18003e828 (1176 bytes)\n// \n// 5 xrefs:\n// > fmt::internal::PrintfParser<wchar_t>::Format @ 0x18004222f\n// > fmt::BasicFormatter<wchar_t>::format @ 0x180043cb4\n// > <???> @ 0x180137124\n// > <???> @ 0x180137134\n// > <???> @ 0x1801b1200\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\nunsigned __int64 __fastcall sub_18003E390(unsigned __int64 *a1, double a2, unsigned int *a3)\n{\n  char v3; // r13\n  char v4; // si\n  double v6; // xmm6_8\n  unsigned __int8 v8; // r12\n  _DWORD *v9; // rbx\n  char *v10; // rdx\n  unsigned __int64 result; // rax\n  const char *v12; // rdx\n  unsigned __int64 v13; // rbp\n  unsigned int v14; // r14d\n  __int64 v15; // rdx\n  bool v16; // al\n  bool v17; // zf\n  __int16 *v18; // rcx\n  unsigned int v19; // eax\n  unsigned __int16 v20; // ax\n  wchar_t v21; // r13\n  size_t v22; // rdx\n  wchar_t *v23; // rbx\n  int v24; // eax\n  int v25; // eax\n  signed int v26; // esi\n  unsigned __int64 v27; // rdx\n  wchar_t v28; // cx\n  __int64 v29; // rbp\n  unsigned __int64 v30; // r14\n  unsigned __int64 v31; // rbx\n  char *v32; // rdi\n  unsigned __int64 v33; // rbx\n  int *PtDec; // [rsp+20h] [rbp-88h]\n  wchar_t Format; // [rsp+40h] [rbp-68h] BYREF\n  __int16 v36; // [rsp+42h] [rbp-66h] BYREF\n  char v37; // [rsp+44h] [rbp-64h] BYREF\n\n  v3 = *((_BYTE *)a3 + 20);\n  v4 = 0;\n  v6 = a2;\n  switch ( v3 )\n  {\n    case 0:\n      v3 = 103;\n      break;\n    case 65:\n    case 69:\n    case 71:\n      goto LABEL_4;\n    case 70:\n      v3 = 102;\nLABEL_4:\n      v4 = 1;\n      break;\n    default:\n      break;\n  }\n  v8 = 0;\n  if ( a2 < 0.0 )\n  {\n    v6 = -a2;\n    v9 = a3 + 3;\n    v8 = 45;\n  }\n  else\n  {\n    v9 = a3 + 3;\n    if ( (a3[3] & 1) != 0 )\n    {\n      v8 = 32;\n      if ( (*v9 & 2) != 0 )\n        v8 = 43;\n    }\n  }\n  if ( !finite(v6) )\n  {\n    v12 = \" inf\";\n    if ( v4 )\n      v12 = \" INF\";\n    if ( v8 )\n    {\n      result = sub_180040870(a1, v12, 4, a3);\n      *(_WORD *)result = v8;\n    }\n    else\n    {\n      v10 = \"inf\";\n      if ( v4 )\n        v10 = \"INF\";\n      return sub_180040870(a1, v10, 3, a3);\n    }\n    return result;\n  }\n  v13 = *a1;\n  v14 = *a3;\n  if ( v8 )\n  {\n    v15 = v14;\n    if ( !v14 )\n      v15 = 1;\n    if ( v13 + v15 > a1[1] )\n      sub_1800441F0(a1);\n    if ( v14 )\n      --v14;\n    ++v13;\n  }\n  Format = 37;\n  v16 = (*v9 & 4) != 0;\n  if ( (*v9 & 4) != 0 )\n    v36 = 35;\n  v17 = !v16;\n  v18 = &v36;\n  v19 = a3[2];\n  if ( !v17 )\n    v18 = (__int16 *)&v37;\n  if ( v19 == 3 )\n  {\n    v14 = 0;\n  }\n  else\n  {\n    if ( v19 == 1 )\n      *v18++ = 45;\n    if ( v14 )\n      *v18++ = 42;\n  }\n  if ( (a3[4] & 0x80000000) == 0 )\n  {\n    *(_DWORD *)v18 = 2752558;\n    v18 += 2;\n  }\n  v20 = v3;\n  v21 = *((_WORD *)a3 + 2);\n  *v18 = 76;\n  *(_DWORD *)(v18 + 1) = v20;\n  while ( 1 )\n  {\n    v22 = a1[1] - v13;\n    if ( !v22 )\n    {\n      if ( v13 + 1 > a1[1] )\n        sub_1800441F0(a1);\n      v22 = a1[1] - v13;\n    }\n    v23 = (wchar_t *)(a1[2] + 2 * v13);\n    v24 = a3[4];\n    if ( v14 )\n    {\n      if ( v24 >= 0 )\n      {\n        LODWORD(PtDec) = a3[4];\n        v25 = swprintf(v23, v22, &Format, v14, PtDec, v6);\n      }\n      else\n      {\n        v25 = swprintf(v23, v22, &Format, v14, v6);\n      }\n    }\n    else if ( v24 >= 0 )\n    {\n      v25 = swprintf(v23, v22, &Format, (unsigned int)v24, v6);\n    }\n    else\n    {\n      v25 = swprintf(v23, v22, &Format, v6);\n    }\n    v26 = v25;\n    if ( v25 < 0 )\n    {\n      result = a1[1];\n      v27 = result;\n      goto LABEL_60;\n    }\n    v27 = v25 + v13;\n    result = a1[1];\n    if ( v27 < result )\n      break;\nLABEL_60:\n    if ( v27 + 1 > result )\n      sub_1800441F0(a1);\n  }\n  if ( v8 )\n  {\n    if ( (a3[2] & 0xFFFFFFFD) != 0 || *v23 != 32 )\n    {\n      v28 = v8;\n      v8 = 0;\n    }\n    else\n    {\n      v28 = v21;\n    }\n    result = -2;\n    ++v26;\n    *(v23 - 1) = v28;\n  }\n  if ( a3[2] == 3 && (v29 = *a3, (unsigned int)v29 > v26) )\n  {\n    v30 = *a1;\n    v31 = *a1 + v29;\n    if ( v31 > a1[1] )\n      sub_1800441F0(a1);\n    *a1 = v31;\n    v32 = (char *)(a1[2] + 2 * v30);\n    memmove(&v32[2 * ((unsigned __int64)(unsigned int)(v29 - v26) >> 1)], v32, 2LL * v26);\n    return fmt::BasicWriter<wchar_t>::FillPadding(v32, *a3, v26, v21);\n  }\n  else\n  {\n    if ( *((_WORD *)a3 + 2) != 32 || v8 )\n    {\n      for ( ; *v23 == 32; ++v23 )\n        *v23 = v21;\n      if ( v8 )\n      {\n        result = v8;\n        *(v23 - 1) = v8;\n      }\n    }\n    v33 = *a1 + v26;\n    if ( v33 > a1[1] )\n      result = sub_1800441F0(a1);\n    *a1 = v33;\n  }\n  return result;\n}", "assembly": "; \n; sub_18003E390 from 0x18003e390 to 0x18003e828 (1176 bytes)\n; \n; 5 xrefs:\n; > fmt::internal::PrintfParser<wchar_t>::Format @ 0x18004222f\n; > fmt::BasicFormatter<wchar_t>::format @ 0x180043cb4\n; > <???> @ 0x180137124\n; > <???> @ 0x180137134\n; > <???> @ 0x1801b1200\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\npush    rsi                                                            ; +0x0, 0x18003e390\npush    rdi                                                            ; +0x2, 0x18003e392\npush    r12                                                            ; +0x3, 0x18003e393\npush    r13                                                            ; +0x5, 0x18003e395\npush    r15                                                            ; +0x7, 0x18003e397\nsub     rsp, 80h                                                       ; +0x9, 0x18003e399\nmovaps  [rsp+0A8h+var_48], xmm6                                        ; +0x10, 0x18003e3a0\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x18003e3a5\nxor     rax, rsp                                                       ; +0x1c, 0x18003e3ac\nmov     [rsp+0A8h+var_50], rax                                         ; +0x1f, 0x18003e3af\nmovsx   r13, byte ptr [r8+14h]                                         ; +0x24, 0x18003e3b4\nxor     sil, sil                                                       ; +0x29, 0x18003e3b9\nmov     r15, r8                                                        ; +0x2c, 0x18003e3bc\nmovaps  xmm6, xmm1                                                     ; +0x2f, 0x18003e3bf\nmov     rdi, rcx                                                       ; +0x32, 0x18003e3c2\ncmp     r13d, 67h; switch 104 cases                                    ; +0x35, 0x18003e3c5\nja      short def_18003E3E5; jumptable 000000018003E3E5 default case, cases 1-64,66-68,72-103 ; +0x39, 0x18003e3c9\nlea     rdx, cs:180000000h                                             ; +0x3b, 0x18003e3cb\nmovzx   eax, ds:(byte_18003E7C0 - 180000000h)[rdx+r13]                 ; +0x42, 0x18003e3d2\nmov     ecx, ds:(jpt_18003E3E5 - 180000000h)[rdx+rax*4]                ; +0x4b, 0x18003e3db\nadd     rcx, rdx                                                       ; +0x52, 0x18003e3e2\njmp     rcx; switch jump                                               ; +0x55, 0x18003e3e5\nmov     r13b, 67h ; 'g'; jumptable 000000018003E3E5 case 0             ; +0x57, 0x18003e3e7\njmp     short def_18003E3E5; jumptable 000000018003E3E5 default case, cases 1-64,66-68,72-103 ; +0x5a, 0x18003e3ea\nmov     r13b, 66h ; 'f'; jumptable 000000018003E3E5 case 70            ; +0x5c, 0x18003e3ec\nmov     sil, 1; jumptable 000000018003E3E5 cases 65,69,71              ; +0x5f, 0x18003e3ef\nxor     r12b, r12b; jumptable 000000018003E3E5 default case, cases 1-64,66-68,72-103 ; +0x62, 0x18003e3f2\nmov     [rsp+0A8h+arg_18], rbx                                         ; +0x65, 0x18003e3f5\nxorps   xmm0, xmm0                                                     ; +0x6d, 0x18003e3fd\nxor     eax, eax                                                       ; +0x70, 0x18003e400\ncomisd  xmm0, xmm6                                                     ; +0x72, 0x18003e402\nja      short loc_18003E468                                            ; +0x76, 0x18003e406\nucomisd xmm6, xmm6                                                     ; +0x78, 0x18003e408\njnp     short loc_18003E446                                            ; +0x7c, 0x18003e40c\nmov     [rsp+0A8h+var_70], eax                                         ; +0x7e, 0x18003e40e\nlea     rcx, [rsp+0A8h+Buffer]; Buffer                                 ; +0x82, 0x18003e412\nmov     [rsp+0A8h+var_78], eax                                         ; +0x87, 0x18003e417\nxor     r9d, r9d; DigitCount                                           ; +0x8b, 0x18003e41b\nlea     rax, [rsp+0A8h+var_78]                                         ; +0x8e, 0x18003e41e\nmovaps  xmm2, xmm6; Value                                              ; +0x93, 0x18003e423\nmov     [rsp+0A8h+PtSign], rax; PtSign                                 ; +0x96, 0x18003e426\nlea     rax, [rsp+0A8h+var_70]                                         ; +0x9b, 0x18003e42b\nmov     [rsp+0A8h+PtDec], rax; PtDec                                   ; +0xa0, 0x18003e430\nlea     edx, [r9+2]; BufferCount                                       ; +0xa5, 0x18003e435\ncall    cs:_ecvt_s                                                     ; +0xa9, 0x18003e439\ncmp     [rsp+0A8h+var_78], 0                                           ; +0xaf, 0x18003e43f\njnz     short loc_18003E468                                            ; +0xb4, 0x18003e444\ntest    byte ptr [r15+0Ch], 1                                          ; +0xb6, 0x18003e446\nlea     rbx, [r15+0Ch]                                                 ; +0xbb, 0x18003e44b\njz      short loc_18003E476                                            ; +0xbf, 0x18003e44f\nmov     eax, [rbx]                                                     ; +0xc1, 0x18003e451\nmov     r12d, 20h ; ' '                                                ; +0xc3, 0x18003e453\nshr     eax, 1                                                         ; +0xc9, 0x18003e459\ntest    al, 1                                                          ; +0xcb, 0x18003e45b\nmov     eax, 2Bh ; '+'                                                 ; +0xcd, 0x18003e45d\ncmovnz  r12d, eax                                                      ; +0xd2, 0x18003e462\njmp     short loc_18003E476                                            ; +0xd6, 0x18003e466\nxorps   xmm6, cs:xmmword_1800EAD00                                     ; +0xd8, 0x18003e468\nlea     rbx, [r15+0Ch]                                                 ; +0xdf, 0x18003e46f\nmov     r12b, 2Dh ; '-'                                                ; +0xe3, 0x18003e473\nucomisd xmm6, xmm6                                                     ; +0xe6, 0x18003e476\njnp     short loc_18003E4D8                                            ; +0xea, 0x18003e47a\ntest    sil, sil                                                       ; +0xec, 0x18003e47c\nlea     rax, aNan; \" NAN\"                                              ; +0xef, 0x18003e47f\nlea     rdx, aNan_0; \" nan\"                                            ; +0xf6, 0x18003e486\nmov     r9, r15                                                        ; +0xfd, 0x18003e48d\ncmovnz  rdx, rax                                                       ; +0x100, 0x18003e490\nmov     rcx, rdi                                                       ; +0x104, 0x18003e494\ntest    r12b, r12b                                                     ; +0x107, 0x18003e497\njnz     short loc_18003E4C1                                            ; +0x10a, 0x18003e49a\nlea     rax, aNan+1; \"NAN\"                                             ; +0x10c, 0x18003e49c\nlea     rdx, aNan_0+1; \"nan\"                                           ; +0x113, 0x18003e4a3\ntest    sil, sil                                                       ; +0x11a, 0x18003e4aa\nmov     r8d, 3                                                         ; +0x11d, 0x18003e4ad\ncmovnz  rdx, rax                                                       ; +0x123, 0x18003e4b3\ncall    sub_180040870                                                  ; +0x127, 0x18003e4b7\njmp     loc_18003E77F                                                  ; +0x12c, 0x18003e4bc\nmov     r8d, 4                                                         ; +0x131, 0x18003e4c1\ncall    sub_180040870                                                  ; +0x137, 0x18003e4c7\nmovzx   ecx, r12b                                                      ; +0x13c, 0x18003e4cc\nmov     [rax], cx                                                      ; +0x140, 0x18003e4d0\njmp     loc_18003E77F                                                  ; +0x143, 0x18003e4d3\nmovaps  xmm0, xmm6; X                                                  ; +0x148, 0x18003e4d8\ncall    cs:_finite                                                     ; +0x14b, 0x18003e4db\ntest    eax, eax                                                       ; +0x151, 0x18003e4e1\njnz     short loc_18003E515                                            ; +0x153, 0x18003e4e3\ntest    sil, sil                                                       ; +0x155, 0x18003e4e5\nlea     rax, aInf; \" INF\"                                              ; +0x158, 0x18003e4e8\nlea     rdx, aInf_0; \" inf\"                                            ; +0x15f, 0x18003e4ef\nmov     r9, r15                                                        ; +0x166, 0x18003e4f6\ncmovnz  rdx, rax                                                       ; +0x169, 0x18003e4f9\nmov     rcx, rdi                                                       ; +0x16d, 0x18003e4fd\ntest    r12b, r12b                                                     ; +0x170, 0x18003e500\njnz     short loc_18003E4C1                                            ; +0x173, 0x18003e503\nlea     rax, aInf+1; \"INF\"                                             ; +0x175, 0x18003e505\nlea     rdx, aInf_0+1; \"inf\"                                           ; +0x17c, 0x18003e50c\njmp     short loc_18003E4AA                                            ; +0x183, 0x18003e513\nmov     [rsp+0A8h+var_30], rbp                                         ; +0x185, 0x18003e515\nmov     rbp, [rdi]                                                     ; +0x18a, 0x18003e51a\nmov     [rsp+0A8h+var_38], r14                                         ; +0x18d, 0x18003e51d\nmov     r14d, [r15]                                                    ; +0x192, 0x18003e522\ntest    r12b, r12b                                                     ; +0x195, 0x18003e525\njz      short loc_18003E554                                            ; +0x198, 0x18003e528\nmov     ecx, 1                                                         ; +0x19a, 0x18003e52a\nmov     edx, r14d                                                      ; +0x19f, 0x18003e52f\ncmp     r14d, ecx                                                      ; +0x1a2, 0x18003e532\ncmovb   edx, ecx                                                       ; +0x1a5, 0x18003e535\nadd     rdx, rbp                                                       ; +0x1a8, 0x18003e538\ncmp     rdx, [rdi+8]                                                   ; +0x1ab, 0x18003e53b\njbe     short loc_18003E549                                            ; +0x1af, 0x18003e53f\nmov     rcx, rdi                                                       ; +0x1b1, 0x18003e541\ncall    sub_1800441F0                                                  ; +0x1b4, 0x18003e544\ntest    r14d, r14d                                                     ; +0x1b9, 0x18003e549\njz      short loc_18003E551                                            ; +0x1bc, 0x18003e54c\ndec     r14d                                                           ; +0x1be, 0x18003e54e\ninc     rbp                                                            ; +0x1c1, 0x18003e551\nmov     eax, 25h ; '%'                                                 ; +0x1c4, 0x18003e554\nmov     [rsp+0A8h+Format], ax                                          ; +0x1c9, 0x18003e559\nmov     eax, [rbx]                                                     ; +0x1ce, 0x18003e55e\nshr     eax, 2                                                         ; +0x1d0, 0x18003e560\nand     al, 1                                                          ; +0x1d3, 0x18003e563\njz      short loc_18003E571                                            ; +0x1d5, 0x18003e565\nmov     ecx, 23h ; '#'                                                 ; +0x1d7, 0x18003e567\nmov     [rsp+0A8h+var_66], cx                                          ; +0x1dc, 0x18003e56c\ntest    al, al                                                         ; +0x1e1, 0x18003e571\nlea     rcx, [rsp+0A8h+var_66]                                         ; +0x1e3, 0x18003e573\nmov     eax, [r15+8]                                                   ; +0x1e8, 0x18003e578\nlea     rdx, [rsp+0A8h+var_64]                                         ; +0x1ec, 0x18003e57c\ncmovnz  rcx, rdx                                                       ; +0x1f1, 0x18003e581\nmov     r8d, 2Ah ; '*'                                                 ; +0x1f5, 0x18003e585\ncmp     eax, 3                                                         ; +0x1fb, 0x18003e58b\njnz     short loc_18003E597                                            ; +0x1fe, 0x18003e58e\nxor     edx, edx                                                       ; +0x200, 0x18003e590\nmov     r14d, edx                                                      ; +0x202, 0x18003e592\njmp     short loc_18003E5B4                                            ; +0x205, 0x18003e595\ncmp     eax, 1                                                         ; +0x207, 0x18003e597\njnz     short loc_18003E5A5                                            ; +0x20a, 0x18003e59a\nmov     word ptr [rcx], 2Dh ; '-'                                      ; +0x20c, 0x18003e59c\nadd     rcx, 2                                                         ; +0x211, 0x18003e5a1\ntest    r14d, r14d                                                     ; +0x215, 0x18003e5a5\njz      short loc_18003E5B2                                            ; +0x218, 0x18003e5a8\nmov     [rcx], r8w                                                     ; +0x21a, 0x18003e5aa\nadd     rcx, 2                                                         ; +0x21e, 0x18003e5ae\nxor     edx, edx                                                       ; +0x222, 0x18003e5b2\ncmp     dword ptr [r15+10h], 0                                         ; +0x224, 0x18003e5b4\njl      short loc_18003E5C5                                            ; +0x229, 0x18003e5b9\nmov     dword ptr [rcx], 2A002Eh                                       ; +0x22b, 0x18003e5bb\nadd     rcx, 4                                                         ; +0x231, 0x18003e5c1\nmovsx   eax, r13b                                                      ; +0x235, 0x18003e5c5\nmovzx   r13d, word ptr [r15+4]                                         ; +0x239, 0x18003e5c9\nmov     word ptr [rcx], 4Ch ; 'L'                                      ; +0x23e, 0x18003e5ce\nmov     [rcx+2], ax                                                    ; +0x243, 0x18003e5d3\nmov     [rcx+4], dx                                                    ; +0x247, 0x18003e5d7\nnop     dword ptr [rax+rax+00h]                                        ; +0x24b, 0x18003e5db\nmov     rax, [rdi+8]                                                   ; +0x250, 0x18003e5e0\nmov     rdx, rax                                                       ; +0x254, 0x18003e5e4\nsub     rdx, rbp                                                       ; +0x257, 0x18003e5e7\njnz     short loc_18003E604                                            ; +0x25a, 0x18003e5ea\nlea     rdx, [rbp+1]                                                   ; +0x25c, 0x18003e5ec\ncmp     rdx, rax                                                       ; +0x260, 0x18003e5f0\njbe     short loc_18003E5FD                                            ; +0x263, 0x18003e5f3\nmov     rcx, rdi                                                       ; +0x265, 0x18003e5f5\ncall    sub_1800441F0                                                  ; +0x268, 0x18003e5f8\nmov     rdx, [rdi+8]                                                   ; +0x26d, 0x18003e5fd\nsub     rdx, rbp; BufferCount                                          ; +0x271, 0x18003e601\nmov     rax, [rdi+10h]                                                 ; +0x274, 0x18003e604\nlea     r8, [rsp+0A8h+Format]; Format                                  ; +0x278, 0x18003e608\nlea     rbx, [rax+rbp*2]                                               ; +0x27d, 0x18003e60d\nmov     eax, [r15+10h]                                                 ; +0x281, 0x18003e611\nmov     rcx, rbx; Buffer                                               ; +0x285, 0x18003e615\ntest    r14d, r14d                                                     ; +0x288, 0x18003e618\njnz     short loc_18003E640                                            ; +0x28b, 0x18003e61b\ntest    eax, eax                                                       ; +0x28d, 0x18003e61d\njns     short loc_18003E630                                            ; +0x28f, 0x18003e61f\nmovaps  xmm3, xmm6                                                     ; +0x291, 0x18003e621\nmovq    r9, xmm6                                                       ; +0x294, 0x18003e624\ncall    swprintf                                                       ; +0x299, 0x18003e629\njmp     short loc_18003E663                                            ; +0x29e, 0x18003e62e\nmov     r9d, eax                                                       ; +0x2a0, 0x18003e630\nmovsd   [rsp+0A8h+PtDec], xmm6                                         ; +0x2a3, 0x18003e633\ncall    swprintf                                                       ; +0x2a9, 0x18003e639\njmp     short loc_18003E663                                            ; +0x2ae, 0x18003e63e\nmov     r9d, r14d                                                      ; +0x2b0, 0x18003e640\ntest    eax, eax                                                       ; +0x2b3, 0x18003e643\njns     short loc_18003E654                                            ; +0x2b5, 0x18003e645\nmovsd   [rsp+0A8h+PtDec], xmm6                                         ; +0x2b7, 0x18003e647\ncall    swprintf                                                       ; +0x2bd, 0x18003e64d\njmp     short loc_18003E663                                            ; +0x2c2, 0x18003e652\nmovsd   [rsp+0A8h+PtSign], xmm6                                        ; +0x2c4, 0x18003e654\nmov     dword ptr [rsp+0A8h+PtDec], eax                                ; +0x2ca, 0x18003e65a\ncall    swprintf                                                       ; +0x2ce, 0x18003e65e\nmov     esi, eax                                                       ; +0x2d3, 0x18003e663\ncdqe                                                                   ; +0x2d5, 0x18003e665\ntest    esi, esi                                                       ; +0x2d7, 0x18003e667\njs      short loc_18003E693                                            ; +0x2d9, 0x18003e669\nlea     rdx, [rax+rbp]                                                 ; +0x2db, 0x18003e66b\nmov     rax, [rdi+8]                                                   ; +0x2df, 0x18003e66f\ncmp     rdx, rax                                                       ; +0x2e3, 0x18003e673\njnb     short loc_18003E69A                                            ; +0x2e6, 0x18003e676\ntest    r12b, r12b                                                     ; +0x2e8, 0x18003e678\njz      short loc_18003E6CA                                            ; +0x2eb, 0x18003e67b\ntest    dword ptr [r15+8], 0FFFFFFFDh                                  ; +0x2ed, 0x18003e67d\njnz     short loc_18003E6B3                                            ; +0x2f5, 0x18003e685\ncmp     word ptr [rbx], 20h ; ' '                                      ; +0x2f7, 0x18003e687\njnz     short loc_18003E6B3                                            ; +0x2fb, 0x18003e68b\nmovzx   ecx, r13w                                                      ; +0x2fd, 0x18003e68d\njmp     short loc_18003E6BA                                            ; +0x301, 0x18003e691\nmov     rax, [rdi+8]                                                   ; +0x303, 0x18003e693\nmov     rdx, rax                                                       ; +0x307, 0x18003e697\ninc     rdx                                                            ; +0x30a, 0x18003e69a\ncmp     rdx, rax                                                       ; +0x30d, 0x18003e69d\njbe     loc_18003E5E0                                                  ; +0x310, 0x18003e6a0\nmov     rcx, rdi                                                       ; +0x316, 0x18003e6a6\ncall    sub_1800441F0                                                  ; +0x319, 0x18003e6a9\njmp     loc_18003E5E0                                                  ; +0x31e, 0x18003e6ae\nmovzx   ecx, r12b                                                      ; +0x323, 0x18003e6b3\nxor     r12b, r12b                                                     ; +0x327, 0x18003e6b7\nmov     rax, 0FFFFFFFFFFFFFFFEh                                        ; +0x32a, 0x18003e6ba\nmov     rdx, rbx                                                       ; +0x331, 0x18003e6c1\ninc     esi                                                            ; +0x334, 0x18003e6c4\nmov     [rax+rbx], cx                                                  ; +0x336, 0x18003e6c6\ncmp     dword ptr [r15+8], 3                                           ; +0x33a, 0x18003e6ca\njnz     short loc_18003E729                                            ; +0x33f, 0x18003e6cf\nmov     ebp, [r15]                                                     ; +0x341, 0x18003e6d1\ncmp     ebp, esi                                                       ; +0x344, 0x18003e6d4\njbe     short loc_18003E729                                            ; +0x346, 0x18003e6d6\nmov     r14, [rdi]                                                     ; +0x348, 0x18003e6d8\nlea     rbx, [r14+rbp]                                                 ; +0x34b, 0x18003e6db\ncmp     rbx, [rdi+8]                                                   ; +0x34f, 0x18003e6df\njbe     short loc_18003E6F0                                            ; +0x353, 0x18003e6e3\nmov     rdx, rbx                                                       ; +0x355, 0x18003e6e5\nmov     rcx, rdi                                                       ; +0x358, 0x18003e6e8\ncall    sub_1800441F0                                                  ; +0x35b, 0x18003e6eb\nmov     [rdi], rbx                                                     ; +0x360, 0x18003e6f0\nsub     ebp, esi                                                       ; +0x363, 0x18003e6f3\nmov     rax, [rdi+10h]                                                 ; +0x365, 0x18003e6f5\nmovsxd  rbx, esi                                                       ; +0x369, 0x18003e6f9\nlea     rdi, [rax+r14*2]                                               ; +0x36c, 0x18003e6fc\nmov     eax, ebp                                                       ; +0x370, 0x18003e700\nshr     rax, 1                                                         ; +0x372, 0x18003e702\nlea     r8, [rbx+rbx]; Size                                            ; +0x375, 0x18003e705\nmov     rdx, rdi; Src                                                  ; +0x379, 0x18003e709\nlea     rcx, [rdi+rax*2]; void *                                       ; +0x37c, 0x18003e70c\ncall    memmove                                                        ; +0x380, 0x18003e710\nmov     edx, [r15]                                                     ; +0x385, 0x18003e715\nmovzx   r9d, r13w                                                      ; +0x388, 0x18003e718\nmov     r8, rbx                                                        ; +0x38c, 0x18003e71c\nmov     rcx, rdi                                                       ; +0x38f, 0x18003e71f\ncall    ?FillPadding@?$BasicWriter@_W@fmt@@CAPEA_WPEA_WI_K_W@Z; fmt::BasicWriter<wchar_t>::FillPadding(wchar_t *,uint,unsigned __int64,wchar_t) ; +0x392, 0x18003e722\njmp     short loc_18003E775                                            ; +0x397, 0x18003e727\ncmp     word ptr [r15+4], 20h ; ' '                                    ; +0x399, 0x18003e729\njnz     short loc_18003E736                                            ; +0x39f, 0x18003e72f\ntest    r12b, r12b                                                     ; +0x3a1, 0x18003e731\njz      short loc_18003E75B                                            ; +0x3a4, 0x18003e734\ncmp     word ptr [rbx], 20h ; ' '                                      ; +0x3a6, 0x18003e736\njnz     short loc_18003E74E                                            ; +0x3aa, 0x18003e73a\nnop     dword ptr [rax+00h]                                            ; +0x3ac, 0x18003e73c\nmov     [rbx], r13w                                                    ; +0x3b0, 0x18003e740\nadd     rbx, 2                                                         ; +0x3b4, 0x18003e744\ncmp     word ptr [rbx], 20h ; ' '                                      ; +0x3b8, 0x18003e748\njz      short loc_18003E740                                            ; +0x3bc, 0x18003e74c\ntest    r12b, r12b                                                     ; +0x3be, 0x18003e74e\njz      short loc_18003E75B                                            ; +0x3c1, 0x18003e751\nmovzx   eax, r12b                                                      ; +0x3c3, 0x18003e753\nmov     [rbx-2], ax                                                    ; +0x3c7, 0x18003e757\nmovsxd  rbx, esi                                                       ; +0x3cb, 0x18003e75b\nadd     rbx, [rdi]                                                     ; +0x3ce, 0x18003e75e\ncmp     rbx, [rdi+8]                                                   ; +0x3d1, 0x18003e761\njbe     short loc_18003E772                                            ; +0x3d5, 0x18003e765\nmov     rdx, rbx                                                       ; +0x3d7, 0x18003e767\nmov     rcx, rdi                                                       ; +0x3da, 0x18003e76a\ncall    sub_1800441F0                                                  ; +0x3dd, 0x18003e76d\nmov     [rdi], rbx                                                     ; +0x3e2, 0x18003e772\nmov     rbp, [rsp+0A8h+var_30]                                         ; +0x3e5, 0x18003e775\nmov     r14, [rsp+0A8h+var_38]                                         ; +0x3ea, 0x18003e77a\nmov     rbx, [rsp+0A8h+arg_18]                                         ; +0x3ef, 0x18003e77f\nmov     rcx, [rsp+0A8h+var_50]                                         ; +0x3f7, 0x18003e787\nxor     rcx, rsp; StackCookie                                          ; +0x3fc, 0x18003e78c\ncall    __security_check_cookie                                        ; +0x3ff, 0x18003e78f\nmovaps  xmm6, [rsp+0A8h+var_48]                                        ; +0x404, 0x18003e794\nadd     rsp, 80h                                                       ; +0x409, 0x18003e799\npop     r15                                                            ; +0x410, 0x18003e7a0\npop     r13                                                            ; +0x412, 0x18003e7a2\npop     r12                                                            ; +0x414, 0x18003e7a4\npop     rdi                                                            ; +0x416, 0x18003e7a6\npop     rsi                                                            ; +0x417, 0x18003e7a7\nretn                                                                   ; +0x418, 0x18003e7a8\nalign 4                                                                ; +0x419, 0x18003e7a9\ndd offset loc_18003E3E7 - 180000000h; jump table for switch statement  ; +0x41c, 0x18003e7ac\ndb      0,     4,     4,     4; indirect table for switch statement    ; +0x430, 0x18003e7c0", "xrefs": ["fmt::internal::PrintfParser<wchar_t>::Format @ 0x18004222f", "fmt::BasicFormatter<wchar_t>::format @ 0x180043cb4", "<???> @ 0x180137124", "<???> @ 0x180137134", "<???> @ 0x1801b1200"], "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"}