//
// RECORD_LAYER_set_data from 0xfaff00 to 0xfaff68 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x72310
//
// 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:11 +0000
//
__int64 __fastcall RECORD_LAYER_set_data(__int64 a1, __int64 a2, int a3)
{
__int64 v4; // x0
__int64 result; // x0
*(_DWORD *)(a1 + 3392) = a3;
v4 = *(_QWORD *)(a1 + 24);
if ( !a3 )
goto LABEL_3;
*(_DWORD *)(a1 + 12) = 240;
if ( v4 )
goto LABEL_3;
result = ssl3_setup_read_buffer(*(_QWORD *)a1);
if ( (_DWORD)result )
{
v4 = *(_QWORD *)(a1 + 24);
LABEL_3:
*(_QWORD *)(a1 + 3384) = v4;
SSL3_BUFFER_set_data(a1 + 24);
return 1;
}
return result;
}