//
// sub_8B6B04 from 0x8b6b04 to 0x8b6b5c (88 bytes)
//
// 1 xrefs:
// > ??> @ 0xab51e4
//
// 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
//
int __fastcall sub_8B6B04(int a1, unsigned __int8 *a2)
{
int cipher_data; // r0
int v5; // r0
int v6; // r0
cipher_data = EVP_CIPHER_CTX_get_cipher_data(a1);
DES_set_key_unchecked(a2, cipher_data);
v5 = EVP_CIPHER_CTX_get_cipher_data(a1);
memcpy((void *)(v5 + 128), a2 + 8, 8u);
v6 = EVP_CIPHER_CTX_get_cipher_data(a1);
memcpy((void *)(v6 + 136), a2 + 16, 8u);
return 1;
}