Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 620 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 620 Bytes

DecryptCocos2dAsset

This project can help decrypt cocos2d's asset
like *.pvr.ccz files.
*.pvr.ccz file has "CCZp" 43 43 5A 70 header.

How to get key

key size is 16byte(4byte * 4key)

hook or static/dynamic disassemble these functions

cocos2d::ZipUtils::setPvrEncryptionKeyPart(int,uint)
cocos2d::ZipUtils::setPvrEncryptionKey(uint,uint,uint,uint)

example

Platform

All platform is supported (Windows/Linux/macOS)

How to run

$ dotnet run

Requirements