using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x020004F2 RID: 1266
	[Token(Token = "0x20004F2")]
	public class ObiCapsuleShapeTracker2D : ObiShapeTracker
	{
		// Token: 0x06002CC4 RID: 11460 RVA: 0x00062DF0 File Offset: 0x00060FF0
		[Token(Token = "0x6002CC4")]
		[Address(RVA = "0x1093DA0", Offset = "0x1092DA0", VA = "0x181093DA0")]
		public ObiCapsuleShapeTracker2D(CapsuleCollider2D collider)
		{
			this.collider = collider;
			this.adaptor.is2D = true;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Capsule);
			this.oniShape = intPtr;
		}

		// Token: 0x06002CC5 RID: 11461 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002CC5")]
		[Address(RVA = "0x1093B30", Offset = "0x1092B30", VA = "0x181093B30", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x040035E9 RID: 13801
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x40035E9")]
		private CapsuleDirection2D direction;

		// Token: 0x040035EA RID: 13802
		[FieldOffset(Offset = "0x64")]
		[Token(Token = "0x40035EA")]
		private Vector2 size;

		// Token: 0x040035EB RID: 13803
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x40035EB")]
		private Vector2 center;
	}
}
