Calculate target of a thunk function.
\param pfn pointer to function (may not be nullptr)
\param fptr out: will hold address of a function pointer (if indirect jump)
\return the target function or #BADADDR
Get pointer to function structure by address.
\param ea any address in a function
\return ptr to a function or nullptr.
This function returns a function entry chunk.
Get ordinal number of a function.
\param ea any address in the function
\return number of function (0..get_func_qty()-1).
-1 means ‘no function at the specified address’.
Get total number of functions in the program
Get pointer to function structure by number.
\param n number of function, is in range 0..get_func_qty()-1
\return ptr to a function or nullptr.
This function returns a function entry chunk.