Yeah, that's also what the wiki says: https://wiki.winehq.org/Wine_Developer%27s_Guide/Other_Debugging_Techniques
But it also says that some functions can be wrongly interpreted as having more arguments than originally thought.
Honestly, I have no idea how to begin this, my knowledge of assembly is rudimentary. I see that WineDbg has a disassemble option, but I'm not sure how to use it in this context.
If you could guide me through this so that I can learn, I'd really appreciate it.
On Fri, Dec 24, 2021 at 5:28 PM Zebediah Figura (she/her) < zfigura@codeweavers.com> wrote:
On 12/23/21 19:43, Mohamad Al-Jaf wrote:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51850 Signed-off-by: Mohamad Al-Jaf mohamadaljaf@gmail.com
The function is undocumented. It does not seem to take any arguments, but I don't know how to verify this without a doubt.
The most effective way I'm aware of is to call it on i386 and check the stack alignment.