namespace FakeLightSystem
{

	// [TypeInfo RVA: 0x0]
	public class EnableDepth : MonoBehaviour
	{
		public UnityEngine.Camera TargetCamera; // 0x20

		// RVA: 0x3264310 VA: 0x781894F310
		private void Start();
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   void *pvVar3;
		 *   ulong uVar4;
		 *   undefined8 uVar5;
		 *   undefined8 *puVar6;
		 *   void *extraout_x1;
		 *   undefined8 uVar7;
		 *   undefined8 extraout_x1_00;
		 *   undefined8 extraout_x1_01;
		 *   int *piVar8;
		 *   long lVar9;
		 *   long *plVar10;
		 *
		 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_GraphicsSettings_6FC5078;
		 *   if ((bRam000000000754abbc & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_GraphicsSettings_6FC5078);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(PTR_DAT_070c5080);
		 *     bRam000000000754abbc = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
		 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar2,methodInfo);
		 *   }
		 *   pvVar3 = UnityEngine.Rendering.GraphicsSettings.get_currentRenderPipeline();
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar1);
		 *   }
		 *   uVar4 = UnityEngine.Object.op_Equality(pvVar3,null);
		 *   puVar2 = PTR_DAT_070c5080;
		 *   if ((uVar4 & 1) != 0) {
		 *     pvVar3 = this.TargetCamera;
		 *     if (pvVar3 == null) {
		 *       IL2CPP.ThrowNullReferenceException();
		 *     }
		 *     if ((bRam000000000755dda2 & 1) == 0) {
		 *       func_0x031fdc8c(PTR_DAT_0714e470,1,0);
		 *       bRam000000000755dda2 = 1;
		 *     }
		 *     if (pvVar3 != null) {
		 *       lVar9 = *(long *)((long)pvVar3 + 0x10);
		 *       if (lVar9 == 0) {
		 *         UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar3)
		 *         ;
		 *       }
		 *       if (pcRam000000000755ded0 == null) {
		 *         pcRam000000000755ded0 = (code *)func_0x031fdc50(&UNK_01388c62);
		 *       }
		 *       (*pcRam000000000755ded0)(lVar9,1);
		 *       return;
		 *     }
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *   }
		 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8;
		 *   uVar5 = *(undefined8 *)puVar2;
		 *   uVar7 = 0;
		 *   if ((bRam000000000755e09c & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,0);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40);
		 *     bRam000000000755e09c = 1;
		 *     uVar7 = extraout_x1_00;
		 *   }
		 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     uVar7 = extraout_x1_01;
		 *   }
		 *   if (cRam000000000755000b == '\0') {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,uVar7);
		 *     cRam000000000755000b = '\x01';
		 *   }
		 *   lVar9 = *(long *)puVar1;
		 *   if (*(int *)(lVar9 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar9 = *(long *)puVar1;
		 *   }
		 *   plVar10 = *(long **)(*(long *)(lVar9 + 0xb8) + 8);
		 *   if (plVar10 == null) {
		 *     IL2CPP.ThrowNullReferenceException();
		 *   }
		 *   lVar9 = *plVar10;
		 *   uVar4 = (ulong)*(ushort *)(lVar9 + 0x12e);
		 *   if (uVar4 != 0) {
		 *     piVar8 = (int *)(*(long *)(lVar9 + 0xb0) + 8);
		 *     do {
		 *       if (*(long *)(piVar8 + -2) == *(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40) {
		 *         puVar6 = (undefined8 *)(lVar9 + (long)(*piVar8 + 3) * 0x10 + 0x138);
		 *         goto LAB_069357b4;
		 *       }
		 *       uVar4 = uVar4 - 1;
		 *       piVar8 = piVar8 + 4;
		 *     } while (uVar4 != 0);
		 *   }
		 *   puVar6 = (undefined8 *)
		 *            func_0x03237558(plVar10,*(long *)typeinfo_ptr_UnityEngine_CoreModule_ILogger_6FD4B40,3);
		 * LAB_069357b4:
		 *   (*(code *)*puVar6)(plVar10,2,uVar5,puVar6[1]);
		 *   return;
		 */
		// RVA: 0x3264408 VA: 0x781894F408
		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;
		 */
	}
}
