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

// Token: 0x0200022F RID: 559
public class XAngle : MonoBehaviour
{
	// Token: 0x060050FD RID: 20733 RVA: 0x001429A4 File Offset: 0x00140BA4
	[CallerCount(5585)]
	[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, 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: 0x060050FE RID: 20734 RVA: 0x001429E8 File Offset: 0x00140BE8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 552413, XrefRangeEnd = 552424, 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: 0x060050FF RID: 20735 RVA: 0x00142A2C File Offset: 0x00140C2C
	[CallerCount(63)]
	[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06005100 RID: 20736 RVA: 0x00142A78 File Offset: 0x00140C78
	// 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, 100668707);
		XAngle.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XAngle>.NativeClassPtr, 100668708);
		XAngle.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<XAngle>.NativeClassPtr, 100668709);
	}

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

	// Token: 0x17001CF0 RID: 7408
	// (get) Token: 0x06005102 RID: 20738 RVA: 0x00142AF8 File Offset: 0x00140CF8
	// (set) Token: 0x06005103 RID: 20739 RVA: 0x00142B2C File Offset: 0x00140D2C
	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: 0x040035A6 RID: 13734
	private static readonly IntPtr NativeFieldInfoPtr_A;

	// Token: 0x040035A7 RID: 13735
	private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

	// Token: 0x040035A8 RID: 13736
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x040035A9 RID: 13737
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
