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
SpriteRenderTargetHelper.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria.Graphics
7{
8 // Token: 0x02000732 RID: 1842
10 {
11 // Token: 0x06003CF4 RID: 15604 RVA: 0x00237E74 File Offset: 0x00236074
13 {
14 if (!true)
15 {
16 }
17 if (true)
18 {
19 return;
20 }
21 if (!true)
22 {
23 }
24 if (!false)
25 {
26 }
27 }
28
29 // Token: 0x06003CF5 RID: 15605 RVA: 0x00237E90 File Offset: 0x00236090
31 {
32 Vector2 origin = cdd.origin;
33 Vector2 position = cdd.position;
34 int width = cdd.sourceRect.Width;
35 int height = cdd.sourceRect.Height;
36 }
37
38 // Token: 0x06003CF6 RID: 15606 RVA: 0x00237EC4 File Offset: 0x002360C4
40 {
42 float x = lowest.X;
43 float y = lowest.Y;
44 if (!true)
45 {
46 }
47 float x2 = highest.X;
48 float y2 = highest.Y;
49 highest.X = x2;
50 highest.Y = y2;
51 }
52
53 // Token: 0x06003CF7 RID: 15607 RVA: 0x00237F14 File Offset: 0x00236114
55 {
56 float x = origin.X;
57 float y = origin.Y;
58 if (!true)
59 {
60 }
61 float x2 = pos.X;
62 float y2 = pos.Y;
63 float rotation = cdd.rotation;
64 if (!true)
65 {
66 }
67 float x3 = cdd.scale.X;
68 float y3 = cdd.scale.Y;
69 return 1;
70 }
71 }
72}
class f__AnonymousType0<< Count > j__TPar
static void GetHighsAndLowsOf(Vector2 lowest, Vector2 highest, DrawData cdd)
static Vector2 GetCorner(DrawData cdd, Vector2 pos, Vector2 origin, Vector2 corner)
static void GetDrawBoundary(int playerDrawDataCount, DrawData[] playerDrawData, [Out] Vector2 lowest, [Out] Vector2 highest)
static void GetHighsAndLowsOf(Vector2 lowest, Vector2 highest, DrawData cdd, Vector2 pos, Vector2 origin, Vector2 corner)