//
// SSL_get_peer_cert_chain from 0xfbdf7c to 0xfbdf90 (20 bytes)
//
// 3 xrefs:
// > sub_E2B824 @ 0xe2b86c
// > sub_E2C94C @ 0xe2d844
// > ??> @ 0xbd178
//
// 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:19 +0000
//
__int64 __fastcall SSL_get_peer_cert_chain(__int64 result)
{
if ( result )
{
result = *(_QWORD *)(result + 376);
if ( result )
return *(_QWORD *)(result + 168);
}
return result;
}