Can you please help me convert this to a code that c++ can read? Thanks


Code:
timer = createTimer(nil,true)
timer_setInterval(timer, 1000)

function DeathValley()
if (readInteger('[["ava.exe"+01C0F6F4]+274]+7EC') == 0) then
writeInteger('[["ava.exe"+01C0F6F4]+274]+7EC', 4)
end
if (readInteger('[[[[["ava.exe"+01C65D50]+7ac]+43c]+8c]+14]+3fc') ~= 0) then
writeInteger('[[[[["ava.exe"+01C65D50]+7ac]+43c]+8c]+14]+3fc', 1)
end
end

timer_onTimer(timer, DeathValley)