From 215818ddedc02be3a1a5c2be3912abdbcd29dd72 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 9 Sep 2018 18:28:04 +0200 Subject: detours etc --- internal_rewrite/emit_sound.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal_rewrite/emit_sound.cpp') diff --git a/internal_rewrite/emit_sound.cpp b/internal_rewrite/emit_sound.cpp index 79ed3f1..13ae28a 100644 --- a/internal_rewrite/emit_sound.cpp +++ b/internal_rewrite/emit_sound.cpp @@ -1,7 +1,8 @@ #include "base_cheat.hpp" #include "hooks.hpp" #include "settings.hpp" -void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent, int channel, const char* sound, uint32_t hash, + +/*void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent, int channel, const char* sound, uint32_t hash, const char* sample, float volume, float attenuation, int seed, int flags, int pitch, const vec3_t* origin, const vec3_t* direction, vec3_t* origins, bool update_pos, float sound_time, int speaker_entry ) { static auto emit_sound_o = g_csgo.m_engine_sound->get_old_function< decltype( &hooks::emit_sound ) >( 5 ); @@ -23,4 +24,4 @@ void __fastcall hooks::emit_sound( void* ecx_, void* edx_, void* filter, int ent emit_sound_o( ecx_, 0, filter, ent, channel, sound, hash, sample, volume, attenuation, seed, flags, pitch, origin, direction, origins, update_pos, sound_time, speaker_entry ); -} \ No newline at end of file +}*/ \ No newline at end of file -- cgit v1.2.3