// // bn_probable_prime_dh_retry from 0xadfd84 to 0xadfdf8 (116 bytes) // // 1 xrefs: // > @ 0x8551c // // 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:34 +0000 // int __fastcall bn_probable_prime_dh_retry(int *a1, int a2) { unsigned __int16 *v4; // r4 unsigned int v5; // t1 unsigned int v6; // r0 LABEL_1: if ( BN_rand(a1, a2, 0, 1) ) { v4 = (unsigned __int16 *)&unk_C67E28; while ( 1 ) { v5 = v4[1]; ++v4; v6 = BN_mod_word(a1, v5); if ( v6 == -1 ) break; if ( v6 <= 1 ) goto LABEL_1; if ( v4 == (unsigned __int16 *)&unk_C68E26 ) return 1; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source