Source Code InCrosshair function

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Rawr123

Newbie
Silenced
Apr 23, 2016
4
787
0
Hey again GH, found another function that I found useful and I figured I could share. Looked around on the forums and didn't see any thread mention this in the first few pages at least so I hope this might help someone out! :)

At 0x4607C0 we have a function that takes no parameters and returns the pointer of the player you're currently aiming at.

Hex-rays decomp, not a lot of renaming this time though.



Won't post implementation since it's more or less identical to the last function I posted which can be found here.
https://guidedhacking.com/showthread.php?8016-GetPlayer-function

Here's a small snippet on how to make a really basic triggerbot though.



Have fun, suggestions for a better name for the function is welcome! ^-^
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,073
78,998
2,371
Hey again GH, found another function that I found useful and I figured I could share. Looked around on the forums and didn't see any thread mention this in the first few pages at least so I hope this might help someone out! :)

At 0x4607C0 we have a function that takes no parameters and returns the pointer of the player you're currently aiming at.

Hex-rays decomp, not a lot of renaming this time though.



Won't post implementation since it's more or less identical to the last function I posted which can be found here.
https://guidedhacking.com/showthread.php?8016-GetPlayer-function

Here's a small snippet on how to make a really basic triggerbot though.



Have fun, suggestions for a better name for the function is welcome! ^-^
Awesome dude I never quite figured out the perfect triggerbot for AC
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,073
78,998
2,371
Is there a way to use this function (or a similar way to find in cross hair) externally?
Yeah you can use an external hook to jump to a code cave and then have your code cave call this function, store the return value somewhere, and then have your hack ReadProcessMemory on that variable but this is basically 1/2 internal 1/2 external at this point
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods