How to Find Traceline Reverse Engineering IDA Pro Tutorial

Subscribers:
178,000
Published on ● Video Link: https://www.youtube.com/watch?v=paWftS5yhKU



Counter-Strike 2 - formerly Counter-Strike: Global Offensive (CS:GO)
Game:
Category:
Tutorial
Duration: 22:35
13,829 views
0


We will find and reverse engineer the traceline function using IDA Pro.
Support us on Patreon: http://bit.ly/38mnveC

What is traceline?

Traceline is a function which takes two positions in 3d space and discovers if there is a collision in between them. It does this by drawing a virtual line from the source to the destination and on each specific increment it detects if a collision with another object has been detected.

Discussion & More : http://bit.ly/2I5V1dJ

Donate on our Forum : http://bit.ly/2HkOco9
Support us on Patreon : http://bit.ly/38mnveC

Follow us on Facebook : http://bit.ly/2vvHfhk
Follow us on Twitter : http://bit.ly/3bC7J1i
Follow us on Twitch : http://bit.ly/39ywOZ2
Follow us on R3ddit : http://bit.ly/3bvOB57
Follow us on GitHub : http://bit.ly/2HoNXIS
Follow us on Instagram : http://bit.ly/2SoDOlu

How to Find Traceline with ida pro?

If we look at a assaultcube here I am looking at timber so we can see his name in the lower left hand corner when the walls in between us the name disappears so this is using a trace line function to detect that. There's many different ways to find this and there are many different types of these functions used in every 3d game because collision detection is a hugely important part of 3d game programming. So how do you find it? Anytime you're asking yourself that question you have to think logically like you were the game designer. How would I detect if my bullet was gonna hit someone when I pull the trigger?

Well inside my shoot function I would call trace line. How do we get that name in the lower left hand corner to pop up? We need to call trace line. So what you want to do is find things that you know and trace back to things you don't know so I'm gonna show you two ways to find it in assaultcube. If you haven't watched already I did a trigger bot tutorial what teaches you all about it and we do touch on trace line just a little bit and that video shows how you get the name in the lower left-hand corner.

So for this video we're gonna try the different way so we are going to start with our weapon ammo because we want to find our shoot function so to find the shoot function we're gonna start with our current weapon ammo and we're gonna do find out all rights to its address we'll shoot the gun we get the decrement ammo instruction so after we shoot our gun we decrease our ammo so that's probably in or after the gun shoot function so we are going to get the decrement ammo address and we're gonna go straight into Ida Pro.

Paste that in and f5 it I always f5 first get a high-level view of what you're looking at so you can identify important things quickly and then later when you need to really dig into it you can look at the assembly. So let's just say this is the gun shoot function which I'm pretty sure it is we see is a __this call function so that means it's a member function and that this is probably a vTable function. So let's just see if we could identify any of these things here. 0x50F4F4 we know this is the local player pointer let's see what else we can find.
ida pro tutorial
https://guidedhacking.com







Tags:
traceline function
raytrace function
how to find traceline
traceray function
how to find traceray
traceline tutorial
how to call traceline
ida pro tutorial
reverse engineering tutorial
reverse engineering
ida pro
how to use ida pro
ida tutorial
ida pro reverse engineering
reverse engineering games
raytrace tutorial
traceline
raytrace
csgo traceline
raytracer
traceray



Other Statistics

Counter-Strike 2 Statistics For Guided Hacking

At this time, Guided Hacking has 2,022,183 views for Counter-Strike 2 spread across 45 videos. The game makes up 13 hours of published video on his channel, roughly 11.21% of Counter-Strike 2 content that Guided Hacking has uploaded to YouTube.