This is the code shown in my Odin Hot Reload article: https://zylinski.se/posts/hot-reload-gameplay-code/
NOTE: I have a more recent and much more in-depth template for hot reload here: https://github.com/karl-zylinski/odin-raylib-hot-reload-game-template