void StartVoicePlay(const char *uncompressed_file, const char *decompressed_file, const char *mic_input_file)
{
using Fn = void(__fastcall*)(const char*, const char*, const char*);
static Fn voice_record_start_fn = nullptr;
if (!voice_record_start_fn)
voice_record_start_fn = pOffset->Other.PlayMicrofone.as<Fn>();
__asm
{
push mic_input_file
mov edx, decompressed_file
mov ecx, uncompressed_file
call voice_record_start_fn
add esp, 0x4
}
}