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
TileDrawSorter.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200067A")]
9 public class TileDrawSorter
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6003742")]
12 [global::Cpp2ILInjected.Address(RVA = "0x141E608", Offset = "0x141E608", Length = "0x98")]
13 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
14 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileDrawSorter.CustomComparer), Member = ".ctor", ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x6003743")]
23 [global::Cpp2ILInjected.Address(RVA = "0x141E6E8", Offset = "0x141E6E8", Length = "0x8")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 public void reset()
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6003744")]
31 [global::Cpp2ILInjected.Address(RVA = "0x141E6F0", Offset = "0x141E6F0", Length = "0x34")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
34 public void Cache(int x, int y, int type)
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6003745")]
40 [global::Cpp2ILInjected.Address(RVA = "0x141E724", Offset = "0x141E724", Length = "0x54")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array[]), Member = "Resize", MemberTypeParameters = new object[] { typeof(TileDrawSorter.TileTexPoint) }, MemberParameters = new object[]
43 {
44 typeof(ref TileDrawSorter.TileTexPoint[]),
45 typeof(int)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
48 private void IncreaseArraySize()
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6003746")]
54 [global::Cpp2ILInjected.Address(RVA = "0x141E778", Offset = "0x141E778", Length = "0x54")]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Array[]), Member = "Sort", MemberTypeParameters = new object[] { typeof(TileDrawSorter.TileTexPoint) }, MemberParameters = new object[]
57 {
58 typeof(TileDrawSorter.TileTexPoint[]),
59 typeof(int),
60 typeof(int),
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
64 public void Sort()
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x6003747")]
70 [global::Cpp2ILInjected.Address(RVA = "0x141E7CC", Offset = "0x141E7CC", Length = "0x8")]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 public int GetAmountToDraw()
73 {
74 throw null;
75 }
76
77 [global::Cpp2ILInjected.Token(Token = "0x400786D")]
78 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
80
81 [global::Cpp2ILInjected.Token(Token = "0x400786E")]
82 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
83 private int _holderLength;
84
85 [global::Cpp2ILInjected.Token(Token = "0x400786F")]
86 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
87 private int _currentCacheIndex;
88
89 [global::Cpp2ILInjected.Token(Token = "0x4007870")]
90 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
92
93 [global::Cpp2ILInjected.Token(Token = "0x200067B")]
94 public struct TileTexPoint
95 {
96 [global::Cpp2ILInjected.Token(Token = "0x6003748")]
97 [global::Cpp2ILInjected.Address(RVA = "0x141E7D4", Offset = "0x141E7D4", Length = "0xC4")]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
100 {
101 typeof(string),
102 typeof(object),
103 typeof(object),
104 typeof(object)
105 }, ReturnType = typeof(string))]
106 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
107 public override string ToString()
108 {
109 throw null;
110 }
111
112 [global::Cpp2ILInjected.Token(Token = "0x4007871")]
113 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
114 public int X;
115
116 [global::Cpp2ILInjected.Token(Token = "0x4007872")]
117 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
118 public int Y;
119
120 [global::Cpp2ILInjected.Token(Token = "0x4007873")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
122 public int TileType;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x200067C")]
126 public class CustomComparer : Comparer<TileDrawSorter.TileTexPoint>
127 {
128 [global::Cpp2ILInjected.Token(Token = "0x6003749")]
129 [global::Cpp2ILInjected.Address(RVA = "0x141E898", Offset = "0x141E898", Length = "0x30")]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "CompareTo", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
133 {
134 throw null;
135 }
136
137 [global::Cpp2ILInjected.Token(Token = "0x600374A")]
138 [global::Cpp2ILInjected.Address(RVA = "0x141E6A0", Offset = "0x141E6A0", Length = "0x48")]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TileDrawSorter), Member = ".ctor", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Comparer<TileDrawSorter.TileTexPoint>), Member = ".ctor", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
144 {
145 throw null;
146 }
147 }
148 }
149}
class f__AnonymousType0<< Count > j__TPar
override int Compare(TileDrawSorter.TileTexPoint x, TileDrawSorter.TileTexPoint y)
void Cache(int x, int y, int type)
TileDrawSorter.CustomComparer _tileComparer
TileDrawSorter.TileTexPoint[] tilesToDraw