//
// ssl3_cleanup_key_block from 0xfdd288 to 0xfdd2cc (68 bytes)
//
// 6 xrefs:
// > ssl3_free @ 0xfb5ca4
// > ssl3_clear @ 0xfb5d90
// > tls_finish_handshake @ 0xfccb1c
// > ssl3_setup_key_block @ 0xfdd3ac
// > tls1_setup_key_block @ 0xfdf5c8
// > ??> @ 0x87748
//
// 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:35 +0000
//
__int64 __fastcall ssl3_cleanup_key_block(__int64 a1)
{
__int64 result; // x0
CRYPTO_clear_free(
*(_QWORD *)(*(_QWORD *)(a1 + 144) + 608LL),
*(int *)(*(_QWORD *)(a1 + 144) + 600LL),
"ssl/s3_enc.c",
327);
result = *(_QWORD *)(a1 + 144);
*(_QWORD *)(result + 608) = 0;
*(_DWORD *)(result + 600) = 0;
return result;
}