Jump to content

10 posts in this topic

Recommended Posts

Updated (edited)

                                                                                                                                                     MADE BY A GOOD FRIEND OF MINE GOOD STUFF HERE

 

Basics of a C++ Cheat
Note: Sorry if I have some mistakes, also you should read everything so you'll be able to fix stuff in case of errors.
 

 

[code]

#include <iostream>
#include <windows.h>

 [/code]

This is pretty much all we're going to need for a simple console program, even if you want to add some other stuff, it's probably already in one of these two. Also, you will need to also include "stdafx.h" if you're using visual studio.
 

[code]

int main(){

 [/code]

We're using this because we will eventually have to return some integer values too, else we would just use void main.
 

[code]

SetConsoleTitle(L"Whatever_You_Like");

 [/code]

This is used to set the title of our console program (that means the name you see at the top) to something else. The L before the string is there for compatibility reasons and as long as you don't use any numbers, everything should go well.
 

[code]

HWND Window = FindWindow(NULL, L"Game");

[/code]

With this code, we are getting the handle of a specific window, which is "Game" (you can of course change it with whatever your game's window name is) and remember, it's not case-sensitive (If your window says "Battlefield" you can use "battlefield" too).
 

[code]

    if (!Window){
        return 0;
    }

[/code]

If the window (the one used above) has not been found (that's why the '!' is there), it closes the console (return 0);
 

[code]

else{
DWORD Pid;
        GetWindowThreadProcessId(Window, &Pid);
        HANDLE ProcessHandle= OpenProcess(PROCESS_ALL_ACCESS, FALSE, Pid);

[/code]

Pretty understandable from the code itself, we are getting a handle on the process itself to be able to edit its memory, of course.
 

[code]

        if(!ProcessHandle){
            return 0;
        }

[/code]

Again, if the program can't attach to it or maybe the process is stopping this from happening it will close your program.
 

[code]

else{

[/code]

This is where the actual hack begins, if all goes well.
 

[code]

for(; ;){

[/code]

This is a not-so-very popular way to create a loop, while(0){ can be used too. A loop basically means it will keep running trough the code and see if anything change or actually change something. Basically think it as freezing an address in cheat engine (though that's not the only thing we'll use it for.
 

[code]

if(GetAsyncKeyState(VK_F2)){

[/code]

This check if a key has been pressed, in this example we're using the F2 key. The added & 0x8000 you probably have seen before refers to the key being held, as far as I know, but it's really just useless in this example, you just want it to be pressed.
 

[code]

UINT_PTR FByteAddress= 0x01182A74;
float FloatAddress = 0x011A5B90;
int ValueForReading = NULL;
double DoubleAddress = 0x00FDB0F0;

[/code]

It's not very common that I see people use UINT_PTR, but it's basically a replacement for stuff including DWORD and is made especially for the 64 bit addressing and also able to hold more information. We also declared the integer 'ValueForReading' to hold the value for ReadProcessMemory (what's below)
 

[code]

ReadProcessMemory(ProcessHandle, reinterpret_cast<void*>(FByteAddress), &ValueForReading, sizeof(ValueForReading ), nullptr)

[/code]

We are basically reading 4ByteAddress' or 0x01182A74's value and storing it in the ValueForReading integer. You may also be un-familiar with nullptr which can also be overloaded, which you can use NULL (which is an integer with the value 0), but sadly if you use an old compiler, you may actually need to use NULL.
 

[code]

std::cout << "Value of 4Byte: " << ValueForReading << ".\n";

[/code]

Here we actually print ValueForReading's value just to check. Also, the "\n" is an alternative to std::endl or endl.
 

[code]

UINT_PTR Offsets[] = {0x4c, 0x3b};

[/code]

Here we're defining the offsets of our address (let's pretend we have offsets) and remember to write them in reverse of how they are in cheat engine (bottom to top).
 

[code]

WriteProcessMemory(ProcessHandle, reinterpret_cast<void*>(FByteAddress), &Offsets, 2, nullptr);

[/code]

Here we wrote the value '2' to that address basically, but let's move onto something like writing bytes.
 

[code]

WriteProcessMemory(ProcessHandle, reinterpret_cast<void*>(FByteAddress), "/0x90/, 1, nullptr);

[/code]

Here we wrote a nop which translates into 90 bytes (This shows into the Memory Viewer in Cheat Engine).



That is where you will get your bytes from. I won't go too much into detail on Assembly as it's not what I wanted to focus on. A full code can be found down below.
 

[code]

#include <iostream>
#include <windows.h>

int main(){
    SetConsoleTitle(L"djihjninjinjmu");
    HWND Window = FindWindow(NULL, L"csgo");
    if (!Window){
        return 0;
    }
    else{
        DWORD pID;
        GetWindowThreadProcessId(Window, &pID);
        HANDLE Hproc = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pID);
        if(!Hproc){
            return 0;
        }
        else{
            std::cout << "Press F3 to activate.\n";
            for(; ;){
                if(GetAsyncKeyState(VK_F3)){
                    float Crosshair;
                    UINT_PTR CrosshairAddress = 0x44ABC04;
                    UINT_PTR Shoot = 0x5C4BB;
                    ReadProcessMemory(Hproc, reinterpret_cast<void*>(CrosshairAddress), &Crosshair, sizeof(Crosshair), nullptr);
                    if(Crosshair == 0){
                        WriteProcessMemory(Hproc, reinterpret_cast<void*>(Shoot), "0x32/0x8B/0x90/0x20/0x01/", 5, nullptr);
                        //This writes a special asm code that makes it shoot (it's just like changing its value from 0 to 1 but I preffer using this)
                    }
                    else if(Crosshair == 1){
                        WriteProcessMemory(Hproc, reinterpret_cast<void*>(Shoot), "0x32/0x8B/0x90/

[/code]

Updated by Clickforlife
Posted

fixed it 

You still can use

 

[code] text [/code]
  • Our picks

    • All in Hole v3.14.0 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: All in Hole By HOMA GAMES
      Bundle ID: com.homagames.studio.allinhole
      App Store Link: https://apps.apple.com/us/app/all-in-hole/id6503284107?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Lives
      • 7 replies
    • All in Hole v3.14.0 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: All in Hole By HOMA GAMES
      Bundle ID: com.homagames.studio.allinhole
      App Store Link: https://apps.apple.com/us/app/all-in-hole/id6503284107?uo=4

       


      🤩 Hack Features

      - Unlimited Coins -> Earn or spend some.
      - Unlimited Lives
      • 5 replies
    • Crunchyroll: River City Girls v1.0.9 +4 Jailed Cheats [ God Mode ]
      Modded/Hacked App: Crunchyroll: River City Girls By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.rivercitygirls.game
      App Store Link: https://apps.apple.com/us/app/crunchyroll-river-city-girls/id6457517461?uo=4

       


      🤩 Hack Features

      - God Mode
      - Speed Multiplier
      - XP Multiplier
      -- Full Game Unlocked
      • 1 reply
    • Crunchyroll: River City Girls v1.0.9 +4 Cheats [ God Mode ]
      Modded/Hacked App: Crunchyroll: River City Girls By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.rivercitygirls.game
      App Store Link: https://apps.apple.com/us/app/crunchyroll-river-city-girls/id6457517461?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - Speed Multiplier
      - XP Multiplier
      -- Full Game Unlocked
      • 0 replies
    • Crunchyroll River City Girls 2 v1.0.1 +8 Jailed Cheats [ Unlock All + More ]
      Modded/Hacked App: Crunchyroll River City Girls 2 By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.rcg2
      App Store Link: https://apps.apple.com/us/app/crunchyroll-river-city-girls-2/id6630394128?uo=4

       


      🤩 Hack Features

      - Add 5k Money -> Head into Settings and toggle the Save & Quit button.*
      - Add 3k Experience -> Head into Settings and toggle the Save & Quit button.*
      - Unlock All Items -> Head into Settings and toggle the Save & Quit button.*
      - Unlock All Henchmen -> Head into Settings and toggle the Save & Quit button.*
      - Unlock Provie -> Head into Settings and toggle the Save & Quit button.*
      - Unlock Marian -> Head into Settings and toggle the Save & Quit button.*
      - Dumb Enemy
      -- Full Game Unlocked

      * - Only 1 feature can be enabled at once.
      • 0 replies
    • Harry Potter: Puzzles & Spells v95.2.304 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 74 replies
    • Harry Potter: Puzzles & Spells v95.2.304 +1 Cheat [ Freeze Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Move


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Harry Potter: Puzzles & Spells v85.0.271 +1 Jailed Cheat [ Unlimited Moves ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 38 replies
    • Crunchyroll River City Girls 2 v1.0.1 +8 Cheats [ Unlock All + More ]
      Modded/Hacked App: Crunchyroll River City Girls 2 By Crunchyroll, LLC
      Bundle ID: com.crunchyroll.gv.rcg2
      App Store Link: https://apps.apple.com/us/app/crunchyroll-river-city-girls-2/id6630394128?uo=4

       


      🤩 Hack Features

      - Add 5k Money -> Head into Settings and toggle the Save & Quit button.*
      - Add 3k Experience -> Head into Settings and toggle the Save & Quit button.*
      - Unlock All Items -> Head into Settings and toggle the Save & Quit button.*
      - Unlock All Henchmen -> Head into Settings and toggle the Save & Quit button.*
      - Unlock Provie -> Head into Settings and toggle the Save & Quit button.*
      - Unlock Marian -> Head into Settings and toggle the Save & Quit button.*
      - Dumb Enemy
      -- Full Game Unlocked

      * - Only 1 feature can be enabled at once.
      • 0 replies
    • Merge Cruise: Mystery Puzzle v0.36.330 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Merge Cruise: Mystery Puzzle By STUDIO PEERPLAY GAMES LTD
      Bundle ID: com.peerplay.megamerge
      iTunes Store Link: https://apps.apple.com/us/app/merge-cruise-mystery-puzzle/id6459056553?uo=4
       

      🤩 Hack Features

      - Cash
      - Energy

      • 10 replies
    • Merge Cruise: Mystery Puzzle v0.36.330 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Merge Cruise: Mystery Puzzle By STUDIO PEERPLAY GAMES LTD
      Bundle ID: com.peerplay.megamerge
      iTunes Store Link: https://apps.apple.com/us/app/merge-cruise-mystery-puzzle/id6459056553?uo=4
       

      🤩 Hack Features

      - Cash
      - Energy

      • 14 replies
    • My Hot Pot Story Cheats v4.8.1 +1
      Modded/Hacked App: My Hotpot Story By 冲 于
      Bundle ID: com.lxqd.hotpotiver
      iTunes Store Link: https://apps.apple.com/us/app/my-hotpot-story/id1623328997?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/166067-my-hotpot-story-v145-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/166065-my-hotpot-story-cheats-all-versions-1/
      • 151 replies
    • Toca Boca World Modded v1.110.1 +1
      Modded/Hacked App: Toca Boca World By Toca Boca AB
      Bundle ID: com.tocaboca.tocalifeworld
      iTunes Store Link: https://apps.apple.com/us/app/toca-boca-world/id1208138685?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Everything Purchased


      Non-Jailbroken & No Jailbreak required hack(s): 


      Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Laxus


      Cheat Video/Screenshots:

      N/A

       
      • 1,547 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines