//
// BIO_ssl_copy_session_id from 0xfae374 to 0xfae3f8 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x99a60
//
// 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:09 +0000
//
bool __fastcall BIO_ssl_copy_session_id(__int64 a1, __int64 a2)
{
__int64 type; // x20
__int64 v4; // x19
_QWORD *data; // x20
_QWORD *v6; // x0
type = BIO_find_type(a1, 519);
v4 = BIO_find_type(a2, 519);
if ( v4 && type && (data = (_QWORD *)BIO_get_data(type), v6 = (_QWORD *)BIO_get_data(v4), *data) && *v6 )
return (unsigned int)SSL_copy_session_id(*data) != 0;
else
return 0;
}