Factor out bankshot2_update_offset