// Decompiled with JetBrains decompiler
// Type: A.o
// Assembly: RansomGuard, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 37652FF6-4FF5-4E76-944D-E6CA5073036F
// Assembly location: RansomGuard.dll inside C:\Users\WDAGUtilityAccount\Desktop\RansomGuard.exe)

using System.Drawing;
using System.Drawing.Drawing2D;
using System.Runtime.InteropServices;

#nullable enable
namespace A;

internal static class o
{
  public static void A([In] this Graphics obj0, [In] Brush obj1, [In] Rectangle obj2, [In] int obj3)
  {
    using (GraphicsPath path = new GraphicsPath())
    {
      int num = obj3 * 2;
      Rectangle rect = new Rectangle(obj2.Location, new Size(num, num));
      path.AddArc(rect, 180f, 90f);
      rect.X = obj2.Right - num;
      path.AddArc(rect, 270f, 90f);
      rect.Y = obj2.Bottom - num;
      path.AddArc(rect, 0.0f, 90f);
      rect.X = obj2.Left;
      path.AddArc(rect, 90f, 90f);
      path.CloseFigure();
      obj0.FillPath(obj1, path);
    }
  }
}
