{"type": "func", "start": 6442707584, "end": 6442708744, "name": "sub_18003EA80", "pseudocode": "// \n// sub_18003EA80 from 0x18003ea80 to 0x18003ef08 (1160 bytes)\n// \n// 5 xrefs:\n// > fmt::internal::PrintfParser<wchar_t>::Format @ 0x180042a8e\n// > fmt::BasicFormatter<wchar_t>::format @ 0x1800442bd\n// > <???> @ 0x1801400e4\n// > <???> @ 0x1801400f4\n// > <???> @ 0x1801bb320\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:38 +0000\n// \n\nvoid __fastcall sub_18003EA80(unsigned __int64 *a1, double a2, unsigned int *a3)\n{\n  char v3; // r13\n  char v4; // bl\n  double v6; // xmm6_8\n  unsigned __int8 v8; // r12\n  unsigned int v9; // eax\n  _DWORD *v10; // rsi\n  char *v11; // rdx\n  const char *v12; // rdx\n  unsigned int v13; // ebp\n  unsigned __int64 v14; // r14\n  __int64 v15; // rdx\n  int v16; // eax\n  bool v17; // zf\n  __int16 *v18; // rcx\n  unsigned int v19; // eax\n  unsigned __int16 v20; // ax\n  unsigned __int16 v21; // r13\n  size_t v22; // rdx\n  unsigned __int16 *v23; // rbx\n  int v24; // eax\n  int v25; // eax\n  unsigned __int64 v26; // rcx\n  int v27; // esi\n  unsigned __int64 v28; // rax\n  bool v29; // sf\n  unsigned int v30; // eax\n  unsigned __int16 v31; // cx\n  __int64 v32; // rbp\n  unsigned __int64 v33; // r14\n  unsigned __int64 v34; // rbx\n  char *v35; // rdi\n  unsigned __int64 v36; // rbx\n  int *PtDec; // [rsp+20h] [rbp-88h]\n  int *PtSign; // [rsp+28h] [rbp-80h]\n  wchar_t Format; // [rsp+40h] [rbp-68h] BYREF\n  __int16 v40; // [rsp+42h] [rbp-66h] BYREF\n  char v41; // [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    v10 = a3 + 3;\n    v8 = 45;\n  }\n  else\n  {\n    v9 = a3[3];\n    v10 = a3 + 3;\n    if ( (v9 & 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      *(_WORD *)sub_180040EF0(a1, v12, 4, a3) = v8;\n    }\n    else\n    {\n      v11 = \"inf\";\n      if ( v4 )\n        v11 = \"INF\";\n      sub_180040EF0(a1, v11, 3, a3);\n    }\n    return;\n  }\n  v13 = *a3;\n  v14 = *a1;\n  if ( v8 )\n  {\n    v15 = v13;\n    if ( !v13 )\n      v15 = 1;\n    if ( v14 + v15 > a1[1] )\n      sub_180044610(a1);\n    if ( v13 )\n      --v13;\n    ++v14;\n  }\n  Format = 37;\n  v16 = *v10 & 4;\n  if ( v16 )\n    v40 = 35;\n  v17 = v16 == 0;\n  v18 = &v40;\n  v19 = a3[2];\n  if ( !v17 )\n    v18 = (__int16 *)&v41;\n  if ( v19 == 3 )\n  {\n    v13 = 0;\n  }\n  else\n  {\n    if ( v19 == 1 )\n      *v18++ = 45;\n    if ( v13 )\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] - v14;\n    if ( !v22 )\n    {\n      if ( v14 + 1 > a1[1] )\n        sub_180044610(a1);\n      v22 = a1[1] - v14;\n    }\n    v23 = (unsigned __int16 *)(a1[2] + 2 * v14);\n    v24 = a3[4];\n    if ( v13 )\n    {\n      if ( v24 >= 0 )\n      {\n        PtSign = *(int **)&v6;\n        LODWORD(PtDec) = a3[4];\n      }\n      else\n      {\n        PtDec = *(int **)&v6;\n      }\n    }\n    else if ( v24 >= 0 )\n    {\n      PtDec = *(int **)&v6;\n    }\n    v25 = sub_180044C70((wchar_t *)(a1[2] + 2 * v14), v22, &Format);\n    v26 = a1[1];\n    v27 = v25;\n    v28 = v14 + v25;\n    v29 = v27 < 0;\n    if ( v27 >= 0 )\n      break;\nLABEL_56:\n    if ( v29 )\n      v28 = a1[1];\n    if ( v28 + 1 > v26 )\n      sub_180044610(a1);\n  }\n  if ( v28 >= v26 )\n  {\n    v29 = v27 < 0;\n    goto LABEL_56;\n  }\n  if ( v8 )\n  {\n    v30 = a3[2];\n    if ( (v30 == 2 || !v30) && *v23 == 32 )\n    {\n      v31 = v21;\n    }\n    else\n    {\n      v31 = v8;\n      v8 = 0;\n    }\n    ++v27;\n    *(v23 - 1) = v31;\n  }\n  if ( a3[2] == 3 && (v32 = *a3, (unsigned int)v32 > v27) )\n  {\n    v33 = *a1;\n    v34 = *a1 + v32;\n    if ( v34 > a1[1] )\n      sub_180044610(a1);\n    *a1 = v34;\n    v35 = (char *)(a1[2] + 2 * v33);\n    memmove(&v35[2 * ((unsigned __int64)(unsigned int)(v32 - v27) >> 1)], v35, 2LL * v27);\n    fmt::BasicWriter<wchar_t>::FillPadding(v35, *a3, v27, v21, PtDec, PtSign);\n  }\n  else\n  {\n    if ( *((_WORD *)a3 + 2) != 32 || v8 )\n    {\n      for ( ; *v23 == 32; ++v23 )\n        *v23 = v21;\n      if ( v8 )\n        *(v23 - 1) = v8;\n    }\n    v36 = *a1 + v27;\n    if ( v36 > a1[1] )\n      sub_180044610(a1);\n    *a1 = v36;\n  }\n}", "assembly": "; \n; sub_18003EA80 from 0x18003ea80 to 0x18003ef08 (1160 bytes)\n; \n; 5 xrefs:\n; > fmt::internal::PrintfParser<wchar_t>::Format @ 0x180042a8e\n; > fmt::BasicFormatter<wchar_t>::format @ 0x1800442bd\n; > <???> @ 0x1801400e4\n; > <???> @ 0x1801400f4\n; > <???> @ 0x1801bb320\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:38 +0000\n; \npush    rbx                                                            ; +0x0, 0x18003ea80\npush    rdi                                                            ; +0x2, 0x18003ea82\npush    r12                                                            ; +0x3, 0x18003ea83\npush    r13                                                            ; +0x5, 0x18003ea85\npush    r15                                                            ; +0x7, 0x18003ea87\nsub     rsp, 80h                                                       ; +0x9, 0x18003ea89\nmovaps  [rsp+0A8h+var_48], xmm6                                        ; +0x10, 0x18003ea90\nmov     rax, cs:__security_cookie                                      ; +0x15, 0x18003ea95\nxor     rax, rsp                                                       ; +0x1c, 0x18003ea9c\nmov     [rsp+0A8h+var_50], rax                                         ; +0x1f, 0x18003ea9f\nmovsx   r13, byte ptr [r8+14h]                                         ; +0x24, 0x18003eaa4\nxor     bl, bl                                                         ; +0x29, 0x18003eaa9\nmov     r15, r8                                                        ; +0x2b, 0x18003eaab\nmovaps  xmm6, xmm1                                                     ; +0x2e, 0x18003eaae\nmov     rdi, rcx                                                       ; +0x31, 0x18003eab1\ncmp     r13d, 67h; switch 104 cases                                    ; +0x34, 0x18003eab4\nja      short def_18003EAD4; jumptable 000000018003EAD4 default case, cases 1-64,66-68,72-103 ; +0x38, 0x18003eab8\nlea     rdx, cs:180000000h                                             ; +0x3a, 0x18003eaba\nmovzx   eax, ds:(byte_18003EEA0 - 180000000h)[rdx+r13]                 ; +0x41, 0x18003eac1\nmov     ecx, ds:(jpt_18003EAD4 - 180000000h)[rdx+rax*4]                ; +0x4a, 0x18003eaca\nadd     rcx, rdx                                                       ; +0x51, 0x18003ead1\njmp     rcx; switch jump                                               ; +0x54, 0x18003ead4\nmov     r13b, 67h ; 'g'; jumptable 000000018003EAD4 case 0             ; +0x56, 0x18003ead6\njmp     short def_18003EAD4; jumptable 000000018003EAD4 default case, cases 1-64,66-68,72-103 ; +0x59, 0x18003ead9\nmov     r13b, 66h ; 'f'; jumptable 000000018003EAD4 case 70            ; +0x5b, 0x18003eadb\nmov     bl, 1; jumptable 000000018003EAD4 cases 65,69,71               ; +0x5e, 0x18003eade\nxor     r12b, r12b; jumptable 000000018003EAD4 default case, cases 1-64,66-68,72-103 ; +0x60, 0x18003eae0\nmov     [rsp+0A8h+var_30], rsi                                         ; +0x63, 0x18003eae3\nxorps   xmm0, xmm0                                                     ; +0x68, 0x18003eae8\nxor     eax, eax                                                       ; +0x6b, 0x18003eaeb\ncomisd  xmm0, xmm6                                                     ; +0x6d, 0x18003eaed\nja      short loc_18003EB51                                            ; +0x71, 0x18003eaf1\nucomisd xmm6, xmm6                                                     ; +0x73, 0x18003eaf3\njnp     short loc_18003EB32                                            ; +0x77, 0x18003eaf7\nmov     [rsp+0A8h+var_70], eax                                         ; +0x79, 0x18003eaf9\nlea     rcx, [rsp+0A8h+Buffer]; Buffer                                 ; +0x7d, 0x18003eafd\nmov     [rsp+0A8h+var_74], eax                                         ; +0x82, 0x18003eb02\nxor     r9d, r9d; DigitCount                                           ; +0x86, 0x18003eb06\nlea     rax, [rsp+0A8h+var_74]                                         ; +0x89, 0x18003eb09\nmovaps  xmm2, xmm6; Value                                              ; +0x8e, 0x18003eb0e\nmov     [rsp+0A8h+PtSign], rax; PtSign                                 ; +0x91, 0x18003eb11\nmov     edx, 2; BufferCount                                            ; +0x96, 0x18003eb16\nlea     rax, [rsp+0A8h+var_70]                                         ; +0x9b, 0x18003eb1b\nmov     [rsp+0A8h+PtDec], rax; PtDec                                   ; +0xa0, 0x18003eb20\ncall    cs:_ecvt_s                                                     ; +0xa5, 0x18003eb25\ncmp     [rsp+0A8h+var_74], 0                                           ; +0xab, 0x18003eb2b\njnz     short loc_18003EB51                                            ; +0xb0, 0x18003eb30\nmov     eax, [r15+0Ch]                                                 ; +0xb2, 0x18003eb32\nlea     rsi, [r15+0Ch]                                                 ; +0xb6, 0x18003eb36\ntest    al, 1                                                          ; +0xba, 0x18003eb3a\njz      short loc_18003EB5F                                            ; +0xbc, 0x18003eb3c\ntest    al, 2                                                          ; +0xbe, 0x18003eb3e\nmov     r12d, 20h ; ' '                                                ; +0xc0, 0x18003eb40\nmov     eax, 2Bh ; '+'                                                 ; +0xc6, 0x18003eb46\ncmovnz  r12d, eax                                                      ; +0xcb, 0x18003eb4b\njmp     short loc_18003EB5F                                            ; +0xcf, 0x18003eb4f\nxorps   xmm6, cs:xmmword_1800F0D50                                     ; +0xd1, 0x18003eb51\nlea     rsi, [r15+0Ch]                                                 ; +0xd8, 0x18003eb58\nmov     r12b, 2Dh ; '-'                                                ; +0xdc, 0x18003eb5c\nucomisd xmm6, xmm6                                                     ; +0xdf, 0x18003eb5f\nmov     [rsp+0A8h+Buffer], r12b                                        ; +0xe3, 0x18003eb63\njnp     short loc_18003EBC4                                            ; +0xe8, 0x18003eb68\ntest    bl, bl                                                         ; +0xea, 0x18003eb6a\nlea     rax, aNan; \" NAN\"                                              ; +0xec, 0x18003eb6c\nlea     rdx, aNan_0; \" nan\"                                            ; +0xf3, 0x18003eb73\nmov     r9, r15                                                        ; +0xfa, 0x18003eb7a\ncmovnz  rdx, rax                                                       ; +0xfd, 0x18003eb7d\nmov     rcx, rdi                                                       ; +0x101, 0x18003eb81\ntest    r12b, r12b                                                     ; +0x104, 0x18003eb84\njnz     short loc_18003EBAD                                            ; +0x107, 0x18003eb87\nlea     rax, aNan+1; \"NAN\"                                             ; +0x109, 0x18003eb89\nlea     rdx, aNan_0+1; \"nan\"                                           ; +0x110, 0x18003eb90\ntest    bl, bl                                                         ; +0x117, 0x18003eb97\nmov     r8d, 3                                                         ; +0x119, 0x18003eb99\ncmovnz  rdx, rax                                                       ; +0x11f, 0x18003eb9f\ncall    sub_180040EF0                                                  ; +0x123, 0x18003eba3\njmp     loc_18003EE62                                                  ; +0x128, 0x18003eba8\nmov     r8d, 4                                                         ; +0x12d, 0x18003ebad\ncall    sub_180040EF0                                                  ; +0x133, 0x18003ebb3\nmovzx   ecx, r12b                                                      ; +0x138, 0x18003ebb8\nmov     [rax], cx                                                      ; +0x13c, 0x18003ebbc\njmp     loc_18003EE62                                                  ; +0x13f, 0x18003ebbf\nmovaps  xmm0, xmm6; X                                                  ; +0x144, 0x18003ebc4\ncall    cs:_finite                                                     ; +0x147, 0x18003ebc7\ntest    eax, eax                                                       ; +0x14d, 0x18003ebcd\njnz     short loc_18003EC00                                            ; +0x14f, 0x18003ebcf\ntest    bl, bl                                                         ; +0x151, 0x18003ebd1\nlea     rax, aInf; \" INF\"                                              ; +0x153, 0x18003ebd3\nlea     rdx, aInf_0; \" inf\"                                            ; +0x15a, 0x18003ebda\nmov     r9, r15                                                        ; +0x161, 0x18003ebe1\ncmovnz  rdx, rax                                                       ; +0x164, 0x18003ebe4\nmov     rcx, rdi                                                       ; +0x168, 0x18003ebe8\ntest    r12b, r12b                                                     ; +0x16b, 0x18003ebeb\njnz     short loc_18003EBAD                                            ; +0x16e, 0x18003ebee\nlea     rax, aInf+1; \"INF\"                                             ; +0x170, 0x18003ebf0\nlea     rdx, aInf_0+1; \"inf\"                                           ; +0x177, 0x18003ebf7\njmp     short loc_18003EB97                                            ; +0x17e, 0x18003ebfe\nmov     [rsp+0A8h+arg_18], rbp                                         ; +0x180, 0x18003ec00\nmov     ebp, [r15]                                                     ; +0x188, 0x18003ec08\nmov     [rsp+0A8h+var_38], r14                                         ; +0x18b, 0x18003ec0b\nmov     r14, [rdi]                                                     ; +0x190, 0x18003ec10\ntest    r12b, r12b                                                     ; +0x193, 0x18003ec13\njz      short loc_18003EC3E                                            ; +0x196, 0x18003ec16\nmov     ecx, 1                                                         ; +0x198, 0x18003ec18\nmov     edx, ebp                                                       ; +0x19d, 0x18003ec1d\ncmp     ebp, ecx                                                       ; +0x19f, 0x18003ec1f\ncmovb   edx, ecx                                                       ; +0x1a1, 0x18003ec21\nadd     rdx, r14                                                       ; +0x1a4, 0x18003ec24\ncmp     rdx, [rdi+8]                                                   ; +0x1a7, 0x18003ec27\njbe     short loc_18003EC35                                            ; +0x1ab, 0x18003ec2b\nmov     rcx, rdi                                                       ; +0x1ad, 0x18003ec2d\ncall    sub_180044610                                                  ; +0x1b0, 0x18003ec30\ntest    ebp, ebp                                                       ; +0x1b5, 0x18003ec35\njz      short loc_18003EC3B                                            ; +0x1b7, 0x18003ec37\ndec     ebp                                                            ; +0x1b9, 0x18003ec39\ninc     r14                                                            ; +0x1bb, 0x18003ec3b\nmov     eax, 25h ; '%'                                                 ; +0x1be, 0x18003ec3e\nmov     [rsp+0A8h+Format], ax                                          ; +0x1c3, 0x18003ec43\nmov     eax, [rsi]                                                     ; +0x1c8, 0x18003ec48\nand     eax, 4                                                         ; +0x1ca, 0x18003ec4a\njz      short loc_18003EC59                                            ; +0x1cd, 0x18003ec4d\nmov     ecx, 23h ; '#'                                                 ; +0x1cf, 0x18003ec4f\nmov     [rsp+0A8h+var_66], cx                                          ; +0x1d4, 0x18003ec54\ntest    eax, eax                                                       ; +0x1d9, 0x18003ec59\nlea     rcx, [rsp+0A8h+var_66]                                         ; +0x1db, 0x18003ec5b\nmov     eax, [r15+8]                                                   ; +0x1e0, 0x18003ec60\nlea     rdx, [rsp+0A8h+var_64]                                         ; +0x1e4, 0x18003ec64\ncmovnz  rcx, rdx                                                       ; +0x1e9, 0x18003ec69\nmov     r8d, 2Ah ; '*'                                                 ; +0x1ed, 0x18003ec6d\ncmp     eax, 3                                                         ; +0x1f3, 0x18003ec73\njnz     short loc_18003EC7E                                            ; +0x1f6, 0x18003ec76\nxor     edx, edx                                                       ; +0x1f8, 0x18003ec78\nmov     ebp, edx                                                       ; +0x1fa, 0x18003ec7a\njmp     short loc_18003EC9A                                            ; +0x1fc, 0x18003ec7c\ncmp     eax, 1                                                         ; +0x1fe, 0x18003ec7e\njnz     short loc_18003EC8C                                            ; +0x201, 0x18003ec81\nmov     word ptr [rcx], 2Dh ; '-'                                      ; +0x203, 0x18003ec83\nadd     rcx, 2                                                         ; +0x208, 0x18003ec88\ntest    ebp, ebp                                                       ; +0x20c, 0x18003ec8c\njz      short loc_18003EC98                                            ; +0x20e, 0x18003ec8e\nmov     [rcx], r8w                                                     ; +0x210, 0x18003ec90\nadd     rcx, 2                                                         ; +0x214, 0x18003ec94\nxor     edx, edx                                                       ; +0x218, 0x18003ec98\ncmp     dword ptr [r15+10h], 0                                         ; +0x21a, 0x18003ec9a\njl      short loc_18003ECAB                                            ; +0x21f, 0x18003ec9f\nmov     dword ptr [rcx], 2A002Eh                                       ; +0x221, 0x18003eca1\nadd     rcx, 4                                                         ; +0x227, 0x18003eca7\nmovsx   eax, r13b                                                      ; +0x22b, 0x18003ecab\nmovzx   r13d, word ptr [r15+4]                                         ; +0x22f, 0x18003ecaf\nmov     word ptr [rcx], 4Ch ; 'L'                                      ; +0x234, 0x18003ecb4\nmov     [rcx+2], ax                                                    ; +0x239, 0x18003ecb9\nmov     [rcx+4], dx                                                    ; +0x23d, 0x18003ecbd\nmov     rax, [rdi+8]                                                   ; +0x241, 0x18003ecc1\nmov     rdx, rax                                                       ; +0x245, 0x18003ecc5\nsub     rdx, r14                                                       ; +0x248, 0x18003ecc8\njnz     short loc_18003ECE5                                            ; +0x24b, 0x18003eccb\nlea     rdx, [r14+1]                                                   ; +0x24d, 0x18003eccd\ncmp     rdx, rax                                                       ; +0x251, 0x18003ecd1\njbe     short loc_18003ECDE                                            ; +0x254, 0x18003ecd4\nmov     rcx, rdi                                                       ; +0x256, 0x18003ecd6\ncall    sub_180044610                                                  ; +0x259, 0x18003ecd9\nmov     rdx, [rdi+8]                                                   ; +0x25e, 0x18003ecde\nsub     rdx, r14; BufferCount                                          ; +0x262, 0x18003ece2\nmov     rax, [rdi+10h]                                                 ; +0x265, 0x18003ece5\nlea     r8, [rsp+0A8h+Format]; Format                                  ; +0x269, 0x18003ece9\nlea     rbx, [rax+r14*2]                                               ; +0x26e, 0x18003ecee\nmov     eax, [r15+10h]                                                 ; +0x272, 0x18003ecf2\nmov     rcx, rbx; Buffer                                               ; +0x276, 0x18003ecf6\ntest    ebp, ebp                                                       ; +0x279, 0x18003ecf9\njnz     short loc_18003ED20                                            ; +0x27b, 0x18003ecfb\ntest    eax, eax                                                       ; +0x27d, 0x18003ecfd\njns     short loc_18003ED10                                            ; +0x27f, 0x18003ecff\nmovaps  xmm3, xmm6                                                     ; +0x281, 0x18003ed01\nmovq    r9, xmm6                                                       ; +0x284, 0x18003ed04\ncall    sub_180044C70                                                  ; +0x289, 0x18003ed09\njmp     short loc_18003ED43                                            ; +0x28e, 0x18003ed0e\nmov     r9d, eax                                                       ; +0x290, 0x18003ed10\nmovsd   [rsp+0A8h+PtDec], xmm6                                         ; +0x293, 0x18003ed13\ncall    sub_180044C70                                                  ; +0x299, 0x18003ed19\njmp     short loc_18003ED43                                            ; +0x29e, 0x18003ed1e\nmov     r9d, ebp                                                       ; +0x2a0, 0x18003ed20\ntest    eax, eax                                                       ; +0x2a3, 0x18003ed23\njns     short loc_18003ED34                                            ; +0x2a5, 0x18003ed25\nmovsd   [rsp+0A8h+PtDec], xmm6                                         ; +0x2a7, 0x18003ed27\ncall    sub_180044C70                                                  ; +0x2ad, 0x18003ed2d\njmp     short loc_18003ED43                                            ; +0x2b2, 0x18003ed32\nmovsd   [rsp+0A8h+PtSign], xmm6                                        ; +0x2b4, 0x18003ed34\nmov     dword ptr [rsp+0A8h+PtDec], eax                                ; +0x2ba, 0x18003ed3a\ncall    sub_180044C70                                                  ; +0x2be, 0x18003ed3e\nmov     rcx, [rdi+8]                                                   ; +0x2c3, 0x18003ed43\nmov     esi, eax                                                       ; +0x2c7, 0x18003ed47\ncdqe                                                                   ; +0x2c9, 0x18003ed49\nadd     rax, r14                                                       ; +0x2cb, 0x18003ed4b\ntest    esi, esi                                                       ; +0x2ce, 0x18003ed4e\njs      short loc_18003ED59                                            ; +0x2d0, 0x18003ed50\ncmp     rax, rcx                                                       ; +0x2d2, 0x18003ed52\njb      short loc_18003ED77                                            ; +0x2d5, 0x18003ed55\ntest    esi, esi                                                       ; +0x2d7, 0x18003ed57\ncmovs   rax, rcx                                                       ; +0x2d9, 0x18003ed59\nlea     rdx, [rax+1]                                                   ; +0x2dd, 0x18003ed5d\ncmp     rdx, rcx                                                       ; +0x2e1, 0x18003ed61\njbe     loc_18003ECC1                                                  ; +0x2e4, 0x18003ed64\nmov     rcx, rdi                                                       ; +0x2ea, 0x18003ed6a\ncall    sub_180044610                                                  ; +0x2ed, 0x18003ed6d\njmp     loc_18003ECC1                                                  ; +0x2f2, 0x18003ed72\ntest    r12b, r12b                                                     ; +0x2f7, 0x18003ed77\njz      short loc_18003EDAD                                            ; +0x2fa, 0x18003ed7a\nmov     eax, [r15+8]                                                   ; +0x2fc, 0x18003ed7c\ncmp     eax, 2                                                         ; +0x300, 0x18003ed80\njz      short loc_18003ED89                                            ; +0x303, 0x18003ed83\ntest    eax, eax                                                       ; +0x305, 0x18003ed85\njnz     short loc_18003ED8F                                            ; +0x307, 0x18003ed87\ncmp     word ptr [rbx], 20h ; ' '                                      ; +0x309, 0x18003ed89\njz      short loc_18003ED99                                            ; +0x30d, 0x18003ed8d\nmovzx   ecx, [rsp+0A8h+Buffer]                                         ; +0x30f, 0x18003ed8f\nxor     r12b, r12b                                                     ; +0x314, 0x18003ed94\njmp     short loc_18003ED9D                                            ; +0x317, 0x18003ed97\nmovzx   ecx, r13w                                                      ; +0x319, 0x18003ed99\nmov     rax, 0FFFFFFFFFFFFFFFEh                                        ; +0x31d, 0x18003ed9d\nmov     rdx, rbx                                                       ; +0x324, 0x18003eda4\ninc     esi                                                            ; +0x327, 0x18003eda7\nmov     [rbx+rax], cx                                                  ; +0x329, 0x18003eda9\ncmp     dword ptr [r15+8], 3                                           ; +0x32d, 0x18003edad\njnz     short loc_18003EE0C                                            ; +0x332, 0x18003edb2\nmov     ebp, [r15]                                                     ; +0x334, 0x18003edb4\ncmp     ebp, esi                                                       ; +0x337, 0x18003edb7\njbe     short loc_18003EE0C                                            ; +0x339, 0x18003edb9\nmov     r14, [rdi]                                                     ; +0x33b, 0x18003edbb\nlea     rbx, [r14+rbp]                                                 ; +0x33e, 0x18003edbe\ncmp     rbx, [rdi+8]                                                   ; +0x342, 0x18003edc2\njbe     short loc_18003EDD3                                            ; +0x346, 0x18003edc6\nmov     rdx, rbx                                                       ; +0x348, 0x18003edc8\nmov     rcx, rdi                                                       ; +0x34b, 0x18003edcb\ncall    sub_180044610                                                  ; +0x34e, 0x18003edce\nmov     [rdi], rbx                                                     ; +0x353, 0x18003edd3\nsub     ebp, esi                                                       ; +0x356, 0x18003edd6\nmov     rax, [rdi+10h]                                                 ; +0x358, 0x18003edd8\nmovsxd  rbx, esi                                                       ; +0x35c, 0x18003eddc\nlea     rdi, [rax+r14*2]                                               ; +0x35f, 0x18003eddf\nmov     eax, ebp                                                       ; +0x363, 0x18003ede3\nshr     rax, 1                                                         ; +0x365, 0x18003ede5\nlea     r8, [rbx+rbx]; Size                                            ; +0x368, 0x18003ede8\nmov     rdx, rdi; Src                                                  ; +0x36c, 0x18003edec\nlea     rcx, [rdi+rax*2]; void *                                       ; +0x36f, 0x18003edef\ncall    memmove                                                        ; +0x373, 0x18003edf3\nmov     edx, [r15]                                                     ; +0x378, 0x18003edf8\nmovzx   r9d, r13w                                                      ; +0x37b, 0x18003edfb\nmov     r8, rbx                                                        ; +0x37f, 0x18003edff\nmov     rcx, rdi                                                       ; +0x382, 0x18003ee02\ncall    ?FillPadding@?$BasicWriter@_W@fmt@@CAPEA_WPEA_WI_K_W@Z; fmt::BasicWriter<wchar_t>::FillPadding(wchar_t *,uint,unsigned __int64,wchar_t) ; +0x385, 0x18003ee05\njmp     short loc_18003EE55                                            ; +0x38a, 0x18003ee0a\ncmp     word ptr [r15+4], 20h ; ' '                                    ; +0x38c, 0x18003ee0c\njnz     short loc_18003EE19                                            ; +0x392, 0x18003ee12\ntest    r12b, r12b                                                     ; +0x394, 0x18003ee14\njz      short loc_18003EE3B                                            ; +0x397, 0x18003ee17\ncmp     word ptr [rbx], 20h ; ' '                                      ; +0x399, 0x18003ee19\njnz     short loc_18003EE2E                                            ; +0x39d, 0x18003ee1d\nnop                                                                    ; +0x39f, 0x18003ee1f\nmov     [rbx], r13w                                                    ; +0x3a0, 0x18003ee20\nadd     rbx, 2                                                         ; +0x3a4, 0x18003ee24\ncmp     word ptr [rbx], 20h ; ' '                                      ; +0x3a8, 0x18003ee28\njz      short loc_18003EE20                                            ; +0x3ac, 0x18003ee2c\ntest    r12b, r12b                                                     ; +0x3ae, 0x18003ee2e\njz      short loc_18003EE3B                                            ; +0x3b1, 0x18003ee31\nmovzx   eax, r12b                                                      ; +0x3b3, 0x18003ee33\nmov     [rbx-2], ax                                                    ; +0x3b7, 0x18003ee37\nmovsxd  rbx, esi                                                       ; +0x3bb, 0x18003ee3b\nadd     rbx, [rdi]                                                     ; +0x3be, 0x18003ee3e\ncmp     rbx, [rdi+8]                                                   ; +0x3c1, 0x18003ee41\njbe     short loc_18003EE52                                            ; +0x3c5, 0x18003ee45\nmov     rdx, rbx                                                       ; +0x3c7, 0x18003ee47\nmov     rcx, rdi                                                       ; +0x3ca, 0x18003ee4a\ncall    sub_180044610                                                  ; +0x3cd, 0x18003ee4d\nmov     [rdi], rbx                                                     ; +0x3d2, 0x18003ee52\nmov     rbp, [rsp+0A8h+arg_18]                                         ; +0x3d5, 0x18003ee55\nmov     r14, [rsp+0A8h+var_38]                                         ; +0x3dd, 0x18003ee5d\nmov     rsi, [rsp+0A8h+var_30]                                         ; +0x3e2, 0x18003ee62\nmov     rcx, [rsp+0A8h+var_50]                                         ; +0x3e7, 0x18003ee67\nxor     rcx, rsp; StackCookie                                          ; +0x3ec, 0x18003ee6c\ncall    __security_check_cookie                                        ; +0x3ef, 0x18003ee6f\nmovaps  xmm6, [rsp+0A8h+var_48]                                        ; +0x3f4, 0x18003ee74\nadd     rsp, 80h                                                       ; +0x3f9, 0x18003ee79\npop     r15                                                            ; +0x400, 0x18003ee80\npop     r13                                                            ; +0x402, 0x18003ee82\npop     r12                                                            ; +0x404, 0x18003ee84\npop     rdi                                                            ; +0x406, 0x18003ee86\npop     rbx                                                            ; +0x407, 0x18003ee87\nretn                                                                   ; +0x408, 0x18003ee88\nalign 4                                                                ; +0x409, 0x18003ee89\ndd offset loc_18003EAD6 - 180000000h; jump table for switch statement  ; +0x40c, 0x18003ee8c\ndb      0,     4,     4,     4; indirect table for switch statement    ; +0x420, 0x18003eea0", "xrefs": ["fmt::internal::PrintfParser<wchar_t>::Format @ 0x180042a8e", "fmt::BasicFormatter<wchar_t>::format @ 0x1800442bd", "<???> @ 0x1801400e4", "<???> @ 0x1801400f4", "<???> @ 0x1801bb320"], "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"}