//
// OPENSSL_sk_pop from 0x8388c0 to 0x8388e4 (36 bytes)
//
// 17 xrefs:
// > sub_643938 @ 0x6447fa
// > ssl_build_cert_chain @ 0x792828
// > SSL_get0_peer_scts @ 0x79a664
// > SSL_get0_peer_scts @ 0x79a718
// > SSL_get0_peer_scts @ 0x79a7f4
// > sub_7C5148 @ 0x7c5210
// > sub_7CAC1C @ 0x7cac40
// > ASYNC_start_job @ 0x7cb19c
// > CONF_modules_finish @ 0x7da8dc
// > o2i_SCT_LIST @ 0x7dbd58
// > sub_7F5DDC @ 0x7f5df4
// > PKCS12_parse @ 0x824e48
// > sub_8422D8 @ 0x8423d0
// > sub_843DE0 @ 0x84487c
// > sub_843DE0 @ 0x844c8c
// > sub_8822DC @ 0x882304
// > ??> @ 0x5547c
//
// 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 OPENSSL_sk_pop(int *a1)
{
if ( a1 && *a1 > 0 )
return OPENSSL_sk_delete(a1, *a1 - 1);
else
return 0;
}