{"type": "func", "start": 6443730160, "end": 6443730230, "name": "__acrt_should_use_temporary_buffer", "pseudocode": "// \n// __acrt_should_use_temporary_buffer from 0x1801384f0 to 0x180138536 (70 bytes)\n// \n// 4 xrefs:\n// > __acrt_stdio_begin_temporary_buffering_nolock @ 0x180138545\n// > unknown_libname_72 @ 0x18013f778\n// > unknown_libname_73 @ 0x18013f832\n// > <???> @ 0x18020365c\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\nbool __fastcall _acrt_should_use_temporary_buffer(FILE *Stream)\n{\n  int v2; // eax\n  bool result; // al\n\n  result = true;\n  if ( Stream != _acrt_iob_func(2u) )\n  {\n    if ( Stream != _acrt_iob_func(1u) )\n      return false;\n    v2 = fileno(Stream);\n    if ( !isatty(v2) )\n      return false;\n  }\n  return result;\n}", "assembly": "; \n; __acrt_should_use_temporary_buffer from 0x1801384f0 to 0x180138536 (70 bytes)\n; \n; 4 xrefs:\n; > __acrt_stdio_begin_temporary_buffering_nolock @ 0x180138545\n; > unknown_libname_72 @ 0x18013f778\n; > unknown_libname_73 @ 0x18013f832\n; > <???> @ 0x18020365c\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    rbx                                                            ; +0x0, 0x1801384f0\nsub     rsp, 20h                                                       ; +0x2, 0x1801384f2\nmov     rbx, rcx                                                       ; +0x6, 0x1801384f6\nmov     ecx, 2; Ix                                                     ; +0x9, 0x1801384f9\ncall    __acrt_iob_func                                                ; +0xe, 0x1801384fe\ncmp     rbx, rax                                                       ; +0x13, 0x180138503\njz      short loc_18013852E                                            ; +0x16, 0x180138506\nmov     ecx, 1; Ix                                                     ; +0x18, 0x180138508\ncall    __acrt_iob_func                                                ; +0x1d, 0x18013850d\ncmp     rbx, rax                                                       ; +0x22, 0x180138512\njnz     short loc_18013852A                                            ; +0x25, 0x180138515\nmov     rcx, rbx; Stream                                               ; +0x27, 0x180138517\ncall    _fileno                                                        ; +0x2a, 0x18013851a\nmov     ecx, eax; FileHandle                                           ; +0x2f, 0x18013851f\ncall    _isatty                                                        ; +0x31, 0x180138521\ntest    eax, eax                                                       ; +0x36, 0x180138526\njnz     short loc_18013852E                                            ; +0x38, 0x180138528\nxor     al, al                                                         ; +0x3a, 0x18013852a\njmp     short loc_180138530                                            ; +0x3c, 0x18013852c\nmov     al, 1                                                          ; +0x3e, 0x18013852e\nadd     rsp, 20h                                                       ; +0x40, 0x180138530\npop     rbx                                                            ; +0x44, 0x180138534\nretn                                                                   ; +0x45, 0x180138535", "xrefs": ["__acrt_stdio_begin_temporary_buffering_nolock @ 0x180138545", "unknown_libname_72 @ 0x18013f778", "unknown_libname_73 @ 0x18013f832", "<???> @ 0x18020365c"], "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"}