Solved C++ Pointer Offset lv 1 Full

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Virushack

Newbie
Full Member
Jan 29, 2013
12
432
0
1.jpg

C#:
#include <windows.h>
#include <stdio.h>
#include <d3dx9.h>
#pragma comment(lib, "d3dx9.lib")
#pragma warning(disable: 4700)
DWORD dwI3EXEC, ofsMNZ1, dwBase, CheckProtection, Pelacurrrrrrrrr;
//==============================Replace==========================================//
DWORD Replace;
//=================================Call Address ===============================//
BOOL Memek(unsigned long ADRexec, int OFSexec, int PTRexec)
{
if (!IsBadWritePtr((void*)ADRexec, sizeof(unsigned long)))
{
if (!IsBadWritePtr((void*)(*(unsigned long*)ADRexec + OFSexec), sizeof(unsigned long)))
{
*(int*)(*(unsigned long*)ADRexec + OFSexec) = PTRexec;
}
}
return (0);
}
int __fastcall ProtectShield(void)
{
return (0);
}
//=================================Call Pointer=========================//
BOOL Kontollllll(unsigned long ADRexec, int OFSexec, int PTRexec)
{
if (!IsBadWritePtr((void*)ADRexec, sizeof(unsigned long)))
{
if (!IsBadWritePtr((void*)(*(unsigned long*)ADRexec + OFSexec), sizeof(unsigned long)))
{
*(int*)(*(unsigned long*)ADRexec + OFSexec) = PTRexec;
}
}
return (0);
}
//==============================System Called==========================================//
void KzK(DWORD B,DWORD A1,DWORD B1, DWORD C1, DWORD ISI)
{ DWORD A=0;
if (IsBadHugeReadPtr((PDWORD)B,4)==0)
{ A=*(PDWORD)((DWORD)(B))+A1;
if (IsBadHugeReadPtr((PDWORD)A,4)==0)
{ A=*(PDWORD)((DWORD)(A))+B1;
if (IsBadHugeReadPtr((PDWORD)A,4)==0)
{ A=*(PDWORD)((DWORD)(A))+C1;
if (IsBadHugeReadPtr((PDWORD)A,4)==0)
{*(PDWORD)A=ISI;
}}}}}
//==============================System Protect==========================================//
void Undetect(void *adr, void *ptr, int size)
{
DWORD CheckProtection;
VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &ofsMNZ1);
RtlMoveMemory(adr,ptr,size);
VirtualProtect(adr,size,CheckProtection, &dwBase);
}
int SS = 0;
int BB = 0;
int __fastcall HookUndetect(void)
{
return 0;
}
//=============================================================================
DWORD WINAPI Speed(LPVOID param)
{
while(1)
{
//===================================Speed====================================//
 
if(GetAsyncKeyState(0x58)&1){ //Key x
DWORD Community = (DWORD)GetModuleHandleA("MAT.exe");
for(int i=0; i<1; i++){         //the base     offset                 value
Kontollllll(Pelacurrrrrrrrr+(DWORD)0x0013F61C, 0x75 + (1*i), 0x03767E80);// speed can dance
}}
Sleep(0);
}
return(0);
}
//=============================================================================
DWORD * FindDevice(VOID)
{
DWORD Base = (DWORD)LoadLibraryW(L"d3d9.dll");
for(DWORD i = 0; i < 0x128000; i++ )
{
if ( (*(BYTE *)(Base+i+0x00))==0xC7
&& (*(BYTE *)(Base+i+0x01))==0x06
&& (*(BYTE *)(Base+i+0x06))==0x89
&& (*(BYTE *)(Base+i+0x07))==0x86
&& (*(BYTE *)(Base+i+0x0C))==0x89
&& (*(BYTE *)(Base+i+0x0D))==0x86 )
return (DWORD *)(Base + i + 2);
}
return NULL;
}
bool __stdcall DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if(dwReason == DLL_PROCESS_ATTACH) {
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Speed, 0, 0, 0);
}
return true;
}
 
Last edited:

Virushack

Newbie
Full Member
Jan 29, 2013
12
432
0
This is i want change pointer offset lv 1 to pointer offset lv 2 how
C#:
DWORD WINAPI Speed(LPVOID param)
{
while(1)
{
//===================================Speed====================================//
if(GetAsyncKeyState(0x58)&1){ //Key x
DWORD Community = (DWORD)GetModuleHandleA("MAT.exe");
for(int i=0; i<1; i++){
Kontollllll(Pelacurrrrrrrrr+(DWORD)0x0013F61C, 0x75 + (1*i), 0x03767E80);// speed can dance
}}
if(GetAsyncKeyState(0x43)&1){ //Key c
DWORD Community = (DWORD)GetModuleHandleA("MAT.exe");
for(int i=0; i<1; i++){
Kontollllll(Pelacurrrrrrrrr+(DWORD)0x0013F61C, 0x75 + (1*i), 0x03767E78);// speed can jump
}}
if(GetAsyncKeyState(0x5A)&1){ //Key z
DWORD Community = (DWORD)GetModuleHandleA("MAT.exe");
for(int i=0; i<1; i++){
Kontollllll(Pelacurrrrrrrrr+(DWORD)0x0013F61C, 0x75 + (1*i), 0x304);// close speed
}}
Sleep(0);
}
return(0);
}
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,187
19,938
76
In all fairness none of your code makes any sense..

You need to understand what those "multi level offsets" mean. You dereference one pointer and add an offset to the address you have acquired.

Right now you are just looping i-dont-know-what
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods