// // PEM_read_bio_Parameters from 0x1047388 to 0x10474c4 (316 bytes) // // 1 xrefs: // > @ 0xf7360 // // 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:33 +0000 // __int64 __fastcall PEM_read_bio_Parameters(__int64 a1, __int64 *a2) { signed int v3; // w20 _DWORD *v4; // x0 __int64 v5; // x19 unsigned int (__fastcall *v6)(__int64, void **, _QWORD); // x3 char *v8; // [xsp+30h] [xbp+30h] BYREF void *v9; // [xsp+38h] [xbp+38h] BYREF void *v10; // [xsp+40h] [xbp+40h] BYREF __int64 v11; // [xsp+48h] [xbp+48h] BYREF v10 = nullptr; v8 = nullptr; v9 = nullptr; if ( (unsigned int)PEM_bytes_read_bio(&v10, &v11, &v8, "PARAMETERS", a1, nullptr, nullptr) ) { v9 = v10; v3 = pem_check_suffix(v8, "PARAMETERS"); if ( v3 > 0 ) { v4 = EVP_PKEY_new(); v5 = (__int64)v4; if ( v4 ) { if ( (unsigned int)EVP_PKEY_set_type_str((__int64)v4, v8, v3) ) { v6 = *(unsigned int (__fastcall **)(__int64, void **, _QWORD))(*(_QWORD *)(v5 + 16) + 112LL); if ( v6 ) { if ( v6(v5, &v9, (unsigned int)v11) ) { if ( a2 ) { EVP_PKEY_free(*a2); *a2 = v5; } goto LABEL_11; } } } EVP_PKEY_free(v5); } } v5 = 0; ERR_put_error(9, 140, 13, (__int64)"crypto/pem/pem_pkey.c", 146); LABEL_11: CRYPTO_free(v8, (__int64)"crypto/pem/pem_pkey.c", 147); CRYPTO_free(v10, (__int64)"crypto/pem/pem_pkey.c", 148); return v5; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source