batheader:
encryptcode:
Code: Select all
v63 = (LogFileUitl *)j_cocos2d::ZipUtils::setPvrEncryptionKey(
(cocos2d::ZipUtils *)
0x90015098,
0x3CD24FB0u,
0xD6963F7D,
0x28E17F72u,
8u);
int __fastcall cocos2d::ZipUtils::setPvrEncryptionKey(cocos2d::ZipUtils *this, unsigned int a2, unsigned int a3, unsigned int a4, unsigned int a5){
int v5; // r6@1
int v6; // r5@1
int v7; // r4@1
unsigned int v8; // r2@1
unsigned int v9; // r2@1
unsigned int v10; // r2@1
v5 = a2;
v6 = a3;
v7 = a4;
cocos2d::ZipUtils::setPvrEncryptionKeyPart(0, (int)this, a3);
cocos2d::ZipUtils::setPvrEncryptionKeyPart((cocos2d::ZipUtils *)1, v5, v8);
cocos2d::ZipUtils::setPvrEncryptionKeyPart((cocos2d::ZipUtils *)2, v6, v9);
return cocos2d::ZipUtils::setPvrEncryptionKeyPart((cocos2d::ZipUtils *)3, v7, v10);
}
int __fastcall cocos2d::ZipUtils::setPvrEncryptionKeyPart(int result, int a2, unsigned int a3){
if ( cocos2d::ZipUtils::s_uEncryptedPvrKeyParts[result] != a2 ) {
cocos2d::ZipUtils::s_uEncryptedPvrKeyParts[result] = a2;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
return result;
}