The custom return value was lost when calling the original function. Save and restore our own return value, if we're about to call the original function.
Switch to amtl Vector.
https://github.com/Ayuto/DynamicHooks