//
// RECORD_LAYER_write_pending from 0xfafed8 to 0xfaff00 (40 bytes)
//
// 4 xrefs:
// > do_ssl3_write @ 0xfb07e8
// > ssl3_renegotiate_check @ 0xfb64ec
// > ssl3_send_alert @ 0xfb7c48
// > ??> @ 0x100600
//
// 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_write_pending(__int64 a1)
{
int v1; // w1
unsigned int v2; // w2
v1 = *(_DWORD *)(a1 + 20);
v2 = 0;
if ( v1 )
return *(_DWORD *)(a1 + 32LL * (unsigned int)(v1 - 1) + 84) != 0;
return v2;
}