//
// dtls1_double_timeout from 0x7b637c to 0x7b63a0 (36 bytes)
//
// 2 xrefs:
// > dtls1_handle_timeout @ 0x7b6518
// > ??> @ 0x5dc6c
//
// 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
//
int __fastcall dtls1_double_timeout(int a1)
{
_WORD *v1; // r2
unsigned int v2; // r3
v1 = (_WORD *)(*(_DWORD *)(a1 + 108) + 396);
v2 = (unsigned __int16)(2 * *v1);
if ( v2 > 0x3C )
LOWORD(v2) = 60;
*v1 = v2;
return dtls1_start_timer(a1);
}