terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
SimpleProfiler.cs
Go to the documentation of this file.
1using System;
5using UnityEngine;
6
7[global::Cpp2ILInjected.Token(Token = "0x200005D")]
8public static class SimpleProfiler
9{
10 [Conditional("SIMPLEPROFILER")]
11 [global::Cpp2ILInjected.Token(Token = "0x60001F1")]
12 [global::Cpp2ILInjected.Address(RVA = "0x70A304", Offset = "0x70A304", Length = "0x138")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "GetNames", MemberParameters = new object[] { typeof(Type) }, ReturnType = typeof(string[]))]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SimpleProfilerFrameData), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
18 public static void Initialise(Type enumType)
19 {
20 throw null;
21 }
22
23 [Conditional("SIMPLEPROFILER")]
24 [global::Cpp2ILInjected.Token(Token = "0x60001F2")]
25 [global::Cpp2ILInjected.Address(RVA = "0x70A4C8", Offset = "0x70A4C8", Length = "0x94")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
30 private static void AllocateSampleFrames(int numberFrames)
31 {
32 throw null;
33 }
34
35 [Conditional("SIMPLEPROFILER")]
36 [global::Cpp2ILInjected.Token(Token = "0x60001F3")]
37 [global::Cpp2ILInjected.Address(RVA = "0x70A564", Offset = "0x70A564", Length = "0x130")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
42 {
45 }, ReturnType = typeof(TimeSpan))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SimpleProfilerFrameData), Member = "Reset", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
48 public static void BeginFrame()
49 {
50 throw null;
51 }
52
53 [Conditional("SIMPLEPROFILER")]
54 [global::Cpp2ILInjected.Token(Token = "0x60001F4")]
55 [global::Cpp2ILInjected.Address(RVA = "0x70A6C8", Offset = "0x70A6C8", Length = "0x74")]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
59 public static void EndFrame()
60 {
61 throw null;
62 }
63
64 [Conditional("SIMPLEPROFILER")]
65 [global::Cpp2ILInjected.Token(Token = "0x60001F5")]
66 [global::Cpp2ILInjected.Address(RVA = "0x70A73C", Offset = "0x70A73C", Length = "0x4")]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
68 public static void Draw()
69 {
70 throw null;
71 }
72
73 [Conditional("SIMPLEPROFILER")]
74 [global::Cpp2ILInjected.Token(Token = "0x60001F6")]
75 [global::Cpp2ILInjected.Address(RVA = "0x70A740", Offset = "0x70A740", Length = "0xA4")]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
79 public static void BeginSample(int sampleId)
80 {
81 throw null;
82 }
83
84 [Conditional("SIMPLEPROFILER")]
85 [global::Cpp2ILInjected.Token(Token = "0x60001F7")]
86 [global::Cpp2ILInjected.Address(RVA = "0x70A7E4", Offset = "0x70A7E4", Length = "0xDC")]
87 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "get_Now", ReturnType = typeof(DateTime))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DateTime), Member = "op_Subtraction", MemberParameters = new object[]
91 {
94 }, ReturnType = typeof(TimeSpan))]
95 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
96 public static void EndSample(int sampleId)
97 {
98 throw null;
99 }
100
101 [Conditional("SIMPLEPROFILER")]
102 [global::Cpp2ILInjected.Token(Token = "0x60001F8")]
103 [global::Cpp2ILInjected.Address(RVA = "0x70A8C0", Offset = "0x70A8C0", Length = "0x4")]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
105 public static void Dump()
106 {
107 throw null;
108 }
109
110 [Conditional("SIMPLEPROFILER")]
111 [global::Cpp2ILInjected.Token(Token = "0x60001F9")]
112 [global::Cpp2ILInjected.Address(RVA = "0x70A8C4", Offset = "0x70A8C4", Length = "0x310")]
113 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "FromTicks", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(TimeSpan))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(double), Member = "ToString", ReturnType = typeof(string))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
119 {
120 typeof(string),
121 typeof(string),
122 typeof(string)
123 }, ReturnType = typeof(string))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "Log", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
128 private static void DumpFrameData(int frame)
129 {
130 throw null;
131 }
132
133 [Conditional("UNITYPROFILING")]
134 [global::Cpp2ILInjected.Token(Token = "0x60001FA")]
135 [global::Cpp2ILInjected.Address(RVA = "0x70ABD4", Offset = "0x70ABD4", Length = "0x4")]
136 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
137 public static void UnityProfileBegin(string begin)
138 {
139 throw null;
140 }
141
142 [Conditional("UNITYPROFILING")]
143 [global::Cpp2ILInjected.Token(Token = "0x60001FB")]
144 [global::Cpp2ILInjected.Address(RVA = "0x70ABD8", Offset = "0x70ABD8", Length = "0x4")]
145 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
146 public static void UnityProfileEnd(string end)
147 {
148 throw null;
149 }
150
151 [Conditional("SIMPLEPROFILER")]
152 [global::Cpp2ILInjected.Token(Token = "0x60001FC")]
153 [global::Cpp2ILInjected.Address(RVA = "0x70ABDC", Offset = "0x70ABDC", Length = "0x45C")]
154 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Screen), Member = "get_height", ReturnType = typeof(int))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Screen), Member = "get_width", ReturnType = typeof(int))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rect), Member = ".ctor", MemberParameters = new object[]
159 {
160 typeof(float),
161 typeof(float),
162 typeof(float),
163 typeof(float)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUI), Member = "get_skin", ReturnType = typeof(GUISkin))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUISkin), Member = "get_box", ReturnType = typeof(GUIStyle))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUILayout), Member = "BeginArea", MemberParameters = new object[]
168 {
169 typeof(Rect),
171 }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "FromTicks", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(TimeSpan))]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(double), Member = "ToString", ReturnType = typeof(string))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
176 {
177 typeof(string),
178 typeof(string),
179 typeof(string)
180 }, ReturnType = typeof(string))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUILayout), Member = "Label", MemberParameters = new object[]
182 {
183 typeof(string),
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUILayout), Member = "EndArea", ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
190 public static void OnGUI()
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x40001E4")]
196 public static bool DisplayStats;
197
198 [global::Cpp2ILInjected.Token(Token = "0x40001E5")]
199 private static int NextFrame;
200
201 [global::Cpp2ILInjected.Token(Token = "0x40001E6")]
202 private static string[] FrameSampleTypes;
203
204 [global::Cpp2ILInjected.Token(Token = "0x40001E7")]
206
207 [global::Cpp2ILInjected.Token(Token = "0x40001E8")]
209
210 [global::Cpp2ILInjected.Token(Token = "0x40001E9")]
212
213 [global::Cpp2ILInjected.Token(Token = "0x40001EA")]
214 private static DateTime FrameTimeStart;
215
216 [global::Cpp2ILInjected.Token(Token = "0x40001EB")]
217 private static DateTime FrameTimeEnd;
218
219 [global::Cpp2ILInjected.Token(Token = "0x40001EC")]
221
222 [global::Cpp2ILInjected.Token(Token = "0x40001ED")]
224}
class f__AnonymousType0<< Count > j__TPar
static void EndFrame()
static void EndSample(int sampleId)
static bool DisplayStats
static void OnGUI()
static int NextFrame
static void Initialise(Type enumType)
static void BeginSample(int sampleId)
static void BeginFrame()
static SimpleProfilerFrameData CurrentFrameData
static void UnityProfileEnd(string end)
static void Dump()
static string[] FrameSampleTypes
static void DumpFrameData(int frame)
static void UnityProfileBegin(string begin)
static DateTime FrameTimeEnd
static void Draw()
static SimpleProfilerFrameData[] FrameData
static DateTime FrameTimeStart
static SimpleProfilerSampleFrame CurrentFrames
static void AllocateSampleFrames(int numberFrames)
static SimpleProfilerSampleFrame AvailableFrames
static SimpleProfilerFrameData LastFrameData