#pragma once #include #include namespace theo::recomp { class reloc_t { public: explicit reloc_t(std::uint16_t offset, std::size_t hash, const std::string&& sym_name) : m_offset(offset), m_hash(hash), m_sym_name(sym_name) {} std::size_t hash() { return m_hash; } std::string name() { return m_sym_name; } std::uint16_t offset() { return m_offset; } private: std::string m_sym_name; std::size_t m_hash; std::uint16_t m_offset; }; } // namespace theo::comp