//
// SSL_get_peer_cert_chain from 0x9ab850 to 0x9ab868 (24 bytes)
//
// 3 xrefs:
// > sub_85239C @ 0x8523aa
// > sub_852C2C @ 0x853708
// > ??> @ 0x67b5c
//
// 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:06:53 +0000
//
int __fastcall SSL_get_peer_cert_chain(int result)
{
if ( result )
{
result = *(_DWORD *)(result + 240);
if ( result )
return *(_DWORD *)(result + 148);
}
return result;
}