//
// EVP_PKEY_CTX_get_keygen_info from 0xa1b8dc to 0xa1b914 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x7d68c
//
// 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:07:52 +0000
//
int __fastcall EVP_PKEY_CTX_get_keygen_info(int a1, int a2)
{
if ( a2 == -1 )
return *(_DWORD *)(a1 + 36);
if ( a2 < 0 || a2 > *(_DWORD *)(a1 + 36) )
return 0;
return *(_DWORD *)(*(_DWORD *)(a1 + 32) + 4 * a2);
}