Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

127 lines
5.5 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Core.Animation
{
// Token: 0x02002FFC RID: 12284
[Token(Token = "0x2002FFC")]
[CreateAssetMenu]
public class PlayerAnimationVignette : ScriptableObject
{
// Token: 0x06014BB9 RID: 84921 RVA: 0x004CC6E0 File Offset: 0x004CA8E0
[Token(Token = "0x6014BB9")]
[Address(RVA = "0x1C96A00", Offset = "0x1C95A00", VA = "0x181C96A00")]
public IEnumerator FNAEOIGFMBJ(GPPHJKMNPJM GGBGJPIJIHN)
{
/*
An exception occurred when decompiling this method (06014BB9)
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: 0x06014BBA RID: 84922 RVA: 0x004CC70C File Offset: 0x004CA90C
[Token(Token = "0x6014BBA")]
[Address(RVA = "0x1C96A70", Offset = "0x1C95A70", VA = "0x181C96A70")]
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: 0x06014BBB RID: 84923 RVA: 0x004CC748 File Offset: 0x004CA948
[Token(Token = "0x6014BBB")]
[Address(RVA = "0x5B1810", Offset = "0x5B0810", VA = "0x1805B1810")]
public PlayerAnimationVignette()
{
}
// Token: 0x0400D816 RID: 55318
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400D816")]
[SerializeField]
private PlayerAnimationVignette.KeyAnimation[] keys;
// Token: 0x02002FFD RID: 12285
[Token(Token = "0x2002FFD")]
[Serializable]
private struct KeyAnimation
{
// Token: 0x06014BBC RID: 84924 RVA: 0x004CC75C File Offset: 0x004CA95C
[Token(Token = "0x6014BBC")]
[Address(RVA = "0x1C93390", Offset = "0x1C92390", VA = "0x181C93390")]
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: 0x0400D817 RID: 55319
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x400D817")]
public string name;
// Token: 0x0400D818 RID: 55320
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x400D818")]
public PlayerAnimation animation;
// Token: 0x0400D819 RID: 55321
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400D819")]
public AdditiveAnimationWeight cameraWeight;
// Token: 0x0400D81A RID: 55322
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400D81A")]
public bool loop;
// Token: 0x0400D81B RID: 55323
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x400D81B")]
public float startDelay;
// Token: 0x0400D81C RID: 55324
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400D81C")]
public float loopDuration;
}
}
}