//
// cocos2d::ZipUtils::ccSetPvrEncryptionKey from 0x1800a3b10 to 0x1800a3b69 (89 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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
//
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_1801A8A54 != a2 )
{
dword_1801A8A54 = a2;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
if ( dword_1801A8A58 != a3 )
{
dword_1801A8A58 = a3;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
if ( dword_1801A8A5C != a4 )
{
dword_1801A8A5C = a4;
cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;
}
}