void Shoot()
{
char *On = "+attack";
char *Off = "-attack";
__asm
{
push On
push 0
push 0
mov esi, 0x004F9AB0
call esi
add esp, 0x0C
}
Sleep(5);
__asm
{
push Off
push 0
push 0
mov esi, 0x004F9AB0
call esi
add esp, 0x0C
}
}
inline void Toggle( bool fire = false ){
( ( void ( __cdecl* )( int, int, char* ) )0x4F9AB0 )( 0, 0, fire ? "+attack" : "-attack" );
}