//
// dtls1_free from 0x7b60a8 to 0x7b6108 (96 bytes)
//
// 11 xrefs:
// > ??> @ 0x5a3fc
// > ??> @ 0xab1410
// > ??> @ 0xab1484
// > ??> @ 0xab14f8
// > ??> @ 0xab156c
// > ??> @ 0xab15e0
// > ??> @ 0xab1654
// > ??> @ 0xab16c8
// > ??> @ 0xab173c
// > ??> @ 0xab17b0
// > ??> @ 0xab1824
//
// 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 dtls1_free(int a1)
{
int result; // r0
DTLS_RECORD_LAYER_free(a1 + 556);
ssl3_free(a1);
dtls1_clear_received_buffer(a1);
dtls1_clear_sent_buffer(a1);
pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 108) + 272));
pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 108) + 276));
result = CRYPTO_free(*(_DWORD *)(a1 + 108), "ssl/d1_lib.c", 158);
*(_DWORD *)(a1 + 108) = 0;
return result;
}