The reason I don't use the StaticLoader is that it requires to rebuild the Loader based on the ELF extracted stubs, and I didn't have the knowledge to change that into something I could use without the need of compilation every time.

My main goal was to add the support for ELFs to my hb encrypter, and that's the reason why I was looking for a way to use HBL as a built in loader, with every HBL dependencies along with the targeted hb stored in one single EBOOT.

By the way, in the process of cleaning my code, I encountered a weird issue in the launcher in main.c.