{"type": "func", "start": 6442716096, "end": 6442716517, "name": "fmt::BasicFormatter<char>::CheckSign", "pseudocode": "// \n// fmt::BasicFormatter<char>::CheckSign from 0x180040bc0 to 0x180040d65 (421 bytes)\n// \n// 6 xrefs:\n// > fmt::BasicFormatter<char>::format @ 0x1800434c5\n// > fmt::BasicFormatter<char>::format @ 0x1800434da\n// > fmt::BasicFormatter<char>::format @ 0x1800434f5\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b13c8\n// > <???> @ 0x1801b13d4\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\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+70h] [rbp+27h] BYREF\n  unsigned __int64 v8; // [rsp+88h] [rbp+3Fh]\n\n  if ( *a3 > 5 )\n  {\n    sub_180044050(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          invalid_parameter_noinfo_noreturn();\n      }\n      j_j_free_0(v5);\n    }\n  }\n  if ( ((*a3 - 1) & 0xFFFFFFFD) == 0 )\n  {\n    sub_180044050(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          invalid_parameter_noinfo_noreturn();\n      }\n      j_j_free_0(v6);\n    }\n  }\n  ++*a2;\n}", "assembly": "; \n; fmt::BasicFormatter<char>::CheckSign from 0x180040bc0 to 0x180040d65 (421 bytes)\n; \n; 6 xrefs:\n; > fmt::BasicFormatter<char>::format @ 0x1800434c5\n; > fmt::BasicFormatter<char>::format @ 0x1800434da\n; > fmt::BasicFormatter<char>::format @ 0x1800434f5\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b13c8\n; > <???> @ 0x1801b13d4\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-8+arg_0], rbx                                             ; +0x0, 0x180040bc0\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x180040bc5\nmov     [rsp-8+arg_18], rdi                                            ; +0xa, 0x180040bca\npush    rbp                                                            ; +0xf, 0x180040bcf\nlea     rbp, [rsp-57h]                                                 ; +0x10, 0x180040bd0\nsub     rsp, 0A0h                                                      ; +0x15, 0x180040bd5\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x180040bdc\nxor     rax, rsp                                                       ; +0x23, 0x180040be3\nmov     [rbp+57h+var_10], rax                                          ; +0x26, 0x180040be6\ncmp     dword ptr [r8], 5                                              ; +0x2a, 0x180040bea\nmov     rdi, r8                                                        ; +0x2e, 0x180040bee\nmov     rax, [rdx]                                                     ; +0x31, 0x180040bf1\nmov     rbx, rdx                                                       ; +0x34, 0x180040bf4\nmovsx   esi, byte ptr [rax]                                            ; +0x37, 0x180040bf7\njle     loc_180040C97                                                  ; +0x3a, 0x180040bfa\nmovsd   xmm1, [rbp+57h+var_60]                                         ; +0x40, 0x180040c00\nlea     rax, aFormatSpecifie; \"format specifier '{}' requires numeric \"... ; +0x45, 0x180040c05\nmov     qword ptr [rbp+57h+var_80], rax                                ; +0x4c, 0x180040c0c\nlea     r8, [rbp+57h+var_80]                                           ; +0x50, 0x180040c10\nmov     dword ptr [rbp+57h+var_70], 6                                  ; +0x54, 0x180040c14\nlea     rax, [rbp+57h+var_48]                                          ; +0x5b, 0x180040c1b\nmov     dword ptr [rbp+57h+var_70+8], esi                              ; +0x5f, 0x180040c1f\nlea     rdx, [rbp+57h+var_70]                                          ; +0x62, 0x180040c22\nmovups  xmm0, [rbp+57h+var_70]                                         ; +0x66, 0x180040c26\nmov     qword ptr [rbp+57h+var_80+8], 0                                ; +0x6a, 0x180040c2a\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x72, 0x180040c32\nmovsd   [rbp+57h+var_38], xmm1                                         ; +0x76, 0x180040c36\nmovups  [rbp+57h+var_48], xmm0                                         ; +0x7b, 0x180040c3b\nmovaps  xmm0, [rbp+57h+var_80]                                         ; +0x7f, 0x180040c3f\nmovdqa  [rbp+57h+var_70], xmm0                                         ; +0x83, 0x180040c43\nmov     qword ptr [rbp+57h+var_80], rax                                ; +0x88, 0x180040c48\nmov     qword ptr [rbp+57h+var_80+8], 1                                ; +0x8c, 0x180040c4c\ncall    sub_180044050                                                  ; +0x94, 0x180040c54\nmov     rdx, [rbp+57h+var_18]                                          ; +0x99, 0x180040c59\ncmp     rdx, 0Fh                                                       ; +0x9d, 0x180040c5d\njbe     short loc_180040C97                                            ; +0xa1, 0x180040c61\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0xa3, 0x180040c63\ninc     rdx                                                            ; +0xa7, 0x180040c67\nmov     rax, rcx                                                       ; +0xaa, 0x180040c6a\ncmp     rdx, 1000h                                                     ; +0xad, 0x180040c6d\njb      short loc_180040C92                                            ; +0xb4, 0x180040c74\nmov     rcx, [rcx-8]                                                   ; +0xb6, 0x180040c76\nadd     rdx, 27h ; '''                                                 ; +0xba, 0x180040c7a\nsub     rax, rcx                                                       ; +0xbe, 0x180040c7e\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0xc1, 0x180040c81\ncmp     rax, 1Fh                                                       ; +0xc5, 0x180040c85\njbe     short loc_180040C92                                            ; +0xc9, 0x180040c89\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0xcb, 0x180040c8b\nalign 2                                                                ; +0xd1, 0x180040c91\ncall    j_j_free_0                                                     ; +0xd2, 0x180040c92\nmov     eax, [rdi]                                                     ; +0xd7, 0x180040c97\ndec     eax                                                            ; +0xd9, 0x180040c99\ntest    eax, 0FFFFFFFDh                                                ; +0xdb, 0x180040c9b\njnz     loc_180040D3D                                                  ; +0xe0, 0x180040ca0\nmovsd   xmm1, [rbp+57h+var_60]                                         ; +0xe6, 0x180040ca6\nlea     rax, aFormatSpecifie_0; \"format specifier '{}' requires signed a\"... ; +0xeb, 0x180040cab\nmov     qword ptr [rbp+57h+var_80], rax                                ; +0xf2, 0x180040cb2\nlea     r8, [rbp+57h+var_80]                                           ; +0xf6, 0x180040cb6\nmov     dword ptr [rbp+57h+var_70], 6                                  ; +0xfa, 0x180040cba\nlea     rax, [rbp+57h+var_48]                                          ; +0x101, 0x180040cc1\nmov     dword ptr [rbp+57h+var_70+8], esi                              ; +0x105, 0x180040cc5\nlea     rdx, [rbp+57h+var_70]                                          ; +0x108, 0x180040cc8\nmovups  xmm0, [rbp+57h+var_70]                                         ; +0x10c, 0x180040ccc\nmov     qword ptr [rbp+57h+var_80+8], 0                                ; +0x110, 0x180040cd0\nlea     rcx, [rbp+57h+Block]; void *                                   ; +0x118, 0x180040cd8\nmovsd   [rbp+57h+var_38], xmm1                                         ; +0x11c, 0x180040cdc\nmovups  [rbp+57h+var_48], xmm0                                         ; +0x121, 0x180040ce1\nmovaps  xmm0, [rbp+57h+var_80]                                         ; +0x125, 0x180040ce5\nmovdqa  [rbp+57h+var_70], xmm0                                         ; +0x129, 0x180040ce9\nmov     qword ptr [rbp+57h+var_80], rax                                ; +0x12e, 0x180040cee\nmov     qword ptr [rbp+57h+var_80+8], 1                                ; +0x132, 0x180040cf2\ncall    sub_180044050                                                  ; +0x13a, 0x180040cfa\nmov     rdx, [rbp+57h+var_18]                                          ; +0x13f, 0x180040cff\ncmp     rdx, 0Fh                                                       ; +0x143, 0x180040d03\njbe     short loc_180040D3D                                            ; +0x147, 0x180040d07\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x149, 0x180040d09\ninc     rdx                                                            ; +0x14d, 0x180040d0d\nmov     rax, rcx                                                       ; +0x150, 0x180040d10\ncmp     rdx, 1000h                                                     ; +0x153, 0x180040d13\njb      short loc_180040D38                                            ; +0x15a, 0x180040d1a\nmov     rcx, [rcx-8]                                                   ; +0x15c, 0x180040d1c\nadd     rdx, 27h ; '''                                                 ; +0x160, 0x180040d20\nsub     rax, rcx                                                       ; +0x164, 0x180040d24\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x167, 0x180040d27\ncmp     rax, 1Fh                                                       ; +0x16b, 0x180040d2b\njbe     short loc_180040D38                                            ; +0x16f, 0x180040d2f\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x171, 0x180040d31\nalign 8                                                                ; +0x177, 0x180040d37\ncall    j_j_free_0                                                     ; +0x178, 0x180040d38\ninc     qword ptr [rbx]                                                ; +0x17d, 0x180040d3d\nmov     rcx, [rbp+57h+var_10]                                          ; +0x180, 0x180040d40\nxor     rcx, rsp; StackCookie                                          ; +0x184, 0x180040d44\ncall    __security_check_cookie                                        ; +0x187, 0x180040d47\nlea     r11, [rsp+0A0h+var_s0]                                         ; +0x18c, 0x180040d4c\nmov     rbx, [r11+10h]                                                 ; +0x194, 0x180040d54\nmov     rsi, [r11+20h]                                                 ; +0x198, 0x180040d58\nmov     rdi, [r11+28h]                                                 ; +0x19c, 0x180040d5c\nmov     rsp, r11                                                       ; +0x1a0, 0x180040d60\npop     rbp                                                            ; +0x1a3, 0x180040d63\nretn                                                                   ; +0x1a4, 0x180040d64", "xrefs": ["fmt::BasicFormatter<char>::format @ 0x1800434c5", "fmt::BasicFormatter<char>::format @ 0x1800434da", "fmt::BasicFormatter<char>::format @ 0x1800434f5", "<???> @ 0x1801438a8", "<???> @ 0x1801b13c8", "<???> @ 0x1801b13d4"], "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"}