174 lines
7.6 KiB
C#
174 lines
7.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Avatars.Data.Shared;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Avatars.Data.Runtime
|
|
{
|
|
// Token: 0x020023FE RID: 9214
|
|
[Token(Token = "0x20023FE")]
|
|
[Serializable]
|
|
public struct AvatarItem
|
|
{
|
|
// Token: 0x170026B1 RID: 9905
|
|
// (get) Token: 0x0600EDB1 RID: 60849 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x170026B1")]
|
|
public AvatarItemData AvatarItemData
|
|
{
|
|
[Token(Token = "0x600EDB1")]
|
|
[Address(RVA = "0x41D090", Offset = "0x41BE90", VA = "0x18041D090")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x170026B2 RID: 9906
|
|
// (get) Token: 0x0600EDB2 RID: 60850 RVA: 0x0036B6E4 File Offset: 0x003698E4
|
|
[Token(Token = "0x170026B2")]
|
|
public AvatarItemVisualData AvatarItemVisualData
|
|
{
|
|
[Token(Token = "0x600EDB2")]
|
|
[Address(RVA = "0x57C630", Offset = "0x57B430", VA = "0x18057C630")]
|
|
get
|
|
{
|
|
return this._avatarItemVisualData;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170026B3 RID: 9907
|
|
// (get) Token: 0x0600EDB3 RID: 60851 RVA: 0x0036B6F8 File Offset: 0x003698F8
|
|
[Token(Token = "0x170026B3")]
|
|
public bool IsEarItem
|
|
{
|
|
[Token(Token = "0x600EDB3")]
|
|
[Address(RVA = "0x11D3FB0", Offset = "0x11D2DB0", VA = "0x1811D3FB0")]
|
|
get
|
|
{
|
|
return "{il2cpp field on {'constant1' (constant value of type Cpp2IL.Core.Analysis.Il2CppClassIdentifier)}, offset 0x20}" == (ulong)3L;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EDB4 RID: 60852 RVA: 0x0036B718 File Offset: 0x00369918
|
|
[Token(Token = "0x600EDB4")]
|
|
[Address(RVA = "0x479F00", Offset = "0x478D00", VA = "0x180479F00")]
|
|
public AvatarItem(AvatarItemData DGIMOEBPGPO, AvatarItemVisualData HNPDEFFPNOI)
|
|
{
|
|
this._avatarItemData = DGIMOEBPGPO;
|
|
this._avatarItemVisualData = HNPDEFFPNOI;
|
|
}
|
|
|
|
// Token: 0x0600EDB5 RID: 60853 RVA: 0x0036B734 File Offset: 0x00369934
|
|
[Token(Token = "0x600EDB5")]
|
|
[Address(RVA = "0x11D57B0", Offset = "0x11D45B0", VA = "0x1811D57B0")]
|
|
public static AvatarItem GOODJMOBMEM(string DJHKBMIDFLF)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600EDB5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling RecRoom.Avatars.Data.Runtime.AvatarItem RecRoom.Avatars.Data.Runtime.AvatarItem::GOODJMOBMEM(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_13:
|
|
stloc:LDNIJPNJDCN(var_2_1D, newobj:LDNIJPNJDCN(LDNIJPNJDCN::.ctor, ldstr:string("Attempted to parse AvatarItem from empty RecNet string!")))
|
|
}
|
|
|
|
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: 0x0600EDB6 RID: 60854 RVA: 0x0036B760 File Offset: 0x00369960
|
|
[Token(Token = "0x600EDB6")]
|
|
[Address(RVA = "0x11D5910", Offset = "0x11D4710", VA = "0x1811D5910")]
|
|
public static AvatarItem GOODJMOBMEM(string OMPAGBANEDN, ArraySegment<string> OHHPGKIAFFN)
|
|
{
|
|
AvatarItemWardrobeRuntimeConfig.GuidAvatarDataDictionary avatarItemDataLookup = AvatarItemWardrobeRuntimeConfig.Config.avatarItemDataLookup;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
AvatarItemVisualData avatarItemVisualData = new AvatarItemVisualData();
|
|
avatarItemVisualData.prefabGuid = OHHPGKIAFFN;
|
|
avatarItemVisualData.decalGuid = flag;
|
|
}
|
|
string text;
|
|
InvalidOperationException ex = new InvalidOperationException(text);
|
|
throw new IndexOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600EDB7 RID: 60855 RVA: 0x0036B7C0 File Offset: 0x003699C0
|
|
[Token(Token = "0x600EDB7")]
|
|
[Address(RVA = "0x11D5BC0", Offset = "0x11D49C0", VA = "0x1811D5BC0")]
|
|
public string JOPJHHOJMEE()
|
|
{
|
|
return this._avatarItemVisualData.JOPJHHOJMEE();
|
|
}
|
|
|
|
// Token: 0x0600EDB8 RID: 60856 RVA: 0x0036B7E0 File Offset: 0x003699E0
|
|
[Token(Token = "0x600EDB8")]
|
|
[Address(RVA = "0x11D5730", Offset = "0x11D4530", VA = "0x1811D5730")]
|
|
public bool FKCEAFNEBAM(AvatarItem HPKICPNGMDJ)
|
|
{
|
|
AvatarItemVisualData avatarItemVisualData = this._avatarItemVisualData;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600EDB9 RID: 60857 RVA: 0x0036B7FC File Offset: 0x003699FC
|
|
[Token(Token = "0x600EDB9")]
|
|
[Address(RVA = "0x11D5660", Offset = "0x11D4460", VA = "0x1811D5660", Slot = "0")]
|
|
public override bool Equals(object NLNHFEEMFBN)
|
|
{
|
|
if (NLNHFEEMFBN != 0 && NLNHFEEMFBN != 0)
|
|
{
|
|
AvatarItemVisualData avatarItemVisualData = this._avatarItemVisualData;
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600EDBA RID: 60858 RVA: 0x0036B820 File Offset: 0x00369A20
|
|
[Token(Token = "0x600EDBA")]
|
|
[Address(RVA = "0x11D5B60", Offset = "0x11D4960", VA = "0x1811D5B60", Slot = "2")]
|
|
public override int GetHashCode()
|
|
{
|
|
this._avatarItemVisualData.Finalize();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600EDBB RID: 60859 RVA: 0x0036B840 File Offset: 0x00369A40
|
|
[Token(Token = "0x600EDBB")]
|
|
[Address(RVA = "0x11D5730", Offset = "0x11D4530", VA = "0x1811D5730")]
|
|
public static bool JGIMJGNAJHP(AvatarItem EONHDDFEGMC, AvatarItem LDFLEALOHOI)
|
|
{
|
|
AvatarItemVisualData avatarItemVisualData = EONHDDFEGMC._avatarItemVisualData;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600EDBC RID: 60860 RVA: 0x0036B85C File Offset: 0x00369A5C
|
|
[Token(Token = "0x600EDBC")]
|
|
[Address(RVA = "0x11D55D0", Offset = "0x11D43D0", VA = "0x1811D55D0")]
|
|
public static bool BDBLGMKABNK(AvatarItem EONHDDFEGMC, AvatarItem LDFLEALOHOI)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x04009D61 RID: 40289
|
|
[FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4009D61")]
|
|
[SerializeField]
|
|
private AvatarItemData _avatarItemData;
|
|
|
|
// Token: 0x04009D62 RID: 40290
|
|
[FieldOffset(Offset = "0x8")]
|
|
[Token(Token = "0x4009D62")]
|
|
[SerializeField]
|
|
private AvatarItemVisualData _avatarItemVisualData;
|
|
}
|
|
}
|