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

// Token: 0x02000129 RID: 297
public class GameResolutionComparer : Il2CppSystem.Object
{
	// Token: 0x06003DE2 RID: 15842 RVA: 0x000F49EC File Offset: 0x000F2BEC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 529448, XrefRangeEnd = 529450, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual bool Equals(Resolution x, Resolution y)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref x;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref y;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameResolutionComparer.NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_Resolution_Resolution_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		return *IL2CPP.il2cpp_object_unbox(intPtr);
	}

	// Token: 0x06003DE3 RID: 15843 RVA: 0x000F4A64 File Offset: 0x000F2C64
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 529450, XrefRangeEnd = 529452, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual int GetHashCode(Resolution obj)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref obj;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameResolutionComparer.NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_Resolution_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			return *IL2CPP.il2cpp_object_unbox(intPtr);
		}
	}

	// Token: 0x06003DE4 RID: 15844 RVA: 0x000F4AC8 File Offset: 0x000F2CC8
	[CallerCount(1642)]
	[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameResolutionComparer()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameResolutionComparer.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06003DE5 RID: 15845 RVA: 0x000F4B14 File Offset: 0x000F2D14
	// Note: this type is marked as 'beforefieldinit'.
	static GameResolutionComparer()
	{
		Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameResolutionComparer");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr);
		GameResolutionComparer.NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_Resolution_Resolution_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr, 100667131);
		GameResolutionComparer.NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_Resolution_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr, 100667132);
		GameResolutionComparer.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr, 100667133);
	}

	// Token: 0x06003DE6 RID: 15846 RVA: 0x0000A688 File Offset: 0x00008888
	public GameResolutionComparer(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x04002874 RID: 10356
	private static readonly IntPtr NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_Resolution_Resolution_0;

	// Token: 0x04002875 RID: 10357
	private static readonly IntPtr NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_Resolution_0;

	// Token: 0x04002876 RID: 10358
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
