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
Clipper.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200035B")]
10 public class Clipper
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6001654")]
13 [global::Cpp2ILInjected.Address(RVA = "0xAA03FC", Offset = "0xAA03FC", Length = "0x7C")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "EnableClipping", MemberParameters = new object[]
15 {
19 typeof(bool)
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushClippedImageRegion", MemberParameters = new object[]
22 {
25 typeof(bool),
27 typeof(float)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "SetGeometryOffset", MemberParameters = new object[]
30 {
32 typeof(bool),
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
38 public Clipper(SpriteBatch owner)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x6001655")]
44 [global::Cpp2ILInjected.Address(RVA = "0xAA0478", Offset = "0xAA0478", Length = "0x14")]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "EnableClipping", MemberParameters = new object[]
46 {
50 typeof(bool)
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushClippedImageRegion", MemberParameters = new object[]
53 {
55 typeof(SpriteBatch),
56 typeof(bool),
58 typeof(float)
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PopClippedImageRegion", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
62 public void SetClipState(bool horizonal, bool vertical)
63 {
64 throw null;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x6001656")]
68 [global::Cpp2ILInjected.Address(RVA = "0xAA048C", Offset = "0xAA048C", Length = "0xC")]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "EnableClipping", MemberParameters = new object[]
70 {
74 typeof(bool)
75 }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushClippedImageRegion", MemberParameters = new object[]
77 {
79 typeof(SpriteBatch),
80 typeof(bool),
82 typeof(float)
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PopClippedImageRegion", ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
86 public void SetClipRegionInner(int left, int right, int top, int bottom)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x6001657")]
92 [global::Cpp2ILInjected.Address(RVA = "0xAA0498", Offset = "0xAA0498", Length = "0x28")]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushExpandedClippingRegion", ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x6001658")]
101 [global::Cpp2ILInjected.Address(RVA = "0xAA04C0", Offset = "0xAA04C0", Length = "0x28")]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PopExpandedClippingRegion", ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x6001659")]
110 [global::Cpp2ILInjected.Address(RVA = "0xAA04E8", Offset = "0xAA04E8", Length = "0x14")]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "EnableClipping", MemberParameters = new object[]
112 {
116 typeof(bool)
117 }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushClippedImageRegion", MemberParameters = new object[]
119 {
121 typeof(SpriteBatch),
122 typeof(bool),
124 typeof(float)
125 }, ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PopClippedImageRegion", ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
128 public void SetClipRegionOuter(int left, int right, int top, int bottom)
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x600165A")]
134 [global::Cpp2ILInjected.Address(RVA = "0xAA04FC", Offset = "0xAA04FC", Length = "0x18")]
135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushClippedImageRegion", MemberParameters = new object[]
136 {
139 typeof(bool),
141 typeof(float)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
144 public void SetClipRegionOuter(int left, int right, int top, int bottom, int fadeLeft, int fadeRight, int fadeTop, int fadeBottom)
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x600165B")]
150 [global::Cpp2ILInjected.Address(RVA = "0xAA0514", Offset = "0xAA0514", Length = "0x14")]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PushClippedImageRegion", MemberParameters = new object[]
152 {
155 typeof(bool),
157 typeof(float)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "PopClippedImageRegion", ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
161 public void SetGeometryScale(bool enable, Vector2 centre, float scale)
162 {
163 throw null;
164 }
165
166 [global::Cpp2ILInjected.Token(Token = "0x600165C")]
167 [global::Cpp2ILInjected.Address(RVA = "0xAA0528", Offset = "0xAA0528", Length = "0x10")]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "SetGeometryOffset", MemberParameters = new object[]
169 {
171 typeof(bool),
173 }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
176 {
177 throw null;
178 }
179
180 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
181 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
182 [global::Cpp2ILInjected.Token(Token = "0x600165D")]
183 [global::Cpp2ILInjected.Address(RVA = "0xAA0538", Offset = "0xAA0538", Length = "0x7C")]
184 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
185 {
186 typeof(float),
187 typeof(float),
188 typeof(float),
189 typeof(float),
190 typeof(float),
191 typeof(float),
192 typeof(float),
193 typeof(float),
197 }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
199 {
200 typeof(float),
201 typeof(float),
202 typeof(float),
203 typeof(float),
204 typeof(float),
205 typeof(float),
206 typeof(float),
207 typeof(float),
211 }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
213 {
214 typeof(float),
215 typeof(float),
216 typeof(float),
217 typeof(float),
221 }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
223 {
224 typeof(float),
225 typeof(float),
226 typeof(float),
227 typeof(float),
231 }, ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
234 {
235 throw null;
236 }
237
238 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
239 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
240 [global::Cpp2ILInjected.Token(Token = "0x600165E")]
241 [global::Cpp2ILInjected.Address(RVA = "0xAA05B4", Offset = "0xAA05B4", Length = "0x78C")]
242 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
244 {
245 typeof(float),
246 typeof(float),
247 typeof(float),
248 typeof(float),
249 typeof(float),
250 typeof(float),
251 typeof(float),
252 typeof(float),
256 }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
258 {
259 typeof(float),
260 typeof(float),
261 typeof(float),
262 typeof(float),
263 typeof(float),
264 typeof(float),
265 typeof(float),
266 typeof(float),
270 }, ReturnType = typeof(void))]
271 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
272 {
273 typeof(float),
274 typeof(float),
275 typeof(float),
276 typeof(float),
280 }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteBatchItem), Member = "Set", MemberParameters = new object[]
282 {
283 typeof(float),
284 typeof(float),
285 typeof(float),
286 typeof(float),
290 }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
292 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Clipper), Member = "Clip", MemberParameters = new object[]
293 {
294 typeof(SpriteBatcher.VertexData),
295 typeof(SpriteBatcher.VertexData),
296 typeof(SpriteBatcher.VertexData),
297 typeof(SpriteBatcher.VertexData),
298 typeof(int),
299 typeof(int),
300 typeof(int),
301 typeof(int),
302 typeof(ref int),
303 typeof(ref SpriteBatcher.VertexData[])
304 }, ReturnType = typeof(bool))]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Clipper), Member = "InjectBatches", MemberParameters = new object[]
306 {
307 typeof(SpriteBatchItem),
308 typeof(bool),
309 typeof(int),
310 typeof(SpriteBatcher.VertexData[])
311 }, ReturnType = typeof(void))]
313 {
314 throw null;
315 }
316
317 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
318 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
319 [global::Cpp2ILInjected.Token(Token = "0x600165F")]
320 [global::Cpp2ILInjected.Address(RVA = "0xAA1BD8", Offset = "0xAA1BD8", Length = "0x14C")]
321 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Clipper), Member = "Clip", MemberParameters = new object[] { typeof(SpriteBatchItem) }, ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
324 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "InsertNewBatchItem", MemberParameters = new object[] { typeof(Texture2D) }, ReturnType = typeof(SpriteBatchItem))]
326 {
327 throw null;
328 }
329
330 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
331 [Il2CppSetOption(/*Failed to decode CustomAttribute blob!*/)]
332 [global::Cpp2ILInjected.Token(Token = "0x6001660")]
333 [global::Cpp2ILInjected.Address(RVA = "0xAA0D40", Offset = "0xAA0D40", Length = "0xE98")]
334 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
335 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Clipper), Member = "Clip", MemberParameters = new object[] { typeof(SpriteBatchItem) }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
341
342 [global::Cpp2ILInjected.Token(Token = "0x4002414")]
343 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
345
346 [global::Cpp2ILInjected.Token(Token = "0x4002415")]
347 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
349
350 [global::Cpp2ILInjected.Token(Token = "0x4002416")]
351 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
353
354 [global::Cpp2ILInjected.Token(Token = "0x4002417")]
355 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
356 private int inputCount;
357
358 [global::Cpp2ILInjected.Token(Token = "0x4002418")]
359 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
360 private int outputCount;
361
362 [global::Cpp2ILInjected.Token(Token = "0x4002419")]
363 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
365
366 [global::Cpp2ILInjected.Token(Token = "0x400241A")]
367 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
369
370 [global::Cpp2ILInjected.Token(Token = "0x400241B")]
371 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
372 private int Left;
373
374 [global::Cpp2ILInjected.Token(Token = "0x400241C")]
375 [global::Cpp2ILInjected.FieldOffset(Offset = "0x44")]
376 private int Right;
377
378 [global::Cpp2ILInjected.Token(Token = "0x400241D")]
379 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
380 private int Top;
381
382 [global::Cpp2ILInjected.Token(Token = "0x400241E")]
383 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4C")]
384 private int Bottom;
385
386 [global::Cpp2ILInjected.Token(Token = "0x400241F")]
387 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
388 private int OuterLeft;
389
390 [global::Cpp2ILInjected.Token(Token = "0x4002420")]
391 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
392 private int OuterRight;
393
394 [global::Cpp2ILInjected.Token(Token = "0x4002421")]
395 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
396 private int OuterTop;
397
398 [global::Cpp2ILInjected.Token(Token = "0x4002422")]
399 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
400 private int OuterBottom;
401
402 [global::Cpp2ILInjected.Token(Token = "0x4002423")]
403 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
404 private int FadeOuterLeft;
405
406 [global::Cpp2ILInjected.Token(Token = "0x4002424")]
407 [global::Cpp2ILInjected.FieldOffset(Offset = "0x64")]
408 private int FadeOuterRight;
409
410 [global::Cpp2ILInjected.Token(Token = "0x4002425")]
411 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
412 private int FadeOuterTop;
413
414 [global::Cpp2ILInjected.Token(Token = "0x4002426")]
415 [global::Cpp2ILInjected.FieldOffset(Offset = "0x6C")]
416 private int FadeOuterBottom;
417
418 [global::Cpp2ILInjected.Token(Token = "0x4002427")]
419 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
420 private bool clipVertical;
421
422 [global::Cpp2ILInjected.Token(Token = "0x4002428")]
423 [global::Cpp2ILInjected.FieldOffset(Offset = "0x71")]
424 private bool clipHorizontal;
425
426 [global::Cpp2ILInjected.Token(Token = "0x4002429")]
427 [global::Cpp2ILInjected.FieldOffset(Offset = "0x72")]
429
430 [global::Cpp2ILInjected.Token(Token = "0x400242A")]
431 [global::Cpp2ILInjected.FieldOffset(Offset = "0x74")]
433
434 [global::Cpp2ILInjected.Token(Token = "0x400242B")]
435 [global::Cpp2ILInjected.FieldOffset(Offset = "0x7C")]
436 private float geometryScale;
437
438 [global::Cpp2ILInjected.Token(Token = "0x400242C")]
439 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
441
442 [global::Cpp2ILInjected.Token(Token = "0x400242D")]
443 [global::Cpp2ILInjected.FieldOffset(Offset = "0x84")]
445 }
446}
class f__AnonymousType0<< Count > j__TPar
void InjectBatches(SpriteBatchItem item, bool resuseItem, int outNumPoints, SpriteBatcher.VertexData[] output)
Definition Clipper.cs:325
void Clip(SpriteBatchItem item)
Definition Clipper.cs:312
SpriteBatcher.VertexData[] output
Definition Clipper.cs:368
void SetGeometryOffset(bool enable, Vector2 offset)
Definition Clipper.cs:175
SpriteBatcher.VertexData[] cache1
Definition Clipper.cs:348
void SetGeometryScale(bool enable, Vector2 centre, float scale)
Definition Clipper.cs:161
void Offset(SpriteBatchItem item)
Definition Clipper.cs:233
bool Clip(SpriteBatcher.VertexData p0, SpriteBatcher.VertexData p1, SpriteBatcher.VertexData p2, SpriteBatcher.VertexData p3, int clipLeft, int clipRight, int clipTop, int clipBottom, out int numResultPoints, out SpriteBatcher.VertexData[] result)
Definition Clipper.cs:337
void SetClipRegionOuter(int left, int right, int top, int bottom)
Definition Clipper.cs:128
SpriteBatcher.VertexData[] input
Definition Clipper.cs:364
void SetClipState(bool horizonal, bool vertical)
Definition Clipper.cs:62
void SetClipRegionOuter(int left, int right, int top, int bottom, int fadeLeft, int fadeRight, int fadeTop, int fadeBottom)
Definition Clipper.cs:144
SpriteBatcher.VertexData[] cache2
Definition Clipper.cs:352
void SetClipRegionInner(int left, int right, int top, int bottom)
Definition Clipper.cs:86