public static void Initialize(bool alwaysCreateNewConsole = true) { bool flag = true; if (alwaysCreateNewConsole || (Program2.AttachConsole(4294967295U) == 0U && (long)Marshal.GetLastWin32Error() != 5L)) { flag = (Program2.AllocConsole() != 0); } if (flag) { Program2.InitializeOutStream(); Program2.InitializeInStream(); } }
// Token: 0x06000010 RID: 16 RVA: 0x00002B20 File Offset: 0x00000D20 public static void Initialize(bool alwaysCreateNewConsole = true) { bool flag = true; bool flag2 = alwaysCreateNewConsole || (Program2.AttachConsole(uint.MaxValue) == 0u && (long)Marshal.GetLastWin32Error() != 5L); bool flag3 = flag2; bool flag4 = flag3; if (flag4) { flag = (Program2.AllocConsole() != 0); } bool flag5 = flag; bool flag6 = flag5; bool flag7 = flag6; if (flag7) { Program2.InitializeOutStream(); Program2.InitializeInStream(); } }