Skip to main content

别名

  • restorefunc
  • restoreclosure

参数

function
必填
只有一个 argument 时,是要从 hook records 恢复的 hooked closure。存在 function second argument 时,是要安装到 secondFunction 的 function。
function
要用 firstFunction patch 的 optional closure。此 branch 仅在 second argument 是 function 时使用。

示例

Restore a hooked closure to its original function.