//
// sub_D3BB18 from 0xd3bb18 to 0xd3bbc8 (176 bytes)
//
// 6 xrefs:
// > ssl_cipher_get_evp @ 0xd3cc60
// > ssl_cipher_get_evp @ 0xd3cc68
// > SSL_COMP_get_compression_methods @ 0xd3e104
// > SSL_COMP_get_compression_methods @ 0xd3e118
// > SSL_COMP_add_compression_method @ 0xd3e1c4
// > SSL_COMP_add_compression_method @ 0xd3e1d8
//
// 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 sub_D3BB18()
{
__int64 v0; // x20
__int64 v1; // x0
__int64 v2; // x1
__int64 v4; // [xsp+28h] [xbp+28h]
v0 = COMP_zlib();
CRYPTO_mem_ctrl(3);
qword_125D370 = OPENSSL_sk_new(sub_D3BB00);
if ( (unsigned int)COMP_get_type(v0) )
{
if ( qword_125D370 )
{
v1 = CRYPTO_malloc(24, "ssl/ssl_ciph.c", 484);
v2 = v1;
if ( v1 )
{
*(_QWORD *)(v1 + 16) = v0;
*(_DWORD *)v1 = 1;
v4 = v1;
*(_QWORD *)(v2 + 8) = COMP_get_name(v0);
OPENSSL_sk_push(qword_125D370, v4);
OPENSSL_sk_sort(qword_125D370);
}
}
}
CRYPTO_mem_ctrl(2);
dword_125D378 = 1;
return 1;
}