If you are getting sub fields then you need a loop, the loop will need the post ID but the sub fields do not. https://www.advancedcustomfields.com/resources/how-to-get-values-from-another-post/
if (have_rows('repeater_field_name', $post_id)) {
while (have_rows('repeater_field_name', $post_id)) {
the_row();
the_sub_field('sub_field_name');
}
}