using System;
using Cpp2IlInjected;
using UnityEngine;

namespace Obi
{
	// Token: 0x0200049D RID: 1181
	[Token(Token = "0x200049D")]
	public class ObiBoxShapeTracker : ObiShapeTracker
	{
		// Token: 0x06002A03 RID: 10755 RVA: 0x0005BAFC File Offset: 0x00059CFC
		[Token(Token = "0x6002A03")]
		[Address(RVA = "0x10007B0", Offset = "0xFFF5B0", VA = "0x1810007B0")]
		public ObiBoxShapeTracker(BoxCollider collider)
		{
			this.collider = collider;
			this.adaptor.is2D = false;
			IntPtr intPtr = Oni.CreateShape(Oni.ShapeType.Box);
			this.oniShape = intPtr;
		}

		// Token: 0x06002A04 RID: 10756 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002A04")]
		[Address(RVA = "0x10005C0", Offset = "0xFFF3C0", VA = "0x1810005C0", Slot = "5")]
		public override void UpdateIfNeeded()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x04003308 RID: 13064
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x4003308")]
		private Vector3 size;

		// Token: 0x04003309 RID: 13065
		[FieldOffset(Offset = "0x6C")]
		[Token(Token = "0x4003309")]
		private Vector3 center;
	}
}
