//
// SSL_get_peer_cert_chain from 0xd3fc28 to 0xd3fc3c (20 bytes)
//
// 3 xrefs:
// > sub_BB5664 @ 0xbb56ac
// > sub_BB678C @ 0xbb7684
// > ??> @ 0x8ee18
//
// 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
//
__int64 __fastcall SSL_get_peer_cert_chain(__int64 result)
{
if ( result )
{
result = *(_QWORD *)(result + 376);
if ( result )
return *(_QWORD *)(result + 168);
}
return result;
}