using System; using System.Runtime.InteropServices; using Cpp2IlInjected; using UnityEngine; namespace RecRoom.Core.Cinematics { // Token: 0x02002A93 RID: 10899 [Token(Token = "0x2002A93")] [ExecuteInEditMode] [RequireComponent(typeof(Animator))] [StructLayout(3)] public class Cinematic : MonoBehaviour { // Token: 0x170032E4 RID: 13028 // (get) Token: 0x06013128 RID: 78120 RVA: 0x00494F40 File Offset: 0x00493140 [Token(Token = "0x170032E4")] private static RuntimeAnimatorController BONEAKHDIFN { [Token(Token = "0x6013128")] [Address(RVA = "0x185AB20", Offset = "0x1859520", VA = "0x18185AB20")] get { RuntimeAnimatorController gkeeifbakmf = Cinematic.GKEEIFBAKMF; int num = 0; if (gkeeifbakmf == num) { global::UnityEngine.Object @object = Resources.Load(Cinematic.IHMJNIICJAB); if (@object == 0) { } Cinematic.GKEEIFBAKMF = @object; } return Cinematic.GKEEIFBAKMF; } } // Token: 0x170032E5 RID: 13029 // (get) Token: 0x06013129 RID: 78121 RVA: 0x00494F7C File Offset: 0x0049317C [Token(Token = "0x170032E5")] public bool BICMECLEPLM { [Token(Token = "0x6013129")] [Address(RVA = "0x185B500", Offset = "0x1859F00", VA = "0x18185B500")] get { Animator animator = this.animator; int num = 0; if (!(animator != num)) { return true; } Animator animator2 = this.animator; AnimatorStateInfo animatorStateInfo; float length = animatorStateInfo.m_Length; int loop = animatorStateInfo.m_Loop; throw new MissingMethodException(); } } // Token: 0x0601312A RID: 78122 RVA: 0x00494FCC File Offset: 0x004931CC [Token(Token = "0x601312A")] [Address(RVA = "0x185AC70", Offset = "0x1859670", VA = "0x18185AC70")] private void Awake() { CinematicBehaviour[] componentsInChildren = base.GetComponentsInChildren(true); this.AFPKDDPIDHL = componentsInChildren; Animator animator = this.animator; int num = 0; if (animator == num) { Animator component = base.GetComponent(); this.animator = component; } Animator animator2 = this.animator; int num2 = 0; if (animator2 != num2) { AnimationClip animationClip = this.cinematicAnimation; int num3 = 0; if (animationClip != num3 && !this.LADIENJLILJ()) { AnimatorOverrideController animatorOverrideController = new AnimatorOverrideController(Cinematic.BONEAKHDIFN); AnimationClip animationClip2 = this.cinematicAnimation; string iaeipheedei = Cinematic.IAEIPHEEDEI; animatorOverrideController[iaeipheedei] = animationClip2; this.animator.runtimeAnimatorController = animatorOverrideController; } } } // Token: 0x0601312B RID: 78123 RVA: 0x0049507C File Offset: 0x0049327C [Token(Token = "0x601312B")] [Address(RVA = "0x185AE30", Offset = "0x1859830", VA = "0x18185AE30")] private void KDKOAEMGHGH() { Animator animator = this.animator; int num = 0; if (animator == num) { Animator component = base.GetComponent(); this.animator = component; } Animator animator2 = this.animator; int num2 = 0; if (animator2 != num2) { AnimationClip animationClip = this.cinematicAnimation; int num3 = 0; if (animationClip != num3 && !this.LADIENJLILJ()) { AnimatorOverrideController animatorOverrideController = new AnimatorOverrideController(Cinematic.BONEAKHDIFN); AnimationClip animationClip2 = this.cinematicAnimation; string iaeipheedei = Cinematic.IAEIPHEEDEI; animatorOverrideController[iaeipheedei] = animationClip2; this.animator.runtimeAnimatorController = animatorOverrideController; } } } // Token: 0x0601312C RID: 78124 RVA: 0x0049511C File Offset: 0x0049331C [Token(Token = "0x601312C")] [Address(RVA = "0x185AFC0", Offset = "0x18599C0", VA = "0x18185AFC0")] private bool LADIENJLILJ() { RuntimeAnimatorController runtimeAnimatorController = this.animator.runtimeAnimatorController; int num = 0; if (!(runtimeAnimatorController == num)) { RuntimeAnimatorController runtimeAnimatorController2 = this.animator.runtimeAnimatorController; RuntimeAnimatorController runtimeAnimatorController3 = Cinematic.BONEAKHDIFN; if (!(runtimeAnimatorController2 == runtimeAnimatorController3)) { RuntimeAnimatorController runtimeAnimatorController4 = this.animator.runtimeAnimatorController; if (runtimeAnimatorController4 == 0) { } int num2 = 0; if (!(runtimeAnimatorController4 == num2)) { string iaeipheedei = Cinematic.IAEIPHEEDEI; AnimationClip animationClip = this.cinematicAnimation; AnimationClip animationClip2; if (!(animationClip2 != animationClip)) { return true; } } } } throw new NullReferenceException(); } // Token: 0x0601312D RID: 78125 RVA: 0x004951AC File Offset: 0x004933AC [Token(Token = "0x601312D")] [Address(RVA = "0x185B1E0", Offset = "0x1859BE0", VA = "0x18185B1E0")] public void Play() { this.animator.Rebind(); this.animator.enabled = true; CinematicBehaviour[] afpkddpidhl = this.AFPKDDPIDHL; int num = 0; if (num < afpkddpidhl.Length) { afpkddpidhl[num].gameObject.SetActive(true); CinematicBehaviour cinematicBehaviour = this.AFPKDDPIDHL[num]; cinematicBehaviour.isPlaying = false; cinematicBehaviour.BDBPEDPLJOD(); CinematicBehaviour[] afpkddpidhl2 = this.AFPKDDPIDHL; num++; } Animator animator = this.animator; int mjldfgpbpfk = Cinematic.MJLDFGPBPFK; animator.SetTrigger(mjldfgpbpfk); } // Token: 0x0601312E RID: 78126 RVA: 0x00495238 File Offset: 0x00493438 [Token(Token = "0x601312E")] [Address(RVA = "0x185B360", Offset = "0x1859D60", VA = "0x18185B360")] public void Stop() { Animator animator = this.animator; int num = 0; animator.enabled = num != 0; CinematicBehaviour[] afpkddpidhl = this.AFPKDDPIDHL; int num2 = 0; if (num2 < afpkddpidhl.Length) { CinematicBehaviour cinematicBehaviour = afpkddpidhl[num2]; cinematicBehaviour.isPlaying = false; cinematicBehaviour.BDBPEDPLJOD(); GameObject gameObject = this.AFPKDDPIDHL[num2].gameObject; int num3 = 0; gameObject.SetActive(num3 != 0); CinematicBehaviour[] afpkddpidhl2 = this.AFPKDDPIDHL; num2++; } } // Token: 0x0601312F RID: 78127 RVA: 0x004952B0 File Offset: 0x004934B0 [Token(Token = "0x601312F")] [Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")] public Cinematic() { } // Token: 0x0400CF18 RID: 53016 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400CF18")] [SerializeField] [DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)] private Animator animator; // Token: 0x0400CF19 RID: 53017 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x400CF19")] [SerializeField] private AnimationClip cinematicAnimation; // Token: 0x0400CF1A RID: 53018 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x400CF1A")] private CinematicBehaviour[] AFPKDDPIDHL; // Token: 0x0400CF1B RID: 53019 [Token(Token = "0x400CF1B")] private static readonly int MJLDFGPBPFK = Animator.StringToHash("Play"); // Token: 0x0400CF1C RID: 53020 [Token(Token = "0x400CF1C")] private static readonly string IHMJNIICJAB = "CinematicTemplateController"; // Token: 0x0400CF1D RID: 53021 [Token(Token = "0x400CF1D")] private static readonly string IAEIPHEEDEI = "CinematicTemplateAnimation"; // Token: 0x0400CF1E RID: 53022 [Token(Token = "0x400CF1E")] private static readonly string HMJJIMACENL = "Cinematic"; // Token: 0x0400CF1F RID: 53023 [Token(Token = "0x400CF1F")] private static RuntimeAnimatorController GKEEIFBAKMF; } }