// [TypeInfo RVA: 0x0]
public class NetworkedDayNightCycle : MonoBehaviourPunCallbacks
{
	public float currentTime; // 0x28
	public float dayLengthInMinutes; // 0x2C
	public System.Collections.Generic.List<UnityEngine.Light> dayLights; // 0x30
	public System.Collections.Generic.List<UnityEngine.Light> nightLights; // 0x38
	public UnityEngine.MeshRenderer skyboxRenderer; // 0x40
	public UnityEngine.Vector2 fadeInHours; // 0x48
	public UnityEngine.Vector2 fadeOutHours; // 0x50
	public UnityEngine.Vector2 holdOpaqueHours; // 0x58
	public UnityEngine.Transform directionalPivot; // 0x60
	public float rotationSpeedMultiplier; // 0x68
	public float lightFadeSpeed; // 0x6C
	public float skyboxFadeSpeed; // 0x70
	private float dayDuration; // 0x74
	private UnityEngine.Material skyboxMat; // 0x78
	private float originalSkyboxAlpha; // 0x80
	private System.Collections.Generic.Dictionary<UnityEngine.Light,System.Single> baseIntensities; // 0x88

	// RVA: 0x31FE6EC VA: 0x78188E96EC
	private void Start();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   undefined *puVar4;
	 *   undefined *puVar5;
	 *   undefined *puVar6;
	 *   bool bVar7;
	 *   long lVar8;
	 *   ulong uVar9;
	 *   void *extraout_x1;
	 *   void *pvVar10;
	 *   void **ppvVar11;
	 *   void *pvVar12;
	 *   UnityEngine_Color UVar13;
	 *   undefined8 uStack_88;
	 *   undefined8 *puStack_80;
	 *   void *pvStack_78;
	 *   undefined8 uStack_70;
	 *   undefined8 *puStack_68;
	 *   void *pvStack_60;
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a778 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c0e40);
	 *     func_0x031fdc8c(PTR_DAT_070c0e48);
	 *     func_0x031fdc8c(PTR_DAT_070c0e50);
	 *     func_0x031fdc8c(PTR_DAT_070c0e58);
	 *     func_0x031fdc8c(PTR_DAT_070c0e60);
	 *     func_0x031fdc8c(PTR_DAT_070c0e68);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(PTR_DAT_070c0e70);
	 *     bRam000000000754a778 = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   lVar8 = *(long *)puVar1;
	 *   pvVar10 = this.skyboxRenderer;
	 *   uStack_70 = 0;
	 *   puStack_68 = null;
	 *   pvStack_60 = null;
	 *   this.dayDuration = this.dayLengthInMinutes * 60.0;
	 *   if (*(int *)(lVar8 + 0xe4) == 0) {
	 *     func_0x031fde08(lVar8,methodInfo);
	 *   }
	 *   uVar9 = UnityEngine.Object.op_Implicit(pvVar10);
	 *   if ((uVar9 & 1) != 0) {
	 *     if (this.skyboxRenderer == null) goto LAB_032fe9d8;
	 *     pvVar10 = UnityEngine.Renderer.get_material(this.skyboxRenderer);
	 *     ppvVar11 = &this.skyboxMat;
	 *     *ppvVar11 = pvVar10;
	 *     func_0x031fdc38(ppvVar11,pvVar10);
	 *     if (*ppvVar11 == null) goto LAB_032fe9d8;
	 *     bVar7 = UnityEngine.Material.HasProperty(*ppvVar11,*(void **)PTR_DAT_070c0e70);
	 *     if (bVar7) {
	 *       if (*ppvVar11 == null) goto LAB_032fe9d8;
	 *       UVar13 = UnityEngine.Material.get_color(*ppvVar11);
	 *       this.originalSkyboxAlpha = UVar13.a;
	 *     }
	 *   }
	 *   puVar6 = PTR_DAT_070c0e68;
	 *   puVar5 = PTR_DAT_070c0e58;
	 *   puVar4 = PTR_DAT_070c0e50;
	 *   puVar3 = PTR_DAT_070c0e48;
	 *   puVar2 = PTR_DAT_070c0e40;
	 *   if (this.dayLights != null) {
	 *     func_0x03f2e1a8(&uStack_88,this.dayLights,*(undefined8 *)PTR_DAT_070c0e68);
	 *     pvStack_60 = pvStack_78;
	 *     puStack_68 = puStack_80;
	 *     uStack_70 = uStack_88;
	 *     uStack_88 = 0;
	 *     puStack_80 = &uStack_70;
	 *     while (uVar9 = func_0x05018cac(&uStack_70,*(undefined8 *)puVar5), pvVar10 = pvStack_60,
	 *           (uVar9 & 1) != 0) {
	 *       if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       uVar9 = UnityEngine.Object.op_Implicit(pvVar10);
	 *       if ((uVar9 & 1) != 0) {
	 *         if (this.baseIntensities == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         uVar9 = func_0x04e3a498(this.baseIntensities,pvVar10,*(undefined8 *)puVar2);
	 *         if ((uVar9 & 1) == 0) {
	 *           if (pvVar10 == null) {
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *           pvVar12 = this.baseIntensities;
	 *           UnityEngine.Light.get_intensity(pvVar10);
	 *           if (pvVar12 == null) {
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *           func_0x04e3a28c(pvVar12,pvVar10,*(undefined8 *)puVar3);
	 *         }
	 *       }
	 *     }
	 *     func_0x05018ca8(&uStack_70,*(undefined8 *)puVar4);
	 *     if (this.nightLights != null) {
	 *       func_0x03f2e1a8(&uStack_88,this.nightLights,*(undefined8 *)puVar6);
	 *       pvStack_60 = pvStack_78;
	 *       puStack_68 = puStack_80;
	 *       uStack_70 = uStack_88;
	 *       uStack_88 = 0;
	 *       puStack_80 = &uStack_70;
	 *       while( true ) {
	 *         do {
	 *           do {
	 *             uVar9 = func_0x05018cac(&uStack_70,*(undefined8 *)puVar5);
	 *             pvVar10 = pvStack_60;
	 *             if ((uVar9 & 1) == 0) {
	 *               func_0x05018ca8(&uStack_70,*(undefined8 *)puVar4);
	 *               return;
	 *             }
	 *             if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *               func_0x031fde08();
	 *             }
	 *             uVar9 = UnityEngine.Object.op_Implicit(pvVar10);
	 *           } while ((uVar9 & 1) == 0);
	 *           if (this.baseIntensities == null) {
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *           uVar9 = func_0x04e3a498(this.baseIntensities,pvVar10,*(undefined8 *)puVar2);
	 *         } while ((uVar9 & 1) != 0);
	 *         if (pvVar10 == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         pvVar12 = this.baseIntensities;
	 *         UnityEngine.Light.get_intensity(pvVar10);
	 *         if (pvVar12 == null) break;
	 *         func_0x04e3a28c(pvVar12,pvVar10,*(undefined8 *)puVar3);
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 * LAB_032fe9d8:
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x31FEA9C VA: 0x78188E9A9C
	private void Update();
	/*
	 *   undefined *puVar1;
	 *   bool bVar2;
	 *   ulong uVar3;
	 *   void *extraout_x1;
	 *   void *extraout_x1_00;
	 *   void *extraout_x1_01;
	 *   void *methodInfo_00;
	 *   void *pvVar4;
	 *   long lVar5;
	 *   float fVar6;
	 *   float fVar7;
	 *   float fVar8;
	 *   float fVar9;
	 *   float fVar10;
	 *   UnityEngine_Color UVar11;
	 *   UnityEngine_Color value;
	 *
	 *   puVar1 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
	 *   if ((bRam000000000754a779 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     bRam000000000754a779 = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   bVar2 = Photon.Pun.PhotonNetwork.get_IsMasterClient();
	 *   pvVar4 = extraout_x1_00;
	 *   if (bVar2) {
	 *     fVar10 = this.currentTime;
	 *     fVar6 = UnityEngine.Time.get_deltaTime();
	 *     fVar10 = fVar10 + (fVar6 / this.dayDuration) * 24.0;
	 *     this.currentTime = fVar10;
	 *     pvVar4 = extraout_x1_01;
	 *     if (24.0 <= fVar10) {
	 *       this.currentTime = 0.0;
	 *     }
	 *   }
	 *   NetworkedDayNightCycle.UpdateRotation(this);
	 *   NetworkedDayNightCycle.UpdateLighting(this);
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a77c & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a77c = 1;
	 *   }
	 *   pvVar4 = this.skyboxRenderer;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   uVar3 = UnityEngine.Object.op_Implicit(pvVar4);
	 *   if ((uVar3 & 1) != 0) {
	 *     pvVar4 = this.skyboxMat;
	 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar3 = UnityEngine.Object.op_Equality(pvVar4,null);
	 *     if ((uVar3 & 1) == 0) {
	 *       fVar6 = this.currentTime;
	 *       if ((fVar6 < (this.holdOpaqueHours).x) || (fVar10 = 1.0, (this.holdOpaqueHours).y < fVar6))
	 *       {
	 *         fVar10 = (this.fadeInHours).x;
	 *         if ((fVar6 < fVar10) || (fVar7 = (this.fadeInHours).y, fVar7 < fVar6)) {
	 *           fVar7 = (this.fadeOutHours).x;
	 *           fVar10 = 0.0;
	 *           if ((fVar7 <= fVar6) && (fVar8 = (this.fadeOutHours).y, fVar6 <= fVar8)) {
	 *             fVar9 = 0.0;
	 *             if (fVar7 != fVar8) {
	 *               fVar10 = (fVar6 - fVar7) / (fVar8 - fVar7);
	 *               fVar6 = 1.0;
	 *               if (fVar10 <= 1.0) {
	 *                 fVar6 = fVar10;
	 *               }
	 *               fVar9 = 0.0;
	 *               if (0.0 <= fVar10) {
	 *                 fVar9 = fVar6;
	 *               }
	 *             }
	 *             fVar10 = 0.0;
	 *             if (0.0 <= fVar9) {
	 *               fVar10 = fVar9;
	 *             }
	 *             fVar10 = 1.0 - fVar10;
	 *           }
	 *         }
	 *         else {
	 *           fVar8 = 0.0;
	 *           if (fVar10 != fVar7) {
	 *             fVar10 = (fVar6 - fVar10) / (fVar7 - fVar10);
	 *             fVar6 = 1.0;
	 *             if (fVar10 <= 1.0) {
	 *               fVar6 = fVar10;
	 *             }
	 *             fVar8 = 0.0;
	 *             if (0.0 <= fVar10) {
	 *               fVar8 = fVar6;
	 *             }
	 *           }
	 *           fVar10 = 0.0;
	 *           if (0.0 <= fVar8) {
	 *             fVar10 = fVar8;
	 *           }
	 *           fVar10 = fVar10 + 0.0;
	 *         }
	 *       }
	 *       if (this.skyboxMat != null) {
	 *         UVar11 = UnityEngine.Material.get_color(this.skyboxMat);
	 *         fVar7 = UVar11.a;
	 *         value.b = UVar11.b;
	 *         fVar8 = this.originalSkyboxAlpha;
	 *         fVar6 = UnityEngine.Time.get_deltaTime();
	 *         fVar10 = fVar10 * fVar8;
	 *         fVar8 = fVar6 * this.skyboxFadeSpeed;
	 *         fVar6 = -(fVar6 * this.skyboxFadeSpeed);
	 *         if (0.0 <= fVar10 - fVar7) {
	 *           fVar6 = fVar8;
	 *         }
	 *         fVar6 = fVar7 + fVar6;
	 *         if (ABS(fVar10 - fVar7) <= fVar8) {
	 *           fVar6 = fVar10;
	 *         }
	 *         if (this.skyboxMat != null) {
	 *           value.a = fVar6;
	 *           value.r = (float)(int)UVar11._0_8_;
	 *           value.g = (float)(int)((ulong)UVar11._0_8_ >> 0x20);
	 *           UnityEngine.Material.set_color(this.skyboxMat,value);
	 *           pvVar4 = this.skyboxRenderer;
	 *           if (pvVar4 != null) {
	 *             bVar2 = _UNK_0134e9fc < fVar6;
	 *             if ((bRam000000000755e657 & 1) == 0) {
	 *               func_0x031fdc8c(PTR_DAT_0714e9b0,bVar2,0);
	 *               bRam000000000755e657 = 1;
	 *             }
	 *             if (pvVar4 != null) {
	 *               lVar5 = *(long *)((long)pvVar4 + 0x10);
	 *               if (lVar5 == 0) {
	 *                 UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar4);
	 *               }
	 *               if (pcRam000000000755e6e8 == null) {
	 *                 pcRam000000000755e6e8 = (code *)func_0x031fdc50(&UNK_01382df0);
	 *               }
	 *               (*pcRam000000000755e6e8)(lVar5,bVar2);
	 *               return;
	 *             }
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *         }
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 *   return;
	 */
	// RVA: 0x31FEB44 VA: 0x78188E9B44
	private void UpdateRotation();
	/*
	 *   undefined *puVar1;
	 *   ulong uVar2;
	 *   void *extraout_x1;
	 *   long lVar3;
	 *   void *pvVar4;
	 *   UnityEngine_Vector3 euler;
	 *   UnityEngine_Vector4 UVar5;
	 *   float fStack_30;
	 *   float fStack_2c;
	 *   float fStack_28;
	 *   float fStack_24;
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a77a & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a77a = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   pvVar4 = this.directionalPivot;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   uVar2 = UnityEngine.Object.op_Implicit(pvVar4);
	 *   if ((uVar2 & 1) == 0) {
	 *     return;
	 *   }
	 *   pvVar4 = this.directionalPivot;
	 *   euler.x = (this.currentTime / 24.0) * 360.0 * _UNK_0134ef54;
	 *   euler.y = 0.0;
	 *   euler.z = 0.0;
	 *   UVar5 = UnityEngine.Quaternion.Internal_FromEulerRad(euler);
	 *   fStack_24 = UVar5.w;
	 *   fStack_28 = UVar5.z;
	 *   fStack_2c = UVar5.y;
	 *   fStack_30 = UVar5.x;
	 *   if (pvVar4 == null) {
	 *     IL2CPP.ThrowNullReferenceException();
	 *   }
	 *   if ((bRam000000000755ff1f & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_0714f6d0,0);
	 *     bRam000000000755ff1f = 1;
	 *   }
	 *   if (pvVar4 != null) {
	 *     lVar3 = *(long *)((long)pvVar4 + 0x10);
	 *     if (lVar3 == 0) {
	 *       UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar4);
	 *     }
	 *     if (pcRam000000000755ff80 == null) {
	 *       pcRam000000000755ff80 = (code *)func_0x031fdc50(&UNK_01380e4d);
	 *     }
	 *     (*pcRam000000000755ff80)(lVar3,&fStack_30);
	 *     return;
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x31FEBFC VA: 0x78188E9BFC
	private void UpdateLighting();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   undefined *puVar3;
	 *   undefined *puVar4;
	 *   undefined *puVar5;
	 *   void *pvVar6;
	 *   bool bVar7;
	 *   ulong uVar8;
	 *   void *extraout_x1;
	 *   void *extraout_x1_00;
	 *   float fVar9;
	 *   float fVar10;
	 *   float fVar11;
	 *   float fVar12;
	 *   float fVar13;
	 *   float fVar14;
	 *   float fVar15;
	 *   float fVar16;
	 *   undefined8 uStack_a8;
	 *   undefined8 *puStack_a0;
	 *   void *pvStack_98;
	 *   undefined8 uStack_90;
	 *   undefined8 *puStack_88;
	 *   void *pvStack_80;
	 *
	 *   if ((bRam000000000754a77b & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c0e78);
	 *     func_0x031fdc8c(PTR_DAT_070c0e50);
	 *     func_0x031fdc8c(PTR_DAT_070c0e58);
	 *     func_0x031fdc8c(PTR_DAT_070c0e60);
	 *     func_0x031fdc8c(PTR_DAT_070c0e68);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a77b = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar5 = PTR_DAT_070c0e78;
	 *   puVar4 = PTR_DAT_070c0e68;
	 *   puVar3 = PTR_DAT_070c0e58;
	 *   puVar2 = PTR_DAT_070c0e50;
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   uStack_90 = 0;
	 *   puStack_88 = null;
	 *   pvStack_80 = null;
	 *   fVar9 = (this.currentTime + -6.0) / 12.0;
	 *   fVar10 = 1.0;
	 *   if (fVar9 <= 1.0) {
	 *     fVar10 = fVar9;
	 *   }
	 *   fVar11 = 0.0;
	 *   if (0.0 <= fVar9) {
	 *     fVar11 = fVar10;
	 *   }
	 *   fVar10 = 0.0;
	 *   if (0.0 <= fVar11) {
	 *     fVar10 = fVar11;
	 *   }
	 *   if (this.dayLights != null) {
	 *     fVar11 = fVar10 * fVar10 * 3.0 - fVar10 * fVar10 * (fVar10 + fVar10);
	 *     fVar11 = fVar11 + (1.0 - fVar11) * 0.0;
	 *     fVar16 = 1.0 - fVar11;
	 *     func_0x03f2e1a8(&uStack_a8,this.dayLights,*(undefined8 *)PTR_DAT_070c0e68);
	 *     fVar10 = _UNK_0134e9fc;
	 *     pvStack_80 = pvStack_98;
	 *     fVar9 = 1.0;
	 *     if (fVar11 <= 1.0) {
	 *       fVar9 = fVar11;
	 *     }
	 *     puStack_88 = puStack_a0;
	 *     uStack_90 = uStack_a8;
	 *     uStack_a8 = 0;
	 *     fVar13 = 0.0;
	 *     puStack_a0 = &uStack_90;
	 *     if (0.0 <= fVar11) {
	 *       fVar13 = fVar9;
	 *     }
	 *     while (uVar8 = func_0x05018cac(&uStack_90,*(undefined8 *)puVar3), pvVar6 = pvStack_80,
	 *           (uVar8 & 1) != 0) {
	 *       if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       uVar8 = UnityEngine.Object.op_Implicit(pvVar6);
	 *       if ((uVar8 & 1) != 0) {
	 *         if (this.baseIntensities == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         fVar9 = (float)func_0x04e3a220(this.baseIntensities,pvVar6,*(undefined8 *)puVar5);
	 *         if (pvVar6 == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         fVar11 = UnityEngine.Light.get_intensity(pvVar6);
	 *         fVar12 = UnityEngine.Time.get_deltaTime();
	 *         fVar12 = fVar12 * this.lightFadeSpeed;
	 *         fVar14 = fVar13 * fVar9 + 0.0;
	 *         fVar15 = fVar9 * fVar12;
	 *         fVar9 = -(fVar9 * fVar12);
	 *         if (0.0 <= fVar14 - fVar11) {
	 *           fVar9 = fVar15;
	 *         }
	 *         fVar9 = fVar11 + fVar9;
	 *         if (ABS(fVar14 - fVar11) <= fVar15) {
	 *           fVar9 = fVar14;
	 *         }
	 *         UnityEngine.Light.set_intensity(pvVar6,fVar9);
	 *         bVar7 = UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.get_enabled(pvVar6);
	 *         if ((bVar7) ||
	 *            (fVar9 = UnityEngine.Light.get_intensity(pvVar6),
	 *            fVar9 <= fVar10)) {
	 *           bVar7 = UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.get_enabled(pvVar6);
	 *           if ((bVar7) &&
	 *              (fVar9 = UnityEngine.Light.get_intensity(pvVar6),
	 *              fVar9 <= fVar10)) {
	 *             UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,false);
	 *           }
	 *         }
	 *         else {
	 *           UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,true);
	 *         }
	 *       }
	 *     }
	 *     func_0x05018ca8(&uStack_90,*(undefined8 *)puVar2);
	 *     methodInfo = extraout_x1_00;
	 *     if (this.nightLights != null) {
	 *       func_0x03f2e1a8(&uStack_a8,this.nightLights,*(undefined8 *)puVar4);
	 *       pvStack_80 = pvStack_98;
	 *       puStack_88 = puStack_a0;
	 *       uStack_90 = uStack_a8;
	 *       uStack_a8 = 0;
	 *       fVar9 = 1.0;
	 *       if (fVar16 <= 1.0) {
	 *         fVar9 = fVar16;
	 *       }
	 *       fVar11 = 0.0;
	 *       puStack_a0 = &uStack_90;
	 *       if (0.0 <= fVar16) {
	 *         fVar11 = fVar9;
	 *       }
	 *       while( true ) {
	 *         do {
	 *           uVar8 = func_0x05018cac(&uStack_90,*(undefined8 *)puVar3);
	 *           pvVar6 = pvStack_80;
	 *           if ((uVar8 & 1) == 0) {
	 *             func_0x05018ca8(&uStack_90,*(undefined8 *)puVar2);
	 *             return;
	 *           }
	 *           if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           uVar8 = UnityEngine.Object.op_Implicit(pvVar6);
	 *         } while ((uVar8 & 1) == 0);
	 *         if (this.baseIntensities == null) break;
	 *         fVar9 = (float)func_0x04e3a220(this.baseIntensities,pvVar6,*(undefined8 *)puVar5);
	 *         if (pvVar6 == null) {
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         fVar16 = UnityEngine.Light.get_intensity(pvVar6);
	 *         fVar13 = UnityEngine.Time.get_deltaTime();
	 *         fVar13 = fVar13 * this.lightFadeSpeed;
	 *         fVar12 = fVar11 * fVar9 + 0.0;
	 *         fVar14 = fVar9 * fVar13;
	 *         fVar9 = -(fVar9 * fVar13);
	 *         if (0.0 <= fVar12 - fVar16) {
	 *           fVar9 = fVar14;
	 *         }
	 *         fVar9 = fVar16 + fVar9;
	 *         if (ABS(fVar12 - fVar16) <= fVar14) {
	 *           fVar9 = fVar12;
	 *         }
	 *         UnityEngine.Light.set_intensity(pvVar6,fVar9);
	 *         bVar7 = UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.get_enabled(pvVar6);
	 *         if ((bVar7) ||
	 *            (fVar9 = UnityEngine.Light.get_intensity(pvVar6),
	 *            fVar9 <= fVar10)) {
	 *           bVar7 = UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.get_enabled(pvVar6);
	 *           if ((bVar7) &&
	 *              (fVar9 = UnityEngine.Light.get_intensity(pvVar6),
	 *              fVar9 <= fVar10)) {
	 *             UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,false);
	 *           }
	 *         }
	 *         else {
	 *           UnityEngine.InputSystem.OnScreen.OnScreenStick.Behaviour.set_enabled(pvVar6,true);
	 *         }
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x31FF10C VA: 0x78188EA10C
	private void UpdateSkybox();
	/*
	 *   bool bVar1;
	 *   undefined *puVar2;
	 *   long lVar3;
	 *   ulong uVar4;
	 *   void *extraout_x1;
	 *   void *pvVar5;
	 *   float fVar6;
	 *   float fVar7;
	 *   float fVar8;
	 *   float fVar9;
	 *   float fVar10;
	 *   UnityEngine_Color UVar11;
	 *   UnityEngine_Color value;
	 *
	 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a77c & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a77c = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   lVar3 = *(long *)puVar2;
	 *   pvVar5 = this.skyboxRenderer;
	 *   if (*(int *)(lVar3 + 0xe4) == 0) {
	 *     func_0x031fde08(lVar3,methodInfo);
	 *   }
	 *   uVar4 = UnityEngine.Object.op_Implicit(pvVar5);
	 *   if ((uVar4 & 1) != 0) {
	 *     pvVar5 = this.skyboxMat;
	 *     if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     uVar4 = UnityEngine.Object.op_Equality(pvVar5,null);
	 *     if ((uVar4 & 1) == 0) {
	 *       fVar6 = this.currentTime;
	 *       if ((fVar6 < (this.holdOpaqueHours).x) || (fVar7 = 1.0, (this.holdOpaqueHours).y < fVar6)) {
	 *         fVar7 = (this.fadeInHours).x;
	 *         if ((fVar6 < fVar7) || (fVar8 = (this.fadeInHours).y, fVar8 < fVar6)) {
	 *           fVar8 = (this.fadeOutHours).x;
	 *           fVar7 = 0.0;
	 *           if ((fVar8 <= fVar6) && (fVar9 = (this.fadeOutHours).y, fVar6 <= fVar9)) {
	 *             fVar10 = 0.0;
	 *             if (fVar8 != fVar9) {
	 *               fVar7 = (fVar6 - fVar8) / (fVar9 - fVar8);
	 *               fVar6 = 1.0;
	 *               if (fVar7 <= 1.0) {
	 *                 fVar6 = fVar7;
	 *               }
	 *               fVar10 = 0.0;
	 *               if (0.0 <= fVar7) {
	 *                 fVar10 = fVar6;
	 *               }
	 *             }
	 *             fVar7 = 0.0;
	 *             if (0.0 <= fVar10) {
	 *               fVar7 = fVar10;
	 *             }
	 *             fVar7 = 1.0 - fVar7;
	 *           }
	 *         }
	 *         else {
	 *           fVar9 = 0.0;
	 *           if (fVar7 != fVar8) {
	 *             fVar7 = (fVar6 - fVar7) / (fVar8 - fVar7);
	 *             fVar6 = 1.0;
	 *             if (fVar7 <= 1.0) {
	 *               fVar6 = fVar7;
	 *             }
	 *             fVar9 = 0.0;
	 *             if (0.0 <= fVar7) {
	 *               fVar9 = fVar6;
	 *             }
	 *           }
	 *           fVar7 = 0.0;
	 *           if (0.0 <= fVar9) {
	 *             fVar7 = fVar9;
	 *           }
	 *           fVar7 = fVar7 + 0.0;
	 *         }
	 *       }
	 *       if (this.skyboxMat != null) {
	 *         UVar11 = UnityEngine.Material.get_color(this.skyboxMat);
	 *         fVar8 = UVar11.a;
	 *         value.b = UVar11.b;
	 *         fVar9 = this.originalSkyboxAlpha;
	 *         fVar6 = UnityEngine.Time.get_deltaTime();
	 *         fVar7 = fVar7 * fVar9;
	 *         fVar9 = fVar6 * this.skyboxFadeSpeed;
	 *         fVar6 = -(fVar6 * this.skyboxFadeSpeed);
	 *         if (0.0 <= fVar7 - fVar8) {
	 *           fVar6 = fVar9;
	 *         }
	 *         fVar6 = fVar8 + fVar6;
	 *         if (ABS(fVar7 - fVar8) <= fVar9) {
	 *           fVar6 = fVar7;
	 *         }
	 *         if (this.skyboxMat != null) {
	 *           value.a = fVar6;
	 *           value.r = (float)(int)UVar11._0_8_;
	 *           value.g = (float)(int)((ulong)UVar11._0_8_ >> 0x20);
	 *           UnityEngine.Material.set_color(this.skyboxMat,value);
	 *           pvVar5 = this.skyboxRenderer;
	 *           if (pvVar5 != null) {
	 *             bVar1 = _UNK_0134e9fc < fVar6;
	 *             if ((bRam000000000755e657 & 1) == 0) {
	 *               func_0x031fdc8c(PTR_DAT_0714e9b0,bVar1,0);
	 *               bRam000000000755e657 = 1;
	 *             }
	 *             if (pvVar5 != null) {
	 *               lVar3 = *(long *)((long)pvVar5 + 0x10);
	 *               if (lVar3 == 0) {
	 *                 UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar5);
	 *               }
	 *               if (pcRam000000000755e6e8 == null) {
	 *                 pcRam000000000755e6e8 = (code *)func_0x031fdc50(&UNK_01382df0);
	 *               }
	 *               (*pcRam000000000755e6e8)(lVar3,bVar1);
	 *               return;
	 *             }
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *         }
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 *   return;
	 */
	// RVA: 0x31FF33C VA: 0x78188EA33C
	public void OnPhotonSerializeView(Photon.Pun.PhotonStream stream, Photon.Pun.PhotonMessageInfo info);
	/*
	 *   void *obj;
	 *   long *plVar1;
	 *   undefined4 *puVar2;
	 *   undefined4 uStack_14;
	 *
	 *   if (param_2 != null) {
	 *     if (*(char *)((long)param_2 + 0x24) == '\0') {
	 *       plVar1 = Photon.Pun.PhotonStream.ReceiveNext(param_2);
	 *       if (plVar1 == null) goto LAB_032ff3d0;
	 *       if (*(long *)(*plVar1 + 0x40) != *(long *)(*(long *)(PTR_DAT_070c0840 + 0x78) + 0x40)) {
	 *         noreturn_helper_30fe2b4();
	 *       }
	 *       puVar2 = (undefined4 *)func_0x031fde14();
	 *       *(undefined4 *)(param_1 + 0x28) = *puVar2;
	 *     }
	 *     else {
	 *       uStack_14 = *(undefined4 *)(param_1 + 0x28);
	 *       obj = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x78),&uStack_14);
	 *       Photon.Pun.PhotonStream.SendNext(param_2,obj);
	 *     }
	 *     return;
	 *   }
	 * LAB_032ff3d0:
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x31FF3D8 VA: 0x78188EA3D8
	public void .ctor();
	/*
	 *   UnityEngine_Vector2 UVar1;
	 *   undefined4 uVar2;
	 *   UnityEngine_Vector2 UVar3;
	 *   undefined *puVar4;
	 *   undefined *puVar5;
	 *   undefined *puVar6;
	 *   undefined *puVar7;
	 *   undefined8 uVar8;
	 *   undefined8 uVar9;
	 *   void *pvVar10;
	 *   undefined8 uVar11;
	 *   void *extraout_x1;
	 *
	 *   puVar7 = PTR_DAT_070c0e98;
	 *   puVar6 = PTR_DAT_070c0e90;
	 *   puVar5 = PTR_DAT_070c0e88;
	 *   puVar4 = PTR_DAT_070c0e80;
	 *   if ((bRam000000000754a77d & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c0e98);
	 *     func_0x031fdc8c(PTR_DAT_070c0e90);
	 *     func_0x031fdc8c(PTR_DAT_070c0e88);
	 *     func_0x031fdc8c(PTR_DAT_070c0e80);
	 *     bRam000000000754a77d = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   uVar9 = *(undefined8 *)puVar4;
	 *   uVar2 = _UNK_0134cd0c;
	 *   this.currentTime = (float)_UNK_0134cd08;
	 *   this.dayLengthInMinutes = (float)uVar2;
	 *   pvVar10 = (void *)func_0x031fdf24(uVar9,methodInfo);
	 *   func_0x03f2ce9c(pvVar10,*(undefined8 *)puVar5);
	 *   this.dayLights = pvVar10;
	 *   func_0x031fdc38(&this.dayLights,pvVar10);
	 *   pvVar10 = (void *)func_0x031fdf24(*(undefined8 *)puVar4);
	 *   func_0x03f2ce9c(pvVar10,*(undefined8 *)puVar5);
	 *   this.nightLights = pvVar10;
	 *   func_0x031fdc38(&this.nightLights,pvVar10);
	 *   UVar3 = _UNK_0134d988;
	 *   uVar9 = _UNK_0134c930;
	 *   UVar1 = _UNK_0134a530;
	 *   uVar11 = *(undefined8 *)puVar6;
	 *   this.fadeOutHours = _UNK_0134a538;
	 *   this.fadeInHours = UVar1;
	 *   this.holdOpaqueHours = UVar3;
	 *   uVar8 = _UNK_0134c930;
	 *   _UNK_0134c930 = (undefined4)uVar9;
	 *   _UNK_0134c934 = SUB84(uVar9,4);
	 *   uVar2 = _UNK_0134c934;
	 *   this.rotationSpeedMultiplier = (float)_UNK_0134c930;
	 *   _UNK_0134c930 = uVar8;
	 *   this.lightFadeSpeed = (float)uVar2;
	 *   this.skyboxFadeSpeed = 0.25;
	 *   pvVar10 = (void *)func_0x031fdf24(uVar11);
	 *   func_0x04e39910(pvVar10,*(undefined8 *)puVar7);
	 *   this.baseIntensities = pvVar10;
	 *   func_0x031fdc38(&this.baseIntensities,pvVar10);
	 *   puVar4 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000755f76f & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8,0);
	 *     bRam000000000755f76f = 1;
	 *   }
	 *   if (*(int *)(*(long *)puVar4 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   return;
	 */
}
