some fix for Python api usage according to comment · YumeMichi/UnityPy@65deb2a · GitHub
Skip to content

Commit 65deb2a

Browse files
AXiX-officialK0lb3
authored andcommitted
some fix for Python api usage according to comment
1 parent a3a5cd5 commit 65deb2a

3 files changed

Lines changed: 25 additions & 27 deletions

File tree

‎UnityPy/UnityPyBoost.pyi‎

Lines changed: 3 additions & 3 deletions

‎UnityPy/helpers/ArchiveStorageManager.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(self, reader: EndianBinaryReader) -> None:
108108
def decrypt_block(self, data: bytes, index: int):
109109

110110
if UnityPyBoost:
111-
return UnityPyBoost.decrypt_block(bytes(self.index), bytes(self.substitute), data, index)
111+
return UnityPyBoost.decrypt_block(self.index, self.substitute, data, index)
112112

113113
offset = 0
114114
size = len(data)

‎UnityPyBoost/ArchiveStorageDecryptor.cpp‎

Lines changed: 21 additions & 23 deletions

0 commit comments

Comments
 (0)