Implement a callback-based builtin hook using mangled names