namespace PixelSecurity.UI
{

	// [TypeInfo RVA: 0x0]
	public class BaseView : MonoBehaviour
	{
		private PixelSecurity.UI.IContext _context; // 0x20
		private bool _isEnabled; // 0x28
		private UnityEngine.Canvas _canvas; // 0x30

		// RVA: 0x329585C VA: 0x781898085C
		private void Awake();
		/*
		 *   undefined *puVar1;
		 *   void *pvVar2;
		 *   void **ppvVar3;
		 *
		 *   puVar1 = PTR_DAT_070c59a8;
		 *   if ((bRam000000000754ad6f & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_070c59a8);
		 *     bRam000000000754ad6f = 1;
		 *   }
		 *   pvVar2 = (void *)func_0x0373df50(this,*(undefined8 *)puVar1);
		 *   ppvVar3 = &this.canvas;
		 *   *ppvVar3 = pvVar2;
		 *   if (iRam00000000077785f0 != 0) {
		 *     func_0x032ed0c0(1L << ((ulong)ppvVar3 >> 0xc & 0x3f),
		 *                     ((ulong)ppvVar3 >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
		 *   }
		 *   return;
		 */
		// RVA: 0x32958B4 VA: 0x78189808B4
		public virtual PixelSecurity.UI.IView SetContext(PixelSecurity.UI.IContext context);
		/*
		 *   this.context = context;
		 *   func_0x031fdc38();
		 *   return this;
		 */
		// RVA: 0x32958D0 VA: 0x78189808D0
		public void Show();
		/*
		 *   undefined *puVar1;
		 *   ulong uVar2;
		 *   void *extraout_x1;
		 *   void *pvVar3;
		 *   long lVar4;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754ad70 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754ad70 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar3 = this.canvas;
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1,methodInfo);
		 *   }
		 *   uVar2 = UnityEngine.Object.op_Inequality(pvVar3,null);
		 *   if ((uVar2 & 1) == 0) {
		 *     pvVar3 = UnityEngine.Component.get_gameObject(this);
		 *     if (pvVar3 != null) {
		 *       if ((bRam000000000755f7e0 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_0714f3e0,1,0);
		 *         bRam000000000755f7e0 = 1;
		 *       }
		 *       if (pvVar3 != null) {
		 *         lVar4 = *(long *)((long)pvVar3 + 0x10);
		 *         if (lVar4 == 0) {
		 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar3);
		 *         }
		 *         if (pcRam000000000755f860 == null) {
		 *           pcRam000000000755f860 = (code *)func_0x031fdc50(&UNK_0138da18);
		 *         }
		 *         (*pcRam000000000755f860)(lVar4,1);
		 *         return;
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   else {
		 *     pvVar3 = this.canvas;
		 *     if (pvVar3 != null) {
		 *       if ((bRam000000000755f745 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_0714f3a0,1,0);
		 *         bRam000000000755f745 = 1;
		 *       }
		 *       if (pvVar3 != null) {
		 *         lVar4 = *(long *)((long)pvVar3 + 0x10);
		 *         if (lVar4 == 0) {
		 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar3);
		 *         }
		 *         if (pcRam000000000755f750 == null) {
		 *           pcRam000000000755f750 = (code *)func_0x031fdc50(&UNK_0137c3e0);
		 *         }
		 *         (*pcRam000000000755f750)(lVar4,1);
		 *         return;
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3295970 VA: 0x7818980970
		public void Hide();
		/*
		 *   undefined *puVar1;
		 *   ulong uVar2;
		 *   void *extraout_x1;
		 *   void *pvVar3;
		 *   long lVar4;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754ad71 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754ad71 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   pvVar3 = this.canvas;
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1,methodInfo);
		 *   }
		 *   uVar2 = UnityEngine.Object.op_Inequality(pvVar3,null);
		 *   if ((uVar2 & 1) == 0) {
		 *     pvVar3 = UnityEngine.Component.get_gameObject(this);
		 *     if (pvVar3 != null) {
		 *       if ((bRam000000000755f7e0 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_0714f3e0,0,0);
		 *         bRam000000000755f7e0 = 1;
		 *       }
		 *       if (pvVar3 != null) {
		 *         lVar4 = *(long *)((long)pvVar3 + 0x10);
		 *         if (lVar4 == 0) {
		 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar3);
		 *         }
		 *         if (pcRam000000000755f860 == null) {
		 *           pcRam000000000755f860 = (code *)func_0x031fdc50(&UNK_0138da18);
		 *         }
		 *         (*pcRam000000000755f860)(lVar4,0);
		 *         return;
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   else {
		 *     pvVar3 = this.canvas;
		 *     if (pvVar3 != null) {
		 *       if ((bRam000000000755f745 & 1) == 0) {
		 *         func_0x031fdc8c(PTR_DAT_0714f3a0,0,0);
		 *         bRam000000000755f745 = 1;
		 *       }
		 *       if (pvVar3 != null) {
		 *         lVar4 = *(long *)((long)pvVar3 + 0x10);
		 *         if (lVar4 == 0) {
		 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar3);
		 *         }
		 *         if (pcRam000000000755f750 == null) {
		 *           pcRam000000000755f750 = (code *)func_0x031fdc50(&UNK_0137c3e0);
		 *         }
		 *         (*pcRam000000000755f750)(lVar4,0);
		 *         return;
		 *       }
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3151514 VA: 0x781883C514
		public TContext GetContext();
		/*
		 *   ulong uVar1;
		 *   undefined8 uVar2;
		 *   long lVar3;
		 *   long extraout_x1;
		 *   ulong uStack_68;
		 *   undefined8 uStack_60;
		 *   ulong uStack_58;
		 *   ulong uStack_50;
		 *   undefined8 uStack_48;
		 *   ulong uStack_40;
		 *   undefined8 uStack_30;
		 *
		 *   uVar2 = func_0x0324811c(&UNK_0135f5af);
		 *   func_0x03246e3c(uVar2,0);
		 *   uStack_30 = 0x325152c;
		 *   func_0x03204ad0(&uStack_50,&UNK_0135f5af);
		 *   if ((extraout_x1 != 0) && (*(long *)(extraout_x1 + 0x18) != 0)) {
		 *     func_0x0324eee0(&uStack_68,extraout_x1);
		 *     if ((uStack_50 & 1) != 0) {
		 *       func_0x06cb3df0(uStack_40);
		 *     }
		 *     uStack_48 = uStack_60;
		 *     uStack_50 = uStack_68;
		 *     uStack_40 = uStack_58;
		 *   }
		 *   uVar1 = (ulong)&uStack_50 | 1;
		 *   if ((uStack_50 & 1) != 0) {
		 *     uVar1 = uStack_40;
		 *   }
		 *   uVar2 = func_0x0324811c(uVar1);
		 *   uVar2 = func_0x03246e3c(uVar2,0);
		 *   if ((uStack_50 & 1) != 0) {
		 *     func_0x06cb3df0(uStack_40);
		 *   }
		 *   func_0x032ed34c(uVar2);
		 *   lVar3 = func_0x03251624();
		 *   if (lVar3 == 0) {
		 *     lVar3 = func_0x06cb3e10(0x20);
		 *     *(undefined8 *)(lVar3 + 8) = 0;
		 *     func_0x03227278(lVar3 + 0x10,0,0);
		 *     *(undefined4 *)(lVar3 + 0x18) = 0;
		 *   }
		 *   return lVar3;
		 */
		// RVA: 0x32954E0 VA: 0x78189804E0
		public PixelSecurity.UI.IView SetAsGlobalView();
		/*
		 *   undefined *puVar1;
		 *   void *extraout_x1;
		 *
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if ((bRam000000000754ad72 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     bRam000000000754ad72 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1,methodInfo);
		 *   }
		 *   UnityEngine.Object.DontDestroyOnLoad(this);
		 *   return this;
		 */
		// RVA: 0x3295A10 VA: 0x7818980A10
		private void SetPosition(UnityEngine.Vector3 position);
		/*
		 *   void *obj;
		 *   long lVar1;
		 *   float fStack_2c;
		 *   float fStack_28;
		 *   float fStack_24;
		 *
		 *   obj = UnityEngine.Component.get_transform(this);
		 *   if (obj == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   fStack_2c = position.x;
		 *   fStack_28 = position.y;
		 *   fStack_24 = position.z;
		 *   if ((bRam000000000755ff19 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_0714f6d0,0);
		 *     bRam000000000755ff19 = 1;
		 *   }
		 *   if (obj != null) {
		 *     lVar1 = *(long *)((long)obj + 0x10);
		 *     if (lVar1 == 0) {
		 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
		 *     }
		 *     if (pcRam000000000755ff50 == null) {
		 *       pcRam000000000755ff50 = (code *)func_0x031fdc50(&UNK_01396672);
		 *     }
		 *     (*pcRam000000000755ff50)(lVar1,&fStack_2c);
		 *     return;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3295A58 VA: 0x7818980A58
		private void SetRotation(UnityEngine.Quaternion rotation);
		/*
		 *   void *obj;
		 *   long lVar1;
		 *
		 *   obj = UnityEngine.Component.get_transform(this);
		 *   if (obj == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if ((bRam000000000755ff1d & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_0714f6d0,0);
		 *     bRam000000000755ff1d = 1;
		 *   }
		 *   if (obj != null) {
		 *     lVar1 = *(long *)((long)obj + 0x10);
		 *     if (lVar1 == 0) {
		 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
		 *     }
		 *     if (pcRam000000000755ff70 == null) {
		 *       pcRam000000000755ff70 = (code *)func_0x031fdc50(&UNK_013598d0);
		 *     }
		 *     (*pcRam000000000755ff70)(lVar1,&stack0xffffffffffffffd0);
		 *     return;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3295AA8 VA: 0x7818980AA8
		private void SetScale(UnityEngine.Vector3 scale);
		/*
		 *   void *obj;
		 *   long lVar1;
		 *   float fStack_2c;
		 *   float fStack_28;
		 *   float fStack_24;
		 *
		 *   obj = UnityEngine.Component.get_transform(this);
		 *   if (obj == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   fStack_2c = scale.x;
		 *   fStack_28 = scale.y;
		 *   fStack_24 = scale.z;
		 *   if ((bRam000000000755ff21 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_0714f6d0,0);
		 *     bRam000000000755ff21 = 1;
		 *   }
		 *   if (obj != null) {
		 *     lVar1 = *(long *)((long)obj + 0x10);
		 *     if (lVar1 == 0) {
		 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(obj);
		 *     }
		 *     if (pcRam000000000755ff90 == null) {
		 *       pcRam000000000755ff90 = (code *)func_0x031fdc50(&UNK_01396719);
		 *     }
		 *     (*pcRam000000000755ff90)(lVar1,&fStack_2c);
		 *     return;
		 *   }
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x3295AF0 VA: 0x7818980AF0
		public UnityEngine.Transform GetViewTransform();
		/*
		 *   undefined *puVar1;
		 *   undefined8 *puVar2;
		 *   void *pvVar3;
		 *   void *pvVar4;
		 *   long lVar5;
		 *
		 *   if ((bRam000000000755f766 & 1) == 0) {
		 *     func_0x031fdc8c(PTR_DAT_0714f3d0,0);
		 *     func_0x031fdc8c(PTR_DAT_0714df98);
		 *     bRam000000000755f766 = 1;
		 *   }
		 *   if (this == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   lVar5 = *(long *)&this.field_0x10;
		 *   if (lVar5 == 0) {
		 *     UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(this);
		 *   }
		 *   puVar1 = PTR_DAT_0714df98;
		 *   if (pcRam000000000755f770 == null) {
		 *     pcRam000000000755f770 = (code *)func_0x031fdc50(&UNK_0135e216);
		 *   }
		 *   pvVar4 = (void *)(*pcRam000000000755f770)(lVar5);
		 *   lVar5 = *(long *)puVar1;
		 *   if (*(long *)(lVar5 + 0x38) == 0) {
		 *     func_0x03237280(lVar5);
		 *   }
		 *   if (pvVar4 != null) {
		 *     if (cRam000000000754b07b == '\0') {
		 *       func_0x031fdc8c(&DAT_0726eae8);
		 *       cRam000000000754b07b = '\x01';
		 *     }
		 *     if (((ulong)pvVar4 & 1) == 0) {
		 *       puVar2 = (undefined8 *)System.IntPtr.op_Explicit();
		 *       pvVar4 = (void *)*puVar2;
		 *     }
		 *     else {
		 *       pvVar4 = System.Runtime.InteropServices.GCHandle.GetTarget(pvVar4);
		 *     }
		 *     lVar5 = **(long **)(lVar5 + 0x38);
		 *     if ((*(ushort *)(lVar5 + 0x135) & 1) == 0) {
		 *       lVar5 = func_0x03237224(lVar5);
		 *     }
		 *     if (pvVar4 != null) {
		 *       pvVar3 = (void *)func_0x031fde0c(pvVar4,lVar5);
		 *       if (pvVar3 != null) {
		 *         return pvVar3;
		 *       }
		 *       noreturn_helper_30fe2b4(pvVar4,lVar5);
		 *     }
		 *   }
		 *   return null;
		 */
		// RVA: 0x3295AF8 VA: 0x7818980AF8
		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;
		 */
	}
}
