{"type": "func", "start": 6442718192, "end": 6442718618, "name": "fmt::BasicFormatter<char>::CheckSign", "pseudocode": "// \n// fmt::BasicFormatter<char>::CheckSign from 0x1800413f0 to 0x18004159a (426 bytes)\n// \n// 5 xrefs:\n// > fmt::BasicFormatter<char>::format @ 0x180043ac5\n// > fmt::BasicFormatter<char>::format @ 0x180043ada\n// > fmt::BasicFormatter<char>::format @ 0x180043af5\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb4e8\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:39 +0000\n// \n\nvoid __fastcall fmt::BasicFormatter<char>::CheckSign(__int64 a1, _QWORD *a2, int *a3)\n{\n  void *v5; // rcx\n  void *v6; // rcx\n  void *Block[3]; // [rsp+80h] [rbp+17h] BYREF\n  unsigned __int64 v8; // [rsp+98h] [rbp+2Fh]\n\n  if ( *a3 > 5 )\n  {\n    sub_1800444C0(Block);\n    if ( v8 > 0xF )\n    {\n      v5 = Block[0];\n      if ( v8 + 1 >= 0x1000 )\n      {\n        v5 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free_0(v5);\n    }\n  }\n  if ( *a3 == 1 || *a3 == 3 )\n  {\n    sub_1800444C0(Block);\n    if ( v8 > 0xF )\n    {\n      v6 = Block[0];\n      if ( v8 + 1 >= 0x1000 )\n      {\n        v6 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free_0(v6);\n    }\n  }\n  ++*a2;\n}", "assembly": "; \n; fmt::BasicFormatter<char>::CheckSign from 0x1800413f0 to 0x18004159a (426 bytes)\n; \n; 5 xrefs:\n; > fmt::BasicFormatter<char>::format @ 0x180043ac5\n; > fmt::BasicFormatter<char>::format @ 0x180043ada\n; > fmt::BasicFormatter<char>::format @ 0x180043af5\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb4e8\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:39 +0000\n; \nmov     [rsp-8+arg_0], rbx                                             ; +0x0, 0x1800413f0\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x1800413f5\npush    rbp                                                            ; +0xa, 0x1800413fa\npush    rdi                                                            ; +0xb, 0x1800413fb\npush    r14                                                            ; +0xc, 0x1800413fc\nlea     rbp, [rsp-47h]                                                 ; +0xe, 0x1800413fe\nsub     rsp, 0B0h                                                      ; +0x13, 0x180041403\nmov     rax, cs:__security_cookie                                      ; +0x1a, 0x18004140a\nxor     rax, rsp                                                       ; +0x21, 0x180041411\nmov     [rbp+57h+var_20], rax                                          ; +0x24, 0x180041414\nmov     rax, [rdx]                                                     ; +0x28, 0x180041418\nxor     r14d, r14d                                                     ; +0x2b, 0x18004141b\ncmp     dword ptr [r8], 5                                              ; +0x2e, 0x18004141e\nmov     rdi, r8                                                        ; +0x32, 0x180041422\nmov     rbx, rdx                                                       ; +0x35, 0x180041425\nmovsx   esi, byte ptr [rax]                                            ; +0x38, 0x180041428\njle     loc_1800414CA                                                  ; +0x3b, 0x18004142b\nmovsd   xmm1, [rbp+57h+var_80]                                         ; +0x41, 0x180041431\nlea     rax, aFormatSpecifie; \"format specifier '{}' requires numeric \"... ; +0x46, 0x180041436\nmov     dword ptr [rbp+57h+var_90], 6                                  ; +0x4d, 0x18004143d\nlea     r8, [rbp+57h+var_70]                                           ; +0x54, 0x180041444\nmov     dword ptr [rbp+57h+var_90+8], esi                              ; +0x58, 0x180041448\nlea     rdx, [rbp+57h+var_90]                                          ; +0x5b, 0x18004144b\nmovups  xmm0, [rbp+57h+var_90]                                         ; +0x5f, 0x18004144f\nmov     qword ptr [rbp+57h+var_90], rax                                ; +0x63, 0x180041453\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x67, 0x180041457\nlea     rax, [rbp+57h+var_58]                                          ; +0x6b, 0x18004145b\nmovsd   [rbp+57h+var_48], xmm1                                         ; +0x6f, 0x18004145f\nmovups  [rbp+57h+var_58], xmm0                                         ; +0x74, 0x180041464\nmov     [rbp+57h+var_70], rax                                          ; +0x78, 0x180041468\nmov     qword ptr [rbp+57h+var_90+8], r14                              ; +0x7c, 0x18004146c\nmov     [rbp+57h+var_68], 1                                            ; +0x80, 0x180041470\ncall    sub_1800444C0                                                  ; +0x88, 0x180041478\nmov     rdx, [rbp+57h+var_28]                                          ; +0x8d, 0x18004147d\ncmp     rdx, 0Fh                                                       ; +0x91, 0x180041481\njbe     short loc_1800414CA                                            ; +0x95, 0x180041485\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x97, 0x180041487\ninc     rdx                                                            ; +0x9b, 0x18004148b\nmov     rax, rcx                                                       ; +0x9e, 0x18004148e\ncmp     rdx, 1000h                                                     ; +0xa1, 0x180041491\njb      short loc_1800414C5                                            ; +0xa8, 0x180041498\nmov     rcx, [rcx-8]                                                   ; +0xaa, 0x18004149a\nadd     rdx, 27h ; '''                                                 ; +0xae, 0x18004149e\nsub     rax, rcx                                                       ; +0xb2, 0x1800414a2\nsub     rax, 8                                                         ; +0xb5, 0x1800414a5\ncmp     rax, 1Fh                                                       ; +0xb9, 0x1800414a9\njbe     short loc_1800414C5                                            ; +0xbd, 0x1800414ad\nxor     r9d, r9d; LineNo                                               ; +0xbf, 0x1800414af\nmov     [rsp+0C0h+Reserved], r14; Reserved                             ; +0xc2, 0x1800414b2\nxor     r8d, r8d; FileName                                             ; +0xc7, 0x1800414b7\nxor     edx, edx; FunctionName                                         ; +0xca, 0x1800414ba\nxor     ecx, ecx; Expression                                           ; +0xcc, 0x1800414bc\ncall    cs:_invoke_watson                                              ; +0xce, 0x1800414be\ndb 0CCh                                                                ; +0xd4, 0x1800414c4\ncall    j_j_free_0                                                     ; +0xd5, 0x1800414c5\nmov     eax, [rdi]                                                     ; +0xda, 0x1800414ca\ncmp     eax, 1                                                         ; +0xdc, 0x1800414cc\njz      short loc_1800414DA                                            ; +0xdf, 0x1800414cf\ncmp     eax, 3                                                         ; +0xe1, 0x1800414d1\njnz     loc_180041573                                                  ; +0xe4, 0x1800414d4\nmovsd   xmm1, [rbp+57h+var_80]                                         ; +0xea, 0x1800414da\nlea     rax, aFormatSpecifie_0; \"format specifier '{}' requires signed a\"... ; +0xef, 0x1800414df\nmov     dword ptr [rbp+57h+var_90], 6                                  ; +0xf6, 0x1800414e6\nlea     r8, [rbp+57h+var_90]                                           ; +0xfd, 0x1800414ed\nmov     dword ptr [rbp+57h+var_90+8], esi                              ; +0x101, 0x1800414f1\nlea     rdx, [rbp+57h+var_70]                                          ; +0x104, 0x1800414f4\nmovups  xmm0, [rbp+57h+var_90]                                         ; +0x108, 0x1800414f8\nmov     [rbp+57h+var_70], rax                                          ; +0x10c, 0x1800414fc\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x110, 0x180041500\nlea     rax, [rbp+57h+var_58]                                          ; +0x114, 0x180041504\nmovsd   [rbp+57h+var_48], xmm1                                         ; +0x118, 0x180041508\nmovups  [rbp+57h+var_58], xmm0                                         ; +0x11d, 0x18004150d\nmov     qword ptr [rbp+57h+var_90], rax                                ; +0x121, 0x180041511\nmov     [rbp+57h+var_68], r14                                          ; +0x125, 0x180041515\nmov     qword ptr [rbp+57h+var_90+8], 1                                ; +0x129, 0x180041519\ncall    sub_1800444C0                                                  ; +0x131, 0x180041521\nmov     rdx, [rbp+57h+var_28]                                          ; +0x136, 0x180041526\ncmp     rdx, 0Fh                                                       ; +0x13a, 0x18004152a\njbe     short loc_180041573                                            ; +0x13e, 0x18004152e\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x140, 0x180041530\ninc     rdx                                                            ; +0x144, 0x180041534\nmov     rax, rcx                                                       ; +0x147, 0x180041537\ncmp     rdx, 1000h                                                     ; +0x14a, 0x18004153a\njb      short loc_18004156E                                            ; +0x151, 0x180041541\nmov     rcx, [rcx-8]                                                   ; +0x153, 0x180041543\nadd     rdx, 27h ; '''                                                 ; +0x157, 0x180041547\nsub     rax, rcx                                                       ; +0x15b, 0x18004154b\nsub     rax, 8                                                         ; +0x15e, 0x18004154e\ncmp     rax, 1Fh                                                       ; +0x162, 0x180041552\njbe     short loc_18004156E                                            ; +0x166, 0x180041556\nxor     r9d, r9d; LineNo                                               ; +0x168, 0x180041558\nmov     [rsp+0C0h+Reserved], r14; Reserved                             ; +0x16b, 0x18004155b\nxor     r8d, r8d; FileName                                             ; +0x170, 0x180041560\nxor     edx, edx; FunctionName                                         ; +0x173, 0x180041563\nxor     ecx, ecx; Expression                                           ; +0x175, 0x180041565\ncall    cs:_invoke_watson                                              ; +0x177, 0x180041567\nalign 2                                                                ; +0x17d, 0x18004156d\ncall    j_j_free_0                                                     ; +0x17e, 0x18004156e\ninc     qword ptr [rbx]                                                ; +0x183, 0x180041573\nmov     rcx, [rbp+57h+var_20]                                          ; +0x186, 0x180041576\nxor     rcx, rsp; StackCookie                                          ; +0x18a, 0x18004157a\ncall    __security_check_cookie                                        ; +0x18d, 0x18004157d\nlea     r11, [rsp+0C0h+var_10]                                         ; +0x192, 0x180041582\nmov     rbx, [r11+20h]                                                 ; +0x19a, 0x18004158a\nmov     rsi, [r11+30h]                                                 ; +0x19e, 0x18004158e\nmov     rsp, r11                                                       ; +0x1a2, 0x180041592\npop     r14                                                            ; +0x1a5, 0x180041595\npop     rdi                                                            ; +0x1a7, 0x180041597\npop     rbp                                                            ; +0x1a8, 0x180041598\nretn                                                                   ; +0x1a9, 0x180041599", "xrefs": ["fmt::BasicFormatter<char>::format @ 0x180043ac5", "fmt::BasicFormatter<char>::format @ 0x180043ada", "fmt::BasicFormatter<char>::format @ 0x180043af5", "<???> @ 0x18014cf68", "<???> @ 0x1801bb4e8"], "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"}