77 lines
4.2 KiB
C#
77 lines
4.2 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
using UnityEngine.Video;
|
|
|
|
namespace VRPanorama
|
|
{
|
|
// Token: 0x02000758 RID: 1880
|
|
[Token(Token = "0x2000758")]
|
|
public class VideoSync : MonoBehaviour
|
|
{
|
|
// Token: 0x06003642 RID: 13890 RVA: 0x000E0AE0 File Offset: 0x000DECE0
|
|
[Token(Token = "0x6003642")]
|
|
[Address(RVA = "0x1562AC0", Offset = "0x15618C0", VA = "0x181562AC0")]
|
|
private void Awake()
|
|
{
|
|
VideoPlayer component = base.GetComponent<VideoPlayer>();
|
|
this.NNPHDOPAHCH = component;
|
|
}
|
|
|
|
// Token: 0x06003643 RID: 13891 RVA: 0x000E0AFC File Offset: 0x000DECFC
|
|
[Token(Token = "0x6003643")]
|
|
[Address(RVA = "0x1562B60", Offset = "0x1561960", VA = "0x181562B60")]
|
|
private void Start()
|
|
{
|
|
this.NNPHDOPAHCH.Play();
|
|
this.NNPHDOPAHCH.Pause();
|
|
VideoSync.IDGGKMCKALO idggkmckalo;
|
|
idggkmckalo.System.IDisposable.Dispose();
|
|
idggkmckalo.<>1__state = (int)((ulong)0L);
|
|
idggkmckalo.<>4__this = this;
|
|
Coroutine coroutine = base.StartCoroutine(idggkmckalo);
|
|
}
|
|
|
|
// Token: 0x06003644 RID: 13892 RVA: 0x000E0B44 File Offset: 0x000DED44
|
|
[Token(Token = "0x6003644")]
|
|
[Address(RVA = "0x1562B00", Offset = "0x1561900", VA = "0x181562B00")]
|
|
private IEnumerator CHDOHBPMAGF()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06003644)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator VRPanorama.VideoSync::CHDOHBPMAGF()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(IDGGKMCKALO::System.IDisposable.Dispose, ldloc:IDGGKMCKALO(var_0))
|
|
stfld:int32(IDGGKMCKALO::<>1__state, ldloc:IDGGKMCKALO(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
|
stfld:VideoSync(IDGGKMCKALO::<>4__this, ldloc:IDGGKMCKALO(var_0), ldloc:VideoSync(this))
|
|
}
|
|
|
|
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: 0x06003645 RID: 13893 RVA: 0x000E0B68 File Offset: 0x000DED68
|
|
[Token(Token = "0x6003645")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public VideoSync()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002D34 RID: 11572
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4002D34")]
|
|
private VideoPlayer NNPHDOPAHCH;
|
|
}
|
|
}
|