//
// X509_PUBKEY_get from 0x1070454 to 0x1070480 (44 bytes)
//
// 5 xrefs:
// > SCT_CTX_set1_pubkey @ 0x1002f1c
// > X509_get_pubkey @ 0x1064dc0
// > d2i_PUBKEY @ 0x10704b4
// > X509_REQ_get_pubkey @ 0x10ed0c0
// > ??> @ 0x8f980
//
// 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:17:00 +0000
//
__int64 __fastcall X509_PUBKEY_get(__int64 a1)
{
__int64 v1; // x0
__int64 v2; // x19
v1 = X509_PUBKEY_get0(a1);
v2 = v1;
if ( v1 )
EVP_PKEY_up_ref(v1);
return v2;
}