yeah
i Have an example for you
while 1
$pid = ProcessExists("S4Client.exe")
$open = _memoryopen($pid)
If GUICtrlRead($checkbox1) = 1 Then
_memorywrite("address", $open, "value edited", "long")
Else
_memorywrite("address", $open, "default value", "long")
EndIf
Wend
I use autoit i don't know which program do u use but you can adapt it to your program
Just with cheat engine click add address manually then put the address and copy the default value of your address