terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
TweenRunner.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x0200008E RID: 142
11 internal class TweenRunner<T> where T : struct, ITweenValue
12 {
13 // Token: 0x06000575 RID: 1397 RVA: 0x00002207 File Offset: 0x00000407
14 private static IEnumerator Start(T tweenInfo)
15 {
16 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
17 }
18
19 // Token: 0x06000576 RID: 1398 RVA: 0x00010E14 File Offset: 0x0000F014
24
25 // Token: 0x06000577 RID: 1399 RVA: 0x00010E28 File Offset: 0x0000F028
26 public void StartTween(T info)
27 {
29 if (!true)
30 {
31 }
32 Debug.LogWarning("Coroutine container not configured... did you forget to call Init?");
33 }
34
35 // Token: 0x06000578 RID: 1400 RVA: 0x00010E54 File Offset: 0x0000F054
36 public void StopTween()
37 {
39 if (tween != null)
40 {
42 }
43 }
44
45 // Token: 0x06000579 RID: 1401 RVA: 0x00010E78 File Offset: 0x0000F078
46 public TweenRunner()
47 {
48 }
49
50 // Token: 0x04000281 RID: 641
52
53 // Token: 0x04000282 RID: 642
55
56 // Token: 0x0200008F RID: 143
58 private sealed class <Start>d__2 : IEnumerator<object>, IEnumerator, IDisposable
59 {
60 // Token: 0x0600057A RID: 1402 RVA: 0x00010E8C File Offset: 0x0000F08C
63 {
64 this.<>1__state = <>1__state;
65 }
66
67 // Token: 0x0600057B RID: 1403 RVA: 0x00010EA8 File Offset: 0x0000F0A8
69 void IDisposable.Dispose()
70 {
71 }
72
73 // Token: 0x0600057C RID: 1404 RVA: 0x00010EB8 File Offset: 0x0000F0B8
74 private bool MoveNext()
75 {
76 /*
77An exception occurred when decompiling this method (0600057C)
78
79ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean UnityEngine.UI.CoroutineTween.TweenRunner`1/<Start>d__2::MoveNext()
80
81 ---> System.Exception: Basic block has to end with unconditional control flow.
82{
83 IL_0028:
84 stloc:float32(var_6_30, callgetter:float32(Time::get_deltaTime))
85 stloc:int32(var_7_33, ldc.i4:int32(1))
86 stfld:int32('<Start>d__2'::<>1__state, ldloc:'<Start>d__2'(this), ldloc:int32(var_7_33))
87}
88
89 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
90 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
91 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
92 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
93 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
94 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
95 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
96 --- End of inner exception stack trace ---
97 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
98 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 1683
99*/;
100 }
101
102 // Token: 0x17000167 RID: 359
103 // (get) Token: 0x0600057D RID: 1405 RVA: 0x00002207 File Offset: 0x00000407
105 {
107 get
108 {
109 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
110 }
111 }
112
113 // Token: 0x0600057E RID: 1406 RVA: 0x00002207 File Offset: 0x00000407
115 void IEnumerator.Reset()
116 {
117 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
118 }
119
120 // Token: 0x17000168 RID: 360
121 // (get) Token: 0x0600057F RID: 1407 RVA: 0x00002207 File Offset: 0x00000407
123 {
125 get
126 {
127 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
128 }
129 }
130
131 // Token: 0x04000283 RID: 643
132 private int <>1__state;
133
134 // Token: 0x04000284 RID: 644
135 private object <>2__current;
136
137 // Token: 0x04000285 RID: 645
138 public T tweenInfo;
139
140 // Token: 0x04000286 RID: 646
141 private float <elapsedTime>5__2;
142 }
143 }
144}
class f__AnonymousType0<< Count > j__TPar
static void LogWarning(object message)
Definition Debug.cs:117
void StopCoroutine(IEnumerator routine)
static IEnumerator Start(T tweenInfo)
void Init(MonoBehaviour coroutineContainer)