{"type": "func", "start": 6442725040, "end": 6442725123, "name": "fmt::internal::PrintfParser<wchar_t>::ParseFlags", "pseudocode": "// \n// fmt::internal::PrintfParser<wchar_t>::ParseFlags from 0x180042eb0 to 0x180042f03 (83 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\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::PrintfParser<wchar_t>::ParseFlags(__int64 a1, __int64 a2, __int64 *a3)\n{\n  _WORD *v3; // r9\n  __int16 v4; // cx\n  __int64 result; // rax\n\n  while ( 1 )\n  {\n    while ( 1 )\n    {\n      while ( 1 )\n      {\n        while ( 1 )\n        {\n          while ( 1 )\n          {\n            v3 = (_WORD *)*a3;\n            v4 = *(_WORD *)*a3;\n            result = *a3 + 2;\n            *a3 = result;\n            if ( v4 != 32 )\n              break;\n            *(_DWORD *)(a2 + 12) |= 1u;\n          }\n          if ( v4 != 35 )\n            break;\n          *(_DWORD *)(a2 + 12) |= 4u;\n        }\n        if ( v4 != 43 )\n          break;\n        *(_DWORD *)(a2 + 12) |= 3u;\n      }\n      if ( v4 != 45 )\n        break;\n      *(_DWORD *)(a2 + 8) = 1;\n    }\n    if ( v4 != 48 )\n      break;\n    *(_WORD *)(a2 + 4) = 48;\n  }\n  *a3 = (__int64)v3;\n  return result;\n}", "assembly": "; \n; fmt::internal::PrintfParser<wchar_t>::ParseFlags from 0x180042eb0 to 0x180042f03 (83 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\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\nxchg    ax, ax                                                         ; +0x0, 0x180042eb0\nmov     r9, [r8]                                                       ; +0x2, 0x180042eb2\nmovzx   ecx, word ptr [r9]                                             ; +0x5, 0x180042eb5\nlea     rax, [r9+2]                                                    ; +0x9, 0x180042eb9\nmov     [r8], rax                                                      ; +0xd, 0x180042ebd\ncmp     cx, 20h ; ' '                                                  ; +0x10, 0x180042ec0\njz      short loc_180042EF9                                            ; +0x14, 0x180042ec4\ncmp     cx, 23h ; '#'                                                  ; +0x16, 0x180042ec6\njz      short loc_180042EF3                                            ; +0x1a, 0x180042eca\ncmp     cx, 2Bh ; '+'                                                  ; +0x1c, 0x180042ecc\njz      short loc_180042EED                                            ; +0x20, 0x180042ed0\ncmp     cx, 2Dh ; '-'                                                  ; +0x22, 0x180042ed2\njz      short loc_180042EE4                                            ; +0x26, 0x180042ed6\ncmp     cx, 30h ; '0'                                                  ; +0x28, 0x180042ed8\njnz     short loc_180042EFF                                            ; +0x2c, 0x180042edc\nmov     [rdx+4], cx                                                    ; +0x2e, 0x180042ede\njmp     short loc_180042EB2                                            ; +0x32, 0x180042ee2\nmov     dword ptr [rdx+8], 1                                           ; +0x34, 0x180042ee4\njmp     short loc_180042EB2                                            ; +0x3b, 0x180042eeb\nor      dword ptr [rdx+0Ch], 3                                         ; +0x3d, 0x180042eed\njmp     short loc_180042EB2                                            ; +0x41, 0x180042ef1\nor      dword ptr [rdx+0Ch], 4                                         ; +0x43, 0x180042ef3\njmp     short loc_180042EB2                                            ; +0x47, 0x180042ef7\nor      dword ptr [rdx+0Ch], 1                                         ; +0x49, 0x180042ef9\njmp     short loc_180042EB2                                            ; +0x4d, 0x180042efd\nmov     [r8], r9                                                       ; +0x4f, 0x180042eff\nretn                                                                   ; +0x52, 0x180042f02", "xrefs": ["<???> @ 0x1801438a8"], "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"}