#include "Client/Session.h" // OFFSET: 0x0091BE20 // FUNCTION: fn_12610 int CSession::GetOption(int id) const { const auto entry = this->m_options.Values().find(id); return entry == this->m_options.Values().end() ? 0 : static_cast(entry->second); } // OFFSET: 0x005E7970 // FUNCTION: fn_03937 void CSession::SetOption(int id, int value, int extra) { const std::uint64_t bits = static_cast(value) | (static_cast(extra) << 32); this->m_options.Values()[id] = static_cast(bits); }