multiple output function both for BP and other C++ functions ?

Thank you Slayemin. I think I got it.

Now if I make a function with multiple Blueprint output via reference ( void MO (int Index, int& X, int& Y) ) , then how can I use that same function inside another c++ function ?

Or do I have to make 2 versions of the function, one for use in BP, one for use in C++ ?

(may be my question is not clear ? I don’t know how to reformulate it differently…)