Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › how to write this pointer? [CE]

how to write this pointer? [CE]

Posts 1–12 of 12 · Page 1 of 1
CH
cheaayanshaw
how to write this pointer? [CE to C++]


how to write this pointer to C++

pls help
2013-08-18_152618.jpg
#1 · edited 13y ago · 13y ago
AeroMan
AeroMan
You should scan for the pointer, find out what acces the adresses.
I belive 'Fleep' had a tutorial on pointer scanning.
#2 · 13y ago
CH
cheaayanshaw
Quote Originally Posted by Alex_Agnew View Post
You should scan for the pointer, find out what acces the adresses.
I belive 'Fleep' had a tutorial on pointer scanning.
oh... edit posts already i wrong question
how to write engine.dll+000xxxxx pointer to C++
#3 · 13y ago
AeroMan
AeroMan
You should find the static pointer (one that remains the same everytime) then you could write to engine.dll + the pointer.

Credits to fleep for the video!
Hoop this helps somehow
#4 · 13y ago
CH
cheaayanshaw
my question is how to add "Engine.dll"+0008983 this address to :

Code:
#include <windows.h>

#include <stdio.h>
/*================================ Antiwall ================================*/
#define Antiwall 0x12F5FC
#define Antiwall2	0x2c0
#define Antiwall3 66269
/*================================ Antiwall OFF ================================*/
#define oAntiwall 0x12F5FC
#define oAntiwall2	0x2c0
#define oAntiwall3 66279
/*================================================= =============================*/

DWORD XpsBlackHat = 0;
LPTSTR COD = "MAT.exe";

void Patch(void *adr, void *ptr, int size)
{
DWORD NewProtection;
VirtualProtect(adr,size,PAGE_EXECUTE_WRITECOPY, &NewProtection);
memcpy(adr,ptr,size);
VirtualProtect(adr,size,NewProtection, &NewProtection);
}


DWORD WINAPI LoopFunction(LPVOID param)
{
while (1) {

if (GetAsyncKeyState(VK_PRIOR)&1) 
*(int*)((*(int*)Antiwall) + Antiwall2) = Antiwall3;
Sleep(100);
if (GetAsyncKeyState(VK_NEXT)&1) 
*(int*)((*(int*)oAntiwall) + oAntiwall2) = oAntiwall3;
Sleep(10);
} 
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH) { 
MessageBox(0,"ON : Pageup / OFF PageDown","INFORMATION",MB_OK | MB_ICONINFORMATION);
CreateThread(0, 0, LoopFunction, 0, 0, 0);
}
return TRUE;
}
#5 · 13y ago
EU
eukaryote
I am quite sure "GetCurrentProcess()" will return the process base address, I am no expert on the windows specific libraries though.
#6 · edited 13y ago · 13y ago
Hell_Demon
Hell_Demon
GetModuleHandle("Engine.dll")
#7 · 13y ago
KE
Kenshin13
If you're injecting:
Code:
DWORD Offset = (*(DWORD*)(*(DWORD*)((*(DWORD*)(DWORD)GetModuleHandleA("Engine.dll")) + 0x538)) + 0x530)) + 0x11D7;
#8 · 13y ago
CH
cheaayanshaw
Quote Originally Posted by Kenshin13 View Post
If you're injecting:
Code:
DWORD Offset = (*(DWORD*)(*(DWORD*)((*(DWORD*)(DWORD)GetModuleHandleA("Engine.dll")) + 0x538)) + 0x530)) + 0x11D7;
have complete source? i don understand all
#9 · 13y ago
LE
letitrain
A pointer is pretty much one address which has a value + an offset which point to another address.

In your case:

