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 › Help Code Asm In C++

Help Code Asm In C++

Posts 1–6 of 6 · Page 1 of 1
SP
spartacchio
Help Code Asm In C++
hello
i use Vcpp 6,and i'm trying to put ASM (in Block or In line is equal) in my code.
In header i add <window.h> but when i declare f.ex. mov,jmp,nop... in ASM function(i follow MSDN samples so the code(i try ASM block and also In line) should be right).
i need to change something in debug setting??
I think that Vcpp use MASM debug or i'm wrong?

Plz answer,thx!
#1 · 18y ago
nbr1dan
nbr1dan
If your using asm why don't you just compile it MASM? Instead of trying to compile it Visual C++.
#2 · 18y ago
SP
spartacchio
Quote Originally Posted by nbr1dan View Post
If your using asm why don't you just compile it MASM? Instead of trying to compile it Visual C++.
^^ i don't know so much ASM but i know the base and how to code a code cave.
I like and preffer to use ASM in c++ ^^ and i also like to know why Vcpp 6 can't read my ASM code
#3 · 18y ago
radnomguywfq3
radnomguywfq3
-.- You want to write ASM(BYTE) code into a program, or you want to execute ASM code within you C++ code?

If you want to write a code cave, you should know at least the basics of ASM, seeing as the code cave will be programmed in ASM, then you have to convert the ASM code you wrote into bytes, then use the WriteProcessMemory API call to write them.
#4 · 18y ago
SP
spartacchio
Quote Originally Posted by Jeremy View Post
-.- You want to write ASM(BYTE) code into a program, or you want to execute ASM code within you C++ code?

If you want to write a code cave, you should know at least the basics of ASM, seeing as the code cave will be programmed in ASM, then you have to convert the ASM code you wrote into bytes, then use the WriteProcessMemory API call to write them.
ok,look __asm

MSDN explain that u can write a part of your code directly in ASM,i saw that i can do a code cave in ASM (with asm syntax),but Vcpp cant read my asm^^ nop,call,jmp...are ALL undeclared for it.

I know how to do a code cave in ASM (never do it but study how can i do it,i like to try with ASM code directly in C++ code.
I don't know how to find my ASM byte of the code cave,but i know how to do a code cave directly in ASM.
Can anybody HELP ME?
I can't write some functions if i don't find how to write a code cave in C++ .
If u don't know how to help me with ASM code can u explian me how to find ASM byte(i just know how to find real byte do nop something address) and write a "writeprocessmemory ""code cave"""
i always think that code cave is only in ASM because with c++ i cant do a jump to another addy and than jump again.
#5 · 18y ago
radnomguywfq3
radnomguywfq3
Umm..Thats called executing ASM code in your C++ code\project.
#6 · edited 18y ago · 18y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • Help with ASM in module...By gbitz in Visual Basic Programming
    3Last post 18y ago
  • I WANT TO HELP CODE!!By youngbuck1970 in Alliance of Valiant Arms (AVA) Help
    7Last post 15y ago
  • help codeBy xSmilex83 in Visual Basic Programming
    0Last post 18y ago
  • [HELP] Codes in game moving around after updateBy mynameisjack in General Game Hacking
    3Last post 17y ago
  • Need help coding trainersBy CoderNever in General
    12Last post 17y ago

Tags for this Thread

#asm#code