//
// ssl3_release_write_buffer from 0xd33de4 to 0xd33e44 (96 bytes)
//
// 4 xrefs:
// > RECORD_LAYER_release @ 0xd31b5c
// > ssl3_write_bytes @ 0xd32e68
// > ssl3_write_bytes @ 0xd32e90
// > ??> @ 0xb54a0
//
// 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 ssl3_release_write_buffer(__int64 a1)
{
int i; // w20
__int64 v3; // x19
for ( i = *(_DWORD *)(a1 + 948); i; *(_QWORD *)(v3 + 984) = 0 )
{
v3 = a1 + 32LL * (unsigned int)--i;
CRYPTO_free(*(_QWORD *)(v3 + 984), "ssl/record/ssl3_buffer.c", 143);
}
*(_DWORD *)(a1 + 948) = 0;
return 1;
}