Generalise finding of function pointers inside arrays/structs/globals
to be able to handle any level of indirection of these 3