This is not possible at all, since the .so file does not contain enough information about parameter lists, especially if non-standard types (for example, structures) are used, since the type information is not part of the .so file.
Even if only standard types are used, the argument list is not part of the ELF character table (see http://refspecs.linuxbase.org/elf/elf.pdf 1-15ff.).
, (= ), DWARF- , . ? .