Commit aef899be authored by swift_gan's avatar swift_gan

fix code

parent f05f9ec2
...@@ -135,7 +135,7 @@ namespace SandHook { ...@@ -135,7 +135,7 @@ namespace SandHook {
Code32Bit offset32; Code32Bit offset32;
offset32.code = offset; offset32.code = offset;
unsigned char offsetOP = callOriginTrampoline->isBigEnd() ? offset32.op.op2 : offset32.op.op1; unsigned char offsetOP = callOriginTrampoline->isBigEnd() ? offset32.op.op2 : offset32.op.op1;
callOriginTrampoline->tweakOpImm(OFFSET_INLINE_OP_ORIGIN_OFFSET_CODE, offsetOP); inlineHookTrampoline->tweakOpImm(OFFSET_INLINE_OP_ORIGIN_OFFSET_CODE, offsetOP);
} }
#endif #endif
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment