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: 0x02003412 RID: 13330
|
|
[Token(Token = "0x2003412")]
|
|
public static class PFEIDJDACLO
|
|
{
|
|
// Token: 0x06017537 RID: 95543 RVA: 0x00577360 File Offset: 0x00575560
|
|
[Token(Token = "0x6017537")]
|
|
[Address(RVA = "0xD45B20", Offset = "0xD44920", VA = "0x180D45B20")]
|
|
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: 0x06017538 RID: 95544 RVA: 0x0057738C File Offset: 0x0057558C
|
|
[Token(Token = "0x6017538")]
|
|
[Address(RVA = "0xD45DD0", Offset = "0xD44BD0", VA = "0x180D45DD0")]
|
|
public static string IOAIPKEEHOO(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
EnemyRuntimeConfig.Config config;
|
|
if (config == 0)
|
|
{
|
|
}
|
|
return config.PrefabName;
|
|
}
|
|
|
|
// Token: 0x06017539 RID: 95545 RVA: 0x005773A8 File Offset: 0x005755A8
|
|
[Token(Token = "0x6017539")]
|
|
[Address(RVA = "0xD45D60", Offset = "0xD44B60", VA = "0x180D45D60")]
|
|
public static EOBBJADIFAI IFIIHJDNMMP(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
EnemyRuntimeConfig.Config config;
|
|
if (config == 0)
|
|
{
|
|
return EOBBJADIFAI.INVALID;
|
|
}
|
|
return config.BehaviorType;
|
|
}
|
|
|
|
// Token: 0x0601753A RID: 95546 RVA: 0x005773C4 File Offset: 0x005755C4
|
|
[Token(Token = "0x601753A")]
|
|
[Address(RVA = "0xD45EC0", Offset = "0xD44CC0", VA = "0x180D45EC0")]
|
|
public static string NPDAPJBECBE(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
EnemyRuntimeConfig.Config config;
|
|
if (config == 0)
|
|
{
|
|
}
|
|
return config.EnemyDamageFriendlyNameString;
|
|
}
|
|
|
|
// Token: 0x0601753B RID: 95547 RVA: 0x005773E0 File Offset: 0x005755E0
|
|
[Token(Token = "0x601753B")]
|
|
[Address(RVA = "0xD45E30", Offset = "0xD44C30", VA = "0x180D45E30")]
|
|
public static int JLFAHCMNHCJ(JIEHOGDIGPG BCDIBBFPLNE, out int IHJLEJDMGEL, out int BDAFIMMPFOA)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0601753B)
|
|
|
|
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: 0x0601753C RID: 95548 RVA: 0x0057743C File Offset: 0x0057563C
|
|
[Token(Token = "0x601753C")]
|
|
[Address(RVA = "0xD45C80", Offset = "0xD44A80", VA = "0x180D45C80")]
|
|
public static float CGIJGEMAGNC()
|
|
{
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0601753D RID: 95549 RVA: 0x00577454 File Offset: 0x00575654
|
|
[Token(Token = "0x601753D")]
|
|
[Address(RVA = "0xD45F20", Offset = "0xD44D20", VA = "0x180D45F20")]
|
|
private static EnemyRuntimeConfig.Config PNFJHHJCCHP(JIEHOGDIGPG BCDIBBFPLNE)
|
|
{
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
}
|
|
throw new IndexOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0601753E RID: 95550 RVA: 0x00577470 File Offset: 0x00575670
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x601753E")]
|
|
[Address(RVA = "0xD460B0", Offset = "0xD44EB0", VA = "0x180D460B0")]
|
|
static PFEIDJDACLO()
|
|
{
|
|
EnemyRuntimeConfig enemyRuntimeConfig = OLJIOKGMCPN.MNKDOANEFLK<EnemyRuntimeConfig>(0);
|
|
}
|
|
|
|
// Token: 0x0400F35B RID: 62299
|
|
[Token(Token = "0x400F35B")]
|
|
public static EnemyRuntimeConfig DGJDBMCMINB;
|
|
}
|