Jump to content

Using IDA to generate function names


Recommended Posts

Well i was looking through the GTA:SA Memory Research topic and found this post by Dexx:

 

http://www.gtaforums.com/index.php?showtopic=194199&st=520#

 

These functions were generated from IDA, mine doesn't seem to generate nearly as much confused.gif , only External functions are documented in mine, is there something i am doing wrong? (IDA Version 5.0.0.879)

Link to comment
https://gtaforums.com/topic/278674-using-ida-to-generate-function-names/
Share on other sites

That's the whole point of reverse engineering, you start with nothing and research until you find new memory addresses. Most of the functions of Dexx will have been labelled by himself, just like other people have done (Seemann has exported a function list as well).

 

Unless you can find someone that's going to give you an .idb file, you're going to have to label everything yourself (right click on a function/variable, and click on Rename).

 

Most of the functions of Dexx will have been labelled by himself, just like other people have done (Seemann has exported a function list as well).

 

I'll quote Dexx:

 

 

Some of the functions i've named myself, most i haven't.

 

He also states that functions of interest are Renderware functions _Rw, something my IDA has never generated, i only have 1 Renderware function which i labeled myself

Most of the functions of Dexx will have been labelled by himself, just like other people have done (Seemann has exported a function list as well).

 

I'll quote Dexx:

 

 

Some of the functions i've named myself, most i haven't.

 

He also states that functions of interest are Renderware functions _Rw, something my IDA has never generated, i only have 1 Renderware function which i labeled myself

That's because they're named in the GTA III PS2 SLES files. He labelled them himself, he just didn't call them what he considers appropriate.

ModelingMan

No 3D GTA contains function names in their executables apart from GTAIII PS2. The only way you will be able to label your functions properly is to compare the disassembled code to GTAIII PS2. Some are easy, others are tough since they require knowledge on how MIPS RISC works. It's a very time consuming process, to date I have roughly 1600 functions labelled in my disassembly, and that's been since "GTA: Connection" was around...

IDA supports custom scripts written in language similar to C++. You may write your own script which will generate function names based on what the function doing or using external docs (RW sources for example).

 

To know how huge this ability is, see .IDB file for gta_sa.exe made by listener (extremely smart guy from sannybuilder.com forums).

 

Link removed

 

 

I hope posting a link to the .IDB file doesn't break the rules. Delete this post, if so.

 

Indeed it is against the rules.

Edited by Suction Testicle Man

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.