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: 0x020024D3 RID: 9427
|
|
[Token(Token = "0x20024D3")]
|
|
[Serializable]
|
|
public class AvatarItemVisualData
|
|
{
|
|
// Token: 0x0600F186 RID: 61830 RVA: 0x00374058 File Offset: 0x00372258
|
|
[Token(Token = "0x600F186")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public AvatarItemVisualData()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600F187 RID: 61831 RVA: 0x0037406C File Offset: 0x0037226C
|
|
[Token(Token = "0x600F187")]
|
|
[Address(RVA = "0x1D09F80", Offset = "0x1D08F80", VA = "0x181D09F80")]
|
|
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: 0x0600F188 RID: 61832 RVA: 0x003740A0 File Offset: 0x003722A0
|
|
[Token(Token = "0x600F188")]
|
|
[Address(RVA = "0x1D09580", Offset = "0x1D08580", VA = "0x181D09580")]
|
|
public static AvatarItemVisualData GOODJMOBMEM(string OMPAGBANEDN, ArraySegment<string> OHHPGKIAFFN)
|
|
{
|
|
int num = OHHPGKIAFFN._offset;
|
|
num++;
|
|
return new AvatarItemVisualData
|
|
{
|
|
prefabGuid = OMPAGBANEDN
|
|
};
|
|
}
|
|
|
|
// Token: 0x0600F189 RID: 61833 RVA: 0x003740CC File Offset: 0x003722CC
|
|
[Token(Token = "0x600F189")]
|
|
[Address(RVA = "0x1D09C40", Offset = "0x1D08C40", VA = "0x181D09C40")]
|
|
public IKAEDJBFIMM<KJDIAJKHGNG> MNKDOANEFLK()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600F189)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600F18A RID: 61834 RVA: 0x003740E0 File Offset: 0x003722E0
|
|
[Token(Token = "0x600F18A")]
|
|
[Address(RVA = "0x1D09970", Offset = "0x1D08970", VA = "0x181D09970")]
|
|
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: 0x0600F18B RID: 61835 RVA: 0x003741A0 File Offset: 0x003723A0
|
|
[Token(Token = "0x600F18B")]
|
|
[Address(RVA = "0x1D094F0", Offset = "0x1D084F0", VA = "0x181D094F0")]
|
|
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: 0x0600F18C RID: 61836 RVA: 0x00374210 File Offset: 0x00372410
|
|
[Token(Token = "0x600F18C")]
|
|
[Address(RVA = "0x1D093B0", Offset = "0x1D083B0", VA = "0x181D093B0", 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: 0x0600F18D RID: 61837 RVA: 0x00374270 File Offset: 0x00372470
|
|
[Token(Token = "0x600F18D")]
|
|
[Address(RVA = "0x1D09680", Offset = "0x1D08680", VA = "0x181D09680", 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: 0x0600F18E RID: 61838 RVA: 0x003742E4 File Offset: 0x003724E4
|
|
[Token(Token = "0x600F18E")]
|
|
[Address(RVA = "0x1273C80", Offset = "0x1272C80", VA = "0x181273C80")]
|
|
public static bool JGIMJGNAJHP(AvatarItemVisualData EONHDDFEGMC, AvatarItemVisualData LDFLEALOHOI)
|
|
{
|
|
return object.Equals(EONHDDFEGMC, LDFLEALOHOI);
|
|
}
|
|
|
|
// Token: 0x0600F18F RID: 61839 RVA: 0x003742F8 File Offset: 0x003724F8
|
|
[Token(Token = "0x600F18F")]
|
|
[Address(RVA = "0x12738E0", Offset = "0x12728E0", VA = "0x1812738E0")]
|
|
public static bool BDBLGMKABNK(AvatarItemVisualData EONHDDFEGMC, AvatarItemVisualData LDFLEALOHOI)
|
|
{
|
|
return !object.Equals(EONHDDFEGMC, LDFLEALOHOI);
|
|
}
|
|
|
|
// Token: 0x0600F190 RID: 61840 RVA: 0x00374310 File Offset: 0x00372510
|
|
[Token(Token = "0x600F190")]
|
|
[Address(RVA = "0x1D09C50", Offset = "0x1D08C50", VA = "0x181D09C50")]
|
|
private void NCALKENBGLM()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600F190)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x04009F1E RID: 40734
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4009F1E")]
|
|
[NonSerialized]
|
|
private AssetReference outfitPrefabReference;
|
|
|
|
// Token: 0x04009F1F RID: 40735
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4009F1F")]
|
|
[NonSerialized]
|
|
private AssetReference maskReference;
|
|
|
|
// Token: 0x04009F20 RID: 40736
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4009F20")]
|
|
[NonSerialized]
|
|
private AssetReference swatchReference;
|
|
|
|
// Token: 0x04009F21 RID: 40737
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4009F21")]
|
|
[NonSerialized]
|
|
private AssetReference decalReference;
|
|
|
|
// Token: 0x04009F22 RID: 40738
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4009F22")]
|
|
[SerializeField]
|
|
private string prefabGuid;
|
|
|
|
// Token: 0x04009F23 RID: 40739
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4009F23")]
|
|
[SerializeField]
|
|
private string maskGuid;
|
|
|
|
// Token: 0x04009F24 RID: 40740
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4009F24")]
|
|
[SerializeField]
|
|
private string swatchGuid;
|
|
|
|
// Token: 0x04009F25 RID: 40741
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4009F25")]
|
|
[SerializeField]
|
|
private string decalGuid;
|
|
|
|
// Token: 0x04009F26 RID: 40742
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4009F26")]
|
|
[NonSerialized]
|
|
private string _cachedRecNetString;
|
|
|
|
// Token: 0x020024D4 RID: 9428
|
|
[Token(Token = "0x20024D4")]
|
|
private class OELMAEPCILM : GPMPDFCGLHC<Task, KJDIAJKHGNG>
|
|
{
|
|
// Token: 0x0600F191 RID: 61841 RVA: 0x00374420 File Offset: 0x00372620
|
|
[Token(Token = "0x600F191")]
|
|
[Address(RVA = "0x1D0FA30", Offset = "0x1D0EA30", VA = "0x181D0FA30")]
|
|
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: 0x0600F192 RID: 61842 RVA: 0x003744F8 File Offset: 0x003726F8
|
|
[Token(Token = "0x600F192")]
|
|
[Address(RVA = "0x1D0F350", Offset = "0x1D0E350", VA = "0x181D0F350")]
|
|
private KJDIAJKHGNG LHGLOPLDBDD()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600F192)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600F193 RID: 61843 RVA: 0x00374510 File Offset: 0x00372710
|
|
[Token(Token = "0x600F193")]
|
|
[Address(RVA = "0x1D0F3A0", Offset = "0x1D0E3A0", VA = "0x181D0F3A0")]
|
|
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: 0x0600F194 RID: 61844 RVA: 0x00374678 File Offset: 0x00372878
|
|
[Token(Token = "0x600F194")]
|
|
[Address(RVA = "0x1D0F2F0", Offset = "0x1D0E2F0", VA = "0x181D0F2F0", Slot = "8")]
|
|
protected override KJDIAJKHGNG KMLPECLHIFN(Task LIPAKCCDNKD)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600F194)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x0600F195 RID: 61845 RVA: 0x0037468C File Offset: 0x0037288C
|
|
[Token(Token = "0x600F195")]
|
|
[Address(RVA = "0x1D0F170", Offset = "0x1D0E170", VA = "0x181D0F170", Slot = "9")]
|
|
protected override void CFMNLNIIPIF()
|
|
{
|
|
if (this.LDLKHIBBDBD != 0)
|
|
{
|
|
}
|
|
if (this.NEIPOGHANNE != 0)
|
|
{
|
|
}
|
|
if (this.KMEFKOOIJIC != 0)
|
|
{
|
|
}
|
|
if (this.OIMPECHJBBP != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600F196 RID: 61846 RVA: 0x003746C0 File Offset: 0x003728C0
|
|
[Token(Token = "0x600F196")]
|
|
[Address(RVA = "0x1D0F200", Offset = "0x1D0E200", VA = "0x181D0F200")]
|
|
[CompilerGenerated]
|
|
private void GIHCPNNLPMI(GameObject PBAOMKNFBFL)
|
|
{
|
|
OutfitPrefab component = PBAOMKNFBFL.GetComponent<OutfitPrefab>();
|
|
this.DHPCBOAKLOM = component;
|
|
}
|
|
|
|
// Token: 0x0600F197 RID: 61847 RVA: 0x003746E4 File Offset: 0x003728E4
|
|
[Token(Token = "0x600F197")]
|
|
[Address(RVA = "0x417A20", Offset = "0x416A20", VA = "0x180417A20")]
|
|
[CompilerGenerated]
|
|
private void HCMCLBJDPOD(AvatarMask PBAOMKNFBFL)
|
|
{
|
|
this.JCLNMCEPMEL = PBAOMKNFBFL;
|
|
}
|
|
|
|
// Token: 0x0600F198 RID: 61848 RVA: 0x003746F8 File Offset: 0x003728F8
|
|
[Token(Token = "0x600F198")]
|
|
[Address(RVA = "0x417AC0", Offset = "0x416AC0", VA = "0x180417AC0")]
|
|
[CompilerGenerated]
|
|
private void FKDIHHIKLIJ(AvatarColorSwatch PBAOMKNFBFL)
|
|
{
|
|
this.IPNHCGJALFP = PBAOMKNFBFL;
|
|
}
|
|
|
|
// Token: 0x0600F199 RID: 61849 RVA: 0x0037470C File Offset: 0x0037290C
|
|
[Token(Token = "0x600F199")]
|
|
[Address(RVA = "0x476170", Offset = "0x475170", VA = "0x180476170")]
|
|
[CompilerGenerated]
|
|
private void ILMPFDKHDFK(AvatarDecal PBAOMKNFBFL)
|
|
{
|
|
this.GHGELHAJBLM = PBAOMKNFBFL;
|
|
}
|
|
|
|
// Token: 0x0600F19A RID: 61850 RVA: 0x00374720 File Offset: 0x00372920
|
|
[Token(Token = "0x600F19A")]
|
|
[Address(RVA = "0x1D0F260", Offset = "0x1D0E260", VA = "0x181D0F260")]
|
|
[CompilerGenerated]
|
|
private void JEHHCEIBIKO()
|
|
{
|
|
int num = 0;
|
|
AvatarDecal ghgelhajblm = this.GHGELHAJBLM;
|
|
base.COCHLMCDGCA(num);
|
|
}
|
|
|
|
// Token: 0x04009F27 RID: 40743
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4009F27")]
|
|
private readonly IKAEDJBFIMM<GameObject> LDLKHIBBDBD;
|
|
|
|
// Token: 0x04009F28 RID: 40744
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4009F28")]
|
|
private readonly IKAEDJBFIMM<AvatarMask> NEIPOGHANNE;
|
|
|
|
// Token: 0x04009F29 RID: 40745
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4009F29")]
|
|
private readonly IKAEDJBFIMM<AvatarColorSwatch> KMEFKOOIJIC;
|
|
|
|
// Token: 0x04009F2A RID: 40746
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4009F2A")]
|
|
private readonly IKAEDJBFIMM<AvatarDecal> OIMPECHJBBP;
|
|
|
|
// Token: 0x04009F2B RID: 40747
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4009F2B")]
|
|
private OutfitPrefab DHPCBOAKLOM;
|
|
|
|
// Token: 0x04009F2C RID: 40748
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4009F2C")]
|
|
private AvatarMask JCLNMCEPMEL;
|
|
|
|
// Token: 0x04009F2D RID: 40749
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4009F2D")]
|
|
private AvatarColorSwatch IPNHCGJALFP;
|
|
|
|
// Token: 0x04009F2E RID: 40750
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4009F2E")]
|
|
private AvatarDecal GHGELHAJBLM;
|
|
}
|
|
}
|
|
}
|