Can anyone show me an example of how to use physical offsets of an address and detour that? I'm trying to get the userid from a function, but its neither a this pointer, parameter or a return, but instead its an offset in the function.
PHP Code:
mov dword ptr [esp+4], offset aUserid ; "userid"
How do I solve this? Seems like its pointer + the offset.
__________________