#pragma once // IDA-style patterns for Minecraft.Windows.exe ("48 8B ?? ?? 89 5C"). // Empty = that module reports itself unavailable instead of crashing. // These are specific to one game version and must be re-found after every update. namespace sigs { // a function that returns the brightness setting as a float inline constexpr const char* get_gamma = "48 8B 49 58 66 66 66 2E 0F 1F 84 00 00 00 00 00 " "48 89 C8 48 8B 49 08 48 8B 89 38 02 00 00 " "48 85 C9 75 ED F3 0F 10 40 18 C3"; inline constexpr const char* gamma_writer = "56 48 83 EC 30 48 8B 05 ?? ?? ?? ?? " "48 31 E0 48 89 44 24 28 " "48 8B 71 58 48 8B 4E 08 " "48 83 B9 38 02 00 00 00"; inline constexpr const char* get_gamma_gameplay = "48 83 EC 38 " "48 8B 05 ?? ?? ?? ?? " "48 31 E0 " "48 89 44 24 30 " "48 8B 01 " "48 8B 40 08 " "48 8D 54 24 28 " "41 B8 32 00 00 00 " "FF 15 ?? ?? ?? ?? " "48 8B 4C 24 28 " "48 89 C8 " "48 8B 49 08 " "48 8B 89 38 02 00 00 " "48 85 C9 75 ED " "F3 0F 10 40 18 " "48 8B 4C 24 30 " "48 31 E1 " "48 3B 0D ?? ?? ?? ?? " "75 05 " "48 83 C4 38 C3"; }