using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x020004F5 RID: 1269
	[Token(Token = "0x20004F5")]
	public class ObiBoxShapeTracker : ObiShapeTracker
	{
		// Token: 0x06002CCC RID: 11468 RVA: 0x00062EC0 File Offset: 0x000610C0
		[Token(Token = "0x6002CCC")]
		[Address(RVA = "0x1093AE0", Offset = "0x1092AE0", VA = "0x181093AE0")]
		public ObiBoxShapeTracker(BoxCollider collider)
		{
			this.collider = collider;
			this.adaptor.is2D = false;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Box);
			this.oniShape = intPtr;
		}

		// Token: 0x06002CCD RID: 11469 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002CCD")]
		[Address(RVA = "0x10938F0", Offset = "0x10928F0", VA = "0x1810938F0", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x040035F2 RID: 13810
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x40035F2")]
		private Vector3 size;

		// Token: 0x040035F3 RID: 13811
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x40035F3")]
		private Vector3 center;
	}
}
