m
This commit is contained in:
@@ -0,0 +1,267 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core.Creation;
|
||||
using RecRoom.Core.Creation.Circuits;
|
||||
|
||||
// Token: 0x02002B7D RID: 11133
|
||||
[Token(Token = "0x2002B7D")]
|
||||
public static class KCPNMEMDCAB
|
||||
{
|
||||
// Token: 0x06012922 RID: 76066 RVA: 0x0043A3F8 File Offset: 0x004385F8
|
||||
[Token(Token = "0x6012922")]
|
||||
[Address(RVA = "0x1B74E10", Offset = "0x1B73E10", VA = "0x181B74E10")]
|
||||
public static bool OACIANBCPOG(CreationContext OLFNCDHDFPF)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
int num = 0;
|
||||
List<CreationObject> chmmbnihbja = OLFNCDHDFPF.CHMMBNIHBJA;
|
||||
int num2 = 0;
|
||||
StateMachineCircuitNodeDisplay stateMachineCircuitNodeDisplay;
|
||||
if (stateMachineCircuitNodeDisplay != num2)
|
||||
{
|
||||
IEnumerable<StateMachineState> allStates = stateMachineCircuitNodeDisplay.AllStates;
|
||||
if (allStates != 0)
|
||||
{
|
||||
int num3 = 0;
|
||||
CreationObject creationObject;
|
||||
if (!(creationObject != num3) || Enumerable.Contains<CreationObject>(OLFNCDHDFPF.CHMMBNIHBJA, creationObject))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (allStates != 0)
|
||||
{
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
goto IL_118;
|
||||
}
|
||||
if ((ulong)((uint)(-1)) != (ulong)(-1L))
|
||||
{
|
||||
}
|
||||
}
|
||||
int num4 = 0;
|
||||
StateMachineState stateMachineState;
|
||||
if (stateMachineState != num4)
|
||||
{
|
||||
StateMachineCircuitNodeDisplay stateMachineOwner = stateMachineState.CLBGBCFNAII;
|
||||
int num5 = 0;
|
||||
if (stateMachineOwner != num5)
|
||||
{
|
||||
CreationObject component = stateMachineState.CLBGBCFNAII.GetComponent<CreationObject>();
|
||||
int num6 = 0;
|
||||
if (!(component != num6) || !Enumerable.Contains<CreationObject>(OLFNCDHDFPF.CHMMBNIHBJA, component))
|
||||
{
|
||||
}
|
||||
IEnumerable<StateMachineState> allStates2 = stateMachineState.CLBGBCFNAII.AllStates;
|
||||
if (allStates2 != 0)
|
||||
{
|
||||
int num7 = 0;
|
||||
CreationObject creationObject2;
|
||||
if (!(creationObject2 != num7) || Enumerable.Contains<CreationObject>(OLFNCDHDFPF.CHMMBNIHBJA, creationObject2))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (allStates2 != 0)
|
||||
{
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
goto IL_148;
|
||||
}
|
||||
while ((ulong)((uint)(-1)) == (ulong)(-1L))
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
bool flag;
|
||||
return flag;
|
||||
IL_118:
|
||||
throw new NullReferenceException();
|
||||
IL_148:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012923 RID: 76067 RVA: 0x0043A578 File Offset: 0x00438778
|
||||
[Token(Token = "0x6012923")]
|
||||
[Address(RVA = "0x1B72F10", Offset = "0x1B71F10", VA = "0x181B72F10")]
|
||||
public static int EDHGJGAOFPL(IEnumerable<CreationObject> INDOBHBBLCP)
|
||||
{
|
||||
int i;
|
||||
for (;;)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
CircuitGroup circuitGroup;
|
||||
if (circuitGroup != num2)
|
||||
{
|
||||
i = circuitGroup.<CGBNOHOLDGN>k__BackingField;
|
||||
while (i <= num)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06012924 RID: 76068 RVA: 0x0043A5BC File Offset: 0x004387BC
|
||||
[Token(Token = "0x6012924")]
|
||||
[Address(RVA = "0x1B73570", Offset = "0x1B72570", VA = "0x181B73570")]
|
||||
public static void LECILJBEPEP(IEnumerable<CreationObject> MKGIKJCPBII, CircuitGroup ILEBIPDBPGB, bool LHGCDMMDHON, out int KMFECBLIDKA, out int AOHNKHLMDGC)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06012924)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void KCPNMEMDCAB::LECILJBEPEP(System.Collections.Generic.IEnumerable`1<RecRoom.Core.Creation.CreationObject>,RecRoom.Core.Creation.Circuits.CircuitGroup,System.Boolean,System.Int32&,System.Int32&)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_307:
|
||||
brtrue(IL_307, cne:bool(ldloc:bool(var_75), ldc.i4:bool(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.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: 0x06012925 RID: 76069 RVA: 0x0043A8D4 File Offset: 0x00438AD4
|
||||
[Token(Token = "0x6012925")]
|
||||
[Address(RVA = "0x1B755E0", Offset = "0x1B745E0", VA = "0x181B755E0")]
|
||||
private static void OJFPJMHFPBC(CreationObject OCIJDLJLCON, IEnumerable<CreationObject> MKGIKJCPBII, CreationObject AJLLFDHFEIO, bool IILJHEIPHKH, bool LHGCDMMDHON, ref int KMFECBLIDKA, ref int AOHNKHLMDGC)
|
||||
{
|
||||
if (OCIJDLJLCON == AJLLFDHFEIO)
|
||||
{
|
||||
goto IL_18;
|
||||
}
|
||||
if (Enumerable.Contains<CreationObject>(MKGIKJCPBII, OCIJDLJLCON))
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (!IILJHEIPHKH)
|
||||
{
|
||||
goto IL_18;
|
||||
}
|
||||
IL_34:
|
||||
while (!IILJHEIPHKH)
|
||||
{
|
||||
}
|
||||
return;
|
||||
IL_18:
|
||||
if (IILJHEIPHKH)
|
||||
{
|
||||
if (OCIJDLJLCON == AJLLFDHFEIO)
|
||||
{
|
||||
goto IL_34;
|
||||
}
|
||||
if (!Enumerable.Contains<CreationObject>(MKGIKJCPBII, OCIJDLJLCON))
|
||||
{
|
||||
while (IILJHEIPHKH)
|
||||
{
|
||||
}
|
||||
goto IL_34;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012926 RID: 76070 RVA: 0x0043A91C File Offset: 0x00438B1C
|
||||
[Token(Token = "0x6012926")]
|
||||
[Address(RVA = "0x1B73080", Offset = "0x1B72080", VA = "0x181B73080")]
|
||||
public static string HMMCAGMKGOH()
|
||||
{
|
||||
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num;
|
||||
string text = string.Format("Max {0} external input connections!", num);
|
||||
return "Too many external input connections";
|
||||
}
|
||||
|
||||
// Token: 0x06012927 RID: 76071 RVA: 0x0043A94C File Offset: 0x00438B4C
|
||||
[Token(Token = "0x6012927")]
|
||||
[Address(RVA = "0x1B733D0", Offset = "0x1B723D0", VA = "0x181B733D0")]
|
||||
public static string KOHJIJEDCNH()
|
||||
{
|
||||
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num;
|
||||
string text = string.Format("Max {0} external output connections!", num);
|
||||
return "Too many external output connections";
|
||||
}
|
||||
|
||||
// Token: 0x06012928 RID: 76072 RVA: 0x0043A97C File Offset: 0x00438B7C
|
||||
[Token(Token = "0x6012928")]
|
||||
[Address(RVA = "0x1B734A0", Offset = "0x1B724A0", VA = "0x181B734A0")]
|
||||
public static string LDLOKHBMJCD()
|
||||
{
|
||||
NotificationManager instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num;
|
||||
string text = string.Format("Max {0} circuit boards deep!", num);
|
||||
return "Too many nested circuit boards";
|
||||
}
|
||||
|
||||
// Token: 0x06012929 RID: 76073 RVA: 0x0043A9AC File Offset: 0x00438BAC
|
||||
[Token(Token = "0x6012929")]
|
||||
[Address(RVA = "0x1B73150", Offset = "0x1B72150", VA = "0x181B73150")]
|
||||
public static bool KODPGJMKFAJ(ConnectionPoint OGBKOIJJKIE, ConnectionCreationContext DGKLJLAHDKC)
|
||||
{
|
||||
if (OGBKOIJJKIE != 0)
|
||||
{
|
||||
if (OGBKOIJJKIE == 0)
|
||||
{
|
||||
if (OGBKOIJJKIE == 0)
|
||||
{
|
||||
goto IL_47;
|
||||
}
|
||||
LFBMEDEMGHA activeObjectGroup = DGKLJLAHDKC.AADIMJNJDEC;
|
||||
bool flag = OGBKOIJJKIE == activeObjectGroup;
|
||||
}
|
||||
LFBMEDEMGHA activeObjectGroup2 = DGKLJLAHDKC.AADIMJNJDEC;
|
||||
if (DGKLJLAHDKC.AADIMJNJDEC == 0)
|
||||
{
|
||||
}
|
||||
LFBMEDEMGHA activeObjectGroup3 = DGKLJLAHDKC.AADIMJNJDEC;
|
||||
bool flag2;
|
||||
if (!flag2)
|
||||
{
|
||||
}
|
||||
}
|
||||
IL_47:
|
||||
if (DGKLJLAHDKC.AADIMJNJDEC == 0)
|
||||
{
|
||||
}
|
||||
LFBMEDEMGHA activeObjectGroup4 = DGKLJLAHDKC.AADIMJNJDEC;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0601292A RID: 76074 RVA: 0x0043AA18 File Offset: 0x00438C18
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x601292A")]
|
||||
[Address(RVA = "0x1B756F0", Offset = "0x1B746F0", VA = "0x181B756F0")]
|
||||
static KCPNMEMDCAB()
|
||||
{
|
||||
HashSet<CreationObject> hashSet = new HashSet();
|
||||
}
|
||||
|
||||
// Token: 0x0400BF11 RID: 48913
|
||||
[Token(Token = "0x400BF11")]
|
||||
private static readonly HashSet<CreationObject> BNAGJKDBLJP;
|
||||
}
|
||||
Reference in New Issue
Block a user