Decompile fn_04412 (Base64Decode)
Batch #7654 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_04412 Base64Decode: logic confirmed by peer review Peer-reviewed-by: Yommy, secret Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
76f394893e
commit
4eed4e91ca
2 changed files with 7 additions and 0 deletions
|
|
@ -81,6 +81,12 @@ std::string DecodeBase64(std::string encoded, bool removeLinebreaks) {
|
|||
return decoded;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00619CF0
|
||||
// FUNCTION: fn_04412
|
||||
std::string Base64Decode(const std::string& encoded, bool removeLinebreaks) {
|
||||
return DecodeBase64(encoded, removeLinebreaks);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00619D70
|
||||
// FUNCTION: fn_04413
|
||||
std::string EncodeBase64(const std::string& input, bool urlSafe) {
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
std::string InsertLinebreaks(std::string text, unsigned int distance);
|
||||
std::string DecodeBase64(std::string encoded, bool removeLinebreaks = false);
|
||||
std::string Base64Decode(const std::string& encoded, bool removeLinebreaks = false);
|
||||
std::string EncodeBase64(const std::string& input, bool urlSafe = false);
|
||||
std::string EncodeBase64(const unsigned char* input, unsigned int length, bool urlSafe = false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue