Bit of an IDA Pro newb here.
I have a function which I'm trying to reverse and I determined that the first argument is a pointer to a structure. I defined a structure of the appropriate name and now I want to propogate this information into the function itself. Is there a way to do this? If IDA pro knew that this parameter was a pointer to this structure, then in theory it should be able to update all kinds of references that say things like mov edx, dword ptr [eax+4] to something like mov edx, dword ptr [arg_0->Field2]
Or at least that's what I'd like anyway.
Also I made a few errors while playing around in this function, and now the function looks like junk. Not exactly sure what I did, but is there a way to just say "re-analyze this entire function so that it's exactly like it was at the very beginning"?







