Skip to content

Commit e667e6c

Browse files
committed
update tryDecryptName method
1 parent dcafeb5 commit e667e6c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/in/dragonbra/javasteam/types/DepotManifest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ class DepotManifest {
150150

151151
// SK has this below `return true;` but we cannot do that in Kotlin.
152152
fun tryDecryptName(name: String, iv: ByteArray, decoded: (String?) -> Unit): Boolean {
153+
decoded(null)
154+
153155
var decodedLength = name.length / 4 * 3 // This may be higher due to padding
154156

155157
// Majority of filenames are short, even when they are encrypted and base64 encoded,

0 commit comments

Comments
 (0)