//
// dtls1_double_timeout from 0xfdb554 to 0xfdb578 (36 bytes)
//
// 2 xrefs:
// > dtls1_handle_timeout @ 0xfdb6b4
// > ??> @ 0x88b10
//
// 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:35 +0000
//
__int64 __fastcall dtls1_double_timeout(__int64 a1)
{
__int64 v1; // x2
__int16 v2; // w1
v1 = *(_QWORD *)(a1 + 152);
v2 = 2 * (*(_WORD *)(v1 + 504) & 0x7FFF);
if ( 2 * (*(_WORD *)(v1 + 504) & 0x7FFFu) > 0x3C )
v2 = 60;
*(_WORD *)(v1 + 504) = v2;
return dtls1_start_timer(a1);
}