//
// X509_STORE_CTX_get1_chain from 0x106b978 to 0x106b988 (16 bytes)
//
// 4 xrefs:
// > ssl_verify_cert_chain @ 0xfb8e78
// > ssl_build_cert_chain @ 0xfb9a88
// > OCSP_basic_verify @ 0x1043964
// > ??> @ 0x61330
//
// 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:16:57 +0000
//
int *__fastcall X509_STORE_CTX_get1_chain(__int64 a1)
{
int *result; // x0
result = *(int **)(a1 + 152);
if ( result )
return (int *)X509_chain_up_ref(result);
return result;
}