//
// RECORD_LAYER_write_pending from 0xd31b84 to 0xd31bac (40 bytes)
//
// 4 xrefs:
// > do_ssl3_write @ 0xd32494
// > ssl3_renegotiate_check @ 0xd38198
// > ssl3_send_alert @ 0xd398f4
// > ??> @ 0xc5088
//
// 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
//
__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;
}