taylorjonl
April 21st, 2005, 19:14
I have been stumbling around IDA for a few days and am getting the hang of it, sorta. I am trying to figure out if it is able to follow the function arguments. I have defined the function below but it doesn't auto follow ECX like I thought it would.
I have read through the help file but it is very lacking, this has got to be one of the most un-userfriendly programs I have ever used. btw, I am using 4.7.
If you can tell me how to set this up I would appreciate it. Also would like to know if it can mark the arguments going into the function when it is called.
Code:
.text:6FAA1140
.text:6FAA1140 ; ŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚ S U B R O U T I N E ŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚ
.text:6FAA1140
.text:6FAA1140
.text:6FAA1140 ; void __fastcall sub_6FAA1140(CellFile *UiImage)
.text:6FAA1140 sub_6FAA1140 proc near ; CODE XREF: sub_6FAA7440+Cp
.text:6FAA1140 ; sub_6FAA7440+2Dp ...
.text:6FAA1140 push esi
.text:6FAA1141 mov esi, ecx
.text:6FAA1143 push esi
.text:6FAA1144 call D2CMP_10032 ; Call Procedure
.text:6FAA1144
.text:6FAA1149 test esi, esi ; Logical Compare
.text:6FAA114B jz short loc_6FAA115D ; Jump if Zero (ZF=1)
.text:6FAA114B
.text:6FAA114D push 0
.text:6FAA114F push 7Ah
.text:6FAA1151 mov edx, offset aCProjectsD2_10 ; "C:\\projects\\D2\\head\\Diablo2\\Source\\D2Cl"...
.text:6FAA1156 mov ecx, esi
.text:6FAA1158 call Fog_10043 ; Call Procedure
.text:6FAA1158
.text:6FAA115D
.text:6FAA115D loc_6FAA115D: ; CODE XREF: sub_6FAA1140+Bj
.text:6FAA115D pop esi
.text:6FAA115E retn ; Return Near from Procedure
.text:6FAA115E
.text:6FAA115E sub_6FAA1140 endp ; sp = -0Ch
.text:6FAA115E
I have read through the help file but it is very lacking, this has got to be one of the most un-userfriendly programs I have ever used. btw, I am using 4.7.
If you can tell me how to set this up I would appreciate it. Also would like to know if it can mark the arguments going into the function when it is called.