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

100 lines
5.0 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom
{
// Token: 0x02002164 RID: 8548
[Token(Token = "0x2002164")]
[Serializable]
public struct AdditiveAnimationWeight
{
// Token: 0x0600D887 RID: 55431 RVA: 0x0031B228 File Offset: 0x00319428
[Token(Token = "0x600D887")]
[Address(RVA = "0x605A60", Offset = "0x604A60", VA = "0x180605A60")]
public AdditiveAnimationWeight(Vector3 LLJIEPOKBEJ, Vector3 JGMOIBFNCHM)
{
float z = LLJIEPOKBEJ.z;
float z2 = JGMOIBFNCHM.z;
this.RotationWeight.z = z2;
}
// Token: 0x0600D888 RID: 55432 RVA: 0x0031B250 File Offset: 0x00319450
[Token(Token = "0x600D888")]
[Address(RVA = "0x14E77F0", Offset = "0x14E67F0", VA = "0x1814E77F0")]
public Vector3 GPFCLHLLHGG(Vector3 EOFPKPGPIGF)
{
/*
An exception occurred when decompiling this method (0600D888)
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 RecRoom.AdditiveAnimationWeight::GPFCLHLLHGG(UnityEngine.Vector3)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:float32(var_0_06, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](EOFPKPGPIGF)))
stloc:float32(var_2_0D, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_1)))
}
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: 0x0600D889 RID: 55433 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600D889")]
[Address(RVA = "0x14E7670", Offset = "0x14E6670", VA = "0x1814E7670")]
public Quaternion AOJBLNNBMBF(Quaternion CNBNIEBBCIB)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600D88A RID: 55434 RVA: 0x0031B26C File Offset: 0x0031946C
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x600D88A")]
[Address(RVA = "0x14E78B0", Offset = "0x14E68B0", VA = "0x1814E78B0")]
static AdditiveAnimationWeight()
{
Vector3 one = Vector3.one;
Vector3 one2 = Vector3.one;
Vector3 zero = Vector3.zero;
Vector3 zero2 = Vector3.zero;
}
// Token: 0x040089D2 RID: 35282
[Token(Token = "0x40089D2")]
private static readonly Vector3 DEFAULT_CAMERA_POSITION_WEIGHT;
// Token: 0x040089D3 RID: 35283
[Token(Token = "0x40089D3")]
private static readonly Vector3 DEFAULT_CAMERA_ROTATION_WEIGHT;
// Token: 0x040089D4 RID: 35284
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40089D4")]
public Vector3 PositionWeight;
// Token: 0x040089D5 RID: 35285
[FieldOffset(Offset = "0xC")]
[Token(Token = "0x40089D5")]
public Vector3 RotationWeight;
// Token: 0x040089D6 RID: 35286
[Token(Token = "0x40089D6")]
public static readonly AdditiveAnimationWeight One;
// Token: 0x040089D7 RID: 35287
[Token(Token = "0x40089D7")]
public static readonly AdditiveAnimationWeight Zero;
// Token: 0x040089D8 RID: 35288
[Token(Token = "0x40089D8")]
public static readonly AdditiveAnimationWeight Default;
}
}