I have disassable with ida this function:
int __usercall sub_4F314A@<eax>(char *Src@<ecx>, int a2@<edx>, int a3, int a4, int a5, int a6)
I attach the original assembly:
can you please help me to find the right way to write this call in c++?
I have added a function that call 4F314A:
LOBYTE(v2) = sub_4F314A("switch01.wav", (int)&unk_E42650, 0, 0, 0, 0);