Read the offset for the framebuffer index from the instruction stream
instead of using a literal constant, so the hook works for other games
using the same function but a different offset (e.g. Zero no Kiseki).
Also remove the memcpy() since the original function will do it anyway
(and may do it differently if other games call the function with
different arguments).
Merge pull request #6836 from achurch/master

Brandish hook: read framebuffer index offset from instruction stream, drop memcpy()
Read lw offset as a signed value.
s32 -> int because it doesn't need to explicitly be 32 bits.
Merge pull request #6837 from achurch/master

Read lw offset as a signed value.
Replace function for Zero no Kiseki and Ao no Kiseki
Merge pull request #6839 from daniel229/replace_func

Replace function for Zero no Kiseki and Ao no Kiseki
Update tests.
Rebased pull request #6406 by RadarNyan. Generate version for Windows while build.