// [TypeInfo RVA: 0x0]
public class AntiMasterClientSwitch : MonoBehaviourPunCallbacks
{
	private int CorrectMaster; // 0x28

	// RVA: 0x324E860 VA: 0x7818939860
	public override void OnMasterClientSwitched(Photon.Realtime.Player NewMasterClient);
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   bool bVar3;
	 *   uint uVar4;
	 *   ulong uVar5;
	 *   long *plVar6;
	 *   long lVar7;
	 *   long lVar8;
	 *   void *this;
	 *   void *pvVar9;
	 *   void *v;
	 *   void *pvVar10;
	 *   undefined4 uStack_38;
	 *   undefined4 uStack_34;
	 *
	 *   uVar5 = param_1;
	 *   if ((bRam000000000754aa5e & 1) == 0) {
	 *     uVar5 = func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     bRam000000000754aa5e = 1;
	 *   }
	 *   puVar2 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
	 *   if (param_2 != 0) {
	 *     if (*(int *)(param_2 + 0x18) == *(int *)(param_1 + 0x28)) {
	 *       return uVar5;
	 *     }
	 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
	 *       func_0x031fde08();
	 *     }
	 *     plVar6 = Photon.Pun.PhotonNetwork.get_CurrentRoom();
	 *     if (plVar6 != null) {
	 *       lVar7 = (**(code **)(*plVar6 + 0x1d8))
	 *                         (plVar6,*(undefined4 *)(param_1 + 0x28),0,*(undefined8 *)(*plVar6 + 0x1e0));
	 *       plVar6 = Photon.Pun.PhotonNetwork.get_CurrentRoom();
	 *       if (plVar6 != null) {
	 *         lVar8 = (**(code **)(*plVar6 + 0x1d8))
	 *                           (plVar6,*(undefined4 *)(param_1 + 0x28),0,*(undefined8 *)(*plVar6 + 0x1e0)
	 *                           );
	 *         uVar5 = 0;
	 *         if (lVar8 != 0) {
	 *           if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           bVar3 = Photon.Pun.PhotonNetwork.get_IsMasterClient();
	 *           uVar5 = (ulong)bVar3;
	 *           if (bVar3) {
	 *             if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *               func_0x031fde08();
	 *             }
	 *             puVar2 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
	 *             if ((bRam000000000755521f & 1) == 0) {
	 *               func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8,0);
	 *               func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *               func_0x031fdc8c(PTR_DAT_070ff7b8);
	 *               bRam000000000755521f = 1;
	 *             }
	 *             pvVar10 = *(void **)puVar2;
	 *             if (*(int *)((long)pvVar10 + 0xe4) == 0) {
	 *               pvVar10 = (void *)func_0x031fde08();
	 *             }
	 *             bVar3 = Photon.Pun.PhotonNetwork.get_InRoom();
	 *             pvVar10 = *(void **)puVar2;
	 *             if (bVar3) {
	 *               if (*(int *)((long)pvVar10 + 0xe4) == 0) {
	 *                 pvVar10 = (void *)func_0x031fde08();
	 *               }
	 *               bVar3 = Photon.Pun.PhotonNetwork.VerifyCanUseNetwork();
	 *               pvVar10 = *(void **)puVar2;
	 *               if (bVar3) {
	 *                 if (*(int *)((long)pvVar10 + 0xe4) == 0) {
	 *                   func_0x031fde08();
	 *                 }
	 *                 if (cRam000000000754a95f == '\0') {
	 *                   func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *                   cRam000000000754a95f = '\x01';
	 *                 }
	 *                 pvVar10 = *(void **)puVar2;
	 *                 if (*(int *)((long)pvVar10 + 0xe4) == 0) {
	 *                   func_0x031fde08();
	 *                   pvVar10 = *(void **)puVar2;
	 *                 }
	 *                 if (*(char *)(*(long *)((long)pvVar10 + 0xb8) + 0x38) == '\0') {
	 *                   if (*(int *)((long)pvVar10 + 0xe4) == 0) {
	 *                     pvVar10 = (void *)func_0x031fde08();
	 *                   }
	 *                   pvVar10 = Photon.Pun.PhotonNetwork.get_CurrentRoom();
	 *                   if (pvVar10 == null) {
	 *                     IL2CPP.ThrowNullReferenceException();
	 *                   }
	 *                   if ((bRam0000000007555184 & 1) == 0) {
	 *                     func_0x031fdc8c(typeinfo_ptr_Photon3Unity3D_Hashtable_6FC1268,lVar7,0);
	 *                     bRam0000000007555184 = 1;
	 *                   }
	 *                   puVar2 = typeinfo_ptr_Photon3Unity3D_Hashtable_6FC1268;
	 *                   if (*(char *)((long)pvVar10 + 0x68) == '\0') {
	 *                     this = (void *)func_0x031fdf24(*(undefined8 *)
	 *                                                     typeinfo_ptr_Photon3Unity3D_Hashtable_6FC1268);
	 *                     Hashtable..ctor(this);
	 *                     puVar1 = PTR_DAT_070c0840;
	 *                     if (lVar7 != 0) {
	 *                       uStack_34 = *(undefined4 *)(lVar7 + 0x18);
	 *                       pvVar9 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x48),
	 *                                                        &uStack_34);
	 *                       if (this != null) {
	 *                         Hashtable.Add(this,0xf8,pvVar9);
	 *                         pvVar9 = (void *)func_0x031fdf24(*(undefined8 *)puVar2);
	 *                         Hashtable..ctor(pvVar9);
	 *                         uStack_38 = *(undefined4 *)((long)pvVar10 + 0x48);
	 *                         v = (void *)func_0x031fde10(*(undefined8 *)(puVar1 + 0x48),&uStack_38);
	 *                         if (pvVar9 != null) {
	 *                           Hashtable.Add(pvVar9,0xf8,v);
	 *                           if (*(long *)((long)pvVar10 + 0x60) != 0) {
	 *                             uVar4 = Photon.Realtime.LoadBalancingClient.OpSetPropertiesOfRoom(*(long *)((long)pvVar10 + 0x60),this,pvVar9,0);
	 *                             goto LAB_05b5d22c;
	 *                           }
	 *                         }
	 *                       }
	 *                     }
	 *                     IL2CPP.ThrowNullReferenceException();
	 *                   }
	 *                   uVar4 = 0;
	 * LAB_05b5d22c:
	 *                   return (ulong)(uVar4 & 1);
	 *                 }
	 *               }
	 *             }
	 *             if (*(int *)((long)pvVar10 + 0xe4) == 0) {
	 *               func_0x031fde08();
	 *               pvVar10 = *(void **)puVar2;
	 *             }
	 *             if (*(int *)(*(long *)((long)pvVar10 + 0xb8) + 0x24) == 1) {
	 *               if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Debug_6FC07A8 + 0xe4) == 0)
	 *               {
	 *                 func_0x031fde08();
	 *               }
	 *               UnityEngine.Debug.Log(*(void **)PTR_DAT_070ff7b8);
	 *             }
	 *             return 0;
	 *           }
	 *         }
	 *         *(undefined4 *)(param_1 + 0x28) = *(undefined4 *)(param_2 + 0x18);
	 *         return uVar5;
	 *       }
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x324E968 VA: 0x7818939968
	public override void OnJoinedRoom();
	/*
	 *   undefined *puVar1;
	 *   long lVar2;
	 *   void *extraout_x1;
	 *
	 *   puVar1 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
	 *   if ((bRam000000000754aa5f & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     bRam000000000754aa5f = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08(*(long *)puVar1,methodInfo);
	 *   }
	 *   lVar2 = Photon.Pun.PhotonNetwork.get_MasterClient();
	 *   if (lVar2 != 0) {
	 *     this.CorrectMaster = *(int *)(lVar2 + 0x18);
	 *     return;
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x324E9D0 VA: 0x78189399D0
	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;
	 */
}
