@@ -68,7 +68,7 @@ QString encryptGameArg(const QString &arg)
6868 char buffer[9 ]{};
6969 sprintf (buffer, " %08x" , key);
7070
71- Blowfish *blowfish = physis_blowfish_initialize (reinterpret_cast <uint8_t *>(buffer), 9 );
71+ SqexArgBlowfish *blowfish = physis_blowfish_initialize (reinterpret_cast <uint8_t *>(buffer), 9 );
7272
7373 uint8_t *out_data = nullptr ;
7474 uint32_t out_size = 0 ;
@@ -148,12 +148,12 @@ std::pair<QString, int> encryptSteamTicket(QString ticket, qint64 time)
148148 auto finalBytes = binaryWriter;
149149 std::swap (finalBytes[0 ], finalBytes[1 ]);
150150
151- SteamTicketBlowfish *blowfish = miscel_steamticket_blowfish_initialize (reinterpret_cast <uint8_t *>(blowfishKey), 16 );
151+ SteamTicketBlowfish *blowfish = physis_steamticket_blowfish_initialize (reinterpret_cast <uint8_t *>(blowfishKey), 16 );
152152
153- miscel_steamticket_blowfish_encrypt (blowfish, reinterpret_cast <uint8_t *>(finalBytes.data ()), finalBytes.size ());
153+ physis_steamticket_blowfish_encrypt (blowfish, reinterpret_cast <uint8_t *>(finalBytes.data ()), finalBytes.size ());
154154 Q_ASSERT (finalBytes.length () % 8 == 0 );
155155
156- miscel_steamticket_physis_blowfish_free (blowfish);
156+ physis_steamticket_physis_blowfish_free (blowfish);
157157
158158 auto encoded = finalBytes.toBase64 (QByteArray::Base64Option::Base64UrlEncoding | QByteArray::Base64Option::KeepTrailingEquals);
159159 encoded.replace (' +' , ' -' );
0 commit comments