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

namespace ch.sycoforge.Decal.Demo
{
	// Token: 0x02000655 RID: 1621
	public class ProxyRegister : MonoBehaviour
	{
		// Token: 0x0600A71C RID: 42780 RVA: 0x002AD0E8 File Offset: 0x002AB2E8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 655149, XrefRangeEnd = 655158, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(ProxyRegister.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x0600A71E RID: 42782 RVA: 0x002AD178 File Offset: 0x002AB378
		// Note: this type is marked as 'beforefieldinit'.
		static ProxyRegister()
		{
			Il2CppClassPointerStore<ProxyRegister>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "ch.sycoforge.Decal.Demo", "ProxyRegister");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<ProxyRegister>.NativeClassPtr);
			ProxyRegister.NativeFieldInfoPtr_ProxyCollection = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<ProxyRegister>.NativeClassPtr, "ProxyCollection");
			ProxyRegister.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ProxyRegister>.NativeClassPtr, 100676218);
			ProxyRegister.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ProxyRegister>.NativeClassPtr, 100676219);
		}

		// Token: 0x0600A71F RID: 42783 RVA: 0x0000351C File Offset: 0x0000171C
		public ProxyRegister(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003888 RID: 14472
		// (get) Token: 0x0600A720 RID: 42784 RVA: 0x002AD1E4 File Offset: 0x002AB3E4
		// (set) Token: 0x0600A721 RID: 42785 RVA: 0x002AD218 File Offset: 0x002AB418
		public unsafe StaticProxyCollection ProxyCollection
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(ProxyRegister.NativeFieldInfoPtr_ProxyCollection);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new StaticProxyCollection(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(ProxyRegister.NativeFieldInfoPtr_ProxyCollection), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04007002 RID: 28674
		private static readonly IntPtr NativeFieldInfoPtr_ProxyCollection;

		// Token: 0x04007003 RID: 28675
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04007004 RID: 28676
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
