//
// sub_DA60BC from 0xda60bc to 0xda60fc (64 bytes)
//
// 6 xrefs:
// > ??> @ 0x1222590
// > ??> @ 0x12225e8
// > ??> @ 0x1222640
// > ??> @ 0x1222698
// > ??> @ 0x12226f0
// > ??> @ 0x1222748
//
// 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
//
__int64 __fastcall sub_DA60BC(__int64 a1, unsigned __int64 a2)
{
_DWORD *cipher_data; // x0
*(_QWORD *)(EVP_CIPHER_CTX_get_cipher_data(a1) + 128) = 0;
cipher_data = (_DWORD *)EVP_CIPHER_CTX_get_cipher_data(a1);
DES_set_key_unchecked(a2, cipher_data);
return 1;
}