//
// DTLS_RECORD_LAYER_free from 0x99b75c to 0x99b7ac (80 bytes)
//
// 2 xrefs:
// > dtls1_free @ 0x9cacb8
// > ??> @ 0x73f6c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:45 +0000
//
int __fastcall DTLS_RECORD_LAYER_free(int a1)
{
int result; // r0
DTLS_RECORD_LAYER_clear(a1);
pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 2288) + 32));
pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 2288) + 40));
pqueue_free(*(_DWORD *)(*(_DWORD *)(a1 + 2288) + 48));
result = CRYPTO_free(*(_DWORD *)(a1 + 2288), "ssl/record/rec_layer_d1.c", 50);
*(_DWORD *)(a1 + 2288) = 0;
return result;
}