namespace Photon.VR.Testing
{

	// [TypeInfo RVA: 0x0]
	public class PhotonVRColourChanger : MonoBehaviour
	{
		public UnityEngine.Color Colour; // 0x20

		// RVA: 0x328C7F8 VA: 0x78189777F8
		public void ChangeColour(UnityEngine.Color Colour);
		/*
		 *   undefined *puVar1;
		 *   undefined *puVar2;
		 *   undefined *puVar3;
		 *   bool bVar4;
		 *   long lVar5;
		 *   void *pvVar6;
		 *   PhotonVRPlayer *this_00;
		 *   void *extraout_x1;
		 *   void *extraout_x1_00;
		 *   void *extraout_x1_01;
		 *   void *extraout_x1_02;
		 *   void *extraout_x1_03;
		 *   void *extraout_x1_04;
		 *   void *this_01;
		 *   undefined8 uVar7;
		 *   float fVar8;
		 *   float fVar9;
		 *   float fVar10;
		 *   float fVar11;
		 *   undefined1 auVar12 [16];
		 *   float fStack_70;
		 *   float fStack_6c;
		 *   float fStack_68;
		 *   float fStack_64;
		 *   float fStack_60;
		 *   float fStack_5c;
		 *   float fStack_58;
		 *   float fStack_54;
		 *
		 *   puVar3 = typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800;
		 *   fVar11 = Colour.a;
		 *   fVar10 = Colour.b;
		 *   fVar9 = Colour.g;
		 *   fVar8 = Colour.r;
		 *   if ((bRam000000000754ad0b & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *     bRam000000000754ad0b = 1;
		 *     methodInfo = extraout_x1_03;
		 *   }
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar3,methodInfo);
		 *     methodInfo = extraout_x1_04;
		 *   }
		 *   puVar3 = typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800;
		 *   if ((bRam000000000754acd9 & 1) == 0) {
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Color_6FC5C68);
		 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
		 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
		 *     func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *     func_0x031fdc8c(PTR_DAT_070c1ba8);
		 *     bRam000000000754acd9 = 1;
		 *     methodInfo = extraout_x1;
		 *   }
		 *   if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *     func_0x031fde08(*(long *)puVar3,methodInfo);
		 *   }
		 *   if (cRam000000000754a95e == '\0') {
		 *     func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *     cRam000000000754a95e = '\x01';
		 *   }
		 *   lVar5 = *(long *)puVar3;
		 *   if (*(int *)(lVar5 + 0xe4) == 0) {
		 *     func_0x031fde08();
		 *     lVar5 = *(long *)puVar3;
		 *   }
		 *   puVar1 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
		 *   lVar5 = **(long **)(lVar5 + 0xb8);
		 *   if (lVar5 != 0) {
		 *     *(float *)(lVar5 + 0x58) = fVar8;
		 *     *(float *)(lVar5 + 0x5c) = fVar9;
		 *     *(float *)(lVar5 + 0x60) = fVar10;
		 *     *(float *)(lVar5 + 100) = fVar11;
		 *     if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
		 *       func_0x031fde08();
		 *     }
		 *     lVar5 = Photon.Pun.PhotonNetwork.get_LocalPlayer();
		 *     puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Color_6FC5C68;
		 *     if (lVar5 != 0) {
		 *       this_01 = *(void **)(lVar5 + 0x38);
		 *       fStack_60 = fVar8;
		 *       fStack_5c = fVar9;
		 *       fStack_58 = fVar10;
		 *       fStack_54 = fVar11;
		 *       pvVar6 = (void *)func_0x031fde10(*(undefined8 *)
		 *                                         typeinfo_ptr_UnityEngine_CoreModule_Color_6FC5C68,&fStack_60
		 *                                       );
		 *       pvVar6 = JsonUtility.ToJson(pvVar6);
		 *       puVar2 = PTR_DAT_070c1ba8;
		 *       if (this_01 != null) {
		 *         Hashtable.set_Item(this_01,*(void **)PTR_DAT_070c1ba8,pvVar6);
		 *         lVar5 = Photon.Pun.PhotonNetwork.get_LocalPlayer();
		 *         if (lVar5 != 0) {
		 *           Photon.Realtime.Player.SetCustomProperties(lVar5,this_01,0,0);
		 *           fStack_70 = fVar8;
		 *           fStack_6c = fVar9;
		 *           fStack_68 = fVar10;
		 *           fStack_64 = fVar11;
		 *           pvVar6 = (void *)func_0x031fde10(*(undefined8 *)puVar1,&fStack_70);
		 *           pvVar6 = JsonUtility.ToJson(pvVar6);
		 *           UnityEngine.PlayerPrefs.SetString(*(void **)puVar2,pvVar6);
		 *           bVar4 = Photon.Pun.PhotonNetwork.get_InRoom();
		 *           if (bVar4) {
		 *             if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *             }
		 *             if (cRam000000000754a95e == '\0') {
		 *               func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *               cRam000000000754a95e = '\x01';
		 *             }
		 *             lVar5 = *(long *)puVar3;
		 *             if (*(int *)(lVar5 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *               lVar5 = *(long *)puVar3;
		 *             }
		 *             if (**(long **)(lVar5 + 0xb8) == 0) goto LAB_03387bdc;
		 *             uVar7 = *(undefined8 *)(**(long **)(lVar5 + 0xb8) + 0x80);
		 *             if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
		 *               func_0x031fde08();
		 *             }
		 *             auVar12 = UnityEngine.Object.op_Inequality(uVar7,null);
		 *             pvVar6 = auVar12._8_8_;
		 *             if ((auVar12._0_8_ & 1) != 0) {
		 *               if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *                 pvVar6 = extraout_x1_00;
		 *               }
		 *               if (cRam000000000754a95e == '\0') {
		 *                 func_0x031fdc8c(typeinfo_ptr_Assembly_CSharp_PhotonVRManager_6FC2800);
		 *                 cRam000000000754a95e = '\x01';
		 *                 pvVar6 = extraout_x1_01;
		 *               }
		 *               lVar5 = *(long *)puVar3;
		 *               if (*(int *)(lVar5 + 0xe4) == 0) {
		 *                 func_0x031fde08();
		 *                 lVar5 = *(long *)puVar3;
		 *                 pvVar6 = extraout_x1_02;
		 *               }
		 *               if ((**(long **)(lVar5 + 0xb8) == 0) ||
		 *                  (this_00 = *(PhotonVRPlayer **)(**(long **)(lVar5 + 0xb8) + 0x80),
		 *                  this_00 == null)) goto LAB_03387bdc;
		 *               PhotonVRPlayer.RefreshPlayerValues(this_00);
		 *             }
		 *           }
		 *           return;
		 *         }
		 *       }
		 *     }
		 *   }
		 * LAB_03387bdc:
		 *   IL2CPP.ThrowNullReferenceException();
		 */
		// RVA: 0x328C874 VA: 0x7818977874
		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;
		 */
	}
}
