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 › [2 Questions][C++][Pointers]

[2 Questions][C++][Pointers]

Posts 1–3 of 3 · Page 1 of 1
Aqollo
Aqollo
[2 Questions][C++][Pointers]
I have 2 questions here reguarding what both of these lines do. I just added the brace in for the purposes of the block starting even though it's not complete. I DO NOT TAKE CREDIT FOR THIS. I just wanted to learn from this.

void PushToConsole(char* szVal)
{
void* vSetVar = (void*)0x46F670;

1. Is this line:

void PushToConsole(char* szVal)

A void pointer function declartion, in which szVal is a pointer to a function that will be taking 1 parameter which is of char data type?
Just wondering if this is right?

2.
In this line:
void* vSetVar = (void*)0x46F670;

I'm not to sure here but: declaring vSetVar of a void type pointer, in which were type casting the addy into void. This one I'm not to sure. Maybe someone can tell me better what this one does..
#1 · 15y ago
Void
Void
1. It's not a pointer to a function, it's just a character array.

2.It's giving the variable SetVal ( which is initialized as a pointer ) the address you're assigning it. Later on you'll probably be pointing to it's contents, but you didn't post that much.
#2 · 15y ago
Aqollo
Aqollo
Thanks for helping
#3 · edited 15y ago · 15y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • Question on PointersBy mains3rv3r in WarRock - International Hacks
    8Last post 19y ago
  • [Question]Team Pointer?By mastermods in Combat Arms Hack Coding / Programming / Source Code
    20Last post 16y ago
  • [Question] NULL pointers...By Mookamoka in C++/C Programming
    5Last post 15y ago
  • I'm new to c++ and have a question about pointersBy I.P in C++/C Programming
    2Last post 15y ago
  • [QUESTION] Pointer in Dev-C++By yogilek in WarRock - International Hacks
    0Last post 19y ago

Tags for this Thread

None