595 lines
26 KiB
C#
595 lines
26 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Threading.Tasks;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Avatars.Outfit;
|
|
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace RecRoom.Avatars.Data.Shared
|
|
{
|
|
// Token: 0x020023EF RID: 9199
|
|
[Token(Token = "0x20023EF")]
|
|
[Serializable]
|
|
public class AvatarItemVisualData
|
|
{
|
|
// Token: 0x0600ED6D RID: 60781 RVA: 0x0036AA64 File Offset: 0x00368C64
|
|
[Token(Token = "0x600ED6D")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public AvatarItemVisualData()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600ED6E RID: 60782 RVA: 0x0036AA78 File Offset: 0x00368C78
|
|
[Token(Token = "0x600ED6E")]
|
|
[Address(RVA = "0x11D4E40", Offset = "0x11D3C40", VA = "0x1811D4E40")]
|
|
public AvatarItemVisualData(string PAPNODFJOKG, [Optional] string ILNHPEAEHFN, [Optional] string COBIOAPPPMH, [Optional] string BAOPOOLDNPL)
|
|
{
|
|
int num = 0;
|
|
base.FieldGetter(num, ILNHPEAEHFN, COBIOAPPPMH);
|
|
this.prefabGuid = PAPNODFJOKG;
|
|
this.swatchGuid = COBIOAPPPMH;
|
|
this.decalGuid = 0;
|
|
this.maskGuid = ILNHPEAEHFN;
|
|
}
|
|
|
|
// Token: 0x0600ED6F RID: 60783 RVA: 0x0036AAAC File Offset: 0x00368CAC
|
|
[Token(Token = "0x600ED6F")]
|
|
[Address(RVA = "0x11D4440", Offset = "0x11D3240", VA = "0x1811D4440")]
|
|
public static AvatarItemVisualData GOODJMOBMEM(string OMPAGBANEDN, ArraySegment<string> OHHPGKIAFFN)
|
|
{
|
|
int num = OHHPGKIAFFN._offset;
|
|
num++;
|
|
return new AvatarItemVisualData
|
|
{
|
|
prefabGuid = OMPAGBANEDN
|
|
};
|
|
}
|
|
|
|
// Token: 0x0600ED70 RID: 60784 RVA: 0x0036AAD8 File Offset: 0x00368CD8
|
|
[Token(Token = "0x600ED70")]
|
|
[Address(RVA = "0x11D4B00", Offset = "0x11D3900", VA = "0x1811D4B00")]
|
|
public IKAEDJBFIMM<KJDIAJKHGNG> MNKDOANEFLK()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600ED70)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling IKAEDJBFIMM<KJDIAJKHGNG> RecRoom.Avatars.Data.Shared.AvatarItemVisualData::MNKDOANEFLK()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:OELMAEPCILM(var_0_06, call:OELMAEPCILM(OELMAEPCILM::PPKHDMJDNCP, ldloc:AvatarItemVisualData(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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600ED71 RID: 60785 RVA: 0x0036AAEC File Offset: 0x00368CEC
|
|
[Token(Token = "0x600ED71")]
|
|
[Address(RVA = "0x11D4830", Offset = "0x11D3630", VA = "0x1811D4830")]
|
|
public string JOPJHHOJMEE()
|
|
{
|
|
string cachedRecNetString = this._cachedRecNetString;
|
|
if (cachedRecNetString == 0)
|
|
{
|
|
string text = this.prefabGuid;
|
|
if (text != 0)
|
|
{
|
|
}
|
|
string[] array;
|
|
array[0] = text;
|
|
if ("," != 0)
|
|
{
|
|
}
|
|
array[1] = ",";
|
|
string text2 = this.swatchGuid;
|
|
if (text2 != 0)
|
|
{
|
|
}
|
|
array[2] = text2;
|
|
if ("," != 0)
|
|
{
|
|
}
|
|
array[3] = ",";
|
|
string text3 = this.maskGuid;
|
|
if (text3 != 0)
|
|
{
|
|
}
|
|
array[4] = text3;
|
|
if ("," != 0)
|
|
{
|
|
}
|
|
array[5] = ",";
|
|
string text4 = this.decalGuid;
|
|
if (text4 != 0)
|
|
{
|
|
}
|
|
array[6] = text4;
|
|
string text5 = string.Concat(array);
|
|
this._cachedRecNetString = text5;
|
|
}
|
|
return cachedRecNetString;
|
|
}
|
|
|
|
// Token: 0x0600ED72 RID: 60786 RVA: 0x0036ABAC File Offset: 0x00368DAC
|
|
[Token(Token = "0x600ED72")]
|
|
[Address(RVA = "0x11D43B0", Offset = "0x11D31B0", VA = "0x1811D43B0")]
|
|
private bool FKCEAFNEBAM(AvatarItemVisualData HPKICPNGMDJ)
|
|
{
|
|
string text = HPKICPNGMDJ.prefabGuid;
|
|
if (string.Equals(this.prefabGuid, text, StringComparison.InvariantCulture))
|
|
{
|
|
string text2 = HPKICPNGMDJ.maskGuid;
|
|
if (string.Equals(this.maskGuid, text2, StringComparison.InvariantCulture))
|
|
{
|
|
string text3 = HPKICPNGMDJ.swatchGuid;
|
|
if (string.Equals(this.swatchGuid, text3, StringComparison.InvariantCulture))
|
|
{
|
|
string text4 = HPKICPNGMDJ.decalGuid;
|
|
return string.Equals(this.decalGuid, text4, StringComparison.InvariantCulture);
|
|
}
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600ED73 RID: 60787 RVA: 0x0036AC1C File Offset: 0x00368E1C
|
|
[Token(Token = "0x600ED73")]
|
|
[Address(RVA = "0x11D4270", Offset = "0x11D3070", VA = "0x1811D4270", Slot = "0")]
|
|
public override bool Equals(object NLNHFEEMFBN)
|
|
{
|
|
Type type = NLNHFEEMFBN.GetType();
|
|
Type type2 = base.GetType();
|
|
if (!(type != type2))
|
|
{
|
|
string text = this.prefabGuid;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
string text2 = this.maskGuid;
|
|
bool flag2;
|
|
if (flag2)
|
|
{
|
|
string text3 = this.swatchGuid;
|
|
bool flag3;
|
|
if (flag3)
|
|
{
|
|
string text4 = this.decalGuid;
|
|
bool flag4;
|
|
return flag4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600ED74 RID: 60788 RVA: 0x0036AC7C File Offset: 0x00368E7C
|
|
[Token(Token = "0x600ED74")]
|
|
[Address(RVA = "0x11D4540", Offset = "0x11D3340", VA = "0x1811D4540", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
int num = 0;
|
|
if (this.prefabGuid != num)
|
|
{
|
|
StringComparer invariantCulture = StringComparer._invariantCulture;
|
|
}
|
|
if (this.maskGuid != num)
|
|
{
|
|
StringComparer invariantCulture2 = StringComparer._invariantCulture;
|
|
}
|
|
long num2 = (long)(num * (int)((uint)397));
|
|
if (this.swatchGuid != num)
|
|
{
|
|
StringComparer invariantCulture3 = StringComparer._invariantCulture;
|
|
}
|
|
long num3 = num2 * (long)((uint)397);
|
|
if (this.decalGuid != num)
|
|
{
|
|
StringComparer invariantCulture4 = StringComparer._invariantCulture;
|
|
}
|
|
long num4 = num3 * (long)((uint)397);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600ED75 RID: 60789 RVA: 0x0036ACF0 File Offset: 0x00368EF0
|
|
[Token(Token = "0x600ED75")]
|
|
[Address(RVA = "0x806790", Offset = "0x805590", VA = "0x180806790")]
|
|
public static bool JGIMJGNAJHP(AvatarItemVisualData EONHDDFEGMC, AvatarItemVisualData LDFLEALOHOI)
|
|
{
|
|
return object.Equals(EONHDDFEGMC, LDFLEALOHOI);
|
|
}
|
|
|
|
// Token: 0x0600ED76 RID: 60790 RVA: 0x0036AD04 File Offset: 0x00368F04
|
|
[Token(Token = "0x600ED76")]
|
|
[Address(RVA = "0x8063F0", Offset = "0x8051F0", VA = "0x1808063F0")]
|
|
public static bool BDBLGMKABNK(AvatarItemVisualData EONHDDFEGMC, AvatarItemVisualData LDFLEALOHOI)
|
|
{
|
|
return !object.Equals(EONHDDFEGMC, LDFLEALOHOI);
|
|
}
|
|
|
|
// Token: 0x0600ED77 RID: 60791 RVA: 0x0036AD1C File Offset: 0x00368F1C
|
|
[Token(Token = "0x600ED77")]
|
|
[Address(RVA = "0x11D4B10", Offset = "0x11D3910", VA = "0x1811D4B10")]
|
|
private void NCALKENBGLM()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600ED77)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.Avatars.Data.Shared.AvatarItemVisualData::NCALKENBGLM()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_F1:
|
|
stloc:InvalidOperationException(var_8_101, newobj:InvalidOperationException(InvalidOperationException::.ctor, call:string(string::Concat, ldstr:string("Missing prefab for guid "), ldloc:string(var_2_0E))))
|
|
}
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x04009D27 RID: 40231
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4009D27")]
|
|
[NonSerialized]
|
|
private AssetReference outfitPrefabReference;
|
|
|
|
// Token: 0x04009D28 RID: 40232
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009D28")]
|
|
[NonSerialized]
|
|
private AssetReference maskReference;
|
|
|
|
// Token: 0x04009D29 RID: 40233
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009D29")]
|
|
[NonSerialized]
|
|
private AssetReference swatchReference;
|
|
|
|
// Token: 0x04009D2A RID: 40234
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009D2A")]
|
|
[NonSerialized]
|
|
private AssetReference decalReference;
|
|
|
|
// Token: 0x04009D2B RID: 40235
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4009D2B")]
|
|
[SerializeField]
|
|
private string prefabGuid;
|
|
|
|
// Token: 0x04009D2C RID: 40236
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4009D2C")]
|
|
[SerializeField]
|
|
private string maskGuid;
|
|
|
|
// Token: 0x04009D2D RID: 40237
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4009D2D")]
|
|
[SerializeField]
|
|
private string swatchGuid;
|
|
|
|
// Token: 0x04009D2E RID: 40238
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4009D2E")]
|
|
[SerializeField]
|
|
private string decalGuid;
|
|
|
|
// Token: 0x04009D2F RID: 40239
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4009D2F")]
|
|
[NonSerialized]
|
|
private string _cachedRecNetString;
|
|
|
|
// Token: 0x020023F0 RID: 9200
|
|
[Token(Token = "0x20023F0")]
|
|
private class OELMAEPCILM : GPMPDFCGLHC<Task, KJDIAJKHGNG>
|
|
{
|
|
// Token: 0x0600ED78 RID: 60792 RVA: 0x0036AE2C File Offset: 0x0036902C
|
|
[Token(Token = "0x600ED78")]
|
|
[Address(RVA = "0x11DA8F0", Offset = "0x11D96F0", VA = "0x1811DA8F0")]
|
|
private OELMAEPCILM(Task CFNPEPPKEBC, IKAEDJBFIMM<GameObject> LDLKHIBBDBD, IKAEDJBFIMM<AvatarMask> NEIPOGHANNE, IKAEDJBFIMM<AvatarColorSwatch> KMEFKOOIJIC, IKAEDJBFIMM<AvatarDecal> OIMPECHJBBP)
|
|
: base(CFNPEPPKEBC)
|
|
{
|
|
this.LDLKHIBBDBD = LDLKHIBBDBD;
|
|
Action<GameObject> action = new Action(this.GIHCPNNLPMI);
|
|
int num = 0;
|
|
num += num;
|
|
num++;
|
|
this.NEIPOGHANNE = NEIPOGHANNE;
|
|
Action<AvatarMask> action2 = new Action(this.HCMCLBJDPOD);
|
|
num += num;
|
|
num++;
|
|
this.KMEFKOOIJIC = 0;
|
|
Action<AvatarColorSwatch> action3 = new Action(this.FKDIHHIKLIJ);
|
|
num += num;
|
|
num++;
|
|
this.OIMPECHJBBP = 0;
|
|
Action<AvatarDecal> action4 = new Action(this.ILMPFDKHDFK);
|
|
num += num;
|
|
num++;
|
|
AGMKFHGFEAE agmkfhgfeae = new AGMKFHGFEAE(num, num, num, num);
|
|
Action action5 = new Action(this.JEHHCEIBIKO);
|
|
DABKFAIHBBP dabkfaihbbp = agmkfhgfeae.OHLPJBFCABI(action5);
|
|
Action<string> action6;
|
|
DABKFAIHBBP dabkfaihbbp2 = agmkfhgfeae.HMFPPBJFHKD(action6);
|
|
}
|
|
|
|
// Token: 0x0600ED79 RID: 60793 RVA: 0x0036AF04 File Offset: 0x00369104
|
|
[Token(Token = "0x600ED79")]
|
|
[Address(RVA = "0x11DA210", Offset = "0x11D9010", VA = "0x1811DA210")]
|
|
private KJDIAJKHGNG LHGLOPLDBDD()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600ED79)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling KJDIAJKHGNG RecRoom.Avatars.Data.Shared.AvatarItemVisualData/OELMAEPCILM::LHGLOPLDBDD()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:int32(var_0_01, ldc.i4:int32(0))
|
|
stfld:class [RecRoom.Promises.Runtime]CBLLFJEDOII<!1>(GPMPDFCGLHC::CBJFAFPEEFB, ldloc:OELMAEPCILM[exp:GPMPDFCGLHC](this), ldloc:int32[exp:class [RecRoom.Promises.Runtime]CBLLFJEDOII<!1>](var_0_01))
|
|
}
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600ED7A RID: 60794 RVA: 0x0036AF1C File Offset: 0x0036911C
|
|
[Token(Token = "0x600ED7A")]
|
|
[Address(RVA = "0x11DA260", Offset = "0x11D9060", VA = "0x1811DA260")]
|
|
public static AvatarItemVisualData.OELMAEPCILM PPKHDMJDNCP(AvatarItemVisualData EIHNKBIJGLK)
|
|
{
|
|
int num = 0;
|
|
EIHNKBIJGLK.NCALKENBGLM();
|
|
IKAEDJBFIMM<GameObject> ikaedjbfimm = LGHODNADONN.IMIAFCNAKJA<GameObject>(EIHNKBIJGLK.outfitPrefabReference);
|
|
AssetReference maskReference = EIHNKBIJGLK.maskReference;
|
|
Func<IKAEDJBFIMM<AvatarMask>> <>9__10_ = AvatarItemVisualData.OELMAEPCILM.<>c.<>9__10_0;
|
|
if (<>9__10_ == 0)
|
|
{
|
|
AvatarItemVisualData.OELMAEPCILM.<>c.<>9__10_0 = () => null;
|
|
}
|
|
bool flag = LGHODNADONN.DJOOHHENECN<AvatarMask>(maskReference, <>9__10_, num);
|
|
AssetReference swatchReference = EIHNKBIJGLK.swatchReference;
|
|
Func<IKAEDJBFIMM<AvatarColorSwatch>> func;
|
|
if (AvatarItemVisualData.OELMAEPCILM.<>c.<>9__10_1 == 0)
|
|
{
|
|
func = () => null;
|
|
AvatarItemVisualData.OELMAEPCILM.<>c.<>9__10_1 = func;
|
|
}
|
|
bool flag2 = LGHODNADONN.DJOOHHENECN<AvatarColorSwatch>(swatchReference, func, num);
|
|
AssetReference decalReference = EIHNKBIJGLK.decalReference;
|
|
Func<IKAEDJBFIMM<AvatarDecal>> func2;
|
|
if (AvatarItemVisualData.OELMAEPCILM.<>c.<>9__10_2 == 0)
|
|
{
|
|
func2 = () => null;
|
|
AvatarItemVisualData.OELMAEPCILM.<>c.<>9__10_2 = func2;
|
|
}
|
|
bool flag3 = LGHODNADONN.DJOOHHENECN<AvatarDecal>(decalReference, func2, num);
|
|
Task[] array = new Task[4];
|
|
num += num;
|
|
num++;
|
|
int num2 = 0;
|
|
if (num != 0)
|
|
{
|
|
num += 19;
|
|
}
|
|
array[0] = num;
|
|
if (num < num2)
|
|
{
|
|
num += num;
|
|
if (num == num2)
|
|
{
|
|
goto IL_EC;
|
|
}
|
|
num++;
|
|
}
|
|
int num3 = 0;
|
|
if (num == 0)
|
|
{
|
|
goto IL_F1;
|
|
}
|
|
IL_EC:
|
|
num += 19;
|
|
IL_F1:
|
|
array[1] = num;
|
|
if (num < num3)
|
|
{
|
|
num += num;
|
|
if (num == num3)
|
|
{
|
|
goto IL_113;
|
|
}
|
|
num++;
|
|
}
|
|
int num4 = 0;
|
|
if (num == 0)
|
|
{
|
|
goto IL_118;
|
|
}
|
|
IL_113:
|
|
num += 19;
|
|
IL_118:
|
|
array[2] = num;
|
|
if (num < num4)
|
|
{
|
|
num += num;
|
|
if (num == num4)
|
|
{
|
|
goto IL_137;
|
|
}
|
|
num++;
|
|
}
|
|
if (num == 0)
|
|
{
|
|
goto IL_13C;
|
|
}
|
|
IL_137:
|
|
num += 19;
|
|
IL_13C:
|
|
array[3] = num;
|
|
return new AvatarItemVisualData.OELMAEPCILM(Task.WhenAll(array), ikaedjbfimm, num, num, num);
|
|
}
|
|
|
|
// Token: 0x0600ED7B RID: 60795 RVA: 0x0036B084 File Offset: 0x00369284
|
|
[Token(Token = "0x600ED7B")]
|
|
[Address(RVA = "0x11DA1B0", Offset = "0x11D8FB0", VA = "0x1811DA1B0", Slot = "8")]
|
|
protected override KJDIAJKHGNG KMLPECLHIFN(Task LIPAKCCDNKD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600ED7B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling KJDIAJKHGNG RecRoom.Avatars.Data.Shared.AvatarItemVisualData/OELMAEPCILM::KMLPECLHIFN(System.Threading.Tasks.Task)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stfld:class [RecRoom.Promises.Runtime]CBLLFJEDOII<!1>(GPMPDFCGLHC::CBJFAFPEEFB, ldloc:OELMAEPCILM[exp:GPMPDFCGLHC](this), ldc.i4:int32[exp:class [RecRoom.Promises.Runtime]CBLLFJEDOII<!1>](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.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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600ED7C RID: 60796 RVA: 0x0036B098 File Offset: 0x00369298
|
|
[Token(Token = "0x600ED7C")]
|
|
[Address(RVA = "0x11DA030", Offset = "0x11D8E30", VA = "0x1811DA030", Slot = "9")]
|
|
protected override void CFMNLNIIPIF()
|
|
{
|
|
if (this.LDLKHIBBDBD != 0)
|
|
{
|
|
}
|
|
if (this.NEIPOGHANNE != 0)
|
|
{
|
|
}
|
|
if (this.KMEFKOOIJIC != 0)
|
|
{
|
|
}
|
|
if (this.OIMPECHJBBP != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600ED7D RID: 60797 RVA: 0x0036B0CC File Offset: 0x003692CC
|
|
[Token(Token = "0x600ED7D")]
|
|
[Address(RVA = "0x11DA0C0", Offset = "0x11D8EC0", VA = "0x1811DA0C0")]
|
|
[CompilerGenerated]
|
|
private void GIHCPNNLPMI(GameObject PBAOMKNFBFL)
|
|
{
|
|
OutfitPrefab component = PBAOMKNFBFL.GetComponent<OutfitPrefab>();
|
|
this.DHPCBOAKLOM = component;
|
|
}
|
|
|
|
// Token: 0x0600ED7E RID: 60798 RVA: 0x0036B0F0 File Offset: 0x003692F0
|
|
[Token(Token = "0x600ED7E")]
|
|
[Address(RVA = "0x567490", Offset = "0x566290", VA = "0x180567490")]
|
|
[CompilerGenerated]
|
|
private void HCMCLBJDPOD(AvatarMask PBAOMKNFBFL)
|
|
{
|
|
this.JCLNMCEPMEL = PBAOMKNFBFL;
|
|
}
|
|
|
|
// Token: 0x0600ED7F RID: 60799 RVA: 0x0036B104 File Offset: 0x00369304
|
|
[Token(Token = "0x600ED7F")]
|
|
[Address(RVA = "0x687270", Offset = "0x686070", VA = "0x180687270")]
|
|
[CompilerGenerated]
|
|
private void FKDIHHIKLIJ(AvatarColorSwatch PBAOMKNFBFL)
|
|
{
|
|
this.IPNHCGJALFP = PBAOMKNFBFL;
|
|
}
|
|
|
|
// Token: 0x0600ED80 RID: 60800 RVA: 0x0036B118 File Offset: 0x00369318
|
|
[Token(Token = "0x600ED80")]
|
|
[Address(RVA = "0x703580", Offset = "0x702380", VA = "0x180703580")]
|
|
[CompilerGenerated]
|
|
private void ILMPFDKHDFK(AvatarDecal PBAOMKNFBFL)
|
|
{
|
|
this.GHGELHAJBLM = PBAOMKNFBFL;
|
|
}
|
|
|
|
// Token: 0x0600ED81 RID: 60801 RVA: 0x0036B12C File Offset: 0x0036932C
|
|
[Token(Token = "0x600ED81")]
|
|
[Address(RVA = "0x11DA120", Offset = "0x11D8F20", VA = "0x1811DA120")]
|
|
[CompilerGenerated]
|
|
private void JEHHCEIBIKO()
|
|
{
|
|
int num = 0;
|
|
AvatarDecal ghgelhajblm = this.GHGELHAJBLM;
|
|
base.COCHLMCDGCA(num);
|
|
}
|
|
|
|
// Token: 0x04009D30 RID: 40240
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4009D30")]
|
|
private readonly IKAEDJBFIMM<GameObject> LDLKHIBBDBD;
|
|
|
|
// Token: 0x04009D31 RID: 40241
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4009D31")]
|
|
private readonly IKAEDJBFIMM<AvatarMask> NEIPOGHANNE;
|
|
|
|
// Token: 0x04009D32 RID: 40242
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4009D32")]
|
|
private readonly IKAEDJBFIMM<AvatarColorSwatch> KMEFKOOIJIC;
|
|
|
|
// Token: 0x04009D33 RID: 40243
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4009D33")]
|
|
private readonly IKAEDJBFIMM<AvatarDecal> OIMPECHJBBP;
|
|
|
|
// Token: 0x04009D34 RID: 40244
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4009D34")]
|
|
private OutfitPrefab DHPCBOAKLOM;
|
|
|
|
// Token: 0x04009D35 RID: 40245
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4009D35")]
|
|
private AvatarMask JCLNMCEPMEL;
|
|
|
|
// Token: 0x04009D36 RID: 40246
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4009D36")]
|
|
private AvatarColorSwatch IPNHCGJALFP;
|
|
|
|
// Token: 0x04009D37 RID: 40247
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4009D37")]
|
|
private AvatarDecal GHGELHAJBLM;
|
|
}
|
|
}
|
|
}
|