// // BN_mul_word from 0x7d8aa0 to 0x7d8b1c (124 bytes) // // 9 xrefs: // > a2d_ASN1_OBJECT @ 0x7bd444 // > BN_dec2bn @ 0x7d7a4c // > ec_GFp_simple_group_check_discriminant @ 0x7f3378 // > BN_mod_exp_mont_word @ 0x86dfec // > BN_mod_exp_mont_word @ 0x86e144 // > BN_mod_exp_mont_word @ 0x86e218 // > int_bn_mod_inverse @ 0x86f7b4 // > bn_probable_prime_dh_coprime @ 0x8caedc // > @ 0x5e19c // // 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_mul_word(int **a1, int a2) { int *v2; // r2 int v4; // r5 int result; // r0 int *v6; // r2 int *v7; // r3 v2 = a1[1]; if ( !v2 ) return 1; if ( a2 ) { v4 = bn_mul_words(*a1, *a1, v2, a2); if ( v4 ) { result = bn_wexpand((int)a1, (int)a1[1] + 1); if ( result ) { v6 = *a1; v7 = a1[1]; a1[1] = (int *)((char *)v7 + 1); v6[(_DWORD)v7] = v4; return 1; } } else { return 1; } } else { BN_set_word(a1, 0); return 1; } return result; }