//
// tls_construct_server_done from 0x7a9f38 to 0x7a9fd4 (156 bytes)
//
// 2 xrefs:
// > ossl_statem_server_construct_message @ 0x7ace20
// > ??> @ 0x5d59c
//
// 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 tls_construct_server_done(int a1)
{
if ( (*(int (**)(void))(*(_DWORD *)(*(_DWORD *)(a1 + 4) + 100) + 60))() )
{
if ( !*(_DWORD *)(*(_DWORD *)(a1 + 104) + 588) && !ssl3_digest_cached_records(a1, 0) )
ossl_statem_set_error(a1);
return 1;
}
else
{
ERR_put_error(20, 375, 68, "ssl/statem/statem_srvr.c", 1598);
ossl_statem_set_error(a1);
return 0;
}
}