//
// dtls1_write_bytes from 0xfafbf8 to 0xfafc34 (60 bytes)
//
// 3 xrefs:
// > dtls1_do_write @ 0xfcb2b0
// > dtls1_write_app_data_bytes @ 0xfdc1cc
// > ??> @ 0x7c1b0
//
// 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 dtls1_write_bytes(__int64 a1, unsigned int a2, const void *a3, signed int a4)
{
if ( a4 > 0x4000 )
OPENSSL_die((int)"assertion failed: len <= SSL3_RT_MAX_PLAIN_LENGTH");
*(_DWORD *)(a1 + 40) = 1;
return do_dtls1_write(a1, a2, a3, a4, 0);
}