scripts
This commit is contained in:
@@ -0,0 +1,278 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Core.Creation;
|
||||
using RecRoom.Core.Creation.Circuits;
|
||||
|
||||
// Token: 0x020025D0 RID: 9680
|
||||
[Token(Token = "0x20025D0")]
|
||||
[StructLayout(3)]
|
||||
public static class KCPNMEMDCAB
|
||||
{
|
||||
// Token: 0x06010C06 RID: 68614 RVA: 0x003F1718 File Offset: 0x003EF918
|
||||
[Token(Token = "0x6010C06")]
|
||||
[Address(RVA = "0x19D0920", Offset = "0x19CF320", VA = "0x1819D0920")]
|
||||
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 ((ulong)((uint)(-1)) != (ulong)(-1L))
|
||||
{
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
goto IL_124;
|
||||
}
|
||||
}
|
||||
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 ((ulong)((uint)(-1)) != (ulong)(-1L))
|
||||
{
|
||||
}
|
||||
if (num != 0)
|
||||
{
|
||||
goto IL_154;
|
||||
}
|
||||
if ((uint)(-1) != 0U)
|
||||
{
|
||||
}
|
||||
if ((ulong)((uint)(-1)) != (ulong)(-1L))
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
bool flag;
|
||||
return flag;
|
||||
IL_124:
|
||||
throw new NullReferenceException();
|
||||
IL_154:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06010C07 RID: 68615 RVA: 0x003F18A4 File Offset: 0x003EFAA4
|
||||
[Token(Token = "0x6010C07")]
|
||||
[Address(RVA = "0x19CE990", Offset = "0x19CD390", VA = "0x1819CE990")]
|
||||
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 != -1)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
// Token: 0x06010C08 RID: 68616 RVA: 0x003F18EC File Offset: 0x003EFAEC
|
||||
[Token(Token = "0x6010C08")]
|
||||
[Address(RVA = "0x19CF020", Offset = "0x19CDA20", VA = "0x1819CF020")]
|
||||
public static void LECILJBEPEP(IEnumerable<CreationObject> MKGIKJCPBII, CircuitGroup ILEBIPDBPGB, bool LHGCDMMDHON, out int KMFECBLIDKA, out int AOHNKHLMDGC)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06010C08)
|
||||
|
||||
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_30F:
|
||||
brtrue(IL_30F, cne:bool(ldloc:Enumerator(var_68), ldc.i4:int32[exp:Enumerator](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: 0x06010C09 RID: 68617 RVA: 0x003F1C0C File Offset: 0x003EFE0C
|
||||
[Token(Token = "0x6010C09")]
|
||||
[Address(RVA = "0x19D1110", Offset = "0x19CFB10", VA = "0x1819D1110")]
|
||||
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: 0x06010C0A RID: 68618 RVA: 0x003F1C54 File Offset: 0x003EFE54
|
||||
[Token(Token = "0x6010C0A")]
|
||||
[Address(RVA = "0x19CEB30", Offset = "0x19CD530", VA = "0x1819CEB30")]
|
||||
public static string HMMCAGMKGOH()
|
||||
{
|
||||
NotificationManager instance = SingletonMonoBehaviour.Instance;
|
||||
int num;
|
||||
string text = string.Format("Max {0} external input connections!", num);
|
||||
return "Too many external input connections";
|
||||
}
|
||||
|
||||
// Token: 0x06010C0B RID: 68619 RVA: 0x003F1C84 File Offset: 0x003EFE84
|
||||
[Token(Token = "0x6010C0B")]
|
||||
[Address(RVA = "0x19CEE80", Offset = "0x19CD880", VA = "0x1819CEE80")]
|
||||
public static string KOHJIJEDCNH()
|
||||
{
|
||||
NotificationManager instance = SingletonMonoBehaviour.Instance;
|
||||
int num;
|
||||
string text = string.Format("Max {0} external output connections!", num);
|
||||
return "Too many external output connections";
|
||||
}
|
||||
|
||||
// Token: 0x06010C0C RID: 68620 RVA: 0x003F1CB4 File Offset: 0x003EFEB4
|
||||
[Token(Token = "0x6010C0C")]
|
||||
[Address(RVA = "0x19CEF50", Offset = "0x19CD950", VA = "0x1819CEF50")]
|
||||
public static string LDLOKHBMJCD()
|
||||
{
|
||||
NotificationManager instance = SingletonMonoBehaviour.Instance;
|
||||
int num;
|
||||
string text = string.Format("Max {0} circuit boards deep!", num);
|
||||
return "Too many nested circuit boards";
|
||||
}
|
||||
|
||||
// Token: 0x06010C0D RID: 68621 RVA: 0x003F1CE4 File Offset: 0x003EFEE4
|
||||
[Token(Token = "0x6010C0D")]
|
||||
[Address(RVA = "0x19CEC00", Offset = "0x19CD600", VA = "0x1819CEC00")]
|
||||
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: 0x06010C0E RID: 68622 RVA: 0x003F1D50 File Offset: 0x003EFF50
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x6010C0E")]
|
||||
[Address(RVA = "0x19D1220", Offset = "0x19CFC20", VA = "0x1819D1220")]
|
||||
static KCPNMEMDCAB()
|
||||
{
|
||||
HashSet<CreationObject> hashSet = new HashSet();
|
||||
}
|
||||
|
||||
// Token: 0x0400B22E RID: 45614
|
||||
[Token(Token = "0x400B22E")]
|
||||
private static readonly HashSet<CreationObject> BNAGJKDBLJP;
|
||||
}
|
||||
Reference in New Issue
Block a user