The type of the lookup_func is defined in the xtensa/tie/cstub-extif.h file in the Xtensa model build directory.
xtensa/tie/cstub-extif.h