// // BN_GENCB_call from 0x8ca880 to 0x8ca8f4 (116 bytes) // // 22 xrefs: // > dsa_builtin_paramgen @ 0x880440 // > dsa_builtin_paramgen @ 0x8806e8 // > dsa_builtin_paramgen @ 0x880700 // > dsa_builtin_paramgen @ 0x880914 // > dsa_builtin_paramgen @ 0x880990 // > dsa_builtin_paramgen @ 0x880a78 // > dsa_builtin_paramgen2 @ 0x881128 // > dsa_builtin_paramgen2 @ 0x88120c // > dsa_builtin_paramgen2 @ 0x881224 // > dsa_builtin_paramgen2 @ 0x881460 // > dsa_builtin_paramgen2 @ 0x881534 // > dsa_builtin_paramgen2 @ 0x881698 // > RSA_generate_key_ex @ 0x8bfa98 // > RSA_generate_key_ex @ 0x8bfb40 // > RSA_generate_key_ex @ 0x8bfc14 // > RSA_generate_key_ex @ 0x8bfcd0 // > BN_is_prime_fasttest_ex @ 0x8ca998 // > BN_is_prime_fasttest_ex @ 0x8cac30 // > BN_generate_prime_ex @ 0x8cb374 // > BN_generate_prime_ex @ 0x8cb438 // > DH_generate_parameters_ex @ 0x8d0990 // > @ 0x6a7ec // // 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 BN_GENCB_call(_DWORD *a1, int a2, int a3) { void (__fastcall *v4)(int, int, _DWORD); // r12 if ( !a1 ) return 1; if ( *a1 == 1 ) { v4 = (void (__fastcall *)(int, int, _DWORD))a1[2]; if ( v4 ) { v4(a2, a3, a1[1]); return 1; } else { return *a1; } } else if ( *a1 == 2 ) { return ((int (__fastcall *)(int, int, _DWORD *))a1[2])(a2, a3, a1); } else { return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source