//
// RECORD_LAYER_set_data from 0x99cff0 to 0x99d054 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x742ac
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:46 +0000
//
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;
}