mapi/new: use the static_data offsets in the new generator