Skip to content

Commit df24b24

Browse files
committed
add param names to the correct place this time!
1 parent ed97f3b commit df24b24

File tree

1 file changed

+5
-5
lines changed
  • loader/include/Geode/cocos/support/zip_support

1 file changed

+5
-5
lines changed

loader/include/Geode/cocos/support/zip_support/ZipUtils.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ namespace cocos2d
155155
static gd::string base64EncodeEnc(gd::string const&, gd::string);
156156
static gd::string base64URLDecode(gd::string const&);
157157
static gd::string base64URLEncode(gd::string const&);
158-
static int ccDeflateMemory(unsigned char*, unsigned int, unsigned char**);
158+
static int ccDeflateMemory(unsigned char* data, unsigned int size, unsigned char** out);
159159
static int ccDeflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int);
160-
static gd::string compressString(gd::string const&, bool, int);
161-
static gd::string decompressString(gd::string const&, bool, int);
162-
static gd::string decompressString2(unsigned char*, bool, int, int);
163-
static gd::string encryptDecrypt(gd::string const&, int);
160+
static gd::string compressString(gd::string const& data, bool encrypt, int encryptionKey);
161+
static gd::string decompressString(gd::string const& data, bool encrypt, int encryptionKey);
162+
static gd::string decompressString2(unsigned char* data, bool encrypt, int size, int encryptionKey);
163+
static gd::string encryptDecrypt(gd::string const& data, int encryptionKey);
164164
static gd::string encryptDecryptWKey(gd::string const&, gd::string);
165165
static unsigned char hexToChar(const gd::string&);
166166
static gd::string urlDecode(const gd::string&);

0 commit comments

Comments
 (0)