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

namespace ch.sycoforge.Decal.Demo
{
	// Token: 0x020005FD RID: 1533
	public class ProxyRegister : MonoBehaviour
	{
		// Token: 0x06009EC9 RID: 40649 RVA: 0x0028A3AC File Offset: 0x002885AC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 622847, XrefRangeEnd = 622856, 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: 0x06009ECA RID: 40650 RVA: 0x0028A3F0 File Offset: 0x002885F0
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06009ECB RID: 40651 RVA: 0x0028A43C File Offset: 0x0028863C
		// 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, 100675505);
			ProxyRegister.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<ProxyRegister>.NativeClassPtr, 100675506);
		}

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

		// Token: 0x170035ED RID: 13805
		// (get) Token: 0x06009ECD RID: 40653 RVA: 0x0028A4A8 File Offset: 0x002886A8
		// (set) Token: 0x06009ECE RID: 40654 RVA: 0x0028A4DC File Offset: 0x002886DC
		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: 0x04006A59 RID: 27225
		private static readonly IntPtr NativeFieldInfoPtr_ProxyCollection;

		// Token: 0x04006A5A RID: 27226
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006A5B RID: 27227
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
