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 › inline asm, jumping.

inline asm, jumping.

Posts 1–6 of 6 · Page 1 of 1
MA
mavi2k
inline asm, jumping.
inline asm code:
Code:
__asm{
	cmp eax,ecx
	jbe 0x12345678
}
becomes
Code:
0034159C  cmp eax,ecx 
0034159E  jbe main+34h (3415A4h)
anyone know how to make it jump to specified address (0x12345678)?
thanks.
#1 · 15y ago
freedompeace
freedompeace
ohaiidesu i incorrectly read the question
#2 · edited 15y ago · 15y ago
FO
Fovea
Code:
mov eax, 0x12345678
jmp eax
Code:
push 0x12345678
ret
Code:
DWORD dwAddress = 0x12345678
/**************************/

jmp dword ptr ds:[dwAddress]
#3 · 15y ago
MA
mavi2k
my bad, regular jmp work. other jump instruction jumps to wrong place (ja,jna,je,jne,jb,jba, you name it), jbe in my case. guess i'll have to modify it with olly after compiled.
or it might just be vc++ 2008?
thanks.
#4 · 15y ago
Hell_Demon
Hell_Demon
Quote Originally Posted by mavi2k View Post
my bad, regular jmp work. other jump instruction jumps to wrong place (ja,jna,je,jne,jb,jba, you name it), jbe in my case. guess i'll have to modify it with olly after compiled.
or it might just be vc++ 2008?
thanks.
They are relative jumps.
Just add a normal jmp to where you want to go below it and jump over it with ja
#5 · 15y ago
MA
mavi2k
Quote Originally Posted by Hell_Demon View Post
They are relative jumps.
Just add a normal jmp to where you want to go below it and jump over it with ja
fixed it with:

Code:
			cmp eax,ecx
			jbe GG
			jmp ERR
GG:
			jmp OKK
thanks for your help.
#6 · 15y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Tags for this Thread

None