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
AndroidJNIHelper.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
12 [StaticAccessor("AndroidJNIBindingsHelpers", StaticAccessorType.DoubleColon)]
14 [NativeHeader("Modules/AndroidJNI/Public/AndroidJNIBindingsHelpers.h")]
15 [NativeConditional("PLATFORM_ANDROID")]
16 [global::Cpp2ILInjected.Token(Token = "0x200000D")]
17 public static class AndroidJNIHelper
18 {
19 [global::Cpp2ILInjected.Token(Token = "0x17000002")]
20 public static extern bool debug
21 {
22 [global::Cpp2ILInjected.Token(Token = "0x60000C6")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1F647F8", Offset = "0x1F647F8", Length = "0x28")]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
26 [MethodImpl(4096)]
27 get;
28 [global::Cpp2ILInjected.Token(Token = "0x60000C7")]
29 [global::Cpp2ILInjected.Address(RVA = "0x1F64820", Offset = "0x1F64820", Length = "0x3C")]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
31 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
32 [MethodImpl(4096)]
33 set;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x60000C8")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1F6485C", Offset = "0x1F6485C", Length = "0x48")]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetConstructorID", MemberParameters = new object[]
40 {
42 typeof(string)
43 }, ReturnType = typeof(IntPtr))]
44 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x60000C9")]
51 [global::Cpp2ILInjected.Address(RVA = "0x1F63164", Offset = "0x1F63164", Length = "0x4")]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetConstructorID", MemberParameters = new object[]
54 {
56 typeof(string)
57 }, ReturnType = typeof(IntPtr))]
58 public static IntPtr GetConstructorID(IntPtr javaClass, [DefaultValue(null)] string signature)
59 {
60 throw null;
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x60000CA")]
64 [global::Cpp2ILInjected.Address(RVA = "0x1F648A4", Offset = "0x1F648A4", Length = "0x5C")]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetMethodID", MemberParameters = new object[]
67 {
69 typeof(string),
70 typeof(string),
71 typeof(bool)
72 }, ReturnType = typeof(IntPtr))]
73 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
74 public static IntPtr GetMethodID(IntPtr javaClass, string methodName)
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x60000CB")]
80 [global::Cpp2ILInjected.Address(RVA = "0x1F64900", Offset = "0x1F64900", Length = "0x8")]
81 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetMethodID", MemberParameters = new object[]
83 {
85 typeof(string),
86 typeof(string),
87 typeof(bool)
88 }, ReturnType = typeof(IntPtr))]
89 public static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue(null)] string signature)
90 {
91 throw null;
92 }
93
94 [global::Cpp2ILInjected.Token(Token = "0x60000CC")]
95 [global::Cpp2ILInjected.Address(RVA = "0x1F5F924", Offset = "0x1F5F924", Length = "0x8")]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(_AndroidJNIHelper), Member = "GetMethodID", MemberTypeParameters = new object[] { "ReturnType" }, MemberParameters = new object[]
97 {
99 typeof(string),
100 typeof(object[]),
101 typeof(bool)
102 }, ReturnType = typeof(IntPtr))]
103 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetMethodID", MemberParameters = new object[]
105 {
106 typeof(IntPtr),
107 typeof(string),
108 typeof(string),
109 typeof(bool)
110 }, ReturnType = typeof(IntPtr))]
111 public static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue(null)] string signature, [DefaultValue("false")] bool isStatic)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x60000CD")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1F64908", Offset = "0x1F64908", Length = "0x5C")]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetFieldID", MemberParameters = new object[]
120 {
121 typeof(IntPtr),
122 typeof(string),
123 typeof(string),
124 typeof(bool)
125 }, ReturnType = typeof(IntPtr))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x60000CE")]
133 [global::Cpp2ILInjected.Address(RVA = "0x1F6496C", Offset = "0x1F6496C", Length = "0x8")]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetFieldID", MemberParameters = new object[]
136 {
137 typeof(IntPtr),
138 typeof(string),
139 typeof(string),
140 typeof(bool)
141 }, ReturnType = typeof(IntPtr))]
142 public static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue(null)] string signature)
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x60000CF")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1F64964", Offset = "0x1F64964", Length = "0x8")]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(_AndroidJNIHelper), Member = "GetFieldID", MemberTypeParameters = new object[] { "ReturnType" }, MemberParameters = new object[]
150 {
151 typeof(IntPtr),
152 typeof(string),
153 typeof(bool)
154 }, ReturnType = typeof(IntPtr))]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetFieldID", MemberParameters = new object[]
157 {
158 typeof(IntPtr),
159 typeof(string),
160 typeof(string),
161 typeof(bool)
162 }, ReturnType = typeof(IntPtr))]
163 public static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue(null)] string signature, [DefaultValue("false")] bool isStatic)
164 {
165 throw null;
166 }
167
168 [global::Cpp2ILInjected.Token(Token = "0x60000D0")]
169 [global::Cpp2ILInjected.Address(RVA = "0x1F62834", Offset = "0x1F62834", Length = "0x4")]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "CreateJavaRunnable", MemberParameters = new object[] { typeof(AndroidJavaRunnable) }, ReturnType = typeof(IntPtr))]
172 public static IntPtr CreateJavaRunnable(AndroidJavaRunnable jrunnable)
173 {
174 throw null;
175 }
176
177 [global::Cpp2ILInjected.Token(Token = "0x60000D1")]
178 [global::Cpp2ILInjected.Address(RVA = "0x1F5F734", Offset = "0x1F5F734", Length = "0xBC")]
179 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaProxy), Member = "GetRawProxy", ReturnType = typeof(IntPtr))]
181 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(_AndroidJNIHelper), Member = "CreateJavaRunnable", MemberParameters = new object[] { typeof(AndroidJavaRunnable) }, ReturnType = typeof(IntPtr))]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "Alloc", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(GCHandle))]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "ToIntPtr", MemberParameters = new object[] { typeof(GCHandle) }, ReturnType = typeof(IntPtr))]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "CreateJavaProxy", MemberParameters = new object[]
186 {
187 typeof(IntPtr),
189 }, ReturnType = typeof(IntPtr))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "Free", ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x60000D2")]
198 [global::Cpp2ILInjected.Address(RVA = "0x1F64974", Offset = "0x1F64974", Length = "0x4")]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaObject), Member = "_Set", MemberTypeParameters = new object[] { "FieldType" }, MemberParameters = new object[]
200 {
201 typeof(string),
202 "FieldType"
203 }, ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaObject), Member = "_SetStatic", MemberTypeParameters = new object[] { "FieldType" }, MemberParameters = new object[]
205 {
206 typeof(string),
207 "FieldType"
208 }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "ConvertToJNIArray", MemberParameters = new object[] { typeof(Array) }, ReturnType = typeof(IntPtr))]
212 {
213 throw null;
214 }
215
216 [global::Cpp2ILInjected.Token(Token = "0x60000D3")]
217 [global::Cpp2ILInjected.Address(RVA = "0x1F606C4", Offset = "0x1F606C4", Length = "0x4")]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaObject), Member = "_Call", MemberTypeParameters = new object[] { "ReturnType" }, MemberParameters = new object[]
219 {
220 typeof(string),
221 typeof(object[])
222 }, ReturnType = "ReturnType")]
223 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaObject), Member = "_CallStatic", MemberTypeParameters = new object[] { "ReturnType" }, MemberParameters = new object[]
224 {
225 typeof(string),
226 typeof(object[])
227 }, ReturnType = "ReturnType")]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "CreateJNIArgArray", MemberParameters = new object[] { typeof(object[]) }, ReturnType = typeof(jvalue[]))]
230 public static jvalue[] CreateJNIArgArray(object[] args)
231 {
232 throw null;
233 }
234
235 [global::Cpp2ILInjected.Token(Token = "0x60000D4")]
236 [global::Cpp2ILInjected.Address(RVA = "0x1F64978", Offset = "0x1F64978", Length = "0x4")]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaObject), Member = "_Call", MemberTypeParameters = new object[] { "ReturnType" }, MemberParameters = new object[]
238 {
239 typeof(string),
240 typeof(object[])
241 }, ReturnType = "ReturnType")]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AndroidJavaObject), Member = "_CallStatic", MemberTypeParameters = new object[] { "ReturnType" }, MemberParameters = new object[]
243 {
244 typeof(string),
245 typeof(object[])
246 }, ReturnType = "ReturnType")]
247 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "DeleteJNIArgArray", MemberParameters = new object[]
249 {
250 typeof(object[]),
251 typeof(jvalue[])
252 }, ReturnType = typeof(void))]
253 public static void DeleteJNIArgArray(object[] args, jvalue[] jniArgs)
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x60000D5")]
259 [global::Cpp2ILInjected.Address(RVA = "0x1F606C8", Offset = "0x1F606C8", Length = "0x20")]
260 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetSignature", MemberParameters = new object[] { typeof(object[]) }, ReturnType = typeof(string))]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetConstructorID", MemberParameters = new object[]
263 {
264 typeof(IntPtr),
265 typeof(string)
266 }, ReturnType = typeof(IntPtr))]
267 public static IntPtr GetConstructorID(IntPtr jclass, object[] args)
268 {
269 throw null;
270 }
271
272 [global::Cpp2ILInjected.Token(Token = "0x60000D6")]
273 [global::Cpp2ILInjected.Address(RVA = "0x1F608CC", Offset = "0x1F608CC", Length = "0x38")]
274 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetSignature", MemberParameters = new object[] { typeof(object[]) }, ReturnType = typeof(string))]
276 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetMethodID", MemberParameters = new object[]
277 {
278 typeof(IntPtr),
279 typeof(string),
280 typeof(string),
281 typeof(bool)
282 }, ReturnType = typeof(IntPtr))]
283 public static IntPtr GetMethodID(IntPtr jclass, string methodName, object[] args, bool isStatic)
284 {
285 throw null;
286 }
287
288 [global::Cpp2ILInjected.Token(Token = "0x60000D7")]
289 [global::Cpp2ILInjected.Address(RVA = "0x1F6497C", Offset = "0x1F6497C", Length = "0x4")]
290 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetSignature", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(string))]
292 public static string GetSignature(object obj)
293 {
294 throw null;
295 }
296
297 [global::Cpp2ILInjected.Token(Token = "0x60000D8")]
298 [global::Cpp2ILInjected.Address(RVA = "0x1F64980", Offset = "0x1F64980", Length = "0x4")]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(_AndroidJNIHelper), Member = "GetSignature", MemberParameters = new object[] { typeof(object[]) }, ReturnType = typeof(string))]
301 public static string GetSignature(object[] args)
302 {
303 throw null;
304 }
305
306 [global::Cpp2ILInjected.Token(Token = "0x60000D9")]
307 [global::Cpp2ILInjected.Address(RVA = "0x14C7C10", Offset = "0x14C7C10", Length = "0x10")]
308 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
309 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
310 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
312 {
313 throw null;
314 }
315
316 [global::Cpp2ILInjected.Token(Token = "0x60000DA")]
317 [global::Cpp2ILInjected.Address(RVA = "0x14C7CC8", Offset = "0x14C7CC8", Length = "0x14")]
318 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
319 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
320 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
321 public static IntPtr GetMethodID<ReturnType>(IntPtr jclass, string methodName, object[] args, bool isStatic)
322 {
323 throw null;
324 }
325
326 [global::Cpp2ILInjected.Token(Token = "0x60000DB")]
327 [global::Cpp2ILInjected.Address(RVA = "0x14C7CA0", Offset = "0x14C7CA0", Length = "0x14")]
328 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
329 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
330 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
332 {
333 throw null;
334 }
335
336 [global::Cpp2ILInjected.Token(Token = "0x60000DC")]
337 [global::Cpp2ILInjected.Address(RVA = "0x14C7D7C", Offset = "0x14C7D7C", Length = "0x10")]
338 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
339 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
340 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
341 public static string GetSignature<ReturnType>(object[] args)
342 {
343 throw null;
344 }
345 }
346}
class f__AnonymousType0<< Count > j__TPar
static IntPtr GetConstructorID(IntPtr javaClass, [DefaultValue(null)] string signature)
static IntPtr ConvertToJNIArray(Array array)
static string GetSignature(object[] args)
static IntPtr GetMethodID< ReturnType >(IntPtr jclass, string methodName, object[] args, bool isStatic)
static IntPtr GetFieldID< FieldType >(IntPtr jclass, string fieldName, bool isStatic)
static string GetSignature(object obj)
static IntPtr GetFieldID(IntPtr javaClass, string fieldName)
static IntPtr GetConstructorID(IntPtr javaClass)
static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue(null)] string signature, [DefaultValue("false")] bool isStatic)
static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue(null)] string signature)
static IntPtr GetMethodID(IntPtr javaClass, string methodName, [DefaultValue(null)] string signature)
static IntPtr GetMethodID(IntPtr javaClass, string methodName)
static IntPtr CreateJavaProxy(AndroidJavaProxy proxy)
static IntPtr GetConstructorID(IntPtr jclass, object[] args)
static ArrayType ConvertFromJNIArray< ArrayType >(IntPtr array)
static jvalue[] CreateJNIArgArray(object[] args)
static void DeleteJNIArgArray(object[] args, jvalue[] jniArgs)
static IntPtr GetMethodID(IntPtr jclass, string methodName, object[] args, bool isStatic)
static string GetSignature< ReturnType >(object[] args)
static IntPtr CreateJavaRunnable(AndroidJavaRunnable jrunnable)
static IntPtr GetFieldID(IntPtr javaClass, string fieldName, [DefaultValue(null)] string signature, [DefaultValue("false")] bool isStatic)