//
// DTLS_RECORD_LAYER_free from 0xfae7c0 to 0xfae81c (92 bytes)
//
// 2 xrefs:
// > dtls1_free @ 0xfdb270
// > ??> @ 0x66958
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:10 +0000
//
__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;
}