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

◆ Union() [2/2]

static void Microsoft.Xna.Framework.Rectangle.Union ( Rectangle value1,
Rectangle value2,
[Out] Rectangle result )
inlinestatic

Definition at line 212 of file Rectangle.cs.

213 {
214 if (!true)
215 {
216 }
217 int num;
218 result.X = num;
219 int y = value1.Y;
220 int y2 = value2.Y;
221 int num2 = Math.Min(y, y2);
222 result.Y = num2;
223 int width = value1.Width;
224 int width2 = value2.Width;
225 int num3 = Math.Max(num2, y2);
226 int y3 = value1.Y;
227 int height = value1.Height;
228 int y4 = value2.Y;
229 int height2 = value2.Height;
230 int num4 = Math.Max(num3, y2);
231 int y5 = result.Y;
233 }
class f__AnonymousType0<< Count > j__TPar
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static byte Max(byte val1, byte val2)
Definition Math.cs:111

References j__TPar, System.Math.Max(), and System.Math.Min().