636 lines
24 KiB
C#
636 lines
24 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
using UnityEngine.XR;
|
|
|
|
namespace RecRoom.Platforms
|
|
{
|
|
// Token: 0x020021EC RID: 8684
|
|
[Token(Token = "0x20021EC")]
|
|
[StructLayout(3)]
|
|
public abstract class VRDeviceManager : SingletonMonoBehaviour<VRDeviceManager>
|
|
{
|
|
// Token: 0x17002828 RID: 10280
|
|
// (get) Token: 0x0600EF49 RID: 61257 RVA: 0x0038BFA8 File Offset: 0x0038A1A8
|
|
[Token(Token = "0x17002828")]
|
|
public static string OBHKGDABHJB
|
|
{
|
|
[Token(Token = "0x600EF49")]
|
|
[Address(RVA = "0x14201C0", Offset = "0x141EBC0", VA = "0x1814201C0")]
|
|
get
|
|
{
|
|
return XRDevice.model;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002829 RID: 10281
|
|
// (get) Token: 0x0600EF4A RID: 61258
|
|
[Token(Token = "0x17002829")]
|
|
protected abstract IEnumerable<string> BNGHIFGAPMF
|
|
{
|
|
[Token(Token = "0x600EF4A")]
|
|
[Address(Slot = "6")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700282A RID: 10282
|
|
// (get) Token: 0x0600EF4B RID: 61259
|
|
[Token(Token = "0x1700282A")]
|
|
protected abstract string MFMBPKGFMAL
|
|
{
|
|
[Token(Token = "0x600EF4B")]
|
|
[Address(Slot = "7")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700282B RID: 10283
|
|
// (get) Token: 0x0600EF4C RID: 61260
|
|
[Token(Token = "0x1700282B")]
|
|
protected abstract bool MLGJJEILBIP
|
|
{
|
|
[Token(Token = "0x600EF4C")]
|
|
[Address(Slot = "8")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700282C RID: 10284
|
|
// (get) Token: 0x0600EF4D RID: 61261 RVA: 0x0038BFBC File Offset: 0x0038A1BC
|
|
[Token(Token = "0x1700282C")]
|
|
public bool JOGJIKFEHKJ
|
|
{
|
|
[Token(Token = "0x600EF4D")]
|
|
[Address(RVA = "0x1420210", Offset = "0x141EC10", VA = "0x181420210")]
|
|
get
|
|
{
|
|
if (!this.DOIINGJNBHA && !this.HENBMPCAJKH)
|
|
{
|
|
IEnumerable<string> enumerable = this.GIGDJGPFFDD();
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700282D RID: 10285
|
|
// (get) Token: 0x0600EF4E RID: 61262
|
|
[Token(Token = "0x1700282D")]
|
|
protected abstract bool OECOONPHCAF
|
|
{
|
|
[Token(Token = "0x600EF4E")]
|
|
[Address(Slot = "9")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x1700282E RID: 10286
|
|
// (get) Token: 0x0600EF4F RID: 61263 RVA: 0x0038BFE4 File Offset: 0x0038A1E4
|
|
[Token(Token = "0x1700282E")]
|
|
public bool GHCOKHFPGIC
|
|
{
|
|
[Token(Token = "0x600EF4F")]
|
|
[Address(RVA = "0x1420230", Offset = "0x141EC30", VA = "0x181420230")]
|
|
get
|
|
{
|
|
if (this.DOIINGJNBHA || this.HENBMPCAJKH)
|
|
{
|
|
return;
|
|
}
|
|
string text = this.MFMBPKGFMAL;
|
|
if (text != 0)
|
|
{
|
|
if (NOBCCPHLPNJ.MMICKFMMLJO)
|
|
{
|
|
int num = 0;
|
|
int num2 = NOBCCPHLPNJ.JGGKHJCBGLF("SKIPS_USER_PRESENCE_CHECK", num);
|
|
int num3 = 0;
|
|
this.GKPJBHOPDPO = num3;
|
|
if (text != 0)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
IEnumerable<string> enumerable = this.GIGDJGPFFDD();
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700282F RID: 10287
|
|
// (get) Token: 0x0600EF50 RID: 61264
|
|
[Token(Token = "0x1700282F")]
|
|
protected abstract bool OOIGBACMDFJ
|
|
{
|
|
[Token(Token = "0x600EF50")]
|
|
[Address(Slot = "10")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x17002830 RID: 10288
|
|
// (get) Token: 0x0600EF51 RID: 61265 RVA: 0x0038C044 File Offset: 0x0038A244
|
|
[Token(Token = "0x17002830")]
|
|
protected bool FJNFMNMGDMM
|
|
{
|
|
[Token(Token = "0x600EF51")]
|
|
[Address(RVA = "0x141F710", Offset = "0x141E110", VA = "0x18141F710")]
|
|
get
|
|
{
|
|
LocalPlayerController instance = SingletonMonoBehaviour.Instance;
|
|
int num = 0;
|
|
bool flag = instance != num;
|
|
if (!flag)
|
|
{
|
|
return flag;
|
|
}
|
|
return SingletonMonoBehaviour.Instance.EBPFBFMJMBB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002831 RID: 10289
|
|
// (get) Token: 0x0600EF52 RID: 61266 RVA: 0x0038C078 File Offset: 0x0038A278
|
|
[Token(Token = "0x17002831")]
|
|
protected bool DMFIABDANLI
|
|
{
|
|
[Token(Token = "0x600EF52")]
|
|
[Address(RVA = "0x141F4A0", Offset = "0x141DEA0", VA = "0x18141F4A0")]
|
|
get
|
|
{
|
|
LocalPlayerController instance = SingletonMonoBehaviour.Instance;
|
|
int num = 0;
|
|
bool flag = instance != num;
|
|
if (!flag)
|
|
{
|
|
return flag;
|
|
}
|
|
return SingletonMonoBehaviour.Instance.DMFIABDANLI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002832 RID: 10290
|
|
// (get) Token: 0x0600EF53 RID: 61267 RVA: 0x0038C0AC File Offset: 0x0038A2AC
|
|
[Token(Token = "0x17002832")]
|
|
protected bool PCEJPDBOLFD
|
|
{
|
|
[Token(Token = "0x600EF53")]
|
|
[Address(RVA = "0x141F950", Offset = "0x141E350", VA = "0x18141F950")]
|
|
get
|
|
{
|
|
string loadedDeviceName = XRSettings.loadedDeviceName;
|
|
if (this.GIGDJGPFFDD() == 0)
|
|
{
|
|
}
|
|
return XRDevice.isPresent;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002833 RID: 10291
|
|
// (get) Token: 0x0600EF54 RID: 61268 RVA: 0x0038C0D4 File Offset: 0x0038A2D4
|
|
[Token(Token = "0x17002833")]
|
|
private bool IJAHFCGMDND
|
|
{
|
|
[Token(Token = "0x600EF54")]
|
|
[Address(RVA = "0x141FC60", Offset = "0x141E660", VA = "0x18141FC60")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600EF54)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.Platforms.VRDeviceManager::OCDECBADIGP()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_0E:
|
|
stloc:int32(var_2_0F, ldc.i4:int32(0))
|
|
stloc:int32(var_3_1B, call:int32(NOBCCPHLPNJ::JGGKHJCBGLF, ldstr:string("SKIPS_USER_PRESENCE_CHECK"), ldloc:int32(var_2_0F)))
|
|
stloc:int32(var_4_1D, ldc.i4:int32(0))
|
|
stfld:valuetype [mscorlib]System.Nullable`1<bool>(VRDeviceManager::GKPJBHOPDPO, ldloc:VRDeviceManager(this), ldloc:int32[exp:valuetype [mscorlib]System.Nullable`1<bool>](var_4_1D))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x17002834 RID: 10292
|
|
// (get) Token: 0x0600EF55 RID: 61269 RVA: 0x0038C108 File Offset: 0x0038A308
|
|
[Token(Token = "0x17002834")]
|
|
private bool PLPOKNDNEMJ
|
|
{
|
|
[Token(Token = "0x600EF55")]
|
|
[Address(RVA = "0x141F600", Offset = "0x141E000", VA = "0x18141F600")]
|
|
get
|
|
{
|
|
if (this.DNADEDOPDME == 0)
|
|
{
|
|
}
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002835 RID: 10293
|
|
// (get) Token: 0x0600EF56 RID: 61270 RVA: 0x0038C124 File Offset: 0x0038A324
|
|
// (set) Token: 0x0600EF57 RID: 61271 RVA: 0x0038C138 File Offset: 0x0038A338
|
|
[Token(Token = "0x17002835")]
|
|
private bool LEJCNOAGDDC
|
|
{
|
|
[Token(Token = "0x600EF56")]
|
|
[Address(RVA = "0x456470", Offset = "0x454E70", VA = "0x180456470")]
|
|
get
|
|
{
|
|
return this.HENBMPCAJKH;
|
|
}
|
|
[Token(Token = "0x600EF57")]
|
|
[Address(RVA = "0x141F9F0", Offset = "0x141E3F0", VA = "0x18141F9F0")]
|
|
set
|
|
{
|
|
if (this.HENBMPCAJKH != value)
|
|
{
|
|
this.HENBMPCAJKH = value;
|
|
if (value)
|
|
{
|
|
XRSettings.enabled = false;
|
|
this.MBHPGIBJHLM();
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17002836 RID: 10294
|
|
// (get) Token: 0x0600EF58 RID: 61272 RVA: 0x0038C168 File Offset: 0x0038A368
|
|
// (set) Token: 0x0600EF59 RID: 61273 RVA: 0x0038C17C File Offset: 0x0038A37C
|
|
[Token(Token = "0x17002836")]
|
|
public bool HEJKCNIMJIB
|
|
{
|
|
[Token(Token = "0x600EF58")]
|
|
[Address(RVA = "0x6A8490", Offset = "0x6A6E90", VA = "0x1806A8490")]
|
|
get;
|
|
[Token(Token = "0x600EF59")]
|
|
[Address(RVA = "0x6A84B0", Offset = "0x6A6EB0", VA = "0x1806A84B0")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x0600EF5A RID: 61274 RVA: 0x0038C190 File Offset: 0x0038A390
|
|
[Token(Token = "0x600EF5A")]
|
|
[Address(RVA = "0x141FE90", Offset = "0x141E890", VA = "0x18141FE90", Slot = "11")]
|
|
protected virtual void Start()
|
|
{
|
|
LocalPlayerController instance;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
instance = SingletonMonoBehaviour.Instance;
|
|
Action displayModeChange = instance.DisplayModeChange;
|
|
Action action = new Action(this.ENLAIIOAICM);
|
|
@delegate = Delegate.Combine(displayModeChange, action);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
instance.DisplayModeChange = @delegate;
|
|
LocalPlayerController.MIGPLDFLMHA akpgddbmbmk;
|
|
if (this.DOIINGJNBHA || this.HENBMPCAJKH || this.MFMBPKGFMAL == 0 || !SingletonMonoBehaviour.Instance.DMFIABDANLI)
|
|
{
|
|
akpgddbmbmk = SingletonMonoBehaviour.Instance.AKPGDDBMBMK;
|
|
if (akpgddbmbmk != LocalPlayerController.MIGPLDFLMHA.VR)
|
|
{
|
|
goto IL_70;
|
|
}
|
|
}
|
|
this.DPMCOICDAOF();
|
|
IL_70:
|
|
if (akpgddbmbmk == LocalPlayerController.MIGPLDFLMHA.SCREEN)
|
|
{
|
|
this.MBHPGIBJHLM();
|
|
}
|
|
Action<float> action2 = new Action(this.GAJIJLPDHNI);
|
|
IDisposable disposable = ScheduledUpdateMonoBehaviourExtensions.UpdateAtRate(this, 0.3f, action2);
|
|
}
|
|
|
|
// Token: 0x0600EF5B RID: 61275 RVA: 0x0038C23C File Offset: 0x0038A43C
|
|
[Token(Token = "0x600EF5B")]
|
|
[Address(RVA = "0x141FD40", Offset = "0x141E740", VA = "0x18141FD40", Slot = "5")]
|
|
protected override void OnDestroy()
|
|
{
|
|
LocalPlayerController instance2;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
base.OnDestroy();
|
|
LocalPlayerController instance = SingletonMonoBehaviour.Instance;
|
|
int num = 0;
|
|
if (!(instance != num))
|
|
{
|
|
return;
|
|
}
|
|
instance2 = SingletonMonoBehaviour.Instance;
|
|
Action displayModeChange = instance2.DisplayModeChange;
|
|
Action action = new Action(this.ENLAIIOAICM);
|
|
@delegate = Delegate.Remove(displayModeChange, action);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
instance2.DisplayModeChange = @delegate;
|
|
}
|
|
|
|
// Token: 0x0600EF5C RID: 61276 RVA: 0x0038C2A0 File Offset: 0x0038A4A0
|
|
[Token(Token = "0x600EF5C")]
|
|
[Address(RVA = "0x141F650", Offset = "0x141E050", VA = "0x18141F650")]
|
|
private void GAJIJLPDHNI(float POGAEJIEPIM)
|
|
{
|
|
if (SingletonMonoBehaviour.Instance.EBPFBFMJMBB && (this.DOIINGJNBHA || this.HENBMPCAJKH || this.MFMBPKGFMAL == 0 || !this.PCEJPDBOLFD))
|
|
{
|
|
this.DPMCOICDAOF();
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EF5D RID: 61277 RVA: 0x0038C2EC File Offset: 0x0038A4EC
|
|
[Token(Token = "0x600EF5D")]
|
|
[Address(RVA = "0x141F570", Offset = "0x141DF70", VA = "0x18141F570")]
|
|
protected void ENLAIIOAICM()
|
|
{
|
|
LocalPlayerController.MIGPLDFLMHA akpgddbmbmk = SingletonMonoBehaviour.Instance.AKPGDDBMBMK;
|
|
if (akpgddbmbmk == LocalPlayerController.MIGPLDFLMHA.VR)
|
|
{
|
|
this.DPMCOICDAOF();
|
|
return;
|
|
}
|
|
while (akpgddbmbmk != LocalPlayerController.MIGPLDFLMHA.SCREEN)
|
|
{
|
|
}
|
|
this.MBHPGIBJHLM();
|
|
}
|
|
|
|
// Token: 0x0600EF5E RID: 61278 RVA: 0x0038C320 File Offset: 0x0038A520
|
|
[Token(Token = "0x600EF5E")]
|
|
[Address(RVA = "0x141F3A0", Offset = "0x141DDA0", VA = "0x18141F3A0")]
|
|
protected void DPMCOICDAOF()
|
|
{
|
|
if (!this.HENBMPCAJKH)
|
|
{
|
|
if (this.DNADEDOPDME != 0)
|
|
{
|
|
Action action = new Action(this.DPMCOICDAOF);
|
|
this.AMLHPGAHFEC = action;
|
|
return;
|
|
}
|
|
VRDeviceManager.GBMGDJEMLAF gbmgdjemlaf;
|
|
gbmgdjemlaf.System.IDisposable.Dispose();
|
|
gbmgdjemlaf.<>1__state = (int)((ulong)0L);
|
|
gbmgdjemlaf.<>4__this = this;
|
|
this.KBKFFPOJPAM(gbmgdjemlaf);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EF5F RID: 61279 RVA: 0x0038C374 File Offset: 0x0038A574
|
|
[Token(Token = "0x600EF5F")]
|
|
[Address(RVA = "0x141F7E0", Offset = "0x141E1E0", VA = "0x18141F7E0")]
|
|
private IEnumerator<ISchedule> HFCJAPDEAPF()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600EF5F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> RecRoom.Platforms.VRDeviceManager::HFCJAPDEAPF()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(GBMGDJEMLAF::System.IDisposable.Dispose, ldloc:GBMGDJEMLAF(var_0))
|
|
stfld:int32(GBMGDJEMLAF::<>1__state, ldloc:GBMGDJEMLAF(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:VRDeviceManager(GBMGDJEMLAF::<>4__this, ldloc:GBMGDJEMLAF(var_0), ldloc:VRDeviceManager(this))
|
|
}
|
|
|
|
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: 0x0600EF60 RID: 61280 RVA: 0x0038C398 File Offset: 0x0038A598
|
|
[Token(Token = "0x600EF60")]
|
|
[Address(RVA = "0x141FA30", Offset = "0x141E430", VA = "0x18141FA30")]
|
|
protected void LEJHDHOFPOL()
|
|
{
|
|
if (this.HENBMPCAJKH)
|
|
{
|
|
return;
|
|
}
|
|
if (this.DNADEDOPDME != 0)
|
|
{
|
|
Action action = new Action(this.LEJHDHOFPOL);
|
|
this.AMLHPGAHFEC = action;
|
|
return;
|
|
}
|
|
IEnumerator<ISchedule> enumerator = this.MELHNGOFNCC(true);
|
|
this.KBKFFPOJPAM(enumerator);
|
|
}
|
|
|
|
// Token: 0x0600EF61 RID: 61281 RVA: 0x0038C3DC File Offset: 0x0038A5DC
|
|
[Token(Token = "0x600EF61")]
|
|
[Address(RVA = "0x141FB00", Offset = "0x141E500", VA = "0x18141FB00")]
|
|
protected void MBHPGIBJHLM()
|
|
{
|
|
if (this.DNADEDOPDME != 0)
|
|
{
|
|
Action action = new Action(this.MBHPGIBJHLM);
|
|
this.AMLHPGAHFEC = action;
|
|
return;
|
|
}
|
|
VRDeviceManager.OPDNNPPMLGF opdnnppmlgf;
|
|
opdnnppmlgf.System.IDisposable.Dispose();
|
|
opdnnppmlgf.<>1__state = (int)((ulong)0L);
|
|
opdnnppmlgf.<>4__this = this;
|
|
opdnnppmlgf.setupAgain = false;
|
|
this.KBKFFPOJPAM(opdnnppmlgf);
|
|
}
|
|
|
|
// Token: 0x0600EF62 RID: 61282 RVA: 0x0038C42C File Offset: 0x0038A62C
|
|
[Token(Token = "0x600EF62")]
|
|
[Address(RVA = "0x141FBF0", Offset = "0x141E5F0", VA = "0x18141FBF0")]
|
|
private IEnumerator<ISchedule> MELHNGOFNCC(bool DCHGFHMELNC)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600EF62)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> RecRoom.Platforms.VRDeviceManager::MELHNGOFNCC(System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(OPDNNPPMLGF::System.IDisposable.Dispose, ldloc:OPDNNPPMLGF(var_0))
|
|
stfld:VRDeviceManager(OPDNNPPMLGF::<>4__this, ldloc:OPDNNPPMLGF(var_0), ldloc:VRDeviceManager(this))
|
|
stfld:int32(OPDNNPPMLGF::<>1__state, ldloc:OPDNNPPMLGF(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:bool(OPDNNPPMLGF::setupAgain, ldloc:OPDNNPPMLGF(var_0), ldloc:bool(DCHGFHMELNC))
|
|
}
|
|
|
|
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: 0x0600EF63 RID: 61283 RVA: 0x0038C458 File Offset: 0x0038A658
|
|
[Token(Token = "0x600EF63")]
|
|
[Address(RVA = "0x1420090", Offset = "0x141EA90", VA = "0x181420090")]
|
|
public void SuspendCompositorRender(bool MCPABKGDJGI)
|
|
{
|
|
if (MCPABKGDJGI)
|
|
{
|
|
this.Start();
|
|
this.GJDBGFEOEDB = MCPABKGDJGI;
|
|
return;
|
|
}
|
|
if (this.GJDBGFEOEDB != MCPABKGDJGI)
|
|
{
|
|
this.KIDKENOKIPI();
|
|
this.GJDBGFEOEDB = MCPABKGDJGI;
|
|
return;
|
|
}
|
|
this.GJDBGFEOEDB = MCPABKGDJGI;
|
|
}
|
|
|
|
// Token: 0x0600EF64 RID: 61284 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600EF64")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "12")]
|
|
protected virtual void KIDKENOKIPI()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600EF65 RID: 61285 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600EF65")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "13")]
|
|
protected virtual void MJNNFCJFBKF()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600EF66 RID: 61286
|
|
[Token(Token = "0x600EF66")]
|
|
[Address(Slot = "14")]
|
|
protected abstract IEnumerator<ISchedule> GLNDMIAKFDB();
|
|
|
|
// Token: 0x0600EF67 RID: 61287
|
|
[Token(Token = "0x600EF67")]
|
|
[Address(Slot = "15")]
|
|
protected abstract void PGFBMJLLHKA(bool IFFAIOGFJJB);
|
|
|
|
// Token: 0x0600EF68 RID: 61288
|
|
[Token(Token = "0x600EF68")]
|
|
[Address(Slot = "16")]
|
|
protected abstract void EDADLADFGDD();
|
|
|
|
// Token: 0x0600EF69 RID: 61289 RVA: 0x0038C498 File Offset: 0x0038A698
|
|
[Token(Token = "0x600EF69")]
|
|
[Address(RVA = "0x141F840", Offset = "0x141E240", VA = "0x18141F840")]
|
|
private void KBKFFPOJPAM(IEnumerator<ISchedule> NEPMGGPMFOH)
|
|
{
|
|
if (this.DNADEDOPDME != 0)
|
|
{
|
|
ISchedulerPromise dnadedopdme = this.DNADEDOPDME;
|
|
}
|
|
ISchedulerPromise schedulerPromise = SingletonMonoBehaviour.Instance.Run(this, NEPMGGPMFOH);
|
|
this.DNADEDOPDME = schedulerPromise;
|
|
Action action = new Action(this.ANKFELMJAEC);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600EF6A RID: 61290 RVA: 0x0038C4DC File Offset: 0x0038A6DC
|
|
[Token(Token = "0x600EF6A")]
|
|
[Address(RVA = "0x1420160", Offset = "0x141EB60", VA = "0x181420160")]
|
|
protected VRDeviceManager()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600EF6B RID: 61291 RVA: 0x0038C4F0 File Offset: 0x0038A6F0
|
|
[Token(Token = "0x600EF6B")]
|
|
[Address(RVA = "0x141F700", Offset = "0x141E100", VA = "0x18141F700")]
|
|
[CompilerGenerated]
|
|
private bool HANMNCCOMFH()
|
|
{
|
|
return this.PCEJPDBOLFD;
|
|
}
|
|
|
|
// Token: 0x0600EF6C RID: 61292 RVA: 0x0038C504 File Offset: 0x0038A704
|
|
[Token(Token = "0x600EF6C")]
|
|
[Address(RVA = "0x141F300", Offset = "0x141DD00", VA = "0x18141F300")]
|
|
[CompilerGenerated]
|
|
private void ANKFELMJAEC()
|
|
{
|
|
if (this.AMLHPGAHFEC != (ulong)0L)
|
|
{
|
|
Action action = new Action(this.BAFFHCNFCIM);
|
|
ISchedulerPromise schedulerPromise = this.InvokeNextUpdate(action);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EF6D RID: 61293 RVA: 0x0038C534 File Offset: 0x0038A734
|
|
[Token(Token = "0x600EF6D")]
|
|
[Address(RVA = "0x141F370", Offset = "0x141DD70", VA = "0x18141F370")]
|
|
[CompilerGenerated]
|
|
private void BAFFHCNFCIM()
|
|
{
|
|
Action amlhpgahfec = this.AMLHPGAHFEC;
|
|
if (amlhpgahfec != 0)
|
|
{
|
|
amlhpgahfec();
|
|
this.AMLHPGAHFEC = (ulong)0L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04009F34 RID: 40756
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009F34")]
|
|
private ISchedulerPromise DNADEDOPDME;
|
|
|
|
// Token: 0x04009F35 RID: 40757
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009F35")]
|
|
private Action AMLHPGAHFEC;
|
|
|
|
// Token: 0x04009F36 RID: 40758
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009F36")]
|
|
private bool DOIINGJNBHA;
|
|
|
|
// Token: 0x04009F37 RID: 40759
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x29")]
|
|
[Token(Token = "0x4009F37")]
|
|
private bool? GKPJBHOPDPO;
|
|
|
|
// Token: 0x04009F38 RID: 40760
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2B")]
|
|
[Token(Token = "0x4009F38")]
|
|
private bool HENBMPCAJKH;
|
|
|
|
// Token: 0x04009F3A RID: 40762
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2D")]
|
|
[Token(Token = "0x4009F3A")]
|
|
protected bool GJDBGFEOEDB;
|
|
|
|
// Token: 0x04009F3B RID: 40763
|
|
[Token(Token = "0x4009F3B")]
|
|
protected static string MOOIFPDELDF = "None";
|
|
|
|
// Token: 0x04009F3C RID: 40764
|
|
[Token(Token = "0x4009F3C")]
|
|
private static string GBCMBEOPJAL = "SKIPS_USER_PRESENCE_CHECK";
|
|
}
|
|
}
|