//
// EVP_PBE_alg_add from 0x8b7960 to 0x8b79c0 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b03c
//
// 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 EVP_PBE_alg_add(int a1, int a2, int a3, int a4)
{
int v7; // r7
int v8; // r3
if ( a2 )
v7 = EVP_CIPHER_nid(a2);
else
v7 = -1;
if ( a3 )
v8 = EVP_MD_type(a3);
else
v8 = -1;
return EVP_PBE_alg_add_type(0, a1, v7, v8, a4);
}