Renaming Poses of PoseAsset in C++.

Has anyone had any experience renaming the existing poses of a PoseAsset via c++. I’ve tried the following code, where one simply doesn’t work, and the other will rename, but the poses will break.

CurrentPoseNames = Anim_PoseAsset->GetPoseNames();
for (int i = 0; i < CurrentPoseNames.Num(); i++) {
    //Anim_PoseAsset->ModifyPoseName(CurrentPoseNames*.DisplayName, *(split*), &CurrentPoseNames*.UID);
    Anim_PoseAsset->RenameSmartName(*CurrentPoseNames*.DisplayName.ToString(), *split*);
}

I’ve also tried generating the PoseAsset with an array of names, but alas, that too won’t work. Anyone have any clue what I might be doing wrong?