// // __dcrt_lowio_ensure_console_output_initialized from 0x180142460 to 0x1801424b2 (82 bytes) // // 2 xrefs: // > _putwch_nolock @ 0x1801420ed // > @ 0x180203d34 // // 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 // __int64 _dcrt_lowio_ensure_console_output_initialized() { char *FileW; // rax unsigned int v1; // ebx FileW = (char *)hObject; v1 = 0; if ( hObject == (HANDLE)-2LL ) { FileW = (char *)CreateFileW(L"CONOUT$", 0x40000000u, 3u, nullptr, 3u, 0, nullptr); hObject = FileW; } LOBYTE(v1) = FileW + 1 != nullptr; return v1; }