Rewrite function set_global_data_value/read_global_data_value