using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using RecRoom.Core; using UnityEngine; // Token: 0x020003C7 RID: 967 [Token(Token = "0x20003C7")] [StructLayout(3)] public class DistanceFadeManager : SingletonMonoBehaviour { // Token: 0x06001E46 RID: 7750 RVA: 0x0007FB5C File Offset: 0x0007DD5C [Token(Token = "0x6001E46")] [Address(RVA = "0x1158000", Offset = "0x1156A00", VA = "0x181158000")] private void Start() { Scheduler instance = SingletonMonoBehaviour.Instance; DistanceFadeManager.FHHNNKKMIPJ fhhnnkkmipj; fhhnnkkmipj.System.IDisposable.Dispose(); fhhnnkkmipj.<>1__state = (int)((ulong)0L); fhhnnkkmipj.<>4__this = this; ISchedulerPromise schedulerPromise = instance.Run(this, fhhnnkkmipj); } // Token: 0x06001E47 RID: 7751 RVA: 0x0007FB94 File Offset: 0x0007DD94 [Token(Token = "0x6001E47")] [Address(RVA = "0x1157A40", Offset = "0x1156440", VA = "0x181157A40")] private IEnumerator GAJIJLPDHNI() { /* An exception occurred when decompiling this method (06001E47) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.Generic.IEnumerator`1 DistanceFadeManager::GAJIJLPDHNI() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(FHHNNKKMIPJ::System.IDisposable.Dispose, ldloc:FHHNNKKMIPJ(var_0)) stfld:int32(FHHNNKKMIPJ::<>1__state, ldloc:FHHNNKKMIPJ(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:DistanceFadeManager(FHHNNKKMIPJ::<>4__this, ldloc:FHHNNKKMIPJ(var_0), ldloc:DistanceFadeManager(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: 0x06001E48 RID: 7752 RVA: 0x0007FBB8 File Offset: 0x0007DDB8 [Token(Token = "0x6001E48")] [Address(RVA = "0x1157AA0", Offset = "0x11564A0", VA = "0x181157AA0")] public void Register(DistanceFadeController KAMOHEPMEIF, IEnumerable PCLMNNEHLNG, Collider GLPOLGOBLAA) { int num; bool flag; Dictionary jjfbigmpjbk2; do { num = 0; flag = this.HBNENBKGLFO.Add(KAMOHEPMEIF); if (!flag) { return; } float lodBias = QualitySettings.lodBias; num += num; num++; int num2; if (flag) { if (num >= (flag ? 1 : 0)) { goto IL_3A; } num += num; if (num != (flag ? 1 : 0)) { num++; goto IL_3A; } IL_94: num2 += num2; goto IL_9B; IL_3A: int num3 = 0; Dictionary jjfbigmpjbk = this.JJFBIGMPJBK; bool flag2; flag = flag2; string text; if (!jjfbigmpjbk.TryGetValue(text, num3)) { int minFadeDistancePropertyId = DistanceFadeManager.MinFadeDistancePropertyId; Material material; float floatImpl = material.GetFloatImpl(minFadeDistancePropertyId); int num4 = 0; jjfbigmpjbk2 = this.JJFBIGMPJBK; string text2; jjfbigmpjbk2.Add(text2, num4); } num2 = DistanceFadeManager.MaxFadeDistancePropertyId; List ikhcbhdlnbb = this.IKHCBHDLNBB; num2 += num2; goto IL_94; } IL_9B: int num5 = 0; if (flag && num5 < num2) { num5 += num5; num5++; } if (num != -1) { } } while (jjfbigmpjbk2 != 0); flag += flag; num += 19; } // Token: 0x06001E49 RID: 7753 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6001E49")] [Address(RVA = "0x11580D0", Offset = "0x1156AD0", VA = "0x1811580D0")] public void Unregister(DistanceFadeController KAMOHEPMEIF) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001E4A RID: 7754 RVA: 0x0007FCD4 File Offset: 0x0007DED4 [Token(Token = "0x6001E4A")] [Address(RVA = "0x1158290", Offset = "0x1156C90", VA = "0x181158290")] public DistanceFadeManager() { HashSet hashSet = new HashSet(); this.HBNENBKGLFO = hashSet; List list = new List(); this.IKHCBHDLNBB = list; Dictionary dictionary = new Dictionary(); this.JJFBIGMPJBK = dictionary; base..ctor(); } // Token: 0x0400178D RID: 6029 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400178D")] private readonly HashSet HBNENBKGLFO; // Token: 0x0400178E RID: 6030 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x400178E")] private readonly List IKHCBHDLNBB; // Token: 0x0400178F RID: 6031 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x400178F")] private readonly Dictionary JJFBIGMPJBK; // Token: 0x04001790 RID: 6032 [Token(Token = "0x4001790")] public static readonly int MinFadeDistancePropertyId = Shader.PropertyToID("_MinFadeDistance"); // Token: 0x04001791 RID: 6033 [Token(Token = "0x4001791")] public static readonly int MaxFadeDistancePropertyId = Shader.PropertyToID("_MaxFadeDistance"); // Token: 0x020003C8 RID: 968 [Token(Token = "0x20003C8")] private struct ENIDNNKAHOG { // Token: 0x04001792 RID: 6034 [global::Cpp2IlInjected.FieldOffset(Offset = "0x0")] [Token(Token = "0x4001792")] public DistanceFadeController GJEMDAMJEGJ; // Token: 0x04001793 RID: 6035 [global::Cpp2IlInjected.FieldOffset(Offset = "0x8")] [Token(Token = "0x4001793")] public Collider FKJEIHGOADP; // Token: 0x04001794 RID: 6036 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4001794")] public Renderer PMEAHMEKPHO; // Token: 0x04001795 RID: 6037 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4001795")] public float JOHIHNDOJND; // Token: 0x04001796 RID: 6038 [global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")] [Token(Token = "0x4001796")] public bool MFNKPCKCNLJ; } }