Files
NobetaSource/Cpp2IL/Assembly-CSharp/Obi/ObiAnimatorController.cs
2023-09-06 22:19:13 +02:00

77 lines
4.3 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace Obi
{
// Token: 0x02000532 RID: 1330
[Token(Token = "0x2000532")]
[DisallowMultipleComponent]
[RequireComponent(typeof(Animator))]
public class ObiAnimatorController : MonoBehaviour
{
// Token: 0x06002E56 RID: 11862 RVA: 0x00065324 File Offset: 0x00063524
[Token(Token = "0x6002E56")]
[Address(RVA = "0x108EED0", Offset = "0x108DED0", VA = "0x18108EED0")]
public void Awake()
{
/*
An exception occurred when decompiling this method (06002E56)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Obi.ObiAnimatorController::Awake()
---> System.Exception: Basic block has to end with unconditional control flow.
{; Block_0:; stloc:Animator(var_0_06, call:Animator(Component::GetComponent, ldloc:ObiAnimatorController[exp:Component](this))); stfld:Animator(ObiAnimatorController::animator, ldloc:ObiAnimatorController(this), ldloc:Animator(var_0_06)); };
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
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 344
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 1618
*/;
}
// Token: 0x06002E57 RID: 11863 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002E57")]
[Address(RVA = "0x108EFD0", Offset = "0x108DFD0", VA = "0x18108EFD0")]
public void UpdateAnimation()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002E58 RID: 11864 RVA: 0x00065340 File Offset: 0x00063540
[Token(Token = "0x6002E58")]
[Address(RVA = "0x682180", Offset = "0x681180", VA = "0x180682180")]
public void ResetUpdateFlag()
{
this.updatedThisStep = false;
}
// Token: 0x06002E59 RID: 11865 RVA: 0x000020D3 File Offset: 0x000002D3
[Token(Token = "0x6002E59")]
[Address(RVA = "0x108EF20", Offset = "0x108DF20", VA = "0x18108EF20")]
public void ResumeAutonomousUpdate()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06002E5A RID: 11866 RVA: 0x00065354 File Offset: 0x00063554
[Token(Token = "0x6002E5A")]
[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
public ObiAnimatorController()
{
}
// Token: 0x040036FA RID: 14074
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40036FA")]
private bool updatedThisStep;
// Token: 0x040036FB RID: 14075
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40036FB")]
private Animator animator;
}
}