spotifykeydumper/SpotifyKeyDumper/Utils.h

17 lines
616 B
C
Raw Normal View History

2020-11-02 06:08:10 +01:00
#pragma once
class Utils
{
public:
static bool Detour32(char* src, char* dst, const intptr_t len);
static char* TrampHook32(char* src, char* dst, const intptr_t len);
static int GetSpotifyVersion();
static std::string HexString(BYTE* data, int len);
static std::wstring FixPathStr(std::wstring str);
static std::wstring Utf8ToUtf16(const std::string& str);
static void DownloadSong(std::string fileId, std::string uri, std::string key, std::string authToken, int quality);
static std::string DownloadSpotifyUrl(std::string host, std::string path, std::string authToken);
static bool BadPtr(void* ptr);
2020-11-02 06:08:10 +01:00
};