//
// ssl3_init_finished_mac from 0x7b88f4 to 0x7b896c (120 bytes)
//
// 6 xrefs:
// > sub_79ED8C @ 0x79f374
// > sub_79ED8C @ 0x79f70c
// > ossl_statem_client_pre_work @ 0x7a0578
// > ossl_statem_server_post_work @ 0x7a8604
// > ossl_statem_server_post_work @ 0x7a8660
// > ??> @ 0x5cdac
//
// 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 ssl3_init_finished_mac(int a1)
{
int v2; // r0
int v3; // r4
v2 = BIO_s_mem();
v3 = BIO_new(v2);
if ( v3 )
{
ssl3_free_digest_list(a1);
*(_DWORD *)(*(_DWORD *)(a1 + 104) + 212) = v3;
BIO_ctrl(v3, 9, 1, 0);
return 1;
}
else
{
ERR_put_error(20, 397, 65, "ssl/s3_enc.c", 337);
return 0;
}
}