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

// Token: 0x0200026D RID: 621
public class OnWillRenderObjectTest : MonoBehaviour
{
	// Token: 0x06005653 RID: 22099 RVA: 0x00158D1C File Offset: 0x00156F1C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 580579, XrefRangeEnd = 580605, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(OnWillRenderObjectTest.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

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

	// Token: 0x06005655 RID: 22101 RVA: 0x00158DAC File Offset: 0x00156FAC
	// Note: this type is marked as 'beforefieldinit'.
	static OnWillRenderObjectTest()
	{
		Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "OnWillRenderObjectTest");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr);
		OnWillRenderObjectTest.NativeFieldInfoPtr_uitest = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, "uitest");
		OnWillRenderObjectTest.NativeFieldInfoPtr_im = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, "im");
		OnWillRenderObjectTest.NativeFieldInfoPtr_g_fDeltaTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, "g_fDeltaTime");
		OnWillRenderObjectTest.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, 100669157);
		OnWillRenderObjectTest.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<OnWillRenderObjectTest>.NativeClassPtr, 100669158);
	}

	// Token: 0x06005656 RID: 22102 RVA: 0x0000351C File Offset: 0x0000171C
	public OnWillRenderObjectTest(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001E8B RID: 7819
	// (get) Token: 0x06005657 RID: 22103 RVA: 0x00158E40 File Offset: 0x00157040
	// (set) Token: 0x06005658 RID: 22104 RVA: 0x00158E74 File Offset: 0x00157074
	public unsafe RectTransform uitest
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_uitest);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new RectTransform(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_uitest), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E8C RID: 7820
	// (get) Token: 0x06005659 RID: 22105 RVA: 0x00158E9C File Offset: 0x0015709C
	// (set) Token: 0x0600565A RID: 22106 RVA: 0x00158ED0 File Offset: 0x001570D0
	public unsafe Image im
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_im);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Image(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_im), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x17001E8D RID: 7821
	// (get) Token: 0x0600565B RID: 22107 RVA: 0x00158EF8 File Offset: 0x001570F8
	// (set) Token: 0x0600565C RID: 22108 RVA: 0x00158F20 File Offset: 0x00157120
	public unsafe float g_fDeltaTime
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_g_fDeltaTime);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(OnWillRenderObjectTest.NativeFieldInfoPtr_g_fDeltaTime)) = value;
		}
	}

	// Token: 0x04003962 RID: 14690
	private static readonly IntPtr NativeFieldInfoPtr_uitest;

	// Token: 0x04003963 RID: 14691
	private static readonly IntPtr NativeFieldInfoPtr_im;

	// Token: 0x04003964 RID: 14692
	private static readonly IntPtr NativeFieldInfoPtr_g_fDeltaTime;

	// Token: 0x04003965 RID: 14693
	private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

	// Token: 0x04003966 RID: 14694
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
