#pragma once #include #include #include #include namespace DLL { /// /// Parse all resources from a DLL file. /// /// *Shouldn't* cause any segmentation faults. /// /// @param filename Path to the DLL file. /// @return A map of resource IDs to their binary data. /// /// @throws std::runtime_error on various failure points. /// std::unordered_map> parse_dll(const std::string& filename); }