Exemple #1
0
        public void method_4(string string_7, bool bool_6, bool bool_7, bool bool_8)
        {
            // ISSUE: object of a compiler-generated type is created
            // ISSUE: variable of a compiler-generated type
            GClass30.Class46 class46 = new GClass30.Class46();
            // ISSUE: reference to a compiler-generated field
            class46.string_1 = string_7;
            // ISSUE: reference to a compiler-generated field
            class46.bool_0 = bool_8;
            // ISSUE: reference to a compiler-generated field
            class46.bool_1 = bool_7;
            // ISSUE: reference to a compiler-generated field
            class46.bool_2 = bool_6;
            if (this.System != GEnum3.const_0)
            {
                throw new Exception("This process can only be done on CTR titles");
            }
            // ISSUE: reference to a compiler-generated field
            Directory.CreateDirectory(class46.string_1);
            // ISSUE: reference to a compiler-generated field
            class46.frmWait_0 = new FrmWait("USB Helper is extracting your title...", true);
            // ISSUE: reference to a compiler-generated field
            class46.string_0 = Path.Combine(Path.GetTempPath(), "game.cia");
            // ISSUE: reference to a compiler-generated field
            this.method_5(class46.string_1, "game");
            // ISSUE: reference to a compiler-generated field
            GClass27.smethod_11(class46.string_1);
            // ISSUE: reference to a compiler-generated field
            // ISSUE: reference to a compiler-generated field
            ProcessStartInfo processStartInfo = new ProcessStartInfo()
            {
                FileName         = Path.Combine(class46.string_1, "PART1"),
                WorkingDirectory = class46.string_1
            };
            Process process = new Process();

            process.StartInfo           = processStartInfo;
            process.EnableRaisingEvents = true;
            // ISSUE: reference to a compiler-generated method
            process.Exited += new EventHandler(class46.method_0);
            process.Start();
            // ISSUE: reference to a compiler-generated field
            int num = (int)class46.frmWait_0.ShowDialog();
        }
Exemple #2
0
        public void method_3(string string_7, bool bool_6 = false)
        {
            // ISSUE: object of a compiler-generated type is created
            // ISSUE: variable of a compiler-generated type
            GClass30.Class45 class45 = new GClass30.Class45();
            // ISSUE: reference to a compiler-generated field
            class45.string_0 = string_7;
            // ISSUE: reference to a compiler-generated field
            class45.bool_0 = bool_6;
            if (this.System != GEnum3.const_0)
            {
                return;
            }
            // ISSUE: reference to a compiler-generated field
            if (!Directory.Exists(class45.string_0))
            {
                // ISSUE: reference to a compiler-generated field
                Directory.CreateDirectory(class45.string_0);
            }
            // ISSUE: reference to a compiler-generated field
            class45.frmWait_0 = new FrmWait("Please wait while USB Helper prepares your game", false);
            // ISSUE: reference to a compiler-generated field
            GClass27.smethod_11(class45.string_0);
            // ISSUE: reference to a compiler-generated field
            ProcessStartInfo processStartInfo = new ProcessStartInfo()
            {
                FileName         = "PART1",
                WorkingDirectory = class45.string_0,
                CreateNoWindow   = true,
                WindowStyle      = ProcessWindowStyle.Hidden
            };
            Process process = new Process();

            process.StartInfo           = processStartInfo;
            process.EnableRaisingEvents = true;
            // ISSUE: reference to a compiler-generated method
            process.Exited += new EventHandler(class45.method_0);
            // ISSUE: reference to a compiler-generated field
            this.method_5(class45.string_0, "game");
            process.Start();
            // ISSUE: reference to a compiler-generated field
            int num = (int)class45.frmWait_0.ShowDialog();
        }
Exemple #3
0
        public void method_23(string string_15, string string_16)
        {
            // ISSUE: object of a compiler-generated type is created
            // ISSUE: variable of a compiler-generated type
            GClass32.Class42 class42 = new GClass32.Class42();
            // ISSUE: reference to a compiler-generated field
            class42.string_0 = string_15;
            // ISSUE: reference to a compiler-generated field
            class42.string_1 = string_16;
            // ISSUE: reference to a compiler-generated field
            class42.frmWait_0 = new FrmWait("Please wait while USB Helper prepares your game", false);
            // ISSUE: reference to a compiler-generated field
            class42.string_2 = Path.Combine(Path.GetTempPath(), "ext_usb_helper");
            // ISSUE: reference to a compiler-generated field
            Directory.CreateDirectory(class42.string_2);
            // ISSUE: reference to a compiler-generated field
            Directory.CreateDirectory(class42.string_0);
            // ISSUE: reference to a compiler-generated field
            this.method_3(class42.string_2, true);
            // ISSUE: reference to a compiler-generated field
            GClass27.smethod_11(class42.string_2);
            // ISSUE: reference to a compiler-generated field
            ProcessStartInfo processStartInfo = new ProcessStartInfo()
            {
                FileName         = "makerom.exe",
                WorkingDirectory = class42.string_2,
                Arguments        = "-f cia -o game.cia -content game.cxi:0:0"
            };
            Process process = new Process();

            process.StartInfo           = processStartInfo;
            process.EnableRaisingEvents = true;
            // ISSUE: reference to a compiler-generated method
            process.Exited += new EventHandler(class42.method_0);
            process.Start();
            // ISSUE: reference to a compiler-generated field
            int num = (int)class42.frmWait_0.ShowDialog();
        }