For disabled function, to disable arguments checks, we have to reset num_args and some related flags (in addition to arg_info)