//
// ssl3_init_finished_mac from 0x9cd4f8 to 0x9cd570 (120 bytes)
//
// 6 xrefs:
// > sub_9B3990 @ 0x9b3f78
// > sub_9B3990 @ 0x9b4310
// > ossl_statem_client_pre_work @ 0x9b517c
// > ossl_statem_server_post_work @ 0x9bd208
// > ossl_statem_server_post_work @ 0x9bd264
// > ??> @ 0x7682c
//
// 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:10 +0000
//
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;
}
}