oh dear
This commit is contained in:
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Animation
|
||||
{
|
||||
// Token: 0x02002F13 RID: 12051
|
||||
[Token(Token = "0x2002F13")]
|
||||
[CreateAssetMenu]
|
||||
public class PlayerAnimationVignette : ScriptableObject
|
||||
{
|
||||
// Token: 0x0601476E RID: 83822 RVA: 0x004C2594 File Offset: 0x004C0794
|
||||
[Token(Token = "0x601476E")]
|
||||
[Address(RVA = "0x1147D90", Offset = "0x1146B90", VA = "0x181147D90")]
|
||||
public IEnumerator FNAEOIGFMBJ(GPPHJKMNPJM GGBGJPIJIHN)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0601476E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Core.Animation.PlayerAnimationVignette::FNAEOIGFMBJ(GPPHJKMNPJM)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(DILJNPOMOIH::System.IDisposable.Dispose, ldloc:DILJNPOMOIH(var_0))
|
||||
stfld:PlayerAnimationVignette(DILJNPOMOIH::<>4__this, ldloc:DILJNPOMOIH(var_0), ldloc:PlayerAnimationVignette(this))
|
||||
stfld:int32(DILJNPOMOIH::<>1__state, ldloc:DILJNPOMOIH(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:GPPHJKMNPJM(DILJNPOMOIH::animationSystem, ldloc:DILJNPOMOIH(var_0), ldloc:GPPHJKMNPJM(GGBGJPIJIHN))
|
||||
}
|
||||
|
||||
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: 0x0601476F RID: 83823 RVA: 0x004C25C0 File Offset: 0x004C07C0
|
||||
[Token(Token = "0x601476F")]
|
||||
[Address(RVA = "0x1147E00", Offset = "0x1146C00", VA = "0x181147E00")]
|
||||
public float JPCNDKLEFFG()
|
||||
{
|
||||
PlayerAnimationVignette.KeyAnimation[] array = this.keys;
|
||||
if (array != 0)
|
||||
{
|
||||
int num = 0;
|
||||
int length = array.Length;
|
||||
if (num < length)
|
||||
{
|
||||
long num2 = (long)((ulong)num * (ulong)56L);
|
||||
num++;
|
||||
}
|
||||
}
|
||||
throw new IndexOutOfRangeException();
|
||||
}
|
||||
|
||||
// Token: 0x06014770 RID: 83824 RVA: 0x004C25FC File Offset: 0x004C07FC
|
||||
[Token(Token = "0x6014770")]
|
||||
[Address(RVA = "0x6EC220", Offset = "0x6EB020", VA = "0x1806EC220")]
|
||||
public PlayerAnimationVignette()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400D5E7 RID: 54759
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400D5E7")]
|
||||
[SerializeField]
|
||||
private PlayerAnimationVignette.KeyAnimation[] keys;
|
||||
|
||||
// Token: 0x02002F14 RID: 12052
|
||||
[Token(Token = "0x2002F14")]
|
||||
[Serializable]
|
||||
private struct KeyAnimation
|
||||
{
|
||||
// Token: 0x06014771 RID: 83825 RVA: 0x004C2610 File Offset: 0x004C0810
|
||||
[Token(Token = "0x6014771")]
|
||||
[Address(RVA = "0x1144BD0", Offset = "0x11439D0", VA = "0x181144BD0")]
|
||||
public float JPCNDKLEFFG()
|
||||
{
|
||||
if (!this.loop)
|
||||
{
|
||||
CCICBIOHEMC ccicbiohemc = this.animation.EIAFOKCOANL();
|
||||
int num = 0;
|
||||
num += num;
|
||||
num++;
|
||||
PlayerAnimation playerAnimation = this.animation;
|
||||
}
|
||||
return this.loopDuration;
|
||||
}
|
||||
|
||||
// Token: 0x0400D5E8 RID: 54760
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400D5E8")]
|
||||
public string name;
|
||||
|
||||
// Token: 0x0400D5E9 RID: 54761
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x400D5E9")]
|
||||
public PlayerAnimation animation;
|
||||
|
||||
// Token: 0x0400D5EA RID: 54762
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400D5EA")]
|
||||
public AdditiveAnimationWeight cameraWeight;
|
||||
|
||||
// Token: 0x0400D5EB RID: 54763
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400D5EB")]
|
||||
public bool loop;
|
||||
|
||||
// Token: 0x0400D5EC RID: 54764
|
||||
[FieldOffset(Offset = "0x2C")]
|
||||
[Token(Token = "0x400D5EC")]
|
||||
public float startDelay;
|
||||
|
||||
// Token: 0x0400D5ED RID: 54765
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400D5ED")]
|
||||
public float loopDuration;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user