//
// cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart from 0xb2ae1c to 0xb2ae44 (40 bytes)
//
// 5 xrefs:
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xb2ae68
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xb2ae74
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xb2ae84
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xb2ae9c
// > ??> @ 0x7bde0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::ZipUtils *__fastcall cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart(cocos2d::ZipUtils *this, int a2)
{
if ( cocos2d::ZipUtils::s_uEncryptedPvrKeyParts[(int)this] != a2 )
{
cocos2d::ZipUtils::s_uEncryptedPvrKeyParts[(int)this] = a2;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
return (cocos2d::ZipUtils *)&cocos2d::ZipUtils::s_bEncryptionKeyIsValid;
}
return this;
}