emit function table calls including masks