//
// __scrt_get_show_window_mode from 0x140678444 to 0x14067847e (58 bytes)
//
// 2 xrefs:
// > __scrt_common_main_seh @ 0x140677ee1
// > ??> @ 0x1409327e0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:36:00 +0000
//
WORD _scrt_get_show_window_mode()
{
WORD result; // ax
struct _STARTUPINFOW StartupInfo; // [rsp+20h] [rbp-78h] BYREF
memset(&StartupInfo, 0, sizeof(StartupInfo));
GetStartupInfoW(&StartupInfo);
result = 10;
if ( (StartupInfo.dwFlags & 1) != 0 )
return StartupInfo.wShowWindow;
return result;
}