using System; using System.Collections.Generic; using System.Linq; using Cpp2IlInjected; using MarsSDK; using Newtonsoft.Json; using UnityEngine; // Token: 0x02000159 RID: 345 [Token(Token = "0x2000159")] public class Win64Platform : IGamePlatform { // Token: 0x17000097 RID: 151 // (get) Token: 0x0600117C RID: 4476 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000097")] public ControllerDevice DefaultController { [Token(Token = "0x600117C")] [Address(RVA = "0x2E8FA0", Offset = "0x2E77A0", VA = "0x1802E8FA0", Slot = "4")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000098 RID: 152 // (get) Token: 0x0600117D RID: 4477 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000098")] public IFileSystem FileSystem { [Token(Token = "0x600117D")] [Address(RVA = "0x345100", Offset = "0x343900", VA = "0x180345100", Slot = "5")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000099 RID: 153 // (get) Token: 0x0600117E RID: 4478 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000099")] public bool IsConsolePlatform { [Token(Token = "0x600117E")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "6")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x1700009A RID: 154 // (get) Token: 0x0600117F RID: 4479 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x1700009A")] public bool UseAsiaController { [Token(Token = "0x600117F")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "7")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x1700009B RID: 155 // (get) Token: 0x06001180 RID: 4480 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x1700009B")] public bool UseAchievement { [Token(Token = "0x6001180")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "8")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x1700009C RID: 156 // (get) Token: 0x06001181 RID: 4481 RVA: 0x00028664 File Offset: 0x00026864 [Token(Token = "0x1700009C")] public bool ShowQuitButton { [Token(Token = "0x6001181")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00", Slot = "9")] get { return true; } } // Token: 0x1700009D RID: 157 // (get) Token: 0x06001182 RID: 4482 RVA: 0x00028674 File Offset: 0x00026874 [Token(Token = "0x1700009D")] public bool ShowDepthOfFieldSetting { [Token(Token = "0x6001182")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00", Slot = "10")] get { return true; } } // Token: 0x1700009E RID: 158 // (get) Token: 0x06001183 RID: 4483 RVA: 0x00028684 File Offset: 0x00026884 [Token(Token = "0x1700009E")] public bool IncludeChineseVideos { [Token(Token = "0x6001183")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00", Slot = "11")] get { return true; } } // Token: 0x06001184 RID: 4484 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001184")] [Address(RVA = "0x951790", Offset = "0x94FF90", VA = "0x180951790")] public Win64Platform() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001185 RID: 4485 RVA: 0x00028694 File Offset: 0x00026894 [Token(Token = "0x6001185")] [Address(RVA = "0x951720", Offset = "0x94FF20", VA = "0x180951720", Slot = "12")] public void Setup(Action nextAction) { if (nextAction != 0) { nextAction(); return; } } // Token: 0x06001186 RID: 4486 RVA: 0x000286AC File Offset: 0x000268AC [Token(Token = "0x6001186")] [Address(RVA = "0x951600", Offset = "0x94FE00", VA = "0x180951600", Slot = "13")] public void InitDlc() { GameDlcData dlc = Game.DLC; List list = Enumerable.ToList(EnumUtils.AllValues()); dlc.SetupDlc(list); } // Token: 0x06001187 RID: 4487 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001187")] [Address(RVA = "0x9514B0", Offset = "0x94FCB0", VA = "0x1809514B0", Slot = "14")] public GameConfig GetConfig() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001188 RID: 4488 RVA: 0x000286DC File Offset: 0x000268DC [Token(Token = "0x6001188")] [Address(RVA = "0x9516B0", Offset = "0x94FEB0", VA = "0x1809516B0", Slot = "15")] public void SaveConfig(GameConfig config) { string text = JsonConvert.SerializeObject(config); PlayerPrefs.SetString("Config_Test", text); } // Token: 0x06001189 RID: 4489 RVA: 0x000286FC File Offset: 0x000268FC [Token(Token = "0x6001189")] [Address(RVA = "0x951740", Offset = "0x94FF40", VA = "0x180951740", Slot = "16")] public void ShowNoSpaceDialogue(Action nextAction) { /* An exception occurred when decompiling this method (06001189) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void Win64Platform::ShowNoSpaceDialogue(System.Action) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stloc:Exception(var_0_0A, newobj:Exception(Exception::.ctor, ldstr:string("This is ps4 only feature, if see the log, check save file flow."))); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 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 344 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 1618 */; } // Token: 0x0600118A RID: 4490 RVA: 0x00028714 File Offset: 0x00026914 [Token(Token = "0x600118A")] [Address(RVA = "0x9513F0", Offset = "0x94FBF0", VA = "0x1809513F0")] private GameConfig CreateConfig() { GameConfig gameConfig = new GameConfig(); gameConfig.configVersion = (int)((ulong)21L); string text = JsonConvert.SerializeObject(gameConfig); PlayerPrefs.SetString("Config_Test", text); return gameConfig; } // Token: 0x0600118B RID: 4491 RVA: 0x0002874C File Offset: 0x0002694C [Token(Token = "0x600118B")] [Address(RVA = "0x9515D0", Offset = "0x94FDD0", VA = "0x1809515D0", Slot = "17")] public GameSkin[] GetPlatformSkins() { return EnumUtils.AllValues(); } // Token: 0x0600118C RID: 4492 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600118C")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "18")] public bool HasAchievementUnlocked(int index) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600118D RID: 4493 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600118D")] [Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "19")] public void UnlockAchievement(int index) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600118E RID: 4494 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600118E")] [Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "20")] public void ResetAllAchievements(Action nextAction) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600118F RID: 4495 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600118F")] [Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "21")] public void UpdateStatsData(GameCollection collectionData) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001190 RID: 4496 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001190")] [Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "23")] public void MountDLCPoint(GameSkin skin) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001191 RID: 4497 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001191")] [Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "24")] public void UnmountDLCPoints() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001192 RID: 4498 RVA: 0x00028760 File Offset: 0x00026960 [Token(Token = "0x6001192")] [Address(RVA = "0x9516A0", Offset = "0x94FEA0", VA = "0x1809516A0", Slot = "22")] public void Quit() { Application.Quit(); } // Token: 0x04001B7C RID: 7036 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4001B7C")] private StandaloneFileSystem fileSystem; }