Code:
( *(DWORD*) ( *(DWORD*) GetModuleHandle ( "Engine.dll" ) + offset ) + offset ) + offset;
#10 · 13y ago
Coituz
Coituz
If you're making external hack which means a console ones you will be using it as this :
Code:
DWORD dwGetModuleBaseAddress(DWORD dwProcessIdentifier, TCHAR *lpszModuleName)
{
   HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, dwProcessIdentifier);
   DWORD dwModuleBaseAddress = 0;
   if(hSnapshot != INVALID_HANDLE_VALUE)
   {
      MODULEENTRY32 ModuleEntry32 = {0};
      ModuleEntry32.dwSize = sizeof(MODULEENTRY32);
      if(Module32First(hSnapshot, &ModuleEntry32))
      {
         do
         {
            if(_tcscmp(ModuleEntry32.szModule, lpszModuleName) == 0)
            {
               dwModuleBaseAddress = (DWORD)ModuleEntry32.modBaseAddr;
               break;
            }
         }
         while(Module32Next(hSnapshot, &ModuleEntry32));
      }
      CloseHandle(hSnapshot);
   }
   return dwModuleBaseAddress;
}

//to use it:

int main()
{
DWORD baseAddr = dwGetModuleBaseAddress(PId, _T("Engine.dll")); 
DWORD staticOffset = 0x000000;

//now read process memory like this after you open the process and find window , etc..

ReadProcessMemory(hProcess, (LPCVOID)(baseAddr+staticOffset), &pointed, 4, NULL); // Accesses TARGET process memory
}
If you're using it inside a dll:

Code:
DWORD dwModule = (DWORD)GetModuleHandle("Engine.dll");
DWORD staticOffset = 0x000000;

DWORD dwAddress = *(DWORD*)(dwModuel + staticOffset);
#11 · 12y ago
mmt1994
mmt1994
Get Address and add offset , change vlaue
Code:
#include <windows.h>
#include <stdio.h>
#define RPOINTER1 0x7D28AC4
#define RPOINTER4 0x77C4F04
#define RPOINTER7 0x20943C

bool FuncName = false;
void TheHacks()
{
	while(1)
	{
		DWORD hModule = (DWORD)GetModuleHandle("vietguard.antihack");
		DWORD dwPtr1 = *(DWORD*)(hModule + RPOINTER1);
		DWORD dwPtr4 = *(DWORD*)(hModule + RPOINTER4);
		DWORD dwPtr7 = *(DWORD*)(hModule + RPOINTER7);
		if (GetAsyncKeyState(VK_F5)&1) FuncName = !FuncName;
		if (FuncName)
		{
			if (dwPtr4) *(DWORD*)(dwPtr4 + 0x318) = 227972;//Delay Attack
			if (dwPtr4) *(DWORD*)(dwPtr4 + 0x24) = 0;//Death Kill
			if (dwPtr4) *(DWORD*)(dwPtr4 + 0xe) = 0;//Patch Kill
			if (dwPtr1) *(DWORD*)(dwPtr1 + 0x40) = 65535;//Fake Mana
			if (dwPtr4) *(DWORD*)(dwPtr4 + 0x208) = 7358;//Fake Wing
			if (dwPtr7) *(BYTE*)(dwPtr7 + 0x14) = 150;//Speed
		}
		Sleep(50);
	}
}

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
	if (dwReason == DLL_PROCESS_ATTACH)
	{
	   CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)TheHacks, NULL, NULL, NULL); //create the new Thread
	}
	return TRUE;
}
#12 · 12y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • [TuT] How to write a pointer in vb6By cjg333 in General Game Hacking
    5Last post 16y ago
  • [Solved] How to write ] or [ in CF? (this-> [])By KaboomYA in CrossFire Help
    10Last post 15y ago
  • My UCE pointer finder works but how do i find pointer in WarRock?By scooby107 in WarRock - International Hacks
    9Last post 19y ago
  • How do i put pointers in tmkBy Twisted_scream in WarRock - International Hacks
    0Last post 19y ago
  • I need someone to write this code hereBy EyalZamir in WarRock Korea Hacks
    2Last post 19y ago

Tags for this Thread

None