//
// SSL3_RECORD_clear from 0xd33e7c to 0xd33ebc (64 bytes)
//
// 3 xrefs:
// > RECORD_LAYER_init @ 0xd31b2c
// > RECORD_LAYER_clear @ 0xd31cac
// > ??> @ 0x57c78
//
// 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
//
_QWORD *__fastcall SSL3_RECORD_clear(_QWORD *result, int a2)
{
_QWORD *v2; // x2
__int64 v3; // x1
if ( a2 )
{
v2 = &result[9 * (unsigned int)(a2 - 1) + 9];
do
{
v3 = result[5];
result[4] = 0;
result[5] = 0;
result[8] = 0;
result[5] = v3;
*result = 0;
result[1] = 0;
result[2] = 0;
result[3] = 0;
result[6] = 0;
result[7] = 0;
result += 9;
}
while ( result != v2 );
}
return result;
}