//
// DTLS_RECORD_LAYER_free from 0xd3046c to 0xd304c8 (92 bytes)
//
// 2 xrefs:
// > dtls1_free @ 0xd5cf1c
// > ??> @ 0x488b8
//
// 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 DTLS_RECORD_LAYER_free(__int64 a1)
{
__int64 result; // x0
DTLS_RECORD_LAYER_clear(a1);
pqueue_free(*(_QWORD *)(*(_QWORD *)(a1 + 3464) + 48LL));
pqueue_free(*(_QWORD *)(*(_QWORD *)(a1 + 3464) + 64LL));
pqueue_free(*(_QWORD *)(*(_QWORD *)(a1 + 3464) + 80LL));
result = CRYPTO_free(*(_QWORD *)(a1 + 3464), "ssl/record/rec_layer_d1.c", 50);
*(_QWORD *)(a1 + 3464) = 0;
return result;
}