if (wcscmp(ModuleHandle->BaseDllName.Buffer, L"Guide.MP.Purchase.xex") == 0) {
BYTE xampatch1[0x1C] = {
0x38, 0x80, 0x00, 0x05, 0x80, 0x63, 0x00, 0x1C, 0x90, 0x83, 0x00, 0x04,
0x38, 0x80, 0x09, 0xC4, 0x90, 0x83, 0x00, 0x08, 0x38, 0x60, 0x00, 0x00,
0x4E, 0x80, 0x00, 0x20
};
SetMemory((PVOID)0x8168A6F8, xampatch1, 0x1C); // xam.xex 17559
*(DWORD*)(0x818E9BE4) = 0x60000000; // xam.xex 17559
*(DWORD*)(0x818EE414) = 0x480000C8; // xam.xex 17559
*(DWORD*)(0x9015D860) = 0x60000000; // Guide.MP.Purchase.xex 17559
*(DWORD*)(0x9015D924) = 0x60000000; // Guide.MP.Purchase.xex 17559
}
BYTE xampatch1[0x1C] = {
0x38, 0x80, 0x00, 0x05, 0x80, 0x63, 0x00, 0x1C, 0x90, 0x83, 0x00, 0x04,
0x38, 0x80, 0x09, 0xC4, 0x90, 0x83, 0x00, 0x08, 0x38, 0x60, 0x00, 0x00,
0x4E, 0x80, 0x00, 0x20
};
SetMemory((PVOID)0x8168A6F8, xampatch1, 0x1C); // xam.xex 17559
*(DWORD*)(0x818E9BE4) = 0x60000000; // xam.xex 17559
*(DWORD*)(0x818EE414) = 0x480000C8; // xam.xex 17559
*(DWORD*)(0x9015D860) = 0x60000000; // Guide.MP.Purchase.xex 17559
*(DWORD*)(0x9015D924) = 0x60000000; // Guide.MP.Purchase.xex 17559
}