using System; using System.Collections.Generic; using Cpp2IlInjected; using RecRoom.Players.Watch; using UnityEngine; namespace RecRoom.Core.VR.UI { // Token: 0x02002FD9 RID: 12249 [Token(Token = "0x2002FD9")] [Serializable] public class WatchNotificationVRController { // Token: 0x06014A86 RID: 84614 RVA: 0x004C58BC File Offset: 0x004C3ABC [Token(Token = "0x6014A86")] [Address(RVA = "0x16127E0", Offset = "0x16117E0", VA = "0x1816127E0")] public void BALOKJMBNIN(VRPlayerController FINBOONIGDO, Player IEKDDPPNFPF, NotificationManager ABMJMBDDGHM) { int num = 0; if (!(ABMJMBDDGHM == num)) { int num2 = 0; if (!(IEKDDPPNFPF == num2)) { this.COIBPGNNGCO(IEKDDPPNFPF, ABMJMBDDGHM); } } } // Token: 0x06014A87 RID: 84615 RVA: 0x004C58EC File Offset: 0x004C3AEC [Token(Token = "0x6014A87")] [Address(RVA = "0x16129E0", Offset = "0x16119E0", VA = "0x1816129E0")] private void COIBPGNNGCO(Player IEKDDPPNFPF, NotificationManager ABMJMBDDGHM) { int num = 0; PlayerUI playerUI = IEKDDPPNFPF.playerUI; int num2 = 0; if (!(playerUI == num2)) { PlayerHand attachedHand = IEKDDPPNFPF.playerUI.watchMenuProjector.EKKDJEIFGMJ; int num3 = 0; if (!(attachedHand == num3)) { WatchAttractor k__BackingField = IEKDDPPNFPF.playerUI.k__BackingField; int num4 = 0; KHINMMJIENE khinmmjiene; if (k__BackingField == num4 || !ABMJMBDDGHM.TryConsumeWatchNotification(num) || khinmmjiene != 0) { } } } } // Token: 0x06014A88 RID: 84616 RVA: 0x004C5964 File Offset: 0x004C3B64 [Token(Token = "0x6014A88")] [Address(RVA = "0x1612ED0", Offset = "0x1611ED0", VA = "0x181612ED0")] private void NGEKHDFJAIK(PlayerUI DGKDMIKKKEF, PlayerHand CFLLPGHCBNI, WatchAttractor DLBHAFEEBAN, NotificationManager.GDHBEIJINND NOEDFHOANIO) { int num = 0; RecRoomAudioClip recRoomAudioClip = this.watchNotificationAudio; Transform transform = CFLLPGHCBNI.transform; Vector3 vector; float z = vector.z; NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG; if (instance == 0) { } if (instance == 0) { } IDisposable disposable; KFBABPAPIMB kfbabpapimb; if (disposable != (ulong)4L) { if (this.hapticsCoroutine != 0) { this.hapticsCoroutine = num; } Scheduler instance2 = SingletonMonoBehaviour.ONCPNMDGGKG; WatchNotificationVRController.JDFCAMMLMAG jdfcammlmag; jdfcammlmag.System.IDisposable.Dispose(); jdfcammlmag.<>1__state = num; jdfcammlmag.watchHand = CFLLPGHCBNI; int num2 = 0; kfbabpapimb = instance2.Run(num2, jdfcammlmag); this.hapticsCoroutine = kfbabpapimb; } if (kfbabpapimb != (ulong)2L) { int num3 = 0; DLBHAFEEBAN.NMIKFJDMHAA = num3 != 0; if (this.attractorEffectCoroutine != 0) { this.attractorEffectCoroutine = num; } Scheduler instance3 = SingletonMonoBehaviour.ONCPNMDGGKG; WatchNotificationVRController.HBOKMMNACHF hbokmmnachf; hbokmmnachf.System.IDisposable.Dispose(); hbokmmnachf.<>1__state = num; hbokmmnachf.<>4__this = this; hbokmmnachf.playerUI = DGKDMIKKKEF; hbokmmnachf.watchAttractor = DLBHAFEEBAN; int num4 = 0; KFBABPAPIMB kfbabpapimb2 = instance3.Run(num4, hbokmmnachf); this.attractorEffectCoroutine = kfbabpapimb2; } } // Token: 0x06014A89 RID: 84617 RVA: 0x004C5A58 File Offset: 0x004C3C58 [Token(Token = "0x6014A89")] [Address(RVA = "0x16128A0", Offset = "0x16118A0", VA = "0x1816128A0")] private void BHKMIEEBLIL(PlayerUI DGKDMIKKKEF, WatchAttractor DLBHAFEEBAN) { int num = 0; DLBHAFEEBAN.NMIKFJDMHAA = num != 0; if (this.attractorEffectCoroutine != 0) { this.attractorEffectCoroutine = (ulong)0L; } Scheduler instance = SingletonMonoBehaviour.ONCPNMDGGKG; WatchNotificationVRController.HBOKMMNACHF hbokmmnachf; hbokmmnachf.System.IDisposable.Dispose(); hbokmmnachf.<>1__state = (int)((ulong)0L); hbokmmnachf.<>4__this = this; hbokmmnachf.playerUI = DGKDMIKKKEF; hbokmmnachf.watchAttractor = DLBHAFEEBAN; int num2 = 0; KFBABPAPIMB kfbabpapimb = instance.Run(num2, hbokmmnachf); this.attractorEffectCoroutine = kfbabpapimb; } // Token: 0x06014A8A RID: 84618 RVA: 0x004C5AC4 File Offset: 0x004C3CC4 [Token(Token = "0x6014A8A")] [Address(RVA = "0x1612C10", Offset = "0x1611C10", VA = "0x181612C10")] private void DNMJBNJNPLH(WatchAttractor DLBHAFEEBAN) { int num = 0; DLBHAFEEBAN.NMIKFJDMHAA = num != 0; if (this.attractorEffectCoroutine != 0) { this.attractorEffectCoroutine = (ulong)0L; } } // Token: 0x06014A8B RID: 84619 RVA: 0x004C5AF4 File Offset: 0x004C3CF4 [Token(Token = "0x6014A8B")] [Address(RVA = "0x1612DF0", Offset = "0x1611DF0", VA = "0x181612DF0")] private IEnumerator JFNKLHJHBJH(PlayerUI DGKDMIKKKEF, WatchAttractor DLBHAFEEBAN) { /* An exception occurred when decompiling this method (06014A8B) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1 RecRoom.Core.VR.UI.WatchNotificationVRController::JFNKLHJHBJH(PlayerUI,RecRoom.Players.Watch.WatchAttractor) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(HBOKMMNACHF::System.IDisposable.Dispose, ldloc:HBOKMMNACHF(var_0)) stfld:WatchNotificationVRController(HBOKMMNACHF::<>4__this, ldloc:HBOKMMNACHF(var_0), ldloc:WatchNotificationVRController(this)) stfld:PlayerUI(HBOKMMNACHF::playerUI, ldloc:HBOKMMNACHF(var_0), ldloc:PlayerUI(DGKDMIKKKEF)) stfld:int32(HBOKMMNACHF::<>1__state, ldloc:HBOKMMNACHF(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:WatchAttractor(HBOKMMNACHF::watchAttractor, ldloc:HBOKMMNACHF(var_0), ldloc:WatchAttractor(DLBHAFEEBAN)) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x06014A8C RID: 84620 RVA: 0x004C5B24 File Offset: 0x004C3D24 [Token(Token = "0x6014A8C")] [Address(RVA = "0x1612CD0", Offset = "0x1611CD0", VA = "0x181612CD0")] private void HJMJDOGMCJF(PlayerHand CFLLPGHCBNI) { if (this.hapticsCoroutine != 0) { this.hapticsCoroutine = (ulong)0L; } Scheduler instance = SingletonMonoBehaviour.ONCPNMDGGKG; WatchNotificationVRController.JDFCAMMLMAG jdfcammlmag; jdfcammlmag.System.IDisposable.Dispose(); jdfcammlmag.<>1__state = (int)((ulong)0L); jdfcammlmag.watchHand = CFLLPGHCBNI; int num = 0; KFBABPAPIMB kfbabpapimb = instance.Run(num, jdfcammlmag); this.hapticsCoroutine = kfbabpapimb; } // Token: 0x06014A8D RID: 84621 RVA: 0x004C5B78 File Offset: 0x004C3D78 [Token(Token = "0x6014A8D")] [Address(RVA = "0x1612C80", Offset = "0x1611C80", VA = "0x181612C80")] private void GGDLGIPEKLH() { if (this.hapticsCoroutine != 0) { this.hapticsCoroutine = (ulong)0L; } } // Token: 0x06014A8E RID: 84622 RVA: 0x004C5B98 File Offset: 0x004C3D98 [Token(Token = "0x6014A8E")] [Address(RVA = "0x1612E70", Offset = "0x1611E70", VA = "0x181612E70")] private IEnumerator JPLPOKDFMAF(PlayerHand CFLLPGHCBNI) { /* An exception occurred when decompiling this method (06014A8E) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1 RecRoom.Core.VR.UI.WatchNotificationVRController::JPLPOKDFMAF(PlayerHand) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(JDFCAMMLMAG::System.IDisposable.Dispose, ldloc:JDFCAMMLMAG(var_0)) stfld:int32(JDFCAMMLMAG::<>1__state, ldloc:JDFCAMMLMAG(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:PlayerHand(JDFCAMMLMAG::watchHand, ldloc:JDFCAMMLMAG(var_0), ldloc:PlayerHand(CFLLPGHCBNI)) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x06014A8F RID: 84623 RVA: 0x004C5BBC File Offset: 0x004C3DBC [Token(Token = "0x6014A8F")] [Address(RVA = "0x16132D0", Offset = "0x16122D0", VA = "0x1816132D0")] public WatchNotificationVRController() { } // Token: 0x0400D6B9 RID: 54969 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400D6B9")] [SerializeField] private float watchNotificationDuration = 10f; // Token: 0x0400D6BA RID: 54970 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400D6BA")] [SerializeField] private RecRoomAudioClip watchNotificationAudio; // Token: 0x0400D6BB RID: 54971 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400D6BB")] private KFBABPAPIMB attractorEffectCoroutine; // Token: 0x0400D6BC RID: 54972 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400D6BC")] private KFBABPAPIMB hapticsCoroutine; } }