summarylogtreecommitdiffstats
path: root/r2-binary-patch-script
blob: 5df2cd946565c603d56bd1d543e4d1b5046f656d (plain)
1
2
3
4
5
6
7
8
# find c706040000004889dfe821000000 which is 'mov dword [rsi], 4; mov rdi, rbx; call'
/x c706040000004889dfe821000000
# seek to the first hit
s hit0_0
# seek to the "04" which is ANGLEImplementation::kOpenGLES
s+2
# Overwrite the "04" with "06" which is ANGLEImplementation::kVulkan
w1+2