Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

122 lines
8.9 KiB
C#

using System;
using Cpp2IlInjected;
using RecRoom.Avatars.Data.Shared;
// Token: 0x020024D9 RID: 9433
[Token(Token = "0x20024D9")]
public static class HMLCEICIHEM
{
// Token: 0x0600F1A3 RID: 61859 RVA: 0x00374780 File Offset: 0x00372980
[Token(Token = "0x600F1A3")]
[Address(RVA = "0x1B8B840", Offset = "0x1B8A840", VA = "0x181B8B840")]
public static Player.GAHEJKDCLLE LJHEGHEHPEK(this OutfitType FILKIEPKEAE, AvatarItemHandEquipType CKHHLPHCPGN = AvatarItemHandEquipType.Left)
{
/*
An exception occurred when decompiling this method (0600F1A3)
ICSharpCode.Decompiler.DecompilerException: Error decompiling Player/GAHEJKDCLLE HMLCEICIHEM::LJHEGHEHPEK(RecRoom.Avatars.Data.Shared.OutfitType,RecRoom.Avatars.Data.Shared.AvatarItemHandEquipType)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_23:
brtrue(IL_00, ceq:bool(ldloc:OutfitType(FILKIEPKEAE), ldc.i4:OutfitType(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.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.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: 0x0600F1A4 RID: 61860 RVA: 0x003747B4 File Offset: 0x003729B4
[Token(Token = "0x600F1A4")]
[Address(RVA = "0x1B8B6E0", Offset = "0x1B8A6E0", VA = "0x181B8B6E0")]
public static Player.GAHEJKDCLLE EKIAHGGPMDB(this Player.GAHEJKDCLLE NMKAKHOEMGB)
{
if (NMKAKHOEMGB == Player.GAHEJKDCLLE.LeftHand)
{
return Player.GAHEJKDCLLE.RightHand;
}
return Player.GAHEJKDCLLE.LeftHand;
}
// Token: 0x0600F1A5 RID: 61861 RVA: 0x003747C8 File Offset: 0x003729C8
[Token(Token = "0x600F1A5")]
[Address(RVA = "0x1B8B6A0", Offset = "0x1B8A6A0", VA = "0x181B8B6A0")]
public static bool CHPHKOKLFEK(this OutfitType FILKIEPKEAE)
{
return FILKIEPKEAE == OutfitType.TeamJersey || FILKIEPKEAE == OutfitType.TeamWrist;
}
// Token: 0x0600F1A6 RID: 61862 RVA: 0x003747E4 File Offset: 0x003729E4
[Token(Token = "0x600F1A6")]
[Address(RVA = "0x1B8B6C0", Offset = "0x1B8A6C0", VA = "0x181B8B6C0")]
public static bool EIOGFFLFOPA(this OutfitType FILKIEPKEAE)
{
return FILKIEPKEAE == OutfitType.Wrist || FILKIEPKEAE == OutfitType.TeamWrist;
}
// Token: 0x0600F1A7 RID: 61863 RVA: 0x00374804 File Offset: 0x00372A04
[Token(Token = "0x600F1A7")]
[Address(RVA = "0x1B8B830", Offset = "0x1B8A830", VA = "0x181B8B830")]
public static bool LHLJCLPPLBH(this OutfitType FILKIEPKEAE)
{
return FILKIEPKEAE == OutfitType.Shirt;
}
// Token: 0x0600F1A8 RID: 61864 RVA: 0x00374818 File Offset: 0x00372A18
[Token(Token = "0x600F1A8")]
[Address(RVA = "0x1B8B640", Offset = "0x1B8A640", VA = "0x181B8B640")]
public static bool BMHIDMKAHEL(this OutfitType FILKIEPKEAE, Player.GAHEJKDCLLE NMKAKHOEMGB)
{
int num = 0;
if ((FILKIEPKEAE > OutfitType.Eye && ((FILKIEPKEAE > OutfitType.TeamJersey && FILKIEPKEAE != OutfitType.Wrist && FILKIEPKEAE != OutfitType.TeamWrist) || FILKIEPKEAE == OutfitType.Beard)) || FILKIEPKEAE != OutfitType.Hat)
{
}
if (num == (int)NMKAKHOEMGB)
{
return true;
}
if (num != 2)
{
}
return NMKAKHOEMGB == Player.GAHEJKDCLLE.RightHand;
}
// Token: 0x0600F1A9 RID: 61865 RVA: 0x0037485C File Offset: 0x00372A5C
[Token(Token = "0x600F1A9")]
[Address(RVA = "0x1B8B700", Offset = "0x1B8A700", VA = "0x181B8B700")]
public static EOBKJELFMIA.LFFHCBCBCJJ JIJFBCNAKNK(this OutfitType FILKIEPKEAE)
{
/*
An exception occurred when decompiling this method (0600F1A9)
ICSharpCode.Decompiler.DecompilerException: Error decompiling EOBKJELFMIA/LFFHCBCBCJJ HMLCEICIHEM::JIJFBCNAKNK(RecRoom.Avatars.Data.Shared.OutfitType)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_29:
call:void(Debug::LogWarning, call:string[exp:object](string::Format, ldstr:string("{0} does not have an associated browsable avatar item filter."), ldloc:uint32[exp:object](var_7)))
}
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
*/;
}
}