// [TypeInfo RVA: 0x0]
public class MuteButton : MonoBehaviour
{
	public int ButtonNumber; // 0x20
	public Leaderboard LB; // 0x28
	public string HandTag; // 0x30
	private bool Muted; // 0x38
	public UnityEngine.Material MutedMaterial; // 0x40
	private UnityEngine.Material UnMutedMaterial; // 0x48
	private UnityEngine.Renderer rend; // 0x50
	private Photon.Realtime.Player MutedUser; // 0x58

	// RVA: 0x3224CD0 VA: 0x781890FCD0
	private void Start();
	/*
	 *   undefined *puVar1;
	 *   void *pvVar2;
	 *   void **ppvVar3;
	 *
	 *   puVar1 = PTR_DAT_070c26a8;
	 *   if ((bRam000000000754a8df & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c26a8);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     bRam000000000754a8df = 1;
	 *   }
	 *   pvVar2 = (void *)func_0x0373df50(this,*(undefined8 *)puVar1);
	 *   ppvVar3 = &this.rend;
	 *   *ppvVar3 = pvVar2;
	 *   if (iRam00000000077785f0 != 0) {
	 *     func_0x032ed0c0(1L << ((ulong)ppvVar3 >> 0xc & 0x3f),
	 *                     ((ulong)ppvVar3 >> 0x12 & 0x7fff) * 8 + 0x75ac5c8);
	 *   }
	 *   return;
	 */
	// RVA: 0x3224DA4 VA: 0x781890FDA4
	private void Update();
	/*
	 *   int iVar1;
	 *   uint uVar2;
	 *   undefined *puVar3;
	 *   void *pvVar4;
	 *   ulong uVar5;
	 *   void *extraout_x1;
	 *   void *pvVar6;
	 *   long lVar7;
	 *   undefined8 uVar8;
	 *
	 *   if ((bRam000000000754a8e0 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     bRam000000000754a8e0 = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   puVar3 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
	 *   iVar1 = this.ButtonNumber;
	 *   if (0 < iVar1) {
	 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
	 *       func_0x031fde08(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0,methodInfo);
	 *     }
	 *     pvVar4 = Photon.Pun.PhotonNetwork.get_PlayerList();
	 *     if (pvVar4 == null) {
	 * LAB_03324ee8:
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *     if (iVar1 <= *(int *)((long)pvVar4 + 0x18)) {
	 *       if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       pvVar4 = Photon.Pun.PhotonNetwork.get_PlayerList();
	 *       puVar3 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *       if (pvVar4 == null) goto LAB_03324ee8;
	 *       uVar2 = this.ButtonNumber - 1;
	 *       if (*(uint *)((long)pvVar4 + 0x18) <= uVar2) {
	 *         IL2CPP.ThrowIndexOutOfRangeException();
	 *       }
	 *       if ((*(void **)((long)pvVar4 + (long)(int)uVar2 * 8 + 0x20) != this.MutedUser) &&
	 *          (this.Muted != false)) {
	 *         pvVar4 = this.rend;
	 *         this.Muted = false;
	 *         if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
	 *           func_0x031fde08();
	 *         }
	 *         uVar5 = UnityEngine.Object.op_Inequality(pvVar4,null);
	 *         if ((uVar5 & 1) != 0) {
	 *           pvVar4 = this.UnMutedMaterial;
	 *           if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           uVar5 = UnityEngine.Object.op_Inequality(pvVar4,null);
	 *           if ((uVar5 & 1) != 0) {
	 *             pvVar4 = this.rend;
	 *             if (pvVar4 != null) {
	 *               pvVar6 = this.UnMutedMaterial;
	 *               if ((bRam000000000755e64d & 1) == 0) {
	 *                 func_0x031fdc8c(PTR_DAT_0714e9b0,pvVar6,0);
	 *                 func_0x031fdc8c(PTR_DAT_0714e7b0);
	 *                 bRam000000000755e64d = 1;
	 *               }
	 *               puVar3 = PTR_DAT_0714e7b0;
	 *               if (pvVar4 != null) {
	 *                 lVar7 = *(long *)((long)pvVar4 + 0x10);
	 *                 if (lVar7 == 0) {
	 *                   UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar4);
	 *                 }
	 *                 if (*(long *)(*(long *)puVar3 + 0x38) == 0) {
	 *                   func_0x03237280();
	 *                 }
	 *                 uVar8 = 0;
	 *                 if (pvVar6 != null) {
	 *                   uVar8 = *(undefined8 *)((long)pvVar6 + 0x10);
	 *                 }
	 *                 if (pcRam000000000755e698 == null) {
	 *                   pcRam000000000755e698 = (code *)func_0x031fdc50(&UNK_0137017a);
	 *                 }
	 *                 (*pcRam000000000755e698)(lVar7,uVar8);
	 *                 return;
	 *               }
	 *               IL2CPP.ThrowNullReferenceException();
	 *             }
	 *             goto LAB_03324ee8;
	 *           }
	 *         }
	 *       }
	 *     }
	 *   }
	 *   return;
	 */
	// RVA: 0x3224EF0 VA: 0x781890FEF0
	private void OnTriggerEnter(UnityEngine.Collider other);
	/*
	 *   int iVar1;
	 *   uint uVar2;
	 *   undefined *puVar3;
	 *   undefined *puVar4;
	 *   bool bVar5;
	 *   void *pvVar6;
	 *   ulong uVar7;
	 *   long lVar8;
	 *   void *pvVar9;
	 *   undefined8 uVar10;
	 *   void **ppvVar11;
	 *
	 *   if ((bRam000000000754a8e1 & 1) == 0) {
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     bRam000000000754a8e1 = 1;
	 *   }
	 *   puVar4 = typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0;
	 *   iVar1 = this.ButtonNumber;
	 *   if (iVar1 < 1) {
	 *     return;
	 *   }
	 *   if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   pvVar6 = Photon.Pun.PhotonNetwork.get_PlayerList();
	 *   if (pvVar6 != null) {
	 *     if (*(int *)((long)pvVar6 + 0x18) < iVar1) {
	 *       return;
	 *     }
	 *     if (other != null) {
	 *       bVar5 = UnityEngine.Component.CompareTag(other,this.HandTag)
	 *       ;
	 *       puVar3 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *       if (!bVar5) {
	 *         return;
	 *       }
	 *       pvVar6 = this.LB;
	 *       if (*(int *)(*(long *)typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       uVar7 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *       if ((uVar7 & 1) != 0) {
	 *         if (this.LB == null) goto LAB_033250d4;
	 *         Leaderboard.MutePress(this.LB,this.ButtonNumber);
	 *       }
	 *       iVar1 = *(int *)(*(long *)puVar4 + 0xe4);
	 *       this.Muted = (bool)(this.Muted ^ 1);
	 *       if (iVar1 == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       pvVar6 = Photon.Pun.PhotonNetwork.get_PlayerList();
	 *       if (pvVar6 != null) {
	 *         uVar2 = this.ButtonNumber - 1;
	 *         if (*(uint *)((long)pvVar6 + 0x18) <= uVar2) {
	 *           IL2CPP.ThrowIndexOutOfRangeException();
	 *         }
	 *         this.MutedUser = *(void **)((long)pvVar6 + (long)(int)uVar2 * 8 + 0x20);
	 *         func_0x031fdc38(&this.MutedUser);
	 *         pvVar6 = this.rend;
	 *         if (this.Muted == false) {
	 *           if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           uVar7 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *           if ((uVar7 & 1) == 0) {
	 *             return;
	 *           }
	 *           lVar8 = *(long *)puVar3;
	 *           ppvVar11 = &this.UnMutedMaterial;
	 *           pvVar6 = *ppvVar11;
	 *         }
	 *         else {
	 *           if (*(int *)(*(long *)puVar3 + 0xe4) == 0) {
	 *             func_0x031fde08();
	 *           }
	 *           uVar7 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *           if ((uVar7 & 1) == 0) {
	 *             return;
	 *           }
	 *           lVar8 = *(long *)puVar3;
	 *           ppvVar11 = &this.MutedMaterial;
	 *           pvVar6 = *ppvVar11;
	 *         }
	 *         if (*(int *)(lVar8 + 0xe4) == 0) {
	 *           func_0x031fde08();
	 *         }
	 *         uVar7 = UnityEngine.Object.op_Inequality(pvVar6,null);
	 *         if ((uVar7 & 1) == 0) {
	 *           return;
	 *         }
	 *         pvVar6 = this.rend;
	 *         if (pvVar6 != null) {
	 *           pvVar9 = *ppvVar11;
	 *           if ((bRam000000000755e64d & 1) == 0) {
	 *             func_0x031fdc8c(PTR_DAT_0714e9b0,pvVar9,0);
	 *             func_0x031fdc8c(PTR_DAT_0714e7b0);
	 *             bRam000000000755e64d = 1;
	 *           }
	 *           puVar4 = PTR_DAT_0714e7b0;
	 *           if (pvVar6 == null) {
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *           lVar8 = *(long *)((long)pvVar6 + 0x10);
	 *           if (lVar8 == 0) {
	 *             UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar6);
	 *           }
	 *           if (*(long *)(*(long *)puVar4 + 0x38) == 0) {
	 *             func_0x03237280();
	 *           }
	 *           uVar10 = 0;
	 *           if (pvVar9 != null) {
	 *             uVar10 = *(undefined8 *)((long)pvVar9 + 0x10);
	 *           }
	 *           if (pcRam000000000755e698 == null) {
	 *             pcRam000000000755e698 = (code *)func_0x031fdc50(&UNK_0137017a);
	 *           }
	 *           (*pcRam000000000755e698)(lVar8,uVar10);
	 *           return;
	 *         }
	 *       }
	 *     }
	 *   }
	 * LAB_033250d4:
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x32250DC VA: 0x78189100DC
	public void .ctor();
	/*
	 *   undefined *puVar1;
	 *
	 *   puVar1 = PTR_DAT_070c07b8;
	 *   if ((bRam000000000754a8e2 & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c07b8);
	 *     bRam000000000754a8e2 = 1;
	 *   }
	 *   this.HandTag = *(void **)puVar1;
	 *   func_0x031fdc38();
	 *   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;
	 */
}
