//
// cocos2d::ZipUtils::ccSetPvrEncryptionKey from 0x1800a74e0 to 0x1800a7539 (89 bytes)
//
// 1 xrefs:
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 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 11:22:16 +0000
//
void __fastcall cocos2d::ZipUtils::ccSetPvrEncryptionKey(int a1, int a2, int a3, int a4)
{
if ( (_DWORD)cocos2d::ZipUtils::s_uEncryptedPvrKeyParts != a1 )
{
LODWORD(cocos2d::ZipUtils::s_uEncryptedPvrKeyParts) = a1;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
if ( dword_1801B2AB4 != a2 )
{
dword_1801B2AB4 = a2;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
if ( dword_1801B2AB8 != a3 )
{
dword_1801B2AB8 = a3;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
if ( dword_1801B2ABC != a4 )
{
dword_1801B2ABC = a4;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
}