//
// ssl3_init_finished_mac from 0xfdd75c to 0xfdd7dc (128 bytes)
//
// 6 xrefs:
// > sub_FC5998 @ 0xfc5fb0
// > sub_FC5998 @ 0xfc62d8
// > ossl_statem_client_pre_work @ 0xfc6fa4
// > ossl_statem_server_post_work @ 0xfce66c
// > ossl_statem_server_post_work @ 0xfce6f4
// > ??> @ 0x95818
//
// 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:36 +0000
//
__int64 __fastcall ssl3_init_finished_mac(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
v2 = BIO_s_mem();
v3 = BIO_new(v2);
if ( v3 )
{
ssl3_free_digest_list(a1);
*(_QWORD *)(*(_QWORD *)(a1 + 144) + 216LL) = v3;
BIO_ctrl(v3, 9, 1, 0);
return 1;
}
else
{
ERR_put_error(20, 397, 65, "ssl/s3_enc.c", 337);
return 0;
}
}