An open source Red Dead Redemption 2 script hook with a similar API to Alexander Blade’s ScriptHookV.
Create a scripts folder in your Red Dead Redemption 2 directory
Place your .asi mods in that folder
Start loader.exe (or use whatever injector you like, can also be done after starting the game)
Start the game
I didn’t test this on the Epic Games version