playerdatamanager : workaround fix attempt when use_card

This commit is contained in:
lybxlpsv
2019-09-23 20:47:46 +07:00
parent 46e7a98a21
commit 30a24e9687
@@ -129,7 +129,7 @@ namespace TLAC::Components
{
DWORD oldProtect, bck;
VirtualProtect((BYTE*)0x00000001405BC8E6, 3, PAGE_EXECUTE_READWRITE, &oldProtect);
*((BYTE*)0x00000001405BC8E6 + 0) = 0x01;
*((BYTE*)0x00000001405BC8E6 + 0) = 0x00;
VirtualProtect((BYTE*)0x00000001405BC8E6, 3, oldProtect, &bck);
VirtualProtect((BYTE*)0x00000001405CBBA3, 8, PAGE_EXECUTE_READWRITE, &oldProtect);