// // sub_A94B5C from 0xa94b5c to 0xa94cb8 (348 bytes) // // 2 xrefs: // > @ 0xc81480 // > @ 0xc814ec // // 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:09:00 +0000 // int __fastcall sub_A94B5C(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