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
Lightmapping.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000137 RID: 311
9 public static class Lightmapping
10 {
11 // Token: 0x06000600 RID: 1536 RVA: 0x0000AE5C File Offset: 0x0000905C
14 {
15 if (del != null || !true)
16 {
17 }
18 if (!true)
19 {
20 }
21 }
22
23 // Token: 0x06000601 RID: 1537 RVA: 0x0000AE74 File Offset: 0x00009074
26 {
27 /*
28An exception occurred when decompiling this method (06000601)
29
30ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Experimental.GlobalIllumination.Lightmapping/RequestLightsDelegate UnityEngine.Experimental.GlobalIllumination.Lightmapping::GetDelegate()
31
32 ---> System.Exception: Basic block has to end with unconditional control flow.
33{
34 IL_0000:
35 brtrue(IL_0000, ldc.i4:bool(1))
36}
37
38 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
39 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
40 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
41 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
42 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
43 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
44 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
45 --- End of inner exception stack trace ---
46 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
47 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
48*/;
49 }
50
51 // Token: 0x06000602 RID: 1538 RVA: 0x0000AE84 File Offset: 0x00009084
53 public static void ResetDelegate()
54 {
55 if (!true)
56 {
57 }
58 }
59
60 // Token: 0x06000603 RID: 1539 RVA: 0x0000AE94 File Offset: 0x00009094
63 {
64 void* ptr = (void*)outLightsPtr;
65 if (!true)
66 {
67 }
68 }
69
70 // Token: 0x06000604 RID: 1540 RVA: 0x0000AEAC File Offset: 0x000090AC
71 // Note: this type is marked as 'beforefieldinit'.
72 static Lightmapping()
73 {
74 if (!true)
75 {
76 }
77 }
78
79 // Token: 0x0400055B RID: 1371
82
83 // Token: 0x0400055C RID: 1372
86
87 // Token: 0x02000138 RID: 312
89 {
90 // Token: 0x06000605 RID: 1541 RVA: 0x0000AEBC File Offset: 0x000090BC
91 public RequestLightsDelegate(object @object, IntPtr method)
92 {
94 this.m_target = @object;
96 this.method_code = this;
97 }
98
99 // Token: 0x06000606 RID: 1542 RVA: 0x0000AF10 File Offset: 0x00009110
106 }
107
108 // Token: 0x02000139 RID: 313
110 [Serializable]
111 private sealed class <>c
112 {
113 // Token: 0x06000607 RID: 1543 RVA: 0x0000AF34 File Offset: 0x00009134
114 // Note: this type is marked as 'beforefieldinit'.
115 static <>c()
116 {
117 }
118
119 // Token: 0x06000608 RID: 1544 RVA: 0x0000AF44 File Offset: 0x00009144
120 public <>c()
121 {
122 }
123
124 // Token: 0x06000609 RID: 1545 RVA: 0x0000AF58 File Offset: 0x00009158
126 {
127 int bakedIndex = requests.m_BakedIndex;
128 }
129
130 // Token: 0x0400055D RID: 1373
131 public static readonly Lightmapping.<>c <>9;
132 }
133 }
134}
class f__AnonymousType0<< Count > j__TPar
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371
void Invoke(Light[] requests, NativeArray< LightDataGI > lightsOutput)
static readonly Lightmapping.RequestLightsDelegate s_DefaultDelegate
static void SetDelegate(Lightmapping.RequestLightsDelegate del)
static unsafe void RequestLights(Light[] lights, IntPtr outLightsPtr, int outLightsCount)
static Lightmapping.RequestLightsDelegate GetDelegate()
static Lightmapping.RequestLightsDelegate s_RequestLightsDelegate