From df24b24c44e9c320f3dbfa129557d679536cc318 Mon Sep 17 00:00:00 2001 From: dankmeme01 <42031238+dankmeme01@users.noreply.github.com> Date: Wed, 20 Nov 2024 23:14:10 +0100 Subject: [PATCH] add param names to the correct place this time! --- .../include/Geode/cocos/support/zip_support/ZipUtils.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/loader/include/Geode/cocos/support/zip_support/ZipUtils.h b/loader/include/Geode/cocos/support/zip_support/ZipUtils.h index 76e2f7f7e..44c475062 100644 --- a/loader/include/Geode/cocos/support/zip_support/ZipUtils.h +++ b/loader/include/Geode/cocos/support/zip_support/ZipUtils.h @@ -155,12 +155,12 @@ namespace cocos2d static gd::string base64EncodeEnc(gd::string const&, gd::string); static gd::string base64URLDecode(gd::string const&); static gd::string base64URLEncode(gd::string const&); - static int ccDeflateMemory(unsigned char*, unsigned int, unsigned char**); + static int ccDeflateMemory(unsigned char* data, unsigned int size, unsigned char** out); static int ccDeflateMemoryWithHint(unsigned char*, unsigned int, unsigned char**, unsigned int); - static gd::string compressString(gd::string const&, bool, int); - static gd::string decompressString(gd::string const&, bool, int); - static gd::string decompressString2(unsigned char*, bool, int, int); - static gd::string encryptDecrypt(gd::string const&, int); + static gd::string compressString(gd::string const& data, bool encrypt, int encryptionKey); + static gd::string decompressString(gd::string const& data, bool encrypt, int encryptionKey); + static gd::string decompressString2(unsigned char* data, bool encrypt, int size, int encryptionKey); + static gd::string encryptDecrypt(gd::string const& data, int encryptionKey); static gd::string encryptDecryptWKey(gd::string const&, gd::string); static unsigned char hexToChar(const gd::string&); static gd::string urlDecode(const gd::string&);