//
// cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart from 0x5f0374 to 0x5f0392 (30 bytes)
//
// 4 xrefs:
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0x5f03aa
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0x5f03b2
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0x5f03ba
// > cocos2d::ZipUtils::ccSetPvrEncryptionKey @ 0x5f03c6
//
// 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,
unsigned int a3)
{
if ( cocos2d::ZipUtils::s_uEncryptedPvrKeyParts[(_DWORD)this] != a2 )
{
cocos2d::ZipUtils::s_uEncryptedPvrKeyParts[(_DWORD)this] = a2;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
return this;
}