//
// tls_construct_server_done from 0x9beb3c to 0x9bebd8 (156 bytes)
//
// 2 xrefs:
// > ossl_statem_server_construct_message @ 0x9c1a24
// > ??> @ 0x7701c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:03 +0000
//
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;
}
}