//
// SSL3_RECORD_clear from 0xfb21d0 to 0xfb2210 (64 bytes)
//
// 3 xrefs:
// > RECORD_LAYER_init @ 0xfafe80
// > RECORD_LAYER_clear @ 0xfb0000
// > ??> @ 0x790d8
//
// 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
//
_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;
}