// Token: 0x060009D6 RID: 2518 RVA: 0x000578D4 File Offset: 0x00055AD4 private static void DmCmnBackupSave(bool is_first, bool is_new, bool is_del) { AppMain.GSS_MAIN_SYS_INFO gss_MAIN_SYS_INFO = AppMain.GsGetMainSysInfo(); SBackup sbackup = SBackup.CreateInstance(); byte[] data = sbackup.getData(); uint size = (uint)data.Length; AppMain.AoStorageClearError(); if (is_first) { AppMain.AoStorageSaveStart(data, size, true, false); gss_MAIN_SYS_INFO.cmp_backup.setData(gss_MAIN_SYS_INFO.backup.getData()); return; } if (is_new) { AppMain.AoStorageSaveStart(data, size, false, true); gss_MAIN_SYS_INFO.cmp_backup.setData(gss_MAIN_SYS_INFO.backup.getData()); return; } if (gss_MAIN_SYS_INFO.is_save_run != 0U) { bool flag = AppMain.dmCmnBackupIsCmpSaveData(); if (flag) { AppMain.AoStorageSaveStart(data, size, false, false); gss_MAIN_SYS_INFO.cmp_backup.setData(gss_MAIN_SYS_INFO.backup.getData()); } } }
// Token: 0x060009D3 RID: 2515 RVA: 0x00057848 File Offset: 0x00055A48 private static void DmCmnBackupLoad() { SBackup sbackup = SBackup.CreateInstance(); AppMain.AoStorageClearError(); byte[] data = sbackup.getData(); AppMain.AoStorageLoadStart(data); sbackup.setData(data); }