// // X509v3_asid_add_id_or_range from 0x1077e4c to 0x1077fcc (384 bytes) // // 3 xrefs: // > sub_1078130 @ 0x10782d4 // > sub_1078130 @ 0x107834c // > @ 0xb63f8 // // 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:05 +0000 // __int64 __fastcall X509v3_asid_add_id_or_range(__int64 a1, int a2, __int64 a3, __int64 a4) { _DWORD *v5; // x1 __int64 v6; // x19 __int64 v7; // x0 __int64 v8; // x20 __int64 *v9; // x0 _QWORD *v10; // x1 __int64 v11; // x0 __int64 v12; // x0 __int64 v13; // [xsp+20h] [xbp+20h] __int64 v14; // [xsp+20h] [xbp+20h] __int64 v15; // [xsp+28h] [xbp+28h] __int64 v16; // [xsp+28h] [xbp+28h] if ( !a1 ) return 0; if ( a2 ) { if ( a2 != 1 ) return 0; v5 = *(_DWORD **)(a1 + 8); v6 = a1 + 8; } else { v6 = a1; v5 = *(_DWORD **)a1; } if ( v5 ) { if ( !*v5 ) return 0; } else { v14 = a4; v16 = a3; v12 = ASIdentifierChoice_new(); *(_QWORD *)v6 = v12; if ( !v12 ) return 0; if ( *(_QWORD *)(v12 + 8) ) OPENSSL_die("assertion failed: (*choice)->u.asIdsOrRanges == NULL", "crypto/x509v3/v3_asid.c", 203); *(_QWORD *)(v12 + 8) = OPENSSL_sk_new((__int64)sub_10771AC); if ( !*(_QWORD *)(*(_QWORD *)v6 + 8LL) ) return 0; a4 = v14; **(_DWORD **)v6 = 1; a3 = v16; } v13 = a4; v15 = a3; v7 = ASIdOrRange_new(); v8 = v7; if ( !v7 ) return 0; if ( v13 ) { *(_DWORD *)v7 = 1; v9 = (__int64 *)ASRange_new(); *(_QWORD *)(v8 + 8) = v9; if ( !v9 ) goto LABEL_14; ASN1_INTEGER_free(*v9); v10 = *(_QWORD **)(v8 + 8); v11 = v10[1]; *v10 = v15; ASN1_INTEGER_free(v11); *(_QWORD *)(*(_QWORD *)(v8 + 8) + 8LL) = v13; } else { *(_DWORD *)v7 = 0; *(_QWORD *)(v7 + 8) = v15; } if ( (unsigned int)OPENSSL_sk_push(*(int **)(*(_QWORD *)v6 + 8LL), v8) ) return 1; LABEL_14: ASIdOrRange_free(v8); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source