//
// X509_STORE_CTX_get1_chain from 0x84590c to 0x84591c (16 bytes)
//
// 4 xrefs:
// > ssl_verify_cert_chain @ 0x7919a8
// > ssl_build_cert_chain @ 0x79258c
// > OCSP_basic_verify @ 0x81fb18
// > ??> @ 0x5b33c
//
// 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
//
void **__fastcall X509_STORE_CTX_get1_chain(int a1)
{
void **result; // r0
result = *(void ***)(a1 + 80);
if ( result )
return X509_chain_up_ref((int)result);
return result;
}