using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using Cpp2IlInjected; using UnityEngine; namespace RecRoom { // Token: 0x02001CE7 RID: 7399 [Token(Token = "0x2001CE7")] [StructLayout(3)] public class PlayerLODGroupHelper : MonoBehaviour { // Token: 0x0600C6FE RID: 50942 RVA: 0x002F27F4 File Offset: 0x002F09F4 [Token(Token = "0x600C6FE")] [Address(RVA = "0x141BE30", Offset = "0x141A830", VA = "0x18141BE30")] private void Awake() { LOD[] lods = this.lodGroup.GetLODs(); this.NKEMOEINKMM = lods; List[] array = new List[lods.Length]; int num = 0; this.HOOINJCFGLD = array; LOD[] nkemoeinkmm = this.NKEMOEINKMM; if (num < nkemoeinkmm.Length) { List[] hooinjcfgld = this.HOOINJCFGLD; num += num; List list = new List(num); num += 10; if (list != 0) { } hooinjcfgld[0] = list; this.HOOINJCFGLD[num].AddRange(num); LOD[] nkemoeinkmm2 = this.NKEMOEINKMM; num++; } } // Token: 0x0600C6FF RID: 50943 RVA: 0x002F2888 File Offset: 0x002F0A88 [Token(Token = "0x600C6FF")] [Address(RVA = "0x141C300", Offset = "0x141AD00", VA = "0x18141C300")] private void OnEnable() { if (this.DAOGEEDEKDC) { this.JOMHGNPHNPG(); return; } } // Token: 0x0600C700 RID: 50944 RVA: 0x002F28A8 File Offset: 0x002F0AA8 [Token(Token = "0x600C700")] [Address(RVA = "0x141BD10", Offset = "0x141A710", VA = "0x18141BD10")] public void AddOutfitRenderer(Renderer CHEJPOIMMCK) { int i = 0; this.HOOINJCFGLD[i].Add(CHEJPOIMMCK); i++; while (i <= this.maxOutfitLod) { } if (base.gameObject.activeInHierarchy) { Coroutine kojfnkndbda = this.KOJFNKNDBDA; this.SafeStopCoroutine(kojfnkndbda); PlayerLODGroupHelper.MHHGBFGKDIO mhhgbfgkdio; mhhgbfgkdio.System.IDisposable.Dispose(); mhhgbfgkdio.<>1__state = (int)((ulong)0L); mhhgbfgkdio.<>4__this = this; Coroutine coroutine = base.StartCoroutine(mhhgbfgkdio); this.KOJFNKNDBDA = coroutine; } } // Token: 0x0600C701 RID: 50945 RVA: 0x002F2920 File Offset: 0x002F0B20 [Token(Token = "0x600C701")] [Address(RVA = "0x141C260", Offset = "0x141AC60", VA = "0x18141C260")] private void JOMHGNPHNPG() { if (base.gameObject.activeInHierarchy) { Coroutine kojfnkndbda = this.KOJFNKNDBDA; this.SafeStopCoroutine(kojfnkndbda); PlayerLODGroupHelper.MHHGBFGKDIO mhhgbfgkdio; mhhgbfgkdio.System.IDisposable.Dispose(); mhhgbfgkdio.<>1__state = (int)((ulong)0L); mhhgbfgkdio.<>4__this = this; Coroutine coroutine = base.StartCoroutine(mhhgbfgkdio); this.KOJFNKNDBDA = coroutine; } } // Token: 0x0600C702 RID: 50946 RVA: 0x002F2974 File Offset: 0x002F0B74 [Token(Token = "0x600C702")] [Address(RVA = "0x141C200", Offset = "0x141AC00", VA = "0x18141C200")] private IEnumerator EBHAKCKMOHM() { /* An exception occurred when decompiling this method (0600C702) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.PlayerLODGroupHelper::EBHAKCKMOHM() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(MHHGBFGKDIO::System.IDisposable.Dispose, ldloc:MHHGBFGKDIO(var_0)) stfld:int32(MHHGBFGKDIO::<>1__state, ldloc:MHHGBFGKDIO(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0))) stfld:PlayerLODGroupHelper(MHHGBFGKDIO::<>4__this, ldloc:MHHGBFGKDIO(var_0), ldloc:PlayerLODGroupHelper(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: 0x0600C703 RID: 50947 RVA: 0x002F2998 File Offset: 0x002F0B98 [Token(Token = "0x600C703")] [Address(RVA = "0x141BFF0", Offset = "0x141A9F0", VA = "0x18141BFF0")] private void BMDJDKOOIAN() { List[] hooinjcfgld = this.HOOINJCFGLD; int num = 0; if (num < hooinjcfgld.Length) { List list = hooinjcfgld[num]; int size = list._size; num = size; int num2 = 0; if (num == num2) { num = size; list.RemoveAt(size); } List[] hooinjcfgld2 = this.HOOINJCFGLD; num++; } } // Token: 0x0600C704 RID: 50948 RVA: 0x002F29F4 File Offset: 0x002F0BF4 [Token(Token = "0x600C704")] [Address(RVA = "0x141C120", Offset = "0x141AB20", VA = "0x18141C120")] private void CKHEFPPFOPG() { LOD[] nkemoeinkmm = this.NKEMOEINKMM; int num = 0; LOD[] nkemoeinkmm2; if (num < nkemoeinkmm.Length) { Renderer[] array = this.HOOINJCFGLD[num].ToArray(); num += num; num++; nkemoeinkmm[1] = array; nkemoeinkmm2 = this.NKEMOEINKMM; } this.lodGroup.SetLODS(nkemoeinkmm2); } // Token: 0x0600C705 RID: 50949 RVA: 0x002F2A50 File Offset: 0x002F0C50 [Token(Token = "0x600C705")] [Address(RVA = "0x141C310", Offset = "0x141AD10", VA = "0x18141C310")] public PlayerLODGroupHelper() { } // Token: 0x040083CA RID: 33738 [Token(Token = "0x40083CA")] private const int HNLDJJLCFGK = 10; // Token: 0x040083CB RID: 33739 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x40083CB")] [SerializeField] private LODGroup lodGroup; // Token: 0x040083CC RID: 33740 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x40083CC")] [SerializeField] private int maxOutfitLod = (int)((ulong)2L); // Token: 0x040083CD RID: 33741 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x40083CD")] private Coroutine KOJFNKNDBDA; // Token: 0x040083CE RID: 33742 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x40083CE")] private LOD[] NKEMOEINKMM; // Token: 0x040083CF RID: 33743 [global::Cpp2IlInjected.FieldOffset(Offset = "0x38")] [Token(Token = "0x40083CF")] private List[] HOOINJCFGLD; // Token: 0x040083D0 RID: 33744 [global::Cpp2IlInjected.FieldOffset(Offset = "0x40")] [Token(Token = "0x40083D0")] private bool DAOGEEDEKDC; } }