//
// RECORD_LAYER_set_data from 0x7883ec to 0x788450 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x5a82c
//
// 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
//
int __fastcall RECORD_LAYER_set_data(_DWORD *a1, int a2, int a3)
{
int v3; // r3
int result; // r0
v3 = a1[5];
a1[555] = a3;
if ( !a3 )
goto LABEL_3;
a1[2] = 240;
if ( v3 )
goto LABEL_3;
result = ssl3_setup_read_buffer(*a1);
if ( result )
{
v3 = a1[5];
LABEL_3:
a1[554] = v3;
SSL3_BUFFER_set_data(a1 + 5);
return 1;
}
return result;
}