//
// dtls1_is_timer_expired from 0xd5d1c8 to 0xd5d200 (56 bytes)
//
// 3 xrefs:
// > dtls1_read_failed @ 0xd4d254
// > dtls1_handle_timeout @ 0xd5d348
// > ??> @ 0xa19b8
//
// 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
//
_QWORD *__fastcall dtls1_is_timer_expired(__int64 a1)
{
_QWORD *result; // x0
_QWORD v2[2]; // [xsp+10h] [xbp+10h] BYREF
result = dtls1_get_timeout(a1, v2);
if ( result )
{
result = nullptr;
if ( v2[0] <= 0LL )
return (_QWORD *)(v2[1] <= 0LL);
}
return result;
}