mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-30 17:15:38 +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)
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user