void AntiFleshka()
{
if (!C_GET(bool, Vars.bAntiFlash))
return;
int flashdur_offset = 0xA4F4;
const uintptr_t localPlayer = VARS::memRead<uintptr_t>(VARS::baseAddress + 0x17CF698);
int flashdur = VARS::memRead<int>(localPlayer + flashdur_offset);
if (flashdur > 0)
VARS::memWrite<float>(localPlayer + flashdur_offset, 0.f);
}