[CSGO] CBaseGrenade::BounceSound() offset
Posted: Wed Mar 25, 2020 3:38 am
I know it's a long shot, since they stripped the symbols from the binaries. But does anyone know the offset for this virtual function?
Syntax: Select all
[virtual_function]
[[bounce_sound]]
offset_linux = 240
offset_windows = 239
Syntax: Select all
# ../flash_bounce/flash_bounce.py
# Source.Python
from entities.hooks import EntityPreHook, EntityCondition
is_flashbang_projectile = EntityCondition.equals_entity_classname(
'flashbang_projectile')
@EntityPreHook(is_flashbang_projectile, 'bounce_sound')
def bounce_sound_pre(stack_data):
return False