// // bn_probable_prime_dh_retry from 0xe77234 to 0xe772d4 (160 bytes) // // 1 xrefs: // > @ 0x84180 // // 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_probable_prime_dh_retry(__int64 a1, int a2) { unsigned __int16 *v4; // x19 unsigned __int64 v5; // x1 unsigned __int64 v6; // x0 LABEL_1: if ( (unsigned int)BN_rand(a1, a2, 0, 1) ) { v4 = (unsigned __int16 *)&unk_F96892; while ( 1 ) { v5 = *v4++; v6 = BN_mod_word(a1, v5); if ( v6 == -1 ) break; if ( v6 <= 1 ) goto LABEL_1; if ( v4 == (unsigned __int16 *)&unk_F97890 ) return 1; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source