refactor handle_functions; tests pass
catchall for nested function calls
for some reason these new functions don't properly decompile -- catch that here
reorg flow