wxhelper-new/inc/wxutils.h

30 lines
662 B
C
Raw Permalink Normal View History

2024-06-16 13:17:24 +08:00
#ifndef WXHELPER_WXUTILS_H_
#define WXHELPER_WXUTILS_H_
#include <windows.h>
#include <string>
namespace wxhelper {
namespace wxutils {
2024-08-05 07:23:50 +08:00
2024-06-16 13:17:24 +08:00
#ifdef _WIN64
int64_t GetWeChatWinBase();
#else
int32_t GetWeChatWinBase();
#endif
std::string ReadSKBuiltinString(INT64 addr);
std::string ReadSKBuiltinBuffer(INT64 addr);
std::string ReadWeChatStr(INT64 addr);
std::string ImageXor(std::string buf);
std::wstring ReadWstring(INT64 addr);
std::string ReadWstringThenConvert(INT64 addr);
int DecodeImage(const wchar_t* file_path, const wchar_t* save_dir);
2024-08-05 07:23:50 +08:00
bool FindOrCreateDirectory(const std::wstring &path);
2024-06-16 13:17:24 +08:00
} // namespace wxutils
} // namespace wxhelper
#endif