I'm reverse engineering a relatively small program so that I can reimplement it in java for my phone. I'm pretty sure that it's a fairly simple exercise, but I need to dump the function arguments for a set of key internal functions within the program. I took a look at dumbug which does exactly what I want, i.e. allow me to specify function prototypes and print them out as they are called. Unfortunately, it only works with exported symbols, which isn't sufficient.

I can use ollydbg's conditional log breakpoints to dump (it appears) a maximum of one argument per function call, and even then I can't get it to dump, say, an array of 32 bytes in hex.

Can someone tell me what's the best way to do this, or point me at an example? Do I need to write a plugin, is there one already, or could I do it with ollyScript?