terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Helpers.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000066 RID: 102
8 internal static class Helpers
9 {
10 // Token: 0x0600023D RID: 573 RVA: 0x000083AC File Offset: 0x000065AC
11 public static byte[] CloneByteArray(this byte[] src)
12 {
13 object obj;
14 while (obj == null || obj != null)
15 {
16 }
17 throw new InvalidCastException();
18 }
19
20 // Token: 0x0600023E RID: 574 RVA: 0x000083C8 File Offset: 0x000065C8
21 public static byte[] GenerateRandom(int count)
22 {
24 long num = 0L;
25 if (randomNumberGenerator != null)
26 {
27 }
28 if (num == 0L)
29 {
30 }
31 throw new OutOfMemoryException();
32 }
33
34 // Token: 0x0600023F RID: 575 RVA: 0x00008404 File Offset: 0x00006604
35 public static void WriteInt(uint i, byte[] arr, int offset)
36 {
37 }
38
39 // Token: 0x06000240 RID: 576 RVA: 0x00008414 File Offset: 0x00006614
40 public static char[] ToHexArrayUpper(this byte[] bytes)
41 {
42 }
43
44 // Token: 0x06000241 RID: 577 RVA: 0x00008424 File Offset: 0x00006624
45 public static string ToHexStringUpper(this byte[] bytes)
46 {
47 char[] array;
48 return string.Ctor(array);
49 }
50
51 // Token: 0x06000242 RID: 578 RVA: 0x0000207A File Offset: 0x0000027A
52 private static char NibbleToHex(byte b)
53 {
54 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
55 }
56 }
57}
class f__AnonymousType0<< Count > j__TPar
static char NibbleToHex(byte b)
Definition Helpers.cs:52
static void WriteInt(uint i, byte[] arr, int offset)
Definition Helpers.cs:35
static byte[] GenerateRandom(int count)
Definition Helpers.cs:21
static string ToHexStringUpper(this byte[] bytes)
Definition Helpers.cs:45
static byte[] CloneByteArray(this byte[] src)
Definition Helpers.cs:11
static char[] ToHexArrayUpper(this byte[] bytes)
Definition Helpers.cs:40