//
// SSL3_RECORD_release from 0x99f4c0 to 0x99f50c (76 bytes)
//
// 2 xrefs:
// > RECORD_LAYER_release @ 0x99cfac
// > ??> @ 0x7427c
//
// 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:47 +0000
//
int __fastcall SSL3_RECORD_release(int result, int a2)
{
int v2; // r5
int v4; // r4
if ( a2 )
{
v2 = 0;
v4 = result;
do
{
++v2;
result = CRYPTO_free(*(_DWORD *)(v4 + 28), "ssl/record/ssl3_record.c", 54);
*(_DWORD *)(v4 + 28) = 0;
v4 += 48;
}
while ( v2 != a2 );
}
return result;
}