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

// Token: 0x02000153 RID: 339
public class GameResolutionComparer : Il2CppSystem.Object
{
	// Token: 0x0600414B RID: 16715 RVA: 0x00103710 File Offset: 0x00101910
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 555028, XrefRangeEnd = 555030, 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: 0x0600414C RID: 16716 RVA: 0x00103788 File Offset: 0x00101988
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 555030, XrefRangeEnd = 555032, 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: 0x0600414D RID: 16717 RVA: 0x001037EC File Offset: 0x001019EC
	[CallerCount(1664)]
	[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x0600414E RID: 16718 RVA: 0x00103838 File Offset: 0x00101A38
	// 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, 100667454);
		GameResolutionComparer.NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_Resolution_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr, 100667455);
		GameResolutionComparer.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameResolutionComparer>.NativeClassPtr, 100667456);
	}

	// Token: 0x0600414F RID: 16719 RVA: 0x0000A74C File Offset: 0x0000894C
	public GameResolutionComparer(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x04002ACA RID: 10954
	private static readonly IntPtr NativeMethodInfoPtr_Equals_Public_Virtual_Final_New_Boolean_Resolution_Resolution_0;

	// Token: 0x04002ACB RID: 10955
	private static readonly IntPtr NativeMethodInfoPtr_GetHashCode_Public_Virtual_Final_New_Int32_Resolution_0;

	// Token: 0x04002ACC RID: 10956
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
