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
SpriteRenderTargetHelper.cs
Go to the documentation of this file.
1using System;
6
7namespace Terraria.Graphics
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000732")]
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6003CF4")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1498DB8", Offset = "0x1498DB8", Length = "0x164")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawLayers), Member = "DrawPlayer_DrawSelectionRect", MemberParameters = new object[] { typeof(ref PlayerDrawSet) }, ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PlayerDrawHeadLayers), Member = "DrawPlayer_DrawSelectionRect", MemberParameters = new object[] { typeof(ref PlayerDrawHeadSet) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteRenderTargetHelper), Member = "GetHighsAndLowsOf", MemberParameters = new object[]
19 {
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
26 {
27 throw null;
28 }
29
30 [global::Cpp2ILInjected.Token(Token = "0x6003CF5")]
31 [global::Cpp2ILInjected.Address(RVA = "0x1498F1C", Offset = "0x1498F1C", Length = "0x118")]
32 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
33 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteRenderTargetHelper), Member = "GetDrawBoundary", MemberParameters = new object[]
34 {
35 typeof(int),
39 }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
42 {
43 typeof(float),
44 typeof(float)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteRenderTargetHelper), Member = "GetHighsAndLowsOf", MemberParameters = new object[]
47 {
54 }, ReturnType = typeof(void))]
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x6003CF6")]
61 [global::Cpp2ILInjected.Address(RVA = "0x1499034", Offset = "0x1499034", Length = "0xE0")]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteRenderTargetHelper), Member = "GetHighsAndLowsOf", MemberParameters = new object[]
63 {
67 }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteRenderTargetHelper), Member = "GetCorner", MemberParameters = new object[]
70 {
75 }, ReturnType = typeof(Vector2))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Min", MemberParameters = new object[]
77 {
80 }, ReturnType = typeof(Vector2))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "Max", MemberParameters = new object[]
82 {
85 }, ReturnType = typeof(Vector2))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x6003CF7")]
93 [global::Cpp2ILInjected.Address(RVA = "0x1499114", Offset = "0x1499114", Length = "0x10C")]
94 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SpriteRenderTargetHelper), Member = "GetHighsAndLowsOf", MemberParameters = new object[]
96 {
103 }, ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
106 {
109 }, ReturnType = typeof(Vector2))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RotatedBy", MemberParameters = new object[]
111 {
113 typeof(double),
115 }, ReturnType = typeof(Vector2))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
117 {
120 }, ReturnType = typeof(Vector2))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
122 {
125 }, ReturnType = typeof(Vector2))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
128 {
129 throw null;
130 }
131 }
132}
class f__AnonymousType0<< Count > j__TPar
static Vector2 GetCorner(ref DrawData cdd, ref Vector2 pos, ref Vector2 origin, Vector2 corner)
static void GetHighsAndLowsOf(ref Vector2 lowest, ref Vector2 highest, ref DrawData cdd, ref Vector2 pos, ref Vector2 origin, Vector2 corner)
static void GetHighsAndLowsOf(ref Vector2 lowest, ref Vector2 highest, ref DrawData cdd)
static void GetDrawBoundary(int playerDrawDataCount, DrawData[] playerDrawData, out Vector2 lowest, out Vector2 highest)