//
// ssl3_release_write_buffer from 0xfb2138 to 0xfb2198 (96 bytes)
//
// 4 xrefs:
// > RECORD_LAYER_release @ 0xfafeb0
// > ssl3_write_bytes @ 0xfb11bc
// > ssl3_write_bytes @ 0xfb11e4
// > ??> @ 0xecc98
//
// 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:12 +0000
//
__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;
}