mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-27 07:44:02 +08:00
fix
This commit is contained in:
parent
0aa0cc4868
commit
8753a781ff
@ -216,7 +216,13 @@ void TextHook::Send(uintptr_t lpDataBase)
|
||||
}
|
||||
else if(hp.jittype==JITTYPE::UNITY)
|
||||
{
|
||||
commonsolvemonostring(*argidx(stack,hp.argidx),&lpDataIn,&lpCount);
|
||||
auto ptr=*argidx(stack,hp.argidx);
|
||||
if(hp.type&USING_STRING)
|
||||
commonsolvemonostring(ptr,&lpDataIn,&lpCount);
|
||||
else{
|
||||
lpDataIn=(wchar_t)ptr;
|
||||
lpCount=2;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user