modify a vtable address obtaining routine