//
// dtls1_free from 0xd5cf08 to 0xd5cf74 (108 bytes)
//
// 11 xrefs:
// > ??> @ 0x64368
// > ??> @ 0x121fc50
// > ??> @ 0x121fd30
// > ??> @ 0x121fe10
// > ??> @ 0x121fef0
// > ??> @ 0x121ffd0
// > ??> @ 0x12200b0
// > ??> @ 0x1220190
// > ??> @ 0x1220270
// > ??> @ 0x1220350
// > ??> @ 0x1220430
//
// 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 dtls1_free(__int64 a1)
{
__int64 result; // x0
DTLS_RECORD_LAYER_free(a1 + 928);
ssl3_free(a1);
dtls1_clear_received_buffer(a1);
dtls1_clear_sent_buffer(a1);
pqueue_free(*(_QWORD *)(*(_QWORD *)(a1 + 152) + 272LL));
pqueue_free(*(_QWORD *)(*(_QWORD *)(a1 + 152) + 280LL));
result = CRYPTO_free(*(_QWORD *)(a1 + 152), "ssl/d1_lib.c", 158);
*(_QWORD *)(a1 + 152) = 0;
return result;
}