// // d2i_RSA_PUBKEY from 0x84a8b0 to 0x84a928 (120 bytes) // // 6 xrefs: // > @ 0x6503c // > PEM_read_bio_RSA_PUBKEY @ 0x8209a8 // > PEM_read_RSA_PUBKEY @ 0x8209e4 // > d2i_RSA_PUBKEY_fp @ 0x848504 // > d2i_RSA_PUBKEY_bio @ 0x8485a8 // > @ 0xab86ac // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall d2i_RSA_PUBKEY(int *a1, unsigned __int8 **a2, int a3) { _DWORD *v5; // r0 int v6; // r7 int v7; // r4 int result; // r0 unsigned __int8 *v9; // [sp+4h] [bp-8h] BYREF v9 = *a2; v5 = (_DWORD *)d2i_PUBKEY(nullptr, &v9, a3); v6 = (int)v5; if ( !v5 ) return 0; v7 = EVP_PKEY_get1_RSA(v5); EVP_PKEY_free(v6); if ( !v7 ) return 0; *a2 = v9; if ( !a1 ) return v7; RSA_free(*a1); result = v7; *a1 = v7; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source