http://bugs.winehq.org/show_bug.cgi?id=16047
--- Comment #22 from Pigeon pigeon@pigeond.net 2010-07-16 20:30:40 --- That's it!
I have copied the two functions, rename them (I just added _helper suffix), and replaced all calls to them within socket.c to call to helper. Now Garena + war3 works!
Now the question is if such a patch would be valid and worthy for all wine users.
Also, having two functions with different names but exactly the same definition look kind of silly. Any better way of doing this? I thought of using a #define to define the two functions but that is ugly too.
Thanks again for your help!