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