// // sub_10A8510 from 0x10a8510 to 0x10a8664 (340 bytes) // // 2 xrefs: // > @ 0x14102c0 // > @ 0x1410390 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:17:37 +0000 // __int64 __fastcall sub_10A8510(__int64 *a1, char *a2, const char *a3) { __int64 v6; // x19 unsigned int v7; // w0 if ( !strcmp(a2, "dh_paramgen_prime_len") ) goto LABEL_6; if ( !strcmp(a2, aDhRfc51) ) { v6 = a1[5]; v7 = atoi(a3); if ( v7 <= 3 ) { *(_DWORD *)(v6 + 24) = v7; 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 4294967294LL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source