using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using UnityEngine;

// Token: 0x02000270 RID: 624
public class XAngle : MonoBehaviour
{
	// Token: 0x0600566E RID: 22126 RVA: 0x0015935C File Offset: 0x0015755C
	[CallerCount(5874)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Start()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(XAngle.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600566F RID: 22127 RVA: 0x001593A0 File Offset: 0x001575A0
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580628, XrefRangeEnd = 580639, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(XAngle.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005670 RID: 22128 RVA: 0x001593E4 File Offset: 0x001575E4
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe XAngle()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<XAngle>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(XAngle.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005671 RID: 22129 RVA: 0x00159430 File Offset: 0x00157630
	// Note: this type is marked as 'beforefieldinit'.
	static XAngle()
	{
		Il2CppClassPointerStore<XAngle>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "XAngle");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<XAngle>.NativeClassPtr);
		XAngle.NativeFieldInfoPtr_A = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<XAngle>.NativeClassPtr, "A");
		XAngle.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XAngle>.NativeClassPtr, 100669166);
		XAngle.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XAngle>.NativeClassPtr, 100669167);
		XAngle.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XAngle>.NativeClassPtr, 100669168);
	}

	// Token: 0x06005672 RID: 22130 RVA: 0x0000351C File Offset: 0x0000171C
	public XAngle(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E91 RID: 7825
	// (get) Token: 0x06005673 RID: 22131 RVA: 0x001594B0 File Offset: 0x001576B0
	// (set) Token: 0x06005674 RID: 22132 RVA: 0x001594E4 File Offset: 0x001576E4
	public unsafe Transform A
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(XAngle.NativeFieldInfoPtr_A);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Transform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(XAngle.NativeFieldInfoPtr_A), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x04003971 RID: 14705
	private static readonly IntPtr NativeFieldInfoPtr_A;

	// Token: 0x04003972 RID: 14706
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x04003973 RID: 14707
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003974 RID: 14708
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
