//
// X509_OBJECT_get0_X509 from 0x1065cb4 to 0x1065cd4 (32 bytes)
//
// 1 xrefs:
// > ??> @ 0xbe5b8
//
// 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
//
__int64 __fastcall X509_OBJECT_get0_X509(__int64 result)
{
if ( result )
{
if ( *(_DWORD *)result == 1 )
return *(_QWORD *)(result + 8);
else
return 0;
}
return result;
}