//
// ASN1_INTEGER_get from 0x1088df8 to 0x1088e28 (48 bytes)
//
// 25 xrefs:
// > asn1_do_adb @ 0xfee9ec
// > EC_GROUP_new_from_ecparameters @ 0x100c2cc
// > OCSP_REQUEST_print @ 0x1042f1c
// > OCSP_RESPONSE_print @ 0x10432a4
// > PKCS12_PBE_keyivgen @ 0x1047b5c
// > PKCS12_gen_mac @ 0x1048ccc
// > PKCS12_verify_mac @ 0x1048f6c
// > PKCS12_set_mac @ 0x104949c
// > sub_1050F58 @ 0x1051038
// > sub_1050F58 @ 0x105104c
// > X509_print_ex @ 0x1063e40
// > X509_get_version @ 0x1066ea0
// > X509_CRL_get_version @ 0x106d4b0
// > policy_cache_set @ 0x1071318
// > policy_cache_set @ 0x1071338
// > policy_cache_set @ 0x10714f0
// > sub_107F63C @ 0x107f71c
// > sub_107F63C @ 0x107fc38
// > sub_10802A4 @ 0x10802d0
// > sub_1080B08 @ 0x1080b50
// > PKCS5_PBE_keyivgen @ 0x10e00ac
// > PKCS5_v2_PBKDF2_keyivgen @ 0x10e0d98
// > PKCS5_v2_PBKDF2_keyivgen @ 0x10e0ec4
// > X509_REQ_get_version @ 0x10ed4a0
// > ??> @ 0x768e8
//
// 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:14 +0000
//
__int64 __fastcall ASN1_INTEGER_get(__int64 result)
{
unsigned __int64 v1; // [xsp+18h] [xbp+18h] BYREF
if ( result )
{
if ( (unsigned int)ASN1_INTEGER_get_int64(&v1, (int *)result) )
return v1;
else
return -1;
}
return result;
}