// // __acrt_is_interactive from 0x180135e50 to 0x180135f16 (198 bytes) // // 2 xrefs: // > unknown_libname_70 @ 0x180139397 // > @ 0x180203488 // // 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 // bool _acrt_is_interactive() { __int64 (*function)(void); // rbx FARPROC v1; // rdi __int64 v2; // rax bool result; // al __int64 v4; // [rsp+30h] [rbp-28h] BYREF int v5; // [rsp+38h] [rbp-20h] function = try_get_function( 0xCu, "GetProcessWindowStation", (unsigned int *)&unk_180174A10, (unsigned int *)"GetProcessWindowStation"); result = true; if ( function ) { v1 = try_get_function( 0x10u, "GetUserObjectInformationW", (unsigned int *)&unk_180174A30, (unsigned int *)"GetUserObjectInformationW"); if ( v1 ) { v2 = function(); if ( !v2 ) return false; v4 = 0; v5 = 0; if ( !((unsigned int (__fastcall *)(__int64, __int64, __int64 *, __int64, _QWORD))v1)(v2, 1, &v4, 12, 0) || (v5 & 1) == 0 ) { return false; } } } return result; }