Sorry, you don't have access to the chatbox yet, VIPs and people with more than 2 posts get access to the chatbox :)


Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[C++]Reversing Minesweeper
26-11-2010, 09:42 PM,
Post: #1
[C++]Reversing Minesweeper
I now learning reversing and using reclass and olly.
I just need help where start,
for example i want search coords of all mines, and then make esp for it
Read Rulez
Reply
28-11-2010, 02:16 AM,
Post: #2
RE: [C++]Reversing Minesweeper
Ok, i reversed where are mines
Read Rulez
Reply
28-11-2010, 08:56 AM,
Post: #3
RE: [C++]Reversing Minesweeper
how do you mean?
Reply
28-11-2010, 08:09 PM, (This post was last modified: 28-11-2010, 08:10 PM by -=TIGERHax=-.)
Post: #4
RE: [C++]Reversing Minesweeper
i dont know what you want know but i reversed some shit:

PHP Code:
//0x1005000

class CMines;

class 
CMines
{
public:
        
char unknown0[280]; //0x0000
    
__int32 x_click//0x0118  
    
__int32 y_click//0x011C  
        
char unknown288[32]; //0x0120
    
__int32 mouse_down//0x0140 not sure 
        
char unknown324[28]; //0x0144
    
__int32 status_of_game//0x0160 3-win , 2-boom , 1-??? , 0-??? 
    
__int32 bool_for_timer//0x0164 not sure 
        
char unknown360[456]; //0x0168
    
__int32 num_of_mines//0x0330  
    
__int32 grid_width//0x0334  
    
__int32 grid_height//0x0338  
        
char unknown828[900]; //0x033C
}//Size=0x06C0(1728) 

PS: Nov change pliz colors in PHP tags Sad
Read Rulez
Reply
29-11-2010, 12:14 AM, (This post was last modified: 29-11-2010, 12:17 AM by -=TIGERHax=-.)
Post: #5
RE: [C++]Reversing Minesweeper
I reversed some new stuff, and make program to change some shit:

main.cpp
PHP Code:
#include "classes.h"

    
CMines *pMines NULL;

DWORD WINAPI LoopFunction(LPVOID)
{
    
DWORD CMinesAddy 0x1005000;
    
pMines = (CMines*)CMinesAddy;

    while(
1)
    {
        if(
GetAsyncKeyState(VK_F5)&1)
        {
            
pMines->score_easy 1337;
            
pMines->score_medium 1337;
            
pMines->score_hard 1337;
            
Sleep(250);
        }
    }
    return 
false;
}
BOOL WINAPI DllMain (HMODULE hModuleDWORD dwReasonLPVOID lpvReserved)
{
    if (
dwReason == DLL_PROCESS_ATTACH) {
        
CreateThread(NULL,NULL,LoopFunction,NULL,NULL,NULL);
    }
    return 
true;


classes.h
PHP Code:
#include <windows.h>
#include <stdio.h>
#include <iostream>
#include <conio.h>
#include <string>
using namespace std;

//0x1005000

class CMines;

class 
CMines
{
public:
        
char unknown0[280]; //0x0000
    
__int32 x_click//0x0118  
    
__int32 y_click//0x011C  
        
char unknown288[32]; //0x0120
    
__int32 mouse_down//0x0140 not sure 
        
char unknown324[28]; //0x0144
    
__int32 status_of_game//0x0160 3-win , 2-boom , 1-??? , 0-??? 
    
__int32 bool_for_timer//0x0164 not sure 
        
char unknown360[456]; //0x0168
    
__int32 num_of_mines//0x0330  
    
__int32 grid_width//0x0334  
    
__int32 grid_height//0x0338  
        
char unknown828[868]; //0x033C
    
__int32 Type_of_game//0x06A0 0-easy , 1-medium , 2-hard , 3-custom 
    
__int32 num_of_mines_2//0x06A4  
    
__int32 grid_heigth_2//0x06A8  
    
__int32 grid_width_2//0x06AC  
        
char unknown1712[28]; //0x06B0
    
__int32 score_easy//0x06CC  
    
__int32 score_medium//0x06D0  
    
__int32 score_hard//0x06D4  
    
char name_of_best_easy[64]; //0x06D8  
    
char name_of_best_medium[64]; //0x0718  
    
char name_of_best_hard[64]; //0x0758  
        
char unknown1944[472]; //0x0798
};//Size=0x0970(2416) 
Read Rulez
Reply
30-11-2010, 12:23 AM,
Post: #6
RE: [C++]Reversing Minesweeper
DWORD CBaseAddy = 0x01003470;

PHP Code:
class CBase;
class 
CGame;
class 
CGameInfo;
class 
CScoreBoard;

class 
CBase
{
public:
        
char unknown0[532]; //0x0000
    
CGamepGame//0x0214  
        
char unknown536[1328]; //0x0218
    
CGameInfopGameInfo//0x0748  
        
char unknown1868[104]; //0x074C
    
CScoreBoardpScoreBoard//0x07B4  
        
char unknown1976[14452]; //0x07B8
};//Size=0x402C(16428)

class CGame
{
public:
    
__int32 GridWidth//0x0000  
    
__int32 GridHeight//0x0004  
};//Size=0x0008(8)

class CGameInfo
{
public:
    
DWORD Mines//0x0000  
    
DWORD GridHeight//0x0004  
    
DWORD GridWidth//0x0008  
};//Size=0x000C(12)

class CScoreBoard
{
public:
    
DWORD scoreEasy//0x0000  
    
DWORD scoreMedium//0x0004  
    
DWORD scoreHard//0x0008  
    
char NameEasy[64]; //0x000C  
    
char NameMedium[64]; //0x004C  
    
char NameHard[64]; //0x008C  
};//Size=0x00CC(204) 
Read Rulez
Reply




Users browsing this thread: 1 Guest(s)