I can’t say exactly where I’d start or how I would work through it.
I would actually probably start in acf-field-group-functions.php in the function acf_get_field_groups() and then try to work either backwards or forwards in the code depended on what that function is getting.
I would look into this myself if I had a site that was doing it, but I can’t debug something I can’t recreate.