// // BN_GENCB_call from 0xe76d74 to 0xe76e0c (152 bytes) // // 22 xrefs: // > dsa_builtin_paramgen @ 0xe2a76c // > dsa_builtin_paramgen @ 0xe2aaf4 // > dsa_builtin_paramgen @ 0xe2abf8 // > dsa_builtin_paramgen @ 0xe2ac0c // > dsa_builtin_paramgen @ 0xe2ade4 // > dsa_builtin_paramgen @ 0xe2ae18 // > dsa_builtin_paramgen2 @ 0xe2b4c4 // > dsa_builtin_paramgen2 @ 0xe2b57c // > dsa_builtin_paramgen2 @ 0xe2b590 // > dsa_builtin_paramgen2 @ 0xe2b798 // > dsa_builtin_paramgen2 @ 0xe2b838 // > dsa_builtin_paramgen2 @ 0xe2b900 // > RSA_generate_key_ex @ 0xe6aad0 // > RSA_generate_key_ex @ 0xe6ab80 // > RSA_generate_key_ex @ 0xe6ac3c // > RSA_generate_key_ex @ 0xe6acd4 // > BN_is_prime_fasttest_ex @ 0xe76ebc // > BN_is_prime_fasttest_ex @ 0xe77144 // > BN_generate_prime_ex @ 0xe7781c // > BN_generate_prime_ex @ 0xe778c8 // > DH_generate_parameters_ex @ 0xe7c5cc // > @ 0x48a38 // // 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 // __int64 __fastcall BN_GENCB_call(__int64 a1, unsigned int a2, unsigned int a3) { void (__fastcall *v4)(_QWORD, _QWORD, _QWORD); // x4 if ( !a1 ) return 1; if ( *(_DWORD *)a1 == 1 ) { v4 = *(void (__fastcall **)(_QWORD, _QWORD, _QWORD))(a1 + 16); if ( v4 ) v4(a2, a3, *(_QWORD *)(a1 + 8)); return 1; } else if ( *(_DWORD *)a1 == 2 ) { return (*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64))(a1 + 16))(a2, a3, a1); } else { return 0; } }