r6603: More work on the samdump puzzle. This implements a function pointer