// [TypeInfo RVA: 0x0]
public class Canvasthing : MonoBehaviour
{
	private bool detectModsFolder; // 0x20
	private bool detectBasicMods; // 0x21
	private bool detectCanvas; // 0x22
	private float checkInterval; // 0x24
	private PlayFablogin playFabLogin; // 0x28

	// RVA: 0x3244F58 VA: 0x781892FF58
	private void Start();
	/*
	 *   void *pvVar1;
	 *   ulong uVar2;
	 *   void *this_00;
	 *   undefined8 uVar3;
	 *   long lVar4;
	 *
	 *   pvVar1 = Canvasthing.AntiCheatLoop(this);
	 *   if (pvVar1 == null) {
	 *     func_0x031fdca0(PTR_DAT_070c9118,0,0);
	 *     this_00 = (void *)func_0x031fdf24();
	 *     pvVar1 = (void *)func_0x031fdca0(PTR_DAT_0714f5c8);
	 *     NullReferenceException..ctor(this_00,pvVar1);
	 *   }
	 *   else {
	 *     uVar2 = UnityEngine.MonoBehaviour.IsObjectMonoBehaviour();
	 *     if ((uVar2 & 1) != 0) {
	 *       if ((bRam000000000755f8f7 & 1) == 0) {
	 *         func_0x031fdc8c(PTR_DAT_0714f590);
	 *         bRam000000000755f8f7 = 1;
	 *       }
	 *       if (this != null) {
	 *         lVar4 = *(long *)&this.field_0x10;
	 *         if (lVar4 == 0) {
	 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(this)
	 *           ;
	 *         }
	 *         if (pcRam000000000755f968 == null) {
	 *           pcRam000000000755f968 = (code *)func_0x031fdc50(&UNK_013604ff);
	 *         }
	 *         (*pcRam000000000755f968)(lVar4,pvVar1);
	 *         return;
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *     func_0x031fdca0(PTR_DAT_070c6fb0);
	 *     this_00 = (void *)func_0x031fdf24();
	 *     pvVar1 = (void *)func_0x031fdca0(PTR_DAT_0714f5b0);
	 *     System.ArgumentException..ctor(this_00,pvVar1);
	 *   }
	 *   uVar3 = func_0x031fdca0(PTR_DAT_0714f5d0);
	 *   IL2CPP.ThrowManagedException();
	 */
	// RVA: 0x3244F78 VA: 0x781892FF78
	private System.Collections.IEnumerator AntiCheatLoop();
	/*
	 *   undefined *puVar1;
	 *   void *this_00;
	 *   void *extraout_x1;
	 *
	 *   puVar1 = PTR_DAT_070c42f0;
	 *   if ((bRam000000000754a9f9 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c42f0);
	 *     bRam000000000754a9f9 = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   this_00 = (void *)func_0x031fdf24(*(undefined8 *)puVar1,methodInfo);
	 *   System.Object..ctor(this_00);
	 *   *(undefined4 *)((long)this_00 + 0x10) = 0;
	 *   *(undefined8 *)((long)this_00 + 0x20) = this;
	 *   func_0x031fdc38((undefined8 *)((long)this_00 + 0x20),this);
	 *   return this_00;
	 */
	// RVA: 0x324500C VA: 0x781893000C
	private void CheckForModsFolderV1();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   bool bVar4;
	 *   void *pvVar5;
	 *   void *extraout_x1;
	 *   undefined8 extraout_x8;
	 *   ulong auStack_48 [5];
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
	 *   if ((bRam000000000754a9fa & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
	 *     func_0x031fdc8c(PTR_DAT_070c1750);
	 *     func_0x031fdc8c(PTR_DAT_070c42f8);
	 *     bRam000000000754a9fa = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar2 = PTR_DAT_070c1750;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   puVar1 = PTR_DAT_070c42f8;
	 *   pvVar5 = UnityEngine.Application.get_persistentDataPath();
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar2);
	 *   }
	 *   pvVar5 = System.IO.Path.Combine(pvVar5,*(void **)puVar1);
	 *   bVar4 = Directory.Exists(pvVar5);
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
	 *   if (bVar4) {
	 *     if ((bRam000000000754a9fd & 1) == 0) {
	 *       func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
	 *       func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
	 *       func_0x031fdc8c(PTR_DAT_070c4300);
	 *       bRam000000000754a9fd = 1;
	 *     }
	 *     puVar3 = PTR_DAT_070c4300;
	 *     puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     UnityEngine.Debug.LogError(*(void **)puVar3);
	 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     UnityEngine.Application.Quit();
	 *     func_0x0325e6a0(0,0);
	 *     func_0x0325da9c();
	 *     func_0x06cb3e70(0);
	 *     func_0x06cb3e50();
	 *     auStack_48[3] = 0x3230590;
	 *     auStack_48[0] = 0;
	 *     auStack_48[1] = 0;
	 *     auStack_48[2] = 0;
	 *     func_0x032305e4(extraout_x8,auStack_48);
	 *     if ((auStack_48[0] & 1) != 0) {
	 *       func_0x06cb3df0(auStack_48[2]);
	 *     }
	 *     return;
	 *   }
	 *   return;
	 */
	// RVA: 0x3245168 VA: 0x7818930168
	private void CheckForModsFolderV2();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   bool bVar4;
	 *   void *pvVar5;
	 *   void *extraout_x1;
	 *   undefined8 extraout_x8;
	 *   ulong auStack_48 [5];
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
	 *   if ((bRam000000000754a9fb & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
	 *     func_0x031fdc8c(PTR_DAT_070c1750);
	 *     func_0x031fdc8c(PTR_DAT_070c42f8);
	 *     bRam000000000754a9fb = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar2 = PTR_DAT_070c1750;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   puVar1 = PTR_DAT_070c42f8;
	 *   pvVar5 = UnityEngine.Application.get_dataPath();
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar2);
	 *   }
	 *   pvVar5 = System.IO.Path.Combine(pvVar5,*(void **)puVar1);
	 *   bVar4 = Directory.Exists(pvVar5);
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
	 *   if (bVar4) {
	 *     if ((bRam000000000754a9fd & 1) == 0) {
	 *       func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
	 *       func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
	 *       func_0x031fdc8c(PTR_DAT_070c4300);
	 *       bRam000000000754a9fd = 1;
	 *     }
	 *     puVar3 = PTR_DAT_070c4300;
	 *     puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     UnityEngine.Debug.LogError(*(void **)puVar3);
	 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     UnityEngine.Application.Quit();
	 *     func_0x0325e6a0(0,0);
	 *     func_0x0325da9c();
	 *     func_0x06cb3e70(0);
	 *     func_0x06cb3e50();
	 *     auStack_48[3] = 0x3230590;
	 *     auStack_48[0] = 0;
	 *     auStack_48[1] = 0;
	 *     auStack_48[2] = 0;
	 *     func_0x032305e4(extraout_x8,auStack_48);
	 *     if ((auStack_48[0] & 1) != 0) {
	 *       func_0x06cb3df0(auStack_48[2]);
	 *     }
	 *     return;
	 *   }
	 *   return;
	 */
	// RVA: 0x3245224 VA: 0x7818930224
	private void CheckForSuspiciousCanvas();
	/*
	 *   uint uVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   long lVar4;
	 *   void *pvVar5;
	 *   void *extraout_x1;
	 *   void *methodInfo_00;
	 *   uint uVar6;
	 *   undefined4 uStack_14;
	 *
	 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a9fc & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c4308);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a9fc = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar3 = PTR_DAT_070c4308;
	 *   uStack_14 = 0;
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar2,methodInfo);
	 *   }
	 *   lVar4 = func_0x03890744(*(undefined8 *)puVar3);
	 *   if (lVar4 != 0) {
	 *     uVar1 = *(uint *)(lVar4 + 0x18);
	 *     if (0 < (int)uVar1) {
	 *       uVar6 = 0;
	 *       do {
	 *         if (uVar1 <= uVar6) {
	 *           IL2CPP.ThrowIndexOutOfRangeException();
	 *         }
	 *         pvVar5 = *(void **)(lVar4 + (long)(int)uVar6 * 8 + 0x20);
	 *         if ((pvVar5 == null) ||
	 *            (pvVar5 = UnityEngine.Component.get_gameObject(pvVar5),
	 *            pvVar5 == null)) goto LAB_033452f8;
	 *         uStack_14 = UnityEngine.GameObject.get_scene(pvVar5);
	 *         pvVar5 = UnityEngine.SceneManagement.Scene.get_name(&uStack_14);
	 *         if (pvVar5 == null) {
	 *           Canvasthing.TriggerAntiCheat(null);
	 *         }
	 *         uVar1 = *(uint *)(lVar4 + 0x18);
	 *         uVar6 = uVar6 + 1;
	 *       } while ((int)uVar6 < (int)uVar1);
	 *     }
	 *     return;
	 *   }
	 * LAB_033452f8:
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3245300 VA: 0x7818930300
	private void CheckForModsHappening();
	/*
	 *   return;
	 */
	// RVA: 0x32450C8 VA: 0x78189300C8
	private void TriggerAntiCheat();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   void *extraout_x1;
	 *   undefined8 extraout_x8;
	 *   ulong auStack_48 [5];
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
	 *   if ((bRam000000000754a9fd & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
	 *     func_0x031fdc8c(PTR_DAT_070c4300);
	 *     bRam000000000754a9fd = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar3 = PTR_DAT_070c4300;
	 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   UnityEngine.Debug.LogError(*(void **)puVar3);
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   UnityEngine.Application.Quit();
	 *   func_0x0325e6a0(0,0);
	 *   func_0x0325da9c();
	 *   func_0x06cb3e70(0);
	 *   func_0x06cb3e50();
	 *   auStack_48[3] = 0x3230590;
	 *   auStack_48[0] = 0;
	 *   auStack_48[1] = 0;
	 *   auStack_48[2] = 0;
	 *   func_0x032305e4(extraout_x8,auStack_48);
	 *   if ((auStack_48[0] & 1) != 0) {
	 *     func_0x06cb3df0(auStack_48[2]);
	 *   }
	 *   return;
	 */
	// RVA: 0x3245304 VA: 0x7818930304
	public void .ctor();
	/*
	 *   undefined *puVar1;
	 *
	 *   this.detectModsFolder = true;
	 *   this.detectBasicMods = true;
	 *   this.detectCanvas = true;
	 *   this.checkInterval = 5.0;
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000755f76f & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,0);
	 *     bRam000000000755f76f = 1;
	 *   }
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   return;
	 */
}
