We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a39c321 commit 8f418feCopy full SHA for 8f418fe
bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_custom.c
@@ -234,7 +234,8 @@ BOOL Validate_SetPreferredAppMode(const BYTE* functionPtr)
234
(functionPtr[0x06] == 0x87) && (functionPtr[0x07] == 0x0D) && // xchg ecx,dword ptr [uxtheme!g_preferredAppMode]
235
(functionPtr[0x0C] == 0xC3); // ret
236
#elif defined(_M_ARM64)
237
- if (*(const DWORD*)(&functionPtr[0x1C]) == 0x912F6100) // add x0,x8,#0xBD8
+ if ((functionPtr[0x10] & 0x1F) == 0x08 && (functionPtr[0x13] & 0x90) == 0x90 && // adrp x8,wil::details::g_enabledStateManager+40h
238
+ *(const DWORD*)(&functionPtr[0x34]) == 0xD65F03C0) // ret
239
{
240
return TRUE;
241
}
0 commit comments