123 lines
6.6 KiB
C#
123 lines
6.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Systems.PlayerRoles;
|
|
|
|
namespace RecRoom.Utils.OverridableFields
|
|
{
|
|
// Token: 0x0200202A RID: 8234
|
|
[Token(Token = "0x200202A")]
|
|
[Serializable]
|
|
[StructLayout(3)]
|
|
public class SerializedMutableOverridableObscuredEnum<TObsEnum, T> : SerializedMutableOverridableBase<SerializedMutableOverridableObscuredEnum<TObsEnum, T>, TObsEnum, KHFABFHGJNG> where TObsEnum : ObscuredEnum<T>, new() where T : struct, Enum
|
|
{
|
|
// Token: 0x17002606 RID: 9734
|
|
// (get) Token: 0x0600E3C1 RID: 58305 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x0600E3C2 RID: 58306 RVA: 0x00361E74 File Offset: 0x00360074
|
|
[Token(Token = "0x17002606")]
|
|
public sealed override TObsEnum Value
|
|
{
|
|
[Token(Token = "0x600E3C1")]
|
|
[Address(RVA = "0x2323CA0", Offset = "0x23226A0", VA = "0x182323CA0", Slot = "19")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x600E3C2")]
|
|
[Address(RVA = "0x2323D80", Offset = "0x2322780", VA = "0x182323D80", Slot = "20")]
|
|
set
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600E3C2)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.Utils.OverridableFields.SerializedMutableOverridableObscuredEnum`2::set_Value(TObsEnum)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_0C:
|
|
stloc:ArgumentException(var_2_16, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Value should not be null!")))
|
|
}
|
|
|
|
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: 0x0600E3C3 RID: 58307 RVA: 0x00361E98 File Offset: 0x00360098
|
|
[Token(Token = "0x600E3C3")]
|
|
[Address(RVA = "0x1DAB6F0", Offset = "0x1DAA0F0", VA = "0x181DAB6F0")]
|
|
public SerializedMutableOverridableObscuredEnum()
|
|
{
|
|
bool overrides = ((ECCMHGLDNHK)this).AKNLAMFAPGB;
|
|
}
|
|
|
|
// Token: 0x0600E3C4 RID: 58308 RVA: 0x00361EB4 File Offset: 0x003600B4
|
|
[Token(Token = "0x600E3C4")]
|
|
[Address(RVA = "0x2323C70", Offset = "0x2322670", VA = "0x182323C70")]
|
|
public SerializedMutableOverridableObscuredEnum(TObsEnum value)
|
|
{
|
|
bool overrides = ((ECCMHGLDNHK)this).AKNLAMFAPGB;
|
|
}
|
|
|
|
// Token: 0x0600E3C5 RID: 58309 RVA: 0x00361ED0 File Offset: 0x003600D0
|
|
[Token(Token = "0x600E3C5")]
|
|
[Address(RVA = "0x2323C40", Offset = "0x2322640", VA = "0x182323C40")]
|
|
public SerializedMutableOverridableObscuredEnum(bool overrides, TObsEnum value)
|
|
{
|
|
bool overrides2 = ((ECCMHGLDNHK)this).AKNLAMFAPGB;
|
|
}
|
|
|
|
// Token: 0x0600E3C6 RID: 58310 RVA: 0x00361EEC File Offset: 0x003600EC
|
|
[Token(Token = "0x600E3C6")]
|
|
[Address(RVA = "0x2323A80", Offset = "0x2322480", VA = "0x182323A80", Slot = "23")]
|
|
public sealed override KHFABFHGJNG KCINMMHMPGF()
|
|
{
|
|
KHFABFHGJNG khfabfhgjng = new KHFABFHGJNG();
|
|
khfabfhgjng.PIHBFDHCNMI = khfabfhgjng != null;
|
|
return khfabfhgjng;
|
|
}
|
|
|
|
// Token: 0x0600E3C7 RID: 58311 RVA: 0x00361F10 File Offset: 0x00360110
|
|
[Token(Token = "0x600E3C7")]
|
|
[Address(RVA = "0x2323B40", Offset = "0x2322540", VA = "0x182323B40", Slot = "24")]
|
|
public sealed override void KPLNIADHMPN(KHFABFHGJNG KFCHMHOEGPD)
|
|
{
|
|
if (KFCHMHOEGPD == 0)
|
|
{
|
|
bool overrides = ((ECCMHGLDNHK)this).AKNLAMFAPGB;
|
|
return;
|
|
}
|
|
bool overrides2 = ((ECCMHGLDNHK)this).AKNLAMFAPGB;
|
|
}
|
|
|
|
// Token: 0x0600E3C8 RID: 58312 RVA: 0x00361F38 File Offset: 0x00360138
|
|
[Token(Token = "0x600E3C8")]
|
|
[Address(RVA = "0x2323930", Offset = "0x2322330", VA = "0x182323930", Slot = "25")]
|
|
public sealed override void EJAHCBFGHPP(byte[] PDOFKJGFNGK)
|
|
{
|
|
if (PDOFKJGFNGK != 0)
|
|
{
|
|
KHFABFHGJNG khfabfhgjng = KHFABFHGJNG.MHLLBDFJBOD.ParseFrom(PDOFKJGFNGK);
|
|
}
|
|
bool overrides = ((ECCMHGLDNHK)this).AKNLAMFAPGB;
|
|
}
|
|
|
|
// Token: 0x0600E3C9 RID: 58313 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600E3C9")]
|
|
[Address(RVA = "0x2323A20", Offset = "0x2322420", VA = "0x182323A20", Slot = "21")]
|
|
public sealed override void JBBLIBHHEBC()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
}
|