This commit is contained in:
HolographicHat
2024-08-29 18:24:21 +08:00
parent 8e0fd2d27c
commit 21af4de1a6
13 changed files with 90 additions and 90 deletions

View File

@@ -32,7 +32,7 @@ namespace Hook {
uint16_t BitConverter_ToUInt16(ByteArray* val, const int startIndex) {
const auto ret = CALL_ORIGIN(BitConverter_ToUInt16, val, startIndex);
if (ret == 0xAB89 && ReadMapped<UINT16>(val->vector, 2) == 3199) {
if (ret == 0xAB89 && ReadMapped<UINT16>(val->vector, 2) == 259) {
const auto headLength = ReadMapped<UINT16>(val->vector, 4);
const auto dataLength = ReadMapped<UINT32>(val->vector, 6);
const auto cStr = base64_encode(val->vector + 10 + headLength, dataLength) + "\n";