Where does the typeName on line 30 come from? It's value is not shown. My guess is that the name is wrong (pre_hook_out_list instead of pre_hook_out_paramList), but you might also be missing a schema name there. I may be wrong, though, my experience in this area is limited.
Could you post the code - as you run it - again? I really cannot figure out how the code snippet in your last post relates to the rest of your code. And please make sure to show how the typeName variable is initialized, it is crucial to this question.