137 lines
5.9 KiB
C#
137 lines
5.9 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.AI;
|
|
|
|
// Token: 0x020034FF RID: 13567
|
|
[Token(Token = "0x20034FF")]
|
|
public static class PFEIDJDACLO
|
|
{
|
|
// Token: 0x060179C6 RID: 96710 RVA: 0x005824CC File Offset: 0x005806CC
|
|
[Token(Token = "0x60179C6")]
|
|
[Address(RVA = "0x182A470", Offset = "0x1829470", VA = "0x18182A470")]
|
|
public static void AMGOKGIMIAD(List<JIEHOGDIGPG> PJDCOFNHFCA)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
string text;
|
|
while (text != 0)
|
|
{
|
|
}
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
KKPBCOOONNK.HDNFKFCMMKA(text, num3 != 0, num2 != 0);
|
|
}
|
|
}
|
|
while (num != 0);
|
|
}
|
|
|
|
// Token: 0x060179C7 RID: 96711 RVA: 0x005824F8 File Offset: 0x005806F8
|
|
[Token(Token = "0x60179C7")]
|
|
[Address(RVA = "0x182A720", Offset = "0x1829720", VA = "0x18182A720")]
|
|
public static string IOAIPKEEHOO(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
EnemyRuntimeConfig.Config config;
|
|
if (config == 0)
|
|
{
|
|
}
|
|
return config.PrefabName;
|
|
}
|
|
|
|
// Token: 0x060179C8 RID: 96712 RVA: 0x00582514 File Offset: 0x00580714
|
|
[Token(Token = "0x60179C8")]
|
|
[Address(RVA = "0x182A6B0", Offset = "0x18296B0", VA = "0x18182A6B0")]
|
|
public static EOBBJADIFAI IFIIHJDNMMP(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
EnemyRuntimeConfig.Config config;
|
|
if (config == 0)
|
|
{
|
|
return EOBBJADIFAI.INVALID;
|
|
}
|
|
return config.BehaviorType;
|
|
}
|
|
|
|
// Token: 0x060179C9 RID: 96713 RVA: 0x00582530 File Offset: 0x00580730
|
|
[Token(Token = "0x60179C9")]
|
|
[Address(RVA = "0x182A810", Offset = "0x1829810", VA = "0x18182A810")]
|
|
public static string NPDAPJBECBE(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
EnemyRuntimeConfig.Config config;
|
|
if (config == 0)
|
|
{
|
|
}
|
|
return config.EnemyDamageFriendlyNameString;
|
|
}
|
|
|
|
// Token: 0x060179CA RID: 96714 RVA: 0x0058254C File Offset: 0x0058074C
|
|
[Token(Token = "0x60179CA")]
|
|
[Address(RVA = "0x182A780", Offset = "0x1829780", VA = "0x18182A780")]
|
|
public static int JLFAHCMNHCJ(JIEHOGDIGPG BCDIBBFPLNE, out int IHJLEJDMGEL, out int BDAFIMMPFOA)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060179CA)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 PFEIDJDACLO::JLFAHCMNHCJ(JIEHOGDIGPG,System.Int32&,System.Int32&)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_1:
|
|
stloc:int32(var_4_2E, ldfld:int32(EnemyScoreInfo::MinScore, ldfld:EnemyScoreInfo[exp:valuetype RecRoom.Core.AI.EnemyRuntimeConfig/Config/EnemyScoreInfo&](Config::ScoreInfo, ldloc:Config(var_3))))
|
|
stfld:int32(int32::m_value, ldloc:int32&(IHJLEJDMGEL), ldloc:int32(var_4_2E))
|
|
stloc:int32(var_5_43, ldfld:int32(EnemyScoreInfo::MaxScore, ldfld:EnemyScoreInfo[exp:valuetype RecRoom.Core.AI.EnemyRuntimeConfig/Config/EnemyScoreInfo&](Config::ScoreInfo, ldloc:Config(var_3))))
|
|
stfld:int32(int32::m_value, ldloc:int32&(BDAFIMMPFOA), ldloc:int32(var_5_43))
|
|
}
|
|
|
|
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: 0x060179CB RID: 96715 RVA: 0x005825A8 File Offset: 0x005807A8
|
|
[Token(Token = "0x60179CB")]
|
|
[Address(RVA = "0x182A5D0", Offset = "0x18295D0", VA = "0x18182A5D0")]
|
|
public static float CGIJGEMAGNC()
|
|
{
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060179CC RID: 96716 RVA: 0x005825C0 File Offset: 0x005807C0
|
|
[Token(Token = "0x60179CC")]
|
|
[Address(RVA = "0x182A870", Offset = "0x1829870", VA = "0x18182A870")]
|
|
private static EnemyRuntimeConfig.Config PNFJHHJCCHP(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
throw new IndexOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x060179CD RID: 96717 RVA: 0x005825DC File Offset: 0x005807DC
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x60179CD")]
|
|
[Address(RVA = "0x182AA00", Offset = "0x1829A00", VA = "0x18182AA00")]
|
|
static PFEIDJDACLO()
|
|
{
|
|
EnemyRuntimeConfig enemyRuntimeConfig = OLJIOKGMCPN.MNKDOANEFLK<EnemyRuntimeConfig>(0);
|
|
}
|
|
|
|
// Token: 0x0400F5A3 RID: 62883
|
|
[Token(Token = "0x400F5A3")]
|
|
public static EnemyRuntimeConfig DGJDBMCMINB;
|
|
}
|