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 › Steam Games Hacks & Cheats › Counter-Strike 2 Hacks › Counter-Strike 2 Coding & Resources › Simple Sticker Changer

LightbulbSimple Sticker Changer

Posts 1–2 of 2 · Page 1 of 1
Rocapix
Rocapix
Simple Sticker Changer
It ONLY changes stickers for now, maybe on some future update I can make it change skins or you just do that yourself.
Sorry for the code being a litte gay, but yeah:~
SS:


Code:
enum class EStickerAttributeType
{
	Index,
	Wear,
	Scale,
	Rotation
};
 
static uint16_t s_iwoff = 0;
 
static void* o_float_fn;
 
static float __fastcall hooked_float_fn(void* thisptr, void*, int slot, EStickerAttributeType attribute, float fl)
{
	auto item = reinterpret_cast<C_BaseAttributableItem*>(uintptr_t(thisptr) - s_iwoff);
 
	switch(attribute)
	{
	case EStickerAttributeType::Wear:
		return FLT_MIN;
	case EStickerAttributeType::Scale:
		return 1.f;
	case EStickerAttributeType::Rotation:
		return 0.f;
	}
 
	return reinterpret_cast<decltype(hooked_float_fn)*>(o_float_fn)(thisptr, nullptr, slot, attribute, fl);
}
 
static void* o_uint_fn;
 
static unsigned int __fastcall hooked_uint_fn(void* thisptr, void*, int slot, EStickerAttributeType attribute, unsigned fl)
{
	auto item = reinterpret_cast<C_BaseAttributableItem*>(uintptr_t(thisptr) - s_iwoff);
 
	switch(attribute)
	{
	case EStickerAttributeType::Index:
		return 442;
	}
 
	return reinterpret_cast<decltype(hooked_uint_fn)*>(o_uint_fn)(thisptr, nullptr, slot, attribute, fl);
}
 
void ApplyStickerHooks(C_BaseAttributableItem* item)
{
	if(!s_iwoff)
		s_iwoff = NetVarManager::Get().GetOffset(FnvHash("CEconEntity->m_Item")) + 0xC;
 
	void**& iw_vt = *reinterpret_cast<void***>(uintptr_t(item) + s_iwoff);
 
	static void** iw_hook_vt = nullptr;
 
	if(!iw_hook_vt)
	{
		size_t len = 0;
		for(; platform::IsCodePtr(iw_vt[len]); ++len);
		iw_hook_vt = new void*[len];
		memcpy(iw_hook_vt, iw_vt, len * sizeof(void*));
		o_float_fn = iw_hook_vt[4];
		iw_hook_vt[4] = &hooked_float_fn;
		o_uint_fn = iw_hook_vt[5];
		iw_hook_vt[5] = &hooked_uint_fn;
	}
 
	iw_vt = iw_hook_vt;
}
#1 · 8y ago
SH
shiroxarts2k
How about giving credit to the guy you stole this from?
#2 · 8y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • TeknoMW3 Simple FoV ChangerBy Kenshin13 in Call of Duty Modern Warfare 3 Private Server Hacks
    29Last post 12y ago
  • Simple name changer scriptBy saloalv in Other First Person Shooter Hacks
    4Last post 12y ago
  • MW3 Simple FOV changerBy Quentlor in Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    2Last post 11y ago
  • Simple IP ChangerBy mariofan901 in Combat Arms Discussions
    8Last post 17y ago
  • Simple Stat ChangerBy Mikkelc23233 in Call of Duty 8 - Modern Warfare 3 (MW3) Hacks & Cheats
    3Last post 13y ago

Tags for this Thread

#changer#code#source#sticker