So im wondering how i can retrieve the adress of the definition instead of the adress of the declaration via dereferencing the startaddress of a c++ function.
To be more concrete:
My function to retrieve the address of the function:
I have this function i want to hook:
But i want the address of the definition so i can hook a call instruction within the function.
Is there anyway how i can retrieve the address of the definition from here?
If you need any more information please tell me and i will provide.