// // ASN1_INTEGER_get_int64 from 0x1088908 to 0x1088ac4 (444 bytes) // // 2 xrefs: // > ASN1_INTEGER_get @ 0x1088e0c // > @ 0x51160 // // 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(unsigned __int64 *a1, int *a2) { unsigned __int64 v3; // x3 unsigned __int8 *v4; // x4 int v5; // w2 unsigned __int64 v6; // x1 if ( !a2 ) { ERR_put_error(13, 227, 67, (__int64)"crypto/asn1/a_int.c", 346); return 0; } if ( (a2[1] & 0xFFFFFEFF) == 2 ) { v3 = *a2; v4 = *((unsigned __int8 **)a2 + 1); if ( v3 > 8 ) { ERR_put_error(13, 225, 223, (__int64)"crypto/asn1/a_int.c", 230); } else if ( v4 ) { v5 = a2[1] & 0x100; if ( !*a2 ) { v6 = 0; goto LABEL_17; } v6 = *v4; if ( v3 == 1 || (v6 = v4[1] | (v6 << 8), v3 == 2) || (v6 = v4[2] | (v6 << 8), v3 == 3) || (v6 = v4[3] | (v6 << 8), v3 == 4) || (v6 = v4[4] | (v6 << 8), v3 == 5) || (v6 = v4[5] | (v6 << 8), v3 == 6) || (v6 = v4[6] | (v6 << 8), v3 != 8) ) { if ( v5 ) { v6 = -(__int64)v6; goto LABEL_17; } } else { v6 = v4[7] | (v6 << 8); if ( v5 ) { if ( v6 > 0x8000000000000000LL ) { ERR_put_error(13, 224, 224, (__int64)"crypto/asn1/a_int.c", 289); return 0; } v6 = -(__int64)v6; goto LABEL_17; } } if ( (v6 & 0x8000000000000000LL) != 0 ) { ERR_put_error(13, 224, 223, (__int64)"crypto/asn1/a_int.c", 295); return 0; } LABEL_17: *a1 = v6; return 1; } return 0; } ERR_put_error(13, 227, 225, (__int64)"crypto/asn1/a_int.c", 350); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source