//
// cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart from 0xd9a698 to 0xd9a6c0 (40 bytes)
//
// 5 xrefs:
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xd9a6e4
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xd9a6f0
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xd9a700
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0xd9a718
// > ??> @ 0xa55e0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:08:23 +0000
//
char *__fastcall cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart(char *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::s_bEncryptionKeyIsValid;
}
return this;
}