185 lines
9.2 KiB
C#
185 lines
9.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core;
|
|
|
|
namespace RecRoom.Platforms.PS4
|
|
{
|
|
// Token: 0x020021FC RID: 8700
|
|
[Token(Token = "0x20021FC")]
|
|
[StructLayout(3)]
|
|
public class PS4VRDeviceManager : VRDeviceManager
|
|
{
|
|
// Token: 0x1700285A RID: 10330
|
|
// (get) Token: 0x0600EFD8 RID: 61400 RVA: 0x0038D348 File Offset: 0x0038B548
|
|
[Token(Token = "0x1700285A")]
|
|
protected override IEnumerable<string> BNGHIFGAPMF
|
|
{
|
|
[Token(Token = "0x600EFD8")]
|
|
[Address(RVA = "0x140F920", Offset = "0x140E320", VA = "0x18140F920", Slot = "6")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600EFD8)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerable`1<System.String> RecRoom.Platforms.PS4.PS4VRDeviceManager::GIGDJGPFFDD()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:string[](var_0_05, ldsfld:string[](PS4VRDeviceManager::SUPPORTED_DEVICES))
|
|
}
|
|
|
|
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: 0x1700285B RID: 10331
|
|
// (get) Token: 0x0600EFD9 RID: 61401 RVA: 0x0038D35C File Offset: 0x0038B55C
|
|
[Token(Token = "0x1700285B")]
|
|
protected override string MFMBPKGFMAL
|
|
{
|
|
[Token(Token = "0x600EFD9")]
|
|
[Address(RVA = "0x140F8F0", Offset = "0x140E2F0", VA = "0x18140F8F0", Slot = "7")]
|
|
get
|
|
{
|
|
return "PlayStationVR";
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700285C RID: 10332
|
|
// (get) Token: 0x0600EFDA RID: 61402 RVA: 0x0038D370 File Offset: 0x0038B570
|
|
[Token(Token = "0x1700285C")]
|
|
protected override bool MLGJJEILBIP
|
|
{
|
|
[Token(Token = "0x600EFDA")]
|
|
[Address(RVA = "0x6A8490", Offset = "0x6A6E90", VA = "0x1806A8490", Slot = "8")]
|
|
get
|
|
{
|
|
return this.<EBJLJFPNFFM>k__BackingField;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700285D RID: 10333
|
|
// (get) Token: 0x0600EFDB RID: 61403 RVA: 0x0038D384 File Offset: 0x0038B584
|
|
[Token(Token = "0x1700285D")]
|
|
protected override bool OECOONPHCAF
|
|
{
|
|
[Token(Token = "0x600EFDB")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "9")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700285E RID: 10334
|
|
// (get) Token: 0x0600EFDC RID: 61404 RVA: 0x0038D394 File Offset: 0x0038B594
|
|
[Token(Token = "0x1700285E")]
|
|
private bool BIBCIALBNMI
|
|
{
|
|
[Token(Token = "0x600EFDC")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700285F RID: 10335
|
|
// (get) Token: 0x0600EFDD RID: 61405 RVA: 0x0038D3A4 File Offset: 0x0038B5A4
|
|
[Token(Token = "0x1700285F")]
|
|
protected override bool OOIGBACMDFJ
|
|
{
|
|
[Token(Token = "0x600EFDD")]
|
|
[Address(RVA = "0x413970", Offset = "0x412370", VA = "0x180413970", Slot = "10")]
|
|
get
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EFDE RID: 61406 RVA: 0x0038D3B4 File Offset: 0x0038B5B4
|
|
[Token(Token = "0x600EFDE")]
|
|
[Address(RVA = "0x140F980", Offset = "0x140E380", VA = "0x18140F980", Slot = "14")]
|
|
protected override IEnumerator<ISchedule> GLNDMIAKFDB()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600EFDE)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1<RecRoom.Core.ISchedule> RecRoom.Platforms.PS4.PS4VRDeviceManager::GLNDMIAKFDB()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(BFNHBOBKJJC::System.IDisposable.Dispose, ldloc:BFNHBOBKJJC(var_0))
|
|
stfld:int32(BFNHBOBKJJC::<>1__state, ldloc:BFNHBOBKJJC(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
}
|
|
|
|
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: 0x0600EFDF RID: 61407 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600EFDF")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "15")]
|
|
protected override void PGFBMJLLHKA(bool IFFAIOGFJJB)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600EFE0 RID: 61408 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600EFE0")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "16")]
|
|
protected override void EDADLADFGDD()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600EFE1 RID: 61409 RVA: 0x0038D3D0 File Offset: 0x0038B5D0
|
|
[Token(Token = "0x600EFE1")]
|
|
[Address(RVA = "0x140FAF0", Offset = "0x140E4F0", VA = "0x18140FAF0")]
|
|
public PS4VRDeviceManager()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600EFE2 RID: 61410 RVA: 0x0038D3E4 File Offset: 0x0038B5E4
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x600EFE2")]
|
|
[Address(RVA = "0x140F9D0", Offset = "0x140E3D0", VA = "0x18140F9D0")]
|
|
static PS4VRDeviceManager()
|
|
{
|
|
string[] array = new string[2];
|
|
if ("None" != 0)
|
|
{
|
|
}
|
|
array[0] = "None";
|
|
if ("PlayStationVR" != 0)
|
|
{
|
|
}
|
|
array[1] = "PlayStationVR";
|
|
PS4VRDeviceManager.SUPPORTED_DEVICES = array;
|
|
PS4VRDeviceManager.DEVICE_SDK_NAME = "PlayStationVR";
|
|
}
|
|
|
|
// Token: 0x04009F83 RID: 40835
|
|
[Token(Token = "0x4009F83")]
|
|
public static readonly string[] SUPPORTED_DEVICES;
|
|
|
|
// Token: 0x04009F84 RID: 40836
|
|
[Token(Token = "0x4009F84")]
|
|
public static string DEVICE_SDK_NAME = null;
|
|
}
|
|
}
|