terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Init()

void System.TermInfoDriver.Init ( )
inline

Definition at line 94 of file TermInfoDriver.cs.

95 {
96 bool flag = this.inited;
97 if (!flag)
98 {
99 object obj = this.initLock;
100 if (flag)
101 {
102 return;
103 }
104 if (!flag)
105 {
106 }
108 if (!flag)
109 {
110 }
111 int num = 88;
112 if (num != 0 && num != 0)
113 {
114 return;
115 }
116 if (!flag)
117 {
118 }
119 int num2 = 16;
120 int num4;
121 int num3 = Math.Min(num4, num2);
122 int num5 = 1;
123 int num6 = Math.Max(num3, num5);
124 int num7 = 184;
125 if (num7 == 0)
126 {
127 }
128 if (num7 == 0)
129 {
130 }
131 Stream stream = Console.OpenStandardInput(0);
132 if (!true)
133 {
134 }
135 string text2;
136 string text3;
137 string text = text2 + text3;
138 string text4;
139 if (text4 == null)
140 {
141 }
142 string text5;
143 bool flag2 = text5 == "cygwin";
144 bool flag3;
145 if (flag3)
146 {
147 }
148 int num8 = 10;
149 if ("\u001b]0;{0}\a" == null || num8 != 0)
150 {
151 }
152 long num9 = 0L;
153 if ("\u001b]0;{0}\a" != null)
154 {
156 }
157 if (num9 != 0L)
158 {
159 throw new OutOfMemoryException();
160 }
161 }
162 }
class f__AnonymousType0<< Count > j__TPar
static Stream OpenStandardInput(int bufferSize)
Definition Console.cs:87
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static byte Max(byte val1, byte val2)
Definition Math.cs:111
static void Exit(object obj)
Definition Monitor.cs:47

References System.Threading.Monitor.Exit(), System.TermInfoDriver.inited, System.TermInfoDriver.initLock, System.ConsoleDriver.IsConsole, j__TPar, System.L, System.Math.Max(), System.Math.Min(), System.obj, System.Console.OpenStandardInput(), and System.text.

Referenced by System.TermInfoDriver.Clear(), System.TermInfoDriver.ReadKeyInternal(), System.TermInfoDriver.ReadUntilConditionInternal(), and System.TermInfoDriver.SetCursorPosition().