//
// SSL3_RECORD_clear from 0x78a878 to 0x78a8bc (68 bytes)
//
// 3 xrefs:
// > RECORD_LAYER_init @ 0x788368
// > RECORD_LAYER_clear @ 0x788544
// > ??> @ 0x5a7bc
//
// 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
//
_DWORD *__fastcall SSL3_RECORD_clear(_DWORD *result, int a2)
{
_DWORD *v3; // r4
int v4; // r5
int v5; // r6
if ( a2 )
{
v3 = result;
v4 = 0;
do
{
++v4;
v5 = v3[7];
result = memset(v3, 0, 0x30u);
v3[7] = v5;
v3 += 12;
}
while ( v4 != a2 );
}
return result;
}