//
// X509_STORE_CTX_get_obj_by_subject from 0x1065f04 to 0x1065f60 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x50500
//
// 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:53 +0000
//
_DWORD *__fastcall X509_STORE_CTX_get_obj_by_subject(__int64 *a1, int a2, __int64 a3)
{
_DWORD *v4; // x19
_QWORD *v6; // x0
v4 = X509_OBJECT_new();
if ( v4 && !(unsigned int)X509_STORE_CTX_get_by_subject(a1, a2, a3, (__int64)v4) )
{
v6 = v4;
v4 = nullptr;
X509_OBJECT_free(v6);
}
return v4;
}