[C++] 纯文本查看 复制代码
__asm {
mov hookReceiveMsgStruct.bufferRegister.cRdi, rdi
mov hookReceiveMsgStruct.bufferRegister.cRbp, rbp
mov hookReceiveMsgStruct.bufferRegister.cRsi, rsi
mov hookReceiveMsgStruct.bufferRegister.cRdx, rdx
mov hookReceiveMsgStruct.bufferRegister.cRcx, rcx
mov hookReceiveMsgStruct.bufferRegister.cRax, rax
mov hookReceiveMsgStruct.bufferRegister.cRbx, rbx
mov hookReceiveMsgStruct.bufferRegister.cR8, r8
mov hookReceiveMsgStruct.bufferRegister.cR9, r9
mov hookReceiveMsgStruct.bufferRegister.cR10, r10
mov hookReceiveMsgStruct.bufferRegister.cR11, r11
mov hookReceiveMsgStruct.bufferRegister.cR12, r12
mov hookReceiveMsgStruct.bufferRegister.cR13, r13
mov hookReceiveMsgStruct.bufferRegister.cR14, r14
mov hookReceiveMsgStruct.bufferRegister.cR15, r15
*/
call printLog
}
__asm {
mov rbp, hookReceiveMsgStruct.bufferRegister.cRbp
mov rdi, hookReceiveMsgStruct.bufferRegister.cRdi
mov rsi, hookReceiveMsgStruct.bufferRegister.cRsi
mov rdx, hookReceiveMsgStruct.bufferRegister.cRdx
mov rcx, hookReceiveMsgStruct.bufferRegister.cRcx
mov rax, hookReceiveMsgStruct.bufferRegister.cRax
mov rbx, hookReceiveMsgStruct.bufferRegister.cRbx
mov r8, hookReceiveMsgStruct.bufferRegister.cR8
mov r9, hookReceiveMsgStruct.bufferRegister.cR9
mov r10, hookReceiveMsgStruct.bufferRegister.cR10
mov r11, hookReceiveMsgStruct.bufferRegister.cR11
mov r12, hookReceiveMsgStruct.bufferRegister.cR12
mov r13, hookReceiveMsgStruct.bufferRegister.cR13
mov r14, hookReceiveMsgStruct.bufferRegister.cR14
mov r15, hookReceiveMsgStruct.bufferRegister.cR15
call qword ptr ds : [retAdd]
jmp qword ptr ds : [retCallAdd]
}