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
CreativeItemSacrificesCatalog.cs
Go to the documentation of this file.
1using System;
7using UnityEngine;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000A0D")]
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x17000873")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6004BFC")]
18 [global::Cpp2ILInjected.Address(RVA = "0x8B45E0", Offset = "0x8B45E0", Length = "0x8")]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 get
21 {
22 throw null;
23 }
24 }
25
26 [global::Cpp2ILInjected.Token(Token = "0x6004BFD")]
27 [global::Cpp2ILInjected.Address(RVA = "0x8B45E8", Offset = "0x8B45E8", Length = "0x6A8")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "Clear", ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Resources), Member = "Load", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { typeof(string) }, ReturnType = "T")]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextAsset), Member = "get_text", ReturnType = typeof(string))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Regex), Member = "Split", MemberParameters = new object[]
35 {
36 typeof(string),
37 typeof(string)
38 }, ReturnType = typeof(string[]))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "StartsWith", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Split", MemberParameters = new object[]
41 {
42 typeof(char),
44 }, ReturnType = typeof(string[]))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IdDictionary), Member = "TryGetId", MemberParameters = new object[]
46 {
47 typeof(string),
48 typeof(ref int)
49 }, ReturnType = typeof(bool))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(<PrivateImplementationDetails>), Member = "ComputeStringHash", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(uint))]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
53 {
54 typeof(string),
55 typeof(string)
56 }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "set_Item", MemberParameters = new object[]
58 {
59 typeof(int),
60 typeof(int)
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(string),
66 typeof(string),
67 typeof(string)
68 }, ReturnType = typeof(string))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Exception), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
71 public void Initialize()
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6004BFE")]
77 [global::Cpp2ILInjected.Address(RVA = "0x8B4C90", Offset = "0x8B4C90", Length = "0xC0")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "CanBeResearched", MemberParameters = new object[]
80 {
81 typeof(Item),
82 typeof(ref int)
83 }, ReturnType = typeof(GUIResearch.ResearchState))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "ActionResearch", ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIResearch), Member = "DrawItemProgress", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "MouseText_DrawItemTooltip_GetLinesInfo", MemberParameters = new object[]
87 {
88 typeof(Item),
89 typeof(ref int),
90 typeof(ref int),
91 typeof(ref int),
92 typeof(float),
93 typeof(ref int),
94 typeof(string[]),
95 typeof(bool[]),
96 typeof(bool[]),
97 typeof(ref int)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "ShouldDrawSacrificeArea", ReturnType = typeof(bool))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemsSacrificedUnlocksTracker), Member = "TryGetSacrificeNumbers", MemberParameters = new object[]
101 {
102 typeof(int),
103 typeof(ref int),
104 typeof(ref int)
105 }, ReturnType = typeof(bool))]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemFilters.MiscFallback), Member = ".ctor", MemberParameters = new object[] { typeof(List<IItemEntryFilter>) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
109 {
110 typeof(int),
111 typeof(ref int)
112 }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
115 {
116 throw null;
117 }
118
119 [global::Cpp2ILInjected.Token(Token = "0x6004BFF")]
120 [global::Cpp2ILInjected.Address(RVA = "0x8B4D50", Offset = "0x8B4D50", Length = "0x7C")]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeItemSacrificesCatalog), Member = ".cctor", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = ".ctor", ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
127 {
128 throw null;
129 }
130
131 // Note: this type is marked as 'beforefieldinit'.
132 [global::Cpp2ILInjected.Token(Token = "0x6004C00")]
133 [global::Cpp2ILInjected.Address(RVA = "0x8B4DCC", Offset = "0x8B4DCC", Length = "0x58")]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CreativeItemSacrificesCatalog), Member = ".ctor", ReturnType = typeof(void))]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x400861D")]
144
145 [global::Cpp2ILInjected.Token(Token = "0x400861E")]
146 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
148 }
149}
class f__AnonymousType0<< Count > j__TPar
bool TryGetSacrificeCountCapToUnlockInfiniteItems(int itemId, out int amountNeeded)