using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x02000499 RID: 1177
	[Token(Token = "0x2000499")]
	public class ObiBoxShapeTracker2D : ObiShapeTracker
	{
		// Token: 0x060029F9 RID: 10745 RVA: 0x0005B9F8 File Offset: 0x00059BF8
		[Token(Token = "0x60029F9")]
		[Address(RVA = "0x1000570", Offset = "0xFFF370", VA = "0x181000570")]
		public ObiBoxShapeTracker2D(BoxCollider2D collider)
		{
			this.collider = collider;
			this.adaptor.is2D = true;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Box);
			this.oniShape = intPtr;
		}

		// Token: 0x060029FA RID: 10746 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60029FA")]
		[Address(RVA = "0x10003A0", Offset = "0xFFF1A0", VA = "0x1810003A0", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x040032FD RID: 13053
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x40032FD")]
		private Vector2 size;

		// Token: 0x040032FE RID: 13054
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x40032FE")]
		private Vector2 center;
	}
}
