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
SingletonCleanup.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
using
Cpp2IlInjected
;
4
5
// Token: 0x02000060 RID: 96
6
internal
class
SingletonCleanup
7
{
8
// Token: 0x14000005 RID: 5
9
// (add) Token: 0x06000200 RID: 512 RVA: 0x00005EAC File Offset: 0x000040AC
10
// (remove) Token: 0x06000201 RID: 513 RVA: 0x00005EC4 File Offset: 0x000040C4
11
public
static
event
SingletonCleanup.CleanupSingletonCallback
CleanUpEvent
12
{
13
[
CompilerGenerated
]
14
add
15
{
16
Delegate
@
delegate
;
17
if
(@
delegate
!=
null
)
18
{
19
}
20
}
21
[
CompilerGenerated
]
22
remove
23
{
24
Delegate
@
delegate
;
25
if
(@
delegate
!=
null
)
26
{
27
}
28
}
29
}
30
31
// Token: 0x06000202 RID: 514 RVA: 0x00005EDC File Offset: 0x000040DC
32
public
static
void
Cleanup
()
33
{
34
}
35
36
// Token: 0x06000203 RID: 515 RVA: 0x00005EEC File Offset: 0x000040EC
37
public
SingletonCleanup
()
38
{
39
}
40
41
// Token: 0x040001F5 RID: 501
42
[
CompilerGenerated
]
43
private
static
SingletonCleanup.CleanupSingletonCallback
CleanUpEvent
;
44
45
// Token: 0x02000061 RID: 97
46
public
sealed
class
CleanupSingletonCallback
:
MulticastDelegate
47
{
48
// Token: 0x06000204 RID: 516 RVA: 0x00005F00 File Offset: 0x00004100
49
public
CleanupSingletonCallback
(
object
@
object
,
IntPtr
method
)
50
{
51
this.method_ptr
=
method
;
52
this.m_target
= @object;
53
this.method
=
method
;
54
this.method_code
=
this
;
55
}
56
57
// Token: 0x06000205 RID: 517 RVA: 0x00005F54 File Offset: 0x00004154
58
public
void
Invoke
()
59
{
60
IntPtr
method_code
= this.
method_code
;
61
IntPtr
invoke_impl
= this.
invoke_impl
;
62
IntPtr
method
= this.
method
;
63
}
64
65
// Token: 0x06000206 RID: 518 RVA: 0x000021DB File Offset: 0x000003DB
66
public
IAsyncResult
BeginInvoke
(
AsyncCallback
callback,
object
@
object
)
67
{
68
throw
new
AnalysisFailedException
(
"CPP2IL failed to recover any usable IL for this method."
);
69
}
70
71
// Token: 0x06000207 RID: 519 RVA: 0x00005F78 File Offset: 0x00004178
72
public
void
EndInvoke
(
IAsyncResult
result)
73
{
74
}
75
}
76
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
SingletonCleanup.CleanupSingletonCallback.Invoke
void Invoke()
Definition
SingletonCleanup.cs:58
SingletonCleanup.CleanupSingletonCallback.BeginInvoke
IAsyncResult BeginInvoke(AsyncCallback callback, object @object)
Definition
SingletonCleanup.cs:66
SingletonCleanup.CleanupSingletonCallback.EndInvoke
void EndInvoke(IAsyncResult result)
Definition
SingletonCleanup.cs:72
SingletonCleanup.CleanupSingletonCallback.CleanupSingletonCallback
CleanupSingletonCallback(object @object, IntPtr method)
Definition
SingletonCleanup.cs:49
SingletonCleanup.CleanupSingletonCallback
Definition
SingletonCleanup.cs:47
SingletonCleanup.Cleanup
static void Cleanup()
Definition
SingletonCleanup.cs:32
SingletonCleanup.CleanUpEvent
static SingletonCleanup.CleanupSingletonCallback CleanUpEvent
Definition
SingletonCleanup.cs:12
SingletonCleanup.SingletonCleanup
SingletonCleanup()
Definition
SingletonCleanup.cs:37
SingletonCleanup
Definition
SingletonCleanup.cs:7
System.AsyncCallback
Definition
AsyncCallback.cs:9
System.Delegate.method_code
IntPtr method_code
Definition
Delegate.cs:386
System.Delegate.method
IntPtr method
Definition
Delegate.cs:377
System.Delegate.invoke_impl
IntPtr invoke_impl
Definition
Delegate.cs:371
System.Delegate
Definition
Delegate.cs:14
System.MulticastDelegate
Definition
MulticastDelegate.cs:13
System.IAsyncResult
Definition
IAsyncResult.cs:8
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System.Runtime.CompilerServices
Definition
AsyncMethodBuilderAttribute.cs:4
System
Definition
__ComObject.cs:4
System.IntPtr
Definition
IntPtr.cs:13
source
SingletonCleanup.cs
Generated by
1.10.0