// [TypeInfo RVA: 0x0]
public class NetworkedDoorController : MonoBehaviourPunCallbacks
{
	public UnityEngine.AnimationClip openAnimation; // 0x28
	public UnityEngine.AnimationClip closeAnimation; // 0x30
	public float buttonCooldown; // 0x38
	private UnityEngine.Animator animator; // 0x40
	private bool isOpen; // 0x48
	private bool isOnCooldown; // 0x49
	private UnityEngine.AnimationClip currentClip; // 0x50

	// RVA: 0x3243CFC VA: 0x781892ECFC
	private void Start();
	/*
	 *   undefined *puVar1;
	 *   undefined *puVar2;
	 *   void *pvVar3;
	 *   ulong uVar4;
	 *   void *pvVar5;
	 *   void **ppvVar6;
	 *   long lVar7;
	 *   undefined8 uVar8;
	 *
	 *   puVar2 = PTR_DAT_070c2358;
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a9eb & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c4278);
	 *     func_0x031fdc8c(PTR_DAT_070c2358);
	 *     func_0x031fdc8c(PTR_DAT_070c4280);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(PTR_DAT_070c4288);
	 *     func_0x031fdc8c(PTR_DAT_070c4290);
	 *     bRam000000000754a9eb = 1;
	 *   }
	 *   pvVar3 = (void *)func_0x0373df50(this,*(undefined8 *)puVar2);
	 *   ppvVar6 = &this.animator;
	 *   *ppvVar6 = pvVar3;
	 *   func_0x031fdc38(ppvVar6,pvVar3);
	 *   pvVar3 = *ppvVar6;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   uVar4 = UnityEngine.Object.op_Equality(pvVar3,null);
	 *   if ((uVar4 & 1) != 0) {
	 *     pvVar3 = UnityEngine.Component.get_gameObject(this);
	 *     if (pvVar3 == null) goto LAB_03343e5c;
	 *     pvVar3 = (void *)func_0x037f2fa8(pvVar3,*(undefined8 *)PTR_DAT_070c4280);
	 *     *ppvVar6 = pvVar3;
	 *     func_0x031fdc38(ppvVar6,pvVar3);
	 *   }
	 *   puVar2 = PTR_DAT_070c4290;
	 *   puVar1 = PTR_DAT_070c4288;
	 *   pvVar3 = (void *)func_0x031fdf24(*(undefined8 *)PTR_DAT_070c4278);
	 *   UnityEngine.AnimatorOverrideController..ctor(pvVar3);
	 *   pvVar5 = (void *)func_0x03949758(*(undefined8 *)puVar2,*(undefined8 *)puVar1);
	 *   if (pvVar3 != null) {
	 *     UnityEngine.AnimatorOverrideController.set_runtimeAnimatorController(pvVar3,pvVar5);
	 *     pvVar5 = *ppvVar6;
	 *     if (pvVar5 != null) {
	 *       if ((bRam000000000755d50e & 1) == 0) {
	 *         func_0x031fdc8c(PTR_DAT_0714df58,pvVar3,0);
	 *         func_0x031fdc8c(PTR_DAT_0714dfa8);
	 *         bRam000000000755d50e = 1;
	 *       }
	 *       puVar1 = PTR_DAT_0714dfa8;
	 *       if (pvVar5 != null) {
	 *         lVar7 = *(long *)((long)pvVar5 + 0x10);
	 *         if (lVar7 == 0) {
	 *           UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar5);
	 *         }
	 *         if (*(long *)(*(long *)puVar1 + 0x38) == 0) {
	 *           func_0x03237280();
	 *         }
	 *         uVar8 = 0;
	 *         if (pvVar3 != null) {
	 *           uVar8 = *(undefined8 *)((long)pvVar3 + 0x10);
	 *         }
	 *         if (pcRam000000000755d578 == null) {
	 *           pcRam000000000755d578 = (code *)func_0x031fdc50(&UNK_013561f3);
	 *         }
	 *         (*pcRam000000000755d578)(lVar7,uVar8);
	 *         return;
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 * LAB_03343e5c:
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3243E60 VA: 0x781892EE60
	public void TryToggleDoor();
	/*
	 *   bool bVar1;
	 *   void *pvVar2;
	 *   ulong uVar3;
	 *   void *this_00;
	 *   undefined8 uVar4;
	 *   void *extraout_x1;
	 *   void *methodInfo_00;
	 *   long lVar5;
	 *   long lVar6;
	 *
	 *   if ((bRam000000000754a9ec & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c12e8);
	 *     func_0x031fdc8c(typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0);
	 *     func_0x031fdc8c(PTR_DAT_070c4298);
	 *     bRam000000000754a9ec = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   if (this.isOnCooldown == false) {
	 *     if (*(int *)(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0 + 0xe4) == 0) {
	 *       func_0x031fde08(*(long *)typeinfo_ptr_PhotonUnityNetworking_PhotonNetwork_6FC08F0,methodInfo);
	 *     }
	 *     bVar1 = Photon.Pun.PhotonNetwork.get_IsConnected();
	 *     if (bVar1) {
	 *       pvVar2 = MonoBehaviourPun.get_photonView(this);
	 *       lVar6 = *(long *)PTR_DAT_070c12e8;
	 *       lVar5 = *(long *)(lVar6 + 0x38);
	 *       if (lVar5 == 0) {
	 *         func_0x03237280(lVar6);
	 *         lVar5 = *(long *)(lVar6 + 0x38);
	 *       }
	 *       lVar5 = *(long *)(lVar5 + 0x10);
	 *       if ((*(ushort *)(lVar5 + 0x135) & 1) == 0) {
	 *         lVar5 = func_0x03237224();
	 *       }
	 *       if (*(int *)(lVar5 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       lVar5 = *(long *)(*(long *)(lVar6 + 0x38) + 0x10);
	 *       if ((*(ushort *)(lVar5 + 0x135) & 1) == 0) {
	 *         lVar5 = func_0x03237224();
	 *       }
	 *       if (pvVar2 == null) {
	 *         IL2CPP.ThrowNullReferenceException();
	 *       }
	 *       Photon.Pun.PhotonView.RPC(pvVar2,*(void **)PTR_DAT_070c4298,0,(void *)**(undefined8 **)(lVar5 + 0xb8));
	 *       pvVar2 = NetworkedDoorController.Cooldown(this);
	 *       if (pvVar2 == null) {
	 *         func_0x031fdca0(PTR_DAT_070c9118,0,0);
	 *         this_00 = (void *)func_0x031fdf24();
	 *         pvVar2 = (void *)func_0x031fdca0(PTR_DAT_0714f5c8);
	 *         NullReferenceException..ctor(this_00,pvVar2);
	 *       }
	 *       else {
	 *         uVar3 = UnityEngine.MonoBehaviour.IsObjectMonoBehaviour();
	 *         if ((uVar3 & 1) != 0) {
	 *           if ((bRam000000000755f8f7 & 1) == 0) {
	 *             func_0x031fdc8c(PTR_DAT_0714f590);
	 *             bRam000000000755f8f7 = 1;
	 *           }
	 *           if (this != null) {
	 *             lVar5 = *(long *)&this.field_0x10;
	 *             if (lVar5 == 0) {
	 *               UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(this);
	 *             }
	 *             if (pcRam000000000755f968 == null) {
	 *               pcRam000000000755f968 = (code *)func_0x031fdc50(&UNK_013604ff);
	 *             }
	 *             (*pcRam000000000755f968)(lVar5,pvVar2);
	 *             return;
	 *           }
	 *           IL2CPP.ThrowNullReferenceException();
	 *         }
	 *         func_0x031fdca0(PTR_DAT_070c6fb0);
	 *         this_00 = (void *)func_0x031fdf24();
	 *         pvVar2 = (void *)func_0x031fdca0(PTR_DAT_0714f5b0);
	 *         System.ArgumentException..ctor(this_00,pvVar2);
	 *       }
	 *       uVar4 = func_0x031fdca0(PTR_DAT_0714f5d0);
	 *       IL2CPP.ThrowManagedException();
	 *     }
	 *   }
	 *   return;
	 */
	// RVA: 0x3243FFC VA: 0x781892EFFC
	private void RPC_ToggleDoor();
	/*
	 *   bool bVar1;
	 *   undefined *puVar2;
	 *   int iVar3;
	 *   ulong uVar4;
	 *   long *this_00;
	 *   long lVar5;
	 *   void **ppvVar6;
	 *   void *pvVar7;
	 *
	 *   bVar1 = this.isOpen;
	 *   this.isOpen = (bool)(bVar1 ^ 1);
	 *   puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a9ed & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c4278);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(PTR_DAT_070c42a8);
	 *     bRam000000000754a9ed = 1;
	 *   }
	 *   pvVar7 = this.animator;
	 *   if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   uVar4 = UnityEngine.Object.op_Equality(pvVar7,null);
	 *   if ((uVar4 & 1) != 0) {
	 *     return;
	 *   }
	 *   if (this.animator != null) {
	 *     this_00 = UnityEngine.Animator.get_runtimeAnimatorController(this.animator);
	 *     lVar5 = *(long *)PTR_DAT_070c4278;
	 *     if (bVar1 == false) {
	 *       if (this_00 != null) {
	 *         if ((*(byte *)(*this_00 + 0x130) < *(byte *)(lVar5 + 0x130)) ||
	 *            (*(long *)(*(long *)(*this_00 + 200) + (ulong)*(byte *)(lVar5 + 0x130) * 8 + -8) != lVar5
	 *            )) {
	 * LAB_03344184:
	 *           noreturn_helper_30fe2b4(this_00);
	 *         }
	 *       }
	 *       ppvVar6 = &this.openAnimation;
	 *     }
	 *     else {
	 *       if (this_00 != null) {
	 *         if ((*(byte *)(*this_00 + 0x130) < *(byte *)(lVar5 + 0x130)) ||
	 *            (*(long *)(*(long *)(*this_00 + 200) + (ulong)*(byte *)(lVar5 + 0x130) * 8 + -8) != lVar5
	 *            )) goto LAB_03344184;
	 *       }
	 *       ppvVar6 = &this.closeAnimation;
	 *     }
	 *     this.currentClip = *ppvVar6;
	 *     func_0x031fdc38();
	 *     puVar2 = PTR_DAT_070c42a8;
	 *     if (this_00 != null) {
	 *       UnityEngine.AnimatorOverrideController.set_Item(this_00,*(void **)PTR_DAT_070c42a8,this.currentClip);
	 *       pvVar7 = this.animator;
	 *       if (pvVar7 != null) {
	 *         iVar3 = UnityEngine.Animator.StringToHash(*(void **)puVar2);
	 *         if ((bRam000000000755d50a & 1) == 0) {
	 *           func_0x031fdc8c(PTR_DAT_0714df58,iVar3,0);
	 *           bRam000000000755d50a = 1;
	 *         }
	 *         if (pvVar7 != null) {
	 *           lVar5 = *(long *)((long)pvVar7 + 0x10);
	 *           if (lVar5 == 0) {
	 *             UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar7);
	 *           }
	 *           if (pcRam000000000755d560 == null) {
	 *             pcRam000000000755d560 = (code *)func_0x031fdc50(&UNK_0136d9cc);
	 *           }
	 *           (*pcRam000000000755d560)(0,lVar5,iVar3,0);
	 *           return;
	 *         }
	 *         IL2CPP.ThrowNullReferenceException();
	 *       }
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3244014 VA: 0x781892F014
	private void PlayDoorAnimation(bool open);
	/*
	 *   undefined *puVar1;
	 *   int iVar2;
	 *   ulong uVar3;
	 *   long *this_00;
	 *   long lVar4;
	 *   void **ppvVar5;
	 *   void *pvVar6;
	 *
	 *   puVar1 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *   if ((bRam000000000754a9ed & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c4278);
	 *     func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *     func_0x031fdc8c(PTR_DAT_070c42a8);
	 *     bRam000000000754a9ed = 1;
	 *   }
	 *   pvVar6 = this.animator;
	 *   if (*(int *)(*(long *)puVar1 + 0xe4) == 0) {
	 *     func_0x031fde08();
	 *   }
	 *   uVar3 = UnityEngine.Object.op_Equality(pvVar6,null);
	 *   if ((uVar3 & 1) != 0) {
	 *     return;
	 *   }
	 *   if (this.animator != null) {
	 *     this_00 = UnityEngine.Animator.get_runtimeAnimatorController(this.animator);
	 *     lVar4 = *(long *)PTR_DAT_070c4278;
	 *     if (open) {
	 *       if (this_00 != null) {
	 *         if ((*(byte *)(*this_00 + 0x130) < *(byte *)(lVar4 + 0x130)) ||
	 *            (*(long *)(*(long *)(*this_00 + 200) + (ulong)*(byte *)(lVar4 + 0x130) * 8 + -8) != lVar4
	 *            )) {
	 * LAB_03344184:
	 *           noreturn_helper_30fe2b4(this_00);
	 *         }
	 *       }
	 *       ppvVar5 = &this.openAnimation;
	 *     }
	 *     else {
	 *       if (this_00 != null) {
	 *         if ((*(byte *)(*this_00 + 0x130) < *(byte *)(lVar4 + 0x130)) ||
	 *            (*(long *)(*(long *)(*this_00 + 200) + (ulong)*(byte *)(lVar4 + 0x130) * 8 + -8) != lVar4
	 *            )) goto LAB_03344184;
	 *       }
	 *       ppvVar5 = &this.closeAnimation;
	 *     }
	 *     this.currentClip = *ppvVar5;
	 *     func_0x031fdc38();
	 *     puVar1 = PTR_DAT_070c42a8;
	 *     if (this_00 != null) {
	 *       UnityEngine.AnimatorOverrideController.set_Item(this_00,*(void **)PTR_DAT_070c42a8,this.currentClip);
	 *       pvVar6 = this.animator;
	 *       if (pvVar6 != null) {
	 *         iVar2 = UnityEngine.Animator.StringToHash(*(void **)puVar1);
	 *         if ((bRam000000000755d50a & 1) == 0) {
	 *           func_0x031fdc8c(PTR_DAT_0714df58,iVar2,0);
	 *           bRam000000000755d50a = 1;
	 *         }
	 *         if (pvVar6 != null) {
	 *           lVar4 = *(long *)((long)pvVar6 + 0x10);
	 *           if (lVar4 == 0) {
	 *             UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar6);
	 *           }
	 *           if (pcRam000000000755d560 == null) {
	 *             pcRam000000000755d560 = (code *)func_0x031fdc50(&UNK_0136d9cc);
	 *           }
	 *           (*pcRam000000000755d560)(0,lVar4,iVar2,0);
	 *           return;
	 *         }
	 *         IL2CPP.ThrowNullReferenceException();
	 *       }
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3243F90 VA: 0x781892EF90
	private System.Collections.IEnumerator Cooldown();
	/*
	 *   undefined *puVar1;
	 *   void *this_00;
	 *   void *extraout_x1;
	 *
	 *   puVar1 = PTR_DAT_070c42a0;
	 *   if ((bRam000000000754a9ee & 1) == 0) {
	 *     func_0x031fdc8c(PTR_DAT_070c42a0);
	 *     bRam000000000754a9ee = 1;
	 *     methodInfo = extraout_x1;
	 *   }
	 *   this_00 = (void *)func_0x031fdf24(*(undefined8 *)puVar1,methodInfo);
	 *   System.Object..ctor(this_00);
	 *   *(undefined4 *)((long)this_00 + 0x10) = 0;
	 *   *(undefined8 *)((long)this_00 + 0x20) = this;
	 *   func_0x031fdc38((undefined8 *)((long)this_00 + 0x20),this);
	 *   return this_00;
	 */
	// RVA: 0x32441B4 VA: 0x781892F1B4
	public void OnPhotonSerializeView(Photon.Pun.PhotonStream stream, Photon.Pun.PhotonMessageInfo info);
	/*
	 *   byte bVar1;
	 *   undefined *puVar2;
	 *   int iVar3;
	 *   ulong uVar4;
	 *   void *pvVar5;
	 *   long *plVar6;
	 *   byte *pbVar7;
	 *   long lVar8;
	 *   undefined8 *puVar9;
	 *   undefined8 uVar10;
	 *
	 *   if (param_2 != null) {
	 *     if (*(char *)((long)param_2 + 0x24) != '\0') {
	 *       pvVar5 = (void *)func_0x031fde10(*(undefined8 *)(PTR_DAT_070c0840 + 0x28),
	 *                                        &stack0xffffffffffffffec);
	 *       Photon.Pun.PhotonStream.SendNext(param_2,pvVar5);
	 *       return;
	 *     }
	 *     plVar6 = Photon.Pun.PhotonStream.ReceiveNext(param_2);
	 *     if (plVar6 != null) {
	 *       if (*(long *)(*plVar6 + 0x40) != *(long *)(*(long *)(PTR_DAT_070c0840 + 0x28) + 0x40)) {
	 *         noreturn_helper_30fe2b4();
	 *       }
	 *       pbVar7 = (byte *)func_0x031fde14();
	 *       bVar1 = *pbVar7;
	 *       *(byte *)(param_1 + 0x48) = bVar1;
	 *       puVar2 = typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8;
	 *       if ((bRam000000000754a9ed & 1) == 0) {
	 *         func_0x031fdc8c(PTR_DAT_070c4278);
	 *         func_0x031fdc8c(typeinfo_ptr_UnityEngine_CoreModule_Object_6FC07E8);
	 *         func_0x031fdc8c(PTR_DAT_070c42a8);
	 *         bRam000000000754a9ed = 1;
	 *       }
	 *       uVar10 = *(undefined8 *)(param_1 + 0x40);
	 *       if (*(int *)(*(long *)puVar2 + 0xe4) == 0) {
	 *         func_0x031fde08();
	 *       }
	 *       uVar4 = UnityEngine.Object.op_Equality(uVar10,null);
	 *       if ((uVar4 & 1) != 0) {
	 *         return;
	 *       }
	 *       if (*(void **)(param_1 + 0x40) != null) {
	 *         plVar6 = UnityEngine.Animator.get_runtimeAnimatorController(*(void **)(param_1 + 0x40));
	 *         lVar8 = *(long *)PTR_DAT_070c4278;
	 *         if ((bVar1 & 1) == 0) {
	 *           if (plVar6 != null) {
	 *             if ((*(byte *)(*plVar6 + 0x130) < *(byte *)(lVar8 + 0x130)) ||
	 *                (*(long *)(*(long *)(*plVar6 + 200) + (ulong)*(byte *)(lVar8 + 0x130) * 8 + -8) !=
	 *                 lVar8)) goto LAB_03344184;
	 *           }
	 *           puVar9 = (undefined8 *)(param_1 + 0x30);
	 *         }
	 *         else {
	 *           if (plVar6 != null) {
	 *             if ((*(byte *)(*plVar6 + 0x130) < *(byte *)(lVar8 + 0x130)) ||
	 *                (*(long *)(*(long *)(*plVar6 + 200) + (ulong)*(byte *)(lVar8 + 0x130) * 8 + -8) !=
	 *                 lVar8)) {
	 * LAB_03344184:
	 *               noreturn_helper_30fe2b4(plVar6);
	 *             }
	 *           }
	 *           puVar9 = (undefined8 *)(param_1 + 0x28);
	 *         }
	 *         *(undefined8 *)(param_1 + 0x50) = *puVar9;
	 *         func_0x031fdc38();
	 *         puVar2 = PTR_DAT_070c42a8;
	 *         if (plVar6 != null) {
	 *           UnityEngine.AnimatorOverrideController.set_Item(plVar6,*(void **)PTR_DAT_070c42a8,*(void **)(param_1 + 0x50));
	 *           pvVar5 = *(void **)(param_1 + 0x40);
	 *           if (pvVar5 != null) {
	 *             iVar3 = UnityEngine.Animator.StringToHash(*(void **)puVar2);
	 *             if ((bRam000000000755d50a & 1) == 0) {
	 *               func_0x031fdc8c(PTR_DAT_0714df58,iVar3,0);
	 *               bRam000000000755d50a = 1;
	 *             }
	 *             if (pvVar5 != null) {
	 *               lVar8 = *(long *)((long)pvVar5 + 0x10);
	 *               if (lVar8 == 0) {
	 *                 UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException(pvVar5);
	 *               }
	 *               if (pcRam000000000755d560 == null) {
	 *                 pcRam000000000755d560 = (code *)func_0x031fdc50(&UNK_0136d9cc);
	 *               }
	 *               (*pcRam000000000755d560)(0,lVar8,iVar3,0);
	 *               return;
	 *             }
	 *             IL2CPP.ThrowNullReferenceException();
	 *           }
	 *         }
	 *       }
	 *       IL2CPP.ThrowNullReferenceException();
	 *     }
	 *   }
	 *   IL2CPP.ThrowNullReferenceException();
	 */
	// RVA: 0x3244260 VA: 0x781892F260
	public void .ctor();
	/*
	 *   undefined *puVar1;
	 *
	 *   this.buttonCooldown = 3.0;
	 *   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;
	 */
}
