diff --git a/XenonUtils/xex.h b/XenonUtils/xex.h index 2da0b96..4da99df 100644 --- a/XenonUtils/xex.h +++ b/XenonUtils/xex.h @@ -218,10 +218,20 @@ struct Xex2ImportLibrary be numberOfImports; }; +// https://github.com/emoose/idaxex/blob/198b1d52414d35926644bbeec607b3feac5f44e7/formats/pe_structs.hpp#L140-L150 struct Xex2ImportDescriptor { - be firstThunk; // VA XEX_THUNK_DATA + union + { + be characteristics; + be originalFirstThunk; + }; + be timeDateStamp; + be forwarderChainId; + be moduleName; + be firstThunk; }; +static_assert(sizeof(Xex2ImportDescriptor) == 0x14, "Xex2ImportDescriptor"); struct Xex2ThunkData {