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
LargeArrayBuilder.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200063F")]
9 internal struct LargeArrayBuilder<T>
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60030EC")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1727228", Offset = "0x1727228", Length = "0x38")]
13 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnumerableHelpers), Member = "ToArray", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<T>" }, ReturnType = "T[]")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
17 public LargeArrayBuilder(bool initialize)
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x60030ED")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1727260", Offset = "0x1727260", Length = "0x84")]
24 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
25 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
29 {
30 throw null;
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x60030EE")]
34 [global::Cpp2ILInjected.Address(RVA = "0x17272E4", Offset = "0x17272E4", Length = "0x36C")]
35 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnumerableHelpers), Member = "ToArray", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<T>" }, ReturnType = "T[]")]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LargeArrayBuilder<>), Member = "AddWithBufferAllocation", MemberParameters = new object[]
40 {
41 "T",
42 "T[]&",
43 typeof(ref int)
44 }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
46 public void AddRange(IEnumerable<T> items)
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x60030EF")]
52 [global::Cpp2ILInjected.Address(RVA = "0x1727650", Offset = "0x1727650", Length = "0x84")]
53 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
54 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LargeArrayBuilder<>), Member = "AddRange", MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<T>" }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LargeArrayBuilder<>), Member = "AllocateBuffer", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
59 [MethodImpl(8)]
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x60030F0")]
66 [global::Cpp2ILInjected.Address(RVA = "0x17276D4", Offset = "0x17276D4", Length = "0xF4")]
67 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
68 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LargeArrayBuilder<>), Member = "ToArray", ReturnType = "T[]")]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LargeArrayBuilder<>), Member = "GetBuffer", MemberParameters = new object[] { typeof(int) }, ReturnType = "T[]")]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
73 {
74 typeof(int),
75 typeof(int)
76 }, ReturnType = typeof(int))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Copy", MemberParameters = new object[]
78 {
79 typeof(global::System.Array),
80 typeof(int),
81 typeof(global::System.Array),
82 typeof(int),
83 typeof(int)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
86 public void CopyTo(T[] array, int arrayIndex, int count)
87 {
88 throw null;
89 }
90
91 [global::Cpp2ILInjected.Token(Token = "0x60030F1")]
92 [global::Cpp2ILInjected.Address(RVA = "0x17277C8", Offset = "0x17277C8", Length = "0x80")]
93 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
94 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LargeArrayBuilder<>), Member = "CopyTo", MemberParameters = new object[]
96 {
97 "T[]",
98 typeof(int),
99 typeof(int)
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArrayBuilder<>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
104 public T[] GetBuffer(int index)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x60030F2")]
110 [global::Cpp2ILInjected.Address(RVA = "0x1727848", Offset = "0x1727848", Length = "0xB8")]
111 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
112 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EnumerableHelpers), Member = "ToArray", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<T>" }, ReturnType = "T[]")]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(LargeArrayBuilder<>), Member = "CopyTo", MemberParameters = new object[]
116 {
117 "T[]",
118 typeof(int),
119 typeof(int)
120 }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
122 public T[] ToArray()
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x60030F3")]
128 [global::Cpp2ILInjected.Address(RVA = "0x1727900", Offset = "0x1727900", Length = "0x20")]
129 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
130 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
131 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
132 public bool TryMove(out T[] array)
133 {
134 throw null;
135 }
136
137 [global::Cpp2ILInjected.Token(Token = "0x60030F4")]
138 [global::Cpp2ILInjected.Address(RVA = "0x1727920", Offset = "0x1727920", Length = "0x190")]
139 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
140 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LargeArrayBuilder<>), Member = "AddWithBufferAllocation", MemberParameters = new object[]
142 {
143 "T",
144 "T[]&",
145 typeof(ref int)
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
149 {
150 typeof(int),
151 typeof(int)
152 }, ReturnType = typeof(int))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Copy", MemberParameters = new object[]
154 {
155 typeof(global::System.Array),
156 typeof(int),
157 typeof(global::System.Array),
158 typeof(int),
159 typeof(int)
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ArrayBuilder<>), Member = "Add", MemberParameters = new object[] { "T" }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
163 private void AllocateBuffer()
164 {
165 throw null;
166 }
167
168 [global::Cpp2ILInjected.Token(Token = "0x4001A7E")]
169 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
171
172 [global::Cpp2ILInjected.Token(Token = "0x4001A7F")]
173 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
174 private T[] _first;
175
176 [global::Cpp2ILInjected.Token(Token = "0x4001A80")]
177 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
179
180 [global::Cpp2ILInjected.Token(Token = "0x4001A81")]
181 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
182 private T[] _current;
183
184 [global::Cpp2ILInjected.Token(Token = "0x4001A82")]
185 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
186 private int _index;
187
188 [global::Cpp2ILInjected.Token(Token = "0x4001A83")]
189 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
190 private int _count;
191 }
192}
class f__AnonymousType0<< Count > j__TPar
void CopyTo(T[] array, int arrayIndex, int count)
void AddWithBufferAllocation(T item, ref T[] destination, ref int index)