renamed get_opt_real_func_call() to get_opt_real_function_call()