Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Mar 2, 2017 at 12:46 AM       36      
Status
Not open for further replies.
Last month the PS4 Save Wizard was first announced, followed by Code Freak Cyber Gadget's official PS4 Save Editor and the Xploder PS4 Cheats System and today @VultraAID passed along some leaked source code for the PS4SaveEditor software that allows end-users to decrypt, modify and re-encrypt PS4 Game Save files such as Final Fantasy XV. (y)

Download: [PLAIN]PS4SAVEEDITOR_Leaked_Source_By_Vultra;).rar[/PLAIN] (859.75 KB) / CyberGadgets PS3 SAVE EDITOR Source By Vultra ).rar (PS3 - 632.95 KB) / Cyber Gadgets saveEditorPS4_manual.ja.en.pdf (4.16 MB) / PS4SEsetup.zip (1.16 MB) / PS4 Save Editor (Leaked Source) GIT

From MFC_WC, to quote: The software.. is just a client software which is needed to connect to their server. The actual app itself seems to be on server side, even when using your customized code, it needs to be uploaded to their servers to use.

From @VultraAID in the PSXHAX Shoutbox come some quick observations on PS4SaveEditor:
Code:
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.InteropServices;
using System.Text;

namespace PS4SaveEditor
{
    // Token: 0x02000029 RID: 41
    public class USB
    {
        // Token: 0x0600029F RID: 671 RVA: 0x0000FC14 File Offset: 0x0000DE14
        public static List<USB.USBDevice> GetConnectedDevices()
        {
            List<USB.USBDevice> list = new List<USB.USBDevice>();
            foreach (USB.USBController current in USB.GetHostControllers())
            {
                USB.ListHub(current.GetRootHub(), list);
            }
            return list;
        }

        // Token: 0x060002A0 RID: 672 RVA: 0x0000FC6C File Offset: 0x0000DE6C
        private static void ListHub(USB.USBHub Hub, List<USB.USBDevice> DevList)
        {
            foreach (USB.USBPort current in Hub.GetPorts())
            {
                if (current.IsHub)
                {
                    USB.ListHub(current.GetHub(), DevList);
                }
                else if (current.IsDeviceConnected)
                {
                    DevList.Add(current.GetDevice());
                }
            }
        }

        // Token: 0x060002A1 RID: 673 RVA: 0x0000FCDC File Offset: 0x0000DEDC
        public static USB.USBDevice FindDeviceByDriverKeyName(string DriverKeyName)
        {
            USB.USBDevice uSBDevice = null;
            foreach (USB.USBController current in USB.GetHostControllers())
            {
                USB.SearchHubDriverKeyName(current.GetRootHub(), ref uSBDevice, DriverKeyName);
                if (uSBDevice != null)
                {
                    break;
                }
            }
            return uSBDevice;
        }

        // Token: 0x060002A2 RID: 674 RVA: 0x0000FD38 File Offset: 0x0000DF38
        private static void SearchHubDriverKeyName(USB.USBHub Hub, ref USB.USBDevice FoundDevice, string DriverKeyName)
        {
            foreach (USB.USBPort current in Hub.GetPorts())
            {
                if (current.IsHub)
                {
                    USB.SearchHubDriverKeyName(current.GetHub(), ref FoundDevice, DriverKeyName);
                }
                else if (current.IsDeviceConnected)
                {
                    USB.USBDevice device = current.GetDevice();
                    if (device.DeviceDriverKey == DriverKeyName)
                    {
                        FoundDevice = device;
                        break;
                    }
                }
            }
        }

        // Token: 0x060002A3 RID: 675 RVA: 0x0000FDB8 File Offset: 0x0000DFB8
        public static USB.USBDevice FindDeviceByInstanceID(string InstanceID)
        {
            USB.USBDevice uSBDevice = null;
            foreach (USB.USBController current in USB.GetHostControllers())
            {
                USB.SearchHubInstanceID(current.GetRootHub(), ref uSBDevice, InstanceID);
                if (uSBDevice != null)
                {
                    break;
                }
            }
            return uSBDevice;
        }

        // Token: 0x060002A4 RID: 676 RVA: 0x0000FE14 File Offset: 0x0000E014
        private static void SearchHubInstanceID(USB.USBHub Hub, ref USB.USBDevice FoundDevice, string InstanceID)
        {
            foreach (USB.USBPort current in Hub.GetPorts())
            {
                if (current.IsHub)
                {
                    USB.SearchHubInstanceID(current.GetHub(), ref FoundDevice, InstanceID);
                }
                else if (current.IsDeviceConnected)
                {
                    USB.USBDevice device = current.GetDevice();
                    if (device.InstanceID == InstanceID)
                    {
                        FoundDevice = device;
                        break;
                    }
                }
            }
        }

        // Token: 0x060002A5 RID: 677
        [DllImport("setupapi.dll")]
        private static extern int CM_Get_Parent(out IntPtr pdnDevInst, int dnDevInst, int ulFlags);

        // Token: 0x060002A6 RID: 678
        [DllImport("setupapi.dll", CharSet = CharSet.Auto)]
        private static extern int CM_Get_Device_ID(IntPtr dnDevInst, IntPtr Buffer, int BufferLen, int ulFlags);

        // Token: 0x060002A7 RID: 679 RVA: 0x0000FE94 File Offset: 0x0000E094
        public static USB.USBDevice FindDriveLetter(string DriveLetter)
        {
            USB.USBDevice result = null;
            string text = "";
            int deviceNumber = USB.GetDeviceNumber("\\\\.\\" + DriveLetter.TrimEnd(new char[]
            {
                '\\'
            }));
            if (deviceNumber < 0)
            {
                return result;
            }
            Guid guid = new Guid("53f56307-b6bf-11d0-94f2-00a0c91efb8b");
            IntPtr deviceInfoSet = USB.SetupDiGetClassDevs(ref guid, 0, IntPtr.Zero, 18);
            if (deviceInfoSet.ToInt32() != -1)
            {
                int num = 0;
                USB.SP_DEVINFO_DATA sP_DEVINFO_DATA;
                int num3;
                while (true)
                {
                    USB.SP_DEVICE_INTERFACE_DATA sP_DEVICE_INTERFACE_DATA = default(USB.SP_DEVICE_INTERFACE_DATA);
                    sP_DEVICE_INTERFACE_DATA.cbSize = Marshal.SizeOf(sP_DEVICE_INTERFACE_DATA);
                    bool flag = USB.SetupDiEnumDeviceInterfaces(deviceInfoSet, IntPtr.Zero, ref guid, num, ref sP_DEVICE_INTERFACE_DATA);
                    if (flag)
                    {
                        sP_DEVINFO_DATA = default(USB.SP_DEVINFO_DATA);
                        sP_DEVINFO_DATA.cbSize = Marshal.SizeOf(sP_DEVINFO_DATA);
                        USB.SP_DEVICE_INTERFACE_DETAIL_DATA sP_DEVICE_INTERFACE_DETAIL_DATA = default(USB.SP_DEVICE_INTERFACE_DETAIL_DATA);
                        sP_DEVICE_INTERFACE_DETAIL_DATA.cbSize = ((IntPtr.Size == 4) ? (4 + Marshal.SystemDefaultCharSize) : 8);
                        int num2 = 0;
                        num3 = 2048;
                        if (USB.SetupDiGetDeviceInterfaceDetail(deviceInfoSet, ref sP_DEVICE_INTERFACE_DATA, ref sP_DEVICE_INTERFACE_DETAIL_DATA, num3, ref num2, ref sP_DEVINFO_DATA) && USB.GetDeviceNumber(sP_DEVICE_INTERFACE_DETAIL_DATA.DevicePath) == deviceNumber)
                        {
                            break;
                        }
                    }
                    num++;
                    if (!flag)
                    {
                        goto IL_14B;
                    }
                }
                IntPtr dnDevInst;
                USB.CM_Get_Parent(out dnDevInst, sP_DEVINFO_DATA.DevInst, 0);
                IntPtr intPtr = Marshal.AllocHGlobal(num3);
                USB.CM_Get_Device_ID(dnDevInst, intPtr, num3, 0);
                text = Marshal.PtrToStringAuto(intPtr);
                Marshal.FreeHGlobal(intPtr);
                IL_14B:
                USB.SetupDiDestroyDeviceInfoList(deviceInfoSet);
            }
            if (text.StartsWith("USB\\"))
            {
                result = USB.FindDeviceByInstanceID(text);
            }
            return result;
        }

        // Token: 0x060002A8 RID: 680 RVA: 0x0001000C File Offset: 0x0000E20C
        private static int GetDeviceNumber(string DevicePath)
        {
            int result = -1;
            IntPtr intPtr = USB.CreateFile(DevicePath.TrimEnd(new char[]
            {
                '\\'
            }), 0, 0, IntPtr.Zero, 3, 0, IntPtr.Zero);
            if (intPtr.ToInt32() != -1)
            {
                int num = Marshal.SizeOf(default(USB.STORAGE_DEVICE_NUMBER));
                IntPtr intPtr2 = Marshal.AllocHGlobal(num);
                int num2;
                if (USB.DeviceIoControl(intPtr, 2953344, IntPtr.Zero, 0, intPtr2, num, out num2, IntPtr.Zero))
                {
                    USB.STORAGE_DEVICE_NUMBER sTORAGE_DEVICE_NUMBER = (USB.STORAGE_DEVICE_NUMBER)Marshal.PtrToStructure(intPtr2, typeof(USB.STORAGE_DEVICE_NUMBER));
                    result = (sTORAGE_DEVICE_NUMBER.DeviceType << 8) + sTORAGE_DEVICE_NUMBER.DeviceNumber;
                }
                Marshal.FreeHGlobal(intPtr2);
                USB.CloseHandle(intPtr);
            }
            return result;
        }

        // Token: 0x060002A9 RID: 681
        [DllImport("setupapi.dll", CharSet = CharSet.Auto)]
        private static extern IntPtr SetupDiGetClassDevs(ref Guid ClassGuid, int Enumerator, IntPtr hwndParent, int Flags);

        // Token: 0x060002AA RID: 682
        [DllImport("setupapi.dll", CharSet = CharSet.Auto)]
        private static extern IntPtr SetupDiGetClassDevs(int ClassGuid, string Enumerator, IntPtr hwndParent, int Flags);

