{"type": "func", "start": 6443121520, "end": 6443121546, "name": "cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart", "pseudocode": "// \n// cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart from 0x1800a3b70 to 0x1800a3b8a (26 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::ccSetPvrEncryptionKeyPart(int a1, int a2)\n{\n  if ( *((_DWORD *)&cocos2d::ZipUtils::s_uEncryptedPvrKeyParts + a1) != a2 )\n  {\n    *((_DWORD *)&cocos2d::ZipUtils::s_uEncryptedPvrKeyParts + a1) = a2;\n    cocos2d::ZipUtils::s_bEncryptionKeyIsValid = 0;\n  }\n}", "assembly": "; \n; cocos2d::ZipUtils::ccSetPvrEncryptionKeyPart from 0x1800a3b70 to 0x1800a3b8a (26 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\nmovsxd  rax, ecx                                                       ; +0x0, 0x1800a3b70\nlea     rcx, ?s_uEncryptedPvrKeyParts@ZipUtils@cocos2d@@0PAIA; uint __near * cocos2d::ZipUtils::s_uEncryptedPvrKeyParts ; +0x3, 0x1800a3b73\ncmp     [rcx+rax*4], edx                                               ; +0xa, 0x1800a3b7a\njz      short locret_1800A3B89                                         ; +0xd, 0x1800a3b7d\nmov     [rcx+rax*4], edx                                               ; +0xf, 0x1800a3b7f\nmov     cs:?s_bEncryptionKeyIsValid@ZipUtils@cocos2d@@0_NA, 0; bool cocos2d::ZipUtils::s_bEncryptionKeyIsValid ; +0x12, 0x1800a3b82\nretn                                                                   ; +0x19, 0x1800a3b89", "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"}