findFunc
fun findFunc(hookList: HookList, needValids: Boolean, func: <Error class: unknown class>? = null): Hook
Finds a #GHook in a #GHookList with the given function.
Return
the #GHook with the given @func or null if no matching #GHook is found
Parameters
hookList
a #GHookList
needValids
true if #GHook elements which have been destroyed should be skipped
func
the function to find