//
// RECORD_LAYER_write_pending from 0x7883bc to 0x7883ec (48 bytes)
//
// 4 xrefs:
// > do_ssl3_write @ 0x788bd4
// > ssl3_renegotiate_check @ 0x78ea74
// > ssl3_send_alert @ 0x7906e0
// > ??> @ 0x5a81c
//
// 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
//
bool __fastcall RECORD_LAYER_write_pending(int a1)
{
int v1; // r3
v1 = *(_DWORD *)(a1 + 16);
return v1 && *(_DWORD *)(a1 + 20 * (v1 - 1) + 56) != 0;
}