{"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 (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 10:55:01 +0000\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 (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 10:55:01 +0000\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_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"}