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 › Can somebody give me a hack code and.. ... ?

LightbulbCan somebody give me a hack code and.. ... ?

Posts 1–8 of 8 · Page 1 of 1
TH
thekm1994
Can somebody give me a hack code and.. ... ?
Can somebody give me a hack code in c++ and in every line to write for what did he did it ? i mean to show me that i will know every step for how using and chnaging poiters of the game and some cool staffs like it ?


Thank you !!/yea
#1 · 16y ago
MW
mwb1234
Quote Originally Posted by thekm1994 View Post
Can somebody give me a hack code in c++ and in every line to write for what did he did it ? i mean to show me that i will know every step for how using and chnaging poiters of the game and some cool staffs like it ?


Thank you !!/yea
What game are you looking for? More description please
#2 · 16y ago
Void
Void
First, get familiar with pointers: Pointers.

Steps:

-Get the process ID
FindWindow
GetWindowThreadProcessId

-Get process handle
OpenProcess

-Write to processes memory
WriteProcessMemory

If you're injecting a module into the process it's a lot easier since you have direct memory access. You'll know what this part means once you've got pointers all figured out.

I believe spwn has a thread with some code using all these functions, check it out..
#3 · 16y ago
TH
thekm1994
mwb12
any game ! better to shoting game
#4 · 16y ago
MW
mwb1234
Void said all you need to know. I was just gonna say if you wanted combat arms hacks, you can just use this function:
[php]
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *L***ient = ( DWORD* )( 0x37775D68 );
void* CONoff = ( void* )*( DWORD* )( *L***ient + 0x208 );

__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
[/php]

Example Usage in a C&Pable base:
[php]
#include <windows.h>
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *L***ient = ( DWORD* )( 0x37775D68 );
void* CONoff = ( void* )*( DWORD* )( *L***ient + 0x208 );

__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll" ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll" ) != NULL )
return true;

return false;
}


void main()
{
while (!IsGameReadyForHook()){
Sleep(20);
}
bool chams = false;
while(true){
if(GetAsyncKeyState(VK_NUMPAD1)<0){
PushToConsole("SkelModelStencil 0");
chams = false;
} else {
PushToConsole("SkelModelStencil 1");
chams = true;
}
}
}

BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
[/php]

And yes, void covered any other game hacking
#5 · 16y ago
TH
thekm1994
but pls write near any line what you did there , that code s hard , i know to red codes but i wanna learn more !!!
#6 · 16y ago
Void
Void
It's only hard because you haven't even gotten passed being able to make a simple calculator on your own.
#7 · 16y ago
Hell_Demon
Hell_Demon
Learn the basics of C++ first, hacking is not something you should try and do if you're a beginner in C++...

~ locked ~
#8 · 16y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • Can anyone give me cf hack codes for c++ plsBy deniz617 in CrossFire Help
    8Last post 15y ago
  • Can someone give me a good injector and hacks i.e. player seeing pleaseBy aligisgod in Combat Arms EU Help
    1Last post 15y ago
  • Can somebody give me the link for c++ and can somebody help me use itBy deathr3in in Combat Arms Help
    2Last post 15y ago
  • hi can anyone give me a promo code i need one plzzzzBy theman11 in WarRock - International Hacks
    18Last post 18y ago
  • CAN ANYONE GIVE ME SOME HACKS?By Killallnoobs112 in WarRock - International Hacks
    2Last post 18y ago

Tags for this Thread

None