using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x0200049A RID: 1178
	[Token(Token = "0x200049A")]
	public class ObiCapsuleShapeTracker2D : ObiShapeTracker
	{
		// Token: 0x060029FB RID: 10747 RVA: 0x0005BA2C File Offset: 0x00059C2C
		[Token(Token = "0x60029FB")]
		[Address(RVA = "0x1000A70", Offset = "0xFFF870", VA = "0x181000A70")]
		public ObiCapsuleShapeTracker2D(CapsuleCollider2D collider)
		{
			this.collider = collider;
			this.adaptor.is2D = true;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Capsule);
			this.oniShape = intPtr;
		}

		// Token: 0x060029FC RID: 10748 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x60029FC")]
		[Address(RVA = "0x1000800", Offset = "0xFFF600", VA = "0x181000800", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x040032FF RID: 13055
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x40032FF")]
		private CapsuleDirection2D direction;

		// Token: 0x04003300 RID: 13056
		[FieldOffset(Offset = "0x64")]
		[Token(Token = "0x4003300")]
		private Vector2 size;

		// Token: 0x04003301 RID: 13057
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x4003301")]
		private Vector2 center;
	}
}
