I did notice there is no interpolate_baked function in Godot4, there is any way to workarround this or I had to manually implement something ?
Source code on Godot3:
https://github.com/godotengine/godot/blob/ac3322b0af8f23e8e2dac8111200bc69b5604c9f/scene/resources/curve.cpp
Source on Godot4:
https://github.com/godotengine/godot/blob/69f488e687dfb3526722d8511d3ce25a95b8fc4b/scene/resources/curve.cpp