designer1337 / csgo-cheat-base

simple csgo internal base.
MIT License
238 stars 50 forks source link

Needing help hooking emit_sound #87

Open bloomsaccount opened 3 years ago

stamidyxxx commented 3 years ago

hook:

void __fastcall hooks::emit_sound::hook(PVOID thisptr, int edx, IRecipientFilter& filter, int index, int channel, const char* soundEntry, unsigned int soundentryhash, const char* sample, float volume, int seed, float attenuation, int flags, int pitch, const vec3_t* origin, const vec3_t* direction, PVOID utl_vector, bool update_positions, float soundtime, int speakerentity, int unk)
{
}

target: reinterpret_cast<void*>(get_virtual(interfaces::engine_sound, 5))