; ; _isatty from 0x18013f864 to 0x18013f8c3 (95 bytes) ; ; 4 xrefs: ; > __acrt_should_use_temporary_buffer @ 0x180138521 ; > _write_nolock @ 0x1801403ea ; > @ 0x180203ba8 ; > @ 0x180203bb4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; sub rsp, 28h ; +0x0, 0x18013f864 cmp ecx, 0FFFFFFFEh ; +0x4, 0x18013f868 jnz short loc_18013F87A ; +0x7, 0x18013f86b call _errno ; +0x9, 0x18013f86d mov dword ptr [rax], 9 ; +0xe, 0x18013f872 jmp short loc_18013F8BC ; +0x14, 0x18013f878 test ecx, ecx ; +0x16, 0x18013f87a js short loc_18013F8AC ; +0x18, 0x18013f87c cmp ecx, cs:dword_1801F5560 ; +0x1a, 0x18013f87e jnb short loc_18013F8AC ; +0x20, 0x18013f884 movsxd rcx, ecx ; +0x22, 0x18013f886 lea rdx, qword_1801F5160 ; +0x25, 0x18013f889 mov rax, rcx ; +0x2c, 0x18013f890 and ecx, 3Fh ; +0x2f, 0x18013f893 sar rax, 6 ; +0x32, 0x18013f896 lea rcx, [rcx+rcx*8] ; +0x36, 0x18013f89a mov rax, [rdx+rax*8] ; +0x3a, 0x18013f89e movzx eax, byte ptr [rax+rcx*8+38h] ; +0x3e, 0x18013f8a2 and eax, 40h ; +0x43, 0x18013f8a7 jmp short loc_18013F8BE ; +0x46, 0x18013f8aa call _errno ; +0x48, 0x18013f8ac mov dword ptr [rax], 9 ; +0x4d, 0x18013f8b1 call _invalid_parameter_noinfo ; +0x53, 0x18013f8b7 xor eax, eax ; +0x58, 0x18013f8bc add rsp, 28h ; +0x5a, 0x18013f8be retn ; +0x5e, 0x18013f8c2