77 lines
4.3 KiB
C#
77 lines
4.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace Obi
|
|
{
|
|
// Token: 0x020004DA RID: 1242
|
|
[Token(Token = "0x20004DA")]
|
|
[DisallowMultipleComponent]
|
|
[RequireComponent(typeof(Animator))]
|
|
public class ObiAnimatorController : MonoBehaviour
|
|
{
|
|
// Token: 0x06002B8D RID: 11149 RVA: 0x0005E08C File Offset: 0x0005C28C
|
|
[Token(Token = "0x6002B8D")]
|
|
[Address(RVA = "0xFFBBA0", Offset = "0xFFA9A0", VA = "0x180FFBBA0")]
|
|
public void Awake()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06002B8D)
|
|
|
|
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: 0x06002B8E RID: 11150 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002B8E")]
|
|
[Address(RVA = "0xFFBCA0", Offset = "0xFFAAA0", VA = "0x180FFBCA0")]
|
|
public void UpdateAnimation()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002B8F RID: 11151 RVA: 0x0005E0A8 File Offset: 0x0005C2A8
|
|
[Token(Token = "0x6002B8F")]
|
|
[Address(RVA = "0x686CC0", Offset = "0x685AC0", VA = "0x180686CC0")]
|
|
public void ResetUpdateFlag()
|
|
{
|
|
this.updatedThisStep = false;
|
|
}
|
|
|
|
// Token: 0x06002B90 RID: 11152 RVA: 0x000020D3 File Offset: 0x000002D3
|
|
[Token(Token = "0x6002B90")]
|
|
[Address(RVA = "0xFFBBF0", Offset = "0xFFA9F0", VA = "0x180FFBBF0")]
|
|
public void ResumeAutonomousUpdate()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06002B91 RID: 11153 RVA: 0x0005E0BC File Offset: 0x0005C2BC
|
|
[Token(Token = "0x6002B91")]
|
|
[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
|
|
public ObiAnimatorController()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04003410 RID: 13328
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4003410")]
|
|
private bool updatedThisStep;
|
|
|
|
// Token: 0x04003411 RID: 13329
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4003411")]
|
|
private Animator animator;
|
|
}
|
|
}
|