#pragma once #include namespace theo::obf::transform { class xor_op_t : public operation_t { explicit xor_op_t() : operation_t([&](std::size_t val, std::uint32_t imm) -> std::size_t { return val ^ imm; }, XED_ICLASS_XOR) {} public: static xor_op_t* get() { static xor_op_t obj; return &obj; } }; } // namespace theo::obf::transform