Esempio n. 1
0
 public static byte[] GetMemory(uint offset, int length)
 {
     byte[] array = new byte[length];
     DEX.GetMemory(offset, array);
     CEX.GetMemory(offset, array);
     return(array);
 }
Esempio n. 2
0
        public int CallFunction(uint func_address, params object[] parameters)
        {
            int  length = parameters.Length;
            uint num2   = 0;

            for (uint i = 0; i < length; i++)
            {
                byte[] buffer;
                if (parameters[i] is int)
                {
                    buffer = BitConverter.GetBytes((int)parameters[i]);
                    Array.Reverse(buffer);
                    PS3.SetMemory(0x10050000 + ((i + num2) * 4), buffer);
                }
                else if (parameters[i] is uint)
                {
                    buffer = BitConverter.GetBytes((uint)parameters[i]);
                    Array.Reverse(buffer);
                    PS3.SetMemory(0x10050000 + ((i + num2) * 4), buffer);
                }
                else if (parameters[i] is string)
                {
                    byte[] buffer2 = Encoding.UTF8.GetBytes(Convert.ToString(parameters[i]) + "\0");
                    PS3.SetMemory(0x10050054 + (i * 0x400), buffer2);
                    uint   num4  = 0x10050054 + (i * 0x400);
                    byte[] array = BitConverter.GetBytes(num4);
                    Array.Reverse(array);
                    PS3.SetMemory(0x10050000 + ((i + num2) * 4), array);
                }
                else if (parameters[i] is float)
                {
                    num2++;
                    buffer = BitConverter.GetBytes((float)parameters[i]);
                    Array.Reverse(buffer);
                    PS3.SetMemory(0x10050024 + ((num2 - 1) * 4), buffer);
                }
            }
            byte[] bytes = BitConverter.GetBytes(func_address);
            Array.Reverse(bytes);
            PS3.SetMemory(0x1005004c, bytes);
            Thread.Sleep(20);
            byte[] buffer5 = new byte[4];
            PS3.GetMemory(0x10050050, buffer5);
            Array.Reverse(buffer5);
            return(BitConverter.ToInt32(buffer5, 0));
        }
Esempio n. 3
0
        public static void find()
        {
            PS3.GetMemory(CheatStartOffset, CheatLongFoundsBytes);
            uint OffsetPlace = ContainsSequence(CheatLongFoundsBytes, CheatBytes, CheatStartOffset);

            if (OffsetPlace == 0u)
            {
                CheatOffset = 0x0;
                found       = false;
            }
            else
            {
                uint realoffset = OffsetPlace;
                CheatOffset = realoffset + 0x0B;
                string OffsetString = Convert.ToString(realoffset, 16);
                found = true;
            }
        }
Esempio n. 4
0
 public static void GetMemoryR(uint Address, ref byte[] Bytes)
 {
     PS3.GetMemory(Address, Bytes);
 }
Esempio n. 5
0
 public string method_30(int int_1)
 {
     byte[] buffer = new byte[0x10];
     PS3.GetMemory(0x1AEE380 + 0x3334 + ((uint)(int_1 * 0x3900)), buffer);
     return(Encoding.ASCII.GetString(buffer).Replace("\0", ""));
 }
Esempio n. 6
0
 public static byte[] GetMemory(uint offset, int length)
 {
     byte[] buffer = new byte[length];
     API.GetMemory(offset, buffer);
     return(buffer);
 }
