This is my datapack with my functions and commands that I have written.
Put this folder in the datapacks folder of your world.
If you are running the game then type /reload
in chat.
To use this datapack type /function 0x4248:<function>
in chat.
To list all the functions in this pack type /function 0x4248:list
in chat.