// // sub_87FF5C from 0x87ff5c to 0x8800b8 (348 bytes) // // 2 xrefs: // > @ 0xa3a200 // > @ 0xa3a26c // // 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 sub_87FF5C(int a1, char *a2, const char *a3) { int v7; // r4 unsigned int v8; // r0 if ( !strcmp(a2, "dh_paramgen_prime_len") ) goto LABEL_6; if ( !strcmp(a2, "dh_rfc5114") ) { v7 = *(_DWORD *)(a1 + 20); v8 = atoi(a3); if ( v8 <= 3 ) { *(_DWORD *)(v7 + 20) = v8; return 1; } } else if ( !strcmp(a2, "dh_paramgen_generator") || !strcmp(a2, "dh_paramgen_subprime_len") || !strcmp(a2, "dh_paramgen_type") ) { LABEL_6: atoi(a3); return EVP_PKEY_CTX_ctrl(a1, 28, 2); } return -2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source