You're getting this error because the given example for hooking has not been updated to conform with the rest of the changes made to the library and template.
You can work around this issue by trying the following :
// You must do this if you're working with a 64-bit binary because of ASLR
MSHookFunction((void*)(_dyld_get_image_vmaddr_slide(0) + 0x000000000), (void*)newFunction, (void**)&oldFunction);
//Otherwise, you can omit "_dyld_get_image_vmaddr_slide(0)"
MSHookFunction((void*)(0x000000000), (void*)newFunction, (void**)&oldFunction);
Moreover, if you're only applying a hook, you don't need to define offsets or patches. All you need is the label and description.