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 › MultiPlayer Game Hacks & Cheats › Call of Duty Hacks & Cheats › Call of Duty 7 - Black Ops Hacks & Cheats › Call of Duty Black Ops Coding, Programming & Source Code › D3D Player Return Address / Chams by string

D3D Player Return Address / Chams by string

Posts 1–3 of 3 · Page 1 of 1
xbeatsszzx
xbeatsszzx
D3D Player Return Address / Chams by string
Code Below does wallhack the players and some wiring / random models, but doesn't cham them with Textures, so i'd suggest trying pixels.

However the return address is correct which leads back to the function at 0x7546D0 which parses player models. I'm pretty sure the struct is at [ esp + 0x14 ] but where the model names are from there i haven't looked yet!

Code:
extern "C" LPVOID _ReturnAddress( );
typedef HRESULT	(WINAPI *DrawIndexedPrimitive_t)( LPDIRECT3DDEVICE9 lpDevice, D3DPRIMITIVETYPE PrimitiveType, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT StartIndex, UINT PrimCount );
DrawIndexedPrimitive_t orig_DrawIndexedPrimitive = NULL;
HRESULT	WINAPI DrawIndexedPrimitive_Hook( LPDIRECT3DDEVICE9 lpDevice, D3DPRIMITIVETYPE PrimitiveType, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount )
{
	if( _ReturnAddress( ) == (void *)0x75474C )//Players and some wires etc...
	{
		lpDevice->SetRenderState( D3DRS_ZENABLE, FALSE );
		lpDevice->SetRenderState( D3DRS_LIGHTING, TRUE );
		lpDevice->SetTexture( 0, EnemyTextureVisible );
		orig_DrawIndexedPrimitive( lpDevice, PrimitiveType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount );
		lpDevice->SetRenderState( D3DRS_FOGENABLE, FALSE );
		lpDevice->SetRenderState( D3DRS_ZENABLE, TRUE );
		lpDevice->SetRenderState( D3DRS_LIGHTING, FALSE );
		lpDevice->SetTexture( 0, FriendTextureVisible );
	}

	return orig_DrawIndexedPrimitive( lpDevice, PrimitiveType, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount );
}
Credits:
Decor911
#1 · 15y ago
JamesA1994
JamesA1994
Thanks for sharing ;D
#2 · 15y ago
xbeatsszzx
xbeatsszzx
Quote Originally Posted by JamesA1994 View Post
Thanks for sharing ;D
Your welcome .
#3 · 15y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Tags for this Thread

None