怎么在api hook以后的堆上分配内存,写入一个函数代码,并且将它作为addressof返回呢?
用writeprocessmemory写入,用createremotethread调用
VirtualAllocEx 分配内存WriteProcessMemory 写内存