improve v8 hook

This commit is contained in:
Akash Mozumdar 2018-09-20 21:36:15 -04:00
parent aa4e289cc8
commit 28172e2cea

View File

@ -10173,6 +10173,7 @@ void SpecialHookV8String(DWORD dwDatabase, HookParam* hp, BYTE, DWORD* data, DWO
DWORD strPtr = *(DWORD*)ecx; DWORD strPtr = *(DWORD*)ecx;
*data = strPtr + 0xb; *data = strPtr + 0xb;
*len = *(short*)(strPtr + 7); *len = *(short*)(strPtr + 7);
if (*len < 12) *len = 0; // To ensure this is caught by cyclic repetition detection, only send with 6+ wide chars
//*split = *(DWORD*)((BYTE*)hp->split + dwDatabase); //*split = *(DWORD*)((BYTE*)hp->split + dwDatabase);
} }