Esempio n. 7
0
        public static bool find()
        {
            PS3.GetMemory(WeaponsStartOffset, WeaponsLongFoundsBytes);
            uint OffsetPlace = ContainsSequence(WeaponsLongFoundsBytes, WeaponsBytes, WeaponsStartOffset);

            if (OffsetPlace == 0u)
            {
                WeaponsOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace;
                WeaponsOffset = realoffset - 0x10;
            }
            PS3.GetMemory(WeaponsOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace1 = ContainsSequence(SecondWeaponsLongFoundsBytes, KnifeBytes, WeaponsOffset);

            if (OffsetPlace1 == 0u)
            {
                KnifeOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace1;
                KnifeOffset = realoffset;
            }
            PS3.GetMemory(KnifeOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace2 = ContainsSequence(SecondWeaponsLongFoundsBytes, NightBytes, KnifeOffset);

            if (OffsetPlace2 == 0u)
            {
                NightOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace2;
                NightOffset = realoffset;
            }
            PS3.GetMemory(NightOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace3 = ContainsSequence(SecondWeaponsLongFoundsBytes, HammerBytes, NightOffset);

            if (OffsetPlace3 == 0u)
            {
                HammerOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace3;
                HammerOffset = realoffset;
            }
            PS3.GetMemory(HammerOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace4 = ContainsSequence(SecondWeaponsLongFoundsBytes, BatBytes, HammerOffset);

            if (OffsetPlace4 == 0u)
            {
                BatOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace4;
                BatOffset = realoffset;
            }
            PS3.GetMemory(BatOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace5 = ContainsSequence(SecondWeaponsLongFoundsBytes, GolfBytes, BatOffset);

            if (OffsetPlace5 == 0u)
            {
                GolfOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace5;
                GolfOffset = realoffset;
            }
            PS3.GetMemory(GolfOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace6 = ContainsSequence(SecondWeaponsLongFoundsBytes, CrowbarBytes, GolfOffset);

            if (OffsetPlace6 == 0u)
            {
                CrowbarOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace6;
                CrowbarOffset = realoffset;
            }
            PS3.GetMemory(CrowbarOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace7 = ContainsSequence(SecondWeaponsLongFoundsBytes, PistolBytes, CrowbarOffset);

            if (OffsetPlace7 == 0u)
            {
                PistolOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace7;
                PistolOffset = realoffset;
            }
            PS3.GetMemory(PistolOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace8 = ContainsSequence(SecondWeaponsLongFoundsBytes, CpistolBytes, PistolOffset);

            if (OffsetPlace8 == 0u)
            {
                CpistolOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace8;
                CpistolOffset = realoffset;
            }
            PS3.GetMemory(CpistolOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace9 = ContainsSequence(SecondWeaponsLongFoundsBytes, AppistolBytes, CpistolOffset);

            if (OffsetPlace9 == 0u)
            {
                AppistolOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace9;
                AppistolOffset = realoffset;
            }
            PS3.GetMemory(AppistolOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace10 = ContainsSequence(SecondWeaponsLongFoundsBytes, Pistol50Bytes, AppistolOffset);

            if (OffsetPlace10 == 0u)
            {
                Pistol50Offset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace10;
                Pistol50Offset = realoffset;
            }
            PS3.GetMemory(Pistol50Offset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace11 = ContainsSequence(SecondWeaponsLongFoundsBytes, MsmgBytes, Pistol50Offset);

            if (OffsetPlace11 == 0u)
            {
                MsmgOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace11;
                MsmgOffset = realoffset;
            }
            PS3.GetMemory(MsmgOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace12 = ContainsSequence(SecondWeaponsLongFoundsBytes, SmgBytes, MsmgOffset);

            if (OffsetPlace12 == 0u)
            {
                SmgOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace12;
                SmgOffset = realoffset;
            }
            PS3.GetMemory(SmgOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace13 = ContainsSequence(SecondWeaponsLongFoundsBytes, AsmgBytes, SmgOffset);

            if (OffsetPlace13 == 0u)
            {
                AsmgOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace13;
                AsmgOffset = realoffset;
            }
            PS3.GetMemory(AsmgOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace14 = ContainsSequence(SecondWeaponsLongFoundsBytes, ArifleBytes, AsmgOffset);

            if (OffsetPlace14 == 0u)
            {
                ArifleOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace14;
                ArifleOffset = realoffset;
            }
            PS3.GetMemory(ArifleOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace15 = ContainsSequence(SecondWeaponsLongFoundsBytes, CrifleBytes, ArifleOffset);

            if (OffsetPlace15 == 0u)
            {
                CrifleOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace15;
                CrifleOffset = realoffset;
            }
            PS3.GetMemory(CrifleOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace16 = ContainsSequence(SecondWeaponsLongFoundsBytes, AdrifleBytes, CrifleOffset);

            if (OffsetPlace16 == 0u)
            {
                AdrifleOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace16;
                AdrifleOffset = realoffset;
            }
            PS3.GetMemory(AdrifleOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace17 = ContainsSequence(SecondWeaponsLongFoundsBytes, MgBytes, AdrifleOffset);

            if (OffsetPlace17 == 0u)
            {
                MgOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace17;
                MgOffset = realoffset;
            }
            PS3.GetMemory(MgOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace18 = ContainsSequence(SecondWeaponsLongFoundsBytes, CmgBytes, MgOffset);

            if (OffsetPlace18 == 0u)
            {
                CmgOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace18;
                CmgOffset = realoffset;
            }
            PS3.GetMemory(CmgOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace19 = ContainsSequence(SecondWeaponsLongFoundsBytes, PshotBytes, CmgOffset);

            if (OffsetPlace19 == 0u)
            {
                PshotOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace19;
                PshotOffset = realoffset;
            }
            PS3.GetMemory(PshotOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace20 = ContainsSequence(SecondWeaponsLongFoundsBytes, SshotBytes, PshotOffset);

            if (OffsetPlace20 == 0u)
            {
                SshotOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace20;
                SshotOffset = realoffset;
            }
            PS3.GetMemory(SshotOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace21 = ContainsSequence(SecondWeaponsLongFoundsBytes, AshotBytes, SshotOffset);

            if (OffsetPlace21 == 0u)
            {
                AshotOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace21;
                AshotOffset = realoffset;
            }
            PS3.GetMemory(AshotOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace22 = ContainsSequence(SecondWeaponsLongFoundsBytes, BshotBytes, AshotOffset);

            if (OffsetPlace22 == 0u)
            {
                BshotOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace22;
                BshotOffset = realoffset;
            }
            PS3.GetMemory(BshotOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace23 = ContainsSequence(SecondWeaponsLongFoundsBytes, StunBytes, BshotOffset);

            if (OffsetPlace23 == 0u)
            {
                StunOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace23;
                StunOffset = realoffset;
            }
            PS3.GetMemory(StunOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace24 = ContainsSequence(SecondWeaponsLongFoundsBytes, SniperBytes, StunOffset);

            if (OffsetPlace24 == 0u)
            {
                SniperOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace24;
                SniperOffset = realoffset;
            }
            PS3.GetMemory(SniperOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace25 = ContainsSequence(SecondWeaponsLongFoundsBytes, HsniperBytes, SniperOffset);

            if (OffsetPlace25 == 0u)
            {
                HsniperOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace25;
                HsniperOffset = realoffset;
            }
            PS3.GetMemory(HsniperOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace26 = ContainsSequence(SecondWeaponsLongFoundsBytes, RsniperBytes, HsniperOffset);

            if (OffsetPlace26 == 0u)
            {
                RsniperOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace26;
                RsniperOffset = realoffset;
            }
            PS3.GetMemory(RsniperOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace27 = ContainsSequence(SecondWeaponsLongFoundsBytes, GlauncherBytes, RsniperOffset);

            if (OffsetPlace27 == 0u)
            {
                GlauncherOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace27;
                GlauncherOffset = realoffset;
            }
            PS3.GetMemory(GlauncherOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace28 = ContainsSequence(SecondWeaponsLongFoundsBytes, SglauncherBytes, GlauncherOffset);

            if (OffsetPlace28 == 0u)
            {
                SglauncherOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace28;
                SglauncherOffset = realoffset;
            }
            PS3.GetMemory(SglauncherOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace29 = ContainsSequence(SecondWeaponsLongFoundsBytes, RpgBytes, SglauncherOffset);

            if (OffsetPlace29 == 0u)
            {
                RpgOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace29;
                RpgOffset = realoffset;
            }
            PS3.GetMemory(RpgOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace30 = ContainsSequence(SecondWeaponsLongFoundsBytes, ProcketBytes, RpgOffset);

            if (OffsetPlace30 == 0u)
            {
                ProcketOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace30;
                ProcketOffset = realoffset;
            }
            PS3.GetMemory(ProcketOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace31 = ContainsSequence(SecondWeaponsLongFoundsBytes, ArocketBytes, ProcketOffset);

            if (OffsetPlace31 == 0u)
            {
                ArocketOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace31;
                ArocketOffset = realoffset;
            }
            PS3.GetMemory(ArocketOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace32 = ContainsSequence(SecondWeaponsLongFoundsBytes, StingerBytes, ArocketOffset);

            if (OffsetPlace32 == 0u)
            {
                StingerOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace32;
                StingerOffset = realoffset;
            }
            PS3.GetMemory(StingerOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace33 = ContainsSequence(SecondWeaponsLongFoundsBytes, MinigunBytes, StingerOffset);

            if (OffsetPlace33 == 0u)
            {
                MinigunOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace33;
                MinigunOffset = realoffset;
            }
            PS3.GetMemory(MinigunOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace34 = ContainsSequence(SecondWeaponsLongFoundsBytes, GrenadeBytes, MinigunOffset);

            if (OffsetPlace34 == 0u)
            {
                GrenadeOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace34;
                GrenadeOffset = realoffset;
            }
            PS3.GetMemory(GrenadeOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace35 = ContainsSequence(SecondWeaponsLongFoundsBytes, StickyBytes, GrenadeOffset);

            if (OffsetPlace35 == 0u)
            {
                StickyOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace35;
                StickyOffset = realoffset;
            }
            PS3.GetMemory(StickyOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace36 = ContainsSequence(SecondWeaponsLongFoundsBytes, SgrenadeBytes, StickyOffset);

            if (OffsetPlace36 == 0u)
            {
                SgrenadeOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace36;
                SgrenadeOffset = realoffset;
            }
            PS3.GetMemory(SgrenadeOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace37 = ContainsSequence(SecondWeaponsLongFoundsBytes, BzgasBytes, SgrenadeOffset);

            if (OffsetPlace37 == 0u)
            {
                BzgasOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace37;
                BzgasOffset = realoffset;
            }
            PS3.GetMemory(BzgasOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace38 = ContainsSequence(SecondWeaponsLongFoundsBytes, MolotovBytes, BzgasOffset);

            if (OffsetPlace38 == 0u)
            {
                MolotovOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace38;
                MolotovOffset = realoffset;
            }
            PS3.GetMemory(MolotovOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace39 = ContainsSequence(SecondWeaponsLongFoundsBytes, FireextBytes, MolotovOffset);

            if (OffsetPlace39 == 0u)
            {
                FireextOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace39;
                FireextOffset = realoffset;
            }
            PS3.GetMemory(FireextOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace40 = ContainsSequence(SecondWeaponsLongFoundsBytes, PetrolBytes, FireextOffset);

            if (OffsetPlace40 == 0u)
            {
                PetrolOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace40;
                PetrolOffset = realoffset;
            }
            PS3.GetMemory(PetrolOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace41 = ContainsSequence(SecondWeaponsLongFoundsBytes, DigiBytes, PetrolOffset);

            if (OffsetPlace41 == 0u)
            {
                DigiOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace41;
                DigiOffset = realoffset;
            }
            PS3.GetMemory(DigiOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace42 = ContainsSequence(SecondWeaponsLongFoundsBytes, BriefBytes, DigiOffset);

            if (OffsetPlace42 == 0u)
            {
                BriefOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace42;
                BriefOffset = realoffset;
            }
            PS3.GetMemory(BriefOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace43 = ContainsSequence(SecondWeaponsLongFoundsBytes, Brief2Bytes, BriefOffset);

            if (OffsetPlace43 == 0u)
            {
                Brief2Offset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace43;
                Brief2Offset = realoffset;
            }
            PS3.GetMemory(Brief2Offset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace44 = ContainsSequence(SecondWeaponsLongFoundsBytes, BallBytes, Brief2Offset);

            if (OffsetPlace44 == 0u)
            {
                BallOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace44;
                BallOffset = realoffset;
            }
            PS3.GetMemory(BallOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace45 = ContainsSequence(SecondWeaponsLongFoundsBytes, FlareBytes, BallOffset);

            if (OffsetPlace45 == 0u)
            {
                FlareOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace45;
                FlareOffset = realoffset;
            }
            PS3.GetMemory(FlareOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace46 = ContainsSequence(SecondWeaponsLongFoundsBytes, TankBytes, FlareOffset);

            if (OffsetPlace46 == 0u)
            {
                TankOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace46;
                TankOffset = realoffset;
            }
            PS3.GetMemory(TankOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace47 = ContainsSequence(SecondWeaponsLongFoundsBytes, SpaceBytes, TankOffset);

            if (OffsetPlace47 == 0u)
            {
                SpaceOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace47;
                SpaceOffset = realoffset;
            }
            PS3.GetMemory(SpaceOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace48 = ContainsSequence(SecondWeaponsLongFoundsBytes, PlaneBytes, SpaceOffset);

            if (OffsetPlace48 == 0u)
            {
                PlaneOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace48;
                PlaneOffset = realoffset;
            }
            PS3.GetMemory(PlaneOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace49 = ContainsSequence(SecondWeaponsLongFoundsBytes, PlaserBytes, PlaneOffset);

            if (OffsetPlace49 == 0u)
            {
                PlaserOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace49;
                PlaserOffset = realoffset;
            }
            PS3.GetMemory(PlaserOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace50 = ContainsSequence(SecondWeaponsLongFoundsBytes, PbulletBytes, PlaserOffset);

            if (OffsetPlace50 == 0u)
            {
                PbulletOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace50;
                PbulletOffset = realoffset;
            }
            PS3.GetMemory(PbulletOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace51 = ContainsSequence(SecondWeaponsLongFoundsBytes, PbuzzardBytes, PbulletOffset);

            if (OffsetPlace51 == 0u)
            {
                PbuzzardOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace51;
                PbuzzardOffset = realoffset;
            }
            PS3.GetMemory(PbuzzardOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace52 = ContainsSequence(SecondWeaponsLongFoundsBytes, PhunterBytes, PbuzzardOffset);

            if (OffsetPlace52 == 0u)
            {
                PhunterOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace52;
                PhunterOffset = realoffset;
            }
            PS3.GetMemory(PhunterOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace53 = ContainsSequence(SecondWeaponsLongFoundsBytes, PlazerBytes, PhunterOffset);

            if (OffsetPlace53 == 0u)
            {
                PlazerOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace53;
                PlazerOffset = realoffset;
            }
            PS3.GetMemory(PlazerOffset, SecondWeaponsLongFoundsBytes);
            uint OffsetPlace54 = ContainsSequence(SecondWeaponsLongFoundsBytes, ElaserBytes, PlazerOffset);

            if (OffsetPlace54 == 0u)
            {
                ElaserOffset = 0x0;
                return(false);
            }
            else
            {
                uint realoffset = OffsetPlace54;
                ElaserOffset = realoffset;
                string OffsetString = Convert.ToString(realoffset, 16);
                found = true;
                return(true);
            }
        }