[TUT] IDA Pro - engfunc offsets
For those who play with IDA over metamod/cs/engine, here's the list of engfunc calls with its offsets numbers (as they apper in IDA).
As an example, you can see this in IDA PseudoCode window: Code:
(*(void (__cdecl **)(_DWORD, int (*)()))&g_engfuncs[560])("some_command", command_function); It's pfnAddServerCommand so this call it's to add some_command console command. I'm not sure if pfnKeyNameForBinding it's included or not in engine library. I guess not so the offsets at bottom of lists should be fine. If someone knows about that, please let me know and I'll update the list. PHP Code:
|
Re: [TUT] IDA Pro - engfunc offsets
You don't need the offsets to hook/execute such functions.
|
Re: [TUT] IDA Pro - engfunc offsets
Quote:
|
Re: [TUT] IDA Pro - engfunc offsets
Ok. I did not understand this way. Btw, one thing you can do is to create a structure in IDA. It's what I do to show the name in linux. I can't write a full list in IDA for some reasons ( some bugs? ) but enough for the most used. ( maybe you have done that )
|
Re: [TUT] IDA Pro - engfunc offsets
Quote:
Can you export your custom structures/enums to share? |
Re: [TUT] IDA Pro - engfunc offsets
Thanks
|
Re: [TUT] IDA Pro - engfunc offsets
I can't do it right now because all my struct/enum is in a mess. :mrgreen: When you add big structure you have to add others sub-structures before, things I've added after to "fix" the main structure. In IDA it doesn't matter because it's dynamic but by exporting it will written in order of creation, so it will fail in importing. Of course it's something you can change manually in the file. Also, there is some structs it will be impossible to import automatically like edict_s because it needs the entvars_s, but entvars_s needs edict_s too... :twisted: something you can add manually easily.
|
Re: [TUT] IDA Pro - engfunc offsets
Quote:
|
All times are GMT -4. The time now is 02:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.