This is a simple working dll skeleton I made for anyone interested in taking it and adding to it to learn or whatever they feel like doing. I am not a C++ professional and some of the code may be bad who knows but as a simple skeleton maybe someone can learn something from it. As it is now after injecting you can press F7 to register the lua functions and print your localPlayer base address, furthermore you may press F4 to unload the dll from wow.
The included lua functions are below
SetVisibleItem params are the unit(only "player" supported), the slot id you wsh to modify, and the item id you wish to modify that slot to.
The example will make your character have thunderfury in their mainhand.
Code:
SetVisibleItem("player", 16, 19019)
UpdateModel("player")
Remember this is not a full fledged morpher that is not its intention this is just a simple thing I tossed together so anyone interested in learning about morphers can take this code and add to it/improve it for their own needs.
GitHub - Icesythe7/MorphTutorial