I have an old computer game I want to reverse (Windows 95 "Hover!" to be exact), and I figured out that it uses the MFC.
HexRays often decompiles pseudocode like this, which, for example, deals with an MFC class CWinThread
:
As you can see, the variable this
is the CWinThread
instance, but the layout of it seems undefined, it accesses its members through offsets.
I want / need to find out which members are at which offsets.
Even while easy to guess in the marked example (+48 seems to be the peeked message), there's another member slightly more below at offset +60 about which I have no clue. I searched the MSDN documentation and looked into the header file to find a layout of the class, but couldn't find anything that helped me.
Where would I retrieve such member / memory layout information about MFC classes?