Regex school:
Local $text = FileRead(@ScriptDir & "\" & "source.txt")
Local $hex = Execute('"' & StringRegExpReplace($text, '(?m)(?<=[[:xdigit:]]{5})([[:xdigit:]])(?=[[:xdigit:]]{2})', '" & _IncHex() & "') & '"')
ConsoleWrite($hex)
Func _IncHex()
Local Static $Inc = 15
$Inc += 1
Return Hex(Mod($Inc, 16), 1)
EndFunc
I added two extra line in the source file, yielding:
X0 00112033
X1 AABBC1DD
X2 22446288
X3 BBDDF300
X4 11335477
X5 AACCE5FF
X6 11AA26BB
X7 CC33D744
X8 55EE68FF
X9 ABCD9988
X10 8800AADD
X11 EEFF3B44
X12 6622ACEE
X13 5599CDFF
X14 AAFF2E00
X15 0099AFCC
X16 FD5A00B6
X17 10E51194