{"type": "func", "start": 6443121424, "end": 6443121513, "name": "cocos2d::ZipUtils::ccSetPvrEncryptionKey", "pseudocode": "// \n// cocos2d::ZipUtils::ccSetPvrEncryptionKey from 0x1800a3b10 to 0x1800a3b69 (89 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::ZipUtils::ccSetPvrEncryptionKey(int a1, int a2, int a3, int a4)\n{\n  if ( (_DWORD)cocos2d::ZipUtils::s_uEncryptedPvrKeyParts != a1 )\n  {\n    LODWORD(cocos2d::ZipUtils::s_uEncryptedPvrKeyParts) = a1;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n  if ( dword_1801A8A54 != a2 )\n  {\n    dword_1801A8A54 = a2;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n  if ( dword_1801A8A58 != a3 )\n  {\n    dword_1801A8A58 = a3;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n  if ( dword_1801A8A5C != a4 )\n  {\n    dword_1801A8A5C = a4;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n}", "assembly": "; \n; cocos2d::ZipUtils::ccSetPvrEncryptionKey from 0x1800a3b10 to 0x1800a3b69 (89 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ncmp     cs:?s_uEncryptedPvrKeyParts@ZipUtils@cocos2d@@0PAIA, ecx; uint __near * cocos2d::ZipUtils::s_uEncryptedPvrKeyParts ; +0x0, 0x1800a3b10\njz      short loc_1800A3B25                                            ; +0x6, 0x1800a3b16\nmov     cs:?s_uEncryptedPvrKeyParts@ZipUtils@cocos2d@@0PAIA, ecx; uint __near * cocos2d::ZipUtils::s_uEncryptedPvrKeyParts ; +0x8, 0x1800a3b18\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0xe, 0x1800a3b1e\ncmp     cs:dword_1801A8A54, edx                                        ; +0x15, 0x1800a3b25\njz      short loc_1800A3B3A                                            ; +0x1b, 0x1800a3b2b\nmov     cs:dword_1801A8A54, edx                                        ; +0x1d, 0x1800a3b2d\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x23, 0x1800a3b33\ncmp     cs:dword_1801A8A58, r8d                                        ; +0x2a, 0x1800a3b3a\njz      short loc_1800A3B51                                            ; +0x31, 0x1800a3b41\nmov     cs:dword_1801A8A58, r8d                                        ; +0x33, 0x1800a3b43\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x3a, 0x1800a3b4a\ncmp     cs:dword_1801A8A5C, r9d                                        ; +0x41, 0x1800a3b51\njz      short locret_1800A3B68                                         ; +0x48, 0x1800a3b58\nmov     cs:dword_1801A8A5C, r9d                                        ; +0x4a, 0x1800a3b5a\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x51, 0x1800a3b61\nretn                                                                   ; +0x58, 0x1800a3b68", "xrefs": ["<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}