        // Token: 0x060002AB RID: 683
        [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool SetupDiEnumDeviceInterfaces(IntPtr DeviceInfoSet, IntPtr DeviceInfoData, ref Guid InterfaceClassGuid, int MemberIndex, ref USB.SP_DEVICE_INTERFACE_DATA DeviceInterfaceData);

        // Token: 0x060002AC RID: 684
        [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool SetupDiGetDeviceInterfaceDetail(IntPtr DeviceInfoSet, ref USB.SP_DEVICE_INTERFACE_DATA DeviceInterfaceData, ref USB.SP_DEVICE_INTERFACE_DETAIL_DATA DeviceInterfaceDetailData, int DeviceInterfaceDetailDataSize, ref int RequiredSize, ref USB.SP_DEVINFO_DATA DeviceInfoData);

        // Token: 0x060002AD RID: 685
        [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool SetupDiGetDeviceRegistryProperty(IntPtr DeviceInfoSet, ref USB.SP_DEVINFO_DATA DeviceInfoData, int iProperty, ref int PropertyRegDataType, IntPtr PropertyBuffer, int PropertyBufferSize, ref int RequiredSize);

        // Token: 0x060002AE RID: 686
        [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool SetupDiEnumDeviceInfo(IntPtr DeviceInfoSet, int MemberIndex, ref USB.SP_DEVINFO_DATA DeviceInfoData);

        // Token: 0x060002AF RID: 687
        [DllImport("setupapi.dll", SetLastError = true)]
        private static extern bool SetupDiDestroyDeviceInfoList(IntPtr DeviceInfoSet);

        // Token: 0x060002B0 RID: 688
        [DllImport("setupapi.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool SetupDiGetDeviceInstanceId(IntPtr DeviceInfoSet, ref USB.SP_DEVINFO_DATA DeviceInfoData, StringBuilder DeviceInstanceId, int DeviceInstanceIdSize, out int RequiredSize);

        // Token: 0x060002B1 RID: 689
        [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool DeviceIoControl(IntPtr hDevice, int dwIoControlCode, IntPtr lpInBuffer, int nInBufferSize, IntPtr lpOutBuffer, int nOutBufferSize, out int lpBytesReturned, IntPtr lpOverlapped);

        // Token: 0x060002B2 RID: 690
        [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern IntPtr CreateFile(string lpFileName, int dwDesiredAccess, int dwShareMode, IntPtr lpSecurityAttributes, int dwCreationDisposition, int dwFlagsAndAttributes, IntPtr hTemplateFile);

        // Token: 0x060002B3 RID: 691
        [DllImport("kernel32.dll", CharSet = CharSet.Auto, SetLastError = true)]
        private static extern bool CloseHandle(IntPtr hObject);

        // Token: 0x060002B4 RID: 692 RVA: 0x000100C4 File Offset: 0x0000E2C4
        public static ReadOnlyCollection<USB.USBController> GetHostControllers()
        {
            List<USB.USBController> list = new List<USB.USBController>();
            Guid guid = new Guid("3abf6f2d-71c4-462a-8a92-1e6861e6af27");
            IntPtr deviceInfoSet = USB.SetupDiGetClassDevs(ref guid, 0, IntPtr.Zero, 18);
            if (deviceInfoSet.ToInt32() != -1)
            {
                IntPtr intPtr = Marshal.AllocHGlobal(2048);
                int num = 0;
                bool flag;
                do
                {
                    USB.USBController uSBController = new USB.USBController();
                    uSBController.ControllerIndex = num;
                    USB.SP_DEVICE_INTERFACE_DATA sP_DEVICE_INTERFACE_DATA = default(USB.SP_DEVICE_INTERFACE_DATA);
                    sP_DEVICE_INTERFACE_DATA.cbSize = Marshal.SizeOf(sP_DEVICE_INTERFACE_DATA);
                    flag = USB.SetupDiEnumDeviceInterfaces(deviceInfoSet, IntPtr.Zero, ref guid, num, ref sP_DEVICE_INTERFACE_DATA);
                    if (flag)
                    {
                        USB.SP_DEVINFO_DATA sP_DEVINFO_DATA = default(USB.SP_DEVINFO_DATA);
                        sP_DEVINFO_DATA.cbSize = Marshal.SizeOf(sP_DEVINFO_DATA);
                        USB.SP_DEVICE_INTERFACE_DETAIL_DATA sP_DEVICE_INTERFACE_DETAIL_DATA = default(USB.SP_DEVICE_INTERFACE_DETAIL_DATA);
                        sP_DEVICE_INTERFACE_DETAIL_DATA.cbSize = ((IntPtr.Size == 4) ? (4 + Marshal.SystemDefaultCharSize) : 8);
                        int num2 = 0;
                        int deviceInterfaceDetailDataSize = 2048;
                        if (USB.SetupDiGetDeviceInterfaceDetail(deviceInfoSet, ref sP_DEVICE_INTERFACE_DATA, ref sP_DEVICE_INTERFACE_DETAIL_DATA, deviceInterfaceDetailDataSize, ref num2, ref sP_DEVINFO_DATA))
                        {
                            uSBController.ControllerDevicePath = sP_DEVICE_INTERFACE_DETAIL_DATA.DevicePath;
                            int num3 = 0;
                            int num4 = 1;
                            if (USB.SetupDiGetDeviceRegistryProperty(deviceInfoSet, ref sP_DEVINFO_DATA, 0, ref num4, intPtr, 2048, ref num3))
                            {
                                uSBController.ControllerDeviceDesc = Marshal.PtrToStringAuto(intPtr);
                            }
                            if (USB.SetupDiGetDeviceRegistryProperty(deviceInfoSet, ref sP_DEVINFO_DATA, 9, ref num4, intPtr, 2048, ref num3))
                            {
                                uSBController.ControllerDriverKeyName = Marshal.PtrToStringAuto(intPtr);
                            }
                        }
                        list.Add(uSBController);
                    }
                    num++;
                }
                while (flag);
                Marshal.FreeHGlobal(intPtr);
                USB.SetupDiDestroyDeviceInfoList(deviceInfoSet);
            }
            return new ReadOnlyCollection<USB.USBController>(list);
        }

        // Token: 0x060002B5 RID: 693 RVA: 0x00010234 File Offset: 0x0000E434
        private static string GetDescriptionByKeyName(string DriverKeyName)
        {
            string result = "";
            string enumerator = "USB";
            IntPtr deviceInfoSet = USB.SetupDiGetClassDevs(0, enumerator, IntPtr.Zero, 6);
            if (deviceInfoSet.ToInt32() != -1)
            {
                IntPtr intPtr = Marshal.AllocHGlobal(2048);
                int num = 0;
                USB.SP_DEVINFO_DATA sP_DEVINFO_DATA;
                int num2;
                int num3;
                while (true)
                {
                    sP_DEVINFO_DATA = default(USB.SP_DEVINFO_DATA);
                    sP_DEVINFO_DATA.cbSize = Marshal.SizeOf(sP_DEVINFO_DATA);
                    bool flag = USB.SetupDiEnumDeviceInfo(deviceInfoSet, num, ref sP_DEVINFO_DATA);
                    if (flag)
                    {
                        num2 = 0;
                        num3 = 1;
                        string a = "";
                        if (USB.SetupDiGetDeviceRegistryProperty(deviceInfoSet, ref sP_DEVINFO_DATA, 9, ref num3, intPtr, 2048, ref num2))
                        {
                            a = Marshal.PtrToStringAuto(intPtr);
                        }
                        if (a == DriverKeyName)
                        {
                            break;
                        }
                    }
                    num++;
                    if (!flag)
                    {
                        goto IL_C0;
                    }
                }
                if (USB.SetupDiGetDeviceRegistryProperty(deviceInfoSet, ref sP_DEVINFO_DATA, 0, ref num3, intPtr, 2048, ref num2))
                {
                    result = Marshal.PtrToStringAuto(intPtr);
                }
                IL_C0:
                Marshal.FreeHGlobal(intPtr);
                USB.SetupDiDestroyDeviceInfoList(deviceInfoSet);
            }
            return result;
        }

        // Token: 0x060002B6 RID: 694 RVA: 0x00010310 File Offset: 0x0000E510
        private static string GetInstanceIDByKeyName(string DriverKeyName)
        {
            string result = "";
            string enumerator = "USB";
            IntPtr deviceInfoSet = USB.SetupDiGetClassDevs(0, enumerator, IntPtr.Zero, 6);
            if (deviceInfoSet.ToInt32() != -1)
            {
                IntPtr intPtr = Marshal.AllocHGlobal(2048);
                int num = 0;
                USB.SP_DEVINFO_DATA sP_DEVINFO_DATA;
                int num2;
                while (true)
                {
                    sP_DEVINFO_DATA = default(USB.SP_DEVINFO_DATA);
                    sP_DEVINFO_DATA.cbSize = Marshal.SizeOf(sP_DEVINFO_DATA);
                    bool flag = USB.SetupDiEnumDeviceInfo(deviceInfoSet, num, ref sP_DEVINFO_DATA);
                    if (flag)
                    {
                        num2 = 0;
                        int num3 = 1;
                        string a = "";
                        if (USB.SetupDiGetDeviceRegistryProperty(deviceInfoSet, ref sP_DEVINFO_DATA, 9, ref num3, intPtr, 2048, ref num2))
                        {
                            a = Marshal.PtrToStringAuto(intPtr);
                        }
                        if (a == DriverKeyName)
                        {
                            break;
                        }
                    }
                    num++;
                    if (!flag)
                    {
                        goto IL_CB;
                    }
                }
                int num4 = 2048;
                StringBuilder stringBuilder = new StringBuilder(num4);
                USB.SetupDiGetDeviceInstanceId(deviceInfoSet, ref sP_DEVINFO_DATA, stringBuilder, num4, out num2);
                result = stringBuilder.ToString();
                IL_CB:
                Marshal.FreeHGlobal(intPtr);
                USB.SetupDiDestroyDeviceInfoList(deviceInfoSet);
            }
            return result;
        }

        // Token: 0x040000FB RID: 251
        private const int IOCTL_STORAGE_GET_DEVICE_NUMBER = 2953344;

        // Token: 0x040000FC RID: 252
        private const string GUID_DEVINTERFACE_DISK = "53f56307-b6bf-11d0-94f2-00a0c91efb8b";

        // Token: 0x040000FD RID: 253
        private const int GENERIC_WRITE = 1073741824;

        // Token: 0x040000FE RID: 254
        private const int FILE_SHARE_READ = 1;

        // Token: 0x040000FF RID: 255
        private const int FILE_SHARE_WRITE = 2;

        // Token: 0x04000100 RID: 256
        private const int OPEN_EXISTING = 3;

        // Token: 0x04000101 RID: 257
        private const int INVALID_HANDLE_VALUE = -1;

        // Token: 0x04000102 RID: 258
        private const int IOCTL_GET_HCD_DRIVERKEY_NAME = 2229284;

        // Token: 0x04000103 RID: 259
        private const int IOCTL_USB_GET_ROOT_HUB_NAME = 2229256;

        // Token: 0x04000104 RID: 260
        private const int IOCTL_USB_GET_NODE_INFORMATION = 2229256;

        // Token: 0x04000105 RID: 261
        private const int IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX = 2229320;

        // Token: 0x04000106 RID: 262
        private const int IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION = 2229264;

        // Token: 0x04000107 RID: 263
        private const int IOCTL_USB_GET_NODE_CONNECTION_NAME = 2229268;

        // Token: 0x04000108 RID: 264
        private const int IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME = 2229280;

        // Token: 0x04000109 RID: 265
        private const int USB_DEVICE_DESCRIPTOR_TYPE = 1;

        // Token: 0x0400010A RID: 266
        private const int USB_STRING_DESCRIPTOR_TYPE = 3;

        // Token: 0x0400010B RID: 267
        private const int BUFFER_SIZE = 2048;

        // Token: 0x0400010C RID: 268
        private const int MAXIMUM_USB_STRING_LENGTH = 255;

        // Token: 0x0400010D RID: 269
        private const string GUID_DEVINTERFACE_HUBCONTROLLER = "3abf6f2d-71c4-462a-8a92-1e6861e6af27";

        // Token: 0x0400010E RID: 270
        private const string REGSTR_KEY_USB = "USB";

        // Token: 0x0400010F RID: 271
        private const int DIGCF_PRESENT = 2;

        // Token: 0x04000110 RID: 272
        private const int DIGCF_ALLCLASSES = 4;

        // Token: 0x04000111 RID: 273
        private const int DIGCF_DEVICEINTERFACE = 16;

        // Token: 0x04000112 RID: 274
        private const int SPDRP_DRIVER = 9;

        // Token: 0x04000113 RID: 275
        private const int SPDRP_DEVICEDESC = 0;

        // Token: 0x04000114 RID: 276
        private const int REG_SZ = 1;

        // Token: 0x0200002A RID: 42
        private struct STORAGE_DEVICE_NUMBER
        {
            // Token: 0x04000115 RID: 277
            public int DeviceType;

            // Token: 0x04000116 RID: 278
            public int DeviceNumber;

            // Token: 0x04000117 RID: 279
            public int PartitionNumber;
        }

        // Token: 0x0200002B RID: 43
        private enum USB_HUB_NODE
        {
            // Token: 0x04000119 RID: 281
            UsbHub,
            // Token: 0x0400011A RID: 282
            UsbMIParent
        }

        // Token: 0x0200002C RID: 44
        private enum USB_CONNECTION_STATUS
        {
            // Token: 0x0400011C RID: 284
            NoDeviceConnected,
            // Token: 0x0400011D RID: 285
            DeviceConnected,
            // Token: 0x0400011E RID: 286
            DeviceFailedEnumeration,
            // Token: 0x0400011F RID: 287
            DeviceGeneralFailure,
            // Token: 0x04000120 RID: 288
            DeviceCausedOvercurrent,
            // Token: 0x04000121 RID: 289
            DeviceNotEnoughPower,
            // Token: 0x04000122 RID: 290
            DeviceNotEnoughBandwidth,
            // Token: 0x04000123 RID: 291
            DeviceHubNestedTooDeeply,
            // Token: 0x04000124 RID: 292
            DeviceInLegacyHub
        }

        // Token: 0x0200002D RID: 45
        private enum USB_DEVICE_SPEED : byte
        {
            // Token: 0x04000126 RID: 294
            UsbLowSpeed,
            // Token: 0x04000127 RID: 295
            UsbFullSpeed,
            // Token: 0x04000128 RID: 296
            UsbHighSpeed
        }

        // Token: 0x0200002E RID: 46
        private struct SP_DEVINFO_DATA
        {
            // Token: 0x04000129 RID: 297
            public int cbSize;

            // Token: 0x0400012A RID: 298
            public Guid ClassGuid;

            // Token: 0x0400012B RID: 299
            public int DevInst;

            // Token: 0x0400012C RID: 300
            public IntPtr Reserved;
        }

        // Token: 0x0200002F RID: 47
        private struct SP_DEVICE_INTERFACE_DATA
        {
            // Token: 0x0400012D RID: 301
            public int cbSize;

            // Token: 0x0400012E RID: 302
            public Guid InterfaceClassGuid;

            // Token: 0x0400012F RID: 303
            public int Flags;

            // Token: 0x04000130 RID: 304
            public IntPtr Reserved;
        }

        // Token: 0x02000030 RID: 48
        [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
        private struct SP_DEVICE_INTERFACE_DETAIL_DATA
        {
            // Token: 0x04000131 RID: 305
            public int cbSize;

            // Token: 0x04000132 RID: 306
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2048)]
            public string DevicePath;
        }

        // Token: 0x02000031 RID: 49
        [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
        private struct USB_HCD_DRIVERKEY_NAME
        {
            // Token: 0x04000133 RID: 307
            public int ActualLength;

            // Token: 0x04000134 RID: 308
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2048)]
            public string DriverKeyName;
        }

        // Token: 0x02000032 RID: 50
        [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
        private struct USB_ROOT_HUB_NAME
        {
            // Token: 0x04000135 RID: 309
            public int ActualLength;

            // Token: 0x04000136 RID: 310
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2048)]
            public string RootHubName;
        }

        // Token: 0x02000033 RID: 51
        [StructLayout(LayoutKind.Sequential, Pack = 1)]
        private struct USB_HUB_DESCRIPTOR
        {
            // Token: 0x04000137 RID: 311
            public byte bDescriptorLength;

            // Token: 0x04000138 RID: 312
            public byte bDescriptorType;

            // Token: 0x04000139 RID: 313
            public byte bNumberOfPorts;

            // Token: 0x0400013A RID: 314
            public short wHubCharacteristics;

            // Token: 0x0400013B RID: 315
            public byte bPowerOnToPowerGood;

            // Token: 0x0400013C RID: 316
            public byte bHubControlCurrent;

            // Token: 0x0400013D RID: 317
            [MarshalAs(UnmanagedType.ByValArray, SizeConst = 64)]
            public byte[] bRemoveAndPowerMask;
        }

        // Token: 0x02000034 RID: 52
        private struct USB_HUB_INFORMATION
        {
            // Token: 0x0400013E RID: 318
            public USB.USB_HUB_DESCRIPTOR HubDescriptor;

            // Token: 0x0400013F RID: 319
            public byte HubIsBusPowered;
        }

        // Token: 0x02000035 RID: 53
        private struct USB_NODE_INFORMATION
        {
            // Token: 0x04000140 RID: 320
            public int NodeType;

            // Token: 0x04000141 RID: 321
            public USB.USB_HUB_INFORMATION HubInformation;
        }

        // Token: 0x02000036 RID: 54
        [StructLayout(LayoutKind.Sequential, Pack = 1)]
        private struct USB_NODE_CONNECTION_INFORMATION_EX
        {
            // Token: 0x04000142 RID: 322
            public int ConnectionIndex;

            // Token: 0x04000143 RID: 323
            public USB.USB_DEVICE_DESCRIPTOR DeviceDescriptor;

            // Token: 0x04000144 RID: 324
            public byte CurrentConfigurationValue;

            // Token: 0x04000145 RID: 325
            public byte Speed;

            // Token: 0x04000146 RID: 326
            public byte DeviceIsHub;

            // Token: 0x04000147 RID: 327
            public short DeviceAddress;

            // Token: 0x04000148 RID: 328
            public int NumberOfOpenPipes;

            // Token: 0x04000149 RID: 329
            public int ConnectionStatus;
        }

        // Token: 0x02000037 RID: 55
        [StructLayout(LayoutKind.Sequential, Pack = 1)]
        internal struct USB_DEVICE_DESCRIPTOR
        {
            // Token: 0x0400014A RID: 330
            public byte bLength;

            // Token: 0x0400014B RID: 331
            public byte bDescriptorType;

            // Token: 0x0400014C RID: 332
            public short bcdUSB;

            // Token: 0x0400014D RID: 333
            public byte bDeviceClass;

            // Token: 0x0400014E RID: 334
            public byte bDeviceSubClass;

            // Token: 0x0400014F RID: 335
            public byte bDeviceProtocol;

            // Token: 0x04000150 RID: 336
            public byte bMaxPacketSize0;

            // Token: 0x04000151 RID: 337
            public short idVendor;

            // Token: 0x04000152 RID: 338
            public short idProduct;

            // Token: 0x04000153 RID: 339
            public short bcdDevice;

            // Token: 0x04000154 RID: 340
            public byte iManufacturer;

            // Token: 0x04000155 RID: 341
            public byte iProduct;

            // Token: 0x04000156 RID: 342
            public byte iSerialNumber;

            // Token: 0x04000157 RID: 343
            public byte bNumConfigurations;
        }

        // Token: 0x02000038 RID: 56
        [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
        private struct USB_STRING_DESCRIPTOR
        {
            // Token: 0x04000158 RID: 344
            public byte bLength;

            // Token: 0x04000159 RID: 345
            public byte bDescriptorType;

            // Token: 0x0400015A RID: 346
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]
            public string bString;
        }

        // Token: 0x02000039 RID: 57
        private struct USB_SETUP_PACKET
        {
            // Token: 0x0400015B RID: 347
            public byte bmRequest;

            // Token: 0x0400015C RID: 348
            public byte bRequest;

            // Token: 0x0400015D RID: 349
            public short wValue;

            // Token: 0x0400015E RID: 350
            public short wIndex;

            // Token: 0x0400015F RID: 351
            public short wLength;
        }

        // Token: 0x0200003A RID: 58
        private struct USB_DESCRIPTOR_REQUEST
        {
            // Token: 0x04000160 RID: 352
            public int ConnectionIndex;

            // Token: 0x04000161 RID: 353
            public USB.USB_SETUP_PACKET SetupPacket;
        }

        // Token: 0x0200003B RID: 59
        [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
        private struct USB_NODE_CONNECTION_NAME
        {
            // Token: 0x04000162 RID: 354
            public int ConnectionIndex;

            // Token: 0x04000163 RID: 355
            public int ActualLength;

            // Token: 0x04000164 RID: 356
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2048)]
            public string NodeName;
        }

        // Token: 0x0200003C RID: 60
        [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
        private struct USB_NODE_CONNECTION_DRIVERKEY_NAME
        {
            // Token: 0x04000165 RID: 357
            public int ConnectionIndex;

            // Token: 0x04000166 RID: 358
            public int ActualLength;

            // Token: 0x04000167 RID: 359
            [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 2048)]
            public string DriverKeyName;
        }

        // Token: 0x0200003D RID: 61
        public class USBController
        {
            // Token: 0x060002B8 RID: 696 RVA: 0x000103FE File Offset: 0x0000E5FE
            public USBController()
            {
                this.ControllerIndex = 0;
                this.ControllerDevicePath = "";
                this.ControllerDeviceDesc = "";
                this.ControllerDriverKeyName = "";
            }

            // Token: 0x1700015D RID: 349
            // (get) Token: 0x060002B9 RID: 697 RVA: 0x0001042E File Offset: 0x0000E62E
            public int Index
            {
                get
                {
                    return this.ControllerIndex;
                }
            }

            // Token: 0x1700015E RID: 350
            // (get) Token: 0x060002BA RID: 698 RVA: 0x00010436 File Offset: 0x0000E636
            public string DevicePath
            {
                get
                {
                    return this.ControllerDevicePath;
                }
            }

            // Token: 0x1700015F RID: 351
            // (get) Token: 0x060002BB RID: 699 RVA: 0x0001043E File Offset: 0x0000E63E
            public string DriverKeyName
            {
                get
                {
                    return this.ControllerDriverKeyName;
                }
            }

            // Token: 0x17000160 RID: 352
            // (get) Token: 0x060002BC RID: 700 RVA: 0x00010446 File Offset: 0x0000E646
            public string Name
            {
                get
                {
                    return this.ControllerDeviceDesc;
                }
            }

            // Token: 0x060002BD RID: 701 RVA: 0x00010450 File Offset: 0x0000E650
            public USB.USBHub GetRootHub()
            {
                USB.USBHub uSBHub = new USB.USBHub();
                uSBHub.HubIsRootHub = true;
                uSBHub.HubDeviceDesc = "Root Hub";
                IntPtr intPtr = USB.CreateFile(this.ControllerDevicePath, 1073741824, 2, IntPtr.Zero, 3, 0, IntPtr.Zero);
                if (intPtr.ToInt32() != -1)
                {
                    int num = Marshal.SizeOf(default(USB.USB_ROOT_HUB_NAME));
                    IntPtr intPtr2 = Marshal.AllocHGlobal(num);
                    int num2;
                    if (USB.DeviceIoControl(intPtr, 2229256, intPtr2, num, intPtr2, num, out num2, IntPtr.Zero))
                    {
                        uSBHub.HubDevicePath = "\\\\.\\" + ((USB.USB_ROOT_HUB_NAME)Marshal.PtrToStructure(intPtr2, typeof(USB.USB_ROOT_HUB_NAME))).RootHubName;
                    }
                    IntPtr intPtr3 = USB.CreateFile(uSBHub.HubDevicePath, 1073741824, 2, IntPtr.Zero, 3, 0, IntPtr.Zero);
                    if (intPtr3.ToInt32() != -1)
                    {
                        USB.USB_NODE_INFORMATION uSB_NODE_INFORMATION = default(USB.USB_NODE_INFORMATION);
                        uSB_NODE_INFORMATION.NodeType = 0;
                        num = Marshal.SizeOf(uSB_NODE_INFORMATION);
                        IntPtr intPtr4 = Marshal.AllocHGlobal(num);
                        Marshal.StructureToPtr(uSB_NODE_INFORMATION, intPtr4, true);
                        if (USB.DeviceIoControl(intPtr3, 2229256, intPtr4, num, intPtr4, num, out num2, IntPtr.Zero))
                        {
                            uSB_NODE_INFORMATION = (USB.USB_NODE_INFORMATION)Marshal.PtrToStructure(intPtr4, typeof(USB.USB_NODE_INFORMATION));
                            uSBHub.HubIsBusPowered = Convert.ToBoolean(uSB_NODE_INFORMATION.HubInformation.HubIsBusPowered);
                            uSBHub.HubPortCount = (int)uSB_NODE_INFORMATION.HubInformation.HubDescriptor.bNumberOfPorts;
                        }
                        Marshal.FreeHGlobal(intPtr4);
                        USB.CloseHandle(intPtr3);
                    }
                    Marshal.FreeHGlobal(intPtr2);
                    USB.CloseHandle(intPtr);
                }
                return uSBHub;
            }

            // Token: 0x04000168 RID: 360
            internal int ControllerIndex;

            // Token: 0x04000169 RID: 361
            internal string ControllerDriverKeyName;

            // Token: 0x0400016A RID: 362
            internal string ControllerDevicePath;

            // Token: 0x0400016B RID: 363
            internal string ControllerDeviceDesc;
        }

        // Token: 0x0200003E RID: 62
        public class USBHub
        {
            // Token: 0x060002BE RID: 702 RVA: 0x000105EC File Offset: 0x0000E7EC
            public USBHub()
            {
                this.HubPortCount = 0;
                this.HubDevicePath = "";
                this.HubDeviceDesc = "";
                this.HubDriverKey = "";
                this.HubIsBusPowered = false;
                this.HubIsRootHub = false;
                this.HubManufacturer = "";
                this.HubProduct = "";
                this.HubSerialNumber = "";
                this.HubInstanceID = "";
            }

            // Token: 0x17000161 RID: 353
            // (get) Token: 0x060002BF RID: 703 RVA: 0x00010661 File Offset: 0x0000E861
            public int PortCount
            {
                get
                {
                    return this.HubPortCount;
                }
            }

            // Token: 0x17000162 RID: 354
            // (get) Token: 0x060002C0 RID: 704 RVA: 0x00010669 File Offset: 0x0000E869
            public string DevicePath
            {
                get
                {
                    return this.HubDevicePath;
                }
            }

            // Token: 0x17000163 RID: 355
            // (get) Token: 0x060002C1 RID: 705 RVA: 0x00010671 File Offset: 0x0000E871
            public string DriverKey
            {
                get
                {
                    return this.HubDriverKey;
                }
            }

            // Token: 0x17000164 RID: 356
            // (get) Token: 0x060002C2 RID: 706 RVA: 0x00010679 File Offset: 0x0000E879
            public string Name
            {
                get
                {
                    return this.HubDeviceDesc;
                }
            }

            // Token: 0x17000165 RID: 357
            // (get) Token: 0x060002C3 RID: 707 RVA: 0x00010681 File Offset: 0x0000E881
            public string InstanceID
            {
                get
                {
                    return this.HubInstanceID;
                }
            }

            // Token: 0x17000166 RID: 358
            // (get) Token: 0x060002C4 RID: 708 RVA: 0x00010689 File Offset: 0x0000E889
            public bool IsBusPowered
            {
                get
                {
                    return this.HubIsBusPowered;
                }
            }

            // Token: 0x17000167 RID: 359
            // (get) Token: 0x060002C5 RID: 709 RVA: 0x00010691 File Offset: 0x0000E891
            public bool IsRootHub
            {
                get
                {
                    return this.HubIsRootHub;
                }
            }

            // Token: 0x17000168 RID: 360
            // (get) Token: 0x060002C6 RID: 710 RVA: 0x00010699 File Offset: 0x0000E899
            public string Manufacturer
            {
                get
                {
                    return this.HubManufacturer;
                }
            }

            // Token: 0x17000169 RID: 361
            // (get) Token: 0x060002C7 RID: 711 RVA: 0x000106A1 File Offset: 0x0000E8A1
            public string Product
            {
                get
                {
                    return this.HubProduct;
                }
            }

            // Token: 0x1700016A RID: 362
            // (get) Token: 0x060002C8 RID: 712 RVA: 0x000106A9 File Offset: 0x0000E8A9
            public string SerialNumber
            {
                get
                {
                    return this.HubSerialNumber;
                }
            }

            // Token: 0x060002C9 RID: 713 RVA: 0x000106B4 File Offset: 0x0000E8B4
            public ReadOnlyCollection<USB.USBPort> GetPorts()
            {
                List<USB.USBPort> list = new List<USB.USBPort>();
                IntPtr intPtr = USB.CreateFile(this.HubDevicePath, 1073741824, 2, IntPtr.Zero, 3, 0, IntPtr.Zero);
                if (intPtr.ToInt32() != -1)
                {
                    int num = Marshal.SizeOf(typeof(USB.USB_NODE_CONNECTION_INFORMATION_EX));
                    IntPtr intPtr2 = Marshal.AllocHGlobal(num);
                    for (int i = 1; i <= this.HubPortCount; i++)
                    {
                        Marshal.StructureToPtr(new USB.USB_NODE_CONNECTION_INFORMATION_EX
                        {
                            ConnectionIndex = i
                        }, intPtr2, true);
                        int num2;
                        if (USB.DeviceIoControl(intPtr, 2229320, intPtr2, num, intPtr2, num, out num2, IntPtr.Zero))
                        {
                            USB.USB_NODE_CONNECTION_INFORMATION_EX uSB_NODE_CONNECTION_INFORMATION_EX = (USB.USB_NODE_CONNECTION_INFORMATION_EX)Marshal.PtrToStructure(intPtr2, typeof(USB.USB_NODE_CONNECTION_INFORMATION_EX));
                            USB.USBPort uSBPort = new USB.USBPort();
                            uSBPort.PortPortNumber = i;
                            uSBPort.PortHubDevicePath = this.HubDevicePath;
                            USB.USB_CONNECTION_STATUS connectionStatus = (USB.USB_CONNECTION_STATUS)uSB_NODE_CONNECTION_INFORMATION_EX.ConnectionStatus;
                            uSBPort.PortStatus = connectionStatus.ToString();
                            USB.USB_DEVICE_SPEED speed = (USB.USB_DEVICE_SPEED)uSB_NODE_CONNECTION_INFORMATION_EX.Speed;
                            uSBPort.PortSpeed = speed.ToString();
                            uSBPort.PortIsDeviceConnected = (uSB_NODE_CONNECTION_INFORMATION_EX.ConnectionStatus == 1);
                            uSBPort.PortIsHub = Convert.ToBoolean(uSB_NODE_CONNECTION_INFORMATION_EX.DeviceIsHub);
                            uSBPort.PortDeviceDescriptor = uSB_NODE_CONNECTION_INFORMATION_EX.DeviceDescriptor;
                            list.Add(uSBPort);
                        }
                    }
                    Marshal.FreeHGlobal(intPtr2);
                    USB.CloseHandle(intPtr);
                }
                return new ReadOnlyCollection<USB.USBPort>(list);
            }

            // Token: 0x0400016C RID: 364
            internal int HubPortCount;

            // Token: 0x0400016D RID: 365
            internal string HubDriverKey;

            // Token: 0x0400016E RID: 366
            internal string HubDevicePath;

            // Token: 0x0400016F RID: 367
            internal string HubDeviceDesc;

            // Token: 0x04000170 RID: 368
            internal string HubManufacturer;

            // Token: 0x04000171 RID: 369
            internal string HubProduct;

            // Token: 0x04000172 RID: 370
            internal string HubSerialNumber;

            // Token: 0x04000173 RID: 371
            internal string HubInstanceID;

            // Token: 0x04000174 RID: 372
            internal bool HubIsBusPowered;

            // Token: 0x04000175 RID: 373
            internal bool HubIsRootHub;
        }

        // Token: 0x0200003F RID: 63
        public class USBPort
        {
            // Token: 0x060002CA RID: 714 RVA: 0x00010817 File Offset: 0x0000EA17
            public USBPort()
            {
                this.PortPortNumber = 0;
                this.PortStatus = "";
                this.PortHubDevicePath = "";
                this.PortSpeed = "";
                this.PortIsHub = false;
                this.PortIsDeviceConnected = false;
            }

            // Token: 0x1700016B RID: 363
            // (get) Token: 0x060002CB RID: 715 RVA: 0x00010855 File Offset: 0x0000EA55
            public int PortNumber
            {
                get
                {
                    return this.PortPortNumber;
                }
            }

            // Token: 0x1700016C RID: 364
            // (get) Token: 0x060002CC RID: 716 RVA: 0x0001085D File Offset: 0x0000EA5D
            public string HubDevicePath
            {
                get
                {
                    return this.PortHubDevicePath;
                }
            }

            // Token: 0x1700016D RID: 365
            // (get) Token: 0x060002CD RID: 717 RVA: 0x00010865 File Offset: 0x0000EA65
            public string Status
            {
                get
                {
                    return this.PortStatus;
                }
            }

            // Token: 0x1700016E RID: 366
            // (get) Token: 0x060002CE RID: 718 RVA: 0x0001086D File Offset: 0x0000EA6D
            public string Speed
            {
                get
                {
                    return this.PortSpeed;
                }
            }

            // Token: 0x1700016F RID: 367
            // (get) Token: 0x060002CF RID: 719 RVA: 0x00010875 File Offset: 0x0000EA75
            public bool IsHub
            {
                get
                {
                    return this.PortIsHub;
                }
            }

            // Token: 0x17000170 RID: 368
            // (get) Token: 0x060002D0 RID: 720 RVA: 0x0001087D File Offset: 0x0000EA7D
            public bool IsDeviceConnected
            {
                get
                {
                    return this.PortIsDeviceConnected;
                }
            }

            // Token: 0x060002D1 RID: 721 RVA: 0x00010888 File Offset: 0x0000EA88
            public USB.USBDevice GetDevice()
            {
                if (!this.PortIsDeviceConnected)
                {
                    return null;
                }
                USB.USBDevice uSBDevice = new USB.USBDevice();
                uSBDevice.DevicePortNumber = this.PortPortNumber;
                uSBDevice.DeviceHubDevicePath = this.PortHubDevicePath;
                uSBDevice.DeviceDescriptor = this.PortDeviceDescriptor;
                IntPtr intPtr = USB.CreateFile(this.PortHubDevicePath, 1073741824, 2, IntPtr.Zero, 3, 0, IntPtr.Zero);
                if (intPtr.ToInt32() != -1)
                {
                    int num = 2048;
                    string s = new string('\0', 2048 / Marshal.SystemDefaultCharSize);
                    int num2;
                    if (this.PortDeviceDescriptor.iManufacturer > 0)
                    {
                        USB.USB_DESCRIPTOR_REQUEST uSB_DESCRIPTOR_REQUEST = default(USB.USB_DESCRIPTOR_REQUEST);
                        uSB_DESCRIPTOR_REQUEST.ConnectionIndex = this.PortPortNumber;
                        uSB_DESCRIPTOR_REQUEST.SetupPacket.wValue = (short)(768 + (int)this.PortDeviceDescriptor.iManufacturer);
                        uSB_DESCRIPTOR_REQUEST.SetupPacket.wLength = (short)(num - Marshal.SizeOf(uSB_DESCRIPTOR_REQUEST));
                        uSB_DESCRIPTOR_REQUEST.SetupPacket.wIndex = 1033;
                        IntPtr intPtr2 = Marshal.StringToHGlobalAuto(s);
                        Marshal.StructureToPtr(uSB_DESCRIPTOR_REQUEST, intPtr2, true);
                        if (USB.DeviceIoControl(intPtr, 2229264, intPtr2, num, intPtr2, num, out num2, IntPtr.Zero))
                        {
                            IntPtr ptr = new IntPtr(intPtr2.ToInt32() + Marshal.SizeOf(uSB_DESCRIPTOR_REQUEST));
                            uSBDevice.DeviceManufacturer = ((USB.USB_STRING_DESCRIPTOR)Marshal.PtrToStructure(ptr, typeof(USB.USB_STRING_DESCRIPTOR))).bString;
                        }
                        Marshal.FreeHGlobal(intPtr2);
                    }
                    if (this.PortDeviceDescriptor.iProduct > 0)
                    {
                        USB.USB_DESCRIPTOR_REQUEST uSB_DESCRIPTOR_REQUEST2 = default(USB.USB_DESCRIPTOR_REQUEST);
                        uSB_DESCRIPTOR_REQUEST2.ConnectionIndex = this.PortPortNumber;
                        uSB_DESCRIPTOR_REQUEST2.SetupPacket.wValue = (short)(768 + (int)this.PortDeviceDescriptor.iProduct);
                        uSB_DESCRIPTOR_REQUEST2.SetupPacket.wLength = (short)(num - Marshal.SizeOf(uSB_DESCRIPTOR_REQUEST2));
                        uSB_DESCRIPTOR_REQUEST2.SetupPacket.wIndex = 1033;
                        IntPtr intPtr3 = Marshal.StringToHGlobalAuto(s);
                        Marshal.StructureToPtr(uSB_DESCRIPTOR_REQUEST2, intPtr3, true);
                        if (USB.DeviceIoControl(intPtr, 2229264, intPtr3, num, intPtr3, num, out num2, IntPtr.Zero))
                        {
                            IntPtr ptr2 = new IntPtr(intPtr3.ToInt32() + Marshal.SizeOf(uSB_DESCRIPTOR_REQUEST2));
                            uSBDevice.DeviceProduct = ((USB.USB_STRING_DESCRIPTOR)Marshal.PtrToStructure(ptr2, typeof(USB.USB_STRING_DESCRIPTOR))).bString;
                        }
                        Marshal.FreeHGlobal(intPtr3);
                    }
                    if (this.PortDeviceDescriptor.iSerialNumber > 0)
                    {
                        USB.USB_DESCRIPTOR_REQUEST uSB_DESCRIPTOR_REQUEST3 = default(USB.USB_DESCRIPTOR_REQUEST);
                        uSB_DESCRIPTOR_REQUEST3.ConnectionIndex = this.PortPortNumber;
                        uSB_DESCRIPTOR_REQUEST3.SetupPacket.wValue = (short)(768 + (int)this.PortDeviceDescriptor.iSerialNumber);
                        uSB_DESCRIPTOR_REQUEST3.SetupPacket.wLength = (short)(num - Marshal.SizeOf(uSB_DESCRIPTOR_REQUEST3));
                        uSB_DESCRIPTOR_REQUEST3.SetupPacket.wIndex = 1033;
                        IntPtr intPtr4 = Marshal.StringToHGlobalAuto(s);
                        Marshal.StructureToPtr(uSB_DESCRIPTOR_REQUEST3, intPtr4, true);
                        if (USB.DeviceIoControl(intPtr, 2229264, intPtr4, num, intPtr4, num, out num2, IntPtr.Zero))
                        {
                            IntPtr ptr3 = new IntPtr(intPtr4.ToInt32() + Marshal.SizeOf(uSB_DESCRIPTOR_REQUEST3));
                            uSBDevice.DeviceSerialNumber = ((USB.USB_STRING_DESCRIPTOR)Marshal.PtrToStructure(ptr3, typeof(USB.USB_STRING_DESCRIPTOR))).bString;
                        }
                        Marshal.FreeHGlobal(intPtr4);
                    }
                    USB.USB_NODE_CONNECTION_DRIVERKEY_NAME uSB_NODE_CONNECTION_DRIVERKEY_NAME = default(USB.USB_NODE_CONNECTION_DRIVERKEY_NAME);
                    uSB_NODE_CONNECTION_DRIVERKEY_NAME.ConnectionIndex = this.PortPortNumber;
                    num = Marshal.SizeOf(uSB_NODE_CONNECTION_DRIVERKEY_NAME);
                    IntPtr intPtr5 = Marshal.AllocHGlobal(num);
                    Marshal.StructureToPtr(uSB_NODE_CONNECTION_DRIVERKEY_NAME, intPtr5, true);
                    if (USB.DeviceIoControl(intPtr, 2229280, intPtr5, num, intPtr5, num, out num2, IntPtr.Zero))
                    {
                        uSBDevice.DeviceDriverKey = ((USB.USB_NODE_CONNECTION_DRIVERKEY_NAME)Marshal.PtrToStructure(intPtr5, typeof(USB.USB_NODE_CONNECTION_DRIVERKEY_NAME))).DriverKeyName;
                        uSBDevice.DeviceName = USB.GetDescriptionByKeyName(uSBDevice.DeviceDriverKey);
                        uSBDevice.DeviceInstanceID = USB.GetInstanceIDByKeyName(uSBDevice.DeviceDriverKey);
                    }
                    Marshal.FreeHGlobal(intPtr5);
                    USB.CloseHandle(intPtr);
                }
                return uSBDevice;
            }

            // Token: 0x060002D2 RID: 722 RVA: 0x00010C74 File Offset: 0x0000EE74
            public USB.USBHub GetHub()
            {
                if (!this.PortIsHub)
                {
                    return null;
                }
                USB.USBHub uSBHub = new USB.USBHub();
                uSBHub.HubIsRootHub = false;
                uSBHub.HubDeviceDesc = "External Hub";
                IntPtr intPtr = USB.CreateFile(this.PortHubDevicePath, 1073741824, 2, IntPtr.Zero, 3, 0, IntPtr.Zero);
                if (intPtr.ToInt32() != -1)
                {
                    USB.USB_NODE_CONNECTION_NAME uSB_NODE_CONNECTION_NAME = default(USB.USB_NODE_CONNECTION_NAME);
                    uSB_NODE_CONNECTION_NAME.ConnectionIndex = this.PortPortNumber;
                    int num = Marshal.SizeOf(uSB_NODE_CONNECTION_NAME);
                    IntPtr intPtr2 = Marshal.AllocHGlobal(num);
                    Marshal.StructureToPtr(uSB_NODE_CONNECTION_NAME, intPtr2, true);
                    int num2;
                    if (USB.DeviceIoControl(intPtr, 2229268, intPtr2, num, intPtr2, num, out num2, IntPtr.Zero))
                    {
                        uSBHub.HubDevicePath = "\\\\.\\" + ((USB.USB_NODE_CONNECTION_NAME)Marshal.PtrToStructure(intPtr2, typeof(USB.USB_NODE_CONNECTION_NAME))).NodeName;
                    }
                    IntPtr intPtr3 = USB.CreateFile(uSBHub.HubDevicePath, 1073741824, 2, IntPtr.Zero, 3, 0, IntPtr.Zero);
                    if (intPtr3.ToInt32() != -1)
                    {
                        USB.USB_NODE_INFORMATION uSB_NODE_INFORMATION = default(USB.USB_NODE_INFORMATION);
                        uSB_NODE_INFORMATION.NodeType = 0;
                        num = Marshal.SizeOf(uSB_NODE_INFORMATION);
                        IntPtr intPtr4 = Marshal.AllocHGlobal(num);
                        Marshal.StructureToPtr(uSB_NODE_INFORMATION, intPtr4, true);
                        if (USB.DeviceIoControl(intPtr3, 2229256, intPtr4, num, intPtr4, num, out num2, IntPtr.Zero))
                        {
                            uSB_NODE_INFORMATION = (USB.USB_NODE_INFORMATION)Marshal.PtrToStructure(intPtr4, typeof(USB.USB_NODE_INFORMATION));
                            uSBHub.HubIsBusPowered = Convert.ToBoolean(uSB_NODE_INFORMATION.HubInformation.HubIsBusPowered);
                            uSBHub.HubPortCount = (int)uSB_NODE_INFORMATION.HubInformation.HubDescriptor.bNumberOfPorts;
                        }
                        Marshal.FreeHGlobal(intPtr4);
                        USB.CloseHandle(intPtr3);
                    }
                    USB.USBDevice device = this.GetDevice();
                    uSBHub.HubInstanceID = device.DeviceInstanceID;
                    uSBHub.HubManufacturer = device.Manufacturer;
                    uSBHub.HubProduct = device.Product;
                    uSBHub.HubSerialNumber = device.SerialNumber;
                    uSBHub.HubDriverKey = device.DriverKey;
                    Marshal.FreeHGlobal(intPtr2);
                    USB.CloseHandle(intPtr);
                }
                return uSBHub;
            }

            // Token: 0x04000176 RID: 374
            internal int PortPortNumber;

            // Token: 0x04000177 RID: 375
            internal string PortStatus;

            // Token: 0x04000178 RID: 376
            internal string PortHubDevicePath;

            // Token: 0x04000179 RID: 377
            internal string PortSpeed;

            // Token: 0x0400017A RID: 378
            internal bool PortIsHub;

            // Token: 0x0400017B RID: 379
            internal bool PortIsDeviceConnected;

            // Token: 0x0400017C RID: 380
            internal USB.USB_DEVICE_DESCRIPTOR PortDeviceDescriptor;
        }

        // Token: 0x02000040 RID: 64
        public class USBDevice
        {
            // Token: 0x060002D3 RID: 723 RVA: 0x00010E80 File Offset: 0x0000F080
            public USBDevice()
            {
                this.DevicePortNumber = 0;
                this.DeviceHubDevicePath = "";
                this.DeviceDriverKey = "";
                this.DeviceManufacturer = "";
                this.DeviceProduct = "Unknown USB Device";
                this.DeviceSerialNumber = "";
                this.DeviceName = "";
                this.DeviceInstanceID = "";
            }

            // Token: 0x17000171 RID: 369
            // (get) Token: 0x060002D4 RID: 724 RVA: 0x00010EE7 File Offset: 0x0000F0E7
            public int PortNumber
            {
                get
                {
                    return this.DevicePortNumber;
                }
            }

            // Token: 0x17000172 RID: 370
            // (get) Token: 0x060002D5 RID: 725 RVA: 0x00010EEF File Offset: 0x0000F0EF
            public string HubDevicePath
            {
                get
                {
                    return this.DeviceHubDevicePath;
                }
            }

            // Token: 0x17000173 RID: 371
            // (get) Token: 0x060002D6 RID: 726 RVA: 0x00010EF7 File Offset: 0x0000F0F7
            public string DriverKey
            {
                get
                {
                    return this.DeviceDriverKey;
                }
            }

            // Token: 0x17000174 RID: 372
            // (get) Token: 0x060002D7 RID: 727 RVA: 0x00010EFF File Offset: 0x0000F0FF
            public string InstanceID
            {
                get
                {
                    return this.DeviceInstanceID;
                }
            }

            // Token: 0x17000175 RID: 373
            // (get) Token: 0x060002D8 RID: 728 RVA: 0x00010F07 File Offset: 0x0000F107
            public string Name
            {
                get
                {
                    return this.DeviceName;
                }
            }

            // Token: 0x17000176 RID: 374
            // (get) Token: 0x060002D9 RID: 729 RVA: 0x00010F0F File Offset: 0x0000F10F
            public string Manufacturer
            {
                get
                {
                    return this.DeviceManufacturer;
                }
            }

            // Token: 0x17000177 RID: 375
            // (get) Token: 0x060002DA RID: 730 RVA: 0x00010F17 File Offset: 0x0000F117
            public string Product
            {
                get
                {
                    return this.DeviceProduct;
                }
            }

            // Token: 0x17000178 RID: 376
            // (get) Token: 0x060002DB RID: 731 RVA: 0x00010F1F File Offset: 0x0000F11F
            public string SerialNumber
            {
                get
                {
                    return this.DeviceSerialNumber;
                }
            }

            // Token: 0x0400017D RID: 381
            internal int DevicePortNumber;

            // Token: 0x0400017E RID: 382
            internal string DeviceDriverKey;

            // Token: 0x0400017F RID: 383
            internal string DeviceHubDevicePath;

            // Token: 0x04000180 RID: 384
            internal string DeviceInstanceID;

            // Token: 0x04000181 RID: 385
            internal string DeviceName;

            // Token: 0x04000182 RID: 386
            internal string DeviceManufacturer;

            // Token: 0x04000183 RID: 387
            internal string DeviceProduct;

            // Token: 0x04000184 RID: 388
            internal string DeviceSerialNumber;

            // Token: 0x04000185 RID: 389
            internal USB.USB_DEVICE_DESCRIPTOR DeviceDescriptor;
        }
    }
}
Also from @HydrogenNGU:
  • PS4 Save Editor has been cracked by a ton of people lol.. it doesn't have obfuscation nor packets to cover it up.. basically it's a free tool for anyone, but good luck reading the language lol. Unless someone could make a tutorial for the US users.
  • The tool brings FFXV so have fun with it. Also, don't know if you could run US Region Gamesaves on the Asia one. I'll try to though.
Hydrogen's Translate: "Thank you very much for your continued patronage of our products.

When applying the save editor's patch code, it may take a long time depending on the save data size and server congestion situation.

Since "Save Final Fantasy XV" etc. have saved data size of 600 MB or more, it may take 2 to 30 minutes to apply the patch cord even under circumstances where it is not congested. Because the file size of PS4 game save data tends to be bigger than 3DS and PS3 save data, it would be greatly appreciated if you can understand in advance."

And from @XenonLegend (YouTube Channel):
  • Easy just decompile with anything, it didn't have any obfuscation or packing whatsoever
  • I also removed the annoying enter serial thingy from the executable, don't know if he included that in his source.
Here's some useless things I've found so far:
Finally, from Pastebin.com via Hydrogen comes a rough translation from the PS4 Save Editor Tool PS4SESetup.zip file:
Code:
Dear Customer,

Thank you for purchasing the CYBER save editor (for PS 4) (hereinafter referred to as "this product"). Below, those who use this product are called "customers", and cyber gadget Co., Ltd. is called "our company".
In order to use this product, the serial number stated in the setup guide of this product is necessary. (If you are purchasing a download sales version, a text file with a serial number is required.)
Before installing this product, be sure to read the terms of the license agreement (hereinafter referred to as "this agreement clause") on the following license agreement.
When the customer checks "I agree with the license agreement" and clicks the "next" button, a license agreement for this product is established between us and the customer according to this contract provision I shall assume.
If you do not agree with the terms of this agreement, please contact our user support without checking "I accept the terms in the license agreement". In this case, we will refund the purchase price of this product in exchange for this product and the receipt at the time of purchase. However, please note that this measure is limited to within 30 days after purchase (from the date of receipt) and refund can not be accepted after the deadline.
In addition, if you have any questions, please contact our user support below.
<Http://www.cybergadget.co.jp/contact/inquiry.html>

License Agreement Clause

Article 1 (Account registration)
License (hereinafter referred to as "license") of this product is managed by serial number. You need to register an account to use this product, but you can register one account per license. In the case of serial numbers with multiple licenses, this agreement applies even for accounts registered after the second license, so this product is always used by the customer himself. In addition, although family members living with customers do not prohibit the use of this product after registering an account, in this case, the customer is treated as a use by the customer by this family by the family Therefore, we understand that violation of this agreement clause by your family will be a violation of the customer.

Article 2 (Copyright)
Since the Company owns the copyright of this product, the customer shall not perform the following acts or acts that infringe the copyright of this product.
· Reproduce all or part of this product
· To reverse engineer or disassemble this product
· Modify this product, change it, and make other modifications
· Incorporate all or part of this product into other products

Article 3 (Restrictions on use of this product)
(1) The customer shall not disclose the serial number necessary for use of this product to third parties other than the family living with the customer, and even when disclosing to the family living together, We shall comply with the terms of the contract.
(2) Saved data of games that contain the effect of using this product, not only does the customer not sell, lend, transfer, etc., as well as the medium containing the saved data including the effect using this product We will do the same.

(3) Although this product has specifications that can not be used for online games and other games played on networks (hereinafter referred to as "online games, etc."), this product and games must be used regularly It can not be said that there is no case that it can be used in a way different from the method, or it is possible to use in online games etc. due to defects and specification changes of games. Even in such a case, the customer never uses this product for online games etc.
(4) In addition to the above, the customer shall not perform any act of infringing the copyright etc. of the game.

Article 4 (Specification change etc.)
Even if this game is displayed as compliant, we may not be able to deal with it due to changes in the specifications of the game in the future. Also, if the specification of PS 4 itself is changed, this product may become unusable. The customer shall be aware of the existence of these cases and the Company shall not be responsible for the return of the price or any other responsibility even in these cases.

Article 5 (immunity)
We do not assume any responsibility for direct damage, indirect damage, derivative damage, or any other damage with respect to the damage resulting from the use of this product by you.

Article 6 (Violation of this agreement clause)
In the event that you breach the terms of this agreement, we may terminate this Agreement. In this case, the customer shall be aware that the use of this product will be impossible. In addition, if we suffer damage due to your breach of this agreement clause, you will indemnify the damage.

Article 7 (Modification of this Agreement Clause)
(1) If we deem it necessary, we will notify you on our website beforehand and we can change the terms and conditions of this contract. The effective date of the changed terms and conditions will also be announced on the above website.
(2) In case the software etc. of this product is upgraded, you can download these via the Internet. In this case, we may request your consent from this contract provision (if changed, after change) again. If you do not agree to the terms of this agreement, we can not continue to use this product.

Article 7 (Jurisdiction over Jurisdiction)
In the dispute concerning this contract, the Tokyo District Court or the Tokyo Simplest Court shall be the exclusive jurisdiction court of the first instance.
that's all
PS4SaveEditor.png
 

Attachments

  • PS4 Save Editor Binary.png
    PS4 Save Editor Binary.png
    40 KB · Views: 11,665
  • Drupal 8.png
    Drupal 8.png
    22.8 KB · Views: 5,708

Comments

Here is what appears to be a Japanese Compatibility List by Sister Shaking 500 from the Chinese BBS Duowan of PlayStation 4 games that can be modified with the PS4 Save Editor, roughly translated:

Note: Hong Kong players need to find the corresponding game players will be numbered unified version of the Japanese version of the file can be properly identified. Japanese version of the game number can be viewed in the modifier (right mouse button automatically display)

アイドルマスタープラチナスターズ ア イ ド ル マ ス タ ー プ ラ チ ナ ス タ ー ズ 偶像大师白金之星 Idol Master Platinum Star
蒼の彼方のフォーリズム 苍 の の フ ォ ー リ ズ ム 苍之彼方的四重奏 The quartet of the Cang
AKIBA'S TRIP2 AKIBA'S TRIP2 秋叶原之旅2 Akihabara Tour 2
アキバズビート ア キ バ ズ ビ ー Suites 秋叶原之击 Akihabara hit
Exist-Archive Exist-Archive 生存档案:空之彼方 Survival file: empty side
いけにえと雪のセツナ い け に え と snow の セ ツ ナ 祭物与雪中的刹那 Sacrifice and the moment in the snow
inFAMOUS Second Son InFAMOUS second son 声名狼藉:次子 Notorious: second son
うたわれるもの偽りの仮面 う ta わ れ ru も の pseudo り の 仮 surface 传颂之物:虚伪的假面 To the hypocrisy of hypocrisy
うたわれるもの二人の白皇 う ta わ れ ru も の の two white emperor 传颂之物:2人的白皇 Blessed things: 2 people of the White Emperor
SDガンダムジージェネレーションジェネシス SD Gadhi ー ジ ェ ネ レ ー シ ョ ン ジ ェ ネ シ ス SD高达G世纪 SD up to G century
お姉チャンバラZ2 ~カオス~ お ー チ ャ ン バ ラ Z2 ~ カ オ ~ ~ 御姐玫瑰Z2:混沌 Royal sister rose Z2: Chaos
オメガクインテット オ メ ガ ク イ ン テ ッ ト 欧米伽组曲 Omega Suite
オーディンスフィアLEIFDRASIR オ ー デ ィ ン ス フ ィ ア LEIFDRASIR 奥丁领域 Odin field
影牢もう1人のプリンセス Shadow prison ume う 1 person の プ リ ン セ ス 影牢:另一个公主 Shadow prison: another princess
KINGDOM HEARTS HD2.8 Final chapter prologue KINGDOM HEARTS HD2.8 Final chapter prologue 王国之心2.8HD最终章序幕 The king of the hearts of 2.8HD final chapter prelude
ぎゃる☆がんだぶるぴーす ぎ ゃ ru ☆ が ん だ ぶ る ぴ ー す 少女射击vv Girls shoot vv
クロバラノワルキューレBlack Rose Valkyrie ク ロ バ ラ ノ ワ ル ル ー レ Black Rose Valkyrie 黑蔷薇的女武神 Black Rose of the goddess of God
クローズBURNNING EDGE ク ロ ー ズ BURNNING EDGE 热血高校:燃烧边缘 Blood college: burning edge
グラビティデイズ グ ラ ビ テ ィ デ イ ズ 重力异想世界 Gravity wants the world
グラビティデイズ2 グ ラ ビ テ ィ デ イ ズ 2 重力异想世界2 The world of gravity
グランド・セフト・オートV グ ラ ン ド セ セ ト ト ト ト V GTA5 GTA5
CALL OF DUTY INFINITE WARFARE CALL OF DUTY INFINITE WARFARE 使命召唤13:无限战争 Call of Duty 13: Unlimited War
ゴッド・オブ・ウォーIII リマスタード ゴ ッ ド オ ブ ウ オ ー III リ マ ス タ ー ド 战神3 God of War 3
PSYCHO-PASS サイコパス選択なき幸福 PSYCHO-PASS サ イ コ パ ス election 択 な き happy 心理测量者 Psychologist
サモンナイト6 サ モ ン ナ イ ト 6 召唤之夜6 Summon night 6
進撃の巨人 The giant of the entry 进击的巨人 Attack the giant
真・三國無双7 with 猛将伝 True Warriors 真三国无双7:猛将传 True three countries unparalleled 7: fierce will pass
新次元ゲイムネプテューヌVII The new dimension ド ム ム ム ム ム ム 新次元游戏:海王星V2 New dimension game: Neptune V2
ジョジョの奇妙な冒険アイズオブヘブン ジ ジ ジ ョ ー ッ ー い オ ブ ヘ ブ ン jojo的奇妙冒险:天堂之眼 Jojo's wonderful adventure: the eye of paradise
スクールガールゾンビハンター ス ク ー ル ー ル ー ル ー ル ー ル ー 女高中生僵尸猎人 Female high school zombie hunter
スターオーシャン5-Integrity and Faithlessness- ス タ ー オ ー シ ャ ン 5-Integrity and Faithlessness- 星之海洋5 Star Ocean 5
スーパーロボット大戦OG ムーン・デュエラーズ ス ー パ ー ロ ボ ッ ト 大 戰 OG ム ー ン デ ュ エ ラ ー ズ 超级机器人大战OG THE MOON DWELLERS Super Robot Wars OG THE MOON DWELLERS
スーパーロボット大戦V ス ー パ ー ロ ボ ッ ト big war V 超级机器人大战V Super Robot Wars V
聖闘士星矢ソルジャーズ・ソウル Sagittarius Sagya ジ ャ ー ズ ソ ウ ル 圣斗士星矢:战士魂 Saint Seiya: Soldier Soul
戦国BASARA 真田幸村伝 Yasushi BASARA 战国BASARA 真田幸村传 Warring States BASARA Sanada fortune village
戦国BASARA4 皇 Katsuya BASARA4 Emperor 战国BASARA4 皇 Warring States BASARA4 Emperor
戦場のヴァルキュリアリマスター И ァ ル キ リ リ ア リ マ ス タ ー 战场女武神HD Battlefield Valkyrie HD
閃乱カグラESTIVAL VERSUS -少女達の選択- Escalator ラ ラ ラ ESTIVAL VERSUS - 闪乱神乐:少女的选择 Flashing music: the choice of girls
ソフィーのアトリエ~不思議な本の錬金術士~ ソ フ ィ ー の ア ト リ エ ~ do not think of this book の の の gold warlock ~ 索菲不可思议的炼金术士 Sophie's incredible alchemist
ソードアート・オンライン-ゲームディレクターズ・エディション- ソ ー ド ア ー ト オ ン ラ イ ン - ド ー ム デ ィ レ ッ ー ズ エ デ ィ シ ョ ン - 刀剑神域:导演剪切版 Sword of God: Director Cut Edition
ソードアート・オンライン-ホロウ・リアリゼーション- ソ ー ド ア ー ト オ ン ラ イ ン - ホ ロ ウ リ ア リ ゼ ー シ ョ ン - 刀剑神域:虚空幻界 Sword God domain: Nether fantasy world
地球防衛軍4.1 THE SHADOW OF NEW DESPAIR地球 Earth Guard 3 THE SHADOW OF NEW DESPAIR Earth 地球防卫军4.1 Earth Guard 4.1
テイルズオブゼスティリア テ イ ル ズ オ ブ ス ス テ ィ リ ア 热诚传说 Passionate legend
テイルズオブベルセリア テ イ ル ズ オ ブ ベ ル セ リ ア 绯夜传说 The legend of the night
デビルメイクライ4 スペシャルエディション デ ビ ル メ イ ク ラ イ 4 ス ペ シ シ ャ ル エ デ ィ シ ョ 鬼泣4特别版 Devil May Cry 4 Special Edition
電撃文庫FIGHTING CLIMAX IGNITION Shockhouse FIGHTING CLIMAX IGNITION 电击文庫FIGHTING CLIMAX IGNITION HitHTING CLIMAX IGNITION
討鬼伝2 Ghosts 2 讨鬼传2 Ghost Story 2
討鬼伝極 Ghosts 讨鬼传极 Ghosts
東京ザナドゥex+ Tokyo ザ ナ ド ー ex + 東京迷城ex+ Tokyo Lost City ex +
ドラゴンクエストヒーローズ闇竜と世界樹の城 ド ラ ゴ ン ク エ ス ト ー ー ロ ー ズ dark 竜 と world tree の city 勇者斗恶龙:英雄集结 Dragon Quest: Hero Assembly
ドラゴンクエストヒーローズ2 双子の王と予言の終わり ド ラ ゴ ン ク エ ス ト ー ー ロ ー ズ 2 Gemini の Wang and the words of the end of the wale 勇者斗恶龙:英雄集结2 Dragon Quest: Hero Assembly 2
ドラゴンクエストビルダーズ ド ラ ゴ ン ク エ ス ト ト ル ル ー ズ 创世小玩家:建造者 Creation of small players: builders
NATURAL DOCTRINE NATURAL DOCTRINE 自然法则 Law of Nature
ナック ナ ッ ク KNACK KNACK
NARUTO-ナルト- 疾風伝ナルティメットストーム4 NARUTO-ナ ル ト ー ム ム ム ム ム ム ー ム 4 火影忍者疾风传:究极忍者风暴4 Naruto Breeze: Extreme Ninja Storm 4
NARUTO-ナルト- 疾風伝ナルティメットストーム4 ROAT TO BORUTO NARUTO-ROAT TO BORUTO 4 ROAT TO BORUTO ナ Suites ー ム 4 ROAT TO BORUTO 火影忍者疾风传:究极忍者风暴4 博人传 Naruto Breeze: Extreme Ninja Storm 4 blog biography
仁王 Benevolent king 仁王 Benevolent king
NEW GAME! -THE CHALLENGE STAGE! NEW GAME! -THE CHALLENGE STAGE! NEW GAME! NEW GAME!
ニューダンガンロンパV3 みんなのコロシアイ新学期 ニ ュ ー ダ ン ン ン ロ ン パ ン パ ン シ ン 弹丸论破V3:自相残杀的新学期 Projectile break V3: self-killing new term
ニーアオートマタ ニ ー ア オ ー ト マ タ 尼尔:机械纪元 Neil: Mechanical Age
バイオハザードオリジンズコレクション バ オ オ ザ ザ ー ド オ リ ジ ン ズ コ レ ク シ ョ ン 生化危机起源合集 Biochemical crisis origin collection
バイオハザードリベレーションズ2 バ オ オ ザ ザ ー ド リ ベ レ ー シ ョ ン ズ 2 生化危机:启示录2 Resident Evil: Revelation 2
バイオハザード5 バ イ オ ハ ザ ー ド 5 生化危机5 Resident Evil 5
バイオハザード6 バ イ オ ハ ザ ー ド 6 生化危机6 Resident Evil 6
バイオハザード7 レジデントイービル バ イ オ ハ ザ ー ド 7 レ ジ デ ン ト イ ー ビ ル 生化危机7 Resident Evil 7
バイオハザード7 レジデントイービルグロテスクバージョン バ イ オ ハ ザ ー ド 7 レ ジ デ ン ト イ ー ビ ル グ ロ テ ス ク バ ー ジ ョ ン 生化危机7豪华版 Resident Evil 7 Deluxe Edition
Birthday the Beginning Birthday the Beginning 创始物语 Founding Story
ファイナルファンタジーX/X-2 HD X-X-2 HD 最终幻想10合集 Final Fantasy 10 Collection
ファイナルファンタジーXV フ ァ イ ナ ル フ ァ ン タ ー ー シ 最终幻想15 Final Fantasy 15
ファイナルファンタジー零式 フ ァ イ ナ ル フ ァ ン タ ー ー ー 最终幻想:零式 Final Fantasy: Zero
ファークライプライマル フ ァ ー ク ラ イ プ ラ イ マ ル 孤岛惊魂:野蛮纪元 Isolated Cry: Savage Age
ファークライ4 フ ァ ー ク ラ イ 4 孤岛惊魂4 Cry 4
フィリスのアトリエ~不思議な旅の錬金術士~ フ ィ リ ス の ア ト リ エ ~ do not think of な travel の の gold warlock ~ 菲莉丝工作室:不可思议的炼金术士 Filis Studios: Incredible Alchemist
Fate/EXTELLA Fate / EXTELLA Fate/EXTELLA Fate / EXTELLA
BLADESTORM 百年戦争&ナイトメア BLADESTORM century war and ナ イ ト メ ア 剑刃风暴:百年战争 Blade storm: centuries war
BLAZBLUE CENTRALFICTION BLAZBLUE CENTRALFICTION 苍翼默示录:中枢幻象 Cang wing Apocalypse: Central phantom
BLADE ARCUS from Shining EXA BLADE ARCUS from Shining EXA 光明格斗:刀锋对决 Light fighting: Blade duel
ベルセルク無双 ベ ル セ ル ク unparalleled 剑风无双 Jungin unparalleled
ペルソナ5 ペ ル ソ ナ 5 女神异闻录5 The goddess is different
魔界戦記ディスガイア5 Devil Warrior デ ィ ス ガ イ ア 5 魔界战记5 Devil War 5
魔女と百騎兵Revival Witch and Horseman Revival 魔女百騎兵Revival Wolves
無双OROCHI2 Ultimate Unparalleled OROCHI2 Ultimate 无双大蛇2终极版 Warriors 2 Ultimate Edition
Metal Gear Solid V The Phantom Pain Metal Gear Solid V The Phantom Pain 合金装备5:幻痛 Alloy equipment 5: illusion
よるのないくに よ る の な い く に 无夜之国 No night of the country
四女神オンラインCYBER DIMENSION NEPTUNE Four women god Austrian CYBER DIMENSION NEPTUNE 海王星四女神online Neptune four goddess online
ライズオブザトゥームレイダー ラ イ ズ オ ブ ザ ト ー ム レ イ ダ ー 古墓丽影:崛起 Tomb Raider: Rise
ラスト・オブ・アスリマスタードー ラ ス ト オ ブ ア ス リ マ マ ス タ ー ド ー 最后生还者 The last survivor
ラチェット&クランクTHE GAME ラ チ ェ ッ ト & ク ラ ン ク THE GAME 瑞奇与叮当 Ricky and Doraemon
龍が如く維新! Long as a new dimension 如龙:维新 Such as dragon: maintenance
龍が如く極 Long ga like ku pole 如龙极 Such as the dragon pole
龍が如く0 誓いの場所 Long Ga, such as Kou 0 oath of the place 如龙0 Such as dragon 0
龍が如く6 命の詩 Long ga such as the fate of the poems 如龙6[/size] Such as the dragon 6[/size]
ワンピース海賊無双3 ワ ン ピ ー ス seawall unparalleled 3 海贼无双3 Pirate unparalleled 3
ワンピースバーニングブラッド ワ ン ピ ー ス バ ー ニ ン グ ブ ラ ッ ド 海贼王:热血燃烧 One Piece: Blood Burning
ワールドオブファイナルファンタジー ワ ー ル ド オ ブ フ ァ イ ナ ル フ ァ ン タ ー 最终幻想世界 Final Fantasy World
 
Code:
btnApply    保存  
btnApplyDownload    適用  
btnApplyPatch    適用  
btnBackup    バックアップ  
btnBrowse    保存先  
btnCancel    キャンセル  
btnCancellation    解除  
btnClose    閉じる  
btnCompare    Compare  
btnDeactivate    登録解除  
btnFind    検索  
btnFindPrev    前を検索  
btnHelp    ヘルプ  
btnHome    ゲームリスト  
btnManageProfiles    アカウントの変更  
btnNew    New  
btnOK    OK  
btnOpenFolder    保存先フォルダを開く  
btnOptions    設定  
btnPage1    次へ  
btnPage2    登録  
btnPop    Pop  
btnPush    Push  
btnRestore    復元  
btnRss    ニュースの再表示  
btnSave    OK  
btnSaveCodes    Save Codes  
btnSaves      
btnStack    Stack  
btnUpdate    アップデート  
btnUserAccount    アカウント登録  
btnViewAllCheats    View All Cheats  
chkBackupSaves    セーブデータのバックアップ機能  
chkEnableRight    Enable Right  
chkSyncScroll    Sync Scroll  
colBytes    Bytes  
colCheats    登録コード数  
colComment    コメント  
colDefault    デフォルト  
colDesc    パッチコード名  
colEndAddr    End Address  
colGameCode    型番  
colGameName    ゲーム名  
colName    アカウント名  
colProfile    ユーザー名  
colProfileName    ユーザー  
colSelect    セレクト  
colStartAddr    Start Address  
colVersion    対応バージョン  
errAnotherInstance    saveEditor(PS4用)は既に起動中です。  
errCheatExists    There is already a cheat with the same description.  
errConnection    エラー サーバーに接続できません。  
errContactSupport    There appears to have been an issue activating. Please contact support.  
errDelete    削除中にエラーが発生しました。  
errDuplicateProfile    Duplicate profile names not allowed.  
errExtract    Error occurred while extracting the profile.  
errIncorrectValue    検索の為の値が無効です。  
errInternal    サーバー内部エラー。少し待って再度お試しください。  
errInvalidAddress    Entered location is beyond the length of data.  
errInvalidCode    コードが正しく入力されていません。  
errInvalidDesc    コード名が入力されていません。  
errInvalidFCode    Only 16 lines allowed for F type code.  
errInvalidHex    16進数入力は、1バイト、2バイト、4バイトまたは8バイトです。  
errInvalidHexCode    16進数で、8桁の入力が必要です。  
errInvalidResponse    エラー サーバーからの応答がありません。  
errInvalidSave    There appears to be an issue with this PS4 save. Please delete it and copy it from your PS4 and try again.  
errInvalidSerial    シリアルナンバーが正しく入力されていません  
errInvalidUSB      
errMaxCodes    パッチコードは{0}行以上は入力出来ません。  
errMaxProfiles    アカウントの登録数が上限に達しています。これ以上アカウントを登録することはできません。  
errNoBackup    バックアップファイルがありません。  
errNoDefault    Please set default profile.  
errNoFile    このセーブデータは使用できません。  
errNoSavedata    セーブデータのアクセス中にエラーが発生しました。  
errNotRegistered    There is an issue with the activation. Please restart Save Editor for PS4 to activate again.  
errOffline    The server is currently undergoing maintenance. Please try again later.  
errOneCheat    {0}個のパッチコードの中から、1つだけ選ぶ事ができます。  
errProfileExist    このアカウントは保存されています。  
errProfileLock    This save is locked to the profile of the player who made it. If this not you, it may not load. Continue?  
errPSNNameUsed    "このユーザー名は既に使われています。
別のユーザー名を入力してください。"  
errSaveData    データの準備中にエラーが発生しました。  
errSerial    アクティベーション中にエラーが発生しました。  
errServer    エラー サーバーからの応答がありません。  
errServerConnection    Error occurred while initiating session with the server.  
errTooManyTimes    このシリアルナンバーは既に使われています。  
errUpgrade    アップグレード中にエラーが発生しました。  
gamelistDownloaderMsg    サーバーからゲームリストをダウンロード中…  
gamelistDownloaderTitle    サーバーからゲームリストをダウンロードします。  
gbBackupLocation    バックアップファイルの保存先フォルダ  
itmDec    Dec  
itmHex    Hex  
lblAvailableGames    対応ゲームリスト  
lblCheats    パッチコード名  
lblCheckVersion    最新バージョンのチェック  
lblCodes    パッチコード  
lblComment    コメント  
lblDeactivate    選択したアカウントの登録を解除します。  
lblDeleteProfile    アカウントの削除  
lblDescription    名称  
lblDownloadStatus    最新バージョンをダウンロードしています。しばらくお待ちください。  
lblDrive    選択中のドライブ:{0}  
lblEnterLoc    アドレス入力 :  
lblEnterSerial    シリアルナンバーを入力してください。  
lblInstruction      
lblInstruction_2    (2)USBメモリーをPS4本体に接続し、何のセーブデータでも構いませんので、できるだけ容量の小さなセーブデータを 「設定」「アプリケーションセーブデータ管理」「本体ストレージのセーブデータ」「USBストレージ機器にコピーする」の手順でUSBメモリーにコピーします。  
lblInstruction1    (1)PS4本体を起動し、セーブエディターで使用したいPSN IDでログインします。  
lblInstruction1Red    ※お客様が普段ご使用になっているPSN IDとは別のPSN IDでログインをしてしまうと、セーブエディターはそのPSN IDでしか使用できなくなります。ご注意ください。  
lblInstruction2    シリアルナンバーを入力してください。  
lblInstruction3    (3)セーブデータの入ったUSBメモリーをパソコンのUSBポートに接続します。  
lblInstructionPage2    ユーザー名を入力したら「登録」をクリックしてください。  
lblInstructionsPage1    セーブエディター(PS4用)をご使用になる際は、以下の手順に従ってアカウント登録を行なってください。  
lblInstuctionPage3    アカウントの登録作業が完了しました。セーブエディター(PS4用)を起動します。  
lblManageProfiles    セーブデータのアカウントを変更します。  
lblNoCheats    パッチコードが登録されていません。  
lblNoSaves    PS4用セーブデータが入っているUSBメモリーを接続してください  
lblOffset    オフセット  
lblPage1    PS4のセーブデータが入ったUSBメモリーをご使用のパソコンに接続したら「次へ」をクリックしてください。  
lblPage2    セーブデータの入ったUSBメモリーのドライブを選択してください。  
lblPage21    ユーザー名を入力してください。  
lblProfile    Profile:  
lblPSNAddTitle    セーブエディター(PS4用)のアカウント登録  
lblRenameProfile    アカウント名の変更  
lblRestoring    セーブファイルをリストアしています。  
lblRSSSection    起動時に表示されるニュースを再表示します。  
lblSelectDrive    ドライブ  
lblSelectFolder    Select Backup Folder Location  
lblSerialWait    Please wait. Registering Save Editor for PS4.  
lblUnregistered    未登録ユーザー  
lblUpgrade    最新バージョンのセーブエディターがネットワークサーバーに公開されているかチェックする事ができます。  
lblUserAccount    セーブデータのアカウントを登録します。  
lblUserName    ユーザー名:  
mainTitle    saveEditor(PS4用)  
mnuAddCheatCode    パッチコードの追加  
mnuAdvanced    アドバンスモード  
mnuDelete    削除  
mnuDeleteCheatCode    パッチコードの削除  
mnuDeleteSave    セーブデータの削除  
mnuEditCheatCode    パッチコードの編集  
mnuExtractProfile    アカウントの保存  
mnuRegisterPSN    アカウント登録  
mnuRenameProfile    アカウント名の変更  
mnuResign    アカウント変更  
mnuRestore    セーブデータのリストア  
mnuSimple    シンプルモード  
msgAdvModeFinish      
msgChooseCache    Choose Cache  
msgConfirmBackup    この機能をOFFにすると、問題が発生した時はセーブデータをリストアしません。それでもよろしいですか?  
msgConfirmCode    入力したパッチコードが間違っているとセーブデータを破損する恐れがあります。入力したパッチコードの内容をよく確かめてから「はい」をクリックしてください。  
msgConfirmDeactivateAccount    選択したアカウントを解除します。解除したアカウントは一ヶ月間は再登録ができなくなります。本当によろしいですか?  
msgConfirmDelete    パッチコードを削除します。本当に削除してもよろしいですか?  
msgConfirmDeleteSave    USBメモリーに入っているセーブデータを削除します。  
msgConfirmRestore      
msgConnecting    サーバーに接続中  
msgDeactivate    "セーブエディターに登録されているアカウントを解除しますか?
※登録解除を実行すると、以降30日間は登録解除の機能を実行できなくなります。"  
msgDeactivated    ディアクティベートを完了しました。saveEditor(PS4用)を終了します。  
msgDownloadDec    セーブデータの処理中です…  
msgDownloadEnc    セーブデータの処理中です…  
msgDownloadingList    ゲームリストをダウンロード中…  
msgDownloadPatch    パッチコードを使用しています。  
msgError    エラー  
msgInfo    インフォメーション  
msgMajor    重要な変更を含む最新バージョンがリリースされました。 今すぐアップデートを開始してよろしいですか?  
msgMaxCheats    Number of cheat codes exceed limit of {0}  
msgMinor    最新のバージョンをご利用できます。今すぐアップデートしますか?  
msgNewVersion    最新バージョンが確認されました。アップグレードを開始します。  
msgNoCheats    このゲームタイトルでは使用できません。  
msgNoPSNFolder    USBメモリーが接続されていません。  
msgNoupdate    現在使用中のsaveEditor(PS4用)は最新バージョンです。  
msgQuickModeFinish      
msgRestored    セーブデータをリストアしました。  
msgSelectCheat    使用したいパッチコードを選択してください。  
msgUnsupported    このゲームは、セーブエディターでサポートされていません。  
msgUploadDec    セーブデータの処理中です…  
msgUploadEnc    セーブデータの処理中です…  
msgUploadPatch    パッチコードをセーブデータに適用中  
msgWait    セーブデータの処理中です…  
msgWaitSerial    "アクティベーションを行なっています。
しばらくお待ちください。"  
rssTitle    saveEditor(PS4用)ニュース  
title    saveEditor(PS4用)  
title0    saveEditor type0(PS4用)  
titleAdvDownloader    アドバンスモード  
titleAdvEdit    アドバンスモード  
titleBackupDetails    Backup Details  
titleCancelAccount    アカウント解除  
titleChooseBackup    復元するバックアップを選んでください  
titleCodeEntry    パッチコード入力  
titleDiffResults    Diff Results  
titleGoto    アドレス ジャンプ  
titleManageProfiles    アカウントの変更  
titlePSNAdd    saveEditor(PS4用)アカウント登録  
titleResign    Re-sign - Save Progress...  
titleSerialEntry    シリアルナンバー入力  
titleSimpleEdit    シンプルモード  
titleSimpleEditUploader    セーブデータにパッチコードを書き込みます。  
titleTrial    saveEditor体験版(PS4用)  
titleUpgrade    アップグレード中  
titleUpgrader    アップグレード  
warnDeleteCache    Want to delete cache?  
warnOverwrite    パッチコードを適用したセーブデータに上書きします。よろしいですか?  
warnOverwriteAdv    編集した内容によってはセーブデータを破損する恐れがあります。本当に編集内容を適用してもよろしいですか?  
warnRestore    最後にバックアップしたセーブデータをリストアしますか? リストアするとメモリカード上のセーブデータを上書きします。  
warnTitle    注意
 
Nice

So since its all done server side as i thought before, we still got a while to wait them i assume before something comes from this. Heres hoping xploder out soon as its english
 
If all the magic is done behind their server, I wonder if someone will try to exploit it and gain access to dump everything :unsure:
 
If all the magic is done behind their server, I wonder if someone will try to exploit it and gain access to dump everything :unsure:

It is probably using a hacked PS4 on 1.76 to perform the decryption/encryption by somehow loading your account encryption keys onto it.
 
I am positive the code was just gotten with a .net decompiler
Nah what make you think that oh wait sarcasm..

A Member Used a DnSpy and decompiler it while I want on the server check spree, but I decided to leak/give the source out as many other will have more use for it also with out no intention to 're create the tool without a serial.
which apparently some few bs words spreading around.


All I did was give out the source because I thought it be a great idea for other people have a look at it.

there was no intention for me to recreate the same thing with out the serial, cause there really no point. as most things are executed on the server side.

Don't really call it Cracked either as there was no decryption security on the tool either so anyone could decompile it and give the source out .. and the download link still has the Magic Gene Class still in the project, cause like I said it will give other people ideas (NOT ME) and its up to other people what they do with it.
 
Nah what make you think that oh wait sarcasm..

A Member Used a DnSpy and decompiler it while I want on the server check spree, but I decided to leak/give the source out as many other will have more use for it also with out no intention to 're create the tool without a serial.
which apparently some few bs words spreading around.


All I did was give out the source because I thought it be a great idea for other people have a look at it.

there was no intention for me to recreate the same thing with out the serial, cause there really no point. as most things are executed on the server side.

Don't really call it Cracked either as there was no decryption security on the tool either so anyone could decompile it and give the source out .. and the download link still has the Magic Gene Class still in the project, cause like I said it will give other people ideas (NOT ME) and its up to other people what they do with it.

I wasn't talking about the recreation part about the tool being leaked by the time. That was another topic. Still, I wasn't talking down on you btw :p
 
Status
Not open for further replies.
Back
Top