using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x020004F1 RID: 1265
	[Token(Token = "0x20004F1")]
	public class ObiBoxShapeTracker2D : ObiShapeTracker
	{
		// Token: 0x06002CC2 RID: 11458 RVA: 0x00062DBC File Offset: 0x00060FBC
		[Token(Token = "0x6002CC2")]
		[Address(RVA = "0x10938A0", Offset = "0x10928A0", VA = "0x1810938A0")]
		public ObiBoxShapeTracker2D(BoxCollider2D collider)
		{
			this.collider = collider;
			this.adaptor.is2D = true;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Box);
			this.oniShape = intPtr;
		}

		// Token: 0x06002CC3 RID: 11459 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002CC3")]
		[Address(RVA = "0x10936D0", Offset = "0x10926D0", VA = "0x1810936D0", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x040035E7 RID: 13799
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x40035E7")]
		private Vector2 size;

		// Token: 0x040035E8 RID: 13800
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x40035E8")]
		private Vector2 center;
	}
}
