158 lines
7.3 KiB
C#
158 lines
7.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Tools.Groups;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02002644 RID: 9796
|
|
[Token(Token = "0x2002644")]
|
|
[StructLayout(3)]
|
|
public static class HGBPLIEFHJG
|
|
{
|
|
// Token: 0x06010F32 RID: 69426 RVA: 0x003FC2B4 File Offset: 0x003FA4B4
|
|
[Token(Token = "0x6010F32")]
|
|
[Address(RVA = "0x10335E0", Offset = "0x1031FE0", VA = "0x1810335E0")]
|
|
public static Sprite OJBLHDMJDLH(PlayingCard.BBJIAAMINKL HBPMKLFECJA)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
return HGBPLIEFHJG.HJKCDGBGKPL[(int)HBPMKLFECJA];
|
|
}
|
|
|
|
// Token: 0x06010F33 RID: 69427 RVA: 0x003FC2DC File Offset: 0x003FA4DC
|
|
[Token(Token = "0x6010F33")]
|
|
[Address(RVA = "0x1033540", Offset = "0x1031F40", VA = "0x181033540")]
|
|
public static Color IDBFAMDPHHF(PlayingCard.BBJIAAMINKL HBPMKLFECJA)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
Color[] mfojppompnn = HGBPLIEFHJG.MFOJPPOMPNN;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06010F34 RID: 69428 RVA: 0x003FC2FC File Offset: 0x003FA4FC
|
|
[Token(Token = "0x6010F34")]
|
|
[Address(RVA = "0x10334B0", Offset = "0x1031EB0", VA = "0x1810334B0")]
|
|
public static string HOPPFGOAEFP(PlayingCard.EGBLHMDGLIC ONGBFDACHHG)
|
|
{
|
|
HGBPLIEFHJG.DCHCJILOOOJ();
|
|
return HGBPLIEFHJG.PGBEHGGCJPB[(int)ONGBFDACHHG];
|
|
}
|
|
|
|
// Token: 0x06010F35 RID: 69429 RVA: 0x003FC324 File Offset: 0x003FA524
|
|
[Token(Token = "0x6010F35")]
|
|
[Address(RVA = "0x1032E10", Offset = "0x1031810", VA = "0x181032E10")]
|
|
private static void DCHCJILOOOJ()
|
|
{
|
|
int num;
|
|
for (;;)
|
|
{
|
|
num = 0;
|
|
if (Enum.GetValues(typeof(PlayingCard.BBJIAAMINKL)) != 0)
|
|
{
|
|
HGBPLIEFHJG.HJKCDGBGKPL = new Sprite[0];
|
|
HGBPLIEFHJG.MFOJPPOMPNN = new Color[0];
|
|
PlayingCardVisualConfig mfiafagnmjn = HGBPLIEFHJG.MFIAFAGNMJN;
|
|
int num2 = 0;
|
|
if (mfiafagnmjn != num2 && HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs != num)
|
|
{
|
|
PlayingCardVisualConfig.SuitConfig[] suitConfigs = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
if (num < suitConfigs.Length)
|
|
{
|
|
PlayingCardVisualConfig.SuitConfig[] array = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
Color[] mfojppompnn = HGBPLIEFHJG.MFOJPPOMPNN;
|
|
array += array;
|
|
PlayingCardVisualConfig.SuitConfig[] suitConfigs2 = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
break;
|
|
}
|
|
num++;
|
|
}
|
|
}
|
|
if (Enum.GetValues(typeof(PlayingCard.EGBLHMDGLIC)) != 0)
|
|
{
|
|
goto Block_5;
|
|
}
|
|
}
|
|
}
|
|
Sprite[] hjkcdgbgkpl = HGBPLIEFHJG.HJKCDGBGKPL;
|
|
PlayingCardVisualConfig.SuitConfig[] suitConfigs3 = HGBPLIEFHJG.MFIAFAGNMJN.SuitConfigs;
|
|
string text;
|
|
Sprite sprite = HGBPLIEFHJG.AJFBGPPJAPK(text);
|
|
throw new ArrayTypeMismatchException();
|
|
Block_5:
|
|
HGBPLIEFHJG.PGBEHGGCJPB = new string[0];
|
|
PlayingCardVisualConfig mfiafagnmjn2 = HGBPLIEFHJG.MFIAFAGNMJN;
|
|
int num3 = 0;
|
|
if (mfiafagnmjn2 != num3 && HGBPLIEFHJG.MFIAFAGNMJN.ValueConfigs != num)
|
|
{
|
|
PlayingCardVisualConfig.ValueConfig[] valueConfigs = HGBPLIEFHJG.MFIAFAGNMJN.ValueConfigs;
|
|
string[] pgbehggcjpb = HGBPLIEFHJG.PGBEHGGCJPB;
|
|
num += num;
|
|
throw new ArrayTypeMismatchException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06010F36 RID: 69430 RVA: 0x003FC464 File Offset: 0x003FA664
|
|
[Token(Token = "0x6010F36")]
|
|
[Address(RVA = "0x1032D70", Offset = "0x1031770", VA = "0x181032D70")]
|
|
private static Sprite AJFBGPPJAPK(string MMBOKOLAJFH)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06010F36)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Sprite HGBPLIEFHJG::AJFBGPPJAPK(System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_17:
|
|
brtrue(IL_17, cne:bool(ldloc:Object(var_1_12), ldc.i4:int32[exp:Object](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.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: 0x06010F37 RID: 69431 RVA: 0x003FC48C File Offset: 0x003FA68C
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x6010F37")]
|
|
[Address(RVA = "0x1033670", Offset = "0x1032070", VA = "0x181033670")]
|
|
static HGBPLIEFHJG()
|
|
{
|
|
int num = 0;
|
|
HGBPLIEFHJG.HJKCDGBGKPL = num;
|
|
HGBPLIEFHJG.MFOJPPOMPNN = num;
|
|
HGBPLIEFHJG.PGBEHGGCJPB = num;
|
|
HGBPLIEFHJG.FLNOIIKIMBJ = "Assets/Activities/EventRoom/Configs/";
|
|
}
|
|
|
|
// Token: 0x0400B431 RID: 46129
|
|
[Token(Token = "0x400B431")]
|
|
private static PlayingCardVisualConfig MFIAFAGNMJN = OIOLECLLCPM.GDJBDCKGDLE<PlayingCardVisualConfig>(0);
|
|
|
|
// Token: 0x0400B432 RID: 46130
|
|
[Token(Token = "0x400B432")]
|
|
private static Sprite[] HJKCDGBGKPL;
|
|
|
|
// Token: 0x0400B433 RID: 46131
|
|
[Token(Token = "0x400B433")]
|
|
private static Color[] MFOJPPOMPNN;
|
|
|
|
// Token: 0x0400B434 RID: 46132
|
|
[Token(Token = "0x400B434")]
|
|
private static string[] PGBEHGGCJPB;
|
|
|
|
// Token: 0x0400B435 RID: 46133
|
|
[Token(Token = "0x400B435")]
|
|
private static string FLNOIIKIMBJ = null;
|
|
}
|