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 › Byte search C++

Byte search C++

Posts 1–10 of 10 · Page 1 of 1
SC
scriptkiddy
Byte search C++
Hey guys! I have made some memory edits for C++, but I have a problem:

1: The pointer for this game is NOT static, so it keeps changing on game restart.

2: How do I change opcodes and preform functions such as mov eax, [1000]

3: So, this is basically like question number one, I read somewhere that you can make C++ scan for bytes in a process (I know how to open a process). So basically, my bytes are:

29 83 14 03 00 00

and the opcode is

sub [ebx+00000314],eax

My question is, how do I find this and get the memory address, so that I can edit its value or change the opcode?

What function do I use? for sure it can't be ReadProcessMemory, what would it be?

Tyvm for your time, hopefully somebody can help me ou on this

I want to do this in a C++ trainer, so which function should I use to find the pointer?
#1 · edited 16y ago · 16y ago
Z0d14k
Z0d14k
Hi,

you have tu unpack warrock.exe debug it with ollydb and search for the addres.. and you will see the off bytes.
For the on byte try to NOP it, if it doesent work you have to search the correct bytes.
#2 · 16y ago
Noxit
Noxit
Wow complicated shit
#3 · 16y ago
Lolland
Lolland
Wow, post count +1.
#4 · 16y ago
why06
why06
I think they are talking about two different things. The first involves scanning for bytes using C++.... making a program to do so, sort of like they do in address loggers. What Zodiak is talking about is using a plugin for Olly to unpack warrock and just reverse it manually.

I saw a function a while back in some old source for an address logger. Maybe I can find it for you.
#5 · edited 16y ago · 16y ago
radnomguywfq3
radnomguywfq3
It's fairly simple, before I explain, let me state that I totally disagree with what Z0d14k has said. If you're going to make a hack, reverse engineer it yourself, and patch it yourself, don't hijack shellcode from other people(whether it only be 1 byte long or not).

A signature scan is pretty simple, all you're going to need is memcmp and an array of bytes holding your signature.(assuming you're injecting executable code into the target, otherwise you'll need to use readprocessmemory api to dump a region of the target into a buffer and scan that.) Simply start at any address(where in virtual memory the game was loaded is a good place) and use memcmp, increasing the index from the base address by one byte every time a match isn't made with the byte array you're looking for(also known as a signature), when a match is made, return the address you last checked. I wrote a signature scanning class a while ago, I'll see if I can dig it up. They wouldn't take long to write though.
#6 · 16y ago
SC
scriptkiddy
sorry double post plz delete, and ty Jetamay. Dont need your source, figured it out with your idea. Tyvm.

Resolved. No, this wasn't asking how to search for memory addresses, I am not retarted. It had to do with DLL injection.

Thanks for the idea dude. It worked. Will give you credit when I use this.
#7 · edited 16y ago · 16y ago
Matrix_NEO006
Matrix_NEO006
Do u mean this ??


Code:
BYTE Array1[] = { 0xc7, 0x86, 0x00, 0x01 }
DWORD Address = 0x123456;

WriteProcessMemory(phandle, (LPVOID) Address1,(LPVOID) &Array1, sizeof(Array1), 0);
#8 · 16y ago
SC
scriptkiddy
Quote Originally Posted by Matrix_NEO006 View Post
Do u mean this ??


Code:
BYTE Array1[] = { 0xc7, 0x86, 0x00, 0x01 }
DWORD Address = 0x123456;

WriteProcessMemory(phandle, (LPVOID) Address1,(LPVOID) &Array1, sizeof(Array1), 0);
nope, injected memory scan, but I already figured out how to make it using his idea.
#9 · 16y ago
why06
why06
Quote Originally Posted by scriptkiddy View Post
nope, injected memory scan, but I already figured out how to make it using his idea.
Hmmm... that's what I thought you meant too. What's an injected memory scan?
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • Help in searching BytesBy D3t0N4t3 in WarRock Hack Source Code
    3Last post 15y ago
  • [Help]Searching for BytesBy Cryptonic in Combat Arms Coding Help & Discussion
    8Last post 15y ago
  • Hi;Searching for hackBy Silverman in General Game Hacking
    0Last post 20y ago
  • Differences in Bytes.By Dave84311 in Game Hacking Tutorials
    0Last post 20y ago
  • Beginner Guide to using T-SearchBy arunforce in Game Hacking Tutorials
    0Last post 20y ago

Tags for this Thread

#byte#search