{"type": "func", "start": 6443136224, "end": 6443136313, "name": "cocos2d::ZipUtils::ccSetPvrEncryptionKey", "pseudocode": "// \n// cocos2d::ZipUtils::ccSetPvrEncryptionKey from 0x1800a74e0 to 0x1800a7539 (89 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:16 +0000\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_1801B2AB4 != a2 )\n  {\n    dword_1801B2AB4 = a2;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n  if ( dword_1801B2AB8 != a3 )\n  {\n    dword_1801B2AB8 = a3;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n  if ( dword_1801B2ABC != a4 )\n  {\n    dword_1801B2ABC = a4;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n}", "assembly": "; \n; cocos2d::ZipUtils::ccSetPvrEncryptionKey from 0x1800a74e0 to 0x1800a7539 (89 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:16 +0000\n; \ncmp     cs:?s_uEncryptedPvrKeyParts@ZipUtils@cocos2d@@0PAIA, ecx; uint __near * cocos2d::ZipUtils::s_uEncryptedPvrKeyParts ; +0x0, 0x1800a74e0\njz      short loc_1800A74F5                                            ; +0x6, 0x1800a74e6\nmov     cs:?s_uEncryptedPvrKeyParts@ZipUtils@cocos2d@@0PAIA, ecx; uint __near * cocos2d::ZipUtils::s_uEncryptedPvrKeyParts ; +0x8, 0x1800a74e8\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0xe, 0x1800a74ee\ncmp     cs:dword_1801B2AB4, edx                                        ; +0x15, 0x1800a74f5\njz      short loc_1800A750A                                            ; +0x1b, 0x1800a74fb\nmov     cs:dword_1801B2AB4, edx                                        ; +0x1d, 0x1800a74fd\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x23, 0x1800a7503\ncmp     cs:dword_1801B2AB8, r8d                                        ; +0x2a, 0x1800a750a\njz      short loc_1800A7521                                            ; +0x31, 0x1800a7511\nmov     cs:dword_1801B2AB8, r8d                                        ; +0x33, 0x1800a7513\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x3a, 0x1800a751a\ncmp     cs:dword_1801B2ABC, r9d                                        ; +0x41, 0x1800a7521\njz      short locret_1800A7538                                         ; +0x48, 0x1800a7528\nmov     cs:dword_1801B2ABC, r9d                                        ; +0x4a, 0x1800a752a\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x51, 0x1800a7531\nretn                                                                   ; +0x58, 0x1800a7538", "xrefs": ["<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}