Then it's reasonable to just search either first or second value and filter only desired results that have other value at needed offset. Something like the following:
local firstValue = 210.0
local secondValue = 30.0
local offset = 12
gg.clearResults()
gg.searchNumber(firstValue, gg.TYPE_DOUBLE)
local firstValues = gg.getResults(gg.getResultsCount())
local secondValues = {}
for i, v in ipairs(firstValues) do
secondValues[i] = {address = v.address + offset, flags = gg.TYPE_DOUBLE}
end
secondValues = gg.getValues(secondValues)
local targetResults = {}
local index = 1
for i = 1, #firstValues do
if secondValues[i].value == secondValue then
targetResults[index] = firstValues[i]
targetResults[index + 1] = secondValues[i]
index = index + 2
end
end
gg.loadResults(targetResults)