Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

57 lines
4.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace RRUI.Animation
{
// Token: 0x02001035 RID: 4149
[Token(Token = "0x2001035")]
[MMOINKHEKJF("Opacity/Default", "Tween from the current opacity to the default opacity")]
[Serializable]
public class OpacityDefaultTransition : OpacityTransition
{
// Token: 0x06005E0B RID: 24075 RVA: 0x0014B7E4 File Offset: 0x001499E4
[Token(Token = "0x6005E0B")]
[Address(RVA = "0x1062550", Offset = "0x1061350", VA = "0x181062550", Slot = "6")]
protected override PIPDAMDIAPC Execute()
{
/*
An exception occurred when decompiling this method (06005E0B)
ICSharpCode.Decompiler.DecompilerException: Error decompiling PIPDAMDIAPC RRUI.Animation.OpacityDefaultTransition::Execute()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:class [mscorlib]System.Func`1<float32>(var_0_06, ldfld:class [mscorlib]System.Func`1<float32>(OpacityTransition::getter, ldloc:OpacityDefaultTransition[exp:OpacityTransition](this)))
stloc:class [mscorlib]System.Action`1<float32>(var_1_0D, ldfld:class [mscorlib]System.Action`1<float32>(OpacityTransition::setter, ldloc:OpacityDefaultTransition[exp:OpacityTransition](this)))
stloc:float32(var_2_14, ldfld:float32(OpacityTransition::cachedOpacity, ldloc:OpacityDefaultTransition[exp:OpacityTransition](this)))
stloc:float32(var_3_1B, ldfld:float32(TweenTransition::duration, ldloc:OpacityDefaultTransition[exp:TweenTransition](this)))
stloc:JOMGGPNCMFK(var_4_22, ldfld:JOMGGPNCMFK(TweenTransition::easeFunction, ldloc:OpacityDefaultTransition[exp:TweenTransition](this)))
stloc:MonoBehaviour(var_5_2A, ldfld:MonoBehaviour(TransitionImplementation::<MonoBehaviour>k__BackingField, ldloc:OpacityDefaultTransition[exp:TransitionImplementation](this)))
stloc:ANGMHDJNACK(var_7_39, call:ANGMHDJNACK(LLICDLEPNPK::PGBBGHKPEEN, ldloc:class [mscorlib]System.Func`1<float32>[exp:Func`1](var_0_06), ldloc:class [mscorlib]System.Action`1<float32>[exp:Action`1](var_1_0D), ldloc:float32(var_2_14), ldloc:float32(var_3_1B), ldloc:JOMGGPNCMFK(var_4_22), ldloc:MonoBehaviour[exp:Behaviour](var_5_2A)))
}
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 1660
*/;
}
// Token: 0x06005E0C RID: 24076 RVA: 0x0014B82C File Offset: 0x00149A2C
[Token(Token = "0x6005E0C")]
[Address(RVA = "0x1062530", Offset = "0x1061330", VA = "0x181062530")]
public OpacityDefaultTransition()
{
this.cachedOpacity = 1f;
this.duration = 0.33f;
this.easeFunction = (HMIPJEAODAB.JOMGGPNCMFK)((ulong)3L);
this.isWorldCanvas = true;
base..ctor();
}
}
}