//
// ssl3_cleanup_key_block from 0xd5ef34 to 0xd5ef78 (68 bytes)
//
// 6 xrefs:
// > ssl3_free @ 0xd37950
// > ssl3_clear @ 0xd37a3c
// > tls_finish_handshake @ 0xd4e7c8
// > ssl3_setup_key_block @ 0xd5f058
// > tls1_setup_key_block @ 0xd61274
// > ??> @ 0x63780
//
// 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 ssl3_cleanup_key_block(__int64 a1)
{
__int64 result; // x0
CRYPTO_clear_free(
*(_QWORD *)(*(_QWORD *)(a1 + 144) + 608LL),
*(int *)(*(_QWORD *)(a1 + 144) + 600LL),
"ssl/s3_enc.c",
327);
result = *(_QWORD *)(a1 + 144);
*(_QWORD *)(result + 608) = 0;
*(_DWORD *)(result + 600) = 0;
return result;
}