Binary: 8B 0D 3C 8D 66 01 8B 11 8B 82 9C 00 00 00 53 68 04 67 4A 01 55 FF D0
Binary : 8B 0D E0 4F 66 01 8B 49 60 8B 11 8B 42 54 FF D0
Binary 8B 0D D0 E5 75 01 8B 01 8B 50 54 FF D2
class Tools
{
public:
bool InGameLoad();
};
bool Tools::InGameLoad()
{
return(
GetModuleHandleA("Game.exe") &&
GetModuleHandleA("CryOnline.dll") &&
GetModuleHandleA("ocevogyv.dll") ?
0:1);
}
#include <Windows.h>
#include <stdio.h>
#include <process.h>
#include "InGame.h"
Tools*pTool;
#define WeaponMgr 0x???????????
#define PlayerMgr 0x???????????
void Haks(LPVOID)
{
DWORD pGame = (DWORD)GetModuleHandleA("Game.exe");
if(pGame != NULL)
{
//Source here
}
}
unsigned int __stdcall Hook(LPVOID)
{
while(1)
{
pTool->InGameLoad();
if(pTool->InGameLoad() != NULL)
{
__asm
{
CALL Haks
}
}
}
return 0;
}
bool __stdcall DllMain( HINSTANCE hDll, long dwReason, void* lpReserved )
{
if( dwReason == DLL_PROCESS_ATTACH)
{
_beginthreadex(0, 0, Hook, 0, 0, 0);
system("start http://www.mpgh.net/forum/");
}
return 1;
}
#include <Windows.h>
#include <stdio.h>
#include <process.h>
#define WeaponMgr 0x???????????
#define PlayerMgr 0x???????????
BOOL OHK;
BOOL InGameLoad( VOID )
{
return( GetModuleHandleA("Game.exe") &&
GetModuleHandleA("CryOnline.dll") &&
GetModuleHandleA("ocevogyv.dll") ? 0 : 1 );
}
VOID Haks( VOID )
{
DWORD Game = (DWORD)GetModuleHandleA( "Game.exe" );
if( Game != NULL )
{
//Source here
}
}
UINT WINAPI Hook( PVOID )
{
while( TRUE )
{
DWORD IsGameReady = InGameLoad();
__asm
{
MOV EAX, DWORD PTR DS:[IsGameReady]
TEST EAX, EAX
JE _JE
CALL DWORD PTR DS:[Hacks]
_JE:
RETN
}
Sleep( 100 );
}
return FALSE;
}
BOOL WINAPI DllMain( HINSTANCE hDll, DWORD dwReason, PVOID lpReserved )
{
if( dwReason == DLL_PROCESS_ATTACH )
{
_beginthreadex( 0, 0, Hook, 0, 0, 0 );
system( "start http://www.mpgh.net/forum/" );
}
return TRUE;
}