using System; using System.Collections.Generic; using System.Linq; using Cpp2IlInjected; using MarsSDK; using Newtonsoft.Json; using UnityEngine; // Token: 0x02000156 RID: 342 [Token(Token = "0x2000156")] public class EditorPlatform : IGamePlatform { // Token: 0x1700007E RID: 126 // (get) Token: 0x0600112E RID: 4398 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x1700007E")] public ControllerDevice DefaultController { [Token(Token = "0x600112E")] [Address(RVA = "0x2E8FA0", Offset = "0x2E77A0", VA = "0x1802E8FA0", Slot = "4")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x1700007F RID: 127 // (get) Token: 0x0600112F RID: 4399 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x1700007F")] public IFileSystem FileSystem { [Token(Token = "0x600112F")] [Address(RVA = "0x345100", Offset = "0x343900", VA = "0x180345100", Slot = "5")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000080 RID: 128 // (get) Token: 0x06001130 RID: 4400 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000080")] public bool IsConsolePlatform { [Token(Token = "0x6001130")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "6")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000081 RID: 129 // (get) Token: 0x06001131 RID: 4401 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000081")] public bool UseAsiaController { [Token(Token = "0x6001131")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "7")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000082 RID: 130 // (get) Token: 0x06001132 RID: 4402 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000082")] public bool UseAchievement { [Token(Token = "0x6001132")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "8")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x17000083 RID: 131 // (get) Token: 0x06001133 RID: 4403 RVA: 0x00028018 File Offset: 0x00026218 [Token(Token = "0x17000083")] public bool ShowQuitButton { [Token(Token = "0x6001133")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00", Slot = "9")] get { return true; } } // Token: 0x17000084 RID: 132 // (get) Token: 0x06001134 RID: 4404 RVA: 0x00028028 File Offset: 0x00026228 [Token(Token = "0x17000084")] public bool ShowDepthOfFieldSetting { [Token(Token = "0x6001134")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00", Slot = "10")] get { return true; } } // Token: 0x17000085 RID: 133 // (get) Token: 0x06001135 RID: 4405 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x17000085")] public bool IncludeChineseVideos { [Token(Token = "0x6001135")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960", Slot = "11")] get { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } // Token: 0x06001136 RID: 4406 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001136")] [Address(RVA = "0xA8D120", Offset = "0xA8B920", VA = "0x180A8D120")] public EditorPlatform() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001137 RID: 4407 RVA: 0x00028038 File Offset: 0x00026238 [Token(Token = "0x6001137")] [Address(RVA = "0x951720", Offset = "0x94FF20", VA = "0x180951720", Slot = "12")] public void Setup(Action nextAction) { if (nextAction != 0) { nextAction(); return; } } // Token: 0x06001138 RID: 4408 RVA: 0x00028050 File Offset: 0x00026250 [Token(Token = "0x6001138")] [Address(RVA = "0xA8CFC0", Offset = "0xA8B7C0", VA = "0x180A8CFC0", Slot = "13")] public void InitDlc() { GameDlcData dlc = Game.DLC; List list = Enumerable.ToList(EnumUtils.AllValues()); dlc.SetupDlc(list); } // Token: 0x06001139 RID: 4409 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001139")] [Address(RVA = "0xA8CE70", Offset = "0xA8B670", VA = "0x180A8CE70", Slot = "14")] public GameConfig GetConfig() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x0600113A RID: 4410 RVA: 0x00028080 File Offset: 0x00026280 [Token(Token = "0x600113A")] [Address(RVA = "0xA8D060", Offset = "0xA8B860", VA = "0x180A8D060", Slot = "15")] public void SaveConfig(GameConfig config) { string text = JsonConvert.SerializeObject(config); PlayerPrefs.SetString("Config", text); } // Token: 0x0600113B RID: 4411 RVA: 0x000280A0 File Offset: 0x000262A0 [Token(Token = "0x600113B")] [Address(RVA = "0xA8CDB0", Offset = "0xA8B5B0", VA = "0x180A8CDB0")] private GameConfig CreateConfig() { GameConfig gameConfig = new GameConfig(); gameConfig.configVersion = (int)((ulong)21L); string text = JsonConvert.SerializeObject(gameConfig); PlayerPrefs.SetString("Config", text); return gameConfig; } // Token: 0x0600113C RID: 4412 RVA: 0x000280D8 File Offset: 0x000262D8 [Token(Token = "0x600113C")] [Address(RVA = "0xA8D0D0", Offset = "0xA8B8D0", VA = "0x180A8D0D0", Slot = "16")] public void ShowNoSpaceDialogue(Action nextAction) { /* An exception occurred when decompiling this method (0600113C) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void EditorPlatform::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: 0x0600113D RID: 4413 RVA: 0x000280F0 File Offset: 0x000262F0 [Token(Token = "0x600113D")] [Address(RVA = "0xA8CF90", Offset = "0xA8B790", VA = "0x180A8CF90", Slot = "17")] public GameSkin[] GetPlatformSkins() { return EnumUtils.AllValues(); } // Token: 0x0600113E RID: 4414 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600113E")] [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: 0x0600113F RID: 4415 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x600113F")] [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: 0x06001140 RID: 4416 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001140")] [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: 0x06001141 RID: 4417 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001141")] [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: 0x06001142 RID: 4418 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001142")] [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: 0x06001143 RID: 4419 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001143")] [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: 0x06001144 RID: 4420 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001144")] [Address(RVA = "0x29E8B0", Offset = "0x29D0B0", VA = "0x18029E8B0", Slot = "22")] public void Quit() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001145 RID: 4421 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001145")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960")] private bool GetConsolePlatformFlag() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001146 RID: 4422 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001146")] [Address(RVA = "0x29A960", Offset = "0x299160", VA = "0x18029A960")] private bool GetUseAsiaControllerFlag() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x06001147 RID: 4423 RVA: 0x00028104 File Offset: 0x00026304 [Token(Token = "0x6001147")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00")] private bool GetShowQuitButtonFlag() { return true; } // Token: 0x06001148 RID: 4424 RVA: 0x00028114 File Offset: 0x00026314 [Token(Token = "0x6001148")] [Address(RVA = "0x497D00", Offset = "0x496500", VA = "0x180497D00")] private bool GetShowDOFButtonFlag() { return true; } // Token: 0x06001149 RID: 4425 RVA: 0x000020D3 File Offset: 0x000002D3 [Token(Token = "0x6001149")] [Address(RVA = "0x2E8FA0", Offset = "0x2E77A0", VA = "0x1802E8FA0")] private ControllerDevice GetDefaultController() { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } // Token: 0x04001B78 RID: 7032 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4001B78")] private StandaloneFileSystem fileSystem; }