// // sub_A5F068 from 0xa5f068 to 0xa5f17c (276 bytes) // // 2 xrefs: // > sub_A5F18C @ 0xa5f1c4 // > X509_PUBKEY_get0 @ 0xa5f374 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:08:32 +0000 // int __fastcall sub_A5F068(_DWORD *a1, int **a2) { _DWORD *v4; // r4 char *v5; // r0 int (__fastcall *v6)(_DWORD *, int **); // r3 v4 = EVP_PKEY_new(); if ( v4 ) { v5 = OBJ_obj2nid(**a2); if ( EVP_PKEY_set_type(v4, (int)v5) ) { v6 = *(int (__fastcall **)(_DWORD *, int **))(v4[3] + 20); if ( v6 ) { if ( v6(v4, a2) ) { *a1 = v4; return 1; } ERR_put_error(11, 148, 125, (int)"crypto/x509/x_pubkey.c", 124); } else { ERR_put_error(11, 148, 124, (int)"crypto/x509/x_pubkey.c", 128); } } else { ERR_put_error(11, 148, 111, (int)"crypto/x509/x_pubkey.c", 113); } EVP_PKEY_free((int)v4); return 0; } else { ERR_put_error(11, 148, 65, (int)"crypto/x509/x_pubkey.c", 108); return -1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source