比如,Windows 系统中的消息钩子,能够拦截系统中的消息 ... 函数钩子管理类 class FunctionHookManager { public: static void install_hook() { std::cout << "安装函数钩子..." << std::endl; original_add_numbers = add_numbers; // 保存原始函数地址 // ...